diff --git a/api_names_out.yaml b/api_names_out.yaml index 86f7d64f6..d797f97a1 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -1,5857 +1,443 @@ --- +"/acceleratedmobilepageurl:v1/AmpUrl": amp_url +"/acceleratedmobilepageurl:v1/AmpUrl/ampUrl": amp_url +"/acceleratedmobilepageurl:v1/AmpUrl/cdnAmpUrl": cdn_amp_url +"/acceleratedmobilepageurl:v1/AmpUrl/originalUrl": original_url +"/acceleratedmobilepageurl:v1/AmpUrlError": amp_url_error +"/acceleratedmobilepageurl:v1/AmpUrlError/errorCode": error_code +"/acceleratedmobilepageurl:v1/AmpUrlError/errorMessage": error_message +"/acceleratedmobilepageurl:v1/AmpUrlError/originalUrl": original_url +"/acceleratedmobilepageurl:v1/BatchGetAmpUrlsRequest": batch_get_amp_urls_request +"/acceleratedmobilepageurl:v1/BatchGetAmpUrlsRequest/lookupStrategy": lookup_strategy +"/acceleratedmobilepageurl:v1/BatchGetAmpUrlsRequest/urls": urls +"/acceleratedmobilepageurl:v1/BatchGetAmpUrlsRequest/urls/url": url +"/acceleratedmobilepageurl:v1/BatchGetAmpUrlsResponse": batch_get_amp_urls_response +"/acceleratedmobilepageurl:v1/BatchGetAmpUrlsResponse/ampUrls": amp_urls +"/acceleratedmobilepageurl:v1/BatchGetAmpUrlsResponse/ampUrls/amp_url": amp_url +"/acceleratedmobilepageurl:v1/BatchGetAmpUrlsResponse/urlErrors": url_errors +"/acceleratedmobilepageurl:v1/BatchGetAmpUrlsResponse/urlErrors/url_error": url_error +"/acceleratedmobilepageurl:v1/acceleratedmobilepageurl.ampUrls.batchGet": batch_get_amp_urls +"/acceleratedmobilepageurl:v1/fields": fields +"/acceleratedmobilepageurl:v1/key": key +"/acceleratedmobilepageurl:v1/quotaUser": quota_user +"/adexchangebuyer2:v2beta1/AbsoluteDateRange": absolute_date_range +"/adexchangebuyer2:v2beta1/AbsoluteDateRange/endDate": end_date +"/adexchangebuyer2:v2beta1/AbsoluteDateRange/startDate": start_date +"/adexchangebuyer2:v2beta1/AddDealAssociationRequest": add_deal_association_request +"/adexchangebuyer2:v2beta1/AddDealAssociationRequest/association": association +"/adexchangebuyer2:v2beta1/AppContext": app_context +"/adexchangebuyer2:v2beta1/AppContext/appTypes": app_types +"/adexchangebuyer2:v2beta1/AppContext/appTypes/app_type": app_type +"/adexchangebuyer2:v2beta1/AuctionContext": auction_context +"/adexchangebuyer2:v2beta1/AuctionContext/auctionTypes": auction_types +"/adexchangebuyer2:v2beta1/AuctionContext/auctionTypes/auction_type": auction_type +"/adexchangebuyer2:v2beta1/BidMetricsRow": bid_metrics_row +"/adexchangebuyer2:v2beta1/BidMetricsRow/bids": bids +"/adexchangebuyer2:v2beta1/BidMetricsRow/bidsInAuction": bids_in_auction +"/adexchangebuyer2:v2beta1/BidMetricsRow/billedImpressions": billed_impressions +"/adexchangebuyer2:v2beta1/BidMetricsRow/impressionsWon": impressions_won +"/adexchangebuyer2:v2beta1/BidMetricsRow/measurableImpressions": measurable_impressions +"/adexchangebuyer2:v2beta1/BidMetricsRow/rowDimensions": row_dimensions +"/adexchangebuyer2:v2beta1/BidMetricsRow/viewableImpressions": viewable_impressions +"/adexchangebuyer2:v2beta1/BidResponseWithoutBidsStatusRow": bid_response_without_bids_status_row +"/adexchangebuyer2:v2beta1/BidResponseWithoutBidsStatusRow/impressionCount": impression_count +"/adexchangebuyer2:v2beta1/BidResponseWithoutBidsStatusRow/rowDimensions": row_dimensions +"/adexchangebuyer2:v2beta1/BidResponseWithoutBidsStatusRow/status": status +"/adexchangebuyer2:v2beta1/CalloutStatusRow": callout_status_row +"/adexchangebuyer2:v2beta1/CalloutStatusRow/calloutStatusId": callout_status_id +"/adexchangebuyer2:v2beta1/CalloutStatusRow/impressionCount": impression_count +"/adexchangebuyer2:v2beta1/CalloutStatusRow/rowDimensions": row_dimensions +"/adexchangebuyer2:v2beta1/Client": client +"/adexchangebuyer2:v2beta1/Client/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/Client/clientName": client_name +"/adexchangebuyer2:v2beta1/Client/entityId": entity_id +"/adexchangebuyer2:v2beta1/Client/entityName": entity_name +"/adexchangebuyer2:v2beta1/Client/entityType": entity_type +"/adexchangebuyer2:v2beta1/Client/role": role +"/adexchangebuyer2:v2beta1/Client/status": status +"/adexchangebuyer2:v2beta1/Client/visibleToSeller": visible_to_seller +"/adexchangebuyer2:v2beta1/ClientUser": client_user +"/adexchangebuyer2:v2beta1/ClientUser/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/ClientUser/email": email +"/adexchangebuyer2:v2beta1/ClientUser/status": status +"/adexchangebuyer2:v2beta1/ClientUser/userId": user_id +"/adexchangebuyer2:v2beta1/ClientUserInvitation": client_user_invitation +"/adexchangebuyer2:v2beta1/ClientUserInvitation/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/ClientUserInvitation/email": email +"/adexchangebuyer2:v2beta1/ClientUserInvitation/invitationId": invitation_id +"/adexchangebuyer2:v2beta1/Correction": correction +"/adexchangebuyer2:v2beta1/Correction/contexts": contexts +"/adexchangebuyer2:v2beta1/Correction/contexts/context": context +"/adexchangebuyer2:v2beta1/Correction/details": details +"/adexchangebuyer2:v2beta1/Correction/details/detail": detail +"/adexchangebuyer2:v2beta1/Correction/type": type +"/adexchangebuyer2:v2beta1/Creative": creative +"/adexchangebuyer2:v2beta1/Creative/accountId": account_id +"/adexchangebuyer2:v2beta1/Creative/adChoicesDestinationUrl": ad_choices_destination_url +"/adexchangebuyer2:v2beta1/Creative/advertiserName": advertiser_name +"/adexchangebuyer2:v2beta1/Creative/agencyId": agency_id +"/adexchangebuyer2:v2beta1/Creative/apiUpdateTime": api_update_time +"/adexchangebuyer2:v2beta1/Creative/attributes": attributes +"/adexchangebuyer2:v2beta1/Creative/attributes/attribute": attribute +"/adexchangebuyer2:v2beta1/Creative/clickThroughUrls": click_through_urls +"/adexchangebuyer2:v2beta1/Creative/clickThroughUrls/click_through_url": click_through_url +"/adexchangebuyer2:v2beta1/Creative/corrections": corrections +"/adexchangebuyer2:v2beta1/Creative/corrections/correction": correction +"/adexchangebuyer2:v2beta1/Creative/creativeId": creative_id +"/adexchangebuyer2:v2beta1/Creative/dealsStatus": deals_status +"/adexchangebuyer2:v2beta1/Creative/detectedAdvertiserIds": detected_advertiser_ids +"/adexchangebuyer2:v2beta1/Creative/detectedAdvertiserIds/detected_advertiser_id": detected_advertiser_id +"/adexchangebuyer2:v2beta1/Creative/detectedDomains": detected_domains +"/adexchangebuyer2:v2beta1/Creative/detectedDomains/detected_domain": detected_domain +"/adexchangebuyer2:v2beta1/Creative/detectedLanguages": detected_languages +"/adexchangebuyer2:v2beta1/Creative/detectedLanguages/detected_language": detected_language +"/adexchangebuyer2:v2beta1/Creative/detectedProductCategories": detected_product_categories +"/adexchangebuyer2:v2beta1/Creative/detectedProductCategories/detected_product_category": detected_product_category +"/adexchangebuyer2:v2beta1/Creative/detectedSensitiveCategories": detected_sensitive_categories +"/adexchangebuyer2:v2beta1/Creative/detectedSensitiveCategories/detected_sensitive_category": detected_sensitive_category +"/adexchangebuyer2:v2beta1/Creative/filteringStats": filtering_stats +"/adexchangebuyer2:v2beta1/Creative/html": html +"/adexchangebuyer2:v2beta1/Creative/impressionTrackingUrls": impression_tracking_urls +"/adexchangebuyer2:v2beta1/Creative/impressionTrackingUrls/impression_tracking_url": impression_tracking_url +"/adexchangebuyer2:v2beta1/Creative/native": native +"/adexchangebuyer2:v2beta1/Creative/openAuctionStatus": open_auction_status +"/adexchangebuyer2:v2beta1/Creative/restrictedCategories": restricted_categories +"/adexchangebuyer2:v2beta1/Creative/restrictedCategories/restricted_category": restricted_category +"/adexchangebuyer2:v2beta1/Creative/servingRestrictions": serving_restrictions +"/adexchangebuyer2:v2beta1/Creative/servingRestrictions/serving_restriction": serving_restriction +"/adexchangebuyer2:v2beta1/Creative/vendorIds": vendor_ids +"/adexchangebuyer2:v2beta1/Creative/vendorIds/vendor_id": vendor_id +"/adexchangebuyer2:v2beta1/Creative/version": version +"/adexchangebuyer2:v2beta1/Creative/video": video +"/adexchangebuyer2:v2beta1/CreativeDealAssociation": creative_deal_association +"/adexchangebuyer2:v2beta1/CreativeDealAssociation/accountId": account_id +"/adexchangebuyer2:v2beta1/CreativeDealAssociation/creativeId": creative_id +"/adexchangebuyer2:v2beta1/CreativeDealAssociation/dealsId": deals_id +"/adexchangebuyer2:v2beta1/CreativeStatusRow": creative_status_row +"/adexchangebuyer2:v2beta1/CreativeStatusRow/bidCount": bid_count +"/adexchangebuyer2:v2beta1/CreativeStatusRow/creativeStatusId": creative_status_id +"/adexchangebuyer2:v2beta1/CreativeStatusRow/rowDimensions": row_dimensions +"/adexchangebuyer2:v2beta1/Date": date +"/adexchangebuyer2:v2beta1/Date/day": day +"/adexchangebuyer2:v2beta1/Date/month": month +"/adexchangebuyer2:v2beta1/Date/year": year +"/adexchangebuyer2:v2beta1/Disapproval": disapproval +"/adexchangebuyer2:v2beta1/Disapproval/details": details +"/adexchangebuyer2:v2beta1/Disapproval/details/detail": detail +"/adexchangebuyer2:v2beta1/Disapproval/reason": reason +"/adexchangebuyer2:v2beta1/Empty": empty +"/adexchangebuyer2:v2beta1/FilterSet": filter_set +"/adexchangebuyer2:v2beta1/FilterSet/absoluteDateRange": absolute_date_range +"/adexchangebuyer2:v2beta1/FilterSet/buyerAccountId": buyer_account_id +"/adexchangebuyer2:v2beta1/FilterSet/creativeId": creative_id +"/adexchangebuyer2:v2beta1/FilterSet/dealId": deal_id +"/adexchangebuyer2:v2beta1/FilterSet/environment": environment +"/adexchangebuyer2:v2beta1/FilterSet/filterSetId": filter_set_id +"/adexchangebuyer2:v2beta1/FilterSet/format": format +"/adexchangebuyer2:v2beta1/FilterSet/ownerAccountId": owner_account_id +"/adexchangebuyer2:v2beta1/FilterSet/platforms": platforms +"/adexchangebuyer2:v2beta1/FilterSet/platforms/platform": platform +"/adexchangebuyer2:v2beta1/FilterSet/realtimeTimeRange": realtime_time_range +"/adexchangebuyer2:v2beta1/FilterSet/relativeDateRange": relative_date_range +"/adexchangebuyer2:v2beta1/FilterSet/sellerNetworkIds": seller_network_ids +"/adexchangebuyer2:v2beta1/FilterSet/sellerNetworkIds/seller_network_id": seller_network_id +"/adexchangebuyer2:v2beta1/FilterSet/timeSeriesGranularity": time_series_granularity +"/adexchangebuyer2:v2beta1/FilteredBidCreativeRow": filtered_bid_creative_row +"/adexchangebuyer2:v2beta1/FilteredBidCreativeRow/bidCount": bid_count +"/adexchangebuyer2:v2beta1/FilteredBidCreativeRow/creativeId": creative_id +"/adexchangebuyer2:v2beta1/FilteredBidCreativeRow/rowDimensions": row_dimensions +"/adexchangebuyer2:v2beta1/FilteredBidDetailRow": filtered_bid_detail_row +"/adexchangebuyer2:v2beta1/FilteredBidDetailRow/bidCount": bid_count +"/adexchangebuyer2:v2beta1/FilteredBidDetailRow/detailId": detail_id +"/adexchangebuyer2:v2beta1/FilteredBidDetailRow/rowDimensions": row_dimensions +"/adexchangebuyer2:v2beta1/FilteringStats": filtering_stats +"/adexchangebuyer2:v2beta1/FilteringStats/date": date +"/adexchangebuyer2:v2beta1/FilteringStats/reasons": reasons +"/adexchangebuyer2:v2beta1/FilteringStats/reasons/reason": reason +"/adexchangebuyer2:v2beta1/HtmlContent": html_content +"/adexchangebuyer2:v2beta1/HtmlContent/height": height +"/adexchangebuyer2:v2beta1/HtmlContent/snippet": snippet +"/adexchangebuyer2:v2beta1/HtmlContent/width": width +"/adexchangebuyer2:v2beta1/Image": image +"/adexchangebuyer2:v2beta1/Image/height": height +"/adexchangebuyer2:v2beta1/Image/url": url +"/adexchangebuyer2:v2beta1/Image/width": width +"/adexchangebuyer2:v2beta1/ImpressionMetricsRow": impression_metrics_row +"/adexchangebuyer2:v2beta1/ImpressionMetricsRow/availableImpressions": available_impressions +"/adexchangebuyer2:v2beta1/ImpressionMetricsRow/bidRequests": bid_requests +"/adexchangebuyer2:v2beta1/ImpressionMetricsRow/inventoryMatches": inventory_matches +"/adexchangebuyer2:v2beta1/ImpressionMetricsRow/responsesWithBids": responses_with_bids +"/adexchangebuyer2:v2beta1/ImpressionMetricsRow/rowDimensions": row_dimensions +"/adexchangebuyer2:v2beta1/ImpressionMetricsRow/successfulResponses": successful_responses +"/adexchangebuyer2:v2beta1/ListBidMetricsResponse": list_bid_metrics_response +"/adexchangebuyer2:v2beta1/ListBidMetricsResponse/bidMetricsRows": bid_metrics_rows +"/adexchangebuyer2:v2beta1/ListBidMetricsResponse/bidMetricsRows/bid_metrics_row": bid_metrics_row +"/adexchangebuyer2:v2beta1/ListBidMetricsResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ListBidResponseErrorsResponse": list_bid_response_errors_response +"/adexchangebuyer2:v2beta1/ListBidResponseErrorsResponse/calloutStatusRows": callout_status_rows +"/adexchangebuyer2:v2beta1/ListBidResponseErrorsResponse/calloutStatusRows/callout_status_row": callout_status_row +"/adexchangebuyer2:v2beta1/ListBidResponseErrorsResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ListBidResponsesWithoutBidsResponse": list_bid_responses_without_bids_response +"/adexchangebuyer2:v2beta1/ListBidResponsesWithoutBidsResponse/bidResponseWithoutBidsStatusRows": bid_response_without_bids_status_rows +? "/adexchangebuyer2:v2beta1/ListBidResponsesWithoutBidsResponse/bidResponseWithoutBidsStatusRows/bid_response_without_bids_status_row" +: bid_response_without_bids_status_row +"/adexchangebuyer2:v2beta1/ListBidResponsesWithoutBidsResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ListClientUserInvitationsResponse": list_client_user_invitations_response +"/adexchangebuyer2:v2beta1/ListClientUserInvitationsResponse/invitations": invitations +"/adexchangebuyer2:v2beta1/ListClientUserInvitationsResponse/invitations/invitation": invitation +"/adexchangebuyer2:v2beta1/ListClientUserInvitationsResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ListClientUsersResponse": list_client_users_response +"/adexchangebuyer2:v2beta1/ListClientUsersResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ListClientUsersResponse/users": users +"/adexchangebuyer2:v2beta1/ListClientUsersResponse/users/user": user +"/adexchangebuyer2:v2beta1/ListClientsResponse": list_clients_response +"/adexchangebuyer2:v2beta1/ListClientsResponse/clients": clients +"/adexchangebuyer2:v2beta1/ListClientsResponse/clients/client": client +"/adexchangebuyer2:v2beta1/ListClientsResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ListCreativeStatusBreakdownByCreativeResponse": list_creative_status_breakdown_by_creative_response +"/adexchangebuyer2:v2beta1/ListCreativeStatusBreakdownByCreativeResponse/filteredBidCreativeRows": filtered_bid_creative_rows +"/adexchangebuyer2:v2beta1/ListCreativeStatusBreakdownByCreativeResponse/filteredBidCreativeRows/filtered_bid_creative_row": filtered_bid_creative_row +"/adexchangebuyer2:v2beta1/ListCreativeStatusBreakdownByCreativeResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ListCreativeStatusBreakdownByDetailResponse": list_creative_status_breakdown_by_detail_response +"/adexchangebuyer2:v2beta1/ListCreativeStatusBreakdownByDetailResponse/detailType": detail_type +"/adexchangebuyer2:v2beta1/ListCreativeStatusBreakdownByDetailResponse/filteredBidDetailRows": filtered_bid_detail_rows +"/adexchangebuyer2:v2beta1/ListCreativeStatusBreakdownByDetailResponse/filteredBidDetailRows/filtered_bid_detail_row": filtered_bid_detail_row +"/adexchangebuyer2:v2beta1/ListCreativeStatusBreakdownByDetailResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ListCreativesResponse": list_creatives_response +"/adexchangebuyer2:v2beta1/ListCreativesResponse/creatives": creatives +"/adexchangebuyer2:v2beta1/ListCreativesResponse/creatives/creative": creative +"/adexchangebuyer2:v2beta1/ListCreativesResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse": list_deal_associations_response +"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse/associations": associations +"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse/associations/association": association +"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ListFilterSetsResponse": list_filter_sets_response +"/adexchangebuyer2:v2beta1/ListFilterSetsResponse/filterSets": filter_sets +"/adexchangebuyer2:v2beta1/ListFilterSetsResponse/filterSets/filter_set": filter_set +"/adexchangebuyer2:v2beta1/ListFilterSetsResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ListFilteredBidRequestsResponse": list_filtered_bid_requests_response +"/adexchangebuyer2:v2beta1/ListFilteredBidRequestsResponse/calloutStatusRows": callout_status_rows +"/adexchangebuyer2:v2beta1/ListFilteredBidRequestsResponse/calloutStatusRows/callout_status_row": callout_status_row +"/adexchangebuyer2:v2beta1/ListFilteredBidRequestsResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ListFilteredBidsResponse": list_filtered_bids_response +"/adexchangebuyer2:v2beta1/ListFilteredBidsResponse/creativeStatusRows": creative_status_rows +"/adexchangebuyer2:v2beta1/ListFilteredBidsResponse/creativeStatusRows/creative_status_row": creative_status_row +"/adexchangebuyer2:v2beta1/ListFilteredBidsResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ListImpressionMetricsResponse": list_impression_metrics_response +"/adexchangebuyer2:v2beta1/ListImpressionMetricsResponse/impressionMetricsRows": impression_metrics_rows +"/adexchangebuyer2:v2beta1/ListImpressionMetricsResponse/impressionMetricsRows/impression_metrics_row": impression_metrics_row +"/adexchangebuyer2:v2beta1/ListImpressionMetricsResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ListLosingBidsResponse": list_losing_bids_response +"/adexchangebuyer2:v2beta1/ListLosingBidsResponse/creativeStatusRows": creative_status_rows +"/adexchangebuyer2:v2beta1/ListLosingBidsResponse/creativeStatusRows/creative_status_row": creative_status_row +"/adexchangebuyer2:v2beta1/ListLosingBidsResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ListNonBillableWinningBidsResponse": list_non_billable_winning_bids_response +"/adexchangebuyer2:v2beta1/ListNonBillableWinningBidsResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ListNonBillableWinningBidsResponse/nonBillableWinningBidStatusRows": non_billable_winning_bid_status_rows +"/adexchangebuyer2:v2beta1/ListNonBillableWinningBidsResponse/nonBillableWinningBidStatusRows/non_billable_winning_bid_status_row": non_billable_winning_bid_status_row +"/adexchangebuyer2:v2beta1/LocationContext": location_context +"/adexchangebuyer2:v2beta1/LocationContext/geoCriteriaIds": geo_criteria_ids +"/adexchangebuyer2:v2beta1/LocationContext/geoCriteriaIds/geo_criteria_id": geo_criteria_id +"/adexchangebuyer2:v2beta1/MetricValue": metric_value +"/adexchangebuyer2:v2beta1/MetricValue/value": value +"/adexchangebuyer2:v2beta1/MetricValue/variance": variance +"/adexchangebuyer2:v2beta1/NativeContent": native_content +"/adexchangebuyer2:v2beta1/NativeContent/advertiserName": advertiser_name +"/adexchangebuyer2:v2beta1/NativeContent/appIcon": app_icon +"/adexchangebuyer2:v2beta1/NativeContent/body": body +"/adexchangebuyer2:v2beta1/NativeContent/callToAction": call_to_action +"/adexchangebuyer2:v2beta1/NativeContent/clickLinkUrl": click_link_url +"/adexchangebuyer2:v2beta1/NativeContent/clickTrackingUrl": click_tracking_url +"/adexchangebuyer2:v2beta1/NativeContent/headline": headline +"/adexchangebuyer2:v2beta1/NativeContent/image": image +"/adexchangebuyer2:v2beta1/NativeContent/logo": logo +"/adexchangebuyer2:v2beta1/NativeContent/priceDisplayText": price_display_text +"/adexchangebuyer2:v2beta1/NativeContent/starRating": star_rating +"/adexchangebuyer2:v2beta1/NativeContent/storeUrl": store_url +"/adexchangebuyer2:v2beta1/NativeContent/videoUrl": video_url +"/adexchangebuyer2:v2beta1/NonBillableWinningBidStatusRow": non_billable_winning_bid_status_row +"/adexchangebuyer2:v2beta1/NonBillableWinningBidStatusRow/bidCount": bid_count +"/adexchangebuyer2:v2beta1/NonBillableWinningBidStatusRow/rowDimensions": row_dimensions +"/adexchangebuyer2:v2beta1/NonBillableWinningBidStatusRow/status": status +"/adexchangebuyer2:v2beta1/PlatformContext": platform_context +"/adexchangebuyer2:v2beta1/PlatformContext/platforms": platforms +"/adexchangebuyer2:v2beta1/PlatformContext/platforms/platform": platform +"/adexchangebuyer2:v2beta1/RealtimeTimeRange": realtime_time_range +"/adexchangebuyer2:v2beta1/RealtimeTimeRange/startTimestamp": start_timestamp +"/adexchangebuyer2:v2beta1/Reason": reason +"/adexchangebuyer2:v2beta1/Reason/count": count +"/adexchangebuyer2:v2beta1/Reason/status": status +"/adexchangebuyer2:v2beta1/RelativeDateRange": relative_date_range +"/adexchangebuyer2:v2beta1/RelativeDateRange/durationDays": duration_days +"/adexchangebuyer2:v2beta1/RelativeDateRange/offsetDays": offset_days +"/adexchangebuyer2:v2beta1/RemoveDealAssociationRequest": remove_deal_association_request +"/adexchangebuyer2:v2beta1/RemoveDealAssociationRequest/association": association +"/adexchangebuyer2:v2beta1/RowDimensions": row_dimensions +"/adexchangebuyer2:v2beta1/RowDimensions/timeInterval": time_interval +"/adexchangebuyer2:v2beta1/SecurityContext": security_context +"/adexchangebuyer2:v2beta1/SecurityContext/securities": securities +"/adexchangebuyer2:v2beta1/SecurityContext/securities/security": security +"/adexchangebuyer2:v2beta1/ServingContext": serving_context +"/adexchangebuyer2:v2beta1/ServingContext/all": all +"/adexchangebuyer2:v2beta1/ServingContext/appType": app_type +"/adexchangebuyer2:v2beta1/ServingContext/auctionType": auction_type +"/adexchangebuyer2:v2beta1/ServingContext/location": location +"/adexchangebuyer2:v2beta1/ServingContext/platform": platform +"/adexchangebuyer2:v2beta1/ServingContext/securityType": security_type +"/adexchangebuyer2:v2beta1/ServingRestriction": serving_restriction +"/adexchangebuyer2:v2beta1/ServingRestriction/contexts": contexts +"/adexchangebuyer2:v2beta1/ServingRestriction/contexts/context": context +"/adexchangebuyer2:v2beta1/ServingRestriction/disapprovalReasons": disapproval_reasons +"/adexchangebuyer2:v2beta1/ServingRestriction/disapprovalReasons/disapproval_reason": disapproval_reason +"/adexchangebuyer2:v2beta1/ServingRestriction/status": status +"/adexchangebuyer2:v2beta1/StopWatchingCreativeRequest": stop_watching_creative_request +"/adexchangebuyer2:v2beta1/TimeInterval": time_interval +"/adexchangebuyer2:v2beta1/TimeInterval/endTime": end_time +"/adexchangebuyer2:v2beta1/TimeInterval/startTime": start_time +"/adexchangebuyer2:v2beta1/VideoContent": video_content +"/adexchangebuyer2:v2beta1/VideoContent/videoUrl": video_url +"/adexchangebuyer2:v2beta1/WatchCreativeRequest": watch_creative_request +"/adexchangebuyer2:v2beta1/WatchCreativeRequest/topic": topic +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.create": create_account_client +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.create/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.get": get_account_client +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.get/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.get/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.create": create_account_client_invitation +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.create/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.create/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get": get_account_client_invitation +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get/invitationId": invitation_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list": list_account_client_invitations +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.list": list_account_clients +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.update": update_account_client +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.update/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.update/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.get": get_account_client_user +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.get/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.get/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.get/userId": user_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.list": list_account_client_users +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.list/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.update": update_account_client_user +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.update/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.update/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.update/userId": user_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.create": create_account_creative +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.create/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.create/duplicateIdMode": duplicate_id_mode +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.add": add_deal_association +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.add/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.add/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list": list_account_creative_deal_associations +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/query": query +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.remove": remove_deal_association +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.remove/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.remove/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.get": get_account_creative +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.get/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.get/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list": list_account_creatives +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/query": query +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.stopWatching": stop_watching_creative +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.stopWatching/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.stopWatching/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.update": update_account_creative +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.update/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.update/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.watch": watch_creative +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.watch/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.watch/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidMetrics.list": list_account_filter_set_bid_metrics +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidMetrics.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidMetrics.list/filterSetId": filter_set_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidMetrics.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidMetrics.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidResponseErrors.list": list_account_filter_set_bid_response_errors +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidResponseErrors.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidResponseErrors.list/filterSetId": filter_set_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidResponseErrors.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidResponseErrors.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidResponsesWithoutBids.list": list_account_filter_set_bid_responses_without_bids +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidResponsesWithoutBids.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidResponsesWithoutBids.list/filterSetId": filter_set_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidResponsesWithoutBids.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidResponsesWithoutBids.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.create": create_account_filter_set +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.create/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.create/isTransient": is_transient +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.delete": delete_account_filter_set +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.delete/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.delete/filterSetId": filter_set_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBidRequests.list": list_account_filter_set_filtered_bid_requests +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBidRequests.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBidRequests.list/filterSetId": filter_set_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBidRequests.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBidRequests.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.creatives.list": list_account_filter_set_filtered_bid_creatives +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.creatives.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.creatives.list/creativeStatusId": creative_status_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.creatives.list/filterSetId": filter_set_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.creatives.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.creatives.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.details.list": list_account_filter_set_filtered_bid_details +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.details.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.details.list/creativeStatusId": creative_status_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.details.list/filterSetId": filter_set_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.details.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.details.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.list": list_account_filter_set_filtered_bids +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.list/filterSetId": filter_set_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.get": get_account_filter_set +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.get/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.get/filterSetId": filter_set_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.impressionMetrics.list": list_account_filter_set_impression_metrics +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.impressionMetrics.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.impressionMetrics.list/filterSetId": filter_set_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.impressionMetrics.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.impressionMetrics.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.list": list_account_filter_sets +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.losingBids.list": list_account_filter_set_losing_bids +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.losingBids.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.losingBids.list/filterSetId": filter_set_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.losingBids.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.losingBids.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.nonBillableWinningBids.list": list_account_filter_set_non_billable_winning_bids +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.nonBillableWinningBids.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.nonBillableWinningBids.list/filterSetId": filter_set_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.nonBillableWinningBids.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.nonBillableWinningBids.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/fields": fields +"/adexchangebuyer2:v2beta1/key": key +"/adexchangebuyer2:v2beta1/quotaUser": quota_user "/adexchangebuyer:v1.3/PerformanceReport/latency50thPercentile": latency_50th_percentile "/adexchangebuyer:v1.3/PerformanceReport/latency85thPercentile": latency_85th_percentile "/adexchangebuyer:v1.3/PerformanceReport/latency95thPercentile": latency_95th_percentile -"/adexchangebuyer:v1.4/PerformanceReport/latency50thPercentile": latency_50th_percentile -"/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 -"/adexchangebuyer:v1.4/adexchangebuyer.marketplaceprivateauction.updateproposal": update_marketplace_private_auction_proposal -"/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 -"/adexchangeseller:v2.0/adexchangeseller.accounts.metadata.metrics.list": list_account_metadata_metrics -"/adexchangeseller:v2.0/adexchangeseller.accounts.preferreddeals.get": get_account_preferred_deal -"/adexchangeseller:v2.0/adexchangeseller.accounts.preferreddeals.list": list_account_preferred_deals -"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.generate": generate_account_saved_report -"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.list": list_account_saved_reports -"/adexchangeseller:v2.0/adexchangeseller.accounts.urlchannels.list": list_account_url_channels -"/admin:directory_v1/directory.chromeosdevices.get": get_chrome_os_device -"/admin:directory_v1/directory.chromeosdevices.list": list_chrome_os_devices -"/admin:directory_v1/directory.chromeosdevices.patch": patch_chrome_os_device -"/admin:directory_v1/directory.chromeosdevices.update": update_chrome_os_device -"/admin:directory_v1/directory.groups.aliases.delete/alias": group_alias -"/admin:directory_v1/directory.mobiledevices.action": action_mobile_device -"/admin:directory_v1/directory.mobiledevices.delete": delete_mobile_device -"/admin:directory_v1/directory.mobiledevices.get": get_mobile_device -"/admin:directory_v1/directory.mobiledevices.list": list_mobile_devices -"/admin:directory_v1/directory.orgunits.delete": delete_org_unit -"/admin:directory_v1/directory.orgunits.get": get_org_unit -"/admin:directory_v1/directory.orgunits.insert": insert_org_unit -"/admin:directory_v1/directory.orgunits.list": list_org_units -"/admin:directory_v1/directory.orgunits.patch": patch_org_unit -"/admin:directory_v1/directory.orgunits.update": update_org_unit -"/admin:directory_v1/directory.resources.calendars.delete": delete_calendar_resource -"/admin:directory_v1/directory.resources.calendars.get": get_calendar_resource -"/admin:directory_v1/directory.resources.calendars.insert": calendar_resource -"/admin:directory_v1/directory.resources.calendars.list": list_calendar_resources -"/admin:directory_v1/directory.resources.calendars.patch": patch_calendar_resource -"/admin:directory_v1/directory.resources.calendars.update": update_calendar_resource -"/admin:directory_v1/directory.users.aliases.delete/alias": user_alias -"/adsense:v1.4/AdsenseReportsGenerateResponse": generate_report_response -"/adsense:v1.4/adsense.accounts.adclients.list": list_account_ad_clients -"/adsense:v1.4/adsense.accounts.adunits.customchannels.list": list_account_ad_unit_custom_channels -"/adsense:v1.4/adsense.accounts.adunits.get": get_account_ad_unit -"/adsense:v1.4/adsense.accounts.adunits.getAdCode": get_account_ad_unit_ad_code -"/adsense:v1.4/adsense.accounts.adunits.list": list_account_ad_units -"/adsense:v1.4/adsense.accounts.customchannels.adunits.list": list_account_custom_channel_ad_units -"/adsense:v1.4/adsense.accounts.customchannels.get": get_account_custom_channel -"/adsense:v1.4/adsense.accounts.customchannels.list": list_account_custom_channels -"/adsense:v1.4/adsense.accounts.reports.saved.generate": generate_account_saved_report -"/adsense:v1.4/adsense.accounts.reports.saved.list": list_account_saved_reports -"/adsense:v1.4/adsense.accounts.savedadstyles.get": get_account_saved_ad_style -"/adsense:v1.4/adsense.accounts.savedadstyles.list": list_account_saved_ad_styles -"/adsense:v1.4/adsense.accounts.urlchannels.list": list_account_url_channels -"/adsense:v1.4/adsense.adclients.list": list_ad_clients -"/adsense:v1.4/adsense.adunits.customchannels.list": list_ad_unit_custom_channels -"/adsense:v1.4/adsense.adunits.get": get_ad_unit -"/adsense:v1.4/adsense.adunits.getAdCode": get_ad_code_ad_unit -"/adsense:v1.4/adsense.adunits.list": list_ad_units -"/adsense:v1.4/adsense.customchannels.adunits.list": list_custom_channel_ad_units -"/adsense:v1.4/adsense.customchannels.get": get_custom_channel -"/adsense:v1.4/adsense.customchannels.list": list_custom_channels -"/adsense:v1.4/adsense.metadata.dimensions.list": list_metadata_dimensions -"/adsense:v1.4/adsense.metadata.metrics.list": list_metadata_metrics -"/adsense:v1.4/adsense.reports.saved.generate": generate_saved_report -"/adsense:v1.4/adsense.reports.saved.list": list_saved_reports -"/adsense:v1.4/adsense.savedadstyles.get": get_saved_ad_style -"/adsense:v1.4/adsense.savedadstyles.list": list_saved_ad_styles -"/adsense:v1.4/adsense.urlchannels.list": list_url_channels -"/adsensehost:v4.1/adsensehost.accounts.adclients.get": get_account_ad_client -"/adsensehost:v4.1/adsensehost.accounts.adclients.list": list_account_ad_clients -"/adsensehost:v4.1/adsensehost.accounts.adunits.delete": delete_account_ad_unit -"/adsensehost:v4.1/adsensehost.accounts.adunits.get": get_account_ad_unit -"/adsensehost:v4.1/adsensehost.accounts.adunits.getAdCode": get_account_ad_unit_ad_code -"/adsensehost:v4.1/adsensehost.accounts.adunits.insert": insert_account_ad_unit -"/adsensehost:v4.1/adsensehost.accounts.adunits.list": list_account_ad_units -"/adsensehost:v4.1/adsensehost.accounts.adunits.patch": patch_account_ad_unit -"/adsensehost:v4.1/adsensehost.accounts.adunits.update": update_account_ad_unit -"/adsensehost:v4.1/adsensehost.adclients.get": get_ad_client -"/adsensehost:v4.1/adsensehost.adclients.list": list_ad_clients -"/adsensehost:v4.1/adsensehost.associationsessions.start": start_association_session -"/adsensehost:v4.1/adsensehost.associationsessions.verify": verify_association_session -"/adsensehost:v4.1/adsensehost.customchannels.delete": delete_custom_channel -"/adsensehost:v4.1/adsensehost.customchannels.get": get_custom_channel -"/adsensehost:v4.1/adsensehost.customchannels.insert": insert_custom_channel -"/adsensehost:v4.1/adsensehost.customchannels.list": list_custom_channels -"/adsensehost:v4.1/adsensehost.customchannels.patch": patch_custom_channel -"/adsensehost:v4.1/adsensehost.customchannels.update": update_custom_channel -"/adsensehost:v4.1/adsensehost.urlchannels.delete": delete_url_channel -"/adsensehost:v4.1/adsensehost.urlchannels.insert": insert_url_channel -"/adsensehost:v4.1/adsensehost.urlchannels.list": list_url_channels -"/analytics:v3/AnalyticsDataimportDeleteUploadDataRequest": delete_upload_data_request -"/analytics:v3/UnsampledReport/cloudStorageDownloadDetails/objectId": obj_id -"/analytics:v3/analytics.data.ga.get": get_ga_data -"/analytics:v3/analytics.data.mcf.get": get_mcf_data -"/analytics:v3/analytics.data.realtime.get": get_realtime_data -"/analytics:v3/analytics.management.accountSummaries.list": list_account_summaries -"/analytics:v3/analytics.management.accountUserLinks.delete": delete_account_user_link -"/analytics:v3/analytics.management.accountUserLinks.insert": insert_account_user_link -"/analytics:v3/analytics.management.accountUserLinks.list": list_account_user_links -"/analytics:v3/analytics.management.accountUserLinks.update": update_account_user_link -"/analytics:v3/analytics.management.accounts.list": list_accounts -"/analytics:v3/analytics.management.customDataSources.list": list_custom_data_sources -"/analytics:v3/analytics.management.customDimensions.get": get_custom_dimension -"/analytics:v3/analytics.management.customDimensions.insert": insert_custom_dimension -"/analytics:v3/analytics.management.customDimensions.list": list_custom_dimensions -"/analytics:v3/analytics.management.customDimensions.patch": patch_custom_dimension -"/analytics:v3/analytics.management.customDimensions.update": update_custom_dimension -"/analytics:v3/analytics.management.customMetrics.get": get_custom_metric -"/analytics:v3/analytics.management.customMetrics.insert": insert_custom_metric -"/analytics:v3/analytics.management.customMetrics.list": list_custom_metrics -"/analytics:v3/analytics.management.customMetrics.patch": patch_custom_metric -"/analytics:v3/analytics.management.customMetrics.update": update_custom_metric -"/analytics:v3/analytics.management.experiments.delete": delete_experiment -"/analytics:v3/analytics.management.experiments.get": get_experiment -"/analytics:v3/analytics.management.experiments.insert": insert_experiment -"/analytics:v3/analytics.management.experiments.list": list_experiments -"/analytics:v3/analytics.management.experiments.patch": patch_experiment -"/analytics:v3/analytics.management.experiments.update": update_experiment -"/analytics:v3/analytics.management.filters.delete": delete_filter -"/analytics:v3/analytics.management.filters.get": get_filter -"/analytics:v3/analytics.management.filters.insert": insert_filter -"/analytics:v3/analytics.management.filters.list": list_filters -"/analytics:v3/analytics.management.filters.patch": patch_filter -"/analytics:v3/analytics.management.filters.update": update_filter -"/analytics:v3/analytics.management.goals.get": get_goal -"/analytics:v3/analytics.management.goals.insert": insert_goal -"/analytics:v3/analytics.management.goals.list": list_goals -"/analytics:v3/analytics.management.goals.patch": patch_goal -"/analytics:v3/analytics.management.goals.update": update_goal -"/analytics:v3/analytics.management.profileFilterLinks.delete": delete_profile_filter_link -"/analytics:v3/analytics.management.profileFilterLinks.get": get_profile_filter_link -"/analytics:v3/analytics.management.profileFilterLinks.insert": insert_profile_filter_link -"/analytics:v3/analytics.management.profileFilterLinks.list": list_profile_filter_links -"/analytics:v3/analytics.management.profileFilterLinks.patch": patch_profile_filter_link -"/analytics:v3/analytics.management.profileFilterLinks.update": update_profile_filter_link -"/analytics:v3/analytics.management.profileUserLinks.delete": delete_profile_user_link -"/analytics:v3/analytics.management.profileUserLinks.insert": insert_profile_user_link -"/analytics:v3/analytics.management.profileUserLinks.list": list_profile_user_links -"/analytics:v3/analytics.management.profileUserLinks.update": update_profile_user_link -"/analytics:v3/analytics.management.profiles.delete": delete_profile -"/analytics:v3/analytics.management.profiles.get": get_profile -"/analytics:v3/analytics.management.profiles.insert": insert_profile -"/analytics:v3/analytics.management.profiles.list": list_profiles -"/analytics:v3/analytics.management.profiles.patch": patch_profile -"/analytics:v3/analytics.management.profiles.update": update_profile -"/analytics:v3/analytics.management.segments.list": list_segments -"/analytics:v3/analytics.management.unsampledReports.get": get_unsampled_report -"/analytics:v3/analytics.management.unsampledReports.delete": delete_unsampled_report -"/analytics:v3/analytics.management.unsampledReports.insert": insert_unsampled_report -"/analytics:v3/analytics.management.unsampledReports.list": list_unsampled_reports -"/analytics:v3/analytics.management.uploads.deleteUploadData": delete_upload_data -"/analytics:v3/analytics.management.uploads.get": get_upload -"/analytics:v3/analytics.management.uploads.list": list_uploads -"/analytics:v3/analytics.management.uploads.uploadData": upload_data -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.delete": delete_web_property_ad_words_link -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.get": get_web_property_ad_words_link -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.insert": insert_web_property_ad_words_link -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.list": list_web_property_ad_words_links -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.patch": patch_web_property_ad_words_link -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.update": update_web_property_ad_words_link -"/analytics:v3/analytics.management.webproperties.get": get_web_property -"/analytics:v3/analytics.management.webproperties.insert": insert_web_property -"/analytics:v3/analytics.management.webproperties.list": list_web_properties -"/analytics:v3/analytics.management.webproperties.patch": patch_web_property -"/analytics:v3/analytics.management.webproperties.update": update_web_property -"/analytics:v3/analytics.management.webpropertyUserLinks.delete": delete_web_property_user_link -"/analytics:v3/analytics.management.webpropertyUserLinks.insert": insert_web_property_user_link -"/analytics:v3/analytics.management.webpropertyUserLinks.list": list_web_property_user_links -"/analytics:v3/analytics.management.webpropertyUserLinks.update": update_web_property_user_link -"/analytics:v3/analytics.metadata.columns.list": list_metadata_columns -"/analytics:v3/analytics.provisioning.createAccountTicket": create_account_ticket -"/analyticsreporting:v4/analyticsreporting.reports.batchGet": batch_get_reports -"/androidenterprise:v1/CollectionViewersListResponse": list_collection_viewers_response -"/androidenterprise:v1/CollectionsListResponse": list_collections_response -"/androidenterprise:v1/DevicesListResponse": list_devices_response -"/androidenterprise:v1/EnterprisesListResponse": list_enterprises_response -"/androidenterprise:v1/EnterprisesSendTestPushNotificationResponse": send_test_push_notification_response -"/androidenterprise:v1/EntitlementsListResponse": list_entitlements_response -"/androidenterprise:v1/GroupLicenseUsersListResponse": list_group_license_users_response -"/androidenterprise:v1/GroupLicensesListResponse": list_group_licenses_response -"/androidenterprise:v1/InstallsListResponse": list_installs_response -"/androidenterprise:v1/UsersListResponse": list_users_response -"/androidenterprise:v1/androidenterprise.collectionviewers.delete": delete_collection_viewer -"/androidenterprise:v1/androidenterprise.collectionviewers.get": get_collection_viewer -"/androidenterprise:v1/androidenterprise.collectionviewers.list": list_collection_viewers -"/androidenterprise:v1/androidenterprise.collectionviewers.patch": patch_collection_viewer -"/androidenterprise:v1/androidenterprise.collectionviewers.update": update_collection_viewer -"/androidenterprise:v1/androidenterprise.grouplicenses.get": get_group_license -"/androidenterprise:v1/androidenterprise.grouplicenses.list": list_group_licenses -"/androidenterprise:v1/androidenterprise.grouplicenseusers.list": list_group_license_users -"/androidenterprise:v1/androidenterprise.products.generateApprovalUrl": generate_product_approval_url -"/androidenterprise:v1/androidenterprise.products.getAppRestrictionsSchema": get_product_app_restrictions_schema -"/androidenterprise:v1/androidenterprise.products.getPermissions": get_product_permissions -"/androidenterprise:v1/androidenterprise.products.updatePermissions": update_product_permissions -"/androidenterprise:v1/androidenterprise.users.generateToken": generate_user_token -"/androidenterprise:v1/androidenterprise.users.revokeToken": revoke_user_token -"/androidenterprise:v1/ProductsGenerateApprovalUrlResponse": generate_product_approval_url_response -"/androidenterprise:v1/ProductsApproveRequest": approve_product_request -"/androidpublisher:v2/ApkListingsListResponse": list_apk_listings_response -"/androidpublisher:v2/ApksAddExternallyHostedRequest": apks_add_externally_hosted_request -"/androidpublisher:v2/ApksAddExternallyHostedResponse": apks_add_externally_hosted_response -"/androidpublisher:v2/ApksListResponse": list_apks_response -"/androidpublisher:v2/EntitlementsListResponse": list_entitlements_response -"/androidpublisher:v2/ExpansionFilesUploadResponse": upload_expansion_files_response -"/androidpublisher:v2/ImagesDeleteAllResponse": delete_all_images_response -"/androidpublisher:v2/ImagesListResponse": list_images_response -"/androidpublisher:v2/ImagesUploadResponse": upload_images_response -"/androidpublisher:v2/InappproductsBatchRequest": in_app_products_batch_request -"/androidpublisher:v2/InappproductsBatchRequestEntry": in_app_products_batch_request_entry -"/androidpublisher:v2/InappproductsBatchResponse": in_app_products_batch_response -"/androidpublisher:v2/InappproductsBatchResponseEntry": in_app_products_batch_response_entry -"/androidpublisher:v2/InappproductsInsertRequest": insert_in_app_products_request -"/androidpublisher:v2/InappproductsInsertResponse": insert_in_app_products_response -"/androidpublisher:v2/InappproductsListResponse": list_in_app_products_response -"/androidpublisher:v2/InappproductsUpdateRequest": update_in_app_products_request -"/androidpublisher:v2/InappproductsUpdateResponse": update_in_app_products_response -"/androidpublisher:v2/ListingsListResponse": list_listings_response -"/androidpublisher:v2/SubscriptionPurchasesDeferRequest": defer_subscription_purchases_request -"/androidpublisher:v2/SubscriptionPurchasesDeferResponse": defer_subscription_purchases_response -"/androidpublisher:v2/TracksListResponse": list_tracks_response -"/androidpublisher:v2/androidpublisher.edits.apklistings.delete": delete_apk_listing -"/androidpublisher:v2/androidpublisher.edits.apklistings.deleteall": delete_all_apk_listings -"/androidpublisher:v2/androidpublisher.edits.apklistings.get": get_apk_listing -"/androidpublisher:v2/androidpublisher.edits.apklistings.list": list_apk_listings -"/androidpublisher:v2/androidpublisher.edits.apklistings.patch": patch_apk_listing -"/androidpublisher:v2/androidpublisher.edits.apklistings.update": update_apk_listing -"/androidpublisher:v2/androidpublisher.edits.apks.addexternallyhosted": add_externally_hosted_apk -"/androidpublisher:v2/androidpublisher.edits.apks.list": list_apks -"/androidpublisher:v2/androidpublisher.edits.apks.upload": upload_apk -"/androidpublisher:v2/androidpublisher.edits.details.get": get_detail -"/androidpublisher:v2/androidpublisher.edits.details.patch": patch_detail -"/androidpublisher:v2/androidpublisher.edits.details.update": update_detail -"/androidpublisher:v2/androidpublisher.edits.expansionfiles.get": get_expansion_file -"/androidpublisher:v2/androidpublisher.edits.expansionfiles.patch": patch_expansion_file -"/androidpublisher:v2/androidpublisher.edits.expansionfiles.update": update_expansion_file -"/androidpublisher:v2/androidpublisher.edits.expansionfiles.upload": upload_expansion_file -"/androidpublisher:v2/androidpublisher.edits.images.delete": delete_image -"/androidpublisher:v2/androidpublisher.edits.images.deleteall": delete_all_images -"/androidpublisher:v2/androidpublisher.edits.images.list": list_images -"/androidpublisher:v2/androidpublisher.edits.images.upload": upload_image -"/androidpublisher:v2/androidpublisher.edits.listings.delete": delete_listing -"/androidpublisher:v2/androidpublisher.edits.listings.deleteall": delete_all_listings -"/androidpublisher:v2/androidpublisher.edits.listings.get": get_listing -"/androidpublisher:v2/androidpublisher.edits.listings.list": list_listings -"/androidpublisher:v2/androidpublisher.edits.listings.patch": patch_listing -"/androidpublisher:v2/androidpublisher.edits.listings.update": update_listing -"/androidpublisher:v2/androidpublisher.edits.testers.get": get_tester -"/androidpublisher:v2/androidpublisher.edits.testers.patch": patch_tester -"/androidpublisher:v2/androidpublisher.edits.testers.update": update_tester -"/androidpublisher:v2/androidpublisher.edits.tracks.get": get_track -"/androidpublisher:v2/androidpublisher.edits.tracks.list": list_tracks -"/androidpublisher:v2/androidpublisher.edits.tracks.patch": patch_track -"/androidpublisher:v2/androidpublisher.edits.tracks.update": update_track -"/androidpublisher:v2/androidpublisher.entitlements.list": list_entitlements -"/androidpublisher:v2/androidpublisher.inappproducts.batch": batch_update_in_app_products -"/androidpublisher:v2/androidpublisher.inappproducts.delete": delete_in_app_product -"/androidpublisher:v2/androidpublisher.inappproducts.get": get_in_app_product -"/androidpublisher:v2/androidpublisher.inappproducts.insert": insert_in_app_product -"/androidpublisher:v2/androidpublisher.inappproducts.list": list_in_app_products -"/androidpublisher:v2/androidpublisher.inappproducts.patch": patch_in_app_product -"/androidpublisher:v2/androidpublisher.inappproducts.update": update_in_app_product -"/androidpublisher:v2/androidpublisher.purchases.products.get": get_purchase_product -"/androidpublisher:v2/androidpublisher.purchases.subscriptions.cancel": cancel_purchase_subscription -"/androidpublisher:v2/androidpublisher.purchases.subscriptions.defer": defer_purchase_subscription -"/androidpublisher:v2/androidpublisher.purchases.subscriptions.get": get_purchase_subscription -"/androidpublisher:v2/androidpublisher.purchases.subscriptions.refund": refund_purchase_subscription -"/androidpublisher:v2/androidpublisher.purchases.subscriptions.revoke": revoke_purchase_subscription -"/autoscaler:v1beta2/AutoscalerListResponse": list_autoscaler_response -"/bigquery:v2/TableDataInsertAllRequest": insert_all_table_data_request -"/bigquery:v2/TableDataInsertAllResponse": insert_all_table_data_response -"/bigquery:v2/bigquery.jobs.getQueryResults": get_job_query_results -"/bigquery:v2/bigquery.tabledata.insertAll": insert_all_table_data -"/bigquery:v2/bigquery.tabledata.list": list_table_data -"/bigquery:v2/JobCancelResponse": cancel_job_response -"/blogger:v3/blogger.blogs.getByUrl": get_blog_by_url -"/blogger:v3/blogger.blogs.listByUser": list_blogs_by_user -"/blogger:v3/blogger.comments.listByBlog": list_comments_by_blog -"/blogger:v3/blogger.comments.markAsSpam": mark_comment_as_spam -"/blogger:v3/blogger.comments.removeContent": remove_comment_content -"/blogger:v3/blogger.postUserInfos.get": get_post_user_info -"/blogger:v3/blogger.postUserInfos.list": list_post_user_info -"/blogger:v3/blogger.posts.getByPath": get_post_by_path -"/books:v1/Annotationdata": annotation_data -"/books:v1/AnnotationsSummary": annotations_summary -"/books:v1/Annotationsdata": annotations_data -"/books:v1/BooksAnnotationsRange": annotatins_Range -"/books:v1/BooksCloudloadingResource": loading_resource -"/books:v1/BooksVolumesRecommendedRateResponse": rate_recommended_volume_response -"/books:v1/Dictlayerdata": dict_layer_data -"/books:v1/Geolayerdata": geo_layer_data -"/books:v1/Layersummaries": layer_summaries -"/books:v1/Layersummary": layer_summary -"/books:v1/Usersettings": user_settings -"/books:v1/Volumeannotation": volume_annotation -"/books:v1/books.bookshelves.get": get_bookshelf -"/books:v1/books.bookshelves.list": list_bookshelves -"/books:v1/books.bookshelves.volumes.list": list_bookshelf_volumes -"/books:v1/books.cloudloading.addBook": add_book -"/books:v1/books.cloudloading.deleteBook": delete_book -"/books:v1/books.cloudloading.updateBook": update_book -"/books:v1/books.dictionary.listOfflineMetadata": list_offline_metadata_dictionary -"/books:v1/books.layers.annotationData.get": get_layer_annotation_data -"/books:v1/books.layers.annotationData.list": list_layer_annotation_data -"/books:v1/books.layers.get": get_layer -"/books:v1/books.layers.list": list_layers -"/books:v1/books.layers.volumeAnnotations.get": get_layer_volume_annotation -"/books:v1/books.layers.volumeAnnotations.list": list_layer_volume_annotations -"/books:v1/books.myconfig.getUserSettings": get_user_settings -"/books:v1/books.myconfig.releaseDownloadAccess": release_download_access -"/books:v1/books.myconfig.requestAccess": request_access -"/books:v1/books.myconfig.syncVolumeLicenses": sync_volume_licenses -"/books:v1/books.myconfig.updateUserSettings": update_user_settings -"/books:v1/books.mylibrary.annotations.delete": delete_my_library_annotation -"/books:v1/books.mylibrary.annotations.insert": insert_my_library_annotation -"/books:v1/books.mylibrary.annotations.list": list_my_library_annotations -"/books:v1/books.mylibrary.annotations.summary": summarize_my_library_annotation -"/books:v1/books.mylibrary.annotations.update": update_my_library_annotation -"/books:v1/books.mylibrary.bookshelves.addVolume": add_my_library_volume -"/books:v1/books.mylibrary.bookshelves.clearVolumes": clear_my_library_volumes -"/books:v1/books.mylibrary.bookshelves.get": get_my_library_bookshelf -"/books:v1/books.mylibrary.bookshelves.list": list_my_library_bookshelves -"/books:v1/books.mylibrary.bookshelves.moveVolume": move_my_library_volume -"/books:v1/books.mylibrary.bookshelves.removeVolume": remove_my_library_volume -"/books:v1/books.mylibrary.bookshelves.volumes.list": list_my_library_volumes -"/books:v1/books.mylibrary.readingpositions.get": get_my_library_reading_position -"/books:v1/books.mylibrary.readingpositions.setPosition": set_my_library_reading_position -"/books:v1/books.onboarding.listCategories": list_onboarding_categories -"/books:v1/books.onboarding.listCategoryVolumes": list_onboarding_category_volumes -"/books:v1/books.promooffer.accept": accept_promo_offer -"/books:v1/books.promooffer.dismiss": dismiss_promo_offer -"/books:v1/books.promooffer.get": get_promo_offer -"/books:v1/Seriesmembership": series_membership -"/books:v1/books.volumes.associated.list": list_associated_volumes -"/books:v1/books.volumes.mybooks.list": list_my_books -"/books:v1/books.volumes.recommended.list": list_recommended_volumes -"/books:v1/books.volumes.recommended.rate": rate_recommended_volume -"/books:v1/books.volumes.useruploaded.list": list_user_uploaded_volumes -"/calendar:v3/CalendarNotification/method": delivery_method -"/calendar:v3/Event/gadget/display": display_mode -"/calendar:v3/EventReminder/method": reminder_method -"/calendar:v3/calendar.events.instances": list_event_instances -"/calendar:v3/calendar.events.quickAdd": quick_add_event -"/civicinfo:v2/DivisionSearchResponse": search_division_response -"/civicinfo:v2/ElectionsQueryResponse": query_elections_response -"/civicinfo:v2/civicinfo.divisions.search": search_divisions -"/civicinfo:v2/civicinfo.elections.electionQuery": query_election -"/civicinfo:v2/civicinfo.elections.voterInfoQuery": query_voter_info -"/civicinfo:v2/civicinfo.representatives.representativeInfoByAddress": representative_info_by_address -"/civicinfo:v2/civicinfo.representatives.representativeInfoByDivision": representative_info_by_division -"/cloudlatencytest:v2/cloudlatencytest.statscollection.updateaggregatedstats": update_aggregated_stats -"/cloudlatencytest:v2/cloudlatencytest.statscollection.updatestats": update_stats -"/compute:v1/DiskMoveRequest": move_disk_request -"/compute:beta/InstanceMoveRequest": move_instance_request -"/compute:beta/TargetPoolsAddHealthCheckRequest": add_target_pools_health_check_request -"/compute:beta/TargetPoolsAddInstanceRequest": add_target_pools_instance_request -"/compute:beta/TargetPoolsRemoveHealthCheckRequest": remove_target_pools_health_check_request -"/compute:beta/TargetPoolsRemoveInstanceRequest": remove_target_pools_instance_request -"/compute:beta/UrlMapsValidateRequest": validate_url_maps_request -"/compute:beta/UrlMapsValidateResponse": validate_url_maps_response -"/compute:beta/compute.addresses.aggregatedList": list_aggregated_addresses -"/compute:beta/compute.autoscalers.aggregatedList": list_aggregated_autoscalers -"/compute:beta/compute.backendServices.getHealth": get_backend_service_health -"/compute:beta/compute.diskTypes.aggregatedList": list_aggregated_disk_types -"/compute:beta/compute.disks.aggregatedList": list_aggregated_disk -"/compute:beta/compute.disks.createSnapshot": create_disk_snapshot -"/compute:beta/compute.forwardingRules.aggregatedList": list_aggregated_forwarding_rules -"/compute:beta/compute.forwardingRules.setTarget": set_forwarding_rule_target -"/compute:beta/compute.globalForwardingRules.setTarget": set_global_forwarding_rule_target -"/compute:beta/compute.globalOperations.aggregatedList": list_aggregated_global_operation -"/compute:beta/compute.instances.addAccessConfig": add_instance_access_config -"/compute:beta/compute.instances.aggregatedList": list_aggregated_instances -"/compute:beta/compute.instances.attachDisk": attach_disk -"/compute:beta/compute.instances.deleteAccessConfig": delete_instance_access_config -"/compute:beta/compute.instances.detachDisk": detach_disk -"/compute:beta/compute.instances.getSerialPortOutput": get_instance_serial_port_output -"/compute:beta/compute.instances.setDiskAutoDelete": set_disk_auto_delete -"/compute:beta/compute.instances.setMetadata": set_instance_metadata -"/compute:beta/compute.instances.setScheduling": set_instance_scheduling -"/compute:beta/compute.instances.setTags": set_instance_tags -"/compute:beta/compute.machineTypes.aggregatedList": list_aggregated_machine_types -"/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 -"/compute:beta/compute.targetInstances.aggregatedList": list_aggregated_target_instance -"/compute:beta/compute.targetPools.addHealthCheck": add_target_pool_health_check -"/compute:beta/compute.targetPools.addInstance": add_target_pool_instance -"/compute:beta/compute.targetPools.aggregatedList": list_aggregated_target_pools -"/compute:beta/compute.targetPools.getHealth": get_target_pool_health -"/compute:beta/compute.targetPools.removeHealthCheck": remove_target_pool_health_check -"/compute:beta/compute.targetPools.removeInstance": remove_target_pool_instance -"/compute:beta/compute.targetPools.setBackup": set_target_pool_backup -"/compute:beta/compute.targetVpnGateways.aggregatedList": list_aggregated_target_vpn_gateways -"/compute:beta/compute.targetVpnGateways.delete": delete_target_vpn_gateway -"/compute:beta/compute.targetVpnGateways.get": get_target_vpn_gateway -"/compute:beta/compute.targetVpnGateways.insert": insert_target_vpn_gateway -"/compute:beta/compute.targetVpnGateways.list": list_target_vpn_gateways -"/compute:beta/compute.vpnTunnels.aggregatedList": list_aggregated_vpn_tunnel -"/compute:beta/compute.instanceGroupManagers.abandonInstances": abandon_instance_group_manager_instances -"/compute:beta/compute.instanceGroupManagers.aggregatedList": list_aggregated_instance_group_managers -"/compute:beta/compute.instanceGroupManagers.deleteInstances": delete_instance_group_manager_instances -"/compute:beta/compute.instanceGroupManagers.listManagedInstances": list_instance_group_manager_managed_instances -"/compute:beta/compute.instanceGroupManagers.recreateInstances": recreate_instance_group_manager_instances -"/compute:beta/compute.instanceGroupManagers.resize": resize_instance_group_manager -"/compute:beta/compute.instanceGroupManagers.setInstanceTemplate": set_instance_group_manager_instance_template -"/compute:beta/compute.instanceGroupManagers.setTargetPools": set_instance_group_manager_target_pools -"/compute:beta/compute.instanceGroups.addInstances": add_instance_group_instances -"/compute:beta/compute.instanceGroups.aggregatedList": list_aggregated_instance_groups -"/compute:beta/compute.instanceGroups.listInstances": list_instance_group_instances -"/compute:beta/compute.instanceGroups.removeInstances": remove_instance_group_instances -"/compute:beta/compute.instanceGroups.setNamedPorts": set_instance_group_named_ports -"/compute:v1/InstanceMoveRequest": move_instance_request -"/compute:v1/TargetPoolsAddHealthCheckRequest": add_target_pools_health_check_request -"/compute:v1/TargetPoolsAddInstanceRequest": add_target_pools_instance_request -"/compute:v1/TargetPoolsRemoveHealthCheckRequest": remove_target_pools_health_check_request -"/compute:v1/TargetPoolsRemoveInstanceRequest": remove_target_pools_instance_request -"/compute:v1/UrlMapsValidateRequest": validate_url_maps_request -"/compute:v1/UrlMapsValidateResponse": validate_url_maps_response -"/compute:v1/compute.addresses.aggregatedList": list_aggregated_addresses -"/compute:v1/compute.autoscalers.aggregatedList": list_aggregated_autoscalers -"/compute:v1/compute.backendServices.getHealth": get_backend_service_health -"/compute:v1/compute.diskTypes.aggregatedList": list_aggregated_disk_types -"/compute:v1/compute.disks.aggregatedList": list_aggregated_disk -"/compute:v1/compute.disks.createSnapshot": create_disk_snapshot -"/compute:v1/compute.forwardingRules.aggregatedList": list_aggregated_forwarding_rules -"/compute:v1/compute.forwardingRules.setTarget": set_forwarding_rule_target -"/compute:v1/compute.globalForwardingRules.setTarget": set_global_forwarding_rule_target -"/compute:v1/compute.globalOperations.aggregatedList": list_aggregated_global_operation -"/compute:v1/compute.instances.addAccessConfig": add_instance_access_config -"/compute:v1/compute.instances.aggregatedList": list_aggregated_instances -"/compute:v1/compute.instances.attachDisk": attach_disk -"/compute:v1/compute.instances.deleteAccessConfig": delete_instance_access_config -"/compute:v1/compute.instances.detachDisk": detach_disk -"/compute:v1/compute.instances.getSerialPortOutput": get_instance_serial_port_output -"/compute:v1/compute.instances.setDiskAutoDelete": set_disk_auto_delete -"/compute:v1/compute.instances.setMetadata": set_instance_metadata -"/compute:v1/compute.instances.setScheduling": set_instance_scheduling -"/compute:v1/compute.instances.setTags": set_instance_tags -"/compute:v1/compute.machineTypes.aggregatedList": list_aggregated_machine_types -"/compute:v1/compute.projects.moveDisk": move_disk -"/compute:v1/compute.projects.moveInstance": move_instance -"/compute:v1/compute.projects.setCommonInstanceMetadata": set_common_instance_metadata -"/compute:v1/compute.projects.setUsageExportBucket": set_usage_export_bucket -"/compute:v1/compute.targetHttpProxies.setUrlMap": set_target_http_proxy_url_map -"/compute:v1/compute.targetInstances.aggregatedList": list_aggregated_target_instance -"/compute:v1/compute.targetPools.addHealthCheck": add_target_pool_health_check -"/compute:v1/compute.targetPools.addInstance": add_target_pool_instance -"/compute:v1/compute.targetPools.aggregatedList": list_aggregated_target_pools -"/compute:v1/compute.targetPools.getHealth": get_target_pool_health -"/compute:v1/compute.targetPools.removeHealthCheck": remove_target_pool_health_check -"/compute:v1/compute.targetPools.removeInstance": remove_target_pool_instance -"/compute:v1/compute.targetPools.setBackup": set_target_pool_backup -"/compute:v1/compute.targetVpnGateways.aggregatedList": list_aggregated_target_vpn_gateways -"/compute:v1/compute.targetVpnGateways.delete": delete_target_vpn_gateway -"/compute:v1/compute.targetVpnGateways.get": get_target_vpn_gateway -"/compute:v1/compute.targetVpnGateways.insert": insert_target_vpn_gateway -"/compute:v1/compute.targetVpnGateways.list": list_target_vpn_gateways -"/compute:v1/compute.vpnTunnels.aggregatedList": list_aggregated_vpn_tunnel -"/compute:v1/compute.instanceGroupManagers.abandonInstances": abandon_instance_group_manager_instances -"/compute:v1/compute.instanceGroupManagers.aggregatedList": list_aggregated_instance_group_managers -"/compute:v1/compute.instanceGroupManagers.deleteInstances": delete_instance_group_manager_instances -"/compute:v1/compute.instanceGroupManagers.listManagedInstances": list_instance_group_manager_managed_instances -"/compute:v1/compute.instanceGroupManagers.recreateInstances": recreate_instance_group_manager_instances -"/compute:v1/compute.instanceGroupManagers.resize": resize_instance_group_manager -"/compute:v1/compute.instanceGroupManagers.setInstanceTemplate": set_instance_group_manager_instance_template -"/compute:v1/compute.instanceGroupManagers.setTargetPools": set_instance_group_manager_target_pools -"/compute:v1/compute.instanceGroups.addInstances": add_instance_group_instances -"/compute:v1/compute.instanceGroups.aggregatedList": list_aggregated_instance_groups -"/compute:v1/compute.instanceGroups.listInstances": list_instance_group_instances -"/compute:v1/compute.instanceGroups.removeInstances": remove_instance_group_instances -"/compute:v1/compute.instanceGroups.setNamedPorts": set_instance_group_named_ports -"/container:v1beta1/container.projects.clusters.list": list_clusters -"/container:v1beta1/container.projects.operations.list": list_operations -"/container:v1beta1/container.projects.zones.clusters.create": create_cluster -"/container:v1beta1/container.projects.zones.clusters.delete": delete_zone_cluster -"/container:v1beta1/container.projects.zones.clusters.get": get_zone_cluster -"/container:v1beta1/container.projects.zones.clusters.list": list_zone_clusters -"/container:v1beta1/container.projects.zones.operations.get": get_zone_operation -"/container:v1beta1/container.projects.zones.operations.list": list_zone_operations -"/container:v1beta1/container.projects.zones.tokens.get": get_zone_token -"/container:v1/container.projects.clusters.list": list_clusters -"/container:v1/container.projects.operations.list": list_operations -"/container:v1/container.projects.zones.clusters.create": create_cluster -"/container:v1/container.projects.zones.clusters.delete": delete_zone_cluster -"/container:v1/container.projects.zones.clusters.get": get_zone_cluster -"/container:v1/container.projects.zones.clusters.list": list_zone_clusters -"/container:v1/container.projects.zones.operations.get": get_zone_operation -"/container:v1/container.projects.zones.operations.list": list_zone_operations -"/container:v1/container.projects.zones.tokens.get": get_zone_token -"/content:v2/AccountsAuthInfoResponse": accounts_auth_info_response -"/content:v2/AccountsCustomBatchRequest": batch_accounts_request -"/content:v2/AccountsCustomBatchRequestEntry": accounts_batch_request_entry -"/content:v2/AccountsCustomBatchRequestEntry/method": request_method -"/content:v2/AccountsCustomBatchResponse": batch_accounts_response -"/content:v2/AccountsCustomBatchResponseEntry": accounts_batch_response_entry -"/content:v2/AccountsListResponse": list_accounts_response -"/content:v2/AccountshippingCustomBatchRequest": batch_account_shipping_request -"/content:v2/AccountshippingCustomBatchRequestEntry": account_shipping_batch_request_entry -"/content:v2/AccountshippingCustomBatchRequestEntry/method": request_method -"/content:v2/AccountshippingCustomBatchResponse": batch_account_shipping_response -"/content:v2/AccountshippingCustomBatchResponseEntry": account_shipping_batch_response_entry -"/content:v2/AccountshippingListResponse": list_account_shipping_response -"/content:v2/AccountstatusesCustomBatchRequest": batch_account_statuses_request -"/content:v2/AccountstatusesCustomBatchRequestEntry": account_statuses_batch_request_entry -"/content:v2/AccountstatusesCustomBatchRequestEntry/method": request_method -"/content:v2/AccountstatusesCustomBatchResponse": batch_account_statuses_response -"/content:v2/AccountstatusesCustomBatchResponseEntry": account_statuses_batch_response_entry -"/content:v2/AccountstatusesListResponse": list_account_statuses_response -"/content:v2/AccounttaxCustomBatchRequest": batch_account_tax_request -"/content:v2/AccounttaxCustomBatchRequestEntry": account_tax_batch_request_entry -"/content:v2/AccounttaxCustomBatchRequestEntry/method": request_method -"/content:v2/AccounttaxCustomBatchResponse": batch_account_tax_response -"/content:v2/AccounttaxCustomBatchResponseEntry": account_tax_batch_response_entry -"/content:v2/AccounttaxListResponse": list_account_tax_response -"/content:v2/DatafeedsCustomBatchRequest": batch_datafeeds_request -"/content:v2/DatafeedsCustomBatchRequestEntry": datafeeds_batch_request_entry -"/content:v2/DatafeedsCustomBatchRequestEntry/method": request_method -"/content:v2/DatafeedsCustomBatchResponse": batch_datafeeds_response -"/content:v2/DatafeedsCustomBatchResponseEntry": datafeeds_batch_response_entry -"/content:v2/DatafeedsListResponse": list_datafeeds_response -"/content:v2/DatafeedstatusesCustomBatchRequest": batch_datafeed_statuses_request -"/content:v2/DatafeedstatusesCustomBatchRequestEntry": datafeed_statuses_batch_request_entry -"/content:v2/DatafeedstatusesCustomBatchRequestEntry/method": request_method -"/content:v2/DatafeedstatusesCustomBatchResponse": batch_datafeed_statuses_response -"/content:v2/DatafeedstatusesCustomBatchResponseEntry": datafeed_statuses_batch_response_entry -"/content:v2/DatafeedstatusesListResponse": list_datafeed_statuses_response -"/content:v2/InventoryCustomBatchRequest": batch_inventory_request -"/content:v2/InventoryCustomBatchRequestEntry": inventory_batch_request_entry -"/content:v2/InventoryCustomBatchResponse": batch_inventory_response -"/content:v2/InventoryCustomBatchResponseEntry": inventory_batch_response_entry -"/content:v2/InventorySetRequest": set_inventory_request -"/content:v2/InventorySetResponse": set_inventory_response -"/content:v2/ProductsCustomBatchRequest": batch_products_request -"/content:v2/ProductsCustomBatchRequestEntry": products_batch_request_entry -"/content:v2/ProductsCustomBatchRequestEntry/method": request_method -"/content:v2/ProductsCustomBatchResponse": batch_products_response -"/content:v2/ProductsCustomBatchResponseEntry": products_batch_response_entry -"/content:v2/ProductsListResponse": list_products_response -"/content:v2/ProductstatusesCustomBatchRequest": batch_product_statuses_request -"/content:v2/ProductstatusesCustomBatchRequestEntry": product_statuses_batch_request_entry -"/content:v2/ProductstatusesCustomBatchRequestEntry/method": request_method -"/content:v2/ProductstatusesCustomBatchResponse": batch_product_statuses_response -"/content:v2/ProductstatusesCustomBatchResponseEntry": product_statuses_batch_response_entry -"/content:v2/ProductstatusesListResponse": list_product_statuses_response -"/content:v2/content.accounts.authinfo": get_account_authinfo -"/content:v2/content.accounts.custombatch": batch_account -"/content:v2/content.accountshipping.custombatch": batch_account_shipping -"/content:v2/content.accountshipping.get": get_account_shipping -"/content:v2/content.accountshipping.list": list_account_shippings -"/content:v2/content.accountshipping.patch": patch_account_shipping -"/content:v2/content.accountshipping.update": update_account_shipping -"/content:v2/content.accountstatuses.custombatch": batch_account_status -"/content:v2/content.accountstatuses.get": get_account_status -"/content:v2/content.accountstatuses.list": list_account_statuses -"/content:v2/content.accounttax.custombatch": batch_account_tax -"/content:v2/content.accounttax.get": get_account_tax -"/content:v2/content.accounttax.list": list_account_taxes -"/content:v2/content.accounttax.patch": patch_account_tax -"/content:v2/content.accounttax.update": update_account_tax -"/content:v2/content.datafeeds.custombatch": batch_datafeed -"/content:v2/content.datafeedstatuses.custombatch": batch_datafeed_status -"/content:v2/content.datafeedstatuses.get": get_datafeed_status -"/content:v2/content.datafeedstatuses.list": list_datafeed_statuses -"/content:v2/content.inventory.custombatch": batch_inventory -"/content:v2/content.inventory.set": set_inventory -"/content:v2/content.products.custombatch": batch_product -"/content:v2/content.productstatuses.custombatch": batch_product_status -"/content:v2/content.productstatuses.get": get_product_status -"/content:v2/content.productstatuses.list": list_product_statuses -"/content:v2/content.orders.advancetestorder": advance_test_order -"/content:v2/content.orders.getbymerchantorderid": get_order_by_merchant_order_id -"/content:v2/content.orders.cancellineitem": cancel_order_line_item -"/content:v2/content.orders.createtestorder": create_test_order -"/content:v2/content.orders.custombatch": custom_order_batch -"/content:v2/content.orders.gettestordertemplate": get_test_order_template -"/content:v2/content.orders.updatemerchantorderid": update_merchant_order_id -"/content:v2/content.orders.updateshipment": update_order_shipment -"/content:v2/content.orders.returnlineitem": return_order_line_item -"/coordinate:v1/CustomFieldDefListResponse": list_custom_field_def_response -"/coordinate:v1/JobListResponse": list_job_response -"/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 -"/dataflow:v1b3/dataflow.projects.jobs.workItems.lease": lease_project_work_item -"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease": lease_project_location_work_item -"/dataflow:v1b3/dataflow.projects.locations.templates.create": create_job_from_template_with_location -"/datastore:v1beta2/AllocateIdsRequest": allocate_ids_request -"/datastore:v1beta2/AllocateIdsResponse": allocate_ids_response -"/datastore:v1beta2/BeginTransactionRequest": begin_transaction_request -"/datastore:v1beta2/BeginTransactionResponse": begin_transaction_response -"/datastore:v1/AllocateIdsRequest": allocate_ids_request -"/datastore:v1/AllocateIdsResponse": allocate_ids_response -"/datastore:v1/BeginTransactionRequest": begin_transaction_request -"/datastore:v1/BeginTransactionResponse": begin_transaction_response -"/deploymentmanager:v2/DeploymentsListResponse": list_deployments_response -"/deploymentmanager:v2/ManifestsListResponse": list_manifests_response -"/deploymentmanager:v2/OperationsListResponse": list_operations_response -"/deploymentmanager:v2/ResourcesListResponse": list_resources_response -"/deploymentmanager:v2/TypesListResponse": list_types_response -"/deploymentmanager:v2beta1/DeploymentsListResponse": list_deployments_response -"/deploymentmanager:v2beta1/ManifestsListResponse": list_manifests_response -"/deploymentmanager:v2beta1/OperationsListResponse": list_operations_response -"/deploymentmanager:v2beta1/ResourcesListResponse": list_resources_response -"/deploymentmanager:v2beta1/TypesListResponse": list_types_response -"/deploymentmanager:v2beta2/DeploymentsListResponse": list_deployments_response -"/deploymentmanager:v2beta2/ManifestsListResponse": list_manifests_response -"/deploymentmanager:v2beta2/OperationsListResponse": list_operations_response -"/deploymentmanager:v2beta2/ResourcesListResponse": list_resources_response -"/deploymentmanager:v2beta2/TypesListResponse": list_types_response -"/dfareporting:v2.6/AccountPermissionGroupsListResponse": list_account_permission_groups_response -"/dfareporting:v2.6/AccountPermissionsListResponse": list_account_permissions_response -"/dfareporting:v2.6/AccountUserProfilesListResponse": list_account_user_profiles_response -"/dfareporting:v2.6/AccountsListResponse": list_accounts_response -"/dfareporting:v2.6/AdsListResponse": list_ads_response -"/dfareporting:v2.6/AdvertiserGroupsListResponse": list_advertiser_groups_response -"/dfareporting:v2.6/AdvertisersListResponse": list_advertisers_response -"/dfareporting:v2.6/BrowsersListResponse": list_browsers_response -"/dfareporting:v2.6/CampaignCreativeAssociationsListResponse": list_campaign_creative_associations_response -"/dfareporting:v2.6/CampaignsListResponse": list_campaigns_response -"/dfareporting:v2.6/ChangeLog/objectId": obj_id -"/dfareporting:v2.6/ChangeLogsListResponse": list_change_logs_response -"/dfareporting:v2.6/CitiesListResponse": list_cities_response -"/dfareporting:v2.6/ConnectionTypesListResponse": list_connection_types_response -"/dfareporting:v2.6/ContentCategoriesListResponse": list_content_categories_response -"/dfareporting:v2.6/CountriesListResponse": list_countries_response -"/dfareporting:v2.6/CreativeFieldValuesListResponse": list_creative_field_values_response -"/dfareporting:v2.6/CreativeFieldsListResponse": list_creative_fields_response -"/dfareporting:v2.6/CreativeGroupsListResponse": list_creative_groups_response -"/dfareporting:v2.6/CreativesListResponse": list_creatives_response -"/dfareporting:v2.6/DimensionValueRequest": dimension_value_request -"/dfareporting:v2.6/DirectorySiteContactsListResponse": list_directory_site_contacts_response -"/dfareporting:v2.6/DirectorySitesListResponse": list_directory_sites_response -"/dfareporting:v2.6/EventTagsListResponse": list_event_tags_response -"/dfareporting:v2.6/FloodlightActivitiesGenerateTagResponse": floodlight_activities_generate_tag_response -"/dfareporting:v2.6/FloodlightActivitiesListResponse": list_floodlight_activities_response -"/dfareporting:v2.6/FloodlightActivityGroupsListResponse": list_floodlight_activity_groups_response -"/dfareporting:v2.6/FloodlightConfigurationsListResponse": list_floodlight_configurations_response -"/dfareporting:v2.6/InventoryItemsListResponse": list_inventory_items_response -"/dfareporting:v2.6/LandingPagesListResponse": list_landing_pages_response -"/dfareporting:v2.6/MetrosListResponse": list_metros_response -"/dfareporting:v2.6/MobileCarriersListResponse": list_mobile_carriers_response -"/dfareporting:v2.6/ObjectFilter/objectIds/object_id": obj_id -"/dfareporting:v2.6/OperatingSystemVersionsListResponse": list_operating_system_versions_response -"/dfareporting:v2.6/OperatingSystemsListResponse": list_operating_systems_response -"/dfareporting:v2.6/OrderDocumentsListResponse": list_order_documents_response -"/dfareporting:v2.6/OrdersListResponse": list_orders_response -"/dfareporting:v2.6/PlacementGroupsListResponse": list_placement_groups_response -"/dfareporting:v2.6/PlacementStrategiesListResponse": list_placement_strategies_response -"/dfareporting:v2.6/PlacementsGenerateTagsResponse": generate_placements_tags_response -"/dfareporting:v2.6/PlacementsListResponse": list_placements_response -"/dfareporting:v2.6/PlatformTypesListResponse": list_platform_types_response -"/dfareporting:v2.6/PostalCodesListResponse": list_postal_codes_response -"/dfareporting:v2.6/ProjectsListResponse": list_projects_response -"/dfareporting:v2.6/RegionsListResponse": list_regions_response -"/dfareporting:v2.6/RemarketingListsListResponse": list_remarketing_lists_response -"/dfareporting:v2.6/SitesListResponse": list_sites_response -"/dfareporting:v2.6/SizesListResponse": list_sizes_response -"/dfareporting:v2.6/SubaccountsListResponse": list_subaccounts_response -"/dfareporting:v2.6/TargetableRemarketingListsListResponse": list_targetable_remarketing_lists_response -"/dfareporting:v2.6/UserRolePermissionGroupsListResponse": list_user_role_permission_groups_response -"/dfareporting:v2.6/UserRolePermissionsListResponse": list_user_role_permissions_response -"/dfareporting:v2.6/UserRolesListResponse": list_user_roles_response -"/dfareporting:v2.6/dfareporting.floodlightActivities.generatetag": generate_floodlight_activity_tag -"/dfareporting:v2.6/dfareporting.placements.generatetags": generate_placement_tags -"/discovery:v1/RestDescription/methods": api_methods -"/discovery:v1/RestResource/methods": api_methods -"/discovery:v1/discovery.apis.getRest": get_rest_api -"/dns:v1/ChangesListResponse": list_changes_response -"/dns:v1/ManagedZonesListResponse": list_managed_zones_response -"/dns:v1/ResourceRecordSetsListResponse": list_resource_record_sets_response -"/doubleclickbidmanager:v1/DownloadLineItemsRequest": download_line_items_request -"/doubleclickbidmanager:v1/DownloadLineItemsResponse": download_line_items_response -"/doubleclickbidmanager:v1/ListQueriesResponse": list_queries_response -"/doubleclickbidmanager:v1/ListReportsResponse": list_reports_response -"/doubleclickbidmanager:v1/RunQueryRequest": run_query_request -"/doubleclickbidmanager:v1/UploadLineItemsRequest": upload_line_items_request -"/doubleclickbidmanager:v1/UploadLineItemsResponse": upload_line_items_response -"/doubleclickbidmanager:v1/doubleclickbidmanager.lineitems.downloadlineitems": download_line_items -"/doubleclickbidmanager:v1/doubleclickbidmanager.lineitems.uploadlineitems": upload_line_items -"/doubleclickbidmanager:v1/doubleclickbidmanager.queries.createquery": create_query -"/doubleclickbidmanager:v1/doubleclickbidmanager.queries.deletequery": deletequery -"/doubleclickbidmanager:v1/doubleclickbidmanager.queries.getquery": get_query -"/doubleclickbidmanager:v1/doubleclickbidmanager.queries.listqueries": list_queries -"/doubleclickbidmanager:v1/doubleclickbidmanager.queries.runquery": run_query -"/doubleclickbidmanager:v1/doubleclickbidmanager.reports.listreports": list_reports -"/doubleclicksearch:v2/ReportRequest": report_request -"/doubleclicksearch:v2/UpdateAvailabilityRequest": update_availability_request -"/doubleclicksearch:v2/UpdateAvailabilityResponse": update_availability_response -"/drive:v2/drive.files.emptyTrash": empty_trash -"/drive:v2/drive.permissions.getIdForEmail": get_permission_id_for_email -"/drive:v3/drive.changes.getStartPageToken": get_changes_start_page_token -"/fusiontables:v2/fusiontables.table.importRows": import_rows -"/fusiontables:v2/fusiontables.table.importTable": import_table -"/games:v1/AchievementDefinitionsListResponse": list_achievement_definitions_response -"/games:v1/AchievementIncrementResponse": achievement_increment_response -"/games:v1/AchievementRevealResponse": achievement_reveal_response -"/games:v1/AchievementSetStepsAtLeastResponse": achievement_set_steps_at_least_response -"/games:v1/AchievementUnlockResponse": achievement_unlock_response -"/games:v1/AchievementUpdateMultipleRequest": achievement_update_multiple_request -"/games:v1/AchievementUpdateMultipleResponse": achievement_update_multiple_response -"/games:v1/AchievementUpdateRequest": update_achievement_request -"/games:v1/AchievementUpdateResponse": update_achievement_response -"/games:v1/CategoryListResponse": list_category_response -"/games:v1/EventDefinitionListResponse": list_event_definition_response -"/games:v1/EventRecordRequest": event_record_request -"/games:v1/EventUpdateRequest": update_event_request -"/games:v1/EventUpdateResponse": update_event_response -"/games:v1/LeaderboardListResponse": list_leaderboard_response -"/games:v1/PlayerAchievementListResponse": list_player_achievement_response -"/games:v1/PlayerEventListResponse": list_player_event_response -"/games:v1/PlayerLeaderboardScoreListResponse": list_player_leaderboard_score_response -"/games:v1/PlayerListResponse": list_player_response -"/games:v1/PlayerScoreListResponse": list_player_score_response -"/games:v1/PlayerScoreResponse": player_score_response -"/games:v1/QuestListResponse": list_quest_response -"/games:v1/RevisionCheckResponse": check_revision_response -"/games:v1/RoomCreateRequest": create_room_request -"/games:v1/RoomJoinRequest": join_room_request -"/games:v1/RoomLeaveRequest": leave_room_request -"/games:v1/SnapshotListResponse": list_snapshot_response -"/games:v1/TurnBasedMatchCreateRequest": create_turn_based_match_request -"/games:v1/TurnBasedMatchDataRequest": turn_based_match_data_request -"/games:v1/games.achievements.updateMultiple": update_multiple_achievements -"/games:v1/games.events.listDefinitions": list_event_definitions -"/games:v1/games.metagame.getMetagameConfig": get_metagame_config -"/games:v1/games.rooms.reportStatus": report_room_status -"/games:v1/games.turnBasedMatches.leaveTurn": leave_turn -"/games:v1/games.turnBasedMatches.takeTurn": take_turn -"/gamesConfiguration:v1configuration/AchievementConfigurationListResponse": list_achievement_configuration_response -"/gamesConfiguration:v1configuration/LeaderboardConfigurationListResponse": list_leaderboard_configuration_response -"/genomics:v1beta2/genomics.callsets.create": create_call_set -"/genomics:v1beta2/genomics.callsets.delete": delete_call_set -"/genomics:v1beta2/genomics.callsets.get": get_call_set -"/genomics:v1beta2/genomics.callsets.patch": patch_call_set -"/genomics:v1beta2/genomics.callsets.search": search_call_sets -"/genomics:v1beta2/genomics.callsets.update": update_call_set -"/genomics:v1beta2/genomics.readgroupsets.align": align_read_group_sets -"/genomics:v1beta2/genomics.readgroupsets.call": call_read_group_sets -"/genomics:v1beta2/genomics.readgroupsets.coveragebuckets.list": list_coverage_buckets -"/genomics:v1beta2/genomics.readgroupsets.delete": delete_read_group_set -"/genomics:v1beta2/genomics.readgroupsets.export": export_read_group_sets -"/genomics:v1beta2/genomics.readgroupsets.get": get_read_group_set -"/genomics:v1beta2/genomics.readgroupsets.import": import_read_group_sets -"/genomics:v1beta2/genomics.readgroupsets.patch": patch_read_group_set -"/genomics:v1beta2/genomics.readgroupsets.search": search_read_group_sets -"/genomics:v1beta2/genomics.readgroupsets.update": update_read_group_set -"/genomics:v1beta2/genomics.references.bases.list/end": end_position -"/genomics:v1beta2/genomics.references.bases.list/start": start_position -"/genomics:v1beta2/genomics.referencesets.get": get_reference_set -"/genomics:v1beta2/genomics.streamingReadstore.streamreads": stream_reads -"/genomics:v1/genomics.annotationsets.create": create_annotation_set -"/genomics:v1/genomics.annotationsets.get": get_annotation_set -"/genomics:v1/genomics.callsets.create": create_call_set -"/genomics:v1/genomics.callsets.delete": delete_call_set -"/genomics:v1/genomics.callsets.get": get_call_set -"/genomics:v1/genomics.callsets.patch": patch_call_set -"/genomics:v1/genomics.callsets.search": search_call_sets -"/genomics:v1/genomics.callsets.update": update_call_set -"/genomics:v1/genomics.readgroupsets.align": align_read_group_sets -"/genomics:v1/genomics.readgroupsets.call": call_read_group_sets -"/genomics:v1/genomics.readgroupsets.coveragebuckets.list": list_coverage_buckets -"/genomics:v1/genomics.readgroupsets.delete": delete_read_group_set -"/genomics:v1/genomics.readgroupsets.export": export_read_group_sets -"/genomics:v1/genomics.readgroupsets.get": get_read_group_set -"/genomics:v1/genomics.readgroupsets.import": import_read_group_sets -"/genomics:v1/genomics.readgroupsets.patch": patch_read_group_set -"/genomics:v1/genomics.readgroupsets.search": search_read_group_sets -"/genomics:v1/genomics.readgroupsets.update": update_read_group_set -"/genomics:v1/genomics.references.bases.list/end": end_position -"/genomics:v1/genomics.references.bases.list/start": start_position -"/genomics:v1/genomics.referencesets.get": get_reference_set -"/genomics:v1/genomics.streamingReadstore.streamreads": stream_reads -"/genomics:v1/genomics.variantsets.export": export_variant_set -"/genomics:v1/genomics.variantsets.search": search_variant_sets -"/genomics:v1/genomics.referencesets.search": search_reference_sets -"/gmail:v1/gmail.users.getProfile": get_user_profile -"/groupssettings:v1?force_alt_json": true -"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest": set_project_config_request -"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest": create_auth_uri_request -"/identitytoolkit:v3/IdentitytoolkitRelyingpartyDeleteAccountRequest": delete_account_request -"/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest": download_account_request -"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest": get_account_info_request -"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetPublicKeysResponse": get_public_keys_response -"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetPublicKeysResponse/get_public_keys_response": get_public_keys_response -"/identitytoolkit:v3/IdentitytoolkitRelyingpartyResetPasswordRequest": reset_password_request -"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest": set_account_info_request -"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest": upload_account_request -"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest": verify_assertion_request -"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest": verify_password_request -"/identitytoolkit:v3/identitytoolkit.relyingparty.createAuthUri": create_auth_uri -"/identitytoolkit:v3/identitytoolkit.relyingparty.deleteAccount": delete_account -"/identitytoolkit:v3/identitytoolkit.relyingparty.downloadAccount": download_account -"/identitytoolkit:v3/identitytoolkit.relyingparty.getAccountInfo": get_account_info -"/identitytoolkit:v3/identitytoolkit.relyingparty.getOobConfirmationCode": get_oob_confirmation_code -"/identitytoolkit:v3/identitytoolkit.relyingparty.getPublicKeys": get_public_keys -"/identitytoolkit:v3/identitytoolkit.relyingparty.getRecaptchaParam": get_recaptcha_param -"/identitytoolkit:v3/identitytoolkit.relyingparty.resetPassword": reset_password -"/identitytoolkit:v3/identitytoolkit.relyingparty.setAccountInfo": set_account_info -"/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 -"/identitytoolkit:v3/identitytoolkit.relyingparty.verifyCustomToken": verify_custom_token -"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserResponse": sign_out_user_response -"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest": verify_custom_token_request -"/licensing:v1/licensing.licenseAssignments.listForProduct": list_license_assignments_for_product -"/licensing:v1/licensing.licenseAssignments.listForProductAndSku": list_license_assignments_for_product_and_sku -"/logging:v1beta3/logging.projects.logServices.indexes.list": list_log_service_indexes -"/logging:v1beta3/logging.projects.logServices.list": list_log_services -"/logging:v1beta3/logging.projects.logServices.sinks.create": create_log_service_sink -"/logging:v1beta3/logging.projects.logServices.sinks.delete": delete_log_service_sink -"/logging:v1beta3/logging.projects.logServices.sinks.get": get_log_service_sink -"/logging:v1beta3/logging.projects.logServices.sinks.list": list_log_service_sinks -"/logging:v1beta3/logging.projects.logServices.sinks.update": update_log_service_sink -"/logging:v1beta3/logging.projects.logs.delete": delete_log -"/logging:v1beta3/logging.projects.logs.list": list_logs -"/logging:v1beta3/logging.projects.logs.sinks.create": create_log_sink -"/logging:v1beta3/logging.projects.logs.sinks.delete": delete_log_sink -"/logging:v1beta3/logging.projects.logs.sinks.get": get_log_sink -"/logging:v1beta3/logging.projects.logs.sinks.list": list_log_sinks -"/logging:v1beta3/logging.projects.logs.sinks.update": update_log_sink -"/logging:v1beta3/logging.projects.logs.entries.write": write_log_entries -"/logging:v2beta1/logging.projects.logServices.indexes.list": list_log_service_indexes -"/logging:v2beta1/logging.projects.logServices.list": list_log_services -"/logging:v2beta1/logging.projects.logServices.sinks.create": create_log_service_sink -"/logging:v2beta1/logging.projects.logServices.sinks.delete": delete_log_service_sink -"/logging:v2beta1/logging.projects.logServices.sinks.get": get_log_service_sink -"/logging:v2beta1/logging.projects.logServices.sinks.list": list_log_service_sinks -"/logging:v2beta1/logging.projects.logServices.sinks.update": update_log_service_sink -"/logging:v2beta1/logging.projects.logs.delete": delete_log -"/logging:v2beta1/logging.projects.logs.list": list_logs -"/logging:v2beta1/logging.projects.logs.sinks.create": create_log_sink -"/logging:v2beta1/logging.projects.logs.sinks.delete": delete_log_sink -"/logging:v2beta1/logging.projects.logs.sinks.get": get_log_sink -"/logging:v2beta1/logging.projects.logs.sinks.list": list_log_sinks -"/logging:v2beta1/logging.projects.logs.sinks.update": update_log_sink -"/logging:v2beta1/logging.projects.logs.entries.write": write_log_entries -"/manager:v1beta2/DeploymentsListResponse": list_deployments_response -"/manager:v1beta2/TemplatesListResponse": list_templates_response -"/mirror:v1/AttachmentsListResponse": list_attachments_response -"/mirror:v1/ContactsListResponse": list_contacts_response -"/mirror:v1/LocationsListResponse": list_locations_response -"/mirror:v1/SubscriptionsListResponse": list_subscriptions_response -"/mirror:v1/TimelineListResponse": list_timeline_response -"/oauth2:v2/oauth2.userinfo.v2.me.get": get_userinfo_v2 -"/pagespeedonline:v2/PagespeedApiFormatStringV2": format_string -"/pagespeedonline:v2/PagespeedApiImageV2": image -"/pagespeedonline:v2/pagespeedonline.pagespeedapi.runpagespeed": run_pagespeed -"/people:v1/people.people.getBatchGet": get_people -"/plus:v1/plus.people.listByActivity": list_people_by_activity -"/plusDomains:v1/plusDomains.circles.addPeople": add_people -"/plusDomains:v1/plusDomains.circles.removePeople": remove_people -"/plusDomains:v1/plusDomains.people.listByActivity": list_people_by_activity -"/plusDomains:v1/plusDomains.people.listByCircle": list_people_by_circle -"/prediction:v1.6/prediction.hostedmodels.predict": predict_hosted_model -"/prediction:v1.6/prediction.trainedmodels.analyze": analyze_trained_model -"/prediction:v1.6/prediction.trainedmodels.delete": delete_trained_model -"/prediction:v1.6/prediction.trainedmodels.get": get_trained_model -"/prediction:v1.6/prediction.trainedmodels.insert": insert_trained_model -"/prediction:v1.6/prediction.trainedmodels.list": list_trained_models -"/prediction:v1.6/prediction.trainedmodels.predict": predict_trained_model -"/prediction:v1.6/prediction.trainedmodels.update": update_trained_model -"/pubsub:v1/PubsubMessage": message -"/pubsub:v1/pubsub.projects.subscriptions.create": create_subscription -"/pubsub:v1/pubsub.projects.subscriptions.delete": delete_subscription -"/pubsub:v1/pubsub.projects.subscriptions.get": get_subscription -"/pubsub:v1/pubsub.projects.subscriptions.list": list_subscriptions -"/pubsub:v1/pubsub.projects.topics.create": create_topic -"/pubsub:v1/pubsub.projects.topics.delete": delete_topic -"/pubsub:v1/pubsub.projects.topics.get": get_topic -"/pubsub:v1/pubsub.projects.topics.list": list_topics -"/pubsub:v1/pubsub.projects.topics.subscriptions.list": list_topic_subscriptions -"/qpxExpress:v1/TripsSearchRequest": search_trips_request -"/qpxExpress:v1/TripsSearchResponse": search_trips_response -"/replicapool:v1beta2/InstanceGroupManagersAbandonInstancesRequest": abandon_instances_request -"/replicapool:v1beta2/InstanceGroupManagersDeleteInstancesRequest": delete_instances_request -"/replicapool:v1beta2/InstanceGroupManagersRecreateInstancesRequest": recreate_instances_request -"/replicapool:v1beta2/InstanceGroupManagersSetInstanceTemplateRequest": set_instance_template_request -"/replicapool:v1beta2/InstanceGroupManagersSetTargetPoolsRequest": set_target_pools_request -"/replicapool:v1beta2/replicapool.instanceGroupManagers.abandonInstances": abandon_instances -"/replicapool:v1beta2/replicapool.instanceGroupManagers.deleteInstances": delete_instances -"/replicapool:v1beta2/replicapool.instanceGroupManagers.recreateInstances": recreate_instances -"/replicapool:v1beta2/replicapool.instanceGroupManagers.resize": resize_instance -"/replicapool:v1beta2/replicapool.instanceGroupManagers.setInstanceTemplate": set_instance_template -"/replicapool:v1beta2/replicapool.instanceGroupManagers.setTargetPools": set_target_pools -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.listInstanceUpdates": list_instance_updates -"/reseller:v1/ChangePlanRequest": change_plan_request -"/reseller:v1/reseller.subscriptions.changeRenewalSettings": change_subscription_renewal_settings -"/reseller:v1/reseller.subscriptions.changeSeats": change_subscription_seats -"/resourceviews:v1beta2/ZoneViewsAddResourcesRequest": add_resources_request -"/resourceviews:v1beta2/ZoneViewsGetServiceResponse": get_service_response -"/resourceviews:v1beta2/ZoneViewsListResourcesResponse": list_resources_response -"/resourceviews:v1beta2/ZoneViewsRemoveResourcesRequest": remove_resources_request -"/resourceviews:v1beta2/ZoneViewsSetServiceRequest": set_service_request -"/servicemanagement:v1/servicemanagement.services.getConfig": get_service_configuration -"/siteVerification:v1/SiteVerificationWebResourceGettokenRequest": get_web_resource_token_request -"/siteVerification:v1/SiteVerificationWebResourceGettokenResponse": get_web_resource_token_response -"/siteVerification:v1/SiteVerificationWebResourceGettokenResponse/method": verification_method -"/siteVerification:v1/SiteVerificationWebResourceListResponse": list_web_resource_response -"/sheets:v4/sheets.spreadsheets.sheets.copyTo": copy_spreadsheet -"/sheets:v4/sheets.spreadsheets.values.batchGet": batch_get_spreadsheet_values -"/sheets:v4/sheets.spreadsheets.values.get": get_spreadsheet_values -"/sqladmin:v1beta4/BackupRunsListResponse": list_backup_runs_response -"/sqladmin:v1beta4/DatabasesListResponse": list_databases_response -"/sqladmin:v1beta4/FlagsListResponse": list_flags_response -"/sqladmin:v1beta4/InstancesCloneRequest": clone_instances_request -"/sqladmin:v1beta4/InstancesExportRequest": export_instances_request -"/sqladmin:v1beta4/InstancesImportRequest": import_instances_request -"/sqladmin:v1beta4/InstancesListResponse": list_instances_response -"/sqladmin:v1beta4/InstancesRestoreBackupRequest": restore_instances_backup_request -"/sqladmin:v1beta4/OperationsListResponse": list_operations_response -"/sqladmin:v1beta4/SslCertsInsertRequest": insert_ssl_certs_request -"/sqladmin:v1beta4/SslCertsInsertResponse": insert_ssl_certs_response -"/sqladmin:v1beta4/SslCertsListResponse": list_ssl_certs_response -"/sqladmin:v1beta4/TiersListResponse": list_tiers_response -"/sqladmin:v1beta4/UsersListResponse": list_users_response -"/storage:v1/Bucket/cors": cors_configurations -"/storage:v1/Bucket/cors/cors_configuration/method": http_method -"/storagetransfer:v1/storagetransfer.getGoogleServiceAccount": get_google_service_account_v1 -"/storage:v1/storage.objects.watchAll": watch_all_objects -"/tagmanager:v1/tagmanager.accounts.containers.create": create_container -"/tagmanager:v1/tagmanager.accounts.containers.delete": delete_container -"/tagmanager:v1/tagmanager.accounts.containers.get": get_container -"/tagmanager:v1/tagmanager.accounts.containers.list": list_containers -"/tagmanager:v1/tagmanager.accounts.containers.macros.create": create_macro -"/tagmanager:v1/tagmanager.accounts.containers.macros.delete": delete_macro -"/tagmanager:v1/tagmanager.accounts.containers.macros.get": get_macro -"/tagmanager:v1/tagmanager.accounts.containers.macros.list": list_macros -"/tagmanager:v1/tagmanager.accounts.containers.macros.update": update_macro -"/tagmanager:v1/tagmanager.accounts.containers.rules.create": create_rule -"/tagmanager:v1/tagmanager.accounts.containers.rules.delete": delete_rule -"/tagmanager:v1/tagmanager.accounts.containers.rules.get": get_rule -"/tagmanager:v1/tagmanager.accounts.containers.rules.list": list_rules -"/tagmanager:v1/tagmanager.accounts.containers.rules.update": update_rule -"/tagmanager:v1/tagmanager.accounts.containers.tags.create": create_tag -"/tagmanager:v1/tagmanager.accounts.containers.tags.delete": delete_tag -"/tagmanager:v1/tagmanager.accounts.containers.tags.get": get_tag -"/tagmanager:v1/tagmanager.accounts.containers.tags.list": list_tags -"/tagmanager:v1/tagmanager.accounts.containers.tags.update": update_tag -"/tagmanager:v1/tagmanager.accounts.containers.triggers.create": create_trigger -"/tagmanager:v1/tagmanager.accounts.containers.triggers.delete": delete_trigger -"/tagmanager:v1/tagmanager.accounts.containers.triggers.get": get_trigger -"/tagmanager:v1/tagmanager.accounts.containers.triggers.list": list_triggers -"/tagmanager:v1/tagmanager.accounts.containers.triggers.update": update_trigger -"/tagmanager:v1/tagmanager.accounts.containers.update": update_container -"/tagmanager:v1/tagmanager.accounts.containers.variables.create": create_variable -"/tagmanager:v1/tagmanager.accounts.containers.variables.delete": delete_variable -"/tagmanager:v1/tagmanager.accounts.containers.variables.get": get_variable -"/tagmanager:v1/tagmanager.accounts.containers.variables.list": list_variables -"/tagmanager:v1/tagmanager.accounts.containers.variables.update": update_variable -"/tagmanager:v1/tagmanager.accounts.containers.versions.create": create_version -"/tagmanager:v1/tagmanager.accounts.containers.versions.delete": delete_version -"/tagmanager:v1/tagmanager.accounts.containers.versions.get": get_version -"/tagmanager:v1/tagmanager.accounts.containers.versions.list": list_versions -"/tagmanager:v1/tagmanager.accounts.containers.versions.publish": publish_version -"/tagmanager:v1/tagmanager.accounts.containers.versions.restore": restore_version -"/tagmanager:v1/tagmanager.accounts.containers.versions.undelete": undelete_version -"/tagmanager:v1/tagmanager.accounts.containers.versions.update": update_version -"/tagmanager:v1/tagmanager.accounts.get": get_account -"/tagmanager:v1/tagmanager.accounts.list": list_accounts -"/tagmanager:v1/tagmanager.accounts.permissions.create": create_permission -"/tagmanager:v1/tagmanager.accounts.permissions.delete": delete_permission -"/tagmanager:v1/tagmanager.accounts.permissions.get": get_permission -"/tagmanager:v1/tagmanager.accounts.permissions.list": list_permissions -"/tagmanager:v1/tagmanager.accounts.permissions.update": update_permission -"/tagmanager:v1/tagmanager.accounts.update": update_account -"/translate:v2/DetectionsListResponse": list_detections_response -"/translate:v2/LanguagesListResponse": list_languages_response -"/translate:v2/TranslationsListResponse": list_translations_response -"/webmasters:v3/webmasters.searchanalytics.query": query_search_analytics -"/webmasters:v3/SitemapsListResponse": list_sitemaps_response -"/webmasters:v3/SitesListResponse": list_sites_response -"/webmasters:v3/UrlCrawlErrorsCountsQueryResponse": query_url_crawl_errors_counts_response -"/webmasters:v3/UrlCrawlErrorsSamplesListResponse": list_url_crawl_errors_samples_response -"/webmasters:v3/webmasters.urlcrawlerrorscounts.query": query_errors_count -"/webmasters:v3/webmasters.urlcrawlerrorssamples.get": get_errors_sample -"/webmasters:v3/webmasters.urlcrawlerrorssamples.list": list_errors_samples -"/webmasters:v3/webmasters.urlcrawlerrorssamples.markAsFixed": mark_as_fixed -"/youtube:v3/youtube.comments.setModerationStatus": set_comment_moderation_status -"/youtube:v3/ActivityListResponse": list_activities_response -"/youtube:v3/CaptionListResponse": list_captions_response -"/youtube:v3/ChannelListResponse": list_channels_response -"/youtube:v3/ChannelSectionListResponse": list_channel_sections_response -"/youtube:v3/CommentListResponse": list_comments_response -"/youtube:v3/CommentThreadListResponse": list_comment_threads_response -"/youtube:v3/GuideCategoryListResponse": list_guide_categories_response -"/youtube:v3/I18nLanguageListResponse": list_i18n_languages_response -"/youtube:v3/I18nRegionListResponse": list_i18n_regions_response -"/youtube:v3/LiveBroadcastListResponse": list_live_broadcasts_response -"/youtube:v3/LiveStreamListResponse": list_live_streams_response -"/youtube:v3/PlaylistItemListResponse": list_playlist_items_response -"/youtube:v3/PlaylistListResponse": list_playlist_response -"/youtube:v3/SearchListResponse": search_lists_response -"/youtube:v3/SubscriptionListResponse": list_subscription_response -"/youtube:v3/ThumbnailSetResponse": set_thumbnail_response -"/youtube:v3/VideoAbuseReportReasonListResponse": list_video_abuse_report_reason_response -"/youtube:v3/VideoCategoryListResponse": list_video_category_response -"/youtube:v3/VideoGetRatingResponse": get_video_rating_response -"/youtube:v3/VideoListResponse": list_videos_response -"/youtubeAnalytics:v1/GroupItemListResponse": list_group_item_response -"/youtubeAnalytics:v1/GroupListResponse": list_groups_response -"/mybusiness:v3/mybusiness.accounts.locations.getGoogleUpdated": get_google_updated_account_location -"/mybusiness:v3/mybusiness.accounts.locations.reviews.deleteReply": delete_reply -"/mybusiness:v3/mybusiness.accounts.locations.reviews.reply": reply_to_review -"/mybusiness:v3/mybusiness.accounts.locations.reviews.get": get_review -"/mybusiness:v3/mybusiness.accounts.locations.reviews.list": list_reviews -"/classroom:v1/classroom.courses.courseWork.create": create_course_work -"/classroom:v1/classroom.courses.courseWork.get": get_course_work -"/classroom:v1/classroom.courses.courseWork.list": list_course_works -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.get": get_student_submission -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch": patch_student_submission -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list": list_student_submissions -"/speech:v1beta1/speech.speech.syncrecognize": sync_recognize_speech -"/speech:v1beta1/speech.speech.asyncrecognize": async_recognize_speech -"/appsmarket:v2/fields": fields -"/appsmarket:v2/key": key -"/appsmarket:v2/quotaUser": quota_user -"/appsmarket:v2/userIp": user_ip -"/appsmarket:v2/appsmarket.customerLicense.get": get_customer_license -"/appsmarket:v2/appsmarket.customerLicense.get/applicationId": application_id -"/appsmarket:v2/appsmarket.customerLicense.get/customerId": customer_id -"/appsmarket:v2/appsmarket.licenseNotification.list": list_license_notifications -"/appsmarket:v2/appsmarket.licenseNotification.list/applicationId": application_id -"/appsmarket:v2/appsmarket.licenseNotification.list/max-results": max_results -"/appsmarket:v2/appsmarket.licenseNotification.list/start-token": start_token -"/appsmarket:v2/appsmarket.licenseNotification.list/timestamp": timestamp -"/appsmarket:v2/appsmarket.userLicense.get": get_user_license -"/appsmarket:v2/appsmarket.userLicense.get/applicationId": application_id -"/appsmarket:v2/appsmarket.userLicense.get/userId": user_id -"/appsmarket:v2/CustomerLicense": customer_license -"/appsmarket:v2/CustomerLicense/applicationId": application_id -"/appsmarket:v2/CustomerLicense/customerId": customer_id -"/appsmarket:v2/CustomerLicense/editions": editions -"/appsmarket:v2/CustomerLicense/editions/edition": edition -"/appsmarket:v2/CustomerLicense/editions/edition/assignedSeats": assigned_seats -"/appsmarket:v2/CustomerLicense/editions/edition/editionId": edition_id -"/appsmarket:v2/CustomerLicense/editions/edition/seatCount": seat_count -"/appsmarket:v2/CustomerLicense/id": id -"/appsmarket:v2/CustomerLicense/kind": kind -"/appsmarket:v2/CustomerLicense/state": state -"/appsmarket:v2/LicenseNotification": license_notification -"/appsmarket:v2/LicenseNotification/applicationId": application_id -"/appsmarket:v2/LicenseNotification/customerId": customer_id -"/appsmarket:v2/LicenseNotification/deletes": deletes -"/appsmarket:v2/LicenseNotification/deletes/delete": delete -"/appsmarket:v2/LicenseNotification/deletes/delete/editionId": edition_id -"/appsmarket:v2/LicenseNotification/deletes/delete/kind": kind -"/appsmarket:v2/LicenseNotification/expiries": expiries -"/appsmarket:v2/LicenseNotification/expiries/expiry": expiry -"/appsmarket:v2/LicenseNotification/expiries/expiry/editionId": edition_id -"/appsmarket:v2/LicenseNotification/expiries/expiry/kind": kind -"/appsmarket:v2/LicenseNotification/id": id -"/appsmarket:v2/LicenseNotification/kind": kind -"/appsmarket:v2/LicenseNotification/provisions": provisions -"/appsmarket:v2/LicenseNotification/provisions/provision": provision -"/appsmarket:v2/LicenseNotification/provisions/provision/editionId": edition_id -"/appsmarket:v2/LicenseNotification/provisions/provision/kind": kind -"/appsmarket:v2/LicenseNotification/provisions/provision/seatCount": seat_count -"/appsmarket:v2/LicenseNotification/reassignments": reassignments -"/appsmarket:v2/LicenseNotification/reassignments/reassignment": reassignment -"/appsmarket:v2/LicenseNotification/reassignments/reassignment/editionId": edition_id -"/appsmarket:v2/LicenseNotification/reassignments/reassignment/kind": kind -"/appsmarket:v2/LicenseNotification/reassignments/reassignment/type": type -"/appsmarket:v2/LicenseNotification/reassignments/reassignment/userId": user_id -"/appsmarket:v2/LicenseNotification/timestamp": timestamp -"/appsmarket:v2/LicenseNotificationList": license_notification_list -"/appsmarket:v2/LicenseNotificationList/kind": kind -"/appsmarket:v2/LicenseNotificationList/nextPageToken": next_page_token -"/appsmarket:v2/LicenseNotificationList/notifications": notifications -"/appsmarket:v2/LicenseNotificationList/notifications/notification": notification -"/appsmarket:v2/UserLicense": user_license -"/appsmarket:v2/UserLicense/applicationId": application_id -"/appsmarket:v2/UserLicense/customerId": customer_id -"/appsmarket:v2/UserLicense/editionId": edition_id -"/appsmarket:v2/UserLicense/enabled": enabled -"/appsmarket:v2/UserLicense/id": id -"/appsmarket:v2/UserLicense/kind": kind -"/appsmarket:v2/UserLicense/state": state -"/appsmarket:v2/UserLicense/userId": user_id -"/youtubePartner:v1/fields": fields -"/youtubePartner:v1/key": key -"/youtubePartner:v1/quotaUser": quota_user -"/youtubePartner:v1/userIp": user_ip -"/youtubePartner:v1/youtubePartner.assetLabels.insert": insert_asset_label -"/youtubePartner:v1/youtubePartner.assetLabels.insert/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.assetLabels.list": list_asset_labels -"/youtubePartner:v1/youtubePartner.assetLabels.list/labelPrefix": label_prefix -"/youtubePartner:v1/youtubePartner.assetLabels.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.assetLabels.list/q": q -"/youtubePartner:v1/youtubePartner.assetMatchPolicy.get": get_asset_match_policy -"/youtubePartner:v1/youtubePartner.assetMatchPolicy.get/assetId": asset_id -"/youtubePartner:v1/youtubePartner.assetMatchPolicy.get/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.assetMatchPolicy.patch": patch_asset_match_policy -"/youtubePartner:v1/youtubePartner.assetMatchPolicy.patch/assetId": asset_id -"/youtubePartner:v1/youtubePartner.assetMatchPolicy.patch/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.assetMatchPolicy.update": update_asset_match_policy -"/youtubePartner:v1/youtubePartner.assetMatchPolicy.update/assetId": asset_id -"/youtubePartner:v1/youtubePartner.assetMatchPolicy.update/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.assetRelationships.delete": delete_asset_relationship -"/youtubePartner:v1/youtubePartner.assetRelationships.delete/assetRelationshipId": asset_relationship_id -"/youtubePartner:v1/youtubePartner.assetRelationships.delete/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.assetRelationships.insert": insert_asset_relationship -"/youtubePartner:v1/youtubePartner.assetRelationships.insert/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.assetRelationships.list": list_asset_relationships -"/youtubePartner:v1/youtubePartner.assetRelationships.list/assetId": asset_id -"/youtubePartner:v1/youtubePartner.assetRelationships.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.assetRelationships.list/pageToken": page_token -"/youtubePartner:v1/youtubePartner.assetSearch.list": list_asset_searches -"/youtubePartner:v1/youtubePartner.assetSearch.list/createdAfter": created_after -"/youtubePartner:v1/youtubePartner.assetSearch.list/createdBefore": created_before -"/youtubePartner:v1/youtubePartner.assetSearch.list/hasConflicts": has_conflicts -"/youtubePartner:v1/youtubePartner.assetSearch.list/includeAnyProvidedlabel": include_any_providedlabel -"/youtubePartner:v1/youtubePartner.assetSearch.list/isrcs": isrcs -"/youtubePartner:v1/youtubePartner.assetSearch.list/labels": labels -"/youtubePartner:v1/youtubePartner.assetSearch.list/metadataSearchFields": metadata_search_fields -"/youtubePartner:v1/youtubePartner.assetSearch.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.assetSearch.list/ownershipRestriction": ownership_restriction -"/youtubePartner:v1/youtubePartner.assetSearch.list/pageToken": page_token -"/youtubePartner:v1/youtubePartner.assetSearch.list/q": q -"/youtubePartner:v1/youtubePartner.assetSearch.list/sort": sort -"/youtubePartner:v1/youtubePartner.assetSearch.list/type": type -"/youtubePartner:v1/youtubePartner.assetShares.list": list_asset_shares -"/youtubePartner:v1/youtubePartner.assetShares.list/assetId": asset_id -"/youtubePartner:v1/youtubePartner.assetShares.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.assetShares.list/pageToken": page_token -"/youtubePartner:v1/youtubePartner.assets.get": get_asset -"/youtubePartner:v1/youtubePartner.assets.get/assetId": asset_id -"/youtubePartner:v1/youtubePartner.assets.get/fetchMatchPolicy": fetch_match_policy -"/youtubePartner:v1/youtubePartner.assets.get/fetchMetadata": fetch_metadata -"/youtubePartner:v1/youtubePartner.assets.get/fetchOwnership": fetch_ownership -"/youtubePartner:v1/youtubePartner.assets.get/fetchOwnershipConflicts": fetch_ownership_conflicts -"/youtubePartner:v1/youtubePartner.assets.get/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.assets.insert": insert_asset -"/youtubePartner:v1/youtubePartner.assets.insert/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.assets.list": list_assets -"/youtubePartner:v1/youtubePartner.assets.list/fetchMatchPolicy": fetch_match_policy -"/youtubePartner:v1/youtubePartner.assets.list/fetchMetadata": fetch_metadata -"/youtubePartner:v1/youtubePartner.assets.list/fetchOwnership": fetch_ownership -"/youtubePartner:v1/youtubePartner.assets.list/fetchOwnershipConflicts": fetch_ownership_conflicts -"/youtubePartner:v1/youtubePartner.assets.list/id": id -"/youtubePartner:v1/youtubePartner.assets.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.assets.patch": patch_asset -"/youtubePartner:v1/youtubePartner.assets.patch/assetId": asset_id -"/youtubePartner:v1/youtubePartner.assets.patch/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.assets.update": update_asset -"/youtubePartner:v1/youtubePartner.assets.update/assetId": asset_id -"/youtubePartner:v1/youtubePartner.assets.update/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.campaigns.delete": delete_campaign -"/youtubePartner:v1/youtubePartner.campaigns.delete/campaignId": campaign_id -"/youtubePartner:v1/youtubePartner.campaigns.delete/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.campaigns.get": get_campaign -"/youtubePartner:v1/youtubePartner.campaigns.get/campaignId": campaign_id -"/youtubePartner:v1/youtubePartner.campaigns.get/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.campaigns.insert": insert_campaign -"/youtubePartner:v1/youtubePartner.campaigns.insert/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.campaigns.list": list_campaigns -"/youtubePartner:v1/youtubePartner.campaigns.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.campaigns.list/pageToken": page_token -"/youtubePartner:v1/youtubePartner.campaigns.patch": patch_campaign -"/youtubePartner:v1/youtubePartner.campaigns.patch/campaignId": campaign_id -"/youtubePartner:v1/youtubePartner.campaigns.patch/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.campaigns.update": update_campaign -"/youtubePartner:v1/youtubePartner.campaigns.update/campaignId": campaign_id -"/youtubePartner:v1/youtubePartner.campaigns.update/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.claimHistory.get": get_claim_history -"/youtubePartner:v1/youtubePartner.claimHistory.get/claimId": claim_id -"/youtubePartner:v1/youtubePartner.claimHistory.get/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.claimSearch.list": list_claim_searches -"/youtubePartner:v1/youtubePartner.claimSearch.list/assetId": asset_id -"/youtubePartner:v1/youtubePartner.claimSearch.list/contentType": content_type -"/youtubePartner:v1/youtubePartner.claimSearch.list/createdAfter": created_after -"/youtubePartner:v1/youtubePartner.claimSearch.list/createdBefore": created_before -"/youtubePartner:v1/youtubePartner.claimSearch.list/inactiveReasons": inactive_reasons -"/youtubePartner:v1/youtubePartner.claimSearch.list/includeThirdPartyClaims": include_third_party_claims -"/youtubePartner:v1/youtubePartner.claimSearch.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.claimSearch.list/origin": origin -"/youtubePartner:v1/youtubePartner.claimSearch.list/pageToken": page_token -"/youtubePartner:v1/youtubePartner.claimSearch.list/partnerUploaded": partner_uploaded -"/youtubePartner:v1/youtubePartner.claimSearch.list/q": q -"/youtubePartner:v1/youtubePartner.claimSearch.list/referenceId": reference_id -"/youtubePartner:v1/youtubePartner.claimSearch.list/sort": sort -"/youtubePartner:v1/youtubePartner.claimSearch.list/status": status -"/youtubePartner:v1/youtubePartner.claimSearch.list/statusModifiedAfter": status_modified_after -"/youtubePartner:v1/youtubePartner.claimSearch.list/statusModifiedBefore": status_modified_before -"/youtubePartner:v1/youtubePartner.claimSearch.list/videoId": video_id -"/youtubePartner:v1/youtubePartner.claims.get": get_claim -"/youtubePartner:v1/youtubePartner.claims.get/claimId": claim_id -"/youtubePartner:v1/youtubePartner.claims.get/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.claims.insert": insert_claim -"/youtubePartner:v1/youtubePartner.claims.insert/isManualClaim": is_manual_claim -"/youtubePartner:v1/youtubePartner.claims.insert/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.claims.list": list_claims -"/youtubePartner:v1/youtubePartner.claims.list/assetId": asset_id -"/youtubePartner:v1/youtubePartner.claims.list/id": id -"/youtubePartner:v1/youtubePartner.claims.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.claims.list/pageToken": page_token -"/youtubePartner:v1/youtubePartner.claims.list/q": q -"/youtubePartner:v1/youtubePartner.claims.list/videoId": video_id -"/youtubePartner:v1/youtubePartner.claims.patch": patch_claim -"/youtubePartner:v1/youtubePartner.claims.patch/claimId": claim_id -"/youtubePartner:v1/youtubePartner.claims.patch/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.claims.update": update_claim -"/youtubePartner:v1/youtubePartner.claims.update/claimId": claim_id -"/youtubePartner:v1/youtubePartner.claims.update/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.contentOwnerAdvertisingOptions.get": get_content_owner_advertising_option -"/youtubePartner:v1/youtubePartner.contentOwnerAdvertisingOptions.get/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.contentOwnerAdvertisingOptions.patch": patch_content_owner_advertising_option -"/youtubePartner:v1/youtubePartner.contentOwnerAdvertisingOptions.patch/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.contentOwnerAdvertisingOptions.update": update_content_owner_advertising_option -"/youtubePartner:v1/youtubePartner.contentOwnerAdvertisingOptions.update/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.contentOwners.get": get_content_owner -"/youtubePartner:v1/youtubePartner.contentOwners.get/contentOwnerId": content_owner_id -"/youtubePartner:v1/youtubePartner.contentOwners.get/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.contentOwners.list": list_content_owners -"/youtubePartner:v1/youtubePartner.contentOwners.list/fetchMine": fetch_mine -"/youtubePartner:v1/youtubePartner.contentOwners.list/id": id -"/youtubePartner:v1/youtubePartner.contentOwners.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.liveCuepoints.insert": insert_live_cuepoint -"/youtubePartner:v1/youtubePartner.liveCuepoints.insert/channelId": channel_id -"/youtubePartner:v1/youtubePartner.liveCuepoints.insert/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.metadataHistory.list": list_metadata_histories -"/youtubePartner:v1/youtubePartner.metadataHistory.list/assetId": asset_id -"/youtubePartner:v1/youtubePartner.metadataHistory.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.orders.delete": delete_order -"/youtubePartner:v1/youtubePartner.orders.delete/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.orders.delete/orderId": order_id -"/youtubePartner:v1/youtubePartner.orders.get": get_order -"/youtubePartner:v1/youtubePartner.orders.get/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.orders.get/orderId": order_id -"/youtubePartner:v1/youtubePartner.orders.insert": insert_order -"/youtubePartner:v1/youtubePartner.orders.insert/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.orders.list": list_orders -"/youtubePartner:v1/youtubePartner.orders.list/channelId": channel_id -"/youtubePartner:v1/youtubePartner.orders.list/contentType": content_type -"/youtubePartner:v1/youtubePartner.orders.list/country": country -"/youtubePartner:v1/youtubePartner.orders.list/customId": custom_id -"/youtubePartner:v1/youtubePartner.orders.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.orders.list/pageToken": page_token -"/youtubePartner:v1/youtubePartner.orders.list/priority": priority -"/youtubePartner:v1/youtubePartner.orders.list/productionHouse": production_house -"/youtubePartner:v1/youtubePartner.orders.list/q": q -"/youtubePartner:v1/youtubePartner.orders.list/status": status -"/youtubePartner:v1/youtubePartner.orders.list/videoId": video_id -"/youtubePartner:v1/youtubePartner.orders.patch": patch_order -"/youtubePartner:v1/youtubePartner.orders.patch/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.orders.patch/orderId": order_id -"/youtubePartner:v1/youtubePartner.orders.update": update_order -"/youtubePartner:v1/youtubePartner.orders.update/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.orders.update/orderId": order_id -"/youtubePartner:v1/youtubePartner.ownership.get": get_ownership -"/youtubePartner:v1/youtubePartner.ownership.get/assetId": asset_id -"/youtubePartner:v1/youtubePartner.ownership.get/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.ownership.patch": patch_ownership -"/youtubePartner:v1/youtubePartner.ownership.patch/assetId": asset_id -"/youtubePartner:v1/youtubePartner.ownership.patch/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.ownership.update": update_ownership -"/youtubePartner:v1/youtubePartner.ownership.update/assetId": asset_id -"/youtubePartner:v1/youtubePartner.ownership.update/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.ownershipHistory.list": list_ownership_histories -"/youtubePartner:v1/youtubePartner.ownershipHistory.list/assetId": asset_id -"/youtubePartner:v1/youtubePartner.ownershipHistory.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.package.get": get_package -"/youtubePartner:v1/youtubePartner.package.get/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.package.get/packageId": package_id -"/youtubePartner:v1/youtubePartner.package.insert": insert_package -"/youtubePartner:v1/youtubePartner.package.insert/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.policies.get": get_policy -"/youtubePartner:v1/youtubePartner.policies.get/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.policies.get/policyId": policy_id -"/youtubePartner:v1/youtubePartner.policies.insert": insert_policy -"/youtubePartner:v1/youtubePartner.policies.insert/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.policies.list": list_policies -"/youtubePartner:v1/youtubePartner.policies.list/id": id -"/youtubePartner:v1/youtubePartner.policies.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.policies.list/sort": sort -"/youtubePartner:v1/youtubePartner.policies.patch": patch_policy -"/youtubePartner:v1/youtubePartner.policies.patch/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.policies.patch/policyId": policy_id -"/youtubePartner:v1/youtubePartner.policies.update": update_policy -"/youtubePartner:v1/youtubePartner.policies.update/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.policies.update/policyId": policy_id -"/youtubePartner:v1/youtubePartner.publishers.get": get_publisher -"/youtubePartner:v1/youtubePartner.publishers.get/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.publishers.get/publisherId": publisher_id -"/youtubePartner:v1/youtubePartner.publishers.list": list_publishers -"/youtubePartner:v1/youtubePartner.publishers.list/caeNumber": cae_number -"/youtubePartner:v1/youtubePartner.publishers.list/id": id -"/youtubePartner:v1/youtubePartner.publishers.list/ipiNumber": ipi_number -"/youtubePartner:v1/youtubePartner.publishers.list/maxResults": max_results -"/youtubePartner:v1/youtubePartner.publishers.list/namePrefix": name_prefix -"/youtubePartner:v1/youtubePartner.publishers.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.publishers.list/pageToken": page_token -"/youtubePartner:v1/youtubePartner.referenceConflicts.get": get_reference_conflict -"/youtubePartner:v1/youtubePartner.referenceConflicts.get/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.referenceConflicts.get/referenceConflictId": reference_conflict_id -"/youtubePartner:v1/youtubePartner.referenceConflicts.list": list_reference_conflicts -"/youtubePartner:v1/youtubePartner.referenceConflicts.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.referenceConflicts.list/pageToken": page_token -"/youtubePartner:v1/youtubePartner.references.get": get_reference -"/youtubePartner:v1/youtubePartner.references.get/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.references.get/referenceId": reference_id -"/youtubePartner:v1/youtubePartner.references.insert": insert_reference -"/youtubePartner:v1/youtubePartner.references.insert/claimId": claim_id -"/youtubePartner:v1/youtubePartner.references.insert/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.references.list": list_references -"/youtubePartner:v1/youtubePartner.references.list/assetId": asset_id -"/youtubePartner:v1/youtubePartner.references.list/id": id -"/youtubePartner:v1/youtubePartner.references.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.references.list/pageToken": page_token -"/youtubePartner:v1/youtubePartner.references.patch": patch_reference -"/youtubePartner:v1/youtubePartner.references.patch/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.references.patch/referenceId": reference_id -"/youtubePartner:v1/youtubePartner.references.patch/releaseClaims": release_claims -"/youtubePartner:v1/youtubePartner.references.update": update_reference -"/youtubePartner:v1/youtubePartner.references.update/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.references.update/referenceId": reference_id -"/youtubePartner:v1/youtubePartner.references.update/releaseClaims": release_claims -"/youtubePartner:v1/youtubePartner.validator.validate": validate_validator -"/youtubePartner:v1/youtubePartner.validator.validate/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.get": get_video_advertising_option -"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.get/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.get/videoId": video_id -"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.getEnabledAds": get_video_advertising_option_enabled_ads -"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.getEnabledAds/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.getEnabledAds/videoId": video_id -"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.patch": patch_video_advertising_option -"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.patch/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.patch/videoId": video_id -"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.update": update_video_advertising_option -"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.update/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.update/videoId": video_id -"/youtubePartner:v1/youtubePartner.whitelists.delete": delete_whitelist -"/youtubePartner:v1/youtubePartner.whitelists.delete/id": id -"/youtubePartner:v1/youtubePartner.whitelists.delete/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.whitelists.get": get_whitelist -"/youtubePartner:v1/youtubePartner.whitelists.get/id": id -"/youtubePartner:v1/youtubePartner.whitelists.get/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.whitelists.insert": insert_whitelist -"/youtubePartner:v1/youtubePartner.whitelists.insert/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.whitelists.list": list_whitelists -"/youtubePartner:v1/youtubePartner.whitelists.list/id": id -"/youtubePartner:v1/youtubePartner.whitelists.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubePartner:v1/youtubePartner.whitelists.list/pageToken": page_token -"/youtubePartner:v1/AdBreak": ad_break -"/youtubePartner:v1/AdBreak/midrollSeconds": midroll_seconds -"/youtubePartner:v1/AdBreak/position": position -"/youtubePartner:v1/AdBreak/slot": slot -"/youtubePartner:v1/AdBreak/slot/slot": slot -"/youtubePartner:v1/AdSlot": ad_slot -"/youtubePartner:v1/AdSlot/id": id -"/youtubePartner:v1/AdSlot/type": type -"/youtubePartner:v1/AllowedAdvertisingOptions": allowed_advertising_options -"/youtubePartner:v1/AllowedAdvertisingOptions/adsOnEmbeds": ads_on_embeds -"/youtubePartner:v1/AllowedAdvertisingOptions/kind": kind -"/youtubePartner:v1/AllowedAdvertisingOptions/licAdFormats": lic_ad_formats -"/youtubePartner:v1/AllowedAdvertisingOptions/licAdFormats/lic_ad_format": lic_ad_format -"/youtubePartner:v1/AllowedAdvertisingOptions/ugcAdFormats": ugc_ad_formats -"/youtubePartner:v1/AllowedAdvertisingOptions/ugcAdFormats/ugc_ad_format": ugc_ad_format -"/youtubePartner:v1/Asset": asset -"/youtubePartner:v1/Asset/aliasId": alias_id -"/youtubePartner:v1/Asset/aliasId/alias_id": alias_id -"/youtubePartner:v1/Asset/id": id -"/youtubePartner:v1/Asset/kind": kind -"/youtubePartner:v1/Asset/label": label -"/youtubePartner:v1/Asset/label/label": label -"/youtubePartner:v1/Asset/matchPolicy": match_policy -"/youtubePartner:v1/Asset/matchPolicyEffective": match_policy_effective -"/youtubePartner:v1/Asset/matchPolicyMine": match_policy_mine -"/youtubePartner:v1/Asset/metadata": metadata -"/youtubePartner:v1/Asset/metadataEffective": metadata_effective -"/youtubePartner:v1/Asset/metadataMine": metadata_mine -"/youtubePartner:v1/Asset/ownership": ownership -"/youtubePartner:v1/Asset/ownershipConflicts": ownership_conflicts -"/youtubePartner:v1/Asset/ownershipEffective": ownership_effective -"/youtubePartner:v1/Asset/ownershipMine": ownership_mine -"/youtubePartner:v1/Asset/status": status -"/youtubePartner:v1/Asset/timeCreated": time_created -"/youtubePartner:v1/Asset/type": type -"/youtubePartner:v1/AssetLabel": asset_label -"/youtubePartner:v1/AssetLabel/kind": kind -"/youtubePartner:v1/AssetLabel/labelName": label_name -"/youtubePartner:v1/AssetLabelListResponse": asset_label_list_response -"/youtubePartner:v1/AssetLabelListResponse/items": items -"/youtubePartner:v1/AssetLabelListResponse/items/item": item -"/youtubePartner:v1/AssetLabelListResponse/kind": kind -"/youtubePartner:v1/AssetListResponse": asset_list_response -"/youtubePartner:v1/AssetListResponse/items": items -"/youtubePartner:v1/AssetListResponse/items/item": item -"/youtubePartner:v1/AssetListResponse/kind": kind -"/youtubePartner:v1/AssetMatchPolicy": asset_match_policy -"/youtubePartner:v1/AssetMatchPolicy/kind": kind -"/youtubePartner:v1/AssetMatchPolicy/policyId": policy_id -"/youtubePartner:v1/AssetMatchPolicy/rules": rules -"/youtubePartner:v1/AssetMatchPolicy/rules/rule": rule -"/youtubePartner:v1/AssetRelationship": asset_relationship -"/youtubePartner:v1/AssetRelationship/childAssetId": child_asset_id -"/youtubePartner:v1/AssetRelationship/id": id -"/youtubePartner:v1/AssetRelationship/kind": kind -"/youtubePartner:v1/AssetRelationship/parentAssetId": parent_asset_id -"/youtubePartner:v1/AssetRelationshipListResponse": asset_relationship_list_response -"/youtubePartner:v1/AssetRelationshipListResponse/items": items -"/youtubePartner:v1/AssetRelationshipListResponse/items/item": item -"/youtubePartner:v1/AssetRelationshipListResponse/kind": kind -"/youtubePartner:v1/AssetRelationshipListResponse/nextPageToken": next_page_token -"/youtubePartner:v1/AssetRelationshipListResponse/pageInfo": page_info -"/youtubePartner:v1/AssetSearchResponse": asset_search_response -"/youtubePartner:v1/AssetSearchResponse/items": items -"/youtubePartner:v1/AssetSearchResponse/items/item": item -"/youtubePartner:v1/AssetSearchResponse/kind": kind -"/youtubePartner:v1/AssetSearchResponse/nextPageToken": next_page_token -"/youtubePartner:v1/AssetSearchResponse/pageInfo": page_info -"/youtubePartner:v1/AssetShare": asset_share -"/youtubePartner:v1/AssetShare/kind": kind -"/youtubePartner:v1/AssetShare/shareId": share_id -"/youtubePartner:v1/AssetShare/viewId": view_id -"/youtubePartner:v1/AssetShareListResponse": asset_share_list_response -"/youtubePartner:v1/AssetShareListResponse/items": items -"/youtubePartner:v1/AssetShareListResponse/items/item": item -"/youtubePartner:v1/AssetShareListResponse/kind": kind -"/youtubePartner:v1/AssetShareListResponse/nextPageToken": next_page_token -"/youtubePartner:v1/AssetShareListResponse/pageInfo": page_info -"/youtubePartner:v1/AssetSnippet": asset_snippet -"/youtubePartner:v1/AssetSnippet/customId": custom_id -"/youtubePartner:v1/AssetSnippet/id": id -"/youtubePartner:v1/AssetSnippet/isrc": isrc -"/youtubePartner:v1/AssetSnippet/iswc": iswc -"/youtubePartner:v1/AssetSnippet/kind": kind -"/youtubePartner:v1/AssetSnippet/timeCreated": time_created -"/youtubePartner:v1/AssetSnippet/title": title -"/youtubePartner:v1/AssetSnippet/type": type -"/youtubePartner:v1/Campaign": campaign -"/youtubePartner:v1/Campaign/campaignData": campaign_data -"/youtubePartner:v1/Campaign/id": id -"/youtubePartner:v1/Campaign/kind": kind -"/youtubePartner:v1/Campaign/status": status -"/youtubePartner:v1/Campaign/timeCreated": time_created -"/youtubePartner:v1/Campaign/timeLastModified": time_last_modified -"/youtubePartner:v1/CampaignData": campaign_data -"/youtubePartner:v1/CampaignData/campaignSource": campaign_source -"/youtubePartner:v1/CampaignData/expireTime": expire_time -"/youtubePartner:v1/CampaignData/name": name -"/youtubePartner:v1/CampaignData/promotedContent": promoted_content -"/youtubePartner:v1/CampaignData/promotedContent/promoted_content": promoted_content -"/youtubePartner:v1/CampaignData/startTime": start_time -"/youtubePartner:v1/CampaignList": campaign_list -"/youtubePartner:v1/CampaignList/items": items -"/youtubePartner:v1/CampaignList/items/item": item -"/youtubePartner:v1/CampaignList/kind": kind -"/youtubePartner:v1/CampaignSource": campaign_source -"/youtubePartner:v1/CampaignSource/sourceType": source_type -"/youtubePartner:v1/CampaignSource/sourceValue": source_value -"/youtubePartner:v1/CampaignSource/sourceValue/source_value": source_value -"/youtubePartner:v1/CampaignTargetLink": campaign_target_link -"/youtubePartner:v1/CampaignTargetLink/targetId": target_id -"/youtubePartner:v1/CampaignTargetLink/targetType": target_type -"/youtubePartner:v1/Claim": claim -"/youtubePartner:v1/Claim/appliedPolicy": applied_policy -"/youtubePartner:v1/Claim/assetId": asset_id -"/youtubePartner:v1/Claim/blockOutsideOwnership": block_outside_ownership -"/youtubePartner:v1/Claim/contentType": content_type -"/youtubePartner:v1/Claim/id": id -"/youtubePartner:v1/Claim/isPartnerUploaded": is_partner_uploaded -"/youtubePartner:v1/Claim/kind": kind -"/youtubePartner:v1/Claim/matchInfo": match_info -"/youtubePartner:v1/Claim/matchInfo/longestMatch": longest_match -"/youtubePartner:v1/Claim/matchInfo/longestMatch/durationSecs": duration_secs -"/youtubePartner:v1/Claim/matchInfo/longestMatch/referenceOffset": reference_offset -"/youtubePartner:v1/Claim/matchInfo/longestMatch/userVideoOffset": user_video_offset -"/youtubePartner:v1/Claim/matchInfo/matchSegments": match_segments -"/youtubePartner:v1/Claim/matchInfo/matchSegments/match_segment": match_segment -"/youtubePartner:v1/Claim/matchInfo/referenceId": reference_id -"/youtubePartner:v1/Claim/matchInfo/totalMatch": total_match -"/youtubePartner:v1/Claim/matchInfo/totalMatch/referenceDurationSecs": reference_duration_secs -"/youtubePartner:v1/Claim/matchInfo/totalMatch/userVideoDurationSecs": user_video_duration_secs -"/youtubePartner:v1/Claim/origin": origin -"/youtubePartner:v1/Claim/origin/source": source -"/youtubePartner:v1/Claim/policy": policy -"/youtubePartner:v1/Claim/status": status -"/youtubePartner:v1/Claim/timeCreated": time_created -"/youtubePartner:v1/Claim/videoId": video_id -"/youtubePartner:v1/ClaimEvent": claim_event -"/youtubePartner:v1/ClaimEvent/kind": kind -"/youtubePartner:v1/ClaimEvent/reason": reason -"/youtubePartner:v1/ClaimEvent/source": source -"/youtubePartner:v1/ClaimEvent/source/contentOwnerId": content_owner_id -"/youtubePartner:v1/ClaimEvent/source/type": type -"/youtubePartner:v1/ClaimEvent/source/userEmail": user_email -"/youtubePartner:v1/ClaimEvent/time": time -"/youtubePartner:v1/ClaimEvent/type": type -"/youtubePartner:v1/ClaimEvent/typeDetails": type_details -"/youtubePartner:v1/ClaimEvent/typeDetails/appealExplanation": appeal_explanation -"/youtubePartner:v1/ClaimEvent/typeDetails/disputeNotes": dispute_notes -"/youtubePartner:v1/ClaimEvent/typeDetails/disputeReason": dispute_reason -"/youtubePartner:v1/ClaimEvent/typeDetails/updateStatus": update_status -"/youtubePartner:v1/ClaimHistory": claim_history -"/youtubePartner:v1/ClaimHistory/event": event -"/youtubePartner:v1/ClaimHistory/event/event": event -"/youtubePartner:v1/ClaimHistory/id": id -"/youtubePartner:v1/ClaimHistory/kind": kind -"/youtubePartner:v1/ClaimHistory/uploaderChannelId": uploader_channel_id -"/youtubePartner:v1/ClaimListResponse": claim_list_response -"/youtubePartner:v1/ClaimListResponse/items": items -"/youtubePartner:v1/ClaimListResponse/items/item": item -"/youtubePartner:v1/ClaimListResponse/kind": kind -"/youtubePartner:v1/ClaimListResponse/nextPageToken": next_page_token -"/youtubePartner:v1/ClaimListResponse/pageInfo": page_info -"/youtubePartner:v1/ClaimListResponse/previousPageToken": previous_page_token -"/youtubePartner:v1/ClaimSearchResponse": claim_search_response -"/youtubePartner:v1/ClaimSearchResponse/items": items -"/youtubePartner:v1/ClaimSearchResponse/items/item": item -"/youtubePartner:v1/ClaimSearchResponse/kind": kind -"/youtubePartner:v1/ClaimSearchResponse/nextPageToken": next_page_token -"/youtubePartner:v1/ClaimSearchResponse/pageInfo": page_info -"/youtubePartner:v1/ClaimSearchResponse/previousPageToken": previous_page_token -"/youtubePartner:v1/ClaimSnippet": claim_snippet -"/youtubePartner:v1/ClaimSnippet/assetId": asset_id -"/youtubePartner:v1/ClaimSnippet/contentType": content_type -"/youtubePartner:v1/ClaimSnippet/id": id -"/youtubePartner:v1/ClaimSnippet/isPartnerUploaded": is_partner_uploaded -"/youtubePartner:v1/ClaimSnippet/kind": kind -"/youtubePartner:v1/ClaimSnippet/origin": origin -"/youtubePartner:v1/ClaimSnippet/origin/source": source -"/youtubePartner:v1/ClaimSnippet/status": status -"/youtubePartner:v1/ClaimSnippet/thirdPartyClaim": third_party_claim -"/youtubePartner:v1/ClaimSnippet/timeCreated": time_created -"/youtubePartner:v1/ClaimSnippet/timeStatusLastModified": time_status_last_modified -"/youtubePartner:v1/ClaimSnippet/videoId": video_id -"/youtubePartner:v1/ClaimSnippet/videoTitle": video_title -"/youtubePartner:v1/ClaimSnippet/videoViews": video_views -"/youtubePartner:v1/ClaimedVideoDefaults": claimed_video_defaults -"/youtubePartner:v1/ClaimedVideoDefaults/autoGeneratedBreaks": auto_generated_breaks -"/youtubePartner:v1/ClaimedVideoDefaults/channelOverride": channel_override -"/youtubePartner:v1/ClaimedVideoDefaults/kind": kind -"/youtubePartner:v1/ClaimedVideoDefaults/newVideoDefaults": new_video_defaults -"/youtubePartner:v1/ClaimedVideoDefaults/newVideoDefaults/new_video_default": new_video_default -"/youtubePartner:v1/Conditions": conditions -"/youtubePartner:v1/Conditions/contentMatchType": content_match_type -"/youtubePartner:v1/Conditions/contentMatchType/content_match_type": content_match_type -"/youtubePartner:v1/Conditions/matchDuration": match_duration -"/youtubePartner:v1/Conditions/matchDuration/match_duration": match_duration -"/youtubePartner:v1/Conditions/matchPercent": match_percent -"/youtubePartner:v1/Conditions/matchPercent/match_percent": match_percent -"/youtubePartner:v1/Conditions/referenceDuration": reference_duration -"/youtubePartner:v1/Conditions/referenceDuration/reference_duration": reference_duration -"/youtubePartner:v1/Conditions/referencePercent": reference_percent -"/youtubePartner:v1/Conditions/referencePercent/reference_percent": reference_percent -"/youtubePartner:v1/Conditions/requiredTerritories": required_territories -"/youtubePartner:v1/ConflictingOwnership": conflicting_ownership -"/youtubePartner:v1/ConflictingOwnership/owner": owner -"/youtubePartner:v1/ConflictingOwnership/ratio": ratio -"/youtubePartner:v1/ContentOwner": content_owner -"/youtubePartner:v1/ContentOwner/conflictNotificationEmail": conflict_notification_email -"/youtubePartner:v1/ContentOwner/displayName": display_name -"/youtubePartner:v1/ContentOwner/disputeNotificationEmails": dispute_notification_emails -"/youtubePartner:v1/ContentOwner/disputeNotificationEmails/dispute_notification_email": dispute_notification_email -"/youtubePartner:v1/ContentOwner/fingerprintReportNotificationEmails": fingerprint_report_notification_emails -"/youtubePartner:v1/ContentOwner/fingerprintReportNotificationEmails/fingerprint_report_notification_email": fingerprint_report_notification_email -"/youtubePartner:v1/ContentOwner/id": id -"/youtubePartner:v1/ContentOwner/kind": kind -"/youtubePartner:v1/ContentOwner/primaryNotificationEmails": primary_notification_emails -"/youtubePartner:v1/ContentOwner/primaryNotificationEmails/primary_notification_email": primary_notification_email -"/youtubePartner:v1/ContentOwnerAdvertisingOption": content_owner_advertising_option -"/youtubePartner:v1/ContentOwnerAdvertisingOption/allowedOptions": allowed_options -"/youtubePartner:v1/ContentOwnerAdvertisingOption/claimedVideoOptions": claimed_video_options -"/youtubePartner:v1/ContentOwnerAdvertisingOption/id": id -"/youtubePartner:v1/ContentOwnerAdvertisingOption/kind": kind -"/youtubePartner:v1/ContentOwnerListResponse": content_owner_list_response -"/youtubePartner:v1/ContentOwnerListResponse/items": items -"/youtubePartner:v1/ContentOwnerListResponse/items/item": item -"/youtubePartner:v1/ContentOwnerListResponse/kind": kind -"/youtubePartner:v1/CountriesRestriction": countries_restriction -"/youtubePartner:v1/CountriesRestriction/adFormats": ad_formats -"/youtubePartner:v1/CountriesRestriction/adFormats/ad_format": ad_format -"/youtubePartner:v1/CountriesRestriction/territories": territories -"/youtubePartner:v1/CountriesRestriction/territories/territory": territory -"/youtubePartner:v1/CuepointSettings": cuepoint_settings -"/youtubePartner:v1/CuepointSettings/cueType": cue_type -"/youtubePartner:v1/CuepointSettings/durationSecs": duration_secs -"/youtubePartner:v1/CuepointSettings/offsetTimeMs": offset_time_ms -"/youtubePartner:v1/CuepointSettings/walltime": walltime -"/youtubePartner:v1/Date": date -"/youtubePartner:v1/Date/day": day -"/youtubePartner:v1/Date/month": month -"/youtubePartner:v1/Date/year": year -"/youtubePartner:v1/DateRange": date_range -"/youtubePartner:v1/DateRange/end": end -"/youtubePartner:v1/DateRange/kind": kind -"/youtubePartner:v1/DateRange/start": start -"/youtubePartner:v1/ExcludedInterval": excluded_interval -"/youtubePartner:v1/ExcludedInterval/high": high -"/youtubePartner:v1/ExcludedInterval/low": low -"/youtubePartner:v1/ExcludedInterval/origin": origin -"/youtubePartner:v1/ExcludedInterval/timeCreated": time_created -"/youtubePartner:v1/IntervalCondition": interval_condition -"/youtubePartner:v1/IntervalCondition/high": high -"/youtubePartner:v1/IntervalCondition/low": low -"/youtubePartner:v1/LiveCuepoint": live_cuepoint -"/youtubePartner:v1/LiveCuepoint/broadcastId": broadcast_id -"/youtubePartner:v1/LiveCuepoint/id": id -"/youtubePartner:v1/LiveCuepoint/kind": kind -"/youtubePartner:v1/LiveCuepoint/settings": settings -"/youtubePartner:v1/MatchSegment": match_segment -"/youtubePartner:v1/MatchSegment/channel": channel -"/youtubePartner:v1/MatchSegment/reference_segment": reference_segment -"/youtubePartner:v1/MatchSegment/video_segment": video_segment -"/youtubePartner:v1/Metadata": metadata -"/youtubePartner:v1/Metadata/actor": actor -"/youtubePartner:v1/Metadata/actor/actor": actor -"/youtubePartner:v1/Metadata/album": album -"/youtubePartner:v1/Metadata/artist": artist -"/youtubePartner:v1/Metadata/artist/artist": artist -"/youtubePartner:v1/Metadata/broadcaster": broadcaster -"/youtubePartner:v1/Metadata/broadcaster/broadcaster": broadcaster -"/youtubePartner:v1/Metadata/category": category -"/youtubePartner:v1/Metadata/contentType": content_type -"/youtubePartner:v1/Metadata/copyrightDate": copyright_date -"/youtubePartner:v1/Metadata/customId": custom_id -"/youtubePartner:v1/Metadata/description": description -"/youtubePartner:v1/Metadata/director": director -"/youtubePartner:v1/Metadata/director/director": director -"/youtubePartner:v1/Metadata/eidr": eidr -"/youtubePartner:v1/Metadata/endYear": end_year -"/youtubePartner:v1/Metadata/episodeNumber": episode_number -"/youtubePartner:v1/Metadata/episodesAreUntitled": episodes_are_untitled -"/youtubePartner:v1/Metadata/genre": genre -"/youtubePartner:v1/Metadata/genre/genre": genre -"/youtubePartner:v1/Metadata/grid": grid -"/youtubePartner:v1/Metadata/hfa": hfa -"/youtubePartner:v1/Metadata/infoUrl": info_url -"/youtubePartner:v1/Metadata/isan": isan -"/youtubePartner:v1/Metadata/isrc": isrc -"/youtubePartner:v1/Metadata/iswc": iswc -"/youtubePartner:v1/Metadata/keyword": keyword -"/youtubePartner:v1/Metadata/keyword/keyword": keyword -"/youtubePartner:v1/Metadata/label": label -"/youtubePartner:v1/Metadata/notes": notes -"/youtubePartner:v1/Metadata/originalReleaseMedium": original_release_medium -"/youtubePartner:v1/Metadata/producer": producer -"/youtubePartner:v1/Metadata/producer/producer": producer -"/youtubePartner:v1/Metadata/ratings": ratings -"/youtubePartner:v1/Metadata/ratings/rating": rating -"/youtubePartner:v1/Metadata/releaseDate": release_date -"/youtubePartner:v1/Metadata/seasonNumber": season_number -"/youtubePartner:v1/Metadata/showCustomId": show_custom_id -"/youtubePartner:v1/Metadata/showTitle": show_title -"/youtubePartner:v1/Metadata/spokenLanguage": spoken_language -"/youtubePartner:v1/Metadata/startYear": start_year -"/youtubePartner:v1/Metadata/subtitledLanguage": subtitled_language -"/youtubePartner:v1/Metadata/subtitledLanguage/subtitled_language": subtitled_language -"/youtubePartner:v1/Metadata/title": title -"/youtubePartner:v1/Metadata/tmsId": tms_id -"/youtubePartner:v1/Metadata/totalEpisodesExpected": total_episodes_expected -"/youtubePartner:v1/Metadata/upc": upc -"/youtubePartner:v1/Metadata/writer": writer -"/youtubePartner:v1/Metadata/writer/writer": writer -"/youtubePartner:v1/MetadataHistory": metadata_history -"/youtubePartner:v1/MetadataHistory/kind": kind -"/youtubePartner:v1/MetadataHistory/metadata": metadata -"/youtubePartner:v1/MetadataHistory/origination": origination -"/youtubePartner:v1/MetadataHistory/timeProvided": time_provided -"/youtubePartner:v1/MetadataHistoryListResponse": metadata_history_list_response -"/youtubePartner:v1/MetadataHistoryListResponse/items": items -"/youtubePartner:v1/MetadataHistoryListResponse/items/item": item -"/youtubePartner:v1/MetadataHistoryListResponse/kind": kind -"/youtubePartner:v1/Order": order -"/youtubePartner:v1/Order/availGroupId": avail_group_id -"/youtubePartner:v1/Order/channelId": channel_id -"/youtubePartner:v1/Order/contentType": content_type -"/youtubePartner:v1/Order/country": country -"/youtubePartner:v1/Order/customId": custom_id -"/youtubePartner:v1/Order/dvdReleaseDate": dvd_release_date -"/youtubePartner:v1/Order/estDates": est_dates -"/youtubePartner:v1/Order/events": events -"/youtubePartner:v1/Order/events/event": event -"/youtubePartner:v1/Order/id": id -"/youtubePartner:v1/Order/kind": kind -"/youtubePartner:v1/Order/movie": movie -"/youtubePartner:v1/Order/originalReleaseDate": original_release_date -"/youtubePartner:v1/Order/priority": priority -"/youtubePartner:v1/Order/productionHouse": production_house -"/youtubePartner:v1/Order/purchaseOrder": purchase_order -"/youtubePartner:v1/Order/requirements": requirements -"/youtubePartner:v1/Order/show": show -"/youtubePartner:v1/Order/status": status -"/youtubePartner:v1/Order/videoId": video_id -"/youtubePartner:v1/Order/vodDates": vod_dates -"/youtubePartner:v1/OrderListResponse": order_list_response -"/youtubePartner:v1/OrderListResponse/items": items -"/youtubePartner:v1/OrderListResponse/items/item": item -"/youtubePartner:v1/OrderListResponse/kind": kind -"/youtubePartner:v1/OrderListResponse/nextPageToken": next_page_token -"/youtubePartner:v1/OrderListResponse/pageInfo": page_info -"/youtubePartner:v1/OrderListResponse/previousPageToken": previous_page_token -"/youtubePartner:v1/Origination": origination -"/youtubePartner:v1/Origination/owner": owner -"/youtubePartner:v1/Origination/source": source -"/youtubePartner:v1/OwnershipConflicts": ownership_conflicts -"/youtubePartner:v1/OwnershipConflicts/general": general -"/youtubePartner:v1/OwnershipConflicts/general/general": general -"/youtubePartner:v1/OwnershipConflicts/kind": kind -"/youtubePartner:v1/OwnershipConflicts/mechanical": mechanical -"/youtubePartner:v1/OwnershipConflicts/mechanical/mechanical": mechanical -"/youtubePartner:v1/OwnershipConflicts/performance": performance -"/youtubePartner:v1/OwnershipConflicts/performance/performance": performance -"/youtubePartner:v1/OwnershipConflicts/synchronization": synchronization -"/youtubePartner:v1/OwnershipConflicts/synchronization/synchronization": synchronization -"/youtubePartner:v1/OwnershipHistoryListResponse": ownership_history_list_response -"/youtubePartner:v1/OwnershipHistoryListResponse/items": items -"/youtubePartner:v1/OwnershipHistoryListResponse/items/item": item -"/youtubePartner:v1/OwnershipHistoryListResponse/kind": kind -"/youtubePartner:v1/Package": package -"/youtubePartner:v1/Package/content": content -"/youtubePartner:v1/Package/custom_id": custom_id -"/youtubePartner:v1/Package/custom_id/custom_id": custom_id -"/youtubePartner:v1/Package/id": id -"/youtubePartner:v1/Package/kind": kind -"/youtubePartner:v1/Package/locale": locale -"/youtubePartner:v1/Package/name": name -"/youtubePartner:v1/Package/status": status -"/youtubePartner:v1/Package/timeCreated": time_created -"/youtubePartner:v1/Package/type": type -"/youtubePartner:v1/Package/uploaderName": uploader_name -"/youtubePartner:v1/PackageInsertResponse": package_insert_response -"/youtubePartner:v1/PackageInsertResponse/errors": errors -"/youtubePartner:v1/PackageInsertResponse/errors/error": error -"/youtubePartner:v1/PackageInsertResponse/kind": kind -"/youtubePartner:v1/PackageInsertResponse/resource": resource -"/youtubePartner:v1/PackageInsertResponse/status": status -"/youtubePartner:v1/PageInfo": page_info -"/youtubePartner:v1/PageInfo/resultsPerPage": results_per_page -"/youtubePartner:v1/PageInfo/startIndex": start_index -"/youtubePartner:v1/PageInfo/totalResults": total_results -"/youtubePartner:v1/Policy": policy -"/youtubePartner:v1/Policy/description": description -"/youtubePartner:v1/Policy/id": id -"/youtubePartner:v1/Policy/kind": kind -"/youtubePartner:v1/Policy/name": name -"/youtubePartner:v1/Policy/rules": rules -"/youtubePartner:v1/Policy/rules/rule": rule -"/youtubePartner:v1/Policy/timeUpdated": time_updated -"/youtubePartner:v1/PolicyList": policy_list -"/youtubePartner:v1/PolicyList/items": items -"/youtubePartner:v1/PolicyList/items/item": item -"/youtubePartner:v1/PolicyList/kind": kind -"/youtubePartner:v1/PolicyRule": policy_rule -"/youtubePartner:v1/PolicyRule/action": action -"/youtubePartner:v1/PolicyRule/conditions": conditions -"/youtubePartner:v1/PolicyRule/subaction": subaction -"/youtubePartner:v1/PolicyRule/subaction/subaction": subaction -"/youtubePartner:v1/PromotedContent": promoted_content -"/youtubePartner:v1/PromotedContent/link": link -"/youtubePartner:v1/PromotedContent/link/link": link -"/youtubePartner:v1/Publisher": publisher -"/youtubePartner:v1/Publisher/caeNumber": cae_number -"/youtubePartner:v1/Publisher/id": id -"/youtubePartner:v1/Publisher/ipiNumber": ipi_number -"/youtubePartner:v1/Publisher/kind": kind -"/youtubePartner:v1/Publisher/name": name -"/youtubePartner:v1/PublisherList": publisher_list -"/youtubePartner:v1/PublisherList/items": items -"/youtubePartner:v1/PublisherList/items/item": item -"/youtubePartner:v1/PublisherList/kind": kind -"/youtubePartner:v1/PublisherList/nextPageToken": next_page_token -"/youtubePartner:v1/PublisherList/pageInfo": page_info -"/youtubePartner:v1/Rating": rating -"/youtubePartner:v1/Rating/rating": rating -"/youtubePartner:v1/Rating/ratingSystem": rating_system -"/youtubePartner:v1/Reference": reference -"/youtubePartner:v1/Reference/assetId": asset_id -"/youtubePartner:v1/Reference/audioswapEnabled": audioswap_enabled -"/youtubePartner:v1/Reference/claimId": claim_id -"/youtubePartner:v1/Reference/contentType": content_type -"/youtubePartner:v1/Reference/duplicateLeader": duplicate_leader -"/youtubePartner:v1/Reference/excludedIntervals": excluded_intervals -"/youtubePartner:v1/Reference/excludedIntervals/excluded_interval": excluded_interval -"/youtubePartner:v1/Reference/fpDirect": fp_direct -"/youtubePartner:v1/Reference/hashCode": hash_code -"/youtubePartner:v1/Reference/id": id -"/youtubePartner:v1/Reference/ignoreFpMatch": ignore_fp_match -"/youtubePartner:v1/Reference/kind": kind -"/youtubePartner:v1/Reference/length": length -"/youtubePartner:v1/Reference/origination": origination -"/youtubePartner:v1/Reference/status": status -"/youtubePartner:v1/Reference/statusReason": status_reason -"/youtubePartner:v1/Reference/urgent": urgent -"/youtubePartner:v1/Reference/videoId": video_id -"/youtubePartner:v1/ReferenceConflict": reference_conflict -"/youtubePartner:v1/ReferenceConflict/conflictingReferenceId": conflicting_reference_id -"/youtubePartner:v1/ReferenceConflict/expiryTime": expiry_time -"/youtubePartner:v1/ReferenceConflict/id": id -"/youtubePartner:v1/ReferenceConflict/kind": kind -"/youtubePartner:v1/ReferenceConflict/matches": matches -"/youtubePartner:v1/ReferenceConflict/matches/match": match -"/youtubePartner:v1/ReferenceConflict/originalReferenceId": original_reference_id -"/youtubePartner:v1/ReferenceConflict/status": status -"/youtubePartner:v1/ReferenceConflictListResponse": reference_conflict_list_response -"/youtubePartner:v1/ReferenceConflictListResponse/items": items -"/youtubePartner:v1/ReferenceConflictListResponse/items/item": item -"/youtubePartner:v1/ReferenceConflictListResponse/kind": kind -"/youtubePartner:v1/ReferenceConflictListResponse/nextPageToken": next_page_token -"/youtubePartner:v1/ReferenceConflictListResponse/pageInfo": page_info -"/youtubePartner:v1/ReferenceConflictMatch": reference_conflict_match -"/youtubePartner:v1/ReferenceConflictMatch/conflicting_reference_offset_ms": conflicting_reference_offset_ms -"/youtubePartner:v1/ReferenceConflictMatch/length_ms": length_ms -"/youtubePartner:v1/ReferenceConflictMatch/original_reference_offset_ms": original_reference_offset_ms -"/youtubePartner:v1/ReferenceConflictMatch/type": type -"/youtubePartner:v1/ReferenceListResponse": reference_list_response -"/youtubePartner:v1/ReferenceListResponse/items": items -"/youtubePartner:v1/ReferenceListResponse/items/item": item -"/youtubePartner:v1/ReferenceListResponse/kind": kind -"/youtubePartner:v1/ReferenceListResponse/nextPageToken": next_page_token -"/youtubePartner:v1/ReferenceListResponse/pageInfo": page_info -"/youtubePartner:v1/Requirements": requirements -"/youtubePartner:v1/Requirements/caption": caption -"/youtubePartner:v1/Requirements/hdTranscode": hd_transcode -"/youtubePartner:v1/Requirements/posterArt": poster_art -"/youtubePartner:v1/Requirements/spotlightArt": spotlight_art -"/youtubePartner:v1/Requirements/spotlightReview": spotlight_review -"/youtubePartner:v1/Requirements/trailer": trailer -"/youtubePartner:v1/RightsOwnership": rights_ownership -"/youtubePartner:v1/RightsOwnership/general": general -"/youtubePartner:v1/RightsOwnership/general/general": general -"/youtubePartner:v1/RightsOwnership/kind": kind -"/youtubePartner:v1/RightsOwnership/mechanical": mechanical -"/youtubePartner:v1/RightsOwnership/mechanical/mechanical": mechanical -"/youtubePartner:v1/RightsOwnership/performance": performance -"/youtubePartner:v1/RightsOwnership/performance/performance": performance -"/youtubePartner:v1/RightsOwnership/synchronization": synchronization -"/youtubePartner:v1/RightsOwnership/synchronization/synchronization": synchronization -"/youtubePartner:v1/RightsOwnershipHistory": rights_ownership_history -"/youtubePartner:v1/RightsOwnershipHistory/kind": kind -"/youtubePartner:v1/RightsOwnershipHistory/origination": origination -"/youtubePartner:v1/RightsOwnershipHistory/ownership": ownership -"/youtubePartner:v1/RightsOwnershipHistory/timeProvided": time_provided -"/youtubePartner:v1/Segment": segment -"/youtubePartner:v1/Segment/duration": duration -"/youtubePartner:v1/Segment/kind": kind -"/youtubePartner:v1/Segment/start": start -"/youtubePartner:v1/ShowDetails": show_details -"/youtubePartner:v1/ShowDetails/episodeNumber": episode_number -"/youtubePartner:v1/ShowDetails/episodeTitle": episode_title -"/youtubePartner:v1/ShowDetails/seasonNumber": season_number -"/youtubePartner:v1/ShowDetails/title": title -"/youtubePartner:v1/StateCompleted": state_completed -"/youtubePartner:v1/StateCompleted/state": state -"/youtubePartner:v1/StateCompleted/timeCompleted": time_completed -"/youtubePartner:v1/TerritoryCondition": territory_condition -"/youtubePartner:v1/TerritoryCondition/territories": territories -"/youtubePartner:v1/TerritoryCondition/territories/territory": territory -"/youtubePartner:v1/TerritoryCondition/type": type -"/youtubePartner:v1/TerritoryConflicts": territory_conflicts -"/youtubePartner:v1/TerritoryConflicts/conflictingOwnership": conflicting_ownership -"/youtubePartner:v1/TerritoryConflicts/conflictingOwnership/conflicting_ownership": conflicting_ownership -"/youtubePartner:v1/TerritoryConflicts/territory": territory -"/youtubePartner:v1/TerritoryOwners": territory_owners -"/youtubePartner:v1/TerritoryOwners/owner": owner -"/youtubePartner:v1/TerritoryOwners/publisher": publisher -"/youtubePartner:v1/TerritoryOwners/ratio": ratio -"/youtubePartner:v1/TerritoryOwners/territories": territories -"/youtubePartner:v1/TerritoryOwners/territories/territory": territory -"/youtubePartner:v1/TerritoryOwners/type": type -"/youtubePartner:v1/ValidateError": validate_error -"/youtubePartner:v1/ValidateError/columnName": column_name -"/youtubePartner:v1/ValidateError/columnNumber": column_number -"/youtubePartner:v1/ValidateError/lineNumber": line_number -"/youtubePartner:v1/ValidateError/message": message -"/youtubePartner:v1/ValidateError/messageCode": message_code -"/youtubePartner:v1/ValidateError/severity": severity -"/youtubePartner:v1/ValidateRequest": validate_request -"/youtubePartner:v1/ValidateRequest/content": content -"/youtubePartner:v1/ValidateRequest/kind": kind -"/youtubePartner:v1/ValidateRequest/locale": locale -"/youtubePartner:v1/ValidateRequest/uploaderName": uploader_name -"/youtubePartner:v1/ValidateResponse": validate_response -"/youtubePartner:v1/ValidateResponse/errors": errors -"/youtubePartner:v1/ValidateResponse/errors/error": error -"/youtubePartner:v1/ValidateResponse/kind": kind -"/youtubePartner:v1/ValidateResponse/status": status -"/youtubePartner:v1/VideoAdvertisingOption": video_advertising_option -"/youtubePartner:v1/VideoAdvertisingOption/adBreaks": ad_breaks -"/youtubePartner:v1/VideoAdvertisingOption/adBreaks/ad_break": ad_break -"/youtubePartner:v1/VideoAdvertisingOption/adFormats": ad_formats -"/youtubePartner:v1/VideoAdvertisingOption/adFormats/ad_format": ad_format -"/youtubePartner:v1/VideoAdvertisingOption/autoGeneratedBreaks": auto_generated_breaks -"/youtubePartner:v1/VideoAdvertisingOption/breakPosition": break_position -"/youtubePartner:v1/VideoAdvertisingOption/breakPosition/break_position": break_position -"/youtubePartner:v1/VideoAdvertisingOption/id": id -"/youtubePartner:v1/VideoAdvertisingOption/kind": kind -"/youtubePartner:v1/VideoAdvertisingOption/tpAdServerVideoId": tp_ad_server_video_id -"/youtubePartner:v1/VideoAdvertisingOption/tpTargetingUrl": tp_targeting_url -"/youtubePartner:v1/VideoAdvertisingOption/tpUrlParameters": tp_url_parameters -"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse": video_advertising_option_get_enabled_ads_response -"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse/adBreaks": ad_breaks -"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse/adBreaks/ad_break": ad_break -"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse/adsOnEmbeds": ads_on_embeds -"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse/countriesRestriction": countries_restriction -"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse/countriesRestriction/countries_restriction": countries_restriction -"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse/id": id -"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse/kind": kind -"/youtubePartner:v1/Whitelist": whitelist -"/youtubePartner:v1/Whitelist/id": id -"/youtubePartner:v1/Whitelist/kind": kind -"/youtubePartner:v1/Whitelist/title": title -"/youtubePartner:v1/WhitelistListResponse": whitelist_list_response -"/youtubePartner:v1/WhitelistListResponse/items": items -"/youtubePartner:v1/WhitelistListResponse/items/item": item -"/youtubePartner:v1/WhitelistListResponse/kind": kind -"/youtubePartner:v1/WhitelistListResponse/nextPageToken": next_page_token -"/youtubePartner:v1/WhitelistListResponse/pageInfo": page_info -"/compute:beta/fields": fields -"/compute:beta/key": key -"/compute:beta/quotaUser": quota_user -"/compute:beta/userIp": user_ip -"/compute:beta/compute.acceleratorTypes.aggregatedList": aggregated_accelerator_type_list -"/compute:beta/compute.acceleratorTypes.aggregatedList/filter": filter -"/compute:beta/compute.acceleratorTypes.aggregatedList/maxResults": max_results -"/compute:beta/compute.acceleratorTypes.aggregatedList/orderBy": order_by -"/compute:beta/compute.acceleratorTypes.aggregatedList/pageToken": page_token -"/compute:beta/compute.acceleratorTypes.aggregatedList/project": project -"/compute:beta/compute.acceleratorTypes.get": get_accelerator_type -"/compute:beta/compute.acceleratorTypes.get/acceleratorType": accelerator_type -"/compute:beta/compute.acceleratorTypes.get/project": project -"/compute:beta/compute.acceleratorTypes.get/zone": zone -"/compute:beta/compute.acceleratorTypes.list": list_accelerator_types -"/compute:beta/compute.acceleratorTypes.list/filter": filter -"/compute:beta/compute.acceleratorTypes.list/maxResults": max_results -"/compute:beta/compute.acceleratorTypes.list/orderBy": order_by -"/compute:beta/compute.acceleratorTypes.list/pageToken": page_token -"/compute:beta/compute.acceleratorTypes.list/project": project -"/compute:beta/compute.acceleratorTypes.list/zone": zone -"/compute:beta/compute.addresses.aggregatedList/filter": filter -"/compute:beta/compute.addresses.aggregatedList/maxResults": max_results -"/compute:beta/compute.addresses.aggregatedList/orderBy": order_by -"/compute:beta/compute.addresses.aggregatedList/pageToken": page_token -"/compute:beta/compute.addresses.aggregatedList/project": project -"/compute:beta/compute.addresses.delete": delete_address -"/compute:beta/compute.addresses.delete/address": address -"/compute:beta/compute.addresses.delete/project": project -"/compute:beta/compute.addresses.delete/region": region -"/compute:beta/compute.addresses.delete/requestId": request_id -"/compute:beta/compute.addresses.get": get_address -"/compute:beta/compute.addresses.get/address": address -"/compute:beta/compute.addresses.get/project": project -"/compute:beta/compute.addresses.get/region": region -"/compute:beta/compute.addresses.insert": insert_address -"/compute:beta/compute.addresses.insert/project": project -"/compute:beta/compute.addresses.insert/region": region -"/compute:beta/compute.addresses.insert/requestId": request_id -"/compute:beta/compute.addresses.list": list_addresses -"/compute:beta/compute.addresses.list/filter": filter -"/compute:beta/compute.addresses.list/maxResults": max_results -"/compute:beta/compute.addresses.list/orderBy": order_by -"/compute:beta/compute.addresses.list/pageToken": page_token -"/compute:beta/compute.addresses.list/project": project -"/compute:beta/compute.addresses.list/region": region -"/compute:beta/compute.addresses.setLabels": set_address_labels -"/compute:beta/compute.addresses.setLabels/project": project -"/compute:beta/compute.addresses.setLabels/region": region -"/compute:beta/compute.addresses.setLabels/requestId": request_id -"/compute:beta/compute.addresses.setLabels/resource": resource -"/compute:beta/compute.addresses.testIamPermissions": test_address_iam_permissions -"/compute:beta/compute.addresses.testIamPermissions/project": project -"/compute:beta/compute.addresses.testIamPermissions/region": region -"/compute:beta/compute.addresses.testIamPermissions/resource": resource -"/compute:beta/compute.autoscalers.aggregatedList/filter": filter -"/compute:beta/compute.autoscalers.aggregatedList/maxResults": max_results -"/compute:beta/compute.autoscalers.aggregatedList/orderBy": order_by -"/compute:beta/compute.autoscalers.aggregatedList/pageToken": page_token -"/compute:beta/compute.autoscalers.aggregatedList/project": project -"/compute:beta/compute.autoscalers.delete": delete_autoscaler -"/compute:beta/compute.autoscalers.delete/autoscaler": autoscaler -"/compute:beta/compute.autoscalers.delete/project": project -"/compute:beta/compute.autoscalers.delete/requestId": request_id -"/compute:beta/compute.autoscalers.delete/zone": zone -"/compute:beta/compute.autoscalers.get": get_autoscaler -"/compute:beta/compute.autoscalers.get/autoscaler": autoscaler -"/compute:beta/compute.autoscalers.get/project": project -"/compute:beta/compute.autoscalers.get/zone": zone -"/compute:beta/compute.autoscalers.insert": insert_autoscaler -"/compute:beta/compute.autoscalers.insert/project": project -"/compute:beta/compute.autoscalers.insert/requestId": request_id -"/compute:beta/compute.autoscalers.insert/zone": zone -"/compute:beta/compute.autoscalers.list": list_autoscalers -"/compute:beta/compute.autoscalers.list/filter": filter -"/compute:beta/compute.autoscalers.list/maxResults": max_results -"/compute:beta/compute.autoscalers.list/orderBy": order_by -"/compute:beta/compute.autoscalers.list/pageToken": page_token -"/compute:beta/compute.autoscalers.list/project": project -"/compute:beta/compute.autoscalers.list/zone": zone -"/compute:beta/compute.autoscalers.patch": patch_autoscaler -"/compute:beta/compute.autoscalers.patch/autoscaler": autoscaler -"/compute:beta/compute.autoscalers.patch/project": project -"/compute:beta/compute.autoscalers.patch/requestId": request_id -"/compute:beta/compute.autoscalers.patch/zone": zone -"/compute:beta/compute.autoscalers.testIamPermissions": test_autoscaler_iam_permissions -"/compute:beta/compute.autoscalers.testIamPermissions/project": project -"/compute:beta/compute.autoscalers.testIamPermissions/resource": resource -"/compute:beta/compute.autoscalers.testIamPermissions/zone": zone -"/compute:beta/compute.autoscalers.update": update_autoscaler -"/compute:beta/compute.autoscalers.update/autoscaler": autoscaler -"/compute:beta/compute.autoscalers.update/project": project -"/compute:beta/compute.autoscalers.update/requestId": request_id -"/compute:beta/compute.autoscalers.update/zone": zone -"/compute:beta/compute.backendBuckets.delete": delete_backend_bucket -"/compute:beta/compute.backendBuckets.delete/backendBucket": backend_bucket -"/compute:beta/compute.backendBuckets.delete/project": project -"/compute:beta/compute.backendBuckets.delete/requestId": request_id -"/compute:beta/compute.backendBuckets.get": get_backend_bucket -"/compute:beta/compute.backendBuckets.get/backendBucket": backend_bucket -"/compute:beta/compute.backendBuckets.get/project": project -"/compute:beta/compute.backendBuckets.insert": insert_backend_bucket -"/compute:beta/compute.backendBuckets.insert/project": project -"/compute:beta/compute.backendBuckets.insert/requestId": request_id -"/compute:beta/compute.backendBuckets.list": list_backend_buckets -"/compute:beta/compute.backendBuckets.list/filter": filter -"/compute:beta/compute.backendBuckets.list/maxResults": max_results -"/compute:beta/compute.backendBuckets.list/orderBy": order_by -"/compute:beta/compute.backendBuckets.list/pageToken": page_token -"/compute:beta/compute.backendBuckets.list/project": project -"/compute:beta/compute.backendBuckets.patch": patch_backend_bucket -"/compute:beta/compute.backendBuckets.patch/backendBucket": backend_bucket -"/compute:beta/compute.backendBuckets.patch/project": project -"/compute:beta/compute.backendBuckets.patch/requestId": request_id -"/compute:beta/compute.backendBuckets.update": update_backend_bucket -"/compute:beta/compute.backendBuckets.update/backendBucket": backend_bucket -"/compute:beta/compute.backendBuckets.update/project": project -"/compute:beta/compute.backendBuckets.update/requestId": request_id -"/compute:beta/compute.backendServices.aggregatedList": aggregated_backend_service_list -"/compute:beta/compute.backendServices.aggregatedList/filter": filter -"/compute:beta/compute.backendServices.aggregatedList/maxResults": max_results -"/compute:beta/compute.backendServices.aggregatedList/orderBy": order_by -"/compute:beta/compute.backendServices.aggregatedList/pageToken": page_token -"/compute:beta/compute.backendServices.aggregatedList/project": project -"/compute:beta/compute.backendServices.delete": delete_backend_service -"/compute:beta/compute.backendServices.delete/backendService": backend_service -"/compute:beta/compute.backendServices.delete/project": project -"/compute:beta/compute.backendServices.delete/requestId": request_id -"/compute:beta/compute.backendServices.get": get_backend_service -"/compute:beta/compute.backendServices.get/backendService": backend_service -"/compute:beta/compute.backendServices.get/project": project -"/compute:beta/compute.backendServices.getHealth/backendService": backend_service -"/compute:beta/compute.backendServices.getHealth/project": project -"/compute:beta/compute.backendServices.insert": insert_backend_service -"/compute:beta/compute.backendServices.insert/project": project -"/compute:beta/compute.backendServices.insert/requestId": request_id -"/compute:beta/compute.backendServices.list": list_backend_services -"/compute:beta/compute.backendServices.list/filter": filter -"/compute:beta/compute.backendServices.list/maxResults": max_results -"/compute:beta/compute.backendServices.list/orderBy": order_by -"/compute:beta/compute.backendServices.list/pageToken": page_token -"/compute:beta/compute.backendServices.list/project": project -"/compute:beta/compute.backendServices.patch": patch_backend_service -"/compute:beta/compute.backendServices.patch/backendService": backend_service -"/compute:beta/compute.backendServices.patch/project": project -"/compute:beta/compute.backendServices.patch/requestId": request_id -"/compute:beta/compute.backendServices.testIamPermissions": test_backend_service_iam_permissions -"/compute:beta/compute.backendServices.testIamPermissions/project": project -"/compute:beta/compute.backendServices.testIamPermissions/resource": resource -"/compute:beta/compute.backendServices.update": update_backend_service -"/compute:beta/compute.backendServices.update/backendService": backend_service -"/compute:beta/compute.backendServices.update/project": project -"/compute:beta/compute.backendServices.update/requestId": request_id -"/compute:beta/compute.diskTypes.aggregatedList/filter": filter -"/compute:beta/compute.diskTypes.aggregatedList/maxResults": max_results -"/compute:beta/compute.diskTypes.aggregatedList/orderBy": order_by -"/compute:beta/compute.diskTypes.aggregatedList/pageToken": page_token -"/compute:beta/compute.diskTypes.aggregatedList/project": project -"/compute:beta/compute.diskTypes.get": get_disk_type -"/compute:beta/compute.diskTypes.get/diskType": disk_type -"/compute:beta/compute.diskTypes.get/project": project -"/compute:beta/compute.diskTypes.get/zone": zone -"/compute:beta/compute.diskTypes.list": list_disk_types -"/compute:beta/compute.diskTypes.list/filter": filter -"/compute:beta/compute.diskTypes.list/maxResults": max_results -"/compute:beta/compute.diskTypes.list/orderBy": order_by -"/compute:beta/compute.diskTypes.list/pageToken": page_token -"/compute:beta/compute.diskTypes.list/project": project -"/compute:beta/compute.diskTypes.list/zone": zone -"/compute:beta/compute.disks.aggregatedList/filter": filter -"/compute:beta/compute.disks.aggregatedList/maxResults": max_results -"/compute:beta/compute.disks.aggregatedList/orderBy": order_by -"/compute:beta/compute.disks.aggregatedList/pageToken": page_token -"/compute:beta/compute.disks.aggregatedList/project": project -"/compute:beta/compute.disks.createSnapshot/disk": disk -"/compute:beta/compute.disks.createSnapshot/guestFlush": guest_flush -"/compute:beta/compute.disks.createSnapshot/project": project -"/compute:beta/compute.disks.createSnapshot/requestId": request_id -"/compute:beta/compute.disks.createSnapshot/zone": zone -"/compute:beta/compute.disks.delete": delete_disk -"/compute:beta/compute.disks.delete/disk": disk -"/compute:beta/compute.disks.delete/project": project -"/compute:beta/compute.disks.delete/requestId": request_id -"/compute:beta/compute.disks.delete/zone": zone -"/compute:beta/compute.disks.get": get_disk -"/compute:beta/compute.disks.get/disk": disk -"/compute:beta/compute.disks.get/project": project -"/compute:beta/compute.disks.get/zone": zone -"/compute:beta/compute.disks.insert": insert_disk -"/compute:beta/compute.disks.insert/project": project -"/compute:beta/compute.disks.insert/requestId": request_id -"/compute:beta/compute.disks.insert/sourceImage": source_image -"/compute:beta/compute.disks.insert/zone": zone -"/compute:beta/compute.disks.list": list_disks -"/compute:beta/compute.disks.list/filter": filter -"/compute:beta/compute.disks.list/maxResults": max_results -"/compute:beta/compute.disks.list/orderBy": order_by -"/compute:beta/compute.disks.list/pageToken": page_token -"/compute:beta/compute.disks.list/project": project -"/compute:beta/compute.disks.list/zone": zone -"/compute:beta/compute.disks.resize": resize_disk -"/compute:beta/compute.disks.resize/disk": disk -"/compute:beta/compute.disks.resize/project": project -"/compute:beta/compute.disks.resize/requestId": request_id -"/compute:beta/compute.disks.resize/zone": zone -"/compute:beta/compute.disks.setLabels": set_disk_labels -"/compute:beta/compute.disks.setLabels/project": project -"/compute:beta/compute.disks.setLabels/requestId": request_id -"/compute:beta/compute.disks.setLabels/resource": resource -"/compute:beta/compute.disks.setLabels/zone": zone -"/compute:beta/compute.disks.testIamPermissions": test_disk_iam_permissions -"/compute:beta/compute.disks.testIamPermissions/project": project -"/compute:beta/compute.disks.testIamPermissions/resource": resource -"/compute:beta/compute.disks.testIamPermissions/zone": zone -"/compute:beta/compute.firewalls.delete": delete_firewall -"/compute:beta/compute.firewalls.delete/firewall": firewall -"/compute:beta/compute.firewalls.delete/project": project -"/compute:beta/compute.firewalls.delete/requestId": request_id -"/compute:beta/compute.firewalls.get": get_firewall -"/compute:beta/compute.firewalls.get/firewall": firewall -"/compute:beta/compute.firewalls.get/project": project -"/compute:beta/compute.firewalls.insert": insert_firewall -"/compute:beta/compute.firewalls.insert/project": project -"/compute:beta/compute.firewalls.insert/requestId": request_id -"/compute:beta/compute.firewalls.list": list_firewalls -"/compute:beta/compute.firewalls.list/filter": filter -"/compute:beta/compute.firewalls.list/maxResults": max_results -"/compute:beta/compute.firewalls.list/orderBy": order_by -"/compute:beta/compute.firewalls.list/pageToken": page_token -"/compute:beta/compute.firewalls.list/project": project -"/compute:beta/compute.firewalls.patch": patch_firewall -"/compute:beta/compute.firewalls.patch/firewall": firewall -"/compute:beta/compute.firewalls.patch/project": project -"/compute:beta/compute.firewalls.patch/requestId": request_id -"/compute:beta/compute.firewalls.testIamPermissions": test_firewall_iam_permissions -"/compute:beta/compute.firewalls.testIamPermissions/project": project -"/compute:beta/compute.firewalls.testIamPermissions/resource": resource -"/compute:beta/compute.firewalls.update": update_firewall -"/compute:beta/compute.firewalls.update/firewall": firewall -"/compute:beta/compute.firewalls.update/project": project -"/compute:beta/compute.firewalls.update/requestId": request_id -"/compute:beta/compute.forwardingRules.aggregatedList/filter": filter -"/compute:beta/compute.forwardingRules.aggregatedList/maxResults": max_results -"/compute:beta/compute.forwardingRules.aggregatedList/orderBy": order_by -"/compute:beta/compute.forwardingRules.aggregatedList/pageToken": page_token -"/compute:beta/compute.forwardingRules.aggregatedList/project": project -"/compute:beta/compute.forwardingRules.delete": delete_forwarding_rule -"/compute:beta/compute.forwardingRules.delete/forwardingRule": forwarding_rule -"/compute:beta/compute.forwardingRules.delete/project": project -"/compute:beta/compute.forwardingRules.delete/region": region -"/compute:beta/compute.forwardingRules.delete/requestId": request_id -"/compute:beta/compute.forwardingRules.get": get_forwarding_rule -"/compute:beta/compute.forwardingRules.get/forwardingRule": forwarding_rule -"/compute:beta/compute.forwardingRules.get/project": project -"/compute:beta/compute.forwardingRules.get/region": region -"/compute:beta/compute.forwardingRules.insert": insert_forwarding_rule -"/compute:beta/compute.forwardingRules.insert/project": project -"/compute:beta/compute.forwardingRules.insert/region": region -"/compute:beta/compute.forwardingRules.insert/requestId": request_id -"/compute:beta/compute.forwardingRules.list": list_forwarding_rules -"/compute:beta/compute.forwardingRules.list/filter": filter -"/compute:beta/compute.forwardingRules.list/maxResults": max_results -"/compute:beta/compute.forwardingRules.list/orderBy": order_by -"/compute:beta/compute.forwardingRules.list/pageToken": page_token -"/compute:beta/compute.forwardingRules.list/project": project -"/compute:beta/compute.forwardingRules.list/region": region -"/compute:beta/compute.forwardingRules.setLabels": set_forwarding_rule_labels -"/compute:beta/compute.forwardingRules.setLabels/project": project -"/compute:beta/compute.forwardingRules.setLabels/region": region -"/compute:beta/compute.forwardingRules.setLabels/requestId": request_id -"/compute:beta/compute.forwardingRules.setLabels/resource": resource -"/compute:beta/compute.forwardingRules.setTarget/forwardingRule": forwarding_rule -"/compute:beta/compute.forwardingRules.setTarget/project": project -"/compute:beta/compute.forwardingRules.setTarget/region": region -"/compute:beta/compute.forwardingRules.setTarget/requestId": request_id -"/compute:beta/compute.forwardingRules.testIamPermissions": test_forwarding_rule_iam_permissions -"/compute:beta/compute.forwardingRules.testIamPermissions/project": project -"/compute:beta/compute.forwardingRules.testIamPermissions/region": region -"/compute:beta/compute.forwardingRules.testIamPermissions/resource": resource -"/compute:beta/compute.globalAddresses.delete": delete_global_address -"/compute:beta/compute.globalAddresses.delete/address": address -"/compute:beta/compute.globalAddresses.delete/project": project -"/compute:beta/compute.globalAddresses.delete/requestId": request_id -"/compute:beta/compute.globalAddresses.get": get_global_address -"/compute:beta/compute.globalAddresses.get/address": address -"/compute:beta/compute.globalAddresses.get/project": project -"/compute:beta/compute.globalAddresses.insert": insert_global_address -"/compute:beta/compute.globalAddresses.insert/project": project -"/compute:beta/compute.globalAddresses.insert/requestId": request_id -"/compute:beta/compute.globalAddresses.list": list_global_addresses -"/compute:beta/compute.globalAddresses.list/filter": filter -"/compute:beta/compute.globalAddresses.list/maxResults": max_results -"/compute:beta/compute.globalAddresses.list/orderBy": order_by -"/compute:beta/compute.globalAddresses.list/pageToken": page_token -"/compute:beta/compute.globalAddresses.list/project": project -"/compute:beta/compute.globalAddresses.setLabels": set_global_address_labels -"/compute:beta/compute.globalAddresses.setLabels/project": project -"/compute:beta/compute.globalAddresses.setLabels/resource": resource -"/compute:beta/compute.globalAddresses.testIamPermissions": test_global_address_iam_permissions -"/compute:beta/compute.globalAddresses.testIamPermissions/project": project -"/compute:beta/compute.globalAddresses.testIamPermissions/resource": resource -"/compute:beta/compute.globalForwardingRules.delete": delete_global_forwarding_rule -"/compute:beta/compute.globalForwardingRules.delete/forwardingRule": forwarding_rule -"/compute:beta/compute.globalForwardingRules.delete/project": project -"/compute:beta/compute.globalForwardingRules.delete/requestId": request_id -"/compute:beta/compute.globalForwardingRules.get": get_global_forwarding_rule -"/compute:beta/compute.globalForwardingRules.get/forwardingRule": forwarding_rule -"/compute:beta/compute.globalForwardingRules.get/project": project -"/compute:beta/compute.globalForwardingRules.insert": insert_global_forwarding_rule -"/compute:beta/compute.globalForwardingRules.insert/project": project -"/compute:beta/compute.globalForwardingRules.insert/requestId": request_id -"/compute:beta/compute.globalForwardingRules.list": list_global_forwarding_rules -"/compute:beta/compute.globalForwardingRules.list/filter": filter -"/compute:beta/compute.globalForwardingRules.list/maxResults": max_results -"/compute:beta/compute.globalForwardingRules.list/orderBy": order_by -"/compute:beta/compute.globalForwardingRules.list/pageToken": page_token -"/compute:beta/compute.globalForwardingRules.list/project": project -"/compute:beta/compute.globalForwardingRules.setLabels": set_global_forwarding_rule_labels -"/compute:beta/compute.globalForwardingRules.setLabels/project": project -"/compute:beta/compute.globalForwardingRules.setLabels/resource": resource -"/compute:beta/compute.globalForwardingRules.setTarget/forwardingRule": forwarding_rule -"/compute:beta/compute.globalForwardingRules.setTarget/project": project -"/compute:beta/compute.globalForwardingRules.setTarget/requestId": request_id -"/compute:beta/compute.globalForwardingRules.testIamPermissions": test_global_forwarding_rule_iam_permissions -"/compute:beta/compute.globalForwardingRules.testIamPermissions/project": project -"/compute:beta/compute.globalForwardingRules.testIamPermissions/resource": resource -"/compute:beta/compute.globalOperations.aggregatedList/filter": filter -"/compute:beta/compute.globalOperations.aggregatedList/maxResults": max_results -"/compute:beta/compute.globalOperations.aggregatedList/orderBy": order_by -"/compute:beta/compute.globalOperations.aggregatedList/pageToken": page_token -"/compute:beta/compute.globalOperations.aggregatedList/project": project -"/compute:beta/compute.globalOperations.delete": delete_global_operation -"/compute:beta/compute.globalOperations.delete/operation": operation -"/compute:beta/compute.globalOperations.delete/project": project -"/compute:beta/compute.globalOperations.get": get_global_operation -"/compute:beta/compute.globalOperations.get/operation": operation -"/compute:beta/compute.globalOperations.get/project": project -"/compute:beta/compute.globalOperations.list": list_global_operations -"/compute:beta/compute.globalOperations.list/filter": filter -"/compute:beta/compute.globalOperations.list/maxResults": max_results -"/compute:beta/compute.globalOperations.list/orderBy": order_by -"/compute:beta/compute.globalOperations.list/pageToken": page_token -"/compute:beta/compute.globalOperations.list/project": project -"/compute:beta/compute.healthChecks.delete": delete_health_check -"/compute:beta/compute.healthChecks.delete/healthCheck": health_check -"/compute:beta/compute.healthChecks.delete/project": project -"/compute:beta/compute.healthChecks.delete/requestId": request_id -"/compute:beta/compute.healthChecks.get": get_health_check -"/compute:beta/compute.healthChecks.get/healthCheck": health_check -"/compute:beta/compute.healthChecks.get/project": project -"/compute:beta/compute.healthChecks.insert": insert_health_check -"/compute:beta/compute.healthChecks.insert/project": project -"/compute:beta/compute.healthChecks.insert/requestId": request_id -"/compute:beta/compute.healthChecks.list": list_health_checks -"/compute:beta/compute.healthChecks.list/filter": filter -"/compute:beta/compute.healthChecks.list/maxResults": max_results -"/compute:beta/compute.healthChecks.list/orderBy": order_by -"/compute:beta/compute.healthChecks.list/pageToken": page_token -"/compute:beta/compute.healthChecks.list/project": project -"/compute:beta/compute.healthChecks.patch": patch_health_check -"/compute:beta/compute.healthChecks.patch/healthCheck": health_check -"/compute:beta/compute.healthChecks.patch/project": project -"/compute:beta/compute.healthChecks.patch/requestId": request_id -"/compute:beta/compute.healthChecks.testIamPermissions": test_health_check_iam_permissions -"/compute:beta/compute.healthChecks.testIamPermissions/project": project -"/compute:beta/compute.healthChecks.testIamPermissions/resource": resource -"/compute:beta/compute.healthChecks.update": update_health_check -"/compute:beta/compute.healthChecks.update/healthCheck": health_check -"/compute:beta/compute.healthChecks.update/project": project -"/compute:beta/compute.healthChecks.update/requestId": request_id -"/compute:beta/compute.httpHealthChecks.delete": delete_http_health_check -"/compute:beta/compute.httpHealthChecks.delete/httpHealthCheck": http_health_check -"/compute:beta/compute.httpHealthChecks.delete/project": project -"/compute:beta/compute.httpHealthChecks.delete/requestId": request_id -"/compute:beta/compute.httpHealthChecks.get": get_http_health_check -"/compute:beta/compute.httpHealthChecks.get/httpHealthCheck": http_health_check -"/compute:beta/compute.httpHealthChecks.get/project": project -"/compute:beta/compute.httpHealthChecks.insert": insert_http_health_check -"/compute:beta/compute.httpHealthChecks.insert/project": project -"/compute:beta/compute.httpHealthChecks.insert/requestId": request_id -"/compute:beta/compute.httpHealthChecks.list": list_http_health_checks -"/compute:beta/compute.httpHealthChecks.list/filter": filter -"/compute:beta/compute.httpHealthChecks.list/maxResults": max_results -"/compute:beta/compute.httpHealthChecks.list/orderBy": order_by -"/compute:beta/compute.httpHealthChecks.list/pageToken": page_token -"/compute:beta/compute.httpHealthChecks.list/project": project -"/compute:beta/compute.httpHealthChecks.patch": patch_http_health_check -"/compute:beta/compute.httpHealthChecks.patch/httpHealthCheck": http_health_check -"/compute:beta/compute.httpHealthChecks.patch/project": project -"/compute:beta/compute.httpHealthChecks.patch/requestId": request_id -"/compute:beta/compute.httpHealthChecks.testIamPermissions": test_http_health_check_iam_permissions -"/compute:beta/compute.httpHealthChecks.testIamPermissions/project": project -"/compute:beta/compute.httpHealthChecks.testIamPermissions/resource": resource -"/compute:beta/compute.httpHealthChecks.update": update_http_health_check -"/compute:beta/compute.httpHealthChecks.update/httpHealthCheck": http_health_check -"/compute:beta/compute.httpHealthChecks.update/project": project -"/compute:beta/compute.httpHealthChecks.update/requestId": request_id -"/compute:beta/compute.httpsHealthChecks.delete": delete_https_health_check -"/compute:beta/compute.httpsHealthChecks.delete/httpsHealthCheck": https_health_check -"/compute:beta/compute.httpsHealthChecks.delete/project": project -"/compute:beta/compute.httpsHealthChecks.delete/requestId": request_id -"/compute:beta/compute.httpsHealthChecks.get": get_https_health_check -"/compute:beta/compute.httpsHealthChecks.get/httpsHealthCheck": https_health_check -"/compute:beta/compute.httpsHealthChecks.get/project": project -"/compute:beta/compute.httpsHealthChecks.insert": insert_https_health_check -"/compute:beta/compute.httpsHealthChecks.insert/project": project -"/compute:beta/compute.httpsHealthChecks.insert/requestId": request_id -"/compute:beta/compute.httpsHealthChecks.list": list_https_health_checks -"/compute:beta/compute.httpsHealthChecks.list/filter": filter -"/compute:beta/compute.httpsHealthChecks.list/maxResults": max_results -"/compute:beta/compute.httpsHealthChecks.list/orderBy": order_by -"/compute:beta/compute.httpsHealthChecks.list/pageToken": page_token -"/compute:beta/compute.httpsHealthChecks.list/project": project -"/compute:beta/compute.httpsHealthChecks.patch": patch_https_health_check -"/compute:beta/compute.httpsHealthChecks.patch/httpsHealthCheck": https_health_check -"/compute:beta/compute.httpsHealthChecks.patch/project": project -"/compute:beta/compute.httpsHealthChecks.patch/requestId": request_id -"/compute:beta/compute.httpsHealthChecks.testIamPermissions": test_https_health_check_iam_permissions -"/compute:beta/compute.httpsHealthChecks.testIamPermissions/project": project -"/compute:beta/compute.httpsHealthChecks.testIamPermissions/resource": resource -"/compute:beta/compute.httpsHealthChecks.update": update_https_health_check -"/compute:beta/compute.httpsHealthChecks.update/httpsHealthCheck": https_health_check -"/compute:beta/compute.httpsHealthChecks.update/project": project -"/compute:beta/compute.httpsHealthChecks.update/requestId": request_id -"/compute:beta/compute.images.delete": delete_image -"/compute:beta/compute.images.delete/image": image -"/compute:beta/compute.images.delete/project": project -"/compute:beta/compute.images.delete/requestId": request_id -"/compute:beta/compute.images.deprecate": deprecate_image -"/compute:beta/compute.images.deprecate/image": image -"/compute:beta/compute.images.deprecate/project": project -"/compute:beta/compute.images.deprecate/requestId": request_id -"/compute:beta/compute.images.get": get_image -"/compute:beta/compute.images.get/image": image -"/compute:beta/compute.images.get/project": project -"/compute:beta/compute.images.getFromFamily": get_image_from_family -"/compute:beta/compute.images.getFromFamily/family": family -"/compute:beta/compute.images.getFromFamily/project": project -"/compute:beta/compute.images.insert": insert_image -"/compute:beta/compute.images.insert/forceCreate": force_create -"/compute:beta/compute.images.insert/project": project -"/compute:beta/compute.images.insert/requestId": request_id -"/compute:beta/compute.images.list": list_images -"/compute:beta/compute.images.list/filter": filter -"/compute:beta/compute.images.list/maxResults": max_results -"/compute:beta/compute.images.list/orderBy": order_by -"/compute:beta/compute.images.list/pageToken": page_token -"/compute:beta/compute.images.list/project": project -"/compute:beta/compute.images.setLabels": set_image_labels -"/compute:beta/compute.images.setLabels/project": project -"/compute:beta/compute.images.setLabels/resource": resource -"/compute:beta/compute.images.testIamPermissions": test_image_iam_permissions -"/compute:beta/compute.images.testIamPermissions/project": project -"/compute:beta/compute.images.testIamPermissions/resource": resource -"/compute:beta/compute.instanceGroupManagers.abandonInstances/instanceGroupManager": instance_group_manager -"/compute:beta/compute.instanceGroupManagers.abandonInstances/project": project -"/compute:beta/compute.instanceGroupManagers.abandonInstances/requestId": request_id -"/compute:beta/compute.instanceGroupManagers.abandonInstances/zone": zone -"/compute:beta/compute.instanceGroupManagers.aggregatedList/filter": filter -"/compute:beta/compute.instanceGroupManagers.aggregatedList/maxResults": max_results -"/compute:beta/compute.instanceGroupManagers.aggregatedList/orderBy": order_by -"/compute:beta/compute.instanceGroupManagers.aggregatedList/pageToken": page_token -"/compute:beta/compute.instanceGroupManagers.aggregatedList/project": project -"/compute:beta/compute.instanceGroupManagers.delete": delete_instance_group_manager -"/compute:beta/compute.instanceGroupManagers.delete/instanceGroupManager": instance_group_manager -"/compute:beta/compute.instanceGroupManagers.delete/project": project -"/compute:beta/compute.instanceGroupManagers.delete/requestId": request_id -"/compute:beta/compute.instanceGroupManagers.delete/zone": zone -"/compute:beta/compute.instanceGroupManagers.deleteInstances/instanceGroupManager": instance_group_manager -"/compute:beta/compute.instanceGroupManagers.deleteInstances/project": project -"/compute:beta/compute.instanceGroupManagers.deleteInstances/requestId": request_id -"/compute:beta/compute.instanceGroupManagers.deleteInstances/zone": zone -"/compute:beta/compute.instanceGroupManagers.get": get_instance_group_manager -"/compute:beta/compute.instanceGroupManagers.get/instanceGroupManager": instance_group_manager -"/compute:beta/compute.instanceGroupManagers.get/project": project -"/compute:beta/compute.instanceGroupManagers.get/zone": zone -"/compute:beta/compute.instanceGroupManagers.insert": insert_instance_group_manager -"/compute:beta/compute.instanceGroupManagers.insert/project": project -"/compute:beta/compute.instanceGroupManagers.insert/requestId": request_id -"/compute:beta/compute.instanceGroupManagers.insert/zone": zone -"/compute:beta/compute.instanceGroupManagers.list": list_instance_group_managers -"/compute:beta/compute.instanceGroupManagers.list/filter": filter -"/compute:beta/compute.instanceGroupManagers.list/maxResults": max_results -"/compute:beta/compute.instanceGroupManagers.list/orderBy": order_by -"/compute:beta/compute.instanceGroupManagers.list/pageToken": page_token -"/compute:beta/compute.instanceGroupManagers.list/project": project -"/compute:beta/compute.instanceGroupManagers.list/zone": zone -"/compute:beta/compute.instanceGroupManagers.listManagedInstances/filter": filter -"/compute:beta/compute.instanceGroupManagers.listManagedInstances/instanceGroupManager": instance_group_manager -"/compute:beta/compute.instanceGroupManagers.listManagedInstances/maxResults": max_results -"/compute:beta/compute.instanceGroupManagers.listManagedInstances/order_by": order_by -"/compute:beta/compute.instanceGroupManagers.listManagedInstances/pageToken": page_token -"/compute:beta/compute.instanceGroupManagers.listManagedInstances/project": project -"/compute:beta/compute.instanceGroupManagers.listManagedInstances/zone": zone -"/compute:beta/compute.instanceGroupManagers.patch": patch_instance_group_manager -"/compute:beta/compute.instanceGroupManagers.patch/instanceGroupManager": instance_group_manager -"/compute:beta/compute.instanceGroupManagers.patch/project": project -"/compute:beta/compute.instanceGroupManagers.patch/requestId": request_id -"/compute:beta/compute.instanceGroupManagers.patch/zone": zone -"/compute:beta/compute.instanceGroupManagers.recreateInstances/instanceGroupManager": instance_group_manager -"/compute:beta/compute.instanceGroupManagers.recreateInstances/project": project -"/compute:beta/compute.instanceGroupManagers.recreateInstances/requestId": request_id -"/compute:beta/compute.instanceGroupManagers.recreateInstances/zone": zone -"/compute:beta/compute.instanceGroupManagers.resize/instanceGroupManager": instance_group_manager -"/compute:beta/compute.instanceGroupManagers.resize/project": project -"/compute:beta/compute.instanceGroupManagers.resize/requestId": request_id -"/compute:beta/compute.instanceGroupManagers.resize/size": size -"/compute:beta/compute.instanceGroupManagers.resize/zone": zone -"/compute:beta/compute.instanceGroupManagers.resizeAdvanced": resize_instance_group_manager_advanced -"/compute:beta/compute.instanceGroupManagers.resizeAdvanced/instanceGroupManager": instance_group_manager -"/compute:beta/compute.instanceGroupManagers.resizeAdvanced/project": project -"/compute:beta/compute.instanceGroupManagers.resizeAdvanced/requestId": request_id -"/compute:beta/compute.instanceGroupManagers.resizeAdvanced/zone": zone -"/compute:beta/compute.instanceGroupManagers.setAutoHealingPolicies": set_instance_group_manager_auto_healing_policies -"/compute:beta/compute.instanceGroupManagers.setAutoHealingPolicies/instanceGroupManager": instance_group_manager -"/compute:beta/compute.instanceGroupManagers.setAutoHealingPolicies/project": project -"/compute:beta/compute.instanceGroupManagers.setAutoHealingPolicies/requestId": request_id -"/compute:beta/compute.instanceGroupManagers.setAutoHealingPolicies/zone": zone -"/compute:beta/compute.instanceGroupManagers.setInstanceTemplate/instanceGroupManager": instance_group_manager -"/compute:beta/compute.instanceGroupManagers.setInstanceTemplate/project": project -"/compute:beta/compute.instanceGroupManagers.setInstanceTemplate/requestId": request_id -"/compute:beta/compute.instanceGroupManagers.setInstanceTemplate/zone": zone -"/compute:beta/compute.instanceGroupManagers.setTargetPools/instanceGroupManager": instance_group_manager -"/compute:beta/compute.instanceGroupManagers.setTargetPools/project": project -"/compute:beta/compute.instanceGroupManagers.setTargetPools/requestId": request_id -"/compute:beta/compute.instanceGroupManagers.setTargetPools/zone": zone -"/compute:beta/compute.instanceGroupManagers.testIamPermissions": test_instance_group_manager_iam_permissions -"/compute:beta/compute.instanceGroupManagers.testIamPermissions/project": project -"/compute:beta/compute.instanceGroupManagers.testIamPermissions/resource": resource -"/compute:beta/compute.instanceGroupManagers.testIamPermissions/zone": zone -"/compute:beta/compute.instanceGroupManagers.update": update_instance_group_manager -"/compute:beta/compute.instanceGroupManagers.update/instanceGroupManager": instance_group_manager -"/compute:beta/compute.instanceGroupManagers.update/project": project -"/compute:beta/compute.instanceGroupManagers.update/requestId": request_id -"/compute:beta/compute.instanceGroupManagers.update/zone": zone -"/compute:beta/compute.instanceGroups.addInstances/instanceGroup": instance_group -"/compute:beta/compute.instanceGroups.addInstances/project": project -"/compute:beta/compute.instanceGroups.addInstances/requestId": request_id -"/compute:beta/compute.instanceGroups.addInstances/zone": zone -"/compute:beta/compute.instanceGroups.aggregatedList/filter": filter -"/compute:beta/compute.instanceGroups.aggregatedList/maxResults": max_results -"/compute:beta/compute.instanceGroups.aggregatedList/orderBy": order_by -"/compute:beta/compute.instanceGroups.aggregatedList/pageToken": page_token -"/compute:beta/compute.instanceGroups.aggregatedList/project": project -"/compute:beta/compute.instanceGroups.delete": delete_instance_group -"/compute:beta/compute.instanceGroups.delete/instanceGroup": instance_group -"/compute:beta/compute.instanceGroups.delete/project": project -"/compute:beta/compute.instanceGroups.delete/requestId": request_id -"/compute:beta/compute.instanceGroups.delete/zone": zone -"/compute:beta/compute.instanceGroups.get": get_instance_group -"/compute:beta/compute.instanceGroups.get/instanceGroup": instance_group -"/compute:beta/compute.instanceGroups.get/project": project -"/compute:beta/compute.instanceGroups.get/zone": zone -"/compute:beta/compute.instanceGroups.insert": insert_instance_group -"/compute:beta/compute.instanceGroups.insert/project": project -"/compute:beta/compute.instanceGroups.insert/requestId": request_id -"/compute:beta/compute.instanceGroups.insert/zone": zone -"/compute:beta/compute.instanceGroups.list": list_instance_groups -"/compute:beta/compute.instanceGroups.list/filter": filter -"/compute:beta/compute.instanceGroups.list/maxResults": max_results -"/compute:beta/compute.instanceGroups.list/orderBy": order_by -"/compute:beta/compute.instanceGroups.list/pageToken": page_token -"/compute:beta/compute.instanceGroups.list/project": project -"/compute:beta/compute.instanceGroups.list/zone": zone -"/compute:beta/compute.instanceGroups.listInstances/filter": filter -"/compute:beta/compute.instanceGroups.listInstances/instanceGroup": instance_group -"/compute:beta/compute.instanceGroups.listInstances/maxResults": max_results -"/compute:beta/compute.instanceGroups.listInstances/orderBy": order_by -"/compute:beta/compute.instanceGroups.listInstances/pageToken": page_token -"/compute:beta/compute.instanceGroups.listInstances/project": project -"/compute:beta/compute.instanceGroups.listInstances/zone": zone -"/compute:beta/compute.instanceGroups.removeInstances/instanceGroup": instance_group -"/compute:beta/compute.instanceGroups.removeInstances/project": project -"/compute:beta/compute.instanceGroups.removeInstances/requestId": request_id -"/compute:beta/compute.instanceGroups.removeInstances/zone": zone -"/compute:beta/compute.instanceGroups.setNamedPorts/instanceGroup": instance_group -"/compute:beta/compute.instanceGroups.setNamedPorts/project": project -"/compute:beta/compute.instanceGroups.setNamedPorts/requestId": request_id -"/compute:beta/compute.instanceGroups.setNamedPorts/zone": zone -"/compute:beta/compute.instanceGroups.testIamPermissions": test_instance_group_iam_permissions -"/compute:beta/compute.instanceGroups.testIamPermissions/project": project -"/compute:beta/compute.instanceGroups.testIamPermissions/resource": resource -"/compute:beta/compute.instanceGroups.testIamPermissions/zone": zone -"/compute:beta/compute.instanceTemplates.delete": delete_instance_template -"/compute:beta/compute.instanceTemplates.delete/instanceTemplate": instance_template -"/compute:beta/compute.instanceTemplates.delete/project": project -"/compute:beta/compute.instanceTemplates.delete/requestId": request_id -"/compute:beta/compute.instanceTemplates.get": get_instance_template -"/compute:beta/compute.instanceTemplates.get/instanceTemplate": instance_template -"/compute:beta/compute.instanceTemplates.get/project": project -"/compute:beta/compute.instanceTemplates.insert": insert_instance_template -"/compute:beta/compute.instanceTemplates.insert/project": project -"/compute:beta/compute.instanceTemplates.insert/requestId": request_id -"/compute:beta/compute.instanceTemplates.list": list_instance_templates -"/compute:beta/compute.instanceTemplates.list/filter": filter -"/compute:beta/compute.instanceTemplates.list/maxResults": max_results -"/compute:beta/compute.instanceTemplates.list/orderBy": order_by -"/compute:beta/compute.instanceTemplates.list/pageToken": page_token -"/compute:beta/compute.instanceTemplates.list/project": project -"/compute:beta/compute.instanceTemplates.testIamPermissions": test_instance_template_iam_permissions -"/compute:beta/compute.instanceTemplates.testIamPermissions/project": project -"/compute:beta/compute.instanceTemplates.testIamPermissions/resource": resource -"/compute:beta/compute.instances.addAccessConfig/instance": instance -"/compute:beta/compute.instances.addAccessConfig/networkInterface": network_interface -"/compute:beta/compute.instances.addAccessConfig/project": project -"/compute:beta/compute.instances.addAccessConfig/requestId": request_id -"/compute:beta/compute.instances.addAccessConfig/zone": zone -"/compute:beta/compute.instances.aggregatedList/filter": filter -"/compute:beta/compute.instances.aggregatedList/maxResults": max_results -"/compute:beta/compute.instances.aggregatedList/orderBy": order_by -"/compute:beta/compute.instances.aggregatedList/pageToken": page_token -"/compute:beta/compute.instances.aggregatedList/project": project -"/compute:beta/compute.instances.attachDisk/instance": instance -"/compute:beta/compute.instances.attachDisk/project": project -"/compute:beta/compute.instances.attachDisk/requestId": request_id -"/compute:beta/compute.instances.attachDisk/zone": zone -"/compute:beta/compute.instances.delete": delete_instance -"/compute:beta/compute.instances.delete/instance": instance -"/compute:beta/compute.instances.delete/project": project -"/compute:beta/compute.instances.delete/requestId": request_id -"/compute:beta/compute.instances.delete/zone": zone -"/compute:beta/compute.instances.deleteAccessConfig/accessConfig": access_config -"/compute:beta/compute.instances.deleteAccessConfig/instance": instance -"/compute:beta/compute.instances.deleteAccessConfig/networkInterface": network_interface -"/compute:beta/compute.instances.deleteAccessConfig/project": project -"/compute:beta/compute.instances.deleteAccessConfig/requestId": request_id -"/compute:beta/compute.instances.deleteAccessConfig/zone": zone -"/compute:beta/compute.instances.detachDisk/deviceName": device_name -"/compute:beta/compute.instances.detachDisk/instance": instance -"/compute:beta/compute.instances.detachDisk/project": project -"/compute:beta/compute.instances.detachDisk/requestId": request_id -"/compute:beta/compute.instances.detachDisk/zone": zone -"/compute:beta/compute.instances.get": get_instance -"/compute:beta/compute.instances.get/instance": instance -"/compute:beta/compute.instances.get/project": project -"/compute:beta/compute.instances.get/zone": zone -"/compute:beta/compute.instances.getSerialPortOutput/instance": instance -"/compute:beta/compute.instances.getSerialPortOutput/port": port -"/compute:beta/compute.instances.getSerialPortOutput/project": project -"/compute:beta/compute.instances.getSerialPortOutput/start": start -"/compute:beta/compute.instances.getSerialPortOutput/zone": zone -"/compute:beta/compute.instances.insert": insert_instance -"/compute:beta/compute.instances.insert/project": project -"/compute:beta/compute.instances.insert/requestId": request_id -"/compute:beta/compute.instances.insert/zone": zone -"/compute:beta/compute.instances.list": list_instances -"/compute:beta/compute.instances.list/filter": filter -"/compute:beta/compute.instances.list/maxResults": max_results -"/compute:beta/compute.instances.list/orderBy": order_by -"/compute:beta/compute.instances.list/pageToken": page_token -"/compute:beta/compute.instances.list/project": project -"/compute:beta/compute.instances.list/zone": zone -"/compute:beta/compute.instances.listReferrers": list_instance_referrers -"/compute:beta/compute.instances.listReferrers/filter": filter -"/compute:beta/compute.instances.listReferrers/instance": instance -"/compute:beta/compute.instances.listReferrers/maxResults": max_results -"/compute:beta/compute.instances.listReferrers/orderBy": order_by -"/compute:beta/compute.instances.listReferrers/pageToken": page_token -"/compute:beta/compute.instances.listReferrers/project": project -"/compute:beta/compute.instances.listReferrers/zone": zone -"/compute:beta/compute.instances.reset": reset_instance -"/compute:beta/compute.instances.reset/instance": instance -"/compute:beta/compute.instances.reset/project": project -"/compute:beta/compute.instances.reset/requestId": request_id -"/compute:beta/compute.instances.reset/zone": zone -"/compute:beta/compute.instances.setDiskAutoDelete/autoDelete": auto_delete -"/compute:beta/compute.instances.setDiskAutoDelete/deviceName": device_name -"/compute:beta/compute.instances.setDiskAutoDelete/instance": instance -"/compute:beta/compute.instances.setDiskAutoDelete/project": project -"/compute:beta/compute.instances.setDiskAutoDelete/requestId": request_id -"/compute:beta/compute.instances.setDiskAutoDelete/zone": zone -"/compute:beta/compute.instances.setLabels": set_instance_labels -"/compute:beta/compute.instances.setLabels/instance": instance -"/compute:beta/compute.instances.setLabels/project": project -"/compute:beta/compute.instances.setLabels/requestId": request_id -"/compute:beta/compute.instances.setLabels/zone": zone -"/compute:beta/compute.instances.setMachineResources": set_instance_machine_resources -"/compute:beta/compute.instances.setMachineResources/instance": instance -"/compute:beta/compute.instances.setMachineResources/project": project -"/compute:beta/compute.instances.setMachineResources/requestId": request_id -"/compute:beta/compute.instances.setMachineResources/zone": zone -"/compute:beta/compute.instances.setMachineType": set_instance_machine_type -"/compute:beta/compute.instances.setMachineType/instance": instance -"/compute:beta/compute.instances.setMachineType/project": project -"/compute:beta/compute.instances.setMachineType/requestId": request_id -"/compute:beta/compute.instances.setMachineType/zone": zone -"/compute:beta/compute.instances.setMetadata/instance": instance -"/compute:beta/compute.instances.setMetadata/project": project -"/compute:beta/compute.instances.setMetadata/requestId": request_id -"/compute:beta/compute.instances.setMetadata/zone": zone -"/compute:beta/compute.instances.setMinCpuPlatform": set_instance_min_cpu_platform -"/compute:beta/compute.instances.setMinCpuPlatform/instance": instance -"/compute:beta/compute.instances.setMinCpuPlatform/project": project -"/compute:beta/compute.instances.setMinCpuPlatform/requestId": request_id -"/compute:beta/compute.instances.setMinCpuPlatform/zone": zone -"/compute:beta/compute.instances.setScheduling/instance": instance -"/compute:beta/compute.instances.setScheduling/project": project -"/compute:beta/compute.instances.setScheduling/requestId": request_id -"/compute:beta/compute.instances.setScheduling/zone": zone -"/compute:beta/compute.instances.setServiceAccount": set_instance_service_account -"/compute:beta/compute.instances.setServiceAccount/instance": instance -"/compute:beta/compute.instances.setServiceAccount/project": project -"/compute:beta/compute.instances.setServiceAccount/requestId": request_id -"/compute:beta/compute.instances.setServiceAccount/zone": zone -"/compute:beta/compute.instances.setTags/instance": instance -"/compute:beta/compute.instances.setTags/project": project -"/compute:beta/compute.instances.setTags/requestId": request_id -"/compute:beta/compute.instances.setTags/zone": zone -"/compute:beta/compute.instances.start": start_instance -"/compute:beta/compute.instances.start/instance": instance -"/compute:beta/compute.instances.start/project": project -"/compute:beta/compute.instances.start/requestId": request_id -"/compute:beta/compute.instances.start/zone": zone -"/compute:beta/compute.instances.startWithEncryptionKey": start_instance_with_encryption_key -"/compute:beta/compute.instances.startWithEncryptionKey/instance": instance -"/compute:beta/compute.instances.startWithEncryptionKey/project": project -"/compute:beta/compute.instances.startWithEncryptionKey/requestId": request_id -"/compute:beta/compute.instances.startWithEncryptionKey/zone": zone -"/compute:beta/compute.instances.stop": stop_instance -"/compute:beta/compute.instances.stop/instance": instance -"/compute:beta/compute.instances.stop/project": project -"/compute:beta/compute.instances.stop/requestId": request_id -"/compute:beta/compute.instances.stop/zone": zone -"/compute:beta/compute.instances.testIamPermissions": test_instance_iam_permissions -"/compute:beta/compute.instances.testIamPermissions/project": project -"/compute:beta/compute.instances.testIamPermissions/resource": resource -"/compute:beta/compute.instances.testIamPermissions/zone": zone -"/compute:beta/compute.licenses.get": get_license -"/compute:beta/compute.licenses.get/license": license -"/compute:beta/compute.licenses.get/project": project -"/compute:beta/compute.machineTypes.aggregatedList/filter": filter -"/compute:beta/compute.machineTypes.aggregatedList/maxResults": max_results -"/compute:beta/compute.machineTypes.aggregatedList/orderBy": order_by -"/compute:beta/compute.machineTypes.aggregatedList/pageToken": page_token -"/compute:beta/compute.machineTypes.aggregatedList/project": project -"/compute:beta/compute.machineTypes.get": get_machine_type -"/compute:beta/compute.machineTypes.get/machineType": machine_type -"/compute:beta/compute.machineTypes.get/project": project -"/compute:beta/compute.machineTypes.get/zone": zone -"/compute:beta/compute.machineTypes.list": list_machine_types -"/compute:beta/compute.machineTypes.list/filter": filter -"/compute:beta/compute.machineTypes.list/maxResults": max_results -"/compute:beta/compute.machineTypes.list/orderBy": order_by -"/compute:beta/compute.machineTypes.list/pageToken": page_token -"/compute:beta/compute.machineTypes.list/project": project -"/compute:beta/compute.machineTypes.list/zone": zone -"/compute:beta/compute.networks.addPeering": add_network_peering -"/compute:beta/compute.networks.addPeering/network": network -"/compute:beta/compute.networks.addPeering/project": project -"/compute:beta/compute.networks.addPeering/requestId": request_id -"/compute:beta/compute.networks.delete": delete_network -"/compute:beta/compute.networks.delete/network": network -"/compute:beta/compute.networks.delete/project": project -"/compute:beta/compute.networks.delete/requestId": request_id -"/compute:beta/compute.networks.get": get_network -"/compute:beta/compute.networks.get/network": network -"/compute:beta/compute.networks.get/project": project -"/compute:beta/compute.networks.insert": insert_network -"/compute:beta/compute.networks.insert/project": project -"/compute:beta/compute.networks.insert/requestId": request_id -"/compute:beta/compute.networks.list": list_networks -"/compute:beta/compute.networks.list/filter": filter -"/compute:beta/compute.networks.list/maxResults": max_results -"/compute:beta/compute.networks.list/orderBy": order_by -"/compute:beta/compute.networks.list/pageToken": page_token -"/compute:beta/compute.networks.list/project": project -"/compute:beta/compute.networks.removePeering": remove_network_peering -"/compute:beta/compute.networks.removePeering/network": network -"/compute:beta/compute.networks.removePeering/project": project -"/compute:beta/compute.networks.removePeering/requestId": request_id -"/compute:beta/compute.networks.switchToCustomMode": switch_network_to_custom_mode -"/compute:beta/compute.networks.switchToCustomMode/network": network -"/compute:beta/compute.networks.switchToCustomMode/project": project -"/compute:beta/compute.networks.switchToCustomMode/requestId": request_id -"/compute:beta/compute.networks.testIamPermissions": test_network_iam_permissions -"/compute:beta/compute.networks.testIamPermissions/project": project -"/compute:beta/compute.networks.testIamPermissions/resource": resource -"/compute:beta/compute.projects.disableXpnHost": disable_project_xpn_host -"/compute:beta/compute.projects.disableXpnHost/project": project -"/compute:beta/compute.projects.disableXpnHost/requestId": request_id -"/compute:beta/compute.projects.disableXpnResource": disable_project_xpn_resource -"/compute:beta/compute.projects.disableXpnResource/project": project -"/compute:beta/compute.projects.disableXpnResource/requestId": request_id -"/compute:beta/compute.projects.enableXpnHost": enable_project_xpn_host -"/compute:beta/compute.projects.enableXpnHost/project": project -"/compute:beta/compute.projects.enableXpnHost/requestId": request_id -"/compute:beta/compute.projects.enableXpnResource": enable_project_xpn_resource -"/compute:beta/compute.projects.enableXpnResource/project": project -"/compute:beta/compute.projects.enableXpnResource/requestId": request_id -"/compute:beta/compute.projects.get": get_project -"/compute:beta/compute.projects.get/project": project -"/compute:beta/compute.projects.getXpnHost": get_project_xpn_host -"/compute:beta/compute.projects.getXpnHost/project": project -"/compute:beta/compute.projects.getXpnResources": get_project_xpn_resources -"/compute:beta/compute.projects.getXpnResources/filter": filter -"/compute:beta/compute.projects.getXpnResources/maxResults": max_results -"/compute:beta/compute.projects.getXpnResources/order_by": order_by -"/compute:beta/compute.projects.getXpnResources/pageToken": page_token -"/compute:beta/compute.projects.getXpnResources/project": project -"/compute:beta/compute.projects.listXpnHosts": list_project_xpn_hosts -"/compute:beta/compute.projects.listXpnHosts/filter": filter -"/compute:beta/compute.projects.listXpnHosts/maxResults": max_results -"/compute:beta/compute.projects.listXpnHosts/order_by": order_by -"/compute:beta/compute.projects.listXpnHosts/pageToken": page_token -"/compute:beta/compute.projects.listXpnHosts/project": project -"/compute:beta/compute.projects.moveDisk/project": project -"/compute:beta/compute.projects.moveDisk/requestId": request_id -"/compute:beta/compute.projects.moveInstance/project": project -"/compute:beta/compute.projects.moveInstance/requestId": request_id -"/compute:beta/compute.projects.setCommonInstanceMetadata/project": project -"/compute:beta/compute.projects.setCommonInstanceMetadata/requestId": request_id -"/compute:beta/compute.projects.setUsageExportBucket/project": project -"/compute:beta/compute.projects.setUsageExportBucket/requestId": request_id -"/compute:beta/compute.regionAutoscalers.delete": delete_region_autoscaler -"/compute:beta/compute.regionAutoscalers.delete/autoscaler": autoscaler -"/compute:beta/compute.regionAutoscalers.delete/project": project -"/compute:beta/compute.regionAutoscalers.delete/region": region -"/compute:beta/compute.regionAutoscalers.delete/requestId": request_id -"/compute:beta/compute.regionAutoscalers.get": get_region_autoscaler -"/compute:beta/compute.regionAutoscalers.get/autoscaler": autoscaler -"/compute:beta/compute.regionAutoscalers.get/project": project -"/compute:beta/compute.regionAutoscalers.get/region": region -"/compute:beta/compute.regionAutoscalers.insert": insert_region_autoscaler -"/compute:beta/compute.regionAutoscalers.insert/project": project -"/compute:beta/compute.regionAutoscalers.insert/region": region -"/compute:beta/compute.regionAutoscalers.insert/requestId": request_id -"/compute:beta/compute.regionAutoscalers.list": list_region_autoscalers -"/compute:beta/compute.regionAutoscalers.list/filter": filter -"/compute:beta/compute.regionAutoscalers.list/maxResults": max_results -"/compute:beta/compute.regionAutoscalers.list/orderBy": order_by -"/compute:beta/compute.regionAutoscalers.list/pageToken": page_token -"/compute:beta/compute.regionAutoscalers.list/project": project -"/compute:beta/compute.regionAutoscalers.list/region": region -"/compute:beta/compute.regionAutoscalers.patch": patch_region_autoscaler -"/compute:beta/compute.regionAutoscalers.patch/autoscaler": autoscaler -"/compute:beta/compute.regionAutoscalers.patch/project": project -"/compute:beta/compute.regionAutoscalers.patch/region": region -"/compute:beta/compute.regionAutoscalers.patch/requestId": request_id -"/compute:beta/compute.regionAutoscalers.testIamPermissions": test_region_autoscaler_iam_permissions -"/compute:beta/compute.regionAutoscalers.testIamPermissions/project": project -"/compute:beta/compute.regionAutoscalers.testIamPermissions/region": region -"/compute:beta/compute.regionAutoscalers.testIamPermissions/resource": resource -"/compute:beta/compute.regionAutoscalers.update": update_region_autoscaler -"/compute:beta/compute.regionAutoscalers.update/autoscaler": autoscaler -"/compute:beta/compute.regionAutoscalers.update/project": project -"/compute:beta/compute.regionAutoscalers.update/region": region -"/compute:beta/compute.regionAutoscalers.update/requestId": request_id -"/compute:beta/compute.regionBackendServices.delete": delete_region_backend_service -"/compute:beta/compute.regionBackendServices.delete/backendService": backend_service -"/compute:beta/compute.regionBackendServices.delete/project": project -"/compute:beta/compute.regionBackendServices.delete/region": region -"/compute:beta/compute.regionBackendServices.delete/requestId": request_id -"/compute:beta/compute.regionBackendServices.get": get_region_backend_service -"/compute:beta/compute.regionBackendServices.get/backendService": backend_service -"/compute:beta/compute.regionBackendServices.get/project": project -"/compute:beta/compute.regionBackendServices.get/region": region -"/compute:beta/compute.regionBackendServices.getHealth": get_region_backend_service_health -"/compute:beta/compute.regionBackendServices.getHealth/backendService": backend_service -"/compute:beta/compute.regionBackendServices.getHealth/project": project -"/compute:beta/compute.regionBackendServices.getHealth/region": region -"/compute:beta/compute.regionBackendServices.insert": insert_region_backend_service -"/compute:beta/compute.regionBackendServices.insert/project": project -"/compute:beta/compute.regionBackendServices.insert/region": region -"/compute:beta/compute.regionBackendServices.insert/requestId": request_id -"/compute:beta/compute.regionBackendServices.list": list_region_backend_services -"/compute:beta/compute.regionBackendServices.list/filter": filter -"/compute:beta/compute.regionBackendServices.list/maxResults": max_results -"/compute:beta/compute.regionBackendServices.list/orderBy": order_by -"/compute:beta/compute.regionBackendServices.list/pageToken": page_token -"/compute:beta/compute.regionBackendServices.list/project": project -"/compute:beta/compute.regionBackendServices.list/region": region -"/compute:beta/compute.regionBackendServices.patch": patch_region_backend_service -"/compute:beta/compute.regionBackendServices.patch/backendService": backend_service -"/compute:beta/compute.regionBackendServices.patch/project": project -"/compute:beta/compute.regionBackendServices.patch/region": region -"/compute:beta/compute.regionBackendServices.patch/requestId": request_id -"/compute:beta/compute.regionBackendServices.testIamPermissions": test_region_backend_service_iam_permissions -"/compute:beta/compute.regionBackendServices.testIamPermissions/project": project -"/compute:beta/compute.regionBackendServices.testIamPermissions/region": region -"/compute:beta/compute.regionBackendServices.testIamPermissions/resource": resource -"/compute:beta/compute.regionBackendServices.update": update_region_backend_service -"/compute:beta/compute.regionBackendServices.update/backendService": backend_service -"/compute:beta/compute.regionBackendServices.update/project": project -"/compute:beta/compute.regionBackendServices.update/region": region -"/compute:beta/compute.regionBackendServices.update/requestId": request_id -"/compute:beta/compute.regionCommitments.aggregatedList": aggregated_region_commitment_list -"/compute:beta/compute.regionCommitments.aggregatedList/filter": filter -"/compute:beta/compute.regionCommitments.aggregatedList/maxResults": max_results -"/compute:beta/compute.regionCommitments.aggregatedList/orderBy": order_by -"/compute:beta/compute.regionCommitments.aggregatedList/pageToken": page_token -"/compute:beta/compute.regionCommitments.aggregatedList/project": project -"/compute:beta/compute.regionCommitments.get": get_region_commitment -"/compute:beta/compute.regionCommitments.get/commitment": commitment -"/compute:beta/compute.regionCommitments.get/project": project -"/compute:beta/compute.regionCommitments.get/region": region -"/compute:beta/compute.regionCommitments.insert": insert_region_commitment -"/compute:beta/compute.regionCommitments.insert/project": project -"/compute:beta/compute.regionCommitments.insert/region": region -"/compute:beta/compute.regionCommitments.insert/requestId": request_id -"/compute:beta/compute.regionCommitments.list": list_region_commitments -"/compute:beta/compute.regionCommitments.list/filter": filter -"/compute:beta/compute.regionCommitments.list/maxResults": max_results -"/compute:beta/compute.regionCommitments.list/orderBy": order_by -"/compute:beta/compute.regionCommitments.list/pageToken": page_token -"/compute:beta/compute.regionCommitments.list/project": project -"/compute:beta/compute.regionCommitments.list/region": region -"/compute:beta/compute.regionInstanceGroupManagers.abandonInstances": abandon_region_instance_group_manager_instances -"/compute:beta/compute.regionInstanceGroupManagers.abandonInstances/instanceGroupManager": instance_group_manager -"/compute:beta/compute.regionInstanceGroupManagers.abandonInstances/project": project -"/compute:beta/compute.regionInstanceGroupManagers.abandonInstances/region": region -"/compute:beta/compute.regionInstanceGroupManagers.abandonInstances/requestId": request_id -"/compute:beta/compute.regionInstanceGroupManagers.delete": delete_region_instance_group_manager -"/compute:beta/compute.regionInstanceGroupManagers.delete/instanceGroupManager": instance_group_manager -"/compute:beta/compute.regionInstanceGroupManagers.delete/project": project -"/compute:beta/compute.regionInstanceGroupManagers.delete/region": region -"/compute:beta/compute.regionInstanceGroupManagers.delete/requestId": request_id -"/compute:beta/compute.regionInstanceGroupManagers.deleteInstances": delete_region_instance_group_manager_instances -"/compute:beta/compute.regionInstanceGroupManagers.deleteInstances/instanceGroupManager": instance_group_manager -"/compute:beta/compute.regionInstanceGroupManagers.deleteInstances/project": project -"/compute:beta/compute.regionInstanceGroupManagers.deleteInstances/region": region -"/compute:beta/compute.regionInstanceGroupManagers.deleteInstances/requestId": request_id -"/compute:beta/compute.regionInstanceGroupManagers.get": get_region_instance_group_manager -"/compute:beta/compute.regionInstanceGroupManagers.get/instanceGroupManager": instance_group_manager -"/compute:beta/compute.regionInstanceGroupManagers.get/project": project -"/compute:beta/compute.regionInstanceGroupManagers.get/region": region -"/compute:beta/compute.regionInstanceGroupManagers.insert": insert_region_instance_group_manager -"/compute:beta/compute.regionInstanceGroupManagers.insert/project": project -"/compute:beta/compute.regionInstanceGroupManagers.insert/region": region -"/compute:beta/compute.regionInstanceGroupManagers.insert/requestId": request_id -"/compute:beta/compute.regionInstanceGroupManagers.list": list_region_instance_group_managers -"/compute:beta/compute.regionInstanceGroupManagers.list/filter": filter -"/compute:beta/compute.regionInstanceGroupManagers.list/maxResults": max_results -"/compute:beta/compute.regionInstanceGroupManagers.list/orderBy": order_by -"/compute:beta/compute.regionInstanceGroupManagers.list/pageToken": page_token -"/compute:beta/compute.regionInstanceGroupManagers.list/project": project -"/compute:beta/compute.regionInstanceGroupManagers.list/region": region -"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances": list_region_instance_group_manager_managed_instances -"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/filter": filter -"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/instanceGroupManager": instance_group_manager -"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/maxResults": max_results -"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/order_by": order_by -"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/pageToken": page_token -"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/project": project -"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/region": region -"/compute:beta/compute.regionInstanceGroupManagers.patch": patch_region_instance_group_manager -"/compute:beta/compute.regionInstanceGroupManagers.patch/instanceGroupManager": instance_group_manager -"/compute:beta/compute.regionInstanceGroupManagers.patch/project": project -"/compute:beta/compute.regionInstanceGroupManagers.patch/region": region -"/compute:beta/compute.regionInstanceGroupManagers.patch/requestId": request_id -"/compute:beta/compute.regionInstanceGroupManagers.recreateInstances": recreate_region_instance_group_manager_instances -"/compute:beta/compute.regionInstanceGroupManagers.recreateInstances/instanceGroupManager": instance_group_manager -"/compute:beta/compute.regionInstanceGroupManagers.recreateInstances/project": project -"/compute:beta/compute.regionInstanceGroupManagers.recreateInstances/region": region -"/compute:beta/compute.regionInstanceGroupManagers.recreateInstances/requestId": request_id -"/compute:beta/compute.regionInstanceGroupManagers.resize": resize_region_instance_group_manager -"/compute:beta/compute.regionInstanceGroupManagers.resize/instanceGroupManager": instance_group_manager -"/compute:beta/compute.regionInstanceGroupManagers.resize/project": project -"/compute:beta/compute.regionInstanceGroupManagers.resize/region": region -"/compute:beta/compute.regionInstanceGroupManagers.resize/requestId": request_id -"/compute:beta/compute.regionInstanceGroupManagers.resize/size": size -"/compute:beta/compute.regionInstanceGroupManagers.setAutoHealingPolicies": set_region_instance_group_manager_auto_healing_policies -"/compute:beta/compute.regionInstanceGroupManagers.setAutoHealingPolicies/instanceGroupManager": instance_group_manager -"/compute:beta/compute.regionInstanceGroupManagers.setAutoHealingPolicies/project": project -"/compute:beta/compute.regionInstanceGroupManagers.setAutoHealingPolicies/region": region -"/compute:beta/compute.regionInstanceGroupManagers.setAutoHealingPolicies/requestId": request_id -"/compute:beta/compute.regionInstanceGroupManagers.setInstanceTemplate": set_region_instance_group_manager_instance_template -"/compute:beta/compute.regionInstanceGroupManagers.setInstanceTemplate/instanceGroupManager": instance_group_manager -"/compute:beta/compute.regionInstanceGroupManagers.setInstanceTemplate/project": project -"/compute:beta/compute.regionInstanceGroupManagers.setInstanceTemplate/region": region -"/compute:beta/compute.regionInstanceGroupManagers.setInstanceTemplate/requestId": request_id -"/compute:beta/compute.regionInstanceGroupManagers.setTargetPools": set_region_instance_group_manager_target_pools -"/compute:beta/compute.regionInstanceGroupManagers.setTargetPools/instanceGroupManager": instance_group_manager -"/compute:beta/compute.regionInstanceGroupManagers.setTargetPools/project": project -"/compute:beta/compute.regionInstanceGroupManagers.setTargetPools/region": region -"/compute:beta/compute.regionInstanceGroupManagers.setTargetPools/requestId": request_id -"/compute:beta/compute.regionInstanceGroupManagers.testIamPermissions": test_region_instance_group_manager_iam_permissions -"/compute:beta/compute.regionInstanceGroupManagers.testIamPermissions/project": project -"/compute:beta/compute.regionInstanceGroupManagers.testIamPermissions/region": region -"/compute:beta/compute.regionInstanceGroupManagers.testIamPermissions/resource": resource -"/compute:beta/compute.regionInstanceGroupManagers.update": update_region_instance_group_manager -"/compute:beta/compute.regionInstanceGroupManagers.update/instanceGroupManager": instance_group_manager -"/compute:beta/compute.regionInstanceGroupManagers.update/project": project -"/compute:beta/compute.regionInstanceGroupManagers.update/region": region -"/compute:beta/compute.regionInstanceGroupManagers.update/requestId": request_id -"/compute:beta/compute.regionInstanceGroups.get": get_region_instance_group -"/compute:beta/compute.regionInstanceGroups.get/instanceGroup": instance_group -"/compute:beta/compute.regionInstanceGroups.get/project": project -"/compute:beta/compute.regionInstanceGroups.get/region": region -"/compute:beta/compute.regionInstanceGroups.list": list_region_instance_groups -"/compute:beta/compute.regionInstanceGroups.list/filter": filter -"/compute:beta/compute.regionInstanceGroups.list/maxResults": max_results -"/compute:beta/compute.regionInstanceGroups.list/orderBy": order_by -"/compute:beta/compute.regionInstanceGroups.list/pageToken": page_token -"/compute:beta/compute.regionInstanceGroups.list/project": project -"/compute:beta/compute.regionInstanceGroups.list/region": region -"/compute:beta/compute.regionInstanceGroups.listInstances": list_region_instance_group_instances -"/compute:beta/compute.regionInstanceGroups.listInstances/filter": filter -"/compute:beta/compute.regionInstanceGroups.listInstances/instanceGroup": instance_group -"/compute:beta/compute.regionInstanceGroups.listInstances/maxResults": max_results -"/compute:beta/compute.regionInstanceGroups.listInstances/orderBy": order_by -"/compute:beta/compute.regionInstanceGroups.listInstances/pageToken": page_token -"/compute:beta/compute.regionInstanceGroups.listInstances/project": project -"/compute:beta/compute.regionInstanceGroups.listInstances/region": region -"/compute:beta/compute.regionInstanceGroups.setNamedPorts": set_region_instance_group_named_ports -"/compute:beta/compute.regionInstanceGroups.setNamedPorts/instanceGroup": instance_group -"/compute:beta/compute.regionInstanceGroups.setNamedPorts/project": project -"/compute:beta/compute.regionInstanceGroups.setNamedPorts/region": region -"/compute:beta/compute.regionInstanceGroups.setNamedPorts/requestId": request_id -"/compute:beta/compute.regionInstanceGroups.testIamPermissions": test_region_instance_group_iam_permissions -"/compute:beta/compute.regionInstanceGroups.testIamPermissions/project": project -"/compute:beta/compute.regionInstanceGroups.testIamPermissions/region": region -"/compute:beta/compute.regionInstanceGroups.testIamPermissions/resource": resource -"/compute:beta/compute.regionOperations.delete": delete_region_operation -"/compute:beta/compute.regionOperations.delete/operation": operation -"/compute:beta/compute.regionOperations.delete/project": project -"/compute:beta/compute.regionOperations.delete/region": region -"/compute:beta/compute.regionOperations.get": get_region_operation -"/compute:beta/compute.regionOperations.get/operation": operation -"/compute:beta/compute.regionOperations.get/project": project -"/compute:beta/compute.regionOperations.get/region": region -"/compute:beta/compute.regionOperations.list": list_region_operations -"/compute:beta/compute.regionOperations.list/filter": filter -"/compute:beta/compute.regionOperations.list/maxResults": max_results -"/compute:beta/compute.regionOperations.list/orderBy": order_by -"/compute:beta/compute.regionOperations.list/pageToken": page_token -"/compute:beta/compute.regionOperations.list/project": project -"/compute:beta/compute.regionOperations.list/region": region -"/compute:beta/compute.regions.get": get_region -"/compute:beta/compute.regions.get/project": project -"/compute:beta/compute.regions.get/region": region -"/compute:beta/compute.regions.list": list_regions -"/compute:beta/compute.regions.list/filter": filter -"/compute:beta/compute.regions.list/maxResults": max_results -"/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/requestId": request_id -"/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.insert/requestId": request_id -"/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/requestId": request_id -"/compute:beta/compute.routers.patch/router": router -"/compute:beta/compute.routers.preview": preview_router -"/compute:beta/compute.routers.preview/project": project -"/compute:beta/compute.routers.preview/region": region -"/compute:beta/compute.routers.preview/router": router -"/compute:beta/compute.routers.testIamPermissions": test_router_iam_permissions -"/compute:beta/compute.routers.testIamPermissions/project": project -"/compute:beta/compute.routers.testIamPermissions/region": region -"/compute:beta/compute.routers.testIamPermissions/resource": resource -"/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/requestId": request_id -"/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/requestId": request_id -"/compute:beta/compute.routes.delete/route": route -"/compute:beta/compute.routes.get": get_route -"/compute:beta/compute.routes.get/project": project -"/compute:beta/compute.routes.get/route": route -"/compute:beta/compute.routes.insert": insert_route -"/compute:beta/compute.routes.insert/project": project -"/compute:beta/compute.routes.insert/requestId": request_id -"/compute:beta/compute.routes.list": list_routes -"/compute:beta/compute.routes.list/filter": filter -"/compute:beta/compute.routes.list/maxResults": max_results -"/compute:beta/compute.routes.list/orderBy": order_by -"/compute:beta/compute.routes.list/pageToken": page_token -"/compute:beta/compute.routes.list/project": project -"/compute:beta/compute.routes.testIamPermissions": test_route_iam_permissions -"/compute:beta/compute.routes.testIamPermissions/project": project -"/compute:beta/compute.routes.testIamPermissions/resource": resource -"/compute:beta/compute.snapshots.delete": delete_snapshot -"/compute:beta/compute.snapshots.delete/project": project -"/compute:beta/compute.snapshots.delete/requestId": request_id -"/compute:beta/compute.snapshots.delete/snapshot": snapshot -"/compute:beta/compute.snapshots.get": get_snapshot -"/compute:beta/compute.snapshots.get/project": project -"/compute:beta/compute.snapshots.get/snapshot": snapshot -"/compute:beta/compute.snapshots.list": list_snapshots -"/compute:beta/compute.snapshots.list/filter": filter -"/compute:beta/compute.snapshots.list/maxResults": max_results -"/compute:beta/compute.snapshots.list/orderBy": order_by -"/compute:beta/compute.snapshots.list/pageToken": page_token -"/compute:beta/compute.snapshots.list/project": project -"/compute:beta/compute.snapshots.setLabels": set_snapshot_labels -"/compute:beta/compute.snapshots.setLabels/project": project -"/compute:beta/compute.snapshots.setLabels/resource": resource -"/compute:beta/compute.snapshots.testIamPermissions": test_snapshot_iam_permissions -"/compute:beta/compute.snapshots.testIamPermissions/project": project -"/compute:beta/compute.snapshots.testIamPermissions/resource": resource -"/compute:beta/compute.sslCertificates.delete": delete_ssl_certificate -"/compute:beta/compute.sslCertificates.delete/project": project -"/compute:beta/compute.sslCertificates.delete/requestId": request_id -"/compute:beta/compute.sslCertificates.delete/sslCertificate": ssl_certificate -"/compute:beta/compute.sslCertificates.get": get_ssl_certificate -"/compute:beta/compute.sslCertificates.get/project": project -"/compute:beta/compute.sslCertificates.get/sslCertificate": ssl_certificate -"/compute:beta/compute.sslCertificates.insert": insert_ssl_certificate -"/compute:beta/compute.sslCertificates.insert/project": project -"/compute:beta/compute.sslCertificates.insert/requestId": request_id -"/compute:beta/compute.sslCertificates.list": list_ssl_certificates -"/compute:beta/compute.sslCertificates.list/filter": filter -"/compute:beta/compute.sslCertificates.list/maxResults": max_results -"/compute:beta/compute.sslCertificates.list/orderBy": order_by -"/compute:beta/compute.sslCertificates.list/pageToken": page_token -"/compute:beta/compute.sslCertificates.list/project": project -"/compute:beta/compute.sslCertificates.testIamPermissions": test_ssl_certificate_iam_permissions -"/compute:beta/compute.sslCertificates.testIamPermissions/project": project -"/compute:beta/compute.sslCertificates.testIamPermissions/resource": resource -"/compute:beta/compute.subnetworks.aggregatedList/filter": filter -"/compute:beta/compute.subnetworks.aggregatedList/maxResults": max_results -"/compute:beta/compute.subnetworks.aggregatedList/orderBy": order_by -"/compute:beta/compute.subnetworks.aggregatedList/pageToken": page_token -"/compute:beta/compute.subnetworks.aggregatedList/project": project -"/compute:beta/compute.subnetworks.delete": delete_subnetwork -"/compute:beta/compute.subnetworks.delete/project": project -"/compute:beta/compute.subnetworks.delete/region": region -"/compute:beta/compute.subnetworks.delete/requestId": request_id -"/compute:beta/compute.subnetworks.delete/subnetwork": subnetwork -"/compute:beta/compute.subnetworks.expandIpCidrRange": expand_subnetwork_ip_cidr_range -"/compute:beta/compute.subnetworks.expandIpCidrRange/project": project -"/compute:beta/compute.subnetworks.expandIpCidrRange/region": region -"/compute:beta/compute.subnetworks.expandIpCidrRange/requestId": request_id -"/compute:beta/compute.subnetworks.expandIpCidrRange/subnetwork": subnetwork -"/compute:beta/compute.subnetworks.get": get_subnetwork -"/compute:beta/compute.subnetworks.get/project": project -"/compute:beta/compute.subnetworks.get/region": region -"/compute:beta/compute.subnetworks.get/subnetwork": subnetwork -"/compute:beta/compute.subnetworks.getIamPolicy": get_subnetwork_iam_policy -"/compute:beta/compute.subnetworks.getIamPolicy/project": project -"/compute:beta/compute.subnetworks.getIamPolicy/region": region -"/compute:beta/compute.subnetworks.getIamPolicy/resource": resource -"/compute:beta/compute.subnetworks.insert": insert_subnetwork -"/compute:beta/compute.subnetworks.insert/project": project -"/compute:beta/compute.subnetworks.insert/region": region -"/compute:beta/compute.subnetworks.insert/requestId": request_id -"/compute:beta/compute.subnetworks.list": list_subnetworks -"/compute:beta/compute.subnetworks.list/filter": filter -"/compute:beta/compute.subnetworks.list/maxResults": max_results -"/compute:beta/compute.subnetworks.list/orderBy": order_by -"/compute:beta/compute.subnetworks.list/pageToken": page_token -"/compute:beta/compute.subnetworks.list/project": project -"/compute:beta/compute.subnetworks.list/region": region -"/compute:beta/compute.subnetworks.setIamPolicy": set_subnetwork_iam_policy -"/compute:beta/compute.subnetworks.setIamPolicy/project": project -"/compute:beta/compute.subnetworks.setIamPolicy/region": region -"/compute:beta/compute.subnetworks.setIamPolicy/resource": resource -"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess": set_subnetwork_private_ip_google_access -"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess/project": project -"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess/region": region -"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess/requestId": request_id -"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess/subnetwork": subnetwork -"/compute:beta/compute.subnetworks.testIamPermissions": test_subnetwork_iam_permissions -"/compute:beta/compute.subnetworks.testIamPermissions/project": project -"/compute:beta/compute.subnetworks.testIamPermissions/region": region -"/compute:beta/compute.subnetworks.testIamPermissions/resource": resource -"/compute:beta/compute.targetHttpProxies.delete": delete_target_http_proxy -"/compute:beta/compute.targetHttpProxies.delete/project": project -"/compute:beta/compute.targetHttpProxies.delete/requestId": request_id -"/compute:beta/compute.targetHttpProxies.delete/targetHttpProxy": target_http_proxy -"/compute:beta/compute.targetHttpProxies.get": get_target_http_proxy -"/compute:beta/compute.targetHttpProxies.get/project": project -"/compute:beta/compute.targetHttpProxies.get/targetHttpProxy": target_http_proxy -"/compute:beta/compute.targetHttpProxies.insert": insert_target_http_proxy -"/compute:beta/compute.targetHttpProxies.insert/project": project -"/compute:beta/compute.targetHttpProxies.insert/requestId": request_id -"/compute:beta/compute.targetHttpProxies.list": list_target_http_proxies -"/compute:beta/compute.targetHttpProxies.list/filter": filter -"/compute:beta/compute.targetHttpProxies.list/maxResults": max_results -"/compute:beta/compute.targetHttpProxies.list/orderBy": order_by -"/compute:beta/compute.targetHttpProxies.list/pageToken": page_token -"/compute:beta/compute.targetHttpProxies.list/project": project -"/compute:beta/compute.targetHttpProxies.setUrlMap/project": project -"/compute:beta/compute.targetHttpProxies.setUrlMap/requestId": request_id -"/compute:beta/compute.targetHttpProxies.setUrlMap/targetHttpProxy": target_http_proxy -"/compute:beta/compute.targetHttpProxies.testIamPermissions": test_target_http_proxy_iam_permissions -"/compute:beta/compute.targetHttpProxies.testIamPermissions/project": project -"/compute:beta/compute.targetHttpProxies.testIamPermissions/resource": resource -"/compute:beta/compute.targetHttpsProxies.delete": delete_target_https_proxy -"/compute:beta/compute.targetHttpsProxies.delete/project": project -"/compute:beta/compute.targetHttpsProxies.delete/requestId": request_id -"/compute:beta/compute.targetHttpsProxies.delete/targetHttpsProxy": target_https_proxy -"/compute:beta/compute.targetHttpsProxies.get": get_target_https_proxy -"/compute:beta/compute.targetHttpsProxies.get/project": project -"/compute:beta/compute.targetHttpsProxies.get/targetHttpsProxy": target_https_proxy -"/compute:beta/compute.targetHttpsProxies.insert": insert_target_https_proxy -"/compute:beta/compute.targetHttpsProxies.insert/project": project -"/compute:beta/compute.targetHttpsProxies.insert/requestId": request_id -"/compute:beta/compute.targetHttpsProxies.list": list_target_https_proxies -"/compute:beta/compute.targetHttpsProxies.list/filter": filter -"/compute:beta/compute.targetHttpsProxies.list/maxResults": max_results -"/compute:beta/compute.targetHttpsProxies.list/orderBy": order_by -"/compute:beta/compute.targetHttpsProxies.list/pageToken": page_token -"/compute:beta/compute.targetHttpsProxies.list/project": project -"/compute:beta/compute.targetHttpsProxies.setSslCertificates": set_target_https_proxy_ssl_certificates -"/compute:beta/compute.targetHttpsProxies.setSslCertificates/project": project -"/compute:beta/compute.targetHttpsProxies.setSslCertificates/requestId": request_id -"/compute:beta/compute.targetHttpsProxies.setSslCertificates/targetHttpsProxy": target_https_proxy -"/compute:beta/compute.targetHttpsProxies.setUrlMap": set_target_https_proxy_url_map -"/compute:beta/compute.targetHttpsProxies.setUrlMap/project": project -"/compute:beta/compute.targetHttpsProxies.setUrlMap/requestId": request_id -"/compute:beta/compute.targetHttpsProxies.setUrlMap/targetHttpsProxy": target_https_proxy -"/compute:beta/compute.targetHttpsProxies.testIamPermissions": test_target_https_proxy_iam_permissions -"/compute:beta/compute.targetHttpsProxies.testIamPermissions/project": project -"/compute:beta/compute.targetHttpsProxies.testIamPermissions/resource": resource -"/compute:beta/compute.targetInstances.aggregatedList/filter": filter -"/compute:beta/compute.targetInstances.aggregatedList/maxResults": max_results -"/compute:beta/compute.targetInstances.aggregatedList/orderBy": order_by -"/compute:beta/compute.targetInstances.aggregatedList/pageToken": page_token -"/compute:beta/compute.targetInstances.aggregatedList/project": project -"/compute:beta/compute.targetInstances.delete": delete_target_instance -"/compute:beta/compute.targetInstances.delete/project": project -"/compute:beta/compute.targetInstances.delete/requestId": request_id -"/compute:beta/compute.targetInstances.delete/targetInstance": target_instance -"/compute:beta/compute.targetInstances.delete/zone": zone -"/compute:beta/compute.targetInstances.get": get_target_instance -"/compute:beta/compute.targetInstances.get/project": project -"/compute:beta/compute.targetInstances.get/targetInstance": target_instance -"/compute:beta/compute.targetInstances.get/zone": zone -"/compute:beta/compute.targetInstances.insert": insert_target_instance -"/compute:beta/compute.targetInstances.insert/project": project -"/compute:beta/compute.targetInstances.insert/requestId": request_id -"/compute:beta/compute.targetInstances.insert/zone": zone -"/compute:beta/compute.targetInstances.list": list_target_instances -"/compute:beta/compute.targetInstances.list/filter": filter -"/compute:beta/compute.targetInstances.list/maxResults": max_results -"/compute:beta/compute.targetInstances.list/orderBy": order_by -"/compute:beta/compute.targetInstances.list/pageToken": page_token -"/compute:beta/compute.targetInstances.list/project": project -"/compute:beta/compute.targetInstances.list/zone": zone -"/compute:beta/compute.targetInstances.testIamPermissions": test_target_instance_iam_permissions -"/compute:beta/compute.targetInstances.testIamPermissions/project": project -"/compute:beta/compute.targetInstances.testIamPermissions/resource": resource -"/compute:beta/compute.targetInstances.testIamPermissions/zone": zone -"/compute:beta/compute.targetPools.addHealthCheck/project": project -"/compute:beta/compute.targetPools.addHealthCheck/region": region -"/compute:beta/compute.targetPools.addHealthCheck/requestId": request_id -"/compute:beta/compute.targetPools.addHealthCheck/targetPool": target_pool -"/compute:beta/compute.targetPools.addInstance/project": project -"/compute:beta/compute.targetPools.addInstance/region": region -"/compute:beta/compute.targetPools.addInstance/requestId": request_id -"/compute:beta/compute.targetPools.addInstance/targetPool": target_pool -"/compute:beta/compute.targetPools.aggregatedList/filter": filter -"/compute:beta/compute.targetPools.aggregatedList/maxResults": max_results -"/compute:beta/compute.targetPools.aggregatedList/orderBy": order_by -"/compute:beta/compute.targetPools.aggregatedList/pageToken": page_token -"/compute:beta/compute.targetPools.aggregatedList/project": project -"/compute:beta/compute.targetPools.delete": delete_target_pool -"/compute:beta/compute.targetPools.delete/project": project -"/compute:beta/compute.targetPools.delete/region": region -"/compute:beta/compute.targetPools.delete/requestId": request_id -"/compute:beta/compute.targetPools.delete/targetPool": target_pool -"/compute:beta/compute.targetPools.get": get_target_pool -"/compute:beta/compute.targetPools.get/project": project -"/compute:beta/compute.targetPools.get/region": region -"/compute:beta/compute.targetPools.get/targetPool": target_pool -"/compute:beta/compute.targetPools.getHealth/project": project -"/compute:beta/compute.targetPools.getHealth/region": region -"/compute:beta/compute.targetPools.getHealth/targetPool": target_pool -"/compute:beta/compute.targetPools.insert": insert_target_pool -"/compute:beta/compute.targetPools.insert/project": project -"/compute:beta/compute.targetPools.insert/region": region -"/compute:beta/compute.targetPools.insert/requestId": request_id -"/compute:beta/compute.targetPools.list": list_target_pools -"/compute:beta/compute.targetPools.list/filter": filter -"/compute:beta/compute.targetPools.list/maxResults": max_results -"/compute:beta/compute.targetPools.list/orderBy": order_by -"/compute:beta/compute.targetPools.list/pageToken": page_token -"/compute:beta/compute.targetPools.list/project": project -"/compute:beta/compute.targetPools.list/region": region -"/compute:beta/compute.targetPools.removeHealthCheck/project": project -"/compute:beta/compute.targetPools.removeHealthCheck/region": region -"/compute:beta/compute.targetPools.removeHealthCheck/requestId": request_id -"/compute:beta/compute.targetPools.removeHealthCheck/targetPool": target_pool -"/compute:beta/compute.targetPools.removeInstance/project": project -"/compute:beta/compute.targetPools.removeInstance/region": region -"/compute:beta/compute.targetPools.removeInstance/requestId": request_id -"/compute:beta/compute.targetPools.removeInstance/targetPool": target_pool -"/compute:beta/compute.targetPools.setBackup/failoverRatio": failover_ratio -"/compute:beta/compute.targetPools.setBackup/project": project -"/compute:beta/compute.targetPools.setBackup/region": region -"/compute:beta/compute.targetPools.setBackup/requestId": request_id -"/compute:beta/compute.targetPools.setBackup/targetPool": target_pool -"/compute:beta/compute.targetPools.testIamPermissions": test_target_pool_iam_permissions -"/compute:beta/compute.targetPools.testIamPermissions/project": project -"/compute:beta/compute.targetPools.testIamPermissions/region": region -"/compute:beta/compute.targetPools.testIamPermissions/resource": resource -"/compute:beta/compute.targetSslProxies.delete": delete_target_ssl_proxy -"/compute:beta/compute.targetSslProxies.delete/project": project -"/compute:beta/compute.targetSslProxies.delete/requestId": request_id -"/compute:beta/compute.targetSslProxies.delete/targetSslProxy": target_ssl_proxy -"/compute:beta/compute.targetSslProxies.get": get_target_ssl_proxy -"/compute:beta/compute.targetSslProxies.get/project": project -"/compute:beta/compute.targetSslProxies.get/targetSslProxy": target_ssl_proxy -"/compute:beta/compute.targetSslProxies.insert": insert_target_ssl_proxy -"/compute:beta/compute.targetSslProxies.insert/project": project -"/compute:beta/compute.targetSslProxies.insert/requestId": request_id -"/compute:beta/compute.targetSslProxies.list": list_target_ssl_proxies -"/compute:beta/compute.targetSslProxies.list/filter": filter -"/compute:beta/compute.targetSslProxies.list/maxResults": max_results -"/compute:beta/compute.targetSslProxies.list/orderBy": order_by -"/compute:beta/compute.targetSslProxies.list/pageToken": page_token -"/compute:beta/compute.targetSslProxies.list/project": project -"/compute:beta/compute.targetSslProxies.setBackendService": set_target_ssl_proxy_backend_service -"/compute:beta/compute.targetSslProxies.setBackendService/project": project -"/compute:beta/compute.targetSslProxies.setBackendService/requestId": request_id -"/compute:beta/compute.targetSslProxies.setBackendService/targetSslProxy": target_ssl_proxy -"/compute:beta/compute.targetSslProxies.setProxyHeader": set_target_ssl_proxy_proxy_header -"/compute:beta/compute.targetSslProxies.setProxyHeader/project": project -"/compute:beta/compute.targetSslProxies.setProxyHeader/requestId": request_id -"/compute:beta/compute.targetSslProxies.setProxyHeader/targetSslProxy": target_ssl_proxy -"/compute:beta/compute.targetSslProxies.setSslCertificates": set_target_ssl_proxy_ssl_certificates -"/compute:beta/compute.targetSslProxies.setSslCertificates/project": project -"/compute:beta/compute.targetSslProxies.setSslCertificates/requestId": request_id -"/compute:beta/compute.targetSslProxies.setSslCertificates/targetSslProxy": target_ssl_proxy -"/compute:beta/compute.targetSslProxies.testIamPermissions": test_target_ssl_proxy_iam_permissions -"/compute:beta/compute.targetSslProxies.testIamPermissions/project": project -"/compute:beta/compute.targetSslProxies.testIamPermissions/resource": resource -"/compute:beta/compute.targetTcpProxies.delete": delete_target_tcp_proxy -"/compute:beta/compute.targetTcpProxies.delete/project": project -"/compute:beta/compute.targetTcpProxies.delete/requestId": request_id -"/compute:beta/compute.targetTcpProxies.delete/targetTcpProxy": target_tcp_proxy -"/compute:beta/compute.targetTcpProxies.get": get_target_tcp_proxy -"/compute:beta/compute.targetTcpProxies.get/project": project -"/compute:beta/compute.targetTcpProxies.get/targetTcpProxy": target_tcp_proxy -"/compute:beta/compute.targetTcpProxies.insert": insert_target_tcp_proxy -"/compute:beta/compute.targetTcpProxies.insert/project": project -"/compute:beta/compute.targetTcpProxies.insert/requestId": request_id -"/compute:beta/compute.targetTcpProxies.list": list_target_tcp_proxies -"/compute:beta/compute.targetTcpProxies.list/filter": filter -"/compute:beta/compute.targetTcpProxies.list/maxResults": max_results -"/compute:beta/compute.targetTcpProxies.list/orderBy": order_by -"/compute:beta/compute.targetTcpProxies.list/pageToken": page_token -"/compute:beta/compute.targetTcpProxies.list/project": project -"/compute:beta/compute.targetTcpProxies.setBackendService": set_target_tcp_proxy_backend_service -"/compute:beta/compute.targetTcpProxies.setBackendService/project": project -"/compute:beta/compute.targetTcpProxies.setBackendService/requestId": request_id -"/compute:beta/compute.targetTcpProxies.setBackendService/targetTcpProxy": target_tcp_proxy -"/compute:beta/compute.targetTcpProxies.setProxyHeader": set_target_tcp_proxy_proxy_header -"/compute:beta/compute.targetTcpProxies.setProxyHeader/project": project -"/compute:beta/compute.targetTcpProxies.setProxyHeader/requestId": request_id -"/compute:beta/compute.targetTcpProxies.setProxyHeader/targetTcpProxy": target_tcp_proxy -"/compute:beta/compute.targetVpnGateways.aggregatedList/filter": filter -"/compute:beta/compute.targetVpnGateways.aggregatedList/maxResults": max_results -"/compute:beta/compute.targetVpnGateways.aggregatedList/orderBy": order_by -"/compute:beta/compute.targetVpnGateways.aggregatedList/pageToken": page_token -"/compute:beta/compute.targetVpnGateways.aggregatedList/project": project -"/compute:beta/compute.targetVpnGateways.delete/project": project -"/compute:beta/compute.targetVpnGateways.delete/region": region -"/compute:beta/compute.targetVpnGateways.delete/requestId": request_id -"/compute:beta/compute.targetVpnGateways.delete/targetVpnGateway": target_vpn_gateway -"/compute:beta/compute.targetVpnGateways.get/project": project -"/compute:beta/compute.targetVpnGateways.get/region": region -"/compute:beta/compute.targetVpnGateways.get/targetVpnGateway": target_vpn_gateway -"/compute:beta/compute.targetVpnGateways.insert/project": project -"/compute:beta/compute.targetVpnGateways.insert/region": region -"/compute:beta/compute.targetVpnGateways.insert/requestId": request_id -"/compute:beta/compute.targetVpnGateways.list/filter": filter -"/compute:beta/compute.targetVpnGateways.list/maxResults": max_results -"/compute:beta/compute.targetVpnGateways.list/orderBy": order_by -"/compute:beta/compute.targetVpnGateways.list/pageToken": page_token -"/compute:beta/compute.targetVpnGateways.list/project": project -"/compute:beta/compute.targetVpnGateways.list/region": region -"/compute:beta/compute.targetVpnGateways.testIamPermissions": test_target_vpn_gateway_iam_permissions -"/compute:beta/compute.targetVpnGateways.testIamPermissions/project": project -"/compute:beta/compute.targetVpnGateways.testIamPermissions/region": region -"/compute:beta/compute.targetVpnGateways.testIamPermissions/resource": resource -"/compute:beta/compute.urlMaps.delete": delete_url_map -"/compute:beta/compute.urlMaps.delete/project": project -"/compute:beta/compute.urlMaps.delete/requestId": request_id -"/compute:beta/compute.urlMaps.delete/urlMap": url_map -"/compute:beta/compute.urlMaps.get": get_url_map -"/compute:beta/compute.urlMaps.get/project": project -"/compute:beta/compute.urlMaps.get/urlMap": url_map -"/compute:beta/compute.urlMaps.insert": insert_url_map -"/compute:beta/compute.urlMaps.insert/project": project -"/compute:beta/compute.urlMaps.insert/requestId": request_id -"/compute:beta/compute.urlMaps.invalidateCache": invalidate_url_map_cache -"/compute:beta/compute.urlMaps.invalidateCache/project": project -"/compute:beta/compute.urlMaps.invalidateCache/requestId": request_id -"/compute:beta/compute.urlMaps.invalidateCache/urlMap": url_map -"/compute:beta/compute.urlMaps.list": list_url_maps -"/compute:beta/compute.urlMaps.list/filter": filter -"/compute:beta/compute.urlMaps.list/maxResults": max_results -"/compute:beta/compute.urlMaps.list/orderBy": order_by -"/compute:beta/compute.urlMaps.list/pageToken": page_token -"/compute:beta/compute.urlMaps.list/project": project -"/compute:beta/compute.urlMaps.patch": patch_url_map -"/compute:beta/compute.urlMaps.patch/project": project -"/compute:beta/compute.urlMaps.patch/requestId": request_id -"/compute:beta/compute.urlMaps.patch/urlMap": url_map -"/compute:beta/compute.urlMaps.testIamPermissions": test_url_map_iam_permissions -"/compute:beta/compute.urlMaps.testIamPermissions/project": project -"/compute:beta/compute.urlMaps.testIamPermissions/resource": resource -"/compute:beta/compute.urlMaps.update": update_url_map -"/compute:beta/compute.urlMaps.update/project": project -"/compute:beta/compute.urlMaps.update/requestId": request_id -"/compute:beta/compute.urlMaps.update/urlMap": url_map -"/compute:beta/compute.urlMaps.validate": validate_url_map -"/compute:beta/compute.urlMaps.validate/project": project -"/compute:beta/compute.urlMaps.validate/urlMap": url_map -"/compute:beta/compute.vpnTunnels.aggregatedList/filter": filter -"/compute:beta/compute.vpnTunnels.aggregatedList/maxResults": max_results -"/compute:beta/compute.vpnTunnels.aggregatedList/orderBy": order_by -"/compute:beta/compute.vpnTunnels.aggregatedList/pageToken": page_token -"/compute:beta/compute.vpnTunnels.aggregatedList/project": project -"/compute:beta/compute.vpnTunnels.delete": delete_vpn_tunnel -"/compute:beta/compute.vpnTunnels.delete/project": project -"/compute:beta/compute.vpnTunnels.delete/region": region -"/compute:beta/compute.vpnTunnels.delete/requestId": request_id -"/compute:beta/compute.vpnTunnels.delete/vpnTunnel": vpn_tunnel -"/compute:beta/compute.vpnTunnels.get": get_vpn_tunnel -"/compute:beta/compute.vpnTunnels.get/project": project -"/compute:beta/compute.vpnTunnels.get/region": region -"/compute:beta/compute.vpnTunnels.get/vpnTunnel": vpn_tunnel -"/compute:beta/compute.vpnTunnels.insert": insert_vpn_tunnel -"/compute:beta/compute.vpnTunnels.insert/project": project -"/compute:beta/compute.vpnTunnels.insert/region": region -"/compute:beta/compute.vpnTunnels.insert/requestId": request_id -"/compute:beta/compute.vpnTunnels.list": list_vpn_tunnels -"/compute:beta/compute.vpnTunnels.list/filter": filter -"/compute:beta/compute.vpnTunnels.list/maxResults": max_results -"/compute:beta/compute.vpnTunnels.list/orderBy": order_by -"/compute:beta/compute.vpnTunnels.list/pageToken": page_token -"/compute:beta/compute.vpnTunnels.list/project": project -"/compute:beta/compute.vpnTunnels.list/region": region -"/compute:beta/compute.vpnTunnels.testIamPermissions": test_vpn_tunnel_iam_permissions -"/compute:beta/compute.vpnTunnels.testIamPermissions/project": project -"/compute:beta/compute.vpnTunnels.testIamPermissions/region": region -"/compute:beta/compute.vpnTunnels.testIamPermissions/resource": resource -"/compute:beta/compute.zoneOperations.delete": delete_zone_operation -"/compute:beta/compute.zoneOperations.delete/operation": operation -"/compute:beta/compute.zoneOperations.delete/project": project -"/compute:beta/compute.zoneOperations.delete/zone": zone -"/compute:beta/compute.zoneOperations.get": get_zone_operation -"/compute:beta/compute.zoneOperations.get/operation": operation -"/compute:beta/compute.zoneOperations.get/project": project -"/compute:beta/compute.zoneOperations.get/zone": zone -"/compute:beta/compute.zoneOperations.list": list_zone_operations -"/compute:beta/compute.zoneOperations.list/filter": filter -"/compute:beta/compute.zoneOperations.list/maxResults": max_results -"/compute:beta/compute.zoneOperations.list/orderBy": order_by -"/compute:beta/compute.zoneOperations.list/pageToken": page_token -"/compute:beta/compute.zoneOperations.list/project": project -"/compute:beta/compute.zoneOperations.list/zone": zone -"/compute:beta/compute.zones.get": get_zone -"/compute:beta/compute.zones.get/project": project -"/compute:beta/compute.zones.get/zone": zone -"/compute:beta/compute.zones.list": list_zones -"/compute:beta/compute.zones.list/filter": filter -"/compute:beta/compute.zones.list/maxResults": max_results -"/compute:beta/compute.zones.list/orderBy": order_by -"/compute:beta/compute.zones.list/pageToken": page_token -"/compute:beta/compute.zones.list/project": project -"/compute:beta/AcceleratorConfig": accelerator_config -"/compute:beta/AcceleratorConfig/acceleratorCount": accelerator_count -"/compute:beta/AcceleratorConfig/acceleratorType": accelerator_type -"/compute:beta/AcceleratorType": accelerator_type -"/compute:beta/AcceleratorType/creationTimestamp": creation_timestamp -"/compute:beta/AcceleratorType/deprecated": deprecated -"/compute:beta/AcceleratorType/description": description -"/compute:beta/AcceleratorType/id": id -"/compute:beta/AcceleratorType/kind": kind -"/compute:beta/AcceleratorType/maximumCardsPerInstance": maximum_cards_per_instance -"/compute:beta/AcceleratorType/name": name -"/compute:beta/AcceleratorType/selfLink": self_link -"/compute:beta/AcceleratorType/zone": zone -"/compute:beta/AcceleratorTypeAggregatedList": accelerator_type_aggregated_list -"/compute:beta/AcceleratorTypeAggregatedList/id": id -"/compute:beta/AcceleratorTypeAggregatedList/items": items -"/compute:beta/AcceleratorTypeAggregatedList/items/item": item -"/compute:beta/AcceleratorTypeAggregatedList/kind": kind -"/compute:beta/AcceleratorTypeAggregatedList/nextPageToken": next_page_token -"/compute:beta/AcceleratorTypeAggregatedList/selfLink": self_link -"/compute:beta/AcceleratorTypeList": accelerator_type_list -"/compute:beta/AcceleratorTypeList/id": id -"/compute:beta/AcceleratorTypeList/items": items -"/compute:beta/AcceleratorTypeList/items/item": item -"/compute:beta/AcceleratorTypeList/kind": kind -"/compute:beta/AcceleratorTypeList/nextPageToken": next_page_token -"/compute:beta/AcceleratorTypeList/selfLink": self_link -"/compute:beta/AcceleratorTypesScopedList": accelerator_types_scoped_list -"/compute:beta/AcceleratorTypesScopedList/acceleratorTypes": accelerator_types -"/compute:beta/AcceleratorTypesScopedList/acceleratorTypes/accelerator_type": accelerator_type -"/compute:beta/AcceleratorTypesScopedList/warning": warning -"/compute:beta/AcceleratorTypesScopedList/warning/code": code -"/compute:beta/AcceleratorTypesScopedList/warning/data": data -"/compute:beta/AcceleratorTypesScopedList/warning/data/datum": datum -"/compute:beta/AcceleratorTypesScopedList/warning/data/datum/key": key -"/compute:beta/AcceleratorTypesScopedList/warning/data/datum/value": value -"/compute:beta/AcceleratorTypesScopedList/warning/message": message -"/compute:beta/AccessConfig": access_config -"/compute:beta/AccessConfig/kind": kind -"/compute:beta/AccessConfig/name": name -"/compute:beta/AccessConfig/natIP": nat_ip -"/compute:beta/AccessConfig/type": type -"/compute:beta/Address": address -"/compute:beta/Address/address": address -"/compute:beta/Address/creationTimestamp": creation_timestamp -"/compute:beta/Address/description": description -"/compute:beta/Address/id": id -"/compute:beta/Address/ipVersion": ip_version -"/compute:beta/Address/kind": kind -"/compute:beta/Address/labelFingerprint": label_fingerprint -"/compute:beta/Address/labels": labels -"/compute:beta/Address/labels/label": label -"/compute:beta/Address/name": name -"/compute:beta/Address/region": region -"/compute:beta/Address/selfLink": self_link -"/compute:beta/Address/status": status -"/compute:beta/Address/users": users -"/compute:beta/Address/users/user": user -"/compute:beta/AddressAggregatedList": address_aggregated_list -"/compute:beta/AddressAggregatedList/id": id -"/compute:beta/AddressAggregatedList/items": items -"/compute:beta/AddressAggregatedList/items/item": item -"/compute:beta/AddressAggregatedList/kind": kind -"/compute:beta/AddressAggregatedList/nextPageToken": next_page_token -"/compute:beta/AddressAggregatedList/selfLink": self_link -"/compute:beta/AddressList": address_list -"/compute:beta/AddressList/id": id -"/compute:beta/AddressList/items": items -"/compute:beta/AddressList/items/item": item -"/compute:beta/AddressList/kind": kind -"/compute:beta/AddressList/nextPageToken": next_page_token -"/compute:beta/AddressList/selfLink": self_link -"/compute:beta/AddressesScopedList": addresses_scoped_list -"/compute:beta/AddressesScopedList/addresses": addresses -"/compute:beta/AddressesScopedList/addresses/address": address -"/compute:beta/AddressesScopedList/warning": warning -"/compute:beta/AddressesScopedList/warning/code": code -"/compute:beta/AddressesScopedList/warning/data": data -"/compute:beta/AddressesScopedList/warning/data/datum": datum -"/compute:beta/AddressesScopedList/warning/data/datum/key": key -"/compute:beta/AddressesScopedList/warning/data/datum/value": value -"/compute:beta/AddressesScopedList/warning/message": message -"/compute:beta/AliasIpRange": alias_ip_range -"/compute:beta/AliasIpRange/ipCidrRange": ip_cidr_range -"/compute:beta/AliasIpRange/subnetworkRangeName": subnetwork_range_name -"/compute:beta/AttachedDisk": attached_disk -"/compute:beta/AttachedDisk/autoDelete": auto_delete -"/compute:beta/AttachedDisk/boot": boot -"/compute:beta/AttachedDisk/deviceName": device_name -"/compute:beta/AttachedDisk/diskEncryptionKey": disk_encryption_key -"/compute:beta/AttachedDisk/index": index -"/compute:beta/AttachedDisk/initializeParams": initialize_params -"/compute:beta/AttachedDisk/interface": interface -"/compute:beta/AttachedDisk/kind": kind -"/compute:beta/AttachedDisk/licenses": licenses -"/compute:beta/AttachedDisk/licenses/license": license -"/compute:beta/AttachedDisk/mode": mode -"/compute:beta/AttachedDisk/source": source -"/compute:beta/AttachedDisk/type": type -"/compute:beta/AttachedDiskInitializeParams": attached_disk_initialize_params -"/compute:beta/AttachedDiskInitializeParams/diskName": disk_name -"/compute:beta/AttachedDiskInitializeParams/diskSizeGb": disk_size_gb -"/compute:beta/AttachedDiskInitializeParams/diskStorageType": disk_storage_type -"/compute:beta/AttachedDiskInitializeParams/diskType": disk_type -"/compute:beta/AttachedDiskInitializeParams/sourceImage": source_image -"/compute:beta/AttachedDiskInitializeParams/sourceImageEncryptionKey": source_image_encryption_key -"/compute:beta/AuditConfig": audit_config -"/compute:beta/AuditConfig/auditLogConfigs": audit_log_configs -"/compute:beta/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config -"/compute:beta/AuditConfig/exemptedMembers": exempted_members -"/compute:beta/AuditConfig/exemptedMembers/exempted_member": exempted_member -"/compute:beta/AuditConfig/service": service -"/compute:beta/AuditLogConfig": audit_log_config -"/compute:beta/AuditLogConfig/exemptedMembers": exempted_members -"/compute:beta/AuditLogConfig/exemptedMembers/exempted_member": exempted_member -"/compute:beta/AuditLogConfig/logType": log_type -"/compute:beta/Autoscaler": autoscaler -"/compute:beta/Autoscaler/autoscalingPolicy": autoscaling_policy -"/compute:beta/Autoscaler/creationTimestamp": creation_timestamp -"/compute:beta/Autoscaler/description": description -"/compute:beta/Autoscaler/id": id -"/compute:beta/Autoscaler/kind": kind -"/compute:beta/Autoscaler/name": name -"/compute:beta/Autoscaler/region": region -"/compute:beta/Autoscaler/selfLink": self_link -"/compute:beta/Autoscaler/status": status -"/compute:beta/Autoscaler/statusDetails": status_details -"/compute:beta/Autoscaler/statusDetails/status_detail": status_detail -"/compute:beta/Autoscaler/target": target -"/compute:beta/Autoscaler/zone": zone -"/compute:beta/AutoscalerAggregatedList": autoscaler_aggregated_list -"/compute:beta/AutoscalerAggregatedList/id": id -"/compute:beta/AutoscalerAggregatedList/items": items -"/compute:beta/AutoscalerAggregatedList/items/item": item -"/compute:beta/AutoscalerAggregatedList/kind": kind -"/compute:beta/AutoscalerAggregatedList/nextPageToken": next_page_token -"/compute:beta/AutoscalerAggregatedList/selfLink": self_link -"/compute:beta/AutoscalerList": autoscaler_list -"/compute:beta/AutoscalerList/id": id -"/compute:beta/AutoscalerList/items": items -"/compute:beta/AutoscalerList/items/item": item -"/compute:beta/AutoscalerList/kind": kind -"/compute:beta/AutoscalerList/nextPageToken": next_page_token -"/compute:beta/AutoscalerList/selfLink": self_link -"/compute:beta/AutoscalerStatusDetails": autoscaler_status_details -"/compute:beta/AutoscalerStatusDetails/message": message -"/compute:beta/AutoscalerStatusDetails/type": type -"/compute:beta/AutoscalersScopedList": autoscalers_scoped_list -"/compute:beta/AutoscalersScopedList/autoscalers": autoscalers -"/compute:beta/AutoscalersScopedList/autoscalers/autoscaler": autoscaler -"/compute:beta/AutoscalersScopedList/warning": warning -"/compute:beta/AutoscalersScopedList/warning/code": code -"/compute:beta/AutoscalersScopedList/warning/data": data -"/compute:beta/AutoscalersScopedList/warning/data/datum": datum -"/compute:beta/AutoscalersScopedList/warning/data/datum/key": key -"/compute:beta/AutoscalersScopedList/warning/data/datum/value": value -"/compute:beta/AutoscalersScopedList/warning/message": message -"/compute:beta/AutoscalingPolicy": autoscaling_policy -"/compute:beta/AutoscalingPolicy/coolDownPeriodSec": cool_down_period_sec -"/compute:beta/AutoscalingPolicy/cpuUtilization": cpu_utilization -"/compute:beta/AutoscalingPolicy/customMetricUtilizations": custom_metric_utilizations -"/compute:beta/AutoscalingPolicy/customMetricUtilizations/custom_metric_utilization": custom_metric_utilization -"/compute:beta/AutoscalingPolicy/loadBalancingUtilization": load_balancing_utilization -"/compute:beta/AutoscalingPolicy/maxNumReplicas": max_num_replicas -"/compute:beta/AutoscalingPolicy/minNumReplicas": min_num_replicas -"/compute:beta/AutoscalingPolicyCpuUtilization": autoscaling_policy_cpu_utilization -"/compute:beta/AutoscalingPolicyCpuUtilization/utilizationTarget": utilization_target -"/compute:beta/AutoscalingPolicyCustomMetricUtilization": autoscaling_policy_custom_metric_utilization -"/compute:beta/AutoscalingPolicyCustomMetricUtilization/filter": filter -"/compute:beta/AutoscalingPolicyCustomMetricUtilization/metric": metric -"/compute:beta/AutoscalingPolicyCustomMetricUtilization/singleInstanceAssignment": single_instance_assignment -"/compute:beta/AutoscalingPolicyCustomMetricUtilization/utilizationTarget": utilization_target -"/compute:beta/AutoscalingPolicyCustomMetricUtilization/utilizationTargetType": utilization_target_type -"/compute:beta/AutoscalingPolicyLoadBalancingUtilization": autoscaling_policy_load_balancing_utilization -"/compute:beta/AutoscalingPolicyLoadBalancingUtilization/utilizationTarget": utilization_target -"/compute:beta/Backend": backend -"/compute:beta/Backend/balancingMode": balancing_mode -"/compute:beta/Backend/capacityScaler": capacity_scaler -"/compute:beta/Backend/description": description -"/compute:beta/Backend/group": group -"/compute:beta/Backend/maxConnections": max_connections -"/compute:beta/Backend/maxConnectionsPerInstance": max_connections_per_instance -"/compute:beta/Backend/maxRate": max_rate -"/compute:beta/Backend/maxRatePerInstance": max_rate_per_instance -"/compute:beta/Backend/maxUtilization": max_utilization -"/compute:beta/BackendBucket": backend_bucket -"/compute:beta/BackendBucket/bucketName": bucket_name -"/compute:beta/BackendBucket/creationTimestamp": creation_timestamp -"/compute:beta/BackendBucket/description": description -"/compute:beta/BackendBucket/enableCdn": enable_cdn -"/compute:beta/BackendBucket/id": id -"/compute:beta/BackendBucket/kind": kind -"/compute:beta/BackendBucket/name": name -"/compute:beta/BackendBucket/selfLink": self_link -"/compute:beta/BackendBucketList": backend_bucket_list -"/compute:beta/BackendBucketList/id": id -"/compute:beta/BackendBucketList/items": items -"/compute:beta/BackendBucketList/items/item": item -"/compute:beta/BackendBucketList/kind": kind -"/compute:beta/BackendBucketList/nextPageToken": next_page_token -"/compute:beta/BackendBucketList/selfLink": self_link -"/compute:beta/BackendService": backend_service -"/compute:beta/BackendService/affinityCookieTtlSec": affinity_cookie_ttl_sec -"/compute:beta/BackendService/backends": backends -"/compute:beta/BackendService/backends/backend": backend -"/compute:beta/BackendService/cdnPolicy": cdn_policy -"/compute:beta/BackendService/connectionDraining": connection_draining -"/compute:beta/BackendService/creationTimestamp": creation_timestamp -"/compute:beta/BackendService/description": description -"/compute:beta/BackendService/enableCDN": enable_cdn -"/compute:beta/BackendService/fingerprint": fingerprint -"/compute:beta/BackendService/healthChecks": health_checks -"/compute:beta/BackendService/healthChecks/health_check": health_check -"/compute:beta/BackendService/iap": iap -"/compute:beta/BackendService/id": id -"/compute:beta/BackendService/kind": kind -"/compute:beta/BackendService/loadBalancingScheme": load_balancing_scheme -"/compute:beta/BackendService/name": name -"/compute:beta/BackendService/port": port -"/compute:beta/BackendService/portName": port_name -"/compute:beta/BackendService/protocol": protocol -"/compute:beta/BackendService/region": region -"/compute:beta/BackendService/selfLink": self_link -"/compute:beta/BackendService/sessionAffinity": session_affinity -"/compute:beta/BackendService/timeoutSec": timeout_sec -"/compute:beta/BackendServiceAggregatedList": backend_service_aggregated_list -"/compute:beta/BackendServiceAggregatedList/id": id -"/compute:beta/BackendServiceAggregatedList/items": items -"/compute:beta/BackendServiceAggregatedList/items/item": item -"/compute:beta/BackendServiceAggregatedList/kind": kind -"/compute:beta/BackendServiceAggregatedList/nextPageToken": next_page_token -"/compute:beta/BackendServiceAggregatedList/selfLink": self_link -"/compute:beta/BackendServiceCdnPolicy": backend_service_cdn_policy -"/compute:beta/BackendServiceCdnPolicy/cacheKeyPolicy": cache_key_policy -"/compute:beta/BackendServiceGroupHealth": backend_service_group_health -"/compute:beta/BackendServiceGroupHealth/healthStatus": health_status -"/compute:beta/BackendServiceGroupHealth/healthStatus/health_status": health_status -"/compute:beta/BackendServiceGroupHealth/kind": kind -"/compute:beta/BackendServiceIAP": backend_service_iap -"/compute:beta/BackendServiceIAP/enabled": enabled -"/compute:beta/BackendServiceIAP/oauth2ClientId": oauth2_client_id -"/compute:beta/BackendServiceIAP/oauth2ClientSecret": oauth2_client_secret -"/compute:beta/BackendServiceIAP/oauth2ClientSecretSha256": oauth2_client_secret_sha256 -"/compute:beta/BackendServiceList": backend_service_list -"/compute:beta/BackendServiceList/id": id -"/compute:beta/BackendServiceList/items": items -"/compute:beta/BackendServiceList/items/item": item -"/compute:beta/BackendServiceList/kind": kind -"/compute:beta/BackendServiceList/nextPageToken": next_page_token -"/compute:beta/BackendServiceList/selfLink": self_link -"/compute:beta/BackendServicesScopedList": backend_services_scoped_list -"/compute:beta/BackendServicesScopedList/backendServices": backend_services -"/compute:beta/BackendServicesScopedList/backendServices/backend_service": backend_service -"/compute:beta/BackendServicesScopedList/warning": warning -"/compute:beta/BackendServicesScopedList/warning/code": code -"/compute:beta/BackendServicesScopedList/warning/data": data -"/compute:beta/BackendServicesScopedList/warning/data/datum": datum -"/compute:beta/BackendServicesScopedList/warning/data/datum/key": key -"/compute:beta/BackendServicesScopedList/warning/data/datum/value": value -"/compute:beta/BackendServicesScopedList/warning/message": message -"/compute:beta/Binding": binding -"/compute:beta/Binding/condition": condition -"/compute:beta/Binding/members": members -"/compute:beta/Binding/members/member": member -"/compute:beta/Binding/role": role -"/compute:beta/CacheInvalidationRule": cache_invalidation_rule -"/compute:beta/CacheInvalidationRule/host": host -"/compute:beta/CacheInvalidationRule/path": path -"/compute:beta/CacheKeyPolicy": cache_key_policy -"/compute:beta/CacheKeyPolicy/includeHost": include_host -"/compute:beta/CacheKeyPolicy/includeProtocol": include_protocol -"/compute:beta/CacheKeyPolicy/includeQueryString": include_query_string -"/compute:beta/CacheKeyPolicy/queryStringBlacklist": query_string_blacklist -"/compute:beta/CacheKeyPolicy/queryStringBlacklist/query_string_blacklist": query_string_blacklist -"/compute:beta/CacheKeyPolicy/queryStringWhitelist": query_string_whitelist -"/compute:beta/CacheKeyPolicy/queryStringWhitelist/query_string_whitelist": query_string_whitelist -"/compute:beta/Commitment": commitment -"/compute:beta/Commitment/creationTimestamp": creation_timestamp -"/compute:beta/Commitment/description": description -"/compute:beta/Commitment/endTimestamp": end_timestamp -"/compute:beta/Commitment/id": id -"/compute:beta/Commitment/kind": kind -"/compute:beta/Commitment/name": name -"/compute:beta/Commitment/plan": plan -"/compute:beta/Commitment/region": region -"/compute:beta/Commitment/resources": resources -"/compute:beta/Commitment/resources/resource": resource -"/compute:beta/Commitment/selfLink": self_link -"/compute:beta/Commitment/startTimestamp": start_timestamp -"/compute:beta/Commitment/status": status -"/compute:beta/Commitment/statusMessage": status_message -"/compute:beta/CommitmentAggregatedList": commitment_aggregated_list -"/compute:beta/CommitmentAggregatedList/id": id -"/compute:beta/CommitmentAggregatedList/items": items -"/compute:beta/CommitmentAggregatedList/items/item": item -"/compute:beta/CommitmentAggregatedList/kind": kind -"/compute:beta/CommitmentAggregatedList/nextPageToken": next_page_token -"/compute:beta/CommitmentAggregatedList/selfLink": self_link -"/compute:beta/CommitmentList": commitment_list -"/compute:beta/CommitmentList/id": id -"/compute:beta/CommitmentList/items": items -"/compute:beta/CommitmentList/items/item": item -"/compute:beta/CommitmentList/kind": kind -"/compute:beta/CommitmentList/nextPageToken": next_page_token -"/compute:beta/CommitmentList/selfLink": self_link -"/compute:beta/CommitmentsScopedList": commitments_scoped_list -"/compute:beta/CommitmentsScopedList/commitments": commitments -"/compute:beta/CommitmentsScopedList/commitments/commitment": commitment -"/compute:beta/CommitmentsScopedList/warning": warning -"/compute:beta/CommitmentsScopedList/warning/code": code -"/compute:beta/CommitmentsScopedList/warning/data": data -"/compute:beta/CommitmentsScopedList/warning/data/datum": datum -"/compute:beta/CommitmentsScopedList/warning/data/datum/key": key -"/compute:beta/CommitmentsScopedList/warning/data/datum/value": value -"/compute:beta/CommitmentsScopedList/warning/message": message -"/compute:beta/Condition": condition -"/compute:beta/Condition/iam": iam -"/compute:beta/Condition/op": op -"/compute:beta/Condition/svc": svc -"/compute:beta/Condition/sys": sys -"/compute:beta/Condition/value": value -"/compute:beta/Condition/values": values -"/compute:beta/Condition/values/value": value -"/compute:beta/ConnectionDraining": connection_draining -"/compute:beta/ConnectionDraining/drainingTimeoutSec": draining_timeout_sec -"/compute:beta/CustomerEncryptionKey": customer_encryption_key -"/compute:beta/CustomerEncryptionKey/rawKey": raw_key -"/compute:beta/CustomerEncryptionKey/rsaEncryptedKey": rsa_encrypted_key -"/compute:beta/CustomerEncryptionKey/sha256": sha256 -"/compute:beta/CustomerEncryptionKeyProtectedDisk": customer_encryption_key_protected_disk -"/compute:beta/CustomerEncryptionKeyProtectedDisk/diskEncryptionKey": disk_encryption_key -"/compute:beta/CustomerEncryptionKeyProtectedDisk/source": source -"/compute:beta/DeprecationStatus": deprecation_status -"/compute:beta/DeprecationStatus/deleted": deleted -"/compute:beta/DeprecationStatus/deprecated": deprecated -"/compute:beta/DeprecationStatus/obsolete": obsolete -"/compute:beta/DeprecationStatus/replacement": replacement -"/compute:beta/DeprecationStatus/state": state -"/compute:beta/Disk": disk -"/compute:beta/Disk/creationTimestamp": creation_timestamp -"/compute:beta/Disk/description": description -"/compute:beta/Disk/diskEncryptionKey": disk_encryption_key -"/compute:beta/Disk/id": id -"/compute:beta/Disk/kind": kind -"/compute:beta/Disk/labelFingerprint": label_fingerprint -"/compute:beta/Disk/labels": labels -"/compute:beta/Disk/labels/label": label -"/compute:beta/Disk/lastAttachTimestamp": last_attach_timestamp -"/compute:beta/Disk/lastDetachTimestamp": last_detach_timestamp -"/compute:beta/Disk/licenses": licenses -"/compute:beta/Disk/licenses/license": license -"/compute:beta/Disk/name": name -"/compute:beta/Disk/options": options -"/compute:beta/Disk/selfLink": self_link -"/compute:beta/Disk/sizeGb": size_gb -"/compute:beta/Disk/sourceImage": source_image -"/compute:beta/Disk/sourceImageEncryptionKey": source_image_encryption_key -"/compute:beta/Disk/sourceImageId": source_image_id -"/compute:beta/Disk/sourceSnapshot": source_snapshot -"/compute:beta/Disk/sourceSnapshotEncryptionKey": source_snapshot_encryption_key -"/compute:beta/Disk/sourceSnapshotId": source_snapshot_id -"/compute:beta/Disk/status": status -"/compute:beta/Disk/storageType": storage_type -"/compute:beta/Disk/type": type -"/compute:beta/Disk/users": users -"/compute:beta/Disk/users/user": user -"/compute:beta/Disk/zone": zone -"/compute:beta/DiskAggregatedList": disk_aggregated_list -"/compute:beta/DiskAggregatedList/id": id -"/compute:beta/DiskAggregatedList/items": items -"/compute:beta/DiskAggregatedList/items/item": item -"/compute:beta/DiskAggregatedList/kind": kind -"/compute:beta/DiskAggregatedList/nextPageToken": next_page_token -"/compute:beta/DiskAggregatedList/selfLink": self_link -"/compute:beta/DiskList": disk_list -"/compute:beta/DiskList/id": id -"/compute:beta/DiskList/items": items -"/compute:beta/DiskList/items/item": item -"/compute:beta/DiskList/kind": kind -"/compute:beta/DiskList/nextPageToken": next_page_token -"/compute:beta/DiskList/selfLink": self_link -"/compute:beta/DiskMoveRequest": disk_move_request -"/compute:beta/DiskMoveRequest/destinationZone": destination_zone -"/compute:beta/DiskMoveRequest/targetDisk": target_disk -"/compute:beta/DiskType": disk_type -"/compute:beta/DiskType/creationTimestamp": creation_timestamp -"/compute:beta/DiskType/defaultDiskSizeGb": default_disk_size_gb -"/compute:beta/DiskType/deprecated": deprecated -"/compute:beta/DiskType/description": description -"/compute:beta/DiskType/id": id -"/compute:beta/DiskType/kind": kind -"/compute:beta/DiskType/name": name -"/compute:beta/DiskType/selfLink": self_link -"/compute:beta/DiskType/validDiskSize": valid_disk_size -"/compute:beta/DiskType/zone": zone -"/compute:beta/DiskTypeAggregatedList": disk_type_aggregated_list -"/compute:beta/DiskTypeAggregatedList/id": id -"/compute:beta/DiskTypeAggregatedList/items": items -"/compute:beta/DiskTypeAggregatedList/items/item": item -"/compute:beta/DiskTypeAggregatedList/kind": kind -"/compute:beta/DiskTypeAggregatedList/nextPageToken": next_page_token -"/compute:beta/DiskTypeAggregatedList/selfLink": self_link -"/compute:beta/DiskTypeList": disk_type_list -"/compute:beta/DiskTypeList/id": id -"/compute:beta/DiskTypeList/items": items -"/compute:beta/DiskTypeList/items/item": item -"/compute:beta/DiskTypeList/kind": kind -"/compute:beta/DiskTypeList/nextPageToken": next_page_token -"/compute:beta/DiskTypeList/selfLink": self_link -"/compute:beta/DiskTypesScopedList": disk_types_scoped_list -"/compute:beta/DiskTypesScopedList/diskTypes": disk_types -"/compute:beta/DiskTypesScopedList/diskTypes/disk_type": disk_type -"/compute:beta/DiskTypesScopedList/warning": warning -"/compute:beta/DiskTypesScopedList/warning/code": code -"/compute:beta/DiskTypesScopedList/warning/data": data -"/compute:beta/DiskTypesScopedList/warning/data/datum": datum -"/compute:beta/DiskTypesScopedList/warning/data/datum/key": key -"/compute:beta/DiskTypesScopedList/warning/data/datum/value": value -"/compute:beta/DiskTypesScopedList/warning/message": message -"/compute:beta/DisksResizeRequest": disks_resize_request -"/compute:beta/DisksResizeRequest/sizeGb": size_gb -"/compute:beta/DisksScopedList": disks_scoped_list -"/compute:beta/DisksScopedList/disks": disks -"/compute:beta/DisksScopedList/disks/disk": disk -"/compute:beta/DisksScopedList/warning": warning -"/compute:beta/DisksScopedList/warning/code": code -"/compute:beta/DisksScopedList/warning/data": data -"/compute:beta/DisksScopedList/warning/data/datum": datum -"/compute:beta/DisksScopedList/warning/data/datum/key": key -"/compute:beta/DisksScopedList/warning/data/datum/value": value -"/compute:beta/DisksScopedList/warning/message": message -"/compute:beta/Expr": expr -"/compute:beta/Expr/description": description -"/compute:beta/Expr/expression": expression -"/compute:beta/Expr/location": location -"/compute:beta/Expr/title": title -"/compute:beta/Firewall": firewall -"/compute:beta/Firewall/allowed": allowed -"/compute:beta/Firewall/allowed/allowed": allowed -"/compute:beta/Firewall/allowed/allowed/IPProtocol": ip_protocol -"/compute:beta/Firewall/allowed/allowed/ports": ports -"/compute:beta/Firewall/allowed/allowed/ports/port": port -"/compute:beta/Firewall/creationTimestamp": creation_timestamp -"/compute:beta/Firewall/denied": denied -"/compute:beta/Firewall/denied/denied": denied -"/compute:beta/Firewall/denied/denied/IPProtocol": ip_protocol -"/compute:beta/Firewall/denied/denied/ports": ports -"/compute:beta/Firewall/denied/denied/ports/port": port -"/compute:beta/Firewall/description": description -"/compute:beta/Firewall/destinationRanges": destination_ranges -"/compute:beta/Firewall/destinationRanges/destination_range": destination_range -"/compute:beta/Firewall/direction": direction -"/compute:beta/Firewall/id": id -"/compute:beta/Firewall/kind": kind -"/compute:beta/Firewall/name": name -"/compute:beta/Firewall/network": network -"/compute:beta/Firewall/priority": priority -"/compute:beta/Firewall/selfLink": self_link -"/compute:beta/Firewall/sourceRanges": source_ranges -"/compute:beta/Firewall/sourceRanges/source_range": source_range -"/compute:beta/Firewall/sourceServiceAccounts": source_service_accounts -"/compute:beta/Firewall/sourceServiceAccounts/source_service_account": source_service_account -"/compute:beta/Firewall/sourceTags": source_tags -"/compute:beta/Firewall/sourceTags/source_tag": source_tag -"/compute:beta/Firewall/targetServiceAccounts": target_service_accounts -"/compute:beta/Firewall/targetServiceAccounts/target_service_account": target_service_account -"/compute:beta/Firewall/targetTags": target_tags -"/compute:beta/Firewall/targetTags/target_tag": target_tag -"/compute:beta/FirewallList": firewall_list -"/compute:beta/FirewallList/id": id -"/compute:beta/FirewallList/items": items -"/compute:beta/FirewallList/items/item": item -"/compute:beta/FirewallList/kind": kind -"/compute:beta/FirewallList/nextPageToken": next_page_token -"/compute:beta/FirewallList/selfLink": self_link -"/compute:beta/ForwardingRule": forwarding_rule -"/compute:beta/ForwardingRule/IPAddress": ip_address -"/compute:beta/ForwardingRule/IPProtocol": ip_protocol -"/compute:beta/ForwardingRule/backendService": backend_service -"/compute:beta/ForwardingRule/creationTimestamp": creation_timestamp -"/compute:beta/ForwardingRule/description": description -"/compute:beta/ForwardingRule/id": id -"/compute:beta/ForwardingRule/ipVersion": ip_version -"/compute:beta/ForwardingRule/kind": kind -"/compute:beta/ForwardingRule/labelFingerprint": label_fingerprint -"/compute:beta/ForwardingRule/labels": labels -"/compute:beta/ForwardingRule/labels/label": label -"/compute:beta/ForwardingRule/loadBalancingScheme": load_balancing_scheme -"/compute:beta/ForwardingRule/name": name -"/compute:beta/ForwardingRule/network": network -"/compute:beta/ForwardingRule/portRange": port_range -"/compute:beta/ForwardingRule/ports": ports -"/compute:beta/ForwardingRule/ports/port": port -"/compute:beta/ForwardingRule/region": region -"/compute:beta/ForwardingRule/selfLink": self_link -"/compute:beta/ForwardingRule/serviceLabel": service_label -"/compute:beta/ForwardingRule/serviceName": service_name -"/compute:beta/ForwardingRule/subnetwork": subnetwork -"/compute:beta/ForwardingRule/target": target -"/compute:beta/ForwardingRuleAggregatedList": forwarding_rule_aggregated_list -"/compute:beta/ForwardingRuleAggregatedList/id": id -"/compute:beta/ForwardingRuleAggregatedList/items": items -"/compute:beta/ForwardingRuleAggregatedList/items/item": item -"/compute:beta/ForwardingRuleAggregatedList/kind": kind -"/compute:beta/ForwardingRuleAggregatedList/nextPageToken": next_page_token -"/compute:beta/ForwardingRuleAggregatedList/selfLink": self_link -"/compute:beta/ForwardingRuleList": forwarding_rule_list -"/compute:beta/ForwardingRuleList/id": id -"/compute:beta/ForwardingRuleList/items": items -"/compute:beta/ForwardingRuleList/items/item": item -"/compute:beta/ForwardingRuleList/kind": kind -"/compute:beta/ForwardingRuleList/nextPageToken": next_page_token -"/compute:beta/ForwardingRuleList/selfLink": self_link -"/compute:beta/ForwardingRulesScopedList": forwarding_rules_scoped_list -"/compute:beta/ForwardingRulesScopedList/forwardingRules": forwarding_rules -"/compute:beta/ForwardingRulesScopedList/forwardingRules/forwarding_rule": forwarding_rule -"/compute:beta/ForwardingRulesScopedList/warning": warning -"/compute:beta/ForwardingRulesScopedList/warning/code": code -"/compute:beta/ForwardingRulesScopedList/warning/data": data -"/compute:beta/ForwardingRulesScopedList/warning/data/datum": datum -"/compute:beta/ForwardingRulesScopedList/warning/data/datum/key": key -"/compute:beta/ForwardingRulesScopedList/warning/data/datum/value": value -"/compute:beta/ForwardingRulesScopedList/warning/message": message -"/compute:beta/GlobalSetLabelsRequest": global_set_labels_request -"/compute:beta/GlobalSetLabelsRequest/labelFingerprint": label_fingerprint -"/compute:beta/GlobalSetLabelsRequest/labels": labels -"/compute:beta/GlobalSetLabelsRequest/labels/label": label -"/compute:beta/GuestOsFeature": guest_os_feature -"/compute:beta/GuestOsFeature/type": type -"/compute:beta/HTTPHealthCheck": http_health_check -"/compute:beta/HTTPHealthCheck/host": host -"/compute:beta/HTTPHealthCheck/port": port -"/compute:beta/HTTPHealthCheck/portName": port_name -"/compute:beta/HTTPHealthCheck/proxyHeader": proxy_header -"/compute:beta/HTTPHealthCheck/requestPath": request_path -"/compute:beta/HTTPSHealthCheck": https_health_check -"/compute:beta/HTTPSHealthCheck/host": host -"/compute:beta/HTTPSHealthCheck/port": port -"/compute:beta/HTTPSHealthCheck/portName": port_name -"/compute:beta/HTTPSHealthCheck/proxyHeader": proxy_header -"/compute:beta/HTTPSHealthCheck/requestPath": request_path -"/compute:beta/HealthCheck": health_check -"/compute:beta/HealthCheck/checkIntervalSec": check_interval_sec -"/compute:beta/HealthCheck/creationTimestamp": creation_timestamp -"/compute:beta/HealthCheck/description": description -"/compute:beta/HealthCheck/healthyThreshold": healthy_threshold -"/compute:beta/HealthCheck/httpHealthCheck": http_health_check -"/compute:beta/HealthCheck/httpsHealthCheck": https_health_check -"/compute:beta/HealthCheck/id": id -"/compute:beta/HealthCheck/kind": kind -"/compute:beta/HealthCheck/name": name -"/compute:beta/HealthCheck/selfLink": self_link -"/compute:beta/HealthCheck/sslHealthCheck": ssl_health_check -"/compute:beta/HealthCheck/tcpHealthCheck": tcp_health_check -"/compute:beta/HealthCheck/timeoutSec": timeout_sec -"/compute:beta/HealthCheck/type": type -"/compute:beta/HealthCheck/udpHealthCheck": udp_health_check -"/compute:beta/HealthCheck/unhealthyThreshold": unhealthy_threshold -"/compute:beta/HealthCheckList": health_check_list -"/compute:beta/HealthCheckList/id": id -"/compute:beta/HealthCheckList/items": items -"/compute:beta/HealthCheckList/items/item": item -"/compute:beta/HealthCheckList/kind": kind -"/compute:beta/HealthCheckList/nextPageToken": next_page_token -"/compute:beta/HealthCheckList/selfLink": self_link -"/compute:beta/HealthCheckReference": health_check_reference -"/compute:beta/HealthCheckReference/healthCheck": health_check -"/compute:beta/HealthStatus": health_status -"/compute:beta/HealthStatus/healthState": health_state -"/compute:beta/HealthStatus/instance": instance -"/compute:beta/HealthStatus/ipAddress": ip_address -"/compute:beta/HealthStatus/port": port -"/compute:beta/HostRule": host_rule -"/compute:beta/HostRule/description": description -"/compute:beta/HostRule/hosts": hosts -"/compute:beta/HostRule/hosts/host": host -"/compute:beta/HostRule/pathMatcher": path_matcher -"/compute:beta/HttpHealthCheck": http_health_check -"/compute:beta/HttpHealthCheck/checkIntervalSec": check_interval_sec -"/compute:beta/HttpHealthCheck/creationTimestamp": creation_timestamp -"/compute:beta/HttpHealthCheck/description": description -"/compute:beta/HttpHealthCheck/healthyThreshold": healthy_threshold -"/compute:beta/HttpHealthCheck/host": host -"/compute:beta/HttpHealthCheck/id": id -"/compute:beta/HttpHealthCheck/kind": kind -"/compute:beta/HttpHealthCheck/name": name -"/compute:beta/HttpHealthCheck/port": port -"/compute:beta/HttpHealthCheck/requestPath": request_path -"/compute:beta/HttpHealthCheck/selfLink": self_link -"/compute:beta/HttpHealthCheck/timeoutSec": timeout_sec -"/compute:beta/HttpHealthCheck/unhealthyThreshold": unhealthy_threshold -"/compute:beta/HttpHealthCheckList": http_health_check_list -"/compute:beta/HttpHealthCheckList/id": id -"/compute:beta/HttpHealthCheckList/items": items -"/compute:beta/HttpHealthCheckList/items/item": item -"/compute:beta/HttpHealthCheckList/kind": kind -"/compute:beta/HttpHealthCheckList/nextPageToken": next_page_token -"/compute:beta/HttpHealthCheckList/selfLink": self_link -"/compute:beta/HttpsHealthCheck": https_health_check -"/compute:beta/HttpsHealthCheck/checkIntervalSec": check_interval_sec -"/compute:beta/HttpsHealthCheck/creationTimestamp": creation_timestamp -"/compute:beta/HttpsHealthCheck/description": description -"/compute:beta/HttpsHealthCheck/healthyThreshold": healthy_threshold -"/compute:beta/HttpsHealthCheck/host": host -"/compute:beta/HttpsHealthCheck/id": id -"/compute:beta/HttpsHealthCheck/kind": kind -"/compute:beta/HttpsHealthCheck/name": name -"/compute:beta/HttpsHealthCheck/port": port -"/compute:beta/HttpsHealthCheck/requestPath": request_path -"/compute:beta/HttpsHealthCheck/selfLink": self_link -"/compute:beta/HttpsHealthCheck/timeoutSec": timeout_sec -"/compute:beta/HttpsHealthCheck/unhealthyThreshold": unhealthy_threshold -"/compute:beta/HttpsHealthCheckList": https_health_check_list -"/compute:beta/HttpsHealthCheckList/id": id -"/compute:beta/HttpsHealthCheckList/items": items -"/compute:beta/HttpsHealthCheckList/items/item": item -"/compute:beta/HttpsHealthCheckList/kind": kind -"/compute:beta/HttpsHealthCheckList/nextPageToken": next_page_token -"/compute:beta/HttpsHealthCheckList/selfLink": self_link -"/compute:beta/Image": image -"/compute:beta/Image/archiveSizeBytes": archive_size_bytes -"/compute:beta/Image/creationTimestamp": creation_timestamp -"/compute:beta/Image/deprecated": deprecated -"/compute:beta/Image/description": description -"/compute:beta/Image/diskSizeGb": disk_size_gb -"/compute:beta/Image/family": family -"/compute:beta/Image/guestOsFeatures": guest_os_features -"/compute:beta/Image/guestOsFeatures/guest_os_feature": guest_os_feature -"/compute:beta/Image/id": id -"/compute:beta/Image/imageEncryptionKey": image_encryption_key -"/compute:beta/Image/kind": kind -"/compute:beta/Image/labelFingerprint": label_fingerprint -"/compute:beta/Image/labels": labels -"/compute:beta/Image/labels/label": label -"/compute:beta/Image/licenses": licenses -"/compute:beta/Image/licenses/license": license -"/compute:beta/Image/name": name -"/compute:beta/Image/rawDisk": raw_disk -"/compute:beta/Image/rawDisk/containerType": container_type -"/compute:beta/Image/rawDisk/sha1Checksum": sha1_checksum -"/compute:beta/Image/rawDisk/source": source -"/compute:beta/Image/selfLink": self_link -"/compute:beta/Image/sourceDisk": source_disk -"/compute:beta/Image/sourceDiskEncryptionKey": source_disk_encryption_key -"/compute:beta/Image/sourceDiskId": source_disk_id -"/compute:beta/Image/sourceImage": source_image -"/compute:beta/Image/sourceImageEncryptionKey": source_image_encryption_key -"/compute:beta/Image/sourceImageId": source_image_id -"/compute:beta/Image/sourceType": source_type -"/compute:beta/Image/status": status -"/compute:beta/ImageList": image_list -"/compute:beta/ImageList/id": id -"/compute:beta/ImageList/items": items -"/compute:beta/ImageList/items/item": item -"/compute:beta/ImageList/kind": kind -"/compute:beta/ImageList/nextPageToken": next_page_token -"/compute:beta/ImageList/selfLink": self_link -"/compute:beta/Instance": instance -"/compute:beta/Instance/canIpForward": can_ip_forward -"/compute:beta/Instance/cpuPlatform": cpu_platform -"/compute:beta/Instance/creationTimestamp": creation_timestamp -"/compute:beta/Instance/description": description -"/compute:beta/Instance/disks": disks -"/compute:beta/Instance/disks/disk": disk -"/compute:beta/Instance/guestAccelerators": guest_accelerators -"/compute:beta/Instance/guestAccelerators/guest_accelerator": guest_accelerator -"/compute:beta/Instance/id": id -"/compute:beta/Instance/kind": kind -"/compute:beta/Instance/labelFingerprint": label_fingerprint -"/compute:beta/Instance/labels": labels -"/compute:beta/Instance/labels/label": label -"/compute:beta/Instance/machineType": machine_type -"/compute:beta/Instance/metadata": metadata -"/compute:beta/Instance/minCpuPlatform": min_cpu_platform -"/compute:beta/Instance/name": name -"/compute:beta/Instance/networkInterfaces": network_interfaces -"/compute:beta/Instance/networkInterfaces/network_interface": network_interface -"/compute:beta/Instance/scheduling": scheduling -"/compute:beta/Instance/selfLink": self_link -"/compute:beta/Instance/serviceAccounts": service_accounts -"/compute:beta/Instance/serviceAccounts/service_account": service_account -"/compute:beta/Instance/startRestricted": start_restricted -"/compute:beta/Instance/status": status -"/compute:beta/Instance/statusMessage": status_message -"/compute:beta/Instance/tags": tags -"/compute:beta/Instance/zone": zone -"/compute:beta/InstanceAggregatedList": instance_aggregated_list -"/compute:beta/InstanceAggregatedList/id": id -"/compute:beta/InstanceAggregatedList/items": items -"/compute:beta/InstanceAggregatedList/items/item": item -"/compute:beta/InstanceAggregatedList/kind": kind -"/compute:beta/InstanceAggregatedList/nextPageToken": next_page_token -"/compute:beta/InstanceAggregatedList/selfLink": self_link -"/compute:beta/InstanceGroup": instance_group -"/compute:beta/InstanceGroup/creationTimestamp": creation_timestamp -"/compute:beta/InstanceGroup/description": description -"/compute:beta/InstanceGroup/fingerprint": fingerprint -"/compute:beta/InstanceGroup/id": id -"/compute:beta/InstanceGroup/kind": kind -"/compute:beta/InstanceGroup/name": name -"/compute:beta/InstanceGroup/namedPorts": named_ports -"/compute:beta/InstanceGroup/namedPorts/named_port": named_port -"/compute:beta/InstanceGroup/network": network -"/compute:beta/InstanceGroup/region": region -"/compute:beta/InstanceGroup/selfLink": self_link -"/compute:beta/InstanceGroup/size": size -"/compute:beta/InstanceGroup/subnetwork": subnetwork -"/compute:beta/InstanceGroup/zone": zone -"/compute:beta/InstanceGroupAggregatedList": instance_group_aggregated_list -"/compute:beta/InstanceGroupAggregatedList/id": id -"/compute:beta/InstanceGroupAggregatedList/items": items -"/compute:beta/InstanceGroupAggregatedList/items/item": item -"/compute:beta/InstanceGroupAggregatedList/kind": kind -"/compute:beta/InstanceGroupAggregatedList/nextPageToken": next_page_token -"/compute:beta/InstanceGroupAggregatedList/selfLink": self_link -"/compute:beta/InstanceGroupList": instance_group_list -"/compute:beta/InstanceGroupList/id": id -"/compute:beta/InstanceGroupList/items": items -"/compute:beta/InstanceGroupList/items/item": item -"/compute:beta/InstanceGroupList/kind": kind -"/compute:beta/InstanceGroupList/nextPageToken": next_page_token -"/compute:beta/InstanceGroupList/selfLink": self_link -"/compute:beta/InstanceGroupManager": instance_group_manager -"/compute:beta/InstanceGroupManager/autoHealingPolicies": auto_healing_policies -"/compute:beta/InstanceGroupManager/autoHealingPolicies/auto_healing_policy": auto_healing_policy -"/compute:beta/InstanceGroupManager/baseInstanceName": base_instance_name -"/compute:beta/InstanceGroupManager/creationTimestamp": creation_timestamp -"/compute:beta/InstanceGroupManager/currentActions": current_actions -"/compute:beta/InstanceGroupManager/description": description -"/compute:beta/InstanceGroupManager/failoverAction": failover_action -"/compute:beta/InstanceGroupManager/fingerprint": fingerprint -"/compute:beta/InstanceGroupManager/id": id -"/compute:beta/InstanceGroupManager/instanceGroup": instance_group -"/compute:beta/InstanceGroupManager/instanceTemplate": instance_template -"/compute:beta/InstanceGroupManager/kind": kind -"/compute:beta/InstanceGroupManager/name": name -"/compute:beta/InstanceGroupManager/namedPorts": named_ports -"/compute:beta/InstanceGroupManager/namedPorts/named_port": named_port -"/compute:beta/InstanceGroupManager/region": region -"/compute:beta/InstanceGroupManager/selfLink": self_link -"/compute:beta/InstanceGroupManager/serviceAccount": service_account -"/compute:beta/InstanceGroupManager/targetPools": target_pools -"/compute:beta/InstanceGroupManager/targetPools/target_pool": target_pool -"/compute:beta/InstanceGroupManager/targetSize": target_size -"/compute:beta/InstanceGroupManager/zone": zone -"/compute:beta/InstanceGroupManagerActionsSummary": instance_group_manager_actions_summary -"/compute:beta/InstanceGroupManagerActionsSummary/abandoning": abandoning -"/compute:beta/InstanceGroupManagerActionsSummary/creating": creating -"/compute:beta/InstanceGroupManagerActionsSummary/creatingWithoutRetries": creating_without_retries -"/compute:beta/InstanceGroupManagerActionsSummary/deleting": deleting -"/compute:beta/InstanceGroupManagerActionsSummary/none": none -"/compute:beta/InstanceGroupManagerActionsSummary/recreating": recreating -"/compute:beta/InstanceGroupManagerActionsSummary/refreshing": refreshing -"/compute:beta/InstanceGroupManagerActionsSummary/restarting": restarting -"/compute:beta/InstanceGroupManagerAggregatedList": instance_group_manager_aggregated_list -"/compute:beta/InstanceGroupManagerAggregatedList/id": id -"/compute:beta/InstanceGroupManagerAggregatedList/items": items -"/compute:beta/InstanceGroupManagerAggregatedList/items/item": item -"/compute:beta/InstanceGroupManagerAggregatedList/kind": kind -"/compute:beta/InstanceGroupManagerAggregatedList/nextPageToken": next_page_token -"/compute:beta/InstanceGroupManagerAggregatedList/selfLink": self_link -"/compute:beta/InstanceGroupManagerAutoHealingPolicy": instance_group_manager_auto_healing_policy -"/compute:beta/InstanceGroupManagerAutoHealingPolicy/healthCheck": health_check -"/compute:beta/InstanceGroupManagerAutoHealingPolicy/initialDelaySec": initial_delay_sec -"/compute:beta/InstanceGroupManagerList": instance_group_manager_list -"/compute:beta/InstanceGroupManagerList/id": id -"/compute:beta/InstanceGroupManagerList/items": items -"/compute:beta/InstanceGroupManagerList/items/item": item -"/compute:beta/InstanceGroupManagerList/kind": kind -"/compute:beta/InstanceGroupManagerList/nextPageToken": next_page_token -"/compute:beta/InstanceGroupManagerList/selfLink": self_link -"/compute:beta/InstanceGroupManagersAbandonInstancesRequest": instance_group_managers_abandon_instances_request -"/compute:beta/InstanceGroupManagersAbandonInstancesRequest/instances": instances -"/compute:beta/InstanceGroupManagersAbandonInstancesRequest/instances/instance": instance -"/compute:beta/InstanceGroupManagersDeleteInstancesRequest": instance_group_managers_delete_instances_request -"/compute:beta/InstanceGroupManagersDeleteInstancesRequest/instances": instances -"/compute:beta/InstanceGroupManagersDeleteInstancesRequest/instances/instance": instance -"/compute:beta/InstanceGroupManagersListManagedInstancesResponse": instance_group_managers_list_managed_instances_response -"/compute:beta/InstanceGroupManagersListManagedInstancesResponse/managedInstances": managed_instances -"/compute:beta/InstanceGroupManagersListManagedInstancesResponse/managedInstances/managed_instance": managed_instance -"/compute:beta/InstanceGroupManagersListManagedInstancesResponse/nextPageToken": next_page_token -"/compute:beta/InstanceGroupManagersRecreateInstancesRequest": instance_group_managers_recreate_instances_request -"/compute:beta/InstanceGroupManagersRecreateInstancesRequest/instances": instances -"/compute:beta/InstanceGroupManagersRecreateInstancesRequest/instances/instance": instance -"/compute:beta/InstanceGroupManagersResizeAdvancedRequest": instance_group_managers_resize_advanced_request -"/compute:beta/InstanceGroupManagersResizeAdvancedRequest/noCreationRetries": no_creation_retries -"/compute:beta/InstanceGroupManagersResizeAdvancedRequest/targetSize": target_size -"/compute:beta/InstanceGroupManagersScopedList": instance_group_managers_scoped_list -"/compute:beta/InstanceGroupManagersScopedList/instanceGroupManagers": instance_group_managers -"/compute:beta/InstanceGroupManagersScopedList/instanceGroupManagers/instance_group_manager": instance_group_manager -"/compute:beta/InstanceGroupManagersScopedList/warning": warning -"/compute:beta/InstanceGroupManagersScopedList/warning/code": code -"/compute:beta/InstanceGroupManagersScopedList/warning/data": data -"/compute:beta/InstanceGroupManagersScopedList/warning/data/datum": datum -"/compute:beta/InstanceGroupManagersScopedList/warning/data/datum/key": key -"/compute:beta/InstanceGroupManagersScopedList/warning/data/datum/value": value -"/compute:beta/InstanceGroupManagersScopedList/warning/message": message -"/compute:beta/InstanceGroupManagersSetAutoHealingRequest": instance_group_managers_set_auto_healing_request -"/compute:beta/InstanceGroupManagersSetAutoHealingRequest/autoHealingPolicies": auto_healing_policies -"/compute:beta/InstanceGroupManagersSetAutoHealingRequest/autoHealingPolicies/auto_healing_policy": auto_healing_policy -"/compute:beta/InstanceGroupManagersSetInstanceTemplateRequest": instance_group_managers_set_instance_template_request -"/compute:beta/InstanceGroupManagersSetInstanceTemplateRequest/instanceTemplate": instance_template -"/compute:beta/InstanceGroupManagersSetTargetPoolsRequest": instance_group_managers_set_target_pools_request -"/compute:beta/InstanceGroupManagersSetTargetPoolsRequest/fingerprint": fingerprint -"/compute:beta/InstanceGroupManagersSetTargetPoolsRequest/targetPools": target_pools -"/compute:beta/InstanceGroupManagersSetTargetPoolsRequest/targetPools/target_pool": target_pool -"/compute:beta/InstanceGroupsAddInstancesRequest": instance_groups_add_instances_request -"/compute:beta/InstanceGroupsAddInstancesRequest/instances": instances -"/compute:beta/InstanceGroupsAddInstancesRequest/instances/instance": instance -"/compute:beta/InstanceGroupsListInstances": instance_groups_list_instances -"/compute:beta/InstanceGroupsListInstances/id": id -"/compute:beta/InstanceGroupsListInstances/items": items -"/compute:beta/InstanceGroupsListInstances/items/item": item -"/compute:beta/InstanceGroupsListInstances/kind": kind -"/compute:beta/InstanceGroupsListInstances/nextPageToken": next_page_token -"/compute:beta/InstanceGroupsListInstances/selfLink": self_link -"/compute:beta/InstanceGroupsListInstancesRequest": instance_groups_list_instances_request -"/compute:beta/InstanceGroupsListInstancesRequest/instanceState": instance_state -"/compute:beta/InstanceGroupsRemoveInstancesRequest": instance_groups_remove_instances_request -"/compute:beta/InstanceGroupsRemoveInstancesRequest/instances": instances -"/compute:beta/InstanceGroupsRemoveInstancesRequest/instances/instance": instance -"/compute:beta/InstanceGroupsScopedList": instance_groups_scoped_list -"/compute:beta/InstanceGroupsScopedList/instanceGroups": instance_groups -"/compute:beta/InstanceGroupsScopedList/instanceGroups/instance_group": instance_group -"/compute:beta/InstanceGroupsScopedList/warning": warning -"/compute:beta/InstanceGroupsScopedList/warning/code": code -"/compute:beta/InstanceGroupsScopedList/warning/data": data -"/compute:beta/InstanceGroupsScopedList/warning/data/datum": datum -"/compute:beta/InstanceGroupsScopedList/warning/data/datum/key": key -"/compute:beta/InstanceGroupsScopedList/warning/data/datum/value": value -"/compute:beta/InstanceGroupsScopedList/warning/message": message -"/compute:beta/InstanceGroupsSetNamedPortsRequest": instance_groups_set_named_ports_request -"/compute:beta/InstanceGroupsSetNamedPortsRequest/fingerprint": fingerprint -"/compute:beta/InstanceGroupsSetNamedPortsRequest/namedPorts": named_ports -"/compute:beta/InstanceGroupsSetNamedPortsRequest/namedPorts/named_port": named_port -"/compute:beta/InstanceList": instance_list -"/compute:beta/InstanceList/id": id -"/compute:beta/InstanceList/items": items -"/compute:beta/InstanceList/items/item": item -"/compute:beta/InstanceList/kind": kind -"/compute:beta/InstanceList/nextPageToken": next_page_token -"/compute:beta/InstanceList/selfLink": self_link -"/compute:beta/InstanceListReferrers": instance_list_referrers -"/compute:beta/InstanceListReferrers/id": id -"/compute:beta/InstanceListReferrers/items": items -"/compute:beta/InstanceListReferrers/items/item": item -"/compute:beta/InstanceListReferrers/kind": kind -"/compute:beta/InstanceListReferrers/nextPageToken": next_page_token -"/compute:beta/InstanceListReferrers/selfLink": self_link -"/compute:beta/InstanceMoveRequest/destinationZone": destination_zone -"/compute:beta/InstanceMoveRequest/targetInstance": target_instance -"/compute:beta/InstanceProperties": instance_properties -"/compute:beta/InstanceProperties/canIpForward": can_ip_forward -"/compute:beta/InstanceProperties/description": description -"/compute:beta/InstanceProperties/disks": disks -"/compute:beta/InstanceProperties/disks/disk": disk -"/compute:beta/InstanceProperties/guestAccelerators": guest_accelerators -"/compute:beta/InstanceProperties/guestAccelerators/guest_accelerator": guest_accelerator -"/compute:beta/InstanceProperties/labels": labels -"/compute:beta/InstanceProperties/labels/label": label -"/compute:beta/InstanceProperties/machineType": machine_type -"/compute:beta/InstanceProperties/metadata": metadata -"/compute:beta/InstanceProperties/minCpuPlatform": min_cpu_platform -"/compute:beta/InstanceProperties/networkInterfaces": network_interfaces -"/compute:beta/InstanceProperties/networkInterfaces/network_interface": network_interface -"/compute:beta/InstanceProperties/scheduling": scheduling -"/compute:beta/InstanceProperties/serviceAccounts": service_accounts -"/compute:beta/InstanceProperties/serviceAccounts/service_account": service_account -"/compute:beta/InstanceProperties/tags": tags -"/compute:beta/InstanceReference": instance_reference -"/compute:beta/InstanceReference/instance": instance -"/compute:beta/InstanceTemplate": instance_template -"/compute:beta/InstanceTemplate/creationTimestamp": creation_timestamp -"/compute:beta/InstanceTemplate/description": description -"/compute:beta/InstanceTemplate/id": id -"/compute:beta/InstanceTemplate/kind": kind -"/compute:beta/InstanceTemplate/name": name -"/compute:beta/InstanceTemplate/properties": properties -"/compute:beta/InstanceTemplate/selfLink": self_link -"/compute:beta/InstanceTemplateList": instance_template_list -"/compute:beta/InstanceTemplateList/id": id -"/compute:beta/InstanceTemplateList/items": items -"/compute:beta/InstanceTemplateList/items/item": item -"/compute:beta/InstanceTemplateList/kind": kind -"/compute:beta/InstanceTemplateList/nextPageToken": next_page_token -"/compute:beta/InstanceTemplateList/selfLink": self_link -"/compute:beta/InstanceWithNamedPorts": instance_with_named_ports -"/compute:beta/InstanceWithNamedPorts/instance": instance -"/compute:beta/InstanceWithNamedPorts/namedPorts": named_ports -"/compute:beta/InstanceWithNamedPorts/namedPorts/named_port": named_port -"/compute:beta/InstanceWithNamedPorts/status": status -"/compute:beta/InstancesScopedList": instances_scoped_list -"/compute:beta/InstancesScopedList/instances": instances -"/compute:beta/InstancesScopedList/instances/instance": instance -"/compute:beta/InstancesScopedList/warning": warning -"/compute:beta/InstancesScopedList/warning/code": code -"/compute:beta/InstancesScopedList/warning/data": data -"/compute:beta/InstancesScopedList/warning/data/datum": datum -"/compute:beta/InstancesScopedList/warning/data/datum/key": key -"/compute:beta/InstancesScopedList/warning/data/datum/value": value -"/compute:beta/InstancesScopedList/warning/message": message -"/compute:beta/InstancesSetLabelsRequest": instances_set_labels_request -"/compute:beta/InstancesSetLabelsRequest/labelFingerprint": label_fingerprint -"/compute:beta/InstancesSetLabelsRequest/labels": labels -"/compute:beta/InstancesSetLabelsRequest/labels/label": label -"/compute:beta/InstancesSetMachineResourcesRequest": instances_set_machine_resources_request -"/compute:beta/InstancesSetMachineResourcesRequest/guestAccelerators": guest_accelerators -"/compute:beta/InstancesSetMachineResourcesRequest/guestAccelerators/guest_accelerator": guest_accelerator -"/compute:beta/InstancesSetMachineTypeRequest": instances_set_machine_type_request -"/compute:beta/InstancesSetMachineTypeRequest/machineType": machine_type -"/compute:beta/InstancesSetMinCpuPlatformRequest": instances_set_min_cpu_platform_request -"/compute:beta/InstancesSetMinCpuPlatformRequest/minCpuPlatform": min_cpu_platform -"/compute:beta/InstancesSetServiceAccountRequest": instances_set_service_account_request -"/compute:beta/InstancesSetServiceAccountRequest/email": email -"/compute:beta/InstancesSetServiceAccountRequest/scopes": scopes -"/compute:beta/InstancesSetServiceAccountRequest/scopes/scope": scope -"/compute:beta/InstancesStartWithEncryptionKeyRequest": instances_start_with_encryption_key_request -"/compute:beta/InstancesStartWithEncryptionKeyRequest/disks": disks -"/compute:beta/InstancesStartWithEncryptionKeyRequest/disks/disk": disk -"/compute:beta/License": license -"/compute:beta/License/chargesUseFee": charges_use_fee -"/compute:beta/License/kind": kind -"/compute:beta/License/name": name -"/compute:beta/License/selfLink": self_link -"/compute:beta/LogConfig": log_config -"/compute:beta/LogConfig/cloudAudit": cloud_audit -"/compute:beta/LogConfig/counter": counter -"/compute:beta/LogConfigCloudAuditOptions": log_config_cloud_audit_options -"/compute:beta/LogConfigCloudAuditOptions/logName": log_name -"/compute:beta/LogConfigCounterOptions": log_config_counter_options -"/compute:beta/LogConfigCounterOptions/field": field -"/compute:beta/LogConfigCounterOptions/metric": metric -"/compute:beta/MachineType": machine_type -"/compute:beta/MachineType/creationTimestamp": creation_timestamp -"/compute:beta/MachineType/deprecated": deprecated -"/compute:beta/MachineType/description": description -"/compute:beta/MachineType/guestCpus": guest_cpus -"/compute:beta/MachineType/id": id -"/compute:beta/MachineType/isSharedCpu": is_shared_cpu -"/compute:beta/MachineType/kind": kind -"/compute:beta/MachineType/maximumPersistentDisks": maximum_persistent_disks -"/compute:beta/MachineType/maximumPersistentDisksSizeGb": maximum_persistent_disks_size_gb -"/compute:beta/MachineType/memoryMb": memory_mb -"/compute:beta/MachineType/name": name -"/compute:beta/MachineType/selfLink": self_link -"/compute:beta/MachineType/zone": zone -"/compute:beta/MachineTypeAggregatedList": machine_type_aggregated_list -"/compute:beta/MachineTypeAggregatedList/id": id -"/compute:beta/MachineTypeAggregatedList/items": items -"/compute:beta/MachineTypeAggregatedList/items/item": item -"/compute:beta/MachineTypeAggregatedList/kind": kind -"/compute:beta/MachineTypeAggregatedList/nextPageToken": next_page_token -"/compute:beta/MachineTypeAggregatedList/selfLink": self_link -"/compute:beta/MachineTypeList": machine_type_list -"/compute:beta/MachineTypeList/id": id -"/compute:beta/MachineTypeList/items": items -"/compute:beta/MachineTypeList/items/item": item -"/compute:beta/MachineTypeList/kind": kind -"/compute:beta/MachineTypeList/nextPageToken": next_page_token -"/compute:beta/MachineTypeList/selfLink": self_link -"/compute:beta/MachineTypesScopedList": machine_types_scoped_list -"/compute:beta/MachineTypesScopedList/machineTypes": machine_types -"/compute:beta/MachineTypesScopedList/machineTypes/machine_type": machine_type -"/compute:beta/MachineTypesScopedList/warning": warning -"/compute:beta/MachineTypesScopedList/warning/code": code -"/compute:beta/MachineTypesScopedList/warning/data": data -"/compute:beta/MachineTypesScopedList/warning/data/datum": datum -"/compute:beta/MachineTypesScopedList/warning/data/datum/key": key -"/compute:beta/MachineTypesScopedList/warning/data/datum/value": value -"/compute:beta/MachineTypesScopedList/warning/message": message -"/compute:beta/ManagedInstance": managed_instance -"/compute:beta/ManagedInstance/currentAction": current_action -"/compute:beta/ManagedInstance/id": id -"/compute:beta/ManagedInstance/instance": instance -"/compute:beta/ManagedInstance/instanceStatus": instance_status -"/compute:beta/ManagedInstance/lastAttempt": last_attempt -"/compute:beta/ManagedInstance/version": version -"/compute:beta/ManagedInstanceLastAttempt": managed_instance_last_attempt -"/compute:beta/ManagedInstanceLastAttempt/errors": errors -"/compute:beta/ManagedInstanceLastAttempt/errors/errors": errors -"/compute:beta/ManagedInstanceLastAttempt/errors/errors/error": error -"/compute:beta/ManagedInstanceLastAttempt/errors/errors/error/code": code -"/compute:beta/ManagedInstanceLastAttempt/errors/errors/error/location": location -"/compute:beta/ManagedInstanceLastAttempt/errors/errors/error/message": message -"/compute:beta/ManagedInstanceVersion": managed_instance_version -"/compute:beta/ManagedInstanceVersion/instanceTemplate": instance_template -"/compute:beta/ManagedInstanceVersion/name": name -"/compute:beta/Metadata": metadata -"/compute:beta/Metadata/fingerprint": fingerprint -"/compute:beta/Metadata/items": items -"/compute:beta/Metadata/items/item": item -"/compute:beta/Metadata/items/item/key": key -"/compute:beta/Metadata/items/item/value": value -"/compute:beta/Metadata/kind": kind -"/compute:beta/NamedPort": named_port -"/compute:beta/NamedPort/name": name -"/compute:beta/NamedPort/port": port -"/compute:beta/Network": network -"/compute:beta/Network/IPv4Range": i_pv4_range -"/compute:beta/Network/autoCreateSubnetworks": auto_create_subnetworks -"/compute:beta/Network/creationTimestamp": creation_timestamp -"/compute:beta/Network/description": description -"/compute:beta/Network/gatewayIPv4": gateway_i_pv4 -"/compute:beta/Network/id": id -"/compute:beta/Network/kind": kind -"/compute:beta/Network/name": name -"/compute:beta/Network/peerings": peerings -"/compute:beta/Network/peerings/peering": peering -"/compute:beta/Network/selfLink": self_link -"/compute:beta/Network/subnetworks": subnetworks -"/compute:beta/Network/subnetworks/subnetwork": subnetwork -"/compute:beta/NetworkInterface": network_interface -"/compute:beta/NetworkInterface/accessConfigs": access_configs -"/compute:beta/NetworkInterface/accessConfigs/access_config": access_config -"/compute:beta/NetworkInterface/aliasIpRanges": alias_ip_ranges -"/compute:beta/NetworkInterface/aliasIpRanges/alias_ip_range": alias_ip_range -"/compute:beta/NetworkInterface/kind": kind -"/compute:beta/NetworkInterface/name": name -"/compute:beta/NetworkInterface/network": network -"/compute:beta/NetworkInterface/networkIP": network_ip -"/compute:beta/NetworkInterface/subnetwork": subnetwork -"/compute:beta/NetworkList": network_list -"/compute:beta/NetworkList/id": id -"/compute:beta/NetworkList/items": items -"/compute:beta/NetworkList/items/item": item -"/compute:beta/NetworkList/kind": kind -"/compute:beta/NetworkList/nextPageToken": next_page_token -"/compute:beta/NetworkList/selfLink": self_link -"/compute:beta/NetworkPeering": network_peering -"/compute:beta/NetworkPeering/autoCreateRoutes": auto_create_routes -"/compute:beta/NetworkPeering/name": name -"/compute:beta/NetworkPeering/network": network -"/compute:beta/NetworkPeering/state": state -"/compute:beta/NetworkPeering/stateDetails": state_details -"/compute:beta/NetworksAddPeeringRequest": networks_add_peering_request -"/compute:beta/NetworksAddPeeringRequest/autoCreateRoutes": auto_create_routes -"/compute:beta/NetworksAddPeeringRequest/name": name -"/compute:beta/NetworksAddPeeringRequest/peerNetwork": peer_network -"/compute:beta/NetworksRemovePeeringRequest": networks_remove_peering_request -"/compute:beta/NetworksRemovePeeringRequest/name": name -"/compute:beta/Operation": operation -"/compute:beta/Operation/clientOperationId": client_operation_id -"/compute:beta/Operation/creationTimestamp": creation_timestamp -"/compute:beta/Operation/description": description -"/compute:beta/Operation/endTime": end_time -"/compute:beta/Operation/error": error -"/compute:beta/Operation/error/errors": errors -"/compute:beta/Operation/error/errors/error": error -"/compute:beta/Operation/error/errors/error/code": code -"/compute:beta/Operation/error/errors/error/location": location -"/compute:beta/Operation/error/errors/error/message": message -"/compute:beta/Operation/httpErrorMessage": http_error_message -"/compute:beta/Operation/httpErrorStatusCode": http_error_status_code -"/compute:beta/Operation/id": id -"/compute:beta/Operation/insertTime": insert_time -"/compute:beta/Operation/kind": kind -"/compute:beta/Operation/name": name -"/compute:beta/Operation/operationType": operation_type -"/compute:beta/Operation/progress": progress -"/compute:beta/Operation/region": region -"/compute:beta/Operation/selfLink": self_link -"/compute:beta/Operation/startTime": start_time -"/compute:beta/Operation/status": status -"/compute:beta/Operation/statusMessage": status_message -"/compute:beta/Operation/targetId": target_id -"/compute:beta/Operation/targetLink": target_link -"/compute:beta/Operation/user": user -"/compute:beta/Operation/warnings": warnings -"/compute:beta/Operation/warnings/warning": warning -"/compute:beta/Operation/warnings/warning/code": code -"/compute:beta/Operation/warnings/warning/data": data -"/compute:beta/Operation/warnings/warning/data/datum": datum -"/compute:beta/Operation/warnings/warning/data/datum/key": key -"/compute:beta/Operation/warnings/warning/data/datum/value": value -"/compute:beta/Operation/warnings/warning/message": message -"/compute:beta/Operation/zone": zone -"/compute:beta/OperationAggregatedList": operation_aggregated_list -"/compute:beta/OperationAggregatedList/id": id -"/compute:beta/OperationAggregatedList/items": items -"/compute:beta/OperationAggregatedList/items/item": item -"/compute:beta/OperationAggregatedList/kind": kind -"/compute:beta/OperationAggregatedList/nextPageToken": next_page_token -"/compute:beta/OperationAggregatedList/selfLink": self_link -"/compute:beta/OperationList": operation_list -"/compute:beta/OperationList/id": id -"/compute:beta/OperationList/items": items -"/compute:beta/OperationList/items/item": item -"/compute:beta/OperationList/kind": kind -"/compute:beta/OperationList/nextPageToken": next_page_token -"/compute:beta/OperationList/selfLink": self_link -"/compute:beta/OperationsScopedList": operations_scoped_list -"/compute:beta/OperationsScopedList/operations": operations -"/compute:beta/OperationsScopedList/operations/operation": operation -"/compute:beta/OperationsScopedList/warning": warning -"/compute:beta/OperationsScopedList/warning/code": code -"/compute:beta/OperationsScopedList/warning/data": data -"/compute:beta/OperationsScopedList/warning/data/datum": datum -"/compute:beta/OperationsScopedList/warning/data/datum/key": key -"/compute:beta/OperationsScopedList/warning/data/datum/value": value -"/compute:beta/OperationsScopedList/warning/message": message -"/compute:beta/PathMatcher": path_matcher -"/compute:beta/PathMatcher/defaultService": default_service -"/compute:beta/PathMatcher/description": description -"/compute:beta/PathMatcher/name": name -"/compute:beta/PathMatcher/pathRules": path_rules -"/compute:beta/PathMatcher/pathRules/path_rule": path_rule -"/compute:beta/PathRule": path_rule -"/compute:beta/PathRule/paths": paths -"/compute:beta/PathRule/paths/path": path -"/compute:beta/PathRule/service": service -"/compute:beta/Policy": policy -"/compute:beta/Policy/auditConfigs": audit_configs -"/compute:beta/Policy/auditConfigs/audit_config": audit_config -"/compute:beta/Policy/bindings": bindings -"/compute:beta/Policy/bindings/binding": binding -"/compute:beta/Policy/etag": etag -"/compute:beta/Policy/iamOwned": iam_owned -"/compute:beta/Policy/rules": rules -"/compute:beta/Policy/rules/rule": rule -"/compute:beta/Policy/version": version -"/compute:beta/Project": project -"/compute:beta/Project/commonInstanceMetadata": common_instance_metadata -"/compute:beta/Project/creationTimestamp": creation_timestamp -"/compute:beta/Project/defaultServiceAccount": default_service_account -"/compute:beta/Project/description": description -"/compute:beta/Project/enabledFeatures": enabled_features -"/compute:beta/Project/enabledFeatures/enabled_feature": enabled_feature -"/compute:beta/Project/id": id -"/compute:beta/Project/kind": kind -"/compute:beta/Project/name": name -"/compute:beta/Project/quotas": quotas -"/compute:beta/Project/quotas/quota": quota -"/compute:beta/Project/selfLink": self_link -"/compute:beta/Project/usageExportLocation": usage_export_location -"/compute:beta/Project/xpnProjectStatus": xpn_project_status -"/compute:beta/ProjectsDisableXpnResourceRequest": projects_disable_xpn_resource_request -"/compute:beta/ProjectsDisableXpnResourceRequest/xpnResource": xpn_resource -"/compute:beta/ProjectsEnableXpnResourceRequest": projects_enable_xpn_resource_request -"/compute:beta/ProjectsEnableXpnResourceRequest/xpnResource": xpn_resource -"/compute:beta/ProjectsGetXpnResources": projects_get_xpn_resources -"/compute:beta/ProjectsGetXpnResources/kind": kind -"/compute:beta/ProjectsGetXpnResources/nextPageToken": next_page_token -"/compute:beta/ProjectsGetXpnResources/resources": resources -"/compute:beta/ProjectsGetXpnResources/resources/resource": resource -"/compute:beta/ProjectsListXpnHostsRequest": projects_list_xpn_hosts_request -"/compute:beta/ProjectsListXpnHostsRequest/organization": organization -"/compute:beta/Quota": quota -"/compute:beta/Quota/limit": limit -"/compute:beta/Quota/metric": metric -"/compute:beta/Quota/usage": usage -"/compute:beta/Reference": reference -"/compute:beta/Reference/kind": kind -"/compute:beta/Reference/referenceType": reference_type -"/compute:beta/Reference/referrer": referrer -"/compute:beta/Reference/target": target -"/compute:beta/Region": region -"/compute:beta/Region/creationTimestamp": creation_timestamp -"/compute:beta/Region/deprecated": deprecated -"/compute:beta/Region/description": description -"/compute:beta/Region/id": id -"/compute:beta/Region/kind": kind -"/compute:beta/Region/name": name -"/compute:beta/Region/quotas": quotas -"/compute:beta/Region/quotas/quota": quota -"/compute:beta/Region/selfLink": self_link -"/compute:beta/Region/status": status -"/compute:beta/Region/zones": zones -"/compute:beta/Region/zones/zone": zone -"/compute:beta/RegionAutoscalerList": region_autoscaler_list -"/compute:beta/RegionAutoscalerList/id": id -"/compute:beta/RegionAutoscalerList/items": items -"/compute:beta/RegionAutoscalerList/items/item": item -"/compute:beta/RegionAutoscalerList/kind": kind -"/compute:beta/RegionAutoscalerList/nextPageToken": next_page_token -"/compute:beta/RegionAutoscalerList/selfLink": self_link -"/compute:beta/RegionInstanceGroupList": region_instance_group_list -"/compute:beta/RegionInstanceGroupList/id": id -"/compute:beta/RegionInstanceGroupList/items": items -"/compute:beta/RegionInstanceGroupList/items/item": item -"/compute:beta/RegionInstanceGroupList/kind": kind -"/compute:beta/RegionInstanceGroupList/nextPageToken": next_page_token -"/compute:beta/RegionInstanceGroupList/selfLink": self_link -"/compute:beta/RegionInstanceGroupManagerList": region_instance_group_manager_list -"/compute:beta/RegionInstanceGroupManagerList/id": id -"/compute:beta/RegionInstanceGroupManagerList/items": items -"/compute:beta/RegionInstanceGroupManagerList/items/item": item -"/compute:beta/RegionInstanceGroupManagerList/kind": kind -"/compute:beta/RegionInstanceGroupManagerList/nextPageToken": next_page_token -"/compute:beta/RegionInstanceGroupManagerList/selfLink": self_link -"/compute:beta/RegionInstanceGroupManagersAbandonInstancesRequest": region_instance_group_managers_abandon_instances_request -"/compute:beta/RegionInstanceGroupManagersAbandonInstancesRequest/instances": instances -"/compute:beta/RegionInstanceGroupManagersAbandonInstancesRequest/instances/instance": instance -"/compute:beta/RegionInstanceGroupManagersDeleteInstancesRequest": region_instance_group_managers_delete_instances_request -"/compute:beta/RegionInstanceGroupManagersDeleteInstancesRequest/instances": instances -"/compute:beta/RegionInstanceGroupManagersDeleteInstancesRequest/instances/instance": instance -"/compute:beta/RegionInstanceGroupManagersListInstancesResponse": region_instance_group_managers_list_instances_response -"/compute:beta/RegionInstanceGroupManagersListInstancesResponse/managedInstances": managed_instances -"/compute:beta/RegionInstanceGroupManagersListInstancesResponse/managedInstances/managed_instance": managed_instance -"/compute:beta/RegionInstanceGroupManagersListInstancesResponse/nextPageToken": next_page_token -"/compute:beta/RegionInstanceGroupManagersRecreateRequest": region_instance_group_managers_recreate_request -"/compute:beta/RegionInstanceGroupManagersRecreateRequest/instances": instances -"/compute:beta/RegionInstanceGroupManagersRecreateRequest/instances/instance": instance -"/compute:beta/RegionInstanceGroupManagersSetAutoHealingRequest": region_instance_group_managers_set_auto_healing_request -"/compute:beta/RegionInstanceGroupManagersSetAutoHealingRequest/autoHealingPolicies": auto_healing_policies -"/compute:beta/RegionInstanceGroupManagersSetAutoHealingRequest/autoHealingPolicies/auto_healing_policy": auto_healing_policy -"/compute:beta/RegionInstanceGroupManagersSetTargetPoolsRequest": region_instance_group_managers_set_target_pools_request -"/compute:beta/RegionInstanceGroupManagersSetTargetPoolsRequest/fingerprint": fingerprint -"/compute:beta/RegionInstanceGroupManagersSetTargetPoolsRequest/targetPools": target_pools -"/compute:beta/RegionInstanceGroupManagersSetTargetPoolsRequest/targetPools/target_pool": target_pool -"/compute:beta/RegionInstanceGroupManagersSetTemplateRequest": region_instance_group_managers_set_template_request -"/compute:beta/RegionInstanceGroupManagersSetTemplateRequest/instanceTemplate": instance_template -"/compute:beta/RegionInstanceGroupsListInstances": region_instance_groups_list_instances -"/compute:beta/RegionInstanceGroupsListInstances/id": id -"/compute:beta/RegionInstanceGroupsListInstances/items": items -"/compute:beta/RegionInstanceGroupsListInstances/items/item": item -"/compute:beta/RegionInstanceGroupsListInstances/kind": kind -"/compute:beta/RegionInstanceGroupsListInstances/nextPageToken": next_page_token -"/compute:beta/RegionInstanceGroupsListInstances/selfLink": self_link -"/compute:beta/RegionInstanceGroupsListInstancesRequest": region_instance_groups_list_instances_request -"/compute:beta/RegionInstanceGroupsListInstancesRequest/instanceState": instance_state -"/compute:beta/RegionInstanceGroupsListInstancesRequest/portName": port_name -"/compute:beta/RegionInstanceGroupsSetNamedPortsRequest": region_instance_groups_set_named_ports_request -"/compute:beta/RegionInstanceGroupsSetNamedPortsRequest/fingerprint": fingerprint -"/compute:beta/RegionInstanceGroupsSetNamedPortsRequest/namedPorts": named_ports -"/compute:beta/RegionInstanceGroupsSetNamedPortsRequest/namedPorts/named_port": named_port -"/compute:beta/RegionList": region_list -"/compute:beta/RegionList/id": id -"/compute:beta/RegionList/items": items -"/compute:beta/RegionList/items/item": item -"/compute:beta/RegionList/kind": kind -"/compute:beta/RegionList/nextPageToken": next_page_token -"/compute:beta/RegionList/selfLink": self_link -"/compute:beta/RegionSetLabelsRequest": region_set_labels_request -"/compute:beta/RegionSetLabelsRequest/labelFingerprint": label_fingerprint -"/compute:beta/RegionSetLabelsRequest/labels": labels -"/compute:beta/RegionSetLabelsRequest/labels/label": label -"/compute:beta/ResourceCommitment": resource_commitment -"/compute:beta/ResourceCommitment/amount": amount -"/compute:beta/ResourceCommitment/type": type -"/compute:beta/ResourceGroupReference": resource_group_reference -"/compute:beta/ResourceGroupReference/group": group -"/compute:beta/Route": route -"/compute:beta/Route/creationTimestamp": creation_timestamp -"/compute:beta/Route/description": description -"/compute:beta/Route/destRange": dest_range -"/compute:beta/Route/id": id -"/compute:beta/Route/kind": kind -"/compute:beta/Route/name": name -"/compute:beta/Route/network": network -"/compute:beta/Route/nextHopGateway": next_hop_gateway -"/compute:beta/Route/nextHopInstance": next_hop_instance -"/compute:beta/Route/nextHopIp": next_hop_ip -"/compute:beta/Route/nextHopNetwork": next_hop_network -"/compute:beta/Route/nextHopPeering": next_hop_peering -"/compute:beta/Route/nextHopVpnTunnel": next_hop_vpn_tunnel -"/compute:beta/Route/priority": priority -"/compute:beta/Route/selfLink": self_link -"/compute:beta/Route/tags": tags -"/compute:beta/Route/tags/tag": tag -"/compute:beta/Route/warnings": warnings -"/compute:beta/Route/warnings/warning": warning -"/compute:beta/Route/warnings/warning/code": code -"/compute:beta/Route/warnings/warning/data": data -"/compute:beta/Route/warnings/warning/data/datum": datum -"/compute:beta/Route/warnings/warning/data/datum/key": key -"/compute:beta/Route/warnings/warning/data/datum/value": value -"/compute:beta/Route/warnings/warning/message": message -"/compute:beta/RouteList": route_list -"/compute:beta/RouteList/id": id -"/compute:beta/RouteList/items": items -"/compute:beta/RouteList/items/item": item -"/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/bestRoutesForRouter": best_routes_for_router -"/compute:beta/RouterStatus/bestRoutesForRouter/best_routes_for_router": best_routes_for_router -"/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/RouterStatusBgpPeerStatus/uptimeSeconds": uptime_seconds -"/compute:beta/RouterStatusResponse": router_status_response -"/compute:beta/RouterStatusResponse/kind": kind -"/compute:beta/RouterStatusResponse/result": result -"/compute:beta/RoutersPreviewResponse": routers_preview_response -"/compute:beta/RoutersPreviewResponse/resource": resource -"/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/Rule": rule -"/compute:beta/Rule/action": action -"/compute:beta/Rule/conditions": conditions -"/compute:beta/Rule/conditions/condition": condition -"/compute:beta/Rule/description": description -"/compute:beta/Rule/ins": ins -"/compute:beta/Rule/ins/in": in -"/compute:beta/Rule/logConfigs": log_configs -"/compute:beta/Rule/logConfigs/log_config": log_config -"/compute:beta/Rule/notIns": not_ins -"/compute:beta/Rule/notIns/not_in": not_in -"/compute:beta/Rule/permissions": permissions -"/compute:beta/Rule/permissions/permission": permission -"/compute:beta/SSLHealthCheck": ssl_health_check -"/compute:beta/SSLHealthCheck/port": port -"/compute:beta/SSLHealthCheck/portName": port_name -"/compute:beta/SSLHealthCheck/proxyHeader": proxy_header -"/compute:beta/SSLHealthCheck/request": request -"/compute:beta/SSLHealthCheck/response": response -"/compute:beta/Scheduling": scheduling -"/compute:beta/Scheduling/automaticRestart": automatic_restart -"/compute:beta/Scheduling/onHostMaintenance": on_host_maintenance -"/compute:beta/Scheduling/preemptible": preemptible -"/compute:beta/SerialPortOutput": serial_port_output -"/compute:beta/SerialPortOutput/contents": contents -"/compute:beta/SerialPortOutput/kind": kind -"/compute:beta/SerialPortOutput/next": next -"/compute:beta/SerialPortOutput/selfLink": self_link -"/compute:beta/SerialPortOutput/start": start -"/compute:beta/ServiceAccount": service_account -"/compute:beta/ServiceAccount/email": email -"/compute:beta/ServiceAccount/scopes": scopes -"/compute:beta/ServiceAccount/scopes/scope": scope -"/compute:beta/Snapshot": snapshot -"/compute:beta/Snapshot/creationTimestamp": creation_timestamp -"/compute:beta/Snapshot/description": description -"/compute:beta/Snapshot/diskSizeGb": disk_size_gb -"/compute:beta/Snapshot/id": id -"/compute:beta/Snapshot/kind": kind -"/compute:beta/Snapshot/labelFingerprint": label_fingerprint -"/compute:beta/Snapshot/labels": labels -"/compute:beta/Snapshot/labels/label": label -"/compute:beta/Snapshot/licenses": licenses -"/compute:beta/Snapshot/licenses/license": license -"/compute:beta/Snapshot/name": name -"/compute:beta/Snapshot/selfLink": self_link -"/compute:beta/Snapshot/snapshotEncryptionKey": snapshot_encryption_key -"/compute:beta/Snapshot/sourceDisk": source_disk -"/compute:beta/Snapshot/sourceDiskEncryptionKey": source_disk_encryption_key -"/compute:beta/Snapshot/sourceDiskId": source_disk_id -"/compute:beta/Snapshot/status": status -"/compute:beta/Snapshot/storageBytes": storage_bytes -"/compute:beta/Snapshot/storageBytesStatus": storage_bytes_status -"/compute:beta/SnapshotList": snapshot_list -"/compute:beta/SnapshotList/id": id -"/compute:beta/SnapshotList/items": items -"/compute:beta/SnapshotList/items/item": item -"/compute:beta/SnapshotList/kind": kind -"/compute:beta/SnapshotList/nextPageToken": next_page_token -"/compute:beta/SnapshotList/selfLink": self_link -"/compute:beta/SslCertificate": ssl_certificate -"/compute:beta/SslCertificate/certificate": certificate -"/compute:beta/SslCertificate/creationTimestamp": creation_timestamp -"/compute:beta/SslCertificate/description": description -"/compute:beta/SslCertificate/id": id -"/compute:beta/SslCertificate/kind": kind -"/compute:beta/SslCertificate/name": name -"/compute:beta/SslCertificate/privateKey": private_key -"/compute:beta/SslCertificate/selfLink": self_link -"/compute:beta/SslCertificateList": ssl_certificate_list -"/compute:beta/SslCertificateList/id": id -"/compute:beta/SslCertificateList/items": items -"/compute:beta/SslCertificateList/items/item": item -"/compute:beta/SslCertificateList/kind": kind -"/compute:beta/SslCertificateList/nextPageToken": next_page_token -"/compute:beta/SslCertificateList/selfLink": self_link -"/compute:beta/Subnetwork": subnetwork -"/compute:beta/Subnetwork/creationTimestamp": creation_timestamp -"/compute:beta/Subnetwork/description": description -"/compute:beta/Subnetwork/gatewayAddress": gateway_address -"/compute:beta/Subnetwork/id": id -"/compute:beta/Subnetwork/ipCidrRange": ip_cidr_range -"/compute:beta/Subnetwork/kind": kind -"/compute:beta/Subnetwork/name": name -"/compute:beta/Subnetwork/network": network -"/compute:beta/Subnetwork/privateIpGoogleAccess": private_ip_google_access -"/compute:beta/Subnetwork/region": region -"/compute:beta/Subnetwork/secondaryIpRanges": secondary_ip_ranges -"/compute:beta/Subnetwork/secondaryIpRanges/secondary_ip_range": secondary_ip_range -"/compute:beta/Subnetwork/selfLink": self_link -"/compute:beta/SubnetworkAggregatedList": subnetwork_aggregated_list -"/compute:beta/SubnetworkAggregatedList/id": id -"/compute:beta/SubnetworkAggregatedList/items": items -"/compute:beta/SubnetworkAggregatedList/items/item": item -"/compute:beta/SubnetworkAggregatedList/kind": kind -"/compute:beta/SubnetworkAggregatedList/nextPageToken": next_page_token -"/compute:beta/SubnetworkAggregatedList/selfLink": self_link -"/compute:beta/SubnetworkList": subnetwork_list -"/compute:beta/SubnetworkList/id": id -"/compute:beta/SubnetworkList/items": items -"/compute:beta/SubnetworkList/items/item": item -"/compute:beta/SubnetworkList/kind": kind -"/compute:beta/SubnetworkList/nextPageToken": next_page_token -"/compute:beta/SubnetworkList/selfLink": self_link -"/compute:beta/SubnetworkSecondaryRange": subnetwork_secondary_range -"/compute:beta/SubnetworkSecondaryRange/ipCidrRange": ip_cidr_range -"/compute:beta/SubnetworkSecondaryRange/rangeName": range_name -"/compute:beta/SubnetworksExpandIpCidrRangeRequest": subnetworks_expand_ip_cidr_range_request -"/compute:beta/SubnetworksExpandIpCidrRangeRequest/ipCidrRange": ip_cidr_range -"/compute:beta/SubnetworksScopedList": subnetworks_scoped_list -"/compute:beta/SubnetworksScopedList/subnetworks": subnetworks -"/compute:beta/SubnetworksScopedList/subnetworks/subnetwork": subnetwork -"/compute:beta/SubnetworksScopedList/warning": warning -"/compute:beta/SubnetworksScopedList/warning/code": code -"/compute:beta/SubnetworksScopedList/warning/data": data -"/compute:beta/SubnetworksScopedList/warning/data/datum": datum -"/compute:beta/SubnetworksScopedList/warning/data/datum/key": key -"/compute:beta/SubnetworksScopedList/warning/data/datum/value": value -"/compute:beta/SubnetworksScopedList/warning/message": message -"/compute:beta/SubnetworksSetPrivateIpGoogleAccessRequest": subnetworks_set_private_ip_google_access_request -"/compute:beta/SubnetworksSetPrivateIpGoogleAccessRequest/privateIpGoogleAccess": private_ip_google_access -"/compute:beta/TCPHealthCheck": tcp_health_check -"/compute:beta/TCPHealthCheck/port": port -"/compute:beta/TCPHealthCheck/portName": port_name -"/compute:beta/TCPHealthCheck/proxyHeader": proxy_header -"/compute:beta/TCPHealthCheck/request": request -"/compute:beta/TCPHealthCheck/response": response -"/compute:beta/Tags": tags -"/compute:beta/Tags/fingerprint": fingerprint -"/compute:beta/Tags/items": items -"/compute:beta/Tags/items/item": item -"/compute:beta/TargetHttpProxy": target_http_proxy -"/compute:beta/TargetHttpProxy/creationTimestamp": creation_timestamp -"/compute:beta/TargetHttpProxy/description": description -"/compute:beta/TargetHttpProxy/id": id -"/compute:beta/TargetHttpProxy/kind": kind -"/compute:beta/TargetHttpProxy/name": name -"/compute:beta/TargetHttpProxy/selfLink": self_link -"/compute:beta/TargetHttpProxy/urlMap": url_map -"/compute:beta/TargetHttpProxyList": target_http_proxy_list -"/compute:beta/TargetHttpProxyList/id": id -"/compute:beta/TargetHttpProxyList/items": items -"/compute:beta/TargetHttpProxyList/items/item": item -"/compute:beta/TargetHttpProxyList/kind": kind -"/compute:beta/TargetHttpProxyList/nextPageToken": next_page_token -"/compute:beta/TargetHttpProxyList/selfLink": self_link -"/compute:beta/TargetHttpsProxiesSetSslCertificatesRequest": target_https_proxies_set_ssl_certificates_request -"/compute:beta/TargetHttpsProxiesSetSslCertificatesRequest/sslCertificates": ssl_certificates -"/compute:beta/TargetHttpsProxiesSetSslCertificatesRequest/sslCertificates/ssl_certificate": ssl_certificate -"/compute:beta/TargetHttpsProxy": target_https_proxy -"/compute:beta/TargetHttpsProxy/creationTimestamp": creation_timestamp -"/compute:beta/TargetHttpsProxy/description": description -"/compute:beta/TargetHttpsProxy/id": id -"/compute:beta/TargetHttpsProxy/kind": kind -"/compute:beta/TargetHttpsProxy/name": name -"/compute:beta/TargetHttpsProxy/selfLink": self_link -"/compute:beta/TargetHttpsProxy/sslCertificates": ssl_certificates -"/compute:beta/TargetHttpsProxy/sslCertificates/ssl_certificate": ssl_certificate -"/compute:beta/TargetHttpsProxy/urlMap": url_map -"/compute:beta/TargetHttpsProxyList": target_https_proxy_list -"/compute:beta/TargetHttpsProxyList/id": id -"/compute:beta/TargetHttpsProxyList/items": items -"/compute:beta/TargetHttpsProxyList/items/item": item -"/compute:beta/TargetHttpsProxyList/kind": kind -"/compute:beta/TargetHttpsProxyList/nextPageToken": next_page_token -"/compute:beta/TargetHttpsProxyList/selfLink": self_link -"/compute:beta/TargetInstance": target_instance -"/compute:beta/TargetInstance/creationTimestamp": creation_timestamp -"/compute:beta/TargetInstance/description": description -"/compute:beta/TargetInstance/id": id -"/compute:beta/TargetInstance/instance": instance -"/compute:beta/TargetInstance/kind": kind -"/compute:beta/TargetInstance/name": name -"/compute:beta/TargetInstance/natPolicy": nat_policy -"/compute:beta/TargetInstance/selfLink": self_link -"/compute:beta/TargetInstance/zone": zone -"/compute:beta/TargetInstanceAggregatedList": target_instance_aggregated_list -"/compute:beta/TargetInstanceAggregatedList/id": id -"/compute:beta/TargetInstanceAggregatedList/items": items -"/compute:beta/TargetInstanceAggregatedList/items/item": item -"/compute:beta/TargetInstanceAggregatedList/kind": kind -"/compute:beta/TargetInstanceAggregatedList/nextPageToken": next_page_token -"/compute:beta/TargetInstanceAggregatedList/selfLink": self_link -"/compute:beta/TargetInstanceList": target_instance_list -"/compute:beta/TargetInstanceList/id": id -"/compute:beta/TargetInstanceList/items": items -"/compute:beta/TargetInstanceList/items/item": item -"/compute:beta/TargetInstanceList/kind": kind -"/compute:beta/TargetInstanceList/nextPageToken": next_page_token -"/compute:beta/TargetInstanceList/selfLink": self_link -"/compute:beta/TargetInstancesScopedList": target_instances_scoped_list -"/compute:beta/TargetInstancesScopedList/targetInstances": target_instances -"/compute:beta/TargetInstancesScopedList/targetInstances/target_instance": target_instance -"/compute:beta/TargetInstancesScopedList/warning": warning -"/compute:beta/TargetInstancesScopedList/warning/code": code -"/compute:beta/TargetInstancesScopedList/warning/data": data -"/compute:beta/TargetInstancesScopedList/warning/data/datum": datum -"/compute:beta/TargetInstancesScopedList/warning/data/datum/key": key -"/compute:beta/TargetInstancesScopedList/warning/data/datum/value": value -"/compute:beta/TargetInstancesScopedList/warning/message": message -"/compute:beta/TargetPool": target_pool -"/compute:beta/TargetPool/backupPool": backup_pool -"/compute:beta/TargetPool/creationTimestamp": creation_timestamp -"/compute:beta/TargetPool/description": description -"/compute:beta/TargetPool/failoverRatio": failover_ratio -"/compute:beta/TargetPool/healthChecks": health_checks -"/compute:beta/TargetPool/healthChecks/health_check": health_check -"/compute:beta/TargetPool/id": id -"/compute:beta/TargetPool/instances": instances -"/compute:beta/TargetPool/instances/instance": instance -"/compute:beta/TargetPool/kind": kind -"/compute:beta/TargetPool/name": name -"/compute:beta/TargetPool/region": region -"/compute:beta/TargetPool/selfLink": self_link -"/compute:beta/TargetPool/sessionAffinity": session_affinity -"/compute:beta/TargetPoolAggregatedList": target_pool_aggregated_list -"/compute:beta/TargetPoolAggregatedList/id": id -"/compute:beta/TargetPoolAggregatedList/items": items -"/compute:beta/TargetPoolAggregatedList/items/item": item -"/compute:beta/TargetPoolAggregatedList/kind": kind -"/compute:beta/TargetPoolAggregatedList/nextPageToken": next_page_token -"/compute:beta/TargetPoolAggregatedList/selfLink": self_link -"/compute:beta/TargetPoolInstanceHealth": target_pool_instance_health -"/compute:beta/TargetPoolInstanceHealth/healthStatus": health_status -"/compute:beta/TargetPoolInstanceHealth/healthStatus/health_status": health_status -"/compute:beta/TargetPoolInstanceHealth/kind": kind -"/compute:beta/TargetPoolList": target_pool_list -"/compute:beta/TargetPoolList/id": id -"/compute:beta/TargetPoolList/items": items -"/compute:beta/TargetPoolList/items/item": item -"/compute:beta/TargetPoolList/kind": kind -"/compute:beta/TargetPoolList/nextPageToken": next_page_token -"/compute:beta/TargetPoolList/selfLink": self_link -"/compute:beta/TargetPoolsAddHealthCheckRequest/healthChecks": health_checks -"/compute:beta/TargetPoolsAddHealthCheckRequest/healthChecks/health_check": health_check -"/compute:beta/TargetPoolsAddInstanceRequest/instances": instances -"/compute:beta/TargetPoolsAddInstanceRequest/instances/instance": instance -"/compute:beta/TargetPoolsRemoveHealthCheckRequest/healthChecks": health_checks -"/compute:beta/TargetPoolsRemoveHealthCheckRequest/healthChecks/health_check": health_check -"/compute:beta/TargetPoolsRemoveInstanceRequest/instances": instances -"/compute:beta/TargetPoolsRemoveInstanceRequest/instances/instance": instance -"/compute:beta/TargetPoolsScopedList": target_pools_scoped_list -"/compute:beta/TargetPoolsScopedList/targetPools": target_pools -"/compute:beta/TargetPoolsScopedList/targetPools/target_pool": target_pool -"/compute:beta/TargetPoolsScopedList/warning": warning -"/compute:beta/TargetPoolsScopedList/warning/code": code -"/compute:beta/TargetPoolsScopedList/warning/data": data -"/compute:beta/TargetPoolsScopedList/warning/data/datum": datum -"/compute:beta/TargetPoolsScopedList/warning/data/datum/key": key -"/compute:beta/TargetPoolsScopedList/warning/data/datum/value": value -"/compute:beta/TargetPoolsScopedList/warning/message": message -"/compute:beta/TargetReference": target_reference -"/compute:beta/TargetReference/target": target -"/compute:beta/TargetSslProxiesSetBackendServiceRequest": target_ssl_proxies_set_backend_service_request -"/compute:beta/TargetSslProxiesSetBackendServiceRequest/service": service -"/compute:beta/TargetSslProxiesSetProxyHeaderRequest": target_ssl_proxies_set_proxy_header_request -"/compute:beta/TargetSslProxiesSetProxyHeaderRequest/proxyHeader": proxy_header -"/compute:beta/TargetSslProxiesSetSslCertificatesRequest": target_ssl_proxies_set_ssl_certificates_request -"/compute:beta/TargetSslProxiesSetSslCertificatesRequest/sslCertificates": ssl_certificates -"/compute:beta/TargetSslProxiesSetSslCertificatesRequest/sslCertificates/ssl_certificate": ssl_certificate -"/compute:beta/TargetSslProxy": target_ssl_proxy -"/compute:beta/TargetSslProxy/creationTimestamp": creation_timestamp -"/compute:beta/TargetSslProxy/description": description -"/compute:beta/TargetSslProxy/id": id -"/compute:beta/TargetSslProxy/kind": kind -"/compute:beta/TargetSslProxy/name": name -"/compute:beta/TargetSslProxy/proxyHeader": proxy_header -"/compute:beta/TargetSslProxy/selfLink": self_link -"/compute:beta/TargetSslProxy/service": service -"/compute:beta/TargetSslProxy/sslCertificates": ssl_certificates -"/compute:beta/TargetSslProxy/sslCertificates/ssl_certificate": ssl_certificate -"/compute:beta/TargetSslProxyList": target_ssl_proxy_list -"/compute:beta/TargetSslProxyList/id": id -"/compute:beta/TargetSslProxyList/items": items -"/compute:beta/TargetSslProxyList/items/item": item -"/compute:beta/TargetSslProxyList/kind": kind -"/compute:beta/TargetSslProxyList/nextPageToken": next_page_token -"/compute:beta/TargetSslProxyList/selfLink": self_link -"/compute:beta/TargetTcpProxiesSetBackendServiceRequest": target_tcp_proxies_set_backend_service_request -"/compute:beta/TargetTcpProxiesSetBackendServiceRequest/service": service -"/compute:beta/TargetTcpProxiesSetProxyHeaderRequest": target_tcp_proxies_set_proxy_header_request -"/compute:beta/TargetTcpProxiesSetProxyHeaderRequest/proxyHeader": proxy_header -"/compute:beta/TargetTcpProxy": target_tcp_proxy -"/compute:beta/TargetTcpProxy/creationTimestamp": creation_timestamp -"/compute:beta/TargetTcpProxy/description": description -"/compute:beta/TargetTcpProxy/id": id -"/compute:beta/TargetTcpProxy/kind": kind -"/compute:beta/TargetTcpProxy/name": name -"/compute:beta/TargetTcpProxy/proxyHeader": proxy_header -"/compute:beta/TargetTcpProxy/selfLink": self_link -"/compute:beta/TargetTcpProxy/service": service -"/compute:beta/TargetTcpProxyList": target_tcp_proxy_list -"/compute:beta/TargetTcpProxyList/id": id -"/compute:beta/TargetTcpProxyList/items": items -"/compute:beta/TargetTcpProxyList/items/item": item -"/compute:beta/TargetTcpProxyList/kind": kind -"/compute:beta/TargetTcpProxyList/nextPageToken": next_page_token -"/compute:beta/TargetTcpProxyList/selfLink": self_link -"/compute:beta/TargetVpnGateway": target_vpn_gateway -"/compute:beta/TargetVpnGateway/creationTimestamp": creation_timestamp -"/compute:beta/TargetVpnGateway/description": description -"/compute:beta/TargetVpnGateway/forwardingRules": forwarding_rules -"/compute:beta/TargetVpnGateway/forwardingRules/forwarding_rule": forwarding_rule -"/compute:beta/TargetVpnGateway/id": id -"/compute:beta/TargetVpnGateway/kind": kind -"/compute:beta/TargetVpnGateway/name": name -"/compute:beta/TargetVpnGateway/network": network -"/compute:beta/TargetVpnGateway/region": region -"/compute:beta/TargetVpnGateway/selfLink": self_link -"/compute:beta/TargetVpnGateway/status": status -"/compute:beta/TargetVpnGateway/tunnels": tunnels -"/compute:beta/TargetVpnGateway/tunnels/tunnel": tunnel -"/compute:beta/TargetVpnGatewayAggregatedList": target_vpn_gateway_aggregated_list -"/compute:beta/TargetVpnGatewayAggregatedList/id": id -"/compute:beta/TargetVpnGatewayAggregatedList/items": items -"/compute:beta/TargetVpnGatewayAggregatedList/items/item": item -"/compute:beta/TargetVpnGatewayAggregatedList/kind": kind -"/compute:beta/TargetVpnGatewayAggregatedList/nextPageToken": next_page_token -"/compute:beta/TargetVpnGatewayAggregatedList/selfLink": self_link -"/compute:beta/TargetVpnGatewayList": target_vpn_gateway_list -"/compute:beta/TargetVpnGatewayList/id": id -"/compute:beta/TargetVpnGatewayList/items": items -"/compute:beta/TargetVpnGatewayList/items/item": item -"/compute:beta/TargetVpnGatewayList/kind": kind -"/compute:beta/TargetVpnGatewayList/nextPageToken": next_page_token -"/compute:beta/TargetVpnGatewayList/selfLink": self_link -"/compute:beta/TargetVpnGatewaysScopedList": target_vpn_gateways_scoped_list -"/compute:beta/TargetVpnGatewaysScopedList/targetVpnGateways": target_vpn_gateways -"/compute:beta/TargetVpnGatewaysScopedList/targetVpnGateways/target_vpn_gateway": target_vpn_gateway -"/compute:beta/TargetVpnGatewaysScopedList/warning": warning -"/compute:beta/TargetVpnGatewaysScopedList/warning/code": code -"/compute:beta/TargetVpnGatewaysScopedList/warning/data": data -"/compute:beta/TargetVpnGatewaysScopedList/warning/data/datum": datum -"/compute:beta/TargetVpnGatewaysScopedList/warning/data/datum/key": key -"/compute:beta/TargetVpnGatewaysScopedList/warning/data/datum/value": value -"/compute:beta/TargetVpnGatewaysScopedList/warning/message": message -"/compute:beta/TestFailure": test_failure -"/compute:beta/TestFailure/actualService": actual_service -"/compute:beta/TestFailure/expectedService": expected_service -"/compute:beta/TestFailure/host": host -"/compute:beta/TestFailure/path": path -"/compute:beta/TestPermissionsRequest": test_permissions_request -"/compute:beta/TestPermissionsRequest/permissions": permissions -"/compute:beta/TestPermissionsRequest/permissions/permission": permission -"/compute:beta/TestPermissionsResponse": test_permissions_response -"/compute:beta/TestPermissionsResponse/permissions": permissions -"/compute:beta/TestPermissionsResponse/permissions/permission": permission -"/compute:beta/UDPHealthCheck": udp_health_check -"/compute:beta/UDPHealthCheck/port": port -"/compute:beta/UDPHealthCheck/portName": port_name -"/compute:beta/UDPHealthCheck/request": request -"/compute:beta/UDPHealthCheck/response": response -"/compute:beta/UrlMap": url_map -"/compute:beta/UrlMap/creationTimestamp": creation_timestamp -"/compute:beta/UrlMap/defaultService": default_service -"/compute:beta/UrlMap/description": description -"/compute:beta/UrlMap/fingerprint": fingerprint -"/compute:beta/UrlMap/hostRules": host_rules -"/compute:beta/UrlMap/hostRules/host_rule": host_rule -"/compute:beta/UrlMap/id": id -"/compute:beta/UrlMap/kind": kind -"/compute:beta/UrlMap/name": name -"/compute:beta/UrlMap/pathMatchers": path_matchers -"/compute:beta/UrlMap/pathMatchers/path_matcher": path_matcher -"/compute:beta/UrlMap/selfLink": self_link -"/compute:beta/UrlMap/tests": tests -"/compute:beta/UrlMap/tests/test": test -"/compute:beta/UrlMapList": url_map_list -"/compute:beta/UrlMapList/id": id -"/compute:beta/UrlMapList/items": items -"/compute:beta/UrlMapList/items/item": item -"/compute:beta/UrlMapList/kind": kind -"/compute:beta/UrlMapList/nextPageToken": next_page_token -"/compute:beta/UrlMapList/selfLink": self_link -"/compute:beta/UrlMapReference": url_map_reference -"/compute:beta/UrlMapReference/urlMap": url_map -"/compute:beta/UrlMapTest": url_map_test -"/compute:beta/UrlMapTest/description": description -"/compute:beta/UrlMapTest/host": host -"/compute:beta/UrlMapTest/path": path -"/compute:beta/UrlMapTest/service": service -"/compute:beta/UrlMapValidationResult": url_map_validation_result -"/compute:beta/UrlMapValidationResult/loadErrors": load_errors -"/compute:beta/UrlMapValidationResult/loadErrors/load_error": load_error -"/compute:beta/UrlMapValidationResult/loadSucceeded": load_succeeded -"/compute:beta/UrlMapValidationResult/testFailures": test_failures -"/compute:beta/UrlMapValidationResult/testFailures/test_failure": test_failure -"/compute:beta/UrlMapValidationResult/testPassed": test_passed -"/compute:beta/UrlMapsValidateRequest/resource": resource -"/compute:beta/UrlMapsValidateResponse/result": result -"/compute:beta/UsageExportLocation": usage_export_location -"/compute:beta/UsageExportLocation/bucketName": bucket_name -"/compute:beta/UsageExportLocation/reportNamePrefix": report_name_prefix -"/compute:beta/VpnTunnel": vpn_tunnel -"/compute:beta/VpnTunnel/creationTimestamp": creation_timestamp -"/compute:beta/VpnTunnel/description": description -"/compute:beta/VpnTunnel/detailedStatus": detailed_status -"/compute:beta/VpnTunnel/id": id -"/compute:beta/VpnTunnel/ikeVersion": ike_version -"/compute:beta/VpnTunnel/kind": kind -"/compute:beta/VpnTunnel/localTrafficSelector": local_traffic_selector -"/compute:beta/VpnTunnel/localTrafficSelector/local_traffic_selector": local_traffic_selector -"/compute:beta/VpnTunnel/name": name -"/compute:beta/VpnTunnel/peerIp": peer_ip -"/compute:beta/VpnTunnel/region": region -"/compute:beta/VpnTunnel/remoteTrafficSelector": remote_traffic_selector -"/compute:beta/VpnTunnel/remoteTrafficSelector/remote_traffic_selector": remote_traffic_selector -"/compute:beta/VpnTunnel/router": router -"/compute:beta/VpnTunnel/selfLink": self_link -"/compute:beta/VpnTunnel/sharedSecret": shared_secret -"/compute:beta/VpnTunnel/sharedSecretHash": shared_secret_hash -"/compute:beta/VpnTunnel/status": status -"/compute:beta/VpnTunnel/targetVpnGateway": target_vpn_gateway -"/compute:beta/VpnTunnelAggregatedList": vpn_tunnel_aggregated_list -"/compute:beta/VpnTunnelAggregatedList/id": id -"/compute:beta/VpnTunnelAggregatedList/items": items -"/compute:beta/VpnTunnelAggregatedList/items/item": item -"/compute:beta/VpnTunnelAggregatedList/kind": kind -"/compute:beta/VpnTunnelAggregatedList/nextPageToken": next_page_token -"/compute:beta/VpnTunnelAggregatedList/selfLink": self_link -"/compute:beta/VpnTunnelList": vpn_tunnel_list -"/compute:beta/VpnTunnelList/id": id -"/compute:beta/VpnTunnelList/items": items -"/compute:beta/VpnTunnelList/items/item": item -"/compute:beta/VpnTunnelList/kind": kind -"/compute:beta/VpnTunnelList/nextPageToken": next_page_token -"/compute:beta/VpnTunnelList/selfLink": self_link -"/compute:beta/VpnTunnelsScopedList": vpn_tunnels_scoped_list -"/compute:beta/VpnTunnelsScopedList/vpnTunnels": vpn_tunnels -"/compute:beta/VpnTunnelsScopedList/vpnTunnels/vpn_tunnel": vpn_tunnel -"/compute:beta/VpnTunnelsScopedList/warning": warning -"/compute:beta/VpnTunnelsScopedList/warning/code": code -"/compute:beta/VpnTunnelsScopedList/warning/data": data -"/compute:beta/VpnTunnelsScopedList/warning/data/datum": datum -"/compute:beta/VpnTunnelsScopedList/warning/data/datum/key": key -"/compute:beta/VpnTunnelsScopedList/warning/data/datum/value": value -"/compute:beta/VpnTunnelsScopedList/warning/message": message -"/compute:beta/XpnHostList": xpn_host_list -"/compute:beta/XpnHostList/id": id -"/compute:beta/XpnHostList/items": items -"/compute:beta/XpnHostList/items/item": item -"/compute:beta/XpnHostList/kind": kind -"/compute:beta/XpnHostList/nextPageToken": next_page_token -"/compute:beta/XpnHostList/selfLink": self_link -"/compute:beta/XpnResourceId": xpn_resource_id -"/compute:beta/XpnResourceId/id": id -"/compute:beta/XpnResourceId/type": type -"/compute:beta/Zone": zone -"/compute:beta/Zone/availableCpuPlatforms": available_cpu_platforms -"/compute:beta/Zone/availableCpuPlatforms/available_cpu_platform": available_cpu_platform -"/compute:beta/Zone/creationTimestamp": creation_timestamp -"/compute:beta/Zone/deprecated": deprecated -"/compute:beta/Zone/description": description -"/compute:beta/Zone/id": id -"/compute:beta/Zone/kind": kind -"/compute:beta/Zone/name": name -"/compute:beta/Zone/region": region -"/compute:beta/Zone/selfLink": self_link -"/compute:beta/Zone/status": status -"/compute:beta/ZoneList": zone_list -"/compute:beta/ZoneList/id": id -"/compute:beta/ZoneList/items": items -"/compute:beta/ZoneList/items/item": item -"/compute:beta/ZoneList/kind": kind -"/compute:beta/ZoneList/nextPageToken": next_page_token -"/compute:beta/ZoneList/selfLink": self_link -"/compute:beta/ZoneSetLabelsRequest": zone_set_labels_request -"/compute:beta/ZoneSetLabelsRequest/labelFingerprint": label_fingerprint -"/compute:beta/ZoneSetLabelsRequest/labels": labels -"/compute:beta/ZoneSetLabelsRequest/labels/label": label -"/mybusiness:v3/fields": fields -"/mybusiness:v3/key": key -"/mybusiness:v3/quotaUser": quota_user -"/mybusiness:v3/mybusiness.accounts.list": list_accounts -"/mybusiness:v3/mybusiness.accounts.list/pageSize": page_size -"/mybusiness:v3/mybusiness.accounts.list/pageToken": page_token -"/mybusiness:v3/mybusiness.accounts.get": get_account -"/mybusiness:v3/mybusiness.accounts.get/name": name -"/mybusiness:v3/mybusiness.accounts.update": update_account -"/mybusiness:v3/mybusiness.accounts.update/name": name -"/mybusiness:v3/mybusiness.accounts.update/languageCode": language_code -"/mybusiness:v3/mybusiness.accounts.update/validateOnly": validate_only -"/mybusiness:v3/mybusiness.accounts.admins.list": list_account_admins -"/mybusiness:v3/mybusiness.accounts.admins.list/name": name -"/mybusiness:v3/mybusiness.accounts.admins.create": create_account_admin -"/mybusiness:v3/mybusiness.accounts.admins.create/name": name -"/mybusiness:v3/mybusiness.accounts.admins.delete": delete_account_admin -"/mybusiness:v3/mybusiness.accounts.admins.delete/name": name -"/mybusiness:v3/mybusiness.accounts.locations.list": list_account_locations -"/mybusiness:v3/mybusiness.accounts.locations.list/name": name -"/mybusiness:v3/mybusiness.accounts.locations.list/pageSize": page_size -"/mybusiness:v3/mybusiness.accounts.locations.list/pageToken": page_token -"/mybusiness:v3/mybusiness.accounts.locations.list/filter": filter -"/mybusiness:v3/mybusiness.accounts.locations.get": get_account_location -"/mybusiness:v3/mybusiness.accounts.locations.get/name": name -"/mybusiness:v3/mybusiness.accounts.locations.batchGet": batch_get_locations -"/mybusiness:v3/mybusiness.accounts.locations.batchGet/name": name -"/mybusiness:v3/mybusiness.accounts.locations.getGoogleUpdated/name": name -"/mybusiness:v3/mybusiness.accounts.locations.create": create_account_location -"/mybusiness:v3/mybusiness.accounts.locations.create/name": name -"/mybusiness:v3/mybusiness.accounts.locations.create/languageCode": language_code -"/mybusiness:v3/mybusiness.accounts.locations.create/validateOnly": validate_only -"/mybusiness:v3/mybusiness.accounts.locations.create/requestId": request_id -"/mybusiness:v3/mybusiness.accounts.locations.patch": patch_account_location -"/mybusiness:v3/mybusiness.accounts.locations.patch/name": name -"/mybusiness:v3/mybusiness.accounts.locations.patch/languageCode": language_code -"/mybusiness:v3/mybusiness.accounts.locations.patch/fieldMask": field_mask -"/mybusiness:v3/mybusiness.accounts.locations.patch/validateOnly": validate_only -"/mybusiness:v3/mybusiness.accounts.locations.delete": delete_account_location -"/mybusiness:v3/mybusiness.accounts.locations.delete/name": name -"/mybusiness:v3/mybusiness.accounts.locations.findMatches": find_account_location_matches -"/mybusiness:v3/mybusiness.accounts.locations.findMatches/name": name -"/mybusiness:v3/mybusiness.accounts.locations.associate": associate_location -"/mybusiness:v3/mybusiness.accounts.locations.associate/name": name -"/mybusiness:v3/mybusiness.accounts.locations.clearAssociation": clear_account_location_association -"/mybusiness:v3/mybusiness.accounts.locations.clearAssociation/name": name -"/mybusiness:v3/mybusiness.accounts.locations.transfer": transfer_location -"/mybusiness:v3/mybusiness.accounts.locations.transfer/name": name -"/mybusiness:v3/mybusiness.accounts.locations.admins.list": list_account_location_admins -"/mybusiness:v3/mybusiness.accounts.locations.admins.list/name": name -"/mybusiness:v3/mybusiness.accounts.locations.admins.create": create_account_location_admin -"/mybusiness:v3/mybusiness.accounts.locations.admins.create/name": name -"/mybusiness:v3/mybusiness.accounts.locations.admins.delete": delete_account_location_admin -"/mybusiness:v3/mybusiness.accounts.locations.admins.delete/name": name -"/mybusiness:v3/mybusiness.accounts.locations.reviews.list/name": name -"/mybusiness:v3/mybusiness.accounts.locations.reviews.list/pageSize": page_size -"/mybusiness:v3/mybusiness.accounts.locations.reviews.list/pageToken": page_token -"/mybusiness:v3/mybusiness.accounts.locations.reviews.list/orderBy": order_by -"/mybusiness:v3/mybusiness.accounts.locations.reviews.get/name": name -"/mybusiness:v3/mybusiness.accounts.locations.reviews.reply/name": name -"/mybusiness:v3/mybusiness.accounts.locations.reviews.deleteReply/name": name -"/mybusiness:v3/mybusiness.attributes.list": list_attributes -"/mybusiness:v3/mybusiness.attributes.list/name": name -"/mybusiness:v3/mybusiness.attributes.list/categoryId": category_id -"/mybusiness:v3/mybusiness.attributes.list/country": country -"/mybusiness:v3/mybusiness.attributes.list/languageCode": language_code -"/mybusiness:v3/ListAccountsResponse": list_accounts_response -"/mybusiness:v3/ListAccountsResponse/accounts": accounts -"/mybusiness:v3/ListAccountsResponse/accounts/account": account -"/mybusiness:v3/ListAccountsResponse/nextPageToken": next_page_token -"/mybusiness:v3/Account": account -"/mybusiness:v3/Account/name": name -"/mybusiness:v3/Account/accountName": account_name -"/mybusiness:v3/Account/type": type -"/mybusiness:v3/Account/role": role -"/mybusiness:v3/Account/state": state -"/mybusiness:v3/AccountState": account_state -"/mybusiness:v3/AccountState/status": status -"/mybusiness:v3/ListAccountAdminsResponse": list_account_admins_response -"/mybusiness:v3/ListAccountAdminsResponse/admins": admins -"/mybusiness:v3/ListAccountAdminsResponse/admins/admin": admin -"/mybusiness:v3/Admin": admin -"/mybusiness:v3/Admin/name": name -"/mybusiness:v3/Admin/adminName": admin_name -"/mybusiness:v3/Admin/role": role -"/mybusiness:v3/Admin/pendingInvitation": pending_invitation -"/mybusiness:v3/Empty": empty -"/mybusiness:v3/ListLocationsResponse": list_locations_response -"/mybusiness:v3/ListLocationsResponse/locations": locations -"/mybusiness:v3/ListLocationsResponse/locations/location": location -"/mybusiness:v3/ListLocationsResponse/nextPageToken": next_page_token -"/mybusiness:v3/Location": location -"/mybusiness:v3/Location/name": name -"/mybusiness:v3/Location/storeCode": store_code -"/mybusiness:v3/Location/locationName": location_name -"/mybusiness:v3/Location/primaryPhone": primary_phone -"/mybusiness:v3/Location/additionalPhones": additional_phones -"/mybusiness:v3/Location/additionalPhones/additional_phone": additional_phone -"/mybusiness:v3/Location/address": address -"/mybusiness:v3/Location/primaryCategory": primary_category -"/mybusiness:v3/Location/additionalCategories": additional_categories -"/mybusiness:v3/Location/additionalCategories/additional_category": additional_category -"/mybusiness:v3/Location/websiteUrl": website_url -"/mybusiness:v3/Location/regularHours": regular_hours -"/mybusiness:v3/Location/specialHours": special_hours -"/mybusiness:v3/Location/serviceArea": service_area -"/mybusiness:v3/Location/locationKey": location_key -"/mybusiness:v3/Location/labels": labels -"/mybusiness:v3/Location/labels/label": label -"/mybusiness:v3/Location/adWordsLocationExtensions": ad_words_location_extensions -"/mybusiness:v3/Location/photos": photos -"/mybusiness:v3/Location/latlng": latlng -"/mybusiness:v3/Location/openInfo": open_info -"/mybusiness:v3/Location/locationState": location_state -"/mybusiness:v3/Location/attributes": attributes -"/mybusiness:v3/Location/attributes/attribute": attribute -"/mybusiness:v3/Location/metadata": metadata -"/mybusiness:v3/Address": address -"/mybusiness:v3/Address/addressLines": address_lines -"/mybusiness:v3/Address/addressLines/address_line": address_line -"/mybusiness:v3/Address/subLocality": sub_locality -"/mybusiness:v3/Address/locality": locality -"/mybusiness:v3/Address/administrativeArea": administrative_area -"/mybusiness:v3/Address/country": country -"/mybusiness:v3/Address/postalCode": postal_code -"/mybusiness:v3/Category": category -"/mybusiness:v3/Category/name": name -"/mybusiness:v3/Category/categoryId": category_id -"/mybusiness:v3/BusinessHours": business_hours -"/mybusiness:v3/BusinessHours/periods": periods -"/mybusiness:v3/BusinessHours/periods/period": period -"/mybusiness:v3/TimePeriod": time_period -"/mybusiness:v3/TimePeriod/openDay": open_day -"/mybusiness:v3/TimePeriod/openTime": open_time -"/mybusiness:v3/TimePeriod/closeDay": close_day -"/mybusiness:v3/TimePeriod/closeTime": close_time -"/mybusiness:v3/SpecialHours": special_hours -"/mybusiness:v3/SpecialHours/specialHourPeriods": special_hour_periods -"/mybusiness:v3/SpecialHours/specialHourPeriods/special_hour_period": special_hour_period -"/mybusiness:v3/SpecialHourPeriod": special_hour_period -"/mybusiness:v3/SpecialHourPeriod/startDate": start_date -"/mybusiness:v3/SpecialHourPeriod/openTime": open_time -"/mybusiness:v3/SpecialHourPeriod/endDate": end_date -"/mybusiness:v3/SpecialHourPeriod/closeTime": close_time -"/mybusiness:v3/SpecialHourPeriod/isClosed": is_closed -"/mybusiness:v3/Date": date -"/mybusiness:v3/Date/year": year -"/mybusiness:v3/Date/month": month -"/mybusiness:v3/Date/day": day -"/mybusiness:v3/ServiceAreaBusiness": service_area_business -"/mybusiness:v3/ServiceAreaBusiness/businessType": business_type -"/mybusiness:v3/ServiceAreaBusiness/radius": radius -"/mybusiness:v3/ServiceAreaBusiness/places": places -"/mybusiness:v3/PointRadius": point_radius -"/mybusiness:v3/PointRadius/latlng": latlng -"/mybusiness:v3/PointRadius/radiusKm": radius_km -"/mybusiness:v3/LatLng": lat_lng -"/mybusiness:v3/LatLng/latitude": latitude -"/mybusiness:v3/LatLng/longitude": longitude -"/mybusiness:v3/Places": places -"/mybusiness:v3/Places/placeInfos": place_infos -"/mybusiness:v3/Places/placeInfos/place_info": place_info -"/mybusiness:v3/PlaceInfo": place_info -"/mybusiness:v3/PlaceInfo/name": name -"/mybusiness:v3/PlaceInfo/placeId": place_id -"/mybusiness:v3/LocationKey": location_key -"/mybusiness:v3/LocationKey/plusPageId": plus_page_id -"/mybusiness:v3/LocationKey/placeId": place_id -"/mybusiness:v3/LocationKey/explicitNoPlaceId": explicit_no_place_id -"/mybusiness:v3/AdWordsLocationExtensions": ad_words_location_extensions -"/mybusiness:v3/AdWordsLocationExtensions/adPhone": ad_phone -"/mybusiness:v3/Photos": photos -"/mybusiness:v3/Photos/profilePhotoUrl": profile_photo_url -"/mybusiness:v3/Photos/coverPhotoUrl": cover_photo_url -"/mybusiness:v3/Photos/logoPhotoUrl": logo_photo_url -"/mybusiness:v3/Photos/exteriorPhotoUrls": exterior_photo_urls -"/mybusiness:v3/Photos/exteriorPhotoUrls/exterior_photo_url": exterior_photo_url -"/mybusiness:v3/Photos/interiorPhotoUrls": interior_photo_urls -"/mybusiness:v3/Photos/interiorPhotoUrls/interior_photo_url": interior_photo_url -"/mybusiness:v3/Photos/productPhotoUrls": product_photo_urls -"/mybusiness:v3/Photos/productPhotoUrls/product_photo_url": product_photo_url -"/mybusiness:v3/Photos/photosAtWorkUrls": photos_at_work_urls -"/mybusiness:v3/Photos/photosAtWorkUrls/photos_at_work_url": photos_at_work_url -"/mybusiness:v3/Photos/foodAndDrinkPhotoUrls": food_and_drink_photo_urls -"/mybusiness:v3/Photos/foodAndDrinkPhotoUrls/food_and_drink_photo_url": food_and_drink_photo_url -"/mybusiness:v3/Photos/menuPhotoUrls": menu_photo_urls -"/mybusiness:v3/Photos/menuPhotoUrls/menu_photo_url": menu_photo_url -"/mybusiness:v3/Photos/commonAreasPhotoUrls": common_areas_photo_urls -"/mybusiness:v3/Photos/commonAreasPhotoUrls/common_areas_photo_url": common_areas_photo_url -"/mybusiness:v3/Photos/roomsPhotoUrls": rooms_photo_urls -"/mybusiness:v3/Photos/roomsPhotoUrls/rooms_photo_url": rooms_photo_url -"/mybusiness:v3/Photos/teamPhotoUrls": team_photo_urls -"/mybusiness:v3/Photos/teamPhotoUrls/team_photo_url": team_photo_url -"/mybusiness:v3/Photos/additionalPhotoUrls": additional_photo_urls -"/mybusiness:v3/Photos/additionalPhotoUrls/additional_photo_url": additional_photo_url -"/mybusiness:v3/Photos/preferredPhoto": preferred_photo -"/mybusiness:v3/OpenInfo": open_info -"/mybusiness:v3/OpenInfo/status": status -"/mybusiness:v3/LocationState": location_state -"/mybusiness:v3/LocationState/isGoogleUpdated": is_google_updated -"/mybusiness:v3/LocationState/isDuplicate": is_duplicate -"/mybusiness:v3/LocationState/isSuspended": is_suspended -"/mybusiness:v3/LocationState/canUpdate": can_update -"/mybusiness:v3/LocationState/canDelete": can_delete -"/mybusiness:v3/LocationState/isVerified": is_verified -"/mybusiness:v3/LocationState/needsReverification": needs_reverification -"/mybusiness:v3/Attribute": attribute -"/mybusiness:v3/Attribute/attributeId": attribute_id -"/mybusiness:v3/Attribute/valueType": value_type -"/mybusiness:v3/Attribute/values": values -"/mybusiness:v3/Attribute/values/value": value -"/mybusiness:v3/Metadata": metadata -"/mybusiness:v3/Metadata/duplicate": duplicate -"/mybusiness:v3/Duplicate": duplicate -"/mybusiness:v3/Duplicate/locationName": location_name -"/mybusiness:v3/Duplicate/ownership": ownership -"/mybusiness:v3/BatchGetLocationsRequest": batch_get_locations_request -"/mybusiness:v3/BatchGetLocationsRequest/locationNames": location_names -"/mybusiness:v3/BatchGetLocationsRequest/locationNames/location_name": location_name -"/mybusiness:v3/BatchGetLocationsResponse": batch_get_locations_response -"/mybusiness:v3/BatchGetLocationsResponse/locations": locations -"/mybusiness:v3/BatchGetLocationsResponse/locations/location": location -"/mybusiness:v3/GoogleUpdatedLocation": google_updated_location -"/mybusiness:v3/GoogleUpdatedLocation/location": location -"/mybusiness:v3/GoogleUpdatedLocation/diffMask": diff_mask -"/mybusiness:v3/ListLocationAdminsResponse": list_location_admins_response -"/mybusiness:v3/ListLocationAdminsResponse/admins": admins -"/mybusiness:v3/ListLocationAdminsResponse/admins/admin": admin -"/mybusiness:v3/FindMatchingLocationsRequest": find_matching_locations_request -"/mybusiness:v3/FindMatchingLocationsRequest/languageCode": language_code -"/mybusiness:v3/FindMatchingLocationsRequest/numResults": num_results -"/mybusiness:v3/FindMatchingLocationsRequest/maxCacheDuration": max_cache_duration -"/mybusiness:v3/FindMatchingLocationsResponse": find_matching_locations_response -"/mybusiness:v3/FindMatchingLocationsResponse/matchedLocations": matched_locations -"/mybusiness:v3/FindMatchingLocationsResponse/matchedLocations/matched_location": matched_location -"/mybusiness:v3/FindMatchingLocationsResponse/matchTime": match_time -"/mybusiness:v3/MatchedLocation": matched_location -"/mybusiness:v3/MatchedLocation/location": location -"/mybusiness:v3/MatchedLocation/isExactMatch": is_exact_match -"/mybusiness:v3/AssociateLocationRequest": associate_location_request -"/mybusiness:v3/AssociateLocationRequest/placeId": place_id -"/mybusiness:v3/ClearLocationAssociationRequest": clear_location_association_request -"/mybusiness:v3/TransferLocationRequest": transfer_location_request -"/mybusiness:v3/TransferLocationRequest/toAccount": to_account -"/mybusiness:v3/ListReviewsResponse": list_reviews_response -"/mybusiness:v3/ListReviewsResponse/reviews": reviews -"/mybusiness:v3/ListReviewsResponse/reviews/review": review -"/mybusiness:v3/ListReviewsResponse/averageRating": average_rating -"/mybusiness:v3/ListReviewsResponse/totalReviewCount": total_review_count -"/mybusiness:v3/ListReviewsResponse/nextPageToken": next_page_token -"/mybusiness:v3/Review": review -"/mybusiness:v3/Review/reviewId": review_id -"/mybusiness:v3/Review/reviewer": reviewer -"/mybusiness:v3/Review/starRating": star_rating -"/mybusiness:v3/Review/comment": comment -"/mybusiness:v3/Review/createTime": create_time -"/mybusiness:v3/Review/updateTime": update_time -"/mybusiness:v3/Review/reviewReply": review_reply -"/mybusiness:v3/Reviewer": reviewer -"/mybusiness:v3/Reviewer/displayName": display_name -"/mybusiness:v3/Reviewer/isAnonymous": is_anonymous -"/mybusiness:v3/ReviewReply": review_reply -"/mybusiness:v3/ReviewReply/comment": comment -"/mybusiness:v3/ReviewReply/updateTime": update_time -"/mybusiness:v3/ListLocationAttributeMetadataResponse": list_location_attribute_metadata_response -"/mybusiness:v3/ListLocationAttributeMetadataResponse/attributes": attributes -"/mybusiness:v3/ListLocationAttributeMetadataResponse/attributes/attribute": attribute -"/mybusiness:v3/AttributeMetadata": attribute_metadata -"/mybusiness:v3/AttributeMetadata/attributeId": attribute_id -"/mybusiness:v3/AttributeMetadata/valueType": value_type -"/mybusiness:v3/AttributeMetadata/displayName": display_name -"/mybusiness:v3/AttributeMetadata/groupDisplayName": group_display_name -"/mybusiness:v3/AttributeMetadata/isRepeatable": is_repeatable -"/mybusiness:v3/AttributeMetadata/valueMetadata": value_metadata -"/mybusiness:v3/AttributeMetadata/valueMetadata/value_metadatum": value_metadatum -"/mybusiness:v3/AttributeValueMetadata": attribute_value_metadata -"/mybusiness:v3/AttributeValueMetadata/value": value -"/mybusiness:v3/AttributeValueMetadata/displayName": display_name -"/monitoring:v3/key": key -"/monitoring:v3/quotaUser": quota_user -"/monitoring:v3/fields": fields -"/monitoring:v3/monitoring.projects.collectdTimeSeries.create": create_collectd_time_series -"/monitoring:v3/monitoring.projects.collectdTimeSeries.create/name": name -"/monitoring:v3/monitoring.projects.timeSeries.list": list_project_time_series -"/monitoring:v3/monitoring.projects.timeSeries.list/aggregation.crossSeriesReducer": aggregation_cross_series_reducer -"/monitoring:v3/monitoring.projects.timeSeries.list/filter": filter -"/monitoring:v3/monitoring.projects.timeSeries.list/aggregation.perSeriesAligner": aggregation_per_series_aligner -"/monitoring:v3/monitoring.projects.timeSeries.list/pageToken": page_token -"/monitoring:v3/monitoring.projects.timeSeries.list/interval.startTime": interval_start_time -"/monitoring:v3/monitoring.projects.timeSeries.list/view": view -"/monitoring:v3/monitoring.projects.timeSeries.list/aggregation.groupByFields": aggregation_group_by_fields -"/monitoring:v3/monitoring.projects.timeSeries.list/name": name -"/monitoring:v3/monitoring.projects.timeSeries.list/interval.endTime": interval_end_time -"/monitoring:v3/monitoring.projects.timeSeries.list/aggregation.alignmentPeriod": aggregation_alignment_period -"/monitoring:v3/monitoring.projects.timeSeries.list/pageSize": page_size -"/monitoring:v3/monitoring.projects.timeSeries.list/orderBy": order_by -"/monitoring:v3/monitoring.projects.timeSeries.create": create_time_series -"/monitoring:v3/monitoring.projects.timeSeries.create/name": name -"/monitoring:v3/monitoring.projects.metricDescriptors.create": create_project_metric_descriptor -"/monitoring:v3/monitoring.projects.metricDescriptors.create/name": name -"/monitoring:v3/monitoring.projects.metricDescriptors.delete": delete_project_metric_descriptor -"/monitoring:v3/monitoring.projects.metricDescriptors.delete/name": name -"/monitoring:v3/monitoring.projects.metricDescriptors.get": get_project_metric_descriptor -"/monitoring:v3/monitoring.projects.metricDescriptors.get/name": name -"/monitoring:v3/monitoring.projects.metricDescriptors.list": list_project_metric_descriptors -"/monitoring:v3/monitoring.projects.metricDescriptors.list/pageToken": page_token -"/monitoring:v3/monitoring.projects.metricDescriptors.list/name": name -"/monitoring:v3/monitoring.projects.metricDescriptors.list/pageSize": page_size -"/monitoring:v3/monitoring.projects.metricDescriptors.list/filter": filter -"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.get": get_project_monitored_resource_descriptor -"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.get/name": name -"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list": list_project_monitored_resource_descriptors -"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list/pageToken": page_token -"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list/name": name -"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list/pageSize": page_size -"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list/filter": filter -"/monitoring:v3/monitoring.projects.groups.delete": delete_project_group -"/monitoring:v3/monitoring.projects.groups.delete/name": name -"/monitoring:v3/monitoring.projects.groups.get": get_project_group -"/monitoring:v3/monitoring.projects.groups.get/name": name -"/monitoring:v3/monitoring.projects.groups.list": list_project_groups -"/monitoring:v3/monitoring.projects.groups.list/name": name -"/monitoring:v3/monitoring.projects.groups.list/childrenOfGroup": children_of_group -"/monitoring:v3/monitoring.projects.groups.list/descendantsOfGroup": descendants_of_group -"/monitoring:v3/monitoring.projects.groups.list/pageToken": page_token -"/monitoring:v3/monitoring.projects.groups.list/pageSize": page_size -"/monitoring:v3/monitoring.projects.groups.list/ancestorsOfGroup": ancestors_of_group -"/monitoring:v3/monitoring.projects.groups.update": update_project_group -"/monitoring:v3/monitoring.projects.groups.update/validateOnly": validate_only -"/monitoring:v3/monitoring.projects.groups.update/name": name -"/monitoring:v3/monitoring.projects.groups.create": create_project_group -"/monitoring:v3/monitoring.projects.groups.create/validateOnly": validate_only -"/monitoring:v3/monitoring.projects.groups.create/name": name -"/monitoring:v3/monitoring.projects.groups.members.list": list_project_group_members -"/monitoring:v3/monitoring.projects.groups.members.list/name": name -"/monitoring:v3/monitoring.projects.groups.members.list/interval.endTime": interval_end_time -"/monitoring:v3/monitoring.projects.groups.members.list/filter": filter -"/monitoring:v3/monitoring.projects.groups.members.list/pageToken": page_token -"/monitoring:v3/monitoring.projects.groups.members.list/pageSize": page_size -"/monitoring:v3/monitoring.projects.groups.members.list/interval.startTime": interval_start_time -"/monitoring:v3/Range": range -"/monitoring:v3/Range/min": min -"/monitoring:v3/Range/max": max -"/monitoring:v3/ListGroupsResponse": list_groups_response -"/monitoring:v3/ListGroupsResponse/group": group -"/monitoring:v3/ListGroupsResponse/group/group": group -"/monitoring:v3/ListGroupsResponse/nextPageToken": next_page_token -"/monitoring:v3/CreateCollectdTimeSeriesRequest": create_collectd_time_series_request -"/monitoring:v3/CreateCollectdTimeSeriesRequest/collectdVersion": collectd_version -"/monitoring:v3/CreateCollectdTimeSeriesRequest/collectdPayloads": collectd_payloads -"/monitoring:v3/CreateCollectdTimeSeriesRequest/collectdPayloads/collectd_payload": collectd_payload -"/monitoring:v3/CreateCollectdTimeSeriesRequest/resource": resource -"/monitoring:v3/ListGroupMembersResponse": list_group_members_response -"/monitoring:v3/ListGroupMembersResponse/members": members -"/monitoring:v3/ListGroupMembersResponse/members/member": member -"/monitoring:v3/ListGroupMembersResponse/nextPageToken": next_page_token -"/monitoring:v3/ListGroupMembersResponse/totalSize": total_size -"/monitoring:v3/ListMonitoredResourceDescriptorsResponse": list_monitored_resource_descriptors_response -"/monitoring:v3/ListMonitoredResourceDescriptorsResponse/nextPageToken": next_page_token -"/monitoring:v3/ListMonitoredResourceDescriptorsResponse/resourceDescriptors": resource_descriptors -"/monitoring:v3/ListMonitoredResourceDescriptorsResponse/resourceDescriptors/resource_descriptor": resource_descriptor -"/monitoring:v3/TimeSeries": time_series -"/monitoring:v3/TimeSeries/resource": resource -"/monitoring:v3/TimeSeries/metricKind": metric_kind -"/monitoring:v3/TimeSeries/points": points -"/monitoring:v3/TimeSeries/points/point": point -"/monitoring:v3/TimeSeries/metric": metric -"/monitoring:v3/TimeSeries/valueType": value_type -"/monitoring:v3/CreateTimeSeriesRequest": create_time_series_request -"/monitoring:v3/CreateTimeSeriesRequest/timeSeries": time_series -"/monitoring:v3/CreateTimeSeriesRequest/timeSeries/time_series": time_series -"/monitoring:v3/Distribution": distribution -"/monitoring:v3/Distribution/bucketCounts": bucket_counts -"/monitoring:v3/Distribution/bucketCounts/bucket_count": bucket_count -"/monitoring:v3/Distribution/bucketOptions": bucket_options -"/monitoring:v3/Distribution/sumOfSquaredDeviation": sum_of_squared_deviation -"/monitoring:v3/Distribution/range": range -"/monitoring:v3/Distribution/count": count -"/monitoring:v3/Distribution/mean": mean -"/monitoring:v3/MonitoredResource": monitored_resource -"/monitoring:v3/MonitoredResource/labels": labels -"/monitoring:v3/MonitoredResource/labels/label": label -"/monitoring:v3/MonitoredResource/type": type -"/monitoring:v3/ListMetricDescriptorsResponse": list_metric_descriptors_response -"/monitoring:v3/ListMetricDescriptorsResponse/nextPageToken": next_page_token -"/monitoring:v3/ListMetricDescriptorsResponse/metricDescriptors": metric_descriptors -"/monitoring:v3/ListMetricDescriptorsResponse/metricDescriptors/metric_descriptor": metric_descriptor -"/monitoring:v3/MonitoredResourceDescriptor": monitored_resource_descriptor -"/monitoring:v3/MonitoredResourceDescriptor/type": type -"/monitoring:v3/MonitoredResourceDescriptor/labels": labels -"/monitoring:v3/MonitoredResourceDescriptor/labels/label": label -"/monitoring:v3/MonitoredResourceDescriptor/name": name -"/monitoring:v3/MonitoredResourceDescriptor/description": description -"/monitoring:v3/MonitoredResourceDescriptor/displayName": display_name -"/monitoring:v3/TypedValue": typed_value -"/monitoring:v3/TypedValue/doubleValue": double_value -"/monitoring:v3/TypedValue/int64Value": int64_value -"/monitoring:v3/TypedValue/distributionValue": distribution_value -"/monitoring:v3/TypedValue/stringValue": string_value -"/monitoring:v3/TypedValue/boolValue": bool_value -"/monitoring:v3/CollectdPayload": collectd_payload -"/monitoring:v3/CollectdPayload/typeInstance": type_instance -"/monitoring:v3/CollectdPayload/type": type -"/monitoring:v3/CollectdPayload/metadata": metadata -"/monitoring:v3/CollectdPayload/metadata/metadatum": metadatum -"/monitoring:v3/CollectdPayload/plugin": plugin -"/monitoring:v3/CollectdPayload/pluginInstance": plugin_instance -"/monitoring:v3/CollectdPayload/endTime": end_time -"/monitoring:v3/CollectdPayload/startTime": start_time -"/monitoring:v3/CollectdPayload/values": values -"/monitoring:v3/CollectdPayload/values/value": value -"/monitoring:v3/Linear": linear -"/monitoring:v3/Linear/numFiniteBuckets": num_finite_buckets -"/monitoring:v3/Linear/width": width -"/monitoring:v3/Linear/offset": offset -"/monitoring:v3/Empty": empty -"/monitoring:v3/Option": option -"/monitoring:v3/Option/value": value -"/monitoring:v3/Option/value/value": value -"/monitoring:v3/Option/name": name -"/monitoring:v3/Explicit": explicit -"/monitoring:v3/Explicit/bounds": bounds -"/monitoring:v3/Explicit/bounds/bound": bound -"/monitoring:v3/TimeInterval": time_interval -"/monitoring:v3/TimeInterval/startTime": start_time -"/monitoring:v3/TimeInterval/endTime": end_time -"/monitoring:v3/Exponential": exponential -"/monitoring:v3/Exponential/scale": scale -"/monitoring:v3/Exponential/numFiniteBuckets": num_finite_buckets -"/monitoring:v3/Exponential/growthFactor": growth_factor -"/monitoring:v3/Point": point -"/monitoring:v3/Point/interval": interval -"/monitoring:v3/Point/value": value -"/monitoring:v3/Metric": metric -"/monitoring:v3/Metric/labels": labels -"/monitoring:v3/Metric/labels/label": label -"/monitoring:v3/Metric/type": type -"/monitoring:v3/Field": field -"/monitoring:v3/Field/kind": kind -"/monitoring:v3/Field/jsonName": json_name -"/monitoring:v3/Field/options": options -"/monitoring:v3/Field/options/option": option -"/monitoring:v3/Field/oneofIndex": oneof_index -"/monitoring:v3/Field/cardinality": cardinality -"/monitoring:v3/Field/packed": packed -"/monitoring:v3/Field/defaultValue": default_value -"/monitoring:v3/Field/name": name -"/monitoring:v3/Field/typeUrl": type_url -"/monitoring:v3/Field/number": number -"/monitoring:v3/LabelDescriptor": label_descriptor -"/monitoring:v3/LabelDescriptor/description": description -"/monitoring:v3/LabelDescriptor/valueType": value_type -"/monitoring:v3/LabelDescriptor/key": key -"/monitoring:v3/ListTimeSeriesResponse": list_time_series_response -"/monitoring:v3/ListTimeSeriesResponse/timeSeries": time_series -"/monitoring:v3/ListTimeSeriesResponse/timeSeries/time_series": time_series -"/monitoring:v3/ListTimeSeriesResponse/nextPageToken": next_page_token -"/monitoring:v3/Group": group -"/monitoring:v3/Group/parentName": parent_name -"/monitoring:v3/Group/name": name -"/monitoring:v3/Group/displayName": display_name -"/monitoring:v3/Group/isCluster": is_cluster -"/monitoring:v3/Group/filter": filter -"/monitoring:v3/Type": type -"/monitoring:v3/Type/options": options -"/monitoring:v3/Type/options/option": option -"/monitoring:v3/Type/fields": fields -"/monitoring:v3/Type/fields/field": field -"/monitoring:v3/Type/name": name -"/monitoring:v3/Type/oneofs": oneofs -"/monitoring:v3/Type/oneofs/oneof": oneof -"/monitoring:v3/Type/sourceContext": source_context -"/monitoring:v3/Type/syntax": syntax -"/monitoring:v3/BucketOptions": bucket_options -"/monitoring:v3/BucketOptions/exponentialBuckets": exponential_buckets -"/monitoring:v3/BucketOptions/explicitBuckets": explicit_buckets -"/monitoring:v3/BucketOptions/linearBuckets": linear_buckets -"/monitoring:v3/CollectdValue": collectd_value -"/monitoring:v3/CollectdValue/dataSourceType": data_source_type -"/monitoring:v3/CollectdValue/dataSourceName": data_source_name -"/monitoring:v3/CollectdValue/value": value -"/monitoring:v3/SourceContext": source_context -"/monitoring:v3/SourceContext/fileName": file_name -"/monitoring:v3/MetricDescriptor": metric_descriptor -"/monitoring:v3/MetricDescriptor/metricKind": metric_kind -"/monitoring:v3/MetricDescriptor/displayName": display_name -"/monitoring:v3/MetricDescriptor/description": description -"/monitoring:v3/MetricDescriptor/unit": unit -"/monitoring:v3/MetricDescriptor/labels": labels -"/monitoring:v3/MetricDescriptor/labels/label": label -"/monitoring:v3/MetricDescriptor/name": name -"/monitoring:v3/MetricDescriptor/type": type -"/monitoring:v3/MetricDescriptor/valueType": value_type -"/acceleratedmobilepageurl:v1/key": key -"/acceleratedmobilepageurl:v1/quotaUser": quota_user -"/acceleratedmobilepageurl:v1/fields": fields -"/acceleratedmobilepageurl:v1/acceleratedmobilepageurl.ampUrls.batchGet": batch_get_amp_urls -"/acceleratedmobilepageurl:v1/BatchGetAmpUrlsResponse": batch_get_amp_urls_response -"/acceleratedmobilepageurl:v1/BatchGetAmpUrlsResponse/urlErrors": url_errors -"/acceleratedmobilepageurl:v1/BatchGetAmpUrlsResponse/urlErrors/url_error": url_error -"/acceleratedmobilepageurl:v1/BatchGetAmpUrlsResponse/ampUrls": amp_urls -"/acceleratedmobilepageurl:v1/BatchGetAmpUrlsResponse/ampUrls/amp_url": amp_url -"/acceleratedmobilepageurl:v1/AmpUrl": amp_url -"/acceleratedmobilepageurl:v1/AmpUrl/cdnAmpUrl": cdn_amp_url -"/acceleratedmobilepageurl:v1/AmpUrl/ampUrl": amp_url -"/acceleratedmobilepageurl:v1/AmpUrl/originalUrl": original_url -"/acceleratedmobilepageurl:v1/AmpUrlError": amp_url_error -"/acceleratedmobilepageurl:v1/AmpUrlError/errorMessage": error_message -"/acceleratedmobilepageurl:v1/AmpUrlError/errorCode": error_code -"/acceleratedmobilepageurl:v1/AmpUrlError/originalUrl": original_url -"/acceleratedmobilepageurl:v1/BatchGetAmpUrlsRequest": batch_get_amp_urls_request -"/acceleratedmobilepageurl:v1/BatchGetAmpUrlsRequest/urls": urls -"/acceleratedmobilepageurl:v1/BatchGetAmpUrlsRequest/urls/url": url -"/acceleratedmobilepageurl:v1/BatchGetAmpUrlsRequest/lookupStrategy": lookup_strategy -"/adexchangebuyer:v1.4/fields": fields -"/adexchangebuyer:v1.4/key": key -"/adexchangebuyer:v1.4/quotaUser": quota_user -"/adexchangebuyer:v1.4/userIp": user_ip -"/adexchangebuyer:v1.4/adexchangebuyer.accounts.get": get_account -"/adexchangebuyer:v1.4/adexchangebuyer.accounts.get/id": id -"/adexchangebuyer:v1.4/adexchangebuyer.accounts.list": list_accounts -"/adexchangebuyer:v1.4/adexchangebuyer.accounts.patch": patch_account -"/adexchangebuyer:v1.4/adexchangebuyer.accounts.patch/confirmUnsafeAccountChange": confirm_unsafe_account_change -"/adexchangebuyer:v1.4/adexchangebuyer.accounts.patch/id": id -"/adexchangebuyer:v1.4/adexchangebuyer.accounts.update": update_account -"/adexchangebuyer:v1.4/adexchangebuyer.accounts.update/confirmUnsafeAccountChange": confirm_unsafe_account_change -"/adexchangebuyer:v1.4/adexchangebuyer.accounts.update/id": id -"/adexchangebuyer:v1.4/adexchangebuyer.billingInfo.get": get_billing_info -"/adexchangebuyer:v1.4/adexchangebuyer.billingInfo.get/accountId": account_id -"/adexchangebuyer:v1.4/adexchangebuyer.billingInfo.list": list_billing_infos -"/adexchangebuyer:v1.4/adexchangebuyer.budget.get": get_budget -"/adexchangebuyer:v1.4/adexchangebuyer.budget.get/accountId": account_id -"/adexchangebuyer:v1.4/adexchangebuyer.budget.get/billingId": billing_id -"/adexchangebuyer:v1.4/adexchangebuyer.budget.patch": patch_budget -"/adexchangebuyer:v1.4/adexchangebuyer.budget.patch/accountId": account_id -"/adexchangebuyer:v1.4/adexchangebuyer.budget.patch/billingId": billing_id -"/adexchangebuyer:v1.4/adexchangebuyer.budget.update": update_budget -"/adexchangebuyer:v1.4/adexchangebuyer.budget.update/accountId": account_id -"/adexchangebuyer:v1.4/adexchangebuyer.budget.update/billingId": billing_id -"/adexchangebuyer:v1.4/adexchangebuyer.creatives.addDeal": add_creative_deal -"/adexchangebuyer:v1.4/adexchangebuyer.creatives.addDeal/accountId": account_id -"/adexchangebuyer:v1.4/adexchangebuyer.creatives.addDeal/buyerCreativeId": buyer_creative_id -"/adexchangebuyer:v1.4/adexchangebuyer.creatives.addDeal/dealId": deal_id -"/adexchangebuyer:v1.4/adexchangebuyer.creatives.get": get_creative -"/adexchangebuyer:v1.4/adexchangebuyer.creatives.get/accountId": account_id -"/adexchangebuyer:v1.4/adexchangebuyer.creatives.get/buyerCreativeId": buyer_creative_id -"/adexchangebuyer:v1.4/adexchangebuyer.creatives.insert": insert_creative -"/adexchangebuyer:v1.4/adexchangebuyer.creatives.list": list_creatives -"/adexchangebuyer:v1.4/adexchangebuyer.creatives.list/accountId": account_id -"/adexchangebuyer:v1.4/adexchangebuyer.creatives.list/buyerCreativeId": buyer_creative_id -"/adexchangebuyer:v1.4/adexchangebuyer.creatives.list/dealsStatusFilter": deals_status_filter -"/adexchangebuyer:v1.4/adexchangebuyer.creatives.list/maxResults": max_results -"/adexchangebuyer:v1.4/adexchangebuyer.creatives.list/openAuctionStatusFilter": open_auction_status_filter -"/adexchangebuyer:v1.4/adexchangebuyer.creatives.list/pageToken": page_token -"/adexchangebuyer:v1.4/adexchangebuyer.creatives.listDeals": list_creative_deals -"/adexchangebuyer:v1.4/adexchangebuyer.creatives.listDeals/accountId": account_id -"/adexchangebuyer:v1.4/adexchangebuyer.creatives.listDeals/buyerCreativeId": buyer_creative_id -"/adexchangebuyer:v1.4/adexchangebuyer.creatives.removeDeal": remove_creative_deal -"/adexchangebuyer:v1.4/adexchangebuyer.creatives.removeDeal/accountId": account_id -"/adexchangebuyer:v1.4/adexchangebuyer.creatives.removeDeal/buyerCreativeId": buyer_creative_id -"/adexchangebuyer:v1.4/adexchangebuyer.creatives.removeDeal/dealId": deal_id -"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.delete": delete_marketplacedeal_order_deals -"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.delete/proposalId": proposal_id -"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.insert": insert_marketplacedeal -"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.insert/proposalId": proposal_id -"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.list": list_marketplacedeals -"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.list/pqlQuery": pql_query -"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.list/proposalId": proposal_id -"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.update": update_marketplacedeal -"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.update/proposalId": proposal_id -"/adexchangebuyer:v1.4/adexchangebuyer.marketplacenotes.insert": insert_marketplacenote -"/adexchangebuyer:v1.4/adexchangebuyer.marketplacenotes.insert/proposalId": proposal_id -"/adexchangebuyer:v1.4/adexchangebuyer.marketplacenotes.list": list_marketplacenotes -"/adexchangebuyer:v1.4/adexchangebuyer.marketplacenotes.list/pqlQuery": pql_query -"/adexchangebuyer:v1.4/adexchangebuyer.marketplacenotes.list/proposalId": proposal_id -"/adexchangebuyer:v1.4/adexchangebuyer.marketplaceprivateauction.updateproposal/privateAuctionId": private_auction_id -"/adexchangebuyer:v1.4/adexchangebuyer.performanceReport.list": list_performance_reports -"/adexchangebuyer:v1.4/adexchangebuyer.performanceReport.list/accountId": account_id -"/adexchangebuyer:v1.4/adexchangebuyer.performanceReport.list/endDateTime": end_date_time -"/adexchangebuyer:v1.4/adexchangebuyer.performanceReport.list/maxResults": max_results -"/adexchangebuyer:v1.4/adexchangebuyer.performanceReport.list/pageToken": page_token -"/adexchangebuyer:v1.4/adexchangebuyer.performanceReport.list/startDateTime": start_date_time -"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.delete": delete_pretargeting_config -"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.delete/accountId": account_id -"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.delete/configId": config_id -"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.get": get_pretargeting_config -"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.get/accountId": account_id -"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.get/configId": config_id -"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.insert": insert_pretargeting_config -"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.insert/accountId": account_id -"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.list": list_pretargeting_configs -"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.list/accountId": account_id -"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.patch": patch_pretargeting_config -"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.patch/accountId": account_id -"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.patch/configId": config_id -"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.update": update_pretargeting_config -"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.update/accountId": account_id -"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.update/configId": config_id -"/adexchangebuyer:v1.4/adexchangebuyer.products.get": get_product -"/adexchangebuyer:v1.4/adexchangebuyer.products.get/productId": product_id -"/adexchangebuyer:v1.4/adexchangebuyer.products.search": search_products -"/adexchangebuyer:v1.4/adexchangebuyer.products.search/pqlQuery": pql_query -"/adexchangebuyer:v1.4/adexchangebuyer.proposals.get": get_proposal -"/adexchangebuyer:v1.4/adexchangebuyer.proposals.get/proposalId": proposal_id -"/adexchangebuyer:v1.4/adexchangebuyer.proposals.insert": insert_proposal -"/adexchangebuyer:v1.4/adexchangebuyer.proposals.patch": patch_proposal -"/adexchangebuyer:v1.4/adexchangebuyer.proposals.patch/proposalId": proposal_id -"/adexchangebuyer:v1.4/adexchangebuyer.proposals.patch/revisionNumber": revision_number -"/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 @@ -6175,6 +761,9 @@ "/adexchangebuyer:v1.4/PerformanceReport/hostedMatchStatusRate/hosted_match_status_rate": hosted_match_status_rate "/adexchangebuyer:v1.4/PerformanceReport/inventoryMatchRate": inventory_match_rate "/adexchangebuyer:v1.4/PerformanceReport/kind": kind +"/adexchangebuyer:v1.4/PerformanceReport/latency50thPercentile": latency_50th_percentile +"/adexchangebuyer:v1.4/PerformanceReport/latency85thPercentile": latency_85th_percentile +"/adexchangebuyer:v1.4/PerformanceReport/latency95thPercentile": latency_95th_percentile "/adexchangebuyer:v1.4/PerformanceReport/noQuotaInRegion": no_quota_in_region "/adexchangebuyer:v1.4/PerformanceReport/outOfQuota": out_of_quota "/adexchangebuyer:v1.4/PerformanceReport/pixelMatchRequests": pixel_match_requests @@ -6391,471 +980,112 @@ "/adexchangebuyer:v1.4/UpdatePrivateAuctionProposalRequest/note": note "/adexchangebuyer:v1.4/UpdatePrivateAuctionProposalRequest/proposalRevisionNumber": proposal_revision_number "/adexchangebuyer:v1.4/UpdatePrivateAuctionProposalRequest/updateAction": update_action -"/adexchangebuyer2:v2beta1/key": key -"/adexchangebuyer2:v2beta1/quotaUser": quota_user -"/adexchangebuyer2:v2beta1/fields": fields -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.list": list_account_clients -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.list/pageSize": page_size -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.list/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.list/pageToken": page_token -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.get": get_account_client -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.get/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.get/clientAccountId": client_account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.update": update_account_client -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.update/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.update/clientAccountId": client_account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.create": create_account_client -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.create/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list": list_account_client_invitations -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/pageToken": page_token -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/pageSize": page_size -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/clientAccountId": client_account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get": get_account_client_invitation -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get/clientAccountId": client_account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get/invitationId": invitation_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.create": create_account_client_invitation -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.create/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.create/clientAccountId": client_account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.get": get_account_client_user -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.get/userId": user_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.get/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.get/clientAccountId": client_account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.list": list_account_client_users -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.list/pageToken": page_token -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.list/pageSize": page_size -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.list/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.list/clientAccountId": client_account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.update": update_account_client_user -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.update/userId": user_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.update/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.update/clientAccountId": client_account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.create": create_account_creative -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.create/duplicateIdMode": duplicate_id_mode -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.create/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.stopWatching": stop_watching_creative -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.stopWatching/creativeId": creative_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.stopWatching/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.watch": watch_creative -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.watch/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.watch/creativeId": creative_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.get": get_account_creative -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.get/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.get/creativeId": creative_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.update": update_account_creative -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.update/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.update/creativeId": creative_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list": list_account_creatives -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/pageToken": page_token -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/pageSize": page_size -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/query": query -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list": list_account_creative_deal_associations -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/pageToken": page_token -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/pageSize": page_size -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/query": query -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/creativeId": creative_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.remove": remove_deal_association -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.remove/creativeId": creative_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.remove/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.add": add_deal_association -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.add/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.add/creativeId": creative_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.delete": delete_account_filter_set -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.delete/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.delete/filterSetId": filter_set_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.list": list_account_filter_sets -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.list/pageToken": page_token -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.list/pageSize": page_size -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.list/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.get": get_account_filter_set -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.get/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.get/filterSetId": filter_set_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.create": create_account_filter_set -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.create/isTransient": is_transient -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.create/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidMetrics.list": list_account_filter_set_bid_metrics -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidMetrics.list/pageToken": page_token -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidMetrics.list/pageSize": page_size -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidMetrics.list/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidMetrics.list/filterSetId": filter_set_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.impressionMetrics.list": list_account_filter_set_impression_metrics -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.impressionMetrics.list/pageToken": page_token -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.impressionMetrics.list/pageSize": page_size -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.impressionMetrics.list/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.impressionMetrics.list/filterSetId": filter_set_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidResponseErrors.list": list_account_filter_set_bid_response_errors -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidResponseErrors.list/pageToken": page_token -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidResponseErrors.list/pageSize": page_size -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidResponseErrors.list/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidResponseErrors.list/filterSetId": filter_set_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidResponsesWithoutBids.list": list_account_filter_set_bid_responses_without_bids -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidResponsesWithoutBids.list/filterSetId": filter_set_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidResponsesWithoutBids.list/pageToken": page_token -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidResponsesWithoutBids.list/pageSize": page_size -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.bidResponsesWithoutBids.list/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBidRequests.list": list_account_filter_set_filtered_bid_requests -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBidRequests.list/pageToken": page_token -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBidRequests.list/pageSize": page_size -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBidRequests.list/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBidRequests.list/filterSetId": filter_set_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.list": list_account_filter_set_filtered_bids -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.list/pageToken": page_token -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.list/pageSize": page_size -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.list/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.list/filterSetId": filter_set_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.creatives.list": list_account_filter_set_filtered_bid_creatives -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.creatives.list/pageToken": page_token -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.creatives.list/creativeStatusId": creative_status_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.creatives.list/pageSize": page_size -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.creatives.list/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.creatives.list/filterSetId": filter_set_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.details.list": list_account_filter_set_filtered_bid_details -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.details.list/filterSetId": filter_set_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.details.list/pageToken": page_token -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.details.list/creativeStatusId": creative_status_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.details.list/pageSize": page_size -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.filteredBids.details.list/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.nonBillableWinningBids.list": list_account_filter_set_non_billable_winning_bids -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.nonBillableWinningBids.list/pageToken": page_token -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.nonBillableWinningBids.list/pageSize": page_size -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.nonBillableWinningBids.list/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.nonBillableWinningBids.list/filterSetId": filter_set_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.losingBids.list": list_account_filter_set_losing_bids -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.losingBids.list/pageSize": page_size -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.losingBids.list/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.losingBids.list/filterSetId": filter_set_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.losingBids.list/pageToken": page_token -"/adexchangebuyer2:v2beta1/AuctionContext": auction_context -"/adexchangebuyer2:v2beta1/AuctionContext/auctionTypes": auction_types -"/adexchangebuyer2:v2beta1/AuctionContext/auctionTypes/auction_type": auction_type -"/adexchangebuyer2:v2beta1/ListImpressionMetricsResponse": list_impression_metrics_response -"/adexchangebuyer2:v2beta1/ListImpressionMetricsResponse/nextPageToken": next_page_token -"/adexchangebuyer2:v2beta1/ListImpressionMetricsResponse/impressionMetricsRows": impression_metrics_rows -"/adexchangebuyer2:v2beta1/ListImpressionMetricsResponse/impressionMetricsRows/impression_metrics_row": impression_metrics_row -"/adexchangebuyer2:v2beta1/BidMetricsRow": bid_metrics_row -"/adexchangebuyer2:v2beta1/BidMetricsRow/impressionsWon": impressions_won -"/adexchangebuyer2:v2beta1/BidMetricsRow/viewableImpressions": viewable_impressions -"/adexchangebuyer2:v2beta1/BidMetricsRow/measurableImpressions": measurable_impressions -"/adexchangebuyer2:v2beta1/BidMetricsRow/bids": bids -"/adexchangebuyer2:v2beta1/BidMetricsRow/billedImpressions": billed_impressions -"/adexchangebuyer2:v2beta1/BidMetricsRow/bidsInAuction": bids_in_auction -"/adexchangebuyer2:v2beta1/BidMetricsRow/rowDimensions": row_dimensions -"/adexchangebuyer2:v2beta1/ListBidResponseErrorsResponse": list_bid_response_errors_response -"/adexchangebuyer2:v2beta1/ListBidResponseErrorsResponse/calloutStatusRows": callout_status_rows -"/adexchangebuyer2:v2beta1/ListBidResponseErrorsResponse/calloutStatusRows/callout_status_row": callout_status_row -"/adexchangebuyer2:v2beta1/ListBidResponseErrorsResponse/nextPageToken": next_page_token -"/adexchangebuyer2:v2beta1/CreativeStatusRow": creative_status_row -"/adexchangebuyer2:v2beta1/CreativeStatusRow/bidCount": bid_count -"/adexchangebuyer2:v2beta1/CreativeStatusRow/rowDimensions": row_dimensions -"/adexchangebuyer2:v2beta1/CreativeStatusRow/creativeStatusId": creative_status_id -"/adexchangebuyer2:v2beta1/RealtimeTimeRange": realtime_time_range -"/adexchangebuyer2:v2beta1/RealtimeTimeRange/startTimestamp": start_timestamp -"/adexchangebuyer2:v2beta1/NonBillableWinningBidStatusRow": non_billable_winning_bid_status_row -"/adexchangebuyer2:v2beta1/NonBillableWinningBidStatusRow/rowDimensions": row_dimensions -"/adexchangebuyer2:v2beta1/NonBillableWinningBidStatusRow/bidCount": bid_count -"/adexchangebuyer2:v2beta1/NonBillableWinningBidStatusRow/status": status -"/adexchangebuyer2:v2beta1/FilteredBidDetailRow": filtered_bid_detail_row -"/adexchangebuyer2:v2beta1/FilteredBidDetailRow/rowDimensions": row_dimensions -"/adexchangebuyer2:v2beta1/FilteredBidDetailRow/detailId": detail_id -"/adexchangebuyer2:v2beta1/FilteredBidDetailRow/bidCount": bid_count -"/adexchangebuyer2:v2beta1/AbsoluteDateRange": absolute_date_range -"/adexchangebuyer2:v2beta1/AbsoluteDateRange/startDate": start_date -"/adexchangebuyer2:v2beta1/AbsoluteDateRange/endDate": end_date -"/adexchangebuyer2:v2beta1/AddDealAssociationRequest": add_deal_association_request -"/adexchangebuyer2:v2beta1/AddDealAssociationRequest/association": association -"/adexchangebuyer2:v2beta1/WatchCreativeRequest": watch_creative_request -"/adexchangebuyer2:v2beta1/WatchCreativeRequest/topic": topic -"/adexchangebuyer2:v2beta1/TimeInterval": time_interval -"/adexchangebuyer2:v2beta1/TimeInterval/endTime": end_time -"/adexchangebuyer2:v2beta1/TimeInterval/startTime": start_time -"/adexchangebuyer2:v2beta1/FilteredBidCreativeRow": filtered_bid_creative_row -"/adexchangebuyer2:v2beta1/FilteredBidCreativeRow/bidCount": bid_count -"/adexchangebuyer2:v2beta1/FilteredBidCreativeRow/creativeId": creative_id -"/adexchangebuyer2:v2beta1/FilteredBidCreativeRow/rowDimensions": row_dimensions -"/adexchangebuyer2:v2beta1/RelativeDateRange": relative_date_range -"/adexchangebuyer2:v2beta1/RelativeDateRange/durationDays": duration_days -"/adexchangebuyer2:v2beta1/RelativeDateRange/offsetDays": offset_days -"/adexchangebuyer2:v2beta1/ListClientsResponse": list_clients_response -"/adexchangebuyer2:v2beta1/ListClientsResponse/nextPageToken": next_page_token -"/adexchangebuyer2:v2beta1/ListClientsResponse/clients": clients -"/adexchangebuyer2:v2beta1/ListClientsResponse/clients/client": client -"/adexchangebuyer2:v2beta1/NativeContent": native_content -"/adexchangebuyer2:v2beta1/NativeContent/callToAction": call_to_action -"/adexchangebuyer2:v2beta1/NativeContent/body": body -"/adexchangebuyer2:v2beta1/NativeContent/starRating": star_rating -"/adexchangebuyer2:v2beta1/NativeContent/videoUrl": video_url -"/adexchangebuyer2:v2beta1/NativeContent/logo": logo -"/adexchangebuyer2:v2beta1/NativeContent/clickLinkUrl": click_link_url -"/adexchangebuyer2:v2beta1/NativeContent/priceDisplayText": price_display_text -"/adexchangebuyer2:v2beta1/NativeContent/clickTrackingUrl": click_tracking_url -"/adexchangebuyer2:v2beta1/NativeContent/image": image -"/adexchangebuyer2:v2beta1/NativeContent/advertiserName": advertiser_name -"/adexchangebuyer2:v2beta1/NativeContent/storeUrl": store_url -"/adexchangebuyer2:v2beta1/NativeContent/headline": headline -"/adexchangebuyer2:v2beta1/NativeContent/appIcon": app_icon -"/adexchangebuyer2:v2beta1/ListBidResponsesWithoutBidsResponse": list_bid_responses_without_bids_response -"/adexchangebuyer2:v2beta1/ListBidResponsesWithoutBidsResponse/nextPageToken": next_page_token -"/adexchangebuyer2:v2beta1/ListBidResponsesWithoutBidsResponse/bidResponseWithoutBidsStatusRows": bid_response_without_bids_status_rows -? "/adexchangebuyer2:v2beta1/ListBidResponsesWithoutBidsResponse/bidResponseWithoutBidsStatusRows/bid_response_without_bids_status_row" -: bid_response_without_bids_status_row -"/adexchangebuyer2:v2beta1/ServingContext": serving_context -"/adexchangebuyer2:v2beta1/ServingContext/securityType": security_type -"/adexchangebuyer2:v2beta1/ServingContext/platform": platform -"/adexchangebuyer2:v2beta1/ServingContext/location": location -"/adexchangebuyer2:v2beta1/ServingContext/auctionType": auction_type -"/adexchangebuyer2:v2beta1/ServingContext/all": all -"/adexchangebuyer2:v2beta1/ServingContext/appType": app_type -"/adexchangebuyer2:v2beta1/Image": image -"/adexchangebuyer2:v2beta1/Image/url": url -"/adexchangebuyer2:v2beta1/Image/height": height -"/adexchangebuyer2:v2beta1/Image/width": width -"/adexchangebuyer2:v2beta1/ListFilterSetsResponse": list_filter_sets_response -"/adexchangebuyer2:v2beta1/ListFilterSetsResponse/filterSets": filter_sets -"/adexchangebuyer2:v2beta1/ListFilterSetsResponse/filterSets/filter_set": filter_set -"/adexchangebuyer2:v2beta1/ListFilterSetsResponse/nextPageToken": next_page_token -"/adexchangebuyer2:v2beta1/BidResponseWithoutBidsStatusRow": bid_response_without_bids_status_row -"/adexchangebuyer2:v2beta1/BidResponseWithoutBidsStatusRow/impressionCount": impression_count -"/adexchangebuyer2:v2beta1/BidResponseWithoutBidsStatusRow/status": status -"/adexchangebuyer2:v2beta1/BidResponseWithoutBidsStatusRow/rowDimensions": row_dimensions -"/adexchangebuyer2:v2beta1/ClientUserInvitation": client_user_invitation -"/adexchangebuyer2:v2beta1/ClientUserInvitation/clientAccountId": client_account_id -"/adexchangebuyer2:v2beta1/ClientUserInvitation/invitationId": invitation_id -"/adexchangebuyer2:v2beta1/ClientUserInvitation/email": email -"/adexchangebuyer2:v2beta1/ListClientUserInvitationsResponse": list_client_user_invitations_response -"/adexchangebuyer2:v2beta1/ListClientUserInvitationsResponse/nextPageToken": next_page_token -"/adexchangebuyer2:v2beta1/ListClientUserInvitationsResponse/invitations": invitations -"/adexchangebuyer2:v2beta1/ListClientUserInvitationsResponse/invitations/invitation": invitation -"/adexchangebuyer2:v2beta1/ListClientUsersResponse": list_client_users_response -"/adexchangebuyer2:v2beta1/ListClientUsersResponse/users": users -"/adexchangebuyer2:v2beta1/ListClientUsersResponse/users/user": user -"/adexchangebuyer2:v2beta1/ListClientUsersResponse/nextPageToken": next_page_token -"/adexchangebuyer2:v2beta1/ListCreativeStatusBreakdownByDetailResponse": list_creative_status_breakdown_by_detail_response -"/adexchangebuyer2:v2beta1/ListCreativeStatusBreakdownByDetailResponse/nextPageToken": next_page_token -"/adexchangebuyer2:v2beta1/ListCreativeStatusBreakdownByDetailResponse/filteredBidDetailRows": filtered_bid_detail_rows -"/adexchangebuyer2:v2beta1/ListCreativeStatusBreakdownByDetailResponse/filteredBidDetailRows/filtered_bid_detail_row": filtered_bid_detail_row -"/adexchangebuyer2:v2beta1/ListCreativeStatusBreakdownByDetailResponse/detailType": detail_type -"/adexchangebuyer2:v2beta1/LocationContext": location_context -"/adexchangebuyer2:v2beta1/LocationContext/geoCriteriaIds": geo_criteria_ids -"/adexchangebuyer2:v2beta1/LocationContext/geoCriteriaIds/geo_criteria_id": geo_criteria_id -"/adexchangebuyer2:v2beta1/PlatformContext": platform_context -"/adexchangebuyer2:v2beta1/PlatformContext/platforms": platforms -"/adexchangebuyer2:v2beta1/PlatformContext/platforms/platform": platform -"/adexchangebuyer2:v2beta1/MetricValue": metric_value -"/adexchangebuyer2:v2beta1/MetricValue/variance": variance -"/adexchangebuyer2:v2beta1/MetricValue/value": value -"/adexchangebuyer2:v2beta1/ClientUser": client_user -"/adexchangebuyer2:v2beta1/ClientUser/status": status -"/adexchangebuyer2:v2beta1/ClientUser/email": email -"/adexchangebuyer2:v2beta1/ClientUser/userId": user_id -"/adexchangebuyer2:v2beta1/ClientUser/clientAccountId": client_account_id -"/adexchangebuyer2:v2beta1/CreativeDealAssociation": creative_deal_association -"/adexchangebuyer2:v2beta1/CreativeDealAssociation/accountId": account_id -"/adexchangebuyer2:v2beta1/CreativeDealAssociation/creativeId": creative_id -"/adexchangebuyer2:v2beta1/CreativeDealAssociation/dealsId": deals_id -"/adexchangebuyer2:v2beta1/Creative": creative -"/adexchangebuyer2:v2beta1/Creative/creativeId": creative_id -"/adexchangebuyer2:v2beta1/Creative/accountId": account_id -"/adexchangebuyer2:v2beta1/Creative/native": native -"/adexchangebuyer2:v2beta1/Creative/video": video -"/adexchangebuyer2:v2beta1/Creative/servingRestrictions": serving_restrictions -"/adexchangebuyer2:v2beta1/Creative/servingRestrictions/serving_restriction": serving_restriction -"/adexchangebuyer2:v2beta1/Creative/agencyId": agency_id -"/adexchangebuyer2:v2beta1/Creative/clickThroughUrls": click_through_urls -"/adexchangebuyer2:v2beta1/Creative/clickThroughUrls/click_through_url": click_through_url -"/adexchangebuyer2:v2beta1/Creative/adChoicesDestinationUrl": ad_choices_destination_url -"/adexchangebuyer2:v2beta1/Creative/detectedSensitiveCategories": detected_sensitive_categories -"/adexchangebuyer2:v2beta1/Creative/detectedSensitiveCategories/detected_sensitive_category": detected_sensitive_category -"/adexchangebuyer2:v2beta1/Creative/restrictedCategories": restricted_categories -"/adexchangebuyer2:v2beta1/Creative/restrictedCategories/restricted_category": restricted_category -"/adexchangebuyer2:v2beta1/Creative/corrections": corrections -"/adexchangebuyer2:v2beta1/Creative/corrections/correction": correction -"/adexchangebuyer2:v2beta1/Creative/version": version -"/adexchangebuyer2:v2beta1/Creative/vendorIds": vendor_ids -"/adexchangebuyer2:v2beta1/Creative/vendorIds/vendor_id": vendor_id -"/adexchangebuyer2:v2beta1/Creative/impressionTrackingUrls": impression_tracking_urls -"/adexchangebuyer2:v2beta1/Creative/impressionTrackingUrls/impression_tracking_url": impression_tracking_url -"/adexchangebuyer2:v2beta1/Creative/html": html -"/adexchangebuyer2:v2beta1/Creative/dealsStatus": deals_status -"/adexchangebuyer2:v2beta1/Creative/detectedProductCategories": detected_product_categories -"/adexchangebuyer2:v2beta1/Creative/detectedProductCategories/detected_product_category": detected_product_category -"/adexchangebuyer2:v2beta1/Creative/openAuctionStatus": open_auction_status -"/adexchangebuyer2:v2beta1/Creative/advertiserName": advertiser_name -"/adexchangebuyer2:v2beta1/Creative/detectedAdvertiserIds": detected_advertiser_ids -"/adexchangebuyer2:v2beta1/Creative/detectedAdvertiserIds/detected_advertiser_id": detected_advertiser_id -"/adexchangebuyer2:v2beta1/Creative/detectedDomains": detected_domains -"/adexchangebuyer2:v2beta1/Creative/detectedDomains/detected_domain": detected_domain -"/adexchangebuyer2:v2beta1/Creative/filteringStats": filtering_stats -"/adexchangebuyer2:v2beta1/Creative/attributes": attributes -"/adexchangebuyer2:v2beta1/Creative/attributes/attribute": attribute -"/adexchangebuyer2:v2beta1/Creative/apiUpdateTime": api_update_time -"/adexchangebuyer2:v2beta1/Creative/detectedLanguages": detected_languages -"/adexchangebuyer2:v2beta1/Creative/detectedLanguages/detected_language": detected_language -"/adexchangebuyer2:v2beta1/FilteringStats": filtering_stats -"/adexchangebuyer2:v2beta1/FilteringStats/date": date -"/adexchangebuyer2:v2beta1/FilteringStats/reasons": reasons -"/adexchangebuyer2:v2beta1/FilteringStats/reasons/reason": reason -"/adexchangebuyer2:v2beta1/RemoveDealAssociationRequest": remove_deal_association_request -"/adexchangebuyer2:v2beta1/RemoveDealAssociationRequest/association": association -"/adexchangebuyer2:v2beta1/ListCreativeStatusBreakdownByCreativeResponse": list_creative_status_breakdown_by_creative_response -"/adexchangebuyer2:v2beta1/ListCreativeStatusBreakdownByCreativeResponse/nextPageToken": next_page_token -"/adexchangebuyer2:v2beta1/ListCreativeStatusBreakdownByCreativeResponse/filteredBidCreativeRows": filtered_bid_creative_rows -"/adexchangebuyer2:v2beta1/ListCreativeStatusBreakdownByCreativeResponse/filteredBidCreativeRows/filtered_bid_creative_row": filtered_bid_creative_row -"/adexchangebuyer2:v2beta1/Client": client -"/adexchangebuyer2:v2beta1/Client/visibleToSeller": visible_to_seller -"/adexchangebuyer2:v2beta1/Client/entityId": entity_id -"/adexchangebuyer2:v2beta1/Client/clientAccountId": client_account_id -"/adexchangebuyer2:v2beta1/Client/entityName": entity_name -"/adexchangebuyer2:v2beta1/Client/status": status -"/adexchangebuyer2:v2beta1/Client/entityType": entity_type -"/adexchangebuyer2:v2beta1/Client/clientName": client_name -"/adexchangebuyer2:v2beta1/Client/role": role -"/adexchangebuyer2:v2beta1/Correction": correction -"/adexchangebuyer2:v2beta1/Correction/type": type -"/adexchangebuyer2:v2beta1/Correction/contexts": contexts -"/adexchangebuyer2:v2beta1/Correction/contexts/context": context -"/adexchangebuyer2:v2beta1/Correction/details": details -"/adexchangebuyer2:v2beta1/Correction/details/detail": detail -"/adexchangebuyer2:v2beta1/FilterSet": filter_set -"/adexchangebuyer2:v2beta1/FilterSet/sellerNetworkIds": seller_network_ids -"/adexchangebuyer2:v2beta1/FilterSet/sellerNetworkIds/seller_network_id": seller_network_id -"/adexchangebuyer2:v2beta1/FilterSet/ownerAccountId": owner_account_id -"/adexchangebuyer2:v2beta1/FilterSet/absoluteDateRange": absolute_date_range -"/adexchangebuyer2:v2beta1/FilterSet/buyerAccountId": buyer_account_id -"/adexchangebuyer2:v2beta1/FilterSet/environment": environment -"/adexchangebuyer2:v2beta1/FilterSet/dealId": deal_id -"/adexchangebuyer2:v2beta1/FilterSet/format": format -"/adexchangebuyer2:v2beta1/FilterSet/timeSeriesGranularity": time_series_granularity -"/adexchangebuyer2:v2beta1/FilterSet/filterSetId": filter_set_id -"/adexchangebuyer2:v2beta1/FilterSet/realtimeTimeRange": realtime_time_range -"/adexchangebuyer2:v2beta1/FilterSet/creativeId": creative_id -"/adexchangebuyer2:v2beta1/FilterSet/platforms": platforms -"/adexchangebuyer2:v2beta1/FilterSet/platforms/platform": platform -"/adexchangebuyer2:v2beta1/FilterSet/relativeDateRange": relative_date_range -"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse": list_deal_associations_response -"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse/nextPageToken": next_page_token -"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse/associations": associations -"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse/associations/association": association -"/adexchangebuyer2:v2beta1/CalloutStatusRow": callout_status_row -"/adexchangebuyer2:v2beta1/CalloutStatusRow/impressionCount": impression_count -"/adexchangebuyer2:v2beta1/CalloutStatusRow/rowDimensions": row_dimensions -"/adexchangebuyer2:v2beta1/CalloutStatusRow/calloutStatusId": callout_status_id -"/adexchangebuyer2:v2beta1/Disapproval": disapproval -"/adexchangebuyer2:v2beta1/Disapproval/details": details -"/adexchangebuyer2:v2beta1/Disapproval/details/detail": detail -"/adexchangebuyer2:v2beta1/Disapproval/reason": reason -"/adexchangebuyer2:v2beta1/StopWatchingCreativeRequest": stop_watching_creative_request -"/adexchangebuyer2:v2beta1/ServingRestriction": serving_restriction -"/adexchangebuyer2:v2beta1/ServingRestriction/disapprovalReasons": disapproval_reasons -"/adexchangebuyer2:v2beta1/ServingRestriction/disapprovalReasons/disapproval_reason": disapproval_reason -"/adexchangebuyer2:v2beta1/ServingRestriction/contexts": contexts -"/adexchangebuyer2:v2beta1/ServingRestriction/contexts/context": context -"/adexchangebuyer2:v2beta1/ServingRestriction/status": status -"/adexchangebuyer2:v2beta1/Date": date -"/adexchangebuyer2:v2beta1/Date/day": day -"/adexchangebuyer2:v2beta1/Date/year": year -"/adexchangebuyer2:v2beta1/Date/month": month -"/adexchangebuyer2:v2beta1/RowDimensions": row_dimensions -"/adexchangebuyer2:v2beta1/RowDimensions/timeInterval": time_interval -"/adexchangebuyer2:v2beta1/Empty": empty -"/adexchangebuyer2:v2beta1/AppContext": app_context -"/adexchangebuyer2:v2beta1/AppContext/appTypes": app_types -"/adexchangebuyer2:v2beta1/AppContext/appTypes/app_type": app_type -"/adexchangebuyer2:v2beta1/ListFilteredBidsResponse": list_filtered_bids_response -"/adexchangebuyer2:v2beta1/ListFilteredBidsResponse/nextPageToken": next_page_token -"/adexchangebuyer2:v2beta1/ListFilteredBidsResponse/creativeStatusRows": creative_status_rows -"/adexchangebuyer2:v2beta1/ListFilteredBidsResponse/creativeStatusRows/creative_status_row": creative_status_row -"/adexchangebuyer2:v2beta1/SecurityContext": security_context -"/adexchangebuyer2:v2beta1/SecurityContext/securities": securities -"/adexchangebuyer2:v2beta1/SecurityContext/securities/security": security -"/adexchangebuyer2:v2beta1/ListFilteredBidRequestsResponse": list_filtered_bid_requests_response -"/adexchangebuyer2:v2beta1/ListFilteredBidRequestsResponse/calloutStatusRows": callout_status_rows -"/adexchangebuyer2:v2beta1/ListFilteredBidRequestsResponse/calloutStatusRows/callout_status_row": callout_status_row -"/adexchangebuyer2:v2beta1/ListFilteredBidRequestsResponse/nextPageToken": next_page_token -"/adexchangebuyer2:v2beta1/ListCreativesResponse": list_creatives_response -"/adexchangebuyer2:v2beta1/ListCreativesResponse/creatives": creatives -"/adexchangebuyer2:v2beta1/ListCreativesResponse/creatives/creative": creative -"/adexchangebuyer2:v2beta1/ListCreativesResponse/nextPageToken": next_page_token -"/adexchangebuyer2:v2beta1/HtmlContent": html_content -"/adexchangebuyer2:v2beta1/HtmlContent/height": height -"/adexchangebuyer2:v2beta1/HtmlContent/width": width -"/adexchangebuyer2:v2beta1/HtmlContent/snippet": snippet -"/adexchangebuyer2:v2beta1/ListBidMetricsResponse": list_bid_metrics_response -"/adexchangebuyer2:v2beta1/ListBidMetricsResponse/nextPageToken": next_page_token -"/adexchangebuyer2:v2beta1/ListBidMetricsResponse/bidMetricsRows": bid_metrics_rows -"/adexchangebuyer2:v2beta1/ListBidMetricsResponse/bidMetricsRows/bid_metrics_row": bid_metrics_row -"/adexchangebuyer2:v2beta1/Reason": reason -"/adexchangebuyer2:v2beta1/Reason/status": status -"/adexchangebuyer2:v2beta1/Reason/count": count -"/adexchangebuyer2:v2beta1/VideoContent": video_content -"/adexchangebuyer2:v2beta1/VideoContent/videoUrl": video_url -"/adexchangebuyer2:v2beta1/ListLosingBidsResponse": list_losing_bids_response -"/adexchangebuyer2:v2beta1/ListLosingBidsResponse/creativeStatusRows": creative_status_rows -"/adexchangebuyer2:v2beta1/ListLosingBidsResponse/creativeStatusRows/creative_status_row": creative_status_row -"/adexchangebuyer2:v2beta1/ListLosingBidsResponse/nextPageToken": next_page_token -"/adexchangebuyer2:v2beta1/ListNonBillableWinningBidsResponse": list_non_billable_winning_bids_response -"/adexchangebuyer2:v2beta1/ListNonBillableWinningBidsResponse/nextPageToken": next_page_token -"/adexchangebuyer2:v2beta1/ListNonBillableWinningBidsResponse/nonBillableWinningBidStatusRows": non_billable_winning_bid_status_rows -"/adexchangebuyer2:v2beta1/ListNonBillableWinningBidsResponse/nonBillableWinningBidStatusRows/non_billable_winning_bid_status_row": non_billable_winning_bid_status_row -"/adexchangebuyer2:v2beta1/ImpressionMetricsRow": impression_metrics_row -"/adexchangebuyer2:v2beta1/ImpressionMetricsRow/rowDimensions": row_dimensions -"/adexchangebuyer2:v2beta1/ImpressionMetricsRow/availableImpressions": available_impressions -"/adexchangebuyer2:v2beta1/ImpressionMetricsRow/inventoryMatches": inventory_matches -"/adexchangebuyer2:v2beta1/ImpressionMetricsRow/bidRequests": bid_requests -"/adexchangebuyer2:v2beta1/ImpressionMetricsRow/responsesWithBids": responses_with_bids -"/adexchangebuyer2:v2beta1/ImpressionMetricsRow/successfulResponses": successful_responses -"/adexchangeseller:v2.0/fields": fields -"/adexchangeseller:v2.0/key": key -"/adexchangeseller:v2.0/quotaUser": quota_user -"/adexchangeseller:v2.0/userIp": user_ip -"/adexchangeseller:v2.0/adexchangeseller.accounts.get": get_account -"/adexchangeseller:v2.0/adexchangeseller.accounts.get/accountId": account_id -"/adexchangeseller:v2.0/adexchangeseller.accounts.list": list_accounts -"/adexchangeseller:v2.0/adexchangeseller.accounts.list/maxResults": max_results -"/adexchangeseller:v2.0/adexchangeseller.accounts.list/pageToken": page_token -"/adexchangeseller:v2.0/adexchangeseller.accounts.adclients.list/accountId": account_id -"/adexchangeseller:v2.0/adexchangeseller.accounts.adclients.list/maxResults": max_results -"/adexchangeseller:v2.0/adexchangeseller.accounts.adclients.list/pageToken": page_token -"/adexchangeseller:v2.0/adexchangeseller.accounts.alerts.list": list_account_alerts -"/adexchangeseller:v2.0/adexchangeseller.accounts.alerts.list/accountId": account_id -"/adexchangeseller:v2.0/adexchangeseller.accounts.alerts.list/locale": locale -"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.get/accountId": account_id -"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.get/adClientId": ad_client_id -"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.get/customChannelId": custom_channel_id -"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.list/accountId": account_id -"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.list/adClientId": ad_client_id -"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.list/maxResults": max_results -"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.list/pageToken": page_token -"/adexchangeseller:v2.0/adexchangeseller.accounts.metadata.dimensions.list/accountId": account_id -"/adexchangeseller:v2.0/adexchangeseller.accounts.metadata.metrics.list/accountId": account_id -"/adexchangeseller:v2.0/adexchangeseller.accounts.preferreddeals.get/accountId": account_id -"/adexchangeseller:v2.0/adexchangeseller.accounts.preferreddeals.get/dealId": deal_id -"/adexchangeseller:v2.0/adexchangeseller.accounts.preferreddeals.list/accountId": account_id -"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate": generate_account_report -"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/accountId": account_id -"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/dimension": dimension -"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/endDate": end_date -"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/filter": filter -"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/locale": locale -"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/maxResults": max_results -"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/metric": metric -"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/sort": sort -"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/startDate": start_date -"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/startIndex": start_index -"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.generate/accountId": account_id -"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.generate/locale": locale -"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.generate/maxResults": max_results -"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.generate/savedReportId": saved_report_id -"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.generate/startIndex": start_index -"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.list/accountId": account_id -"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.list/maxResults": max_results -"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.list/pageToken": page_token -"/adexchangeseller:v2.0/adexchangeseller.accounts.urlchannels.list/accountId": account_id -"/adexchangeseller:v2.0/adexchangeseller.accounts.urlchannels.list/adClientId": ad_client_id -"/adexchangeseller:v2.0/adexchangeseller.accounts.urlchannels.list/maxResults": max_results -"/adexchangeseller:v2.0/adexchangeseller.accounts.urlchannels.list/pageToken": page_token +"/adexchangebuyer:v1.4/adexchangebuyer.accounts.get": get_account +"/adexchangebuyer:v1.4/adexchangebuyer.accounts.get/id": id +"/adexchangebuyer:v1.4/adexchangebuyer.accounts.list": list_accounts +"/adexchangebuyer:v1.4/adexchangebuyer.accounts.patch": patch_account +"/adexchangebuyer:v1.4/adexchangebuyer.accounts.patch/confirmUnsafeAccountChange": confirm_unsafe_account_change +"/adexchangebuyer:v1.4/adexchangebuyer.accounts.patch/id": id +"/adexchangebuyer:v1.4/adexchangebuyer.accounts.update": update_account +"/adexchangebuyer:v1.4/adexchangebuyer.accounts.update/confirmUnsafeAccountChange": confirm_unsafe_account_change +"/adexchangebuyer:v1.4/adexchangebuyer.accounts.update/id": id +"/adexchangebuyer:v1.4/adexchangebuyer.billingInfo.get": get_billing_info +"/adexchangebuyer:v1.4/adexchangebuyer.billingInfo.get/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.billingInfo.list": list_billing_infos +"/adexchangebuyer:v1.4/adexchangebuyer.budget.get": get_budget +"/adexchangebuyer:v1.4/adexchangebuyer.budget.get/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.budget.get/billingId": billing_id +"/adexchangebuyer:v1.4/adexchangebuyer.budget.patch": patch_budget +"/adexchangebuyer:v1.4/adexchangebuyer.budget.patch/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.budget.patch/billingId": billing_id +"/adexchangebuyer:v1.4/adexchangebuyer.budget.update": update_budget +"/adexchangebuyer:v1.4/adexchangebuyer.budget.update/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.budget.update/billingId": billing_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.addDeal": add_creative_deal +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.addDeal/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.addDeal/buyerCreativeId": buyer_creative_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.addDeal/dealId": deal_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.get": get_creative +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.get/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.get/buyerCreativeId": buyer_creative_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.insert": insert_creative +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.list": list_creatives +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.list/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.list/buyerCreativeId": buyer_creative_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.list/dealsStatusFilter": deals_status_filter +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.list/maxResults": max_results +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.list/openAuctionStatusFilter": open_auction_status_filter +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.list/pageToken": page_token +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.listDeals": list_creative_deals +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.listDeals/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.listDeals/buyerCreativeId": buyer_creative_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.removeDeal": remove_creative_deal +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.removeDeal/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.removeDeal/buyerCreativeId": buyer_creative_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.removeDeal/dealId": deal_id +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.delete": delete_marketplacedeal_order_deals +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.delete/proposalId": proposal_id +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.insert": insert_marketplacedeal +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.insert/proposalId": proposal_id +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.list": list_marketplacedeals +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.list/pqlQuery": pql_query +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.list/proposalId": proposal_id +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.update": update_marketplacedeal +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.update/proposalId": proposal_id +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacenotes.insert": insert_marketplacenote +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacenotes.insert/proposalId": proposal_id +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacenotes.list": list_marketplacenotes +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacenotes.list/pqlQuery": pql_query +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacenotes.list/proposalId": proposal_id +"/adexchangebuyer:v1.4/adexchangebuyer.marketplaceprivateauction.updateproposal": update_marketplace_private_auction_proposal +"/adexchangebuyer:v1.4/adexchangebuyer.marketplaceprivateauction.updateproposal/privateAuctionId": private_auction_id +"/adexchangebuyer:v1.4/adexchangebuyer.performanceReport.list": list_performance_reports +"/adexchangebuyer:v1.4/adexchangebuyer.performanceReport.list/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.performanceReport.list/endDateTime": end_date_time +"/adexchangebuyer:v1.4/adexchangebuyer.performanceReport.list/maxResults": max_results +"/adexchangebuyer:v1.4/adexchangebuyer.performanceReport.list/pageToken": page_token +"/adexchangebuyer:v1.4/adexchangebuyer.performanceReport.list/startDateTime": start_date_time +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.delete": delete_pretargeting_config +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.delete/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.delete/configId": config_id +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.get": get_pretargeting_config +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.get/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.get/configId": config_id +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.insert": insert_pretargeting_config +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.insert/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.list": list_pretargeting_configs +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.list/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.patch": patch_pretargeting_config +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.patch/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.patch/configId": config_id +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.update": update_pretargeting_config +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.update/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.update/configId": config_id +"/adexchangebuyer:v1.4/adexchangebuyer.products.get": get_product +"/adexchangebuyer:v1.4/adexchangebuyer.products.get/productId": product_id +"/adexchangebuyer:v1.4/adexchangebuyer.products.search": search_products +"/adexchangebuyer:v1.4/adexchangebuyer.products.search/pqlQuery": pql_query +"/adexchangebuyer:v1.4/adexchangebuyer.proposals.get": get_proposal +"/adexchangebuyer:v1.4/adexchangebuyer.proposals.get/proposalId": proposal_id +"/adexchangebuyer:v1.4/adexchangebuyer.proposals.insert": insert_proposal +"/adexchangebuyer:v1.4/adexchangebuyer.proposals.patch": patch_proposal +"/adexchangebuyer:v1.4/adexchangebuyer.proposals.patch/proposalId": proposal_id +"/adexchangebuyer:v1.4/adexchangebuyer.proposals.patch/revisionNumber": revision_number +"/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": proposal_setup_complete +"/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": list_pub_profiles +"/adexchangebuyer:v1.4/adexchangebuyer.pubprofiles.list/accountId": account_id +"/adexchangebuyer:v1.4/fields": fields +"/adexchangebuyer:v1.4/key": key +"/adexchangebuyer:v1.4/quotaUser": quota_user +"/adexchangebuyer:v1.4/userIp": user_ip "/adexchangeseller:v2.0/Account": account "/adexchangeseller:v2.0/Account/id": id "/adexchangeseller:v2.0/Account/kind": kind @@ -6971,26 +1201,89 @@ "/adexchangeseller:v2.0/UrlChannels/items/item": item "/adexchangeseller:v2.0/UrlChannels/kind": kind "/adexchangeseller:v2.0/UrlChannels/nextPageToken": next_page_token -"/admin:datatransfer_v1/fields": fields -"/admin:datatransfer_v1/key": key -"/admin:datatransfer_v1/quotaUser": quota_user -"/admin:datatransfer_v1/userIp": user_ip -"/admin:datatransfer_v1/datatransfer.applications.get": get_application -"/admin:datatransfer_v1/datatransfer.applications.get/applicationId": application_id -"/admin:datatransfer_v1/datatransfer.applications.list": list_applications -"/admin:datatransfer_v1/datatransfer.applications.list/customerId": customer_id -"/admin:datatransfer_v1/datatransfer.applications.list/maxResults": max_results -"/admin:datatransfer_v1/datatransfer.applications.list/pageToken": page_token -"/admin:datatransfer_v1/datatransfer.transfers.get": get_transfer -"/admin:datatransfer_v1/datatransfer.transfers.get/dataTransferId": data_transfer_id -"/admin:datatransfer_v1/datatransfer.transfers.insert": insert_transfer -"/admin:datatransfer_v1/datatransfer.transfers.list": list_transfers -"/admin:datatransfer_v1/datatransfer.transfers.list/customerId": customer_id -"/admin:datatransfer_v1/datatransfer.transfers.list/maxResults": max_results -"/admin:datatransfer_v1/datatransfer.transfers.list/newOwnerUserId": new_owner_user_id -"/admin:datatransfer_v1/datatransfer.transfers.list/oldOwnerUserId": old_owner_user_id -"/admin:datatransfer_v1/datatransfer.transfers.list/pageToken": page_token -"/admin:datatransfer_v1/datatransfer.transfers.list/status": status +"/adexchangeseller:v2.0/adexchangeseller.accounts.adclients.list": list_account_ad_clients +"/adexchangeseller:v2.0/adexchangeseller.accounts.adclients.list/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.adclients.list/maxResults": max_results +"/adexchangeseller:v2.0/adexchangeseller.accounts.adclients.list/pageToken": page_token +"/adexchangeseller:v2.0/adexchangeseller.accounts.alerts.list": list_account_alerts +"/adexchangeseller:v2.0/adexchangeseller.accounts.alerts.list/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.alerts.list/locale": locale +"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.get": get_account_custom_channel +"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.get/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.get/adClientId": ad_client_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.get/customChannelId": custom_channel_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.list": list_account_custom_channels +"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.list/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.list/adClientId": ad_client_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.list/maxResults": max_results +"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.list/pageToken": page_token +"/adexchangeseller:v2.0/adexchangeseller.accounts.get": get_account +"/adexchangeseller:v2.0/adexchangeseller.accounts.get/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.list": list_accounts +"/adexchangeseller:v2.0/adexchangeseller.accounts.list/maxResults": max_results +"/adexchangeseller:v2.0/adexchangeseller.accounts.list/pageToken": page_token +"/adexchangeseller:v2.0/adexchangeseller.accounts.metadata.dimensions.list": list_account_metadata_dimensions +"/adexchangeseller:v2.0/adexchangeseller.accounts.metadata.dimensions.list/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.metadata.metrics.list": list_account_metadata_metrics +"/adexchangeseller:v2.0/adexchangeseller.accounts.metadata.metrics.list/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.preferreddeals.get": get_account_preferred_deal +"/adexchangeseller:v2.0/adexchangeseller.accounts.preferreddeals.get/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.preferreddeals.get/dealId": deal_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.preferreddeals.list": list_account_preferred_deals +"/adexchangeseller:v2.0/adexchangeseller.accounts.preferreddeals.list/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate": generate_account_report +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/dimension": dimension +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/endDate": end_date +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/filter": filter +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/locale": locale +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/maxResults": max_results +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/metric": metric +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/sort": sort +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/startDate": start_date +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/startIndex": start_index +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.generate": generate_account_saved_report +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.generate/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.generate/locale": locale +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.generate/maxResults": max_results +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.generate/savedReportId": saved_report_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.generate/startIndex": start_index +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.list": list_account_saved_reports +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.list/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.list/maxResults": max_results +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.list/pageToken": page_token +"/adexchangeseller:v2.0/adexchangeseller.accounts.urlchannels.list": list_account_url_channels +"/adexchangeseller:v2.0/adexchangeseller.accounts.urlchannels.list/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.urlchannels.list/adClientId": ad_client_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.urlchannels.list/maxResults": max_results +"/adexchangeseller:v2.0/adexchangeseller.accounts.urlchannels.list/pageToken": page_token +"/adexchangeseller:v2.0/fields": fields +"/adexchangeseller:v2.0/key": key +"/adexchangeseller:v2.0/quotaUser": quota_user +"/adexchangeseller:v2.0/userIp": user_ip +"/adexperiencereport:v1/PlatformSummary": platform_summary +"/adexperiencereport:v1/PlatformSummary/abusiveStatus": abusive_status +"/adexperiencereport:v1/PlatformSummary/betterAdsStatus": better_ads_status +"/adexperiencereport:v1/PlatformSummary/enforcementTime": enforcement_time +"/adexperiencereport:v1/PlatformSummary/filterStatus": filter_status +"/adexperiencereport:v1/PlatformSummary/lastChangeTime": last_change_time +"/adexperiencereport:v1/PlatformSummary/region": region +"/adexperiencereport:v1/PlatformSummary/region/region": region +"/adexperiencereport:v1/PlatformSummary/reportUrl": report_url +"/adexperiencereport:v1/PlatformSummary/underReview": under_review +"/adexperiencereport:v1/SiteSummaryResponse": site_summary_response +"/adexperiencereport:v1/SiteSummaryResponse/desktopSummary": desktop_summary +"/adexperiencereport:v1/SiteSummaryResponse/mobileSummary": mobile_summary +"/adexperiencereport:v1/SiteSummaryResponse/reviewedSite": reviewed_site +"/adexperiencereport:v1/ViolatingSitesResponse": violating_sites_response +"/adexperiencereport:v1/ViolatingSitesResponse/violatingSites": violating_sites +"/adexperiencereport:v1/ViolatingSitesResponse/violatingSites/violating_site": violating_site +"/adexperiencereport:v1/adexperiencereport.sites.get": get_site +"/adexperiencereport:v1/adexperiencereport.sites.get/name": name +"/adexperiencereport:v1/adexperiencereport.violatingSites.list": list_violating_sites +"/adexperiencereport:v1/fields": fields +"/adexperiencereport:v1/key": key +"/adexperiencereport:v1/quotaUser": quota_user "/admin:datatransfer_v1/Application": application "/admin:datatransfer_v1/Application/etag": etag "/admin:datatransfer_v1/Application/id": id @@ -7029,285 +1322,26 @@ "/admin:datatransfer_v1/DataTransfersListResponse/etag": etag "/admin:datatransfer_v1/DataTransfersListResponse/kind": kind "/admin:datatransfer_v1/DataTransfersListResponse/nextPageToken": next_page_token -"/admin:directory_v1/fields": fields -"/admin:directory_v1/key": key -"/admin:directory_v1/quotaUser": quota_user -"/admin:directory_v1/userIp": user_ip -"/admin:directory_v1/directory.asps.delete": delete_asp -"/admin:directory_v1/directory.asps.delete/codeId": code_id -"/admin:directory_v1/directory.asps.delete/userKey": user_key -"/admin:directory_v1/directory.asps.get": get_asp -"/admin:directory_v1/directory.asps.get/codeId": code_id -"/admin:directory_v1/directory.asps.get/userKey": user_key -"/admin:directory_v1/directory.asps.list": list_asps -"/admin:directory_v1/directory.asps.list/userKey": user_key -"/admin:directory_v1/admin.channels.stop": stop_channel -"/admin:directory_v1/directory.chromeosdevices.action": action_chromeosdevice -"/admin:directory_v1/directory.chromeosdevices.action/customerId": customer_id -"/admin:directory_v1/directory.chromeosdevices.action/resourceId": resource_id -"/admin:directory_v1/directory.chromeosdevices.get/customerId": customer_id -"/admin:directory_v1/directory.chromeosdevices.get/deviceId": device_id -"/admin:directory_v1/directory.chromeosdevices.get/projection": projection -"/admin:directory_v1/directory.chromeosdevices.list/customerId": customer_id -"/admin:directory_v1/directory.chromeosdevices.list/maxResults": max_results -"/admin:directory_v1/directory.chromeosdevices.list/orderBy": order_by -"/admin:directory_v1/directory.chromeosdevices.list/orgUnitPath": org_unit_path -"/admin:directory_v1/directory.chromeosdevices.list/pageToken": page_token -"/admin:directory_v1/directory.chromeosdevices.list/projection": projection -"/admin:directory_v1/directory.chromeosdevices.list/query": query -"/admin:directory_v1/directory.chromeosdevices.list/sortOrder": sort_order -"/admin:directory_v1/directory.chromeosdevices.patch/customerId": customer_id -"/admin:directory_v1/directory.chromeosdevices.patch/deviceId": device_id -"/admin:directory_v1/directory.chromeosdevices.patch/projection": projection -"/admin:directory_v1/directory.chromeosdevices.update/customerId": customer_id -"/admin:directory_v1/directory.chromeosdevices.update/deviceId": device_id -"/admin:directory_v1/directory.chromeosdevices.update/projection": projection -"/admin:directory_v1/directory.customers.get": get_customer -"/admin:directory_v1/directory.customers.get/customerKey": customer_key -"/admin:directory_v1/directory.customers.patch": patch_customer -"/admin:directory_v1/directory.customers.patch/customerKey": customer_key -"/admin:directory_v1/directory.customers.update": update_customer -"/admin:directory_v1/directory.customers.update/customerKey": customer_key -"/admin:directory_v1/directory.domainAliases.delete": delete_domain_alias -"/admin:directory_v1/directory.domainAliases.delete/customer": customer -"/admin:directory_v1/directory.domainAliases.delete/domainAliasName": domain_alias_name -"/admin:directory_v1/directory.domainAliases.get": get_domain_alias -"/admin:directory_v1/directory.domainAliases.get/customer": customer -"/admin:directory_v1/directory.domainAliases.get/domainAliasName": domain_alias_name -"/admin:directory_v1/directory.domainAliases.insert": insert_domain_alias -"/admin:directory_v1/directory.domainAliases.insert/customer": customer -"/admin:directory_v1/directory.domainAliases.list": list_domain_aliases -"/admin:directory_v1/directory.domainAliases.list/customer": customer -"/admin:directory_v1/directory.domainAliases.list/parentDomainName": parent_domain_name -"/admin:directory_v1/directory.domains.delete": delete_domain -"/admin:directory_v1/directory.domains.delete/customer": customer -"/admin:directory_v1/directory.domains.delete/domainName": domain_name -"/admin:directory_v1/directory.domains.get": get_domain -"/admin:directory_v1/directory.domains.get/customer": customer -"/admin:directory_v1/directory.domains.get/domainName": domain_name -"/admin:directory_v1/directory.domains.insert": insert_domain -"/admin:directory_v1/directory.domains.insert/customer": customer -"/admin:directory_v1/directory.domains.list": list_domains -"/admin:directory_v1/directory.domains.list/customer": customer -"/admin:directory_v1/directory.groups.delete": delete_group -"/admin:directory_v1/directory.groups.delete/groupKey": group_key -"/admin:directory_v1/directory.groups.get": get_group -"/admin:directory_v1/directory.groups.get/groupKey": group_key -"/admin:directory_v1/directory.groups.insert": insert_group -"/admin:directory_v1/directory.groups.list": list_groups -"/admin:directory_v1/directory.groups.list/customer": customer -"/admin:directory_v1/directory.groups.list/domain": domain -"/admin:directory_v1/directory.groups.list/maxResults": max_results -"/admin:directory_v1/directory.groups.list/pageToken": page_token -"/admin:directory_v1/directory.groups.list/userKey": user_key -"/admin:directory_v1/directory.groups.patch": patch_group -"/admin:directory_v1/directory.groups.patch/groupKey": group_key -"/admin:directory_v1/directory.groups.update": update_group -"/admin:directory_v1/directory.groups.update/groupKey": group_key -"/admin:directory_v1/directory.groups.aliases.delete": delete_group_alias -"/admin:directory_v1/directory.groups.aliases.delete/groupKey": group_key -"/admin:directory_v1/directory.groups.aliases.insert": insert_group_alias -"/admin:directory_v1/directory.groups.aliases.insert/groupKey": group_key -"/admin:directory_v1/directory.groups.aliases.list": list_group_aliases -"/admin:directory_v1/directory.groups.aliases.list/groupKey": group_key -"/admin:directory_v1/directory.members.delete": delete_member -"/admin:directory_v1/directory.members.delete/groupKey": group_key -"/admin:directory_v1/directory.members.delete/memberKey": member_key -"/admin:directory_v1/directory.members.get": get_member -"/admin:directory_v1/directory.members.get/groupKey": group_key -"/admin:directory_v1/directory.members.get/memberKey": member_key -"/admin:directory_v1/directory.members.insert": insert_member -"/admin:directory_v1/directory.members.insert/groupKey": group_key -"/admin:directory_v1/directory.members.list": list_members -"/admin:directory_v1/directory.members.list/groupKey": group_key -"/admin:directory_v1/directory.members.list/maxResults": max_results -"/admin:directory_v1/directory.members.list/pageToken": page_token -"/admin:directory_v1/directory.members.list/roles": roles -"/admin:directory_v1/directory.members.patch": patch_member -"/admin:directory_v1/directory.members.patch/groupKey": group_key -"/admin:directory_v1/directory.members.patch/memberKey": member_key -"/admin:directory_v1/directory.members.update": update_member -"/admin:directory_v1/directory.members.update/groupKey": group_key -"/admin:directory_v1/directory.members.update/memberKey": member_key -"/admin:directory_v1/directory.mobiledevices.action/customerId": customer_id -"/admin:directory_v1/directory.mobiledevices.action/resourceId": resource_id -"/admin:directory_v1/directory.mobiledevices.delete/customerId": customer_id -"/admin:directory_v1/directory.mobiledevices.delete/resourceId": resource_id -"/admin:directory_v1/directory.mobiledevices.get/customerId": customer_id -"/admin:directory_v1/directory.mobiledevices.get/projection": projection -"/admin:directory_v1/directory.mobiledevices.get/resourceId": resource_id -"/admin:directory_v1/directory.mobiledevices.list/customerId": customer_id -"/admin:directory_v1/directory.mobiledevices.list/maxResults": max_results -"/admin:directory_v1/directory.mobiledevices.list/orderBy": order_by -"/admin:directory_v1/directory.mobiledevices.list/pageToken": page_token -"/admin:directory_v1/directory.mobiledevices.list/projection": projection -"/admin:directory_v1/directory.mobiledevices.list/query": query -"/admin:directory_v1/directory.mobiledevices.list/sortOrder": sort_order -"/admin:directory_v1/directory.notifications.delete": delete_notification -"/admin:directory_v1/directory.notifications.delete/customer": customer -"/admin:directory_v1/directory.notifications.delete/notificationId": notification_id -"/admin:directory_v1/directory.notifications.get": get_notification -"/admin:directory_v1/directory.notifications.get/customer": customer -"/admin:directory_v1/directory.notifications.get/notificationId": notification_id -"/admin:directory_v1/directory.notifications.list": list_notifications -"/admin:directory_v1/directory.notifications.list/customer": customer -"/admin:directory_v1/directory.notifications.list/language": language -"/admin:directory_v1/directory.notifications.list/maxResults": max_results -"/admin:directory_v1/directory.notifications.list/pageToken": page_token -"/admin:directory_v1/directory.notifications.patch": patch_notification -"/admin:directory_v1/directory.notifications.patch/customer": customer -"/admin:directory_v1/directory.notifications.patch/notificationId": notification_id -"/admin:directory_v1/directory.notifications.update": update_notification -"/admin:directory_v1/directory.notifications.update/customer": customer -"/admin:directory_v1/directory.notifications.update/notificationId": notification_id -"/admin:directory_v1/directory.orgunits.delete/customerId": customer_id -"/admin:directory_v1/directory.orgunits.delete/orgUnitPath": org_unit_path -"/admin:directory_v1/directory.orgunits.get/customerId": customer_id -"/admin:directory_v1/directory.orgunits.get/orgUnitPath": org_unit_path -"/admin:directory_v1/directory.orgunits.insert/customerId": customer_id -"/admin:directory_v1/directory.orgunits.list/customerId": customer_id -"/admin:directory_v1/directory.orgunits.list/orgUnitPath": org_unit_path -"/admin:directory_v1/directory.orgunits.list/type": type -"/admin:directory_v1/directory.orgunits.patch/customerId": customer_id -"/admin:directory_v1/directory.orgunits.patch/orgUnitPath": org_unit_path -"/admin:directory_v1/directory.orgunits.update/customerId": customer_id -"/admin:directory_v1/directory.orgunits.update/orgUnitPath": org_unit_path -"/admin:directory_v1/directory.privileges.list": list_privileges -"/admin:directory_v1/directory.privileges.list/customer": customer -"/admin:directory_v1/directory.resources.calendars.delete/calendarResourceId": calendar_resource_id -"/admin:directory_v1/directory.resources.calendars.delete/customer": customer -"/admin:directory_v1/directory.resources.calendars.get/calendarResourceId": calendar_resource_id -"/admin:directory_v1/directory.resources.calendars.get/customer": customer -"/admin:directory_v1/directory.resources.calendars.insert/customer": customer -"/admin:directory_v1/directory.resources.calendars.list/customer": customer -"/admin:directory_v1/directory.resources.calendars.list/maxResults": max_results -"/admin:directory_v1/directory.resources.calendars.list/pageToken": page_token -"/admin:directory_v1/directory.resources.calendars.patch/calendarResourceId": calendar_resource_id -"/admin:directory_v1/directory.resources.calendars.patch/customer": customer -"/admin:directory_v1/directory.resources.calendars.update/calendarResourceId": calendar_resource_id -"/admin:directory_v1/directory.resources.calendars.update/customer": customer -"/admin:directory_v1/directory.roleAssignments.delete": delete_role_assignment -"/admin:directory_v1/directory.roleAssignments.delete/customer": customer -"/admin:directory_v1/directory.roleAssignments.delete/roleAssignmentId": role_assignment_id -"/admin:directory_v1/directory.roleAssignments.get": get_role_assignment -"/admin:directory_v1/directory.roleAssignments.get/customer": customer -"/admin:directory_v1/directory.roleAssignments.get/roleAssignmentId": role_assignment_id -"/admin:directory_v1/directory.roleAssignments.insert": insert_role_assignment -"/admin:directory_v1/directory.roleAssignments.insert/customer": customer -"/admin:directory_v1/directory.roleAssignments.list": list_role_assignments -"/admin:directory_v1/directory.roleAssignments.list/customer": customer -"/admin:directory_v1/directory.roleAssignments.list/maxResults": max_results -"/admin:directory_v1/directory.roleAssignments.list/pageToken": page_token -"/admin:directory_v1/directory.roleAssignments.list/roleId": role_id -"/admin:directory_v1/directory.roleAssignments.list/userKey": user_key -"/admin:directory_v1/directory.roles.delete": delete_role -"/admin:directory_v1/directory.roles.delete/customer": customer -"/admin:directory_v1/directory.roles.delete/roleId": role_id -"/admin:directory_v1/directory.roles.get": get_role -"/admin:directory_v1/directory.roles.get/customer": customer -"/admin:directory_v1/directory.roles.get/roleId": role_id -"/admin:directory_v1/directory.roles.insert": insert_role -"/admin:directory_v1/directory.roles.insert/customer": customer -"/admin:directory_v1/directory.roles.list": list_roles -"/admin:directory_v1/directory.roles.list/customer": customer -"/admin:directory_v1/directory.roles.list/maxResults": max_results -"/admin:directory_v1/directory.roles.list/pageToken": page_token -"/admin:directory_v1/directory.roles.patch": patch_role -"/admin:directory_v1/directory.roles.patch/customer": customer -"/admin:directory_v1/directory.roles.patch/roleId": role_id -"/admin:directory_v1/directory.roles.update": update_role -"/admin:directory_v1/directory.roles.update/customer": customer -"/admin:directory_v1/directory.roles.update/roleId": role_id -"/admin:directory_v1/directory.schemas.delete": delete_schema -"/admin:directory_v1/directory.schemas.delete/customerId": customer_id -"/admin:directory_v1/directory.schemas.delete/schemaKey": schema_key -"/admin:directory_v1/directory.schemas.get": get_schema -"/admin:directory_v1/directory.schemas.get/customerId": customer_id -"/admin:directory_v1/directory.schemas.get/schemaKey": schema_key -"/admin:directory_v1/directory.schemas.insert": insert_schema -"/admin:directory_v1/directory.schemas.insert/customerId": customer_id -"/admin:directory_v1/directory.schemas.list": list_schemas -"/admin:directory_v1/directory.schemas.list/customerId": customer_id -"/admin:directory_v1/directory.schemas.patch": patch_schema -"/admin:directory_v1/directory.schemas.patch/customerId": customer_id -"/admin:directory_v1/directory.schemas.patch/schemaKey": schema_key -"/admin:directory_v1/directory.schemas.update": update_schema -"/admin:directory_v1/directory.schemas.update/customerId": customer_id -"/admin:directory_v1/directory.schemas.update/schemaKey": schema_key -"/admin:directory_v1/directory.tokens.delete": delete_token -"/admin:directory_v1/directory.tokens.delete/clientId": client_id -"/admin:directory_v1/directory.tokens.delete/userKey": user_key -"/admin:directory_v1/directory.tokens.get": get_token -"/admin:directory_v1/directory.tokens.get/clientId": client_id -"/admin:directory_v1/directory.tokens.get/userKey": user_key -"/admin:directory_v1/directory.tokens.list": list_tokens -"/admin:directory_v1/directory.tokens.list/userKey": user_key -"/admin:directory_v1/directory.users.delete": delete_user -"/admin:directory_v1/directory.users.delete/userKey": user_key -"/admin:directory_v1/directory.users.get": get_user -"/admin:directory_v1/directory.users.get/customFieldMask": custom_field_mask -"/admin:directory_v1/directory.users.get/projection": projection -"/admin:directory_v1/directory.users.get/userKey": user_key -"/admin:directory_v1/directory.users.get/viewType": view_type -"/admin:directory_v1/directory.users.insert": insert_user -"/admin:directory_v1/directory.users.list": list_users -"/admin:directory_v1/directory.users.list/customFieldMask": custom_field_mask -"/admin:directory_v1/directory.users.list/customer": customer -"/admin:directory_v1/directory.users.list/domain": domain -"/admin:directory_v1/directory.users.list/event": event -"/admin:directory_v1/directory.users.list/maxResults": max_results -"/admin:directory_v1/directory.users.list/orderBy": order_by -"/admin:directory_v1/directory.users.list/pageToken": page_token -"/admin:directory_v1/directory.users.list/projection": projection -"/admin:directory_v1/directory.users.list/query": query -"/admin:directory_v1/directory.users.list/showDeleted": show_deleted -"/admin:directory_v1/directory.users.list/sortOrder": sort_order -"/admin:directory_v1/directory.users.list/viewType": view_type -"/admin:directory_v1/directory.users.makeAdmin": make_user_admin -"/admin:directory_v1/directory.users.makeAdmin/userKey": user_key -"/admin:directory_v1/directory.users.patch": patch_user -"/admin:directory_v1/directory.users.patch/userKey": user_key -"/admin:directory_v1/directory.users.undelete": undelete_user -"/admin:directory_v1/directory.users.undelete/userKey": user_key -"/admin:directory_v1/directory.users.update": update_user -"/admin:directory_v1/directory.users.update/userKey": user_key -"/admin:directory_v1/directory.users.watch": watch_user -"/admin:directory_v1/directory.users.watch/customFieldMask": custom_field_mask -"/admin:directory_v1/directory.users.watch/customer": customer -"/admin:directory_v1/directory.users.watch/domain": domain -"/admin:directory_v1/directory.users.watch/event": event -"/admin:directory_v1/directory.users.watch/maxResults": max_results -"/admin:directory_v1/directory.users.watch/orderBy": order_by -"/admin:directory_v1/directory.users.watch/pageToken": page_token -"/admin:directory_v1/directory.users.watch/projection": projection -"/admin:directory_v1/directory.users.watch/query": query -"/admin:directory_v1/directory.users.watch/showDeleted": show_deleted -"/admin:directory_v1/directory.users.watch/sortOrder": sort_order -"/admin:directory_v1/directory.users.watch/viewType": view_type -"/admin:directory_v1/directory.users.aliases.delete": delete_user_alias -"/admin:directory_v1/directory.users.aliases.delete/userKey": user_key -"/admin:directory_v1/directory.users.aliases.insert": insert_user_alias -"/admin:directory_v1/directory.users.aliases.insert/userKey": user_key -"/admin:directory_v1/directory.users.aliases.list": list_user_aliases -"/admin:directory_v1/directory.users.aliases.list/event": event -"/admin:directory_v1/directory.users.aliases.list/userKey": user_key -"/admin:directory_v1/directory.users.aliases.watch": watch_user_alias -"/admin:directory_v1/directory.users.aliases.watch/event": event -"/admin:directory_v1/directory.users.aliases.watch/userKey": user_key -"/admin:directory_v1/directory.users.photos.delete": delete_user_photo -"/admin:directory_v1/directory.users.photos.delete/userKey": user_key -"/admin:directory_v1/directory.users.photos.get": get_user_photo -"/admin:directory_v1/directory.users.photos.get/userKey": user_key -"/admin:directory_v1/directory.users.photos.patch": patch_user_photo -"/admin:directory_v1/directory.users.photos.patch/userKey": user_key -"/admin:directory_v1/directory.users.photos.update": update_user_photo -"/admin:directory_v1/directory.users.photos.update/userKey": user_key -"/admin:directory_v1/directory.verificationCodes.generate": generate_verification_code -"/admin:directory_v1/directory.verificationCodes.generate/userKey": user_key -"/admin:directory_v1/directory.verificationCodes.invalidate": invalidate_verification_code -"/admin:directory_v1/directory.verificationCodes.invalidate/userKey": user_key -"/admin:directory_v1/directory.verificationCodes.list": list_verification_codes -"/admin:directory_v1/directory.verificationCodes.list/userKey": user_key +"/admin:datatransfer_v1/datatransfer.applications.get": get_application +"/admin:datatransfer_v1/datatransfer.applications.get/applicationId": application_id +"/admin:datatransfer_v1/datatransfer.applications.list": list_applications +"/admin:datatransfer_v1/datatransfer.applications.list/customerId": customer_id +"/admin:datatransfer_v1/datatransfer.applications.list/maxResults": max_results +"/admin:datatransfer_v1/datatransfer.applications.list/pageToken": page_token +"/admin:datatransfer_v1/datatransfer.transfers.get": get_transfer +"/admin:datatransfer_v1/datatransfer.transfers.get/dataTransferId": data_transfer_id +"/admin:datatransfer_v1/datatransfer.transfers.insert": insert_transfer +"/admin:datatransfer_v1/datatransfer.transfers.list": list_transfers +"/admin:datatransfer_v1/datatransfer.transfers.list/customerId": customer_id +"/admin:datatransfer_v1/datatransfer.transfers.list/maxResults": max_results +"/admin:datatransfer_v1/datatransfer.transfers.list/newOwnerUserId": new_owner_user_id +"/admin:datatransfer_v1/datatransfer.transfers.list/oldOwnerUserId": old_owner_user_id +"/admin:datatransfer_v1/datatransfer.transfers.list/pageToken": page_token +"/admin:datatransfer_v1/datatransfer.transfers.list/status": status +"/admin:datatransfer_v1/fields": fields +"/admin:datatransfer_v1/key": key +"/admin:datatransfer_v1/quotaUser": quota_user +"/admin:datatransfer_v1/userIp": user_ip "/admin:directory_v1/Alias": alias "/admin:directory_v1/Alias/alias": alias "/admin:directory_v1/Alias/etag": etag @@ -7818,46 +1852,307 @@ "/admin:directory_v1/VerificationCodes/items": items "/admin:directory_v1/VerificationCodes/items/item": item "/admin:directory_v1/VerificationCodes/kind": kind -"/admin:reports_v1/fields": fields -"/admin:reports_v1/key": key -"/admin:reports_v1/quotaUser": quota_user -"/admin:reports_v1/userIp": user_ip -"/admin:reports_v1/reports.activities.list": list_activities -"/admin:reports_v1/reports.activities.list/actorIpAddress": actor_ip_address -"/admin:reports_v1/reports.activities.list/applicationName": application_name -"/admin:reports_v1/reports.activities.list/customerId": customer_id -"/admin:reports_v1/reports.activities.list/endTime": end_time -"/admin:reports_v1/reports.activities.list/eventName": event_name -"/admin:reports_v1/reports.activities.list/filters": filters -"/admin:reports_v1/reports.activities.list/maxResults": max_results -"/admin:reports_v1/reports.activities.list/pageToken": page_token -"/admin:reports_v1/reports.activities.list/startTime": start_time -"/admin:reports_v1/reports.activities.list/userKey": user_key -"/admin:reports_v1/reports.activities.watch": watch_activity -"/admin:reports_v1/reports.activities.watch/actorIpAddress": actor_ip_address -"/admin:reports_v1/reports.activities.watch/applicationName": application_name -"/admin:reports_v1/reports.activities.watch/customerId": customer_id -"/admin:reports_v1/reports.activities.watch/endTime": end_time -"/admin:reports_v1/reports.activities.watch/eventName": event_name -"/admin:reports_v1/reports.activities.watch/filters": filters -"/admin:reports_v1/reports.activities.watch/maxResults": max_results -"/admin:reports_v1/reports.activities.watch/pageToken": page_token -"/admin:reports_v1/reports.activities.watch/startTime": start_time -"/admin:reports_v1/reports.activities.watch/userKey": user_key -"/admin:reports_v1/admin.channels.stop": stop_channel -"/admin:reports_v1/reports.customerUsageReports.get": get_customer_usage_report -"/admin:reports_v1/reports.customerUsageReports.get/customerId": customer_id -"/admin:reports_v1/reports.customerUsageReports.get/date": date -"/admin:reports_v1/reports.customerUsageReports.get/pageToken": page_token -"/admin:reports_v1/reports.customerUsageReports.get/parameters": parameters -"/admin:reports_v1/reports.userUsageReport.get": get_user_usage_report -"/admin:reports_v1/reports.userUsageReport.get/customerId": customer_id -"/admin:reports_v1/reports.userUsageReport.get/date": date -"/admin:reports_v1/reports.userUsageReport.get/filters": filters -"/admin:reports_v1/reports.userUsageReport.get/maxResults": max_results -"/admin:reports_v1/reports.userUsageReport.get/pageToken": page_token -"/admin:reports_v1/reports.userUsageReport.get/parameters": parameters -"/admin:reports_v1/reports.userUsageReport.get/userKey": user_key +"/admin:directory_v1/admin.channels.stop": stop_channel +"/admin:directory_v1/directory.asps.delete": delete_asp +"/admin:directory_v1/directory.asps.delete/codeId": code_id +"/admin:directory_v1/directory.asps.delete/userKey": user_key +"/admin:directory_v1/directory.asps.get": get_asp +"/admin:directory_v1/directory.asps.get/codeId": code_id +"/admin:directory_v1/directory.asps.get/userKey": user_key +"/admin:directory_v1/directory.asps.list": list_asps +"/admin:directory_v1/directory.asps.list/userKey": user_key +"/admin:directory_v1/directory.chromeosdevices.action": action_chromeosdevice +"/admin:directory_v1/directory.chromeosdevices.action/customerId": customer_id +"/admin:directory_v1/directory.chromeosdevices.action/resourceId": resource_id +"/admin:directory_v1/directory.chromeosdevices.get": get_chrome_os_device +"/admin:directory_v1/directory.chromeosdevices.get/customerId": customer_id +"/admin:directory_v1/directory.chromeosdevices.get/deviceId": device_id +"/admin:directory_v1/directory.chromeosdevices.get/projection": projection +"/admin:directory_v1/directory.chromeosdevices.list": list_chrome_os_devices +"/admin:directory_v1/directory.chromeosdevices.list/customerId": customer_id +"/admin:directory_v1/directory.chromeosdevices.list/maxResults": max_results +"/admin:directory_v1/directory.chromeosdevices.list/orderBy": order_by +"/admin:directory_v1/directory.chromeosdevices.list/orgUnitPath": org_unit_path +"/admin:directory_v1/directory.chromeosdevices.list/pageToken": page_token +"/admin:directory_v1/directory.chromeosdevices.list/projection": projection +"/admin:directory_v1/directory.chromeosdevices.list/query": query +"/admin:directory_v1/directory.chromeosdevices.list/sortOrder": sort_order +"/admin:directory_v1/directory.chromeosdevices.patch": patch_chrome_os_device +"/admin:directory_v1/directory.chromeosdevices.patch/customerId": customer_id +"/admin:directory_v1/directory.chromeosdevices.patch/deviceId": device_id +"/admin:directory_v1/directory.chromeosdevices.patch/projection": projection +"/admin:directory_v1/directory.chromeosdevices.update": update_chrome_os_device +"/admin:directory_v1/directory.chromeosdevices.update/customerId": customer_id +"/admin:directory_v1/directory.chromeosdevices.update/deviceId": device_id +"/admin:directory_v1/directory.chromeosdevices.update/projection": projection +"/admin:directory_v1/directory.customers.get": get_customer +"/admin:directory_v1/directory.customers.get/customerKey": customer_key +"/admin:directory_v1/directory.customers.patch": patch_customer +"/admin:directory_v1/directory.customers.patch/customerKey": customer_key +"/admin:directory_v1/directory.customers.update": update_customer +"/admin:directory_v1/directory.customers.update/customerKey": customer_key +"/admin:directory_v1/directory.domainAliases.delete": delete_domain_alias +"/admin:directory_v1/directory.domainAliases.delete/customer": customer +"/admin:directory_v1/directory.domainAliases.delete/domainAliasName": domain_alias_name +"/admin:directory_v1/directory.domainAliases.get": get_domain_alias +"/admin:directory_v1/directory.domainAliases.get/customer": customer +"/admin:directory_v1/directory.domainAliases.get/domainAliasName": domain_alias_name +"/admin:directory_v1/directory.domainAliases.insert": insert_domain_alias +"/admin:directory_v1/directory.domainAliases.insert/customer": customer +"/admin:directory_v1/directory.domainAliases.list": list_domain_aliases +"/admin:directory_v1/directory.domainAliases.list/customer": customer +"/admin:directory_v1/directory.domainAliases.list/parentDomainName": parent_domain_name +"/admin:directory_v1/directory.domains.delete": delete_domain +"/admin:directory_v1/directory.domains.delete/customer": customer +"/admin:directory_v1/directory.domains.delete/domainName": domain_name +"/admin:directory_v1/directory.domains.get": get_domain +"/admin:directory_v1/directory.domains.get/customer": customer +"/admin:directory_v1/directory.domains.get/domainName": domain_name +"/admin:directory_v1/directory.domains.insert": insert_domain +"/admin:directory_v1/directory.domains.insert/customer": customer +"/admin:directory_v1/directory.domains.list": list_domains +"/admin:directory_v1/directory.domains.list/customer": customer +"/admin:directory_v1/directory.groups.aliases.delete": delete_group_alias +"/admin:directory_v1/directory.groups.aliases.delete/alias": group_alias +"/admin:directory_v1/directory.groups.aliases.delete/groupKey": group_key +"/admin:directory_v1/directory.groups.aliases.insert": insert_group_alias +"/admin:directory_v1/directory.groups.aliases.insert/groupKey": group_key +"/admin:directory_v1/directory.groups.aliases.list": list_group_aliases +"/admin:directory_v1/directory.groups.aliases.list/groupKey": group_key +"/admin:directory_v1/directory.groups.delete": delete_group +"/admin:directory_v1/directory.groups.delete/groupKey": group_key +"/admin:directory_v1/directory.groups.get": get_group +"/admin:directory_v1/directory.groups.get/groupKey": group_key +"/admin:directory_v1/directory.groups.insert": insert_group +"/admin:directory_v1/directory.groups.list": list_groups +"/admin:directory_v1/directory.groups.list/customer": customer +"/admin:directory_v1/directory.groups.list/domain": domain +"/admin:directory_v1/directory.groups.list/maxResults": max_results +"/admin:directory_v1/directory.groups.list/pageToken": page_token +"/admin:directory_v1/directory.groups.list/userKey": user_key +"/admin:directory_v1/directory.groups.patch": patch_group +"/admin:directory_v1/directory.groups.patch/groupKey": group_key +"/admin:directory_v1/directory.groups.update": update_group +"/admin:directory_v1/directory.groups.update/groupKey": group_key +"/admin:directory_v1/directory.members.delete": delete_member +"/admin:directory_v1/directory.members.delete/groupKey": group_key +"/admin:directory_v1/directory.members.delete/memberKey": member_key +"/admin:directory_v1/directory.members.get": get_member +"/admin:directory_v1/directory.members.get/groupKey": group_key +"/admin:directory_v1/directory.members.get/memberKey": member_key +"/admin:directory_v1/directory.members.insert": insert_member +"/admin:directory_v1/directory.members.insert/groupKey": group_key +"/admin:directory_v1/directory.members.list": list_members +"/admin:directory_v1/directory.members.list/groupKey": group_key +"/admin:directory_v1/directory.members.list/maxResults": max_results +"/admin:directory_v1/directory.members.list/pageToken": page_token +"/admin:directory_v1/directory.members.list/roles": roles +"/admin:directory_v1/directory.members.patch": patch_member +"/admin:directory_v1/directory.members.patch/groupKey": group_key +"/admin:directory_v1/directory.members.patch/memberKey": member_key +"/admin:directory_v1/directory.members.update": update_member +"/admin:directory_v1/directory.members.update/groupKey": group_key +"/admin:directory_v1/directory.members.update/memberKey": member_key +"/admin:directory_v1/directory.mobiledevices.action": action_mobile_device +"/admin:directory_v1/directory.mobiledevices.action/customerId": customer_id +"/admin:directory_v1/directory.mobiledevices.action/resourceId": resource_id +"/admin:directory_v1/directory.mobiledevices.delete": delete_mobile_device +"/admin:directory_v1/directory.mobiledevices.delete/customerId": customer_id +"/admin:directory_v1/directory.mobiledevices.delete/resourceId": resource_id +"/admin:directory_v1/directory.mobiledevices.get": get_mobile_device +"/admin:directory_v1/directory.mobiledevices.get/customerId": customer_id +"/admin:directory_v1/directory.mobiledevices.get/projection": projection +"/admin:directory_v1/directory.mobiledevices.get/resourceId": resource_id +"/admin:directory_v1/directory.mobiledevices.list": list_mobile_devices +"/admin:directory_v1/directory.mobiledevices.list/customerId": customer_id +"/admin:directory_v1/directory.mobiledevices.list/maxResults": max_results +"/admin:directory_v1/directory.mobiledevices.list/orderBy": order_by +"/admin:directory_v1/directory.mobiledevices.list/pageToken": page_token +"/admin:directory_v1/directory.mobiledevices.list/projection": projection +"/admin:directory_v1/directory.mobiledevices.list/query": query +"/admin:directory_v1/directory.mobiledevices.list/sortOrder": sort_order +"/admin:directory_v1/directory.notifications.delete": delete_notification +"/admin:directory_v1/directory.notifications.delete/customer": customer +"/admin:directory_v1/directory.notifications.delete/notificationId": notification_id +"/admin:directory_v1/directory.notifications.get": get_notification +"/admin:directory_v1/directory.notifications.get/customer": customer +"/admin:directory_v1/directory.notifications.get/notificationId": notification_id +"/admin:directory_v1/directory.notifications.list": list_notifications +"/admin:directory_v1/directory.notifications.list/customer": customer +"/admin:directory_v1/directory.notifications.list/language": language +"/admin:directory_v1/directory.notifications.list/maxResults": max_results +"/admin:directory_v1/directory.notifications.list/pageToken": page_token +"/admin:directory_v1/directory.notifications.patch": patch_notification +"/admin:directory_v1/directory.notifications.patch/customer": customer +"/admin:directory_v1/directory.notifications.patch/notificationId": notification_id +"/admin:directory_v1/directory.notifications.update": update_notification +"/admin:directory_v1/directory.notifications.update/customer": customer +"/admin:directory_v1/directory.notifications.update/notificationId": notification_id +"/admin:directory_v1/directory.orgunits.delete": delete_org_unit +"/admin:directory_v1/directory.orgunits.delete/customerId": customer_id +"/admin:directory_v1/directory.orgunits.delete/orgUnitPath": org_unit_path +"/admin:directory_v1/directory.orgunits.get": get_org_unit +"/admin:directory_v1/directory.orgunits.get/customerId": customer_id +"/admin:directory_v1/directory.orgunits.get/orgUnitPath": org_unit_path +"/admin:directory_v1/directory.orgunits.insert": insert_org_unit +"/admin:directory_v1/directory.orgunits.insert/customerId": customer_id +"/admin:directory_v1/directory.orgunits.list": list_org_units +"/admin:directory_v1/directory.orgunits.list/customerId": customer_id +"/admin:directory_v1/directory.orgunits.list/orgUnitPath": org_unit_path +"/admin:directory_v1/directory.orgunits.list/type": type +"/admin:directory_v1/directory.orgunits.patch": patch_org_unit +"/admin:directory_v1/directory.orgunits.patch/customerId": customer_id +"/admin:directory_v1/directory.orgunits.patch/orgUnitPath": org_unit_path +"/admin:directory_v1/directory.orgunits.update": update_org_unit +"/admin:directory_v1/directory.orgunits.update/customerId": customer_id +"/admin:directory_v1/directory.orgunits.update/orgUnitPath": org_unit_path +"/admin:directory_v1/directory.privileges.list": list_privileges +"/admin:directory_v1/directory.privileges.list/customer": customer +"/admin:directory_v1/directory.resources.calendars.delete": delete_calendar_resource +"/admin:directory_v1/directory.resources.calendars.delete/calendarResourceId": calendar_resource_id +"/admin:directory_v1/directory.resources.calendars.delete/customer": customer +"/admin:directory_v1/directory.resources.calendars.get": get_calendar_resource +"/admin:directory_v1/directory.resources.calendars.get/calendarResourceId": calendar_resource_id +"/admin:directory_v1/directory.resources.calendars.get/customer": customer +"/admin:directory_v1/directory.resources.calendars.insert": calendar_resource +"/admin:directory_v1/directory.resources.calendars.insert/customer": customer +"/admin:directory_v1/directory.resources.calendars.list": list_calendar_resources +"/admin:directory_v1/directory.resources.calendars.list/customer": customer +"/admin:directory_v1/directory.resources.calendars.list/maxResults": max_results +"/admin:directory_v1/directory.resources.calendars.list/pageToken": page_token +"/admin:directory_v1/directory.resources.calendars.patch": patch_calendar_resource +"/admin:directory_v1/directory.resources.calendars.patch/calendarResourceId": calendar_resource_id +"/admin:directory_v1/directory.resources.calendars.patch/customer": customer +"/admin:directory_v1/directory.resources.calendars.update": update_calendar_resource +"/admin:directory_v1/directory.resources.calendars.update/calendarResourceId": calendar_resource_id +"/admin:directory_v1/directory.resources.calendars.update/customer": customer +"/admin:directory_v1/directory.roleAssignments.delete": delete_role_assignment +"/admin:directory_v1/directory.roleAssignments.delete/customer": customer +"/admin:directory_v1/directory.roleAssignments.delete/roleAssignmentId": role_assignment_id +"/admin:directory_v1/directory.roleAssignments.get": get_role_assignment +"/admin:directory_v1/directory.roleAssignments.get/customer": customer +"/admin:directory_v1/directory.roleAssignments.get/roleAssignmentId": role_assignment_id +"/admin:directory_v1/directory.roleAssignments.insert": insert_role_assignment +"/admin:directory_v1/directory.roleAssignments.insert/customer": customer +"/admin:directory_v1/directory.roleAssignments.list": list_role_assignments +"/admin:directory_v1/directory.roleAssignments.list/customer": customer +"/admin:directory_v1/directory.roleAssignments.list/maxResults": max_results +"/admin:directory_v1/directory.roleAssignments.list/pageToken": page_token +"/admin:directory_v1/directory.roleAssignments.list/roleId": role_id +"/admin:directory_v1/directory.roleAssignments.list/userKey": user_key +"/admin:directory_v1/directory.roles.delete": delete_role +"/admin:directory_v1/directory.roles.delete/customer": customer +"/admin:directory_v1/directory.roles.delete/roleId": role_id +"/admin:directory_v1/directory.roles.get": get_role +"/admin:directory_v1/directory.roles.get/customer": customer +"/admin:directory_v1/directory.roles.get/roleId": role_id +"/admin:directory_v1/directory.roles.insert": insert_role +"/admin:directory_v1/directory.roles.insert/customer": customer +"/admin:directory_v1/directory.roles.list": list_roles +"/admin:directory_v1/directory.roles.list/customer": customer +"/admin:directory_v1/directory.roles.list/maxResults": max_results +"/admin:directory_v1/directory.roles.list/pageToken": page_token +"/admin:directory_v1/directory.roles.patch": patch_role +"/admin:directory_v1/directory.roles.patch/customer": customer +"/admin:directory_v1/directory.roles.patch/roleId": role_id +"/admin:directory_v1/directory.roles.update": update_role +"/admin:directory_v1/directory.roles.update/customer": customer +"/admin:directory_v1/directory.roles.update/roleId": role_id +"/admin:directory_v1/directory.schemas.delete": delete_schema +"/admin:directory_v1/directory.schemas.delete/customerId": customer_id +"/admin:directory_v1/directory.schemas.delete/schemaKey": schema_key +"/admin:directory_v1/directory.schemas.get": get_schema +"/admin:directory_v1/directory.schemas.get/customerId": customer_id +"/admin:directory_v1/directory.schemas.get/schemaKey": schema_key +"/admin:directory_v1/directory.schemas.insert": insert_schema +"/admin:directory_v1/directory.schemas.insert/customerId": customer_id +"/admin:directory_v1/directory.schemas.list": list_schemas +"/admin:directory_v1/directory.schemas.list/customerId": customer_id +"/admin:directory_v1/directory.schemas.patch": patch_schema +"/admin:directory_v1/directory.schemas.patch/customerId": customer_id +"/admin:directory_v1/directory.schemas.patch/schemaKey": schema_key +"/admin:directory_v1/directory.schemas.update": update_schema +"/admin:directory_v1/directory.schemas.update/customerId": customer_id +"/admin:directory_v1/directory.schemas.update/schemaKey": schema_key +"/admin:directory_v1/directory.tokens.delete": delete_token +"/admin:directory_v1/directory.tokens.delete/clientId": client_id +"/admin:directory_v1/directory.tokens.delete/userKey": user_key +"/admin:directory_v1/directory.tokens.get": get_token +"/admin:directory_v1/directory.tokens.get/clientId": client_id +"/admin:directory_v1/directory.tokens.get/userKey": user_key +"/admin:directory_v1/directory.tokens.list": list_tokens +"/admin:directory_v1/directory.tokens.list/userKey": user_key +"/admin:directory_v1/directory.users.aliases.delete": delete_user_alias +"/admin:directory_v1/directory.users.aliases.delete/alias": user_alias +"/admin:directory_v1/directory.users.aliases.delete/userKey": user_key +"/admin:directory_v1/directory.users.aliases.insert": insert_user_alias +"/admin:directory_v1/directory.users.aliases.insert/userKey": user_key +"/admin:directory_v1/directory.users.aliases.list": list_user_aliases +"/admin:directory_v1/directory.users.aliases.list/event": event +"/admin:directory_v1/directory.users.aliases.list/userKey": user_key +"/admin:directory_v1/directory.users.aliases.watch": watch_user_alias +"/admin:directory_v1/directory.users.aliases.watch/event": event +"/admin:directory_v1/directory.users.aliases.watch/userKey": user_key +"/admin:directory_v1/directory.users.delete": delete_user +"/admin:directory_v1/directory.users.delete/userKey": user_key +"/admin:directory_v1/directory.users.get": get_user +"/admin:directory_v1/directory.users.get/customFieldMask": custom_field_mask +"/admin:directory_v1/directory.users.get/projection": projection +"/admin:directory_v1/directory.users.get/userKey": user_key +"/admin:directory_v1/directory.users.get/viewType": view_type +"/admin:directory_v1/directory.users.insert": insert_user +"/admin:directory_v1/directory.users.list": list_users +"/admin:directory_v1/directory.users.list/customFieldMask": custom_field_mask +"/admin:directory_v1/directory.users.list/customer": customer +"/admin:directory_v1/directory.users.list/domain": domain +"/admin:directory_v1/directory.users.list/event": event +"/admin:directory_v1/directory.users.list/maxResults": max_results +"/admin:directory_v1/directory.users.list/orderBy": order_by +"/admin:directory_v1/directory.users.list/pageToken": page_token +"/admin:directory_v1/directory.users.list/projection": projection +"/admin:directory_v1/directory.users.list/query": query +"/admin:directory_v1/directory.users.list/showDeleted": show_deleted +"/admin:directory_v1/directory.users.list/sortOrder": sort_order +"/admin:directory_v1/directory.users.list/viewType": view_type +"/admin:directory_v1/directory.users.makeAdmin": make_user_admin +"/admin:directory_v1/directory.users.makeAdmin/userKey": user_key +"/admin:directory_v1/directory.users.patch": patch_user +"/admin:directory_v1/directory.users.patch/userKey": user_key +"/admin:directory_v1/directory.users.photos.delete": delete_user_photo +"/admin:directory_v1/directory.users.photos.delete/userKey": user_key +"/admin:directory_v1/directory.users.photos.get": get_user_photo +"/admin:directory_v1/directory.users.photos.get/userKey": user_key +"/admin:directory_v1/directory.users.photos.patch": patch_user_photo +"/admin:directory_v1/directory.users.photos.patch/userKey": user_key +"/admin:directory_v1/directory.users.photos.update": update_user_photo +"/admin:directory_v1/directory.users.photos.update/userKey": user_key +"/admin:directory_v1/directory.users.undelete": undelete_user +"/admin:directory_v1/directory.users.undelete/userKey": user_key +"/admin:directory_v1/directory.users.update": update_user +"/admin:directory_v1/directory.users.update/userKey": user_key +"/admin:directory_v1/directory.users.watch": watch_user +"/admin:directory_v1/directory.users.watch/customFieldMask": custom_field_mask +"/admin:directory_v1/directory.users.watch/customer": customer +"/admin:directory_v1/directory.users.watch/domain": domain +"/admin:directory_v1/directory.users.watch/event": event +"/admin:directory_v1/directory.users.watch/maxResults": max_results +"/admin:directory_v1/directory.users.watch/orderBy": order_by +"/admin:directory_v1/directory.users.watch/pageToken": page_token +"/admin:directory_v1/directory.users.watch/projection": projection +"/admin:directory_v1/directory.users.watch/query": query +"/admin:directory_v1/directory.users.watch/showDeleted": show_deleted +"/admin:directory_v1/directory.users.watch/sortOrder": sort_order +"/admin:directory_v1/directory.users.watch/viewType": view_type +"/admin:directory_v1/directory.verificationCodes.generate": generate_verification_code +"/admin:directory_v1/directory.verificationCodes.generate/userKey": user_key +"/admin:directory_v1/directory.verificationCodes.invalidate": invalidate_verification_code +"/admin:directory_v1/directory.verificationCodes.invalidate/userKey": user_key +"/admin:directory_v1/directory.verificationCodes.list": list_verification_codes +"/admin:directory_v1/directory.verificationCodes.list/userKey": user_key +"/admin:directory_v1/fields": fields +"/admin:directory_v1/key": key +"/admin:directory_v1/quotaUser": quota_user +"/admin:directory_v1/userIp": user_ip "/admin:reports_v1/Activities": activities "/admin:reports_v1/Activities/etag": etag "/admin:reports_v1/Activities/items": items @@ -7938,140 +2233,46 @@ "/admin:reports_v1/UsageReports/warnings/warning/data/datum/key": key "/admin:reports_v1/UsageReports/warnings/warning/data/datum/value": value "/admin:reports_v1/UsageReports/warnings/warning/message": message -"/adsense:v1.4/fields": fields -"/adsense:v1.4/key": key -"/adsense:v1.4/quotaUser": quota_user -"/adsense:v1.4/userIp": user_ip -"/adsense:v1.4/adsense.accounts.get": get_account -"/adsense:v1.4/adsense.accounts.get/accountId": account_id -"/adsense:v1.4/adsense.accounts.get/tree": tree -"/adsense:v1.4/adsense.accounts.list": list_accounts -"/adsense:v1.4/adsense.accounts.list/maxResults": max_results -"/adsense:v1.4/adsense.accounts.list/pageToken": page_token -"/adsense:v1.4/adsense.accounts.adclients.list/accountId": account_id -"/adsense:v1.4/adsense.accounts.adclients.list/maxResults": max_results -"/adsense:v1.4/adsense.accounts.adclients.list/pageToken": page_token -"/adsense:v1.4/adsense.accounts.adunits.get/accountId": account_id -"/adsense:v1.4/adsense.accounts.adunits.get/adClientId": ad_client_id -"/adsense:v1.4/adsense.accounts.adunits.get/adUnitId": ad_unit_id -"/adsense:v1.4/adsense.accounts.adunits.getAdCode/accountId": account_id -"/adsense:v1.4/adsense.accounts.adunits.getAdCode/adClientId": ad_client_id -"/adsense:v1.4/adsense.accounts.adunits.getAdCode/adUnitId": ad_unit_id -"/adsense:v1.4/adsense.accounts.adunits.list/accountId": account_id -"/adsense:v1.4/adsense.accounts.adunits.list/adClientId": ad_client_id -"/adsense:v1.4/adsense.accounts.adunits.list/includeInactive": include_inactive -"/adsense:v1.4/adsense.accounts.adunits.list/maxResults": max_results -"/adsense:v1.4/adsense.accounts.adunits.list/pageToken": page_token -"/adsense:v1.4/adsense.accounts.adunits.customchannels.list/accountId": account_id -"/adsense:v1.4/adsense.accounts.adunits.customchannels.list/adClientId": ad_client_id -"/adsense:v1.4/adsense.accounts.adunits.customchannels.list/adUnitId": ad_unit_id -"/adsense:v1.4/adsense.accounts.adunits.customchannels.list/maxResults": max_results -"/adsense:v1.4/adsense.accounts.adunits.customchannels.list/pageToken": page_token -"/adsense:v1.4/adsense.accounts.alerts.delete": delete_account_alert -"/adsense:v1.4/adsense.accounts.alerts.delete/accountId": account_id -"/adsense:v1.4/adsense.accounts.alerts.delete/alertId": alert_id -"/adsense:v1.4/adsense.accounts.alerts.list": list_account_alerts -"/adsense:v1.4/adsense.accounts.alerts.list/accountId": account_id -"/adsense:v1.4/adsense.accounts.alerts.list/locale": locale -"/adsense:v1.4/adsense.accounts.customchannels.get/accountId": account_id -"/adsense:v1.4/adsense.accounts.customchannels.get/adClientId": ad_client_id -"/adsense:v1.4/adsense.accounts.customchannels.get/customChannelId": custom_channel_id -"/adsense:v1.4/adsense.accounts.customchannels.list/accountId": account_id -"/adsense:v1.4/adsense.accounts.customchannels.list/adClientId": ad_client_id -"/adsense:v1.4/adsense.accounts.customchannels.list/maxResults": max_results -"/adsense:v1.4/adsense.accounts.customchannels.list/pageToken": page_token -"/adsense:v1.4/adsense.accounts.customchannels.adunits.list/accountId": account_id -"/adsense:v1.4/adsense.accounts.customchannels.adunits.list/adClientId": ad_client_id -"/adsense:v1.4/adsense.accounts.customchannels.adunits.list/customChannelId": custom_channel_id -"/adsense:v1.4/adsense.accounts.customchannels.adunits.list/includeInactive": include_inactive -"/adsense:v1.4/adsense.accounts.customchannels.adunits.list/maxResults": max_results -"/adsense:v1.4/adsense.accounts.customchannels.adunits.list/pageToken": page_token -"/adsense:v1.4/adsense.accounts.payments.list": list_account_payments -"/adsense:v1.4/adsense.accounts.payments.list/accountId": account_id -"/adsense:v1.4/adsense.accounts.reports.generate": generate_account_report -"/adsense:v1.4/adsense.accounts.reports.generate/accountId": account_id -"/adsense:v1.4/adsense.accounts.reports.generate/currency": currency -"/adsense:v1.4/adsense.accounts.reports.generate/dimension": dimension -"/adsense:v1.4/adsense.accounts.reports.generate/endDate": end_date -"/adsense:v1.4/adsense.accounts.reports.generate/filter": filter -"/adsense:v1.4/adsense.accounts.reports.generate/locale": locale -"/adsense:v1.4/adsense.accounts.reports.generate/maxResults": max_results -"/adsense:v1.4/adsense.accounts.reports.generate/metric": metric -"/adsense:v1.4/adsense.accounts.reports.generate/sort": sort -"/adsense:v1.4/adsense.accounts.reports.generate/startDate": start_date -"/adsense:v1.4/adsense.accounts.reports.generate/startIndex": start_index -"/adsense:v1.4/adsense.accounts.reports.generate/useTimezoneReporting": use_timezone_reporting -"/adsense:v1.4/adsense.accounts.reports.saved.generate/accountId": account_id -"/adsense:v1.4/adsense.accounts.reports.saved.generate/locale": locale -"/adsense:v1.4/adsense.accounts.reports.saved.generate/maxResults": max_results -"/adsense:v1.4/adsense.accounts.reports.saved.generate/savedReportId": saved_report_id -"/adsense:v1.4/adsense.accounts.reports.saved.generate/startIndex": start_index -"/adsense:v1.4/adsense.accounts.reports.saved.list/accountId": account_id -"/adsense:v1.4/adsense.accounts.reports.saved.list/maxResults": max_results -"/adsense:v1.4/adsense.accounts.reports.saved.list/pageToken": page_token -"/adsense:v1.4/adsense.accounts.savedadstyles.get/accountId": account_id -"/adsense:v1.4/adsense.accounts.savedadstyles.get/savedAdStyleId": saved_ad_style_id -"/adsense:v1.4/adsense.accounts.savedadstyles.list/accountId": account_id -"/adsense:v1.4/adsense.accounts.savedadstyles.list/maxResults": max_results -"/adsense:v1.4/adsense.accounts.savedadstyles.list/pageToken": page_token -"/adsense:v1.4/adsense.accounts.urlchannels.list/accountId": account_id -"/adsense:v1.4/adsense.accounts.urlchannels.list/adClientId": ad_client_id -"/adsense:v1.4/adsense.accounts.urlchannels.list/maxResults": max_results -"/adsense:v1.4/adsense.accounts.urlchannels.list/pageToken": page_token -"/adsense:v1.4/adsense.adclients.list/maxResults": max_results -"/adsense:v1.4/adsense.adclients.list/pageToken": page_token -"/adsense:v1.4/adsense.adunits.get/adClientId": ad_client_id -"/adsense:v1.4/adsense.adunits.get/adUnitId": ad_unit_id -"/adsense:v1.4/adsense.adunits.getAdCode/adClientId": ad_client_id -"/adsense:v1.4/adsense.adunits.getAdCode/adUnitId": ad_unit_id -"/adsense:v1.4/adsense.adunits.list/adClientId": ad_client_id -"/adsense:v1.4/adsense.adunits.list/includeInactive": include_inactive -"/adsense:v1.4/adsense.adunits.list/maxResults": max_results -"/adsense:v1.4/adsense.adunits.list/pageToken": page_token -"/adsense:v1.4/adsense.adunits.customchannels.list/adClientId": ad_client_id -"/adsense:v1.4/adsense.adunits.customchannels.list/adUnitId": ad_unit_id -"/adsense:v1.4/adsense.adunits.customchannels.list/maxResults": max_results -"/adsense:v1.4/adsense.adunits.customchannels.list/pageToken": page_token -"/adsense:v1.4/adsense.alerts.delete": delete_alert -"/adsense:v1.4/adsense.alerts.delete/alertId": alert_id -"/adsense:v1.4/adsense.alerts.list": list_alerts -"/adsense:v1.4/adsense.alerts.list/locale": locale -"/adsense:v1.4/adsense.customchannels.get/adClientId": ad_client_id -"/adsense:v1.4/adsense.customchannels.get/customChannelId": custom_channel_id -"/adsense:v1.4/adsense.customchannels.list/adClientId": ad_client_id -"/adsense:v1.4/adsense.customchannels.list/maxResults": max_results -"/adsense:v1.4/adsense.customchannels.list/pageToken": page_token -"/adsense:v1.4/adsense.customchannels.adunits.list/adClientId": ad_client_id -"/adsense:v1.4/adsense.customchannels.adunits.list/customChannelId": custom_channel_id -"/adsense:v1.4/adsense.customchannels.adunits.list/includeInactive": include_inactive -"/adsense:v1.4/adsense.customchannels.adunits.list/maxResults": max_results -"/adsense:v1.4/adsense.customchannels.adunits.list/pageToken": page_token -"/adsense:v1.4/adsense.payments.list": list_payments -"/adsense:v1.4/adsense.reports.generate": generate_report -"/adsense:v1.4/adsense.reports.generate/accountId": account_id -"/adsense:v1.4/adsense.reports.generate/currency": currency -"/adsense:v1.4/adsense.reports.generate/dimension": dimension -"/adsense:v1.4/adsense.reports.generate/endDate": end_date -"/adsense:v1.4/adsense.reports.generate/filter": filter -"/adsense:v1.4/adsense.reports.generate/locale": locale -"/adsense:v1.4/adsense.reports.generate/maxResults": max_results -"/adsense:v1.4/adsense.reports.generate/metric": metric -"/adsense:v1.4/adsense.reports.generate/sort": sort -"/adsense:v1.4/adsense.reports.generate/startDate": start_date -"/adsense:v1.4/adsense.reports.generate/startIndex": start_index -"/adsense:v1.4/adsense.reports.generate/useTimezoneReporting": use_timezone_reporting -"/adsense:v1.4/adsense.reports.saved.generate/locale": locale -"/adsense:v1.4/adsense.reports.saved.generate/maxResults": max_results -"/adsense:v1.4/adsense.reports.saved.generate/savedReportId": saved_report_id -"/adsense:v1.4/adsense.reports.saved.generate/startIndex": start_index -"/adsense:v1.4/adsense.reports.saved.list/maxResults": max_results -"/adsense:v1.4/adsense.reports.saved.list/pageToken": page_token -"/adsense:v1.4/adsense.savedadstyles.get/savedAdStyleId": saved_ad_style_id -"/adsense:v1.4/adsense.savedadstyles.list/maxResults": max_results -"/adsense:v1.4/adsense.savedadstyles.list/pageToken": page_token -"/adsense:v1.4/adsense.urlchannels.list/adClientId": ad_client_id -"/adsense:v1.4/adsense.urlchannels.list/maxResults": max_results -"/adsense:v1.4/adsense.urlchannels.list/pageToken": page_token +"/admin:reports_v1/admin.channels.stop": stop_channel +"/admin:reports_v1/fields": fields +"/admin:reports_v1/key": key +"/admin:reports_v1/quotaUser": quota_user +"/admin:reports_v1/reports.activities.list": list_activities +"/admin:reports_v1/reports.activities.list/actorIpAddress": actor_ip_address +"/admin:reports_v1/reports.activities.list/applicationName": application_name +"/admin:reports_v1/reports.activities.list/customerId": customer_id +"/admin:reports_v1/reports.activities.list/endTime": end_time +"/admin:reports_v1/reports.activities.list/eventName": event_name +"/admin:reports_v1/reports.activities.list/filters": filters +"/admin:reports_v1/reports.activities.list/maxResults": max_results +"/admin:reports_v1/reports.activities.list/pageToken": page_token +"/admin:reports_v1/reports.activities.list/startTime": start_time +"/admin:reports_v1/reports.activities.list/userKey": user_key +"/admin:reports_v1/reports.activities.watch": watch_activity +"/admin:reports_v1/reports.activities.watch/actorIpAddress": actor_ip_address +"/admin:reports_v1/reports.activities.watch/applicationName": application_name +"/admin:reports_v1/reports.activities.watch/customerId": customer_id +"/admin:reports_v1/reports.activities.watch/endTime": end_time +"/admin:reports_v1/reports.activities.watch/eventName": event_name +"/admin:reports_v1/reports.activities.watch/filters": filters +"/admin:reports_v1/reports.activities.watch/maxResults": max_results +"/admin:reports_v1/reports.activities.watch/pageToken": page_token +"/admin:reports_v1/reports.activities.watch/startTime": start_time +"/admin:reports_v1/reports.activities.watch/userKey": user_key +"/admin:reports_v1/reports.customerUsageReports.get": get_customer_usage_report +"/admin:reports_v1/reports.customerUsageReports.get/customerId": customer_id +"/admin:reports_v1/reports.customerUsageReports.get/date": date +"/admin:reports_v1/reports.customerUsageReports.get/pageToken": page_token +"/admin:reports_v1/reports.customerUsageReports.get/parameters": parameters +"/admin:reports_v1/reports.userUsageReport.get": get_user_usage_report +"/admin:reports_v1/reports.userUsageReport.get/customerId": customer_id +"/admin:reports_v1/reports.userUsageReport.get/date": date +"/admin:reports_v1/reports.userUsageReport.get/filters": filters +"/admin:reports_v1/reports.userUsageReport.get/maxResults": max_results +"/admin:reports_v1/reports.userUsageReport.get/pageToken": page_token +"/admin:reports_v1/reports.userUsageReport.get/parameters": parameters +"/admin:reports_v1/reports.userUsageReport.get/userKey": user_key +"/admin:reports_v1/userIp": user_ip "/adsense:v1.4/Account": account "/adsense:v1.4/Account/creation_time": creation_time "/adsense:v1.4/Account/id": id @@ -8145,6 +2346,7 @@ "/adsense:v1.4/AdUnits/items/item": item "/adsense:v1.4/AdUnits/kind": kind "/adsense:v1.4/AdUnits/nextPageToken": next_page_token +"/adsense:v1.4/AdsenseReportsGenerateResponse": generate_report_response "/adsense:v1.4/AdsenseReportsGenerateResponse/averages": averages "/adsense:v1.4/AdsenseReportsGenerateResponse/averages/average": average "/adsense:v1.4/AdsenseReportsGenerateResponse/endDate": end_date @@ -8248,87 +2450,168 @@ "/adsense:v1.4/UrlChannels/items/item": item "/adsense:v1.4/UrlChannels/kind": kind "/adsense:v1.4/UrlChannels/nextPageToken": next_page_token -"/adsensehost:v4.1/fields": fields -"/adsensehost:v4.1/key": key -"/adsensehost:v4.1/quotaUser": quota_user -"/adsensehost:v4.1/userIp": user_ip -"/adsensehost:v4.1/adsensehost.accounts.get": get_account -"/adsensehost:v4.1/adsensehost.accounts.get/accountId": account_id -"/adsensehost:v4.1/adsensehost.accounts.list": list_accounts -"/adsensehost:v4.1/adsensehost.accounts.list/filterAdClientId": filter_ad_client_id -"/adsensehost:v4.1/adsensehost.accounts.adclients.get/accountId": account_id -"/adsensehost:v4.1/adsensehost.accounts.adclients.get/adClientId": ad_client_id -"/adsensehost:v4.1/adsensehost.accounts.adclients.list/accountId": account_id -"/adsensehost:v4.1/adsensehost.accounts.adclients.list/maxResults": max_results -"/adsensehost:v4.1/adsensehost.accounts.adclients.list/pageToken": page_token -"/adsensehost:v4.1/adsensehost.accounts.adunits.delete/accountId": account_id -"/adsensehost:v4.1/adsensehost.accounts.adunits.delete/adClientId": ad_client_id -"/adsensehost:v4.1/adsensehost.accounts.adunits.delete/adUnitId": ad_unit_id -"/adsensehost:v4.1/adsensehost.accounts.adunits.get/accountId": account_id -"/adsensehost:v4.1/adsensehost.accounts.adunits.get/adClientId": ad_client_id -"/adsensehost:v4.1/adsensehost.accounts.adunits.get/adUnitId": ad_unit_id -"/adsensehost:v4.1/adsensehost.accounts.adunits.getAdCode/accountId": account_id -"/adsensehost:v4.1/adsensehost.accounts.adunits.getAdCode/adClientId": ad_client_id -"/adsensehost:v4.1/adsensehost.accounts.adunits.getAdCode/adUnitId": ad_unit_id -"/adsensehost:v4.1/adsensehost.accounts.adunits.getAdCode/hostCustomChannelId": host_custom_channel_id -"/adsensehost:v4.1/adsensehost.accounts.adunits.insert/accountId": account_id -"/adsensehost:v4.1/adsensehost.accounts.adunits.insert/adClientId": ad_client_id -"/adsensehost:v4.1/adsensehost.accounts.adunits.list/accountId": account_id -"/adsensehost:v4.1/adsensehost.accounts.adunits.list/adClientId": ad_client_id -"/adsensehost:v4.1/adsensehost.accounts.adunits.list/includeInactive": include_inactive -"/adsensehost:v4.1/adsensehost.accounts.adunits.list/maxResults": max_results -"/adsensehost:v4.1/adsensehost.accounts.adunits.list/pageToken": page_token -"/adsensehost:v4.1/adsensehost.accounts.adunits.patch/accountId": account_id -"/adsensehost:v4.1/adsensehost.accounts.adunits.patch/adClientId": ad_client_id -"/adsensehost:v4.1/adsensehost.accounts.adunits.patch/adUnitId": ad_unit_id -"/adsensehost:v4.1/adsensehost.accounts.adunits.update/accountId": account_id -"/adsensehost:v4.1/adsensehost.accounts.adunits.update/adClientId": ad_client_id -"/adsensehost:v4.1/adsensehost.accounts.reports.generate": generate_account_report -"/adsensehost:v4.1/adsensehost.accounts.reports.generate/accountId": account_id -"/adsensehost:v4.1/adsensehost.accounts.reports.generate/dimension": dimension -"/adsensehost:v4.1/adsensehost.accounts.reports.generate/endDate": end_date -"/adsensehost:v4.1/adsensehost.accounts.reports.generate/filter": filter -"/adsensehost:v4.1/adsensehost.accounts.reports.generate/locale": locale -"/adsensehost:v4.1/adsensehost.accounts.reports.generate/maxResults": max_results -"/adsensehost:v4.1/adsensehost.accounts.reports.generate/metric": metric -"/adsensehost:v4.1/adsensehost.accounts.reports.generate/sort": sort -"/adsensehost:v4.1/adsensehost.accounts.reports.generate/startDate": start_date -"/adsensehost:v4.1/adsensehost.accounts.reports.generate/startIndex": start_index -"/adsensehost:v4.1/adsensehost.adclients.get/adClientId": ad_client_id -"/adsensehost:v4.1/adsensehost.adclients.list/maxResults": max_results -"/adsensehost:v4.1/adsensehost.adclients.list/pageToken": page_token -"/adsensehost:v4.1/adsensehost.associationsessions.start/productCode": product_code -"/adsensehost:v4.1/adsensehost.associationsessions.start/userLocale": user_locale -"/adsensehost:v4.1/adsensehost.associationsessions.start/websiteLocale": website_locale -"/adsensehost:v4.1/adsensehost.associationsessions.start/websiteUrl": website_url -"/adsensehost:v4.1/adsensehost.associationsessions.verify/token": token -"/adsensehost:v4.1/adsensehost.customchannels.delete/adClientId": ad_client_id -"/adsensehost:v4.1/adsensehost.customchannels.delete/customChannelId": custom_channel_id -"/adsensehost:v4.1/adsensehost.customchannels.get/adClientId": ad_client_id -"/adsensehost:v4.1/adsensehost.customchannels.get/customChannelId": custom_channel_id -"/adsensehost:v4.1/adsensehost.customchannels.insert/adClientId": ad_client_id -"/adsensehost:v4.1/adsensehost.customchannels.list/adClientId": ad_client_id -"/adsensehost:v4.1/adsensehost.customchannels.list/maxResults": max_results -"/adsensehost:v4.1/adsensehost.customchannels.list/pageToken": page_token -"/adsensehost:v4.1/adsensehost.customchannels.patch/adClientId": ad_client_id -"/adsensehost:v4.1/adsensehost.customchannels.patch/customChannelId": custom_channel_id -"/adsensehost:v4.1/adsensehost.customchannels.update/adClientId": ad_client_id -"/adsensehost:v4.1/adsensehost.reports.generate": generate_report -"/adsensehost:v4.1/adsensehost.reports.generate/dimension": dimension -"/adsensehost:v4.1/adsensehost.reports.generate/endDate": end_date -"/adsensehost:v4.1/adsensehost.reports.generate/filter": filter -"/adsensehost:v4.1/adsensehost.reports.generate/locale": locale -"/adsensehost:v4.1/adsensehost.reports.generate/maxResults": max_results -"/adsensehost:v4.1/adsensehost.reports.generate/metric": metric -"/adsensehost:v4.1/adsensehost.reports.generate/sort": sort -"/adsensehost:v4.1/adsensehost.reports.generate/startDate": start_date -"/adsensehost:v4.1/adsensehost.reports.generate/startIndex": start_index -"/adsensehost:v4.1/adsensehost.urlchannels.delete/adClientId": ad_client_id -"/adsensehost:v4.1/adsensehost.urlchannels.delete/urlChannelId": url_channel_id -"/adsensehost:v4.1/adsensehost.urlchannels.insert/adClientId": ad_client_id -"/adsensehost:v4.1/adsensehost.urlchannels.list/adClientId": ad_client_id -"/adsensehost:v4.1/adsensehost.urlchannels.list/maxResults": max_results -"/adsensehost:v4.1/adsensehost.urlchannels.list/pageToken": page_token +"/adsense:v1.4/adsense.accounts.adclients.list": list_account_ad_clients +"/adsense:v1.4/adsense.accounts.adclients.list/accountId": account_id +"/adsense:v1.4/adsense.accounts.adclients.list/maxResults": max_results +"/adsense:v1.4/adsense.accounts.adclients.list/pageToken": page_token +"/adsense:v1.4/adsense.accounts.adunits.customchannels.list": list_account_ad_unit_custom_channels +"/adsense:v1.4/adsense.accounts.adunits.customchannels.list/accountId": account_id +"/adsense:v1.4/adsense.accounts.adunits.customchannels.list/adClientId": ad_client_id +"/adsense:v1.4/adsense.accounts.adunits.customchannels.list/adUnitId": ad_unit_id +"/adsense:v1.4/adsense.accounts.adunits.customchannels.list/maxResults": max_results +"/adsense:v1.4/adsense.accounts.adunits.customchannels.list/pageToken": page_token +"/adsense:v1.4/adsense.accounts.adunits.get": get_account_ad_unit +"/adsense:v1.4/adsense.accounts.adunits.get/accountId": account_id +"/adsense:v1.4/adsense.accounts.adunits.get/adClientId": ad_client_id +"/adsense:v1.4/adsense.accounts.adunits.get/adUnitId": ad_unit_id +"/adsense:v1.4/adsense.accounts.adunits.getAdCode": get_account_ad_unit_ad_code +"/adsense:v1.4/adsense.accounts.adunits.getAdCode/accountId": account_id +"/adsense:v1.4/adsense.accounts.adunits.getAdCode/adClientId": ad_client_id +"/adsense:v1.4/adsense.accounts.adunits.getAdCode/adUnitId": ad_unit_id +"/adsense:v1.4/adsense.accounts.adunits.list": list_account_ad_units +"/adsense:v1.4/adsense.accounts.adunits.list/accountId": account_id +"/adsense:v1.4/adsense.accounts.adunits.list/adClientId": ad_client_id +"/adsense:v1.4/adsense.accounts.adunits.list/includeInactive": include_inactive +"/adsense:v1.4/adsense.accounts.adunits.list/maxResults": max_results +"/adsense:v1.4/adsense.accounts.adunits.list/pageToken": page_token +"/adsense:v1.4/adsense.accounts.alerts.delete": delete_account_alert +"/adsense:v1.4/adsense.accounts.alerts.delete/accountId": account_id +"/adsense:v1.4/adsense.accounts.alerts.delete/alertId": alert_id +"/adsense:v1.4/adsense.accounts.alerts.list": list_account_alerts +"/adsense:v1.4/adsense.accounts.alerts.list/accountId": account_id +"/adsense:v1.4/adsense.accounts.alerts.list/locale": locale +"/adsense:v1.4/adsense.accounts.customchannels.adunits.list": list_account_custom_channel_ad_units +"/adsense:v1.4/adsense.accounts.customchannels.adunits.list/accountId": account_id +"/adsense:v1.4/adsense.accounts.customchannels.adunits.list/adClientId": ad_client_id +"/adsense:v1.4/adsense.accounts.customchannels.adunits.list/customChannelId": custom_channel_id +"/adsense:v1.4/adsense.accounts.customchannels.adunits.list/includeInactive": include_inactive +"/adsense:v1.4/adsense.accounts.customchannels.adunits.list/maxResults": max_results +"/adsense:v1.4/adsense.accounts.customchannels.adunits.list/pageToken": page_token +"/adsense:v1.4/adsense.accounts.customchannels.get": get_account_custom_channel +"/adsense:v1.4/adsense.accounts.customchannels.get/accountId": account_id +"/adsense:v1.4/adsense.accounts.customchannels.get/adClientId": ad_client_id +"/adsense:v1.4/adsense.accounts.customchannels.get/customChannelId": custom_channel_id +"/adsense:v1.4/adsense.accounts.customchannels.list": list_account_custom_channels +"/adsense:v1.4/adsense.accounts.customchannels.list/accountId": account_id +"/adsense:v1.4/adsense.accounts.customchannels.list/adClientId": ad_client_id +"/adsense:v1.4/adsense.accounts.customchannels.list/maxResults": max_results +"/adsense:v1.4/adsense.accounts.customchannels.list/pageToken": page_token +"/adsense:v1.4/adsense.accounts.get": get_account +"/adsense:v1.4/adsense.accounts.get/accountId": account_id +"/adsense:v1.4/adsense.accounts.get/tree": tree +"/adsense:v1.4/adsense.accounts.list": list_accounts +"/adsense:v1.4/adsense.accounts.list/maxResults": max_results +"/adsense:v1.4/adsense.accounts.list/pageToken": page_token +"/adsense:v1.4/adsense.accounts.payments.list": list_account_payments +"/adsense:v1.4/adsense.accounts.payments.list/accountId": account_id +"/adsense:v1.4/adsense.accounts.reports.generate": generate_account_report +"/adsense:v1.4/adsense.accounts.reports.generate/accountId": account_id +"/adsense:v1.4/adsense.accounts.reports.generate/currency": currency +"/adsense:v1.4/adsense.accounts.reports.generate/dimension": dimension +"/adsense:v1.4/adsense.accounts.reports.generate/endDate": end_date +"/adsense:v1.4/adsense.accounts.reports.generate/filter": filter +"/adsense:v1.4/adsense.accounts.reports.generate/locale": locale +"/adsense:v1.4/adsense.accounts.reports.generate/maxResults": max_results +"/adsense:v1.4/adsense.accounts.reports.generate/metric": metric +"/adsense:v1.4/adsense.accounts.reports.generate/sort": sort +"/adsense:v1.4/adsense.accounts.reports.generate/startDate": start_date +"/adsense:v1.4/adsense.accounts.reports.generate/startIndex": start_index +"/adsense:v1.4/adsense.accounts.reports.generate/useTimezoneReporting": use_timezone_reporting +"/adsense:v1.4/adsense.accounts.reports.saved.generate": generate_account_saved_report +"/adsense:v1.4/adsense.accounts.reports.saved.generate/accountId": account_id +"/adsense:v1.4/adsense.accounts.reports.saved.generate/locale": locale +"/adsense:v1.4/adsense.accounts.reports.saved.generate/maxResults": max_results +"/adsense:v1.4/adsense.accounts.reports.saved.generate/savedReportId": saved_report_id +"/adsense:v1.4/adsense.accounts.reports.saved.generate/startIndex": start_index +"/adsense:v1.4/adsense.accounts.reports.saved.list": list_account_saved_reports +"/adsense:v1.4/adsense.accounts.reports.saved.list/accountId": account_id +"/adsense:v1.4/adsense.accounts.reports.saved.list/maxResults": max_results +"/adsense:v1.4/adsense.accounts.reports.saved.list/pageToken": page_token +"/adsense:v1.4/adsense.accounts.savedadstyles.get": get_account_saved_ad_style +"/adsense:v1.4/adsense.accounts.savedadstyles.get/accountId": account_id +"/adsense:v1.4/adsense.accounts.savedadstyles.get/savedAdStyleId": saved_ad_style_id +"/adsense:v1.4/adsense.accounts.savedadstyles.list": list_account_saved_ad_styles +"/adsense:v1.4/adsense.accounts.savedadstyles.list/accountId": account_id +"/adsense:v1.4/adsense.accounts.savedadstyles.list/maxResults": max_results +"/adsense:v1.4/adsense.accounts.savedadstyles.list/pageToken": page_token +"/adsense:v1.4/adsense.accounts.urlchannels.list": list_account_url_channels +"/adsense:v1.4/adsense.accounts.urlchannels.list/accountId": account_id +"/adsense:v1.4/adsense.accounts.urlchannels.list/adClientId": ad_client_id +"/adsense:v1.4/adsense.accounts.urlchannels.list/maxResults": max_results +"/adsense:v1.4/adsense.accounts.urlchannels.list/pageToken": page_token +"/adsense:v1.4/adsense.adclients.list": list_ad_clients +"/adsense:v1.4/adsense.adclients.list/maxResults": max_results +"/adsense:v1.4/adsense.adclients.list/pageToken": page_token +"/adsense:v1.4/adsense.adunits.customchannels.list": list_ad_unit_custom_channels +"/adsense:v1.4/adsense.adunits.customchannels.list/adClientId": ad_client_id +"/adsense:v1.4/adsense.adunits.customchannels.list/adUnitId": ad_unit_id +"/adsense:v1.4/adsense.adunits.customchannels.list/maxResults": max_results +"/adsense:v1.4/adsense.adunits.customchannels.list/pageToken": page_token +"/adsense:v1.4/adsense.adunits.get": get_ad_unit +"/adsense:v1.4/adsense.adunits.get/adClientId": ad_client_id +"/adsense:v1.4/adsense.adunits.get/adUnitId": ad_unit_id +"/adsense:v1.4/adsense.adunits.getAdCode": get_ad_code_ad_unit +"/adsense:v1.4/adsense.adunits.getAdCode/adClientId": ad_client_id +"/adsense:v1.4/adsense.adunits.getAdCode/adUnitId": ad_unit_id +"/adsense:v1.4/adsense.adunits.list": list_ad_units +"/adsense:v1.4/adsense.adunits.list/adClientId": ad_client_id +"/adsense:v1.4/adsense.adunits.list/includeInactive": include_inactive +"/adsense:v1.4/adsense.adunits.list/maxResults": max_results +"/adsense:v1.4/adsense.adunits.list/pageToken": page_token +"/adsense:v1.4/adsense.alerts.delete": delete_alert +"/adsense:v1.4/adsense.alerts.delete/alertId": alert_id +"/adsense:v1.4/adsense.alerts.list": list_alerts +"/adsense:v1.4/adsense.alerts.list/locale": locale +"/adsense:v1.4/adsense.customchannels.adunits.list": list_custom_channel_ad_units +"/adsense:v1.4/adsense.customchannels.adunits.list/adClientId": ad_client_id +"/adsense:v1.4/adsense.customchannels.adunits.list/customChannelId": custom_channel_id +"/adsense:v1.4/adsense.customchannels.adunits.list/includeInactive": include_inactive +"/adsense:v1.4/adsense.customchannels.adunits.list/maxResults": max_results +"/adsense:v1.4/adsense.customchannels.adunits.list/pageToken": page_token +"/adsense:v1.4/adsense.customchannels.get": get_custom_channel +"/adsense:v1.4/adsense.customchannels.get/adClientId": ad_client_id +"/adsense:v1.4/adsense.customchannels.get/customChannelId": custom_channel_id +"/adsense:v1.4/adsense.customchannels.list": list_custom_channels +"/adsense:v1.4/adsense.customchannels.list/adClientId": ad_client_id +"/adsense:v1.4/adsense.customchannels.list/maxResults": max_results +"/adsense:v1.4/adsense.customchannels.list/pageToken": page_token +"/adsense:v1.4/adsense.metadata.dimensions.list": list_metadata_dimensions +"/adsense:v1.4/adsense.metadata.metrics.list": list_metadata_metrics +"/adsense:v1.4/adsense.payments.list": list_payments +"/adsense:v1.4/adsense.reports.generate": generate_report +"/adsense:v1.4/adsense.reports.generate/accountId": account_id +"/adsense:v1.4/adsense.reports.generate/currency": currency +"/adsense:v1.4/adsense.reports.generate/dimension": dimension +"/adsense:v1.4/adsense.reports.generate/endDate": end_date +"/adsense:v1.4/adsense.reports.generate/filter": filter +"/adsense:v1.4/adsense.reports.generate/locale": locale +"/adsense:v1.4/adsense.reports.generate/maxResults": max_results +"/adsense:v1.4/adsense.reports.generate/metric": metric +"/adsense:v1.4/adsense.reports.generate/sort": sort +"/adsense:v1.4/adsense.reports.generate/startDate": start_date +"/adsense:v1.4/adsense.reports.generate/startIndex": start_index +"/adsense:v1.4/adsense.reports.generate/useTimezoneReporting": use_timezone_reporting +"/adsense:v1.4/adsense.reports.saved.generate": generate_saved_report +"/adsense:v1.4/adsense.reports.saved.generate/locale": locale +"/adsense:v1.4/adsense.reports.saved.generate/maxResults": max_results +"/adsense:v1.4/adsense.reports.saved.generate/savedReportId": saved_report_id +"/adsense:v1.4/adsense.reports.saved.generate/startIndex": start_index +"/adsense:v1.4/adsense.reports.saved.list": list_saved_reports +"/adsense:v1.4/adsense.reports.saved.list/maxResults": max_results +"/adsense:v1.4/adsense.reports.saved.list/pageToken": page_token +"/adsense:v1.4/adsense.savedadstyles.get": get_saved_ad_style +"/adsense:v1.4/adsense.savedadstyles.get/savedAdStyleId": saved_ad_style_id +"/adsense:v1.4/adsense.savedadstyles.list": list_saved_ad_styles +"/adsense:v1.4/adsense.savedadstyles.list/maxResults": max_results +"/adsense:v1.4/adsense.savedadstyles.list/pageToken": page_token +"/adsense:v1.4/adsense.urlchannels.list": list_url_channels +"/adsense:v1.4/adsense.urlchannels.list/adClientId": ad_client_id +"/adsense:v1.4/adsense.urlchannels.list/maxResults": max_results +"/adsense:v1.4/adsense.urlchannels.list/pageToken": page_token +"/adsense:v1.4/fields": fields +"/adsense:v1.4/key": key +"/adsense:v1.4/quotaUser": quota_user +"/adsense:v1.4/userIp": user_ip "/adsensehost:v4.1/Account": account "/adsensehost:v4.1/Account/id": id "/adsensehost:v4.1/Account/kind": kind @@ -8440,302 +2723,109 @@ "/adsensehost:v4.1/UrlChannels/items/item": item "/adsensehost:v4.1/UrlChannels/kind": kind "/adsensehost:v4.1/UrlChannels/nextPageToken": next_page_token -"/analytics:v3/fields": fields -"/analytics:v3/key": key -"/analytics:v3/quotaUser": quota_user -"/analytics:v3/userIp": user_ip -"/analytics:v3/analytics.data.ga.get/dimensions": dimensions -"/analytics:v3/analytics.data.ga.get/end-date": end_date -"/analytics:v3/analytics.data.ga.get/filters": filters -"/analytics:v3/analytics.data.ga.get/ids": ids -"/analytics:v3/analytics.data.ga.get/include-empty-rows": include_empty_rows -"/analytics:v3/analytics.data.ga.get/max-results": max_results -"/analytics:v3/analytics.data.ga.get/metrics": metrics -"/analytics:v3/analytics.data.ga.get/output": output -"/analytics:v3/analytics.data.ga.get/samplingLevel": sampling_level -"/analytics:v3/analytics.data.ga.get/segment": segment -"/analytics:v3/analytics.data.ga.get/sort": sort -"/analytics:v3/analytics.data.ga.get/start-date": start_date -"/analytics:v3/analytics.data.ga.get/start-index": start_index -"/analytics:v3/analytics.data.mcf.get/dimensions": dimensions -"/analytics:v3/analytics.data.mcf.get/end-date": end_date -"/analytics:v3/analytics.data.mcf.get/filters": filters -"/analytics:v3/analytics.data.mcf.get/ids": ids -"/analytics:v3/analytics.data.mcf.get/max-results": max_results -"/analytics:v3/analytics.data.mcf.get/metrics": metrics -"/analytics:v3/analytics.data.mcf.get/samplingLevel": sampling_level -"/analytics:v3/analytics.data.mcf.get/sort": sort -"/analytics:v3/analytics.data.mcf.get/start-date": start_date -"/analytics:v3/analytics.data.mcf.get/start-index": start_index -"/analytics:v3/analytics.data.realtime.get/dimensions": dimensions -"/analytics:v3/analytics.data.realtime.get/filters": filters -"/analytics:v3/analytics.data.realtime.get/ids": ids -"/analytics:v3/analytics.data.realtime.get/max-results": max_results -"/analytics:v3/analytics.data.realtime.get/metrics": metrics -"/analytics:v3/analytics.data.realtime.get/sort": sort -"/analytics:v3/analytics.management.accountSummaries.list/max-results": max_results -"/analytics:v3/analytics.management.accountSummaries.list/start-index": start_index -"/analytics:v3/analytics.management.accountUserLinks.delete/accountId": account_id -"/analytics:v3/analytics.management.accountUserLinks.delete/linkId": link_id -"/analytics:v3/analytics.management.accountUserLinks.insert/accountId": account_id -"/analytics:v3/analytics.management.accountUserLinks.list/accountId": account_id -"/analytics:v3/analytics.management.accountUserLinks.list/max-results": max_results -"/analytics:v3/analytics.management.accountUserLinks.list/start-index": start_index -"/analytics:v3/analytics.management.accountUserLinks.update/accountId": account_id -"/analytics:v3/analytics.management.accountUserLinks.update/linkId": link_id -"/analytics:v3/analytics.management.accounts.list/max-results": max_results -"/analytics:v3/analytics.management.accounts.list/start-index": start_index -"/analytics:v3/analytics.management.customDataSources.list/accountId": account_id -"/analytics:v3/analytics.management.customDataSources.list/max-results": max_results -"/analytics:v3/analytics.management.customDataSources.list/start-index": start_index -"/analytics:v3/analytics.management.customDataSources.list/webPropertyId": web_property_id -"/analytics:v3/analytics.management.customDimensions.get/accountId": account_id -"/analytics:v3/analytics.management.customDimensions.get/customDimensionId": custom_dimension_id -"/analytics:v3/analytics.management.customDimensions.get/webPropertyId": web_property_id -"/analytics:v3/analytics.management.customDimensions.insert/accountId": account_id -"/analytics:v3/analytics.management.customDimensions.insert/webPropertyId": web_property_id -"/analytics:v3/analytics.management.customDimensions.list/accountId": account_id -"/analytics:v3/analytics.management.customDimensions.list/max-results": max_results -"/analytics:v3/analytics.management.customDimensions.list/start-index": start_index -"/analytics:v3/analytics.management.customDimensions.list/webPropertyId": web_property_id -"/analytics:v3/analytics.management.customDimensions.patch/accountId": account_id -"/analytics:v3/analytics.management.customDimensions.patch/customDimensionId": custom_dimension_id -"/analytics:v3/analytics.management.customDimensions.patch/ignoreCustomDataSourceLinks": ignore_custom_data_source_links -"/analytics:v3/analytics.management.customDimensions.patch/webPropertyId": web_property_id -"/analytics:v3/analytics.management.customDimensions.update/accountId": account_id -"/analytics:v3/analytics.management.customDimensions.update/customDimensionId": custom_dimension_id -"/analytics:v3/analytics.management.customDimensions.update/ignoreCustomDataSourceLinks": ignore_custom_data_source_links -"/analytics:v3/analytics.management.customDimensions.update/webPropertyId": web_property_id -"/analytics:v3/analytics.management.customMetrics.get/accountId": account_id -"/analytics:v3/analytics.management.customMetrics.get/customMetricId": custom_metric_id -"/analytics:v3/analytics.management.customMetrics.get/webPropertyId": web_property_id -"/analytics:v3/analytics.management.customMetrics.insert/accountId": account_id -"/analytics:v3/analytics.management.customMetrics.insert/webPropertyId": web_property_id -"/analytics:v3/analytics.management.customMetrics.list/accountId": account_id -"/analytics:v3/analytics.management.customMetrics.list/max-results": max_results -"/analytics:v3/analytics.management.customMetrics.list/start-index": start_index -"/analytics:v3/analytics.management.customMetrics.list/webPropertyId": web_property_id -"/analytics:v3/analytics.management.customMetrics.patch/accountId": account_id -"/analytics:v3/analytics.management.customMetrics.patch/customMetricId": custom_metric_id -"/analytics:v3/analytics.management.customMetrics.patch/ignoreCustomDataSourceLinks": ignore_custom_data_source_links -"/analytics:v3/analytics.management.customMetrics.patch/webPropertyId": web_property_id -"/analytics:v3/analytics.management.customMetrics.update/accountId": account_id -"/analytics:v3/analytics.management.customMetrics.update/customMetricId": custom_metric_id -"/analytics:v3/analytics.management.customMetrics.update/ignoreCustomDataSourceLinks": ignore_custom_data_source_links -"/analytics:v3/analytics.management.customMetrics.update/webPropertyId": web_property_id -"/analytics:v3/analytics.management.experiments.delete/accountId": account_id -"/analytics:v3/analytics.management.experiments.delete/experimentId": experiment_id -"/analytics:v3/analytics.management.experiments.delete/profileId": profile_id -"/analytics:v3/analytics.management.experiments.delete/webPropertyId": web_property_id -"/analytics:v3/analytics.management.experiments.get/accountId": account_id -"/analytics:v3/analytics.management.experiments.get/experimentId": experiment_id -"/analytics:v3/analytics.management.experiments.get/profileId": profile_id -"/analytics:v3/analytics.management.experiments.get/webPropertyId": web_property_id -"/analytics:v3/analytics.management.experiments.insert/accountId": account_id -"/analytics:v3/analytics.management.experiments.insert/profileId": profile_id -"/analytics:v3/analytics.management.experiments.insert/webPropertyId": web_property_id -"/analytics:v3/analytics.management.experiments.list/accountId": account_id -"/analytics:v3/analytics.management.experiments.list/max-results": max_results -"/analytics:v3/analytics.management.experiments.list/profileId": profile_id -"/analytics:v3/analytics.management.experiments.list/start-index": start_index -"/analytics:v3/analytics.management.experiments.list/webPropertyId": web_property_id -"/analytics:v3/analytics.management.experiments.patch/accountId": account_id -"/analytics:v3/analytics.management.experiments.patch/experimentId": experiment_id -"/analytics:v3/analytics.management.experiments.patch/profileId": profile_id -"/analytics:v3/analytics.management.experiments.patch/webPropertyId": web_property_id -"/analytics:v3/analytics.management.experiments.update/accountId": account_id -"/analytics:v3/analytics.management.experiments.update/experimentId": experiment_id -"/analytics:v3/analytics.management.experiments.update/profileId": profile_id -"/analytics:v3/analytics.management.experiments.update/webPropertyId": web_property_id -"/analytics:v3/analytics.management.filters.delete/accountId": account_id -"/analytics:v3/analytics.management.filters.delete/filterId": filter_id -"/analytics:v3/analytics.management.filters.get/accountId": account_id -"/analytics:v3/analytics.management.filters.get/filterId": filter_id -"/analytics:v3/analytics.management.filters.insert/accountId": account_id -"/analytics:v3/analytics.management.filters.list/accountId": account_id -"/analytics:v3/analytics.management.filters.list/max-results": max_results -"/analytics:v3/analytics.management.filters.list/start-index": start_index -"/analytics:v3/analytics.management.filters.patch/accountId": account_id -"/analytics:v3/analytics.management.filters.patch/filterId": filter_id -"/analytics:v3/analytics.management.filters.update/accountId": account_id -"/analytics:v3/analytics.management.filters.update/filterId": filter_id -"/analytics:v3/analytics.management.goals.get/accountId": account_id -"/analytics:v3/analytics.management.goals.get/goalId": goal_id -"/analytics:v3/analytics.management.goals.get/profileId": profile_id -"/analytics:v3/analytics.management.goals.get/webPropertyId": web_property_id -"/analytics:v3/analytics.management.goals.insert/accountId": account_id -"/analytics:v3/analytics.management.goals.insert/profileId": profile_id -"/analytics:v3/analytics.management.goals.insert/webPropertyId": web_property_id -"/analytics:v3/analytics.management.goals.list/accountId": account_id -"/analytics:v3/analytics.management.goals.list/max-results": max_results -"/analytics:v3/analytics.management.goals.list/profileId": profile_id -"/analytics:v3/analytics.management.goals.list/start-index": start_index -"/analytics:v3/analytics.management.goals.list/webPropertyId": web_property_id -"/analytics:v3/analytics.management.goals.patch/accountId": account_id -"/analytics:v3/analytics.management.goals.patch/goalId": goal_id -"/analytics:v3/analytics.management.goals.patch/profileId": profile_id -"/analytics:v3/analytics.management.goals.patch/webPropertyId": web_property_id -"/analytics:v3/analytics.management.goals.update/accountId": account_id -"/analytics:v3/analytics.management.goals.update/goalId": goal_id -"/analytics:v3/analytics.management.goals.update/profileId": profile_id -"/analytics:v3/analytics.management.goals.update/webPropertyId": web_property_id -"/analytics:v3/analytics.management.profileFilterLinks.delete/accountId": account_id -"/analytics:v3/analytics.management.profileFilterLinks.delete/linkId": link_id -"/analytics:v3/analytics.management.profileFilterLinks.delete/profileId": profile_id -"/analytics:v3/analytics.management.profileFilterLinks.delete/webPropertyId": web_property_id -"/analytics:v3/analytics.management.profileFilterLinks.get/accountId": account_id -"/analytics:v3/analytics.management.profileFilterLinks.get/linkId": link_id -"/analytics:v3/analytics.management.profileFilterLinks.get/profileId": profile_id -"/analytics:v3/analytics.management.profileFilterLinks.get/webPropertyId": web_property_id -"/analytics:v3/analytics.management.profileFilterLinks.insert/accountId": account_id -"/analytics:v3/analytics.management.profileFilterLinks.insert/profileId": profile_id -"/analytics:v3/analytics.management.profileFilterLinks.insert/webPropertyId": web_property_id -"/analytics:v3/analytics.management.profileFilterLinks.list/accountId": account_id -"/analytics:v3/analytics.management.profileFilterLinks.list/max-results": max_results -"/analytics:v3/analytics.management.profileFilterLinks.list/profileId": profile_id -"/analytics:v3/analytics.management.profileFilterLinks.list/start-index": start_index -"/analytics:v3/analytics.management.profileFilterLinks.list/webPropertyId": web_property_id -"/analytics:v3/analytics.management.profileFilterLinks.patch/accountId": account_id -"/analytics:v3/analytics.management.profileFilterLinks.patch/linkId": link_id -"/analytics:v3/analytics.management.profileFilterLinks.patch/profileId": profile_id -"/analytics:v3/analytics.management.profileFilterLinks.patch/webPropertyId": web_property_id -"/analytics:v3/analytics.management.profileFilterLinks.update/accountId": account_id -"/analytics:v3/analytics.management.profileFilterLinks.update/linkId": link_id -"/analytics:v3/analytics.management.profileFilterLinks.update/profileId": profile_id -"/analytics:v3/analytics.management.profileFilterLinks.update/webPropertyId": web_property_id -"/analytics:v3/analytics.management.profileUserLinks.delete/accountId": account_id -"/analytics:v3/analytics.management.profileUserLinks.delete/linkId": link_id -"/analytics:v3/analytics.management.profileUserLinks.delete/profileId": profile_id -"/analytics:v3/analytics.management.profileUserLinks.delete/webPropertyId": web_property_id -"/analytics:v3/analytics.management.profileUserLinks.insert/accountId": account_id -"/analytics:v3/analytics.management.profileUserLinks.insert/profileId": profile_id -"/analytics:v3/analytics.management.profileUserLinks.insert/webPropertyId": web_property_id -"/analytics:v3/analytics.management.profileUserLinks.list/accountId": account_id -"/analytics:v3/analytics.management.profileUserLinks.list/max-results": max_results -"/analytics:v3/analytics.management.profileUserLinks.list/profileId": profile_id -"/analytics:v3/analytics.management.profileUserLinks.list/start-index": start_index -"/analytics:v3/analytics.management.profileUserLinks.list/webPropertyId": web_property_id -"/analytics:v3/analytics.management.profileUserLinks.update/accountId": account_id -"/analytics:v3/analytics.management.profileUserLinks.update/linkId": link_id -"/analytics:v3/analytics.management.profileUserLinks.update/profileId": profile_id -"/analytics:v3/analytics.management.profileUserLinks.update/webPropertyId": web_property_id -"/analytics:v3/analytics.management.profiles.delete/accountId": account_id -"/analytics:v3/analytics.management.profiles.delete/profileId": profile_id -"/analytics:v3/analytics.management.profiles.delete/webPropertyId": web_property_id -"/analytics:v3/analytics.management.profiles.get/accountId": account_id -"/analytics:v3/analytics.management.profiles.get/profileId": profile_id -"/analytics:v3/analytics.management.profiles.get/webPropertyId": web_property_id -"/analytics:v3/analytics.management.profiles.insert/accountId": account_id -"/analytics:v3/analytics.management.profiles.insert/webPropertyId": web_property_id -"/analytics:v3/analytics.management.profiles.list/accountId": account_id -"/analytics:v3/analytics.management.profiles.list/max-results": max_results -"/analytics:v3/analytics.management.profiles.list/start-index": start_index -"/analytics:v3/analytics.management.profiles.list/webPropertyId": web_property_id -"/analytics:v3/analytics.management.profiles.patch/accountId": account_id -"/analytics:v3/analytics.management.profiles.patch/profileId": profile_id -"/analytics:v3/analytics.management.profiles.patch/webPropertyId": web_property_id -"/analytics:v3/analytics.management.profiles.update/accountId": account_id -"/analytics:v3/analytics.management.profiles.update/profileId": profile_id -"/analytics:v3/analytics.management.profiles.update/webPropertyId": web_property_id -"/analytics:v3/analytics.management.remarketingAudience.delete": delete_management_remarketing_audience -"/analytics:v3/analytics.management.remarketingAudience.delete/accountId": account_id -"/analytics:v3/analytics.management.remarketingAudience.delete/remarketingAudienceId": remarketing_audience_id -"/analytics:v3/analytics.management.remarketingAudience.delete/webPropertyId": web_property_id -"/analytics:v3/analytics.management.remarketingAudience.get": get_management_remarketing_audience -"/analytics:v3/analytics.management.remarketingAudience.get/accountId": account_id -"/analytics:v3/analytics.management.remarketingAudience.get/remarketingAudienceId": remarketing_audience_id -"/analytics:v3/analytics.management.remarketingAudience.get/webPropertyId": web_property_id -"/analytics:v3/analytics.management.remarketingAudience.insert": insert_management_remarketing_audience -"/analytics:v3/analytics.management.remarketingAudience.insert/accountId": account_id -"/analytics:v3/analytics.management.remarketingAudience.insert/webPropertyId": web_property_id -"/analytics:v3/analytics.management.remarketingAudience.list": list_management_remarketing_audiences -"/analytics:v3/analytics.management.remarketingAudience.list/accountId": account_id -"/analytics:v3/analytics.management.remarketingAudience.list/max-results": max_results -"/analytics:v3/analytics.management.remarketingAudience.list/start-index": start_index -"/analytics:v3/analytics.management.remarketingAudience.list/type": type -"/analytics:v3/analytics.management.remarketingAudience.list/webPropertyId": web_property_id -"/analytics:v3/analytics.management.remarketingAudience.patch": patch_management_remarketing_audience -"/analytics:v3/analytics.management.remarketingAudience.patch/accountId": account_id -"/analytics:v3/analytics.management.remarketingAudience.patch/remarketingAudienceId": remarketing_audience_id -"/analytics:v3/analytics.management.remarketingAudience.patch/webPropertyId": web_property_id -"/analytics:v3/analytics.management.remarketingAudience.update": update_management_remarketing_audience -"/analytics:v3/analytics.management.remarketingAudience.update/accountId": account_id -"/analytics:v3/analytics.management.remarketingAudience.update/remarketingAudienceId": remarketing_audience_id -"/analytics:v3/analytics.management.remarketingAudience.update/webPropertyId": web_property_id -"/analytics:v3/analytics.management.segments.list/max-results": max_results -"/analytics:v3/analytics.management.segments.list/start-index": start_index -"/analytics:v3/analytics.management.unsampledReports.delete/accountId": account_id -"/analytics:v3/analytics.management.unsampledReports.delete/profileId": profile_id -"/analytics:v3/analytics.management.unsampledReports.delete/unsampledReportId": unsampled_report_id -"/analytics:v3/analytics.management.unsampledReports.delete/webPropertyId": web_property_id -"/analytics:v3/analytics.management.unsampledReports.get/accountId": account_id -"/analytics:v3/analytics.management.unsampledReports.get/profileId": profile_id -"/analytics:v3/analytics.management.unsampledReports.get/unsampledReportId": unsampled_report_id -"/analytics:v3/analytics.management.unsampledReports.get/webPropertyId": web_property_id -"/analytics:v3/analytics.management.unsampledReports.insert/accountId": account_id -"/analytics:v3/analytics.management.unsampledReports.insert/profileId": profile_id -"/analytics:v3/analytics.management.unsampledReports.insert/webPropertyId": web_property_id -"/analytics:v3/analytics.management.unsampledReports.list/accountId": account_id -"/analytics:v3/analytics.management.unsampledReports.list/max-results": max_results -"/analytics:v3/analytics.management.unsampledReports.list/profileId": profile_id -"/analytics:v3/analytics.management.unsampledReports.list/start-index": start_index -"/analytics:v3/analytics.management.unsampledReports.list/webPropertyId": web_property_id -"/analytics:v3/analytics.management.uploads.deleteUploadData/accountId": account_id -"/analytics:v3/analytics.management.uploads.deleteUploadData/customDataSourceId": custom_data_source_id -"/analytics:v3/analytics.management.uploads.deleteUploadData/webPropertyId": web_property_id -"/analytics:v3/analytics.management.uploads.get/accountId": account_id -"/analytics:v3/analytics.management.uploads.get/customDataSourceId": custom_data_source_id -"/analytics:v3/analytics.management.uploads.get/uploadId": upload_id -"/analytics:v3/analytics.management.uploads.get/webPropertyId": web_property_id -"/analytics:v3/analytics.management.uploads.list/accountId": account_id -"/analytics:v3/analytics.management.uploads.list/customDataSourceId": custom_data_source_id -"/analytics:v3/analytics.management.uploads.list/max-results": max_results -"/analytics:v3/analytics.management.uploads.list/start-index": start_index -"/analytics:v3/analytics.management.uploads.list/webPropertyId": web_property_id -"/analytics:v3/analytics.management.uploads.uploadData/accountId": account_id -"/analytics:v3/analytics.management.uploads.uploadData/customDataSourceId": custom_data_source_id -"/analytics:v3/analytics.management.uploads.uploadData/webPropertyId": web_property_id -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.delete/accountId": account_id -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.delete/webPropertyAdWordsLinkId": web_property_ad_words_link_id -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.delete/webPropertyId": web_property_id -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.get/accountId": account_id -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.get/webPropertyAdWordsLinkId": web_property_ad_words_link_id -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.get/webPropertyId": web_property_id -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.insert/accountId": account_id -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.insert/webPropertyId": web_property_id -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.list/accountId": account_id -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.list/max-results": max_results -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.list/start-index": start_index -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.list/webPropertyId": web_property_id -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.patch/accountId": account_id -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.patch/webPropertyAdWordsLinkId": web_property_ad_words_link_id -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.patch/webPropertyId": web_property_id -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.update/accountId": account_id -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.update/webPropertyAdWordsLinkId": web_property_ad_words_link_id -"/analytics:v3/analytics.management.webPropertyAdWordsLinks.update/webPropertyId": web_property_id -"/analytics:v3/analytics.management.webproperties.get/accountId": account_id -"/analytics:v3/analytics.management.webproperties.get/webPropertyId": web_property_id -"/analytics:v3/analytics.management.webproperties.insert/accountId": account_id -"/analytics:v3/analytics.management.webproperties.list/accountId": account_id -"/analytics:v3/analytics.management.webproperties.list/max-results": max_results -"/analytics:v3/analytics.management.webproperties.list/start-index": start_index -"/analytics:v3/analytics.management.webproperties.patch/accountId": account_id -"/analytics:v3/analytics.management.webproperties.patch/webPropertyId": web_property_id -"/analytics:v3/analytics.management.webproperties.update/accountId": account_id -"/analytics:v3/analytics.management.webproperties.update/webPropertyId": web_property_id -"/analytics:v3/analytics.management.webpropertyUserLinks.delete/accountId": account_id -"/analytics:v3/analytics.management.webpropertyUserLinks.delete/linkId": link_id -"/analytics:v3/analytics.management.webpropertyUserLinks.delete/webPropertyId": web_property_id -"/analytics:v3/analytics.management.webpropertyUserLinks.insert/accountId": account_id -"/analytics:v3/analytics.management.webpropertyUserLinks.insert/webPropertyId": web_property_id -"/analytics:v3/analytics.management.webpropertyUserLinks.list/accountId": account_id -"/analytics:v3/analytics.management.webpropertyUserLinks.list/max-results": max_results -"/analytics:v3/analytics.management.webpropertyUserLinks.list/start-index": start_index -"/analytics:v3/analytics.management.webpropertyUserLinks.list/webPropertyId": web_property_id -"/analytics:v3/analytics.management.webpropertyUserLinks.update/accountId": account_id -"/analytics:v3/analytics.management.webpropertyUserLinks.update/linkId": link_id -"/analytics:v3/analytics.management.webpropertyUserLinks.update/webPropertyId": web_property_id -"/analytics:v3/analytics.metadata.columns.list/reportType": report_type +"/adsensehost:v4.1/adsensehost.accounts.adclients.get": get_account_ad_client +"/adsensehost:v4.1/adsensehost.accounts.adclients.get/accountId": account_id +"/adsensehost:v4.1/adsensehost.accounts.adclients.get/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.accounts.adclients.list": list_account_ad_clients +"/adsensehost:v4.1/adsensehost.accounts.adclients.list/accountId": account_id +"/adsensehost:v4.1/adsensehost.accounts.adclients.list/maxResults": max_results +"/adsensehost:v4.1/adsensehost.accounts.adclients.list/pageToken": page_token +"/adsensehost:v4.1/adsensehost.accounts.adunits.delete": delete_account_ad_unit +"/adsensehost:v4.1/adsensehost.accounts.adunits.delete/accountId": account_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.delete/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.delete/adUnitId": ad_unit_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.get": get_account_ad_unit +"/adsensehost:v4.1/adsensehost.accounts.adunits.get/accountId": account_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.get/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.get/adUnitId": ad_unit_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.getAdCode": get_account_ad_unit_ad_code +"/adsensehost:v4.1/adsensehost.accounts.adunits.getAdCode/accountId": account_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.getAdCode/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.getAdCode/adUnitId": ad_unit_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.getAdCode/hostCustomChannelId": host_custom_channel_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.insert": insert_account_ad_unit +"/adsensehost:v4.1/adsensehost.accounts.adunits.insert/accountId": account_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.insert/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.list": list_account_ad_units +"/adsensehost:v4.1/adsensehost.accounts.adunits.list/accountId": account_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.list/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.list/includeInactive": include_inactive +"/adsensehost:v4.1/adsensehost.accounts.adunits.list/maxResults": max_results +"/adsensehost:v4.1/adsensehost.accounts.adunits.list/pageToken": page_token +"/adsensehost:v4.1/adsensehost.accounts.adunits.patch": patch_account_ad_unit +"/adsensehost:v4.1/adsensehost.accounts.adunits.patch/accountId": account_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.patch/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.patch/adUnitId": ad_unit_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.update": update_account_ad_unit +"/adsensehost:v4.1/adsensehost.accounts.adunits.update/accountId": account_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.update/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.accounts.get": get_account +"/adsensehost:v4.1/adsensehost.accounts.get/accountId": account_id +"/adsensehost:v4.1/adsensehost.accounts.list": list_accounts +"/adsensehost:v4.1/adsensehost.accounts.list/filterAdClientId": filter_ad_client_id +"/adsensehost:v4.1/adsensehost.accounts.reports.generate": generate_account_report +"/adsensehost:v4.1/adsensehost.accounts.reports.generate/accountId": account_id +"/adsensehost:v4.1/adsensehost.accounts.reports.generate/dimension": dimension +"/adsensehost:v4.1/adsensehost.accounts.reports.generate/endDate": end_date +"/adsensehost:v4.1/adsensehost.accounts.reports.generate/filter": filter +"/adsensehost:v4.1/adsensehost.accounts.reports.generate/locale": locale +"/adsensehost:v4.1/adsensehost.accounts.reports.generate/maxResults": max_results +"/adsensehost:v4.1/adsensehost.accounts.reports.generate/metric": metric +"/adsensehost:v4.1/adsensehost.accounts.reports.generate/sort": sort +"/adsensehost:v4.1/adsensehost.accounts.reports.generate/startDate": start_date +"/adsensehost:v4.1/adsensehost.accounts.reports.generate/startIndex": start_index +"/adsensehost:v4.1/adsensehost.adclients.get": get_ad_client +"/adsensehost:v4.1/adsensehost.adclients.get/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.adclients.list": list_ad_clients +"/adsensehost:v4.1/adsensehost.adclients.list/maxResults": max_results +"/adsensehost:v4.1/adsensehost.adclients.list/pageToken": page_token +"/adsensehost:v4.1/adsensehost.associationsessions.start": start_association_session +"/adsensehost:v4.1/adsensehost.associationsessions.start/productCode": product_code +"/adsensehost:v4.1/adsensehost.associationsessions.start/userLocale": user_locale +"/adsensehost:v4.1/adsensehost.associationsessions.start/websiteLocale": website_locale +"/adsensehost:v4.1/adsensehost.associationsessions.start/websiteUrl": website_url +"/adsensehost:v4.1/adsensehost.associationsessions.verify": verify_association_session +"/adsensehost:v4.1/adsensehost.associationsessions.verify/token": token +"/adsensehost:v4.1/adsensehost.customchannels.delete": delete_custom_channel +"/adsensehost:v4.1/adsensehost.customchannels.delete/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.customchannels.delete/customChannelId": custom_channel_id +"/adsensehost:v4.1/adsensehost.customchannels.get": get_custom_channel +"/adsensehost:v4.1/adsensehost.customchannels.get/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.customchannels.get/customChannelId": custom_channel_id +"/adsensehost:v4.1/adsensehost.customchannels.insert": insert_custom_channel +"/adsensehost:v4.1/adsensehost.customchannels.insert/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.customchannels.list": list_custom_channels +"/adsensehost:v4.1/adsensehost.customchannels.list/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.customchannels.list/maxResults": max_results +"/adsensehost:v4.1/adsensehost.customchannels.list/pageToken": page_token +"/adsensehost:v4.1/adsensehost.customchannels.patch": patch_custom_channel +"/adsensehost:v4.1/adsensehost.customchannels.patch/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.customchannels.patch/customChannelId": custom_channel_id +"/adsensehost:v4.1/adsensehost.customchannels.update": update_custom_channel +"/adsensehost:v4.1/adsensehost.customchannels.update/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.reports.generate": generate_report +"/adsensehost:v4.1/adsensehost.reports.generate/dimension": dimension +"/adsensehost:v4.1/adsensehost.reports.generate/endDate": end_date +"/adsensehost:v4.1/adsensehost.reports.generate/filter": filter +"/adsensehost:v4.1/adsensehost.reports.generate/locale": locale +"/adsensehost:v4.1/adsensehost.reports.generate/maxResults": max_results +"/adsensehost:v4.1/adsensehost.reports.generate/metric": metric +"/adsensehost:v4.1/adsensehost.reports.generate/sort": sort +"/adsensehost:v4.1/adsensehost.reports.generate/startDate": start_date +"/adsensehost:v4.1/adsensehost.reports.generate/startIndex": start_index +"/adsensehost:v4.1/adsensehost.urlchannels.delete": delete_url_channel +"/adsensehost:v4.1/adsensehost.urlchannels.delete/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.urlchannels.delete/urlChannelId": url_channel_id +"/adsensehost:v4.1/adsensehost.urlchannels.insert": insert_url_channel +"/adsensehost:v4.1/adsensehost.urlchannels.insert/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.urlchannels.list": list_url_channels +"/adsensehost:v4.1/adsensehost.urlchannels.list/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.urlchannels.list/maxResults": max_results +"/adsensehost:v4.1/adsensehost.urlchannels.list/pageToken": page_token +"/adsensehost:v4.1/fields": fields +"/adsensehost:v4.1/key": key +"/adsensehost:v4.1/quotaUser": quota_user +"/adsensehost:v4.1/userIp": user_ip "/analytics:v3/Account": account "/analytics:v3/Account/childLink": child_link "/analytics:v3/Account/childLink/href": href @@ -8793,6 +2883,7 @@ "/analytics:v3/AdWordsAccount/autoTaggingEnabled": auto_tagging_enabled "/analytics:v3/AdWordsAccount/customerId": customer_id "/analytics:v3/AdWordsAccount/kind": kind +"/analytics:v3/AnalyticsDataimportDeleteUploadDataRequest": delete_upload_data_request "/analytics:v3/AnalyticsDataimportDeleteUploadDataRequest/customDataImportUids": custom_data_import_uids "/analytics:v3/AnalyticsDataimportDeleteUploadDataRequest/customDataImportUids/custom_data_import_uid": custom_data_import_uid "/analytics:v3/Column": column @@ -8824,6 +2915,8 @@ "/analytics:v3/CustomDataSource/parentLink/type": type "/analytics:v3/CustomDataSource/profilesLinked": profiles_linked "/analytics:v3/CustomDataSource/profilesLinked/profiles_linked": profiles_linked +"/analytics:v3/CustomDataSource/schema": schema +"/analytics:v3/CustomDataSource/schema/schema": schema "/analytics:v3/CustomDataSource/selfLink": self_link "/analytics:v3/CustomDataSource/type": type "/analytics:v3/CustomDataSource/updated": updated @@ -9376,6 +3469,7 @@ "/analytics:v3/UnsampledReport/accountId": account_id "/analytics:v3/UnsampledReport/cloudStorageDownloadDetails": cloud_storage_download_details "/analytics:v3/UnsampledReport/cloudStorageDownloadDetails/bucketId": bucket_id +"/analytics:v3/UnsampledReport/cloudStorageDownloadDetails/objectId": obj_id "/analytics:v3/UnsampledReport/created": created "/analytics:v3/UnsampledReport/dimensions": dimensions "/analytics:v3/UnsampledReport/downloadType": download_type @@ -9412,6 +3506,7 @@ "/analytics:v3/Upload/id": id "/analytics:v3/Upload/kind": kind "/analytics:v3/Upload/status": status +"/analytics:v3/Upload/uploadTime": upload_time "/analytics:v3/Uploads": uploads "/analytics:v3/Uploads/items": items "/analytics:v3/Uploads/items/item": item @@ -9476,443 +3571,712 @@ "/analytics:v3/Webproperty/starred": starred "/analytics:v3/Webproperty/updated": updated "/analytics:v3/Webproperty/websiteUrl": website_url -"/analyticsreporting:v4/fields": fields -"/analyticsreporting:v4/key": key -"/analyticsreporting:v4/quotaUser": quota_user -"/analyticsreporting:v4/SegmentSequenceStep": segment_sequence_step -"/analyticsreporting:v4/SegmentSequenceStep/orFiltersForSegment": or_filters_for_segment -"/analyticsreporting:v4/SegmentSequenceStep/orFiltersForSegment/or_filters_for_segment": or_filters_for_segment -"/analyticsreporting:v4/SegmentSequenceStep/matchType": match_type -"/analyticsreporting:v4/Metric": metric -"/analyticsreporting:v4/Metric/formattingType": formatting_type -"/analyticsreporting:v4/Metric/alias": alias -"/analyticsreporting:v4/Metric/expression": expression -"/analyticsreporting:v4/PivotValueRegion": pivot_value_region -"/analyticsreporting:v4/PivotValueRegion/values": values -"/analyticsreporting:v4/PivotValueRegion/values/value": value -"/analyticsreporting:v4/Report": report -"/analyticsreporting:v4/Report/nextPageToken": next_page_token -"/analyticsreporting:v4/Report/data": data -"/analyticsreporting:v4/Report/columnHeader": column_header -"/analyticsreporting:v4/PivotHeader": pivot_header -"/analyticsreporting:v4/PivotHeader/totalPivotGroupsCount": total_pivot_groups_count -"/analyticsreporting:v4/PivotHeader/pivotHeaderEntries": pivot_header_entries -"/analyticsreporting:v4/PivotHeader/pivotHeaderEntries/pivot_header_entry": pivot_header_entry -"/analyticsreporting:v4/DateRange": date_range -"/analyticsreporting:v4/DateRange/startDate": start_date -"/analyticsreporting:v4/DateRange/endDate": end_date -"/analyticsreporting:v4/ReportRequest": report_request -"/analyticsreporting:v4/ReportRequest/samplingLevel": sampling_level -"/analyticsreporting:v4/ReportRequest/dimensions": dimensions -"/analyticsreporting:v4/ReportRequest/dimensions/dimension": dimension -"/analyticsreporting:v4/ReportRequest/pageToken": page_token -"/analyticsreporting:v4/ReportRequest/dateRanges": date_ranges -"/analyticsreporting:v4/ReportRequest/dateRanges/date_range": date_range -"/analyticsreporting:v4/ReportRequest/pivots": pivots -"/analyticsreporting:v4/ReportRequest/pivots/pivot": pivot -"/analyticsreporting:v4/ReportRequest/includeEmptyRows": include_empty_rows -"/analyticsreporting:v4/ReportRequest/metricFilterClauses": metric_filter_clauses -"/analyticsreporting:v4/ReportRequest/metricFilterClauses/metric_filter_clause": metric_filter_clause -"/analyticsreporting:v4/ReportRequest/pageSize": page_size -"/analyticsreporting:v4/ReportRequest/hideTotals": hide_totals -"/analyticsreporting:v4/ReportRequest/hideValueRanges": hide_value_ranges -"/analyticsreporting:v4/ReportRequest/cohortGroup": cohort_group -"/analyticsreporting:v4/ReportRequest/filtersExpression": filters_expression -"/analyticsreporting:v4/ReportRequest/viewId": view_id -"/analyticsreporting:v4/ReportRequest/metrics": metrics -"/analyticsreporting:v4/ReportRequest/metrics/metric": metric -"/analyticsreporting:v4/ReportRequest/dimensionFilterClauses": dimension_filter_clauses -"/analyticsreporting:v4/ReportRequest/dimensionFilterClauses/dimension_filter_clause": dimension_filter_clause -"/analyticsreporting:v4/ReportRequest/orderBys": order_bys -"/analyticsreporting:v4/ReportRequest/orderBys/order_by": order_by -"/analyticsreporting:v4/ReportRequest/segments": segments -"/analyticsreporting:v4/ReportRequest/segments/segment": segment -"/analyticsreporting:v4/MetricFilter": metric_filter -"/analyticsreporting:v4/MetricFilter/metricName": metric_name -"/analyticsreporting:v4/MetricFilter/comparisonValue": comparison_value -"/analyticsreporting:v4/MetricFilter/operator": operator -"/analyticsreporting:v4/MetricFilter/not": not -"/analyticsreporting:v4/Dimension": dimension -"/analyticsreporting:v4/Dimension/histogramBuckets": histogram_buckets -"/analyticsreporting:v4/Dimension/histogramBuckets/histogram_bucket": histogram_bucket -"/analyticsreporting:v4/Dimension/name": name -"/analyticsreporting:v4/SimpleSegment": simple_segment -"/analyticsreporting:v4/SimpleSegment/orFiltersForSegment": or_filters_for_segment -"/analyticsreporting:v4/SimpleSegment/orFiltersForSegment/or_filters_for_segment": or_filters_for_segment -"/analyticsreporting:v4/DynamicSegment": dynamic_segment -"/analyticsreporting:v4/DynamicSegment/userSegment": user_segment -"/analyticsreporting:v4/DynamicSegment/sessionSegment": session_segment -"/analyticsreporting:v4/DynamicSegment/name": name -"/analyticsreporting:v4/ColumnHeader": column_header -"/analyticsreporting:v4/ColumnHeader/metricHeader": metric_header -"/analyticsreporting:v4/ColumnHeader/dimensions": dimensions -"/analyticsreporting:v4/ColumnHeader/dimensions/dimension": dimension -"/analyticsreporting:v4/SegmentFilterClause": segment_filter_clause -"/analyticsreporting:v4/SegmentFilterClause/not": not -"/analyticsreporting:v4/SegmentFilterClause/dimensionFilter": dimension_filter -"/analyticsreporting:v4/SegmentFilterClause/metricFilter": metric_filter -"/analyticsreporting:v4/ReportRow": report_row -"/analyticsreporting:v4/ReportRow/metrics": metrics -"/analyticsreporting:v4/ReportRow/metrics/metric": metric -"/analyticsreporting:v4/ReportRow/dimensions": dimensions -"/analyticsreporting:v4/ReportRow/dimensions/dimension": dimension -"/analyticsreporting:v4/MetricFilterClause": metric_filter_clause -"/analyticsreporting:v4/MetricFilterClause/filters": filters -"/analyticsreporting:v4/MetricFilterClause/filters/filter": filter -"/analyticsreporting:v4/MetricFilterClause/operator": operator +"/analytics:v3/analytics.data.ga.get": get_ga_data +"/analytics:v3/analytics.data.ga.get/dimensions": dimensions +"/analytics:v3/analytics.data.ga.get/end-date": end_date +"/analytics:v3/analytics.data.ga.get/filters": filters +"/analytics:v3/analytics.data.ga.get/ids": ids +"/analytics:v3/analytics.data.ga.get/include-empty-rows": include_empty_rows +"/analytics:v3/analytics.data.ga.get/max-results": max_results +"/analytics:v3/analytics.data.ga.get/metrics": metrics +"/analytics:v3/analytics.data.ga.get/output": output +"/analytics:v3/analytics.data.ga.get/samplingLevel": sampling_level +"/analytics:v3/analytics.data.ga.get/segment": segment +"/analytics:v3/analytics.data.ga.get/sort": sort +"/analytics:v3/analytics.data.ga.get/start-date": start_date +"/analytics:v3/analytics.data.ga.get/start-index": start_index +"/analytics:v3/analytics.data.mcf.get": get_mcf_data +"/analytics:v3/analytics.data.mcf.get/dimensions": dimensions +"/analytics:v3/analytics.data.mcf.get/end-date": end_date +"/analytics:v3/analytics.data.mcf.get/filters": filters +"/analytics:v3/analytics.data.mcf.get/ids": ids +"/analytics:v3/analytics.data.mcf.get/max-results": max_results +"/analytics:v3/analytics.data.mcf.get/metrics": metrics +"/analytics:v3/analytics.data.mcf.get/samplingLevel": sampling_level +"/analytics:v3/analytics.data.mcf.get/sort": sort +"/analytics:v3/analytics.data.mcf.get/start-date": start_date +"/analytics:v3/analytics.data.mcf.get/start-index": start_index +"/analytics:v3/analytics.data.realtime.get": get_realtime_data +"/analytics:v3/analytics.data.realtime.get/dimensions": dimensions +"/analytics:v3/analytics.data.realtime.get/filters": filters +"/analytics:v3/analytics.data.realtime.get/ids": ids +"/analytics:v3/analytics.data.realtime.get/max-results": max_results +"/analytics:v3/analytics.data.realtime.get/metrics": metrics +"/analytics:v3/analytics.data.realtime.get/sort": sort +"/analytics:v3/analytics.management.accountSummaries.list": list_account_summaries +"/analytics:v3/analytics.management.accountSummaries.list/max-results": max_results +"/analytics:v3/analytics.management.accountSummaries.list/start-index": start_index +"/analytics:v3/analytics.management.accountUserLinks.delete": delete_account_user_link +"/analytics:v3/analytics.management.accountUserLinks.delete/accountId": account_id +"/analytics:v3/analytics.management.accountUserLinks.delete/linkId": link_id +"/analytics:v3/analytics.management.accountUserLinks.insert": insert_account_user_link +"/analytics:v3/analytics.management.accountUserLinks.insert/accountId": account_id +"/analytics:v3/analytics.management.accountUserLinks.list": list_account_user_links +"/analytics:v3/analytics.management.accountUserLinks.list/accountId": account_id +"/analytics:v3/analytics.management.accountUserLinks.list/max-results": max_results +"/analytics:v3/analytics.management.accountUserLinks.list/start-index": start_index +"/analytics:v3/analytics.management.accountUserLinks.update": update_account_user_link +"/analytics:v3/analytics.management.accountUserLinks.update/accountId": account_id +"/analytics:v3/analytics.management.accountUserLinks.update/linkId": link_id +"/analytics:v3/analytics.management.accounts.list": list_accounts +"/analytics:v3/analytics.management.accounts.list/max-results": max_results +"/analytics:v3/analytics.management.accounts.list/start-index": start_index +"/analytics:v3/analytics.management.customDataSources.list": list_custom_data_sources +"/analytics:v3/analytics.management.customDataSources.list/accountId": account_id +"/analytics:v3/analytics.management.customDataSources.list/max-results": max_results +"/analytics:v3/analytics.management.customDataSources.list/start-index": start_index +"/analytics:v3/analytics.management.customDataSources.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.customDimensions.get": get_custom_dimension +"/analytics:v3/analytics.management.customDimensions.get/accountId": account_id +"/analytics:v3/analytics.management.customDimensions.get/customDimensionId": custom_dimension_id +"/analytics:v3/analytics.management.customDimensions.get/webPropertyId": web_property_id +"/analytics:v3/analytics.management.customDimensions.insert": insert_custom_dimension +"/analytics:v3/analytics.management.customDimensions.insert/accountId": account_id +"/analytics:v3/analytics.management.customDimensions.insert/webPropertyId": web_property_id +"/analytics:v3/analytics.management.customDimensions.list": list_custom_dimensions +"/analytics:v3/analytics.management.customDimensions.list/accountId": account_id +"/analytics:v3/analytics.management.customDimensions.list/max-results": max_results +"/analytics:v3/analytics.management.customDimensions.list/start-index": start_index +"/analytics:v3/analytics.management.customDimensions.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.customDimensions.patch": patch_custom_dimension +"/analytics:v3/analytics.management.customDimensions.patch/accountId": account_id +"/analytics:v3/analytics.management.customDimensions.patch/customDimensionId": custom_dimension_id +"/analytics:v3/analytics.management.customDimensions.patch/ignoreCustomDataSourceLinks": ignore_custom_data_source_links +"/analytics:v3/analytics.management.customDimensions.patch/webPropertyId": web_property_id +"/analytics:v3/analytics.management.customDimensions.update": update_custom_dimension +"/analytics:v3/analytics.management.customDimensions.update/accountId": account_id +"/analytics:v3/analytics.management.customDimensions.update/customDimensionId": custom_dimension_id +"/analytics:v3/analytics.management.customDimensions.update/ignoreCustomDataSourceLinks": ignore_custom_data_source_links +"/analytics:v3/analytics.management.customDimensions.update/webPropertyId": web_property_id +"/analytics:v3/analytics.management.customMetrics.get": get_custom_metric +"/analytics:v3/analytics.management.customMetrics.get/accountId": account_id +"/analytics:v3/analytics.management.customMetrics.get/customMetricId": custom_metric_id +"/analytics:v3/analytics.management.customMetrics.get/webPropertyId": web_property_id +"/analytics:v3/analytics.management.customMetrics.insert": insert_custom_metric +"/analytics:v3/analytics.management.customMetrics.insert/accountId": account_id +"/analytics:v3/analytics.management.customMetrics.insert/webPropertyId": web_property_id +"/analytics:v3/analytics.management.customMetrics.list": list_custom_metrics +"/analytics:v3/analytics.management.customMetrics.list/accountId": account_id +"/analytics:v3/analytics.management.customMetrics.list/max-results": max_results +"/analytics:v3/analytics.management.customMetrics.list/start-index": start_index +"/analytics:v3/analytics.management.customMetrics.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.customMetrics.patch": patch_custom_metric +"/analytics:v3/analytics.management.customMetrics.patch/accountId": account_id +"/analytics:v3/analytics.management.customMetrics.patch/customMetricId": custom_metric_id +"/analytics:v3/analytics.management.customMetrics.patch/ignoreCustomDataSourceLinks": ignore_custom_data_source_links +"/analytics:v3/analytics.management.customMetrics.patch/webPropertyId": web_property_id +"/analytics:v3/analytics.management.customMetrics.update": update_custom_metric +"/analytics:v3/analytics.management.customMetrics.update/accountId": account_id +"/analytics:v3/analytics.management.customMetrics.update/customMetricId": custom_metric_id +"/analytics:v3/analytics.management.customMetrics.update/ignoreCustomDataSourceLinks": ignore_custom_data_source_links +"/analytics:v3/analytics.management.customMetrics.update/webPropertyId": web_property_id +"/analytics:v3/analytics.management.experiments.delete": delete_experiment +"/analytics:v3/analytics.management.experiments.delete/accountId": account_id +"/analytics:v3/analytics.management.experiments.delete/experimentId": experiment_id +"/analytics:v3/analytics.management.experiments.delete/profileId": profile_id +"/analytics:v3/analytics.management.experiments.delete/webPropertyId": web_property_id +"/analytics:v3/analytics.management.experiments.get": get_experiment +"/analytics:v3/analytics.management.experiments.get/accountId": account_id +"/analytics:v3/analytics.management.experiments.get/experimentId": experiment_id +"/analytics:v3/analytics.management.experiments.get/profileId": profile_id +"/analytics:v3/analytics.management.experiments.get/webPropertyId": web_property_id +"/analytics:v3/analytics.management.experiments.insert": insert_experiment +"/analytics:v3/analytics.management.experiments.insert/accountId": account_id +"/analytics:v3/analytics.management.experiments.insert/profileId": profile_id +"/analytics:v3/analytics.management.experiments.insert/webPropertyId": web_property_id +"/analytics:v3/analytics.management.experiments.list": list_experiments +"/analytics:v3/analytics.management.experiments.list/accountId": account_id +"/analytics:v3/analytics.management.experiments.list/max-results": max_results +"/analytics:v3/analytics.management.experiments.list/profileId": profile_id +"/analytics:v3/analytics.management.experiments.list/start-index": start_index +"/analytics:v3/analytics.management.experiments.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.experiments.patch": patch_experiment +"/analytics:v3/analytics.management.experiments.patch/accountId": account_id +"/analytics:v3/analytics.management.experiments.patch/experimentId": experiment_id +"/analytics:v3/analytics.management.experiments.patch/profileId": profile_id +"/analytics:v3/analytics.management.experiments.patch/webPropertyId": web_property_id +"/analytics:v3/analytics.management.experiments.update": update_experiment +"/analytics:v3/analytics.management.experiments.update/accountId": account_id +"/analytics:v3/analytics.management.experiments.update/experimentId": experiment_id +"/analytics:v3/analytics.management.experiments.update/profileId": profile_id +"/analytics:v3/analytics.management.experiments.update/webPropertyId": web_property_id +"/analytics:v3/analytics.management.filters.delete": delete_filter +"/analytics:v3/analytics.management.filters.delete/accountId": account_id +"/analytics:v3/analytics.management.filters.delete/filterId": filter_id +"/analytics:v3/analytics.management.filters.get": get_filter +"/analytics:v3/analytics.management.filters.get/accountId": account_id +"/analytics:v3/analytics.management.filters.get/filterId": filter_id +"/analytics:v3/analytics.management.filters.insert": insert_filter +"/analytics:v3/analytics.management.filters.insert/accountId": account_id +"/analytics:v3/analytics.management.filters.list": list_filters +"/analytics:v3/analytics.management.filters.list/accountId": account_id +"/analytics:v3/analytics.management.filters.list/max-results": max_results +"/analytics:v3/analytics.management.filters.list/start-index": start_index +"/analytics:v3/analytics.management.filters.patch": patch_filter +"/analytics:v3/analytics.management.filters.patch/accountId": account_id +"/analytics:v3/analytics.management.filters.patch/filterId": filter_id +"/analytics:v3/analytics.management.filters.update": update_filter +"/analytics:v3/analytics.management.filters.update/accountId": account_id +"/analytics:v3/analytics.management.filters.update/filterId": filter_id +"/analytics:v3/analytics.management.goals.get": get_goal +"/analytics:v3/analytics.management.goals.get/accountId": account_id +"/analytics:v3/analytics.management.goals.get/goalId": goal_id +"/analytics:v3/analytics.management.goals.get/profileId": profile_id +"/analytics:v3/analytics.management.goals.get/webPropertyId": web_property_id +"/analytics:v3/analytics.management.goals.insert": insert_goal +"/analytics:v3/analytics.management.goals.insert/accountId": account_id +"/analytics:v3/analytics.management.goals.insert/profileId": profile_id +"/analytics:v3/analytics.management.goals.insert/webPropertyId": web_property_id +"/analytics:v3/analytics.management.goals.list": list_goals +"/analytics:v3/analytics.management.goals.list/accountId": account_id +"/analytics:v3/analytics.management.goals.list/max-results": max_results +"/analytics:v3/analytics.management.goals.list/profileId": profile_id +"/analytics:v3/analytics.management.goals.list/start-index": start_index +"/analytics:v3/analytics.management.goals.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.goals.patch": patch_goal +"/analytics:v3/analytics.management.goals.patch/accountId": account_id +"/analytics:v3/analytics.management.goals.patch/goalId": goal_id +"/analytics:v3/analytics.management.goals.patch/profileId": profile_id +"/analytics:v3/analytics.management.goals.patch/webPropertyId": web_property_id +"/analytics:v3/analytics.management.goals.update": update_goal +"/analytics:v3/analytics.management.goals.update/accountId": account_id +"/analytics:v3/analytics.management.goals.update/goalId": goal_id +"/analytics:v3/analytics.management.goals.update/profileId": profile_id +"/analytics:v3/analytics.management.goals.update/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profileFilterLinks.delete": delete_profile_filter_link +"/analytics:v3/analytics.management.profileFilterLinks.delete/accountId": account_id +"/analytics:v3/analytics.management.profileFilterLinks.delete/linkId": link_id +"/analytics:v3/analytics.management.profileFilterLinks.delete/profileId": profile_id +"/analytics:v3/analytics.management.profileFilterLinks.delete/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profileFilterLinks.get": get_profile_filter_link +"/analytics:v3/analytics.management.profileFilterLinks.get/accountId": account_id +"/analytics:v3/analytics.management.profileFilterLinks.get/linkId": link_id +"/analytics:v3/analytics.management.profileFilterLinks.get/profileId": profile_id +"/analytics:v3/analytics.management.profileFilterLinks.get/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profileFilterLinks.insert": insert_profile_filter_link +"/analytics:v3/analytics.management.profileFilterLinks.insert/accountId": account_id +"/analytics:v3/analytics.management.profileFilterLinks.insert/profileId": profile_id +"/analytics:v3/analytics.management.profileFilterLinks.insert/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profileFilterLinks.list": list_profile_filter_links +"/analytics:v3/analytics.management.profileFilterLinks.list/accountId": account_id +"/analytics:v3/analytics.management.profileFilterLinks.list/max-results": max_results +"/analytics:v3/analytics.management.profileFilterLinks.list/profileId": profile_id +"/analytics:v3/analytics.management.profileFilterLinks.list/start-index": start_index +"/analytics:v3/analytics.management.profileFilterLinks.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profileFilterLinks.patch": patch_profile_filter_link +"/analytics:v3/analytics.management.profileFilterLinks.patch/accountId": account_id +"/analytics:v3/analytics.management.profileFilterLinks.patch/linkId": link_id +"/analytics:v3/analytics.management.profileFilterLinks.patch/profileId": profile_id +"/analytics:v3/analytics.management.profileFilterLinks.patch/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profileFilterLinks.update": update_profile_filter_link +"/analytics:v3/analytics.management.profileFilterLinks.update/accountId": account_id +"/analytics:v3/analytics.management.profileFilterLinks.update/linkId": link_id +"/analytics:v3/analytics.management.profileFilterLinks.update/profileId": profile_id +"/analytics:v3/analytics.management.profileFilterLinks.update/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profileUserLinks.delete": delete_profile_user_link +"/analytics:v3/analytics.management.profileUserLinks.delete/accountId": account_id +"/analytics:v3/analytics.management.profileUserLinks.delete/linkId": link_id +"/analytics:v3/analytics.management.profileUserLinks.delete/profileId": profile_id +"/analytics:v3/analytics.management.profileUserLinks.delete/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profileUserLinks.insert": insert_profile_user_link +"/analytics:v3/analytics.management.profileUserLinks.insert/accountId": account_id +"/analytics:v3/analytics.management.profileUserLinks.insert/profileId": profile_id +"/analytics:v3/analytics.management.profileUserLinks.insert/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profileUserLinks.list": list_profile_user_links +"/analytics:v3/analytics.management.profileUserLinks.list/accountId": account_id +"/analytics:v3/analytics.management.profileUserLinks.list/max-results": max_results +"/analytics:v3/analytics.management.profileUserLinks.list/profileId": profile_id +"/analytics:v3/analytics.management.profileUserLinks.list/start-index": start_index +"/analytics:v3/analytics.management.profileUserLinks.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profileUserLinks.update": update_profile_user_link +"/analytics:v3/analytics.management.profileUserLinks.update/accountId": account_id +"/analytics:v3/analytics.management.profileUserLinks.update/linkId": link_id +"/analytics:v3/analytics.management.profileUserLinks.update/profileId": profile_id +"/analytics:v3/analytics.management.profileUserLinks.update/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profiles.delete": delete_profile +"/analytics:v3/analytics.management.profiles.delete/accountId": account_id +"/analytics:v3/analytics.management.profiles.delete/profileId": profile_id +"/analytics:v3/analytics.management.profiles.delete/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profiles.get": get_profile +"/analytics:v3/analytics.management.profiles.get/accountId": account_id +"/analytics:v3/analytics.management.profiles.get/profileId": profile_id +"/analytics:v3/analytics.management.profiles.get/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profiles.insert": insert_profile +"/analytics:v3/analytics.management.profiles.insert/accountId": account_id +"/analytics:v3/analytics.management.profiles.insert/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profiles.list": list_profiles +"/analytics:v3/analytics.management.profiles.list/accountId": account_id +"/analytics:v3/analytics.management.profiles.list/max-results": max_results +"/analytics:v3/analytics.management.profiles.list/start-index": start_index +"/analytics:v3/analytics.management.profiles.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profiles.patch": patch_profile +"/analytics:v3/analytics.management.profiles.patch/accountId": account_id +"/analytics:v3/analytics.management.profiles.patch/profileId": profile_id +"/analytics:v3/analytics.management.profiles.patch/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profiles.update": update_profile +"/analytics:v3/analytics.management.profiles.update/accountId": account_id +"/analytics:v3/analytics.management.profiles.update/profileId": profile_id +"/analytics:v3/analytics.management.profiles.update/webPropertyId": web_property_id +"/analytics:v3/analytics.management.remarketingAudience.delete": delete_management_remarketing_audience +"/analytics:v3/analytics.management.remarketingAudience.delete/accountId": account_id +"/analytics:v3/analytics.management.remarketingAudience.delete/remarketingAudienceId": remarketing_audience_id +"/analytics:v3/analytics.management.remarketingAudience.delete/webPropertyId": web_property_id +"/analytics:v3/analytics.management.remarketingAudience.get": get_management_remarketing_audience +"/analytics:v3/analytics.management.remarketingAudience.get/accountId": account_id +"/analytics:v3/analytics.management.remarketingAudience.get/remarketingAudienceId": remarketing_audience_id +"/analytics:v3/analytics.management.remarketingAudience.get/webPropertyId": web_property_id +"/analytics:v3/analytics.management.remarketingAudience.insert": insert_management_remarketing_audience +"/analytics:v3/analytics.management.remarketingAudience.insert/accountId": account_id +"/analytics:v3/analytics.management.remarketingAudience.insert/webPropertyId": web_property_id +"/analytics:v3/analytics.management.remarketingAudience.list": list_management_remarketing_audiences +"/analytics:v3/analytics.management.remarketingAudience.list/accountId": account_id +"/analytics:v3/analytics.management.remarketingAudience.list/max-results": max_results +"/analytics:v3/analytics.management.remarketingAudience.list/start-index": start_index +"/analytics:v3/analytics.management.remarketingAudience.list/type": type +"/analytics:v3/analytics.management.remarketingAudience.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.remarketingAudience.patch": patch_management_remarketing_audience +"/analytics:v3/analytics.management.remarketingAudience.patch/accountId": account_id +"/analytics:v3/analytics.management.remarketingAudience.patch/remarketingAudienceId": remarketing_audience_id +"/analytics:v3/analytics.management.remarketingAudience.patch/webPropertyId": web_property_id +"/analytics:v3/analytics.management.remarketingAudience.update": update_management_remarketing_audience +"/analytics:v3/analytics.management.remarketingAudience.update/accountId": account_id +"/analytics:v3/analytics.management.remarketingAudience.update/remarketingAudienceId": remarketing_audience_id +"/analytics:v3/analytics.management.remarketingAudience.update/webPropertyId": web_property_id +"/analytics:v3/analytics.management.segments.list": list_segments +"/analytics:v3/analytics.management.segments.list/max-results": max_results +"/analytics:v3/analytics.management.segments.list/start-index": start_index +"/analytics:v3/analytics.management.unsampledReports.delete": delete_unsampled_report +"/analytics:v3/analytics.management.unsampledReports.delete/accountId": account_id +"/analytics:v3/analytics.management.unsampledReports.delete/profileId": profile_id +"/analytics:v3/analytics.management.unsampledReports.delete/unsampledReportId": unsampled_report_id +"/analytics:v3/analytics.management.unsampledReports.delete/webPropertyId": web_property_id +"/analytics:v3/analytics.management.unsampledReports.get": get_unsampled_report +"/analytics:v3/analytics.management.unsampledReports.get/accountId": account_id +"/analytics:v3/analytics.management.unsampledReports.get/profileId": profile_id +"/analytics:v3/analytics.management.unsampledReports.get/unsampledReportId": unsampled_report_id +"/analytics:v3/analytics.management.unsampledReports.get/webPropertyId": web_property_id +"/analytics:v3/analytics.management.unsampledReports.insert": insert_unsampled_report +"/analytics:v3/analytics.management.unsampledReports.insert/accountId": account_id +"/analytics:v3/analytics.management.unsampledReports.insert/profileId": profile_id +"/analytics:v3/analytics.management.unsampledReports.insert/webPropertyId": web_property_id +"/analytics:v3/analytics.management.unsampledReports.list": list_unsampled_reports +"/analytics:v3/analytics.management.unsampledReports.list/accountId": account_id +"/analytics:v3/analytics.management.unsampledReports.list/max-results": max_results +"/analytics:v3/analytics.management.unsampledReports.list/profileId": profile_id +"/analytics:v3/analytics.management.unsampledReports.list/start-index": start_index +"/analytics:v3/analytics.management.unsampledReports.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.uploads.deleteUploadData": delete_upload_data +"/analytics:v3/analytics.management.uploads.deleteUploadData/accountId": account_id +"/analytics:v3/analytics.management.uploads.deleteUploadData/customDataSourceId": custom_data_source_id +"/analytics:v3/analytics.management.uploads.deleteUploadData/webPropertyId": web_property_id +"/analytics:v3/analytics.management.uploads.get": get_upload +"/analytics:v3/analytics.management.uploads.get/accountId": account_id +"/analytics:v3/analytics.management.uploads.get/customDataSourceId": custom_data_source_id +"/analytics:v3/analytics.management.uploads.get/uploadId": upload_id +"/analytics:v3/analytics.management.uploads.get/webPropertyId": web_property_id +"/analytics:v3/analytics.management.uploads.list": list_uploads +"/analytics:v3/analytics.management.uploads.list/accountId": account_id +"/analytics:v3/analytics.management.uploads.list/customDataSourceId": custom_data_source_id +"/analytics:v3/analytics.management.uploads.list/max-results": max_results +"/analytics:v3/analytics.management.uploads.list/start-index": start_index +"/analytics:v3/analytics.management.uploads.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.uploads.uploadData": upload_data +"/analytics:v3/analytics.management.uploads.uploadData/accountId": account_id +"/analytics:v3/analytics.management.uploads.uploadData/customDataSourceId": custom_data_source_id +"/analytics:v3/analytics.management.uploads.uploadData/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.delete": delete_web_property_ad_words_link +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.delete/accountId": account_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.delete/webPropertyAdWordsLinkId": web_property_ad_words_link_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.delete/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.get": get_web_property_ad_words_link +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.get/accountId": account_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.get/webPropertyAdWordsLinkId": web_property_ad_words_link_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.get/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.insert": insert_web_property_ad_words_link +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.insert/accountId": account_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.insert/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.list": list_web_property_ad_words_links +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.list/accountId": account_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.list/max-results": max_results +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.list/start-index": start_index +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.patch": patch_web_property_ad_words_link +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.patch/accountId": account_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.patch/webPropertyAdWordsLinkId": web_property_ad_words_link_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.patch/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.update": update_web_property_ad_words_link +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.update/accountId": account_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.update/webPropertyAdWordsLinkId": web_property_ad_words_link_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.update/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webproperties.get": get_web_property +"/analytics:v3/analytics.management.webproperties.get/accountId": account_id +"/analytics:v3/analytics.management.webproperties.get/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webproperties.insert": insert_web_property +"/analytics:v3/analytics.management.webproperties.insert/accountId": account_id +"/analytics:v3/analytics.management.webproperties.list": list_web_properties +"/analytics:v3/analytics.management.webproperties.list/accountId": account_id +"/analytics:v3/analytics.management.webproperties.list/max-results": max_results +"/analytics:v3/analytics.management.webproperties.list/start-index": start_index +"/analytics:v3/analytics.management.webproperties.patch": patch_web_property +"/analytics:v3/analytics.management.webproperties.patch/accountId": account_id +"/analytics:v3/analytics.management.webproperties.patch/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webproperties.update": update_web_property +"/analytics:v3/analytics.management.webproperties.update/accountId": account_id +"/analytics:v3/analytics.management.webproperties.update/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webpropertyUserLinks.delete": delete_web_property_user_link +"/analytics:v3/analytics.management.webpropertyUserLinks.delete/accountId": account_id +"/analytics:v3/analytics.management.webpropertyUserLinks.delete/linkId": link_id +"/analytics:v3/analytics.management.webpropertyUserLinks.delete/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webpropertyUserLinks.insert": insert_web_property_user_link +"/analytics:v3/analytics.management.webpropertyUserLinks.insert/accountId": account_id +"/analytics:v3/analytics.management.webpropertyUserLinks.insert/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webpropertyUserLinks.list": list_web_property_user_links +"/analytics:v3/analytics.management.webpropertyUserLinks.list/accountId": account_id +"/analytics:v3/analytics.management.webpropertyUserLinks.list/max-results": max_results +"/analytics:v3/analytics.management.webpropertyUserLinks.list/start-index": start_index +"/analytics:v3/analytics.management.webpropertyUserLinks.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webpropertyUserLinks.update": update_web_property_user_link +"/analytics:v3/analytics.management.webpropertyUserLinks.update/accountId": account_id +"/analytics:v3/analytics.management.webpropertyUserLinks.update/linkId": link_id +"/analytics:v3/analytics.management.webpropertyUserLinks.update/webPropertyId": web_property_id +"/analytics:v3/analytics.metadata.columns.list": list_metadata_columns +"/analytics:v3/analytics.metadata.columns.list/reportType": report_type +"/analytics:v3/analytics.provisioning.createAccountTicket": create_account_ticket +"/analytics:v3/fields": fields +"/analytics:v3/key": key +"/analytics:v3/quotaUser": quota_user +"/analytics:v3/userIp": user_ip "/analyticsreporting:v4/Cohort": cohort "/analyticsreporting:v4/Cohort/dateRange": date_range "/analyticsreporting:v4/Cohort/name": name "/analyticsreporting:v4/Cohort/type": type -"/analyticsreporting:v4/OrFiltersForSegment": or_filters_for_segment -"/analyticsreporting:v4/OrFiltersForSegment/segmentFilterClauses": segment_filter_clauses -"/analyticsreporting:v4/OrFiltersForSegment/segmentFilterClauses/segment_filter_clause": segment_filter_clause -"/analyticsreporting:v4/MetricHeader": metric_header -"/analyticsreporting:v4/MetricHeader/pivotHeaders": pivot_headers -"/analyticsreporting:v4/MetricHeader/pivotHeaders/pivot_header": pivot_header -"/analyticsreporting:v4/MetricHeader/metricHeaderEntries": metric_header_entries -"/analyticsreporting:v4/MetricHeader/metricHeaderEntries/metric_header_entry": metric_header_entry -"/analyticsreporting:v4/DimensionFilterClause": dimension_filter_clause -"/analyticsreporting:v4/DimensionFilterClause/filters": filters -"/analyticsreporting:v4/DimensionFilterClause/filters/filter": filter -"/analyticsreporting:v4/DimensionFilterClause/operator": operator -"/analyticsreporting:v4/GetReportsResponse": get_reports_response -"/analyticsreporting:v4/GetReportsResponse/reports": reports -"/analyticsreporting:v4/GetReportsResponse/reports/report": report -"/analyticsreporting:v4/SequenceSegment": sequence_segment -"/analyticsreporting:v4/SequenceSegment/firstStepShouldMatchFirstHit": first_step_should_match_first_hit -"/analyticsreporting:v4/SequenceSegment/segmentSequenceSteps": segment_sequence_steps -"/analyticsreporting:v4/SequenceSegment/segmentSequenceSteps/segment_sequence_step": segment_sequence_step -"/analyticsreporting:v4/SegmentMetricFilter": segment_metric_filter -"/analyticsreporting:v4/SegmentMetricFilter/operator": operator -"/analyticsreporting:v4/SegmentMetricFilter/metricName": metric_name -"/analyticsreporting:v4/SegmentMetricFilter/scope": scope -"/analyticsreporting:v4/SegmentMetricFilter/maxComparisonValue": max_comparison_value -"/analyticsreporting:v4/SegmentMetricFilter/comparisonValue": comparison_value -"/analyticsreporting:v4/DateRangeValues": date_range_values -"/analyticsreporting:v4/DateRangeValues/values": values -"/analyticsreporting:v4/DateRangeValues/values/value": value -"/analyticsreporting:v4/DateRangeValues/pivotValueRegions": pivot_value_regions -"/analyticsreporting:v4/DateRangeValues/pivotValueRegions/pivot_value_region": pivot_value_region "/analyticsreporting:v4/CohortGroup": cohort_group "/analyticsreporting:v4/CohortGroup/cohorts": cohorts "/analyticsreporting:v4/CohortGroup/cohorts/cohort": cohort "/analyticsreporting:v4/CohortGroup/lifetimeValue": lifetime_value -"/analyticsreporting:v4/GetReportsRequest": get_reports_request -"/analyticsreporting:v4/GetReportsRequest/reportRequests": report_requests -"/analyticsreporting:v4/GetReportsRequest/reportRequests/report_request": report_request -"/analyticsreporting:v4/Pivot": pivot -"/analyticsreporting:v4/Pivot/maxGroupCount": max_group_count -"/analyticsreporting:v4/Pivot/startGroup": start_group -"/analyticsreporting:v4/Pivot/metrics": metrics -"/analyticsreporting:v4/Pivot/metrics/metric": metric -"/analyticsreporting:v4/Pivot/dimensionFilterClauses": dimension_filter_clauses -"/analyticsreporting:v4/Pivot/dimensionFilterClauses/dimension_filter_clause": dimension_filter_clause -"/analyticsreporting:v4/Pivot/dimensions": dimensions -"/analyticsreporting:v4/Pivot/dimensions/dimension": dimension -"/analyticsreporting:v4/PivotHeaderEntry": pivot_header_entry -"/analyticsreporting:v4/PivotHeaderEntry/metric": metric -"/analyticsreporting:v4/PivotHeaderEntry/dimensionNames": dimension_names -"/analyticsreporting:v4/PivotHeaderEntry/dimensionNames/dimension_name": dimension_name -"/analyticsreporting:v4/PivotHeaderEntry/dimensionValues": dimension_values -"/analyticsreporting:v4/PivotHeaderEntry/dimensionValues/dimension_value": dimension_value -"/analyticsreporting:v4/SegmentFilter": segment_filter -"/analyticsreporting:v4/SegmentFilter/sequenceSegment": sequence_segment -"/analyticsreporting:v4/SegmentFilter/not": not -"/analyticsreporting:v4/SegmentFilter/simpleSegment": simple_segment -"/analyticsreporting:v4/SegmentDefinition": segment_definition -"/analyticsreporting:v4/SegmentDefinition/segmentFilters": segment_filters -"/analyticsreporting:v4/SegmentDefinition/segmentFilters/segment_filter": segment_filter -"/analyticsreporting:v4/MetricHeaderEntry": metric_header_entry -"/analyticsreporting:v4/MetricHeaderEntry/name": name -"/analyticsreporting:v4/MetricHeaderEntry/type": type -"/analyticsreporting:v4/ReportData": report_data -"/analyticsreporting:v4/ReportData/samplingSpaceSizes": sampling_space_sizes -"/analyticsreporting:v4/ReportData/samplingSpaceSizes/sampling_space_size": sampling_space_size -"/analyticsreporting:v4/ReportData/minimums": minimums -"/analyticsreporting:v4/ReportData/minimums/minimum": minimum -"/analyticsreporting:v4/ReportData/totals": totals -"/analyticsreporting:v4/ReportData/totals/total": total -"/analyticsreporting:v4/ReportData/samplesReadCounts": samples_read_counts -"/analyticsreporting:v4/ReportData/samplesReadCounts/samples_read_count": samples_read_count -"/analyticsreporting:v4/ReportData/isDataGolden": is_data_golden -"/analyticsreporting:v4/ReportData/rows": rows -"/analyticsreporting:v4/ReportData/rows/row": row -"/analyticsreporting:v4/ReportData/rowCount": row_count -"/analyticsreporting:v4/ReportData/dataLastRefreshed": data_last_refreshed -"/analyticsreporting:v4/ReportData/maximums": maximums -"/analyticsreporting:v4/ReportData/maximums/maximum": maximum +"/analyticsreporting:v4/ColumnHeader": column_header +"/analyticsreporting:v4/ColumnHeader/dimensions": dimensions +"/analyticsreporting:v4/ColumnHeader/dimensions/dimension": dimension +"/analyticsreporting:v4/ColumnHeader/metricHeader": metric_header +"/analyticsreporting:v4/DateRange": date_range +"/analyticsreporting:v4/DateRange/endDate": end_date +"/analyticsreporting:v4/DateRange/startDate": start_date +"/analyticsreporting:v4/DateRangeValues": date_range_values +"/analyticsreporting:v4/DateRangeValues/pivotValueRegions": pivot_value_regions +"/analyticsreporting:v4/DateRangeValues/pivotValueRegions/pivot_value_region": pivot_value_region +"/analyticsreporting:v4/DateRangeValues/values": values +"/analyticsreporting:v4/DateRangeValues/values/value": value +"/analyticsreporting:v4/Dimension": dimension +"/analyticsreporting:v4/Dimension/histogramBuckets": histogram_buckets +"/analyticsreporting:v4/Dimension/histogramBuckets/histogram_bucket": histogram_bucket +"/analyticsreporting:v4/Dimension/name": name "/analyticsreporting:v4/DimensionFilter": dimension_filter "/analyticsreporting:v4/DimensionFilter/caseSensitive": case_sensitive -"/analyticsreporting:v4/DimensionFilter/operator": operator "/analyticsreporting:v4/DimensionFilter/dimensionName": dimension_name "/analyticsreporting:v4/DimensionFilter/expressions": expressions "/analyticsreporting:v4/DimensionFilter/expressions/expression": expression "/analyticsreporting:v4/DimensionFilter/not": not -"/analyticsreporting:v4/SegmentDimensionFilter": segment_dimension_filter -"/analyticsreporting:v4/SegmentDimensionFilter/maxComparisonValue": max_comparison_value -"/analyticsreporting:v4/SegmentDimensionFilter/dimensionName": dimension_name -"/analyticsreporting:v4/SegmentDimensionFilter/operator": operator -"/analyticsreporting:v4/SegmentDimensionFilter/expressions": expressions -"/analyticsreporting:v4/SegmentDimensionFilter/expressions/expression": expression -"/analyticsreporting:v4/SegmentDimensionFilter/caseSensitive": case_sensitive -"/analyticsreporting:v4/SegmentDimensionFilter/minComparisonValue": min_comparison_value +"/analyticsreporting:v4/DimensionFilter/operator": operator +"/analyticsreporting:v4/DimensionFilterClause": dimension_filter_clause +"/analyticsreporting:v4/DimensionFilterClause/filters": filters +"/analyticsreporting:v4/DimensionFilterClause/filters/filter": filter +"/analyticsreporting:v4/DimensionFilterClause/operator": operator +"/analyticsreporting:v4/DynamicSegment": dynamic_segment +"/analyticsreporting:v4/DynamicSegment/name": name +"/analyticsreporting:v4/DynamicSegment/sessionSegment": session_segment +"/analyticsreporting:v4/DynamicSegment/userSegment": user_segment +"/analyticsreporting:v4/GetReportsRequest": get_reports_request +"/analyticsreporting:v4/GetReportsRequest/reportRequests": report_requests +"/analyticsreporting:v4/GetReportsRequest/reportRequests/report_request": report_request +"/analyticsreporting:v4/GetReportsResponse": get_reports_response +"/analyticsreporting:v4/GetReportsResponse/reports": reports +"/analyticsreporting:v4/GetReportsResponse/reports/report": report +"/analyticsreporting:v4/Metric": metric +"/analyticsreporting:v4/Metric/alias": alias +"/analyticsreporting:v4/Metric/expression": expression +"/analyticsreporting:v4/Metric/formattingType": formatting_type +"/analyticsreporting:v4/MetricFilter": metric_filter +"/analyticsreporting:v4/MetricFilter/comparisonValue": comparison_value +"/analyticsreporting:v4/MetricFilter/metricName": metric_name +"/analyticsreporting:v4/MetricFilter/not": not +"/analyticsreporting:v4/MetricFilter/operator": operator +"/analyticsreporting:v4/MetricFilterClause": metric_filter_clause +"/analyticsreporting:v4/MetricFilterClause/filters": filters +"/analyticsreporting:v4/MetricFilterClause/filters/filter": filter +"/analyticsreporting:v4/MetricFilterClause/operator": operator +"/analyticsreporting:v4/MetricHeader": metric_header +"/analyticsreporting:v4/MetricHeader/metricHeaderEntries": metric_header_entries +"/analyticsreporting:v4/MetricHeader/metricHeaderEntries/metric_header_entry": metric_header_entry +"/analyticsreporting:v4/MetricHeader/pivotHeaders": pivot_headers +"/analyticsreporting:v4/MetricHeader/pivotHeaders/pivot_header": pivot_header +"/analyticsreporting:v4/MetricHeaderEntry": metric_header_entry +"/analyticsreporting:v4/MetricHeaderEntry/name": name +"/analyticsreporting:v4/MetricHeaderEntry/type": type +"/analyticsreporting:v4/OrFiltersForSegment": or_filters_for_segment +"/analyticsreporting:v4/OrFiltersForSegment/segmentFilterClauses": segment_filter_clauses +"/analyticsreporting:v4/OrFiltersForSegment/segmentFilterClauses/segment_filter_clause": segment_filter_clause "/analyticsreporting:v4/OrderBy": order_by -"/analyticsreporting:v4/OrderBy/orderType": order_type "/analyticsreporting:v4/OrderBy/fieldName": field_name +"/analyticsreporting:v4/OrderBy/orderType": order_type "/analyticsreporting:v4/OrderBy/sortOrder": sort_order +"/analyticsreporting:v4/Pivot": pivot +"/analyticsreporting:v4/Pivot/dimensionFilterClauses": dimension_filter_clauses +"/analyticsreporting:v4/Pivot/dimensionFilterClauses/dimension_filter_clause": dimension_filter_clause +"/analyticsreporting:v4/Pivot/dimensions": dimensions +"/analyticsreporting:v4/Pivot/dimensions/dimension": dimension +"/analyticsreporting:v4/Pivot/maxGroupCount": max_group_count +"/analyticsreporting:v4/Pivot/metrics": metrics +"/analyticsreporting:v4/Pivot/metrics/metric": metric +"/analyticsreporting:v4/Pivot/startGroup": start_group +"/analyticsreporting:v4/PivotHeader": pivot_header +"/analyticsreporting:v4/PivotHeader/pivotHeaderEntries": pivot_header_entries +"/analyticsreporting:v4/PivotHeader/pivotHeaderEntries/pivot_header_entry": pivot_header_entry +"/analyticsreporting:v4/PivotHeader/totalPivotGroupsCount": total_pivot_groups_count +"/analyticsreporting:v4/PivotHeaderEntry": pivot_header_entry +"/analyticsreporting:v4/PivotHeaderEntry/dimensionNames": dimension_names +"/analyticsreporting:v4/PivotHeaderEntry/dimensionNames/dimension_name": dimension_name +"/analyticsreporting:v4/PivotHeaderEntry/dimensionValues": dimension_values +"/analyticsreporting:v4/PivotHeaderEntry/dimensionValues/dimension_value": dimension_value +"/analyticsreporting:v4/PivotHeaderEntry/metric": metric +"/analyticsreporting:v4/PivotValueRegion": pivot_value_region +"/analyticsreporting:v4/PivotValueRegion/values": values +"/analyticsreporting:v4/PivotValueRegion/values/value": value +"/analyticsreporting:v4/Report": report +"/analyticsreporting:v4/Report/columnHeader": column_header +"/analyticsreporting:v4/Report/data": data +"/analyticsreporting:v4/Report/nextPageToken": next_page_token +"/analyticsreporting:v4/ReportData": report_data +"/analyticsreporting:v4/ReportData/dataLastRefreshed": data_last_refreshed +"/analyticsreporting:v4/ReportData/isDataGolden": is_data_golden +"/analyticsreporting:v4/ReportData/maximums": maximums +"/analyticsreporting:v4/ReportData/maximums/maximum": maximum +"/analyticsreporting:v4/ReportData/minimums": minimums +"/analyticsreporting:v4/ReportData/minimums/minimum": minimum +"/analyticsreporting:v4/ReportData/rowCount": row_count +"/analyticsreporting:v4/ReportData/rows": rows +"/analyticsreporting:v4/ReportData/rows/row": row +"/analyticsreporting:v4/ReportData/samplesReadCounts": samples_read_counts +"/analyticsreporting:v4/ReportData/samplesReadCounts/samples_read_count": samples_read_count +"/analyticsreporting:v4/ReportData/samplingSpaceSizes": sampling_space_sizes +"/analyticsreporting:v4/ReportData/samplingSpaceSizes/sampling_space_size": sampling_space_size +"/analyticsreporting:v4/ReportData/totals": totals +"/analyticsreporting:v4/ReportData/totals/total": total +"/analyticsreporting:v4/ReportRequest": report_request +"/analyticsreporting:v4/ReportRequest/cohortGroup": cohort_group +"/analyticsreporting:v4/ReportRequest/dateRanges": date_ranges +"/analyticsreporting:v4/ReportRequest/dateRanges/date_range": date_range +"/analyticsreporting:v4/ReportRequest/dimensionFilterClauses": dimension_filter_clauses +"/analyticsreporting:v4/ReportRequest/dimensionFilterClauses/dimension_filter_clause": dimension_filter_clause +"/analyticsreporting:v4/ReportRequest/dimensions": dimensions +"/analyticsreporting:v4/ReportRequest/dimensions/dimension": dimension +"/analyticsreporting:v4/ReportRequest/filtersExpression": filters_expression +"/analyticsreporting:v4/ReportRequest/hideTotals": hide_totals +"/analyticsreporting:v4/ReportRequest/hideValueRanges": hide_value_ranges +"/analyticsreporting:v4/ReportRequest/includeEmptyRows": include_empty_rows +"/analyticsreporting:v4/ReportRequest/metricFilterClauses": metric_filter_clauses +"/analyticsreporting:v4/ReportRequest/metricFilterClauses/metric_filter_clause": metric_filter_clause +"/analyticsreporting:v4/ReportRequest/metrics": metrics +"/analyticsreporting:v4/ReportRequest/metrics/metric": metric +"/analyticsreporting:v4/ReportRequest/orderBys": order_bys +"/analyticsreporting:v4/ReportRequest/orderBys/order_by": order_by +"/analyticsreporting:v4/ReportRequest/pageSize": page_size +"/analyticsreporting:v4/ReportRequest/pageToken": page_token +"/analyticsreporting:v4/ReportRequest/pivots": pivots +"/analyticsreporting:v4/ReportRequest/pivots/pivot": pivot +"/analyticsreporting:v4/ReportRequest/samplingLevel": sampling_level +"/analyticsreporting:v4/ReportRequest/segments": segments +"/analyticsreporting:v4/ReportRequest/segments/segment": segment +"/analyticsreporting:v4/ReportRequest/viewId": view_id +"/analyticsreporting:v4/ReportRow": report_row +"/analyticsreporting:v4/ReportRow/dimensions": dimensions +"/analyticsreporting:v4/ReportRow/dimensions/dimension": dimension +"/analyticsreporting:v4/ReportRow/metrics": metrics +"/analyticsreporting:v4/ReportRow/metrics/metric": metric "/analyticsreporting:v4/Segment": segment "/analyticsreporting:v4/Segment/dynamicSegment": dynamic_segment "/analyticsreporting:v4/Segment/segmentId": segment_id -"/androidenterprise:v1/fields": fields -"/androidenterprise:v1/key": key -"/androidenterprise:v1/quotaUser": quota_user -"/androidenterprise:v1/userIp": user_ip -"/androidenterprise:v1/androidenterprise.devices.get": get_device -"/androidenterprise:v1/androidenterprise.devices.get/deviceId": device_id -"/androidenterprise:v1/androidenterprise.devices.get/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.devices.get/userId": user_id -"/androidenterprise:v1/androidenterprise.devices.getState": get_device_state -"/androidenterprise:v1/androidenterprise.devices.getState/deviceId": device_id -"/androidenterprise:v1/androidenterprise.devices.getState/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.devices.getState/userId": user_id -"/androidenterprise:v1/androidenterprise.devices.list": list_devices -"/androidenterprise:v1/androidenterprise.devices.list/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.devices.list/userId": user_id -"/androidenterprise:v1/androidenterprise.devices.setState": set_device_state -"/androidenterprise:v1/androidenterprise.devices.setState/deviceId": device_id -"/androidenterprise:v1/androidenterprise.devices.setState/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.devices.setState/userId": user_id -"/androidenterprise:v1/androidenterprise.enterprises.acknowledgeNotificationSet": acknowledge_enterprise_notification_set -"/androidenterprise:v1/androidenterprise.enterprises.acknowledgeNotificationSet/notificationSetId": notification_set_id -"/androidenterprise:v1/androidenterprise.enterprises.completeSignup": complete_enterprise_signup -"/androidenterprise:v1/androidenterprise.enterprises.completeSignup/completionToken": completion_token -"/androidenterprise:v1/androidenterprise.enterprises.completeSignup/enterpriseToken": enterprise_token -"/androidenterprise:v1/androidenterprise.enterprises.createWebToken": create_enterprise_web_token -"/androidenterprise:v1/androidenterprise.enterprises.createWebToken/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.enterprises.delete": delete_enterprise -"/androidenterprise:v1/androidenterprise.enterprises.delete/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.enterprises.enroll": enroll_enterprise -"/androidenterprise:v1/androidenterprise.enterprises.enroll/token": token -"/androidenterprise:v1/androidenterprise.enterprises.generateSignupUrl": generate_enterprise_signup_url -"/androidenterprise:v1/androidenterprise.enterprises.generateSignupUrl/callbackUrl": callback_url -"/androidenterprise:v1/androidenterprise.enterprises.get": get_enterprise -"/androidenterprise:v1/androidenterprise.enterprises.get/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.enterprises.getServiceAccount": get_enterprise_service_account -"/androidenterprise:v1/androidenterprise.enterprises.getServiceAccount/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.enterprises.getServiceAccount/keyType": key_type -"/androidenterprise:v1/androidenterprise.enterprises.getStoreLayout": get_enterprise_store_layout -"/androidenterprise:v1/androidenterprise.enterprises.getStoreLayout/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.enterprises.insert": insert_enterprise -"/androidenterprise:v1/androidenterprise.enterprises.insert/token": token -"/androidenterprise:v1/androidenterprise.enterprises.list": list_enterprises -"/androidenterprise:v1/androidenterprise.enterprises.list/domain": domain -"/androidenterprise:v1/androidenterprise.enterprises.pullNotificationSet": pull_enterprise_notification_set -"/androidenterprise:v1/androidenterprise.enterprises.pullNotificationSet/requestMode": request_mode -"/androidenterprise:v1/androidenterprise.enterprises.sendTestPushNotification": send_enterprise_test_push_notification -"/androidenterprise:v1/androidenterprise.enterprises.sendTestPushNotification/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.enterprises.setAccount": set_enterprise_account -"/androidenterprise:v1/androidenterprise.enterprises.setAccount/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.enterprises.setStoreLayout": set_enterprise_store_layout -"/androidenterprise:v1/androidenterprise.enterprises.setStoreLayout/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.enterprises.unenroll": unenroll_enterprise -"/androidenterprise:v1/androidenterprise.enterprises.unenroll/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.entitlements.delete": delete_entitlement -"/androidenterprise:v1/androidenterprise.entitlements.delete/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.entitlements.delete/entitlementId": entitlement_id -"/androidenterprise:v1/androidenterprise.entitlements.delete/userId": user_id -"/androidenterprise:v1/androidenterprise.entitlements.get": get_entitlement -"/androidenterprise:v1/androidenterprise.entitlements.get/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.entitlements.get/entitlementId": entitlement_id -"/androidenterprise:v1/androidenterprise.entitlements.get/userId": user_id -"/androidenterprise:v1/androidenterprise.entitlements.list": list_entitlements -"/androidenterprise:v1/androidenterprise.entitlements.list/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.entitlements.list/userId": user_id -"/androidenterprise:v1/androidenterprise.entitlements.patch": patch_entitlement -"/androidenterprise:v1/androidenterprise.entitlements.patch/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.entitlements.patch/entitlementId": entitlement_id -"/androidenterprise:v1/androidenterprise.entitlements.patch/install": install -"/androidenterprise:v1/androidenterprise.entitlements.patch/userId": user_id -"/androidenterprise:v1/androidenterprise.entitlements.update": update_entitlement -"/androidenterprise:v1/androidenterprise.entitlements.update/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.entitlements.update/entitlementId": entitlement_id -"/androidenterprise:v1/androidenterprise.entitlements.update/install": install -"/androidenterprise:v1/androidenterprise.entitlements.update/userId": user_id -"/androidenterprise:v1/androidenterprise.grouplicenses.get/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.grouplicenses.get/groupLicenseId": group_license_id -"/androidenterprise:v1/androidenterprise.grouplicenses.list/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.grouplicenseusers.list/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.grouplicenseusers.list/groupLicenseId": group_license_id -"/androidenterprise:v1/androidenterprise.installs.delete": delete_install -"/androidenterprise:v1/androidenterprise.installs.delete/deviceId": device_id -"/androidenterprise:v1/androidenterprise.installs.delete/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.installs.delete/installId": install_id -"/androidenterprise:v1/androidenterprise.installs.delete/userId": user_id -"/androidenterprise:v1/androidenterprise.installs.get": get_install -"/androidenterprise:v1/androidenterprise.installs.get/deviceId": device_id -"/androidenterprise:v1/androidenterprise.installs.get/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.installs.get/installId": install_id -"/androidenterprise:v1/androidenterprise.installs.get/userId": user_id -"/androidenterprise:v1/androidenterprise.installs.list": list_installs -"/androidenterprise:v1/androidenterprise.installs.list/deviceId": device_id -"/androidenterprise:v1/androidenterprise.installs.list/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.installs.list/userId": user_id -"/androidenterprise:v1/androidenterprise.installs.patch": patch_install -"/androidenterprise:v1/androidenterprise.installs.patch/deviceId": device_id -"/androidenterprise:v1/androidenterprise.installs.patch/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.installs.patch/installId": install_id -"/androidenterprise:v1/androidenterprise.installs.patch/userId": user_id -"/androidenterprise:v1/androidenterprise.installs.update": update_install -"/androidenterprise:v1/androidenterprise.installs.update/deviceId": device_id -"/androidenterprise:v1/androidenterprise.installs.update/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.installs.update/installId": install_id -"/androidenterprise:v1/androidenterprise.installs.update/userId": user_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.delete": delete_managedconfigurationsfordevice -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.delete/deviceId": device_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.delete/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.delete/managedConfigurationForDeviceId": managed_configuration_for_device_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.delete/userId": user_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.get": get_managedconfigurationsfordevice -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.get/deviceId": device_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.get/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.get/managedConfigurationForDeviceId": managed_configuration_for_device_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.get/userId": user_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.list": list_managedconfigurationsfordevices -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.list/deviceId": device_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.list/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.list/userId": user_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.patch": patch_managedconfigurationsfordevice -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.patch/deviceId": device_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.patch/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.patch/managedConfigurationForDeviceId": managed_configuration_for_device_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.patch/userId": user_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.update": update_managedconfigurationsfordevice -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.update/deviceId": device_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.update/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.update/managedConfigurationForDeviceId": managed_configuration_for_device_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.update/userId": user_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.delete": delete_managedconfigurationsforuser -"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.delete/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.delete/managedConfigurationForUserId": managed_configuration_for_user_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.delete/userId": user_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.get": get_managedconfigurationsforuser -"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.get/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.get/managedConfigurationForUserId": managed_configuration_for_user_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.get/userId": user_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.list": list_managedconfigurationsforusers -"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.list/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.list/userId": user_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.patch": patch_managedconfigurationsforuser -"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.patch/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.patch/managedConfigurationForUserId": managed_configuration_for_user_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.patch/userId": user_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.update": update_managedconfigurationsforuser -"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.update/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.update/managedConfigurationForUserId": managed_configuration_for_user_id -"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.update/userId": user_id -"/androidenterprise:v1/androidenterprise.permissions.get": get_permission -"/androidenterprise:v1/androidenterprise.permissions.get/language": language -"/androidenterprise:v1/androidenterprise.permissions.get/permissionId": permission_id -"/androidenterprise:v1/androidenterprise.products.approve": approve_product -"/androidenterprise:v1/androidenterprise.products.approve/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.products.approve/productId": product_id -"/androidenterprise:v1/androidenterprise.products.generateApprovalUrl/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.products.generateApprovalUrl/languageCode": language_code -"/androidenterprise:v1/androidenterprise.products.generateApprovalUrl/productId": product_id -"/androidenterprise:v1/androidenterprise.products.get": get_product -"/androidenterprise:v1/androidenterprise.products.get/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.products.get/language": language -"/androidenterprise:v1/androidenterprise.products.get/productId": product_id -"/androidenterprise:v1/androidenterprise.products.getAppRestrictionsSchema/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.products.getAppRestrictionsSchema/language": language -"/androidenterprise:v1/androidenterprise.products.getAppRestrictionsSchema/productId": product_id -"/androidenterprise:v1/androidenterprise.products.getPermissions/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.products.getPermissions/productId": product_id -"/androidenterprise:v1/androidenterprise.products.list": list_products -"/androidenterprise:v1/androidenterprise.products.list/approved": approved -"/androidenterprise:v1/androidenterprise.products.list/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.products.list/language": language -"/androidenterprise:v1/androidenterprise.products.list/maxResults": max_results -"/androidenterprise:v1/androidenterprise.products.list/query": query -"/androidenterprise:v1/androidenterprise.products.list/token": token -"/androidenterprise:v1/androidenterprise.products.unapprove": unapprove_product -"/androidenterprise:v1/androidenterprise.products.unapprove/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.products.unapprove/productId": product_id -"/androidenterprise:v1/androidenterprise.serviceaccountkeys.delete": delete_serviceaccountkey -"/androidenterprise:v1/androidenterprise.serviceaccountkeys.delete/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.serviceaccountkeys.delete/keyId": key_id -"/androidenterprise:v1/androidenterprise.serviceaccountkeys.insert": insert_serviceaccountkey -"/androidenterprise:v1/androidenterprise.serviceaccountkeys.insert/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.serviceaccountkeys.list": list_serviceaccountkeys -"/androidenterprise:v1/androidenterprise.serviceaccountkeys.list/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.storelayoutclusters.delete": delete_storelayoutcluster -"/androidenterprise:v1/androidenterprise.storelayoutclusters.delete/clusterId": cluster_id -"/androidenterprise:v1/androidenterprise.storelayoutclusters.delete/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.storelayoutclusters.delete/pageId": page_id -"/androidenterprise:v1/androidenterprise.storelayoutclusters.get": get_storelayoutcluster -"/androidenterprise:v1/androidenterprise.storelayoutclusters.get/clusterId": cluster_id -"/androidenterprise:v1/androidenterprise.storelayoutclusters.get/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.storelayoutclusters.get/pageId": page_id -"/androidenterprise:v1/androidenterprise.storelayoutclusters.insert": insert_storelayoutcluster -"/androidenterprise:v1/androidenterprise.storelayoutclusters.insert/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.storelayoutclusters.insert/pageId": page_id -"/androidenterprise:v1/androidenterprise.storelayoutclusters.list": list_storelayoutclusters -"/androidenterprise:v1/androidenterprise.storelayoutclusters.list/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.storelayoutclusters.list/pageId": page_id -"/androidenterprise:v1/androidenterprise.storelayoutclusters.patch": patch_storelayoutcluster -"/androidenterprise:v1/androidenterprise.storelayoutclusters.patch/clusterId": cluster_id -"/androidenterprise:v1/androidenterprise.storelayoutclusters.patch/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.storelayoutclusters.patch/pageId": page_id -"/androidenterprise:v1/androidenterprise.storelayoutclusters.update": update_storelayoutcluster -"/androidenterprise:v1/androidenterprise.storelayoutclusters.update/clusterId": cluster_id -"/androidenterprise:v1/androidenterprise.storelayoutclusters.update/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.storelayoutclusters.update/pageId": page_id -"/androidenterprise:v1/androidenterprise.storelayoutpages.delete": delete_storelayoutpage -"/androidenterprise:v1/androidenterprise.storelayoutpages.delete/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.storelayoutpages.delete/pageId": page_id -"/androidenterprise:v1/androidenterprise.storelayoutpages.get": get_storelayoutpage -"/androidenterprise:v1/androidenterprise.storelayoutpages.get/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.storelayoutpages.get/pageId": page_id -"/androidenterprise:v1/androidenterprise.storelayoutpages.insert": insert_storelayoutpage -"/androidenterprise:v1/androidenterprise.storelayoutpages.insert/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.storelayoutpages.list": list_storelayoutpages -"/androidenterprise:v1/androidenterprise.storelayoutpages.list/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.storelayoutpages.patch": patch_storelayoutpage -"/androidenterprise:v1/androidenterprise.storelayoutpages.patch/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.storelayoutpages.patch/pageId": page_id -"/androidenterprise:v1/androidenterprise.storelayoutpages.update": update_storelayoutpage -"/androidenterprise:v1/androidenterprise.storelayoutpages.update/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.storelayoutpages.update/pageId": page_id -"/androidenterprise:v1/androidenterprise.users.delete": delete_user -"/androidenterprise:v1/androidenterprise.users.delete/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.users.delete/userId": user_id -"/androidenterprise:v1/androidenterprise.users.generateAuthenticationToken": generate_user_authentication_token -"/androidenterprise:v1/androidenterprise.users.generateAuthenticationToken/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.users.generateAuthenticationToken/userId": user_id -"/androidenterprise:v1/androidenterprise.users.generateToken/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.users.generateToken/userId": user_id -"/androidenterprise:v1/androidenterprise.users.get": get_user -"/androidenterprise:v1/androidenterprise.users.get/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.users.get/userId": user_id -"/androidenterprise:v1/androidenterprise.users.getAvailableProductSet": get_user_available_product_set -"/androidenterprise:v1/androidenterprise.users.getAvailableProductSet/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.users.getAvailableProductSet/userId": user_id -"/androidenterprise:v1/androidenterprise.users.insert": insert_user -"/androidenterprise:v1/androidenterprise.users.insert/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.users.list": list_users -"/androidenterprise:v1/androidenterprise.users.list/email": email -"/androidenterprise:v1/androidenterprise.users.list/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.users.patch": patch_user -"/androidenterprise:v1/androidenterprise.users.patch/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.users.patch/userId": user_id -"/androidenterprise:v1/androidenterprise.users.revokeToken/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.users.revokeToken/userId": user_id -"/androidenterprise:v1/androidenterprise.users.setAvailableProductSet": set_user_available_product_set -"/androidenterprise:v1/androidenterprise.users.setAvailableProductSet/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.users.setAvailableProductSet/userId": user_id -"/androidenterprise:v1/androidenterprise.users.update": update_user -"/androidenterprise:v1/androidenterprise.users.update/enterpriseId": enterprise_id -"/androidenterprise:v1/androidenterprise.users.update/userId": user_id +"/analyticsreporting:v4/SegmentDefinition": segment_definition +"/analyticsreporting:v4/SegmentDefinition/segmentFilters": segment_filters +"/analyticsreporting:v4/SegmentDefinition/segmentFilters/segment_filter": segment_filter +"/analyticsreporting:v4/SegmentDimensionFilter": segment_dimension_filter +"/analyticsreporting:v4/SegmentDimensionFilter/caseSensitive": case_sensitive +"/analyticsreporting:v4/SegmentDimensionFilter/dimensionName": dimension_name +"/analyticsreporting:v4/SegmentDimensionFilter/expressions": expressions +"/analyticsreporting:v4/SegmentDimensionFilter/expressions/expression": expression +"/analyticsreporting:v4/SegmentDimensionFilter/maxComparisonValue": max_comparison_value +"/analyticsreporting:v4/SegmentDimensionFilter/minComparisonValue": min_comparison_value +"/analyticsreporting:v4/SegmentDimensionFilter/operator": operator +"/analyticsreporting:v4/SegmentFilter": segment_filter +"/analyticsreporting:v4/SegmentFilter/not": not +"/analyticsreporting:v4/SegmentFilter/sequenceSegment": sequence_segment +"/analyticsreporting:v4/SegmentFilter/simpleSegment": simple_segment +"/analyticsreporting:v4/SegmentFilterClause": segment_filter_clause +"/analyticsreporting:v4/SegmentFilterClause/dimensionFilter": dimension_filter +"/analyticsreporting:v4/SegmentFilterClause/metricFilter": metric_filter +"/analyticsreporting:v4/SegmentFilterClause/not": not +"/analyticsreporting:v4/SegmentMetricFilter": segment_metric_filter +"/analyticsreporting:v4/SegmentMetricFilter/comparisonValue": comparison_value +"/analyticsreporting:v4/SegmentMetricFilter/maxComparisonValue": max_comparison_value +"/analyticsreporting:v4/SegmentMetricFilter/metricName": metric_name +"/analyticsreporting:v4/SegmentMetricFilter/operator": operator +"/analyticsreporting:v4/SegmentMetricFilter/scope": scope +"/analyticsreporting:v4/SegmentSequenceStep": segment_sequence_step +"/analyticsreporting:v4/SegmentSequenceStep/matchType": match_type +"/analyticsreporting:v4/SegmentSequenceStep/orFiltersForSegment": or_filters_for_segment +"/analyticsreporting:v4/SegmentSequenceStep/orFiltersForSegment/or_filters_for_segment": or_filters_for_segment +"/analyticsreporting:v4/SequenceSegment": sequence_segment +"/analyticsreporting:v4/SequenceSegment/firstStepShouldMatchFirstHit": first_step_should_match_first_hit +"/analyticsreporting:v4/SequenceSegment/segmentSequenceSteps": segment_sequence_steps +"/analyticsreporting:v4/SequenceSegment/segmentSequenceSteps/segment_sequence_step": segment_sequence_step +"/analyticsreporting:v4/SimpleSegment": simple_segment +"/analyticsreporting:v4/SimpleSegment/orFiltersForSegment": or_filters_for_segment +"/analyticsreporting:v4/SimpleSegment/orFiltersForSegment/or_filters_for_segment": or_filters_for_segment +"/analyticsreporting:v4/analyticsreporting.reports.batchGet": batch_get_reports +"/analyticsreporting:v4/fields": fields +"/analyticsreporting:v4/key": key +"/analyticsreporting:v4/quotaUser": quota_user +"/androiddeviceprovisioning:v1/ClaimDeviceRequest": claim_device_request +"/androiddeviceprovisioning:v1/ClaimDeviceRequest/customerId": customer_id +"/androiddeviceprovisioning:v1/ClaimDeviceRequest/deviceIdentifier": device_identifier +"/androiddeviceprovisioning:v1/ClaimDeviceRequest/sectionType": section_type +"/androiddeviceprovisioning:v1/ClaimDeviceResponse": claim_device_response +"/androiddeviceprovisioning:v1/ClaimDeviceResponse/deviceId": device_id +"/androiddeviceprovisioning:v1/ClaimDeviceResponse/deviceName": device_name +"/androiddeviceprovisioning:v1/ClaimDevicesRequest": claim_devices_request +"/androiddeviceprovisioning:v1/ClaimDevicesRequest/claims": claims +"/androiddeviceprovisioning:v1/ClaimDevicesRequest/claims/claim": claim +"/androiddeviceprovisioning:v1/Company": company +"/androiddeviceprovisioning:v1/Company/adminEmails": admin_emails +"/androiddeviceprovisioning:v1/Company/adminEmails/admin_email": admin_email +"/androiddeviceprovisioning:v1/Company/companyId": company_id +"/androiddeviceprovisioning:v1/Company/companyName": company_name +"/androiddeviceprovisioning:v1/Company/name": name +"/androiddeviceprovisioning:v1/Company/ownerEmails": owner_emails +"/androiddeviceprovisioning:v1/Company/ownerEmails/owner_email": owner_email +"/androiddeviceprovisioning:v1/Device": device +"/androiddeviceprovisioning:v1/Device/claims": claims +"/androiddeviceprovisioning:v1/Device/claims/claim": claim +"/androiddeviceprovisioning:v1/Device/configuration": configuration +"/androiddeviceprovisioning:v1/Device/deviceId": device_id +"/androiddeviceprovisioning:v1/Device/deviceIdentifier": device_identifier +"/androiddeviceprovisioning:v1/Device/deviceMetadata": device_metadata +"/androiddeviceprovisioning:v1/Device/name": name +"/androiddeviceprovisioning:v1/DeviceClaim": device_claim +"/androiddeviceprovisioning:v1/DeviceClaim/ownerCompanyId": owner_company_id +"/androiddeviceprovisioning:v1/DeviceClaim/sectionType": section_type +"/androiddeviceprovisioning:v1/DeviceIdentifier": device_identifier +"/androiddeviceprovisioning:v1/DeviceIdentifier/imei": imei +"/androiddeviceprovisioning:v1/DeviceIdentifier/manufacturer": manufacturer +"/androiddeviceprovisioning:v1/DeviceIdentifier/meid": meid +"/androiddeviceprovisioning:v1/DeviceIdentifier/serialNumber": serial_number +"/androiddeviceprovisioning:v1/DeviceMetadata": device_metadata +"/androiddeviceprovisioning:v1/DeviceMetadata/entries": entries +"/androiddeviceprovisioning:v1/DeviceMetadata/entries/entry": entry +"/androiddeviceprovisioning:v1/DevicesLongRunningOperationMetadata": devices_long_running_operation_metadata +"/androiddeviceprovisioning:v1/DevicesLongRunningOperationMetadata/devicesCount": devices_count +"/androiddeviceprovisioning:v1/DevicesLongRunningOperationMetadata/processingStatus": processing_status +"/androiddeviceprovisioning:v1/DevicesLongRunningOperationMetadata/progress": progress +"/androiddeviceprovisioning:v1/DevicesLongRunningOperationResponse": devices_long_running_operation_response +"/androiddeviceprovisioning:v1/DevicesLongRunningOperationResponse/perDeviceStatus": per_device_status +"/androiddeviceprovisioning:v1/DevicesLongRunningOperationResponse/perDeviceStatus/per_device_status": per_device_status +"/androiddeviceprovisioning:v1/DevicesLongRunningOperationResponse/successCount": success_count +"/androiddeviceprovisioning:v1/Empty": empty +"/androiddeviceprovisioning:v1/FindDevicesByDeviceIdentifierRequest": find_devices_by_device_identifier_request +"/androiddeviceprovisioning:v1/FindDevicesByDeviceIdentifierRequest/deviceIdentifier": device_identifier +"/androiddeviceprovisioning:v1/FindDevicesByDeviceIdentifierRequest/limit": limit +"/androiddeviceprovisioning:v1/FindDevicesByDeviceIdentifierRequest/pageToken": page_token +"/androiddeviceprovisioning:v1/FindDevicesByDeviceIdentifierResponse": find_devices_by_device_identifier_response +"/androiddeviceprovisioning:v1/FindDevicesByDeviceIdentifierResponse/devices": devices +"/androiddeviceprovisioning:v1/FindDevicesByDeviceIdentifierResponse/devices/device": device +"/androiddeviceprovisioning:v1/FindDevicesByDeviceIdentifierResponse/nextPageToken": next_page_token +"/androiddeviceprovisioning:v1/FindDevicesByOwnerRequest": find_devices_by_owner_request +"/androiddeviceprovisioning:v1/FindDevicesByOwnerRequest/customerId": customer_id +"/androiddeviceprovisioning:v1/FindDevicesByOwnerRequest/customerId/customer_id": customer_id +"/androiddeviceprovisioning:v1/FindDevicesByOwnerRequest/limit": limit +"/androiddeviceprovisioning:v1/FindDevicesByOwnerRequest/pageToken": page_token +"/androiddeviceprovisioning:v1/FindDevicesByOwnerRequest/sectionType": section_type +"/androiddeviceprovisioning:v1/FindDevicesByOwnerResponse": find_devices_by_owner_response +"/androiddeviceprovisioning:v1/FindDevicesByOwnerResponse/devices": devices +"/androiddeviceprovisioning:v1/FindDevicesByOwnerResponse/devices/device": device +"/androiddeviceprovisioning:v1/FindDevicesByOwnerResponse/nextPageToken": next_page_token +"/androiddeviceprovisioning:v1/ListCustomersResponse": list_customers_response +"/androiddeviceprovisioning:v1/ListCustomersResponse/customers": customers +"/androiddeviceprovisioning:v1/ListCustomersResponse/customers/customer": customer +"/androiddeviceprovisioning:v1/Operation": operation +"/androiddeviceprovisioning:v1/Operation/done": done +"/androiddeviceprovisioning:v1/Operation/error": error +"/androiddeviceprovisioning:v1/Operation/metadata": metadata +"/androiddeviceprovisioning:v1/Operation/metadata/metadatum": metadatum +"/androiddeviceprovisioning:v1/Operation/name": name +"/androiddeviceprovisioning:v1/Operation/response": response +"/androiddeviceprovisioning:v1/Operation/response/response": response +"/androiddeviceprovisioning:v1/OperationPerDevice": operation_per_device +"/androiddeviceprovisioning:v1/OperationPerDevice/claim": claim +"/androiddeviceprovisioning:v1/OperationPerDevice/result": result +"/androiddeviceprovisioning:v1/OperationPerDevice/unclaim": unclaim +"/androiddeviceprovisioning:v1/OperationPerDevice/updateMetadata": update_metadata +"/androiddeviceprovisioning:v1/PartnerClaim": partner_claim +"/androiddeviceprovisioning:v1/PartnerClaim/customerId": customer_id +"/androiddeviceprovisioning:v1/PartnerClaim/deviceIdentifier": device_identifier +"/androiddeviceprovisioning:v1/PartnerClaim/deviceMetadata": device_metadata +"/androiddeviceprovisioning:v1/PartnerClaim/sectionType": section_type +"/androiddeviceprovisioning:v1/PartnerUnclaim": partner_unclaim +"/androiddeviceprovisioning:v1/PartnerUnclaim/deviceId": device_id +"/androiddeviceprovisioning:v1/PartnerUnclaim/deviceIdentifier": device_identifier +"/androiddeviceprovisioning:v1/PartnerUnclaim/sectionType": section_type +"/androiddeviceprovisioning:v1/PerDeviceStatusInBatch": per_device_status_in_batch +"/androiddeviceprovisioning:v1/PerDeviceStatusInBatch/deviceId": device_id +"/androiddeviceprovisioning:v1/PerDeviceStatusInBatch/errorIdentifier": error_identifier +"/androiddeviceprovisioning:v1/PerDeviceStatusInBatch/errorMessage": error_message +"/androiddeviceprovisioning:v1/PerDeviceStatusInBatch/status": status +"/androiddeviceprovisioning:v1/Status": status +"/androiddeviceprovisioning:v1/Status/code": code +"/androiddeviceprovisioning:v1/Status/details": details +"/androiddeviceprovisioning:v1/Status/details/detail": detail +"/androiddeviceprovisioning:v1/Status/details/detail/detail": detail +"/androiddeviceprovisioning:v1/Status/message": message +"/androiddeviceprovisioning:v1/UnclaimDeviceRequest": unclaim_device_request +"/androiddeviceprovisioning:v1/UnclaimDeviceRequest/deviceId": device_id +"/androiddeviceprovisioning:v1/UnclaimDeviceRequest/deviceIdentifier": device_identifier +"/androiddeviceprovisioning:v1/UnclaimDeviceRequest/sectionType": section_type +"/androiddeviceprovisioning:v1/UnclaimDevicesRequest": unclaim_devices_request +"/androiddeviceprovisioning:v1/UnclaimDevicesRequest/unclaims": unclaims +"/androiddeviceprovisioning:v1/UnclaimDevicesRequest/unclaims/unclaim": unclaim +"/androiddeviceprovisioning:v1/UpdateDeviceMetadataInBatchRequest": update_device_metadata_in_batch_request +"/androiddeviceprovisioning:v1/UpdateDeviceMetadataInBatchRequest/updates": updates +"/androiddeviceprovisioning:v1/UpdateDeviceMetadataInBatchRequest/updates/update": update +"/androiddeviceprovisioning:v1/UpdateDeviceMetadataRequest": update_device_metadata_request +"/androiddeviceprovisioning:v1/UpdateDeviceMetadataRequest/deviceMetadata": device_metadata +"/androiddeviceprovisioning:v1/UpdateMetadataArguments": update_metadata_arguments +"/androiddeviceprovisioning:v1/UpdateMetadataArguments/deviceId": device_id +"/androiddeviceprovisioning:v1/UpdateMetadataArguments/deviceIdentifier": device_identifier +"/androiddeviceprovisioning:v1/UpdateMetadataArguments/deviceMetadata": device_metadata +"/androiddeviceprovisioning:v1/androiddeviceprovisioning.operations.get": get_operation +"/androiddeviceprovisioning:v1/androiddeviceprovisioning.operations.get/name": name +"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.customers.list": list_partner_customers +"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.customers.list/partnerId": partner_id +"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.devices.claim": claim_device +"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.devices.claim/partnerId": partner_id +"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.devices.claimAsync": claim_partner_device_async +"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.devices.claimAsync/partnerId": partner_id +"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.devices.findByIdentifier": find_partner_device_by_identifier +"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.devices.findByIdentifier/partnerId": partner_id +"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.devices.findByOwner": find_partner_device_by_owner +"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.devices.findByOwner/partnerId": partner_id +"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.devices.get": get_partner_device +"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.devices.get/name": name +"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.devices.metadata": metadata_partner_device +"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.devices.metadata/deviceId": device_id +"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.devices.metadata/metadataOwnerId": metadata_owner_id +"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.devices.unclaim": unclaim_device +"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.devices.unclaim/partnerId": partner_id +"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.devices.unclaimAsync": unclaim_partner_device_async +"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.devices.unclaimAsync/partnerId": partner_id +"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.devices.updateMetadataAsync": update_partner_device_metadata_async +"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.devices.updateMetadataAsync/partnerId": partner_id +"/androiddeviceprovisioning:v1/fields": fields +"/androiddeviceprovisioning:v1/key": key +"/androiddeviceprovisioning:v1/quotaUser": quota_user "/androidenterprise:v1/Administrator": administrator "/androidenterprise:v1/Administrator/email": email "/androidenterprise:v1/AdministratorWebToken": administrator_web_token @@ -9923,6 +4287,9 @@ "/androidenterprise:v1/AdministratorWebTokenSpec/parent": parent "/androidenterprise:v1/AdministratorWebTokenSpec/permission": permission "/androidenterprise:v1/AdministratorWebTokenSpec/permission/permission": permission +"/androidenterprise:v1/AndroidDevicePolicyConfig": android_device_policy_config +"/androidenterprise:v1/AndroidDevicePolicyConfig/kind": kind +"/androidenterprise:v1/AndroidDevicePolicyConfig/state": state "/androidenterprise:v1/AppRestrictionsSchema": app_restrictions_schema "/androidenterprise:v1/AppRestrictionsSchema/kind": kind "/androidenterprise:v1/AppRestrictionsSchema/restrictions": restrictions @@ -9959,6 +4326,8 @@ "/androidenterprise:v1/AuthenticationToken": authentication_token "/androidenterprise:v1/AuthenticationToken/kind": kind "/androidenterprise:v1/AuthenticationToken/token": token +"/androidenterprise:v1/CollectionViewersListResponse": list_collection_viewers_response +"/androidenterprise:v1/CollectionsListResponse": list_collections_response "/androidenterprise:v1/Device": device "/androidenterprise:v1/Device/androidId": android_id "/androidenterprise:v1/Device/kind": kind @@ -9966,6 +4335,7 @@ "/androidenterprise:v1/DeviceState": device_state "/androidenterprise:v1/DeviceState/accountState": account_state "/androidenterprise:v1/DeviceState/kind": kind +"/androidenterprise:v1/DevicesListResponse": list_devices_response "/androidenterprise:v1/DevicesListResponse/device": device "/androidenterprise:v1/DevicesListResponse/device/device": device "/androidenterprise:v1/DevicesListResponse/kind": kind @@ -9979,15 +4349,18 @@ "/androidenterprise:v1/EnterpriseAccount": enterprise_account "/androidenterprise:v1/EnterpriseAccount/accountEmail": account_email "/androidenterprise:v1/EnterpriseAccount/kind": kind +"/androidenterprise:v1/EnterprisesListResponse": list_enterprises_response "/androidenterprise:v1/EnterprisesListResponse/enterprise": enterprise "/androidenterprise:v1/EnterprisesListResponse/enterprise/enterprise": enterprise "/androidenterprise:v1/EnterprisesListResponse/kind": kind +"/androidenterprise:v1/EnterprisesSendTestPushNotificationResponse": send_test_push_notification_response "/androidenterprise:v1/EnterprisesSendTestPushNotificationResponse/messageId": message_id "/androidenterprise:v1/EnterprisesSendTestPushNotificationResponse/topicName": topic_name "/androidenterprise:v1/Entitlement": entitlement "/androidenterprise:v1/Entitlement/kind": kind "/androidenterprise:v1/Entitlement/productId": product_id "/androidenterprise:v1/Entitlement/reason": reason +"/androidenterprise:v1/EntitlementsListResponse": list_entitlements_response "/androidenterprise:v1/EntitlementsListResponse/entitlement": entitlement "/androidenterprise:v1/EntitlementsListResponse/entitlement/entitlement": entitlement "/androidenterprise:v1/EntitlementsListResponse/kind": kind @@ -9999,9 +4372,11 @@ "/androidenterprise:v1/GroupLicense/numPurchased": num_purchased "/androidenterprise:v1/GroupLicense/permissions": permissions "/androidenterprise:v1/GroupLicense/productId": product_id +"/androidenterprise:v1/GroupLicenseUsersListResponse": list_group_license_users_response "/androidenterprise:v1/GroupLicenseUsersListResponse/kind": kind "/androidenterprise:v1/GroupLicenseUsersListResponse/user": user "/androidenterprise:v1/GroupLicenseUsersListResponse/user/user": user +"/androidenterprise:v1/GroupLicensesListResponse": list_group_licenses_response "/androidenterprise:v1/GroupLicensesListResponse/groupLicense": group_license "/androidenterprise:v1/GroupLicensesListResponse/groupLicense/group_license": group_license "/androidenterprise:v1/GroupLicensesListResponse/kind": kind @@ -10016,6 +4391,7 @@ "/androidenterprise:v1/InstallFailureEvent/failureReason": failure_reason "/androidenterprise:v1/InstallFailureEvent/productId": product_id "/androidenterprise:v1/InstallFailureEvent/userId": user_id +"/androidenterprise:v1/InstallsListResponse": list_installs_response "/androidenterprise:v1/InstallsListResponse/install": install "/androidenterprise:v1/InstallsListResponse/install/install": install "/androidenterprise:v1/InstallsListResponse/kind": kind @@ -10116,8 +4492,10 @@ "/androidenterprise:v1/ProductSet/productId": product_id "/androidenterprise:v1/ProductSet/productId/product_id": product_id "/androidenterprise:v1/ProductSet/productSetBehavior": product_set_behavior +"/androidenterprise:v1/ProductsApproveRequest": approve_product_request "/androidenterprise:v1/ProductsApproveRequest/approvalUrlInfo": approval_url_info "/androidenterprise:v1/ProductsApproveRequest/approvedPermissions": approved_permissions +"/androidenterprise:v1/ProductsGenerateApprovalUrlResponse": generate_product_approval_url_response "/androidenterprise:v1/ProductsGenerateApprovalUrlResponse/url": url "/androidenterprise:v1/ProductsListResponse": products_list_response "/androidenterprise:v1/ProductsListResponse/kind": kind @@ -10184,207 +4562,640 @@ "/androidenterprise:v1/UserToken/kind": kind "/androidenterprise:v1/UserToken/token": token "/androidenterprise:v1/UserToken/userId": user_id +"/androidenterprise:v1/UsersListResponse": list_users_response "/androidenterprise:v1/UsersListResponse/kind": kind "/androidenterprise:v1/UsersListResponse/user": user "/androidenterprise:v1/UsersListResponse/user/user": user -"/androidpublisher:v2/fields": fields -"/androidpublisher:v2/key": key -"/androidpublisher:v2/quotaUser": quota_user -"/androidpublisher:v2/userIp": user_ip -"/androidpublisher:v2/androidpublisher.edits.commit": commit_edit -"/androidpublisher:v2/androidpublisher.edits.commit/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.commit/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.delete": delete_edit -"/androidpublisher:v2/androidpublisher.edits.delete/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.delete/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.get": get_edit -"/androidpublisher:v2/androidpublisher.edits.get/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.get/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.insert": insert_edit -"/androidpublisher:v2/androidpublisher.edits.insert/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.validate": validate_edit -"/androidpublisher:v2/androidpublisher.edits.validate/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.validate/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.apklistings.delete/apkVersionCode": apk_version_code -"/androidpublisher:v2/androidpublisher.edits.apklistings.delete/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.apklistings.delete/language": language -"/androidpublisher:v2/androidpublisher.edits.apklistings.delete/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.apklistings.deleteall/apkVersionCode": apk_version_code -"/androidpublisher:v2/androidpublisher.edits.apklistings.deleteall/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.apklistings.deleteall/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.apklistings.get/apkVersionCode": apk_version_code -"/androidpublisher:v2/androidpublisher.edits.apklistings.get/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.apklistings.get/language": language -"/androidpublisher:v2/androidpublisher.edits.apklistings.get/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.apklistings.list/apkVersionCode": apk_version_code -"/androidpublisher:v2/androidpublisher.edits.apklistings.list/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.apklistings.list/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.apklistings.patch/apkVersionCode": apk_version_code -"/androidpublisher:v2/androidpublisher.edits.apklistings.patch/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.apklistings.patch/language": language -"/androidpublisher:v2/androidpublisher.edits.apklistings.patch/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.apklistings.update/apkVersionCode": apk_version_code -"/androidpublisher:v2/androidpublisher.edits.apklistings.update/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.apklistings.update/language": language -"/androidpublisher:v2/androidpublisher.edits.apklistings.update/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.apks.addexternallyhosted/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.apks.addexternallyhosted/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.apks.list/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.apks.list/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.apks.upload/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.apks.upload/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.deobfuscationfiles.upload": upload_edit_deobfuscationfile -"/androidpublisher:v2/androidpublisher.edits.deobfuscationfiles.upload/apkVersionCode": apk_version_code -"/androidpublisher:v2/androidpublisher.edits.deobfuscationfiles.upload/deobfuscationFileType": deobfuscation_file_type -"/androidpublisher:v2/androidpublisher.edits.deobfuscationfiles.upload/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.deobfuscationfiles.upload/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.details.get/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.details.get/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.details.patch/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.details.patch/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.details.update/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.details.update/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.expansionfiles.get/apkVersionCode": apk_version_code -"/androidpublisher:v2/androidpublisher.edits.expansionfiles.get/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.expansionfiles.get/expansionFileType": expansion_file_type -"/androidpublisher:v2/androidpublisher.edits.expansionfiles.get/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.expansionfiles.patch/apkVersionCode": apk_version_code -"/androidpublisher:v2/androidpublisher.edits.expansionfiles.patch/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.expansionfiles.patch/expansionFileType": expansion_file_type -"/androidpublisher:v2/androidpublisher.edits.expansionfiles.patch/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.expansionfiles.update/apkVersionCode": apk_version_code -"/androidpublisher:v2/androidpublisher.edits.expansionfiles.update/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.expansionfiles.update/expansionFileType": expansion_file_type -"/androidpublisher:v2/androidpublisher.edits.expansionfiles.update/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.expansionfiles.upload/apkVersionCode": apk_version_code -"/androidpublisher:v2/androidpublisher.edits.expansionfiles.upload/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.expansionfiles.upload/expansionFileType": expansion_file_type -"/androidpublisher:v2/androidpublisher.edits.expansionfiles.upload/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.images.delete/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.images.delete/imageId": image_id -"/androidpublisher:v2/androidpublisher.edits.images.delete/imageType": image_type -"/androidpublisher:v2/androidpublisher.edits.images.delete/language": language -"/androidpublisher:v2/androidpublisher.edits.images.delete/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.images.deleteall/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.images.deleteall/imageType": image_type -"/androidpublisher:v2/androidpublisher.edits.images.deleteall/language": language -"/androidpublisher:v2/androidpublisher.edits.images.deleteall/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.images.list/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.images.list/imageType": image_type -"/androidpublisher:v2/androidpublisher.edits.images.list/language": language -"/androidpublisher:v2/androidpublisher.edits.images.list/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.images.upload/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.images.upload/imageType": image_type -"/androidpublisher:v2/androidpublisher.edits.images.upload/language": language -"/androidpublisher:v2/androidpublisher.edits.images.upload/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.listings.delete/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.listings.delete/language": language -"/androidpublisher:v2/androidpublisher.edits.listings.delete/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.listings.deleteall/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.listings.deleteall/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.listings.get/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.listings.get/language": language -"/androidpublisher:v2/androidpublisher.edits.listings.get/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.listings.list/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.listings.list/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.listings.patch/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.listings.patch/language": language -"/androidpublisher:v2/androidpublisher.edits.listings.patch/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.listings.update/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.listings.update/language": language -"/androidpublisher:v2/androidpublisher.edits.listings.update/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.testers.get/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.testers.get/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.testers.get/track": track -"/androidpublisher:v2/androidpublisher.edits.testers.patch/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.testers.patch/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.testers.patch/track": track -"/androidpublisher:v2/androidpublisher.edits.testers.update/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.testers.update/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.testers.update/track": track -"/androidpublisher:v2/androidpublisher.edits.tracks.get/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.tracks.get/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.tracks.get/track": track -"/androidpublisher:v2/androidpublisher.edits.tracks.list/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.tracks.list/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.tracks.patch/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.tracks.patch/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.tracks.patch/track": track -"/androidpublisher:v2/androidpublisher.edits.tracks.update/editId": edit_id -"/androidpublisher:v2/androidpublisher.edits.tracks.update/packageName": package_name -"/androidpublisher:v2/androidpublisher.edits.tracks.update/track": track -"/androidpublisher:v2/androidpublisher.entitlements.list/maxResults": max_results -"/androidpublisher:v2/androidpublisher.entitlements.list/packageName": package_name -"/androidpublisher:v2/androidpublisher.entitlements.list/productId": product_id -"/androidpublisher:v2/androidpublisher.entitlements.list/startIndex": start_index -"/androidpublisher:v2/androidpublisher.entitlements.list/token": token -"/androidpublisher:v2/androidpublisher.inappproducts.delete/packageName": package_name -"/androidpublisher:v2/androidpublisher.inappproducts.delete/sku": sku -"/androidpublisher:v2/androidpublisher.inappproducts.get/packageName": package_name -"/androidpublisher:v2/androidpublisher.inappproducts.get/sku": sku -"/androidpublisher:v2/androidpublisher.inappproducts.insert/autoConvertMissingPrices": auto_convert_missing_prices -"/androidpublisher:v2/androidpublisher.inappproducts.insert/packageName": package_name -"/androidpublisher:v2/androidpublisher.inappproducts.list/maxResults": max_results -"/androidpublisher:v2/androidpublisher.inappproducts.list/packageName": package_name -"/androidpublisher:v2/androidpublisher.inappproducts.list/startIndex": start_index -"/androidpublisher:v2/androidpublisher.inappproducts.list/token": token -"/androidpublisher:v2/androidpublisher.inappproducts.patch/autoConvertMissingPrices": auto_convert_missing_prices -"/androidpublisher:v2/androidpublisher.inappproducts.patch/packageName": package_name -"/androidpublisher:v2/androidpublisher.inappproducts.patch/sku": sku -"/androidpublisher:v2/androidpublisher.inappproducts.update/autoConvertMissingPrices": auto_convert_missing_prices -"/androidpublisher:v2/androidpublisher.inappproducts.update/packageName": package_name -"/androidpublisher:v2/androidpublisher.inappproducts.update/sku": sku -"/androidpublisher:v2/androidpublisher.purchases.products.get/packageName": package_name -"/androidpublisher:v2/androidpublisher.purchases.products.get/productId": product_id -"/androidpublisher:v2/androidpublisher.purchases.products.get/token": token -"/androidpublisher:v2/androidpublisher.purchases.subscriptions.cancel/packageName": package_name -"/androidpublisher:v2/androidpublisher.purchases.subscriptions.cancel/subscriptionId": subscription_id -"/androidpublisher:v2/androidpublisher.purchases.subscriptions.cancel/token": token -"/androidpublisher:v2/androidpublisher.purchases.subscriptions.defer/packageName": package_name -"/androidpublisher:v2/androidpublisher.purchases.subscriptions.defer/subscriptionId": subscription_id -"/androidpublisher:v2/androidpublisher.purchases.subscriptions.defer/token": token -"/androidpublisher:v2/androidpublisher.purchases.subscriptions.get/packageName": package_name -"/androidpublisher:v2/androidpublisher.purchases.subscriptions.get/subscriptionId": subscription_id -"/androidpublisher:v2/androidpublisher.purchases.subscriptions.get/token": token -"/androidpublisher:v2/androidpublisher.purchases.subscriptions.refund/packageName": package_name -"/androidpublisher:v2/androidpublisher.purchases.subscriptions.refund/subscriptionId": subscription_id -"/androidpublisher:v2/androidpublisher.purchases.subscriptions.refund/token": token -"/androidpublisher:v2/androidpublisher.purchases.subscriptions.revoke/packageName": package_name -"/androidpublisher:v2/androidpublisher.purchases.subscriptions.revoke/subscriptionId": subscription_id -"/androidpublisher:v2/androidpublisher.purchases.subscriptions.revoke/token": token -"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list": list_purchase_voidedpurchases -"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/endTime": end_time -"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/maxResults": max_results -"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/packageName": package_name -"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/startIndex": start_index -"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/startTime": start_time -"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/token": token -"/androidpublisher:v2/androidpublisher.reviews.get": get_review -"/androidpublisher:v2/androidpublisher.reviews.get/packageName": package_name -"/androidpublisher:v2/androidpublisher.reviews.get/reviewId": review_id -"/androidpublisher:v2/androidpublisher.reviews.get/translationLanguage": translation_language -"/androidpublisher:v2/androidpublisher.reviews.list": list_reviews -"/androidpublisher:v2/androidpublisher.reviews.list/maxResults": max_results -"/androidpublisher:v2/androidpublisher.reviews.list/packageName": package_name -"/androidpublisher:v2/androidpublisher.reviews.list/startIndex": start_index -"/androidpublisher:v2/androidpublisher.reviews.list/token": token -"/androidpublisher:v2/androidpublisher.reviews.list/translationLanguage": translation_language -"/androidpublisher:v2/androidpublisher.reviews.reply": reply_review -"/androidpublisher:v2/androidpublisher.reviews.reply/packageName": package_name -"/androidpublisher:v2/androidpublisher.reviews.reply/reviewId": review_id +"/androidenterprise:v1/androidenterprise.collectionviewers.delete": delete_collection_viewer +"/androidenterprise:v1/androidenterprise.collectionviewers.get": get_collection_viewer +"/androidenterprise:v1/androidenterprise.collectionviewers.list": list_collection_viewers +"/androidenterprise:v1/androidenterprise.collectionviewers.patch": patch_collection_viewer +"/androidenterprise:v1/androidenterprise.collectionviewers.update": update_collection_viewer +"/androidenterprise:v1/androidenterprise.devices.get": get_device +"/androidenterprise:v1/androidenterprise.devices.get/deviceId": device_id +"/androidenterprise:v1/androidenterprise.devices.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.devices.get/userId": user_id +"/androidenterprise:v1/androidenterprise.devices.getState": get_device_state +"/androidenterprise:v1/androidenterprise.devices.getState/deviceId": device_id +"/androidenterprise:v1/androidenterprise.devices.getState/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.devices.getState/userId": user_id +"/androidenterprise:v1/androidenterprise.devices.list": list_devices +"/androidenterprise:v1/androidenterprise.devices.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.devices.list/userId": user_id +"/androidenterprise:v1/androidenterprise.devices.setState": set_device_state +"/androidenterprise:v1/androidenterprise.devices.setState/deviceId": device_id +"/androidenterprise:v1/androidenterprise.devices.setState/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.devices.setState/userId": user_id +"/androidenterprise:v1/androidenterprise.enterprises.acknowledgeNotificationSet": acknowledge_enterprise_notification_set +"/androidenterprise:v1/androidenterprise.enterprises.acknowledgeNotificationSet/notificationSetId": notification_set_id +"/androidenterprise:v1/androidenterprise.enterprises.completeSignup": complete_enterprise_signup +"/androidenterprise:v1/androidenterprise.enterprises.completeSignup/completionToken": completion_token +"/androidenterprise:v1/androidenterprise.enterprises.completeSignup/enterpriseToken": enterprise_token +"/androidenterprise:v1/androidenterprise.enterprises.createWebToken": create_enterprise_web_token +"/androidenterprise:v1/androidenterprise.enterprises.createWebToken/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.enterprises.delete": delete_enterprise +"/androidenterprise:v1/androidenterprise.enterprises.delete/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.enterprises.enroll": enroll_enterprise +"/androidenterprise:v1/androidenterprise.enterprises.enroll/token": token +"/androidenterprise:v1/androidenterprise.enterprises.generateSignupUrl": generate_enterprise_signup_url +"/androidenterprise:v1/androidenterprise.enterprises.generateSignupUrl/callbackUrl": callback_url +"/androidenterprise:v1/androidenterprise.enterprises.get": get_enterprise +"/androidenterprise:v1/androidenterprise.enterprises.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.enterprises.getAndroidDevicePolicyConfig": get_enterprise_android_device_policy_config +"/androidenterprise:v1/androidenterprise.enterprises.getAndroidDevicePolicyConfig/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.enterprises.getServiceAccount": get_enterprise_service_account +"/androidenterprise:v1/androidenterprise.enterprises.getServiceAccount/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.enterprises.getServiceAccount/keyType": key_type +"/androidenterprise:v1/androidenterprise.enterprises.getStoreLayout": get_enterprise_store_layout +"/androidenterprise:v1/androidenterprise.enterprises.getStoreLayout/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.enterprises.insert": insert_enterprise +"/androidenterprise:v1/androidenterprise.enterprises.insert/token": token +"/androidenterprise:v1/androidenterprise.enterprises.list": list_enterprises +"/androidenterprise:v1/androidenterprise.enterprises.list/domain": domain +"/androidenterprise:v1/androidenterprise.enterprises.pullNotificationSet": pull_enterprise_notification_set +"/androidenterprise:v1/androidenterprise.enterprises.pullNotificationSet/requestMode": request_mode +"/androidenterprise:v1/androidenterprise.enterprises.sendTestPushNotification": send_enterprise_test_push_notification +"/androidenterprise:v1/androidenterprise.enterprises.sendTestPushNotification/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.enterprises.setAccount": set_enterprise_account +"/androidenterprise:v1/androidenterprise.enterprises.setAccount/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.enterprises.setAndroidDevicePolicyConfig": set_enterprise_android_device_policy_config +"/androidenterprise:v1/androidenterprise.enterprises.setAndroidDevicePolicyConfig/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.enterprises.setStoreLayout": set_enterprise_store_layout +"/androidenterprise:v1/androidenterprise.enterprises.setStoreLayout/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.enterprises.unenroll": unenroll_enterprise +"/androidenterprise:v1/androidenterprise.enterprises.unenroll/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.entitlements.delete": delete_entitlement +"/androidenterprise:v1/androidenterprise.entitlements.delete/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.entitlements.delete/entitlementId": entitlement_id +"/androidenterprise:v1/androidenterprise.entitlements.delete/userId": user_id +"/androidenterprise:v1/androidenterprise.entitlements.get": get_entitlement +"/androidenterprise:v1/androidenterprise.entitlements.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.entitlements.get/entitlementId": entitlement_id +"/androidenterprise:v1/androidenterprise.entitlements.get/userId": user_id +"/androidenterprise:v1/androidenterprise.entitlements.list": list_entitlements +"/androidenterprise:v1/androidenterprise.entitlements.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.entitlements.list/userId": user_id +"/androidenterprise:v1/androidenterprise.entitlements.patch": patch_entitlement +"/androidenterprise:v1/androidenterprise.entitlements.patch/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.entitlements.patch/entitlementId": entitlement_id +"/androidenterprise:v1/androidenterprise.entitlements.patch/install": install +"/androidenterprise:v1/androidenterprise.entitlements.patch/userId": user_id +"/androidenterprise:v1/androidenterprise.entitlements.update": update_entitlement +"/androidenterprise:v1/androidenterprise.entitlements.update/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.entitlements.update/entitlementId": entitlement_id +"/androidenterprise:v1/androidenterprise.entitlements.update/install": install +"/androidenterprise:v1/androidenterprise.entitlements.update/userId": user_id +"/androidenterprise:v1/androidenterprise.grouplicenses.get": get_group_license +"/androidenterprise:v1/androidenterprise.grouplicenses.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.grouplicenses.get/groupLicenseId": group_license_id +"/androidenterprise:v1/androidenterprise.grouplicenses.list": list_group_licenses +"/androidenterprise:v1/androidenterprise.grouplicenses.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.grouplicenseusers.list": list_group_license_users +"/androidenterprise:v1/androidenterprise.grouplicenseusers.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.grouplicenseusers.list/groupLicenseId": group_license_id +"/androidenterprise:v1/androidenterprise.installs.delete": delete_install +"/androidenterprise:v1/androidenterprise.installs.delete/deviceId": device_id +"/androidenterprise:v1/androidenterprise.installs.delete/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.installs.delete/installId": install_id +"/androidenterprise:v1/androidenterprise.installs.delete/userId": user_id +"/androidenterprise:v1/androidenterprise.installs.get": get_install +"/androidenterprise:v1/androidenterprise.installs.get/deviceId": device_id +"/androidenterprise:v1/androidenterprise.installs.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.installs.get/installId": install_id +"/androidenterprise:v1/androidenterprise.installs.get/userId": user_id +"/androidenterprise:v1/androidenterprise.installs.list": list_installs +"/androidenterprise:v1/androidenterprise.installs.list/deviceId": device_id +"/androidenterprise:v1/androidenterprise.installs.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.installs.list/userId": user_id +"/androidenterprise:v1/androidenterprise.installs.patch": patch_install +"/androidenterprise:v1/androidenterprise.installs.patch/deviceId": device_id +"/androidenterprise:v1/androidenterprise.installs.patch/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.installs.patch/installId": install_id +"/androidenterprise:v1/androidenterprise.installs.patch/userId": user_id +"/androidenterprise:v1/androidenterprise.installs.update": update_install +"/androidenterprise:v1/androidenterprise.installs.update/deviceId": device_id +"/androidenterprise:v1/androidenterprise.installs.update/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.installs.update/installId": install_id +"/androidenterprise:v1/androidenterprise.installs.update/userId": user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.delete": delete_managedconfigurationsfordevice +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.delete/deviceId": device_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.delete/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.delete/managedConfigurationForDeviceId": managed_configuration_for_device_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.delete/userId": user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.get": get_managedconfigurationsfordevice +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.get/deviceId": device_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.get/managedConfigurationForDeviceId": managed_configuration_for_device_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.get/userId": user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.list": list_managedconfigurationsfordevices +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.list/deviceId": device_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.list/userId": user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.patch": patch_managedconfigurationsfordevice +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.patch/deviceId": device_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.patch/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.patch/managedConfigurationForDeviceId": managed_configuration_for_device_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.patch/userId": user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.update": update_managedconfigurationsfordevice +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.update/deviceId": device_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.update/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.update/managedConfigurationForDeviceId": managed_configuration_for_device_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.update/userId": user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.delete": delete_managedconfigurationsforuser +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.delete/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.delete/managedConfigurationForUserId": managed_configuration_for_user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.delete/userId": user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.get": get_managedconfigurationsforuser +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.get/managedConfigurationForUserId": managed_configuration_for_user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.get/userId": user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.list": list_managedconfigurationsforusers +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.list/userId": user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.patch": patch_managedconfigurationsforuser +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.patch/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.patch/managedConfigurationForUserId": managed_configuration_for_user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.patch/userId": user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.update": update_managedconfigurationsforuser +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.update/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.update/managedConfigurationForUserId": managed_configuration_for_user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.update/userId": user_id +"/androidenterprise:v1/androidenterprise.permissions.get": get_permission +"/androidenterprise:v1/androidenterprise.permissions.get/language": language +"/androidenterprise:v1/androidenterprise.permissions.get/permissionId": permission_id +"/androidenterprise:v1/androidenterprise.products.approve": approve_product +"/androidenterprise:v1/androidenterprise.products.approve/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.products.approve/productId": product_id +"/androidenterprise:v1/androidenterprise.products.generateApprovalUrl": generate_product_approval_url +"/androidenterprise:v1/androidenterprise.products.generateApprovalUrl/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.products.generateApprovalUrl/languageCode": language_code +"/androidenterprise:v1/androidenterprise.products.generateApprovalUrl/productId": product_id +"/androidenterprise:v1/androidenterprise.products.get": get_product +"/androidenterprise:v1/androidenterprise.products.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.products.get/language": language +"/androidenterprise:v1/androidenterprise.products.get/productId": product_id +"/androidenterprise:v1/androidenterprise.products.getAppRestrictionsSchema": get_product_app_restrictions_schema +"/androidenterprise:v1/androidenterprise.products.getAppRestrictionsSchema/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.products.getAppRestrictionsSchema/language": language +"/androidenterprise:v1/androidenterprise.products.getAppRestrictionsSchema/productId": product_id +"/androidenterprise:v1/androidenterprise.products.getPermissions": get_product_permissions +"/androidenterprise:v1/androidenterprise.products.getPermissions/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.products.getPermissions/productId": product_id +"/androidenterprise:v1/androidenterprise.products.list": list_products +"/androidenterprise:v1/androidenterprise.products.list/approved": approved +"/androidenterprise:v1/androidenterprise.products.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.products.list/language": language +"/androidenterprise:v1/androidenterprise.products.list/maxResults": max_results +"/androidenterprise:v1/androidenterprise.products.list/query": query +"/androidenterprise:v1/androidenterprise.products.list/token": token +"/androidenterprise:v1/androidenterprise.products.unapprove": unapprove_product +"/androidenterprise:v1/androidenterprise.products.unapprove/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.products.unapprove/productId": product_id +"/androidenterprise:v1/androidenterprise.products.updatePermissions": update_product_permissions +"/androidenterprise:v1/androidenterprise.serviceaccountkeys.delete": delete_serviceaccountkey +"/androidenterprise:v1/androidenterprise.serviceaccountkeys.delete/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.serviceaccountkeys.delete/keyId": key_id +"/androidenterprise:v1/androidenterprise.serviceaccountkeys.insert": insert_serviceaccountkey +"/androidenterprise:v1/androidenterprise.serviceaccountkeys.insert/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.serviceaccountkeys.list": list_serviceaccountkeys +"/androidenterprise:v1/androidenterprise.serviceaccountkeys.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.delete": delete_storelayoutcluster +"/androidenterprise:v1/androidenterprise.storelayoutclusters.delete/clusterId": cluster_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.delete/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.delete/pageId": page_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.get": get_storelayoutcluster +"/androidenterprise:v1/androidenterprise.storelayoutclusters.get/clusterId": cluster_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.get/pageId": page_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.insert": insert_storelayoutcluster +"/androidenterprise:v1/androidenterprise.storelayoutclusters.insert/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.insert/pageId": page_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.list": list_storelayoutclusters +"/androidenterprise:v1/androidenterprise.storelayoutclusters.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.list/pageId": page_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.patch": patch_storelayoutcluster +"/androidenterprise:v1/androidenterprise.storelayoutclusters.patch/clusterId": cluster_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.patch/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.patch/pageId": page_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.update": update_storelayoutcluster +"/androidenterprise:v1/androidenterprise.storelayoutclusters.update/clusterId": cluster_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.update/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.update/pageId": page_id +"/androidenterprise:v1/androidenterprise.storelayoutpages.delete": delete_storelayoutpage +"/androidenterprise:v1/androidenterprise.storelayoutpages.delete/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutpages.delete/pageId": page_id +"/androidenterprise:v1/androidenterprise.storelayoutpages.get": get_storelayoutpage +"/androidenterprise:v1/androidenterprise.storelayoutpages.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutpages.get/pageId": page_id +"/androidenterprise:v1/androidenterprise.storelayoutpages.insert": insert_storelayoutpage +"/androidenterprise:v1/androidenterprise.storelayoutpages.insert/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutpages.list": list_storelayoutpages +"/androidenterprise:v1/androidenterprise.storelayoutpages.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutpages.patch": patch_storelayoutpage +"/androidenterprise:v1/androidenterprise.storelayoutpages.patch/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutpages.patch/pageId": page_id +"/androidenterprise:v1/androidenterprise.storelayoutpages.update": update_storelayoutpage +"/androidenterprise:v1/androidenterprise.storelayoutpages.update/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutpages.update/pageId": page_id +"/androidenterprise:v1/androidenterprise.users.delete": delete_user +"/androidenterprise:v1/androidenterprise.users.delete/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.users.delete/userId": user_id +"/androidenterprise:v1/androidenterprise.users.generateAuthenticationToken": generate_user_authentication_token +"/androidenterprise:v1/androidenterprise.users.generateAuthenticationToken/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.users.generateAuthenticationToken/userId": user_id +"/androidenterprise:v1/androidenterprise.users.generateToken": generate_user_token +"/androidenterprise:v1/androidenterprise.users.generateToken/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.users.generateToken/userId": user_id +"/androidenterprise:v1/androidenterprise.users.get": get_user +"/androidenterprise:v1/androidenterprise.users.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.users.get/userId": user_id +"/androidenterprise:v1/androidenterprise.users.getAvailableProductSet": get_user_available_product_set +"/androidenterprise:v1/androidenterprise.users.getAvailableProductSet/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.users.getAvailableProductSet/userId": user_id +"/androidenterprise:v1/androidenterprise.users.insert": insert_user +"/androidenterprise:v1/androidenterprise.users.insert/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.users.list": list_users +"/androidenterprise:v1/androidenterprise.users.list/email": email +"/androidenterprise:v1/androidenterprise.users.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.users.patch": patch_user +"/androidenterprise:v1/androidenterprise.users.patch/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.users.patch/userId": user_id +"/androidenterprise:v1/androidenterprise.users.revokeToken": revoke_user_token +"/androidenterprise:v1/androidenterprise.users.revokeToken/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.users.revokeToken/userId": user_id +"/androidenterprise:v1/androidenterprise.users.setAvailableProductSet": set_user_available_product_set +"/androidenterprise:v1/androidenterprise.users.setAvailableProductSet/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.users.setAvailableProductSet/userId": user_id +"/androidenterprise:v1/androidenterprise.users.update": update_user +"/androidenterprise:v1/androidenterprise.users.update/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.users.update/userId": user_id +"/androidenterprise:v1/fields": fields +"/androidenterprise:v1/key": key +"/androidenterprise:v1/quotaUser": quota_user +"/androidenterprise:v1/userIp": user_ip +"/androidmanagement:v1/ApiLevelCondition": api_level_condition +"/androidmanagement:v1/ApiLevelCondition/minApiLevel": min_api_level +"/androidmanagement:v1/Application": application +"/androidmanagement:v1/Application/managedProperties": managed_properties +"/androidmanagement:v1/Application/managedProperties/managed_property": managed_property +"/androidmanagement:v1/Application/name": name +"/androidmanagement:v1/Application/permissions": permissions +"/androidmanagement:v1/Application/permissions/permission": permission +"/androidmanagement:v1/Application/title": title +"/androidmanagement:v1/ApplicationPermission": application_permission +"/androidmanagement:v1/ApplicationPermission/description": description +"/androidmanagement:v1/ApplicationPermission/name": name +"/androidmanagement:v1/ApplicationPermission/permissionId": permission_id +"/androidmanagement:v1/ApplicationPolicy": application_policy +"/androidmanagement:v1/ApplicationPolicy/defaultPermissionPolicy": default_permission_policy +"/androidmanagement:v1/ApplicationPolicy/installType": install_type +"/androidmanagement:v1/ApplicationPolicy/lockTaskAllowed": lock_task_allowed +"/androidmanagement:v1/ApplicationPolicy/managedConfiguration": managed_configuration +"/androidmanagement:v1/ApplicationPolicy/managedConfiguration/managed_configuration": managed_configuration +"/androidmanagement:v1/ApplicationPolicy/packageName": package_name +"/androidmanagement:v1/ApplicationPolicy/permissionGrants": permission_grants +"/androidmanagement:v1/ApplicationPolicy/permissionGrants/permission_grant": permission_grant +"/androidmanagement:v1/Command": command +"/androidmanagement:v1/Command/createTime": create_time +"/androidmanagement:v1/Command/duration": duration +"/androidmanagement:v1/Command/newPassword": new_password +"/androidmanagement:v1/Command/resetPasswordFlags": reset_password_flags +"/androidmanagement:v1/Command/resetPasswordFlags/reset_password_flag": reset_password_flag +"/androidmanagement:v1/Command/type": type +"/androidmanagement:v1/ComplianceRule": compliance_rule +"/androidmanagement:v1/ComplianceRule/apiLevelCondition": api_level_condition +"/androidmanagement:v1/ComplianceRule/disableApps": disable_apps +"/androidmanagement:v1/ComplianceRule/nonComplianceDetailCondition": non_compliance_detail_condition +"/androidmanagement:v1/Device": device +"/androidmanagement:v1/Device/apiLevel": api_level +"/androidmanagement:v1/Device/appliedPolicyName": applied_policy_name +"/androidmanagement:v1/Device/appliedPolicyVersion": applied_policy_version +"/androidmanagement:v1/Device/appliedState": applied_state +"/androidmanagement:v1/Device/disabledReason": disabled_reason +"/androidmanagement:v1/Device/displays": displays +"/androidmanagement:v1/Device/displays/display": display_prop +"/androidmanagement:v1/Device/enrollmentTime": enrollment_time +"/androidmanagement:v1/Device/enrollmentTokenData": enrollment_token_data +"/androidmanagement:v1/Device/enrollmentTokenName": enrollment_token_name +"/androidmanagement:v1/Device/hardwareInfo": hardware_info +"/androidmanagement:v1/Device/hardwareStatusSamples": hardware_status_samples +"/androidmanagement:v1/Device/hardwareStatusSamples/hardware_status_sample": hardware_status_sample +"/androidmanagement:v1/Device/lastOfflineStateChangeTime": last_offline_state_change_time +"/androidmanagement:v1/Device/lastPolicyComplianceReportTime": last_policy_compliance_report_time +"/androidmanagement:v1/Device/lastPolicySyncTime": last_policy_sync_time +"/androidmanagement:v1/Device/lastStatusReportTime": last_status_report_time +"/androidmanagement:v1/Device/memoryEvents": memory_events +"/androidmanagement:v1/Device/memoryEvents/memory_event": memory_event +"/androidmanagement:v1/Device/memoryInfo": memory_info +"/androidmanagement:v1/Device/name": name +"/androidmanagement:v1/Device/networkInfo": network_info +"/androidmanagement:v1/Device/nonComplianceDetails": non_compliance_details +"/androidmanagement:v1/Device/nonComplianceDetails/non_compliance_detail": non_compliance_detail +"/androidmanagement:v1/Device/policyCompliant": policy_compliant +"/androidmanagement:v1/Device/policyName": policy_name +"/androidmanagement:v1/Device/powerManagementEvents": power_management_events +"/androidmanagement:v1/Device/powerManagementEvents/power_management_event": power_management_event +"/androidmanagement:v1/Device/previousDeviceNames": previous_device_names +"/androidmanagement:v1/Device/previousDeviceNames/previous_device_name": previous_device_name +"/androidmanagement:v1/Device/softwareInfo": software_info +"/androidmanagement:v1/Device/state": state +"/androidmanagement:v1/Device/userName": user_name +"/androidmanagement:v1/Display": display_prop +"/androidmanagement:v1/Display/density": density +"/androidmanagement:v1/Display/displayId": display_id +"/androidmanagement:v1/Display/height": height +"/androidmanagement:v1/Display/name": name +"/androidmanagement:v1/Display/refreshRate": refresh_rate +"/androidmanagement:v1/Display/state": state +"/androidmanagement:v1/Display/width": width +"/androidmanagement:v1/Empty": empty +"/androidmanagement:v1/EnrollmentToken": enrollment_token +"/androidmanagement:v1/EnrollmentToken/additionalData": additional_data +"/androidmanagement:v1/EnrollmentToken/duration": duration +"/androidmanagement:v1/EnrollmentToken/expirationTimestamp": expiration_timestamp +"/androidmanagement:v1/EnrollmentToken/name": name +"/androidmanagement:v1/EnrollmentToken/policyName": policy_name +"/androidmanagement:v1/EnrollmentToken/qrCode": qr_code +"/androidmanagement:v1/EnrollmentToken/value": value +"/androidmanagement:v1/Enterprise": enterprise +"/androidmanagement:v1/Enterprise/appAutoApprovalEnabled": app_auto_approval_enabled +"/androidmanagement:v1/Enterprise/enabledNotificationTypes": enabled_notification_types +"/androidmanagement:v1/Enterprise/enabledNotificationTypes/enabled_notification_type": enabled_notification_type +"/androidmanagement:v1/Enterprise/enterpriseDisplayName": enterprise_display_name +"/androidmanagement:v1/Enterprise/logo": logo +"/androidmanagement:v1/Enterprise/name": name +"/androidmanagement:v1/Enterprise/primaryColor": primary_color +"/androidmanagement:v1/Enterprise/pubsubTopic": pubsub_topic +"/androidmanagement:v1/ExternalData": external_data +"/androidmanagement:v1/ExternalData/sha256Hash": sha256_hash +"/androidmanagement:v1/ExternalData/url": url +"/androidmanagement:v1/HardwareInfo": hardware_info +"/androidmanagement:v1/HardwareInfo/batteryShutdownTemperatures": battery_shutdown_temperatures +"/androidmanagement:v1/HardwareInfo/batteryShutdownTemperatures/battery_shutdown_temperature": battery_shutdown_temperature +"/androidmanagement:v1/HardwareInfo/batteryThrottlingTemperatures": battery_throttling_temperatures +"/androidmanagement:v1/HardwareInfo/batteryThrottlingTemperatures/battery_throttling_temperature": battery_throttling_temperature +"/androidmanagement:v1/HardwareInfo/brand": brand +"/androidmanagement:v1/HardwareInfo/cpuShutdownTemperatures": cpu_shutdown_temperatures +"/androidmanagement:v1/HardwareInfo/cpuShutdownTemperatures/cpu_shutdown_temperature": cpu_shutdown_temperature +"/androidmanagement:v1/HardwareInfo/cpuThrottlingTemperatures": cpu_throttling_temperatures +"/androidmanagement:v1/HardwareInfo/cpuThrottlingTemperatures/cpu_throttling_temperature": cpu_throttling_temperature +"/androidmanagement:v1/HardwareInfo/deviceBasebandVersion": device_baseband_version +"/androidmanagement:v1/HardwareInfo/gpuShutdownTemperatures": gpu_shutdown_temperatures +"/androidmanagement:v1/HardwareInfo/gpuShutdownTemperatures/gpu_shutdown_temperature": gpu_shutdown_temperature +"/androidmanagement:v1/HardwareInfo/gpuThrottlingTemperatures": gpu_throttling_temperatures +"/androidmanagement:v1/HardwareInfo/gpuThrottlingTemperatures/gpu_throttling_temperature": gpu_throttling_temperature +"/androidmanagement:v1/HardwareInfo/hardware": hardware +"/androidmanagement:v1/HardwareInfo/manufacturer": manufacturer +"/androidmanagement:v1/HardwareInfo/model": model +"/androidmanagement:v1/HardwareInfo/serialNumber": serial_number +"/androidmanagement:v1/HardwareInfo/skinShutdownTemperatures": skin_shutdown_temperatures +"/androidmanagement:v1/HardwareInfo/skinShutdownTemperatures/skin_shutdown_temperature": skin_shutdown_temperature +"/androidmanagement:v1/HardwareInfo/skinThrottlingTemperatures": skin_throttling_temperatures +"/androidmanagement:v1/HardwareInfo/skinThrottlingTemperatures/skin_throttling_temperature": skin_throttling_temperature +"/androidmanagement:v1/HardwareStatus": hardware_status +"/androidmanagement:v1/HardwareStatus/batteryTemperatures": battery_temperatures +"/androidmanagement:v1/HardwareStatus/batteryTemperatures/battery_temperature": battery_temperature +"/androidmanagement:v1/HardwareStatus/cpuTemperatures": cpu_temperatures +"/androidmanagement:v1/HardwareStatus/cpuTemperatures/cpu_temperature": cpu_temperature +"/androidmanagement:v1/HardwareStatus/cpuUsages": cpu_usages +"/androidmanagement:v1/HardwareStatus/cpuUsages/cpu_usage": cpu_usage +"/androidmanagement:v1/HardwareStatus/createTime": create_time +"/androidmanagement:v1/HardwareStatus/fanSpeeds": fan_speeds +"/androidmanagement:v1/HardwareStatus/fanSpeeds/fan_speed": fan_speed +"/androidmanagement:v1/HardwareStatus/gpuTemperatures": gpu_temperatures +"/androidmanagement:v1/HardwareStatus/gpuTemperatures/gpu_temperature": gpu_temperature +"/androidmanagement:v1/HardwareStatus/skinTemperatures": skin_temperatures +"/androidmanagement:v1/HardwareStatus/skinTemperatures/skin_temperature": skin_temperature +"/androidmanagement:v1/ListDevicesResponse": list_devices_response +"/androidmanagement:v1/ListDevicesResponse/devices": devices +"/androidmanagement:v1/ListDevicesResponse/devices/device": device +"/androidmanagement:v1/ListDevicesResponse/nextPageToken": next_page_token +"/androidmanagement:v1/ListOperationsResponse": list_operations_response +"/androidmanagement:v1/ListOperationsResponse/nextPageToken": next_page_token +"/androidmanagement:v1/ListOperationsResponse/operations": operations +"/androidmanagement:v1/ListOperationsResponse/operations/operation": operation +"/androidmanagement:v1/ListPoliciesResponse": list_policies_response +"/androidmanagement:v1/ListPoliciesResponse/nextPageToken": next_page_token +"/androidmanagement:v1/ListPoliciesResponse/policies": policies +"/androidmanagement:v1/ListPoliciesResponse/policies/policy": policy +"/androidmanagement:v1/ManagedProperty": managed_property +"/androidmanagement:v1/ManagedProperty/defaultValue": default_value +"/androidmanagement:v1/ManagedProperty/description": description +"/androidmanagement:v1/ManagedProperty/entries": entries +"/androidmanagement:v1/ManagedProperty/entries/entry": entry +"/androidmanagement:v1/ManagedProperty/key": key +"/androidmanagement:v1/ManagedProperty/nestedProperties": nested_properties +"/androidmanagement:v1/ManagedProperty/nestedProperties/nested_property": nested_property +"/androidmanagement:v1/ManagedProperty/title": title +"/androidmanagement:v1/ManagedProperty/type": type +"/androidmanagement:v1/ManagedPropertyEntry": managed_property_entry +"/androidmanagement:v1/ManagedPropertyEntry/name": name +"/androidmanagement:v1/ManagedPropertyEntry/value": value +"/androidmanagement:v1/MemoryEvent": memory_event +"/androidmanagement:v1/MemoryEvent/byteCount": byte_count +"/androidmanagement:v1/MemoryEvent/createTime": create_time +"/androidmanagement:v1/MemoryEvent/eventType": event_type +"/androidmanagement:v1/MemoryInfo": memory_info +"/androidmanagement:v1/MemoryInfo/totalInternalStorage": total_internal_storage +"/androidmanagement:v1/MemoryInfo/totalRam": total_ram +"/androidmanagement:v1/NetworkInfo": network_info +"/androidmanagement:v1/NetworkInfo/imei": imei +"/androidmanagement:v1/NetworkInfo/meid": meid +"/androidmanagement:v1/NetworkInfo/wifiMacAddress": wifi_mac_address +"/androidmanagement:v1/NonComplianceDetail": non_compliance_detail +"/androidmanagement:v1/NonComplianceDetail/currentValue": current_value +"/androidmanagement:v1/NonComplianceDetail/fieldPath": field_path +"/androidmanagement:v1/NonComplianceDetail/installationFailureReason": installation_failure_reason +"/androidmanagement:v1/NonComplianceDetail/nonComplianceReason": non_compliance_reason +"/androidmanagement:v1/NonComplianceDetail/packageName": package_name +"/androidmanagement:v1/NonComplianceDetail/settingName": setting_name +"/androidmanagement:v1/NonComplianceDetailCondition": non_compliance_detail_condition +"/androidmanagement:v1/NonComplianceDetailCondition/nonComplianceReason": non_compliance_reason +"/androidmanagement:v1/NonComplianceDetailCondition/packageName": package_name +"/androidmanagement:v1/NonComplianceDetailCondition/settingName": setting_name +"/androidmanagement:v1/Operation": operation +"/androidmanagement:v1/Operation/done": done +"/androidmanagement:v1/Operation/error": error +"/androidmanagement:v1/Operation/metadata": metadata +"/androidmanagement:v1/Operation/metadata/metadatum": metadatum +"/androidmanagement:v1/Operation/name": name +"/androidmanagement:v1/Operation/response": response +"/androidmanagement:v1/Operation/response/response": response +"/androidmanagement:v1/PasswordRequirements": password_requirements +"/androidmanagement:v1/PasswordRequirements/maximumFailedPasswordsForWipe": maximum_failed_passwords_for_wipe +"/androidmanagement:v1/PasswordRequirements/passwordExpirationTimeout": password_expiration_timeout +"/androidmanagement:v1/PasswordRequirements/passwordHistoryLength": password_history_length +"/androidmanagement:v1/PasswordRequirements/passwordMinimumLength": password_minimum_length +"/androidmanagement:v1/PasswordRequirements/passwordMinimumLetters": password_minimum_letters +"/androidmanagement:v1/PasswordRequirements/passwordMinimumLowerCase": password_minimum_lower_case +"/androidmanagement:v1/PasswordRequirements/passwordMinimumNonLetter": password_minimum_non_letter +"/androidmanagement:v1/PasswordRequirements/passwordMinimumNumeric": password_minimum_numeric +"/androidmanagement:v1/PasswordRequirements/passwordMinimumSymbols": password_minimum_symbols +"/androidmanagement:v1/PasswordRequirements/passwordMinimumUpperCase": password_minimum_upper_case +"/androidmanagement:v1/PasswordRequirements/passwordQuality": password_quality +"/androidmanagement:v1/PermissionGrant": permission_grant +"/androidmanagement:v1/PermissionGrant/permission": permission +"/androidmanagement:v1/PermissionGrant/policy": policy +"/androidmanagement:v1/PersistentPreferredActivity": persistent_preferred_activity +"/androidmanagement:v1/PersistentPreferredActivity/actions": actions +"/androidmanagement:v1/PersistentPreferredActivity/actions/action": action +"/androidmanagement:v1/PersistentPreferredActivity/categories": categories +"/androidmanagement:v1/PersistentPreferredActivity/categories/category": category +"/androidmanagement:v1/PersistentPreferredActivity/receiverActivity": receiver_activity +"/androidmanagement:v1/Policy": policy +"/androidmanagement:v1/Policy/addUserDisabled": add_user_disabled +"/androidmanagement:v1/Policy/adjustVolumeDisabled": adjust_volume_disabled +"/androidmanagement:v1/Policy/applications": applications +"/androidmanagement:v1/Policy/applications/application": application +"/androidmanagement:v1/Policy/blockApplicationsEnabled": block_applications_enabled +"/androidmanagement:v1/Policy/cameraDisabled": camera_disabled +"/androidmanagement:v1/Policy/complianceRules": compliance_rules +"/androidmanagement:v1/Policy/complianceRules/compliance_rule": compliance_rule +"/androidmanagement:v1/Policy/debuggingFeaturesAllowed": debugging_features_allowed +"/androidmanagement:v1/Policy/defaultPermissionPolicy": default_permission_policy +"/androidmanagement:v1/Policy/factoryResetDisabled": factory_reset_disabled +"/androidmanagement:v1/Policy/frpAdminEmails": frp_admin_emails +"/androidmanagement:v1/Policy/frpAdminEmails/frp_admin_email": frp_admin_email +"/androidmanagement:v1/Policy/funDisabled": fun_disabled +"/androidmanagement:v1/Policy/installUnknownSourcesAllowed": install_unknown_sources_allowed +"/androidmanagement:v1/Policy/keyguardDisabled": keyguard_disabled +"/androidmanagement:v1/Policy/maximumTimeToLock": maximum_time_to_lock +"/androidmanagement:v1/Policy/modifyAccountsDisabled": modify_accounts_disabled +"/androidmanagement:v1/Policy/name": name +"/androidmanagement:v1/Policy/networkEscapeHatchEnabled": network_escape_hatch_enabled +"/androidmanagement:v1/Policy/openNetworkConfiguration": open_network_configuration +"/androidmanagement:v1/Policy/openNetworkConfiguration/open_network_configuration": open_network_configuration +"/androidmanagement:v1/Policy/passwordRequirements": password_requirements +"/androidmanagement:v1/Policy/persistentPreferredActivities": persistent_preferred_activities +"/androidmanagement:v1/Policy/persistentPreferredActivities/persistent_preferred_activity": persistent_preferred_activity +"/androidmanagement:v1/Policy/removeUserDisabled": remove_user_disabled +"/androidmanagement:v1/Policy/safeBootDisabled": safe_boot_disabled +"/androidmanagement:v1/Policy/screenCaptureDisabled": screen_capture_disabled +"/androidmanagement:v1/Policy/statusBarDisabled": status_bar_disabled +"/androidmanagement:v1/Policy/statusReportingSettings": status_reporting_settings +"/androidmanagement:v1/Policy/stayOnPluggedModes": stay_on_plugged_modes +"/androidmanagement:v1/Policy/stayOnPluggedModes/stay_on_plugged_mode": stay_on_plugged_mode +"/androidmanagement:v1/Policy/systemUpdate": system_update +"/androidmanagement:v1/Policy/unmuteMicrophoneDisabled": unmute_microphone_disabled +"/androidmanagement:v1/Policy/version": version +"/androidmanagement:v1/PowerManagementEvent": power_management_event +"/androidmanagement:v1/PowerManagementEvent/batteryLevel": battery_level +"/androidmanagement:v1/PowerManagementEvent/createTime": create_time +"/androidmanagement:v1/PowerManagementEvent/eventType": event_type +"/androidmanagement:v1/SignupUrl": signup_url +"/androidmanagement:v1/SignupUrl/name": name +"/androidmanagement:v1/SignupUrl/url": url +"/androidmanagement:v1/SoftwareInfo": software_info +"/androidmanagement:v1/SoftwareInfo/androidBuildNumber": android_build_number +"/androidmanagement:v1/SoftwareInfo/androidBuildTime": android_build_time +"/androidmanagement:v1/SoftwareInfo/androidVersion": android_version +"/androidmanagement:v1/SoftwareInfo/bootloaderVersion": bootloader_version +"/androidmanagement:v1/SoftwareInfo/deviceKernelVersion": device_kernel_version +"/androidmanagement:v1/SoftwareInfo/securityPatchLevel": security_patch_level +"/androidmanagement:v1/Status": status +"/androidmanagement:v1/Status/code": code +"/androidmanagement:v1/Status/details": details +"/androidmanagement:v1/Status/details/detail": detail +"/androidmanagement:v1/Status/details/detail/detail": detail +"/androidmanagement:v1/Status/message": message +"/androidmanagement:v1/StatusReportingSettings": status_reporting_settings +"/androidmanagement:v1/StatusReportingSettings/displayInfoEnabled": display_info_enabled +"/androidmanagement:v1/StatusReportingSettings/hardwareStatusEnabled": hardware_status_enabled +"/androidmanagement:v1/StatusReportingSettings/memoryInfoEnabled": memory_info_enabled +"/androidmanagement:v1/StatusReportingSettings/networkInfoEnabled": network_info_enabled +"/androidmanagement:v1/StatusReportingSettings/powerManagementEventsEnabled": power_management_events_enabled +"/androidmanagement:v1/StatusReportingSettings/softwareInfoEnabled": software_info_enabled +"/androidmanagement:v1/SystemUpdate": system_update +"/androidmanagement:v1/SystemUpdate/endMinutes": end_minutes +"/androidmanagement:v1/SystemUpdate/startMinutes": start_minutes +"/androidmanagement:v1/SystemUpdate/type": type +"/androidmanagement:v1/UserFacingMessage": user_facing_message +"/androidmanagement:v1/UserFacingMessage/defaultMessage": default_message +"/androidmanagement:v1/UserFacingMessage/localizedMessages": localized_messages +"/androidmanagement:v1/UserFacingMessage/localizedMessages/localized_message": localized_message +"/androidmanagement:v1/WebToken": web_token +"/androidmanagement:v1/WebToken/name": name +"/androidmanagement:v1/WebToken/parentFrameUrl": parent_frame_url +"/androidmanagement:v1/WebToken/permissions": permissions +"/androidmanagement:v1/WebToken/permissions/permission": permission +"/androidmanagement:v1/WebToken/value": value +"/androidmanagement:v1/androidmanagement.enterprises.applications.get": get_enterprise_application +"/androidmanagement:v1/androidmanagement.enterprises.applications.get/languageCode": language_code +"/androidmanagement:v1/androidmanagement.enterprises.applications.get/name": name +"/androidmanagement:v1/androidmanagement.enterprises.create": create_enterprise +"/androidmanagement:v1/androidmanagement.enterprises.create/enterpriseToken": enterprise_token +"/androidmanagement:v1/androidmanagement.enterprises.create/projectId": project_id +"/androidmanagement:v1/androidmanagement.enterprises.create/signupUrlName": signup_url_name +"/androidmanagement:v1/androidmanagement.enterprises.devices.delete": delete_enterprise_device +"/androidmanagement:v1/androidmanagement.enterprises.devices.delete/name": name +"/androidmanagement:v1/androidmanagement.enterprises.devices.get": get_enterprise_device +"/androidmanagement:v1/androidmanagement.enterprises.devices.get/name": name +"/androidmanagement:v1/androidmanagement.enterprises.devices.issueCommand": issue_enterprise_device_command +"/androidmanagement:v1/androidmanagement.enterprises.devices.issueCommand/name": name +"/androidmanagement:v1/androidmanagement.enterprises.devices.list": list_enterprise_devices +"/androidmanagement:v1/androidmanagement.enterprises.devices.list/pageSize": page_size +"/androidmanagement:v1/androidmanagement.enterprises.devices.list/pageToken": page_token +"/androidmanagement:v1/androidmanagement.enterprises.devices.list/parent": parent +"/androidmanagement:v1/androidmanagement.enterprises.devices.operations.cancel": cancel_enterprise_device_operation +"/androidmanagement:v1/androidmanagement.enterprises.devices.operations.cancel/name": name +"/androidmanagement:v1/androidmanagement.enterprises.devices.operations.delete": delete_enterprise_device_operation +"/androidmanagement:v1/androidmanagement.enterprises.devices.operations.delete/name": name +"/androidmanagement:v1/androidmanagement.enterprises.devices.operations.get": get_enterprise_device_operation +"/androidmanagement:v1/androidmanagement.enterprises.devices.operations.get/name": name +"/androidmanagement:v1/androidmanagement.enterprises.devices.operations.list": list_enterprise_device_operations +"/androidmanagement:v1/androidmanagement.enterprises.devices.operations.list/filter": filter +"/androidmanagement:v1/androidmanagement.enterprises.devices.operations.list/name": name +"/androidmanagement:v1/androidmanagement.enterprises.devices.operations.list/pageSize": page_size +"/androidmanagement:v1/androidmanagement.enterprises.devices.operations.list/pageToken": page_token +"/androidmanagement:v1/androidmanagement.enterprises.devices.patch": patch_enterprise_device +"/androidmanagement:v1/androidmanagement.enterprises.devices.patch/name": name +"/androidmanagement:v1/androidmanagement.enterprises.devices.patch/updateMask": update_mask +"/androidmanagement:v1/androidmanagement.enterprises.enrollmentTokens.create": create_enterprise_enrollment_token +"/androidmanagement:v1/androidmanagement.enterprises.enrollmentTokens.create/parent": parent +"/androidmanagement:v1/androidmanagement.enterprises.enrollmentTokens.delete": delete_enterprise_enrollment_token +"/androidmanagement:v1/androidmanagement.enterprises.enrollmentTokens.delete/name": name +"/androidmanagement:v1/androidmanagement.enterprises.get": get_enterprise +"/androidmanagement:v1/androidmanagement.enterprises.get/name": name +"/androidmanagement:v1/androidmanagement.enterprises.patch": patch_enterprise +"/androidmanagement:v1/androidmanagement.enterprises.patch/name": name +"/androidmanagement:v1/androidmanagement.enterprises.patch/updateMask": update_mask +"/androidmanagement:v1/androidmanagement.enterprises.policies.delete": delete_enterprise_policy +"/androidmanagement:v1/androidmanagement.enterprises.policies.delete/name": name +"/androidmanagement:v1/androidmanagement.enterprises.policies.get": get_enterprise_policy +"/androidmanagement:v1/androidmanagement.enterprises.policies.get/name": name +"/androidmanagement:v1/androidmanagement.enterprises.policies.list": list_enterprise_policies +"/androidmanagement:v1/androidmanagement.enterprises.policies.list/pageSize": page_size +"/androidmanagement:v1/androidmanagement.enterprises.policies.list/pageToken": page_token +"/androidmanagement:v1/androidmanagement.enterprises.policies.list/parent": parent +"/androidmanagement:v1/androidmanagement.enterprises.policies.patch": patch_enterprise_policy +"/androidmanagement:v1/androidmanagement.enterprises.policies.patch/name": name +"/androidmanagement:v1/androidmanagement.enterprises.policies.patch/updateMask": update_mask +"/androidmanagement:v1/androidmanagement.enterprises.webTokens.create": create_enterprise_web_token +"/androidmanagement:v1/androidmanagement.enterprises.webTokens.create/parent": parent +"/androidmanagement:v1/androidmanagement.signupUrls.create": create_signup_url +"/androidmanagement:v1/androidmanagement.signupUrls.create/callbackUrl": callback_url +"/androidmanagement:v1/androidmanagement.signupUrls.create/projectId": project_id +"/androidmanagement:v1/fields": fields +"/androidmanagement:v1/key": key +"/androidmanagement:v1/quotaUser": quota_user "/androidpublisher:v2/Apk": apk "/androidpublisher:v2/Apk/binary": binary "/androidpublisher:v2/Apk/versionCode": version_code "/androidpublisher:v2/ApkBinary": apk_binary "/androidpublisher:v2/ApkBinary/sha1": sha1 +"/androidpublisher:v2/ApkBinary/sha256": sha256 "/androidpublisher:v2/ApkListing": apk_listing "/androidpublisher:v2/ApkListing/language": language "/androidpublisher:v2/ApkListing/recentChanges": recent_changes +"/androidpublisher:v2/ApkListingsListResponse": list_apk_listings_response "/androidpublisher:v2/ApkListingsListResponse/kind": kind "/androidpublisher:v2/ApkListingsListResponse/listings": listings "/androidpublisher:v2/ApkListingsListResponse/listings/listing": listing +"/androidpublisher:v2/ApksAddExternallyHostedRequest": apks_add_externally_hosted_request "/androidpublisher:v2/ApksAddExternallyHostedRequest/externallyHostedApk": externally_hosted_apk +"/androidpublisher:v2/ApksAddExternallyHostedResponse": apks_add_externally_hosted_response "/androidpublisher:v2/ApksAddExternallyHostedResponse/externallyHostedApk": externally_hosted_apk +"/androidpublisher:v2/ApksListResponse": list_apks_response "/androidpublisher:v2/ApksListResponse/apks": apks "/androidpublisher:v2/ApksListResponse/apks/apk": apk "/androidpublisher:v2/ApksListResponse/kind": kind @@ -10423,6 +5234,7 @@ "/androidpublisher:v2/Entitlement/productId": product_id "/androidpublisher:v2/Entitlement/productType": product_type "/androidpublisher:v2/Entitlement/token": token +"/androidpublisher:v2/EntitlementsListResponse": list_entitlements_response "/androidpublisher:v2/EntitlementsListResponse/pageInfo": page_info "/androidpublisher:v2/EntitlementsListResponse/resources": resources "/androidpublisher:v2/EntitlementsListResponse/resources/resource": resource @@ -10430,6 +5242,7 @@ "/androidpublisher:v2/ExpansionFile": expansion_file "/androidpublisher:v2/ExpansionFile/fileSize": file_size "/androidpublisher:v2/ExpansionFile/referencesVersion": references_version +"/androidpublisher:v2/ExpansionFilesUploadResponse": upload_expansion_files_response "/androidpublisher:v2/ExpansionFilesUploadResponse/expansionFile": expansion_file "/androidpublisher:v2/ExternallyHostedApk": externally_hosted_apk "/androidpublisher:v2/ExternallyHostedApk/applicationLabel": application_label @@ -10458,10 +5271,13 @@ "/androidpublisher:v2/Image/id": id "/androidpublisher:v2/Image/sha1": sha1 "/androidpublisher:v2/Image/url": url +"/androidpublisher:v2/ImagesDeleteAllResponse": delete_all_images_response "/androidpublisher:v2/ImagesDeleteAllResponse/deleted": deleted "/androidpublisher:v2/ImagesDeleteAllResponse/deleted/deleted": deleted +"/androidpublisher:v2/ImagesListResponse": list_images_response "/androidpublisher:v2/ImagesListResponse/images": images "/androidpublisher:v2/ImagesListResponse/images/image": image +"/androidpublisher:v2/ImagesUploadResponse": upload_images_response "/androidpublisher:v2/ImagesUploadResponse/image": image "/androidpublisher:v2/InAppProduct": in_app_product "/androidpublisher:v2/InAppProduct/defaultLanguage": default_language @@ -10480,26 +5296,35 @@ "/androidpublisher:v2/InAppProductListing": in_app_product_listing "/androidpublisher:v2/InAppProductListing/description": description "/androidpublisher:v2/InAppProductListing/title": title +"/androidpublisher:v2/InappproductsBatchRequest": in_app_products_batch_request "/androidpublisher:v2/InappproductsBatchRequest/entrys": entrys "/androidpublisher:v2/InappproductsBatchRequest/entrys/entry": entry +"/androidpublisher:v2/InappproductsBatchRequestEntry": in_app_products_batch_request_entry "/androidpublisher:v2/InappproductsBatchRequestEntry/batchId": batch_id "/androidpublisher:v2/InappproductsBatchRequestEntry/inappproductsinsertrequest": inappproductsinsertrequest "/androidpublisher:v2/InappproductsBatchRequestEntry/inappproductsupdaterequest": inappproductsupdaterequest "/androidpublisher:v2/InappproductsBatchRequestEntry/methodName": method_name +"/androidpublisher:v2/InappproductsBatchResponse": in_app_products_batch_response "/androidpublisher:v2/InappproductsBatchResponse/entrys": entrys "/androidpublisher:v2/InappproductsBatchResponse/entrys/entry": entry "/androidpublisher:v2/InappproductsBatchResponse/kind": kind +"/androidpublisher:v2/InappproductsBatchResponseEntry": in_app_products_batch_response_entry "/androidpublisher:v2/InappproductsBatchResponseEntry/batchId": batch_id "/androidpublisher:v2/InappproductsBatchResponseEntry/inappproductsinsertresponse": inappproductsinsertresponse "/androidpublisher:v2/InappproductsBatchResponseEntry/inappproductsupdateresponse": inappproductsupdateresponse +"/androidpublisher:v2/InappproductsInsertRequest": insert_in_app_products_request "/androidpublisher:v2/InappproductsInsertRequest/inappproduct": inappproduct +"/androidpublisher:v2/InappproductsInsertResponse": insert_in_app_products_response "/androidpublisher:v2/InappproductsInsertResponse/inappproduct": inappproduct +"/androidpublisher:v2/InappproductsListResponse": list_in_app_products_response "/androidpublisher:v2/InappproductsListResponse/inappproduct": inappproduct "/androidpublisher:v2/InappproductsListResponse/inappproduct/inappproduct": inappproduct "/androidpublisher:v2/InappproductsListResponse/kind": kind "/androidpublisher:v2/InappproductsListResponse/pageInfo": page_info "/androidpublisher:v2/InappproductsListResponse/tokenPagination": token_pagination +"/androidpublisher:v2/InappproductsUpdateRequest": update_in_app_products_request "/androidpublisher:v2/InappproductsUpdateRequest/inappproduct": inappproduct +"/androidpublisher:v2/InappproductsUpdateResponse": update_in_app_products_response "/androidpublisher:v2/InappproductsUpdateResponse/inappproduct": inappproduct "/androidpublisher:v2/Listing": listing "/androidpublisher:v2/Listing/fullDescription": full_description @@ -10507,6 +5332,7 @@ "/androidpublisher:v2/Listing/shortDescription": short_description "/androidpublisher:v2/Listing/title": title "/androidpublisher:v2/Listing/video": video +"/androidpublisher:v2/ListingsListResponse": list_listings_response "/androidpublisher:v2/ListingsListResponse/kind": kind "/androidpublisher:v2/ListingsListResponse/listings": listings "/androidpublisher:v2/ListingsListResponse/listings/listing": listing @@ -10524,6 +5350,7 @@ "/androidpublisher:v2/ProductPurchase/consumptionState": consumption_state "/androidpublisher:v2/ProductPurchase/developerPayload": developer_payload "/androidpublisher:v2/ProductPurchase/kind": kind +"/androidpublisher:v2/ProductPurchase/orderId": order_id "/androidpublisher:v2/ProductPurchase/purchaseState": purchase_state "/androidpublisher:v2/ProductPurchase/purchaseTimeMillis": purchase_time_millis "/androidpublisher:v2/Prorate": prorate @@ -10561,12 +5388,15 @@ "/androidpublisher:v2/SubscriptionPurchase/developerPayload": developer_payload "/androidpublisher:v2/SubscriptionPurchase/expiryTimeMillis": expiry_time_millis "/androidpublisher:v2/SubscriptionPurchase/kind": kind +"/androidpublisher:v2/SubscriptionPurchase/orderId": order_id "/androidpublisher:v2/SubscriptionPurchase/paymentState": payment_state "/androidpublisher:v2/SubscriptionPurchase/priceAmountMicros": price_amount_micros "/androidpublisher:v2/SubscriptionPurchase/priceCurrencyCode": price_currency_code "/androidpublisher:v2/SubscriptionPurchase/startTimeMillis": start_time_millis "/androidpublisher:v2/SubscriptionPurchase/userCancellationTimeMillis": user_cancellation_time_millis +"/androidpublisher:v2/SubscriptionPurchasesDeferRequest": defer_subscription_purchases_request "/androidpublisher:v2/SubscriptionPurchasesDeferRequest/deferralInfo": deferral_info +"/androidpublisher:v2/SubscriptionPurchasesDeferResponse": defer_subscription_purchases_response "/androidpublisher:v2/SubscriptionPurchasesDeferResponse/newExpiryTimeMillis": new_expiry_time_millis "/androidpublisher:v2/Testers": testers "/androidpublisher:v2/Testers/googleGroups": google_groups @@ -10584,6 +5414,7 @@ "/androidpublisher:v2/Track/userFraction": user_fraction "/androidpublisher:v2/Track/versionCodes": version_codes "/androidpublisher:v2/Track/versionCodes/version_code": version_code +"/androidpublisher:v2/TracksListResponse": list_tracks_response "/androidpublisher:v2/TracksListResponse/kind": kind "/androidpublisher:v2/TracksListResponse/tracks": tracks "/androidpublisher:v2/TracksListResponse/tracks/track": track @@ -10610,409 +5441,633 @@ "/androidpublisher:v2/VoidedPurchasesListResponse/tokenPagination": token_pagination "/androidpublisher:v2/VoidedPurchasesListResponse/voidedPurchases": voided_purchases "/androidpublisher:v2/VoidedPurchasesListResponse/voidedPurchases/voided_purchase": voided_purchase -"/appengine:v1/fields": fields -"/appengine:v1/key": key -"/appengine:v1/quotaUser": quota_user -"/appengine:v1/appengine.apps.repair": repair_application -"/appengine:v1/appengine.apps.repair/appsId": apps_id -"/appengine:v1/appengine.apps.patch": patch_app -"/appengine:v1/appengine.apps.patch/appsId": apps_id -"/appengine:v1/appengine.apps.patch/updateMask": update_mask -"/appengine:v1/appengine.apps.get": get_app -"/appengine:v1/appengine.apps.get/appsId": apps_id -"/appengine:v1/appengine.apps.create": create_app -"/appengine:v1/appengine.apps.operations.get": get_app_operation -"/appengine:v1/appengine.apps.operations.get/appsId": apps_id -"/appengine:v1/appengine.apps.operations.get/operationsId": operations_id -"/appengine:v1/appengine.apps.operations.list": list_app_operations -"/appengine:v1/appengine.apps.operations.list/pageSize": page_size -"/appengine:v1/appengine.apps.operations.list/filter": filter -"/appengine:v1/appengine.apps.operations.list/pageToken": page_token -"/appengine:v1/appengine.apps.operations.list/appsId": apps_id -"/appengine:v1/appengine.apps.locations.get": get_app_location -"/appengine:v1/appengine.apps.locations.get/appsId": apps_id -"/appengine:v1/appengine.apps.locations.get/locationsId": locations_id -"/appengine:v1/appengine.apps.locations.list": list_app_locations -"/appengine:v1/appengine.apps.locations.list/filter": filter -"/appengine:v1/appengine.apps.locations.list/pageToken": page_token -"/appengine:v1/appengine.apps.locations.list/appsId": apps_id -"/appengine:v1/appengine.apps.locations.list/pageSize": page_size -"/appengine:v1/appengine.apps.services.delete": delete_app_service -"/appengine:v1/appengine.apps.services.delete/servicesId": services_id -"/appengine:v1/appengine.apps.services.delete/appsId": apps_id -"/appengine:v1/appengine.apps.services.patch": patch_app_service -"/appengine:v1/appengine.apps.services.patch/updateMask": update_mask -"/appengine:v1/appengine.apps.services.patch/servicesId": services_id -"/appengine:v1/appengine.apps.services.patch/appsId": apps_id -"/appengine:v1/appengine.apps.services.patch/migrateTraffic": migrate_traffic -"/appengine:v1/appengine.apps.services.get": get_app_service -"/appengine:v1/appengine.apps.services.get/servicesId": services_id -"/appengine:v1/appengine.apps.services.get/appsId": apps_id -"/appengine:v1/appengine.apps.services.list": list_app_services -"/appengine:v1/appengine.apps.services.list/pageToken": page_token -"/appengine:v1/appengine.apps.services.list/appsId": apps_id -"/appengine:v1/appengine.apps.services.list/pageSize": page_size -"/appengine:v1/appengine.apps.services.versions.create": create_app_service_version -"/appengine:v1/appengine.apps.services.versions.create/servicesId": services_id -"/appengine:v1/appengine.apps.services.versions.create/appsId": apps_id -"/appengine:v1/appengine.apps.services.versions.delete": delete_app_service_version -"/appengine:v1/appengine.apps.services.versions.delete/servicesId": services_id -"/appengine:v1/appengine.apps.services.versions.delete/appsId": apps_id -"/appengine:v1/appengine.apps.services.versions.delete/versionsId": versions_id -"/appengine:v1/appengine.apps.services.versions.patch": patch_app_service_version -"/appengine:v1/appengine.apps.services.versions.patch/updateMask": update_mask -"/appengine:v1/appengine.apps.services.versions.patch/servicesId": services_id -"/appengine:v1/appengine.apps.services.versions.patch/appsId": apps_id -"/appengine:v1/appengine.apps.services.versions.patch/versionsId": versions_id -"/appengine:v1/appengine.apps.services.versions.get": get_app_service_version -"/appengine:v1/appengine.apps.services.versions.get/view": view -"/appengine:v1/appengine.apps.services.versions.get/versionsId": versions_id -"/appengine:v1/appengine.apps.services.versions.get/servicesId": services_id -"/appengine:v1/appengine.apps.services.versions.get/appsId": apps_id -"/appengine:v1/appengine.apps.services.versions.list": list_app_service_versions -"/appengine:v1/appengine.apps.services.versions.list/servicesId": services_id -"/appengine:v1/appengine.apps.services.versions.list/pageToken": page_token -"/appengine:v1/appengine.apps.services.versions.list/appsId": apps_id -"/appengine:v1/appengine.apps.services.versions.list/pageSize": page_size -"/appengine:v1/appengine.apps.services.versions.list/view": view -"/appengine:v1/appengine.apps.services.versions.instances.delete": delete_app_service_version_instance -"/appengine:v1/appengine.apps.services.versions.instances.delete/servicesId": services_id -"/appengine:v1/appengine.apps.services.versions.instances.delete/instancesId": instances_id -"/appengine:v1/appengine.apps.services.versions.instances.delete/appsId": apps_id -"/appengine:v1/appengine.apps.services.versions.instances.delete/versionsId": versions_id -"/appengine:v1/appengine.apps.services.versions.instances.get": get_app_service_version_instance -"/appengine:v1/appengine.apps.services.versions.instances.get/servicesId": services_id -"/appengine:v1/appengine.apps.services.versions.instances.get/instancesId": instances_id -"/appengine:v1/appengine.apps.services.versions.instances.get/appsId": apps_id -"/appengine:v1/appengine.apps.services.versions.instances.get/versionsId": versions_id -"/appengine:v1/appengine.apps.services.versions.instances.list": list_app_service_version_instances -"/appengine:v1/appengine.apps.services.versions.instances.list/servicesId": services_id -"/appengine:v1/appengine.apps.services.versions.instances.list/pageToken": page_token -"/appengine:v1/appengine.apps.services.versions.instances.list/appsId": apps_id -"/appengine:v1/appengine.apps.services.versions.instances.list/pageSize": page_size -"/appengine:v1/appengine.apps.services.versions.instances.list/versionsId": versions_id -"/appengine:v1/appengine.apps.services.versions.instances.debug": debug_instance -"/appengine:v1/appengine.apps.services.versions.instances.debug/versionsId": versions_id -"/appengine:v1/appengine.apps.services.versions.instances.debug/servicesId": services_id -"/appengine:v1/appengine.apps.services.versions.instances.debug/instancesId": instances_id -"/appengine:v1/appengine.apps.services.versions.instances.debug/appsId": apps_id +"/androidpublisher:v2/androidpublisher.edits.apklistings.delete": delete_apk_listing +"/androidpublisher:v2/androidpublisher.edits.apklistings.delete/apkVersionCode": apk_version_code +"/androidpublisher:v2/androidpublisher.edits.apklistings.delete/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.apklistings.delete/language": language +"/androidpublisher:v2/androidpublisher.edits.apklistings.delete/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.apklistings.deleteall": delete_all_apk_listings +"/androidpublisher:v2/androidpublisher.edits.apklistings.deleteall/apkVersionCode": apk_version_code +"/androidpublisher:v2/androidpublisher.edits.apklistings.deleteall/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.apklistings.deleteall/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.apklistings.get": get_apk_listing +"/androidpublisher:v2/androidpublisher.edits.apklistings.get/apkVersionCode": apk_version_code +"/androidpublisher:v2/androidpublisher.edits.apklistings.get/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.apklistings.get/language": language +"/androidpublisher:v2/androidpublisher.edits.apklistings.get/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.apklistings.list": list_apk_listings +"/androidpublisher:v2/androidpublisher.edits.apklistings.list/apkVersionCode": apk_version_code +"/androidpublisher:v2/androidpublisher.edits.apklistings.list/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.apklistings.list/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.apklistings.patch": patch_apk_listing +"/androidpublisher:v2/androidpublisher.edits.apklistings.patch/apkVersionCode": apk_version_code +"/androidpublisher:v2/androidpublisher.edits.apklistings.patch/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.apklistings.patch/language": language +"/androidpublisher:v2/androidpublisher.edits.apklistings.patch/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.apklistings.update": update_apk_listing +"/androidpublisher:v2/androidpublisher.edits.apklistings.update/apkVersionCode": apk_version_code +"/androidpublisher:v2/androidpublisher.edits.apklistings.update/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.apklistings.update/language": language +"/androidpublisher:v2/androidpublisher.edits.apklistings.update/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.apks.addexternallyhosted": add_externally_hosted_apk +"/androidpublisher:v2/androidpublisher.edits.apks.addexternallyhosted/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.apks.addexternallyhosted/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.apks.list": list_apks +"/androidpublisher:v2/androidpublisher.edits.apks.list/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.apks.list/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.apks.upload": upload_apk +"/androidpublisher:v2/androidpublisher.edits.apks.upload/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.apks.upload/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.commit": commit_edit +"/androidpublisher:v2/androidpublisher.edits.commit/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.commit/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.delete": delete_edit +"/androidpublisher:v2/androidpublisher.edits.delete/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.delete/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.deobfuscationfiles.upload": upload_edit_deobfuscationfile +"/androidpublisher:v2/androidpublisher.edits.deobfuscationfiles.upload/apkVersionCode": apk_version_code +"/androidpublisher:v2/androidpublisher.edits.deobfuscationfiles.upload/deobfuscationFileType": deobfuscation_file_type +"/androidpublisher:v2/androidpublisher.edits.deobfuscationfiles.upload/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.deobfuscationfiles.upload/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.details.get": get_detail +"/androidpublisher:v2/androidpublisher.edits.details.get/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.details.get/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.details.patch": patch_detail +"/androidpublisher:v2/androidpublisher.edits.details.patch/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.details.patch/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.details.update": update_detail +"/androidpublisher:v2/androidpublisher.edits.details.update/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.details.update/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.get": get_expansion_file +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.get/apkVersionCode": apk_version_code +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.get/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.get/expansionFileType": expansion_file_type +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.get/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.patch": patch_expansion_file +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.patch/apkVersionCode": apk_version_code +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.patch/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.patch/expansionFileType": expansion_file_type +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.patch/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.update": update_expansion_file +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.update/apkVersionCode": apk_version_code +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.update/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.update/expansionFileType": expansion_file_type +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.update/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.upload": upload_expansion_file +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.upload/apkVersionCode": apk_version_code +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.upload/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.upload/expansionFileType": expansion_file_type +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.upload/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.get": get_edit +"/androidpublisher:v2/androidpublisher.edits.get/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.get/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.images.delete": delete_image +"/androidpublisher:v2/androidpublisher.edits.images.delete/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.images.delete/imageId": image_id +"/androidpublisher:v2/androidpublisher.edits.images.delete/imageType": image_type +"/androidpublisher:v2/androidpublisher.edits.images.delete/language": language +"/androidpublisher:v2/androidpublisher.edits.images.delete/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.images.deleteall": delete_all_images +"/androidpublisher:v2/androidpublisher.edits.images.deleteall/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.images.deleteall/imageType": image_type +"/androidpublisher:v2/androidpublisher.edits.images.deleteall/language": language +"/androidpublisher:v2/androidpublisher.edits.images.deleteall/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.images.list": list_images +"/androidpublisher:v2/androidpublisher.edits.images.list/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.images.list/imageType": image_type +"/androidpublisher:v2/androidpublisher.edits.images.list/language": language +"/androidpublisher:v2/androidpublisher.edits.images.list/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.images.upload": upload_image +"/androidpublisher:v2/androidpublisher.edits.images.upload/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.images.upload/imageType": image_type +"/androidpublisher:v2/androidpublisher.edits.images.upload/language": language +"/androidpublisher:v2/androidpublisher.edits.images.upload/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.insert": insert_edit +"/androidpublisher:v2/androidpublisher.edits.insert/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.listings.delete": delete_listing +"/androidpublisher:v2/androidpublisher.edits.listings.delete/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.listings.delete/language": language +"/androidpublisher:v2/androidpublisher.edits.listings.delete/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.listings.deleteall": delete_all_listings +"/androidpublisher:v2/androidpublisher.edits.listings.deleteall/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.listings.deleteall/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.listings.get": get_listing +"/androidpublisher:v2/androidpublisher.edits.listings.get/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.listings.get/language": language +"/androidpublisher:v2/androidpublisher.edits.listings.get/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.listings.list": list_listings +"/androidpublisher:v2/androidpublisher.edits.listings.list/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.listings.list/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.listings.patch": patch_listing +"/androidpublisher:v2/androidpublisher.edits.listings.patch/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.listings.patch/language": language +"/androidpublisher:v2/androidpublisher.edits.listings.patch/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.listings.update": update_listing +"/androidpublisher:v2/androidpublisher.edits.listings.update/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.listings.update/language": language +"/androidpublisher:v2/androidpublisher.edits.listings.update/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.testers.get": get_tester +"/androidpublisher:v2/androidpublisher.edits.testers.get/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.testers.get/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.testers.get/track": track +"/androidpublisher:v2/androidpublisher.edits.testers.patch": patch_tester +"/androidpublisher:v2/androidpublisher.edits.testers.patch/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.testers.patch/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.testers.patch/track": track +"/androidpublisher:v2/androidpublisher.edits.testers.update": update_tester +"/androidpublisher:v2/androidpublisher.edits.testers.update/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.testers.update/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.testers.update/track": track +"/androidpublisher:v2/androidpublisher.edits.tracks.get": get_track +"/androidpublisher:v2/androidpublisher.edits.tracks.get/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.tracks.get/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.tracks.get/track": track +"/androidpublisher:v2/androidpublisher.edits.tracks.list": list_tracks +"/androidpublisher:v2/androidpublisher.edits.tracks.list/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.tracks.list/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.tracks.patch": patch_track +"/androidpublisher:v2/androidpublisher.edits.tracks.patch/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.tracks.patch/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.tracks.patch/track": track +"/androidpublisher:v2/androidpublisher.edits.tracks.update": update_track +"/androidpublisher:v2/androidpublisher.edits.tracks.update/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.tracks.update/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.tracks.update/track": track +"/androidpublisher:v2/androidpublisher.edits.validate": validate_edit +"/androidpublisher:v2/androidpublisher.edits.validate/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.validate/packageName": package_name +"/androidpublisher:v2/androidpublisher.entitlements.list": list_entitlements +"/androidpublisher:v2/androidpublisher.entitlements.list/maxResults": max_results +"/androidpublisher:v2/androidpublisher.entitlements.list/packageName": package_name +"/androidpublisher:v2/androidpublisher.entitlements.list/productId": product_id +"/androidpublisher:v2/androidpublisher.entitlements.list/startIndex": start_index +"/androidpublisher:v2/androidpublisher.entitlements.list/token": token +"/androidpublisher:v2/androidpublisher.inappproducts.batch": batch_update_in_app_products +"/androidpublisher:v2/androidpublisher.inappproducts.delete": delete_in_app_product +"/androidpublisher:v2/androidpublisher.inappproducts.delete/packageName": package_name +"/androidpublisher:v2/androidpublisher.inappproducts.delete/sku": sku +"/androidpublisher:v2/androidpublisher.inappproducts.get": get_in_app_product +"/androidpublisher:v2/androidpublisher.inappproducts.get/packageName": package_name +"/androidpublisher:v2/androidpublisher.inappproducts.get/sku": sku +"/androidpublisher:v2/androidpublisher.inappproducts.insert": insert_in_app_product +"/androidpublisher:v2/androidpublisher.inappproducts.insert/autoConvertMissingPrices": auto_convert_missing_prices +"/androidpublisher:v2/androidpublisher.inappproducts.insert/packageName": package_name +"/androidpublisher:v2/androidpublisher.inappproducts.list": list_in_app_products +"/androidpublisher:v2/androidpublisher.inappproducts.list/maxResults": max_results +"/androidpublisher:v2/androidpublisher.inappproducts.list/packageName": package_name +"/androidpublisher:v2/androidpublisher.inappproducts.list/startIndex": start_index +"/androidpublisher:v2/androidpublisher.inappproducts.list/token": token +"/androidpublisher:v2/androidpublisher.inappproducts.patch": patch_in_app_product +"/androidpublisher:v2/androidpublisher.inappproducts.patch/autoConvertMissingPrices": auto_convert_missing_prices +"/androidpublisher:v2/androidpublisher.inappproducts.patch/packageName": package_name +"/androidpublisher:v2/androidpublisher.inappproducts.patch/sku": sku +"/androidpublisher:v2/androidpublisher.inappproducts.update": update_in_app_product +"/androidpublisher:v2/androidpublisher.inappproducts.update/autoConvertMissingPrices": auto_convert_missing_prices +"/androidpublisher:v2/androidpublisher.inappproducts.update/packageName": package_name +"/androidpublisher:v2/androidpublisher.inappproducts.update/sku": sku +"/androidpublisher:v2/androidpublisher.purchases.products.get": get_purchase_product +"/androidpublisher:v2/androidpublisher.purchases.products.get/packageName": package_name +"/androidpublisher:v2/androidpublisher.purchases.products.get/productId": product_id +"/androidpublisher:v2/androidpublisher.purchases.products.get/token": token +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.cancel": cancel_purchase_subscription +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.cancel/packageName": package_name +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.cancel/subscriptionId": subscription_id +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.cancel/token": token +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.defer": defer_purchase_subscription +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.defer/packageName": package_name +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.defer/subscriptionId": subscription_id +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.defer/token": token +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.get": get_purchase_subscription +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.get/packageName": package_name +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.get/subscriptionId": subscription_id +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.get/token": token +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.refund": refund_purchase_subscription +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.refund/packageName": package_name +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.refund/subscriptionId": subscription_id +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.refund/token": token +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.revoke": revoke_purchase_subscription +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.revoke/packageName": package_name +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.revoke/subscriptionId": subscription_id +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.revoke/token": token +"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list": list_purchase_voidedpurchases +"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/endTime": end_time +"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/maxResults": max_results +"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/packageName": package_name +"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/startIndex": start_index +"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/startTime": start_time +"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/token": token +"/androidpublisher:v2/androidpublisher.reviews.get": get_review +"/androidpublisher:v2/androidpublisher.reviews.get/packageName": package_name +"/androidpublisher:v2/androidpublisher.reviews.get/reviewId": review_id +"/androidpublisher:v2/androidpublisher.reviews.get/translationLanguage": translation_language +"/androidpublisher:v2/androidpublisher.reviews.list": list_reviews +"/androidpublisher:v2/androidpublisher.reviews.list/maxResults": max_results +"/androidpublisher:v2/androidpublisher.reviews.list/packageName": package_name +"/androidpublisher:v2/androidpublisher.reviews.list/startIndex": start_index +"/androidpublisher:v2/androidpublisher.reviews.list/token": token +"/androidpublisher:v2/androidpublisher.reviews.list/translationLanguage": translation_language +"/androidpublisher:v2/androidpublisher.reviews.reply": reply_review +"/androidpublisher:v2/androidpublisher.reviews.reply/packageName": package_name +"/androidpublisher:v2/androidpublisher.reviews.reply/reviewId": review_id +"/androidpublisher:v2/fields": fields +"/androidpublisher:v2/key": key +"/androidpublisher:v2/quotaUser": quota_user +"/androidpublisher:v2/userIp": user_ip +"/appengine:v1/ApiConfigHandler": api_config_handler +"/appengine:v1/ApiConfigHandler/authFailAction": auth_fail_action +"/appengine:v1/ApiConfigHandler/login": login +"/appengine:v1/ApiConfigHandler/script": script +"/appengine:v1/ApiConfigHandler/securityLevel": security_level +"/appengine:v1/ApiConfigHandler/url": url "/appengine:v1/ApiEndpointHandler": api_endpoint_handler "/appengine:v1/ApiEndpointHandler/scriptPath": script_path +"/appengine:v1/Application": application +"/appengine:v1/Application/authDomain": auth_domain +"/appengine:v1/Application/codeBucket": code_bucket +"/appengine:v1/Application/defaultBucket": default_bucket +"/appengine:v1/Application/defaultCookieExpiration": default_cookie_expiration +"/appengine:v1/Application/defaultHostname": default_hostname +"/appengine:v1/Application/dispatchRules": dispatch_rules +"/appengine:v1/Application/dispatchRules/dispatch_rule": dispatch_rule +"/appengine:v1/Application/featureSettings": feature_settings +"/appengine:v1/Application/gcrDomain": gcr_domain +"/appengine:v1/Application/iap": iap +"/appengine:v1/Application/id": id +"/appengine:v1/Application/locationId": location_id +"/appengine:v1/Application/name": name +"/appengine:v1/Application/servingStatus": serving_status "/appengine:v1/AutomaticScaling": automatic_scaling -"/appengine:v1/AutomaticScaling/networkUtilization": network_utilization -"/appengine:v1/AutomaticScaling/maxConcurrentRequests": max_concurrent_requests "/appengine:v1/AutomaticScaling/coolDownPeriod": cool_down_period -"/appengine:v1/AutomaticScaling/maxPendingLatency": max_pending_latency "/appengine:v1/AutomaticScaling/cpuUtilization": cpu_utilization "/appengine:v1/AutomaticScaling/diskUtilization": disk_utilization -"/appengine:v1/AutomaticScaling/minPendingLatency": min_pending_latency +"/appengine:v1/AutomaticScaling/maxConcurrentRequests": max_concurrent_requests "/appengine:v1/AutomaticScaling/maxIdleInstances": max_idle_instances -"/appengine:v1/AutomaticScaling/requestUtilization": request_utilization -"/appengine:v1/AutomaticScaling/minIdleInstances": min_idle_instances +"/appengine:v1/AutomaticScaling/maxPendingLatency": max_pending_latency "/appengine:v1/AutomaticScaling/maxTotalInstances": max_total_instances +"/appengine:v1/AutomaticScaling/minIdleInstances": min_idle_instances +"/appengine:v1/AutomaticScaling/minPendingLatency": min_pending_latency "/appengine:v1/AutomaticScaling/minTotalInstances": min_total_instances -"/appengine:v1/ZipInfo": zip_info -"/appengine:v1/ZipInfo/filesCount": files_count -"/appengine:v1/ZipInfo/sourceUrl": source_url -"/appengine:v1/Library": library -"/appengine:v1/Library/name": name -"/appengine:v1/Library/version": version -"/appengine:v1/ListLocationsResponse": list_locations_response -"/appengine:v1/ListLocationsResponse/nextPageToken": next_page_token -"/appengine:v1/ListLocationsResponse/locations": locations -"/appengine:v1/ListLocationsResponse/locations/location": location +"/appengine:v1/AutomaticScaling/networkUtilization": network_utilization +"/appengine:v1/AutomaticScaling/requestUtilization": request_utilization +"/appengine:v1/BasicScaling": basic_scaling +"/appengine:v1/BasicScaling/idleTimeout": idle_timeout +"/appengine:v1/BasicScaling/maxInstances": max_instances "/appengine:v1/ContainerInfo": container_info "/appengine:v1/ContainerInfo/image": image -"/appengine:v1/RequestUtilization": request_utilization -"/appengine:v1/RequestUtilization/targetRequestCountPerSecond": target_request_count_per_second -"/appengine:v1/RequestUtilization/targetConcurrentRequests": target_concurrent_requests -"/appengine:v1/UrlMap": url_map -"/appengine:v1/UrlMap/securityLevel": security_level -"/appengine:v1/UrlMap/authFailAction": auth_fail_action -"/appengine:v1/UrlMap/script": script -"/appengine:v1/UrlMap/urlRegex": url_regex -"/appengine:v1/UrlMap/login": login -"/appengine:v1/UrlMap/apiEndpoint": api_endpoint -"/appengine:v1/UrlMap/staticFiles": static_files -"/appengine:v1/UrlMap/redirectHttpResponseCode": redirect_http_response_code -"/appengine:v1/EndpointsApiService": endpoints_api_service -"/appengine:v1/EndpointsApiService/configId": config_id -"/appengine:v1/EndpointsApiService/name": name -"/appengine:v1/Operation": operation -"/appengine:v1/Operation/response": response -"/appengine:v1/Operation/response/response": response -"/appengine:v1/Operation/name": name -"/appengine:v1/Operation/error": error -"/appengine:v1/Operation/metadata": metadata -"/appengine:v1/Operation/metadata/metadatum": metadatum -"/appengine:v1/Operation/done": done -"/appengine:v1/ApiConfigHandler": api_config_handler -"/appengine:v1/ApiConfigHandler/url": url -"/appengine:v1/ApiConfigHandler/securityLevel": security_level -"/appengine:v1/ApiConfigHandler/authFailAction": auth_fail_action -"/appengine:v1/ApiConfigHandler/script": script -"/appengine:v1/ApiConfigHandler/login": login -"/appengine:v1/StaticFilesHandler": static_files_handler -"/appengine:v1/StaticFilesHandler/applicationReadable": application_readable -"/appengine:v1/StaticFilesHandler/httpHeaders": http_headers -"/appengine:v1/StaticFilesHandler/httpHeaders/http_header": http_header -"/appengine:v1/StaticFilesHandler/uploadPathRegex": upload_path_regex -"/appengine:v1/StaticFilesHandler/path": path -"/appengine:v1/StaticFilesHandler/mimeType": mime_type -"/appengine:v1/StaticFilesHandler/requireMatchingFile": require_matching_file -"/appengine:v1/StaticFilesHandler/expiration": expiration -"/appengine:v1/BasicScaling": basic_scaling -"/appengine:v1/BasicScaling/maxInstances": max_instances -"/appengine:v1/BasicScaling/idleTimeout": idle_timeout -"/appengine:v1/DiskUtilization": disk_utilization -"/appengine:v1/DiskUtilization/targetReadOpsPerSecond": target_read_ops_per_second -"/appengine:v1/DiskUtilization/targetReadBytesPerSecond": target_read_bytes_per_second -"/appengine:v1/DiskUtilization/targetWriteOpsPerSecond": target_write_ops_per_second -"/appengine:v1/DiskUtilization/targetWriteBytesPerSecond": target_write_bytes_per_second "/appengine:v1/CpuUtilization": cpu_utilization "/appengine:v1/CpuUtilization/aggregationWindowLength": aggregation_window_length "/appengine:v1/CpuUtilization/targetUtilization": target_utilization -"/appengine:v1/Status": status -"/appengine:v1/Status/details": details -"/appengine:v1/Status/details/detail": detail -"/appengine:v1/Status/details/detail/detail": detail -"/appengine:v1/Status/code": code -"/appengine:v1/Status/message": message -"/appengine:v1/IdentityAwareProxy": identity_aware_proxy -"/appengine:v1/IdentityAwareProxy/enabled": enabled -"/appengine:v1/IdentityAwareProxy/oauth2ClientSecret": oauth2_client_secret -"/appengine:v1/IdentityAwareProxy/oauth2ClientId": oauth2_client_id -"/appengine:v1/IdentityAwareProxy/oauth2ClientSecretSha256": oauth2_client_secret_sha256 -"/appengine:v1/ManualScaling": manual_scaling -"/appengine:v1/ManualScaling/instances": instances -"/appengine:v1/LocationMetadata": location_metadata -"/appengine:v1/LocationMetadata/flexibleEnvironmentAvailable": flexible_environment_available -"/appengine:v1/LocationMetadata/standardEnvironmentAvailable": standard_environment_available -"/appengine:v1/Service": service -"/appengine:v1/Service/split": split -"/appengine:v1/Service/id": id -"/appengine:v1/Service/name": name -"/appengine:v1/ListOperationsResponse": list_operations_response -"/appengine:v1/ListOperationsResponse/nextPageToken": next_page_token -"/appengine:v1/ListOperationsResponse/operations": operations -"/appengine:v1/ListOperationsResponse/operations/operation": operation -"/appengine:v1/OperationMetadata": operation_metadata -"/appengine:v1/OperationMetadata/user": user -"/appengine:v1/OperationMetadata/target": target -"/appengine:v1/OperationMetadata/method": method_prop -"/appengine:v1/OperationMetadata/endTime": end_time -"/appengine:v1/OperationMetadata/operationType": operation_type -"/appengine:v1/OperationMetadata/insertTime": insert_time -"/appengine:v1/OperationMetadataV1": operation_metadata_v1 -"/appengine:v1/OperationMetadataV1/target": target -"/appengine:v1/OperationMetadataV1/user": user -"/appengine:v1/OperationMetadataV1/ephemeralMessage": ephemeral_message -"/appengine:v1/OperationMetadataV1/method": method_prop -"/appengine:v1/OperationMetadataV1/endTime": end_time -"/appengine:v1/OperationMetadataV1/insertTime": insert_time -"/appengine:v1/OperationMetadataV1/warning": warning -"/appengine:v1/OperationMetadataV1/warning/warning": warning -"/appengine:v1/ErrorHandler": error_handler -"/appengine:v1/ErrorHandler/mimeType": mime_type -"/appengine:v1/ErrorHandler/errorCode": error_code -"/appengine:v1/ErrorHandler/staticFile": static_file -"/appengine:v1/Network": network -"/appengine:v1/Network/subnetworkName": subnetwork_name -"/appengine:v1/Network/instanceTag": instance_tag -"/appengine:v1/Network/forwardedPorts": forwarded_ports -"/appengine:v1/Network/forwardedPorts/forwarded_port": forwarded_port -"/appengine:v1/Network/name": name -"/appengine:v1/Application": application -"/appengine:v1/Application/authDomain": auth_domain -"/appengine:v1/Application/iap": iap -"/appengine:v1/Application/codeBucket": code_bucket -"/appengine:v1/Application/defaultBucket": default_bucket -"/appengine:v1/Application/dispatchRules": dispatch_rules -"/appengine:v1/Application/dispatchRules/dispatch_rule": dispatch_rule -"/appengine:v1/Application/gcrDomain": gcr_domain -"/appengine:v1/Application/name": name -"/appengine:v1/Application/defaultCookieExpiration": default_cookie_expiration -"/appengine:v1/Application/id": id -"/appengine:v1/Application/locationId": location_id -"/appengine:v1/Application/servingStatus": serving_status -"/appengine:v1/Application/defaultHostname": default_hostname -"/appengine:v1/Instance": instance -"/appengine:v1/Instance/averageLatency": average_latency -"/appengine:v1/Instance/vmIp": vm_ip -"/appengine:v1/Instance/memoryUsage": memory_usage -"/appengine:v1/Instance/id": id -"/appengine:v1/Instance/vmStatus": vm_status -"/appengine:v1/Instance/errors": errors -"/appengine:v1/Instance/availability": availability -"/appengine:v1/Instance/startTime": start_time -"/appengine:v1/Instance/vmDebugEnabled": vm_debug_enabled -"/appengine:v1/Instance/requests": requests -"/appengine:v1/Instance/appEngineRelease": app_engine_release -"/appengine:v1/Instance/vmName": vm_name -"/appengine:v1/Instance/vmId": vm_id -"/appengine:v1/Instance/qps": qps -"/appengine:v1/Instance/vmZoneName": vm_zone_name -"/appengine:v1/Instance/name": name -"/appengine:v1/LivenessCheck": liveness_check -"/appengine:v1/LivenessCheck/initialDelay": initial_delay -"/appengine:v1/LivenessCheck/path": path -"/appengine:v1/LivenessCheck/successThreshold": success_threshold -"/appengine:v1/LivenessCheck/host": host -"/appengine:v1/LivenessCheck/checkInterval": check_interval -"/appengine:v1/LivenessCheck/failureThreshold": failure_threshold -"/appengine:v1/LivenessCheck/timeout": timeout -"/appengine:v1/NetworkUtilization": network_utilization -"/appengine:v1/NetworkUtilization/targetReceivedPacketsPerSecond": target_received_packets_per_second -"/appengine:v1/NetworkUtilization/targetSentBytesPerSecond": target_sent_bytes_per_second -"/appengine:v1/NetworkUtilization/targetReceivedBytesPerSecond": target_received_bytes_per_second -"/appengine:v1/NetworkUtilization/targetSentPacketsPerSecond": target_sent_packets_per_second -"/appengine:v1/Location": location -"/appengine:v1/Location/locationId": location_id -"/appengine:v1/Location/metadata": metadata -"/appengine:v1/Location/metadata/metadatum": metadatum -"/appengine:v1/Location/labels": labels -"/appengine:v1/Location/labels/label": label -"/appengine:v1/Location/name": name -"/appengine:v1/HealthCheck": health_check -"/appengine:v1/HealthCheck/timeout": timeout -"/appengine:v1/HealthCheck/unhealthyThreshold": unhealthy_threshold -"/appengine:v1/HealthCheck/disableHealthCheck": disable_health_check -"/appengine:v1/HealthCheck/host": host -"/appengine:v1/HealthCheck/restartThreshold": restart_threshold -"/appengine:v1/HealthCheck/healthyThreshold": healthy_threshold -"/appengine:v1/HealthCheck/checkInterval": check_interval -"/appengine:v1/ReadinessCheck": readiness_check -"/appengine:v1/ReadinessCheck/path": path -"/appengine:v1/ReadinessCheck/successThreshold": success_threshold -"/appengine:v1/ReadinessCheck/host": host -"/appengine:v1/ReadinessCheck/checkInterval": check_interval -"/appengine:v1/ReadinessCheck/failureThreshold": failure_threshold -"/appengine:v1/ReadinessCheck/timeout": timeout "/appengine:v1/DebugInstanceRequest": debug_instance_request "/appengine:v1/DebugInstanceRequest/sshKey": ssh_key -"/appengine:v1/OperationMetadataV1Beta5": operation_metadata_v1_beta5 -"/appengine:v1/OperationMetadataV1Beta5/method": method_prop -"/appengine:v1/OperationMetadataV1Beta5/insertTime": insert_time -"/appengine:v1/OperationMetadataV1Beta5/endTime": end_time -"/appengine:v1/OperationMetadataV1Beta5/target": target -"/appengine:v1/OperationMetadataV1Beta5/user": user -"/appengine:v1/Version": version -"/appengine:v1/Version/resources": resources -"/appengine:v1/Version/inboundServices": inbound_services -"/appengine:v1/Version/inboundServices/inbound_service": inbound_service -"/appengine:v1/Version/errorHandlers": error_handlers -"/appengine:v1/Version/errorHandlers/error_handler": error_handler -"/appengine:v1/Version/defaultExpiration": default_expiration -"/appengine:v1/Version/libraries": libraries -"/appengine:v1/Version/libraries/library": library -"/appengine:v1/Version/nobuildFilesRegex": nobuild_files_regex -"/appengine:v1/Version/basicScaling": basic_scaling -"/appengine:v1/Version/runtime": runtime -"/appengine:v1/Version/createdBy": created_by -"/appengine:v1/Version/id": id -"/appengine:v1/Version/envVariables": env_variables -"/appengine:v1/Version/envVariables/env_variable": env_variable -"/appengine:v1/Version/livenessCheck": liveness_check -"/appengine:v1/Version/network": network -"/appengine:v1/Version/betaSettings": beta_settings -"/appengine:v1/Version/betaSettings/beta_setting": beta_setting -"/appengine:v1/Version/env": env -"/appengine:v1/Version/handlers": handlers -"/appengine:v1/Version/handlers/handler": handler -"/appengine:v1/Version/automaticScaling": automatic_scaling -"/appengine:v1/Version/diskUsageBytes": disk_usage_bytes -"/appengine:v1/Version/healthCheck": health_check -"/appengine:v1/Version/threadsafe": threadsafe -"/appengine:v1/Version/readinessCheck": readiness_check -"/appengine:v1/Version/manualScaling": manual_scaling -"/appengine:v1/Version/name": name -"/appengine:v1/Version/apiConfig": api_config -"/appengine:v1/Version/endpointsApiService": endpoints_api_service -"/appengine:v1/Version/vm": vm -"/appengine:v1/Version/versionUrl": version_url -"/appengine:v1/Version/instanceClass": instance_class -"/appengine:v1/Version/servingStatus": serving_status -"/appengine:v1/Version/runtimeApiVersion": runtime_api_version -"/appengine:v1/Version/deployment": deployment -"/appengine:v1/Version/createTime": create_time -"/appengine:v1/RepairApplicationRequest": repair_application_request -"/appengine:v1/ScriptHandler": script_handler -"/appengine:v1/ScriptHandler/scriptPath": script_path -"/appengine:v1/FileInfo": file_info -"/appengine:v1/FileInfo/sourceUrl": source_url -"/appengine:v1/FileInfo/sha1Sum": sha1_sum -"/appengine:v1/FileInfo/mimeType": mime_type -"/appengine:v1/OperationMetadataExperimental": operation_metadata_experimental -"/appengine:v1/OperationMetadataExperimental/insertTime": insert_time -"/appengine:v1/OperationMetadataExperimental/endTime": end_time -"/appengine:v1/OperationMetadataExperimental/target": target -"/appengine:v1/OperationMetadataExperimental/user": user -"/appengine:v1/OperationMetadataExperimental/method": method_prop -"/appengine:v1/TrafficSplit": traffic_split -"/appengine:v1/TrafficSplit/allocations": allocations -"/appengine:v1/TrafficSplit/allocations/allocation": allocation -"/appengine:v1/TrafficSplit/shardBy": shard_by -"/appengine:v1/OperationMetadataV1Beta": operation_metadata_v1_beta -"/appengine:v1/OperationMetadataV1Beta/warning": warning -"/appengine:v1/OperationMetadataV1Beta/warning/warning": warning -"/appengine:v1/OperationMetadataV1Beta/insertTime": insert_time -"/appengine:v1/OperationMetadataV1Beta/user": user -"/appengine:v1/OperationMetadataV1Beta/target": target -"/appengine:v1/OperationMetadataV1Beta/ephemeralMessage": ephemeral_message -"/appengine:v1/OperationMetadataV1Beta/method": method_prop -"/appengine:v1/OperationMetadataV1Beta/endTime": end_time -"/appengine:v1/ListServicesResponse": list_services_response -"/appengine:v1/ListServicesResponse/nextPageToken": next_page_token -"/appengine:v1/ListServicesResponse/services": services -"/appengine:v1/ListServicesResponse/services/service": service -"/appengine:v1/Resources": resources -"/appengine:v1/Resources/memoryGb": memory_gb -"/appengine:v1/Resources/cpu": cpu -"/appengine:v1/Resources/volumes": volumes -"/appengine:v1/Resources/volumes/volume": volume -"/appengine:v1/Resources/diskGb": disk_gb "/appengine:v1/Deployment": deployment -"/appengine:v1/Deployment/zip": zip "/appengine:v1/Deployment/container": container "/appengine:v1/Deployment/files": files "/appengine:v1/Deployment/files/file": file -"/appengine:v1/Volume": volume -"/appengine:v1/Volume/sizeGb": size_gb -"/appengine:v1/Volume/name": name -"/appengine:v1/Volume/volumeType": volume_type +"/appengine:v1/Deployment/zip": zip +"/appengine:v1/DiskUtilization": disk_utilization +"/appengine:v1/DiskUtilization/targetReadBytesPerSecond": target_read_bytes_per_second +"/appengine:v1/DiskUtilization/targetReadOpsPerSecond": target_read_ops_per_second +"/appengine:v1/DiskUtilization/targetWriteBytesPerSecond": target_write_bytes_per_second +"/appengine:v1/DiskUtilization/targetWriteOpsPerSecond": target_write_ops_per_second +"/appengine:v1/EndpointsApiService": endpoints_api_service +"/appengine:v1/EndpointsApiService/configId": config_id +"/appengine:v1/EndpointsApiService/name": name +"/appengine:v1/ErrorHandler": error_handler +"/appengine:v1/ErrorHandler/errorCode": error_code +"/appengine:v1/ErrorHandler/mimeType": mime_type +"/appengine:v1/ErrorHandler/staticFile": static_file +"/appengine:v1/FeatureSettings": feature_settings +"/appengine:v1/FeatureSettings/splitHealthChecks": split_health_checks +"/appengine:v1/FileInfo": file_info +"/appengine:v1/FileInfo/mimeType": mime_type +"/appengine:v1/FileInfo/sha1Sum": sha1_sum +"/appengine:v1/FileInfo/sourceUrl": source_url +"/appengine:v1/HealthCheck": health_check +"/appengine:v1/HealthCheck/checkInterval": check_interval +"/appengine:v1/HealthCheck/disableHealthCheck": disable_health_check +"/appengine:v1/HealthCheck/healthyThreshold": healthy_threshold +"/appengine:v1/HealthCheck/host": host +"/appengine:v1/HealthCheck/restartThreshold": restart_threshold +"/appengine:v1/HealthCheck/timeout": timeout +"/appengine:v1/HealthCheck/unhealthyThreshold": unhealthy_threshold +"/appengine:v1/IdentityAwareProxy": identity_aware_proxy +"/appengine:v1/IdentityAwareProxy/enabled": enabled +"/appengine:v1/IdentityAwareProxy/oauth2ClientId": oauth2_client_id +"/appengine:v1/IdentityAwareProxy/oauth2ClientSecret": oauth2_client_secret +"/appengine:v1/IdentityAwareProxy/oauth2ClientSecretSha256": oauth2_client_secret_sha256 +"/appengine:v1/Instance": instance +"/appengine:v1/Instance/appEngineRelease": app_engine_release +"/appengine:v1/Instance/availability": availability +"/appengine:v1/Instance/averageLatency": average_latency +"/appengine:v1/Instance/errors": errors +"/appengine:v1/Instance/id": id +"/appengine:v1/Instance/memoryUsage": memory_usage +"/appengine:v1/Instance/name": name +"/appengine:v1/Instance/qps": qps +"/appengine:v1/Instance/requests": requests +"/appengine:v1/Instance/startTime": start_time +"/appengine:v1/Instance/vmDebugEnabled": vm_debug_enabled +"/appengine:v1/Instance/vmId": vm_id +"/appengine:v1/Instance/vmIp": vm_ip +"/appengine:v1/Instance/vmName": vm_name +"/appengine:v1/Instance/vmStatus": vm_status +"/appengine:v1/Instance/vmZoneName": vm_zone_name +"/appengine:v1/Library": library +"/appengine:v1/Library/name": name +"/appengine:v1/Library/version": version "/appengine:v1/ListInstancesResponse": list_instances_response "/appengine:v1/ListInstancesResponse/instances": instances "/appengine:v1/ListInstancesResponse/instances/instance": instance "/appengine:v1/ListInstancesResponse/nextPageToken": next_page_token -"/appengine:v1/OperationMetadataV1Alpha": operation_metadata_v1_alpha -"/appengine:v1/OperationMetadataV1Alpha/warning": warning -"/appengine:v1/OperationMetadataV1Alpha/warning/warning": warning -"/appengine:v1/OperationMetadataV1Alpha/insertTime": insert_time -"/appengine:v1/OperationMetadataV1Alpha/target": target -"/appengine:v1/OperationMetadataV1Alpha/user": user -"/appengine:v1/OperationMetadataV1Alpha/ephemeralMessage": ephemeral_message -"/appengine:v1/OperationMetadataV1Alpha/method": method_prop -"/appengine:v1/OperationMetadataV1Alpha/endTime": end_time -"/appengine:v1/UrlDispatchRule": url_dispatch_rule -"/appengine:v1/UrlDispatchRule/path": path -"/appengine:v1/UrlDispatchRule/service": service -"/appengine:v1/UrlDispatchRule/domain": domain +"/appengine:v1/ListLocationsResponse": list_locations_response +"/appengine:v1/ListLocationsResponse/locations": locations +"/appengine:v1/ListLocationsResponse/locations/location": location +"/appengine:v1/ListLocationsResponse/nextPageToken": next_page_token +"/appengine:v1/ListOperationsResponse": list_operations_response +"/appengine:v1/ListOperationsResponse/nextPageToken": next_page_token +"/appengine:v1/ListOperationsResponse/operations": operations +"/appengine:v1/ListOperationsResponse/operations/operation": operation +"/appengine:v1/ListServicesResponse": list_services_response +"/appengine:v1/ListServicesResponse/nextPageToken": next_page_token +"/appengine:v1/ListServicesResponse/services": services +"/appengine:v1/ListServicesResponse/services/service": service "/appengine:v1/ListVersionsResponse": list_versions_response "/appengine:v1/ListVersionsResponse/nextPageToken": next_page_token "/appengine:v1/ListVersionsResponse/versions": versions "/appengine:v1/ListVersionsResponse/versions/version": version -"/appsactivity:v1/fields": fields -"/appsactivity:v1/key": key -"/appsactivity:v1/quotaUser": quota_user -"/appsactivity:v1/userIp": user_ip -"/appsactivity:v1/appsactivity.activities.list": list_activities -"/appsactivity:v1/appsactivity.activities.list/drive.ancestorId": drive_ancestor_id -"/appsactivity:v1/appsactivity.activities.list/drive.fileId": drive_file_id -"/appsactivity:v1/appsactivity.activities.list/groupingStrategy": grouping_strategy -"/appsactivity:v1/appsactivity.activities.list/pageSize": page_size -"/appsactivity:v1/appsactivity.activities.list/pageToken": page_token -"/appsactivity:v1/appsactivity.activities.list/source": source -"/appsactivity:v1/appsactivity.activities.list/userId": user_id +"/appengine:v1/LivenessCheck": liveness_check +"/appengine:v1/LivenessCheck/checkInterval": check_interval +"/appengine:v1/LivenessCheck/failureThreshold": failure_threshold +"/appengine:v1/LivenessCheck/host": host +"/appengine:v1/LivenessCheck/initialDelay": initial_delay +"/appengine:v1/LivenessCheck/path": path +"/appengine:v1/LivenessCheck/successThreshold": success_threshold +"/appengine:v1/LivenessCheck/timeout": timeout +"/appengine:v1/Location": location +"/appengine:v1/Location/labels": labels +"/appengine:v1/Location/labels/label": label +"/appengine:v1/Location/locationId": location_id +"/appengine:v1/Location/metadata": metadata +"/appengine:v1/Location/metadata/metadatum": metadatum +"/appengine:v1/Location/name": name +"/appengine:v1/LocationMetadata": location_metadata +"/appengine:v1/LocationMetadata/flexibleEnvironmentAvailable": flexible_environment_available +"/appengine:v1/LocationMetadata/standardEnvironmentAvailable": standard_environment_available +"/appengine:v1/ManualScaling": manual_scaling +"/appengine:v1/ManualScaling/instances": instances +"/appengine:v1/Network": network +"/appengine:v1/Network/forwardedPorts": forwarded_ports +"/appengine:v1/Network/forwardedPorts/forwarded_port": forwarded_port +"/appengine:v1/Network/instanceTag": instance_tag +"/appengine:v1/Network/name": name +"/appengine:v1/Network/subnetworkName": subnetwork_name +"/appengine:v1/NetworkUtilization": network_utilization +"/appengine:v1/NetworkUtilization/targetReceivedBytesPerSecond": target_received_bytes_per_second +"/appengine:v1/NetworkUtilization/targetReceivedPacketsPerSecond": target_received_packets_per_second +"/appengine:v1/NetworkUtilization/targetSentBytesPerSecond": target_sent_bytes_per_second +"/appengine:v1/NetworkUtilization/targetSentPacketsPerSecond": target_sent_packets_per_second +"/appengine:v1/Operation": operation +"/appengine:v1/Operation/done": done +"/appengine:v1/Operation/error": error +"/appengine:v1/Operation/metadata": metadata +"/appengine:v1/Operation/metadata/metadatum": metadatum +"/appengine:v1/Operation/name": name +"/appengine:v1/Operation/response": response +"/appengine:v1/Operation/response/response": response +"/appengine:v1/OperationMetadata": operation_metadata +"/appengine:v1/OperationMetadata/endTime": end_time +"/appengine:v1/OperationMetadata/insertTime": insert_time +"/appengine:v1/OperationMetadata/method": method_prop +"/appengine:v1/OperationMetadata/operationType": operation_type +"/appengine:v1/OperationMetadata/target": target +"/appengine:v1/OperationMetadata/user": user +"/appengine:v1/OperationMetadataExperimental": operation_metadata_experimental +"/appengine:v1/OperationMetadataExperimental/endTime": end_time +"/appengine:v1/OperationMetadataExperimental/insertTime": insert_time +"/appengine:v1/OperationMetadataExperimental/method": method_prop +"/appengine:v1/OperationMetadataExperimental/target": target +"/appengine:v1/OperationMetadataExperimental/user": user +"/appengine:v1/OperationMetadataV1": operation_metadata_v1 +"/appengine:v1/OperationMetadataV1/endTime": end_time +"/appengine:v1/OperationMetadataV1/ephemeralMessage": ephemeral_message +"/appengine:v1/OperationMetadataV1/insertTime": insert_time +"/appengine:v1/OperationMetadataV1/method": method_prop +"/appengine:v1/OperationMetadataV1/target": target +"/appengine:v1/OperationMetadataV1/user": user +"/appengine:v1/OperationMetadataV1/warning": warning +"/appengine:v1/OperationMetadataV1/warning/warning": warning +"/appengine:v1/OperationMetadataV1Alpha": operation_metadata_v1_alpha +"/appengine:v1/OperationMetadataV1Alpha/endTime": end_time +"/appengine:v1/OperationMetadataV1Alpha/ephemeralMessage": ephemeral_message +"/appengine:v1/OperationMetadataV1Alpha/insertTime": insert_time +"/appengine:v1/OperationMetadataV1Alpha/method": method_prop +"/appengine:v1/OperationMetadataV1Alpha/target": target +"/appengine:v1/OperationMetadataV1Alpha/user": user +"/appengine:v1/OperationMetadataV1Alpha/warning": warning +"/appengine:v1/OperationMetadataV1Alpha/warning/warning": warning +"/appengine:v1/OperationMetadataV1Beta": operation_metadata_v1_beta +"/appengine:v1/OperationMetadataV1Beta/endTime": end_time +"/appengine:v1/OperationMetadataV1Beta/ephemeralMessage": ephemeral_message +"/appengine:v1/OperationMetadataV1Beta/insertTime": insert_time +"/appengine:v1/OperationMetadataV1Beta/method": method_prop +"/appengine:v1/OperationMetadataV1Beta/target": target +"/appengine:v1/OperationMetadataV1Beta/user": user +"/appengine:v1/OperationMetadataV1Beta/warning": warning +"/appengine:v1/OperationMetadataV1Beta/warning/warning": warning +"/appengine:v1/OperationMetadataV1Beta5": operation_metadata_v1_beta5 +"/appengine:v1/OperationMetadataV1Beta5/endTime": end_time +"/appengine:v1/OperationMetadataV1Beta5/insertTime": insert_time +"/appengine:v1/OperationMetadataV1Beta5/method": method_prop +"/appengine:v1/OperationMetadataV1Beta5/target": target +"/appengine:v1/OperationMetadataV1Beta5/user": user +"/appengine:v1/ReadinessCheck": readiness_check +"/appengine:v1/ReadinessCheck/appStartTimeout": app_start_timeout +"/appengine:v1/ReadinessCheck/checkInterval": check_interval +"/appengine:v1/ReadinessCheck/failureThreshold": failure_threshold +"/appengine:v1/ReadinessCheck/host": host +"/appengine:v1/ReadinessCheck/path": path +"/appengine:v1/ReadinessCheck/successThreshold": success_threshold +"/appengine:v1/ReadinessCheck/timeout": timeout +"/appengine:v1/RepairApplicationRequest": repair_application_request +"/appengine:v1/RequestUtilization": request_utilization +"/appengine:v1/RequestUtilization/targetConcurrentRequests": target_concurrent_requests +"/appengine:v1/RequestUtilization/targetRequestCountPerSecond": target_request_count_per_second +"/appengine:v1/Resources": resources +"/appengine:v1/Resources/cpu": cpu +"/appengine:v1/Resources/diskGb": disk_gb +"/appengine:v1/Resources/memoryGb": memory_gb +"/appengine:v1/Resources/volumes": volumes +"/appengine:v1/Resources/volumes/volume": volume +"/appengine:v1/ScriptHandler": script_handler +"/appengine:v1/ScriptHandler/scriptPath": script_path +"/appengine:v1/Service": service +"/appengine:v1/Service/id": id +"/appengine:v1/Service/name": name +"/appengine:v1/Service/split": split +"/appengine:v1/StaticFilesHandler": static_files_handler +"/appengine:v1/StaticFilesHandler/applicationReadable": application_readable +"/appengine:v1/StaticFilesHandler/expiration": expiration +"/appengine:v1/StaticFilesHandler/httpHeaders": http_headers +"/appengine:v1/StaticFilesHandler/httpHeaders/http_header": http_header +"/appengine:v1/StaticFilesHandler/mimeType": mime_type +"/appengine:v1/StaticFilesHandler/path": path +"/appengine:v1/StaticFilesHandler/requireMatchingFile": require_matching_file +"/appengine:v1/StaticFilesHandler/uploadPathRegex": upload_path_regex +"/appengine:v1/Status": status +"/appengine:v1/Status/code": code +"/appengine:v1/Status/details": details +"/appengine:v1/Status/details/detail": detail +"/appengine:v1/Status/details/detail/detail": detail +"/appengine:v1/Status/message": message +"/appengine:v1/TrafficSplit": traffic_split +"/appengine:v1/TrafficSplit/allocations": allocations +"/appengine:v1/TrafficSplit/allocations/allocation": allocation +"/appengine:v1/TrafficSplit/shardBy": shard_by +"/appengine:v1/UrlDispatchRule": url_dispatch_rule +"/appengine:v1/UrlDispatchRule/domain": domain +"/appengine:v1/UrlDispatchRule/path": path +"/appengine:v1/UrlDispatchRule/service": service +"/appengine:v1/UrlMap": url_map +"/appengine:v1/UrlMap/apiEndpoint": api_endpoint +"/appengine:v1/UrlMap/authFailAction": auth_fail_action +"/appengine:v1/UrlMap/login": login +"/appengine:v1/UrlMap/redirectHttpResponseCode": redirect_http_response_code +"/appengine:v1/UrlMap/script": script +"/appengine:v1/UrlMap/securityLevel": security_level +"/appengine:v1/UrlMap/staticFiles": static_files +"/appengine:v1/UrlMap/urlRegex": url_regex +"/appengine:v1/Version": version +"/appengine:v1/Version/apiConfig": api_config +"/appengine:v1/Version/automaticScaling": automatic_scaling +"/appengine:v1/Version/basicScaling": basic_scaling +"/appengine:v1/Version/betaSettings": beta_settings +"/appengine:v1/Version/betaSettings/beta_setting": beta_setting +"/appengine:v1/Version/createTime": create_time +"/appengine:v1/Version/createdBy": created_by +"/appengine:v1/Version/defaultExpiration": default_expiration +"/appengine:v1/Version/deployment": deployment +"/appengine:v1/Version/diskUsageBytes": disk_usage_bytes +"/appengine:v1/Version/endpointsApiService": endpoints_api_service +"/appengine:v1/Version/env": env +"/appengine:v1/Version/envVariables": env_variables +"/appengine:v1/Version/envVariables/env_variable": env_variable +"/appengine:v1/Version/errorHandlers": error_handlers +"/appengine:v1/Version/errorHandlers/error_handler": error_handler +"/appengine:v1/Version/handlers": handlers +"/appengine:v1/Version/handlers/handler": handler +"/appengine:v1/Version/healthCheck": health_check +"/appengine:v1/Version/id": id +"/appengine:v1/Version/inboundServices": inbound_services +"/appengine:v1/Version/inboundServices/inbound_service": inbound_service +"/appengine:v1/Version/instanceClass": instance_class +"/appengine:v1/Version/libraries": libraries +"/appengine:v1/Version/libraries/library": library +"/appengine:v1/Version/livenessCheck": liveness_check +"/appengine:v1/Version/manualScaling": manual_scaling +"/appengine:v1/Version/name": name +"/appengine:v1/Version/network": network +"/appengine:v1/Version/nobuildFilesRegex": nobuild_files_regex +"/appengine:v1/Version/readinessCheck": readiness_check +"/appengine:v1/Version/resources": resources +"/appengine:v1/Version/runtime": runtime +"/appengine:v1/Version/runtimeApiVersion": runtime_api_version +"/appengine:v1/Version/servingStatus": serving_status +"/appengine:v1/Version/threadsafe": threadsafe +"/appengine:v1/Version/versionUrl": version_url +"/appengine:v1/Version/vm": vm +"/appengine:v1/Volume": volume +"/appengine:v1/Volume/name": name +"/appengine:v1/Volume/sizeGb": size_gb +"/appengine:v1/Volume/volumeType": volume_type +"/appengine:v1/ZipInfo": zip_info +"/appengine:v1/ZipInfo/filesCount": files_count +"/appengine:v1/ZipInfo/sourceUrl": source_url +"/appengine:v1/appengine.apps.create": create_app +"/appengine:v1/appengine.apps.get": get_app +"/appengine:v1/appengine.apps.get/appsId": apps_id +"/appengine:v1/appengine.apps.locations.get": get_app_location +"/appengine:v1/appengine.apps.locations.get/appsId": apps_id +"/appengine:v1/appengine.apps.locations.get/locationsId": locations_id +"/appengine:v1/appengine.apps.locations.list": list_app_locations +"/appengine:v1/appengine.apps.locations.list/appsId": apps_id +"/appengine:v1/appengine.apps.locations.list/filter": filter +"/appengine:v1/appengine.apps.locations.list/pageSize": page_size +"/appengine:v1/appengine.apps.locations.list/pageToken": page_token +"/appengine:v1/appengine.apps.operations.get": get_app_operation +"/appengine:v1/appengine.apps.operations.get/appsId": apps_id +"/appengine:v1/appengine.apps.operations.get/operationsId": operations_id +"/appengine:v1/appengine.apps.operations.list": list_app_operations +"/appengine:v1/appengine.apps.operations.list/appsId": apps_id +"/appengine:v1/appengine.apps.operations.list/filter": filter +"/appengine:v1/appengine.apps.operations.list/pageSize": page_size +"/appengine:v1/appengine.apps.operations.list/pageToken": page_token +"/appengine:v1/appengine.apps.patch": patch_app +"/appengine:v1/appengine.apps.patch/appsId": apps_id +"/appengine:v1/appengine.apps.patch/updateMask": update_mask +"/appengine:v1/appengine.apps.repair": repair_application +"/appengine:v1/appengine.apps.repair/appsId": apps_id +"/appengine:v1/appengine.apps.services.delete": delete_app_service +"/appengine:v1/appengine.apps.services.delete/appsId": apps_id +"/appengine:v1/appengine.apps.services.delete/servicesId": services_id +"/appengine:v1/appengine.apps.services.get": get_app_service +"/appengine:v1/appengine.apps.services.get/appsId": apps_id +"/appengine:v1/appengine.apps.services.get/servicesId": services_id +"/appengine:v1/appengine.apps.services.list": list_app_services +"/appengine:v1/appengine.apps.services.list/appsId": apps_id +"/appengine:v1/appengine.apps.services.list/pageSize": page_size +"/appengine:v1/appengine.apps.services.list/pageToken": page_token +"/appengine:v1/appengine.apps.services.patch": patch_app_service +"/appengine:v1/appengine.apps.services.patch/appsId": apps_id +"/appengine:v1/appengine.apps.services.patch/migrateTraffic": migrate_traffic +"/appengine:v1/appengine.apps.services.patch/servicesId": services_id +"/appengine:v1/appengine.apps.services.patch/updateMask": update_mask +"/appengine:v1/appengine.apps.services.versions.create": create_app_service_version +"/appengine:v1/appengine.apps.services.versions.create/appsId": apps_id +"/appengine:v1/appengine.apps.services.versions.create/servicesId": services_id +"/appengine:v1/appengine.apps.services.versions.delete": delete_app_service_version +"/appengine:v1/appengine.apps.services.versions.delete/appsId": apps_id +"/appengine:v1/appengine.apps.services.versions.delete/servicesId": services_id +"/appengine:v1/appengine.apps.services.versions.delete/versionsId": versions_id +"/appengine:v1/appengine.apps.services.versions.get": get_app_service_version +"/appengine:v1/appengine.apps.services.versions.get/appsId": apps_id +"/appengine:v1/appengine.apps.services.versions.get/servicesId": services_id +"/appengine:v1/appengine.apps.services.versions.get/versionsId": versions_id +"/appengine:v1/appengine.apps.services.versions.get/view": view +"/appengine:v1/appengine.apps.services.versions.instances.debug": debug_instance +"/appengine:v1/appengine.apps.services.versions.instances.debug/appsId": apps_id +"/appengine:v1/appengine.apps.services.versions.instances.debug/instancesId": instances_id +"/appengine:v1/appengine.apps.services.versions.instances.debug/servicesId": services_id +"/appengine:v1/appengine.apps.services.versions.instances.debug/versionsId": versions_id +"/appengine:v1/appengine.apps.services.versions.instances.delete": delete_app_service_version_instance +"/appengine:v1/appengine.apps.services.versions.instances.delete/appsId": apps_id +"/appengine:v1/appengine.apps.services.versions.instances.delete/instancesId": instances_id +"/appengine:v1/appengine.apps.services.versions.instances.delete/servicesId": services_id +"/appengine:v1/appengine.apps.services.versions.instances.delete/versionsId": versions_id +"/appengine:v1/appengine.apps.services.versions.instances.get": get_app_service_version_instance +"/appengine:v1/appengine.apps.services.versions.instances.get/appsId": apps_id +"/appengine:v1/appengine.apps.services.versions.instances.get/instancesId": instances_id +"/appengine:v1/appengine.apps.services.versions.instances.get/servicesId": services_id +"/appengine:v1/appengine.apps.services.versions.instances.get/versionsId": versions_id +"/appengine:v1/appengine.apps.services.versions.instances.list": list_app_service_version_instances +"/appengine:v1/appengine.apps.services.versions.instances.list/appsId": apps_id +"/appengine:v1/appengine.apps.services.versions.instances.list/pageSize": page_size +"/appengine:v1/appengine.apps.services.versions.instances.list/pageToken": page_token +"/appengine:v1/appengine.apps.services.versions.instances.list/servicesId": services_id +"/appengine:v1/appengine.apps.services.versions.instances.list/versionsId": versions_id +"/appengine:v1/appengine.apps.services.versions.list": list_app_service_versions +"/appengine:v1/appengine.apps.services.versions.list/appsId": apps_id +"/appengine:v1/appengine.apps.services.versions.list/pageSize": page_size +"/appengine:v1/appengine.apps.services.versions.list/pageToken": page_token +"/appengine:v1/appengine.apps.services.versions.list/servicesId": services_id +"/appengine:v1/appengine.apps.services.versions.list/view": view +"/appengine:v1/appengine.apps.services.versions.patch": patch_app_service_version +"/appengine:v1/appengine.apps.services.versions.patch/appsId": apps_id +"/appengine:v1/appengine.apps.services.versions.patch/servicesId": services_id +"/appengine:v1/appengine.apps.services.versions.patch/updateMask": update_mask +"/appengine:v1/appengine.apps.services.versions.patch/versionsId": versions_id +"/appengine:v1/fields": fields +"/appengine:v1/key": key +"/appengine:v1/quotaUser": quota_user "/appsactivity:v1/Activity": activity "/appsactivity:v1/Activity/combinedEvent": combined_event "/appsactivity:v1/Activity/singleEvents": single_events @@ -11069,22 +6124,83 @@ "/appsactivity:v1/User/name": name "/appsactivity:v1/User/permissionId": permission_id "/appsactivity:v1/User/photo": photo -"/appstate:v1/fields": fields -"/appstate:v1/key": key -"/appstate:v1/quotaUser": quota_user -"/appstate:v1/userIp": user_ip -"/appstate:v1/appstate.states.clear": clear_state -"/appstate:v1/appstate.states.clear/currentDataVersion": current_data_version -"/appstate:v1/appstate.states.clear/stateKey": state_key -"/appstate:v1/appstate.states.delete": delete_state -"/appstate:v1/appstate.states.delete/stateKey": state_key -"/appstate:v1/appstate.states.get": get_state -"/appstate:v1/appstate.states.get/stateKey": state_key -"/appstate:v1/appstate.states.list": list_states -"/appstate:v1/appstate.states.list/includeData": include_data -"/appstate:v1/appstate.states.update": update_state -"/appstate:v1/appstate.states.update/currentStateVersion": current_state_version -"/appstate:v1/appstate.states.update/stateKey": state_key +"/appsactivity:v1/appsactivity.activities.list": list_activities +"/appsactivity:v1/appsactivity.activities.list/drive.ancestorId": drive_ancestor_id +"/appsactivity:v1/appsactivity.activities.list/drive.fileId": drive_file_id +"/appsactivity:v1/appsactivity.activities.list/groupingStrategy": grouping_strategy +"/appsactivity:v1/appsactivity.activities.list/pageSize": page_size +"/appsactivity:v1/appsactivity.activities.list/pageToken": page_token +"/appsactivity:v1/appsactivity.activities.list/source": source +"/appsactivity:v1/appsactivity.activities.list/userId": user_id +"/appsactivity:v1/fields": fields +"/appsactivity:v1/key": key +"/appsactivity:v1/quotaUser": quota_user +"/appsactivity:v1/userIp": user_ip +"/appsmarket:v2/CustomerLicense": customer_license +"/appsmarket:v2/CustomerLicense/applicationId": application_id +"/appsmarket:v2/CustomerLicense/customerId": customer_id +"/appsmarket:v2/CustomerLicense/editions": editions +"/appsmarket:v2/CustomerLicense/editions/edition": edition +"/appsmarket:v2/CustomerLicense/editions/edition/assignedSeats": assigned_seats +"/appsmarket:v2/CustomerLicense/editions/edition/editionId": edition_id +"/appsmarket:v2/CustomerLicense/editions/edition/seatCount": seat_count +"/appsmarket:v2/CustomerLicense/id": id +"/appsmarket:v2/CustomerLicense/kind": kind +"/appsmarket:v2/CustomerLicense/state": state +"/appsmarket:v2/LicenseNotification": license_notification +"/appsmarket:v2/LicenseNotification/applicationId": application_id +"/appsmarket:v2/LicenseNotification/customerId": customer_id +"/appsmarket:v2/LicenseNotification/deletes": deletes +"/appsmarket:v2/LicenseNotification/deletes/delete": delete +"/appsmarket:v2/LicenseNotification/deletes/delete/editionId": edition_id +"/appsmarket:v2/LicenseNotification/deletes/delete/kind": kind +"/appsmarket:v2/LicenseNotification/expiries": expiries +"/appsmarket:v2/LicenseNotification/expiries/expiry": expiry +"/appsmarket:v2/LicenseNotification/expiries/expiry/editionId": edition_id +"/appsmarket:v2/LicenseNotification/expiries/expiry/kind": kind +"/appsmarket:v2/LicenseNotification/id": id +"/appsmarket:v2/LicenseNotification/kind": kind +"/appsmarket:v2/LicenseNotification/provisions": provisions +"/appsmarket:v2/LicenseNotification/provisions/provision": provision +"/appsmarket:v2/LicenseNotification/provisions/provision/editionId": edition_id +"/appsmarket:v2/LicenseNotification/provisions/provision/kind": kind +"/appsmarket:v2/LicenseNotification/provisions/provision/seatCount": seat_count +"/appsmarket:v2/LicenseNotification/reassignments": reassignments +"/appsmarket:v2/LicenseNotification/reassignments/reassignment": reassignment +"/appsmarket:v2/LicenseNotification/reassignments/reassignment/editionId": edition_id +"/appsmarket:v2/LicenseNotification/reassignments/reassignment/kind": kind +"/appsmarket:v2/LicenseNotification/reassignments/reassignment/type": type +"/appsmarket:v2/LicenseNotification/reassignments/reassignment/userId": user_id +"/appsmarket:v2/LicenseNotification/timestamp": timestamp +"/appsmarket:v2/LicenseNotificationList": license_notification_list +"/appsmarket:v2/LicenseNotificationList/kind": kind +"/appsmarket:v2/LicenseNotificationList/nextPageToken": next_page_token +"/appsmarket:v2/LicenseNotificationList/notifications": notifications +"/appsmarket:v2/LicenseNotificationList/notifications/notification": notification +"/appsmarket:v2/UserLicense": user_license +"/appsmarket:v2/UserLicense/applicationId": application_id +"/appsmarket:v2/UserLicense/customerId": customer_id +"/appsmarket:v2/UserLicense/editionId": edition_id +"/appsmarket:v2/UserLicense/enabled": enabled +"/appsmarket:v2/UserLicense/id": id +"/appsmarket:v2/UserLicense/kind": kind +"/appsmarket:v2/UserLicense/state": state +"/appsmarket:v2/UserLicense/userId": user_id +"/appsmarket:v2/appsmarket.customerLicense.get": get_customer_license +"/appsmarket:v2/appsmarket.customerLicense.get/applicationId": application_id +"/appsmarket:v2/appsmarket.customerLicense.get/customerId": customer_id +"/appsmarket:v2/appsmarket.licenseNotification.list": list_license_notifications +"/appsmarket:v2/appsmarket.licenseNotification.list/applicationId": application_id +"/appsmarket:v2/appsmarket.licenseNotification.list/max-results": max_results +"/appsmarket:v2/appsmarket.licenseNotification.list/start-token": start_token +"/appsmarket:v2/appsmarket.licenseNotification.list/timestamp": timestamp +"/appsmarket:v2/appsmarket.userLicense.get": get_user_license +"/appsmarket:v2/appsmarket.userLicense.get/applicationId": application_id +"/appsmarket:v2/appsmarket.userLicense.get/userId": user_id +"/appsmarket:v2/fields": fields +"/appsmarket:v2/key": key +"/appsmarket:v2/quotaUser": quota_user +"/appsmarket:v2/userIp": user_ip "/appstate:v1/GetResponse": get_response "/appstate:v1/GetResponse/currentStateVersion": current_state_version "/appstate:v1/GetResponse/data": data @@ -11102,92 +6218,23 @@ "/appstate:v1/WriteResult/currentStateVersion": current_state_version "/appstate:v1/WriteResult/kind": kind "/appstate:v1/WriteResult/stateKey": state_key -"/bigquery:v2/fields": fields -"/bigquery:v2/key": key -"/bigquery:v2/quotaUser": quota_user -"/bigquery:v2/userIp": user_ip -"/bigquery:v2/bigquery.datasets.delete": delete_dataset -"/bigquery:v2/bigquery.datasets.delete/datasetId": dataset_id -"/bigquery:v2/bigquery.datasets.delete/deleteContents": delete_contents -"/bigquery:v2/bigquery.datasets.delete/projectId": project_id -"/bigquery:v2/bigquery.datasets.get": get_dataset -"/bigquery:v2/bigquery.datasets.get/datasetId": dataset_id -"/bigquery:v2/bigquery.datasets.get/projectId": project_id -"/bigquery:v2/bigquery.datasets.insert": insert_dataset -"/bigquery:v2/bigquery.datasets.insert/projectId": project_id -"/bigquery:v2/bigquery.datasets.list": list_datasets -"/bigquery:v2/bigquery.datasets.list/all": all -"/bigquery:v2/bigquery.datasets.list/filter": filter -"/bigquery:v2/bigquery.datasets.list/maxResults": max_results -"/bigquery:v2/bigquery.datasets.list/pageToken": page_token -"/bigquery:v2/bigquery.datasets.list/projectId": project_id -"/bigquery:v2/bigquery.datasets.patch": patch_dataset -"/bigquery:v2/bigquery.datasets.patch/datasetId": dataset_id -"/bigquery:v2/bigquery.datasets.patch/projectId": project_id -"/bigquery:v2/bigquery.datasets.update": update_dataset -"/bigquery:v2/bigquery.datasets.update/datasetId": dataset_id -"/bigquery:v2/bigquery.datasets.update/projectId": project_id -"/bigquery:v2/bigquery.jobs.cancel": cancel_job -"/bigquery:v2/bigquery.jobs.cancel/jobId": job_id -"/bigquery:v2/bigquery.jobs.cancel/projectId": project_id -"/bigquery:v2/bigquery.jobs.get": get_job -"/bigquery:v2/bigquery.jobs.get/jobId": job_id -"/bigquery:v2/bigquery.jobs.get/projectId": project_id -"/bigquery:v2/bigquery.jobs.getQueryResults/jobId": job_id -"/bigquery:v2/bigquery.jobs.getQueryResults/maxResults": max_results -"/bigquery:v2/bigquery.jobs.getQueryResults/pageToken": page_token -"/bigquery:v2/bigquery.jobs.getQueryResults/projectId": project_id -"/bigquery:v2/bigquery.jobs.getQueryResults/startIndex": start_index -"/bigquery:v2/bigquery.jobs.getQueryResults/timeoutMs": timeout_ms -"/bigquery:v2/bigquery.jobs.insert": insert_job -"/bigquery:v2/bigquery.jobs.insert/projectId": project_id -"/bigquery:v2/bigquery.jobs.list": list_jobs -"/bigquery:v2/bigquery.jobs.list/allUsers": all_users -"/bigquery:v2/bigquery.jobs.list/maxResults": max_results -"/bigquery:v2/bigquery.jobs.list/pageToken": page_token -"/bigquery:v2/bigquery.jobs.list/projectId": project_id -"/bigquery:v2/bigquery.jobs.list/projection": projection -"/bigquery:v2/bigquery.jobs.list/stateFilter": state_filter -"/bigquery:v2/bigquery.jobs.query": query_job -"/bigquery:v2/bigquery.jobs.query/projectId": project_id -"/bigquery:v2/bigquery.projects.list": list_projects -"/bigquery:v2/bigquery.projects.list/maxResults": max_results -"/bigquery:v2/bigquery.projects.list/pageToken": page_token -"/bigquery:v2/bigquery.tabledata.insertAll/datasetId": dataset_id -"/bigquery:v2/bigquery.tabledata.insertAll/projectId": project_id -"/bigquery:v2/bigquery.tabledata.insertAll/tableId": table_id -"/bigquery:v2/bigquery.tabledata.list/datasetId": dataset_id -"/bigquery:v2/bigquery.tabledata.list/maxResults": max_results -"/bigquery:v2/bigquery.tabledata.list/pageToken": page_token -"/bigquery:v2/bigquery.tabledata.list/projectId": project_id -"/bigquery:v2/bigquery.tabledata.list/selectedFields": selected_fields -"/bigquery:v2/bigquery.tabledata.list/startIndex": start_index -"/bigquery:v2/bigquery.tabledata.list/tableId": table_id -"/bigquery:v2/bigquery.tables.delete": delete_table -"/bigquery:v2/bigquery.tables.delete/datasetId": dataset_id -"/bigquery:v2/bigquery.tables.delete/projectId": project_id -"/bigquery:v2/bigquery.tables.delete/tableId": table_id -"/bigquery:v2/bigquery.tables.get": get_table -"/bigquery:v2/bigquery.tables.get/datasetId": dataset_id -"/bigquery:v2/bigquery.tables.get/projectId": project_id -"/bigquery:v2/bigquery.tables.get/selectedFields": selected_fields -"/bigquery:v2/bigquery.tables.get/tableId": table_id -"/bigquery:v2/bigquery.tables.insert": insert_table -"/bigquery:v2/bigquery.tables.insert/datasetId": dataset_id -"/bigquery:v2/bigquery.tables.insert/projectId": project_id -"/bigquery:v2/bigquery.tables.list": list_tables -"/bigquery:v2/bigquery.tables.list/datasetId": dataset_id -"/bigquery:v2/bigquery.tables.list/maxResults": max_results -"/bigquery:v2/bigquery.tables.list/pageToken": page_token -"/bigquery:v2/bigquery.tables.list/projectId": project_id -"/bigquery:v2/bigquery.tables.patch": patch_table -"/bigquery:v2/bigquery.tables.patch/datasetId": dataset_id -"/bigquery:v2/bigquery.tables.patch/projectId": project_id -"/bigquery:v2/bigquery.tables.patch/tableId": table_id -"/bigquery:v2/bigquery.tables.update": update_table -"/bigquery:v2/bigquery.tables.update/datasetId": dataset_id -"/bigquery:v2/bigquery.tables.update/projectId": project_id -"/bigquery:v2/bigquery.tables.update/tableId": table_id +"/appstate:v1/appstate.states.clear": clear_state +"/appstate:v1/appstate.states.clear/currentDataVersion": current_data_version +"/appstate:v1/appstate.states.clear/stateKey": state_key +"/appstate:v1/appstate.states.delete": delete_state +"/appstate:v1/appstate.states.delete/stateKey": state_key +"/appstate:v1/appstate.states.get": get_state +"/appstate:v1/appstate.states.get/stateKey": state_key +"/appstate:v1/appstate.states.list": list_states +"/appstate:v1/appstate.states.list/includeData": include_data +"/appstate:v1/appstate.states.update": update_state +"/appstate:v1/appstate.states.update/currentStateVersion": current_state_version +"/appstate:v1/appstate.states.update/stateKey": state_key +"/appstate:v1/fields": fields +"/appstate:v1/key": key +"/appstate:v1/quotaUser": quota_user +"/appstate:v1/userIp": user_ip +"/autoscaler:v1beta2/AutoscalerListResponse": list_autoscaler_response "/bigquery:v2/BigtableColumn": bigtable_column "/bigquery:v2/BigtableColumn/encoding": encoding "/bigquery:v2/BigtableColumn/fieldName": field_name @@ -11257,19 +6304,29 @@ "/bigquery:v2/ErrorProto/message": message "/bigquery:v2/ErrorProto/reason": reason "/bigquery:v2/ExplainQueryStage": explain_query_stage +"/bigquery:v2/ExplainQueryStage/computeMsAvg": compute_ms_avg +"/bigquery:v2/ExplainQueryStage/computeMsMax": compute_ms_max "/bigquery:v2/ExplainQueryStage/computeRatioAvg": compute_ratio_avg "/bigquery:v2/ExplainQueryStage/computeRatioMax": compute_ratio_max "/bigquery:v2/ExplainQueryStage/id": id "/bigquery:v2/ExplainQueryStage/name": name +"/bigquery:v2/ExplainQueryStage/readMsAvg": read_ms_avg +"/bigquery:v2/ExplainQueryStage/readMsMax": read_ms_max "/bigquery:v2/ExplainQueryStage/readRatioAvg": read_ratio_avg "/bigquery:v2/ExplainQueryStage/readRatioMax": read_ratio_max "/bigquery:v2/ExplainQueryStage/recordsRead": records_read "/bigquery:v2/ExplainQueryStage/recordsWritten": records_written +"/bigquery:v2/ExplainQueryStage/shuffleOutputBytes": shuffle_output_bytes +"/bigquery:v2/ExplainQueryStage/shuffleOutputBytesSpilled": shuffle_output_bytes_spilled "/bigquery:v2/ExplainQueryStage/status": status "/bigquery:v2/ExplainQueryStage/steps": steps "/bigquery:v2/ExplainQueryStage/steps/step": step +"/bigquery:v2/ExplainQueryStage/waitMsAvg": wait_ms_avg +"/bigquery:v2/ExplainQueryStage/waitMsMax": wait_ms_max "/bigquery:v2/ExplainQueryStage/waitRatioAvg": wait_ratio_avg "/bigquery:v2/ExplainQueryStage/waitRatioMax": wait_ratio_max +"/bigquery:v2/ExplainQueryStage/writeMsAvg": write_ms_avg +"/bigquery:v2/ExplainQueryStage/writeMsMax": write_ms_max "/bigquery:v2/ExplainQueryStage/writeRatioAvg": write_ratio_avg "/bigquery:v2/ExplainQueryStage/writeRatioMax": write_ratio_max "/bigquery:v2/ExplainQueryStep": explain_query_step @@ -11315,6 +6372,7 @@ "/bigquery:v2/Job/statistics": statistics "/bigquery:v2/Job/status": status "/bigquery:v2/Job/user_email": user_email +"/bigquery:v2/JobCancelResponse": cancel_job_response "/bigquery:v2/JobCancelResponse/job": job "/bigquery:v2/JobCancelResponse/kind": kind "/bigquery:v2/JobConfiguration": job_configuration @@ -11357,6 +6415,7 @@ "/bigquery:v2/JobConfigurationLoad/sourceFormat": source_format "/bigquery:v2/JobConfigurationLoad/sourceUris": source_uris "/bigquery:v2/JobConfigurationLoad/sourceUris/source_uri": source_uri +"/bigquery:v2/JobConfigurationLoad/timePartitioning": time_partitioning "/bigquery:v2/JobConfigurationLoad/writeDisposition": write_disposition "/bigquery:v2/JobConfigurationQuery": job_configuration_query "/bigquery:v2/JobConfigurationQuery/allowLargeResults": allow_large_results @@ -11376,6 +6435,7 @@ "/bigquery:v2/JobConfigurationQuery/schemaUpdateOptions/schema_update_option": schema_update_option "/bigquery:v2/JobConfigurationQuery/tableDefinitions": table_definitions "/bigquery:v2/JobConfigurationQuery/tableDefinitions/table_definition": table_definition +"/bigquery:v2/JobConfigurationQuery/timePartitioning": time_partitioning "/bigquery:v2/JobConfigurationQuery/useLegacySql": use_legacy_sql "/bigquery:v2/JobConfigurationQuery/useQueryCache": use_query_cache "/bigquery:v2/JobConfigurationQuery/userDefinedFunctionResources": user_defined_function_resources @@ -11429,6 +6489,7 @@ "/bigquery:v2/JobStatistics2/undeclaredQueryParameters": undeclared_query_parameters "/bigquery:v2/JobStatistics2/undeclaredQueryParameters/undeclared_query_parameter": undeclared_query_parameter "/bigquery:v2/JobStatistics3": job_statistics3 +"/bigquery:v2/JobStatistics3/badRecords": bad_records "/bigquery:v2/JobStatistics3/inputFileBytes": input_file_bytes "/bigquery:v2/JobStatistics3/inputFiles": input_files "/bigquery:v2/JobStatistics3/outputBytes": output_bytes @@ -11532,6 +6593,7 @@ "/bigquery:v2/Table/view": view "/bigquery:v2/TableCell": table_cell "/bigquery:v2/TableCell/v": v +"/bigquery:v2/TableDataInsertAllRequest": insert_all_table_data_request "/bigquery:v2/TableDataInsertAllRequest/ignoreUnknownValues": ignore_unknown_values "/bigquery:v2/TableDataInsertAllRequest/kind": kind "/bigquery:v2/TableDataInsertAllRequest/rows": rows @@ -11540,6 +6602,7 @@ "/bigquery:v2/TableDataInsertAllRequest/rows/row/json": json "/bigquery:v2/TableDataInsertAllRequest/skipInvalidRows": skip_invalid_rows "/bigquery:v2/TableDataInsertAllRequest/templateSuffix": template_suffix +"/bigquery:v2/TableDataInsertAllResponse": insert_all_table_data_response "/bigquery:v2/TableDataInsertAllResponse/insertErrors": insert_errors "/bigquery:v2/TableDataInsertAllResponse/insertErrors/insert_error": insert_error "/bigquery:v2/TableDataInsertAllResponse/insertErrors/insert_error/errors": errors @@ -11598,173 +6661,309 @@ "/bigquery:v2/ViewDefinition/useLegacySql": use_legacy_sql "/bigquery:v2/ViewDefinition/userDefinedFunctionResources": user_defined_function_resources "/bigquery:v2/ViewDefinition/userDefinedFunctionResources/user_defined_function_resource": user_defined_function_resource -"/blogger:v3/fields": fields -"/blogger:v3/key": key -"/blogger:v3/quotaUser": quota_user -"/blogger:v3/userIp": user_ip -"/blogger:v3/blogger.blogUserInfos.get": get_blog_user_info -"/blogger:v3/blogger.blogUserInfos.get/blogId": blog_id -"/blogger:v3/blogger.blogUserInfos.get/maxPosts": max_posts -"/blogger:v3/blogger.blogUserInfos.get/userId": user_id -"/blogger:v3/blogger.blogs.get": get_blog -"/blogger:v3/blogger.blogs.get/blogId": blog_id -"/blogger:v3/blogger.blogs.get/maxPosts": max_posts -"/blogger:v3/blogger.blogs.get/view": view -"/blogger:v3/blogger.blogs.getByUrl/url": url -"/blogger:v3/blogger.blogs.getByUrl/view": view -"/blogger:v3/blogger.blogs.listByUser/fetchUserInfo": fetch_user_info -"/blogger:v3/blogger.blogs.listByUser/role": role -"/blogger:v3/blogger.blogs.listByUser/status": status -"/blogger:v3/blogger.blogs.listByUser/userId": user_id -"/blogger:v3/blogger.blogs.listByUser/view": view -"/blogger:v3/blogger.comments.approve": approve_comment -"/blogger:v3/blogger.comments.approve/blogId": blog_id -"/blogger:v3/blogger.comments.approve/commentId": comment_id -"/blogger:v3/blogger.comments.approve/postId": post_id -"/blogger:v3/blogger.comments.delete": delete_comment -"/blogger:v3/blogger.comments.delete/blogId": blog_id -"/blogger:v3/blogger.comments.delete/commentId": comment_id -"/blogger:v3/blogger.comments.delete/postId": post_id -"/blogger:v3/blogger.comments.get": get_comment -"/blogger:v3/blogger.comments.get/blogId": blog_id -"/blogger:v3/blogger.comments.get/commentId": comment_id -"/blogger:v3/blogger.comments.get/postId": post_id -"/blogger:v3/blogger.comments.get/view": view -"/blogger:v3/blogger.comments.list": list_comments -"/blogger:v3/blogger.comments.list/blogId": blog_id -"/blogger:v3/blogger.comments.list/endDate": end_date -"/blogger:v3/blogger.comments.list/fetchBodies": fetch_bodies -"/blogger:v3/blogger.comments.list/maxResults": max_results -"/blogger:v3/blogger.comments.list/pageToken": page_token -"/blogger:v3/blogger.comments.list/postId": post_id -"/blogger:v3/blogger.comments.list/startDate": start_date -"/blogger:v3/blogger.comments.list/status": status -"/blogger:v3/blogger.comments.list/view": view -"/blogger:v3/blogger.comments.listByBlog/blogId": blog_id -"/blogger:v3/blogger.comments.listByBlog/endDate": end_date -"/blogger:v3/blogger.comments.listByBlog/fetchBodies": fetch_bodies -"/blogger:v3/blogger.comments.listByBlog/maxResults": max_results -"/blogger:v3/blogger.comments.listByBlog/pageToken": page_token -"/blogger:v3/blogger.comments.listByBlog/startDate": start_date -"/blogger:v3/blogger.comments.listByBlog/status": status -"/blogger:v3/blogger.comments.markAsSpam/blogId": blog_id -"/blogger:v3/blogger.comments.markAsSpam/commentId": comment_id -"/blogger:v3/blogger.comments.markAsSpam/postId": post_id -"/blogger:v3/blogger.comments.removeContent/blogId": blog_id -"/blogger:v3/blogger.comments.removeContent/commentId": comment_id -"/blogger:v3/blogger.comments.removeContent/postId": post_id -"/blogger:v3/blogger.pageViews.get": get_page_view -"/blogger:v3/blogger.pageViews.get/blogId": blog_id -"/blogger:v3/blogger.pageViews.get/range": range -"/blogger:v3/blogger.pages.delete": delete_page -"/blogger:v3/blogger.pages.delete/blogId": blog_id -"/blogger:v3/blogger.pages.delete/pageId": page_id -"/blogger:v3/blogger.pages.get": get_page -"/blogger:v3/blogger.pages.get/blogId": blog_id -"/blogger:v3/blogger.pages.get/pageId": page_id -"/blogger:v3/blogger.pages.get/view": view -"/blogger:v3/blogger.pages.insert": insert_page -"/blogger:v3/blogger.pages.insert/blogId": blog_id -"/blogger:v3/blogger.pages.insert/isDraft": is_draft -"/blogger:v3/blogger.pages.list": list_pages -"/blogger:v3/blogger.pages.list/blogId": blog_id -"/blogger:v3/blogger.pages.list/fetchBodies": fetch_bodies -"/blogger:v3/blogger.pages.list/maxResults": max_results -"/blogger:v3/blogger.pages.list/pageToken": page_token -"/blogger:v3/blogger.pages.list/status": status -"/blogger:v3/blogger.pages.list/view": view -"/blogger:v3/blogger.pages.patch": patch_page -"/blogger:v3/blogger.pages.patch/blogId": blog_id -"/blogger:v3/blogger.pages.patch/pageId": page_id -"/blogger:v3/blogger.pages.patch/publish": publish -"/blogger:v3/blogger.pages.patch/revert": revert -"/blogger:v3/blogger.pages.publish": publish_page -"/blogger:v3/blogger.pages.publish/blogId": blog_id -"/blogger:v3/blogger.pages.publish/pageId": page_id -"/blogger:v3/blogger.pages.revert": revert_page -"/blogger:v3/blogger.pages.revert/blogId": blog_id -"/blogger:v3/blogger.pages.revert/pageId": page_id -"/blogger:v3/blogger.pages.update": update_page -"/blogger:v3/blogger.pages.update/blogId": blog_id -"/blogger:v3/blogger.pages.update/pageId": page_id -"/blogger:v3/blogger.pages.update/publish": publish -"/blogger:v3/blogger.pages.update/revert": revert -"/blogger:v3/blogger.postUserInfos.get/blogId": blog_id -"/blogger:v3/blogger.postUserInfos.get/maxComments": max_comments -"/blogger:v3/blogger.postUserInfos.get/postId": post_id -"/blogger:v3/blogger.postUserInfos.get/userId": user_id -"/blogger:v3/blogger.postUserInfos.list/blogId": blog_id -"/blogger:v3/blogger.postUserInfos.list/endDate": end_date -"/blogger:v3/blogger.postUserInfos.list/fetchBodies": fetch_bodies -"/blogger:v3/blogger.postUserInfos.list/labels": labels -"/blogger:v3/blogger.postUserInfos.list/maxResults": max_results -"/blogger:v3/blogger.postUserInfos.list/orderBy": order_by -"/blogger:v3/blogger.postUserInfos.list/pageToken": page_token -"/blogger:v3/blogger.postUserInfos.list/startDate": start_date -"/blogger:v3/blogger.postUserInfos.list/status": status -"/blogger:v3/blogger.postUserInfos.list/userId": user_id -"/blogger:v3/blogger.postUserInfos.list/view": view -"/blogger:v3/blogger.posts.delete": delete_post -"/blogger:v3/blogger.posts.delete/blogId": blog_id -"/blogger:v3/blogger.posts.delete/postId": post_id -"/blogger:v3/blogger.posts.get": get_post -"/blogger:v3/blogger.posts.get/blogId": blog_id -"/blogger:v3/blogger.posts.get/fetchBody": fetch_body -"/blogger:v3/blogger.posts.get/fetchImages": fetch_images -"/blogger:v3/blogger.posts.get/maxComments": max_comments -"/blogger:v3/blogger.posts.get/postId": post_id -"/blogger:v3/blogger.posts.get/view": view -"/blogger:v3/blogger.posts.getByPath/blogId": blog_id -"/blogger:v3/blogger.posts.getByPath/maxComments": max_comments -"/blogger:v3/blogger.posts.getByPath/path": path -"/blogger:v3/blogger.posts.getByPath/view": view -"/blogger:v3/blogger.posts.insert": insert_post -"/blogger:v3/blogger.posts.insert/blogId": blog_id -"/blogger:v3/blogger.posts.insert/fetchBody": fetch_body -"/blogger:v3/blogger.posts.insert/fetchImages": fetch_images -"/blogger:v3/blogger.posts.insert/isDraft": is_draft -"/blogger:v3/blogger.posts.list": list_posts -"/blogger:v3/blogger.posts.list/blogId": blog_id -"/blogger:v3/blogger.posts.list/endDate": end_date -"/blogger:v3/blogger.posts.list/fetchBodies": fetch_bodies -"/blogger:v3/blogger.posts.list/fetchImages": fetch_images -"/blogger:v3/blogger.posts.list/labels": labels -"/blogger:v3/blogger.posts.list/maxResults": max_results -"/blogger:v3/blogger.posts.list/orderBy": order_by -"/blogger:v3/blogger.posts.list/pageToken": page_token -"/blogger:v3/blogger.posts.list/startDate": start_date -"/blogger:v3/blogger.posts.list/status": status -"/blogger:v3/blogger.posts.list/view": view -"/blogger:v3/blogger.posts.patch": patch_post -"/blogger:v3/blogger.posts.patch/blogId": blog_id -"/blogger:v3/blogger.posts.patch/fetchBody": fetch_body -"/blogger:v3/blogger.posts.patch/fetchImages": fetch_images -"/blogger:v3/blogger.posts.patch/maxComments": max_comments -"/blogger:v3/blogger.posts.patch/postId": post_id -"/blogger:v3/blogger.posts.patch/publish": publish -"/blogger:v3/blogger.posts.patch/revert": revert -"/blogger:v3/blogger.posts.publish": publish_post -"/blogger:v3/blogger.posts.publish/blogId": blog_id -"/blogger:v3/blogger.posts.publish/postId": post_id -"/blogger:v3/blogger.posts.publish/publishDate": publish_date -"/blogger:v3/blogger.posts.revert": revert_post -"/blogger:v3/blogger.posts.revert/blogId": blog_id -"/blogger:v3/blogger.posts.revert/postId": post_id -"/blogger:v3/blogger.posts.search": search_posts -"/blogger:v3/blogger.posts.search/blogId": blog_id -"/blogger:v3/blogger.posts.search/fetchBodies": fetch_bodies -"/blogger:v3/blogger.posts.search/orderBy": order_by -"/blogger:v3/blogger.posts.search/q": q -"/blogger:v3/blogger.posts.update": update_post -"/blogger:v3/blogger.posts.update/blogId": blog_id -"/blogger:v3/blogger.posts.update/fetchBody": fetch_body -"/blogger:v3/blogger.posts.update/fetchImages": fetch_images -"/blogger:v3/blogger.posts.update/maxComments": max_comments -"/blogger:v3/blogger.posts.update/postId": post_id -"/blogger:v3/blogger.posts.update/publish": publish -"/blogger:v3/blogger.posts.update/revert": revert -"/blogger:v3/blogger.users.get": get_user -"/blogger:v3/blogger.users.get/userId": user_id +"/bigquery:v2/bigquery.datasets.delete": delete_dataset +"/bigquery:v2/bigquery.datasets.delete/datasetId": dataset_id +"/bigquery:v2/bigquery.datasets.delete/deleteContents": delete_contents +"/bigquery:v2/bigquery.datasets.delete/projectId": project_id +"/bigquery:v2/bigquery.datasets.get": get_dataset +"/bigquery:v2/bigquery.datasets.get/datasetId": dataset_id +"/bigquery:v2/bigquery.datasets.get/projectId": project_id +"/bigquery:v2/bigquery.datasets.insert": insert_dataset +"/bigquery:v2/bigquery.datasets.insert/projectId": project_id +"/bigquery:v2/bigquery.datasets.list": list_datasets +"/bigquery:v2/bigquery.datasets.list/all": all +"/bigquery:v2/bigquery.datasets.list/filter": filter +"/bigquery:v2/bigquery.datasets.list/maxResults": max_results +"/bigquery:v2/bigquery.datasets.list/pageToken": page_token +"/bigquery:v2/bigquery.datasets.list/projectId": project_id +"/bigquery:v2/bigquery.datasets.patch": patch_dataset +"/bigquery:v2/bigquery.datasets.patch/datasetId": dataset_id +"/bigquery:v2/bigquery.datasets.patch/projectId": project_id +"/bigquery:v2/bigquery.datasets.update": update_dataset +"/bigquery:v2/bigquery.datasets.update/datasetId": dataset_id +"/bigquery:v2/bigquery.datasets.update/projectId": project_id +"/bigquery:v2/bigquery.jobs.cancel": cancel_job +"/bigquery:v2/bigquery.jobs.cancel/jobId": job_id +"/bigquery:v2/bigquery.jobs.cancel/projectId": project_id +"/bigquery:v2/bigquery.jobs.get": get_job +"/bigquery:v2/bigquery.jobs.get/jobId": job_id +"/bigquery:v2/bigquery.jobs.get/projectId": project_id +"/bigquery:v2/bigquery.jobs.getQueryResults": get_job_query_results +"/bigquery:v2/bigquery.jobs.getQueryResults/jobId": job_id +"/bigquery:v2/bigquery.jobs.getQueryResults/maxResults": max_results +"/bigquery:v2/bigquery.jobs.getQueryResults/pageToken": page_token +"/bigquery:v2/bigquery.jobs.getQueryResults/projectId": project_id +"/bigquery:v2/bigquery.jobs.getQueryResults/startIndex": start_index +"/bigquery:v2/bigquery.jobs.getQueryResults/timeoutMs": timeout_ms +"/bigquery:v2/bigquery.jobs.insert": insert_job +"/bigquery:v2/bigquery.jobs.insert/projectId": project_id +"/bigquery:v2/bigquery.jobs.list": list_jobs +"/bigquery:v2/bigquery.jobs.list/allUsers": all_users +"/bigquery:v2/bigquery.jobs.list/maxResults": max_results +"/bigquery:v2/bigquery.jobs.list/pageToken": page_token +"/bigquery:v2/bigquery.jobs.list/projectId": project_id +"/bigquery:v2/bigquery.jobs.list/projection": projection +"/bigquery:v2/bigquery.jobs.list/stateFilter": state_filter +"/bigquery:v2/bigquery.jobs.query": query_job +"/bigquery:v2/bigquery.jobs.query/projectId": project_id +"/bigquery:v2/bigquery.projects.list": list_projects +"/bigquery:v2/bigquery.projects.list/maxResults": max_results +"/bigquery:v2/bigquery.projects.list/pageToken": page_token +"/bigquery:v2/bigquery.tabledata.insertAll": insert_all_table_data +"/bigquery:v2/bigquery.tabledata.insertAll/datasetId": dataset_id +"/bigquery:v2/bigquery.tabledata.insertAll/projectId": project_id +"/bigquery:v2/bigquery.tabledata.insertAll/tableId": table_id +"/bigquery:v2/bigquery.tabledata.list": list_table_data +"/bigquery:v2/bigquery.tabledata.list/datasetId": dataset_id +"/bigquery:v2/bigquery.tabledata.list/maxResults": max_results +"/bigquery:v2/bigquery.tabledata.list/pageToken": page_token +"/bigquery:v2/bigquery.tabledata.list/projectId": project_id +"/bigquery:v2/bigquery.tabledata.list/selectedFields": selected_fields +"/bigquery:v2/bigquery.tabledata.list/startIndex": start_index +"/bigquery:v2/bigquery.tabledata.list/tableId": table_id +"/bigquery:v2/bigquery.tables.delete": delete_table +"/bigquery:v2/bigquery.tables.delete/datasetId": dataset_id +"/bigquery:v2/bigquery.tables.delete/projectId": project_id +"/bigquery:v2/bigquery.tables.delete/tableId": table_id +"/bigquery:v2/bigquery.tables.get": get_table +"/bigquery:v2/bigquery.tables.get/datasetId": dataset_id +"/bigquery:v2/bigquery.tables.get/projectId": project_id +"/bigquery:v2/bigquery.tables.get/selectedFields": selected_fields +"/bigquery:v2/bigquery.tables.get/tableId": table_id +"/bigquery:v2/bigquery.tables.insert": insert_table +"/bigquery:v2/bigquery.tables.insert/datasetId": dataset_id +"/bigquery:v2/bigquery.tables.insert/projectId": project_id +"/bigquery:v2/bigquery.tables.list": list_tables +"/bigquery:v2/bigquery.tables.list/datasetId": dataset_id +"/bigquery:v2/bigquery.tables.list/maxResults": max_results +"/bigquery:v2/bigquery.tables.list/pageToken": page_token +"/bigquery:v2/bigquery.tables.list/projectId": project_id +"/bigquery:v2/bigquery.tables.patch": patch_table +"/bigquery:v2/bigquery.tables.patch/datasetId": dataset_id +"/bigquery:v2/bigquery.tables.patch/projectId": project_id +"/bigquery:v2/bigquery.tables.patch/tableId": table_id +"/bigquery:v2/bigquery.tables.update": update_table +"/bigquery:v2/bigquery.tables.update/datasetId": dataset_id +"/bigquery:v2/bigquery.tables.update/projectId": project_id +"/bigquery:v2/bigquery.tables.update/tableId": table_id +"/bigquery:v2/fields": fields +"/bigquery:v2/key": key +"/bigquery:v2/quotaUser": quota_user +"/bigquery:v2/userIp": user_ip +"/bigquerydatatransfer:v1/CheckValidCredsRequest": check_valid_creds_request +"/bigquerydatatransfer:v1/CheckValidCredsResponse": check_valid_creds_response +"/bigquerydatatransfer:v1/CheckValidCredsResponse/hasValidCreds": has_valid_creds +"/bigquerydatatransfer:v1/DataSource": data_source +"/bigquerydatatransfer:v1/DataSource/authorizationType": authorization_type +"/bigquerydatatransfer:v1/DataSource/clientId": client_id +"/bigquerydatatransfer:v1/DataSource/dataRefreshType": data_refresh_type +"/bigquerydatatransfer:v1/DataSource/dataSourceId": data_source_id +"/bigquerydatatransfer:v1/DataSource/defaultDataRefreshWindowDays": default_data_refresh_window_days +"/bigquerydatatransfer:v1/DataSource/defaultSchedule": default_schedule +"/bigquerydatatransfer:v1/DataSource/description": description +"/bigquerydatatransfer:v1/DataSource/displayName": display_name +"/bigquerydatatransfer:v1/DataSource/helpUrl": help_url +"/bigquerydatatransfer:v1/DataSource/manualRunsDisabled": manual_runs_disabled +"/bigquerydatatransfer:v1/DataSource/name": name +"/bigquerydatatransfer:v1/DataSource/parameters": parameters +"/bigquerydatatransfer:v1/DataSource/parameters/parameter": parameter +"/bigquerydatatransfer:v1/DataSource/scopes": scopes +"/bigquerydatatransfer:v1/DataSource/scopes/scope": scope +"/bigquerydatatransfer:v1/DataSource/statusUpdateDeadlineSeconds": status_update_deadline_seconds +"/bigquerydatatransfer:v1/DataSource/supportsCustomSchedule": supports_custom_schedule +"/bigquerydatatransfer:v1/DataSource/supportsMultipleTransfers": supports_multiple_transfers +"/bigquerydatatransfer:v1/DataSource/transferType": transfer_type +"/bigquerydatatransfer:v1/DataSourceParameter": data_source_parameter +"/bigquerydatatransfer:v1/DataSourceParameter/allowedValues": allowed_values +"/bigquerydatatransfer:v1/DataSourceParameter/allowedValues/allowed_value": allowed_value +"/bigquerydatatransfer:v1/DataSourceParameter/description": description +"/bigquerydatatransfer:v1/DataSourceParameter/displayName": display_name +"/bigquerydatatransfer:v1/DataSourceParameter/fields": fields +"/bigquerydatatransfer:v1/DataSourceParameter/fields/field": field +"/bigquerydatatransfer:v1/DataSourceParameter/immutable": immutable +"/bigquerydatatransfer:v1/DataSourceParameter/maxValue": max_value +"/bigquerydatatransfer:v1/DataSourceParameter/minValue": min_value +"/bigquerydatatransfer:v1/DataSourceParameter/paramId": param_id +"/bigquerydatatransfer:v1/DataSourceParameter/recurse": recurse +"/bigquerydatatransfer:v1/DataSourceParameter/repeated": repeated +"/bigquerydatatransfer:v1/DataSourceParameter/required": required +"/bigquerydatatransfer:v1/DataSourceParameter/type": type +"/bigquerydatatransfer:v1/DataSourceParameter/validationDescription": validation_description +"/bigquerydatatransfer:v1/DataSourceParameter/validationHelpUrl": validation_help_url +"/bigquerydatatransfer:v1/DataSourceParameter/validationRegex": validation_regex +"/bigquerydatatransfer:v1/Empty": empty +"/bigquerydatatransfer:v1/IsEnabledRequest": is_enabled_request +"/bigquerydatatransfer:v1/IsEnabledResponse": is_enabled_response +"/bigquerydatatransfer:v1/IsEnabledResponse/enabled": enabled +"/bigquerydatatransfer:v1/ListDataSourcesResponse": list_data_sources_response +"/bigquerydatatransfer:v1/ListDataSourcesResponse/dataSources": data_sources +"/bigquerydatatransfer:v1/ListDataSourcesResponse/dataSources/data_source": data_source +"/bigquerydatatransfer:v1/ListDataSourcesResponse/nextPageToken": next_page_token +"/bigquerydatatransfer:v1/ListLocationsResponse": list_locations_response +"/bigquerydatatransfer:v1/ListLocationsResponse/locations": locations +"/bigquerydatatransfer:v1/ListLocationsResponse/locations/location": location +"/bigquerydatatransfer:v1/ListLocationsResponse/nextPageToken": next_page_token +"/bigquerydatatransfer:v1/ListTransferConfigsResponse": list_transfer_configs_response +"/bigquerydatatransfer:v1/ListTransferConfigsResponse/nextPageToken": next_page_token +"/bigquerydatatransfer:v1/ListTransferConfigsResponse/transferConfigs": transfer_configs +"/bigquerydatatransfer:v1/ListTransferConfigsResponse/transferConfigs/transfer_config": transfer_config +"/bigquerydatatransfer:v1/ListTransferLogsResponse": list_transfer_logs_response +"/bigquerydatatransfer:v1/ListTransferLogsResponse/nextPageToken": next_page_token +"/bigquerydatatransfer:v1/ListTransferLogsResponse/transferMessages": transfer_messages +"/bigquerydatatransfer:v1/ListTransferLogsResponse/transferMessages/transfer_message": transfer_message +"/bigquerydatatransfer:v1/ListTransferRunsResponse": list_transfer_runs_response +"/bigquerydatatransfer:v1/ListTransferRunsResponse/nextPageToken": next_page_token +"/bigquerydatatransfer:v1/ListTransferRunsResponse/transferRuns": transfer_runs +"/bigquerydatatransfer:v1/ListTransferRunsResponse/transferRuns/transfer_run": transfer_run +"/bigquerydatatransfer:v1/Location": location +"/bigquerydatatransfer:v1/Location/labels": labels +"/bigquerydatatransfer:v1/Location/labels/label": label +"/bigquerydatatransfer:v1/Location/locationId": location_id +"/bigquerydatatransfer:v1/Location/metadata": metadata +"/bigquerydatatransfer:v1/Location/metadata/metadatum": metadatum +"/bigquerydatatransfer:v1/Location/name": name +"/bigquerydatatransfer:v1/ScheduleTransferRunsRequest": schedule_transfer_runs_request +"/bigquerydatatransfer:v1/ScheduleTransferRunsRequest/rangeEndTime": range_end_time +"/bigquerydatatransfer:v1/ScheduleTransferRunsRequest/rangeStartTime": range_start_time +"/bigquerydatatransfer:v1/ScheduleTransferRunsResponse": schedule_transfer_runs_response +"/bigquerydatatransfer:v1/ScheduleTransferRunsResponse/createdRuns": created_runs +"/bigquerydatatransfer:v1/ScheduleTransferRunsResponse/createdRuns/created_run": created_run +"/bigquerydatatransfer:v1/SetEnabledRequest": set_enabled_request +"/bigquerydatatransfer:v1/SetEnabledRequest/enabled": enabled +"/bigquerydatatransfer:v1/TransferConfig": transfer_config +"/bigquerydatatransfer:v1/TransferConfig/dataRefreshWindowDays": data_refresh_window_days +"/bigquerydatatransfer:v1/TransferConfig/dataSourceId": data_source_id +"/bigquerydatatransfer:v1/TransferConfig/datasetRegion": dataset_region +"/bigquerydatatransfer:v1/TransferConfig/destinationDatasetId": destination_dataset_id +"/bigquerydatatransfer:v1/TransferConfig/disabled": disabled +"/bigquerydatatransfer:v1/TransferConfig/displayName": display_name +"/bigquerydatatransfer:v1/TransferConfig/name": name +"/bigquerydatatransfer:v1/TransferConfig/nextRunTime": next_run_time +"/bigquerydatatransfer:v1/TransferConfig/params": params +"/bigquerydatatransfer:v1/TransferConfig/params/param": param +"/bigquerydatatransfer:v1/TransferConfig/schedule": schedule +"/bigquerydatatransfer:v1/TransferConfig/status": status +"/bigquerydatatransfer:v1/TransferConfig/updateTime": update_time +"/bigquerydatatransfer:v1/TransferConfig/userId": user_id +"/bigquerydatatransfer:v1/TransferMessage": transfer_message +"/bigquerydatatransfer:v1/TransferMessage/messageText": message_text +"/bigquerydatatransfer:v1/TransferMessage/messageTime": message_time +"/bigquerydatatransfer:v1/TransferMessage/severity": severity +"/bigquerydatatransfer:v1/TransferRun": transfer_run +"/bigquerydatatransfer:v1/TransferRun/dataSourceId": data_source_id +"/bigquerydatatransfer:v1/TransferRun/datasetRegion": dataset_region +"/bigquerydatatransfer:v1/TransferRun/destinationDatasetId": destination_dataset_id +"/bigquerydatatransfer:v1/TransferRun/endTime": end_time +"/bigquerydatatransfer:v1/TransferRun/name": name +"/bigquerydatatransfer:v1/TransferRun/params": params +"/bigquerydatatransfer:v1/TransferRun/params/param": param +"/bigquerydatatransfer:v1/TransferRun/runTime": run_time +"/bigquerydatatransfer:v1/TransferRun/schedule": schedule +"/bigquerydatatransfer:v1/TransferRun/scheduleTime": schedule_time +"/bigquerydatatransfer:v1/TransferRun/startTime": start_time +"/bigquerydatatransfer:v1/TransferRun/status": status +"/bigquerydatatransfer:v1/TransferRun/updateTime": update_time +"/bigquerydatatransfer:v1/TransferRun/userId": user_id +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.dataSources.checkValidCreds": check_project_data_source_valid_creds +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.dataSources.checkValidCreds/name": name +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.dataSources.get": get_project_data_source +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.dataSources.get/name": name +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.dataSources.list": list_project_data_sources +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.dataSources.list/pageSize": page_size +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.dataSources.list/pageToken": page_token +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.dataSources.list/parent": parent +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.isEnabled": is_project_enabled +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.isEnabled/name": name +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.dataSources.checkValidCreds": check_project_location_data_source_valid_creds +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.dataSources.checkValidCreds/name": name +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.dataSources.get": get_project_location_data_source +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.dataSources.get/name": name +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.dataSources.list": list_project_location_data_sources +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.dataSources.list/pageSize": page_size +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.dataSources.list/pageToken": page_token +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.dataSources.list/parent": parent +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.get": get_project_location +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.get/name": name +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.isEnabled": is_location_enabled +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.isEnabled/name": name +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.list": list_project_locations +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.list/filter": filter +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.list/name": name +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.list/pageSize": page_size +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.list/pageToken": page_token +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.setEnabled": set_location_enabled +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.setEnabled/name": name +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.create": create_project_location_transfer_config +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.create/authorizationCode": authorization_code +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.create/parent": parent +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.delete": delete_project_location_transfer_config +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.delete/name": name +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.get": get_project_location_transfer_config +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.get/name": name +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.list": list_project_location_transfer_configs +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.list/dataSourceIds": data_source_ids +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.list/pageSize": page_size +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.list/pageToken": page_token +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.list/parent": parent +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.patch": patch_project_location_transfer_config +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.patch/authorizationCode": authorization_code +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.patch/name": name +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.patch/updateMask": update_mask +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.runs.delete": delete_project_location_transfer_config_run +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.runs.delete/name": name +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.runs.get": get_project_location_transfer_config_run +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.runs.get/name": name +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.runs.list": list_project_location_transfer_config_runs +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.runs.list/pageSize": page_size +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.runs.list/pageToken": page_token +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.runs.list/parent": parent +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.runs.list/runAttempt": run_attempt +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.runs.list/statuses": statuses +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.runs.transferLogs.list": list_project_location_transfer_config_run_transfer_logs +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.runs.transferLogs.list/messageTypes": message_types +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.runs.transferLogs.list/pageSize": page_size +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.runs.transferLogs.list/pageToken": page_token +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.runs.transferLogs.list/parent": parent +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.scheduleRuns": schedule_project_location_transfer_config_runs +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.locations.transferConfigs.scheduleRuns/parent": parent +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.setEnabled": set_project_enabled +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.setEnabled/name": name +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.create": create_project_transfer_config +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.create/authorizationCode": authorization_code +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.create/parent": parent +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.delete": delete_project_transfer_config +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.delete/name": name +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.get": get_project_transfer_config +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.get/name": name +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.list": list_project_transfer_configs +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.list/dataSourceIds": data_source_ids +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.list/pageSize": page_size +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.list/pageToken": page_token +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.list/parent": parent +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.patch": patch_project_transfer_config +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.patch/authorizationCode": authorization_code +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.patch/name": name +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.patch/updateMask": update_mask +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.runs.delete": delete_project_transfer_config_run +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.runs.delete/name": name +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.runs.get": get_project_transfer_config_run +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.runs.get/name": name +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.runs.list": list_project_transfer_config_runs +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.runs.list/pageSize": page_size +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.runs.list/pageToken": page_token +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.runs.list/parent": parent +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.runs.list/runAttempt": run_attempt +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.runs.list/statuses": statuses +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.runs.transferLogs.list": list_project_transfer_config_run_transfer_logs +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.runs.transferLogs.list/messageTypes": message_types +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.runs.transferLogs.list/pageSize": page_size +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.runs.transferLogs.list/pageToken": page_token +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.runs.transferLogs.list/parent": parent +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.scheduleRuns": schedule_project_transfer_config_runs +"/bigquerydatatransfer:v1/bigquerydatatransfer.projects.transferConfigs.scheduleRuns/parent": parent +"/bigquerydatatransfer:v1/fields": fields +"/bigquerydatatransfer:v1/key": key +"/bigquerydatatransfer:v1/quotaUser": quota_user "/blogger:v3/Blog": blog "/blogger:v3/Blog/customMetaData": custom_meta_data "/blogger:v3/Blog/description": description @@ -11936,241 +7135,181 @@ "/blogger:v3/User/locale/variant": variant "/blogger:v3/User/selfLink": self_link "/blogger:v3/User/url": url -"/books:v1/fields": fields -"/books:v1/key": key -"/books:v1/quotaUser": quota_user -"/books:v1/userIp": user_ip -"/books:v1/books.bookshelves.get/shelf": shelf -"/books:v1/books.bookshelves.get/source": source -"/books:v1/books.bookshelves.get/userId": user_id -"/books:v1/books.bookshelves.list/source": source -"/books:v1/books.bookshelves.list/userId": user_id -"/books:v1/books.bookshelves.volumes.list/maxResults": max_results -"/books:v1/books.bookshelves.volumes.list/shelf": shelf -"/books:v1/books.bookshelves.volumes.list/showPreorders": show_preorders -"/books:v1/books.bookshelves.volumes.list/source": source -"/books:v1/books.bookshelves.volumes.list/startIndex": start_index -"/books:v1/books.bookshelves.volumes.list/userId": user_id -"/books:v1/books.cloudloading.addBook/drive_document_id": drive_document_id -"/books:v1/books.cloudloading.addBook/mime_type": mime_type -"/books:v1/books.cloudloading.addBook/name": name -"/books:v1/books.cloudloading.addBook/upload_client_token": upload_client_token -"/books:v1/books.cloudloading.deleteBook/volumeId": volume_id -"/books:v1/books.dictionary.listOfflineMetadata/cpksver": cpksver -"/books:v1/books.layers.get/contentVersion": content_version -"/books:v1/books.layers.get/source": source -"/books:v1/books.layers.get/summaryId": summary_id -"/books:v1/books.layers.get/volumeId": volume_id -"/books:v1/books.layers.list/contentVersion": content_version -"/books:v1/books.layers.list/maxResults": max_results -"/books:v1/books.layers.list/pageToken": page_token -"/books:v1/books.layers.list/source": source -"/books:v1/books.layers.list/volumeId": volume_id -"/books:v1/books.layers.annotationData.get/allowWebDefinitions": allow_web_definitions -"/books:v1/books.layers.annotationData.get/annotationDataId": annotation_data_id -"/books:v1/books.layers.annotationData.get/contentVersion": content_version -"/books:v1/books.layers.annotationData.get/h": h -"/books:v1/books.layers.annotationData.get/layerId": layer_id -"/books:v1/books.layers.annotationData.get/locale": locale -"/books:v1/books.layers.annotationData.get/scale": scale -"/books:v1/books.layers.annotationData.get/source": source -"/books:v1/books.layers.annotationData.get/volumeId": volume_id -"/books:v1/books.layers.annotationData.get/w": w -"/books:v1/books.layers.annotationData.list/annotationDataId": annotation_data_id -"/books:v1/books.layers.annotationData.list/contentVersion": content_version -"/books:v1/books.layers.annotationData.list/h": h -"/books:v1/books.layers.annotationData.list/layerId": layer_id -"/books:v1/books.layers.annotationData.list/locale": locale -"/books:v1/books.layers.annotationData.list/maxResults": max_results -"/books:v1/books.layers.annotationData.list/pageToken": page_token -"/books:v1/books.layers.annotationData.list/scale": scale -"/books:v1/books.layers.annotationData.list/source": source -"/books:v1/books.layers.annotationData.list/updatedMax": updated_max -"/books:v1/books.layers.annotationData.list/updatedMin": updated_min -"/books:v1/books.layers.annotationData.list/volumeId": volume_id -"/books:v1/books.layers.annotationData.list/w": w -"/books:v1/books.layers.volumeAnnotations.get/annotationId": annotation_id -"/books:v1/books.layers.volumeAnnotations.get/layerId": layer_id -"/books:v1/books.layers.volumeAnnotations.get/locale": locale -"/books:v1/books.layers.volumeAnnotations.get/source": source -"/books:v1/books.layers.volumeAnnotations.get/volumeId": volume_id -"/books:v1/books.layers.volumeAnnotations.list/contentVersion": content_version -"/books:v1/books.layers.volumeAnnotations.list/endOffset": end_offset -"/books:v1/books.layers.volumeAnnotations.list/endPosition": end_position -"/books:v1/books.layers.volumeAnnotations.list/layerId": layer_id -"/books:v1/books.layers.volumeAnnotations.list/locale": locale -"/books:v1/books.layers.volumeAnnotations.list/maxResults": max_results -"/books:v1/books.layers.volumeAnnotations.list/pageToken": page_token -"/books:v1/books.layers.volumeAnnotations.list/showDeleted": show_deleted -"/books:v1/books.layers.volumeAnnotations.list/source": source -"/books:v1/books.layers.volumeAnnotations.list/startOffset": start_offset -"/books:v1/books.layers.volumeAnnotations.list/startPosition": start_position -"/books:v1/books.layers.volumeAnnotations.list/updatedMax": updated_max -"/books:v1/books.layers.volumeAnnotations.list/updatedMin": updated_min -"/books:v1/books.layers.volumeAnnotations.list/volumeAnnotationsVersion": volume_annotations_version -"/books:v1/books.layers.volumeAnnotations.list/volumeId": volume_id -"/books:v1/books.myconfig.releaseDownloadAccess/cpksver": cpksver -"/books:v1/books.myconfig.releaseDownloadAccess/locale": locale -"/books:v1/books.myconfig.releaseDownloadAccess/source": source -"/books:v1/books.myconfig.releaseDownloadAccess/volumeIds": volume_ids -"/books:v1/books.myconfig.requestAccess/cpksver": cpksver -"/books:v1/books.myconfig.requestAccess/licenseTypes": license_types -"/books:v1/books.myconfig.requestAccess/locale": locale -"/books:v1/books.myconfig.requestAccess/nonce": nonce -"/books:v1/books.myconfig.requestAccess/source": source -"/books:v1/books.myconfig.requestAccess/volumeId": volume_id -"/books:v1/books.myconfig.syncVolumeLicenses/cpksver": cpksver -"/books:v1/books.myconfig.syncVolumeLicenses/features": features -"/books:v1/books.myconfig.syncVolumeLicenses/includeNonComicsSeries": include_non_comics_series -"/books:v1/books.myconfig.syncVolumeLicenses/locale": locale -"/books:v1/books.myconfig.syncVolumeLicenses/nonce": nonce -"/books:v1/books.myconfig.syncVolumeLicenses/showPreorders": show_preorders -"/books:v1/books.myconfig.syncVolumeLicenses/source": source -"/books:v1/books.myconfig.syncVolumeLicenses/volumeIds": volume_ids -"/books:v1/books.mylibrary.annotations.delete/annotationId": annotation_id -"/books:v1/books.mylibrary.annotations.delete/source": source -"/books:v1/books.mylibrary.annotations.insert/annotationId": annotation_id -"/books:v1/books.mylibrary.annotations.insert/country": country -"/books:v1/books.mylibrary.annotations.insert/showOnlySummaryInResponse": show_only_summary_in_response -"/books:v1/books.mylibrary.annotations.insert/source": source -"/books:v1/books.mylibrary.annotations.list/contentVersion": content_version -"/books:v1/books.mylibrary.annotations.list/layerId": layer_id -"/books:v1/books.mylibrary.annotations.list/layerIds": layer_ids -"/books:v1/books.mylibrary.annotations.list/maxResults": max_results -"/books:v1/books.mylibrary.annotations.list/pageToken": page_token -"/books:v1/books.mylibrary.annotations.list/showDeleted": show_deleted -"/books:v1/books.mylibrary.annotations.list/source": source -"/books:v1/books.mylibrary.annotations.list/updatedMax": updated_max -"/books:v1/books.mylibrary.annotations.list/updatedMin": updated_min -"/books:v1/books.mylibrary.annotations.list/volumeId": volume_id -"/books:v1/books.mylibrary.annotations.summary/layerIds": layer_ids -"/books:v1/books.mylibrary.annotations.summary/volumeId": volume_id -"/books:v1/books.mylibrary.annotations.update/annotationId": annotation_id -"/books:v1/books.mylibrary.annotations.update/source": source -"/books:v1/books.mylibrary.bookshelves.addVolume/reason": reason -"/books:v1/books.mylibrary.bookshelves.addVolume/shelf": shelf -"/books:v1/books.mylibrary.bookshelves.addVolume/source": source -"/books:v1/books.mylibrary.bookshelves.addVolume/volumeId": volume_id -"/books:v1/books.mylibrary.bookshelves.clearVolumes/shelf": shelf -"/books:v1/books.mylibrary.bookshelves.clearVolumes/source": source -"/books:v1/books.mylibrary.bookshelves.get/shelf": shelf -"/books:v1/books.mylibrary.bookshelves.get/source": source -"/books:v1/books.mylibrary.bookshelves.list/source": source -"/books:v1/books.mylibrary.bookshelves.moveVolume/shelf": shelf -"/books:v1/books.mylibrary.bookshelves.moveVolume/source": source -"/books:v1/books.mylibrary.bookshelves.moveVolume/volumeId": volume_id -"/books:v1/books.mylibrary.bookshelves.moveVolume/volumePosition": volume_position -"/books:v1/books.mylibrary.bookshelves.removeVolume/reason": reason -"/books:v1/books.mylibrary.bookshelves.removeVolume/shelf": shelf -"/books:v1/books.mylibrary.bookshelves.removeVolume/source": source -"/books:v1/books.mylibrary.bookshelves.removeVolume/volumeId": volume_id -"/books:v1/books.mylibrary.bookshelves.volumes.list/country": country -"/books:v1/books.mylibrary.bookshelves.volumes.list/maxResults": max_results -"/books:v1/books.mylibrary.bookshelves.volumes.list/projection": projection -"/books:v1/books.mylibrary.bookshelves.volumes.list/q": q -"/books:v1/books.mylibrary.bookshelves.volumes.list/shelf": shelf -"/books:v1/books.mylibrary.bookshelves.volumes.list/showPreorders": show_preorders -"/books:v1/books.mylibrary.bookshelves.volumes.list/source": source -"/books:v1/books.mylibrary.bookshelves.volumes.list/startIndex": start_index -"/books:v1/books.mylibrary.readingpositions.get/contentVersion": content_version -"/books:v1/books.mylibrary.readingpositions.get/source": source -"/books:v1/books.mylibrary.readingpositions.get/volumeId": volume_id -"/books:v1/books.mylibrary.readingpositions.setPosition/action": action -"/books:v1/books.mylibrary.readingpositions.setPosition/contentVersion": content_version -"/books:v1/books.mylibrary.readingpositions.setPosition/deviceCookie": device_cookie -"/books:v1/books.mylibrary.readingpositions.setPosition/position": position -"/books:v1/books.mylibrary.readingpositions.setPosition/source": source -"/books:v1/books.mylibrary.readingpositions.setPosition/timestamp": timestamp -"/books:v1/books.mylibrary.readingpositions.setPosition/volumeId": volume_id -"/books:v1/books.notification.get": get_notification -"/books:v1/books.notification.get/locale": locale -"/books:v1/books.notification.get/notification_id": notification_id -"/books:v1/books.notification.get/source": source -"/books:v1/books.onboarding.listCategories/locale": locale -"/books:v1/books.onboarding.listCategoryVolumes/categoryId": category_id -"/books:v1/books.onboarding.listCategoryVolumes/locale": locale -"/books:v1/books.onboarding.listCategoryVolumes/maxAllowedMaturityRating": max_allowed_maturity_rating -"/books:v1/books.onboarding.listCategoryVolumes/pageSize": page_size -"/books:v1/books.onboarding.listCategoryVolumes/pageToken": page_token -"/books:v1/books.personalizedstream.get": get_personalizedstream -"/books:v1/books.personalizedstream.get/locale": locale -"/books:v1/books.personalizedstream.get/maxAllowedMaturityRating": max_allowed_maturity_rating -"/books:v1/books.personalizedstream.get/source": source -"/books:v1/books.promooffer.accept/androidId": android_id -"/books:v1/books.promooffer.accept/device": device -"/books:v1/books.promooffer.accept/manufacturer": manufacturer -"/books:v1/books.promooffer.accept/model": model -"/books:v1/books.promooffer.accept/offerId": offer_id -"/books:v1/books.promooffer.accept/product": product -"/books:v1/books.promooffer.accept/serial": serial -"/books:v1/books.promooffer.accept/volumeId": volume_id -"/books:v1/books.promooffer.dismiss/androidId": android_id -"/books:v1/books.promooffer.dismiss/device": device -"/books:v1/books.promooffer.dismiss/manufacturer": manufacturer -"/books:v1/books.promooffer.dismiss/model": model -"/books:v1/books.promooffer.dismiss/offerId": offer_id -"/books:v1/books.promooffer.dismiss/product": product -"/books:v1/books.promooffer.dismiss/serial": serial -"/books:v1/books.promooffer.get/androidId": android_id -"/books:v1/books.promooffer.get/device": device -"/books:v1/books.promooffer.get/manufacturer": manufacturer -"/books:v1/books.promooffer.get/model": model -"/books:v1/books.promooffer.get/product": product -"/books:v1/books.promooffer.get/serial": serial -"/books:v1/books.series.get": get_series -"/books:v1/books.series.get/series_id": series_id -"/books:v1/books.series.membership.get": get_series_membership -"/books:v1/books.series.membership.get/page_size": page_size -"/books:v1/books.series.membership.get/page_token": page_token -"/books:v1/books.series.membership.get/series_id": series_id -"/books:v1/books.volumes.get": get_volume -"/books:v1/books.volumes.get/country": country -"/books:v1/books.volumes.get/includeNonComicsSeries": include_non_comics_series -"/books:v1/books.volumes.get/partner": partner -"/books:v1/books.volumes.get/projection": projection -"/books:v1/books.volumes.get/source": source -"/books:v1/books.volumes.get/user_library_consistent_read": user_library_consistent_read -"/books:v1/books.volumes.get/volumeId": volume_id -"/books:v1/books.volumes.list": list_volumes -"/books:v1/books.volumes.list/download": download -"/books:v1/books.volumes.list/filter": filter -"/books:v1/books.volumes.list/langRestrict": lang_restrict -"/books:v1/books.volumes.list/libraryRestrict": library_restrict -"/books:v1/books.volumes.list/maxAllowedMaturityRating": max_allowed_maturity_rating -"/books:v1/books.volumes.list/maxResults": max_results -"/books:v1/books.volumes.list/orderBy": order_by -"/books:v1/books.volumes.list/partner": partner -"/books:v1/books.volumes.list/printType": print_type -"/books:v1/books.volumes.list/projection": projection -"/books:v1/books.volumes.list/q": q -"/books:v1/books.volumes.list/showPreorders": show_preorders -"/books:v1/books.volumes.list/source": source -"/books:v1/books.volumes.list/startIndex": start_index -"/books:v1/books.volumes.associated.list/association": association -"/books:v1/books.volumes.associated.list/locale": locale -"/books:v1/books.volumes.associated.list/maxAllowedMaturityRating": max_allowed_maturity_rating -"/books:v1/books.volumes.associated.list/source": source -"/books:v1/books.volumes.associated.list/volumeId": volume_id -"/books:v1/books.volumes.mybooks.list/acquireMethod": acquire_method -"/books:v1/books.volumes.mybooks.list/country": country -"/books:v1/books.volumes.mybooks.list/locale": locale -"/books:v1/books.volumes.mybooks.list/maxResults": max_results -"/books:v1/books.volumes.mybooks.list/processingState": processing_state -"/books:v1/books.volumes.mybooks.list/source": source -"/books:v1/books.volumes.mybooks.list/startIndex": start_index -"/books:v1/books.volumes.recommended.list/locale": locale -"/books:v1/books.volumes.recommended.list/maxAllowedMaturityRating": max_allowed_maturity_rating -"/books:v1/books.volumes.recommended.list/source": source -"/books:v1/books.volumes.recommended.rate/locale": locale -"/books:v1/books.volumes.recommended.rate/rating": rating -"/books:v1/books.volumes.recommended.rate/source": source -"/books:v1/books.volumes.recommended.rate/volumeId": volume_id -"/books:v1/books.volumes.useruploaded.list/locale": locale -"/books:v1/books.volumes.useruploaded.list/maxResults": max_results -"/books:v1/books.volumes.useruploaded.list/processingState": processing_state -"/books:v1/books.volumes.useruploaded.list/source": source -"/books:v1/books.volumes.useruploaded.list/startIndex": start_index -"/books:v1/books.volumes.useruploaded.list/volumeId": volume_id +"/blogger:v3/blogger.blogUserInfos.get": get_blog_user_info +"/blogger:v3/blogger.blogUserInfos.get/blogId": blog_id +"/blogger:v3/blogger.blogUserInfos.get/maxPosts": max_posts +"/blogger:v3/blogger.blogUserInfos.get/userId": user_id +"/blogger:v3/blogger.blogs.get": get_blog +"/blogger:v3/blogger.blogs.get/blogId": blog_id +"/blogger:v3/blogger.blogs.get/maxPosts": max_posts +"/blogger:v3/blogger.blogs.get/view": view +"/blogger:v3/blogger.blogs.getByUrl": get_blog_by_url +"/blogger:v3/blogger.blogs.getByUrl/url": url +"/blogger:v3/blogger.blogs.getByUrl/view": view +"/blogger:v3/blogger.blogs.listByUser": list_blogs_by_user +"/blogger:v3/blogger.blogs.listByUser/fetchUserInfo": fetch_user_info +"/blogger:v3/blogger.blogs.listByUser/role": role +"/blogger:v3/blogger.blogs.listByUser/status": status +"/blogger:v3/blogger.blogs.listByUser/userId": user_id +"/blogger:v3/blogger.blogs.listByUser/view": view +"/blogger:v3/blogger.comments.approve": approve_comment +"/blogger:v3/blogger.comments.approve/blogId": blog_id +"/blogger:v3/blogger.comments.approve/commentId": comment_id +"/blogger:v3/blogger.comments.approve/postId": post_id +"/blogger:v3/blogger.comments.delete": delete_comment +"/blogger:v3/blogger.comments.delete/blogId": blog_id +"/blogger:v3/blogger.comments.delete/commentId": comment_id +"/blogger:v3/blogger.comments.delete/postId": post_id +"/blogger:v3/blogger.comments.get": get_comment +"/blogger:v3/blogger.comments.get/blogId": blog_id +"/blogger:v3/blogger.comments.get/commentId": comment_id +"/blogger:v3/blogger.comments.get/postId": post_id +"/blogger:v3/blogger.comments.get/view": view +"/blogger:v3/blogger.comments.list": list_comments +"/blogger:v3/blogger.comments.list/blogId": blog_id +"/blogger:v3/blogger.comments.list/endDate": end_date +"/blogger:v3/blogger.comments.list/fetchBodies": fetch_bodies +"/blogger:v3/blogger.comments.list/maxResults": max_results +"/blogger:v3/blogger.comments.list/pageToken": page_token +"/blogger:v3/blogger.comments.list/postId": post_id +"/blogger:v3/blogger.comments.list/startDate": start_date +"/blogger:v3/blogger.comments.list/status": status +"/blogger:v3/blogger.comments.list/view": view +"/blogger:v3/blogger.comments.listByBlog": list_comments_by_blog +"/blogger:v3/blogger.comments.listByBlog/blogId": blog_id +"/blogger:v3/blogger.comments.listByBlog/endDate": end_date +"/blogger:v3/blogger.comments.listByBlog/fetchBodies": fetch_bodies +"/blogger:v3/blogger.comments.listByBlog/maxResults": max_results +"/blogger:v3/blogger.comments.listByBlog/pageToken": page_token +"/blogger:v3/blogger.comments.listByBlog/startDate": start_date +"/blogger:v3/blogger.comments.listByBlog/status": status +"/blogger:v3/blogger.comments.markAsSpam": mark_comment_as_spam +"/blogger:v3/blogger.comments.markAsSpam/blogId": blog_id +"/blogger:v3/blogger.comments.markAsSpam/commentId": comment_id +"/blogger:v3/blogger.comments.markAsSpam/postId": post_id +"/blogger:v3/blogger.comments.removeContent": remove_comment_content +"/blogger:v3/blogger.comments.removeContent/blogId": blog_id +"/blogger:v3/blogger.comments.removeContent/commentId": comment_id +"/blogger:v3/blogger.comments.removeContent/postId": post_id +"/blogger:v3/blogger.pageViews.get": get_page_view +"/blogger:v3/blogger.pageViews.get/blogId": blog_id +"/blogger:v3/blogger.pageViews.get/range": range +"/blogger:v3/blogger.pages.delete": delete_page +"/blogger:v3/blogger.pages.delete/blogId": blog_id +"/blogger:v3/blogger.pages.delete/pageId": page_id +"/blogger:v3/blogger.pages.get": get_page +"/blogger:v3/blogger.pages.get/blogId": blog_id +"/blogger:v3/blogger.pages.get/pageId": page_id +"/blogger:v3/blogger.pages.get/view": view +"/blogger:v3/blogger.pages.insert": insert_page +"/blogger:v3/blogger.pages.insert/blogId": blog_id +"/blogger:v3/blogger.pages.insert/isDraft": is_draft +"/blogger:v3/blogger.pages.list": list_pages +"/blogger:v3/blogger.pages.list/blogId": blog_id +"/blogger:v3/blogger.pages.list/fetchBodies": fetch_bodies +"/blogger:v3/blogger.pages.list/maxResults": max_results +"/blogger:v3/blogger.pages.list/pageToken": page_token +"/blogger:v3/blogger.pages.list/status": status +"/blogger:v3/blogger.pages.list/view": view +"/blogger:v3/blogger.pages.patch": patch_page +"/blogger:v3/blogger.pages.patch/blogId": blog_id +"/blogger:v3/blogger.pages.patch/pageId": page_id +"/blogger:v3/blogger.pages.patch/publish": publish +"/blogger:v3/blogger.pages.patch/revert": revert +"/blogger:v3/blogger.pages.publish": publish_page +"/blogger:v3/blogger.pages.publish/blogId": blog_id +"/blogger:v3/blogger.pages.publish/pageId": page_id +"/blogger:v3/blogger.pages.revert": revert_page +"/blogger:v3/blogger.pages.revert/blogId": blog_id +"/blogger:v3/blogger.pages.revert/pageId": page_id +"/blogger:v3/blogger.pages.update": update_page +"/blogger:v3/blogger.pages.update/blogId": blog_id +"/blogger:v3/blogger.pages.update/pageId": page_id +"/blogger:v3/blogger.pages.update/publish": publish +"/blogger:v3/blogger.pages.update/revert": revert +"/blogger:v3/blogger.postUserInfos.get": get_post_user_info +"/blogger:v3/blogger.postUserInfos.get/blogId": blog_id +"/blogger:v3/blogger.postUserInfos.get/maxComments": max_comments +"/blogger:v3/blogger.postUserInfos.get/postId": post_id +"/blogger:v3/blogger.postUserInfos.get/userId": user_id +"/blogger:v3/blogger.postUserInfos.list": list_post_user_info +"/blogger:v3/blogger.postUserInfos.list/blogId": blog_id +"/blogger:v3/blogger.postUserInfos.list/endDate": end_date +"/blogger:v3/blogger.postUserInfos.list/fetchBodies": fetch_bodies +"/blogger:v3/blogger.postUserInfos.list/labels": labels +"/blogger:v3/blogger.postUserInfos.list/maxResults": max_results +"/blogger:v3/blogger.postUserInfos.list/orderBy": order_by +"/blogger:v3/blogger.postUserInfos.list/pageToken": page_token +"/blogger:v3/blogger.postUserInfos.list/startDate": start_date +"/blogger:v3/blogger.postUserInfos.list/status": status +"/blogger:v3/blogger.postUserInfos.list/userId": user_id +"/blogger:v3/blogger.postUserInfos.list/view": view +"/blogger:v3/blogger.posts.delete": delete_post +"/blogger:v3/blogger.posts.delete/blogId": blog_id +"/blogger:v3/blogger.posts.delete/postId": post_id +"/blogger:v3/blogger.posts.get": get_post +"/blogger:v3/blogger.posts.get/blogId": blog_id +"/blogger:v3/blogger.posts.get/fetchBody": fetch_body +"/blogger:v3/blogger.posts.get/fetchImages": fetch_images +"/blogger:v3/blogger.posts.get/maxComments": max_comments +"/blogger:v3/blogger.posts.get/postId": post_id +"/blogger:v3/blogger.posts.get/view": view +"/blogger:v3/blogger.posts.getByPath": get_post_by_path +"/blogger:v3/blogger.posts.getByPath/blogId": blog_id +"/blogger:v3/blogger.posts.getByPath/maxComments": max_comments +"/blogger:v3/blogger.posts.getByPath/path": path +"/blogger:v3/blogger.posts.getByPath/view": view +"/blogger:v3/blogger.posts.insert": insert_post +"/blogger:v3/blogger.posts.insert/blogId": blog_id +"/blogger:v3/blogger.posts.insert/fetchBody": fetch_body +"/blogger:v3/blogger.posts.insert/fetchImages": fetch_images +"/blogger:v3/blogger.posts.insert/isDraft": is_draft +"/blogger:v3/blogger.posts.list": list_posts +"/blogger:v3/blogger.posts.list/blogId": blog_id +"/blogger:v3/blogger.posts.list/endDate": end_date +"/blogger:v3/blogger.posts.list/fetchBodies": fetch_bodies +"/blogger:v3/blogger.posts.list/fetchImages": fetch_images +"/blogger:v3/blogger.posts.list/labels": labels +"/blogger:v3/blogger.posts.list/maxResults": max_results +"/blogger:v3/blogger.posts.list/orderBy": order_by +"/blogger:v3/blogger.posts.list/pageToken": page_token +"/blogger:v3/blogger.posts.list/startDate": start_date +"/blogger:v3/blogger.posts.list/status": status +"/blogger:v3/blogger.posts.list/view": view +"/blogger:v3/blogger.posts.patch": patch_post +"/blogger:v3/blogger.posts.patch/blogId": blog_id +"/blogger:v3/blogger.posts.patch/fetchBody": fetch_body +"/blogger:v3/blogger.posts.patch/fetchImages": fetch_images +"/blogger:v3/blogger.posts.patch/maxComments": max_comments +"/blogger:v3/blogger.posts.patch/postId": post_id +"/blogger:v3/blogger.posts.patch/publish": publish +"/blogger:v3/blogger.posts.patch/revert": revert +"/blogger:v3/blogger.posts.publish": publish_post +"/blogger:v3/blogger.posts.publish/blogId": blog_id +"/blogger:v3/blogger.posts.publish/postId": post_id +"/blogger:v3/blogger.posts.publish/publishDate": publish_date +"/blogger:v3/blogger.posts.revert": revert_post +"/blogger:v3/blogger.posts.revert/blogId": blog_id +"/blogger:v3/blogger.posts.revert/postId": post_id +"/blogger:v3/blogger.posts.search": search_posts +"/blogger:v3/blogger.posts.search/blogId": blog_id +"/blogger:v3/blogger.posts.search/fetchBodies": fetch_bodies +"/blogger:v3/blogger.posts.search/orderBy": order_by +"/blogger:v3/blogger.posts.search/q": q +"/blogger:v3/blogger.posts.update": update_post +"/blogger:v3/blogger.posts.update/blogId": blog_id +"/blogger:v3/blogger.posts.update/fetchBody": fetch_body +"/blogger:v3/blogger.posts.update/fetchImages": fetch_images +"/blogger:v3/blogger.posts.update/maxComments": max_comments +"/blogger:v3/blogger.posts.update/postId": post_id +"/blogger:v3/blogger.posts.update/publish": publish +"/blogger:v3/blogger.posts.update/revert": revert +"/blogger:v3/blogger.users.get": get_user +"/blogger:v3/blogger.users.get/userId": user_id +"/blogger:v3/fields": fields +"/blogger:v3/key": key +"/blogger:v3/quotaUser": quota_user +"/blogger:v3/userIp": user_ip "/books:v1/Annotation": annotation "/books:v1/Annotation/afterSelectedText": after_selected_text "/books:v1/Annotation/beforeSelectedText": before_selected_text @@ -12203,6 +7342,7 @@ "/books:v1/Annotation/selfLink": self_link "/books:v1/Annotation/updated": updated "/books:v1/Annotation/volumeId": volume_id +"/books:v1/Annotationdata": annotation_data "/books:v1/Annotationdata/annotationType": annotation_type "/books:v1/Annotationdata/data": data "/books:v1/Annotationdata/encoded_data": encoded_data @@ -12218,6 +7358,7 @@ "/books:v1/Annotations/kind": kind "/books:v1/Annotations/nextPageToken": next_page_token "/books:v1/Annotations/totalItems": total_items +"/books:v1/AnnotationsSummary": annotations_summary "/books:v1/AnnotationsSummary/kind": kind "/books:v1/AnnotationsSummary/layers": layers "/books:v1/AnnotationsSummary/layers/layer": layer @@ -12226,19 +7367,23 @@ "/books:v1/AnnotationsSummary/layers/layer/limitType": limit_type "/books:v1/AnnotationsSummary/layers/layer/remainingCharacterCount": remaining_character_count "/books:v1/AnnotationsSummary/layers/layer/updated": updated +"/books:v1/Annotationsdata": annotations_data "/books:v1/Annotationsdata/items": items "/books:v1/Annotationsdata/items/item": item "/books:v1/Annotationsdata/kind": kind "/books:v1/Annotationsdata/nextPageToken": next_page_token "/books:v1/Annotationsdata/totalItems": total_items +"/books:v1/BooksAnnotationsRange": annotatins_Range "/books:v1/BooksAnnotationsRange/endOffset": end_offset "/books:v1/BooksAnnotationsRange/endPosition": end_position "/books:v1/BooksAnnotationsRange/startOffset": start_offset "/books:v1/BooksAnnotationsRange/startPosition": start_position +"/books:v1/BooksCloudloadingResource": loading_resource "/books:v1/BooksCloudloadingResource/author": author "/books:v1/BooksCloudloadingResource/processingState": processing_state "/books:v1/BooksCloudloadingResource/title": title "/books:v1/BooksCloudloadingResource/volumeId": volume_id +"/books:v1/BooksVolumesRecommendedRateResponse": rate_recommended_volume_response "/books:v1/BooksVolumesRecommendedRateResponse/consistency_token": consistency_token "/books:v1/Bookshelf": bookshelf "/books:v1/Bookshelf/access": access @@ -12274,6 +7419,7 @@ "/books:v1/ConcurrentAccessRestriction/source": source "/books:v1/ConcurrentAccessRestriction/timeWindowSeconds": time_window_seconds "/books:v1/ConcurrentAccessRestriction/volumeId": volume_id +"/books:v1/Dictlayerdata": dict_layer_data "/books:v1/Dictlayerdata/common": common "/books:v1/Dictlayerdata/common/title": title "/books:v1/Dictlayerdata/dict": dict @@ -12361,6 +7507,7 @@ "/books:v1/DownloadAccesses/downloadAccessList": download_access_list "/books:v1/DownloadAccesses/downloadAccessList/download_access_list": download_access_list "/books:v1/DownloadAccesses/kind": kind +"/books:v1/Geolayerdata": geo_layer_data "/books:v1/Geolayerdata/common": common "/books:v1/Geolayerdata/common/lang": lang "/books:v1/Geolayerdata/common/previewImageUrl": preview_image_url @@ -12387,10 +7534,12 @@ "/books:v1/Geolayerdata/geo/viewport/lo/longitude": longitude "/books:v1/Geolayerdata/geo/zoom": zoom "/books:v1/Geolayerdata/kind": kind +"/books:v1/Layersummaries": layer_summaries "/books:v1/Layersummaries/items": items "/books:v1/Layersummaries/items/item": item "/books:v1/Layersummaries/kind": kind "/books:v1/Layersummaries/totalItems": total_items +"/books:v1/Layersummary": layer_summary "/books:v1/Layersummary/annotationCount": annotation_count "/books:v1/Layersummary/annotationTypes": annotation_types "/books:v1/Layersummary/annotationTypes/annotation_type": annotation_type @@ -12481,10 +7630,12 @@ "/books:v1/Series/series/series/seriesId": series_id "/books:v1/Series/series/series/seriesType": series_type "/books:v1/Series/series/series/title": title +"/books:v1/Seriesmembership": series_membership "/books:v1/Seriesmembership/kind": kind "/books:v1/Seriesmembership/member": member "/books:v1/Seriesmembership/member/member": member "/books:v1/Seriesmembership/nextPageToken": next_page_token +"/books:v1/Usersettings": user_settings "/books:v1/Usersettings/kind": kind "/books:v1/Usersettings/notesExport": notes_export "/books:v1/Usersettings/notesExport/folderName": folder_name @@ -12637,6 +7788,7 @@ "/books:v1/Volume2/items/item": item "/books:v1/Volume2/kind": kind "/books:v1/Volume2/nextPageToken": next_page_token +"/books:v1/Volumeannotation": volume_annotation "/books:v1/Volumeannotation/annotationDataId": annotation_data_id "/books:v1/Volumeannotation/annotationDataLink": annotation_data_link "/books:v1/Volumeannotation/annotationType": annotation_type @@ -12681,10 +7833,539 @@ "/books:v1/Volumeseriesinfo/volumeSeries/volume_series/orderNumber": order_number "/books:v1/Volumeseriesinfo/volumeSeries/volume_series/seriesBookType": series_book_type "/books:v1/Volumeseriesinfo/volumeSeries/volume_series/seriesId": series_id -"/calendar:v3/fields": fields -"/calendar:v3/key": key -"/calendar:v3/quotaUser": quota_user -"/calendar:v3/userIp": user_ip +"/books:v1/books.bookshelves.get": get_bookshelf +"/books:v1/books.bookshelves.get/shelf": shelf +"/books:v1/books.bookshelves.get/source": source +"/books:v1/books.bookshelves.get/userId": user_id +"/books:v1/books.bookshelves.list": list_bookshelves +"/books:v1/books.bookshelves.list/source": source +"/books:v1/books.bookshelves.list/userId": user_id +"/books:v1/books.bookshelves.volumes.list": list_bookshelf_volumes +"/books:v1/books.bookshelves.volumes.list/maxResults": max_results +"/books:v1/books.bookshelves.volumes.list/shelf": shelf +"/books:v1/books.bookshelves.volumes.list/showPreorders": show_preorders +"/books:v1/books.bookshelves.volumes.list/source": source +"/books:v1/books.bookshelves.volumes.list/startIndex": start_index +"/books:v1/books.bookshelves.volumes.list/userId": user_id +"/books:v1/books.cloudloading.addBook": add_book +"/books:v1/books.cloudloading.addBook/drive_document_id": drive_document_id +"/books:v1/books.cloudloading.addBook/mime_type": mime_type +"/books:v1/books.cloudloading.addBook/name": name +"/books:v1/books.cloudloading.addBook/upload_client_token": upload_client_token +"/books:v1/books.cloudloading.deleteBook": delete_book +"/books:v1/books.cloudloading.deleteBook/volumeId": volume_id +"/books:v1/books.cloudloading.updateBook": update_book +"/books:v1/books.dictionary.listOfflineMetadata": list_offline_metadata_dictionary +"/books:v1/books.dictionary.listOfflineMetadata/cpksver": cpksver +"/books:v1/books.layers.annotationData.get": get_layer_annotation_data +"/books:v1/books.layers.annotationData.get/allowWebDefinitions": allow_web_definitions +"/books:v1/books.layers.annotationData.get/annotationDataId": annotation_data_id +"/books:v1/books.layers.annotationData.get/contentVersion": content_version +"/books:v1/books.layers.annotationData.get/h": h +"/books:v1/books.layers.annotationData.get/layerId": layer_id +"/books:v1/books.layers.annotationData.get/locale": locale +"/books:v1/books.layers.annotationData.get/scale": scale +"/books:v1/books.layers.annotationData.get/source": source +"/books:v1/books.layers.annotationData.get/volumeId": volume_id +"/books:v1/books.layers.annotationData.get/w": w +"/books:v1/books.layers.annotationData.list": list_layer_annotation_data +"/books:v1/books.layers.annotationData.list/annotationDataId": annotation_data_id +"/books:v1/books.layers.annotationData.list/contentVersion": content_version +"/books:v1/books.layers.annotationData.list/h": h +"/books:v1/books.layers.annotationData.list/layerId": layer_id +"/books:v1/books.layers.annotationData.list/locale": locale +"/books:v1/books.layers.annotationData.list/maxResults": max_results +"/books:v1/books.layers.annotationData.list/pageToken": page_token +"/books:v1/books.layers.annotationData.list/scale": scale +"/books:v1/books.layers.annotationData.list/source": source +"/books:v1/books.layers.annotationData.list/updatedMax": updated_max +"/books:v1/books.layers.annotationData.list/updatedMin": updated_min +"/books:v1/books.layers.annotationData.list/volumeId": volume_id +"/books:v1/books.layers.annotationData.list/w": w +"/books:v1/books.layers.get": get_layer +"/books:v1/books.layers.get/contentVersion": content_version +"/books:v1/books.layers.get/source": source +"/books:v1/books.layers.get/summaryId": summary_id +"/books:v1/books.layers.get/volumeId": volume_id +"/books:v1/books.layers.list": list_layers +"/books:v1/books.layers.list/contentVersion": content_version +"/books:v1/books.layers.list/maxResults": max_results +"/books:v1/books.layers.list/pageToken": page_token +"/books:v1/books.layers.list/source": source +"/books:v1/books.layers.list/volumeId": volume_id +"/books:v1/books.layers.volumeAnnotations.get": get_layer_volume_annotation +"/books:v1/books.layers.volumeAnnotations.get/annotationId": annotation_id +"/books:v1/books.layers.volumeAnnotations.get/layerId": layer_id +"/books:v1/books.layers.volumeAnnotations.get/locale": locale +"/books:v1/books.layers.volumeAnnotations.get/source": source +"/books:v1/books.layers.volumeAnnotations.get/volumeId": volume_id +"/books:v1/books.layers.volumeAnnotations.list": list_layer_volume_annotations +"/books:v1/books.layers.volumeAnnotations.list/contentVersion": content_version +"/books:v1/books.layers.volumeAnnotations.list/endOffset": end_offset +"/books:v1/books.layers.volumeAnnotations.list/endPosition": end_position +"/books:v1/books.layers.volumeAnnotations.list/layerId": layer_id +"/books:v1/books.layers.volumeAnnotations.list/locale": locale +"/books:v1/books.layers.volumeAnnotations.list/maxResults": max_results +"/books:v1/books.layers.volumeAnnotations.list/pageToken": page_token +"/books:v1/books.layers.volumeAnnotations.list/showDeleted": show_deleted +"/books:v1/books.layers.volumeAnnotations.list/source": source +"/books:v1/books.layers.volumeAnnotations.list/startOffset": start_offset +"/books:v1/books.layers.volumeAnnotations.list/startPosition": start_position +"/books:v1/books.layers.volumeAnnotations.list/updatedMax": updated_max +"/books:v1/books.layers.volumeAnnotations.list/updatedMin": updated_min +"/books:v1/books.layers.volumeAnnotations.list/volumeAnnotationsVersion": volume_annotations_version +"/books:v1/books.layers.volumeAnnotations.list/volumeId": volume_id +"/books:v1/books.myconfig.getUserSettings": get_user_settings +"/books:v1/books.myconfig.releaseDownloadAccess": release_download_access +"/books:v1/books.myconfig.releaseDownloadAccess/cpksver": cpksver +"/books:v1/books.myconfig.releaseDownloadAccess/locale": locale +"/books:v1/books.myconfig.releaseDownloadAccess/source": source +"/books:v1/books.myconfig.releaseDownloadAccess/volumeIds": volume_ids +"/books:v1/books.myconfig.requestAccess": request_access +"/books:v1/books.myconfig.requestAccess/cpksver": cpksver +"/books:v1/books.myconfig.requestAccess/licenseTypes": license_types +"/books:v1/books.myconfig.requestAccess/locale": locale +"/books:v1/books.myconfig.requestAccess/nonce": nonce +"/books:v1/books.myconfig.requestAccess/source": source +"/books:v1/books.myconfig.requestAccess/volumeId": volume_id +"/books:v1/books.myconfig.syncVolumeLicenses": sync_volume_licenses +"/books:v1/books.myconfig.syncVolumeLicenses/cpksver": cpksver +"/books:v1/books.myconfig.syncVolumeLicenses/features": features +"/books:v1/books.myconfig.syncVolumeLicenses/includeNonComicsSeries": include_non_comics_series +"/books:v1/books.myconfig.syncVolumeLicenses/locale": locale +"/books:v1/books.myconfig.syncVolumeLicenses/nonce": nonce +"/books:v1/books.myconfig.syncVolumeLicenses/showPreorders": show_preorders +"/books:v1/books.myconfig.syncVolumeLicenses/source": source +"/books:v1/books.myconfig.syncVolumeLicenses/volumeIds": volume_ids +"/books:v1/books.myconfig.updateUserSettings": update_user_settings +"/books:v1/books.mylibrary.annotations.delete": delete_my_library_annotation +"/books:v1/books.mylibrary.annotations.delete/annotationId": annotation_id +"/books:v1/books.mylibrary.annotations.delete/source": source +"/books:v1/books.mylibrary.annotations.insert": insert_my_library_annotation +"/books:v1/books.mylibrary.annotations.insert/annotationId": annotation_id +"/books:v1/books.mylibrary.annotations.insert/country": country +"/books:v1/books.mylibrary.annotations.insert/showOnlySummaryInResponse": show_only_summary_in_response +"/books:v1/books.mylibrary.annotations.insert/source": source +"/books:v1/books.mylibrary.annotations.list": list_my_library_annotations +"/books:v1/books.mylibrary.annotations.list/contentVersion": content_version +"/books:v1/books.mylibrary.annotations.list/layerId": layer_id +"/books:v1/books.mylibrary.annotations.list/layerIds": layer_ids +"/books:v1/books.mylibrary.annotations.list/maxResults": max_results +"/books:v1/books.mylibrary.annotations.list/pageToken": page_token +"/books:v1/books.mylibrary.annotations.list/showDeleted": show_deleted +"/books:v1/books.mylibrary.annotations.list/source": source +"/books:v1/books.mylibrary.annotations.list/updatedMax": updated_max +"/books:v1/books.mylibrary.annotations.list/updatedMin": updated_min +"/books:v1/books.mylibrary.annotations.list/volumeId": volume_id +"/books:v1/books.mylibrary.annotations.summary": summarize_my_library_annotation +"/books:v1/books.mylibrary.annotations.summary/layerIds": layer_ids +"/books:v1/books.mylibrary.annotations.summary/volumeId": volume_id +"/books:v1/books.mylibrary.annotations.update": update_my_library_annotation +"/books:v1/books.mylibrary.annotations.update/annotationId": annotation_id +"/books:v1/books.mylibrary.annotations.update/source": source +"/books:v1/books.mylibrary.bookshelves.addVolume": add_my_library_volume +"/books:v1/books.mylibrary.bookshelves.addVolume/reason": reason +"/books:v1/books.mylibrary.bookshelves.addVolume/shelf": shelf +"/books:v1/books.mylibrary.bookshelves.addVolume/source": source +"/books:v1/books.mylibrary.bookshelves.addVolume/volumeId": volume_id +"/books:v1/books.mylibrary.bookshelves.clearVolumes": clear_my_library_volumes +"/books:v1/books.mylibrary.bookshelves.clearVolumes/shelf": shelf +"/books:v1/books.mylibrary.bookshelves.clearVolumes/source": source +"/books:v1/books.mylibrary.bookshelves.get": get_my_library_bookshelf +"/books:v1/books.mylibrary.bookshelves.get/shelf": shelf +"/books:v1/books.mylibrary.bookshelves.get/source": source +"/books:v1/books.mylibrary.bookshelves.list": list_my_library_bookshelves +"/books:v1/books.mylibrary.bookshelves.list/source": source +"/books:v1/books.mylibrary.bookshelves.moveVolume": move_my_library_volume +"/books:v1/books.mylibrary.bookshelves.moveVolume/shelf": shelf +"/books:v1/books.mylibrary.bookshelves.moveVolume/source": source +"/books:v1/books.mylibrary.bookshelves.moveVolume/volumeId": volume_id +"/books:v1/books.mylibrary.bookshelves.moveVolume/volumePosition": volume_position +"/books:v1/books.mylibrary.bookshelves.removeVolume": remove_my_library_volume +"/books:v1/books.mylibrary.bookshelves.removeVolume/reason": reason +"/books:v1/books.mylibrary.bookshelves.removeVolume/shelf": shelf +"/books:v1/books.mylibrary.bookshelves.removeVolume/source": source +"/books:v1/books.mylibrary.bookshelves.removeVolume/volumeId": volume_id +"/books:v1/books.mylibrary.bookshelves.volumes.list": list_my_library_volumes +"/books:v1/books.mylibrary.bookshelves.volumes.list/country": country +"/books:v1/books.mylibrary.bookshelves.volumes.list/maxResults": max_results +"/books:v1/books.mylibrary.bookshelves.volumes.list/projection": projection +"/books:v1/books.mylibrary.bookshelves.volumes.list/q": q +"/books:v1/books.mylibrary.bookshelves.volumes.list/shelf": shelf +"/books:v1/books.mylibrary.bookshelves.volumes.list/showPreorders": show_preorders +"/books:v1/books.mylibrary.bookshelves.volumes.list/source": source +"/books:v1/books.mylibrary.bookshelves.volumes.list/startIndex": start_index +"/books:v1/books.mylibrary.readingpositions.get": get_my_library_reading_position +"/books:v1/books.mylibrary.readingpositions.get/contentVersion": content_version +"/books:v1/books.mylibrary.readingpositions.get/source": source +"/books:v1/books.mylibrary.readingpositions.get/volumeId": volume_id +"/books:v1/books.mylibrary.readingpositions.setPosition": set_my_library_reading_position +"/books:v1/books.mylibrary.readingpositions.setPosition/action": action +"/books:v1/books.mylibrary.readingpositions.setPosition/contentVersion": content_version +"/books:v1/books.mylibrary.readingpositions.setPosition/deviceCookie": device_cookie +"/books:v1/books.mylibrary.readingpositions.setPosition/position": position +"/books:v1/books.mylibrary.readingpositions.setPosition/source": source +"/books:v1/books.mylibrary.readingpositions.setPosition/timestamp": timestamp +"/books:v1/books.mylibrary.readingpositions.setPosition/volumeId": volume_id +"/books:v1/books.notification.get": get_notification +"/books:v1/books.notification.get/locale": locale +"/books:v1/books.notification.get/notification_id": notification_id +"/books:v1/books.notification.get/source": source +"/books:v1/books.onboarding.listCategories": list_onboarding_categories +"/books:v1/books.onboarding.listCategories/locale": locale +"/books:v1/books.onboarding.listCategoryVolumes": list_onboarding_category_volumes +"/books:v1/books.onboarding.listCategoryVolumes/categoryId": category_id +"/books:v1/books.onboarding.listCategoryVolumes/locale": locale +"/books:v1/books.onboarding.listCategoryVolumes/maxAllowedMaturityRating": max_allowed_maturity_rating +"/books:v1/books.onboarding.listCategoryVolumes/pageSize": page_size +"/books:v1/books.onboarding.listCategoryVolumes/pageToken": page_token +"/books:v1/books.personalizedstream.get": get_personalizedstream +"/books:v1/books.personalizedstream.get/locale": locale +"/books:v1/books.personalizedstream.get/maxAllowedMaturityRating": max_allowed_maturity_rating +"/books:v1/books.personalizedstream.get/source": source +"/books:v1/books.promooffer.accept": accept_promo_offer +"/books:v1/books.promooffer.accept/androidId": android_id +"/books:v1/books.promooffer.accept/device": device +"/books:v1/books.promooffer.accept/manufacturer": manufacturer +"/books:v1/books.promooffer.accept/model": model +"/books:v1/books.promooffer.accept/offerId": offer_id +"/books:v1/books.promooffer.accept/product": product +"/books:v1/books.promooffer.accept/serial": serial +"/books:v1/books.promooffer.accept/volumeId": volume_id +"/books:v1/books.promooffer.dismiss": dismiss_promo_offer +"/books:v1/books.promooffer.dismiss/androidId": android_id +"/books:v1/books.promooffer.dismiss/device": device +"/books:v1/books.promooffer.dismiss/manufacturer": manufacturer +"/books:v1/books.promooffer.dismiss/model": model +"/books:v1/books.promooffer.dismiss/offerId": offer_id +"/books:v1/books.promooffer.dismiss/product": product +"/books:v1/books.promooffer.dismiss/serial": serial +"/books:v1/books.promooffer.get": get_promo_offer +"/books:v1/books.promooffer.get/androidId": android_id +"/books:v1/books.promooffer.get/device": device +"/books:v1/books.promooffer.get/manufacturer": manufacturer +"/books:v1/books.promooffer.get/model": model +"/books:v1/books.promooffer.get/product": product +"/books:v1/books.promooffer.get/serial": serial +"/books:v1/books.series.get": get_series +"/books:v1/books.series.get/series_id": series_id +"/books:v1/books.series.membership.get": get_series_membership +"/books:v1/books.series.membership.get/page_size": page_size +"/books:v1/books.series.membership.get/page_token": page_token +"/books:v1/books.series.membership.get/series_id": series_id +"/books:v1/books.volumes.associated.list": list_associated_volumes +"/books:v1/books.volumes.associated.list/association": association +"/books:v1/books.volumes.associated.list/locale": locale +"/books:v1/books.volumes.associated.list/maxAllowedMaturityRating": max_allowed_maturity_rating +"/books:v1/books.volumes.associated.list/source": source +"/books:v1/books.volumes.associated.list/volumeId": volume_id +"/books:v1/books.volumes.get": get_volume +"/books:v1/books.volumes.get/country": country +"/books:v1/books.volumes.get/includeNonComicsSeries": include_non_comics_series +"/books:v1/books.volumes.get/partner": partner +"/books:v1/books.volumes.get/projection": projection +"/books:v1/books.volumes.get/source": source +"/books:v1/books.volumes.get/user_library_consistent_read": user_library_consistent_read +"/books:v1/books.volumes.get/volumeId": volume_id +"/books:v1/books.volumes.list": list_volumes +"/books:v1/books.volumes.list/download": download +"/books:v1/books.volumes.list/filter": filter +"/books:v1/books.volumes.list/langRestrict": lang_restrict +"/books:v1/books.volumes.list/libraryRestrict": library_restrict +"/books:v1/books.volumes.list/maxAllowedMaturityRating": max_allowed_maturity_rating +"/books:v1/books.volumes.list/maxResults": max_results +"/books:v1/books.volumes.list/orderBy": order_by +"/books:v1/books.volumes.list/partner": partner +"/books:v1/books.volumes.list/printType": print_type +"/books:v1/books.volumes.list/projection": projection +"/books:v1/books.volumes.list/q": q +"/books:v1/books.volumes.list/showPreorders": show_preorders +"/books:v1/books.volumes.list/source": source +"/books:v1/books.volumes.list/startIndex": start_index +"/books:v1/books.volumes.mybooks.list": list_my_books +"/books:v1/books.volumes.mybooks.list/acquireMethod": acquire_method +"/books:v1/books.volumes.mybooks.list/country": country +"/books:v1/books.volumes.mybooks.list/locale": locale +"/books:v1/books.volumes.mybooks.list/maxResults": max_results +"/books:v1/books.volumes.mybooks.list/processingState": processing_state +"/books:v1/books.volumes.mybooks.list/source": source +"/books:v1/books.volumes.mybooks.list/startIndex": start_index +"/books:v1/books.volumes.recommended.list": list_recommended_volumes +"/books:v1/books.volumes.recommended.list/locale": locale +"/books:v1/books.volumes.recommended.list/maxAllowedMaturityRating": max_allowed_maturity_rating +"/books:v1/books.volumes.recommended.list/source": source +"/books:v1/books.volumes.recommended.rate": rate_recommended_volume +"/books:v1/books.volumes.recommended.rate/locale": locale +"/books:v1/books.volumes.recommended.rate/rating": rating +"/books:v1/books.volumes.recommended.rate/source": source +"/books:v1/books.volumes.recommended.rate/volumeId": volume_id +"/books:v1/books.volumes.useruploaded.list": list_user_uploaded_volumes +"/books:v1/books.volumes.useruploaded.list/locale": locale +"/books:v1/books.volumes.useruploaded.list/maxResults": max_results +"/books:v1/books.volumes.useruploaded.list/processingState": processing_state +"/books:v1/books.volumes.useruploaded.list/source": source +"/books:v1/books.volumes.useruploaded.list/startIndex": start_index +"/books:v1/books.volumes.useruploaded.list/volumeId": volume_id +"/books:v1/fields": fields +"/books:v1/key": key +"/books:v1/quotaUser": quota_user +"/books:v1/userIp": user_ip +"/calendar:v3/Acl": acl +"/calendar:v3/Acl/etag": etag +"/calendar:v3/Acl/items": items +"/calendar:v3/Acl/items/item": item +"/calendar:v3/Acl/kind": kind +"/calendar:v3/Acl/nextPageToken": next_page_token +"/calendar:v3/Acl/nextSyncToken": next_sync_token +"/calendar:v3/AclRule": acl_rule +"/calendar:v3/AclRule/etag": etag +"/calendar:v3/AclRule/id": id +"/calendar:v3/AclRule/kind": kind +"/calendar:v3/AclRule/role": role +"/calendar:v3/AclRule/scope": scope +"/calendar:v3/AclRule/scope/type": type +"/calendar:v3/AclRule/scope/value": value +"/calendar:v3/Calendar": calendar +"/calendar:v3/Calendar/description": description +"/calendar:v3/Calendar/etag": etag +"/calendar:v3/Calendar/id": id +"/calendar:v3/Calendar/kind": kind +"/calendar:v3/Calendar/location": location +"/calendar:v3/Calendar/summary": summary +"/calendar:v3/Calendar/timeZone": time_zone +"/calendar:v3/CalendarList": calendar_list +"/calendar:v3/CalendarList/etag": etag +"/calendar:v3/CalendarList/items": items +"/calendar:v3/CalendarList/items/item": item +"/calendar:v3/CalendarList/kind": kind +"/calendar:v3/CalendarList/nextPageToken": next_page_token +"/calendar:v3/CalendarList/nextSyncToken": next_sync_token +"/calendar:v3/CalendarListEntry": calendar_list_entry +"/calendar:v3/CalendarListEntry/accessRole": access_role +"/calendar:v3/CalendarListEntry/backgroundColor": background_color +"/calendar:v3/CalendarListEntry/colorId": color_id +"/calendar:v3/CalendarListEntry/defaultReminders": default_reminders +"/calendar:v3/CalendarListEntry/defaultReminders/default_reminder": default_reminder +"/calendar:v3/CalendarListEntry/deleted": deleted +"/calendar:v3/CalendarListEntry/description": description +"/calendar:v3/CalendarListEntry/etag": etag +"/calendar:v3/CalendarListEntry/foregroundColor": foreground_color +"/calendar:v3/CalendarListEntry/hidden": hidden +"/calendar:v3/CalendarListEntry/id": id +"/calendar:v3/CalendarListEntry/kind": kind +"/calendar:v3/CalendarListEntry/location": location +"/calendar:v3/CalendarListEntry/notificationSettings": notification_settings +"/calendar:v3/CalendarListEntry/notificationSettings/notifications": notifications +"/calendar:v3/CalendarListEntry/notificationSettings/notifications/notification": notification +"/calendar:v3/CalendarListEntry/primary": primary +"/calendar:v3/CalendarListEntry/selected": selected +"/calendar:v3/CalendarListEntry/summary": summary +"/calendar:v3/CalendarListEntry/summaryOverride": summary_override +"/calendar:v3/CalendarListEntry/timeZone": time_zone +"/calendar:v3/CalendarNotification": calendar_notification +"/calendar:v3/CalendarNotification/method": delivery_method +"/calendar:v3/CalendarNotification/type": type +"/calendar:v3/Channel": channel +"/calendar:v3/Channel/address": address +"/calendar:v3/Channel/expiration": expiration +"/calendar:v3/Channel/id": id +"/calendar:v3/Channel/kind": kind +"/calendar:v3/Channel/params": params +"/calendar:v3/Channel/params/param": param +"/calendar:v3/Channel/payload": payload +"/calendar:v3/Channel/resourceId": resource_id +"/calendar:v3/Channel/resourceUri": resource_uri +"/calendar:v3/Channel/token": token +"/calendar:v3/Channel/type": type +"/calendar:v3/ColorDefinition": color_definition +"/calendar:v3/ColorDefinition/background": background +"/calendar:v3/ColorDefinition/foreground": foreground +"/calendar:v3/Colors": colors +"/calendar:v3/Colors/calendar": calendar +"/calendar:v3/Colors/calendar/calendar": calendar +"/calendar:v3/Colors/event": event +"/calendar:v3/Colors/event/event": event +"/calendar:v3/Colors/kind": kind +"/calendar:v3/Colors/updated": updated +"/calendar:v3/DeepLinkData": deep_link_data +"/calendar:v3/DeepLinkData/links": links +"/calendar:v3/DeepLinkData/links/link": link +"/calendar:v3/DeepLinkData/url": url +"/calendar:v3/DisplayInfo": display_info +"/calendar:v3/DisplayInfo/appIconUrl": app_icon_url +"/calendar:v3/DisplayInfo/appShortTitle": app_short_title +"/calendar:v3/DisplayInfo/appTitle": app_title +"/calendar:v3/DisplayInfo/linkShortTitle": link_short_title +"/calendar:v3/DisplayInfo/linkTitle": link_title +"/calendar:v3/Error": error +"/calendar:v3/Error/domain": domain +"/calendar:v3/Error/reason": reason +"/calendar:v3/Event": event +"/calendar:v3/Event/anyoneCanAddSelf": anyone_can_add_self +"/calendar:v3/Event/attachments": attachments +"/calendar:v3/Event/attachments/attachment": attachment +"/calendar:v3/Event/attendees": attendees +"/calendar:v3/Event/attendees/attendee": attendee +"/calendar:v3/Event/attendeesOmitted": attendees_omitted +"/calendar:v3/Event/colorId": color_id +"/calendar:v3/Event/created": created +"/calendar:v3/Event/creator": creator +"/calendar:v3/Event/creator/displayName": display_name +"/calendar:v3/Event/creator/email": email +"/calendar:v3/Event/creator/id": id +"/calendar:v3/Event/creator/self": self +"/calendar:v3/Event/description": description +"/calendar:v3/Event/end": end +"/calendar:v3/Event/endTimeUnspecified": end_time_unspecified +"/calendar:v3/Event/etag": etag +"/calendar:v3/Event/extendedProperties": extended_properties +"/calendar:v3/Event/extendedProperties/private": private +"/calendar:v3/Event/extendedProperties/private/private": private +"/calendar:v3/Event/extendedProperties/shared": shared +"/calendar:v3/Event/extendedProperties/shared/shared": shared +"/calendar:v3/Event/gadget": gadget +"/calendar:v3/Event/gadget/display": display_mode +"/calendar:v3/Event/gadget/height": height +"/calendar:v3/Event/gadget/iconLink": icon_link +"/calendar:v3/Event/gadget/link": link +"/calendar:v3/Event/gadget/preferences": preferences +"/calendar:v3/Event/gadget/preferences/preference": preference +"/calendar:v3/Event/gadget/title": title +"/calendar:v3/Event/gadget/type": type +"/calendar:v3/Event/gadget/width": width +"/calendar:v3/Event/guestsCanInviteOthers": guests_can_invite_others +"/calendar:v3/Event/guestsCanModify": guests_can_modify +"/calendar:v3/Event/guestsCanSeeOtherGuests": guests_can_see_other_guests +"/calendar:v3/Event/hangoutLink": hangout_link +"/calendar:v3/Event/htmlLink": html_link +"/calendar:v3/Event/iCalUID": i_cal_uid +"/calendar:v3/Event/id": id +"/calendar:v3/Event/kind": kind +"/calendar:v3/Event/location": location +"/calendar:v3/Event/locked": locked +"/calendar:v3/Event/organizer": organizer +"/calendar:v3/Event/organizer/displayName": display_name +"/calendar:v3/Event/organizer/email": email +"/calendar:v3/Event/organizer/id": id +"/calendar:v3/Event/organizer/self": self +"/calendar:v3/Event/originalStartTime": original_start_time +"/calendar:v3/Event/privateCopy": private_copy +"/calendar:v3/Event/recurrence": recurrence +"/calendar:v3/Event/recurrence/recurrence": recurrence +"/calendar:v3/Event/recurringEventId": recurring_event_id +"/calendar:v3/Event/reminders": reminders +"/calendar:v3/Event/reminders/overrides": overrides +"/calendar:v3/Event/reminders/overrides/override": override +"/calendar:v3/Event/reminders/useDefault": use_default +"/calendar:v3/Event/sequence": sequence +"/calendar:v3/Event/source": source +"/calendar:v3/Event/source/title": title +"/calendar:v3/Event/source/url": url +"/calendar:v3/Event/start": start +"/calendar:v3/Event/status": status +"/calendar:v3/Event/summary": summary +"/calendar:v3/Event/transparency": transparency +"/calendar:v3/Event/updated": updated +"/calendar:v3/Event/visibility": visibility +"/calendar:v3/EventAttachment": event_attachment +"/calendar:v3/EventAttachment/fileId": file_id +"/calendar:v3/EventAttachment/fileUrl": file_url +"/calendar:v3/EventAttachment/iconLink": icon_link +"/calendar:v3/EventAttachment/mimeType": mime_type +"/calendar:v3/EventAttachment/title": title +"/calendar:v3/EventAttendee": event_attendee +"/calendar:v3/EventAttendee/additionalGuests": additional_guests +"/calendar:v3/EventAttendee/comment": comment +"/calendar:v3/EventAttendee/displayName": display_name +"/calendar:v3/EventAttendee/email": email +"/calendar:v3/EventAttendee/id": id +"/calendar:v3/EventAttendee/optional": optional +"/calendar:v3/EventAttendee/organizer": organizer +"/calendar:v3/EventAttendee/resource": resource +"/calendar:v3/EventAttendee/responseStatus": response_status +"/calendar:v3/EventAttendee/self": self +"/calendar:v3/EventDateTime": event_date_time +"/calendar:v3/EventDateTime/date": date +"/calendar:v3/EventDateTime/dateTime": date_time +"/calendar:v3/EventDateTime/timeZone": time_zone +"/calendar:v3/EventHabitInstance": event_habit_instance +"/calendar:v3/EventHabitInstance/data": data +"/calendar:v3/EventHabitInstance/parentId": parent_id +"/calendar:v3/EventReminder": event_reminder +"/calendar:v3/EventReminder/method": reminder_method +"/calendar:v3/EventReminder/minutes": minutes +"/calendar:v3/Events": events +"/calendar:v3/Events/accessRole": access_role +"/calendar:v3/Events/defaultReminders": default_reminders +"/calendar:v3/Events/defaultReminders/default_reminder": default_reminder +"/calendar:v3/Events/description": description +"/calendar:v3/Events/etag": etag +"/calendar:v3/Events/items": items +"/calendar:v3/Events/items/item": item +"/calendar:v3/Events/kind": kind +"/calendar:v3/Events/nextPageToken": next_page_token +"/calendar:v3/Events/nextSyncToken": next_sync_token +"/calendar:v3/Events/summary": summary +"/calendar:v3/Events/timeZone": time_zone +"/calendar:v3/Events/updated": updated +"/calendar:v3/FreeBusyCalendar": free_busy_calendar +"/calendar:v3/FreeBusyCalendar/busy": busy +"/calendar:v3/FreeBusyCalendar/busy/busy": busy +"/calendar:v3/FreeBusyCalendar/errors": errors +"/calendar:v3/FreeBusyCalendar/errors/error": error +"/calendar:v3/FreeBusyGroup": free_busy_group +"/calendar:v3/FreeBusyGroup/calendars": calendars +"/calendar:v3/FreeBusyGroup/calendars/calendar": calendar +"/calendar:v3/FreeBusyGroup/errors": errors +"/calendar:v3/FreeBusyGroup/errors/error": error +"/calendar:v3/FreeBusyRequest": free_busy_request +"/calendar:v3/FreeBusyRequest/calendarExpansionMax": calendar_expansion_max +"/calendar:v3/FreeBusyRequest/groupExpansionMax": group_expansion_max +"/calendar:v3/FreeBusyRequest/items": items +"/calendar:v3/FreeBusyRequest/items/item": item +"/calendar:v3/FreeBusyRequest/timeMax": time_max +"/calendar:v3/FreeBusyRequest/timeMin": time_min +"/calendar:v3/FreeBusyRequest/timeZone": time_zone +"/calendar:v3/FreeBusyRequestItem": free_busy_request_item +"/calendar:v3/FreeBusyRequestItem/id": id +"/calendar:v3/FreeBusyResponse": free_busy_response +"/calendar:v3/FreeBusyResponse/calendars": calendars +"/calendar:v3/FreeBusyResponse/calendars/calendar": calendar +"/calendar:v3/FreeBusyResponse/groups": groups +"/calendar:v3/FreeBusyResponse/groups/group": group +"/calendar:v3/FreeBusyResponse/kind": kind +"/calendar:v3/FreeBusyResponse/timeMax": time_max +"/calendar:v3/FreeBusyResponse/timeMin": time_min +"/calendar:v3/HabitInstanceData": habit_instance_data +"/calendar:v3/HabitInstanceData/status": status +"/calendar:v3/HabitInstanceData/statusInferred": status_inferred +"/calendar:v3/HabitInstanceData/type": type +"/calendar:v3/LaunchInfo": launch_info +"/calendar:v3/LaunchInfo/appId": app_id +"/calendar:v3/LaunchInfo/installUrl": install_url +"/calendar:v3/LaunchInfo/intentAction": intent_action +"/calendar:v3/LaunchInfo/uri": uri +"/calendar:v3/Link": link +"/calendar:v3/Link/applinkingSource": applinking_source +"/calendar:v3/Link/displayInfo": display_info +"/calendar:v3/Link/launchInfo": launch_info +"/calendar:v3/Link/platform": platform +"/calendar:v3/Link/url": url +"/calendar:v3/Setting": setting +"/calendar:v3/Setting/etag": etag +"/calendar:v3/Setting/id": id +"/calendar:v3/Setting/kind": kind +"/calendar:v3/Setting/value": value +"/calendar:v3/Settings": settings +"/calendar:v3/Settings/etag": etag +"/calendar:v3/Settings/items": items +"/calendar:v3/Settings/items/item": item +"/calendar:v3/Settings/kind": kind +"/calendar:v3/Settings/nextPageToken": next_page_token +"/calendar:v3/Settings/nextSyncToken": next_sync_token +"/calendar:v3/TimePeriod": time_period +"/calendar:v3/TimePeriod/end": end +"/calendar:v3/TimePeriod/start": start "/calendar:v3/calendar.acl.delete": delete_acl "/calendar:v3/calendar.acl.delete/calendarId": calendar_id "/calendar:v3/calendar.acl.delete/ruleId": rule_id @@ -12768,6 +8449,7 @@ "/calendar:v3/calendar.events.insert/maxAttendees": max_attendees "/calendar:v3/calendar.events.insert/sendNotifications": send_notifications "/calendar:v3/calendar.events.insert/supportsAttachments": supports_attachments +"/calendar:v3/calendar.events.instances": list_event_instances "/calendar:v3/calendar.events.instances/alwaysIncludeEmail": always_include_email "/calendar:v3/calendar.events.instances/calendarId": calendar_id "/calendar:v3/calendar.events.instances/eventId": event_id @@ -12810,6 +8492,7 @@ "/calendar:v3/calendar.events.patch/maxAttendees": max_attendees "/calendar:v3/calendar.events.patch/sendNotifications": send_notifications "/calendar:v3/calendar.events.patch/supportsAttachments": supports_attachments +"/calendar:v3/calendar.events.quickAdd": quick_add_event "/calendar:v3/calendar.events.quickAdd/calendarId": calendar_id "/calendar:v3/calendar.events.quickAdd/sendNotifications": send_notifications "/calendar:v3/calendar.events.quickAdd/text": text @@ -12850,276 +8533,10 @@ "/calendar:v3/calendar.settings.watch/maxResults": max_results "/calendar:v3/calendar.settings.watch/pageToken": page_token "/calendar:v3/calendar.settings.watch/syncToken": sync_token -"/calendar:v3/Acl": acl -"/calendar:v3/Acl/etag": etag -"/calendar:v3/Acl/items": items -"/calendar:v3/Acl/items/item": item -"/calendar:v3/Acl/kind": kind -"/calendar:v3/Acl/nextPageToken": next_page_token -"/calendar:v3/Acl/nextSyncToken": next_sync_token -"/calendar:v3/AclRule": acl_rule -"/calendar:v3/AclRule/etag": etag -"/calendar:v3/AclRule/id": id -"/calendar:v3/AclRule/kind": kind -"/calendar:v3/AclRule/role": role -"/calendar:v3/AclRule/scope": scope -"/calendar:v3/AclRule/scope/type": type -"/calendar:v3/AclRule/scope/value": value -"/calendar:v3/Calendar": calendar -"/calendar:v3/Calendar/description": description -"/calendar:v3/Calendar/etag": etag -"/calendar:v3/Calendar/id": id -"/calendar:v3/Calendar/kind": kind -"/calendar:v3/Calendar/location": location -"/calendar:v3/Calendar/summary": summary -"/calendar:v3/Calendar/timeZone": time_zone -"/calendar:v3/CalendarList": calendar_list -"/calendar:v3/CalendarList/etag": etag -"/calendar:v3/CalendarList/items": items -"/calendar:v3/CalendarList/items/item": item -"/calendar:v3/CalendarList/kind": kind -"/calendar:v3/CalendarList/nextPageToken": next_page_token -"/calendar:v3/CalendarList/nextSyncToken": next_sync_token -"/calendar:v3/CalendarListEntry": calendar_list_entry -"/calendar:v3/CalendarListEntry/accessRole": access_role -"/calendar:v3/CalendarListEntry/backgroundColor": background_color -"/calendar:v3/CalendarListEntry/colorId": color_id -"/calendar:v3/CalendarListEntry/defaultReminders": default_reminders -"/calendar:v3/CalendarListEntry/defaultReminders/default_reminder": default_reminder -"/calendar:v3/CalendarListEntry/deleted": deleted -"/calendar:v3/CalendarListEntry/description": description -"/calendar:v3/CalendarListEntry/etag": etag -"/calendar:v3/CalendarListEntry/foregroundColor": foreground_color -"/calendar:v3/CalendarListEntry/hidden": hidden -"/calendar:v3/CalendarListEntry/id": id -"/calendar:v3/CalendarListEntry/kind": kind -"/calendar:v3/CalendarListEntry/location": location -"/calendar:v3/CalendarListEntry/notificationSettings": notification_settings -"/calendar:v3/CalendarListEntry/notificationSettings/notifications": notifications -"/calendar:v3/CalendarListEntry/notificationSettings/notifications/notification": notification -"/calendar:v3/CalendarListEntry/primary": primary -"/calendar:v3/CalendarListEntry/selected": selected -"/calendar:v3/CalendarListEntry/summary": summary -"/calendar:v3/CalendarListEntry/summaryOverride": summary_override -"/calendar:v3/CalendarListEntry/timeZone": time_zone -"/calendar:v3/CalendarNotification": calendar_notification -"/calendar:v3/CalendarNotification/type": type -"/calendar:v3/Channel": channel -"/calendar:v3/Channel/address": address -"/calendar:v3/Channel/expiration": expiration -"/calendar:v3/Channel/id": id -"/calendar:v3/Channel/kind": kind -"/calendar:v3/Channel/params": params -"/calendar:v3/Channel/params/param": param -"/calendar:v3/Channel/payload": payload -"/calendar:v3/Channel/resourceId": resource_id -"/calendar:v3/Channel/resourceUri": resource_uri -"/calendar:v3/Channel/token": token -"/calendar:v3/Channel/type": type -"/calendar:v3/ColorDefinition": color_definition -"/calendar:v3/ColorDefinition/background": background -"/calendar:v3/ColorDefinition/foreground": foreground -"/calendar:v3/Colors": colors -"/calendar:v3/Colors/calendar": calendar -"/calendar:v3/Colors/calendar/calendar": calendar -"/calendar:v3/Colors/event": event -"/calendar:v3/Colors/event/event": event -"/calendar:v3/Colors/kind": kind -"/calendar:v3/Colors/updated": updated -"/calendar:v3/DeepLinkData": deep_link_data -"/calendar:v3/DeepLinkData/links": links -"/calendar:v3/DeepLinkData/links/link": link -"/calendar:v3/DeepLinkData/url": url -"/calendar:v3/DisplayInfo": display_info -"/calendar:v3/DisplayInfo/appIconUrl": app_icon_url -"/calendar:v3/DisplayInfo/appShortTitle": app_short_title -"/calendar:v3/DisplayInfo/appTitle": app_title -"/calendar:v3/DisplayInfo/linkShortTitle": link_short_title -"/calendar:v3/DisplayInfo/linkTitle": link_title -"/calendar:v3/Error": error -"/calendar:v3/Error/domain": domain -"/calendar:v3/Error/reason": reason -"/calendar:v3/Event": event -"/calendar:v3/Event/anyoneCanAddSelf": anyone_can_add_self -"/calendar:v3/Event/attachments": attachments -"/calendar:v3/Event/attachments/attachment": attachment -"/calendar:v3/Event/attendees": attendees -"/calendar:v3/Event/attendees/attendee": attendee -"/calendar:v3/Event/attendeesOmitted": attendees_omitted -"/calendar:v3/Event/colorId": color_id -"/calendar:v3/Event/created": created -"/calendar:v3/Event/creator": creator -"/calendar:v3/Event/creator/displayName": display_name -"/calendar:v3/Event/creator/email": email -"/calendar:v3/Event/creator/id": id -"/calendar:v3/Event/creator/self": self -"/calendar:v3/Event/description": description -"/calendar:v3/Event/end": end -"/calendar:v3/Event/endTimeUnspecified": end_time_unspecified -"/calendar:v3/Event/etag": etag -"/calendar:v3/Event/extendedProperties": extended_properties -"/calendar:v3/Event/extendedProperties/private": private -"/calendar:v3/Event/extendedProperties/private/private": private -"/calendar:v3/Event/extendedProperties/shared": shared -"/calendar:v3/Event/extendedProperties/shared/shared": shared -"/calendar:v3/Event/gadget": gadget -"/calendar:v3/Event/gadget/height": height -"/calendar:v3/Event/gadget/iconLink": icon_link -"/calendar:v3/Event/gadget/link": link -"/calendar:v3/Event/gadget/preferences": preferences -"/calendar:v3/Event/gadget/preferences/preference": preference -"/calendar:v3/Event/gadget/title": title -"/calendar:v3/Event/gadget/type": type -"/calendar:v3/Event/gadget/width": width -"/calendar:v3/Event/guestsCanInviteOthers": guests_can_invite_others -"/calendar:v3/Event/guestsCanModify": guests_can_modify -"/calendar:v3/Event/guestsCanSeeOtherGuests": guests_can_see_other_guests -"/calendar:v3/Event/hangoutLink": hangout_link -"/calendar:v3/Event/htmlLink": html_link -"/calendar:v3/Event/iCalUID": i_cal_uid -"/calendar:v3/Event/id": id -"/calendar:v3/Event/kind": kind -"/calendar:v3/Event/location": location -"/calendar:v3/Event/locked": locked -"/calendar:v3/Event/organizer": organizer -"/calendar:v3/Event/organizer/displayName": display_name -"/calendar:v3/Event/organizer/email": email -"/calendar:v3/Event/organizer/id": id -"/calendar:v3/Event/organizer/self": self -"/calendar:v3/Event/originalStartTime": original_start_time -"/calendar:v3/Event/privateCopy": private_copy -"/calendar:v3/Event/recurrence": recurrence -"/calendar:v3/Event/recurrence/recurrence": recurrence -"/calendar:v3/Event/recurringEventId": recurring_event_id -"/calendar:v3/Event/reminders": reminders -"/calendar:v3/Event/reminders/overrides": overrides -"/calendar:v3/Event/reminders/overrides/override": override -"/calendar:v3/Event/reminders/useDefault": use_default -"/calendar:v3/Event/sequence": sequence -"/calendar:v3/Event/source": source -"/calendar:v3/Event/source/title": title -"/calendar:v3/Event/source/url": url -"/calendar:v3/Event/start": start -"/calendar:v3/Event/status": status -"/calendar:v3/Event/summary": summary -"/calendar:v3/Event/transparency": transparency -"/calendar:v3/Event/updated": updated -"/calendar:v3/Event/visibility": visibility -"/calendar:v3/EventAttachment": event_attachment -"/calendar:v3/EventAttachment/fileId": file_id -"/calendar:v3/EventAttachment/fileUrl": file_url -"/calendar:v3/EventAttachment/iconLink": icon_link -"/calendar:v3/EventAttachment/mimeType": mime_type -"/calendar:v3/EventAttachment/title": title -"/calendar:v3/EventAttendee": event_attendee -"/calendar:v3/EventAttendee/additionalGuests": additional_guests -"/calendar:v3/EventAttendee/comment": comment -"/calendar:v3/EventAttendee/displayName": display_name -"/calendar:v3/EventAttendee/email": email -"/calendar:v3/EventAttendee/id": id -"/calendar:v3/EventAttendee/optional": optional -"/calendar:v3/EventAttendee/organizer": organizer -"/calendar:v3/EventAttendee/resource": resource -"/calendar:v3/EventAttendee/responseStatus": response_status -"/calendar:v3/EventAttendee/self": self -"/calendar:v3/EventDateTime": event_date_time -"/calendar:v3/EventDateTime/date": date -"/calendar:v3/EventDateTime/dateTime": date_time -"/calendar:v3/EventDateTime/timeZone": time_zone -"/calendar:v3/EventHabitInstance": event_habit_instance -"/calendar:v3/EventHabitInstance/data": data -"/calendar:v3/EventHabitInstance/parentId": parent_id -"/calendar:v3/EventReminder": event_reminder -"/calendar:v3/EventReminder/minutes": minutes -"/calendar:v3/Events": events -"/calendar:v3/Events/accessRole": access_role -"/calendar:v3/Events/defaultReminders": default_reminders -"/calendar:v3/Events/defaultReminders/default_reminder": default_reminder -"/calendar:v3/Events/description": description -"/calendar:v3/Events/etag": etag -"/calendar:v3/Events/items": items -"/calendar:v3/Events/items/item": item -"/calendar:v3/Events/kind": kind -"/calendar:v3/Events/nextPageToken": next_page_token -"/calendar:v3/Events/nextSyncToken": next_sync_token -"/calendar:v3/Events/summary": summary -"/calendar:v3/Events/timeZone": time_zone -"/calendar:v3/Events/updated": updated -"/calendar:v3/FreeBusyCalendar": free_busy_calendar -"/calendar:v3/FreeBusyCalendar/busy": busy -"/calendar:v3/FreeBusyCalendar/busy/busy": busy -"/calendar:v3/FreeBusyCalendar/errors": errors -"/calendar:v3/FreeBusyCalendar/errors/error": error -"/calendar:v3/FreeBusyGroup": free_busy_group -"/calendar:v3/FreeBusyGroup/calendars": calendars -"/calendar:v3/FreeBusyGroup/calendars/calendar": calendar -"/calendar:v3/FreeBusyGroup/errors": errors -"/calendar:v3/FreeBusyGroup/errors/error": error -"/calendar:v3/FreeBusyRequest": free_busy_request -"/calendar:v3/FreeBusyRequest/calendarExpansionMax": calendar_expansion_max -"/calendar:v3/FreeBusyRequest/groupExpansionMax": group_expansion_max -"/calendar:v3/FreeBusyRequest/items": items -"/calendar:v3/FreeBusyRequest/items/item": item -"/calendar:v3/FreeBusyRequest/timeMax": time_max -"/calendar:v3/FreeBusyRequest/timeMin": time_min -"/calendar:v3/FreeBusyRequest/timeZone": time_zone -"/calendar:v3/FreeBusyRequestItem": free_busy_request_item -"/calendar:v3/FreeBusyRequestItem/id": id -"/calendar:v3/FreeBusyResponse": free_busy_response -"/calendar:v3/FreeBusyResponse/calendars": calendars -"/calendar:v3/FreeBusyResponse/calendars/calendar": calendar -"/calendar:v3/FreeBusyResponse/groups": groups -"/calendar:v3/FreeBusyResponse/groups/group": group -"/calendar:v3/FreeBusyResponse/kind": kind -"/calendar:v3/FreeBusyResponse/timeMax": time_max -"/calendar:v3/FreeBusyResponse/timeMin": time_min -"/calendar:v3/HabitInstanceData": habit_instance_data -"/calendar:v3/HabitInstanceData/status": status -"/calendar:v3/HabitInstanceData/statusInferred": status_inferred -"/calendar:v3/HabitInstanceData/type": type -"/calendar:v3/LaunchInfo": launch_info -"/calendar:v3/LaunchInfo/appId": app_id -"/calendar:v3/LaunchInfo/installUrl": install_url -"/calendar:v3/LaunchInfo/intentAction": intent_action -"/calendar:v3/LaunchInfo/uri": uri -"/calendar:v3/Link": link -"/calendar:v3/Link/applinkingSource": applinking_source -"/calendar:v3/Link/displayInfo": display_info -"/calendar:v3/Link/launchInfo": launch_info -"/calendar:v3/Link/platform": platform -"/calendar:v3/Link/url": url -"/calendar:v3/Setting": setting -"/calendar:v3/Setting/etag": etag -"/calendar:v3/Setting/id": id -"/calendar:v3/Setting/kind": kind -"/calendar:v3/Setting/value": value -"/calendar:v3/Settings": settings -"/calendar:v3/Settings/etag": etag -"/calendar:v3/Settings/items": items -"/calendar:v3/Settings/items/item": item -"/calendar:v3/Settings/kind": kind -"/calendar:v3/Settings/nextPageToken": next_page_token -"/calendar:v3/Settings/nextSyncToken": next_sync_token -"/calendar:v3/TimePeriod": time_period -"/calendar:v3/TimePeriod/end": end -"/calendar:v3/TimePeriod/start": start -"/civicinfo:v2/fields": fields -"/civicinfo:v2/key": key -"/civicinfo:v2/quotaUser": quota_user -"/civicinfo:v2/userIp": user_ip -"/civicinfo:v2/civicinfo.divisions.search/query": query -"/civicinfo:v2/civicinfo.elections.voterInfoQuery/address": address -"/civicinfo:v2/civicinfo.elections.voterInfoQuery/electionId": election_id -"/civicinfo:v2/civicinfo.elections.voterInfoQuery/officialOnly": official_only -"/civicinfo:v2/civicinfo.elections.voterInfoQuery/returnAllAvailableData": return_all_available_data -"/civicinfo:v2/civicinfo.representatives.representativeInfoByAddress/address": address -"/civicinfo:v2/civicinfo.representatives.representativeInfoByAddress/includeOffices": include_offices -"/civicinfo:v2/civicinfo.representatives.representativeInfoByAddress/levels": levels -"/civicinfo:v2/civicinfo.representatives.representativeInfoByAddress/roles": roles -"/civicinfo:v2/civicinfo.representatives.representativeInfoByDivision/levels": levels -"/civicinfo:v2/civicinfo.representatives.representativeInfoByDivision/ocdId": ocd_id -"/civicinfo:v2/civicinfo.representatives.representativeInfoByDivision/recursive": recursive -"/civicinfo:v2/civicinfo.representatives.representativeInfoByDivision/roles": roles +"/calendar:v3/fields": fields +"/calendar:v3/key": key +"/calendar:v3/quotaUser": quota_user +"/calendar:v3/userIp": user_ip "/civicinfo:v2/AdministrationRegion": administration_region "/civicinfo:v2/AdministrationRegion/electionAdministrationBody": election_administration_body "/civicinfo:v2/AdministrationRegion/id": id @@ -13194,6 +8611,7 @@ "/civicinfo:v2/DivisionRepresentativeInfoRequest/contextParams": context_params "/civicinfo:v2/DivisionSearchRequest": division_search_request "/civicinfo:v2/DivisionSearchRequest/contextParams": context_params +"/civicinfo:v2/DivisionSearchResponse": search_division_response "/civicinfo:v2/DivisionSearchResponse/kind": kind "/civicinfo:v2/DivisionSearchResponse/results": results "/civicinfo:v2/DivisionSearchResponse/results/result": result @@ -13215,6 +8633,7 @@ "/civicinfo:v2/ElectionOfficial/title": title "/civicinfo:v2/ElectionsQueryRequest": elections_query_request "/civicinfo:v2/ElectionsQueryRequest/contextParams": context_params +"/civicinfo:v2/ElectionsQueryResponse": query_elections_response "/civicinfo:v2/ElectionsQueryResponse/elections": elections "/civicinfo:v2/ElectionsQueryResponse/elections/election": election "/civicinfo:v2/ElectionsQueryResponse/kind": kind @@ -13353,907 +8772,1057 @@ "/civicinfo:v2/VoterInfoSegmentResult/postalAddress": postal_address "/civicinfo:v2/VoterInfoSegmentResult/request": request "/civicinfo:v2/VoterInfoSegmentResult/response": response -"/classroom:v1/fields": fields -"/classroom:v1/key": key -"/classroom:v1/quotaUser": quota_user -"/classroom:v1/classroom.invitations.list": list_invitations -"/classroom:v1/classroom.invitations.list/pageToken": page_token -"/classroom:v1/classroom.invitations.list/userId": user_id -"/classroom:v1/classroom.invitations.list/pageSize": page_size -"/classroom:v1/classroom.invitations.list/courseId": course_id -"/classroom:v1/classroom.invitations.get": get_invitation -"/classroom:v1/classroom.invitations.get/id": id -"/classroom:v1/classroom.invitations.create": create_invitation -"/classroom:v1/classroom.invitations.accept": accept_invitation -"/classroom:v1/classroom.invitations.accept/id": id -"/classroom:v1/classroom.invitations.delete": delete_invitation -"/classroom:v1/classroom.invitations.delete/id": id -"/classroom:v1/classroom.userProfiles.get": get_user_profile -"/classroom:v1/classroom.userProfiles.get/userId": user_id -"/classroom:v1/classroom.userProfiles.guardianInvitations.patch": patch_user_profile_guardian_invitation -"/classroom:v1/classroom.userProfiles.guardianInvitations.patch/studentId": student_id -"/classroom:v1/classroom.userProfiles.guardianInvitations.patch/updateMask": update_mask -"/classroom:v1/classroom.userProfiles.guardianInvitations.patch/invitationId": invitation_id -"/classroom:v1/classroom.userProfiles.guardianInvitations.get": get_user_profile_guardian_invitation -"/classroom:v1/classroom.userProfiles.guardianInvitations.get/studentId": student_id -"/classroom:v1/classroom.userProfiles.guardianInvitations.get/invitationId": invitation_id -"/classroom:v1/classroom.userProfiles.guardianInvitations.list": list_user_profile_guardian_invitations -"/classroom:v1/classroom.userProfiles.guardianInvitations.list/studentId": student_id -"/classroom:v1/classroom.userProfiles.guardianInvitations.list/pageToken": page_token -"/classroom:v1/classroom.userProfiles.guardianInvitations.list/pageSize": page_size -"/classroom:v1/classroom.userProfiles.guardianInvitations.list/states": states -"/classroom:v1/classroom.userProfiles.guardianInvitations.list/invitedEmailAddress": invited_email_address -"/classroom:v1/classroom.userProfiles.guardianInvitations.create": create_user_profile_guardian_invitation -"/classroom:v1/classroom.userProfiles.guardianInvitations.create/studentId": student_id -"/classroom:v1/classroom.userProfiles.guardians.get": get_user_profile_guardian -"/classroom:v1/classroom.userProfiles.guardians.get/studentId": student_id -"/classroom:v1/classroom.userProfiles.guardians.get/guardianId": guardian_id -"/classroom:v1/classroom.userProfiles.guardians.list": list_user_profile_guardians -"/classroom:v1/classroom.userProfiles.guardians.list/studentId": student_id -"/classroom:v1/classroom.userProfiles.guardians.list/pageToken": page_token -"/classroom:v1/classroom.userProfiles.guardians.list/pageSize": page_size -"/classroom:v1/classroom.userProfiles.guardians.list/invitedEmailAddress": invited_email_address -"/classroom:v1/classroom.userProfiles.guardians.delete": delete_user_profile_guardian -"/classroom:v1/classroom.userProfiles.guardians.delete/guardianId": guardian_id -"/classroom:v1/classroom.userProfiles.guardians.delete/studentId": student_id -"/classroom:v1/classroom.courses.get": get_course -"/classroom:v1/classroom.courses.get/id": id -"/classroom:v1/classroom.courses.patch": patch_course -"/classroom:v1/classroom.courses.patch/id": id -"/classroom:v1/classroom.courses.patch/updateMask": update_mask -"/classroom:v1/classroom.courses.update": update_course -"/classroom:v1/classroom.courses.update/id": id -"/classroom:v1/classroom.courses.delete": delete_course -"/classroom:v1/classroom.courses.delete/id": id -"/classroom:v1/classroom.courses.list": list_courses -"/classroom:v1/classroom.courses.list/studentId": student_id -"/classroom:v1/classroom.courses.list/pageToken": page_token -"/classroom:v1/classroom.courses.list/pageSize": page_size -"/classroom:v1/classroom.courses.list/courseStates": course_states -"/classroom:v1/classroom.courses.list/teacherId": teacher_id -"/classroom:v1/classroom.courses.create": create_course +"/civicinfo:v2/civicinfo.divisions.search": search_divisions +"/civicinfo:v2/civicinfo.divisions.search/query": query +"/civicinfo:v2/civicinfo.elections.electionQuery": query_election +"/civicinfo:v2/civicinfo.elections.voterInfoQuery": query_voter_info +"/civicinfo:v2/civicinfo.elections.voterInfoQuery/address": address +"/civicinfo:v2/civicinfo.elections.voterInfoQuery/electionId": election_id +"/civicinfo:v2/civicinfo.elections.voterInfoQuery/officialOnly": official_only +"/civicinfo:v2/civicinfo.elections.voterInfoQuery/returnAllAvailableData": return_all_available_data +"/civicinfo:v2/civicinfo.representatives.representativeInfoByAddress": representative_info_by_address +"/civicinfo:v2/civicinfo.representatives.representativeInfoByAddress/address": address +"/civicinfo:v2/civicinfo.representatives.representativeInfoByAddress/includeOffices": include_offices +"/civicinfo:v2/civicinfo.representatives.representativeInfoByAddress/levels": levels +"/civicinfo:v2/civicinfo.representatives.representativeInfoByAddress/roles": roles +"/civicinfo:v2/civicinfo.representatives.representativeInfoByDivision": representative_info_by_division +"/civicinfo:v2/civicinfo.representatives.representativeInfoByDivision/levels": levels +"/civicinfo:v2/civicinfo.representatives.representativeInfoByDivision/ocdId": ocd_id +"/civicinfo:v2/civicinfo.representatives.representativeInfoByDivision/recursive": recursive +"/civicinfo:v2/civicinfo.representatives.representativeInfoByDivision/roles": roles +"/civicinfo:v2/fields": fields +"/civicinfo:v2/key": key +"/civicinfo:v2/quotaUser": quota_user +"/civicinfo:v2/userIp": user_ip +"/classroom:v1/Assignment": assignment +"/classroom:v1/Assignment/studentWorkFolder": student_work_folder +"/classroom:v1/AssignmentSubmission": assignment_submission +"/classroom:v1/AssignmentSubmission/attachments": attachments +"/classroom:v1/AssignmentSubmission/attachments/attachment": attachment +"/classroom:v1/Attachment": attachment +"/classroom:v1/Attachment/driveFile": drive_file +"/classroom:v1/Attachment/form": form +"/classroom:v1/Attachment/link": link +"/classroom:v1/Attachment/youTubeVideo": you_tube_video +"/classroom:v1/Course": course +"/classroom:v1/Course/alternateLink": alternate_link +"/classroom:v1/Course/calendarId": calendar_id +"/classroom:v1/Course/courseGroupEmail": course_group_email +"/classroom:v1/Course/courseMaterialSets": course_material_sets +"/classroom:v1/Course/courseMaterialSets/course_material_set": course_material_set +"/classroom:v1/Course/courseState": course_state +"/classroom:v1/Course/creationTime": creation_time +"/classroom:v1/Course/description": description +"/classroom:v1/Course/descriptionHeading": description_heading +"/classroom:v1/Course/enrollmentCode": enrollment_code +"/classroom:v1/Course/guardiansEnabled": guardians_enabled +"/classroom:v1/Course/id": id +"/classroom:v1/Course/name": name +"/classroom:v1/Course/ownerId": owner_id +"/classroom:v1/Course/room": room +"/classroom:v1/Course/section": section +"/classroom:v1/Course/teacherFolder": teacher_folder +"/classroom:v1/Course/teacherGroupEmail": teacher_group_email +"/classroom:v1/Course/updateTime": update_time +"/classroom:v1/CourseAlias": course_alias +"/classroom:v1/CourseAlias/alias": alias +"/classroom:v1/CourseMaterial": course_material +"/classroom:v1/CourseMaterial/driveFile": drive_file +"/classroom:v1/CourseMaterial/form": form +"/classroom:v1/CourseMaterial/link": link +"/classroom:v1/CourseMaterial/youTubeVideo": you_tube_video +"/classroom:v1/CourseMaterialSet": course_material_set +"/classroom:v1/CourseMaterialSet/materials": materials +"/classroom:v1/CourseMaterialSet/materials/material": material +"/classroom:v1/CourseMaterialSet/title": title +"/classroom:v1/CourseWork": course_work +"/classroom:v1/CourseWork/alternateLink": alternate_link +"/classroom:v1/CourseWork/assignment": assignment +"/classroom:v1/CourseWork/associatedWithDeveloper": associated_with_developer +"/classroom:v1/CourseWork/courseId": course_id +"/classroom:v1/CourseWork/creationTime": creation_time +"/classroom:v1/CourseWork/description": description +"/classroom:v1/CourseWork/dueDate": due_date +"/classroom:v1/CourseWork/dueTime": due_time +"/classroom:v1/CourseWork/id": id +"/classroom:v1/CourseWork/materials": materials +"/classroom:v1/CourseWork/materials/material": material +"/classroom:v1/CourseWork/maxPoints": max_points +"/classroom:v1/CourseWork/multipleChoiceQuestion": multiple_choice_question +"/classroom:v1/CourseWork/scheduledTime": scheduled_time +"/classroom:v1/CourseWork/state": state +"/classroom:v1/CourseWork/submissionModificationMode": submission_modification_mode +"/classroom:v1/CourseWork/title": title +"/classroom:v1/CourseWork/updateTime": update_time +"/classroom:v1/CourseWork/workType": work_type +"/classroom:v1/Date": date +"/classroom:v1/Date/day": day +"/classroom:v1/Date/month": month +"/classroom:v1/Date/year": year +"/classroom:v1/DriveFile": drive_file +"/classroom:v1/DriveFile/alternateLink": alternate_link +"/classroom:v1/DriveFile/id": id +"/classroom:v1/DriveFile/thumbnailUrl": thumbnail_url +"/classroom:v1/DriveFile/title": title +"/classroom:v1/DriveFolder": drive_folder +"/classroom:v1/DriveFolder/alternateLink": alternate_link +"/classroom:v1/DriveFolder/id": id +"/classroom:v1/DriveFolder/title": title +"/classroom:v1/Empty": empty +"/classroom:v1/Form": form +"/classroom:v1/Form/formUrl": form_url +"/classroom:v1/Form/responseUrl": response_url +"/classroom:v1/Form/thumbnailUrl": thumbnail_url +"/classroom:v1/Form/title": title +"/classroom:v1/GlobalPermission": global_permission +"/classroom:v1/GlobalPermission/permission": permission +"/classroom:v1/GradeHistory": grade_history +"/classroom:v1/GradeHistory/actorUserId": actor_user_id +"/classroom:v1/GradeHistory/gradeChangeType": grade_change_type +"/classroom:v1/GradeHistory/gradeTimestamp": grade_timestamp +"/classroom:v1/GradeHistory/maxPoints": max_points +"/classroom:v1/GradeHistory/pointsEarned": points_earned +"/classroom:v1/Guardian": guardian +"/classroom:v1/Guardian/guardianId": guardian_id +"/classroom:v1/Guardian/guardianProfile": guardian_profile +"/classroom:v1/Guardian/invitedEmailAddress": invited_email_address +"/classroom:v1/Guardian/studentId": student_id +"/classroom:v1/GuardianInvitation": guardian_invitation +"/classroom:v1/GuardianInvitation/creationTime": creation_time +"/classroom:v1/GuardianInvitation/invitationId": invitation_id +"/classroom:v1/GuardianInvitation/invitedEmailAddress": invited_email_address +"/classroom:v1/GuardianInvitation/state": state +"/classroom:v1/GuardianInvitation/studentId": student_id +"/classroom:v1/Invitation": invitation +"/classroom:v1/Invitation/courseId": course_id +"/classroom:v1/Invitation/id": id +"/classroom:v1/Invitation/role": role +"/classroom:v1/Invitation/userId": user_id +"/classroom:v1/Link": link +"/classroom:v1/Link/thumbnailUrl": thumbnail_url +"/classroom:v1/Link/title": title +"/classroom:v1/Link/url": url +"/classroom:v1/ListCourseAliasesResponse": list_course_aliases_response +"/classroom:v1/ListCourseAliasesResponse/aliases": aliases +"/classroom:v1/ListCourseAliasesResponse/aliases/alias": alias +"/classroom:v1/ListCourseAliasesResponse/nextPageToken": next_page_token +"/classroom:v1/ListCourseWorkResponse": list_course_work_response +"/classroom:v1/ListCourseWorkResponse/courseWork": course_work +"/classroom:v1/ListCourseWorkResponse/courseWork/course_work": course_work +"/classroom:v1/ListCourseWorkResponse/nextPageToken": next_page_token +"/classroom:v1/ListCoursesResponse": list_courses_response +"/classroom:v1/ListCoursesResponse/courses": courses +"/classroom:v1/ListCoursesResponse/courses/course": course +"/classroom:v1/ListCoursesResponse/nextPageToken": next_page_token +"/classroom:v1/ListGuardianInvitationsResponse": list_guardian_invitations_response +"/classroom:v1/ListGuardianInvitationsResponse/guardianInvitations": guardian_invitations +"/classroom:v1/ListGuardianInvitationsResponse/guardianInvitations/guardian_invitation": guardian_invitation +"/classroom:v1/ListGuardianInvitationsResponse/nextPageToken": next_page_token +"/classroom:v1/ListGuardiansResponse": list_guardians_response +"/classroom:v1/ListGuardiansResponse/guardians": guardians +"/classroom:v1/ListGuardiansResponse/guardians/guardian": guardian +"/classroom:v1/ListGuardiansResponse/nextPageToken": next_page_token +"/classroom:v1/ListInvitationsResponse": list_invitations_response +"/classroom:v1/ListInvitationsResponse/invitations": invitations +"/classroom:v1/ListInvitationsResponse/invitations/invitation": invitation +"/classroom:v1/ListInvitationsResponse/nextPageToken": next_page_token +"/classroom:v1/ListStudentSubmissionsResponse": list_student_submissions_response +"/classroom:v1/ListStudentSubmissionsResponse/nextPageToken": next_page_token +"/classroom:v1/ListStudentSubmissionsResponse/studentSubmissions": student_submissions +"/classroom:v1/ListStudentSubmissionsResponse/studentSubmissions/student_submission": student_submission +"/classroom:v1/ListStudentsResponse": list_students_response +"/classroom:v1/ListStudentsResponse/nextPageToken": next_page_token +"/classroom:v1/ListStudentsResponse/students": students +"/classroom:v1/ListStudentsResponse/students/student": student +"/classroom:v1/ListTeachersResponse": list_teachers_response +"/classroom:v1/ListTeachersResponse/nextPageToken": next_page_token +"/classroom:v1/ListTeachersResponse/teachers": teachers +"/classroom:v1/ListTeachersResponse/teachers/teacher": teacher +"/classroom:v1/Material": material +"/classroom:v1/Material/driveFile": drive_file +"/classroom:v1/Material/form": form +"/classroom:v1/Material/link": link +"/classroom:v1/Material/youtubeVideo": youtube_video +"/classroom:v1/ModifyAttachmentsRequest": modify_attachments_request +"/classroom:v1/ModifyAttachmentsRequest/addAttachments": add_attachments +"/classroom:v1/ModifyAttachmentsRequest/addAttachments/add_attachment": add_attachment +"/classroom:v1/MultipleChoiceQuestion": multiple_choice_question +"/classroom:v1/MultipleChoiceQuestion/choices": choices +"/classroom:v1/MultipleChoiceQuestion/choices/choice": choice +"/classroom:v1/MultipleChoiceSubmission": multiple_choice_submission +"/classroom:v1/MultipleChoiceSubmission/answer": answer +"/classroom:v1/Name": name +"/classroom:v1/Name/familyName": family_name +"/classroom:v1/Name/fullName": full_name +"/classroom:v1/Name/givenName": given_name +"/classroom:v1/ReclaimStudentSubmissionRequest": reclaim_student_submission_request +"/classroom:v1/ReturnStudentSubmissionRequest": return_student_submission_request +"/classroom:v1/SharedDriveFile": shared_drive_file +"/classroom:v1/SharedDriveFile/driveFile": drive_file +"/classroom:v1/SharedDriveFile/shareMode": share_mode +"/classroom:v1/ShortAnswerSubmission": short_answer_submission +"/classroom:v1/ShortAnswerSubmission/answer": answer +"/classroom:v1/StateHistory": state_history +"/classroom:v1/StateHistory/actorUserId": actor_user_id +"/classroom:v1/StateHistory/state": state +"/classroom:v1/StateHistory/stateTimestamp": state_timestamp +"/classroom:v1/Student": student +"/classroom:v1/Student/courseId": course_id +"/classroom:v1/Student/profile": profile +"/classroom:v1/Student/studentWorkFolder": student_work_folder +"/classroom:v1/Student/userId": user_id +"/classroom:v1/StudentSubmission": student_submission +"/classroom:v1/StudentSubmission/alternateLink": alternate_link +"/classroom:v1/StudentSubmission/assignedGrade": assigned_grade +"/classroom:v1/StudentSubmission/assignmentSubmission": assignment_submission +"/classroom:v1/StudentSubmission/associatedWithDeveloper": associated_with_developer +"/classroom:v1/StudentSubmission/courseId": course_id +"/classroom:v1/StudentSubmission/courseWorkId": course_work_id +"/classroom:v1/StudentSubmission/courseWorkType": course_work_type +"/classroom:v1/StudentSubmission/creationTime": creation_time +"/classroom:v1/StudentSubmission/draftGrade": draft_grade +"/classroom:v1/StudentSubmission/id": id +"/classroom:v1/StudentSubmission/late": late +"/classroom:v1/StudentSubmission/multipleChoiceSubmission": multiple_choice_submission +"/classroom:v1/StudentSubmission/shortAnswerSubmission": short_answer_submission +"/classroom:v1/StudentSubmission/state": state +"/classroom:v1/StudentSubmission/submissionHistory": submission_history +"/classroom:v1/StudentSubmission/submissionHistory/submission_history": submission_history +"/classroom:v1/StudentSubmission/updateTime": update_time +"/classroom:v1/StudentSubmission/userId": user_id +"/classroom:v1/SubmissionHistory": submission_history +"/classroom:v1/SubmissionHistory/gradeHistory": grade_history +"/classroom:v1/SubmissionHistory/stateHistory": state_history +"/classroom:v1/Teacher": teacher +"/classroom:v1/Teacher/courseId": course_id +"/classroom:v1/Teacher/profile": profile +"/classroom:v1/Teacher/userId": user_id +"/classroom:v1/TimeOfDay": time_of_day +"/classroom:v1/TimeOfDay/hours": hours +"/classroom:v1/TimeOfDay/minutes": minutes +"/classroom:v1/TimeOfDay/nanos": nanos +"/classroom:v1/TimeOfDay/seconds": seconds +"/classroom:v1/TurnInStudentSubmissionRequest": turn_in_student_submission_request +"/classroom:v1/UserProfile": user_profile +"/classroom:v1/UserProfile/emailAddress": email_address +"/classroom:v1/UserProfile/id": id +"/classroom:v1/UserProfile/name": name +"/classroom:v1/UserProfile/permissions": permissions +"/classroom:v1/UserProfile/permissions/permission": permission +"/classroom:v1/UserProfile/photoUrl": photo_url +"/classroom:v1/UserProfile/verifiedTeacher": verified_teacher +"/classroom:v1/YouTubeVideo": you_tube_video +"/classroom:v1/YouTubeVideo/alternateLink": alternate_link +"/classroom:v1/YouTubeVideo/id": id +"/classroom:v1/YouTubeVideo/thumbnailUrl": thumbnail_url +"/classroom:v1/YouTubeVideo/title": title "/classroom:v1/classroom.courses.aliases.create": create_course_alias "/classroom:v1/classroom.courses.aliases.create/courseId": course_id "/classroom:v1/classroom.courses.aliases.delete": delete_course_alias "/classroom:v1/classroom.courses.aliases.delete/alias": alias_ "/classroom:v1/classroom.courses.aliases.delete/courseId": course_id "/classroom:v1/classroom.courses.aliases.list": list_course_aliases -"/classroom:v1/classroom.courses.aliases.list/pageToken": page_token -"/classroom:v1/classroom.courses.aliases.list/pageSize": page_size "/classroom:v1/classroom.courses.aliases.list/courseId": course_id -"/classroom:v1/classroom.courses.students.create": create_course_student -"/classroom:v1/classroom.courses.students.create/courseId": course_id -"/classroom:v1/classroom.courses.students.create/enrollmentCode": enrollment_code -"/classroom:v1/classroom.courses.students.delete": delete_course_student -"/classroom:v1/classroom.courses.students.delete/userId": user_id -"/classroom:v1/classroom.courses.students.delete/courseId": course_id -"/classroom:v1/classroom.courses.students.list": list_course_students -"/classroom:v1/classroom.courses.students.list/pageToken": page_token -"/classroom:v1/classroom.courses.students.list/pageSize": page_size -"/classroom:v1/classroom.courses.students.list/courseId": course_id -"/classroom:v1/classroom.courses.students.get": get_course_student -"/classroom:v1/classroom.courses.students.get/userId": user_id -"/classroom:v1/classroom.courses.students.get/courseId": course_id +"/classroom:v1/classroom.courses.aliases.list/pageSize": page_size +"/classroom:v1/classroom.courses.aliases.list/pageToken": page_token +"/classroom:v1/classroom.courses.courseWork.create": create_course_work +"/classroom:v1/classroom.courses.courseWork.create/courseId": course_id "/classroom:v1/classroom.courses.courseWork.delete": delete_course_course_work "/classroom:v1/classroom.courses.courseWork.delete/courseId": course_id "/classroom:v1/classroom.courses.courseWork.delete/id": id -"/classroom:v1/classroom.courses.courseWork.list/pageToken": page_token -"/classroom:v1/classroom.courses.courseWork.list/orderBy": order_by -"/classroom:v1/classroom.courses.courseWork.list/pageSize": page_size -"/classroom:v1/classroom.courses.courseWork.list/courseWorkStates": course_work_states -"/classroom:v1/classroom.courses.courseWork.list/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.get": get_course_work "/classroom:v1/classroom.courses.courseWork.get/courseId": course_id "/classroom:v1/classroom.courses.courseWork.get/id": id +"/classroom:v1/classroom.courses.courseWork.list": list_course_works +"/classroom:v1/classroom.courses.courseWork.list/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.list/courseWorkStates": course_work_states +"/classroom:v1/classroom.courses.courseWork.list/orderBy": order_by +"/classroom:v1/classroom.courses.courseWork.list/pageSize": page_size +"/classroom:v1/classroom.courses.courseWork.list/pageToken": page_token "/classroom:v1/classroom.courses.courseWork.patch": patch_course_course_work "/classroom:v1/classroom.courses.courseWork.patch/courseId": course_id "/classroom:v1/classroom.courses.courseWork.patch/id": id "/classroom:v1/classroom.courses.courseWork.patch/updateMask": update_mask -"/classroom:v1/classroom.courses.courseWork.create/courseId": course_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.get/id": id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.get/courseWorkId": course_work_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.get": get_student_submission "/classroom:v1/classroom.courses.courseWork.studentSubmissions.get/courseId": course_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch/courseWorkId": course_work_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch/courseId": course_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch/id": id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch/updateMask": update_mask -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.return": return_student_submission -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.return/courseId": course_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.return/id": id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.return/courseWorkId": course_work_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.reclaim": reclaim_student_submission -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.reclaim/courseWorkId": course_work_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.reclaim/courseId": course_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.reclaim/id": id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.turnIn": turn_in_student_submission -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.turnIn/courseWorkId": course_work_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.turnIn/courseId": course_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.turnIn/id": id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.get/courseWorkId": course_work_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.get/id": id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list": list_student_submissions +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/courseWorkId": course_work_id "/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/late": late +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/pageSize": page_size "/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/pageToken": page_token "/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/states": states -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/pageSize": page_size "/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/userId": user_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/courseWorkId": course_work_id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/courseId": course_id "/classroom:v1/classroom.courses.courseWork.studentSubmissions.modifyAttachments": modify_student_submission_attachments -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.modifyAttachments/id": id -"/classroom:v1/classroom.courses.courseWork.studentSubmissions.modifyAttachments/courseWorkId": course_work_id "/classroom:v1/classroom.courses.courseWork.studentSubmissions.modifyAttachments/courseId": course_id -"/classroom:v1/classroom.courses.teachers.delete": delete_course_teacher -"/classroom:v1/classroom.courses.teachers.delete/userId": user_id -"/classroom:v1/classroom.courses.teachers.delete/courseId": course_id -"/classroom:v1/classroom.courses.teachers.list": list_course_teachers -"/classroom:v1/classroom.courses.teachers.list/pageToken": page_token -"/classroom:v1/classroom.courses.teachers.list/pageSize": page_size -"/classroom:v1/classroom.courses.teachers.list/courseId": course_id -"/classroom:v1/classroom.courses.teachers.get": get_course_teacher -"/classroom:v1/classroom.courses.teachers.get/userId": user_id -"/classroom:v1/classroom.courses.teachers.get/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.modifyAttachments/courseWorkId": course_work_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.modifyAttachments/id": id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch": patch_student_submission +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch/courseWorkId": course_work_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch/id": id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch/updateMask": update_mask +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.reclaim": reclaim_student_submission +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.reclaim/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.reclaim/courseWorkId": course_work_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.reclaim/id": id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.return": return_student_submission +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.return/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.return/courseWorkId": course_work_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.return/id": id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.turnIn": turn_in_student_submission +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.turnIn/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.turnIn/courseWorkId": course_work_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.turnIn/id": id +"/classroom:v1/classroom.courses.create": create_course +"/classroom:v1/classroom.courses.delete": delete_course +"/classroom:v1/classroom.courses.delete/id": id +"/classroom:v1/classroom.courses.get": get_course +"/classroom:v1/classroom.courses.get/id": id +"/classroom:v1/classroom.courses.list": list_courses +"/classroom:v1/classroom.courses.list/courseStates": course_states +"/classroom:v1/classroom.courses.list/pageSize": page_size +"/classroom:v1/classroom.courses.list/pageToken": page_token +"/classroom:v1/classroom.courses.list/studentId": student_id +"/classroom:v1/classroom.courses.list/teacherId": teacher_id +"/classroom:v1/classroom.courses.patch": patch_course +"/classroom:v1/classroom.courses.patch/id": id +"/classroom:v1/classroom.courses.patch/updateMask": update_mask +"/classroom:v1/classroom.courses.students.create": create_course_student +"/classroom:v1/classroom.courses.students.create/courseId": course_id +"/classroom:v1/classroom.courses.students.create/enrollmentCode": enrollment_code +"/classroom:v1/classroom.courses.students.delete": delete_course_student +"/classroom:v1/classroom.courses.students.delete/courseId": course_id +"/classroom:v1/classroom.courses.students.delete/userId": user_id +"/classroom:v1/classroom.courses.students.get": get_course_student +"/classroom:v1/classroom.courses.students.get/courseId": course_id +"/classroom:v1/classroom.courses.students.get/userId": user_id +"/classroom:v1/classroom.courses.students.list": list_course_students +"/classroom:v1/classroom.courses.students.list/courseId": course_id +"/classroom:v1/classroom.courses.students.list/pageSize": page_size +"/classroom:v1/classroom.courses.students.list/pageToken": page_token "/classroom:v1/classroom.courses.teachers.create": create_course_teacher "/classroom:v1/classroom.courses.teachers.create/courseId": course_id -"/classroom:v1/Assignment": assignment -"/classroom:v1/Assignment/studentWorkFolder": student_work_folder -"/classroom:v1/SharedDriveFile": shared_drive_file -"/classroom:v1/SharedDriveFile/shareMode": share_mode -"/classroom:v1/SharedDriveFile/driveFile": drive_file -"/classroom:v1/Empty": empty -"/classroom:v1/MultipleChoiceQuestion": multiple_choice_question -"/classroom:v1/MultipleChoiceQuestion/choices": choices -"/classroom:v1/MultipleChoiceQuestion/choices/choice": choice -"/classroom:v1/Course": course -"/classroom:v1/Course/updateTime": update_time -"/classroom:v1/Course/calendarId": calendar_id -"/classroom:v1/Course/alternateLink": alternate_link -"/classroom:v1/Course/guardiansEnabled": guardians_enabled -"/classroom:v1/Course/ownerId": owner_id -"/classroom:v1/Course/courseState": course_state -"/classroom:v1/Course/description": description -"/classroom:v1/Course/teacherGroupEmail": teacher_group_email -"/classroom:v1/Course/creationTime": creation_time -"/classroom:v1/Course/teacherFolder": teacher_folder -"/classroom:v1/Course/name": name -"/classroom:v1/Course/section": section -"/classroom:v1/Course/id": id -"/classroom:v1/Course/room": room -"/classroom:v1/Course/courseGroupEmail": course_group_email -"/classroom:v1/Course/courseMaterialSets": course_material_sets -"/classroom:v1/Course/courseMaterialSets/course_material_set": course_material_set -"/classroom:v1/Course/enrollmentCode": enrollment_code -"/classroom:v1/Course/descriptionHeading": description_heading -"/classroom:v1/DriveFile": drive_file -"/classroom:v1/DriveFile/id": id -"/classroom:v1/DriveFile/title": title -"/classroom:v1/DriveFile/alternateLink": alternate_link -"/classroom:v1/DriveFile/thumbnailUrl": thumbnail_url -"/classroom:v1/ReturnStudentSubmissionRequest": return_student_submission_request -"/classroom:v1/GlobalPermission": global_permission -"/classroom:v1/GlobalPermission/permission": permission -"/classroom:v1/Teacher": teacher -"/classroom:v1/Teacher/courseId": course_id -"/classroom:v1/Teacher/profile": profile -"/classroom:v1/Teacher/userId": user_id -"/classroom:v1/ReclaimStudentSubmissionRequest": reclaim_student_submission_request -"/classroom:v1/AssignmentSubmission": assignment_submission -"/classroom:v1/AssignmentSubmission/attachments": attachments -"/classroom:v1/AssignmentSubmission/attachments/attachment": attachment -"/classroom:v1/Material": material -"/classroom:v1/Material/driveFile": drive_file -"/classroom:v1/Material/form": form -"/classroom:v1/Material/link": link -"/classroom:v1/Material/youtubeVideo": youtube_video -"/classroom:v1/CourseWork": course_work -"/classroom:v1/CourseWork/associatedWithDeveloper": associated_with_developer -"/classroom:v1/CourseWork/materials": materials -"/classroom:v1/CourseWork/materials/material": material -"/classroom:v1/CourseWork/updateTime": update_time -"/classroom:v1/CourseWork/alternateLink": alternate_link -"/classroom:v1/CourseWork/maxPoints": max_points -"/classroom:v1/CourseWork/assignment": assignment -"/classroom:v1/CourseWork/workType": work_type -"/classroom:v1/CourseWork/multipleChoiceQuestion": multiple_choice_question -"/classroom:v1/CourseWork/scheduledTime": scheduled_time -"/classroom:v1/CourseWork/description": description -"/classroom:v1/CourseWork/creationTime": creation_time -"/classroom:v1/CourseWork/dueDate": due_date -"/classroom:v1/CourseWork/submissionModificationMode": submission_modification_mode -"/classroom:v1/CourseWork/state": state -"/classroom:v1/CourseWork/courseId": course_id -"/classroom:v1/CourseWork/id": id -"/classroom:v1/CourseWork/dueTime": due_time -"/classroom:v1/CourseWork/title": title -"/classroom:v1/Guardian": guardian -"/classroom:v1/Guardian/invitedEmailAddress": invited_email_address -"/classroom:v1/Guardian/guardianId": guardian_id -"/classroom:v1/Guardian/guardianProfile": guardian_profile -"/classroom:v1/Guardian/studentId": student_id -"/classroom:v1/ListStudentsResponse": list_students_response -"/classroom:v1/ListStudentsResponse/nextPageToken": next_page_token -"/classroom:v1/ListStudentsResponse/students": students -"/classroom:v1/ListStudentsResponse/students/student": student -"/classroom:v1/UserProfile": user_profile -"/classroom:v1/UserProfile/emailAddress": email_address -"/classroom:v1/UserProfile/photoUrl": photo_url -"/classroom:v1/UserProfile/permissions": permissions -"/classroom:v1/UserProfile/permissions/permission": permission -"/classroom:v1/UserProfile/name": name -"/classroom:v1/UserProfile/id": id -"/classroom:v1/UserProfile/verifiedTeacher": verified_teacher -"/classroom:v1/Student": student -"/classroom:v1/Student/studentWorkFolder": student_work_folder -"/classroom:v1/Student/profile": profile -"/classroom:v1/Student/userId": user_id -"/classroom:v1/Student/courseId": course_id -"/classroom:v1/Invitation": invitation -"/classroom:v1/Invitation/courseId": course_id -"/classroom:v1/Invitation/id": id -"/classroom:v1/Invitation/role": role -"/classroom:v1/Invitation/userId": user_id -"/classroom:v1/DriveFolder": drive_folder -"/classroom:v1/DriveFolder/title": title -"/classroom:v1/DriveFolder/alternateLink": alternate_link -"/classroom:v1/DriveFolder/id": id -"/classroom:v1/ShortAnswerSubmission": short_answer_submission -"/classroom:v1/ShortAnswerSubmission/answer": answer -"/classroom:v1/TurnInStudentSubmissionRequest": turn_in_student_submission_request -"/classroom:v1/ListStudentSubmissionsResponse": list_student_submissions_response -"/classroom:v1/ListStudentSubmissionsResponse/nextPageToken": next_page_token -"/classroom:v1/ListStudentSubmissionsResponse/studentSubmissions": student_submissions -"/classroom:v1/ListStudentSubmissionsResponse/studentSubmissions/student_submission": student_submission -"/classroom:v1/StudentSubmission": student_submission -"/classroom:v1/StudentSubmission/courseWorkId": course_work_id -"/classroom:v1/StudentSubmission/courseId": course_id -"/classroom:v1/StudentSubmission/id": id -"/classroom:v1/StudentSubmission/assignedGrade": assigned_grade -"/classroom:v1/StudentSubmission/multipleChoiceSubmission": multiple_choice_submission -"/classroom:v1/StudentSubmission/assignmentSubmission": assignment_submission -"/classroom:v1/StudentSubmission/associatedWithDeveloper": associated_with_developer -"/classroom:v1/StudentSubmission/shortAnswerSubmission": short_answer_submission -"/classroom:v1/StudentSubmission/updateTime": update_time -"/classroom:v1/StudentSubmission/alternateLink": alternate_link -"/classroom:v1/StudentSubmission/late": late -"/classroom:v1/StudentSubmission/draftGrade": draft_grade -"/classroom:v1/StudentSubmission/courseWorkType": course_work_type -"/classroom:v1/StudentSubmission/creationTime": creation_time -"/classroom:v1/StudentSubmission/state": state -"/classroom:v1/StudentSubmission/userId": user_id -"/classroom:v1/ListCourseWorkResponse": list_course_work_response -"/classroom:v1/ListCourseWorkResponse/nextPageToken": next_page_token -"/classroom:v1/ListCourseWorkResponse/courseWork": course_work -"/classroom:v1/ListCourseWorkResponse/courseWork/course_work": course_work -"/classroom:v1/ModifyAttachmentsRequest": modify_attachments_request -"/classroom:v1/ModifyAttachmentsRequest/addAttachments": add_attachments -"/classroom:v1/ModifyAttachmentsRequest/addAttachments/add_attachment": add_attachment -"/classroom:v1/YouTubeVideo": you_tube_video -"/classroom:v1/YouTubeVideo/alternateLink": alternate_link -"/classroom:v1/YouTubeVideo/thumbnailUrl": thumbnail_url -"/classroom:v1/YouTubeVideo/id": id -"/classroom:v1/YouTubeVideo/title": title -"/classroom:v1/ListInvitationsResponse": list_invitations_response -"/classroom:v1/ListInvitationsResponse/invitations": invitations -"/classroom:v1/ListInvitationsResponse/invitations/invitation": invitation -"/classroom:v1/ListInvitationsResponse/nextPageToken": next_page_token -"/classroom:v1/GuardianInvitation": guardian_invitation -"/classroom:v1/GuardianInvitation/state": state -"/classroom:v1/GuardianInvitation/studentId": student_id -"/classroom:v1/GuardianInvitation/invitedEmailAddress": invited_email_address -"/classroom:v1/GuardianInvitation/creationTime": creation_time -"/classroom:v1/GuardianInvitation/invitationId": invitation_id -"/classroom:v1/Attachment": attachment -"/classroom:v1/Attachment/link": link -"/classroom:v1/Attachment/youTubeVideo": you_tube_video -"/classroom:v1/Attachment/driveFile": drive_file -"/classroom:v1/Attachment/form": form -"/classroom:v1/CourseMaterialSet": course_material_set -"/classroom:v1/CourseMaterialSet/materials": materials -"/classroom:v1/CourseMaterialSet/materials/material": material -"/classroom:v1/CourseMaterialSet/title": title -"/classroom:v1/TimeOfDay": time_of_day -"/classroom:v1/TimeOfDay/seconds": seconds -"/classroom:v1/TimeOfDay/minutes": minutes -"/classroom:v1/TimeOfDay/hours": hours -"/classroom:v1/TimeOfDay/nanos": nanos -"/classroom:v1/ListCoursesResponse": list_courses_response -"/classroom:v1/ListCoursesResponse/nextPageToken": next_page_token -"/classroom:v1/ListCoursesResponse/courses": courses -"/classroom:v1/ListCoursesResponse/courses/course": course -"/classroom:v1/Form": form -"/classroom:v1/Form/thumbnailUrl": thumbnail_url -"/classroom:v1/Form/responseUrl": response_url -"/classroom:v1/Form/formUrl": form_url -"/classroom:v1/Form/title": title -"/classroom:v1/ListTeachersResponse": list_teachers_response -"/classroom:v1/ListTeachersResponse/teachers": teachers -"/classroom:v1/ListTeachersResponse/teachers/teacher": teacher -"/classroom:v1/ListTeachersResponse/nextPageToken": next_page_token -"/classroom:v1/Link": link -"/classroom:v1/Link/thumbnailUrl": thumbnail_url -"/classroom:v1/Link/url": url -"/classroom:v1/Link/title": title -"/classroom:v1/ListGuardiansResponse": list_guardians_response -"/classroom:v1/ListGuardiansResponse/nextPageToken": next_page_token -"/classroom:v1/ListGuardiansResponse/guardians": guardians -"/classroom:v1/ListGuardiansResponse/guardians/guardian": guardian -"/classroom:v1/CourseAlias": course_alias -"/classroom:v1/CourseAlias/alias": alias -"/classroom:v1/ListCourseAliasesResponse": list_course_aliases_response -"/classroom:v1/ListCourseAliasesResponse/aliases": aliases -"/classroom:v1/ListCourseAliasesResponse/aliases/alias": alias -"/classroom:v1/ListCourseAliasesResponse/nextPageToken": next_page_token -"/classroom:v1/ListGuardianInvitationsResponse": list_guardian_invitations_response -"/classroom:v1/ListGuardianInvitationsResponse/guardianInvitations": guardian_invitations -"/classroom:v1/ListGuardianInvitationsResponse/guardianInvitations/guardian_invitation": guardian_invitation -"/classroom:v1/ListGuardianInvitationsResponse/nextPageToken": next_page_token -"/classroom:v1/Date": date -"/classroom:v1/Date/day": day -"/classroom:v1/Date/year": year -"/classroom:v1/Date/month": month -"/classroom:v1/MultipleChoiceSubmission": multiple_choice_submission -"/classroom:v1/MultipleChoiceSubmission/answer": answer -"/classroom:v1/CourseMaterial": course_material -"/classroom:v1/CourseMaterial/youTubeVideo": you_tube_video -"/classroom:v1/CourseMaterial/driveFile": drive_file -"/classroom:v1/CourseMaterial/form": form -"/classroom:v1/CourseMaterial/link": link -"/classroom:v1/Name": name -"/classroom:v1/Name/familyName": family_name -"/classroom:v1/Name/givenName": given_name -"/classroom:v1/Name/fullName": full_name -"/cloudbilling:v1/key": key -"/cloudbilling:v1/quotaUser": quota_user -"/cloudbilling:v1/fields": fields -"/cloudbilling:v1/cloudbilling.projects.updateBillingInfo": update_project_billing_info -"/cloudbilling:v1/cloudbilling.projects.updateBillingInfo/name": name -"/cloudbilling:v1/cloudbilling.projects.getBillingInfo": get_project_billing_info -"/cloudbilling:v1/cloudbilling.projects.getBillingInfo/name": name +"/classroom:v1/classroom.courses.teachers.delete": delete_course_teacher +"/classroom:v1/classroom.courses.teachers.delete/courseId": course_id +"/classroom:v1/classroom.courses.teachers.delete/userId": user_id +"/classroom:v1/classroom.courses.teachers.get": get_course_teacher +"/classroom:v1/classroom.courses.teachers.get/courseId": course_id +"/classroom:v1/classroom.courses.teachers.get/userId": user_id +"/classroom:v1/classroom.courses.teachers.list": list_course_teachers +"/classroom:v1/classroom.courses.teachers.list/courseId": course_id +"/classroom:v1/classroom.courses.teachers.list/pageSize": page_size +"/classroom:v1/classroom.courses.teachers.list/pageToken": page_token +"/classroom:v1/classroom.courses.update": update_course +"/classroom:v1/classroom.courses.update/id": id +"/classroom:v1/classroom.invitations.accept": accept_invitation +"/classroom:v1/classroom.invitations.accept/id": id +"/classroom:v1/classroom.invitations.create": create_invitation +"/classroom:v1/classroom.invitations.delete": delete_invitation +"/classroom:v1/classroom.invitations.delete/id": id +"/classroom:v1/classroom.invitations.get": get_invitation +"/classroom:v1/classroom.invitations.get/id": id +"/classroom:v1/classroom.invitations.list": list_invitations +"/classroom:v1/classroom.invitations.list/courseId": course_id +"/classroom:v1/classroom.invitations.list/pageSize": page_size +"/classroom:v1/classroom.invitations.list/pageToken": page_token +"/classroom:v1/classroom.invitations.list/userId": user_id +"/classroom:v1/classroom.userProfiles.get": get_user_profile +"/classroom:v1/classroom.userProfiles.get/userId": user_id +"/classroom:v1/classroom.userProfiles.guardianInvitations.create": create_user_profile_guardian_invitation +"/classroom:v1/classroom.userProfiles.guardianInvitations.create/studentId": student_id +"/classroom:v1/classroom.userProfiles.guardianInvitations.get": get_user_profile_guardian_invitation +"/classroom:v1/classroom.userProfiles.guardianInvitations.get/invitationId": invitation_id +"/classroom:v1/classroom.userProfiles.guardianInvitations.get/studentId": student_id +"/classroom:v1/classroom.userProfiles.guardianInvitations.list": list_user_profile_guardian_invitations +"/classroom:v1/classroom.userProfiles.guardianInvitations.list/invitedEmailAddress": invited_email_address +"/classroom:v1/classroom.userProfiles.guardianInvitations.list/pageSize": page_size +"/classroom:v1/classroom.userProfiles.guardianInvitations.list/pageToken": page_token +"/classroom:v1/classroom.userProfiles.guardianInvitations.list/states": states +"/classroom:v1/classroom.userProfiles.guardianInvitations.list/studentId": student_id +"/classroom:v1/classroom.userProfiles.guardianInvitations.patch": patch_user_profile_guardian_invitation +"/classroom:v1/classroom.userProfiles.guardianInvitations.patch/invitationId": invitation_id +"/classroom:v1/classroom.userProfiles.guardianInvitations.patch/studentId": student_id +"/classroom:v1/classroom.userProfiles.guardianInvitations.patch/updateMask": update_mask +"/classroom:v1/classroom.userProfiles.guardians.delete": delete_user_profile_guardian +"/classroom:v1/classroom.userProfiles.guardians.delete/guardianId": guardian_id +"/classroom:v1/classroom.userProfiles.guardians.delete/studentId": student_id +"/classroom:v1/classroom.userProfiles.guardians.get": get_user_profile_guardian +"/classroom:v1/classroom.userProfiles.guardians.get/guardianId": guardian_id +"/classroom:v1/classroom.userProfiles.guardians.get/studentId": student_id +"/classroom:v1/classroom.userProfiles.guardians.list": list_user_profile_guardians +"/classroom:v1/classroom.userProfiles.guardians.list/invitedEmailAddress": invited_email_address +"/classroom:v1/classroom.userProfiles.guardians.list/pageSize": page_size +"/classroom:v1/classroom.userProfiles.guardians.list/pageToken": page_token +"/classroom:v1/classroom.userProfiles.guardians.list/studentId": student_id +"/classroom:v1/fields": fields +"/classroom:v1/key": key +"/classroom:v1/quotaUser": quota_user +"/cloudbilling:v1/AggregationInfo": aggregation_info +"/cloudbilling:v1/AggregationInfo/aggregationCount": aggregation_count +"/cloudbilling:v1/AggregationInfo/aggregationInterval": aggregation_interval +"/cloudbilling:v1/AggregationInfo/aggregationLevel": aggregation_level +"/cloudbilling:v1/BillingAccount": billing_account +"/cloudbilling:v1/BillingAccount/displayName": display_name +"/cloudbilling:v1/BillingAccount/name": name +"/cloudbilling:v1/BillingAccount/open": open +"/cloudbilling:v1/Category": category +"/cloudbilling:v1/Category/resourceFamily": resource_family +"/cloudbilling:v1/Category/resourceGroup": resource_group +"/cloudbilling:v1/Category/serviceDisplayName": service_display_name +"/cloudbilling:v1/Category/usageType": usage_type +"/cloudbilling:v1/ListBillingAccountsResponse": list_billing_accounts_response +"/cloudbilling:v1/ListBillingAccountsResponse/billingAccounts": billing_accounts +"/cloudbilling:v1/ListBillingAccountsResponse/billingAccounts/billing_account": billing_account +"/cloudbilling:v1/ListBillingAccountsResponse/nextPageToken": next_page_token +"/cloudbilling:v1/ListProjectBillingInfoResponse": list_project_billing_info_response +"/cloudbilling:v1/ListProjectBillingInfoResponse/nextPageToken": next_page_token +"/cloudbilling:v1/ListProjectBillingInfoResponse/projectBillingInfo": project_billing_info +"/cloudbilling:v1/ListProjectBillingInfoResponse/projectBillingInfo/project_billing_info": project_billing_info +"/cloudbilling:v1/ListServicesResponse": list_services_response +"/cloudbilling:v1/ListServicesResponse/nextPageToken": next_page_token +"/cloudbilling:v1/ListServicesResponse/services": services +"/cloudbilling:v1/ListServicesResponse/services/service": service +"/cloudbilling:v1/ListSkusResponse": list_skus_response +"/cloudbilling:v1/ListSkusResponse/nextPageToken": next_page_token +"/cloudbilling:v1/ListSkusResponse/skus": skus +"/cloudbilling:v1/ListSkusResponse/skus/sku": sku +"/cloudbilling:v1/Money": money +"/cloudbilling:v1/Money/currencyCode": currency_code +"/cloudbilling:v1/Money/nanos": nanos +"/cloudbilling:v1/Money/units": units +"/cloudbilling:v1/PricingExpression": pricing_expression +"/cloudbilling:v1/PricingExpression/baseUnit": base_unit +"/cloudbilling:v1/PricingExpression/baseUnitConversionFactor": base_unit_conversion_factor +"/cloudbilling:v1/PricingExpression/baseUnitDescription": base_unit_description +"/cloudbilling:v1/PricingExpression/displayQuantity": display_quantity +"/cloudbilling:v1/PricingExpression/tieredRates": tiered_rates +"/cloudbilling:v1/PricingExpression/tieredRates/tiered_rate": tiered_rate +"/cloudbilling:v1/PricingExpression/usageUnit": usage_unit +"/cloudbilling:v1/PricingExpression/usageUnitDescription": usage_unit_description +"/cloudbilling:v1/PricingInfo": pricing_info +"/cloudbilling:v1/PricingInfo/aggregationInfo": aggregation_info +"/cloudbilling:v1/PricingInfo/currencyConversionRate": currency_conversion_rate +"/cloudbilling:v1/PricingInfo/effectiveTime": effective_time +"/cloudbilling:v1/PricingInfo/pricingExpression": pricing_expression +"/cloudbilling:v1/PricingInfo/summary": summary +"/cloudbilling:v1/ProjectBillingInfo": project_billing_info +"/cloudbilling:v1/ProjectBillingInfo/billingAccountName": billing_account_name +"/cloudbilling:v1/ProjectBillingInfo/billingEnabled": billing_enabled +"/cloudbilling:v1/ProjectBillingInfo/name": name +"/cloudbilling:v1/ProjectBillingInfo/projectId": project_id +"/cloudbilling:v1/Service": service +"/cloudbilling:v1/Service/displayName": display_name +"/cloudbilling:v1/Service/name": name +"/cloudbilling:v1/Service/serviceId": service_id +"/cloudbilling:v1/Sku": sku +"/cloudbilling:v1/Sku/category": category +"/cloudbilling:v1/Sku/description": description +"/cloudbilling:v1/Sku/name": name +"/cloudbilling:v1/Sku/pricingInfo": pricing_info +"/cloudbilling:v1/Sku/pricingInfo/pricing_info": pricing_info +"/cloudbilling:v1/Sku/serviceProviderName": service_provider_name +"/cloudbilling:v1/Sku/serviceRegions": service_regions +"/cloudbilling:v1/Sku/serviceRegions/service_region": service_region +"/cloudbilling:v1/Sku/skuId": sku_id +"/cloudbilling:v1/TierRate": tier_rate +"/cloudbilling:v1/TierRate/startUsageAmount": start_usage_amount +"/cloudbilling:v1/TierRate/unitPrice": unit_price "/cloudbilling:v1/cloudbilling.billingAccounts.get": get_billing_account "/cloudbilling:v1/cloudbilling.billingAccounts.get/name": name "/cloudbilling:v1/cloudbilling.billingAccounts.list": list_billing_accounts "/cloudbilling:v1/cloudbilling.billingAccounts.list/pageSize": page_size "/cloudbilling:v1/cloudbilling.billingAccounts.list/pageToken": page_token "/cloudbilling:v1/cloudbilling.billingAccounts.projects.list": list_billing_account_projects -"/cloudbilling:v1/cloudbilling.billingAccounts.projects.list/pageSize": page_size "/cloudbilling:v1/cloudbilling.billingAccounts.projects.list/name": name +"/cloudbilling:v1/cloudbilling.billingAccounts.projects.list/pageSize": page_size "/cloudbilling:v1/cloudbilling.billingAccounts.projects.list/pageToken": page_token -"/cloudbilling:v1/ProjectBillingInfo": project_billing_info -"/cloudbilling:v1/ProjectBillingInfo/billingEnabled": billing_enabled -"/cloudbilling:v1/ProjectBillingInfo/name": name -"/cloudbilling:v1/ProjectBillingInfo/projectId": project_id -"/cloudbilling:v1/ProjectBillingInfo/billingAccountName": billing_account_name -"/cloudbilling:v1/ListProjectBillingInfoResponse": list_project_billing_info_response -"/cloudbilling:v1/ListProjectBillingInfoResponse/nextPageToken": next_page_token -"/cloudbilling:v1/ListProjectBillingInfoResponse/projectBillingInfo": project_billing_info -"/cloudbilling:v1/ListProjectBillingInfoResponse/projectBillingInfo/project_billing_info": project_billing_info -"/cloudbilling:v1/ListBillingAccountsResponse": list_billing_accounts_response -"/cloudbilling:v1/ListBillingAccountsResponse/nextPageToken": next_page_token -"/cloudbilling:v1/ListBillingAccountsResponse/billingAccounts": billing_accounts -"/cloudbilling:v1/ListBillingAccountsResponse/billingAccounts/billing_account": billing_account -"/cloudbilling:v1/BillingAccount": billing_account -"/cloudbilling:v1/BillingAccount/displayName": display_name -"/cloudbilling:v1/BillingAccount/open": open -"/cloudbilling:v1/BillingAccount/name": name -"/cloudbuild:v1/fields": fields -"/cloudbuild:v1/key": key -"/cloudbuild:v1/quotaUser": quota_user -"/cloudbuild:v1/cloudbuild.projects.builds.cancel": cancel_build -"/cloudbuild:v1/cloudbuild.projects.builds.cancel/id": id -"/cloudbuild:v1/cloudbuild.projects.builds.cancel/projectId": project_id -"/cloudbuild:v1/cloudbuild.projects.builds.list": list_project_builds -"/cloudbuild:v1/cloudbuild.projects.builds.list/filter": filter -"/cloudbuild:v1/cloudbuild.projects.builds.list/pageToken": page_token -"/cloudbuild:v1/cloudbuild.projects.builds.list/pageSize": page_size -"/cloudbuild:v1/cloudbuild.projects.builds.list/projectId": project_id -"/cloudbuild:v1/cloudbuild.projects.builds.get": get_project_build -"/cloudbuild:v1/cloudbuild.projects.builds.get/id": id -"/cloudbuild:v1/cloudbuild.projects.builds.get/projectId": project_id -"/cloudbuild:v1/cloudbuild.projects.builds.create": create_project_build -"/cloudbuild:v1/cloudbuild.projects.builds.create/projectId": project_id -"/cloudbuild:v1/cloudbuild.projects.triggers.create": create_project_trigger -"/cloudbuild:v1/cloudbuild.projects.triggers.create/projectId": project_id -"/cloudbuild:v1/cloudbuild.projects.triggers.delete": delete_project_trigger -"/cloudbuild:v1/cloudbuild.projects.triggers.delete/triggerId": trigger_id -"/cloudbuild:v1/cloudbuild.projects.triggers.delete/projectId": project_id -"/cloudbuild:v1/cloudbuild.projects.triggers.patch": patch_project_trigger -"/cloudbuild:v1/cloudbuild.projects.triggers.patch/triggerId": trigger_id -"/cloudbuild:v1/cloudbuild.projects.triggers.patch/projectId": project_id -"/cloudbuild:v1/cloudbuild.projects.triggers.list": list_project_triggers -"/cloudbuild:v1/cloudbuild.projects.triggers.list/projectId": project_id -"/cloudbuild:v1/cloudbuild.projects.triggers.get": get_project_trigger -"/cloudbuild:v1/cloudbuild.projects.triggers.get/triggerId": trigger_id -"/cloudbuild:v1/cloudbuild.projects.triggers.get/projectId": project_id -"/cloudbuild:v1/cloudbuild.operations.cancel": cancel_operation -"/cloudbuild:v1/cloudbuild.operations.cancel/name": name -"/cloudbuild:v1/cloudbuild.operations.get": get_operation -"/cloudbuild:v1/cloudbuild.operations.get/name": name -"/cloudbuild:v1/cloudbuild.operations.list": list_operations -"/cloudbuild:v1/cloudbuild.operations.list/pageToken": page_token -"/cloudbuild:v1/cloudbuild.operations.list/name": name -"/cloudbuild:v1/cloudbuild.operations.list/pageSize": page_size -"/cloudbuild:v1/cloudbuild.operations.list/filter": filter +"/cloudbilling:v1/cloudbilling.projects.getBillingInfo": get_project_billing_info +"/cloudbilling:v1/cloudbilling.projects.getBillingInfo/name": name +"/cloudbilling:v1/cloudbilling.projects.updateBillingInfo": update_project_billing_info +"/cloudbilling:v1/cloudbilling.projects.updateBillingInfo/name": name +"/cloudbilling:v1/cloudbilling.services.list": list_services +"/cloudbilling:v1/cloudbilling.services.list/pageSize": page_size +"/cloudbilling:v1/cloudbilling.services.list/pageToken": page_token +"/cloudbilling:v1/cloudbilling.services.skus.list": list_service_skus +"/cloudbilling:v1/cloudbilling.services.skus.list/currencyCode": currency_code +"/cloudbilling:v1/cloudbilling.services.skus.list/endTime": end_time +"/cloudbilling:v1/cloudbilling.services.skus.list/pageSize": page_size +"/cloudbilling:v1/cloudbilling.services.skus.list/pageToken": page_token +"/cloudbilling:v1/cloudbilling.services.skus.list/parent": parent +"/cloudbilling:v1/cloudbilling.services.skus.list/startTime": start_time +"/cloudbilling:v1/fields": fields +"/cloudbilling:v1/key": key +"/cloudbilling:v1/quotaUser": quota_user +"/cloudbuild:v1/Build": build +"/cloudbuild:v1/Build/buildTriggerId": build_trigger_id +"/cloudbuild:v1/Build/createTime": create_time +"/cloudbuild:v1/Build/finishTime": finish_time +"/cloudbuild:v1/Build/id": id +"/cloudbuild:v1/Build/images": images +"/cloudbuild:v1/Build/images/image": image +"/cloudbuild:v1/Build/logUrl": log_url +"/cloudbuild:v1/Build/logsBucket": logs_bucket +"/cloudbuild:v1/Build/options": options +"/cloudbuild:v1/Build/projectId": project_id +"/cloudbuild:v1/Build/results": results +"/cloudbuild:v1/Build/secrets": secrets +"/cloudbuild:v1/Build/secrets/secret": secret +"/cloudbuild:v1/Build/source": source +"/cloudbuild:v1/Build/sourceProvenance": source_provenance +"/cloudbuild:v1/Build/startTime": start_time +"/cloudbuild:v1/Build/status": status +"/cloudbuild:v1/Build/statusDetail": status_detail +"/cloudbuild:v1/Build/steps": steps +"/cloudbuild:v1/Build/steps/step": step +"/cloudbuild:v1/Build/substitutions": substitutions +"/cloudbuild:v1/Build/substitutions/substitution": substitution +"/cloudbuild:v1/Build/tags": tags +"/cloudbuild:v1/Build/tags/tag": tag +"/cloudbuild:v1/Build/timeout": timeout "/cloudbuild:v1/BuildOperationMetadata": build_operation_metadata "/cloudbuild:v1/BuildOperationMetadata/build": build -"/cloudbuild:v1/SourceProvenance": source_provenance -"/cloudbuild:v1/SourceProvenance/resolvedStorageSource": resolved_storage_source -"/cloudbuild:v1/SourceProvenance/fileHashes": file_hashes -"/cloudbuild:v1/SourceProvenance/fileHashes/file_hash": file_hash -"/cloudbuild:v1/SourceProvenance/resolvedRepoSource": resolved_repo_source -"/cloudbuild:v1/CancelOperationRequest": cancel_operation_request -"/cloudbuild:v1/ListBuildTriggersResponse": list_build_triggers_response -"/cloudbuild:v1/ListBuildTriggersResponse/triggers": triggers -"/cloudbuild:v1/ListBuildTriggersResponse/triggers/trigger": trigger -"/cloudbuild:v1/Operation": operation -"/cloudbuild:v1/Operation/response": response -"/cloudbuild:v1/Operation/response/response": response -"/cloudbuild:v1/Operation/name": name -"/cloudbuild:v1/Operation/error": error -"/cloudbuild:v1/Operation/metadata": metadata -"/cloudbuild:v1/Operation/metadata/metadatum": metadatum -"/cloudbuild:v1/Operation/done": done -"/cloudbuild:v1/BuiltImage": built_image -"/cloudbuild:v1/BuiltImage/name": name -"/cloudbuild:v1/BuiltImage/digest": digest -"/cloudbuild:v1/Hash": hash_prop -"/cloudbuild:v1/Hash/value": value -"/cloudbuild:v1/Hash/type": type -"/cloudbuild:v1/RepoSource": repo_source -"/cloudbuild:v1/RepoSource/commitSha": commit_sha -"/cloudbuild:v1/RepoSource/tagName": tag_name -"/cloudbuild:v1/RepoSource/branchName": branch_name -"/cloudbuild:v1/RepoSource/repoName": repo_name -"/cloudbuild:v1/RepoSource/projectId": project_id +"/cloudbuild:v1/BuildOptions": build_options +"/cloudbuild:v1/BuildOptions/requestedVerifyOption": requested_verify_option +"/cloudbuild:v1/BuildOptions/sourceProvenanceHash": source_provenance_hash +"/cloudbuild:v1/BuildOptions/sourceProvenanceHash/source_provenance_hash": source_provenance_hash +"/cloudbuild:v1/BuildOptions/substitutionOption": substitution_option "/cloudbuild:v1/BuildStep": build_step -"/cloudbuild:v1/BuildStep/dir": dir -"/cloudbuild:v1/BuildStep/env": env -"/cloudbuild:v1/BuildStep/env/env": env -"/cloudbuild:v1/BuildStep/waitFor": wait_for -"/cloudbuild:v1/BuildStep/waitFor/wait_for": wait_for "/cloudbuild:v1/BuildStep/args": args "/cloudbuild:v1/BuildStep/args/arg": arg -"/cloudbuild:v1/BuildStep/name": name +"/cloudbuild:v1/BuildStep/dir": dir "/cloudbuild:v1/BuildStep/entrypoint": entrypoint +"/cloudbuild:v1/BuildStep/env": env +"/cloudbuild:v1/BuildStep/env/env": env "/cloudbuild:v1/BuildStep/id": id +"/cloudbuild:v1/BuildStep/name": name "/cloudbuild:v1/BuildStep/secretEnv": secret_env "/cloudbuild:v1/BuildStep/secretEnv/secret_env": secret_env +"/cloudbuild:v1/BuildStep/volumes": volumes +"/cloudbuild:v1/BuildStep/volumes/volume": volume +"/cloudbuild:v1/BuildStep/waitFor": wait_for +"/cloudbuild:v1/BuildStep/waitFor/wait_for": wait_for +"/cloudbuild:v1/BuildTrigger": build_trigger +"/cloudbuild:v1/BuildTrigger/build": build +"/cloudbuild:v1/BuildTrigger/createTime": create_time +"/cloudbuild:v1/BuildTrigger/description": description +"/cloudbuild:v1/BuildTrigger/disabled": disabled +"/cloudbuild:v1/BuildTrigger/filename": filename +"/cloudbuild:v1/BuildTrigger/id": id +"/cloudbuild:v1/BuildTrigger/substitutions": substitutions +"/cloudbuild:v1/BuildTrigger/substitutions/substitution": substitution +"/cloudbuild:v1/BuildTrigger/triggerTemplate": trigger_template +"/cloudbuild:v1/BuiltImage": built_image +"/cloudbuild:v1/BuiltImage/digest": digest +"/cloudbuild:v1/BuiltImage/name": name +"/cloudbuild:v1/CancelBuildRequest": cancel_build_request +"/cloudbuild:v1/CancelOperationRequest": cancel_operation_request +"/cloudbuild:v1/Empty": empty "/cloudbuild:v1/FileHashes": file_hashes "/cloudbuild:v1/FileHashes/fileHash": file_hash "/cloudbuild:v1/FileHashes/fileHash/file_hash": file_hash -"/cloudbuild:v1/Secret": secret -"/cloudbuild:v1/Secret/secretEnv": secret_env -"/cloudbuild:v1/Secret/secretEnv/secret_env": secret_env -"/cloudbuild:v1/Secret/kmsKeyName": kms_key_name -"/cloudbuild:v1/Status": status -"/cloudbuild:v1/Status/message": message -"/cloudbuild:v1/Status/details": details -"/cloudbuild:v1/Status/details/detail": detail -"/cloudbuild:v1/Status/details/detail/detail": detail -"/cloudbuild:v1/Status/code": code -"/cloudbuild:v1/Empty": empty -"/cloudbuild:v1/BuildTrigger": build_trigger -"/cloudbuild:v1/BuildTrigger/createTime": create_time -"/cloudbuild:v1/BuildTrigger/disabled": disabled -"/cloudbuild:v1/BuildTrigger/filename": filename -"/cloudbuild:v1/BuildTrigger/triggerTemplate": trigger_template -"/cloudbuild:v1/BuildTrigger/id": id -"/cloudbuild:v1/BuildTrigger/build": build -"/cloudbuild:v1/BuildTrigger/substitutions": substitutions -"/cloudbuild:v1/BuildTrigger/substitutions/substitution": substitution -"/cloudbuild:v1/BuildTrigger/description": description -"/cloudbuild:v1/Build": build -"/cloudbuild:v1/Build/substitutions": substitutions -"/cloudbuild:v1/Build/substitutions/substitution": substitution -"/cloudbuild:v1/Build/startTime": start_time -"/cloudbuild:v1/Build/sourceProvenance": source_provenance -"/cloudbuild:v1/Build/createTime": create_time -"/cloudbuild:v1/Build/images": images -"/cloudbuild:v1/Build/images/image": image -"/cloudbuild:v1/Build/projectId": project_id -"/cloudbuild:v1/Build/finishTime": finish_time -"/cloudbuild:v1/Build/logUrl": log_url -"/cloudbuild:v1/Build/source": source -"/cloudbuild:v1/Build/options": options -"/cloudbuild:v1/Build/timeout": timeout -"/cloudbuild:v1/Build/status": status -"/cloudbuild:v1/Build/statusDetail": status_detail -"/cloudbuild:v1/Build/secrets": secrets -"/cloudbuild:v1/Build/secrets/secret": secret -"/cloudbuild:v1/Build/results": results -"/cloudbuild:v1/Build/logsBucket": logs_bucket -"/cloudbuild:v1/Build/steps": steps -"/cloudbuild:v1/Build/steps/step": step -"/cloudbuild:v1/Build/buildTriggerId": build_trigger_id -"/cloudbuild:v1/Build/id": id -"/cloudbuild:v1/Build/tags": tags -"/cloudbuild:v1/Build/tags/tag": tag -"/cloudbuild:v1/CancelBuildRequest": cancel_build_request +"/cloudbuild:v1/Hash": hash_prop +"/cloudbuild:v1/Hash/type": type +"/cloudbuild:v1/Hash/value": value +"/cloudbuild:v1/ListBuildTriggersResponse": list_build_triggers_response +"/cloudbuild:v1/ListBuildTriggersResponse/triggers": triggers +"/cloudbuild:v1/ListBuildTriggersResponse/triggers/trigger": trigger "/cloudbuild:v1/ListBuildsResponse": list_builds_response -"/cloudbuild:v1/ListBuildsResponse/nextPageToken": next_page_token "/cloudbuild:v1/ListBuildsResponse/builds": builds "/cloudbuild:v1/ListBuildsResponse/builds/build": build +"/cloudbuild:v1/ListBuildsResponse/nextPageToken": next_page_token "/cloudbuild:v1/ListOperationsResponse": list_operations_response "/cloudbuild:v1/ListOperationsResponse/nextPageToken": next_page_token "/cloudbuild:v1/ListOperationsResponse/operations": operations "/cloudbuild:v1/ListOperationsResponse/operations/operation": operation -"/cloudbuild:v1/Source": source -"/cloudbuild:v1/Source/storageSource": storage_source -"/cloudbuild:v1/Source/repoSource": repo_source -"/cloudbuild:v1/BuildOptions": build_options -"/cloudbuild:v1/BuildOptions/sourceProvenanceHash": source_provenance_hash -"/cloudbuild:v1/BuildOptions/sourceProvenanceHash/source_provenance_hash": source_provenance_hash -"/cloudbuild:v1/BuildOptions/substitutionOption": substitution_option -"/cloudbuild:v1/BuildOptions/requestedVerifyOption": requested_verify_option -"/cloudbuild:v1/StorageSource": storage_source -"/cloudbuild:v1/StorageSource/generation": generation -"/cloudbuild:v1/StorageSource/bucket": bucket -"/cloudbuild:v1/StorageSource/object": object +"/cloudbuild:v1/Operation": operation +"/cloudbuild:v1/Operation/done": done +"/cloudbuild:v1/Operation/error": error +"/cloudbuild:v1/Operation/metadata": metadata +"/cloudbuild:v1/Operation/metadata/metadatum": metadatum +"/cloudbuild:v1/Operation/name": name +"/cloudbuild:v1/Operation/response": response +"/cloudbuild:v1/Operation/response/response": response +"/cloudbuild:v1/RepoSource": repo_source +"/cloudbuild:v1/RepoSource/branchName": branch_name +"/cloudbuild:v1/RepoSource/commitSha": commit_sha +"/cloudbuild:v1/RepoSource/projectId": project_id +"/cloudbuild:v1/RepoSource/repoName": repo_name +"/cloudbuild:v1/RepoSource/tagName": tag_name "/cloudbuild:v1/Results": results "/cloudbuild:v1/Results/buildStepImages": build_step_images "/cloudbuild:v1/Results/buildStepImages/build_step_image": build_step_image "/cloudbuild:v1/Results/images": images "/cloudbuild:v1/Results/images/image": image -"/clouddebugger:v2/fields": fields -"/clouddebugger:v2/key": key -"/clouddebugger:v2/quotaUser": quota_user -"/clouddebugger:v2/clouddebugger.debugger.debuggees.list": list_debugger_debuggees -"/clouddebugger:v2/clouddebugger.debugger.debuggees.list/clientVersion": client_version -"/clouddebugger:v2/clouddebugger.debugger.debuggees.list/includeInactive": include_inactive -"/clouddebugger:v2/clouddebugger.debugger.debuggees.list/project": project -"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list": list_debugger_debuggee_breakpoints -"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/debuggeeId": debuggee_id -"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/waitToken": wait_token -"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/clientVersion": client_version -"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/action.value": action_value -"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/includeInactive": include_inactive -"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/includeAllUsers": include_all_users -"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/stripResults": strip_results -"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get": get_debugger_debuggee_breakpoint -"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get/clientVersion": client_version -"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get/breakpointId": breakpoint_id -"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get/debuggeeId": debuggee_id -"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete": delete_debugger_debuggee_breakpoint -"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete/debuggeeId": debuggee_id -"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete/clientVersion": client_version -"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete/breakpointId": breakpoint_id -"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.set": set_debugger_debuggee_breakpoint -"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.set/clientVersion": client_version -"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.set/debuggeeId": debuggee_id -"/clouddebugger:v2/clouddebugger.controller.debuggees.register": register_debuggee -"/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.list": list_controller_debuggee_breakpoints -"/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.list/successOnTimeout": success_on_timeout -"/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.list/debuggeeId": debuggee_id -"/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.list/waitToken": wait_token -"/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.update": update_active_breakpoint -"/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.update/id": id -"/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.update/debuggeeId": debuggee_id -"/clouddebugger:v2/CloudWorkspaceId": cloud_workspace_id -"/clouddebugger:v2/CloudWorkspaceId/repoId": repo_id -"/clouddebugger:v2/CloudWorkspaceId/name": name -"/clouddebugger:v2/ListBreakpointsResponse": list_breakpoints_response -"/clouddebugger:v2/ListBreakpointsResponse/breakpoints": breakpoints -"/clouddebugger:v2/ListBreakpointsResponse/breakpoints/breakpoint": breakpoint -"/clouddebugger:v2/ListBreakpointsResponse/nextWaitToken": next_wait_token +"/cloudbuild:v1/Secret": secret +"/cloudbuild:v1/Secret/kmsKeyName": kms_key_name +"/cloudbuild:v1/Secret/secretEnv": secret_env +"/cloudbuild:v1/Secret/secretEnv/secret_env": secret_env +"/cloudbuild:v1/Source": source +"/cloudbuild:v1/Source/repoSource": repo_source +"/cloudbuild:v1/Source/storageSource": storage_source +"/cloudbuild:v1/SourceProvenance": source_provenance +"/cloudbuild:v1/SourceProvenance/fileHashes": file_hashes +"/cloudbuild:v1/SourceProvenance/fileHashes/file_hash": file_hash +"/cloudbuild:v1/SourceProvenance/resolvedRepoSource": resolved_repo_source +"/cloudbuild:v1/SourceProvenance/resolvedStorageSource": resolved_storage_source +"/cloudbuild:v1/Status": status +"/cloudbuild:v1/Status/code": code +"/cloudbuild:v1/Status/details": details +"/cloudbuild:v1/Status/details/detail": detail +"/cloudbuild:v1/Status/details/detail/detail": detail +"/cloudbuild:v1/Status/message": message +"/cloudbuild:v1/StorageSource": storage_source +"/cloudbuild:v1/StorageSource/bucket": bucket +"/cloudbuild:v1/StorageSource/generation": generation +"/cloudbuild:v1/StorageSource/object": object +"/cloudbuild:v1/Volume": volume +"/cloudbuild:v1/Volume/name": name +"/cloudbuild:v1/Volume/path": path +"/cloudbuild:v1/cloudbuild.operations.cancel": cancel_operation +"/cloudbuild:v1/cloudbuild.operations.cancel/name": name +"/cloudbuild:v1/cloudbuild.operations.get": get_operation +"/cloudbuild:v1/cloudbuild.operations.get/name": name +"/cloudbuild:v1/cloudbuild.operations.list": list_operations +"/cloudbuild:v1/cloudbuild.operations.list/filter": filter +"/cloudbuild:v1/cloudbuild.operations.list/name": name +"/cloudbuild:v1/cloudbuild.operations.list/pageSize": page_size +"/cloudbuild:v1/cloudbuild.operations.list/pageToken": page_token +"/cloudbuild:v1/cloudbuild.projects.builds.cancel": cancel_build +"/cloudbuild:v1/cloudbuild.projects.builds.cancel/id": id +"/cloudbuild:v1/cloudbuild.projects.builds.cancel/projectId": project_id +"/cloudbuild:v1/cloudbuild.projects.builds.create": create_project_build +"/cloudbuild:v1/cloudbuild.projects.builds.create/projectId": project_id +"/cloudbuild:v1/cloudbuild.projects.builds.get": get_project_build +"/cloudbuild:v1/cloudbuild.projects.builds.get/id": id +"/cloudbuild:v1/cloudbuild.projects.builds.get/projectId": project_id +"/cloudbuild:v1/cloudbuild.projects.builds.list": list_project_builds +"/cloudbuild:v1/cloudbuild.projects.builds.list/filter": filter +"/cloudbuild:v1/cloudbuild.projects.builds.list/pageSize": page_size +"/cloudbuild:v1/cloudbuild.projects.builds.list/pageToken": page_token +"/cloudbuild:v1/cloudbuild.projects.builds.list/projectId": project_id +"/cloudbuild:v1/cloudbuild.projects.triggers.create": create_project_trigger +"/cloudbuild:v1/cloudbuild.projects.triggers.create/projectId": project_id +"/cloudbuild:v1/cloudbuild.projects.triggers.delete": delete_project_trigger +"/cloudbuild:v1/cloudbuild.projects.triggers.delete/projectId": project_id +"/cloudbuild:v1/cloudbuild.projects.triggers.delete/triggerId": trigger_id +"/cloudbuild:v1/cloudbuild.projects.triggers.get": get_project_trigger +"/cloudbuild:v1/cloudbuild.projects.triggers.get/projectId": project_id +"/cloudbuild:v1/cloudbuild.projects.triggers.get/triggerId": trigger_id +"/cloudbuild:v1/cloudbuild.projects.triggers.list": list_project_triggers +"/cloudbuild:v1/cloudbuild.projects.triggers.list/projectId": project_id +"/cloudbuild:v1/cloudbuild.projects.triggers.patch": patch_project_trigger +"/cloudbuild:v1/cloudbuild.projects.triggers.patch/projectId": project_id +"/cloudbuild:v1/cloudbuild.projects.triggers.patch/triggerId": trigger_id +"/cloudbuild:v1/fields": fields +"/cloudbuild:v1/key": key +"/cloudbuild:v1/quotaUser": quota_user +"/clouddebugger:v2/AliasContext": alias_context +"/clouddebugger:v2/AliasContext/kind": kind +"/clouddebugger:v2/AliasContext/name": name "/clouddebugger:v2/Breakpoint": breakpoint -"/clouddebugger:v2/Breakpoint/userEmail": user_email "/clouddebugger:v2/Breakpoint/action": action -"/clouddebugger:v2/Breakpoint/logLevel": log_level -"/clouddebugger:v2/Breakpoint/id": id -"/clouddebugger:v2/Breakpoint/location": location -"/clouddebugger:v2/Breakpoint/finalTime": final_time -"/clouddebugger:v2/Breakpoint/variableTable": variable_table -"/clouddebugger:v2/Breakpoint/variableTable/variable_table": variable_table -"/clouddebugger:v2/Breakpoint/labels": labels -"/clouddebugger:v2/Breakpoint/labels/label": label -"/clouddebugger:v2/Breakpoint/logMessageFormat": log_message_format +"/clouddebugger:v2/Breakpoint/condition": condition "/clouddebugger:v2/Breakpoint/createTime": create_time -"/clouddebugger:v2/Breakpoint/expressions": expressions -"/clouddebugger:v2/Breakpoint/expressions/expression": expression "/clouddebugger:v2/Breakpoint/evaluatedExpressions": evaluated_expressions "/clouddebugger:v2/Breakpoint/evaluatedExpressions/evaluated_expression": evaluated_expression +"/clouddebugger:v2/Breakpoint/expressions": expressions +"/clouddebugger:v2/Breakpoint/expressions/expression": expression +"/clouddebugger:v2/Breakpoint/finalTime": final_time +"/clouddebugger:v2/Breakpoint/id": id "/clouddebugger:v2/Breakpoint/isFinalState": is_final_state +"/clouddebugger:v2/Breakpoint/labels": labels +"/clouddebugger:v2/Breakpoint/labels/label": label +"/clouddebugger:v2/Breakpoint/location": location +"/clouddebugger:v2/Breakpoint/logLevel": log_level +"/clouddebugger:v2/Breakpoint/logMessageFormat": log_message_format "/clouddebugger:v2/Breakpoint/stackFrames": stack_frames "/clouddebugger:v2/Breakpoint/stackFrames/stack_frame": stack_frame -"/clouddebugger:v2/Breakpoint/condition": condition "/clouddebugger:v2/Breakpoint/status": status -"/clouddebugger:v2/UpdateActiveBreakpointRequest": update_active_breakpoint_request -"/clouddebugger:v2/UpdateActiveBreakpointRequest/breakpoint": breakpoint -"/clouddebugger:v2/SetBreakpointResponse": set_breakpoint_response -"/clouddebugger:v2/SetBreakpointResponse/breakpoint": breakpoint -"/clouddebugger:v2/SourceContext": source_context -"/clouddebugger:v2/SourceContext/gerrit": gerrit -"/clouddebugger:v2/SourceContext/cloudWorkspace": cloud_workspace -"/clouddebugger:v2/SourceContext/cloudRepo": cloud_repo -"/clouddebugger:v2/SourceContext/git": git +"/clouddebugger:v2/Breakpoint/userEmail": user_email +"/clouddebugger:v2/Breakpoint/variableTable": variable_table +"/clouddebugger:v2/Breakpoint/variableTable/variable_table": variable_table "/clouddebugger:v2/CloudRepoSourceContext": cloud_repo_source_context -"/clouddebugger:v2/CloudRepoSourceContext/repoId": repo_id "/clouddebugger:v2/CloudRepoSourceContext/aliasContext": alias_context -"/clouddebugger:v2/CloudRepoSourceContext/revisionId": revision_id "/clouddebugger:v2/CloudRepoSourceContext/aliasName": alias_name -"/clouddebugger:v2/RegisterDebuggeeResponse": register_debuggee_response -"/clouddebugger:v2/RegisterDebuggeeResponse/debuggee": debuggee -"/clouddebugger:v2/RegisterDebuggeeRequest": register_debuggee_request -"/clouddebugger:v2/RegisterDebuggeeRequest/debuggee": debuggee -"/clouddebugger:v2/GetBreakpointResponse": get_breakpoint_response -"/clouddebugger:v2/GetBreakpointResponse/breakpoint": breakpoint -"/clouddebugger:v2/StatusMessage": status_message -"/clouddebugger:v2/StatusMessage/description": description -"/clouddebugger:v2/StatusMessage/isError": is_error -"/clouddebugger:v2/StatusMessage/refersTo": refers_to -"/clouddebugger:v2/GitSourceContext": git_source_context -"/clouddebugger:v2/GitSourceContext/revisionId": revision_id -"/clouddebugger:v2/GitSourceContext/url": url -"/clouddebugger:v2/Variable": variable -"/clouddebugger:v2/Variable/members": members -"/clouddebugger:v2/Variable/members/member": member -"/clouddebugger:v2/Variable/status": status -"/clouddebugger:v2/Variable/name": name -"/clouddebugger:v2/Variable/type": type -"/clouddebugger:v2/Variable/varTableIndex": var_table_index -"/clouddebugger:v2/Variable/value": value -"/clouddebugger:v2/StackFrame": stack_frame -"/clouddebugger:v2/StackFrame/function": function -"/clouddebugger:v2/StackFrame/arguments": arguments -"/clouddebugger:v2/StackFrame/arguments/argument": argument -"/clouddebugger:v2/StackFrame/locals": locals -"/clouddebugger:v2/StackFrame/locals/local": local -"/clouddebugger:v2/StackFrame/location": location -"/clouddebugger:v2/RepoId": repo_id -"/clouddebugger:v2/RepoId/uid": uid -"/clouddebugger:v2/RepoId/projectRepoId": project_repo_id -"/clouddebugger:v2/FormatMessage": format_message -"/clouddebugger:v2/FormatMessage/parameters": parameters -"/clouddebugger:v2/FormatMessage/parameters/parameter": parameter -"/clouddebugger:v2/FormatMessage/format": format +"/clouddebugger:v2/CloudRepoSourceContext/repoId": repo_id +"/clouddebugger:v2/CloudRepoSourceContext/revisionId": revision_id +"/clouddebugger:v2/CloudWorkspaceId": cloud_workspace_id +"/clouddebugger:v2/CloudWorkspaceId/name": name +"/clouddebugger:v2/CloudWorkspaceId/repoId": repo_id +"/clouddebugger:v2/CloudWorkspaceSourceContext": cloud_workspace_source_context +"/clouddebugger:v2/CloudWorkspaceSourceContext/snapshotId": snapshot_id +"/clouddebugger:v2/CloudWorkspaceSourceContext/workspaceId": workspace_id +"/clouddebugger:v2/Debuggee": debuggee +"/clouddebugger:v2/Debuggee/agentVersion": agent_version +"/clouddebugger:v2/Debuggee/description": description +"/clouddebugger:v2/Debuggee/extSourceContexts": ext_source_contexts +"/clouddebugger:v2/Debuggee/extSourceContexts/ext_source_context": ext_source_context +"/clouddebugger:v2/Debuggee/id": id +"/clouddebugger:v2/Debuggee/isDisabled": is_disabled +"/clouddebugger:v2/Debuggee/isInactive": is_inactive +"/clouddebugger:v2/Debuggee/labels": labels +"/clouddebugger:v2/Debuggee/labels/label": label +"/clouddebugger:v2/Debuggee/project": project +"/clouddebugger:v2/Debuggee/sourceContexts": source_contexts +"/clouddebugger:v2/Debuggee/sourceContexts/source_context": source_context +"/clouddebugger:v2/Debuggee/status": status +"/clouddebugger:v2/Debuggee/uniquifier": uniquifier +"/clouddebugger:v2/Empty": empty "/clouddebugger:v2/ExtendedSourceContext": extended_source_context "/clouddebugger:v2/ExtendedSourceContext/context": context "/clouddebugger:v2/ExtendedSourceContext/labels": labels "/clouddebugger:v2/ExtendedSourceContext/labels/label": label +"/clouddebugger:v2/FormatMessage": format_message +"/clouddebugger:v2/FormatMessage/format": format +"/clouddebugger:v2/FormatMessage/parameters": parameters +"/clouddebugger:v2/FormatMessage/parameters/parameter": parameter +"/clouddebugger:v2/GerritSourceContext": gerrit_source_context +"/clouddebugger:v2/GerritSourceContext/aliasContext": alias_context +"/clouddebugger:v2/GerritSourceContext/aliasName": alias_name +"/clouddebugger:v2/GerritSourceContext/gerritProject": gerrit_project +"/clouddebugger:v2/GerritSourceContext/hostUri": host_uri +"/clouddebugger:v2/GerritSourceContext/revisionId": revision_id +"/clouddebugger:v2/GetBreakpointResponse": get_breakpoint_response +"/clouddebugger:v2/GetBreakpointResponse/breakpoint": breakpoint +"/clouddebugger:v2/GitSourceContext": git_source_context +"/clouddebugger:v2/GitSourceContext/revisionId": revision_id +"/clouddebugger:v2/GitSourceContext/url": url +"/clouddebugger:v2/ListActiveBreakpointsResponse": list_active_breakpoints_response +"/clouddebugger:v2/ListActiveBreakpointsResponse/breakpoints": breakpoints +"/clouddebugger:v2/ListActiveBreakpointsResponse/breakpoints/breakpoint": breakpoint +"/clouddebugger:v2/ListActiveBreakpointsResponse/nextWaitToken": next_wait_token +"/clouddebugger:v2/ListActiveBreakpointsResponse/waitExpired": wait_expired +"/clouddebugger:v2/ListBreakpointsResponse": list_breakpoints_response +"/clouddebugger:v2/ListBreakpointsResponse/breakpoints": breakpoints +"/clouddebugger:v2/ListBreakpointsResponse/breakpoints/breakpoint": breakpoint +"/clouddebugger:v2/ListBreakpointsResponse/nextWaitToken": next_wait_token "/clouddebugger:v2/ListDebuggeesResponse": list_debuggees_response "/clouddebugger:v2/ListDebuggeesResponse/debuggees": debuggees "/clouddebugger:v2/ListDebuggeesResponse/debuggees/debuggee": debuggee -"/clouddebugger:v2/AliasContext": alias_context -"/clouddebugger:v2/AliasContext/name": name -"/clouddebugger:v2/AliasContext/kind": kind -"/clouddebugger:v2/Empty": empty -"/clouddebugger:v2/SourceLocation": source_location -"/clouddebugger:v2/SourceLocation/path": path -"/clouddebugger:v2/SourceLocation/line": line -"/clouddebugger:v2/Debuggee": debuggee -"/clouddebugger:v2/Debuggee/description": description -"/clouddebugger:v2/Debuggee/uniquifier": uniquifier -"/clouddebugger:v2/Debuggee/sourceContexts": source_contexts -"/clouddebugger:v2/Debuggee/sourceContexts/source_context": source_context -"/clouddebugger:v2/Debuggee/extSourceContexts": ext_source_contexts -"/clouddebugger:v2/Debuggee/extSourceContexts/ext_source_context": ext_source_context -"/clouddebugger:v2/Debuggee/labels": labels -"/clouddebugger:v2/Debuggee/labels/label": label -"/clouddebugger:v2/Debuggee/isInactive": is_inactive -"/clouddebugger:v2/Debuggee/status": status -"/clouddebugger:v2/Debuggee/project": project -"/clouddebugger:v2/Debuggee/isDisabled": is_disabled -"/clouddebugger:v2/Debuggee/agentVersion": agent_version -"/clouddebugger:v2/Debuggee/id": id "/clouddebugger:v2/ProjectRepoId": project_repo_id -"/clouddebugger:v2/ProjectRepoId/repoName": repo_name "/clouddebugger:v2/ProjectRepoId/projectId": project_id -"/clouddebugger:v2/ListActiveBreakpointsResponse": list_active_breakpoints_response -"/clouddebugger:v2/ListActiveBreakpointsResponse/waitExpired": wait_expired -"/clouddebugger:v2/ListActiveBreakpointsResponse/nextWaitToken": next_wait_token -"/clouddebugger:v2/ListActiveBreakpointsResponse/breakpoints": breakpoints -"/clouddebugger:v2/ListActiveBreakpointsResponse/breakpoints/breakpoint": breakpoint -"/clouddebugger:v2/CloudWorkspaceSourceContext": cloud_workspace_source_context -"/clouddebugger:v2/CloudWorkspaceSourceContext/snapshotId": snapshot_id -"/clouddebugger:v2/CloudWorkspaceSourceContext/workspaceId": workspace_id +"/clouddebugger:v2/ProjectRepoId/repoName": repo_name +"/clouddebugger:v2/RegisterDebuggeeRequest": register_debuggee_request +"/clouddebugger:v2/RegisterDebuggeeRequest/debuggee": debuggee +"/clouddebugger:v2/RegisterDebuggeeResponse": register_debuggee_response +"/clouddebugger:v2/RegisterDebuggeeResponse/debuggee": debuggee +"/clouddebugger:v2/RepoId": repo_id +"/clouddebugger:v2/RepoId/projectRepoId": project_repo_id +"/clouddebugger:v2/RepoId/uid": uid +"/clouddebugger:v2/SetBreakpointResponse": set_breakpoint_response +"/clouddebugger:v2/SetBreakpointResponse/breakpoint": breakpoint +"/clouddebugger:v2/SourceContext": source_context +"/clouddebugger:v2/SourceContext/cloudRepo": cloud_repo +"/clouddebugger:v2/SourceContext/cloudWorkspace": cloud_workspace +"/clouddebugger:v2/SourceContext/gerrit": gerrit +"/clouddebugger:v2/SourceContext/git": git +"/clouddebugger:v2/SourceLocation": source_location +"/clouddebugger:v2/SourceLocation/line": line +"/clouddebugger:v2/SourceLocation/path": path +"/clouddebugger:v2/StackFrame": stack_frame +"/clouddebugger:v2/StackFrame/arguments": arguments +"/clouddebugger:v2/StackFrame/arguments/argument": argument +"/clouddebugger:v2/StackFrame/function": function +"/clouddebugger:v2/StackFrame/locals": locals +"/clouddebugger:v2/StackFrame/locals/local": local +"/clouddebugger:v2/StackFrame/location": location +"/clouddebugger:v2/StatusMessage": status_message +"/clouddebugger:v2/StatusMessage/description": description +"/clouddebugger:v2/StatusMessage/isError": is_error +"/clouddebugger:v2/StatusMessage/refersTo": refers_to +"/clouddebugger:v2/UpdateActiveBreakpointRequest": update_active_breakpoint_request +"/clouddebugger:v2/UpdateActiveBreakpointRequest/breakpoint": breakpoint "/clouddebugger:v2/UpdateActiveBreakpointResponse": update_active_breakpoint_response -"/clouddebugger:v2/GerritSourceContext": gerrit_source_context -"/clouddebugger:v2/GerritSourceContext/revisionId": revision_id -"/clouddebugger:v2/GerritSourceContext/hostUri": host_uri -"/clouddebugger:v2/GerritSourceContext/aliasName": alias_name -"/clouddebugger:v2/GerritSourceContext/aliasContext": alias_context -"/clouddebugger:v2/GerritSourceContext/gerritProject": gerrit_project -"/clouderrorreporting:v1beta1/key": key -"/clouderrorreporting:v1beta1/quotaUser": quota_user -"/clouderrorreporting:v1beta1/fields": fields +"/clouddebugger:v2/Variable": variable +"/clouddebugger:v2/Variable/members": members +"/clouddebugger:v2/Variable/members/member": member +"/clouddebugger:v2/Variable/name": name +"/clouddebugger:v2/Variable/status": status +"/clouddebugger:v2/Variable/type": type +"/clouddebugger:v2/Variable/value": value +"/clouddebugger:v2/Variable/varTableIndex": var_table_index +"/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.list": list_controller_debuggee_breakpoints +"/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.list/debuggeeId": debuggee_id +"/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.list/successOnTimeout": success_on_timeout +"/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.list/waitToken": wait_token +"/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.update": update_active_breakpoint +"/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.update/debuggeeId": debuggee_id +"/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.update/id": id +"/clouddebugger:v2/clouddebugger.controller.debuggees.register": register_debuggee +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete": delete_debugger_debuggee_breakpoint +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete/breakpointId": breakpoint_id +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete/clientVersion": client_version +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete/debuggeeId": debuggee_id +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get": get_debugger_debuggee_breakpoint +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get/breakpointId": breakpoint_id +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get/clientVersion": client_version +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get/debuggeeId": debuggee_id +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list": list_debugger_debuggee_breakpoints +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/action.value": action_value +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/clientVersion": client_version +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/debuggeeId": debuggee_id +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/includeAllUsers": include_all_users +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/includeInactive": include_inactive +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/stripResults": strip_results +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/waitToken": wait_token +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.set": set_debugger_debuggee_breakpoint +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.set/clientVersion": client_version +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.set/debuggeeId": debuggee_id +"/clouddebugger:v2/clouddebugger.debugger.debuggees.list": list_debugger_debuggees +"/clouddebugger:v2/clouddebugger.debugger.debuggees.list/clientVersion": client_version +"/clouddebugger:v2/clouddebugger.debugger.debuggees.list/includeInactive": include_inactive +"/clouddebugger:v2/clouddebugger.debugger.debuggees.list/project": project +"/clouddebugger:v2/fields": fields +"/clouddebugger:v2/key": key +"/clouddebugger:v2/quotaUser": quota_user +"/clouderrorreporting:v1beta1/DeleteEventsResponse": delete_events_response +"/clouderrorreporting:v1beta1/ErrorContext": error_context +"/clouderrorreporting:v1beta1/ErrorContext/httpRequest": http_request +"/clouderrorreporting:v1beta1/ErrorContext/reportLocation": report_location +"/clouderrorreporting:v1beta1/ErrorContext/sourceReferences": source_references +"/clouderrorreporting:v1beta1/ErrorContext/sourceReferences/source_reference": source_reference +"/clouderrorreporting:v1beta1/ErrorContext/user": user +"/clouderrorreporting:v1beta1/ErrorEvent": error_event +"/clouderrorreporting:v1beta1/ErrorEvent/context": context +"/clouderrorreporting:v1beta1/ErrorEvent/eventTime": event_time +"/clouderrorreporting:v1beta1/ErrorEvent/message": message +"/clouderrorreporting:v1beta1/ErrorEvent/serviceContext": service_context +"/clouderrorreporting:v1beta1/ErrorGroup": error_group +"/clouderrorreporting:v1beta1/ErrorGroup/groupId": group_id +"/clouderrorreporting:v1beta1/ErrorGroup/name": name +"/clouderrorreporting:v1beta1/ErrorGroup/trackingIssues": tracking_issues +"/clouderrorreporting:v1beta1/ErrorGroup/trackingIssues/tracking_issue": tracking_issue +"/clouderrorreporting:v1beta1/ErrorGroupStats": error_group_stats +"/clouderrorreporting:v1beta1/ErrorGroupStats/affectedServices": affected_services +"/clouderrorreporting:v1beta1/ErrorGroupStats/affectedServices/affected_service": affected_service +"/clouderrorreporting:v1beta1/ErrorGroupStats/affectedUsersCount": affected_users_count +"/clouderrorreporting:v1beta1/ErrorGroupStats/count": count +"/clouderrorreporting:v1beta1/ErrorGroupStats/firstSeenTime": first_seen_time +"/clouderrorreporting:v1beta1/ErrorGroupStats/group": group +"/clouderrorreporting:v1beta1/ErrorGroupStats/lastSeenTime": last_seen_time +"/clouderrorreporting:v1beta1/ErrorGroupStats/numAffectedServices": num_affected_services +"/clouderrorreporting:v1beta1/ErrorGroupStats/representative": representative +"/clouderrorreporting:v1beta1/ErrorGroupStats/timedCounts": timed_counts +"/clouderrorreporting:v1beta1/ErrorGroupStats/timedCounts/timed_count": timed_count +"/clouderrorreporting:v1beta1/HttpRequestContext": http_request_context +"/clouderrorreporting:v1beta1/HttpRequestContext/method": method_prop +"/clouderrorreporting:v1beta1/HttpRequestContext/referrer": referrer +"/clouderrorreporting:v1beta1/HttpRequestContext/remoteIp": remote_ip +"/clouderrorreporting:v1beta1/HttpRequestContext/responseStatusCode": response_status_code +"/clouderrorreporting:v1beta1/HttpRequestContext/url": url +"/clouderrorreporting:v1beta1/HttpRequestContext/userAgent": user_agent +"/clouderrorreporting:v1beta1/ListEventsResponse": list_events_response +"/clouderrorreporting:v1beta1/ListEventsResponse/errorEvents": error_events +"/clouderrorreporting:v1beta1/ListEventsResponse/errorEvents/error_event": error_event +"/clouderrorreporting:v1beta1/ListEventsResponse/nextPageToken": next_page_token +"/clouderrorreporting:v1beta1/ListEventsResponse/timeRangeBegin": time_range_begin +"/clouderrorreporting:v1beta1/ListGroupStatsResponse": list_group_stats_response +"/clouderrorreporting:v1beta1/ListGroupStatsResponse/errorGroupStats": error_group_stats +"/clouderrorreporting:v1beta1/ListGroupStatsResponse/errorGroupStats/error_group_stat": error_group_stat +"/clouderrorreporting:v1beta1/ListGroupStatsResponse/nextPageToken": next_page_token +"/clouderrorreporting:v1beta1/ListGroupStatsResponse/timeRangeBegin": time_range_begin +"/clouderrorreporting:v1beta1/ReportErrorEventResponse": report_error_event_response +"/clouderrorreporting:v1beta1/ReportedErrorEvent": reported_error_event +"/clouderrorreporting:v1beta1/ReportedErrorEvent/context": context +"/clouderrorreporting:v1beta1/ReportedErrorEvent/eventTime": event_time +"/clouderrorreporting:v1beta1/ReportedErrorEvent/message": message +"/clouderrorreporting:v1beta1/ReportedErrorEvent/serviceContext": service_context +"/clouderrorreporting:v1beta1/ServiceContext": service_context +"/clouderrorreporting:v1beta1/ServiceContext/resourceType": resource_type +"/clouderrorreporting:v1beta1/ServiceContext/service": service +"/clouderrorreporting:v1beta1/ServiceContext/version": version +"/clouderrorreporting:v1beta1/SourceLocation": source_location +"/clouderrorreporting:v1beta1/SourceLocation/filePath": file_path +"/clouderrorreporting:v1beta1/SourceLocation/functionName": function_name +"/clouderrorreporting:v1beta1/SourceLocation/lineNumber": line_number +"/clouderrorreporting:v1beta1/SourceReference": source_reference +"/clouderrorreporting:v1beta1/SourceReference/repository": repository +"/clouderrorreporting:v1beta1/SourceReference/revisionId": revision_id +"/clouderrorreporting:v1beta1/TimedCount": timed_count +"/clouderrorreporting:v1beta1/TimedCount/count": count +"/clouderrorreporting:v1beta1/TimedCount/endTime": end_time +"/clouderrorreporting:v1beta1/TimedCount/startTime": start_time +"/clouderrorreporting:v1beta1/TrackingIssue": tracking_issue +"/clouderrorreporting:v1beta1/TrackingIssue/url": url "/clouderrorreporting:v1beta1/clouderrorreporting.projects.deleteEvents": delete_project_events "/clouderrorreporting:v1beta1/clouderrorreporting.projects.deleteEvents/projectName": project_name +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list": list_project_events +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/groupId": group_id +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/pageSize": page_size +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/pageToken": page_token +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/projectName": project_name +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/serviceFilter.resourceType": service_filter_resource_type +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/serviceFilter.service": service_filter_service +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/serviceFilter.version": service_filter_version +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/timeRange.period": time_range_period +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.report": report_project_event +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.report/projectName": project_name "/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list": list_project_group_stats "/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/alignment": alignment -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/groupId": group_id -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/serviceFilter.service": service_filter_service -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/pageSize": page_size -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/order": order -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/serviceFilter.version": service_filter_version "/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/alignmentTime": alignment_time -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/serviceFilter.resourceType": service_filter_resource_type -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/projectName": project_name -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/timedCountDuration": timed_count_duration +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/groupId": group_id +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/order": order +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/pageSize": page_size "/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/pageToken": page_token +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/projectName": project_name +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/serviceFilter.resourceType": service_filter_resource_type +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/serviceFilter.service": service_filter_service +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/serviceFilter.version": service_filter_version "/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/timeRange.period": time_range_period +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/timedCountDuration": timed_count_duration "/clouderrorreporting:v1beta1/clouderrorreporting.projects.groups.get": get_project_group "/clouderrorreporting:v1beta1/clouderrorreporting.projects.groups.get/groupName": group_name "/clouderrorreporting:v1beta1/clouderrorreporting.projects.groups.update": update_project_group "/clouderrorreporting:v1beta1/clouderrorreporting.projects.groups.update/name": name -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list": list_project_events -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/serviceFilter.service": service_filter_service -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/pageToken": page_token -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/pageSize": page_size -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/serviceFilter.version": service_filter_version -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/serviceFilter.resourceType": service_filter_resource_type -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/timeRange.period": time_range_period -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/projectName": project_name -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/groupId": group_id -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.report": report_project_event -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.report/projectName": project_name -"/clouderrorreporting:v1beta1/ListGroupStatsResponse": list_group_stats_response -"/clouderrorreporting:v1beta1/ListGroupStatsResponse/nextPageToken": next_page_token -"/clouderrorreporting:v1beta1/ListGroupStatsResponse/timeRangeBegin": time_range_begin -"/clouderrorreporting:v1beta1/ListGroupStatsResponse/errorGroupStats": error_group_stats -"/clouderrorreporting:v1beta1/ListGroupStatsResponse/errorGroupStats/error_group_stat": error_group_stat -"/clouderrorreporting:v1beta1/SourceReference": source_reference -"/clouderrorreporting:v1beta1/SourceReference/revisionId": revision_id -"/clouderrorreporting:v1beta1/SourceReference/repository": repository -"/clouderrorreporting:v1beta1/DeleteEventsResponse": delete_events_response -"/clouderrorreporting:v1beta1/ErrorEvent": error_event -"/clouderrorreporting:v1beta1/ErrorEvent/serviceContext": service_context -"/clouderrorreporting:v1beta1/ErrorEvent/eventTime": event_time -"/clouderrorreporting:v1beta1/ErrorEvent/context": context -"/clouderrorreporting:v1beta1/ErrorEvent/message": message -"/clouderrorreporting:v1beta1/ReportedErrorEvent": reported_error_event -"/clouderrorreporting:v1beta1/ReportedErrorEvent/context": context -"/clouderrorreporting:v1beta1/ReportedErrorEvent/message": message -"/clouderrorreporting:v1beta1/ReportedErrorEvent/serviceContext": service_context -"/clouderrorreporting:v1beta1/ReportedErrorEvent/eventTime": event_time -"/clouderrorreporting:v1beta1/ErrorContext": error_context -"/clouderrorreporting:v1beta1/ErrorContext/sourceReferences": source_references -"/clouderrorreporting:v1beta1/ErrorContext/sourceReferences/source_reference": source_reference -"/clouderrorreporting:v1beta1/ErrorContext/reportLocation": report_location -"/clouderrorreporting:v1beta1/ErrorContext/httpRequest": http_request -"/clouderrorreporting:v1beta1/ErrorContext/user": user -"/clouderrorreporting:v1beta1/TrackingIssue": tracking_issue -"/clouderrorreporting:v1beta1/TrackingIssue/url": url -"/clouderrorreporting:v1beta1/ErrorGroupStats": error_group_stats -"/clouderrorreporting:v1beta1/ErrorGroupStats/group": group -"/clouderrorreporting:v1beta1/ErrorGroupStats/firstSeenTime": first_seen_time -"/clouderrorreporting:v1beta1/ErrorGroupStats/count": count -"/clouderrorreporting:v1beta1/ErrorGroupStats/affectedUsersCount": affected_users_count -"/clouderrorreporting:v1beta1/ErrorGroupStats/lastSeenTime": last_seen_time -"/clouderrorreporting:v1beta1/ErrorGroupStats/numAffectedServices": num_affected_services -"/clouderrorreporting:v1beta1/ErrorGroupStats/affectedServices": affected_services -"/clouderrorreporting:v1beta1/ErrorGroupStats/affectedServices/affected_service": affected_service -"/clouderrorreporting:v1beta1/ErrorGroupStats/representative": representative -"/clouderrorreporting:v1beta1/ErrorGroupStats/timedCounts": timed_counts -"/clouderrorreporting:v1beta1/ErrorGroupStats/timedCounts/timed_count": timed_count -"/clouderrorreporting:v1beta1/ListEventsResponse": list_events_response -"/clouderrorreporting:v1beta1/ListEventsResponse/timeRangeBegin": time_range_begin -"/clouderrorreporting:v1beta1/ListEventsResponse/errorEvents": error_events -"/clouderrorreporting:v1beta1/ListEventsResponse/errorEvents/error_event": error_event -"/clouderrorreporting:v1beta1/ListEventsResponse/nextPageToken": next_page_token -"/clouderrorreporting:v1beta1/TimedCount": timed_count -"/clouderrorreporting:v1beta1/TimedCount/endTime": end_time -"/clouderrorreporting:v1beta1/TimedCount/startTime": start_time -"/clouderrorreporting:v1beta1/TimedCount/count": count -"/clouderrorreporting:v1beta1/ErrorGroup": error_group -"/clouderrorreporting:v1beta1/ErrorGroup/name": name -"/clouderrorreporting:v1beta1/ErrorGroup/trackingIssues": tracking_issues -"/clouderrorreporting:v1beta1/ErrorGroup/trackingIssues/tracking_issue": tracking_issue -"/clouderrorreporting:v1beta1/ErrorGroup/groupId": group_id -"/clouderrorreporting:v1beta1/ServiceContext": service_context -"/clouderrorreporting:v1beta1/ServiceContext/version": version -"/clouderrorreporting:v1beta1/ServiceContext/service": service -"/clouderrorreporting:v1beta1/ServiceContext/resourceType": resource_type -"/clouderrorreporting:v1beta1/SourceLocation": source_location -"/clouderrorreporting:v1beta1/SourceLocation/functionName": function_name -"/clouderrorreporting:v1beta1/SourceLocation/filePath": file_path -"/clouderrorreporting:v1beta1/SourceLocation/lineNumber": line_number -"/clouderrorreporting:v1beta1/ReportErrorEventResponse": report_error_event_response -"/clouderrorreporting:v1beta1/HttpRequestContext": http_request_context -"/clouderrorreporting:v1beta1/HttpRequestContext/url": url -"/clouderrorreporting:v1beta1/HttpRequestContext/responseStatusCode": response_status_code -"/clouderrorreporting:v1beta1/HttpRequestContext/method": method_prop -"/clouderrorreporting:v1beta1/HttpRequestContext/remoteIp": remote_ip -"/clouderrorreporting:v1beta1/HttpRequestContext/referrer": referrer -"/clouderrorreporting:v1beta1/HttpRequestContext/userAgent": user_agent -"/cloudfunctions:v1/key": key -"/cloudfunctions:v1/quotaUser": quota_user -"/cloudfunctions:v1/fields": fields +"/clouderrorreporting:v1beta1/fields": fields +"/clouderrorreporting:v1beta1/key": key +"/clouderrorreporting:v1beta1/quotaUser": quota_user +"/cloudfunctions:v1/ListLocationsResponse": list_locations_response +"/cloudfunctions:v1/ListLocationsResponse/locations": locations +"/cloudfunctions:v1/ListLocationsResponse/locations/location": location +"/cloudfunctions:v1/ListLocationsResponse/nextPageToken": next_page_token +"/cloudfunctions:v1/ListOperationsResponse": list_operations_response +"/cloudfunctions:v1/ListOperationsResponse/nextPageToken": next_page_token +"/cloudfunctions:v1/ListOperationsResponse/operations": operations +"/cloudfunctions:v1/ListOperationsResponse/operations/operation": operation +"/cloudfunctions:v1/Location": location +"/cloudfunctions:v1/Location/labels": labels +"/cloudfunctions:v1/Location/labels/label": label +"/cloudfunctions:v1/Location/locationId": location_id +"/cloudfunctions:v1/Location/metadata": metadata +"/cloudfunctions:v1/Location/metadata/metadatum": metadatum +"/cloudfunctions:v1/Location/name": name +"/cloudfunctions:v1/Operation": operation +"/cloudfunctions:v1/Operation/done": done +"/cloudfunctions:v1/Operation/error": error +"/cloudfunctions:v1/Operation/metadata": metadata +"/cloudfunctions:v1/Operation/metadata/metadatum": metadatum +"/cloudfunctions:v1/Operation/name": name +"/cloudfunctions:v1/Operation/response": response +"/cloudfunctions:v1/Operation/response/response": response "/cloudfunctions:v1/OperationMetadataV1Beta2": operation_metadata_v1_beta2 -"/cloudfunctions:v1/OperationMetadataV1Beta2/target": target "/cloudfunctions:v1/OperationMetadataV1Beta2/request": request "/cloudfunctions:v1/OperationMetadataV1Beta2/request/request": request +"/cloudfunctions:v1/OperationMetadataV1Beta2/target": target "/cloudfunctions:v1/OperationMetadataV1Beta2/type": type -"/cloudkms:v1/key": key -"/cloudkms:v1/quotaUser": quota_user -"/cloudkms:v1/fields": fields -"/cloudkms:v1/cloudkms.projects.locations.get": get_project_location -"/cloudkms:v1/cloudkms.projects.locations.get/name": name -"/cloudkms:v1/cloudkms.projects.locations.list": list_project_locations -"/cloudkms:v1/cloudkms.projects.locations.list/pageSize": page_size -"/cloudkms:v1/cloudkms.projects.locations.list/filter": filter -"/cloudkms:v1/cloudkms.projects.locations.list/pageToken": page_token -"/cloudkms:v1/cloudkms.projects.locations.list/name": name -"/cloudkms:v1/cloudkms.projects.locations.keyRings.list": list_project_location_key_rings -"/cloudkms:v1/cloudkms.projects.locations.keyRings.list/parent": parent -"/cloudkms:v1/cloudkms.projects.locations.keyRings.list/pageToken": page_token -"/cloudkms:v1/cloudkms.projects.locations.keyRings.list/pageSize": page_size -"/cloudkms:v1/cloudkms.projects.locations.keyRings.setIamPolicy": set_key_ring_iam_policy -"/cloudkms:v1/cloudkms.projects.locations.keyRings.setIamPolicy/resource": resource -"/cloudkms:v1/cloudkms.projects.locations.keyRings.create": create_project_location_key_ring -"/cloudkms:v1/cloudkms.projects.locations.keyRings.create/parent": parent -"/cloudkms:v1/cloudkms.projects.locations.keyRings.create/keyRingId": key_ring_id -"/cloudkms:v1/cloudkms.projects.locations.keyRings.getIamPolicy": get_project_location_key_ring_iam_policy -"/cloudkms:v1/cloudkms.projects.locations.keyRings.getIamPolicy/resource": resource -"/cloudkms:v1/cloudkms.projects.locations.keyRings.get": get_project_location_key_ring -"/cloudkms:v1/cloudkms.projects.locations.keyRings.get/name": name -"/cloudkms:v1/cloudkms.projects.locations.keyRings.testIamPermissions": test_key_ring_iam_permissions -"/cloudkms:v1/cloudkms.projects.locations.keyRings.testIamPermissions/resource": resource -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.list": list_project_location_key_ring_crypto_keys -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.list/pageSize": page_size -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.list/parent": parent -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.list/pageToken": page_token -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.encrypt": encrypt_crypto_key -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.encrypt/name": name -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.create": create_project_location_key_ring_crypto_key -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.create/cryptoKeyId": crypto_key_id -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.create/parent": parent -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.setIamPolicy": set_crypto_key_iam_policy -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.setIamPolicy/resource": resource -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.updatePrimaryVersion": update_project_location_key_ring_crypto_key_primary_version -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.updatePrimaryVersion/name": name -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.getIamPolicy": get_project_location_key_ring_crypto_key_iam_policy -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.getIamPolicy/resource": resource -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.patch": patch_project_location_key_ring_crypto_key -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.patch/updateMask": update_mask -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.patch/name": name -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.get": get_project_location_key_ring_crypto_key -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.get/name": name -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.testIamPermissions": test_crypto_key_iam_permissions -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.testIamPermissions/resource": resource -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.decrypt": decrypt_crypto_key -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.decrypt/name": name -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list": list_project_location_key_ring_crypto_key_crypto_key_versions -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list/parent": parent -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list/pageToken": page_token -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list/pageSize": page_size -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.create": create_project_location_key_ring_crypto_key_crypto_key_version -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.create/parent": parent -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.destroy": destroy_crypto_key_version -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.destroy/name": name -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.restore": restore_crypto_key_version -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.restore/name": name -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.get": get_project_location_key_ring_crypto_key_crypto_key_version -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.get/name": name -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch": patch_project_location_key_ring_crypto_key_crypto_key_version -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch/updateMask": update_mask -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch/name": name -"/cloudkms:v1/Condition": condition -"/cloudkms:v1/Condition/svc": svc -"/cloudkms:v1/Condition/value": value -"/cloudkms:v1/Condition/sys": sys -"/cloudkms:v1/Condition/values": values -"/cloudkms:v1/Condition/values/value": value -"/cloudkms:v1/Condition/iam": iam -"/cloudkms:v1/Condition/op": op -"/cloudkms:v1/CounterOptions": counter_options -"/cloudkms:v1/CounterOptions/field": field -"/cloudkms:v1/CounterOptions/metric": metric +"/cloudfunctions:v1/Status": status +"/cloudfunctions:v1/Status/code": code +"/cloudfunctions:v1/Status/details": details +"/cloudfunctions:v1/Status/details/detail": detail +"/cloudfunctions:v1/Status/details/detail/detail": detail +"/cloudfunctions:v1/Status/message": message +"/cloudfunctions:v1/cloudfunctions.operations.get": get_operation +"/cloudfunctions:v1/cloudfunctions.operations.get/name": name +"/cloudfunctions:v1/cloudfunctions.operations.list": list_operations +"/cloudfunctions:v1/cloudfunctions.operations.list/filter": filter +"/cloudfunctions:v1/cloudfunctions.operations.list/name": name +"/cloudfunctions:v1/cloudfunctions.operations.list/pageSize": page_size +"/cloudfunctions:v1/cloudfunctions.operations.list/pageToken": page_token +"/cloudfunctions:v1/cloudfunctions.projects.locations.list": list_project_locations +"/cloudfunctions:v1/cloudfunctions.projects.locations.list/filter": filter +"/cloudfunctions:v1/cloudfunctions.projects.locations.list/name": name +"/cloudfunctions:v1/cloudfunctions.projects.locations.list/pageSize": page_size +"/cloudfunctions:v1/cloudfunctions.projects.locations.list/pageToken": page_token +"/cloudfunctions:v1/fields": fields +"/cloudfunctions:v1/key": key +"/cloudfunctions:v1/quotaUser": quota_user +"/cloudkms:v1/AuditConfig": audit_config +"/cloudkms:v1/AuditConfig/auditLogConfigs": audit_log_configs +"/cloudkms:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/cloudkms:v1/AuditConfig/exemptedMembers": exempted_members +"/cloudkms:v1/AuditConfig/exemptedMembers/exempted_member": exempted_member +"/cloudkms:v1/AuditConfig/service": service "/cloudkms:v1/AuditLogConfig": audit_log_config "/cloudkms:v1/AuditLogConfig/exemptedMembers": exempted_members "/cloudkms:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member "/cloudkms:v1/AuditLogConfig/logType": log_type +"/cloudkms:v1/Binding": binding +"/cloudkms:v1/Binding/condition": condition +"/cloudkms:v1/Binding/members": members +"/cloudkms:v1/Binding/members/member": member +"/cloudkms:v1/Binding/role": role +"/cloudkms:v1/CloudAuditOptions": cloud_audit_options +"/cloudkms:v1/CloudAuditOptions/logName": log_name +"/cloudkms:v1/Condition": condition +"/cloudkms:v1/Condition/iam": iam +"/cloudkms:v1/Condition/op": op +"/cloudkms:v1/Condition/svc": svc +"/cloudkms:v1/Condition/sys": sys +"/cloudkms:v1/Condition/value": value +"/cloudkms:v1/Condition/values": values +"/cloudkms:v1/Condition/values/value": value +"/cloudkms:v1/CounterOptions": counter_options +"/cloudkms:v1/CounterOptions/field": field +"/cloudkms:v1/CounterOptions/metric": metric +"/cloudkms:v1/CryptoKey": crypto_key +"/cloudkms:v1/CryptoKey/createTime": create_time +"/cloudkms:v1/CryptoKey/name": name +"/cloudkms:v1/CryptoKey/nextRotationTime": next_rotation_time +"/cloudkms:v1/CryptoKey/primary": primary +"/cloudkms:v1/CryptoKey/purpose": purpose +"/cloudkms:v1/CryptoKey/rotationPeriod": rotation_period +"/cloudkms:v1/CryptoKeyVersion": crypto_key_version +"/cloudkms:v1/CryptoKeyVersion/createTime": create_time +"/cloudkms:v1/CryptoKeyVersion/destroyEventTime": destroy_event_time +"/cloudkms:v1/CryptoKeyVersion/destroyTime": destroy_time +"/cloudkms:v1/CryptoKeyVersion/name": name +"/cloudkms:v1/CryptoKeyVersion/state": state +"/cloudkms:v1/DataAccessOptions": data_access_options +"/cloudkms:v1/DataAccessOptions/logMode": log_mode +"/cloudkms:v1/DecryptRequest": decrypt_request +"/cloudkms:v1/DecryptRequest/additionalAuthenticatedData": additional_authenticated_data +"/cloudkms:v1/DecryptRequest/ciphertext": ciphertext "/cloudkms:v1/DecryptResponse": decrypt_response "/cloudkms:v1/DecryptResponse/plaintext": plaintext -"/cloudkms:v1/TestIamPermissionsRequest": test_iam_permissions_request -"/cloudkms:v1/TestIamPermissionsRequest/permissions": permissions -"/cloudkms:v1/TestIamPermissionsRequest/permissions/permission": permission +"/cloudkms:v1/DestroyCryptoKeyVersionRequest": destroy_crypto_key_version_request +"/cloudkms:v1/EncryptRequest": encrypt_request +"/cloudkms:v1/EncryptRequest/additionalAuthenticatedData": additional_authenticated_data +"/cloudkms:v1/EncryptRequest/plaintext": plaintext "/cloudkms:v1/EncryptResponse": encrypt_response "/cloudkms:v1/EncryptResponse/ciphertext": ciphertext "/cloudkms:v1/EncryptResponse/name": name +"/cloudkms:v1/Expr": expr +"/cloudkms:v1/Expr/description": description +"/cloudkms:v1/Expr/expression": expression +"/cloudkms:v1/Expr/location": location +"/cloudkms:v1/Expr/title": title "/cloudkms:v1/KeyRing": key_ring "/cloudkms:v1/KeyRing/createTime": create_time "/cloudkms:v1/KeyRing/name": name +"/cloudkms:v1/ListCryptoKeyVersionsResponse": list_crypto_key_versions_response +"/cloudkms:v1/ListCryptoKeyVersionsResponse/cryptoKeyVersions": crypto_key_versions +"/cloudkms:v1/ListCryptoKeyVersionsResponse/cryptoKeyVersions/crypto_key_version": crypto_key_version +"/cloudkms:v1/ListCryptoKeyVersionsResponse/nextPageToken": next_page_token +"/cloudkms:v1/ListCryptoKeyVersionsResponse/totalSize": total_size +"/cloudkms:v1/ListCryptoKeysResponse": list_crypto_keys_response +"/cloudkms:v1/ListCryptoKeysResponse/cryptoKeys": crypto_keys +"/cloudkms:v1/ListCryptoKeysResponse/cryptoKeys/crypto_key": crypto_key +"/cloudkms:v1/ListCryptoKeysResponse/nextPageToken": next_page_token +"/cloudkms:v1/ListCryptoKeysResponse/totalSize": total_size +"/cloudkms:v1/ListKeyRingsResponse": list_key_rings_response +"/cloudkms:v1/ListKeyRingsResponse/keyRings": key_rings +"/cloudkms:v1/ListKeyRingsResponse/keyRings/key_ring": key_ring +"/cloudkms:v1/ListKeyRingsResponse/nextPageToken": next_page_token +"/cloudkms:v1/ListKeyRingsResponse/totalSize": total_size "/cloudkms:v1/ListLocationsResponse": list_locations_response "/cloudkms:v1/ListLocationsResponse/locations": locations "/cloudkms:v1/ListLocationsResponse/locations/location": location "/cloudkms:v1/ListLocationsResponse/nextPageToken": next_page_token +"/cloudkms:v1/Location": location +"/cloudkms:v1/Location/labels": labels +"/cloudkms:v1/Location/labels/label": label +"/cloudkms:v1/Location/locationId": location_id +"/cloudkms:v1/Location/metadata": metadata +"/cloudkms:v1/Location/metadata/metadatum": metadatum +"/cloudkms:v1/Location/name": name +"/cloudkms:v1/LogConfig": log_config +"/cloudkms:v1/LogConfig/cloudAudit": cloud_audit +"/cloudkms:v1/LogConfig/counter": counter +"/cloudkms:v1/LogConfig/dataAccess": data_access "/cloudkms:v1/Policy": policy -"/cloudkms:v1/Policy/version": version "/cloudkms:v1/Policy/auditConfigs": audit_configs "/cloudkms:v1/Policy/auditConfigs/audit_config": audit_config "/cloudkms:v1/Policy/bindings": bindings @@ -14262,131 +9831,98 @@ "/cloudkms:v1/Policy/iamOwned": iam_owned "/cloudkms:v1/Policy/rules": rules "/cloudkms:v1/Policy/rules/rule": rule -"/cloudkms:v1/UpdateCryptoKeyPrimaryVersionRequest": update_crypto_key_primary_version_request -"/cloudkms:v1/UpdateCryptoKeyPrimaryVersionRequest/cryptoKeyVersionId": crypto_key_version_id +"/cloudkms:v1/Policy/version": version "/cloudkms:v1/RestoreCryptoKeyVersionRequest": restore_crypto_key_version_request -"/cloudkms:v1/DataAccessOptions": data_access_options -"/cloudkms:v1/ListKeyRingsResponse": list_key_rings_response -"/cloudkms:v1/ListKeyRingsResponse/keyRings": key_rings -"/cloudkms:v1/ListKeyRingsResponse/keyRings/key_ring": key_ring -"/cloudkms:v1/ListKeyRingsResponse/nextPageToken": next_page_token -"/cloudkms:v1/ListKeyRingsResponse/totalSize": total_size -"/cloudkms:v1/AuditConfig": audit_config -"/cloudkms:v1/AuditConfig/exemptedMembers": exempted_members -"/cloudkms:v1/AuditConfig/exemptedMembers/exempted_member": exempted_member -"/cloudkms:v1/AuditConfig/service": service -"/cloudkms:v1/AuditConfig/auditLogConfigs": audit_log_configs -"/cloudkms:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config -"/cloudkms:v1/CryptoKeyVersion": crypto_key_version -"/cloudkms:v1/CryptoKeyVersion/createTime": create_time -"/cloudkms:v1/CryptoKeyVersion/state": state -"/cloudkms:v1/CryptoKeyVersion/name": name -"/cloudkms:v1/CryptoKeyVersion/destroyEventTime": destroy_event_time -"/cloudkms:v1/CryptoKeyVersion/destroyTime": destroy_time -"/cloudkms:v1/CloudAuditOptions": cloud_audit_options -"/cloudkms:v1/CloudAuditOptions/logName": log_name -"/cloudkms:v1/Binding": binding -"/cloudkms:v1/Binding/condition": condition -"/cloudkms:v1/Binding/members": members -"/cloudkms:v1/Binding/members/member": member -"/cloudkms:v1/Binding/role": role -"/cloudkms:v1/Expr": expr -"/cloudkms:v1/Expr/location": location -"/cloudkms:v1/Expr/title": title -"/cloudkms:v1/Expr/description": description -"/cloudkms:v1/Expr/expression": expression -"/cloudkms:v1/EncryptRequest": encrypt_request -"/cloudkms:v1/EncryptRequest/plaintext": plaintext -"/cloudkms:v1/EncryptRequest/additionalAuthenticatedData": additional_authenticated_data -"/cloudkms:v1/ListCryptoKeyVersionsResponse": list_crypto_key_versions_response -"/cloudkms:v1/ListCryptoKeyVersionsResponse/nextPageToken": next_page_token -"/cloudkms:v1/ListCryptoKeyVersionsResponse/totalSize": total_size -"/cloudkms:v1/ListCryptoKeyVersionsResponse/cryptoKeyVersions": crypto_key_versions -"/cloudkms:v1/ListCryptoKeyVersionsResponse/cryptoKeyVersions/crypto_key_version": crypto_key_version -"/cloudkms:v1/TestIamPermissionsResponse": test_iam_permissions_response -"/cloudkms:v1/TestIamPermissionsResponse/permissions": permissions -"/cloudkms:v1/TestIamPermissionsResponse/permissions/permission": permission -"/cloudkms:v1/DestroyCryptoKeyVersionRequest": destroy_crypto_key_version_request -"/cloudkms:v1/CryptoKey": crypto_key -"/cloudkms:v1/CryptoKey/name": name -"/cloudkms:v1/CryptoKey/purpose": purpose -"/cloudkms:v1/CryptoKey/nextRotationTime": next_rotation_time -"/cloudkms:v1/CryptoKey/createTime": create_time -"/cloudkms:v1/CryptoKey/rotationPeriod": rotation_period -"/cloudkms:v1/CryptoKey/primary": primary "/cloudkms:v1/Rule": rule -"/cloudkms:v1/Rule/description": description +"/cloudkms:v1/Rule/action": action "/cloudkms:v1/Rule/conditions": conditions "/cloudkms:v1/Rule/conditions/condition": condition -"/cloudkms:v1/Rule/logConfig": log_config -"/cloudkms:v1/Rule/logConfig/log_config": log_config +"/cloudkms:v1/Rule/description": description "/cloudkms:v1/Rule/in": in "/cloudkms:v1/Rule/in/in": in -"/cloudkms:v1/Rule/permissions": permissions -"/cloudkms:v1/Rule/permissions/permission": permission -"/cloudkms:v1/Rule/action": action +"/cloudkms:v1/Rule/logConfig": log_config +"/cloudkms:v1/Rule/logConfig/log_config": log_config "/cloudkms:v1/Rule/notIn": not_in "/cloudkms:v1/Rule/notIn/not_in": not_in -"/cloudkms:v1/LogConfig": log_config -"/cloudkms:v1/LogConfig/counter": counter -"/cloudkms:v1/LogConfig/dataAccess": data_access -"/cloudkms:v1/LogConfig/cloudAudit": cloud_audit +"/cloudkms:v1/Rule/permissions": permissions +"/cloudkms:v1/Rule/permissions/permission": permission "/cloudkms:v1/SetIamPolicyRequest": set_iam_policy_request "/cloudkms:v1/SetIamPolicyRequest/policy": policy "/cloudkms:v1/SetIamPolicyRequest/updateMask": update_mask -"/cloudkms:v1/DecryptRequest": decrypt_request -"/cloudkms:v1/DecryptRequest/additionalAuthenticatedData": additional_authenticated_data -"/cloudkms:v1/DecryptRequest/ciphertext": ciphertext -"/cloudkms:v1/Location": location -"/cloudkms:v1/Location/labels": labels -"/cloudkms:v1/Location/labels/label": label -"/cloudkms:v1/Location/name": name -"/cloudkms:v1/Location/locationId": location_id -"/cloudkms:v1/Location/metadata": metadata -"/cloudkms:v1/Location/metadata/metadatum": metadatum -"/cloudkms:v1/ListCryptoKeysResponse": list_crypto_keys_response -"/cloudkms:v1/ListCryptoKeysResponse/nextPageToken": next_page_token -"/cloudkms:v1/ListCryptoKeysResponse/totalSize": total_size -"/cloudkms:v1/ListCryptoKeysResponse/cryptoKeys": crypto_keys -"/cloudkms:v1/ListCryptoKeysResponse/cryptoKeys/crypto_key": crypto_key -"/cloudmonitoring:v2beta2/fields": fields -"/cloudmonitoring:v2beta2/key": key -"/cloudmonitoring:v2beta2/quotaUser": quota_user -"/cloudmonitoring:v2beta2/userIp": user_ip -"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.create": create_metric_descriptor -"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.create/project": project -"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.delete": delete_metric_descriptor -"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.delete/metric": metric -"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.delete/project": project -"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.list": list_metric_descriptors -"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.list/count": count -"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.list/pageToken": page_token -"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.list/project": project -"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.list/query": query -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list": list_timeseries -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/aggregator": aggregator -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/count": count -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/labels": labels -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/metric": metric -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/oldest": oldest -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/pageToken": page_token -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/project": project -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/timespan": timespan -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/window": window -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/youngest": youngest -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.write": write_timeseries -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.write/project": project -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list": list_timeseries_descriptors -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/aggregator": aggregator -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/count": count -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/labels": labels -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/metric": metric -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/oldest": oldest -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/pageToken": page_token -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/project": project -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/timespan": timespan -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/window": window -"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/youngest": youngest +"/cloudkms:v1/TestIamPermissionsRequest": test_iam_permissions_request +"/cloudkms:v1/TestIamPermissionsRequest/permissions": permissions +"/cloudkms:v1/TestIamPermissionsRequest/permissions/permission": permission +"/cloudkms:v1/TestIamPermissionsResponse": test_iam_permissions_response +"/cloudkms:v1/TestIamPermissionsResponse/permissions": permissions +"/cloudkms:v1/TestIamPermissionsResponse/permissions/permission": permission +"/cloudkms:v1/UpdateCryptoKeyPrimaryVersionRequest": update_crypto_key_primary_version_request +"/cloudkms:v1/UpdateCryptoKeyPrimaryVersionRequest/cryptoKeyVersionId": crypto_key_version_id +"/cloudkms:v1/cloudkms.projects.locations.get": get_project_location +"/cloudkms:v1/cloudkms.projects.locations.get/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.create": create_project_location_key_ring +"/cloudkms:v1/cloudkms.projects.locations.keyRings.create/keyRingId": key_ring_id +"/cloudkms:v1/cloudkms.projects.locations.keyRings.create/parent": parent +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.create": create_project_location_key_ring_crypto_key +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.create/cryptoKeyId": crypto_key_id +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.create/parent": parent +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.create": create_project_location_key_ring_crypto_key_crypto_key_version +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.create/parent": parent +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.destroy": destroy_crypto_key_version +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.destroy/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.get": get_project_location_key_ring_crypto_key_crypto_key_version +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.get/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list": list_project_location_key_ring_crypto_key_crypto_key_versions +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list/pageSize": page_size +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list/pageToken": page_token +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list/parent": parent +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch": patch_project_location_key_ring_crypto_key_crypto_key_version +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch/updateMask": update_mask +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.restore": restore_crypto_key_version +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.restore/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.decrypt": decrypt_crypto_key +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.decrypt/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.encrypt": encrypt_crypto_key +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.encrypt/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.get": get_project_location_key_ring_crypto_key +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.get/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.getIamPolicy": get_project_location_key_ring_crypto_key_iam_policy +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.getIamPolicy/resource": resource +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.list": list_project_location_key_ring_crypto_keys +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.list/pageSize": page_size +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.list/pageToken": page_token +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.list/parent": parent +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.patch": patch_project_location_key_ring_crypto_key +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.patch/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.patch/updateMask": update_mask +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.setIamPolicy": set_crypto_key_iam_policy +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.setIamPolicy/resource": resource +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.testIamPermissions": test_crypto_key_iam_permissions +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.testIamPermissions/resource": resource +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.updatePrimaryVersion": update_project_location_key_ring_crypto_key_primary_version +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.updatePrimaryVersion/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.get": get_project_location_key_ring +"/cloudkms:v1/cloudkms.projects.locations.keyRings.get/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.getIamPolicy": get_project_location_key_ring_iam_policy +"/cloudkms:v1/cloudkms.projects.locations.keyRings.getIamPolicy/resource": resource +"/cloudkms:v1/cloudkms.projects.locations.keyRings.list": list_project_location_key_rings +"/cloudkms:v1/cloudkms.projects.locations.keyRings.list/pageSize": page_size +"/cloudkms:v1/cloudkms.projects.locations.keyRings.list/pageToken": page_token +"/cloudkms:v1/cloudkms.projects.locations.keyRings.list/parent": parent +"/cloudkms:v1/cloudkms.projects.locations.keyRings.setIamPolicy": set_key_ring_iam_policy +"/cloudkms:v1/cloudkms.projects.locations.keyRings.setIamPolicy/resource": resource +"/cloudkms:v1/cloudkms.projects.locations.keyRings.testIamPermissions": test_key_ring_iam_permissions +"/cloudkms:v1/cloudkms.projects.locations.keyRings.testIamPermissions/resource": resource +"/cloudkms:v1/cloudkms.projects.locations.list": list_project_locations +"/cloudkms:v1/cloudkms.projects.locations.list/filter": filter +"/cloudkms:v1/cloudkms.projects.locations.list/name": name +"/cloudkms:v1/cloudkms.projects.locations.list/pageSize": page_size +"/cloudkms:v1/cloudkms.projects.locations.list/pageToken": page_token +"/cloudkms:v1/fields": fields +"/cloudkms:v1/key": key +"/cloudkms:v1/quotaUser": quota_user +"/cloudlatencytest:v2/cloudlatencytest.statscollection.updateaggregatedstats": update_aggregated_stats +"/cloudlatencytest:v2/cloudlatencytest.statscollection.updatestats": update_stats "/cloudmonitoring:v2beta2/DeleteMetricDescriptorResponse": delete_metric_descriptor_response "/cloudmonitoring:v2beta2/DeleteMetricDescriptorResponse/kind": kind "/cloudmonitoring:v2beta2/ListMetricDescriptorsRequest": list_metric_descriptors_request @@ -14472,470 +10008,544 @@ "/cloudmonitoring:v2beta2/WriteTimeseriesRequest/timeseries/timeseries": timeseries "/cloudmonitoring:v2beta2/WriteTimeseriesResponse": write_timeseries_response "/cloudmonitoring:v2beta2/WriteTimeseriesResponse/kind": kind -"/cloudresourcemanager:v1/key": key -"/cloudresourcemanager:v1/quotaUser": quota_user -"/cloudresourcemanager:v1/fields": fields -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listOrgPolicies": list_organization_org_policies -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listOrgPolicies/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints": list_organization_available_org_policy_constraints -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getIamPolicy": get_organization_iam_policy -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getIamPolicy/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getOrgPolicy": get_organization_org_policy -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getOrgPolicy/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.search": search_organizations -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getEffectiveOrgPolicy": get_organization_effective_org_policy -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getEffectiveOrgPolicy/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.get": get_organization -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.get/name": name -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.testIamPermissions": test_organization_iam_permissions -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.testIamPermissions/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicy": clear_organization_org_policy -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicy/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicy": set_organization_org_policy -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicy/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setIamPolicy": set_organization_iam_policy -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setIamPolicy/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.operations.get": get_operation -"/cloudresourcemanager:v1/cloudresourcemanager.operations.get/name": name -"/cloudresourcemanager:v1/cloudresourcemanager.liens.delete": delete_lien -"/cloudresourcemanager:v1/cloudresourcemanager.liens.delete/name": name -"/cloudresourcemanager:v1/cloudresourcemanager.liens.list": list_liens -"/cloudresourcemanager:v1/cloudresourcemanager.liens.list/parent": parent -"/cloudresourcemanager:v1/cloudresourcemanager.liens.list/pageToken": page_token -"/cloudresourcemanager:v1/cloudresourcemanager.liens.list/pageSize": page_size -"/cloudresourcemanager:v1/cloudresourcemanager.liens.create": create_lien -"/cloudresourcemanager:v1/cloudresourcemanager.folders.clearOrgPolicy": clear_folder_org_policy -"/cloudresourcemanager:v1/cloudresourcemanager.folders.clearOrgPolicy/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.folders.setOrgPolicy": set_folder_org_policy -"/cloudresourcemanager:v1/cloudresourcemanager.folders.setOrgPolicy/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.folders.listAvailableOrgPolicyConstraints": list_folder_available_org_policy_constraints -"/cloudresourcemanager:v1/cloudresourcemanager.folders.listAvailableOrgPolicyConstraints/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.folders.listOrgPolicies": list_folder_org_policies -"/cloudresourcemanager:v1/cloudresourcemanager.folders.listOrgPolicies/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.folders.getOrgPolicy": get_folder_org_policy -"/cloudresourcemanager:v1/cloudresourcemanager.folders.getOrgPolicy/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.folders.getEffectiveOrgPolicy": get_folder_effective_org_policy -"/cloudresourcemanager:v1/cloudresourcemanager.folders.getEffectiveOrgPolicy/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.projects.setIamPolicy": set_project_iam_policy -"/cloudresourcemanager:v1/cloudresourcemanager.projects.setIamPolicy/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.projects.listAvailableOrgPolicyConstraints": list_project_available_org_policy_constraints -"/cloudresourcemanager:v1/cloudresourcemanager.projects.listAvailableOrgPolicyConstraints/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.projects.getIamPolicy": get_project_iam_policy -"/cloudresourcemanager:v1/cloudresourcemanager.projects.getIamPolicy/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.projects.getOrgPolicy": get_project_org_policy -"/cloudresourcemanager:v1/cloudresourcemanager.projects.getOrgPolicy/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.projects.undelete": undelete_project -"/cloudresourcemanager:v1/cloudresourcemanager.projects.undelete/projectId": project_id -"/cloudresourcemanager:v1/cloudresourcemanager.projects.getEffectiveOrgPolicy": get_project_effective_org_policy -"/cloudresourcemanager:v1/cloudresourcemanager.projects.getEffectiveOrgPolicy/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.projects.update": update_project -"/cloudresourcemanager:v1/cloudresourcemanager.projects.update/projectId": project_id -"/cloudresourcemanager:v1/cloudresourcemanager.projects.list": list_projects -"/cloudresourcemanager:v1/cloudresourcemanager.projects.list/pageSize": page_size -"/cloudresourcemanager:v1/cloudresourcemanager.projects.list/filter": filter -"/cloudresourcemanager:v1/cloudresourcemanager.projects.list/pageToken": page_token -"/cloudresourcemanager:v1/cloudresourcemanager.projects.setOrgPolicy": set_project_org_policy -"/cloudresourcemanager:v1/cloudresourcemanager.projects.setOrgPolicy/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.projects.create": create_project -"/cloudresourcemanager:v1/cloudresourcemanager.projects.listOrgPolicies": list_project_org_policies -"/cloudresourcemanager:v1/cloudresourcemanager.projects.listOrgPolicies/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.projects.get": get_project -"/cloudresourcemanager:v1/cloudresourcemanager.projects.get/projectId": project_id -"/cloudresourcemanager:v1/cloudresourcemanager.projects.getAncestry": get_project_ancestry -"/cloudresourcemanager:v1/cloudresourcemanager.projects.getAncestry/projectId": project_id -"/cloudresourcemanager:v1/cloudresourcemanager.projects.testIamPermissions": test_project_iam_permissions -"/cloudresourcemanager:v1/cloudresourcemanager.projects.testIamPermissions/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.projects.delete": delete_project -"/cloudresourcemanager:v1/cloudresourcemanager.projects.delete/projectId": project_id -"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicy": clear_project_org_policy -"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicy/resource": resource +"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.create": create_metric_descriptor +"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.create/project": project +"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.delete": delete_metric_descriptor +"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.delete/metric": metric +"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.delete/project": project +"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.list": list_metric_descriptors +"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.list/count": count +"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.list/pageToken": page_token +"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.list/project": project +"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.list/query": query +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list": list_timeseries +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/aggregator": aggregator +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/count": count +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/labels": labels +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/metric": metric +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/oldest": oldest +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/pageToken": page_token +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/project": project +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/timespan": timespan +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/window": window +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/youngest": youngest +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.write": write_timeseries +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.write/project": project +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list": list_timeseries_descriptors +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/aggregator": aggregator +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/count": count +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/labels": labels +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/metric": metric +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/oldest": oldest +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/pageToken": page_token +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/project": project +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/timespan": timespan +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/window": window +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/youngest": youngest +"/cloudmonitoring:v2beta2/fields": fields +"/cloudmonitoring:v2beta2/key": key +"/cloudmonitoring:v2beta2/quotaUser": quota_user +"/cloudmonitoring:v2beta2/userIp": user_ip "/cloudresourcemanager:v1/Ancestor": ancestor "/cloudresourcemanager:v1/Ancestor/resourceId": resource_id -"/cloudresourcemanager:v1/ListConstraint": list_constraint -"/cloudresourcemanager:v1/ListConstraint/suggestedValue": suggested_value -"/cloudresourcemanager:v1/SetOrgPolicyRequest": set_org_policy_request -"/cloudresourcemanager:v1/SetOrgPolicyRequest/policy": policy -"/cloudresourcemanager:v1/SetIamPolicyRequest": set_iam_policy_request -"/cloudresourcemanager:v1/SetIamPolicyRequest/policy": policy -"/cloudresourcemanager:v1/SetIamPolicyRequest/updateMask": update_mask +"/cloudresourcemanager:v1/AuditConfig": audit_config +"/cloudresourcemanager:v1/AuditConfig/auditLogConfigs": audit_log_configs +"/cloudresourcemanager:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/cloudresourcemanager:v1/AuditConfig/service": service +"/cloudresourcemanager:v1/AuditLogConfig": audit_log_config +"/cloudresourcemanager:v1/AuditLogConfig/exemptedMembers": exempted_members +"/cloudresourcemanager:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member +"/cloudresourcemanager:v1/AuditLogConfig/logType": log_type +"/cloudresourcemanager:v1/Binding": binding +"/cloudresourcemanager:v1/Binding/members": members +"/cloudresourcemanager:v1/Binding/members/member": member +"/cloudresourcemanager:v1/Binding/role": role +"/cloudresourcemanager:v1/BooleanConstraint": boolean_constraint +"/cloudresourcemanager:v1/BooleanPolicy": boolean_policy +"/cloudresourcemanager:v1/BooleanPolicy/enforced": enforced +"/cloudresourcemanager:v1/ClearOrgPolicyRequest": clear_org_policy_request +"/cloudresourcemanager:v1/ClearOrgPolicyRequest/constraint": constraint +"/cloudresourcemanager:v1/ClearOrgPolicyRequest/etag": etag +"/cloudresourcemanager:v1/Constraint": constraint +"/cloudresourcemanager:v1/Constraint/booleanConstraint": boolean_constraint +"/cloudresourcemanager:v1/Constraint/constraintDefault": constraint_default +"/cloudresourcemanager:v1/Constraint/description": description +"/cloudresourcemanager:v1/Constraint/displayName": display_name +"/cloudresourcemanager:v1/Constraint/listConstraint": list_constraint +"/cloudresourcemanager:v1/Constraint/name": name +"/cloudresourcemanager:v1/Constraint/version": version "/cloudresourcemanager:v1/Empty": empty -"/cloudresourcemanager:v1/Organization": organization -"/cloudresourcemanager:v1/Organization/lifecycleState": lifecycle_state -"/cloudresourcemanager:v1/Organization/owner": owner -"/cloudresourcemanager:v1/Organization/name": name -"/cloudresourcemanager:v1/Organization/displayName": display_name -"/cloudresourcemanager:v1/Organization/creationTime": creation_time -"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse": list_available_org_policy_constraints_response -"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse/nextPageToken": next_page_token -"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse/constraints": constraints -"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse/constraints/constraint": constraint -"/cloudresourcemanager:v1/ListPolicy": list_policy -"/cloudresourcemanager:v1/ListPolicy/inheritFromParent": inherit_from_parent -"/cloudresourcemanager:v1/ListPolicy/suggestedValue": suggested_value -"/cloudresourcemanager:v1/ListPolicy/deniedValues": denied_values -"/cloudresourcemanager:v1/ListPolicy/deniedValues/denied_value": denied_value -"/cloudresourcemanager:v1/ListPolicy/allValues": all_values -"/cloudresourcemanager:v1/ListPolicy/allowedValues": allowed_values -"/cloudresourcemanager:v1/ListPolicy/allowedValues/allowed_value": allowed_value +"/cloudresourcemanager:v1/FolderOperation": folder_operation +"/cloudresourcemanager:v1/FolderOperation/destinationParent": destination_parent +"/cloudresourcemanager:v1/FolderOperation/displayName": display_name +"/cloudresourcemanager:v1/FolderOperation/operationType": operation_type +"/cloudresourcemanager:v1/FolderOperation/sourceParent": source_parent +"/cloudresourcemanager:v1/FolderOperationError": folder_operation_error +"/cloudresourcemanager:v1/FolderOperationError/errorMessageId": error_message_id +"/cloudresourcemanager:v1/GetAncestryRequest": get_ancestry_request "/cloudresourcemanager:v1/GetAncestryResponse": get_ancestry_response "/cloudresourcemanager:v1/GetAncestryResponse/ancestor": ancestor "/cloudresourcemanager:v1/GetAncestryResponse/ancestor/ancestor": ancestor -"/cloudresourcemanager:v1/AuditLogConfig": audit_log_config -"/cloudresourcemanager:v1/AuditLogConfig/logType": log_type -"/cloudresourcemanager:v1/AuditLogConfig/exemptedMembers": exempted_members -"/cloudresourcemanager:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member -"/cloudresourcemanager:v1/SearchOrganizationsRequest": search_organizations_request -"/cloudresourcemanager:v1/SearchOrganizationsRequest/filter": filter -"/cloudresourcemanager:v1/SearchOrganizationsRequest/pageToken": page_token -"/cloudresourcemanager:v1/SearchOrganizationsRequest/pageSize": page_size -"/cloudresourcemanager:v1/GetAncestryRequest": get_ancestry_request -"/cloudresourcemanager:v1/TestIamPermissionsRequest": test_iam_permissions_request -"/cloudresourcemanager:v1/TestIamPermissionsRequest/permissions": permissions -"/cloudresourcemanager:v1/TestIamPermissionsRequest/permissions/permission": permission +"/cloudresourcemanager:v1/GetEffectiveOrgPolicyRequest": get_effective_org_policy_request +"/cloudresourcemanager:v1/GetEffectiveOrgPolicyRequest/constraint": constraint +"/cloudresourcemanager:v1/GetIamPolicyRequest": get_iam_policy_request +"/cloudresourcemanager:v1/GetOrgPolicyRequest": get_org_policy_request +"/cloudresourcemanager:v1/GetOrgPolicyRequest/constraint": constraint +"/cloudresourcemanager:v1/Lien": lien +"/cloudresourcemanager:v1/Lien/createTime": create_time +"/cloudresourcemanager:v1/Lien/name": name +"/cloudresourcemanager:v1/Lien/origin": origin +"/cloudresourcemanager:v1/Lien/parent": parent +"/cloudresourcemanager:v1/Lien/reason": reason +"/cloudresourcemanager:v1/Lien/restrictions": restrictions +"/cloudresourcemanager:v1/Lien/restrictions/restriction": restriction "/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsRequest": list_available_org_policy_constraints_request -"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsRequest/pageToken": page_token "/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsRequest/pageSize": page_size +"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsRequest/pageToken": page_token +"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse": list_available_org_policy_constraints_response +"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse/constraints": constraints +"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse/constraints/constraint": constraint +"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1/ListConstraint": list_constraint +"/cloudresourcemanager:v1/ListConstraint/suggestedValue": suggested_value +"/cloudresourcemanager:v1/ListLiensResponse": list_liens_response +"/cloudresourcemanager:v1/ListLiensResponse/liens": liens +"/cloudresourcemanager:v1/ListLiensResponse/liens/lien": lien +"/cloudresourcemanager:v1/ListLiensResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1/ListOrgPoliciesRequest": list_org_policies_request +"/cloudresourcemanager:v1/ListOrgPoliciesRequest/pageSize": page_size +"/cloudresourcemanager:v1/ListOrgPoliciesRequest/pageToken": page_token +"/cloudresourcemanager:v1/ListOrgPoliciesResponse": list_org_policies_response +"/cloudresourcemanager:v1/ListOrgPoliciesResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1/ListOrgPoliciesResponse/policies": policies +"/cloudresourcemanager:v1/ListOrgPoliciesResponse/policies/policy": policy +"/cloudresourcemanager:v1/ListPolicy": list_policy +"/cloudresourcemanager:v1/ListPolicy/allValues": all_values +"/cloudresourcemanager:v1/ListPolicy/allowedValues": allowed_values +"/cloudresourcemanager:v1/ListPolicy/allowedValues/allowed_value": allowed_value +"/cloudresourcemanager:v1/ListPolicy/deniedValues": denied_values +"/cloudresourcemanager:v1/ListPolicy/deniedValues/denied_value": denied_value +"/cloudresourcemanager:v1/ListPolicy/inheritFromParent": inherit_from_parent +"/cloudresourcemanager:v1/ListPolicy/suggestedValue": suggested_value +"/cloudresourcemanager:v1/ListProjectsResponse": list_projects_response +"/cloudresourcemanager:v1/ListProjectsResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1/ListProjectsResponse/projects": projects +"/cloudresourcemanager:v1/ListProjectsResponse/projects/project": project +"/cloudresourcemanager:v1/Operation": operation +"/cloudresourcemanager:v1/Operation/done": done +"/cloudresourcemanager:v1/Operation/error": error +"/cloudresourcemanager:v1/Operation/metadata": metadata +"/cloudresourcemanager:v1/Operation/metadata/metadatum": metadatum +"/cloudresourcemanager:v1/Operation/name": name +"/cloudresourcemanager:v1/Operation/response": response +"/cloudresourcemanager:v1/Operation/response/response": response +"/cloudresourcemanager:v1/OrgPolicy": org_policy +"/cloudresourcemanager:v1/OrgPolicy/booleanPolicy": boolean_policy +"/cloudresourcemanager:v1/OrgPolicy/constraint": constraint +"/cloudresourcemanager:v1/OrgPolicy/etag": etag +"/cloudresourcemanager:v1/OrgPolicy/listPolicy": list_policy +"/cloudresourcemanager:v1/OrgPolicy/restoreDefault": restore_default +"/cloudresourcemanager:v1/OrgPolicy/updateTime": update_time +"/cloudresourcemanager:v1/OrgPolicy/version": version +"/cloudresourcemanager:v1/Organization": organization +"/cloudresourcemanager:v1/Organization/creationTime": creation_time +"/cloudresourcemanager:v1/Organization/displayName": display_name +"/cloudresourcemanager:v1/Organization/lifecycleState": lifecycle_state +"/cloudresourcemanager:v1/Organization/name": name +"/cloudresourcemanager:v1/Organization/owner": owner +"/cloudresourcemanager:v1/OrganizationOwner": organization_owner +"/cloudresourcemanager:v1/OrganizationOwner/directoryCustomerId": directory_customer_id "/cloudresourcemanager:v1/Policy": policy -"/cloudresourcemanager:v1/Policy/version": version "/cloudresourcemanager:v1/Policy/auditConfigs": audit_configs "/cloudresourcemanager:v1/Policy/auditConfigs/audit_config": audit_config "/cloudresourcemanager:v1/Policy/bindings": bindings "/cloudresourcemanager:v1/Policy/bindings/binding": binding "/cloudresourcemanager:v1/Policy/etag": etag -"/cloudresourcemanager:v1/FolderOperation": folder_operation -"/cloudresourcemanager:v1/FolderOperation/operationType": operation_type -"/cloudresourcemanager:v1/FolderOperation/sourceParent": source_parent -"/cloudresourcemanager:v1/FolderOperation/displayName": display_name -"/cloudresourcemanager:v1/FolderOperation/destinationParent": destination_parent -"/cloudresourcemanager:v1/ResourceId": resource_id -"/cloudresourcemanager:v1/ResourceId/type": type -"/cloudresourcemanager:v1/ResourceId/id": id -"/cloudresourcemanager:v1/GetEffectiveOrgPolicyRequest": get_effective_org_policy_request -"/cloudresourcemanager:v1/GetEffectiveOrgPolicyRequest/constraint": constraint -"/cloudresourcemanager:v1/ListOrgPoliciesRequest": list_org_policies_request -"/cloudresourcemanager:v1/ListOrgPoliciesRequest/pageToken": page_token -"/cloudresourcemanager:v1/ListOrgPoliciesRequest/pageSize": page_size -"/cloudresourcemanager:v1/AuditConfig": audit_config -"/cloudresourcemanager:v1/AuditConfig/service": service -"/cloudresourcemanager:v1/AuditConfig/auditLogConfigs": audit_log_configs -"/cloudresourcemanager:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config -"/cloudresourcemanager:v1/Operation": operation -"/cloudresourcemanager:v1/Operation/metadata": metadata -"/cloudresourcemanager:v1/Operation/metadata/metadatum": metadatum -"/cloudresourcemanager:v1/Operation/done": done -"/cloudresourcemanager:v1/Operation/response": response -"/cloudresourcemanager:v1/Operation/response/response": response -"/cloudresourcemanager:v1/Operation/name": name -"/cloudresourcemanager:v1/Operation/error": error -"/cloudresourcemanager:v1/Constraint": constraint -"/cloudresourcemanager:v1/Constraint/listConstraint": list_constraint -"/cloudresourcemanager:v1/Constraint/version": version -"/cloudresourcemanager:v1/Constraint/displayName": display_name -"/cloudresourcemanager:v1/Constraint/description": description -"/cloudresourcemanager:v1/Constraint/booleanConstraint": boolean_constraint -"/cloudresourcemanager:v1/Constraint/constraintDefault": constraint_default -"/cloudresourcemanager:v1/Constraint/name": name -"/cloudresourcemanager:v1/ListLiensResponse": list_liens_response -"/cloudresourcemanager:v1/ListLiensResponse/liens": liens -"/cloudresourcemanager:v1/ListLiensResponse/liens/lien": lien -"/cloudresourcemanager:v1/ListLiensResponse/nextPageToken": next_page_token -"/cloudresourcemanager:v1/Status": status -"/cloudresourcemanager:v1/Status/code": code -"/cloudresourcemanager:v1/Status/message": message -"/cloudresourcemanager:v1/Status/details": details -"/cloudresourcemanager:v1/Status/details/detail": detail -"/cloudresourcemanager:v1/Status/details/detail/detail": detail -"/cloudresourcemanager:v1/Binding": binding -"/cloudresourcemanager:v1/Binding/members": members -"/cloudresourcemanager:v1/Binding/members/member": member -"/cloudresourcemanager:v1/Binding/role": role -"/cloudresourcemanager:v1/RestoreDefault": restore_default -"/cloudresourcemanager:v1/GetOrgPolicyRequest": get_org_policy_request -"/cloudresourcemanager:v1/GetOrgPolicyRequest/constraint": constraint -"/cloudresourcemanager:v1/ClearOrgPolicyRequest": clear_org_policy_request -"/cloudresourcemanager:v1/ClearOrgPolicyRequest/etag": etag -"/cloudresourcemanager:v1/ClearOrgPolicyRequest/constraint": constraint -"/cloudresourcemanager:v1/UndeleteProjectRequest": undelete_project_request -"/cloudresourcemanager:v1/ProjectCreationStatus": project_creation_status -"/cloudresourcemanager:v1/ProjectCreationStatus/ready": ready -"/cloudresourcemanager:v1/ProjectCreationStatus/gettable": gettable -"/cloudresourcemanager:v1/ProjectCreationStatus/createTime": create_time -"/cloudresourcemanager:v1/BooleanConstraint": boolean_constraint -"/cloudresourcemanager:v1/TestIamPermissionsResponse": test_iam_permissions_response -"/cloudresourcemanager:v1/TestIamPermissionsResponse/permissions": permissions -"/cloudresourcemanager:v1/TestIamPermissionsResponse/permissions/permission": permission -"/cloudresourcemanager:v1/GetIamPolicyRequest": get_iam_policy_request -"/cloudresourcemanager:v1/OrganizationOwner": organization_owner -"/cloudresourcemanager:v1/OrganizationOwner/directoryCustomerId": directory_customer_id -"/cloudresourcemanager:v1/ListProjectsResponse": list_projects_response -"/cloudresourcemanager:v1/ListProjectsResponse/nextPageToken": next_page_token -"/cloudresourcemanager:v1/ListProjectsResponse/projects": projects -"/cloudresourcemanager:v1/ListProjectsResponse/projects/project": project +"/cloudresourcemanager:v1/Policy/version": version "/cloudresourcemanager:v1/Project": project -"/cloudresourcemanager:v1/Project/name": name -"/cloudresourcemanager:v1/Project/projectId": project_id -"/cloudresourcemanager:v1/Project/lifecycleState": lifecycle_state -"/cloudresourcemanager:v1/Project/projectNumber": project_number -"/cloudresourcemanager:v1/Project/parent": parent +"/cloudresourcemanager:v1/Project/createTime": create_time "/cloudresourcemanager:v1/Project/labels": labels "/cloudresourcemanager:v1/Project/labels/label": label -"/cloudresourcemanager:v1/Project/createTime": create_time -"/cloudresourcemanager:v1/ListOrgPoliciesResponse": list_org_policies_response -"/cloudresourcemanager:v1/ListOrgPoliciesResponse/policies": policies -"/cloudresourcemanager:v1/ListOrgPoliciesResponse/policies/policy": policy -"/cloudresourcemanager:v1/ListOrgPoliciesResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1/Project/lifecycleState": lifecycle_state +"/cloudresourcemanager:v1/Project/name": name +"/cloudresourcemanager:v1/Project/parent": parent +"/cloudresourcemanager:v1/Project/projectId": project_id +"/cloudresourcemanager:v1/Project/projectNumber": project_number +"/cloudresourcemanager:v1/ProjectCreationStatus": project_creation_status +"/cloudresourcemanager:v1/ProjectCreationStatus/createTime": create_time +"/cloudresourcemanager:v1/ProjectCreationStatus/gettable": gettable +"/cloudresourcemanager:v1/ProjectCreationStatus/ready": ready +"/cloudresourcemanager:v1/ResourceId": resource_id +"/cloudresourcemanager:v1/ResourceId/id": id +"/cloudresourcemanager:v1/ResourceId/type": type +"/cloudresourcemanager:v1/RestoreDefault": restore_default +"/cloudresourcemanager:v1/SearchOrganizationsRequest": search_organizations_request +"/cloudresourcemanager:v1/SearchOrganizationsRequest/filter": filter +"/cloudresourcemanager:v1/SearchOrganizationsRequest/pageSize": page_size +"/cloudresourcemanager:v1/SearchOrganizationsRequest/pageToken": page_token "/cloudresourcemanager:v1/SearchOrganizationsResponse": search_organizations_response "/cloudresourcemanager:v1/SearchOrganizationsResponse/nextPageToken": next_page_token "/cloudresourcemanager:v1/SearchOrganizationsResponse/organizations": organizations "/cloudresourcemanager:v1/SearchOrganizationsResponse/organizations/organization": organization -"/cloudresourcemanager:v1/FolderOperationError": folder_operation_error -"/cloudresourcemanager:v1/FolderOperationError/errorMessageId": error_message_id -"/cloudresourcemanager:v1/OrgPolicy": org_policy -"/cloudresourcemanager:v1/OrgPolicy/updateTime": update_time -"/cloudresourcemanager:v1/OrgPolicy/version": version -"/cloudresourcemanager:v1/OrgPolicy/restoreDefault": restore_default -"/cloudresourcemanager:v1/OrgPolicy/listPolicy": list_policy -"/cloudresourcemanager:v1/OrgPolicy/etag": etag -"/cloudresourcemanager:v1/OrgPolicy/constraint": constraint -"/cloudresourcemanager:v1/OrgPolicy/booleanPolicy": boolean_policy -"/cloudresourcemanager:v1/BooleanPolicy": boolean_policy -"/cloudresourcemanager:v1/BooleanPolicy/enforced": enforced -"/cloudresourcemanager:v1/Lien": lien -"/cloudresourcemanager:v1/Lien/name": name -"/cloudresourcemanager:v1/Lien/reason": reason -"/cloudresourcemanager:v1/Lien/origin": origin -"/cloudresourcemanager:v1/Lien/restrictions": restrictions -"/cloudresourcemanager:v1/Lien/restrictions/restriction": restriction -"/cloudresourcemanager:v1/Lien/parent": parent -"/cloudresourcemanager:v1/Lien/createTime": create_time -"/cloudresourcemanager:v1beta1/key": key -"/cloudresourcemanager:v1beta1/quotaUser": quota_user -"/cloudresourcemanager:v1beta1/fields": fields -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.setIamPolicy": set_project_iam_policy -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.setIamPolicy/resource": resource -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.create": create_project -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.create/useLegacyStack": use_legacy_stack -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getIamPolicy": get_project_iam_policy -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getIamPolicy/resource": resource -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.undelete": undelete_project -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.undelete/projectId": project_id -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.get": get_project -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.get/projectId": project_id -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getAncestry": get_project_ancestry -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getAncestry/projectId": project_id -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.update": update_project -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.update/projectId": project_id -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.testIamPermissions": test_project_iam_permissions -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.testIamPermissions/resource": resource -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.delete": delete_project -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.delete/projectId": project_id -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list": list_projects -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list/filter": filter -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list/pageToken": page_token -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list/pageSize": page_size -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list": list_organizations -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list/filter": filter -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list/pageToken": page_token -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list/pageSize": page_size -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setIamPolicy": set_organization_iam_policy -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setIamPolicy/resource": resource -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getIamPolicy": get_organization_iam_policy -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getIamPolicy/resource": resource -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.get": get_organization -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.get/organizationId": organization_id -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.get/name": name -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.update": update_organization -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.update/name": name -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.testIamPermissions": test_organization_iam_permissions -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.testIamPermissions/resource": resource -"/cloudresourcemanager:v1beta1/AuditConfig": audit_config -"/cloudresourcemanager:v1beta1/AuditConfig/service": service -"/cloudresourcemanager:v1beta1/AuditConfig/auditLogConfigs": audit_log_configs -"/cloudresourcemanager:v1beta1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/cloudresourcemanager:v1/SetIamPolicyRequest": set_iam_policy_request +"/cloudresourcemanager:v1/SetIamPolicyRequest/policy": policy +"/cloudresourcemanager:v1/SetIamPolicyRequest/updateMask": update_mask +"/cloudresourcemanager:v1/SetOrgPolicyRequest": set_org_policy_request +"/cloudresourcemanager:v1/SetOrgPolicyRequest/policy": policy +"/cloudresourcemanager:v1/Status": status +"/cloudresourcemanager:v1/Status/code": code +"/cloudresourcemanager:v1/Status/details": details +"/cloudresourcemanager:v1/Status/details/detail": detail +"/cloudresourcemanager:v1/Status/details/detail/detail": detail +"/cloudresourcemanager:v1/Status/message": message +"/cloudresourcemanager:v1/TestIamPermissionsRequest": test_iam_permissions_request +"/cloudresourcemanager:v1/TestIamPermissionsRequest/permissions": permissions +"/cloudresourcemanager:v1/TestIamPermissionsRequest/permissions/permission": permission +"/cloudresourcemanager:v1/TestIamPermissionsResponse": test_iam_permissions_response +"/cloudresourcemanager:v1/TestIamPermissionsResponse/permissions": permissions +"/cloudresourcemanager:v1/TestIamPermissionsResponse/permissions/permission": permission +"/cloudresourcemanager:v1/UndeleteProjectRequest": undelete_project_request +"/cloudresourcemanager:v1/cloudresourcemanager.folders.clearOrgPolicy": clear_folder_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.folders.clearOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.folders.getEffectiveOrgPolicy": get_folder_effective_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.folders.getEffectiveOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.folders.getOrgPolicy": get_folder_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.folders.getOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.folders.listAvailableOrgPolicyConstraints": list_folder_available_org_policy_constraints +"/cloudresourcemanager:v1/cloudresourcemanager.folders.listAvailableOrgPolicyConstraints/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.folders.listOrgPolicies": list_folder_org_policies +"/cloudresourcemanager:v1/cloudresourcemanager.folders.listOrgPolicies/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.folders.setOrgPolicy": set_folder_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.folders.setOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.liens.create": create_lien +"/cloudresourcemanager:v1/cloudresourcemanager.liens.delete": delete_lien +"/cloudresourcemanager:v1/cloudresourcemanager.liens.delete/name": name +"/cloudresourcemanager:v1/cloudresourcemanager.liens.list": list_liens +"/cloudresourcemanager:v1/cloudresourcemanager.liens.list/pageSize": page_size +"/cloudresourcemanager:v1/cloudresourcemanager.liens.list/pageToken": page_token +"/cloudresourcemanager:v1/cloudresourcemanager.liens.list/parent": parent +"/cloudresourcemanager:v1/cloudresourcemanager.operations.get": get_operation +"/cloudresourcemanager:v1/cloudresourcemanager.operations.get/name": name +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicy": clear_organization_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.get": get_organization +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.get/name": name +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getEffectiveOrgPolicy": get_organization_effective_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getEffectiveOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getIamPolicy": get_organization_iam_policy +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getIamPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getOrgPolicy": get_organization_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints": list_organization_available_org_policy_constraints +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listOrgPolicies": list_organization_org_policies +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listOrgPolicies/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.search": search_organizations +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setIamPolicy": set_organization_iam_policy +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setIamPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicy": set_organization_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.testIamPermissions": test_organization_iam_permissions +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.testIamPermissions/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicy": clear_project_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.create": create_project +"/cloudresourcemanager:v1/cloudresourcemanager.projects.delete": delete_project +"/cloudresourcemanager:v1/cloudresourcemanager.projects.delete/projectId": project_id +"/cloudresourcemanager:v1/cloudresourcemanager.projects.get": get_project +"/cloudresourcemanager:v1/cloudresourcemanager.projects.get/projectId": project_id +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getAncestry": get_project_ancestry +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getAncestry/projectId": project_id +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getEffectiveOrgPolicy": get_project_effective_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getEffectiveOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getIamPolicy": get_project_iam_policy +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getIamPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getOrgPolicy": get_project_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.list": list_projects +"/cloudresourcemanager:v1/cloudresourcemanager.projects.list/filter": filter +"/cloudresourcemanager:v1/cloudresourcemanager.projects.list/pageSize": page_size +"/cloudresourcemanager:v1/cloudresourcemanager.projects.list/pageToken": page_token +"/cloudresourcemanager:v1/cloudresourcemanager.projects.listAvailableOrgPolicyConstraints": list_project_available_org_policy_constraints +"/cloudresourcemanager:v1/cloudresourcemanager.projects.listAvailableOrgPolicyConstraints/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.listOrgPolicies": list_project_org_policies +"/cloudresourcemanager:v1/cloudresourcemanager.projects.listOrgPolicies/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.setIamPolicy": set_project_iam_policy +"/cloudresourcemanager:v1/cloudresourcemanager.projects.setIamPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.setOrgPolicy": set_project_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.projects.setOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.testIamPermissions": test_project_iam_permissions +"/cloudresourcemanager:v1/cloudresourcemanager.projects.testIamPermissions/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.undelete": undelete_project +"/cloudresourcemanager:v1/cloudresourcemanager.projects.undelete/projectId": project_id +"/cloudresourcemanager:v1/cloudresourcemanager.projects.update": update_project +"/cloudresourcemanager:v1/cloudresourcemanager.projects.update/projectId": project_id +"/cloudresourcemanager:v1/fields": fields +"/cloudresourcemanager:v1/key": key +"/cloudresourcemanager:v1/quotaUser": quota_user "/cloudresourcemanager:v1beta1/Ancestor": ancestor "/cloudresourcemanager:v1beta1/Ancestor/resourceId": resource_id -"/cloudresourcemanager:v1beta1/ListOrganizationsResponse": list_organizations_response -"/cloudresourcemanager:v1beta1/ListOrganizationsResponse/nextPageToken": next_page_token -"/cloudresourcemanager:v1beta1/ListOrganizationsResponse/organizations": organizations -"/cloudresourcemanager:v1beta1/ListOrganizationsResponse/organizations/organization": organization -"/cloudresourcemanager:v1beta1/SetIamPolicyRequest": set_iam_policy_request -"/cloudresourcemanager:v1beta1/SetIamPolicyRequest/policy": policy -"/cloudresourcemanager:v1beta1/SetIamPolicyRequest/updateMask": update_mask +"/cloudresourcemanager:v1beta1/AuditConfig": audit_config +"/cloudresourcemanager:v1beta1/AuditConfig/auditLogConfigs": audit_log_configs +"/cloudresourcemanager:v1beta1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/cloudresourcemanager:v1beta1/AuditConfig/service": service +"/cloudresourcemanager:v1beta1/AuditLogConfig": audit_log_config +"/cloudresourcemanager:v1beta1/AuditLogConfig/exemptedMembers": exempted_members +"/cloudresourcemanager:v1beta1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member +"/cloudresourcemanager:v1beta1/AuditLogConfig/logType": log_type "/cloudresourcemanager:v1beta1/Binding": binding "/cloudresourcemanager:v1beta1/Binding/members": members "/cloudresourcemanager:v1beta1/Binding/members/member": member "/cloudresourcemanager:v1beta1/Binding/role": role "/cloudresourcemanager:v1beta1/Empty": empty -"/cloudresourcemanager:v1beta1/UndeleteProjectRequest": undelete_project_request -"/cloudresourcemanager:v1beta1/Organization": organization -"/cloudresourcemanager:v1beta1/Organization/creationTime": creation_time -"/cloudresourcemanager:v1beta1/Organization/owner": owner -"/cloudresourcemanager:v1beta1/Organization/name": name -"/cloudresourcemanager:v1beta1/Organization/organizationId": organization_id -"/cloudresourcemanager:v1beta1/Organization/lifecycleState": lifecycle_state -"/cloudresourcemanager:v1beta1/Organization/displayName": display_name -"/cloudresourcemanager:v1beta1/ProjectCreationStatus": project_creation_status -"/cloudresourcemanager:v1beta1/ProjectCreationStatus/ready": ready -"/cloudresourcemanager:v1beta1/ProjectCreationStatus/gettable": gettable -"/cloudresourcemanager:v1beta1/ProjectCreationStatus/createTime": create_time -"/cloudresourcemanager:v1beta1/TestIamPermissionsResponse": test_iam_permissions_response -"/cloudresourcemanager:v1beta1/TestIamPermissionsResponse/permissions": permissions -"/cloudresourcemanager:v1beta1/TestIamPermissionsResponse/permissions/permission": permission -"/cloudresourcemanager:v1beta1/GetIamPolicyRequest": get_iam_policy_request +"/cloudresourcemanager:v1beta1/FolderOperation": folder_operation +"/cloudresourcemanager:v1beta1/FolderOperation/destinationParent": destination_parent +"/cloudresourcemanager:v1beta1/FolderOperation/displayName": display_name +"/cloudresourcemanager:v1beta1/FolderOperation/operationType": operation_type +"/cloudresourcemanager:v1beta1/FolderOperation/sourceParent": source_parent +"/cloudresourcemanager:v1beta1/FolderOperationError": folder_operation_error +"/cloudresourcemanager:v1beta1/FolderOperationError/errorMessageId": error_message_id +"/cloudresourcemanager:v1beta1/GetAncestryRequest": get_ancestry_request "/cloudresourcemanager:v1beta1/GetAncestryResponse": get_ancestry_response "/cloudresourcemanager:v1beta1/GetAncestryResponse/ancestor": ancestor "/cloudresourcemanager:v1beta1/GetAncestryResponse/ancestor/ancestor": ancestor -"/cloudresourcemanager:v1beta1/OrganizationOwner": organization_owner -"/cloudresourcemanager:v1beta1/OrganizationOwner/directoryCustomerId": directory_customer_id +"/cloudresourcemanager:v1beta1/GetIamPolicyRequest": get_iam_policy_request +"/cloudresourcemanager:v1beta1/ListOrganizationsResponse": list_organizations_response +"/cloudresourcemanager:v1beta1/ListOrganizationsResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1beta1/ListOrganizationsResponse/organizations": organizations +"/cloudresourcemanager:v1beta1/ListOrganizationsResponse/organizations/organization": organization "/cloudresourcemanager:v1beta1/ListProjectsResponse": list_projects_response +"/cloudresourcemanager:v1beta1/ListProjectsResponse/nextPageToken": next_page_token "/cloudresourcemanager:v1beta1/ListProjectsResponse/projects": projects "/cloudresourcemanager:v1beta1/ListProjectsResponse/projects/project": project -"/cloudresourcemanager:v1beta1/ListProjectsResponse/nextPageToken": next_page_token -"/cloudresourcemanager:v1beta1/AuditLogConfig": audit_log_config -"/cloudresourcemanager:v1beta1/AuditLogConfig/exemptedMembers": exempted_members -"/cloudresourcemanager:v1beta1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member -"/cloudresourcemanager:v1beta1/AuditLogConfig/logType": log_type -"/cloudresourcemanager:v1beta1/GetAncestryRequest": get_ancestry_request -"/cloudresourcemanager:v1beta1/Project": project -"/cloudresourcemanager:v1beta1/Project/lifecycleState": lifecycle_state -"/cloudresourcemanager:v1beta1/Project/projectNumber": project_number -"/cloudresourcemanager:v1beta1/Project/parent": parent -"/cloudresourcemanager:v1beta1/Project/labels": labels -"/cloudresourcemanager:v1beta1/Project/labels/label": label -"/cloudresourcemanager:v1beta1/Project/createTime": create_time -"/cloudresourcemanager:v1beta1/Project/name": name -"/cloudresourcemanager:v1beta1/Project/projectId": project_id -"/cloudresourcemanager:v1beta1/TestIamPermissionsRequest": test_iam_permissions_request -"/cloudresourcemanager:v1beta1/TestIamPermissionsRequest/permissions": permissions -"/cloudresourcemanager:v1beta1/TestIamPermissionsRequest/permissions/permission": permission -"/cloudresourcemanager:v1beta1/FolderOperationError": folder_operation_error -"/cloudresourcemanager:v1beta1/FolderOperationError/errorMessageId": error_message_id -"/cloudresourcemanager:v1beta1/FolderOperation": folder_operation -"/cloudresourcemanager:v1beta1/FolderOperation/operationType": operation_type -"/cloudresourcemanager:v1beta1/FolderOperation/sourceParent": source_parent -"/cloudresourcemanager:v1beta1/FolderOperation/displayName": display_name -"/cloudresourcemanager:v1beta1/FolderOperation/destinationParent": destination_parent +"/cloudresourcemanager:v1beta1/Organization": organization +"/cloudresourcemanager:v1beta1/Organization/creationTime": creation_time +"/cloudresourcemanager:v1beta1/Organization/displayName": display_name +"/cloudresourcemanager:v1beta1/Organization/lifecycleState": lifecycle_state +"/cloudresourcemanager:v1beta1/Organization/name": name +"/cloudresourcemanager:v1beta1/Organization/organizationId": organization_id +"/cloudresourcemanager:v1beta1/Organization/owner": owner +"/cloudresourcemanager:v1beta1/OrganizationOwner": organization_owner +"/cloudresourcemanager:v1beta1/OrganizationOwner/directoryCustomerId": directory_customer_id "/cloudresourcemanager:v1beta1/Policy": policy -"/cloudresourcemanager:v1beta1/Policy/etag": etag -"/cloudresourcemanager:v1beta1/Policy/version": version "/cloudresourcemanager:v1beta1/Policy/auditConfigs": audit_configs "/cloudresourcemanager:v1beta1/Policy/auditConfigs/audit_config": audit_config "/cloudresourcemanager:v1beta1/Policy/bindings": bindings "/cloudresourcemanager:v1beta1/Policy/bindings/binding": binding +"/cloudresourcemanager:v1beta1/Policy/etag": etag +"/cloudresourcemanager:v1beta1/Policy/version": version +"/cloudresourcemanager:v1beta1/Project": project +"/cloudresourcemanager:v1beta1/Project/createTime": create_time +"/cloudresourcemanager:v1beta1/Project/labels": labels +"/cloudresourcemanager:v1beta1/Project/labels/label": label +"/cloudresourcemanager:v1beta1/Project/lifecycleState": lifecycle_state +"/cloudresourcemanager:v1beta1/Project/name": name +"/cloudresourcemanager:v1beta1/Project/parent": parent +"/cloudresourcemanager:v1beta1/Project/projectId": project_id +"/cloudresourcemanager:v1beta1/Project/projectNumber": project_number +"/cloudresourcemanager:v1beta1/ProjectCreationStatus": project_creation_status +"/cloudresourcemanager:v1beta1/ProjectCreationStatus/createTime": create_time +"/cloudresourcemanager:v1beta1/ProjectCreationStatus/gettable": gettable +"/cloudresourcemanager:v1beta1/ProjectCreationStatus/ready": ready "/cloudresourcemanager:v1beta1/ResourceId": resource_id -"/cloudresourcemanager:v1beta1/ResourceId/type": type "/cloudresourcemanager:v1beta1/ResourceId/id": id -"/cloudtrace:v1/key": key -"/cloudtrace:v1/quotaUser": quota_user -"/cloudtrace:v1/fields": fields -"/cloudtrace:v1/cloudtrace.projects.patchTraces": patch_project_traces -"/cloudtrace:v1/cloudtrace.projects.patchTraces/projectId": project_id -"/cloudtrace:v1/cloudtrace.projects.traces.get": get_project_trace -"/cloudtrace:v1/cloudtrace.projects.traces.get/traceId": trace_id -"/cloudtrace:v1/cloudtrace.projects.traces.get/projectId": project_id -"/cloudtrace:v1/cloudtrace.projects.traces.list": list_project_traces -"/cloudtrace:v1/cloudtrace.projects.traces.list/orderBy": order_by -"/cloudtrace:v1/cloudtrace.projects.traces.list/projectId": project_id -"/cloudtrace:v1/cloudtrace.projects.traces.list/filter": filter -"/cloudtrace:v1/cloudtrace.projects.traces.list/endTime": end_time -"/cloudtrace:v1/cloudtrace.projects.traces.list/startTime": start_time -"/cloudtrace:v1/cloudtrace.projects.traces.list/pageToken": page_token -"/cloudtrace:v1/cloudtrace.projects.traces.list/pageSize": page_size -"/cloudtrace:v1/cloudtrace.projects.traces.list/view": view -"/cloudtrace:v1/Trace": trace -"/cloudtrace:v1/Trace/spans": spans -"/cloudtrace:v1/Trace/spans/span": span -"/cloudtrace:v1/Trace/projectId": project_id -"/cloudtrace:v1/Trace/traceId": trace_id -"/cloudtrace:v1/Traces": traces -"/cloudtrace:v1/Traces/traces": traces -"/cloudtrace:v1/Traces/traces/trace": trace -"/cloudtrace:v1/TraceSpan": trace_span -"/cloudtrace:v1/TraceSpan/parentSpanId": parent_span_id -"/cloudtrace:v1/TraceSpan/endTime": end_time -"/cloudtrace:v1/TraceSpan/startTime": start_time -"/cloudtrace:v1/TraceSpan/kind": kind -"/cloudtrace:v1/TraceSpan/labels": labels -"/cloudtrace:v1/TraceSpan/labels/label": label -"/cloudtrace:v1/TraceSpan/name": name -"/cloudtrace:v1/TraceSpan/spanId": span_id +"/cloudresourcemanager:v1beta1/ResourceId/type": type +"/cloudresourcemanager:v1beta1/SetIamPolicyRequest": set_iam_policy_request +"/cloudresourcemanager:v1beta1/SetIamPolicyRequest/policy": policy +"/cloudresourcemanager:v1beta1/SetIamPolicyRequest/updateMask": update_mask +"/cloudresourcemanager:v1beta1/TestIamPermissionsRequest": test_iam_permissions_request +"/cloudresourcemanager:v1beta1/TestIamPermissionsRequest/permissions": permissions +"/cloudresourcemanager:v1beta1/TestIamPermissionsRequest/permissions/permission": permission +"/cloudresourcemanager:v1beta1/TestIamPermissionsResponse": test_iam_permissions_response +"/cloudresourcemanager:v1beta1/TestIamPermissionsResponse/permissions": permissions +"/cloudresourcemanager:v1beta1/TestIamPermissionsResponse/permissions/permission": permission +"/cloudresourcemanager:v1beta1/UndeleteProjectRequest": undelete_project_request +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.get": get_organization +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.get/name": name +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.get/organizationId": organization_id +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getIamPolicy": get_organization_iam_policy +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getIamPolicy/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list": list_organizations +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list/filter": filter +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list/pageSize": page_size +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list/pageToken": page_token +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setIamPolicy": set_organization_iam_policy +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setIamPolicy/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.testIamPermissions": test_organization_iam_permissions +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.testIamPermissions/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.update": update_organization +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.update/name": name +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.create": create_project +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.create/useLegacyStack": use_legacy_stack +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.delete": delete_project +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.delete/projectId": project_id +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.get": get_project +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.get/projectId": project_id +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getAncestry": get_project_ancestry +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getAncestry/projectId": project_id +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getIamPolicy": get_project_iam_policy +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getIamPolicy/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list": list_projects +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list/filter": filter +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list/pageSize": page_size +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list/pageToken": page_token +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.setIamPolicy": set_project_iam_policy +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.setIamPolicy/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.testIamPermissions": test_project_iam_permissions +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.testIamPermissions/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.undelete": undelete_project +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.undelete/projectId": project_id +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.update": update_project +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.update/projectId": project_id +"/cloudresourcemanager:v1beta1/fields": fields +"/cloudresourcemanager:v1beta1/key": key +"/cloudresourcemanager:v1beta1/quotaUser": quota_user "/cloudtrace:v1/Empty": empty "/cloudtrace:v1/ListTracesResponse": list_traces_response "/cloudtrace:v1/ListTracesResponse/nextPageToken": next_page_token "/cloudtrace:v1/ListTracesResponse/traces": traces "/cloudtrace:v1/ListTracesResponse/traces/trace": trace -"/clouduseraccounts:beta/fields": fields -"/clouduseraccounts:beta/key": key -"/clouduseraccounts:beta/quotaUser": quota_user -"/clouduseraccounts:beta/userIp": user_ip -"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.delete": delete_global_accounts_operation -"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.delete/operation": operation -"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.delete/project": project -"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.get": get_global_accounts_operation -"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.get/operation": operation -"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.get/project": project -"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.list": list_global_accounts_operations -"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.list/filter": filter -"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.list/maxResults": max_results -"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.list/orderBy": order_by -"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.list/pageToken": page_token -"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.list/project": project -"/clouduseraccounts:beta/clouduseraccounts.groups.addMember": add_group_member -"/clouduseraccounts:beta/clouduseraccounts.groups.addMember/groupName": group_name -"/clouduseraccounts:beta/clouduseraccounts.groups.addMember/project": project -"/clouduseraccounts:beta/clouduseraccounts.groups.delete": delete_group -"/clouduseraccounts:beta/clouduseraccounts.groups.delete/groupName": group_name -"/clouduseraccounts:beta/clouduseraccounts.groups.delete/project": project -"/clouduseraccounts:beta/clouduseraccounts.groups.get": get_group -"/clouduseraccounts:beta/clouduseraccounts.groups.get/groupName": group_name -"/clouduseraccounts:beta/clouduseraccounts.groups.get/project": project -"/clouduseraccounts:beta/clouduseraccounts.groups.insert": insert_group -"/clouduseraccounts:beta/clouduseraccounts.groups.insert/project": project -"/clouduseraccounts:beta/clouduseraccounts.groups.list": list_groups -"/clouduseraccounts:beta/clouduseraccounts.groups.list/filter": filter -"/clouduseraccounts:beta/clouduseraccounts.groups.list/maxResults": max_results -"/clouduseraccounts:beta/clouduseraccounts.groups.list/orderBy": order_by -"/clouduseraccounts:beta/clouduseraccounts.groups.list/pageToken": page_token -"/clouduseraccounts:beta/clouduseraccounts.groups.list/project": project -"/clouduseraccounts:beta/clouduseraccounts.groups.removeMember": remove_group_member -"/clouduseraccounts:beta/clouduseraccounts.groups.removeMember/groupName": group_name -"/clouduseraccounts:beta/clouduseraccounts.groups.removeMember/project": project -"/clouduseraccounts:beta/clouduseraccounts.linux.getAuthorizedKeysView": get_linux_authorized_keys_view -"/clouduseraccounts:beta/clouduseraccounts.linux.getAuthorizedKeysView/instance": instance -"/clouduseraccounts:beta/clouduseraccounts.linux.getAuthorizedKeysView/login": login -"/clouduseraccounts:beta/clouduseraccounts.linux.getAuthorizedKeysView/project": project -"/clouduseraccounts:beta/clouduseraccounts.linux.getAuthorizedKeysView/user": user -"/clouduseraccounts:beta/clouduseraccounts.linux.getAuthorizedKeysView/zone": zone -"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews": get_linux_linux_account_views -"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews/filter": filter -"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews/instance": instance -"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews/maxResults": max_results -"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews/orderBy": order_by -"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews/pageToken": page_token -"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews/project": project -"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews/zone": zone -"/clouduseraccounts:beta/clouduseraccounts.users.addPublicKey": add_user_public_key -"/clouduseraccounts:beta/clouduseraccounts.users.addPublicKey/project": project -"/clouduseraccounts:beta/clouduseraccounts.users.addPublicKey/user": user -"/clouduseraccounts:beta/clouduseraccounts.users.delete": delete_user -"/clouduseraccounts:beta/clouduseraccounts.users.delete/project": project -"/clouduseraccounts:beta/clouduseraccounts.users.delete/user": user -"/clouduseraccounts:beta/clouduseraccounts.users.get": get_user -"/clouduseraccounts:beta/clouduseraccounts.users.get/project": project -"/clouduseraccounts:beta/clouduseraccounts.users.get/user": user -"/clouduseraccounts:beta/clouduseraccounts.users.insert": insert_user -"/clouduseraccounts:beta/clouduseraccounts.users.insert/project": project -"/clouduseraccounts:beta/clouduseraccounts.users.list": list_users -"/clouduseraccounts:beta/clouduseraccounts.users.list/filter": filter -"/clouduseraccounts:beta/clouduseraccounts.users.list/maxResults": max_results -"/clouduseraccounts:beta/clouduseraccounts.users.list/orderBy": order_by -"/clouduseraccounts:beta/clouduseraccounts.users.list/pageToken": page_token -"/clouduseraccounts:beta/clouduseraccounts.users.list/project": project -"/clouduseraccounts:beta/clouduseraccounts.users.removePublicKey": remove_user_public_key -"/clouduseraccounts:beta/clouduseraccounts.users.removePublicKey/fingerprint": fingerprint -"/clouduseraccounts:beta/clouduseraccounts.users.removePublicKey/project": project -"/clouduseraccounts:beta/clouduseraccounts.users.removePublicKey/user": user +"/cloudtrace:v1/Trace": trace +"/cloudtrace:v1/Trace/projectId": project_id +"/cloudtrace:v1/Trace/spans": spans +"/cloudtrace:v1/Trace/spans/span": span +"/cloudtrace:v1/Trace/traceId": trace_id +"/cloudtrace:v1/TraceSpan": trace_span +"/cloudtrace:v1/TraceSpan/endTime": end_time +"/cloudtrace:v1/TraceSpan/kind": kind +"/cloudtrace:v1/TraceSpan/labels": labels +"/cloudtrace:v1/TraceSpan/labels/label": label +"/cloudtrace:v1/TraceSpan/name": name +"/cloudtrace:v1/TraceSpan/parentSpanId": parent_span_id +"/cloudtrace:v1/TraceSpan/spanId": span_id +"/cloudtrace:v1/TraceSpan/startTime": start_time +"/cloudtrace:v1/Traces": traces +"/cloudtrace:v1/Traces/traces": traces +"/cloudtrace:v1/Traces/traces/trace": trace +"/cloudtrace:v1/cloudtrace.projects.patchTraces": patch_project_traces +"/cloudtrace:v1/cloudtrace.projects.patchTraces/projectId": project_id +"/cloudtrace:v1/cloudtrace.projects.traces.get": get_project_trace +"/cloudtrace:v1/cloudtrace.projects.traces.get/projectId": project_id +"/cloudtrace:v1/cloudtrace.projects.traces.get/traceId": trace_id +"/cloudtrace:v1/cloudtrace.projects.traces.list": list_project_traces +"/cloudtrace:v1/cloudtrace.projects.traces.list/endTime": end_time +"/cloudtrace:v1/cloudtrace.projects.traces.list/filter": filter +"/cloudtrace:v1/cloudtrace.projects.traces.list/orderBy": order_by +"/cloudtrace:v1/cloudtrace.projects.traces.list/pageSize": page_size +"/cloudtrace:v1/cloudtrace.projects.traces.list/pageToken": page_token +"/cloudtrace:v1/cloudtrace.projects.traces.list/projectId": project_id +"/cloudtrace:v1/cloudtrace.projects.traces.list/startTime": start_time +"/cloudtrace:v1/cloudtrace.projects.traces.list/view": view +"/cloudtrace:v1/fields": fields +"/cloudtrace:v1/key": key +"/cloudtrace:v1/quotaUser": quota_user +"/cloudtrace:v2/Annotation": annotation +"/cloudtrace:v2/Annotation/attributes": attributes +"/cloudtrace:v2/Annotation/description": description +"/cloudtrace:v2/AttributeValue": attribute_value +"/cloudtrace:v2/AttributeValue/boolValue": bool_value +"/cloudtrace:v2/AttributeValue/intValue": int_value +"/cloudtrace:v2/AttributeValue/stringValue": string_value +"/cloudtrace:v2/Attributes": attributes +"/cloudtrace:v2/Attributes/attributeMap": attribute_map +"/cloudtrace:v2/Attributes/attributeMap/attribute_map": attribute_map +"/cloudtrace:v2/Attributes/droppedAttributesCount": dropped_attributes_count +"/cloudtrace:v2/BatchWriteSpansRequest": batch_write_spans_request +"/cloudtrace:v2/BatchWriteSpansRequest/spans": spans +"/cloudtrace:v2/BatchWriteSpansRequest/spans/span": span +"/cloudtrace:v2/Empty": empty +"/cloudtrace:v2/Link": link +"/cloudtrace:v2/Link/attributes": attributes +"/cloudtrace:v2/Link/spanId": span_id +"/cloudtrace:v2/Link/traceId": trace_id +"/cloudtrace:v2/Link/type": type +"/cloudtrace:v2/Links": links +"/cloudtrace:v2/Links/droppedLinksCount": dropped_links_count +"/cloudtrace:v2/Links/link": link +"/cloudtrace:v2/Links/link/link": link +"/cloudtrace:v2/ListSpansResponse": list_spans_response +"/cloudtrace:v2/ListSpansResponse/nextPageToken": next_page_token +"/cloudtrace:v2/ListSpansResponse/spans": spans +"/cloudtrace:v2/ListSpansResponse/spans/span": span +"/cloudtrace:v2/ListTracesResponse": list_traces_response +"/cloudtrace:v2/ListTracesResponse/nextPageToken": next_page_token +"/cloudtrace:v2/ListTracesResponse/traces": traces +"/cloudtrace:v2/ListTracesResponse/traces/trace": trace +"/cloudtrace:v2/Module": module +"/cloudtrace:v2/Module/buildId": build_id +"/cloudtrace:v2/Module/module": module +"/cloudtrace:v2/NetworkEvent": network_event +"/cloudtrace:v2/NetworkEvent/messageId": message_id +"/cloudtrace:v2/NetworkEvent/messageSize": message_size +"/cloudtrace:v2/NetworkEvent/time": time +"/cloudtrace:v2/NetworkEvent/type": type +"/cloudtrace:v2/Span": span +"/cloudtrace:v2/Span/attributes": attributes +"/cloudtrace:v2/Span/childSpanCount": child_span_count +"/cloudtrace:v2/Span/displayName": display_name +"/cloudtrace:v2/Span/endTime": end_time +"/cloudtrace:v2/Span/links": links +"/cloudtrace:v2/Span/name": name +"/cloudtrace:v2/Span/parentSpanId": parent_span_id +"/cloudtrace:v2/Span/sameProcessAsParentSpan": same_process_as_parent_span +"/cloudtrace:v2/Span/spanId": span_id +"/cloudtrace:v2/Span/stackTrace": stack_trace +"/cloudtrace:v2/Span/startTime": start_time +"/cloudtrace:v2/Span/status": status +"/cloudtrace:v2/Span/timeEvents": time_events +"/cloudtrace:v2/StackFrame": stack_frame +"/cloudtrace:v2/StackFrame/columnNumber": column_number +"/cloudtrace:v2/StackFrame/fileName": file_name +"/cloudtrace:v2/StackFrame/functionName": function_name +"/cloudtrace:v2/StackFrame/lineNumber": line_number +"/cloudtrace:v2/StackFrame/loadModule": load_module +"/cloudtrace:v2/StackFrame/originalFunctionName": original_function_name +"/cloudtrace:v2/StackFrame/sourceVersion": source_version +"/cloudtrace:v2/StackFrames": stack_frames +"/cloudtrace:v2/StackFrames/droppedFramesCount": dropped_frames_count +"/cloudtrace:v2/StackFrames/frame": frame +"/cloudtrace:v2/StackFrames/frame/frame": frame +"/cloudtrace:v2/StackTrace": stack_trace +"/cloudtrace:v2/StackTrace/stackFrames": stack_frames +"/cloudtrace:v2/StackTrace/stackTraceHashId": stack_trace_hash_id +"/cloudtrace:v2/Status": status +"/cloudtrace:v2/Status/code": code +"/cloudtrace:v2/Status/details": details +"/cloudtrace:v2/Status/details/detail": detail +"/cloudtrace:v2/Status/details/detail/detail": detail +"/cloudtrace:v2/Status/message": message +"/cloudtrace:v2/TimeEvent": time_event +"/cloudtrace:v2/TimeEvent/annotation": annotation +"/cloudtrace:v2/TimeEvent/networkEvent": network_event +"/cloudtrace:v2/TimeEvent/time": time +"/cloudtrace:v2/TimeEvents": time_events +"/cloudtrace:v2/TimeEvents/droppedAnnotationsCount": dropped_annotations_count +"/cloudtrace:v2/TimeEvents/droppedNetworkEventsCount": dropped_network_events_count +"/cloudtrace:v2/TimeEvents/timeEvent": time_event +"/cloudtrace:v2/TimeEvents/timeEvent/time_event": time_event +"/cloudtrace:v2/Trace": trace +"/cloudtrace:v2/Trace/name": name +"/cloudtrace:v2/TruncatableString": truncatable_string +"/cloudtrace:v2/TruncatableString/truncatedByteCount": truncated_byte_count +"/cloudtrace:v2/TruncatableString/value": value +"/cloudtrace:v2/cloudtrace.projects.traces.batchWrite": batch_trace_write_spans +"/cloudtrace:v2/cloudtrace.projects.traces.batchWrite/name": name +"/cloudtrace:v2/cloudtrace.projects.traces.list": list_project_traces +"/cloudtrace:v2/cloudtrace.projects.traces.list/endTime": end_time +"/cloudtrace:v2/cloudtrace.projects.traces.list/filter": filter +"/cloudtrace:v2/cloudtrace.projects.traces.list/orderBy": order_by +"/cloudtrace:v2/cloudtrace.projects.traces.list/pageSize": page_size +"/cloudtrace:v2/cloudtrace.projects.traces.list/pageToken": page_token +"/cloudtrace:v2/cloudtrace.projects.traces.list/parent": parent +"/cloudtrace:v2/cloudtrace.projects.traces.list/startTime": start_time +"/cloudtrace:v2/cloudtrace.projects.traces.listSpans": list_project_trace_spans +"/cloudtrace:v2/cloudtrace.projects.traces.listSpans/pageToken": page_token +"/cloudtrace:v2/cloudtrace.projects.traces.listSpans/parent": parent +"/cloudtrace:v2/cloudtrace.projects.traces.spans.create": create_project_trace_span +"/cloudtrace:v2/cloudtrace.projects.traces.spans.create/name": name +"/cloudtrace:v2/fields": fields +"/cloudtrace:v2/key": key +"/cloudtrace:v2/quotaUser": quota_user "/clouduseraccounts:beta/AuthorizedKeysView": authorized_keys_view "/clouduseraccounts:beta/AuthorizedKeysView/keys": keys "/clouduseraccounts:beta/AuthorizedKeysView/keys/key": key @@ -15052,1145 +10662,3973 @@ "/clouduseraccounts:beta/UserList/kind": kind "/clouduseraccounts:beta/UserList/nextPageToken": next_page_token "/clouduseraccounts:beta/UserList/selfLink": self_link -"/compute:v1/fields": fields -"/compute:v1/key": key -"/compute:v1/quotaUser": quota_user -"/compute:v1/userIp": user_ip -"/compute:v1/compute.acceleratorTypes.aggregatedList": aggregated_accelerator_type_list -"/compute:v1/compute.acceleratorTypes.aggregatedList/filter": filter -"/compute:v1/compute.acceleratorTypes.aggregatedList/maxResults": max_results -"/compute:v1/compute.acceleratorTypes.aggregatedList/orderBy": order_by -"/compute:v1/compute.acceleratorTypes.aggregatedList/pageToken": page_token -"/compute:v1/compute.acceleratorTypes.aggregatedList/project": project -"/compute:v1/compute.acceleratorTypes.get": get_accelerator_type -"/compute:v1/compute.acceleratorTypes.get/acceleratorType": accelerator_type -"/compute:v1/compute.acceleratorTypes.get/project": project -"/compute:v1/compute.acceleratorTypes.get/zone": zone -"/compute:v1/compute.acceleratorTypes.list": list_accelerator_types -"/compute:v1/compute.acceleratorTypes.list/filter": filter -"/compute:v1/compute.acceleratorTypes.list/maxResults": max_results -"/compute:v1/compute.acceleratorTypes.list/orderBy": order_by -"/compute:v1/compute.acceleratorTypes.list/pageToken": page_token -"/compute:v1/compute.acceleratorTypes.list/project": project -"/compute:v1/compute.acceleratorTypes.list/zone": zone -"/compute:v1/compute.addresses.aggregatedList/filter": filter -"/compute:v1/compute.addresses.aggregatedList/maxResults": max_results -"/compute:v1/compute.addresses.aggregatedList/orderBy": order_by -"/compute:v1/compute.addresses.aggregatedList/pageToken": page_token -"/compute:v1/compute.addresses.aggregatedList/project": project -"/compute:v1/compute.addresses.delete": delete_address -"/compute:v1/compute.addresses.delete/address": address -"/compute:v1/compute.addresses.delete/project": project -"/compute:v1/compute.addresses.delete/region": region -"/compute:v1/compute.addresses.get": get_address -"/compute:v1/compute.addresses.get/address": address -"/compute:v1/compute.addresses.get/project": project -"/compute:v1/compute.addresses.get/region": region -"/compute:v1/compute.addresses.insert": insert_address -"/compute:v1/compute.addresses.insert/project": project -"/compute:v1/compute.addresses.insert/region": region -"/compute:v1/compute.addresses.list": list_addresses -"/compute:v1/compute.addresses.list/filter": filter -"/compute:v1/compute.addresses.list/maxResults": max_results -"/compute:v1/compute.addresses.list/orderBy": order_by -"/compute:v1/compute.addresses.list/pageToken": page_token -"/compute:v1/compute.addresses.list/project": project -"/compute:v1/compute.addresses.list/region": region -"/compute:v1/compute.autoscalers.aggregatedList/filter": filter -"/compute:v1/compute.autoscalers.aggregatedList/maxResults": max_results -"/compute:v1/compute.autoscalers.aggregatedList/orderBy": order_by -"/compute:v1/compute.autoscalers.aggregatedList/pageToken": page_token -"/compute:v1/compute.autoscalers.aggregatedList/project": project -"/compute:v1/compute.autoscalers.delete": delete_autoscaler -"/compute:v1/compute.autoscalers.delete/autoscaler": autoscaler -"/compute:v1/compute.autoscalers.delete/project": project -"/compute:v1/compute.autoscalers.delete/zone": zone -"/compute:v1/compute.autoscalers.get": get_autoscaler -"/compute:v1/compute.autoscalers.get/autoscaler": autoscaler -"/compute:v1/compute.autoscalers.get/project": project -"/compute:v1/compute.autoscalers.get/zone": zone -"/compute:v1/compute.autoscalers.insert": insert_autoscaler -"/compute:v1/compute.autoscalers.insert/project": project -"/compute:v1/compute.autoscalers.insert/zone": zone -"/compute:v1/compute.autoscalers.list": list_autoscalers -"/compute:v1/compute.autoscalers.list/filter": filter -"/compute:v1/compute.autoscalers.list/maxResults": max_results -"/compute:v1/compute.autoscalers.list/orderBy": order_by -"/compute:v1/compute.autoscalers.list/pageToken": page_token -"/compute:v1/compute.autoscalers.list/project": project -"/compute:v1/compute.autoscalers.list/zone": zone -"/compute:v1/compute.autoscalers.patch": patch_autoscaler -"/compute:v1/compute.autoscalers.patch/autoscaler": autoscaler -"/compute:v1/compute.autoscalers.patch/project": project -"/compute:v1/compute.autoscalers.patch/zone": zone -"/compute:v1/compute.autoscalers.update": update_autoscaler -"/compute:v1/compute.autoscalers.update/autoscaler": autoscaler -"/compute:v1/compute.autoscalers.update/project": project -"/compute:v1/compute.autoscalers.update/zone": zone -"/compute:v1/compute.backendBuckets.delete": delete_backend_bucket -"/compute:v1/compute.backendBuckets.delete/backendBucket": backend_bucket -"/compute:v1/compute.backendBuckets.delete/project": project -"/compute:v1/compute.backendBuckets.get": get_backend_bucket -"/compute:v1/compute.backendBuckets.get/backendBucket": backend_bucket -"/compute:v1/compute.backendBuckets.get/project": project -"/compute:v1/compute.backendBuckets.insert": insert_backend_bucket -"/compute:v1/compute.backendBuckets.insert/project": project -"/compute:v1/compute.backendBuckets.list": list_backend_buckets -"/compute:v1/compute.backendBuckets.list/filter": filter -"/compute:v1/compute.backendBuckets.list/maxResults": max_results -"/compute:v1/compute.backendBuckets.list/orderBy": order_by -"/compute:v1/compute.backendBuckets.list/pageToken": page_token -"/compute:v1/compute.backendBuckets.list/project": project -"/compute:v1/compute.backendBuckets.patch": patch_backend_bucket -"/compute:v1/compute.backendBuckets.patch/backendBucket": backend_bucket -"/compute:v1/compute.backendBuckets.patch/project": project -"/compute:v1/compute.backendBuckets.update": update_backend_bucket -"/compute:v1/compute.backendBuckets.update/backendBucket": backend_bucket -"/compute:v1/compute.backendBuckets.update/project": project -"/compute:v1/compute.backendServices.aggregatedList": aggregated_backend_service_list -"/compute:v1/compute.backendServices.aggregatedList/filter": filter -"/compute:v1/compute.backendServices.aggregatedList/maxResults": max_results -"/compute:v1/compute.backendServices.aggregatedList/orderBy": order_by -"/compute:v1/compute.backendServices.aggregatedList/pageToken": page_token -"/compute:v1/compute.backendServices.aggregatedList/project": project -"/compute:v1/compute.backendServices.delete": delete_backend_service -"/compute:v1/compute.backendServices.delete/backendService": backend_service -"/compute:v1/compute.backendServices.delete/project": project -"/compute:v1/compute.backendServices.get": get_backend_service -"/compute:v1/compute.backendServices.get/backendService": backend_service -"/compute:v1/compute.backendServices.get/project": project -"/compute:v1/compute.backendServices.getHealth/backendService": backend_service -"/compute:v1/compute.backendServices.getHealth/project": project -"/compute:v1/compute.backendServices.insert": insert_backend_service -"/compute:v1/compute.backendServices.insert/project": project -"/compute:v1/compute.backendServices.list": list_backend_services -"/compute:v1/compute.backendServices.list/filter": filter -"/compute:v1/compute.backendServices.list/maxResults": max_results -"/compute:v1/compute.backendServices.list/orderBy": order_by -"/compute:v1/compute.backendServices.list/pageToken": page_token -"/compute:v1/compute.backendServices.list/project": project -"/compute:v1/compute.backendServices.patch": patch_backend_service -"/compute:v1/compute.backendServices.patch/backendService": backend_service -"/compute:v1/compute.backendServices.patch/project": project -"/compute:v1/compute.backendServices.update": update_backend_service -"/compute:v1/compute.backendServices.update/backendService": backend_service -"/compute:v1/compute.backendServices.update/project": project -"/compute:v1/compute.diskTypes.aggregatedList/filter": filter -"/compute:v1/compute.diskTypes.aggregatedList/maxResults": max_results -"/compute:v1/compute.diskTypes.aggregatedList/orderBy": order_by -"/compute:v1/compute.diskTypes.aggregatedList/pageToken": page_token -"/compute:v1/compute.diskTypes.aggregatedList/project": project -"/compute:v1/compute.diskTypes.get": get_disk_type -"/compute:v1/compute.diskTypes.get/diskType": disk_type -"/compute:v1/compute.diskTypes.get/project": project -"/compute:v1/compute.diskTypes.get/zone": zone -"/compute:v1/compute.diskTypes.list": list_disk_types -"/compute:v1/compute.diskTypes.list/filter": filter -"/compute:v1/compute.diskTypes.list/maxResults": max_results -"/compute:v1/compute.diskTypes.list/orderBy": order_by -"/compute:v1/compute.diskTypes.list/pageToken": page_token -"/compute:v1/compute.diskTypes.list/project": project -"/compute:v1/compute.diskTypes.list/zone": zone -"/compute:v1/compute.disks.aggregatedList/filter": filter -"/compute:v1/compute.disks.aggregatedList/maxResults": max_results -"/compute:v1/compute.disks.aggregatedList/orderBy": order_by -"/compute:v1/compute.disks.aggregatedList/pageToken": page_token -"/compute:v1/compute.disks.aggregatedList/project": project -"/compute:v1/compute.disks.createSnapshot/disk": disk -"/compute:v1/compute.disks.createSnapshot/guestFlush": guest_flush -"/compute:v1/compute.disks.createSnapshot/project": project -"/compute:v1/compute.disks.createSnapshot/zone": zone -"/compute:v1/compute.disks.delete": delete_disk -"/compute:v1/compute.disks.delete/disk": disk -"/compute:v1/compute.disks.delete/project": project -"/compute:v1/compute.disks.delete/zone": zone -"/compute:v1/compute.disks.get": get_disk -"/compute:v1/compute.disks.get/disk": disk -"/compute:v1/compute.disks.get/project": project -"/compute:v1/compute.disks.get/zone": zone -"/compute:v1/compute.disks.insert": insert_disk -"/compute:v1/compute.disks.insert/project": project -"/compute:v1/compute.disks.insert/sourceImage": source_image -"/compute:v1/compute.disks.insert/zone": zone -"/compute:v1/compute.disks.list": list_disks -"/compute:v1/compute.disks.list/filter": filter -"/compute:v1/compute.disks.list/maxResults": max_results -"/compute:v1/compute.disks.list/orderBy": order_by -"/compute:v1/compute.disks.list/pageToken": page_token -"/compute:v1/compute.disks.list/project": project -"/compute:v1/compute.disks.list/zone": zone -"/compute:v1/compute.disks.resize": resize_disk -"/compute:v1/compute.disks.resize/disk": disk -"/compute:v1/compute.disks.resize/project": project -"/compute:v1/compute.disks.resize/zone": zone -"/compute:v1/compute.disks.setLabels": set_disk_labels -"/compute:v1/compute.disks.setLabels/project": project -"/compute:v1/compute.disks.setLabels/resource": resource -"/compute:v1/compute.disks.setLabels/zone": zone -"/compute:v1/compute.firewalls.delete": delete_firewall -"/compute:v1/compute.firewalls.delete/firewall": firewall -"/compute:v1/compute.firewalls.delete/project": project -"/compute:v1/compute.firewalls.get": get_firewall -"/compute:v1/compute.firewalls.get/firewall": firewall -"/compute:v1/compute.firewalls.get/project": project -"/compute:v1/compute.firewalls.insert": insert_firewall -"/compute:v1/compute.firewalls.insert/project": project -"/compute:v1/compute.firewalls.list": list_firewalls -"/compute:v1/compute.firewalls.list/filter": filter -"/compute:v1/compute.firewalls.list/maxResults": max_results -"/compute:v1/compute.firewalls.list/orderBy": order_by -"/compute:v1/compute.firewalls.list/pageToken": page_token -"/compute:v1/compute.firewalls.list/project": project -"/compute:v1/compute.firewalls.patch": patch_firewall -"/compute:v1/compute.firewalls.patch/firewall": firewall -"/compute:v1/compute.firewalls.patch/project": project -"/compute:v1/compute.firewalls.update": update_firewall -"/compute:v1/compute.firewalls.update/firewall": firewall -"/compute:v1/compute.firewalls.update/project": project -"/compute:v1/compute.forwardingRules.aggregatedList/filter": filter -"/compute:v1/compute.forwardingRules.aggregatedList/maxResults": max_results -"/compute:v1/compute.forwardingRules.aggregatedList/orderBy": order_by -"/compute:v1/compute.forwardingRules.aggregatedList/pageToken": page_token -"/compute:v1/compute.forwardingRules.aggregatedList/project": project -"/compute:v1/compute.forwardingRules.delete": delete_forwarding_rule -"/compute:v1/compute.forwardingRules.delete/forwardingRule": forwarding_rule -"/compute:v1/compute.forwardingRules.delete/project": project -"/compute:v1/compute.forwardingRules.delete/region": region -"/compute:v1/compute.forwardingRules.get": get_forwarding_rule -"/compute:v1/compute.forwardingRules.get/forwardingRule": forwarding_rule -"/compute:v1/compute.forwardingRules.get/project": project -"/compute:v1/compute.forwardingRules.get/region": region -"/compute:v1/compute.forwardingRules.insert": insert_forwarding_rule -"/compute:v1/compute.forwardingRules.insert/project": project -"/compute:v1/compute.forwardingRules.insert/region": region -"/compute:v1/compute.forwardingRules.list": list_forwarding_rules -"/compute:v1/compute.forwardingRules.list/filter": filter -"/compute:v1/compute.forwardingRules.list/maxResults": max_results -"/compute:v1/compute.forwardingRules.list/orderBy": order_by -"/compute:v1/compute.forwardingRules.list/pageToken": page_token -"/compute:v1/compute.forwardingRules.list/project": project -"/compute:v1/compute.forwardingRules.list/region": region -"/compute:v1/compute.forwardingRules.setTarget/forwardingRule": forwarding_rule -"/compute:v1/compute.forwardingRules.setTarget/project": project -"/compute:v1/compute.forwardingRules.setTarget/region": region -"/compute:v1/compute.globalAddresses.delete": delete_global_address -"/compute:v1/compute.globalAddresses.delete/address": address -"/compute:v1/compute.globalAddresses.delete/project": project -"/compute:v1/compute.globalAddresses.get": get_global_address -"/compute:v1/compute.globalAddresses.get/address": address -"/compute:v1/compute.globalAddresses.get/project": project -"/compute:v1/compute.globalAddresses.insert": insert_global_address -"/compute:v1/compute.globalAddresses.insert/project": project -"/compute:v1/compute.globalAddresses.list": list_global_addresses -"/compute:v1/compute.globalAddresses.list/filter": filter -"/compute:v1/compute.globalAddresses.list/maxResults": max_results -"/compute:v1/compute.globalAddresses.list/orderBy": order_by -"/compute:v1/compute.globalAddresses.list/pageToken": page_token -"/compute:v1/compute.globalAddresses.list/project": project -"/compute:v1/compute.globalForwardingRules.delete": delete_global_forwarding_rule -"/compute:v1/compute.globalForwardingRules.delete/forwardingRule": forwarding_rule -"/compute:v1/compute.globalForwardingRules.delete/project": project -"/compute:v1/compute.globalForwardingRules.get": get_global_forwarding_rule -"/compute:v1/compute.globalForwardingRules.get/forwardingRule": forwarding_rule -"/compute:v1/compute.globalForwardingRules.get/project": project -"/compute:v1/compute.globalForwardingRules.insert": insert_global_forwarding_rule -"/compute:v1/compute.globalForwardingRules.insert/project": project -"/compute:v1/compute.globalForwardingRules.list": list_global_forwarding_rules -"/compute:v1/compute.globalForwardingRules.list/filter": filter -"/compute:v1/compute.globalForwardingRules.list/maxResults": max_results -"/compute:v1/compute.globalForwardingRules.list/orderBy": order_by -"/compute:v1/compute.globalForwardingRules.list/pageToken": page_token -"/compute:v1/compute.globalForwardingRules.list/project": project -"/compute:v1/compute.globalForwardingRules.setTarget/forwardingRule": forwarding_rule -"/compute:v1/compute.globalForwardingRules.setTarget/project": project -"/compute:v1/compute.globalOperations.aggregatedList/filter": filter -"/compute:v1/compute.globalOperations.aggregatedList/maxResults": max_results -"/compute:v1/compute.globalOperations.aggregatedList/orderBy": order_by -"/compute:v1/compute.globalOperations.aggregatedList/pageToken": page_token -"/compute:v1/compute.globalOperations.aggregatedList/project": project -"/compute:v1/compute.globalOperations.delete": delete_global_operation -"/compute:v1/compute.globalOperations.delete/operation": operation -"/compute:v1/compute.globalOperations.delete/project": project -"/compute:v1/compute.globalOperations.get": get_global_operation -"/compute:v1/compute.globalOperations.get/operation": operation -"/compute:v1/compute.globalOperations.get/project": project -"/compute:v1/compute.globalOperations.list": list_global_operations -"/compute:v1/compute.globalOperations.list/filter": filter -"/compute:v1/compute.globalOperations.list/maxResults": max_results -"/compute:v1/compute.globalOperations.list/orderBy": order_by -"/compute:v1/compute.globalOperations.list/pageToken": page_token -"/compute:v1/compute.globalOperations.list/project": project -"/compute:v1/compute.healthChecks.delete": delete_health_check -"/compute:v1/compute.healthChecks.delete/healthCheck": health_check -"/compute:v1/compute.healthChecks.delete/project": project -"/compute:v1/compute.healthChecks.get": get_health_check -"/compute:v1/compute.healthChecks.get/healthCheck": health_check -"/compute:v1/compute.healthChecks.get/project": project -"/compute:v1/compute.healthChecks.insert": insert_health_check -"/compute:v1/compute.healthChecks.insert/project": project -"/compute:v1/compute.healthChecks.list": list_health_checks -"/compute:v1/compute.healthChecks.list/filter": filter -"/compute:v1/compute.healthChecks.list/maxResults": max_results -"/compute:v1/compute.healthChecks.list/orderBy": order_by -"/compute:v1/compute.healthChecks.list/pageToken": page_token -"/compute:v1/compute.healthChecks.list/project": project -"/compute:v1/compute.healthChecks.patch": patch_health_check -"/compute:v1/compute.healthChecks.patch/healthCheck": health_check -"/compute:v1/compute.healthChecks.patch/project": project -"/compute:v1/compute.healthChecks.update": update_health_check -"/compute:v1/compute.healthChecks.update/healthCheck": health_check -"/compute:v1/compute.healthChecks.update/project": project -"/compute:v1/compute.httpHealthChecks.delete": delete_http_health_check -"/compute:v1/compute.httpHealthChecks.delete/httpHealthCheck": http_health_check -"/compute:v1/compute.httpHealthChecks.delete/project": project -"/compute:v1/compute.httpHealthChecks.get": get_http_health_check -"/compute:v1/compute.httpHealthChecks.get/httpHealthCheck": http_health_check -"/compute:v1/compute.httpHealthChecks.get/project": project -"/compute:v1/compute.httpHealthChecks.insert": insert_http_health_check -"/compute:v1/compute.httpHealthChecks.insert/project": project -"/compute:v1/compute.httpHealthChecks.list": list_http_health_checks -"/compute:v1/compute.httpHealthChecks.list/filter": filter -"/compute:v1/compute.httpHealthChecks.list/maxResults": max_results -"/compute:v1/compute.httpHealthChecks.list/orderBy": order_by -"/compute:v1/compute.httpHealthChecks.list/pageToken": page_token -"/compute:v1/compute.httpHealthChecks.list/project": project -"/compute:v1/compute.httpHealthChecks.patch": patch_http_health_check -"/compute:v1/compute.httpHealthChecks.patch/httpHealthCheck": http_health_check -"/compute:v1/compute.httpHealthChecks.patch/project": project -"/compute:v1/compute.httpHealthChecks.update": update_http_health_check -"/compute:v1/compute.httpHealthChecks.update/httpHealthCheck": http_health_check -"/compute:v1/compute.httpHealthChecks.update/project": project -"/compute:v1/compute.httpsHealthChecks.delete": delete_https_health_check -"/compute:v1/compute.httpsHealthChecks.delete/httpsHealthCheck": https_health_check -"/compute:v1/compute.httpsHealthChecks.delete/project": project -"/compute:v1/compute.httpsHealthChecks.get": get_https_health_check -"/compute:v1/compute.httpsHealthChecks.get/httpsHealthCheck": https_health_check -"/compute:v1/compute.httpsHealthChecks.get/project": project -"/compute:v1/compute.httpsHealthChecks.insert": insert_https_health_check -"/compute:v1/compute.httpsHealthChecks.insert/project": project -"/compute:v1/compute.httpsHealthChecks.list": list_https_health_checks -"/compute:v1/compute.httpsHealthChecks.list/filter": filter -"/compute:v1/compute.httpsHealthChecks.list/maxResults": max_results -"/compute:v1/compute.httpsHealthChecks.list/orderBy": order_by -"/compute:v1/compute.httpsHealthChecks.list/pageToken": page_token -"/compute:v1/compute.httpsHealthChecks.list/project": project -"/compute:v1/compute.httpsHealthChecks.patch": patch_https_health_check -"/compute:v1/compute.httpsHealthChecks.patch/httpsHealthCheck": https_health_check -"/compute:v1/compute.httpsHealthChecks.patch/project": project -"/compute:v1/compute.httpsHealthChecks.update": update_https_health_check -"/compute:v1/compute.httpsHealthChecks.update/httpsHealthCheck": https_health_check -"/compute:v1/compute.httpsHealthChecks.update/project": project -"/compute:v1/compute.images.delete": delete_image -"/compute:v1/compute.images.delete/image": image -"/compute:v1/compute.images.delete/project": project -"/compute:v1/compute.images.deprecate": deprecate_image -"/compute:v1/compute.images.deprecate/image": image -"/compute:v1/compute.images.deprecate/project": project -"/compute:v1/compute.images.get": get_image -"/compute:v1/compute.images.get/image": image -"/compute:v1/compute.images.get/project": project -"/compute:v1/compute.images.getFromFamily": get_image_from_family -"/compute:v1/compute.images.getFromFamily/family": family -"/compute:v1/compute.images.getFromFamily/project": project -"/compute:v1/compute.images.insert": insert_image -"/compute:v1/compute.images.insert/forceCreate": force_create -"/compute:v1/compute.images.insert/project": project -"/compute:v1/compute.images.list": list_images -"/compute:v1/compute.images.list/filter": filter -"/compute:v1/compute.images.list/maxResults": max_results -"/compute:v1/compute.images.list/orderBy": order_by -"/compute:v1/compute.images.list/pageToken": page_token -"/compute:v1/compute.images.list/project": project -"/compute:v1/compute.images.setLabels": set_image_labels -"/compute:v1/compute.images.setLabels/project": project -"/compute:v1/compute.images.setLabels/resource": resource -"/compute:v1/compute.instanceGroupManagers.abandonInstances/instanceGroupManager": instance_group_manager -"/compute:v1/compute.instanceGroupManagers.abandonInstances/project": project -"/compute:v1/compute.instanceGroupManagers.abandonInstances/zone": zone -"/compute:v1/compute.instanceGroupManagers.aggregatedList/filter": filter -"/compute:v1/compute.instanceGroupManagers.aggregatedList/maxResults": max_results -"/compute:v1/compute.instanceGroupManagers.aggregatedList/orderBy": order_by -"/compute:v1/compute.instanceGroupManagers.aggregatedList/pageToken": page_token -"/compute:v1/compute.instanceGroupManagers.aggregatedList/project": project -"/compute:v1/compute.instanceGroupManagers.delete": delete_instance_group_manager -"/compute:v1/compute.instanceGroupManagers.delete/instanceGroupManager": instance_group_manager -"/compute:v1/compute.instanceGroupManagers.delete/project": project -"/compute:v1/compute.instanceGroupManagers.delete/zone": zone -"/compute:v1/compute.instanceGroupManagers.deleteInstances/instanceGroupManager": instance_group_manager -"/compute:v1/compute.instanceGroupManagers.deleteInstances/project": project -"/compute:v1/compute.instanceGroupManagers.deleteInstances/zone": zone -"/compute:v1/compute.instanceGroupManagers.get": get_instance_group_manager -"/compute:v1/compute.instanceGroupManagers.get/instanceGroupManager": instance_group_manager -"/compute:v1/compute.instanceGroupManagers.get/project": project -"/compute:v1/compute.instanceGroupManagers.get/zone": zone -"/compute:v1/compute.instanceGroupManagers.insert": insert_instance_group_manager -"/compute:v1/compute.instanceGroupManagers.insert/project": project -"/compute:v1/compute.instanceGroupManagers.insert/zone": zone -"/compute:v1/compute.instanceGroupManagers.list": list_instance_group_managers -"/compute:v1/compute.instanceGroupManagers.list/filter": filter -"/compute:v1/compute.instanceGroupManagers.list/maxResults": max_results -"/compute:v1/compute.instanceGroupManagers.list/orderBy": order_by -"/compute:v1/compute.instanceGroupManagers.list/pageToken": page_token -"/compute:v1/compute.instanceGroupManagers.list/project": project -"/compute:v1/compute.instanceGroupManagers.list/zone": zone -"/compute:v1/compute.instanceGroupManagers.listManagedInstances/filter": filter -"/compute:v1/compute.instanceGroupManagers.listManagedInstances/instanceGroupManager": instance_group_manager -"/compute:v1/compute.instanceGroupManagers.listManagedInstances/maxResults": max_results -"/compute:v1/compute.instanceGroupManagers.listManagedInstances/order_by": order_by -"/compute:v1/compute.instanceGroupManagers.listManagedInstances/pageToken": page_token -"/compute:v1/compute.instanceGroupManagers.listManagedInstances/project": project -"/compute:v1/compute.instanceGroupManagers.listManagedInstances/zone": zone -"/compute:v1/compute.instanceGroupManagers.recreateInstances/instanceGroupManager": instance_group_manager -"/compute:v1/compute.instanceGroupManagers.recreateInstances/project": project -"/compute:v1/compute.instanceGroupManagers.recreateInstances/zone": zone -"/compute:v1/compute.instanceGroupManagers.resize/instanceGroupManager": instance_group_manager -"/compute:v1/compute.instanceGroupManagers.resize/project": project -"/compute:v1/compute.instanceGroupManagers.resize/size": size -"/compute:v1/compute.instanceGroupManagers.resize/zone": zone -"/compute:v1/compute.instanceGroupManagers.setInstanceTemplate/instanceGroupManager": instance_group_manager -"/compute:v1/compute.instanceGroupManagers.setInstanceTemplate/project": project -"/compute:v1/compute.instanceGroupManagers.setInstanceTemplate/zone": zone -"/compute:v1/compute.instanceGroupManagers.setTargetPools/instanceGroupManager": instance_group_manager -"/compute:v1/compute.instanceGroupManagers.setTargetPools/project": project -"/compute:v1/compute.instanceGroupManagers.setTargetPools/zone": zone -"/compute:v1/compute.instanceGroups.addInstances/instanceGroup": instance_group -"/compute:v1/compute.instanceGroups.addInstances/project": project -"/compute:v1/compute.instanceGroups.addInstances/zone": zone -"/compute:v1/compute.instanceGroups.aggregatedList/filter": filter -"/compute:v1/compute.instanceGroups.aggregatedList/maxResults": max_results -"/compute:v1/compute.instanceGroups.aggregatedList/orderBy": order_by -"/compute:v1/compute.instanceGroups.aggregatedList/pageToken": page_token -"/compute:v1/compute.instanceGroups.aggregatedList/project": project -"/compute:v1/compute.instanceGroups.delete": delete_instance_group -"/compute:v1/compute.instanceGroups.delete/instanceGroup": instance_group -"/compute:v1/compute.instanceGroups.delete/project": project -"/compute:v1/compute.instanceGroups.delete/zone": zone -"/compute:v1/compute.instanceGroups.get": get_instance_group -"/compute:v1/compute.instanceGroups.get/instanceGroup": instance_group -"/compute:v1/compute.instanceGroups.get/project": project -"/compute:v1/compute.instanceGroups.get/zone": zone -"/compute:v1/compute.instanceGroups.insert": insert_instance_group -"/compute:v1/compute.instanceGroups.insert/project": project -"/compute:v1/compute.instanceGroups.insert/zone": zone -"/compute:v1/compute.instanceGroups.list": list_instance_groups -"/compute:v1/compute.instanceGroups.list/filter": filter -"/compute:v1/compute.instanceGroups.list/maxResults": max_results -"/compute:v1/compute.instanceGroups.list/orderBy": order_by -"/compute:v1/compute.instanceGroups.list/pageToken": page_token -"/compute:v1/compute.instanceGroups.list/project": project -"/compute:v1/compute.instanceGroups.list/zone": zone -"/compute:v1/compute.instanceGroups.listInstances/filter": filter -"/compute:v1/compute.instanceGroups.listInstances/instanceGroup": instance_group -"/compute:v1/compute.instanceGroups.listInstances/maxResults": max_results -"/compute:v1/compute.instanceGroups.listInstances/orderBy": order_by -"/compute:v1/compute.instanceGroups.listInstances/pageToken": page_token -"/compute:v1/compute.instanceGroups.listInstances/project": project -"/compute:v1/compute.instanceGroups.listInstances/zone": zone -"/compute:v1/compute.instanceGroups.removeInstances/instanceGroup": instance_group -"/compute:v1/compute.instanceGroups.removeInstances/project": project -"/compute:v1/compute.instanceGroups.removeInstances/zone": zone -"/compute:v1/compute.instanceGroups.setNamedPorts/instanceGroup": instance_group -"/compute:v1/compute.instanceGroups.setNamedPorts/project": project -"/compute:v1/compute.instanceGroups.setNamedPorts/zone": zone -"/compute:v1/compute.instanceTemplates.delete": delete_instance_template -"/compute:v1/compute.instanceTemplates.delete/instanceTemplate": instance_template -"/compute:v1/compute.instanceTemplates.delete/project": project -"/compute:v1/compute.instanceTemplates.get": get_instance_template -"/compute:v1/compute.instanceTemplates.get/instanceTemplate": instance_template -"/compute:v1/compute.instanceTemplates.get/project": project -"/compute:v1/compute.instanceTemplates.insert": insert_instance_template -"/compute:v1/compute.instanceTemplates.insert/project": project -"/compute:v1/compute.instanceTemplates.list": list_instance_templates -"/compute:v1/compute.instanceTemplates.list/filter": filter -"/compute:v1/compute.instanceTemplates.list/maxResults": max_results -"/compute:v1/compute.instanceTemplates.list/orderBy": order_by -"/compute:v1/compute.instanceTemplates.list/pageToken": page_token -"/compute:v1/compute.instanceTemplates.list/project": project -"/compute:v1/compute.instances.addAccessConfig/instance": instance -"/compute:v1/compute.instances.addAccessConfig/networkInterface": network_interface -"/compute:v1/compute.instances.addAccessConfig/project": project -"/compute:v1/compute.instances.addAccessConfig/zone": zone -"/compute:v1/compute.instances.aggregatedList/filter": filter -"/compute:v1/compute.instances.aggregatedList/maxResults": max_results -"/compute:v1/compute.instances.aggregatedList/orderBy": order_by -"/compute:v1/compute.instances.aggregatedList/pageToken": page_token -"/compute:v1/compute.instances.aggregatedList/project": project -"/compute:v1/compute.instances.attachDisk/instance": instance -"/compute:v1/compute.instances.attachDisk/project": project -"/compute:v1/compute.instances.attachDisk/zone": zone -"/compute:v1/compute.instances.delete": delete_instance -"/compute:v1/compute.instances.delete/instance": instance -"/compute:v1/compute.instances.delete/project": project -"/compute:v1/compute.instances.delete/zone": zone -"/compute:v1/compute.instances.deleteAccessConfig/accessConfig": access_config -"/compute:v1/compute.instances.deleteAccessConfig/instance": instance -"/compute:v1/compute.instances.deleteAccessConfig/networkInterface": network_interface -"/compute:v1/compute.instances.deleteAccessConfig/project": project -"/compute:v1/compute.instances.deleteAccessConfig/zone": zone -"/compute:v1/compute.instances.detachDisk/deviceName": device_name -"/compute:v1/compute.instances.detachDisk/instance": instance -"/compute:v1/compute.instances.detachDisk/project": project -"/compute:v1/compute.instances.detachDisk/zone": zone -"/compute:v1/compute.instances.get": get_instance -"/compute:v1/compute.instances.get/instance": instance -"/compute:v1/compute.instances.get/project": project -"/compute:v1/compute.instances.get/zone": zone -"/compute:v1/compute.instances.getSerialPortOutput/instance": instance -"/compute:v1/compute.instances.getSerialPortOutput/port": port -"/compute:v1/compute.instances.getSerialPortOutput/project": project -"/compute:v1/compute.instances.getSerialPortOutput/start": start -"/compute:v1/compute.instances.getSerialPortOutput/zone": zone -"/compute:v1/compute.instances.insert": insert_instance -"/compute:v1/compute.instances.insert/project": project -"/compute:v1/compute.instances.insert/zone": zone -"/compute:v1/compute.instances.list": list_instances -"/compute:v1/compute.instances.list/filter": filter -"/compute:v1/compute.instances.list/maxResults": max_results -"/compute:v1/compute.instances.list/orderBy": order_by -"/compute:v1/compute.instances.list/pageToken": page_token -"/compute:v1/compute.instances.list/project": project -"/compute:v1/compute.instances.list/zone": zone -"/compute:v1/compute.instances.reset": reset_instance -"/compute:v1/compute.instances.reset/instance": instance -"/compute:v1/compute.instances.reset/project": project -"/compute:v1/compute.instances.reset/zone": zone -"/compute:v1/compute.instances.setDiskAutoDelete/autoDelete": auto_delete -"/compute:v1/compute.instances.setDiskAutoDelete/deviceName": device_name -"/compute:v1/compute.instances.setDiskAutoDelete/instance": instance -"/compute:v1/compute.instances.setDiskAutoDelete/project": project -"/compute:v1/compute.instances.setDiskAutoDelete/zone": zone -"/compute:v1/compute.instances.setLabels": set_instance_labels -"/compute:v1/compute.instances.setLabels/instance": instance -"/compute:v1/compute.instances.setLabels/project": project -"/compute:v1/compute.instances.setLabels/zone": zone -"/compute:v1/compute.instances.setMachineResources": set_instance_machine_resources -"/compute:v1/compute.instances.setMachineResources/instance": instance -"/compute:v1/compute.instances.setMachineResources/project": project -"/compute:v1/compute.instances.setMachineResources/zone": zone -"/compute:v1/compute.instances.setMachineType": set_instance_machine_type -"/compute:v1/compute.instances.setMachineType/instance": instance -"/compute:v1/compute.instances.setMachineType/project": project -"/compute:v1/compute.instances.setMachineType/zone": zone -"/compute:v1/compute.instances.setMetadata/instance": instance -"/compute:v1/compute.instances.setMetadata/project": project -"/compute:v1/compute.instances.setMetadata/zone": zone -"/compute:v1/compute.instances.setScheduling/instance": instance -"/compute:v1/compute.instances.setScheduling/project": project -"/compute:v1/compute.instances.setScheduling/zone": zone -"/compute:v1/compute.instances.setServiceAccount": set_instance_service_account -"/compute:v1/compute.instances.setServiceAccount/instance": instance -"/compute:v1/compute.instances.setServiceAccount/project": project -"/compute:v1/compute.instances.setServiceAccount/zone": zone -"/compute:v1/compute.instances.setTags/instance": instance -"/compute:v1/compute.instances.setTags/project": project -"/compute:v1/compute.instances.setTags/zone": zone -"/compute:v1/compute.instances.start": start_instance -"/compute:v1/compute.instances.start/instance": instance -"/compute:v1/compute.instances.start/project": project -"/compute:v1/compute.instances.start/zone": zone -"/compute:v1/compute.instances.startWithEncryptionKey": start_instance_with_encryption_key -"/compute:v1/compute.instances.startWithEncryptionKey/instance": instance -"/compute:v1/compute.instances.startWithEncryptionKey/project": project -"/compute:v1/compute.instances.startWithEncryptionKey/zone": zone -"/compute:v1/compute.instances.stop": stop_instance -"/compute:v1/compute.instances.stop/instance": instance -"/compute:v1/compute.instances.stop/project": project -"/compute:v1/compute.instances.stop/zone": zone -"/compute:v1/compute.licenses.get": get_license -"/compute:v1/compute.licenses.get/license": license -"/compute:v1/compute.licenses.get/project": project -"/compute:v1/compute.machineTypes.aggregatedList/filter": filter -"/compute:v1/compute.machineTypes.aggregatedList/maxResults": max_results -"/compute:v1/compute.machineTypes.aggregatedList/orderBy": order_by -"/compute:v1/compute.machineTypes.aggregatedList/pageToken": page_token -"/compute:v1/compute.machineTypes.aggregatedList/project": project -"/compute:v1/compute.machineTypes.get": get_machine_type -"/compute:v1/compute.machineTypes.get/machineType": machine_type -"/compute:v1/compute.machineTypes.get/project": project -"/compute:v1/compute.machineTypes.get/zone": zone -"/compute:v1/compute.machineTypes.list": list_machine_types -"/compute:v1/compute.machineTypes.list/filter": filter -"/compute:v1/compute.machineTypes.list/maxResults": max_results -"/compute:v1/compute.machineTypes.list/orderBy": order_by -"/compute:v1/compute.machineTypes.list/pageToken": page_token -"/compute:v1/compute.machineTypes.list/project": project -"/compute:v1/compute.machineTypes.list/zone": zone -"/compute:v1/compute.networks.addPeering": add_network_peering -"/compute:v1/compute.networks.addPeering/network": network -"/compute:v1/compute.networks.addPeering/project": project -"/compute:v1/compute.networks.delete": delete_network -"/compute:v1/compute.networks.delete/network": network -"/compute:v1/compute.networks.delete/project": project -"/compute:v1/compute.networks.get": get_network -"/compute:v1/compute.networks.get/network": network -"/compute:v1/compute.networks.get/project": project -"/compute:v1/compute.networks.insert": insert_network -"/compute:v1/compute.networks.insert/project": project -"/compute:v1/compute.networks.list": list_networks -"/compute:v1/compute.networks.list/filter": filter -"/compute:v1/compute.networks.list/maxResults": max_results -"/compute:v1/compute.networks.list/orderBy": order_by -"/compute:v1/compute.networks.list/pageToken": page_token -"/compute:v1/compute.networks.list/project": project -"/compute:v1/compute.networks.removePeering": remove_network_peering -"/compute:v1/compute.networks.removePeering/network": network -"/compute:v1/compute.networks.removePeering/project": project -"/compute:v1/compute.networks.switchToCustomMode": switch_network_to_custom_mode -"/compute:v1/compute.networks.switchToCustomMode/network": network -"/compute:v1/compute.networks.switchToCustomMode/project": project -"/compute:v1/compute.projects.disableXpnHost": disable_project_xpn_host -"/compute:v1/compute.projects.disableXpnHost/project": project -"/compute:v1/compute.projects.disableXpnResource": disable_project_xpn_resource -"/compute:v1/compute.projects.disableXpnResource/project": project -"/compute:v1/compute.projects.enableXpnHost": enable_project_xpn_host -"/compute:v1/compute.projects.enableXpnHost/project": project -"/compute:v1/compute.projects.enableXpnResource": enable_project_xpn_resource -"/compute:v1/compute.projects.enableXpnResource/project": project -"/compute:v1/compute.projects.get": get_project -"/compute:v1/compute.projects.get/project": project -"/compute:v1/compute.projects.getXpnHost": get_project_xpn_host -"/compute:v1/compute.projects.getXpnHost/project": project -"/compute:v1/compute.projects.getXpnResources": get_project_xpn_resources -"/compute:v1/compute.projects.getXpnResources/filter": filter -"/compute:v1/compute.projects.getXpnResources/maxResults": max_results -"/compute:v1/compute.projects.getXpnResources/order_by": order_by -"/compute:v1/compute.projects.getXpnResources/pageToken": page_token -"/compute:v1/compute.projects.getXpnResources/project": project -"/compute:v1/compute.projects.listXpnHosts": list_project_xpn_hosts -"/compute:v1/compute.projects.listXpnHosts/filter": filter -"/compute:v1/compute.projects.listXpnHosts/maxResults": max_results -"/compute:v1/compute.projects.listXpnHosts/order_by": order_by -"/compute:v1/compute.projects.listXpnHosts/pageToken": page_token -"/compute:v1/compute.projects.listXpnHosts/project": project -"/compute:v1/compute.projects.moveDisk/project": project -"/compute:v1/compute.projects.moveInstance/project": project -"/compute:v1/compute.projects.setCommonInstanceMetadata/project": project -"/compute:v1/compute.projects.setUsageExportBucket/project": project -"/compute:v1/compute.regionAutoscalers.delete": delete_region_autoscaler -"/compute:v1/compute.regionAutoscalers.delete/autoscaler": autoscaler -"/compute:v1/compute.regionAutoscalers.delete/project": project -"/compute:v1/compute.regionAutoscalers.delete/region": region -"/compute:v1/compute.regionAutoscalers.get": get_region_autoscaler -"/compute:v1/compute.regionAutoscalers.get/autoscaler": autoscaler -"/compute:v1/compute.regionAutoscalers.get/project": project -"/compute:v1/compute.regionAutoscalers.get/region": region -"/compute:v1/compute.regionAutoscalers.insert": insert_region_autoscaler -"/compute:v1/compute.regionAutoscalers.insert/project": project -"/compute:v1/compute.regionAutoscalers.insert/region": region -"/compute:v1/compute.regionAutoscalers.list": list_region_autoscalers -"/compute:v1/compute.regionAutoscalers.list/filter": filter -"/compute:v1/compute.regionAutoscalers.list/maxResults": max_results -"/compute:v1/compute.regionAutoscalers.list/orderBy": order_by -"/compute:v1/compute.regionAutoscalers.list/pageToken": page_token -"/compute:v1/compute.regionAutoscalers.list/project": project -"/compute:v1/compute.regionAutoscalers.list/region": region -"/compute:v1/compute.regionAutoscalers.patch": patch_region_autoscaler -"/compute:v1/compute.regionAutoscalers.patch/autoscaler": autoscaler -"/compute:v1/compute.regionAutoscalers.patch/project": project -"/compute:v1/compute.regionAutoscalers.patch/region": region -"/compute:v1/compute.regionAutoscalers.update": update_region_autoscaler -"/compute:v1/compute.regionAutoscalers.update/autoscaler": autoscaler -"/compute:v1/compute.regionAutoscalers.update/project": project -"/compute:v1/compute.regionAutoscalers.update/region": region -"/compute:v1/compute.regionBackendServices.delete": delete_region_backend_service -"/compute:v1/compute.regionBackendServices.delete/backendService": backend_service -"/compute:v1/compute.regionBackendServices.delete/project": project -"/compute:v1/compute.regionBackendServices.delete/region": region -"/compute:v1/compute.regionBackendServices.get": get_region_backend_service -"/compute:v1/compute.regionBackendServices.get/backendService": backend_service -"/compute:v1/compute.regionBackendServices.get/project": project -"/compute:v1/compute.regionBackendServices.get/region": region -"/compute:v1/compute.regionBackendServices.getHealth": get_region_backend_service_health -"/compute:v1/compute.regionBackendServices.getHealth/backendService": backend_service -"/compute:v1/compute.regionBackendServices.getHealth/project": project -"/compute:v1/compute.regionBackendServices.getHealth/region": region -"/compute:v1/compute.regionBackendServices.insert": insert_region_backend_service -"/compute:v1/compute.regionBackendServices.insert/project": project -"/compute:v1/compute.regionBackendServices.insert/region": region -"/compute:v1/compute.regionBackendServices.list": list_region_backend_services -"/compute:v1/compute.regionBackendServices.list/filter": filter -"/compute:v1/compute.regionBackendServices.list/maxResults": max_results -"/compute:v1/compute.regionBackendServices.list/orderBy": order_by -"/compute:v1/compute.regionBackendServices.list/pageToken": page_token -"/compute:v1/compute.regionBackendServices.list/project": project -"/compute:v1/compute.regionBackendServices.list/region": region -"/compute:v1/compute.regionBackendServices.patch": patch_region_backend_service -"/compute:v1/compute.regionBackendServices.patch/backendService": backend_service -"/compute:v1/compute.regionBackendServices.patch/project": project -"/compute:v1/compute.regionBackendServices.patch/region": region -"/compute:v1/compute.regionBackendServices.update": update_region_backend_service -"/compute:v1/compute.regionBackendServices.update/backendService": backend_service -"/compute:v1/compute.regionBackendServices.update/project": project -"/compute:v1/compute.regionBackendServices.update/region": region -"/compute:v1/compute.regionCommitments.aggregatedList": aggregated_region_commitment_list -"/compute:v1/compute.regionCommitments.aggregatedList/filter": filter -"/compute:v1/compute.regionCommitments.aggregatedList/maxResults": max_results -"/compute:v1/compute.regionCommitments.aggregatedList/orderBy": order_by -"/compute:v1/compute.regionCommitments.aggregatedList/pageToken": page_token -"/compute:v1/compute.regionCommitments.aggregatedList/project": project -"/compute:v1/compute.regionCommitments.get": get_region_commitment -"/compute:v1/compute.regionCommitments.get/commitment": commitment -"/compute:v1/compute.regionCommitments.get/project": project -"/compute:v1/compute.regionCommitments.get/region": region -"/compute:v1/compute.regionCommitments.insert": insert_region_commitment -"/compute:v1/compute.regionCommitments.insert/project": project -"/compute:v1/compute.regionCommitments.insert/region": region -"/compute:v1/compute.regionCommitments.list": list_region_commitments -"/compute:v1/compute.regionCommitments.list/filter": filter -"/compute:v1/compute.regionCommitments.list/maxResults": max_results -"/compute:v1/compute.regionCommitments.list/orderBy": order_by -"/compute:v1/compute.regionCommitments.list/pageToken": page_token -"/compute:v1/compute.regionCommitments.list/project": project -"/compute:v1/compute.regionCommitments.list/region": region -"/compute:v1/compute.regionInstanceGroupManagers.abandonInstances": abandon_region_instance_group_manager_instances -"/compute:v1/compute.regionInstanceGroupManagers.abandonInstances/instanceGroupManager": instance_group_manager -"/compute:v1/compute.regionInstanceGroupManagers.abandonInstances/project": project -"/compute:v1/compute.regionInstanceGroupManagers.abandonInstances/region": region -"/compute:v1/compute.regionInstanceGroupManagers.delete": delete_region_instance_group_manager -"/compute:v1/compute.regionInstanceGroupManagers.delete/instanceGroupManager": instance_group_manager -"/compute:v1/compute.regionInstanceGroupManagers.delete/project": project -"/compute:v1/compute.regionInstanceGroupManagers.delete/region": region -"/compute:v1/compute.regionInstanceGroupManagers.deleteInstances": delete_region_instance_group_manager_instances -"/compute:v1/compute.regionInstanceGroupManagers.deleteInstances/instanceGroupManager": instance_group_manager -"/compute:v1/compute.regionInstanceGroupManagers.deleteInstances/project": project -"/compute:v1/compute.regionInstanceGroupManagers.deleteInstances/region": region -"/compute:v1/compute.regionInstanceGroupManagers.get": get_region_instance_group_manager -"/compute:v1/compute.regionInstanceGroupManagers.get/instanceGroupManager": instance_group_manager -"/compute:v1/compute.regionInstanceGroupManagers.get/project": project -"/compute:v1/compute.regionInstanceGroupManagers.get/region": region -"/compute:v1/compute.regionInstanceGroupManagers.insert": insert_region_instance_group_manager -"/compute:v1/compute.regionInstanceGroupManagers.insert/project": project -"/compute:v1/compute.regionInstanceGroupManagers.insert/region": region -"/compute:v1/compute.regionInstanceGroupManagers.list": list_region_instance_group_managers -"/compute:v1/compute.regionInstanceGroupManagers.list/filter": filter -"/compute:v1/compute.regionInstanceGroupManagers.list/maxResults": max_results -"/compute:v1/compute.regionInstanceGroupManagers.list/orderBy": order_by -"/compute:v1/compute.regionInstanceGroupManagers.list/pageToken": page_token -"/compute:v1/compute.regionInstanceGroupManagers.list/project": project -"/compute:v1/compute.regionInstanceGroupManagers.list/region": region -"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances": list_region_instance_group_manager_managed_instances -"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/filter": filter -"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/instanceGroupManager": instance_group_manager -"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/maxResults": max_results -"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/order_by": order_by -"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/pageToken": page_token -"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/project": project -"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/region": region -"/compute:v1/compute.regionInstanceGroupManagers.recreateInstances": recreate_region_instance_group_manager_instances -"/compute:v1/compute.regionInstanceGroupManagers.recreateInstances/instanceGroupManager": instance_group_manager -"/compute:v1/compute.regionInstanceGroupManagers.recreateInstances/project": project -"/compute:v1/compute.regionInstanceGroupManagers.recreateInstances/region": region -"/compute:v1/compute.regionInstanceGroupManagers.resize": resize_region_instance_group_manager -"/compute:v1/compute.regionInstanceGroupManagers.resize/instanceGroupManager": instance_group_manager -"/compute:v1/compute.regionInstanceGroupManagers.resize/project": project -"/compute:v1/compute.regionInstanceGroupManagers.resize/region": region -"/compute:v1/compute.regionInstanceGroupManagers.resize/size": size -"/compute:v1/compute.regionInstanceGroupManagers.setInstanceTemplate": set_region_instance_group_manager_instance_template -"/compute:v1/compute.regionInstanceGroupManagers.setInstanceTemplate/instanceGroupManager": instance_group_manager -"/compute:v1/compute.regionInstanceGroupManagers.setInstanceTemplate/project": project -"/compute:v1/compute.regionInstanceGroupManagers.setInstanceTemplate/region": region -"/compute:v1/compute.regionInstanceGroupManagers.setTargetPools": set_region_instance_group_manager_target_pools -"/compute:v1/compute.regionInstanceGroupManagers.setTargetPools/instanceGroupManager": instance_group_manager -"/compute:v1/compute.regionInstanceGroupManagers.setTargetPools/project": project -"/compute:v1/compute.regionInstanceGroupManagers.setTargetPools/region": region -"/compute:v1/compute.regionInstanceGroups.get": get_region_instance_group -"/compute:v1/compute.regionInstanceGroups.get/instanceGroup": instance_group -"/compute:v1/compute.regionInstanceGroups.get/project": project -"/compute:v1/compute.regionInstanceGroups.get/region": region -"/compute:v1/compute.regionInstanceGroups.list": list_region_instance_groups -"/compute:v1/compute.regionInstanceGroups.list/filter": filter -"/compute:v1/compute.regionInstanceGroups.list/maxResults": max_results -"/compute:v1/compute.regionInstanceGroups.list/orderBy": order_by -"/compute:v1/compute.regionInstanceGroups.list/pageToken": page_token -"/compute:v1/compute.regionInstanceGroups.list/project": project -"/compute:v1/compute.regionInstanceGroups.list/region": region -"/compute:v1/compute.regionInstanceGroups.listInstances": list_region_instance_group_instances -"/compute:v1/compute.regionInstanceGroups.listInstances/filter": filter -"/compute:v1/compute.regionInstanceGroups.listInstances/instanceGroup": instance_group -"/compute:v1/compute.regionInstanceGroups.listInstances/maxResults": max_results -"/compute:v1/compute.regionInstanceGroups.listInstances/orderBy": order_by -"/compute:v1/compute.regionInstanceGroups.listInstances/pageToken": page_token -"/compute:v1/compute.regionInstanceGroups.listInstances/project": project -"/compute:v1/compute.regionInstanceGroups.listInstances/region": region -"/compute:v1/compute.regionInstanceGroups.setNamedPorts": set_region_instance_group_named_ports -"/compute:v1/compute.regionInstanceGroups.setNamedPorts/instanceGroup": instance_group -"/compute:v1/compute.regionInstanceGroups.setNamedPorts/project": project -"/compute:v1/compute.regionInstanceGroups.setNamedPorts/region": region -"/compute:v1/compute.regionOperations.delete": delete_region_operation -"/compute:v1/compute.regionOperations.delete/operation": operation -"/compute:v1/compute.regionOperations.delete/project": project -"/compute:v1/compute.regionOperations.delete/region": region -"/compute:v1/compute.regionOperations.get": get_region_operation -"/compute:v1/compute.regionOperations.get/operation": operation -"/compute:v1/compute.regionOperations.get/project": project -"/compute:v1/compute.regionOperations.get/region": region -"/compute:v1/compute.regionOperations.list": list_region_operations -"/compute:v1/compute.regionOperations.list/filter": filter -"/compute:v1/compute.regionOperations.list/maxResults": max_results -"/compute:v1/compute.regionOperations.list/orderBy": order_by -"/compute:v1/compute.regionOperations.list/pageToken": page_token -"/compute:v1/compute.regionOperations.list/project": project -"/compute:v1/compute.regionOperations.list/region": region -"/compute:v1/compute.regions.get": get_region -"/compute:v1/compute.regions.get/project": project -"/compute:v1/compute.regions.get/region": region -"/compute:v1/compute.regions.list": list_regions -"/compute:v1/compute.regions.list/filter": filter -"/compute:v1/compute.regions.list/maxResults": max_results -"/compute:v1/compute.regions.list/orderBy": order_by -"/compute:v1/compute.regions.list/pageToken": page_token -"/compute:v1/compute.regions.list/project": project -"/compute:v1/compute.routers.aggregatedList": aggregated_router_list -"/compute:v1/compute.routers.aggregatedList/filter": filter -"/compute:v1/compute.routers.aggregatedList/maxResults": max_results -"/compute:v1/compute.routers.aggregatedList/orderBy": order_by -"/compute:v1/compute.routers.aggregatedList/pageToken": page_token -"/compute:v1/compute.routers.aggregatedList/project": project -"/compute:v1/compute.routers.delete": delete_router -"/compute:v1/compute.routers.delete/project": project -"/compute:v1/compute.routers.delete/region": region -"/compute:v1/compute.routers.delete/router": router -"/compute:v1/compute.routers.get": get_router -"/compute:v1/compute.routers.get/project": project -"/compute:v1/compute.routers.get/region": region -"/compute:v1/compute.routers.get/router": router -"/compute:v1/compute.routers.getRouterStatus": get_router_router_status -"/compute:v1/compute.routers.getRouterStatus/project": project -"/compute:v1/compute.routers.getRouterStatus/region": region -"/compute:v1/compute.routers.getRouterStatus/router": router -"/compute:v1/compute.routers.insert": insert_router -"/compute:v1/compute.routers.insert/project": project -"/compute:v1/compute.routers.insert/region": region -"/compute:v1/compute.routers.list": list_routers -"/compute:v1/compute.routers.list/filter": filter -"/compute:v1/compute.routers.list/maxResults": max_results -"/compute:v1/compute.routers.list/orderBy": order_by -"/compute:v1/compute.routers.list/pageToken": page_token -"/compute:v1/compute.routers.list/project": project -"/compute:v1/compute.routers.list/region": region -"/compute:v1/compute.routers.patch": patch_router -"/compute:v1/compute.routers.patch/project": project -"/compute:v1/compute.routers.patch/region": region -"/compute:v1/compute.routers.patch/router": router -"/compute:v1/compute.routers.preview": preview_router -"/compute:v1/compute.routers.preview/project": project -"/compute:v1/compute.routers.preview/region": region -"/compute:v1/compute.routers.preview/router": router -"/compute:v1/compute.routers.update": update_router -"/compute:v1/compute.routers.update/project": project -"/compute:v1/compute.routers.update/region": region -"/compute:v1/compute.routers.update/router": router -"/compute:v1/compute.routes.delete": delete_route -"/compute:v1/compute.routes.delete/project": project -"/compute:v1/compute.routes.delete/route": route -"/compute:v1/compute.routes.get": get_route -"/compute:v1/compute.routes.get/project": project -"/compute:v1/compute.routes.get/route": route -"/compute:v1/compute.routes.insert": insert_route -"/compute:v1/compute.routes.insert/project": project -"/compute:v1/compute.routes.list": list_routes -"/compute:v1/compute.routes.list/filter": filter -"/compute:v1/compute.routes.list/maxResults": max_results -"/compute:v1/compute.routes.list/orderBy": order_by -"/compute:v1/compute.routes.list/pageToken": page_token -"/compute:v1/compute.routes.list/project": project -"/compute:v1/compute.snapshots.delete": delete_snapshot -"/compute:v1/compute.snapshots.delete/project": project -"/compute:v1/compute.snapshots.delete/snapshot": snapshot -"/compute:v1/compute.snapshots.get": get_snapshot -"/compute:v1/compute.snapshots.get/project": project -"/compute:v1/compute.snapshots.get/snapshot": snapshot -"/compute:v1/compute.snapshots.list": list_snapshots -"/compute:v1/compute.snapshots.list/filter": filter -"/compute:v1/compute.snapshots.list/maxResults": max_results -"/compute:v1/compute.snapshots.list/orderBy": order_by -"/compute:v1/compute.snapshots.list/pageToken": page_token -"/compute:v1/compute.snapshots.list/project": project -"/compute:v1/compute.snapshots.setLabels": set_snapshot_labels -"/compute:v1/compute.snapshots.setLabels/project": project -"/compute:v1/compute.snapshots.setLabels/resource": resource -"/compute:v1/compute.sslCertificates.delete": delete_ssl_certificate -"/compute:v1/compute.sslCertificates.delete/project": project -"/compute:v1/compute.sslCertificates.delete/sslCertificate": ssl_certificate -"/compute:v1/compute.sslCertificates.get": get_ssl_certificate -"/compute:v1/compute.sslCertificates.get/project": project -"/compute:v1/compute.sslCertificates.get/sslCertificate": ssl_certificate -"/compute:v1/compute.sslCertificates.insert": insert_ssl_certificate -"/compute:v1/compute.sslCertificates.insert/project": project -"/compute:v1/compute.sslCertificates.list": list_ssl_certificates -"/compute:v1/compute.sslCertificates.list/filter": filter -"/compute:v1/compute.sslCertificates.list/maxResults": max_results -"/compute:v1/compute.sslCertificates.list/orderBy": order_by -"/compute:v1/compute.sslCertificates.list/pageToken": page_token -"/compute:v1/compute.sslCertificates.list/project": project -"/compute:v1/compute.subnetworks.aggregatedList": aggregated_subnetwork_list -"/compute:v1/compute.subnetworks.aggregatedList/filter": filter -"/compute:v1/compute.subnetworks.aggregatedList/maxResults": max_results -"/compute:v1/compute.subnetworks.aggregatedList/orderBy": order_by -"/compute:v1/compute.subnetworks.aggregatedList/pageToken": page_token -"/compute:v1/compute.subnetworks.aggregatedList/project": project -"/compute:v1/compute.subnetworks.delete": delete_subnetwork -"/compute:v1/compute.subnetworks.delete/project": project -"/compute:v1/compute.subnetworks.delete/region": region -"/compute:v1/compute.subnetworks.delete/subnetwork": subnetwork -"/compute:v1/compute.subnetworks.expandIpCidrRange": expand_subnetwork_ip_cidr_range -"/compute:v1/compute.subnetworks.expandIpCidrRange/project": project -"/compute:v1/compute.subnetworks.expandIpCidrRange/region": region -"/compute:v1/compute.subnetworks.expandIpCidrRange/subnetwork": subnetwork -"/compute:v1/compute.subnetworks.get": get_subnetwork -"/compute:v1/compute.subnetworks.get/project": project -"/compute:v1/compute.subnetworks.get/region": region -"/compute:v1/compute.subnetworks.get/subnetwork": subnetwork -"/compute:v1/compute.subnetworks.insert": insert_subnetwork -"/compute:v1/compute.subnetworks.insert/project": project -"/compute:v1/compute.subnetworks.insert/region": region -"/compute:v1/compute.subnetworks.list": list_subnetworks -"/compute:v1/compute.subnetworks.list/filter": filter -"/compute:v1/compute.subnetworks.list/maxResults": max_results -"/compute:v1/compute.subnetworks.list/orderBy": order_by -"/compute:v1/compute.subnetworks.list/pageToken": page_token -"/compute:v1/compute.subnetworks.list/project": project -"/compute:v1/compute.subnetworks.list/region": region -"/compute:v1/compute.subnetworks.setPrivateIpGoogleAccess": set_subnetwork_private_ip_google_access -"/compute:v1/compute.subnetworks.setPrivateIpGoogleAccess/project": project -"/compute:v1/compute.subnetworks.setPrivateIpGoogleAccess/region": region -"/compute:v1/compute.subnetworks.setPrivateIpGoogleAccess/subnetwork": subnetwork -"/compute:v1/compute.targetHttpProxies.delete": delete_target_http_proxy -"/compute:v1/compute.targetHttpProxies.delete/project": project -"/compute:v1/compute.targetHttpProxies.delete/targetHttpProxy": target_http_proxy -"/compute:v1/compute.targetHttpProxies.get": get_target_http_proxy -"/compute:v1/compute.targetHttpProxies.get/project": project -"/compute:v1/compute.targetHttpProxies.get/targetHttpProxy": target_http_proxy -"/compute:v1/compute.targetHttpProxies.insert": insert_target_http_proxy -"/compute:v1/compute.targetHttpProxies.insert/project": project -"/compute:v1/compute.targetHttpProxies.list": list_target_http_proxies -"/compute:v1/compute.targetHttpProxies.list/filter": filter -"/compute:v1/compute.targetHttpProxies.list/maxResults": max_results -"/compute:v1/compute.targetHttpProxies.list/orderBy": order_by -"/compute:v1/compute.targetHttpProxies.list/pageToken": page_token -"/compute:v1/compute.targetHttpProxies.list/project": project -"/compute:v1/compute.targetHttpProxies.setUrlMap/project": project -"/compute:v1/compute.targetHttpProxies.setUrlMap/targetHttpProxy": target_http_proxy -"/compute:v1/compute.targetHttpsProxies.delete": delete_target_https_proxy -"/compute:v1/compute.targetHttpsProxies.delete/project": project -"/compute:v1/compute.targetHttpsProxies.delete/targetHttpsProxy": target_https_proxy -"/compute:v1/compute.targetHttpsProxies.get": get_target_https_proxy -"/compute:v1/compute.targetHttpsProxies.get/project": project -"/compute:v1/compute.targetHttpsProxies.get/targetHttpsProxy": target_https_proxy -"/compute:v1/compute.targetHttpsProxies.insert": insert_target_https_proxy -"/compute:v1/compute.targetHttpsProxies.insert/project": project -"/compute:v1/compute.targetHttpsProxies.list": list_target_https_proxies -"/compute:v1/compute.targetHttpsProxies.list/filter": filter -"/compute:v1/compute.targetHttpsProxies.list/maxResults": max_results -"/compute:v1/compute.targetHttpsProxies.list/orderBy": order_by -"/compute:v1/compute.targetHttpsProxies.list/pageToken": page_token -"/compute:v1/compute.targetHttpsProxies.list/project": project -"/compute:v1/compute.targetHttpsProxies.setSslCertificates": set_target_https_proxy_ssl_certificates -"/compute:v1/compute.targetHttpsProxies.setSslCertificates/project": project -"/compute:v1/compute.targetHttpsProxies.setSslCertificates/targetHttpsProxy": target_https_proxy -"/compute:v1/compute.targetHttpsProxies.setUrlMap": set_target_https_proxy_url_map -"/compute:v1/compute.targetHttpsProxies.setUrlMap/project": project -"/compute:v1/compute.targetHttpsProxies.setUrlMap/targetHttpsProxy": target_https_proxy -"/compute:v1/compute.targetInstances.aggregatedList/filter": filter -"/compute:v1/compute.targetInstances.aggregatedList/maxResults": max_results -"/compute:v1/compute.targetInstances.aggregatedList/orderBy": order_by -"/compute:v1/compute.targetInstances.aggregatedList/pageToken": page_token -"/compute:v1/compute.targetInstances.aggregatedList/project": project -"/compute:v1/compute.targetInstances.delete": delete_target_instance -"/compute:v1/compute.targetInstances.delete/project": project -"/compute:v1/compute.targetInstances.delete/targetInstance": target_instance -"/compute:v1/compute.targetInstances.delete/zone": zone -"/compute:v1/compute.targetInstances.get": get_target_instance -"/compute:v1/compute.targetInstances.get/project": project -"/compute:v1/compute.targetInstances.get/targetInstance": target_instance -"/compute:v1/compute.targetInstances.get/zone": zone -"/compute:v1/compute.targetInstances.insert": insert_target_instance -"/compute:v1/compute.targetInstances.insert/project": project -"/compute:v1/compute.targetInstances.insert/zone": zone -"/compute:v1/compute.targetInstances.list": list_target_instances -"/compute:v1/compute.targetInstances.list/filter": filter -"/compute:v1/compute.targetInstances.list/maxResults": max_results -"/compute:v1/compute.targetInstances.list/orderBy": order_by -"/compute:v1/compute.targetInstances.list/pageToken": page_token -"/compute:v1/compute.targetInstances.list/project": project -"/compute:v1/compute.targetInstances.list/zone": zone -"/compute:v1/compute.targetPools.addHealthCheck/project": project -"/compute:v1/compute.targetPools.addHealthCheck/region": region -"/compute:v1/compute.targetPools.addHealthCheck/targetPool": target_pool -"/compute:v1/compute.targetPools.addInstance/project": project -"/compute:v1/compute.targetPools.addInstance/region": region -"/compute:v1/compute.targetPools.addInstance/targetPool": target_pool -"/compute:v1/compute.targetPools.aggregatedList/filter": filter -"/compute:v1/compute.targetPools.aggregatedList/maxResults": max_results -"/compute:v1/compute.targetPools.aggregatedList/orderBy": order_by -"/compute:v1/compute.targetPools.aggregatedList/pageToken": page_token -"/compute:v1/compute.targetPools.aggregatedList/project": project -"/compute:v1/compute.targetPools.delete": delete_target_pool -"/compute:v1/compute.targetPools.delete/project": project -"/compute:v1/compute.targetPools.delete/region": region -"/compute:v1/compute.targetPools.delete/targetPool": target_pool -"/compute:v1/compute.targetPools.get": get_target_pool -"/compute:v1/compute.targetPools.get/project": project -"/compute:v1/compute.targetPools.get/region": region -"/compute:v1/compute.targetPools.get/targetPool": target_pool -"/compute:v1/compute.targetPools.getHealth/project": project -"/compute:v1/compute.targetPools.getHealth/region": region -"/compute:v1/compute.targetPools.getHealth/targetPool": target_pool -"/compute:v1/compute.targetPools.insert": insert_target_pool -"/compute:v1/compute.targetPools.insert/project": project -"/compute:v1/compute.targetPools.insert/region": region -"/compute:v1/compute.targetPools.list": list_target_pools -"/compute:v1/compute.targetPools.list/filter": filter -"/compute:v1/compute.targetPools.list/maxResults": max_results -"/compute:v1/compute.targetPools.list/orderBy": order_by -"/compute:v1/compute.targetPools.list/pageToken": page_token -"/compute:v1/compute.targetPools.list/project": project -"/compute:v1/compute.targetPools.list/region": region -"/compute:v1/compute.targetPools.removeHealthCheck/project": project -"/compute:v1/compute.targetPools.removeHealthCheck/region": region -"/compute:v1/compute.targetPools.removeHealthCheck/targetPool": target_pool -"/compute:v1/compute.targetPools.removeInstance/project": project -"/compute:v1/compute.targetPools.removeInstance/region": region -"/compute:v1/compute.targetPools.removeInstance/targetPool": target_pool -"/compute:v1/compute.targetPools.setBackup/failoverRatio": failover_ratio -"/compute:v1/compute.targetPools.setBackup/project": project -"/compute:v1/compute.targetPools.setBackup/region": region -"/compute:v1/compute.targetPools.setBackup/targetPool": target_pool -"/compute:v1/compute.targetSslProxies.delete": delete_target_ssl_proxy -"/compute:v1/compute.targetSslProxies.delete/project": project -"/compute:v1/compute.targetSslProxies.delete/targetSslProxy": target_ssl_proxy -"/compute:v1/compute.targetSslProxies.get": get_target_ssl_proxy -"/compute:v1/compute.targetSslProxies.get/project": project -"/compute:v1/compute.targetSslProxies.get/targetSslProxy": target_ssl_proxy -"/compute:v1/compute.targetSslProxies.insert": insert_target_ssl_proxy -"/compute:v1/compute.targetSslProxies.insert/project": project -"/compute:v1/compute.targetSslProxies.list": list_target_ssl_proxies -"/compute:v1/compute.targetSslProxies.list/filter": filter -"/compute:v1/compute.targetSslProxies.list/maxResults": max_results -"/compute:v1/compute.targetSslProxies.list/orderBy": order_by -"/compute:v1/compute.targetSslProxies.list/pageToken": page_token -"/compute:v1/compute.targetSslProxies.list/project": project -"/compute:v1/compute.targetSslProxies.setBackendService": set_target_ssl_proxy_backend_service -"/compute:v1/compute.targetSslProxies.setBackendService/project": project -"/compute:v1/compute.targetSslProxies.setBackendService/targetSslProxy": target_ssl_proxy -"/compute:v1/compute.targetSslProxies.setProxyHeader": set_target_ssl_proxy_proxy_header -"/compute:v1/compute.targetSslProxies.setProxyHeader/project": project -"/compute:v1/compute.targetSslProxies.setProxyHeader/targetSslProxy": target_ssl_proxy -"/compute:v1/compute.targetSslProxies.setSslCertificates": set_target_ssl_proxy_ssl_certificates -"/compute:v1/compute.targetSslProxies.setSslCertificates/project": project -"/compute:v1/compute.targetSslProxies.setSslCertificates/targetSslProxy": target_ssl_proxy -"/compute:v1/compute.targetTcpProxies.delete": delete_target_tcp_proxy -"/compute:v1/compute.targetTcpProxies.delete/project": project -"/compute:v1/compute.targetTcpProxies.delete/targetTcpProxy": target_tcp_proxy -"/compute:v1/compute.targetTcpProxies.get": get_target_tcp_proxy -"/compute:v1/compute.targetTcpProxies.get/project": project -"/compute:v1/compute.targetTcpProxies.get/targetTcpProxy": target_tcp_proxy -"/compute:v1/compute.targetTcpProxies.insert": insert_target_tcp_proxy -"/compute:v1/compute.targetTcpProxies.insert/project": project -"/compute:v1/compute.targetTcpProxies.list": list_target_tcp_proxies -"/compute:v1/compute.targetTcpProxies.list/filter": filter -"/compute:v1/compute.targetTcpProxies.list/maxResults": max_results -"/compute:v1/compute.targetTcpProxies.list/orderBy": order_by -"/compute:v1/compute.targetTcpProxies.list/pageToken": page_token -"/compute:v1/compute.targetTcpProxies.list/project": project -"/compute:v1/compute.targetTcpProxies.setBackendService": set_target_tcp_proxy_backend_service -"/compute:v1/compute.targetTcpProxies.setBackendService/project": project -"/compute:v1/compute.targetTcpProxies.setBackendService/targetTcpProxy": target_tcp_proxy -"/compute:v1/compute.targetTcpProxies.setProxyHeader": set_target_tcp_proxy_proxy_header -"/compute:v1/compute.targetTcpProxies.setProxyHeader/project": project -"/compute:v1/compute.targetTcpProxies.setProxyHeader/targetTcpProxy": target_tcp_proxy -"/compute:v1/compute.targetVpnGateways.aggregatedList/filter": filter -"/compute:v1/compute.targetVpnGateways.aggregatedList/maxResults": max_results -"/compute:v1/compute.targetVpnGateways.aggregatedList/orderBy": order_by -"/compute:v1/compute.targetVpnGateways.aggregatedList/pageToken": page_token -"/compute:v1/compute.targetVpnGateways.aggregatedList/project": project -"/compute:v1/compute.targetVpnGateways.delete/project": project -"/compute:v1/compute.targetVpnGateways.delete/region": region -"/compute:v1/compute.targetVpnGateways.delete/targetVpnGateway": target_vpn_gateway -"/compute:v1/compute.targetVpnGateways.get/project": project -"/compute:v1/compute.targetVpnGateways.get/region": region -"/compute:v1/compute.targetVpnGateways.get/targetVpnGateway": target_vpn_gateway -"/compute:v1/compute.targetVpnGateways.insert/project": project -"/compute:v1/compute.targetVpnGateways.insert/region": region -"/compute:v1/compute.targetVpnGateways.list/filter": filter -"/compute:v1/compute.targetVpnGateways.list/maxResults": max_results -"/compute:v1/compute.targetVpnGateways.list/orderBy": order_by -"/compute:v1/compute.targetVpnGateways.list/pageToken": page_token -"/compute:v1/compute.targetVpnGateways.list/project": project -"/compute:v1/compute.targetVpnGateways.list/region": region -"/compute:v1/compute.urlMaps.delete": delete_url_map -"/compute:v1/compute.urlMaps.delete/project": project -"/compute:v1/compute.urlMaps.delete/urlMap": url_map -"/compute:v1/compute.urlMaps.get": get_url_map -"/compute:v1/compute.urlMaps.get/project": project -"/compute:v1/compute.urlMaps.get/urlMap": url_map -"/compute:v1/compute.urlMaps.insert": insert_url_map -"/compute:v1/compute.urlMaps.insert/project": project -"/compute:v1/compute.urlMaps.invalidateCache": invalidate_url_map_cache -"/compute:v1/compute.urlMaps.invalidateCache/project": project -"/compute:v1/compute.urlMaps.invalidateCache/urlMap": url_map -"/compute:v1/compute.urlMaps.list": list_url_maps -"/compute:v1/compute.urlMaps.list/filter": filter -"/compute:v1/compute.urlMaps.list/maxResults": max_results -"/compute:v1/compute.urlMaps.list/orderBy": order_by -"/compute:v1/compute.urlMaps.list/pageToken": page_token -"/compute:v1/compute.urlMaps.list/project": project -"/compute:v1/compute.urlMaps.patch": patch_url_map -"/compute:v1/compute.urlMaps.patch/project": project -"/compute:v1/compute.urlMaps.patch/urlMap": url_map -"/compute:v1/compute.urlMaps.update": update_url_map -"/compute:v1/compute.urlMaps.update/project": project -"/compute:v1/compute.urlMaps.update/urlMap": url_map -"/compute:v1/compute.urlMaps.validate": validate_url_map -"/compute:v1/compute.urlMaps.validate/project": project -"/compute:v1/compute.urlMaps.validate/urlMap": url_map -"/compute:v1/compute.vpnTunnels.aggregatedList/filter": filter -"/compute:v1/compute.vpnTunnels.aggregatedList/maxResults": max_results -"/compute:v1/compute.vpnTunnels.aggregatedList/orderBy": order_by -"/compute:v1/compute.vpnTunnels.aggregatedList/pageToken": page_token -"/compute:v1/compute.vpnTunnels.aggregatedList/project": project -"/compute:v1/compute.vpnTunnels.delete": delete_vpn_tunnel -"/compute:v1/compute.vpnTunnels.delete/project": project -"/compute:v1/compute.vpnTunnels.delete/region": region -"/compute:v1/compute.vpnTunnels.delete/vpnTunnel": vpn_tunnel -"/compute:v1/compute.vpnTunnels.get": get_vpn_tunnel -"/compute:v1/compute.vpnTunnels.get/project": project -"/compute:v1/compute.vpnTunnels.get/region": region -"/compute:v1/compute.vpnTunnels.get/vpnTunnel": vpn_tunnel -"/compute:v1/compute.vpnTunnels.insert": insert_vpn_tunnel -"/compute:v1/compute.vpnTunnels.insert/project": project -"/compute:v1/compute.vpnTunnels.insert/region": region -"/compute:v1/compute.vpnTunnels.list": list_vpn_tunnels -"/compute:v1/compute.vpnTunnels.list/filter": filter -"/compute:v1/compute.vpnTunnels.list/maxResults": max_results -"/compute:v1/compute.vpnTunnels.list/orderBy": order_by -"/compute:v1/compute.vpnTunnels.list/pageToken": page_token -"/compute:v1/compute.vpnTunnels.list/project": project -"/compute:v1/compute.vpnTunnels.list/region": region -"/compute:v1/compute.zoneOperations.delete": delete_zone_operation -"/compute:v1/compute.zoneOperations.delete/operation": operation -"/compute:v1/compute.zoneOperations.delete/project": project -"/compute:v1/compute.zoneOperations.delete/zone": zone -"/compute:v1/compute.zoneOperations.get": get_zone_operation -"/compute:v1/compute.zoneOperations.get/operation": operation -"/compute:v1/compute.zoneOperations.get/project": project -"/compute:v1/compute.zoneOperations.get/zone": zone -"/compute:v1/compute.zoneOperations.list": list_zone_operations -"/compute:v1/compute.zoneOperations.list/filter": filter -"/compute:v1/compute.zoneOperations.list/maxResults": max_results -"/compute:v1/compute.zoneOperations.list/orderBy": order_by -"/compute:v1/compute.zoneOperations.list/pageToken": page_token -"/compute:v1/compute.zoneOperations.list/project": project -"/compute:v1/compute.zoneOperations.list/zone": zone -"/compute:v1/compute.zones.get": get_zone -"/compute:v1/compute.zones.get/project": project -"/compute:v1/compute.zones.get/zone": zone -"/compute:v1/compute.zones.list": list_zones -"/compute:v1/compute.zones.list/filter": filter -"/compute:v1/compute.zones.list/maxResults": max_results -"/compute:v1/compute.zones.list/orderBy": order_by -"/compute:v1/compute.zones.list/pageToken": page_token -"/compute:v1/compute.zones.list/project": project +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.delete": delete_global_accounts_operation +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.delete/operation": operation +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.delete/project": project +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.get": get_global_accounts_operation +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.get/operation": operation +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.get/project": project +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.list": list_global_accounts_operations +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.list/filter": filter +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.list/maxResults": max_results +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.list/orderBy": order_by +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.list/pageToken": page_token +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.list/project": project +"/clouduseraccounts:beta/clouduseraccounts.groups.addMember": add_group_member +"/clouduseraccounts:beta/clouduseraccounts.groups.addMember/groupName": group_name +"/clouduseraccounts:beta/clouduseraccounts.groups.addMember/project": project +"/clouduseraccounts:beta/clouduseraccounts.groups.delete": delete_group +"/clouduseraccounts:beta/clouduseraccounts.groups.delete/groupName": group_name +"/clouduseraccounts:beta/clouduseraccounts.groups.delete/project": project +"/clouduseraccounts:beta/clouduseraccounts.groups.get": get_group +"/clouduseraccounts:beta/clouduseraccounts.groups.get/groupName": group_name +"/clouduseraccounts:beta/clouduseraccounts.groups.get/project": project +"/clouduseraccounts:beta/clouduseraccounts.groups.insert": insert_group +"/clouduseraccounts:beta/clouduseraccounts.groups.insert/project": project +"/clouduseraccounts:beta/clouduseraccounts.groups.list": list_groups +"/clouduseraccounts:beta/clouduseraccounts.groups.list/filter": filter +"/clouduseraccounts:beta/clouduseraccounts.groups.list/maxResults": max_results +"/clouduseraccounts:beta/clouduseraccounts.groups.list/orderBy": order_by +"/clouduseraccounts:beta/clouduseraccounts.groups.list/pageToken": page_token +"/clouduseraccounts:beta/clouduseraccounts.groups.list/project": project +"/clouduseraccounts:beta/clouduseraccounts.groups.removeMember": remove_group_member +"/clouduseraccounts:beta/clouduseraccounts.groups.removeMember/groupName": group_name +"/clouduseraccounts:beta/clouduseraccounts.groups.removeMember/project": project +"/clouduseraccounts:beta/clouduseraccounts.linux.getAuthorizedKeysView": get_linux_authorized_keys_view +"/clouduseraccounts:beta/clouduseraccounts.linux.getAuthorizedKeysView/instance": instance +"/clouduseraccounts:beta/clouduseraccounts.linux.getAuthorizedKeysView/login": login +"/clouduseraccounts:beta/clouduseraccounts.linux.getAuthorizedKeysView/project": project +"/clouduseraccounts:beta/clouduseraccounts.linux.getAuthorizedKeysView/user": user +"/clouduseraccounts:beta/clouduseraccounts.linux.getAuthorizedKeysView/zone": zone +"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews": get_linux_linux_account_views +"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews/filter": filter +"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews/instance": instance +"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews/maxResults": max_results +"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews/orderBy": order_by +"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews/pageToken": page_token +"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews/project": project +"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews/zone": zone +"/clouduseraccounts:beta/clouduseraccounts.users.addPublicKey": add_user_public_key +"/clouduseraccounts:beta/clouduseraccounts.users.addPublicKey/project": project +"/clouduseraccounts:beta/clouduseraccounts.users.addPublicKey/user": user +"/clouduseraccounts:beta/clouduseraccounts.users.delete": delete_user +"/clouduseraccounts:beta/clouduseraccounts.users.delete/project": project +"/clouduseraccounts:beta/clouduseraccounts.users.delete/user": user +"/clouduseraccounts:beta/clouduseraccounts.users.get": get_user +"/clouduseraccounts:beta/clouduseraccounts.users.get/project": project +"/clouduseraccounts:beta/clouduseraccounts.users.get/user": user +"/clouduseraccounts:beta/clouduseraccounts.users.insert": insert_user +"/clouduseraccounts:beta/clouduseraccounts.users.insert/project": project +"/clouduseraccounts:beta/clouduseraccounts.users.list": list_users +"/clouduseraccounts:beta/clouduseraccounts.users.list/filter": filter +"/clouduseraccounts:beta/clouduseraccounts.users.list/maxResults": max_results +"/clouduseraccounts:beta/clouduseraccounts.users.list/orderBy": order_by +"/clouduseraccounts:beta/clouduseraccounts.users.list/pageToken": page_token +"/clouduseraccounts:beta/clouduseraccounts.users.list/project": project +"/clouduseraccounts:beta/clouduseraccounts.users.removePublicKey": remove_user_public_key +"/clouduseraccounts:beta/clouduseraccounts.users.removePublicKey/fingerprint": fingerprint +"/clouduseraccounts:beta/clouduseraccounts.users.removePublicKey/project": project +"/clouduseraccounts:beta/clouduseraccounts.users.removePublicKey/user": user +"/clouduseraccounts:beta/fields": fields +"/clouduseraccounts:beta/key": key +"/clouduseraccounts:beta/quotaUser": quota_user +"/clouduseraccounts:beta/userIp": user_ip +"/clouduseraccounts:vm_alpha/AuditConfig": audit_config +"/clouduseraccounts:vm_alpha/AuditConfig/exemptedMembers": exempted_members +"/clouduseraccounts:vm_alpha/AuditConfig/exemptedMembers/exempted_member": exempted_member +"/clouduseraccounts:vm_alpha/AuditConfig/service": service +"/clouduseraccounts:vm_alpha/AuthorizedKeysView": authorized_keys_view +"/clouduseraccounts:vm_alpha/AuthorizedKeysView/keys": keys +"/clouduseraccounts:vm_alpha/AuthorizedKeysView/keys/key": key +"/clouduseraccounts:vm_alpha/AuthorizedKeysView/sudoer": sudoer +"/clouduseraccounts:vm_alpha/Binding": binding +"/clouduseraccounts:vm_alpha/Binding/members": members +"/clouduseraccounts:vm_alpha/Binding/members/member": member +"/clouduseraccounts:vm_alpha/Binding/role": role +"/clouduseraccounts:vm_alpha/Condition": condition +"/clouduseraccounts:vm_alpha/Condition/iam": iam +"/clouduseraccounts:vm_alpha/Condition/op": op +"/clouduseraccounts:vm_alpha/Condition/svc": svc +"/clouduseraccounts:vm_alpha/Condition/sys": sys +"/clouduseraccounts:vm_alpha/Condition/value": value +"/clouduseraccounts:vm_alpha/Condition/values": values +"/clouduseraccounts:vm_alpha/Condition/values/value": value +"/clouduseraccounts:vm_alpha/Group": group +"/clouduseraccounts:vm_alpha/Group/creationTimestamp": creation_timestamp +"/clouduseraccounts:vm_alpha/Group/description": description +"/clouduseraccounts:vm_alpha/Group/id": id +"/clouduseraccounts:vm_alpha/Group/kind": kind +"/clouduseraccounts:vm_alpha/Group/members": members +"/clouduseraccounts:vm_alpha/Group/members/member": member +"/clouduseraccounts:vm_alpha/Group/name": name +"/clouduseraccounts:vm_alpha/Group/selfLink": self_link +"/clouduseraccounts:vm_alpha/GroupList": group_list +"/clouduseraccounts:vm_alpha/GroupList/id": id +"/clouduseraccounts:vm_alpha/GroupList/items": items +"/clouduseraccounts:vm_alpha/GroupList/items/item": item +"/clouduseraccounts:vm_alpha/GroupList/kind": kind +"/clouduseraccounts:vm_alpha/GroupList/nextPageToken": next_page_token +"/clouduseraccounts:vm_alpha/GroupList/selfLink": self_link +"/clouduseraccounts:vm_alpha/GroupsAddMemberRequest": groups_add_member_request +"/clouduseraccounts:vm_alpha/GroupsAddMemberRequest/users": users +"/clouduseraccounts:vm_alpha/GroupsAddMemberRequest/users/user": user +"/clouduseraccounts:vm_alpha/GroupsRemoveMemberRequest": groups_remove_member_request +"/clouduseraccounts:vm_alpha/GroupsRemoveMemberRequest/users": users +"/clouduseraccounts:vm_alpha/GroupsRemoveMemberRequest/users/user": user +"/clouduseraccounts:vm_alpha/LinuxAccountViews": linux_account_views +"/clouduseraccounts:vm_alpha/LinuxAccountViews/groupViews": group_views +"/clouduseraccounts:vm_alpha/LinuxAccountViews/groupViews/group_view": group_view +"/clouduseraccounts:vm_alpha/LinuxAccountViews/kind": kind +"/clouduseraccounts:vm_alpha/LinuxAccountViews/userViews": user_views +"/clouduseraccounts:vm_alpha/LinuxAccountViews/userViews/user_view": user_view +"/clouduseraccounts:vm_alpha/LinuxGetAuthorizedKeysViewResponse": linux_get_authorized_keys_view_response +"/clouduseraccounts:vm_alpha/LinuxGetAuthorizedKeysViewResponse/resource": resource +"/clouduseraccounts:vm_alpha/LinuxGetLinuxAccountViewsResponse": linux_get_linux_account_views_response +"/clouduseraccounts:vm_alpha/LinuxGetLinuxAccountViewsResponse/resource": resource +"/clouduseraccounts:vm_alpha/LinuxGroupView": linux_group_view +"/clouduseraccounts:vm_alpha/LinuxGroupView/gid": gid +"/clouduseraccounts:vm_alpha/LinuxGroupView/groupName": group_name +"/clouduseraccounts:vm_alpha/LinuxGroupView/members": members +"/clouduseraccounts:vm_alpha/LinuxGroupView/members/member": member +"/clouduseraccounts:vm_alpha/LinuxUserView": linux_user_view +"/clouduseraccounts:vm_alpha/LinuxUserView/gecos": gecos +"/clouduseraccounts:vm_alpha/LinuxUserView/gid": gid +"/clouduseraccounts:vm_alpha/LinuxUserView/homeDirectory": home_directory +"/clouduseraccounts:vm_alpha/LinuxUserView/shell": shell +"/clouduseraccounts:vm_alpha/LinuxUserView/uid": uid +"/clouduseraccounts:vm_alpha/LinuxUserView/username": username +"/clouduseraccounts:vm_alpha/LogConfig": log_config +"/clouduseraccounts:vm_alpha/LogConfig/counter": counter +"/clouduseraccounts:vm_alpha/LogConfigCounterOptions": log_config_counter_options +"/clouduseraccounts:vm_alpha/LogConfigCounterOptions/field": field +"/clouduseraccounts:vm_alpha/LogConfigCounterOptions/metric": metric +"/clouduseraccounts:vm_alpha/Operation": operation +"/clouduseraccounts:vm_alpha/Operation/clientOperationId": client_operation_id +"/clouduseraccounts:vm_alpha/Operation/creationTimestamp": creation_timestamp +"/clouduseraccounts:vm_alpha/Operation/description": description +"/clouduseraccounts:vm_alpha/Operation/endTime": end_time +"/clouduseraccounts:vm_alpha/Operation/error": error +"/clouduseraccounts:vm_alpha/Operation/error/errors": errors +"/clouduseraccounts:vm_alpha/Operation/error/errors/error": error +"/clouduseraccounts:vm_alpha/Operation/error/errors/error/code": code +"/clouduseraccounts:vm_alpha/Operation/error/errors/error/location": location +"/clouduseraccounts:vm_alpha/Operation/error/errors/error/message": message +"/clouduseraccounts:vm_alpha/Operation/httpErrorMessage": http_error_message +"/clouduseraccounts:vm_alpha/Operation/httpErrorStatusCode": http_error_status_code +"/clouduseraccounts:vm_alpha/Operation/id": id +"/clouduseraccounts:vm_alpha/Operation/insertTime": insert_time +"/clouduseraccounts:vm_alpha/Operation/kind": kind +"/clouduseraccounts:vm_alpha/Operation/name": name +"/clouduseraccounts:vm_alpha/Operation/operationType": operation_type +"/clouduseraccounts:vm_alpha/Operation/progress": progress +"/clouduseraccounts:vm_alpha/Operation/region": region +"/clouduseraccounts:vm_alpha/Operation/selfLink": self_link +"/clouduseraccounts:vm_alpha/Operation/startTime": start_time +"/clouduseraccounts:vm_alpha/Operation/status": status +"/clouduseraccounts:vm_alpha/Operation/statusMessage": status_message +"/clouduseraccounts:vm_alpha/Operation/targetId": target_id +"/clouduseraccounts:vm_alpha/Operation/targetLink": target_link +"/clouduseraccounts:vm_alpha/Operation/user": user +"/clouduseraccounts:vm_alpha/Operation/warnings": warnings +"/clouduseraccounts:vm_alpha/Operation/warnings/warning": warning +"/clouduseraccounts:vm_alpha/Operation/warnings/warning/code": code +"/clouduseraccounts:vm_alpha/Operation/warnings/warning/data": data +"/clouduseraccounts:vm_alpha/Operation/warnings/warning/data/datum": datum +"/clouduseraccounts:vm_alpha/Operation/warnings/warning/data/datum/key": key +"/clouduseraccounts:vm_alpha/Operation/warnings/warning/data/datum/value": value +"/clouduseraccounts:vm_alpha/Operation/warnings/warning/message": message +"/clouduseraccounts:vm_alpha/Operation/zone": zone +"/clouduseraccounts:vm_alpha/OperationList": operation_list +"/clouduseraccounts:vm_alpha/OperationList/id": id +"/clouduseraccounts:vm_alpha/OperationList/items": items +"/clouduseraccounts:vm_alpha/OperationList/items/item": item +"/clouduseraccounts:vm_alpha/OperationList/kind": kind +"/clouduseraccounts:vm_alpha/OperationList/nextPageToken": next_page_token +"/clouduseraccounts:vm_alpha/OperationList/selfLink": self_link +"/clouduseraccounts:vm_alpha/Policy": policy +"/clouduseraccounts:vm_alpha/Policy/auditConfigs": audit_configs +"/clouduseraccounts:vm_alpha/Policy/auditConfigs/audit_config": audit_config +"/clouduseraccounts:vm_alpha/Policy/bindings": bindings +"/clouduseraccounts:vm_alpha/Policy/bindings/binding": binding +"/clouduseraccounts:vm_alpha/Policy/etag": etag +"/clouduseraccounts:vm_alpha/Policy/iamOwned": iam_owned +"/clouduseraccounts:vm_alpha/Policy/rules": rules +"/clouduseraccounts:vm_alpha/Policy/rules/rule": rule +"/clouduseraccounts:vm_alpha/Policy/version": version +"/clouduseraccounts:vm_alpha/PublicKey": public_key +"/clouduseraccounts:vm_alpha/PublicKey/creationTimestamp": creation_timestamp +"/clouduseraccounts:vm_alpha/PublicKey/description": description +"/clouduseraccounts:vm_alpha/PublicKey/expirationTimestamp": expiration_timestamp +"/clouduseraccounts:vm_alpha/PublicKey/fingerprint": fingerprint +"/clouduseraccounts:vm_alpha/PublicKey/key": key +"/clouduseraccounts:vm_alpha/Rule": rule +"/clouduseraccounts:vm_alpha/Rule/action": action +"/clouduseraccounts:vm_alpha/Rule/conditions": conditions +"/clouduseraccounts:vm_alpha/Rule/conditions/condition": condition +"/clouduseraccounts:vm_alpha/Rule/description": description +"/clouduseraccounts:vm_alpha/Rule/ins": ins +"/clouduseraccounts:vm_alpha/Rule/ins/in": in +"/clouduseraccounts:vm_alpha/Rule/logConfigs": log_configs +"/clouduseraccounts:vm_alpha/Rule/logConfigs/log_config": log_config +"/clouduseraccounts:vm_alpha/Rule/notIns": not_ins +"/clouduseraccounts:vm_alpha/Rule/notIns/not_in": not_in +"/clouduseraccounts:vm_alpha/Rule/permissions": permissions +"/clouduseraccounts:vm_alpha/Rule/permissions/permission": permission +"/clouduseraccounts:vm_alpha/TestPermissionsRequest": test_permissions_request +"/clouduseraccounts:vm_alpha/TestPermissionsRequest/permissions": permissions +"/clouduseraccounts:vm_alpha/TestPermissionsRequest/permissions/permission": permission +"/clouduseraccounts:vm_alpha/TestPermissionsResponse": test_permissions_response +"/clouduseraccounts:vm_alpha/TestPermissionsResponse/permissions": permissions +"/clouduseraccounts:vm_alpha/TestPermissionsResponse/permissions/permission": permission +"/clouduseraccounts:vm_alpha/User": user +"/clouduseraccounts:vm_alpha/User/creationTimestamp": creation_timestamp +"/clouduseraccounts:vm_alpha/User/description": description +"/clouduseraccounts:vm_alpha/User/groups": groups +"/clouduseraccounts:vm_alpha/User/groups/group": group +"/clouduseraccounts:vm_alpha/User/id": id +"/clouduseraccounts:vm_alpha/User/kind": kind +"/clouduseraccounts:vm_alpha/User/name": name +"/clouduseraccounts:vm_alpha/User/owner": owner +"/clouduseraccounts:vm_alpha/User/publicKeys": public_keys +"/clouduseraccounts:vm_alpha/User/publicKeys/public_key": public_key +"/clouduseraccounts:vm_alpha/User/selfLink": self_link +"/clouduseraccounts:vm_alpha/UserList": user_list +"/clouduseraccounts:vm_alpha/UserList/id": id +"/clouduseraccounts:vm_alpha/UserList/items": items +"/clouduseraccounts:vm_alpha/UserList/items/item": item +"/clouduseraccounts:vm_alpha/UserList/kind": kind +"/clouduseraccounts:vm_alpha/UserList/nextPageToken": next_page_token +"/clouduseraccounts:vm_alpha/UserList/selfLink": self_link +"/clouduseraccounts:vm_alpha/clouduseraccounts.globalAccountsOperations.delete": delete_global_accounts_operation +"/clouduseraccounts:vm_alpha/clouduseraccounts.globalAccountsOperations.delete/operation": operation +"/clouduseraccounts:vm_alpha/clouduseraccounts.globalAccountsOperations.delete/project": project +"/clouduseraccounts:vm_alpha/clouduseraccounts.globalAccountsOperations.get": get_global_accounts_operation +"/clouduseraccounts:vm_alpha/clouduseraccounts.globalAccountsOperations.get/operation": operation +"/clouduseraccounts:vm_alpha/clouduseraccounts.globalAccountsOperations.get/project": project +"/clouduseraccounts:vm_alpha/clouduseraccounts.globalAccountsOperations.list": list_global_accounts_operations +"/clouduseraccounts:vm_alpha/clouduseraccounts.globalAccountsOperations.list/filter": filter +"/clouduseraccounts:vm_alpha/clouduseraccounts.globalAccountsOperations.list/maxResults": max_results +"/clouduseraccounts:vm_alpha/clouduseraccounts.globalAccountsOperations.list/orderBy": order_by +"/clouduseraccounts:vm_alpha/clouduseraccounts.globalAccountsOperations.list/pageToken": page_token +"/clouduseraccounts:vm_alpha/clouduseraccounts.globalAccountsOperations.list/project": project +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.addMember": add_group_member +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.addMember/groupName": group_name +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.addMember/project": project +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.delete": delete_group +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.delete/groupName": group_name +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.delete/project": project +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.get": get_group +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.get/groupName": group_name +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.get/project": project +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.getIamPolicy": get_group_iam_policy +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.getIamPolicy/project": project +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.getIamPolicy/resource": resource +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.insert": insert_group +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.insert/project": project +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.list": list_groups +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.list/filter": filter +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.list/maxResults": max_results +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.list/orderBy": order_by +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.list/pageToken": page_token +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.list/project": project +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.removeMember": remove_group_member +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.removeMember/groupName": group_name +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.removeMember/project": project +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.setIamPolicy": set_group_iam_policy +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.setIamPolicy/project": project +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.setIamPolicy/resource": resource +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.testIamPermissions": test_group_iam_permissions +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.testIamPermissions/project": project +"/clouduseraccounts:vm_alpha/clouduseraccounts.groups.testIamPermissions/resource": resource +"/clouduseraccounts:vm_alpha/clouduseraccounts.linux.getAuthorizedKeysView": get_linux_authorized_keys_view +"/clouduseraccounts:vm_alpha/clouduseraccounts.linux.getAuthorizedKeysView/instance": instance +"/clouduseraccounts:vm_alpha/clouduseraccounts.linux.getAuthorizedKeysView/login": login +"/clouduseraccounts:vm_alpha/clouduseraccounts.linux.getAuthorizedKeysView/project": project +"/clouduseraccounts:vm_alpha/clouduseraccounts.linux.getAuthorizedKeysView/user": user +"/clouduseraccounts:vm_alpha/clouduseraccounts.linux.getAuthorizedKeysView/zone": zone +"/clouduseraccounts:vm_alpha/clouduseraccounts.linux.getLinuxAccountViews": get_linux_linux_account_views +"/clouduseraccounts:vm_alpha/clouduseraccounts.linux.getLinuxAccountViews/filter": filter +"/clouduseraccounts:vm_alpha/clouduseraccounts.linux.getLinuxAccountViews/instance": instance +"/clouduseraccounts:vm_alpha/clouduseraccounts.linux.getLinuxAccountViews/maxResults": max_results +"/clouduseraccounts:vm_alpha/clouduseraccounts.linux.getLinuxAccountViews/orderBy": order_by +"/clouduseraccounts:vm_alpha/clouduseraccounts.linux.getLinuxAccountViews/pageToken": page_token +"/clouduseraccounts:vm_alpha/clouduseraccounts.linux.getLinuxAccountViews/project": project +"/clouduseraccounts:vm_alpha/clouduseraccounts.linux.getLinuxAccountViews/zone": zone +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.addPublicKey": add_user_public_key +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.addPublicKey/project": project +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.addPublicKey/user": user +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.delete": delete_user +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.delete/project": project +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.delete/user": user +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.get": get_user +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.get/project": project +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.get/user": user +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.getIamPolicy": get_user_iam_policy +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.getIamPolicy/project": project +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.getIamPolicy/resource": resource +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.insert": insert_user +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.insert/project": project +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.list": list_users +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.list/filter": filter +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.list/maxResults": max_results +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.list/orderBy": order_by +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.list/pageToken": page_token +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.list/project": project +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.removePublicKey": remove_user_public_key +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.removePublicKey/fingerprint": fingerprint +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.removePublicKey/project": project +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.removePublicKey/user": user +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.setIamPolicy": set_user_iam_policy +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.setIamPolicy/project": project +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.setIamPolicy/resource": resource +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.testIamPermissions": test_user_iam_permissions +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.testIamPermissions/project": project +"/clouduseraccounts:vm_alpha/clouduseraccounts.users.testIamPermissions/resource": resource +"/clouduseraccounts:vm_alpha/fields": fields +"/clouduseraccounts:vm_alpha/key": key +"/clouduseraccounts:vm_alpha/quotaUser": quota_user +"/clouduseraccounts:vm_alpha/userIp": user_ip +"/compute:beta/AcceleratorConfig": accelerator_config +"/compute:beta/AcceleratorConfig/acceleratorCount": accelerator_count +"/compute:beta/AcceleratorConfig/acceleratorType": accelerator_type +"/compute:beta/AcceleratorType": accelerator_type +"/compute:beta/AcceleratorType/creationTimestamp": creation_timestamp +"/compute:beta/AcceleratorType/deprecated": deprecated +"/compute:beta/AcceleratorType/description": description +"/compute:beta/AcceleratorType/id": id +"/compute:beta/AcceleratorType/kind": kind +"/compute:beta/AcceleratorType/maximumCardsPerInstance": maximum_cards_per_instance +"/compute:beta/AcceleratorType/name": name +"/compute:beta/AcceleratorType/selfLink": self_link +"/compute:beta/AcceleratorType/zone": zone +"/compute:beta/AcceleratorTypeAggregatedList": accelerator_type_aggregated_list +"/compute:beta/AcceleratorTypeAggregatedList/id": id +"/compute:beta/AcceleratorTypeAggregatedList/items": items +"/compute:beta/AcceleratorTypeAggregatedList/items/item": item +"/compute:beta/AcceleratorTypeAggregatedList/kind": kind +"/compute:beta/AcceleratorTypeAggregatedList/nextPageToken": next_page_token +"/compute:beta/AcceleratorTypeAggregatedList/selfLink": self_link +"/compute:beta/AcceleratorTypeList": accelerator_type_list +"/compute:beta/AcceleratorTypeList/id": id +"/compute:beta/AcceleratorTypeList/items": items +"/compute:beta/AcceleratorTypeList/items/item": item +"/compute:beta/AcceleratorTypeList/kind": kind +"/compute:beta/AcceleratorTypeList/nextPageToken": next_page_token +"/compute:beta/AcceleratorTypeList/selfLink": self_link +"/compute:beta/AcceleratorTypesScopedList": accelerator_types_scoped_list +"/compute:beta/AcceleratorTypesScopedList/acceleratorTypes": accelerator_types +"/compute:beta/AcceleratorTypesScopedList/acceleratorTypes/accelerator_type": accelerator_type +"/compute:beta/AcceleratorTypesScopedList/warning": warning +"/compute:beta/AcceleratorTypesScopedList/warning/code": code +"/compute:beta/AcceleratorTypesScopedList/warning/data": data +"/compute:beta/AcceleratorTypesScopedList/warning/data/datum": datum +"/compute:beta/AcceleratorTypesScopedList/warning/data/datum/key": key +"/compute:beta/AcceleratorTypesScopedList/warning/data/datum/value": value +"/compute:beta/AcceleratorTypesScopedList/warning/message": message +"/compute:beta/AccessConfig": access_config +"/compute:beta/AccessConfig/kind": kind +"/compute:beta/AccessConfig/name": name +"/compute:beta/AccessConfig/natIP": nat_ip +"/compute:beta/AccessConfig/type": type +"/compute:beta/Address": address +"/compute:beta/Address/address": address +"/compute:beta/Address/addressType": address_type +"/compute:beta/Address/creationTimestamp": creation_timestamp +"/compute:beta/Address/description": description +"/compute:beta/Address/id": id +"/compute:beta/Address/ipVersion": ip_version +"/compute:beta/Address/kind": kind +"/compute:beta/Address/labelFingerprint": label_fingerprint +"/compute:beta/Address/labels": labels +"/compute:beta/Address/labels/label": label +"/compute:beta/Address/name": name +"/compute:beta/Address/region": region +"/compute:beta/Address/selfLink": self_link +"/compute:beta/Address/status": status +"/compute:beta/Address/subnetwork": subnetwork +"/compute:beta/Address/users": users +"/compute:beta/Address/users/user": user +"/compute:beta/AddressAggregatedList": address_aggregated_list +"/compute:beta/AddressAggregatedList/id": id +"/compute:beta/AddressAggregatedList/items": items +"/compute:beta/AddressAggregatedList/items/item": item +"/compute:beta/AddressAggregatedList/kind": kind +"/compute:beta/AddressAggregatedList/nextPageToken": next_page_token +"/compute:beta/AddressAggregatedList/selfLink": self_link +"/compute:beta/AddressList": address_list +"/compute:beta/AddressList/id": id +"/compute:beta/AddressList/items": items +"/compute:beta/AddressList/items/item": item +"/compute:beta/AddressList/kind": kind +"/compute:beta/AddressList/nextPageToken": next_page_token +"/compute:beta/AddressList/selfLink": self_link +"/compute:beta/AddressesScopedList": addresses_scoped_list +"/compute:beta/AddressesScopedList/addresses": addresses +"/compute:beta/AddressesScopedList/addresses/address": address +"/compute:beta/AddressesScopedList/warning": warning +"/compute:beta/AddressesScopedList/warning/code": code +"/compute:beta/AddressesScopedList/warning/data": data +"/compute:beta/AddressesScopedList/warning/data/datum": datum +"/compute:beta/AddressesScopedList/warning/data/datum/key": key +"/compute:beta/AddressesScopedList/warning/data/datum/value": value +"/compute:beta/AddressesScopedList/warning/message": message +"/compute:beta/AliasIpRange": alias_ip_range +"/compute:beta/AliasIpRange/ipCidrRange": ip_cidr_range +"/compute:beta/AliasIpRange/subnetworkRangeName": subnetwork_range_name +"/compute:beta/AttachedDisk": attached_disk +"/compute:beta/AttachedDisk/autoDelete": auto_delete +"/compute:beta/AttachedDisk/boot": boot +"/compute:beta/AttachedDisk/deviceName": device_name +"/compute:beta/AttachedDisk/diskEncryptionKey": disk_encryption_key +"/compute:beta/AttachedDisk/index": index +"/compute:beta/AttachedDisk/initializeParams": initialize_params +"/compute:beta/AttachedDisk/interface": interface +"/compute:beta/AttachedDisk/kind": kind +"/compute:beta/AttachedDisk/licenses": licenses +"/compute:beta/AttachedDisk/licenses/license": license +"/compute:beta/AttachedDisk/mode": mode +"/compute:beta/AttachedDisk/source": source +"/compute:beta/AttachedDisk/type": type +"/compute:beta/AttachedDiskInitializeParams": attached_disk_initialize_params +"/compute:beta/AttachedDiskInitializeParams/diskName": disk_name +"/compute:beta/AttachedDiskInitializeParams/diskSizeGb": disk_size_gb +"/compute:beta/AttachedDiskInitializeParams/diskStorageType": disk_storage_type +"/compute:beta/AttachedDiskInitializeParams/diskType": disk_type +"/compute:beta/AttachedDiskInitializeParams/sourceImage": source_image +"/compute:beta/AttachedDiskInitializeParams/sourceImageEncryptionKey": source_image_encryption_key +"/compute:beta/AuditConfig": audit_config +"/compute:beta/AuditConfig/auditLogConfigs": audit_log_configs +"/compute:beta/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/compute:beta/AuditConfig/exemptedMembers": exempted_members +"/compute:beta/AuditConfig/exemptedMembers/exempted_member": exempted_member +"/compute:beta/AuditConfig/service": service +"/compute:beta/AuditLogConfig": audit_log_config +"/compute:beta/AuditLogConfig/exemptedMembers": exempted_members +"/compute:beta/AuditLogConfig/exemptedMembers/exempted_member": exempted_member +"/compute:beta/AuditLogConfig/logType": log_type +"/compute:beta/AuthorizationLoggingOptions": authorization_logging_options +"/compute:beta/AuthorizationLoggingOptions/permissionType": permission_type +"/compute:beta/Autoscaler": autoscaler +"/compute:beta/Autoscaler/autoscalingPolicy": autoscaling_policy +"/compute:beta/Autoscaler/creationTimestamp": creation_timestamp +"/compute:beta/Autoscaler/description": description +"/compute:beta/Autoscaler/id": id +"/compute:beta/Autoscaler/kind": kind +"/compute:beta/Autoscaler/name": name +"/compute:beta/Autoscaler/region": region +"/compute:beta/Autoscaler/selfLink": self_link +"/compute:beta/Autoscaler/status": status +"/compute:beta/Autoscaler/statusDetails": status_details +"/compute:beta/Autoscaler/statusDetails/status_detail": status_detail +"/compute:beta/Autoscaler/target": target +"/compute:beta/Autoscaler/zone": zone +"/compute:beta/AutoscalerAggregatedList": autoscaler_aggregated_list +"/compute:beta/AutoscalerAggregatedList/id": id +"/compute:beta/AutoscalerAggregatedList/items": items +"/compute:beta/AutoscalerAggregatedList/items/item": item +"/compute:beta/AutoscalerAggregatedList/kind": kind +"/compute:beta/AutoscalerAggregatedList/nextPageToken": next_page_token +"/compute:beta/AutoscalerAggregatedList/selfLink": self_link +"/compute:beta/AutoscalerList": autoscaler_list +"/compute:beta/AutoscalerList/id": id +"/compute:beta/AutoscalerList/items": items +"/compute:beta/AutoscalerList/items/item": item +"/compute:beta/AutoscalerList/kind": kind +"/compute:beta/AutoscalerList/nextPageToken": next_page_token +"/compute:beta/AutoscalerList/selfLink": self_link +"/compute:beta/AutoscalerStatusDetails": autoscaler_status_details +"/compute:beta/AutoscalerStatusDetails/message": message +"/compute:beta/AutoscalerStatusDetails/type": type +"/compute:beta/AutoscalersScopedList": autoscalers_scoped_list +"/compute:beta/AutoscalersScopedList/autoscalers": autoscalers +"/compute:beta/AutoscalersScopedList/autoscalers/autoscaler": autoscaler +"/compute:beta/AutoscalersScopedList/warning": warning +"/compute:beta/AutoscalersScopedList/warning/code": code +"/compute:beta/AutoscalersScopedList/warning/data": data +"/compute:beta/AutoscalersScopedList/warning/data/datum": datum +"/compute:beta/AutoscalersScopedList/warning/data/datum/key": key +"/compute:beta/AutoscalersScopedList/warning/data/datum/value": value +"/compute:beta/AutoscalersScopedList/warning/message": message +"/compute:beta/AutoscalingPolicy": autoscaling_policy +"/compute:beta/AutoscalingPolicy/coolDownPeriodSec": cool_down_period_sec +"/compute:beta/AutoscalingPolicy/cpuUtilization": cpu_utilization +"/compute:beta/AutoscalingPolicy/customMetricUtilizations": custom_metric_utilizations +"/compute:beta/AutoscalingPolicy/customMetricUtilizations/custom_metric_utilization": custom_metric_utilization +"/compute:beta/AutoscalingPolicy/loadBalancingUtilization": load_balancing_utilization +"/compute:beta/AutoscalingPolicy/maxNumReplicas": max_num_replicas +"/compute:beta/AutoscalingPolicy/minNumReplicas": min_num_replicas +"/compute:beta/AutoscalingPolicyCpuUtilization": autoscaling_policy_cpu_utilization +"/compute:beta/AutoscalingPolicyCpuUtilization/utilizationTarget": utilization_target +"/compute:beta/AutoscalingPolicyCustomMetricUtilization": autoscaling_policy_custom_metric_utilization +"/compute:beta/AutoscalingPolicyCustomMetricUtilization/filter": filter +"/compute:beta/AutoscalingPolicyCustomMetricUtilization/metric": metric +"/compute:beta/AutoscalingPolicyCustomMetricUtilization/singleInstanceAssignment": single_instance_assignment +"/compute:beta/AutoscalingPolicyCustomMetricUtilization/utilizationTarget": utilization_target +"/compute:beta/AutoscalingPolicyCustomMetricUtilization/utilizationTargetType": utilization_target_type +"/compute:beta/AutoscalingPolicyLoadBalancingUtilization": autoscaling_policy_load_balancing_utilization +"/compute:beta/AutoscalingPolicyLoadBalancingUtilization/utilizationTarget": utilization_target +"/compute:beta/Backend": backend +"/compute:beta/Backend/balancingMode": balancing_mode +"/compute:beta/Backend/capacityScaler": capacity_scaler +"/compute:beta/Backend/description": description +"/compute:beta/Backend/group": group +"/compute:beta/Backend/maxConnections": max_connections +"/compute:beta/Backend/maxConnectionsPerInstance": max_connections_per_instance +"/compute:beta/Backend/maxRate": max_rate +"/compute:beta/Backend/maxRatePerInstance": max_rate_per_instance +"/compute:beta/Backend/maxUtilization": max_utilization +"/compute:beta/BackendBucket": backend_bucket +"/compute:beta/BackendBucket/bucketName": bucket_name +"/compute:beta/BackendBucket/creationTimestamp": creation_timestamp +"/compute:beta/BackendBucket/description": description +"/compute:beta/BackendBucket/enableCdn": enable_cdn +"/compute:beta/BackendBucket/id": id +"/compute:beta/BackendBucket/kind": kind +"/compute:beta/BackendBucket/name": name +"/compute:beta/BackendBucket/selfLink": self_link +"/compute:beta/BackendBucketList": backend_bucket_list +"/compute:beta/BackendBucketList/id": id +"/compute:beta/BackendBucketList/items": items +"/compute:beta/BackendBucketList/items/item": item +"/compute:beta/BackendBucketList/kind": kind +"/compute:beta/BackendBucketList/nextPageToken": next_page_token +"/compute:beta/BackendBucketList/selfLink": self_link +"/compute:beta/BackendService": backend_service +"/compute:beta/BackendService/affinityCookieTtlSec": affinity_cookie_ttl_sec +"/compute:beta/BackendService/backends": backends +"/compute:beta/BackendService/backends/backend": backend +"/compute:beta/BackendService/cdnPolicy": cdn_policy +"/compute:beta/BackendService/connectionDraining": connection_draining +"/compute:beta/BackendService/creationTimestamp": creation_timestamp +"/compute:beta/BackendService/description": description +"/compute:beta/BackendService/enableCDN": enable_cdn +"/compute:beta/BackendService/fingerprint": fingerprint +"/compute:beta/BackendService/healthChecks": health_checks +"/compute:beta/BackendService/healthChecks/health_check": health_check +"/compute:beta/BackendService/iap": iap +"/compute:beta/BackendService/id": id +"/compute:beta/BackendService/kind": kind +"/compute:beta/BackendService/loadBalancingScheme": load_balancing_scheme +"/compute:beta/BackendService/name": name +"/compute:beta/BackendService/port": port +"/compute:beta/BackendService/portName": port_name +"/compute:beta/BackendService/protocol": protocol +"/compute:beta/BackendService/region": region +"/compute:beta/BackendService/securityPolicy": security_policy +"/compute:beta/BackendService/selfLink": self_link +"/compute:beta/BackendService/sessionAffinity": session_affinity +"/compute:beta/BackendService/timeoutSec": timeout_sec +"/compute:beta/BackendServiceAggregatedList": backend_service_aggregated_list +"/compute:beta/BackendServiceAggregatedList/id": id +"/compute:beta/BackendServiceAggregatedList/items": items +"/compute:beta/BackendServiceAggregatedList/items/item": item +"/compute:beta/BackendServiceAggregatedList/kind": kind +"/compute:beta/BackendServiceAggregatedList/nextPageToken": next_page_token +"/compute:beta/BackendServiceAggregatedList/selfLink": self_link +"/compute:beta/BackendServiceCdnPolicy": backend_service_cdn_policy +"/compute:beta/BackendServiceCdnPolicy/cacheKeyPolicy": cache_key_policy +"/compute:beta/BackendServiceGroupHealth": backend_service_group_health +"/compute:beta/BackendServiceGroupHealth/healthStatus": health_status +"/compute:beta/BackendServiceGroupHealth/healthStatus/health_status": health_status +"/compute:beta/BackendServiceGroupHealth/kind": kind +"/compute:beta/BackendServiceIAP": backend_service_iap +"/compute:beta/BackendServiceIAP/enabled": enabled +"/compute:beta/BackendServiceIAP/oauth2ClientId": oauth2_client_id +"/compute:beta/BackendServiceIAP/oauth2ClientSecret": oauth2_client_secret +"/compute:beta/BackendServiceIAP/oauth2ClientSecretSha256": oauth2_client_secret_sha256 +"/compute:beta/BackendServiceList": backend_service_list +"/compute:beta/BackendServiceList/id": id +"/compute:beta/BackendServiceList/items": items +"/compute:beta/BackendServiceList/items/item": item +"/compute:beta/BackendServiceList/kind": kind +"/compute:beta/BackendServiceList/nextPageToken": next_page_token +"/compute:beta/BackendServiceList/selfLink": self_link +"/compute:beta/BackendServicesScopedList": backend_services_scoped_list +"/compute:beta/BackendServicesScopedList/backendServices": backend_services +"/compute:beta/BackendServicesScopedList/backendServices/backend_service": backend_service +"/compute:beta/BackendServicesScopedList/warning": warning +"/compute:beta/BackendServicesScopedList/warning/code": code +"/compute:beta/BackendServicesScopedList/warning/data": data +"/compute:beta/BackendServicesScopedList/warning/data/datum": datum +"/compute:beta/BackendServicesScopedList/warning/data/datum/key": key +"/compute:beta/BackendServicesScopedList/warning/data/datum/value": value +"/compute:beta/BackendServicesScopedList/warning/message": message +"/compute:beta/Binding": binding +"/compute:beta/Binding/condition": condition +"/compute:beta/Binding/members": members +"/compute:beta/Binding/members/member": member +"/compute:beta/Binding/role": role +"/compute:beta/CacheInvalidationRule": cache_invalidation_rule +"/compute:beta/CacheInvalidationRule/host": host +"/compute:beta/CacheInvalidationRule/path": path +"/compute:beta/CacheKeyPolicy": cache_key_policy +"/compute:beta/CacheKeyPolicy/includeHost": include_host +"/compute:beta/CacheKeyPolicy/includeProtocol": include_protocol +"/compute:beta/CacheKeyPolicy/includeQueryString": include_query_string +"/compute:beta/CacheKeyPolicy/queryStringBlacklist": query_string_blacklist +"/compute:beta/CacheKeyPolicy/queryStringBlacklist/query_string_blacklist": query_string_blacklist +"/compute:beta/CacheKeyPolicy/queryStringWhitelist": query_string_whitelist +"/compute:beta/CacheKeyPolicy/queryStringWhitelist/query_string_whitelist": query_string_whitelist +"/compute:beta/Commitment": commitment +"/compute:beta/Commitment/creationTimestamp": creation_timestamp +"/compute:beta/Commitment/description": description +"/compute:beta/Commitment/endTimestamp": end_timestamp +"/compute:beta/Commitment/id": id +"/compute:beta/Commitment/kind": kind +"/compute:beta/Commitment/name": name +"/compute:beta/Commitment/plan": plan +"/compute:beta/Commitment/region": region +"/compute:beta/Commitment/resources": resources +"/compute:beta/Commitment/resources/resource": resource +"/compute:beta/Commitment/selfLink": self_link +"/compute:beta/Commitment/startTimestamp": start_timestamp +"/compute:beta/Commitment/status": status +"/compute:beta/Commitment/statusMessage": status_message +"/compute:beta/CommitmentAggregatedList": commitment_aggregated_list +"/compute:beta/CommitmentAggregatedList/id": id +"/compute:beta/CommitmentAggregatedList/items": items +"/compute:beta/CommitmentAggregatedList/items/item": item +"/compute:beta/CommitmentAggregatedList/kind": kind +"/compute:beta/CommitmentAggregatedList/nextPageToken": next_page_token +"/compute:beta/CommitmentAggregatedList/selfLink": self_link +"/compute:beta/CommitmentList": commitment_list +"/compute:beta/CommitmentList/id": id +"/compute:beta/CommitmentList/items": items +"/compute:beta/CommitmentList/items/item": item +"/compute:beta/CommitmentList/kind": kind +"/compute:beta/CommitmentList/nextPageToken": next_page_token +"/compute:beta/CommitmentList/selfLink": self_link +"/compute:beta/CommitmentsScopedList": commitments_scoped_list +"/compute:beta/CommitmentsScopedList/commitments": commitments +"/compute:beta/CommitmentsScopedList/commitments/commitment": commitment +"/compute:beta/CommitmentsScopedList/warning": warning +"/compute:beta/CommitmentsScopedList/warning/code": code +"/compute:beta/CommitmentsScopedList/warning/data": data +"/compute:beta/CommitmentsScopedList/warning/data/datum": datum +"/compute:beta/CommitmentsScopedList/warning/data/datum/key": key +"/compute:beta/CommitmentsScopedList/warning/data/datum/value": value +"/compute:beta/CommitmentsScopedList/warning/message": message +"/compute:beta/Condition": condition +"/compute:beta/Condition/iam": iam +"/compute:beta/Condition/op": op +"/compute:beta/Condition/svc": svc +"/compute:beta/Condition/sys": sys +"/compute:beta/Condition/value": value +"/compute:beta/Condition/values": values +"/compute:beta/Condition/values/value": value +"/compute:beta/ConnectionDraining": connection_draining +"/compute:beta/ConnectionDraining/drainingTimeoutSec": draining_timeout_sec +"/compute:beta/CustomerEncryptionKey": customer_encryption_key +"/compute:beta/CustomerEncryptionKey/rawKey": raw_key +"/compute:beta/CustomerEncryptionKey/rsaEncryptedKey": rsa_encrypted_key +"/compute:beta/CustomerEncryptionKey/sha256": sha256 +"/compute:beta/CustomerEncryptionKeyProtectedDisk": customer_encryption_key_protected_disk +"/compute:beta/CustomerEncryptionKeyProtectedDisk/diskEncryptionKey": disk_encryption_key +"/compute:beta/CustomerEncryptionKeyProtectedDisk/source": source +"/compute:beta/DeprecationStatus": deprecation_status +"/compute:beta/DeprecationStatus/deleted": deleted +"/compute:beta/DeprecationStatus/deprecated": deprecated +"/compute:beta/DeprecationStatus/obsolete": obsolete +"/compute:beta/DeprecationStatus/replacement": replacement +"/compute:beta/DeprecationStatus/state": state +"/compute:beta/Disk": disk +"/compute:beta/Disk/creationTimestamp": creation_timestamp +"/compute:beta/Disk/description": description +"/compute:beta/Disk/diskEncryptionKey": disk_encryption_key +"/compute:beta/Disk/id": id +"/compute:beta/Disk/kind": kind +"/compute:beta/Disk/labelFingerprint": label_fingerprint +"/compute:beta/Disk/labels": labels +"/compute:beta/Disk/labels/label": label +"/compute:beta/Disk/lastAttachTimestamp": last_attach_timestamp +"/compute:beta/Disk/lastDetachTimestamp": last_detach_timestamp +"/compute:beta/Disk/licenses": licenses +"/compute:beta/Disk/licenses/license": license +"/compute:beta/Disk/name": name +"/compute:beta/Disk/options": options +"/compute:beta/Disk/selfLink": self_link +"/compute:beta/Disk/sizeGb": size_gb +"/compute:beta/Disk/sourceImage": source_image +"/compute:beta/Disk/sourceImageEncryptionKey": source_image_encryption_key +"/compute:beta/Disk/sourceImageId": source_image_id +"/compute:beta/Disk/sourceSnapshot": source_snapshot +"/compute:beta/Disk/sourceSnapshotEncryptionKey": source_snapshot_encryption_key +"/compute:beta/Disk/sourceSnapshotId": source_snapshot_id +"/compute:beta/Disk/status": status +"/compute:beta/Disk/storageType": storage_type +"/compute:beta/Disk/type": type +"/compute:beta/Disk/users": users +"/compute:beta/Disk/users/user": user +"/compute:beta/Disk/zone": zone +"/compute:beta/DiskAggregatedList": disk_aggregated_list +"/compute:beta/DiskAggregatedList/id": id +"/compute:beta/DiskAggregatedList/items": items +"/compute:beta/DiskAggregatedList/items/item": item +"/compute:beta/DiskAggregatedList/kind": kind +"/compute:beta/DiskAggregatedList/nextPageToken": next_page_token +"/compute:beta/DiskAggregatedList/selfLink": self_link +"/compute:beta/DiskList": disk_list +"/compute:beta/DiskList/id": id +"/compute:beta/DiskList/items": items +"/compute:beta/DiskList/items/item": item +"/compute:beta/DiskList/kind": kind +"/compute:beta/DiskList/nextPageToken": next_page_token +"/compute:beta/DiskList/selfLink": self_link +"/compute:beta/DiskMoveRequest": disk_move_request +"/compute:beta/DiskMoveRequest/destinationZone": destination_zone +"/compute:beta/DiskMoveRequest/targetDisk": target_disk +"/compute:beta/DiskType": disk_type +"/compute:beta/DiskType/creationTimestamp": creation_timestamp +"/compute:beta/DiskType/defaultDiskSizeGb": default_disk_size_gb +"/compute:beta/DiskType/deprecated": deprecated +"/compute:beta/DiskType/description": description +"/compute:beta/DiskType/id": id +"/compute:beta/DiskType/kind": kind +"/compute:beta/DiskType/name": name +"/compute:beta/DiskType/selfLink": self_link +"/compute:beta/DiskType/validDiskSize": valid_disk_size +"/compute:beta/DiskType/zone": zone +"/compute:beta/DiskTypeAggregatedList": disk_type_aggregated_list +"/compute:beta/DiskTypeAggregatedList/id": id +"/compute:beta/DiskTypeAggregatedList/items": items +"/compute:beta/DiskTypeAggregatedList/items/item": item +"/compute:beta/DiskTypeAggregatedList/kind": kind +"/compute:beta/DiskTypeAggregatedList/nextPageToken": next_page_token +"/compute:beta/DiskTypeAggregatedList/selfLink": self_link +"/compute:beta/DiskTypeList": disk_type_list +"/compute:beta/DiskTypeList/id": id +"/compute:beta/DiskTypeList/items": items +"/compute:beta/DiskTypeList/items/item": item +"/compute:beta/DiskTypeList/kind": kind +"/compute:beta/DiskTypeList/nextPageToken": next_page_token +"/compute:beta/DiskTypeList/selfLink": self_link +"/compute:beta/DiskTypesScopedList": disk_types_scoped_list +"/compute:beta/DiskTypesScopedList/diskTypes": disk_types +"/compute:beta/DiskTypesScopedList/diskTypes/disk_type": disk_type +"/compute:beta/DiskTypesScopedList/warning": warning +"/compute:beta/DiskTypesScopedList/warning/code": code +"/compute:beta/DiskTypesScopedList/warning/data": data +"/compute:beta/DiskTypesScopedList/warning/data/datum": datum +"/compute:beta/DiskTypesScopedList/warning/data/datum/key": key +"/compute:beta/DiskTypesScopedList/warning/data/datum/value": value +"/compute:beta/DiskTypesScopedList/warning/message": message +"/compute:beta/DisksResizeRequest": disks_resize_request +"/compute:beta/DisksResizeRequest/sizeGb": size_gb +"/compute:beta/DisksScopedList": disks_scoped_list +"/compute:beta/DisksScopedList/disks": disks +"/compute:beta/DisksScopedList/disks/disk": disk +"/compute:beta/DisksScopedList/warning": warning +"/compute:beta/DisksScopedList/warning/code": code +"/compute:beta/DisksScopedList/warning/data": data +"/compute:beta/DisksScopedList/warning/data/datum": datum +"/compute:beta/DisksScopedList/warning/data/datum/key": key +"/compute:beta/DisksScopedList/warning/data/datum/value": value +"/compute:beta/DisksScopedList/warning/message": message +"/compute:beta/Expr": expr +"/compute:beta/Expr/description": description +"/compute:beta/Expr/expression": expression +"/compute:beta/Expr/location": location +"/compute:beta/Expr/title": title +"/compute:beta/Firewall": firewall +"/compute:beta/Firewall/allowed": allowed +"/compute:beta/Firewall/allowed/allowed": allowed +"/compute:beta/Firewall/allowed/allowed/IPProtocol": ip_protocol +"/compute:beta/Firewall/allowed/allowed/ports": ports +"/compute:beta/Firewall/allowed/allowed/ports/port": port +"/compute:beta/Firewall/creationTimestamp": creation_timestamp +"/compute:beta/Firewall/denied": denied +"/compute:beta/Firewall/denied/denied": denied +"/compute:beta/Firewall/denied/denied/IPProtocol": ip_protocol +"/compute:beta/Firewall/denied/denied/ports": ports +"/compute:beta/Firewall/denied/denied/ports/port": port +"/compute:beta/Firewall/description": description +"/compute:beta/Firewall/destinationRanges": destination_ranges +"/compute:beta/Firewall/destinationRanges/destination_range": destination_range +"/compute:beta/Firewall/direction": direction +"/compute:beta/Firewall/id": id +"/compute:beta/Firewall/kind": kind +"/compute:beta/Firewall/name": name +"/compute:beta/Firewall/network": network +"/compute:beta/Firewall/priority": priority +"/compute:beta/Firewall/selfLink": self_link +"/compute:beta/Firewall/sourceRanges": source_ranges +"/compute:beta/Firewall/sourceRanges/source_range": source_range +"/compute:beta/Firewall/sourceServiceAccounts": source_service_accounts +"/compute:beta/Firewall/sourceServiceAccounts/source_service_account": source_service_account +"/compute:beta/Firewall/sourceTags": source_tags +"/compute:beta/Firewall/sourceTags/source_tag": source_tag +"/compute:beta/Firewall/targetServiceAccounts": target_service_accounts +"/compute:beta/Firewall/targetServiceAccounts/target_service_account": target_service_account +"/compute:beta/Firewall/targetTags": target_tags +"/compute:beta/Firewall/targetTags/target_tag": target_tag +"/compute:beta/FirewallList": firewall_list +"/compute:beta/FirewallList/id": id +"/compute:beta/FirewallList/items": items +"/compute:beta/FirewallList/items/item": item +"/compute:beta/FirewallList/kind": kind +"/compute:beta/FirewallList/nextPageToken": next_page_token +"/compute:beta/FirewallList/selfLink": self_link +"/compute:beta/FixedOrPercent": fixed_or_percent +"/compute:beta/FixedOrPercent/calculated": calculated +"/compute:beta/FixedOrPercent/fixed": fixed +"/compute:beta/FixedOrPercent/percent": percent +"/compute:beta/ForwardingRule": forwarding_rule +"/compute:beta/ForwardingRule/IPAddress": ip_address +"/compute:beta/ForwardingRule/IPProtocol": ip_protocol +"/compute:beta/ForwardingRule/backendService": backend_service +"/compute:beta/ForwardingRule/creationTimestamp": creation_timestamp +"/compute:beta/ForwardingRule/description": description +"/compute:beta/ForwardingRule/id": id +"/compute:beta/ForwardingRule/ipVersion": ip_version +"/compute:beta/ForwardingRule/kind": kind +"/compute:beta/ForwardingRule/labelFingerprint": label_fingerprint +"/compute:beta/ForwardingRule/labels": labels +"/compute:beta/ForwardingRule/labels/label": label +"/compute:beta/ForwardingRule/loadBalancingScheme": load_balancing_scheme +"/compute:beta/ForwardingRule/name": name +"/compute:beta/ForwardingRule/network": network +"/compute:beta/ForwardingRule/portRange": port_range +"/compute:beta/ForwardingRule/ports": ports +"/compute:beta/ForwardingRule/ports/port": port +"/compute:beta/ForwardingRule/region": region +"/compute:beta/ForwardingRule/selfLink": self_link +"/compute:beta/ForwardingRule/serviceLabel": service_label +"/compute:beta/ForwardingRule/serviceName": service_name +"/compute:beta/ForwardingRule/subnetwork": subnetwork +"/compute:beta/ForwardingRule/target": target +"/compute:beta/ForwardingRuleAggregatedList": forwarding_rule_aggregated_list +"/compute:beta/ForwardingRuleAggregatedList/id": id +"/compute:beta/ForwardingRuleAggregatedList/items": items +"/compute:beta/ForwardingRuleAggregatedList/items/item": item +"/compute:beta/ForwardingRuleAggregatedList/kind": kind +"/compute:beta/ForwardingRuleAggregatedList/nextPageToken": next_page_token +"/compute:beta/ForwardingRuleAggregatedList/selfLink": self_link +"/compute:beta/ForwardingRuleList": forwarding_rule_list +"/compute:beta/ForwardingRuleList/id": id +"/compute:beta/ForwardingRuleList/items": items +"/compute:beta/ForwardingRuleList/items/item": item +"/compute:beta/ForwardingRuleList/kind": kind +"/compute:beta/ForwardingRuleList/nextPageToken": next_page_token +"/compute:beta/ForwardingRuleList/selfLink": self_link +"/compute:beta/ForwardingRulesScopedList": forwarding_rules_scoped_list +"/compute:beta/ForwardingRulesScopedList/forwardingRules": forwarding_rules +"/compute:beta/ForwardingRulesScopedList/forwardingRules/forwarding_rule": forwarding_rule +"/compute:beta/ForwardingRulesScopedList/warning": warning +"/compute:beta/ForwardingRulesScopedList/warning/code": code +"/compute:beta/ForwardingRulesScopedList/warning/data": data +"/compute:beta/ForwardingRulesScopedList/warning/data/datum": datum +"/compute:beta/ForwardingRulesScopedList/warning/data/datum/key": key +"/compute:beta/ForwardingRulesScopedList/warning/data/datum/value": value +"/compute:beta/ForwardingRulesScopedList/warning/message": message +"/compute:beta/GlobalSetLabelsRequest": global_set_labels_request +"/compute:beta/GlobalSetLabelsRequest/labelFingerprint": label_fingerprint +"/compute:beta/GlobalSetLabelsRequest/labels": labels +"/compute:beta/GlobalSetLabelsRequest/labels/label": label +"/compute:beta/GuestOsFeature": guest_os_feature +"/compute:beta/GuestOsFeature/type": type +"/compute:beta/HTTPHealthCheck": http_health_check +"/compute:beta/HTTPHealthCheck/host": host +"/compute:beta/HTTPHealthCheck/port": port +"/compute:beta/HTTPHealthCheck/portName": port_name +"/compute:beta/HTTPHealthCheck/proxyHeader": proxy_header +"/compute:beta/HTTPHealthCheck/requestPath": request_path +"/compute:beta/HTTPSHealthCheck": https_health_check +"/compute:beta/HTTPSHealthCheck/host": host +"/compute:beta/HTTPSHealthCheck/port": port +"/compute:beta/HTTPSHealthCheck/portName": port_name +"/compute:beta/HTTPSHealthCheck/proxyHeader": proxy_header +"/compute:beta/HTTPSHealthCheck/requestPath": request_path +"/compute:beta/HealthCheck": health_check +"/compute:beta/HealthCheck/checkIntervalSec": check_interval_sec +"/compute:beta/HealthCheck/creationTimestamp": creation_timestamp +"/compute:beta/HealthCheck/description": description +"/compute:beta/HealthCheck/healthyThreshold": healthy_threshold +"/compute:beta/HealthCheck/httpHealthCheck": http_health_check +"/compute:beta/HealthCheck/httpsHealthCheck": https_health_check +"/compute:beta/HealthCheck/id": id +"/compute:beta/HealthCheck/kind": kind +"/compute:beta/HealthCheck/name": name +"/compute:beta/HealthCheck/selfLink": self_link +"/compute:beta/HealthCheck/sslHealthCheck": ssl_health_check +"/compute:beta/HealthCheck/tcpHealthCheck": tcp_health_check +"/compute:beta/HealthCheck/timeoutSec": timeout_sec +"/compute:beta/HealthCheck/type": type +"/compute:beta/HealthCheck/udpHealthCheck": udp_health_check +"/compute:beta/HealthCheck/unhealthyThreshold": unhealthy_threshold +"/compute:beta/HealthCheckList": health_check_list +"/compute:beta/HealthCheckList/id": id +"/compute:beta/HealthCheckList/items": items +"/compute:beta/HealthCheckList/items/item": item +"/compute:beta/HealthCheckList/kind": kind +"/compute:beta/HealthCheckList/nextPageToken": next_page_token +"/compute:beta/HealthCheckList/selfLink": self_link +"/compute:beta/HealthCheckReference": health_check_reference +"/compute:beta/HealthCheckReference/healthCheck": health_check +"/compute:beta/HealthStatus": health_status +"/compute:beta/HealthStatus/healthState": health_state +"/compute:beta/HealthStatus/instance": instance +"/compute:beta/HealthStatus/ipAddress": ip_address +"/compute:beta/HealthStatus/port": port +"/compute:beta/HostRule": host_rule +"/compute:beta/HostRule/description": description +"/compute:beta/HostRule/hosts": hosts +"/compute:beta/HostRule/hosts/host": host +"/compute:beta/HostRule/pathMatcher": path_matcher +"/compute:beta/HttpHealthCheck": http_health_check +"/compute:beta/HttpHealthCheck/checkIntervalSec": check_interval_sec +"/compute:beta/HttpHealthCheck/creationTimestamp": creation_timestamp +"/compute:beta/HttpHealthCheck/description": description +"/compute:beta/HttpHealthCheck/healthyThreshold": healthy_threshold +"/compute:beta/HttpHealthCheck/host": host +"/compute:beta/HttpHealthCheck/id": id +"/compute:beta/HttpHealthCheck/kind": kind +"/compute:beta/HttpHealthCheck/name": name +"/compute:beta/HttpHealthCheck/port": port +"/compute:beta/HttpHealthCheck/requestPath": request_path +"/compute:beta/HttpHealthCheck/selfLink": self_link +"/compute:beta/HttpHealthCheck/timeoutSec": timeout_sec +"/compute:beta/HttpHealthCheck/unhealthyThreshold": unhealthy_threshold +"/compute:beta/HttpHealthCheckList": http_health_check_list +"/compute:beta/HttpHealthCheckList/id": id +"/compute:beta/HttpHealthCheckList/items": items +"/compute:beta/HttpHealthCheckList/items/item": item +"/compute:beta/HttpHealthCheckList/kind": kind +"/compute:beta/HttpHealthCheckList/nextPageToken": next_page_token +"/compute:beta/HttpHealthCheckList/selfLink": self_link +"/compute:beta/HttpsHealthCheck": https_health_check +"/compute:beta/HttpsHealthCheck/checkIntervalSec": check_interval_sec +"/compute:beta/HttpsHealthCheck/creationTimestamp": creation_timestamp +"/compute:beta/HttpsHealthCheck/description": description +"/compute:beta/HttpsHealthCheck/healthyThreshold": healthy_threshold +"/compute:beta/HttpsHealthCheck/host": host +"/compute:beta/HttpsHealthCheck/id": id +"/compute:beta/HttpsHealthCheck/kind": kind +"/compute:beta/HttpsHealthCheck/name": name +"/compute:beta/HttpsHealthCheck/port": port +"/compute:beta/HttpsHealthCheck/requestPath": request_path +"/compute:beta/HttpsHealthCheck/selfLink": self_link +"/compute:beta/HttpsHealthCheck/timeoutSec": timeout_sec +"/compute:beta/HttpsHealthCheck/unhealthyThreshold": unhealthy_threshold +"/compute:beta/HttpsHealthCheckList": https_health_check_list +"/compute:beta/HttpsHealthCheckList/id": id +"/compute:beta/HttpsHealthCheckList/items": items +"/compute:beta/HttpsHealthCheckList/items/item": item +"/compute:beta/HttpsHealthCheckList/kind": kind +"/compute:beta/HttpsHealthCheckList/nextPageToken": next_page_token +"/compute:beta/HttpsHealthCheckList/selfLink": self_link +"/compute:beta/Image": image +"/compute:beta/Image/archiveSizeBytes": archive_size_bytes +"/compute:beta/Image/creationTimestamp": creation_timestamp +"/compute:beta/Image/deprecated": deprecated +"/compute:beta/Image/description": description +"/compute:beta/Image/diskSizeGb": disk_size_gb +"/compute:beta/Image/family": family +"/compute:beta/Image/guestOsFeatures": guest_os_features +"/compute:beta/Image/guestOsFeatures/guest_os_feature": guest_os_feature +"/compute:beta/Image/id": id +"/compute:beta/Image/imageEncryptionKey": image_encryption_key +"/compute:beta/Image/kind": kind +"/compute:beta/Image/labelFingerprint": label_fingerprint +"/compute:beta/Image/labels": labels +"/compute:beta/Image/labels/label": label +"/compute:beta/Image/licenses": licenses +"/compute:beta/Image/licenses/license": license +"/compute:beta/Image/name": name +"/compute:beta/Image/rawDisk": raw_disk +"/compute:beta/Image/rawDisk/containerType": container_type +"/compute:beta/Image/rawDisk/sha1Checksum": sha1_checksum +"/compute:beta/Image/rawDisk/source": source +"/compute:beta/Image/selfLink": self_link +"/compute:beta/Image/sourceDisk": source_disk +"/compute:beta/Image/sourceDiskEncryptionKey": source_disk_encryption_key +"/compute:beta/Image/sourceDiskId": source_disk_id +"/compute:beta/Image/sourceImage": source_image +"/compute:beta/Image/sourceImageEncryptionKey": source_image_encryption_key +"/compute:beta/Image/sourceImageId": source_image_id +"/compute:beta/Image/sourceType": source_type +"/compute:beta/Image/status": status +"/compute:beta/ImageList": image_list +"/compute:beta/ImageList/id": id +"/compute:beta/ImageList/items": items +"/compute:beta/ImageList/items/item": item +"/compute:beta/ImageList/kind": kind +"/compute:beta/ImageList/nextPageToken": next_page_token +"/compute:beta/ImageList/selfLink": self_link +"/compute:beta/Instance": instance +"/compute:beta/Instance/canIpForward": can_ip_forward +"/compute:beta/Instance/cpuPlatform": cpu_platform +"/compute:beta/Instance/creationTimestamp": creation_timestamp +"/compute:beta/Instance/description": description +"/compute:beta/Instance/disks": disks +"/compute:beta/Instance/disks/disk": disk +"/compute:beta/Instance/guestAccelerators": guest_accelerators +"/compute:beta/Instance/guestAccelerators/guest_accelerator": guest_accelerator +"/compute:beta/Instance/id": id +"/compute:beta/Instance/kind": kind +"/compute:beta/Instance/labelFingerprint": label_fingerprint +"/compute:beta/Instance/labels": labels +"/compute:beta/Instance/labels/label": label +"/compute:beta/Instance/machineType": machine_type +"/compute:beta/Instance/metadata": metadata +"/compute:beta/Instance/minCpuPlatform": min_cpu_platform +"/compute:beta/Instance/name": name +"/compute:beta/Instance/networkInterfaces": network_interfaces +"/compute:beta/Instance/networkInterfaces/network_interface": network_interface +"/compute:beta/Instance/scheduling": scheduling +"/compute:beta/Instance/selfLink": self_link +"/compute:beta/Instance/serviceAccounts": service_accounts +"/compute:beta/Instance/serviceAccounts/service_account": service_account +"/compute:beta/Instance/startRestricted": start_restricted +"/compute:beta/Instance/status": status +"/compute:beta/Instance/statusMessage": status_message +"/compute:beta/Instance/tags": tags +"/compute:beta/Instance/zone": zone +"/compute:beta/InstanceAggregatedList": instance_aggregated_list +"/compute:beta/InstanceAggregatedList/id": id +"/compute:beta/InstanceAggregatedList/items": items +"/compute:beta/InstanceAggregatedList/items/item": item +"/compute:beta/InstanceAggregatedList/kind": kind +"/compute:beta/InstanceAggregatedList/nextPageToken": next_page_token +"/compute:beta/InstanceAggregatedList/selfLink": self_link +"/compute:beta/InstanceGroup": instance_group +"/compute:beta/InstanceGroup/creationTimestamp": creation_timestamp +"/compute:beta/InstanceGroup/description": description +"/compute:beta/InstanceGroup/fingerprint": fingerprint +"/compute:beta/InstanceGroup/id": id +"/compute:beta/InstanceGroup/kind": kind +"/compute:beta/InstanceGroup/name": name +"/compute:beta/InstanceGroup/namedPorts": named_ports +"/compute:beta/InstanceGroup/namedPorts/named_port": named_port +"/compute:beta/InstanceGroup/network": network +"/compute:beta/InstanceGroup/region": region +"/compute:beta/InstanceGroup/selfLink": self_link +"/compute:beta/InstanceGroup/size": size +"/compute:beta/InstanceGroup/subnetwork": subnetwork +"/compute:beta/InstanceGroup/zone": zone +"/compute:beta/InstanceGroupAggregatedList": instance_group_aggregated_list +"/compute:beta/InstanceGroupAggregatedList/id": id +"/compute:beta/InstanceGroupAggregatedList/items": items +"/compute:beta/InstanceGroupAggregatedList/items/item": item +"/compute:beta/InstanceGroupAggregatedList/kind": kind +"/compute:beta/InstanceGroupAggregatedList/nextPageToken": next_page_token +"/compute:beta/InstanceGroupAggregatedList/selfLink": self_link +"/compute:beta/InstanceGroupList": instance_group_list +"/compute:beta/InstanceGroupList/id": id +"/compute:beta/InstanceGroupList/items": items +"/compute:beta/InstanceGroupList/items/item": item +"/compute:beta/InstanceGroupList/kind": kind +"/compute:beta/InstanceGroupList/nextPageToken": next_page_token +"/compute:beta/InstanceGroupList/selfLink": self_link +"/compute:beta/InstanceGroupManager": instance_group_manager +"/compute:beta/InstanceGroupManager/autoHealingPolicies": auto_healing_policies +"/compute:beta/InstanceGroupManager/autoHealingPolicies/auto_healing_policy": auto_healing_policy +"/compute:beta/InstanceGroupManager/baseInstanceName": base_instance_name +"/compute:beta/InstanceGroupManager/creationTimestamp": creation_timestamp +"/compute:beta/InstanceGroupManager/currentActions": current_actions +"/compute:beta/InstanceGroupManager/description": description +"/compute:beta/InstanceGroupManager/failoverAction": failover_action +"/compute:beta/InstanceGroupManager/fingerprint": fingerprint +"/compute:beta/InstanceGroupManager/id": id +"/compute:beta/InstanceGroupManager/instanceGroup": instance_group +"/compute:beta/InstanceGroupManager/instanceTemplate": instance_template +"/compute:beta/InstanceGroupManager/kind": kind +"/compute:beta/InstanceGroupManager/name": name +"/compute:beta/InstanceGroupManager/namedPorts": named_ports +"/compute:beta/InstanceGroupManager/namedPorts/named_port": named_port +"/compute:beta/InstanceGroupManager/pendingActions": pending_actions +"/compute:beta/InstanceGroupManager/region": region +"/compute:beta/InstanceGroupManager/selfLink": self_link +"/compute:beta/InstanceGroupManager/serviceAccount": service_account +"/compute:beta/InstanceGroupManager/targetPools": target_pools +"/compute:beta/InstanceGroupManager/targetPools/target_pool": target_pool +"/compute:beta/InstanceGroupManager/targetSize": target_size +"/compute:beta/InstanceGroupManager/updatePolicy": update_policy +"/compute:beta/InstanceGroupManager/versions": versions +"/compute:beta/InstanceGroupManager/versions/version": version +"/compute:beta/InstanceGroupManager/zone": zone +"/compute:beta/InstanceGroupManagerActionsSummary": instance_group_manager_actions_summary +"/compute:beta/InstanceGroupManagerActionsSummary/abandoning": abandoning +"/compute:beta/InstanceGroupManagerActionsSummary/creating": creating +"/compute:beta/InstanceGroupManagerActionsSummary/creatingWithoutRetries": creating_without_retries +"/compute:beta/InstanceGroupManagerActionsSummary/deleting": deleting +"/compute:beta/InstanceGroupManagerActionsSummary/none": none +"/compute:beta/InstanceGroupManagerActionsSummary/recreating": recreating +"/compute:beta/InstanceGroupManagerActionsSummary/refreshing": refreshing +"/compute:beta/InstanceGroupManagerActionsSummary/restarting": restarting +"/compute:beta/InstanceGroupManagerActionsSummary/verifying": verifying +"/compute:beta/InstanceGroupManagerAggregatedList": instance_group_manager_aggregated_list +"/compute:beta/InstanceGroupManagerAggregatedList/id": id +"/compute:beta/InstanceGroupManagerAggregatedList/items": items +"/compute:beta/InstanceGroupManagerAggregatedList/items/item": item +"/compute:beta/InstanceGroupManagerAggregatedList/kind": kind +"/compute:beta/InstanceGroupManagerAggregatedList/nextPageToken": next_page_token +"/compute:beta/InstanceGroupManagerAggregatedList/selfLink": self_link +"/compute:beta/InstanceGroupManagerAutoHealingPolicy": instance_group_manager_auto_healing_policy +"/compute:beta/InstanceGroupManagerAutoHealingPolicy/healthCheck": health_check +"/compute:beta/InstanceGroupManagerAutoHealingPolicy/initialDelaySec": initial_delay_sec +"/compute:beta/InstanceGroupManagerList": instance_group_manager_list +"/compute:beta/InstanceGroupManagerList/id": id +"/compute:beta/InstanceGroupManagerList/items": items +"/compute:beta/InstanceGroupManagerList/items/item": item +"/compute:beta/InstanceGroupManagerList/kind": kind +"/compute:beta/InstanceGroupManagerList/nextPageToken": next_page_token +"/compute:beta/InstanceGroupManagerList/selfLink": self_link +"/compute:beta/InstanceGroupManagerPendingActionsSummary": instance_group_manager_pending_actions_summary +"/compute:beta/InstanceGroupManagerPendingActionsSummary/creating": creating +"/compute:beta/InstanceGroupManagerPendingActionsSummary/deleting": deleting +"/compute:beta/InstanceGroupManagerPendingActionsSummary/recreating": recreating +"/compute:beta/InstanceGroupManagerPendingActionsSummary/restarting": restarting +"/compute:beta/InstanceGroupManagerUpdatePolicy": instance_group_manager_update_policy +"/compute:beta/InstanceGroupManagerUpdatePolicy/maxSurge": max_surge +"/compute:beta/InstanceGroupManagerUpdatePolicy/maxUnavailable": max_unavailable +"/compute:beta/InstanceGroupManagerUpdatePolicy/minReadySec": min_ready_sec +"/compute:beta/InstanceGroupManagerUpdatePolicy/minimalAction": minimal_action +"/compute:beta/InstanceGroupManagerUpdatePolicy/type": type +"/compute:beta/InstanceGroupManagerVersion": instance_group_manager_version +"/compute:beta/InstanceGroupManagerVersion/instanceTemplate": instance_template +"/compute:beta/InstanceGroupManagerVersion/name": name +"/compute:beta/InstanceGroupManagerVersion/targetSize": target_size +"/compute:beta/InstanceGroupManagersAbandonInstancesRequest": instance_group_managers_abandon_instances_request +"/compute:beta/InstanceGroupManagersAbandonInstancesRequest/instances": instances +"/compute:beta/InstanceGroupManagersAbandonInstancesRequest/instances/instance": instance +"/compute:beta/InstanceGroupManagersDeleteInstancesRequest": instance_group_managers_delete_instances_request +"/compute:beta/InstanceGroupManagersDeleteInstancesRequest/instances": instances +"/compute:beta/InstanceGroupManagersDeleteInstancesRequest/instances/instance": instance +"/compute:beta/InstanceGroupManagersListManagedInstancesResponse": instance_group_managers_list_managed_instances_response +"/compute:beta/InstanceGroupManagersListManagedInstancesResponse/managedInstances": managed_instances +"/compute:beta/InstanceGroupManagersListManagedInstancesResponse/managedInstances/managed_instance": managed_instance +"/compute:beta/InstanceGroupManagersListManagedInstancesResponse/nextPageToken": next_page_token +"/compute:beta/InstanceGroupManagersRecreateInstancesRequest": instance_group_managers_recreate_instances_request +"/compute:beta/InstanceGroupManagersRecreateInstancesRequest/instances": instances +"/compute:beta/InstanceGroupManagersRecreateInstancesRequest/instances/instance": instance +"/compute:beta/InstanceGroupManagersResizeAdvancedRequest": instance_group_managers_resize_advanced_request +"/compute:beta/InstanceGroupManagersResizeAdvancedRequest/noCreationRetries": no_creation_retries +"/compute:beta/InstanceGroupManagersResizeAdvancedRequest/targetSize": target_size +"/compute:beta/InstanceGroupManagersScopedList": instance_group_managers_scoped_list +"/compute:beta/InstanceGroupManagersScopedList/instanceGroupManagers": instance_group_managers +"/compute:beta/InstanceGroupManagersScopedList/instanceGroupManagers/instance_group_manager": instance_group_manager +"/compute:beta/InstanceGroupManagersScopedList/warning": warning +"/compute:beta/InstanceGroupManagersScopedList/warning/code": code +"/compute:beta/InstanceGroupManagersScopedList/warning/data": data +"/compute:beta/InstanceGroupManagersScopedList/warning/data/datum": datum +"/compute:beta/InstanceGroupManagersScopedList/warning/data/datum/key": key +"/compute:beta/InstanceGroupManagersScopedList/warning/data/datum/value": value +"/compute:beta/InstanceGroupManagersScopedList/warning/message": message +"/compute:beta/InstanceGroupManagersSetAutoHealingRequest": instance_group_managers_set_auto_healing_request +"/compute:beta/InstanceGroupManagersSetAutoHealingRequest/autoHealingPolicies": auto_healing_policies +"/compute:beta/InstanceGroupManagersSetAutoHealingRequest/autoHealingPolicies/auto_healing_policy": auto_healing_policy +"/compute:beta/InstanceGroupManagersSetInstanceTemplateRequest": instance_group_managers_set_instance_template_request +"/compute:beta/InstanceGroupManagersSetInstanceTemplateRequest/instanceTemplate": instance_template +"/compute:beta/InstanceGroupManagersSetTargetPoolsRequest": instance_group_managers_set_target_pools_request +"/compute:beta/InstanceGroupManagersSetTargetPoolsRequest/fingerprint": fingerprint +"/compute:beta/InstanceGroupManagersSetTargetPoolsRequest/targetPools": target_pools +"/compute:beta/InstanceGroupManagersSetTargetPoolsRequest/targetPools/target_pool": target_pool +"/compute:beta/InstanceGroupsAddInstancesRequest": instance_groups_add_instances_request +"/compute:beta/InstanceGroupsAddInstancesRequest/instances": instances +"/compute:beta/InstanceGroupsAddInstancesRequest/instances/instance": instance +"/compute:beta/InstanceGroupsListInstances": instance_groups_list_instances +"/compute:beta/InstanceGroupsListInstances/id": id +"/compute:beta/InstanceGroupsListInstances/items": items +"/compute:beta/InstanceGroupsListInstances/items/item": item +"/compute:beta/InstanceGroupsListInstances/kind": kind +"/compute:beta/InstanceGroupsListInstances/nextPageToken": next_page_token +"/compute:beta/InstanceGroupsListInstances/selfLink": self_link +"/compute:beta/InstanceGroupsListInstancesRequest": instance_groups_list_instances_request +"/compute:beta/InstanceGroupsListInstancesRequest/instanceState": instance_state +"/compute:beta/InstanceGroupsRemoveInstancesRequest": instance_groups_remove_instances_request +"/compute:beta/InstanceGroupsRemoveInstancesRequest/instances": instances +"/compute:beta/InstanceGroupsRemoveInstancesRequest/instances/instance": instance +"/compute:beta/InstanceGroupsScopedList": instance_groups_scoped_list +"/compute:beta/InstanceGroupsScopedList/instanceGroups": instance_groups +"/compute:beta/InstanceGroupsScopedList/instanceGroups/instance_group": instance_group +"/compute:beta/InstanceGroupsScopedList/warning": warning +"/compute:beta/InstanceGroupsScopedList/warning/code": code +"/compute:beta/InstanceGroupsScopedList/warning/data": data +"/compute:beta/InstanceGroupsScopedList/warning/data/datum": datum +"/compute:beta/InstanceGroupsScopedList/warning/data/datum/key": key +"/compute:beta/InstanceGroupsScopedList/warning/data/datum/value": value +"/compute:beta/InstanceGroupsScopedList/warning/message": message +"/compute:beta/InstanceGroupsSetNamedPortsRequest": instance_groups_set_named_ports_request +"/compute:beta/InstanceGroupsSetNamedPortsRequest/fingerprint": fingerprint +"/compute:beta/InstanceGroupsSetNamedPortsRequest/namedPorts": named_ports +"/compute:beta/InstanceGroupsSetNamedPortsRequest/namedPorts/named_port": named_port +"/compute:beta/InstanceList": instance_list +"/compute:beta/InstanceList/id": id +"/compute:beta/InstanceList/items": items +"/compute:beta/InstanceList/items/item": item +"/compute:beta/InstanceList/kind": kind +"/compute:beta/InstanceList/nextPageToken": next_page_token +"/compute:beta/InstanceList/selfLink": self_link +"/compute:beta/InstanceListReferrers": instance_list_referrers +"/compute:beta/InstanceListReferrers/id": id +"/compute:beta/InstanceListReferrers/items": items +"/compute:beta/InstanceListReferrers/items/item": item +"/compute:beta/InstanceListReferrers/kind": kind +"/compute:beta/InstanceListReferrers/nextPageToken": next_page_token +"/compute:beta/InstanceListReferrers/selfLink": self_link +"/compute:beta/InstanceMoveRequest": move_instance_request +"/compute:beta/InstanceMoveRequest/destinationZone": destination_zone +"/compute:beta/InstanceMoveRequest/targetInstance": target_instance +"/compute:beta/InstanceProperties": instance_properties +"/compute:beta/InstanceProperties/canIpForward": can_ip_forward +"/compute:beta/InstanceProperties/description": description +"/compute:beta/InstanceProperties/disks": disks +"/compute:beta/InstanceProperties/disks/disk": disk +"/compute:beta/InstanceProperties/guestAccelerators": guest_accelerators +"/compute:beta/InstanceProperties/guestAccelerators/guest_accelerator": guest_accelerator +"/compute:beta/InstanceProperties/labels": labels +"/compute:beta/InstanceProperties/labels/label": label +"/compute:beta/InstanceProperties/machineType": machine_type +"/compute:beta/InstanceProperties/metadata": metadata +"/compute:beta/InstanceProperties/minCpuPlatform": min_cpu_platform +"/compute:beta/InstanceProperties/networkInterfaces": network_interfaces +"/compute:beta/InstanceProperties/networkInterfaces/network_interface": network_interface +"/compute:beta/InstanceProperties/scheduling": scheduling +"/compute:beta/InstanceProperties/serviceAccounts": service_accounts +"/compute:beta/InstanceProperties/serviceAccounts/service_account": service_account +"/compute:beta/InstanceProperties/tags": tags +"/compute:beta/InstanceReference": instance_reference +"/compute:beta/InstanceReference/instance": instance +"/compute:beta/InstanceTemplate": instance_template +"/compute:beta/InstanceTemplate/creationTimestamp": creation_timestamp +"/compute:beta/InstanceTemplate/description": description +"/compute:beta/InstanceTemplate/id": id +"/compute:beta/InstanceTemplate/kind": kind +"/compute:beta/InstanceTemplate/name": name +"/compute:beta/InstanceTemplate/properties": properties +"/compute:beta/InstanceTemplate/selfLink": self_link +"/compute:beta/InstanceTemplateList": instance_template_list +"/compute:beta/InstanceTemplateList/id": id +"/compute:beta/InstanceTemplateList/items": items +"/compute:beta/InstanceTemplateList/items/item": item +"/compute:beta/InstanceTemplateList/kind": kind +"/compute:beta/InstanceTemplateList/nextPageToken": next_page_token +"/compute:beta/InstanceTemplateList/selfLink": self_link +"/compute:beta/InstanceWithNamedPorts": instance_with_named_ports +"/compute:beta/InstanceWithNamedPorts/instance": instance +"/compute:beta/InstanceWithNamedPorts/namedPorts": named_ports +"/compute:beta/InstanceWithNamedPorts/namedPorts/named_port": named_port +"/compute:beta/InstanceWithNamedPorts/status": status +"/compute:beta/InstancesScopedList": instances_scoped_list +"/compute:beta/InstancesScopedList/instances": instances +"/compute:beta/InstancesScopedList/instances/instance": instance +"/compute:beta/InstancesScopedList/warning": warning +"/compute:beta/InstancesScopedList/warning/code": code +"/compute:beta/InstancesScopedList/warning/data": data +"/compute:beta/InstancesScopedList/warning/data/datum": datum +"/compute:beta/InstancesScopedList/warning/data/datum/key": key +"/compute:beta/InstancesScopedList/warning/data/datum/value": value +"/compute:beta/InstancesScopedList/warning/message": message +"/compute:beta/InstancesSetLabelsRequest": instances_set_labels_request +"/compute:beta/InstancesSetLabelsRequest/labelFingerprint": label_fingerprint +"/compute:beta/InstancesSetLabelsRequest/labels": labels +"/compute:beta/InstancesSetLabelsRequest/labels/label": label +"/compute:beta/InstancesSetMachineResourcesRequest": instances_set_machine_resources_request +"/compute:beta/InstancesSetMachineResourcesRequest/guestAccelerators": guest_accelerators +"/compute:beta/InstancesSetMachineResourcesRequest/guestAccelerators/guest_accelerator": guest_accelerator +"/compute:beta/InstancesSetMachineTypeRequest": instances_set_machine_type_request +"/compute:beta/InstancesSetMachineTypeRequest/machineType": machine_type +"/compute:beta/InstancesSetMinCpuPlatformRequest": instances_set_min_cpu_platform_request +"/compute:beta/InstancesSetMinCpuPlatformRequest/minCpuPlatform": min_cpu_platform +"/compute:beta/InstancesSetServiceAccountRequest": instances_set_service_account_request +"/compute:beta/InstancesSetServiceAccountRequest/email": email +"/compute:beta/InstancesSetServiceAccountRequest/scopes": scopes +"/compute:beta/InstancesSetServiceAccountRequest/scopes/scope": scope +"/compute:beta/InstancesStartWithEncryptionKeyRequest": instances_start_with_encryption_key_request +"/compute:beta/InstancesStartWithEncryptionKeyRequest/disks": disks +"/compute:beta/InstancesStartWithEncryptionKeyRequest/disks/disk": disk +"/compute:beta/Interconnect": interconnect +"/compute:beta/Interconnect/adminEnabled": admin_enabled +"/compute:beta/Interconnect/circuitInfos": circuit_infos +"/compute:beta/Interconnect/circuitInfos/circuit_info": circuit_info +"/compute:beta/Interconnect/connectionAuthorization": connection_authorization +"/compute:beta/Interconnect/creationTimestamp": creation_timestamp +"/compute:beta/Interconnect/customerName": customer_name +"/compute:beta/Interconnect/description": description +"/compute:beta/Interconnect/expectedOutages": expected_outages +"/compute:beta/Interconnect/expectedOutages/expected_outage": expected_outage +"/compute:beta/Interconnect/googleIpAddress": google_ip_address +"/compute:beta/Interconnect/googleReferenceId": google_reference_id +"/compute:beta/Interconnect/id": id +"/compute:beta/Interconnect/interconnectAttachments": interconnect_attachments +"/compute:beta/Interconnect/interconnectAttachments/interconnect_attachment": interconnect_attachment +"/compute:beta/Interconnect/interconnectType": interconnect_type +"/compute:beta/Interconnect/kind": kind +"/compute:beta/Interconnect/linkType": link_type +"/compute:beta/Interconnect/location": location +"/compute:beta/Interconnect/name": name +"/compute:beta/Interconnect/nocContactEmail": noc_contact_email +"/compute:beta/Interconnect/operationalStatus": operational_status +"/compute:beta/Interconnect/peerIpAddress": peer_ip_address +"/compute:beta/Interconnect/provisionedLinkCount": provisioned_link_count +"/compute:beta/Interconnect/requestedLinkCount": requested_link_count +"/compute:beta/Interconnect/selfLink": self_link +"/compute:beta/InterconnectAttachment": interconnect_attachment +"/compute:beta/InterconnectAttachment/cloudRouterIpAddress": cloud_router_ip_address +"/compute:beta/InterconnectAttachment/creationTimestamp": creation_timestamp +"/compute:beta/InterconnectAttachment/customerRouterIpAddress": customer_router_ip_address +"/compute:beta/InterconnectAttachment/description": description +"/compute:beta/InterconnectAttachment/googleReferenceId": google_reference_id +"/compute:beta/InterconnectAttachment/id": id +"/compute:beta/InterconnectAttachment/interconnect": interconnect +"/compute:beta/InterconnectAttachment/kind": kind +"/compute:beta/InterconnectAttachment/name": name +"/compute:beta/InterconnectAttachment/operationalStatus": operational_status +"/compute:beta/InterconnectAttachment/privateInterconnectInfo": private_interconnect_info +"/compute:beta/InterconnectAttachment/region": region +"/compute:beta/InterconnectAttachment/router": router +"/compute:beta/InterconnectAttachment/selfLink": self_link +"/compute:beta/InterconnectAttachmentAggregatedList": interconnect_attachment_aggregated_list +"/compute:beta/InterconnectAttachmentAggregatedList/id": id +"/compute:beta/InterconnectAttachmentAggregatedList/items": items +"/compute:beta/InterconnectAttachmentAggregatedList/items/item": item +"/compute:beta/InterconnectAttachmentAggregatedList/kind": kind +"/compute:beta/InterconnectAttachmentAggregatedList/nextPageToken": next_page_token +"/compute:beta/InterconnectAttachmentAggregatedList/selfLink": self_link +"/compute:beta/InterconnectAttachmentList": interconnect_attachment_list +"/compute:beta/InterconnectAttachmentList/id": id +"/compute:beta/InterconnectAttachmentList/items": items +"/compute:beta/InterconnectAttachmentList/items/item": item +"/compute:beta/InterconnectAttachmentList/kind": kind +"/compute:beta/InterconnectAttachmentList/nextPageToken": next_page_token +"/compute:beta/InterconnectAttachmentList/selfLink": self_link +"/compute:beta/InterconnectAttachmentPrivateInfo": interconnect_attachment_private_info +"/compute:beta/InterconnectAttachmentPrivateInfo/tag8021q": tag8021q +"/compute:beta/InterconnectAttachmentsScopedList": interconnect_attachments_scoped_list +"/compute:beta/InterconnectAttachmentsScopedList/interconnectAttachments": interconnect_attachments +"/compute:beta/InterconnectAttachmentsScopedList/interconnectAttachments/interconnect_attachment": interconnect_attachment +"/compute:beta/InterconnectAttachmentsScopedList/warning": warning +"/compute:beta/InterconnectAttachmentsScopedList/warning/code": code +"/compute:beta/InterconnectAttachmentsScopedList/warning/data": data +"/compute:beta/InterconnectAttachmentsScopedList/warning/data/datum": datum +"/compute:beta/InterconnectAttachmentsScopedList/warning/data/datum/key": key +"/compute:beta/InterconnectAttachmentsScopedList/warning/data/datum/value": value +"/compute:beta/InterconnectAttachmentsScopedList/warning/message": message +"/compute:beta/InterconnectCircuitInfo": interconnect_circuit_info +"/compute:beta/InterconnectCircuitInfo/customerDemarcId": customer_demarc_id +"/compute:beta/InterconnectCircuitInfo/googleCircuitId": google_circuit_id +"/compute:beta/InterconnectCircuitInfo/googleDemarcId": google_demarc_id +"/compute:beta/InterconnectList": interconnect_list +"/compute:beta/InterconnectList/id": id +"/compute:beta/InterconnectList/items": items +"/compute:beta/InterconnectList/items/item": item +"/compute:beta/InterconnectList/kind": kind +"/compute:beta/InterconnectList/nextPageToken": next_page_token +"/compute:beta/InterconnectList/selfLink": self_link +"/compute:beta/InterconnectLocation": interconnect_location +"/compute:beta/InterconnectLocation/address": address +"/compute:beta/InterconnectLocation/availabilityZone": availability_zone +"/compute:beta/InterconnectLocation/city": city +"/compute:beta/InterconnectLocation/continent": continent +"/compute:beta/InterconnectLocation/creationTimestamp": creation_timestamp +"/compute:beta/InterconnectLocation/description": description +"/compute:beta/InterconnectLocation/facilityProvider": facility_provider +"/compute:beta/InterconnectLocation/facilityProviderFacilityId": facility_provider_facility_id +"/compute:beta/InterconnectLocation/id": id +"/compute:beta/InterconnectLocation/kind": kind +"/compute:beta/InterconnectLocation/name": name +"/compute:beta/InterconnectLocation/peeringdbFacilityId": peeringdb_facility_id +"/compute:beta/InterconnectLocation/regionInfos": region_infos +"/compute:beta/InterconnectLocation/regionInfos/region_info": region_info +"/compute:beta/InterconnectLocation/selfLink": self_link +"/compute:beta/InterconnectLocationList": interconnect_location_list +"/compute:beta/InterconnectLocationList/id": id +"/compute:beta/InterconnectLocationList/items": items +"/compute:beta/InterconnectLocationList/items/item": item +"/compute:beta/InterconnectLocationList/kind": kind +"/compute:beta/InterconnectLocationList/nextPageToken": next_page_token +"/compute:beta/InterconnectLocationList/selfLink": self_link +"/compute:beta/InterconnectLocationRegionInfo": interconnect_location_region_info +"/compute:beta/InterconnectLocationRegionInfo/expectedRttMs": expected_rtt_ms +"/compute:beta/InterconnectLocationRegionInfo/locationPresence": location_presence +"/compute:beta/InterconnectLocationRegionInfo/region": region +"/compute:beta/InterconnectLocationRegionInfo/regionKey": region_key +"/compute:beta/InterconnectOutageNotification": interconnect_outage_notification +"/compute:beta/InterconnectOutageNotification/affectedCircuits": affected_circuits +"/compute:beta/InterconnectOutageNotification/affectedCircuits/affected_circuit": affected_circuit +"/compute:beta/InterconnectOutageNotification/description": description +"/compute:beta/InterconnectOutageNotification/endTime": end_time +"/compute:beta/InterconnectOutageNotification/issueType": issue_type +"/compute:beta/InterconnectOutageNotification/name": name +"/compute:beta/InterconnectOutageNotification/source": source +"/compute:beta/InterconnectOutageNotification/startTime": start_time +"/compute:beta/InterconnectOutageNotification/state": state +"/compute:beta/License": license +"/compute:beta/License/chargesUseFee": charges_use_fee +"/compute:beta/License/kind": kind +"/compute:beta/License/name": name +"/compute:beta/License/selfLink": self_link +"/compute:beta/LogConfig": log_config +"/compute:beta/LogConfig/cloudAudit": cloud_audit +"/compute:beta/LogConfig/counter": counter +"/compute:beta/LogConfig/dataAccess": data_access +"/compute:beta/LogConfigCloudAuditOptions": log_config_cloud_audit_options +"/compute:beta/LogConfigCloudAuditOptions/authorizationLoggingOptions": authorization_logging_options +"/compute:beta/LogConfigCloudAuditOptions/logName": log_name +"/compute:beta/LogConfigCounterOptions": log_config_counter_options +"/compute:beta/LogConfigCounterOptions/field": field +"/compute:beta/LogConfigCounterOptions/metric": metric +"/compute:beta/LogConfigDataAccessOptions": log_config_data_access_options +"/compute:beta/LogConfigDataAccessOptions/logMode": log_mode +"/compute:beta/MachineType": machine_type +"/compute:beta/MachineType/creationTimestamp": creation_timestamp +"/compute:beta/MachineType/deprecated": deprecated +"/compute:beta/MachineType/description": description +"/compute:beta/MachineType/guestCpus": guest_cpus +"/compute:beta/MachineType/id": id +"/compute:beta/MachineType/isSharedCpu": is_shared_cpu +"/compute:beta/MachineType/kind": kind +"/compute:beta/MachineType/maximumPersistentDisks": maximum_persistent_disks +"/compute:beta/MachineType/maximumPersistentDisksSizeGb": maximum_persistent_disks_size_gb +"/compute:beta/MachineType/memoryMb": memory_mb +"/compute:beta/MachineType/name": name +"/compute:beta/MachineType/selfLink": self_link +"/compute:beta/MachineType/zone": zone +"/compute:beta/MachineTypeAggregatedList": machine_type_aggregated_list +"/compute:beta/MachineTypeAggregatedList/id": id +"/compute:beta/MachineTypeAggregatedList/items": items +"/compute:beta/MachineTypeAggregatedList/items/item": item +"/compute:beta/MachineTypeAggregatedList/kind": kind +"/compute:beta/MachineTypeAggregatedList/nextPageToken": next_page_token +"/compute:beta/MachineTypeAggregatedList/selfLink": self_link +"/compute:beta/MachineTypeList": machine_type_list +"/compute:beta/MachineTypeList/id": id +"/compute:beta/MachineTypeList/items": items +"/compute:beta/MachineTypeList/items/item": item +"/compute:beta/MachineTypeList/kind": kind +"/compute:beta/MachineTypeList/nextPageToken": next_page_token +"/compute:beta/MachineTypeList/selfLink": self_link +"/compute:beta/MachineTypesScopedList": machine_types_scoped_list +"/compute:beta/MachineTypesScopedList/machineTypes": machine_types +"/compute:beta/MachineTypesScopedList/machineTypes/machine_type": machine_type +"/compute:beta/MachineTypesScopedList/warning": warning +"/compute:beta/MachineTypesScopedList/warning/code": code +"/compute:beta/MachineTypesScopedList/warning/data": data +"/compute:beta/MachineTypesScopedList/warning/data/datum": datum +"/compute:beta/MachineTypesScopedList/warning/data/datum/key": key +"/compute:beta/MachineTypesScopedList/warning/data/datum/value": value +"/compute:beta/MachineTypesScopedList/warning/message": message +"/compute:beta/ManagedInstance": managed_instance +"/compute:beta/ManagedInstance/currentAction": current_action +"/compute:beta/ManagedInstance/id": id +"/compute:beta/ManagedInstance/instance": instance +"/compute:beta/ManagedInstance/instanceStatus": instance_status +"/compute:beta/ManagedInstance/lastAttempt": last_attempt +"/compute:beta/ManagedInstance/version": version +"/compute:beta/ManagedInstanceLastAttempt": managed_instance_last_attempt +"/compute:beta/ManagedInstanceLastAttempt/errors": errors +"/compute:beta/ManagedInstanceLastAttempt/errors/errors": errors +"/compute:beta/ManagedInstanceLastAttempt/errors/errors/error": error +"/compute:beta/ManagedInstanceLastAttempt/errors/errors/error/code": code +"/compute:beta/ManagedInstanceLastAttempt/errors/errors/error/location": location +"/compute:beta/ManagedInstanceLastAttempt/errors/errors/error/message": message +"/compute:beta/ManagedInstanceVersion": managed_instance_version +"/compute:beta/ManagedInstanceVersion/instanceTemplate": instance_template +"/compute:beta/ManagedInstanceVersion/name": name +"/compute:beta/Metadata": metadata +"/compute:beta/Metadata/fingerprint": fingerprint +"/compute:beta/Metadata/items": items +"/compute:beta/Metadata/items/item": item +"/compute:beta/Metadata/items/item/key": key +"/compute:beta/Metadata/items/item/value": value +"/compute:beta/Metadata/kind": kind +"/compute:beta/NamedPort": named_port +"/compute:beta/NamedPort/name": name +"/compute:beta/NamedPort/port": port +"/compute:beta/Network": network +"/compute:beta/Network/IPv4Range": i_pv4_range +"/compute:beta/Network/autoCreateSubnetworks": auto_create_subnetworks +"/compute:beta/Network/creationTimestamp": creation_timestamp +"/compute:beta/Network/description": description +"/compute:beta/Network/gatewayIPv4": gateway_i_pv4 +"/compute:beta/Network/id": id +"/compute:beta/Network/kind": kind +"/compute:beta/Network/name": name +"/compute:beta/Network/peerings": peerings +"/compute:beta/Network/peerings/peering": peering +"/compute:beta/Network/routingConfig": routing_config +"/compute:beta/Network/selfLink": self_link +"/compute:beta/Network/subnetworks": subnetworks +"/compute:beta/Network/subnetworks/subnetwork": subnetwork +"/compute:beta/NetworkInterface": network_interface +"/compute:beta/NetworkInterface/accessConfigs": access_configs +"/compute:beta/NetworkInterface/accessConfigs/access_config": access_config +"/compute:beta/NetworkInterface/aliasIpRanges": alias_ip_ranges +"/compute:beta/NetworkInterface/aliasIpRanges/alias_ip_range": alias_ip_range +"/compute:beta/NetworkInterface/kind": kind +"/compute:beta/NetworkInterface/name": name +"/compute:beta/NetworkInterface/network": network +"/compute:beta/NetworkInterface/networkIP": network_ip +"/compute:beta/NetworkInterface/subnetwork": subnetwork +"/compute:beta/NetworkList": network_list +"/compute:beta/NetworkList/id": id +"/compute:beta/NetworkList/items": items +"/compute:beta/NetworkList/items/item": item +"/compute:beta/NetworkList/kind": kind +"/compute:beta/NetworkList/nextPageToken": next_page_token +"/compute:beta/NetworkList/selfLink": self_link +"/compute:beta/NetworkPeering": network_peering +"/compute:beta/NetworkPeering/autoCreateRoutes": auto_create_routes +"/compute:beta/NetworkPeering/name": name +"/compute:beta/NetworkPeering/network": network +"/compute:beta/NetworkPeering/state": state +"/compute:beta/NetworkPeering/stateDetails": state_details +"/compute:beta/NetworkRoutingConfig": network_routing_config +"/compute:beta/NetworkRoutingConfig/routingMode": routing_mode +"/compute:beta/NetworksAddPeeringRequest": networks_add_peering_request +"/compute:beta/NetworksAddPeeringRequest/autoCreateRoutes": auto_create_routes +"/compute:beta/NetworksAddPeeringRequest/name": name +"/compute:beta/NetworksAddPeeringRequest/peerNetwork": peer_network +"/compute:beta/NetworksRemovePeeringRequest": networks_remove_peering_request +"/compute:beta/NetworksRemovePeeringRequest/name": name +"/compute:beta/Operation": operation +"/compute:beta/Operation/clientOperationId": client_operation_id +"/compute:beta/Operation/creationTimestamp": creation_timestamp +"/compute:beta/Operation/description": description +"/compute:beta/Operation/endTime": end_time +"/compute:beta/Operation/error": error +"/compute:beta/Operation/error/errors": errors +"/compute:beta/Operation/error/errors/error": error +"/compute:beta/Operation/error/errors/error/code": code +"/compute:beta/Operation/error/errors/error/location": location +"/compute:beta/Operation/error/errors/error/message": message +"/compute:beta/Operation/httpErrorMessage": http_error_message +"/compute:beta/Operation/httpErrorStatusCode": http_error_status_code +"/compute:beta/Operation/id": id +"/compute:beta/Operation/insertTime": insert_time +"/compute:beta/Operation/kind": kind +"/compute:beta/Operation/name": name +"/compute:beta/Operation/operationType": operation_type +"/compute:beta/Operation/progress": progress +"/compute:beta/Operation/region": region +"/compute:beta/Operation/selfLink": self_link +"/compute:beta/Operation/startTime": start_time +"/compute:beta/Operation/status": status +"/compute:beta/Operation/statusMessage": status_message +"/compute:beta/Operation/targetId": target_id +"/compute:beta/Operation/targetLink": target_link +"/compute:beta/Operation/user": user +"/compute:beta/Operation/warnings": warnings +"/compute:beta/Operation/warnings/warning": warning +"/compute:beta/Operation/warnings/warning/code": code +"/compute:beta/Operation/warnings/warning/data": data +"/compute:beta/Operation/warnings/warning/data/datum": datum +"/compute:beta/Operation/warnings/warning/data/datum/key": key +"/compute:beta/Operation/warnings/warning/data/datum/value": value +"/compute:beta/Operation/warnings/warning/message": message +"/compute:beta/Operation/zone": zone +"/compute:beta/OperationAggregatedList": operation_aggregated_list +"/compute:beta/OperationAggregatedList/id": id +"/compute:beta/OperationAggregatedList/items": items +"/compute:beta/OperationAggregatedList/items/item": item +"/compute:beta/OperationAggregatedList/kind": kind +"/compute:beta/OperationAggregatedList/nextPageToken": next_page_token +"/compute:beta/OperationAggregatedList/selfLink": self_link +"/compute:beta/OperationList": operation_list +"/compute:beta/OperationList/id": id +"/compute:beta/OperationList/items": items +"/compute:beta/OperationList/items/item": item +"/compute:beta/OperationList/kind": kind +"/compute:beta/OperationList/nextPageToken": next_page_token +"/compute:beta/OperationList/selfLink": self_link +"/compute:beta/OperationsScopedList": operations_scoped_list +"/compute:beta/OperationsScopedList/operations": operations +"/compute:beta/OperationsScopedList/operations/operation": operation +"/compute:beta/OperationsScopedList/warning": warning +"/compute:beta/OperationsScopedList/warning/code": code +"/compute:beta/OperationsScopedList/warning/data": data +"/compute:beta/OperationsScopedList/warning/data/datum": datum +"/compute:beta/OperationsScopedList/warning/data/datum/key": key +"/compute:beta/OperationsScopedList/warning/data/datum/value": value +"/compute:beta/OperationsScopedList/warning/message": message +"/compute:beta/PathMatcher": path_matcher +"/compute:beta/PathMatcher/defaultService": default_service +"/compute:beta/PathMatcher/description": description +"/compute:beta/PathMatcher/name": name +"/compute:beta/PathMatcher/pathRules": path_rules +"/compute:beta/PathMatcher/pathRules/path_rule": path_rule +"/compute:beta/PathRule": path_rule +"/compute:beta/PathRule/paths": paths +"/compute:beta/PathRule/paths/path": path +"/compute:beta/PathRule/service": service +"/compute:beta/Policy": policy +"/compute:beta/Policy/auditConfigs": audit_configs +"/compute:beta/Policy/auditConfigs/audit_config": audit_config +"/compute:beta/Policy/bindings": bindings +"/compute:beta/Policy/bindings/binding": binding +"/compute:beta/Policy/etag": etag +"/compute:beta/Policy/iamOwned": iam_owned +"/compute:beta/Policy/rules": rules +"/compute:beta/Policy/rules/rule": rule +"/compute:beta/Policy/version": version +"/compute:beta/Project": project +"/compute:beta/Project/commonInstanceMetadata": common_instance_metadata +"/compute:beta/Project/creationTimestamp": creation_timestamp +"/compute:beta/Project/defaultServiceAccount": default_service_account +"/compute:beta/Project/description": description +"/compute:beta/Project/enabledFeatures": enabled_features +"/compute:beta/Project/enabledFeatures/enabled_feature": enabled_feature +"/compute:beta/Project/id": id +"/compute:beta/Project/kind": kind +"/compute:beta/Project/name": name +"/compute:beta/Project/quotas": quotas +"/compute:beta/Project/quotas/quota": quota +"/compute:beta/Project/selfLink": self_link +"/compute:beta/Project/usageExportLocation": usage_export_location +"/compute:beta/Project/xpnProjectStatus": xpn_project_status +"/compute:beta/ProjectsDisableXpnResourceRequest": projects_disable_xpn_resource_request +"/compute:beta/ProjectsDisableXpnResourceRequest/xpnResource": xpn_resource +"/compute:beta/ProjectsEnableXpnResourceRequest": projects_enable_xpn_resource_request +"/compute:beta/ProjectsEnableXpnResourceRequest/xpnResource": xpn_resource +"/compute:beta/ProjectsGetXpnResources": projects_get_xpn_resources +"/compute:beta/ProjectsGetXpnResources/kind": kind +"/compute:beta/ProjectsGetXpnResources/nextPageToken": next_page_token +"/compute:beta/ProjectsGetXpnResources/resources": resources +"/compute:beta/ProjectsGetXpnResources/resources/resource": resource +"/compute:beta/ProjectsListXpnHostsRequest": projects_list_xpn_hosts_request +"/compute:beta/ProjectsListXpnHostsRequest/organization": organization +"/compute:beta/Quota": quota +"/compute:beta/Quota/limit": limit +"/compute:beta/Quota/metric": metric +"/compute:beta/Quota/usage": usage +"/compute:beta/Reference": reference +"/compute:beta/Reference/kind": kind +"/compute:beta/Reference/referenceType": reference_type +"/compute:beta/Reference/referrer": referrer +"/compute:beta/Reference/target": target +"/compute:beta/Region": region +"/compute:beta/Region/creationTimestamp": creation_timestamp +"/compute:beta/Region/deprecated": deprecated +"/compute:beta/Region/description": description +"/compute:beta/Region/id": id +"/compute:beta/Region/kind": kind +"/compute:beta/Region/name": name +"/compute:beta/Region/quotas": quotas +"/compute:beta/Region/quotas/quota": quota +"/compute:beta/Region/selfLink": self_link +"/compute:beta/Region/status": status +"/compute:beta/Region/zones": zones +"/compute:beta/Region/zones/zone": zone +"/compute:beta/RegionAutoscalerList": region_autoscaler_list +"/compute:beta/RegionAutoscalerList/id": id +"/compute:beta/RegionAutoscalerList/items": items +"/compute:beta/RegionAutoscalerList/items/item": item +"/compute:beta/RegionAutoscalerList/kind": kind +"/compute:beta/RegionAutoscalerList/nextPageToken": next_page_token +"/compute:beta/RegionAutoscalerList/selfLink": self_link +"/compute:beta/RegionInstanceGroupList": region_instance_group_list +"/compute:beta/RegionInstanceGroupList/id": id +"/compute:beta/RegionInstanceGroupList/items": items +"/compute:beta/RegionInstanceGroupList/items/item": item +"/compute:beta/RegionInstanceGroupList/kind": kind +"/compute:beta/RegionInstanceGroupList/nextPageToken": next_page_token +"/compute:beta/RegionInstanceGroupList/selfLink": self_link +"/compute:beta/RegionInstanceGroupManagerList": region_instance_group_manager_list +"/compute:beta/RegionInstanceGroupManagerList/id": id +"/compute:beta/RegionInstanceGroupManagerList/items": items +"/compute:beta/RegionInstanceGroupManagerList/items/item": item +"/compute:beta/RegionInstanceGroupManagerList/kind": kind +"/compute:beta/RegionInstanceGroupManagerList/nextPageToken": next_page_token +"/compute:beta/RegionInstanceGroupManagerList/selfLink": self_link +"/compute:beta/RegionInstanceGroupManagersAbandonInstancesRequest": region_instance_group_managers_abandon_instances_request +"/compute:beta/RegionInstanceGroupManagersAbandonInstancesRequest/instances": instances +"/compute:beta/RegionInstanceGroupManagersAbandonInstancesRequest/instances/instance": instance +"/compute:beta/RegionInstanceGroupManagersDeleteInstancesRequest": region_instance_group_managers_delete_instances_request +"/compute:beta/RegionInstanceGroupManagersDeleteInstancesRequest/instances": instances +"/compute:beta/RegionInstanceGroupManagersDeleteInstancesRequest/instances/instance": instance +"/compute:beta/RegionInstanceGroupManagersListInstancesResponse": region_instance_group_managers_list_instances_response +"/compute:beta/RegionInstanceGroupManagersListInstancesResponse/managedInstances": managed_instances +"/compute:beta/RegionInstanceGroupManagersListInstancesResponse/managedInstances/managed_instance": managed_instance +"/compute:beta/RegionInstanceGroupManagersListInstancesResponse/nextPageToken": next_page_token +"/compute:beta/RegionInstanceGroupManagersRecreateRequest": region_instance_group_managers_recreate_request +"/compute:beta/RegionInstanceGroupManagersRecreateRequest/instances": instances +"/compute:beta/RegionInstanceGroupManagersRecreateRequest/instances/instance": instance +"/compute:beta/RegionInstanceGroupManagersSetAutoHealingRequest": region_instance_group_managers_set_auto_healing_request +"/compute:beta/RegionInstanceGroupManagersSetAutoHealingRequest/autoHealingPolicies": auto_healing_policies +"/compute:beta/RegionInstanceGroupManagersSetAutoHealingRequest/autoHealingPolicies/auto_healing_policy": auto_healing_policy +"/compute:beta/RegionInstanceGroupManagersSetTargetPoolsRequest": region_instance_group_managers_set_target_pools_request +"/compute:beta/RegionInstanceGroupManagersSetTargetPoolsRequest/fingerprint": fingerprint +"/compute:beta/RegionInstanceGroupManagersSetTargetPoolsRequest/targetPools": target_pools +"/compute:beta/RegionInstanceGroupManagersSetTargetPoolsRequest/targetPools/target_pool": target_pool +"/compute:beta/RegionInstanceGroupManagersSetTemplateRequest": region_instance_group_managers_set_template_request +"/compute:beta/RegionInstanceGroupManagersSetTemplateRequest/instanceTemplate": instance_template +"/compute:beta/RegionInstanceGroupsListInstances": region_instance_groups_list_instances +"/compute:beta/RegionInstanceGroupsListInstances/id": id +"/compute:beta/RegionInstanceGroupsListInstances/items": items +"/compute:beta/RegionInstanceGroupsListInstances/items/item": item +"/compute:beta/RegionInstanceGroupsListInstances/kind": kind +"/compute:beta/RegionInstanceGroupsListInstances/nextPageToken": next_page_token +"/compute:beta/RegionInstanceGroupsListInstances/selfLink": self_link +"/compute:beta/RegionInstanceGroupsListInstancesRequest": region_instance_groups_list_instances_request +"/compute:beta/RegionInstanceGroupsListInstancesRequest/instanceState": instance_state +"/compute:beta/RegionInstanceGroupsListInstancesRequest/portName": port_name +"/compute:beta/RegionInstanceGroupsSetNamedPortsRequest": region_instance_groups_set_named_ports_request +"/compute:beta/RegionInstanceGroupsSetNamedPortsRequest/fingerprint": fingerprint +"/compute:beta/RegionInstanceGroupsSetNamedPortsRequest/namedPorts": named_ports +"/compute:beta/RegionInstanceGroupsSetNamedPortsRequest/namedPorts/named_port": named_port +"/compute:beta/RegionList": region_list +"/compute:beta/RegionList/id": id +"/compute:beta/RegionList/items": items +"/compute:beta/RegionList/items/item": item +"/compute:beta/RegionList/kind": kind +"/compute:beta/RegionList/nextPageToken": next_page_token +"/compute:beta/RegionList/selfLink": self_link +"/compute:beta/RegionSetLabelsRequest": region_set_labels_request +"/compute:beta/RegionSetLabelsRequest/labelFingerprint": label_fingerprint +"/compute:beta/RegionSetLabelsRequest/labels": labels +"/compute:beta/RegionSetLabelsRequest/labels/label": label +"/compute:beta/ResourceCommitment": resource_commitment +"/compute:beta/ResourceCommitment/amount": amount +"/compute:beta/ResourceCommitment/type": type +"/compute:beta/ResourceGroupReference": resource_group_reference +"/compute:beta/ResourceGroupReference/group": group +"/compute:beta/Route": route +"/compute:beta/Route/creationTimestamp": creation_timestamp +"/compute:beta/Route/description": description +"/compute:beta/Route/destRange": dest_range +"/compute:beta/Route/id": id +"/compute:beta/Route/kind": kind +"/compute:beta/Route/name": name +"/compute:beta/Route/network": network +"/compute:beta/Route/nextHopGateway": next_hop_gateway +"/compute:beta/Route/nextHopInstance": next_hop_instance +"/compute:beta/Route/nextHopIp": next_hop_ip +"/compute:beta/Route/nextHopNetwork": next_hop_network +"/compute:beta/Route/nextHopPeering": next_hop_peering +"/compute:beta/Route/nextHopVpnTunnel": next_hop_vpn_tunnel +"/compute:beta/Route/priority": priority +"/compute:beta/Route/selfLink": self_link +"/compute:beta/Route/tags": tags +"/compute:beta/Route/tags/tag": tag +"/compute:beta/Route/warnings": warnings +"/compute:beta/Route/warnings/warning": warning +"/compute:beta/Route/warnings/warning/code": code +"/compute:beta/Route/warnings/warning/data": data +"/compute:beta/Route/warnings/warning/data/datum": datum +"/compute:beta/Route/warnings/warning/data/datum/key": key +"/compute:beta/Route/warnings/warning/data/datum/value": value +"/compute:beta/Route/warnings/warning/message": message +"/compute:beta/RouteList": route_list +"/compute:beta/RouteList/id": id +"/compute:beta/RouteList/items": items +"/compute:beta/RouteList/items/item": item +"/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/linkedInterconnectAttachment": linked_interconnect_attachment +"/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/bestRoutesForRouter": best_routes_for_router +"/compute:beta/RouterStatus/bestRoutesForRouter/best_routes_for_router": best_routes_for_router +"/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/RouterStatusBgpPeerStatus/uptimeSeconds": uptime_seconds +"/compute:beta/RouterStatusResponse": router_status_response +"/compute:beta/RouterStatusResponse/kind": kind +"/compute:beta/RouterStatusResponse/result": result +"/compute:beta/RoutersPreviewResponse": routers_preview_response +"/compute:beta/RoutersPreviewResponse/resource": resource +"/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/Rule": rule +"/compute:beta/Rule/action": action +"/compute:beta/Rule/conditions": conditions +"/compute:beta/Rule/conditions/condition": condition +"/compute:beta/Rule/description": description +"/compute:beta/Rule/ins": ins +"/compute:beta/Rule/ins/in": in +"/compute:beta/Rule/logConfigs": log_configs +"/compute:beta/Rule/logConfigs/log_config": log_config +"/compute:beta/Rule/notIns": not_ins +"/compute:beta/Rule/notIns/not_in": not_in +"/compute:beta/Rule/permissions": permissions +"/compute:beta/Rule/permissions/permission": permission +"/compute:beta/SSLHealthCheck": ssl_health_check +"/compute:beta/SSLHealthCheck/port": port +"/compute:beta/SSLHealthCheck/portName": port_name +"/compute:beta/SSLHealthCheck/proxyHeader": proxy_header +"/compute:beta/SSLHealthCheck/request": request +"/compute:beta/SSLHealthCheck/response": response +"/compute:beta/Scheduling": scheduling +"/compute:beta/Scheduling/automaticRestart": automatic_restart +"/compute:beta/Scheduling/onHostMaintenance": on_host_maintenance +"/compute:beta/Scheduling/preemptible": preemptible +"/compute:beta/SecurityPoliciesList": security_policies_list +"/compute:beta/SecurityPoliciesList/id": id +"/compute:beta/SecurityPoliciesList/items": items +"/compute:beta/SecurityPoliciesList/items/item": item +"/compute:beta/SecurityPoliciesList/kind": kind +"/compute:beta/SecurityPoliciesList/nextPageToken": next_page_token +"/compute:beta/SecurityPolicy": security_policy +"/compute:beta/SecurityPolicy/creationTimestamp": creation_timestamp +"/compute:beta/SecurityPolicy/description": description +"/compute:beta/SecurityPolicy/fingerprint": fingerprint +"/compute:beta/SecurityPolicy/id": id +"/compute:beta/SecurityPolicy/kind": kind +"/compute:beta/SecurityPolicy/name": name +"/compute:beta/SecurityPolicy/rules": rules +"/compute:beta/SecurityPolicy/rules/rule": rule +"/compute:beta/SecurityPolicy/selfLink": self_link +"/compute:beta/SecurityPolicyReference": security_policy_reference +"/compute:beta/SecurityPolicyReference/securityPolicy": security_policy +"/compute:beta/SecurityPolicyRule": security_policy_rule +"/compute:beta/SecurityPolicyRule/action": action +"/compute:beta/SecurityPolicyRule/description": description +"/compute:beta/SecurityPolicyRule/kind": kind +"/compute:beta/SecurityPolicyRule/match": match +"/compute:beta/SecurityPolicyRule/preview": preview +"/compute:beta/SecurityPolicyRule/priority": priority +"/compute:beta/SecurityPolicyRuleMatcher": security_policy_rule_matcher +"/compute:beta/SecurityPolicyRuleMatcher/srcIpRanges": src_ip_ranges +"/compute:beta/SecurityPolicyRuleMatcher/srcIpRanges/src_ip_range": src_ip_range +"/compute:beta/SerialPortOutput": serial_port_output +"/compute:beta/SerialPortOutput/contents": contents +"/compute:beta/SerialPortOutput/kind": kind +"/compute:beta/SerialPortOutput/next": next +"/compute:beta/SerialPortOutput/selfLink": self_link +"/compute:beta/SerialPortOutput/start": start +"/compute:beta/ServiceAccount": service_account +"/compute:beta/ServiceAccount/email": email +"/compute:beta/ServiceAccount/scopes": scopes +"/compute:beta/ServiceAccount/scopes/scope": scope +"/compute:beta/Snapshot": snapshot +"/compute:beta/Snapshot/creationTimestamp": creation_timestamp +"/compute:beta/Snapshot/description": description +"/compute:beta/Snapshot/diskSizeGb": disk_size_gb +"/compute:beta/Snapshot/id": id +"/compute:beta/Snapshot/kind": kind +"/compute:beta/Snapshot/labelFingerprint": label_fingerprint +"/compute:beta/Snapshot/labels": labels +"/compute:beta/Snapshot/labels/label": label +"/compute:beta/Snapshot/licenses": licenses +"/compute:beta/Snapshot/licenses/license": license +"/compute:beta/Snapshot/name": name +"/compute:beta/Snapshot/selfLink": self_link +"/compute:beta/Snapshot/snapshotEncryptionKey": snapshot_encryption_key +"/compute:beta/Snapshot/sourceDisk": source_disk +"/compute:beta/Snapshot/sourceDiskEncryptionKey": source_disk_encryption_key +"/compute:beta/Snapshot/sourceDiskId": source_disk_id +"/compute:beta/Snapshot/status": status +"/compute:beta/Snapshot/storageBytes": storage_bytes +"/compute:beta/Snapshot/storageBytesStatus": storage_bytes_status +"/compute:beta/SnapshotList": snapshot_list +"/compute:beta/SnapshotList/id": id +"/compute:beta/SnapshotList/items": items +"/compute:beta/SnapshotList/items/item": item +"/compute:beta/SnapshotList/kind": kind +"/compute:beta/SnapshotList/nextPageToken": next_page_token +"/compute:beta/SnapshotList/selfLink": self_link +"/compute:beta/SslCertificate": ssl_certificate +"/compute:beta/SslCertificate/certificate": certificate +"/compute:beta/SslCertificate/creationTimestamp": creation_timestamp +"/compute:beta/SslCertificate/description": description +"/compute:beta/SslCertificate/id": id +"/compute:beta/SslCertificate/kind": kind +"/compute:beta/SslCertificate/name": name +"/compute:beta/SslCertificate/privateKey": private_key +"/compute:beta/SslCertificate/selfLink": self_link +"/compute:beta/SslCertificateList": ssl_certificate_list +"/compute:beta/SslCertificateList/id": id +"/compute:beta/SslCertificateList/items": items +"/compute:beta/SslCertificateList/items/item": item +"/compute:beta/SslCertificateList/kind": kind +"/compute:beta/SslCertificateList/nextPageToken": next_page_token +"/compute:beta/SslCertificateList/selfLink": self_link +"/compute:beta/Subnetwork": subnetwork +"/compute:beta/Subnetwork/creationTimestamp": creation_timestamp +"/compute:beta/Subnetwork/description": description +"/compute:beta/Subnetwork/gatewayAddress": gateway_address +"/compute:beta/Subnetwork/id": id +"/compute:beta/Subnetwork/ipCidrRange": ip_cidr_range +"/compute:beta/Subnetwork/kind": kind +"/compute:beta/Subnetwork/name": name +"/compute:beta/Subnetwork/network": network +"/compute:beta/Subnetwork/privateIpGoogleAccess": private_ip_google_access +"/compute:beta/Subnetwork/region": region +"/compute:beta/Subnetwork/secondaryIpRanges": secondary_ip_ranges +"/compute:beta/Subnetwork/secondaryIpRanges/secondary_ip_range": secondary_ip_range +"/compute:beta/Subnetwork/selfLink": self_link +"/compute:beta/SubnetworkAggregatedList": subnetwork_aggregated_list +"/compute:beta/SubnetworkAggregatedList/id": id +"/compute:beta/SubnetworkAggregatedList/items": items +"/compute:beta/SubnetworkAggregatedList/items/item": item +"/compute:beta/SubnetworkAggregatedList/kind": kind +"/compute:beta/SubnetworkAggregatedList/nextPageToken": next_page_token +"/compute:beta/SubnetworkAggregatedList/selfLink": self_link +"/compute:beta/SubnetworkList": subnetwork_list +"/compute:beta/SubnetworkList/id": id +"/compute:beta/SubnetworkList/items": items +"/compute:beta/SubnetworkList/items/item": item +"/compute:beta/SubnetworkList/kind": kind +"/compute:beta/SubnetworkList/nextPageToken": next_page_token +"/compute:beta/SubnetworkList/selfLink": self_link +"/compute:beta/SubnetworkSecondaryRange": subnetwork_secondary_range +"/compute:beta/SubnetworkSecondaryRange/ipCidrRange": ip_cidr_range +"/compute:beta/SubnetworkSecondaryRange/rangeName": range_name +"/compute:beta/SubnetworksExpandIpCidrRangeRequest": subnetworks_expand_ip_cidr_range_request +"/compute:beta/SubnetworksExpandIpCidrRangeRequest/ipCidrRange": ip_cidr_range +"/compute:beta/SubnetworksScopedList": subnetworks_scoped_list +"/compute:beta/SubnetworksScopedList/subnetworks": subnetworks +"/compute:beta/SubnetworksScopedList/subnetworks/subnetwork": subnetwork +"/compute:beta/SubnetworksScopedList/warning": warning +"/compute:beta/SubnetworksScopedList/warning/code": code +"/compute:beta/SubnetworksScopedList/warning/data": data +"/compute:beta/SubnetworksScopedList/warning/data/datum": datum +"/compute:beta/SubnetworksScopedList/warning/data/datum/key": key +"/compute:beta/SubnetworksScopedList/warning/data/datum/value": value +"/compute:beta/SubnetworksScopedList/warning/message": message +"/compute:beta/SubnetworksSetPrivateIpGoogleAccessRequest": subnetworks_set_private_ip_google_access_request +"/compute:beta/SubnetworksSetPrivateIpGoogleAccessRequest/privateIpGoogleAccess": private_ip_google_access +"/compute:beta/TCPHealthCheck": tcp_health_check +"/compute:beta/TCPHealthCheck/port": port +"/compute:beta/TCPHealthCheck/portName": port_name +"/compute:beta/TCPHealthCheck/proxyHeader": proxy_header +"/compute:beta/TCPHealthCheck/request": request +"/compute:beta/TCPHealthCheck/response": response +"/compute:beta/Tags": tags +"/compute:beta/Tags/fingerprint": fingerprint +"/compute:beta/Tags/items": items +"/compute:beta/Tags/items/item": item +"/compute:beta/TargetHttpProxy": target_http_proxy +"/compute:beta/TargetHttpProxy/creationTimestamp": creation_timestamp +"/compute:beta/TargetHttpProxy/description": description +"/compute:beta/TargetHttpProxy/id": id +"/compute:beta/TargetHttpProxy/kind": kind +"/compute:beta/TargetHttpProxy/name": name +"/compute:beta/TargetHttpProxy/selfLink": self_link +"/compute:beta/TargetHttpProxy/urlMap": url_map +"/compute:beta/TargetHttpProxyList": target_http_proxy_list +"/compute:beta/TargetHttpProxyList/id": id +"/compute:beta/TargetHttpProxyList/items": items +"/compute:beta/TargetHttpProxyList/items/item": item +"/compute:beta/TargetHttpProxyList/kind": kind +"/compute:beta/TargetHttpProxyList/nextPageToken": next_page_token +"/compute:beta/TargetHttpProxyList/selfLink": self_link +"/compute:beta/TargetHttpsProxiesSetSslCertificatesRequest": target_https_proxies_set_ssl_certificates_request +"/compute:beta/TargetHttpsProxiesSetSslCertificatesRequest/sslCertificates": ssl_certificates +"/compute:beta/TargetHttpsProxiesSetSslCertificatesRequest/sslCertificates/ssl_certificate": ssl_certificate +"/compute:beta/TargetHttpsProxy": target_https_proxy +"/compute:beta/TargetHttpsProxy/creationTimestamp": creation_timestamp +"/compute:beta/TargetHttpsProxy/description": description +"/compute:beta/TargetHttpsProxy/id": id +"/compute:beta/TargetHttpsProxy/kind": kind +"/compute:beta/TargetHttpsProxy/name": name +"/compute:beta/TargetHttpsProxy/selfLink": self_link +"/compute:beta/TargetHttpsProxy/sslCertificates": ssl_certificates +"/compute:beta/TargetHttpsProxy/sslCertificates/ssl_certificate": ssl_certificate +"/compute:beta/TargetHttpsProxy/urlMap": url_map +"/compute:beta/TargetHttpsProxyList": target_https_proxy_list +"/compute:beta/TargetHttpsProxyList/id": id +"/compute:beta/TargetHttpsProxyList/items": items +"/compute:beta/TargetHttpsProxyList/items/item": item +"/compute:beta/TargetHttpsProxyList/kind": kind +"/compute:beta/TargetHttpsProxyList/nextPageToken": next_page_token +"/compute:beta/TargetHttpsProxyList/selfLink": self_link +"/compute:beta/TargetInstance": target_instance +"/compute:beta/TargetInstance/creationTimestamp": creation_timestamp +"/compute:beta/TargetInstance/description": description +"/compute:beta/TargetInstance/id": id +"/compute:beta/TargetInstance/instance": instance +"/compute:beta/TargetInstance/kind": kind +"/compute:beta/TargetInstance/name": name +"/compute:beta/TargetInstance/natPolicy": nat_policy +"/compute:beta/TargetInstance/selfLink": self_link +"/compute:beta/TargetInstance/zone": zone +"/compute:beta/TargetInstanceAggregatedList": target_instance_aggregated_list +"/compute:beta/TargetInstanceAggregatedList/id": id +"/compute:beta/TargetInstanceAggregatedList/items": items +"/compute:beta/TargetInstanceAggregatedList/items/item": item +"/compute:beta/TargetInstanceAggregatedList/kind": kind +"/compute:beta/TargetInstanceAggregatedList/nextPageToken": next_page_token +"/compute:beta/TargetInstanceAggregatedList/selfLink": self_link +"/compute:beta/TargetInstanceList": target_instance_list +"/compute:beta/TargetInstanceList/id": id +"/compute:beta/TargetInstanceList/items": items +"/compute:beta/TargetInstanceList/items/item": item +"/compute:beta/TargetInstanceList/kind": kind +"/compute:beta/TargetInstanceList/nextPageToken": next_page_token +"/compute:beta/TargetInstanceList/selfLink": self_link +"/compute:beta/TargetInstancesScopedList": target_instances_scoped_list +"/compute:beta/TargetInstancesScopedList/targetInstances": target_instances +"/compute:beta/TargetInstancesScopedList/targetInstances/target_instance": target_instance +"/compute:beta/TargetInstancesScopedList/warning": warning +"/compute:beta/TargetInstancesScopedList/warning/code": code +"/compute:beta/TargetInstancesScopedList/warning/data": data +"/compute:beta/TargetInstancesScopedList/warning/data/datum": datum +"/compute:beta/TargetInstancesScopedList/warning/data/datum/key": key +"/compute:beta/TargetInstancesScopedList/warning/data/datum/value": value +"/compute:beta/TargetInstancesScopedList/warning/message": message +"/compute:beta/TargetPool": target_pool +"/compute:beta/TargetPool/backupPool": backup_pool +"/compute:beta/TargetPool/creationTimestamp": creation_timestamp +"/compute:beta/TargetPool/description": description +"/compute:beta/TargetPool/failoverRatio": failover_ratio +"/compute:beta/TargetPool/healthChecks": health_checks +"/compute:beta/TargetPool/healthChecks/health_check": health_check +"/compute:beta/TargetPool/id": id +"/compute:beta/TargetPool/instances": instances +"/compute:beta/TargetPool/instances/instance": instance +"/compute:beta/TargetPool/kind": kind +"/compute:beta/TargetPool/name": name +"/compute:beta/TargetPool/region": region +"/compute:beta/TargetPool/selfLink": self_link +"/compute:beta/TargetPool/sessionAffinity": session_affinity +"/compute:beta/TargetPoolAggregatedList": target_pool_aggregated_list +"/compute:beta/TargetPoolAggregatedList/id": id +"/compute:beta/TargetPoolAggregatedList/items": items +"/compute:beta/TargetPoolAggregatedList/items/item": item +"/compute:beta/TargetPoolAggregatedList/kind": kind +"/compute:beta/TargetPoolAggregatedList/nextPageToken": next_page_token +"/compute:beta/TargetPoolAggregatedList/selfLink": self_link +"/compute:beta/TargetPoolInstanceHealth": target_pool_instance_health +"/compute:beta/TargetPoolInstanceHealth/healthStatus": health_status +"/compute:beta/TargetPoolInstanceHealth/healthStatus/health_status": health_status +"/compute:beta/TargetPoolInstanceHealth/kind": kind +"/compute:beta/TargetPoolList": target_pool_list +"/compute:beta/TargetPoolList/id": id +"/compute:beta/TargetPoolList/items": items +"/compute:beta/TargetPoolList/items/item": item +"/compute:beta/TargetPoolList/kind": kind +"/compute:beta/TargetPoolList/nextPageToken": next_page_token +"/compute:beta/TargetPoolList/selfLink": self_link +"/compute:beta/TargetPoolsAddHealthCheckRequest": add_target_pools_health_check_request +"/compute:beta/TargetPoolsAddHealthCheckRequest/healthChecks": health_checks +"/compute:beta/TargetPoolsAddHealthCheckRequest/healthChecks/health_check": health_check +"/compute:beta/TargetPoolsAddInstanceRequest": add_target_pools_instance_request +"/compute:beta/TargetPoolsAddInstanceRequest/instances": instances +"/compute:beta/TargetPoolsAddInstanceRequest/instances/instance": instance +"/compute:beta/TargetPoolsRemoveHealthCheckRequest": remove_target_pools_health_check_request +"/compute:beta/TargetPoolsRemoveHealthCheckRequest/healthChecks": health_checks +"/compute:beta/TargetPoolsRemoveHealthCheckRequest/healthChecks/health_check": health_check +"/compute:beta/TargetPoolsRemoveInstanceRequest": remove_target_pools_instance_request +"/compute:beta/TargetPoolsRemoveInstanceRequest/instances": instances +"/compute:beta/TargetPoolsRemoveInstanceRequest/instances/instance": instance +"/compute:beta/TargetPoolsScopedList": target_pools_scoped_list +"/compute:beta/TargetPoolsScopedList/targetPools": target_pools +"/compute:beta/TargetPoolsScopedList/targetPools/target_pool": target_pool +"/compute:beta/TargetPoolsScopedList/warning": warning +"/compute:beta/TargetPoolsScopedList/warning/code": code +"/compute:beta/TargetPoolsScopedList/warning/data": data +"/compute:beta/TargetPoolsScopedList/warning/data/datum": datum +"/compute:beta/TargetPoolsScopedList/warning/data/datum/key": key +"/compute:beta/TargetPoolsScopedList/warning/data/datum/value": value +"/compute:beta/TargetPoolsScopedList/warning/message": message +"/compute:beta/TargetReference": target_reference +"/compute:beta/TargetReference/target": target +"/compute:beta/TargetSslProxiesSetBackendServiceRequest": target_ssl_proxies_set_backend_service_request +"/compute:beta/TargetSslProxiesSetBackendServiceRequest/service": service +"/compute:beta/TargetSslProxiesSetProxyHeaderRequest": target_ssl_proxies_set_proxy_header_request +"/compute:beta/TargetSslProxiesSetProxyHeaderRequest/proxyHeader": proxy_header +"/compute:beta/TargetSslProxiesSetSslCertificatesRequest": target_ssl_proxies_set_ssl_certificates_request +"/compute:beta/TargetSslProxiesSetSslCertificatesRequest/sslCertificates": ssl_certificates +"/compute:beta/TargetSslProxiesSetSslCertificatesRequest/sslCertificates/ssl_certificate": ssl_certificate +"/compute:beta/TargetSslProxy": target_ssl_proxy +"/compute:beta/TargetSslProxy/creationTimestamp": creation_timestamp +"/compute:beta/TargetSslProxy/description": description +"/compute:beta/TargetSslProxy/id": id +"/compute:beta/TargetSslProxy/kind": kind +"/compute:beta/TargetSslProxy/name": name +"/compute:beta/TargetSslProxy/proxyHeader": proxy_header +"/compute:beta/TargetSslProxy/selfLink": self_link +"/compute:beta/TargetSslProxy/service": service +"/compute:beta/TargetSslProxy/sslCertificates": ssl_certificates +"/compute:beta/TargetSslProxy/sslCertificates/ssl_certificate": ssl_certificate +"/compute:beta/TargetSslProxyList": target_ssl_proxy_list +"/compute:beta/TargetSslProxyList/id": id +"/compute:beta/TargetSslProxyList/items": items +"/compute:beta/TargetSslProxyList/items/item": item +"/compute:beta/TargetSslProxyList/kind": kind +"/compute:beta/TargetSslProxyList/nextPageToken": next_page_token +"/compute:beta/TargetSslProxyList/selfLink": self_link +"/compute:beta/TargetTcpProxiesSetBackendServiceRequest": target_tcp_proxies_set_backend_service_request +"/compute:beta/TargetTcpProxiesSetBackendServiceRequest/service": service +"/compute:beta/TargetTcpProxiesSetProxyHeaderRequest": target_tcp_proxies_set_proxy_header_request +"/compute:beta/TargetTcpProxiesSetProxyHeaderRequest/proxyHeader": proxy_header +"/compute:beta/TargetTcpProxy": target_tcp_proxy +"/compute:beta/TargetTcpProxy/creationTimestamp": creation_timestamp +"/compute:beta/TargetTcpProxy/description": description +"/compute:beta/TargetTcpProxy/id": id +"/compute:beta/TargetTcpProxy/kind": kind +"/compute:beta/TargetTcpProxy/name": name +"/compute:beta/TargetTcpProxy/proxyHeader": proxy_header +"/compute:beta/TargetTcpProxy/selfLink": self_link +"/compute:beta/TargetTcpProxy/service": service +"/compute:beta/TargetTcpProxyList": target_tcp_proxy_list +"/compute:beta/TargetTcpProxyList/id": id +"/compute:beta/TargetTcpProxyList/items": items +"/compute:beta/TargetTcpProxyList/items/item": item +"/compute:beta/TargetTcpProxyList/kind": kind +"/compute:beta/TargetTcpProxyList/nextPageToken": next_page_token +"/compute:beta/TargetTcpProxyList/selfLink": self_link +"/compute:beta/TargetVpnGateway": target_vpn_gateway +"/compute:beta/TargetVpnGateway/creationTimestamp": creation_timestamp +"/compute:beta/TargetVpnGateway/description": description +"/compute:beta/TargetVpnGateway/forwardingRules": forwarding_rules +"/compute:beta/TargetVpnGateway/forwardingRules/forwarding_rule": forwarding_rule +"/compute:beta/TargetVpnGateway/id": id +"/compute:beta/TargetVpnGateway/kind": kind +"/compute:beta/TargetVpnGateway/name": name +"/compute:beta/TargetVpnGateway/network": network +"/compute:beta/TargetVpnGateway/region": region +"/compute:beta/TargetVpnGateway/selfLink": self_link +"/compute:beta/TargetVpnGateway/status": status +"/compute:beta/TargetVpnGateway/tunnels": tunnels +"/compute:beta/TargetVpnGateway/tunnels/tunnel": tunnel +"/compute:beta/TargetVpnGatewayAggregatedList": target_vpn_gateway_aggregated_list +"/compute:beta/TargetVpnGatewayAggregatedList/id": id +"/compute:beta/TargetVpnGatewayAggregatedList/items": items +"/compute:beta/TargetVpnGatewayAggregatedList/items/item": item +"/compute:beta/TargetVpnGatewayAggregatedList/kind": kind +"/compute:beta/TargetVpnGatewayAggregatedList/nextPageToken": next_page_token +"/compute:beta/TargetVpnGatewayAggregatedList/selfLink": self_link +"/compute:beta/TargetVpnGatewayList": target_vpn_gateway_list +"/compute:beta/TargetVpnGatewayList/id": id +"/compute:beta/TargetVpnGatewayList/items": items +"/compute:beta/TargetVpnGatewayList/items/item": item +"/compute:beta/TargetVpnGatewayList/kind": kind +"/compute:beta/TargetVpnGatewayList/nextPageToken": next_page_token +"/compute:beta/TargetVpnGatewayList/selfLink": self_link +"/compute:beta/TargetVpnGatewaysScopedList": target_vpn_gateways_scoped_list +"/compute:beta/TargetVpnGatewaysScopedList/targetVpnGateways": target_vpn_gateways +"/compute:beta/TargetVpnGatewaysScopedList/targetVpnGateways/target_vpn_gateway": target_vpn_gateway +"/compute:beta/TargetVpnGatewaysScopedList/warning": warning +"/compute:beta/TargetVpnGatewaysScopedList/warning/code": code +"/compute:beta/TargetVpnGatewaysScopedList/warning/data": data +"/compute:beta/TargetVpnGatewaysScopedList/warning/data/datum": datum +"/compute:beta/TargetVpnGatewaysScopedList/warning/data/datum/key": key +"/compute:beta/TargetVpnGatewaysScopedList/warning/data/datum/value": value +"/compute:beta/TargetVpnGatewaysScopedList/warning/message": message +"/compute:beta/TestFailure": test_failure +"/compute:beta/TestFailure/actualService": actual_service +"/compute:beta/TestFailure/expectedService": expected_service +"/compute:beta/TestFailure/host": host +"/compute:beta/TestFailure/path": path +"/compute:beta/TestPermissionsRequest": test_permissions_request +"/compute:beta/TestPermissionsRequest/permissions": permissions +"/compute:beta/TestPermissionsRequest/permissions/permission": permission +"/compute:beta/TestPermissionsResponse": test_permissions_response +"/compute:beta/TestPermissionsResponse/permissions": permissions +"/compute:beta/TestPermissionsResponse/permissions/permission": permission +"/compute:beta/UDPHealthCheck": udp_health_check +"/compute:beta/UDPHealthCheck/port": port +"/compute:beta/UDPHealthCheck/portName": port_name +"/compute:beta/UDPHealthCheck/request": request +"/compute:beta/UDPHealthCheck/response": response +"/compute:beta/UrlMap": url_map +"/compute:beta/UrlMap/creationTimestamp": creation_timestamp +"/compute:beta/UrlMap/defaultService": default_service +"/compute:beta/UrlMap/description": description +"/compute:beta/UrlMap/fingerprint": fingerprint +"/compute:beta/UrlMap/hostRules": host_rules +"/compute:beta/UrlMap/hostRules/host_rule": host_rule +"/compute:beta/UrlMap/id": id +"/compute:beta/UrlMap/kind": kind +"/compute:beta/UrlMap/name": name +"/compute:beta/UrlMap/pathMatchers": path_matchers +"/compute:beta/UrlMap/pathMatchers/path_matcher": path_matcher +"/compute:beta/UrlMap/selfLink": self_link +"/compute:beta/UrlMap/tests": tests +"/compute:beta/UrlMap/tests/test": test +"/compute:beta/UrlMapList": url_map_list +"/compute:beta/UrlMapList/id": id +"/compute:beta/UrlMapList/items": items +"/compute:beta/UrlMapList/items/item": item +"/compute:beta/UrlMapList/kind": kind +"/compute:beta/UrlMapList/nextPageToken": next_page_token +"/compute:beta/UrlMapList/selfLink": self_link +"/compute:beta/UrlMapReference": url_map_reference +"/compute:beta/UrlMapReference/urlMap": url_map +"/compute:beta/UrlMapTest": url_map_test +"/compute:beta/UrlMapTest/description": description +"/compute:beta/UrlMapTest/host": host +"/compute:beta/UrlMapTest/path": path +"/compute:beta/UrlMapTest/service": service +"/compute:beta/UrlMapValidationResult": url_map_validation_result +"/compute:beta/UrlMapValidationResult/loadErrors": load_errors +"/compute:beta/UrlMapValidationResult/loadErrors/load_error": load_error +"/compute:beta/UrlMapValidationResult/loadSucceeded": load_succeeded +"/compute:beta/UrlMapValidationResult/testFailures": test_failures +"/compute:beta/UrlMapValidationResult/testFailures/test_failure": test_failure +"/compute:beta/UrlMapValidationResult/testPassed": test_passed +"/compute:beta/UrlMapsValidateRequest": validate_url_maps_request +"/compute:beta/UrlMapsValidateRequest/resource": resource +"/compute:beta/UrlMapsValidateResponse": validate_url_maps_response +"/compute:beta/UrlMapsValidateResponse/result": result +"/compute:beta/UsageExportLocation": usage_export_location +"/compute:beta/UsageExportLocation/bucketName": bucket_name +"/compute:beta/UsageExportLocation/reportNamePrefix": report_name_prefix +"/compute:beta/VpnTunnel": vpn_tunnel +"/compute:beta/VpnTunnel/creationTimestamp": creation_timestamp +"/compute:beta/VpnTunnel/description": description +"/compute:beta/VpnTunnel/detailedStatus": detailed_status +"/compute:beta/VpnTunnel/id": id +"/compute:beta/VpnTunnel/ikeVersion": ike_version +"/compute:beta/VpnTunnel/kind": kind +"/compute:beta/VpnTunnel/localTrafficSelector": local_traffic_selector +"/compute:beta/VpnTunnel/localTrafficSelector/local_traffic_selector": local_traffic_selector +"/compute:beta/VpnTunnel/name": name +"/compute:beta/VpnTunnel/peerIp": peer_ip +"/compute:beta/VpnTunnel/region": region +"/compute:beta/VpnTunnel/remoteTrafficSelector": remote_traffic_selector +"/compute:beta/VpnTunnel/remoteTrafficSelector/remote_traffic_selector": remote_traffic_selector +"/compute:beta/VpnTunnel/router": router +"/compute:beta/VpnTunnel/selfLink": self_link +"/compute:beta/VpnTunnel/sharedSecret": shared_secret +"/compute:beta/VpnTunnel/sharedSecretHash": shared_secret_hash +"/compute:beta/VpnTunnel/status": status +"/compute:beta/VpnTunnel/targetVpnGateway": target_vpn_gateway +"/compute:beta/VpnTunnelAggregatedList": vpn_tunnel_aggregated_list +"/compute:beta/VpnTunnelAggregatedList/id": id +"/compute:beta/VpnTunnelAggregatedList/items": items +"/compute:beta/VpnTunnelAggregatedList/items/item": item +"/compute:beta/VpnTunnelAggregatedList/kind": kind +"/compute:beta/VpnTunnelAggregatedList/nextPageToken": next_page_token +"/compute:beta/VpnTunnelAggregatedList/selfLink": self_link +"/compute:beta/VpnTunnelList": vpn_tunnel_list +"/compute:beta/VpnTunnelList/id": id +"/compute:beta/VpnTunnelList/items": items +"/compute:beta/VpnTunnelList/items/item": item +"/compute:beta/VpnTunnelList/kind": kind +"/compute:beta/VpnTunnelList/nextPageToken": next_page_token +"/compute:beta/VpnTunnelList/selfLink": self_link +"/compute:beta/VpnTunnelsScopedList": vpn_tunnels_scoped_list +"/compute:beta/VpnTunnelsScopedList/vpnTunnels": vpn_tunnels +"/compute:beta/VpnTunnelsScopedList/vpnTunnels/vpn_tunnel": vpn_tunnel +"/compute:beta/VpnTunnelsScopedList/warning": warning +"/compute:beta/VpnTunnelsScopedList/warning/code": code +"/compute:beta/VpnTunnelsScopedList/warning/data": data +"/compute:beta/VpnTunnelsScopedList/warning/data/datum": datum +"/compute:beta/VpnTunnelsScopedList/warning/data/datum/key": key +"/compute:beta/VpnTunnelsScopedList/warning/data/datum/value": value +"/compute:beta/VpnTunnelsScopedList/warning/message": message +"/compute:beta/XpnHostList": xpn_host_list +"/compute:beta/XpnHostList/id": id +"/compute:beta/XpnHostList/items": items +"/compute:beta/XpnHostList/items/item": item +"/compute:beta/XpnHostList/kind": kind +"/compute:beta/XpnHostList/nextPageToken": next_page_token +"/compute:beta/XpnHostList/selfLink": self_link +"/compute:beta/XpnResourceId": xpn_resource_id +"/compute:beta/XpnResourceId/id": id +"/compute:beta/XpnResourceId/type": type +"/compute:beta/Zone": zone +"/compute:beta/Zone/availableCpuPlatforms": available_cpu_platforms +"/compute:beta/Zone/availableCpuPlatforms/available_cpu_platform": available_cpu_platform +"/compute:beta/Zone/creationTimestamp": creation_timestamp +"/compute:beta/Zone/deprecated": deprecated +"/compute:beta/Zone/description": description +"/compute:beta/Zone/id": id +"/compute:beta/Zone/kind": kind +"/compute:beta/Zone/name": name +"/compute:beta/Zone/region": region +"/compute:beta/Zone/selfLink": self_link +"/compute:beta/Zone/status": status +"/compute:beta/ZoneList": zone_list +"/compute:beta/ZoneList/id": id +"/compute:beta/ZoneList/items": items +"/compute:beta/ZoneList/items/item": item +"/compute:beta/ZoneList/kind": kind +"/compute:beta/ZoneList/nextPageToken": next_page_token +"/compute:beta/ZoneList/selfLink": self_link +"/compute:beta/ZoneSetLabelsRequest": zone_set_labels_request +"/compute:beta/ZoneSetLabelsRequest/labelFingerprint": label_fingerprint +"/compute:beta/ZoneSetLabelsRequest/labels": labels +"/compute:beta/ZoneSetLabelsRequest/labels/label": label +"/compute:beta/compute.acceleratorTypes.aggregatedList": aggregated_accelerator_type_list +"/compute:beta/compute.acceleratorTypes.aggregatedList/filter": filter +"/compute:beta/compute.acceleratorTypes.aggregatedList/maxResults": max_results +"/compute:beta/compute.acceleratorTypes.aggregatedList/orderBy": order_by +"/compute:beta/compute.acceleratorTypes.aggregatedList/pageToken": page_token +"/compute:beta/compute.acceleratorTypes.aggregatedList/project": project +"/compute:beta/compute.acceleratorTypes.get": get_accelerator_type +"/compute:beta/compute.acceleratorTypes.get/acceleratorType": accelerator_type +"/compute:beta/compute.acceleratorTypes.get/project": project +"/compute:beta/compute.acceleratorTypes.get/zone": zone +"/compute:beta/compute.acceleratorTypes.list": list_accelerator_types +"/compute:beta/compute.acceleratorTypes.list/filter": filter +"/compute:beta/compute.acceleratorTypes.list/maxResults": max_results +"/compute:beta/compute.acceleratorTypes.list/orderBy": order_by +"/compute:beta/compute.acceleratorTypes.list/pageToken": page_token +"/compute:beta/compute.acceleratorTypes.list/project": project +"/compute:beta/compute.acceleratorTypes.list/zone": zone +"/compute:beta/compute.addresses.aggregatedList": list_aggregated_addresses +"/compute:beta/compute.addresses.aggregatedList/filter": filter +"/compute:beta/compute.addresses.aggregatedList/maxResults": max_results +"/compute:beta/compute.addresses.aggregatedList/orderBy": order_by +"/compute:beta/compute.addresses.aggregatedList/pageToken": page_token +"/compute:beta/compute.addresses.aggregatedList/project": project +"/compute:beta/compute.addresses.delete": delete_address +"/compute:beta/compute.addresses.delete/address": address +"/compute:beta/compute.addresses.delete/project": project +"/compute:beta/compute.addresses.delete/region": region +"/compute:beta/compute.addresses.delete/requestId": request_id +"/compute:beta/compute.addresses.get": get_address +"/compute:beta/compute.addresses.get/address": address +"/compute:beta/compute.addresses.get/project": project +"/compute:beta/compute.addresses.get/region": region +"/compute:beta/compute.addresses.insert": insert_address +"/compute:beta/compute.addresses.insert/project": project +"/compute:beta/compute.addresses.insert/region": region +"/compute:beta/compute.addresses.insert/requestId": request_id +"/compute:beta/compute.addresses.list": list_addresses +"/compute:beta/compute.addresses.list/filter": filter +"/compute:beta/compute.addresses.list/maxResults": max_results +"/compute:beta/compute.addresses.list/orderBy": order_by +"/compute:beta/compute.addresses.list/pageToken": page_token +"/compute:beta/compute.addresses.list/project": project +"/compute:beta/compute.addresses.list/region": region +"/compute:beta/compute.addresses.setLabels": set_address_labels +"/compute:beta/compute.addresses.setLabels/project": project +"/compute:beta/compute.addresses.setLabels/region": region +"/compute:beta/compute.addresses.setLabels/requestId": request_id +"/compute:beta/compute.addresses.setLabels/resource": resource +"/compute:beta/compute.addresses.testIamPermissions": test_address_iam_permissions +"/compute:beta/compute.addresses.testIamPermissions/project": project +"/compute:beta/compute.addresses.testIamPermissions/region": region +"/compute:beta/compute.addresses.testIamPermissions/resource": resource +"/compute:beta/compute.autoscalers.aggregatedList": list_aggregated_autoscalers +"/compute:beta/compute.autoscalers.aggregatedList/filter": filter +"/compute:beta/compute.autoscalers.aggregatedList/maxResults": max_results +"/compute:beta/compute.autoscalers.aggregatedList/orderBy": order_by +"/compute:beta/compute.autoscalers.aggregatedList/pageToken": page_token +"/compute:beta/compute.autoscalers.aggregatedList/project": project +"/compute:beta/compute.autoscalers.delete": delete_autoscaler +"/compute:beta/compute.autoscalers.delete/autoscaler": autoscaler +"/compute:beta/compute.autoscalers.delete/project": project +"/compute:beta/compute.autoscalers.delete/requestId": request_id +"/compute:beta/compute.autoscalers.delete/zone": zone +"/compute:beta/compute.autoscalers.get": get_autoscaler +"/compute:beta/compute.autoscalers.get/autoscaler": autoscaler +"/compute:beta/compute.autoscalers.get/project": project +"/compute:beta/compute.autoscalers.get/zone": zone +"/compute:beta/compute.autoscalers.insert": insert_autoscaler +"/compute:beta/compute.autoscalers.insert/project": project +"/compute:beta/compute.autoscalers.insert/requestId": request_id +"/compute:beta/compute.autoscalers.insert/zone": zone +"/compute:beta/compute.autoscalers.list": list_autoscalers +"/compute:beta/compute.autoscalers.list/filter": filter +"/compute:beta/compute.autoscalers.list/maxResults": max_results +"/compute:beta/compute.autoscalers.list/orderBy": order_by +"/compute:beta/compute.autoscalers.list/pageToken": page_token +"/compute:beta/compute.autoscalers.list/project": project +"/compute:beta/compute.autoscalers.list/zone": zone +"/compute:beta/compute.autoscalers.patch": patch_autoscaler +"/compute:beta/compute.autoscalers.patch/autoscaler": autoscaler +"/compute:beta/compute.autoscalers.patch/project": project +"/compute:beta/compute.autoscalers.patch/requestId": request_id +"/compute:beta/compute.autoscalers.patch/zone": zone +"/compute:beta/compute.autoscalers.testIamPermissions": test_autoscaler_iam_permissions +"/compute:beta/compute.autoscalers.testIamPermissions/project": project +"/compute:beta/compute.autoscalers.testIamPermissions/resource": resource +"/compute:beta/compute.autoscalers.testIamPermissions/zone": zone +"/compute:beta/compute.autoscalers.update": update_autoscaler +"/compute:beta/compute.autoscalers.update/autoscaler": autoscaler +"/compute:beta/compute.autoscalers.update/project": project +"/compute:beta/compute.autoscalers.update/requestId": request_id +"/compute:beta/compute.autoscalers.update/zone": zone +"/compute:beta/compute.backendBuckets.delete": delete_backend_bucket +"/compute:beta/compute.backendBuckets.delete/backendBucket": backend_bucket +"/compute:beta/compute.backendBuckets.delete/project": project +"/compute:beta/compute.backendBuckets.delete/requestId": request_id +"/compute:beta/compute.backendBuckets.get": get_backend_bucket +"/compute:beta/compute.backendBuckets.get/backendBucket": backend_bucket +"/compute:beta/compute.backendBuckets.get/project": project +"/compute:beta/compute.backendBuckets.insert": insert_backend_bucket +"/compute:beta/compute.backendBuckets.insert/project": project +"/compute:beta/compute.backendBuckets.insert/requestId": request_id +"/compute:beta/compute.backendBuckets.list": list_backend_buckets +"/compute:beta/compute.backendBuckets.list/filter": filter +"/compute:beta/compute.backendBuckets.list/maxResults": max_results +"/compute:beta/compute.backendBuckets.list/orderBy": order_by +"/compute:beta/compute.backendBuckets.list/pageToken": page_token +"/compute:beta/compute.backendBuckets.list/project": project +"/compute:beta/compute.backendBuckets.patch": patch_backend_bucket +"/compute:beta/compute.backendBuckets.patch/backendBucket": backend_bucket +"/compute:beta/compute.backendBuckets.patch/project": project +"/compute:beta/compute.backendBuckets.patch/requestId": request_id +"/compute:beta/compute.backendBuckets.update": update_backend_bucket +"/compute:beta/compute.backendBuckets.update/backendBucket": backend_bucket +"/compute:beta/compute.backendBuckets.update/project": project +"/compute:beta/compute.backendBuckets.update/requestId": request_id +"/compute:beta/compute.backendServices.aggregatedList": aggregated_backend_service_list +"/compute:beta/compute.backendServices.aggregatedList/filter": filter +"/compute:beta/compute.backendServices.aggregatedList/maxResults": max_results +"/compute:beta/compute.backendServices.aggregatedList/orderBy": order_by +"/compute:beta/compute.backendServices.aggregatedList/pageToken": page_token +"/compute:beta/compute.backendServices.aggregatedList/project": project +"/compute:beta/compute.backendServices.delete": delete_backend_service +"/compute:beta/compute.backendServices.delete/backendService": backend_service +"/compute:beta/compute.backendServices.delete/project": project +"/compute:beta/compute.backendServices.delete/requestId": request_id +"/compute:beta/compute.backendServices.get": get_backend_service +"/compute:beta/compute.backendServices.get/backendService": backend_service +"/compute:beta/compute.backendServices.get/project": project +"/compute:beta/compute.backendServices.getHealth": get_backend_service_health +"/compute:beta/compute.backendServices.getHealth/backendService": backend_service +"/compute:beta/compute.backendServices.getHealth/project": project +"/compute:beta/compute.backendServices.insert": insert_backend_service +"/compute:beta/compute.backendServices.insert/project": project +"/compute:beta/compute.backendServices.insert/requestId": request_id +"/compute:beta/compute.backendServices.list": list_backend_services +"/compute:beta/compute.backendServices.list/filter": filter +"/compute:beta/compute.backendServices.list/maxResults": max_results +"/compute:beta/compute.backendServices.list/orderBy": order_by +"/compute:beta/compute.backendServices.list/pageToken": page_token +"/compute:beta/compute.backendServices.list/project": project +"/compute:beta/compute.backendServices.patch": patch_backend_service +"/compute:beta/compute.backendServices.patch/backendService": backend_service +"/compute:beta/compute.backendServices.patch/project": project +"/compute:beta/compute.backendServices.patch/requestId": request_id +"/compute:beta/compute.backendServices.setSecurityPolicy": set_backend_service_security_policy +"/compute:beta/compute.backendServices.setSecurityPolicy/backendService": backend_service +"/compute:beta/compute.backendServices.setSecurityPolicy/project": project +"/compute:beta/compute.backendServices.setSecurityPolicy/requestId": request_id +"/compute:beta/compute.backendServices.testIamPermissions": test_backend_service_iam_permissions +"/compute:beta/compute.backendServices.testIamPermissions/project": project +"/compute:beta/compute.backendServices.testIamPermissions/resource": resource +"/compute:beta/compute.backendServices.update": update_backend_service +"/compute:beta/compute.backendServices.update/backendService": backend_service +"/compute:beta/compute.backendServices.update/project": project +"/compute:beta/compute.backendServices.update/requestId": request_id +"/compute:beta/compute.diskTypes.aggregatedList": list_aggregated_disk_types +"/compute:beta/compute.diskTypes.aggregatedList/filter": filter +"/compute:beta/compute.diskTypes.aggregatedList/maxResults": max_results +"/compute:beta/compute.diskTypes.aggregatedList/orderBy": order_by +"/compute:beta/compute.diskTypes.aggregatedList/pageToken": page_token +"/compute:beta/compute.diskTypes.aggregatedList/project": project +"/compute:beta/compute.diskTypes.get": get_disk_type +"/compute:beta/compute.diskTypes.get/diskType": disk_type +"/compute:beta/compute.diskTypes.get/project": project +"/compute:beta/compute.diskTypes.get/zone": zone +"/compute:beta/compute.diskTypes.list": list_disk_types +"/compute:beta/compute.diskTypes.list/filter": filter +"/compute:beta/compute.diskTypes.list/maxResults": max_results +"/compute:beta/compute.diskTypes.list/orderBy": order_by +"/compute:beta/compute.diskTypes.list/pageToken": page_token +"/compute:beta/compute.diskTypes.list/project": project +"/compute:beta/compute.diskTypes.list/zone": zone +"/compute:beta/compute.disks.aggregatedList": list_aggregated_disk +"/compute:beta/compute.disks.aggregatedList/filter": filter +"/compute:beta/compute.disks.aggregatedList/maxResults": max_results +"/compute:beta/compute.disks.aggregatedList/orderBy": order_by +"/compute:beta/compute.disks.aggregatedList/pageToken": page_token +"/compute:beta/compute.disks.aggregatedList/project": project +"/compute:beta/compute.disks.createSnapshot": create_disk_snapshot +"/compute:beta/compute.disks.createSnapshot/disk": disk +"/compute:beta/compute.disks.createSnapshot/guestFlush": guest_flush +"/compute:beta/compute.disks.createSnapshot/project": project +"/compute:beta/compute.disks.createSnapshot/requestId": request_id +"/compute:beta/compute.disks.createSnapshot/zone": zone +"/compute:beta/compute.disks.delete": delete_disk +"/compute:beta/compute.disks.delete/disk": disk +"/compute:beta/compute.disks.delete/project": project +"/compute:beta/compute.disks.delete/requestId": request_id +"/compute:beta/compute.disks.delete/zone": zone +"/compute:beta/compute.disks.get": get_disk +"/compute:beta/compute.disks.get/disk": disk +"/compute:beta/compute.disks.get/project": project +"/compute:beta/compute.disks.get/zone": zone +"/compute:beta/compute.disks.insert": insert_disk +"/compute:beta/compute.disks.insert/project": project +"/compute:beta/compute.disks.insert/requestId": request_id +"/compute:beta/compute.disks.insert/sourceImage": source_image +"/compute:beta/compute.disks.insert/zone": zone +"/compute:beta/compute.disks.list": list_disks +"/compute:beta/compute.disks.list/filter": filter +"/compute:beta/compute.disks.list/maxResults": max_results +"/compute:beta/compute.disks.list/orderBy": order_by +"/compute:beta/compute.disks.list/pageToken": page_token +"/compute:beta/compute.disks.list/project": project +"/compute:beta/compute.disks.list/zone": zone +"/compute:beta/compute.disks.resize": resize_disk +"/compute:beta/compute.disks.resize/disk": disk +"/compute:beta/compute.disks.resize/project": project +"/compute:beta/compute.disks.resize/requestId": request_id +"/compute:beta/compute.disks.resize/zone": zone +"/compute:beta/compute.disks.setLabels": set_disk_labels +"/compute:beta/compute.disks.setLabels/project": project +"/compute:beta/compute.disks.setLabels/requestId": request_id +"/compute:beta/compute.disks.setLabels/resource": resource +"/compute:beta/compute.disks.setLabels/zone": zone +"/compute:beta/compute.disks.testIamPermissions": test_disk_iam_permissions +"/compute:beta/compute.disks.testIamPermissions/project": project +"/compute:beta/compute.disks.testIamPermissions/resource": resource +"/compute:beta/compute.disks.testIamPermissions/zone": zone +"/compute:beta/compute.firewalls.delete": delete_firewall +"/compute:beta/compute.firewalls.delete/firewall": firewall +"/compute:beta/compute.firewalls.delete/project": project +"/compute:beta/compute.firewalls.delete/requestId": request_id +"/compute:beta/compute.firewalls.get": get_firewall +"/compute:beta/compute.firewalls.get/firewall": firewall +"/compute:beta/compute.firewalls.get/project": project +"/compute:beta/compute.firewalls.insert": insert_firewall +"/compute:beta/compute.firewalls.insert/project": project +"/compute:beta/compute.firewalls.insert/requestId": request_id +"/compute:beta/compute.firewalls.list": list_firewalls +"/compute:beta/compute.firewalls.list/filter": filter +"/compute:beta/compute.firewalls.list/maxResults": max_results +"/compute:beta/compute.firewalls.list/orderBy": order_by +"/compute:beta/compute.firewalls.list/pageToken": page_token +"/compute:beta/compute.firewalls.list/project": project +"/compute:beta/compute.firewalls.patch": patch_firewall +"/compute:beta/compute.firewalls.patch/firewall": firewall +"/compute:beta/compute.firewalls.patch/project": project +"/compute:beta/compute.firewalls.patch/requestId": request_id +"/compute:beta/compute.firewalls.testIamPermissions": test_firewall_iam_permissions +"/compute:beta/compute.firewalls.testIamPermissions/project": project +"/compute:beta/compute.firewalls.testIamPermissions/resource": resource +"/compute:beta/compute.firewalls.update": update_firewall +"/compute:beta/compute.firewalls.update/firewall": firewall +"/compute:beta/compute.firewalls.update/project": project +"/compute:beta/compute.firewalls.update/requestId": request_id +"/compute:beta/compute.forwardingRules.aggregatedList": list_aggregated_forwarding_rules +"/compute:beta/compute.forwardingRules.aggregatedList/filter": filter +"/compute:beta/compute.forwardingRules.aggregatedList/maxResults": max_results +"/compute:beta/compute.forwardingRules.aggregatedList/orderBy": order_by +"/compute:beta/compute.forwardingRules.aggregatedList/pageToken": page_token +"/compute:beta/compute.forwardingRules.aggregatedList/project": project +"/compute:beta/compute.forwardingRules.delete": delete_forwarding_rule +"/compute:beta/compute.forwardingRules.delete/forwardingRule": forwarding_rule +"/compute:beta/compute.forwardingRules.delete/project": project +"/compute:beta/compute.forwardingRules.delete/region": region +"/compute:beta/compute.forwardingRules.delete/requestId": request_id +"/compute:beta/compute.forwardingRules.get": get_forwarding_rule +"/compute:beta/compute.forwardingRules.get/forwardingRule": forwarding_rule +"/compute:beta/compute.forwardingRules.get/project": project +"/compute:beta/compute.forwardingRules.get/region": region +"/compute:beta/compute.forwardingRules.insert": insert_forwarding_rule +"/compute:beta/compute.forwardingRules.insert/project": project +"/compute:beta/compute.forwardingRules.insert/region": region +"/compute:beta/compute.forwardingRules.insert/requestId": request_id +"/compute:beta/compute.forwardingRules.list": list_forwarding_rules +"/compute:beta/compute.forwardingRules.list/filter": filter +"/compute:beta/compute.forwardingRules.list/maxResults": max_results +"/compute:beta/compute.forwardingRules.list/orderBy": order_by +"/compute:beta/compute.forwardingRules.list/pageToken": page_token +"/compute:beta/compute.forwardingRules.list/project": project +"/compute:beta/compute.forwardingRules.list/region": region +"/compute:beta/compute.forwardingRules.setLabels": set_forwarding_rule_labels +"/compute:beta/compute.forwardingRules.setLabels/project": project +"/compute:beta/compute.forwardingRules.setLabels/region": region +"/compute:beta/compute.forwardingRules.setLabels/requestId": request_id +"/compute:beta/compute.forwardingRules.setLabels/resource": resource +"/compute:beta/compute.forwardingRules.setTarget": set_forwarding_rule_target +"/compute:beta/compute.forwardingRules.setTarget/forwardingRule": forwarding_rule +"/compute:beta/compute.forwardingRules.setTarget/project": project +"/compute:beta/compute.forwardingRules.setTarget/region": region +"/compute:beta/compute.forwardingRules.setTarget/requestId": request_id +"/compute:beta/compute.forwardingRules.testIamPermissions": test_forwarding_rule_iam_permissions +"/compute:beta/compute.forwardingRules.testIamPermissions/project": project +"/compute:beta/compute.forwardingRules.testIamPermissions/region": region +"/compute:beta/compute.forwardingRules.testIamPermissions/resource": resource +"/compute:beta/compute.globalAddresses.delete": delete_global_address +"/compute:beta/compute.globalAddresses.delete/address": address +"/compute:beta/compute.globalAddresses.delete/project": project +"/compute:beta/compute.globalAddresses.delete/requestId": request_id +"/compute:beta/compute.globalAddresses.get": get_global_address +"/compute:beta/compute.globalAddresses.get/address": address +"/compute:beta/compute.globalAddresses.get/project": project +"/compute:beta/compute.globalAddresses.insert": insert_global_address +"/compute:beta/compute.globalAddresses.insert/project": project +"/compute:beta/compute.globalAddresses.insert/requestId": request_id +"/compute:beta/compute.globalAddresses.list": list_global_addresses +"/compute:beta/compute.globalAddresses.list/filter": filter +"/compute:beta/compute.globalAddresses.list/maxResults": max_results +"/compute:beta/compute.globalAddresses.list/orderBy": order_by +"/compute:beta/compute.globalAddresses.list/pageToken": page_token +"/compute:beta/compute.globalAddresses.list/project": project +"/compute:beta/compute.globalAddresses.setLabels": set_global_address_labels +"/compute:beta/compute.globalAddresses.setLabels/project": project +"/compute:beta/compute.globalAddresses.setLabels/resource": resource +"/compute:beta/compute.globalAddresses.testIamPermissions": test_global_address_iam_permissions +"/compute:beta/compute.globalAddresses.testIamPermissions/project": project +"/compute:beta/compute.globalAddresses.testIamPermissions/resource": resource +"/compute:beta/compute.globalForwardingRules.delete": delete_global_forwarding_rule +"/compute:beta/compute.globalForwardingRules.delete/forwardingRule": forwarding_rule +"/compute:beta/compute.globalForwardingRules.delete/project": project +"/compute:beta/compute.globalForwardingRules.delete/requestId": request_id +"/compute:beta/compute.globalForwardingRules.get": get_global_forwarding_rule +"/compute:beta/compute.globalForwardingRules.get/forwardingRule": forwarding_rule +"/compute:beta/compute.globalForwardingRules.get/project": project +"/compute:beta/compute.globalForwardingRules.insert": insert_global_forwarding_rule +"/compute:beta/compute.globalForwardingRules.insert/project": project +"/compute:beta/compute.globalForwardingRules.insert/requestId": request_id +"/compute:beta/compute.globalForwardingRules.list": list_global_forwarding_rules +"/compute:beta/compute.globalForwardingRules.list/filter": filter +"/compute:beta/compute.globalForwardingRules.list/maxResults": max_results +"/compute:beta/compute.globalForwardingRules.list/orderBy": order_by +"/compute:beta/compute.globalForwardingRules.list/pageToken": page_token +"/compute:beta/compute.globalForwardingRules.list/project": project +"/compute:beta/compute.globalForwardingRules.setLabels": set_global_forwarding_rule_labels +"/compute:beta/compute.globalForwardingRules.setLabels/project": project +"/compute:beta/compute.globalForwardingRules.setLabels/resource": resource +"/compute:beta/compute.globalForwardingRules.setTarget": set_global_forwarding_rule_target +"/compute:beta/compute.globalForwardingRules.setTarget/forwardingRule": forwarding_rule +"/compute:beta/compute.globalForwardingRules.setTarget/project": project +"/compute:beta/compute.globalForwardingRules.setTarget/requestId": request_id +"/compute:beta/compute.globalForwardingRules.testIamPermissions": test_global_forwarding_rule_iam_permissions +"/compute:beta/compute.globalForwardingRules.testIamPermissions/project": project +"/compute:beta/compute.globalForwardingRules.testIamPermissions/resource": resource +"/compute:beta/compute.globalOperations.aggregatedList": list_aggregated_global_operation +"/compute:beta/compute.globalOperations.aggregatedList/filter": filter +"/compute:beta/compute.globalOperations.aggregatedList/maxResults": max_results +"/compute:beta/compute.globalOperations.aggregatedList/orderBy": order_by +"/compute:beta/compute.globalOperations.aggregatedList/pageToken": page_token +"/compute:beta/compute.globalOperations.aggregatedList/project": project +"/compute:beta/compute.globalOperations.delete": delete_global_operation +"/compute:beta/compute.globalOperations.delete/operation": operation +"/compute:beta/compute.globalOperations.delete/project": project +"/compute:beta/compute.globalOperations.get": get_global_operation +"/compute:beta/compute.globalOperations.get/operation": operation +"/compute:beta/compute.globalOperations.get/project": project +"/compute:beta/compute.globalOperations.list": list_global_operations +"/compute:beta/compute.globalOperations.list/filter": filter +"/compute:beta/compute.globalOperations.list/maxResults": max_results +"/compute:beta/compute.globalOperations.list/orderBy": order_by +"/compute:beta/compute.globalOperations.list/pageToken": page_token +"/compute:beta/compute.globalOperations.list/project": project +"/compute:beta/compute.healthChecks.delete": delete_health_check +"/compute:beta/compute.healthChecks.delete/healthCheck": health_check +"/compute:beta/compute.healthChecks.delete/project": project +"/compute:beta/compute.healthChecks.delete/requestId": request_id +"/compute:beta/compute.healthChecks.get": get_health_check +"/compute:beta/compute.healthChecks.get/healthCheck": health_check +"/compute:beta/compute.healthChecks.get/project": project +"/compute:beta/compute.healthChecks.insert": insert_health_check +"/compute:beta/compute.healthChecks.insert/project": project +"/compute:beta/compute.healthChecks.insert/requestId": request_id +"/compute:beta/compute.healthChecks.list": list_health_checks +"/compute:beta/compute.healthChecks.list/filter": filter +"/compute:beta/compute.healthChecks.list/maxResults": max_results +"/compute:beta/compute.healthChecks.list/orderBy": order_by +"/compute:beta/compute.healthChecks.list/pageToken": page_token +"/compute:beta/compute.healthChecks.list/project": project +"/compute:beta/compute.healthChecks.patch": patch_health_check +"/compute:beta/compute.healthChecks.patch/healthCheck": health_check +"/compute:beta/compute.healthChecks.patch/project": project +"/compute:beta/compute.healthChecks.patch/requestId": request_id +"/compute:beta/compute.healthChecks.testIamPermissions": test_health_check_iam_permissions +"/compute:beta/compute.healthChecks.testIamPermissions/project": project +"/compute:beta/compute.healthChecks.testIamPermissions/resource": resource +"/compute:beta/compute.healthChecks.update": update_health_check +"/compute:beta/compute.healthChecks.update/healthCheck": health_check +"/compute:beta/compute.healthChecks.update/project": project +"/compute:beta/compute.healthChecks.update/requestId": request_id +"/compute:beta/compute.httpHealthChecks.delete": delete_http_health_check +"/compute:beta/compute.httpHealthChecks.delete/httpHealthCheck": http_health_check +"/compute:beta/compute.httpHealthChecks.delete/project": project +"/compute:beta/compute.httpHealthChecks.delete/requestId": request_id +"/compute:beta/compute.httpHealthChecks.get": get_http_health_check +"/compute:beta/compute.httpHealthChecks.get/httpHealthCheck": http_health_check +"/compute:beta/compute.httpHealthChecks.get/project": project +"/compute:beta/compute.httpHealthChecks.insert": insert_http_health_check +"/compute:beta/compute.httpHealthChecks.insert/project": project +"/compute:beta/compute.httpHealthChecks.insert/requestId": request_id +"/compute:beta/compute.httpHealthChecks.list": list_http_health_checks +"/compute:beta/compute.httpHealthChecks.list/filter": filter +"/compute:beta/compute.httpHealthChecks.list/maxResults": max_results +"/compute:beta/compute.httpHealthChecks.list/orderBy": order_by +"/compute:beta/compute.httpHealthChecks.list/pageToken": page_token +"/compute:beta/compute.httpHealthChecks.list/project": project +"/compute:beta/compute.httpHealthChecks.patch": patch_http_health_check +"/compute:beta/compute.httpHealthChecks.patch/httpHealthCheck": http_health_check +"/compute:beta/compute.httpHealthChecks.patch/project": project +"/compute:beta/compute.httpHealthChecks.patch/requestId": request_id +"/compute:beta/compute.httpHealthChecks.testIamPermissions": test_http_health_check_iam_permissions +"/compute:beta/compute.httpHealthChecks.testIamPermissions/project": project +"/compute:beta/compute.httpHealthChecks.testIamPermissions/resource": resource +"/compute:beta/compute.httpHealthChecks.update": update_http_health_check +"/compute:beta/compute.httpHealthChecks.update/httpHealthCheck": http_health_check +"/compute:beta/compute.httpHealthChecks.update/project": project +"/compute:beta/compute.httpHealthChecks.update/requestId": request_id +"/compute:beta/compute.httpsHealthChecks.delete": delete_https_health_check +"/compute:beta/compute.httpsHealthChecks.delete/httpsHealthCheck": https_health_check +"/compute:beta/compute.httpsHealthChecks.delete/project": project +"/compute:beta/compute.httpsHealthChecks.delete/requestId": request_id +"/compute:beta/compute.httpsHealthChecks.get": get_https_health_check +"/compute:beta/compute.httpsHealthChecks.get/httpsHealthCheck": https_health_check +"/compute:beta/compute.httpsHealthChecks.get/project": project +"/compute:beta/compute.httpsHealthChecks.insert": insert_https_health_check +"/compute:beta/compute.httpsHealthChecks.insert/project": project +"/compute:beta/compute.httpsHealthChecks.insert/requestId": request_id +"/compute:beta/compute.httpsHealthChecks.list": list_https_health_checks +"/compute:beta/compute.httpsHealthChecks.list/filter": filter +"/compute:beta/compute.httpsHealthChecks.list/maxResults": max_results +"/compute:beta/compute.httpsHealthChecks.list/orderBy": order_by +"/compute:beta/compute.httpsHealthChecks.list/pageToken": page_token +"/compute:beta/compute.httpsHealthChecks.list/project": project +"/compute:beta/compute.httpsHealthChecks.patch": patch_https_health_check +"/compute:beta/compute.httpsHealthChecks.patch/httpsHealthCheck": https_health_check +"/compute:beta/compute.httpsHealthChecks.patch/project": project +"/compute:beta/compute.httpsHealthChecks.patch/requestId": request_id +"/compute:beta/compute.httpsHealthChecks.testIamPermissions": test_https_health_check_iam_permissions +"/compute:beta/compute.httpsHealthChecks.testIamPermissions/project": project +"/compute:beta/compute.httpsHealthChecks.testIamPermissions/resource": resource +"/compute:beta/compute.httpsHealthChecks.update": update_https_health_check +"/compute:beta/compute.httpsHealthChecks.update/httpsHealthCheck": https_health_check +"/compute:beta/compute.httpsHealthChecks.update/project": project +"/compute:beta/compute.httpsHealthChecks.update/requestId": request_id +"/compute:beta/compute.images.delete": delete_image +"/compute:beta/compute.images.delete/image": image +"/compute:beta/compute.images.delete/project": project +"/compute:beta/compute.images.delete/requestId": request_id +"/compute:beta/compute.images.deprecate": deprecate_image +"/compute:beta/compute.images.deprecate/image": image +"/compute:beta/compute.images.deprecate/project": project +"/compute:beta/compute.images.deprecate/requestId": request_id +"/compute:beta/compute.images.get": get_image +"/compute:beta/compute.images.get/image": image +"/compute:beta/compute.images.get/project": project +"/compute:beta/compute.images.getFromFamily": get_image_from_family +"/compute:beta/compute.images.getFromFamily/family": family +"/compute:beta/compute.images.getFromFamily/project": project +"/compute:beta/compute.images.insert": insert_image +"/compute:beta/compute.images.insert/forceCreate": force_create +"/compute:beta/compute.images.insert/project": project +"/compute:beta/compute.images.insert/requestId": request_id +"/compute:beta/compute.images.list": list_images +"/compute:beta/compute.images.list/filter": filter +"/compute:beta/compute.images.list/maxResults": max_results +"/compute:beta/compute.images.list/orderBy": order_by +"/compute:beta/compute.images.list/pageToken": page_token +"/compute:beta/compute.images.list/project": project +"/compute:beta/compute.images.setLabels": set_image_labels +"/compute:beta/compute.images.setLabels/project": project +"/compute:beta/compute.images.setLabels/resource": resource +"/compute:beta/compute.images.testIamPermissions": test_image_iam_permissions +"/compute:beta/compute.images.testIamPermissions/project": project +"/compute:beta/compute.images.testIamPermissions/resource": resource +"/compute:beta/compute.instanceGroupManagers.abandonInstances": abandon_instance_group_manager_instances +"/compute:beta/compute.instanceGroupManagers.abandonInstances/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.abandonInstances/project": project +"/compute:beta/compute.instanceGroupManagers.abandonInstances/requestId": request_id +"/compute:beta/compute.instanceGroupManagers.abandonInstances/zone": zone +"/compute:beta/compute.instanceGroupManagers.aggregatedList": list_aggregated_instance_group_managers +"/compute:beta/compute.instanceGroupManagers.aggregatedList/filter": filter +"/compute:beta/compute.instanceGroupManagers.aggregatedList/maxResults": max_results +"/compute:beta/compute.instanceGroupManagers.aggregatedList/orderBy": order_by +"/compute:beta/compute.instanceGroupManagers.aggregatedList/pageToken": page_token +"/compute:beta/compute.instanceGroupManagers.aggregatedList/project": project +"/compute:beta/compute.instanceGroupManagers.delete": delete_instance_group_manager +"/compute:beta/compute.instanceGroupManagers.delete/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.delete/project": project +"/compute:beta/compute.instanceGroupManagers.delete/requestId": request_id +"/compute:beta/compute.instanceGroupManagers.delete/zone": zone +"/compute:beta/compute.instanceGroupManagers.deleteInstances": delete_instance_group_manager_instances +"/compute:beta/compute.instanceGroupManagers.deleteInstances/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.deleteInstances/project": project +"/compute:beta/compute.instanceGroupManagers.deleteInstances/requestId": request_id +"/compute:beta/compute.instanceGroupManagers.deleteInstances/zone": zone +"/compute:beta/compute.instanceGroupManagers.get": get_instance_group_manager +"/compute:beta/compute.instanceGroupManagers.get/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.get/project": project +"/compute:beta/compute.instanceGroupManagers.get/zone": zone +"/compute:beta/compute.instanceGroupManagers.insert": insert_instance_group_manager +"/compute:beta/compute.instanceGroupManagers.insert/project": project +"/compute:beta/compute.instanceGroupManagers.insert/requestId": request_id +"/compute:beta/compute.instanceGroupManagers.insert/zone": zone +"/compute:beta/compute.instanceGroupManagers.list": list_instance_group_managers +"/compute:beta/compute.instanceGroupManagers.list/filter": filter +"/compute:beta/compute.instanceGroupManagers.list/maxResults": max_results +"/compute:beta/compute.instanceGroupManagers.list/orderBy": order_by +"/compute:beta/compute.instanceGroupManagers.list/pageToken": page_token +"/compute:beta/compute.instanceGroupManagers.list/project": project +"/compute:beta/compute.instanceGroupManagers.list/zone": zone +"/compute:beta/compute.instanceGroupManagers.listManagedInstances": list_instance_group_manager_managed_instances +"/compute:beta/compute.instanceGroupManagers.listManagedInstances/filter": filter +"/compute:beta/compute.instanceGroupManagers.listManagedInstances/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.listManagedInstances/maxResults": max_results +"/compute:beta/compute.instanceGroupManagers.listManagedInstances/order_by": order_by +"/compute:beta/compute.instanceGroupManagers.listManagedInstances/pageToken": page_token +"/compute:beta/compute.instanceGroupManagers.listManagedInstances/project": project +"/compute:beta/compute.instanceGroupManagers.listManagedInstances/zone": zone +"/compute:beta/compute.instanceGroupManagers.patch": patch_instance_group_manager +"/compute:beta/compute.instanceGroupManagers.patch/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.patch/project": project +"/compute:beta/compute.instanceGroupManagers.patch/requestId": request_id +"/compute:beta/compute.instanceGroupManagers.patch/zone": zone +"/compute:beta/compute.instanceGroupManagers.recreateInstances": recreate_instance_group_manager_instances +"/compute:beta/compute.instanceGroupManagers.recreateInstances/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.recreateInstances/project": project +"/compute:beta/compute.instanceGroupManagers.recreateInstances/requestId": request_id +"/compute:beta/compute.instanceGroupManagers.recreateInstances/zone": zone +"/compute:beta/compute.instanceGroupManagers.resize": resize_instance_group_manager +"/compute:beta/compute.instanceGroupManagers.resize/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.resize/project": project +"/compute:beta/compute.instanceGroupManagers.resize/requestId": request_id +"/compute:beta/compute.instanceGroupManagers.resize/size": size +"/compute:beta/compute.instanceGroupManagers.resize/zone": zone +"/compute:beta/compute.instanceGroupManagers.resizeAdvanced": resize_instance_group_manager_advanced +"/compute:beta/compute.instanceGroupManagers.resizeAdvanced/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.resizeAdvanced/project": project +"/compute:beta/compute.instanceGroupManagers.resizeAdvanced/requestId": request_id +"/compute:beta/compute.instanceGroupManagers.resizeAdvanced/zone": zone +"/compute:beta/compute.instanceGroupManagers.setAutoHealingPolicies": set_instance_group_manager_auto_healing_policies +"/compute:beta/compute.instanceGroupManagers.setAutoHealingPolicies/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.setAutoHealingPolicies/project": project +"/compute:beta/compute.instanceGroupManagers.setAutoHealingPolicies/requestId": request_id +"/compute:beta/compute.instanceGroupManagers.setAutoHealingPolicies/zone": zone +"/compute:beta/compute.instanceGroupManagers.setInstanceTemplate": set_instance_group_manager_instance_template +"/compute:beta/compute.instanceGroupManagers.setInstanceTemplate/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.setInstanceTemplate/project": project +"/compute:beta/compute.instanceGroupManagers.setInstanceTemplate/requestId": request_id +"/compute:beta/compute.instanceGroupManagers.setInstanceTemplate/zone": zone +"/compute:beta/compute.instanceGroupManagers.setTargetPools": set_instance_group_manager_target_pools +"/compute:beta/compute.instanceGroupManagers.setTargetPools/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.setTargetPools/project": project +"/compute:beta/compute.instanceGroupManagers.setTargetPools/requestId": request_id +"/compute:beta/compute.instanceGroupManagers.setTargetPools/zone": zone +"/compute:beta/compute.instanceGroupManagers.testIamPermissions": test_instance_group_manager_iam_permissions +"/compute:beta/compute.instanceGroupManagers.testIamPermissions/project": project +"/compute:beta/compute.instanceGroupManagers.testIamPermissions/resource": resource +"/compute:beta/compute.instanceGroupManagers.testIamPermissions/zone": zone +"/compute:beta/compute.instanceGroupManagers.update": update_instance_group_manager +"/compute:beta/compute.instanceGroupManagers.update/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.update/project": project +"/compute:beta/compute.instanceGroupManagers.update/requestId": request_id +"/compute:beta/compute.instanceGroupManagers.update/zone": zone +"/compute:beta/compute.instanceGroups.addInstances": add_instance_group_instances +"/compute:beta/compute.instanceGroups.addInstances/instanceGroup": instance_group +"/compute:beta/compute.instanceGroups.addInstances/project": project +"/compute:beta/compute.instanceGroups.addInstances/requestId": request_id +"/compute:beta/compute.instanceGroups.addInstances/zone": zone +"/compute:beta/compute.instanceGroups.aggregatedList": list_aggregated_instance_groups +"/compute:beta/compute.instanceGroups.aggregatedList/filter": filter +"/compute:beta/compute.instanceGroups.aggregatedList/maxResults": max_results +"/compute:beta/compute.instanceGroups.aggregatedList/orderBy": order_by +"/compute:beta/compute.instanceGroups.aggregatedList/pageToken": page_token +"/compute:beta/compute.instanceGroups.aggregatedList/project": project +"/compute:beta/compute.instanceGroups.delete": delete_instance_group +"/compute:beta/compute.instanceGroups.delete/instanceGroup": instance_group +"/compute:beta/compute.instanceGroups.delete/project": project +"/compute:beta/compute.instanceGroups.delete/requestId": request_id +"/compute:beta/compute.instanceGroups.delete/zone": zone +"/compute:beta/compute.instanceGroups.get": get_instance_group +"/compute:beta/compute.instanceGroups.get/instanceGroup": instance_group +"/compute:beta/compute.instanceGroups.get/project": project +"/compute:beta/compute.instanceGroups.get/zone": zone +"/compute:beta/compute.instanceGroups.insert": insert_instance_group +"/compute:beta/compute.instanceGroups.insert/project": project +"/compute:beta/compute.instanceGroups.insert/requestId": request_id +"/compute:beta/compute.instanceGroups.insert/zone": zone +"/compute:beta/compute.instanceGroups.list": list_instance_groups +"/compute:beta/compute.instanceGroups.list/filter": filter +"/compute:beta/compute.instanceGroups.list/maxResults": max_results +"/compute:beta/compute.instanceGroups.list/orderBy": order_by +"/compute:beta/compute.instanceGroups.list/pageToken": page_token +"/compute:beta/compute.instanceGroups.list/project": project +"/compute:beta/compute.instanceGroups.list/zone": zone +"/compute:beta/compute.instanceGroups.listInstances": list_instance_group_instances +"/compute:beta/compute.instanceGroups.listInstances/filter": filter +"/compute:beta/compute.instanceGroups.listInstances/instanceGroup": instance_group +"/compute:beta/compute.instanceGroups.listInstances/maxResults": max_results +"/compute:beta/compute.instanceGroups.listInstances/orderBy": order_by +"/compute:beta/compute.instanceGroups.listInstances/pageToken": page_token +"/compute:beta/compute.instanceGroups.listInstances/project": project +"/compute:beta/compute.instanceGroups.listInstances/zone": zone +"/compute:beta/compute.instanceGroups.removeInstances": remove_instance_group_instances +"/compute:beta/compute.instanceGroups.removeInstances/instanceGroup": instance_group +"/compute:beta/compute.instanceGroups.removeInstances/project": project +"/compute:beta/compute.instanceGroups.removeInstances/requestId": request_id +"/compute:beta/compute.instanceGroups.removeInstances/zone": zone +"/compute:beta/compute.instanceGroups.setNamedPorts": set_instance_group_named_ports +"/compute:beta/compute.instanceGroups.setNamedPorts/instanceGroup": instance_group +"/compute:beta/compute.instanceGroups.setNamedPorts/project": project +"/compute:beta/compute.instanceGroups.setNamedPorts/requestId": request_id +"/compute:beta/compute.instanceGroups.setNamedPorts/zone": zone +"/compute:beta/compute.instanceGroups.testIamPermissions": test_instance_group_iam_permissions +"/compute:beta/compute.instanceGroups.testIamPermissions/project": project +"/compute:beta/compute.instanceGroups.testIamPermissions/resource": resource +"/compute:beta/compute.instanceGroups.testIamPermissions/zone": zone +"/compute:beta/compute.instanceTemplates.delete": delete_instance_template +"/compute:beta/compute.instanceTemplates.delete/instanceTemplate": instance_template +"/compute:beta/compute.instanceTemplates.delete/project": project +"/compute:beta/compute.instanceTemplates.delete/requestId": request_id +"/compute:beta/compute.instanceTemplates.get": get_instance_template +"/compute:beta/compute.instanceTemplates.get/instanceTemplate": instance_template +"/compute:beta/compute.instanceTemplates.get/project": project +"/compute:beta/compute.instanceTemplates.insert": insert_instance_template +"/compute:beta/compute.instanceTemplates.insert/project": project +"/compute:beta/compute.instanceTemplates.insert/requestId": request_id +"/compute:beta/compute.instanceTemplates.list": list_instance_templates +"/compute:beta/compute.instanceTemplates.list/filter": filter +"/compute:beta/compute.instanceTemplates.list/maxResults": max_results +"/compute:beta/compute.instanceTemplates.list/orderBy": order_by +"/compute:beta/compute.instanceTemplates.list/pageToken": page_token +"/compute:beta/compute.instanceTemplates.list/project": project +"/compute:beta/compute.instanceTemplates.testIamPermissions": test_instance_template_iam_permissions +"/compute:beta/compute.instanceTemplates.testIamPermissions/project": project +"/compute:beta/compute.instanceTemplates.testIamPermissions/resource": resource +"/compute:beta/compute.instances.addAccessConfig": add_instance_access_config +"/compute:beta/compute.instances.addAccessConfig/instance": instance +"/compute:beta/compute.instances.addAccessConfig/networkInterface": network_interface +"/compute:beta/compute.instances.addAccessConfig/project": project +"/compute:beta/compute.instances.addAccessConfig/requestId": request_id +"/compute:beta/compute.instances.addAccessConfig/zone": zone +"/compute:beta/compute.instances.aggregatedList": list_aggregated_instances +"/compute:beta/compute.instances.aggregatedList/filter": filter +"/compute:beta/compute.instances.aggregatedList/maxResults": max_results +"/compute:beta/compute.instances.aggregatedList/orderBy": order_by +"/compute:beta/compute.instances.aggregatedList/pageToken": page_token +"/compute:beta/compute.instances.aggregatedList/project": project +"/compute:beta/compute.instances.attachDisk": attach_disk +"/compute:beta/compute.instances.attachDisk/instance": instance +"/compute:beta/compute.instances.attachDisk/project": project +"/compute:beta/compute.instances.attachDisk/requestId": request_id +"/compute:beta/compute.instances.attachDisk/zone": zone +"/compute:beta/compute.instances.delete": delete_instance +"/compute:beta/compute.instances.delete/instance": instance +"/compute:beta/compute.instances.delete/project": project +"/compute:beta/compute.instances.delete/requestId": request_id +"/compute:beta/compute.instances.delete/zone": zone +"/compute:beta/compute.instances.deleteAccessConfig": delete_instance_access_config +"/compute:beta/compute.instances.deleteAccessConfig/accessConfig": access_config +"/compute:beta/compute.instances.deleteAccessConfig/instance": instance +"/compute:beta/compute.instances.deleteAccessConfig/networkInterface": network_interface +"/compute:beta/compute.instances.deleteAccessConfig/project": project +"/compute:beta/compute.instances.deleteAccessConfig/requestId": request_id +"/compute:beta/compute.instances.deleteAccessConfig/zone": zone +"/compute:beta/compute.instances.detachDisk": detach_disk +"/compute:beta/compute.instances.detachDisk/deviceName": device_name +"/compute:beta/compute.instances.detachDisk/instance": instance +"/compute:beta/compute.instances.detachDisk/project": project +"/compute:beta/compute.instances.detachDisk/requestId": request_id +"/compute:beta/compute.instances.detachDisk/zone": zone +"/compute:beta/compute.instances.get": get_instance +"/compute:beta/compute.instances.get/instance": instance +"/compute:beta/compute.instances.get/project": project +"/compute:beta/compute.instances.get/zone": zone +"/compute:beta/compute.instances.getSerialPortOutput": get_instance_serial_port_output +"/compute:beta/compute.instances.getSerialPortOutput/instance": instance +"/compute:beta/compute.instances.getSerialPortOutput/port": port +"/compute:beta/compute.instances.getSerialPortOutput/project": project +"/compute:beta/compute.instances.getSerialPortOutput/start": start +"/compute:beta/compute.instances.getSerialPortOutput/zone": zone +"/compute:beta/compute.instances.insert": insert_instance +"/compute:beta/compute.instances.insert/project": project +"/compute:beta/compute.instances.insert/requestId": request_id +"/compute:beta/compute.instances.insert/zone": zone +"/compute:beta/compute.instances.list": list_instances +"/compute:beta/compute.instances.list/filter": filter +"/compute:beta/compute.instances.list/maxResults": max_results +"/compute:beta/compute.instances.list/orderBy": order_by +"/compute:beta/compute.instances.list/pageToken": page_token +"/compute:beta/compute.instances.list/project": project +"/compute:beta/compute.instances.list/zone": zone +"/compute:beta/compute.instances.listReferrers": list_instance_referrers +"/compute:beta/compute.instances.listReferrers/filter": filter +"/compute:beta/compute.instances.listReferrers/instance": instance +"/compute:beta/compute.instances.listReferrers/maxResults": max_results +"/compute:beta/compute.instances.listReferrers/orderBy": order_by +"/compute:beta/compute.instances.listReferrers/pageToken": page_token +"/compute:beta/compute.instances.listReferrers/project": project +"/compute:beta/compute.instances.listReferrers/zone": zone +"/compute:beta/compute.instances.reset": reset_instance +"/compute:beta/compute.instances.reset/instance": instance +"/compute:beta/compute.instances.reset/project": project +"/compute:beta/compute.instances.reset/requestId": request_id +"/compute:beta/compute.instances.reset/zone": zone +"/compute:beta/compute.instances.setDiskAutoDelete": set_disk_auto_delete +"/compute:beta/compute.instances.setDiskAutoDelete/autoDelete": auto_delete +"/compute:beta/compute.instances.setDiskAutoDelete/deviceName": device_name +"/compute:beta/compute.instances.setDiskAutoDelete/instance": instance +"/compute:beta/compute.instances.setDiskAutoDelete/project": project +"/compute:beta/compute.instances.setDiskAutoDelete/requestId": request_id +"/compute:beta/compute.instances.setDiskAutoDelete/zone": zone +"/compute:beta/compute.instances.setLabels": set_instance_labels +"/compute:beta/compute.instances.setLabels/instance": instance +"/compute:beta/compute.instances.setLabels/project": project +"/compute:beta/compute.instances.setLabels/requestId": request_id +"/compute:beta/compute.instances.setLabels/zone": zone +"/compute:beta/compute.instances.setMachineResources": set_instance_machine_resources +"/compute:beta/compute.instances.setMachineResources/instance": instance +"/compute:beta/compute.instances.setMachineResources/project": project +"/compute:beta/compute.instances.setMachineResources/requestId": request_id +"/compute:beta/compute.instances.setMachineResources/zone": zone +"/compute:beta/compute.instances.setMachineType": set_instance_machine_type +"/compute:beta/compute.instances.setMachineType/instance": instance +"/compute:beta/compute.instances.setMachineType/project": project +"/compute:beta/compute.instances.setMachineType/requestId": request_id +"/compute:beta/compute.instances.setMachineType/zone": zone +"/compute:beta/compute.instances.setMetadata": set_instance_metadata +"/compute:beta/compute.instances.setMetadata/instance": instance +"/compute:beta/compute.instances.setMetadata/project": project +"/compute:beta/compute.instances.setMetadata/requestId": request_id +"/compute:beta/compute.instances.setMetadata/zone": zone +"/compute:beta/compute.instances.setMinCpuPlatform": set_instance_min_cpu_platform +"/compute:beta/compute.instances.setMinCpuPlatform/instance": instance +"/compute:beta/compute.instances.setMinCpuPlatform/project": project +"/compute:beta/compute.instances.setMinCpuPlatform/requestId": request_id +"/compute:beta/compute.instances.setMinCpuPlatform/zone": zone +"/compute:beta/compute.instances.setScheduling": set_instance_scheduling +"/compute:beta/compute.instances.setScheduling/instance": instance +"/compute:beta/compute.instances.setScheduling/project": project +"/compute:beta/compute.instances.setScheduling/requestId": request_id +"/compute:beta/compute.instances.setScheduling/zone": zone +"/compute:beta/compute.instances.setServiceAccount": set_instance_service_account +"/compute:beta/compute.instances.setServiceAccount/instance": instance +"/compute:beta/compute.instances.setServiceAccount/project": project +"/compute:beta/compute.instances.setServiceAccount/requestId": request_id +"/compute:beta/compute.instances.setServiceAccount/zone": zone +"/compute:beta/compute.instances.setTags": set_instance_tags +"/compute:beta/compute.instances.setTags/instance": instance +"/compute:beta/compute.instances.setTags/project": project +"/compute:beta/compute.instances.setTags/requestId": request_id +"/compute:beta/compute.instances.setTags/zone": zone +"/compute:beta/compute.instances.start": start_instance +"/compute:beta/compute.instances.start/instance": instance +"/compute:beta/compute.instances.start/project": project +"/compute:beta/compute.instances.start/requestId": request_id +"/compute:beta/compute.instances.start/zone": zone +"/compute:beta/compute.instances.startWithEncryptionKey": start_instance_with_encryption_key +"/compute:beta/compute.instances.startWithEncryptionKey/instance": instance +"/compute:beta/compute.instances.startWithEncryptionKey/project": project +"/compute:beta/compute.instances.startWithEncryptionKey/requestId": request_id +"/compute:beta/compute.instances.startWithEncryptionKey/zone": zone +"/compute:beta/compute.instances.stop": stop_instance +"/compute:beta/compute.instances.stop/instance": instance +"/compute:beta/compute.instances.stop/project": project +"/compute:beta/compute.instances.stop/requestId": request_id +"/compute:beta/compute.instances.stop/zone": zone +"/compute:beta/compute.instances.testIamPermissions": test_instance_iam_permissions +"/compute:beta/compute.instances.testIamPermissions/project": project +"/compute:beta/compute.instances.testIamPermissions/resource": resource +"/compute:beta/compute.instances.testIamPermissions/zone": zone +"/compute:beta/compute.interconnectAttachments.aggregatedList": aggregated_interconnect_attachment_list +"/compute:beta/compute.interconnectAttachments.aggregatedList/filter": filter +"/compute:beta/compute.interconnectAttachments.aggregatedList/maxResults": max_results +"/compute:beta/compute.interconnectAttachments.aggregatedList/orderBy": order_by +"/compute:beta/compute.interconnectAttachments.aggregatedList/pageToken": page_token +"/compute:beta/compute.interconnectAttachments.aggregatedList/project": project +"/compute:beta/compute.interconnectAttachments.delete": delete_interconnect_attachment +"/compute:beta/compute.interconnectAttachments.delete/interconnectAttachment": interconnect_attachment +"/compute:beta/compute.interconnectAttachments.delete/project": project +"/compute:beta/compute.interconnectAttachments.delete/region": region +"/compute:beta/compute.interconnectAttachments.delete/requestId": request_id +"/compute:beta/compute.interconnectAttachments.get": get_interconnect_attachment +"/compute:beta/compute.interconnectAttachments.get/interconnectAttachment": interconnect_attachment +"/compute:beta/compute.interconnectAttachments.get/project": project +"/compute:beta/compute.interconnectAttachments.get/region": region +"/compute:beta/compute.interconnectAttachments.insert": insert_interconnect_attachment +"/compute:beta/compute.interconnectAttachments.insert/project": project +"/compute:beta/compute.interconnectAttachments.insert/region": region +"/compute:beta/compute.interconnectAttachments.insert/requestId": request_id +"/compute:beta/compute.interconnectAttachments.list": list_interconnect_attachments +"/compute:beta/compute.interconnectAttachments.list/filter": filter +"/compute:beta/compute.interconnectAttachments.list/maxResults": max_results +"/compute:beta/compute.interconnectAttachments.list/orderBy": order_by +"/compute:beta/compute.interconnectAttachments.list/pageToken": page_token +"/compute:beta/compute.interconnectAttachments.list/project": project +"/compute:beta/compute.interconnectAttachments.list/region": region +"/compute:beta/compute.interconnectAttachments.testIamPermissions": test_interconnect_attachment_iam_permissions +"/compute:beta/compute.interconnectAttachments.testIamPermissions/project": project +"/compute:beta/compute.interconnectAttachments.testIamPermissions/region": region +"/compute:beta/compute.interconnectAttachments.testIamPermissions/resource": resource +"/compute:beta/compute.interconnectLocations.get": get_interconnect_location +"/compute:beta/compute.interconnectLocations.get/interconnectLocation": interconnect_location +"/compute:beta/compute.interconnectLocations.get/project": project +"/compute:beta/compute.interconnectLocations.list": list_interconnect_locations +"/compute:beta/compute.interconnectLocations.list/filter": filter +"/compute:beta/compute.interconnectLocations.list/maxResults": max_results +"/compute:beta/compute.interconnectLocations.list/orderBy": order_by +"/compute:beta/compute.interconnectLocations.list/pageToken": page_token +"/compute:beta/compute.interconnectLocations.list/project": project +"/compute:beta/compute.interconnects.delete": delete_interconnect +"/compute:beta/compute.interconnects.delete/interconnect": interconnect +"/compute:beta/compute.interconnects.delete/project": project +"/compute:beta/compute.interconnects.delete/requestId": request_id +"/compute:beta/compute.interconnects.get": get_interconnect +"/compute:beta/compute.interconnects.get/interconnect": interconnect +"/compute:beta/compute.interconnects.get/project": project +"/compute:beta/compute.interconnects.insert": insert_interconnect +"/compute:beta/compute.interconnects.insert/project": project +"/compute:beta/compute.interconnects.insert/requestId": request_id +"/compute:beta/compute.interconnects.list": list_interconnects +"/compute:beta/compute.interconnects.list/filter": filter +"/compute:beta/compute.interconnects.list/maxResults": max_results +"/compute:beta/compute.interconnects.list/orderBy": order_by +"/compute:beta/compute.interconnects.list/pageToken": page_token +"/compute:beta/compute.interconnects.list/project": project +"/compute:beta/compute.interconnects.patch": patch_interconnect +"/compute:beta/compute.interconnects.patch/interconnect": interconnect +"/compute:beta/compute.interconnects.patch/project": project +"/compute:beta/compute.interconnects.patch/requestId": request_id +"/compute:beta/compute.interconnects.testIamPermissions": test_interconnect_iam_permissions +"/compute:beta/compute.interconnects.testIamPermissions/project": project +"/compute:beta/compute.interconnects.testIamPermissions/resource": resource +"/compute:beta/compute.licenses.get": get_license +"/compute:beta/compute.licenses.get/license": license +"/compute:beta/compute.licenses.get/project": project +"/compute:beta/compute.machineTypes.aggregatedList": list_aggregated_machine_types +"/compute:beta/compute.machineTypes.aggregatedList/filter": filter +"/compute:beta/compute.machineTypes.aggregatedList/maxResults": max_results +"/compute:beta/compute.machineTypes.aggregatedList/orderBy": order_by +"/compute:beta/compute.machineTypes.aggregatedList/pageToken": page_token +"/compute:beta/compute.machineTypes.aggregatedList/project": project +"/compute:beta/compute.machineTypes.get": get_machine_type +"/compute:beta/compute.machineTypes.get/machineType": machine_type +"/compute:beta/compute.machineTypes.get/project": project +"/compute:beta/compute.machineTypes.get/zone": zone +"/compute:beta/compute.machineTypes.list": list_machine_types +"/compute:beta/compute.machineTypes.list/filter": filter +"/compute:beta/compute.machineTypes.list/maxResults": max_results +"/compute:beta/compute.machineTypes.list/orderBy": order_by +"/compute:beta/compute.machineTypes.list/pageToken": page_token +"/compute:beta/compute.machineTypes.list/project": project +"/compute:beta/compute.machineTypes.list/zone": zone +"/compute:beta/compute.networks.addPeering": add_network_peering +"/compute:beta/compute.networks.addPeering/network": network +"/compute:beta/compute.networks.addPeering/project": project +"/compute:beta/compute.networks.addPeering/requestId": request_id +"/compute:beta/compute.networks.delete": delete_network +"/compute:beta/compute.networks.delete/network": network +"/compute:beta/compute.networks.delete/project": project +"/compute:beta/compute.networks.delete/requestId": request_id +"/compute:beta/compute.networks.get": get_network +"/compute:beta/compute.networks.get/network": network +"/compute:beta/compute.networks.get/project": project +"/compute:beta/compute.networks.insert": insert_network +"/compute:beta/compute.networks.insert/project": project +"/compute:beta/compute.networks.insert/requestId": request_id +"/compute:beta/compute.networks.list": list_networks +"/compute:beta/compute.networks.list/filter": filter +"/compute:beta/compute.networks.list/maxResults": max_results +"/compute:beta/compute.networks.list/orderBy": order_by +"/compute:beta/compute.networks.list/pageToken": page_token +"/compute:beta/compute.networks.list/project": project +"/compute:beta/compute.networks.patch": patch_network +"/compute:beta/compute.networks.patch/network": network +"/compute:beta/compute.networks.patch/project": project +"/compute:beta/compute.networks.patch/requestId": request_id +"/compute:beta/compute.networks.removePeering": remove_network_peering +"/compute:beta/compute.networks.removePeering/network": network +"/compute:beta/compute.networks.removePeering/project": project +"/compute:beta/compute.networks.removePeering/requestId": request_id +"/compute:beta/compute.networks.switchToCustomMode": switch_network_to_custom_mode +"/compute:beta/compute.networks.switchToCustomMode/network": network +"/compute:beta/compute.networks.switchToCustomMode/project": project +"/compute:beta/compute.networks.switchToCustomMode/requestId": request_id +"/compute:beta/compute.networks.testIamPermissions": test_network_iam_permissions +"/compute:beta/compute.networks.testIamPermissions/project": project +"/compute:beta/compute.networks.testIamPermissions/resource": resource +"/compute:beta/compute.projects.disableXpnHost": disable_project_xpn_host +"/compute:beta/compute.projects.disableXpnHost/project": project +"/compute:beta/compute.projects.disableXpnHost/requestId": request_id +"/compute:beta/compute.projects.disableXpnResource": disable_project_xpn_resource +"/compute:beta/compute.projects.disableXpnResource/project": project +"/compute:beta/compute.projects.disableXpnResource/requestId": request_id +"/compute:beta/compute.projects.enableXpnHost": enable_project_xpn_host +"/compute:beta/compute.projects.enableXpnHost/project": project +"/compute:beta/compute.projects.enableXpnHost/requestId": request_id +"/compute:beta/compute.projects.enableXpnResource": enable_project_xpn_resource +"/compute:beta/compute.projects.enableXpnResource/project": project +"/compute:beta/compute.projects.enableXpnResource/requestId": request_id +"/compute:beta/compute.projects.get": get_project +"/compute:beta/compute.projects.get/project": project +"/compute:beta/compute.projects.getXpnHost": get_project_xpn_host +"/compute:beta/compute.projects.getXpnHost/project": project +"/compute:beta/compute.projects.getXpnResources": get_project_xpn_resources +"/compute:beta/compute.projects.getXpnResources/filter": filter +"/compute:beta/compute.projects.getXpnResources/maxResults": max_results +"/compute:beta/compute.projects.getXpnResources/order_by": order_by +"/compute:beta/compute.projects.getXpnResources/pageToken": page_token +"/compute:beta/compute.projects.getXpnResources/project": project +"/compute:beta/compute.projects.listXpnHosts": list_project_xpn_hosts +"/compute:beta/compute.projects.listXpnHosts/filter": filter +"/compute:beta/compute.projects.listXpnHosts/maxResults": max_results +"/compute:beta/compute.projects.listXpnHosts/order_by": order_by +"/compute:beta/compute.projects.listXpnHosts/pageToken": page_token +"/compute:beta/compute.projects.listXpnHosts/project": project +"/compute:beta/compute.projects.moveDisk": move_disk +"/compute:beta/compute.projects.moveDisk/project": project +"/compute:beta/compute.projects.moveDisk/requestId": request_id +"/compute:beta/compute.projects.moveInstance": move_instance +"/compute:beta/compute.projects.moveInstance/project": project +"/compute:beta/compute.projects.moveInstance/requestId": request_id +"/compute:beta/compute.projects.setCommonInstanceMetadata": set_common_instance_metadata +"/compute:beta/compute.projects.setCommonInstanceMetadata/project": project +"/compute:beta/compute.projects.setCommonInstanceMetadata/requestId": request_id +"/compute:beta/compute.projects.setUsageExportBucket": set_usage_export_bucket +"/compute:beta/compute.projects.setUsageExportBucket/project": project +"/compute:beta/compute.projects.setUsageExportBucket/requestId": request_id +"/compute:beta/compute.regionAutoscalers.delete": delete_region_autoscaler +"/compute:beta/compute.regionAutoscalers.delete/autoscaler": autoscaler +"/compute:beta/compute.regionAutoscalers.delete/project": project +"/compute:beta/compute.regionAutoscalers.delete/region": region +"/compute:beta/compute.regionAutoscalers.delete/requestId": request_id +"/compute:beta/compute.regionAutoscalers.get": get_region_autoscaler +"/compute:beta/compute.regionAutoscalers.get/autoscaler": autoscaler +"/compute:beta/compute.regionAutoscalers.get/project": project +"/compute:beta/compute.regionAutoscalers.get/region": region +"/compute:beta/compute.regionAutoscalers.insert": insert_region_autoscaler +"/compute:beta/compute.regionAutoscalers.insert/project": project +"/compute:beta/compute.regionAutoscalers.insert/region": region +"/compute:beta/compute.regionAutoscalers.insert/requestId": request_id +"/compute:beta/compute.regionAutoscalers.list": list_region_autoscalers +"/compute:beta/compute.regionAutoscalers.list/filter": filter +"/compute:beta/compute.regionAutoscalers.list/maxResults": max_results +"/compute:beta/compute.regionAutoscalers.list/orderBy": order_by +"/compute:beta/compute.regionAutoscalers.list/pageToken": page_token +"/compute:beta/compute.regionAutoscalers.list/project": project +"/compute:beta/compute.regionAutoscalers.list/region": region +"/compute:beta/compute.regionAutoscalers.patch": patch_region_autoscaler +"/compute:beta/compute.regionAutoscalers.patch/autoscaler": autoscaler +"/compute:beta/compute.regionAutoscalers.patch/project": project +"/compute:beta/compute.regionAutoscalers.patch/region": region +"/compute:beta/compute.regionAutoscalers.patch/requestId": request_id +"/compute:beta/compute.regionAutoscalers.testIamPermissions": test_region_autoscaler_iam_permissions +"/compute:beta/compute.regionAutoscalers.testIamPermissions/project": project +"/compute:beta/compute.regionAutoscalers.testIamPermissions/region": region +"/compute:beta/compute.regionAutoscalers.testIamPermissions/resource": resource +"/compute:beta/compute.regionAutoscalers.update": update_region_autoscaler +"/compute:beta/compute.regionAutoscalers.update/autoscaler": autoscaler +"/compute:beta/compute.regionAutoscalers.update/project": project +"/compute:beta/compute.regionAutoscalers.update/region": region +"/compute:beta/compute.regionAutoscalers.update/requestId": request_id +"/compute:beta/compute.regionBackendServices.delete": delete_region_backend_service +"/compute:beta/compute.regionBackendServices.delete/backendService": backend_service +"/compute:beta/compute.regionBackendServices.delete/project": project +"/compute:beta/compute.regionBackendServices.delete/region": region +"/compute:beta/compute.regionBackendServices.delete/requestId": request_id +"/compute:beta/compute.regionBackendServices.get": get_region_backend_service +"/compute:beta/compute.regionBackendServices.get/backendService": backend_service +"/compute:beta/compute.regionBackendServices.get/project": project +"/compute:beta/compute.regionBackendServices.get/region": region +"/compute:beta/compute.regionBackendServices.getHealth": get_region_backend_service_health +"/compute:beta/compute.regionBackendServices.getHealth/backendService": backend_service +"/compute:beta/compute.regionBackendServices.getHealth/project": project +"/compute:beta/compute.regionBackendServices.getHealth/region": region +"/compute:beta/compute.regionBackendServices.insert": insert_region_backend_service +"/compute:beta/compute.regionBackendServices.insert/project": project +"/compute:beta/compute.regionBackendServices.insert/region": region +"/compute:beta/compute.regionBackendServices.insert/requestId": request_id +"/compute:beta/compute.regionBackendServices.list": list_region_backend_services +"/compute:beta/compute.regionBackendServices.list/filter": filter +"/compute:beta/compute.regionBackendServices.list/maxResults": max_results +"/compute:beta/compute.regionBackendServices.list/orderBy": order_by +"/compute:beta/compute.regionBackendServices.list/pageToken": page_token +"/compute:beta/compute.regionBackendServices.list/project": project +"/compute:beta/compute.regionBackendServices.list/region": region +"/compute:beta/compute.regionBackendServices.patch": patch_region_backend_service +"/compute:beta/compute.regionBackendServices.patch/backendService": backend_service +"/compute:beta/compute.regionBackendServices.patch/project": project +"/compute:beta/compute.regionBackendServices.patch/region": region +"/compute:beta/compute.regionBackendServices.patch/requestId": request_id +"/compute:beta/compute.regionBackendServices.testIamPermissions": test_region_backend_service_iam_permissions +"/compute:beta/compute.regionBackendServices.testIamPermissions/project": project +"/compute:beta/compute.regionBackendServices.testIamPermissions/region": region +"/compute:beta/compute.regionBackendServices.testIamPermissions/resource": resource +"/compute:beta/compute.regionBackendServices.update": update_region_backend_service +"/compute:beta/compute.regionBackendServices.update/backendService": backend_service +"/compute:beta/compute.regionBackendServices.update/project": project +"/compute:beta/compute.regionBackendServices.update/region": region +"/compute:beta/compute.regionBackendServices.update/requestId": request_id +"/compute:beta/compute.regionCommitments.aggregatedList": aggregated_region_commitment_list +"/compute:beta/compute.regionCommitments.aggregatedList/filter": filter +"/compute:beta/compute.regionCommitments.aggregatedList/maxResults": max_results +"/compute:beta/compute.regionCommitments.aggregatedList/orderBy": order_by +"/compute:beta/compute.regionCommitments.aggregatedList/pageToken": page_token +"/compute:beta/compute.regionCommitments.aggregatedList/project": project +"/compute:beta/compute.regionCommitments.get": get_region_commitment +"/compute:beta/compute.regionCommitments.get/commitment": commitment +"/compute:beta/compute.regionCommitments.get/project": project +"/compute:beta/compute.regionCommitments.get/region": region +"/compute:beta/compute.regionCommitments.insert": insert_region_commitment +"/compute:beta/compute.regionCommitments.insert/project": project +"/compute:beta/compute.regionCommitments.insert/region": region +"/compute:beta/compute.regionCommitments.insert/requestId": request_id +"/compute:beta/compute.regionCommitments.list": list_region_commitments +"/compute:beta/compute.regionCommitments.list/filter": filter +"/compute:beta/compute.regionCommitments.list/maxResults": max_results +"/compute:beta/compute.regionCommitments.list/orderBy": order_by +"/compute:beta/compute.regionCommitments.list/pageToken": page_token +"/compute:beta/compute.regionCommitments.list/project": project +"/compute:beta/compute.regionCommitments.list/region": region +"/compute:beta/compute.regionInstanceGroupManagers.abandonInstances": abandon_region_instance_group_manager_instances +"/compute:beta/compute.regionInstanceGroupManagers.abandonInstances/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.abandonInstances/project": project +"/compute:beta/compute.regionInstanceGroupManagers.abandonInstances/region": region +"/compute:beta/compute.regionInstanceGroupManagers.abandonInstances/requestId": request_id +"/compute:beta/compute.regionInstanceGroupManagers.delete": delete_region_instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.delete/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.delete/project": project +"/compute:beta/compute.regionInstanceGroupManagers.delete/region": region +"/compute:beta/compute.regionInstanceGroupManagers.delete/requestId": request_id +"/compute:beta/compute.regionInstanceGroupManagers.deleteInstances": delete_region_instance_group_manager_instances +"/compute:beta/compute.regionInstanceGroupManagers.deleteInstances/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.deleteInstances/project": project +"/compute:beta/compute.regionInstanceGroupManagers.deleteInstances/region": region +"/compute:beta/compute.regionInstanceGroupManagers.deleteInstances/requestId": request_id +"/compute:beta/compute.regionInstanceGroupManagers.get": get_region_instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.get/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.get/project": project +"/compute:beta/compute.regionInstanceGroupManagers.get/region": region +"/compute:beta/compute.regionInstanceGroupManagers.insert": insert_region_instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.insert/project": project +"/compute:beta/compute.regionInstanceGroupManagers.insert/region": region +"/compute:beta/compute.regionInstanceGroupManagers.insert/requestId": request_id +"/compute:beta/compute.regionInstanceGroupManagers.list": list_region_instance_group_managers +"/compute:beta/compute.regionInstanceGroupManagers.list/filter": filter +"/compute:beta/compute.regionInstanceGroupManagers.list/maxResults": max_results +"/compute:beta/compute.regionInstanceGroupManagers.list/orderBy": order_by +"/compute:beta/compute.regionInstanceGroupManagers.list/pageToken": page_token +"/compute:beta/compute.regionInstanceGroupManagers.list/project": project +"/compute:beta/compute.regionInstanceGroupManagers.list/region": region +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances": list_region_instance_group_manager_managed_instances +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/filter": filter +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/maxResults": max_results +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/order_by": order_by +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/pageToken": page_token +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/project": project +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/region": region +"/compute:beta/compute.regionInstanceGroupManagers.patch": patch_region_instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.patch/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.patch/project": project +"/compute:beta/compute.regionInstanceGroupManagers.patch/region": region +"/compute:beta/compute.regionInstanceGroupManagers.patch/requestId": request_id +"/compute:beta/compute.regionInstanceGroupManagers.recreateInstances": recreate_region_instance_group_manager_instances +"/compute:beta/compute.regionInstanceGroupManagers.recreateInstances/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.recreateInstances/project": project +"/compute:beta/compute.regionInstanceGroupManagers.recreateInstances/region": region +"/compute:beta/compute.regionInstanceGroupManagers.recreateInstances/requestId": request_id +"/compute:beta/compute.regionInstanceGroupManagers.resize": resize_region_instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.resize/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.resize/project": project +"/compute:beta/compute.regionInstanceGroupManagers.resize/region": region +"/compute:beta/compute.regionInstanceGroupManagers.resize/requestId": request_id +"/compute:beta/compute.regionInstanceGroupManagers.resize/size": size +"/compute:beta/compute.regionInstanceGroupManagers.setAutoHealingPolicies": set_region_instance_group_manager_auto_healing_policies +"/compute:beta/compute.regionInstanceGroupManagers.setAutoHealingPolicies/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.setAutoHealingPolicies/project": project +"/compute:beta/compute.regionInstanceGroupManagers.setAutoHealingPolicies/region": region +"/compute:beta/compute.regionInstanceGroupManagers.setAutoHealingPolicies/requestId": request_id +"/compute:beta/compute.regionInstanceGroupManagers.setInstanceTemplate": set_region_instance_group_manager_instance_template +"/compute:beta/compute.regionInstanceGroupManagers.setInstanceTemplate/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.setInstanceTemplate/project": project +"/compute:beta/compute.regionInstanceGroupManagers.setInstanceTemplate/region": region +"/compute:beta/compute.regionInstanceGroupManagers.setInstanceTemplate/requestId": request_id +"/compute:beta/compute.regionInstanceGroupManagers.setTargetPools": set_region_instance_group_manager_target_pools +"/compute:beta/compute.regionInstanceGroupManagers.setTargetPools/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.setTargetPools/project": project +"/compute:beta/compute.regionInstanceGroupManagers.setTargetPools/region": region +"/compute:beta/compute.regionInstanceGroupManagers.setTargetPools/requestId": request_id +"/compute:beta/compute.regionInstanceGroupManagers.testIamPermissions": test_region_instance_group_manager_iam_permissions +"/compute:beta/compute.regionInstanceGroupManagers.testIamPermissions/project": project +"/compute:beta/compute.regionInstanceGroupManagers.testIamPermissions/region": region +"/compute:beta/compute.regionInstanceGroupManagers.testIamPermissions/resource": resource +"/compute:beta/compute.regionInstanceGroupManagers.update": update_region_instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.update/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.update/project": project +"/compute:beta/compute.regionInstanceGroupManagers.update/region": region +"/compute:beta/compute.regionInstanceGroupManagers.update/requestId": request_id +"/compute:beta/compute.regionInstanceGroups.get": get_region_instance_group +"/compute:beta/compute.regionInstanceGroups.get/instanceGroup": instance_group +"/compute:beta/compute.regionInstanceGroups.get/project": project +"/compute:beta/compute.regionInstanceGroups.get/region": region +"/compute:beta/compute.regionInstanceGroups.list": list_region_instance_groups +"/compute:beta/compute.regionInstanceGroups.list/filter": filter +"/compute:beta/compute.regionInstanceGroups.list/maxResults": max_results +"/compute:beta/compute.regionInstanceGroups.list/orderBy": order_by +"/compute:beta/compute.regionInstanceGroups.list/pageToken": page_token +"/compute:beta/compute.regionInstanceGroups.list/project": project +"/compute:beta/compute.regionInstanceGroups.list/region": region +"/compute:beta/compute.regionInstanceGroups.listInstances": list_region_instance_group_instances +"/compute:beta/compute.regionInstanceGroups.listInstances/filter": filter +"/compute:beta/compute.regionInstanceGroups.listInstances/instanceGroup": instance_group +"/compute:beta/compute.regionInstanceGroups.listInstances/maxResults": max_results +"/compute:beta/compute.regionInstanceGroups.listInstances/orderBy": order_by +"/compute:beta/compute.regionInstanceGroups.listInstances/pageToken": page_token +"/compute:beta/compute.regionInstanceGroups.listInstances/project": project +"/compute:beta/compute.regionInstanceGroups.listInstances/region": region +"/compute:beta/compute.regionInstanceGroups.setNamedPorts": set_region_instance_group_named_ports +"/compute:beta/compute.regionInstanceGroups.setNamedPorts/instanceGroup": instance_group +"/compute:beta/compute.regionInstanceGroups.setNamedPorts/project": project +"/compute:beta/compute.regionInstanceGroups.setNamedPorts/region": region +"/compute:beta/compute.regionInstanceGroups.setNamedPorts/requestId": request_id +"/compute:beta/compute.regionInstanceGroups.testIamPermissions": test_region_instance_group_iam_permissions +"/compute:beta/compute.regionInstanceGroups.testIamPermissions/project": project +"/compute:beta/compute.regionInstanceGroups.testIamPermissions/region": region +"/compute:beta/compute.regionInstanceGroups.testIamPermissions/resource": resource +"/compute:beta/compute.regionOperations.delete": delete_region_operation +"/compute:beta/compute.regionOperations.delete/operation": operation +"/compute:beta/compute.regionOperations.delete/project": project +"/compute:beta/compute.regionOperations.delete/region": region +"/compute:beta/compute.regionOperations.get": get_region_operation +"/compute:beta/compute.regionOperations.get/operation": operation +"/compute:beta/compute.regionOperations.get/project": project +"/compute:beta/compute.regionOperations.get/region": region +"/compute:beta/compute.regionOperations.list": list_region_operations +"/compute:beta/compute.regionOperations.list/filter": filter +"/compute:beta/compute.regionOperations.list/maxResults": max_results +"/compute:beta/compute.regionOperations.list/orderBy": order_by +"/compute:beta/compute.regionOperations.list/pageToken": page_token +"/compute:beta/compute.regionOperations.list/project": project +"/compute:beta/compute.regionOperations.list/region": region +"/compute:beta/compute.regions.get": get_region +"/compute:beta/compute.regions.get/project": project +"/compute:beta/compute.regions.get/region": region +"/compute:beta/compute.regions.list": list_regions +"/compute:beta/compute.regions.list/filter": filter +"/compute:beta/compute.regions.list/maxResults": max_results +"/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": list_aggregated_routers +"/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/requestId": request_id +"/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": get_router_status +"/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.insert/requestId": request_id +"/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/requestId": request_id +"/compute:beta/compute.routers.patch/router": router +"/compute:beta/compute.routers.preview": preview_router +"/compute:beta/compute.routers.preview/project": project +"/compute:beta/compute.routers.preview/region": region +"/compute:beta/compute.routers.preview/router": router +"/compute:beta/compute.routers.testIamPermissions": test_router_iam_permissions +"/compute:beta/compute.routers.testIamPermissions/project": project +"/compute:beta/compute.routers.testIamPermissions/region": region +"/compute:beta/compute.routers.testIamPermissions/resource": resource +"/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/requestId": request_id +"/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/requestId": request_id +"/compute:beta/compute.routes.delete/route": route +"/compute:beta/compute.routes.get": get_route +"/compute:beta/compute.routes.get/project": project +"/compute:beta/compute.routes.get/route": route +"/compute:beta/compute.routes.insert": insert_route +"/compute:beta/compute.routes.insert/project": project +"/compute:beta/compute.routes.insert/requestId": request_id +"/compute:beta/compute.routes.list": list_routes +"/compute:beta/compute.routes.list/filter": filter +"/compute:beta/compute.routes.list/maxResults": max_results +"/compute:beta/compute.routes.list/orderBy": order_by +"/compute:beta/compute.routes.list/pageToken": page_token +"/compute:beta/compute.routes.list/project": project +"/compute:beta/compute.routes.testIamPermissions": test_route_iam_permissions +"/compute:beta/compute.routes.testIamPermissions/project": project +"/compute:beta/compute.routes.testIamPermissions/resource": resource +"/compute:beta/compute.securityPolicies.delete": delete_security_policy +"/compute:beta/compute.securityPolicies.delete/project": project +"/compute:beta/compute.securityPolicies.delete/requestId": request_id +"/compute:beta/compute.securityPolicies.delete/securityPolicy": security_policy +"/compute:beta/compute.securityPolicies.get": get_security_policy +"/compute:beta/compute.securityPolicies.get/project": project +"/compute:beta/compute.securityPolicies.get/securityPolicy": security_policy +"/compute:beta/compute.securityPolicies.insert": insert_security_policy +"/compute:beta/compute.securityPolicies.insert/project": project +"/compute:beta/compute.securityPolicies.insert/requestId": request_id +"/compute:beta/compute.securityPolicies.list": list_security_policies +"/compute:beta/compute.securityPolicies.list/filter": filter +"/compute:beta/compute.securityPolicies.list/maxResults": max_results +"/compute:beta/compute.securityPolicies.list/orderBy": order_by +"/compute:beta/compute.securityPolicies.list/pageToken": page_token +"/compute:beta/compute.securityPolicies.list/project": project +"/compute:beta/compute.securityPolicies.patch": patch_security_policy +"/compute:beta/compute.securityPolicies.patch/project": project +"/compute:beta/compute.securityPolicies.patch/requestId": request_id +"/compute:beta/compute.securityPolicies.patch/securityPolicy": security_policy +"/compute:beta/compute.securityPolicies.testIamPermissions": test_security_policy_iam_permissions +"/compute:beta/compute.securityPolicies.testIamPermissions/project": project +"/compute:beta/compute.securityPolicies.testIamPermissions/resource": resource +"/compute:beta/compute.snapshots.delete": delete_snapshot +"/compute:beta/compute.snapshots.delete/project": project +"/compute:beta/compute.snapshots.delete/requestId": request_id +"/compute:beta/compute.snapshots.delete/snapshot": snapshot +"/compute:beta/compute.snapshots.get": get_snapshot +"/compute:beta/compute.snapshots.get/project": project +"/compute:beta/compute.snapshots.get/snapshot": snapshot +"/compute:beta/compute.snapshots.list": list_snapshots +"/compute:beta/compute.snapshots.list/filter": filter +"/compute:beta/compute.snapshots.list/maxResults": max_results +"/compute:beta/compute.snapshots.list/orderBy": order_by +"/compute:beta/compute.snapshots.list/pageToken": page_token +"/compute:beta/compute.snapshots.list/project": project +"/compute:beta/compute.snapshots.setLabels": set_snapshot_labels +"/compute:beta/compute.snapshots.setLabels/project": project +"/compute:beta/compute.snapshots.setLabels/resource": resource +"/compute:beta/compute.snapshots.testIamPermissions": test_snapshot_iam_permissions +"/compute:beta/compute.snapshots.testIamPermissions/project": project +"/compute:beta/compute.snapshots.testIamPermissions/resource": resource +"/compute:beta/compute.sslCertificates.delete": delete_ssl_certificate +"/compute:beta/compute.sslCertificates.delete/project": project +"/compute:beta/compute.sslCertificates.delete/requestId": request_id +"/compute:beta/compute.sslCertificates.delete/sslCertificate": ssl_certificate +"/compute:beta/compute.sslCertificates.get": get_ssl_certificate +"/compute:beta/compute.sslCertificates.get/project": project +"/compute:beta/compute.sslCertificates.get/sslCertificate": ssl_certificate +"/compute:beta/compute.sslCertificates.insert": insert_ssl_certificate +"/compute:beta/compute.sslCertificates.insert/project": project +"/compute:beta/compute.sslCertificates.insert/requestId": request_id +"/compute:beta/compute.sslCertificates.list": list_ssl_certificates +"/compute:beta/compute.sslCertificates.list/filter": filter +"/compute:beta/compute.sslCertificates.list/maxResults": max_results +"/compute:beta/compute.sslCertificates.list/orderBy": order_by +"/compute:beta/compute.sslCertificates.list/pageToken": page_token +"/compute:beta/compute.sslCertificates.list/project": project +"/compute:beta/compute.sslCertificates.testIamPermissions": test_ssl_certificate_iam_permissions +"/compute:beta/compute.sslCertificates.testIamPermissions/project": project +"/compute:beta/compute.sslCertificates.testIamPermissions/resource": resource +"/compute:beta/compute.subnetworks.aggregatedList": list_aggregated_subnetworks +"/compute:beta/compute.subnetworks.aggregatedList/filter": filter +"/compute:beta/compute.subnetworks.aggregatedList/maxResults": max_results +"/compute:beta/compute.subnetworks.aggregatedList/orderBy": order_by +"/compute:beta/compute.subnetworks.aggregatedList/pageToken": page_token +"/compute:beta/compute.subnetworks.aggregatedList/project": project +"/compute:beta/compute.subnetworks.delete": delete_subnetwork +"/compute:beta/compute.subnetworks.delete/project": project +"/compute:beta/compute.subnetworks.delete/region": region +"/compute:beta/compute.subnetworks.delete/requestId": request_id +"/compute:beta/compute.subnetworks.delete/subnetwork": subnetwork +"/compute:beta/compute.subnetworks.expandIpCidrRange": expand_subnetwork_ip_cidr_range +"/compute:beta/compute.subnetworks.expandIpCidrRange/project": project +"/compute:beta/compute.subnetworks.expandIpCidrRange/region": region +"/compute:beta/compute.subnetworks.expandIpCidrRange/requestId": request_id +"/compute:beta/compute.subnetworks.expandIpCidrRange/subnetwork": subnetwork +"/compute:beta/compute.subnetworks.get": get_subnetwork +"/compute:beta/compute.subnetworks.get/project": project +"/compute:beta/compute.subnetworks.get/region": region +"/compute:beta/compute.subnetworks.get/subnetwork": subnetwork +"/compute:beta/compute.subnetworks.getIamPolicy": get_subnetwork_iam_policy +"/compute:beta/compute.subnetworks.getIamPolicy/project": project +"/compute:beta/compute.subnetworks.getIamPolicy/region": region +"/compute:beta/compute.subnetworks.getIamPolicy/resource": resource +"/compute:beta/compute.subnetworks.insert": insert_subnetwork +"/compute:beta/compute.subnetworks.insert/project": project +"/compute:beta/compute.subnetworks.insert/region": region +"/compute:beta/compute.subnetworks.insert/requestId": request_id +"/compute:beta/compute.subnetworks.list": list_subnetworks +"/compute:beta/compute.subnetworks.list/filter": filter +"/compute:beta/compute.subnetworks.list/maxResults": max_results +"/compute:beta/compute.subnetworks.list/orderBy": order_by +"/compute:beta/compute.subnetworks.list/pageToken": page_token +"/compute:beta/compute.subnetworks.list/project": project +"/compute:beta/compute.subnetworks.list/region": region +"/compute:beta/compute.subnetworks.setIamPolicy": set_subnetwork_iam_policy +"/compute:beta/compute.subnetworks.setIamPolicy/project": project +"/compute:beta/compute.subnetworks.setIamPolicy/region": region +"/compute:beta/compute.subnetworks.setIamPolicy/resource": resource +"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess": set_subnetwork_private_ip_google_access +"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess/project": project +"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess/region": region +"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess/requestId": request_id +"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess/subnetwork": subnetwork +"/compute:beta/compute.subnetworks.testIamPermissions": test_subnetwork_iam_permissions +"/compute:beta/compute.subnetworks.testIamPermissions/project": project +"/compute:beta/compute.subnetworks.testIamPermissions/region": region +"/compute:beta/compute.subnetworks.testIamPermissions/resource": resource +"/compute:beta/compute.targetHttpProxies.delete": delete_target_http_proxy +"/compute:beta/compute.targetHttpProxies.delete/project": project +"/compute:beta/compute.targetHttpProxies.delete/requestId": request_id +"/compute:beta/compute.targetHttpProxies.delete/targetHttpProxy": target_http_proxy +"/compute:beta/compute.targetHttpProxies.get": get_target_http_proxy +"/compute:beta/compute.targetHttpProxies.get/project": project +"/compute:beta/compute.targetHttpProxies.get/targetHttpProxy": target_http_proxy +"/compute:beta/compute.targetHttpProxies.insert": insert_target_http_proxy +"/compute:beta/compute.targetHttpProxies.insert/project": project +"/compute:beta/compute.targetHttpProxies.insert/requestId": request_id +"/compute:beta/compute.targetHttpProxies.list": list_target_http_proxies +"/compute:beta/compute.targetHttpProxies.list/filter": filter +"/compute:beta/compute.targetHttpProxies.list/maxResults": max_results +"/compute:beta/compute.targetHttpProxies.list/orderBy": order_by +"/compute:beta/compute.targetHttpProxies.list/pageToken": page_token +"/compute:beta/compute.targetHttpProxies.list/project": project +"/compute:beta/compute.targetHttpProxies.setUrlMap": set_target_http_proxy_url_map +"/compute:beta/compute.targetHttpProxies.setUrlMap/project": project +"/compute:beta/compute.targetHttpProxies.setUrlMap/requestId": request_id +"/compute:beta/compute.targetHttpProxies.setUrlMap/targetHttpProxy": target_http_proxy +"/compute:beta/compute.targetHttpProxies.testIamPermissions": test_target_http_proxy_iam_permissions +"/compute:beta/compute.targetHttpProxies.testIamPermissions/project": project +"/compute:beta/compute.targetHttpProxies.testIamPermissions/resource": resource +"/compute:beta/compute.targetHttpsProxies.delete": delete_target_https_proxy +"/compute:beta/compute.targetHttpsProxies.delete/project": project +"/compute:beta/compute.targetHttpsProxies.delete/requestId": request_id +"/compute:beta/compute.targetHttpsProxies.delete/targetHttpsProxy": target_https_proxy +"/compute:beta/compute.targetHttpsProxies.get": get_target_https_proxy +"/compute:beta/compute.targetHttpsProxies.get/project": project +"/compute:beta/compute.targetHttpsProxies.get/targetHttpsProxy": target_https_proxy +"/compute:beta/compute.targetHttpsProxies.insert": insert_target_https_proxy +"/compute:beta/compute.targetHttpsProxies.insert/project": project +"/compute:beta/compute.targetHttpsProxies.insert/requestId": request_id +"/compute:beta/compute.targetHttpsProxies.list": list_target_https_proxies +"/compute:beta/compute.targetHttpsProxies.list/filter": filter +"/compute:beta/compute.targetHttpsProxies.list/maxResults": max_results +"/compute:beta/compute.targetHttpsProxies.list/orderBy": order_by +"/compute:beta/compute.targetHttpsProxies.list/pageToken": page_token +"/compute:beta/compute.targetHttpsProxies.list/project": project +"/compute:beta/compute.targetHttpsProxies.setSslCertificates": set_target_https_proxy_ssl_certificates +"/compute:beta/compute.targetHttpsProxies.setSslCertificates/project": project +"/compute:beta/compute.targetHttpsProxies.setSslCertificates/requestId": request_id +"/compute:beta/compute.targetHttpsProxies.setSslCertificates/targetHttpsProxy": target_https_proxy +"/compute:beta/compute.targetHttpsProxies.setUrlMap": set_target_https_proxy_url_map +"/compute:beta/compute.targetHttpsProxies.setUrlMap/project": project +"/compute:beta/compute.targetHttpsProxies.setUrlMap/requestId": request_id +"/compute:beta/compute.targetHttpsProxies.setUrlMap/targetHttpsProxy": target_https_proxy +"/compute:beta/compute.targetHttpsProxies.testIamPermissions": test_target_https_proxy_iam_permissions +"/compute:beta/compute.targetHttpsProxies.testIamPermissions/project": project +"/compute:beta/compute.targetHttpsProxies.testIamPermissions/resource": resource +"/compute:beta/compute.targetInstances.aggregatedList": list_aggregated_target_instance +"/compute:beta/compute.targetInstances.aggregatedList/filter": filter +"/compute:beta/compute.targetInstances.aggregatedList/maxResults": max_results +"/compute:beta/compute.targetInstances.aggregatedList/orderBy": order_by +"/compute:beta/compute.targetInstances.aggregatedList/pageToken": page_token +"/compute:beta/compute.targetInstances.aggregatedList/project": project +"/compute:beta/compute.targetInstances.delete": delete_target_instance +"/compute:beta/compute.targetInstances.delete/project": project +"/compute:beta/compute.targetInstances.delete/requestId": request_id +"/compute:beta/compute.targetInstances.delete/targetInstance": target_instance +"/compute:beta/compute.targetInstances.delete/zone": zone +"/compute:beta/compute.targetInstances.get": get_target_instance +"/compute:beta/compute.targetInstances.get/project": project +"/compute:beta/compute.targetInstances.get/targetInstance": target_instance +"/compute:beta/compute.targetInstances.get/zone": zone +"/compute:beta/compute.targetInstances.insert": insert_target_instance +"/compute:beta/compute.targetInstances.insert/project": project +"/compute:beta/compute.targetInstances.insert/requestId": request_id +"/compute:beta/compute.targetInstances.insert/zone": zone +"/compute:beta/compute.targetInstances.list": list_target_instances +"/compute:beta/compute.targetInstances.list/filter": filter +"/compute:beta/compute.targetInstances.list/maxResults": max_results +"/compute:beta/compute.targetInstances.list/orderBy": order_by +"/compute:beta/compute.targetInstances.list/pageToken": page_token +"/compute:beta/compute.targetInstances.list/project": project +"/compute:beta/compute.targetInstances.list/zone": zone +"/compute:beta/compute.targetInstances.testIamPermissions": test_target_instance_iam_permissions +"/compute:beta/compute.targetInstances.testIamPermissions/project": project +"/compute:beta/compute.targetInstances.testIamPermissions/resource": resource +"/compute:beta/compute.targetInstances.testIamPermissions/zone": zone +"/compute:beta/compute.targetPools.addHealthCheck": add_target_pool_health_check +"/compute:beta/compute.targetPools.addHealthCheck/project": project +"/compute:beta/compute.targetPools.addHealthCheck/region": region +"/compute:beta/compute.targetPools.addHealthCheck/requestId": request_id +"/compute:beta/compute.targetPools.addHealthCheck/targetPool": target_pool +"/compute:beta/compute.targetPools.addInstance": add_target_pool_instance +"/compute:beta/compute.targetPools.addInstance/project": project +"/compute:beta/compute.targetPools.addInstance/region": region +"/compute:beta/compute.targetPools.addInstance/requestId": request_id +"/compute:beta/compute.targetPools.addInstance/targetPool": target_pool +"/compute:beta/compute.targetPools.aggregatedList": list_aggregated_target_pools +"/compute:beta/compute.targetPools.aggregatedList/filter": filter +"/compute:beta/compute.targetPools.aggregatedList/maxResults": max_results +"/compute:beta/compute.targetPools.aggregatedList/orderBy": order_by +"/compute:beta/compute.targetPools.aggregatedList/pageToken": page_token +"/compute:beta/compute.targetPools.aggregatedList/project": project +"/compute:beta/compute.targetPools.delete": delete_target_pool +"/compute:beta/compute.targetPools.delete/project": project +"/compute:beta/compute.targetPools.delete/region": region +"/compute:beta/compute.targetPools.delete/requestId": request_id +"/compute:beta/compute.targetPools.delete/targetPool": target_pool +"/compute:beta/compute.targetPools.get": get_target_pool +"/compute:beta/compute.targetPools.get/project": project +"/compute:beta/compute.targetPools.get/region": region +"/compute:beta/compute.targetPools.get/targetPool": target_pool +"/compute:beta/compute.targetPools.getHealth": get_target_pool_health +"/compute:beta/compute.targetPools.getHealth/project": project +"/compute:beta/compute.targetPools.getHealth/region": region +"/compute:beta/compute.targetPools.getHealth/targetPool": target_pool +"/compute:beta/compute.targetPools.insert": insert_target_pool +"/compute:beta/compute.targetPools.insert/project": project +"/compute:beta/compute.targetPools.insert/region": region +"/compute:beta/compute.targetPools.insert/requestId": request_id +"/compute:beta/compute.targetPools.list": list_target_pools +"/compute:beta/compute.targetPools.list/filter": filter +"/compute:beta/compute.targetPools.list/maxResults": max_results +"/compute:beta/compute.targetPools.list/orderBy": order_by +"/compute:beta/compute.targetPools.list/pageToken": page_token +"/compute:beta/compute.targetPools.list/project": project +"/compute:beta/compute.targetPools.list/region": region +"/compute:beta/compute.targetPools.removeHealthCheck": remove_target_pool_health_check +"/compute:beta/compute.targetPools.removeHealthCheck/project": project +"/compute:beta/compute.targetPools.removeHealthCheck/region": region +"/compute:beta/compute.targetPools.removeHealthCheck/requestId": request_id +"/compute:beta/compute.targetPools.removeHealthCheck/targetPool": target_pool +"/compute:beta/compute.targetPools.removeInstance": remove_target_pool_instance +"/compute:beta/compute.targetPools.removeInstance/project": project +"/compute:beta/compute.targetPools.removeInstance/region": region +"/compute:beta/compute.targetPools.removeInstance/requestId": request_id +"/compute:beta/compute.targetPools.removeInstance/targetPool": target_pool +"/compute:beta/compute.targetPools.setBackup": set_target_pool_backup +"/compute:beta/compute.targetPools.setBackup/failoverRatio": failover_ratio +"/compute:beta/compute.targetPools.setBackup/project": project +"/compute:beta/compute.targetPools.setBackup/region": region +"/compute:beta/compute.targetPools.setBackup/requestId": request_id +"/compute:beta/compute.targetPools.setBackup/targetPool": target_pool +"/compute:beta/compute.targetPools.testIamPermissions": test_target_pool_iam_permissions +"/compute:beta/compute.targetPools.testIamPermissions/project": project +"/compute:beta/compute.targetPools.testIamPermissions/region": region +"/compute:beta/compute.targetPools.testIamPermissions/resource": resource +"/compute:beta/compute.targetSslProxies.delete": delete_target_ssl_proxy +"/compute:beta/compute.targetSslProxies.delete/project": project +"/compute:beta/compute.targetSslProxies.delete/requestId": request_id +"/compute:beta/compute.targetSslProxies.delete/targetSslProxy": target_ssl_proxy +"/compute:beta/compute.targetSslProxies.get": get_target_ssl_proxy +"/compute:beta/compute.targetSslProxies.get/project": project +"/compute:beta/compute.targetSslProxies.get/targetSslProxy": target_ssl_proxy +"/compute:beta/compute.targetSslProxies.insert": insert_target_ssl_proxy +"/compute:beta/compute.targetSslProxies.insert/project": project +"/compute:beta/compute.targetSslProxies.insert/requestId": request_id +"/compute:beta/compute.targetSslProxies.list": list_target_ssl_proxies +"/compute:beta/compute.targetSslProxies.list/filter": filter +"/compute:beta/compute.targetSslProxies.list/maxResults": max_results +"/compute:beta/compute.targetSslProxies.list/orderBy": order_by +"/compute:beta/compute.targetSslProxies.list/pageToken": page_token +"/compute:beta/compute.targetSslProxies.list/project": project +"/compute:beta/compute.targetSslProxies.setBackendService": set_target_ssl_proxy_backend_service +"/compute:beta/compute.targetSslProxies.setBackendService/project": project +"/compute:beta/compute.targetSslProxies.setBackendService/requestId": request_id +"/compute:beta/compute.targetSslProxies.setBackendService/targetSslProxy": target_ssl_proxy +"/compute:beta/compute.targetSslProxies.setProxyHeader": set_target_ssl_proxy_proxy_header +"/compute:beta/compute.targetSslProxies.setProxyHeader/project": project +"/compute:beta/compute.targetSslProxies.setProxyHeader/requestId": request_id +"/compute:beta/compute.targetSslProxies.setProxyHeader/targetSslProxy": target_ssl_proxy +"/compute:beta/compute.targetSslProxies.setSslCertificates": set_target_ssl_proxy_ssl_certificates +"/compute:beta/compute.targetSslProxies.setSslCertificates/project": project +"/compute:beta/compute.targetSslProxies.setSslCertificates/requestId": request_id +"/compute:beta/compute.targetSslProxies.setSslCertificates/targetSslProxy": target_ssl_proxy +"/compute:beta/compute.targetSslProxies.testIamPermissions": test_target_ssl_proxy_iam_permissions +"/compute:beta/compute.targetSslProxies.testIamPermissions/project": project +"/compute:beta/compute.targetSslProxies.testIamPermissions/resource": resource +"/compute:beta/compute.targetTcpProxies.delete": delete_target_tcp_proxy +"/compute:beta/compute.targetTcpProxies.delete/project": project +"/compute:beta/compute.targetTcpProxies.delete/requestId": request_id +"/compute:beta/compute.targetTcpProxies.delete/targetTcpProxy": target_tcp_proxy +"/compute:beta/compute.targetTcpProxies.get": get_target_tcp_proxy +"/compute:beta/compute.targetTcpProxies.get/project": project +"/compute:beta/compute.targetTcpProxies.get/targetTcpProxy": target_tcp_proxy +"/compute:beta/compute.targetTcpProxies.insert": insert_target_tcp_proxy +"/compute:beta/compute.targetTcpProxies.insert/project": project +"/compute:beta/compute.targetTcpProxies.insert/requestId": request_id +"/compute:beta/compute.targetTcpProxies.list": list_target_tcp_proxies +"/compute:beta/compute.targetTcpProxies.list/filter": filter +"/compute:beta/compute.targetTcpProxies.list/maxResults": max_results +"/compute:beta/compute.targetTcpProxies.list/orderBy": order_by +"/compute:beta/compute.targetTcpProxies.list/pageToken": page_token +"/compute:beta/compute.targetTcpProxies.list/project": project +"/compute:beta/compute.targetTcpProxies.setBackendService": set_target_tcp_proxy_backend_service +"/compute:beta/compute.targetTcpProxies.setBackendService/project": project +"/compute:beta/compute.targetTcpProxies.setBackendService/requestId": request_id +"/compute:beta/compute.targetTcpProxies.setBackendService/targetTcpProxy": target_tcp_proxy +"/compute:beta/compute.targetTcpProxies.setProxyHeader": set_target_tcp_proxy_proxy_header +"/compute:beta/compute.targetTcpProxies.setProxyHeader/project": project +"/compute:beta/compute.targetTcpProxies.setProxyHeader/requestId": request_id +"/compute:beta/compute.targetTcpProxies.setProxyHeader/targetTcpProxy": target_tcp_proxy +"/compute:beta/compute.targetVpnGateways.aggregatedList": list_aggregated_target_vpn_gateways +"/compute:beta/compute.targetVpnGateways.aggregatedList/filter": filter +"/compute:beta/compute.targetVpnGateways.aggregatedList/maxResults": max_results +"/compute:beta/compute.targetVpnGateways.aggregatedList/orderBy": order_by +"/compute:beta/compute.targetVpnGateways.aggregatedList/pageToken": page_token +"/compute:beta/compute.targetVpnGateways.aggregatedList/project": project +"/compute:beta/compute.targetVpnGateways.delete": delete_target_vpn_gateway +"/compute:beta/compute.targetVpnGateways.delete/project": project +"/compute:beta/compute.targetVpnGateways.delete/region": region +"/compute:beta/compute.targetVpnGateways.delete/requestId": request_id +"/compute:beta/compute.targetVpnGateways.delete/targetVpnGateway": target_vpn_gateway +"/compute:beta/compute.targetVpnGateways.get": get_target_vpn_gateway +"/compute:beta/compute.targetVpnGateways.get/project": project +"/compute:beta/compute.targetVpnGateways.get/region": region +"/compute:beta/compute.targetVpnGateways.get/targetVpnGateway": target_vpn_gateway +"/compute:beta/compute.targetVpnGateways.insert": insert_target_vpn_gateway +"/compute:beta/compute.targetVpnGateways.insert/project": project +"/compute:beta/compute.targetVpnGateways.insert/region": region +"/compute:beta/compute.targetVpnGateways.insert/requestId": request_id +"/compute:beta/compute.targetVpnGateways.list": list_target_vpn_gateways +"/compute:beta/compute.targetVpnGateways.list/filter": filter +"/compute:beta/compute.targetVpnGateways.list/maxResults": max_results +"/compute:beta/compute.targetVpnGateways.list/orderBy": order_by +"/compute:beta/compute.targetVpnGateways.list/pageToken": page_token +"/compute:beta/compute.targetVpnGateways.list/project": project +"/compute:beta/compute.targetVpnGateways.list/region": region +"/compute:beta/compute.targetVpnGateways.testIamPermissions": test_target_vpn_gateway_iam_permissions +"/compute:beta/compute.targetVpnGateways.testIamPermissions/project": project +"/compute:beta/compute.targetVpnGateways.testIamPermissions/region": region +"/compute:beta/compute.targetVpnGateways.testIamPermissions/resource": resource +"/compute:beta/compute.urlMaps.delete": delete_url_map +"/compute:beta/compute.urlMaps.delete/project": project +"/compute:beta/compute.urlMaps.delete/requestId": request_id +"/compute:beta/compute.urlMaps.delete/urlMap": url_map +"/compute:beta/compute.urlMaps.get": get_url_map +"/compute:beta/compute.urlMaps.get/project": project +"/compute:beta/compute.urlMaps.get/urlMap": url_map +"/compute:beta/compute.urlMaps.insert": insert_url_map +"/compute:beta/compute.urlMaps.insert/project": project +"/compute:beta/compute.urlMaps.insert/requestId": request_id +"/compute:beta/compute.urlMaps.invalidateCache": invalidate_url_map_cache +"/compute:beta/compute.urlMaps.invalidateCache/project": project +"/compute:beta/compute.urlMaps.invalidateCache/requestId": request_id +"/compute:beta/compute.urlMaps.invalidateCache/urlMap": url_map +"/compute:beta/compute.urlMaps.list": list_url_maps +"/compute:beta/compute.urlMaps.list/filter": filter +"/compute:beta/compute.urlMaps.list/maxResults": max_results +"/compute:beta/compute.urlMaps.list/orderBy": order_by +"/compute:beta/compute.urlMaps.list/pageToken": page_token +"/compute:beta/compute.urlMaps.list/project": project +"/compute:beta/compute.urlMaps.patch": patch_url_map +"/compute:beta/compute.urlMaps.patch/project": project +"/compute:beta/compute.urlMaps.patch/requestId": request_id +"/compute:beta/compute.urlMaps.patch/urlMap": url_map +"/compute:beta/compute.urlMaps.testIamPermissions": test_url_map_iam_permissions +"/compute:beta/compute.urlMaps.testIamPermissions/project": project +"/compute:beta/compute.urlMaps.testIamPermissions/resource": resource +"/compute:beta/compute.urlMaps.update": update_url_map +"/compute:beta/compute.urlMaps.update/project": project +"/compute:beta/compute.urlMaps.update/requestId": request_id +"/compute:beta/compute.urlMaps.update/urlMap": url_map +"/compute:beta/compute.urlMaps.validate": validate_url_map +"/compute:beta/compute.urlMaps.validate/project": project +"/compute:beta/compute.urlMaps.validate/urlMap": url_map +"/compute:beta/compute.vpnTunnels.aggregatedList": list_aggregated_vpn_tunnel +"/compute:beta/compute.vpnTunnels.aggregatedList/filter": filter +"/compute:beta/compute.vpnTunnels.aggregatedList/maxResults": max_results +"/compute:beta/compute.vpnTunnels.aggregatedList/orderBy": order_by +"/compute:beta/compute.vpnTunnels.aggregatedList/pageToken": page_token +"/compute:beta/compute.vpnTunnels.aggregatedList/project": project +"/compute:beta/compute.vpnTunnels.delete": delete_vpn_tunnel +"/compute:beta/compute.vpnTunnels.delete/project": project +"/compute:beta/compute.vpnTunnels.delete/region": region +"/compute:beta/compute.vpnTunnels.delete/requestId": request_id +"/compute:beta/compute.vpnTunnels.delete/vpnTunnel": vpn_tunnel +"/compute:beta/compute.vpnTunnels.get": get_vpn_tunnel +"/compute:beta/compute.vpnTunnels.get/project": project +"/compute:beta/compute.vpnTunnels.get/region": region +"/compute:beta/compute.vpnTunnels.get/vpnTunnel": vpn_tunnel +"/compute:beta/compute.vpnTunnels.insert": insert_vpn_tunnel +"/compute:beta/compute.vpnTunnels.insert/project": project +"/compute:beta/compute.vpnTunnels.insert/region": region +"/compute:beta/compute.vpnTunnels.insert/requestId": request_id +"/compute:beta/compute.vpnTunnels.list": list_vpn_tunnels +"/compute:beta/compute.vpnTunnels.list/filter": filter +"/compute:beta/compute.vpnTunnels.list/maxResults": max_results +"/compute:beta/compute.vpnTunnels.list/orderBy": order_by +"/compute:beta/compute.vpnTunnels.list/pageToken": page_token +"/compute:beta/compute.vpnTunnels.list/project": project +"/compute:beta/compute.vpnTunnels.list/region": region +"/compute:beta/compute.vpnTunnels.testIamPermissions": test_vpn_tunnel_iam_permissions +"/compute:beta/compute.vpnTunnels.testIamPermissions/project": project +"/compute:beta/compute.vpnTunnels.testIamPermissions/region": region +"/compute:beta/compute.vpnTunnels.testIamPermissions/resource": resource +"/compute:beta/compute.zoneOperations.delete": delete_zone_operation +"/compute:beta/compute.zoneOperations.delete/operation": operation +"/compute:beta/compute.zoneOperations.delete/project": project +"/compute:beta/compute.zoneOperations.delete/zone": zone +"/compute:beta/compute.zoneOperations.get": get_zone_operation +"/compute:beta/compute.zoneOperations.get/operation": operation +"/compute:beta/compute.zoneOperations.get/project": project +"/compute:beta/compute.zoneOperations.get/zone": zone +"/compute:beta/compute.zoneOperations.list": list_zone_operations +"/compute:beta/compute.zoneOperations.list/filter": filter +"/compute:beta/compute.zoneOperations.list/maxResults": max_results +"/compute:beta/compute.zoneOperations.list/orderBy": order_by +"/compute:beta/compute.zoneOperations.list/pageToken": page_token +"/compute:beta/compute.zoneOperations.list/project": project +"/compute:beta/compute.zoneOperations.list/zone": zone +"/compute:beta/compute.zones.get": get_zone +"/compute:beta/compute.zones.get/project": project +"/compute:beta/compute.zones.get/zone": zone +"/compute:beta/compute.zones.list": list_zones +"/compute:beta/compute.zones.list/filter": filter +"/compute:beta/compute.zones.list/maxResults": max_results +"/compute:beta/compute.zones.list/orderBy": order_by +"/compute:beta/compute.zones.list/pageToken": page_token +"/compute:beta/compute.zones.list/project": project +"/compute:beta/fields": fields +"/compute:beta/key": key +"/compute:beta/quotaUser": quota_user +"/compute:beta/userIp": user_ip "/compute:v1/AcceleratorConfig": accelerator_config "/compute:v1/AcceleratorConfig/acceleratorCount": accelerator_count "/compute:v1/AcceleratorConfig/acceleratorType": accelerator_type @@ -16270,6 +14708,9 @@ "/compute:v1/AddressesScopedList/warning/data/datum/key": key "/compute:v1/AddressesScopedList/warning/data/datum/value": value "/compute:v1/AddressesScopedList/warning/message": message +"/compute:v1/AliasIpRange": alias_ip_range +"/compute:v1/AliasIpRange/ipCidrRange": ip_cidr_range +"/compute:v1/AliasIpRange/subnetworkRangeName": subnetwork_range_name "/compute:v1/AttachedDisk": attached_disk "/compute:v1/AttachedDisk/autoDelete": auto_delete "/compute:v1/AttachedDisk/boot": boot @@ -16538,6 +14979,7 @@ "/compute:v1/DiskList/kind": kind "/compute:v1/DiskList/nextPageToken": next_page_token "/compute:v1/DiskList/selfLink": self_link +"/compute:v1/DiskMoveRequest": move_disk_request "/compute:v1/DiskMoveRequest/destinationZone": destination_zone "/compute:v1/DiskMoveRequest/targetDisk": target_disk "/compute:v1/DiskType": disk_type @@ -16594,11 +15036,20 @@ "/compute:v1/Firewall/allowed/allowed/ports": ports "/compute:v1/Firewall/allowed/allowed/ports/port": port "/compute:v1/Firewall/creationTimestamp": creation_timestamp +"/compute:v1/Firewall/denied": denied +"/compute:v1/Firewall/denied/denied": denied +"/compute:v1/Firewall/denied/denied/IPProtocol": ip_protocol +"/compute:v1/Firewall/denied/denied/ports": ports +"/compute:v1/Firewall/denied/denied/ports/port": port "/compute:v1/Firewall/description": description +"/compute:v1/Firewall/destinationRanges": destination_ranges +"/compute:v1/Firewall/destinationRanges/destination_range": destination_range +"/compute:v1/Firewall/direction": direction "/compute:v1/Firewall/id": id "/compute:v1/Firewall/kind": kind "/compute:v1/Firewall/name": name "/compute:v1/Firewall/network": network +"/compute:v1/Firewall/priority": priority "/compute:v1/Firewall/selfLink": self_link "/compute:v1/Firewall/sourceRanges": source_ranges "/compute:v1/Firewall/sourceRanges/source_range": source_range @@ -16956,6 +15407,7 @@ "/compute:v1/InstanceList/kind": kind "/compute:v1/InstanceList/nextPageToken": next_page_token "/compute:v1/InstanceList/selfLink": self_link +"/compute:v1/InstanceMoveRequest": move_instance_request "/compute:v1/InstanceMoveRequest/destinationZone": destination_zone "/compute:v1/InstanceMoveRequest/targetInstance": target_instance "/compute:v1/InstanceProperties": instance_properties @@ -17110,6 +15562,8 @@ "/compute:v1/NetworkInterface": network_interface "/compute:v1/NetworkInterface/accessConfigs": access_configs "/compute:v1/NetworkInterface/accessConfigs/access_config": access_config +"/compute:v1/NetworkInterface/aliasIpRanges": alias_ip_ranges +"/compute:v1/NetworkInterface/aliasIpRanges/alias_ip_range": alias_ip_range "/compute:v1/NetworkInterface/kind": kind "/compute:v1/NetworkInterface/name": name "/compute:v1/NetworkInterface/network": network @@ -17495,6 +15949,8 @@ "/compute:v1/Subnetwork/network": network "/compute:v1/Subnetwork/privateIpGoogleAccess": private_ip_google_access "/compute:v1/Subnetwork/region": region +"/compute:v1/Subnetwork/secondaryIpRanges": secondary_ip_ranges +"/compute:v1/Subnetwork/secondaryIpRanges/secondary_ip_range": secondary_ip_range "/compute:v1/Subnetwork/selfLink": self_link "/compute:v1/SubnetworkAggregatedList": subnetwork_aggregated_list "/compute:v1/SubnetworkAggregatedList/id": id @@ -17510,6 +15966,9 @@ "/compute:v1/SubnetworkList/kind": kind "/compute:v1/SubnetworkList/nextPageToken": next_page_token "/compute:v1/SubnetworkList/selfLink": self_link +"/compute:v1/SubnetworkSecondaryRange": subnetwork_secondary_range +"/compute:v1/SubnetworkSecondaryRange/ipCidrRange": ip_cidr_range +"/compute:v1/SubnetworkSecondaryRange/rangeName": range_name "/compute:v1/SubnetworksExpandIpCidrRangeRequest": subnetworks_expand_ip_cidr_range_request "/compute:v1/SubnetworksExpandIpCidrRangeRequest/ipCidrRange": ip_cidr_range "/compute:v1/SubnetworksScopedList": subnetworks_scoped_list @@ -17636,12 +16095,16 @@ "/compute:v1/TargetPoolList/kind": kind "/compute:v1/TargetPoolList/nextPageToken": next_page_token "/compute:v1/TargetPoolList/selfLink": self_link +"/compute:v1/TargetPoolsAddHealthCheckRequest": add_target_pools_health_check_request "/compute:v1/TargetPoolsAddHealthCheckRequest/healthChecks": health_checks "/compute:v1/TargetPoolsAddHealthCheckRequest/healthChecks/health_check": health_check +"/compute:v1/TargetPoolsAddInstanceRequest": add_target_pools_instance_request "/compute:v1/TargetPoolsAddInstanceRequest/instances": instances "/compute:v1/TargetPoolsAddInstanceRequest/instances/instance": instance +"/compute:v1/TargetPoolsRemoveHealthCheckRequest": remove_target_pools_health_check_request "/compute:v1/TargetPoolsRemoveHealthCheckRequest/healthChecks": health_checks "/compute:v1/TargetPoolsRemoveHealthCheckRequest/healthChecks/health_check": health_check +"/compute:v1/TargetPoolsRemoveInstanceRequest": remove_target_pools_instance_request "/compute:v1/TargetPoolsRemoveInstanceRequest/instances": instances "/compute:v1/TargetPoolsRemoveInstanceRequest/instances/instance": instance "/compute:v1/TargetPoolsScopedList": target_pools_scoped_list @@ -17780,7 +16243,9 @@ "/compute:v1/UrlMapValidationResult/testFailures": test_failures "/compute:v1/UrlMapValidationResult/testFailures/test_failure": test_failure "/compute:v1/UrlMapValidationResult/testPassed": test_passed +"/compute:v1/UrlMapsValidateRequest": validate_url_maps_request "/compute:v1/UrlMapsValidateRequest/resource": resource +"/compute:v1/UrlMapsValidateResponse": validate_url_maps_response "/compute:v1/UrlMapsValidateResponse/result": result "/compute:v1/UsageExportLocation": usage_export_location "/compute:v1/UsageExportLocation/bucketName": bucket_name @@ -17860,473 +16325,1829 @@ "/compute:v1/ZoneSetLabelsRequest/labelFingerprint": label_fingerprint "/compute:v1/ZoneSetLabelsRequest/labels": labels "/compute:v1/ZoneSetLabelsRequest/labels/label": label -"/container:v1/fields": fields -"/container:v1/key": key -"/container:v1/quotaUser": quota_user -"/container:v1/container.projects.zones.getServerconfig": get_project_zone_serverconfig -"/container:v1/container.projects.zones.getServerconfig/projectId": project_id -"/container:v1/container.projects.zones.getServerconfig/zone": zone -"/container:v1/container.projects.zones.clusters.update": update_cluster -"/container:v1/container.projects.zones.clusters.update/projectId": project_id -"/container:v1/container.projects.zones.clusters.update/zone": zone -"/container:v1/container.projects.zones.clusters.update/clusterId": cluster_id -"/container:v1/container.projects.zones.clusters.monitoring": monitoring_project_zone_cluster -"/container:v1/container.projects.zones.clusters.monitoring/projectId": project_id -"/container:v1/container.projects.zones.clusters.monitoring/zone": zone -"/container:v1/container.projects.zones.clusters.monitoring/clusterId": cluster_id -"/container:v1/container.projects.zones.clusters.master": master_project_zone_cluster -"/container:v1/container.projects.zones.clusters.master/clusterId": cluster_id -"/container:v1/container.projects.zones.clusters.master/projectId": project_id -"/container:v1/container.projects.zones.clusters.master/zone": zone -"/container:v1/container.projects.zones.clusters.setMasterAuth": set_cluster_master_auth -"/container:v1/container.projects.zones.clusters.setMasterAuth/projectId": project_id -"/container:v1/container.projects.zones.clusters.setMasterAuth/zone": zone -"/container:v1/container.projects.zones.clusters.setMasterAuth/clusterId": cluster_id -"/container:v1/container.projects.zones.clusters.logging": logging_project_zone_cluster -"/container:v1/container.projects.zones.clusters.logging/zone": zone -"/container:v1/container.projects.zones.clusters.logging/clusterId": cluster_id -"/container:v1/container.projects.zones.clusters.logging/projectId": project_id -"/container:v1/container.projects.zones.clusters.list/projectId": project_id -"/container:v1/container.projects.zones.clusters.list/zone": zone -"/container:v1/container.projects.zones.clusters.resourceLabels": resource_project_zone_cluster_labels -"/container:v1/container.projects.zones.clusters.resourceLabels/projectId": project_id -"/container:v1/container.projects.zones.clusters.resourceLabels/zone": zone -"/container:v1/container.projects.zones.clusters.resourceLabels/clusterId": cluster_id -"/container:v1/container.projects.zones.clusters.create/projectId": project_id -"/container:v1/container.projects.zones.clusters.create/zone": zone -"/container:v1/container.projects.zones.clusters.completeIpRotation": complete_cluster_ip_rotation -"/container:v1/container.projects.zones.clusters.completeIpRotation/projectId": project_id -"/container:v1/container.projects.zones.clusters.completeIpRotation/zone": zone -"/container:v1/container.projects.zones.clusters.completeIpRotation/clusterId": cluster_id -"/container:v1/container.projects.zones.clusters.get/projectId": project_id -"/container:v1/container.projects.zones.clusters.get/zone": zone -"/container:v1/container.projects.zones.clusters.get/clusterId": cluster_id -"/container:v1/container.projects.zones.clusters.legacyAbac": legacy_project_zone_cluster_abac -"/container:v1/container.projects.zones.clusters.legacyAbac/zone": zone -"/container:v1/container.projects.zones.clusters.legacyAbac/clusterId": cluster_id -"/container:v1/container.projects.zones.clusters.legacyAbac/projectId": project_id -"/container:v1/container.projects.zones.clusters.setNetworkPolicy": set_cluster_network_policy -"/container:v1/container.projects.zones.clusters.setNetworkPolicy/projectId": project_id -"/container:v1/container.projects.zones.clusters.setNetworkPolicy/zone": zone -"/container:v1/container.projects.zones.clusters.setNetworkPolicy/clusterId": cluster_id -"/container:v1/container.projects.zones.clusters.startIpRotation": start_cluster_ip_rotation -"/container:v1/container.projects.zones.clusters.startIpRotation/projectId": project_id -"/container:v1/container.projects.zones.clusters.startIpRotation/zone": zone -"/container:v1/container.projects.zones.clusters.startIpRotation/clusterId": cluster_id -"/container:v1/container.projects.zones.clusters.addons": addons_project_zone_cluster -"/container:v1/container.projects.zones.clusters.addons/projectId": project_id -"/container:v1/container.projects.zones.clusters.addons/zone": zone -"/container:v1/container.projects.zones.clusters.addons/clusterId": cluster_id -"/container:v1/container.projects.zones.clusters.delete/projectId": project_id -"/container:v1/container.projects.zones.clusters.delete/zone": zone -"/container:v1/container.projects.zones.clusters.delete/clusterId": cluster_id -"/container:v1/container.projects.zones.clusters.locations": locations_project_zone_cluster -"/container:v1/container.projects.zones.clusters.locations/projectId": project_id -"/container:v1/container.projects.zones.clusters.locations/zone": zone -"/container:v1/container.projects.zones.clusters.locations/clusterId": cluster_id -"/container:v1/container.projects.zones.clusters.nodePools.list": list_project_zone_cluster_node_pools -"/container:v1/container.projects.zones.clusters.nodePools.list/projectId": project_id -"/container:v1/container.projects.zones.clusters.nodePools.list/zone": zone -"/container:v1/container.projects.zones.clusters.nodePools.list/clusterId": cluster_id -"/container:v1/container.projects.zones.clusters.nodePools.rollback": rollback_node_pool_upgrade -"/container:v1/container.projects.zones.clusters.nodePools.rollback/projectId": project_id -"/container:v1/container.projects.zones.clusters.nodePools.rollback/zone": zone -"/container:v1/container.projects.zones.clusters.nodePools.rollback/clusterId": cluster_id -"/container:v1/container.projects.zones.clusters.nodePools.rollback/nodePoolId": node_pool_id -"/container:v1/container.projects.zones.clusters.nodePools.create": create_node_pool -"/container:v1/container.projects.zones.clusters.nodePools.create/projectId": project_id -"/container:v1/container.projects.zones.clusters.nodePools.create/zone": zone -"/container:v1/container.projects.zones.clusters.nodePools.create/clusterId": cluster_id -"/container:v1/container.projects.zones.clusters.nodePools.autoscaling": autoscaling_project_zone_cluster_node_pool -"/container:v1/container.projects.zones.clusters.nodePools.autoscaling/nodePoolId": node_pool_id -"/container:v1/container.projects.zones.clusters.nodePools.autoscaling/projectId": project_id -"/container:v1/container.projects.zones.clusters.nodePools.autoscaling/zone": zone -"/container:v1/container.projects.zones.clusters.nodePools.autoscaling/clusterId": cluster_id -"/container:v1/container.projects.zones.clusters.nodePools.get": get_project_zone_cluster_node_pool -"/container:v1/container.projects.zones.clusters.nodePools.get/projectId": project_id -"/container:v1/container.projects.zones.clusters.nodePools.get/zone": zone -"/container:v1/container.projects.zones.clusters.nodePools.get/clusterId": cluster_id -"/container:v1/container.projects.zones.clusters.nodePools.get/nodePoolId": node_pool_id -"/container:v1/container.projects.zones.clusters.nodePools.update": update_node_pool -"/container:v1/container.projects.zones.clusters.nodePools.update/clusterId": cluster_id -"/container:v1/container.projects.zones.clusters.nodePools.update/nodePoolId": node_pool_id -"/container:v1/container.projects.zones.clusters.nodePools.update/projectId": project_id -"/container:v1/container.projects.zones.clusters.nodePools.update/zone": zone -"/container:v1/container.projects.zones.clusters.nodePools.delete": delete_project_zone_cluster_node_pool -"/container:v1/container.projects.zones.clusters.nodePools.delete/projectId": project_id -"/container:v1/container.projects.zones.clusters.nodePools.delete/zone": zone -"/container:v1/container.projects.zones.clusters.nodePools.delete/clusterId": cluster_id -"/container:v1/container.projects.zones.clusters.nodePools.delete/nodePoolId": node_pool_id -"/container:v1/container.projects.zones.clusters.nodePools.setManagement": set_project_zone_cluster_node_pool_management -"/container:v1/container.projects.zones.clusters.nodePools.setManagement/projectId": project_id -"/container:v1/container.projects.zones.clusters.nodePools.setManagement/zone": zone -"/container:v1/container.projects.zones.clusters.nodePools.setManagement/clusterId": cluster_id -"/container:v1/container.projects.zones.clusters.nodePools.setManagement/nodePoolId": node_pool_id -"/container:v1/container.projects.zones.clusters.nodePools.setSize": set_project_zone_cluster_node_pool_size -"/container:v1/container.projects.zones.clusters.nodePools.setSize/nodePoolId": node_pool_id -"/container:v1/container.projects.zones.clusters.nodePools.setSize/projectId": project_id -"/container:v1/container.projects.zones.clusters.nodePools.setSize/zone": zone -"/container:v1/container.projects.zones.clusters.nodePools.setSize/clusterId": cluster_id -"/container:v1/container.projects.zones.operations.get/operationId": operation_id -"/container:v1/container.projects.zones.operations.get/projectId": project_id -"/container:v1/container.projects.zones.operations.get/zone": zone -"/container:v1/container.projects.zones.operations.list/projectId": project_id -"/container:v1/container.projects.zones.operations.list/zone": zone -"/container:v1/container.projects.zones.operations.cancel": cancel_operation -"/container:v1/container.projects.zones.operations.cancel/operationId": operation_id -"/container:v1/container.projects.zones.operations.cancel/projectId": project_id -"/container:v1/container.projects.zones.operations.cancel/zone": zone -"/container:v1/SetLocationsRequest": set_locations_request -"/container:v1/SetLocationsRequest/locations": locations -"/container:v1/SetLocationsRequest/locations/location": location -"/container:v1/RollbackNodePoolUpgradeRequest": rollback_node_pool_upgrade_request -"/container:v1/SetNodePoolSizeRequest": set_node_pool_size_request -"/container:v1/SetNodePoolSizeRequest/nodeCount": node_count -"/container:v1/UpdateClusterRequest": update_cluster_request -"/container:v1/UpdateClusterRequest/update": update -"/container:v1/NetworkPolicy": network_policy -"/container:v1/NetworkPolicy/enabled": enabled -"/container:v1/NetworkPolicy/provider": provider -"/container:v1/UpdateMasterRequest": update_master_request -"/container:v1/UpdateMasterRequest/masterVersion": master_version +"/compute:v1/compute.acceleratorTypes.aggregatedList": aggregated_accelerator_type_list +"/compute:v1/compute.acceleratorTypes.aggregatedList/filter": filter +"/compute:v1/compute.acceleratorTypes.aggregatedList/maxResults": max_results +"/compute:v1/compute.acceleratorTypes.aggregatedList/orderBy": order_by +"/compute:v1/compute.acceleratorTypes.aggregatedList/pageToken": page_token +"/compute:v1/compute.acceleratorTypes.aggregatedList/project": project +"/compute:v1/compute.acceleratorTypes.get": get_accelerator_type +"/compute:v1/compute.acceleratorTypes.get/acceleratorType": accelerator_type +"/compute:v1/compute.acceleratorTypes.get/project": project +"/compute:v1/compute.acceleratorTypes.get/zone": zone +"/compute:v1/compute.acceleratorTypes.list": list_accelerator_types +"/compute:v1/compute.acceleratorTypes.list/filter": filter +"/compute:v1/compute.acceleratorTypes.list/maxResults": max_results +"/compute:v1/compute.acceleratorTypes.list/orderBy": order_by +"/compute:v1/compute.acceleratorTypes.list/pageToken": page_token +"/compute:v1/compute.acceleratorTypes.list/project": project +"/compute:v1/compute.acceleratorTypes.list/zone": zone +"/compute:v1/compute.addresses.aggregatedList": list_aggregated_addresses +"/compute:v1/compute.addresses.aggregatedList/filter": filter +"/compute:v1/compute.addresses.aggregatedList/maxResults": max_results +"/compute:v1/compute.addresses.aggregatedList/orderBy": order_by +"/compute:v1/compute.addresses.aggregatedList/pageToken": page_token +"/compute:v1/compute.addresses.aggregatedList/project": project +"/compute:v1/compute.addresses.delete": delete_address +"/compute:v1/compute.addresses.delete/address": address +"/compute:v1/compute.addresses.delete/project": project +"/compute:v1/compute.addresses.delete/region": region +"/compute:v1/compute.addresses.delete/requestId": request_id +"/compute:v1/compute.addresses.get": get_address +"/compute:v1/compute.addresses.get/address": address +"/compute:v1/compute.addresses.get/project": project +"/compute:v1/compute.addresses.get/region": region +"/compute:v1/compute.addresses.insert": insert_address +"/compute:v1/compute.addresses.insert/project": project +"/compute:v1/compute.addresses.insert/region": region +"/compute:v1/compute.addresses.insert/requestId": request_id +"/compute:v1/compute.addresses.list": list_addresses +"/compute:v1/compute.addresses.list/filter": filter +"/compute:v1/compute.addresses.list/maxResults": max_results +"/compute:v1/compute.addresses.list/orderBy": order_by +"/compute:v1/compute.addresses.list/pageToken": page_token +"/compute:v1/compute.addresses.list/project": project +"/compute:v1/compute.addresses.list/region": region +"/compute:v1/compute.autoscalers.aggregatedList": list_aggregated_autoscalers +"/compute:v1/compute.autoscalers.aggregatedList/filter": filter +"/compute:v1/compute.autoscalers.aggregatedList/maxResults": max_results +"/compute:v1/compute.autoscalers.aggregatedList/orderBy": order_by +"/compute:v1/compute.autoscalers.aggregatedList/pageToken": page_token +"/compute:v1/compute.autoscalers.aggregatedList/project": project +"/compute:v1/compute.autoscalers.delete": delete_autoscaler +"/compute:v1/compute.autoscalers.delete/autoscaler": autoscaler +"/compute:v1/compute.autoscalers.delete/project": project +"/compute:v1/compute.autoscalers.delete/requestId": request_id +"/compute:v1/compute.autoscalers.delete/zone": zone +"/compute:v1/compute.autoscalers.get": get_autoscaler +"/compute:v1/compute.autoscalers.get/autoscaler": autoscaler +"/compute:v1/compute.autoscalers.get/project": project +"/compute:v1/compute.autoscalers.get/zone": zone +"/compute:v1/compute.autoscalers.insert": insert_autoscaler +"/compute:v1/compute.autoscalers.insert/project": project +"/compute:v1/compute.autoscalers.insert/requestId": request_id +"/compute:v1/compute.autoscalers.insert/zone": zone +"/compute:v1/compute.autoscalers.list": list_autoscalers +"/compute:v1/compute.autoscalers.list/filter": filter +"/compute:v1/compute.autoscalers.list/maxResults": max_results +"/compute:v1/compute.autoscalers.list/orderBy": order_by +"/compute:v1/compute.autoscalers.list/pageToken": page_token +"/compute:v1/compute.autoscalers.list/project": project +"/compute:v1/compute.autoscalers.list/zone": zone +"/compute:v1/compute.autoscalers.patch": patch_autoscaler +"/compute:v1/compute.autoscalers.patch/autoscaler": autoscaler +"/compute:v1/compute.autoscalers.patch/project": project +"/compute:v1/compute.autoscalers.patch/requestId": request_id +"/compute:v1/compute.autoscalers.patch/zone": zone +"/compute:v1/compute.autoscalers.update": update_autoscaler +"/compute:v1/compute.autoscalers.update/autoscaler": autoscaler +"/compute:v1/compute.autoscalers.update/project": project +"/compute:v1/compute.autoscalers.update/requestId": request_id +"/compute:v1/compute.autoscalers.update/zone": zone +"/compute:v1/compute.backendBuckets.delete": delete_backend_bucket +"/compute:v1/compute.backendBuckets.delete/backendBucket": backend_bucket +"/compute:v1/compute.backendBuckets.delete/project": project +"/compute:v1/compute.backendBuckets.delete/requestId": request_id +"/compute:v1/compute.backendBuckets.get": get_backend_bucket +"/compute:v1/compute.backendBuckets.get/backendBucket": backend_bucket +"/compute:v1/compute.backendBuckets.get/project": project +"/compute:v1/compute.backendBuckets.insert": insert_backend_bucket +"/compute:v1/compute.backendBuckets.insert/project": project +"/compute:v1/compute.backendBuckets.insert/requestId": request_id +"/compute:v1/compute.backendBuckets.list": list_backend_buckets +"/compute:v1/compute.backendBuckets.list/filter": filter +"/compute:v1/compute.backendBuckets.list/maxResults": max_results +"/compute:v1/compute.backendBuckets.list/orderBy": order_by +"/compute:v1/compute.backendBuckets.list/pageToken": page_token +"/compute:v1/compute.backendBuckets.list/project": project +"/compute:v1/compute.backendBuckets.patch": patch_backend_bucket +"/compute:v1/compute.backendBuckets.patch/backendBucket": backend_bucket +"/compute:v1/compute.backendBuckets.patch/project": project +"/compute:v1/compute.backendBuckets.patch/requestId": request_id +"/compute:v1/compute.backendBuckets.update": update_backend_bucket +"/compute:v1/compute.backendBuckets.update/backendBucket": backend_bucket +"/compute:v1/compute.backendBuckets.update/project": project +"/compute:v1/compute.backendBuckets.update/requestId": request_id +"/compute:v1/compute.backendServices.aggregatedList": aggregated_backend_service_list +"/compute:v1/compute.backendServices.aggregatedList/filter": filter +"/compute:v1/compute.backendServices.aggregatedList/maxResults": max_results +"/compute:v1/compute.backendServices.aggregatedList/orderBy": order_by +"/compute:v1/compute.backendServices.aggregatedList/pageToken": page_token +"/compute:v1/compute.backendServices.aggregatedList/project": project +"/compute:v1/compute.backendServices.delete": delete_backend_service +"/compute:v1/compute.backendServices.delete/backendService": backend_service +"/compute:v1/compute.backendServices.delete/project": project +"/compute:v1/compute.backendServices.delete/requestId": request_id +"/compute:v1/compute.backendServices.get": get_backend_service +"/compute:v1/compute.backendServices.get/backendService": backend_service +"/compute:v1/compute.backendServices.get/project": project +"/compute:v1/compute.backendServices.getHealth": get_backend_service_health +"/compute:v1/compute.backendServices.getHealth/backendService": backend_service +"/compute:v1/compute.backendServices.getHealth/project": project +"/compute:v1/compute.backendServices.insert": insert_backend_service +"/compute:v1/compute.backendServices.insert/project": project +"/compute:v1/compute.backendServices.insert/requestId": request_id +"/compute:v1/compute.backendServices.list": list_backend_services +"/compute:v1/compute.backendServices.list/filter": filter +"/compute:v1/compute.backendServices.list/maxResults": max_results +"/compute:v1/compute.backendServices.list/orderBy": order_by +"/compute:v1/compute.backendServices.list/pageToken": page_token +"/compute:v1/compute.backendServices.list/project": project +"/compute:v1/compute.backendServices.patch": patch_backend_service +"/compute:v1/compute.backendServices.patch/backendService": backend_service +"/compute:v1/compute.backendServices.patch/project": project +"/compute:v1/compute.backendServices.patch/requestId": request_id +"/compute:v1/compute.backendServices.update": update_backend_service +"/compute:v1/compute.backendServices.update/backendService": backend_service +"/compute:v1/compute.backendServices.update/project": project +"/compute:v1/compute.backendServices.update/requestId": request_id +"/compute:v1/compute.diskTypes.aggregatedList": list_aggregated_disk_types +"/compute:v1/compute.diskTypes.aggregatedList/filter": filter +"/compute:v1/compute.diskTypes.aggregatedList/maxResults": max_results +"/compute:v1/compute.diskTypes.aggregatedList/orderBy": order_by +"/compute:v1/compute.diskTypes.aggregatedList/pageToken": page_token +"/compute:v1/compute.diskTypes.aggregatedList/project": project +"/compute:v1/compute.diskTypes.get": get_disk_type +"/compute:v1/compute.diskTypes.get/diskType": disk_type +"/compute:v1/compute.diskTypes.get/project": project +"/compute:v1/compute.diskTypes.get/zone": zone +"/compute:v1/compute.diskTypes.list": list_disk_types +"/compute:v1/compute.diskTypes.list/filter": filter +"/compute:v1/compute.diskTypes.list/maxResults": max_results +"/compute:v1/compute.diskTypes.list/orderBy": order_by +"/compute:v1/compute.diskTypes.list/pageToken": page_token +"/compute:v1/compute.diskTypes.list/project": project +"/compute:v1/compute.diskTypes.list/zone": zone +"/compute:v1/compute.disks.aggregatedList": list_aggregated_disk +"/compute:v1/compute.disks.aggregatedList/filter": filter +"/compute:v1/compute.disks.aggregatedList/maxResults": max_results +"/compute:v1/compute.disks.aggregatedList/orderBy": order_by +"/compute:v1/compute.disks.aggregatedList/pageToken": page_token +"/compute:v1/compute.disks.aggregatedList/project": project +"/compute:v1/compute.disks.createSnapshot": create_disk_snapshot +"/compute:v1/compute.disks.createSnapshot/disk": disk +"/compute:v1/compute.disks.createSnapshot/guestFlush": guest_flush +"/compute:v1/compute.disks.createSnapshot/project": project +"/compute:v1/compute.disks.createSnapshot/requestId": request_id +"/compute:v1/compute.disks.createSnapshot/zone": zone +"/compute:v1/compute.disks.delete": delete_disk +"/compute:v1/compute.disks.delete/disk": disk +"/compute:v1/compute.disks.delete/project": project +"/compute:v1/compute.disks.delete/requestId": request_id +"/compute:v1/compute.disks.delete/zone": zone +"/compute:v1/compute.disks.get": get_disk +"/compute:v1/compute.disks.get/disk": disk +"/compute:v1/compute.disks.get/project": project +"/compute:v1/compute.disks.get/zone": zone +"/compute:v1/compute.disks.insert": insert_disk +"/compute:v1/compute.disks.insert/project": project +"/compute:v1/compute.disks.insert/requestId": request_id +"/compute:v1/compute.disks.insert/sourceImage": source_image +"/compute:v1/compute.disks.insert/zone": zone +"/compute:v1/compute.disks.list": list_disks +"/compute:v1/compute.disks.list/filter": filter +"/compute:v1/compute.disks.list/maxResults": max_results +"/compute:v1/compute.disks.list/orderBy": order_by +"/compute:v1/compute.disks.list/pageToken": page_token +"/compute:v1/compute.disks.list/project": project +"/compute:v1/compute.disks.list/zone": zone +"/compute:v1/compute.disks.resize": resize_disk +"/compute:v1/compute.disks.resize/disk": disk +"/compute:v1/compute.disks.resize/project": project +"/compute:v1/compute.disks.resize/requestId": request_id +"/compute:v1/compute.disks.resize/zone": zone +"/compute:v1/compute.disks.setLabels": set_disk_labels +"/compute:v1/compute.disks.setLabels/project": project +"/compute:v1/compute.disks.setLabels/requestId": request_id +"/compute:v1/compute.disks.setLabels/resource": resource +"/compute:v1/compute.disks.setLabels/zone": zone +"/compute:v1/compute.firewalls.delete": delete_firewall +"/compute:v1/compute.firewalls.delete/firewall": firewall +"/compute:v1/compute.firewalls.delete/project": project +"/compute:v1/compute.firewalls.delete/requestId": request_id +"/compute:v1/compute.firewalls.get": get_firewall +"/compute:v1/compute.firewalls.get/firewall": firewall +"/compute:v1/compute.firewalls.get/project": project +"/compute:v1/compute.firewalls.insert": insert_firewall +"/compute:v1/compute.firewalls.insert/project": project +"/compute:v1/compute.firewalls.insert/requestId": request_id +"/compute:v1/compute.firewalls.list": list_firewalls +"/compute:v1/compute.firewalls.list/filter": filter +"/compute:v1/compute.firewalls.list/maxResults": max_results +"/compute:v1/compute.firewalls.list/orderBy": order_by +"/compute:v1/compute.firewalls.list/pageToken": page_token +"/compute:v1/compute.firewalls.list/project": project +"/compute:v1/compute.firewalls.patch": patch_firewall +"/compute:v1/compute.firewalls.patch/firewall": firewall +"/compute:v1/compute.firewalls.patch/project": project +"/compute:v1/compute.firewalls.patch/requestId": request_id +"/compute:v1/compute.firewalls.update": update_firewall +"/compute:v1/compute.firewalls.update/firewall": firewall +"/compute:v1/compute.firewalls.update/project": project +"/compute:v1/compute.firewalls.update/requestId": request_id +"/compute:v1/compute.forwardingRules.aggregatedList": list_aggregated_forwarding_rules +"/compute:v1/compute.forwardingRules.aggregatedList/filter": filter +"/compute:v1/compute.forwardingRules.aggregatedList/maxResults": max_results +"/compute:v1/compute.forwardingRules.aggregatedList/orderBy": order_by +"/compute:v1/compute.forwardingRules.aggregatedList/pageToken": page_token +"/compute:v1/compute.forwardingRules.aggregatedList/project": project +"/compute:v1/compute.forwardingRules.delete": delete_forwarding_rule +"/compute:v1/compute.forwardingRules.delete/forwardingRule": forwarding_rule +"/compute:v1/compute.forwardingRules.delete/project": project +"/compute:v1/compute.forwardingRules.delete/region": region +"/compute:v1/compute.forwardingRules.delete/requestId": request_id +"/compute:v1/compute.forwardingRules.get": get_forwarding_rule +"/compute:v1/compute.forwardingRules.get/forwardingRule": forwarding_rule +"/compute:v1/compute.forwardingRules.get/project": project +"/compute:v1/compute.forwardingRules.get/region": region +"/compute:v1/compute.forwardingRules.insert": insert_forwarding_rule +"/compute:v1/compute.forwardingRules.insert/project": project +"/compute:v1/compute.forwardingRules.insert/region": region +"/compute:v1/compute.forwardingRules.insert/requestId": request_id +"/compute:v1/compute.forwardingRules.list": list_forwarding_rules +"/compute:v1/compute.forwardingRules.list/filter": filter +"/compute:v1/compute.forwardingRules.list/maxResults": max_results +"/compute:v1/compute.forwardingRules.list/orderBy": order_by +"/compute:v1/compute.forwardingRules.list/pageToken": page_token +"/compute:v1/compute.forwardingRules.list/project": project +"/compute:v1/compute.forwardingRules.list/region": region +"/compute:v1/compute.forwardingRules.setTarget": set_forwarding_rule_target +"/compute:v1/compute.forwardingRules.setTarget/forwardingRule": forwarding_rule +"/compute:v1/compute.forwardingRules.setTarget/project": project +"/compute:v1/compute.forwardingRules.setTarget/region": region +"/compute:v1/compute.forwardingRules.setTarget/requestId": request_id +"/compute:v1/compute.globalAddresses.delete": delete_global_address +"/compute:v1/compute.globalAddresses.delete/address": address +"/compute:v1/compute.globalAddresses.delete/project": project +"/compute:v1/compute.globalAddresses.delete/requestId": request_id +"/compute:v1/compute.globalAddresses.get": get_global_address +"/compute:v1/compute.globalAddresses.get/address": address +"/compute:v1/compute.globalAddresses.get/project": project +"/compute:v1/compute.globalAddresses.insert": insert_global_address +"/compute:v1/compute.globalAddresses.insert/project": project +"/compute:v1/compute.globalAddresses.insert/requestId": request_id +"/compute:v1/compute.globalAddresses.list": list_global_addresses +"/compute:v1/compute.globalAddresses.list/filter": filter +"/compute:v1/compute.globalAddresses.list/maxResults": max_results +"/compute:v1/compute.globalAddresses.list/orderBy": order_by +"/compute:v1/compute.globalAddresses.list/pageToken": page_token +"/compute:v1/compute.globalAddresses.list/project": project +"/compute:v1/compute.globalForwardingRules.delete": delete_global_forwarding_rule +"/compute:v1/compute.globalForwardingRules.delete/forwardingRule": forwarding_rule +"/compute:v1/compute.globalForwardingRules.delete/project": project +"/compute:v1/compute.globalForwardingRules.delete/requestId": request_id +"/compute:v1/compute.globalForwardingRules.get": get_global_forwarding_rule +"/compute:v1/compute.globalForwardingRules.get/forwardingRule": forwarding_rule +"/compute:v1/compute.globalForwardingRules.get/project": project +"/compute:v1/compute.globalForwardingRules.insert": insert_global_forwarding_rule +"/compute:v1/compute.globalForwardingRules.insert/project": project +"/compute:v1/compute.globalForwardingRules.insert/requestId": request_id +"/compute:v1/compute.globalForwardingRules.list": list_global_forwarding_rules +"/compute:v1/compute.globalForwardingRules.list/filter": filter +"/compute:v1/compute.globalForwardingRules.list/maxResults": max_results +"/compute:v1/compute.globalForwardingRules.list/orderBy": order_by +"/compute:v1/compute.globalForwardingRules.list/pageToken": page_token +"/compute:v1/compute.globalForwardingRules.list/project": project +"/compute:v1/compute.globalForwardingRules.setTarget": set_global_forwarding_rule_target +"/compute:v1/compute.globalForwardingRules.setTarget/forwardingRule": forwarding_rule +"/compute:v1/compute.globalForwardingRules.setTarget/project": project +"/compute:v1/compute.globalForwardingRules.setTarget/requestId": request_id +"/compute:v1/compute.globalOperations.aggregatedList": list_aggregated_global_operation +"/compute:v1/compute.globalOperations.aggregatedList/filter": filter +"/compute:v1/compute.globalOperations.aggregatedList/maxResults": max_results +"/compute:v1/compute.globalOperations.aggregatedList/orderBy": order_by +"/compute:v1/compute.globalOperations.aggregatedList/pageToken": page_token +"/compute:v1/compute.globalOperations.aggregatedList/project": project +"/compute:v1/compute.globalOperations.delete": delete_global_operation +"/compute:v1/compute.globalOperations.delete/operation": operation +"/compute:v1/compute.globalOperations.delete/project": project +"/compute:v1/compute.globalOperations.get": get_global_operation +"/compute:v1/compute.globalOperations.get/operation": operation +"/compute:v1/compute.globalOperations.get/project": project +"/compute:v1/compute.globalOperations.list": list_global_operations +"/compute:v1/compute.globalOperations.list/filter": filter +"/compute:v1/compute.globalOperations.list/maxResults": max_results +"/compute:v1/compute.globalOperations.list/orderBy": order_by +"/compute:v1/compute.globalOperations.list/pageToken": page_token +"/compute:v1/compute.globalOperations.list/project": project +"/compute:v1/compute.healthChecks.delete": delete_health_check +"/compute:v1/compute.healthChecks.delete/healthCheck": health_check +"/compute:v1/compute.healthChecks.delete/project": project +"/compute:v1/compute.healthChecks.delete/requestId": request_id +"/compute:v1/compute.healthChecks.get": get_health_check +"/compute:v1/compute.healthChecks.get/healthCheck": health_check +"/compute:v1/compute.healthChecks.get/project": project +"/compute:v1/compute.healthChecks.insert": insert_health_check +"/compute:v1/compute.healthChecks.insert/project": project +"/compute:v1/compute.healthChecks.insert/requestId": request_id +"/compute:v1/compute.healthChecks.list": list_health_checks +"/compute:v1/compute.healthChecks.list/filter": filter +"/compute:v1/compute.healthChecks.list/maxResults": max_results +"/compute:v1/compute.healthChecks.list/orderBy": order_by +"/compute:v1/compute.healthChecks.list/pageToken": page_token +"/compute:v1/compute.healthChecks.list/project": project +"/compute:v1/compute.healthChecks.patch": patch_health_check +"/compute:v1/compute.healthChecks.patch/healthCheck": health_check +"/compute:v1/compute.healthChecks.patch/project": project +"/compute:v1/compute.healthChecks.patch/requestId": request_id +"/compute:v1/compute.healthChecks.update": update_health_check +"/compute:v1/compute.healthChecks.update/healthCheck": health_check +"/compute:v1/compute.healthChecks.update/project": project +"/compute:v1/compute.healthChecks.update/requestId": request_id +"/compute:v1/compute.httpHealthChecks.delete": delete_http_health_check +"/compute:v1/compute.httpHealthChecks.delete/httpHealthCheck": http_health_check +"/compute:v1/compute.httpHealthChecks.delete/project": project +"/compute:v1/compute.httpHealthChecks.delete/requestId": request_id +"/compute:v1/compute.httpHealthChecks.get": get_http_health_check +"/compute:v1/compute.httpHealthChecks.get/httpHealthCheck": http_health_check +"/compute:v1/compute.httpHealthChecks.get/project": project +"/compute:v1/compute.httpHealthChecks.insert": insert_http_health_check +"/compute:v1/compute.httpHealthChecks.insert/project": project +"/compute:v1/compute.httpHealthChecks.insert/requestId": request_id +"/compute:v1/compute.httpHealthChecks.list": list_http_health_checks +"/compute:v1/compute.httpHealthChecks.list/filter": filter +"/compute:v1/compute.httpHealthChecks.list/maxResults": max_results +"/compute:v1/compute.httpHealthChecks.list/orderBy": order_by +"/compute:v1/compute.httpHealthChecks.list/pageToken": page_token +"/compute:v1/compute.httpHealthChecks.list/project": project +"/compute:v1/compute.httpHealthChecks.patch": patch_http_health_check +"/compute:v1/compute.httpHealthChecks.patch/httpHealthCheck": http_health_check +"/compute:v1/compute.httpHealthChecks.patch/project": project +"/compute:v1/compute.httpHealthChecks.patch/requestId": request_id +"/compute:v1/compute.httpHealthChecks.update": update_http_health_check +"/compute:v1/compute.httpHealthChecks.update/httpHealthCheck": http_health_check +"/compute:v1/compute.httpHealthChecks.update/project": project +"/compute:v1/compute.httpHealthChecks.update/requestId": request_id +"/compute:v1/compute.httpsHealthChecks.delete": delete_https_health_check +"/compute:v1/compute.httpsHealthChecks.delete/httpsHealthCheck": https_health_check +"/compute:v1/compute.httpsHealthChecks.delete/project": project +"/compute:v1/compute.httpsHealthChecks.delete/requestId": request_id +"/compute:v1/compute.httpsHealthChecks.get": get_https_health_check +"/compute:v1/compute.httpsHealthChecks.get/httpsHealthCheck": https_health_check +"/compute:v1/compute.httpsHealthChecks.get/project": project +"/compute:v1/compute.httpsHealthChecks.insert": insert_https_health_check +"/compute:v1/compute.httpsHealthChecks.insert/project": project +"/compute:v1/compute.httpsHealthChecks.insert/requestId": request_id +"/compute:v1/compute.httpsHealthChecks.list": list_https_health_checks +"/compute:v1/compute.httpsHealthChecks.list/filter": filter +"/compute:v1/compute.httpsHealthChecks.list/maxResults": max_results +"/compute:v1/compute.httpsHealthChecks.list/orderBy": order_by +"/compute:v1/compute.httpsHealthChecks.list/pageToken": page_token +"/compute:v1/compute.httpsHealthChecks.list/project": project +"/compute:v1/compute.httpsHealthChecks.patch": patch_https_health_check +"/compute:v1/compute.httpsHealthChecks.patch/httpsHealthCheck": https_health_check +"/compute:v1/compute.httpsHealthChecks.patch/project": project +"/compute:v1/compute.httpsHealthChecks.patch/requestId": request_id +"/compute:v1/compute.httpsHealthChecks.update": update_https_health_check +"/compute:v1/compute.httpsHealthChecks.update/httpsHealthCheck": https_health_check +"/compute:v1/compute.httpsHealthChecks.update/project": project +"/compute:v1/compute.httpsHealthChecks.update/requestId": request_id +"/compute:v1/compute.images.delete": delete_image +"/compute:v1/compute.images.delete/image": image +"/compute:v1/compute.images.delete/project": project +"/compute:v1/compute.images.delete/requestId": request_id +"/compute:v1/compute.images.deprecate": deprecate_image +"/compute:v1/compute.images.deprecate/image": image +"/compute:v1/compute.images.deprecate/project": project +"/compute:v1/compute.images.deprecate/requestId": request_id +"/compute:v1/compute.images.get": get_image +"/compute:v1/compute.images.get/image": image +"/compute:v1/compute.images.get/project": project +"/compute:v1/compute.images.getFromFamily": get_image_from_family +"/compute:v1/compute.images.getFromFamily/family": family +"/compute:v1/compute.images.getFromFamily/project": project +"/compute:v1/compute.images.insert": insert_image +"/compute:v1/compute.images.insert/forceCreate": force_create +"/compute:v1/compute.images.insert/project": project +"/compute:v1/compute.images.insert/requestId": request_id +"/compute:v1/compute.images.list": list_images +"/compute:v1/compute.images.list/filter": filter +"/compute:v1/compute.images.list/maxResults": max_results +"/compute:v1/compute.images.list/orderBy": order_by +"/compute:v1/compute.images.list/pageToken": page_token +"/compute:v1/compute.images.list/project": project +"/compute:v1/compute.images.setLabels": set_image_labels +"/compute:v1/compute.images.setLabels/project": project +"/compute:v1/compute.images.setLabels/resource": resource +"/compute:v1/compute.instanceGroupManagers.abandonInstances": abandon_instance_group_manager_instances +"/compute:v1/compute.instanceGroupManagers.abandonInstances/instanceGroupManager": instance_group_manager +"/compute:v1/compute.instanceGroupManagers.abandonInstances/project": project +"/compute:v1/compute.instanceGroupManagers.abandonInstances/requestId": request_id +"/compute:v1/compute.instanceGroupManagers.abandonInstances/zone": zone +"/compute:v1/compute.instanceGroupManagers.aggregatedList": list_aggregated_instance_group_managers +"/compute:v1/compute.instanceGroupManagers.aggregatedList/filter": filter +"/compute:v1/compute.instanceGroupManagers.aggregatedList/maxResults": max_results +"/compute:v1/compute.instanceGroupManagers.aggregatedList/orderBy": order_by +"/compute:v1/compute.instanceGroupManagers.aggregatedList/pageToken": page_token +"/compute:v1/compute.instanceGroupManagers.aggregatedList/project": project +"/compute:v1/compute.instanceGroupManagers.delete": delete_instance_group_manager +"/compute:v1/compute.instanceGroupManagers.delete/instanceGroupManager": instance_group_manager +"/compute:v1/compute.instanceGroupManagers.delete/project": project +"/compute:v1/compute.instanceGroupManagers.delete/requestId": request_id +"/compute:v1/compute.instanceGroupManagers.delete/zone": zone +"/compute:v1/compute.instanceGroupManagers.deleteInstances": delete_instance_group_manager_instances +"/compute:v1/compute.instanceGroupManagers.deleteInstances/instanceGroupManager": instance_group_manager +"/compute:v1/compute.instanceGroupManagers.deleteInstances/project": project +"/compute:v1/compute.instanceGroupManagers.deleteInstances/requestId": request_id +"/compute:v1/compute.instanceGroupManagers.deleteInstances/zone": zone +"/compute:v1/compute.instanceGroupManagers.get": get_instance_group_manager +"/compute:v1/compute.instanceGroupManagers.get/instanceGroupManager": instance_group_manager +"/compute:v1/compute.instanceGroupManagers.get/project": project +"/compute:v1/compute.instanceGroupManagers.get/zone": zone +"/compute:v1/compute.instanceGroupManagers.insert": insert_instance_group_manager +"/compute:v1/compute.instanceGroupManagers.insert/project": project +"/compute:v1/compute.instanceGroupManagers.insert/requestId": request_id +"/compute:v1/compute.instanceGroupManagers.insert/zone": zone +"/compute:v1/compute.instanceGroupManagers.list": list_instance_group_managers +"/compute:v1/compute.instanceGroupManagers.list/filter": filter +"/compute:v1/compute.instanceGroupManagers.list/maxResults": max_results +"/compute:v1/compute.instanceGroupManagers.list/orderBy": order_by +"/compute:v1/compute.instanceGroupManagers.list/pageToken": page_token +"/compute:v1/compute.instanceGroupManagers.list/project": project +"/compute:v1/compute.instanceGroupManagers.list/zone": zone +"/compute:v1/compute.instanceGroupManagers.listManagedInstances": list_instance_group_manager_managed_instances +"/compute:v1/compute.instanceGroupManagers.listManagedInstances/filter": filter +"/compute:v1/compute.instanceGroupManagers.listManagedInstances/instanceGroupManager": instance_group_manager +"/compute:v1/compute.instanceGroupManagers.listManagedInstances/maxResults": max_results +"/compute:v1/compute.instanceGroupManagers.listManagedInstances/order_by": order_by +"/compute:v1/compute.instanceGroupManagers.listManagedInstances/pageToken": page_token +"/compute:v1/compute.instanceGroupManagers.listManagedInstances/project": project +"/compute:v1/compute.instanceGroupManagers.listManagedInstances/zone": zone +"/compute:v1/compute.instanceGroupManagers.recreateInstances": recreate_instance_group_manager_instances +"/compute:v1/compute.instanceGroupManagers.recreateInstances/instanceGroupManager": instance_group_manager +"/compute:v1/compute.instanceGroupManagers.recreateInstances/project": project +"/compute:v1/compute.instanceGroupManagers.recreateInstances/requestId": request_id +"/compute:v1/compute.instanceGroupManagers.recreateInstances/zone": zone +"/compute:v1/compute.instanceGroupManagers.resize": resize_instance_group_manager +"/compute:v1/compute.instanceGroupManagers.resize/instanceGroupManager": instance_group_manager +"/compute:v1/compute.instanceGroupManagers.resize/project": project +"/compute:v1/compute.instanceGroupManagers.resize/requestId": request_id +"/compute:v1/compute.instanceGroupManagers.resize/size": size +"/compute:v1/compute.instanceGroupManagers.resize/zone": zone +"/compute:v1/compute.instanceGroupManagers.setInstanceTemplate": set_instance_group_manager_instance_template +"/compute:v1/compute.instanceGroupManagers.setInstanceTemplate/instanceGroupManager": instance_group_manager +"/compute:v1/compute.instanceGroupManagers.setInstanceTemplate/project": project +"/compute:v1/compute.instanceGroupManagers.setInstanceTemplate/requestId": request_id +"/compute:v1/compute.instanceGroupManagers.setInstanceTemplate/zone": zone +"/compute:v1/compute.instanceGroupManagers.setTargetPools": set_instance_group_manager_target_pools +"/compute:v1/compute.instanceGroupManagers.setTargetPools/instanceGroupManager": instance_group_manager +"/compute:v1/compute.instanceGroupManagers.setTargetPools/project": project +"/compute:v1/compute.instanceGroupManagers.setTargetPools/requestId": request_id +"/compute:v1/compute.instanceGroupManagers.setTargetPools/zone": zone +"/compute:v1/compute.instanceGroups.addInstances": add_instance_group_instances +"/compute:v1/compute.instanceGroups.addInstances/instanceGroup": instance_group +"/compute:v1/compute.instanceGroups.addInstances/project": project +"/compute:v1/compute.instanceGroups.addInstances/requestId": request_id +"/compute:v1/compute.instanceGroups.addInstances/zone": zone +"/compute:v1/compute.instanceGroups.aggregatedList": list_aggregated_instance_groups +"/compute:v1/compute.instanceGroups.aggregatedList/filter": filter +"/compute:v1/compute.instanceGroups.aggregatedList/maxResults": max_results +"/compute:v1/compute.instanceGroups.aggregatedList/orderBy": order_by +"/compute:v1/compute.instanceGroups.aggregatedList/pageToken": page_token +"/compute:v1/compute.instanceGroups.aggregatedList/project": project +"/compute:v1/compute.instanceGroups.delete": delete_instance_group +"/compute:v1/compute.instanceGroups.delete/instanceGroup": instance_group +"/compute:v1/compute.instanceGroups.delete/project": project +"/compute:v1/compute.instanceGroups.delete/requestId": request_id +"/compute:v1/compute.instanceGroups.delete/zone": zone +"/compute:v1/compute.instanceGroups.get": get_instance_group +"/compute:v1/compute.instanceGroups.get/instanceGroup": instance_group +"/compute:v1/compute.instanceGroups.get/project": project +"/compute:v1/compute.instanceGroups.get/zone": zone +"/compute:v1/compute.instanceGroups.insert": insert_instance_group +"/compute:v1/compute.instanceGroups.insert/project": project +"/compute:v1/compute.instanceGroups.insert/requestId": request_id +"/compute:v1/compute.instanceGroups.insert/zone": zone +"/compute:v1/compute.instanceGroups.list": list_instance_groups +"/compute:v1/compute.instanceGroups.list/filter": filter +"/compute:v1/compute.instanceGroups.list/maxResults": max_results +"/compute:v1/compute.instanceGroups.list/orderBy": order_by +"/compute:v1/compute.instanceGroups.list/pageToken": page_token +"/compute:v1/compute.instanceGroups.list/project": project +"/compute:v1/compute.instanceGroups.list/zone": zone +"/compute:v1/compute.instanceGroups.listInstances": list_instance_group_instances +"/compute:v1/compute.instanceGroups.listInstances/filter": filter +"/compute:v1/compute.instanceGroups.listInstances/instanceGroup": instance_group +"/compute:v1/compute.instanceGroups.listInstances/maxResults": max_results +"/compute:v1/compute.instanceGroups.listInstances/orderBy": order_by +"/compute:v1/compute.instanceGroups.listInstances/pageToken": page_token +"/compute:v1/compute.instanceGroups.listInstances/project": project +"/compute:v1/compute.instanceGroups.listInstances/zone": zone +"/compute:v1/compute.instanceGroups.removeInstances": remove_instance_group_instances +"/compute:v1/compute.instanceGroups.removeInstances/instanceGroup": instance_group +"/compute:v1/compute.instanceGroups.removeInstances/project": project +"/compute:v1/compute.instanceGroups.removeInstances/requestId": request_id +"/compute:v1/compute.instanceGroups.removeInstances/zone": zone +"/compute:v1/compute.instanceGroups.setNamedPorts": set_instance_group_named_ports +"/compute:v1/compute.instanceGroups.setNamedPorts/instanceGroup": instance_group +"/compute:v1/compute.instanceGroups.setNamedPorts/project": project +"/compute:v1/compute.instanceGroups.setNamedPorts/requestId": request_id +"/compute:v1/compute.instanceGroups.setNamedPorts/zone": zone +"/compute:v1/compute.instanceTemplates.delete": delete_instance_template +"/compute:v1/compute.instanceTemplates.delete/instanceTemplate": instance_template +"/compute:v1/compute.instanceTemplates.delete/project": project +"/compute:v1/compute.instanceTemplates.delete/requestId": request_id +"/compute:v1/compute.instanceTemplates.get": get_instance_template +"/compute:v1/compute.instanceTemplates.get/instanceTemplate": instance_template +"/compute:v1/compute.instanceTemplates.get/project": project +"/compute:v1/compute.instanceTemplates.insert": insert_instance_template +"/compute:v1/compute.instanceTemplates.insert/project": project +"/compute:v1/compute.instanceTemplates.insert/requestId": request_id +"/compute:v1/compute.instanceTemplates.list": list_instance_templates +"/compute:v1/compute.instanceTemplates.list/filter": filter +"/compute:v1/compute.instanceTemplates.list/maxResults": max_results +"/compute:v1/compute.instanceTemplates.list/orderBy": order_by +"/compute:v1/compute.instanceTemplates.list/pageToken": page_token +"/compute:v1/compute.instanceTemplates.list/project": project +"/compute:v1/compute.instances.addAccessConfig": add_instance_access_config +"/compute:v1/compute.instances.addAccessConfig/instance": instance +"/compute:v1/compute.instances.addAccessConfig/networkInterface": network_interface +"/compute:v1/compute.instances.addAccessConfig/project": project +"/compute:v1/compute.instances.addAccessConfig/requestId": request_id +"/compute:v1/compute.instances.addAccessConfig/zone": zone +"/compute:v1/compute.instances.aggregatedList": list_aggregated_instances +"/compute:v1/compute.instances.aggregatedList/filter": filter +"/compute:v1/compute.instances.aggregatedList/maxResults": max_results +"/compute:v1/compute.instances.aggregatedList/orderBy": order_by +"/compute:v1/compute.instances.aggregatedList/pageToken": page_token +"/compute:v1/compute.instances.aggregatedList/project": project +"/compute:v1/compute.instances.attachDisk": attach_disk +"/compute:v1/compute.instances.attachDisk/instance": instance +"/compute:v1/compute.instances.attachDisk/project": project +"/compute:v1/compute.instances.attachDisk/requestId": request_id +"/compute:v1/compute.instances.attachDisk/zone": zone +"/compute:v1/compute.instances.delete": delete_instance +"/compute:v1/compute.instances.delete/instance": instance +"/compute:v1/compute.instances.delete/project": project +"/compute:v1/compute.instances.delete/requestId": request_id +"/compute:v1/compute.instances.delete/zone": zone +"/compute:v1/compute.instances.deleteAccessConfig": delete_instance_access_config +"/compute:v1/compute.instances.deleteAccessConfig/accessConfig": access_config +"/compute:v1/compute.instances.deleteAccessConfig/instance": instance +"/compute:v1/compute.instances.deleteAccessConfig/networkInterface": network_interface +"/compute:v1/compute.instances.deleteAccessConfig/project": project +"/compute:v1/compute.instances.deleteAccessConfig/requestId": request_id +"/compute:v1/compute.instances.deleteAccessConfig/zone": zone +"/compute:v1/compute.instances.detachDisk": detach_disk +"/compute:v1/compute.instances.detachDisk/deviceName": device_name +"/compute:v1/compute.instances.detachDisk/instance": instance +"/compute:v1/compute.instances.detachDisk/project": project +"/compute:v1/compute.instances.detachDisk/requestId": request_id +"/compute:v1/compute.instances.detachDisk/zone": zone +"/compute:v1/compute.instances.get": get_instance +"/compute:v1/compute.instances.get/instance": instance +"/compute:v1/compute.instances.get/project": project +"/compute:v1/compute.instances.get/zone": zone +"/compute:v1/compute.instances.getSerialPortOutput": get_instance_serial_port_output +"/compute:v1/compute.instances.getSerialPortOutput/instance": instance +"/compute:v1/compute.instances.getSerialPortOutput/port": port +"/compute:v1/compute.instances.getSerialPortOutput/project": project +"/compute:v1/compute.instances.getSerialPortOutput/start": start +"/compute:v1/compute.instances.getSerialPortOutput/zone": zone +"/compute:v1/compute.instances.insert": insert_instance +"/compute:v1/compute.instances.insert/project": project +"/compute:v1/compute.instances.insert/requestId": request_id +"/compute:v1/compute.instances.insert/zone": zone +"/compute:v1/compute.instances.list": list_instances +"/compute:v1/compute.instances.list/filter": filter +"/compute:v1/compute.instances.list/maxResults": max_results +"/compute:v1/compute.instances.list/orderBy": order_by +"/compute:v1/compute.instances.list/pageToken": page_token +"/compute:v1/compute.instances.list/project": project +"/compute:v1/compute.instances.list/zone": zone +"/compute:v1/compute.instances.reset": reset_instance +"/compute:v1/compute.instances.reset/instance": instance +"/compute:v1/compute.instances.reset/project": project +"/compute:v1/compute.instances.reset/requestId": request_id +"/compute:v1/compute.instances.reset/zone": zone +"/compute:v1/compute.instances.setDiskAutoDelete": set_disk_auto_delete +"/compute:v1/compute.instances.setDiskAutoDelete/autoDelete": auto_delete +"/compute:v1/compute.instances.setDiskAutoDelete/deviceName": device_name +"/compute:v1/compute.instances.setDiskAutoDelete/instance": instance +"/compute:v1/compute.instances.setDiskAutoDelete/project": project +"/compute:v1/compute.instances.setDiskAutoDelete/requestId": request_id +"/compute:v1/compute.instances.setDiskAutoDelete/zone": zone +"/compute:v1/compute.instances.setLabels": set_instance_labels +"/compute:v1/compute.instances.setLabels/instance": instance +"/compute:v1/compute.instances.setLabels/project": project +"/compute:v1/compute.instances.setLabels/requestId": request_id +"/compute:v1/compute.instances.setLabels/zone": zone +"/compute:v1/compute.instances.setMachineResources": set_instance_machine_resources +"/compute:v1/compute.instances.setMachineResources/instance": instance +"/compute:v1/compute.instances.setMachineResources/project": project +"/compute:v1/compute.instances.setMachineResources/requestId": request_id +"/compute:v1/compute.instances.setMachineResources/zone": zone +"/compute:v1/compute.instances.setMachineType": set_instance_machine_type +"/compute:v1/compute.instances.setMachineType/instance": instance +"/compute:v1/compute.instances.setMachineType/project": project +"/compute:v1/compute.instances.setMachineType/requestId": request_id +"/compute:v1/compute.instances.setMachineType/zone": zone +"/compute:v1/compute.instances.setMetadata": set_instance_metadata +"/compute:v1/compute.instances.setMetadata/instance": instance +"/compute:v1/compute.instances.setMetadata/project": project +"/compute:v1/compute.instances.setMetadata/requestId": request_id +"/compute:v1/compute.instances.setMetadata/zone": zone +"/compute:v1/compute.instances.setScheduling": set_instance_scheduling +"/compute:v1/compute.instances.setScheduling/instance": instance +"/compute:v1/compute.instances.setScheduling/project": project +"/compute:v1/compute.instances.setScheduling/requestId": request_id +"/compute:v1/compute.instances.setScheduling/zone": zone +"/compute:v1/compute.instances.setServiceAccount": set_instance_service_account +"/compute:v1/compute.instances.setServiceAccount/instance": instance +"/compute:v1/compute.instances.setServiceAccount/project": project +"/compute:v1/compute.instances.setServiceAccount/requestId": request_id +"/compute:v1/compute.instances.setServiceAccount/zone": zone +"/compute:v1/compute.instances.setTags": set_instance_tags +"/compute:v1/compute.instances.setTags/instance": instance +"/compute:v1/compute.instances.setTags/project": project +"/compute:v1/compute.instances.setTags/requestId": request_id +"/compute:v1/compute.instances.setTags/zone": zone +"/compute:v1/compute.instances.start": start_instance +"/compute:v1/compute.instances.start/instance": instance +"/compute:v1/compute.instances.start/project": project +"/compute:v1/compute.instances.start/requestId": request_id +"/compute:v1/compute.instances.start/zone": zone +"/compute:v1/compute.instances.startWithEncryptionKey": start_instance_with_encryption_key +"/compute:v1/compute.instances.startWithEncryptionKey/instance": instance +"/compute:v1/compute.instances.startWithEncryptionKey/project": project +"/compute:v1/compute.instances.startWithEncryptionKey/requestId": request_id +"/compute:v1/compute.instances.startWithEncryptionKey/zone": zone +"/compute:v1/compute.instances.stop": stop_instance +"/compute:v1/compute.instances.stop/instance": instance +"/compute:v1/compute.instances.stop/project": project +"/compute:v1/compute.instances.stop/requestId": request_id +"/compute:v1/compute.instances.stop/zone": zone +"/compute:v1/compute.licenses.get": get_license +"/compute:v1/compute.licenses.get/license": license +"/compute:v1/compute.licenses.get/project": project +"/compute:v1/compute.machineTypes.aggregatedList": list_aggregated_machine_types +"/compute:v1/compute.machineTypes.aggregatedList/filter": filter +"/compute:v1/compute.machineTypes.aggregatedList/maxResults": max_results +"/compute:v1/compute.machineTypes.aggregatedList/orderBy": order_by +"/compute:v1/compute.machineTypes.aggregatedList/pageToken": page_token +"/compute:v1/compute.machineTypes.aggregatedList/project": project +"/compute:v1/compute.machineTypes.get": get_machine_type +"/compute:v1/compute.machineTypes.get/machineType": machine_type +"/compute:v1/compute.machineTypes.get/project": project +"/compute:v1/compute.machineTypes.get/zone": zone +"/compute:v1/compute.machineTypes.list": list_machine_types +"/compute:v1/compute.machineTypes.list/filter": filter +"/compute:v1/compute.machineTypes.list/maxResults": max_results +"/compute:v1/compute.machineTypes.list/orderBy": order_by +"/compute:v1/compute.machineTypes.list/pageToken": page_token +"/compute:v1/compute.machineTypes.list/project": project +"/compute:v1/compute.machineTypes.list/zone": zone +"/compute:v1/compute.networks.addPeering": add_network_peering +"/compute:v1/compute.networks.addPeering/network": network +"/compute:v1/compute.networks.addPeering/project": project +"/compute:v1/compute.networks.addPeering/requestId": request_id +"/compute:v1/compute.networks.delete": delete_network +"/compute:v1/compute.networks.delete/network": network +"/compute:v1/compute.networks.delete/project": project +"/compute:v1/compute.networks.delete/requestId": request_id +"/compute:v1/compute.networks.get": get_network +"/compute:v1/compute.networks.get/network": network +"/compute:v1/compute.networks.get/project": project +"/compute:v1/compute.networks.insert": insert_network +"/compute:v1/compute.networks.insert/project": project +"/compute:v1/compute.networks.insert/requestId": request_id +"/compute:v1/compute.networks.list": list_networks +"/compute:v1/compute.networks.list/filter": filter +"/compute:v1/compute.networks.list/maxResults": max_results +"/compute:v1/compute.networks.list/orderBy": order_by +"/compute:v1/compute.networks.list/pageToken": page_token +"/compute:v1/compute.networks.list/project": project +"/compute:v1/compute.networks.removePeering": remove_network_peering +"/compute:v1/compute.networks.removePeering/network": network +"/compute:v1/compute.networks.removePeering/project": project +"/compute:v1/compute.networks.removePeering/requestId": request_id +"/compute:v1/compute.networks.switchToCustomMode": switch_network_to_custom_mode +"/compute:v1/compute.networks.switchToCustomMode/network": network +"/compute:v1/compute.networks.switchToCustomMode/project": project +"/compute:v1/compute.networks.switchToCustomMode/requestId": request_id +"/compute:v1/compute.projects.disableXpnHost": disable_project_xpn_host +"/compute:v1/compute.projects.disableXpnHost/project": project +"/compute:v1/compute.projects.disableXpnHost/requestId": request_id +"/compute:v1/compute.projects.disableXpnResource": disable_project_xpn_resource +"/compute:v1/compute.projects.disableXpnResource/project": project +"/compute:v1/compute.projects.disableXpnResource/requestId": request_id +"/compute:v1/compute.projects.enableXpnHost": enable_project_xpn_host +"/compute:v1/compute.projects.enableXpnHost/project": project +"/compute:v1/compute.projects.enableXpnHost/requestId": request_id +"/compute:v1/compute.projects.enableXpnResource": enable_project_xpn_resource +"/compute:v1/compute.projects.enableXpnResource/project": project +"/compute:v1/compute.projects.enableXpnResource/requestId": request_id +"/compute:v1/compute.projects.get": get_project +"/compute:v1/compute.projects.get/project": project +"/compute:v1/compute.projects.getXpnHost": get_project_xpn_host +"/compute:v1/compute.projects.getXpnHost/project": project +"/compute:v1/compute.projects.getXpnResources": get_project_xpn_resources +"/compute:v1/compute.projects.getXpnResources/filter": filter +"/compute:v1/compute.projects.getXpnResources/maxResults": max_results +"/compute:v1/compute.projects.getXpnResources/order_by": order_by +"/compute:v1/compute.projects.getXpnResources/pageToken": page_token +"/compute:v1/compute.projects.getXpnResources/project": project +"/compute:v1/compute.projects.listXpnHosts": list_project_xpn_hosts +"/compute:v1/compute.projects.listXpnHosts/filter": filter +"/compute:v1/compute.projects.listXpnHosts/maxResults": max_results +"/compute:v1/compute.projects.listXpnHosts/order_by": order_by +"/compute:v1/compute.projects.listXpnHosts/pageToken": page_token +"/compute:v1/compute.projects.listXpnHosts/project": project +"/compute:v1/compute.projects.moveDisk": move_disk +"/compute:v1/compute.projects.moveDisk/project": project +"/compute:v1/compute.projects.moveDisk/requestId": request_id +"/compute:v1/compute.projects.moveInstance": move_instance +"/compute:v1/compute.projects.moveInstance/project": project +"/compute:v1/compute.projects.moveInstance/requestId": request_id +"/compute:v1/compute.projects.setCommonInstanceMetadata": set_common_instance_metadata +"/compute:v1/compute.projects.setCommonInstanceMetadata/project": project +"/compute:v1/compute.projects.setCommonInstanceMetadata/requestId": request_id +"/compute:v1/compute.projects.setUsageExportBucket": set_usage_export_bucket +"/compute:v1/compute.projects.setUsageExportBucket/project": project +"/compute:v1/compute.projects.setUsageExportBucket/requestId": request_id +"/compute:v1/compute.regionAutoscalers.delete": delete_region_autoscaler +"/compute:v1/compute.regionAutoscalers.delete/autoscaler": autoscaler +"/compute:v1/compute.regionAutoscalers.delete/project": project +"/compute:v1/compute.regionAutoscalers.delete/region": region +"/compute:v1/compute.regionAutoscalers.delete/requestId": request_id +"/compute:v1/compute.regionAutoscalers.get": get_region_autoscaler +"/compute:v1/compute.regionAutoscalers.get/autoscaler": autoscaler +"/compute:v1/compute.regionAutoscalers.get/project": project +"/compute:v1/compute.regionAutoscalers.get/region": region +"/compute:v1/compute.regionAutoscalers.insert": insert_region_autoscaler +"/compute:v1/compute.regionAutoscalers.insert/project": project +"/compute:v1/compute.regionAutoscalers.insert/region": region +"/compute:v1/compute.regionAutoscalers.insert/requestId": request_id +"/compute:v1/compute.regionAutoscalers.list": list_region_autoscalers +"/compute:v1/compute.regionAutoscalers.list/filter": filter +"/compute:v1/compute.regionAutoscalers.list/maxResults": max_results +"/compute:v1/compute.regionAutoscalers.list/orderBy": order_by +"/compute:v1/compute.regionAutoscalers.list/pageToken": page_token +"/compute:v1/compute.regionAutoscalers.list/project": project +"/compute:v1/compute.regionAutoscalers.list/region": region +"/compute:v1/compute.regionAutoscalers.patch": patch_region_autoscaler +"/compute:v1/compute.regionAutoscalers.patch/autoscaler": autoscaler +"/compute:v1/compute.regionAutoscalers.patch/project": project +"/compute:v1/compute.regionAutoscalers.patch/region": region +"/compute:v1/compute.regionAutoscalers.patch/requestId": request_id +"/compute:v1/compute.regionAutoscalers.update": update_region_autoscaler +"/compute:v1/compute.regionAutoscalers.update/autoscaler": autoscaler +"/compute:v1/compute.regionAutoscalers.update/project": project +"/compute:v1/compute.regionAutoscalers.update/region": region +"/compute:v1/compute.regionAutoscalers.update/requestId": request_id +"/compute:v1/compute.regionBackendServices.delete": delete_region_backend_service +"/compute:v1/compute.regionBackendServices.delete/backendService": backend_service +"/compute:v1/compute.regionBackendServices.delete/project": project +"/compute:v1/compute.regionBackendServices.delete/region": region +"/compute:v1/compute.regionBackendServices.delete/requestId": request_id +"/compute:v1/compute.regionBackendServices.get": get_region_backend_service +"/compute:v1/compute.regionBackendServices.get/backendService": backend_service +"/compute:v1/compute.regionBackendServices.get/project": project +"/compute:v1/compute.regionBackendServices.get/region": region +"/compute:v1/compute.regionBackendServices.getHealth": get_region_backend_service_health +"/compute:v1/compute.regionBackendServices.getHealth/backendService": backend_service +"/compute:v1/compute.regionBackendServices.getHealth/project": project +"/compute:v1/compute.regionBackendServices.getHealth/region": region +"/compute:v1/compute.regionBackendServices.insert": insert_region_backend_service +"/compute:v1/compute.regionBackendServices.insert/project": project +"/compute:v1/compute.regionBackendServices.insert/region": region +"/compute:v1/compute.regionBackendServices.insert/requestId": request_id +"/compute:v1/compute.regionBackendServices.list": list_region_backend_services +"/compute:v1/compute.regionBackendServices.list/filter": filter +"/compute:v1/compute.regionBackendServices.list/maxResults": max_results +"/compute:v1/compute.regionBackendServices.list/orderBy": order_by +"/compute:v1/compute.regionBackendServices.list/pageToken": page_token +"/compute:v1/compute.regionBackendServices.list/project": project +"/compute:v1/compute.regionBackendServices.list/region": region +"/compute:v1/compute.regionBackendServices.patch": patch_region_backend_service +"/compute:v1/compute.regionBackendServices.patch/backendService": backend_service +"/compute:v1/compute.regionBackendServices.patch/project": project +"/compute:v1/compute.regionBackendServices.patch/region": region +"/compute:v1/compute.regionBackendServices.patch/requestId": request_id +"/compute:v1/compute.regionBackendServices.update": update_region_backend_service +"/compute:v1/compute.regionBackendServices.update/backendService": backend_service +"/compute:v1/compute.regionBackendServices.update/project": project +"/compute:v1/compute.regionBackendServices.update/region": region +"/compute:v1/compute.regionBackendServices.update/requestId": request_id +"/compute:v1/compute.regionCommitments.aggregatedList": aggregated_region_commitment_list +"/compute:v1/compute.regionCommitments.aggregatedList/filter": filter +"/compute:v1/compute.regionCommitments.aggregatedList/maxResults": max_results +"/compute:v1/compute.regionCommitments.aggregatedList/orderBy": order_by +"/compute:v1/compute.regionCommitments.aggregatedList/pageToken": page_token +"/compute:v1/compute.regionCommitments.aggregatedList/project": project +"/compute:v1/compute.regionCommitments.get": get_region_commitment +"/compute:v1/compute.regionCommitments.get/commitment": commitment +"/compute:v1/compute.regionCommitments.get/project": project +"/compute:v1/compute.regionCommitments.get/region": region +"/compute:v1/compute.regionCommitments.insert": insert_region_commitment +"/compute:v1/compute.regionCommitments.insert/project": project +"/compute:v1/compute.regionCommitments.insert/region": region +"/compute:v1/compute.regionCommitments.insert/requestId": request_id +"/compute:v1/compute.regionCommitments.list": list_region_commitments +"/compute:v1/compute.regionCommitments.list/filter": filter +"/compute:v1/compute.regionCommitments.list/maxResults": max_results +"/compute:v1/compute.regionCommitments.list/orderBy": order_by +"/compute:v1/compute.regionCommitments.list/pageToken": page_token +"/compute:v1/compute.regionCommitments.list/project": project +"/compute:v1/compute.regionCommitments.list/region": region +"/compute:v1/compute.regionInstanceGroupManagers.abandonInstances": abandon_region_instance_group_manager_instances +"/compute:v1/compute.regionInstanceGroupManagers.abandonInstances/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.abandonInstances/project": project +"/compute:v1/compute.regionInstanceGroupManagers.abandonInstances/region": region +"/compute:v1/compute.regionInstanceGroupManagers.abandonInstances/requestId": request_id +"/compute:v1/compute.regionInstanceGroupManagers.delete": delete_region_instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.delete/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.delete/project": project +"/compute:v1/compute.regionInstanceGroupManagers.delete/region": region +"/compute:v1/compute.regionInstanceGroupManagers.delete/requestId": request_id +"/compute:v1/compute.regionInstanceGroupManagers.deleteInstances": delete_region_instance_group_manager_instances +"/compute:v1/compute.regionInstanceGroupManagers.deleteInstances/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.deleteInstances/project": project +"/compute:v1/compute.regionInstanceGroupManagers.deleteInstances/region": region +"/compute:v1/compute.regionInstanceGroupManagers.deleteInstances/requestId": request_id +"/compute:v1/compute.regionInstanceGroupManagers.get": get_region_instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.get/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.get/project": project +"/compute:v1/compute.regionInstanceGroupManagers.get/region": region +"/compute:v1/compute.regionInstanceGroupManagers.insert": insert_region_instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.insert/project": project +"/compute:v1/compute.regionInstanceGroupManagers.insert/region": region +"/compute:v1/compute.regionInstanceGroupManagers.insert/requestId": request_id +"/compute:v1/compute.regionInstanceGroupManagers.list": list_region_instance_group_managers +"/compute:v1/compute.regionInstanceGroupManagers.list/filter": filter +"/compute:v1/compute.regionInstanceGroupManagers.list/maxResults": max_results +"/compute:v1/compute.regionInstanceGroupManagers.list/orderBy": order_by +"/compute:v1/compute.regionInstanceGroupManagers.list/pageToken": page_token +"/compute:v1/compute.regionInstanceGroupManagers.list/project": project +"/compute:v1/compute.regionInstanceGroupManagers.list/region": region +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances": list_region_instance_group_manager_managed_instances +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/filter": filter +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/maxResults": max_results +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/order_by": order_by +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/pageToken": page_token +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/project": project +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/region": region +"/compute:v1/compute.regionInstanceGroupManagers.recreateInstances": recreate_region_instance_group_manager_instances +"/compute:v1/compute.regionInstanceGroupManagers.recreateInstances/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.recreateInstances/project": project +"/compute:v1/compute.regionInstanceGroupManagers.recreateInstances/region": region +"/compute:v1/compute.regionInstanceGroupManagers.recreateInstances/requestId": request_id +"/compute:v1/compute.regionInstanceGroupManagers.resize": resize_region_instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.resize/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.resize/project": project +"/compute:v1/compute.regionInstanceGroupManagers.resize/region": region +"/compute:v1/compute.regionInstanceGroupManagers.resize/requestId": request_id +"/compute:v1/compute.regionInstanceGroupManagers.resize/size": size +"/compute:v1/compute.regionInstanceGroupManagers.setInstanceTemplate": set_region_instance_group_manager_instance_template +"/compute:v1/compute.regionInstanceGroupManagers.setInstanceTemplate/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.setInstanceTemplate/project": project +"/compute:v1/compute.regionInstanceGroupManagers.setInstanceTemplate/region": region +"/compute:v1/compute.regionInstanceGroupManagers.setInstanceTemplate/requestId": request_id +"/compute:v1/compute.regionInstanceGroupManagers.setTargetPools": set_region_instance_group_manager_target_pools +"/compute:v1/compute.regionInstanceGroupManagers.setTargetPools/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.setTargetPools/project": project +"/compute:v1/compute.regionInstanceGroupManagers.setTargetPools/region": region +"/compute:v1/compute.regionInstanceGroupManagers.setTargetPools/requestId": request_id +"/compute:v1/compute.regionInstanceGroups.get": get_region_instance_group +"/compute:v1/compute.regionInstanceGroups.get/instanceGroup": instance_group +"/compute:v1/compute.regionInstanceGroups.get/project": project +"/compute:v1/compute.regionInstanceGroups.get/region": region +"/compute:v1/compute.regionInstanceGroups.list": list_region_instance_groups +"/compute:v1/compute.regionInstanceGroups.list/filter": filter +"/compute:v1/compute.regionInstanceGroups.list/maxResults": max_results +"/compute:v1/compute.regionInstanceGroups.list/orderBy": order_by +"/compute:v1/compute.regionInstanceGroups.list/pageToken": page_token +"/compute:v1/compute.regionInstanceGroups.list/project": project +"/compute:v1/compute.regionInstanceGroups.list/region": region +"/compute:v1/compute.regionInstanceGroups.listInstances": list_region_instance_group_instances +"/compute:v1/compute.regionInstanceGroups.listInstances/filter": filter +"/compute:v1/compute.regionInstanceGroups.listInstances/instanceGroup": instance_group +"/compute:v1/compute.regionInstanceGroups.listInstances/maxResults": max_results +"/compute:v1/compute.regionInstanceGroups.listInstances/orderBy": order_by +"/compute:v1/compute.regionInstanceGroups.listInstances/pageToken": page_token +"/compute:v1/compute.regionInstanceGroups.listInstances/project": project +"/compute:v1/compute.regionInstanceGroups.listInstances/region": region +"/compute:v1/compute.regionInstanceGroups.setNamedPorts": set_region_instance_group_named_ports +"/compute:v1/compute.regionInstanceGroups.setNamedPorts/instanceGroup": instance_group +"/compute:v1/compute.regionInstanceGroups.setNamedPorts/project": project +"/compute:v1/compute.regionInstanceGroups.setNamedPorts/region": region +"/compute:v1/compute.regionInstanceGroups.setNamedPorts/requestId": request_id +"/compute:v1/compute.regionOperations.delete": delete_region_operation +"/compute:v1/compute.regionOperations.delete/operation": operation +"/compute:v1/compute.regionOperations.delete/project": project +"/compute:v1/compute.regionOperations.delete/region": region +"/compute:v1/compute.regionOperations.get": get_region_operation +"/compute:v1/compute.regionOperations.get/operation": operation +"/compute:v1/compute.regionOperations.get/project": project +"/compute:v1/compute.regionOperations.get/region": region +"/compute:v1/compute.regionOperations.list": list_region_operations +"/compute:v1/compute.regionOperations.list/filter": filter +"/compute:v1/compute.regionOperations.list/maxResults": max_results +"/compute:v1/compute.regionOperations.list/orderBy": order_by +"/compute:v1/compute.regionOperations.list/pageToken": page_token +"/compute:v1/compute.regionOperations.list/project": project +"/compute:v1/compute.regionOperations.list/region": region +"/compute:v1/compute.regions.get": get_region +"/compute:v1/compute.regions.get/project": project +"/compute:v1/compute.regions.get/region": region +"/compute:v1/compute.regions.list": list_regions +"/compute:v1/compute.regions.list/filter": filter +"/compute:v1/compute.regions.list/maxResults": max_results +"/compute:v1/compute.regions.list/orderBy": order_by +"/compute:v1/compute.regions.list/pageToken": page_token +"/compute:v1/compute.regions.list/project": project +"/compute:v1/compute.routers.aggregatedList": aggregated_router_list +"/compute:v1/compute.routers.aggregatedList/filter": filter +"/compute:v1/compute.routers.aggregatedList/maxResults": max_results +"/compute:v1/compute.routers.aggregatedList/orderBy": order_by +"/compute:v1/compute.routers.aggregatedList/pageToken": page_token +"/compute:v1/compute.routers.aggregatedList/project": project +"/compute:v1/compute.routers.delete": delete_router +"/compute:v1/compute.routers.delete/project": project +"/compute:v1/compute.routers.delete/region": region +"/compute:v1/compute.routers.delete/requestId": request_id +"/compute:v1/compute.routers.delete/router": router +"/compute:v1/compute.routers.get": get_router +"/compute:v1/compute.routers.get/project": project +"/compute:v1/compute.routers.get/region": region +"/compute:v1/compute.routers.get/router": router +"/compute:v1/compute.routers.getRouterStatus": get_router_router_status +"/compute:v1/compute.routers.getRouterStatus/project": project +"/compute:v1/compute.routers.getRouterStatus/region": region +"/compute:v1/compute.routers.getRouterStatus/router": router +"/compute:v1/compute.routers.insert": insert_router +"/compute:v1/compute.routers.insert/project": project +"/compute:v1/compute.routers.insert/region": region +"/compute:v1/compute.routers.insert/requestId": request_id +"/compute:v1/compute.routers.list": list_routers +"/compute:v1/compute.routers.list/filter": filter +"/compute:v1/compute.routers.list/maxResults": max_results +"/compute:v1/compute.routers.list/orderBy": order_by +"/compute:v1/compute.routers.list/pageToken": page_token +"/compute:v1/compute.routers.list/project": project +"/compute:v1/compute.routers.list/region": region +"/compute:v1/compute.routers.patch": patch_router +"/compute:v1/compute.routers.patch/project": project +"/compute:v1/compute.routers.patch/region": region +"/compute:v1/compute.routers.patch/requestId": request_id +"/compute:v1/compute.routers.patch/router": router +"/compute:v1/compute.routers.preview": preview_router +"/compute:v1/compute.routers.preview/project": project +"/compute:v1/compute.routers.preview/region": region +"/compute:v1/compute.routers.preview/router": router +"/compute:v1/compute.routers.update": update_router +"/compute:v1/compute.routers.update/project": project +"/compute:v1/compute.routers.update/region": region +"/compute:v1/compute.routers.update/requestId": request_id +"/compute:v1/compute.routers.update/router": router +"/compute:v1/compute.routes.delete": delete_route +"/compute:v1/compute.routes.delete/project": project +"/compute:v1/compute.routes.delete/requestId": request_id +"/compute:v1/compute.routes.delete/route": route +"/compute:v1/compute.routes.get": get_route +"/compute:v1/compute.routes.get/project": project +"/compute:v1/compute.routes.get/route": route +"/compute:v1/compute.routes.insert": insert_route +"/compute:v1/compute.routes.insert/project": project +"/compute:v1/compute.routes.insert/requestId": request_id +"/compute:v1/compute.routes.list": list_routes +"/compute:v1/compute.routes.list/filter": filter +"/compute:v1/compute.routes.list/maxResults": max_results +"/compute:v1/compute.routes.list/orderBy": order_by +"/compute:v1/compute.routes.list/pageToken": page_token +"/compute:v1/compute.routes.list/project": project +"/compute:v1/compute.snapshots.delete": delete_snapshot +"/compute:v1/compute.snapshots.delete/project": project +"/compute:v1/compute.snapshots.delete/requestId": request_id +"/compute:v1/compute.snapshots.delete/snapshot": snapshot +"/compute:v1/compute.snapshots.get": get_snapshot +"/compute:v1/compute.snapshots.get/project": project +"/compute:v1/compute.snapshots.get/snapshot": snapshot +"/compute:v1/compute.snapshots.list": list_snapshots +"/compute:v1/compute.snapshots.list/filter": filter +"/compute:v1/compute.snapshots.list/maxResults": max_results +"/compute:v1/compute.snapshots.list/orderBy": order_by +"/compute:v1/compute.snapshots.list/pageToken": page_token +"/compute:v1/compute.snapshots.list/project": project +"/compute:v1/compute.snapshots.setLabels": set_snapshot_labels +"/compute:v1/compute.snapshots.setLabels/project": project +"/compute:v1/compute.snapshots.setLabels/resource": resource +"/compute:v1/compute.sslCertificates.delete": delete_ssl_certificate +"/compute:v1/compute.sslCertificates.delete/project": project +"/compute:v1/compute.sslCertificates.delete/requestId": request_id +"/compute:v1/compute.sslCertificates.delete/sslCertificate": ssl_certificate +"/compute:v1/compute.sslCertificates.get": get_ssl_certificate +"/compute:v1/compute.sslCertificates.get/project": project +"/compute:v1/compute.sslCertificates.get/sslCertificate": ssl_certificate +"/compute:v1/compute.sslCertificates.insert": insert_ssl_certificate +"/compute:v1/compute.sslCertificates.insert/project": project +"/compute:v1/compute.sslCertificates.insert/requestId": request_id +"/compute:v1/compute.sslCertificates.list": list_ssl_certificates +"/compute:v1/compute.sslCertificates.list/filter": filter +"/compute:v1/compute.sslCertificates.list/maxResults": max_results +"/compute:v1/compute.sslCertificates.list/orderBy": order_by +"/compute:v1/compute.sslCertificates.list/pageToken": page_token +"/compute:v1/compute.sslCertificates.list/project": project +"/compute:v1/compute.subnetworks.aggregatedList": aggregated_subnetwork_list +"/compute:v1/compute.subnetworks.aggregatedList/filter": filter +"/compute:v1/compute.subnetworks.aggregatedList/maxResults": max_results +"/compute:v1/compute.subnetworks.aggregatedList/orderBy": order_by +"/compute:v1/compute.subnetworks.aggregatedList/pageToken": page_token +"/compute:v1/compute.subnetworks.aggregatedList/project": project +"/compute:v1/compute.subnetworks.delete": delete_subnetwork +"/compute:v1/compute.subnetworks.delete/project": project +"/compute:v1/compute.subnetworks.delete/region": region +"/compute:v1/compute.subnetworks.delete/requestId": request_id +"/compute:v1/compute.subnetworks.delete/subnetwork": subnetwork +"/compute:v1/compute.subnetworks.expandIpCidrRange": expand_subnetwork_ip_cidr_range +"/compute:v1/compute.subnetworks.expandIpCidrRange/project": project +"/compute:v1/compute.subnetworks.expandIpCidrRange/region": region +"/compute:v1/compute.subnetworks.expandIpCidrRange/requestId": request_id +"/compute:v1/compute.subnetworks.expandIpCidrRange/subnetwork": subnetwork +"/compute:v1/compute.subnetworks.get": get_subnetwork +"/compute:v1/compute.subnetworks.get/project": project +"/compute:v1/compute.subnetworks.get/region": region +"/compute:v1/compute.subnetworks.get/subnetwork": subnetwork +"/compute:v1/compute.subnetworks.insert": insert_subnetwork +"/compute:v1/compute.subnetworks.insert/project": project +"/compute:v1/compute.subnetworks.insert/region": region +"/compute:v1/compute.subnetworks.insert/requestId": request_id +"/compute:v1/compute.subnetworks.list": list_subnetworks +"/compute:v1/compute.subnetworks.list/filter": filter +"/compute:v1/compute.subnetworks.list/maxResults": max_results +"/compute:v1/compute.subnetworks.list/orderBy": order_by +"/compute:v1/compute.subnetworks.list/pageToken": page_token +"/compute:v1/compute.subnetworks.list/project": project +"/compute:v1/compute.subnetworks.list/region": region +"/compute:v1/compute.subnetworks.setPrivateIpGoogleAccess": set_subnetwork_private_ip_google_access +"/compute:v1/compute.subnetworks.setPrivateIpGoogleAccess/project": project +"/compute:v1/compute.subnetworks.setPrivateIpGoogleAccess/region": region +"/compute:v1/compute.subnetworks.setPrivateIpGoogleAccess/requestId": request_id +"/compute:v1/compute.subnetworks.setPrivateIpGoogleAccess/subnetwork": subnetwork +"/compute:v1/compute.targetHttpProxies.delete": delete_target_http_proxy +"/compute:v1/compute.targetHttpProxies.delete/project": project +"/compute:v1/compute.targetHttpProxies.delete/requestId": request_id +"/compute:v1/compute.targetHttpProxies.delete/targetHttpProxy": target_http_proxy +"/compute:v1/compute.targetHttpProxies.get": get_target_http_proxy +"/compute:v1/compute.targetHttpProxies.get/project": project +"/compute:v1/compute.targetHttpProxies.get/targetHttpProxy": target_http_proxy +"/compute:v1/compute.targetHttpProxies.insert": insert_target_http_proxy +"/compute:v1/compute.targetHttpProxies.insert/project": project +"/compute:v1/compute.targetHttpProxies.insert/requestId": request_id +"/compute:v1/compute.targetHttpProxies.list": list_target_http_proxies +"/compute:v1/compute.targetHttpProxies.list/filter": filter +"/compute:v1/compute.targetHttpProxies.list/maxResults": max_results +"/compute:v1/compute.targetHttpProxies.list/orderBy": order_by +"/compute:v1/compute.targetHttpProxies.list/pageToken": page_token +"/compute:v1/compute.targetHttpProxies.list/project": project +"/compute:v1/compute.targetHttpProxies.setUrlMap": set_target_http_proxy_url_map +"/compute:v1/compute.targetHttpProxies.setUrlMap/project": project +"/compute:v1/compute.targetHttpProxies.setUrlMap/requestId": request_id +"/compute:v1/compute.targetHttpProxies.setUrlMap/targetHttpProxy": target_http_proxy +"/compute:v1/compute.targetHttpsProxies.delete": delete_target_https_proxy +"/compute:v1/compute.targetHttpsProxies.delete/project": project +"/compute:v1/compute.targetHttpsProxies.delete/requestId": request_id +"/compute:v1/compute.targetHttpsProxies.delete/targetHttpsProxy": target_https_proxy +"/compute:v1/compute.targetHttpsProxies.get": get_target_https_proxy +"/compute:v1/compute.targetHttpsProxies.get/project": project +"/compute:v1/compute.targetHttpsProxies.get/targetHttpsProxy": target_https_proxy +"/compute:v1/compute.targetHttpsProxies.insert": insert_target_https_proxy +"/compute:v1/compute.targetHttpsProxies.insert/project": project +"/compute:v1/compute.targetHttpsProxies.insert/requestId": request_id +"/compute:v1/compute.targetHttpsProxies.list": list_target_https_proxies +"/compute:v1/compute.targetHttpsProxies.list/filter": filter +"/compute:v1/compute.targetHttpsProxies.list/maxResults": max_results +"/compute:v1/compute.targetHttpsProxies.list/orderBy": order_by +"/compute:v1/compute.targetHttpsProxies.list/pageToken": page_token +"/compute:v1/compute.targetHttpsProxies.list/project": project +"/compute:v1/compute.targetHttpsProxies.setSslCertificates": set_target_https_proxy_ssl_certificates +"/compute:v1/compute.targetHttpsProxies.setSslCertificates/project": project +"/compute:v1/compute.targetHttpsProxies.setSslCertificates/requestId": request_id +"/compute:v1/compute.targetHttpsProxies.setSslCertificates/targetHttpsProxy": target_https_proxy +"/compute:v1/compute.targetHttpsProxies.setUrlMap": set_target_https_proxy_url_map +"/compute:v1/compute.targetHttpsProxies.setUrlMap/project": project +"/compute:v1/compute.targetHttpsProxies.setUrlMap/requestId": request_id +"/compute:v1/compute.targetHttpsProxies.setUrlMap/targetHttpsProxy": target_https_proxy +"/compute:v1/compute.targetInstances.aggregatedList": list_aggregated_target_instance +"/compute:v1/compute.targetInstances.aggregatedList/filter": filter +"/compute:v1/compute.targetInstances.aggregatedList/maxResults": max_results +"/compute:v1/compute.targetInstances.aggregatedList/orderBy": order_by +"/compute:v1/compute.targetInstances.aggregatedList/pageToken": page_token +"/compute:v1/compute.targetInstances.aggregatedList/project": project +"/compute:v1/compute.targetInstances.delete": delete_target_instance +"/compute:v1/compute.targetInstances.delete/project": project +"/compute:v1/compute.targetInstances.delete/requestId": request_id +"/compute:v1/compute.targetInstances.delete/targetInstance": target_instance +"/compute:v1/compute.targetInstances.delete/zone": zone +"/compute:v1/compute.targetInstances.get": get_target_instance +"/compute:v1/compute.targetInstances.get/project": project +"/compute:v1/compute.targetInstances.get/targetInstance": target_instance +"/compute:v1/compute.targetInstances.get/zone": zone +"/compute:v1/compute.targetInstances.insert": insert_target_instance +"/compute:v1/compute.targetInstances.insert/project": project +"/compute:v1/compute.targetInstances.insert/requestId": request_id +"/compute:v1/compute.targetInstances.insert/zone": zone +"/compute:v1/compute.targetInstances.list": list_target_instances +"/compute:v1/compute.targetInstances.list/filter": filter +"/compute:v1/compute.targetInstances.list/maxResults": max_results +"/compute:v1/compute.targetInstances.list/orderBy": order_by +"/compute:v1/compute.targetInstances.list/pageToken": page_token +"/compute:v1/compute.targetInstances.list/project": project +"/compute:v1/compute.targetInstances.list/zone": zone +"/compute:v1/compute.targetPools.addHealthCheck": add_target_pool_health_check +"/compute:v1/compute.targetPools.addHealthCheck/project": project +"/compute:v1/compute.targetPools.addHealthCheck/region": region +"/compute:v1/compute.targetPools.addHealthCheck/requestId": request_id +"/compute:v1/compute.targetPools.addHealthCheck/targetPool": target_pool +"/compute:v1/compute.targetPools.addInstance": add_target_pool_instance +"/compute:v1/compute.targetPools.addInstance/project": project +"/compute:v1/compute.targetPools.addInstance/region": region +"/compute:v1/compute.targetPools.addInstance/requestId": request_id +"/compute:v1/compute.targetPools.addInstance/targetPool": target_pool +"/compute:v1/compute.targetPools.aggregatedList": list_aggregated_target_pools +"/compute:v1/compute.targetPools.aggregatedList/filter": filter +"/compute:v1/compute.targetPools.aggregatedList/maxResults": max_results +"/compute:v1/compute.targetPools.aggregatedList/orderBy": order_by +"/compute:v1/compute.targetPools.aggregatedList/pageToken": page_token +"/compute:v1/compute.targetPools.aggregatedList/project": project +"/compute:v1/compute.targetPools.delete": delete_target_pool +"/compute:v1/compute.targetPools.delete/project": project +"/compute:v1/compute.targetPools.delete/region": region +"/compute:v1/compute.targetPools.delete/requestId": request_id +"/compute:v1/compute.targetPools.delete/targetPool": target_pool +"/compute:v1/compute.targetPools.get": get_target_pool +"/compute:v1/compute.targetPools.get/project": project +"/compute:v1/compute.targetPools.get/region": region +"/compute:v1/compute.targetPools.get/targetPool": target_pool +"/compute:v1/compute.targetPools.getHealth": get_target_pool_health +"/compute:v1/compute.targetPools.getHealth/project": project +"/compute:v1/compute.targetPools.getHealth/region": region +"/compute:v1/compute.targetPools.getHealth/targetPool": target_pool +"/compute:v1/compute.targetPools.insert": insert_target_pool +"/compute:v1/compute.targetPools.insert/project": project +"/compute:v1/compute.targetPools.insert/region": region +"/compute:v1/compute.targetPools.insert/requestId": request_id +"/compute:v1/compute.targetPools.list": list_target_pools +"/compute:v1/compute.targetPools.list/filter": filter +"/compute:v1/compute.targetPools.list/maxResults": max_results +"/compute:v1/compute.targetPools.list/orderBy": order_by +"/compute:v1/compute.targetPools.list/pageToken": page_token +"/compute:v1/compute.targetPools.list/project": project +"/compute:v1/compute.targetPools.list/region": region +"/compute:v1/compute.targetPools.removeHealthCheck": remove_target_pool_health_check +"/compute:v1/compute.targetPools.removeHealthCheck/project": project +"/compute:v1/compute.targetPools.removeHealthCheck/region": region +"/compute:v1/compute.targetPools.removeHealthCheck/requestId": request_id +"/compute:v1/compute.targetPools.removeHealthCheck/targetPool": target_pool +"/compute:v1/compute.targetPools.removeInstance": remove_target_pool_instance +"/compute:v1/compute.targetPools.removeInstance/project": project +"/compute:v1/compute.targetPools.removeInstance/region": region +"/compute:v1/compute.targetPools.removeInstance/requestId": request_id +"/compute:v1/compute.targetPools.removeInstance/targetPool": target_pool +"/compute:v1/compute.targetPools.setBackup": set_target_pool_backup +"/compute:v1/compute.targetPools.setBackup/failoverRatio": failover_ratio +"/compute:v1/compute.targetPools.setBackup/project": project +"/compute:v1/compute.targetPools.setBackup/region": region +"/compute:v1/compute.targetPools.setBackup/requestId": request_id +"/compute:v1/compute.targetPools.setBackup/targetPool": target_pool +"/compute:v1/compute.targetSslProxies.delete": delete_target_ssl_proxy +"/compute:v1/compute.targetSslProxies.delete/project": project +"/compute:v1/compute.targetSslProxies.delete/requestId": request_id +"/compute:v1/compute.targetSslProxies.delete/targetSslProxy": target_ssl_proxy +"/compute:v1/compute.targetSslProxies.get": get_target_ssl_proxy +"/compute:v1/compute.targetSslProxies.get/project": project +"/compute:v1/compute.targetSslProxies.get/targetSslProxy": target_ssl_proxy +"/compute:v1/compute.targetSslProxies.insert": insert_target_ssl_proxy +"/compute:v1/compute.targetSslProxies.insert/project": project +"/compute:v1/compute.targetSslProxies.insert/requestId": request_id +"/compute:v1/compute.targetSslProxies.list": list_target_ssl_proxies +"/compute:v1/compute.targetSslProxies.list/filter": filter +"/compute:v1/compute.targetSslProxies.list/maxResults": max_results +"/compute:v1/compute.targetSslProxies.list/orderBy": order_by +"/compute:v1/compute.targetSslProxies.list/pageToken": page_token +"/compute:v1/compute.targetSslProxies.list/project": project +"/compute:v1/compute.targetSslProxies.setBackendService": set_target_ssl_proxy_backend_service +"/compute:v1/compute.targetSslProxies.setBackendService/project": project +"/compute:v1/compute.targetSslProxies.setBackendService/requestId": request_id +"/compute:v1/compute.targetSslProxies.setBackendService/targetSslProxy": target_ssl_proxy +"/compute:v1/compute.targetSslProxies.setProxyHeader": set_target_ssl_proxy_proxy_header +"/compute:v1/compute.targetSslProxies.setProxyHeader/project": project +"/compute:v1/compute.targetSslProxies.setProxyHeader/requestId": request_id +"/compute:v1/compute.targetSslProxies.setProxyHeader/targetSslProxy": target_ssl_proxy +"/compute:v1/compute.targetSslProxies.setSslCertificates": set_target_ssl_proxy_ssl_certificates +"/compute:v1/compute.targetSslProxies.setSslCertificates/project": project +"/compute:v1/compute.targetSslProxies.setSslCertificates/requestId": request_id +"/compute:v1/compute.targetSslProxies.setSslCertificates/targetSslProxy": target_ssl_proxy +"/compute:v1/compute.targetTcpProxies.delete": delete_target_tcp_proxy +"/compute:v1/compute.targetTcpProxies.delete/project": project +"/compute:v1/compute.targetTcpProxies.delete/requestId": request_id +"/compute:v1/compute.targetTcpProxies.delete/targetTcpProxy": target_tcp_proxy +"/compute:v1/compute.targetTcpProxies.get": get_target_tcp_proxy +"/compute:v1/compute.targetTcpProxies.get/project": project +"/compute:v1/compute.targetTcpProxies.get/targetTcpProxy": target_tcp_proxy +"/compute:v1/compute.targetTcpProxies.insert": insert_target_tcp_proxy +"/compute:v1/compute.targetTcpProxies.insert/project": project +"/compute:v1/compute.targetTcpProxies.insert/requestId": request_id +"/compute:v1/compute.targetTcpProxies.list": list_target_tcp_proxies +"/compute:v1/compute.targetTcpProxies.list/filter": filter +"/compute:v1/compute.targetTcpProxies.list/maxResults": max_results +"/compute:v1/compute.targetTcpProxies.list/orderBy": order_by +"/compute:v1/compute.targetTcpProxies.list/pageToken": page_token +"/compute:v1/compute.targetTcpProxies.list/project": project +"/compute:v1/compute.targetTcpProxies.setBackendService": set_target_tcp_proxy_backend_service +"/compute:v1/compute.targetTcpProxies.setBackendService/project": project +"/compute:v1/compute.targetTcpProxies.setBackendService/requestId": request_id +"/compute:v1/compute.targetTcpProxies.setBackendService/targetTcpProxy": target_tcp_proxy +"/compute:v1/compute.targetTcpProxies.setProxyHeader": set_target_tcp_proxy_proxy_header +"/compute:v1/compute.targetTcpProxies.setProxyHeader/project": project +"/compute:v1/compute.targetTcpProxies.setProxyHeader/requestId": request_id +"/compute:v1/compute.targetTcpProxies.setProxyHeader/targetTcpProxy": target_tcp_proxy +"/compute:v1/compute.targetVpnGateways.aggregatedList": list_aggregated_target_vpn_gateways +"/compute:v1/compute.targetVpnGateways.aggregatedList/filter": filter +"/compute:v1/compute.targetVpnGateways.aggregatedList/maxResults": max_results +"/compute:v1/compute.targetVpnGateways.aggregatedList/orderBy": order_by +"/compute:v1/compute.targetVpnGateways.aggregatedList/pageToken": page_token +"/compute:v1/compute.targetVpnGateways.aggregatedList/project": project +"/compute:v1/compute.targetVpnGateways.delete": delete_target_vpn_gateway +"/compute:v1/compute.targetVpnGateways.delete/project": project +"/compute:v1/compute.targetVpnGateways.delete/region": region +"/compute:v1/compute.targetVpnGateways.delete/requestId": request_id +"/compute:v1/compute.targetVpnGateways.delete/targetVpnGateway": target_vpn_gateway +"/compute:v1/compute.targetVpnGateways.get": get_target_vpn_gateway +"/compute:v1/compute.targetVpnGateways.get/project": project +"/compute:v1/compute.targetVpnGateways.get/region": region +"/compute:v1/compute.targetVpnGateways.get/targetVpnGateway": target_vpn_gateway +"/compute:v1/compute.targetVpnGateways.insert": insert_target_vpn_gateway +"/compute:v1/compute.targetVpnGateways.insert/project": project +"/compute:v1/compute.targetVpnGateways.insert/region": region +"/compute:v1/compute.targetVpnGateways.insert/requestId": request_id +"/compute:v1/compute.targetVpnGateways.list": list_target_vpn_gateways +"/compute:v1/compute.targetVpnGateways.list/filter": filter +"/compute:v1/compute.targetVpnGateways.list/maxResults": max_results +"/compute:v1/compute.targetVpnGateways.list/orderBy": order_by +"/compute:v1/compute.targetVpnGateways.list/pageToken": page_token +"/compute:v1/compute.targetVpnGateways.list/project": project +"/compute:v1/compute.targetVpnGateways.list/region": region +"/compute:v1/compute.urlMaps.delete": delete_url_map +"/compute:v1/compute.urlMaps.delete/project": project +"/compute:v1/compute.urlMaps.delete/requestId": request_id +"/compute:v1/compute.urlMaps.delete/urlMap": url_map +"/compute:v1/compute.urlMaps.get": get_url_map +"/compute:v1/compute.urlMaps.get/project": project +"/compute:v1/compute.urlMaps.get/urlMap": url_map +"/compute:v1/compute.urlMaps.insert": insert_url_map +"/compute:v1/compute.urlMaps.insert/project": project +"/compute:v1/compute.urlMaps.insert/requestId": request_id +"/compute:v1/compute.urlMaps.invalidateCache": invalidate_url_map_cache +"/compute:v1/compute.urlMaps.invalidateCache/project": project +"/compute:v1/compute.urlMaps.invalidateCache/requestId": request_id +"/compute:v1/compute.urlMaps.invalidateCache/urlMap": url_map +"/compute:v1/compute.urlMaps.list": list_url_maps +"/compute:v1/compute.urlMaps.list/filter": filter +"/compute:v1/compute.urlMaps.list/maxResults": max_results +"/compute:v1/compute.urlMaps.list/orderBy": order_by +"/compute:v1/compute.urlMaps.list/pageToken": page_token +"/compute:v1/compute.urlMaps.list/project": project +"/compute:v1/compute.urlMaps.patch": patch_url_map +"/compute:v1/compute.urlMaps.patch/project": project +"/compute:v1/compute.urlMaps.patch/requestId": request_id +"/compute:v1/compute.urlMaps.patch/urlMap": url_map +"/compute:v1/compute.urlMaps.update": update_url_map +"/compute:v1/compute.urlMaps.update/project": project +"/compute:v1/compute.urlMaps.update/requestId": request_id +"/compute:v1/compute.urlMaps.update/urlMap": url_map +"/compute:v1/compute.urlMaps.validate": validate_url_map +"/compute:v1/compute.urlMaps.validate/project": project +"/compute:v1/compute.urlMaps.validate/urlMap": url_map +"/compute:v1/compute.vpnTunnels.aggregatedList": list_aggregated_vpn_tunnel +"/compute:v1/compute.vpnTunnels.aggregatedList/filter": filter +"/compute:v1/compute.vpnTunnels.aggregatedList/maxResults": max_results +"/compute:v1/compute.vpnTunnels.aggregatedList/orderBy": order_by +"/compute:v1/compute.vpnTunnels.aggregatedList/pageToken": page_token +"/compute:v1/compute.vpnTunnels.aggregatedList/project": project +"/compute:v1/compute.vpnTunnels.delete": delete_vpn_tunnel +"/compute:v1/compute.vpnTunnels.delete/project": project +"/compute:v1/compute.vpnTunnels.delete/region": region +"/compute:v1/compute.vpnTunnels.delete/requestId": request_id +"/compute:v1/compute.vpnTunnels.delete/vpnTunnel": vpn_tunnel +"/compute:v1/compute.vpnTunnels.get": get_vpn_tunnel +"/compute:v1/compute.vpnTunnels.get/project": project +"/compute:v1/compute.vpnTunnels.get/region": region +"/compute:v1/compute.vpnTunnels.get/vpnTunnel": vpn_tunnel +"/compute:v1/compute.vpnTunnels.insert": insert_vpn_tunnel +"/compute:v1/compute.vpnTunnels.insert/project": project +"/compute:v1/compute.vpnTunnels.insert/region": region +"/compute:v1/compute.vpnTunnels.insert/requestId": request_id +"/compute:v1/compute.vpnTunnels.list": list_vpn_tunnels +"/compute:v1/compute.vpnTunnels.list/filter": filter +"/compute:v1/compute.vpnTunnels.list/maxResults": max_results +"/compute:v1/compute.vpnTunnels.list/orderBy": order_by +"/compute:v1/compute.vpnTunnels.list/pageToken": page_token +"/compute:v1/compute.vpnTunnels.list/project": project +"/compute:v1/compute.vpnTunnels.list/region": region +"/compute:v1/compute.zoneOperations.delete": delete_zone_operation +"/compute:v1/compute.zoneOperations.delete/operation": operation +"/compute:v1/compute.zoneOperations.delete/project": project +"/compute:v1/compute.zoneOperations.delete/zone": zone +"/compute:v1/compute.zoneOperations.get": get_zone_operation +"/compute:v1/compute.zoneOperations.get/operation": operation +"/compute:v1/compute.zoneOperations.get/project": project +"/compute:v1/compute.zoneOperations.get/zone": zone +"/compute:v1/compute.zoneOperations.list": list_zone_operations +"/compute:v1/compute.zoneOperations.list/filter": filter +"/compute:v1/compute.zoneOperations.list/maxResults": max_results +"/compute:v1/compute.zoneOperations.list/orderBy": order_by +"/compute:v1/compute.zoneOperations.list/pageToken": page_token +"/compute:v1/compute.zoneOperations.list/project": project +"/compute:v1/compute.zoneOperations.list/zone": zone +"/compute:v1/compute.zones.get": get_zone +"/compute:v1/compute.zones.get/project": project +"/compute:v1/compute.zones.get/zone": zone +"/compute:v1/compute.zones.list": list_zones +"/compute:v1/compute.zones.list/filter": filter +"/compute:v1/compute.zones.list/maxResults": max_results +"/compute:v1/compute.zones.list/orderBy": order_by +"/compute:v1/compute.zones.list/pageToken": page_token +"/compute:v1/compute.zones.list/project": project +"/compute:v1/fields": fields +"/compute:v1/key": key +"/compute:v1/quotaUser": quota_user +"/compute:v1/userIp": user_ip +"/consumersurveys:v2/FieldMask": field_mask +"/consumersurveys:v2/FieldMask/fields": fields +"/consumersurveys:v2/FieldMask/fields/field": field +"/consumersurveys:v2/FieldMask/id": id +"/consumersurveys:v2/MobileAppPanel": mobile_app_panel +"/consumersurveys:v2/MobileAppPanel/country": country +"/consumersurveys:v2/MobileAppPanel/isPublicPanel": is_public_panel +"/consumersurveys:v2/MobileAppPanel/language": language +"/consumersurveys:v2/MobileAppPanel/mobileAppPanelId": mobile_app_panel_id +"/consumersurveys:v2/MobileAppPanel/name": name +"/consumersurveys:v2/MobileAppPanel/owners": owners +"/consumersurveys:v2/MobileAppPanel/owners/owner": owner +"/consumersurveys:v2/MobileAppPanelsListResponse": mobile_app_panels_list_response +"/consumersurveys:v2/MobileAppPanelsListResponse/pageInfo": page_info +"/consumersurveys:v2/MobileAppPanelsListResponse/requestId": request_id +"/consumersurveys:v2/MobileAppPanelsListResponse/resources": resources +"/consumersurveys:v2/MobileAppPanelsListResponse/resources/resource": resource +"/consumersurveys:v2/MobileAppPanelsListResponse/tokenPagination": token_pagination +"/consumersurveys:v2/PageInfo": page_info +"/consumersurveys:v2/PageInfo/resultPerPage": result_per_page +"/consumersurveys:v2/PageInfo/startIndex": start_index +"/consumersurveys:v2/PageInfo/totalResults": total_results +"/consumersurveys:v2/ResultsGetRequest": results_get_request +"/consumersurveys:v2/ResultsGetRequest/resultMask": result_mask +"/consumersurveys:v2/ResultsMask": results_mask +"/consumersurveys:v2/ResultsMask/fields": fields +"/consumersurveys:v2/ResultsMask/fields/field": field +"/consumersurveys:v2/ResultsMask/projection": projection +"/consumersurveys:v2/Survey": survey +"/consumersurveys:v2/Survey/audience": audience +"/consumersurveys:v2/Survey/cost": cost +"/consumersurveys:v2/Survey/customerData": customer_data +"/consumersurveys:v2/Survey/description": description +"/consumersurveys:v2/Survey/owners": owners +"/consumersurveys:v2/Survey/owners/owner": owner +"/consumersurveys:v2/Survey/questions": questions +"/consumersurveys:v2/Survey/questions/question": question +"/consumersurveys:v2/Survey/rejectionReason": rejection_reason +"/consumersurveys:v2/Survey/state": state +"/consumersurveys:v2/Survey/surveyUrlId": survey_url_id +"/consumersurveys:v2/Survey/title": title +"/consumersurveys:v2/Survey/wantedResponseCount": wanted_response_count +"/consumersurveys:v2/SurveyAudience": survey_audience +"/consumersurveys:v2/SurveyAudience/ages": ages +"/consumersurveys:v2/SurveyAudience/ages/age": age +"/consumersurveys:v2/SurveyAudience/country": country +"/consumersurveys:v2/SurveyAudience/countrySubdivision": country_subdivision +"/consumersurveys:v2/SurveyAudience/gender": gender +"/consumersurveys:v2/SurveyAudience/languages": languages +"/consumersurveys:v2/SurveyAudience/languages/language": language +"/consumersurveys:v2/SurveyAudience/mobileAppPanelId": mobile_app_panel_id +"/consumersurveys:v2/SurveyAudience/populationSource": population_source +"/consumersurveys:v2/SurveyCost": survey_cost +"/consumersurveys:v2/SurveyCost/costPerResponseNanos": cost_per_response_nanos +"/consumersurveys:v2/SurveyCost/currencyCode": currency_code +"/consumersurveys:v2/SurveyCost/maxCostPerResponseNanos": max_cost_per_response_nanos +"/consumersurveys:v2/SurveyCost/nanos": nanos +"/consumersurveys:v2/SurveyQuestion": survey_question +"/consumersurveys:v2/SurveyQuestion/answerOrder": answer_order +"/consumersurveys:v2/SurveyQuestion/answers": answers +"/consumersurveys:v2/SurveyQuestion/answers/answer": answer +"/consumersurveys:v2/SurveyQuestion/hasOther": has_other +"/consumersurveys:v2/SurveyQuestion/highValueLabel": high_value_label +"/consumersurveys:v2/SurveyQuestion/images": images +"/consumersurveys:v2/SurveyQuestion/images/image": image +"/consumersurveys:v2/SurveyQuestion/lastAnswerPositionPinned": last_answer_position_pinned +"/consumersurveys:v2/SurveyQuestion/lowValueLabel": low_value_label +"/consumersurveys:v2/SurveyQuestion/mustPickSuggestion": must_pick_suggestion +"/consumersurveys:v2/SurveyQuestion/numStars": num_stars +"/consumersurveys:v2/SurveyQuestion/openTextPlaceholder": open_text_placeholder +"/consumersurveys:v2/SurveyQuestion/openTextSuggestions": open_text_suggestions +"/consumersurveys:v2/SurveyQuestion/openTextSuggestions/open_text_suggestion": open_text_suggestion +"/consumersurveys:v2/SurveyQuestion/question": question +"/consumersurveys:v2/SurveyQuestion/sentimentText": sentiment_text +"/consumersurveys:v2/SurveyQuestion/singleLineResponse": single_line_response +"/consumersurveys:v2/SurveyQuestion/thresholdAnswers": threshold_answers +"/consumersurveys:v2/SurveyQuestion/thresholdAnswers/threshold_answer": threshold_answer +"/consumersurveys:v2/SurveyQuestion/type": type +"/consumersurveys:v2/SurveyQuestion/unitOfMeasurementLabel": unit_of_measurement_label +"/consumersurveys:v2/SurveyQuestion/videoId": video_id +"/consumersurveys:v2/SurveyQuestionImage": survey_question_image +"/consumersurveys:v2/SurveyQuestionImage/altText": alt_text +"/consumersurveys:v2/SurveyQuestionImage/data": data +"/consumersurveys:v2/SurveyQuestionImage/url": url +"/consumersurveys:v2/SurveyRejection": survey_rejection +"/consumersurveys:v2/SurveyRejection/explanation": explanation +"/consumersurveys:v2/SurveyRejection/type": type +"/consumersurveys:v2/SurveyResults": survey_results +"/consumersurveys:v2/SurveyResults/status": status +"/consumersurveys:v2/SurveyResults/surveyUrlId": survey_url_id +"/consumersurveys:v2/SurveysDeleteResponse": surveys_delete_response +"/consumersurveys:v2/SurveysDeleteResponse/requestId": request_id +"/consumersurveys:v2/SurveysListResponse": surveys_list_response +"/consumersurveys:v2/SurveysListResponse/pageInfo": page_info +"/consumersurveys:v2/SurveysListResponse/requestId": request_id +"/consumersurveys:v2/SurveysListResponse/resources": resources +"/consumersurveys:v2/SurveysListResponse/resources/resource": resource +"/consumersurveys:v2/SurveysListResponse/tokenPagination": token_pagination +"/consumersurveys:v2/SurveysStartRequest": surveys_start_request +"/consumersurveys:v2/SurveysStartRequest/maxCostPerResponseNanos": max_cost_per_response_nanos +"/consumersurveys:v2/SurveysStartResponse": surveys_start_response +"/consumersurveys:v2/SurveysStartResponse/requestId": request_id +"/consumersurveys:v2/SurveysStopResponse": surveys_stop_response +"/consumersurveys:v2/SurveysStopResponse/requestId": request_id +"/consumersurveys:v2/TokenPagination": token_pagination +"/consumersurveys:v2/TokenPagination/nextPageToken": next_page_token +"/consumersurveys:v2/TokenPagination/previousPageToken": previous_page_token +"/consumersurveys:v2/consumersurveys.mobileapppanels.get": get_mobileapppanel +"/consumersurveys:v2/consumersurveys.mobileapppanels.get/panelId": panel_id +"/consumersurveys:v2/consumersurveys.mobileapppanels.list": list_mobileapppanels +"/consumersurveys:v2/consumersurveys.mobileapppanels.list/maxResults": max_results +"/consumersurveys:v2/consumersurveys.mobileapppanels.list/startIndex": start_index +"/consumersurveys:v2/consumersurveys.mobileapppanels.list/token": token +"/consumersurveys:v2/consumersurveys.mobileapppanels.update": update_mobileapppanel +"/consumersurveys:v2/consumersurveys.mobileapppanels.update/panelId": panel_id +"/consumersurveys:v2/consumersurveys.results.get": get_result +"/consumersurveys:v2/consumersurveys.results.get/surveyUrlId": survey_url_id +"/consumersurveys:v2/consumersurveys.surveys.delete": delete_survey +"/consumersurveys:v2/consumersurveys.surveys.delete/surveyUrlId": survey_url_id +"/consumersurveys:v2/consumersurveys.surveys.get": get_survey +"/consumersurveys:v2/consumersurveys.surveys.get/surveyUrlId": survey_url_id +"/consumersurveys:v2/consumersurveys.surveys.insert": insert_survey +"/consumersurveys:v2/consumersurveys.surveys.list": list_surveys +"/consumersurveys:v2/consumersurveys.surveys.list/maxResults": max_results +"/consumersurveys:v2/consumersurveys.surveys.list/startIndex": start_index +"/consumersurveys:v2/consumersurveys.surveys.list/token": token +"/consumersurveys:v2/consumersurveys.surveys.start": start_survey +"/consumersurveys:v2/consumersurveys.surveys.start/resourceId": resource_id +"/consumersurveys:v2/consumersurveys.surveys.stop": stop_survey +"/consumersurveys:v2/consumersurveys.surveys.stop/resourceId": resource_id +"/consumersurveys:v2/consumersurveys.surveys.update": update_survey +"/consumersurveys:v2/consumersurveys.surveys.update/surveyUrlId": survey_url_id +"/consumersurveys:v2/fields": fields +"/consumersurveys:v2/key": key +"/consumersurveys:v2/quotaUser": quota_user +"/consumersurveys:v2/userIp": user_ip +"/container:v1/AcceleratorConfig": accelerator_config +"/container:v1/AcceleratorConfig/acceleratorCount": accelerator_count +"/container:v1/AcceleratorConfig/acceleratorType": accelerator_type +"/container:v1/AddonsConfig": addons_config +"/container:v1/AddonsConfig/horizontalPodAutoscaling": horizontal_pod_autoscaling +"/container:v1/AddonsConfig/httpLoadBalancing": http_load_balancing +"/container:v1/AddonsConfig/kubernetesDashboard": kubernetes_dashboard +"/container:v1/AutoUpgradeOptions": auto_upgrade_options +"/container:v1/AutoUpgradeOptions/autoUpgradeStartTime": auto_upgrade_start_time +"/container:v1/AutoUpgradeOptions/description": description +"/container:v1/CancelOperationRequest": cancel_operation_request +"/container:v1/CidrBlock": cidr_block +"/container:v1/CidrBlock/cidrBlock": cidr_block +"/container:v1/CidrBlock/displayName": display_name +"/container:v1/ClientCertificateConfig": client_certificate_config +"/container:v1/ClientCertificateConfig/issueClientCertificate": issue_client_certificate "/container:v1/Cluster": cluster -"/container:v1/Cluster/currentMasterVersion": current_master_version -"/container:v1/Cluster/nodeConfig": node_config "/container:v1/Cluster/addonsConfig": addons_config -"/container:v1/Cluster/status": status -"/container:v1/Cluster/currentNodeVersion": current_node_version -"/container:v1/Cluster/subnetwork": subnetwork -"/container:v1/Cluster/name": name -"/container:v1/Cluster/resourceLabels": resource_labels -"/container:v1/Cluster/resourceLabels/resource_label": resource_label -"/container:v1/Cluster/initialClusterVersion": initial_cluster_version -"/container:v1/Cluster/ipAllocationPolicy": ip_allocation_policy -"/container:v1/Cluster/legacyAbac": legacy_abac -"/container:v1/Cluster/endpoint": endpoint -"/container:v1/Cluster/createTime": create_time "/container:v1/Cluster/clusterIpv4Cidr": cluster_ipv4_cidr +"/container:v1/Cluster/createTime": create_time +"/container:v1/Cluster/currentMasterVersion": current_master_version +"/container:v1/Cluster/currentNodeCount": current_node_count +"/container:v1/Cluster/currentNodeVersion": current_node_version +"/container:v1/Cluster/description": description +"/container:v1/Cluster/enableKubernetesAlpha": enable_kubernetes_alpha +"/container:v1/Cluster/endpoint": endpoint +"/container:v1/Cluster/expireTime": expire_time +"/container:v1/Cluster/initialClusterVersion": initial_cluster_version "/container:v1/Cluster/initialNodeCount": initial_node_count -"/container:v1/Cluster/nodePools": node_pools -"/container:v1/Cluster/nodePools/node_pool": node_pool -"/container:v1/Cluster/locations": locations -"/container:v1/Cluster/locations/location": location -"/container:v1/Cluster/selfLink": self_link "/container:v1/Cluster/instanceGroupUrls": instance_group_urls "/container:v1/Cluster/instanceGroupUrls/instance_group_url": instance_group_url -"/container:v1/Cluster/servicesIpv4Cidr": services_ipv4_cidr -"/container:v1/Cluster/networkPolicy": network_policy -"/container:v1/Cluster/enableKubernetesAlpha": enable_kubernetes_alpha -"/container:v1/Cluster/description": description -"/container:v1/Cluster/currentNodeCount": current_node_count -"/container:v1/Cluster/monitoringService": monitoring_service -"/container:v1/Cluster/network": network +"/container:v1/Cluster/ipAllocationPolicy": ip_allocation_policy "/container:v1/Cluster/labelFingerprint": label_fingerprint -"/container:v1/Cluster/zone": zone -"/container:v1/Cluster/nodeIpv4CidrSize": node_ipv4_cidr_size +"/container:v1/Cluster/legacyAbac": legacy_abac +"/container:v1/Cluster/locations": locations +"/container:v1/Cluster/locations/location": location "/container:v1/Cluster/loggingService": logging_service -"/container:v1/Cluster/expireTime": expire_time -"/container:v1/Cluster/statusMessage": status_message "/container:v1/Cluster/masterAuth": master_auth +"/container:v1/Cluster/masterAuthorizedNetworksConfig": master_authorized_networks_config +"/container:v1/Cluster/monitoringService": monitoring_service +"/container:v1/Cluster/name": name +"/container:v1/Cluster/network": network +"/container:v1/Cluster/networkPolicy": network_policy +"/container:v1/Cluster/nodeConfig": node_config +"/container:v1/Cluster/nodeIpv4CidrSize": node_ipv4_cidr_size +"/container:v1/Cluster/nodePools": node_pools +"/container:v1/Cluster/nodePools/node_pool": node_pool +"/container:v1/Cluster/resourceLabels": resource_labels +"/container:v1/Cluster/resourceLabels/resource_label": resource_label +"/container:v1/Cluster/selfLink": self_link +"/container:v1/Cluster/servicesIpv4Cidr": services_ipv4_cidr +"/container:v1/Cluster/status": status +"/container:v1/Cluster/statusMessage": status_message +"/container:v1/Cluster/subnetwork": subnetwork +"/container:v1/Cluster/zone": zone +"/container:v1/ClusterUpdate": cluster_update +"/container:v1/ClusterUpdate/desiredAddonsConfig": desired_addons_config +"/container:v1/ClusterUpdate/desiredImageType": desired_image_type +"/container:v1/ClusterUpdate/desiredLocations": desired_locations +"/container:v1/ClusterUpdate/desiredLocations/desired_location": desired_location +"/container:v1/ClusterUpdate/desiredMasterAuthorizedNetworksConfig": desired_master_authorized_networks_config +"/container:v1/ClusterUpdate/desiredMasterVersion": desired_master_version +"/container:v1/ClusterUpdate/desiredMonitoringService": desired_monitoring_service +"/container:v1/ClusterUpdate/desiredNodePoolAutoscaling": desired_node_pool_autoscaling +"/container:v1/ClusterUpdate/desiredNodePoolId": desired_node_pool_id +"/container:v1/ClusterUpdate/desiredNodeVersion": desired_node_version +"/container:v1/CompleteIPRotationRequest": complete_ip_rotation_request +"/container:v1/CreateClusterRequest": create_cluster_request +"/container:v1/CreateClusterRequest/cluster": cluster "/container:v1/CreateNodePoolRequest": create_node_pool_request "/container:v1/CreateNodePoolRequest/nodePool": node_pool -"/container:v1/ListOperationsResponse": list_operations_response -"/container:v1/ListOperationsResponse/operations": operations -"/container:v1/ListOperationsResponse/operations/operation": operation -"/container:v1/ListOperationsResponse/missingZones": missing_zones -"/container:v1/ListOperationsResponse/missingZones/missing_zone": missing_zone -"/container:v1/SetMonitoringServiceRequest": set_monitoring_service_request -"/container:v1/SetMonitoringServiceRequest/monitoringService": monitoring_service -"/container:v1/ServerConfig": server_config -"/container:v1/ServerConfig/validMasterVersions": valid_master_versions -"/container:v1/ServerConfig/validMasterVersions/valid_master_version": valid_master_version -"/container:v1/ServerConfig/defaultImageType": default_image_type -"/container:v1/ServerConfig/defaultClusterVersion": default_cluster_version -"/container:v1/ServerConfig/validImageTypes": valid_image_types -"/container:v1/ServerConfig/validImageTypes/valid_image_type": valid_image_type -"/container:v1/ServerConfig/validNodeVersions": valid_node_versions -"/container:v1/ServerConfig/validNodeVersions/valid_node_version": valid_node_version -"/container:v1/MasterAuth": master_auth -"/container:v1/MasterAuth/clientCertificate": client_certificate -"/container:v1/MasterAuth/username": username -"/container:v1/MasterAuth/password": password -"/container:v1/MasterAuth/clientCertificateConfig": client_certificate_config -"/container:v1/MasterAuth/clientKey": client_key -"/container:v1/MasterAuth/clusterCaCertificate": cluster_ca_certificate -"/container:v1/NodeConfig": node_config -"/container:v1/NodeConfig/preemptible": preemptible -"/container:v1/NodeConfig/labels": labels -"/container:v1/NodeConfig/labels/label": label -"/container:v1/NodeConfig/localSsdCount": local_ssd_count -"/container:v1/NodeConfig/metadata": metadata -"/container:v1/NodeConfig/metadata/metadatum": metadatum -"/container:v1/NodeConfig/diskSizeGb": disk_size_gb -"/container:v1/NodeConfig/tags": tags -"/container:v1/NodeConfig/tags/tag": tag -"/container:v1/NodeConfig/serviceAccount": service_account -"/container:v1/NodeConfig/machineType": machine_type -"/container:v1/NodeConfig/imageType": image_type -"/container:v1/NodeConfig/oauthScopes": oauth_scopes -"/container:v1/NodeConfig/oauthScopes/oauth_scope": oauth_scope -"/container:v1/AutoUpgradeOptions": auto_upgrade_options -"/container:v1/AutoUpgradeOptions/description": description -"/container:v1/AutoUpgradeOptions/autoUpgradeStartTime": auto_upgrade_start_time +"/container:v1/Empty": empty +"/container:v1/HorizontalPodAutoscaling": horizontal_pod_autoscaling +"/container:v1/HorizontalPodAutoscaling/disabled": disabled +"/container:v1/HttpLoadBalancing": http_load_balancing +"/container:v1/HttpLoadBalancing/disabled": disabled +"/container:v1/IPAllocationPolicy": ip_allocation_policy +"/container:v1/IPAllocationPolicy/clusterIpv4Cidr": cluster_ipv4_cidr +"/container:v1/IPAllocationPolicy/createSubnetwork": create_subnetwork +"/container:v1/IPAllocationPolicy/nodeIpv4Cidr": node_ipv4_cidr +"/container:v1/IPAllocationPolicy/servicesIpv4Cidr": services_ipv4_cidr +"/container:v1/IPAllocationPolicy/subnetworkName": subnetwork_name +"/container:v1/IPAllocationPolicy/useIpAliases": use_ip_aliases +"/container:v1/KubernetesDashboard": kubernetes_dashboard +"/container:v1/KubernetesDashboard/disabled": disabled +"/container:v1/LegacyAbac": legacy_abac +"/container:v1/LegacyAbac/enabled": enabled "/container:v1/ListClustersResponse": list_clusters_response "/container:v1/ListClustersResponse/clusters": clusters "/container:v1/ListClustersResponse/clusters/cluster": cluster "/container:v1/ListClustersResponse/missingZones": missing_zones "/container:v1/ListClustersResponse/missingZones/missing_zone": missing_zone -"/container:v1/HttpLoadBalancing": http_load_balancing -"/container:v1/HttpLoadBalancing/disabled": disabled -"/container:v1/ClientCertificateConfig": client_certificate_config -"/container:v1/ClientCertificateConfig/issueClientCertificate": issue_client_certificate -"/container:v1/NodePoolAutoscaling": node_pool_autoscaling -"/container:v1/NodePoolAutoscaling/maxNodeCount": max_node_count -"/container:v1/NodePoolAutoscaling/minNodeCount": min_node_count -"/container:v1/NodePoolAutoscaling/enabled": enabled -"/container:v1/SetMasterAuthRequest": set_master_auth_request -"/container:v1/SetMasterAuthRequest/update": update -"/container:v1/SetMasterAuthRequest/action": action -"/container:v1/SetNetworkPolicyRequest": set_network_policy_request -"/container:v1/SetNetworkPolicyRequest/networkPolicy": network_policy -"/container:v1/ClusterUpdate": cluster_update -"/container:v1/ClusterUpdate/desiredLocations": desired_locations -"/container:v1/ClusterUpdate/desiredLocations/desired_location": desired_location -"/container:v1/ClusterUpdate/desiredNodePoolAutoscaling": desired_node_pool_autoscaling -"/container:v1/ClusterUpdate/desiredMonitoringService": desired_monitoring_service -"/container:v1/ClusterUpdate/desiredImageType": desired_image_type -"/container:v1/ClusterUpdate/desiredAddonsConfig": desired_addons_config -"/container:v1/ClusterUpdate/desiredNodePoolId": desired_node_pool_id -"/container:v1/ClusterUpdate/desiredNodeVersion": desired_node_version -"/container:v1/ClusterUpdate/desiredMasterVersion": desired_master_version -"/container:v1/IPAllocationPolicy": ip_allocation_policy -"/container:v1/IPAllocationPolicy/createSubnetwork": create_subnetwork -"/container:v1/IPAllocationPolicy/useIpAliases": use_ip_aliases -"/container:v1/IPAllocationPolicy/subnetworkName": subnetwork_name -"/container:v1/IPAllocationPolicy/clusterIpv4Cidr": cluster_ipv4_cidr -"/container:v1/IPAllocationPolicy/nodeIpv4Cidr": node_ipv4_cidr -"/container:v1/IPAllocationPolicy/servicesIpv4Cidr": services_ipv4_cidr -"/container:v1/SetLoggingServiceRequest": set_logging_service_request -"/container:v1/SetLoggingServiceRequest/loggingService": logging_service -"/container:v1/HorizontalPodAutoscaling": horizontal_pod_autoscaling -"/container:v1/HorizontalPodAutoscaling/disabled": disabled -"/container:v1/Empty": empty -"/container:v1/SetNodePoolManagementRequest": set_node_pool_management_request -"/container:v1/SetNodePoolManagementRequest/management": management -"/container:v1/SetNodePoolAutoscalingRequest": set_node_pool_autoscaling_request -"/container:v1/SetNodePoolAutoscalingRequest/autoscaling": autoscaling -"/container:v1/CreateClusterRequest": create_cluster_request -"/container:v1/CreateClusterRequest/cluster": cluster "/container:v1/ListNodePoolsResponse": list_node_pools_response "/container:v1/ListNodePoolsResponse/nodePools": node_pools "/container:v1/ListNodePoolsResponse/nodePools/node_pool": node_pool -"/container:v1/CompleteIPRotationRequest": complete_ip_rotation_request -"/container:v1/StartIPRotationRequest": start_ip_rotation_request -"/container:v1/UpdateNodePoolRequest": update_node_pool_request -"/container:v1/UpdateNodePoolRequest/imageType": image_type -"/container:v1/UpdateNodePoolRequest/nodeVersion": node_version -"/container:v1/LegacyAbac": legacy_abac -"/container:v1/LegacyAbac/enabled": enabled -"/container:v1/SetAddonsConfigRequest": set_addons_config_request -"/container:v1/SetAddonsConfigRequest/addonsConfig": addons_config -"/container:v1/NodePool": node_pool -"/container:v1/NodePool/name": name -"/container:v1/NodePool/statusMessage": status_message -"/container:v1/NodePool/autoscaling": autoscaling -"/container:v1/NodePool/management": management -"/container:v1/NodePool/initialNodeCount": initial_node_count -"/container:v1/NodePool/selfLink": self_link -"/container:v1/NodePool/version": version -"/container:v1/NodePool/instanceGroupUrls": instance_group_urls -"/container:v1/NodePool/instanceGroupUrls/instance_group_url": instance_group_url -"/container:v1/NodePool/status": status -"/container:v1/NodePool/config": config -"/container:v1/SetLabelsRequest": set_labels_request -"/container:v1/SetLabelsRequest/labelFingerprint": label_fingerprint -"/container:v1/SetLabelsRequest/resourceLabels": resource_labels -"/container:v1/SetLabelsRequest/resourceLabels/resource_label": resource_label +"/container:v1/ListOperationsResponse": list_operations_response +"/container:v1/ListOperationsResponse/missingZones": missing_zones +"/container:v1/ListOperationsResponse/missingZones/missing_zone": missing_zone +"/container:v1/ListOperationsResponse/operations": operations +"/container:v1/ListOperationsResponse/operations/operation": operation +"/container:v1/MasterAuth": master_auth +"/container:v1/MasterAuth/clientCertificate": client_certificate +"/container:v1/MasterAuth/clientCertificateConfig": client_certificate_config +"/container:v1/MasterAuth/clientKey": client_key +"/container:v1/MasterAuth/clusterCaCertificate": cluster_ca_certificate +"/container:v1/MasterAuth/password": password +"/container:v1/MasterAuth/username": username +"/container:v1/MasterAuthorizedNetworksConfig": master_authorized_networks_config +"/container:v1/MasterAuthorizedNetworksConfig/cidrBlocks": cidr_blocks +"/container:v1/MasterAuthorizedNetworksConfig/cidrBlocks/cidr_block": cidr_block +"/container:v1/MasterAuthorizedNetworksConfig/enabled": enabled +"/container:v1/NetworkPolicy": network_policy +"/container:v1/NetworkPolicy/enabled": enabled +"/container:v1/NetworkPolicy/provider": provider +"/container:v1/NodeConfig": node_config +"/container:v1/NodeConfig/accelerators": accelerators +"/container:v1/NodeConfig/accelerators/accelerator": accelerator +"/container:v1/NodeConfig/diskSizeGb": disk_size_gb +"/container:v1/NodeConfig/imageType": image_type +"/container:v1/NodeConfig/labels": labels +"/container:v1/NodeConfig/labels/label": label +"/container:v1/NodeConfig/localSsdCount": local_ssd_count +"/container:v1/NodeConfig/machineType": machine_type +"/container:v1/NodeConfig/metadata": metadata +"/container:v1/NodeConfig/metadata/metadatum": metadatum +"/container:v1/NodeConfig/oauthScopes": oauth_scopes +"/container:v1/NodeConfig/oauthScopes/oauth_scope": oauth_scope +"/container:v1/NodeConfig/preemptible": preemptible +"/container:v1/NodeConfig/serviceAccount": service_account +"/container:v1/NodeConfig/tags": tags +"/container:v1/NodeConfig/tags/tag": tag "/container:v1/NodeManagement": node_management "/container:v1/NodeManagement/autoRepair": auto_repair "/container:v1/NodeManagement/autoUpgrade": auto_upgrade "/container:v1/NodeManagement/upgradeOptions": upgrade_options -"/container:v1/CancelOperationRequest": cancel_operation_request -"/container:v1/SetLegacyAbacRequest": set_legacy_abac_request -"/container:v1/SetLegacyAbacRequest/enabled": enabled +"/container:v1/NodePool": node_pool +"/container:v1/NodePool/autoscaling": autoscaling +"/container:v1/NodePool/config": config +"/container:v1/NodePool/initialNodeCount": initial_node_count +"/container:v1/NodePool/instanceGroupUrls": instance_group_urls +"/container:v1/NodePool/instanceGroupUrls/instance_group_url": instance_group_url +"/container:v1/NodePool/management": management +"/container:v1/NodePool/name": name +"/container:v1/NodePool/selfLink": self_link +"/container:v1/NodePool/status": status +"/container:v1/NodePool/statusMessage": status_message +"/container:v1/NodePool/version": version +"/container:v1/NodePoolAutoscaling": node_pool_autoscaling +"/container:v1/NodePoolAutoscaling/enabled": enabled +"/container:v1/NodePoolAutoscaling/maxNodeCount": max_node_count +"/container:v1/NodePoolAutoscaling/minNodeCount": min_node_count "/container:v1/Operation": operation -"/container:v1/Operation/zone": zone +"/container:v1/Operation/detail": detail +"/container:v1/Operation/name": name +"/container:v1/Operation/operationType": operation_type +"/container:v1/Operation/selfLink": self_link "/container:v1/Operation/status": status "/container:v1/Operation/statusMessage": status_message -"/container:v1/Operation/name": name -"/container:v1/Operation/selfLink": self_link "/container:v1/Operation/targetLink": target_link -"/container:v1/Operation/detail": detail -"/container:v1/Operation/operationType": operation_type -"/container:v1/AddonsConfig": addons_config -"/container:v1/AddonsConfig/horizontalPodAutoscaling": horizontal_pod_autoscaling -"/container:v1/AddonsConfig/httpLoadBalancing": http_load_balancing -"/content:v2/fields": fields -"/content:v2/key": key -"/content:v2/quotaUser": quota_user -"/content:v2/userIp": user_ip -"/content:v2/content.accounts.claimwebsite": claimwebsite_account -"/content:v2/content.accounts.claimwebsite/accountId": account_id -"/content:v2/content.accounts.claimwebsite/merchantId": merchant_id -"/content:v2/content.accounts.claimwebsite/overwrite": overwrite -"/content:v2/content.accounts.custombatch/dryRun": dry_run -"/content:v2/content.accounts.delete": delete_account -"/content:v2/content.accounts.delete/accountId": account_id -"/content:v2/content.accounts.delete/dryRun": dry_run -"/content:v2/content.accounts.delete/merchantId": merchant_id -"/content:v2/content.accounts.get": get_account -"/content:v2/content.accounts.get/accountId": account_id -"/content:v2/content.accounts.get/merchantId": merchant_id -"/content:v2/content.accounts.insert": insert_account -"/content:v2/content.accounts.insert/dryRun": dry_run -"/content:v2/content.accounts.insert/merchantId": merchant_id -"/content:v2/content.accounts.list": list_accounts -"/content:v2/content.accounts.list/maxResults": max_results -"/content:v2/content.accounts.list/merchantId": merchant_id -"/content:v2/content.accounts.list/pageToken": page_token -"/content:v2/content.accounts.patch": patch_account -"/content:v2/content.accounts.patch/accountId": account_id -"/content:v2/content.accounts.patch/dryRun": dry_run -"/content:v2/content.accounts.patch/merchantId": merchant_id -"/content:v2/content.accounts.update": update_account -"/content:v2/content.accounts.update/accountId": account_id -"/content:v2/content.accounts.update/dryRun": dry_run -"/content:v2/content.accounts.update/merchantId": merchant_id -"/content:v2/content.accountstatuses.get/accountId": account_id -"/content:v2/content.accountstatuses.get/merchantId": merchant_id -"/content:v2/content.accountstatuses.list/maxResults": max_results -"/content:v2/content.accountstatuses.list/merchantId": merchant_id -"/content:v2/content.accountstatuses.list/pageToken": page_token -"/content:v2/content.accounttax.custombatch/dryRun": dry_run -"/content:v2/content.accounttax.get/accountId": account_id -"/content:v2/content.accounttax.get/merchantId": merchant_id -"/content:v2/content.accounttax.list/maxResults": max_results -"/content:v2/content.accounttax.list/merchantId": merchant_id -"/content:v2/content.accounttax.list/pageToken": page_token -"/content:v2/content.accounttax.patch/accountId": account_id -"/content:v2/content.accounttax.patch/dryRun": dry_run -"/content:v2/content.accounttax.patch/merchantId": merchant_id -"/content:v2/content.accounttax.update/accountId": account_id -"/content:v2/content.accounttax.update/dryRun": dry_run -"/content:v2/content.accounttax.update/merchantId": merchant_id -"/content:v2/content.datafeeds.custombatch/dryRun": dry_run -"/content:v2/content.datafeeds.delete": delete_datafeed -"/content:v2/content.datafeeds.delete/datafeedId": datafeed_id -"/content:v2/content.datafeeds.delete/dryRun": dry_run -"/content:v2/content.datafeeds.delete/merchantId": merchant_id -"/content:v2/content.datafeeds.get": get_datafeed -"/content:v2/content.datafeeds.get/datafeedId": datafeed_id -"/content:v2/content.datafeeds.get/merchantId": merchant_id -"/content:v2/content.datafeeds.insert": insert_datafeed -"/content:v2/content.datafeeds.insert/dryRun": dry_run -"/content:v2/content.datafeeds.insert/merchantId": merchant_id -"/content:v2/content.datafeeds.list": list_datafeeds -"/content:v2/content.datafeeds.list/maxResults": max_results -"/content:v2/content.datafeeds.list/merchantId": merchant_id -"/content:v2/content.datafeeds.list/pageToken": page_token -"/content:v2/content.datafeeds.patch": patch_datafeed -"/content:v2/content.datafeeds.patch/datafeedId": datafeed_id -"/content:v2/content.datafeeds.patch/dryRun": dry_run -"/content:v2/content.datafeeds.patch/merchantId": merchant_id -"/content:v2/content.datafeeds.update": update_datafeed -"/content:v2/content.datafeeds.update/datafeedId": datafeed_id -"/content:v2/content.datafeeds.update/dryRun": dry_run -"/content:v2/content.datafeeds.update/merchantId": merchant_id -"/content:v2/content.datafeedstatuses.get/datafeedId": datafeed_id -"/content:v2/content.datafeedstatuses.get/merchantId": merchant_id -"/content:v2/content.datafeedstatuses.list/maxResults": max_results -"/content:v2/content.datafeedstatuses.list/merchantId": merchant_id -"/content:v2/content.datafeedstatuses.list/pageToken": page_token -"/content:v2/content.inventory.custombatch/dryRun": dry_run -"/content:v2/content.inventory.set/dryRun": dry_run -"/content:v2/content.inventory.set/merchantId": merchant_id -"/content:v2/content.inventory.set/productId": product_id -"/content:v2/content.inventory.set/storeCode": store_code -"/content:v2/content.orders.acknowledge": acknowledge_order -"/content:v2/content.orders.acknowledge/merchantId": merchant_id -"/content:v2/content.orders.acknowledge/orderId": order_id -"/content:v2/content.orders.advancetestorder/merchantId": merchant_id -"/content:v2/content.orders.advancetestorder/orderId": order_id -"/content:v2/content.orders.cancel": cancel_order -"/content:v2/content.orders.cancel/merchantId": merchant_id -"/content:v2/content.orders.cancel/orderId": order_id -"/content:v2/content.orders.cancellineitem/merchantId": merchant_id -"/content:v2/content.orders.cancellineitem/orderId": order_id -"/content:v2/content.orders.createtestorder/merchantId": merchant_id -"/content:v2/content.orders.get": get_order -"/content:v2/content.orders.get/merchantId": merchant_id -"/content:v2/content.orders.get/orderId": order_id -"/content:v2/content.orders.getbymerchantorderid/merchantId": merchant_id -"/content:v2/content.orders.getbymerchantorderid/merchantOrderId": merchant_order_id -"/content:v2/content.orders.gettestordertemplate/merchantId": merchant_id -"/content:v2/content.orders.gettestordertemplate/templateName": template_name -"/content:v2/content.orders.list": list_orders -"/content:v2/content.orders.list/acknowledged": acknowledged -"/content:v2/content.orders.list/maxResults": max_results -"/content:v2/content.orders.list/merchantId": merchant_id -"/content:v2/content.orders.list/orderBy": order_by -"/content:v2/content.orders.list/pageToken": page_token -"/content:v2/content.orders.list/placedDateEnd": placed_date_end -"/content:v2/content.orders.list/placedDateStart": placed_date_start -"/content:v2/content.orders.list/statuses": statuses -"/content:v2/content.orders.refund": refund_order -"/content:v2/content.orders.refund/merchantId": merchant_id -"/content:v2/content.orders.refund/orderId": order_id -"/content:v2/content.orders.returnlineitem/merchantId": merchant_id -"/content:v2/content.orders.returnlineitem/orderId": order_id -"/content:v2/content.orders.shiplineitems": shiplineitems_order -"/content:v2/content.orders.shiplineitems/merchantId": merchant_id -"/content:v2/content.orders.shiplineitems/orderId": order_id -"/content:v2/content.orders.updatemerchantorderid/merchantId": merchant_id -"/content:v2/content.orders.updatemerchantorderid/orderId": order_id -"/content:v2/content.orders.updateshipment/merchantId": merchant_id -"/content:v2/content.orders.updateshipment/orderId": order_id -"/content:v2/content.products.custombatch/dryRun": dry_run -"/content:v2/content.products.delete": delete_product -"/content:v2/content.products.delete/dryRun": dry_run -"/content:v2/content.products.delete/merchantId": merchant_id -"/content:v2/content.products.delete/productId": product_id -"/content:v2/content.products.get": get_product -"/content:v2/content.products.get/merchantId": merchant_id -"/content:v2/content.products.get/productId": product_id -"/content:v2/content.products.insert": insert_product -"/content:v2/content.products.insert/dryRun": dry_run -"/content:v2/content.products.insert/merchantId": merchant_id -"/content:v2/content.products.list": list_products -"/content:v2/content.products.list/includeInvalidInsertedItems": include_invalid_inserted_items -"/content:v2/content.products.list/maxResults": max_results -"/content:v2/content.products.list/merchantId": merchant_id -"/content:v2/content.products.list/pageToken": page_token -"/content:v2/content.productstatuses.custombatch/includeAttributes": include_attributes -"/content:v2/content.productstatuses.get/includeAttributes": include_attributes -"/content:v2/content.productstatuses.get/merchantId": merchant_id -"/content:v2/content.productstatuses.get/productId": product_id -"/content:v2/content.productstatuses.list/includeAttributes": include_attributes -"/content:v2/content.productstatuses.list/includeInvalidInsertedItems": include_invalid_inserted_items -"/content:v2/content.productstatuses.list/maxResults": max_results -"/content:v2/content.productstatuses.list/merchantId": merchant_id -"/content:v2/content.productstatuses.list/pageToken": page_token -"/content:v2/content.shippingsettings.custombatch": custombatch_shippingsetting -"/content:v2/content.shippingsettings.custombatch/dryRun": dry_run -"/content:v2/content.shippingsettings.get": get_shippingsetting -"/content:v2/content.shippingsettings.get/accountId": account_id -"/content:v2/content.shippingsettings.get/merchantId": merchant_id -"/content:v2/content.shippingsettings.getsupportedcarriers": getsupportedcarriers_shippingsetting -"/content:v2/content.shippingsettings.getsupportedcarriers/merchantId": merchant_id -"/content:v2/content.shippingsettings.list": list_shippingsettings -"/content:v2/content.shippingsettings.list/maxResults": max_results -"/content:v2/content.shippingsettings.list/merchantId": merchant_id -"/content:v2/content.shippingsettings.list/pageToken": page_token -"/content:v2/content.shippingsettings.patch": patch_shippingsetting -"/content:v2/content.shippingsettings.patch/accountId": account_id -"/content:v2/content.shippingsettings.patch/dryRun": dry_run -"/content:v2/content.shippingsettings.patch/merchantId": merchant_id -"/content:v2/content.shippingsettings.update": update_shippingsetting -"/content:v2/content.shippingsettings.update/accountId": account_id -"/content:v2/content.shippingsettings.update/dryRun": dry_run -"/content:v2/content.shippingsettings.update/merchantId": merchant_id +"/container:v1/Operation/zone": zone +"/container:v1/RollbackNodePoolUpgradeRequest": rollback_node_pool_upgrade_request +"/container:v1/ServerConfig": server_config +"/container:v1/ServerConfig/defaultClusterVersion": default_cluster_version +"/container:v1/ServerConfig/defaultImageType": default_image_type +"/container:v1/ServerConfig/validImageTypes": valid_image_types +"/container:v1/ServerConfig/validImageTypes/valid_image_type": valid_image_type +"/container:v1/ServerConfig/validMasterVersions": valid_master_versions +"/container:v1/ServerConfig/validMasterVersions/valid_master_version": valid_master_version +"/container:v1/ServerConfig/validNodeVersions": valid_node_versions +"/container:v1/ServerConfig/validNodeVersions/valid_node_version": valid_node_version +"/container:v1/SetAddonsConfigRequest": set_addons_config_request +"/container:v1/SetAddonsConfigRequest/addonsConfig": addons_config +"/container:v1/SetLabelsRequest": set_labels_request +"/container:v1/SetLabelsRequest/labelFingerprint": label_fingerprint +"/container:v1/SetLabelsRequest/resourceLabels": resource_labels +"/container:v1/SetLabelsRequest/resourceLabels/resource_label": resource_label +"/container:v1/SetLegacyAbacRequest": set_legacy_abac_request +"/container:v1/SetLegacyAbacRequest/enabled": enabled +"/container:v1/SetLocationsRequest": set_locations_request +"/container:v1/SetLocationsRequest/locations": locations +"/container:v1/SetLocationsRequest/locations/location": location +"/container:v1/SetLoggingServiceRequest": set_logging_service_request +"/container:v1/SetLoggingServiceRequest/loggingService": logging_service +"/container:v1/SetMasterAuthRequest": set_master_auth_request +"/container:v1/SetMasterAuthRequest/action": action +"/container:v1/SetMasterAuthRequest/update": update +"/container:v1/SetMonitoringServiceRequest": set_monitoring_service_request +"/container:v1/SetMonitoringServiceRequest/monitoringService": monitoring_service +"/container:v1/SetNetworkPolicyRequest": set_network_policy_request +"/container:v1/SetNetworkPolicyRequest/networkPolicy": network_policy +"/container:v1/SetNodePoolAutoscalingRequest": set_node_pool_autoscaling_request +"/container:v1/SetNodePoolAutoscalingRequest/autoscaling": autoscaling +"/container:v1/SetNodePoolManagementRequest": set_node_pool_management_request +"/container:v1/SetNodePoolManagementRequest/management": management +"/container:v1/SetNodePoolSizeRequest": set_node_pool_size_request +"/container:v1/SetNodePoolSizeRequest/nodeCount": node_count +"/container:v1/StartIPRotationRequest": start_ip_rotation_request +"/container:v1/UpdateClusterRequest": update_cluster_request +"/container:v1/UpdateClusterRequest/update": update +"/container:v1/UpdateMasterRequest": update_master_request +"/container:v1/UpdateMasterRequest/masterVersion": master_version +"/container:v1/UpdateNodePoolRequest": update_node_pool_request +"/container:v1/UpdateNodePoolRequest/imageType": image_type +"/container:v1/UpdateNodePoolRequest/nodeVersion": node_version +"/container:v1/container.projects.clusters.list": list_clusters +"/container:v1/container.projects.operations.list": list_operations +"/container:v1/container.projects.zones.clusters.addons": addons_project_zone_cluster +"/container:v1/container.projects.zones.clusters.addons/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.addons/projectId": project_id +"/container:v1/container.projects.zones.clusters.addons/zone": zone +"/container:v1/container.projects.zones.clusters.completeIpRotation": complete_cluster_ip_rotation +"/container:v1/container.projects.zones.clusters.completeIpRotation/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.completeIpRotation/projectId": project_id +"/container:v1/container.projects.zones.clusters.completeIpRotation/zone": zone +"/container:v1/container.projects.zones.clusters.create": create_cluster +"/container:v1/container.projects.zones.clusters.create/projectId": project_id +"/container:v1/container.projects.zones.clusters.create/zone": zone +"/container:v1/container.projects.zones.clusters.delete": delete_zone_cluster +"/container:v1/container.projects.zones.clusters.delete/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.delete/projectId": project_id +"/container:v1/container.projects.zones.clusters.delete/zone": zone +"/container:v1/container.projects.zones.clusters.get": get_zone_cluster +"/container:v1/container.projects.zones.clusters.get/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.get/projectId": project_id +"/container:v1/container.projects.zones.clusters.get/zone": zone +"/container:v1/container.projects.zones.clusters.legacyAbac": legacy_project_zone_cluster_abac +"/container:v1/container.projects.zones.clusters.legacyAbac/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.legacyAbac/projectId": project_id +"/container:v1/container.projects.zones.clusters.legacyAbac/zone": zone +"/container:v1/container.projects.zones.clusters.list": list_zone_clusters +"/container:v1/container.projects.zones.clusters.list/projectId": project_id +"/container:v1/container.projects.zones.clusters.list/zone": zone +"/container:v1/container.projects.zones.clusters.locations": locations_project_zone_cluster +"/container:v1/container.projects.zones.clusters.locations/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.locations/projectId": project_id +"/container:v1/container.projects.zones.clusters.locations/zone": zone +"/container:v1/container.projects.zones.clusters.logging": logging_project_zone_cluster +"/container:v1/container.projects.zones.clusters.logging/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.logging/projectId": project_id +"/container:v1/container.projects.zones.clusters.logging/zone": zone +"/container:v1/container.projects.zones.clusters.master": master_project_zone_cluster +"/container:v1/container.projects.zones.clusters.master/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.master/projectId": project_id +"/container:v1/container.projects.zones.clusters.master/zone": zone +"/container:v1/container.projects.zones.clusters.monitoring": monitoring_project_zone_cluster +"/container:v1/container.projects.zones.clusters.monitoring/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.monitoring/projectId": project_id +"/container:v1/container.projects.zones.clusters.monitoring/zone": zone +"/container:v1/container.projects.zones.clusters.nodePools.autoscaling": autoscaling_project_zone_cluster_node_pool +"/container:v1/container.projects.zones.clusters.nodePools.autoscaling/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.nodePools.autoscaling/nodePoolId": node_pool_id +"/container:v1/container.projects.zones.clusters.nodePools.autoscaling/projectId": project_id +"/container:v1/container.projects.zones.clusters.nodePools.autoscaling/zone": zone +"/container:v1/container.projects.zones.clusters.nodePools.create": create_node_pool +"/container:v1/container.projects.zones.clusters.nodePools.create/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.nodePools.create/projectId": project_id +"/container:v1/container.projects.zones.clusters.nodePools.create/zone": zone +"/container:v1/container.projects.zones.clusters.nodePools.delete": delete_project_zone_cluster_node_pool +"/container:v1/container.projects.zones.clusters.nodePools.delete/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.nodePools.delete/nodePoolId": node_pool_id +"/container:v1/container.projects.zones.clusters.nodePools.delete/projectId": project_id +"/container:v1/container.projects.zones.clusters.nodePools.delete/zone": zone +"/container:v1/container.projects.zones.clusters.nodePools.get": get_project_zone_cluster_node_pool +"/container:v1/container.projects.zones.clusters.nodePools.get/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.nodePools.get/nodePoolId": node_pool_id +"/container:v1/container.projects.zones.clusters.nodePools.get/projectId": project_id +"/container:v1/container.projects.zones.clusters.nodePools.get/zone": zone +"/container:v1/container.projects.zones.clusters.nodePools.list": list_project_zone_cluster_node_pools +"/container:v1/container.projects.zones.clusters.nodePools.list/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.nodePools.list/projectId": project_id +"/container:v1/container.projects.zones.clusters.nodePools.list/zone": zone +"/container:v1/container.projects.zones.clusters.nodePools.rollback": rollback_node_pool_upgrade +"/container:v1/container.projects.zones.clusters.nodePools.rollback/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.nodePools.rollback/nodePoolId": node_pool_id +"/container:v1/container.projects.zones.clusters.nodePools.rollback/projectId": project_id +"/container:v1/container.projects.zones.clusters.nodePools.rollback/zone": zone +"/container:v1/container.projects.zones.clusters.nodePools.setManagement": set_project_zone_cluster_node_pool_management +"/container:v1/container.projects.zones.clusters.nodePools.setManagement/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.nodePools.setManagement/nodePoolId": node_pool_id +"/container:v1/container.projects.zones.clusters.nodePools.setManagement/projectId": project_id +"/container:v1/container.projects.zones.clusters.nodePools.setManagement/zone": zone +"/container:v1/container.projects.zones.clusters.nodePools.setSize": set_project_zone_cluster_node_pool_size +"/container:v1/container.projects.zones.clusters.nodePools.setSize/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.nodePools.setSize/nodePoolId": node_pool_id +"/container:v1/container.projects.zones.clusters.nodePools.setSize/projectId": project_id +"/container:v1/container.projects.zones.clusters.nodePools.setSize/zone": zone +"/container:v1/container.projects.zones.clusters.nodePools.update": update_node_pool +"/container:v1/container.projects.zones.clusters.nodePools.update/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.nodePools.update/nodePoolId": node_pool_id +"/container:v1/container.projects.zones.clusters.nodePools.update/projectId": project_id +"/container:v1/container.projects.zones.clusters.nodePools.update/zone": zone +"/container:v1/container.projects.zones.clusters.resourceLabels": resource_project_zone_cluster_labels +"/container:v1/container.projects.zones.clusters.resourceLabels/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.resourceLabels/projectId": project_id +"/container:v1/container.projects.zones.clusters.resourceLabels/zone": zone +"/container:v1/container.projects.zones.clusters.setMasterAuth": set_cluster_master_auth +"/container:v1/container.projects.zones.clusters.setMasterAuth/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.setMasterAuth/projectId": project_id +"/container:v1/container.projects.zones.clusters.setMasterAuth/zone": zone +"/container:v1/container.projects.zones.clusters.setNetworkPolicy": set_cluster_network_policy +"/container:v1/container.projects.zones.clusters.setNetworkPolicy/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.setNetworkPolicy/projectId": project_id +"/container:v1/container.projects.zones.clusters.setNetworkPolicy/zone": zone +"/container:v1/container.projects.zones.clusters.startIpRotation": start_cluster_ip_rotation +"/container:v1/container.projects.zones.clusters.startIpRotation/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.startIpRotation/projectId": project_id +"/container:v1/container.projects.zones.clusters.startIpRotation/zone": zone +"/container:v1/container.projects.zones.clusters.update": update_cluster +"/container:v1/container.projects.zones.clusters.update/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.update/projectId": project_id +"/container:v1/container.projects.zones.clusters.update/zone": zone +"/container:v1/container.projects.zones.getServerconfig": get_project_zone_serverconfig +"/container:v1/container.projects.zones.getServerconfig/projectId": project_id +"/container:v1/container.projects.zones.getServerconfig/zone": zone +"/container:v1/container.projects.zones.operations.cancel": cancel_operation +"/container:v1/container.projects.zones.operations.cancel/operationId": operation_id +"/container:v1/container.projects.zones.operations.cancel/projectId": project_id +"/container:v1/container.projects.zones.operations.cancel/zone": zone +"/container:v1/container.projects.zones.operations.get": get_zone_operation +"/container:v1/container.projects.zones.operations.get/operationId": operation_id +"/container:v1/container.projects.zones.operations.get/projectId": project_id +"/container:v1/container.projects.zones.operations.get/zone": zone +"/container:v1/container.projects.zones.operations.list": list_zone_operations +"/container:v1/container.projects.zones.operations.list/projectId": project_id +"/container:v1/container.projects.zones.operations.list/zone": zone +"/container:v1/container.projects.zones.tokens.get": get_zone_token +"/container:v1/fields": fields +"/container:v1/key": key +"/container:v1/quotaUser": quota_user +"/container:v1beta1/container.projects.clusters.list": list_clusters +"/container:v1beta1/container.projects.operations.list": list_operations +"/container:v1beta1/container.projects.zones.clusters.create": create_cluster +"/container:v1beta1/container.projects.zones.clusters.delete": delete_zone_cluster +"/container:v1beta1/container.projects.zones.clusters.get": get_zone_cluster +"/container:v1beta1/container.projects.zones.clusters.list": list_zone_clusters +"/container:v1beta1/container.projects.zones.operations.get": get_zone_operation +"/container:v1beta1/container.projects.zones.operations.list": list_zone_operations +"/container:v1beta1/container.projects.zones.tokens.get": get_zone_token "/content:v2/Account": account "/content:v2/Account/adultContent": adult_content "/content:v2/Account/adwordsLinks": adwords_links @@ -18347,10 +18168,18 @@ "/content:v2/AccountIdentifier/merchantId": merchant_id "/content:v2/AccountStatus": account_status "/content:v2/AccountStatus/accountId": account_id +"/content:v2/AccountStatus/accountLevelIssues": account_level_issues +"/content:v2/AccountStatus/accountLevelIssues/account_level_issue": account_level_issue "/content:v2/AccountStatus/dataQualityIssues": data_quality_issues "/content:v2/AccountStatus/dataQualityIssues/data_quality_issue": data_quality_issue "/content:v2/AccountStatus/kind": kind "/content:v2/AccountStatus/websiteClaimed": website_claimed +"/content:v2/AccountStatusAccountLevelIssue": account_status_account_level_issue +"/content:v2/AccountStatusAccountLevelIssue/country": country +"/content:v2/AccountStatusAccountLevelIssue/detail": detail +"/content:v2/AccountStatusAccountLevelIssue/id": id +"/content:v2/AccountStatusAccountLevelIssue/severity": severity +"/content:v2/AccountStatusAccountLevelIssue/title": title "/content:v2/AccountStatusDataQualityIssue": account_status_data_quality_issue "/content:v2/AccountStatusDataQualityIssue/country": country "/content:v2/AccountStatusDataQualityIssue/detail": detail @@ -18383,57 +18212,82 @@ "/content:v2/AccountUser": account_user "/content:v2/AccountUser/admin": admin "/content:v2/AccountUser/emailAddress": email_address +"/content:v2/AccountsAuthInfoResponse": accounts_auth_info_response "/content:v2/AccountsAuthInfoResponse/accountIdentifiers": account_identifiers "/content:v2/AccountsAuthInfoResponse/accountIdentifiers/account_identifier": account_identifier "/content:v2/AccountsAuthInfoResponse/kind": kind "/content:v2/AccountsClaimWebsiteResponse": accounts_claim_website_response "/content:v2/AccountsClaimWebsiteResponse/kind": kind +"/content:v2/AccountsCustomBatchRequest": batch_accounts_request "/content:v2/AccountsCustomBatchRequest/entries": entries "/content:v2/AccountsCustomBatchRequest/entries/entry": entry +"/content:v2/AccountsCustomBatchRequestEntry": accounts_batch_request_entry "/content:v2/AccountsCustomBatchRequestEntry/account": account "/content:v2/AccountsCustomBatchRequestEntry/accountId": account_id "/content:v2/AccountsCustomBatchRequestEntry/batchId": batch_id "/content:v2/AccountsCustomBatchRequestEntry/merchantId": merchant_id +"/content:v2/AccountsCustomBatchRequestEntry/method": request_method "/content:v2/AccountsCustomBatchRequestEntry/overwrite": overwrite +"/content:v2/AccountsCustomBatchResponse": batch_accounts_response "/content:v2/AccountsCustomBatchResponse/entries": entries "/content:v2/AccountsCustomBatchResponse/entries/entry": entry "/content:v2/AccountsCustomBatchResponse/kind": kind +"/content:v2/AccountsCustomBatchResponseEntry": accounts_batch_response_entry "/content:v2/AccountsCustomBatchResponseEntry/account": account "/content:v2/AccountsCustomBatchResponseEntry/batchId": batch_id "/content:v2/AccountsCustomBatchResponseEntry/errors": errors "/content:v2/AccountsCustomBatchResponseEntry/kind": kind +"/content:v2/AccountsListResponse": list_accounts_response "/content:v2/AccountsListResponse/kind": kind "/content:v2/AccountsListResponse/nextPageToken": next_page_token "/content:v2/AccountsListResponse/resources": resources "/content:v2/AccountsListResponse/resources/resource": resource +"/content:v2/AccountshippingCustomBatchRequest": batch_account_shipping_request +"/content:v2/AccountshippingCustomBatchRequestEntry": account_shipping_batch_request_entry +"/content:v2/AccountshippingCustomBatchRequestEntry/method": request_method +"/content:v2/AccountshippingCustomBatchResponse": batch_account_shipping_response +"/content:v2/AccountshippingCustomBatchResponseEntry": account_shipping_batch_response_entry +"/content:v2/AccountshippingListResponse": list_account_shipping_response +"/content:v2/AccountstatusesCustomBatchRequest": batch_account_statuses_request "/content:v2/AccountstatusesCustomBatchRequest/entries": entries "/content:v2/AccountstatusesCustomBatchRequest/entries/entry": entry +"/content:v2/AccountstatusesCustomBatchRequestEntry": account_statuses_batch_request_entry "/content:v2/AccountstatusesCustomBatchRequestEntry/accountId": account_id "/content:v2/AccountstatusesCustomBatchRequestEntry/batchId": batch_id "/content:v2/AccountstatusesCustomBatchRequestEntry/merchantId": merchant_id +"/content:v2/AccountstatusesCustomBatchRequestEntry/method": request_method +"/content:v2/AccountstatusesCustomBatchResponse": batch_account_statuses_response "/content:v2/AccountstatusesCustomBatchResponse/entries": entries "/content:v2/AccountstatusesCustomBatchResponse/entries/entry": entry "/content:v2/AccountstatusesCustomBatchResponse/kind": kind +"/content:v2/AccountstatusesCustomBatchResponseEntry": account_statuses_batch_response_entry "/content:v2/AccountstatusesCustomBatchResponseEntry/accountStatus": account_status "/content:v2/AccountstatusesCustomBatchResponseEntry/batchId": batch_id "/content:v2/AccountstatusesCustomBatchResponseEntry/errors": errors +"/content:v2/AccountstatusesListResponse": list_account_statuses_response "/content:v2/AccountstatusesListResponse/kind": kind "/content:v2/AccountstatusesListResponse/nextPageToken": next_page_token "/content:v2/AccountstatusesListResponse/resources": resources "/content:v2/AccountstatusesListResponse/resources/resource": resource +"/content:v2/AccounttaxCustomBatchRequest": batch_account_tax_request "/content:v2/AccounttaxCustomBatchRequest/entries": entries "/content:v2/AccounttaxCustomBatchRequest/entries/entry": entry +"/content:v2/AccounttaxCustomBatchRequestEntry": account_tax_batch_request_entry "/content:v2/AccounttaxCustomBatchRequestEntry/accountId": account_id "/content:v2/AccounttaxCustomBatchRequestEntry/accountTax": account_tax "/content:v2/AccounttaxCustomBatchRequestEntry/batchId": batch_id "/content:v2/AccounttaxCustomBatchRequestEntry/merchantId": merchant_id +"/content:v2/AccounttaxCustomBatchRequestEntry/method": request_method +"/content:v2/AccounttaxCustomBatchResponse": batch_account_tax_response "/content:v2/AccounttaxCustomBatchResponse/entries": entries "/content:v2/AccounttaxCustomBatchResponse/entries/entry": entry "/content:v2/AccounttaxCustomBatchResponse/kind": kind +"/content:v2/AccounttaxCustomBatchResponseEntry": account_tax_batch_response_entry "/content:v2/AccounttaxCustomBatchResponseEntry/accountTax": account_tax "/content:v2/AccounttaxCustomBatchResponseEntry/batchId": batch_id "/content:v2/AccounttaxCustomBatchResponseEntry/errors": errors "/content:v2/AccounttaxCustomBatchResponseEntry/kind": kind +"/content:v2/AccounttaxListResponse": list_account_tax_response "/content:v2/AccounttaxListResponse/kind": kind "/content:v2/AccounttaxListResponse/nextPageToken": next_page_token "/content:v2/AccounttaxListResponse/resources": resources @@ -18469,6 +18323,7 @@ "/content:v2/DatafeedFetchSchedule/hour": hour "/content:v2/DatafeedFetchSchedule/minuteOfHour": minute_of_hour "/content:v2/DatafeedFetchSchedule/password": password +"/content:v2/DatafeedFetchSchedule/paused": paused "/content:v2/DatafeedFetchSchedule/timeZone": time_zone "/content:v2/DatafeedFetchSchedule/username": username "/content:v2/DatafeedFetchSchedule/weekday": weekday @@ -18497,33 +18352,45 @@ "/content:v2/DatafeedStatusExample/itemId": item_id "/content:v2/DatafeedStatusExample/lineNumber": line_number "/content:v2/DatafeedStatusExample/value": value +"/content:v2/DatafeedsCustomBatchRequest": batch_datafeeds_request "/content:v2/DatafeedsCustomBatchRequest/entries": entries "/content:v2/DatafeedsCustomBatchRequest/entries/entry": entry +"/content:v2/DatafeedsCustomBatchRequestEntry": datafeeds_batch_request_entry "/content:v2/DatafeedsCustomBatchRequestEntry/batchId": batch_id "/content:v2/DatafeedsCustomBatchRequestEntry/datafeed": datafeed "/content:v2/DatafeedsCustomBatchRequestEntry/datafeedId": datafeed_id "/content:v2/DatafeedsCustomBatchRequestEntry/merchantId": merchant_id +"/content:v2/DatafeedsCustomBatchRequestEntry/method": request_method +"/content:v2/DatafeedsCustomBatchResponse": batch_datafeeds_response "/content:v2/DatafeedsCustomBatchResponse/entries": entries "/content:v2/DatafeedsCustomBatchResponse/entries/entry": entry "/content:v2/DatafeedsCustomBatchResponse/kind": kind +"/content:v2/DatafeedsCustomBatchResponseEntry": datafeeds_batch_response_entry "/content:v2/DatafeedsCustomBatchResponseEntry/batchId": batch_id "/content:v2/DatafeedsCustomBatchResponseEntry/datafeed": datafeed "/content:v2/DatafeedsCustomBatchResponseEntry/errors": errors +"/content:v2/DatafeedsListResponse": list_datafeeds_response "/content:v2/DatafeedsListResponse/kind": kind "/content:v2/DatafeedsListResponse/nextPageToken": next_page_token "/content:v2/DatafeedsListResponse/resources": resources "/content:v2/DatafeedsListResponse/resources/resource": resource +"/content:v2/DatafeedstatusesCustomBatchRequest": batch_datafeed_statuses_request "/content:v2/DatafeedstatusesCustomBatchRequest/entries": entries "/content:v2/DatafeedstatusesCustomBatchRequest/entries/entry": entry +"/content:v2/DatafeedstatusesCustomBatchRequestEntry": datafeed_statuses_batch_request_entry "/content:v2/DatafeedstatusesCustomBatchRequestEntry/batchId": batch_id "/content:v2/DatafeedstatusesCustomBatchRequestEntry/datafeedId": datafeed_id "/content:v2/DatafeedstatusesCustomBatchRequestEntry/merchantId": merchant_id +"/content:v2/DatafeedstatusesCustomBatchRequestEntry/method": request_method +"/content:v2/DatafeedstatusesCustomBatchResponse": batch_datafeed_statuses_response "/content:v2/DatafeedstatusesCustomBatchResponse/entries": entries "/content:v2/DatafeedstatusesCustomBatchResponse/entries/entry": entry "/content:v2/DatafeedstatusesCustomBatchResponse/kind": kind +"/content:v2/DatafeedstatusesCustomBatchResponseEntry": datafeed_statuses_batch_response_entry "/content:v2/DatafeedstatusesCustomBatchResponseEntry/batchId": batch_id "/content:v2/DatafeedstatusesCustomBatchResponseEntry/datafeedStatus": datafeed_status "/content:v2/DatafeedstatusesCustomBatchResponseEntry/errors": errors +"/content:v2/DatafeedstatusesListResponse": list_datafeed_statuses_response "/content:v2/DatafeedstatusesListResponse/kind": kind "/content:v2/DatafeedstatusesListResponse/nextPageToken": next_page_token "/content:v2/DatafeedstatusesListResponse/resources": resources @@ -18565,22 +18432,27 @@ "/content:v2/Inventory/salePrice": sale_price "/content:v2/Inventory/salePriceEffectiveDate": sale_price_effective_date "/content:v2/Inventory/sellOnGoogleQuantity": sell_on_google_quantity +"/content:v2/InventoryCustomBatchRequest": batch_inventory_request "/content:v2/InventoryCustomBatchRequest/entries": entries "/content:v2/InventoryCustomBatchRequest/entries/entry": entry +"/content:v2/InventoryCustomBatchRequestEntry": inventory_batch_request_entry "/content:v2/InventoryCustomBatchRequestEntry/batchId": batch_id "/content:v2/InventoryCustomBatchRequestEntry/inventory": inventory "/content:v2/InventoryCustomBatchRequestEntry/merchantId": merchant_id "/content:v2/InventoryCustomBatchRequestEntry/productId": product_id "/content:v2/InventoryCustomBatchRequestEntry/storeCode": store_code +"/content:v2/InventoryCustomBatchResponse": batch_inventory_response "/content:v2/InventoryCustomBatchResponse/entries": entries "/content:v2/InventoryCustomBatchResponse/entries/entry": entry "/content:v2/InventoryCustomBatchResponse/kind": kind +"/content:v2/InventoryCustomBatchResponseEntry": inventory_batch_response_entry "/content:v2/InventoryCustomBatchResponseEntry/batchId": batch_id "/content:v2/InventoryCustomBatchResponseEntry/errors": errors "/content:v2/InventoryCustomBatchResponseEntry/kind": kind "/content:v2/InventoryPickup": inventory_pickup "/content:v2/InventoryPickup/pickupMethod": pickup_method "/content:v2/InventoryPickup/pickupSla": pickup_sla +"/content:v2/InventorySetRequest": set_inventory_request "/content:v2/InventorySetRequest/availability": availability "/content:v2/InventorySetRequest/installment": installment "/content:v2/InventorySetRequest/loyaltyPoints": loyalty_points @@ -18590,6 +18462,7 @@ "/content:v2/InventorySetRequest/salePrice": sale_price "/content:v2/InventorySetRequest/salePriceEffectiveDate": sale_price_effective_date "/content:v2/InventorySetRequest/sellOnGoogleQuantity": sell_on_google_quantity +"/content:v2/InventorySetResponse": set_inventory_response "/content:v2/InventorySetResponse/kind": kind "/content:v2/LocationIdSet": location_id_set "/content:v2/LocationIdSet/locationIds": location_ids @@ -19022,6 +18895,7 @@ "/content:v2/ProductStatus/kind": kind "/content:v2/ProductStatus/lastUpdateDate": last_update_date "/content:v2/ProductStatus/link": link +"/content:v2/ProductStatus/product": product "/content:v2/ProductStatus/productId": product_id "/content:v2/ProductStatus/title": title "/content:v2/ProductStatusDataQualityIssue": product_status_data_quality_issue @@ -19050,35 +18924,48 @@ "/content:v2/ProductUnitPricingMeasure": product_unit_pricing_measure "/content:v2/ProductUnitPricingMeasure/unit": unit "/content:v2/ProductUnitPricingMeasure/value": value +"/content:v2/ProductsCustomBatchRequest": batch_products_request "/content:v2/ProductsCustomBatchRequest/entries": entries "/content:v2/ProductsCustomBatchRequest/entries/entry": entry +"/content:v2/ProductsCustomBatchRequestEntry": products_batch_request_entry "/content:v2/ProductsCustomBatchRequestEntry/batchId": batch_id "/content:v2/ProductsCustomBatchRequestEntry/merchantId": merchant_id +"/content:v2/ProductsCustomBatchRequestEntry/method": request_method "/content:v2/ProductsCustomBatchRequestEntry/product": product "/content:v2/ProductsCustomBatchRequestEntry/productId": product_id +"/content:v2/ProductsCustomBatchResponse": batch_products_response "/content:v2/ProductsCustomBatchResponse/entries": entries "/content:v2/ProductsCustomBatchResponse/entries/entry": entry "/content:v2/ProductsCustomBatchResponse/kind": kind +"/content:v2/ProductsCustomBatchResponseEntry": products_batch_response_entry "/content:v2/ProductsCustomBatchResponseEntry/batchId": batch_id "/content:v2/ProductsCustomBatchResponseEntry/errors": errors "/content:v2/ProductsCustomBatchResponseEntry/kind": kind "/content:v2/ProductsCustomBatchResponseEntry/product": product +"/content:v2/ProductsListResponse": list_products_response "/content:v2/ProductsListResponse/kind": kind "/content:v2/ProductsListResponse/nextPageToken": next_page_token "/content:v2/ProductsListResponse/resources": resources "/content:v2/ProductsListResponse/resources/resource": resource +"/content:v2/ProductstatusesCustomBatchRequest": batch_product_statuses_request "/content:v2/ProductstatusesCustomBatchRequest/entries": entries "/content:v2/ProductstatusesCustomBatchRequest/entries/entry": entry +"/content:v2/ProductstatusesCustomBatchRequestEntry": product_statuses_batch_request_entry "/content:v2/ProductstatusesCustomBatchRequestEntry/batchId": batch_id +"/content:v2/ProductstatusesCustomBatchRequestEntry/includeAttributes": include_attributes "/content:v2/ProductstatusesCustomBatchRequestEntry/merchantId": merchant_id +"/content:v2/ProductstatusesCustomBatchRequestEntry/method": request_method "/content:v2/ProductstatusesCustomBatchRequestEntry/productId": product_id +"/content:v2/ProductstatusesCustomBatchResponse": batch_product_statuses_response "/content:v2/ProductstatusesCustomBatchResponse/entries": entries "/content:v2/ProductstatusesCustomBatchResponse/entries/entry": entry "/content:v2/ProductstatusesCustomBatchResponse/kind": kind +"/content:v2/ProductstatusesCustomBatchResponseEntry": product_statuses_batch_response_entry "/content:v2/ProductstatusesCustomBatchResponseEntry/batchId": batch_id "/content:v2/ProductstatusesCustomBatchResponseEntry/errors": errors "/content:v2/ProductstatusesCustomBatchResponseEntry/kind": kind "/content:v2/ProductstatusesCustomBatchResponseEntry/productStatus": product_status +"/content:v2/ProductstatusesListResponse": list_product_statuses_response "/content:v2/ProductstatusesListResponse/kind": kind "/content:v2/ProductstatusesListResponse/nextPageToken": next_page_token "/content:v2/ProductstatusesListResponse/resources": resources @@ -19194,42 +19081,209 @@ "/content:v2/Weight": weight "/content:v2/Weight/unit": unit "/content:v2/Weight/value": value -"/customsearch:v1/fields": fields -"/customsearch:v1/key": key -"/customsearch:v1/quotaUser": quota_user -"/customsearch:v1/userIp": user_ip -"/customsearch:v1/search.cse.list": list_cses -"/customsearch:v1/search.cse.list/c2coff": c2coff -"/customsearch:v1/search.cse.list/cr": cr -"/customsearch:v1/search.cse.list/cx": cx -"/customsearch:v1/search.cse.list/dateRestrict": date_restrict -"/customsearch:v1/search.cse.list/exactTerms": exact_terms -"/customsearch:v1/search.cse.list/excludeTerms": exclude_terms -"/customsearch:v1/search.cse.list/fileType": file_type -"/customsearch:v1/search.cse.list/filter": filter -"/customsearch:v1/search.cse.list/gl": gl -"/customsearch:v1/search.cse.list/googlehost": googlehost -"/customsearch:v1/search.cse.list/highRange": high_range -"/customsearch:v1/search.cse.list/hl": hl -"/customsearch:v1/search.cse.list/hq": hq -"/customsearch:v1/search.cse.list/imgColorType": img_color_type -"/customsearch:v1/search.cse.list/imgDominantColor": img_dominant_color -"/customsearch:v1/search.cse.list/imgSize": img_size -"/customsearch:v1/search.cse.list/imgType": img_type -"/customsearch:v1/search.cse.list/linkSite": link_site -"/customsearch:v1/search.cse.list/lowRange": low_range -"/customsearch:v1/search.cse.list/lr": lr -"/customsearch:v1/search.cse.list/num": num -"/customsearch:v1/search.cse.list/orTerms": or_terms -"/customsearch:v1/search.cse.list/q": q -"/customsearch:v1/search.cse.list/relatedSite": related_site -"/customsearch:v1/search.cse.list/rights": rights -"/customsearch:v1/search.cse.list/safe": safe -"/customsearch:v1/search.cse.list/searchType": search_type -"/customsearch:v1/search.cse.list/siteSearch": site_search -"/customsearch:v1/search.cse.list/siteSearchFilter": site_search_filter -"/customsearch:v1/search.cse.list/sort": sort -"/customsearch:v1/search.cse.list/start": start +"/content:v2/content.accounts.authinfo": get_account_authinfo +"/content:v2/content.accounts.claimwebsite": claimwebsite_account +"/content:v2/content.accounts.claimwebsite/accountId": account_id +"/content:v2/content.accounts.claimwebsite/merchantId": merchant_id +"/content:v2/content.accounts.claimwebsite/overwrite": overwrite +"/content:v2/content.accounts.custombatch": batch_account +"/content:v2/content.accounts.custombatch/dryRun": dry_run +"/content:v2/content.accounts.delete": delete_account +"/content:v2/content.accounts.delete/accountId": account_id +"/content:v2/content.accounts.delete/dryRun": dry_run +"/content:v2/content.accounts.delete/merchantId": merchant_id +"/content:v2/content.accounts.get": get_account +"/content:v2/content.accounts.get/accountId": account_id +"/content:v2/content.accounts.get/merchantId": merchant_id +"/content:v2/content.accounts.insert": insert_account +"/content:v2/content.accounts.insert/dryRun": dry_run +"/content:v2/content.accounts.insert/merchantId": merchant_id +"/content:v2/content.accounts.list": list_accounts +"/content:v2/content.accounts.list/maxResults": max_results +"/content:v2/content.accounts.list/merchantId": merchant_id +"/content:v2/content.accounts.list/pageToken": page_token +"/content:v2/content.accounts.patch": patch_account +"/content:v2/content.accounts.patch/accountId": account_id +"/content:v2/content.accounts.patch/dryRun": dry_run +"/content:v2/content.accounts.patch/merchantId": merchant_id +"/content:v2/content.accounts.update": update_account +"/content:v2/content.accounts.update/accountId": account_id +"/content:v2/content.accounts.update/dryRun": dry_run +"/content:v2/content.accounts.update/merchantId": merchant_id +"/content:v2/content.accountshipping.custombatch": batch_account_shipping +"/content:v2/content.accountshipping.get": get_account_shipping +"/content:v2/content.accountshipping.list": list_account_shippings +"/content:v2/content.accountshipping.patch": patch_account_shipping +"/content:v2/content.accountshipping.update": update_account_shipping +"/content:v2/content.accountstatuses.custombatch": batch_account_status +"/content:v2/content.accountstatuses.get": get_account_status +"/content:v2/content.accountstatuses.get/accountId": account_id +"/content:v2/content.accountstatuses.get/merchantId": merchant_id +"/content:v2/content.accountstatuses.list": list_account_statuses +"/content:v2/content.accountstatuses.list/maxResults": max_results +"/content:v2/content.accountstatuses.list/merchantId": merchant_id +"/content:v2/content.accountstatuses.list/pageToken": page_token +"/content:v2/content.accounttax.custombatch": batch_account_tax +"/content:v2/content.accounttax.custombatch/dryRun": dry_run +"/content:v2/content.accounttax.get": get_account_tax +"/content:v2/content.accounttax.get/accountId": account_id +"/content:v2/content.accounttax.get/merchantId": merchant_id +"/content:v2/content.accounttax.list": list_account_taxes +"/content:v2/content.accounttax.list/maxResults": max_results +"/content:v2/content.accounttax.list/merchantId": merchant_id +"/content:v2/content.accounttax.list/pageToken": page_token +"/content:v2/content.accounttax.patch": patch_account_tax +"/content:v2/content.accounttax.patch/accountId": account_id +"/content:v2/content.accounttax.patch/dryRun": dry_run +"/content:v2/content.accounttax.patch/merchantId": merchant_id +"/content:v2/content.accounttax.update": update_account_tax +"/content:v2/content.accounttax.update/accountId": account_id +"/content:v2/content.accounttax.update/dryRun": dry_run +"/content:v2/content.accounttax.update/merchantId": merchant_id +"/content:v2/content.datafeeds.custombatch": batch_datafeed +"/content:v2/content.datafeeds.custombatch/dryRun": dry_run +"/content:v2/content.datafeeds.delete": delete_datafeed +"/content:v2/content.datafeeds.delete/datafeedId": datafeed_id +"/content:v2/content.datafeeds.delete/dryRun": dry_run +"/content:v2/content.datafeeds.delete/merchantId": merchant_id +"/content:v2/content.datafeeds.get": get_datafeed +"/content:v2/content.datafeeds.get/datafeedId": datafeed_id +"/content:v2/content.datafeeds.get/merchantId": merchant_id +"/content:v2/content.datafeeds.insert": insert_datafeed +"/content:v2/content.datafeeds.insert/dryRun": dry_run +"/content:v2/content.datafeeds.insert/merchantId": merchant_id +"/content:v2/content.datafeeds.list": list_datafeeds +"/content:v2/content.datafeeds.list/maxResults": max_results +"/content:v2/content.datafeeds.list/merchantId": merchant_id +"/content:v2/content.datafeeds.list/pageToken": page_token +"/content:v2/content.datafeeds.patch": patch_datafeed +"/content:v2/content.datafeeds.patch/datafeedId": datafeed_id +"/content:v2/content.datafeeds.patch/dryRun": dry_run +"/content:v2/content.datafeeds.patch/merchantId": merchant_id +"/content:v2/content.datafeeds.update": update_datafeed +"/content:v2/content.datafeeds.update/datafeedId": datafeed_id +"/content:v2/content.datafeeds.update/dryRun": dry_run +"/content:v2/content.datafeeds.update/merchantId": merchant_id +"/content:v2/content.datafeedstatuses.custombatch": batch_datafeed_status +"/content:v2/content.datafeedstatuses.get": get_datafeed_status +"/content:v2/content.datafeedstatuses.get/datafeedId": datafeed_id +"/content:v2/content.datafeedstatuses.get/merchantId": merchant_id +"/content:v2/content.datafeedstatuses.list": list_datafeed_statuses +"/content:v2/content.datafeedstatuses.list/maxResults": max_results +"/content:v2/content.datafeedstatuses.list/merchantId": merchant_id +"/content:v2/content.datafeedstatuses.list/pageToken": page_token +"/content:v2/content.inventory.custombatch": batch_inventory +"/content:v2/content.inventory.custombatch/dryRun": dry_run +"/content:v2/content.inventory.set": set_inventory +"/content:v2/content.inventory.set/dryRun": dry_run +"/content:v2/content.inventory.set/merchantId": merchant_id +"/content:v2/content.inventory.set/productId": product_id +"/content:v2/content.inventory.set/storeCode": store_code +"/content:v2/content.orders.acknowledge": acknowledge_order +"/content:v2/content.orders.acknowledge/merchantId": merchant_id +"/content:v2/content.orders.acknowledge/orderId": order_id +"/content:v2/content.orders.advancetestorder": advance_test_order +"/content:v2/content.orders.advancetestorder/merchantId": merchant_id +"/content:v2/content.orders.advancetestorder/orderId": order_id +"/content:v2/content.orders.cancel": cancel_order +"/content:v2/content.orders.cancel/merchantId": merchant_id +"/content:v2/content.orders.cancel/orderId": order_id +"/content:v2/content.orders.cancellineitem": cancel_order_line_item +"/content:v2/content.orders.cancellineitem/merchantId": merchant_id +"/content:v2/content.orders.cancellineitem/orderId": order_id +"/content:v2/content.orders.createtestorder": create_test_order +"/content:v2/content.orders.createtestorder/merchantId": merchant_id +"/content:v2/content.orders.custombatch": custom_order_batch +"/content:v2/content.orders.get": get_order +"/content:v2/content.orders.get/merchantId": merchant_id +"/content:v2/content.orders.get/orderId": order_id +"/content:v2/content.orders.getbymerchantorderid": get_order_by_merchant_order_id +"/content:v2/content.orders.getbymerchantorderid/merchantId": merchant_id +"/content:v2/content.orders.getbymerchantorderid/merchantOrderId": merchant_order_id +"/content:v2/content.orders.gettestordertemplate": get_test_order_template +"/content:v2/content.orders.gettestordertemplate/merchantId": merchant_id +"/content:v2/content.orders.gettestordertemplate/templateName": template_name +"/content:v2/content.orders.list": list_orders +"/content:v2/content.orders.list/acknowledged": acknowledged +"/content:v2/content.orders.list/maxResults": max_results +"/content:v2/content.orders.list/merchantId": merchant_id +"/content:v2/content.orders.list/orderBy": order_by +"/content:v2/content.orders.list/pageToken": page_token +"/content:v2/content.orders.list/placedDateEnd": placed_date_end +"/content:v2/content.orders.list/placedDateStart": placed_date_start +"/content:v2/content.orders.list/statuses": statuses +"/content:v2/content.orders.refund": refund_order +"/content:v2/content.orders.refund/merchantId": merchant_id +"/content:v2/content.orders.refund/orderId": order_id +"/content:v2/content.orders.returnlineitem": return_order_line_item +"/content:v2/content.orders.returnlineitem/merchantId": merchant_id +"/content:v2/content.orders.returnlineitem/orderId": order_id +"/content:v2/content.orders.shiplineitems": shiplineitems_order +"/content:v2/content.orders.shiplineitems/merchantId": merchant_id +"/content:v2/content.orders.shiplineitems/orderId": order_id +"/content:v2/content.orders.updatemerchantorderid": update_merchant_order_id +"/content:v2/content.orders.updatemerchantorderid/merchantId": merchant_id +"/content:v2/content.orders.updatemerchantorderid/orderId": order_id +"/content:v2/content.orders.updateshipment": update_order_shipment +"/content:v2/content.orders.updateshipment/merchantId": merchant_id +"/content:v2/content.orders.updateshipment/orderId": order_id +"/content:v2/content.products.custombatch": batch_product +"/content:v2/content.products.custombatch/dryRun": dry_run +"/content:v2/content.products.delete": delete_product +"/content:v2/content.products.delete/dryRun": dry_run +"/content:v2/content.products.delete/merchantId": merchant_id +"/content:v2/content.products.delete/productId": product_id +"/content:v2/content.products.get": get_product +"/content:v2/content.products.get/merchantId": merchant_id +"/content:v2/content.products.get/productId": product_id +"/content:v2/content.products.insert": insert_product +"/content:v2/content.products.insert/dryRun": dry_run +"/content:v2/content.products.insert/merchantId": merchant_id +"/content:v2/content.products.list": list_products +"/content:v2/content.products.list/includeInvalidInsertedItems": include_invalid_inserted_items +"/content:v2/content.products.list/maxResults": max_results +"/content:v2/content.products.list/merchantId": merchant_id +"/content:v2/content.products.list/pageToken": page_token +"/content:v2/content.productstatuses.custombatch": batch_product_status +"/content:v2/content.productstatuses.custombatch/includeAttributes": include_attributes +"/content:v2/content.productstatuses.get": get_product_status +"/content:v2/content.productstatuses.get/includeAttributes": include_attributes +"/content:v2/content.productstatuses.get/merchantId": merchant_id +"/content:v2/content.productstatuses.get/productId": product_id +"/content:v2/content.productstatuses.list": list_product_statuses +"/content:v2/content.productstatuses.list/includeAttributes": include_attributes +"/content:v2/content.productstatuses.list/includeInvalidInsertedItems": include_invalid_inserted_items +"/content:v2/content.productstatuses.list/maxResults": max_results +"/content:v2/content.productstatuses.list/merchantId": merchant_id +"/content:v2/content.productstatuses.list/pageToken": page_token +"/content:v2/content.shippingsettings.custombatch": custombatch_shippingsetting +"/content:v2/content.shippingsettings.custombatch/dryRun": dry_run +"/content:v2/content.shippingsettings.get": get_shippingsetting +"/content:v2/content.shippingsettings.get/accountId": account_id +"/content:v2/content.shippingsettings.get/merchantId": merchant_id +"/content:v2/content.shippingsettings.getsupportedcarriers": getsupportedcarriers_shippingsetting +"/content:v2/content.shippingsettings.getsupportedcarriers/merchantId": merchant_id +"/content:v2/content.shippingsettings.list": list_shippingsettings +"/content:v2/content.shippingsettings.list/maxResults": max_results +"/content:v2/content.shippingsettings.list/merchantId": merchant_id +"/content:v2/content.shippingsettings.list/pageToken": page_token +"/content:v2/content.shippingsettings.patch": patch_shippingsetting +"/content:v2/content.shippingsettings.patch/accountId": account_id +"/content:v2/content.shippingsettings.patch/dryRun": dry_run +"/content:v2/content.shippingsettings.patch/merchantId": merchant_id +"/content:v2/content.shippingsettings.update": update_shippingsetting +"/content:v2/content.shippingsettings.update/accountId": account_id +"/content:v2/content.shippingsettings.update/dryRun": dry_run +"/content:v2/content.shippingsettings.update/merchantId": merchant_id +"/content:v2/fields": fields +"/content:v2/key": key +"/content:v2/quotaUser": quota_user +"/content:v2/userIp": user_ip +"/coordinate:v1/CustomFieldDefListResponse": list_custom_field_def_response +"/coordinate:v1/JobListResponse": list_job_response +"/coordinate:v1/LocationListResponse": list_location_response +"/coordinate:v1/TeamListResponse": list_team_response +"/coordinate:v1/WorkerListResponse": list_worker_response "/customsearch:v1/Context": context "/customsearch:v1/Context/facets": facets "/customsearch:v1/Context/facets/facet": facet @@ -19341,1286 +19395,1637 @@ "/customsearch:v1/Search/url": url "/customsearch:v1/Search/url/template": template "/customsearch:v1/Search/url/type": type -"/dataflow:v1b3/fields": fields -"/dataflow:v1b3/key": key -"/dataflow:v1b3/quotaUser": quota_user -"/dataflow:v1b3/dataflow.projects.workerMessages": worker_project_messages -"/dataflow:v1b3/dataflow.projects.workerMessages/projectId": project_id -"/dataflow:v1b3/dataflow.projects.locations.workerMessages": worker_project_location_messages -"/dataflow:v1b3/dataflow.projects.locations.workerMessages/location": location -"/dataflow:v1b3/dataflow.projects.locations.workerMessages/projectId": project_id -"/dataflow:v1b3/dataflow.projects.locations.templates.launch": launch_project_location_template -"/dataflow:v1b3/dataflow.projects.locations.templates.launch/location": location -"/dataflow:v1b3/dataflow.projects.locations.templates.launch/validateOnly": validate_only -"/dataflow:v1b3/dataflow.projects.locations.templates.launch/projectId": project_id -"/dataflow:v1b3/dataflow.projects.locations.templates.launch/gcsPath": gcs_path -"/dataflow:v1b3/dataflow.projects.locations.templates.get": get_project_location_template -"/dataflow:v1b3/dataflow.projects.locations.templates.get/view": view -"/dataflow:v1b3/dataflow.projects.locations.templates.get/projectId": project_id -"/dataflow:v1b3/dataflow.projects.locations.templates.get/gcsPath": gcs_path -"/dataflow:v1b3/dataflow.projects.locations.templates.get/location": location -"/dataflow:v1b3/dataflow.projects.locations.templates.create/location": location -"/dataflow:v1b3/dataflow.projects.locations.templates.create/projectId": project_id -"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics": get_project_location_job_metrics -"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics/location": location -"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics/startTime": start_time -"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics/jobId": job_id -"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics/projectId": project_id -"/dataflow:v1b3/dataflow.projects.locations.jobs.list": list_project_location_jobs -"/dataflow:v1b3/dataflow.projects.locations.jobs.list/projectId": project_id -"/dataflow:v1b3/dataflow.projects.locations.jobs.list/filter": filter -"/dataflow:v1b3/dataflow.projects.locations.jobs.list/location": location -"/dataflow:v1b3/dataflow.projects.locations.jobs.list/pageToken": page_token -"/dataflow:v1b3/dataflow.projects.locations.jobs.list/pageSize": page_size -"/dataflow:v1b3/dataflow.projects.locations.jobs.list/view": view -"/dataflow:v1b3/dataflow.projects.locations.jobs.get": get_project_location_job -"/dataflow:v1b3/dataflow.projects.locations.jobs.get/location": location -"/dataflow:v1b3/dataflow.projects.locations.jobs.get/view": view -"/dataflow:v1b3/dataflow.projects.locations.jobs.get/jobId": job_id -"/dataflow:v1b3/dataflow.projects.locations.jobs.get/projectId": project_id -"/dataflow:v1b3/dataflow.projects.locations.jobs.update": update_project_location_job -"/dataflow:v1b3/dataflow.projects.locations.jobs.update/jobId": job_id -"/dataflow:v1b3/dataflow.projects.locations.jobs.update/projectId": project_id -"/dataflow:v1b3/dataflow.projects.locations.jobs.update/location": location -"/dataflow:v1b3/dataflow.projects.locations.jobs.create": create_project_location_job -"/dataflow:v1b3/dataflow.projects.locations.jobs.create/location": location -"/dataflow:v1b3/dataflow.projects.locations.jobs.create/replaceJobId": replace_job_id -"/dataflow:v1b3/dataflow.projects.locations.jobs.create/view": view -"/dataflow:v1b3/dataflow.projects.locations.jobs.create/projectId": project_id -"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease/jobId": job_id -"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease/projectId": project_id -"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease/location": location -"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus": report_project_location_job_work_item_status -"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus/location": location -"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus/jobId": job_id -"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus/projectId": project_id -"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.sendCapture": send_project_location_job_debug_capture -"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.sendCapture/jobId": job_id -"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.sendCapture/projectId": project_id -"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.sendCapture/location": location -"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.getConfig": get_project_location_job_debug_config -"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.getConfig/jobId": job_id -"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.getConfig/projectId": project_id -"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.getConfig/location": location -"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list": list_project_location_job_messages -"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/projectId": project_id -"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/jobId": job_id -"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/endTime": end_time -"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/location": location -"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/startTime": start_time -"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/pageToken": page_token -"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/pageSize": page_size -"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/minimumImportance": minimum_importance -"/dataflow:v1b3/dataflow.projects.templates.get": get_project_template -"/dataflow:v1b3/dataflow.projects.templates.get/location": location -"/dataflow:v1b3/dataflow.projects.templates.get/view": view -"/dataflow:v1b3/dataflow.projects.templates.get/projectId": project_id -"/dataflow:v1b3/dataflow.projects.templates.get/gcsPath": gcs_path -"/dataflow:v1b3/dataflow.projects.templates.create": create_job_from_template -"/dataflow:v1b3/dataflow.projects.templates.create/projectId": project_id -"/dataflow:v1b3/dataflow.projects.templates.launch": launch_project_template -"/dataflow:v1b3/dataflow.projects.templates.launch/location": location -"/dataflow:v1b3/dataflow.projects.templates.launch/validateOnly": validate_only -"/dataflow:v1b3/dataflow.projects.templates.launch/projectId": project_id -"/dataflow:v1b3/dataflow.projects.templates.launch/gcsPath": gcs_path -"/dataflow:v1b3/dataflow.projects.jobs.list": list_project_jobs -"/dataflow:v1b3/dataflow.projects.jobs.list/projectId": project_id -"/dataflow:v1b3/dataflow.projects.jobs.list/filter": filter -"/dataflow:v1b3/dataflow.projects.jobs.list/location": location -"/dataflow:v1b3/dataflow.projects.jobs.list/pageToken": page_token -"/dataflow:v1b3/dataflow.projects.jobs.list/pageSize": page_size -"/dataflow:v1b3/dataflow.projects.jobs.list/view": view -"/dataflow:v1b3/dataflow.projects.jobs.get": get_project_job -"/dataflow:v1b3/dataflow.projects.jobs.get/view": view -"/dataflow:v1b3/dataflow.projects.jobs.get/jobId": job_id -"/dataflow:v1b3/dataflow.projects.jobs.get/projectId": project_id -"/dataflow:v1b3/dataflow.projects.jobs.get/location": location -"/dataflow:v1b3/dataflow.projects.jobs.update": update_project_job -"/dataflow:v1b3/dataflow.projects.jobs.update/location": location -"/dataflow:v1b3/dataflow.projects.jobs.update/jobId": job_id -"/dataflow:v1b3/dataflow.projects.jobs.update/projectId": project_id -"/dataflow:v1b3/dataflow.projects.jobs.create": create_project_job -"/dataflow:v1b3/dataflow.projects.jobs.create/view": view -"/dataflow:v1b3/dataflow.projects.jobs.create/projectId": project_id -"/dataflow:v1b3/dataflow.projects.jobs.create/location": location -"/dataflow:v1b3/dataflow.projects.jobs.create/replaceJobId": replace_job_id -"/dataflow:v1b3/dataflow.projects.jobs.getMetrics": get_project_job_metrics -"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/location": location -"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/startTime": start_time -"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/jobId": job_id -"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/projectId": project_id -"/dataflow:v1b3/dataflow.projects.jobs.workItems.reportStatus": report_project_job_work_item_status -"/dataflow:v1b3/dataflow.projects.jobs.workItems.reportStatus/jobId": job_id -"/dataflow:v1b3/dataflow.projects.jobs.workItems.reportStatus/projectId": project_id -"/dataflow:v1b3/dataflow.projects.jobs.workItems.lease/jobId": job_id -"/dataflow:v1b3/dataflow.projects.jobs.workItems.lease/projectId": project_id -"/dataflow:v1b3/dataflow.projects.jobs.debug.sendCapture": send_project_job_debug_capture -"/dataflow:v1b3/dataflow.projects.jobs.debug.sendCapture/jobId": job_id -"/dataflow:v1b3/dataflow.projects.jobs.debug.sendCapture/projectId": project_id -"/dataflow:v1b3/dataflow.projects.jobs.debug.getConfig": get_project_job_debug_config -"/dataflow:v1b3/dataflow.projects.jobs.debug.getConfig/jobId": job_id -"/dataflow:v1b3/dataflow.projects.jobs.debug.getConfig/projectId": project_id -"/dataflow:v1b3/dataflow.projects.jobs.messages.list": list_project_job_messages -"/dataflow:v1b3/dataflow.projects.jobs.messages.list/jobId": job_id -"/dataflow:v1b3/dataflow.projects.jobs.messages.list/projectId": project_id -"/dataflow:v1b3/dataflow.projects.jobs.messages.list/location": location -"/dataflow:v1b3/dataflow.projects.jobs.messages.list/endTime": end_time -"/dataflow:v1b3/dataflow.projects.jobs.messages.list/pageToken": page_token -"/dataflow:v1b3/dataflow.projects.jobs.messages.list/startTime": start_time -"/dataflow:v1b3/dataflow.projects.jobs.messages.list/pageSize": page_size -"/dataflow:v1b3/dataflow.projects.jobs.messages.list/minimumImportance": minimum_importance -"/dataflow:v1b3/MultiOutputInfo": multi_output_info -"/dataflow:v1b3/MultiOutputInfo/tag": tag -"/dataflow:v1b3/SourceSplitRequest": source_split_request -"/dataflow:v1b3/SourceSplitRequest/options": options -"/dataflow:v1b3/SourceSplitRequest/source": source -"/dataflow:v1b3/SourceGetMetadataResponse": source_get_metadata_response -"/dataflow:v1b3/SourceGetMetadataResponse/metadata": metadata -"/dataflow:v1b3/ShellTask": shell_task -"/dataflow:v1b3/ShellTask/command": command -"/dataflow:v1b3/ShellTask/exitCode": exit_code -"/dataflow:v1b3/MetricShortId": metric_short_id -"/dataflow:v1b3/MetricShortId/metricIndex": metric_index -"/dataflow:v1b3/MetricShortId/shortId": short_id +"/customsearch:v1/fields": fields +"/customsearch:v1/key": key +"/customsearch:v1/quotaUser": quota_user +"/customsearch:v1/search.cse.list": list_cses +"/customsearch:v1/search.cse.list/c2coff": c2coff +"/customsearch:v1/search.cse.list/cr": cr +"/customsearch:v1/search.cse.list/cx": cx +"/customsearch:v1/search.cse.list/dateRestrict": date_restrict +"/customsearch:v1/search.cse.list/exactTerms": exact_terms +"/customsearch:v1/search.cse.list/excludeTerms": exclude_terms +"/customsearch:v1/search.cse.list/fileType": file_type +"/customsearch:v1/search.cse.list/filter": filter +"/customsearch:v1/search.cse.list/gl": gl +"/customsearch:v1/search.cse.list/googlehost": googlehost +"/customsearch:v1/search.cse.list/highRange": high_range +"/customsearch:v1/search.cse.list/hl": hl +"/customsearch:v1/search.cse.list/hq": hq +"/customsearch:v1/search.cse.list/imgColorType": img_color_type +"/customsearch:v1/search.cse.list/imgDominantColor": img_dominant_color +"/customsearch:v1/search.cse.list/imgSize": img_size +"/customsearch:v1/search.cse.list/imgType": img_type +"/customsearch:v1/search.cse.list/linkSite": link_site +"/customsearch:v1/search.cse.list/lowRange": low_range +"/customsearch:v1/search.cse.list/lr": lr +"/customsearch:v1/search.cse.list/num": num +"/customsearch:v1/search.cse.list/orTerms": or_terms +"/customsearch:v1/search.cse.list/q": q +"/customsearch:v1/search.cse.list/relatedSite": related_site +"/customsearch:v1/search.cse.list/rights": rights +"/customsearch:v1/search.cse.list/safe": safe +"/customsearch:v1/search.cse.list/searchType": search_type +"/customsearch:v1/search.cse.list/siteSearch": site_search +"/customsearch:v1/search.cse.list/siteSearchFilter": site_search_filter +"/customsearch:v1/search.cse.list/sort": sort +"/customsearch:v1/search.cse.list/start": start +"/customsearch:v1/userIp": user_ip +"/dataflow:v1b3/ApproximateProgress": approximate_progress +"/dataflow:v1b3/ApproximateProgress/percentComplete": percent_complete +"/dataflow:v1b3/ApproximateProgress/position": position +"/dataflow:v1b3/ApproximateProgress/remainingTime": remaining_time +"/dataflow:v1b3/ApproximateReportedProgress": approximate_reported_progress +"/dataflow:v1b3/ApproximateReportedProgress/consumedParallelism": consumed_parallelism +"/dataflow:v1b3/ApproximateReportedProgress/fractionConsumed": fraction_consumed +"/dataflow:v1b3/ApproximateReportedProgress/position": position +"/dataflow:v1b3/ApproximateReportedProgress/remainingParallelism": remaining_parallelism +"/dataflow:v1b3/ApproximateSplitRequest": approximate_split_request +"/dataflow:v1b3/ApproximateSplitRequest/fractionConsumed": fraction_consumed +"/dataflow:v1b3/ApproximateSplitRequest/position": position "/dataflow:v1b3/AutoscalingEvent": autoscaling_event -"/dataflow:v1b3/AutoscalingEvent/time": time +"/dataflow:v1b3/AutoscalingEvent/currentNumWorkers": current_num_workers "/dataflow:v1b3/AutoscalingEvent/description": description "/dataflow:v1b3/AutoscalingEvent/eventType": event_type "/dataflow:v1b3/AutoscalingEvent/targetNumWorkers": target_num_workers -"/dataflow:v1b3/AutoscalingEvent/currentNumWorkers": current_num_workers -"/dataflow:v1b3/TaskRunnerSettings": task_runner_settings -"/dataflow:v1b3/TaskRunnerSettings/dataflowApiVersion": dataflow_api_version -"/dataflow:v1b3/TaskRunnerSettings/oauthScopes": oauth_scopes -"/dataflow:v1b3/TaskRunnerSettings/oauthScopes/oauth_scope": oauth_scope -"/dataflow:v1b3/TaskRunnerSettings/streamingWorkerMainClass": streaming_worker_main_class -"/dataflow:v1b3/TaskRunnerSettings/logUploadLocation": log_upload_location -"/dataflow:v1b3/TaskRunnerSettings/workflowFileName": workflow_file_name -"/dataflow:v1b3/TaskRunnerSettings/commandlinesFileName": commandlines_file_name -"/dataflow:v1b3/TaskRunnerSettings/languageHint": language_hint -"/dataflow:v1b3/TaskRunnerSettings/baseTaskDir": base_task_dir -"/dataflow:v1b3/TaskRunnerSettings/tempStoragePrefix": temp_storage_prefix -"/dataflow:v1b3/TaskRunnerSettings/baseUrl": base_url -"/dataflow:v1b3/TaskRunnerSettings/logToSerialconsole": log_to_serialconsole -"/dataflow:v1b3/TaskRunnerSettings/continueOnException": continue_on_exception -"/dataflow:v1b3/TaskRunnerSettings/parallelWorkerSettings": parallel_worker_settings -"/dataflow:v1b3/TaskRunnerSettings/vmId": vm_id -"/dataflow:v1b3/TaskRunnerSettings/taskUser": task_user -"/dataflow:v1b3/TaskRunnerSettings/alsologtostderr": alsologtostderr -"/dataflow:v1b3/TaskRunnerSettings/taskGroup": task_group -"/dataflow:v1b3/TaskRunnerSettings/harnessCommand": harness_command -"/dataflow:v1b3/TaskRunnerSettings/logDir": log_dir +"/dataflow:v1b3/AutoscalingEvent/time": time +"/dataflow:v1b3/AutoscalingSettings": autoscaling_settings +"/dataflow:v1b3/AutoscalingSettings/algorithm": algorithm +"/dataflow:v1b3/AutoscalingSettings/maxNumWorkers": max_num_workers +"/dataflow:v1b3/CPUTime": cpu_time +"/dataflow:v1b3/CPUTime/rate": rate +"/dataflow:v1b3/CPUTime/timestamp": timestamp +"/dataflow:v1b3/CPUTime/totalMs": total_ms +"/dataflow:v1b3/ComponentSource": component_source +"/dataflow:v1b3/ComponentSource/name": name +"/dataflow:v1b3/ComponentSource/originalTransformOrCollection": original_transform_or_collection +"/dataflow:v1b3/ComponentSource/userName": user_name +"/dataflow:v1b3/ComponentTransform": component_transform +"/dataflow:v1b3/ComponentTransform/name": name +"/dataflow:v1b3/ComponentTransform/originalTransform": original_transform +"/dataflow:v1b3/ComponentTransform/userName": user_name +"/dataflow:v1b3/ComputationTopology": computation_topology +"/dataflow:v1b3/ComputationTopology/computationId": computation_id +"/dataflow:v1b3/ComputationTopology/inputs": inputs +"/dataflow:v1b3/ComputationTopology/inputs/input": input +"/dataflow:v1b3/ComputationTopology/keyRanges": key_ranges +"/dataflow:v1b3/ComputationTopology/keyRanges/key_range": key_range +"/dataflow:v1b3/ComputationTopology/outputs": outputs +"/dataflow:v1b3/ComputationTopology/outputs/output": output +"/dataflow:v1b3/ComputationTopology/stateFamilies": state_families +"/dataflow:v1b3/ComputationTopology/stateFamilies/state_family": state_family +"/dataflow:v1b3/ComputationTopology/systemStageName": system_stage_name +"/dataflow:v1b3/ConcatPosition": concat_position +"/dataflow:v1b3/ConcatPosition/index": index +"/dataflow:v1b3/ConcatPosition/position": position +"/dataflow:v1b3/CounterMetadata": counter_metadata +"/dataflow:v1b3/CounterMetadata/description": description +"/dataflow:v1b3/CounterMetadata/kind": kind +"/dataflow:v1b3/CounterMetadata/otherUnits": other_units +"/dataflow:v1b3/CounterMetadata/standardUnits": standard_units +"/dataflow:v1b3/CounterStructuredName": counter_structured_name +"/dataflow:v1b3/CounterStructuredName/componentStepName": component_step_name +"/dataflow:v1b3/CounterStructuredName/executionStepName": execution_step_name +"/dataflow:v1b3/CounterStructuredName/name": name +"/dataflow:v1b3/CounterStructuredName/origin": origin +"/dataflow:v1b3/CounterStructuredName/originNamespace": origin_namespace +"/dataflow:v1b3/CounterStructuredName/originalStepName": original_step_name +"/dataflow:v1b3/CounterStructuredName/portion": portion +"/dataflow:v1b3/CounterStructuredName/workerId": worker_id +"/dataflow:v1b3/CounterStructuredNameAndMetadata": counter_structured_name_and_metadata +"/dataflow:v1b3/CounterStructuredNameAndMetadata/metadata": metadata +"/dataflow:v1b3/CounterStructuredNameAndMetadata/name": name +"/dataflow:v1b3/CounterUpdate": counter_update +"/dataflow:v1b3/CounterUpdate/boolean": boolean +"/dataflow:v1b3/CounterUpdate/cumulative": cumulative +"/dataflow:v1b3/CounterUpdate/distribution": distribution +"/dataflow:v1b3/CounterUpdate/floatingPoint": floating_point +"/dataflow:v1b3/CounterUpdate/floatingPointList": floating_point_list +"/dataflow:v1b3/CounterUpdate/floatingPointMean": floating_point_mean +"/dataflow:v1b3/CounterUpdate/integer": integer +"/dataflow:v1b3/CounterUpdate/integerList": integer_list +"/dataflow:v1b3/CounterUpdate/integerMean": integer_mean +"/dataflow:v1b3/CounterUpdate/internal": internal +"/dataflow:v1b3/CounterUpdate/nameAndKind": name_and_kind +"/dataflow:v1b3/CounterUpdate/shortId": short_id +"/dataflow:v1b3/CounterUpdate/stringList": string_list +"/dataflow:v1b3/CounterUpdate/structuredNameAndMetadata": structured_name_and_metadata +"/dataflow:v1b3/CreateJobFromTemplateRequest": create_job_from_template_request +"/dataflow:v1b3/CreateJobFromTemplateRequest/environment": environment +"/dataflow:v1b3/CreateJobFromTemplateRequest/gcsPath": gcs_path +"/dataflow:v1b3/CreateJobFromTemplateRequest/jobName": job_name +"/dataflow:v1b3/CreateJobFromTemplateRequest/location": location +"/dataflow:v1b3/CreateJobFromTemplateRequest/parameters": parameters +"/dataflow:v1b3/CreateJobFromTemplateRequest/parameters/parameter": parameter +"/dataflow:v1b3/CustomSourceLocation": custom_source_location +"/dataflow:v1b3/CustomSourceLocation/stateful": stateful +"/dataflow:v1b3/DataDiskAssignment": data_disk_assignment +"/dataflow:v1b3/DataDiskAssignment/dataDisks": data_disks +"/dataflow:v1b3/DataDiskAssignment/dataDisks/data_disk": data_disk +"/dataflow:v1b3/DataDiskAssignment/vmInstance": vm_instance +"/dataflow:v1b3/DerivedSource": derived_source +"/dataflow:v1b3/DerivedSource/derivationMode": derivation_mode +"/dataflow:v1b3/DerivedSource/source": source +"/dataflow:v1b3/Disk": disk +"/dataflow:v1b3/Disk/diskType": disk_type +"/dataflow:v1b3/Disk/mountPoint": mount_point +"/dataflow:v1b3/Disk/sizeGb": size_gb +"/dataflow:v1b3/DisplayData": display_data +"/dataflow:v1b3/DisplayData/boolValue": bool_value +"/dataflow:v1b3/DisplayData/durationValue": duration_value +"/dataflow:v1b3/DisplayData/floatValue": float_value +"/dataflow:v1b3/DisplayData/int64Value": int64_value +"/dataflow:v1b3/DisplayData/javaClassValue": java_class_value +"/dataflow:v1b3/DisplayData/key": key +"/dataflow:v1b3/DisplayData/label": label +"/dataflow:v1b3/DisplayData/namespace": namespace +"/dataflow:v1b3/DisplayData/shortStrValue": short_str_value +"/dataflow:v1b3/DisplayData/strValue": str_value +"/dataflow:v1b3/DisplayData/timestampValue": timestamp_value +"/dataflow:v1b3/DisplayData/url": url +"/dataflow:v1b3/DistributionUpdate": distribution_update +"/dataflow:v1b3/DistributionUpdate/count": count +"/dataflow:v1b3/DistributionUpdate/logBuckets": log_buckets +"/dataflow:v1b3/DistributionUpdate/logBuckets/log_bucket": log_bucket +"/dataflow:v1b3/DistributionUpdate/max": max +"/dataflow:v1b3/DistributionUpdate/min": min +"/dataflow:v1b3/DistributionUpdate/sum": sum +"/dataflow:v1b3/DistributionUpdate/sumOfSquares": sum_of_squares +"/dataflow:v1b3/DynamicSourceSplit": dynamic_source_split +"/dataflow:v1b3/DynamicSourceSplit/primary": primary +"/dataflow:v1b3/DynamicSourceSplit/residual": residual +"/dataflow:v1b3/Environment": environment +"/dataflow:v1b3/Environment/clusterManagerApiService": cluster_manager_api_service +"/dataflow:v1b3/Environment/dataset": dataset +"/dataflow:v1b3/Environment/experiments": experiments +"/dataflow:v1b3/Environment/experiments/experiment": experiment +"/dataflow:v1b3/Environment/internalExperiments": internal_experiments +"/dataflow:v1b3/Environment/internalExperiments/internal_experiment": internal_experiment +"/dataflow:v1b3/Environment/sdkPipelineOptions": sdk_pipeline_options +"/dataflow:v1b3/Environment/sdkPipelineOptions/sdk_pipeline_option": sdk_pipeline_option +"/dataflow:v1b3/Environment/serviceAccountEmail": service_account_email +"/dataflow:v1b3/Environment/tempStoragePrefix": temp_storage_prefix +"/dataflow:v1b3/Environment/userAgent": user_agent +"/dataflow:v1b3/Environment/userAgent/user_agent": user_agent +"/dataflow:v1b3/Environment/version": version +"/dataflow:v1b3/Environment/version/version": version +"/dataflow:v1b3/Environment/workerPools": worker_pools +"/dataflow:v1b3/Environment/workerPools/worker_pool": worker_pool +"/dataflow:v1b3/ExecutionStageState": execution_stage_state +"/dataflow:v1b3/ExecutionStageState/currentStateTime": current_state_time +"/dataflow:v1b3/ExecutionStageState/executionStageName": execution_stage_name +"/dataflow:v1b3/ExecutionStageState/executionStageState": execution_stage_state +"/dataflow:v1b3/ExecutionStageSummary": execution_stage_summary +"/dataflow:v1b3/ExecutionStageSummary/componentSource": component_source +"/dataflow:v1b3/ExecutionStageSummary/componentSource/component_source": component_source +"/dataflow:v1b3/ExecutionStageSummary/componentTransform": component_transform +"/dataflow:v1b3/ExecutionStageSummary/componentTransform/component_transform": component_transform +"/dataflow:v1b3/ExecutionStageSummary/id": id +"/dataflow:v1b3/ExecutionStageSummary/inputSource": input_source +"/dataflow:v1b3/ExecutionStageSummary/inputSource/input_source": input_source +"/dataflow:v1b3/ExecutionStageSummary/kind": kind +"/dataflow:v1b3/ExecutionStageSummary/name": name +"/dataflow:v1b3/ExecutionStageSummary/outputSource": output_source +"/dataflow:v1b3/ExecutionStageSummary/outputSource/output_source": output_source +"/dataflow:v1b3/FailedLocation": failed_location +"/dataflow:v1b3/FailedLocation/name": name +"/dataflow:v1b3/FlattenInstruction": flatten_instruction +"/dataflow:v1b3/FlattenInstruction/inputs": inputs +"/dataflow:v1b3/FlattenInstruction/inputs/input": input +"/dataflow:v1b3/FloatingPointList": floating_point_list +"/dataflow:v1b3/FloatingPointList/elements": elements +"/dataflow:v1b3/FloatingPointList/elements/element": element +"/dataflow:v1b3/FloatingPointMean": floating_point_mean +"/dataflow:v1b3/FloatingPointMean/count": count +"/dataflow:v1b3/FloatingPointMean/sum": sum +"/dataflow:v1b3/GetDebugConfigRequest": get_debug_config_request +"/dataflow:v1b3/GetDebugConfigRequest/componentId": component_id +"/dataflow:v1b3/GetDebugConfigRequest/location": location +"/dataflow:v1b3/GetDebugConfigRequest/workerId": worker_id +"/dataflow:v1b3/GetDebugConfigResponse": get_debug_config_response +"/dataflow:v1b3/GetDebugConfigResponse/config": config +"/dataflow:v1b3/GetTemplateResponse": get_template_response +"/dataflow:v1b3/GetTemplateResponse/metadata": metadata +"/dataflow:v1b3/GetTemplateResponse/status": status +"/dataflow:v1b3/InstructionInput": instruction_input +"/dataflow:v1b3/InstructionInput/outputNum": output_num +"/dataflow:v1b3/InstructionInput/producerInstructionIndex": producer_instruction_index +"/dataflow:v1b3/InstructionOutput": instruction_output +"/dataflow:v1b3/InstructionOutput/codec": codec +"/dataflow:v1b3/InstructionOutput/codec/codec": codec +"/dataflow:v1b3/InstructionOutput/name": name +"/dataflow:v1b3/InstructionOutput/onlyCountKeyBytes": only_count_key_bytes +"/dataflow:v1b3/InstructionOutput/onlyCountValueBytes": only_count_value_bytes +"/dataflow:v1b3/InstructionOutput/originalName": original_name +"/dataflow:v1b3/InstructionOutput/systemName": system_name +"/dataflow:v1b3/IntegerList": integer_list +"/dataflow:v1b3/IntegerList/elements": elements +"/dataflow:v1b3/IntegerList/elements/element": element +"/dataflow:v1b3/IntegerMean": integer_mean +"/dataflow:v1b3/IntegerMean/count": count +"/dataflow:v1b3/IntegerMean/sum": sum +"/dataflow:v1b3/Job": job +"/dataflow:v1b3/Job/clientRequestId": client_request_id +"/dataflow:v1b3/Job/createTime": create_time +"/dataflow:v1b3/Job/currentState": current_state +"/dataflow:v1b3/Job/currentStateTime": current_state_time +"/dataflow:v1b3/Job/environment": environment +"/dataflow:v1b3/Job/executionInfo": execution_info +"/dataflow:v1b3/Job/id": id +"/dataflow:v1b3/Job/labels": labels +"/dataflow:v1b3/Job/labels/label": label +"/dataflow:v1b3/Job/location": location +"/dataflow:v1b3/Job/name": name +"/dataflow:v1b3/Job/pipelineDescription": pipeline_description +"/dataflow:v1b3/Job/projectId": project_id +"/dataflow:v1b3/Job/replaceJobId": replace_job_id +"/dataflow:v1b3/Job/replacedByJobId": replaced_by_job_id +"/dataflow:v1b3/Job/requestedState": requested_state +"/dataflow:v1b3/Job/stageStates": stage_states +"/dataflow:v1b3/Job/stageStates/stage_state": stage_state +"/dataflow:v1b3/Job/steps": steps +"/dataflow:v1b3/Job/steps/step": step +"/dataflow:v1b3/Job/tempFiles": temp_files +"/dataflow:v1b3/Job/tempFiles/temp_file": temp_file +"/dataflow:v1b3/Job/transformNameMapping": transform_name_mapping +"/dataflow:v1b3/Job/transformNameMapping/transform_name_mapping": transform_name_mapping +"/dataflow:v1b3/Job/type": type +"/dataflow:v1b3/JobExecutionInfo": job_execution_info +"/dataflow:v1b3/JobExecutionInfo/stages": stages +"/dataflow:v1b3/JobExecutionInfo/stages/stage": stage +"/dataflow:v1b3/JobExecutionStageInfo": job_execution_stage_info +"/dataflow:v1b3/JobExecutionStageInfo/stepName": step_name +"/dataflow:v1b3/JobExecutionStageInfo/stepName/step_name": step_name +"/dataflow:v1b3/JobMessage": job_message +"/dataflow:v1b3/JobMessage/id": id +"/dataflow:v1b3/JobMessage/messageImportance": message_importance +"/dataflow:v1b3/JobMessage/messageText": message_text +"/dataflow:v1b3/JobMessage/time": time +"/dataflow:v1b3/JobMetrics": job_metrics +"/dataflow:v1b3/JobMetrics/metricTime": metric_time +"/dataflow:v1b3/JobMetrics/metrics": metrics +"/dataflow:v1b3/JobMetrics/metrics/metric": metric +"/dataflow:v1b3/KeyRangeDataDiskAssignment": key_range_data_disk_assignment +"/dataflow:v1b3/KeyRangeDataDiskAssignment/dataDisk": data_disk +"/dataflow:v1b3/KeyRangeDataDiskAssignment/end": end +"/dataflow:v1b3/KeyRangeDataDiskAssignment/start": start +"/dataflow:v1b3/KeyRangeLocation": key_range_location +"/dataflow:v1b3/KeyRangeLocation/dataDisk": data_disk +"/dataflow:v1b3/KeyRangeLocation/deliveryEndpoint": delivery_endpoint +"/dataflow:v1b3/KeyRangeLocation/deprecatedPersistentDirectory": deprecated_persistent_directory +"/dataflow:v1b3/KeyRangeLocation/end": end +"/dataflow:v1b3/KeyRangeLocation/start": start +"/dataflow:v1b3/LaunchTemplateParameters": launch_template_parameters +"/dataflow:v1b3/LaunchTemplateParameters/environment": environment +"/dataflow:v1b3/LaunchTemplateParameters/jobName": job_name +"/dataflow:v1b3/LaunchTemplateParameters/parameters": parameters +"/dataflow:v1b3/LaunchTemplateParameters/parameters/parameter": parameter +"/dataflow:v1b3/LaunchTemplateResponse": launch_template_response +"/dataflow:v1b3/LaunchTemplateResponse/job": job +"/dataflow:v1b3/LeaseWorkItemRequest": lease_work_item_request +"/dataflow:v1b3/LeaseWorkItemRequest/currentWorkerTime": current_worker_time +"/dataflow:v1b3/LeaseWorkItemRequest/location": location +"/dataflow:v1b3/LeaseWorkItemRequest/requestedLeaseDuration": requested_lease_duration +"/dataflow:v1b3/LeaseWorkItemRequest/workItemTypes": work_item_types +"/dataflow:v1b3/LeaseWorkItemRequest/workItemTypes/work_item_type": work_item_type +"/dataflow:v1b3/LeaseWorkItemRequest/workerCapabilities": worker_capabilities +"/dataflow:v1b3/LeaseWorkItemRequest/workerCapabilities/worker_capability": worker_capability +"/dataflow:v1b3/LeaseWorkItemRequest/workerId": worker_id +"/dataflow:v1b3/LeaseWorkItemResponse": lease_work_item_response +"/dataflow:v1b3/LeaseWorkItemResponse/workItems": work_items +"/dataflow:v1b3/LeaseWorkItemResponse/workItems/work_item": work_item +"/dataflow:v1b3/ListJobMessagesResponse": list_job_messages_response +"/dataflow:v1b3/ListJobMessagesResponse/autoscalingEvents": autoscaling_events +"/dataflow:v1b3/ListJobMessagesResponse/autoscalingEvents/autoscaling_event": autoscaling_event +"/dataflow:v1b3/ListJobMessagesResponse/jobMessages": job_messages +"/dataflow:v1b3/ListJobMessagesResponse/jobMessages/job_message": job_message +"/dataflow:v1b3/ListJobMessagesResponse/nextPageToken": next_page_token +"/dataflow:v1b3/ListJobsResponse": list_jobs_response +"/dataflow:v1b3/ListJobsResponse/failedLocation": failed_location +"/dataflow:v1b3/ListJobsResponse/failedLocation/failed_location": failed_location +"/dataflow:v1b3/ListJobsResponse/jobs": jobs +"/dataflow:v1b3/ListJobsResponse/jobs/job": job +"/dataflow:v1b3/ListJobsResponse/nextPageToken": next_page_token +"/dataflow:v1b3/LogBucket": log_bucket +"/dataflow:v1b3/LogBucket/count": count +"/dataflow:v1b3/LogBucket/log": log +"/dataflow:v1b3/MapTask": map_task +"/dataflow:v1b3/MapTask/instructions": instructions +"/dataflow:v1b3/MapTask/instructions/instruction": instruction +"/dataflow:v1b3/MapTask/stageName": stage_name +"/dataflow:v1b3/MapTask/systemName": system_name +"/dataflow:v1b3/MetricShortId": metric_short_id +"/dataflow:v1b3/MetricShortId/metricIndex": metric_index +"/dataflow:v1b3/MetricShortId/shortId": short_id +"/dataflow:v1b3/MetricStructuredName": metric_structured_name +"/dataflow:v1b3/MetricStructuredName/context": context +"/dataflow:v1b3/MetricStructuredName/context/context": context +"/dataflow:v1b3/MetricStructuredName/name": name +"/dataflow:v1b3/MetricStructuredName/origin": origin +"/dataflow:v1b3/MetricUpdate": metric_update +"/dataflow:v1b3/MetricUpdate/cumulative": cumulative +"/dataflow:v1b3/MetricUpdate/distribution": distribution +"/dataflow:v1b3/MetricUpdate/internal": internal +"/dataflow:v1b3/MetricUpdate/kind": kind +"/dataflow:v1b3/MetricUpdate/meanCount": mean_count +"/dataflow:v1b3/MetricUpdate/meanSum": mean_sum +"/dataflow:v1b3/MetricUpdate/name": name +"/dataflow:v1b3/MetricUpdate/scalar": scalar +"/dataflow:v1b3/MetricUpdate/set": set +"/dataflow:v1b3/MetricUpdate/updateTime": update_time +"/dataflow:v1b3/MountedDataDisk": mounted_data_disk +"/dataflow:v1b3/MountedDataDisk/dataDisk": data_disk +"/dataflow:v1b3/MultiOutputInfo": multi_output_info +"/dataflow:v1b3/MultiOutputInfo/tag": tag +"/dataflow:v1b3/NameAndKind": name_and_kind +"/dataflow:v1b3/NameAndKind/kind": kind +"/dataflow:v1b3/NameAndKind/name": name +"/dataflow:v1b3/Package": package +"/dataflow:v1b3/Package/location": location +"/dataflow:v1b3/Package/name": name +"/dataflow:v1b3/ParDoInstruction": par_do_instruction +"/dataflow:v1b3/ParDoInstruction/input": input +"/dataflow:v1b3/ParDoInstruction/multiOutputInfos": multi_output_infos +"/dataflow:v1b3/ParDoInstruction/multiOutputInfos/multi_output_info": multi_output_info +"/dataflow:v1b3/ParDoInstruction/numOutputs": num_outputs +"/dataflow:v1b3/ParDoInstruction/sideInputs": side_inputs +"/dataflow:v1b3/ParDoInstruction/sideInputs/side_input": side_input +"/dataflow:v1b3/ParDoInstruction/userFn": user_fn +"/dataflow:v1b3/ParDoInstruction/userFn/user_fn": user_fn +"/dataflow:v1b3/ParallelInstruction": parallel_instruction +"/dataflow:v1b3/ParallelInstruction/flatten": flatten +"/dataflow:v1b3/ParallelInstruction/name": name +"/dataflow:v1b3/ParallelInstruction/originalName": original_name +"/dataflow:v1b3/ParallelInstruction/outputs": outputs +"/dataflow:v1b3/ParallelInstruction/outputs/output": output +"/dataflow:v1b3/ParallelInstruction/parDo": par_do +"/dataflow:v1b3/ParallelInstruction/partialGroupByKey": partial_group_by_key +"/dataflow:v1b3/ParallelInstruction/read": read +"/dataflow:v1b3/ParallelInstruction/systemName": system_name +"/dataflow:v1b3/ParallelInstruction/write": write +"/dataflow:v1b3/Parameter": parameter +"/dataflow:v1b3/Parameter/key": key +"/dataflow:v1b3/Parameter/value": value +"/dataflow:v1b3/ParameterMetadata": parameter_metadata +"/dataflow:v1b3/ParameterMetadata/helpText": help_text +"/dataflow:v1b3/ParameterMetadata/isOptional": is_optional +"/dataflow:v1b3/ParameterMetadata/label": label +"/dataflow:v1b3/ParameterMetadata/name": name +"/dataflow:v1b3/ParameterMetadata/regexes": regexes +"/dataflow:v1b3/ParameterMetadata/regexes/regex": regex +"/dataflow:v1b3/PartialGroupByKeyInstruction": partial_group_by_key_instruction +"/dataflow:v1b3/PartialGroupByKeyInstruction/input": input +"/dataflow:v1b3/PartialGroupByKeyInstruction/inputElementCodec": input_element_codec +"/dataflow:v1b3/PartialGroupByKeyInstruction/inputElementCodec/input_element_codec": input_element_codec +"/dataflow:v1b3/PartialGroupByKeyInstruction/originalCombineValuesInputStoreName": original_combine_values_input_store_name +"/dataflow:v1b3/PartialGroupByKeyInstruction/originalCombineValuesStepName": original_combine_values_step_name +"/dataflow:v1b3/PartialGroupByKeyInstruction/sideInputs": side_inputs +"/dataflow:v1b3/PartialGroupByKeyInstruction/sideInputs/side_input": side_input +"/dataflow:v1b3/PartialGroupByKeyInstruction/valueCombiningFn": value_combining_fn +"/dataflow:v1b3/PartialGroupByKeyInstruction/valueCombiningFn/value_combining_fn": value_combining_fn +"/dataflow:v1b3/PipelineDescription": pipeline_description +"/dataflow:v1b3/PipelineDescription/displayData": display_data +"/dataflow:v1b3/PipelineDescription/displayData/display_datum": display_datum +"/dataflow:v1b3/PipelineDescription/executionPipelineStage": execution_pipeline_stage +"/dataflow:v1b3/PipelineDescription/executionPipelineStage/execution_pipeline_stage": execution_pipeline_stage +"/dataflow:v1b3/PipelineDescription/originalPipelineTransform": original_pipeline_transform +"/dataflow:v1b3/PipelineDescription/originalPipelineTransform/original_pipeline_transform": original_pipeline_transform "/dataflow:v1b3/Position": position -"/dataflow:v1b3/Position/recordIndex": record_index -"/dataflow:v1b3/Position/shufflePosition": shuffle_position "/dataflow:v1b3/Position/byteOffset": byte_offset "/dataflow:v1b3/Position/concatPosition": concat_position "/dataflow:v1b3/Position/end": end "/dataflow:v1b3/Position/key": key -"/dataflow:v1b3/Source": source -"/dataflow:v1b3/Source/spec": spec -"/dataflow:v1b3/Source/spec/spec": spec -"/dataflow:v1b3/Source/metadata": metadata -"/dataflow:v1b3/Source/baseSpecs": base_specs -"/dataflow:v1b3/Source/baseSpecs/base_spec": base_spec -"/dataflow:v1b3/Source/baseSpecs/base_spec/base_spec": base_spec -"/dataflow:v1b3/Source/doesNotNeedSplitting": does_not_need_splitting -"/dataflow:v1b3/Source/codec": codec -"/dataflow:v1b3/Source/codec/codec": codec -"/dataflow:v1b3/SplitInt64": split_int64 -"/dataflow:v1b3/SplitInt64/lowBits": low_bits -"/dataflow:v1b3/SplitInt64/highBits": high_bits -"/dataflow:v1b3/WorkerPool": worker_pool -"/dataflow:v1b3/WorkerPool/subnetwork": subnetwork -"/dataflow:v1b3/WorkerPool/ipConfiguration": ip_configuration -"/dataflow:v1b3/WorkerPool/taskrunnerSettings": taskrunner_settings -"/dataflow:v1b3/WorkerPool/autoscalingSettings": autoscaling_settings -"/dataflow:v1b3/WorkerPool/metadata": metadata -"/dataflow:v1b3/WorkerPool/metadata/metadatum": metadatum -"/dataflow:v1b3/WorkerPool/network": network -"/dataflow:v1b3/WorkerPool/defaultPackageSet": default_package_set -"/dataflow:v1b3/WorkerPool/numThreadsPerWorker": num_threads_per_worker -"/dataflow:v1b3/WorkerPool/numWorkers": num_workers -"/dataflow:v1b3/WorkerPool/zone": zone -"/dataflow:v1b3/WorkerPool/diskSourceImage": disk_source_image -"/dataflow:v1b3/WorkerPool/packages": packages -"/dataflow:v1b3/WorkerPool/packages/package": package -"/dataflow:v1b3/WorkerPool/teardownPolicy": teardown_policy -"/dataflow:v1b3/WorkerPool/onHostMaintenance": on_host_maintenance -"/dataflow:v1b3/WorkerPool/poolArgs": pool_args -"/dataflow:v1b3/WorkerPool/poolArgs/pool_arg": pool_arg -"/dataflow:v1b3/WorkerPool/diskSizeGb": disk_size_gb -"/dataflow:v1b3/WorkerPool/workerHarnessContainerImage": worker_harness_container_image -"/dataflow:v1b3/WorkerPool/machineType": machine_type -"/dataflow:v1b3/WorkerPool/diskType": disk_type -"/dataflow:v1b3/WorkerPool/kind": kind -"/dataflow:v1b3/WorkerPool/dataDisks": data_disks -"/dataflow:v1b3/WorkerPool/dataDisks/data_disk": data_disk -"/dataflow:v1b3/SourceOperationRequest": source_operation_request -"/dataflow:v1b3/SourceOperationRequest/getMetadata": get_metadata -"/dataflow:v1b3/SourceOperationRequest/split": split -"/dataflow:v1b3/WorkItem": work_item -"/dataflow:v1b3/WorkItem/streamingSetupTask": streaming_setup_task -"/dataflow:v1b3/WorkItem/reportStatusInterval": report_status_interval -"/dataflow:v1b3/WorkItem/sourceOperationTask": source_operation_task -"/dataflow:v1b3/WorkItem/leaseExpireTime": lease_expire_time -"/dataflow:v1b3/WorkItem/streamingConfigTask": streaming_config_task -"/dataflow:v1b3/WorkItem/initialReportIndex": initial_report_index -"/dataflow:v1b3/WorkItem/streamingComputationTask": streaming_computation_task -"/dataflow:v1b3/WorkItem/shellTask": shell_task -"/dataflow:v1b3/WorkItem/jobId": job_id -"/dataflow:v1b3/WorkItem/id": id -"/dataflow:v1b3/WorkItem/configuration": configuration -"/dataflow:v1b3/WorkItem/mapTask": map_task -"/dataflow:v1b3/WorkItem/seqMapTask": seq_map_task -"/dataflow:v1b3/WorkItem/packages": packages -"/dataflow:v1b3/WorkItem/packages/package": package -"/dataflow:v1b3/WorkItem/projectId": project_id -"/dataflow:v1b3/StructuredMessage": structured_message -"/dataflow:v1b3/StructuredMessage/messageText": message_text -"/dataflow:v1b3/StructuredMessage/parameters": parameters -"/dataflow:v1b3/StructuredMessage/parameters/parameter": parameter -"/dataflow:v1b3/StructuredMessage/messageKey": message_key +"/dataflow:v1b3/Position/recordIndex": record_index +"/dataflow:v1b3/Position/shufflePosition": shuffle_position +"/dataflow:v1b3/PubsubLocation": pubsub_location +"/dataflow:v1b3/PubsubLocation/dropLateData": drop_late_data +"/dataflow:v1b3/PubsubLocation/idLabel": id_label +"/dataflow:v1b3/PubsubLocation/subscription": subscription +"/dataflow:v1b3/PubsubLocation/timestampLabel": timestamp_label +"/dataflow:v1b3/PubsubLocation/topic": topic +"/dataflow:v1b3/PubsubLocation/trackingSubscription": tracking_subscription +"/dataflow:v1b3/PubsubLocation/withAttributes": with_attributes +"/dataflow:v1b3/ReadInstruction": read_instruction +"/dataflow:v1b3/ReadInstruction/source": source +"/dataflow:v1b3/ReportWorkItemStatusRequest": report_work_item_status_request +"/dataflow:v1b3/ReportWorkItemStatusRequest/currentWorkerTime": current_worker_time +"/dataflow:v1b3/ReportWorkItemStatusRequest/location": location +"/dataflow:v1b3/ReportWorkItemStatusRequest/workItemStatuses": work_item_statuses +"/dataflow:v1b3/ReportWorkItemStatusRequest/workItemStatuses/work_item_status": work_item_status +"/dataflow:v1b3/ReportWorkItemStatusRequest/workerId": worker_id +"/dataflow:v1b3/ReportWorkItemStatusResponse": report_work_item_status_response +"/dataflow:v1b3/ReportWorkItemStatusResponse/workItemServiceStates": work_item_service_states +"/dataflow:v1b3/ReportWorkItemStatusResponse/workItemServiceStates/work_item_service_state": work_item_service_state "/dataflow:v1b3/ReportedParallelism": reported_parallelism -"/dataflow:v1b3/ReportedParallelism/value": value "/dataflow:v1b3/ReportedParallelism/isInfinite": is_infinite +"/dataflow:v1b3/ReportedParallelism/value": value "/dataflow:v1b3/ResourceUtilizationReport": resource_utilization_report "/dataflow:v1b3/ResourceUtilizationReport/cpuTime": cpu_time "/dataflow:v1b3/ResourceUtilizationReport/cpuTime/cpu_time": cpu_time -"/dataflow:v1b3/TopologyConfig": topology_config -"/dataflow:v1b3/TopologyConfig/computations": computations -"/dataflow:v1b3/TopologyConfig/computations/computation": computation -"/dataflow:v1b3/TopologyConfig/persistentStateVersion": persistent_state_version -"/dataflow:v1b3/TopologyConfig/dataDiskAssignments": data_disk_assignments -"/dataflow:v1b3/TopologyConfig/dataDiskAssignments/data_disk_assignment": data_disk_assignment -"/dataflow:v1b3/TopologyConfig/forwardingKeyBits": forwarding_key_bits -"/dataflow:v1b3/TopologyConfig/userStageToComputationNameMap": user_stage_to_computation_name_map -"/dataflow:v1b3/TopologyConfig/userStageToComputationNameMap/user_stage_to_computation_name_map": user_stage_to_computation_name_map -"/dataflow:v1b3/SourceSplitOptions": source_split_options -"/dataflow:v1b3/SourceSplitOptions/desiredBundleSizeBytes": desired_bundle_size_bytes -"/dataflow:v1b3/SourceSplitOptions/desiredShardSizeBytes": desired_shard_size_bytes -"/dataflow:v1b3/ReadInstruction": read_instruction -"/dataflow:v1b3/ReadInstruction/source": source -"/dataflow:v1b3/WorkerSettings": worker_settings -"/dataflow:v1b3/WorkerSettings/servicePath": service_path -"/dataflow:v1b3/WorkerSettings/shuffleServicePath": shuffle_service_path -"/dataflow:v1b3/WorkerSettings/workerId": worker_id -"/dataflow:v1b3/WorkerSettings/tempStoragePrefix": temp_storage_prefix -"/dataflow:v1b3/WorkerSettings/reportingEnabled": reporting_enabled -"/dataflow:v1b3/WorkerSettings/baseUrl": base_url -"/dataflow:v1b3/StreamingStageLocation": streaming_stage_location -"/dataflow:v1b3/StreamingStageLocation/streamId": stream_id -"/dataflow:v1b3/DataDiskAssignment": data_disk_assignment -"/dataflow:v1b3/DataDiskAssignment/vmInstance": vm_instance -"/dataflow:v1b3/DataDiskAssignment/dataDisks": data_disks -"/dataflow:v1b3/DataDiskAssignment/dataDisks/data_disk": data_disk -"/dataflow:v1b3/ApproximateSplitRequest": approximate_split_request -"/dataflow:v1b3/ApproximateSplitRequest/position": position -"/dataflow:v1b3/ApproximateSplitRequest/fractionConsumed": fraction_consumed -"/dataflow:v1b3/Status": status -"/dataflow:v1b3/Status/code": code -"/dataflow:v1b3/Status/message": message -"/dataflow:v1b3/Status/details": details -"/dataflow:v1b3/Status/details/detail": detail -"/dataflow:v1b3/Status/details/detail/detail": detail -"/dataflow:v1b3/ExecutionStageState": execution_stage_state -"/dataflow:v1b3/ExecutionStageState/currentStateTime": current_state_time -"/dataflow:v1b3/ExecutionStageState/executionStageState": execution_stage_state -"/dataflow:v1b3/ExecutionStageState/executionStageName": execution_stage_name -"/dataflow:v1b3/StreamLocation": stream_location -"/dataflow:v1b3/StreamLocation/customSourceLocation": custom_source_location -"/dataflow:v1b3/StreamLocation/sideInputLocation": side_input_location -"/dataflow:v1b3/StreamLocation/pubsubLocation": pubsub_location -"/dataflow:v1b3/StreamLocation/streamingStageLocation": streaming_stage_location +"/dataflow:v1b3/ResourceUtilizationReportResponse": resource_utilization_report_response +"/dataflow:v1b3/RuntimeEnvironment": runtime_environment +"/dataflow:v1b3/RuntimeEnvironment/bypassTempDirValidation": bypass_temp_dir_validation +"/dataflow:v1b3/RuntimeEnvironment/machineType": machine_type +"/dataflow:v1b3/RuntimeEnvironment/maxWorkers": max_workers +"/dataflow:v1b3/RuntimeEnvironment/serviceAccountEmail": service_account_email +"/dataflow:v1b3/RuntimeEnvironment/tempLocation": temp_location +"/dataflow:v1b3/RuntimeEnvironment/zone": zone +"/dataflow:v1b3/SendDebugCaptureRequest": send_debug_capture_request +"/dataflow:v1b3/SendDebugCaptureRequest/componentId": component_id +"/dataflow:v1b3/SendDebugCaptureRequest/data": data +"/dataflow:v1b3/SendDebugCaptureRequest/location": location +"/dataflow:v1b3/SendDebugCaptureRequest/workerId": worker_id +"/dataflow:v1b3/SendDebugCaptureResponse": send_debug_capture_response +"/dataflow:v1b3/SendWorkerMessagesRequest": send_worker_messages_request +"/dataflow:v1b3/SendWorkerMessagesRequest/location": location +"/dataflow:v1b3/SendWorkerMessagesRequest/workerMessages": worker_messages +"/dataflow:v1b3/SendWorkerMessagesRequest/workerMessages/worker_message": worker_message "/dataflow:v1b3/SendWorkerMessagesResponse": send_worker_messages_response "/dataflow:v1b3/SendWorkerMessagesResponse/workerMessageResponses": worker_message_responses "/dataflow:v1b3/SendWorkerMessagesResponse/workerMessageResponses/worker_message_response": worker_message_response -"/dataflow:v1b3/StreamingComputationConfig": streaming_computation_config -"/dataflow:v1b3/StreamingComputationConfig/computationId": computation_id -"/dataflow:v1b3/StreamingComputationConfig/stageName": stage_name -"/dataflow:v1b3/StreamingComputationConfig/systemName": system_name -"/dataflow:v1b3/StreamingComputationConfig/instructions": instructions -"/dataflow:v1b3/StreamingComputationConfig/instructions/instruction": instruction -"/dataflow:v1b3/TransformSummary": transform_summary -"/dataflow:v1b3/TransformSummary/id": id -"/dataflow:v1b3/TransformSummary/displayData": display_data -"/dataflow:v1b3/TransformSummary/displayData/display_datum": display_datum -"/dataflow:v1b3/TransformSummary/outputCollectionName": output_collection_name -"/dataflow:v1b3/TransformSummary/outputCollectionName/output_collection_name": output_collection_name -"/dataflow:v1b3/TransformSummary/kind": kind -"/dataflow:v1b3/TransformSummary/inputCollectionName": input_collection_name -"/dataflow:v1b3/TransformSummary/inputCollectionName/input_collection_name": input_collection_name -"/dataflow:v1b3/TransformSummary/name": name -"/dataflow:v1b3/LeaseWorkItemResponse": lease_work_item_response -"/dataflow:v1b3/LeaseWorkItemResponse/workItems": work_items -"/dataflow:v1b3/LeaseWorkItemResponse/workItems/work_item": work_item -"/dataflow:v1b3/LaunchTemplateParameters": launch_template_parameters -"/dataflow:v1b3/LaunchTemplateParameters/environment": environment -"/dataflow:v1b3/LaunchTemplateParameters/parameters": parameters -"/dataflow:v1b3/LaunchTemplateParameters/parameters/parameter": parameter -"/dataflow:v1b3/LaunchTemplateParameters/jobName": job_name +"/dataflow:v1b3/SeqMapTask": seq_map_task +"/dataflow:v1b3/SeqMapTask/inputs": inputs +"/dataflow:v1b3/SeqMapTask/inputs/input": input +"/dataflow:v1b3/SeqMapTask/name": name +"/dataflow:v1b3/SeqMapTask/outputInfos": output_infos +"/dataflow:v1b3/SeqMapTask/outputInfos/output_info": output_info +"/dataflow:v1b3/SeqMapTask/stageName": stage_name +"/dataflow:v1b3/SeqMapTask/systemName": system_name +"/dataflow:v1b3/SeqMapTask/userFn": user_fn +"/dataflow:v1b3/SeqMapTask/userFn/user_fn": user_fn +"/dataflow:v1b3/SeqMapTaskOutputInfo": seq_map_task_output_info +"/dataflow:v1b3/SeqMapTaskOutputInfo/sink": sink +"/dataflow:v1b3/SeqMapTaskOutputInfo/tag": tag +"/dataflow:v1b3/ShellTask": shell_task +"/dataflow:v1b3/ShellTask/command": command +"/dataflow:v1b3/ShellTask/exitCode": exit_code +"/dataflow:v1b3/SideInputInfo": side_input_info +"/dataflow:v1b3/SideInputInfo/kind": kind +"/dataflow:v1b3/SideInputInfo/kind/kind": kind +"/dataflow:v1b3/SideInputInfo/sources": sources +"/dataflow:v1b3/SideInputInfo/sources/source": source +"/dataflow:v1b3/SideInputInfo/tag": tag "/dataflow:v1b3/Sink": sink "/dataflow:v1b3/Sink/codec": codec "/dataflow:v1b3/Sink/codec/codec": codec "/dataflow:v1b3/Sink/spec": spec "/dataflow:v1b3/Sink/spec/spec": spec -"/dataflow:v1b3/FlattenInstruction": flatten_instruction -"/dataflow:v1b3/FlattenInstruction/inputs": inputs -"/dataflow:v1b3/FlattenInstruction/inputs/input": input -"/dataflow:v1b3/PartialGroupByKeyInstruction": partial_group_by_key_instruction -"/dataflow:v1b3/PartialGroupByKeyInstruction/originalCombineValuesInputStoreName": original_combine_values_input_store_name -"/dataflow:v1b3/PartialGroupByKeyInstruction/sideInputs": side_inputs -"/dataflow:v1b3/PartialGroupByKeyInstruction/sideInputs/side_input": side_input -"/dataflow:v1b3/PartialGroupByKeyInstruction/originalCombineValuesStepName": original_combine_values_step_name -"/dataflow:v1b3/PartialGroupByKeyInstruction/input": input -"/dataflow:v1b3/PartialGroupByKeyInstruction/inputElementCodec": input_element_codec -"/dataflow:v1b3/PartialGroupByKeyInstruction/inputElementCodec/input_element_codec": input_element_codec -"/dataflow:v1b3/PartialGroupByKeyInstruction/valueCombiningFn": value_combining_fn -"/dataflow:v1b3/PartialGroupByKeyInstruction/valueCombiningFn/value_combining_fn": value_combining_fn -"/dataflow:v1b3/StageSource": stage_source -"/dataflow:v1b3/StageSource/sizeBytes": size_bytes -"/dataflow:v1b3/StageSource/name": name -"/dataflow:v1b3/StageSource/userName": user_name -"/dataflow:v1b3/StageSource/originalTransformOrCollection": original_transform_or_collection -"/dataflow:v1b3/InstructionInput": instruction_input -"/dataflow:v1b3/InstructionInput/producerInstructionIndex": producer_instruction_index -"/dataflow:v1b3/InstructionInput/outputNum": output_num -"/dataflow:v1b3/StringList": string_list -"/dataflow:v1b3/StringList/elements": elements -"/dataflow:v1b3/StringList/elements/element": element -"/dataflow:v1b3/DisplayData": display_data -"/dataflow:v1b3/DisplayData/strValue": str_value -"/dataflow:v1b3/DisplayData/durationValue": duration_value -"/dataflow:v1b3/DisplayData/int64Value": int64_value -"/dataflow:v1b3/DisplayData/namespace": namespace -"/dataflow:v1b3/DisplayData/floatValue": float_value -"/dataflow:v1b3/DisplayData/key": key -"/dataflow:v1b3/DisplayData/shortStrValue": short_str_value -"/dataflow:v1b3/DisplayData/url": url -"/dataflow:v1b3/DisplayData/label": label -"/dataflow:v1b3/DisplayData/timestampValue": timestamp_value -"/dataflow:v1b3/DisplayData/javaClassValue": java_class_value -"/dataflow:v1b3/DisplayData/boolValue": bool_value -"/dataflow:v1b3/GetDebugConfigRequest": get_debug_config_request -"/dataflow:v1b3/GetDebugConfigRequest/componentId": component_id -"/dataflow:v1b3/GetDebugConfigRequest/workerId": worker_id -"/dataflow:v1b3/GetDebugConfigRequest/location": location -"/dataflow:v1b3/LeaseWorkItemRequest": lease_work_item_request -"/dataflow:v1b3/LeaseWorkItemRequest/workerCapabilities": worker_capabilities -"/dataflow:v1b3/LeaseWorkItemRequest/workerCapabilities/worker_capability": worker_capability -"/dataflow:v1b3/LeaseWorkItemRequest/workerId": worker_id -"/dataflow:v1b3/LeaseWorkItemRequest/requestedLeaseDuration": requested_lease_duration -"/dataflow:v1b3/LeaseWorkItemRequest/currentWorkerTime": current_worker_time -"/dataflow:v1b3/LeaseWorkItemRequest/location": location -"/dataflow:v1b3/LeaseWorkItemRequest/workItemTypes": work_item_types -"/dataflow:v1b3/LeaseWorkItemRequest/workItemTypes/work_item_type": work_item_type -"/dataflow:v1b3/GetTemplateResponse": get_template_response -"/dataflow:v1b3/GetTemplateResponse/metadata": metadata -"/dataflow:v1b3/GetTemplateResponse/status": status -"/dataflow:v1b3/Parameter": parameter -"/dataflow:v1b3/Parameter/key": key -"/dataflow:v1b3/Parameter/value": value -"/dataflow:v1b3/ReportWorkItemStatusRequest": report_work_item_status_request -"/dataflow:v1b3/ReportWorkItemStatusRequest/workItemStatuses": work_item_statuses -"/dataflow:v1b3/ReportWorkItemStatusRequest/workItemStatuses/work_item_status": work_item_status -"/dataflow:v1b3/ReportWorkItemStatusRequest/currentWorkerTime": current_worker_time -"/dataflow:v1b3/ReportWorkItemStatusRequest/workerId": worker_id -"/dataflow:v1b3/ReportWorkItemStatusRequest/location": location -"/dataflow:v1b3/PipelineDescription": pipeline_description -"/dataflow:v1b3/PipelineDescription/originalPipelineTransform": original_pipeline_transform -"/dataflow:v1b3/PipelineDescription/originalPipelineTransform/original_pipeline_transform": original_pipeline_transform -"/dataflow:v1b3/PipelineDescription/displayData": display_data -"/dataflow:v1b3/PipelineDescription/displayData/display_datum": display_datum -"/dataflow:v1b3/PipelineDescription/executionPipelineStage": execution_pipeline_stage -"/dataflow:v1b3/PipelineDescription/executionPipelineStage/execution_pipeline_stage": execution_pipeline_stage -"/dataflow:v1b3/StreamingConfigTask": streaming_config_task -"/dataflow:v1b3/StreamingConfigTask/userStepToStateFamilyNameMap": user_step_to_state_family_name_map -"/dataflow:v1b3/StreamingConfigTask/userStepToStateFamilyNameMap/user_step_to_state_family_name_map": user_step_to_state_family_name_map -"/dataflow:v1b3/StreamingConfigTask/windmillServicePort": windmill_service_port -"/dataflow:v1b3/StreamingConfigTask/streamingComputationConfigs": streaming_computation_configs -"/dataflow:v1b3/StreamingConfigTask/streamingComputationConfigs/streaming_computation_config": streaming_computation_config -"/dataflow:v1b3/StreamingConfigTask/windmillServiceEndpoint": windmill_service_endpoint -"/dataflow:v1b3/JobExecutionInfo": job_execution_info -"/dataflow:v1b3/JobExecutionInfo/stages": stages -"/dataflow:v1b3/JobExecutionInfo/stages/stage": stage -"/dataflow:v1b3/Step": step -"/dataflow:v1b3/Step/name": name -"/dataflow:v1b3/Step/kind": kind -"/dataflow:v1b3/Step/properties": properties -"/dataflow:v1b3/Step/properties/property": property -"/dataflow:v1b3/FailedLocation": failed_location -"/dataflow:v1b3/FailedLocation/name": name -"/dataflow:v1b3/Disk": disk -"/dataflow:v1b3/Disk/mountPoint": mount_point -"/dataflow:v1b3/Disk/diskType": disk_type -"/dataflow:v1b3/Disk/sizeGb": size_gb -"/dataflow:v1b3/CounterMetadata": counter_metadata -"/dataflow:v1b3/CounterMetadata/description": description -"/dataflow:v1b3/CounterMetadata/kind": kind -"/dataflow:v1b3/CounterMetadata/standardUnits": standard_units -"/dataflow:v1b3/CounterMetadata/otherUnits": other_units -"/dataflow:v1b3/ListJobMessagesResponse": list_job_messages_response -"/dataflow:v1b3/ListJobMessagesResponse/nextPageToken": next_page_token -"/dataflow:v1b3/ListJobMessagesResponse/autoscalingEvents": autoscaling_events -"/dataflow:v1b3/ListJobMessagesResponse/autoscalingEvents/autoscaling_event": autoscaling_event -"/dataflow:v1b3/ListJobMessagesResponse/jobMessages": job_messages -"/dataflow:v1b3/ListJobMessagesResponse/jobMessages/job_message": job_message -"/dataflow:v1b3/ApproximateReportedProgress": approximate_reported_progress -"/dataflow:v1b3/ApproximateReportedProgress/remainingParallelism": remaining_parallelism -"/dataflow:v1b3/ApproximateReportedProgress/position": position -"/dataflow:v1b3/ApproximateReportedProgress/fractionConsumed": fraction_consumed -"/dataflow:v1b3/ApproximateReportedProgress/consumedParallelism": consumed_parallelism -"/dataflow:v1b3/IntegerList": integer_list -"/dataflow:v1b3/IntegerList/elements": elements -"/dataflow:v1b3/IntegerList/elements/element": element -"/dataflow:v1b3/StateFamilyConfig": state_family_config -"/dataflow:v1b3/StateFamilyConfig/stateFamily": state_family -"/dataflow:v1b3/StateFamilyConfig/isRead": is_read -"/dataflow:v1b3/ResourceUtilizationReportResponse": resource_utilization_report_response -"/dataflow:v1b3/SourceSplitResponse": source_split_response -"/dataflow:v1b3/SourceSplitResponse/bundles": bundles -"/dataflow:v1b3/SourceSplitResponse/bundles/bundle": bundle -"/dataflow:v1b3/SourceSplitResponse/shards": shards -"/dataflow:v1b3/SourceSplitResponse/shards/shard": shard -"/dataflow:v1b3/SourceSplitResponse/outcome": outcome -"/dataflow:v1b3/ParallelInstruction": parallel_instruction -"/dataflow:v1b3/ParallelInstruction/originalName": original_name -"/dataflow:v1b3/ParallelInstruction/flatten": flatten -"/dataflow:v1b3/ParallelInstruction/write": write -"/dataflow:v1b3/ParallelInstruction/systemName": system_name -"/dataflow:v1b3/ParallelInstruction/partialGroupByKey": partial_group_by_key -"/dataflow:v1b3/ParallelInstruction/outputs": outputs -"/dataflow:v1b3/ParallelInstruction/outputs/output": output -"/dataflow:v1b3/ParallelInstruction/name": name -"/dataflow:v1b3/ParallelInstruction/read": read -"/dataflow:v1b3/ParallelInstruction/parDo": par_do -"/dataflow:v1b3/Package": package -"/dataflow:v1b3/Package/location": location -"/dataflow:v1b3/Package/name": name -"/dataflow:v1b3/KeyRangeDataDiskAssignment": key_range_data_disk_assignment -"/dataflow:v1b3/KeyRangeDataDiskAssignment/dataDisk": data_disk -"/dataflow:v1b3/KeyRangeDataDiskAssignment/start": start -"/dataflow:v1b3/KeyRangeDataDiskAssignment/end": end -"/dataflow:v1b3/ParDoInstruction": par_do_instruction -"/dataflow:v1b3/ParDoInstruction/sideInputs": side_inputs -"/dataflow:v1b3/ParDoInstruction/sideInputs/side_input": side_input -"/dataflow:v1b3/ParDoInstruction/multiOutputInfos": multi_output_infos -"/dataflow:v1b3/ParDoInstruction/multiOutputInfos/multi_output_info": multi_output_info -"/dataflow:v1b3/ParDoInstruction/userFn": user_fn -"/dataflow:v1b3/ParDoInstruction/userFn/user_fn": user_fn -"/dataflow:v1b3/ParDoInstruction/input": input -"/dataflow:v1b3/ParDoInstruction/numOutputs": num_outputs -"/dataflow:v1b3/MetricUpdate": metric_update -"/dataflow:v1b3/MetricUpdate/internal": internal -"/dataflow:v1b3/MetricUpdate/cumulative": cumulative -"/dataflow:v1b3/MetricUpdate/kind": kind -"/dataflow:v1b3/MetricUpdate/scalar": scalar -"/dataflow:v1b3/MetricUpdate/meanCount": mean_count -"/dataflow:v1b3/MetricUpdate/meanSum": mean_sum -"/dataflow:v1b3/MetricUpdate/updateTime": update_time -"/dataflow:v1b3/MetricUpdate/name": name -"/dataflow:v1b3/MetricUpdate/distribution": distribution -"/dataflow:v1b3/MetricUpdate/set": set -"/dataflow:v1b3/CounterStructuredName": counter_structured_name -"/dataflow:v1b3/CounterStructuredName/componentStepName": component_step_name -"/dataflow:v1b3/CounterStructuredName/portion": portion -"/dataflow:v1b3/CounterStructuredName/originalStepName": original_step_name -"/dataflow:v1b3/CounterStructuredName/workerId": worker_id -"/dataflow:v1b3/CounterStructuredName/originNamespace": origin_namespace -"/dataflow:v1b3/CounterStructuredName/name": name -"/dataflow:v1b3/CounterStructuredName/executionStepName": execution_step_name -"/dataflow:v1b3/CounterStructuredName/origin": origin -"/dataflow:v1b3/ApproximateProgress": approximate_progress -"/dataflow:v1b3/ApproximateProgress/percentComplete": percent_complete -"/dataflow:v1b3/ApproximateProgress/remainingTime": remaining_time -"/dataflow:v1b3/ApproximateProgress/position": position -"/dataflow:v1b3/WorkerMessageResponse": worker_message_response -"/dataflow:v1b3/WorkerMessageResponse/workerMetricsResponse": worker_metrics_response -"/dataflow:v1b3/WorkerMessageResponse/workerHealthReportResponse": worker_health_report_response -"/dataflow:v1b3/TemplateMetadata": template_metadata -"/dataflow:v1b3/TemplateMetadata/parameters": parameters -"/dataflow:v1b3/TemplateMetadata/parameters/parameter": parameter -"/dataflow:v1b3/TemplateMetadata/name": name -"/dataflow:v1b3/TemplateMetadata/description": description -"/dataflow:v1b3/WorkerMessage": worker_message -"/dataflow:v1b3/WorkerMessage/workerHealthReport": worker_health_report -"/dataflow:v1b3/WorkerMessage/workerMetrics": worker_metrics -"/dataflow:v1b3/WorkerMessage/workerMessageCode": worker_message_code -"/dataflow:v1b3/WorkerMessage/labels": labels -"/dataflow:v1b3/WorkerMessage/labels/label": label -"/dataflow:v1b3/WorkerMessage/time": time -"/dataflow:v1b3/JobMetrics": job_metrics -"/dataflow:v1b3/JobMetrics/metrics": metrics -"/dataflow:v1b3/JobMetrics/metrics/metric": metric -"/dataflow:v1b3/JobMetrics/metricTime": metric_time -"/dataflow:v1b3/FloatingPointList": floating_point_list -"/dataflow:v1b3/FloatingPointList/elements": elements -"/dataflow:v1b3/FloatingPointList/elements/element": element -"/dataflow:v1b3/CounterUpdate": counter_update -"/dataflow:v1b3/CounterUpdate/floatingPointList": floating_point_list -"/dataflow:v1b3/CounterUpdate/integer": integer -"/dataflow:v1b3/CounterUpdate/structuredNameAndMetadata": structured_name_and_metadata -"/dataflow:v1b3/CounterUpdate/integerList": integer_list -"/dataflow:v1b3/CounterUpdate/integerMean": integer_mean -"/dataflow:v1b3/CounterUpdate/floatingPoint": floating_point -"/dataflow:v1b3/CounterUpdate/internal": internal -"/dataflow:v1b3/CounterUpdate/cumulative": cumulative -"/dataflow:v1b3/CounterUpdate/floatingPointMean": floating_point_mean -"/dataflow:v1b3/CounterUpdate/boolean": boolean -"/dataflow:v1b3/CounterUpdate/nameAndKind": name_and_kind -"/dataflow:v1b3/CounterUpdate/stringList": string_list -"/dataflow:v1b3/CounterUpdate/distribution": distribution -"/dataflow:v1b3/CounterUpdate/shortId": short_id +"/dataflow:v1b3/Source": source +"/dataflow:v1b3/Source/baseSpecs": base_specs +"/dataflow:v1b3/Source/baseSpecs/base_spec": base_spec +"/dataflow:v1b3/Source/baseSpecs/base_spec/base_spec": base_spec +"/dataflow:v1b3/Source/codec": codec +"/dataflow:v1b3/Source/codec/codec": codec +"/dataflow:v1b3/Source/doesNotNeedSplitting": does_not_need_splitting +"/dataflow:v1b3/Source/metadata": metadata +"/dataflow:v1b3/Source/spec": spec +"/dataflow:v1b3/Source/spec/spec": spec +"/dataflow:v1b3/SourceFork": source_fork +"/dataflow:v1b3/SourceFork/primary": primary +"/dataflow:v1b3/SourceFork/primarySource": primary_source +"/dataflow:v1b3/SourceFork/residual": residual +"/dataflow:v1b3/SourceFork/residualSource": residual_source +"/dataflow:v1b3/SourceGetMetadataRequest": source_get_metadata_request +"/dataflow:v1b3/SourceGetMetadataRequest/source": source +"/dataflow:v1b3/SourceGetMetadataResponse": source_get_metadata_response +"/dataflow:v1b3/SourceGetMetadataResponse/metadata": metadata "/dataflow:v1b3/SourceMetadata": source_metadata "/dataflow:v1b3/SourceMetadata/estimatedSizeBytes": estimated_size_bytes "/dataflow:v1b3/SourceMetadata/infinite": infinite "/dataflow:v1b3/SourceMetadata/producesSortedKeys": produces_sorted_keys -"/dataflow:v1b3/DistributionUpdate": distribution_update -"/dataflow:v1b3/DistributionUpdate/max": max -"/dataflow:v1b3/DistributionUpdate/logBuckets": log_buckets -"/dataflow:v1b3/DistributionUpdate/logBuckets/log_bucket": log_bucket -"/dataflow:v1b3/DistributionUpdate/count": count -"/dataflow:v1b3/DistributionUpdate/min": min -"/dataflow:v1b3/DistributionUpdate/sumOfSquares": sum_of_squares -"/dataflow:v1b3/DistributionUpdate/sum": sum -"/dataflow:v1b3/SourceFork": source_fork -"/dataflow:v1b3/SourceFork/primarySource": primary_source -"/dataflow:v1b3/SourceFork/residual": residual -"/dataflow:v1b3/SourceFork/residualSource": residual_source -"/dataflow:v1b3/SourceFork/primary": primary -"/dataflow:v1b3/WorkerHealthReportResponse": worker_health_report_response -"/dataflow:v1b3/WorkerHealthReportResponse/reportInterval": report_interval -"/dataflow:v1b3/WorkItemStatus": work_item_status -"/dataflow:v1b3/WorkItemStatus/counterUpdates": counter_updates -"/dataflow:v1b3/WorkItemStatus/counterUpdates/counter_update": counter_update -"/dataflow:v1b3/WorkItemStatus/workItemId": work_item_id -"/dataflow:v1b3/WorkItemStatus/metricUpdates": metric_updates -"/dataflow:v1b3/WorkItemStatus/metricUpdates/metric_update": metric_update -"/dataflow:v1b3/WorkItemStatus/errors": errors -"/dataflow:v1b3/WorkItemStatus/errors/error": error -"/dataflow:v1b3/WorkItemStatus/dynamicSourceSplit": dynamic_source_split -"/dataflow:v1b3/WorkItemStatus/sourceOperationResponse": source_operation_response -"/dataflow:v1b3/WorkItemStatus/progress": progress -"/dataflow:v1b3/WorkItemStatus/requestedLeaseDuration": requested_lease_duration -"/dataflow:v1b3/WorkItemStatus/reportIndex": report_index -"/dataflow:v1b3/WorkItemStatus/stopPosition": stop_position -"/dataflow:v1b3/WorkItemStatus/completed": completed -"/dataflow:v1b3/WorkItemStatus/reportedProgress": reported_progress -"/dataflow:v1b3/WorkItemStatus/sourceFork": source_fork -"/dataflow:v1b3/ComponentSource": component_source -"/dataflow:v1b3/ComponentSource/name": name -"/dataflow:v1b3/ComponentSource/userName": user_name -"/dataflow:v1b3/ComponentSource/originalTransformOrCollection": original_transform_or_collection +"/dataflow:v1b3/SourceOperationRequest": source_operation_request +"/dataflow:v1b3/SourceOperationRequest/getMetadata": get_metadata +"/dataflow:v1b3/SourceOperationRequest/split": split +"/dataflow:v1b3/SourceOperationResponse": source_operation_response +"/dataflow:v1b3/SourceOperationResponse/getMetadata": get_metadata +"/dataflow:v1b3/SourceOperationResponse/split": split +"/dataflow:v1b3/SourceSplitOptions": source_split_options +"/dataflow:v1b3/SourceSplitOptions/desiredBundleSizeBytes": desired_bundle_size_bytes +"/dataflow:v1b3/SourceSplitOptions/desiredShardSizeBytes": desired_shard_size_bytes +"/dataflow:v1b3/SourceSplitRequest": source_split_request +"/dataflow:v1b3/SourceSplitRequest/options": options +"/dataflow:v1b3/SourceSplitRequest/source": source +"/dataflow:v1b3/SourceSplitResponse": source_split_response +"/dataflow:v1b3/SourceSplitResponse/bundles": bundles +"/dataflow:v1b3/SourceSplitResponse/bundles/bundle": bundle +"/dataflow:v1b3/SourceSplitResponse/outcome": outcome +"/dataflow:v1b3/SourceSplitResponse/shards": shards +"/dataflow:v1b3/SourceSplitResponse/shards/shard": shard +"/dataflow:v1b3/SourceSplitShard": source_split_shard +"/dataflow:v1b3/SourceSplitShard/derivationMode": derivation_mode +"/dataflow:v1b3/SourceSplitShard/source": source +"/dataflow:v1b3/SplitInt64": split_int64 +"/dataflow:v1b3/SplitInt64/highBits": high_bits +"/dataflow:v1b3/SplitInt64/lowBits": low_bits +"/dataflow:v1b3/StageSource": stage_source +"/dataflow:v1b3/StageSource/name": name +"/dataflow:v1b3/StageSource/originalTransformOrCollection": original_transform_or_collection +"/dataflow:v1b3/StageSource/sizeBytes": size_bytes +"/dataflow:v1b3/StageSource/userName": user_name +"/dataflow:v1b3/StateFamilyConfig": state_family_config +"/dataflow:v1b3/StateFamilyConfig/isRead": is_read +"/dataflow:v1b3/StateFamilyConfig/stateFamily": state_family +"/dataflow:v1b3/Status": status +"/dataflow:v1b3/Status/code": code +"/dataflow:v1b3/Status/details": details +"/dataflow:v1b3/Status/details/detail": detail +"/dataflow:v1b3/Status/details/detail/detail": detail +"/dataflow:v1b3/Status/message": message +"/dataflow:v1b3/Step": step +"/dataflow:v1b3/Step/kind": kind +"/dataflow:v1b3/Step/name": name +"/dataflow:v1b3/Step/properties": properties +"/dataflow:v1b3/Step/properties/property": property +"/dataflow:v1b3/StreamLocation": stream_location +"/dataflow:v1b3/StreamLocation/customSourceLocation": custom_source_location +"/dataflow:v1b3/StreamLocation/pubsubLocation": pubsub_location +"/dataflow:v1b3/StreamLocation/sideInputLocation": side_input_location +"/dataflow:v1b3/StreamLocation/streamingStageLocation": streaming_stage_location +"/dataflow:v1b3/StreamingComputationConfig": streaming_computation_config +"/dataflow:v1b3/StreamingComputationConfig/computationId": computation_id +"/dataflow:v1b3/StreamingComputationConfig/instructions": instructions +"/dataflow:v1b3/StreamingComputationConfig/instructions/instruction": instruction +"/dataflow:v1b3/StreamingComputationConfig/stageName": stage_name +"/dataflow:v1b3/StreamingComputationConfig/systemName": system_name +"/dataflow:v1b3/StreamingComputationRanges": streaming_computation_ranges +"/dataflow:v1b3/StreamingComputationRanges/computationId": computation_id +"/dataflow:v1b3/StreamingComputationRanges/rangeAssignments": range_assignments +"/dataflow:v1b3/StreamingComputationRanges/rangeAssignments/range_assignment": range_assignment +"/dataflow:v1b3/StreamingComputationTask": streaming_computation_task +"/dataflow:v1b3/StreamingComputationTask/computationRanges": computation_ranges +"/dataflow:v1b3/StreamingComputationTask/computationRanges/computation_range": computation_range +"/dataflow:v1b3/StreamingComputationTask/dataDisks": data_disks +"/dataflow:v1b3/StreamingComputationTask/dataDisks/data_disk": data_disk +"/dataflow:v1b3/StreamingComputationTask/taskType": task_type +"/dataflow:v1b3/StreamingConfigTask": streaming_config_task +"/dataflow:v1b3/StreamingConfigTask/streamingComputationConfigs": streaming_computation_configs +"/dataflow:v1b3/StreamingConfigTask/streamingComputationConfigs/streaming_computation_config": streaming_computation_config +"/dataflow:v1b3/StreamingConfigTask/userStepToStateFamilyNameMap": user_step_to_state_family_name_map +"/dataflow:v1b3/StreamingConfigTask/userStepToStateFamilyNameMap/user_step_to_state_family_name_map": user_step_to_state_family_name_map +"/dataflow:v1b3/StreamingConfigTask/windmillServiceEndpoint": windmill_service_endpoint +"/dataflow:v1b3/StreamingConfigTask/windmillServicePort": windmill_service_port +"/dataflow:v1b3/StreamingSetupTask": streaming_setup_task +"/dataflow:v1b3/StreamingSetupTask/drain": drain +"/dataflow:v1b3/StreamingSetupTask/receiveWorkPort": receive_work_port +"/dataflow:v1b3/StreamingSetupTask/streamingComputationTopology": streaming_computation_topology +"/dataflow:v1b3/StreamingSetupTask/workerHarnessPort": worker_harness_port +"/dataflow:v1b3/StreamingSideInputLocation": streaming_side_input_location +"/dataflow:v1b3/StreamingSideInputLocation/stateFamily": state_family +"/dataflow:v1b3/StreamingSideInputLocation/tag": tag +"/dataflow:v1b3/StreamingStageLocation": streaming_stage_location +"/dataflow:v1b3/StreamingStageLocation/streamId": stream_id +"/dataflow:v1b3/StringList": string_list +"/dataflow:v1b3/StringList/elements": elements +"/dataflow:v1b3/StringList/elements/element": element +"/dataflow:v1b3/StructuredMessage": structured_message +"/dataflow:v1b3/StructuredMessage/messageKey": message_key +"/dataflow:v1b3/StructuredMessage/messageText": message_text +"/dataflow:v1b3/StructuredMessage/parameters": parameters +"/dataflow:v1b3/StructuredMessage/parameters/parameter": parameter +"/dataflow:v1b3/TaskRunnerSettings": task_runner_settings +"/dataflow:v1b3/TaskRunnerSettings/alsologtostderr": alsologtostderr +"/dataflow:v1b3/TaskRunnerSettings/baseTaskDir": base_task_dir +"/dataflow:v1b3/TaskRunnerSettings/baseUrl": base_url +"/dataflow:v1b3/TaskRunnerSettings/commandlinesFileName": commandlines_file_name +"/dataflow:v1b3/TaskRunnerSettings/continueOnException": continue_on_exception +"/dataflow:v1b3/TaskRunnerSettings/dataflowApiVersion": dataflow_api_version +"/dataflow:v1b3/TaskRunnerSettings/harnessCommand": harness_command +"/dataflow:v1b3/TaskRunnerSettings/languageHint": language_hint +"/dataflow:v1b3/TaskRunnerSettings/logDir": log_dir +"/dataflow:v1b3/TaskRunnerSettings/logToSerialconsole": log_to_serialconsole +"/dataflow:v1b3/TaskRunnerSettings/logUploadLocation": log_upload_location +"/dataflow:v1b3/TaskRunnerSettings/oauthScopes": oauth_scopes +"/dataflow:v1b3/TaskRunnerSettings/oauthScopes/oauth_scope": oauth_scope +"/dataflow:v1b3/TaskRunnerSettings/parallelWorkerSettings": parallel_worker_settings +"/dataflow:v1b3/TaskRunnerSettings/streamingWorkerMainClass": streaming_worker_main_class +"/dataflow:v1b3/TaskRunnerSettings/taskGroup": task_group +"/dataflow:v1b3/TaskRunnerSettings/taskUser": task_user +"/dataflow:v1b3/TaskRunnerSettings/tempStoragePrefix": temp_storage_prefix +"/dataflow:v1b3/TaskRunnerSettings/vmId": vm_id +"/dataflow:v1b3/TaskRunnerSettings/workflowFileName": workflow_file_name +"/dataflow:v1b3/TemplateMetadata": template_metadata +"/dataflow:v1b3/TemplateMetadata/description": description +"/dataflow:v1b3/TemplateMetadata/name": name +"/dataflow:v1b3/TemplateMetadata/parameters": parameters +"/dataflow:v1b3/TemplateMetadata/parameters/parameter": parameter +"/dataflow:v1b3/TopologyConfig": topology_config +"/dataflow:v1b3/TopologyConfig/computations": computations +"/dataflow:v1b3/TopologyConfig/computations/computation": computation +"/dataflow:v1b3/TopologyConfig/dataDiskAssignments": data_disk_assignments +"/dataflow:v1b3/TopologyConfig/dataDiskAssignments/data_disk_assignment": data_disk_assignment +"/dataflow:v1b3/TopologyConfig/forwardingKeyBits": forwarding_key_bits +"/dataflow:v1b3/TopologyConfig/persistentStateVersion": persistent_state_version +"/dataflow:v1b3/TopologyConfig/userStageToComputationNameMap": user_stage_to_computation_name_map +"/dataflow:v1b3/TopologyConfig/userStageToComputationNameMap/user_stage_to_computation_name_map": user_stage_to_computation_name_map +"/dataflow:v1b3/TransformSummary": transform_summary +"/dataflow:v1b3/TransformSummary/displayData": display_data +"/dataflow:v1b3/TransformSummary/displayData/display_datum": display_datum +"/dataflow:v1b3/TransformSummary/id": id +"/dataflow:v1b3/TransformSummary/inputCollectionName": input_collection_name +"/dataflow:v1b3/TransformSummary/inputCollectionName/input_collection_name": input_collection_name +"/dataflow:v1b3/TransformSummary/kind": kind +"/dataflow:v1b3/TransformSummary/name": name +"/dataflow:v1b3/TransformSummary/outputCollectionName": output_collection_name +"/dataflow:v1b3/TransformSummary/outputCollectionName/output_collection_name": output_collection_name +"/dataflow:v1b3/WorkItem": work_item +"/dataflow:v1b3/WorkItem/configuration": configuration +"/dataflow:v1b3/WorkItem/id": id +"/dataflow:v1b3/WorkItem/initialReportIndex": initial_report_index +"/dataflow:v1b3/WorkItem/jobId": job_id +"/dataflow:v1b3/WorkItem/leaseExpireTime": lease_expire_time +"/dataflow:v1b3/WorkItem/mapTask": map_task +"/dataflow:v1b3/WorkItem/packages": packages +"/dataflow:v1b3/WorkItem/packages/package": package +"/dataflow:v1b3/WorkItem/projectId": project_id +"/dataflow:v1b3/WorkItem/reportStatusInterval": report_status_interval +"/dataflow:v1b3/WorkItem/seqMapTask": seq_map_task +"/dataflow:v1b3/WorkItem/shellTask": shell_task +"/dataflow:v1b3/WorkItem/sourceOperationTask": source_operation_task +"/dataflow:v1b3/WorkItem/streamingComputationTask": streaming_computation_task +"/dataflow:v1b3/WorkItem/streamingConfigTask": streaming_config_task +"/dataflow:v1b3/WorkItem/streamingSetupTask": streaming_setup_task "/dataflow:v1b3/WorkItemServiceState": work_item_service_state -"/dataflow:v1b3/WorkItemServiceState/suggestedStopPoint": suggested_stop_point -"/dataflow:v1b3/WorkItemServiceState/splitRequest": split_request -"/dataflow:v1b3/WorkItemServiceState/suggestedStopPosition": suggested_stop_position -"/dataflow:v1b3/WorkItemServiceState/reportStatusInterval": report_status_interval "/dataflow:v1b3/WorkItemServiceState/harnessData": harness_data "/dataflow:v1b3/WorkItemServiceState/harnessData/harness_datum": harness_datum "/dataflow:v1b3/WorkItemServiceState/leaseExpireTime": lease_expire_time "/dataflow:v1b3/WorkItemServiceState/metricShortId": metric_short_id "/dataflow:v1b3/WorkItemServiceState/metricShortId/metric_short_id": metric_short_id "/dataflow:v1b3/WorkItemServiceState/nextReportIndex": next_report_index -"/dataflow:v1b3/MetricStructuredName": metric_structured_name -"/dataflow:v1b3/MetricStructuredName/context": context -"/dataflow:v1b3/MetricStructuredName/context/context": context -"/dataflow:v1b3/MetricStructuredName/name": name -"/dataflow:v1b3/MetricStructuredName/origin": origin -"/dataflow:v1b3/SeqMapTaskOutputInfo": seq_map_task_output_info -"/dataflow:v1b3/SeqMapTaskOutputInfo/tag": tag -"/dataflow:v1b3/SeqMapTaskOutputInfo/sink": sink -"/dataflow:v1b3/JobExecutionStageInfo": job_execution_stage_info -"/dataflow:v1b3/JobExecutionStageInfo/stepName": step_name -"/dataflow:v1b3/JobExecutionStageInfo/stepName/step_name": step_name -"/dataflow:v1b3/KeyRangeLocation": key_range_location -"/dataflow:v1b3/KeyRangeLocation/deliveryEndpoint": delivery_endpoint -"/dataflow:v1b3/KeyRangeLocation/dataDisk": data_disk -"/dataflow:v1b3/KeyRangeLocation/start": start -"/dataflow:v1b3/KeyRangeLocation/end": end -"/dataflow:v1b3/KeyRangeLocation/deprecatedPersistentDirectory": deprecated_persistent_directory -"/dataflow:v1b3/SourceGetMetadataRequest": source_get_metadata_request -"/dataflow:v1b3/SourceGetMetadataRequest/source": source -"/dataflow:v1b3/SeqMapTask": seq_map_task -"/dataflow:v1b3/SeqMapTask/name": name -"/dataflow:v1b3/SeqMapTask/outputInfos": output_infos -"/dataflow:v1b3/SeqMapTask/outputInfos/output_info": output_info -"/dataflow:v1b3/SeqMapTask/inputs": inputs -"/dataflow:v1b3/SeqMapTask/inputs/input": input -"/dataflow:v1b3/SeqMapTask/stageName": stage_name -"/dataflow:v1b3/SeqMapTask/systemName": system_name -"/dataflow:v1b3/SeqMapTask/userFn": user_fn -"/dataflow:v1b3/SeqMapTask/userFn/user_fn": user_fn -"/dataflow:v1b3/NameAndKind": name_and_kind -"/dataflow:v1b3/NameAndKind/name": name -"/dataflow:v1b3/NameAndKind/kind": kind -"/dataflow:v1b3/WorkerMessageCode": worker_message_code -"/dataflow:v1b3/WorkerMessageCode/parameters": parameters -"/dataflow:v1b3/WorkerMessageCode/parameters/parameter": parameter -"/dataflow:v1b3/WorkerMessageCode/code": code -"/dataflow:v1b3/CustomSourceLocation": custom_source_location -"/dataflow:v1b3/CustomSourceLocation/stateful": stateful -"/dataflow:v1b3/MapTask": map_task -"/dataflow:v1b3/MapTask/stageName": stage_name -"/dataflow:v1b3/MapTask/systemName": system_name -"/dataflow:v1b3/MapTask/instructions": instructions -"/dataflow:v1b3/MapTask/instructions/instruction": instruction -"/dataflow:v1b3/FloatingPointMean": floating_point_mean -"/dataflow:v1b3/FloatingPointMean/count": count -"/dataflow:v1b3/FloatingPointMean/sum": sum -"/dataflow:v1b3/ReportWorkItemStatusResponse": report_work_item_status_response -"/dataflow:v1b3/ReportWorkItemStatusResponse/workItemServiceStates": work_item_service_states -"/dataflow:v1b3/ReportWorkItemStatusResponse/workItemServiceStates/work_item_service_state": work_item_service_state -"/dataflow:v1b3/InstructionOutput": instruction_output -"/dataflow:v1b3/InstructionOutput/codec": codec -"/dataflow:v1b3/InstructionOutput/codec/codec": codec -"/dataflow:v1b3/InstructionOutput/name": name -"/dataflow:v1b3/InstructionOutput/originalName": original_name -"/dataflow:v1b3/InstructionOutput/systemName": system_name -"/dataflow:v1b3/InstructionOutput/onlyCountKeyBytes": only_count_key_bytes -"/dataflow:v1b3/InstructionOutput/onlyCountValueBytes": only_count_value_bytes -"/dataflow:v1b3/CreateJobFromTemplateRequest": create_job_from_template_request -"/dataflow:v1b3/CreateJobFromTemplateRequest/jobName": job_name -"/dataflow:v1b3/CreateJobFromTemplateRequest/gcsPath": gcs_path -"/dataflow:v1b3/CreateJobFromTemplateRequest/environment": environment -"/dataflow:v1b3/CreateJobFromTemplateRequest/location": location -"/dataflow:v1b3/CreateJobFromTemplateRequest/parameters": parameters -"/dataflow:v1b3/CreateJobFromTemplateRequest/parameters/parameter": parameter -"/dataflow:v1b3/IntegerMean": integer_mean -"/dataflow:v1b3/IntegerMean/count": count -"/dataflow:v1b3/IntegerMean/sum": sum -"/dataflow:v1b3/ListJobsResponse": list_jobs_response -"/dataflow:v1b3/ListJobsResponse/failedLocation": failed_location -"/dataflow:v1b3/ListJobsResponse/failedLocation/failed_location": failed_location -"/dataflow:v1b3/ListJobsResponse/nextPageToken": next_page_token -"/dataflow:v1b3/ListJobsResponse/jobs": jobs -"/dataflow:v1b3/ListJobsResponse/jobs/job": job -"/dataflow:v1b3/ComputationTopology": computation_topology -"/dataflow:v1b3/ComputationTopology/systemStageName": system_stage_name -"/dataflow:v1b3/ComputationTopology/computationId": computation_id -"/dataflow:v1b3/ComputationTopology/inputs": inputs -"/dataflow:v1b3/ComputationTopology/inputs/input": input -"/dataflow:v1b3/ComputationTopology/keyRanges": key_ranges -"/dataflow:v1b3/ComputationTopology/keyRanges/key_range": key_range -"/dataflow:v1b3/ComputationTopology/stateFamilies": state_families -"/dataflow:v1b3/ComputationTopology/stateFamilies/state_family": state_family -"/dataflow:v1b3/ComputationTopology/outputs": outputs -"/dataflow:v1b3/ComputationTopology/outputs/output": output -"/dataflow:v1b3/RuntimeEnvironment": runtime_environment -"/dataflow:v1b3/RuntimeEnvironment/machineType": machine_type -"/dataflow:v1b3/RuntimeEnvironment/zone": zone -"/dataflow:v1b3/RuntimeEnvironment/maxWorkers": max_workers -"/dataflow:v1b3/RuntimeEnvironment/serviceAccountEmail": service_account_email -"/dataflow:v1b3/RuntimeEnvironment/tempLocation": temp_location -"/dataflow:v1b3/RuntimeEnvironment/bypassTempDirValidation": bypass_temp_dir_validation -"/dataflow:v1b3/MountedDataDisk": mounted_data_disk -"/dataflow:v1b3/MountedDataDisk/dataDisk": data_disk -"/dataflow:v1b3/StreamingSideInputLocation": streaming_side_input_location -"/dataflow:v1b3/StreamingSideInputLocation/tag": tag -"/dataflow:v1b3/StreamingSideInputLocation/stateFamily": state_family -"/dataflow:v1b3/LaunchTemplateResponse": launch_template_response -"/dataflow:v1b3/LaunchTemplateResponse/job": job -"/dataflow:v1b3/Job": job -"/dataflow:v1b3/Job/stageStates": stage_states -"/dataflow:v1b3/Job/stageStates/stage_state": stage_state -"/dataflow:v1b3/Job/projectId": project_id -"/dataflow:v1b3/Job/type": type -"/dataflow:v1b3/Job/pipelineDescription": pipeline_description -"/dataflow:v1b3/Job/replaceJobId": replace_job_id -"/dataflow:v1b3/Job/requestedState": requested_state -"/dataflow:v1b3/Job/tempFiles": temp_files -"/dataflow:v1b3/Job/tempFiles/temp_file": temp_file -"/dataflow:v1b3/Job/clientRequestId": client_request_id -"/dataflow:v1b3/Job/name": name -"/dataflow:v1b3/Job/steps": steps -"/dataflow:v1b3/Job/steps/step": step -"/dataflow:v1b3/Job/replacedByJobId": replaced_by_job_id -"/dataflow:v1b3/Job/executionInfo": execution_info -"/dataflow:v1b3/Job/id": id -"/dataflow:v1b3/Job/currentState": current_state -"/dataflow:v1b3/Job/location": location -"/dataflow:v1b3/Job/currentStateTime": current_state_time -"/dataflow:v1b3/Job/transformNameMapping": transform_name_mapping -"/dataflow:v1b3/Job/transformNameMapping/transform_name_mapping": transform_name_mapping -"/dataflow:v1b3/Job/labels": labels -"/dataflow:v1b3/Job/labels/label": label -"/dataflow:v1b3/Job/environment": environment -"/dataflow:v1b3/Job/createTime": create_time -"/dataflow:v1b3/DynamicSourceSplit": dynamic_source_split -"/dataflow:v1b3/DynamicSourceSplit/residual": residual -"/dataflow:v1b3/DynamicSourceSplit/primary": primary -"/dataflow:v1b3/DerivedSource": derived_source -"/dataflow:v1b3/DerivedSource/source": source -"/dataflow:v1b3/DerivedSource/derivationMode": derivation_mode -"/dataflow:v1b3/SourceOperationResponse": source_operation_response -"/dataflow:v1b3/SourceOperationResponse/split": split -"/dataflow:v1b3/SourceOperationResponse/getMetadata": get_metadata -"/dataflow:v1b3/SideInputInfo": side_input_info -"/dataflow:v1b3/SideInputInfo/tag": tag -"/dataflow:v1b3/SideInputInfo/kind": kind -"/dataflow:v1b3/SideInputInfo/kind/kind": kind -"/dataflow:v1b3/SideInputInfo/sources": sources -"/dataflow:v1b3/SideInputInfo/sources/source": source -"/dataflow:v1b3/SendDebugCaptureResponse": send_debug_capture_response -"/dataflow:v1b3/ConcatPosition": concat_position -"/dataflow:v1b3/ConcatPosition/position": position -"/dataflow:v1b3/ConcatPosition/index": index -"/dataflow:v1b3/CounterStructuredNameAndMetadata": counter_structured_name_and_metadata -"/dataflow:v1b3/CounterStructuredNameAndMetadata/name": name -"/dataflow:v1b3/CounterStructuredNameAndMetadata/metadata": metadata -"/dataflow:v1b3/WriteInstruction": write_instruction -"/dataflow:v1b3/WriteInstruction/sink": sink -"/dataflow:v1b3/WriteInstruction/input": input -"/dataflow:v1b3/StreamingComputationRanges": streaming_computation_ranges -"/dataflow:v1b3/StreamingComputationRanges/rangeAssignments": range_assignments -"/dataflow:v1b3/StreamingComputationRanges/rangeAssignments/range_assignment": range_assignment -"/dataflow:v1b3/StreamingComputationRanges/computationId": computation_id -"/dataflow:v1b3/AutoscalingSettings": autoscaling_settings -"/dataflow:v1b3/AutoscalingSettings/algorithm": algorithm -"/dataflow:v1b3/AutoscalingSettings/maxNumWorkers": max_num_workers -"/dataflow:v1b3/ExecutionStageSummary": execution_stage_summary -"/dataflow:v1b3/ExecutionStageSummary/componentSource": component_source -"/dataflow:v1b3/ExecutionStageSummary/componentSource/component_source": component_source -"/dataflow:v1b3/ExecutionStageSummary/kind": kind -"/dataflow:v1b3/ExecutionStageSummary/outputSource": output_source -"/dataflow:v1b3/ExecutionStageSummary/outputSource/output_source": output_source -"/dataflow:v1b3/ExecutionStageSummary/name": name -"/dataflow:v1b3/ExecutionStageSummary/inputSource": input_source -"/dataflow:v1b3/ExecutionStageSummary/inputSource/input_source": input_source -"/dataflow:v1b3/ExecutionStageSummary/id": id -"/dataflow:v1b3/ExecutionStageSummary/componentTransform": component_transform -"/dataflow:v1b3/ExecutionStageSummary/componentTransform/component_transform": component_transform -"/dataflow:v1b3/SendWorkerMessagesRequest": send_worker_messages_request -"/dataflow:v1b3/SendWorkerMessagesRequest/workerMessages": worker_messages -"/dataflow:v1b3/SendWorkerMessagesRequest/workerMessages/worker_message": worker_message -"/dataflow:v1b3/SendWorkerMessagesRequest/location": location -"/dataflow:v1b3/LogBucket": log_bucket -"/dataflow:v1b3/LogBucket/log": log -"/dataflow:v1b3/LogBucket/count": count -"/dataflow:v1b3/SourceSplitShard": source_split_shard -"/dataflow:v1b3/SourceSplitShard/derivationMode": derivation_mode -"/dataflow:v1b3/SourceSplitShard/source": source -"/dataflow:v1b3/CPUTime": cpu_time -"/dataflow:v1b3/CPUTime/totalMs": total_ms -"/dataflow:v1b3/CPUTime/rate": rate -"/dataflow:v1b3/CPUTime/timestamp": timestamp -"/dataflow:v1b3/Environment": environment -"/dataflow:v1b3/Environment/clusterManagerApiService": cluster_manager_api_service -"/dataflow:v1b3/Environment/tempStoragePrefix": temp_storage_prefix -"/dataflow:v1b3/Environment/workerPools": worker_pools -"/dataflow:v1b3/Environment/workerPools/worker_pool": worker_pool -"/dataflow:v1b3/Environment/dataset": dataset -"/dataflow:v1b3/Environment/experiments": experiments -"/dataflow:v1b3/Environment/experiments/experiment": experiment -"/dataflow:v1b3/Environment/version": version -"/dataflow:v1b3/Environment/version/version": version -"/dataflow:v1b3/Environment/internalExperiments": internal_experiments -"/dataflow:v1b3/Environment/internalExperiments/internal_experiment": internal_experiment -"/dataflow:v1b3/Environment/serviceAccountEmail": service_account_email -"/dataflow:v1b3/Environment/userAgent": user_agent -"/dataflow:v1b3/Environment/userAgent/user_agent": user_agent -"/dataflow:v1b3/Environment/sdkPipelineOptions": sdk_pipeline_options -"/dataflow:v1b3/Environment/sdkPipelineOptions/sdk_pipeline_option": sdk_pipeline_option -"/dataflow:v1b3/StreamingComputationTask": streaming_computation_task -"/dataflow:v1b3/StreamingComputationTask/dataDisks": data_disks -"/dataflow:v1b3/StreamingComputationTask/dataDisks/data_disk": data_disk -"/dataflow:v1b3/StreamingComputationTask/taskType": task_type -"/dataflow:v1b3/StreamingComputationTask/computationRanges": computation_ranges -"/dataflow:v1b3/StreamingComputationTask/computationRanges/computation_range": computation_range -"/dataflow:v1b3/SendDebugCaptureRequest": send_debug_capture_request -"/dataflow:v1b3/SendDebugCaptureRequest/location": location -"/dataflow:v1b3/SendDebugCaptureRequest/data": data -"/dataflow:v1b3/SendDebugCaptureRequest/componentId": component_id -"/dataflow:v1b3/SendDebugCaptureRequest/workerId": worker_id -"/dataflow:v1b3/GetDebugConfigResponse": get_debug_config_response -"/dataflow:v1b3/GetDebugConfigResponse/config": config -"/dataflow:v1b3/ComponentTransform": component_transform -"/dataflow:v1b3/ComponentTransform/originalTransform": original_transform -"/dataflow:v1b3/ComponentTransform/name": name -"/dataflow:v1b3/ComponentTransform/userName": user_name -"/dataflow:v1b3/StreamingSetupTask": streaming_setup_task -"/dataflow:v1b3/StreamingSetupTask/streamingComputationTopology": streaming_computation_topology -"/dataflow:v1b3/StreamingSetupTask/drain": drain -"/dataflow:v1b3/StreamingSetupTask/workerHarnessPort": worker_harness_port -"/dataflow:v1b3/StreamingSetupTask/receiveWorkPort": receive_work_port -"/dataflow:v1b3/PubsubLocation": pubsub_location -"/dataflow:v1b3/PubsubLocation/topic": topic -"/dataflow:v1b3/PubsubLocation/timestampLabel": timestamp_label -"/dataflow:v1b3/PubsubLocation/subscription": subscription -"/dataflow:v1b3/PubsubLocation/dropLateData": drop_late_data -"/dataflow:v1b3/PubsubLocation/trackingSubscription": tracking_subscription -"/dataflow:v1b3/PubsubLocation/withAttributes": with_attributes -"/dataflow:v1b3/PubsubLocation/idLabel": id_label +"/dataflow:v1b3/WorkItemServiceState/reportStatusInterval": report_status_interval +"/dataflow:v1b3/WorkItemServiceState/splitRequest": split_request +"/dataflow:v1b3/WorkItemServiceState/suggestedStopPoint": suggested_stop_point +"/dataflow:v1b3/WorkItemServiceState/suggestedStopPosition": suggested_stop_position +"/dataflow:v1b3/WorkItemStatus": work_item_status +"/dataflow:v1b3/WorkItemStatus/completed": completed +"/dataflow:v1b3/WorkItemStatus/counterUpdates": counter_updates +"/dataflow:v1b3/WorkItemStatus/counterUpdates/counter_update": counter_update +"/dataflow:v1b3/WorkItemStatus/dynamicSourceSplit": dynamic_source_split +"/dataflow:v1b3/WorkItemStatus/errors": errors +"/dataflow:v1b3/WorkItemStatus/errors/error": error +"/dataflow:v1b3/WorkItemStatus/metricUpdates": metric_updates +"/dataflow:v1b3/WorkItemStatus/metricUpdates/metric_update": metric_update +"/dataflow:v1b3/WorkItemStatus/progress": progress +"/dataflow:v1b3/WorkItemStatus/reportIndex": report_index +"/dataflow:v1b3/WorkItemStatus/reportedProgress": reported_progress +"/dataflow:v1b3/WorkItemStatus/requestedLeaseDuration": requested_lease_duration +"/dataflow:v1b3/WorkItemStatus/sourceFork": source_fork +"/dataflow:v1b3/WorkItemStatus/sourceOperationResponse": source_operation_response +"/dataflow:v1b3/WorkItemStatus/stopPosition": stop_position +"/dataflow:v1b3/WorkItemStatus/workItemId": work_item_id "/dataflow:v1b3/WorkerHealthReport": worker_health_report "/dataflow:v1b3/WorkerHealthReport/pods": pods "/dataflow:v1b3/WorkerHealthReport/pods/pod": pod "/dataflow:v1b3/WorkerHealthReport/pods/pod/pod": pod -"/dataflow:v1b3/WorkerHealthReport/vmStartupTime": vm_startup_time "/dataflow:v1b3/WorkerHealthReport/reportInterval": report_interval "/dataflow:v1b3/WorkerHealthReport/vmIsHealthy": vm_is_healthy -"/dataflow:v1b3/JobMessage": job_message -"/dataflow:v1b3/JobMessage/id": id -"/dataflow:v1b3/JobMessage/messageImportance": message_importance -"/dataflow:v1b3/JobMessage/messageText": message_text -"/dataflow:v1b3/JobMessage/time": time -"/dataflow:v1b3/ParameterMetadata": parameter_metadata -"/dataflow:v1b3/ParameterMetadata/regexes": regexes -"/dataflow:v1b3/ParameterMetadata/regexes/regex": regex -"/dataflow:v1b3/ParameterMetadata/label": label -"/dataflow:v1b3/ParameterMetadata/helpText": help_text -"/dataflow:v1b3/ParameterMetadata/isOptional": is_optional -"/dataflow:v1b3/ParameterMetadata/name": name -"/dataproc:v1/fields": fields -"/dataproc:v1/key": key -"/dataproc:v1/quotaUser": quota_user -"/dataproc:v1/dataproc.projects.regions.clusters.create/region": region -"/dataproc:v1/dataproc.projects.regions.clusters.create/projectId": project_id -"/dataproc:v1/dataproc.projects.regions.clusters.get/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.patch/updateMask": update_mask -"/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/projectId": project_id -"/dataproc:v1/dataproc.projects.regions.clusters.diagnose": diagnose_cluster -"/dataproc:v1/dataproc.projects.regions.clusters.diagnose/clusterName": cluster_name -"/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.delete/region": region -"/dataproc:v1/dataproc.projects.regions.clusters.delete/clusterName": cluster_name -"/dataproc:v1/dataproc.projects.regions.clusters.delete/projectId": project_id -"/dataproc:v1/dataproc.projects.regions.clusters.list/pageToken": page_token -"/dataproc:v1/dataproc.projects.regions.clusters.list/pageSize": page_size -"/dataproc:v1/dataproc.projects.regions.clusters.list/projectId": project_id -"/dataproc:v1/dataproc.projects.regions.clusters.list/filter": filter -"/dataproc:v1/dataproc.projects.regions.clusters.list/region": region -"/dataproc:v1/dataproc.projects.regions.operations.get/name": name -"/dataproc:v1/dataproc.projects.regions.operations.list/filter": filter -"/dataproc:v1/dataproc.projects.regions.operations.list/pageToken": page_token -"/dataproc:v1/dataproc.projects.regions.operations.list/name": name -"/dataproc:v1/dataproc.projects.regions.operations.list/pageSize": page_size -"/dataproc:v1/dataproc.projects.regions.operations.cancel/name": name -"/dataproc:v1/dataproc.projects.regions.operations.delete/name": 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.delete/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.list/filter": filter -"/dataproc:v1/dataproc.projects.regions.jobs.list/jobStateMatcher": job_state_matcher -"/dataproc:v1/dataproc.projects.regions.jobs.list/pageToken": page_token -"/dataproc:v1/dataproc.projects.regions.jobs.list/pageSize": page_size -"/dataproc:v1/dataproc.projects.regions.jobs.list/region": region -"/dataproc:v1/dataproc.projects.regions.jobs.list/clusterName": cluster_name -"/dataproc:v1/dataproc.projects.regions.jobs.list/projectId": project_id -"/dataproc:v1/dataproc.projects.regions.jobs.cancel": cancel_job -"/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.cancel/projectId": project_id -"/dataproc:v1/dataproc.projects.regions.jobs.get/jobId": job_id -"/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.patch": patch_project_region_job -"/dataproc:v1/dataproc.projects.regions.jobs.patch/updateMask": update_mask -"/dataproc:v1/dataproc.projects.regions.jobs.patch/region": region -"/dataproc:v1/dataproc.projects.regions.jobs.patch/jobId": job_id -"/dataproc:v1/dataproc.projects.regions.jobs.patch/projectId": project_id -"/dataproc:v1/Operation": operation -"/dataproc:v1/Operation/name": name -"/dataproc:v1/Operation/error": error -"/dataproc:v1/Operation/metadata": metadata -"/dataproc:v1/Operation/metadata/metadatum": metadatum -"/dataproc:v1/Operation/done": done -"/dataproc:v1/Operation/response": response -"/dataproc:v1/Operation/response/response": response -"/dataproc:v1/JobReference": job_reference -"/dataproc:v1/JobReference/jobId": job_id -"/dataproc:v1/JobReference/projectId": project_id -"/dataproc:v1/SubmitJobRequest": submit_job_request -"/dataproc:v1/SubmitJobRequest/job": job -"/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/InstanceGroupConfig": instance_group_config -"/dataproc:v1/InstanceGroupConfig/diskConfig": disk_config -"/dataproc:v1/InstanceGroupConfig/machineTypeUri": machine_type_uri -"/dataproc:v1/InstanceGroupConfig/imageUri": image_uri -"/dataproc:v1/InstanceGroupConfig/managedGroupConfig": managed_group_config -"/dataproc:v1/InstanceGroupConfig/isPreemptible": is_preemptible -"/dataproc:v1/InstanceGroupConfig/instanceNames": instance_names -"/dataproc:v1/InstanceGroupConfig/instanceNames/instance_name": instance_name -"/dataproc:v1/InstanceGroupConfig/accelerators": accelerators -"/dataproc:v1/InstanceGroupConfig/accelerators/accelerator": accelerator -"/dataproc:v1/InstanceGroupConfig/numInstances": num_instances -"/dataproc:v1/JobScheduling": job_scheduling -"/dataproc:v1/JobScheduling/maxFailuresPerHour": max_failures_per_hour -"/dataproc:v1/NodeInitializationAction": node_initialization_action -"/dataproc:v1/NodeInitializationAction/executableFile": executable_file -"/dataproc:v1/NodeInitializationAction/executionTimeout": execution_timeout -"/dataproc:v1/ListJobsResponse": list_jobs_response -"/dataproc:v1/ListJobsResponse/jobs": jobs -"/dataproc:v1/ListJobsResponse/jobs/job": job -"/dataproc:v1/ListJobsResponse/nextPageToken": next_page_token +"/dataflow:v1b3/WorkerHealthReport/vmStartupTime": vm_startup_time +"/dataflow:v1b3/WorkerHealthReportResponse": worker_health_report_response +"/dataflow:v1b3/WorkerHealthReportResponse/reportInterval": report_interval +"/dataflow:v1b3/WorkerMessage": worker_message +"/dataflow:v1b3/WorkerMessage/labels": labels +"/dataflow:v1b3/WorkerMessage/labels/label": label +"/dataflow:v1b3/WorkerMessage/time": time +"/dataflow:v1b3/WorkerMessage/workerHealthReport": worker_health_report +"/dataflow:v1b3/WorkerMessage/workerMessageCode": worker_message_code +"/dataflow:v1b3/WorkerMessage/workerMetrics": worker_metrics +"/dataflow:v1b3/WorkerMessageCode": worker_message_code +"/dataflow:v1b3/WorkerMessageCode/code": code +"/dataflow:v1b3/WorkerMessageCode/parameters": parameters +"/dataflow:v1b3/WorkerMessageCode/parameters/parameter": parameter +"/dataflow:v1b3/WorkerMessageResponse": worker_message_response +"/dataflow:v1b3/WorkerMessageResponse/workerHealthReportResponse": worker_health_report_response +"/dataflow:v1b3/WorkerMessageResponse/workerMetricsResponse": worker_metrics_response +"/dataflow:v1b3/WorkerPool": worker_pool +"/dataflow:v1b3/WorkerPool/autoscalingSettings": autoscaling_settings +"/dataflow:v1b3/WorkerPool/dataDisks": data_disks +"/dataflow:v1b3/WorkerPool/dataDisks/data_disk": data_disk +"/dataflow:v1b3/WorkerPool/defaultPackageSet": default_package_set +"/dataflow:v1b3/WorkerPool/diskSizeGb": disk_size_gb +"/dataflow:v1b3/WorkerPool/diskSourceImage": disk_source_image +"/dataflow:v1b3/WorkerPool/diskType": disk_type +"/dataflow:v1b3/WorkerPool/ipConfiguration": ip_configuration +"/dataflow:v1b3/WorkerPool/kind": kind +"/dataflow:v1b3/WorkerPool/machineType": machine_type +"/dataflow:v1b3/WorkerPool/metadata": metadata +"/dataflow:v1b3/WorkerPool/metadata/metadatum": metadatum +"/dataflow:v1b3/WorkerPool/network": network +"/dataflow:v1b3/WorkerPool/numThreadsPerWorker": num_threads_per_worker +"/dataflow:v1b3/WorkerPool/numWorkers": num_workers +"/dataflow:v1b3/WorkerPool/onHostMaintenance": on_host_maintenance +"/dataflow:v1b3/WorkerPool/packages": packages +"/dataflow:v1b3/WorkerPool/packages/package": package +"/dataflow:v1b3/WorkerPool/poolArgs": pool_args +"/dataflow:v1b3/WorkerPool/poolArgs/pool_arg": pool_arg +"/dataflow:v1b3/WorkerPool/subnetwork": subnetwork +"/dataflow:v1b3/WorkerPool/taskrunnerSettings": taskrunner_settings +"/dataflow:v1b3/WorkerPool/teardownPolicy": teardown_policy +"/dataflow:v1b3/WorkerPool/workerHarnessContainerImage": worker_harness_container_image +"/dataflow:v1b3/WorkerPool/zone": zone +"/dataflow:v1b3/WorkerSettings": worker_settings +"/dataflow:v1b3/WorkerSettings/baseUrl": base_url +"/dataflow:v1b3/WorkerSettings/reportingEnabled": reporting_enabled +"/dataflow:v1b3/WorkerSettings/servicePath": service_path +"/dataflow:v1b3/WorkerSettings/shuffleServicePath": shuffle_service_path +"/dataflow:v1b3/WorkerSettings/tempStoragePrefix": temp_storage_prefix +"/dataflow:v1b3/WorkerSettings/workerId": worker_id +"/dataflow:v1b3/WriteInstruction": write_instruction +"/dataflow:v1b3/WriteInstruction/input": input +"/dataflow:v1b3/WriteInstruction/sink": sink +"/dataflow:v1b3/dataflow.projects.jobs.aggregated": aggregated_project_job +"/dataflow:v1b3/dataflow.projects.jobs.aggregated/filter": filter +"/dataflow:v1b3/dataflow.projects.jobs.aggregated/location": location +"/dataflow:v1b3/dataflow.projects.jobs.aggregated/pageSize": page_size +"/dataflow:v1b3/dataflow.projects.jobs.aggregated/pageToken": page_token +"/dataflow:v1b3/dataflow.projects.jobs.aggregated/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.aggregated/view": view +"/dataflow:v1b3/dataflow.projects.jobs.create": create_project_job +"/dataflow:v1b3/dataflow.projects.jobs.create/location": location +"/dataflow:v1b3/dataflow.projects.jobs.create/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.create/replaceJobId": replace_job_id +"/dataflow:v1b3/dataflow.projects.jobs.create/view": view +"/dataflow:v1b3/dataflow.projects.jobs.debug.getConfig": get_project_job_debug_config +"/dataflow:v1b3/dataflow.projects.jobs.debug.getConfig/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.debug.getConfig/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.debug.sendCapture": send_project_job_debug_capture +"/dataflow:v1b3/dataflow.projects.jobs.debug.sendCapture/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.debug.sendCapture/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.get": get_project_job +"/dataflow:v1b3/dataflow.projects.jobs.get/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.get/location": location +"/dataflow:v1b3/dataflow.projects.jobs.get/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.get/view": view +"/dataflow:v1b3/dataflow.projects.jobs.getMetrics": get_project_job_metrics +"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/location": location +"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/startTime": start_time +"/dataflow:v1b3/dataflow.projects.jobs.list": list_project_jobs +"/dataflow:v1b3/dataflow.projects.jobs.list/filter": filter +"/dataflow:v1b3/dataflow.projects.jobs.list/location": location +"/dataflow:v1b3/dataflow.projects.jobs.list/pageSize": page_size +"/dataflow:v1b3/dataflow.projects.jobs.list/pageToken": page_token +"/dataflow:v1b3/dataflow.projects.jobs.list/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.list/view": view +"/dataflow:v1b3/dataflow.projects.jobs.messages.list": list_project_job_messages +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/endTime": end_time +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/location": location +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/minimumImportance": minimum_importance +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/pageSize": page_size +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/pageToken": page_token +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/startTime": start_time +"/dataflow:v1b3/dataflow.projects.jobs.update": update_project_job +"/dataflow:v1b3/dataflow.projects.jobs.update/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.update/location": location +"/dataflow:v1b3/dataflow.projects.jobs.update/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.workItems.lease": lease_project_work_item +"/dataflow:v1b3/dataflow.projects.jobs.workItems.lease/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.workItems.lease/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.workItems.reportStatus": report_project_job_work_item_status +"/dataflow:v1b3/dataflow.projects.jobs.workItems.reportStatus/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.workItems.reportStatus/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.create": create_project_location_job +"/dataflow:v1b3/dataflow.projects.locations.jobs.create/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.create/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.create/replaceJobId": replace_job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.create/view": view +"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.getConfig": get_project_location_job_debug_config +"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.getConfig/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.getConfig/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.getConfig/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.sendCapture": send_project_location_job_debug_capture +"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.sendCapture/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.sendCapture/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.debug.sendCapture/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.get": get_project_location_job +"/dataflow:v1b3/dataflow.projects.locations.jobs.get/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.get/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.get/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.get/view": view +"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics": get_project_location_job_metrics +"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics/startTime": start_time +"/dataflow:v1b3/dataflow.projects.locations.jobs.list": list_project_location_jobs +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/filter": filter +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/pageSize": page_size +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/pageToken": page_token +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/view": view +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list": list_project_location_job_messages +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/endTime": end_time +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/minimumImportance": minimum_importance +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/pageSize": page_size +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/pageToken": page_token +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/startTime": start_time +"/dataflow:v1b3/dataflow.projects.locations.jobs.update": update_project_location_job +"/dataflow:v1b3/dataflow.projects.locations.jobs.update/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.update/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.update/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease": lease_project_location_work_item +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus": report_project_location_job_work_item_status +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.templates.create": create_job_from_template_with_location +"/dataflow:v1b3/dataflow.projects.locations.templates.create/location": location +"/dataflow:v1b3/dataflow.projects.locations.templates.create/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.templates.get": get_project_location_template +"/dataflow:v1b3/dataflow.projects.locations.templates.get/gcsPath": gcs_path +"/dataflow:v1b3/dataflow.projects.locations.templates.get/location": location +"/dataflow:v1b3/dataflow.projects.locations.templates.get/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.templates.get/view": view +"/dataflow:v1b3/dataflow.projects.locations.templates.launch": launch_project_location_template +"/dataflow:v1b3/dataflow.projects.locations.templates.launch/gcsPath": gcs_path +"/dataflow:v1b3/dataflow.projects.locations.templates.launch/location": location +"/dataflow:v1b3/dataflow.projects.locations.templates.launch/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.templates.launch/validateOnly": validate_only +"/dataflow:v1b3/dataflow.projects.locations.workerMessages": worker_project_location_messages +"/dataflow:v1b3/dataflow.projects.locations.workerMessages/location": location +"/dataflow:v1b3/dataflow.projects.locations.workerMessages/projectId": project_id +"/dataflow:v1b3/dataflow.projects.templates.create": create_job_from_template +"/dataflow:v1b3/dataflow.projects.templates.create/projectId": project_id +"/dataflow:v1b3/dataflow.projects.templates.get": get_project_template +"/dataflow:v1b3/dataflow.projects.templates.get/gcsPath": gcs_path +"/dataflow:v1b3/dataflow.projects.templates.get/location": location +"/dataflow:v1b3/dataflow.projects.templates.get/projectId": project_id +"/dataflow:v1b3/dataflow.projects.templates.get/view": view +"/dataflow:v1b3/dataflow.projects.templates.launch": launch_project_template +"/dataflow:v1b3/dataflow.projects.templates.launch/gcsPath": gcs_path +"/dataflow:v1b3/dataflow.projects.templates.launch/location": location +"/dataflow:v1b3/dataflow.projects.templates.launch/projectId": project_id +"/dataflow:v1b3/dataflow.projects.templates.launch/validateOnly": validate_only +"/dataflow:v1b3/dataflow.projects.workerMessages": worker_project_messages +"/dataflow:v1b3/dataflow.projects.workerMessages/projectId": project_id +"/dataflow:v1b3/fields": fields +"/dataflow:v1b3/key": key +"/dataflow:v1b3/quotaUser": quota_user +"/dataproc:v1/AcceleratorConfig": accelerator_config +"/dataproc:v1/AcceleratorConfig/acceleratorCount": accelerator_count +"/dataproc:v1/AcceleratorConfig/acceleratorTypeUri": accelerator_type_uri "/dataproc:v1/CancelJobRequest": cancel_job_request -"/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/jarFileUris": jar_file_uris -"/dataproc:v1/SparkSqlJob/jarFileUris/jar_file_uri": jar_file_uri -"/dataproc:v1/SparkSqlJob/loggingConfig": logging_config -"/dataproc:v1/SparkSqlJob/properties": properties -"/dataproc:v1/SparkSqlJob/properties/property": property "/dataproc:v1/Cluster": cluster +"/dataproc:v1/Cluster/clusterName": cluster_name +"/dataproc:v1/Cluster/clusterUuid": cluster_uuid +"/dataproc:v1/Cluster/config": config "/dataproc:v1/Cluster/labels": labels "/dataproc:v1/Cluster/labels/label": label "/dataproc:v1/Cluster/metrics": metrics +"/dataproc:v1/Cluster/projectId": project_id "/dataproc:v1/Cluster/status": status "/dataproc:v1/Cluster/statusHistory": status_history "/dataproc:v1/Cluster/statusHistory/status_history": status_history -"/dataproc:v1/Cluster/config": config -"/dataproc:v1/Cluster/clusterUuid": cluster_uuid -"/dataproc:v1/Cluster/clusterName": cluster_name -"/dataproc:v1/Cluster/projectId": project_id -"/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/JobPlacement": job_placement -"/dataproc:v1/JobPlacement/clusterUuid": cluster_uuid -"/dataproc:v1/JobPlacement/clusterName": cluster_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/ClusterStatus": cluster_status -"/dataproc:v1/ClusterStatus/substate": substate -"/dataproc:v1/ClusterStatus/stateStartTime": state_start_time -"/dataproc:v1/ClusterStatus/detail": detail -"/dataproc:v1/ClusterStatus/state": state -"/dataproc:v1/PigJob": pig_job -"/dataproc:v1/PigJob/continueOnFailure": continue_on_failure -"/dataproc:v1/PigJob/queryList": query_list -"/dataproc:v1/PigJob/queryFileUri": query_file_uri -"/dataproc:v1/PigJob/jarFileUris": jar_file_uris -"/dataproc:v1/PigJob/jarFileUris/jar_file_uri": jar_file_uri -"/dataproc:v1/PigJob/scriptVariables": script_variables -"/dataproc:v1/PigJob/scriptVariables/script_variable": script_variable -"/dataproc:v1/PigJob/loggingConfig": logging_config -"/dataproc:v1/PigJob/properties": properties -"/dataproc:v1/PigJob/properties/property": property -"/dataproc:v1/ListClustersResponse": list_clusters_response -"/dataproc:v1/ListClustersResponse/nextPageToken": next_page_token -"/dataproc:v1/ListClustersResponse/clusters": clusters -"/dataproc:v1/ListClustersResponse/clusters/cluster": cluster -"/dataproc:v1/Job": job -"/dataproc:v1/Job/hiveJob": hive_job -"/dataproc:v1/Job/labels": labels -"/dataproc:v1/Job/labels/label": label -"/dataproc:v1/Job/driverOutputResourceUri": driver_output_resource_uri -"/dataproc:v1/Job/sparkSqlJob": spark_sql_job -"/dataproc:v1/Job/statusHistory": status_history -"/dataproc:v1/Job/statusHistory/status_history": status_history -"/dataproc:v1/Job/sparkJob": spark_job -"/dataproc:v1/Job/yarnApplications": yarn_applications -"/dataproc:v1/Job/yarnApplications/yarn_application": yarn_application -"/dataproc:v1/Job/pysparkJob": pyspark_job -"/dataproc:v1/Job/reference": reference -"/dataproc:v1/Job/hadoopJob": hadoop_job -"/dataproc:v1/Job/placement": placement -"/dataproc:v1/Job/status": status -"/dataproc:v1/Job/driverControlFilesUri": driver_control_files_uri -"/dataproc:v1/Job/scheduling": scheduling -"/dataproc:v1/Job/pigJob": pig_job -"/dataproc:v1/SparkJob": spark_job -"/dataproc:v1/SparkJob/mainClass": main_class -"/dataproc:v1/SparkJob/archiveUris": archive_uris -"/dataproc:v1/SparkJob/archiveUris/archive_uri": archive_uri -"/dataproc:v1/SparkJob/mainJarFileUri": main_jar_file_uri -"/dataproc:v1/SparkJob/jarFileUris": jar_file_uris -"/dataproc:v1/SparkJob/jarFileUris/jar_file_uri": jar_file_uri -"/dataproc:v1/SparkJob/loggingConfig": logging_config -"/dataproc:v1/SparkJob/properties": properties -"/dataproc:v1/SparkJob/properties/property": property -"/dataproc:v1/SparkJob/args": args -"/dataproc:v1/SparkJob/args/arg": arg -"/dataproc:v1/SparkJob/fileUris": file_uris -"/dataproc:v1/SparkJob/fileUris/file_uri": file_uri -"/dataproc:v1/JobStatus": job_status -"/dataproc:v1/JobStatus/details": details -"/dataproc:v1/JobStatus/state": state -"/dataproc:v1/JobStatus/substate": substate -"/dataproc:v1/JobStatus/stateStartTime": state_start_time -"/dataproc:v1/ManagedGroupConfig": managed_group_config -"/dataproc:v1/ManagedGroupConfig/instanceGroupManagerName": instance_group_manager_name -"/dataproc:v1/ManagedGroupConfig/instanceTemplateName": instance_template_name -"/dataproc:v1/ClusterOperationStatus": cluster_operation_status -"/dataproc:v1/ClusterOperationStatus/details": details -"/dataproc:v1/ClusterOperationStatus/state": state -"/dataproc:v1/ClusterOperationStatus/innerState": inner_state -"/dataproc:v1/ClusterOperationStatus/stateStartTime": state_start_time -"/dataproc:v1/HadoopJob": hadoop_job -"/dataproc:v1/HadoopJob/jarFileUris": jar_file_uris -"/dataproc:v1/HadoopJob/jarFileUris/jar_file_uri": jar_file_uri -"/dataproc:v1/HadoopJob/loggingConfig": logging_config -"/dataproc:v1/HadoopJob/properties": properties -"/dataproc:v1/HadoopJob/properties/property": property -"/dataproc:v1/HadoopJob/args": args -"/dataproc:v1/HadoopJob/args/arg": arg -"/dataproc:v1/HadoopJob/fileUris": file_uris -"/dataproc:v1/HadoopJob/fileUris/file_uri": file_uri -"/dataproc:v1/HadoopJob/mainClass": main_class -"/dataproc:v1/HadoopJob/archiveUris": archive_uris -"/dataproc:v1/HadoopJob/archiveUris/archive_uri": archive_uri -"/dataproc:v1/HadoopJob/mainJarFileUri": main_jar_file_uri -"/dataproc:v1/QueryList": query_list -"/dataproc:v1/QueryList/queries": queries -"/dataproc:v1/QueryList/queries/query": query -"/dataproc:v1/YarnApplication": yarn_application -"/dataproc:v1/YarnApplication/state": state -"/dataproc:v1/YarnApplication/name": name -"/dataproc:v1/YarnApplication/trackingUrl": tracking_url -"/dataproc:v1/YarnApplication/progress": progress -"/dataproc:v1/DiagnoseClusterRequest": diagnose_cluster_request -"/dataproc:v1/DiskConfig": disk_config -"/dataproc:v1/DiskConfig/numLocalSsds": num_local_ssds -"/dataproc:v1/DiskConfig/bootDiskSizeGb": boot_disk_size_gb -"/dataproc:v1/ClusterOperationMetadata": cluster_operation_metadata -"/dataproc:v1/ClusterOperationMetadata/status": status -"/dataproc:v1/ClusterOperationMetadata/statusHistory": status_history -"/dataproc:v1/ClusterOperationMetadata/statusHistory/status_history": status_history -"/dataproc:v1/ClusterOperationMetadata/clusterName": cluster_name -"/dataproc:v1/ClusterOperationMetadata/clusterUuid": cluster_uuid -"/dataproc:v1/ClusterOperationMetadata/operationType": operation_type -"/dataproc:v1/ClusterOperationMetadata/description": description -"/dataproc:v1/ClusterOperationMetadata/warnings": warnings -"/dataproc:v1/ClusterOperationMetadata/warnings/warning": warning -"/dataproc:v1/ClusterOperationMetadata/labels": labels -"/dataproc:v1/ClusterOperationMetadata/labels/label": label -"/dataproc:v1/HiveJob": hive_job -"/dataproc:v1/HiveJob/jarFileUris": jar_file_uris -"/dataproc:v1/HiveJob/jarFileUris/jar_file_uri": jar_file_uri -"/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/continueOnFailure": continue_on_failure -"/dataproc:v1/HiveJob/queryList": query_list -"/dataproc:v1/HiveJob/queryFileUri": query_file_uri -"/dataproc:v1/Empty": empty -"/dataproc:v1/DiagnoseClusterResults": diagnose_cluster_results -"/dataproc:v1/DiagnoseClusterResults/outputUri": output_uri "/dataproc:v1/ClusterConfig": cluster_config -"/dataproc:v1/ClusterConfig/masterConfig": master_config -"/dataproc:v1/ClusterConfig/secondaryWorkerConfig": secondary_worker_config +"/dataproc:v1/ClusterConfig/configBucket": config_bucket +"/dataproc:v1/ClusterConfig/gceClusterConfig": gce_cluster_config "/dataproc:v1/ClusterConfig/initializationActions": initialization_actions "/dataproc:v1/ClusterConfig/initializationActions/initialization_action": initialization_action -"/dataproc:v1/ClusterConfig/configBucket": config_bucket -"/dataproc:v1/ClusterConfig/workerConfig": worker_config -"/dataproc:v1/ClusterConfig/gceClusterConfig": gce_cluster_config +"/dataproc:v1/ClusterConfig/masterConfig": master_config +"/dataproc:v1/ClusterConfig/secondaryWorkerConfig": secondary_worker_config "/dataproc:v1/ClusterConfig/softwareConfig": software_config -"/dataproc:v1/PySparkJob": py_spark_job -"/dataproc:v1/PySparkJob/jarFileUris": jar_file_uris -"/dataproc:v1/PySparkJob/jarFileUris/jar_file_uri": jar_file_uri -"/dataproc:v1/PySparkJob/loggingConfig": logging_config -"/dataproc:v1/PySparkJob/properties": properties -"/dataproc:v1/PySparkJob/properties/property": property -"/dataproc:v1/PySparkJob/args": args -"/dataproc:v1/PySparkJob/args/arg": arg -"/dataproc:v1/PySparkJob/fileUris": file_uris -"/dataproc:v1/PySparkJob/fileUris/file_uri": file_uri -"/dataproc:v1/PySparkJob/pythonFileUris": python_file_uris -"/dataproc:v1/PySparkJob/pythonFileUris/python_file_uri": python_file_uri -"/dataproc:v1/PySparkJob/mainPythonFileUri": main_python_file_uri -"/dataproc:v1/PySparkJob/archiveUris": archive_uris -"/dataproc:v1/PySparkJob/archiveUris/archive_uri": archive_uri -"/dataproc:v1/GceClusterConfig": gce_cluster_config -"/dataproc:v1/GceClusterConfig/metadata": metadata -"/dataproc:v1/GceClusterConfig/metadata/metadatum": metadatum -"/dataproc:v1/GceClusterConfig/internalIpOnly": internal_ip_only -"/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/serviceAccount": service_account -"/dataproc:v1/GceClusterConfig/subnetworkUri": subnetwork_uri -"/dataproc:v1/GceClusterConfig/networkUri": network_uri -"/dataproc:v1/GceClusterConfig/zoneUri": zone_uri +"/dataproc:v1/ClusterConfig/workerConfig": worker_config "/dataproc:v1/ClusterMetrics": cluster_metrics "/dataproc:v1/ClusterMetrics/hdfsMetrics": hdfs_metrics "/dataproc:v1/ClusterMetrics/hdfsMetrics/hdfs_metric": hdfs_metric "/dataproc:v1/ClusterMetrics/yarnMetrics": yarn_metrics "/dataproc:v1/ClusterMetrics/yarnMetrics/yarn_metric": yarn_metric -"/dataproc:v1/AcceleratorConfig": accelerator_config -"/dataproc:v1/AcceleratorConfig/acceleratorCount": accelerator_count -"/dataproc:v1/AcceleratorConfig/acceleratorTypeUri": accelerator_type_uri +"/dataproc:v1/ClusterOperationMetadata": cluster_operation_metadata +"/dataproc:v1/ClusterOperationMetadata/clusterName": cluster_name +"/dataproc:v1/ClusterOperationMetadata/clusterUuid": cluster_uuid +"/dataproc:v1/ClusterOperationMetadata/description": description +"/dataproc:v1/ClusterOperationMetadata/labels": labels +"/dataproc:v1/ClusterOperationMetadata/labels/label": label +"/dataproc:v1/ClusterOperationMetadata/operationType": operation_type +"/dataproc:v1/ClusterOperationMetadata/status": status +"/dataproc:v1/ClusterOperationMetadata/statusHistory": status_history +"/dataproc:v1/ClusterOperationMetadata/statusHistory/status_history": status_history +"/dataproc:v1/ClusterOperationMetadata/warnings": warnings +"/dataproc:v1/ClusterOperationMetadata/warnings/warning": warning +"/dataproc:v1/ClusterOperationStatus": cluster_operation_status +"/dataproc:v1/ClusterOperationStatus/details": details +"/dataproc:v1/ClusterOperationStatus/innerState": inner_state +"/dataproc:v1/ClusterOperationStatus/state": state +"/dataproc:v1/ClusterOperationStatus/stateStartTime": state_start_time +"/dataproc:v1/ClusterStatus": cluster_status +"/dataproc:v1/ClusterStatus/detail": detail +"/dataproc:v1/ClusterStatus/state": state +"/dataproc:v1/ClusterStatus/stateStartTime": state_start_time +"/dataproc:v1/ClusterStatus/substate": substate +"/dataproc:v1/DiagnoseClusterRequest": diagnose_cluster_request +"/dataproc:v1/DiagnoseClusterResults": diagnose_cluster_results +"/dataproc:v1/DiagnoseClusterResults/outputUri": output_uri +"/dataproc:v1/DiskConfig": disk_config +"/dataproc:v1/DiskConfig/bootDiskSizeGb": boot_disk_size_gb +"/dataproc:v1/DiskConfig/numLocalSsds": num_local_ssds +"/dataproc:v1/Empty": empty +"/dataproc:v1/GceClusterConfig": gce_cluster_config +"/dataproc:v1/GceClusterConfig/internalIpOnly": internal_ip_only +"/dataproc:v1/GceClusterConfig/metadata": metadata +"/dataproc:v1/GceClusterConfig/metadata/metadatum": metadatum +"/dataproc:v1/GceClusterConfig/networkUri": network_uri +"/dataproc:v1/GceClusterConfig/serviceAccount": service_account +"/dataproc:v1/GceClusterConfig/serviceAccountScopes": service_account_scopes +"/dataproc:v1/GceClusterConfig/serviceAccountScopes/service_account_scope": service_account_scope +"/dataproc:v1/GceClusterConfig/subnetworkUri": subnetwork_uri +"/dataproc:v1/GceClusterConfig/tags": tags +"/dataproc:v1/GceClusterConfig/tags/tag": tag +"/dataproc:v1/GceClusterConfig/zoneUri": zone_uri +"/dataproc:v1/HadoopJob": hadoop_job +"/dataproc:v1/HadoopJob/archiveUris": archive_uris +"/dataproc:v1/HadoopJob/archiveUris/archive_uri": archive_uri +"/dataproc:v1/HadoopJob/args": args +"/dataproc:v1/HadoopJob/args/arg": arg +"/dataproc:v1/HadoopJob/fileUris": file_uris +"/dataproc:v1/HadoopJob/fileUris/file_uri": file_uri +"/dataproc:v1/HadoopJob/jarFileUris": jar_file_uris +"/dataproc:v1/HadoopJob/jarFileUris/jar_file_uri": jar_file_uri +"/dataproc:v1/HadoopJob/loggingConfig": logging_config +"/dataproc:v1/HadoopJob/mainClass": main_class +"/dataproc:v1/HadoopJob/mainJarFileUri": main_jar_file_uri +"/dataproc:v1/HadoopJob/properties": properties +"/dataproc:v1/HadoopJob/properties/property": property +"/dataproc:v1/HiveJob": hive_job +"/dataproc:v1/HiveJob/continueOnFailure": continue_on_failure +"/dataproc:v1/HiveJob/jarFileUris": jar_file_uris +"/dataproc:v1/HiveJob/jarFileUris/jar_file_uri": jar_file_uri +"/dataproc:v1/HiveJob/properties": properties +"/dataproc:v1/HiveJob/properties/property": property +"/dataproc:v1/HiveJob/queryFileUri": query_file_uri +"/dataproc:v1/HiveJob/queryList": query_list +"/dataproc:v1/HiveJob/scriptVariables": script_variables +"/dataproc:v1/HiveJob/scriptVariables/script_variable": script_variable +"/dataproc:v1/InstanceGroupConfig": instance_group_config +"/dataproc:v1/InstanceGroupConfig/accelerators": accelerators +"/dataproc:v1/InstanceGroupConfig/accelerators/accelerator": accelerator +"/dataproc:v1/InstanceGroupConfig/diskConfig": disk_config +"/dataproc:v1/InstanceGroupConfig/imageUri": image_uri +"/dataproc:v1/InstanceGroupConfig/instanceNames": instance_names +"/dataproc:v1/InstanceGroupConfig/instanceNames/instance_name": instance_name +"/dataproc:v1/InstanceGroupConfig/isPreemptible": is_preemptible +"/dataproc:v1/InstanceGroupConfig/machineTypeUri": machine_type_uri +"/dataproc:v1/InstanceGroupConfig/managedGroupConfig": managed_group_config +"/dataproc:v1/InstanceGroupConfig/numInstances": num_instances +"/dataproc:v1/Job": job +"/dataproc:v1/Job/driverControlFilesUri": driver_control_files_uri +"/dataproc:v1/Job/driverOutputResourceUri": driver_output_resource_uri +"/dataproc:v1/Job/hadoopJob": hadoop_job +"/dataproc:v1/Job/hiveJob": hive_job +"/dataproc:v1/Job/labels": labels +"/dataproc:v1/Job/labels/label": label +"/dataproc:v1/Job/pigJob": pig_job +"/dataproc:v1/Job/placement": placement +"/dataproc:v1/Job/pysparkJob": pyspark_job +"/dataproc:v1/Job/reference": reference +"/dataproc:v1/Job/scheduling": scheduling +"/dataproc:v1/Job/sparkJob": spark_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/yarnApplications": yarn_applications +"/dataproc:v1/Job/yarnApplications/yarn_application": yarn_application +"/dataproc:v1/JobPlacement": job_placement +"/dataproc:v1/JobPlacement/clusterName": cluster_name +"/dataproc:v1/JobPlacement/clusterUuid": cluster_uuid +"/dataproc:v1/JobReference": job_reference +"/dataproc:v1/JobReference/jobId": job_id +"/dataproc:v1/JobReference/projectId": project_id +"/dataproc:v1/JobScheduling": job_scheduling +"/dataproc:v1/JobScheduling/maxFailuresPerHour": max_failures_per_hour +"/dataproc:v1/JobStatus": job_status +"/dataproc:v1/JobStatus/details": details +"/dataproc:v1/JobStatus/state": state +"/dataproc:v1/JobStatus/stateStartTime": state_start_time +"/dataproc:v1/JobStatus/substate": substate +"/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/ListJobsResponse": list_jobs_response +"/dataproc:v1/ListJobsResponse/jobs": jobs +"/dataproc:v1/ListJobsResponse/jobs/job": job +"/dataproc:v1/ListJobsResponse/nextPageToken": next_page_token +"/dataproc:v1/ListOperationsResponse": list_operations_response +"/dataproc:v1/ListOperationsResponse/nextPageToken": next_page_token +"/dataproc:v1/ListOperationsResponse/operations": operations +"/dataproc:v1/ListOperationsResponse/operations/operation": operation "/dataproc:v1/LoggingConfig": logging_config "/dataproc:v1/LoggingConfig/driverLogLevels": driver_log_levels "/dataproc:v1/LoggingConfig/driverLogLevels/driver_log_level": driver_log_level -"/datastore:v1/fields": fields -"/datastore:v1/key": key -"/datastore:v1/quotaUser": quota_user -"/datastore:v1/datastore.projects.runQuery": run_project_query -"/datastore:v1/datastore.projects.runQuery/projectId": project_id -"/datastore:v1/datastore.projects.rollback": rollback_project -"/datastore:v1/datastore.projects.rollback/projectId": project_id -"/datastore:v1/datastore.projects.lookup": lookup_project -"/datastore:v1/datastore.projects.lookup/projectId": project_id +"/dataproc:v1/ManagedGroupConfig": managed_group_config +"/dataproc:v1/ManagedGroupConfig/instanceGroupManagerName": instance_group_manager_name +"/dataproc:v1/ManagedGroupConfig/instanceTemplateName": instance_template_name +"/dataproc:v1/NodeInitializationAction": node_initialization_action +"/dataproc:v1/NodeInitializationAction/executableFile": executable_file +"/dataproc:v1/NodeInitializationAction/executionTimeout": execution_timeout +"/dataproc:v1/Operation": operation +"/dataproc:v1/Operation/done": done +"/dataproc:v1/Operation/error": error +"/dataproc:v1/Operation/metadata": metadata +"/dataproc:v1/Operation/metadata/metadatum": metadatum +"/dataproc:v1/Operation/name": name +"/dataproc:v1/Operation/response": response +"/dataproc:v1/Operation/response/response": response +"/dataproc:v1/PigJob": pig_job +"/dataproc:v1/PigJob/continueOnFailure": continue_on_failure +"/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/PigJob/properties": properties +"/dataproc:v1/PigJob/properties/property": property +"/dataproc:v1/PigJob/queryFileUri": query_file_uri +"/dataproc:v1/PigJob/queryList": query_list +"/dataproc:v1/PigJob/scriptVariables": script_variables +"/dataproc:v1/PigJob/scriptVariables/script_variable": script_variable +"/dataproc:v1/PySparkJob": py_spark_job +"/dataproc:v1/PySparkJob/archiveUris": archive_uris +"/dataproc:v1/PySparkJob/archiveUris/archive_uri": archive_uri +"/dataproc:v1/PySparkJob/args": args +"/dataproc:v1/PySparkJob/args/arg": arg +"/dataproc:v1/PySparkJob/fileUris": file_uris +"/dataproc:v1/PySparkJob/fileUris/file_uri": file_uri +"/dataproc:v1/PySparkJob/jarFileUris": jar_file_uris +"/dataproc:v1/PySparkJob/jarFileUris/jar_file_uri": jar_file_uri +"/dataproc:v1/PySparkJob/loggingConfig": logging_config +"/dataproc:v1/PySparkJob/mainPythonFileUri": main_python_file_uri +"/dataproc:v1/PySparkJob/properties": properties +"/dataproc:v1/PySparkJob/properties/property": property +"/dataproc:v1/PySparkJob/pythonFileUris": python_file_uris +"/dataproc:v1/PySparkJob/pythonFileUris/python_file_uri": python_file_uri +"/dataproc:v1/QueryList": query_list +"/dataproc:v1/QueryList/queries": queries +"/dataproc:v1/QueryList/queries/query": query +"/dataproc:v1/SoftwareConfig": software_config +"/dataproc:v1/SoftwareConfig/imageVersion": image_version +"/dataproc:v1/SoftwareConfig/properties": properties +"/dataproc:v1/SoftwareConfig/properties/property": property +"/dataproc:v1/SparkJob": spark_job +"/dataproc:v1/SparkJob/archiveUris": archive_uris +"/dataproc:v1/SparkJob/archiveUris/archive_uri": archive_uri +"/dataproc:v1/SparkJob/args": args +"/dataproc:v1/SparkJob/args/arg": arg +"/dataproc:v1/SparkJob/fileUris": file_uris +"/dataproc:v1/SparkJob/fileUris/file_uri": file_uri +"/dataproc:v1/SparkJob/jarFileUris": jar_file_uris +"/dataproc:v1/SparkJob/jarFileUris/jar_file_uri": jar_file_uri +"/dataproc:v1/SparkJob/loggingConfig": logging_config +"/dataproc:v1/SparkJob/mainClass": main_class +"/dataproc:v1/SparkJob/mainJarFileUri": main_jar_file_uri +"/dataproc:v1/SparkJob/properties": properties +"/dataproc:v1/SparkJob/properties/property": property +"/dataproc:v1/SparkSqlJob": spark_sql_job +"/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/SparkSqlJob/properties": properties +"/dataproc:v1/SparkSqlJob/properties/property": property +"/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/Status": status +"/dataproc:v1/Status/code": code +"/dataproc:v1/Status/details": details +"/dataproc:v1/Status/details/detail": detail +"/dataproc:v1/Status/details/detail/detail": detail +"/dataproc:v1/Status/message": message +"/dataproc:v1/SubmitJobRequest": submit_job_request +"/dataproc:v1/SubmitJobRequest/job": job +"/dataproc:v1/YarnApplication": yarn_application +"/dataproc:v1/YarnApplication/name": name +"/dataproc:v1/YarnApplication/progress": progress +"/dataproc:v1/YarnApplication/state": state +"/dataproc:v1/YarnApplication/trackingUrl": tracking_url +"/dataproc:v1/dataproc.projects.regions.clusters.create": create_cluster +"/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.delete": delete_cluster +"/dataproc:v1/dataproc.projects.regions.clusters.delete/clusterName": cluster_name +"/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.diagnose": diagnose_cluster +"/dataproc:v1/dataproc.projects.regions.clusters.diagnose/clusterName": cluster_name +"/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.get": get_cluster +"/dataproc:v1/dataproc.projects.regions.clusters.get/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.list": list_clusters +"/dataproc:v1/dataproc.projects.regions.clusters.list/filter": filter +"/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.list/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.clusters.list/region": region +"/dataproc:v1/dataproc.projects.regions.clusters.patch": patch_cluster +"/dataproc:v1/dataproc.projects.regions.clusters.patch/clusterName": cluster_name +"/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/updateMask": update_mask +"/dataproc:v1/dataproc.projects.regions.jobs.cancel": cancel_job +"/dataproc:v1/dataproc.projects.regions.jobs.cancel/jobId": job_id +"/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.delete": delete_job +"/dataproc:v1/dataproc.projects.regions.jobs.delete/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.get": get_job +"/dataproc:v1/dataproc.projects.regions.jobs.get/jobId": job_id +"/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.list": list_jobs +"/dataproc:v1/dataproc.projects.regions.jobs.list/clusterName": cluster_name +"/dataproc:v1/dataproc.projects.regions.jobs.list/filter": filter +"/dataproc:v1/dataproc.projects.regions.jobs.list/jobStateMatcher": job_state_matcher +"/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/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.jobs.list/region": region +"/dataproc:v1/dataproc.projects.regions.jobs.patch": patch_project_region_job +"/dataproc:v1/dataproc.projects.regions.jobs.patch/jobId": job_id +"/dataproc:v1/dataproc.projects.regions.jobs.patch/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.jobs.patch/region": region +"/dataproc:v1/dataproc.projects.regions.jobs.patch/updateMask": update_mask +"/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.operations.cancel": cancel_operation +"/dataproc:v1/dataproc.projects.regions.operations.cancel/name": name +"/dataproc:v1/dataproc.projects.regions.operations.delete": delete_operation +"/dataproc:v1/dataproc.projects.regions.operations.delete/name": name +"/dataproc:v1/dataproc.projects.regions.operations.get": get_operation +"/dataproc:v1/dataproc.projects.regions.operations.get/name": name +"/dataproc:v1/dataproc.projects.regions.operations.list": list_operations +"/dataproc:v1/dataproc.projects.regions.operations.list/filter": filter +"/dataproc:v1/dataproc.projects.regions.operations.list/name": name +"/dataproc:v1/dataproc.projects.regions.operations.list/pageSize": page_size +"/dataproc:v1/dataproc.projects.regions.operations.list/pageToken": page_token +"/dataproc:v1/fields": fields +"/dataproc:v1/key": key +"/dataproc:v1/quotaUser": quota_user +"/datastore:v1/AllocateIdsRequest": allocate_ids_request +"/datastore:v1/AllocateIdsRequest/keys": keys +"/datastore:v1/AllocateIdsRequest/keys/key": key +"/datastore:v1/AllocateIdsResponse": allocate_ids_response +"/datastore:v1/AllocateIdsResponse/keys": keys +"/datastore:v1/AllocateIdsResponse/keys/key": key +"/datastore:v1/ArrayValue": array_value +"/datastore:v1/ArrayValue/values": values +"/datastore:v1/ArrayValue/values/value": value +"/datastore:v1/BeginTransactionRequest": begin_transaction_request +"/datastore:v1/BeginTransactionRequest/transactionOptions": transaction_options +"/datastore:v1/BeginTransactionResponse": begin_transaction_response +"/datastore:v1/BeginTransactionResponse/transaction": transaction +"/datastore:v1/CommitRequest": commit_request +"/datastore:v1/CommitRequest/mode": mode +"/datastore:v1/CommitRequest/mutations": mutations +"/datastore:v1/CommitRequest/mutations/mutation": mutation +"/datastore:v1/CommitRequest/transaction": transaction +"/datastore:v1/CommitResponse": commit_response +"/datastore:v1/CommitResponse/indexUpdates": index_updates +"/datastore:v1/CommitResponse/mutationResults": mutation_results +"/datastore:v1/CommitResponse/mutationResults/mutation_result": mutation_result +"/datastore:v1/CompositeFilter": composite_filter +"/datastore:v1/CompositeFilter/filters": filters +"/datastore:v1/CompositeFilter/filters/filter": filter +"/datastore:v1/CompositeFilter/op": op +"/datastore:v1/Empty": empty +"/datastore:v1/Entity": entity +"/datastore:v1/Entity/key": key +"/datastore:v1/Entity/properties": properties +"/datastore:v1/Entity/properties/property": property +"/datastore:v1/EntityResult": entity_result +"/datastore:v1/EntityResult/cursor": cursor +"/datastore:v1/EntityResult/entity": entity +"/datastore:v1/EntityResult/version": version +"/datastore:v1/Filter": filter +"/datastore:v1/Filter/compositeFilter": composite_filter +"/datastore:v1/Filter/propertyFilter": property_filter +"/datastore:v1/GoogleDatastoreAdminV1beta1CommonMetadata": google_datastore_admin_v1beta1_common_metadata +"/datastore:v1/GoogleDatastoreAdminV1beta1CommonMetadata/endTime": end_time +"/datastore:v1/GoogleDatastoreAdminV1beta1CommonMetadata/labels": labels +"/datastore:v1/GoogleDatastoreAdminV1beta1CommonMetadata/labels/label": label +"/datastore:v1/GoogleDatastoreAdminV1beta1CommonMetadata/operationType": operation_type +"/datastore:v1/GoogleDatastoreAdminV1beta1CommonMetadata/startTime": start_time +"/datastore:v1/GoogleDatastoreAdminV1beta1CommonMetadata/state": state +"/datastore:v1/GoogleDatastoreAdminV1beta1EntityFilter": google_datastore_admin_v1beta1_entity_filter +"/datastore:v1/GoogleDatastoreAdminV1beta1EntityFilter/kinds": kinds +"/datastore:v1/GoogleDatastoreAdminV1beta1EntityFilter/kinds/kind": kind +"/datastore:v1/GoogleDatastoreAdminV1beta1EntityFilter/namespaceIds": namespace_ids +"/datastore:v1/GoogleDatastoreAdminV1beta1EntityFilter/namespaceIds/namespace_id": namespace_id +"/datastore:v1/GoogleDatastoreAdminV1beta1ExportEntitiesMetadata": google_datastore_admin_v1beta1_export_entities_metadata +"/datastore:v1/GoogleDatastoreAdminV1beta1ExportEntitiesMetadata/common": common +"/datastore:v1/GoogleDatastoreAdminV1beta1ExportEntitiesMetadata/entityFilter": entity_filter +"/datastore:v1/GoogleDatastoreAdminV1beta1ExportEntitiesMetadata/outputUrlPrefix": output_url_prefix +"/datastore:v1/GoogleDatastoreAdminV1beta1ExportEntitiesMetadata/progressBytes": progress_bytes +"/datastore:v1/GoogleDatastoreAdminV1beta1ExportEntitiesMetadata/progressEntities": progress_entities +"/datastore:v1/GoogleDatastoreAdminV1beta1ExportEntitiesResponse": google_datastore_admin_v1beta1_export_entities_response +"/datastore:v1/GoogleDatastoreAdminV1beta1ExportEntitiesResponse/outputUrl": output_url +"/datastore:v1/GoogleDatastoreAdminV1beta1ImportEntitiesMetadata": google_datastore_admin_v1beta1_import_entities_metadata +"/datastore:v1/GoogleDatastoreAdminV1beta1ImportEntitiesMetadata/common": common +"/datastore:v1/GoogleDatastoreAdminV1beta1ImportEntitiesMetadata/entityFilter": entity_filter +"/datastore:v1/GoogleDatastoreAdminV1beta1ImportEntitiesMetadata/inputUrl": input_url +"/datastore:v1/GoogleDatastoreAdminV1beta1ImportEntitiesMetadata/progressBytes": progress_bytes +"/datastore:v1/GoogleDatastoreAdminV1beta1ImportEntitiesMetadata/progressEntities": progress_entities +"/datastore:v1/GoogleDatastoreAdminV1beta1Progress": google_datastore_admin_v1beta1_progress +"/datastore:v1/GoogleDatastoreAdminV1beta1Progress/workCompleted": work_completed +"/datastore:v1/GoogleDatastoreAdminV1beta1Progress/workEstimated": work_estimated +"/datastore:v1/GoogleLongrunningListOperationsResponse": google_longrunning_list_operations_response +"/datastore:v1/GoogleLongrunningListOperationsResponse/nextPageToken": next_page_token +"/datastore:v1/GoogleLongrunningListOperationsResponse/operations": operations +"/datastore:v1/GoogleLongrunningListOperationsResponse/operations/operation": operation +"/datastore:v1/GoogleLongrunningOperation": google_longrunning_operation +"/datastore:v1/GoogleLongrunningOperation/done": done +"/datastore:v1/GoogleLongrunningOperation/error": error +"/datastore:v1/GoogleLongrunningOperation/metadata": metadata +"/datastore:v1/GoogleLongrunningOperation/metadata/metadatum": metadatum +"/datastore:v1/GoogleLongrunningOperation/name": name +"/datastore:v1/GoogleLongrunningOperation/response": response +"/datastore:v1/GoogleLongrunningOperation/response/response": response +"/datastore:v1/GqlQuery": gql_query +"/datastore:v1/GqlQuery/allowLiterals": allow_literals +"/datastore:v1/GqlQuery/namedBindings": named_bindings +"/datastore:v1/GqlQuery/namedBindings/named_binding": named_binding +"/datastore:v1/GqlQuery/positionalBindings": positional_bindings +"/datastore:v1/GqlQuery/positionalBindings/positional_binding": positional_binding +"/datastore:v1/GqlQuery/queryString": query_string +"/datastore:v1/GqlQueryParameter": gql_query_parameter +"/datastore:v1/GqlQueryParameter/cursor": cursor +"/datastore:v1/GqlQueryParameter/value": value +"/datastore:v1/Key": key +"/datastore:v1/Key/partitionId": partition_id +"/datastore:v1/Key/path": path +"/datastore:v1/Key/path/path": path +"/datastore:v1/KindExpression": kind_expression +"/datastore:v1/KindExpression/name": name +"/datastore:v1/LatLng": lat_lng +"/datastore:v1/LatLng/latitude": latitude +"/datastore:v1/LatLng/longitude": longitude +"/datastore:v1/LookupRequest": lookup_request +"/datastore:v1/LookupRequest/keys": keys +"/datastore:v1/LookupRequest/keys/key": key +"/datastore:v1/LookupRequest/readOptions": read_options +"/datastore:v1/LookupResponse": lookup_response +"/datastore:v1/LookupResponse/deferred": deferred +"/datastore:v1/LookupResponse/deferred/deferred": deferred +"/datastore:v1/LookupResponse/found": found +"/datastore:v1/LookupResponse/found/found": found +"/datastore:v1/LookupResponse/missing": missing +"/datastore:v1/LookupResponse/missing/missing": missing +"/datastore:v1/Mutation": mutation +"/datastore:v1/Mutation/baseVersion": base_version +"/datastore:v1/Mutation/delete": delete +"/datastore:v1/Mutation/insert": insert +"/datastore:v1/Mutation/update": update +"/datastore:v1/Mutation/upsert": upsert +"/datastore:v1/MutationResult": mutation_result +"/datastore:v1/MutationResult/conflictDetected": conflict_detected +"/datastore:v1/MutationResult/key": key +"/datastore:v1/MutationResult/version": version +"/datastore:v1/PartitionId": partition_id +"/datastore:v1/PartitionId/namespaceId": namespace_id +"/datastore:v1/PartitionId/projectId": project_id +"/datastore:v1/PathElement": path_element +"/datastore:v1/PathElement/id": id +"/datastore:v1/PathElement/kind": kind +"/datastore:v1/PathElement/name": name +"/datastore:v1/Projection": projection +"/datastore:v1/Projection/property": property +"/datastore:v1/PropertyFilter": property_filter +"/datastore:v1/PropertyFilter/op": op +"/datastore:v1/PropertyFilter/property": property +"/datastore:v1/PropertyFilter/value": value +"/datastore:v1/PropertyOrder": property_order +"/datastore:v1/PropertyOrder/direction": direction +"/datastore:v1/PropertyOrder/property": property +"/datastore:v1/PropertyReference": property_reference +"/datastore:v1/PropertyReference/name": name +"/datastore:v1/Query": query +"/datastore:v1/Query/distinctOn": distinct_on +"/datastore:v1/Query/distinctOn/distinct_on": distinct_on +"/datastore:v1/Query/endCursor": end_cursor +"/datastore:v1/Query/filter": filter +"/datastore:v1/Query/kind": kind +"/datastore:v1/Query/kind/kind": kind +"/datastore:v1/Query/limit": limit +"/datastore:v1/Query/offset": offset +"/datastore:v1/Query/order": order +"/datastore:v1/Query/order/order": order +"/datastore:v1/Query/projection": projection +"/datastore:v1/Query/projection/projection": projection +"/datastore:v1/Query/startCursor": start_cursor +"/datastore:v1/QueryResultBatch": query_result_batch +"/datastore:v1/QueryResultBatch/endCursor": end_cursor +"/datastore:v1/QueryResultBatch/entityResultType": entity_result_type +"/datastore:v1/QueryResultBatch/entityResults": entity_results +"/datastore:v1/QueryResultBatch/entityResults/entity_result": entity_result +"/datastore:v1/QueryResultBatch/moreResults": more_results +"/datastore:v1/QueryResultBatch/skippedCursor": skipped_cursor +"/datastore:v1/QueryResultBatch/skippedResults": skipped_results +"/datastore:v1/QueryResultBatch/snapshotVersion": snapshot_version +"/datastore:v1/ReadOnly": read_only +"/datastore:v1/ReadOptions": read_options +"/datastore:v1/ReadOptions/readConsistency": read_consistency +"/datastore:v1/ReadOptions/transaction": transaction +"/datastore:v1/ReadWrite": read_write +"/datastore:v1/ReadWrite/previousTransaction": previous_transaction +"/datastore:v1/RollbackRequest": rollback_request +"/datastore:v1/RollbackRequest/transaction": transaction +"/datastore:v1/RollbackResponse": rollback_response +"/datastore:v1/RunQueryRequest": run_query_request +"/datastore:v1/RunQueryRequest/gqlQuery": gql_query +"/datastore:v1/RunQueryRequest/partitionId": partition_id +"/datastore:v1/RunQueryRequest/query": query +"/datastore:v1/RunQueryRequest/readOptions": read_options +"/datastore:v1/RunQueryResponse": run_query_response +"/datastore:v1/RunQueryResponse/batch": batch +"/datastore:v1/RunQueryResponse/query": query +"/datastore:v1/Status": status +"/datastore:v1/Status/code": code +"/datastore:v1/Status/details": details +"/datastore:v1/Status/details/detail": detail +"/datastore:v1/Status/details/detail/detail": detail +"/datastore:v1/Status/message": message +"/datastore:v1/TransactionOptions": transaction_options +"/datastore:v1/TransactionOptions/readOnly": read_only +"/datastore:v1/TransactionOptions/readWrite": read_write +"/datastore:v1/Value": value +"/datastore:v1/Value/arrayValue": array_value +"/datastore:v1/Value/blobValue": blob_value +"/datastore:v1/Value/booleanValue": boolean_value +"/datastore:v1/Value/doubleValue": double_value +"/datastore:v1/Value/entityValue": entity_value +"/datastore:v1/Value/excludeFromIndexes": exclude_from_indexes +"/datastore:v1/Value/geoPointValue": geo_point_value +"/datastore:v1/Value/integerValue": integer_value +"/datastore:v1/Value/keyValue": key_value +"/datastore:v1/Value/meaning": meaning +"/datastore:v1/Value/nullValue": null_value +"/datastore:v1/Value/stringValue": string_value +"/datastore:v1/Value/timestampValue": timestamp_value "/datastore:v1/datastore.projects.allocateIds": allocate_project_ids "/datastore:v1/datastore.projects.allocateIds/projectId": project_id "/datastore:v1/datastore.projects.beginTransaction": begin_project_transaction "/datastore:v1/datastore.projects.beginTransaction/projectId": project_id "/datastore:v1/datastore.projects.commit": commit_project "/datastore:v1/datastore.projects.commit/projectId": project_id -"/datastore:v1/MutationResult": mutation_result -"/datastore:v1/MutationResult/version": version -"/datastore:v1/MutationResult/conflictDetected": conflict_detected -"/datastore:v1/MutationResult/key": key -"/datastore:v1/GqlQuery": gql_query -"/datastore:v1/GqlQuery/positionalBindings": positional_bindings -"/datastore:v1/GqlQuery/positionalBindings/positional_binding": positional_binding -"/datastore:v1/GqlQuery/namedBindings": named_bindings -"/datastore:v1/GqlQuery/namedBindings/named_binding": named_binding -"/datastore:v1/GqlQuery/allowLiterals": allow_literals -"/datastore:v1/GqlQuery/queryString": query_string -"/datastore:v1/Filter": filter -"/datastore:v1/Filter/propertyFilter": property_filter -"/datastore:v1/Filter/compositeFilter": composite_filter -"/datastore:v1/RunQueryRequest": run_query_request -"/datastore:v1/RunQueryRequest/gqlQuery": gql_query -"/datastore:v1/RunQueryRequest/partitionId": partition_id -"/datastore:v1/RunQueryRequest/readOptions": read_options -"/datastore:v1/RunQueryRequest/query": query -"/datastore:v1/RollbackRequest": rollback_request -"/datastore:v1/RollbackRequest/transaction": transaction -"/datastore:v1/CompositeFilter": composite_filter -"/datastore:v1/CompositeFilter/filters": filters -"/datastore:v1/CompositeFilter/filters/filter": filter -"/datastore:v1/CompositeFilter/op": op -"/datastore:v1/AllocateIdsResponse/keys": keys -"/datastore:v1/AllocateIdsResponse/keys/key": key -"/datastore:v1/Query": query -"/datastore:v1/Query/projection": projection -"/datastore:v1/Query/projection/projection": projection -"/datastore:v1/Query/endCursor": end_cursor -"/datastore:v1/Query/filter": filter -"/datastore:v1/Query/limit": limit -"/datastore:v1/Query/startCursor": start_cursor -"/datastore:v1/Query/offset": offset -"/datastore:v1/Query/kind": kind -"/datastore:v1/Query/kind/kind": kind -"/datastore:v1/Query/distinctOn": distinct_on -"/datastore:v1/Query/distinctOn/distinct_on": distinct_on -"/datastore:v1/Query/order": order -"/datastore:v1/Query/order/order": order -"/datastore:v1/PropertyFilter": property_filter -"/datastore:v1/PropertyFilter/value": value -"/datastore:v1/PropertyFilter/property": property -"/datastore:v1/PropertyFilter/op": op -"/datastore:v1/EntityResult": entity_result -"/datastore:v1/EntityResult/entity": entity -"/datastore:v1/EntityResult/cursor": cursor -"/datastore:v1/EntityResult/version": version -"/datastore:v1/Value": value -"/datastore:v1/Value/doubleValue": double_value -"/datastore:v1/Value/timestampValue": timestamp_value -"/datastore:v1/Value/nullValue": null_value -"/datastore:v1/Value/booleanValue": boolean_value -"/datastore:v1/Value/blobValue": blob_value -"/datastore:v1/Value/meaning": meaning -"/datastore:v1/Value/arrayValue": array_value -"/datastore:v1/Value/entityValue": entity_value -"/datastore:v1/Value/geoPointValue": geo_point_value -"/datastore:v1/Value/keyValue": key_value -"/datastore:v1/Value/integerValue": integer_value -"/datastore:v1/Value/stringValue": string_value -"/datastore:v1/Value/excludeFromIndexes": exclude_from_indexes -"/datastore:v1/CommitResponse": commit_response -"/datastore:v1/CommitResponse/indexUpdates": index_updates -"/datastore:v1/CommitResponse/mutationResults": mutation_results -"/datastore:v1/CommitResponse/mutationResults/mutation_result": mutation_result -"/datastore:v1/PartitionId": partition_id -"/datastore:v1/PartitionId/projectId": project_id -"/datastore:v1/PartitionId/namespaceId": namespace_id -"/datastore:v1/Entity": entity -"/datastore:v1/Entity/properties": properties -"/datastore:v1/Entity/properties/property": property -"/datastore:v1/Entity/key": key -"/datastore:v1/LookupRequest": lookup_request -"/datastore:v1/LookupRequest/readOptions": read_options -"/datastore:v1/LookupRequest/keys": keys -"/datastore:v1/LookupRequest/keys/key": key -"/datastore:v1/QueryResultBatch": query_result_batch -"/datastore:v1/QueryResultBatch/skippedCursor": skipped_cursor -"/datastore:v1/QueryResultBatch/skippedResults": skipped_results -"/datastore:v1/QueryResultBatch/entityResultType": entity_result_type -"/datastore:v1/QueryResultBatch/entityResults": entity_results -"/datastore:v1/QueryResultBatch/entityResults/entity_result": entity_result -"/datastore:v1/QueryResultBatch/moreResults": more_results -"/datastore:v1/QueryResultBatch/endCursor": end_cursor -"/datastore:v1/QueryResultBatch/snapshotVersion": snapshot_version -"/datastore:v1/PathElement": path_element -"/datastore:v1/PathElement/name": name -"/datastore:v1/PathElement/kind": kind -"/datastore:v1/PathElement/id": id -"/datastore:v1/GqlQueryParameter": gql_query_parameter -"/datastore:v1/GqlQueryParameter/cursor": cursor -"/datastore:v1/GqlQueryParameter/value": value -"/datastore:v1/BeginTransactionResponse/transaction": transaction -"/datastore:v1/AllocateIdsRequest/keys": keys -"/datastore:v1/AllocateIdsRequest/keys/key": key -"/datastore:v1/LookupResponse": lookup_response -"/datastore:v1/LookupResponse/missing": missing -"/datastore:v1/LookupResponse/missing/missing": missing -"/datastore:v1/LookupResponse/found": found -"/datastore:v1/LookupResponse/found/found": found -"/datastore:v1/LookupResponse/deferred": deferred -"/datastore:v1/LookupResponse/deferred/deferred": deferred -"/datastore:v1/RunQueryResponse": run_query_response -"/datastore:v1/RunQueryResponse/query": query -"/datastore:v1/RunQueryResponse/batch": batch -"/datastore:v1/CommitRequest": commit_request -"/datastore:v1/CommitRequest/mode": mode -"/datastore:v1/CommitRequest/mutations": mutations -"/datastore:v1/CommitRequest/mutations/mutation": mutation -"/datastore:v1/CommitRequest/transaction": transaction -"/datastore:v1/PropertyOrder": property_order -"/datastore:v1/PropertyOrder/direction": direction -"/datastore:v1/PropertyOrder/property": property -"/datastore:v1/KindExpression": kind_expression -"/datastore:v1/KindExpression/name": name -"/datastore:v1/Key": key -"/datastore:v1/Key/partitionId": partition_id -"/datastore:v1/Key/path": path -"/datastore:v1/Key/path/path": path -"/datastore:v1/LatLng": lat_lng -"/datastore:v1/LatLng/latitude": latitude -"/datastore:v1/LatLng/longitude": longitude -"/datastore:v1/PropertyReference": property_reference -"/datastore:v1/PropertyReference/name": name -"/datastore:v1/Projection": projection -"/datastore:v1/Projection/property": property -"/datastore:v1/ArrayValue": array_value -"/datastore:v1/ArrayValue/values": values -"/datastore:v1/ArrayValue/values/value": value -"/datastore:v1/Mutation": mutation -"/datastore:v1/Mutation/baseVersion": base_version -"/datastore:v1/Mutation/insert": insert -"/datastore:v1/Mutation/update": update -"/datastore:v1/Mutation/upsert": upsert -"/datastore:v1/Mutation/delete": delete -"/datastore:v1/ReadOptions": read_options -"/datastore:v1/ReadOptions/transaction": transaction -"/datastore:v1/ReadOptions/readConsistency": read_consistency -"/datastore:v1/RollbackResponse": rollback_response -"/deploymentmanager:v2/fields": fields -"/deploymentmanager:v2/key": key -"/deploymentmanager:v2/quotaUser": quota_user -"/deploymentmanager:v2/userIp": user_ip +"/datastore:v1/datastore.projects.lookup": lookup_project +"/datastore:v1/datastore.projects.lookup/projectId": project_id +"/datastore:v1/datastore.projects.operations.cancel": cancel_project_operation +"/datastore:v1/datastore.projects.operations.cancel/name": name +"/datastore:v1/datastore.projects.operations.delete": delete_project_operation +"/datastore:v1/datastore.projects.operations.delete/name": name +"/datastore:v1/datastore.projects.operations.get": get_project_operation +"/datastore:v1/datastore.projects.operations.get/name": name +"/datastore:v1/datastore.projects.operations.list": list_project_operations +"/datastore:v1/datastore.projects.operations.list/filter": filter +"/datastore:v1/datastore.projects.operations.list/name": name +"/datastore:v1/datastore.projects.operations.list/pageSize": page_size +"/datastore:v1/datastore.projects.operations.list/pageToken": page_token +"/datastore:v1/datastore.projects.rollback": rollback_project +"/datastore:v1/datastore.projects.rollback/projectId": project_id +"/datastore:v1/datastore.projects.runQuery": run_project_query +"/datastore:v1/datastore.projects.runQuery/projectId": project_id +"/datastore:v1/fields": fields +"/datastore:v1/key": key +"/datastore:v1/quotaUser": quota_user +"/datastore:v1beta2/AllocateIdsRequest": allocate_ids_request +"/datastore:v1beta2/AllocateIdsResponse": allocate_ids_response +"/datastore:v1beta2/BeginTransactionRequest": begin_transaction_request +"/datastore:v1beta2/BeginTransactionResponse": begin_transaction_response +"/deploymentmanager:v2/AuditConfig": audit_config +"/deploymentmanager:v2/AuditConfig/auditLogConfigs": audit_log_configs +"/deploymentmanager:v2/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/deploymentmanager:v2/AuditConfig/exemptedMembers": exempted_members +"/deploymentmanager:v2/AuditConfig/exemptedMembers/exempted_member": exempted_member +"/deploymentmanager:v2/AuditConfig/service": service +"/deploymentmanager:v2/AuditLogConfig": audit_log_config +"/deploymentmanager:v2/AuditLogConfig/exemptedMembers": exempted_members +"/deploymentmanager:v2/AuditLogConfig/exemptedMembers/exempted_member": exempted_member +"/deploymentmanager:v2/AuditLogConfig/logType": log_type +"/deploymentmanager:v2/AuthorizationLoggingOptions": authorization_logging_options +"/deploymentmanager:v2/AuthorizationLoggingOptions/permissionType": permission_type +"/deploymentmanager:v2/Binding": binding +"/deploymentmanager:v2/Binding/condition": condition +"/deploymentmanager:v2/Binding/members": members +"/deploymentmanager:v2/Binding/members/member": member +"/deploymentmanager:v2/Binding/role": role +"/deploymentmanager:v2/Condition": condition +"/deploymentmanager:v2/Condition/iam": iam +"/deploymentmanager:v2/Condition/op": op +"/deploymentmanager:v2/Condition/svc": svc +"/deploymentmanager:v2/Condition/sys": sys +"/deploymentmanager:v2/Condition/value": value +"/deploymentmanager:v2/Condition/values": values +"/deploymentmanager:v2/Condition/values/value": value +"/deploymentmanager:v2/ConfigFile": config_file +"/deploymentmanager:v2/ConfigFile/content": content +"/deploymentmanager:v2/Deployment": deployment +"/deploymentmanager:v2/Deployment/description": description +"/deploymentmanager:v2/Deployment/fingerprint": fingerprint +"/deploymentmanager:v2/Deployment/id": id +"/deploymentmanager:v2/Deployment/insertTime": insert_time +"/deploymentmanager:v2/Deployment/labels": labels +"/deploymentmanager:v2/Deployment/labels/label": label +"/deploymentmanager:v2/Deployment/manifest": manifest +"/deploymentmanager:v2/Deployment/name": name +"/deploymentmanager:v2/Deployment/operation": operation +"/deploymentmanager:v2/Deployment/selfLink": self_link +"/deploymentmanager:v2/Deployment/target": target +"/deploymentmanager:v2/Deployment/update": update +"/deploymentmanager:v2/DeploymentLabelEntry": deployment_label_entry +"/deploymentmanager:v2/DeploymentLabelEntry/key": key +"/deploymentmanager:v2/DeploymentLabelEntry/value": value +"/deploymentmanager:v2/DeploymentUpdate": deployment_update +"/deploymentmanager:v2/DeploymentUpdate/description": description +"/deploymentmanager:v2/DeploymentUpdate/labels": labels +"/deploymentmanager:v2/DeploymentUpdate/labels/label": label +"/deploymentmanager:v2/DeploymentUpdate/manifest": manifest +"/deploymentmanager:v2/DeploymentUpdateLabelEntry": deployment_update_label_entry +"/deploymentmanager:v2/DeploymentUpdateLabelEntry/key": key +"/deploymentmanager:v2/DeploymentUpdateLabelEntry/value": value +"/deploymentmanager:v2/DeploymentsCancelPreviewRequest": deployments_cancel_preview_request +"/deploymentmanager:v2/DeploymentsCancelPreviewRequest/fingerprint": fingerprint +"/deploymentmanager:v2/DeploymentsListResponse": list_deployments_response +"/deploymentmanager:v2/DeploymentsListResponse/deployments": deployments +"/deploymentmanager:v2/DeploymentsListResponse/deployments/deployment": deployment +"/deploymentmanager:v2/DeploymentsListResponse/nextPageToken": next_page_token +"/deploymentmanager:v2/DeploymentsStopRequest": deployments_stop_request +"/deploymentmanager:v2/DeploymentsStopRequest/fingerprint": fingerprint +"/deploymentmanager:v2/Expr": expr +"/deploymentmanager:v2/Expr/description": description +"/deploymentmanager:v2/Expr/expression": expression +"/deploymentmanager:v2/Expr/location": location +"/deploymentmanager:v2/Expr/title": title +"/deploymentmanager:v2/ImportFile": import_file +"/deploymentmanager:v2/ImportFile/content": content +"/deploymentmanager:v2/ImportFile/name": name +"/deploymentmanager:v2/LogConfig": log_config +"/deploymentmanager:v2/LogConfig/cloudAudit": cloud_audit +"/deploymentmanager:v2/LogConfig/counter": counter +"/deploymentmanager:v2/LogConfig/dataAccess": data_access +"/deploymentmanager:v2/LogConfigCloudAuditOptions": log_config_cloud_audit_options +"/deploymentmanager:v2/LogConfigCloudAuditOptions/authorizationLoggingOptions": authorization_logging_options +"/deploymentmanager:v2/LogConfigCloudAuditOptions/logName": log_name +"/deploymentmanager:v2/LogConfigCounterOptions": log_config_counter_options +"/deploymentmanager:v2/LogConfigCounterOptions/field": field +"/deploymentmanager:v2/LogConfigCounterOptions/metric": metric +"/deploymentmanager:v2/LogConfigDataAccessOptions": log_config_data_access_options +"/deploymentmanager:v2/LogConfigDataAccessOptions/logMode": log_mode +"/deploymentmanager:v2/Manifest": manifest +"/deploymentmanager:v2/Manifest/config": config +"/deploymentmanager:v2/Manifest/expandedConfig": expanded_config +"/deploymentmanager:v2/Manifest/id": id +"/deploymentmanager:v2/Manifest/imports": imports +"/deploymentmanager:v2/Manifest/imports/import": import +"/deploymentmanager:v2/Manifest/insertTime": insert_time +"/deploymentmanager:v2/Manifest/layout": layout +"/deploymentmanager:v2/Manifest/name": name +"/deploymentmanager:v2/Manifest/selfLink": self_link +"/deploymentmanager:v2/ManifestsListResponse": list_manifests_response +"/deploymentmanager:v2/ManifestsListResponse/manifests": manifests +"/deploymentmanager:v2/ManifestsListResponse/manifests/manifest": manifest +"/deploymentmanager:v2/ManifestsListResponse/nextPageToken": next_page_token +"/deploymentmanager:v2/Operation": operation +"/deploymentmanager:v2/Operation/clientOperationId": client_operation_id +"/deploymentmanager:v2/Operation/creationTimestamp": creation_timestamp +"/deploymentmanager:v2/Operation/description": description +"/deploymentmanager:v2/Operation/endTime": end_time +"/deploymentmanager:v2/Operation/error": error +"/deploymentmanager:v2/Operation/error/errors": errors +"/deploymentmanager:v2/Operation/error/errors/error": error +"/deploymentmanager:v2/Operation/error/errors/error/code": code +"/deploymentmanager:v2/Operation/error/errors/error/location": location +"/deploymentmanager:v2/Operation/error/errors/error/message": message +"/deploymentmanager:v2/Operation/httpErrorMessage": http_error_message +"/deploymentmanager:v2/Operation/httpErrorStatusCode": http_error_status_code +"/deploymentmanager:v2/Operation/id": id +"/deploymentmanager:v2/Operation/insertTime": insert_time +"/deploymentmanager:v2/Operation/kind": kind +"/deploymentmanager:v2/Operation/name": name +"/deploymentmanager:v2/Operation/operationType": operation_type +"/deploymentmanager:v2/Operation/progress": progress +"/deploymentmanager:v2/Operation/region": region +"/deploymentmanager:v2/Operation/selfLink": self_link +"/deploymentmanager:v2/Operation/startTime": start_time +"/deploymentmanager:v2/Operation/status": status +"/deploymentmanager:v2/Operation/statusMessage": status_message +"/deploymentmanager:v2/Operation/targetId": target_id +"/deploymentmanager:v2/Operation/targetLink": target_link +"/deploymentmanager:v2/Operation/user": user +"/deploymentmanager:v2/Operation/warnings": warnings +"/deploymentmanager:v2/Operation/warnings/warning": warning +"/deploymentmanager:v2/Operation/warnings/warning/code": code +"/deploymentmanager:v2/Operation/warnings/warning/data": data +"/deploymentmanager:v2/Operation/warnings/warning/data/datum": datum +"/deploymentmanager:v2/Operation/warnings/warning/data/datum/key": key +"/deploymentmanager:v2/Operation/warnings/warning/data/datum/value": value +"/deploymentmanager:v2/Operation/warnings/warning/message": message +"/deploymentmanager:v2/Operation/zone": zone +"/deploymentmanager:v2/OperationsListResponse": list_operations_response +"/deploymentmanager:v2/OperationsListResponse/nextPageToken": next_page_token +"/deploymentmanager:v2/OperationsListResponse/operations": operations +"/deploymentmanager:v2/OperationsListResponse/operations/operation": operation +"/deploymentmanager:v2/Policy": policy +"/deploymentmanager:v2/Policy/auditConfigs": audit_configs +"/deploymentmanager:v2/Policy/auditConfigs/audit_config": audit_config +"/deploymentmanager:v2/Policy/bindings": bindings +"/deploymentmanager:v2/Policy/bindings/binding": binding +"/deploymentmanager:v2/Policy/etag": etag +"/deploymentmanager:v2/Policy/iamOwned": iam_owned +"/deploymentmanager:v2/Policy/rules": rules +"/deploymentmanager:v2/Policy/rules/rule": rule +"/deploymentmanager:v2/Policy/version": version +"/deploymentmanager:v2/Resource": resource +"/deploymentmanager:v2/Resource/accessControl": access_control +"/deploymentmanager:v2/Resource/finalProperties": final_properties +"/deploymentmanager:v2/Resource/id": id +"/deploymentmanager:v2/Resource/insertTime": insert_time +"/deploymentmanager:v2/Resource/manifest": manifest +"/deploymentmanager:v2/Resource/name": name +"/deploymentmanager:v2/Resource/properties": properties +"/deploymentmanager:v2/Resource/type": type +"/deploymentmanager:v2/Resource/update": update +"/deploymentmanager:v2/Resource/updateTime": update_time +"/deploymentmanager:v2/Resource/url": url +"/deploymentmanager:v2/Resource/warnings": warnings +"/deploymentmanager:v2/Resource/warnings/warning": warning +"/deploymentmanager:v2/Resource/warnings/warning/code": code +"/deploymentmanager:v2/Resource/warnings/warning/data": data +"/deploymentmanager:v2/Resource/warnings/warning/data/datum": datum +"/deploymentmanager:v2/Resource/warnings/warning/data/datum/key": key +"/deploymentmanager:v2/Resource/warnings/warning/data/datum/value": value +"/deploymentmanager:v2/Resource/warnings/warning/message": message +"/deploymentmanager:v2/ResourceAccessControl": resource_access_control +"/deploymentmanager:v2/ResourceAccessControl/gcpIamPolicy": gcp_iam_policy +"/deploymentmanager:v2/ResourceUpdate": resource_update +"/deploymentmanager:v2/ResourceUpdate/accessControl": access_control +"/deploymentmanager:v2/ResourceUpdate/error": error +"/deploymentmanager:v2/ResourceUpdate/error/errors": errors +"/deploymentmanager:v2/ResourceUpdate/error/errors/error": error +"/deploymentmanager:v2/ResourceUpdate/error/errors/error/code": code +"/deploymentmanager:v2/ResourceUpdate/error/errors/error/location": location +"/deploymentmanager:v2/ResourceUpdate/error/errors/error/message": message +"/deploymentmanager:v2/ResourceUpdate/finalProperties": final_properties +"/deploymentmanager:v2/ResourceUpdate/intent": intent +"/deploymentmanager:v2/ResourceUpdate/manifest": manifest +"/deploymentmanager:v2/ResourceUpdate/properties": properties +"/deploymentmanager:v2/ResourceUpdate/state": state +"/deploymentmanager:v2/ResourceUpdate/warnings": warnings +"/deploymentmanager:v2/ResourceUpdate/warnings/warning": warning +"/deploymentmanager:v2/ResourceUpdate/warnings/warning/code": code +"/deploymentmanager:v2/ResourceUpdate/warnings/warning/data": data +"/deploymentmanager:v2/ResourceUpdate/warnings/warning/data/datum": datum +"/deploymentmanager:v2/ResourceUpdate/warnings/warning/data/datum/key": key +"/deploymentmanager:v2/ResourceUpdate/warnings/warning/data/datum/value": value +"/deploymentmanager:v2/ResourceUpdate/warnings/warning/message": message +"/deploymentmanager:v2/ResourcesListResponse": list_resources_response +"/deploymentmanager:v2/ResourcesListResponse/nextPageToken": next_page_token +"/deploymentmanager:v2/ResourcesListResponse/resources": resources +"/deploymentmanager:v2/ResourcesListResponse/resources/resource": resource +"/deploymentmanager:v2/Rule": rule +"/deploymentmanager:v2/Rule/action": action +"/deploymentmanager:v2/Rule/conditions": conditions +"/deploymentmanager:v2/Rule/conditions/condition": condition +"/deploymentmanager:v2/Rule/description": description +"/deploymentmanager:v2/Rule/ins": ins +"/deploymentmanager:v2/Rule/ins/in": in +"/deploymentmanager:v2/Rule/logConfigs": log_configs +"/deploymentmanager:v2/Rule/logConfigs/log_config": log_config +"/deploymentmanager:v2/Rule/notIns": not_ins +"/deploymentmanager:v2/Rule/notIns/not_in": not_in +"/deploymentmanager:v2/Rule/permissions": permissions +"/deploymentmanager:v2/Rule/permissions/permission": permission +"/deploymentmanager:v2/TargetConfiguration": target_configuration +"/deploymentmanager:v2/TargetConfiguration/config": config +"/deploymentmanager:v2/TargetConfiguration/imports": imports +"/deploymentmanager:v2/TargetConfiguration/imports/import": import +"/deploymentmanager:v2/TestPermissionsRequest": test_permissions_request +"/deploymentmanager:v2/TestPermissionsRequest/permissions": permissions +"/deploymentmanager:v2/TestPermissionsRequest/permissions/permission": permission +"/deploymentmanager:v2/TestPermissionsResponse": test_permissions_response +"/deploymentmanager:v2/TestPermissionsResponse/permissions": permissions +"/deploymentmanager:v2/TestPermissionsResponse/permissions/permission": permission +"/deploymentmanager:v2/Type": type +"/deploymentmanager:v2/Type/id": id +"/deploymentmanager:v2/Type/insertTime": insert_time +"/deploymentmanager:v2/Type/name": name +"/deploymentmanager:v2/Type/operation": operation +"/deploymentmanager:v2/Type/selfLink": self_link +"/deploymentmanager:v2/TypesListResponse": list_types_response +"/deploymentmanager:v2/TypesListResponse/nextPageToken": next_page_token +"/deploymentmanager:v2/TypesListResponse/types": types +"/deploymentmanager:v2/TypesListResponse/types/type": type "/deploymentmanager:v2/deploymentmanager.deployments.cancelPreview": cancel_deployment_preview "/deploymentmanager:v2/deploymentmanager.deployments.cancelPreview/deployment": deployment "/deploymentmanager:v2/deploymentmanager.deployments.cancelPreview/project": project @@ -20701,1088 +21106,75 @@ "/deploymentmanager:v2/deploymentmanager.types.list/orderBy": order_by "/deploymentmanager:v2/deploymentmanager.types.list/pageToken": page_token "/deploymentmanager:v2/deploymentmanager.types.list/project": project -"/deploymentmanager:v2/AuditConfig": audit_config -"/deploymentmanager:v2/AuditConfig/auditLogConfigs": audit_log_configs -"/deploymentmanager:v2/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config -"/deploymentmanager:v2/AuditConfig/exemptedMembers": exempted_members -"/deploymentmanager:v2/AuditConfig/exemptedMembers/exempted_member": exempted_member -"/deploymentmanager:v2/AuditConfig/service": service -"/deploymentmanager:v2/AuditLogConfig": audit_log_config -"/deploymentmanager:v2/AuditLogConfig/exemptedMembers": exempted_members -"/deploymentmanager:v2/AuditLogConfig/exemptedMembers/exempted_member": exempted_member -"/deploymentmanager:v2/AuditLogConfig/logType": log_type -"/deploymentmanager:v2/Binding": binding -"/deploymentmanager:v2/Binding/condition": condition -"/deploymentmanager:v2/Binding/members": members -"/deploymentmanager:v2/Binding/members/member": member -"/deploymentmanager:v2/Binding/role": role -"/deploymentmanager:v2/Condition": condition -"/deploymentmanager:v2/Condition/iam": iam -"/deploymentmanager:v2/Condition/op": op -"/deploymentmanager:v2/Condition/svc": svc -"/deploymentmanager:v2/Condition/sys": sys -"/deploymentmanager:v2/Condition/value": value -"/deploymentmanager:v2/Condition/values": values -"/deploymentmanager:v2/Condition/values/value": value -"/deploymentmanager:v2/ConfigFile": config_file -"/deploymentmanager:v2/ConfigFile/content": content -"/deploymentmanager:v2/Deployment": deployment -"/deploymentmanager:v2/Deployment/description": description -"/deploymentmanager:v2/Deployment/fingerprint": fingerprint -"/deploymentmanager:v2/Deployment/id": id -"/deploymentmanager:v2/Deployment/insertTime": insert_time -"/deploymentmanager:v2/Deployment/labels": labels -"/deploymentmanager:v2/Deployment/labels/label": label -"/deploymentmanager:v2/Deployment/manifest": manifest -"/deploymentmanager:v2/Deployment/name": name -"/deploymentmanager:v2/Deployment/operation": operation -"/deploymentmanager:v2/Deployment/selfLink": self_link -"/deploymentmanager:v2/Deployment/target": target -"/deploymentmanager:v2/Deployment/update": update -"/deploymentmanager:v2/DeploymentLabelEntry": deployment_label_entry -"/deploymentmanager:v2/DeploymentLabelEntry/key": key -"/deploymentmanager:v2/DeploymentLabelEntry/value": value -"/deploymentmanager:v2/DeploymentUpdate": deployment_update -"/deploymentmanager:v2/DeploymentUpdate/description": description -"/deploymentmanager:v2/DeploymentUpdate/labels": labels -"/deploymentmanager:v2/DeploymentUpdate/labels/label": label -"/deploymentmanager:v2/DeploymentUpdate/manifest": manifest -"/deploymentmanager:v2/DeploymentUpdateLabelEntry": deployment_update_label_entry -"/deploymentmanager:v2/DeploymentUpdateLabelEntry/key": key -"/deploymentmanager:v2/DeploymentUpdateLabelEntry/value": value -"/deploymentmanager:v2/DeploymentsCancelPreviewRequest": deployments_cancel_preview_request -"/deploymentmanager:v2/DeploymentsCancelPreviewRequest/fingerprint": fingerprint -"/deploymentmanager:v2/DeploymentsListResponse/deployments": deployments -"/deploymentmanager:v2/DeploymentsListResponse/deployments/deployment": deployment -"/deploymentmanager:v2/DeploymentsListResponse/nextPageToken": next_page_token -"/deploymentmanager:v2/DeploymentsStopRequest": deployments_stop_request -"/deploymentmanager:v2/DeploymentsStopRequest/fingerprint": fingerprint -"/deploymentmanager:v2/Expr": expr -"/deploymentmanager:v2/Expr/description": description -"/deploymentmanager:v2/Expr/expression": expression -"/deploymentmanager:v2/Expr/location": location -"/deploymentmanager:v2/Expr/title": title -"/deploymentmanager:v2/ImportFile": import_file -"/deploymentmanager:v2/ImportFile/content": content -"/deploymentmanager:v2/ImportFile/name": name -"/deploymentmanager:v2/LogConfig": log_config -"/deploymentmanager:v2/LogConfig/cloudAudit": cloud_audit -"/deploymentmanager:v2/LogConfig/counter": counter -"/deploymentmanager:v2/LogConfigCloudAuditOptions": log_config_cloud_audit_options -"/deploymentmanager:v2/LogConfigCloudAuditOptions/logName": log_name -"/deploymentmanager:v2/LogConfigCounterOptions": log_config_counter_options -"/deploymentmanager:v2/LogConfigCounterOptions/field": field -"/deploymentmanager:v2/LogConfigCounterOptions/metric": metric -"/deploymentmanager:v2/Manifest": manifest -"/deploymentmanager:v2/Manifest/config": config -"/deploymentmanager:v2/Manifest/expandedConfig": expanded_config -"/deploymentmanager:v2/Manifest/id": id -"/deploymentmanager:v2/Manifest/imports": imports -"/deploymentmanager:v2/Manifest/imports/import": import -"/deploymentmanager:v2/Manifest/insertTime": insert_time -"/deploymentmanager:v2/Manifest/layout": layout -"/deploymentmanager:v2/Manifest/name": name -"/deploymentmanager:v2/Manifest/selfLink": self_link -"/deploymentmanager:v2/ManifestsListResponse/manifests": manifests -"/deploymentmanager:v2/ManifestsListResponse/manifests/manifest": manifest -"/deploymentmanager:v2/ManifestsListResponse/nextPageToken": next_page_token -"/deploymentmanager:v2/Operation": operation -"/deploymentmanager:v2/Operation/clientOperationId": client_operation_id -"/deploymentmanager:v2/Operation/creationTimestamp": creation_timestamp -"/deploymentmanager:v2/Operation/description": description -"/deploymentmanager:v2/Operation/endTime": end_time -"/deploymentmanager:v2/Operation/error": error -"/deploymentmanager:v2/Operation/error/errors": errors -"/deploymentmanager:v2/Operation/error/errors/error": error -"/deploymentmanager:v2/Operation/error/errors/error/code": code -"/deploymentmanager:v2/Operation/error/errors/error/location": location -"/deploymentmanager:v2/Operation/error/errors/error/message": message -"/deploymentmanager:v2/Operation/httpErrorMessage": http_error_message -"/deploymentmanager:v2/Operation/httpErrorStatusCode": http_error_status_code -"/deploymentmanager:v2/Operation/id": id -"/deploymentmanager:v2/Operation/insertTime": insert_time -"/deploymentmanager:v2/Operation/kind": kind -"/deploymentmanager:v2/Operation/name": name -"/deploymentmanager:v2/Operation/operationType": operation_type -"/deploymentmanager:v2/Operation/progress": progress -"/deploymentmanager:v2/Operation/region": region -"/deploymentmanager:v2/Operation/selfLink": self_link -"/deploymentmanager:v2/Operation/startTime": start_time -"/deploymentmanager:v2/Operation/status": status -"/deploymentmanager:v2/Operation/statusMessage": status_message -"/deploymentmanager:v2/Operation/targetId": target_id -"/deploymentmanager:v2/Operation/targetLink": target_link -"/deploymentmanager:v2/Operation/user": user -"/deploymentmanager:v2/Operation/warnings": warnings -"/deploymentmanager:v2/Operation/warnings/warning": warning -"/deploymentmanager:v2/Operation/warnings/warning/code": code -"/deploymentmanager:v2/Operation/warnings/warning/data": data -"/deploymentmanager:v2/Operation/warnings/warning/data/datum": datum -"/deploymentmanager:v2/Operation/warnings/warning/data/datum/key": key -"/deploymentmanager:v2/Operation/warnings/warning/data/datum/value": value -"/deploymentmanager:v2/Operation/warnings/warning/message": message -"/deploymentmanager:v2/Operation/zone": zone -"/deploymentmanager:v2/OperationsListResponse/nextPageToken": next_page_token -"/deploymentmanager:v2/OperationsListResponse/operations": operations -"/deploymentmanager:v2/OperationsListResponse/operations/operation": operation -"/deploymentmanager:v2/Policy": policy -"/deploymentmanager:v2/Policy/auditConfigs": audit_configs -"/deploymentmanager:v2/Policy/auditConfigs/audit_config": audit_config -"/deploymentmanager:v2/Policy/bindings": bindings -"/deploymentmanager:v2/Policy/bindings/binding": binding -"/deploymentmanager:v2/Policy/etag": etag -"/deploymentmanager:v2/Policy/iamOwned": iam_owned -"/deploymentmanager:v2/Policy/rules": rules -"/deploymentmanager:v2/Policy/rules/rule": rule -"/deploymentmanager:v2/Policy/version": version -"/deploymentmanager:v2/Resource": resource -"/deploymentmanager:v2/Resource/accessControl": access_control -"/deploymentmanager:v2/Resource/finalProperties": final_properties -"/deploymentmanager:v2/Resource/id": id -"/deploymentmanager:v2/Resource/insertTime": insert_time -"/deploymentmanager:v2/Resource/manifest": manifest -"/deploymentmanager:v2/Resource/name": name -"/deploymentmanager:v2/Resource/properties": properties -"/deploymentmanager:v2/Resource/type": type -"/deploymentmanager:v2/Resource/update": update -"/deploymentmanager:v2/Resource/updateTime": update_time -"/deploymentmanager:v2/Resource/url": url -"/deploymentmanager:v2/Resource/warnings": warnings -"/deploymentmanager:v2/Resource/warnings/warning": warning -"/deploymentmanager:v2/Resource/warnings/warning/code": code -"/deploymentmanager:v2/Resource/warnings/warning/data": data -"/deploymentmanager:v2/Resource/warnings/warning/data/datum": datum -"/deploymentmanager:v2/Resource/warnings/warning/data/datum/key": key -"/deploymentmanager:v2/Resource/warnings/warning/data/datum/value": value -"/deploymentmanager:v2/Resource/warnings/warning/message": message -"/deploymentmanager:v2/ResourceAccessControl": resource_access_control -"/deploymentmanager:v2/ResourceAccessControl/gcpIamPolicy": gcp_iam_policy -"/deploymentmanager:v2/ResourceUpdate": resource_update -"/deploymentmanager:v2/ResourceUpdate/accessControl": access_control -"/deploymentmanager:v2/ResourceUpdate/error": error -"/deploymentmanager:v2/ResourceUpdate/error/errors": errors -"/deploymentmanager:v2/ResourceUpdate/error/errors/error": error -"/deploymentmanager:v2/ResourceUpdate/error/errors/error/code": code -"/deploymentmanager:v2/ResourceUpdate/error/errors/error/location": location -"/deploymentmanager:v2/ResourceUpdate/error/errors/error/message": message -"/deploymentmanager:v2/ResourceUpdate/finalProperties": final_properties -"/deploymentmanager:v2/ResourceUpdate/intent": intent -"/deploymentmanager:v2/ResourceUpdate/manifest": manifest -"/deploymentmanager:v2/ResourceUpdate/properties": properties -"/deploymentmanager:v2/ResourceUpdate/state": state -"/deploymentmanager:v2/ResourceUpdate/warnings": warnings -"/deploymentmanager:v2/ResourceUpdate/warnings/warning": warning -"/deploymentmanager:v2/ResourceUpdate/warnings/warning/code": code -"/deploymentmanager:v2/ResourceUpdate/warnings/warning/data": data -"/deploymentmanager:v2/ResourceUpdate/warnings/warning/data/datum": datum -"/deploymentmanager:v2/ResourceUpdate/warnings/warning/data/datum/key": key -"/deploymentmanager:v2/ResourceUpdate/warnings/warning/data/datum/value": value -"/deploymentmanager:v2/ResourceUpdate/warnings/warning/message": message -"/deploymentmanager:v2/ResourcesListResponse/nextPageToken": next_page_token -"/deploymentmanager:v2/ResourcesListResponse/resources": resources -"/deploymentmanager:v2/ResourcesListResponse/resources/resource": resource -"/deploymentmanager:v2/Rule": rule -"/deploymentmanager:v2/Rule/action": action -"/deploymentmanager:v2/Rule/conditions": conditions -"/deploymentmanager:v2/Rule/conditions/condition": condition -"/deploymentmanager:v2/Rule/description": description -"/deploymentmanager:v2/Rule/ins": ins -"/deploymentmanager:v2/Rule/ins/in": in -"/deploymentmanager:v2/Rule/logConfigs": log_configs -"/deploymentmanager:v2/Rule/logConfigs/log_config": log_config -"/deploymentmanager:v2/Rule/notIns": not_ins -"/deploymentmanager:v2/Rule/notIns/not_in": not_in -"/deploymentmanager:v2/Rule/permissions": permissions -"/deploymentmanager:v2/Rule/permissions/permission": permission -"/deploymentmanager:v2/TargetConfiguration": target_configuration -"/deploymentmanager:v2/TargetConfiguration/config": config -"/deploymentmanager:v2/TargetConfiguration/imports": imports -"/deploymentmanager:v2/TargetConfiguration/imports/import": import -"/deploymentmanager:v2/TestPermissionsRequest": test_permissions_request -"/deploymentmanager:v2/TestPermissionsRequest/permissions": permissions -"/deploymentmanager:v2/TestPermissionsRequest/permissions/permission": permission -"/deploymentmanager:v2/TestPermissionsResponse": test_permissions_response -"/deploymentmanager:v2/TestPermissionsResponse/permissions": permissions -"/deploymentmanager:v2/TestPermissionsResponse/permissions/permission": permission -"/deploymentmanager:v2/Type": type -"/deploymentmanager:v2/Type/id": id -"/deploymentmanager:v2/Type/insertTime": insert_time -"/deploymentmanager:v2/Type/name": name -"/deploymentmanager:v2/Type/operation": operation -"/deploymentmanager:v2/Type/selfLink": self_link -"/deploymentmanager:v2/TypesListResponse/nextPageToken": next_page_token -"/deploymentmanager:v2/TypesListResponse/types": types -"/deploymentmanager:v2/TypesListResponse/types/type": type -"/dfareporting:v2.7/fields": fields -"/dfareporting:v2.7/key": key -"/dfareporting:v2.7/quotaUser": quota_user -"/dfareporting:v2.7/userIp": user_ip -"/dfareporting:v2.7/dfareporting.accountActiveAdSummaries.get": get_account_active_ad_summary -"/dfareporting:v2.7/dfareporting.accountActiveAdSummaries.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.accountActiveAdSummaries.get/summaryAccountId": summary_account_id -"/dfareporting:v2.7/dfareporting.accountPermissionGroups.get": get_account_permission_group -"/dfareporting:v2.7/dfareporting.accountPermissionGroups.get/id": id -"/dfareporting:v2.7/dfareporting.accountPermissionGroups.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.accountPermissionGroups.list": list_account_permission_groups -"/dfareporting:v2.7/dfareporting.accountPermissionGroups.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.accountPermissions.get": get_account_permission -"/dfareporting:v2.7/dfareporting.accountPermissions.get/id": id -"/dfareporting:v2.7/dfareporting.accountPermissions.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.accountPermissions.list": list_account_permissions -"/dfareporting:v2.7/dfareporting.accountPermissions.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.accountUserProfiles.get": get_account_user_profile -"/dfareporting:v2.7/dfareporting.accountUserProfiles.get/id": id -"/dfareporting:v2.7/dfareporting.accountUserProfiles.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.accountUserProfiles.insert": insert_account_user_profile -"/dfareporting:v2.7/dfareporting.accountUserProfiles.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.accountUserProfiles.list": list_account_user_profiles -"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/active": active -"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/ids": ids -"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/subaccountId": subaccount_id -"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/userRoleId": user_role_id -"/dfareporting:v2.7/dfareporting.accountUserProfiles.patch": patch_account_user_profile -"/dfareporting:v2.7/dfareporting.accountUserProfiles.patch/id": id -"/dfareporting:v2.7/dfareporting.accountUserProfiles.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.accountUserProfiles.update": update_account_user_profile -"/dfareporting:v2.7/dfareporting.accountUserProfiles.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.accounts.get": get_account -"/dfareporting:v2.7/dfareporting.accounts.get/id": id -"/dfareporting:v2.7/dfareporting.accounts.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.accounts.list": list_accounts -"/dfareporting:v2.7/dfareporting.accounts.list/active": active -"/dfareporting:v2.7/dfareporting.accounts.list/ids": ids -"/dfareporting:v2.7/dfareporting.accounts.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.accounts.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.accounts.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.accounts.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.accounts.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.accounts.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.accounts.patch": patch_account -"/dfareporting:v2.7/dfareporting.accounts.patch/id": id -"/dfareporting:v2.7/dfareporting.accounts.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.accounts.update": update_account -"/dfareporting:v2.7/dfareporting.accounts.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.ads.get": get_ad -"/dfareporting:v2.7/dfareporting.ads.get/id": id -"/dfareporting:v2.7/dfareporting.ads.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.ads.insert": insert_ad -"/dfareporting:v2.7/dfareporting.ads.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.ads.list": list_ads -"/dfareporting:v2.7/dfareporting.ads.list/active": active -"/dfareporting:v2.7/dfareporting.ads.list/advertiserId": advertiser_id -"/dfareporting:v2.7/dfareporting.ads.list/archived": archived -"/dfareporting:v2.7/dfareporting.ads.list/audienceSegmentIds": audience_segment_ids -"/dfareporting:v2.7/dfareporting.ads.list/campaignIds": campaign_ids -"/dfareporting:v2.7/dfareporting.ads.list/compatibility": compatibility -"/dfareporting:v2.7/dfareporting.ads.list/creativeIds": creative_ids -"/dfareporting:v2.7/dfareporting.ads.list/creativeOptimizationConfigurationIds": creative_optimization_configuration_ids -"/dfareporting:v2.7/dfareporting.ads.list/dynamicClickTracker": dynamic_click_tracker -"/dfareporting:v2.7/dfareporting.ads.list/ids": ids -"/dfareporting:v2.7/dfareporting.ads.list/landingPageIds": landing_page_ids -"/dfareporting:v2.7/dfareporting.ads.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.ads.list/overriddenEventTagId": overridden_event_tag_id -"/dfareporting:v2.7/dfareporting.ads.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.ads.list/placementIds": placement_ids -"/dfareporting:v2.7/dfareporting.ads.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.ads.list/remarketingListIds": remarketing_list_ids -"/dfareporting:v2.7/dfareporting.ads.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.ads.list/sizeIds": size_ids -"/dfareporting:v2.7/dfareporting.ads.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.ads.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.ads.list/sslCompliant": ssl_compliant -"/dfareporting:v2.7/dfareporting.ads.list/sslRequired": ssl_required -"/dfareporting:v2.7/dfareporting.ads.list/type": type -"/dfareporting:v2.7/dfareporting.ads.patch": patch_ad -"/dfareporting:v2.7/dfareporting.ads.patch/id": id -"/dfareporting:v2.7/dfareporting.ads.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.ads.update": update_ad -"/dfareporting:v2.7/dfareporting.ads.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.advertiserGroups.delete": delete_advertiser_group -"/dfareporting:v2.7/dfareporting.advertiserGroups.delete/id": id -"/dfareporting:v2.7/dfareporting.advertiserGroups.delete/profileId": profile_id -"/dfareporting:v2.7/dfareporting.advertiserGroups.get": get_advertiser_group -"/dfareporting:v2.7/dfareporting.advertiserGroups.get/id": id -"/dfareporting:v2.7/dfareporting.advertiserGroups.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.advertiserGroups.insert": insert_advertiser_group -"/dfareporting:v2.7/dfareporting.advertiserGroups.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.advertiserGroups.list": list_advertiser_groups -"/dfareporting:v2.7/dfareporting.advertiserGroups.list/ids": ids -"/dfareporting:v2.7/dfareporting.advertiserGroups.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.advertiserGroups.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.advertiserGroups.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.advertiserGroups.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.advertiserGroups.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.advertiserGroups.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.advertiserGroups.patch": patch_advertiser_group -"/dfareporting:v2.7/dfareporting.advertiserGroups.patch/id": id -"/dfareporting:v2.7/dfareporting.advertiserGroups.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.advertiserGroups.update": update_advertiser_group -"/dfareporting:v2.7/dfareporting.advertiserGroups.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.advertisers.get": get_advertiser -"/dfareporting:v2.7/dfareporting.advertisers.get/id": id -"/dfareporting:v2.7/dfareporting.advertisers.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.advertisers.insert": insert_advertiser -"/dfareporting:v2.7/dfareporting.advertisers.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.advertisers.list": list_advertisers -"/dfareporting:v2.7/dfareporting.advertisers.list/advertiserGroupIds": advertiser_group_ids -"/dfareporting:v2.7/dfareporting.advertisers.list/floodlightConfigurationIds": floodlight_configuration_ids -"/dfareporting:v2.7/dfareporting.advertisers.list/ids": ids -"/dfareporting:v2.7/dfareporting.advertisers.list/includeAdvertisersWithoutGroupsOnly": include_advertisers_without_groups_only -"/dfareporting:v2.7/dfareporting.advertisers.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.advertisers.list/onlyParent": only_parent -"/dfareporting:v2.7/dfareporting.advertisers.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.advertisers.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.advertisers.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.advertisers.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.advertisers.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.advertisers.list/status": status -"/dfareporting:v2.7/dfareporting.advertisers.list/subaccountId": subaccount_id -"/dfareporting:v2.7/dfareporting.advertisers.patch": patch_advertiser -"/dfareporting:v2.7/dfareporting.advertisers.patch/id": id -"/dfareporting:v2.7/dfareporting.advertisers.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.advertisers.update": update_advertiser -"/dfareporting:v2.7/dfareporting.advertisers.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.browsers.list": list_browsers -"/dfareporting:v2.7/dfareporting.browsers.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.insert": insert_campaign_creative_association -"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.insert/campaignId": campaign_id -"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list": list_campaign_creative_associations -"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list/campaignId": campaign_id -"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.campaigns.get": get_campaign -"/dfareporting:v2.7/dfareporting.campaigns.get/id": id -"/dfareporting:v2.7/dfareporting.campaigns.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.campaigns.insert": insert_campaign -"/dfareporting:v2.7/dfareporting.campaigns.insert/defaultLandingPageName": default_landing_page_name -"/dfareporting:v2.7/dfareporting.campaigns.insert/defaultLandingPageUrl": default_landing_page_url -"/dfareporting:v2.7/dfareporting.campaigns.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.campaigns.list": list_campaigns -"/dfareporting:v2.7/dfareporting.campaigns.list/advertiserGroupIds": advertiser_group_ids -"/dfareporting:v2.7/dfareporting.campaigns.list/advertiserIds": advertiser_ids -"/dfareporting:v2.7/dfareporting.campaigns.list/archived": archived -"/dfareporting:v2.7/dfareporting.campaigns.list/atLeastOneOptimizationActivity": at_least_one_optimization_activity -"/dfareporting:v2.7/dfareporting.campaigns.list/excludedIds": excluded_ids -"/dfareporting:v2.7/dfareporting.campaigns.list/ids": ids -"/dfareporting:v2.7/dfareporting.campaigns.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.campaigns.list/overriddenEventTagId": overridden_event_tag_id -"/dfareporting:v2.7/dfareporting.campaigns.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.campaigns.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.campaigns.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.campaigns.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.campaigns.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.campaigns.list/subaccountId": subaccount_id -"/dfareporting:v2.7/dfareporting.campaigns.patch": patch_campaign -"/dfareporting:v2.7/dfareporting.campaigns.patch/id": id -"/dfareporting:v2.7/dfareporting.campaigns.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.campaigns.update": update_campaign -"/dfareporting:v2.7/dfareporting.campaigns.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.changeLogs.get": get_change_log -"/dfareporting:v2.7/dfareporting.changeLogs.get/id": id -"/dfareporting:v2.7/dfareporting.changeLogs.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.changeLogs.list": list_change_logs -"/dfareporting:v2.7/dfareporting.changeLogs.list/action": action -"/dfareporting:v2.7/dfareporting.changeLogs.list/ids": ids -"/dfareporting:v2.7/dfareporting.changeLogs.list/maxChangeTime": max_change_time -"/dfareporting:v2.7/dfareporting.changeLogs.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.changeLogs.list/minChangeTime": min_change_time -"/dfareporting:v2.7/dfareporting.changeLogs.list/objectIds": object_ids -"/dfareporting:v2.7/dfareporting.changeLogs.list/objectType": object_type -"/dfareporting:v2.7/dfareporting.changeLogs.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.changeLogs.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.changeLogs.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.changeLogs.list/userProfileIds": user_profile_ids -"/dfareporting:v2.7/dfareporting.cities.list": list_cities -"/dfareporting:v2.7/dfareporting.cities.list/countryDartIds": country_dart_ids -"/dfareporting:v2.7/dfareporting.cities.list/dartIds": dart_ids -"/dfareporting:v2.7/dfareporting.cities.list/namePrefix": name_prefix -"/dfareporting:v2.7/dfareporting.cities.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.cities.list/regionDartIds": region_dart_ids -"/dfareporting:v2.7/dfareporting.connectionTypes.get": get_connection_type -"/dfareporting:v2.7/dfareporting.connectionTypes.get/id": id -"/dfareporting:v2.7/dfareporting.connectionTypes.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.connectionTypes.list": list_connection_types -"/dfareporting:v2.7/dfareporting.connectionTypes.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.contentCategories.delete": delete_content_category -"/dfareporting:v2.7/dfareporting.contentCategories.delete/id": id -"/dfareporting:v2.7/dfareporting.contentCategories.delete/profileId": profile_id -"/dfareporting:v2.7/dfareporting.contentCategories.get": get_content_category -"/dfareporting:v2.7/dfareporting.contentCategories.get/id": id -"/dfareporting:v2.7/dfareporting.contentCategories.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.contentCategories.insert": insert_content_category -"/dfareporting:v2.7/dfareporting.contentCategories.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.contentCategories.list": list_content_categories -"/dfareporting:v2.7/dfareporting.contentCategories.list/ids": ids -"/dfareporting:v2.7/dfareporting.contentCategories.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.contentCategories.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.contentCategories.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.contentCategories.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.contentCategories.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.contentCategories.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.contentCategories.patch": patch_content_category -"/dfareporting:v2.7/dfareporting.contentCategories.patch/id": id -"/dfareporting:v2.7/dfareporting.contentCategories.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.contentCategories.update": update_content_category -"/dfareporting:v2.7/dfareporting.contentCategories.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.conversions.batchinsert": batchinsert_conversion -"/dfareporting:v2.7/dfareporting.conversions.batchinsert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.countries.get": get_country -"/dfareporting:v2.7/dfareporting.countries.get/dartId": dart_id -"/dfareporting:v2.7/dfareporting.countries.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.countries.list": list_countries -"/dfareporting:v2.7/dfareporting.countries.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.creativeAssets.insert": insert_creative_asset -"/dfareporting:v2.7/dfareporting.creativeAssets.insert/advertiserId": advertiser_id -"/dfareporting:v2.7/dfareporting.creativeAssets.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.creativeFieldValues.delete": delete_creative_field_value -"/dfareporting:v2.7/dfareporting.creativeFieldValues.delete/creativeFieldId": creative_field_id -"/dfareporting:v2.7/dfareporting.creativeFieldValues.delete/id": id -"/dfareporting:v2.7/dfareporting.creativeFieldValues.delete/profileId": profile_id -"/dfareporting:v2.7/dfareporting.creativeFieldValues.get": get_creative_field_value -"/dfareporting:v2.7/dfareporting.creativeFieldValues.get/creativeFieldId": creative_field_id -"/dfareporting:v2.7/dfareporting.creativeFieldValues.get/id": id -"/dfareporting:v2.7/dfareporting.creativeFieldValues.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.creativeFieldValues.insert": insert_creative_field_value -"/dfareporting:v2.7/dfareporting.creativeFieldValues.insert/creativeFieldId": creative_field_id -"/dfareporting:v2.7/dfareporting.creativeFieldValues.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.creativeFieldValues.list": list_creative_field_values -"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/creativeFieldId": creative_field_id -"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/ids": ids -"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.creativeFieldValues.patch": patch_creative_field_value -"/dfareporting:v2.7/dfareporting.creativeFieldValues.patch/creativeFieldId": creative_field_id -"/dfareporting:v2.7/dfareporting.creativeFieldValues.patch/id": id -"/dfareporting:v2.7/dfareporting.creativeFieldValues.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.creativeFieldValues.update": update_creative_field_value -"/dfareporting:v2.7/dfareporting.creativeFieldValues.update/creativeFieldId": creative_field_id -"/dfareporting:v2.7/dfareporting.creativeFieldValues.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.creativeFields.delete": delete_creative_field -"/dfareporting:v2.7/dfareporting.creativeFields.delete/id": id -"/dfareporting:v2.7/dfareporting.creativeFields.delete/profileId": profile_id -"/dfareporting:v2.7/dfareporting.creativeFields.get": get_creative_field -"/dfareporting:v2.7/dfareporting.creativeFields.get/id": id -"/dfareporting:v2.7/dfareporting.creativeFields.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.creativeFields.insert": insert_creative_field -"/dfareporting:v2.7/dfareporting.creativeFields.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.creativeFields.list": list_creative_fields -"/dfareporting:v2.7/dfareporting.creativeFields.list/advertiserIds": advertiser_ids -"/dfareporting:v2.7/dfareporting.creativeFields.list/ids": ids -"/dfareporting:v2.7/dfareporting.creativeFields.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.creativeFields.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.creativeFields.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.creativeFields.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.creativeFields.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.creativeFields.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.creativeFields.patch": patch_creative_field -"/dfareporting:v2.7/dfareporting.creativeFields.patch/id": id -"/dfareporting:v2.7/dfareporting.creativeFields.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.creativeFields.update": update_creative_field -"/dfareporting:v2.7/dfareporting.creativeFields.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.creativeGroups.get": get_creative_group -"/dfareporting:v2.7/dfareporting.creativeGroups.get/id": id -"/dfareporting:v2.7/dfareporting.creativeGroups.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.creativeGroups.insert": insert_creative_group -"/dfareporting:v2.7/dfareporting.creativeGroups.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.creativeGroups.list": list_creative_groups -"/dfareporting:v2.7/dfareporting.creativeGroups.list/advertiserIds": advertiser_ids -"/dfareporting:v2.7/dfareporting.creativeGroups.list/groupNumber": group_number -"/dfareporting:v2.7/dfareporting.creativeGroups.list/ids": ids -"/dfareporting:v2.7/dfareporting.creativeGroups.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.creativeGroups.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.creativeGroups.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.creativeGroups.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.creativeGroups.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.creativeGroups.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.creativeGroups.patch": patch_creative_group -"/dfareporting:v2.7/dfareporting.creativeGroups.patch/id": id -"/dfareporting:v2.7/dfareporting.creativeGroups.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.creativeGroups.update": update_creative_group -"/dfareporting:v2.7/dfareporting.creativeGroups.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.creatives.get": get_creative -"/dfareporting:v2.7/dfareporting.creatives.get/id": id -"/dfareporting:v2.7/dfareporting.creatives.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.creatives.insert": insert_creative -"/dfareporting:v2.7/dfareporting.creatives.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.creatives.list": list_creatives -"/dfareporting:v2.7/dfareporting.creatives.list/active": active -"/dfareporting:v2.7/dfareporting.creatives.list/advertiserId": advertiser_id -"/dfareporting:v2.7/dfareporting.creatives.list/archived": archived -"/dfareporting:v2.7/dfareporting.creatives.list/campaignId": campaign_id -"/dfareporting:v2.7/dfareporting.creatives.list/companionCreativeIds": companion_creative_ids -"/dfareporting:v2.7/dfareporting.creatives.list/creativeFieldIds": creative_field_ids -"/dfareporting:v2.7/dfareporting.creatives.list/ids": ids -"/dfareporting:v2.7/dfareporting.creatives.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.creatives.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.creatives.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.creatives.list/renderingIds": rendering_ids -"/dfareporting:v2.7/dfareporting.creatives.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.creatives.list/sizeIds": size_ids -"/dfareporting:v2.7/dfareporting.creatives.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.creatives.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.creatives.list/studioCreativeId": studio_creative_id -"/dfareporting:v2.7/dfareporting.creatives.list/types": types -"/dfareporting:v2.7/dfareporting.creatives.patch": patch_creative -"/dfareporting:v2.7/dfareporting.creatives.patch/id": id -"/dfareporting:v2.7/dfareporting.creatives.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.creatives.update": update_creative -"/dfareporting:v2.7/dfareporting.creatives.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.dimensionValues.query": query_dimension_value -"/dfareporting:v2.7/dfareporting.dimensionValues.query/maxResults": max_results -"/dfareporting:v2.7/dfareporting.dimensionValues.query/pageToken": page_token -"/dfareporting:v2.7/dfareporting.dimensionValues.query/profileId": profile_id -"/dfareporting:v2.7/dfareporting.directorySiteContacts.get": get_directory_site_contact -"/dfareporting:v2.7/dfareporting.directorySiteContacts.get/id": id -"/dfareporting:v2.7/dfareporting.directorySiteContacts.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.directorySiteContacts.list": list_directory_site_contacts -"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/directorySiteIds": directory_site_ids -"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/ids": ids -"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.directorySites.get": get_directory_site -"/dfareporting:v2.7/dfareporting.directorySites.get/id": id -"/dfareporting:v2.7/dfareporting.directorySites.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.directorySites.insert": insert_directory_site -"/dfareporting:v2.7/dfareporting.directorySites.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.directorySites.list": list_directory_sites -"/dfareporting:v2.7/dfareporting.directorySites.list/acceptsInStreamVideoPlacements": accepts_in_stream_video_placements -"/dfareporting:v2.7/dfareporting.directorySites.list/acceptsInterstitialPlacements": accepts_interstitial_placements -"/dfareporting:v2.7/dfareporting.directorySites.list/acceptsPublisherPaidPlacements": accepts_publisher_paid_placements -"/dfareporting:v2.7/dfareporting.directorySites.list/active": active -"/dfareporting:v2.7/dfareporting.directorySites.list/countryId": country_id -"/dfareporting:v2.7/dfareporting.directorySites.list/dfp_network_code": dfp_network_code -"/dfareporting:v2.7/dfareporting.directorySites.list/ids": ids -"/dfareporting:v2.7/dfareporting.directorySites.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.directorySites.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.directorySites.list/parentId": parent_id -"/dfareporting:v2.7/dfareporting.directorySites.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.directorySites.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.directorySites.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.directorySites.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.delete": delete_dynamic_targeting_key -"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.delete/name": name -"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.delete/objectId": object_id_ -"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.delete/objectType": object_type -"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.delete/profileId": profile_id -"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.insert": insert_dynamic_targeting_key -"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list": list_dynamic_targeting_keys -"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list/advertiserId": advertiser_id -"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list/names": names -"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list/objectId": object_id_ -"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list/objectType": object_type -"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.eventTags.delete": delete_event_tag -"/dfareporting:v2.7/dfareporting.eventTags.delete/id": id -"/dfareporting:v2.7/dfareporting.eventTags.delete/profileId": profile_id -"/dfareporting:v2.7/dfareporting.eventTags.get": get_event_tag -"/dfareporting:v2.7/dfareporting.eventTags.get/id": id -"/dfareporting:v2.7/dfareporting.eventTags.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.eventTags.insert": insert_event_tag -"/dfareporting:v2.7/dfareporting.eventTags.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.eventTags.list": list_event_tags -"/dfareporting:v2.7/dfareporting.eventTags.list/adId": ad_id -"/dfareporting:v2.7/dfareporting.eventTags.list/advertiserId": advertiser_id -"/dfareporting:v2.7/dfareporting.eventTags.list/campaignId": campaign_id -"/dfareporting:v2.7/dfareporting.eventTags.list/definitionsOnly": definitions_only -"/dfareporting:v2.7/dfareporting.eventTags.list/enabled": enabled -"/dfareporting:v2.7/dfareporting.eventTags.list/eventTagTypes": event_tag_types -"/dfareporting:v2.7/dfareporting.eventTags.list/ids": ids -"/dfareporting:v2.7/dfareporting.eventTags.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.eventTags.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.eventTags.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.eventTags.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.eventTags.patch": patch_event_tag -"/dfareporting:v2.7/dfareporting.eventTags.patch/id": id -"/dfareporting:v2.7/dfareporting.eventTags.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.eventTags.update": update_event_tag -"/dfareporting:v2.7/dfareporting.eventTags.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.files.get": get_file -"/dfareporting:v2.7/dfareporting.files.get/fileId": file_id -"/dfareporting:v2.7/dfareporting.files.get/reportId": report_id -"/dfareporting:v2.7/dfareporting.files.list": list_files -"/dfareporting:v2.7/dfareporting.files.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.files.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.files.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.files.list/scope": scope -"/dfareporting:v2.7/dfareporting.files.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.files.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.floodlightActivities.delete": delete_floodlight_activity -"/dfareporting:v2.7/dfareporting.floodlightActivities.delete/id": id -"/dfareporting:v2.7/dfareporting.floodlightActivities.delete/profileId": profile_id -"/dfareporting:v2.7/dfareporting.floodlightActivities.generatetag": generatetag_floodlight_activity -"/dfareporting:v2.7/dfareporting.floodlightActivities.generatetag/floodlightActivityId": floodlight_activity_id -"/dfareporting:v2.7/dfareporting.floodlightActivities.generatetag/profileId": profile_id -"/dfareporting:v2.7/dfareporting.floodlightActivities.get": get_floodlight_activity -"/dfareporting:v2.7/dfareporting.floodlightActivities.get/id": id -"/dfareporting:v2.7/dfareporting.floodlightActivities.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.floodlightActivities.insert": insert_floodlight_activity -"/dfareporting:v2.7/dfareporting.floodlightActivities.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.floodlightActivities.list": list_floodlight_activities -"/dfareporting:v2.7/dfareporting.floodlightActivities.list/advertiserId": advertiser_id -"/dfareporting:v2.7/dfareporting.floodlightActivities.list/floodlightActivityGroupIds": floodlight_activity_group_ids -"/dfareporting:v2.7/dfareporting.floodlightActivities.list/floodlightActivityGroupName": floodlight_activity_group_name -"/dfareporting:v2.7/dfareporting.floodlightActivities.list/floodlightActivityGroupTagString": floodlight_activity_group_tag_string -"/dfareporting:v2.7/dfareporting.floodlightActivities.list/floodlightActivityGroupType": floodlight_activity_group_type -"/dfareporting:v2.7/dfareporting.floodlightActivities.list/floodlightConfigurationId": floodlight_configuration_id -"/dfareporting:v2.7/dfareporting.floodlightActivities.list/ids": ids -"/dfareporting:v2.7/dfareporting.floodlightActivities.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.floodlightActivities.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.floodlightActivities.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.floodlightActivities.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.floodlightActivities.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.floodlightActivities.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.floodlightActivities.list/tagString": tag_string -"/dfareporting:v2.7/dfareporting.floodlightActivities.patch": patch_floodlight_activity -"/dfareporting:v2.7/dfareporting.floodlightActivities.patch/id": id -"/dfareporting:v2.7/dfareporting.floodlightActivities.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.floodlightActivities.update": update_floodlight_activity -"/dfareporting:v2.7/dfareporting.floodlightActivities.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.get": get_floodlight_activity_group -"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.get/id": id -"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.insert": insert_floodlight_activity_group -"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list": list_floodlight_activity_groups -"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/advertiserId": advertiser_id -"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/floodlightConfigurationId": floodlight_configuration_id -"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/ids": ids -"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/type": type -"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.patch": patch_floodlight_activity_group -"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.patch/id": id -"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.update": update_floodlight_activity_group -"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.floodlightConfigurations.get": get_floodlight_configuration -"/dfareporting:v2.7/dfareporting.floodlightConfigurations.get/id": id -"/dfareporting:v2.7/dfareporting.floodlightConfigurations.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.floodlightConfigurations.list": list_floodlight_configurations -"/dfareporting:v2.7/dfareporting.floodlightConfigurations.list/ids": ids -"/dfareporting:v2.7/dfareporting.floodlightConfigurations.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.floodlightConfigurations.patch": patch_floodlight_configuration -"/dfareporting:v2.7/dfareporting.floodlightConfigurations.patch/id": id -"/dfareporting:v2.7/dfareporting.floodlightConfigurations.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.floodlightConfigurations.update": update_floodlight_configuration -"/dfareporting:v2.7/dfareporting.floodlightConfigurations.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.inventoryItems.get": get_inventory_item -"/dfareporting:v2.7/dfareporting.inventoryItems.get/id": id -"/dfareporting:v2.7/dfareporting.inventoryItems.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.inventoryItems.get/projectId": project_id -"/dfareporting:v2.7/dfareporting.inventoryItems.list": list_inventory_items -"/dfareporting:v2.7/dfareporting.inventoryItems.list/ids": ids -"/dfareporting:v2.7/dfareporting.inventoryItems.list/inPlan": in_plan -"/dfareporting:v2.7/dfareporting.inventoryItems.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.inventoryItems.list/orderId": order_id -"/dfareporting:v2.7/dfareporting.inventoryItems.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.inventoryItems.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.inventoryItems.list/projectId": project_id -"/dfareporting:v2.7/dfareporting.inventoryItems.list/siteId": site_id -"/dfareporting:v2.7/dfareporting.inventoryItems.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.inventoryItems.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.inventoryItems.list/type": type -"/dfareporting:v2.7/dfareporting.landingPages.delete": delete_landing_page -"/dfareporting:v2.7/dfareporting.landingPages.delete/campaignId": campaign_id -"/dfareporting:v2.7/dfareporting.landingPages.delete/id": id -"/dfareporting:v2.7/dfareporting.landingPages.delete/profileId": profile_id -"/dfareporting:v2.7/dfareporting.landingPages.get": get_landing_page -"/dfareporting:v2.7/dfareporting.landingPages.get/campaignId": campaign_id -"/dfareporting:v2.7/dfareporting.landingPages.get/id": id -"/dfareporting:v2.7/dfareporting.landingPages.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.landingPages.insert": insert_landing_page -"/dfareporting:v2.7/dfareporting.landingPages.insert/campaignId": campaign_id -"/dfareporting:v2.7/dfareporting.landingPages.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.landingPages.list": list_landing_pages -"/dfareporting:v2.7/dfareporting.landingPages.list/campaignId": campaign_id -"/dfareporting:v2.7/dfareporting.landingPages.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.landingPages.patch": patch_landing_page -"/dfareporting:v2.7/dfareporting.landingPages.patch/campaignId": campaign_id -"/dfareporting:v2.7/dfareporting.landingPages.patch/id": id -"/dfareporting:v2.7/dfareporting.landingPages.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.landingPages.update": update_landing_page -"/dfareporting:v2.7/dfareporting.landingPages.update/campaignId": campaign_id -"/dfareporting:v2.7/dfareporting.landingPages.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.languages.list": list_languages -"/dfareporting:v2.7/dfareporting.languages.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.metros.list": list_metros -"/dfareporting:v2.7/dfareporting.metros.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.mobileCarriers.get": get_mobile_carrier -"/dfareporting:v2.7/dfareporting.mobileCarriers.get/id": id -"/dfareporting:v2.7/dfareporting.mobileCarriers.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.mobileCarriers.list": list_mobile_carriers -"/dfareporting:v2.7/dfareporting.mobileCarriers.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.operatingSystemVersions.get": get_operating_system_version -"/dfareporting:v2.7/dfareporting.operatingSystemVersions.get/id": id -"/dfareporting:v2.7/dfareporting.operatingSystemVersions.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.operatingSystemVersions.list": list_operating_system_versions -"/dfareporting:v2.7/dfareporting.operatingSystemVersions.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.operatingSystems.get": get_operating_system -"/dfareporting:v2.7/dfareporting.operatingSystems.get/dartId": dart_id -"/dfareporting:v2.7/dfareporting.operatingSystems.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.operatingSystems.list": list_operating_systems -"/dfareporting:v2.7/dfareporting.operatingSystems.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.orderDocuments.get": get_order_document -"/dfareporting:v2.7/dfareporting.orderDocuments.get/id": id -"/dfareporting:v2.7/dfareporting.orderDocuments.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.orderDocuments.get/projectId": project_id -"/dfareporting:v2.7/dfareporting.orderDocuments.list": list_order_documents -"/dfareporting:v2.7/dfareporting.orderDocuments.list/approved": approved -"/dfareporting:v2.7/dfareporting.orderDocuments.list/ids": ids -"/dfareporting:v2.7/dfareporting.orderDocuments.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.orderDocuments.list/orderId": order_id -"/dfareporting:v2.7/dfareporting.orderDocuments.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.orderDocuments.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.orderDocuments.list/projectId": project_id -"/dfareporting:v2.7/dfareporting.orderDocuments.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.orderDocuments.list/siteId": site_id -"/dfareporting:v2.7/dfareporting.orderDocuments.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.orderDocuments.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.orders.get": get_order -"/dfareporting:v2.7/dfareporting.orders.get/id": id -"/dfareporting:v2.7/dfareporting.orders.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.orders.get/projectId": project_id -"/dfareporting:v2.7/dfareporting.orders.list": list_orders -"/dfareporting:v2.7/dfareporting.orders.list/ids": ids -"/dfareporting:v2.7/dfareporting.orders.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.orders.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.orders.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.orders.list/projectId": project_id -"/dfareporting:v2.7/dfareporting.orders.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.orders.list/siteId": site_id -"/dfareporting:v2.7/dfareporting.orders.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.orders.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.placementGroups.get": get_placement_group -"/dfareporting:v2.7/dfareporting.placementGroups.get/id": id -"/dfareporting:v2.7/dfareporting.placementGroups.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.placementGroups.insert": insert_placement_group -"/dfareporting:v2.7/dfareporting.placementGroups.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.placementGroups.list": list_placement_groups -"/dfareporting:v2.7/dfareporting.placementGroups.list/advertiserIds": advertiser_ids -"/dfareporting:v2.7/dfareporting.placementGroups.list/archived": archived -"/dfareporting:v2.7/dfareporting.placementGroups.list/campaignIds": campaign_ids -"/dfareporting:v2.7/dfareporting.placementGroups.list/contentCategoryIds": content_category_ids -"/dfareporting:v2.7/dfareporting.placementGroups.list/directorySiteIds": directory_site_ids -"/dfareporting:v2.7/dfareporting.placementGroups.list/ids": ids -"/dfareporting:v2.7/dfareporting.placementGroups.list/maxEndDate": max_end_date -"/dfareporting:v2.7/dfareporting.placementGroups.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.placementGroups.list/maxStartDate": max_start_date -"/dfareporting:v2.7/dfareporting.placementGroups.list/minEndDate": min_end_date -"/dfareporting:v2.7/dfareporting.placementGroups.list/minStartDate": min_start_date -"/dfareporting:v2.7/dfareporting.placementGroups.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.placementGroups.list/placementGroupType": placement_group_type -"/dfareporting:v2.7/dfareporting.placementGroups.list/placementStrategyIds": placement_strategy_ids -"/dfareporting:v2.7/dfareporting.placementGroups.list/pricingTypes": pricing_types -"/dfareporting:v2.7/dfareporting.placementGroups.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.placementGroups.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.placementGroups.list/siteIds": site_ids -"/dfareporting:v2.7/dfareporting.placementGroups.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.placementGroups.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.placementGroups.patch": patch_placement_group -"/dfareporting:v2.7/dfareporting.placementGroups.patch/id": id -"/dfareporting:v2.7/dfareporting.placementGroups.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.placementGroups.update": update_placement_group -"/dfareporting:v2.7/dfareporting.placementGroups.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.placementStrategies.delete": delete_placement_strategy -"/dfareporting:v2.7/dfareporting.placementStrategies.delete/id": id -"/dfareporting:v2.7/dfareporting.placementStrategies.delete/profileId": profile_id -"/dfareporting:v2.7/dfareporting.placementStrategies.get": get_placement_strategy -"/dfareporting:v2.7/dfareporting.placementStrategies.get/id": id -"/dfareporting:v2.7/dfareporting.placementStrategies.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.placementStrategies.insert": insert_placement_strategy -"/dfareporting:v2.7/dfareporting.placementStrategies.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.placementStrategies.list": list_placement_strategies -"/dfareporting:v2.7/dfareporting.placementStrategies.list/ids": ids -"/dfareporting:v2.7/dfareporting.placementStrategies.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.placementStrategies.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.placementStrategies.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.placementStrategies.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.placementStrategies.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.placementStrategies.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.placementStrategies.patch": patch_placement_strategy -"/dfareporting:v2.7/dfareporting.placementStrategies.patch/id": id -"/dfareporting:v2.7/dfareporting.placementStrategies.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.placementStrategies.update": update_placement_strategy -"/dfareporting:v2.7/dfareporting.placementStrategies.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.placements.generatetags": generatetags_placement -"/dfareporting:v2.7/dfareporting.placements.generatetags/campaignId": campaign_id -"/dfareporting:v2.7/dfareporting.placements.generatetags/placementIds": placement_ids -"/dfareporting:v2.7/dfareporting.placements.generatetags/profileId": profile_id -"/dfareporting:v2.7/dfareporting.placements.generatetags/tagFormats": tag_formats -"/dfareporting:v2.7/dfareporting.placements.get": get_placement -"/dfareporting:v2.7/dfareporting.placements.get/id": id -"/dfareporting:v2.7/dfareporting.placements.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.placements.insert": insert_placement -"/dfareporting:v2.7/dfareporting.placements.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.placements.list": list_placements -"/dfareporting:v2.7/dfareporting.placements.list/advertiserIds": advertiser_ids -"/dfareporting:v2.7/dfareporting.placements.list/archived": archived -"/dfareporting:v2.7/dfareporting.placements.list/campaignIds": campaign_ids -"/dfareporting:v2.7/dfareporting.placements.list/compatibilities": compatibilities -"/dfareporting:v2.7/dfareporting.placements.list/contentCategoryIds": content_category_ids -"/dfareporting:v2.7/dfareporting.placements.list/directorySiteIds": directory_site_ids -"/dfareporting:v2.7/dfareporting.placements.list/groupIds": group_ids -"/dfareporting:v2.7/dfareporting.placements.list/ids": ids -"/dfareporting:v2.7/dfareporting.placements.list/maxEndDate": max_end_date -"/dfareporting:v2.7/dfareporting.placements.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.placements.list/maxStartDate": max_start_date -"/dfareporting:v2.7/dfareporting.placements.list/minEndDate": min_end_date -"/dfareporting:v2.7/dfareporting.placements.list/minStartDate": min_start_date -"/dfareporting:v2.7/dfareporting.placements.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.placements.list/paymentSource": payment_source -"/dfareporting:v2.7/dfareporting.placements.list/placementStrategyIds": placement_strategy_ids -"/dfareporting:v2.7/dfareporting.placements.list/pricingTypes": pricing_types -"/dfareporting:v2.7/dfareporting.placements.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.placements.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.placements.list/siteIds": site_ids -"/dfareporting:v2.7/dfareporting.placements.list/sizeIds": size_ids -"/dfareporting:v2.7/dfareporting.placements.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.placements.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.placements.patch": patch_placement -"/dfareporting:v2.7/dfareporting.placements.patch/id": id -"/dfareporting:v2.7/dfareporting.placements.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.placements.update": update_placement -"/dfareporting:v2.7/dfareporting.placements.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.platformTypes.get": get_platform_type -"/dfareporting:v2.7/dfareporting.platformTypes.get/id": id -"/dfareporting:v2.7/dfareporting.platformTypes.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.platformTypes.list": list_platform_types -"/dfareporting:v2.7/dfareporting.platformTypes.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.postalCodes.get": get_postal_code -"/dfareporting:v2.7/dfareporting.postalCodes.get/code": code -"/dfareporting:v2.7/dfareporting.postalCodes.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.postalCodes.list": list_postal_codes -"/dfareporting:v2.7/dfareporting.postalCodes.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.projects.get": get_project -"/dfareporting:v2.7/dfareporting.projects.get/id": id -"/dfareporting:v2.7/dfareporting.projects.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.projects.list": list_projects -"/dfareporting:v2.7/dfareporting.projects.list/advertiserIds": advertiser_ids -"/dfareporting:v2.7/dfareporting.projects.list/ids": ids -"/dfareporting:v2.7/dfareporting.projects.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.projects.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.projects.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.projects.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.projects.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.projects.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.regions.list": list_regions -"/dfareporting:v2.7/dfareporting.regions.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.remarketingListShares.get": get_remarketing_list_share -"/dfareporting:v2.7/dfareporting.remarketingListShares.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.remarketingListShares.get/remarketingListId": remarketing_list_id -"/dfareporting:v2.7/dfareporting.remarketingListShares.patch": patch_remarketing_list_share -"/dfareporting:v2.7/dfareporting.remarketingListShares.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.remarketingListShares.patch/remarketingListId": remarketing_list_id -"/dfareporting:v2.7/dfareporting.remarketingListShares.update": update_remarketing_list_share -"/dfareporting:v2.7/dfareporting.remarketingListShares.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.remarketingLists.get": get_remarketing_list -"/dfareporting:v2.7/dfareporting.remarketingLists.get/id": id -"/dfareporting:v2.7/dfareporting.remarketingLists.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.remarketingLists.insert": insert_remarketing_list -"/dfareporting:v2.7/dfareporting.remarketingLists.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.remarketingLists.list": list_remarketing_lists -"/dfareporting:v2.7/dfareporting.remarketingLists.list/active": active -"/dfareporting:v2.7/dfareporting.remarketingLists.list/advertiserId": advertiser_id -"/dfareporting:v2.7/dfareporting.remarketingLists.list/floodlightActivityId": floodlight_activity_id -"/dfareporting:v2.7/dfareporting.remarketingLists.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.remarketingLists.list/name": name -"/dfareporting:v2.7/dfareporting.remarketingLists.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.remarketingLists.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.remarketingLists.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.remarketingLists.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.remarketingLists.patch": patch_remarketing_list -"/dfareporting:v2.7/dfareporting.remarketingLists.patch/id": id -"/dfareporting:v2.7/dfareporting.remarketingLists.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.remarketingLists.update": update_remarketing_list -"/dfareporting:v2.7/dfareporting.remarketingLists.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.reports.delete": delete_report -"/dfareporting:v2.7/dfareporting.reports.delete/profileId": profile_id -"/dfareporting:v2.7/dfareporting.reports.delete/reportId": report_id -"/dfareporting:v2.7/dfareporting.reports.get": get_report -"/dfareporting:v2.7/dfareporting.reports.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.reports.get/reportId": report_id -"/dfareporting:v2.7/dfareporting.reports.insert": insert_report -"/dfareporting:v2.7/dfareporting.reports.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.reports.list": list_reports -"/dfareporting:v2.7/dfareporting.reports.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.reports.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.reports.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.reports.list/scope": scope -"/dfareporting:v2.7/dfareporting.reports.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.reports.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.reports.patch": patch_report -"/dfareporting:v2.7/dfareporting.reports.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.reports.patch/reportId": report_id -"/dfareporting:v2.7/dfareporting.reports.run": run_report -"/dfareporting:v2.7/dfareporting.reports.run/profileId": profile_id -"/dfareporting:v2.7/dfareporting.reports.run/reportId": report_id -"/dfareporting:v2.7/dfareporting.reports.run/synchronous": synchronous -"/dfareporting:v2.7/dfareporting.reports.update": update_report -"/dfareporting:v2.7/dfareporting.reports.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.reports.update/reportId": report_id -"/dfareporting:v2.7/dfareporting.reports.compatibleFields.query": query_report_compatible_field -"/dfareporting:v2.7/dfareporting.reports.compatibleFields.query/profileId": profile_id -"/dfareporting:v2.7/dfareporting.reports.files.get": get_report_file -"/dfareporting:v2.7/dfareporting.reports.files.get/fileId": file_id -"/dfareporting:v2.7/dfareporting.reports.files.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.reports.files.get/reportId": report_id -"/dfareporting:v2.7/dfareporting.reports.files.list": list_report_files -"/dfareporting:v2.7/dfareporting.reports.files.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.reports.files.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.reports.files.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.reports.files.list/reportId": report_id -"/dfareporting:v2.7/dfareporting.reports.files.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.reports.files.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.sites.get": get_site -"/dfareporting:v2.7/dfareporting.sites.get/id": id -"/dfareporting:v2.7/dfareporting.sites.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.sites.insert": insert_site -"/dfareporting:v2.7/dfareporting.sites.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.sites.list": list_sites -"/dfareporting:v2.7/dfareporting.sites.list/acceptsInStreamVideoPlacements": accepts_in_stream_video_placements -"/dfareporting:v2.7/dfareporting.sites.list/acceptsInterstitialPlacements": accepts_interstitial_placements -"/dfareporting:v2.7/dfareporting.sites.list/acceptsPublisherPaidPlacements": accepts_publisher_paid_placements -"/dfareporting:v2.7/dfareporting.sites.list/adWordsSite": ad_words_site -"/dfareporting:v2.7/dfareporting.sites.list/approved": approved -"/dfareporting:v2.7/dfareporting.sites.list/campaignIds": campaign_ids -"/dfareporting:v2.7/dfareporting.sites.list/directorySiteIds": directory_site_ids -"/dfareporting:v2.7/dfareporting.sites.list/ids": ids -"/dfareporting:v2.7/dfareporting.sites.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.sites.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.sites.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.sites.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.sites.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.sites.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.sites.list/subaccountId": subaccount_id -"/dfareporting:v2.7/dfareporting.sites.list/unmappedSite": unmapped_site -"/dfareporting:v2.7/dfareporting.sites.patch": patch_site -"/dfareporting:v2.7/dfareporting.sites.patch/id": id -"/dfareporting:v2.7/dfareporting.sites.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.sites.update": update_site -"/dfareporting:v2.7/dfareporting.sites.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.sizes.get": get_size -"/dfareporting:v2.7/dfareporting.sizes.get/id": id -"/dfareporting:v2.7/dfareporting.sizes.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.sizes.insert": insert_size -"/dfareporting:v2.7/dfareporting.sizes.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.sizes.list": list_sizes -"/dfareporting:v2.7/dfareporting.sizes.list/height": height -"/dfareporting:v2.7/dfareporting.sizes.list/iabStandard": iab_standard -"/dfareporting:v2.7/dfareporting.sizes.list/ids": ids -"/dfareporting:v2.7/dfareporting.sizes.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.sizes.list/width": width -"/dfareporting:v2.7/dfareporting.subaccounts.get": get_subaccount -"/dfareporting:v2.7/dfareporting.subaccounts.get/id": id -"/dfareporting:v2.7/dfareporting.subaccounts.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.subaccounts.insert": insert_subaccount -"/dfareporting:v2.7/dfareporting.subaccounts.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.subaccounts.list": list_subaccounts -"/dfareporting:v2.7/dfareporting.subaccounts.list/ids": ids -"/dfareporting:v2.7/dfareporting.subaccounts.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.subaccounts.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.subaccounts.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.subaccounts.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.subaccounts.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.subaccounts.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.subaccounts.patch": patch_subaccount -"/dfareporting:v2.7/dfareporting.subaccounts.patch/id": id -"/dfareporting:v2.7/dfareporting.subaccounts.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.subaccounts.update": update_subaccount -"/dfareporting:v2.7/dfareporting.subaccounts.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.get": get_targetable_remarketing_list -"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.get/id": id -"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list": list_targetable_remarketing_lists -"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/active": active -"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/advertiserId": advertiser_id -"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/name": name -"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.targetingTemplates.get": get_targeting_template -"/dfareporting:v2.7/dfareporting.targetingTemplates.get/id": id -"/dfareporting:v2.7/dfareporting.targetingTemplates.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.targetingTemplates.insert": insert_targeting_template -"/dfareporting:v2.7/dfareporting.targetingTemplates.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.targetingTemplates.list": list_targeting_templates -"/dfareporting:v2.7/dfareporting.targetingTemplates.list/advertiserId": advertiser_id -"/dfareporting:v2.7/dfareporting.targetingTemplates.list/ids": ids -"/dfareporting:v2.7/dfareporting.targetingTemplates.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.targetingTemplates.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.targetingTemplates.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.targetingTemplates.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.targetingTemplates.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.targetingTemplates.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.targetingTemplates.patch": patch_targeting_template -"/dfareporting:v2.7/dfareporting.targetingTemplates.patch/id": id -"/dfareporting:v2.7/dfareporting.targetingTemplates.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.targetingTemplates.update": update_targeting_template -"/dfareporting:v2.7/dfareporting.targetingTemplates.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.userProfiles.get": get_user_profile -"/dfareporting:v2.7/dfareporting.userProfiles.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.userProfiles.list": list_user_profiles -"/dfareporting:v2.7/dfareporting.userRolePermissionGroups.get": get_user_role_permission_group -"/dfareporting:v2.7/dfareporting.userRolePermissionGroups.get/id": id -"/dfareporting:v2.7/dfareporting.userRolePermissionGroups.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.userRolePermissionGroups.list": list_user_role_permission_groups -"/dfareporting:v2.7/dfareporting.userRolePermissionGroups.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.userRolePermissions.get": get_user_role_permission -"/dfareporting:v2.7/dfareporting.userRolePermissions.get/id": id -"/dfareporting:v2.7/dfareporting.userRolePermissions.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.userRolePermissions.list": list_user_role_permissions -"/dfareporting:v2.7/dfareporting.userRolePermissions.list/ids": ids -"/dfareporting:v2.7/dfareporting.userRolePermissions.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.userRoles.delete": delete_user_role -"/dfareporting:v2.7/dfareporting.userRoles.delete/id": id -"/dfareporting:v2.7/dfareporting.userRoles.delete/profileId": profile_id -"/dfareporting:v2.7/dfareporting.userRoles.get": get_user_role -"/dfareporting:v2.7/dfareporting.userRoles.get/id": id -"/dfareporting:v2.7/dfareporting.userRoles.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.userRoles.insert": insert_user_role -"/dfareporting:v2.7/dfareporting.userRoles.insert/profileId": profile_id -"/dfareporting:v2.7/dfareporting.userRoles.list": list_user_roles -"/dfareporting:v2.7/dfareporting.userRoles.list/accountUserRoleOnly": account_user_role_only -"/dfareporting:v2.7/dfareporting.userRoles.list/ids": ids -"/dfareporting:v2.7/dfareporting.userRoles.list/maxResults": max_results -"/dfareporting:v2.7/dfareporting.userRoles.list/pageToken": page_token -"/dfareporting:v2.7/dfareporting.userRoles.list/profileId": profile_id -"/dfareporting:v2.7/dfareporting.userRoles.list/searchString": search_string -"/dfareporting:v2.7/dfareporting.userRoles.list/sortField": sort_field -"/dfareporting:v2.7/dfareporting.userRoles.list/sortOrder": sort_order -"/dfareporting:v2.7/dfareporting.userRoles.list/subaccountId": subaccount_id -"/dfareporting:v2.7/dfareporting.userRoles.patch": patch_user_role -"/dfareporting:v2.7/dfareporting.userRoles.patch/id": id -"/dfareporting:v2.7/dfareporting.userRoles.patch/profileId": profile_id -"/dfareporting:v2.7/dfareporting.userRoles.update": update_user_role -"/dfareporting:v2.7/dfareporting.userRoles.update/profileId": profile_id -"/dfareporting:v2.7/dfareporting.videoFormats.get": get_video_format -"/dfareporting:v2.7/dfareporting.videoFormats.get/id": id -"/dfareporting:v2.7/dfareporting.videoFormats.get/profileId": profile_id -"/dfareporting:v2.7/dfareporting.videoFormats.list": list_video_formats -"/dfareporting:v2.7/dfareporting.videoFormats.list/profileId": profile_id +"/deploymentmanager:v2/fields": fields +"/deploymentmanager:v2/key": key +"/deploymentmanager:v2/quotaUser": quota_user +"/deploymentmanager:v2/userIp": user_ip +"/deploymentmanager:v2beta1/DeploymentsListResponse": list_deployments_response +"/deploymentmanager:v2beta1/ManifestsListResponse": list_manifests_response +"/deploymentmanager:v2beta1/OperationsListResponse": list_operations_response +"/deploymentmanager:v2beta1/ResourcesListResponse": list_resources_response +"/deploymentmanager:v2beta1/TypesListResponse": list_types_response +"/deploymentmanager:v2beta2/DeploymentsListResponse": list_deployments_response +"/deploymentmanager:v2beta2/ManifestsListResponse": list_manifests_response +"/deploymentmanager:v2beta2/OperationsListResponse": list_operations_response +"/deploymentmanager:v2beta2/ResourcesListResponse": list_resources_response +"/deploymentmanager:v2beta2/TypesListResponse": list_types_response +"/dfareporting:v2.6/AccountPermissionGroupsListResponse": list_account_permission_groups_response +"/dfareporting:v2.6/AccountPermissionsListResponse": list_account_permissions_response +"/dfareporting:v2.6/AccountUserProfilesListResponse": list_account_user_profiles_response +"/dfareporting:v2.6/AccountsListResponse": list_accounts_response +"/dfareporting:v2.6/AdsListResponse": list_ads_response +"/dfareporting:v2.6/AdvertiserGroupsListResponse": list_advertiser_groups_response +"/dfareporting:v2.6/AdvertisersListResponse": list_advertisers_response +"/dfareporting:v2.6/BrowsersListResponse": list_browsers_response +"/dfareporting:v2.6/CampaignCreativeAssociationsListResponse": list_campaign_creative_associations_response +"/dfareporting:v2.6/CampaignsListResponse": list_campaigns_response +"/dfareporting:v2.6/ChangeLog/objectId": obj_id +"/dfareporting:v2.6/ChangeLogsListResponse": list_change_logs_response +"/dfareporting:v2.6/CitiesListResponse": list_cities_response +"/dfareporting:v2.6/ConnectionTypesListResponse": list_connection_types_response +"/dfareporting:v2.6/ContentCategoriesListResponse": list_content_categories_response +"/dfareporting:v2.6/CountriesListResponse": list_countries_response +"/dfareporting:v2.6/CreativeFieldValuesListResponse": list_creative_field_values_response +"/dfareporting:v2.6/CreativeFieldsListResponse": list_creative_fields_response +"/dfareporting:v2.6/CreativeGroupsListResponse": list_creative_groups_response +"/dfareporting:v2.6/CreativesListResponse": list_creatives_response +"/dfareporting:v2.6/DimensionValueRequest": dimension_value_request +"/dfareporting:v2.6/DirectorySiteContactsListResponse": list_directory_site_contacts_response +"/dfareporting:v2.6/DirectorySitesListResponse": list_directory_sites_response +"/dfareporting:v2.6/EventTagsListResponse": list_event_tags_response +"/dfareporting:v2.6/FloodlightActivitiesGenerateTagResponse": floodlight_activities_generate_tag_response +"/dfareporting:v2.6/FloodlightActivitiesListResponse": list_floodlight_activities_response +"/dfareporting:v2.6/FloodlightActivityGroupsListResponse": list_floodlight_activity_groups_response +"/dfareporting:v2.6/FloodlightConfigurationsListResponse": list_floodlight_configurations_response +"/dfareporting:v2.6/InventoryItemsListResponse": list_inventory_items_response +"/dfareporting:v2.6/LandingPagesListResponse": list_landing_pages_response +"/dfareporting:v2.6/MetrosListResponse": list_metros_response +"/dfareporting:v2.6/MobileCarriersListResponse": list_mobile_carriers_response +"/dfareporting:v2.6/ObjectFilter/objectIds/object_id": obj_id +"/dfareporting:v2.6/OperatingSystemVersionsListResponse": list_operating_system_versions_response +"/dfareporting:v2.6/OperatingSystemsListResponse": list_operating_systems_response +"/dfareporting:v2.6/OrderDocumentsListResponse": list_order_documents_response +"/dfareporting:v2.6/OrdersListResponse": list_orders_response +"/dfareporting:v2.6/PlacementGroupsListResponse": list_placement_groups_response +"/dfareporting:v2.6/PlacementStrategiesListResponse": list_placement_strategies_response +"/dfareporting:v2.6/PlacementsGenerateTagsResponse": generate_placements_tags_response +"/dfareporting:v2.6/PlacementsListResponse": list_placements_response +"/dfareporting:v2.6/PlatformTypesListResponse": list_platform_types_response +"/dfareporting:v2.6/PostalCodesListResponse": list_postal_codes_response +"/dfareporting:v2.6/ProjectsListResponse": list_projects_response +"/dfareporting:v2.6/RegionsListResponse": list_regions_response +"/dfareporting:v2.6/RemarketingListsListResponse": list_remarketing_lists_response +"/dfareporting:v2.6/SitesListResponse": list_sites_response +"/dfareporting:v2.6/SizesListResponse": list_sizes_response +"/dfareporting:v2.6/SubaccountsListResponse": list_subaccounts_response +"/dfareporting:v2.6/TargetableRemarketingListsListResponse": list_targetable_remarketing_lists_response +"/dfareporting:v2.6/UserRolePermissionGroupsListResponse": list_user_role_permission_groups_response +"/dfareporting:v2.6/UserRolePermissionsListResponse": list_user_role_permissions_response +"/dfareporting:v2.6/UserRolesListResponse": list_user_roles_response +"/dfareporting:v2.6/dfareporting.floodlightActivities.generatetag": generate_floodlight_activity_tag +"/dfareporting:v2.6/dfareporting.placements.generatetags": generate_placement_tags "/dfareporting:v2.7/Account": account "/dfareporting:v2.7/Account/accountPermissionIds": account_permission_ids "/dfareporting:v2.7/Account/accountPermissionIds/account_permission_id": account_permission_id @@ -23469,878 +22861,876 @@ "/dfareporting:v2.7/VideoSettings/kind": kind "/dfareporting:v2.7/VideoSettings/skippableSettings": skippable_settings "/dfareporting:v2.7/VideoSettings/transcodeSettings": transcode_settings -"/dfareporting:v2.8/fields": fields -"/dfareporting:v2.8/key": key -"/dfareporting:v2.8/quotaUser": quota_user -"/dfareporting:v2.8/userIp": user_ip -"/dfareporting:v2.8/dfareporting.accountActiveAdSummaries.get": get_account_active_ad_summary -"/dfareporting:v2.8/dfareporting.accountActiveAdSummaries.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.accountActiveAdSummaries.get/summaryAccountId": summary_account_id -"/dfareporting:v2.8/dfareporting.accountPermissionGroups.get": get_account_permission_group -"/dfareporting:v2.8/dfareporting.accountPermissionGroups.get/id": id -"/dfareporting:v2.8/dfareporting.accountPermissionGroups.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.accountPermissionGroups.list": list_account_permission_groups -"/dfareporting:v2.8/dfareporting.accountPermissionGroups.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.accountPermissions.get": get_account_permission -"/dfareporting:v2.8/dfareporting.accountPermissions.get/id": id -"/dfareporting:v2.8/dfareporting.accountPermissions.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.accountPermissions.list": list_account_permissions -"/dfareporting:v2.8/dfareporting.accountPermissions.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.accountUserProfiles.get": get_account_user_profile -"/dfareporting:v2.8/dfareporting.accountUserProfiles.get/id": id -"/dfareporting:v2.8/dfareporting.accountUserProfiles.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.accountUserProfiles.insert": insert_account_user_profile -"/dfareporting:v2.8/dfareporting.accountUserProfiles.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.accountUserProfiles.list": list_account_user_profiles -"/dfareporting:v2.8/dfareporting.accountUserProfiles.list/active": active -"/dfareporting:v2.8/dfareporting.accountUserProfiles.list/ids": ids -"/dfareporting:v2.8/dfareporting.accountUserProfiles.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.accountUserProfiles.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.accountUserProfiles.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.accountUserProfiles.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.accountUserProfiles.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.accountUserProfiles.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.accountUserProfiles.list/subaccountId": subaccount_id -"/dfareporting:v2.8/dfareporting.accountUserProfiles.list/userRoleId": user_role_id -"/dfareporting:v2.8/dfareporting.accountUserProfiles.patch": patch_account_user_profile -"/dfareporting:v2.8/dfareporting.accountUserProfiles.patch/id": id -"/dfareporting:v2.8/dfareporting.accountUserProfiles.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.accountUserProfiles.update": update_account_user_profile -"/dfareporting:v2.8/dfareporting.accountUserProfiles.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.accounts.get": get_account -"/dfareporting:v2.8/dfareporting.accounts.get/id": id -"/dfareporting:v2.8/dfareporting.accounts.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.accounts.list": list_accounts -"/dfareporting:v2.8/dfareporting.accounts.list/active": active -"/dfareporting:v2.8/dfareporting.accounts.list/ids": ids -"/dfareporting:v2.8/dfareporting.accounts.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.accounts.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.accounts.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.accounts.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.accounts.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.accounts.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.accounts.patch": patch_account -"/dfareporting:v2.8/dfareporting.accounts.patch/id": id -"/dfareporting:v2.8/dfareporting.accounts.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.accounts.update": update_account -"/dfareporting:v2.8/dfareporting.accounts.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.ads.get": get_ad -"/dfareporting:v2.8/dfareporting.ads.get/id": id -"/dfareporting:v2.8/dfareporting.ads.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.ads.insert": insert_ad -"/dfareporting:v2.8/dfareporting.ads.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.ads.list": list_ads -"/dfareporting:v2.8/dfareporting.ads.list/active": active -"/dfareporting:v2.8/dfareporting.ads.list/advertiserId": advertiser_id -"/dfareporting:v2.8/dfareporting.ads.list/archived": archived -"/dfareporting:v2.8/dfareporting.ads.list/audienceSegmentIds": audience_segment_ids -"/dfareporting:v2.8/dfareporting.ads.list/campaignIds": campaign_ids -"/dfareporting:v2.8/dfareporting.ads.list/compatibility": compatibility -"/dfareporting:v2.8/dfareporting.ads.list/creativeIds": creative_ids -"/dfareporting:v2.8/dfareporting.ads.list/creativeOptimizationConfigurationIds": creative_optimization_configuration_ids -"/dfareporting:v2.8/dfareporting.ads.list/dynamicClickTracker": dynamic_click_tracker -"/dfareporting:v2.8/dfareporting.ads.list/ids": ids -"/dfareporting:v2.8/dfareporting.ads.list/landingPageIds": landing_page_ids -"/dfareporting:v2.8/dfareporting.ads.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.ads.list/overriddenEventTagId": overridden_event_tag_id -"/dfareporting:v2.8/dfareporting.ads.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.ads.list/placementIds": placement_ids -"/dfareporting:v2.8/dfareporting.ads.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.ads.list/remarketingListIds": remarketing_list_ids -"/dfareporting:v2.8/dfareporting.ads.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.ads.list/sizeIds": size_ids -"/dfareporting:v2.8/dfareporting.ads.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.ads.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.ads.list/sslCompliant": ssl_compliant -"/dfareporting:v2.8/dfareporting.ads.list/sslRequired": ssl_required -"/dfareporting:v2.8/dfareporting.ads.list/type": type -"/dfareporting:v2.8/dfareporting.ads.patch": patch_ad -"/dfareporting:v2.8/dfareporting.ads.patch/id": id -"/dfareporting:v2.8/dfareporting.ads.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.ads.update": update_ad -"/dfareporting:v2.8/dfareporting.ads.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.advertiserGroups.delete": delete_advertiser_group -"/dfareporting:v2.8/dfareporting.advertiserGroups.delete/id": id -"/dfareporting:v2.8/dfareporting.advertiserGroups.delete/profileId": profile_id -"/dfareporting:v2.8/dfareporting.advertiserGroups.get": get_advertiser_group -"/dfareporting:v2.8/dfareporting.advertiserGroups.get/id": id -"/dfareporting:v2.8/dfareporting.advertiserGroups.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.advertiserGroups.insert": insert_advertiser_group -"/dfareporting:v2.8/dfareporting.advertiserGroups.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.advertiserGroups.list": list_advertiser_groups -"/dfareporting:v2.8/dfareporting.advertiserGroups.list/ids": ids -"/dfareporting:v2.8/dfareporting.advertiserGroups.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.advertiserGroups.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.advertiserGroups.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.advertiserGroups.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.advertiserGroups.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.advertiserGroups.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.advertiserGroups.patch": patch_advertiser_group -"/dfareporting:v2.8/dfareporting.advertiserGroups.patch/id": id -"/dfareporting:v2.8/dfareporting.advertiserGroups.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.advertiserGroups.update": update_advertiser_group -"/dfareporting:v2.8/dfareporting.advertiserGroups.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.advertisers.get": get_advertiser -"/dfareporting:v2.8/dfareporting.advertisers.get/id": id -"/dfareporting:v2.8/dfareporting.advertisers.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.advertisers.insert": insert_advertiser -"/dfareporting:v2.8/dfareporting.advertisers.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.advertisers.list": list_advertisers -"/dfareporting:v2.8/dfareporting.advertisers.list/advertiserGroupIds": advertiser_group_ids -"/dfareporting:v2.8/dfareporting.advertisers.list/floodlightConfigurationIds": floodlight_configuration_ids -"/dfareporting:v2.8/dfareporting.advertisers.list/ids": ids -"/dfareporting:v2.8/dfareporting.advertisers.list/includeAdvertisersWithoutGroupsOnly": include_advertisers_without_groups_only -"/dfareporting:v2.8/dfareporting.advertisers.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.advertisers.list/onlyParent": only_parent -"/dfareporting:v2.8/dfareporting.advertisers.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.advertisers.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.advertisers.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.advertisers.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.advertisers.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.advertisers.list/status": status -"/dfareporting:v2.8/dfareporting.advertisers.list/subaccountId": subaccount_id -"/dfareporting:v2.8/dfareporting.advertisers.patch": patch_advertiser -"/dfareporting:v2.8/dfareporting.advertisers.patch/id": id -"/dfareporting:v2.8/dfareporting.advertisers.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.advertisers.update": update_advertiser -"/dfareporting:v2.8/dfareporting.advertisers.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.browsers.list": list_browsers -"/dfareporting:v2.8/dfareporting.browsers.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.campaignCreativeAssociations.insert": insert_campaign_creative_association -"/dfareporting:v2.8/dfareporting.campaignCreativeAssociations.insert/campaignId": campaign_id -"/dfareporting:v2.8/dfareporting.campaignCreativeAssociations.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.campaignCreativeAssociations.list": list_campaign_creative_associations -"/dfareporting:v2.8/dfareporting.campaignCreativeAssociations.list/campaignId": campaign_id -"/dfareporting:v2.8/dfareporting.campaignCreativeAssociations.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.campaignCreativeAssociations.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.campaignCreativeAssociations.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.campaignCreativeAssociations.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.campaigns.get": get_campaign -"/dfareporting:v2.8/dfareporting.campaigns.get/id": id -"/dfareporting:v2.8/dfareporting.campaigns.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.campaigns.insert": insert_campaign -"/dfareporting:v2.8/dfareporting.campaigns.insert/defaultLandingPageName": default_landing_page_name -"/dfareporting:v2.8/dfareporting.campaigns.insert/defaultLandingPageUrl": default_landing_page_url -"/dfareporting:v2.8/dfareporting.campaigns.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.campaigns.list": list_campaigns -"/dfareporting:v2.8/dfareporting.campaigns.list/advertiserGroupIds": advertiser_group_ids -"/dfareporting:v2.8/dfareporting.campaigns.list/advertiserIds": advertiser_ids -"/dfareporting:v2.8/dfareporting.campaigns.list/archived": archived -"/dfareporting:v2.8/dfareporting.campaigns.list/atLeastOneOptimizationActivity": at_least_one_optimization_activity -"/dfareporting:v2.8/dfareporting.campaigns.list/excludedIds": excluded_ids -"/dfareporting:v2.8/dfareporting.campaigns.list/ids": ids -"/dfareporting:v2.8/dfareporting.campaigns.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.campaigns.list/overriddenEventTagId": overridden_event_tag_id -"/dfareporting:v2.8/dfareporting.campaigns.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.campaigns.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.campaigns.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.campaigns.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.campaigns.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.campaigns.list/subaccountId": subaccount_id -"/dfareporting:v2.8/dfareporting.campaigns.patch": patch_campaign -"/dfareporting:v2.8/dfareporting.campaigns.patch/id": id -"/dfareporting:v2.8/dfareporting.campaigns.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.campaigns.update": update_campaign -"/dfareporting:v2.8/dfareporting.campaigns.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.changeLogs.get": get_change_log -"/dfareporting:v2.8/dfareporting.changeLogs.get/id": id -"/dfareporting:v2.8/dfareporting.changeLogs.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.changeLogs.list": list_change_logs -"/dfareporting:v2.8/dfareporting.changeLogs.list/action": action -"/dfareporting:v2.8/dfareporting.changeLogs.list/ids": ids -"/dfareporting:v2.8/dfareporting.changeLogs.list/maxChangeTime": max_change_time -"/dfareporting:v2.8/dfareporting.changeLogs.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.changeLogs.list/minChangeTime": min_change_time -"/dfareporting:v2.8/dfareporting.changeLogs.list/objectIds": object_ids -"/dfareporting:v2.8/dfareporting.changeLogs.list/objectType": object_type -"/dfareporting:v2.8/dfareporting.changeLogs.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.changeLogs.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.changeLogs.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.changeLogs.list/userProfileIds": user_profile_ids -"/dfareporting:v2.8/dfareporting.cities.list": list_cities -"/dfareporting:v2.8/dfareporting.cities.list/countryDartIds": country_dart_ids -"/dfareporting:v2.8/dfareporting.cities.list/dartIds": dart_ids -"/dfareporting:v2.8/dfareporting.cities.list/namePrefix": name_prefix -"/dfareporting:v2.8/dfareporting.cities.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.cities.list/regionDartIds": region_dart_ids -"/dfareporting:v2.8/dfareporting.connectionTypes.get": get_connection_type -"/dfareporting:v2.8/dfareporting.connectionTypes.get/id": id -"/dfareporting:v2.8/dfareporting.connectionTypes.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.connectionTypes.list": list_connection_types -"/dfareporting:v2.8/dfareporting.connectionTypes.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.contentCategories.delete": delete_content_category -"/dfareporting:v2.8/dfareporting.contentCategories.delete/id": id -"/dfareporting:v2.8/dfareporting.contentCategories.delete/profileId": profile_id -"/dfareporting:v2.8/dfareporting.contentCategories.get": get_content_category -"/dfareporting:v2.8/dfareporting.contentCategories.get/id": id -"/dfareporting:v2.8/dfareporting.contentCategories.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.contentCategories.insert": insert_content_category -"/dfareporting:v2.8/dfareporting.contentCategories.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.contentCategories.list": list_content_categories -"/dfareporting:v2.8/dfareporting.contentCategories.list/ids": ids -"/dfareporting:v2.8/dfareporting.contentCategories.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.contentCategories.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.contentCategories.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.contentCategories.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.contentCategories.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.contentCategories.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.contentCategories.patch": patch_content_category -"/dfareporting:v2.8/dfareporting.contentCategories.patch/id": id -"/dfareporting:v2.8/dfareporting.contentCategories.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.contentCategories.update": update_content_category -"/dfareporting:v2.8/dfareporting.contentCategories.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.conversions.batchinsert": batchinsert_conversion -"/dfareporting:v2.8/dfareporting.conversions.batchinsert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.conversions.batchupdate": batchupdate_conversion -"/dfareporting:v2.8/dfareporting.conversions.batchupdate/profileId": profile_id -"/dfareporting:v2.8/dfareporting.countries.get": get_country -"/dfareporting:v2.8/dfareporting.countries.get/dartId": dart_id -"/dfareporting:v2.8/dfareporting.countries.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.countries.list": list_countries -"/dfareporting:v2.8/dfareporting.countries.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.creativeAssets.insert": insert_creative_asset -"/dfareporting:v2.8/dfareporting.creativeAssets.insert/advertiserId": advertiser_id -"/dfareporting:v2.8/dfareporting.creativeAssets.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.creativeFieldValues.delete": delete_creative_field_value -"/dfareporting:v2.8/dfareporting.creativeFieldValues.delete/creativeFieldId": creative_field_id -"/dfareporting:v2.8/dfareporting.creativeFieldValues.delete/id": id -"/dfareporting:v2.8/dfareporting.creativeFieldValues.delete/profileId": profile_id -"/dfareporting:v2.8/dfareporting.creativeFieldValues.get": get_creative_field_value -"/dfareporting:v2.8/dfareporting.creativeFieldValues.get/creativeFieldId": creative_field_id -"/dfareporting:v2.8/dfareporting.creativeFieldValues.get/id": id -"/dfareporting:v2.8/dfareporting.creativeFieldValues.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.creativeFieldValues.insert": insert_creative_field_value -"/dfareporting:v2.8/dfareporting.creativeFieldValues.insert/creativeFieldId": creative_field_id -"/dfareporting:v2.8/dfareporting.creativeFieldValues.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.creativeFieldValues.list": list_creative_field_values -"/dfareporting:v2.8/dfareporting.creativeFieldValues.list/creativeFieldId": creative_field_id -"/dfareporting:v2.8/dfareporting.creativeFieldValues.list/ids": ids -"/dfareporting:v2.8/dfareporting.creativeFieldValues.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.creativeFieldValues.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.creativeFieldValues.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.creativeFieldValues.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.creativeFieldValues.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.creativeFieldValues.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.creativeFieldValues.patch": patch_creative_field_value -"/dfareporting:v2.8/dfareporting.creativeFieldValues.patch/creativeFieldId": creative_field_id -"/dfareporting:v2.8/dfareporting.creativeFieldValues.patch/id": id -"/dfareporting:v2.8/dfareporting.creativeFieldValues.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.creativeFieldValues.update": update_creative_field_value -"/dfareporting:v2.8/dfareporting.creativeFieldValues.update/creativeFieldId": creative_field_id -"/dfareporting:v2.8/dfareporting.creativeFieldValues.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.creativeFields.delete": delete_creative_field -"/dfareporting:v2.8/dfareporting.creativeFields.delete/id": id -"/dfareporting:v2.8/dfareporting.creativeFields.delete/profileId": profile_id -"/dfareporting:v2.8/dfareporting.creativeFields.get": get_creative_field -"/dfareporting:v2.8/dfareporting.creativeFields.get/id": id -"/dfareporting:v2.8/dfareporting.creativeFields.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.creativeFields.insert": insert_creative_field -"/dfareporting:v2.8/dfareporting.creativeFields.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.creativeFields.list": list_creative_fields -"/dfareporting:v2.8/dfareporting.creativeFields.list/advertiserIds": advertiser_ids -"/dfareporting:v2.8/dfareporting.creativeFields.list/ids": ids -"/dfareporting:v2.8/dfareporting.creativeFields.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.creativeFields.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.creativeFields.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.creativeFields.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.creativeFields.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.creativeFields.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.creativeFields.patch": patch_creative_field -"/dfareporting:v2.8/dfareporting.creativeFields.patch/id": id -"/dfareporting:v2.8/dfareporting.creativeFields.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.creativeFields.update": update_creative_field -"/dfareporting:v2.8/dfareporting.creativeFields.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.creativeGroups.get": get_creative_group -"/dfareporting:v2.8/dfareporting.creativeGroups.get/id": id -"/dfareporting:v2.8/dfareporting.creativeGroups.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.creativeGroups.insert": insert_creative_group -"/dfareporting:v2.8/dfareporting.creativeGroups.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.creativeGroups.list": list_creative_groups -"/dfareporting:v2.8/dfareporting.creativeGroups.list/advertiserIds": advertiser_ids -"/dfareporting:v2.8/dfareporting.creativeGroups.list/groupNumber": group_number -"/dfareporting:v2.8/dfareporting.creativeGroups.list/ids": ids -"/dfareporting:v2.8/dfareporting.creativeGroups.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.creativeGroups.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.creativeGroups.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.creativeGroups.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.creativeGroups.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.creativeGroups.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.creativeGroups.patch": patch_creative_group -"/dfareporting:v2.8/dfareporting.creativeGroups.patch/id": id -"/dfareporting:v2.8/dfareporting.creativeGroups.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.creativeGroups.update": update_creative_group -"/dfareporting:v2.8/dfareporting.creativeGroups.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.creatives.get": get_creative -"/dfareporting:v2.8/dfareporting.creatives.get/id": id -"/dfareporting:v2.8/dfareporting.creatives.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.creatives.insert": insert_creative -"/dfareporting:v2.8/dfareporting.creatives.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.creatives.list": list_creatives -"/dfareporting:v2.8/dfareporting.creatives.list/active": active -"/dfareporting:v2.8/dfareporting.creatives.list/advertiserId": advertiser_id -"/dfareporting:v2.8/dfareporting.creatives.list/archived": archived -"/dfareporting:v2.8/dfareporting.creatives.list/campaignId": campaign_id -"/dfareporting:v2.8/dfareporting.creatives.list/companionCreativeIds": companion_creative_ids -"/dfareporting:v2.8/dfareporting.creatives.list/creativeFieldIds": creative_field_ids -"/dfareporting:v2.8/dfareporting.creatives.list/ids": ids -"/dfareporting:v2.8/dfareporting.creatives.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.creatives.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.creatives.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.creatives.list/renderingIds": rendering_ids -"/dfareporting:v2.8/dfareporting.creatives.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.creatives.list/sizeIds": size_ids -"/dfareporting:v2.8/dfareporting.creatives.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.creatives.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.creatives.list/studioCreativeId": studio_creative_id -"/dfareporting:v2.8/dfareporting.creatives.list/types": types -"/dfareporting:v2.8/dfareporting.creatives.patch": patch_creative -"/dfareporting:v2.8/dfareporting.creatives.patch/id": id -"/dfareporting:v2.8/dfareporting.creatives.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.creatives.update": update_creative -"/dfareporting:v2.8/dfareporting.creatives.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.dimensionValues.query": query_dimension_value -"/dfareporting:v2.8/dfareporting.dimensionValues.query/maxResults": max_results -"/dfareporting:v2.8/dfareporting.dimensionValues.query/pageToken": page_token -"/dfareporting:v2.8/dfareporting.dimensionValues.query/profileId": profile_id -"/dfareporting:v2.8/dfareporting.directorySiteContacts.get": get_directory_site_contact -"/dfareporting:v2.8/dfareporting.directorySiteContacts.get/id": id -"/dfareporting:v2.8/dfareporting.directorySiteContacts.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.directorySiteContacts.list": list_directory_site_contacts -"/dfareporting:v2.8/dfareporting.directorySiteContacts.list/directorySiteIds": directory_site_ids -"/dfareporting:v2.8/dfareporting.directorySiteContacts.list/ids": ids -"/dfareporting:v2.8/dfareporting.directorySiteContacts.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.directorySiteContacts.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.directorySiteContacts.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.directorySiteContacts.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.directorySiteContacts.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.directorySiteContacts.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.directorySites.get": get_directory_site -"/dfareporting:v2.8/dfareporting.directorySites.get/id": id -"/dfareporting:v2.8/dfareporting.directorySites.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.directorySites.insert": insert_directory_site -"/dfareporting:v2.8/dfareporting.directorySites.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.directorySites.list": list_directory_sites -"/dfareporting:v2.8/dfareporting.directorySites.list/acceptsInStreamVideoPlacements": accepts_in_stream_video_placements -"/dfareporting:v2.8/dfareporting.directorySites.list/acceptsInterstitialPlacements": accepts_interstitial_placements -"/dfareporting:v2.8/dfareporting.directorySites.list/acceptsPublisherPaidPlacements": accepts_publisher_paid_placements -"/dfareporting:v2.8/dfareporting.directorySites.list/active": active -"/dfareporting:v2.8/dfareporting.directorySites.list/countryId": country_id -"/dfareporting:v2.8/dfareporting.directorySites.list/dfpNetworkCode": dfp_network_code -"/dfareporting:v2.8/dfareporting.directorySites.list/ids": ids -"/dfareporting:v2.8/dfareporting.directorySites.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.directorySites.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.directorySites.list/parentId": parent_id -"/dfareporting:v2.8/dfareporting.directorySites.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.directorySites.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.directorySites.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.directorySites.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.delete": delete_dynamic_targeting_key -"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.delete/name": name -"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.delete/objectId": object_id_ -"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.delete/objectType": object_type -"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.delete/profileId": profile_id -"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.insert": insert_dynamic_targeting_key -"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.list": list_dynamic_targeting_keys -"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.list/advertiserId": advertiser_id -"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.list/names": names -"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.list/objectId": object_id_ -"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.list/objectType": object_type -"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.eventTags.delete": delete_event_tag -"/dfareporting:v2.8/dfareporting.eventTags.delete/id": id -"/dfareporting:v2.8/dfareporting.eventTags.delete/profileId": profile_id -"/dfareporting:v2.8/dfareporting.eventTags.get": get_event_tag -"/dfareporting:v2.8/dfareporting.eventTags.get/id": id -"/dfareporting:v2.8/dfareporting.eventTags.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.eventTags.insert": insert_event_tag -"/dfareporting:v2.8/dfareporting.eventTags.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.eventTags.list": list_event_tags -"/dfareporting:v2.8/dfareporting.eventTags.list/adId": ad_id -"/dfareporting:v2.8/dfareporting.eventTags.list/advertiserId": advertiser_id -"/dfareporting:v2.8/dfareporting.eventTags.list/campaignId": campaign_id -"/dfareporting:v2.8/dfareporting.eventTags.list/definitionsOnly": definitions_only -"/dfareporting:v2.8/dfareporting.eventTags.list/enabled": enabled -"/dfareporting:v2.8/dfareporting.eventTags.list/eventTagTypes": event_tag_types -"/dfareporting:v2.8/dfareporting.eventTags.list/ids": ids -"/dfareporting:v2.8/dfareporting.eventTags.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.eventTags.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.eventTags.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.eventTags.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.eventTags.patch": patch_event_tag -"/dfareporting:v2.8/dfareporting.eventTags.patch/id": id -"/dfareporting:v2.8/dfareporting.eventTags.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.eventTags.update": update_event_tag -"/dfareporting:v2.8/dfareporting.eventTags.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.files.get": get_file -"/dfareporting:v2.8/dfareporting.files.get/fileId": file_id -"/dfareporting:v2.8/dfareporting.files.get/reportId": report_id -"/dfareporting:v2.8/dfareporting.files.list": list_files -"/dfareporting:v2.8/dfareporting.files.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.files.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.files.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.files.list/scope": scope -"/dfareporting:v2.8/dfareporting.files.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.files.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.floodlightActivities.delete": delete_floodlight_activity -"/dfareporting:v2.8/dfareporting.floodlightActivities.delete/id": id -"/dfareporting:v2.8/dfareporting.floodlightActivities.delete/profileId": profile_id -"/dfareporting:v2.8/dfareporting.floodlightActivities.generatetag": generatetag_floodlight_activity -"/dfareporting:v2.8/dfareporting.floodlightActivities.generatetag/floodlightActivityId": floodlight_activity_id -"/dfareporting:v2.8/dfareporting.floodlightActivities.generatetag/profileId": profile_id -"/dfareporting:v2.8/dfareporting.floodlightActivities.get": get_floodlight_activity -"/dfareporting:v2.8/dfareporting.floodlightActivities.get/id": id -"/dfareporting:v2.8/dfareporting.floodlightActivities.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.floodlightActivities.insert": insert_floodlight_activity -"/dfareporting:v2.8/dfareporting.floodlightActivities.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.floodlightActivities.list": list_floodlight_activities -"/dfareporting:v2.8/dfareporting.floodlightActivities.list/advertiserId": advertiser_id -"/dfareporting:v2.8/dfareporting.floodlightActivities.list/floodlightActivityGroupIds": floodlight_activity_group_ids -"/dfareporting:v2.8/dfareporting.floodlightActivities.list/floodlightActivityGroupName": floodlight_activity_group_name -"/dfareporting:v2.8/dfareporting.floodlightActivities.list/floodlightActivityGroupTagString": floodlight_activity_group_tag_string -"/dfareporting:v2.8/dfareporting.floodlightActivities.list/floodlightActivityGroupType": floodlight_activity_group_type -"/dfareporting:v2.8/dfareporting.floodlightActivities.list/floodlightConfigurationId": floodlight_configuration_id -"/dfareporting:v2.8/dfareporting.floodlightActivities.list/ids": ids -"/dfareporting:v2.8/dfareporting.floodlightActivities.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.floodlightActivities.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.floodlightActivities.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.floodlightActivities.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.floodlightActivities.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.floodlightActivities.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.floodlightActivities.list/tagString": tag_string -"/dfareporting:v2.8/dfareporting.floodlightActivities.patch": patch_floodlight_activity -"/dfareporting:v2.8/dfareporting.floodlightActivities.patch/id": id -"/dfareporting:v2.8/dfareporting.floodlightActivities.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.floodlightActivities.update": update_floodlight_activity -"/dfareporting:v2.8/dfareporting.floodlightActivities.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.get": get_floodlight_activity_group -"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.get/id": id -"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.insert": insert_floodlight_activity_group -"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.list": list_floodlight_activity_groups -"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.list/advertiserId": advertiser_id -"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.list/floodlightConfigurationId": floodlight_configuration_id -"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.list/ids": ids -"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.list/type": type -"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.patch": patch_floodlight_activity_group -"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.patch/id": id -"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.update": update_floodlight_activity_group -"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.floodlightConfigurations.get": get_floodlight_configuration -"/dfareporting:v2.8/dfareporting.floodlightConfigurations.get/id": id -"/dfareporting:v2.8/dfareporting.floodlightConfigurations.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.floodlightConfigurations.list": list_floodlight_configurations -"/dfareporting:v2.8/dfareporting.floodlightConfigurations.list/ids": ids -"/dfareporting:v2.8/dfareporting.floodlightConfigurations.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.floodlightConfigurations.patch": patch_floodlight_configuration -"/dfareporting:v2.8/dfareporting.floodlightConfigurations.patch/id": id -"/dfareporting:v2.8/dfareporting.floodlightConfigurations.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.floodlightConfigurations.update": update_floodlight_configuration -"/dfareporting:v2.8/dfareporting.floodlightConfigurations.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.inventoryItems.get": get_inventory_item -"/dfareporting:v2.8/dfareporting.inventoryItems.get/id": id -"/dfareporting:v2.8/dfareporting.inventoryItems.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.inventoryItems.get/projectId": project_id -"/dfareporting:v2.8/dfareporting.inventoryItems.list": list_inventory_items -"/dfareporting:v2.8/dfareporting.inventoryItems.list/ids": ids -"/dfareporting:v2.8/dfareporting.inventoryItems.list/inPlan": in_plan -"/dfareporting:v2.8/dfareporting.inventoryItems.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.inventoryItems.list/orderId": order_id -"/dfareporting:v2.8/dfareporting.inventoryItems.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.inventoryItems.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.inventoryItems.list/projectId": project_id -"/dfareporting:v2.8/dfareporting.inventoryItems.list/siteId": site_id -"/dfareporting:v2.8/dfareporting.inventoryItems.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.inventoryItems.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.inventoryItems.list/type": type -"/dfareporting:v2.8/dfareporting.landingPages.delete": delete_landing_page -"/dfareporting:v2.8/dfareporting.landingPages.delete/campaignId": campaign_id -"/dfareporting:v2.8/dfareporting.landingPages.delete/id": id -"/dfareporting:v2.8/dfareporting.landingPages.delete/profileId": profile_id -"/dfareporting:v2.8/dfareporting.landingPages.get": get_landing_page -"/dfareporting:v2.8/dfareporting.landingPages.get/campaignId": campaign_id -"/dfareporting:v2.8/dfareporting.landingPages.get/id": id -"/dfareporting:v2.8/dfareporting.landingPages.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.landingPages.insert": insert_landing_page -"/dfareporting:v2.8/dfareporting.landingPages.insert/campaignId": campaign_id -"/dfareporting:v2.8/dfareporting.landingPages.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.landingPages.list": list_landing_pages -"/dfareporting:v2.8/dfareporting.landingPages.list/campaignId": campaign_id -"/dfareporting:v2.8/dfareporting.landingPages.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.landingPages.patch": patch_landing_page -"/dfareporting:v2.8/dfareporting.landingPages.patch/campaignId": campaign_id -"/dfareporting:v2.8/dfareporting.landingPages.patch/id": id -"/dfareporting:v2.8/dfareporting.landingPages.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.landingPages.update": update_landing_page -"/dfareporting:v2.8/dfareporting.landingPages.update/campaignId": campaign_id -"/dfareporting:v2.8/dfareporting.landingPages.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.languages.list": list_languages -"/dfareporting:v2.8/dfareporting.languages.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.metros.list": list_metros -"/dfareporting:v2.8/dfareporting.metros.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.mobileCarriers.get": get_mobile_carrier -"/dfareporting:v2.8/dfareporting.mobileCarriers.get/id": id -"/dfareporting:v2.8/dfareporting.mobileCarriers.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.mobileCarriers.list": list_mobile_carriers -"/dfareporting:v2.8/dfareporting.mobileCarriers.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.operatingSystemVersions.get": get_operating_system_version -"/dfareporting:v2.8/dfareporting.operatingSystemVersions.get/id": id -"/dfareporting:v2.8/dfareporting.operatingSystemVersions.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.operatingSystemVersions.list": list_operating_system_versions -"/dfareporting:v2.8/dfareporting.operatingSystemVersions.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.operatingSystems.get": get_operating_system -"/dfareporting:v2.8/dfareporting.operatingSystems.get/dartId": dart_id -"/dfareporting:v2.8/dfareporting.operatingSystems.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.operatingSystems.list": list_operating_systems -"/dfareporting:v2.8/dfareporting.operatingSystems.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.orderDocuments.get": get_order_document -"/dfareporting:v2.8/dfareporting.orderDocuments.get/id": id -"/dfareporting:v2.8/dfareporting.orderDocuments.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.orderDocuments.get/projectId": project_id -"/dfareporting:v2.8/dfareporting.orderDocuments.list": list_order_documents -"/dfareporting:v2.8/dfareporting.orderDocuments.list/approved": approved -"/dfareporting:v2.8/dfareporting.orderDocuments.list/ids": ids -"/dfareporting:v2.8/dfareporting.orderDocuments.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.orderDocuments.list/orderId": order_id -"/dfareporting:v2.8/dfareporting.orderDocuments.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.orderDocuments.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.orderDocuments.list/projectId": project_id -"/dfareporting:v2.8/dfareporting.orderDocuments.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.orderDocuments.list/siteId": site_id -"/dfareporting:v2.8/dfareporting.orderDocuments.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.orderDocuments.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.orders.get": get_order -"/dfareporting:v2.8/dfareporting.orders.get/id": id -"/dfareporting:v2.8/dfareporting.orders.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.orders.get/projectId": project_id -"/dfareporting:v2.8/dfareporting.orders.list": list_orders -"/dfareporting:v2.8/dfareporting.orders.list/ids": ids -"/dfareporting:v2.8/dfareporting.orders.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.orders.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.orders.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.orders.list/projectId": project_id -"/dfareporting:v2.8/dfareporting.orders.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.orders.list/siteId": site_id -"/dfareporting:v2.8/dfareporting.orders.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.orders.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.placementGroups.get": get_placement_group -"/dfareporting:v2.8/dfareporting.placementGroups.get/id": id -"/dfareporting:v2.8/dfareporting.placementGroups.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.placementGroups.insert": insert_placement_group -"/dfareporting:v2.8/dfareporting.placementGroups.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.placementGroups.list": list_placement_groups -"/dfareporting:v2.8/dfareporting.placementGroups.list/advertiserIds": advertiser_ids -"/dfareporting:v2.8/dfareporting.placementGroups.list/archived": archived -"/dfareporting:v2.8/dfareporting.placementGroups.list/campaignIds": campaign_ids -"/dfareporting:v2.8/dfareporting.placementGroups.list/contentCategoryIds": content_category_ids -"/dfareporting:v2.8/dfareporting.placementGroups.list/directorySiteIds": directory_site_ids -"/dfareporting:v2.8/dfareporting.placementGroups.list/ids": ids -"/dfareporting:v2.8/dfareporting.placementGroups.list/maxEndDate": max_end_date -"/dfareporting:v2.8/dfareporting.placementGroups.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.placementGroups.list/maxStartDate": max_start_date -"/dfareporting:v2.8/dfareporting.placementGroups.list/minEndDate": min_end_date -"/dfareporting:v2.8/dfareporting.placementGroups.list/minStartDate": min_start_date -"/dfareporting:v2.8/dfareporting.placementGroups.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.placementGroups.list/placementGroupType": placement_group_type -"/dfareporting:v2.8/dfareporting.placementGroups.list/placementStrategyIds": placement_strategy_ids -"/dfareporting:v2.8/dfareporting.placementGroups.list/pricingTypes": pricing_types -"/dfareporting:v2.8/dfareporting.placementGroups.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.placementGroups.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.placementGroups.list/siteIds": site_ids -"/dfareporting:v2.8/dfareporting.placementGroups.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.placementGroups.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.placementGroups.patch": patch_placement_group -"/dfareporting:v2.8/dfareporting.placementGroups.patch/id": id -"/dfareporting:v2.8/dfareporting.placementGroups.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.placementGroups.update": update_placement_group -"/dfareporting:v2.8/dfareporting.placementGroups.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.placementStrategies.delete": delete_placement_strategy -"/dfareporting:v2.8/dfareporting.placementStrategies.delete/id": id -"/dfareporting:v2.8/dfareporting.placementStrategies.delete/profileId": profile_id -"/dfareporting:v2.8/dfareporting.placementStrategies.get": get_placement_strategy -"/dfareporting:v2.8/dfareporting.placementStrategies.get/id": id -"/dfareporting:v2.8/dfareporting.placementStrategies.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.placementStrategies.insert": insert_placement_strategy -"/dfareporting:v2.8/dfareporting.placementStrategies.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.placementStrategies.list": list_placement_strategies -"/dfareporting:v2.8/dfareporting.placementStrategies.list/ids": ids -"/dfareporting:v2.8/dfareporting.placementStrategies.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.placementStrategies.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.placementStrategies.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.placementStrategies.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.placementStrategies.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.placementStrategies.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.placementStrategies.patch": patch_placement_strategy -"/dfareporting:v2.8/dfareporting.placementStrategies.patch/id": id -"/dfareporting:v2.8/dfareporting.placementStrategies.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.placementStrategies.update": update_placement_strategy -"/dfareporting:v2.8/dfareporting.placementStrategies.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.placements.generatetags": generatetags_placement -"/dfareporting:v2.8/dfareporting.placements.generatetags/campaignId": campaign_id -"/dfareporting:v2.8/dfareporting.placements.generatetags/placementIds": placement_ids -"/dfareporting:v2.8/dfareporting.placements.generatetags/profileId": profile_id -"/dfareporting:v2.8/dfareporting.placements.generatetags/tagFormats": tag_formats -"/dfareporting:v2.8/dfareporting.placements.get": get_placement -"/dfareporting:v2.8/dfareporting.placements.get/id": id -"/dfareporting:v2.8/dfareporting.placements.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.placements.insert": insert_placement -"/dfareporting:v2.8/dfareporting.placements.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.placements.list": list_placements -"/dfareporting:v2.8/dfareporting.placements.list/advertiserIds": advertiser_ids -"/dfareporting:v2.8/dfareporting.placements.list/archived": archived -"/dfareporting:v2.8/dfareporting.placements.list/campaignIds": campaign_ids -"/dfareporting:v2.8/dfareporting.placements.list/compatibilities": compatibilities -"/dfareporting:v2.8/dfareporting.placements.list/contentCategoryIds": content_category_ids -"/dfareporting:v2.8/dfareporting.placements.list/directorySiteIds": directory_site_ids -"/dfareporting:v2.8/dfareporting.placements.list/groupIds": group_ids -"/dfareporting:v2.8/dfareporting.placements.list/ids": ids -"/dfareporting:v2.8/dfareporting.placements.list/maxEndDate": max_end_date -"/dfareporting:v2.8/dfareporting.placements.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.placements.list/maxStartDate": max_start_date -"/dfareporting:v2.8/dfareporting.placements.list/minEndDate": min_end_date -"/dfareporting:v2.8/dfareporting.placements.list/minStartDate": min_start_date -"/dfareporting:v2.8/dfareporting.placements.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.placements.list/paymentSource": payment_source -"/dfareporting:v2.8/dfareporting.placements.list/placementStrategyIds": placement_strategy_ids -"/dfareporting:v2.8/dfareporting.placements.list/pricingTypes": pricing_types -"/dfareporting:v2.8/dfareporting.placements.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.placements.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.placements.list/siteIds": site_ids -"/dfareporting:v2.8/dfareporting.placements.list/sizeIds": size_ids -"/dfareporting:v2.8/dfareporting.placements.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.placements.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.placements.patch": patch_placement -"/dfareporting:v2.8/dfareporting.placements.patch/id": id -"/dfareporting:v2.8/dfareporting.placements.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.placements.update": update_placement -"/dfareporting:v2.8/dfareporting.placements.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.platformTypes.get": get_platform_type -"/dfareporting:v2.8/dfareporting.platformTypes.get/id": id -"/dfareporting:v2.8/dfareporting.platformTypes.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.platformTypes.list": list_platform_types -"/dfareporting:v2.8/dfareporting.platformTypes.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.postalCodes.get": get_postal_code -"/dfareporting:v2.8/dfareporting.postalCodes.get/code": code -"/dfareporting:v2.8/dfareporting.postalCodes.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.postalCodes.list": list_postal_codes -"/dfareporting:v2.8/dfareporting.postalCodes.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.projects.get": get_project -"/dfareporting:v2.8/dfareporting.projects.get/id": id -"/dfareporting:v2.8/dfareporting.projects.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.projects.list": list_projects -"/dfareporting:v2.8/dfareporting.projects.list/advertiserIds": advertiser_ids -"/dfareporting:v2.8/dfareporting.projects.list/ids": ids -"/dfareporting:v2.8/dfareporting.projects.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.projects.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.projects.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.projects.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.projects.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.projects.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.regions.list": list_regions -"/dfareporting:v2.8/dfareporting.regions.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.remarketingListShares.get": get_remarketing_list_share -"/dfareporting:v2.8/dfareporting.remarketingListShares.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.remarketingListShares.get/remarketingListId": remarketing_list_id -"/dfareporting:v2.8/dfareporting.remarketingListShares.patch": patch_remarketing_list_share -"/dfareporting:v2.8/dfareporting.remarketingListShares.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.remarketingListShares.patch/remarketingListId": remarketing_list_id -"/dfareporting:v2.8/dfareporting.remarketingListShares.update": update_remarketing_list_share -"/dfareporting:v2.8/dfareporting.remarketingListShares.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.remarketingLists.get": get_remarketing_list -"/dfareporting:v2.8/dfareporting.remarketingLists.get/id": id -"/dfareporting:v2.8/dfareporting.remarketingLists.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.remarketingLists.insert": insert_remarketing_list -"/dfareporting:v2.8/dfareporting.remarketingLists.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.remarketingLists.list": list_remarketing_lists -"/dfareporting:v2.8/dfareporting.remarketingLists.list/active": active -"/dfareporting:v2.8/dfareporting.remarketingLists.list/advertiserId": advertiser_id -"/dfareporting:v2.8/dfareporting.remarketingLists.list/floodlightActivityId": floodlight_activity_id -"/dfareporting:v2.8/dfareporting.remarketingLists.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.remarketingLists.list/name": name -"/dfareporting:v2.8/dfareporting.remarketingLists.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.remarketingLists.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.remarketingLists.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.remarketingLists.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.remarketingLists.patch": patch_remarketing_list -"/dfareporting:v2.8/dfareporting.remarketingLists.patch/id": id -"/dfareporting:v2.8/dfareporting.remarketingLists.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.remarketingLists.update": update_remarketing_list -"/dfareporting:v2.8/dfareporting.remarketingLists.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.reports.delete": delete_report -"/dfareporting:v2.8/dfareporting.reports.delete/profileId": profile_id -"/dfareporting:v2.8/dfareporting.reports.delete/reportId": report_id -"/dfareporting:v2.8/dfareporting.reports.get": get_report -"/dfareporting:v2.8/dfareporting.reports.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.reports.get/reportId": report_id -"/dfareporting:v2.8/dfareporting.reports.insert": insert_report -"/dfareporting:v2.8/dfareporting.reports.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.reports.list": list_reports -"/dfareporting:v2.8/dfareporting.reports.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.reports.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.reports.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.reports.list/scope": scope -"/dfareporting:v2.8/dfareporting.reports.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.reports.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.reports.patch": patch_report -"/dfareporting:v2.8/dfareporting.reports.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.reports.patch/reportId": report_id -"/dfareporting:v2.8/dfareporting.reports.run": run_report -"/dfareporting:v2.8/dfareporting.reports.run/profileId": profile_id -"/dfareporting:v2.8/dfareporting.reports.run/reportId": report_id -"/dfareporting:v2.8/dfareporting.reports.run/synchronous": synchronous -"/dfareporting:v2.8/dfareporting.reports.update": update_report -"/dfareporting:v2.8/dfareporting.reports.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.reports.update/reportId": report_id -"/dfareporting:v2.8/dfareporting.reports.compatibleFields.query": query_report_compatible_field -"/dfareporting:v2.8/dfareporting.reports.compatibleFields.query/profileId": profile_id -"/dfareporting:v2.8/dfareporting.reports.files.get": get_report_file -"/dfareporting:v2.8/dfareporting.reports.files.get/fileId": file_id -"/dfareporting:v2.8/dfareporting.reports.files.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.reports.files.get/reportId": report_id -"/dfareporting:v2.8/dfareporting.reports.files.list": list_report_files -"/dfareporting:v2.8/dfareporting.reports.files.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.reports.files.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.reports.files.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.reports.files.list/reportId": report_id -"/dfareporting:v2.8/dfareporting.reports.files.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.reports.files.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.sites.get": get_site -"/dfareporting:v2.8/dfareporting.sites.get/id": id -"/dfareporting:v2.8/dfareporting.sites.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.sites.insert": insert_site -"/dfareporting:v2.8/dfareporting.sites.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.sites.list": list_sites -"/dfareporting:v2.8/dfareporting.sites.list/acceptsInStreamVideoPlacements": accepts_in_stream_video_placements -"/dfareporting:v2.8/dfareporting.sites.list/acceptsInterstitialPlacements": accepts_interstitial_placements -"/dfareporting:v2.8/dfareporting.sites.list/acceptsPublisherPaidPlacements": accepts_publisher_paid_placements -"/dfareporting:v2.8/dfareporting.sites.list/adWordsSite": ad_words_site -"/dfareporting:v2.8/dfareporting.sites.list/approved": approved -"/dfareporting:v2.8/dfareporting.sites.list/campaignIds": campaign_ids -"/dfareporting:v2.8/dfareporting.sites.list/directorySiteIds": directory_site_ids -"/dfareporting:v2.8/dfareporting.sites.list/ids": ids -"/dfareporting:v2.8/dfareporting.sites.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.sites.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.sites.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.sites.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.sites.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.sites.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.sites.list/subaccountId": subaccount_id -"/dfareporting:v2.8/dfareporting.sites.list/unmappedSite": unmapped_site -"/dfareporting:v2.8/dfareporting.sites.patch": patch_site -"/dfareporting:v2.8/dfareporting.sites.patch/id": id -"/dfareporting:v2.8/dfareporting.sites.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.sites.update": update_site -"/dfareporting:v2.8/dfareporting.sites.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.sizes.get": get_size -"/dfareporting:v2.8/dfareporting.sizes.get/id": id -"/dfareporting:v2.8/dfareporting.sizes.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.sizes.insert": insert_size -"/dfareporting:v2.8/dfareporting.sizes.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.sizes.list": list_sizes -"/dfareporting:v2.8/dfareporting.sizes.list/height": height -"/dfareporting:v2.8/dfareporting.sizes.list/iabStandard": iab_standard -"/dfareporting:v2.8/dfareporting.sizes.list/ids": ids -"/dfareporting:v2.8/dfareporting.sizes.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.sizes.list/width": width -"/dfareporting:v2.8/dfareporting.subaccounts.get": get_subaccount -"/dfareporting:v2.8/dfareporting.subaccounts.get/id": id -"/dfareporting:v2.8/dfareporting.subaccounts.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.subaccounts.insert": insert_subaccount -"/dfareporting:v2.8/dfareporting.subaccounts.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.subaccounts.list": list_subaccounts -"/dfareporting:v2.8/dfareporting.subaccounts.list/ids": ids -"/dfareporting:v2.8/dfareporting.subaccounts.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.subaccounts.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.subaccounts.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.subaccounts.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.subaccounts.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.subaccounts.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.subaccounts.patch": patch_subaccount -"/dfareporting:v2.8/dfareporting.subaccounts.patch/id": id -"/dfareporting:v2.8/dfareporting.subaccounts.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.subaccounts.update": update_subaccount -"/dfareporting:v2.8/dfareporting.subaccounts.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.get": get_targetable_remarketing_list -"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.get/id": id -"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.list": list_targetable_remarketing_lists -"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.list/active": active -"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.list/advertiserId": advertiser_id -"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.list/name": name -"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.targetingTemplates.get": get_targeting_template -"/dfareporting:v2.8/dfareporting.targetingTemplates.get/id": id -"/dfareporting:v2.8/dfareporting.targetingTemplates.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.targetingTemplates.insert": insert_targeting_template -"/dfareporting:v2.8/dfareporting.targetingTemplates.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.targetingTemplates.list": list_targeting_templates -"/dfareporting:v2.8/dfareporting.targetingTemplates.list/advertiserId": advertiser_id -"/dfareporting:v2.8/dfareporting.targetingTemplates.list/ids": ids -"/dfareporting:v2.8/dfareporting.targetingTemplates.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.targetingTemplates.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.targetingTemplates.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.targetingTemplates.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.targetingTemplates.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.targetingTemplates.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.targetingTemplates.patch": patch_targeting_template -"/dfareporting:v2.8/dfareporting.targetingTemplates.patch/id": id -"/dfareporting:v2.8/dfareporting.targetingTemplates.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.targetingTemplates.update": update_targeting_template -"/dfareporting:v2.8/dfareporting.targetingTemplates.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.userProfiles.get": get_user_profile -"/dfareporting:v2.8/dfareporting.userProfiles.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.userProfiles.list": list_user_profiles -"/dfareporting:v2.8/dfareporting.userRolePermissionGroups.get": get_user_role_permission_group -"/dfareporting:v2.8/dfareporting.userRolePermissionGroups.get/id": id -"/dfareporting:v2.8/dfareporting.userRolePermissionGroups.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.userRolePermissionGroups.list": list_user_role_permission_groups -"/dfareporting:v2.8/dfareporting.userRolePermissionGroups.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.userRolePermissions.get": get_user_role_permission -"/dfareporting:v2.8/dfareporting.userRolePermissions.get/id": id -"/dfareporting:v2.8/dfareporting.userRolePermissions.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.userRolePermissions.list": list_user_role_permissions -"/dfareporting:v2.8/dfareporting.userRolePermissions.list/ids": ids -"/dfareporting:v2.8/dfareporting.userRolePermissions.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.userRoles.delete": delete_user_role -"/dfareporting:v2.8/dfareporting.userRoles.delete/id": id -"/dfareporting:v2.8/dfareporting.userRoles.delete/profileId": profile_id -"/dfareporting:v2.8/dfareporting.userRoles.get": get_user_role -"/dfareporting:v2.8/dfareporting.userRoles.get/id": id -"/dfareporting:v2.8/dfareporting.userRoles.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.userRoles.insert": insert_user_role -"/dfareporting:v2.8/dfareporting.userRoles.insert/profileId": profile_id -"/dfareporting:v2.8/dfareporting.userRoles.list": list_user_roles -"/dfareporting:v2.8/dfareporting.userRoles.list/accountUserRoleOnly": account_user_role_only -"/dfareporting:v2.8/dfareporting.userRoles.list/ids": ids -"/dfareporting:v2.8/dfareporting.userRoles.list/maxResults": max_results -"/dfareporting:v2.8/dfareporting.userRoles.list/pageToken": page_token -"/dfareporting:v2.8/dfareporting.userRoles.list/profileId": profile_id -"/dfareporting:v2.8/dfareporting.userRoles.list/searchString": search_string -"/dfareporting:v2.8/dfareporting.userRoles.list/sortField": sort_field -"/dfareporting:v2.8/dfareporting.userRoles.list/sortOrder": sort_order -"/dfareporting:v2.8/dfareporting.userRoles.list/subaccountId": subaccount_id -"/dfareporting:v2.8/dfareporting.userRoles.patch": patch_user_role -"/dfareporting:v2.8/dfareporting.userRoles.patch/id": id -"/dfareporting:v2.8/dfareporting.userRoles.patch/profileId": profile_id -"/dfareporting:v2.8/dfareporting.userRoles.update": update_user_role -"/dfareporting:v2.8/dfareporting.userRoles.update/profileId": profile_id -"/dfareporting:v2.8/dfareporting.videoFormats.get": get_video_format -"/dfareporting:v2.8/dfareporting.videoFormats.get/id": id -"/dfareporting:v2.8/dfareporting.videoFormats.get/profileId": profile_id -"/dfareporting:v2.8/dfareporting.videoFormats.list": list_video_formats -"/dfareporting:v2.8/dfareporting.videoFormats.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountActiveAdSummaries.get": get_account_active_ad_summary +"/dfareporting:v2.7/dfareporting.accountActiveAdSummaries.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountActiveAdSummaries.get/summaryAccountId": summary_account_id +"/dfareporting:v2.7/dfareporting.accountPermissionGroups.get": get_account_permission_group +"/dfareporting:v2.7/dfareporting.accountPermissionGroups.get/id": id +"/dfareporting:v2.7/dfareporting.accountPermissionGroups.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountPermissionGroups.list": list_account_permission_groups +"/dfareporting:v2.7/dfareporting.accountPermissionGroups.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountPermissions.get": get_account_permission +"/dfareporting:v2.7/dfareporting.accountPermissions.get/id": id +"/dfareporting:v2.7/dfareporting.accountPermissions.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountPermissions.list": list_account_permissions +"/dfareporting:v2.7/dfareporting.accountPermissions.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.get": get_account_user_profile +"/dfareporting:v2.7/dfareporting.accountUserProfiles.get/id": id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.insert": insert_account_user_profile +"/dfareporting:v2.7/dfareporting.accountUserProfiles.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list": list_account_user_profiles +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/active": active +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/ids": ids +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/subaccountId": subaccount_id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/userRoleId": user_role_id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.patch": patch_account_user_profile +"/dfareporting:v2.7/dfareporting.accountUserProfiles.patch/id": id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.update": update_account_user_profile +"/dfareporting:v2.7/dfareporting.accountUserProfiles.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accounts.get": get_account +"/dfareporting:v2.7/dfareporting.accounts.get/id": id +"/dfareporting:v2.7/dfareporting.accounts.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accounts.list": list_accounts +"/dfareporting:v2.7/dfareporting.accounts.list/active": active +"/dfareporting:v2.7/dfareporting.accounts.list/ids": ids +"/dfareporting:v2.7/dfareporting.accounts.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.accounts.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.accounts.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accounts.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.accounts.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.accounts.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.accounts.patch": patch_account +"/dfareporting:v2.7/dfareporting.accounts.patch/id": id +"/dfareporting:v2.7/dfareporting.accounts.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accounts.update": update_account +"/dfareporting:v2.7/dfareporting.accounts.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.ads.get": get_ad +"/dfareporting:v2.7/dfareporting.ads.get/id": id +"/dfareporting:v2.7/dfareporting.ads.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.ads.insert": insert_ad +"/dfareporting:v2.7/dfareporting.ads.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.ads.list": list_ads +"/dfareporting:v2.7/dfareporting.ads.list/active": active +"/dfareporting:v2.7/dfareporting.ads.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.ads.list/archived": archived +"/dfareporting:v2.7/dfareporting.ads.list/audienceSegmentIds": audience_segment_ids +"/dfareporting:v2.7/dfareporting.ads.list/campaignIds": campaign_ids +"/dfareporting:v2.7/dfareporting.ads.list/compatibility": compatibility +"/dfareporting:v2.7/dfareporting.ads.list/creativeIds": creative_ids +"/dfareporting:v2.7/dfareporting.ads.list/creativeOptimizationConfigurationIds": creative_optimization_configuration_ids +"/dfareporting:v2.7/dfareporting.ads.list/dynamicClickTracker": dynamic_click_tracker +"/dfareporting:v2.7/dfareporting.ads.list/ids": ids +"/dfareporting:v2.7/dfareporting.ads.list/landingPageIds": landing_page_ids +"/dfareporting:v2.7/dfareporting.ads.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.ads.list/overriddenEventTagId": overridden_event_tag_id +"/dfareporting:v2.7/dfareporting.ads.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.ads.list/placementIds": placement_ids +"/dfareporting:v2.7/dfareporting.ads.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.ads.list/remarketingListIds": remarketing_list_ids +"/dfareporting:v2.7/dfareporting.ads.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.ads.list/sizeIds": size_ids +"/dfareporting:v2.7/dfareporting.ads.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.ads.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.ads.list/sslCompliant": ssl_compliant +"/dfareporting:v2.7/dfareporting.ads.list/sslRequired": ssl_required +"/dfareporting:v2.7/dfareporting.ads.list/type": type +"/dfareporting:v2.7/dfareporting.ads.patch": patch_ad +"/dfareporting:v2.7/dfareporting.ads.patch/id": id +"/dfareporting:v2.7/dfareporting.ads.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.ads.update": update_ad +"/dfareporting:v2.7/dfareporting.ads.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertiserGroups.delete": delete_advertiser_group +"/dfareporting:v2.7/dfareporting.advertiserGroups.delete/id": id +"/dfareporting:v2.7/dfareporting.advertiserGroups.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertiserGroups.get": get_advertiser_group +"/dfareporting:v2.7/dfareporting.advertiserGroups.get/id": id +"/dfareporting:v2.7/dfareporting.advertiserGroups.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertiserGroups.insert": insert_advertiser_group +"/dfareporting:v2.7/dfareporting.advertiserGroups.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertiserGroups.list": list_advertiser_groups +"/dfareporting:v2.7/dfareporting.advertiserGroups.list/ids": ids +"/dfareporting:v2.7/dfareporting.advertiserGroups.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.advertiserGroups.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.advertiserGroups.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertiserGroups.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.advertiserGroups.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.advertiserGroups.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.advertiserGroups.patch": patch_advertiser_group +"/dfareporting:v2.7/dfareporting.advertiserGroups.patch/id": id +"/dfareporting:v2.7/dfareporting.advertiserGroups.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertiserGroups.update": update_advertiser_group +"/dfareporting:v2.7/dfareporting.advertiserGroups.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertisers.get": get_advertiser +"/dfareporting:v2.7/dfareporting.advertisers.get/id": id +"/dfareporting:v2.7/dfareporting.advertisers.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertisers.insert": insert_advertiser +"/dfareporting:v2.7/dfareporting.advertisers.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertisers.list": list_advertisers +"/dfareporting:v2.7/dfareporting.advertisers.list/advertiserGroupIds": advertiser_group_ids +"/dfareporting:v2.7/dfareporting.advertisers.list/floodlightConfigurationIds": floodlight_configuration_ids +"/dfareporting:v2.7/dfareporting.advertisers.list/ids": ids +"/dfareporting:v2.7/dfareporting.advertisers.list/includeAdvertisersWithoutGroupsOnly": include_advertisers_without_groups_only +"/dfareporting:v2.7/dfareporting.advertisers.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.advertisers.list/onlyParent": only_parent +"/dfareporting:v2.7/dfareporting.advertisers.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.advertisers.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertisers.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.advertisers.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.advertisers.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.advertisers.list/status": status +"/dfareporting:v2.7/dfareporting.advertisers.list/subaccountId": subaccount_id +"/dfareporting:v2.7/dfareporting.advertisers.patch": patch_advertiser +"/dfareporting:v2.7/dfareporting.advertisers.patch/id": id +"/dfareporting:v2.7/dfareporting.advertisers.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertisers.update": update_advertiser +"/dfareporting:v2.7/dfareporting.advertisers.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.browsers.list": list_browsers +"/dfareporting:v2.7/dfareporting.browsers.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.insert": insert_campaign_creative_association +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.insert/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list": list_campaign_creative_associations +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.campaigns.get": get_campaign +"/dfareporting:v2.7/dfareporting.campaigns.get/id": id +"/dfareporting:v2.7/dfareporting.campaigns.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.campaigns.insert": insert_campaign +"/dfareporting:v2.7/dfareporting.campaigns.insert/defaultLandingPageName": default_landing_page_name +"/dfareporting:v2.7/dfareporting.campaigns.insert/defaultLandingPageUrl": default_landing_page_url +"/dfareporting:v2.7/dfareporting.campaigns.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.campaigns.list": list_campaigns +"/dfareporting:v2.7/dfareporting.campaigns.list/advertiserGroupIds": advertiser_group_ids +"/dfareporting:v2.7/dfareporting.campaigns.list/advertiserIds": advertiser_ids +"/dfareporting:v2.7/dfareporting.campaigns.list/archived": archived +"/dfareporting:v2.7/dfareporting.campaigns.list/atLeastOneOptimizationActivity": at_least_one_optimization_activity +"/dfareporting:v2.7/dfareporting.campaigns.list/excludedIds": excluded_ids +"/dfareporting:v2.7/dfareporting.campaigns.list/ids": ids +"/dfareporting:v2.7/dfareporting.campaigns.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.campaigns.list/overriddenEventTagId": overridden_event_tag_id +"/dfareporting:v2.7/dfareporting.campaigns.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.campaigns.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.campaigns.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.campaigns.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.campaigns.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.campaigns.list/subaccountId": subaccount_id +"/dfareporting:v2.7/dfareporting.campaigns.patch": patch_campaign +"/dfareporting:v2.7/dfareporting.campaigns.patch/id": id +"/dfareporting:v2.7/dfareporting.campaigns.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.campaigns.update": update_campaign +"/dfareporting:v2.7/dfareporting.campaigns.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.changeLogs.get": get_change_log +"/dfareporting:v2.7/dfareporting.changeLogs.get/id": id +"/dfareporting:v2.7/dfareporting.changeLogs.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.changeLogs.list": list_change_logs +"/dfareporting:v2.7/dfareporting.changeLogs.list/action": action +"/dfareporting:v2.7/dfareporting.changeLogs.list/ids": ids +"/dfareporting:v2.7/dfareporting.changeLogs.list/maxChangeTime": max_change_time +"/dfareporting:v2.7/dfareporting.changeLogs.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.changeLogs.list/minChangeTime": min_change_time +"/dfareporting:v2.7/dfareporting.changeLogs.list/objectIds": object_ids +"/dfareporting:v2.7/dfareporting.changeLogs.list/objectType": object_type +"/dfareporting:v2.7/dfareporting.changeLogs.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.changeLogs.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.changeLogs.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.changeLogs.list/userProfileIds": user_profile_ids +"/dfareporting:v2.7/dfareporting.cities.list": list_cities +"/dfareporting:v2.7/dfareporting.cities.list/countryDartIds": country_dart_ids +"/dfareporting:v2.7/dfareporting.cities.list/dartIds": dart_ids +"/dfareporting:v2.7/dfareporting.cities.list/namePrefix": name_prefix +"/dfareporting:v2.7/dfareporting.cities.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.cities.list/regionDartIds": region_dart_ids +"/dfareporting:v2.7/dfareporting.connectionTypes.get": get_connection_type +"/dfareporting:v2.7/dfareporting.connectionTypes.get/id": id +"/dfareporting:v2.7/dfareporting.connectionTypes.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.connectionTypes.list": list_connection_types +"/dfareporting:v2.7/dfareporting.connectionTypes.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.contentCategories.delete": delete_content_category +"/dfareporting:v2.7/dfareporting.contentCategories.delete/id": id +"/dfareporting:v2.7/dfareporting.contentCategories.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.contentCategories.get": get_content_category +"/dfareporting:v2.7/dfareporting.contentCategories.get/id": id +"/dfareporting:v2.7/dfareporting.contentCategories.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.contentCategories.insert": insert_content_category +"/dfareporting:v2.7/dfareporting.contentCategories.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.contentCategories.list": list_content_categories +"/dfareporting:v2.7/dfareporting.contentCategories.list/ids": ids +"/dfareporting:v2.7/dfareporting.contentCategories.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.contentCategories.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.contentCategories.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.contentCategories.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.contentCategories.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.contentCategories.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.contentCategories.patch": patch_content_category +"/dfareporting:v2.7/dfareporting.contentCategories.patch/id": id +"/dfareporting:v2.7/dfareporting.contentCategories.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.contentCategories.update": update_content_category +"/dfareporting:v2.7/dfareporting.contentCategories.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.conversions.batchinsert": batchinsert_conversion +"/dfareporting:v2.7/dfareporting.conversions.batchinsert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.countries.get": get_country +"/dfareporting:v2.7/dfareporting.countries.get/dartId": dart_id +"/dfareporting:v2.7/dfareporting.countries.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.countries.list": list_countries +"/dfareporting:v2.7/dfareporting.countries.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeAssets.insert": insert_creative_asset +"/dfareporting:v2.7/dfareporting.creativeAssets.insert/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.creativeAssets.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.delete": delete_creative_field_value +"/dfareporting:v2.7/dfareporting.creativeFieldValues.delete/creativeFieldId": creative_field_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.delete/id": id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.get": get_creative_field_value +"/dfareporting:v2.7/dfareporting.creativeFieldValues.get/creativeFieldId": creative_field_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.get/id": id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.insert": insert_creative_field_value +"/dfareporting:v2.7/dfareporting.creativeFieldValues.insert/creativeFieldId": creative_field_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list": list_creative_field_values +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/creativeFieldId": creative_field_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/ids": ids +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.creativeFieldValues.patch": patch_creative_field_value +"/dfareporting:v2.7/dfareporting.creativeFieldValues.patch/creativeFieldId": creative_field_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.patch/id": id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.update": update_creative_field_value +"/dfareporting:v2.7/dfareporting.creativeFieldValues.update/creativeFieldId": creative_field_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFields.delete": delete_creative_field +"/dfareporting:v2.7/dfareporting.creativeFields.delete/id": id +"/dfareporting:v2.7/dfareporting.creativeFields.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFields.get": get_creative_field +"/dfareporting:v2.7/dfareporting.creativeFields.get/id": id +"/dfareporting:v2.7/dfareporting.creativeFields.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFields.insert": insert_creative_field +"/dfareporting:v2.7/dfareporting.creativeFields.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFields.list": list_creative_fields +"/dfareporting:v2.7/dfareporting.creativeFields.list/advertiserIds": advertiser_ids +"/dfareporting:v2.7/dfareporting.creativeFields.list/ids": ids +"/dfareporting:v2.7/dfareporting.creativeFields.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.creativeFields.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.creativeFields.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFields.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.creativeFields.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.creativeFields.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.creativeFields.patch": patch_creative_field +"/dfareporting:v2.7/dfareporting.creativeFields.patch/id": id +"/dfareporting:v2.7/dfareporting.creativeFields.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFields.update": update_creative_field +"/dfareporting:v2.7/dfareporting.creativeFields.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeGroups.get": get_creative_group +"/dfareporting:v2.7/dfareporting.creativeGroups.get/id": id +"/dfareporting:v2.7/dfareporting.creativeGroups.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeGroups.insert": insert_creative_group +"/dfareporting:v2.7/dfareporting.creativeGroups.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeGroups.list": list_creative_groups +"/dfareporting:v2.7/dfareporting.creativeGroups.list/advertiserIds": advertiser_ids +"/dfareporting:v2.7/dfareporting.creativeGroups.list/groupNumber": group_number +"/dfareporting:v2.7/dfareporting.creativeGroups.list/ids": ids +"/dfareporting:v2.7/dfareporting.creativeGroups.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.creativeGroups.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.creativeGroups.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeGroups.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.creativeGroups.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.creativeGroups.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.creativeGroups.patch": patch_creative_group +"/dfareporting:v2.7/dfareporting.creativeGroups.patch/id": id +"/dfareporting:v2.7/dfareporting.creativeGroups.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeGroups.update": update_creative_group +"/dfareporting:v2.7/dfareporting.creativeGroups.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creatives.get": get_creative +"/dfareporting:v2.7/dfareporting.creatives.get/id": id +"/dfareporting:v2.7/dfareporting.creatives.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creatives.insert": insert_creative +"/dfareporting:v2.7/dfareporting.creatives.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creatives.list": list_creatives +"/dfareporting:v2.7/dfareporting.creatives.list/active": active +"/dfareporting:v2.7/dfareporting.creatives.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.creatives.list/archived": archived +"/dfareporting:v2.7/dfareporting.creatives.list/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.creatives.list/companionCreativeIds": companion_creative_ids +"/dfareporting:v2.7/dfareporting.creatives.list/creativeFieldIds": creative_field_ids +"/dfareporting:v2.7/dfareporting.creatives.list/ids": ids +"/dfareporting:v2.7/dfareporting.creatives.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.creatives.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.creatives.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creatives.list/renderingIds": rendering_ids +"/dfareporting:v2.7/dfareporting.creatives.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.creatives.list/sizeIds": size_ids +"/dfareporting:v2.7/dfareporting.creatives.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.creatives.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.creatives.list/studioCreativeId": studio_creative_id +"/dfareporting:v2.7/dfareporting.creatives.list/types": types +"/dfareporting:v2.7/dfareporting.creatives.patch": patch_creative +"/dfareporting:v2.7/dfareporting.creatives.patch/id": id +"/dfareporting:v2.7/dfareporting.creatives.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creatives.update": update_creative +"/dfareporting:v2.7/dfareporting.creatives.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.dimensionValues.query": query_dimension_value +"/dfareporting:v2.7/dfareporting.dimensionValues.query/maxResults": max_results +"/dfareporting:v2.7/dfareporting.dimensionValues.query/pageToken": page_token +"/dfareporting:v2.7/dfareporting.dimensionValues.query/profileId": profile_id +"/dfareporting:v2.7/dfareporting.directorySiteContacts.get": get_directory_site_contact +"/dfareporting:v2.7/dfareporting.directorySiteContacts.get/id": id +"/dfareporting:v2.7/dfareporting.directorySiteContacts.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list": list_directory_site_contacts +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/directorySiteIds": directory_site_ids +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/ids": ids +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.directorySites.get": get_directory_site +"/dfareporting:v2.7/dfareporting.directorySites.get/id": id +"/dfareporting:v2.7/dfareporting.directorySites.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.directorySites.insert": insert_directory_site +"/dfareporting:v2.7/dfareporting.directorySites.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.directorySites.list": list_directory_sites +"/dfareporting:v2.7/dfareporting.directorySites.list/acceptsInStreamVideoPlacements": accepts_in_stream_video_placements +"/dfareporting:v2.7/dfareporting.directorySites.list/acceptsInterstitialPlacements": accepts_interstitial_placements +"/dfareporting:v2.7/dfareporting.directorySites.list/acceptsPublisherPaidPlacements": accepts_publisher_paid_placements +"/dfareporting:v2.7/dfareporting.directorySites.list/active": active +"/dfareporting:v2.7/dfareporting.directorySites.list/countryId": country_id +"/dfareporting:v2.7/dfareporting.directorySites.list/dfp_network_code": dfp_network_code +"/dfareporting:v2.7/dfareporting.directorySites.list/ids": ids +"/dfareporting:v2.7/dfareporting.directorySites.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.directorySites.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.directorySites.list/parentId": parent_id +"/dfareporting:v2.7/dfareporting.directorySites.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.directorySites.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.directorySites.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.directorySites.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.delete": delete_dynamic_targeting_key +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.delete/name": name +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.delete/objectId": object_id_ +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.delete/objectType": object_type +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.insert": insert_dynamic_targeting_key +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list": list_dynamic_targeting_keys +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list/names": names +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list/objectId": object_id_ +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list/objectType": object_type +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.eventTags.delete": delete_event_tag +"/dfareporting:v2.7/dfareporting.eventTags.delete/id": id +"/dfareporting:v2.7/dfareporting.eventTags.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.eventTags.get": get_event_tag +"/dfareporting:v2.7/dfareporting.eventTags.get/id": id +"/dfareporting:v2.7/dfareporting.eventTags.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.eventTags.insert": insert_event_tag +"/dfareporting:v2.7/dfareporting.eventTags.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.eventTags.list": list_event_tags +"/dfareporting:v2.7/dfareporting.eventTags.list/adId": ad_id +"/dfareporting:v2.7/dfareporting.eventTags.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.eventTags.list/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.eventTags.list/definitionsOnly": definitions_only +"/dfareporting:v2.7/dfareporting.eventTags.list/enabled": enabled +"/dfareporting:v2.7/dfareporting.eventTags.list/eventTagTypes": event_tag_types +"/dfareporting:v2.7/dfareporting.eventTags.list/ids": ids +"/dfareporting:v2.7/dfareporting.eventTags.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.eventTags.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.eventTags.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.eventTags.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.eventTags.patch": patch_event_tag +"/dfareporting:v2.7/dfareporting.eventTags.patch/id": id +"/dfareporting:v2.7/dfareporting.eventTags.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.eventTags.update": update_event_tag +"/dfareporting:v2.7/dfareporting.eventTags.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.files.get": get_file +"/dfareporting:v2.7/dfareporting.files.get/fileId": file_id +"/dfareporting:v2.7/dfareporting.files.get/reportId": report_id +"/dfareporting:v2.7/dfareporting.files.list": list_files +"/dfareporting:v2.7/dfareporting.files.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.files.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.files.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.files.list/scope": scope +"/dfareporting:v2.7/dfareporting.files.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.files.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.floodlightActivities.delete": delete_floodlight_activity +"/dfareporting:v2.7/dfareporting.floodlightActivities.delete/id": id +"/dfareporting:v2.7/dfareporting.floodlightActivities.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.generatetag": generatetag_floodlight_activity +"/dfareporting:v2.7/dfareporting.floodlightActivities.generatetag/floodlightActivityId": floodlight_activity_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.generatetag/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.get": get_floodlight_activity +"/dfareporting:v2.7/dfareporting.floodlightActivities.get/id": id +"/dfareporting:v2.7/dfareporting.floodlightActivities.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.insert": insert_floodlight_activity +"/dfareporting:v2.7/dfareporting.floodlightActivities.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.list": list_floodlight_activities +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/floodlightActivityGroupIds": floodlight_activity_group_ids +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/floodlightActivityGroupName": floodlight_activity_group_name +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/floodlightActivityGroupTagString": floodlight_activity_group_tag_string +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/floodlightActivityGroupType": floodlight_activity_group_type +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/floodlightConfigurationId": floodlight_configuration_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/ids": ids +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/tagString": tag_string +"/dfareporting:v2.7/dfareporting.floodlightActivities.patch": patch_floodlight_activity +"/dfareporting:v2.7/dfareporting.floodlightActivities.patch/id": id +"/dfareporting:v2.7/dfareporting.floodlightActivities.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.update": update_floodlight_activity +"/dfareporting:v2.7/dfareporting.floodlightActivities.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.get": get_floodlight_activity_group +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.get/id": id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.insert": insert_floodlight_activity_group +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list": list_floodlight_activity_groups +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/floodlightConfigurationId": floodlight_configuration_id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/ids": ids +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/type": type +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.patch": patch_floodlight_activity_group +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.patch/id": id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.update": update_floodlight_activity_group +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.get": get_floodlight_configuration +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.get/id": id +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.list": list_floodlight_configurations +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.list/ids": ids +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.patch": patch_floodlight_configuration +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.patch/id": id +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.update": update_floodlight_configuration +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.inventoryItems.get": get_inventory_item +"/dfareporting:v2.7/dfareporting.inventoryItems.get/id": id +"/dfareporting:v2.7/dfareporting.inventoryItems.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.inventoryItems.get/projectId": project_id +"/dfareporting:v2.7/dfareporting.inventoryItems.list": list_inventory_items +"/dfareporting:v2.7/dfareporting.inventoryItems.list/ids": ids +"/dfareporting:v2.7/dfareporting.inventoryItems.list/inPlan": in_plan +"/dfareporting:v2.7/dfareporting.inventoryItems.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.inventoryItems.list/orderId": order_id +"/dfareporting:v2.7/dfareporting.inventoryItems.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.inventoryItems.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.inventoryItems.list/projectId": project_id +"/dfareporting:v2.7/dfareporting.inventoryItems.list/siteId": site_id +"/dfareporting:v2.7/dfareporting.inventoryItems.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.inventoryItems.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.inventoryItems.list/type": type +"/dfareporting:v2.7/dfareporting.landingPages.delete": delete_landing_page +"/dfareporting:v2.7/dfareporting.landingPages.delete/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.landingPages.delete/id": id +"/dfareporting:v2.7/dfareporting.landingPages.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.landingPages.get": get_landing_page +"/dfareporting:v2.7/dfareporting.landingPages.get/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.landingPages.get/id": id +"/dfareporting:v2.7/dfareporting.landingPages.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.landingPages.insert": insert_landing_page +"/dfareporting:v2.7/dfareporting.landingPages.insert/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.landingPages.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.landingPages.list": list_landing_pages +"/dfareporting:v2.7/dfareporting.landingPages.list/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.landingPages.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.landingPages.patch": patch_landing_page +"/dfareporting:v2.7/dfareporting.landingPages.patch/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.landingPages.patch/id": id +"/dfareporting:v2.7/dfareporting.landingPages.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.landingPages.update": update_landing_page +"/dfareporting:v2.7/dfareporting.landingPages.update/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.landingPages.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.languages.list": list_languages +"/dfareporting:v2.7/dfareporting.languages.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.metros.list": list_metros +"/dfareporting:v2.7/dfareporting.metros.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.mobileCarriers.get": get_mobile_carrier +"/dfareporting:v2.7/dfareporting.mobileCarriers.get/id": id +"/dfareporting:v2.7/dfareporting.mobileCarriers.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.mobileCarriers.list": list_mobile_carriers +"/dfareporting:v2.7/dfareporting.mobileCarriers.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.operatingSystemVersions.get": get_operating_system_version +"/dfareporting:v2.7/dfareporting.operatingSystemVersions.get/id": id +"/dfareporting:v2.7/dfareporting.operatingSystemVersions.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.operatingSystemVersions.list": list_operating_system_versions +"/dfareporting:v2.7/dfareporting.operatingSystemVersions.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.operatingSystems.get": get_operating_system +"/dfareporting:v2.7/dfareporting.operatingSystems.get/dartId": dart_id +"/dfareporting:v2.7/dfareporting.operatingSystems.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.operatingSystems.list": list_operating_systems +"/dfareporting:v2.7/dfareporting.operatingSystems.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.orderDocuments.get": get_order_document +"/dfareporting:v2.7/dfareporting.orderDocuments.get/id": id +"/dfareporting:v2.7/dfareporting.orderDocuments.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.orderDocuments.get/projectId": project_id +"/dfareporting:v2.7/dfareporting.orderDocuments.list": list_order_documents +"/dfareporting:v2.7/dfareporting.orderDocuments.list/approved": approved +"/dfareporting:v2.7/dfareporting.orderDocuments.list/ids": ids +"/dfareporting:v2.7/dfareporting.orderDocuments.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.orderDocuments.list/orderId": order_id +"/dfareporting:v2.7/dfareporting.orderDocuments.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.orderDocuments.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.orderDocuments.list/projectId": project_id +"/dfareporting:v2.7/dfareporting.orderDocuments.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.orderDocuments.list/siteId": site_id +"/dfareporting:v2.7/dfareporting.orderDocuments.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.orderDocuments.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.orders.get": get_order +"/dfareporting:v2.7/dfareporting.orders.get/id": id +"/dfareporting:v2.7/dfareporting.orders.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.orders.get/projectId": project_id +"/dfareporting:v2.7/dfareporting.orders.list": list_orders +"/dfareporting:v2.7/dfareporting.orders.list/ids": ids +"/dfareporting:v2.7/dfareporting.orders.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.orders.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.orders.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.orders.list/projectId": project_id +"/dfareporting:v2.7/dfareporting.orders.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.orders.list/siteId": site_id +"/dfareporting:v2.7/dfareporting.orders.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.orders.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.placementGroups.get": get_placement_group +"/dfareporting:v2.7/dfareporting.placementGroups.get/id": id +"/dfareporting:v2.7/dfareporting.placementGroups.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementGroups.insert": insert_placement_group +"/dfareporting:v2.7/dfareporting.placementGroups.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementGroups.list": list_placement_groups +"/dfareporting:v2.7/dfareporting.placementGroups.list/advertiserIds": advertiser_ids +"/dfareporting:v2.7/dfareporting.placementGroups.list/archived": archived +"/dfareporting:v2.7/dfareporting.placementGroups.list/campaignIds": campaign_ids +"/dfareporting:v2.7/dfareporting.placementGroups.list/contentCategoryIds": content_category_ids +"/dfareporting:v2.7/dfareporting.placementGroups.list/directorySiteIds": directory_site_ids +"/dfareporting:v2.7/dfareporting.placementGroups.list/ids": ids +"/dfareporting:v2.7/dfareporting.placementGroups.list/maxEndDate": max_end_date +"/dfareporting:v2.7/dfareporting.placementGroups.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.placementGroups.list/maxStartDate": max_start_date +"/dfareporting:v2.7/dfareporting.placementGroups.list/minEndDate": min_end_date +"/dfareporting:v2.7/dfareporting.placementGroups.list/minStartDate": min_start_date +"/dfareporting:v2.7/dfareporting.placementGroups.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.placementGroups.list/placementGroupType": placement_group_type +"/dfareporting:v2.7/dfareporting.placementGroups.list/placementStrategyIds": placement_strategy_ids +"/dfareporting:v2.7/dfareporting.placementGroups.list/pricingTypes": pricing_types +"/dfareporting:v2.7/dfareporting.placementGroups.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementGroups.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.placementGroups.list/siteIds": site_ids +"/dfareporting:v2.7/dfareporting.placementGroups.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.placementGroups.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.placementGroups.patch": patch_placement_group +"/dfareporting:v2.7/dfareporting.placementGroups.patch/id": id +"/dfareporting:v2.7/dfareporting.placementGroups.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementGroups.update": update_placement_group +"/dfareporting:v2.7/dfareporting.placementGroups.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementStrategies.delete": delete_placement_strategy +"/dfareporting:v2.7/dfareporting.placementStrategies.delete/id": id +"/dfareporting:v2.7/dfareporting.placementStrategies.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementStrategies.get": get_placement_strategy +"/dfareporting:v2.7/dfareporting.placementStrategies.get/id": id +"/dfareporting:v2.7/dfareporting.placementStrategies.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementStrategies.insert": insert_placement_strategy +"/dfareporting:v2.7/dfareporting.placementStrategies.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementStrategies.list": list_placement_strategies +"/dfareporting:v2.7/dfareporting.placementStrategies.list/ids": ids +"/dfareporting:v2.7/dfareporting.placementStrategies.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.placementStrategies.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.placementStrategies.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementStrategies.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.placementStrategies.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.placementStrategies.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.placementStrategies.patch": patch_placement_strategy +"/dfareporting:v2.7/dfareporting.placementStrategies.patch/id": id +"/dfareporting:v2.7/dfareporting.placementStrategies.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementStrategies.update": update_placement_strategy +"/dfareporting:v2.7/dfareporting.placementStrategies.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placements.generatetags": generatetags_placement +"/dfareporting:v2.7/dfareporting.placements.generatetags/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.placements.generatetags/placementIds": placement_ids +"/dfareporting:v2.7/dfareporting.placements.generatetags/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placements.generatetags/tagFormats": tag_formats +"/dfareporting:v2.7/dfareporting.placements.get": get_placement +"/dfareporting:v2.7/dfareporting.placements.get/id": id +"/dfareporting:v2.7/dfareporting.placements.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placements.insert": insert_placement +"/dfareporting:v2.7/dfareporting.placements.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placements.list": list_placements +"/dfareporting:v2.7/dfareporting.placements.list/advertiserIds": advertiser_ids +"/dfareporting:v2.7/dfareporting.placements.list/archived": archived +"/dfareporting:v2.7/dfareporting.placements.list/campaignIds": campaign_ids +"/dfareporting:v2.7/dfareporting.placements.list/compatibilities": compatibilities +"/dfareporting:v2.7/dfareporting.placements.list/contentCategoryIds": content_category_ids +"/dfareporting:v2.7/dfareporting.placements.list/directorySiteIds": directory_site_ids +"/dfareporting:v2.7/dfareporting.placements.list/groupIds": group_ids +"/dfareporting:v2.7/dfareporting.placements.list/ids": ids +"/dfareporting:v2.7/dfareporting.placements.list/maxEndDate": max_end_date +"/dfareporting:v2.7/dfareporting.placements.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.placements.list/maxStartDate": max_start_date +"/dfareporting:v2.7/dfareporting.placements.list/minEndDate": min_end_date +"/dfareporting:v2.7/dfareporting.placements.list/minStartDate": min_start_date +"/dfareporting:v2.7/dfareporting.placements.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.placements.list/paymentSource": payment_source +"/dfareporting:v2.7/dfareporting.placements.list/placementStrategyIds": placement_strategy_ids +"/dfareporting:v2.7/dfareporting.placements.list/pricingTypes": pricing_types +"/dfareporting:v2.7/dfareporting.placements.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placements.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.placements.list/siteIds": site_ids +"/dfareporting:v2.7/dfareporting.placements.list/sizeIds": size_ids +"/dfareporting:v2.7/dfareporting.placements.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.placements.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.placements.patch": patch_placement +"/dfareporting:v2.7/dfareporting.placements.patch/id": id +"/dfareporting:v2.7/dfareporting.placements.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placements.update": update_placement +"/dfareporting:v2.7/dfareporting.placements.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.platformTypes.get": get_platform_type +"/dfareporting:v2.7/dfareporting.platformTypes.get/id": id +"/dfareporting:v2.7/dfareporting.platformTypes.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.platformTypes.list": list_platform_types +"/dfareporting:v2.7/dfareporting.platformTypes.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.postalCodes.get": get_postal_code +"/dfareporting:v2.7/dfareporting.postalCodes.get/code": code +"/dfareporting:v2.7/dfareporting.postalCodes.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.postalCodes.list": list_postal_codes +"/dfareporting:v2.7/dfareporting.postalCodes.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.projects.get": get_project +"/dfareporting:v2.7/dfareporting.projects.get/id": id +"/dfareporting:v2.7/dfareporting.projects.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.projects.list": list_projects +"/dfareporting:v2.7/dfareporting.projects.list/advertiserIds": advertiser_ids +"/dfareporting:v2.7/dfareporting.projects.list/ids": ids +"/dfareporting:v2.7/dfareporting.projects.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.projects.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.projects.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.projects.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.projects.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.projects.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.regions.list": list_regions +"/dfareporting:v2.7/dfareporting.regions.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingListShares.get": get_remarketing_list_share +"/dfareporting:v2.7/dfareporting.remarketingListShares.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingListShares.get/remarketingListId": remarketing_list_id +"/dfareporting:v2.7/dfareporting.remarketingListShares.patch": patch_remarketing_list_share +"/dfareporting:v2.7/dfareporting.remarketingListShares.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingListShares.patch/remarketingListId": remarketing_list_id +"/dfareporting:v2.7/dfareporting.remarketingListShares.update": update_remarketing_list_share +"/dfareporting:v2.7/dfareporting.remarketingListShares.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingLists.get": get_remarketing_list +"/dfareporting:v2.7/dfareporting.remarketingLists.get/id": id +"/dfareporting:v2.7/dfareporting.remarketingLists.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingLists.insert": insert_remarketing_list +"/dfareporting:v2.7/dfareporting.remarketingLists.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingLists.list": list_remarketing_lists +"/dfareporting:v2.7/dfareporting.remarketingLists.list/active": active +"/dfareporting:v2.7/dfareporting.remarketingLists.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.remarketingLists.list/floodlightActivityId": floodlight_activity_id +"/dfareporting:v2.7/dfareporting.remarketingLists.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.remarketingLists.list/name": name +"/dfareporting:v2.7/dfareporting.remarketingLists.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.remarketingLists.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingLists.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.remarketingLists.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.remarketingLists.patch": patch_remarketing_list +"/dfareporting:v2.7/dfareporting.remarketingLists.patch/id": id +"/dfareporting:v2.7/dfareporting.remarketingLists.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingLists.update": update_remarketing_list +"/dfareporting:v2.7/dfareporting.remarketingLists.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.compatibleFields.query": query_report_compatible_field +"/dfareporting:v2.7/dfareporting.reports.compatibleFields.query/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.delete": delete_report +"/dfareporting:v2.7/dfareporting.reports.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.delete/reportId": report_id +"/dfareporting:v2.7/dfareporting.reports.files.get": get_report_file +"/dfareporting:v2.7/dfareporting.reports.files.get/fileId": file_id +"/dfareporting:v2.7/dfareporting.reports.files.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.files.get/reportId": report_id +"/dfareporting:v2.7/dfareporting.reports.files.list": list_report_files +"/dfareporting:v2.7/dfareporting.reports.files.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.reports.files.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.reports.files.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.files.list/reportId": report_id +"/dfareporting:v2.7/dfareporting.reports.files.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.reports.files.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.reports.get": get_report +"/dfareporting:v2.7/dfareporting.reports.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.get/reportId": report_id +"/dfareporting:v2.7/dfareporting.reports.insert": insert_report +"/dfareporting:v2.7/dfareporting.reports.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.list": list_reports +"/dfareporting:v2.7/dfareporting.reports.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.reports.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.reports.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.list/scope": scope +"/dfareporting:v2.7/dfareporting.reports.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.reports.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.reports.patch": patch_report +"/dfareporting:v2.7/dfareporting.reports.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.patch/reportId": report_id +"/dfareporting:v2.7/dfareporting.reports.run": run_report +"/dfareporting:v2.7/dfareporting.reports.run/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.run/reportId": report_id +"/dfareporting:v2.7/dfareporting.reports.run/synchronous": synchronous +"/dfareporting:v2.7/dfareporting.reports.update": update_report +"/dfareporting:v2.7/dfareporting.reports.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.update/reportId": report_id +"/dfareporting:v2.7/dfareporting.sites.get": get_site +"/dfareporting:v2.7/dfareporting.sites.get/id": id +"/dfareporting:v2.7/dfareporting.sites.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sites.insert": insert_site +"/dfareporting:v2.7/dfareporting.sites.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sites.list": list_sites +"/dfareporting:v2.7/dfareporting.sites.list/acceptsInStreamVideoPlacements": accepts_in_stream_video_placements +"/dfareporting:v2.7/dfareporting.sites.list/acceptsInterstitialPlacements": accepts_interstitial_placements +"/dfareporting:v2.7/dfareporting.sites.list/acceptsPublisherPaidPlacements": accepts_publisher_paid_placements +"/dfareporting:v2.7/dfareporting.sites.list/adWordsSite": ad_words_site +"/dfareporting:v2.7/dfareporting.sites.list/approved": approved +"/dfareporting:v2.7/dfareporting.sites.list/campaignIds": campaign_ids +"/dfareporting:v2.7/dfareporting.sites.list/directorySiteIds": directory_site_ids +"/dfareporting:v2.7/dfareporting.sites.list/ids": ids +"/dfareporting:v2.7/dfareporting.sites.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.sites.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.sites.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sites.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.sites.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.sites.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.sites.list/subaccountId": subaccount_id +"/dfareporting:v2.7/dfareporting.sites.list/unmappedSite": unmapped_site +"/dfareporting:v2.7/dfareporting.sites.patch": patch_site +"/dfareporting:v2.7/dfareporting.sites.patch/id": id +"/dfareporting:v2.7/dfareporting.sites.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sites.update": update_site +"/dfareporting:v2.7/dfareporting.sites.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sizes.get": get_size +"/dfareporting:v2.7/dfareporting.sizes.get/id": id +"/dfareporting:v2.7/dfareporting.sizes.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sizes.insert": insert_size +"/dfareporting:v2.7/dfareporting.sizes.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sizes.list": list_sizes +"/dfareporting:v2.7/dfareporting.sizes.list/height": height +"/dfareporting:v2.7/dfareporting.sizes.list/iabStandard": iab_standard +"/dfareporting:v2.7/dfareporting.sizes.list/ids": ids +"/dfareporting:v2.7/dfareporting.sizes.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sizes.list/width": width +"/dfareporting:v2.7/dfareporting.subaccounts.get": get_subaccount +"/dfareporting:v2.7/dfareporting.subaccounts.get/id": id +"/dfareporting:v2.7/dfareporting.subaccounts.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.subaccounts.insert": insert_subaccount +"/dfareporting:v2.7/dfareporting.subaccounts.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.subaccounts.list": list_subaccounts +"/dfareporting:v2.7/dfareporting.subaccounts.list/ids": ids +"/dfareporting:v2.7/dfareporting.subaccounts.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.subaccounts.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.subaccounts.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.subaccounts.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.subaccounts.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.subaccounts.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.subaccounts.patch": patch_subaccount +"/dfareporting:v2.7/dfareporting.subaccounts.patch/id": id +"/dfareporting:v2.7/dfareporting.subaccounts.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.subaccounts.update": update_subaccount +"/dfareporting:v2.7/dfareporting.subaccounts.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.get": get_targetable_remarketing_list +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.get/id": id +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list": list_targetable_remarketing_lists +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/active": active +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/name": name +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.targetingTemplates.get": get_targeting_template +"/dfareporting:v2.7/dfareporting.targetingTemplates.get/id": id +"/dfareporting:v2.7/dfareporting.targetingTemplates.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.targetingTemplates.insert": insert_targeting_template +"/dfareporting:v2.7/dfareporting.targetingTemplates.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.targetingTemplates.list": list_targeting_templates +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/ids": ids +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.targetingTemplates.patch": patch_targeting_template +"/dfareporting:v2.7/dfareporting.targetingTemplates.patch/id": id +"/dfareporting:v2.7/dfareporting.targetingTemplates.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.targetingTemplates.update": update_targeting_template +"/dfareporting:v2.7/dfareporting.targetingTemplates.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userProfiles.get": get_user_profile +"/dfareporting:v2.7/dfareporting.userProfiles.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userProfiles.list": list_user_profiles +"/dfareporting:v2.7/dfareporting.userRolePermissionGroups.get": get_user_role_permission_group +"/dfareporting:v2.7/dfareporting.userRolePermissionGroups.get/id": id +"/dfareporting:v2.7/dfareporting.userRolePermissionGroups.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRolePermissionGroups.list": list_user_role_permission_groups +"/dfareporting:v2.7/dfareporting.userRolePermissionGroups.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRolePermissions.get": get_user_role_permission +"/dfareporting:v2.7/dfareporting.userRolePermissions.get/id": id +"/dfareporting:v2.7/dfareporting.userRolePermissions.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRolePermissions.list": list_user_role_permissions +"/dfareporting:v2.7/dfareporting.userRolePermissions.list/ids": ids +"/dfareporting:v2.7/dfareporting.userRolePermissions.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRoles.delete": delete_user_role +"/dfareporting:v2.7/dfareporting.userRoles.delete/id": id +"/dfareporting:v2.7/dfareporting.userRoles.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRoles.get": get_user_role +"/dfareporting:v2.7/dfareporting.userRoles.get/id": id +"/dfareporting:v2.7/dfareporting.userRoles.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRoles.insert": insert_user_role +"/dfareporting:v2.7/dfareporting.userRoles.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRoles.list": list_user_roles +"/dfareporting:v2.7/dfareporting.userRoles.list/accountUserRoleOnly": account_user_role_only +"/dfareporting:v2.7/dfareporting.userRoles.list/ids": ids +"/dfareporting:v2.7/dfareporting.userRoles.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.userRoles.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.userRoles.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRoles.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.userRoles.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.userRoles.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.userRoles.list/subaccountId": subaccount_id +"/dfareporting:v2.7/dfareporting.userRoles.patch": patch_user_role +"/dfareporting:v2.7/dfareporting.userRoles.patch/id": id +"/dfareporting:v2.7/dfareporting.userRoles.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRoles.update": update_user_role +"/dfareporting:v2.7/dfareporting.userRoles.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.videoFormats.get": get_video_format +"/dfareporting:v2.7/dfareporting.videoFormats.get/id": id +"/dfareporting:v2.7/dfareporting.videoFormats.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.videoFormats.list": list_video_formats +"/dfareporting:v2.7/dfareporting.videoFormats.list/profileId": profile_id +"/dfareporting:v2.7/fields": fields +"/dfareporting:v2.7/key": key +"/dfareporting:v2.7/quotaUser": quota_user +"/dfareporting:v2.7/userIp": user_ip "/dfareporting:v2.8/Account": account "/dfareporting:v2.8/Account/accountPermissionIds": account_permission_ids "/dfareporting:v2.8/Account/accountPermissionIds/account_permission_id": account_permission_id @@ -24671,6 +24061,7 @@ "/dfareporting:v2.8/Conversion/encryptedUserIdCandidates/encrypted_user_id_candidate": encrypted_user_id_candidate "/dfareporting:v2.8/Conversion/floodlightActivityId": floodlight_activity_id "/dfareporting:v2.8/Conversion/floodlightConfigurationId": floodlight_configuration_id +"/dfareporting:v2.8/Conversion/gclid": gclid "/dfareporting:v2.8/Conversion/kind": kind "/dfareporting:v2.8/Conversion/limitAdTracking": limit_ad_tracking "/dfareporting:v2.8/Conversion/mobileDeviceId": mobile_device_id @@ -26046,15 +25437,878 @@ "/dfareporting:v2.8/VideoSettings/kind": kind "/dfareporting:v2.8/VideoSettings/skippableSettings": skippable_settings "/dfareporting:v2.8/VideoSettings/transcodeSettings": transcode_settings -"/discovery:v1/fields": fields -"/discovery:v1/key": key -"/discovery:v1/quotaUser": quota_user -"/discovery:v1/userIp": user_ip -"/discovery:v1/discovery.apis.getRest/api": api -"/discovery:v1/discovery.apis.getRest/version": version -"/discovery:v1/discovery.apis.list": list_apis -"/discovery:v1/discovery.apis.list/name": name -"/discovery:v1/discovery.apis.list/preferred": preferred +"/dfareporting:v2.8/dfareporting.accountActiveAdSummaries.get": get_account_active_ad_summary +"/dfareporting:v2.8/dfareporting.accountActiveAdSummaries.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.accountActiveAdSummaries.get/summaryAccountId": summary_account_id +"/dfareporting:v2.8/dfareporting.accountPermissionGroups.get": get_account_permission_group +"/dfareporting:v2.8/dfareporting.accountPermissionGroups.get/id": id +"/dfareporting:v2.8/dfareporting.accountPermissionGroups.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.accountPermissionGroups.list": list_account_permission_groups +"/dfareporting:v2.8/dfareporting.accountPermissionGroups.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.accountPermissions.get": get_account_permission +"/dfareporting:v2.8/dfareporting.accountPermissions.get/id": id +"/dfareporting:v2.8/dfareporting.accountPermissions.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.accountPermissions.list": list_account_permissions +"/dfareporting:v2.8/dfareporting.accountPermissions.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.accountUserProfiles.get": get_account_user_profile +"/dfareporting:v2.8/dfareporting.accountUserProfiles.get/id": id +"/dfareporting:v2.8/dfareporting.accountUserProfiles.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.accountUserProfiles.insert": insert_account_user_profile +"/dfareporting:v2.8/dfareporting.accountUserProfiles.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.accountUserProfiles.list": list_account_user_profiles +"/dfareporting:v2.8/dfareporting.accountUserProfiles.list/active": active +"/dfareporting:v2.8/dfareporting.accountUserProfiles.list/ids": ids +"/dfareporting:v2.8/dfareporting.accountUserProfiles.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.accountUserProfiles.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.accountUserProfiles.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.accountUserProfiles.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.accountUserProfiles.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.accountUserProfiles.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.accountUserProfiles.list/subaccountId": subaccount_id +"/dfareporting:v2.8/dfareporting.accountUserProfiles.list/userRoleId": user_role_id +"/dfareporting:v2.8/dfareporting.accountUserProfiles.patch": patch_account_user_profile +"/dfareporting:v2.8/dfareporting.accountUserProfiles.patch/id": id +"/dfareporting:v2.8/dfareporting.accountUserProfiles.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.accountUserProfiles.update": update_account_user_profile +"/dfareporting:v2.8/dfareporting.accountUserProfiles.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.accounts.get": get_account +"/dfareporting:v2.8/dfareporting.accounts.get/id": id +"/dfareporting:v2.8/dfareporting.accounts.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.accounts.list": list_accounts +"/dfareporting:v2.8/dfareporting.accounts.list/active": active +"/dfareporting:v2.8/dfareporting.accounts.list/ids": ids +"/dfareporting:v2.8/dfareporting.accounts.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.accounts.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.accounts.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.accounts.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.accounts.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.accounts.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.accounts.patch": patch_account +"/dfareporting:v2.8/dfareporting.accounts.patch/id": id +"/dfareporting:v2.8/dfareporting.accounts.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.accounts.update": update_account +"/dfareporting:v2.8/dfareporting.accounts.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.ads.get": get_ad +"/dfareporting:v2.8/dfareporting.ads.get/id": id +"/dfareporting:v2.8/dfareporting.ads.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.ads.insert": insert_ad +"/dfareporting:v2.8/dfareporting.ads.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.ads.list": list_ads +"/dfareporting:v2.8/dfareporting.ads.list/active": active +"/dfareporting:v2.8/dfareporting.ads.list/advertiserId": advertiser_id +"/dfareporting:v2.8/dfareporting.ads.list/archived": archived +"/dfareporting:v2.8/dfareporting.ads.list/audienceSegmentIds": audience_segment_ids +"/dfareporting:v2.8/dfareporting.ads.list/campaignIds": campaign_ids +"/dfareporting:v2.8/dfareporting.ads.list/compatibility": compatibility +"/dfareporting:v2.8/dfareporting.ads.list/creativeIds": creative_ids +"/dfareporting:v2.8/dfareporting.ads.list/creativeOptimizationConfigurationIds": creative_optimization_configuration_ids +"/dfareporting:v2.8/dfareporting.ads.list/dynamicClickTracker": dynamic_click_tracker +"/dfareporting:v2.8/dfareporting.ads.list/ids": ids +"/dfareporting:v2.8/dfareporting.ads.list/landingPageIds": landing_page_ids +"/dfareporting:v2.8/dfareporting.ads.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.ads.list/overriddenEventTagId": overridden_event_tag_id +"/dfareporting:v2.8/dfareporting.ads.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.ads.list/placementIds": placement_ids +"/dfareporting:v2.8/dfareporting.ads.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.ads.list/remarketingListIds": remarketing_list_ids +"/dfareporting:v2.8/dfareporting.ads.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.ads.list/sizeIds": size_ids +"/dfareporting:v2.8/dfareporting.ads.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.ads.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.ads.list/sslCompliant": ssl_compliant +"/dfareporting:v2.8/dfareporting.ads.list/sslRequired": ssl_required +"/dfareporting:v2.8/dfareporting.ads.list/type": type +"/dfareporting:v2.8/dfareporting.ads.patch": patch_ad +"/dfareporting:v2.8/dfareporting.ads.patch/id": id +"/dfareporting:v2.8/dfareporting.ads.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.ads.update": update_ad +"/dfareporting:v2.8/dfareporting.ads.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.advertiserGroups.delete": delete_advertiser_group +"/dfareporting:v2.8/dfareporting.advertiserGroups.delete/id": id +"/dfareporting:v2.8/dfareporting.advertiserGroups.delete/profileId": profile_id +"/dfareporting:v2.8/dfareporting.advertiserGroups.get": get_advertiser_group +"/dfareporting:v2.8/dfareporting.advertiserGroups.get/id": id +"/dfareporting:v2.8/dfareporting.advertiserGroups.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.advertiserGroups.insert": insert_advertiser_group +"/dfareporting:v2.8/dfareporting.advertiserGroups.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.advertiserGroups.list": list_advertiser_groups +"/dfareporting:v2.8/dfareporting.advertiserGroups.list/ids": ids +"/dfareporting:v2.8/dfareporting.advertiserGroups.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.advertiserGroups.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.advertiserGroups.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.advertiserGroups.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.advertiserGroups.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.advertiserGroups.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.advertiserGroups.patch": patch_advertiser_group +"/dfareporting:v2.8/dfareporting.advertiserGroups.patch/id": id +"/dfareporting:v2.8/dfareporting.advertiserGroups.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.advertiserGroups.update": update_advertiser_group +"/dfareporting:v2.8/dfareporting.advertiserGroups.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.advertisers.get": get_advertiser +"/dfareporting:v2.8/dfareporting.advertisers.get/id": id +"/dfareporting:v2.8/dfareporting.advertisers.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.advertisers.insert": insert_advertiser +"/dfareporting:v2.8/dfareporting.advertisers.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.advertisers.list": list_advertisers +"/dfareporting:v2.8/dfareporting.advertisers.list/advertiserGroupIds": advertiser_group_ids +"/dfareporting:v2.8/dfareporting.advertisers.list/floodlightConfigurationIds": floodlight_configuration_ids +"/dfareporting:v2.8/dfareporting.advertisers.list/ids": ids +"/dfareporting:v2.8/dfareporting.advertisers.list/includeAdvertisersWithoutGroupsOnly": include_advertisers_without_groups_only +"/dfareporting:v2.8/dfareporting.advertisers.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.advertisers.list/onlyParent": only_parent +"/dfareporting:v2.8/dfareporting.advertisers.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.advertisers.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.advertisers.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.advertisers.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.advertisers.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.advertisers.list/status": status +"/dfareporting:v2.8/dfareporting.advertisers.list/subaccountId": subaccount_id +"/dfareporting:v2.8/dfareporting.advertisers.patch": patch_advertiser +"/dfareporting:v2.8/dfareporting.advertisers.patch/id": id +"/dfareporting:v2.8/dfareporting.advertisers.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.advertisers.update": update_advertiser +"/dfareporting:v2.8/dfareporting.advertisers.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.browsers.list": list_browsers +"/dfareporting:v2.8/dfareporting.browsers.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.campaignCreativeAssociations.insert": insert_campaign_creative_association +"/dfareporting:v2.8/dfareporting.campaignCreativeAssociations.insert/campaignId": campaign_id +"/dfareporting:v2.8/dfareporting.campaignCreativeAssociations.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.campaignCreativeAssociations.list": list_campaign_creative_associations +"/dfareporting:v2.8/dfareporting.campaignCreativeAssociations.list/campaignId": campaign_id +"/dfareporting:v2.8/dfareporting.campaignCreativeAssociations.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.campaignCreativeAssociations.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.campaignCreativeAssociations.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.campaignCreativeAssociations.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.campaigns.get": get_campaign +"/dfareporting:v2.8/dfareporting.campaigns.get/id": id +"/dfareporting:v2.8/dfareporting.campaigns.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.campaigns.insert": insert_campaign +"/dfareporting:v2.8/dfareporting.campaigns.insert/defaultLandingPageName": default_landing_page_name +"/dfareporting:v2.8/dfareporting.campaigns.insert/defaultLandingPageUrl": default_landing_page_url +"/dfareporting:v2.8/dfareporting.campaigns.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.campaigns.list": list_campaigns +"/dfareporting:v2.8/dfareporting.campaigns.list/advertiserGroupIds": advertiser_group_ids +"/dfareporting:v2.8/dfareporting.campaigns.list/advertiserIds": advertiser_ids +"/dfareporting:v2.8/dfareporting.campaigns.list/archived": archived +"/dfareporting:v2.8/dfareporting.campaigns.list/atLeastOneOptimizationActivity": at_least_one_optimization_activity +"/dfareporting:v2.8/dfareporting.campaigns.list/excludedIds": excluded_ids +"/dfareporting:v2.8/dfareporting.campaigns.list/ids": ids +"/dfareporting:v2.8/dfareporting.campaigns.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.campaigns.list/overriddenEventTagId": overridden_event_tag_id +"/dfareporting:v2.8/dfareporting.campaigns.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.campaigns.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.campaigns.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.campaigns.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.campaigns.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.campaigns.list/subaccountId": subaccount_id +"/dfareporting:v2.8/dfareporting.campaigns.patch": patch_campaign +"/dfareporting:v2.8/dfareporting.campaigns.patch/id": id +"/dfareporting:v2.8/dfareporting.campaigns.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.campaigns.update": update_campaign +"/dfareporting:v2.8/dfareporting.campaigns.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.changeLogs.get": get_change_log +"/dfareporting:v2.8/dfareporting.changeLogs.get/id": id +"/dfareporting:v2.8/dfareporting.changeLogs.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.changeLogs.list": list_change_logs +"/dfareporting:v2.8/dfareporting.changeLogs.list/action": action +"/dfareporting:v2.8/dfareporting.changeLogs.list/ids": ids +"/dfareporting:v2.8/dfareporting.changeLogs.list/maxChangeTime": max_change_time +"/dfareporting:v2.8/dfareporting.changeLogs.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.changeLogs.list/minChangeTime": min_change_time +"/dfareporting:v2.8/dfareporting.changeLogs.list/objectIds": object_ids +"/dfareporting:v2.8/dfareporting.changeLogs.list/objectType": object_type +"/dfareporting:v2.8/dfareporting.changeLogs.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.changeLogs.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.changeLogs.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.changeLogs.list/userProfileIds": user_profile_ids +"/dfareporting:v2.8/dfareporting.cities.list": list_cities +"/dfareporting:v2.8/dfareporting.cities.list/countryDartIds": country_dart_ids +"/dfareporting:v2.8/dfareporting.cities.list/dartIds": dart_ids +"/dfareporting:v2.8/dfareporting.cities.list/namePrefix": name_prefix +"/dfareporting:v2.8/dfareporting.cities.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.cities.list/regionDartIds": region_dart_ids +"/dfareporting:v2.8/dfareporting.connectionTypes.get": get_connection_type +"/dfareporting:v2.8/dfareporting.connectionTypes.get/id": id +"/dfareporting:v2.8/dfareporting.connectionTypes.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.connectionTypes.list": list_connection_types +"/dfareporting:v2.8/dfareporting.connectionTypes.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.contentCategories.delete": delete_content_category +"/dfareporting:v2.8/dfareporting.contentCategories.delete/id": id +"/dfareporting:v2.8/dfareporting.contentCategories.delete/profileId": profile_id +"/dfareporting:v2.8/dfareporting.contentCategories.get": get_content_category +"/dfareporting:v2.8/dfareporting.contentCategories.get/id": id +"/dfareporting:v2.8/dfareporting.contentCategories.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.contentCategories.insert": insert_content_category +"/dfareporting:v2.8/dfareporting.contentCategories.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.contentCategories.list": list_content_categories +"/dfareporting:v2.8/dfareporting.contentCategories.list/ids": ids +"/dfareporting:v2.8/dfareporting.contentCategories.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.contentCategories.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.contentCategories.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.contentCategories.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.contentCategories.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.contentCategories.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.contentCategories.patch": patch_content_category +"/dfareporting:v2.8/dfareporting.contentCategories.patch/id": id +"/dfareporting:v2.8/dfareporting.contentCategories.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.contentCategories.update": update_content_category +"/dfareporting:v2.8/dfareporting.contentCategories.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.conversions.batchinsert": batchinsert_conversion +"/dfareporting:v2.8/dfareporting.conversions.batchinsert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.conversions.batchupdate": batchupdate_conversion +"/dfareporting:v2.8/dfareporting.conversions.batchupdate/profileId": profile_id +"/dfareporting:v2.8/dfareporting.countries.get": get_country +"/dfareporting:v2.8/dfareporting.countries.get/dartId": dart_id +"/dfareporting:v2.8/dfareporting.countries.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.countries.list": list_countries +"/dfareporting:v2.8/dfareporting.countries.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.creativeAssets.insert": insert_creative_asset +"/dfareporting:v2.8/dfareporting.creativeAssets.insert/advertiserId": advertiser_id +"/dfareporting:v2.8/dfareporting.creativeAssets.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.creativeFieldValues.delete": delete_creative_field_value +"/dfareporting:v2.8/dfareporting.creativeFieldValues.delete/creativeFieldId": creative_field_id +"/dfareporting:v2.8/dfareporting.creativeFieldValues.delete/id": id +"/dfareporting:v2.8/dfareporting.creativeFieldValues.delete/profileId": profile_id +"/dfareporting:v2.8/dfareporting.creativeFieldValues.get": get_creative_field_value +"/dfareporting:v2.8/dfareporting.creativeFieldValues.get/creativeFieldId": creative_field_id +"/dfareporting:v2.8/dfareporting.creativeFieldValues.get/id": id +"/dfareporting:v2.8/dfareporting.creativeFieldValues.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.creativeFieldValues.insert": insert_creative_field_value +"/dfareporting:v2.8/dfareporting.creativeFieldValues.insert/creativeFieldId": creative_field_id +"/dfareporting:v2.8/dfareporting.creativeFieldValues.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.creativeFieldValues.list": list_creative_field_values +"/dfareporting:v2.8/dfareporting.creativeFieldValues.list/creativeFieldId": creative_field_id +"/dfareporting:v2.8/dfareporting.creativeFieldValues.list/ids": ids +"/dfareporting:v2.8/dfareporting.creativeFieldValues.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.creativeFieldValues.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.creativeFieldValues.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.creativeFieldValues.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.creativeFieldValues.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.creativeFieldValues.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.creativeFieldValues.patch": patch_creative_field_value +"/dfareporting:v2.8/dfareporting.creativeFieldValues.patch/creativeFieldId": creative_field_id +"/dfareporting:v2.8/dfareporting.creativeFieldValues.patch/id": id +"/dfareporting:v2.8/dfareporting.creativeFieldValues.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.creativeFieldValues.update": update_creative_field_value +"/dfareporting:v2.8/dfareporting.creativeFieldValues.update/creativeFieldId": creative_field_id +"/dfareporting:v2.8/dfareporting.creativeFieldValues.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.creativeFields.delete": delete_creative_field +"/dfareporting:v2.8/dfareporting.creativeFields.delete/id": id +"/dfareporting:v2.8/dfareporting.creativeFields.delete/profileId": profile_id +"/dfareporting:v2.8/dfareporting.creativeFields.get": get_creative_field +"/dfareporting:v2.8/dfareporting.creativeFields.get/id": id +"/dfareporting:v2.8/dfareporting.creativeFields.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.creativeFields.insert": insert_creative_field +"/dfareporting:v2.8/dfareporting.creativeFields.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.creativeFields.list": list_creative_fields +"/dfareporting:v2.8/dfareporting.creativeFields.list/advertiserIds": advertiser_ids +"/dfareporting:v2.8/dfareporting.creativeFields.list/ids": ids +"/dfareporting:v2.8/dfareporting.creativeFields.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.creativeFields.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.creativeFields.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.creativeFields.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.creativeFields.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.creativeFields.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.creativeFields.patch": patch_creative_field +"/dfareporting:v2.8/dfareporting.creativeFields.patch/id": id +"/dfareporting:v2.8/dfareporting.creativeFields.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.creativeFields.update": update_creative_field +"/dfareporting:v2.8/dfareporting.creativeFields.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.creativeGroups.get": get_creative_group +"/dfareporting:v2.8/dfareporting.creativeGroups.get/id": id +"/dfareporting:v2.8/dfareporting.creativeGroups.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.creativeGroups.insert": insert_creative_group +"/dfareporting:v2.8/dfareporting.creativeGroups.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.creativeGroups.list": list_creative_groups +"/dfareporting:v2.8/dfareporting.creativeGroups.list/advertiserIds": advertiser_ids +"/dfareporting:v2.8/dfareporting.creativeGroups.list/groupNumber": group_number +"/dfareporting:v2.8/dfareporting.creativeGroups.list/ids": ids +"/dfareporting:v2.8/dfareporting.creativeGroups.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.creativeGroups.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.creativeGroups.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.creativeGroups.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.creativeGroups.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.creativeGroups.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.creativeGroups.patch": patch_creative_group +"/dfareporting:v2.8/dfareporting.creativeGroups.patch/id": id +"/dfareporting:v2.8/dfareporting.creativeGroups.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.creativeGroups.update": update_creative_group +"/dfareporting:v2.8/dfareporting.creativeGroups.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.creatives.get": get_creative +"/dfareporting:v2.8/dfareporting.creatives.get/id": id +"/dfareporting:v2.8/dfareporting.creatives.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.creatives.insert": insert_creative +"/dfareporting:v2.8/dfareporting.creatives.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.creatives.list": list_creatives +"/dfareporting:v2.8/dfareporting.creatives.list/active": active +"/dfareporting:v2.8/dfareporting.creatives.list/advertiserId": advertiser_id +"/dfareporting:v2.8/dfareporting.creatives.list/archived": archived +"/dfareporting:v2.8/dfareporting.creatives.list/campaignId": campaign_id +"/dfareporting:v2.8/dfareporting.creatives.list/companionCreativeIds": companion_creative_ids +"/dfareporting:v2.8/dfareporting.creatives.list/creativeFieldIds": creative_field_ids +"/dfareporting:v2.8/dfareporting.creatives.list/ids": ids +"/dfareporting:v2.8/dfareporting.creatives.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.creatives.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.creatives.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.creatives.list/renderingIds": rendering_ids +"/dfareporting:v2.8/dfareporting.creatives.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.creatives.list/sizeIds": size_ids +"/dfareporting:v2.8/dfareporting.creatives.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.creatives.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.creatives.list/studioCreativeId": studio_creative_id +"/dfareporting:v2.8/dfareporting.creatives.list/types": types +"/dfareporting:v2.8/dfareporting.creatives.patch": patch_creative +"/dfareporting:v2.8/dfareporting.creatives.patch/id": id +"/dfareporting:v2.8/dfareporting.creatives.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.creatives.update": update_creative +"/dfareporting:v2.8/dfareporting.creatives.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.dimensionValues.query": query_dimension_value +"/dfareporting:v2.8/dfareporting.dimensionValues.query/maxResults": max_results +"/dfareporting:v2.8/dfareporting.dimensionValues.query/pageToken": page_token +"/dfareporting:v2.8/dfareporting.dimensionValues.query/profileId": profile_id +"/dfareporting:v2.8/dfareporting.directorySiteContacts.get": get_directory_site_contact +"/dfareporting:v2.8/dfareporting.directorySiteContacts.get/id": id +"/dfareporting:v2.8/dfareporting.directorySiteContacts.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.directorySiteContacts.list": list_directory_site_contacts +"/dfareporting:v2.8/dfareporting.directorySiteContacts.list/directorySiteIds": directory_site_ids +"/dfareporting:v2.8/dfareporting.directorySiteContacts.list/ids": ids +"/dfareporting:v2.8/dfareporting.directorySiteContacts.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.directorySiteContacts.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.directorySiteContacts.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.directorySiteContacts.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.directorySiteContacts.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.directorySiteContacts.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.directorySites.get": get_directory_site +"/dfareporting:v2.8/dfareporting.directorySites.get/id": id +"/dfareporting:v2.8/dfareporting.directorySites.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.directorySites.insert": insert_directory_site +"/dfareporting:v2.8/dfareporting.directorySites.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.directorySites.list": list_directory_sites +"/dfareporting:v2.8/dfareporting.directorySites.list/acceptsInStreamVideoPlacements": accepts_in_stream_video_placements +"/dfareporting:v2.8/dfareporting.directorySites.list/acceptsInterstitialPlacements": accepts_interstitial_placements +"/dfareporting:v2.8/dfareporting.directorySites.list/acceptsPublisherPaidPlacements": accepts_publisher_paid_placements +"/dfareporting:v2.8/dfareporting.directorySites.list/active": active +"/dfareporting:v2.8/dfareporting.directorySites.list/countryId": country_id +"/dfareporting:v2.8/dfareporting.directorySites.list/dfpNetworkCode": dfp_network_code +"/dfareporting:v2.8/dfareporting.directorySites.list/ids": ids +"/dfareporting:v2.8/dfareporting.directorySites.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.directorySites.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.directorySites.list/parentId": parent_id +"/dfareporting:v2.8/dfareporting.directorySites.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.directorySites.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.directorySites.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.directorySites.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.delete": delete_dynamic_targeting_key +"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.delete/name": name +"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.delete/objectId": object_id_ +"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.delete/objectType": object_type +"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.delete/profileId": profile_id +"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.insert": insert_dynamic_targeting_key +"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.list": list_dynamic_targeting_keys +"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.list/advertiserId": advertiser_id +"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.list/names": names +"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.list/objectId": object_id_ +"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.list/objectType": object_type +"/dfareporting:v2.8/dfareporting.dynamicTargetingKeys.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.eventTags.delete": delete_event_tag +"/dfareporting:v2.8/dfareporting.eventTags.delete/id": id +"/dfareporting:v2.8/dfareporting.eventTags.delete/profileId": profile_id +"/dfareporting:v2.8/dfareporting.eventTags.get": get_event_tag +"/dfareporting:v2.8/dfareporting.eventTags.get/id": id +"/dfareporting:v2.8/dfareporting.eventTags.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.eventTags.insert": insert_event_tag +"/dfareporting:v2.8/dfareporting.eventTags.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.eventTags.list": list_event_tags +"/dfareporting:v2.8/dfareporting.eventTags.list/adId": ad_id +"/dfareporting:v2.8/dfareporting.eventTags.list/advertiserId": advertiser_id +"/dfareporting:v2.8/dfareporting.eventTags.list/campaignId": campaign_id +"/dfareporting:v2.8/dfareporting.eventTags.list/definitionsOnly": definitions_only +"/dfareporting:v2.8/dfareporting.eventTags.list/enabled": enabled +"/dfareporting:v2.8/dfareporting.eventTags.list/eventTagTypes": event_tag_types +"/dfareporting:v2.8/dfareporting.eventTags.list/ids": ids +"/dfareporting:v2.8/dfareporting.eventTags.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.eventTags.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.eventTags.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.eventTags.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.eventTags.patch": patch_event_tag +"/dfareporting:v2.8/dfareporting.eventTags.patch/id": id +"/dfareporting:v2.8/dfareporting.eventTags.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.eventTags.update": update_event_tag +"/dfareporting:v2.8/dfareporting.eventTags.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.files.get": get_file +"/dfareporting:v2.8/dfareporting.files.get/fileId": file_id +"/dfareporting:v2.8/dfareporting.files.get/reportId": report_id +"/dfareporting:v2.8/dfareporting.files.list": list_files +"/dfareporting:v2.8/dfareporting.files.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.files.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.files.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.files.list/scope": scope +"/dfareporting:v2.8/dfareporting.files.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.files.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.floodlightActivities.delete": delete_floodlight_activity +"/dfareporting:v2.8/dfareporting.floodlightActivities.delete/id": id +"/dfareporting:v2.8/dfareporting.floodlightActivities.delete/profileId": profile_id +"/dfareporting:v2.8/dfareporting.floodlightActivities.generatetag": generatetag_floodlight_activity +"/dfareporting:v2.8/dfareporting.floodlightActivities.generatetag/floodlightActivityId": floodlight_activity_id +"/dfareporting:v2.8/dfareporting.floodlightActivities.generatetag/profileId": profile_id +"/dfareporting:v2.8/dfareporting.floodlightActivities.get": get_floodlight_activity +"/dfareporting:v2.8/dfareporting.floodlightActivities.get/id": id +"/dfareporting:v2.8/dfareporting.floodlightActivities.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.floodlightActivities.insert": insert_floodlight_activity +"/dfareporting:v2.8/dfareporting.floodlightActivities.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.floodlightActivities.list": list_floodlight_activities +"/dfareporting:v2.8/dfareporting.floodlightActivities.list/advertiserId": advertiser_id +"/dfareporting:v2.8/dfareporting.floodlightActivities.list/floodlightActivityGroupIds": floodlight_activity_group_ids +"/dfareporting:v2.8/dfareporting.floodlightActivities.list/floodlightActivityGroupName": floodlight_activity_group_name +"/dfareporting:v2.8/dfareporting.floodlightActivities.list/floodlightActivityGroupTagString": floodlight_activity_group_tag_string +"/dfareporting:v2.8/dfareporting.floodlightActivities.list/floodlightActivityGroupType": floodlight_activity_group_type +"/dfareporting:v2.8/dfareporting.floodlightActivities.list/floodlightConfigurationId": floodlight_configuration_id +"/dfareporting:v2.8/dfareporting.floodlightActivities.list/ids": ids +"/dfareporting:v2.8/dfareporting.floodlightActivities.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.floodlightActivities.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.floodlightActivities.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.floodlightActivities.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.floodlightActivities.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.floodlightActivities.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.floodlightActivities.list/tagString": tag_string +"/dfareporting:v2.8/dfareporting.floodlightActivities.patch": patch_floodlight_activity +"/dfareporting:v2.8/dfareporting.floodlightActivities.patch/id": id +"/dfareporting:v2.8/dfareporting.floodlightActivities.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.floodlightActivities.update": update_floodlight_activity +"/dfareporting:v2.8/dfareporting.floodlightActivities.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.get": get_floodlight_activity_group +"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.get/id": id +"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.insert": insert_floodlight_activity_group +"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.list": list_floodlight_activity_groups +"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.list/advertiserId": advertiser_id +"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.list/floodlightConfigurationId": floodlight_configuration_id +"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.list/ids": ids +"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.list/type": type +"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.patch": patch_floodlight_activity_group +"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.patch/id": id +"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.update": update_floodlight_activity_group +"/dfareporting:v2.8/dfareporting.floodlightActivityGroups.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.floodlightConfigurations.get": get_floodlight_configuration +"/dfareporting:v2.8/dfareporting.floodlightConfigurations.get/id": id +"/dfareporting:v2.8/dfareporting.floodlightConfigurations.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.floodlightConfigurations.list": list_floodlight_configurations +"/dfareporting:v2.8/dfareporting.floodlightConfigurations.list/ids": ids +"/dfareporting:v2.8/dfareporting.floodlightConfigurations.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.floodlightConfigurations.patch": patch_floodlight_configuration +"/dfareporting:v2.8/dfareporting.floodlightConfigurations.patch/id": id +"/dfareporting:v2.8/dfareporting.floodlightConfigurations.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.floodlightConfigurations.update": update_floodlight_configuration +"/dfareporting:v2.8/dfareporting.floodlightConfigurations.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.inventoryItems.get": get_inventory_item +"/dfareporting:v2.8/dfareporting.inventoryItems.get/id": id +"/dfareporting:v2.8/dfareporting.inventoryItems.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.inventoryItems.get/projectId": project_id +"/dfareporting:v2.8/dfareporting.inventoryItems.list": list_inventory_items +"/dfareporting:v2.8/dfareporting.inventoryItems.list/ids": ids +"/dfareporting:v2.8/dfareporting.inventoryItems.list/inPlan": in_plan +"/dfareporting:v2.8/dfareporting.inventoryItems.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.inventoryItems.list/orderId": order_id +"/dfareporting:v2.8/dfareporting.inventoryItems.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.inventoryItems.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.inventoryItems.list/projectId": project_id +"/dfareporting:v2.8/dfareporting.inventoryItems.list/siteId": site_id +"/dfareporting:v2.8/dfareporting.inventoryItems.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.inventoryItems.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.inventoryItems.list/type": type +"/dfareporting:v2.8/dfareporting.landingPages.delete": delete_landing_page +"/dfareporting:v2.8/dfareporting.landingPages.delete/campaignId": campaign_id +"/dfareporting:v2.8/dfareporting.landingPages.delete/id": id +"/dfareporting:v2.8/dfareporting.landingPages.delete/profileId": profile_id +"/dfareporting:v2.8/dfareporting.landingPages.get": get_landing_page +"/dfareporting:v2.8/dfareporting.landingPages.get/campaignId": campaign_id +"/dfareporting:v2.8/dfareporting.landingPages.get/id": id +"/dfareporting:v2.8/dfareporting.landingPages.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.landingPages.insert": insert_landing_page +"/dfareporting:v2.8/dfareporting.landingPages.insert/campaignId": campaign_id +"/dfareporting:v2.8/dfareporting.landingPages.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.landingPages.list": list_landing_pages +"/dfareporting:v2.8/dfareporting.landingPages.list/campaignId": campaign_id +"/dfareporting:v2.8/dfareporting.landingPages.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.landingPages.patch": patch_landing_page +"/dfareporting:v2.8/dfareporting.landingPages.patch/campaignId": campaign_id +"/dfareporting:v2.8/dfareporting.landingPages.patch/id": id +"/dfareporting:v2.8/dfareporting.landingPages.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.landingPages.update": update_landing_page +"/dfareporting:v2.8/dfareporting.landingPages.update/campaignId": campaign_id +"/dfareporting:v2.8/dfareporting.landingPages.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.languages.list": list_languages +"/dfareporting:v2.8/dfareporting.languages.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.metros.list": list_metros +"/dfareporting:v2.8/dfareporting.metros.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.mobileCarriers.get": get_mobile_carrier +"/dfareporting:v2.8/dfareporting.mobileCarriers.get/id": id +"/dfareporting:v2.8/dfareporting.mobileCarriers.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.mobileCarriers.list": list_mobile_carriers +"/dfareporting:v2.8/dfareporting.mobileCarriers.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.operatingSystemVersions.get": get_operating_system_version +"/dfareporting:v2.8/dfareporting.operatingSystemVersions.get/id": id +"/dfareporting:v2.8/dfareporting.operatingSystemVersions.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.operatingSystemVersions.list": list_operating_system_versions +"/dfareporting:v2.8/dfareporting.operatingSystemVersions.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.operatingSystems.get": get_operating_system +"/dfareporting:v2.8/dfareporting.operatingSystems.get/dartId": dart_id +"/dfareporting:v2.8/dfareporting.operatingSystems.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.operatingSystems.list": list_operating_systems +"/dfareporting:v2.8/dfareporting.operatingSystems.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.orderDocuments.get": get_order_document +"/dfareporting:v2.8/dfareporting.orderDocuments.get/id": id +"/dfareporting:v2.8/dfareporting.orderDocuments.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.orderDocuments.get/projectId": project_id +"/dfareporting:v2.8/dfareporting.orderDocuments.list": list_order_documents +"/dfareporting:v2.8/dfareporting.orderDocuments.list/approved": approved +"/dfareporting:v2.8/dfareporting.orderDocuments.list/ids": ids +"/dfareporting:v2.8/dfareporting.orderDocuments.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.orderDocuments.list/orderId": order_id +"/dfareporting:v2.8/dfareporting.orderDocuments.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.orderDocuments.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.orderDocuments.list/projectId": project_id +"/dfareporting:v2.8/dfareporting.orderDocuments.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.orderDocuments.list/siteId": site_id +"/dfareporting:v2.8/dfareporting.orderDocuments.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.orderDocuments.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.orders.get": get_order +"/dfareporting:v2.8/dfareporting.orders.get/id": id +"/dfareporting:v2.8/dfareporting.orders.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.orders.get/projectId": project_id +"/dfareporting:v2.8/dfareporting.orders.list": list_orders +"/dfareporting:v2.8/dfareporting.orders.list/ids": ids +"/dfareporting:v2.8/dfareporting.orders.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.orders.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.orders.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.orders.list/projectId": project_id +"/dfareporting:v2.8/dfareporting.orders.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.orders.list/siteId": site_id +"/dfareporting:v2.8/dfareporting.orders.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.orders.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.placementGroups.get": get_placement_group +"/dfareporting:v2.8/dfareporting.placementGroups.get/id": id +"/dfareporting:v2.8/dfareporting.placementGroups.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.placementGroups.insert": insert_placement_group +"/dfareporting:v2.8/dfareporting.placementGroups.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.placementGroups.list": list_placement_groups +"/dfareporting:v2.8/dfareporting.placementGroups.list/advertiserIds": advertiser_ids +"/dfareporting:v2.8/dfareporting.placementGroups.list/archived": archived +"/dfareporting:v2.8/dfareporting.placementGroups.list/campaignIds": campaign_ids +"/dfareporting:v2.8/dfareporting.placementGroups.list/contentCategoryIds": content_category_ids +"/dfareporting:v2.8/dfareporting.placementGroups.list/directorySiteIds": directory_site_ids +"/dfareporting:v2.8/dfareporting.placementGroups.list/ids": ids +"/dfareporting:v2.8/dfareporting.placementGroups.list/maxEndDate": max_end_date +"/dfareporting:v2.8/dfareporting.placementGroups.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.placementGroups.list/maxStartDate": max_start_date +"/dfareporting:v2.8/dfareporting.placementGroups.list/minEndDate": min_end_date +"/dfareporting:v2.8/dfareporting.placementGroups.list/minStartDate": min_start_date +"/dfareporting:v2.8/dfareporting.placementGroups.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.placementGroups.list/placementGroupType": placement_group_type +"/dfareporting:v2.8/dfareporting.placementGroups.list/placementStrategyIds": placement_strategy_ids +"/dfareporting:v2.8/dfareporting.placementGroups.list/pricingTypes": pricing_types +"/dfareporting:v2.8/dfareporting.placementGroups.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.placementGroups.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.placementGroups.list/siteIds": site_ids +"/dfareporting:v2.8/dfareporting.placementGroups.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.placementGroups.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.placementGroups.patch": patch_placement_group +"/dfareporting:v2.8/dfareporting.placementGroups.patch/id": id +"/dfareporting:v2.8/dfareporting.placementGroups.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.placementGroups.update": update_placement_group +"/dfareporting:v2.8/dfareporting.placementGroups.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.placementStrategies.delete": delete_placement_strategy +"/dfareporting:v2.8/dfareporting.placementStrategies.delete/id": id +"/dfareporting:v2.8/dfareporting.placementStrategies.delete/profileId": profile_id +"/dfareporting:v2.8/dfareporting.placementStrategies.get": get_placement_strategy +"/dfareporting:v2.8/dfareporting.placementStrategies.get/id": id +"/dfareporting:v2.8/dfareporting.placementStrategies.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.placementStrategies.insert": insert_placement_strategy +"/dfareporting:v2.8/dfareporting.placementStrategies.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.placementStrategies.list": list_placement_strategies +"/dfareporting:v2.8/dfareporting.placementStrategies.list/ids": ids +"/dfareporting:v2.8/dfareporting.placementStrategies.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.placementStrategies.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.placementStrategies.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.placementStrategies.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.placementStrategies.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.placementStrategies.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.placementStrategies.patch": patch_placement_strategy +"/dfareporting:v2.8/dfareporting.placementStrategies.patch/id": id +"/dfareporting:v2.8/dfareporting.placementStrategies.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.placementStrategies.update": update_placement_strategy +"/dfareporting:v2.8/dfareporting.placementStrategies.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.placements.generatetags": generatetags_placement +"/dfareporting:v2.8/dfareporting.placements.generatetags/campaignId": campaign_id +"/dfareporting:v2.8/dfareporting.placements.generatetags/placementIds": placement_ids +"/dfareporting:v2.8/dfareporting.placements.generatetags/profileId": profile_id +"/dfareporting:v2.8/dfareporting.placements.generatetags/tagFormats": tag_formats +"/dfareporting:v2.8/dfareporting.placements.get": get_placement +"/dfareporting:v2.8/dfareporting.placements.get/id": id +"/dfareporting:v2.8/dfareporting.placements.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.placements.insert": insert_placement +"/dfareporting:v2.8/dfareporting.placements.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.placements.list": list_placements +"/dfareporting:v2.8/dfareporting.placements.list/advertiserIds": advertiser_ids +"/dfareporting:v2.8/dfareporting.placements.list/archived": archived +"/dfareporting:v2.8/dfareporting.placements.list/campaignIds": campaign_ids +"/dfareporting:v2.8/dfareporting.placements.list/compatibilities": compatibilities +"/dfareporting:v2.8/dfareporting.placements.list/contentCategoryIds": content_category_ids +"/dfareporting:v2.8/dfareporting.placements.list/directorySiteIds": directory_site_ids +"/dfareporting:v2.8/dfareporting.placements.list/groupIds": group_ids +"/dfareporting:v2.8/dfareporting.placements.list/ids": ids +"/dfareporting:v2.8/dfareporting.placements.list/maxEndDate": max_end_date +"/dfareporting:v2.8/dfareporting.placements.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.placements.list/maxStartDate": max_start_date +"/dfareporting:v2.8/dfareporting.placements.list/minEndDate": min_end_date +"/dfareporting:v2.8/dfareporting.placements.list/minStartDate": min_start_date +"/dfareporting:v2.8/dfareporting.placements.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.placements.list/paymentSource": payment_source +"/dfareporting:v2.8/dfareporting.placements.list/placementStrategyIds": placement_strategy_ids +"/dfareporting:v2.8/dfareporting.placements.list/pricingTypes": pricing_types +"/dfareporting:v2.8/dfareporting.placements.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.placements.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.placements.list/siteIds": site_ids +"/dfareporting:v2.8/dfareporting.placements.list/sizeIds": size_ids +"/dfareporting:v2.8/dfareporting.placements.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.placements.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.placements.patch": patch_placement +"/dfareporting:v2.8/dfareporting.placements.patch/id": id +"/dfareporting:v2.8/dfareporting.placements.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.placements.update": update_placement +"/dfareporting:v2.8/dfareporting.placements.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.platformTypes.get": get_platform_type +"/dfareporting:v2.8/dfareporting.platformTypes.get/id": id +"/dfareporting:v2.8/dfareporting.platformTypes.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.platformTypes.list": list_platform_types +"/dfareporting:v2.8/dfareporting.platformTypes.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.postalCodes.get": get_postal_code +"/dfareporting:v2.8/dfareporting.postalCodes.get/code": code +"/dfareporting:v2.8/dfareporting.postalCodes.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.postalCodes.list": list_postal_codes +"/dfareporting:v2.8/dfareporting.postalCodes.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.projects.get": get_project +"/dfareporting:v2.8/dfareporting.projects.get/id": id +"/dfareporting:v2.8/dfareporting.projects.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.projects.list": list_projects +"/dfareporting:v2.8/dfareporting.projects.list/advertiserIds": advertiser_ids +"/dfareporting:v2.8/dfareporting.projects.list/ids": ids +"/dfareporting:v2.8/dfareporting.projects.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.projects.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.projects.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.projects.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.projects.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.projects.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.regions.list": list_regions +"/dfareporting:v2.8/dfareporting.regions.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.remarketingListShares.get": get_remarketing_list_share +"/dfareporting:v2.8/dfareporting.remarketingListShares.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.remarketingListShares.get/remarketingListId": remarketing_list_id +"/dfareporting:v2.8/dfareporting.remarketingListShares.patch": patch_remarketing_list_share +"/dfareporting:v2.8/dfareporting.remarketingListShares.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.remarketingListShares.patch/remarketingListId": remarketing_list_id +"/dfareporting:v2.8/dfareporting.remarketingListShares.update": update_remarketing_list_share +"/dfareporting:v2.8/dfareporting.remarketingListShares.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.remarketingLists.get": get_remarketing_list +"/dfareporting:v2.8/dfareporting.remarketingLists.get/id": id +"/dfareporting:v2.8/dfareporting.remarketingLists.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.remarketingLists.insert": insert_remarketing_list +"/dfareporting:v2.8/dfareporting.remarketingLists.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.remarketingLists.list": list_remarketing_lists +"/dfareporting:v2.8/dfareporting.remarketingLists.list/active": active +"/dfareporting:v2.8/dfareporting.remarketingLists.list/advertiserId": advertiser_id +"/dfareporting:v2.8/dfareporting.remarketingLists.list/floodlightActivityId": floodlight_activity_id +"/dfareporting:v2.8/dfareporting.remarketingLists.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.remarketingLists.list/name": name +"/dfareporting:v2.8/dfareporting.remarketingLists.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.remarketingLists.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.remarketingLists.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.remarketingLists.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.remarketingLists.patch": patch_remarketing_list +"/dfareporting:v2.8/dfareporting.remarketingLists.patch/id": id +"/dfareporting:v2.8/dfareporting.remarketingLists.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.remarketingLists.update": update_remarketing_list +"/dfareporting:v2.8/dfareporting.remarketingLists.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.reports.compatibleFields.query": query_report_compatible_field +"/dfareporting:v2.8/dfareporting.reports.compatibleFields.query/profileId": profile_id +"/dfareporting:v2.8/dfareporting.reports.delete": delete_report +"/dfareporting:v2.8/dfareporting.reports.delete/profileId": profile_id +"/dfareporting:v2.8/dfareporting.reports.delete/reportId": report_id +"/dfareporting:v2.8/dfareporting.reports.files.get": get_report_file +"/dfareporting:v2.8/dfareporting.reports.files.get/fileId": file_id +"/dfareporting:v2.8/dfareporting.reports.files.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.reports.files.get/reportId": report_id +"/dfareporting:v2.8/dfareporting.reports.files.list": list_report_files +"/dfareporting:v2.8/dfareporting.reports.files.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.reports.files.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.reports.files.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.reports.files.list/reportId": report_id +"/dfareporting:v2.8/dfareporting.reports.files.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.reports.files.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.reports.get": get_report +"/dfareporting:v2.8/dfareporting.reports.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.reports.get/reportId": report_id +"/dfareporting:v2.8/dfareporting.reports.insert": insert_report +"/dfareporting:v2.8/dfareporting.reports.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.reports.list": list_reports +"/dfareporting:v2.8/dfareporting.reports.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.reports.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.reports.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.reports.list/scope": scope +"/dfareporting:v2.8/dfareporting.reports.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.reports.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.reports.patch": patch_report +"/dfareporting:v2.8/dfareporting.reports.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.reports.patch/reportId": report_id +"/dfareporting:v2.8/dfareporting.reports.run": run_report +"/dfareporting:v2.8/dfareporting.reports.run/profileId": profile_id +"/dfareporting:v2.8/dfareporting.reports.run/reportId": report_id +"/dfareporting:v2.8/dfareporting.reports.run/synchronous": synchronous +"/dfareporting:v2.8/dfareporting.reports.update": update_report +"/dfareporting:v2.8/dfareporting.reports.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.reports.update/reportId": report_id +"/dfareporting:v2.8/dfareporting.sites.get": get_site +"/dfareporting:v2.8/dfareporting.sites.get/id": id +"/dfareporting:v2.8/dfareporting.sites.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.sites.insert": insert_site +"/dfareporting:v2.8/dfareporting.sites.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.sites.list": list_sites +"/dfareporting:v2.8/dfareporting.sites.list/acceptsInStreamVideoPlacements": accepts_in_stream_video_placements +"/dfareporting:v2.8/dfareporting.sites.list/acceptsInterstitialPlacements": accepts_interstitial_placements +"/dfareporting:v2.8/dfareporting.sites.list/acceptsPublisherPaidPlacements": accepts_publisher_paid_placements +"/dfareporting:v2.8/dfareporting.sites.list/adWordsSite": ad_words_site +"/dfareporting:v2.8/dfareporting.sites.list/approved": approved +"/dfareporting:v2.8/dfareporting.sites.list/campaignIds": campaign_ids +"/dfareporting:v2.8/dfareporting.sites.list/directorySiteIds": directory_site_ids +"/dfareporting:v2.8/dfareporting.sites.list/ids": ids +"/dfareporting:v2.8/dfareporting.sites.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.sites.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.sites.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.sites.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.sites.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.sites.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.sites.list/subaccountId": subaccount_id +"/dfareporting:v2.8/dfareporting.sites.list/unmappedSite": unmapped_site +"/dfareporting:v2.8/dfareporting.sites.patch": patch_site +"/dfareporting:v2.8/dfareporting.sites.patch/id": id +"/dfareporting:v2.8/dfareporting.sites.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.sites.update": update_site +"/dfareporting:v2.8/dfareporting.sites.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.sizes.get": get_size +"/dfareporting:v2.8/dfareporting.sizes.get/id": id +"/dfareporting:v2.8/dfareporting.sizes.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.sizes.insert": insert_size +"/dfareporting:v2.8/dfareporting.sizes.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.sizes.list": list_sizes +"/dfareporting:v2.8/dfareporting.sizes.list/height": height +"/dfareporting:v2.8/dfareporting.sizes.list/iabStandard": iab_standard +"/dfareporting:v2.8/dfareporting.sizes.list/ids": ids +"/dfareporting:v2.8/dfareporting.sizes.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.sizes.list/width": width +"/dfareporting:v2.8/dfareporting.subaccounts.get": get_subaccount +"/dfareporting:v2.8/dfareporting.subaccounts.get/id": id +"/dfareporting:v2.8/dfareporting.subaccounts.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.subaccounts.insert": insert_subaccount +"/dfareporting:v2.8/dfareporting.subaccounts.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.subaccounts.list": list_subaccounts +"/dfareporting:v2.8/dfareporting.subaccounts.list/ids": ids +"/dfareporting:v2.8/dfareporting.subaccounts.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.subaccounts.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.subaccounts.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.subaccounts.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.subaccounts.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.subaccounts.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.subaccounts.patch": patch_subaccount +"/dfareporting:v2.8/dfareporting.subaccounts.patch/id": id +"/dfareporting:v2.8/dfareporting.subaccounts.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.subaccounts.update": update_subaccount +"/dfareporting:v2.8/dfareporting.subaccounts.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.get": get_targetable_remarketing_list +"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.get/id": id +"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.list": list_targetable_remarketing_lists +"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.list/active": active +"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.list/advertiserId": advertiser_id +"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.list/name": name +"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.targetableRemarketingLists.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.targetingTemplates.get": get_targeting_template +"/dfareporting:v2.8/dfareporting.targetingTemplates.get/id": id +"/dfareporting:v2.8/dfareporting.targetingTemplates.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.targetingTemplates.insert": insert_targeting_template +"/dfareporting:v2.8/dfareporting.targetingTemplates.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.targetingTemplates.list": list_targeting_templates +"/dfareporting:v2.8/dfareporting.targetingTemplates.list/advertiserId": advertiser_id +"/dfareporting:v2.8/dfareporting.targetingTemplates.list/ids": ids +"/dfareporting:v2.8/dfareporting.targetingTemplates.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.targetingTemplates.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.targetingTemplates.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.targetingTemplates.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.targetingTemplates.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.targetingTemplates.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.targetingTemplates.patch": patch_targeting_template +"/dfareporting:v2.8/dfareporting.targetingTemplates.patch/id": id +"/dfareporting:v2.8/dfareporting.targetingTemplates.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.targetingTemplates.update": update_targeting_template +"/dfareporting:v2.8/dfareporting.targetingTemplates.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.userProfiles.get": get_user_profile +"/dfareporting:v2.8/dfareporting.userProfiles.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.userProfiles.list": list_user_profiles +"/dfareporting:v2.8/dfareporting.userRolePermissionGroups.get": get_user_role_permission_group +"/dfareporting:v2.8/dfareporting.userRolePermissionGroups.get/id": id +"/dfareporting:v2.8/dfareporting.userRolePermissionGroups.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.userRolePermissionGroups.list": list_user_role_permission_groups +"/dfareporting:v2.8/dfareporting.userRolePermissionGroups.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.userRolePermissions.get": get_user_role_permission +"/dfareporting:v2.8/dfareporting.userRolePermissions.get/id": id +"/dfareporting:v2.8/dfareporting.userRolePermissions.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.userRolePermissions.list": list_user_role_permissions +"/dfareporting:v2.8/dfareporting.userRolePermissions.list/ids": ids +"/dfareporting:v2.8/dfareporting.userRolePermissions.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.userRoles.delete": delete_user_role +"/dfareporting:v2.8/dfareporting.userRoles.delete/id": id +"/dfareporting:v2.8/dfareporting.userRoles.delete/profileId": profile_id +"/dfareporting:v2.8/dfareporting.userRoles.get": get_user_role +"/dfareporting:v2.8/dfareporting.userRoles.get/id": id +"/dfareporting:v2.8/dfareporting.userRoles.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.userRoles.insert": insert_user_role +"/dfareporting:v2.8/dfareporting.userRoles.insert/profileId": profile_id +"/dfareporting:v2.8/dfareporting.userRoles.list": list_user_roles +"/dfareporting:v2.8/dfareporting.userRoles.list/accountUserRoleOnly": account_user_role_only +"/dfareporting:v2.8/dfareporting.userRoles.list/ids": ids +"/dfareporting:v2.8/dfareporting.userRoles.list/maxResults": max_results +"/dfareporting:v2.8/dfareporting.userRoles.list/pageToken": page_token +"/dfareporting:v2.8/dfareporting.userRoles.list/profileId": profile_id +"/dfareporting:v2.8/dfareporting.userRoles.list/searchString": search_string +"/dfareporting:v2.8/dfareporting.userRoles.list/sortField": sort_field +"/dfareporting:v2.8/dfareporting.userRoles.list/sortOrder": sort_order +"/dfareporting:v2.8/dfareporting.userRoles.list/subaccountId": subaccount_id +"/dfareporting:v2.8/dfareporting.userRoles.patch": patch_user_role +"/dfareporting:v2.8/dfareporting.userRoles.patch/id": id +"/dfareporting:v2.8/dfareporting.userRoles.patch/profileId": profile_id +"/dfareporting:v2.8/dfareporting.userRoles.update": update_user_role +"/dfareporting:v2.8/dfareporting.userRoles.update/profileId": profile_id +"/dfareporting:v2.8/dfareporting.videoFormats.get": get_video_format +"/dfareporting:v2.8/dfareporting.videoFormats.get/id": id +"/dfareporting:v2.8/dfareporting.videoFormats.get/profileId": profile_id +"/dfareporting:v2.8/dfareporting.videoFormats.list": list_video_formats +"/dfareporting:v2.8/dfareporting.videoFormats.list/profileId": profile_id +"/dfareporting:v2.8/fields": fields +"/dfareporting:v2.8/key": key +"/dfareporting:v2.8/quotaUser": quota_user +"/dfareporting:v2.8/userIp": user_ip "/discovery:v1/DirectoryList": directory_list "/discovery:v1/DirectoryList/discoveryVersion": discovery_version "/discovery:v1/DirectoryList/items": items @@ -26130,6 +26384,7 @@ "/discovery:v1/RestDescription/kind": kind "/discovery:v1/RestDescription/labels": labels "/discovery:v1/RestDescription/labels/label": label +"/discovery:v1/RestDescription/methods": api_methods "/discovery:v1/RestDescription/methods/api_method": api_method "/discovery:v1/RestDescription/name": name "/discovery:v1/RestDescription/ownerDomain": owner_domain @@ -26181,13 +26436,313 @@ "/discovery:v1/RestMethod/supportsSubscription": supports_subscription "/discovery:v1/RestMethod/useMediaDownloadService": use_media_download_service "/discovery:v1/RestResource": rest_resource +"/discovery:v1/RestResource/methods": api_methods "/discovery:v1/RestResource/methods/api_method": api_method "/discovery:v1/RestResource/resources": resources "/discovery:v1/RestResource/resources/resource": resource -"/dns:v1/fields": fields -"/dns:v1/key": key -"/dns:v1/quotaUser": quota_user -"/dns:v1/userIp": user_ip +"/discovery:v1/discovery.apis.getRest": get_rest_api +"/discovery:v1/discovery.apis.getRest/api": api +"/discovery:v1/discovery.apis.getRest/version": version +"/discovery:v1/discovery.apis.list": list_apis +"/discovery:v1/discovery.apis.list/name": name +"/discovery:v1/discovery.apis.list/preferred": preferred +"/discovery:v1/fields": fields +"/discovery:v1/key": key +"/discovery:v1/quotaUser": quota_user +"/discovery:v1/userIp": user_ip +"/dlp:v2beta1/GoogleLongrunningCancelOperationRequest": google_longrunning_cancel_operation_request +"/dlp:v2beta1/GoogleLongrunningListOperationsResponse": google_longrunning_list_operations_response +"/dlp:v2beta1/GoogleLongrunningListOperationsResponse/nextPageToken": next_page_token +"/dlp:v2beta1/GoogleLongrunningListOperationsResponse/operations": operations +"/dlp:v2beta1/GoogleLongrunningListOperationsResponse/operations/operation": operation +"/dlp:v2beta1/GoogleLongrunningOperation": google_longrunning_operation +"/dlp:v2beta1/GoogleLongrunningOperation/done": done +"/dlp:v2beta1/GoogleLongrunningOperation/error": error +"/dlp:v2beta1/GoogleLongrunningOperation/metadata": metadata +"/dlp:v2beta1/GoogleLongrunningOperation/metadata/metadatum": metadatum +"/dlp:v2beta1/GoogleLongrunningOperation/name": name +"/dlp:v2beta1/GoogleLongrunningOperation/response": response +"/dlp:v2beta1/GoogleLongrunningOperation/response/response": response +"/dlp:v2beta1/GooglePrivacyDlpV2beta1BigQueryOptions": google_privacy_dlp_v2beta1_big_query_options +"/dlp:v2beta1/GooglePrivacyDlpV2beta1BigQueryOptions/identifyingFields": identifying_fields +"/dlp:v2beta1/GooglePrivacyDlpV2beta1BigQueryOptions/identifyingFields/identifying_field": identifying_field +"/dlp:v2beta1/GooglePrivacyDlpV2beta1BigQueryOptions/tableReference": table_reference +"/dlp:v2beta1/GooglePrivacyDlpV2beta1BigQueryTable": google_privacy_dlp_v2beta1_big_query_table +"/dlp:v2beta1/GooglePrivacyDlpV2beta1BigQueryTable/datasetId": dataset_id +"/dlp:v2beta1/GooglePrivacyDlpV2beta1BigQueryTable/projectId": project_id +"/dlp:v2beta1/GooglePrivacyDlpV2beta1BigQueryTable/tableId": table_id +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CategoryDescription": google_privacy_dlp_v2beta1_category_description +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CategoryDescription/displayName": display_name +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CategoryDescription/name": name +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CloudStorageKey": google_privacy_dlp_v2beta1_cloud_storage_key +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CloudStorageKey/filePath": file_path +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CloudStorageKey/startOffset": start_offset +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CloudStorageOptions": google_privacy_dlp_v2beta1_cloud_storage_options +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CloudStorageOptions/fileSet": file_set +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CloudStoragePath": google_privacy_dlp_v2beta1_cloud_storage_path +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CloudStoragePath/path": path +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Color": google_privacy_dlp_v2beta1_color +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Color/blue": blue +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Color/green": green +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Color/red": red +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ContentItem": google_privacy_dlp_v2beta1_content_item +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ContentItem/data": data +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ContentItem/table": table +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ContentItem/type": type +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ContentItem/value": value +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CreateInspectOperationRequest": google_privacy_dlp_v2beta1_create_inspect_operation_request +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CreateInspectOperationRequest/inspectConfig": inspect_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CreateInspectOperationRequest/operationConfig": operation_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CreateInspectOperationRequest/outputConfig": output_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1CreateInspectOperationRequest/storageConfig": storage_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DatastoreKey": google_privacy_dlp_v2beta1_datastore_key +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DatastoreKey/entityKey": entity_key +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DatastoreOptions": google_privacy_dlp_v2beta1_datastore_options +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DatastoreOptions/kind": kind +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DatastoreOptions/partitionId": partition_id +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DatastoreOptions/projection": projection +"/dlp:v2beta1/GooglePrivacyDlpV2beta1DatastoreOptions/projection/projection": projection +"/dlp:v2beta1/GooglePrivacyDlpV2beta1FieldId": google_privacy_dlp_v2beta1_field_id +"/dlp:v2beta1/GooglePrivacyDlpV2beta1FieldId/columnName": column_name +"/dlp:v2beta1/GooglePrivacyDlpV2beta1FileSet": google_privacy_dlp_v2beta1_file_set +"/dlp:v2beta1/GooglePrivacyDlpV2beta1FileSet/url": url +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Finding": google_privacy_dlp_v2beta1_finding +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Finding/createTime": create_time +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Finding/infoType": info_type +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Finding/likelihood": likelihood +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Finding/location": location +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Finding/quote": quote +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ImageLocation": google_privacy_dlp_v2beta1_image_location +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ImageLocation/height": height +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ImageLocation/left": left +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ImageLocation/top": top +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ImageLocation/width": width +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ImageRedactionConfig": google_privacy_dlp_v2beta1_image_redaction_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ImageRedactionConfig/infoType": info_type +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ImageRedactionConfig/redactAllText": redact_all_text +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ImageRedactionConfig/redactionColor": redaction_color +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoType": google_privacy_dlp_v2beta1_info_type +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoType/name": name +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoTypeDescription": google_privacy_dlp_v2beta1_info_type_description +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoTypeDescription/categories": categories +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoTypeDescription/categories/category": category +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoTypeDescription/displayName": display_name +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoTypeDescription/name": name +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoTypeLimit": google_privacy_dlp_v2beta1_info_type_limit +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoTypeLimit/infoType": info_type +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoTypeLimit/maxFindings": max_findings +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoTypeStatistics": google_privacy_dlp_v2beta1_info_type_statistics +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoTypeStatistics/count": count +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InfoTypeStatistics/infoType": info_type +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectConfig": google_privacy_dlp_v2beta1_inspect_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectConfig/excludeTypes": exclude_types +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectConfig/includeQuote": include_quote +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectConfig/infoTypeLimits": info_type_limits +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectConfig/infoTypeLimits/info_type_limit": info_type_limit +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectConfig/infoTypes": info_types +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectConfig/infoTypes/info_type": info_type +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectConfig/maxFindings": max_findings +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectConfig/minLikelihood": min_likelihood +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectContentRequest": google_privacy_dlp_v2beta1_inspect_content_request +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectContentRequest/inspectConfig": inspect_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectContentRequest/items": items +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectContentRequest/items/item": item +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectContentResponse": google_privacy_dlp_v2beta1_inspect_content_response +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectContentResponse/results": results +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectContentResponse/results/result": result +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectOperationMetadata": google_privacy_dlp_v2beta1_inspect_operation_metadata +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectOperationMetadata/createTime": create_time +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectOperationMetadata/infoTypeStats": info_type_stats +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectOperationMetadata/infoTypeStats/info_type_stat": info_type_stat +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectOperationMetadata/processedBytes": processed_bytes +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectOperationMetadata/requestInspectConfig": request_inspect_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectOperationMetadata/requestOutputConfig": request_output_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectOperationMetadata/requestStorageConfig": request_storage_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectOperationMetadata/totalEstimatedBytes": total_estimated_bytes +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectOperationResult": google_privacy_dlp_v2beta1_inspect_operation_result +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectOperationResult/name": name +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectResult": google_privacy_dlp_v2beta1_inspect_result +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectResult/findings": findings +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectResult/findings/finding": finding +"/dlp:v2beta1/GooglePrivacyDlpV2beta1InspectResult/findingsTruncated": findings_truncated +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Key": google_privacy_dlp_v2beta1_key +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Key/partitionId": partition_id +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Key/path": path +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Key/path/path": path +"/dlp:v2beta1/GooglePrivacyDlpV2beta1KindExpression": google_privacy_dlp_v2beta1_kind_expression +"/dlp:v2beta1/GooglePrivacyDlpV2beta1KindExpression/name": name +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ListInfoTypesResponse": google_privacy_dlp_v2beta1_list_info_types_response +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ListInfoTypesResponse/infoTypes": info_types +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ListInfoTypesResponse/infoTypes/info_type": info_type +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ListInspectFindingsResponse": google_privacy_dlp_v2beta1_list_inspect_findings_response +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ListInspectFindingsResponse/nextPageToken": next_page_token +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ListInspectFindingsResponse/result": result +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ListRootCategoriesResponse": google_privacy_dlp_v2beta1_list_root_categories_response +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ListRootCategoriesResponse/categories": categories +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ListRootCategoriesResponse/categories/category": category +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Location": google_privacy_dlp_v2beta1_location +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Location/byteRange": byte_range +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Location/codepointRange": codepoint_range +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Location/fieldId": field_id +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Location/imageBoxes": image_boxes +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Location/imageBoxes/image_box": image_box +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Location/recordKey": record_key +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Location/tableLocation": table_location +"/dlp:v2beta1/GooglePrivacyDlpV2beta1OperationConfig": google_privacy_dlp_v2beta1_operation_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1OperationConfig/maxItemFindings": max_item_findings +"/dlp:v2beta1/GooglePrivacyDlpV2beta1OutputStorageConfig": google_privacy_dlp_v2beta1_output_storage_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1OutputStorageConfig/storagePath": storage_path +"/dlp:v2beta1/GooglePrivacyDlpV2beta1OutputStorageConfig/table": table +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PartitionId": google_privacy_dlp_v2beta1_partition_id +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PartitionId/namespaceId": namespace_id +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PartitionId/projectId": project_id +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PathElement": google_privacy_dlp_v2beta1_path_element +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PathElement/id": id +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PathElement/kind": kind +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PathElement/name": name +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Projection": google_privacy_dlp_v2beta1_projection +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Projection/property": property +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PropertyReference": google_privacy_dlp_v2beta1_property_reference +"/dlp:v2beta1/GooglePrivacyDlpV2beta1PropertyReference/name": name +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Range": google_privacy_dlp_v2beta1_range +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Range/end": end +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Range/start": start +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RecordKey": google_privacy_dlp_v2beta1_record_key +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RecordKey/cloudStorageKey": cloud_storage_key +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RecordKey/datastoreKey": datastore_key +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RedactContentRequest": google_privacy_dlp_v2beta1_redact_content_request +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RedactContentRequest/imageRedactionConfigs": image_redaction_configs +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RedactContentRequest/imageRedactionConfigs/image_redaction_config": image_redaction_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RedactContentRequest/inspectConfig": inspect_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RedactContentRequest/items": items +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RedactContentRequest/items/item": item +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RedactContentRequest/replaceConfigs": replace_configs +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RedactContentRequest/replaceConfigs/replace_config": replace_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RedactContentResponse": google_privacy_dlp_v2beta1_redact_content_response +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RedactContentResponse/items": items +"/dlp:v2beta1/GooglePrivacyDlpV2beta1RedactContentResponse/items/item": item +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ReplaceConfig": google_privacy_dlp_v2beta1_replace_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ReplaceConfig/infoType": info_type +"/dlp:v2beta1/GooglePrivacyDlpV2beta1ReplaceConfig/replaceWith": replace_with +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Row": google_privacy_dlp_v2beta1_row +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Row/values": values +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Row/values/value": value +"/dlp:v2beta1/GooglePrivacyDlpV2beta1StorageConfig": google_privacy_dlp_v2beta1_storage_config +"/dlp:v2beta1/GooglePrivacyDlpV2beta1StorageConfig/bigQueryOptions": big_query_options +"/dlp:v2beta1/GooglePrivacyDlpV2beta1StorageConfig/cloudStorageOptions": cloud_storage_options +"/dlp:v2beta1/GooglePrivacyDlpV2beta1StorageConfig/datastoreOptions": datastore_options +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Table": google_privacy_dlp_v2beta1_table +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Table/headers": headers +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Table/headers/header": header +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Table/rows": rows +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Table/rows/row": row +"/dlp:v2beta1/GooglePrivacyDlpV2beta1TableLocation": google_privacy_dlp_v2beta1_table_location +"/dlp:v2beta1/GooglePrivacyDlpV2beta1TableLocation/rowIndex": row_index +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Value": google_privacy_dlp_v2beta1_value +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Value/booleanValue": boolean_value +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Value/dateValue": date_value +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Value/floatValue": float_value +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Value/integerValue": integer_value +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Value/stringValue": string_value +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Value/timeValue": time_value +"/dlp:v2beta1/GooglePrivacyDlpV2beta1Value/timestampValue": timestamp_value +"/dlp:v2beta1/GoogleProtobufEmpty": google_protobuf_empty +"/dlp:v2beta1/GoogleRpcStatus": google_rpc_status +"/dlp:v2beta1/GoogleRpcStatus/code": code +"/dlp:v2beta1/GoogleRpcStatus/details": details +"/dlp:v2beta1/GoogleRpcStatus/details/detail": detail +"/dlp:v2beta1/GoogleRpcStatus/details/detail/detail": detail +"/dlp:v2beta1/GoogleRpcStatus/message": message +"/dlp:v2beta1/GoogleTypeDate": google_type_date +"/dlp:v2beta1/GoogleTypeDate/day": day +"/dlp:v2beta1/GoogleTypeDate/month": month +"/dlp:v2beta1/GoogleTypeDate/year": year +"/dlp:v2beta1/GoogleTypeTimeOfDay": google_type_time_of_day +"/dlp:v2beta1/GoogleTypeTimeOfDay/hours": hours +"/dlp:v2beta1/GoogleTypeTimeOfDay/minutes": minutes +"/dlp:v2beta1/GoogleTypeTimeOfDay/nanos": nanos +"/dlp:v2beta1/GoogleTypeTimeOfDay/seconds": seconds +"/dlp:v2beta1/dlp.content.inspect": inspect_content +"/dlp:v2beta1/dlp.content.redact": redact_content +"/dlp:v2beta1/dlp.inspect.operations.cancel": cancel_inspect_operation +"/dlp:v2beta1/dlp.inspect.operations.cancel/name": name +"/dlp:v2beta1/dlp.inspect.operations.create": create_inspect_operation +"/dlp:v2beta1/dlp.inspect.operations.delete": delete_inspect_operation +"/dlp:v2beta1/dlp.inspect.operations.delete/name": name +"/dlp:v2beta1/dlp.inspect.operations.get": get_inspect_operation +"/dlp:v2beta1/dlp.inspect.operations.get/name": name +"/dlp:v2beta1/dlp.inspect.operations.list": list_inspect_operations +"/dlp:v2beta1/dlp.inspect.operations.list/filter": filter +"/dlp:v2beta1/dlp.inspect.operations.list/name": name +"/dlp:v2beta1/dlp.inspect.operations.list/pageSize": page_size +"/dlp:v2beta1/dlp.inspect.operations.list/pageToken": page_token +"/dlp:v2beta1/dlp.inspect.results.findings.list": list_inspect_result_findings +"/dlp:v2beta1/dlp.inspect.results.findings.list/filter": filter +"/dlp:v2beta1/dlp.inspect.results.findings.list/name": name +"/dlp:v2beta1/dlp.inspect.results.findings.list/pageSize": page_size +"/dlp:v2beta1/dlp.inspect.results.findings.list/pageToken": page_token +"/dlp:v2beta1/dlp.rootCategories.infoTypes.list": list_root_category_info_types +"/dlp:v2beta1/dlp.rootCategories.infoTypes.list/category": category +"/dlp:v2beta1/dlp.rootCategories.infoTypes.list/languageCode": language_code +"/dlp:v2beta1/dlp.rootCategories.list": list_root_categories +"/dlp:v2beta1/dlp.rootCategories.list/languageCode": language_code +"/dlp:v2beta1/fields": fields +"/dlp:v2beta1/key": key +"/dlp:v2beta1/quotaUser": quota_user +"/dns:v1/Change": change +"/dns:v1/Change/additions": additions +"/dns:v1/Change/additions/addition": addition +"/dns:v1/Change/deletions": deletions +"/dns:v1/Change/deletions/deletion": deletion +"/dns:v1/Change/id": id +"/dns:v1/Change/kind": kind +"/dns:v1/Change/startTime": start_time +"/dns:v1/Change/status": status +"/dns:v1/ChangesListResponse": list_changes_response +"/dns:v1/ChangesListResponse/changes": changes +"/dns:v1/ChangesListResponse/changes/change": change +"/dns:v1/ChangesListResponse/kind": kind +"/dns:v1/ChangesListResponse/nextPageToken": next_page_token +"/dns:v1/ManagedZone": managed_zone +"/dns:v1/ManagedZone/creationTime": creation_time +"/dns:v1/ManagedZone/description": description +"/dns:v1/ManagedZone/dnsName": dns_name +"/dns:v1/ManagedZone/id": id +"/dns:v1/ManagedZone/kind": kind +"/dns:v1/ManagedZone/name": name +"/dns:v1/ManagedZone/nameServerSet": name_server_set +"/dns:v1/ManagedZone/nameServers": name_servers +"/dns:v1/ManagedZone/nameServers/name_server": name_server +"/dns:v1/ManagedZonesListResponse": list_managed_zones_response +"/dns:v1/ManagedZonesListResponse/kind": kind +"/dns:v1/ManagedZonesListResponse/managedZones": managed_zones +"/dns:v1/ManagedZonesListResponse/managedZones/managed_zone": managed_zone +"/dns:v1/ManagedZonesListResponse/nextPageToken": next_page_token +"/dns:v1/Project": project +"/dns:v1/Project/id": id +"/dns:v1/Project/kind": kind +"/dns:v1/Project/number": number +"/dns:v1/Project/quota": quota +"/dns:v1/Quota": quota +"/dns:v1/Quota/kind": kind +"/dns:v1/Quota/managedZones": managed_zones +"/dns:v1/Quota/resourceRecordsPerRrset": resource_records_per_rrset +"/dns:v1/Quota/rrsetAdditionsPerChange": rrset_additions_per_change +"/dns:v1/Quota/rrsetDeletionsPerChange": rrset_deletions_per_change +"/dns:v1/Quota/rrsetsPerManagedZone": rrsets_per_managed_zone +"/dns:v1/Quota/totalRrdataSizePerChange": total_rrdata_size_per_change +"/dns:v1/ResourceRecordSet": resource_record_set +"/dns:v1/ResourceRecordSet/kind": kind +"/dns:v1/ResourceRecordSet/name": name +"/dns:v1/ResourceRecordSet/rrdatas": rrdatas +"/dns:v1/ResourceRecordSet/rrdatas/rrdata": rrdata +"/dns:v1/ResourceRecordSet/ttl": ttl +"/dns:v1/ResourceRecordSet/type": type +"/dns:v1/ResourceRecordSetsListResponse": list_resource_record_sets_response +"/dns:v1/ResourceRecordSetsListResponse/kind": kind +"/dns:v1/ResourceRecordSetsListResponse/nextPageToken": next_page_token +"/dns:v1/ResourceRecordSetsListResponse/rrsets": rrsets +"/dns:v1/ResourceRecordSetsListResponse/rrsets/rrset": rrset "/dns:v1/dns.changes.create": create_change "/dns:v1/dns.changes.create/managedZone": managed_zone "/dns:v1/dns.changes.create/project": project @@ -26224,134 +26779,10 @@ "/dns:v1/dns.resourceRecordSets.list/pageToken": page_token "/dns:v1/dns.resourceRecordSets.list/project": project "/dns:v1/dns.resourceRecordSets.list/type": type -"/dns:v1/Change": change -"/dns:v1/Change/additions": additions -"/dns:v1/Change/additions/addition": addition -"/dns:v1/Change/deletions": deletions -"/dns:v1/Change/deletions/deletion": deletion -"/dns:v1/Change/id": id -"/dns:v1/Change/kind": kind -"/dns:v1/Change/startTime": start_time -"/dns:v1/Change/status": status -"/dns:v1/ChangesListResponse/changes": changes -"/dns:v1/ChangesListResponse/changes/change": change -"/dns:v1/ChangesListResponse/kind": kind -"/dns:v1/ChangesListResponse/nextPageToken": next_page_token -"/dns:v1/ManagedZone": managed_zone -"/dns:v1/ManagedZone/creationTime": creation_time -"/dns:v1/ManagedZone/description": description -"/dns:v1/ManagedZone/dnsName": dns_name -"/dns:v1/ManagedZone/id": id -"/dns:v1/ManagedZone/kind": kind -"/dns:v1/ManagedZone/name": name -"/dns:v1/ManagedZone/nameServerSet": name_server_set -"/dns:v1/ManagedZone/nameServers": name_servers -"/dns:v1/ManagedZone/nameServers/name_server": name_server -"/dns:v1/ManagedZonesListResponse/kind": kind -"/dns:v1/ManagedZonesListResponse/managedZones": managed_zones -"/dns:v1/ManagedZonesListResponse/managedZones/managed_zone": managed_zone -"/dns:v1/ManagedZonesListResponse/nextPageToken": next_page_token -"/dns:v1/Project": project -"/dns:v1/Project/id": id -"/dns:v1/Project/kind": kind -"/dns:v1/Project/number": number -"/dns:v1/Project/quota": quota -"/dns:v1/Quota": quota -"/dns:v1/Quota/kind": kind -"/dns:v1/Quota/managedZones": managed_zones -"/dns:v1/Quota/resourceRecordsPerRrset": resource_records_per_rrset -"/dns:v1/Quota/rrsetAdditionsPerChange": rrset_additions_per_change -"/dns:v1/Quota/rrsetDeletionsPerChange": rrset_deletions_per_change -"/dns:v1/Quota/rrsetsPerManagedZone": rrsets_per_managed_zone -"/dns:v1/Quota/totalRrdataSizePerChange": total_rrdata_size_per_change -"/dns:v1/ResourceRecordSet": resource_record_set -"/dns:v1/ResourceRecordSet/kind": kind -"/dns:v1/ResourceRecordSet/name": name -"/dns:v1/ResourceRecordSet/rrdatas": rrdatas -"/dns:v1/ResourceRecordSet/rrdatas/rrdata": rrdata -"/dns:v1/ResourceRecordSet/ttl": ttl -"/dns:v1/ResourceRecordSet/type": type -"/dns:v1/ResourceRecordSetsListResponse/kind": kind -"/dns:v1/ResourceRecordSetsListResponse/nextPageToken": next_page_token -"/dns:v1/ResourceRecordSetsListResponse/rrsets": rrsets -"/dns:v1/ResourceRecordSetsListResponse/rrsets/rrset": rrset -"/dns:v2beta1/fields": fields -"/dns:v2beta1/key": key -"/dns:v2beta1/quotaUser": quota_user -"/dns:v2beta1/userIp": user_ip -"/dns:v2beta1/dns.changes.create": create_change -"/dns:v2beta1/dns.changes.create/clientOperationId": client_operation_id -"/dns:v2beta1/dns.changes.create/managedZone": managed_zone -"/dns:v2beta1/dns.changes.create/project": project -"/dns:v2beta1/dns.changes.get": get_change -"/dns:v2beta1/dns.changes.get/changeId": change_id -"/dns:v2beta1/dns.changes.get/clientOperationId": client_operation_id -"/dns:v2beta1/dns.changes.get/managedZone": managed_zone -"/dns:v2beta1/dns.changes.get/project": project -"/dns:v2beta1/dns.changes.list": list_changes -"/dns:v2beta1/dns.changes.list/managedZone": managed_zone -"/dns:v2beta1/dns.changes.list/maxResults": max_results -"/dns:v2beta1/dns.changes.list/pageToken": page_token -"/dns:v2beta1/dns.changes.list/project": project -"/dns:v2beta1/dns.changes.list/sortBy": sort_by -"/dns:v2beta1/dns.changes.list/sortOrder": sort_order -"/dns:v2beta1/dns.dnsKeys.get": get_dns_key -"/dns:v2beta1/dns.dnsKeys.get/clientOperationId": client_operation_id -"/dns:v2beta1/dns.dnsKeys.get/digestType": digest_type -"/dns:v2beta1/dns.dnsKeys.get/dnsKeyId": dns_key_id -"/dns:v2beta1/dns.dnsKeys.get/managedZone": managed_zone -"/dns:v2beta1/dns.dnsKeys.get/project": project -"/dns:v2beta1/dns.dnsKeys.list": list_dns_keys -"/dns:v2beta1/dns.dnsKeys.list/digestType": digest_type -"/dns:v2beta1/dns.dnsKeys.list/managedZone": managed_zone -"/dns:v2beta1/dns.dnsKeys.list/maxResults": max_results -"/dns:v2beta1/dns.dnsKeys.list/pageToken": page_token -"/dns:v2beta1/dns.dnsKeys.list/project": project -"/dns:v2beta1/dns.managedZoneOperations.get": get_managed_zone_operation -"/dns:v2beta1/dns.managedZoneOperations.get/clientOperationId": client_operation_id -"/dns:v2beta1/dns.managedZoneOperations.get/managedZone": managed_zone -"/dns:v2beta1/dns.managedZoneOperations.get/operation": operation -"/dns:v2beta1/dns.managedZoneOperations.get/project": project -"/dns:v2beta1/dns.managedZoneOperations.list": list_managed_zone_operations -"/dns:v2beta1/dns.managedZoneOperations.list/managedZone": managed_zone -"/dns:v2beta1/dns.managedZoneOperations.list/maxResults": max_results -"/dns:v2beta1/dns.managedZoneOperations.list/pageToken": page_token -"/dns:v2beta1/dns.managedZoneOperations.list/project": project -"/dns:v2beta1/dns.managedZoneOperations.list/sortBy": sort_by -"/dns:v2beta1/dns.managedZones.create": create_managed_zone -"/dns:v2beta1/dns.managedZones.create/clientOperationId": client_operation_id -"/dns:v2beta1/dns.managedZones.create/project": project -"/dns:v2beta1/dns.managedZones.delete": delete_managed_zone -"/dns:v2beta1/dns.managedZones.delete/clientOperationId": client_operation_id -"/dns:v2beta1/dns.managedZones.delete/managedZone": managed_zone -"/dns:v2beta1/dns.managedZones.delete/project": project -"/dns:v2beta1/dns.managedZones.get": get_managed_zone -"/dns:v2beta1/dns.managedZones.get/clientOperationId": client_operation_id -"/dns:v2beta1/dns.managedZones.get/managedZone": managed_zone -"/dns:v2beta1/dns.managedZones.get/project": project -"/dns:v2beta1/dns.managedZones.list": list_managed_zones -"/dns:v2beta1/dns.managedZones.list/dnsName": dns_name -"/dns:v2beta1/dns.managedZones.list/maxResults": max_results -"/dns:v2beta1/dns.managedZones.list/pageToken": page_token -"/dns:v2beta1/dns.managedZones.list/project": project -"/dns:v2beta1/dns.managedZones.patch": patch_managed_zone -"/dns:v2beta1/dns.managedZones.patch/clientOperationId": client_operation_id -"/dns:v2beta1/dns.managedZones.patch/managedZone": managed_zone -"/dns:v2beta1/dns.managedZones.patch/project": project -"/dns:v2beta1/dns.managedZones.update": update_managed_zone -"/dns:v2beta1/dns.managedZones.update/clientOperationId": client_operation_id -"/dns:v2beta1/dns.managedZones.update/managedZone": managed_zone -"/dns:v2beta1/dns.managedZones.update/project": project -"/dns:v2beta1/dns.projects.get": get_project -"/dns:v2beta1/dns.projects.get/clientOperationId": client_operation_id -"/dns:v2beta1/dns.projects.get/project": project -"/dns:v2beta1/dns.resourceRecordSets.list": list_resource_record_sets -"/dns:v2beta1/dns.resourceRecordSets.list/managedZone": managed_zone -"/dns:v2beta1/dns.resourceRecordSets.list/maxResults": max_results -"/dns:v2beta1/dns.resourceRecordSets.list/name": name -"/dns:v2beta1/dns.resourceRecordSets.list/pageToken": page_token -"/dns:v2beta1/dns.resourceRecordSets.list/project": project -"/dns:v2beta1/dns.resourceRecordSets.list/type": type +"/dns:v1/fields": fields +"/dns:v1/key": key +"/dns:v1/quotaUser": quota_user +"/dns:v1/userIp": user_ip "/dns:v2beta1/Change": change "/dns:v2beta1/Change/additions": additions "/dns:v2beta1/Change/additions/addition": addition @@ -26474,20 +26905,90 @@ "/dns:v2beta1/ResourceRecordSetsListResponse/rrsets/rrset": rrset "/dns:v2beta1/ResponseHeader": response_header "/dns:v2beta1/ResponseHeader/operationId": operation_id -"/doubleclickbidmanager:v1/fields": fields -"/doubleclickbidmanager:v1/key": key -"/doubleclickbidmanager:v1/quotaUser": quota_user -"/doubleclickbidmanager:v1/userIp": user_ip -"/doubleclickbidmanager:v1/doubleclickbidmanager.queries.deletequery/queryId": query_id -"/doubleclickbidmanager:v1/doubleclickbidmanager.queries.getquery/queryId": query_id -"/doubleclickbidmanager:v1/doubleclickbidmanager.queries.runquery/queryId": query_id -"/doubleclickbidmanager:v1/doubleclickbidmanager.reports.listreports/queryId": query_id -"/doubleclickbidmanager:v1/doubleclickbidmanager.sdf.download": download_sdf +"/dns:v2beta1/dns.changes.create": create_change +"/dns:v2beta1/dns.changes.create/clientOperationId": client_operation_id +"/dns:v2beta1/dns.changes.create/managedZone": managed_zone +"/dns:v2beta1/dns.changes.create/project": project +"/dns:v2beta1/dns.changes.get": get_change +"/dns:v2beta1/dns.changes.get/changeId": change_id +"/dns:v2beta1/dns.changes.get/clientOperationId": client_operation_id +"/dns:v2beta1/dns.changes.get/managedZone": managed_zone +"/dns:v2beta1/dns.changes.get/project": project +"/dns:v2beta1/dns.changes.list": list_changes +"/dns:v2beta1/dns.changes.list/managedZone": managed_zone +"/dns:v2beta1/dns.changes.list/maxResults": max_results +"/dns:v2beta1/dns.changes.list/pageToken": page_token +"/dns:v2beta1/dns.changes.list/project": project +"/dns:v2beta1/dns.changes.list/sortBy": sort_by +"/dns:v2beta1/dns.changes.list/sortOrder": sort_order +"/dns:v2beta1/dns.dnsKeys.get": get_dns_key +"/dns:v2beta1/dns.dnsKeys.get/clientOperationId": client_operation_id +"/dns:v2beta1/dns.dnsKeys.get/digestType": digest_type +"/dns:v2beta1/dns.dnsKeys.get/dnsKeyId": dns_key_id +"/dns:v2beta1/dns.dnsKeys.get/managedZone": managed_zone +"/dns:v2beta1/dns.dnsKeys.get/project": project +"/dns:v2beta1/dns.dnsKeys.list": list_dns_keys +"/dns:v2beta1/dns.dnsKeys.list/digestType": digest_type +"/dns:v2beta1/dns.dnsKeys.list/managedZone": managed_zone +"/dns:v2beta1/dns.dnsKeys.list/maxResults": max_results +"/dns:v2beta1/dns.dnsKeys.list/pageToken": page_token +"/dns:v2beta1/dns.dnsKeys.list/project": project +"/dns:v2beta1/dns.managedZoneOperations.get": get_managed_zone_operation +"/dns:v2beta1/dns.managedZoneOperations.get/clientOperationId": client_operation_id +"/dns:v2beta1/dns.managedZoneOperations.get/managedZone": managed_zone +"/dns:v2beta1/dns.managedZoneOperations.get/operation": operation +"/dns:v2beta1/dns.managedZoneOperations.get/project": project +"/dns:v2beta1/dns.managedZoneOperations.list": list_managed_zone_operations +"/dns:v2beta1/dns.managedZoneOperations.list/managedZone": managed_zone +"/dns:v2beta1/dns.managedZoneOperations.list/maxResults": max_results +"/dns:v2beta1/dns.managedZoneOperations.list/pageToken": page_token +"/dns:v2beta1/dns.managedZoneOperations.list/project": project +"/dns:v2beta1/dns.managedZoneOperations.list/sortBy": sort_by +"/dns:v2beta1/dns.managedZones.create": create_managed_zone +"/dns:v2beta1/dns.managedZones.create/clientOperationId": client_operation_id +"/dns:v2beta1/dns.managedZones.create/project": project +"/dns:v2beta1/dns.managedZones.delete": delete_managed_zone +"/dns:v2beta1/dns.managedZones.delete/clientOperationId": client_operation_id +"/dns:v2beta1/dns.managedZones.delete/managedZone": managed_zone +"/dns:v2beta1/dns.managedZones.delete/project": project +"/dns:v2beta1/dns.managedZones.get": get_managed_zone +"/dns:v2beta1/dns.managedZones.get/clientOperationId": client_operation_id +"/dns:v2beta1/dns.managedZones.get/managedZone": managed_zone +"/dns:v2beta1/dns.managedZones.get/project": project +"/dns:v2beta1/dns.managedZones.list": list_managed_zones +"/dns:v2beta1/dns.managedZones.list/dnsName": dns_name +"/dns:v2beta1/dns.managedZones.list/maxResults": max_results +"/dns:v2beta1/dns.managedZones.list/pageToken": page_token +"/dns:v2beta1/dns.managedZones.list/project": project +"/dns:v2beta1/dns.managedZones.patch": patch_managed_zone +"/dns:v2beta1/dns.managedZones.patch/clientOperationId": client_operation_id +"/dns:v2beta1/dns.managedZones.patch/managedZone": managed_zone +"/dns:v2beta1/dns.managedZones.patch/project": project +"/dns:v2beta1/dns.managedZones.update": update_managed_zone +"/dns:v2beta1/dns.managedZones.update/clientOperationId": client_operation_id +"/dns:v2beta1/dns.managedZones.update/managedZone": managed_zone +"/dns:v2beta1/dns.managedZones.update/project": project +"/dns:v2beta1/dns.projects.get": get_project +"/dns:v2beta1/dns.projects.get/clientOperationId": client_operation_id +"/dns:v2beta1/dns.projects.get/project": project +"/dns:v2beta1/dns.resourceRecordSets.list": list_resource_record_sets +"/dns:v2beta1/dns.resourceRecordSets.list/managedZone": managed_zone +"/dns:v2beta1/dns.resourceRecordSets.list/maxResults": max_results +"/dns:v2beta1/dns.resourceRecordSets.list/name": name +"/dns:v2beta1/dns.resourceRecordSets.list/pageToken": page_token +"/dns:v2beta1/dns.resourceRecordSets.list/project": project +"/dns:v2beta1/dns.resourceRecordSets.list/type": type +"/dns:v2beta1/fields": fields +"/dns:v2beta1/key": key +"/dns:v2beta1/quotaUser": quota_user +"/dns:v2beta1/userIp": user_ip +"/doubleclickbidmanager:v1/DownloadLineItemsRequest": download_line_items_request "/doubleclickbidmanager:v1/DownloadLineItemsRequest/fileSpec": file_spec "/doubleclickbidmanager:v1/DownloadLineItemsRequest/filterIds": filter_ids "/doubleclickbidmanager:v1/DownloadLineItemsRequest/filterIds/filter_id": filter_id "/doubleclickbidmanager:v1/DownloadLineItemsRequest/filterType": filter_type "/doubleclickbidmanager:v1/DownloadLineItemsRequest/format": format +"/doubleclickbidmanager:v1/DownloadLineItemsResponse": download_line_items_response "/doubleclickbidmanager:v1/DownloadLineItemsResponse/lineItems": line_items "/doubleclickbidmanager:v1/DownloadRequest": download_request "/doubleclickbidmanager:v1/DownloadRequest/fileTypes": file_types @@ -26504,9 +27005,11 @@ "/doubleclickbidmanager:v1/FilterPair": filter_pair "/doubleclickbidmanager:v1/FilterPair/type": type "/doubleclickbidmanager:v1/FilterPair/value": value +"/doubleclickbidmanager:v1/ListQueriesResponse": list_queries_response "/doubleclickbidmanager:v1/ListQueriesResponse/kind": kind "/doubleclickbidmanager:v1/ListQueriesResponse/queries": queries "/doubleclickbidmanager:v1/ListQueriesResponse/queries/query": query +"/doubleclickbidmanager:v1/ListReportsResponse": list_reports_response "/doubleclickbidmanager:v1/ListReportsResponse/kind": kind "/doubleclickbidmanager:v1/ListReportsResponse/reports": reports "/doubleclickbidmanager:v1/ListReportsResponse/reports/report": report @@ -26573,56 +27076,39 @@ "/doubleclickbidmanager:v1/RowStatus/errors/error": error "/doubleclickbidmanager:v1/RowStatus/persisted": persisted "/doubleclickbidmanager:v1/RowStatus/rowNumber": row_number +"/doubleclickbidmanager:v1/RunQueryRequest": run_query_request "/doubleclickbidmanager:v1/RunQueryRequest/dataRange": data_range "/doubleclickbidmanager:v1/RunQueryRequest/reportDataEndTimeMs": report_data_end_time_ms "/doubleclickbidmanager:v1/RunQueryRequest/reportDataStartTimeMs": report_data_start_time_ms "/doubleclickbidmanager:v1/RunQueryRequest/timezoneCode": timezone_code +"/doubleclickbidmanager:v1/UploadLineItemsRequest": upload_line_items_request "/doubleclickbidmanager:v1/UploadLineItemsRequest/dryRun": dry_run "/doubleclickbidmanager:v1/UploadLineItemsRequest/format": format "/doubleclickbidmanager:v1/UploadLineItemsRequest/lineItems": line_items +"/doubleclickbidmanager:v1/UploadLineItemsResponse": upload_line_items_response "/doubleclickbidmanager:v1/UploadLineItemsResponse/uploadStatus": upload_status "/doubleclickbidmanager:v1/UploadStatus": upload_status "/doubleclickbidmanager:v1/UploadStatus/errors": errors "/doubleclickbidmanager:v1/UploadStatus/errors/error": error "/doubleclickbidmanager:v1/UploadStatus/rowStatus": row_status "/doubleclickbidmanager:v1/UploadStatus/rowStatus/row_status": row_status -"/doubleclicksearch:v2/fields": fields -"/doubleclicksearch:v2/key": key -"/doubleclicksearch:v2/quotaUser": quota_user -"/doubleclicksearch:v2/userIp": user_ip -"/doubleclicksearch:v2/doubleclicksearch.conversion.get": get_conversion -"/doubleclicksearch:v2/doubleclicksearch.conversion.get/adGroupId": ad_group_id -"/doubleclicksearch:v2/doubleclicksearch.conversion.get/adId": ad_id -"/doubleclicksearch:v2/doubleclicksearch.conversion.get/advertiserId": advertiser_id -"/doubleclicksearch:v2/doubleclicksearch.conversion.get/agencyId": agency_id -"/doubleclicksearch:v2/doubleclicksearch.conversion.get/campaignId": campaign_id -"/doubleclicksearch:v2/doubleclicksearch.conversion.get/criterionId": criterion_id -"/doubleclicksearch:v2/doubleclicksearch.conversion.get/endDate": end_date -"/doubleclicksearch:v2/doubleclicksearch.conversion.get/engineAccountId": engine_account_id -"/doubleclicksearch:v2/doubleclicksearch.conversion.get/rowCount": row_count -"/doubleclicksearch:v2/doubleclicksearch.conversion.get/startDate": start_date -"/doubleclicksearch:v2/doubleclicksearch.conversion.get/startRow": start_row -"/doubleclicksearch:v2/doubleclicksearch.conversion.insert": insert_conversion -"/doubleclicksearch:v2/doubleclicksearch.conversion.patch": patch_conversion -"/doubleclicksearch:v2/doubleclicksearch.conversion.patch/advertiserId": advertiser_id -"/doubleclicksearch:v2/doubleclicksearch.conversion.patch/agencyId": agency_id -"/doubleclicksearch:v2/doubleclicksearch.conversion.patch/endDate": end_date -"/doubleclicksearch:v2/doubleclicksearch.conversion.patch/engineAccountId": engine_account_id -"/doubleclicksearch:v2/doubleclicksearch.conversion.patch/rowCount": row_count -"/doubleclicksearch:v2/doubleclicksearch.conversion.patch/startDate": start_date -"/doubleclicksearch:v2/doubleclicksearch.conversion.patch/startRow": start_row -"/doubleclicksearch:v2/doubleclicksearch.conversion.update": update_conversion -"/doubleclicksearch:v2/doubleclicksearch.conversion.updateAvailability": update_conversion_availability -"/doubleclicksearch:v2/doubleclicksearch.reports.generate": generate_report -"/doubleclicksearch:v2/doubleclicksearch.reports.get": get_report -"/doubleclicksearch:v2/doubleclicksearch.reports.get/reportId": report_id -"/doubleclicksearch:v2/doubleclicksearch.reports.getFile": get_report_file -"/doubleclicksearch:v2/doubleclicksearch.reports.getFile/reportFragment": report_fragment -"/doubleclicksearch:v2/doubleclicksearch.reports.getFile/reportId": report_id -"/doubleclicksearch:v2/doubleclicksearch.reports.request": request_report -"/doubleclicksearch:v2/doubleclicksearch.savedColumns.list": list_saved_columns -"/doubleclicksearch:v2/doubleclicksearch.savedColumns.list/advertiserId": advertiser_id -"/doubleclicksearch:v2/doubleclicksearch.savedColumns.list/agencyId": agency_id +"/doubleclickbidmanager:v1/doubleclickbidmanager.lineitems.downloadlineitems": download_line_items +"/doubleclickbidmanager:v1/doubleclickbidmanager.lineitems.uploadlineitems": upload_line_items +"/doubleclickbidmanager:v1/doubleclickbidmanager.queries.createquery": create_query +"/doubleclickbidmanager:v1/doubleclickbidmanager.queries.deletequery": deletequery +"/doubleclickbidmanager:v1/doubleclickbidmanager.queries.deletequery/queryId": query_id +"/doubleclickbidmanager:v1/doubleclickbidmanager.queries.getquery": get_query +"/doubleclickbidmanager:v1/doubleclickbidmanager.queries.getquery/queryId": query_id +"/doubleclickbidmanager:v1/doubleclickbidmanager.queries.listqueries": list_queries +"/doubleclickbidmanager:v1/doubleclickbidmanager.queries.runquery": run_query +"/doubleclickbidmanager:v1/doubleclickbidmanager.queries.runquery/queryId": query_id +"/doubleclickbidmanager:v1/doubleclickbidmanager.reports.listreports": list_reports +"/doubleclickbidmanager:v1/doubleclickbidmanager.reports.listreports/queryId": query_id +"/doubleclickbidmanager:v1/doubleclickbidmanager.sdf.download": download_sdf +"/doubleclickbidmanager:v1/fields": fields +"/doubleclickbidmanager:v1/key": key +"/doubleclickbidmanager:v1/quotaUser": quota_user +"/doubleclickbidmanager:v1/userIp": user_ip "/doubleclicksearch:v2/Availability": availability "/doubleclicksearch:v2/Availability/advertiserId": advertiser_id "/doubleclicksearch:v2/Availability/agencyId": agency_id @@ -26701,6 +27187,7 @@ "/doubleclicksearch:v2/ReportApiColumnSpec/productReportPerspective": product_report_perspective "/doubleclicksearch:v2/ReportApiColumnSpec/savedColumnName": saved_column_name "/doubleclicksearch:v2/ReportApiColumnSpec/startDate": start_date +"/doubleclicksearch:v2/ReportRequest": report_request "/doubleclicksearch:v2/ReportRequest/columns": columns "/doubleclicksearch:v2/ReportRequest/columns/column": column "/doubleclicksearch:v2/ReportRequest/downloadFormat": download_format @@ -26745,307 +27232,49 @@ "/doubleclicksearch:v2/SavedColumnList/items": items "/doubleclicksearch:v2/SavedColumnList/items/item": item "/doubleclicksearch:v2/SavedColumnList/kind": kind +"/doubleclicksearch:v2/UpdateAvailabilityRequest": update_availability_request "/doubleclicksearch:v2/UpdateAvailabilityRequest/availabilities": availabilities "/doubleclicksearch:v2/UpdateAvailabilityRequest/availabilities/availability": availability +"/doubleclicksearch:v2/UpdateAvailabilityResponse": update_availability_response "/doubleclicksearch:v2/UpdateAvailabilityResponse/availabilities": availabilities "/doubleclicksearch:v2/UpdateAvailabilityResponse/availabilities/availability": availability -"/drive:v2/fields": fields -"/drive:v2/key": key -"/drive:v2/quotaUser": quota_user -"/drive:v2/userIp": user_ip -"/drive:v2/drive.about.get": get_about -"/drive:v2/drive.about.get/includeSubscribed": include_subscribed -"/drive:v2/drive.about.get/maxChangeIdCount": max_change_id_count -"/drive:v2/drive.about.get/startChangeId": start_change_id -"/drive:v2/drive.apps.get": get_app -"/drive:v2/drive.apps.get/appId": app_id -"/drive:v2/drive.apps.list": list_apps -"/drive:v2/drive.apps.list/appFilterExtensions": app_filter_extensions -"/drive:v2/drive.apps.list/appFilterMimeTypes": app_filter_mime_types -"/drive:v2/drive.apps.list/languageCode": language_code -"/drive:v2/drive.changes.get": get_change -"/drive:v2/drive.changes.get/changeId": change_id -"/drive:v2/drive.changes.get/supportsTeamDrives": supports_team_drives -"/drive:v2/drive.changes.get/teamDriveId": team_drive_id -"/drive:v2/drive.changes.getStartPageToken": get_change_start_page_token -"/drive:v2/drive.changes.getStartPageToken/supportsTeamDrives": supports_team_drives -"/drive:v2/drive.changes.getStartPageToken/teamDriveId": team_drive_id -"/drive:v2/drive.changes.list": list_changes -"/drive:v2/drive.changes.list/includeCorpusRemovals": include_corpus_removals -"/drive:v2/drive.changes.list/includeDeleted": include_deleted -"/drive:v2/drive.changes.list/includeSubscribed": include_subscribed -"/drive:v2/drive.changes.list/includeTeamDriveItems": include_team_drive_items -"/drive:v2/drive.changes.list/maxResults": max_results -"/drive:v2/drive.changes.list/pageToken": page_token -"/drive:v2/drive.changes.list/spaces": spaces -"/drive:v2/drive.changes.list/startChangeId": start_change_id -"/drive:v2/drive.changes.list/supportsTeamDrives": supports_team_drives -"/drive:v2/drive.changes.list/teamDriveId": team_drive_id -"/drive:v2/drive.changes.watch": watch_change -"/drive:v2/drive.changes.watch/includeCorpusRemovals": include_corpus_removals -"/drive:v2/drive.changes.watch/includeDeleted": include_deleted -"/drive:v2/drive.changes.watch/includeSubscribed": include_subscribed -"/drive:v2/drive.changes.watch/includeTeamDriveItems": include_team_drive_items -"/drive:v2/drive.changes.watch/maxResults": max_results -"/drive:v2/drive.changes.watch/pageToken": page_token -"/drive:v2/drive.changes.watch/spaces": spaces -"/drive:v2/drive.changes.watch/startChangeId": start_change_id -"/drive:v2/drive.changes.watch/supportsTeamDrives": supports_team_drives -"/drive:v2/drive.changes.watch/teamDriveId": team_drive_id -"/drive:v2/drive.channels.stop": stop_channel -"/drive:v2/drive.children.delete": delete_child -"/drive:v2/drive.children.delete/childId": child_id -"/drive:v2/drive.children.delete/folderId": folder_id -"/drive:v2/drive.children.get": get_child -"/drive:v2/drive.children.get/childId": child_id -"/drive:v2/drive.children.get/folderId": folder_id -"/drive:v2/drive.children.insert": insert_child -"/drive:v2/drive.children.insert/folderId": folder_id -"/drive:v2/drive.children.insert/supportsTeamDrives": supports_team_drives -"/drive:v2/drive.children.list": list_children -"/drive:v2/drive.children.list/folderId": folder_id -"/drive:v2/drive.children.list/maxResults": max_results -"/drive:v2/drive.children.list/orderBy": order_by -"/drive:v2/drive.children.list/pageToken": page_token -"/drive:v2/drive.children.list/q": q -"/drive:v2/drive.comments.delete": delete_comment -"/drive:v2/drive.comments.delete/commentId": comment_id -"/drive:v2/drive.comments.delete/fileId": file_id -"/drive:v2/drive.comments.get": get_comment -"/drive:v2/drive.comments.get/commentId": comment_id -"/drive:v2/drive.comments.get/fileId": file_id -"/drive:v2/drive.comments.get/includeDeleted": include_deleted -"/drive:v2/drive.comments.insert": insert_comment -"/drive:v2/drive.comments.insert/fileId": file_id -"/drive:v2/drive.comments.list": list_comments -"/drive:v2/drive.comments.list/fileId": file_id -"/drive:v2/drive.comments.list/includeDeleted": include_deleted -"/drive:v2/drive.comments.list/maxResults": max_results -"/drive:v2/drive.comments.list/pageToken": page_token -"/drive:v2/drive.comments.list/updatedMin": updated_min -"/drive:v2/drive.comments.patch": patch_comment -"/drive:v2/drive.comments.patch/commentId": comment_id -"/drive:v2/drive.comments.patch/fileId": file_id -"/drive:v2/drive.comments.update": update_comment -"/drive:v2/drive.comments.update/commentId": comment_id -"/drive:v2/drive.comments.update/fileId": file_id -"/drive:v2/drive.files.copy": copy_file -"/drive:v2/drive.files.copy/convert": convert -"/drive:v2/drive.files.copy/fileId": file_id -"/drive:v2/drive.files.copy/ocr": ocr -"/drive:v2/drive.files.copy/ocrLanguage": ocr_language -"/drive:v2/drive.files.copy/pinned": pinned -"/drive:v2/drive.files.copy/supportsTeamDrives": supports_team_drives -"/drive:v2/drive.files.copy/timedTextLanguage": timed_text_language -"/drive:v2/drive.files.copy/timedTextTrackName": timed_text_track_name -"/drive:v2/drive.files.copy/visibility": visibility -"/drive:v2/drive.files.delete": delete_file -"/drive:v2/drive.files.delete/fileId": file_id -"/drive:v2/drive.files.delete/supportsTeamDrives": supports_team_drives -"/drive:v2/drive.files.export": export_file -"/drive:v2/drive.files.export/fileId": file_id -"/drive:v2/drive.files.export/mimeType": mime_type -"/drive:v2/drive.files.generateIds": generate_file_ids -"/drive:v2/drive.files.generateIds/maxResults": max_results -"/drive:v2/drive.files.generateIds/space": space -"/drive:v2/drive.files.get": get_file -"/drive:v2/drive.files.get/acknowledgeAbuse": acknowledge_abuse -"/drive:v2/drive.files.get/fileId": file_id -"/drive:v2/drive.files.get/projection": projection -"/drive:v2/drive.files.get/revisionId": revision_id -"/drive:v2/drive.files.get/supportsTeamDrives": supports_team_drives -"/drive:v2/drive.files.get/updateViewedDate": update_viewed_date -"/drive:v2/drive.files.insert": insert_file -"/drive:v2/drive.files.insert/convert": convert -"/drive:v2/drive.files.insert/ocr": ocr -"/drive:v2/drive.files.insert/ocrLanguage": ocr_language -"/drive:v2/drive.files.insert/pinned": pinned -"/drive:v2/drive.files.insert/supportsTeamDrives": supports_team_drives -"/drive:v2/drive.files.insert/timedTextLanguage": timed_text_language -"/drive:v2/drive.files.insert/timedTextTrackName": timed_text_track_name -"/drive:v2/drive.files.insert/useContentAsIndexableText": use_content_as_indexable_text -"/drive:v2/drive.files.insert/visibility": visibility -"/drive:v2/drive.files.list": list_files -"/drive:v2/drive.files.list/corpora": corpora -"/drive:v2/drive.files.list/corpus": corpus -"/drive:v2/drive.files.list/includeTeamDriveItems": include_team_drive_items -"/drive:v2/drive.files.list/maxResults": max_results -"/drive:v2/drive.files.list/orderBy": order_by -"/drive:v2/drive.files.list/pageToken": page_token -"/drive:v2/drive.files.list/projection": projection -"/drive:v2/drive.files.list/q": q -"/drive:v2/drive.files.list/spaces": spaces -"/drive:v2/drive.files.list/supportsTeamDrives": supports_team_drives -"/drive:v2/drive.files.list/teamDriveId": team_drive_id -"/drive:v2/drive.files.patch": patch_file -"/drive:v2/drive.files.patch/addParents": add_parents -"/drive:v2/drive.files.patch/convert": convert -"/drive:v2/drive.files.patch/fileId": file_id -"/drive:v2/drive.files.patch/modifiedDateBehavior": modified_date_behavior -"/drive:v2/drive.files.patch/newRevision": new_revision -"/drive:v2/drive.files.patch/ocr": ocr -"/drive:v2/drive.files.patch/ocrLanguage": ocr_language -"/drive:v2/drive.files.patch/pinned": pinned -"/drive:v2/drive.files.patch/removeParents": remove_parents -"/drive:v2/drive.files.patch/setModifiedDate": set_modified_date -"/drive:v2/drive.files.patch/supportsTeamDrives": supports_team_drives -"/drive:v2/drive.files.patch/timedTextLanguage": timed_text_language -"/drive:v2/drive.files.patch/timedTextTrackName": timed_text_track_name -"/drive:v2/drive.files.patch/updateViewedDate": update_viewed_date -"/drive:v2/drive.files.patch/useContentAsIndexableText": use_content_as_indexable_text -"/drive:v2/drive.files.touch": touch_file -"/drive:v2/drive.files.touch/fileId": file_id -"/drive:v2/drive.files.touch/supportsTeamDrives": supports_team_drives -"/drive:v2/drive.files.trash": trash_file -"/drive:v2/drive.files.trash/fileId": file_id -"/drive:v2/drive.files.trash/supportsTeamDrives": supports_team_drives -"/drive:v2/drive.files.untrash": untrash_file -"/drive:v2/drive.files.untrash/fileId": file_id -"/drive:v2/drive.files.untrash/supportsTeamDrives": supports_team_drives -"/drive:v2/drive.files.update": update_file -"/drive:v2/drive.files.update/addParents": add_parents -"/drive:v2/drive.files.update/convert": convert -"/drive:v2/drive.files.update/fileId": file_id -"/drive:v2/drive.files.update/modifiedDateBehavior": modified_date_behavior -"/drive:v2/drive.files.update/newRevision": new_revision -"/drive:v2/drive.files.update/ocr": ocr -"/drive:v2/drive.files.update/ocrLanguage": ocr_language -"/drive:v2/drive.files.update/pinned": pinned -"/drive:v2/drive.files.update/removeParents": remove_parents -"/drive:v2/drive.files.update/setModifiedDate": set_modified_date -"/drive:v2/drive.files.update/supportsTeamDrives": supports_team_drives -"/drive:v2/drive.files.update/timedTextLanguage": timed_text_language -"/drive:v2/drive.files.update/timedTextTrackName": timed_text_track_name -"/drive:v2/drive.files.update/updateViewedDate": update_viewed_date -"/drive:v2/drive.files.update/useContentAsIndexableText": use_content_as_indexable_text -"/drive:v2/drive.files.watch": watch_file -"/drive:v2/drive.files.watch/acknowledgeAbuse": acknowledge_abuse -"/drive:v2/drive.files.watch/fileId": file_id -"/drive:v2/drive.files.watch/projection": projection -"/drive:v2/drive.files.watch/revisionId": revision_id -"/drive:v2/drive.files.watch/supportsTeamDrives": supports_team_drives -"/drive:v2/drive.files.watch/updateViewedDate": update_viewed_date -"/drive:v2/drive.parents.delete": delete_parent -"/drive:v2/drive.parents.delete/fileId": file_id -"/drive:v2/drive.parents.delete/parentId": parent_id -"/drive:v2/drive.parents.get": get_parent -"/drive:v2/drive.parents.get/fileId": file_id -"/drive:v2/drive.parents.get/parentId": parent_id -"/drive:v2/drive.parents.insert": insert_parent -"/drive:v2/drive.parents.insert/fileId": file_id -"/drive:v2/drive.parents.insert/supportsTeamDrives": supports_team_drives -"/drive:v2/drive.parents.list": list_parents -"/drive:v2/drive.parents.list/fileId": file_id -"/drive:v2/drive.permissions.delete": delete_permission -"/drive:v2/drive.permissions.delete/fileId": file_id -"/drive:v2/drive.permissions.delete/permissionId": permission_id -"/drive:v2/drive.permissions.delete/supportsTeamDrives": supports_team_drives -"/drive:v2/drive.permissions.get": get_permission -"/drive:v2/drive.permissions.get/fileId": file_id -"/drive:v2/drive.permissions.get/permissionId": permission_id -"/drive:v2/drive.permissions.get/supportsTeamDrives": supports_team_drives -"/drive:v2/drive.permissions.getIdForEmail/email": email -"/drive:v2/drive.permissions.insert": insert_permission -"/drive:v2/drive.permissions.insert/emailMessage": email_message -"/drive:v2/drive.permissions.insert/fileId": file_id -"/drive:v2/drive.permissions.insert/sendNotificationEmails": send_notification_emails -"/drive:v2/drive.permissions.insert/supportsTeamDrives": supports_team_drives -"/drive:v2/drive.permissions.list": list_permissions -"/drive:v2/drive.permissions.list/fileId": file_id -"/drive:v2/drive.permissions.list/maxResults": max_results -"/drive:v2/drive.permissions.list/pageToken": page_token -"/drive:v2/drive.permissions.list/supportsTeamDrives": supports_team_drives -"/drive:v2/drive.permissions.patch": patch_permission -"/drive:v2/drive.permissions.patch/fileId": file_id -"/drive:v2/drive.permissions.patch/permissionId": permission_id -"/drive:v2/drive.permissions.patch/removeExpiration": remove_expiration -"/drive:v2/drive.permissions.patch/supportsTeamDrives": supports_team_drives -"/drive:v2/drive.permissions.patch/transferOwnership": transfer_ownership -"/drive:v2/drive.permissions.update": update_permission -"/drive:v2/drive.permissions.update/fileId": file_id -"/drive:v2/drive.permissions.update/permissionId": permission_id -"/drive:v2/drive.permissions.update/removeExpiration": remove_expiration -"/drive:v2/drive.permissions.update/supportsTeamDrives": supports_team_drives -"/drive:v2/drive.permissions.update/transferOwnership": transfer_ownership -"/drive:v2/drive.properties.delete": delete_property -"/drive:v2/drive.properties.delete/fileId": file_id -"/drive:v2/drive.properties.delete/propertyKey": property_key -"/drive:v2/drive.properties.delete/visibility": visibility -"/drive:v2/drive.properties.get": get_property -"/drive:v2/drive.properties.get/fileId": file_id -"/drive:v2/drive.properties.get/propertyKey": property_key -"/drive:v2/drive.properties.get/visibility": visibility -"/drive:v2/drive.properties.insert": insert_property -"/drive:v2/drive.properties.insert/fileId": file_id -"/drive:v2/drive.properties.list": list_properties -"/drive:v2/drive.properties.list/fileId": file_id -"/drive:v2/drive.properties.patch": patch_property -"/drive:v2/drive.properties.patch/fileId": file_id -"/drive:v2/drive.properties.patch/propertyKey": property_key -"/drive:v2/drive.properties.patch/visibility": visibility -"/drive:v2/drive.properties.update": update_property -"/drive:v2/drive.properties.update/fileId": file_id -"/drive:v2/drive.properties.update/propertyKey": property_key -"/drive:v2/drive.properties.update/visibility": visibility -"/drive:v2/drive.realtime.get": get_realtime -"/drive:v2/drive.realtime.get/fileId": file_id -"/drive:v2/drive.realtime.get/revision": revision -"/drive:v2/drive.realtime.update": update_realtime -"/drive:v2/drive.realtime.update/baseRevision": base_revision -"/drive:v2/drive.realtime.update/fileId": file_id -"/drive:v2/drive.replies.delete": delete_reply -"/drive:v2/drive.replies.delete/commentId": comment_id -"/drive:v2/drive.replies.delete/fileId": file_id -"/drive:v2/drive.replies.delete/replyId": reply_id -"/drive:v2/drive.replies.get": get_reply -"/drive:v2/drive.replies.get/commentId": comment_id -"/drive:v2/drive.replies.get/fileId": file_id -"/drive:v2/drive.replies.get/includeDeleted": include_deleted -"/drive:v2/drive.replies.get/replyId": reply_id -"/drive:v2/drive.replies.insert": insert_reply -"/drive:v2/drive.replies.insert/commentId": comment_id -"/drive:v2/drive.replies.insert/fileId": file_id -"/drive:v2/drive.replies.list": list_replies -"/drive:v2/drive.replies.list/commentId": comment_id -"/drive:v2/drive.replies.list/fileId": file_id -"/drive:v2/drive.replies.list/includeDeleted": include_deleted -"/drive:v2/drive.replies.list/maxResults": max_results -"/drive:v2/drive.replies.list/pageToken": page_token -"/drive:v2/drive.replies.patch": patch_reply -"/drive:v2/drive.replies.patch/commentId": comment_id -"/drive:v2/drive.replies.patch/fileId": file_id -"/drive:v2/drive.replies.patch/replyId": reply_id -"/drive:v2/drive.replies.update": update_reply -"/drive:v2/drive.replies.update/commentId": comment_id -"/drive:v2/drive.replies.update/fileId": file_id -"/drive:v2/drive.replies.update/replyId": reply_id -"/drive:v2/drive.revisions.delete": delete_revision -"/drive:v2/drive.revisions.delete/fileId": file_id -"/drive:v2/drive.revisions.delete/revisionId": revision_id -"/drive:v2/drive.revisions.get": get_revision -"/drive:v2/drive.revisions.get/fileId": file_id -"/drive:v2/drive.revisions.get/revisionId": revision_id -"/drive:v2/drive.revisions.list": list_revisions -"/drive:v2/drive.revisions.list/fileId": file_id -"/drive:v2/drive.revisions.list/maxResults": max_results -"/drive:v2/drive.revisions.list/pageToken": page_token -"/drive:v2/drive.revisions.patch": patch_revision -"/drive:v2/drive.revisions.patch/fileId": file_id -"/drive:v2/drive.revisions.patch/revisionId": revision_id -"/drive:v2/drive.revisions.update": update_revision -"/drive:v2/drive.revisions.update/fileId": file_id -"/drive:v2/drive.revisions.update/revisionId": revision_id -"/drive:v2/drive.teamdrives.delete": delete_teamdrive -"/drive:v2/drive.teamdrives.delete/teamDriveId": team_drive_id -"/drive:v2/drive.teamdrives.get": get_teamdrive -"/drive:v2/drive.teamdrives.get/teamDriveId": team_drive_id -"/drive:v2/drive.teamdrives.insert": insert_teamdrive -"/drive:v2/drive.teamdrives.insert/requestId": request_id -"/drive:v2/drive.teamdrives.list": list_teamdrives -"/drive:v2/drive.teamdrives.list/maxResults": max_results -"/drive:v2/drive.teamdrives.list/pageToken": page_token -"/drive:v2/drive.teamdrives.update": update_teamdrive -"/drive:v2/drive.teamdrives.update/teamDriveId": team_drive_id +"/doubleclicksearch:v2/doubleclicksearch.conversion.get": get_conversion +"/doubleclicksearch:v2/doubleclicksearch.conversion.get/adGroupId": ad_group_id +"/doubleclicksearch:v2/doubleclicksearch.conversion.get/adId": ad_id +"/doubleclicksearch:v2/doubleclicksearch.conversion.get/advertiserId": advertiser_id +"/doubleclicksearch:v2/doubleclicksearch.conversion.get/agencyId": agency_id +"/doubleclicksearch:v2/doubleclicksearch.conversion.get/campaignId": campaign_id +"/doubleclicksearch:v2/doubleclicksearch.conversion.get/criterionId": criterion_id +"/doubleclicksearch:v2/doubleclicksearch.conversion.get/endDate": end_date +"/doubleclicksearch:v2/doubleclicksearch.conversion.get/engineAccountId": engine_account_id +"/doubleclicksearch:v2/doubleclicksearch.conversion.get/rowCount": row_count +"/doubleclicksearch:v2/doubleclicksearch.conversion.get/startDate": start_date +"/doubleclicksearch:v2/doubleclicksearch.conversion.get/startRow": start_row +"/doubleclicksearch:v2/doubleclicksearch.conversion.insert": insert_conversion +"/doubleclicksearch:v2/doubleclicksearch.conversion.patch": patch_conversion +"/doubleclicksearch:v2/doubleclicksearch.conversion.patch/advertiserId": advertiser_id +"/doubleclicksearch:v2/doubleclicksearch.conversion.patch/agencyId": agency_id +"/doubleclicksearch:v2/doubleclicksearch.conversion.patch/endDate": end_date +"/doubleclicksearch:v2/doubleclicksearch.conversion.patch/engineAccountId": engine_account_id +"/doubleclicksearch:v2/doubleclicksearch.conversion.patch/rowCount": row_count +"/doubleclicksearch:v2/doubleclicksearch.conversion.patch/startDate": start_date +"/doubleclicksearch:v2/doubleclicksearch.conversion.patch/startRow": start_row +"/doubleclicksearch:v2/doubleclicksearch.conversion.update": update_conversion +"/doubleclicksearch:v2/doubleclicksearch.conversion.updateAvailability": update_conversion_availability +"/doubleclicksearch:v2/doubleclicksearch.reports.generate": generate_report +"/doubleclicksearch:v2/doubleclicksearch.reports.get": get_report +"/doubleclicksearch:v2/doubleclicksearch.reports.get/reportId": report_id +"/doubleclicksearch:v2/doubleclicksearch.reports.getFile": get_report_file +"/doubleclicksearch:v2/doubleclicksearch.reports.getFile/reportFragment": report_fragment +"/doubleclicksearch:v2/doubleclicksearch.reports.getFile/reportId": report_id +"/doubleclicksearch:v2/doubleclicksearch.reports.request": request_report +"/doubleclicksearch:v2/doubleclicksearch.savedColumns.list": list_saved_columns +"/doubleclicksearch:v2/doubleclicksearch.savedColumns.list/advertiserId": advertiser_id +"/doubleclicksearch:v2/doubleclicksearch.savedColumns.list/agencyId": agency_id +"/doubleclicksearch:v2/fields": fields +"/doubleclicksearch:v2/key": key +"/doubleclicksearch:v2/quotaUser": quota_user +"/doubleclicksearch:v2/userIp": user_ip "/drive:v2/About": about "/drive:v2/About/additionalRoleInfo": additional_role_info "/drive:v2/About/additionalRoleInfo/additional_role_info": additional_role_info @@ -27503,173 +27732,305 @@ "/drive:v2/User/permissionId": permission_id "/drive:v2/User/picture": picture "/drive:v2/User/picture/url": url -"/drive:v3/fields": fields -"/drive:v3/key": key -"/drive:v3/quotaUser": quota_user -"/drive:v3/userIp": user_ip -"/drive:v3/drive.about.get": get_about -"/drive:v3/drive.changes.getStartPageToken/supportsTeamDrives": supports_team_drives -"/drive:v3/drive.changes.getStartPageToken/teamDriveId": team_drive_id -"/drive:v3/drive.changes.list": list_changes -"/drive:v3/drive.changes.list/includeCorpusRemovals": include_corpus_removals -"/drive:v3/drive.changes.list/includeRemoved": include_removed -"/drive:v3/drive.changes.list/includeTeamDriveItems": include_team_drive_items -"/drive:v3/drive.changes.list/pageSize": page_size -"/drive:v3/drive.changes.list/pageToken": page_token -"/drive:v3/drive.changes.list/restrictToMyDrive": restrict_to_my_drive -"/drive:v3/drive.changes.list/spaces": spaces -"/drive:v3/drive.changes.list/supportsTeamDrives": supports_team_drives -"/drive:v3/drive.changes.list/teamDriveId": team_drive_id -"/drive:v3/drive.changes.watch": watch_change -"/drive:v3/drive.changes.watch/includeCorpusRemovals": include_corpus_removals -"/drive:v3/drive.changes.watch/includeRemoved": include_removed -"/drive:v3/drive.changes.watch/includeTeamDriveItems": include_team_drive_items -"/drive:v3/drive.changes.watch/pageSize": page_size -"/drive:v3/drive.changes.watch/pageToken": page_token -"/drive:v3/drive.changes.watch/restrictToMyDrive": restrict_to_my_drive -"/drive:v3/drive.changes.watch/spaces": spaces -"/drive:v3/drive.changes.watch/supportsTeamDrives": supports_team_drives -"/drive:v3/drive.changes.watch/teamDriveId": team_drive_id -"/drive:v3/drive.channels.stop": stop_channel -"/drive:v3/drive.comments.create": create_comment -"/drive:v3/drive.comments.create/fileId": file_id -"/drive:v3/drive.comments.delete": delete_comment -"/drive:v3/drive.comments.delete/commentId": comment_id -"/drive:v3/drive.comments.delete/fileId": file_id -"/drive:v3/drive.comments.get": get_comment -"/drive:v3/drive.comments.get/commentId": comment_id -"/drive:v3/drive.comments.get/fileId": file_id -"/drive:v3/drive.comments.get/includeDeleted": include_deleted -"/drive:v3/drive.comments.list": list_comments -"/drive:v3/drive.comments.list/fileId": file_id -"/drive:v3/drive.comments.list/includeDeleted": include_deleted -"/drive:v3/drive.comments.list/pageSize": page_size -"/drive:v3/drive.comments.list/pageToken": page_token -"/drive:v3/drive.comments.list/startModifiedTime": start_modified_time -"/drive:v3/drive.comments.update": update_comment -"/drive:v3/drive.comments.update/commentId": comment_id -"/drive:v3/drive.comments.update/fileId": file_id -"/drive:v3/drive.files.copy": copy_file -"/drive:v3/drive.files.copy/fileId": file_id -"/drive:v3/drive.files.copy/ignoreDefaultVisibility": ignore_default_visibility -"/drive:v3/drive.files.copy/keepRevisionForever": keep_revision_forever -"/drive:v3/drive.files.copy/ocrLanguage": ocr_language -"/drive:v3/drive.files.copy/supportsTeamDrives": supports_team_drives -"/drive:v3/drive.files.create": create_file -"/drive:v3/drive.files.create/ignoreDefaultVisibility": ignore_default_visibility -"/drive:v3/drive.files.create/keepRevisionForever": keep_revision_forever -"/drive:v3/drive.files.create/ocrLanguage": ocr_language -"/drive:v3/drive.files.create/supportsTeamDrives": supports_team_drives -"/drive:v3/drive.files.create/useContentAsIndexableText": use_content_as_indexable_text -"/drive:v3/drive.files.delete": delete_file -"/drive:v3/drive.files.delete/fileId": file_id -"/drive:v3/drive.files.delete/supportsTeamDrives": supports_team_drives -"/drive:v3/drive.files.emptyTrash": empty_file_trash -"/drive:v3/drive.files.export": export_file -"/drive:v3/drive.files.export/fileId": file_id -"/drive:v3/drive.files.export/mimeType": mime_type -"/drive:v3/drive.files.generateIds": generate_file_ids -"/drive:v3/drive.files.generateIds/count": count -"/drive:v3/drive.files.generateIds/space": space -"/drive:v3/drive.files.get": get_file -"/drive:v3/drive.files.get/acknowledgeAbuse": acknowledge_abuse -"/drive:v3/drive.files.get/fileId": file_id -"/drive:v3/drive.files.get/supportsTeamDrives": supports_team_drives -"/drive:v3/drive.files.list": list_files -"/drive:v3/drive.files.list/corpora": corpora -"/drive:v3/drive.files.list/corpus": corpus -"/drive:v3/drive.files.list/includeTeamDriveItems": include_team_drive_items -"/drive:v3/drive.files.list/orderBy": order_by -"/drive:v3/drive.files.list/pageSize": page_size -"/drive:v3/drive.files.list/pageToken": page_token -"/drive:v3/drive.files.list/q": q -"/drive:v3/drive.files.list/spaces": spaces -"/drive:v3/drive.files.list/supportsTeamDrives": supports_team_drives -"/drive:v3/drive.files.list/teamDriveId": team_drive_id -"/drive:v3/drive.files.update": update_file -"/drive:v3/drive.files.update/addParents": add_parents -"/drive:v3/drive.files.update/fileId": file_id -"/drive:v3/drive.files.update/keepRevisionForever": keep_revision_forever -"/drive:v3/drive.files.update/ocrLanguage": ocr_language -"/drive:v3/drive.files.update/removeParents": remove_parents -"/drive:v3/drive.files.update/supportsTeamDrives": supports_team_drives -"/drive:v3/drive.files.update/useContentAsIndexableText": use_content_as_indexable_text -"/drive:v3/drive.files.watch": watch_file -"/drive:v3/drive.files.watch/acknowledgeAbuse": acknowledge_abuse -"/drive:v3/drive.files.watch/fileId": file_id -"/drive:v3/drive.files.watch/supportsTeamDrives": supports_team_drives -"/drive:v3/drive.permissions.create": create_permission -"/drive:v3/drive.permissions.create/emailMessage": email_message -"/drive:v3/drive.permissions.create/fileId": file_id -"/drive:v3/drive.permissions.create/sendNotificationEmail": send_notification_email -"/drive:v3/drive.permissions.create/supportsTeamDrives": supports_team_drives -"/drive:v3/drive.permissions.create/transferOwnership": transfer_ownership -"/drive:v3/drive.permissions.delete": delete_permission -"/drive:v3/drive.permissions.delete/fileId": file_id -"/drive:v3/drive.permissions.delete/permissionId": permission_id -"/drive:v3/drive.permissions.delete/supportsTeamDrives": supports_team_drives -"/drive:v3/drive.permissions.get": get_permission -"/drive:v3/drive.permissions.get/fileId": file_id -"/drive:v3/drive.permissions.get/permissionId": permission_id -"/drive:v3/drive.permissions.get/supportsTeamDrives": supports_team_drives -"/drive:v3/drive.permissions.list": list_permissions -"/drive:v3/drive.permissions.list/fileId": file_id -"/drive:v3/drive.permissions.list/pageSize": page_size -"/drive:v3/drive.permissions.list/pageToken": page_token -"/drive:v3/drive.permissions.list/supportsTeamDrives": supports_team_drives -"/drive:v3/drive.permissions.update": update_permission -"/drive:v3/drive.permissions.update/fileId": file_id -"/drive:v3/drive.permissions.update/permissionId": permission_id -"/drive:v3/drive.permissions.update/removeExpiration": remove_expiration -"/drive:v3/drive.permissions.update/supportsTeamDrives": supports_team_drives -"/drive:v3/drive.permissions.update/transferOwnership": transfer_ownership -"/drive:v3/drive.replies.create": create_reply -"/drive:v3/drive.replies.create/commentId": comment_id -"/drive:v3/drive.replies.create/fileId": file_id -"/drive:v3/drive.replies.delete": delete_reply -"/drive:v3/drive.replies.delete/commentId": comment_id -"/drive:v3/drive.replies.delete/fileId": file_id -"/drive:v3/drive.replies.delete/replyId": reply_id -"/drive:v3/drive.replies.get": get_reply -"/drive:v3/drive.replies.get/commentId": comment_id -"/drive:v3/drive.replies.get/fileId": file_id -"/drive:v3/drive.replies.get/includeDeleted": include_deleted -"/drive:v3/drive.replies.get/replyId": reply_id -"/drive:v3/drive.replies.list": list_replies -"/drive:v3/drive.replies.list/commentId": comment_id -"/drive:v3/drive.replies.list/fileId": file_id -"/drive:v3/drive.replies.list/includeDeleted": include_deleted -"/drive:v3/drive.replies.list/pageSize": page_size -"/drive:v3/drive.replies.list/pageToken": page_token -"/drive:v3/drive.replies.update": update_reply -"/drive:v3/drive.replies.update/commentId": comment_id -"/drive:v3/drive.replies.update/fileId": file_id -"/drive:v3/drive.replies.update/replyId": reply_id -"/drive:v3/drive.revisions.delete": delete_revision -"/drive:v3/drive.revisions.delete/fileId": file_id -"/drive:v3/drive.revisions.delete/revisionId": revision_id -"/drive:v3/drive.revisions.get": get_revision -"/drive:v3/drive.revisions.get/acknowledgeAbuse": acknowledge_abuse -"/drive:v3/drive.revisions.get/fileId": file_id -"/drive:v3/drive.revisions.get/revisionId": revision_id -"/drive:v3/drive.revisions.list": list_revisions -"/drive:v3/drive.revisions.list/fileId": file_id -"/drive:v3/drive.revisions.list/pageSize": page_size -"/drive:v3/drive.revisions.list/pageToken": page_token -"/drive:v3/drive.revisions.update": update_revision -"/drive:v3/drive.revisions.update/fileId": file_id -"/drive:v3/drive.revisions.update/revisionId": revision_id -"/drive:v3/drive.teamdrives.create": create_teamdrive -"/drive:v3/drive.teamdrives.create/requestId": request_id -"/drive:v3/drive.teamdrives.delete": delete_teamdrive -"/drive:v3/drive.teamdrives.delete/teamDriveId": team_drive_id -"/drive:v3/drive.teamdrives.get": get_teamdrive -"/drive:v3/drive.teamdrives.get/teamDriveId": team_drive_id -"/drive:v3/drive.teamdrives.list": list_teamdrives -"/drive:v3/drive.teamdrives.list/pageSize": page_size -"/drive:v3/drive.teamdrives.list/pageToken": page_token -"/drive:v3/drive.teamdrives.update": update_teamdrive -"/drive:v3/drive.teamdrives.update/teamDriveId": team_drive_id +"/drive:v2/drive.about.get": get_about +"/drive:v2/drive.about.get/includeSubscribed": include_subscribed +"/drive:v2/drive.about.get/maxChangeIdCount": max_change_id_count +"/drive:v2/drive.about.get/startChangeId": start_change_id +"/drive:v2/drive.apps.get": get_app +"/drive:v2/drive.apps.get/appId": app_id +"/drive:v2/drive.apps.list": list_apps +"/drive:v2/drive.apps.list/appFilterExtensions": app_filter_extensions +"/drive:v2/drive.apps.list/appFilterMimeTypes": app_filter_mime_types +"/drive:v2/drive.apps.list/languageCode": language_code +"/drive:v2/drive.changes.get": get_change +"/drive:v2/drive.changes.get/changeId": change_id +"/drive:v2/drive.changes.get/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.changes.get/teamDriveId": team_drive_id +"/drive:v2/drive.changes.getStartPageToken": get_change_start_page_token +"/drive:v2/drive.changes.getStartPageToken/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.changes.getStartPageToken/teamDriveId": team_drive_id +"/drive:v2/drive.changes.list": list_changes +"/drive:v2/drive.changes.list/includeCorpusRemovals": include_corpus_removals +"/drive:v2/drive.changes.list/includeDeleted": include_deleted +"/drive:v2/drive.changes.list/includeSubscribed": include_subscribed +"/drive:v2/drive.changes.list/includeTeamDriveItems": include_team_drive_items +"/drive:v2/drive.changes.list/maxResults": max_results +"/drive:v2/drive.changes.list/pageToken": page_token +"/drive:v2/drive.changes.list/spaces": spaces +"/drive:v2/drive.changes.list/startChangeId": start_change_id +"/drive:v2/drive.changes.list/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.changes.list/teamDriveId": team_drive_id +"/drive:v2/drive.changes.watch": watch_change +"/drive:v2/drive.changes.watch/includeCorpusRemovals": include_corpus_removals +"/drive:v2/drive.changes.watch/includeDeleted": include_deleted +"/drive:v2/drive.changes.watch/includeSubscribed": include_subscribed +"/drive:v2/drive.changes.watch/includeTeamDriveItems": include_team_drive_items +"/drive:v2/drive.changes.watch/maxResults": max_results +"/drive:v2/drive.changes.watch/pageToken": page_token +"/drive:v2/drive.changes.watch/spaces": spaces +"/drive:v2/drive.changes.watch/startChangeId": start_change_id +"/drive:v2/drive.changes.watch/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.changes.watch/teamDriveId": team_drive_id +"/drive:v2/drive.channels.stop": stop_channel +"/drive:v2/drive.children.delete": delete_child +"/drive:v2/drive.children.delete/childId": child_id +"/drive:v2/drive.children.delete/folderId": folder_id +"/drive:v2/drive.children.get": get_child +"/drive:v2/drive.children.get/childId": child_id +"/drive:v2/drive.children.get/folderId": folder_id +"/drive:v2/drive.children.insert": insert_child +"/drive:v2/drive.children.insert/folderId": folder_id +"/drive:v2/drive.children.insert/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.children.list": list_children +"/drive:v2/drive.children.list/folderId": folder_id +"/drive:v2/drive.children.list/maxResults": max_results +"/drive:v2/drive.children.list/orderBy": order_by +"/drive:v2/drive.children.list/pageToken": page_token +"/drive:v2/drive.children.list/q": q +"/drive:v2/drive.comments.delete": delete_comment +"/drive:v2/drive.comments.delete/commentId": comment_id +"/drive:v2/drive.comments.delete/fileId": file_id +"/drive:v2/drive.comments.get": get_comment +"/drive:v2/drive.comments.get/commentId": comment_id +"/drive:v2/drive.comments.get/fileId": file_id +"/drive:v2/drive.comments.get/includeDeleted": include_deleted +"/drive:v2/drive.comments.insert": insert_comment +"/drive:v2/drive.comments.insert/fileId": file_id +"/drive:v2/drive.comments.list": list_comments +"/drive:v2/drive.comments.list/fileId": file_id +"/drive:v2/drive.comments.list/includeDeleted": include_deleted +"/drive:v2/drive.comments.list/maxResults": max_results +"/drive:v2/drive.comments.list/pageToken": page_token +"/drive:v2/drive.comments.list/updatedMin": updated_min +"/drive:v2/drive.comments.patch": patch_comment +"/drive:v2/drive.comments.patch/commentId": comment_id +"/drive:v2/drive.comments.patch/fileId": file_id +"/drive:v2/drive.comments.update": update_comment +"/drive:v2/drive.comments.update/commentId": comment_id +"/drive:v2/drive.comments.update/fileId": file_id +"/drive:v2/drive.files.copy": copy_file +"/drive:v2/drive.files.copy/convert": convert +"/drive:v2/drive.files.copy/fileId": file_id +"/drive:v2/drive.files.copy/ocr": ocr +"/drive:v2/drive.files.copy/ocrLanguage": ocr_language +"/drive:v2/drive.files.copy/pinned": pinned +"/drive:v2/drive.files.copy/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.copy/timedTextLanguage": timed_text_language +"/drive:v2/drive.files.copy/timedTextTrackName": timed_text_track_name +"/drive:v2/drive.files.copy/visibility": visibility +"/drive:v2/drive.files.delete": delete_file +"/drive:v2/drive.files.delete/fileId": file_id +"/drive:v2/drive.files.delete/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.emptyTrash": empty_trash +"/drive:v2/drive.files.export": export_file +"/drive:v2/drive.files.export/fileId": file_id +"/drive:v2/drive.files.export/mimeType": mime_type +"/drive:v2/drive.files.generateIds": generate_file_ids +"/drive:v2/drive.files.generateIds/maxResults": max_results +"/drive:v2/drive.files.generateIds/space": space +"/drive:v2/drive.files.get": get_file +"/drive:v2/drive.files.get/acknowledgeAbuse": acknowledge_abuse +"/drive:v2/drive.files.get/fileId": file_id +"/drive:v2/drive.files.get/projection": projection +"/drive:v2/drive.files.get/revisionId": revision_id +"/drive:v2/drive.files.get/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.get/updateViewedDate": update_viewed_date +"/drive:v2/drive.files.insert": insert_file +"/drive:v2/drive.files.insert/convert": convert +"/drive:v2/drive.files.insert/ocr": ocr +"/drive:v2/drive.files.insert/ocrLanguage": ocr_language +"/drive:v2/drive.files.insert/pinned": pinned +"/drive:v2/drive.files.insert/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.insert/timedTextLanguage": timed_text_language +"/drive:v2/drive.files.insert/timedTextTrackName": timed_text_track_name +"/drive:v2/drive.files.insert/useContentAsIndexableText": use_content_as_indexable_text +"/drive:v2/drive.files.insert/visibility": visibility +"/drive:v2/drive.files.list": list_files +"/drive:v2/drive.files.list/corpora": corpora +"/drive:v2/drive.files.list/corpus": corpus +"/drive:v2/drive.files.list/includeTeamDriveItems": include_team_drive_items +"/drive:v2/drive.files.list/maxResults": max_results +"/drive:v2/drive.files.list/orderBy": order_by +"/drive:v2/drive.files.list/pageToken": page_token +"/drive:v2/drive.files.list/projection": projection +"/drive:v2/drive.files.list/q": q +"/drive:v2/drive.files.list/spaces": spaces +"/drive:v2/drive.files.list/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.list/teamDriveId": team_drive_id +"/drive:v2/drive.files.patch": patch_file +"/drive:v2/drive.files.patch/addParents": add_parents +"/drive:v2/drive.files.patch/convert": convert +"/drive:v2/drive.files.patch/fileId": file_id +"/drive:v2/drive.files.patch/modifiedDateBehavior": modified_date_behavior +"/drive:v2/drive.files.patch/newRevision": new_revision +"/drive:v2/drive.files.patch/ocr": ocr +"/drive:v2/drive.files.patch/ocrLanguage": ocr_language +"/drive:v2/drive.files.patch/pinned": pinned +"/drive:v2/drive.files.patch/removeParents": remove_parents +"/drive:v2/drive.files.patch/setModifiedDate": set_modified_date +"/drive:v2/drive.files.patch/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.patch/timedTextLanguage": timed_text_language +"/drive:v2/drive.files.patch/timedTextTrackName": timed_text_track_name +"/drive:v2/drive.files.patch/updateViewedDate": update_viewed_date +"/drive:v2/drive.files.patch/useContentAsIndexableText": use_content_as_indexable_text +"/drive:v2/drive.files.touch": touch_file +"/drive:v2/drive.files.touch/fileId": file_id +"/drive:v2/drive.files.touch/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.trash": trash_file +"/drive:v2/drive.files.trash/fileId": file_id +"/drive:v2/drive.files.trash/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.untrash": untrash_file +"/drive:v2/drive.files.untrash/fileId": file_id +"/drive:v2/drive.files.untrash/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.update": update_file +"/drive:v2/drive.files.update/addParents": add_parents +"/drive:v2/drive.files.update/convert": convert +"/drive:v2/drive.files.update/fileId": file_id +"/drive:v2/drive.files.update/modifiedDateBehavior": modified_date_behavior +"/drive:v2/drive.files.update/newRevision": new_revision +"/drive:v2/drive.files.update/ocr": ocr +"/drive:v2/drive.files.update/ocrLanguage": ocr_language +"/drive:v2/drive.files.update/pinned": pinned +"/drive:v2/drive.files.update/removeParents": remove_parents +"/drive:v2/drive.files.update/setModifiedDate": set_modified_date +"/drive:v2/drive.files.update/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.update/timedTextLanguage": timed_text_language +"/drive:v2/drive.files.update/timedTextTrackName": timed_text_track_name +"/drive:v2/drive.files.update/updateViewedDate": update_viewed_date +"/drive:v2/drive.files.update/useContentAsIndexableText": use_content_as_indexable_text +"/drive:v2/drive.files.watch": watch_file +"/drive:v2/drive.files.watch/acknowledgeAbuse": acknowledge_abuse +"/drive:v2/drive.files.watch/fileId": file_id +"/drive:v2/drive.files.watch/projection": projection +"/drive:v2/drive.files.watch/revisionId": revision_id +"/drive:v2/drive.files.watch/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.watch/updateViewedDate": update_viewed_date +"/drive:v2/drive.parents.delete": delete_parent +"/drive:v2/drive.parents.delete/fileId": file_id +"/drive:v2/drive.parents.delete/parentId": parent_id +"/drive:v2/drive.parents.get": get_parent +"/drive:v2/drive.parents.get/fileId": file_id +"/drive:v2/drive.parents.get/parentId": parent_id +"/drive:v2/drive.parents.insert": insert_parent +"/drive:v2/drive.parents.insert/fileId": file_id +"/drive:v2/drive.parents.insert/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.parents.list": list_parents +"/drive:v2/drive.parents.list/fileId": file_id +"/drive:v2/drive.permissions.delete": delete_permission +"/drive:v2/drive.permissions.delete/fileId": file_id +"/drive:v2/drive.permissions.delete/permissionId": permission_id +"/drive:v2/drive.permissions.delete/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.permissions.get": get_permission +"/drive:v2/drive.permissions.get/fileId": file_id +"/drive:v2/drive.permissions.get/permissionId": permission_id +"/drive:v2/drive.permissions.get/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.permissions.getIdForEmail": get_permission_id_for_email +"/drive:v2/drive.permissions.getIdForEmail/email": email +"/drive:v2/drive.permissions.insert": insert_permission +"/drive:v2/drive.permissions.insert/emailMessage": email_message +"/drive:v2/drive.permissions.insert/fileId": file_id +"/drive:v2/drive.permissions.insert/sendNotificationEmails": send_notification_emails +"/drive:v2/drive.permissions.insert/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.permissions.list": list_permissions +"/drive:v2/drive.permissions.list/fileId": file_id +"/drive:v2/drive.permissions.list/maxResults": max_results +"/drive:v2/drive.permissions.list/pageToken": page_token +"/drive:v2/drive.permissions.list/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.permissions.patch": patch_permission +"/drive:v2/drive.permissions.patch/fileId": file_id +"/drive:v2/drive.permissions.patch/permissionId": permission_id +"/drive:v2/drive.permissions.patch/removeExpiration": remove_expiration +"/drive:v2/drive.permissions.patch/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.permissions.patch/transferOwnership": transfer_ownership +"/drive:v2/drive.permissions.update": update_permission +"/drive:v2/drive.permissions.update/fileId": file_id +"/drive:v2/drive.permissions.update/permissionId": permission_id +"/drive:v2/drive.permissions.update/removeExpiration": remove_expiration +"/drive:v2/drive.permissions.update/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.permissions.update/transferOwnership": transfer_ownership +"/drive:v2/drive.properties.delete": delete_property +"/drive:v2/drive.properties.delete/fileId": file_id +"/drive:v2/drive.properties.delete/propertyKey": property_key +"/drive:v2/drive.properties.delete/visibility": visibility +"/drive:v2/drive.properties.get": get_property +"/drive:v2/drive.properties.get/fileId": file_id +"/drive:v2/drive.properties.get/propertyKey": property_key +"/drive:v2/drive.properties.get/visibility": visibility +"/drive:v2/drive.properties.insert": insert_property +"/drive:v2/drive.properties.insert/fileId": file_id +"/drive:v2/drive.properties.list": list_properties +"/drive:v2/drive.properties.list/fileId": file_id +"/drive:v2/drive.properties.patch": patch_property +"/drive:v2/drive.properties.patch/fileId": file_id +"/drive:v2/drive.properties.patch/propertyKey": property_key +"/drive:v2/drive.properties.patch/visibility": visibility +"/drive:v2/drive.properties.update": update_property +"/drive:v2/drive.properties.update/fileId": file_id +"/drive:v2/drive.properties.update/propertyKey": property_key +"/drive:v2/drive.properties.update/visibility": visibility +"/drive:v2/drive.realtime.get": get_realtime +"/drive:v2/drive.realtime.get/fileId": file_id +"/drive:v2/drive.realtime.get/revision": revision +"/drive:v2/drive.realtime.update": update_realtime +"/drive:v2/drive.realtime.update/baseRevision": base_revision +"/drive:v2/drive.realtime.update/fileId": file_id +"/drive:v2/drive.replies.delete": delete_reply +"/drive:v2/drive.replies.delete/commentId": comment_id +"/drive:v2/drive.replies.delete/fileId": file_id +"/drive:v2/drive.replies.delete/replyId": reply_id +"/drive:v2/drive.replies.get": get_reply +"/drive:v2/drive.replies.get/commentId": comment_id +"/drive:v2/drive.replies.get/fileId": file_id +"/drive:v2/drive.replies.get/includeDeleted": include_deleted +"/drive:v2/drive.replies.get/replyId": reply_id +"/drive:v2/drive.replies.insert": insert_reply +"/drive:v2/drive.replies.insert/commentId": comment_id +"/drive:v2/drive.replies.insert/fileId": file_id +"/drive:v2/drive.replies.list": list_replies +"/drive:v2/drive.replies.list/commentId": comment_id +"/drive:v2/drive.replies.list/fileId": file_id +"/drive:v2/drive.replies.list/includeDeleted": include_deleted +"/drive:v2/drive.replies.list/maxResults": max_results +"/drive:v2/drive.replies.list/pageToken": page_token +"/drive:v2/drive.replies.patch": patch_reply +"/drive:v2/drive.replies.patch/commentId": comment_id +"/drive:v2/drive.replies.patch/fileId": file_id +"/drive:v2/drive.replies.patch/replyId": reply_id +"/drive:v2/drive.replies.update": update_reply +"/drive:v2/drive.replies.update/commentId": comment_id +"/drive:v2/drive.replies.update/fileId": file_id +"/drive:v2/drive.replies.update/replyId": reply_id +"/drive:v2/drive.revisions.delete": delete_revision +"/drive:v2/drive.revisions.delete/fileId": file_id +"/drive:v2/drive.revisions.delete/revisionId": revision_id +"/drive:v2/drive.revisions.get": get_revision +"/drive:v2/drive.revisions.get/fileId": file_id +"/drive:v2/drive.revisions.get/revisionId": revision_id +"/drive:v2/drive.revisions.list": list_revisions +"/drive:v2/drive.revisions.list/fileId": file_id +"/drive:v2/drive.revisions.list/maxResults": max_results +"/drive:v2/drive.revisions.list/pageToken": page_token +"/drive:v2/drive.revisions.patch": patch_revision +"/drive:v2/drive.revisions.patch/fileId": file_id +"/drive:v2/drive.revisions.patch/revisionId": revision_id +"/drive:v2/drive.revisions.update": update_revision +"/drive:v2/drive.revisions.update/fileId": file_id +"/drive:v2/drive.revisions.update/revisionId": revision_id +"/drive:v2/drive.teamdrives.delete": delete_teamdrive +"/drive:v2/drive.teamdrives.delete/teamDriveId": team_drive_id +"/drive:v2/drive.teamdrives.get": get_teamdrive +"/drive:v2/drive.teamdrives.get/teamDriveId": team_drive_id +"/drive:v2/drive.teamdrives.insert": insert_teamdrive +"/drive:v2/drive.teamdrives.insert/requestId": request_id +"/drive:v2/drive.teamdrives.list": list_teamdrives +"/drive:v2/drive.teamdrives.list/maxResults": max_results +"/drive:v2/drive.teamdrives.list/pageToken": page_token +"/drive:v2/drive.teamdrives.update": update_teamdrive +"/drive:v2/drive.teamdrives.update/teamDriveId": team_drive_id +"/drive:v2/fields": fields +"/drive:v2/key": key +"/drive:v2/quotaUser": quota_user +"/drive:v2/userIp": user_ip "/drive:v3/About": about "/drive:v3/About/appInstalled": app_installed "/drive:v3/About/exportFormats": export_formats @@ -27958,82 +28319,317 @@ "/drive:v3/User/me": me "/drive:v3/User/permissionId": permission_id "/drive:v3/User/photoLink": photo_link -"/firebasedynamiclinks:v1/fields": fields -"/firebasedynamiclinks:v1/key": key -"/firebasedynamiclinks:v1/quotaUser": quota_user -"/firebasedynamiclinks:v1/firebasedynamiclinks.shortLinks.create": create_short_link_short_dynamic_link -"/firebasedynamiclinks:v1/firebasedynamiclinks.getLinkStats": get_link_stats -"/firebasedynamiclinks:v1/firebasedynamiclinks.getLinkStats/durationDays": duration_days -"/firebasedynamiclinks:v1/firebasedynamiclinks.getLinkStats/dynamicLink": dynamic_link +"/drive:v3/drive.about.get": get_about +"/drive:v3/drive.changes.getStartPageToken": get_changes_start_page_token +"/drive:v3/drive.changes.getStartPageToken/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.changes.getStartPageToken/teamDriveId": team_drive_id +"/drive:v3/drive.changes.list": list_changes +"/drive:v3/drive.changes.list/includeCorpusRemovals": include_corpus_removals +"/drive:v3/drive.changes.list/includeRemoved": include_removed +"/drive:v3/drive.changes.list/includeTeamDriveItems": include_team_drive_items +"/drive:v3/drive.changes.list/pageSize": page_size +"/drive:v3/drive.changes.list/pageToken": page_token +"/drive:v3/drive.changes.list/restrictToMyDrive": restrict_to_my_drive +"/drive:v3/drive.changes.list/spaces": spaces +"/drive:v3/drive.changes.list/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.changes.list/teamDriveId": team_drive_id +"/drive:v3/drive.changes.watch": watch_change +"/drive:v3/drive.changes.watch/includeCorpusRemovals": include_corpus_removals +"/drive:v3/drive.changes.watch/includeRemoved": include_removed +"/drive:v3/drive.changes.watch/includeTeamDriveItems": include_team_drive_items +"/drive:v3/drive.changes.watch/pageSize": page_size +"/drive:v3/drive.changes.watch/pageToken": page_token +"/drive:v3/drive.changes.watch/restrictToMyDrive": restrict_to_my_drive +"/drive:v3/drive.changes.watch/spaces": spaces +"/drive:v3/drive.changes.watch/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.changes.watch/teamDriveId": team_drive_id +"/drive:v3/drive.channels.stop": stop_channel +"/drive:v3/drive.comments.create": create_comment +"/drive:v3/drive.comments.create/fileId": file_id +"/drive:v3/drive.comments.delete": delete_comment +"/drive:v3/drive.comments.delete/commentId": comment_id +"/drive:v3/drive.comments.delete/fileId": file_id +"/drive:v3/drive.comments.get": get_comment +"/drive:v3/drive.comments.get/commentId": comment_id +"/drive:v3/drive.comments.get/fileId": file_id +"/drive:v3/drive.comments.get/includeDeleted": include_deleted +"/drive:v3/drive.comments.list": list_comments +"/drive:v3/drive.comments.list/fileId": file_id +"/drive:v3/drive.comments.list/includeDeleted": include_deleted +"/drive:v3/drive.comments.list/pageSize": page_size +"/drive:v3/drive.comments.list/pageToken": page_token +"/drive:v3/drive.comments.list/startModifiedTime": start_modified_time +"/drive:v3/drive.comments.update": update_comment +"/drive:v3/drive.comments.update/commentId": comment_id +"/drive:v3/drive.comments.update/fileId": file_id +"/drive:v3/drive.files.copy": copy_file +"/drive:v3/drive.files.copy/fileId": file_id +"/drive:v3/drive.files.copy/ignoreDefaultVisibility": ignore_default_visibility +"/drive:v3/drive.files.copy/keepRevisionForever": keep_revision_forever +"/drive:v3/drive.files.copy/ocrLanguage": ocr_language +"/drive:v3/drive.files.copy/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.files.create": create_file +"/drive:v3/drive.files.create/ignoreDefaultVisibility": ignore_default_visibility +"/drive:v3/drive.files.create/keepRevisionForever": keep_revision_forever +"/drive:v3/drive.files.create/ocrLanguage": ocr_language +"/drive:v3/drive.files.create/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.files.create/useContentAsIndexableText": use_content_as_indexable_text +"/drive:v3/drive.files.delete": delete_file +"/drive:v3/drive.files.delete/fileId": file_id +"/drive:v3/drive.files.delete/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.files.emptyTrash": empty_file_trash +"/drive:v3/drive.files.export": export_file +"/drive:v3/drive.files.export/fileId": file_id +"/drive:v3/drive.files.export/mimeType": mime_type +"/drive:v3/drive.files.generateIds": generate_file_ids +"/drive:v3/drive.files.generateIds/count": count +"/drive:v3/drive.files.generateIds/space": space +"/drive:v3/drive.files.get": get_file +"/drive:v3/drive.files.get/acknowledgeAbuse": acknowledge_abuse +"/drive:v3/drive.files.get/fileId": file_id +"/drive:v3/drive.files.get/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.files.list": list_files +"/drive:v3/drive.files.list/corpora": corpora +"/drive:v3/drive.files.list/corpus": corpus +"/drive:v3/drive.files.list/includeTeamDriveItems": include_team_drive_items +"/drive:v3/drive.files.list/orderBy": order_by +"/drive:v3/drive.files.list/pageSize": page_size +"/drive:v3/drive.files.list/pageToken": page_token +"/drive:v3/drive.files.list/q": q +"/drive:v3/drive.files.list/spaces": spaces +"/drive:v3/drive.files.list/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.files.list/teamDriveId": team_drive_id +"/drive:v3/drive.files.update": update_file +"/drive:v3/drive.files.update/addParents": add_parents +"/drive:v3/drive.files.update/fileId": file_id +"/drive:v3/drive.files.update/keepRevisionForever": keep_revision_forever +"/drive:v3/drive.files.update/ocrLanguage": ocr_language +"/drive:v3/drive.files.update/removeParents": remove_parents +"/drive:v3/drive.files.update/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.files.update/useContentAsIndexableText": use_content_as_indexable_text +"/drive:v3/drive.files.watch": watch_file +"/drive:v3/drive.files.watch/acknowledgeAbuse": acknowledge_abuse +"/drive:v3/drive.files.watch/fileId": file_id +"/drive:v3/drive.files.watch/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.permissions.create": create_permission +"/drive:v3/drive.permissions.create/emailMessage": email_message +"/drive:v3/drive.permissions.create/fileId": file_id +"/drive:v3/drive.permissions.create/sendNotificationEmail": send_notification_email +"/drive:v3/drive.permissions.create/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.permissions.create/transferOwnership": transfer_ownership +"/drive:v3/drive.permissions.delete": delete_permission +"/drive:v3/drive.permissions.delete/fileId": file_id +"/drive:v3/drive.permissions.delete/permissionId": permission_id +"/drive:v3/drive.permissions.delete/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.permissions.get": get_permission +"/drive:v3/drive.permissions.get/fileId": file_id +"/drive:v3/drive.permissions.get/permissionId": permission_id +"/drive:v3/drive.permissions.get/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.permissions.list": list_permissions +"/drive:v3/drive.permissions.list/fileId": file_id +"/drive:v3/drive.permissions.list/pageSize": page_size +"/drive:v3/drive.permissions.list/pageToken": page_token +"/drive:v3/drive.permissions.list/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.permissions.update": update_permission +"/drive:v3/drive.permissions.update/fileId": file_id +"/drive:v3/drive.permissions.update/permissionId": permission_id +"/drive:v3/drive.permissions.update/removeExpiration": remove_expiration +"/drive:v3/drive.permissions.update/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.permissions.update/transferOwnership": transfer_ownership +"/drive:v3/drive.replies.create": create_reply +"/drive:v3/drive.replies.create/commentId": comment_id +"/drive:v3/drive.replies.create/fileId": file_id +"/drive:v3/drive.replies.delete": delete_reply +"/drive:v3/drive.replies.delete/commentId": comment_id +"/drive:v3/drive.replies.delete/fileId": file_id +"/drive:v3/drive.replies.delete/replyId": reply_id +"/drive:v3/drive.replies.get": get_reply +"/drive:v3/drive.replies.get/commentId": comment_id +"/drive:v3/drive.replies.get/fileId": file_id +"/drive:v3/drive.replies.get/includeDeleted": include_deleted +"/drive:v3/drive.replies.get/replyId": reply_id +"/drive:v3/drive.replies.list": list_replies +"/drive:v3/drive.replies.list/commentId": comment_id +"/drive:v3/drive.replies.list/fileId": file_id +"/drive:v3/drive.replies.list/includeDeleted": include_deleted +"/drive:v3/drive.replies.list/pageSize": page_size +"/drive:v3/drive.replies.list/pageToken": page_token +"/drive:v3/drive.replies.update": update_reply +"/drive:v3/drive.replies.update/commentId": comment_id +"/drive:v3/drive.replies.update/fileId": file_id +"/drive:v3/drive.replies.update/replyId": reply_id +"/drive:v3/drive.revisions.delete": delete_revision +"/drive:v3/drive.revisions.delete/fileId": file_id +"/drive:v3/drive.revisions.delete/revisionId": revision_id +"/drive:v3/drive.revisions.get": get_revision +"/drive:v3/drive.revisions.get/acknowledgeAbuse": acknowledge_abuse +"/drive:v3/drive.revisions.get/fileId": file_id +"/drive:v3/drive.revisions.get/revisionId": revision_id +"/drive:v3/drive.revisions.list": list_revisions +"/drive:v3/drive.revisions.list/fileId": file_id +"/drive:v3/drive.revisions.list/pageSize": page_size +"/drive:v3/drive.revisions.list/pageToken": page_token +"/drive:v3/drive.revisions.update": update_revision +"/drive:v3/drive.revisions.update/fileId": file_id +"/drive:v3/drive.revisions.update/revisionId": revision_id +"/drive:v3/drive.teamdrives.create": create_teamdrive +"/drive:v3/drive.teamdrives.create/requestId": request_id +"/drive:v3/drive.teamdrives.delete": delete_teamdrive +"/drive:v3/drive.teamdrives.delete/teamDriveId": team_drive_id +"/drive:v3/drive.teamdrives.get": get_teamdrive +"/drive:v3/drive.teamdrives.get/teamDriveId": team_drive_id +"/drive:v3/drive.teamdrives.list": list_teamdrives +"/drive:v3/drive.teamdrives.list/pageSize": page_size +"/drive:v3/drive.teamdrives.list/pageToken": page_token +"/drive:v3/drive.teamdrives.update": update_teamdrive +"/drive:v3/drive.teamdrives.update/teamDriveId": team_drive_id +"/drive:v3/fields": fields +"/drive:v3/key": key +"/drive:v3/quotaUser": quota_user +"/drive:v3/userIp": user_ip +"/firebasedynamiclinks:v1/AnalyticsInfo": analytics_info +"/firebasedynamiclinks:v1/AnalyticsInfo/googlePlayAnalytics": google_play_analytics +"/firebasedynamiclinks:v1/AnalyticsInfo/itunesConnectAnalytics": itunes_connect_analytics +"/firebasedynamiclinks:v1/AndroidInfo": android_info +"/firebasedynamiclinks:v1/AndroidInfo/androidFallbackLink": android_fallback_link +"/firebasedynamiclinks:v1/AndroidInfo/androidLink": android_link +"/firebasedynamiclinks:v1/AndroidInfo/androidMinPackageVersionCode": android_min_package_version_code +"/firebasedynamiclinks:v1/AndroidInfo/androidPackageName": android_package_name +"/firebasedynamiclinks:v1/CreateShortDynamicLinkRequest": create_short_dynamic_link_request +"/firebasedynamiclinks:v1/CreateShortDynamicLinkRequest/dynamicLinkInfo": dynamic_link_info +"/firebasedynamiclinks:v1/CreateShortDynamicLinkRequest/longDynamicLink": long_dynamic_link +"/firebasedynamiclinks:v1/CreateShortDynamicLinkRequest/suffix": suffix "/firebasedynamiclinks:v1/CreateShortDynamicLinkResponse": create_short_dynamic_link_response -"/firebasedynamiclinks:v1/CreateShortDynamicLinkResponse/shortLink": short_link "/firebasedynamiclinks:v1/CreateShortDynamicLinkResponse/previewLink": preview_link +"/firebasedynamiclinks:v1/CreateShortDynamicLinkResponse/shortLink": short_link "/firebasedynamiclinks:v1/CreateShortDynamicLinkResponse/warning": warning "/firebasedynamiclinks:v1/CreateShortDynamicLinkResponse/warning/warning": warning -"/firebasedynamiclinks:v1/Suffix": suffix -"/firebasedynamiclinks:v1/Suffix/option": option -"/firebasedynamiclinks:v1/GooglePlayAnalytics": google_play_analytics -"/firebasedynamiclinks:v1/GooglePlayAnalytics/utmSource": utm_source -"/firebasedynamiclinks:v1/GooglePlayAnalytics/gclid": gclid -"/firebasedynamiclinks:v1/GooglePlayAnalytics/utmCampaign": utm_campaign -"/firebasedynamiclinks:v1/GooglePlayAnalytics/utmContent": utm_content -"/firebasedynamiclinks:v1/GooglePlayAnalytics/utmMedium": utm_medium -"/firebasedynamiclinks:v1/GooglePlayAnalytics/utmTerm": utm_term +"/firebasedynamiclinks:v1/DynamicLinkEventStat": dynamic_link_event_stat +"/firebasedynamiclinks:v1/DynamicLinkEventStat/count": count +"/firebasedynamiclinks:v1/DynamicLinkEventStat/event": event +"/firebasedynamiclinks:v1/DynamicLinkEventStat/platform": platform "/firebasedynamiclinks:v1/DynamicLinkInfo": dynamic_link_info -"/firebasedynamiclinks:v1/DynamicLinkInfo/link": link -"/firebasedynamiclinks:v1/DynamicLinkInfo/iosInfo": ios_info -"/firebasedynamiclinks:v1/DynamicLinkInfo/socialMetaTagInfo": social_meta_tag_info -"/firebasedynamiclinks:v1/DynamicLinkInfo/androidInfo": android_info -"/firebasedynamiclinks:v1/DynamicLinkInfo/navigationInfo": navigation_info "/firebasedynamiclinks:v1/DynamicLinkInfo/analyticsInfo": analytics_info +"/firebasedynamiclinks:v1/DynamicLinkInfo/androidInfo": android_info "/firebasedynamiclinks:v1/DynamicLinkInfo/dynamicLinkDomain": dynamic_link_domain -"/firebasedynamiclinks:v1/ITunesConnectAnalytics": i_tunes_connect_analytics -"/firebasedynamiclinks:v1/ITunesConnectAnalytics/at": at -"/firebasedynamiclinks:v1/ITunesConnectAnalytics/mt": mt -"/firebasedynamiclinks:v1/ITunesConnectAnalytics/ct": ct -"/firebasedynamiclinks:v1/ITunesConnectAnalytics/pt": pt -"/firebasedynamiclinks:v1/SocialMetaTagInfo": social_meta_tag_info -"/firebasedynamiclinks:v1/SocialMetaTagInfo/socialImageLink": social_image_link -"/firebasedynamiclinks:v1/SocialMetaTagInfo/socialTitle": social_title -"/firebasedynamiclinks:v1/SocialMetaTagInfo/socialDescription": social_description +"/firebasedynamiclinks:v1/DynamicLinkInfo/iosInfo": ios_info +"/firebasedynamiclinks:v1/DynamicLinkInfo/link": link +"/firebasedynamiclinks:v1/DynamicLinkInfo/navigationInfo": navigation_info +"/firebasedynamiclinks:v1/DynamicLinkInfo/socialMetaTagInfo": social_meta_tag_info "/firebasedynamiclinks:v1/DynamicLinkStats": dynamic_link_stats "/firebasedynamiclinks:v1/DynamicLinkStats/linkEventStats": link_event_stats "/firebasedynamiclinks:v1/DynamicLinkStats/linkEventStats/link_event_stat": link_event_stat "/firebasedynamiclinks:v1/DynamicLinkWarning": dynamic_link_warning -"/firebasedynamiclinks:v1/DynamicLinkWarning/warningMessage": warning_message "/firebasedynamiclinks:v1/DynamicLinkWarning/warningCode": warning_code -"/firebasedynamiclinks:v1/AndroidInfo": android_info -"/firebasedynamiclinks:v1/AndroidInfo/androidFallbackLink": android_fallback_link -"/firebasedynamiclinks:v1/AndroidInfo/androidPackageName": android_package_name -"/firebasedynamiclinks:v1/AndroidInfo/androidMinPackageVersionCode": android_min_package_version_code -"/firebasedynamiclinks:v1/AndroidInfo/androidLink": android_link +"/firebasedynamiclinks:v1/DynamicLinkWarning/warningDocumentLink": warning_document_link +"/firebasedynamiclinks:v1/DynamicLinkWarning/warningMessage": warning_message +"/firebasedynamiclinks:v1/GooglePlayAnalytics": google_play_analytics +"/firebasedynamiclinks:v1/GooglePlayAnalytics/gclid": gclid +"/firebasedynamiclinks:v1/GooglePlayAnalytics/utmCampaign": utm_campaign +"/firebasedynamiclinks:v1/GooglePlayAnalytics/utmContent": utm_content +"/firebasedynamiclinks:v1/GooglePlayAnalytics/utmMedium": utm_medium +"/firebasedynamiclinks:v1/GooglePlayAnalytics/utmSource": utm_source +"/firebasedynamiclinks:v1/GooglePlayAnalytics/utmTerm": utm_term +"/firebasedynamiclinks:v1/ITunesConnectAnalytics": i_tunes_connect_analytics +"/firebasedynamiclinks:v1/ITunesConnectAnalytics/at": at +"/firebasedynamiclinks:v1/ITunesConnectAnalytics/ct": ct +"/firebasedynamiclinks:v1/ITunesConnectAnalytics/mt": mt +"/firebasedynamiclinks:v1/ITunesConnectAnalytics/pt": pt +"/firebasedynamiclinks:v1/IosInfo": ios_info +"/firebasedynamiclinks:v1/IosInfo/iosAppStoreId": ios_app_store_id +"/firebasedynamiclinks:v1/IosInfo/iosBundleId": ios_bundle_id +"/firebasedynamiclinks:v1/IosInfo/iosCustomScheme": ios_custom_scheme +"/firebasedynamiclinks:v1/IosInfo/iosFallbackLink": ios_fallback_link +"/firebasedynamiclinks:v1/IosInfo/iosIpadBundleId": ios_ipad_bundle_id +"/firebasedynamiclinks:v1/IosInfo/iosIpadFallbackLink": ios_ipad_fallback_link "/firebasedynamiclinks:v1/NavigationInfo": navigation_info "/firebasedynamiclinks:v1/NavigationInfo/enableForcedRedirect": enable_forced_redirect -"/firebasedynamiclinks:v1/IosInfo": ios_info -"/firebasedynamiclinks:v1/IosInfo/iosFallbackLink": ios_fallback_link -"/firebasedynamiclinks:v1/IosInfo/iosAppStoreId": ios_app_store_id -"/firebasedynamiclinks:v1/IosInfo/iosIpadFallbackLink": ios_ipad_fallback_link -"/firebasedynamiclinks:v1/IosInfo/iosIpadBundleId": ios_ipad_bundle_id -"/firebasedynamiclinks:v1/IosInfo/iosCustomScheme": ios_custom_scheme -"/firebasedynamiclinks:v1/IosInfo/iosBundleId": ios_bundle_id -"/firebasedynamiclinks:v1/AnalyticsInfo": analytics_info -"/firebasedynamiclinks:v1/AnalyticsInfo/itunesConnectAnalytics": itunes_connect_analytics -"/firebasedynamiclinks:v1/AnalyticsInfo/googlePlayAnalytics": google_play_analytics -"/firebasedynamiclinks:v1/CreateShortDynamicLinkRequest": create_short_dynamic_link_request -"/firebasedynamiclinks:v1/CreateShortDynamicLinkRequest/longDynamicLink": long_dynamic_link -"/firebasedynamiclinks:v1/CreateShortDynamicLinkRequest/suffix": suffix -"/firebasedynamiclinks:v1/CreateShortDynamicLinkRequest/dynamicLinkInfo": dynamic_link_info -"/firebasedynamiclinks:v1/DynamicLinkEventStat": dynamic_link_event_stat -"/firebasedynamiclinks:v1/DynamicLinkEventStat/platform": platform -"/firebasedynamiclinks:v1/DynamicLinkEventStat/count": count -"/firebasedynamiclinks:v1/DynamicLinkEventStat/event": event +"/firebasedynamiclinks:v1/SocialMetaTagInfo": social_meta_tag_info +"/firebasedynamiclinks:v1/SocialMetaTagInfo/socialDescription": social_description +"/firebasedynamiclinks:v1/SocialMetaTagInfo/socialImageLink": social_image_link +"/firebasedynamiclinks:v1/SocialMetaTagInfo/socialTitle": social_title +"/firebasedynamiclinks:v1/Suffix": suffix +"/firebasedynamiclinks:v1/Suffix/option": option +"/firebasedynamiclinks:v1/fields": fields +"/firebasedynamiclinks:v1/firebasedynamiclinks.getLinkStats": get_link_stats +"/firebasedynamiclinks:v1/firebasedynamiclinks.getLinkStats/durationDays": duration_days +"/firebasedynamiclinks:v1/firebasedynamiclinks.getLinkStats/dynamicLink": dynamic_link +"/firebasedynamiclinks:v1/firebasedynamiclinks.shortLinks.create": create_short_link_short_dynamic_link +"/firebasedynamiclinks:v1/key": key +"/firebasedynamiclinks:v1/quotaUser": quota_user +"/firebaserules:v1/Arg": arg +"/firebaserules:v1/Arg/anyValue": any_value +"/firebaserules:v1/Arg/exactValue": exact_value +"/firebaserules:v1/Empty": empty +"/firebaserules:v1/File": file +"/firebaserules:v1/File/content": content +"/firebaserules:v1/File/fingerprint": fingerprint +"/firebaserules:v1/File/name": name +"/firebaserules:v1/FunctionCall": function_call +"/firebaserules:v1/FunctionCall/args": args +"/firebaserules:v1/FunctionCall/args/arg": arg +"/firebaserules:v1/FunctionCall/function": function +"/firebaserules:v1/FunctionMock": function_mock +"/firebaserules:v1/FunctionMock/args": args +"/firebaserules:v1/FunctionMock/args/arg": arg +"/firebaserules:v1/FunctionMock/function": function +"/firebaserules:v1/FunctionMock/result": result +"/firebaserules:v1/Issue": issue +"/firebaserules:v1/Issue/description": description +"/firebaserules:v1/Issue/severity": severity +"/firebaserules:v1/Issue/sourcePosition": source_position +"/firebaserules:v1/ListReleasesResponse": list_releases_response +"/firebaserules:v1/ListReleasesResponse/nextPageToken": next_page_token +"/firebaserules:v1/ListReleasesResponse/releases": releases +"/firebaserules:v1/ListReleasesResponse/releases/release": release +"/firebaserules:v1/ListRulesetsResponse": list_rulesets_response +"/firebaserules:v1/ListRulesetsResponse/nextPageToken": next_page_token +"/firebaserules:v1/ListRulesetsResponse/rulesets": rulesets +"/firebaserules:v1/ListRulesetsResponse/rulesets/ruleset": ruleset +"/firebaserules:v1/Release": release +"/firebaserules:v1/Release/createTime": create_time +"/firebaserules:v1/Release/name": name +"/firebaserules:v1/Release/rulesetName": ruleset_name +"/firebaserules:v1/Release/updateTime": update_time +"/firebaserules:v1/Result": result +"/firebaserules:v1/Result/undefined": undefined +"/firebaserules:v1/Result/value": value +"/firebaserules:v1/Ruleset": ruleset +"/firebaserules:v1/Ruleset/createTime": create_time +"/firebaserules:v1/Ruleset/name": name +"/firebaserules:v1/Ruleset/source": source +"/firebaserules:v1/Source": source +"/firebaserules:v1/Source/files": files +"/firebaserules:v1/Source/files/file": file +"/firebaserules:v1/SourcePosition": source_position +"/firebaserules:v1/SourcePosition/column": column +"/firebaserules:v1/SourcePosition/fileName": file_name +"/firebaserules:v1/SourcePosition/line": line +"/firebaserules:v1/TestCase": test_case +"/firebaserules:v1/TestCase/expectation": expectation +"/firebaserules:v1/TestCase/functionMocks": function_mocks +"/firebaserules:v1/TestCase/functionMocks/function_mock": function_mock +"/firebaserules:v1/TestCase/request": request +"/firebaserules:v1/TestCase/resource": resource +"/firebaserules:v1/TestResult": test_result +"/firebaserules:v1/TestResult/debugMessages": debug_messages +"/firebaserules:v1/TestResult/debugMessages/debug_message": debug_message +"/firebaserules:v1/TestResult/errorPosition": error_position +"/firebaserules:v1/TestResult/functionCalls": function_calls +"/firebaserules:v1/TestResult/functionCalls/function_call": function_call +"/firebaserules:v1/TestResult/state": state +"/firebaserules:v1/TestRulesetRequest": test_ruleset_request +"/firebaserules:v1/TestRulesetRequest/source": source +"/firebaserules:v1/TestRulesetRequest/testSuite": test_suite +"/firebaserules:v1/TestRulesetResponse": test_ruleset_response +"/firebaserules:v1/TestRulesetResponse/issues": issues +"/firebaserules:v1/TestRulesetResponse/issues/issue": issue +"/firebaserules:v1/TestRulesetResponse/testResults": test_results +"/firebaserules:v1/TestRulesetResponse/testResults/test_result": test_result +"/firebaserules:v1/TestSuite": test_suite +"/firebaserules:v1/TestSuite/testCases": test_cases +"/firebaserules:v1/TestSuite/testCases/test_case": test_case "/firebaserules:v1/fields": fields -"/firebaserules:v1/key": key -"/firebaserules:v1/quotaUser": quota_user -"/firebaserules:v1/firebaserules.projects.test": test_project_ruleset -"/firebaserules:v1/firebaserules.projects.test/name": name -"/firebaserules:v1/firebaserules.projects.releases.update": update_project_release -"/firebaserules:v1/firebaserules.projects.releases.update/name": name "/firebaserules:v1/firebaserules.projects.releases.create": create_project_release "/firebaserules:v1/firebaserules.projects.releases.create/name": name "/firebaserules:v1/firebaserules.projects.releases.delete": delete_project_release @@ -28043,145 +28639,25 @@ "/firebaserules:v1/firebaserules.projects.releases.list": list_project_releases "/firebaserules:v1/firebaserules.projects.releases.list/filter": filter "/firebaserules:v1/firebaserules.projects.releases.list/name": name -"/firebaserules:v1/firebaserules.projects.releases.list/pageToken": page_token "/firebaserules:v1/firebaserules.projects.releases.list/pageSize": page_size +"/firebaserules:v1/firebaserules.projects.releases.list/pageToken": page_token +"/firebaserules:v1/firebaserules.projects.releases.update": update_project_release +"/firebaserules:v1/firebaserules.projects.releases.update/name": name +"/firebaserules:v1/firebaserules.projects.rulesets.create": create_project_ruleset +"/firebaserules:v1/firebaserules.projects.rulesets.create/name": name +"/firebaserules:v1/firebaserules.projects.rulesets.delete": delete_project_ruleset +"/firebaserules:v1/firebaserules.projects.rulesets.delete/name": name "/firebaserules:v1/firebaserules.projects.rulesets.get": get_project_ruleset "/firebaserules:v1/firebaserules.projects.rulesets.get/name": name "/firebaserules:v1/firebaserules.projects.rulesets.list": list_project_rulesets "/firebaserules:v1/firebaserules.projects.rulesets.list/filter": filter "/firebaserules:v1/firebaserules.projects.rulesets.list/name": name -"/firebaserules:v1/firebaserules.projects.rulesets.list/pageToken": page_token "/firebaserules:v1/firebaserules.projects.rulesets.list/pageSize": page_size -"/firebaserules:v1/firebaserules.projects.rulesets.create": create_project_ruleset -"/firebaserules:v1/firebaserules.projects.rulesets.create/name": name -"/firebaserules:v1/firebaserules.projects.rulesets.delete": delete_project_ruleset -"/firebaserules:v1/firebaserules.projects.rulesets.delete/name": name -"/firebaserules:v1/File": file -"/firebaserules:v1/File/content": content -"/firebaserules:v1/File/fingerprint": fingerprint -"/firebaserules:v1/File/name": name -"/firebaserules:v1/FunctionCall": function_call -"/firebaserules:v1/FunctionCall/args": args -"/firebaserules:v1/FunctionCall/args/arg": arg -"/firebaserules:v1/FunctionCall/function": function -"/firebaserules:v1/ListReleasesResponse": list_releases_response -"/firebaserules:v1/ListReleasesResponse/releases": releases -"/firebaserules:v1/ListReleasesResponse/releases/release": release -"/firebaserules:v1/ListReleasesResponse/nextPageToken": next_page_token -"/firebaserules:v1/Release": release -"/firebaserules:v1/Release/createTime": create_time -"/firebaserules:v1/Release/updateTime": update_time -"/firebaserules:v1/Release/name": name -"/firebaserules:v1/Release/rulesetName": ruleset_name -"/firebaserules:v1/TestRulesetResponse": test_ruleset_response -"/firebaserules:v1/TestRulesetResponse/testResults": test_results -"/firebaserules:v1/TestRulesetResponse/testResults/test_result": test_result -"/firebaserules:v1/TestRulesetResponse/issues": issues -"/firebaserules:v1/TestRulesetResponse/issues/issue": issue -"/firebaserules:v1/TestResult": test_result -"/firebaserules:v1/TestResult/errorPosition": error_position -"/firebaserules:v1/TestResult/functionCalls": function_calls -"/firebaserules:v1/TestResult/functionCalls/function_call": function_call -"/firebaserules:v1/TestResult/state": state -"/firebaserules:v1/TestResult/debugMessages": debug_messages -"/firebaserules:v1/TestResult/debugMessages/debug_message": debug_message -"/firebaserules:v1/ListRulesetsResponse": list_rulesets_response -"/firebaserules:v1/ListRulesetsResponse/nextPageToken": next_page_token -"/firebaserules:v1/ListRulesetsResponse/rulesets": rulesets -"/firebaserules:v1/ListRulesetsResponse/rulesets/ruleset": ruleset -"/firebaserules:v1/Arg": arg -"/firebaserules:v1/Arg/exactValue": exact_value -"/firebaserules:v1/Arg/anyValue": any_value -"/firebaserules:v1/TestSuite": test_suite -"/firebaserules:v1/TestSuite/testCases": test_cases -"/firebaserules:v1/TestSuite/testCases/test_case": test_case -"/firebaserules:v1/Empty": empty -"/firebaserules:v1/FunctionMock": function_mock -"/firebaserules:v1/FunctionMock/args": args -"/firebaserules:v1/FunctionMock/args/arg": arg -"/firebaserules:v1/FunctionMock/function": function -"/firebaserules:v1/FunctionMock/result": result -"/firebaserules:v1/Source": source -"/firebaserules:v1/Source/files": files -"/firebaserules:v1/Source/files/file": file -"/firebaserules:v1/Result": result -"/firebaserules:v1/Result/value": value -"/firebaserules:v1/Result/undefined": undefined -"/firebaserules:v1/SourcePosition": source_position -"/firebaserules:v1/SourcePosition/line": line -"/firebaserules:v1/SourcePosition/column": column -"/firebaserules:v1/SourcePosition/fileName": file_name -"/firebaserules:v1/TestCase": test_case -"/firebaserules:v1/TestCase/resource": resource -"/firebaserules:v1/TestCase/functionMocks": function_mocks -"/firebaserules:v1/TestCase/functionMocks/function_mock": function_mock -"/firebaserules:v1/TestCase/expectation": expectation -"/firebaserules:v1/TestCase/request": request -"/firebaserules:v1/TestRulesetRequest": test_ruleset_request -"/firebaserules:v1/TestRulesetRequest/source": source -"/firebaserules:v1/TestRulesetRequest/testSuite": test_suite -"/firebaserules:v1/Ruleset": ruleset -"/firebaserules:v1/Ruleset/name": name -"/firebaserules:v1/Ruleset/source": source -"/firebaserules:v1/Ruleset/createTime": create_time -"/firebaserules:v1/Issue": issue -"/firebaserules:v1/Issue/description": description -"/firebaserules:v1/Issue/sourcePosition": source_position -"/firebaserules:v1/Issue/severity": severity -"/fitness:v1/fields": fields -"/fitness:v1/key": key -"/fitness:v1/quotaUser": quota_user -"/fitness:v1/userIp": user_ip -"/fitness:v1/fitness.users.dataSources.create": create_user_data_source -"/fitness:v1/fitness.users.dataSources.create/userId": user_id -"/fitness:v1/fitness.users.dataSources.delete": delete_user_data_source -"/fitness:v1/fitness.users.dataSources.delete/dataSourceId": data_source_id -"/fitness:v1/fitness.users.dataSources.delete/userId": user_id -"/fitness:v1/fitness.users.dataSources.get": get_user_data_source -"/fitness:v1/fitness.users.dataSources.get/dataSourceId": data_source_id -"/fitness:v1/fitness.users.dataSources.get/userId": user_id -"/fitness:v1/fitness.users.dataSources.list": list_user_data_sources -"/fitness:v1/fitness.users.dataSources.list/dataTypeName": data_type_name -"/fitness:v1/fitness.users.dataSources.list/userId": user_id -"/fitness:v1/fitness.users.dataSources.patch": patch_user_data_source -"/fitness:v1/fitness.users.dataSources.patch/dataSourceId": data_source_id -"/fitness:v1/fitness.users.dataSources.patch/userId": user_id -"/fitness:v1/fitness.users.dataSources.update": update_user_data_source -"/fitness:v1/fitness.users.dataSources.update/dataSourceId": data_source_id -"/fitness:v1/fitness.users.dataSources.update/userId": user_id -"/fitness:v1/fitness.users.dataSources.datasets.delete": delete_user_data_source_dataset -"/fitness:v1/fitness.users.dataSources.datasets.delete/currentTimeMillis": current_time_millis -"/fitness:v1/fitness.users.dataSources.datasets.delete/dataSourceId": data_source_id -"/fitness:v1/fitness.users.dataSources.datasets.delete/datasetId": dataset_id -"/fitness:v1/fitness.users.dataSources.datasets.delete/modifiedTimeMillis": modified_time_millis -"/fitness:v1/fitness.users.dataSources.datasets.delete/userId": user_id -"/fitness:v1/fitness.users.dataSources.datasets.get": get_user_data_source_dataset -"/fitness:v1/fitness.users.dataSources.datasets.get/dataSourceId": data_source_id -"/fitness:v1/fitness.users.dataSources.datasets.get/datasetId": dataset_id -"/fitness:v1/fitness.users.dataSources.datasets.get/limit": limit -"/fitness:v1/fitness.users.dataSources.datasets.get/pageToken": page_token -"/fitness:v1/fitness.users.dataSources.datasets.get/userId": user_id -"/fitness:v1/fitness.users.dataSources.datasets.patch": patch_user_data_source_dataset -"/fitness:v1/fitness.users.dataSources.datasets.patch/currentTimeMillis": current_time_millis -"/fitness:v1/fitness.users.dataSources.datasets.patch/dataSourceId": data_source_id -"/fitness:v1/fitness.users.dataSources.datasets.patch/datasetId": dataset_id -"/fitness:v1/fitness.users.dataSources.datasets.patch/userId": user_id -"/fitness:v1/fitness.users.dataset.aggregate": aggregate_dataset -"/fitness:v1/fitness.users.dataset.aggregate/userId": user_id -"/fitness:v1/fitness.users.sessions.delete": delete_user_session -"/fitness:v1/fitness.users.sessions.delete/currentTimeMillis": current_time_millis -"/fitness:v1/fitness.users.sessions.delete/sessionId": session_id -"/fitness:v1/fitness.users.sessions.delete/userId": user_id -"/fitness:v1/fitness.users.sessions.list": list_user_sessions -"/fitness:v1/fitness.users.sessions.list/endTime": end_time -"/fitness:v1/fitness.users.sessions.list/includeDeleted": include_deleted -"/fitness:v1/fitness.users.sessions.list/pageToken": page_token -"/fitness:v1/fitness.users.sessions.list/startTime": start_time -"/fitness:v1/fitness.users.sessions.list/userId": user_id -"/fitness:v1/fitness.users.sessions.update": update_user_session -"/fitness:v1/fitness.users.sessions.update/currentTimeMillis": current_time_millis -"/fitness:v1/fitness.users.sessions.update/sessionId": session_id -"/fitness:v1/fitness.users.sessions.update/userId": user_id +"/firebaserules:v1/firebaserules.projects.rulesets.list/pageToken": page_token +"/firebaserules:v1/firebaserules.projects.test": test_project_ruleset +"/firebaserules:v1/firebaserules.projects.test/name": name +"/firebaserules:v1/key": key +"/firebaserules:v1/quotaUser": quota_user "/fitness:v1/AggregateBucket": aggregate_bucket "/fitness:v1/AggregateBucket/activity": activity "/fitness:v1/AggregateBucket/dataset": dataset @@ -28296,116 +28772,60 @@ "/fitness:v1/ValueMapValEntry": value_map_val_entry "/fitness:v1/ValueMapValEntry/key": key "/fitness:v1/ValueMapValEntry/value": value -"/fusiontables:v2/fields": fields -"/fusiontables:v2/key": key -"/fusiontables:v2/quotaUser": quota_user -"/fusiontables:v2/userIp": user_ip -"/fusiontables:v2/fusiontables.column.delete": delete_column -"/fusiontables:v2/fusiontables.column.delete/columnId": column_id -"/fusiontables:v2/fusiontables.column.delete/tableId": table_id -"/fusiontables:v2/fusiontables.column.get": get_column -"/fusiontables:v2/fusiontables.column.get/columnId": column_id -"/fusiontables:v2/fusiontables.column.get/tableId": table_id -"/fusiontables:v2/fusiontables.column.insert": insert_column -"/fusiontables:v2/fusiontables.column.insert/tableId": table_id -"/fusiontables:v2/fusiontables.column.list": list_columns -"/fusiontables:v2/fusiontables.column.list/maxResults": max_results -"/fusiontables:v2/fusiontables.column.list/pageToken": page_token -"/fusiontables:v2/fusiontables.column.list/tableId": table_id -"/fusiontables:v2/fusiontables.column.patch": patch_column -"/fusiontables:v2/fusiontables.column.patch/columnId": column_id -"/fusiontables:v2/fusiontables.column.patch/tableId": table_id -"/fusiontables:v2/fusiontables.column.update": update_column -"/fusiontables:v2/fusiontables.column.update/columnId": column_id -"/fusiontables:v2/fusiontables.column.update/tableId": table_id -"/fusiontables:v2/fusiontables.query.sql": sql_query -"/fusiontables:v2/fusiontables.query.sql/hdrs": hdrs -"/fusiontables:v2/fusiontables.query.sql/sql": sql -"/fusiontables:v2/fusiontables.query.sql/typed": typed -"/fusiontables:v2/fusiontables.query.sqlGet": sql_query_get -"/fusiontables:v2/fusiontables.query.sqlGet/hdrs": hdrs -"/fusiontables:v2/fusiontables.query.sqlGet/sql": sql -"/fusiontables:v2/fusiontables.query.sqlGet/typed": typed -"/fusiontables:v2/fusiontables.style.delete": delete_style -"/fusiontables:v2/fusiontables.style.delete/styleId": style_id -"/fusiontables:v2/fusiontables.style.delete/tableId": table_id -"/fusiontables:v2/fusiontables.style.get": get_style -"/fusiontables:v2/fusiontables.style.get/styleId": style_id -"/fusiontables:v2/fusiontables.style.get/tableId": table_id -"/fusiontables:v2/fusiontables.style.insert": insert_style -"/fusiontables:v2/fusiontables.style.insert/tableId": table_id -"/fusiontables:v2/fusiontables.style.list": list_styles -"/fusiontables:v2/fusiontables.style.list/maxResults": max_results -"/fusiontables:v2/fusiontables.style.list/pageToken": page_token -"/fusiontables:v2/fusiontables.style.list/tableId": table_id -"/fusiontables:v2/fusiontables.style.patch": patch_style -"/fusiontables:v2/fusiontables.style.patch/styleId": style_id -"/fusiontables:v2/fusiontables.style.patch/tableId": table_id -"/fusiontables:v2/fusiontables.style.update": update_style -"/fusiontables:v2/fusiontables.style.update/styleId": style_id -"/fusiontables:v2/fusiontables.style.update/tableId": table_id -"/fusiontables:v2/fusiontables.table.copy": copy_table -"/fusiontables:v2/fusiontables.table.copy/copyPresentation": copy_presentation -"/fusiontables:v2/fusiontables.table.copy/tableId": table_id -"/fusiontables:v2/fusiontables.table.delete": delete_table -"/fusiontables:v2/fusiontables.table.delete/tableId": table_id -"/fusiontables:v2/fusiontables.table.get": get_table -"/fusiontables:v2/fusiontables.table.get/tableId": table_id -"/fusiontables:v2/fusiontables.table.importRows/delimiter": delimiter -"/fusiontables:v2/fusiontables.table.importRows/encoding": encoding -"/fusiontables:v2/fusiontables.table.importRows/endLine": end_line -"/fusiontables:v2/fusiontables.table.importRows/isStrict": is_strict -"/fusiontables:v2/fusiontables.table.importRows/startLine": start_line -"/fusiontables:v2/fusiontables.table.importRows/tableId": table_id -"/fusiontables:v2/fusiontables.table.importTable/delimiter": delimiter -"/fusiontables:v2/fusiontables.table.importTable/encoding": encoding -"/fusiontables:v2/fusiontables.table.importTable/name": name -"/fusiontables:v2/fusiontables.table.insert": insert_table -"/fusiontables:v2/fusiontables.table.list": list_tables -"/fusiontables:v2/fusiontables.table.list/maxResults": max_results -"/fusiontables:v2/fusiontables.table.list/pageToken": page_token -"/fusiontables:v2/fusiontables.table.patch": patch_table -"/fusiontables:v2/fusiontables.table.patch/replaceViewDefinition": replace_view_definition -"/fusiontables:v2/fusiontables.table.patch/tableId": table_id -"/fusiontables:v2/fusiontables.table.replaceRows": replace_table_rows -"/fusiontables:v2/fusiontables.table.replaceRows/delimiter": delimiter -"/fusiontables:v2/fusiontables.table.replaceRows/encoding": encoding -"/fusiontables:v2/fusiontables.table.replaceRows/endLine": end_line -"/fusiontables:v2/fusiontables.table.replaceRows/isStrict": is_strict -"/fusiontables:v2/fusiontables.table.replaceRows/startLine": start_line -"/fusiontables:v2/fusiontables.table.replaceRows/tableId": table_id -"/fusiontables:v2/fusiontables.table.update": update_table -"/fusiontables:v2/fusiontables.table.update/replaceViewDefinition": replace_view_definition -"/fusiontables:v2/fusiontables.table.update/tableId": table_id -"/fusiontables:v2/fusiontables.task.delete": delete_task -"/fusiontables:v2/fusiontables.task.delete/tableId": table_id -"/fusiontables:v2/fusiontables.task.delete/taskId": task_id -"/fusiontables:v2/fusiontables.task.get": get_task -"/fusiontables:v2/fusiontables.task.get/tableId": table_id -"/fusiontables:v2/fusiontables.task.get/taskId": task_id -"/fusiontables:v2/fusiontables.task.list": list_tasks -"/fusiontables:v2/fusiontables.task.list/maxResults": max_results -"/fusiontables:v2/fusiontables.task.list/pageToken": page_token -"/fusiontables:v2/fusiontables.task.list/startIndex": start_index -"/fusiontables:v2/fusiontables.task.list/tableId": table_id -"/fusiontables:v2/fusiontables.template.delete": delete_template -"/fusiontables:v2/fusiontables.template.delete/tableId": table_id -"/fusiontables:v2/fusiontables.template.delete/templateId": template_id -"/fusiontables:v2/fusiontables.template.get": get_template -"/fusiontables:v2/fusiontables.template.get/tableId": table_id -"/fusiontables:v2/fusiontables.template.get/templateId": template_id -"/fusiontables:v2/fusiontables.template.insert": insert_template -"/fusiontables:v2/fusiontables.template.insert/tableId": table_id -"/fusiontables:v2/fusiontables.template.list": list_templates -"/fusiontables:v2/fusiontables.template.list/maxResults": max_results -"/fusiontables:v2/fusiontables.template.list/pageToken": page_token -"/fusiontables:v2/fusiontables.template.list/tableId": table_id -"/fusiontables:v2/fusiontables.template.patch": patch_template -"/fusiontables:v2/fusiontables.template.patch/tableId": table_id -"/fusiontables:v2/fusiontables.template.patch/templateId": template_id -"/fusiontables:v2/fusiontables.template.update": update_template -"/fusiontables:v2/fusiontables.template.update/tableId": table_id -"/fusiontables:v2/fusiontables.template.update/templateId": template_id +"/fitness:v1/fields": fields +"/fitness:v1/fitness.users.dataSources.create": create_user_data_source +"/fitness:v1/fitness.users.dataSources.create/userId": user_id +"/fitness:v1/fitness.users.dataSources.datasets.delete": delete_user_data_source_dataset +"/fitness:v1/fitness.users.dataSources.datasets.delete/currentTimeMillis": current_time_millis +"/fitness:v1/fitness.users.dataSources.datasets.delete/dataSourceId": data_source_id +"/fitness:v1/fitness.users.dataSources.datasets.delete/datasetId": dataset_id +"/fitness:v1/fitness.users.dataSources.datasets.delete/modifiedTimeMillis": modified_time_millis +"/fitness:v1/fitness.users.dataSources.datasets.delete/userId": user_id +"/fitness:v1/fitness.users.dataSources.datasets.get": get_user_data_source_dataset +"/fitness:v1/fitness.users.dataSources.datasets.get/dataSourceId": data_source_id +"/fitness:v1/fitness.users.dataSources.datasets.get/datasetId": dataset_id +"/fitness:v1/fitness.users.dataSources.datasets.get/limit": limit +"/fitness:v1/fitness.users.dataSources.datasets.get/pageToken": page_token +"/fitness:v1/fitness.users.dataSources.datasets.get/userId": user_id +"/fitness:v1/fitness.users.dataSources.datasets.patch": patch_user_data_source_dataset +"/fitness:v1/fitness.users.dataSources.datasets.patch/currentTimeMillis": current_time_millis +"/fitness:v1/fitness.users.dataSources.datasets.patch/dataSourceId": data_source_id +"/fitness:v1/fitness.users.dataSources.datasets.patch/datasetId": dataset_id +"/fitness:v1/fitness.users.dataSources.datasets.patch/userId": user_id +"/fitness:v1/fitness.users.dataSources.delete": delete_user_data_source +"/fitness:v1/fitness.users.dataSources.delete/dataSourceId": data_source_id +"/fitness:v1/fitness.users.dataSources.delete/userId": user_id +"/fitness:v1/fitness.users.dataSources.get": get_user_data_source +"/fitness:v1/fitness.users.dataSources.get/dataSourceId": data_source_id +"/fitness:v1/fitness.users.dataSources.get/userId": user_id +"/fitness:v1/fitness.users.dataSources.list": list_user_data_sources +"/fitness:v1/fitness.users.dataSources.list/dataTypeName": data_type_name +"/fitness:v1/fitness.users.dataSources.list/userId": user_id +"/fitness:v1/fitness.users.dataSources.patch": patch_user_data_source +"/fitness:v1/fitness.users.dataSources.patch/dataSourceId": data_source_id +"/fitness:v1/fitness.users.dataSources.patch/userId": user_id +"/fitness:v1/fitness.users.dataSources.update": update_user_data_source +"/fitness:v1/fitness.users.dataSources.update/dataSourceId": data_source_id +"/fitness:v1/fitness.users.dataSources.update/userId": user_id +"/fitness:v1/fitness.users.dataset.aggregate": aggregate_dataset +"/fitness:v1/fitness.users.dataset.aggregate/userId": user_id +"/fitness:v1/fitness.users.sessions.delete": delete_user_session +"/fitness:v1/fitness.users.sessions.delete/currentTimeMillis": current_time_millis +"/fitness:v1/fitness.users.sessions.delete/sessionId": session_id +"/fitness:v1/fitness.users.sessions.delete/userId": user_id +"/fitness:v1/fitness.users.sessions.list": list_user_sessions +"/fitness:v1/fitness.users.sessions.list/endTime": end_time +"/fitness:v1/fitness.users.sessions.list/includeDeleted": include_deleted +"/fitness:v1/fitness.users.sessions.list/pageToken": page_token +"/fitness:v1/fitness.users.sessions.list/startTime": start_time +"/fitness:v1/fitness.users.sessions.list/userId": user_id +"/fitness:v1/fitness.users.sessions.update": update_user_session +"/fitness:v1/fitness.users.sessions.update/currentTimeMillis": current_time_millis +"/fitness:v1/fitness.users.sessions.update/sessionId": session_id +"/fitness:v1/fitness.users.sessions.update/userId": user_id +"/fitness:v1/key": key +"/fitness:v1/quotaUser": quota_user +"/fitness:v1/userIp": user_ip "/fusiontables:v2/Bucket": bucket "/fusiontables:v2/Bucket/color": color "/fusiontables:v2/Bucket/icon": icon @@ -28556,10 +28976,742 @@ "/fusiontables:v2/TemplateList/kind": kind "/fusiontables:v2/TemplateList/nextPageToken": next_page_token "/fusiontables:v2/TemplateList/totalItems": total_items +"/fusiontables:v2/fields": fields +"/fusiontables:v2/fusiontables.column.delete": delete_column +"/fusiontables:v2/fusiontables.column.delete/columnId": column_id +"/fusiontables:v2/fusiontables.column.delete/tableId": table_id +"/fusiontables:v2/fusiontables.column.get": get_column +"/fusiontables:v2/fusiontables.column.get/columnId": column_id +"/fusiontables:v2/fusiontables.column.get/tableId": table_id +"/fusiontables:v2/fusiontables.column.insert": insert_column +"/fusiontables:v2/fusiontables.column.insert/tableId": table_id +"/fusiontables:v2/fusiontables.column.list": list_columns +"/fusiontables:v2/fusiontables.column.list/maxResults": max_results +"/fusiontables:v2/fusiontables.column.list/pageToken": page_token +"/fusiontables:v2/fusiontables.column.list/tableId": table_id +"/fusiontables:v2/fusiontables.column.patch": patch_column +"/fusiontables:v2/fusiontables.column.patch/columnId": column_id +"/fusiontables:v2/fusiontables.column.patch/tableId": table_id +"/fusiontables:v2/fusiontables.column.update": update_column +"/fusiontables:v2/fusiontables.column.update/columnId": column_id +"/fusiontables:v2/fusiontables.column.update/tableId": table_id +"/fusiontables:v2/fusiontables.query.sql": sql_query +"/fusiontables:v2/fusiontables.query.sql/hdrs": hdrs +"/fusiontables:v2/fusiontables.query.sql/sql": sql +"/fusiontables:v2/fusiontables.query.sql/typed": typed +"/fusiontables:v2/fusiontables.query.sqlGet": sql_query_get +"/fusiontables:v2/fusiontables.query.sqlGet/hdrs": hdrs +"/fusiontables:v2/fusiontables.query.sqlGet/sql": sql +"/fusiontables:v2/fusiontables.query.sqlGet/typed": typed +"/fusiontables:v2/fusiontables.style.delete": delete_style +"/fusiontables:v2/fusiontables.style.delete/styleId": style_id +"/fusiontables:v2/fusiontables.style.delete/tableId": table_id +"/fusiontables:v2/fusiontables.style.get": get_style +"/fusiontables:v2/fusiontables.style.get/styleId": style_id +"/fusiontables:v2/fusiontables.style.get/tableId": table_id +"/fusiontables:v2/fusiontables.style.insert": insert_style +"/fusiontables:v2/fusiontables.style.insert/tableId": table_id +"/fusiontables:v2/fusiontables.style.list": list_styles +"/fusiontables:v2/fusiontables.style.list/maxResults": max_results +"/fusiontables:v2/fusiontables.style.list/pageToken": page_token +"/fusiontables:v2/fusiontables.style.list/tableId": table_id +"/fusiontables:v2/fusiontables.style.patch": patch_style +"/fusiontables:v2/fusiontables.style.patch/styleId": style_id +"/fusiontables:v2/fusiontables.style.patch/tableId": table_id +"/fusiontables:v2/fusiontables.style.update": update_style +"/fusiontables:v2/fusiontables.style.update/styleId": style_id +"/fusiontables:v2/fusiontables.style.update/tableId": table_id +"/fusiontables:v2/fusiontables.table.copy": copy_table +"/fusiontables:v2/fusiontables.table.copy/copyPresentation": copy_presentation +"/fusiontables:v2/fusiontables.table.copy/tableId": table_id +"/fusiontables:v2/fusiontables.table.delete": delete_table +"/fusiontables:v2/fusiontables.table.delete/tableId": table_id +"/fusiontables:v2/fusiontables.table.get": get_table +"/fusiontables:v2/fusiontables.table.get/tableId": table_id +"/fusiontables:v2/fusiontables.table.importRows": import_rows +"/fusiontables:v2/fusiontables.table.importRows/delimiter": delimiter +"/fusiontables:v2/fusiontables.table.importRows/encoding": encoding +"/fusiontables:v2/fusiontables.table.importRows/endLine": end_line +"/fusiontables:v2/fusiontables.table.importRows/isStrict": is_strict +"/fusiontables:v2/fusiontables.table.importRows/startLine": start_line +"/fusiontables:v2/fusiontables.table.importRows/tableId": table_id +"/fusiontables:v2/fusiontables.table.importTable": import_table +"/fusiontables:v2/fusiontables.table.importTable/delimiter": delimiter +"/fusiontables:v2/fusiontables.table.importTable/encoding": encoding +"/fusiontables:v2/fusiontables.table.importTable/name": name +"/fusiontables:v2/fusiontables.table.insert": insert_table +"/fusiontables:v2/fusiontables.table.list": list_tables +"/fusiontables:v2/fusiontables.table.list/maxResults": max_results +"/fusiontables:v2/fusiontables.table.list/pageToken": page_token +"/fusiontables:v2/fusiontables.table.patch": patch_table +"/fusiontables:v2/fusiontables.table.patch/replaceViewDefinition": replace_view_definition +"/fusiontables:v2/fusiontables.table.patch/tableId": table_id +"/fusiontables:v2/fusiontables.table.replaceRows": replace_table_rows +"/fusiontables:v2/fusiontables.table.replaceRows/delimiter": delimiter +"/fusiontables:v2/fusiontables.table.replaceRows/encoding": encoding +"/fusiontables:v2/fusiontables.table.replaceRows/endLine": end_line +"/fusiontables:v2/fusiontables.table.replaceRows/isStrict": is_strict +"/fusiontables:v2/fusiontables.table.replaceRows/startLine": start_line +"/fusiontables:v2/fusiontables.table.replaceRows/tableId": table_id +"/fusiontables:v2/fusiontables.table.update": update_table +"/fusiontables:v2/fusiontables.table.update/replaceViewDefinition": replace_view_definition +"/fusiontables:v2/fusiontables.table.update/tableId": table_id +"/fusiontables:v2/fusiontables.task.delete": delete_task +"/fusiontables:v2/fusiontables.task.delete/tableId": table_id +"/fusiontables:v2/fusiontables.task.delete/taskId": task_id +"/fusiontables:v2/fusiontables.task.get": get_task +"/fusiontables:v2/fusiontables.task.get/tableId": table_id +"/fusiontables:v2/fusiontables.task.get/taskId": task_id +"/fusiontables:v2/fusiontables.task.list": list_tasks +"/fusiontables:v2/fusiontables.task.list/maxResults": max_results +"/fusiontables:v2/fusiontables.task.list/pageToken": page_token +"/fusiontables:v2/fusiontables.task.list/startIndex": start_index +"/fusiontables:v2/fusiontables.task.list/tableId": table_id +"/fusiontables:v2/fusiontables.template.delete": delete_template +"/fusiontables:v2/fusiontables.template.delete/tableId": table_id +"/fusiontables:v2/fusiontables.template.delete/templateId": template_id +"/fusiontables:v2/fusiontables.template.get": get_template +"/fusiontables:v2/fusiontables.template.get/tableId": table_id +"/fusiontables:v2/fusiontables.template.get/templateId": template_id +"/fusiontables:v2/fusiontables.template.insert": insert_template +"/fusiontables:v2/fusiontables.template.insert/tableId": table_id +"/fusiontables:v2/fusiontables.template.list": list_templates +"/fusiontables:v2/fusiontables.template.list/maxResults": max_results +"/fusiontables:v2/fusiontables.template.list/pageToken": page_token +"/fusiontables:v2/fusiontables.template.list/tableId": table_id +"/fusiontables:v2/fusiontables.template.patch": patch_template +"/fusiontables:v2/fusiontables.template.patch/tableId": table_id +"/fusiontables:v2/fusiontables.template.patch/templateId": template_id +"/fusiontables:v2/fusiontables.template.update": update_template +"/fusiontables:v2/fusiontables.template.update/tableId": table_id +"/fusiontables:v2/fusiontables.template.update/templateId": template_id +"/fusiontables:v2/key": key +"/fusiontables:v2/quotaUser": quota_user +"/fusiontables:v2/userIp": user_ip +"/games:v1/AchievementDefinition": achievement_definition +"/games:v1/AchievementDefinition/achievementType": achievement_type +"/games:v1/AchievementDefinition/description": description +"/games:v1/AchievementDefinition/experiencePoints": experience_points +"/games:v1/AchievementDefinition/formattedTotalSteps": formatted_total_steps +"/games:v1/AchievementDefinition/id": id +"/games:v1/AchievementDefinition/initialState": initial_state +"/games:v1/AchievementDefinition/isRevealedIconUrlDefault": is_revealed_icon_url_default +"/games:v1/AchievementDefinition/isUnlockedIconUrlDefault": is_unlocked_icon_url_default +"/games:v1/AchievementDefinition/kind": kind +"/games:v1/AchievementDefinition/name": name +"/games:v1/AchievementDefinition/revealedIconUrl": revealed_icon_url +"/games:v1/AchievementDefinition/totalSteps": total_steps +"/games:v1/AchievementDefinition/unlockedIconUrl": unlocked_icon_url +"/games:v1/AchievementDefinitionsListResponse": list_achievement_definitions_response +"/games:v1/AchievementDefinitionsListResponse/items": items +"/games:v1/AchievementDefinitionsListResponse/items/item": item +"/games:v1/AchievementDefinitionsListResponse/kind": kind +"/games:v1/AchievementDefinitionsListResponse/nextPageToken": next_page_token +"/games:v1/AchievementIncrementResponse": achievement_increment_response +"/games:v1/AchievementIncrementResponse/currentSteps": current_steps +"/games:v1/AchievementIncrementResponse/kind": kind +"/games:v1/AchievementIncrementResponse/newlyUnlocked": newly_unlocked +"/games:v1/AchievementRevealResponse": achievement_reveal_response +"/games:v1/AchievementRevealResponse/currentState": current_state +"/games:v1/AchievementRevealResponse/kind": kind +"/games:v1/AchievementSetStepsAtLeastResponse": achievement_set_steps_at_least_response +"/games:v1/AchievementSetStepsAtLeastResponse/currentSteps": current_steps +"/games:v1/AchievementSetStepsAtLeastResponse/kind": kind +"/games:v1/AchievementSetStepsAtLeastResponse/newlyUnlocked": newly_unlocked +"/games:v1/AchievementUnlockResponse": achievement_unlock_response +"/games:v1/AchievementUnlockResponse/kind": kind +"/games:v1/AchievementUnlockResponse/newlyUnlocked": newly_unlocked +"/games:v1/AchievementUpdateMultipleRequest": achievement_update_multiple_request +"/games:v1/AchievementUpdateMultipleRequest/kind": kind +"/games:v1/AchievementUpdateMultipleRequest/updates": updates +"/games:v1/AchievementUpdateMultipleRequest/updates/update": update +"/games:v1/AchievementUpdateMultipleResponse": achievement_update_multiple_response +"/games:v1/AchievementUpdateMultipleResponse/kind": kind +"/games:v1/AchievementUpdateMultipleResponse/updatedAchievements": updated_achievements +"/games:v1/AchievementUpdateMultipleResponse/updatedAchievements/updated_achievement": updated_achievement +"/games:v1/AchievementUpdateRequest": update_achievement_request +"/games:v1/AchievementUpdateRequest/achievementId": achievement_id +"/games:v1/AchievementUpdateRequest/incrementPayload": increment_payload +"/games:v1/AchievementUpdateRequest/kind": kind +"/games:v1/AchievementUpdateRequest/setStepsAtLeastPayload": set_steps_at_least_payload +"/games:v1/AchievementUpdateRequest/updateType": update_type +"/games:v1/AchievementUpdateResponse": update_achievement_response +"/games:v1/AchievementUpdateResponse/achievementId": achievement_id +"/games:v1/AchievementUpdateResponse/currentState": current_state +"/games:v1/AchievementUpdateResponse/currentSteps": current_steps +"/games:v1/AchievementUpdateResponse/kind": kind +"/games:v1/AchievementUpdateResponse/newlyUnlocked": newly_unlocked +"/games:v1/AchievementUpdateResponse/updateOccurred": update_occurred +"/games:v1/AggregateStats": aggregate_stats +"/games:v1/AggregateStats/count": count +"/games:v1/AggregateStats/kind": kind +"/games:v1/AggregateStats/max": max +"/games:v1/AggregateStats/min": min +"/games:v1/AggregateStats/sum": sum +"/games:v1/AnonymousPlayer": anonymous_player +"/games:v1/AnonymousPlayer/avatarImageUrl": avatar_image_url +"/games:v1/AnonymousPlayer/displayName": display_name +"/games:v1/AnonymousPlayer/kind": kind +"/games:v1/Application": application +"/games:v1/Application/achievement_count": achievement_count +"/games:v1/Application/assets": assets +"/games:v1/Application/assets/asset": asset +"/games:v1/Application/author": author +"/games:v1/Application/category": category +"/games:v1/Application/description": description +"/games:v1/Application/enabledFeatures": enabled_features +"/games:v1/Application/enabledFeatures/enabled_feature": enabled_feature +"/games:v1/Application/id": id +"/games:v1/Application/instances": instances +"/games:v1/Application/instances/instance": instance +"/games:v1/Application/kind": kind +"/games:v1/Application/lastUpdatedTimestamp": last_updated_timestamp +"/games:v1/Application/leaderboard_count": leaderboard_count +"/games:v1/Application/name": name +"/games:v1/Application/themeColor": theme_color +"/games:v1/ApplicationCategory": application_category +"/games:v1/ApplicationCategory/kind": kind +"/games:v1/ApplicationCategory/primary": primary +"/games:v1/ApplicationCategory/secondary": secondary +"/games:v1/ApplicationVerifyResponse": application_verify_response +"/games:v1/ApplicationVerifyResponse/alternate_player_id": alternate_player_id +"/games:v1/ApplicationVerifyResponse/kind": kind +"/games:v1/ApplicationVerifyResponse/player_id": player_id +"/games:v1/Category": category +"/games:v1/Category/category": category +"/games:v1/Category/experiencePoints": experience_points +"/games:v1/Category/kind": kind +"/games:v1/CategoryListResponse": list_category_response +"/games:v1/CategoryListResponse/items": items +"/games:v1/CategoryListResponse/items/item": item +"/games:v1/CategoryListResponse/kind": kind +"/games:v1/CategoryListResponse/nextPageToken": next_page_token +"/games:v1/EventBatchRecordFailure": event_batch_record_failure +"/games:v1/EventBatchRecordFailure/failureCause": failure_cause +"/games:v1/EventBatchRecordFailure/kind": kind +"/games:v1/EventBatchRecordFailure/range": range +"/games:v1/EventChild": event_child +"/games:v1/EventChild/childId": child_id +"/games:v1/EventChild/kind": kind +"/games:v1/EventDefinition": event_definition +"/games:v1/EventDefinition/childEvents": child_events +"/games:v1/EventDefinition/childEvents/child_event": child_event +"/games:v1/EventDefinition/description": description +"/games:v1/EventDefinition/displayName": display_name +"/games:v1/EventDefinition/id": id +"/games:v1/EventDefinition/imageUrl": image_url +"/games:v1/EventDefinition/isDefaultImageUrl": is_default_image_url +"/games:v1/EventDefinition/kind": kind +"/games:v1/EventDefinition/visibility": visibility +"/games:v1/EventDefinitionListResponse": list_event_definition_response +"/games:v1/EventDefinitionListResponse/items": items +"/games:v1/EventDefinitionListResponse/items/item": item +"/games:v1/EventDefinitionListResponse/kind": kind +"/games:v1/EventDefinitionListResponse/nextPageToken": next_page_token +"/games:v1/EventPeriodRange": event_period_range +"/games:v1/EventPeriodRange/kind": kind +"/games:v1/EventPeriodRange/periodEndMillis": period_end_millis +"/games:v1/EventPeriodRange/periodStartMillis": period_start_millis +"/games:v1/EventPeriodUpdate": event_period_update +"/games:v1/EventPeriodUpdate/kind": kind +"/games:v1/EventPeriodUpdate/timePeriod": time_period +"/games:v1/EventPeriodUpdate/updates": updates +"/games:v1/EventPeriodUpdate/updates/update": update +"/games:v1/EventRecordFailure": event_record_failure +"/games:v1/EventRecordFailure/eventId": event_id +"/games:v1/EventRecordFailure/failureCause": failure_cause +"/games:v1/EventRecordFailure/kind": kind +"/games:v1/EventRecordRequest": event_record_request +"/games:v1/EventRecordRequest/currentTimeMillis": current_time_millis +"/games:v1/EventRecordRequest/kind": kind +"/games:v1/EventRecordRequest/requestId": request_id +"/games:v1/EventRecordRequest/timePeriods": time_periods +"/games:v1/EventRecordRequest/timePeriods/time_period": time_period +"/games:v1/EventUpdateRequest": update_event_request +"/games:v1/EventUpdateRequest/definitionId": definition_id +"/games:v1/EventUpdateRequest/kind": kind +"/games:v1/EventUpdateRequest/updateCount": update_count +"/games:v1/EventUpdateResponse": update_event_response +"/games:v1/EventUpdateResponse/batchFailures": batch_failures +"/games:v1/EventUpdateResponse/batchFailures/batch_failure": batch_failure +"/games:v1/EventUpdateResponse/eventFailures": event_failures +"/games:v1/EventUpdateResponse/eventFailures/event_failure": event_failure +"/games:v1/EventUpdateResponse/kind": kind +"/games:v1/EventUpdateResponse/playerEvents": player_events +"/games:v1/EventUpdateResponse/playerEvents/player_event": player_event +"/games:v1/GamesAchievementIncrement": games_achievement_increment +"/games:v1/GamesAchievementIncrement/kind": kind +"/games:v1/GamesAchievementIncrement/requestId": request_id +"/games:v1/GamesAchievementIncrement/steps": steps +"/games:v1/GamesAchievementSetStepsAtLeast": games_achievement_set_steps_at_least +"/games:v1/GamesAchievementSetStepsAtLeast/kind": kind +"/games:v1/GamesAchievementSetStepsAtLeast/steps": steps +"/games:v1/ImageAsset": image_asset +"/games:v1/ImageAsset/height": height +"/games:v1/ImageAsset/kind": kind +"/games:v1/ImageAsset/name": name +"/games:v1/ImageAsset/url": url +"/games:v1/ImageAsset/width": width +"/games:v1/Instance": instance +"/games:v1/Instance/acquisitionUri": acquisition_uri +"/games:v1/Instance/androidInstance": android_instance +"/games:v1/Instance/iosInstance": ios_instance +"/games:v1/Instance/kind": kind +"/games:v1/Instance/name": name +"/games:v1/Instance/platformType": platform_type +"/games:v1/Instance/realtimePlay": realtime_play +"/games:v1/Instance/turnBasedPlay": turn_based_play +"/games:v1/Instance/webInstance": web_instance +"/games:v1/InstanceAndroidDetails": instance_android_details +"/games:v1/InstanceAndroidDetails/enablePiracyCheck": enable_piracy_check +"/games:v1/InstanceAndroidDetails/kind": kind +"/games:v1/InstanceAndroidDetails/packageName": package_name +"/games:v1/InstanceAndroidDetails/preferred": preferred +"/games:v1/InstanceIosDetails": instance_ios_details +"/games:v1/InstanceIosDetails/bundleIdentifier": bundle_identifier +"/games:v1/InstanceIosDetails/itunesAppId": itunes_app_id +"/games:v1/InstanceIosDetails/kind": kind +"/games:v1/InstanceIosDetails/preferredForIpad": preferred_for_ipad +"/games:v1/InstanceIosDetails/preferredForIphone": preferred_for_iphone +"/games:v1/InstanceIosDetails/supportIpad": support_ipad +"/games:v1/InstanceIosDetails/supportIphone": support_iphone +"/games:v1/InstanceWebDetails": instance_web_details +"/games:v1/InstanceWebDetails/kind": kind +"/games:v1/InstanceWebDetails/launchUrl": launch_url +"/games:v1/InstanceWebDetails/preferred": preferred +"/games:v1/Leaderboard": leaderboard +"/games:v1/Leaderboard/iconUrl": icon_url +"/games:v1/Leaderboard/id": id +"/games:v1/Leaderboard/isIconUrlDefault": is_icon_url_default +"/games:v1/Leaderboard/kind": kind +"/games:v1/Leaderboard/name": name +"/games:v1/Leaderboard/order": order +"/games:v1/LeaderboardEntry": leaderboard_entry +"/games:v1/LeaderboardEntry/formattedScore": formatted_score +"/games:v1/LeaderboardEntry/formattedScoreRank": formatted_score_rank +"/games:v1/LeaderboardEntry/kind": kind +"/games:v1/LeaderboardEntry/player": player +"/games:v1/LeaderboardEntry/scoreRank": score_rank +"/games:v1/LeaderboardEntry/scoreTag": score_tag +"/games:v1/LeaderboardEntry/scoreValue": score_value +"/games:v1/LeaderboardEntry/timeSpan": time_span +"/games:v1/LeaderboardEntry/writeTimestampMillis": write_timestamp_millis +"/games:v1/LeaderboardListResponse": list_leaderboard_response +"/games:v1/LeaderboardListResponse/items": items +"/games:v1/LeaderboardListResponse/items/item": item +"/games:v1/LeaderboardListResponse/kind": kind +"/games:v1/LeaderboardListResponse/nextPageToken": next_page_token +"/games:v1/LeaderboardScoreRank": leaderboard_score_rank +"/games:v1/LeaderboardScoreRank/formattedNumScores": formatted_num_scores +"/games:v1/LeaderboardScoreRank/formattedRank": formatted_rank +"/games:v1/LeaderboardScoreRank/kind": kind +"/games:v1/LeaderboardScoreRank/numScores": num_scores +"/games:v1/LeaderboardScoreRank/rank": rank +"/games:v1/LeaderboardScores": leaderboard_scores +"/games:v1/LeaderboardScores/items": items +"/games:v1/LeaderboardScores/items/item": item +"/games:v1/LeaderboardScores/kind": kind +"/games:v1/LeaderboardScores/nextPageToken": next_page_token +"/games:v1/LeaderboardScores/numScores": num_scores +"/games:v1/LeaderboardScores/playerScore": player_score +"/games:v1/LeaderboardScores/prevPageToken": prev_page_token +"/games:v1/MetagameConfig": metagame_config +"/games:v1/MetagameConfig/currentVersion": current_version +"/games:v1/MetagameConfig/kind": kind +"/games:v1/MetagameConfig/playerLevels": player_levels +"/games:v1/MetagameConfig/playerLevels/player_level": player_level +"/games:v1/NetworkDiagnostics": network_diagnostics +"/games:v1/NetworkDiagnostics/androidNetworkSubtype": android_network_subtype +"/games:v1/NetworkDiagnostics/androidNetworkType": android_network_type +"/games:v1/NetworkDiagnostics/iosNetworkType": ios_network_type +"/games:v1/NetworkDiagnostics/kind": kind +"/games:v1/NetworkDiagnostics/networkOperatorCode": network_operator_code +"/games:v1/NetworkDiagnostics/networkOperatorName": network_operator_name +"/games:v1/NetworkDiagnostics/registrationLatencyMillis": registration_latency_millis +"/games:v1/ParticipantResult": participant_result +"/games:v1/ParticipantResult/kind": kind +"/games:v1/ParticipantResult/participantId": participant_id +"/games:v1/ParticipantResult/placing": placing +"/games:v1/ParticipantResult/result": result +"/games:v1/PeerChannelDiagnostics": peer_channel_diagnostics +"/games:v1/PeerChannelDiagnostics/bytesReceived": bytes_received +"/games:v1/PeerChannelDiagnostics/bytesSent": bytes_sent +"/games:v1/PeerChannelDiagnostics/kind": kind +"/games:v1/PeerChannelDiagnostics/numMessagesLost": num_messages_lost +"/games:v1/PeerChannelDiagnostics/numMessagesReceived": num_messages_received +"/games:v1/PeerChannelDiagnostics/numMessagesSent": num_messages_sent +"/games:v1/PeerChannelDiagnostics/numSendFailures": num_send_failures +"/games:v1/PeerChannelDiagnostics/roundtripLatencyMillis": roundtrip_latency_millis +"/games:v1/PeerSessionDiagnostics": peer_session_diagnostics +"/games:v1/PeerSessionDiagnostics/connectedTimestampMillis": connected_timestamp_millis +"/games:v1/PeerSessionDiagnostics/kind": kind +"/games:v1/PeerSessionDiagnostics/participantId": participant_id +"/games:v1/PeerSessionDiagnostics/reliableChannel": reliable_channel +"/games:v1/PeerSessionDiagnostics/unreliableChannel": unreliable_channel +"/games:v1/Played": played +"/games:v1/Played/autoMatched": auto_matched +"/games:v1/Played/kind": kind +"/games:v1/Played/timeMillis": time_millis +"/games:v1/Player": player +"/games:v1/Player/avatarImageUrl": avatar_image_url +"/games:v1/Player/bannerUrlLandscape": banner_url_landscape +"/games:v1/Player/bannerUrlPortrait": banner_url_portrait +"/games:v1/Player/displayName": display_name +"/games:v1/Player/experienceInfo": experience_info +"/games:v1/Player/kind": kind +"/games:v1/Player/lastPlayedWith": last_played_with +"/games:v1/Player/name": name +"/games:v1/Player/name/familyName": family_name +"/games:v1/Player/name/givenName": given_name +"/games:v1/Player/originalPlayerId": original_player_id +"/games:v1/Player/playerId": player_id +"/games:v1/Player/profileSettings": profile_settings +"/games:v1/Player/title": title +"/games:v1/PlayerAchievement": player_achievement +"/games:v1/PlayerAchievement/achievementState": achievement_state +"/games:v1/PlayerAchievement/currentSteps": current_steps +"/games:v1/PlayerAchievement/experiencePoints": experience_points +"/games:v1/PlayerAchievement/formattedCurrentStepsString": formatted_current_steps_string +"/games:v1/PlayerAchievement/id": id +"/games:v1/PlayerAchievement/kind": kind +"/games:v1/PlayerAchievement/lastUpdatedTimestamp": last_updated_timestamp +"/games:v1/PlayerAchievementListResponse": list_player_achievement_response +"/games:v1/PlayerAchievementListResponse/items": items +"/games:v1/PlayerAchievementListResponse/items/item": item +"/games:v1/PlayerAchievementListResponse/kind": kind +"/games:v1/PlayerAchievementListResponse/nextPageToken": next_page_token +"/games:v1/PlayerEvent": player_event +"/games:v1/PlayerEvent/definitionId": definition_id +"/games:v1/PlayerEvent/formattedNumEvents": formatted_num_events +"/games:v1/PlayerEvent/kind": kind +"/games:v1/PlayerEvent/numEvents": num_events +"/games:v1/PlayerEvent/playerId": player_id +"/games:v1/PlayerEventListResponse": list_player_event_response +"/games:v1/PlayerEventListResponse/items": items +"/games:v1/PlayerEventListResponse/items/item": item +"/games:v1/PlayerEventListResponse/kind": kind +"/games:v1/PlayerEventListResponse/nextPageToken": next_page_token +"/games:v1/PlayerExperienceInfo": player_experience_info +"/games:v1/PlayerExperienceInfo/currentExperiencePoints": current_experience_points +"/games:v1/PlayerExperienceInfo/currentLevel": current_level +"/games:v1/PlayerExperienceInfo/kind": kind +"/games:v1/PlayerExperienceInfo/lastLevelUpTimestampMillis": last_level_up_timestamp_millis +"/games:v1/PlayerExperienceInfo/nextLevel": next_level +"/games:v1/PlayerLeaderboardScore": player_leaderboard_score +"/games:v1/PlayerLeaderboardScore/kind": kind +"/games:v1/PlayerLeaderboardScore/leaderboard_id": leaderboard_id +"/games:v1/PlayerLeaderboardScore/publicRank": public_rank +"/games:v1/PlayerLeaderboardScore/scoreString": score_string +"/games:v1/PlayerLeaderboardScore/scoreTag": score_tag +"/games:v1/PlayerLeaderboardScore/scoreValue": score_value +"/games:v1/PlayerLeaderboardScore/socialRank": social_rank +"/games:v1/PlayerLeaderboardScore/timeSpan": time_span +"/games:v1/PlayerLeaderboardScore/writeTimestamp": write_timestamp +"/games:v1/PlayerLeaderboardScoreListResponse": list_player_leaderboard_score_response +"/games:v1/PlayerLeaderboardScoreListResponse/items": items +"/games:v1/PlayerLeaderboardScoreListResponse/items/item": item +"/games:v1/PlayerLeaderboardScoreListResponse/kind": kind +"/games:v1/PlayerLeaderboardScoreListResponse/nextPageToken": next_page_token +"/games:v1/PlayerLeaderboardScoreListResponse/player": player +"/games:v1/PlayerLevel": player_level +"/games:v1/PlayerLevel/kind": kind +"/games:v1/PlayerLevel/level": level +"/games:v1/PlayerLevel/maxExperiencePoints": max_experience_points +"/games:v1/PlayerLevel/minExperiencePoints": min_experience_points +"/games:v1/PlayerListResponse": list_player_response +"/games:v1/PlayerListResponse/items": items +"/games:v1/PlayerListResponse/items/item": item +"/games:v1/PlayerListResponse/kind": kind +"/games:v1/PlayerListResponse/nextPageToken": next_page_token +"/games:v1/PlayerScore": player_score +"/games:v1/PlayerScore/formattedScore": formatted_score +"/games:v1/PlayerScore/kind": kind +"/games:v1/PlayerScore/score": score +"/games:v1/PlayerScore/scoreTag": score_tag +"/games:v1/PlayerScore/timeSpan": time_span +"/games:v1/PlayerScoreListResponse": list_player_score_response +"/games:v1/PlayerScoreListResponse/kind": kind +"/games:v1/PlayerScoreListResponse/submittedScores": submitted_scores +"/games:v1/PlayerScoreListResponse/submittedScores/submitted_score": submitted_score +"/games:v1/PlayerScoreResponse": player_score_response +"/games:v1/PlayerScoreResponse/beatenScoreTimeSpans": beaten_score_time_spans +"/games:v1/PlayerScoreResponse/beatenScoreTimeSpans/beaten_score_time_span": beaten_score_time_span +"/games:v1/PlayerScoreResponse/formattedScore": formatted_score +"/games:v1/PlayerScoreResponse/kind": kind +"/games:v1/PlayerScoreResponse/leaderboardId": leaderboard_id +"/games:v1/PlayerScoreResponse/scoreTag": score_tag +"/games:v1/PlayerScoreResponse/unbeatenScores": unbeaten_scores +"/games:v1/PlayerScoreResponse/unbeatenScores/unbeaten_score": unbeaten_score +"/games:v1/PlayerScoreSubmissionList": player_score_submission_list +"/games:v1/PlayerScoreSubmissionList/kind": kind +"/games:v1/PlayerScoreSubmissionList/scores": scores +"/games:v1/PlayerScoreSubmissionList/scores/score": score +"/games:v1/ProfileSettings": profile_settings +"/games:v1/ProfileSettings/kind": kind +"/games:v1/ProfileSettings/profileVisible": profile_visible +"/games:v1/PushToken": push_token +"/games:v1/PushToken/clientRevision": client_revision +"/games:v1/PushToken/id": id +"/games:v1/PushToken/kind": kind +"/games:v1/PushToken/language": language +"/games:v1/PushTokenId": push_token_id +"/games:v1/PushTokenId/ios": ios +"/games:v1/PushTokenId/ios/apns_device_token": apns_device_token +"/games:v1/PushTokenId/ios/apns_environment": apns_environment +"/games:v1/PushTokenId/kind": kind +"/games:v1/Quest": quest +"/games:v1/Quest/acceptedTimestampMillis": accepted_timestamp_millis +"/games:v1/Quest/applicationId": application_id +"/games:v1/Quest/bannerUrl": banner_url +"/games:v1/Quest/description": description +"/games:v1/Quest/endTimestampMillis": end_timestamp_millis +"/games:v1/Quest/iconUrl": icon_url +"/games:v1/Quest/id": id +"/games:v1/Quest/isDefaultBannerUrl": is_default_banner_url +"/games:v1/Quest/isDefaultIconUrl": is_default_icon_url +"/games:v1/Quest/kind": kind +"/games:v1/Quest/lastUpdatedTimestampMillis": last_updated_timestamp_millis +"/games:v1/Quest/milestones": milestones +"/games:v1/Quest/milestones/milestone": milestone +"/games:v1/Quest/name": name +"/games:v1/Quest/notifyTimestampMillis": notify_timestamp_millis +"/games:v1/Quest/startTimestampMillis": start_timestamp_millis +"/games:v1/Quest/state": state +"/games:v1/QuestContribution": quest_contribution +"/games:v1/QuestContribution/formattedValue": formatted_value +"/games:v1/QuestContribution/kind": kind +"/games:v1/QuestContribution/value": value +"/games:v1/QuestCriterion": quest_criterion +"/games:v1/QuestCriterion/completionContribution": completion_contribution +"/games:v1/QuestCriterion/currentContribution": current_contribution +"/games:v1/QuestCriterion/eventId": event_id +"/games:v1/QuestCriterion/initialPlayerProgress": initial_player_progress +"/games:v1/QuestCriterion/kind": kind +"/games:v1/QuestListResponse": list_quest_response +"/games:v1/QuestListResponse/items": items +"/games:v1/QuestListResponse/items/item": item +"/games:v1/QuestListResponse/kind": kind +"/games:v1/QuestListResponse/nextPageToken": next_page_token +"/games:v1/QuestMilestone": quest_milestone +"/games:v1/QuestMilestone/completionRewardData": completion_reward_data +"/games:v1/QuestMilestone/criteria": criteria +"/games:v1/QuestMilestone/criteria/criterium": criterium +"/games:v1/QuestMilestone/id": id +"/games:v1/QuestMilestone/kind": kind +"/games:v1/QuestMilestone/state": state +"/games:v1/RevisionCheckResponse": check_revision_response +"/games:v1/RevisionCheckResponse/apiVersion": api_version +"/games:v1/RevisionCheckResponse/kind": kind +"/games:v1/RevisionCheckResponse/revisionStatus": revision_status +"/games:v1/Room": room +"/games:v1/Room/applicationId": application_id +"/games:v1/Room/autoMatchingCriteria": auto_matching_criteria +"/games:v1/Room/autoMatchingStatus": auto_matching_status +"/games:v1/Room/creationDetails": creation_details +"/games:v1/Room/description": description +"/games:v1/Room/inviterId": inviter_id +"/games:v1/Room/kind": kind +"/games:v1/Room/lastUpdateDetails": last_update_details +"/games:v1/Room/participants": participants +"/games:v1/Room/participants/participant": participant +"/games:v1/Room/roomId": room_id +"/games:v1/Room/roomStatusVersion": room_status_version +"/games:v1/Room/status": status +"/games:v1/Room/variant": variant +"/games:v1/RoomAutoMatchStatus": room_auto_match_status +"/games:v1/RoomAutoMatchStatus/kind": kind +"/games:v1/RoomAutoMatchStatus/waitEstimateSeconds": wait_estimate_seconds +"/games:v1/RoomAutoMatchingCriteria": room_auto_matching_criteria +"/games:v1/RoomAutoMatchingCriteria/exclusiveBitmask": exclusive_bitmask +"/games:v1/RoomAutoMatchingCriteria/kind": kind +"/games:v1/RoomAutoMatchingCriteria/maxAutoMatchingPlayers": max_auto_matching_players +"/games:v1/RoomAutoMatchingCriteria/minAutoMatchingPlayers": min_auto_matching_players +"/games:v1/RoomClientAddress": room_client_address +"/games:v1/RoomClientAddress/kind": kind +"/games:v1/RoomClientAddress/xmppAddress": xmpp_address +"/games:v1/RoomCreateRequest": create_room_request +"/games:v1/RoomCreateRequest/autoMatchingCriteria": auto_matching_criteria +"/games:v1/RoomCreateRequest/capabilities": capabilities +"/games:v1/RoomCreateRequest/capabilities/capability": capability +"/games:v1/RoomCreateRequest/clientAddress": client_address +"/games:v1/RoomCreateRequest/invitedPlayerIds": invited_player_ids +"/games:v1/RoomCreateRequest/invitedPlayerIds/invited_player_id": invited_player_id +"/games:v1/RoomCreateRequest/kind": kind +"/games:v1/RoomCreateRequest/networkDiagnostics": network_diagnostics +"/games:v1/RoomCreateRequest/requestId": request_id +"/games:v1/RoomCreateRequest/variant": variant +"/games:v1/RoomJoinRequest": join_room_request +"/games:v1/RoomJoinRequest/capabilities": capabilities +"/games:v1/RoomJoinRequest/capabilities/capability": capability +"/games:v1/RoomJoinRequest/clientAddress": client_address +"/games:v1/RoomJoinRequest/kind": kind +"/games:v1/RoomJoinRequest/networkDiagnostics": network_diagnostics +"/games:v1/RoomLeaveDiagnostics": room_leave_diagnostics +"/games:v1/RoomLeaveDiagnostics/androidNetworkSubtype": android_network_subtype +"/games:v1/RoomLeaveDiagnostics/androidNetworkType": android_network_type +"/games:v1/RoomLeaveDiagnostics/iosNetworkType": ios_network_type +"/games:v1/RoomLeaveDiagnostics/kind": kind +"/games:v1/RoomLeaveDiagnostics/networkOperatorCode": network_operator_code +"/games:v1/RoomLeaveDiagnostics/networkOperatorName": network_operator_name +"/games:v1/RoomLeaveDiagnostics/peerSession": peer_session +"/games:v1/RoomLeaveDiagnostics/peerSession/peer_session": peer_session +"/games:v1/RoomLeaveDiagnostics/socketsUsed": sockets_used +"/games:v1/RoomLeaveRequest": leave_room_request +"/games:v1/RoomLeaveRequest/kind": kind +"/games:v1/RoomLeaveRequest/leaveDiagnostics": leave_diagnostics +"/games:v1/RoomLeaveRequest/reason": reason +"/games:v1/RoomList": room_list +"/games:v1/RoomList/items": items +"/games:v1/RoomList/items/item": item +"/games:v1/RoomList/kind": kind +"/games:v1/RoomList/nextPageToken": next_page_token +"/games:v1/RoomModification": room_modification +"/games:v1/RoomModification/kind": kind +"/games:v1/RoomModification/modifiedTimestampMillis": modified_timestamp_millis +"/games:v1/RoomModification/participantId": participant_id +"/games:v1/RoomP2PStatus": room_p2_p_status +"/games:v1/RoomP2PStatus/connectionSetupLatencyMillis": connection_setup_latency_millis +"/games:v1/RoomP2PStatus/error": error +"/games:v1/RoomP2PStatus/error_reason": error_reason +"/games:v1/RoomP2PStatus/kind": kind +"/games:v1/RoomP2PStatus/participantId": participant_id +"/games:v1/RoomP2PStatus/status": status +"/games:v1/RoomP2PStatus/unreliableRoundtripLatencyMillis": unreliable_roundtrip_latency_millis +"/games:v1/RoomP2PStatuses": room_p2_p_statuses +"/games:v1/RoomP2PStatuses/kind": kind +"/games:v1/RoomP2PStatuses/updates": updates +"/games:v1/RoomP2PStatuses/updates/update": update +"/games:v1/RoomParticipant": room_participant +"/games:v1/RoomParticipant/autoMatched": auto_matched +"/games:v1/RoomParticipant/autoMatchedPlayer": auto_matched_player +"/games:v1/RoomParticipant/capabilities": capabilities +"/games:v1/RoomParticipant/capabilities/capability": capability +"/games:v1/RoomParticipant/clientAddress": client_address +"/games:v1/RoomParticipant/connected": connected +"/games:v1/RoomParticipant/id": id +"/games:v1/RoomParticipant/kind": kind +"/games:v1/RoomParticipant/leaveReason": leave_reason +"/games:v1/RoomParticipant/player": player +"/games:v1/RoomParticipant/status": status +"/games:v1/RoomStatus": room_status +"/games:v1/RoomStatus/autoMatchingStatus": auto_matching_status +"/games:v1/RoomStatus/kind": kind +"/games:v1/RoomStatus/participants": participants +"/games:v1/RoomStatus/participants/participant": participant +"/games:v1/RoomStatus/roomId": room_id +"/games:v1/RoomStatus/status": status +"/games:v1/RoomStatus/statusVersion": status_version +"/games:v1/ScoreSubmission": score_submission +"/games:v1/ScoreSubmission/kind": kind +"/games:v1/ScoreSubmission/leaderboardId": leaderboard_id +"/games:v1/ScoreSubmission/score": score +"/games:v1/ScoreSubmission/scoreTag": score_tag +"/games:v1/ScoreSubmission/signature": signature +"/games:v1/Snapshot": snapshot +"/games:v1/Snapshot/coverImage": cover_image +"/games:v1/Snapshot/description": description +"/games:v1/Snapshot/driveId": drive_id +"/games:v1/Snapshot/durationMillis": duration_millis +"/games:v1/Snapshot/id": id +"/games:v1/Snapshot/kind": kind +"/games:v1/Snapshot/lastModifiedMillis": last_modified_millis +"/games:v1/Snapshot/progressValue": progress_value +"/games:v1/Snapshot/title": title +"/games:v1/Snapshot/type": type +"/games:v1/Snapshot/uniqueName": unique_name +"/games:v1/SnapshotImage": snapshot_image +"/games:v1/SnapshotImage/height": height +"/games:v1/SnapshotImage/kind": kind +"/games:v1/SnapshotImage/mime_type": mime_type +"/games:v1/SnapshotImage/url": url +"/games:v1/SnapshotImage/width": width +"/games:v1/SnapshotListResponse": list_snapshot_response +"/games:v1/SnapshotListResponse/items": items +"/games:v1/SnapshotListResponse/items/item": item +"/games:v1/SnapshotListResponse/kind": kind +"/games:v1/SnapshotListResponse/nextPageToken": next_page_token +"/games:v1/TurnBasedAutoMatchingCriteria": turn_based_auto_matching_criteria +"/games:v1/TurnBasedAutoMatchingCriteria/exclusiveBitmask": exclusive_bitmask +"/games:v1/TurnBasedAutoMatchingCriteria/kind": kind +"/games:v1/TurnBasedAutoMatchingCriteria/maxAutoMatchingPlayers": max_auto_matching_players +"/games:v1/TurnBasedAutoMatchingCriteria/minAutoMatchingPlayers": min_auto_matching_players +"/games:v1/TurnBasedMatch": turn_based_match +"/games:v1/TurnBasedMatch/applicationId": application_id +"/games:v1/TurnBasedMatch/autoMatchingCriteria": auto_matching_criteria +"/games:v1/TurnBasedMatch/creationDetails": creation_details +"/games:v1/TurnBasedMatch/data": data +"/games:v1/TurnBasedMatch/description": description +"/games:v1/TurnBasedMatch/inviterId": inviter_id +"/games:v1/TurnBasedMatch/kind": kind +"/games:v1/TurnBasedMatch/lastUpdateDetails": last_update_details +"/games:v1/TurnBasedMatch/matchId": match_id +"/games:v1/TurnBasedMatch/matchNumber": match_number +"/games:v1/TurnBasedMatch/matchVersion": match_version +"/games:v1/TurnBasedMatch/participants": participants +"/games:v1/TurnBasedMatch/participants/participant": participant +"/games:v1/TurnBasedMatch/pendingParticipantId": pending_participant_id +"/games:v1/TurnBasedMatch/previousMatchData": previous_match_data +"/games:v1/TurnBasedMatch/rematchId": rematch_id +"/games:v1/TurnBasedMatch/results": results +"/games:v1/TurnBasedMatch/results/result": result +"/games:v1/TurnBasedMatch/status": status +"/games:v1/TurnBasedMatch/userMatchStatus": user_match_status +"/games:v1/TurnBasedMatch/variant": variant +"/games:v1/TurnBasedMatch/withParticipantId": with_participant_id +"/games:v1/TurnBasedMatchCreateRequest": create_turn_based_match_request +"/games:v1/TurnBasedMatchCreateRequest/autoMatchingCriteria": auto_matching_criteria +"/games:v1/TurnBasedMatchCreateRequest/invitedPlayerIds": invited_player_ids +"/games:v1/TurnBasedMatchCreateRequest/invitedPlayerIds/invited_player_id": invited_player_id +"/games:v1/TurnBasedMatchCreateRequest/kind": kind +"/games:v1/TurnBasedMatchCreateRequest/requestId": request_id +"/games:v1/TurnBasedMatchCreateRequest/variant": variant +"/games:v1/TurnBasedMatchData": turn_based_match_data +"/games:v1/TurnBasedMatchData/data": data +"/games:v1/TurnBasedMatchData/dataAvailable": data_available +"/games:v1/TurnBasedMatchData/kind": kind +"/games:v1/TurnBasedMatchDataRequest": turn_based_match_data_request +"/games:v1/TurnBasedMatchDataRequest/data": data +"/games:v1/TurnBasedMatchDataRequest/kind": kind +"/games:v1/TurnBasedMatchList": turn_based_match_list +"/games:v1/TurnBasedMatchList/items": items +"/games:v1/TurnBasedMatchList/items/item": item +"/games:v1/TurnBasedMatchList/kind": kind +"/games:v1/TurnBasedMatchList/nextPageToken": next_page_token +"/games:v1/TurnBasedMatchModification": turn_based_match_modification +"/games:v1/TurnBasedMatchModification/kind": kind +"/games:v1/TurnBasedMatchModification/modifiedTimestampMillis": modified_timestamp_millis +"/games:v1/TurnBasedMatchModification/participantId": participant_id +"/games:v1/TurnBasedMatchParticipant": turn_based_match_participant +"/games:v1/TurnBasedMatchParticipant/autoMatched": auto_matched +"/games:v1/TurnBasedMatchParticipant/autoMatchedPlayer": auto_matched_player +"/games:v1/TurnBasedMatchParticipant/id": id +"/games:v1/TurnBasedMatchParticipant/kind": kind +"/games:v1/TurnBasedMatchParticipant/player": player +"/games:v1/TurnBasedMatchParticipant/status": status +"/games:v1/TurnBasedMatchRematch": turn_based_match_rematch +"/games:v1/TurnBasedMatchRematch/kind": kind +"/games:v1/TurnBasedMatchRematch/previousMatch": previous_match +"/games:v1/TurnBasedMatchRematch/rematch": rematch +"/games:v1/TurnBasedMatchResults": turn_based_match_results +"/games:v1/TurnBasedMatchResults/data": data +"/games:v1/TurnBasedMatchResults/kind": kind +"/games:v1/TurnBasedMatchResults/matchVersion": match_version +"/games:v1/TurnBasedMatchResults/results": results +"/games:v1/TurnBasedMatchResults/results/result": result +"/games:v1/TurnBasedMatchSync": turn_based_match_sync +"/games:v1/TurnBasedMatchSync/items": items +"/games:v1/TurnBasedMatchSync/items/item": item +"/games:v1/TurnBasedMatchSync/kind": kind +"/games:v1/TurnBasedMatchSync/moreAvailable": more_available +"/games:v1/TurnBasedMatchSync/nextPageToken": next_page_token +"/games:v1/TurnBasedMatchTurn": turn_based_match_turn +"/games:v1/TurnBasedMatchTurn/data": data +"/games:v1/TurnBasedMatchTurn/kind": kind +"/games:v1/TurnBasedMatchTurn/matchVersion": match_version +"/games:v1/TurnBasedMatchTurn/pendingParticipantId": pending_participant_id +"/games:v1/TurnBasedMatchTurn/results": results +"/games:v1/TurnBasedMatchTurn/results/result": result "/games:v1/fields": fields -"/games:v1/key": key -"/games:v1/quotaUser": quota_user -"/games:v1/userIp": user_ip "/games:v1/games.achievementDefinitions.list": list_achievement_definitions "/games:v1/games.achievementDefinitions.list/consistencyToken": consistency_token "/games:v1/games.achievementDefinitions.list/language": language @@ -28587,6 +29739,7 @@ "/games:v1/games.achievements.unlock": unlock_achievement "/games:v1/games.achievements.unlock/achievementId": achievement_id "/games:v1/games.achievements.unlock/consistencyToken": consistency_token +"/games:v1/games.achievements.updateMultiple": update_multiple_achievements "/games:v1/games.achievements.updateMultiple/consistencyToken": consistency_token "/games:v1/games.applications.get": get_application "/games:v1/games.applications.get/applicationId": application_id @@ -28603,6 +29756,7 @@ "/games:v1/games.events.listByPlayer/language": language "/games:v1/games.events.listByPlayer/maxResults": max_results "/games:v1/games.events.listByPlayer/pageToken": page_token +"/games:v1/games.events.listDefinitions": list_event_definitions "/games:v1/games.events.listDefinitions/consistencyToken": consistency_token "/games:v1/games.events.listDefinitions/language": language "/games:v1/games.events.listDefinitions/maxResults": max_results @@ -28619,6 +29773,7 @@ "/games:v1/games.leaderboards.list/language": language "/games:v1/games.leaderboards.list/maxResults": max_results "/games:v1/games.leaderboards.list/pageToken": page_token +"/games:v1/games.metagame.getMetagameConfig": get_metagame_config "/games:v1/games.metagame.getMetagameConfig/consistencyToken": consistency_token "/games:v1/games.metagame.listCategoriesByPlayer": list_metagame_categories_by_player "/games:v1/games.metagame.listCategoriesByPlayer/collection": collection @@ -28686,6 +29841,7 @@ "/games:v1/games.rooms.list/language": language "/games:v1/games.rooms.list/maxResults": max_results "/games:v1/games.rooms.list/pageToken": page_token +"/games:v1/games.rooms.reportStatus": report_room_status "/games:v1/games.rooms.reportStatus/consistencyToken": consistency_token "/games:v1/games.rooms.reportStatus/language": language "/games:v1/games.rooms.reportStatus/roomId": room_id @@ -28765,6 +29921,7 @@ "/games:v1/games.turnBasedMatches.leave/consistencyToken": consistency_token "/games:v1/games.turnBasedMatches.leave/language": language "/games:v1/games.turnBasedMatches.leave/matchId": match_id +"/games:v1/games.turnBasedMatches.leaveTurn": leave_turn "/games:v1/games.turnBasedMatches.leaveTurn/consistencyToken": consistency_token "/games:v1/games.turnBasedMatches.leaveTurn/language": language "/games:v1/games.turnBasedMatches.leaveTurn/matchId": match_id @@ -28789,638 +29946,13 @@ "/games:v1/games.turnBasedMatches.sync/maxCompletedMatches": max_completed_matches "/games:v1/games.turnBasedMatches.sync/maxResults": max_results "/games:v1/games.turnBasedMatches.sync/pageToken": page_token +"/games:v1/games.turnBasedMatches.takeTurn": take_turn "/games:v1/games.turnBasedMatches.takeTurn/consistencyToken": consistency_token "/games:v1/games.turnBasedMatches.takeTurn/language": language "/games:v1/games.turnBasedMatches.takeTurn/matchId": match_id -"/games:v1/AchievementDefinition": achievement_definition -"/games:v1/AchievementDefinition/achievementType": achievement_type -"/games:v1/AchievementDefinition/description": description -"/games:v1/AchievementDefinition/experiencePoints": experience_points -"/games:v1/AchievementDefinition/formattedTotalSteps": formatted_total_steps -"/games:v1/AchievementDefinition/id": id -"/games:v1/AchievementDefinition/initialState": initial_state -"/games:v1/AchievementDefinition/isRevealedIconUrlDefault": is_revealed_icon_url_default -"/games:v1/AchievementDefinition/isUnlockedIconUrlDefault": is_unlocked_icon_url_default -"/games:v1/AchievementDefinition/kind": kind -"/games:v1/AchievementDefinition/name": name -"/games:v1/AchievementDefinition/revealedIconUrl": revealed_icon_url -"/games:v1/AchievementDefinition/totalSteps": total_steps -"/games:v1/AchievementDefinition/unlockedIconUrl": unlocked_icon_url -"/games:v1/AchievementDefinitionsListResponse/items": items -"/games:v1/AchievementDefinitionsListResponse/items/item": item -"/games:v1/AchievementDefinitionsListResponse/kind": kind -"/games:v1/AchievementDefinitionsListResponse/nextPageToken": next_page_token -"/games:v1/AchievementIncrementResponse/currentSteps": current_steps -"/games:v1/AchievementIncrementResponse/kind": kind -"/games:v1/AchievementIncrementResponse/newlyUnlocked": newly_unlocked -"/games:v1/AchievementRevealResponse/currentState": current_state -"/games:v1/AchievementRevealResponse/kind": kind -"/games:v1/AchievementSetStepsAtLeastResponse/currentSteps": current_steps -"/games:v1/AchievementSetStepsAtLeastResponse/kind": kind -"/games:v1/AchievementSetStepsAtLeastResponse/newlyUnlocked": newly_unlocked -"/games:v1/AchievementUnlockResponse/kind": kind -"/games:v1/AchievementUnlockResponse/newlyUnlocked": newly_unlocked -"/games:v1/AchievementUpdateMultipleRequest/kind": kind -"/games:v1/AchievementUpdateMultipleRequest/updates": updates -"/games:v1/AchievementUpdateMultipleRequest/updates/update": update -"/games:v1/AchievementUpdateMultipleResponse/kind": kind -"/games:v1/AchievementUpdateMultipleResponse/updatedAchievements": updated_achievements -"/games:v1/AchievementUpdateMultipleResponse/updatedAchievements/updated_achievement": updated_achievement -"/games:v1/AchievementUpdateRequest/achievementId": achievement_id -"/games:v1/AchievementUpdateRequest/incrementPayload": increment_payload -"/games:v1/AchievementUpdateRequest/kind": kind -"/games:v1/AchievementUpdateRequest/setStepsAtLeastPayload": set_steps_at_least_payload -"/games:v1/AchievementUpdateRequest/updateType": update_type -"/games:v1/AchievementUpdateResponse/achievementId": achievement_id -"/games:v1/AchievementUpdateResponse/currentState": current_state -"/games:v1/AchievementUpdateResponse/currentSteps": current_steps -"/games:v1/AchievementUpdateResponse/kind": kind -"/games:v1/AchievementUpdateResponse/newlyUnlocked": newly_unlocked -"/games:v1/AchievementUpdateResponse/updateOccurred": update_occurred -"/games:v1/AggregateStats": aggregate_stats -"/games:v1/AggregateStats/count": count -"/games:v1/AggregateStats/kind": kind -"/games:v1/AggregateStats/max": max -"/games:v1/AggregateStats/min": min -"/games:v1/AggregateStats/sum": sum -"/games:v1/AnonymousPlayer": anonymous_player -"/games:v1/AnonymousPlayer/avatarImageUrl": avatar_image_url -"/games:v1/AnonymousPlayer/displayName": display_name -"/games:v1/AnonymousPlayer/kind": kind -"/games:v1/Application": application -"/games:v1/Application/achievement_count": achievement_count -"/games:v1/Application/assets": assets -"/games:v1/Application/assets/asset": asset -"/games:v1/Application/author": author -"/games:v1/Application/category": category -"/games:v1/Application/description": description -"/games:v1/Application/enabledFeatures": enabled_features -"/games:v1/Application/enabledFeatures/enabled_feature": enabled_feature -"/games:v1/Application/id": id -"/games:v1/Application/instances": instances -"/games:v1/Application/instances/instance": instance -"/games:v1/Application/kind": kind -"/games:v1/Application/lastUpdatedTimestamp": last_updated_timestamp -"/games:v1/Application/leaderboard_count": leaderboard_count -"/games:v1/Application/name": name -"/games:v1/Application/themeColor": theme_color -"/games:v1/ApplicationCategory": application_category -"/games:v1/ApplicationCategory/kind": kind -"/games:v1/ApplicationCategory/primary": primary -"/games:v1/ApplicationCategory/secondary": secondary -"/games:v1/ApplicationVerifyResponse": application_verify_response -"/games:v1/ApplicationVerifyResponse/alternate_player_id": alternate_player_id -"/games:v1/ApplicationVerifyResponse/kind": kind -"/games:v1/ApplicationVerifyResponse/player_id": player_id -"/games:v1/Category": category -"/games:v1/Category/category": category -"/games:v1/Category/experiencePoints": experience_points -"/games:v1/Category/kind": kind -"/games:v1/CategoryListResponse/items": items -"/games:v1/CategoryListResponse/items/item": item -"/games:v1/CategoryListResponse/kind": kind -"/games:v1/CategoryListResponse/nextPageToken": next_page_token -"/games:v1/EventBatchRecordFailure": event_batch_record_failure -"/games:v1/EventBatchRecordFailure/failureCause": failure_cause -"/games:v1/EventBatchRecordFailure/kind": kind -"/games:v1/EventBatchRecordFailure/range": range -"/games:v1/EventChild": event_child -"/games:v1/EventChild/childId": child_id -"/games:v1/EventChild/kind": kind -"/games:v1/EventDefinition": event_definition -"/games:v1/EventDefinition/childEvents": child_events -"/games:v1/EventDefinition/childEvents/child_event": child_event -"/games:v1/EventDefinition/description": description -"/games:v1/EventDefinition/displayName": display_name -"/games:v1/EventDefinition/id": id -"/games:v1/EventDefinition/imageUrl": image_url -"/games:v1/EventDefinition/isDefaultImageUrl": is_default_image_url -"/games:v1/EventDefinition/kind": kind -"/games:v1/EventDefinition/visibility": visibility -"/games:v1/EventDefinitionListResponse/items": items -"/games:v1/EventDefinitionListResponse/items/item": item -"/games:v1/EventDefinitionListResponse/kind": kind -"/games:v1/EventDefinitionListResponse/nextPageToken": next_page_token -"/games:v1/EventPeriodRange": event_period_range -"/games:v1/EventPeriodRange/kind": kind -"/games:v1/EventPeriodRange/periodEndMillis": period_end_millis -"/games:v1/EventPeriodRange/periodStartMillis": period_start_millis -"/games:v1/EventPeriodUpdate": event_period_update -"/games:v1/EventPeriodUpdate/kind": kind -"/games:v1/EventPeriodUpdate/timePeriod": time_period -"/games:v1/EventPeriodUpdate/updates": updates -"/games:v1/EventPeriodUpdate/updates/update": update -"/games:v1/EventRecordFailure": event_record_failure -"/games:v1/EventRecordFailure/eventId": event_id -"/games:v1/EventRecordFailure/failureCause": failure_cause -"/games:v1/EventRecordFailure/kind": kind -"/games:v1/EventRecordRequest/currentTimeMillis": current_time_millis -"/games:v1/EventRecordRequest/kind": kind -"/games:v1/EventRecordRequest/requestId": request_id -"/games:v1/EventRecordRequest/timePeriods": time_periods -"/games:v1/EventRecordRequest/timePeriods/time_period": time_period -"/games:v1/EventUpdateRequest/definitionId": definition_id -"/games:v1/EventUpdateRequest/kind": kind -"/games:v1/EventUpdateRequest/updateCount": update_count -"/games:v1/EventUpdateResponse/batchFailures": batch_failures -"/games:v1/EventUpdateResponse/batchFailures/batch_failure": batch_failure -"/games:v1/EventUpdateResponse/eventFailures": event_failures -"/games:v1/EventUpdateResponse/eventFailures/event_failure": event_failure -"/games:v1/EventUpdateResponse/kind": kind -"/games:v1/EventUpdateResponse/playerEvents": player_events -"/games:v1/EventUpdateResponse/playerEvents/player_event": player_event -"/games:v1/GamesAchievementIncrement": games_achievement_increment -"/games:v1/GamesAchievementIncrement/kind": kind -"/games:v1/GamesAchievementIncrement/requestId": request_id -"/games:v1/GamesAchievementIncrement/steps": steps -"/games:v1/GamesAchievementSetStepsAtLeast": games_achievement_set_steps_at_least -"/games:v1/GamesAchievementSetStepsAtLeast/kind": kind -"/games:v1/GamesAchievementSetStepsAtLeast/steps": steps -"/games:v1/ImageAsset": image_asset -"/games:v1/ImageAsset/height": height -"/games:v1/ImageAsset/kind": kind -"/games:v1/ImageAsset/name": name -"/games:v1/ImageAsset/url": url -"/games:v1/ImageAsset/width": width -"/games:v1/Instance": instance -"/games:v1/Instance/acquisitionUri": acquisition_uri -"/games:v1/Instance/androidInstance": android_instance -"/games:v1/Instance/iosInstance": ios_instance -"/games:v1/Instance/kind": kind -"/games:v1/Instance/name": name -"/games:v1/Instance/platformType": platform_type -"/games:v1/Instance/realtimePlay": realtime_play -"/games:v1/Instance/turnBasedPlay": turn_based_play -"/games:v1/Instance/webInstance": web_instance -"/games:v1/InstanceAndroidDetails": instance_android_details -"/games:v1/InstanceAndroidDetails/enablePiracyCheck": enable_piracy_check -"/games:v1/InstanceAndroidDetails/kind": kind -"/games:v1/InstanceAndroidDetails/packageName": package_name -"/games:v1/InstanceAndroidDetails/preferred": preferred -"/games:v1/InstanceIosDetails": instance_ios_details -"/games:v1/InstanceIosDetails/bundleIdentifier": bundle_identifier -"/games:v1/InstanceIosDetails/itunesAppId": itunes_app_id -"/games:v1/InstanceIosDetails/kind": kind -"/games:v1/InstanceIosDetails/preferredForIpad": preferred_for_ipad -"/games:v1/InstanceIosDetails/preferredForIphone": preferred_for_iphone -"/games:v1/InstanceIosDetails/supportIpad": support_ipad -"/games:v1/InstanceIosDetails/supportIphone": support_iphone -"/games:v1/InstanceWebDetails": instance_web_details -"/games:v1/InstanceWebDetails/kind": kind -"/games:v1/InstanceWebDetails/launchUrl": launch_url -"/games:v1/InstanceWebDetails/preferred": preferred -"/games:v1/Leaderboard": leaderboard -"/games:v1/Leaderboard/iconUrl": icon_url -"/games:v1/Leaderboard/id": id -"/games:v1/Leaderboard/isIconUrlDefault": is_icon_url_default -"/games:v1/Leaderboard/kind": kind -"/games:v1/Leaderboard/name": name -"/games:v1/Leaderboard/order": order -"/games:v1/LeaderboardEntry": leaderboard_entry -"/games:v1/LeaderboardEntry/formattedScore": formatted_score -"/games:v1/LeaderboardEntry/formattedScoreRank": formatted_score_rank -"/games:v1/LeaderboardEntry/kind": kind -"/games:v1/LeaderboardEntry/player": player -"/games:v1/LeaderboardEntry/scoreRank": score_rank -"/games:v1/LeaderboardEntry/scoreTag": score_tag -"/games:v1/LeaderboardEntry/scoreValue": score_value -"/games:v1/LeaderboardEntry/timeSpan": time_span -"/games:v1/LeaderboardEntry/writeTimestampMillis": write_timestamp_millis -"/games:v1/LeaderboardListResponse/items": items -"/games:v1/LeaderboardListResponse/items/item": item -"/games:v1/LeaderboardListResponse/kind": kind -"/games:v1/LeaderboardListResponse/nextPageToken": next_page_token -"/games:v1/LeaderboardScoreRank": leaderboard_score_rank -"/games:v1/LeaderboardScoreRank/formattedNumScores": formatted_num_scores -"/games:v1/LeaderboardScoreRank/formattedRank": formatted_rank -"/games:v1/LeaderboardScoreRank/kind": kind -"/games:v1/LeaderboardScoreRank/numScores": num_scores -"/games:v1/LeaderboardScoreRank/rank": rank -"/games:v1/LeaderboardScores": leaderboard_scores -"/games:v1/LeaderboardScores/items": items -"/games:v1/LeaderboardScores/items/item": item -"/games:v1/LeaderboardScores/kind": kind -"/games:v1/LeaderboardScores/nextPageToken": next_page_token -"/games:v1/LeaderboardScores/numScores": num_scores -"/games:v1/LeaderboardScores/playerScore": player_score -"/games:v1/LeaderboardScores/prevPageToken": prev_page_token -"/games:v1/MetagameConfig": metagame_config -"/games:v1/MetagameConfig/currentVersion": current_version -"/games:v1/MetagameConfig/kind": kind -"/games:v1/MetagameConfig/playerLevels": player_levels -"/games:v1/MetagameConfig/playerLevels/player_level": player_level -"/games:v1/NetworkDiagnostics": network_diagnostics -"/games:v1/NetworkDiagnostics/androidNetworkSubtype": android_network_subtype -"/games:v1/NetworkDiagnostics/androidNetworkType": android_network_type -"/games:v1/NetworkDiagnostics/iosNetworkType": ios_network_type -"/games:v1/NetworkDiagnostics/kind": kind -"/games:v1/NetworkDiagnostics/networkOperatorCode": network_operator_code -"/games:v1/NetworkDiagnostics/networkOperatorName": network_operator_name -"/games:v1/NetworkDiagnostics/registrationLatencyMillis": registration_latency_millis -"/games:v1/ParticipantResult": participant_result -"/games:v1/ParticipantResult/kind": kind -"/games:v1/ParticipantResult/participantId": participant_id -"/games:v1/ParticipantResult/placing": placing -"/games:v1/ParticipantResult/result": result -"/games:v1/PeerChannelDiagnostics": peer_channel_diagnostics -"/games:v1/PeerChannelDiagnostics/bytesReceived": bytes_received -"/games:v1/PeerChannelDiagnostics/bytesSent": bytes_sent -"/games:v1/PeerChannelDiagnostics/kind": kind -"/games:v1/PeerChannelDiagnostics/numMessagesLost": num_messages_lost -"/games:v1/PeerChannelDiagnostics/numMessagesReceived": num_messages_received -"/games:v1/PeerChannelDiagnostics/numMessagesSent": num_messages_sent -"/games:v1/PeerChannelDiagnostics/numSendFailures": num_send_failures -"/games:v1/PeerChannelDiagnostics/roundtripLatencyMillis": roundtrip_latency_millis -"/games:v1/PeerSessionDiagnostics": peer_session_diagnostics -"/games:v1/PeerSessionDiagnostics/connectedTimestampMillis": connected_timestamp_millis -"/games:v1/PeerSessionDiagnostics/kind": kind -"/games:v1/PeerSessionDiagnostics/participantId": participant_id -"/games:v1/PeerSessionDiagnostics/reliableChannel": reliable_channel -"/games:v1/PeerSessionDiagnostics/unreliableChannel": unreliable_channel -"/games:v1/Played": played -"/games:v1/Played/autoMatched": auto_matched -"/games:v1/Played/kind": kind -"/games:v1/Played/timeMillis": time_millis -"/games:v1/Player": player -"/games:v1/Player/avatarImageUrl": avatar_image_url -"/games:v1/Player/bannerUrlLandscape": banner_url_landscape -"/games:v1/Player/bannerUrlPortrait": banner_url_portrait -"/games:v1/Player/displayName": display_name -"/games:v1/Player/experienceInfo": experience_info -"/games:v1/Player/kind": kind -"/games:v1/Player/lastPlayedWith": last_played_with -"/games:v1/Player/name": name -"/games:v1/Player/name/familyName": family_name -"/games:v1/Player/name/givenName": given_name -"/games:v1/Player/originalPlayerId": original_player_id -"/games:v1/Player/playerId": player_id -"/games:v1/Player/profileSettings": profile_settings -"/games:v1/Player/title": title -"/games:v1/PlayerAchievement": player_achievement -"/games:v1/PlayerAchievement/achievementState": achievement_state -"/games:v1/PlayerAchievement/currentSteps": current_steps -"/games:v1/PlayerAchievement/experiencePoints": experience_points -"/games:v1/PlayerAchievement/formattedCurrentStepsString": formatted_current_steps_string -"/games:v1/PlayerAchievement/id": id -"/games:v1/PlayerAchievement/kind": kind -"/games:v1/PlayerAchievement/lastUpdatedTimestamp": last_updated_timestamp -"/games:v1/PlayerAchievementListResponse/items": items -"/games:v1/PlayerAchievementListResponse/items/item": item -"/games:v1/PlayerAchievementListResponse/kind": kind -"/games:v1/PlayerAchievementListResponse/nextPageToken": next_page_token -"/games:v1/PlayerEvent": player_event -"/games:v1/PlayerEvent/definitionId": definition_id -"/games:v1/PlayerEvent/formattedNumEvents": formatted_num_events -"/games:v1/PlayerEvent/kind": kind -"/games:v1/PlayerEvent/numEvents": num_events -"/games:v1/PlayerEvent/playerId": player_id -"/games:v1/PlayerEventListResponse/items": items -"/games:v1/PlayerEventListResponse/items/item": item -"/games:v1/PlayerEventListResponse/kind": kind -"/games:v1/PlayerEventListResponse/nextPageToken": next_page_token -"/games:v1/PlayerExperienceInfo": player_experience_info -"/games:v1/PlayerExperienceInfo/currentExperiencePoints": current_experience_points -"/games:v1/PlayerExperienceInfo/currentLevel": current_level -"/games:v1/PlayerExperienceInfo/kind": kind -"/games:v1/PlayerExperienceInfo/lastLevelUpTimestampMillis": last_level_up_timestamp_millis -"/games:v1/PlayerExperienceInfo/nextLevel": next_level -"/games:v1/PlayerLeaderboardScore": player_leaderboard_score -"/games:v1/PlayerLeaderboardScore/kind": kind -"/games:v1/PlayerLeaderboardScore/leaderboard_id": leaderboard_id -"/games:v1/PlayerLeaderboardScore/publicRank": public_rank -"/games:v1/PlayerLeaderboardScore/scoreString": score_string -"/games:v1/PlayerLeaderboardScore/scoreTag": score_tag -"/games:v1/PlayerLeaderboardScore/scoreValue": score_value -"/games:v1/PlayerLeaderboardScore/socialRank": social_rank -"/games:v1/PlayerLeaderboardScore/timeSpan": time_span -"/games:v1/PlayerLeaderboardScore/writeTimestamp": write_timestamp -"/games:v1/PlayerLeaderboardScoreListResponse/items": items -"/games:v1/PlayerLeaderboardScoreListResponse/items/item": item -"/games:v1/PlayerLeaderboardScoreListResponse/kind": kind -"/games:v1/PlayerLeaderboardScoreListResponse/nextPageToken": next_page_token -"/games:v1/PlayerLeaderboardScoreListResponse/player": player -"/games:v1/PlayerLevel": player_level -"/games:v1/PlayerLevel/kind": kind -"/games:v1/PlayerLevel/level": level -"/games:v1/PlayerLevel/maxExperiencePoints": max_experience_points -"/games:v1/PlayerLevel/minExperiencePoints": min_experience_points -"/games:v1/PlayerListResponse/items": items -"/games:v1/PlayerListResponse/items/item": item -"/games:v1/PlayerListResponse/kind": kind -"/games:v1/PlayerListResponse/nextPageToken": next_page_token -"/games:v1/PlayerScore": player_score -"/games:v1/PlayerScore/formattedScore": formatted_score -"/games:v1/PlayerScore/kind": kind -"/games:v1/PlayerScore/score": score -"/games:v1/PlayerScore/scoreTag": score_tag -"/games:v1/PlayerScore/timeSpan": time_span -"/games:v1/PlayerScoreListResponse/kind": kind -"/games:v1/PlayerScoreListResponse/submittedScores": submitted_scores -"/games:v1/PlayerScoreListResponse/submittedScores/submitted_score": submitted_score -"/games:v1/PlayerScoreResponse/beatenScoreTimeSpans": beaten_score_time_spans -"/games:v1/PlayerScoreResponse/beatenScoreTimeSpans/beaten_score_time_span": beaten_score_time_span -"/games:v1/PlayerScoreResponse/formattedScore": formatted_score -"/games:v1/PlayerScoreResponse/kind": kind -"/games:v1/PlayerScoreResponse/leaderboardId": leaderboard_id -"/games:v1/PlayerScoreResponse/scoreTag": score_tag -"/games:v1/PlayerScoreResponse/unbeatenScores": unbeaten_scores -"/games:v1/PlayerScoreResponse/unbeatenScores/unbeaten_score": unbeaten_score -"/games:v1/PlayerScoreSubmissionList": player_score_submission_list -"/games:v1/PlayerScoreSubmissionList/kind": kind -"/games:v1/PlayerScoreSubmissionList/scores": scores -"/games:v1/PlayerScoreSubmissionList/scores/score": score -"/games:v1/ProfileSettings": profile_settings -"/games:v1/ProfileSettings/kind": kind -"/games:v1/ProfileSettings/profileVisible": profile_visible -"/games:v1/PushToken": push_token -"/games:v1/PushToken/clientRevision": client_revision -"/games:v1/PushToken/id": id -"/games:v1/PushToken/kind": kind -"/games:v1/PushToken/language": language -"/games:v1/PushTokenId": push_token_id -"/games:v1/PushTokenId/ios": ios -"/games:v1/PushTokenId/ios/apns_device_token": apns_device_token -"/games:v1/PushTokenId/ios/apns_environment": apns_environment -"/games:v1/PushTokenId/kind": kind -"/games:v1/Quest": quest -"/games:v1/Quest/acceptedTimestampMillis": accepted_timestamp_millis -"/games:v1/Quest/applicationId": application_id -"/games:v1/Quest/bannerUrl": banner_url -"/games:v1/Quest/description": description -"/games:v1/Quest/endTimestampMillis": end_timestamp_millis -"/games:v1/Quest/iconUrl": icon_url -"/games:v1/Quest/id": id -"/games:v1/Quest/isDefaultBannerUrl": is_default_banner_url -"/games:v1/Quest/isDefaultIconUrl": is_default_icon_url -"/games:v1/Quest/kind": kind -"/games:v1/Quest/lastUpdatedTimestampMillis": last_updated_timestamp_millis -"/games:v1/Quest/milestones": milestones -"/games:v1/Quest/milestones/milestone": milestone -"/games:v1/Quest/name": name -"/games:v1/Quest/notifyTimestampMillis": notify_timestamp_millis -"/games:v1/Quest/startTimestampMillis": start_timestamp_millis -"/games:v1/Quest/state": state -"/games:v1/QuestContribution": quest_contribution -"/games:v1/QuestContribution/formattedValue": formatted_value -"/games:v1/QuestContribution/kind": kind -"/games:v1/QuestContribution/value": value -"/games:v1/QuestCriterion": quest_criterion -"/games:v1/QuestCriterion/completionContribution": completion_contribution -"/games:v1/QuestCriterion/currentContribution": current_contribution -"/games:v1/QuestCriterion/eventId": event_id -"/games:v1/QuestCriterion/initialPlayerProgress": initial_player_progress -"/games:v1/QuestCriterion/kind": kind -"/games:v1/QuestListResponse/items": items -"/games:v1/QuestListResponse/items/item": item -"/games:v1/QuestListResponse/kind": kind -"/games:v1/QuestListResponse/nextPageToken": next_page_token -"/games:v1/QuestMilestone": quest_milestone -"/games:v1/QuestMilestone/completionRewardData": completion_reward_data -"/games:v1/QuestMilestone/criteria": criteria -"/games:v1/QuestMilestone/criteria/criterium": criterium -"/games:v1/QuestMilestone/id": id -"/games:v1/QuestMilestone/kind": kind -"/games:v1/QuestMilestone/state": state -"/games:v1/RevisionCheckResponse/apiVersion": api_version -"/games:v1/RevisionCheckResponse/kind": kind -"/games:v1/RevisionCheckResponse/revisionStatus": revision_status -"/games:v1/Room": room -"/games:v1/Room/applicationId": application_id -"/games:v1/Room/autoMatchingCriteria": auto_matching_criteria -"/games:v1/Room/autoMatchingStatus": auto_matching_status -"/games:v1/Room/creationDetails": creation_details -"/games:v1/Room/description": description -"/games:v1/Room/inviterId": inviter_id -"/games:v1/Room/kind": kind -"/games:v1/Room/lastUpdateDetails": last_update_details -"/games:v1/Room/participants": participants -"/games:v1/Room/participants/participant": participant -"/games:v1/Room/roomId": room_id -"/games:v1/Room/roomStatusVersion": room_status_version -"/games:v1/Room/status": status -"/games:v1/Room/variant": variant -"/games:v1/RoomAutoMatchStatus": room_auto_match_status -"/games:v1/RoomAutoMatchStatus/kind": kind -"/games:v1/RoomAutoMatchStatus/waitEstimateSeconds": wait_estimate_seconds -"/games:v1/RoomAutoMatchingCriteria": room_auto_matching_criteria -"/games:v1/RoomAutoMatchingCriteria/exclusiveBitmask": exclusive_bitmask -"/games:v1/RoomAutoMatchingCriteria/kind": kind -"/games:v1/RoomAutoMatchingCriteria/maxAutoMatchingPlayers": max_auto_matching_players -"/games:v1/RoomAutoMatchingCriteria/minAutoMatchingPlayers": min_auto_matching_players -"/games:v1/RoomClientAddress": room_client_address -"/games:v1/RoomClientAddress/kind": kind -"/games:v1/RoomClientAddress/xmppAddress": xmpp_address -"/games:v1/RoomCreateRequest/autoMatchingCriteria": auto_matching_criteria -"/games:v1/RoomCreateRequest/capabilities": capabilities -"/games:v1/RoomCreateRequest/capabilities/capability": capability -"/games:v1/RoomCreateRequest/clientAddress": client_address -"/games:v1/RoomCreateRequest/invitedPlayerIds": invited_player_ids -"/games:v1/RoomCreateRequest/invitedPlayerIds/invited_player_id": invited_player_id -"/games:v1/RoomCreateRequest/kind": kind -"/games:v1/RoomCreateRequest/networkDiagnostics": network_diagnostics -"/games:v1/RoomCreateRequest/requestId": request_id -"/games:v1/RoomCreateRequest/variant": variant -"/games:v1/RoomJoinRequest/capabilities": capabilities -"/games:v1/RoomJoinRequest/capabilities/capability": capability -"/games:v1/RoomJoinRequest/clientAddress": client_address -"/games:v1/RoomJoinRequest/kind": kind -"/games:v1/RoomJoinRequest/networkDiagnostics": network_diagnostics -"/games:v1/RoomLeaveDiagnostics": room_leave_diagnostics -"/games:v1/RoomLeaveDiagnostics/androidNetworkSubtype": android_network_subtype -"/games:v1/RoomLeaveDiagnostics/androidNetworkType": android_network_type -"/games:v1/RoomLeaveDiagnostics/iosNetworkType": ios_network_type -"/games:v1/RoomLeaveDiagnostics/kind": kind -"/games:v1/RoomLeaveDiagnostics/networkOperatorCode": network_operator_code -"/games:v1/RoomLeaveDiagnostics/networkOperatorName": network_operator_name -"/games:v1/RoomLeaveDiagnostics/peerSession": peer_session -"/games:v1/RoomLeaveDiagnostics/peerSession/peer_session": peer_session -"/games:v1/RoomLeaveDiagnostics/socketsUsed": sockets_used -"/games:v1/RoomLeaveRequest/kind": kind -"/games:v1/RoomLeaveRequest/leaveDiagnostics": leave_diagnostics -"/games:v1/RoomLeaveRequest/reason": reason -"/games:v1/RoomList": room_list -"/games:v1/RoomList/items": items -"/games:v1/RoomList/items/item": item -"/games:v1/RoomList/kind": kind -"/games:v1/RoomList/nextPageToken": next_page_token -"/games:v1/RoomModification": room_modification -"/games:v1/RoomModification/kind": kind -"/games:v1/RoomModification/modifiedTimestampMillis": modified_timestamp_millis -"/games:v1/RoomModification/participantId": participant_id -"/games:v1/RoomP2PStatus": room_p2_p_status -"/games:v1/RoomP2PStatus/connectionSetupLatencyMillis": connection_setup_latency_millis -"/games:v1/RoomP2PStatus/error": error -"/games:v1/RoomP2PStatus/error_reason": error_reason -"/games:v1/RoomP2PStatus/kind": kind -"/games:v1/RoomP2PStatus/participantId": participant_id -"/games:v1/RoomP2PStatus/status": status -"/games:v1/RoomP2PStatus/unreliableRoundtripLatencyMillis": unreliable_roundtrip_latency_millis -"/games:v1/RoomP2PStatuses": room_p2_p_statuses -"/games:v1/RoomP2PStatuses/kind": kind -"/games:v1/RoomP2PStatuses/updates": updates -"/games:v1/RoomP2PStatuses/updates/update": update -"/games:v1/RoomParticipant": room_participant -"/games:v1/RoomParticipant/autoMatched": auto_matched -"/games:v1/RoomParticipant/autoMatchedPlayer": auto_matched_player -"/games:v1/RoomParticipant/capabilities": capabilities -"/games:v1/RoomParticipant/capabilities/capability": capability -"/games:v1/RoomParticipant/clientAddress": client_address -"/games:v1/RoomParticipant/connected": connected -"/games:v1/RoomParticipant/id": id -"/games:v1/RoomParticipant/kind": kind -"/games:v1/RoomParticipant/leaveReason": leave_reason -"/games:v1/RoomParticipant/player": player -"/games:v1/RoomParticipant/status": status -"/games:v1/RoomStatus": room_status -"/games:v1/RoomStatus/autoMatchingStatus": auto_matching_status -"/games:v1/RoomStatus/kind": kind -"/games:v1/RoomStatus/participants": participants -"/games:v1/RoomStatus/participants/participant": participant -"/games:v1/RoomStatus/roomId": room_id -"/games:v1/RoomStatus/status": status -"/games:v1/RoomStatus/statusVersion": status_version -"/games:v1/ScoreSubmission": score_submission -"/games:v1/ScoreSubmission/kind": kind -"/games:v1/ScoreSubmission/leaderboardId": leaderboard_id -"/games:v1/ScoreSubmission/score": score -"/games:v1/ScoreSubmission/scoreTag": score_tag -"/games:v1/ScoreSubmission/signature": signature -"/games:v1/Snapshot": snapshot -"/games:v1/Snapshot/coverImage": cover_image -"/games:v1/Snapshot/description": description -"/games:v1/Snapshot/driveId": drive_id -"/games:v1/Snapshot/durationMillis": duration_millis -"/games:v1/Snapshot/id": id -"/games:v1/Snapshot/kind": kind -"/games:v1/Snapshot/lastModifiedMillis": last_modified_millis -"/games:v1/Snapshot/progressValue": progress_value -"/games:v1/Snapshot/title": title -"/games:v1/Snapshot/type": type -"/games:v1/Snapshot/uniqueName": unique_name -"/games:v1/SnapshotImage": snapshot_image -"/games:v1/SnapshotImage/height": height -"/games:v1/SnapshotImage/kind": kind -"/games:v1/SnapshotImage/mime_type": mime_type -"/games:v1/SnapshotImage/url": url -"/games:v1/SnapshotImage/width": width -"/games:v1/SnapshotListResponse/items": items -"/games:v1/SnapshotListResponse/items/item": item -"/games:v1/SnapshotListResponse/kind": kind -"/games:v1/SnapshotListResponse/nextPageToken": next_page_token -"/games:v1/TurnBasedAutoMatchingCriteria": turn_based_auto_matching_criteria -"/games:v1/TurnBasedAutoMatchingCriteria/exclusiveBitmask": exclusive_bitmask -"/games:v1/TurnBasedAutoMatchingCriteria/kind": kind -"/games:v1/TurnBasedAutoMatchingCriteria/maxAutoMatchingPlayers": max_auto_matching_players -"/games:v1/TurnBasedAutoMatchingCriteria/minAutoMatchingPlayers": min_auto_matching_players -"/games:v1/TurnBasedMatch": turn_based_match -"/games:v1/TurnBasedMatch/applicationId": application_id -"/games:v1/TurnBasedMatch/autoMatchingCriteria": auto_matching_criteria -"/games:v1/TurnBasedMatch/creationDetails": creation_details -"/games:v1/TurnBasedMatch/data": data -"/games:v1/TurnBasedMatch/description": description -"/games:v1/TurnBasedMatch/inviterId": inviter_id -"/games:v1/TurnBasedMatch/kind": kind -"/games:v1/TurnBasedMatch/lastUpdateDetails": last_update_details -"/games:v1/TurnBasedMatch/matchId": match_id -"/games:v1/TurnBasedMatch/matchNumber": match_number -"/games:v1/TurnBasedMatch/matchVersion": match_version -"/games:v1/TurnBasedMatch/participants": participants -"/games:v1/TurnBasedMatch/participants/participant": participant -"/games:v1/TurnBasedMatch/pendingParticipantId": pending_participant_id -"/games:v1/TurnBasedMatch/previousMatchData": previous_match_data -"/games:v1/TurnBasedMatch/rematchId": rematch_id -"/games:v1/TurnBasedMatch/results": results -"/games:v1/TurnBasedMatch/results/result": result -"/games:v1/TurnBasedMatch/status": status -"/games:v1/TurnBasedMatch/userMatchStatus": user_match_status -"/games:v1/TurnBasedMatch/variant": variant -"/games:v1/TurnBasedMatch/withParticipantId": with_participant_id -"/games:v1/TurnBasedMatchCreateRequest/autoMatchingCriteria": auto_matching_criteria -"/games:v1/TurnBasedMatchCreateRequest/invitedPlayerIds": invited_player_ids -"/games:v1/TurnBasedMatchCreateRequest/invitedPlayerIds/invited_player_id": invited_player_id -"/games:v1/TurnBasedMatchCreateRequest/kind": kind -"/games:v1/TurnBasedMatchCreateRequest/requestId": request_id -"/games:v1/TurnBasedMatchCreateRequest/variant": variant -"/games:v1/TurnBasedMatchData": turn_based_match_data -"/games:v1/TurnBasedMatchData/data": data -"/games:v1/TurnBasedMatchData/dataAvailable": data_available -"/games:v1/TurnBasedMatchData/kind": kind -"/games:v1/TurnBasedMatchDataRequest/data": data -"/games:v1/TurnBasedMatchDataRequest/kind": kind -"/games:v1/TurnBasedMatchList": turn_based_match_list -"/games:v1/TurnBasedMatchList/items": items -"/games:v1/TurnBasedMatchList/items/item": item -"/games:v1/TurnBasedMatchList/kind": kind -"/games:v1/TurnBasedMatchList/nextPageToken": next_page_token -"/games:v1/TurnBasedMatchModification": turn_based_match_modification -"/games:v1/TurnBasedMatchModification/kind": kind -"/games:v1/TurnBasedMatchModification/modifiedTimestampMillis": modified_timestamp_millis -"/games:v1/TurnBasedMatchModification/participantId": participant_id -"/games:v1/TurnBasedMatchParticipant": turn_based_match_participant -"/games:v1/TurnBasedMatchParticipant/autoMatched": auto_matched -"/games:v1/TurnBasedMatchParticipant/autoMatchedPlayer": auto_matched_player -"/games:v1/TurnBasedMatchParticipant/id": id -"/games:v1/TurnBasedMatchParticipant/kind": kind -"/games:v1/TurnBasedMatchParticipant/player": player -"/games:v1/TurnBasedMatchParticipant/status": status -"/games:v1/TurnBasedMatchRematch": turn_based_match_rematch -"/games:v1/TurnBasedMatchRematch/kind": kind -"/games:v1/TurnBasedMatchRematch/previousMatch": previous_match -"/games:v1/TurnBasedMatchRematch/rematch": rematch -"/games:v1/TurnBasedMatchResults": turn_based_match_results -"/games:v1/TurnBasedMatchResults/data": data -"/games:v1/TurnBasedMatchResults/kind": kind -"/games:v1/TurnBasedMatchResults/matchVersion": match_version -"/games:v1/TurnBasedMatchResults/results": results -"/games:v1/TurnBasedMatchResults/results/result": result -"/games:v1/TurnBasedMatchSync": turn_based_match_sync -"/games:v1/TurnBasedMatchSync/items": items -"/games:v1/TurnBasedMatchSync/items/item": item -"/games:v1/TurnBasedMatchSync/kind": kind -"/games:v1/TurnBasedMatchSync/moreAvailable": more_available -"/games:v1/TurnBasedMatchSync/nextPageToken": next_page_token -"/games:v1/TurnBasedMatchTurn": turn_based_match_turn -"/games:v1/TurnBasedMatchTurn/data": data -"/games:v1/TurnBasedMatchTurn/kind": kind -"/games:v1/TurnBasedMatchTurn/matchVersion": match_version -"/games:v1/TurnBasedMatchTurn/pendingParticipantId": pending_participant_id -"/games:v1/TurnBasedMatchTurn/results": results -"/games:v1/TurnBasedMatchTurn/results/result": result -"/gamesConfiguration:v1configuration/fields": fields -"/gamesConfiguration:v1configuration/key": key -"/gamesConfiguration:v1configuration/quotaUser": quota_user -"/gamesConfiguration:v1configuration/userIp": user_ip -"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.delete": delete_achievement_configuration -"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.delete/achievementId": achievement_id -"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.get": get_achievement_configuration -"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.get/achievementId": achievement_id -"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.insert": insert_achievement_configuration -"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.insert/applicationId": application_id -"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.list": list_achievement_configurations -"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.list/applicationId": application_id -"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.list/maxResults": max_results -"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.list/pageToken": page_token -"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.patch": patch_achievement_configuration -"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.patch/achievementId": achievement_id -"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.update": update_achievement_configuration -"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.update/achievementId": achievement_id -"/gamesConfiguration:v1configuration/gamesConfiguration.imageConfigurations.upload": upload_image_configuration -"/gamesConfiguration:v1configuration/gamesConfiguration.imageConfigurations.upload/imageType": image_type -"/gamesConfiguration:v1configuration/gamesConfiguration.imageConfigurations.upload/resourceId": resource_id -"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.delete": delete_leaderboard_configuration -"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.delete/leaderboardId": leaderboard_id -"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.get": get_leaderboard_configuration -"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.get/leaderboardId": leaderboard_id -"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.insert": insert_leaderboard_configuration -"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.insert/applicationId": application_id -"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.list": list_leaderboard_configurations -"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.list/applicationId": application_id -"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.list/maxResults": max_results -"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.list/pageToken": page_token -"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.patch": patch_leaderboard_configuration -"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.patch/leaderboardId": leaderboard_id -"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.update": update_leaderboard_configuration -"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.update/leaderboardId": leaderboard_id +"/games:v1/key": key +"/games:v1/quotaUser": quota_user +"/games:v1/userIp": user_ip "/gamesConfiguration:v1configuration/AchievementConfiguration": achievement_configuration "/gamesConfiguration:v1configuration/AchievementConfiguration/achievementType": achievement_type "/gamesConfiguration:v1configuration/AchievementConfiguration/draft": draft @@ -29437,6 +29969,7 @@ "/gamesConfiguration:v1configuration/AchievementConfigurationDetail/name": name "/gamesConfiguration:v1configuration/AchievementConfigurationDetail/pointValue": point_value "/gamesConfiguration:v1configuration/AchievementConfigurationDetail/sortRank": sort_rank +"/gamesConfiguration:v1configuration/AchievementConfigurationListResponse": list_achievement_configuration_response "/gamesConfiguration:v1configuration/AchievementConfigurationListResponse/items": items "/gamesConfiguration:v1configuration/AchievementConfigurationListResponse/items/item": item "/gamesConfiguration:v1configuration/AchievementConfigurationListResponse/kind": kind @@ -29473,6 +30006,7 @@ "/gamesConfiguration:v1configuration/LeaderboardConfigurationDetail/name": name "/gamesConfiguration:v1configuration/LeaderboardConfigurationDetail/scoreFormat": score_format "/gamesConfiguration:v1configuration/LeaderboardConfigurationDetail/sortRank": sort_rank +"/gamesConfiguration:v1configuration/LeaderboardConfigurationListResponse": list_leaderboard_configuration_response "/gamesConfiguration:v1configuration/LeaderboardConfigurationListResponse/items": items "/gamesConfiguration:v1configuration/LeaderboardConfigurationListResponse/items/item": item "/gamesConfiguration:v1configuration/LeaderboardConfigurationListResponse/kind": kind @@ -29485,52 +30019,41 @@ "/gamesConfiguration:v1configuration/LocalizedStringBundle/kind": kind "/gamesConfiguration:v1configuration/LocalizedStringBundle/translations": translations "/gamesConfiguration:v1configuration/LocalizedStringBundle/translations/translation": translation -"/gamesManagement:v1management/fields": fields -"/gamesManagement:v1management/key": key -"/gamesManagement:v1management/quotaUser": quota_user -"/gamesManagement:v1management/userIp": user_ip -"/gamesManagement:v1management/gamesManagement.achievements.reset": reset_achievement -"/gamesManagement:v1management/gamesManagement.achievements.reset/achievementId": achievement_id -"/gamesManagement:v1management/gamesManagement.achievements.resetAll": reset_achievement_all -"/gamesManagement:v1management/gamesManagement.achievements.resetAllForAllPlayers": reset_achievement_all_for_all_players -"/gamesManagement:v1management/gamesManagement.achievements.resetForAllPlayers": reset_achievement_for_all_players -"/gamesManagement:v1management/gamesManagement.achievements.resetForAllPlayers/achievementId": achievement_id -"/gamesManagement:v1management/gamesManagement.achievements.resetMultipleForAllPlayers": reset_achievement_multiple_for_all_players -"/gamesManagement:v1management/gamesManagement.applications.listHidden": list_application_hidden -"/gamesManagement:v1management/gamesManagement.applications.listHidden/applicationId": application_id -"/gamesManagement:v1management/gamesManagement.applications.listHidden/maxResults": max_results -"/gamesManagement:v1management/gamesManagement.applications.listHidden/pageToken": page_token -"/gamesManagement:v1management/gamesManagement.events.reset": reset_event -"/gamesManagement:v1management/gamesManagement.events.reset/eventId": event_id -"/gamesManagement:v1management/gamesManagement.events.resetAll": reset_event_all -"/gamesManagement:v1management/gamesManagement.events.resetAllForAllPlayers": reset_event_all_for_all_players -"/gamesManagement:v1management/gamesManagement.events.resetForAllPlayers": reset_event_for_all_players -"/gamesManagement:v1management/gamesManagement.events.resetForAllPlayers/eventId": event_id -"/gamesManagement:v1management/gamesManagement.events.resetMultipleForAllPlayers": reset_event_multiple_for_all_players -"/gamesManagement:v1management/gamesManagement.players.hide": hide_player -"/gamesManagement:v1management/gamesManagement.players.hide/applicationId": application_id -"/gamesManagement:v1management/gamesManagement.players.hide/playerId": player_id -"/gamesManagement:v1management/gamesManagement.players.unhide": unhide_player -"/gamesManagement:v1management/gamesManagement.players.unhide/applicationId": application_id -"/gamesManagement:v1management/gamesManagement.players.unhide/playerId": player_id -"/gamesManagement:v1management/gamesManagement.quests.reset": reset_quest -"/gamesManagement:v1management/gamesManagement.quests.reset/questId": quest_id -"/gamesManagement:v1management/gamesManagement.quests.resetAll": reset_quest_all -"/gamesManagement:v1management/gamesManagement.quests.resetAllForAllPlayers": reset_quest_all_for_all_players -"/gamesManagement:v1management/gamesManagement.quests.resetForAllPlayers": reset_quest_for_all_players -"/gamesManagement:v1management/gamesManagement.quests.resetForAllPlayers/questId": quest_id -"/gamesManagement:v1management/gamesManagement.quests.resetMultipleForAllPlayers": reset_quest_multiple_for_all_players -"/gamesManagement:v1management/gamesManagement.rooms.reset": reset_room -"/gamesManagement:v1management/gamesManagement.rooms.resetForAllPlayers": reset_room_for_all_players -"/gamesManagement:v1management/gamesManagement.scores.reset": reset_score -"/gamesManagement:v1management/gamesManagement.scores.reset/leaderboardId": leaderboard_id -"/gamesManagement:v1management/gamesManagement.scores.resetAll": reset_score_all -"/gamesManagement:v1management/gamesManagement.scores.resetAllForAllPlayers": reset_score_all_for_all_players -"/gamesManagement:v1management/gamesManagement.scores.resetForAllPlayers": reset_score_for_all_players -"/gamesManagement:v1management/gamesManagement.scores.resetForAllPlayers/leaderboardId": leaderboard_id -"/gamesManagement:v1management/gamesManagement.scores.resetMultipleForAllPlayers": reset_score_multiple_for_all_players -"/gamesManagement:v1management/gamesManagement.turnBasedMatches.reset": reset_turn_based_match -"/gamesManagement:v1management/gamesManagement.turnBasedMatches.resetForAllPlayers": reset_turn_based_match_for_all_players +"/gamesConfiguration:v1configuration/fields": fields +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.delete": delete_achievement_configuration +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.delete/achievementId": achievement_id +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.get": get_achievement_configuration +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.get/achievementId": achievement_id +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.insert": insert_achievement_configuration +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.insert/applicationId": application_id +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.list": list_achievement_configurations +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.list/applicationId": application_id +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.list/maxResults": max_results +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.list/pageToken": page_token +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.patch": patch_achievement_configuration +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.patch/achievementId": achievement_id +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.update": update_achievement_configuration +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.update/achievementId": achievement_id +"/gamesConfiguration:v1configuration/gamesConfiguration.imageConfigurations.upload": upload_image_configuration +"/gamesConfiguration:v1configuration/gamesConfiguration.imageConfigurations.upload/imageType": image_type +"/gamesConfiguration:v1configuration/gamesConfiguration.imageConfigurations.upload/resourceId": resource_id +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.delete": delete_leaderboard_configuration +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.delete/leaderboardId": leaderboard_id +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.get": get_leaderboard_configuration +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.get/leaderboardId": leaderboard_id +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.insert": insert_leaderboard_configuration +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.insert/applicationId": application_id +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.list": list_leaderboard_configurations +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.list/applicationId": application_id +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.list/maxResults": max_results +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.list/pageToken": page_token +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.patch": patch_leaderboard_configuration +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.patch/leaderboardId": leaderboard_id +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.update": update_leaderboard_configuration +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.update/leaderboardId": leaderboard_id +"/gamesConfiguration:v1configuration/key": key +"/gamesConfiguration:v1configuration/quotaUser": quota_user +"/gamesConfiguration:v1configuration/userIp": user_ip "/gamesManagement:v1management/AchievementResetAllResponse": achievement_reset_all_response "/gamesManagement:v1management/AchievementResetAllResponse/kind": kind "/gamesManagement:v1management/AchievementResetAllResponse/results": results @@ -29604,751 +30127,649 @@ "/gamesManagement:v1management/ScoresResetMultipleForAllRequest/kind": kind "/gamesManagement:v1management/ScoresResetMultipleForAllRequest/leaderboard_ids": leaderboard_ids "/gamesManagement:v1management/ScoresResetMultipleForAllRequest/leaderboard_ids/leaderboard_id": leaderboard_id +"/gamesManagement:v1management/fields": fields +"/gamesManagement:v1management/gamesManagement.achievements.reset": reset_achievement +"/gamesManagement:v1management/gamesManagement.achievements.reset/achievementId": achievement_id +"/gamesManagement:v1management/gamesManagement.achievements.resetAll": reset_achievement_all +"/gamesManagement:v1management/gamesManagement.achievements.resetAllForAllPlayers": reset_achievement_all_for_all_players +"/gamesManagement:v1management/gamesManagement.achievements.resetForAllPlayers": reset_achievement_for_all_players +"/gamesManagement:v1management/gamesManagement.achievements.resetForAllPlayers/achievementId": achievement_id +"/gamesManagement:v1management/gamesManagement.achievements.resetMultipleForAllPlayers": reset_achievement_multiple_for_all_players +"/gamesManagement:v1management/gamesManagement.applications.listHidden": list_application_hidden +"/gamesManagement:v1management/gamesManagement.applications.listHidden/applicationId": application_id +"/gamesManagement:v1management/gamesManagement.applications.listHidden/maxResults": max_results +"/gamesManagement:v1management/gamesManagement.applications.listHidden/pageToken": page_token +"/gamesManagement:v1management/gamesManagement.events.reset": reset_event +"/gamesManagement:v1management/gamesManagement.events.reset/eventId": event_id +"/gamesManagement:v1management/gamesManagement.events.resetAll": reset_event_all +"/gamesManagement:v1management/gamesManagement.events.resetAllForAllPlayers": reset_event_all_for_all_players +"/gamesManagement:v1management/gamesManagement.events.resetForAllPlayers": reset_event_for_all_players +"/gamesManagement:v1management/gamesManagement.events.resetForAllPlayers/eventId": event_id +"/gamesManagement:v1management/gamesManagement.events.resetMultipleForAllPlayers": reset_event_multiple_for_all_players +"/gamesManagement:v1management/gamesManagement.players.hide": hide_player +"/gamesManagement:v1management/gamesManagement.players.hide/applicationId": application_id +"/gamesManagement:v1management/gamesManagement.players.hide/playerId": player_id +"/gamesManagement:v1management/gamesManagement.players.unhide": unhide_player +"/gamesManagement:v1management/gamesManagement.players.unhide/applicationId": application_id +"/gamesManagement:v1management/gamesManagement.players.unhide/playerId": player_id +"/gamesManagement:v1management/gamesManagement.quests.reset": reset_quest +"/gamesManagement:v1management/gamesManagement.quests.reset/questId": quest_id +"/gamesManagement:v1management/gamesManagement.quests.resetAll": reset_quest_all +"/gamesManagement:v1management/gamesManagement.quests.resetAllForAllPlayers": reset_quest_all_for_all_players +"/gamesManagement:v1management/gamesManagement.quests.resetForAllPlayers": reset_quest_for_all_players +"/gamesManagement:v1management/gamesManagement.quests.resetForAllPlayers/questId": quest_id +"/gamesManagement:v1management/gamesManagement.quests.resetMultipleForAllPlayers": reset_quest_multiple_for_all_players +"/gamesManagement:v1management/gamesManagement.rooms.reset": reset_room +"/gamesManagement:v1management/gamesManagement.rooms.resetForAllPlayers": reset_room_for_all_players +"/gamesManagement:v1management/gamesManagement.scores.reset": reset_score +"/gamesManagement:v1management/gamesManagement.scores.reset/leaderboardId": leaderboard_id +"/gamesManagement:v1management/gamesManagement.scores.resetAll": reset_score_all +"/gamesManagement:v1management/gamesManagement.scores.resetAllForAllPlayers": reset_score_all_for_all_players +"/gamesManagement:v1management/gamesManagement.scores.resetForAllPlayers": reset_score_for_all_players +"/gamesManagement:v1management/gamesManagement.scores.resetForAllPlayers/leaderboardId": leaderboard_id +"/gamesManagement:v1management/gamesManagement.scores.resetMultipleForAllPlayers": reset_score_multiple_for_all_players +"/gamesManagement:v1management/gamesManagement.turnBasedMatches.reset": reset_turn_based_match +"/gamesManagement:v1management/gamesManagement.turnBasedMatches.resetForAllPlayers": reset_turn_based_match_for_all_players +"/gamesManagement:v1management/key": key +"/gamesManagement:v1management/quotaUser": quota_user +"/gamesManagement:v1management/userIp": user_ip +"/genomics:v1/Annotation": annotation +"/genomics:v1/Annotation/annotationSetId": annotation_set_id +"/genomics:v1/Annotation/end": end +"/genomics:v1/Annotation/id": id +"/genomics:v1/Annotation/info": info +"/genomics:v1/Annotation/info/info": info +"/genomics:v1/Annotation/info/info/info": info +"/genomics:v1/Annotation/name": name +"/genomics:v1/Annotation/referenceId": reference_id +"/genomics:v1/Annotation/referenceName": reference_name +"/genomics:v1/Annotation/reverseStrand": reverse_strand +"/genomics:v1/Annotation/start": start +"/genomics:v1/Annotation/transcript": transcript +"/genomics:v1/Annotation/type": type +"/genomics:v1/Annotation/variant": variant +"/genomics:v1/AnnotationSet": annotation_set +"/genomics:v1/AnnotationSet/datasetId": dataset_id +"/genomics:v1/AnnotationSet/id": id +"/genomics:v1/AnnotationSet/info": info +"/genomics:v1/AnnotationSet/info/info": info +"/genomics:v1/AnnotationSet/info/info/info": info +"/genomics:v1/AnnotationSet/name": name +"/genomics:v1/AnnotationSet/referenceSetId": reference_set_id +"/genomics:v1/AnnotationSet/sourceUri": source_uri +"/genomics:v1/AnnotationSet/type": type +"/genomics:v1/BatchCreateAnnotationsRequest": batch_create_annotations_request +"/genomics:v1/BatchCreateAnnotationsRequest/annotations": annotations +"/genomics:v1/BatchCreateAnnotationsRequest/annotations/annotation": annotation +"/genomics:v1/BatchCreateAnnotationsRequest/requestId": request_id +"/genomics:v1/BatchCreateAnnotationsResponse": batch_create_annotations_response +"/genomics:v1/BatchCreateAnnotationsResponse/entries": entries +"/genomics:v1/BatchCreateAnnotationsResponse/entries/entry": entry +"/genomics:v1/Binding": binding +"/genomics:v1/Binding/members": members +"/genomics:v1/Binding/members/member": member +"/genomics:v1/Binding/role": role +"/genomics:v1/CallSet": call_set +"/genomics:v1/CallSet/created": created +"/genomics:v1/CallSet/id": id +"/genomics:v1/CallSet/info": info +"/genomics:v1/CallSet/info/info": info +"/genomics:v1/CallSet/info/info/info": info +"/genomics:v1/CallSet/name": name +"/genomics:v1/CallSet/sampleId": sample_id +"/genomics:v1/CallSet/variantSetIds": variant_set_ids +"/genomics:v1/CallSet/variantSetIds/variant_set_id": variant_set_id +"/genomics:v1/CancelOperationRequest": cancel_operation_request +"/genomics:v1/CigarUnit": cigar_unit +"/genomics:v1/CigarUnit/operation": operation +"/genomics:v1/CigarUnit/operationLength": operation_length +"/genomics:v1/CigarUnit/referenceSequence": reference_sequence +"/genomics:v1/ClinicalCondition": clinical_condition +"/genomics:v1/ClinicalCondition/conceptId": concept_id +"/genomics:v1/ClinicalCondition/externalIds": external_ids +"/genomics:v1/ClinicalCondition/externalIds/external_id": external_id +"/genomics:v1/ClinicalCondition/names": names +"/genomics:v1/ClinicalCondition/names/name": name +"/genomics:v1/ClinicalCondition/omimId": omim_id +"/genomics:v1/CodingSequence": coding_sequence +"/genomics:v1/CodingSequence/end": end +"/genomics:v1/CodingSequence/start": start +"/genomics:v1/ComputeEngine": compute_engine +"/genomics:v1/ComputeEngine/diskNames": disk_names +"/genomics:v1/ComputeEngine/diskNames/disk_name": disk_name +"/genomics:v1/ComputeEngine/instanceName": instance_name +"/genomics:v1/ComputeEngine/machineType": machine_type +"/genomics:v1/ComputeEngine/zone": zone +"/genomics:v1/CoverageBucket": coverage_bucket +"/genomics:v1/CoverageBucket/meanCoverage": mean_coverage +"/genomics:v1/CoverageBucket/range": range +"/genomics:v1/Dataset": dataset +"/genomics:v1/Dataset/createTime": create_time +"/genomics:v1/Dataset/id": id +"/genomics:v1/Dataset/name": name +"/genomics:v1/Dataset/projectId": project_id +"/genomics:v1/Empty": empty +"/genomics:v1/Entry": entry +"/genomics:v1/Entry/annotation": annotation +"/genomics:v1/Entry/status": status +"/genomics:v1/Exon": exon +"/genomics:v1/Exon/end": end +"/genomics:v1/Exon/frame": frame +"/genomics:v1/Exon/start": start +"/genomics:v1/Experiment": experiment +"/genomics:v1/Experiment/instrumentModel": instrument_model +"/genomics:v1/Experiment/libraryId": library_id +"/genomics:v1/Experiment/platformUnit": platform_unit +"/genomics:v1/Experiment/sequencingCenter": sequencing_center +"/genomics:v1/ExportReadGroupSetRequest": export_read_group_set_request +"/genomics:v1/ExportReadGroupSetRequest/exportUri": export_uri +"/genomics:v1/ExportReadGroupSetRequest/projectId": project_id +"/genomics:v1/ExportReadGroupSetRequest/referenceNames": reference_names +"/genomics:v1/ExportReadGroupSetRequest/referenceNames/reference_name": reference_name +"/genomics:v1/ExportVariantSetRequest": export_variant_set_request +"/genomics:v1/ExportVariantSetRequest/bigqueryDataset": bigquery_dataset +"/genomics:v1/ExportVariantSetRequest/bigqueryTable": bigquery_table +"/genomics:v1/ExportVariantSetRequest/callSetIds": call_set_ids +"/genomics:v1/ExportVariantSetRequest/callSetIds/call_set_id": call_set_id +"/genomics:v1/ExportVariantSetRequest/format": format +"/genomics:v1/ExportVariantSetRequest/projectId": project_id +"/genomics:v1/ExternalId": external_id +"/genomics:v1/ExternalId/id": id +"/genomics:v1/ExternalId/sourceName": source_name +"/genomics:v1/GetIamPolicyRequest": get_iam_policy_request +"/genomics:v1/ImportReadGroupSetsRequest": import_read_group_sets_request +"/genomics:v1/ImportReadGroupSetsRequest/datasetId": dataset_id +"/genomics:v1/ImportReadGroupSetsRequest/partitionStrategy": partition_strategy +"/genomics:v1/ImportReadGroupSetsRequest/referenceSetId": reference_set_id +"/genomics:v1/ImportReadGroupSetsRequest/sourceUris": source_uris +"/genomics:v1/ImportReadGroupSetsRequest/sourceUris/source_uri": source_uri +"/genomics:v1/ImportReadGroupSetsResponse": import_read_group_sets_response +"/genomics:v1/ImportReadGroupSetsResponse/readGroupSetIds": read_group_set_ids +"/genomics:v1/ImportReadGroupSetsResponse/readGroupSetIds/read_group_set_id": read_group_set_id +"/genomics:v1/ImportVariantsRequest": import_variants_request +"/genomics:v1/ImportVariantsRequest/format": format +"/genomics:v1/ImportVariantsRequest/infoMergeConfig": info_merge_config +"/genomics:v1/ImportVariantsRequest/infoMergeConfig/info_merge_config": info_merge_config +"/genomics:v1/ImportVariantsRequest/normalizeReferenceNames": normalize_reference_names +"/genomics:v1/ImportVariantsRequest/sourceUris": source_uris +"/genomics:v1/ImportVariantsRequest/sourceUris/source_uri": source_uri +"/genomics:v1/ImportVariantsRequest/variantSetId": variant_set_id +"/genomics:v1/ImportVariantsResponse": import_variants_response +"/genomics:v1/ImportVariantsResponse/callSetIds": call_set_ids +"/genomics:v1/ImportVariantsResponse/callSetIds/call_set_id": call_set_id +"/genomics:v1/LinearAlignment": linear_alignment +"/genomics:v1/LinearAlignment/cigar": cigar +"/genomics:v1/LinearAlignment/cigar/cigar": cigar +"/genomics:v1/LinearAlignment/mappingQuality": mapping_quality +"/genomics:v1/LinearAlignment/position": position +"/genomics:v1/ListBasesResponse": list_bases_response +"/genomics:v1/ListBasesResponse/nextPageToken": next_page_token +"/genomics:v1/ListBasesResponse/offset": offset +"/genomics:v1/ListBasesResponse/sequence": sequence +"/genomics:v1/ListCoverageBucketsResponse": list_coverage_buckets_response +"/genomics:v1/ListCoverageBucketsResponse/bucketWidth": bucket_width +"/genomics:v1/ListCoverageBucketsResponse/coverageBuckets": coverage_buckets +"/genomics:v1/ListCoverageBucketsResponse/coverageBuckets/coverage_bucket": coverage_bucket +"/genomics:v1/ListCoverageBucketsResponse/nextPageToken": next_page_token +"/genomics:v1/ListDatasetsResponse": list_datasets_response +"/genomics:v1/ListDatasetsResponse/datasets": datasets +"/genomics:v1/ListDatasetsResponse/datasets/dataset": dataset +"/genomics:v1/ListDatasetsResponse/nextPageToken": next_page_token +"/genomics:v1/ListOperationsResponse": list_operations_response +"/genomics:v1/ListOperationsResponse/nextPageToken": next_page_token +"/genomics:v1/ListOperationsResponse/operations": operations +"/genomics:v1/ListOperationsResponse/operations/operation": operation +"/genomics:v1/MergeVariantsRequest": merge_variants_request +"/genomics:v1/MergeVariantsRequest/infoMergeConfig": info_merge_config +"/genomics:v1/MergeVariantsRequest/infoMergeConfig/info_merge_config": info_merge_config +"/genomics:v1/MergeVariantsRequest/variantSetId": variant_set_id +"/genomics:v1/MergeVariantsRequest/variants": variants +"/genomics:v1/MergeVariantsRequest/variants/variant": variant +"/genomics:v1/Operation": operation +"/genomics:v1/Operation/done": done +"/genomics:v1/Operation/error": error +"/genomics:v1/Operation/metadata": metadata +"/genomics:v1/Operation/metadata/metadatum": metadatum +"/genomics:v1/Operation/name": name +"/genomics:v1/Operation/response": response +"/genomics:v1/Operation/response/response": response +"/genomics:v1/OperationEvent": operation_event +"/genomics:v1/OperationEvent/description": description +"/genomics:v1/OperationEvent/endTime": end_time +"/genomics:v1/OperationEvent/startTime": start_time +"/genomics:v1/OperationMetadata": operation_metadata +"/genomics:v1/OperationMetadata/clientId": client_id +"/genomics:v1/OperationMetadata/createTime": create_time +"/genomics:v1/OperationMetadata/endTime": end_time +"/genomics:v1/OperationMetadata/events": events +"/genomics:v1/OperationMetadata/events/event": event +"/genomics:v1/OperationMetadata/labels": labels +"/genomics:v1/OperationMetadata/labels/label": label +"/genomics:v1/OperationMetadata/projectId": project_id +"/genomics:v1/OperationMetadata/request": request +"/genomics:v1/OperationMetadata/request/request": request +"/genomics:v1/OperationMetadata/runtimeMetadata": runtime_metadata +"/genomics:v1/OperationMetadata/runtimeMetadata/runtime_metadatum": runtime_metadatum +"/genomics:v1/OperationMetadata/startTime": start_time +"/genomics:v1/Policy": policy +"/genomics:v1/Policy/bindings": bindings +"/genomics:v1/Policy/bindings/binding": binding +"/genomics:v1/Policy/etag": etag +"/genomics:v1/Policy/version": version +"/genomics:v1/Position": position +"/genomics:v1/Position/position": position +"/genomics:v1/Position/referenceName": reference_name +"/genomics:v1/Position/reverseStrand": reverse_strand +"/genomics:v1/Program": program +"/genomics:v1/Program/commandLine": command_line +"/genomics:v1/Program/id": id +"/genomics:v1/Program/name": name +"/genomics:v1/Program/prevProgramId": prev_program_id +"/genomics:v1/Program/version": version +"/genomics:v1/Range": range +"/genomics:v1/Range/end": end +"/genomics:v1/Range/referenceName": reference_name +"/genomics:v1/Range/start": start +"/genomics:v1/Read": read +"/genomics:v1/Read/alignedQuality": aligned_quality +"/genomics:v1/Read/alignedQuality/aligned_quality": aligned_quality +"/genomics:v1/Read/alignedSequence": aligned_sequence +"/genomics:v1/Read/alignment": alignment +"/genomics:v1/Read/duplicateFragment": duplicate_fragment +"/genomics:v1/Read/failedVendorQualityChecks": failed_vendor_quality_checks +"/genomics:v1/Read/fragmentLength": fragment_length +"/genomics:v1/Read/fragmentName": fragment_name +"/genomics:v1/Read/id": id +"/genomics:v1/Read/info": info +"/genomics:v1/Read/info/info": info +"/genomics:v1/Read/info/info/info": info +"/genomics:v1/Read/nextMatePosition": next_mate_position +"/genomics:v1/Read/numberReads": number_reads +"/genomics:v1/Read/properPlacement": proper_placement +"/genomics:v1/Read/readGroupId": read_group_id +"/genomics:v1/Read/readGroupSetId": read_group_set_id +"/genomics:v1/Read/readNumber": read_number +"/genomics:v1/Read/secondaryAlignment": secondary_alignment +"/genomics:v1/Read/supplementaryAlignment": supplementary_alignment +"/genomics:v1/ReadGroup": read_group +"/genomics:v1/ReadGroup/datasetId": dataset_id +"/genomics:v1/ReadGroup/description": description +"/genomics:v1/ReadGroup/experiment": experiment +"/genomics:v1/ReadGroup/id": id +"/genomics:v1/ReadGroup/info": info +"/genomics:v1/ReadGroup/info/info": info +"/genomics:v1/ReadGroup/info/info/info": info +"/genomics:v1/ReadGroup/name": name +"/genomics:v1/ReadGroup/predictedInsertSize": predicted_insert_size +"/genomics:v1/ReadGroup/programs": programs +"/genomics:v1/ReadGroup/programs/program": program +"/genomics:v1/ReadGroup/referenceSetId": reference_set_id +"/genomics:v1/ReadGroup/sampleId": sample_id +"/genomics:v1/ReadGroupSet": read_group_set +"/genomics:v1/ReadGroupSet/datasetId": dataset_id +"/genomics:v1/ReadGroupSet/filename": filename +"/genomics:v1/ReadGroupSet/id": id +"/genomics:v1/ReadGroupSet/info": info +"/genomics:v1/ReadGroupSet/info/info": info +"/genomics:v1/ReadGroupSet/info/info/info": info +"/genomics:v1/ReadGroupSet/name": name +"/genomics:v1/ReadGroupSet/readGroups": read_groups +"/genomics:v1/ReadGroupSet/readGroups/read_group": read_group +"/genomics:v1/ReadGroupSet/referenceSetId": reference_set_id +"/genomics:v1/Reference": reference +"/genomics:v1/Reference/id": id +"/genomics:v1/Reference/length": length +"/genomics:v1/Reference/md5checksum": md5checksum +"/genomics:v1/Reference/name": name +"/genomics:v1/Reference/ncbiTaxonId": ncbi_taxon_id +"/genomics:v1/Reference/sourceAccessions": source_accessions +"/genomics:v1/Reference/sourceAccessions/source_accession": source_accession +"/genomics:v1/Reference/sourceUri": source_uri +"/genomics:v1/ReferenceBound": reference_bound +"/genomics:v1/ReferenceBound/referenceName": reference_name +"/genomics:v1/ReferenceBound/upperBound": upper_bound +"/genomics:v1/ReferenceSet": reference_set +"/genomics:v1/ReferenceSet/assemblyId": assembly_id +"/genomics:v1/ReferenceSet/description": description +"/genomics:v1/ReferenceSet/id": id +"/genomics:v1/ReferenceSet/md5checksum": md5checksum +"/genomics:v1/ReferenceSet/ncbiTaxonId": ncbi_taxon_id +"/genomics:v1/ReferenceSet/referenceIds": reference_ids +"/genomics:v1/ReferenceSet/referenceIds/reference_id": reference_id +"/genomics:v1/ReferenceSet/sourceAccessions": source_accessions +"/genomics:v1/ReferenceSet/sourceAccessions/source_accession": source_accession +"/genomics:v1/ReferenceSet/sourceUri": source_uri +"/genomics:v1/RuntimeMetadata": runtime_metadata +"/genomics:v1/RuntimeMetadata/computeEngine": compute_engine +"/genomics:v1/SearchAnnotationSetsRequest": search_annotation_sets_request +"/genomics:v1/SearchAnnotationSetsRequest/datasetIds": dataset_ids +"/genomics:v1/SearchAnnotationSetsRequest/datasetIds/dataset_id": dataset_id +"/genomics:v1/SearchAnnotationSetsRequest/name": name +"/genomics:v1/SearchAnnotationSetsRequest/pageSize": page_size +"/genomics:v1/SearchAnnotationSetsRequest/pageToken": page_token +"/genomics:v1/SearchAnnotationSetsRequest/referenceSetId": reference_set_id +"/genomics:v1/SearchAnnotationSetsRequest/types": types +"/genomics:v1/SearchAnnotationSetsRequest/types/type": type +"/genomics:v1/SearchAnnotationSetsResponse": search_annotation_sets_response +"/genomics:v1/SearchAnnotationSetsResponse/annotationSets": annotation_sets +"/genomics:v1/SearchAnnotationSetsResponse/annotationSets/annotation_set": annotation_set +"/genomics:v1/SearchAnnotationSetsResponse/nextPageToken": next_page_token +"/genomics:v1/SearchAnnotationsRequest": search_annotations_request +"/genomics:v1/SearchAnnotationsRequest/annotationSetIds": annotation_set_ids +"/genomics:v1/SearchAnnotationsRequest/annotationSetIds/annotation_set_id": annotation_set_id +"/genomics:v1/SearchAnnotationsRequest/end": end +"/genomics:v1/SearchAnnotationsRequest/pageSize": page_size +"/genomics:v1/SearchAnnotationsRequest/pageToken": page_token +"/genomics:v1/SearchAnnotationsRequest/referenceId": reference_id +"/genomics:v1/SearchAnnotationsRequest/referenceName": reference_name +"/genomics:v1/SearchAnnotationsRequest/start": start +"/genomics:v1/SearchAnnotationsResponse": search_annotations_response +"/genomics:v1/SearchAnnotationsResponse/annotations": annotations +"/genomics:v1/SearchAnnotationsResponse/annotations/annotation": annotation +"/genomics:v1/SearchAnnotationsResponse/nextPageToken": next_page_token +"/genomics:v1/SearchCallSetsRequest": search_call_sets_request +"/genomics:v1/SearchCallSetsRequest/name": name +"/genomics:v1/SearchCallSetsRequest/pageSize": page_size +"/genomics:v1/SearchCallSetsRequest/pageToken": page_token +"/genomics:v1/SearchCallSetsRequest/variantSetIds": variant_set_ids +"/genomics:v1/SearchCallSetsRequest/variantSetIds/variant_set_id": variant_set_id +"/genomics:v1/SearchCallSetsResponse": search_call_sets_response +"/genomics:v1/SearchCallSetsResponse/callSets": call_sets +"/genomics:v1/SearchCallSetsResponse/callSets/call_set": call_set +"/genomics:v1/SearchCallSetsResponse/nextPageToken": next_page_token +"/genomics:v1/SearchReadGroupSetsRequest": search_read_group_sets_request +"/genomics:v1/SearchReadGroupSetsRequest/datasetIds": dataset_ids +"/genomics:v1/SearchReadGroupSetsRequest/datasetIds/dataset_id": dataset_id +"/genomics:v1/SearchReadGroupSetsRequest/name": name +"/genomics:v1/SearchReadGroupSetsRequest/pageSize": page_size +"/genomics:v1/SearchReadGroupSetsRequest/pageToken": page_token +"/genomics:v1/SearchReadGroupSetsResponse": search_read_group_sets_response +"/genomics:v1/SearchReadGroupSetsResponse/nextPageToken": next_page_token +"/genomics:v1/SearchReadGroupSetsResponse/readGroupSets": read_group_sets +"/genomics:v1/SearchReadGroupSetsResponse/readGroupSets/read_group_set": read_group_set +"/genomics:v1/SearchReadsRequest": search_reads_request +"/genomics:v1/SearchReadsRequest/end": end +"/genomics:v1/SearchReadsRequest/pageSize": page_size +"/genomics:v1/SearchReadsRequest/pageToken": page_token +"/genomics:v1/SearchReadsRequest/readGroupIds": read_group_ids +"/genomics:v1/SearchReadsRequest/readGroupIds/read_group_id": read_group_id +"/genomics:v1/SearchReadsRequest/readGroupSetIds": read_group_set_ids +"/genomics:v1/SearchReadsRequest/readGroupSetIds/read_group_set_id": read_group_set_id +"/genomics:v1/SearchReadsRequest/referenceName": reference_name +"/genomics:v1/SearchReadsRequest/start": start +"/genomics:v1/SearchReadsResponse": search_reads_response +"/genomics:v1/SearchReadsResponse/alignments": alignments +"/genomics:v1/SearchReadsResponse/alignments/alignment": alignment +"/genomics:v1/SearchReadsResponse/nextPageToken": next_page_token +"/genomics:v1/SearchReferenceSetsRequest": search_reference_sets_request +"/genomics:v1/SearchReferenceSetsRequest/accessions": accessions +"/genomics:v1/SearchReferenceSetsRequest/accessions/accession": accession +"/genomics:v1/SearchReferenceSetsRequest/assemblyId": assembly_id +"/genomics:v1/SearchReferenceSetsRequest/md5checksums": md5checksums +"/genomics:v1/SearchReferenceSetsRequest/md5checksums/md5checksum": md5checksum +"/genomics:v1/SearchReferenceSetsRequest/pageSize": page_size +"/genomics:v1/SearchReferenceSetsRequest/pageToken": page_token +"/genomics:v1/SearchReferenceSetsResponse": search_reference_sets_response +"/genomics:v1/SearchReferenceSetsResponse/nextPageToken": next_page_token +"/genomics:v1/SearchReferenceSetsResponse/referenceSets": reference_sets +"/genomics:v1/SearchReferenceSetsResponse/referenceSets/reference_set": reference_set +"/genomics:v1/SearchReferencesRequest": search_references_request +"/genomics:v1/SearchReferencesRequest/accessions": accessions +"/genomics:v1/SearchReferencesRequest/accessions/accession": accession +"/genomics:v1/SearchReferencesRequest/md5checksums": md5checksums +"/genomics:v1/SearchReferencesRequest/md5checksums/md5checksum": md5checksum +"/genomics:v1/SearchReferencesRequest/pageSize": page_size +"/genomics:v1/SearchReferencesRequest/pageToken": page_token +"/genomics:v1/SearchReferencesRequest/referenceSetId": reference_set_id +"/genomics:v1/SearchReferencesResponse": search_references_response +"/genomics:v1/SearchReferencesResponse/nextPageToken": next_page_token +"/genomics:v1/SearchReferencesResponse/references": references +"/genomics:v1/SearchReferencesResponse/references/reference": reference +"/genomics:v1/SearchVariantSetsRequest": search_variant_sets_request +"/genomics:v1/SearchVariantSetsRequest/datasetIds": dataset_ids +"/genomics:v1/SearchVariantSetsRequest/datasetIds/dataset_id": dataset_id +"/genomics:v1/SearchVariantSetsRequest/pageSize": page_size +"/genomics:v1/SearchVariantSetsRequest/pageToken": page_token +"/genomics:v1/SearchVariantSetsResponse": search_variant_sets_response +"/genomics:v1/SearchVariantSetsResponse/nextPageToken": next_page_token +"/genomics:v1/SearchVariantSetsResponse/variantSets": variant_sets +"/genomics:v1/SearchVariantSetsResponse/variantSets/variant_set": variant_set +"/genomics:v1/SearchVariantsRequest": search_variants_request +"/genomics:v1/SearchVariantsRequest/callSetIds": call_set_ids +"/genomics:v1/SearchVariantsRequest/callSetIds/call_set_id": call_set_id +"/genomics:v1/SearchVariantsRequest/end": end +"/genomics:v1/SearchVariantsRequest/maxCalls": max_calls +"/genomics:v1/SearchVariantsRequest/pageSize": page_size +"/genomics:v1/SearchVariantsRequest/pageToken": page_token +"/genomics:v1/SearchVariantsRequest/referenceName": reference_name +"/genomics:v1/SearchVariantsRequest/start": start +"/genomics:v1/SearchVariantsRequest/variantName": variant_name +"/genomics:v1/SearchVariantsRequest/variantSetIds": variant_set_ids +"/genomics:v1/SearchVariantsRequest/variantSetIds/variant_set_id": variant_set_id +"/genomics:v1/SearchVariantsResponse": search_variants_response +"/genomics:v1/SearchVariantsResponse/nextPageToken": next_page_token +"/genomics:v1/SearchVariantsResponse/variants": variants +"/genomics:v1/SearchVariantsResponse/variants/variant": variant +"/genomics:v1/SetIamPolicyRequest": set_iam_policy_request +"/genomics:v1/SetIamPolicyRequest/policy": policy +"/genomics:v1/Status": status +"/genomics:v1/Status/code": code +"/genomics:v1/Status/details": details +"/genomics:v1/Status/details/detail": detail +"/genomics:v1/Status/details/detail/detail": detail +"/genomics:v1/Status/message": message +"/genomics:v1/TestIamPermissionsRequest": test_iam_permissions_request +"/genomics:v1/TestIamPermissionsRequest/permissions": permissions +"/genomics:v1/TestIamPermissionsRequest/permissions/permission": permission +"/genomics:v1/TestIamPermissionsResponse": test_iam_permissions_response +"/genomics:v1/TestIamPermissionsResponse/permissions": permissions +"/genomics:v1/TestIamPermissionsResponse/permissions/permission": permission +"/genomics:v1/Transcript": transcript +"/genomics:v1/Transcript/codingSequence": coding_sequence +"/genomics:v1/Transcript/exons": exons +"/genomics:v1/Transcript/exons/exon": exon +"/genomics:v1/Transcript/geneId": gene_id +"/genomics:v1/UndeleteDatasetRequest": undelete_dataset_request +"/genomics:v1/Variant": variant +"/genomics:v1/Variant/alternateBases": alternate_bases +"/genomics:v1/Variant/alternateBases/alternate_basis": alternate_basis +"/genomics:v1/Variant/calls": calls +"/genomics:v1/Variant/calls/call": call +"/genomics:v1/Variant/created": created +"/genomics:v1/Variant/end": end +"/genomics:v1/Variant/filter": filter +"/genomics:v1/Variant/filter/filter": filter +"/genomics:v1/Variant/id": id +"/genomics:v1/Variant/info": info +"/genomics:v1/Variant/info/info": info +"/genomics:v1/Variant/info/info/info": info +"/genomics:v1/Variant/names": names +"/genomics:v1/Variant/names/name": name +"/genomics:v1/Variant/quality": quality +"/genomics:v1/Variant/referenceBases": reference_bases +"/genomics:v1/Variant/referenceName": reference_name +"/genomics:v1/Variant/start": start +"/genomics:v1/Variant/variantSetId": variant_set_id +"/genomics:v1/VariantAnnotation": variant_annotation +"/genomics:v1/VariantAnnotation/alternateBases": alternate_bases +"/genomics:v1/VariantAnnotation/clinicalSignificance": clinical_significance +"/genomics:v1/VariantAnnotation/conditions": conditions +"/genomics:v1/VariantAnnotation/conditions/condition": condition +"/genomics:v1/VariantAnnotation/effect": effect +"/genomics:v1/VariantAnnotation/geneId": gene_id +"/genomics:v1/VariantAnnotation/transcriptIds": transcript_ids +"/genomics:v1/VariantAnnotation/transcriptIds/transcript_id": transcript_id +"/genomics:v1/VariantAnnotation/type": type +"/genomics:v1/VariantCall": variant_call +"/genomics:v1/VariantCall/callSetId": call_set_id +"/genomics:v1/VariantCall/callSetName": call_set_name +"/genomics:v1/VariantCall/genotype": genotype +"/genomics:v1/VariantCall/genotype/genotype": genotype +"/genomics:v1/VariantCall/genotypeLikelihood": genotype_likelihood +"/genomics:v1/VariantCall/genotypeLikelihood/genotype_likelihood": genotype_likelihood +"/genomics:v1/VariantCall/info": info +"/genomics:v1/VariantCall/info/info": info +"/genomics:v1/VariantCall/info/info/info": info +"/genomics:v1/VariantCall/phaseset": phaseset +"/genomics:v1/VariantSet": variant_set +"/genomics:v1/VariantSet/datasetId": dataset_id +"/genomics:v1/VariantSet/description": description +"/genomics:v1/VariantSet/id": id +"/genomics:v1/VariantSet/metadata": metadata +"/genomics:v1/VariantSet/metadata/metadatum": metadatum +"/genomics:v1/VariantSet/name": name +"/genomics:v1/VariantSet/referenceBounds": reference_bounds +"/genomics:v1/VariantSet/referenceBounds/reference_bound": reference_bound +"/genomics:v1/VariantSet/referenceSetId": reference_set_id +"/genomics:v1/VariantSetMetadata": variant_set_metadata +"/genomics:v1/VariantSetMetadata/description": description +"/genomics:v1/VariantSetMetadata/id": id +"/genomics:v1/VariantSetMetadata/info": info +"/genomics:v1/VariantSetMetadata/info/info": info +"/genomics:v1/VariantSetMetadata/info/info/info": info +"/genomics:v1/VariantSetMetadata/key": key +"/genomics:v1/VariantSetMetadata/number": number +"/genomics:v1/VariantSetMetadata/type": type +"/genomics:v1/VariantSetMetadata/value": value "/genomics:v1/fields": fields -"/genomics:v1/key": key -"/genomics:v1/quotaUser": quota_user +"/genomics:v1/genomics.annotations.batchCreate": batch_create_annotations +"/genomics:v1/genomics.annotations.create": create_annotation "/genomics:v1/genomics.annotations.delete": delete_annotation "/genomics:v1/genomics.annotations.delete/annotationId": annotation_id -"/genomics:v1/genomics.annotations.create": create_annotation -"/genomics:v1/genomics.annotations.batchCreate": batch_create_annotations -"/genomics:v1/genomics.annotations.search": search_annotations "/genomics:v1/genomics.annotations.get": get_annotation "/genomics:v1/genomics.annotations.get/annotationId": annotation_id +"/genomics:v1/genomics.annotations.search": search_annotations "/genomics:v1/genomics.annotations.update": update_annotation -"/genomics:v1/genomics.annotations.update/updateMask": update_mask "/genomics:v1/genomics.annotations.update/annotationId": annotation_id -"/genomics:v1/genomics.variantsets.delete": delete_variantset -"/genomics:v1/genomics.variantsets.delete/variantSetId": variant_set_id -"/genomics:v1/genomics.variantsets.create": create_variantset -"/genomics:v1/genomics.variantsets.export/variantSetId": variant_set_id -"/genomics:v1/genomics.variantsets.get": get_variantset -"/genomics:v1/genomics.variantsets.get/variantSetId": variant_set_id -"/genomics:v1/genomics.variantsets.patch": patch_variantset -"/genomics:v1/genomics.variantsets.patch/variantSetId": variant_set_id -"/genomics:v1/genomics.variantsets.patch/updateMask": update_mask +"/genomics:v1/genomics.annotations.update/updateMask": update_mask +"/genomics:v1/genomics.annotationsets.create": create_annotation_set +"/genomics:v1/genomics.annotationsets.delete": delete_annotationset +"/genomics:v1/genomics.annotationsets.delete/annotationSetId": annotation_set_id +"/genomics:v1/genomics.annotationsets.get": get_annotation_set +"/genomics:v1/genomics.annotationsets.get/annotationSetId": annotation_set_id +"/genomics:v1/genomics.annotationsets.search": search_annotationset_annotation_sets +"/genomics:v1/genomics.annotationsets.update": update_annotationset +"/genomics:v1/genomics.annotationsets.update/annotationSetId": annotation_set_id +"/genomics:v1/genomics.annotationsets.update/updateMask": update_mask +"/genomics:v1/genomics.callsets.create": create_call_set +"/genomics:v1/genomics.callsets.delete": delete_call_set +"/genomics:v1/genomics.callsets.delete/callSetId": call_set_id +"/genomics:v1/genomics.callsets.get": get_call_set +"/genomics:v1/genomics.callsets.get/callSetId": call_set_id +"/genomics:v1/genomics.callsets.patch": patch_call_set +"/genomics:v1/genomics.callsets.patch/callSetId": call_set_id +"/genomics:v1/genomics.callsets.patch/updateMask": update_mask +"/genomics:v1/genomics.callsets.search": search_call_sets +"/genomics:v1/genomics.callsets.update": update_call_set +"/genomics:v1/genomics.datasets.create": create_dataset +"/genomics:v1/genomics.datasets.delete": delete_dataset +"/genomics:v1/genomics.datasets.delete/datasetId": dataset_id +"/genomics:v1/genomics.datasets.get": get_dataset +"/genomics:v1/genomics.datasets.get/datasetId": dataset_id +"/genomics:v1/genomics.datasets.getIamPolicy": get_dataset_iam_policy +"/genomics:v1/genomics.datasets.getIamPolicy/resource": resource +"/genomics:v1/genomics.datasets.list": list_datasets +"/genomics:v1/genomics.datasets.list/pageSize": page_size +"/genomics:v1/genomics.datasets.list/pageToken": page_token +"/genomics:v1/genomics.datasets.list/projectId": project_id +"/genomics:v1/genomics.datasets.patch": patch_dataset +"/genomics:v1/genomics.datasets.patch/datasetId": dataset_id +"/genomics:v1/genomics.datasets.patch/updateMask": update_mask +"/genomics:v1/genomics.datasets.setIamPolicy": set_dataset_iam_policy +"/genomics:v1/genomics.datasets.setIamPolicy/resource": resource +"/genomics:v1/genomics.datasets.testIamPermissions": test_dataset_iam_permissions +"/genomics:v1/genomics.datasets.testIamPermissions/resource": resource +"/genomics:v1/genomics.datasets.undelete": undelete_dataset +"/genomics:v1/genomics.datasets.undelete/datasetId": dataset_id "/genomics:v1/genomics.operations.cancel": cancel_operation "/genomics:v1/genomics.operations.cancel/name": name "/genomics:v1/genomics.operations.get": get_operation "/genomics:v1/genomics.operations.get/name": name "/genomics:v1/genomics.operations.list": list_operations -"/genomics:v1/genomics.operations.list/pageToken": page_token +"/genomics:v1/genomics.operations.list/filter": filter "/genomics:v1/genomics.operations.list/name": name "/genomics:v1/genomics.operations.list/pageSize": page_size -"/genomics:v1/genomics.operations.list/filter": filter -"/genomics:v1/genomics.referencesets.get/referenceSetId": reference_set_id -"/genomics:v1/genomics.readgroupsets.get/readGroupSetId": read_group_set_id -"/genomics:v1/genomics.readgroupsets.patch/updateMask": update_mask -"/genomics:v1/genomics.readgroupsets.patch/readGroupSetId": read_group_set_id -"/genomics:v1/genomics.readgroupsets.delete/readGroupSetId": read_group_set_id -"/genomics:v1/genomics.readgroupsets.export/readGroupSetId": read_group_set_id +"/genomics:v1/genomics.operations.list/pageToken": page_token +"/genomics:v1/genomics.readgroupsets.align": align_read_group_sets +"/genomics:v1/genomics.readgroupsets.call": call_read_group_sets +"/genomics:v1/genomics.readgroupsets.coveragebuckets.list": list_coverage_buckets "/genomics:v1/genomics.readgroupsets.coveragebuckets.list/end": end_ -"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/pageToken": page_token "/genomics:v1/genomics.readgroupsets.coveragebuckets.list/pageSize": page_size -"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/start": start -"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/targetBucketWidth": target_bucket_width +"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/pageToken": page_token "/genomics:v1/genomics.readgroupsets.coveragebuckets.list/readGroupSetId": read_group_set_id "/genomics:v1/genomics.readgroupsets.coveragebuckets.list/referenceName": reference_name +"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/start": start +"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/targetBucketWidth": target_bucket_width +"/genomics:v1/genomics.readgroupsets.delete": delete_read_group_set +"/genomics:v1/genomics.readgroupsets.delete/readGroupSetId": read_group_set_id +"/genomics:v1/genomics.readgroupsets.export": export_read_group_sets +"/genomics:v1/genomics.readgroupsets.export/readGroupSetId": read_group_set_id +"/genomics:v1/genomics.readgroupsets.get": get_read_group_set +"/genomics:v1/genomics.readgroupsets.get/readGroupSetId": read_group_set_id +"/genomics:v1/genomics.readgroupsets.import": import_read_group_sets +"/genomics:v1/genomics.readgroupsets.patch": patch_read_group_set +"/genomics:v1/genomics.readgroupsets.patch/readGroupSetId": read_group_set_id +"/genomics:v1/genomics.readgroupsets.patch/updateMask": update_mask +"/genomics:v1/genomics.readgroupsets.search": search_read_group_sets +"/genomics:v1/genomics.readgroupsets.update": update_read_group_set "/genomics:v1/genomics.reads.search": search_reads -"/genomics:v1/genomics.callsets.get/callSetId": call_set_id -"/genomics:v1/genomics.callsets.patch/callSetId": call_set_id -"/genomics:v1/genomics.callsets.patch/updateMask": update_mask -"/genomics:v1/genomics.callsets.delete/callSetId": call_set_id -"/genomics:v1/genomics.annotationsets.delete": delete_annotationset -"/genomics:v1/genomics.annotationsets.delete/annotationSetId": annotation_set_id -"/genomics:v1/genomics.annotationsets.search": search_annotationset_annotation_sets -"/genomics:v1/genomics.annotationsets.get/annotationSetId": annotation_set_id -"/genomics:v1/genomics.annotationsets.update": update_annotationset -"/genomics:v1/genomics.annotationsets.update/updateMask": update_mask -"/genomics:v1/genomics.annotationsets.update/annotationSetId": annotation_set_id +"/genomics:v1/genomics.references.bases.list": list_reference_bases +"/genomics:v1/genomics.references.bases.list/end": end_position +"/genomics:v1/genomics.references.bases.list/pageSize": page_size +"/genomics:v1/genomics.references.bases.list/pageToken": page_token +"/genomics:v1/genomics.references.bases.list/referenceId": reference_id +"/genomics:v1/genomics.references.bases.list/start": start_position +"/genomics:v1/genomics.references.get": get_reference +"/genomics:v1/genomics.references.get/referenceId": reference_id +"/genomics:v1/genomics.references.search": search_references +"/genomics:v1/genomics.referencesets.get": get_reference_set +"/genomics:v1/genomics.referencesets.get/referenceSetId": reference_set_id +"/genomics:v1/genomics.referencesets.search": search_reference_sets +"/genomics:v1/genomics.streamingReadstore.streamreads": stream_reads +"/genomics:v1/genomics.variants.create": create_variant +"/genomics:v1/genomics.variants.delete": delete_variant +"/genomics:v1/genomics.variants.delete/variantId": variant_id "/genomics:v1/genomics.variants.get": get_variant "/genomics:v1/genomics.variants.get/variantId": variant_id +"/genomics:v1/genomics.variants.import": import_variants +"/genomics:v1/genomics.variants.merge": merge_variants "/genomics:v1/genomics.variants.patch": patch_variant "/genomics:v1/genomics.variants.patch/updateMask": update_mask "/genomics:v1/genomics.variants.patch/variantId": variant_id -"/genomics:v1/genomics.variants.merge": merge_variants -"/genomics:v1/genomics.variants.import": import_variants -"/genomics:v1/genomics.variants.delete": delete_variant -"/genomics:v1/genomics.variants.delete/variantId": variant_id -"/genomics:v1/genomics.variants.create": create_variant "/genomics:v1/genomics.variants.search": search_variants -"/genomics:v1/genomics.references.search": search_references -"/genomics:v1/genomics.references.get": get_reference -"/genomics:v1/genomics.references.get/referenceId": reference_id -"/genomics:v1/genomics.references.bases.list": list_reference_bases -"/genomics:v1/genomics.references.bases.list/pageToken": page_token -"/genomics:v1/genomics.references.bases.list/pageSize": page_size -"/genomics:v1/genomics.references.bases.list/referenceId": reference_id -"/genomics:v1/genomics.datasets.getIamPolicy": get_dataset_iam_policy -"/genomics:v1/genomics.datasets.getIamPolicy/resource": resource -"/genomics:v1/genomics.datasets.undelete": undelete_dataset -"/genomics:v1/genomics.datasets.undelete/datasetId": dataset_id -"/genomics:v1/genomics.datasets.get": get_dataset -"/genomics:v1/genomics.datasets.get/datasetId": dataset_id -"/genomics:v1/genomics.datasets.patch": patch_dataset -"/genomics:v1/genomics.datasets.patch/datasetId": dataset_id -"/genomics:v1/genomics.datasets.patch/updateMask": update_mask -"/genomics:v1/genomics.datasets.testIamPermissions": test_dataset_iam_permissions -"/genomics:v1/genomics.datasets.testIamPermissions/resource": resource -"/genomics:v1/genomics.datasets.delete": delete_dataset -"/genomics:v1/genomics.datasets.delete/datasetId": dataset_id -"/genomics:v1/genomics.datasets.list": list_datasets -"/genomics:v1/genomics.datasets.list/pageToken": page_token -"/genomics:v1/genomics.datasets.list/pageSize": page_size -"/genomics:v1/genomics.datasets.list/projectId": project_id -"/genomics:v1/genomics.datasets.setIamPolicy": set_dataset_iam_policy -"/genomics:v1/genomics.datasets.setIamPolicy/resource": resource -"/genomics:v1/genomics.datasets.create": create_dataset -"/genomics:v1/SearchReferencesResponse": search_references_response -"/genomics:v1/SearchReferencesResponse/references": references -"/genomics:v1/SearchReferencesResponse/references/reference": reference -"/genomics:v1/SearchReferencesResponse/nextPageToken": next_page_token -"/genomics:v1/GetIamPolicyRequest": get_iam_policy_request -"/genomics:v1/TestIamPermissionsResponse": test_iam_permissions_response -"/genomics:v1/TestIamPermissionsResponse/permissions": permissions -"/genomics:v1/TestIamPermissionsResponse/permissions/permission": permission -"/genomics:v1/SearchAnnotationSetsRequest": search_annotation_sets_request -"/genomics:v1/SearchAnnotationSetsRequest/name": name -"/genomics:v1/SearchAnnotationSetsRequest/referenceSetId": reference_set_id -"/genomics:v1/SearchAnnotationSetsRequest/pageToken": page_token -"/genomics:v1/SearchAnnotationSetsRequest/pageSize": page_size -"/genomics:v1/SearchAnnotationSetsRequest/datasetIds": dataset_ids -"/genomics:v1/SearchAnnotationSetsRequest/datasetIds/dataset_id": dataset_id -"/genomics:v1/SearchAnnotationSetsRequest/types": types -"/genomics:v1/SearchAnnotationSetsRequest/types/type": type -"/genomics:v1/SearchReadGroupSetsResponse": search_read_group_sets_response -"/genomics:v1/SearchReadGroupSetsResponse/nextPageToken": next_page_token -"/genomics:v1/SearchReadGroupSetsResponse/readGroupSets": read_group_sets -"/genomics:v1/SearchReadGroupSetsResponse/readGroupSets/read_group_set": read_group_set -"/genomics:v1/SearchReferencesRequest": search_references_request -"/genomics:v1/SearchReferencesRequest/md5checksums": md5checksums -"/genomics:v1/SearchReferencesRequest/md5checksums/md5checksum": md5checksum -"/genomics:v1/SearchReferencesRequest/pageToken": page_token -"/genomics:v1/SearchReferencesRequest/accessions": accessions -"/genomics:v1/SearchReferencesRequest/accessions/accession": accession -"/genomics:v1/SearchReferencesRequest/pageSize": page_size -"/genomics:v1/SearchReferencesRequest/referenceSetId": reference_set_id -"/genomics:v1/LinearAlignment": linear_alignment -"/genomics:v1/LinearAlignment/mappingQuality": mapping_quality -"/genomics:v1/LinearAlignment/cigar": cigar -"/genomics:v1/LinearAlignment/cigar/cigar": cigar -"/genomics:v1/LinearAlignment/position": position -"/genomics:v1/Dataset": dataset -"/genomics:v1/Dataset/projectId": project_id -"/genomics:v1/Dataset/id": id -"/genomics:v1/Dataset/createTime": create_time -"/genomics:v1/Dataset/name": name -"/genomics:v1/ImportVariantsResponse": import_variants_response -"/genomics:v1/ImportVariantsResponse/callSetIds": call_set_ids -"/genomics:v1/ImportVariantsResponse/callSetIds/call_set_id": call_set_id -"/genomics:v1/ReadGroup": read_group -"/genomics:v1/ReadGroup/programs": programs -"/genomics:v1/ReadGroup/programs/program": program -"/genomics:v1/ReadGroup/predictedInsertSize": predicted_insert_size -"/genomics:v1/ReadGroup/description": description -"/genomics:v1/ReadGroup/sampleId": sample_id -"/genomics:v1/ReadGroup/datasetId": dataset_id -"/genomics:v1/ReadGroup/experiment": experiment -"/genomics:v1/ReadGroup/name": name -"/genomics:v1/ReadGroup/referenceSetId": reference_set_id -"/genomics:v1/ReadGroup/info": info -"/genomics:v1/ReadGroup/info/info": info -"/genomics:v1/ReadGroup/info/info/info": info -"/genomics:v1/ReadGroup/id": id -"/genomics:v1/ReadGroupSet": read_group_set -"/genomics:v1/ReadGroupSet/id": id -"/genomics:v1/ReadGroupSet/datasetId": dataset_id -"/genomics:v1/ReadGroupSet/filename": filename -"/genomics:v1/ReadGroupSet/readGroups": read_groups -"/genomics:v1/ReadGroupSet/readGroups/read_group": read_group -"/genomics:v1/ReadGroupSet/name": name -"/genomics:v1/ReadGroupSet/referenceSetId": reference_set_id -"/genomics:v1/ReadGroupSet/info": info -"/genomics:v1/ReadGroupSet/info/info": info -"/genomics:v1/ReadGroupSet/info/info/info": info -"/genomics:v1/SearchVariantSetsResponse": search_variant_sets_response -"/genomics:v1/SearchVariantSetsResponse/variantSets": variant_sets -"/genomics:v1/SearchVariantSetsResponse/variantSets/variant_set": variant_set -"/genomics:v1/SearchVariantSetsResponse/nextPageToken": next_page_token -"/genomics:v1/Empty": empty -"/genomics:v1/Entry": entry -"/genomics:v1/Entry/annotation": annotation -"/genomics:v1/Entry/status": status -"/genomics:v1/Position": position -"/genomics:v1/Position/position": position -"/genomics:v1/Position/referenceName": reference_name -"/genomics:v1/Position/reverseStrand": reverse_strand -"/genomics:v1/SearchReferenceSetsResponse": search_reference_sets_response -"/genomics:v1/SearchReferenceSetsResponse/referenceSets": reference_sets -"/genomics:v1/SearchReferenceSetsResponse/referenceSets/reference_set": reference_set -"/genomics:v1/SearchReferenceSetsResponse/nextPageToken": next_page_token -"/genomics:v1/SearchCallSetsRequest": search_call_sets_request -"/genomics:v1/SearchCallSetsRequest/pageToken": page_token -"/genomics:v1/SearchCallSetsRequest/name": name -"/genomics:v1/SearchCallSetsRequest/pageSize": page_size -"/genomics:v1/SearchCallSetsRequest/variantSetIds": variant_set_ids -"/genomics:v1/SearchCallSetsRequest/variantSetIds/variant_set_id": variant_set_id -"/genomics:v1/ImportReadGroupSetsRequest": import_read_group_sets_request -"/genomics:v1/ImportReadGroupSetsRequest/referenceSetId": reference_set_id -"/genomics:v1/ImportReadGroupSetsRequest/partitionStrategy": partition_strategy -"/genomics:v1/ImportReadGroupSetsRequest/datasetId": dataset_id -"/genomics:v1/ImportReadGroupSetsRequest/sourceUris": source_uris -"/genomics:v1/ImportReadGroupSetsRequest/sourceUris/source_uri": source_uri -"/genomics:v1/Policy": policy -"/genomics:v1/Policy/etag": etag -"/genomics:v1/Policy/version": version -"/genomics:v1/Policy/bindings": bindings -"/genomics:v1/Policy/bindings/binding": binding -"/genomics:v1/SearchReadsRequest": search_reads_request -"/genomics:v1/SearchReadsRequest/readGroupIds": read_group_ids -"/genomics:v1/SearchReadsRequest/readGroupIds/read_group_id": read_group_id -"/genomics:v1/SearchReadsRequest/end": end -"/genomics:v1/SearchReadsRequest/pageToken": page_token -"/genomics:v1/SearchReadsRequest/pageSize": page_size -"/genomics:v1/SearchReadsRequest/start": start -"/genomics:v1/SearchReadsRequest/referenceName": reference_name -"/genomics:v1/SearchReadsRequest/readGroupSetIds": read_group_set_ids -"/genomics:v1/SearchReadsRequest/readGroupSetIds/read_group_set_id": read_group_set_id -"/genomics:v1/CancelOperationRequest": cancel_operation_request -"/genomics:v1/Annotation": annotation -"/genomics:v1/Annotation/annotationSetId": annotation_set_id -"/genomics:v1/Annotation/name": name -"/genomics:v1/Annotation/variant": variant -"/genomics:v1/Annotation/id": id -"/genomics:v1/Annotation/referenceId": reference_id -"/genomics:v1/Annotation/reverseStrand": reverse_strand -"/genomics:v1/Annotation/referenceName": reference_name -"/genomics:v1/Annotation/type": type -"/genomics:v1/Annotation/info": info -"/genomics:v1/Annotation/info/info": info -"/genomics:v1/Annotation/info/info/info": info -"/genomics:v1/Annotation/end": end -"/genomics:v1/Annotation/transcript": transcript -"/genomics:v1/Annotation/start": start -"/genomics:v1/RuntimeMetadata": runtime_metadata -"/genomics:v1/RuntimeMetadata/computeEngine": compute_engine -"/genomics:v1/Operation": operation -"/genomics:v1/Operation/error": error -"/genomics:v1/Operation/metadata": metadata -"/genomics:v1/Operation/metadata/metadatum": metadatum -"/genomics:v1/Operation/done": done -"/genomics:v1/Operation/response": response -"/genomics:v1/Operation/response/response": response -"/genomics:v1/Operation/name": name -"/genomics:v1/ImportReadGroupSetsResponse": import_read_group_sets_response -"/genomics:v1/ImportReadGroupSetsResponse/readGroupSetIds": read_group_set_ids -"/genomics:v1/ImportReadGroupSetsResponse/readGroupSetIds/read_group_set_id": read_group_set_id -"/genomics:v1/VariantCall": variant_call -"/genomics:v1/VariantCall/info": info -"/genomics:v1/VariantCall/info/info": info -"/genomics:v1/VariantCall/info/info/info": info -"/genomics:v1/VariantCall/callSetName": call_set_name -"/genomics:v1/VariantCall/genotypeLikelihood": genotype_likelihood -"/genomics:v1/VariantCall/genotypeLikelihood/genotype_likelihood": genotype_likelihood -"/genomics:v1/VariantCall/callSetId": call_set_id -"/genomics:v1/VariantCall/genotype": genotype -"/genomics:v1/VariantCall/genotype/genotype": genotype -"/genomics:v1/VariantCall/phaseset": phaseset -"/genomics:v1/SearchVariantsResponse": search_variants_response -"/genomics:v1/SearchVariantsResponse/variants": variants -"/genomics:v1/SearchVariantsResponse/variants/variant": variant -"/genomics:v1/SearchVariantsResponse/nextPageToken": next_page_token -"/genomics:v1/ListBasesResponse": list_bases_response -"/genomics:v1/ListBasesResponse/sequence": sequence -"/genomics:v1/ListBasesResponse/offset": offset -"/genomics:v1/ListBasesResponse/nextPageToken": next_page_token -"/genomics:v1/Status": status -"/genomics:v1/Status/details": details -"/genomics:v1/Status/details/detail": detail -"/genomics:v1/Status/details/detail/detail": detail -"/genomics:v1/Status/code": code -"/genomics:v1/Status/message": message -"/genomics:v1/Binding": binding -"/genomics:v1/Binding/members": members -"/genomics:v1/Binding/members/member": member -"/genomics:v1/Binding/role": role -"/genomics:v1/UndeleteDatasetRequest": undelete_dataset_request -"/genomics:v1/Range": range -"/genomics:v1/Range/referenceName": reference_name -"/genomics:v1/Range/start": start -"/genomics:v1/Range/end": end -"/genomics:v1/VariantSet": variant_set -"/genomics:v1/VariantSet/metadata": metadata -"/genomics:v1/VariantSet/metadata/metadatum": metadatum -"/genomics:v1/VariantSet/referenceBounds": reference_bounds -"/genomics:v1/VariantSet/referenceBounds/reference_bound": reference_bound -"/genomics:v1/VariantSet/id": id -"/genomics:v1/VariantSet/description": description -"/genomics:v1/VariantSet/datasetId": dataset_id -"/genomics:v1/VariantSet/name": name -"/genomics:v1/VariantSet/referenceSetId": reference_set_id -"/genomics:v1/ReferenceBound": reference_bound -"/genomics:v1/ReferenceBound/upperBound": upper_bound -"/genomics:v1/ReferenceBound/referenceName": reference_name -"/genomics:v1/BatchCreateAnnotationsResponse": batch_create_annotations_response -"/genomics:v1/BatchCreateAnnotationsResponse/entries": entries -"/genomics:v1/BatchCreateAnnotationsResponse/entries/entry": entry -"/genomics:v1/SearchCallSetsResponse": search_call_sets_response -"/genomics:v1/SearchCallSetsResponse/callSets": call_sets -"/genomics:v1/SearchCallSetsResponse/callSets/call_set": call_set -"/genomics:v1/SearchCallSetsResponse/nextPageToken": next_page_token -"/genomics:v1/Variant": variant -"/genomics:v1/Variant/variantSetId": variant_set_id -"/genomics:v1/Variant/referenceName": reference_name -"/genomics:v1/Variant/info": info -"/genomics:v1/Variant/info/info": info -"/genomics:v1/Variant/info/info/info": info -"/genomics:v1/Variant/referenceBases": reference_bases -"/genomics:v1/Variant/names": names -"/genomics:v1/Variant/names/name": name -"/genomics:v1/Variant/alternateBases": alternate_bases -"/genomics:v1/Variant/alternateBases/alternate_basis": alternate_basis -"/genomics:v1/Variant/end": end -"/genomics:v1/Variant/filter": filter -"/genomics:v1/Variant/filter/filter": filter -"/genomics:v1/Variant/calls": calls -"/genomics:v1/Variant/calls/call": call -"/genomics:v1/Variant/created": created -"/genomics:v1/Variant/start": start -"/genomics:v1/Variant/quality": quality -"/genomics:v1/Variant/id": id -"/genomics:v1/ListOperationsResponse": list_operations_response -"/genomics:v1/ListOperationsResponse/nextPageToken": next_page_token -"/genomics:v1/ListOperationsResponse/operations": operations -"/genomics:v1/ListOperationsResponse/operations/operation": operation -"/genomics:v1/SearchVariantsRequest": search_variants_request -"/genomics:v1/SearchVariantsRequest/callSetIds": call_set_ids -"/genomics:v1/SearchVariantsRequest/callSetIds/call_set_id": call_set_id -"/genomics:v1/SearchVariantsRequest/variantName": variant_name -"/genomics:v1/SearchVariantsRequest/start": start -"/genomics:v1/SearchVariantsRequest/referenceName": reference_name -"/genomics:v1/SearchVariantsRequest/variantSetIds": variant_set_ids -"/genomics:v1/SearchVariantsRequest/variantSetIds/variant_set_id": variant_set_id -"/genomics:v1/SearchVariantsRequest/end": end -"/genomics:v1/SearchVariantsRequest/maxCalls": max_calls -"/genomics:v1/SearchVariantsRequest/pageToken": page_token -"/genomics:v1/SearchVariantsRequest/pageSize": page_size -"/genomics:v1/OperationMetadata": operation_metadata -"/genomics:v1/OperationMetadata/startTime": start_time -"/genomics:v1/OperationMetadata/request": request -"/genomics:v1/OperationMetadata/request/request": request -"/genomics:v1/OperationMetadata/runtimeMetadata": runtime_metadata -"/genomics:v1/OperationMetadata/runtimeMetadata/runtime_metadatum": runtime_metadatum -"/genomics:v1/OperationMetadata/labels": labels -"/genomics:v1/OperationMetadata/labels/label": label -"/genomics:v1/OperationMetadata/createTime": create_time -"/genomics:v1/OperationMetadata/projectId": project_id -"/genomics:v1/OperationMetadata/clientId": client_id -"/genomics:v1/OperationMetadata/events": events -"/genomics:v1/OperationMetadata/events/event": event -"/genomics:v1/OperationMetadata/endTime": end_time -"/genomics:v1/SearchReadGroupSetsRequest": search_read_group_sets_request -"/genomics:v1/SearchReadGroupSetsRequest/pageToken": page_token -"/genomics:v1/SearchReadGroupSetsRequest/name": name -"/genomics:v1/SearchReadGroupSetsRequest/pageSize": page_size -"/genomics:v1/SearchReadGroupSetsRequest/datasetIds": dataset_ids -"/genomics:v1/SearchReadGroupSetsRequest/datasetIds/dataset_id": dataset_id -"/genomics:v1/SearchAnnotationsResponse": search_annotations_response -"/genomics:v1/SearchAnnotationsResponse/nextPageToken": next_page_token -"/genomics:v1/SearchAnnotationsResponse/annotations": annotations -"/genomics:v1/SearchAnnotationsResponse/annotations/annotation": annotation -"/genomics:v1/ClinicalCondition": clinical_condition -"/genomics:v1/ClinicalCondition/omimId": omim_id -"/genomics:v1/ClinicalCondition/externalIds": external_ids -"/genomics:v1/ClinicalCondition/externalIds/external_id": external_id -"/genomics:v1/ClinicalCondition/conceptId": concept_id -"/genomics:v1/ClinicalCondition/names": names -"/genomics:v1/ClinicalCondition/names/name": name -"/genomics:v1/SearchReadsResponse": search_reads_response -"/genomics:v1/SearchReadsResponse/alignments": alignments -"/genomics:v1/SearchReadsResponse/alignments/alignment": alignment -"/genomics:v1/SearchReadsResponse/nextPageToken": next_page_token -"/genomics:v1/Program": program -"/genomics:v1/Program/name": name -"/genomics:v1/Program/prevProgramId": prev_program_id -"/genomics:v1/Program/commandLine": command_line -"/genomics:v1/Program/version": version -"/genomics:v1/Program/id": id -"/genomics:v1/ComputeEngine": compute_engine -"/genomics:v1/ComputeEngine/diskNames": disk_names -"/genomics:v1/ComputeEngine/diskNames/disk_name": disk_name -"/genomics:v1/ComputeEngine/machineType": machine_type -"/genomics:v1/ComputeEngine/instanceName": instance_name -"/genomics:v1/ComputeEngine/zone": zone -"/genomics:v1/CoverageBucket": coverage_bucket -"/genomics:v1/CoverageBucket/range": range -"/genomics:v1/CoverageBucket/meanCoverage": mean_coverage -"/genomics:v1/ExternalId": external_id -"/genomics:v1/ExternalId/id": id -"/genomics:v1/ExternalId/sourceName": source_name -"/genomics:v1/SearchVariantSetsRequest": search_variant_sets_request -"/genomics:v1/SearchVariantSetsRequest/pageToken": page_token -"/genomics:v1/SearchVariantSetsRequest/pageSize": page_size -"/genomics:v1/SearchVariantSetsRequest/datasetIds": dataset_ids -"/genomics:v1/SearchVariantSetsRequest/datasetIds/dataset_id": dataset_id -"/genomics:v1/VariantSetMetadata": variant_set_metadata -"/genomics:v1/VariantSetMetadata/value": value -"/genomics:v1/VariantSetMetadata/id": id -"/genomics:v1/VariantSetMetadata/number": number -"/genomics:v1/VariantSetMetadata/key": key -"/genomics:v1/VariantSetMetadata/description": description -"/genomics:v1/VariantSetMetadata/info": info -"/genomics:v1/VariantSetMetadata/info/info": info -"/genomics:v1/VariantSetMetadata/info/info/info": info -"/genomics:v1/VariantSetMetadata/type": type -"/genomics:v1/Reference": reference -"/genomics:v1/Reference/id": id -"/genomics:v1/Reference/length": length -"/genomics:v1/Reference/sourceAccessions": source_accessions -"/genomics:v1/Reference/sourceAccessions/source_accession": source_accession -"/genomics:v1/Reference/sourceUri": source_uri -"/genomics:v1/Reference/ncbiTaxonId": ncbi_taxon_id -"/genomics:v1/Reference/name": name -"/genomics:v1/Reference/md5checksum": md5checksum -"/genomics:v1/SearchReferenceSetsRequest": search_reference_sets_request -"/genomics:v1/SearchReferenceSetsRequest/md5checksums": md5checksums -"/genomics:v1/SearchReferenceSetsRequest/md5checksums/md5checksum": md5checksum -"/genomics:v1/SearchReferenceSetsRequest/pageToken": page_token -"/genomics:v1/SearchReferenceSetsRequest/accessions": accessions -"/genomics:v1/SearchReferenceSetsRequest/accessions/accession": accession -"/genomics:v1/SearchReferenceSetsRequest/pageSize": page_size -"/genomics:v1/SearchReferenceSetsRequest/assemblyId": assembly_id -"/genomics:v1/SetIamPolicyRequest": set_iam_policy_request -"/genomics:v1/SetIamPolicyRequest/policy": policy -"/genomics:v1/MergeVariantsRequest": merge_variants_request -"/genomics:v1/MergeVariantsRequest/variants": variants -"/genomics:v1/MergeVariantsRequest/variants/variant": variant -"/genomics:v1/MergeVariantsRequest/infoMergeConfig": info_merge_config -"/genomics:v1/MergeVariantsRequest/infoMergeConfig/info_merge_config": info_merge_config -"/genomics:v1/MergeVariantsRequest/variantSetId": variant_set_id -"/genomics:v1/BatchCreateAnnotationsRequest": batch_create_annotations_request -"/genomics:v1/BatchCreateAnnotationsRequest/annotations": annotations -"/genomics:v1/BatchCreateAnnotationsRequest/annotations/annotation": annotation -"/genomics:v1/BatchCreateAnnotationsRequest/requestId": request_id -"/genomics:v1/Read": read -"/genomics:v1/Read/duplicateFragment": duplicate_fragment -"/genomics:v1/Read/readNumber": read_number -"/genomics:v1/Read/alignedSequence": aligned_sequence -"/genomics:v1/Read/readGroupId": read_group_id -"/genomics:v1/Read/info": info -"/genomics:v1/Read/info/info": info -"/genomics:v1/Read/info/info/info": info -"/genomics:v1/Read/nextMatePosition": next_mate_position -"/genomics:v1/Read/supplementaryAlignment": supplementary_alignment -"/genomics:v1/Read/properPlacement": proper_placement -"/genomics:v1/Read/fragmentLength": fragment_length -"/genomics:v1/Read/failedVendorQualityChecks": failed_vendor_quality_checks -"/genomics:v1/Read/alignedQuality": aligned_quality -"/genomics:v1/Read/alignedQuality/aligned_quality": aligned_quality -"/genomics:v1/Read/alignment": alignment -"/genomics:v1/Read/id": id -"/genomics:v1/Read/numberReads": number_reads -"/genomics:v1/Read/secondaryAlignment": secondary_alignment -"/genomics:v1/Read/fragmentName": fragment_name -"/genomics:v1/Read/readGroupSetId": read_group_set_id -"/genomics:v1/ReferenceSet": reference_set -"/genomics:v1/ReferenceSet/id": id -"/genomics:v1/ReferenceSet/sourceAccessions": source_accessions -"/genomics:v1/ReferenceSet/sourceAccessions/source_accession": source_accession -"/genomics:v1/ReferenceSet/description": description -"/genomics:v1/ReferenceSet/sourceUri": source_uri -"/genomics:v1/ReferenceSet/ncbiTaxonId": ncbi_taxon_id -"/genomics:v1/ReferenceSet/referenceIds": reference_ids -"/genomics:v1/ReferenceSet/referenceIds/reference_id": reference_id -"/genomics:v1/ReferenceSet/assemblyId": assembly_id -"/genomics:v1/ReferenceSet/md5checksum": md5checksum -"/genomics:v1/CigarUnit": cigar_unit -"/genomics:v1/CigarUnit/operationLength": operation_length -"/genomics:v1/CigarUnit/operation": operation -"/genomics:v1/CigarUnit/referenceSequence": reference_sequence -"/genomics:v1/AnnotationSet": annotation_set -"/genomics:v1/AnnotationSet/datasetId": dataset_id -"/genomics:v1/AnnotationSet/sourceUri": source_uri -"/genomics:v1/AnnotationSet/name": name -"/genomics:v1/AnnotationSet/referenceSetId": reference_set_id -"/genomics:v1/AnnotationSet/info": info -"/genomics:v1/AnnotationSet/info/info": info -"/genomics:v1/AnnotationSet/info/info/info": info -"/genomics:v1/AnnotationSet/type": type -"/genomics:v1/AnnotationSet/id": id -"/genomics:v1/Transcript": transcript -"/genomics:v1/Transcript/geneId": gene_id -"/genomics:v1/Transcript/exons": exons -"/genomics:v1/Transcript/exons/exon": exon -"/genomics:v1/Transcript/codingSequence": coding_sequence -"/genomics:v1/Experiment": experiment -"/genomics:v1/Experiment/platformUnit": platform_unit -"/genomics:v1/Experiment/instrumentModel": instrument_model -"/genomics:v1/Experiment/libraryId": library_id -"/genomics:v1/Experiment/sequencingCenter": sequencing_center -"/genomics:v1/ListDatasetsResponse": list_datasets_response -"/genomics:v1/ListDatasetsResponse/nextPageToken": next_page_token -"/genomics:v1/ListDatasetsResponse/datasets": datasets -"/genomics:v1/ListDatasetsResponse/datasets/dataset": dataset -"/genomics:v1/TestIamPermissionsRequest": test_iam_permissions_request -"/genomics:v1/TestIamPermissionsRequest/permissions": permissions -"/genomics:v1/TestIamPermissionsRequest/permissions/permission": permission -"/genomics:v1/Exon": exon -"/genomics:v1/Exon/start": start -"/genomics:v1/Exon/frame": frame -"/genomics:v1/Exon/end": end -"/genomics:v1/ExportReadGroupSetRequest": export_read_group_set_request -"/genomics:v1/ExportReadGroupSetRequest/referenceNames": reference_names -"/genomics:v1/ExportReadGroupSetRequest/referenceNames/reference_name": reference_name -"/genomics:v1/ExportReadGroupSetRequest/exportUri": export_uri -"/genomics:v1/ExportReadGroupSetRequest/projectId": project_id -"/genomics:v1/CallSet": call_set -"/genomics:v1/CallSet/sampleId": sample_id -"/genomics:v1/CallSet/name": name -"/genomics:v1/CallSet/info": info -"/genomics:v1/CallSet/info/info": info -"/genomics:v1/CallSet/info/info/info": info -"/genomics:v1/CallSet/variantSetIds": variant_set_ids -"/genomics:v1/CallSet/variantSetIds/variant_set_id": variant_set_id -"/genomics:v1/CallSet/id": id -"/genomics:v1/CallSet/created": created -"/genomics:v1/SearchAnnotationSetsResponse": search_annotation_sets_response -"/genomics:v1/SearchAnnotationSetsResponse/nextPageToken": next_page_token -"/genomics:v1/SearchAnnotationSetsResponse/annotationSets": annotation_sets -"/genomics:v1/SearchAnnotationSetsResponse/annotationSets/annotation_set": annotation_set -"/genomics:v1/ImportVariantsRequest": import_variants_request -"/genomics:v1/ImportVariantsRequest/format": format -"/genomics:v1/ImportVariantsRequest/infoMergeConfig": info_merge_config -"/genomics:v1/ImportVariantsRequest/infoMergeConfig/info_merge_config": info_merge_config -"/genomics:v1/ImportVariantsRequest/sourceUris": source_uris -"/genomics:v1/ImportVariantsRequest/sourceUris/source_uri": source_uri -"/genomics:v1/ImportVariantsRequest/variantSetId": variant_set_id -"/genomics:v1/ImportVariantsRequest/normalizeReferenceNames": normalize_reference_names -"/genomics:v1/VariantAnnotation": variant_annotation -"/genomics:v1/VariantAnnotation/conditions": conditions -"/genomics:v1/VariantAnnotation/conditions/condition": condition -"/genomics:v1/VariantAnnotation/effect": effect -"/genomics:v1/VariantAnnotation/transcriptIds": transcript_ids -"/genomics:v1/VariantAnnotation/transcriptIds/transcript_id": transcript_id -"/genomics:v1/VariantAnnotation/type": type -"/genomics:v1/VariantAnnotation/alternateBases": alternate_bases -"/genomics:v1/VariantAnnotation/geneId": gene_id -"/genomics:v1/VariantAnnotation/clinicalSignificance": clinical_significance -"/genomics:v1/ListCoverageBucketsResponse": list_coverage_buckets_response -"/genomics:v1/ListCoverageBucketsResponse/nextPageToken": next_page_token -"/genomics:v1/ListCoverageBucketsResponse/bucketWidth": bucket_width -"/genomics:v1/ListCoverageBucketsResponse/coverageBuckets": coverage_buckets -"/genomics:v1/ListCoverageBucketsResponse/coverageBuckets/coverage_bucket": coverage_bucket -"/genomics:v1/ExportVariantSetRequest": export_variant_set_request -"/genomics:v1/ExportVariantSetRequest/bigqueryTable": bigquery_table -"/genomics:v1/ExportVariantSetRequest/bigqueryDataset": bigquery_dataset -"/genomics:v1/ExportVariantSetRequest/format": format -"/genomics:v1/ExportVariantSetRequest/projectId": project_id -"/genomics:v1/ExportVariantSetRequest/callSetIds": call_set_ids -"/genomics:v1/ExportVariantSetRequest/callSetIds/call_set_id": call_set_id -"/genomics:v1/SearchAnnotationsRequest": search_annotations_request -"/genomics:v1/SearchAnnotationsRequest/start": start -"/genomics:v1/SearchAnnotationsRequest/annotationSetIds": annotation_set_ids -"/genomics:v1/SearchAnnotationsRequest/annotationSetIds/annotation_set_id": annotation_set_id -"/genomics:v1/SearchAnnotationsRequest/referenceName": reference_name -"/genomics:v1/SearchAnnotationsRequest/referenceId": reference_id -"/genomics:v1/SearchAnnotationsRequest/end": end -"/genomics:v1/SearchAnnotationsRequest/pageToken": page_token -"/genomics:v1/SearchAnnotationsRequest/pageSize": page_size -"/genomics:v1/OperationEvent": operation_event -"/genomics:v1/OperationEvent/endTime": end_time -"/genomics:v1/OperationEvent/startTime": start_time -"/genomics:v1/OperationEvent/description": description -"/genomics:v1/CodingSequence": coding_sequence -"/genomics:v1/CodingSequence/end": end -"/genomics:v1/CodingSequence/start": start -"/gmail:v1/fields": fields -"/gmail:v1/key": key -"/gmail:v1/quotaUser": quota_user -"/gmail:v1/userIp": user_ip -"/gmail:v1/gmail.users.getProfile/userId": user_id -"/gmail:v1/gmail.users.stop": stop_user -"/gmail:v1/gmail.users.stop/userId": user_id -"/gmail:v1/gmail.users.watch": watch_user -"/gmail:v1/gmail.users.watch/userId": user_id -"/gmail:v1/gmail.users.drafts.create": create_user_draft -"/gmail:v1/gmail.users.drafts.create/userId": user_id -"/gmail:v1/gmail.users.drafts.delete": delete_user_draft -"/gmail:v1/gmail.users.drafts.delete/id": id -"/gmail:v1/gmail.users.drafts.delete/userId": user_id -"/gmail:v1/gmail.users.drafts.get": get_user_draft -"/gmail:v1/gmail.users.drafts.get/format": format -"/gmail:v1/gmail.users.drafts.get/id": id -"/gmail:v1/gmail.users.drafts.get/userId": user_id -"/gmail:v1/gmail.users.drafts.list": list_user_drafts -"/gmail:v1/gmail.users.drafts.list/includeSpamTrash": include_spam_trash -"/gmail:v1/gmail.users.drafts.list/maxResults": max_results -"/gmail:v1/gmail.users.drafts.list/pageToken": page_token -"/gmail:v1/gmail.users.drafts.list/q": q -"/gmail:v1/gmail.users.drafts.list/userId": user_id -"/gmail:v1/gmail.users.drafts.send": send_user_draft -"/gmail:v1/gmail.users.drafts.send/userId": user_id -"/gmail:v1/gmail.users.drafts.update": update_user_draft -"/gmail:v1/gmail.users.drafts.update/id": id -"/gmail:v1/gmail.users.drafts.update/userId": user_id -"/gmail:v1/gmail.users.history.list": list_user_histories -"/gmail:v1/gmail.users.history.list/historyTypes": history_types -"/gmail:v1/gmail.users.history.list/labelId": label_id -"/gmail:v1/gmail.users.history.list/maxResults": max_results -"/gmail:v1/gmail.users.history.list/pageToken": page_token -"/gmail:v1/gmail.users.history.list/startHistoryId": start_history_id -"/gmail:v1/gmail.users.history.list/userId": user_id -"/gmail:v1/gmail.users.labels.create": create_user_label -"/gmail:v1/gmail.users.labels.create/userId": user_id -"/gmail:v1/gmail.users.labels.delete": delete_user_label -"/gmail:v1/gmail.users.labels.delete/id": id -"/gmail:v1/gmail.users.labels.delete/userId": user_id -"/gmail:v1/gmail.users.labels.get": get_user_label -"/gmail:v1/gmail.users.labels.get/id": id -"/gmail:v1/gmail.users.labels.get/userId": user_id -"/gmail:v1/gmail.users.labels.list": list_user_labels -"/gmail:v1/gmail.users.labels.list/userId": user_id -"/gmail:v1/gmail.users.labels.patch": patch_user_label -"/gmail:v1/gmail.users.labels.patch/id": id -"/gmail:v1/gmail.users.labels.patch/userId": user_id -"/gmail:v1/gmail.users.labels.update": update_user_label -"/gmail:v1/gmail.users.labels.update/id": id -"/gmail:v1/gmail.users.labels.update/userId": user_id -"/gmail:v1/gmail.users.messages.batchDelete": batch_delete_messages -"/gmail:v1/gmail.users.messages.batchDelete/userId": user_id -"/gmail:v1/gmail.users.messages.batchModify": batch_modify_messages -"/gmail:v1/gmail.users.messages.batchModify/userId": user_id -"/gmail:v1/gmail.users.messages.delete": delete_user_message -"/gmail:v1/gmail.users.messages.delete/id": id -"/gmail:v1/gmail.users.messages.delete/userId": user_id -"/gmail:v1/gmail.users.messages.get": get_user_message -"/gmail:v1/gmail.users.messages.get/format": format -"/gmail:v1/gmail.users.messages.get/id": id -"/gmail:v1/gmail.users.messages.get/metadataHeaders": metadata_headers -"/gmail:v1/gmail.users.messages.get/userId": user_id -"/gmail:v1/gmail.users.messages.import": import_user_message -"/gmail:v1/gmail.users.messages.import/deleted": deleted -"/gmail:v1/gmail.users.messages.import/internalDateSource": internal_date_source -"/gmail:v1/gmail.users.messages.import/neverMarkSpam": never_mark_spam -"/gmail:v1/gmail.users.messages.import/processForCalendar": process_for_calendar -"/gmail:v1/gmail.users.messages.import/userId": user_id -"/gmail:v1/gmail.users.messages.insert": insert_user_message -"/gmail:v1/gmail.users.messages.insert/deleted": deleted -"/gmail:v1/gmail.users.messages.insert/internalDateSource": internal_date_source -"/gmail:v1/gmail.users.messages.insert/userId": user_id -"/gmail:v1/gmail.users.messages.list": list_user_messages -"/gmail:v1/gmail.users.messages.list/includeSpamTrash": include_spam_trash -"/gmail:v1/gmail.users.messages.list/labelIds": label_ids -"/gmail:v1/gmail.users.messages.list/maxResults": max_results -"/gmail:v1/gmail.users.messages.list/pageToken": page_token -"/gmail:v1/gmail.users.messages.list/q": q -"/gmail:v1/gmail.users.messages.list/userId": user_id -"/gmail:v1/gmail.users.messages.modify": modify_message -"/gmail:v1/gmail.users.messages.modify/id": id -"/gmail:v1/gmail.users.messages.modify/userId": user_id -"/gmail:v1/gmail.users.messages.send": send_user_message -"/gmail:v1/gmail.users.messages.send/userId": user_id -"/gmail:v1/gmail.users.messages.trash": trash_user_message -"/gmail:v1/gmail.users.messages.trash/id": id -"/gmail:v1/gmail.users.messages.trash/userId": user_id -"/gmail:v1/gmail.users.messages.untrash": untrash_user_message -"/gmail:v1/gmail.users.messages.untrash/id": id -"/gmail:v1/gmail.users.messages.untrash/userId": user_id -"/gmail:v1/gmail.users.messages.attachments.get": get_user_message_attachment -"/gmail:v1/gmail.users.messages.attachments.get/id": id -"/gmail:v1/gmail.users.messages.attachments.get/messageId": message_id -"/gmail:v1/gmail.users.messages.attachments.get/userId": user_id -"/gmail:v1/gmail.users.settings.getAutoForwarding": get_user_setting_auto_forwarding -"/gmail:v1/gmail.users.settings.getAutoForwarding/userId": user_id -"/gmail:v1/gmail.users.settings.getImap": get_user_setting_imap -"/gmail:v1/gmail.users.settings.getImap/userId": user_id -"/gmail:v1/gmail.users.settings.getPop": get_user_setting_pop -"/gmail:v1/gmail.users.settings.getPop/userId": user_id -"/gmail:v1/gmail.users.settings.getVacation": get_user_setting_vacation -"/gmail:v1/gmail.users.settings.getVacation/userId": user_id -"/gmail:v1/gmail.users.settings.updateAutoForwarding": update_user_setting_auto_forwarding -"/gmail:v1/gmail.users.settings.updateAutoForwarding/userId": user_id -"/gmail:v1/gmail.users.settings.updateImap": update_user_setting_imap -"/gmail:v1/gmail.users.settings.updateImap/userId": user_id -"/gmail:v1/gmail.users.settings.updatePop": update_user_setting_pop -"/gmail:v1/gmail.users.settings.updatePop/userId": user_id -"/gmail:v1/gmail.users.settings.updateVacation": update_user_setting_vacation -"/gmail:v1/gmail.users.settings.updateVacation/userId": user_id -"/gmail:v1/gmail.users.settings.filters.create": create_user_setting_filter -"/gmail:v1/gmail.users.settings.filters.create/userId": user_id -"/gmail:v1/gmail.users.settings.filters.delete": delete_user_setting_filter -"/gmail:v1/gmail.users.settings.filters.delete/id": id -"/gmail:v1/gmail.users.settings.filters.delete/userId": user_id -"/gmail:v1/gmail.users.settings.filters.get": get_user_setting_filter -"/gmail:v1/gmail.users.settings.filters.get/id": id -"/gmail:v1/gmail.users.settings.filters.get/userId": user_id -"/gmail:v1/gmail.users.settings.filters.list": list_user_setting_filters -"/gmail:v1/gmail.users.settings.filters.list/userId": user_id -"/gmail:v1/gmail.users.settings.forwardingAddresses.create": create_user_setting_forwarding_address -"/gmail:v1/gmail.users.settings.forwardingAddresses.create/userId": user_id -"/gmail:v1/gmail.users.settings.forwardingAddresses.delete": delete_user_setting_forwarding_address -"/gmail:v1/gmail.users.settings.forwardingAddresses.delete/forwardingEmail": forwarding_email -"/gmail:v1/gmail.users.settings.forwardingAddresses.delete/userId": user_id -"/gmail:v1/gmail.users.settings.forwardingAddresses.get": get_user_setting_forwarding_address -"/gmail:v1/gmail.users.settings.forwardingAddresses.get/forwardingEmail": forwarding_email -"/gmail:v1/gmail.users.settings.forwardingAddresses.get/userId": user_id -"/gmail:v1/gmail.users.settings.forwardingAddresses.list": list_user_setting_forwarding_addresses -"/gmail:v1/gmail.users.settings.forwardingAddresses.list/userId": user_id -"/gmail:v1/gmail.users.settings.sendAs.create": create_user_setting_send_as -"/gmail:v1/gmail.users.settings.sendAs.create/userId": user_id -"/gmail:v1/gmail.users.settings.sendAs.delete": delete_user_setting_send_as -"/gmail:v1/gmail.users.settings.sendAs.delete/sendAsEmail": send_as_email -"/gmail:v1/gmail.users.settings.sendAs.delete/userId": user_id -"/gmail:v1/gmail.users.settings.sendAs.get": get_user_setting_send_as -"/gmail:v1/gmail.users.settings.sendAs.get/sendAsEmail": send_as_email -"/gmail:v1/gmail.users.settings.sendAs.get/userId": user_id -"/gmail:v1/gmail.users.settings.sendAs.list": list_user_setting_send_as -"/gmail:v1/gmail.users.settings.sendAs.list/userId": user_id -"/gmail:v1/gmail.users.settings.sendAs.patch": patch_user_setting_send_as -"/gmail:v1/gmail.users.settings.sendAs.patch/sendAsEmail": send_as_email -"/gmail:v1/gmail.users.settings.sendAs.patch/userId": user_id -"/gmail:v1/gmail.users.settings.sendAs.update": update_user_setting_send_as -"/gmail:v1/gmail.users.settings.sendAs.update/sendAsEmail": send_as_email -"/gmail:v1/gmail.users.settings.sendAs.update/userId": user_id -"/gmail:v1/gmail.users.settings.sendAs.verify": verify_user_setting_send_as -"/gmail:v1/gmail.users.settings.sendAs.verify/sendAsEmail": send_as_email -"/gmail:v1/gmail.users.settings.sendAs.verify/userId": user_id -"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.delete": delete_user_setting_send_a_smime_info -"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.delete/id": id -"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.delete/sendAsEmail": send_as_email -"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.delete/userId": user_id -"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.get": get_user_setting_send_a_smime_info -"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.get/id": id -"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.get/sendAsEmail": send_as_email -"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.get/userId": user_id -"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.insert": insert_user_setting_send_a_smime_info -"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.insert/sendAsEmail": send_as_email -"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.insert/userId": user_id -"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.list": list_user_setting_send_a_smime_infos -"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.list/sendAsEmail": send_as_email -"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.list/userId": user_id -"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.setDefault": set_user_setting_send_a_smime_info_default -"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.setDefault/id": id -"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.setDefault/sendAsEmail": send_as_email -"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.setDefault/userId": user_id -"/gmail:v1/gmail.users.threads.delete": delete_user_thread -"/gmail:v1/gmail.users.threads.delete/id": id -"/gmail:v1/gmail.users.threads.delete/userId": user_id -"/gmail:v1/gmail.users.threads.get": get_user_thread -"/gmail:v1/gmail.users.threads.get/format": format -"/gmail:v1/gmail.users.threads.get/id": id -"/gmail:v1/gmail.users.threads.get/metadataHeaders": metadata_headers -"/gmail:v1/gmail.users.threads.get/userId": user_id -"/gmail:v1/gmail.users.threads.list": list_user_threads -"/gmail:v1/gmail.users.threads.list/includeSpamTrash": include_spam_trash -"/gmail:v1/gmail.users.threads.list/labelIds": label_ids -"/gmail:v1/gmail.users.threads.list/maxResults": max_results -"/gmail:v1/gmail.users.threads.list/pageToken": page_token -"/gmail:v1/gmail.users.threads.list/q": q -"/gmail:v1/gmail.users.threads.list/userId": user_id -"/gmail:v1/gmail.users.threads.modify": modify_thread -"/gmail:v1/gmail.users.threads.modify/id": id -"/gmail:v1/gmail.users.threads.modify/userId": user_id -"/gmail:v1/gmail.users.threads.trash": trash_user_thread -"/gmail:v1/gmail.users.threads.trash/id": id -"/gmail:v1/gmail.users.threads.trash/userId": user_id -"/gmail:v1/gmail.users.threads.untrash": untrash_user_thread -"/gmail:v1/gmail.users.threads.untrash/id": id -"/gmail:v1/gmail.users.threads.untrash/userId": user_id +"/genomics:v1/genomics.variantsets.create": create_variantset +"/genomics:v1/genomics.variantsets.delete": delete_variantset +"/genomics:v1/genomics.variantsets.delete/variantSetId": variant_set_id +"/genomics:v1/genomics.variantsets.export": export_variant_set +"/genomics:v1/genomics.variantsets.export/variantSetId": variant_set_id +"/genomics:v1/genomics.variantsets.get": get_variantset +"/genomics:v1/genomics.variantsets.get/variantSetId": variant_set_id +"/genomics:v1/genomics.variantsets.patch": patch_variantset +"/genomics:v1/genomics.variantsets.patch/updateMask": update_mask +"/genomics:v1/genomics.variantsets.patch/variantSetId": variant_set_id +"/genomics:v1/genomics.variantsets.search": search_variant_sets +"/genomics:v1/key": key +"/genomics:v1/quotaUser": quota_user +"/genomics:v1beta2/genomics.callsets.create": create_call_set +"/genomics:v1beta2/genomics.callsets.delete": delete_call_set +"/genomics:v1beta2/genomics.callsets.get": get_call_set +"/genomics:v1beta2/genomics.callsets.patch": patch_call_set +"/genomics:v1beta2/genomics.callsets.search": search_call_sets +"/genomics:v1beta2/genomics.callsets.update": update_call_set +"/genomics:v1beta2/genomics.readgroupsets.align": align_read_group_sets +"/genomics:v1beta2/genomics.readgroupsets.call": call_read_group_sets +"/genomics:v1beta2/genomics.readgroupsets.coveragebuckets.list": list_coverage_buckets +"/genomics:v1beta2/genomics.readgroupsets.delete": delete_read_group_set +"/genomics:v1beta2/genomics.readgroupsets.export": export_read_group_sets +"/genomics:v1beta2/genomics.readgroupsets.get": get_read_group_set +"/genomics:v1beta2/genomics.readgroupsets.import": import_read_group_sets +"/genomics:v1beta2/genomics.readgroupsets.patch": patch_read_group_set +"/genomics:v1beta2/genomics.readgroupsets.search": search_read_group_sets +"/genomics:v1beta2/genomics.readgroupsets.update": update_read_group_set +"/genomics:v1beta2/genomics.references.bases.list/end": end_position +"/genomics:v1beta2/genomics.references.bases.list/start": start_position +"/genomics:v1beta2/genomics.referencesets.get": get_reference_set +"/genomics:v1beta2/genomics.streamingReadstore.streamreads": stream_reads "/gmail:v1/AutoForwarding": auto_forwarding "/gmail:v1/AutoForwarding/disposition": disposition "/gmail:v1/AutoForwarding/emailAddress": email_address @@ -30555,25 +30976,209 @@ "/gmail:v1/WatchResponse": watch_response "/gmail:v1/WatchResponse/expiration": expiration "/gmail:v1/WatchResponse/historyId": history_id -"/groupsmigration:v1/fields": fields -"/groupsmigration:v1/key": key -"/groupsmigration:v1/quotaUser": quota_user -"/groupsmigration:v1/userIp": user_ip -"/groupsmigration:v1/groupsmigration.archive.insert": insert_archive -"/groupsmigration:v1/groupsmigration.archive.insert/groupId": group_id +"/gmail:v1/fields": fields +"/gmail:v1/gmail.users.drafts.create": create_user_draft +"/gmail:v1/gmail.users.drafts.create/userId": user_id +"/gmail:v1/gmail.users.drafts.delete": delete_user_draft +"/gmail:v1/gmail.users.drafts.delete/id": id +"/gmail:v1/gmail.users.drafts.delete/userId": user_id +"/gmail:v1/gmail.users.drafts.get": get_user_draft +"/gmail:v1/gmail.users.drafts.get/format": format +"/gmail:v1/gmail.users.drafts.get/id": id +"/gmail:v1/gmail.users.drafts.get/userId": user_id +"/gmail:v1/gmail.users.drafts.list": list_user_drafts +"/gmail:v1/gmail.users.drafts.list/includeSpamTrash": include_spam_trash +"/gmail:v1/gmail.users.drafts.list/maxResults": max_results +"/gmail:v1/gmail.users.drafts.list/pageToken": page_token +"/gmail:v1/gmail.users.drafts.list/q": q +"/gmail:v1/gmail.users.drafts.list/userId": user_id +"/gmail:v1/gmail.users.drafts.send": send_user_draft +"/gmail:v1/gmail.users.drafts.send/userId": user_id +"/gmail:v1/gmail.users.drafts.update": update_user_draft +"/gmail:v1/gmail.users.drafts.update/id": id +"/gmail:v1/gmail.users.drafts.update/userId": user_id +"/gmail:v1/gmail.users.getProfile": get_user_profile +"/gmail:v1/gmail.users.getProfile/userId": user_id +"/gmail:v1/gmail.users.history.list": list_user_histories +"/gmail:v1/gmail.users.history.list/historyTypes": history_types +"/gmail:v1/gmail.users.history.list/labelId": label_id +"/gmail:v1/gmail.users.history.list/maxResults": max_results +"/gmail:v1/gmail.users.history.list/pageToken": page_token +"/gmail:v1/gmail.users.history.list/startHistoryId": start_history_id +"/gmail:v1/gmail.users.history.list/userId": user_id +"/gmail:v1/gmail.users.labels.create": create_user_label +"/gmail:v1/gmail.users.labels.create/userId": user_id +"/gmail:v1/gmail.users.labels.delete": delete_user_label +"/gmail:v1/gmail.users.labels.delete/id": id +"/gmail:v1/gmail.users.labels.delete/userId": user_id +"/gmail:v1/gmail.users.labels.get": get_user_label +"/gmail:v1/gmail.users.labels.get/id": id +"/gmail:v1/gmail.users.labels.get/userId": user_id +"/gmail:v1/gmail.users.labels.list": list_user_labels +"/gmail:v1/gmail.users.labels.list/userId": user_id +"/gmail:v1/gmail.users.labels.patch": patch_user_label +"/gmail:v1/gmail.users.labels.patch/id": id +"/gmail:v1/gmail.users.labels.patch/userId": user_id +"/gmail:v1/gmail.users.labels.update": update_user_label +"/gmail:v1/gmail.users.labels.update/id": id +"/gmail:v1/gmail.users.labels.update/userId": user_id +"/gmail:v1/gmail.users.messages.attachments.get": get_user_message_attachment +"/gmail:v1/gmail.users.messages.attachments.get/id": id +"/gmail:v1/gmail.users.messages.attachments.get/messageId": message_id +"/gmail:v1/gmail.users.messages.attachments.get/userId": user_id +"/gmail:v1/gmail.users.messages.batchDelete": batch_delete_messages +"/gmail:v1/gmail.users.messages.batchDelete/userId": user_id +"/gmail:v1/gmail.users.messages.batchModify": batch_modify_messages +"/gmail:v1/gmail.users.messages.batchModify/userId": user_id +"/gmail:v1/gmail.users.messages.delete": delete_user_message +"/gmail:v1/gmail.users.messages.delete/id": id +"/gmail:v1/gmail.users.messages.delete/userId": user_id +"/gmail:v1/gmail.users.messages.get": get_user_message +"/gmail:v1/gmail.users.messages.get/format": format +"/gmail:v1/gmail.users.messages.get/id": id +"/gmail:v1/gmail.users.messages.get/metadataHeaders": metadata_headers +"/gmail:v1/gmail.users.messages.get/userId": user_id +"/gmail:v1/gmail.users.messages.import": import_user_message +"/gmail:v1/gmail.users.messages.import/deleted": deleted +"/gmail:v1/gmail.users.messages.import/internalDateSource": internal_date_source +"/gmail:v1/gmail.users.messages.import/neverMarkSpam": never_mark_spam +"/gmail:v1/gmail.users.messages.import/processForCalendar": process_for_calendar +"/gmail:v1/gmail.users.messages.import/userId": user_id +"/gmail:v1/gmail.users.messages.insert": insert_user_message +"/gmail:v1/gmail.users.messages.insert/deleted": deleted +"/gmail:v1/gmail.users.messages.insert/internalDateSource": internal_date_source +"/gmail:v1/gmail.users.messages.insert/userId": user_id +"/gmail:v1/gmail.users.messages.list": list_user_messages +"/gmail:v1/gmail.users.messages.list/includeSpamTrash": include_spam_trash +"/gmail:v1/gmail.users.messages.list/labelIds": label_ids +"/gmail:v1/gmail.users.messages.list/maxResults": max_results +"/gmail:v1/gmail.users.messages.list/pageToken": page_token +"/gmail:v1/gmail.users.messages.list/q": q +"/gmail:v1/gmail.users.messages.list/userId": user_id +"/gmail:v1/gmail.users.messages.modify": modify_message +"/gmail:v1/gmail.users.messages.modify/id": id +"/gmail:v1/gmail.users.messages.modify/userId": user_id +"/gmail:v1/gmail.users.messages.send": send_user_message +"/gmail:v1/gmail.users.messages.send/userId": user_id +"/gmail:v1/gmail.users.messages.trash": trash_user_message +"/gmail:v1/gmail.users.messages.trash/id": id +"/gmail:v1/gmail.users.messages.trash/userId": user_id +"/gmail:v1/gmail.users.messages.untrash": untrash_user_message +"/gmail:v1/gmail.users.messages.untrash/id": id +"/gmail:v1/gmail.users.messages.untrash/userId": user_id +"/gmail:v1/gmail.users.settings.filters.create": create_user_setting_filter +"/gmail:v1/gmail.users.settings.filters.create/userId": user_id +"/gmail:v1/gmail.users.settings.filters.delete": delete_user_setting_filter +"/gmail:v1/gmail.users.settings.filters.delete/id": id +"/gmail:v1/gmail.users.settings.filters.delete/userId": user_id +"/gmail:v1/gmail.users.settings.filters.get": get_user_setting_filter +"/gmail:v1/gmail.users.settings.filters.get/id": id +"/gmail:v1/gmail.users.settings.filters.get/userId": user_id +"/gmail:v1/gmail.users.settings.filters.list": list_user_setting_filters +"/gmail:v1/gmail.users.settings.filters.list/userId": user_id +"/gmail:v1/gmail.users.settings.forwardingAddresses.create": create_user_setting_forwarding_address +"/gmail:v1/gmail.users.settings.forwardingAddresses.create/userId": user_id +"/gmail:v1/gmail.users.settings.forwardingAddresses.delete": delete_user_setting_forwarding_address +"/gmail:v1/gmail.users.settings.forwardingAddresses.delete/forwardingEmail": forwarding_email +"/gmail:v1/gmail.users.settings.forwardingAddresses.delete/userId": user_id +"/gmail:v1/gmail.users.settings.forwardingAddresses.get": get_user_setting_forwarding_address +"/gmail:v1/gmail.users.settings.forwardingAddresses.get/forwardingEmail": forwarding_email +"/gmail:v1/gmail.users.settings.forwardingAddresses.get/userId": user_id +"/gmail:v1/gmail.users.settings.forwardingAddresses.list": list_user_setting_forwarding_addresses +"/gmail:v1/gmail.users.settings.forwardingAddresses.list/userId": user_id +"/gmail:v1/gmail.users.settings.getAutoForwarding": get_user_setting_auto_forwarding +"/gmail:v1/gmail.users.settings.getAutoForwarding/userId": user_id +"/gmail:v1/gmail.users.settings.getImap": get_user_setting_imap +"/gmail:v1/gmail.users.settings.getImap/userId": user_id +"/gmail:v1/gmail.users.settings.getPop": get_user_setting_pop +"/gmail:v1/gmail.users.settings.getPop/userId": user_id +"/gmail:v1/gmail.users.settings.getVacation": get_user_setting_vacation +"/gmail:v1/gmail.users.settings.getVacation/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.create": create_user_setting_send_as +"/gmail:v1/gmail.users.settings.sendAs.create/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.delete": delete_user_setting_send_as +"/gmail:v1/gmail.users.settings.sendAs.delete/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.delete/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.get": get_user_setting_send_as +"/gmail:v1/gmail.users.settings.sendAs.get/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.get/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.list": list_user_setting_send_as +"/gmail:v1/gmail.users.settings.sendAs.list/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.patch": patch_user_setting_send_as +"/gmail:v1/gmail.users.settings.sendAs.patch/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.patch/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.delete": delete_user_setting_send_a_smime_info +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.delete/id": id +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.delete/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.delete/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.get": get_user_setting_send_a_smime_info +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.get/id": id +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.get/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.get/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.insert": insert_user_setting_send_a_smime_info +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.insert/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.insert/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.list": list_user_setting_send_a_smime_infos +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.list/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.list/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.setDefault": set_user_setting_send_a_smime_info_default +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.setDefault/id": id +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.setDefault/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.setDefault/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.update": update_user_setting_send_as +"/gmail:v1/gmail.users.settings.sendAs.update/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.update/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.verify": verify_user_setting_send_as +"/gmail:v1/gmail.users.settings.sendAs.verify/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.verify/userId": user_id +"/gmail:v1/gmail.users.settings.updateAutoForwarding": update_user_setting_auto_forwarding +"/gmail:v1/gmail.users.settings.updateAutoForwarding/userId": user_id +"/gmail:v1/gmail.users.settings.updateImap": update_user_setting_imap +"/gmail:v1/gmail.users.settings.updateImap/userId": user_id +"/gmail:v1/gmail.users.settings.updatePop": update_user_setting_pop +"/gmail:v1/gmail.users.settings.updatePop/userId": user_id +"/gmail:v1/gmail.users.settings.updateVacation": update_user_setting_vacation +"/gmail:v1/gmail.users.settings.updateVacation/userId": user_id +"/gmail:v1/gmail.users.stop": stop_user +"/gmail:v1/gmail.users.stop/userId": user_id +"/gmail:v1/gmail.users.threads.delete": delete_user_thread +"/gmail:v1/gmail.users.threads.delete/id": id +"/gmail:v1/gmail.users.threads.delete/userId": user_id +"/gmail:v1/gmail.users.threads.get": get_user_thread +"/gmail:v1/gmail.users.threads.get/format": format +"/gmail:v1/gmail.users.threads.get/id": id +"/gmail:v1/gmail.users.threads.get/metadataHeaders": metadata_headers +"/gmail:v1/gmail.users.threads.get/userId": user_id +"/gmail:v1/gmail.users.threads.list": list_user_threads +"/gmail:v1/gmail.users.threads.list/includeSpamTrash": include_spam_trash +"/gmail:v1/gmail.users.threads.list/labelIds": label_ids +"/gmail:v1/gmail.users.threads.list/maxResults": max_results +"/gmail:v1/gmail.users.threads.list/pageToken": page_token +"/gmail:v1/gmail.users.threads.list/q": q +"/gmail:v1/gmail.users.threads.list/userId": user_id +"/gmail:v1/gmail.users.threads.modify": modify_thread +"/gmail:v1/gmail.users.threads.modify/id": id +"/gmail:v1/gmail.users.threads.modify/userId": user_id +"/gmail:v1/gmail.users.threads.trash": trash_user_thread +"/gmail:v1/gmail.users.threads.trash/id": id +"/gmail:v1/gmail.users.threads.trash/userId": user_id +"/gmail:v1/gmail.users.threads.untrash": untrash_user_thread +"/gmail:v1/gmail.users.threads.untrash/id": id +"/gmail:v1/gmail.users.threads.untrash/userId": user_id +"/gmail:v1/gmail.users.watch": watch_user +"/gmail:v1/gmail.users.watch/userId": user_id +"/gmail:v1/key": key +"/gmail:v1/quotaUser": quota_user +"/gmail:v1/userIp": user_ip "/groupsmigration:v1/Groups": groups "/groupsmigration:v1/Groups/kind": kind "/groupsmigration:v1/Groups/responseCode": response_code -"/groupssettings:v1/fields": fields -"/groupssettings:v1/key": key -"/groupssettings:v1/quotaUser": quota_user -"/groupssettings:v1/userIp": user_ip -"/groupssettings:v1/groupsSettings.groups.get": get_group -"/groupssettings:v1/groupsSettings.groups.get/groupUniqueId": group_unique_id -"/groupssettings:v1/groupsSettings.groups.patch": patch_group -"/groupssettings:v1/groupsSettings.groups.patch/groupUniqueId": group_unique_id -"/groupssettings:v1/groupsSettings.groups.update": update_group -"/groupssettings:v1/groupsSettings.groups.update/groupUniqueId": group_unique_id +"/groupsmigration:v1/fields": fields +"/groupsmigration:v1/groupsmigration.archive.insert": insert_archive +"/groupsmigration:v1/groupsmigration.archive.insert/groupId": group_id +"/groupsmigration:v1/key": key +"/groupsmigration:v1/quotaUser": quota_user +"/groupsmigration:v1/userIp": user_ip "/groupssettings:v1/Groups": groups "/groupssettings:v1/Groups/allowExternalMembers": allow_external_members "/groupssettings:v1/Groups/allowGoogleCommunication": allow_google_communication @@ -30606,128 +31211,213 @@ "/groupssettings:v1/Groups/whoCanPostMessage": who_can_post_message "/groupssettings:v1/Groups/whoCanViewGroup": who_can_view_group "/groupssettings:v1/Groups/whoCanViewMembership": who_can_view_membership +"/groupssettings:v1/fields": fields +"/groupssettings:v1/groupsSettings.groups.get": get_group +"/groupssettings:v1/groupsSettings.groups.get/groupUniqueId": group_unique_id +"/groupssettings:v1/groupsSettings.groups.patch": patch_group +"/groupssettings:v1/groupsSettings.groups.patch/groupUniqueId": group_unique_id +"/groupssettings:v1/groupsSettings.groups.update": update_group +"/groupssettings:v1/groupsSettings.groups.update/groupUniqueId": group_unique_id +"/groupssettings:v1/key": key +"/groupssettings:v1/quotaUser": quota_user +"/groupssettings:v1/userIp": user_ip +"/groupssettings:v1?force_alt_json": true +"/iam:v1/AuditData": audit_data +"/iam:v1/AuditData/policyDelta": policy_delta +"/iam:v1/Binding": binding +"/iam:v1/Binding/members": members +"/iam:v1/Binding/members/member": member +"/iam:v1/Binding/role": role +"/iam:v1/BindingDelta": binding_delta +"/iam:v1/BindingDelta/action": action +"/iam:v1/BindingDelta/condition": condition +"/iam:v1/BindingDelta/member": member +"/iam:v1/BindingDelta/role": role +"/iam:v1/CreateRoleRequest": create_role_request +"/iam:v1/CreateRoleRequest/role": role +"/iam:v1/CreateRoleRequest/roleId": role_id +"/iam:v1/CreateServiceAccountKeyRequest": create_service_account_key_request +"/iam:v1/CreateServiceAccountKeyRequest/includePublicKeyData": include_public_key_data +"/iam:v1/CreateServiceAccountKeyRequest/keyAlgorithm": key_algorithm +"/iam:v1/CreateServiceAccountKeyRequest/privateKeyType": private_key_type +"/iam:v1/CreateServiceAccountRequest": create_service_account_request +"/iam:v1/CreateServiceAccountRequest/accountId": account_id +"/iam:v1/CreateServiceAccountRequest/serviceAccount": service_account +"/iam:v1/Empty": empty +"/iam:v1/Expr": expr +"/iam:v1/Expr/description": description +"/iam:v1/Expr/expression": expression +"/iam:v1/Expr/location": location +"/iam:v1/Expr/title": title +"/iam:v1/ListRolesResponse": list_roles_response +"/iam:v1/ListRolesResponse/nextPageToken": next_page_token +"/iam:v1/ListRolesResponse/roles": roles +"/iam:v1/ListRolesResponse/roles/role": role +"/iam:v1/ListServiceAccountKeysResponse": list_service_account_keys_response +"/iam:v1/ListServiceAccountKeysResponse/keys": keys +"/iam:v1/ListServiceAccountKeysResponse/keys/key": key +"/iam:v1/ListServiceAccountsResponse": list_service_accounts_response +"/iam:v1/ListServiceAccountsResponse/accounts": accounts +"/iam:v1/ListServiceAccountsResponse/accounts/account": account +"/iam:v1/ListServiceAccountsResponse/nextPageToken": next_page_token +"/iam:v1/Permission": permission +"/iam:v1/Permission/customRolesSupportLevel": custom_roles_support_level +"/iam:v1/Permission/description": description +"/iam:v1/Permission/name": name +"/iam:v1/Permission/onlyInPredefinedRoles": only_in_predefined_roles +"/iam:v1/Permission/stage": stage +"/iam:v1/Permission/title": title +"/iam:v1/Policy": policy +"/iam:v1/Policy/bindings": bindings +"/iam:v1/Policy/bindings/binding": binding +"/iam:v1/Policy/etag": etag +"/iam:v1/Policy/version": version +"/iam:v1/PolicyDelta": policy_delta +"/iam:v1/PolicyDelta/bindingDeltas": binding_deltas +"/iam:v1/PolicyDelta/bindingDeltas/binding_delta": binding_delta +"/iam:v1/QueryGrantableRolesRequest": query_grantable_roles_request +"/iam:v1/QueryGrantableRolesRequest/fullResourceName": full_resource_name +"/iam:v1/QueryGrantableRolesRequest/pageSize": page_size +"/iam:v1/QueryGrantableRolesRequest/pageToken": page_token +"/iam:v1/QueryGrantableRolesRequest/view": view +"/iam:v1/QueryGrantableRolesResponse": query_grantable_roles_response +"/iam:v1/QueryGrantableRolesResponse/nextPageToken": next_page_token +"/iam:v1/QueryGrantableRolesResponse/roles": roles +"/iam:v1/QueryGrantableRolesResponse/roles/role": role +"/iam:v1/QueryTestablePermissionsRequest": query_testable_permissions_request +"/iam:v1/QueryTestablePermissionsRequest/fullResourceName": full_resource_name +"/iam:v1/QueryTestablePermissionsRequest/pageSize": page_size +"/iam:v1/QueryTestablePermissionsRequest/pageToken": page_token +"/iam:v1/QueryTestablePermissionsResponse": query_testable_permissions_response +"/iam:v1/QueryTestablePermissionsResponse/nextPageToken": next_page_token +"/iam:v1/QueryTestablePermissionsResponse/permissions": permissions +"/iam:v1/QueryTestablePermissionsResponse/permissions/permission": permission +"/iam:v1/Role": role +"/iam:v1/Role/deleted": deleted +"/iam:v1/Role/description": description +"/iam:v1/Role/etag": etag +"/iam:v1/Role/includedPermissions": included_permissions +"/iam:v1/Role/includedPermissions/included_permission": included_permission +"/iam:v1/Role/name": name +"/iam:v1/Role/stage": stage +"/iam:v1/Role/title": title +"/iam:v1/ServiceAccount": service_account +"/iam:v1/ServiceAccount/displayName": display_name +"/iam:v1/ServiceAccount/email": email +"/iam:v1/ServiceAccount/etag": etag +"/iam:v1/ServiceAccount/name": name +"/iam:v1/ServiceAccount/oauth2ClientId": oauth2_client_id +"/iam:v1/ServiceAccount/projectId": project_id +"/iam:v1/ServiceAccount/uniqueId": unique_id +"/iam:v1/ServiceAccountKey": service_account_key +"/iam:v1/ServiceAccountKey/keyAlgorithm": key_algorithm +"/iam:v1/ServiceAccountKey/name": name +"/iam:v1/ServiceAccountKey/privateKeyData": private_key_data +"/iam:v1/ServiceAccountKey/privateKeyType": private_key_type +"/iam:v1/ServiceAccountKey/publicKeyData": public_key_data +"/iam:v1/ServiceAccountKey/validAfterTime": valid_after_time +"/iam:v1/ServiceAccountKey/validBeforeTime": valid_before_time +"/iam:v1/SetIamPolicyRequest": set_iam_policy_request +"/iam:v1/SetIamPolicyRequest/policy": policy +"/iam:v1/SignBlobRequest": sign_blob_request +"/iam:v1/SignBlobRequest/bytesToSign": bytes_to_sign +"/iam:v1/SignBlobResponse": sign_blob_response +"/iam:v1/SignBlobResponse/keyId": key_id +"/iam:v1/SignBlobResponse/signature": signature +"/iam:v1/SignJwtRequest": sign_jwt_request +"/iam:v1/SignJwtRequest/payload": payload +"/iam:v1/SignJwtResponse": sign_jwt_response +"/iam:v1/SignJwtResponse/keyId": key_id +"/iam:v1/SignJwtResponse/signedJwt": signed_jwt +"/iam:v1/TestIamPermissionsRequest": test_iam_permissions_request +"/iam:v1/TestIamPermissionsRequest/permissions": permissions +"/iam:v1/TestIamPermissionsRequest/permissions/permission": permission +"/iam:v1/TestIamPermissionsResponse": test_iam_permissions_response +"/iam:v1/TestIamPermissionsResponse/permissions": permissions +"/iam:v1/TestIamPermissionsResponse/permissions/permission": permission +"/iam:v1/UndeleteRoleRequest": undelete_role_request +"/iam:v1/UndeleteRoleRequest/etag": etag "/iam:v1/fields": fields -"/iam:v1/key": key -"/iam:v1/quotaUser": quota_user -"/iam:v1/iam.projects.serviceAccounts.update": update_project_service_account -"/iam:v1/iam.projects.serviceAccounts.update/name": name -"/iam:v1/iam.projects.serviceAccounts.testIamPermissions": test_service_account_iam_permissions -"/iam:v1/iam.projects.serviceAccounts.testIamPermissions/resource": resource -"/iam:v1/iam.projects.serviceAccounts.delete": delete_project_service_account -"/iam:v1/iam.projects.serviceAccounts.delete/name": name -"/iam:v1/iam.projects.serviceAccounts.signBlob": sign_service_account_blob -"/iam:v1/iam.projects.serviceAccounts.signBlob/name": name -"/iam:v1/iam.projects.serviceAccounts.list": list_project_service_accounts -"/iam:v1/iam.projects.serviceAccounts.list/pageToken": page_token -"/iam:v1/iam.projects.serviceAccounts.list/name": name -"/iam:v1/iam.projects.serviceAccounts.list/pageSize": page_size +"/iam:v1/iam.organizations.roles.create": create_organization_role +"/iam:v1/iam.organizations.roles.create/parent": parent +"/iam:v1/iam.organizations.roles.delete": delete_organization_role +"/iam:v1/iam.organizations.roles.delete/etag": etag +"/iam:v1/iam.organizations.roles.delete/name": name +"/iam:v1/iam.organizations.roles.get": get_organization_role +"/iam:v1/iam.organizations.roles.get/name": name +"/iam:v1/iam.organizations.roles.list": list_organization_roles +"/iam:v1/iam.organizations.roles.list/pageSize": page_size +"/iam:v1/iam.organizations.roles.list/pageToken": page_token +"/iam:v1/iam.organizations.roles.list/parent": parent +"/iam:v1/iam.organizations.roles.list/showDeleted": show_deleted +"/iam:v1/iam.organizations.roles.list/view": view +"/iam:v1/iam.organizations.roles.patch": patch_organization_role +"/iam:v1/iam.organizations.roles.patch/name": name +"/iam:v1/iam.organizations.roles.patch/updateMask": update_mask +"/iam:v1/iam.organizations.roles.undelete": undelete_organization_role +"/iam:v1/iam.organizations.roles.undelete/name": name +"/iam:v1/iam.permissions.queryTestablePermissions": query_testable_permissions +"/iam:v1/iam.projects.roles.create": create_project_role +"/iam:v1/iam.projects.roles.create/parent": parent +"/iam:v1/iam.projects.roles.delete": delete_project_role +"/iam:v1/iam.projects.roles.delete/etag": etag +"/iam:v1/iam.projects.roles.delete/name": name +"/iam:v1/iam.projects.roles.get": get_project_role +"/iam:v1/iam.projects.roles.get/name": name +"/iam:v1/iam.projects.roles.list": list_project_roles +"/iam:v1/iam.projects.roles.list/pageSize": page_size +"/iam:v1/iam.projects.roles.list/pageToken": page_token +"/iam:v1/iam.projects.roles.list/parent": parent +"/iam:v1/iam.projects.roles.list/showDeleted": show_deleted +"/iam:v1/iam.projects.roles.list/view": view +"/iam:v1/iam.projects.roles.patch": patch_project_role +"/iam:v1/iam.projects.roles.patch/name": name +"/iam:v1/iam.projects.roles.patch/updateMask": update_mask +"/iam:v1/iam.projects.roles.undelete": undelete_project_role +"/iam:v1/iam.projects.roles.undelete/name": name "/iam:v1/iam.projects.serviceAccounts.create": create_service_account "/iam:v1/iam.projects.serviceAccounts.create/name": name -"/iam:v1/iam.projects.serviceAccounts.setIamPolicy": set_service_account_iam_policy -"/iam:v1/iam.projects.serviceAccounts.setIamPolicy/resource": resource -"/iam:v1/iam.projects.serviceAccounts.signJwt": sign_service_account_jwt -"/iam:v1/iam.projects.serviceAccounts.signJwt/name": name -"/iam:v1/iam.projects.serviceAccounts.getIamPolicy": get_project_service_account_iam_policy -"/iam:v1/iam.projects.serviceAccounts.getIamPolicy/resource": resource +"/iam:v1/iam.projects.serviceAccounts.delete": delete_project_service_account +"/iam:v1/iam.projects.serviceAccounts.delete/name": name "/iam:v1/iam.projects.serviceAccounts.get": get_project_service_account "/iam:v1/iam.projects.serviceAccounts.get/name": name +"/iam:v1/iam.projects.serviceAccounts.getIamPolicy": get_project_service_account_iam_policy +"/iam:v1/iam.projects.serviceAccounts.getIamPolicy/resource": resource "/iam:v1/iam.projects.serviceAccounts.keys.create": create_service_account_key "/iam:v1/iam.projects.serviceAccounts.keys.create/name": name "/iam:v1/iam.projects.serviceAccounts.keys.delete": delete_project_service_account_key "/iam:v1/iam.projects.serviceAccounts.keys.delete/name": name "/iam:v1/iam.projects.serviceAccounts.keys.get": get_project_service_account_key -"/iam:v1/iam.projects.serviceAccounts.keys.get/publicKeyType": public_key_type "/iam:v1/iam.projects.serviceAccounts.keys.get/name": name +"/iam:v1/iam.projects.serviceAccounts.keys.get/publicKeyType": public_key_type "/iam:v1/iam.projects.serviceAccounts.keys.list": list_project_service_account_keys "/iam:v1/iam.projects.serviceAccounts.keys.list/keyTypes": key_types "/iam:v1/iam.projects.serviceAccounts.keys.list/name": name +"/iam:v1/iam.projects.serviceAccounts.list": list_project_service_accounts +"/iam:v1/iam.projects.serviceAccounts.list/name": name +"/iam:v1/iam.projects.serviceAccounts.list/pageSize": page_size +"/iam:v1/iam.projects.serviceAccounts.list/pageToken": page_token +"/iam:v1/iam.projects.serviceAccounts.setIamPolicy": set_service_account_iam_policy +"/iam:v1/iam.projects.serviceAccounts.setIamPolicy/resource": resource +"/iam:v1/iam.projects.serviceAccounts.signBlob": sign_service_account_blob +"/iam:v1/iam.projects.serviceAccounts.signBlob/name": name +"/iam:v1/iam.projects.serviceAccounts.signJwt": sign_service_account_jwt +"/iam:v1/iam.projects.serviceAccounts.signJwt/name": name +"/iam:v1/iam.projects.serviceAccounts.testIamPermissions": test_service_account_iam_permissions +"/iam:v1/iam.projects.serviceAccounts.testIamPermissions/resource": resource +"/iam:v1/iam.projects.serviceAccounts.update": update_project_service_account +"/iam:v1/iam.projects.serviceAccounts.update/name": name +"/iam:v1/iam.roles.get": get_role +"/iam:v1/iam.roles.get/name": name +"/iam:v1/iam.roles.list": list_roles +"/iam:v1/iam.roles.list/pageSize": page_size +"/iam:v1/iam.roles.list/pageToken": page_token +"/iam:v1/iam.roles.list/parent": parent +"/iam:v1/iam.roles.list/showDeleted": show_deleted +"/iam:v1/iam.roles.list/view": view "/iam:v1/iam.roles.queryGrantableRoles": query_grantable_roles -"/iam:v1/CreateServiceAccountRequest": create_service_account_request -"/iam:v1/CreateServiceAccountRequest/accountId": account_id -"/iam:v1/CreateServiceAccountRequest/serviceAccount": service_account -"/iam:v1/ListServiceAccountsResponse": list_service_accounts_response -"/iam:v1/ListServiceAccountsResponse/nextPageToken": next_page_token -"/iam:v1/ListServiceAccountsResponse/accounts": accounts -"/iam:v1/ListServiceAccountsResponse/accounts/account": account -"/iam:v1/QueryGrantableRolesResponse": query_grantable_roles_response -"/iam:v1/QueryGrantableRolesResponse/nextPageToken": next_page_token -"/iam:v1/QueryGrantableRolesResponse/roles": roles -"/iam:v1/QueryGrantableRolesResponse/roles/role": role -"/iam:v1/SignBlobRequest": sign_blob_request -"/iam:v1/SignBlobRequest/bytesToSign": bytes_to_sign -"/iam:v1/Role": role -"/iam:v1/Role/title": title -"/iam:v1/Role/name": name -"/iam:v1/Role/description": description -"/iam:v1/SetIamPolicyRequest": set_iam_policy_request -"/iam:v1/SetIamPolicyRequest/policy": policy -"/iam:v1/Binding": binding -"/iam:v1/Binding/members": members -"/iam:v1/Binding/members/member": member -"/iam:v1/Binding/role": role -"/iam:v1/ServiceAccount": service_account -"/iam:v1/ServiceAccount/uniqueId": unique_id -"/iam:v1/ServiceAccount/oauth2ClientId": oauth2_client_id -"/iam:v1/ServiceAccount/displayName": display_name -"/iam:v1/ServiceAccount/etag": etag -"/iam:v1/ServiceAccount/email": email -"/iam:v1/ServiceAccount/name": name -"/iam:v1/ServiceAccount/projectId": project_id -"/iam:v1/Empty": empty -"/iam:v1/QueryGrantableRolesRequest": query_grantable_roles_request -"/iam:v1/QueryGrantableRolesRequest/fullResourceName": full_resource_name -"/iam:v1/QueryGrantableRolesRequest/pageToken": page_token -"/iam:v1/QueryGrantableRolesRequest/pageSize": page_size -"/iam:v1/ListServiceAccountKeysResponse": list_service_account_keys_response -"/iam:v1/ListServiceAccountKeysResponse/keys": keys -"/iam:v1/ListServiceAccountKeysResponse/keys/key": key -"/iam:v1/TestIamPermissionsResponse": test_iam_permissions_response -"/iam:v1/TestIamPermissionsResponse/permissions": permissions -"/iam:v1/TestIamPermissionsResponse/permissions/permission": permission -"/iam:v1/ServiceAccountKey": service_account_key -"/iam:v1/ServiceAccountKey/publicKeyData": public_key_data -"/iam:v1/ServiceAccountKey/name": name -"/iam:v1/ServiceAccountKey/validBeforeTime": valid_before_time -"/iam:v1/ServiceAccountKey/keyAlgorithm": key_algorithm -"/iam:v1/ServiceAccountKey/validAfterTime": valid_after_time -"/iam:v1/ServiceAccountKey/privateKeyType": private_key_type -"/iam:v1/ServiceAccountKey/privateKeyData": private_key_data -"/iam:v1/CreateServiceAccountKeyRequest": create_service_account_key_request -"/iam:v1/CreateServiceAccountKeyRequest/includePublicKeyData": include_public_key_data -"/iam:v1/CreateServiceAccountKeyRequest/keyAlgorithm": key_algorithm -"/iam:v1/CreateServiceAccountKeyRequest/privateKeyType": private_key_type -"/iam:v1/TestIamPermissionsRequest": test_iam_permissions_request -"/iam:v1/TestIamPermissionsRequest/permissions": permissions -"/iam:v1/TestIamPermissionsRequest/permissions/permission": permission -"/iam:v1/SignBlobResponse": sign_blob_response -"/iam:v1/SignBlobResponse/keyId": key_id -"/iam:v1/SignBlobResponse/signature": signature -"/iam:v1/SignJwtResponse": sign_jwt_response -"/iam:v1/SignJwtResponse/signedJwt": signed_jwt -"/iam:v1/SignJwtResponse/keyId": key_id -"/iam:v1/Policy": policy -"/iam:v1/Policy/etag": etag -"/iam:v1/Policy/version": version -"/iam:v1/Policy/bindings": bindings -"/iam:v1/Policy/bindings/binding": binding -"/iam:v1/SignJwtRequest": sign_jwt_request -"/iam:v1/SignJwtRequest/payload": payload -"/iam:v1/AuditData": audit_data -"/iam:v1/AuditData/policyDelta": policy_delta -"/iam:v1/BindingDelta": binding_delta -"/iam:v1/BindingDelta/member": member -"/iam:v1/BindingDelta/role": role -"/iam:v1/BindingDelta/action": action -"/iam:v1/PolicyDelta": policy_delta -"/iam:v1/PolicyDelta/bindingDeltas": binding_deltas -"/iam:v1/PolicyDelta/bindingDeltas/binding_delta": binding_delta -"/identitytoolkit:v3/fields": fields -"/identitytoolkit:v3/key": key -"/identitytoolkit:v3/quotaUser": quota_user -"/identitytoolkit:v3/userIp": user_ip -"/identitytoolkit:v3/identitytoolkit.relyingparty.getProjectConfig/delegatedProjectNumber": delegated_project_number -"/identitytoolkit:v3/identitytoolkit.relyingparty.getProjectConfig/projectNumber": project_number -"/identitytoolkit:v3/identitytoolkit.relyingparty.setProjectConfig": set_relyingparty_project_config +"/iam:v1/key": key +"/iam:v1/quotaUser": quota_user "/identitytoolkit:v3/CreateAuthUriResponse": create_auth_uri_response "/identitytoolkit:v3/CreateAuthUriResponse/allProviders": all_providers "/identitytoolkit:v3/CreateAuthUriResponse/allProviders/all_provider": all_provider @@ -30764,6 +31454,7 @@ "/identitytoolkit:v3/GetRecaptchaParamResponse/kind": kind "/identitytoolkit:v3/GetRecaptchaParamResponse/recaptchaSiteKey": recaptcha_site_key "/identitytoolkit:v3/GetRecaptchaParamResponse/recaptchaStoken": recaptcha_stoken +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest": create_auth_uri_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/appId": app_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/authFlowType": auth_flow_type "/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/clientId": client_id @@ -30779,13 +31470,16 @@ "/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/otaApp": ota_app "/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/providerId": provider_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/sessionId": session_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyDeleteAccountRequest": delete_account_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDeleteAccountRequest/delegatedProjectNumber": delegated_project_number "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDeleteAccountRequest/idToken": id_token "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDeleteAccountRequest/localId": local_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest": download_account_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest/delegatedProjectNumber": delegated_project_number "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest/maxResults": max_results "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest/nextPageToken": next_page_token "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest/targetProjectId": target_project_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest": get_account_info_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/delegatedProjectNumber": delegated_project_number "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/email": email "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/email/email": email @@ -30794,6 +31488,7 @@ "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/localId/local_id": local_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/phoneNumber": phone_number "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/phoneNumber/phone_number": phone_number +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse": get_project_config_response "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/allowPasswordUser": allow_password_user "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/apiKey": api_key "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/authorizedDomains": authorized_domains @@ -30808,10 +31503,14 @@ "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/resetPasswordTemplate": reset_password_template "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/useEmailSending": use_email_sending "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/verifyEmailTemplate": verify_email_template +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetPublicKeysResponse": get_public_keys_response +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetPublicKeysResponse/get_public_keys_response": get_public_keys_response +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyResetPasswordRequest": reset_password_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartyResetPasswordRequest/email": email "/identitytoolkit:v3/IdentitytoolkitRelyingpartyResetPasswordRequest/newPassword": new_password "/identitytoolkit:v3/IdentitytoolkitRelyingpartyResetPasswordRequest/oldPassword": old_password "/identitytoolkit:v3/IdentitytoolkitRelyingpartyResetPasswordRequest/oobCode": oob_code +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest": set_account_info_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/captchaChallenge": captcha_challenge "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/captchaResponse": captcha_response "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/createdAt": created_at @@ -30837,6 +31536,7 @@ "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/returnSecureToken": return_secure_token "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/upgradeToFederatedLogin": upgrade_to_federated_login "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/validSince": valid_since +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest": set_project_config_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/allowPasswordUser": allow_password_user "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/apiKey": api_key "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/authorizedDomains": authorized_domains @@ -30852,9 +31552,12 @@ "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/verifyEmailTemplate": verify_email_template "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigResponse": identitytoolkit_relyingparty_set_project_config_response "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigResponse/projectId": project_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserRequest": sign_out_user_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserRequest/instanceId": instance_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserRequest/localId": local_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserResponse": sign_out_user_response "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserResponse/localId": local_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest": signup_new_user_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/captchaChallenge": captcha_challenge "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/captchaResponse": captcha_response "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/disabled": disabled @@ -30867,6 +31570,7 @@ "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/password": password "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/phoneNumber": phone_number "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/photoUrl": photo_url +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest": upload_account_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/allowOverwrite": allow_overwrite "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/delegatedProjectNumber": delegated_project_number "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/hashAlgorithm": hash_algorithm @@ -30878,6 +31582,7 @@ "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/targetProjectId": target_project_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/users": users "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/users/user": user +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest": verify_assertion_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/autoCreate": auto_create "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/delegatedProjectNumber": delegated_project_number "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/idToken": id_token @@ -30889,10 +31594,12 @@ "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/returnRefreshToken": return_refresh_token "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/returnSecureToken": return_secure_token "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/sessionId": session_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest": verify_custom_token_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest/delegatedProjectNumber": delegated_project_number "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest/instanceId": instance_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest/returnSecureToken": return_secure_token "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest/token": token +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest": verify_password_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/captchaChallenge": captcha_challenge "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/captchaResponse": captcha_response "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/delegatedProjectNumber": delegated_project_number @@ -31050,255 +31757,246 @@ "/identitytoolkit:v3/VerifyPasswordResponse/photoUrl": photo_url "/identitytoolkit:v3/VerifyPasswordResponse/refreshToken": refresh_token "/identitytoolkit:v3/VerifyPasswordResponse/registered": registered +"/identitytoolkit:v3/fields": fields +"/identitytoolkit:v3/identitytoolkit.relyingparty.createAuthUri": create_auth_uri +"/identitytoolkit:v3/identitytoolkit.relyingparty.deleteAccount": delete_account +"/identitytoolkit:v3/identitytoolkit.relyingparty.downloadAccount": download_account +"/identitytoolkit:v3/identitytoolkit.relyingparty.getAccountInfo": get_account_info +"/identitytoolkit:v3/identitytoolkit.relyingparty.getOobConfirmationCode": get_oob_confirmation_code +"/identitytoolkit:v3/identitytoolkit.relyingparty.getProjectConfig": get_project_config +"/identitytoolkit:v3/identitytoolkit.relyingparty.getProjectConfig/delegatedProjectNumber": delegated_project_number +"/identitytoolkit:v3/identitytoolkit.relyingparty.getProjectConfig/projectNumber": project_number +"/identitytoolkit:v3/identitytoolkit.relyingparty.getPublicKeys": get_public_keys +"/identitytoolkit:v3/identitytoolkit.relyingparty.getRecaptchaParam": get_recaptcha_param +"/identitytoolkit:v3/identitytoolkit.relyingparty.resetPassword": reset_password +"/identitytoolkit:v3/identitytoolkit.relyingparty.setAccountInfo": set_account_info +"/identitytoolkit:v3/identitytoolkit.relyingparty.setProjectConfig": set_relyingparty_project_config +"/identitytoolkit:v3/identitytoolkit.relyingparty.signOutUser": sign_out_user +"/identitytoolkit:v3/identitytoolkit.relyingparty.signupNewUser": signup_new_user +"/identitytoolkit:v3/identitytoolkit.relyingparty.uploadAccount": upload_account +"/identitytoolkit:v3/identitytoolkit.relyingparty.verifyAssertion": verify_assertion +"/identitytoolkit:v3/identitytoolkit.relyingparty.verifyCustomToken": verify_custom_token +"/identitytoolkit:v3/identitytoolkit.relyingparty.verifyPassword": verify_password +"/identitytoolkit:v3/key": key +"/identitytoolkit:v3/quotaUser": quota_user +"/identitytoolkit:v3/userIp": user_ip +"/kgsearch:v1/SearchResponse": search_response +"/kgsearch:v1/SearchResponse/@context": _context +"/kgsearch:v1/SearchResponse/@type": _type +"/kgsearch:v1/SearchResponse/itemListElement": item_list_element +"/kgsearch:v1/SearchResponse/itemListElement/item_list_element": item_list_element "/kgsearch:v1/fields": fields "/kgsearch:v1/key": key -"/kgsearch:v1/quotaUser": quota_user "/kgsearch:v1/kgsearch.entities.search": search_entities -"/kgsearch:v1/kgsearch.entities.search/languages": languages "/kgsearch:v1/kgsearch.entities.search/ids": ids +"/kgsearch:v1/kgsearch.entities.search/indent": indent +"/kgsearch:v1/kgsearch.entities.search/languages": languages "/kgsearch:v1/kgsearch.entities.search/limit": limit "/kgsearch:v1/kgsearch.entities.search/prefix": prefix "/kgsearch:v1/kgsearch.entities.search/query": query "/kgsearch:v1/kgsearch.entities.search/types": types -"/kgsearch:v1/kgsearch.entities.search/indent": indent -"/kgsearch:v1/SearchResponse": search_response -"/kgsearch:v1/SearchResponse/@type": _type -"/kgsearch:v1/SearchResponse/itemListElement": item_list_element -"/kgsearch:v1/SearchResponse/itemListElement/item_list_element": item_list_element -"/kgsearch:v1/SearchResponse/@context": _context -"/language:v1/quotaUser": quota_user -"/language:v1/fields": fields -"/language:v1/key": key -"/language:v1/language.documents.analyzeEntities": analyze_document_entities -"/language:v1/language.documents.analyzeSyntax": analyze_document_syntax -"/language:v1/language.documents.analyzeSentiment": analyze_document_sentiment -"/language:v1/language.documents.annotateText": annotate_document_text -"/language:v1/PartOfSpeech": part_of_speech -"/language:v1/PartOfSpeech/aspect": aspect -"/language:v1/PartOfSpeech/mood": mood -"/language:v1/PartOfSpeech/tag": tag -"/language:v1/PartOfSpeech/gender": gender -"/language:v1/PartOfSpeech/person": person -"/language:v1/PartOfSpeech/proper": proper -"/language:v1/PartOfSpeech/case": case -"/language:v1/PartOfSpeech/tense": tense -"/language:v1/PartOfSpeech/reciprocity": reciprocity -"/language:v1/PartOfSpeech/form": form -"/language:v1/PartOfSpeech/number": number -"/language:v1/PartOfSpeech/voice": voice -"/language:v1/AnalyzeSyntaxRequest": analyze_syntax_request -"/language:v1/AnalyzeSyntaxRequest/encodingType": encoding_type -"/language:v1/AnalyzeSyntaxRequest/document": document +"/kgsearch:v1/quotaUser": quota_user +"/language:v1/AnalyzeEntitiesRequest": analyze_entities_request +"/language:v1/AnalyzeEntitiesRequest/document": document +"/language:v1/AnalyzeEntitiesRequest/encodingType": encoding_type +"/language:v1/AnalyzeEntitiesResponse": analyze_entities_response +"/language:v1/AnalyzeEntitiesResponse/entities": entities +"/language:v1/AnalyzeEntitiesResponse/entities/entity": entity +"/language:v1/AnalyzeEntitiesResponse/language": language +"/language:v1/AnalyzeSentimentRequest": analyze_sentiment_request +"/language:v1/AnalyzeSentimentRequest/document": document +"/language:v1/AnalyzeSentimentRequest/encodingType": encoding_type "/language:v1/AnalyzeSentimentResponse": analyze_sentiment_response "/language:v1/AnalyzeSentimentResponse/documentSentiment": document_sentiment "/language:v1/AnalyzeSentimentResponse/language": language "/language:v1/AnalyzeSentimentResponse/sentences": sentences "/language:v1/AnalyzeSentimentResponse/sentences/sentence": sentence -"/language:v1/AnalyzeEntitiesResponse": analyze_entities_response -"/language:v1/AnalyzeEntitiesResponse/language": language -"/language:v1/AnalyzeEntitiesResponse/entities": entities -"/language:v1/AnalyzeEntitiesResponse/entities/entity": entity +"/language:v1/AnalyzeSyntaxRequest": analyze_syntax_request +"/language:v1/AnalyzeSyntaxRequest/document": document +"/language:v1/AnalyzeSyntaxRequest/encodingType": encoding_type "/language:v1/AnalyzeSyntaxResponse": analyze_syntax_response -"/language:v1/AnalyzeSyntaxResponse/tokens": tokens -"/language:v1/AnalyzeSyntaxResponse/tokens/token": token "/language:v1/AnalyzeSyntaxResponse/language": language "/language:v1/AnalyzeSyntaxResponse/sentences": sentences "/language:v1/AnalyzeSyntaxResponse/sentences/sentence": sentence -"/language:v1/Entity": entity -"/language:v1/Entity/salience": salience -"/language:v1/Entity/metadata": metadata -"/language:v1/Entity/metadata/metadatum": metadatum -"/language:v1/Entity/type": type -"/language:v1/Entity/mentions": mentions -"/language:v1/Entity/mentions/mention": mention -"/language:v1/Entity/name": name +"/language:v1/AnalyzeSyntaxResponse/tokens": tokens +"/language:v1/AnalyzeSyntaxResponse/tokens/token": token "/language:v1/AnnotateTextRequest": annotate_text_request -"/language:v1/AnnotateTextRequest/features": features -"/language:v1/AnnotateTextRequest/encodingType": encoding_type "/language:v1/AnnotateTextRequest/document": document +"/language:v1/AnnotateTextRequest/encodingType": encoding_type +"/language:v1/AnnotateTextRequest/features": features "/language:v1/AnnotateTextResponse": annotate_text_response +"/language:v1/AnnotateTextResponse/documentSentiment": document_sentiment +"/language:v1/AnnotateTextResponse/entities": entities +"/language:v1/AnnotateTextResponse/entities/entity": entity +"/language:v1/AnnotateTextResponse/language": language "/language:v1/AnnotateTextResponse/sentences": sentences "/language:v1/AnnotateTextResponse/sentences/sentence": sentence "/language:v1/AnnotateTextResponse/tokens": tokens "/language:v1/AnnotateTextResponse/tokens/token": token -"/language:v1/AnnotateTextResponse/entities": entities -"/language:v1/AnnotateTextResponse/entities/entity": entity -"/language:v1/AnnotateTextResponse/documentSentiment": document_sentiment -"/language:v1/AnnotateTextResponse/language": language -"/language:v1/AnalyzeSentimentRequest": analyze_sentiment_request -"/language:v1/AnalyzeSentimentRequest/encodingType": encoding_type -"/language:v1/AnalyzeSentimentRequest/document": document "/language:v1/DependencyEdge": dependency_edge -"/language:v1/DependencyEdge/label": label "/language:v1/DependencyEdge/headTokenIndex": head_token_index -"/language:v1/TextSpan": text_span -"/language:v1/TextSpan/content": content -"/language:v1/TextSpan/beginOffset": begin_offset -"/language:v1/Token": token -"/language:v1/Token/partOfSpeech": part_of_speech -"/language:v1/Token/dependencyEdge": dependency_edge -"/language:v1/Token/text": text -"/language:v1/Token/lemma": lemma +"/language:v1/DependencyEdge/label": label +"/language:v1/Document": document +"/language:v1/Document/content": content +"/language:v1/Document/gcsContentUri": gcs_content_uri +"/language:v1/Document/language": language +"/language:v1/Document/type": type +"/language:v1/Entity": entity +"/language:v1/Entity/mentions": mentions +"/language:v1/Entity/mentions/mention": mention +"/language:v1/Entity/metadata": metadata +"/language:v1/Entity/metadata/metadatum": metadatum +"/language:v1/Entity/name": name +"/language:v1/Entity/salience": salience +"/language:v1/Entity/type": type +"/language:v1/EntityMention": entity_mention +"/language:v1/EntityMention/text": text +"/language:v1/EntityMention/type": type +"/language:v1/Features": features +"/language:v1/Features/extractDocumentSentiment": extract_document_sentiment +"/language:v1/Features/extractEntities": extract_entities +"/language:v1/Features/extractSyntax": extract_syntax +"/language:v1/PartOfSpeech": part_of_speech +"/language:v1/PartOfSpeech/aspect": aspect +"/language:v1/PartOfSpeech/case": case +"/language:v1/PartOfSpeech/form": form +"/language:v1/PartOfSpeech/gender": gender +"/language:v1/PartOfSpeech/mood": mood +"/language:v1/PartOfSpeech/number": number +"/language:v1/PartOfSpeech/person": person +"/language:v1/PartOfSpeech/proper": proper +"/language:v1/PartOfSpeech/reciprocity": reciprocity +"/language:v1/PartOfSpeech/tag": tag +"/language:v1/PartOfSpeech/tense": tense +"/language:v1/PartOfSpeech/voice": voice +"/language:v1/Sentence": sentence +"/language:v1/Sentence/sentiment": sentiment +"/language:v1/Sentence/text": text +"/language:v1/Sentiment": sentiment +"/language:v1/Sentiment/magnitude": magnitude +"/language:v1/Sentiment/score": score "/language:v1/Status": status "/language:v1/Status/code": code -"/language:v1/Status/message": message "/language:v1/Status/details": details "/language:v1/Status/details/detail": detail "/language:v1/Status/details/detail/detail": detail -"/language:v1/EntityMention": entity_mention -"/language:v1/EntityMention/type": type -"/language:v1/EntityMention/text": text -"/language:v1/Features": features -"/language:v1/Features/extractEntities": extract_entities -"/language:v1/Features/extractDocumentSentiment": extract_document_sentiment -"/language:v1/Features/extractSyntax": extract_syntax -"/language:v1/Document": document -"/language:v1/Document/language": language -"/language:v1/Document/content": content -"/language:v1/Document/type": type -"/language:v1/Document/gcsContentUri": gcs_content_uri -"/language:v1/Sentence": sentence -"/language:v1/Sentence/text": text -"/language:v1/Sentence/sentiment": sentiment -"/language:v1/AnalyzeEntitiesRequest": analyze_entities_request -"/language:v1/AnalyzeEntitiesRequest/encodingType": encoding_type -"/language:v1/AnalyzeEntitiesRequest/document": document -"/language:v1/Sentiment": sentiment -"/language:v1/Sentiment/score": score -"/language:v1/Sentiment/magnitude": magnitude -"/language:v1beta1/key": key -"/language:v1beta1/quotaUser": quota_user -"/language:v1beta1/fields": fields -"/language:v1beta1/language.documents.analyzeSyntax": analyze_document_syntax -"/language:v1beta1/language.documents.analyzeSentiment": analyze_document_sentiment -"/language:v1beta1/language.documents.annotateText": annotate_document_text -"/language:v1beta1/language.documents.analyzeEntities": analyze_document_entities -"/language:v1beta1/TextSpan": text_span -"/language:v1beta1/TextSpan/beginOffset": begin_offset -"/language:v1beta1/TextSpan/content": content -"/language:v1beta1/Token": token -"/language:v1beta1/Token/dependencyEdge": dependency_edge -"/language:v1beta1/Token/text": text -"/language:v1beta1/Token/lemma": lemma -"/language:v1beta1/Token/partOfSpeech": part_of_speech -"/language:v1beta1/Status": status -"/language:v1beta1/Status/details": details -"/language:v1beta1/Status/details/detail": detail -"/language:v1beta1/Status/details/detail/detail": detail -"/language:v1beta1/Status/code": code -"/language:v1beta1/Status/message": message -"/language:v1beta1/EntityMention": entity_mention -"/language:v1beta1/EntityMention/type": type -"/language:v1beta1/EntityMention/text": text -"/language:v1beta1/Features": features -"/language:v1beta1/Features/extractEntities": extract_entities -"/language:v1beta1/Features/extractDocumentSentiment": extract_document_sentiment -"/language:v1beta1/Features/extractSyntax": extract_syntax -"/language:v1beta1/Document": document -"/language:v1beta1/Document/gcsContentUri": gcs_content_uri -"/language:v1beta1/Document/language": language -"/language:v1beta1/Document/content": content -"/language:v1beta1/Document/type": type -"/language:v1beta1/Sentence": sentence -"/language:v1beta1/Sentence/text": text -"/language:v1beta1/Sentence/sentiment": sentiment +"/language:v1/Status/message": message +"/language:v1/TextSpan": text_span +"/language:v1/TextSpan/beginOffset": begin_offset +"/language:v1/TextSpan/content": content +"/language:v1/Token": token +"/language:v1/Token/dependencyEdge": dependency_edge +"/language:v1/Token/lemma": lemma +"/language:v1/Token/partOfSpeech": part_of_speech +"/language:v1/Token/text": text +"/language:v1/fields": fields +"/language:v1/key": key +"/language:v1/language.documents.analyzeEntities": analyze_document_entities +"/language:v1/language.documents.analyzeSentiment": analyze_document_sentiment +"/language:v1/language.documents.analyzeSyntax": analyze_document_syntax +"/language:v1/language.documents.annotateText": annotate_document_text +"/language:v1/quotaUser": quota_user "/language:v1beta1/AnalyzeEntitiesRequest": analyze_entities_request "/language:v1beta1/AnalyzeEntitiesRequest/document": document "/language:v1beta1/AnalyzeEntitiesRequest/encodingType": encoding_type -"/language:v1beta1/Sentiment": sentiment -"/language:v1beta1/Sentiment/score": score -"/language:v1beta1/Sentiment/polarity": polarity -"/language:v1beta1/Sentiment/magnitude": magnitude -"/language:v1beta1/PartOfSpeech": part_of_speech -"/language:v1beta1/PartOfSpeech/form": form -"/language:v1beta1/PartOfSpeech/number": number -"/language:v1beta1/PartOfSpeech/voice": voice -"/language:v1beta1/PartOfSpeech/aspect": aspect -"/language:v1beta1/PartOfSpeech/mood": mood -"/language:v1beta1/PartOfSpeech/tag": tag -"/language:v1beta1/PartOfSpeech/gender": gender -"/language:v1beta1/PartOfSpeech/person": person -"/language:v1beta1/PartOfSpeech/proper": proper -"/language:v1beta1/PartOfSpeech/case": case -"/language:v1beta1/PartOfSpeech/tense": tense -"/language:v1beta1/PartOfSpeech/reciprocity": reciprocity -"/language:v1beta1/AnalyzeSyntaxRequest": analyze_syntax_request -"/language:v1beta1/AnalyzeSyntaxRequest/document": document -"/language:v1beta1/AnalyzeSyntaxRequest/encodingType": encoding_type +"/language:v1beta1/AnalyzeEntitiesResponse": analyze_entities_response +"/language:v1beta1/AnalyzeEntitiesResponse/entities": entities +"/language:v1beta1/AnalyzeEntitiesResponse/entities/entity": entity +"/language:v1beta1/AnalyzeEntitiesResponse/language": language +"/language:v1beta1/AnalyzeSentimentRequest": analyze_sentiment_request +"/language:v1beta1/AnalyzeSentimentRequest/document": document +"/language:v1beta1/AnalyzeSentimentRequest/encodingType": encoding_type "/language:v1beta1/AnalyzeSentimentResponse": analyze_sentiment_response +"/language:v1beta1/AnalyzeSentimentResponse/documentSentiment": document_sentiment "/language:v1beta1/AnalyzeSentimentResponse/language": language "/language:v1beta1/AnalyzeSentimentResponse/sentences": sentences "/language:v1beta1/AnalyzeSentimentResponse/sentences/sentence": sentence -"/language:v1beta1/AnalyzeSentimentResponse/documentSentiment": document_sentiment -"/language:v1beta1/AnalyzeEntitiesResponse": analyze_entities_response -"/language:v1beta1/AnalyzeEntitiesResponse/language": language -"/language:v1beta1/AnalyzeEntitiesResponse/entities": entities -"/language:v1beta1/AnalyzeEntitiesResponse/entities/entity": entity +"/language:v1beta1/AnalyzeSyntaxRequest": analyze_syntax_request +"/language:v1beta1/AnalyzeSyntaxRequest/document": document +"/language:v1beta1/AnalyzeSyntaxRequest/encodingType": encoding_type "/language:v1beta1/AnalyzeSyntaxResponse": analyze_syntax_response "/language:v1beta1/AnalyzeSyntaxResponse/language": language "/language:v1beta1/AnalyzeSyntaxResponse/sentences": sentences "/language:v1beta1/AnalyzeSyntaxResponse/sentences/sentence": sentence "/language:v1beta1/AnalyzeSyntaxResponse/tokens": tokens "/language:v1beta1/AnalyzeSyntaxResponse/tokens/token": token -"/language:v1beta1/Entity": entity -"/language:v1beta1/Entity/name": name -"/language:v1beta1/Entity/salience": salience -"/language:v1beta1/Entity/metadata": metadata -"/language:v1beta1/Entity/metadata/metadatum": metadatum -"/language:v1beta1/Entity/type": type -"/language:v1beta1/Entity/mentions": mentions -"/language:v1beta1/Entity/mentions/mention": mention "/language:v1beta1/AnnotateTextRequest": annotate_text_request -"/language:v1beta1/AnnotateTextRequest/features": features -"/language:v1beta1/AnnotateTextRequest/encodingType": encoding_type "/language:v1beta1/AnnotateTextRequest/document": document +"/language:v1beta1/AnnotateTextRequest/encodingType": encoding_type +"/language:v1beta1/AnnotateTextRequest/features": features "/language:v1beta1/AnnotateTextResponse": annotate_text_response +"/language:v1beta1/AnnotateTextResponse/documentSentiment": document_sentiment "/language:v1beta1/AnnotateTextResponse/entities": entities "/language:v1beta1/AnnotateTextResponse/entities/entity": entity -"/language:v1beta1/AnnotateTextResponse/documentSentiment": document_sentiment "/language:v1beta1/AnnotateTextResponse/language": language "/language:v1beta1/AnnotateTextResponse/sentences": sentences "/language:v1beta1/AnnotateTextResponse/sentences/sentence": sentence "/language:v1beta1/AnnotateTextResponse/tokens": tokens "/language:v1beta1/AnnotateTextResponse/tokens/token": token -"/language:v1beta1/AnalyzeSentimentRequest": analyze_sentiment_request -"/language:v1beta1/AnalyzeSentimentRequest/document": document -"/language:v1beta1/AnalyzeSentimentRequest/encodingType": encoding_type "/language:v1beta1/DependencyEdge": dependency_edge -"/language:v1beta1/DependencyEdge/label": label "/language:v1beta1/DependencyEdge/headTokenIndex": head_token_index -"/licensing:v1/fields": fields -"/licensing:v1/key": key -"/licensing:v1/quotaUser": quota_user -"/licensing:v1/userIp": user_ip -"/licensing:v1/licensing.licenseAssignments.delete": delete_license_assignment -"/licensing:v1/licensing.licenseAssignments.delete/productId": product_id -"/licensing:v1/licensing.licenseAssignments.delete/skuId": sku_id -"/licensing:v1/licensing.licenseAssignments.delete/userId": user_id -"/licensing:v1/licensing.licenseAssignments.get": get_license_assignment -"/licensing:v1/licensing.licenseAssignments.get/productId": product_id -"/licensing:v1/licensing.licenseAssignments.get/skuId": sku_id -"/licensing:v1/licensing.licenseAssignments.get/userId": user_id -"/licensing:v1/licensing.licenseAssignments.insert": insert_license_assignment -"/licensing:v1/licensing.licenseAssignments.insert/productId": product_id -"/licensing:v1/licensing.licenseAssignments.insert/skuId": sku_id -"/licensing:v1/licensing.licenseAssignments.listForProduct/customerId": customer_id -"/licensing:v1/licensing.licenseAssignments.listForProduct/maxResults": max_results -"/licensing:v1/licensing.licenseAssignments.listForProduct/pageToken": page_token -"/licensing:v1/licensing.licenseAssignments.listForProduct/productId": product_id -"/licensing:v1/licensing.licenseAssignments.listForProductAndSku/customerId": customer_id -"/licensing:v1/licensing.licenseAssignments.listForProductAndSku/maxResults": max_results -"/licensing:v1/licensing.licenseAssignments.listForProductAndSku/pageToken": page_token -"/licensing:v1/licensing.licenseAssignments.listForProductAndSku/productId": product_id -"/licensing:v1/licensing.licenseAssignments.listForProductAndSku/skuId": sku_id -"/licensing:v1/licensing.licenseAssignments.patch": patch_license_assignment -"/licensing:v1/licensing.licenseAssignments.patch/productId": product_id -"/licensing:v1/licensing.licenseAssignments.patch/skuId": sku_id -"/licensing:v1/licensing.licenseAssignments.patch/userId": user_id -"/licensing:v1/licensing.licenseAssignments.update": update_license_assignment -"/licensing:v1/licensing.licenseAssignments.update/productId": product_id -"/licensing:v1/licensing.licenseAssignments.update/skuId": sku_id -"/licensing:v1/licensing.licenseAssignments.update/userId": user_id +"/language:v1beta1/DependencyEdge/label": label +"/language:v1beta1/Document": document +"/language:v1beta1/Document/content": content +"/language:v1beta1/Document/gcsContentUri": gcs_content_uri +"/language:v1beta1/Document/language": language +"/language:v1beta1/Document/type": type +"/language:v1beta1/Entity": entity +"/language:v1beta1/Entity/mentions": mentions +"/language:v1beta1/Entity/mentions/mention": mention +"/language:v1beta1/Entity/metadata": metadata +"/language:v1beta1/Entity/metadata/metadatum": metadatum +"/language:v1beta1/Entity/name": name +"/language:v1beta1/Entity/salience": salience +"/language:v1beta1/Entity/type": type +"/language:v1beta1/EntityMention": entity_mention +"/language:v1beta1/EntityMention/text": text +"/language:v1beta1/EntityMention/type": type +"/language:v1beta1/Features": features +"/language:v1beta1/Features/extractDocumentSentiment": extract_document_sentiment +"/language:v1beta1/Features/extractEntities": extract_entities +"/language:v1beta1/Features/extractSyntax": extract_syntax +"/language:v1beta1/PartOfSpeech": part_of_speech +"/language:v1beta1/PartOfSpeech/aspect": aspect +"/language:v1beta1/PartOfSpeech/case": case +"/language:v1beta1/PartOfSpeech/form": form +"/language:v1beta1/PartOfSpeech/gender": gender +"/language:v1beta1/PartOfSpeech/mood": mood +"/language:v1beta1/PartOfSpeech/number": number +"/language:v1beta1/PartOfSpeech/person": person +"/language:v1beta1/PartOfSpeech/proper": proper +"/language:v1beta1/PartOfSpeech/reciprocity": reciprocity +"/language:v1beta1/PartOfSpeech/tag": tag +"/language:v1beta1/PartOfSpeech/tense": tense +"/language:v1beta1/PartOfSpeech/voice": voice +"/language:v1beta1/Sentence": sentence +"/language:v1beta1/Sentence/sentiment": sentiment +"/language:v1beta1/Sentence/text": text +"/language:v1beta1/Sentiment": sentiment +"/language:v1beta1/Sentiment/magnitude": magnitude +"/language:v1beta1/Sentiment/polarity": polarity +"/language:v1beta1/Sentiment/score": score +"/language:v1beta1/Status": status +"/language:v1beta1/Status/code": code +"/language:v1beta1/Status/details": details +"/language:v1beta1/Status/details/detail": detail +"/language:v1beta1/Status/details/detail/detail": detail +"/language:v1beta1/Status/message": message +"/language:v1beta1/TextSpan": text_span +"/language:v1beta1/TextSpan/beginOffset": begin_offset +"/language:v1beta1/TextSpan/content": content +"/language:v1beta1/Token": token +"/language:v1beta1/Token/dependencyEdge": dependency_edge +"/language:v1beta1/Token/lemma": lemma +"/language:v1beta1/Token/partOfSpeech": part_of_speech +"/language:v1beta1/Token/text": text +"/language:v1beta1/fields": fields +"/language:v1beta1/key": key +"/language:v1beta1/language.documents.analyzeEntities": analyze_document_entities +"/language:v1beta1/language.documents.analyzeSentiment": analyze_document_sentiment +"/language:v1beta1/language.documents.analyzeSyntax": analyze_document_syntax +"/language:v1beta1/language.documents.annotateText": annotate_document_text +"/language:v1beta1/quotaUser": quota_user "/licensing:v1/LicenseAssignment": license_assignment "/licensing:v1/LicenseAssignment/etags": etags "/licensing:v1/LicenseAssignment/kind": kind @@ -31316,626 +32014,650 @@ "/licensing:v1/LicenseAssignmentList/items/item": item "/licensing:v1/LicenseAssignmentList/kind": kind "/licensing:v1/LicenseAssignmentList/nextPageToken": next_page_token +"/licensing:v1/fields": fields +"/licensing:v1/key": key +"/licensing:v1/licensing.licenseAssignments.delete": delete_license_assignment +"/licensing:v1/licensing.licenseAssignments.delete/productId": product_id +"/licensing:v1/licensing.licenseAssignments.delete/skuId": sku_id +"/licensing:v1/licensing.licenseAssignments.delete/userId": user_id +"/licensing:v1/licensing.licenseAssignments.get": get_license_assignment +"/licensing:v1/licensing.licenseAssignments.get/productId": product_id +"/licensing:v1/licensing.licenseAssignments.get/skuId": sku_id +"/licensing:v1/licensing.licenseAssignments.get/userId": user_id +"/licensing:v1/licensing.licenseAssignments.insert": insert_license_assignment +"/licensing:v1/licensing.licenseAssignments.insert/productId": product_id +"/licensing:v1/licensing.licenseAssignments.insert/skuId": sku_id +"/licensing:v1/licensing.licenseAssignments.listForProduct": list_license_assignments_for_product +"/licensing:v1/licensing.licenseAssignments.listForProduct/customerId": customer_id +"/licensing:v1/licensing.licenseAssignments.listForProduct/maxResults": max_results +"/licensing:v1/licensing.licenseAssignments.listForProduct/pageToken": page_token +"/licensing:v1/licensing.licenseAssignments.listForProduct/productId": product_id +"/licensing:v1/licensing.licenseAssignments.listForProductAndSku": list_license_assignments_for_product_and_sku +"/licensing:v1/licensing.licenseAssignments.listForProductAndSku/customerId": customer_id +"/licensing:v1/licensing.licenseAssignments.listForProductAndSku/maxResults": max_results +"/licensing:v1/licensing.licenseAssignments.listForProductAndSku/pageToken": page_token +"/licensing:v1/licensing.licenseAssignments.listForProductAndSku/productId": product_id +"/licensing:v1/licensing.licenseAssignments.listForProductAndSku/skuId": sku_id +"/licensing:v1/licensing.licenseAssignments.patch": patch_license_assignment +"/licensing:v1/licensing.licenseAssignments.patch/productId": product_id +"/licensing:v1/licensing.licenseAssignments.patch/skuId": sku_id +"/licensing:v1/licensing.licenseAssignments.patch/userId": user_id +"/licensing:v1/licensing.licenseAssignments.update": update_license_assignment +"/licensing:v1/licensing.licenseAssignments.update/productId": product_id +"/licensing:v1/licensing.licenseAssignments.update/skuId": sku_id +"/licensing:v1/licensing.licenseAssignments.update/userId": user_id +"/licensing:v1/quotaUser": quota_user +"/licensing:v1/userIp": user_ip +"/logging:v1beta3/logging.projects.logServices.indexes.list": list_log_service_indexes +"/logging:v1beta3/logging.projects.logServices.list": list_log_services +"/logging:v1beta3/logging.projects.logServices.sinks.create": create_log_service_sink +"/logging:v1beta3/logging.projects.logServices.sinks.delete": delete_log_service_sink +"/logging:v1beta3/logging.projects.logServices.sinks.get": get_log_service_sink +"/logging:v1beta3/logging.projects.logServices.sinks.list": list_log_service_sinks +"/logging:v1beta3/logging.projects.logServices.sinks.update": update_log_service_sink +"/logging:v1beta3/logging.projects.logs.delete": delete_log +"/logging:v1beta3/logging.projects.logs.entries.write": write_log_entries +"/logging:v1beta3/logging.projects.logs.list": list_logs +"/logging:v1beta3/logging.projects.logs.sinks.create": create_log_sink +"/logging:v1beta3/logging.projects.logs.sinks.delete": delete_log_sink +"/logging:v1beta3/logging.projects.logs.sinks.get": get_log_sink +"/logging:v1beta3/logging.projects.logs.sinks.list": list_log_sinks +"/logging:v1beta3/logging.projects.logs.sinks.update": update_log_sink +"/logging:v2/Empty": empty +"/logging:v2/HttpRequest": http_request +"/logging:v2/HttpRequest/cacheFillBytes": cache_fill_bytes +"/logging:v2/HttpRequest/cacheHit": cache_hit +"/logging:v2/HttpRequest/cacheLookup": cache_lookup +"/logging:v2/HttpRequest/cacheValidatedWithOriginServer": cache_validated_with_origin_server +"/logging:v2/HttpRequest/latency": latency +"/logging:v2/HttpRequest/protocol": protocol +"/logging:v2/HttpRequest/referer": referer +"/logging:v2/HttpRequest/remoteIp": remote_ip +"/logging:v2/HttpRequest/requestMethod": request_method +"/logging:v2/HttpRequest/requestSize": request_size +"/logging:v2/HttpRequest/requestUrl": request_url +"/logging:v2/HttpRequest/responseSize": response_size +"/logging:v2/HttpRequest/serverIp": server_ip +"/logging:v2/HttpRequest/status": status +"/logging:v2/HttpRequest/userAgent": user_agent +"/logging:v2/LabelDescriptor": label_descriptor +"/logging:v2/LabelDescriptor/description": description +"/logging:v2/LabelDescriptor/key": key +"/logging:v2/LabelDescriptor/valueType": value_type +"/logging:v2/ListLogEntriesRequest": list_log_entries_request +"/logging:v2/ListLogEntriesRequest/filter": filter +"/logging:v2/ListLogEntriesRequest/orderBy": order_by +"/logging:v2/ListLogEntriesRequest/pageSize": page_size +"/logging:v2/ListLogEntriesRequest/pageToken": page_token +"/logging:v2/ListLogEntriesRequest/projectIds": project_ids +"/logging:v2/ListLogEntriesRequest/projectIds/project_id": project_id +"/logging:v2/ListLogEntriesRequest/resourceNames": resource_names +"/logging:v2/ListLogEntriesRequest/resourceNames/resource_name": resource_name +"/logging:v2/ListLogEntriesResponse": list_log_entries_response +"/logging:v2/ListLogEntriesResponse/entries": entries +"/logging:v2/ListLogEntriesResponse/entries/entry": entry +"/logging:v2/ListLogEntriesResponse/nextPageToken": next_page_token +"/logging:v2/ListLogMetricsResponse": list_log_metrics_response +"/logging:v2/ListLogMetricsResponse/metrics": metrics +"/logging:v2/ListLogMetricsResponse/metrics/metric": metric +"/logging:v2/ListLogMetricsResponse/nextPageToken": next_page_token +"/logging:v2/ListLogsResponse": list_logs_response +"/logging:v2/ListLogsResponse/logNames": log_names +"/logging:v2/ListLogsResponse/logNames/log_name": log_name +"/logging:v2/ListLogsResponse/nextPageToken": next_page_token +"/logging:v2/ListMonitoredResourceDescriptorsResponse": list_monitored_resource_descriptors_response +"/logging:v2/ListMonitoredResourceDescriptorsResponse/nextPageToken": next_page_token +"/logging:v2/ListMonitoredResourceDescriptorsResponse/resourceDescriptors": resource_descriptors +"/logging:v2/ListMonitoredResourceDescriptorsResponse/resourceDescriptors/resource_descriptor": resource_descriptor +"/logging:v2/ListSinksResponse": list_sinks_response +"/logging:v2/ListSinksResponse/nextPageToken": next_page_token +"/logging:v2/ListSinksResponse/sinks": sinks +"/logging:v2/ListSinksResponse/sinks/sink": sink +"/logging:v2/LogEntry": log_entry +"/logging:v2/LogEntry/httpRequest": http_request +"/logging:v2/LogEntry/insertId": insert_id +"/logging:v2/LogEntry/jsonPayload": json_payload +"/logging:v2/LogEntry/jsonPayload/json_payload": json_payload +"/logging:v2/LogEntry/labels": labels +"/logging:v2/LogEntry/labels/label": label +"/logging:v2/LogEntry/logName": log_name +"/logging:v2/LogEntry/operation": operation +"/logging:v2/LogEntry/protoPayload": proto_payload +"/logging:v2/LogEntry/protoPayload/proto_payload": proto_payload +"/logging:v2/LogEntry/receiveTimestamp": receive_timestamp +"/logging:v2/LogEntry/resource": resource +"/logging:v2/LogEntry/severity": severity +"/logging:v2/LogEntry/sourceLocation": source_location +"/logging:v2/LogEntry/textPayload": text_payload +"/logging:v2/LogEntry/timestamp": timestamp +"/logging:v2/LogEntry/trace": trace +"/logging:v2/LogEntryOperation": log_entry_operation +"/logging:v2/LogEntryOperation/first": first +"/logging:v2/LogEntryOperation/id": id +"/logging:v2/LogEntryOperation/last": last +"/logging:v2/LogEntryOperation/producer": producer +"/logging:v2/LogEntrySourceLocation": log_entry_source_location +"/logging:v2/LogEntrySourceLocation/file": file +"/logging:v2/LogEntrySourceLocation/function": function +"/logging:v2/LogEntrySourceLocation/line": line +"/logging:v2/LogLine": log_line +"/logging:v2/LogLine/logMessage": log_message +"/logging:v2/LogLine/severity": severity +"/logging:v2/LogLine/sourceLocation": source_location +"/logging:v2/LogLine/time": time +"/logging:v2/LogMetric": log_metric +"/logging:v2/LogMetric/description": description +"/logging:v2/LogMetric/filter": filter +"/logging:v2/LogMetric/name": name +"/logging:v2/LogMetric/version": version +"/logging:v2/LogSink": log_sink +"/logging:v2/LogSink/destination": destination +"/logging:v2/LogSink/endTime": end_time +"/logging:v2/LogSink/filter": filter +"/logging:v2/LogSink/includeChildren": include_children +"/logging:v2/LogSink/name": name +"/logging:v2/LogSink/outputVersionFormat": output_version_format +"/logging:v2/LogSink/startTime": start_time +"/logging:v2/LogSink/writerIdentity": writer_identity +"/logging:v2/MonitoredResource": monitored_resource +"/logging:v2/MonitoredResource/labels": labels +"/logging:v2/MonitoredResource/labels/label": label +"/logging:v2/MonitoredResource/type": type +"/logging:v2/MonitoredResourceDescriptor": monitored_resource_descriptor +"/logging:v2/MonitoredResourceDescriptor/description": description +"/logging:v2/MonitoredResourceDescriptor/displayName": display_name +"/logging:v2/MonitoredResourceDescriptor/labels": labels +"/logging:v2/MonitoredResourceDescriptor/labels/label": label +"/logging:v2/MonitoredResourceDescriptor/name": name +"/logging:v2/MonitoredResourceDescriptor/type": type +"/logging:v2/RequestLog": request_log +"/logging:v2/RequestLog/appEngineRelease": app_engine_release +"/logging:v2/RequestLog/appId": app_id +"/logging:v2/RequestLog/cost": cost +"/logging:v2/RequestLog/endTime": end_time +"/logging:v2/RequestLog/finished": finished +"/logging:v2/RequestLog/first": first +"/logging:v2/RequestLog/host": host +"/logging:v2/RequestLog/httpVersion": http_version +"/logging:v2/RequestLog/instanceId": instance_id +"/logging:v2/RequestLog/instanceIndex": instance_index +"/logging:v2/RequestLog/ip": ip +"/logging:v2/RequestLog/latency": latency +"/logging:v2/RequestLog/line": line +"/logging:v2/RequestLog/line/line": line +"/logging:v2/RequestLog/megaCycles": mega_cycles +"/logging:v2/RequestLog/method": method_prop +"/logging:v2/RequestLog/moduleId": module_id +"/logging:v2/RequestLog/nickname": nickname +"/logging:v2/RequestLog/pendingTime": pending_time +"/logging:v2/RequestLog/referrer": referrer +"/logging:v2/RequestLog/requestId": request_id +"/logging:v2/RequestLog/resource": resource +"/logging:v2/RequestLog/responseSize": response_size +"/logging:v2/RequestLog/sourceReference": source_reference +"/logging:v2/RequestLog/sourceReference/source_reference": source_reference +"/logging:v2/RequestLog/startTime": start_time +"/logging:v2/RequestLog/status": status +"/logging:v2/RequestLog/taskName": task_name +"/logging:v2/RequestLog/taskQueueName": task_queue_name +"/logging:v2/RequestLog/traceId": trace_id +"/logging:v2/RequestLog/urlMapEntry": url_map_entry +"/logging:v2/RequestLog/userAgent": user_agent +"/logging:v2/RequestLog/versionId": version_id +"/logging:v2/RequestLog/wasLoadingRequest": was_loading_request +"/logging:v2/SourceLocation": source_location +"/logging:v2/SourceLocation/file": file +"/logging:v2/SourceLocation/functionName": function_name +"/logging:v2/SourceLocation/line": line +"/logging:v2/SourceReference": source_reference +"/logging:v2/SourceReference/repository": repository +"/logging:v2/SourceReference/revisionId": revision_id +"/logging:v2/WriteLogEntriesRequest": write_log_entries_request +"/logging:v2/WriteLogEntriesRequest/entries": entries +"/logging:v2/WriteLogEntriesRequest/entries/entry": entry +"/logging:v2/WriteLogEntriesRequest/labels": labels +"/logging:v2/WriteLogEntriesRequest/labels/label": label +"/logging:v2/WriteLogEntriesRequest/logName": log_name +"/logging:v2/WriteLogEntriesRequest/partialSuccess": partial_success +"/logging:v2/WriteLogEntriesRequest/resource": resource +"/logging:v2/WriteLogEntriesResponse": write_log_entries_response "/logging:v2/fields": fields "/logging:v2/key": key -"/logging:v2/quotaUser": quota_user -"/logging:v2/logging.projects.sinks.get": get_project_sink -"/logging:v2/logging.projects.sinks.get/sinkName": sink_name -"/logging:v2/logging.projects.sinks.list": list_project_sinks -"/logging:v2/logging.projects.sinks.list/pageToken": page_token -"/logging:v2/logging.projects.sinks.list/pageSize": page_size -"/logging:v2/logging.projects.sinks.list/parent": parent -"/logging:v2/logging.projects.sinks.update": update_project_sink -"/logging:v2/logging.projects.sinks.update/uniqueWriterIdentity": unique_writer_identity -"/logging:v2/logging.projects.sinks.update/sinkName": sink_name -"/logging:v2/logging.projects.sinks.create": create_project_sink -"/logging:v2/logging.projects.sinks.create/parent": parent -"/logging:v2/logging.projects.sinks.create/uniqueWriterIdentity": unique_writer_identity -"/logging:v2/logging.projects.sinks.delete": delete_project_sink -"/logging:v2/logging.projects.sinks.delete/sinkName": sink_name -"/logging:v2/logging.projects.logs.delete": delete_project_log -"/logging:v2/logging.projects.logs.delete/logName": log_name -"/logging:v2/logging.projects.logs.list": list_project_logs -"/logging:v2/logging.projects.logs.list/pageToken": page_token -"/logging:v2/logging.projects.logs.list/pageSize": page_size -"/logging:v2/logging.projects.logs.list/parent": parent -"/logging:v2/logging.projects.metrics.delete": delete_project_metric -"/logging:v2/logging.projects.metrics.delete/metricName": metric_name -"/logging:v2/logging.projects.metrics.get": get_project_metric -"/logging:v2/logging.projects.metrics.get/metricName": metric_name -"/logging:v2/logging.projects.metrics.list": list_project_metrics -"/logging:v2/logging.projects.metrics.list/pageToken": page_token -"/logging:v2/logging.projects.metrics.list/pageSize": page_size -"/logging:v2/logging.projects.metrics.list/parent": parent -"/logging:v2/logging.projects.metrics.update": update_project_metric -"/logging:v2/logging.projects.metrics.update/metricName": metric_name -"/logging:v2/logging.projects.metrics.create": create_project_metric -"/logging:v2/logging.projects.metrics.create/parent": parent +"/logging:v2/logging.billingAccounts.logs.delete": delete_billing_account_log +"/logging:v2/logging.billingAccounts.logs.delete/logName": log_name +"/logging:v2/logging.billingAccounts.logs.list": list_billing_account_logs +"/logging:v2/logging.billingAccounts.logs.list/pageSize": page_size +"/logging:v2/logging.billingAccounts.logs.list/pageToken": page_token +"/logging:v2/logging.billingAccounts.logs.list/parent": parent +"/logging:v2/logging.billingAccounts.sinks.create": create_billing_account_sink +"/logging:v2/logging.billingAccounts.sinks.create/parent": parent +"/logging:v2/logging.billingAccounts.sinks.create/uniqueWriterIdentity": unique_writer_identity +"/logging:v2/logging.billingAccounts.sinks.delete": delete_billing_account_sink +"/logging:v2/logging.billingAccounts.sinks.delete/sinkName": sink_name "/logging:v2/logging.billingAccounts.sinks.get": get_billing_account_sink "/logging:v2/logging.billingAccounts.sinks.get/sinkName": sink_name "/logging:v2/logging.billingAccounts.sinks.list": list_billing_account_sinks -"/logging:v2/logging.billingAccounts.sinks.list/pageToken": page_token "/logging:v2/logging.billingAccounts.sinks.list/pageSize": page_size +"/logging:v2/logging.billingAccounts.sinks.list/pageToken": page_token "/logging:v2/logging.billingAccounts.sinks.list/parent": parent +"/logging:v2/logging.billingAccounts.sinks.patch": patch_billing_account_sink +"/logging:v2/logging.billingAccounts.sinks.patch/sinkName": sink_name +"/logging:v2/logging.billingAccounts.sinks.patch/uniqueWriterIdentity": unique_writer_identity "/logging:v2/logging.billingAccounts.sinks.update": update_billing_account_sink -"/logging:v2/logging.billingAccounts.sinks.update/uniqueWriterIdentity": unique_writer_identity "/logging:v2/logging.billingAccounts.sinks.update/sinkName": sink_name -"/logging:v2/logging.billingAccounts.sinks.create": create_billing_account_sink -"/logging:v2/logging.billingAccounts.sinks.create/uniqueWriterIdentity": unique_writer_identity -"/logging:v2/logging.billingAccounts.sinks.create/parent": parent -"/logging:v2/logging.billingAccounts.sinks.delete": delete_billing_account_sink -"/logging:v2/logging.billingAccounts.sinks.delete/sinkName": sink_name -"/logging:v2/logging.billingAccounts.logs.list": list_billing_account_logs -"/logging:v2/logging.billingAccounts.logs.list/parent": parent -"/logging:v2/logging.billingAccounts.logs.list/pageToken": page_token -"/logging:v2/logging.billingAccounts.logs.list/pageSize": page_size -"/logging:v2/logging.billingAccounts.logs.delete": delete_billing_account_log -"/logging:v2/logging.billingAccounts.logs.delete/logName": log_name +"/logging:v2/logging.billingAccounts.sinks.update/uniqueWriterIdentity": unique_writer_identity +"/logging:v2/logging.entries.list": list_entry_log_entries +"/logging:v2/logging.entries.write": write_entry_log_entries +"/logging:v2/logging.folders.logs.delete": delete_folder_log +"/logging:v2/logging.folders.logs.delete/logName": log_name +"/logging:v2/logging.folders.logs.list": list_folder_logs +"/logging:v2/logging.folders.logs.list/pageSize": page_size +"/logging:v2/logging.folders.logs.list/pageToken": page_token +"/logging:v2/logging.folders.logs.list/parent": parent +"/logging:v2/logging.folders.sinks.create": create_folder_sink +"/logging:v2/logging.folders.sinks.create/parent": parent +"/logging:v2/logging.folders.sinks.create/uniqueWriterIdentity": unique_writer_identity "/logging:v2/logging.folders.sinks.delete": delete_folder_sink "/logging:v2/logging.folders.sinks.delete/sinkName": sink_name "/logging:v2/logging.folders.sinks.get": get_folder_sink "/logging:v2/logging.folders.sinks.get/sinkName": sink_name "/logging:v2/logging.folders.sinks.list": list_folder_sinks "/logging:v2/logging.folders.sinks.list/pageSize": page_size -"/logging:v2/logging.folders.sinks.list/parent": parent "/logging:v2/logging.folders.sinks.list/pageToken": page_token +"/logging:v2/logging.folders.sinks.list/parent": parent +"/logging:v2/logging.folders.sinks.patch": patch_folder_sink +"/logging:v2/logging.folders.sinks.patch/sinkName": sink_name +"/logging:v2/logging.folders.sinks.patch/uniqueWriterIdentity": unique_writer_identity "/logging:v2/logging.folders.sinks.update": update_folder_sink -"/logging:v2/logging.folders.sinks.update/uniqueWriterIdentity": unique_writer_identity "/logging:v2/logging.folders.sinks.update/sinkName": sink_name -"/logging:v2/logging.folders.sinks.create": create_folder_sink -"/logging:v2/logging.folders.sinks.create/parent": parent -"/logging:v2/logging.folders.sinks.create/uniqueWriterIdentity": unique_writer_identity -"/logging:v2/logging.folders.logs.delete": delete_folder_log -"/logging:v2/logging.folders.logs.delete/logName": log_name -"/logging:v2/logging.folders.logs.list": list_folder_logs -"/logging:v2/logging.folders.logs.list/parent": parent -"/logging:v2/logging.folders.logs.list/pageToken": page_token -"/logging:v2/logging.folders.logs.list/pageSize": page_size +"/logging:v2/logging.folders.sinks.update/uniqueWriterIdentity": unique_writer_identity "/logging:v2/logging.monitoredResourceDescriptors.list": list_monitored_resource_descriptors -"/logging:v2/logging.monitoredResourceDescriptors.list/pageToken": page_token "/logging:v2/logging.monitoredResourceDescriptors.list/pageSize": page_size +"/logging:v2/logging.monitoredResourceDescriptors.list/pageToken": page_token +"/logging:v2/logging.organizations.logs.delete": delete_organization_log +"/logging:v2/logging.organizations.logs.delete/logName": log_name +"/logging:v2/logging.organizations.logs.list": list_organization_logs +"/logging:v2/logging.organizations.logs.list/pageSize": page_size +"/logging:v2/logging.organizations.logs.list/pageToken": page_token +"/logging:v2/logging.organizations.logs.list/parent": parent +"/logging:v2/logging.organizations.sinks.create": create_organization_sink +"/logging:v2/logging.organizations.sinks.create/parent": parent +"/logging:v2/logging.organizations.sinks.create/uniqueWriterIdentity": unique_writer_identity "/logging:v2/logging.organizations.sinks.delete": delete_organization_sink "/logging:v2/logging.organizations.sinks.delete/sinkName": sink_name "/logging:v2/logging.organizations.sinks.get": get_organization_sink "/logging:v2/logging.organizations.sinks.get/sinkName": sink_name "/logging:v2/logging.organizations.sinks.list": list_organization_sinks "/logging:v2/logging.organizations.sinks.list/pageSize": page_size -"/logging:v2/logging.organizations.sinks.list/parent": parent "/logging:v2/logging.organizations.sinks.list/pageToken": page_token +"/logging:v2/logging.organizations.sinks.list/parent": parent +"/logging:v2/logging.organizations.sinks.patch": patch_organization_sink +"/logging:v2/logging.organizations.sinks.patch/sinkName": sink_name +"/logging:v2/logging.organizations.sinks.patch/uniqueWriterIdentity": unique_writer_identity "/logging:v2/logging.organizations.sinks.update": update_organization_sink -"/logging:v2/logging.organizations.sinks.update/uniqueWriterIdentity": unique_writer_identity "/logging:v2/logging.organizations.sinks.update/sinkName": sink_name -"/logging:v2/logging.organizations.sinks.create": create_organization_sink -"/logging:v2/logging.organizations.sinks.create/parent": parent -"/logging:v2/logging.organizations.sinks.create/uniqueWriterIdentity": unique_writer_identity -"/logging:v2/logging.organizations.logs.delete": delete_organization_log -"/logging:v2/logging.organizations.logs.delete/logName": log_name -"/logging:v2/logging.organizations.logs.list": list_organization_logs -"/logging:v2/logging.organizations.logs.list/pageToken": page_token -"/logging:v2/logging.organizations.logs.list/pageSize": page_size -"/logging:v2/logging.organizations.logs.list/parent": parent -"/logging:v2/logging.entries.list": list_entry_log_entries -"/logging:v2/logging.entries.write": write_entry_log_entries -"/logging:v2/ListLogMetricsResponse": list_log_metrics_response -"/logging:v2/ListLogMetricsResponse/metrics": metrics -"/logging:v2/ListLogMetricsResponse/metrics/metric": metric -"/logging:v2/ListLogMetricsResponse/nextPageToken": next_page_token -"/logging:v2/LogEntry": log_entry -"/logging:v2/LogEntry/timestamp": timestamp -"/logging:v2/LogEntry/receiveTimestamp": receive_timestamp -"/logging:v2/LogEntry/logName": log_name -"/logging:v2/LogEntry/resource": resource -"/logging:v2/LogEntry/httpRequest": http_request -"/logging:v2/LogEntry/jsonPayload": json_payload -"/logging:v2/LogEntry/jsonPayload/json_payload": json_payload -"/logging:v2/LogEntry/operation": operation -"/logging:v2/LogEntry/insertId": insert_id -"/logging:v2/LogEntry/textPayload": text_payload -"/logging:v2/LogEntry/protoPayload": proto_payload -"/logging:v2/LogEntry/protoPayload/proto_payload": proto_payload -"/logging:v2/LogEntry/trace": trace -"/logging:v2/LogEntry/labels": labels -"/logging:v2/LogEntry/labels/label": label -"/logging:v2/LogEntry/severity": severity -"/logging:v2/LogEntry/sourceLocation": source_location -"/logging:v2/Empty": empty -"/logging:v2/SourceLocation": source_location -"/logging:v2/SourceLocation/file": file -"/logging:v2/SourceLocation/functionName": function_name -"/logging:v2/SourceLocation/line": line -"/logging:v2/ListLogEntriesRequest": list_log_entries_request -"/logging:v2/ListLogEntriesRequest/orderBy": order_by -"/logging:v2/ListLogEntriesRequest/resourceNames": resource_names -"/logging:v2/ListLogEntriesRequest/resourceNames/resource_name": resource_name -"/logging:v2/ListLogEntriesRequest/filter": filter -"/logging:v2/ListLogEntriesRequest/projectIds": project_ids -"/logging:v2/ListLogEntriesRequest/projectIds/project_id": project_id -"/logging:v2/ListLogEntriesRequest/pageToken": page_token -"/logging:v2/ListLogEntriesRequest/pageSize": page_size -"/logging:v2/RequestLog": request_log -"/logging:v2/RequestLog/latency": latency -"/logging:v2/RequestLog/ip": ip -"/logging:v2/RequestLog/appId": app_id -"/logging:v2/RequestLog/appEngineRelease": app_engine_release -"/logging:v2/RequestLog/method": method_prop -"/logging:v2/RequestLog/cost": cost -"/logging:v2/RequestLog/instanceId": instance_id -"/logging:v2/RequestLog/megaCycles": mega_cycles -"/logging:v2/RequestLog/first": first -"/logging:v2/RequestLog/versionId": version_id -"/logging:v2/RequestLog/moduleId": module_id -"/logging:v2/RequestLog/endTime": end_time -"/logging:v2/RequestLog/userAgent": user_agent -"/logging:v2/RequestLog/wasLoadingRequest": was_loading_request -"/logging:v2/RequestLog/sourceReference": source_reference -"/logging:v2/RequestLog/sourceReference/source_reference": source_reference -"/logging:v2/RequestLog/responseSize": response_size -"/logging:v2/RequestLog/traceId": trace_id -"/logging:v2/RequestLog/line": line -"/logging:v2/RequestLog/line/line": line -"/logging:v2/RequestLog/taskQueueName": task_queue_name -"/logging:v2/RequestLog/referrer": referrer -"/logging:v2/RequestLog/requestId": request_id -"/logging:v2/RequestLog/nickname": nickname -"/logging:v2/RequestLog/pendingTime": pending_time -"/logging:v2/RequestLog/resource": resource -"/logging:v2/RequestLog/status": status -"/logging:v2/RequestLog/taskName": task_name -"/logging:v2/RequestLog/urlMapEntry": url_map_entry -"/logging:v2/RequestLog/instanceIndex": instance_index -"/logging:v2/RequestLog/finished": finished -"/logging:v2/RequestLog/host": host -"/logging:v2/RequestLog/httpVersion": http_version -"/logging:v2/RequestLog/startTime": start_time -"/logging:v2/ListMonitoredResourceDescriptorsResponse": list_monitored_resource_descriptors_response -"/logging:v2/ListMonitoredResourceDescriptorsResponse/resourceDescriptors": resource_descriptors -"/logging:v2/ListMonitoredResourceDescriptorsResponse/resourceDescriptors/resource_descriptor": resource_descriptor -"/logging:v2/ListMonitoredResourceDescriptorsResponse/nextPageToken": next_page_token -"/logging:v2/SourceReference": source_reference -"/logging:v2/SourceReference/repository": repository -"/logging:v2/SourceReference/revisionId": revision_id -"/logging:v2/WriteLogEntriesResponse": write_log_entries_response -"/logging:v2/LogEntryOperation": log_entry_operation -"/logging:v2/LogEntryOperation/id": id -"/logging:v2/LogEntryOperation/first": first -"/logging:v2/LogEntryOperation/producer": producer -"/logging:v2/LogEntryOperation/last": last -"/logging:v2/LogMetric": log_metric -"/logging:v2/LogMetric/version": version -"/logging:v2/LogMetric/filter": filter -"/logging:v2/LogMetric/name": name -"/logging:v2/LogMetric/description": description -"/logging:v2/MonitoredResource": monitored_resource -"/logging:v2/MonitoredResource/type": type -"/logging:v2/MonitoredResource/labels": labels -"/logging:v2/MonitoredResource/labels/label": label -"/logging:v2/LogSink": log_sink -"/logging:v2/LogSink/outputVersionFormat": output_version_format -"/logging:v2/LogSink/name": name -"/logging:v2/LogSink/includeChildren": include_children -"/logging:v2/LogSink/destination": destination -"/logging:v2/LogSink/filter": filter -"/logging:v2/LogSink/endTime": end_time -"/logging:v2/LogSink/startTime": start_time -"/logging:v2/LogSink/writerIdentity": writer_identity -"/logging:v2/WriteLogEntriesRequest": write_log_entries_request -"/logging:v2/WriteLogEntriesRequest/entries": entries -"/logging:v2/WriteLogEntriesRequest/entries/entry": entry -"/logging:v2/WriteLogEntriesRequest/logName": log_name -"/logging:v2/WriteLogEntriesRequest/partialSuccess": partial_success -"/logging:v2/WriteLogEntriesRequest/labels": labels -"/logging:v2/WriteLogEntriesRequest/labels/label": label -"/logging:v2/WriteLogEntriesRequest/resource": resource -"/logging:v2/ListLogsResponse": list_logs_response -"/logging:v2/ListLogsResponse/logNames": log_names -"/logging:v2/ListLogsResponse/logNames/log_name": log_name -"/logging:v2/ListLogsResponse/nextPageToken": next_page_token -"/logging:v2/ListSinksResponse": list_sinks_response -"/logging:v2/ListSinksResponse/nextPageToken": next_page_token -"/logging:v2/ListSinksResponse/sinks": sinks -"/logging:v2/ListSinksResponse/sinks/sink": sink -"/logging:v2/HttpRequest": http_request -"/logging:v2/HttpRequest/requestMethod": request_method -"/logging:v2/HttpRequest/requestSize": request_size -"/logging:v2/HttpRequest/responseSize": response_size -"/logging:v2/HttpRequest/requestUrl": request_url -"/logging:v2/HttpRequest/serverIp": server_ip -"/logging:v2/HttpRequest/remoteIp": remote_ip -"/logging:v2/HttpRequest/cacheLookup": cache_lookup -"/logging:v2/HttpRequest/cacheHit": cache_hit -"/logging:v2/HttpRequest/cacheValidatedWithOriginServer": cache_validated_with_origin_server -"/logging:v2/HttpRequest/status": status -"/logging:v2/HttpRequest/referer": referer -"/logging:v2/HttpRequest/latency": latency -"/logging:v2/HttpRequest/userAgent": user_agent -"/logging:v2/HttpRequest/cacheFillBytes": cache_fill_bytes -"/logging:v2/LabelDescriptor": label_descriptor -"/logging:v2/LabelDescriptor/key": key -"/logging:v2/LabelDescriptor/description": description -"/logging:v2/LabelDescriptor/valueType": value_type -"/logging:v2/MonitoredResourceDescriptor": monitored_resource_descriptor -"/logging:v2/MonitoredResourceDescriptor/labels": labels -"/logging:v2/MonitoredResourceDescriptor/labels/label": label -"/logging:v2/MonitoredResourceDescriptor/name": name -"/logging:v2/MonitoredResourceDescriptor/description": description -"/logging:v2/MonitoredResourceDescriptor/displayName": display_name -"/logging:v2/MonitoredResourceDescriptor/type": type -"/logging:v2/LogEntrySourceLocation": log_entry_source_location -"/logging:v2/LogEntrySourceLocation/file": file -"/logging:v2/LogEntrySourceLocation/function": function -"/logging:v2/LogEntrySourceLocation/line": line -"/logging:v2/ListLogEntriesResponse": list_log_entries_response -"/logging:v2/ListLogEntriesResponse/nextPageToken": next_page_token -"/logging:v2/ListLogEntriesResponse/entries": entries -"/logging:v2/ListLogEntriesResponse/entries/entry": entry -"/logging:v2/LogLine": log_line -"/logging:v2/LogLine/logMessage": log_message -"/logging:v2/LogLine/severity": severity -"/logging:v2/LogLine/sourceLocation": source_location -"/logging:v2/LogLine/time": time -"/logging:v2beta1/fields": fields -"/logging:v2beta1/key": key -"/logging:v2beta1/quotaUser": quota_user -"/logging:v2beta1/logging.monitoredResourceDescriptors.list": list_monitored_resource_descriptors -"/logging:v2beta1/logging.monitoredResourceDescriptors.list/pageToken": page_token -"/logging:v2beta1/logging.monitoredResourceDescriptors.list/pageSize": page_size -"/logging:v2beta1/logging.organizations.logs.delete": delete_organization_log -"/logging:v2beta1/logging.organizations.logs.delete/logName": log_name -"/logging:v2beta1/logging.organizations.logs.list": list_organization_logs -"/logging:v2beta1/logging.organizations.logs.list/pageToken": page_token -"/logging:v2beta1/logging.organizations.logs.list/pageSize": page_size -"/logging:v2beta1/logging.organizations.logs.list/parent": parent -"/logging:v2beta1/logging.entries.list": list_entry_log_entries -"/logging:v2beta1/logging.entries.write": write_entry_log_entries -"/logging:v2beta1/logging.projects.sinks.delete": delete_project_sink -"/logging:v2beta1/logging.projects.sinks.delete/sinkName": sink_name -"/logging:v2beta1/logging.projects.sinks.get": get_project_sink -"/logging:v2beta1/logging.projects.sinks.get/sinkName": sink_name -"/logging:v2beta1/logging.projects.sinks.list": list_project_sinks -"/logging:v2beta1/logging.projects.sinks.list/parent": parent -"/logging:v2beta1/logging.projects.sinks.list/pageToken": page_token -"/logging:v2beta1/logging.projects.sinks.list/pageSize": page_size -"/logging:v2beta1/logging.projects.sinks.update": update_project_sink -"/logging:v2beta1/logging.projects.sinks.update/uniqueWriterIdentity": unique_writer_identity -"/logging:v2beta1/logging.projects.sinks.update/sinkName": sink_name -"/logging:v2beta1/logging.projects.sinks.create": create_project_sink -"/logging:v2beta1/logging.projects.sinks.create/uniqueWriterIdentity": unique_writer_identity -"/logging:v2beta1/logging.projects.sinks.create/parent": parent -"/logging:v2beta1/logging.projects.logs.delete/logName": log_name -"/logging:v2beta1/logging.projects.logs.list/pageToken": page_token -"/logging:v2beta1/logging.projects.logs.list/pageSize": page_size -"/logging:v2beta1/logging.projects.logs.list/parent": parent -"/logging:v2beta1/logging.projects.metrics.get": get_project_metric -"/logging:v2beta1/logging.projects.metrics.get/metricName": metric_name -"/logging:v2beta1/logging.projects.metrics.list": list_project_metrics -"/logging:v2beta1/logging.projects.metrics.list/parent": parent -"/logging:v2beta1/logging.projects.metrics.list/pageToken": page_token -"/logging:v2beta1/logging.projects.metrics.list/pageSize": page_size -"/logging:v2beta1/logging.projects.metrics.update": update_project_metric -"/logging:v2beta1/logging.projects.metrics.update/metricName": metric_name -"/logging:v2beta1/logging.projects.metrics.create": create_project_metric -"/logging:v2beta1/logging.projects.metrics.create/parent": parent -"/logging:v2beta1/logging.projects.metrics.delete": delete_project_metric -"/logging:v2beta1/logging.projects.metrics.delete/metricName": metric_name -"/logging:v2beta1/logging.billingAccounts.logs.delete": delete_billing_account_log -"/logging:v2beta1/logging.billingAccounts.logs.delete/logName": log_name -"/logging:v2beta1/logging.billingAccounts.logs.list": list_billing_account_logs -"/logging:v2beta1/logging.billingAccounts.logs.list/pageToken": page_token -"/logging:v2beta1/logging.billingAccounts.logs.list/pageSize": page_size -"/logging:v2beta1/logging.billingAccounts.logs.list/parent": parent +"/logging:v2/logging.organizations.sinks.update/uniqueWriterIdentity": unique_writer_identity +"/logging:v2/logging.projects.logs.delete": delete_project_log +"/logging:v2/logging.projects.logs.delete/logName": log_name +"/logging:v2/logging.projects.logs.list": list_project_logs +"/logging:v2/logging.projects.logs.list/pageSize": page_size +"/logging:v2/logging.projects.logs.list/pageToken": page_token +"/logging:v2/logging.projects.logs.list/parent": parent +"/logging:v2/logging.projects.metrics.create": create_project_metric +"/logging:v2/logging.projects.metrics.create/parent": parent +"/logging:v2/logging.projects.metrics.delete": delete_project_metric +"/logging:v2/logging.projects.metrics.delete/metricName": metric_name +"/logging:v2/logging.projects.metrics.get": get_project_metric +"/logging:v2/logging.projects.metrics.get/metricName": metric_name +"/logging:v2/logging.projects.metrics.list": list_project_metrics +"/logging:v2/logging.projects.metrics.list/pageSize": page_size +"/logging:v2/logging.projects.metrics.list/pageToken": page_token +"/logging:v2/logging.projects.metrics.list/parent": parent +"/logging:v2/logging.projects.metrics.update": update_project_metric +"/logging:v2/logging.projects.metrics.update/metricName": metric_name +"/logging:v2/logging.projects.sinks.create": create_project_sink +"/logging:v2/logging.projects.sinks.create/parent": parent +"/logging:v2/logging.projects.sinks.create/uniqueWriterIdentity": unique_writer_identity +"/logging:v2/logging.projects.sinks.delete": delete_project_sink +"/logging:v2/logging.projects.sinks.delete/sinkName": sink_name +"/logging:v2/logging.projects.sinks.get": get_project_sink +"/logging:v2/logging.projects.sinks.get/sinkName": sink_name +"/logging:v2/logging.projects.sinks.list": list_project_sinks +"/logging:v2/logging.projects.sinks.list/pageSize": page_size +"/logging:v2/logging.projects.sinks.list/pageToken": page_token +"/logging:v2/logging.projects.sinks.list/parent": parent +"/logging:v2/logging.projects.sinks.patch": patch_project_sink +"/logging:v2/logging.projects.sinks.patch/sinkName": sink_name +"/logging:v2/logging.projects.sinks.patch/uniqueWriterIdentity": unique_writer_identity +"/logging:v2/logging.projects.sinks.update": update_project_sink +"/logging:v2/logging.projects.sinks.update/sinkName": sink_name +"/logging:v2/logging.projects.sinks.update/uniqueWriterIdentity": unique_writer_identity +"/logging:v2/quotaUser": quota_user +"/logging:v2beta1/Empty": empty +"/logging:v2beta1/HttpRequest": http_request +"/logging:v2beta1/HttpRequest/cacheFillBytes": cache_fill_bytes +"/logging:v2beta1/HttpRequest/cacheHit": cache_hit +"/logging:v2beta1/HttpRequest/cacheLookup": cache_lookup +"/logging:v2beta1/HttpRequest/cacheValidatedWithOriginServer": cache_validated_with_origin_server +"/logging:v2beta1/HttpRequest/latency": latency +"/logging:v2beta1/HttpRequest/referer": referer +"/logging:v2beta1/HttpRequest/remoteIp": remote_ip +"/logging:v2beta1/HttpRequest/requestMethod": request_method +"/logging:v2beta1/HttpRequest/requestSize": request_size +"/logging:v2beta1/HttpRequest/requestUrl": request_url +"/logging:v2beta1/HttpRequest/responseSize": response_size +"/logging:v2beta1/HttpRequest/serverIp": server_ip +"/logging:v2beta1/HttpRequest/status": status +"/logging:v2beta1/HttpRequest/userAgent": user_agent +"/logging:v2beta1/LabelDescriptor": label_descriptor +"/logging:v2beta1/LabelDescriptor/description": description +"/logging:v2beta1/LabelDescriptor/key": key +"/logging:v2beta1/LabelDescriptor/valueType": value_type "/logging:v2beta1/ListLogEntriesRequest": list_log_entries_request +"/logging:v2beta1/ListLogEntriesRequest/filter": filter "/logging:v2beta1/ListLogEntriesRequest/orderBy": order_by -"/logging:v2beta1/ListLogEntriesRequest/resourceNames": resource_names -"/logging:v2beta1/ListLogEntriesRequest/resourceNames/resource_name": resource_name +"/logging:v2beta1/ListLogEntriesRequest/pageSize": page_size +"/logging:v2beta1/ListLogEntriesRequest/pageToken": page_token "/logging:v2beta1/ListLogEntriesRequest/projectIds": project_ids "/logging:v2beta1/ListLogEntriesRequest/projectIds/project_id": project_id -"/logging:v2beta1/ListLogEntriesRequest/filter": filter -"/logging:v2beta1/ListLogEntriesRequest/pageToken": page_token -"/logging:v2beta1/ListLogEntriesRequest/pageSize": page_size -"/logging:v2beta1/RequestLog": request_log -"/logging:v2beta1/RequestLog/ip": ip -"/logging:v2beta1/RequestLog/appId": app_id -"/logging:v2beta1/RequestLog/appEngineRelease": app_engine_release -"/logging:v2beta1/RequestLog/method": method_prop -"/logging:v2beta1/RequestLog/cost": cost -"/logging:v2beta1/RequestLog/instanceId": instance_id -"/logging:v2beta1/RequestLog/megaCycles": mega_cycles -"/logging:v2beta1/RequestLog/first": first -"/logging:v2beta1/RequestLog/versionId": version_id -"/logging:v2beta1/RequestLog/moduleId": module_id -"/logging:v2beta1/RequestLog/endTime": end_time -"/logging:v2beta1/RequestLog/userAgent": user_agent -"/logging:v2beta1/RequestLog/wasLoadingRequest": was_loading_request -"/logging:v2beta1/RequestLog/sourceReference": source_reference -"/logging:v2beta1/RequestLog/sourceReference/source_reference": source_reference -"/logging:v2beta1/RequestLog/responseSize": response_size -"/logging:v2beta1/RequestLog/traceId": trace_id -"/logging:v2beta1/RequestLog/line": line -"/logging:v2beta1/RequestLog/line/line": line -"/logging:v2beta1/RequestLog/referrer": referrer -"/logging:v2beta1/RequestLog/taskQueueName": task_queue_name -"/logging:v2beta1/RequestLog/requestId": request_id -"/logging:v2beta1/RequestLog/nickname": nickname -"/logging:v2beta1/RequestLog/status": status -"/logging:v2beta1/RequestLog/resource": resource -"/logging:v2beta1/RequestLog/pendingTime": pending_time -"/logging:v2beta1/RequestLog/taskName": task_name -"/logging:v2beta1/RequestLog/urlMapEntry": url_map_entry -"/logging:v2beta1/RequestLog/instanceIndex": instance_index -"/logging:v2beta1/RequestLog/finished": finished -"/logging:v2beta1/RequestLog/host": host -"/logging:v2beta1/RequestLog/httpVersion": http_version -"/logging:v2beta1/RequestLog/startTime": start_time -"/logging:v2beta1/RequestLog/latency": latency +"/logging:v2beta1/ListLogEntriesRequest/resourceNames": resource_names +"/logging:v2beta1/ListLogEntriesRequest/resourceNames/resource_name": resource_name +"/logging:v2beta1/ListLogEntriesResponse": list_log_entries_response +"/logging:v2beta1/ListLogEntriesResponse/entries": entries +"/logging:v2beta1/ListLogEntriesResponse/entries/entry": entry +"/logging:v2beta1/ListLogEntriesResponse/nextPageToken": next_page_token +"/logging:v2beta1/ListLogMetricsResponse": list_log_metrics_response +"/logging:v2beta1/ListLogMetricsResponse/metrics": metrics +"/logging:v2beta1/ListLogMetricsResponse/metrics/metric": metric +"/logging:v2beta1/ListLogMetricsResponse/nextPageToken": next_page_token +"/logging:v2beta1/ListLogsResponse": list_logs_response +"/logging:v2beta1/ListLogsResponse/logNames": log_names +"/logging:v2beta1/ListLogsResponse/logNames/log_name": log_name +"/logging:v2beta1/ListLogsResponse/nextPageToken": next_page_token "/logging:v2beta1/ListMonitoredResourceDescriptorsResponse": list_monitored_resource_descriptors_response "/logging:v2beta1/ListMonitoredResourceDescriptorsResponse/nextPageToken": next_page_token "/logging:v2beta1/ListMonitoredResourceDescriptorsResponse/resourceDescriptors": resource_descriptors "/logging:v2beta1/ListMonitoredResourceDescriptorsResponse/resourceDescriptors/resource_descriptor": resource_descriptor -"/logging:v2beta1/SourceReference": source_reference -"/logging:v2beta1/SourceReference/revisionId": revision_id -"/logging:v2beta1/SourceReference/repository": repository -"/logging:v2beta1/LogMetric": log_metric -"/logging:v2beta1/LogMetric/filter": filter -"/logging:v2beta1/LogMetric/name": name -"/logging:v2beta1/LogMetric/description": description -"/logging:v2beta1/LogMetric/version": version -"/logging:v2beta1/WriteLogEntriesResponse": write_log_entries_response -"/logging:v2beta1/LogEntryOperation": log_entry_operation -"/logging:v2beta1/LogEntryOperation/first": first -"/logging:v2beta1/LogEntryOperation/producer": producer -"/logging:v2beta1/LogEntryOperation/last": last -"/logging:v2beta1/LogEntryOperation/id": id -"/logging:v2beta1/MonitoredResource": monitored_resource -"/logging:v2beta1/MonitoredResource/labels": labels -"/logging:v2beta1/MonitoredResource/labels/label": label -"/logging:v2beta1/MonitoredResource/type": type -"/logging:v2beta1/WriteLogEntriesRequest": write_log_entries_request -"/logging:v2beta1/WriteLogEntriesRequest/labels": labels -"/logging:v2beta1/WriteLogEntriesRequest/labels/label": label -"/logging:v2beta1/WriteLogEntriesRequest/resource": resource -"/logging:v2beta1/WriteLogEntriesRequest/entries": entries -"/logging:v2beta1/WriteLogEntriesRequest/entries/entry": entry -"/logging:v2beta1/WriteLogEntriesRequest/logName": log_name -"/logging:v2beta1/WriteLogEntriesRequest/partialSuccess": partial_success -"/logging:v2beta1/LogSink": log_sink -"/logging:v2beta1/LogSink/includeChildren": include_children -"/logging:v2beta1/LogSink/destination": destination -"/logging:v2beta1/LogSink/filter": filter -"/logging:v2beta1/LogSink/endTime": end_time -"/logging:v2beta1/LogSink/startTime": start_time -"/logging:v2beta1/LogSink/writerIdentity": writer_identity -"/logging:v2beta1/LogSink/outputVersionFormat": output_version_format -"/logging:v2beta1/LogSink/name": name -"/logging:v2beta1/ListLogsResponse": list_logs_response -"/logging:v2beta1/ListLogsResponse/nextPageToken": next_page_token -"/logging:v2beta1/ListLogsResponse/logNames": log_names -"/logging:v2beta1/ListLogsResponse/logNames/log_name": log_name -"/logging:v2beta1/HttpRequest": http_request -"/logging:v2beta1/HttpRequest/cacheLookup": cache_lookup -"/logging:v2beta1/HttpRequest/cacheHit": cache_hit -"/logging:v2beta1/HttpRequest/cacheValidatedWithOriginServer": cache_validated_with_origin_server -"/logging:v2beta1/HttpRequest/status": status -"/logging:v2beta1/HttpRequest/referer": referer -"/logging:v2beta1/HttpRequest/userAgent": user_agent -"/logging:v2beta1/HttpRequest/latency": latency -"/logging:v2beta1/HttpRequest/cacheFillBytes": cache_fill_bytes -"/logging:v2beta1/HttpRequest/requestMethod": request_method -"/logging:v2beta1/HttpRequest/responseSize": response_size -"/logging:v2beta1/HttpRequest/requestSize": request_size -"/logging:v2beta1/HttpRequest/requestUrl": request_url -"/logging:v2beta1/HttpRequest/serverIp": server_ip -"/logging:v2beta1/HttpRequest/remoteIp": remote_ip "/logging:v2beta1/ListSinksResponse": list_sinks_response +"/logging:v2beta1/ListSinksResponse/nextPageToken": next_page_token "/logging:v2beta1/ListSinksResponse/sinks": sinks "/logging:v2beta1/ListSinksResponse/sinks/sink": sink -"/logging:v2beta1/ListSinksResponse/nextPageToken": next_page_token -"/logging:v2beta1/LabelDescriptor": label_descriptor -"/logging:v2beta1/LabelDescriptor/valueType": value_type -"/logging:v2beta1/LabelDescriptor/key": key -"/logging:v2beta1/LabelDescriptor/description": description -"/logging:v2beta1/MonitoredResourceDescriptor": monitored_resource_descriptor -"/logging:v2beta1/MonitoredResourceDescriptor/description": description -"/logging:v2beta1/MonitoredResourceDescriptor/displayName": display_name -"/logging:v2beta1/MonitoredResourceDescriptor/type": type -"/logging:v2beta1/MonitoredResourceDescriptor/labels": labels -"/logging:v2beta1/MonitoredResourceDescriptor/labels/label": label -"/logging:v2beta1/MonitoredResourceDescriptor/name": name +"/logging:v2beta1/LogEntry": log_entry +"/logging:v2beta1/LogEntry/httpRequest": http_request +"/logging:v2beta1/LogEntry/insertId": insert_id +"/logging:v2beta1/LogEntry/jsonPayload": json_payload +"/logging:v2beta1/LogEntry/jsonPayload/json_payload": json_payload +"/logging:v2beta1/LogEntry/labels": labels +"/logging:v2beta1/LogEntry/labels/label": label +"/logging:v2beta1/LogEntry/logName": log_name +"/logging:v2beta1/LogEntry/operation": operation +"/logging:v2beta1/LogEntry/protoPayload": proto_payload +"/logging:v2beta1/LogEntry/protoPayload/proto_payload": proto_payload +"/logging:v2beta1/LogEntry/receiveTimestamp": receive_timestamp +"/logging:v2beta1/LogEntry/resource": resource +"/logging:v2beta1/LogEntry/severity": severity +"/logging:v2beta1/LogEntry/sourceLocation": source_location +"/logging:v2beta1/LogEntry/textPayload": text_payload +"/logging:v2beta1/LogEntry/timestamp": timestamp +"/logging:v2beta1/LogEntry/trace": trace +"/logging:v2beta1/LogEntryOperation": log_entry_operation +"/logging:v2beta1/LogEntryOperation/first": first +"/logging:v2beta1/LogEntryOperation/id": id +"/logging:v2beta1/LogEntryOperation/last": last +"/logging:v2beta1/LogEntryOperation/producer": producer "/logging:v2beta1/LogEntrySourceLocation": log_entry_source_location "/logging:v2beta1/LogEntrySourceLocation/file": file "/logging:v2beta1/LogEntrySourceLocation/function": function "/logging:v2beta1/LogEntrySourceLocation/line": line -"/logging:v2beta1/ListLogEntriesResponse": list_log_entries_response -"/logging:v2beta1/ListLogEntriesResponse/nextPageToken": next_page_token -"/logging:v2beta1/ListLogEntriesResponse/entries": entries -"/logging:v2beta1/ListLogEntriesResponse/entries/entry": entry "/logging:v2beta1/LogLine": log_line "/logging:v2beta1/LogLine/logMessage": log_message "/logging:v2beta1/LogLine/severity": severity "/logging:v2beta1/LogLine/sourceLocation": source_location "/logging:v2beta1/LogLine/time": time -"/logging:v2beta1/ListLogMetricsResponse": list_log_metrics_response -"/logging:v2beta1/ListLogMetricsResponse/metrics": metrics -"/logging:v2beta1/ListLogMetricsResponse/metrics/metric": metric -"/logging:v2beta1/ListLogMetricsResponse/nextPageToken": next_page_token -"/logging:v2beta1/LogEntry": log_entry -"/logging:v2beta1/LogEntry/timestamp": timestamp -"/logging:v2beta1/LogEntry/receiveTimestamp": receive_timestamp -"/logging:v2beta1/LogEntry/logName": log_name -"/logging:v2beta1/LogEntry/httpRequest": http_request -"/logging:v2beta1/LogEntry/resource": resource -"/logging:v2beta1/LogEntry/jsonPayload": json_payload -"/logging:v2beta1/LogEntry/jsonPayload/json_payload": json_payload -"/logging:v2beta1/LogEntry/operation": operation -"/logging:v2beta1/LogEntry/insertId": insert_id -"/logging:v2beta1/LogEntry/textPayload": text_payload -"/logging:v2beta1/LogEntry/protoPayload": proto_payload -"/logging:v2beta1/LogEntry/protoPayload/proto_payload": proto_payload -"/logging:v2beta1/LogEntry/labels": labels -"/logging:v2beta1/LogEntry/labels/label": label -"/logging:v2beta1/LogEntry/trace": trace -"/logging:v2beta1/LogEntry/severity": severity -"/logging:v2beta1/LogEntry/sourceLocation": source_location -"/logging:v2beta1/Empty": empty +"/logging:v2beta1/LogMetric": log_metric +"/logging:v2beta1/LogMetric/description": description +"/logging:v2beta1/LogMetric/filter": filter +"/logging:v2beta1/LogMetric/name": name +"/logging:v2beta1/LogMetric/version": version +"/logging:v2beta1/LogSink": log_sink +"/logging:v2beta1/LogSink/destination": destination +"/logging:v2beta1/LogSink/endTime": end_time +"/logging:v2beta1/LogSink/filter": filter +"/logging:v2beta1/LogSink/includeChildren": include_children +"/logging:v2beta1/LogSink/name": name +"/logging:v2beta1/LogSink/outputVersionFormat": output_version_format +"/logging:v2beta1/LogSink/startTime": start_time +"/logging:v2beta1/LogSink/writerIdentity": writer_identity +"/logging:v2beta1/MonitoredResource": monitored_resource +"/logging:v2beta1/MonitoredResource/labels": labels +"/logging:v2beta1/MonitoredResource/labels/label": label +"/logging:v2beta1/MonitoredResource/type": type +"/logging:v2beta1/MonitoredResourceDescriptor": monitored_resource_descriptor +"/logging:v2beta1/MonitoredResourceDescriptor/description": description +"/logging:v2beta1/MonitoredResourceDescriptor/displayName": display_name +"/logging:v2beta1/MonitoredResourceDescriptor/labels": labels +"/logging:v2beta1/MonitoredResourceDescriptor/labels/label": label +"/logging:v2beta1/MonitoredResourceDescriptor/name": name +"/logging:v2beta1/MonitoredResourceDescriptor/type": type +"/logging:v2beta1/RequestLog": request_log +"/logging:v2beta1/RequestLog/appEngineRelease": app_engine_release +"/logging:v2beta1/RequestLog/appId": app_id +"/logging:v2beta1/RequestLog/cost": cost +"/logging:v2beta1/RequestLog/endTime": end_time +"/logging:v2beta1/RequestLog/finished": finished +"/logging:v2beta1/RequestLog/first": first +"/logging:v2beta1/RequestLog/host": host +"/logging:v2beta1/RequestLog/httpVersion": http_version +"/logging:v2beta1/RequestLog/instanceId": instance_id +"/logging:v2beta1/RequestLog/instanceIndex": instance_index +"/logging:v2beta1/RequestLog/ip": ip +"/logging:v2beta1/RequestLog/latency": latency +"/logging:v2beta1/RequestLog/line": line +"/logging:v2beta1/RequestLog/line/line": line +"/logging:v2beta1/RequestLog/megaCycles": mega_cycles +"/logging:v2beta1/RequestLog/method": method_prop +"/logging:v2beta1/RequestLog/moduleId": module_id +"/logging:v2beta1/RequestLog/nickname": nickname +"/logging:v2beta1/RequestLog/pendingTime": pending_time +"/logging:v2beta1/RequestLog/referrer": referrer +"/logging:v2beta1/RequestLog/requestId": request_id +"/logging:v2beta1/RequestLog/resource": resource +"/logging:v2beta1/RequestLog/responseSize": response_size +"/logging:v2beta1/RequestLog/sourceReference": source_reference +"/logging:v2beta1/RequestLog/sourceReference/source_reference": source_reference +"/logging:v2beta1/RequestLog/startTime": start_time +"/logging:v2beta1/RequestLog/status": status +"/logging:v2beta1/RequestLog/taskName": task_name +"/logging:v2beta1/RequestLog/taskQueueName": task_queue_name +"/logging:v2beta1/RequestLog/traceId": trace_id +"/logging:v2beta1/RequestLog/urlMapEntry": url_map_entry +"/logging:v2beta1/RequestLog/userAgent": user_agent +"/logging:v2beta1/RequestLog/versionId": version_id +"/logging:v2beta1/RequestLog/wasLoadingRequest": was_loading_request "/logging:v2beta1/SourceLocation": source_location "/logging:v2beta1/SourceLocation/file": file "/logging:v2beta1/SourceLocation/functionName": function_name "/logging:v2beta1/SourceLocation/line": line -"/manufacturers:v1/fields": fields -"/manufacturers:v1/key": key -"/manufacturers:v1/quotaUser": quota_user -"/manufacturers:v1/manufacturers.accounts.products.delete": delete_account_product -"/manufacturers:v1/manufacturers.accounts.products.delete/parent": parent -"/manufacturers:v1/manufacturers.accounts.products.delete/name": name -"/manufacturers:v1/manufacturers.accounts.products.get": get_account_product -"/manufacturers:v1/manufacturers.accounts.products.get/name": name -"/manufacturers:v1/manufacturers.accounts.products.get/parent": parent -"/manufacturers:v1/manufacturers.accounts.products.list": list_account_products -"/manufacturers:v1/manufacturers.accounts.products.list/pageToken": page_token -"/manufacturers:v1/manufacturers.accounts.products.list/pageSize": page_size -"/manufacturers:v1/manufacturers.accounts.products.list/parent": parent -"/manufacturers:v1/manufacturers.accounts.products.update": update_account_product -"/manufacturers:v1/manufacturers.accounts.products.update/parent": parent -"/manufacturers:v1/manufacturers.accounts.products.update/name": name +"/logging:v2beta1/SourceReference": source_reference +"/logging:v2beta1/SourceReference/repository": repository +"/logging:v2beta1/SourceReference/revisionId": revision_id +"/logging:v2beta1/WriteLogEntriesRequest": write_log_entries_request +"/logging:v2beta1/WriteLogEntriesRequest/entries": entries +"/logging:v2beta1/WriteLogEntriesRequest/entries/entry": entry +"/logging:v2beta1/WriteLogEntriesRequest/labels": labels +"/logging:v2beta1/WriteLogEntriesRequest/labels/label": label +"/logging:v2beta1/WriteLogEntriesRequest/logName": log_name +"/logging:v2beta1/WriteLogEntriesRequest/partialSuccess": partial_success +"/logging:v2beta1/WriteLogEntriesRequest/resource": resource +"/logging:v2beta1/WriteLogEntriesResponse": write_log_entries_response +"/logging:v2beta1/fields": fields +"/logging:v2beta1/key": key +"/logging:v2beta1/logging.billingAccounts.logs.delete": delete_billing_account_log +"/logging:v2beta1/logging.billingAccounts.logs.delete/logName": log_name +"/logging:v2beta1/logging.billingAccounts.logs.list": list_billing_account_logs +"/logging:v2beta1/logging.billingAccounts.logs.list/pageSize": page_size +"/logging:v2beta1/logging.billingAccounts.logs.list/pageToken": page_token +"/logging:v2beta1/logging.billingAccounts.logs.list/parent": parent +"/logging:v2beta1/logging.entries.list": list_entry_log_entries +"/logging:v2beta1/logging.entries.write": write_entry_log_entries +"/logging:v2beta1/logging.monitoredResourceDescriptors.list": list_monitored_resource_descriptors +"/logging:v2beta1/logging.monitoredResourceDescriptors.list/pageSize": page_size +"/logging:v2beta1/logging.monitoredResourceDescriptors.list/pageToken": page_token +"/logging:v2beta1/logging.organizations.logs.delete": delete_organization_log +"/logging:v2beta1/logging.organizations.logs.delete/logName": log_name +"/logging:v2beta1/logging.organizations.logs.list": list_organization_logs +"/logging:v2beta1/logging.organizations.logs.list/pageSize": page_size +"/logging:v2beta1/logging.organizations.logs.list/pageToken": page_token +"/logging:v2beta1/logging.organizations.logs.list/parent": parent +"/logging:v2beta1/logging.projects.logServices.indexes.list": list_log_service_indexes +"/logging:v2beta1/logging.projects.logServices.list": list_log_services +"/logging:v2beta1/logging.projects.logServices.sinks.create": create_log_service_sink +"/logging:v2beta1/logging.projects.logServices.sinks.delete": delete_log_service_sink +"/logging:v2beta1/logging.projects.logServices.sinks.get": get_log_service_sink +"/logging:v2beta1/logging.projects.logServices.sinks.list": list_log_service_sinks +"/logging:v2beta1/logging.projects.logServices.sinks.update": update_log_service_sink +"/logging:v2beta1/logging.projects.logs.delete": delete_log +"/logging:v2beta1/logging.projects.logs.delete/logName": log_name +"/logging:v2beta1/logging.projects.logs.entries.write": write_log_entries +"/logging:v2beta1/logging.projects.logs.list": list_logs +"/logging:v2beta1/logging.projects.logs.list/pageSize": page_size +"/logging:v2beta1/logging.projects.logs.list/pageToken": page_token +"/logging:v2beta1/logging.projects.logs.list/parent": parent +"/logging:v2beta1/logging.projects.logs.sinks.create": create_log_sink +"/logging:v2beta1/logging.projects.logs.sinks.delete": delete_log_sink +"/logging:v2beta1/logging.projects.logs.sinks.get": get_log_sink +"/logging:v2beta1/logging.projects.logs.sinks.list": list_log_sinks +"/logging:v2beta1/logging.projects.logs.sinks.update": update_log_sink +"/logging:v2beta1/logging.projects.metrics.create": create_project_metric +"/logging:v2beta1/logging.projects.metrics.create/parent": parent +"/logging:v2beta1/logging.projects.metrics.delete": delete_project_metric +"/logging:v2beta1/logging.projects.metrics.delete/metricName": metric_name +"/logging:v2beta1/logging.projects.metrics.get": get_project_metric +"/logging:v2beta1/logging.projects.metrics.get/metricName": metric_name +"/logging:v2beta1/logging.projects.metrics.list": list_project_metrics +"/logging:v2beta1/logging.projects.metrics.list/pageSize": page_size +"/logging:v2beta1/logging.projects.metrics.list/pageToken": page_token +"/logging:v2beta1/logging.projects.metrics.list/parent": parent +"/logging:v2beta1/logging.projects.metrics.update": update_project_metric +"/logging:v2beta1/logging.projects.metrics.update/metricName": metric_name +"/logging:v2beta1/logging.projects.sinks.create": create_project_sink +"/logging:v2beta1/logging.projects.sinks.create/parent": parent +"/logging:v2beta1/logging.projects.sinks.create/uniqueWriterIdentity": unique_writer_identity +"/logging:v2beta1/logging.projects.sinks.delete": delete_project_sink +"/logging:v2beta1/logging.projects.sinks.delete/sinkName": sink_name +"/logging:v2beta1/logging.projects.sinks.get": get_project_sink +"/logging:v2beta1/logging.projects.sinks.get/sinkName": sink_name +"/logging:v2beta1/logging.projects.sinks.list": list_project_sinks +"/logging:v2beta1/logging.projects.sinks.list/pageSize": page_size +"/logging:v2beta1/logging.projects.sinks.list/pageToken": page_token +"/logging:v2beta1/logging.projects.sinks.list/parent": parent +"/logging:v2beta1/logging.projects.sinks.update": update_project_sink +"/logging:v2beta1/logging.projects.sinks.update/sinkName": sink_name +"/logging:v2beta1/logging.projects.sinks.update/uniqueWriterIdentity": unique_writer_identity +"/logging:v2beta1/quotaUser": quota_user +"/manager:v1beta2/DeploymentsListResponse": list_deployments_response +"/manager:v1beta2/TemplatesListResponse": list_templates_response +"/manufacturers:v1/Attributes": attributes +"/manufacturers:v1/Attributes/additionalImageLink": additional_image_link +"/manufacturers:v1/Attributes/additionalImageLink/additional_image_link": additional_image_link +"/manufacturers:v1/Attributes/ageGroup": age_group +"/manufacturers:v1/Attributes/brand": brand +"/manufacturers:v1/Attributes/capacity": capacity +"/manufacturers:v1/Attributes/color": color +"/manufacturers:v1/Attributes/count": count +"/manufacturers:v1/Attributes/description": description +"/manufacturers:v1/Attributes/disclosureDate": disclosure_date +"/manufacturers:v1/Attributes/featureDescription": feature_description +"/manufacturers:v1/Attributes/featureDescription/feature_description": feature_description +"/manufacturers:v1/Attributes/flavor": flavor +"/manufacturers:v1/Attributes/format": format +"/manufacturers:v1/Attributes/gender": gender +"/manufacturers:v1/Attributes/gtin": gtin +"/manufacturers:v1/Attributes/gtin/gtin": gtin +"/manufacturers:v1/Attributes/imageLink": image_link +"/manufacturers:v1/Attributes/itemGroupId": item_group_id +"/manufacturers:v1/Attributes/material": material +"/manufacturers:v1/Attributes/mpn": mpn +"/manufacturers:v1/Attributes/pattern": pattern +"/manufacturers:v1/Attributes/productDetail": product_detail +"/manufacturers:v1/Attributes/productDetail/product_detail": product_detail +"/manufacturers:v1/Attributes/productLine": product_line +"/manufacturers:v1/Attributes/productName": product_name +"/manufacturers:v1/Attributes/productPageUrl": product_page_url +"/manufacturers:v1/Attributes/productType": product_type +"/manufacturers:v1/Attributes/productType/product_type": product_type +"/manufacturers:v1/Attributes/releaseDate": release_date +"/manufacturers:v1/Attributes/scent": scent +"/manufacturers:v1/Attributes/size": size +"/manufacturers:v1/Attributes/sizeSystem": size_system +"/manufacturers:v1/Attributes/sizeType": size_type +"/manufacturers:v1/Attributes/suggestedRetailPrice": suggested_retail_price +"/manufacturers:v1/Attributes/targetAccountId": target_account_id +"/manufacturers:v1/Attributes/theme": theme +"/manufacturers:v1/Attributes/title": title +"/manufacturers:v1/Attributes/videoLink": video_link +"/manufacturers:v1/Attributes/videoLink/video_link": video_link "/manufacturers:v1/Capacity": capacity "/manufacturers:v1/Capacity/unit": unit "/manufacturers:v1/Capacity/value": value +"/manufacturers:v1/Count": count +"/manufacturers:v1/Count/unit": unit +"/manufacturers:v1/Count/value": value +"/manufacturers:v1/Empty": empty +"/manufacturers:v1/FeatureDescription": feature_description +"/manufacturers:v1/FeatureDescription/headline": headline +"/manufacturers:v1/FeatureDescription/image": image +"/manufacturers:v1/FeatureDescription/text": text +"/manufacturers:v1/Image": image +"/manufacturers:v1/Image/imageUrl": image_url +"/manufacturers:v1/Image/status": status +"/manufacturers:v1/Image/type": type +"/manufacturers:v1/Issue": issue +"/manufacturers:v1/Issue/attribute": attribute +"/manufacturers:v1/Issue/description": description +"/manufacturers:v1/Issue/severity": severity +"/manufacturers:v1/Issue/timestamp": timestamp +"/manufacturers:v1/Issue/type": type "/manufacturers:v1/ListProductsResponse": list_products_response "/manufacturers:v1/ListProductsResponse/nextPageToken": next_page_token "/manufacturers:v1/ListProductsResponse/products": products "/manufacturers:v1/ListProductsResponse/products/product": product -"/manufacturers:v1/ProductDetail": product_detail -"/manufacturers:v1/ProductDetail/sectionName": section_name -"/manufacturers:v1/ProductDetail/attributeName": attribute_name -"/manufacturers:v1/ProductDetail/attributeValue": attribute_value -"/manufacturers:v1/FeatureDescription": feature_description -"/manufacturers:v1/FeatureDescription/image": image -"/manufacturers:v1/FeatureDescription/headline": headline -"/manufacturers:v1/FeatureDescription/text": text -"/manufacturers:v1/Issue": issue -"/manufacturers:v1/Issue/type": type -"/manufacturers:v1/Issue/attribute": attribute -"/manufacturers:v1/Issue/timestamp": timestamp -"/manufacturers:v1/Issue/severity": severity -"/manufacturers:v1/Issue/description": description -"/manufacturers:v1/Empty": empty "/manufacturers:v1/Price": price "/manufacturers:v1/Price/amount": amount "/manufacturers:v1/Price/currency": currency -"/manufacturers:v1/Image": image -"/manufacturers:v1/Image/status": status -"/manufacturers:v1/Image/type": type -"/manufacturers:v1/Image/imageUrl": image_url -"/manufacturers:v1/Attributes": attributes -"/manufacturers:v1/Attributes/color": color -"/manufacturers:v1/Attributes/productName": product_name -"/manufacturers:v1/Attributes/sizeType": size_type -"/manufacturers:v1/Attributes/suggestedRetailPrice": suggested_retail_price -"/manufacturers:v1/Attributes/featureDescription": feature_description -"/manufacturers:v1/Attributes/featureDescription/feature_description": feature_description -"/manufacturers:v1/Attributes/size": size -"/manufacturers:v1/Attributes/title": title -"/manufacturers:v1/Attributes/count": count -"/manufacturers:v1/Attributes/brand": brand -"/manufacturers:v1/Attributes/disclosureDate": disclosure_date -"/manufacturers:v1/Attributes/material": material -"/manufacturers:v1/Attributes/scent": scent -"/manufacturers:v1/Attributes/flavor": flavor -"/manufacturers:v1/Attributes/productDetail": product_detail -"/manufacturers:v1/Attributes/productDetail/product_detail": product_detail -"/manufacturers:v1/Attributes/ageGroup": age_group -"/manufacturers:v1/Attributes/mpn": mpn -"/manufacturers:v1/Attributes/productPageUrl": product_page_url -"/manufacturers:v1/Attributes/releaseDate": release_date -"/manufacturers:v1/Attributes/itemGroupId": item_group_id -"/manufacturers:v1/Attributes/gtin": gtin -"/manufacturers:v1/Attributes/gtin/gtin": gtin -"/manufacturers:v1/Attributes/productLine": product_line -"/manufacturers:v1/Attributes/capacity": capacity -"/manufacturers:v1/Attributes/description": description -"/manufacturers:v1/Attributes/gender": gender -"/manufacturers:v1/Attributes/sizeSystem": size_system -"/manufacturers:v1/Attributes/theme": theme -"/manufacturers:v1/Attributes/pattern": pattern -"/manufacturers:v1/Attributes/imageLink": image_link -"/manufacturers:v1/Attributes/productType": product_type -"/manufacturers:v1/Attributes/productType/product_type": product_type -"/manufacturers:v1/Attributes/format": format -"/manufacturers:v1/Attributes/additionalImageLink": additional_image_link -"/manufacturers:v1/Attributes/additionalImageLink/additional_image_link": additional_image_link -"/manufacturers:v1/Attributes/videoLink": video_link -"/manufacturers:v1/Attributes/videoLink/video_link": video_link -"/manufacturers:v1/Count": count -"/manufacturers:v1/Count/unit": unit -"/manufacturers:v1/Count/value": value "/manufacturers:v1/Product": product -"/manufacturers:v1/Product/finalAttributes": final_attributes -"/manufacturers:v1/Product/productId": product_id -"/manufacturers:v1/Product/uploadedAttributes": uploaded_attributes -"/manufacturers:v1/Product/parent": parent -"/manufacturers:v1/Product/manuallyProvidedAttributes": manually_provided_attributes -"/manufacturers:v1/Product/targetCountry": target_country "/manufacturers:v1/Product/contentLanguage": content_language -"/manufacturers:v1/Product/name": name +"/manufacturers:v1/Product/finalAttributes": final_attributes "/manufacturers:v1/Product/issues": issues "/manufacturers:v1/Product/issues/issue": issue "/manufacturers:v1/Product/manuallyDeletedAttributes": manually_deleted_attributes "/manufacturers:v1/Product/manuallyDeletedAttributes/manually_deleted_attribute": manually_deleted_attribute -"/mirror:v1/fields": fields -"/mirror:v1/key": key -"/mirror:v1/quotaUser": quota_user -"/mirror:v1/userIp": user_ip -"/mirror:v1/mirror.accounts.insert": insert_account -"/mirror:v1/mirror.accounts.insert/accountName": account_name -"/mirror:v1/mirror.accounts.insert/accountType": account_type -"/mirror:v1/mirror.accounts.insert/userToken": user_token -"/mirror:v1/mirror.contacts.delete": delete_contact -"/mirror:v1/mirror.contacts.delete/id": id -"/mirror:v1/mirror.contacts.get": get_contact -"/mirror:v1/mirror.contacts.get/id": id -"/mirror:v1/mirror.contacts.insert": insert_contact -"/mirror:v1/mirror.contacts.list": list_contacts -"/mirror:v1/mirror.contacts.patch": patch_contact -"/mirror:v1/mirror.contacts.patch/id": id -"/mirror:v1/mirror.contacts.update": update_contact -"/mirror:v1/mirror.contacts.update/id": id -"/mirror:v1/mirror.locations.get": get_location -"/mirror:v1/mirror.locations.get/id": id -"/mirror:v1/mirror.locations.list": list_locations -"/mirror:v1/mirror.settings.get": get_setting -"/mirror:v1/mirror.settings.get/id": id -"/mirror:v1/mirror.subscriptions.delete": delete_subscription -"/mirror:v1/mirror.subscriptions.delete/id": id -"/mirror:v1/mirror.subscriptions.insert": insert_subscription -"/mirror:v1/mirror.subscriptions.list": list_subscriptions -"/mirror:v1/mirror.subscriptions.update": update_subscription -"/mirror:v1/mirror.subscriptions.update/id": id -"/mirror:v1/mirror.timeline.delete": delete_timeline -"/mirror:v1/mirror.timeline.delete/id": id -"/mirror:v1/mirror.timeline.get": get_timeline -"/mirror:v1/mirror.timeline.get/id": id -"/mirror:v1/mirror.timeline.insert": insert_timeline -"/mirror:v1/mirror.timeline.list": list_timelines -"/mirror:v1/mirror.timeline.list/bundleId": bundle_id -"/mirror:v1/mirror.timeline.list/includeDeleted": include_deleted -"/mirror:v1/mirror.timeline.list/maxResults": max_results -"/mirror:v1/mirror.timeline.list/orderBy": order_by -"/mirror:v1/mirror.timeline.list/pageToken": page_token -"/mirror:v1/mirror.timeline.list/pinnedOnly": pinned_only -"/mirror:v1/mirror.timeline.list/sourceItemId": source_item_id -"/mirror:v1/mirror.timeline.patch": patch_timeline -"/mirror:v1/mirror.timeline.patch/id": id -"/mirror:v1/mirror.timeline.update": update_timeline -"/mirror:v1/mirror.timeline.update/id": id -"/mirror:v1/mirror.timeline.attachments.delete": delete_timeline_attachment -"/mirror:v1/mirror.timeline.attachments.delete/attachmentId": attachment_id -"/mirror:v1/mirror.timeline.attachments.delete/itemId": item_id -"/mirror:v1/mirror.timeline.attachments.get": get_timeline_attachment -"/mirror:v1/mirror.timeline.attachments.get/attachmentId": attachment_id -"/mirror:v1/mirror.timeline.attachments.get/itemId": item_id -"/mirror:v1/mirror.timeline.attachments.insert": insert_timeline_attachment -"/mirror:v1/mirror.timeline.attachments.insert/itemId": item_id -"/mirror:v1/mirror.timeline.attachments.list": list_timeline_attachments -"/mirror:v1/mirror.timeline.attachments.list/itemId": item_id +"/manufacturers:v1/Product/manuallyProvidedAttributes": manually_provided_attributes +"/manufacturers:v1/Product/name": name +"/manufacturers:v1/Product/parent": parent +"/manufacturers:v1/Product/productId": product_id +"/manufacturers:v1/Product/targetCountry": target_country +"/manufacturers:v1/Product/uploadedAttributes": uploaded_attributes +"/manufacturers:v1/ProductDetail": product_detail +"/manufacturers:v1/ProductDetail/attributeName": attribute_name +"/manufacturers:v1/ProductDetail/attributeValue": attribute_value +"/manufacturers:v1/ProductDetail/sectionName": section_name +"/manufacturers:v1/fields": fields +"/manufacturers:v1/key": key +"/manufacturers:v1/manufacturers.accounts.products.delete": delete_account_product +"/manufacturers:v1/manufacturers.accounts.products.delete/name": name +"/manufacturers:v1/manufacturers.accounts.products.delete/parent": parent +"/manufacturers:v1/manufacturers.accounts.products.get": get_account_product +"/manufacturers:v1/manufacturers.accounts.products.get/name": name +"/manufacturers:v1/manufacturers.accounts.products.get/parent": parent +"/manufacturers:v1/manufacturers.accounts.products.list": list_account_products +"/manufacturers:v1/manufacturers.accounts.products.list/pageSize": page_size +"/manufacturers:v1/manufacturers.accounts.products.list/pageToken": page_token +"/manufacturers:v1/manufacturers.accounts.products.list/parent": parent +"/manufacturers:v1/manufacturers.accounts.products.update": update_account_product +"/manufacturers:v1/manufacturers.accounts.products.update/name": name +"/manufacturers:v1/manufacturers.accounts.products.update/parent": parent +"/manufacturers:v1/quotaUser": quota_user "/mirror:v1/Account": account "/mirror:v1/Account/authTokens": auth_tokens "/mirror:v1/Account/authTokens/auth_token": auth_token @@ -31949,6 +32671,7 @@ "/mirror:v1/Attachment/contentUrl": content_url "/mirror:v1/Attachment/id": id "/mirror:v1/Attachment/isProcessingContent": is_processing_content +"/mirror:v1/AttachmentsListResponse": list_attachments_response "/mirror:v1/AttachmentsListResponse/items": items "/mirror:v1/AttachmentsListResponse/items/item": item "/mirror:v1/AttachmentsListResponse/kind": kind @@ -31974,6 +32697,7 @@ "/mirror:v1/Contact/source": source "/mirror:v1/Contact/speakableName": speakable_name "/mirror:v1/Contact/type": type +"/mirror:v1/ContactsListResponse": list_contacts_response "/mirror:v1/ContactsListResponse/items": items "/mirror:v1/ContactsListResponse/items/item": item "/mirror:v1/ContactsListResponse/kind": kind @@ -31986,6 +32710,7 @@ "/mirror:v1/Location/latitude": latitude "/mirror:v1/Location/longitude": longitude "/mirror:v1/Location/timestamp": timestamp +"/mirror:v1/LocationsListResponse": list_locations_response "/mirror:v1/LocationsListResponse/items": items "/mirror:v1/LocationsListResponse/items/item": item "/mirror:v1/LocationsListResponse/kind": kind @@ -32027,6 +32752,7 @@ "/mirror:v1/Subscription/updated": updated "/mirror:v1/Subscription/userToken": user_token "/mirror:v1/Subscription/verifyToken": verify_token +"/mirror:v1/SubscriptionsListResponse": list_subscriptions_response "/mirror:v1/SubscriptionsListResponse/items": items "/mirror:v1/SubscriptionsListResponse/items/item": item "/mirror:v1/SubscriptionsListResponse/kind": kind @@ -32060,6 +32786,7 @@ "/mirror:v1/TimelineItem/text": text "/mirror:v1/TimelineItem/title": title "/mirror:v1/TimelineItem/updated": updated +"/mirror:v1/TimelineListResponse": list_timeline_response "/mirror:v1/TimelineListResponse/items": items "/mirror:v1/TimelineListResponse/items/item": item "/mirror:v1/TimelineListResponse/kind": kind @@ -32070,289 +32797,255 @@ "/mirror:v1/UserData": user_data "/mirror:v1/UserData/key": key "/mirror:v1/UserData/value": value -"/ml:v1/fields": fields -"/ml:v1/key": key -"/ml:v1/quotaUser": quota_user -"/ml:v1/ml.projects.getConfig": get_project_config -"/ml:v1/ml.projects.getConfig/name": name -"/ml:v1/ml.projects.predict": predict_project -"/ml:v1/ml.projects.predict/name": name -"/ml:v1/ml.projects.models.list": list_project_models -"/ml:v1/ml.projects.models.list/pageToken": page_token -"/ml:v1/ml.projects.models.list/pageSize": page_size -"/ml:v1/ml.projects.models.list/parent": parent -"/ml:v1/ml.projects.models.setIamPolicy": set_project_model_iam_policy -"/ml:v1/ml.projects.models.setIamPolicy/resource": resource -"/ml:v1/ml.projects.models.create": create_project_model -"/ml:v1/ml.projects.models.create/parent": parent -"/ml:v1/ml.projects.models.getIamPolicy": get_project_model_iam_policy -"/ml:v1/ml.projects.models.getIamPolicy/resource": resource -"/ml:v1/ml.projects.models.get": get_project_model -"/ml:v1/ml.projects.models.get/name": name -"/ml:v1/ml.projects.models.testIamPermissions": test_project_model_iam_permissions -"/ml:v1/ml.projects.models.testIamPermissions/resource": resource -"/ml:v1/ml.projects.models.delete": delete_project_model -"/ml:v1/ml.projects.models.delete/name": name -"/ml:v1/ml.projects.models.versions.create": create_project_model_version -"/ml:v1/ml.projects.models.versions.create/parent": parent -"/ml:v1/ml.projects.models.versions.setDefault": set_project_model_version_default -"/ml:v1/ml.projects.models.versions.setDefault/name": name -"/ml:v1/ml.projects.models.versions.delete": delete_project_model_version -"/ml:v1/ml.projects.models.versions.delete/name": name -"/ml:v1/ml.projects.models.versions.get": get_project_model_version -"/ml:v1/ml.projects.models.versions.get/name": name -"/ml:v1/ml.projects.models.versions.list": list_project_model_versions -"/ml:v1/ml.projects.models.versions.list/pageSize": page_size -"/ml:v1/ml.projects.models.versions.list/parent": parent -"/ml:v1/ml.projects.models.versions.list/pageToken": page_token -"/ml:v1/ml.projects.operations.get": get_project_operation -"/ml:v1/ml.projects.operations.get/name": name -"/ml:v1/ml.projects.operations.list": list_project_operations -"/ml:v1/ml.projects.operations.list/pageSize": page_size -"/ml:v1/ml.projects.operations.list/filter": filter -"/ml:v1/ml.projects.operations.list/pageToken": page_token -"/ml:v1/ml.projects.operations.list/name": name -"/ml:v1/ml.projects.operations.cancel": cancel_project_operation -"/ml:v1/ml.projects.operations.cancel/name": name -"/ml:v1/ml.projects.operations.delete": delete_project_operation -"/ml:v1/ml.projects.operations.delete/name": name -"/ml:v1/ml.projects.jobs.create": create_project_job -"/ml:v1/ml.projects.jobs.create/parent": parent -"/ml:v1/ml.projects.jobs.cancel": cancel_project_job -"/ml:v1/ml.projects.jobs.cancel/name": name -"/ml:v1/ml.projects.jobs.get": get_project_job -"/ml:v1/ml.projects.jobs.get/name": name -"/ml:v1/ml.projects.jobs.list": list_project_jobs -"/ml:v1/ml.projects.jobs.list/pageToken": page_token -"/ml:v1/ml.projects.jobs.list/pageSize": page_size -"/ml:v1/ml.projects.jobs.list/parent": parent -"/ml:v1/ml.projects.jobs.list/filter": filter +"/mirror:v1/fields": fields +"/mirror:v1/key": key +"/mirror:v1/mirror.accounts.insert": insert_account +"/mirror:v1/mirror.accounts.insert/accountName": account_name +"/mirror:v1/mirror.accounts.insert/accountType": account_type +"/mirror:v1/mirror.accounts.insert/userToken": user_token +"/mirror:v1/mirror.contacts.delete": delete_contact +"/mirror:v1/mirror.contacts.delete/id": id +"/mirror:v1/mirror.contacts.get": get_contact +"/mirror:v1/mirror.contacts.get/id": id +"/mirror:v1/mirror.contacts.insert": insert_contact +"/mirror:v1/mirror.contacts.list": list_contacts +"/mirror:v1/mirror.contacts.patch": patch_contact +"/mirror:v1/mirror.contacts.patch/id": id +"/mirror:v1/mirror.contacts.update": update_contact +"/mirror:v1/mirror.contacts.update/id": id +"/mirror:v1/mirror.locations.get": get_location +"/mirror:v1/mirror.locations.get/id": id +"/mirror:v1/mirror.locations.list": list_locations +"/mirror:v1/mirror.settings.get": get_setting +"/mirror:v1/mirror.settings.get/id": id +"/mirror:v1/mirror.subscriptions.delete": delete_subscription +"/mirror:v1/mirror.subscriptions.delete/id": id +"/mirror:v1/mirror.subscriptions.insert": insert_subscription +"/mirror:v1/mirror.subscriptions.list": list_subscriptions +"/mirror:v1/mirror.subscriptions.update": update_subscription +"/mirror:v1/mirror.subscriptions.update/id": id +"/mirror:v1/mirror.timeline.attachments.delete": delete_timeline_attachment +"/mirror:v1/mirror.timeline.attachments.delete/attachmentId": attachment_id +"/mirror:v1/mirror.timeline.attachments.delete/itemId": item_id +"/mirror:v1/mirror.timeline.attachments.get": get_timeline_attachment +"/mirror:v1/mirror.timeline.attachments.get/attachmentId": attachment_id +"/mirror:v1/mirror.timeline.attachments.get/itemId": item_id +"/mirror:v1/mirror.timeline.attachments.insert": insert_timeline_attachment +"/mirror:v1/mirror.timeline.attachments.insert/itemId": item_id +"/mirror:v1/mirror.timeline.attachments.list": list_timeline_attachments +"/mirror:v1/mirror.timeline.attachments.list/itemId": item_id +"/mirror:v1/mirror.timeline.delete": delete_timeline +"/mirror:v1/mirror.timeline.delete/id": id +"/mirror:v1/mirror.timeline.get": get_timeline +"/mirror:v1/mirror.timeline.get/id": id +"/mirror:v1/mirror.timeline.insert": insert_timeline +"/mirror:v1/mirror.timeline.list": list_timelines +"/mirror:v1/mirror.timeline.list/bundleId": bundle_id +"/mirror:v1/mirror.timeline.list/includeDeleted": include_deleted +"/mirror:v1/mirror.timeline.list/maxResults": max_results +"/mirror:v1/mirror.timeline.list/orderBy": order_by +"/mirror:v1/mirror.timeline.list/pageToken": page_token +"/mirror:v1/mirror.timeline.list/pinnedOnly": pinned_only +"/mirror:v1/mirror.timeline.list/sourceItemId": source_item_id +"/mirror:v1/mirror.timeline.patch": patch_timeline +"/mirror:v1/mirror.timeline.patch/id": id +"/mirror:v1/mirror.timeline.update": update_timeline +"/mirror:v1/mirror.timeline.update/id": id +"/mirror:v1/quotaUser": quota_user +"/mirror:v1/userIp": user_ip +"/ml:v1/GoogleApi__HttpBody": google_api__http_body +"/ml:v1/GoogleApi__HttpBody/contentType": content_type +"/ml:v1/GoogleApi__HttpBody/data": data +"/ml:v1/GoogleApi__HttpBody/extensions": extensions +"/ml:v1/GoogleApi__HttpBody/extensions/extension": extension +"/ml:v1/GoogleApi__HttpBody/extensions/extension/extension": extension +"/ml:v1/GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric": google_cloud_ml_v1_hyperparameter_output_hyperparameter_metric +"/ml:v1/GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric/objectiveValue": objective_value +"/ml:v1/GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric/trainingStep": training_step +"/ml:v1/GoogleCloudMlV1__AutoScaling": google_cloud_ml_v1__auto_scaling +"/ml:v1/GoogleCloudMlV1__AutoScaling/minNodes": min_nodes +"/ml:v1/GoogleCloudMlV1__CancelJobRequest": google_cloud_ml_v1__cancel_job_request +"/ml:v1/GoogleCloudMlV1__GetConfigResponse": google_cloud_ml_v1__get_config_response +"/ml:v1/GoogleCloudMlV1__GetConfigResponse/serviceAccount": service_account +"/ml:v1/GoogleCloudMlV1__GetConfigResponse/serviceAccountProject": service_account_project +"/ml:v1/GoogleCloudMlV1__HyperparameterOutput": google_cloud_ml_v1__hyperparameter_output +"/ml:v1/GoogleCloudMlV1__HyperparameterOutput/allMetrics": all_metrics +"/ml:v1/GoogleCloudMlV1__HyperparameterOutput/allMetrics/all_metric": all_metric +"/ml:v1/GoogleCloudMlV1__HyperparameterOutput/finalMetric": final_metric +"/ml:v1/GoogleCloudMlV1__HyperparameterOutput/hyperparameters": hyperparameters +"/ml:v1/GoogleCloudMlV1__HyperparameterOutput/hyperparameters/hyperparameter": hyperparameter +"/ml:v1/GoogleCloudMlV1__HyperparameterOutput/trialId": trial_id +"/ml:v1/GoogleCloudMlV1__HyperparameterSpec": google_cloud_ml_v1__hyperparameter_spec +"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/goal": goal +"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/hyperparameterMetricTag": hyperparameter_metric_tag +"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/maxParallelTrials": max_parallel_trials +"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/maxTrials": max_trials +"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/params": params +"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/params/param": param +"/ml:v1/GoogleCloudMlV1__Job": google_cloud_ml_v1__job +"/ml:v1/GoogleCloudMlV1__Job/createTime": create_time +"/ml:v1/GoogleCloudMlV1__Job/endTime": end_time +"/ml:v1/GoogleCloudMlV1__Job/errorMessage": error_message +"/ml:v1/GoogleCloudMlV1__Job/jobId": job_id +"/ml:v1/GoogleCloudMlV1__Job/predictionInput": prediction_input +"/ml:v1/GoogleCloudMlV1__Job/predictionOutput": prediction_output +"/ml:v1/GoogleCloudMlV1__Job/startTime": start_time +"/ml:v1/GoogleCloudMlV1__Job/state": state +"/ml:v1/GoogleCloudMlV1__Job/trainingInput": training_input +"/ml:v1/GoogleCloudMlV1__Job/trainingOutput": training_output +"/ml:v1/GoogleCloudMlV1__ListJobsResponse": google_cloud_ml_v1__list_jobs_response +"/ml:v1/GoogleCloudMlV1__ListJobsResponse/jobs": jobs +"/ml:v1/GoogleCloudMlV1__ListJobsResponse/jobs/job": job +"/ml:v1/GoogleCloudMlV1__ListJobsResponse/nextPageToken": next_page_token +"/ml:v1/GoogleCloudMlV1__ListModelsResponse": google_cloud_ml_v1__list_models_response +"/ml:v1/GoogleCloudMlV1__ListModelsResponse/models": models +"/ml:v1/GoogleCloudMlV1__ListModelsResponse/models/model": model +"/ml:v1/GoogleCloudMlV1__ListModelsResponse/nextPageToken": next_page_token +"/ml:v1/GoogleCloudMlV1__ListVersionsResponse": google_cloud_ml_v1__list_versions_response +"/ml:v1/GoogleCloudMlV1__ListVersionsResponse/nextPageToken": next_page_token +"/ml:v1/GoogleCloudMlV1__ListVersionsResponse/versions": versions +"/ml:v1/GoogleCloudMlV1__ListVersionsResponse/versions/version": version "/ml:v1/GoogleCloudMlV1__ManualScaling": google_cloud_ml_v1__manual_scaling "/ml:v1/GoogleCloudMlV1__ManualScaling/nodes": nodes +"/ml:v1/GoogleCloudMlV1__Model": google_cloud_ml_v1__model +"/ml:v1/GoogleCloudMlV1__Model/defaultVersion": default_version +"/ml:v1/GoogleCloudMlV1__Model/description": description +"/ml:v1/GoogleCloudMlV1__Model/name": name +"/ml:v1/GoogleCloudMlV1__Model/onlinePredictionLogging": online_prediction_logging +"/ml:v1/GoogleCloudMlV1__Model/regions": regions +"/ml:v1/GoogleCloudMlV1__Model/regions/region": region +"/ml:v1/GoogleCloudMlV1__OperationMetadata": google_cloud_ml_v1__operation_metadata +"/ml:v1/GoogleCloudMlV1__OperationMetadata/createTime": create_time +"/ml:v1/GoogleCloudMlV1__OperationMetadata/endTime": end_time +"/ml:v1/GoogleCloudMlV1__OperationMetadata/isCancellationRequested": is_cancellation_requested +"/ml:v1/GoogleCloudMlV1__OperationMetadata/modelName": model_name +"/ml:v1/GoogleCloudMlV1__OperationMetadata/operationType": operation_type +"/ml:v1/GoogleCloudMlV1__OperationMetadata/startTime": start_time +"/ml:v1/GoogleCloudMlV1__OperationMetadata/version": version +"/ml:v1/GoogleCloudMlV1__ParameterSpec": google_cloud_ml_v1__parameter_spec +"/ml:v1/GoogleCloudMlV1__ParameterSpec/categoricalValues": categorical_values +"/ml:v1/GoogleCloudMlV1__ParameterSpec/categoricalValues/categorical_value": categorical_value +"/ml:v1/GoogleCloudMlV1__ParameterSpec/discreteValues": discrete_values +"/ml:v1/GoogleCloudMlV1__ParameterSpec/discreteValues/discrete_value": discrete_value +"/ml:v1/GoogleCloudMlV1__ParameterSpec/maxValue": max_value +"/ml:v1/GoogleCloudMlV1__ParameterSpec/minValue": min_value +"/ml:v1/GoogleCloudMlV1__ParameterSpec/parameterName": parameter_name +"/ml:v1/GoogleCloudMlV1__ParameterSpec/scaleType": scale_type +"/ml:v1/GoogleCloudMlV1__ParameterSpec/type": type +"/ml:v1/GoogleCloudMlV1__PredictRequest": google_cloud_ml_v1__predict_request +"/ml:v1/GoogleCloudMlV1__PredictRequest/httpBody": http_body +"/ml:v1/GoogleCloudMlV1__PredictionInput": google_cloud_ml_v1__prediction_input +"/ml:v1/GoogleCloudMlV1__PredictionInput/batchSize": batch_size +"/ml:v1/GoogleCloudMlV1__PredictionInput/dataFormat": data_format +"/ml:v1/GoogleCloudMlV1__PredictionInput/inputPaths": input_paths +"/ml:v1/GoogleCloudMlV1__PredictionInput/inputPaths/input_path": input_path +"/ml:v1/GoogleCloudMlV1__PredictionInput/maxWorkerCount": max_worker_count +"/ml:v1/GoogleCloudMlV1__PredictionInput/modelName": model_name +"/ml:v1/GoogleCloudMlV1__PredictionInput/outputPath": output_path +"/ml:v1/GoogleCloudMlV1__PredictionInput/region": region +"/ml:v1/GoogleCloudMlV1__PredictionInput/runtimeVersion": runtime_version +"/ml:v1/GoogleCloudMlV1__PredictionInput/uri": uri +"/ml:v1/GoogleCloudMlV1__PredictionInput/versionName": version_name +"/ml:v1/GoogleCloudMlV1__PredictionOutput": google_cloud_ml_v1__prediction_output +"/ml:v1/GoogleCloudMlV1__PredictionOutput/errorCount": error_count +"/ml:v1/GoogleCloudMlV1__PredictionOutput/nodeHours": node_hours +"/ml:v1/GoogleCloudMlV1__PredictionOutput/outputPath": output_path +"/ml:v1/GoogleCloudMlV1__PredictionOutput/predictionCount": prediction_count +"/ml:v1/GoogleCloudMlV1__SetDefaultVersionRequest": google_cloud_ml_v1__set_default_version_request +"/ml:v1/GoogleCloudMlV1__TrainingInput": google_cloud_ml_v1__training_input +"/ml:v1/GoogleCloudMlV1__TrainingInput/args": args +"/ml:v1/GoogleCloudMlV1__TrainingInput/args/arg": arg +"/ml:v1/GoogleCloudMlV1__TrainingInput/hyperparameters": hyperparameters +"/ml:v1/GoogleCloudMlV1__TrainingInput/jobDir": job_dir +"/ml:v1/GoogleCloudMlV1__TrainingInput/masterType": master_type +"/ml:v1/GoogleCloudMlV1__TrainingInput/packageUris": package_uris +"/ml:v1/GoogleCloudMlV1__TrainingInput/packageUris/package_uri": package_uri +"/ml:v1/GoogleCloudMlV1__TrainingInput/parameterServerCount": parameter_server_count +"/ml:v1/GoogleCloudMlV1__TrainingInput/parameterServerType": parameter_server_type +"/ml:v1/GoogleCloudMlV1__TrainingInput/pythonModule": python_module +"/ml:v1/GoogleCloudMlV1__TrainingInput/region": region +"/ml:v1/GoogleCloudMlV1__TrainingInput/runtimeVersion": runtime_version +"/ml:v1/GoogleCloudMlV1__TrainingInput/scaleTier": scale_tier +"/ml:v1/GoogleCloudMlV1__TrainingInput/workerCount": worker_count +"/ml:v1/GoogleCloudMlV1__TrainingInput/workerType": worker_type +"/ml:v1/GoogleCloudMlV1__TrainingOutput": google_cloud_ml_v1__training_output +"/ml:v1/GoogleCloudMlV1__TrainingOutput/completedTrialCount": completed_trial_count +"/ml:v1/GoogleCloudMlV1__TrainingOutput/consumedMLUnits": consumed_ml_units +"/ml:v1/GoogleCloudMlV1__TrainingOutput/isHyperparameterTuningJob": is_hyperparameter_tuning_job +"/ml:v1/GoogleCloudMlV1__TrainingOutput/trials": trials +"/ml:v1/GoogleCloudMlV1__TrainingOutput/trials/trial": trial +"/ml:v1/GoogleCloudMlV1__Version": google_cloud_ml_v1__version +"/ml:v1/GoogleCloudMlV1__Version/autoScaling": auto_scaling +"/ml:v1/GoogleCloudMlV1__Version/createTime": create_time +"/ml:v1/GoogleCloudMlV1__Version/deploymentUri": deployment_uri +"/ml:v1/GoogleCloudMlV1__Version/description": description +"/ml:v1/GoogleCloudMlV1__Version/errorMessage": error_message +"/ml:v1/GoogleCloudMlV1__Version/isDefault": is_default +"/ml:v1/GoogleCloudMlV1__Version/lastUseTime": last_use_time +"/ml:v1/GoogleCloudMlV1__Version/manualScaling": manual_scaling +"/ml:v1/GoogleCloudMlV1__Version/name": name +"/ml:v1/GoogleCloudMlV1__Version/runtimeVersion": runtime_version +"/ml:v1/GoogleCloudMlV1__Version/state": state +"/ml:v1/GoogleCloudMlV1beta1__AutoScaling": google_cloud_ml_v1beta1__auto_scaling +"/ml:v1/GoogleCloudMlV1beta1__AutoScaling/minNodes": min_nodes +"/ml:v1/GoogleCloudMlV1beta1__ManualScaling": google_cloud_ml_v1beta1__manual_scaling +"/ml:v1/GoogleCloudMlV1beta1__ManualScaling/nodes": nodes +"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata": google_cloud_ml_v1beta1__operation_metadata +"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/createTime": create_time +"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/endTime": end_time +"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/isCancellationRequested": is_cancellation_requested +"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/modelName": model_name +"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/operationType": operation_type +"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/startTime": start_time +"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/version": version +"/ml:v1/GoogleCloudMlV1beta1__Version": google_cloud_ml_v1beta1__version +"/ml:v1/GoogleCloudMlV1beta1__Version/autoScaling": auto_scaling +"/ml:v1/GoogleCloudMlV1beta1__Version/createTime": create_time +"/ml:v1/GoogleCloudMlV1beta1__Version/deploymentUri": deployment_uri +"/ml:v1/GoogleCloudMlV1beta1__Version/description": description +"/ml:v1/GoogleCloudMlV1beta1__Version/errorMessage": error_message +"/ml:v1/GoogleCloudMlV1beta1__Version/isDefault": is_default +"/ml:v1/GoogleCloudMlV1beta1__Version/lastUseTime": last_use_time +"/ml:v1/GoogleCloudMlV1beta1__Version/manualScaling": manual_scaling +"/ml:v1/GoogleCloudMlV1beta1__Version/name": name +"/ml:v1/GoogleCloudMlV1beta1__Version/runtimeVersion": runtime_version +"/ml:v1/GoogleCloudMlV1beta1__Version/state": state +"/ml:v1/GoogleIamV1_LogConfig_CloudAuditOptions": google_iam_v1_log_config_cloud_audit_options +"/ml:v1/GoogleIamV1_LogConfig_CloudAuditOptions/isReadPermissionType": is_read_permission_type +"/ml:v1/GoogleIamV1_LogConfig_CloudAuditOptions/logName": log_name +"/ml:v1/GoogleIamV1_LogConfig_CounterOptions": google_iam_v1_log_config_counter_options +"/ml:v1/GoogleIamV1_LogConfig_CounterOptions/field": field +"/ml:v1/GoogleIamV1_LogConfig_CounterOptions/metric": metric +"/ml:v1/GoogleIamV1_LogConfig_DataAccessOptions": google_iam_v1_log_config_data_access_options +"/ml:v1/GoogleIamV1_LogConfig_DataAccessOptions/logMode": log_mode +"/ml:v1/GoogleIamV1__AuditConfig": google_iam_v1__audit_config +"/ml:v1/GoogleIamV1__AuditConfig/auditLogConfigs": audit_log_configs +"/ml:v1/GoogleIamV1__AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/ml:v1/GoogleIamV1__AuditConfig/exemptedMembers": exempted_members +"/ml:v1/GoogleIamV1__AuditConfig/exemptedMembers/exempted_member": exempted_member +"/ml:v1/GoogleIamV1__AuditConfig/service": service +"/ml:v1/GoogleIamV1__AuditLogConfig": google_iam_v1__audit_log_config +"/ml:v1/GoogleIamV1__AuditLogConfig/exemptedMembers": exempted_members +"/ml:v1/GoogleIamV1__AuditLogConfig/exemptedMembers/exempted_member": exempted_member +"/ml:v1/GoogleIamV1__AuditLogConfig/logType": log_type "/ml:v1/GoogleIamV1__Binding": google_iam_v1__binding "/ml:v1/GoogleIamV1__Binding/condition": condition "/ml:v1/GoogleIamV1__Binding/members": members "/ml:v1/GoogleIamV1__Binding/members/member": member "/ml:v1/GoogleIamV1__Binding/role": role -"/ml:v1/GoogleCloudMlV1__TrainingOutput": google_cloud_ml_v1__training_output -"/ml:v1/GoogleCloudMlV1__TrainingOutput/trials": trials -"/ml:v1/GoogleCloudMlV1__TrainingOutput/trials/trial": trial -"/ml:v1/GoogleCloudMlV1__TrainingOutput/completedTrialCount": completed_trial_count -"/ml:v1/GoogleCloudMlV1__TrainingOutput/isHyperparameterTuningJob": is_hyperparameter_tuning_job -"/ml:v1/GoogleCloudMlV1__TrainingOutput/consumedMLUnits": consumed_ml_units -"/ml:v1/GoogleCloudMlV1beta1__AutoScaling": google_cloud_ml_v1beta1__auto_scaling -"/ml:v1/GoogleCloudMlV1beta1__AutoScaling/minNodes": min_nodes -"/ml:v1/GoogleIamV1__Rule": google_iam_v1__rule -"/ml:v1/GoogleIamV1__Rule/description": description -"/ml:v1/GoogleIamV1__Rule/conditions": conditions -"/ml:v1/GoogleIamV1__Rule/conditions/condition": condition -"/ml:v1/GoogleIamV1__Rule/logConfig": log_config -"/ml:v1/GoogleIamV1__Rule/logConfig/log_config": log_config -"/ml:v1/GoogleIamV1__Rule/in": in -"/ml:v1/GoogleIamV1__Rule/in/in": in -"/ml:v1/GoogleIamV1__Rule/permissions": permissions -"/ml:v1/GoogleIamV1__Rule/permissions/permission": permission -"/ml:v1/GoogleIamV1__Rule/action": action -"/ml:v1/GoogleIamV1__Rule/notIn": not_in -"/ml:v1/GoogleIamV1__Rule/notIn/not_in": not_in -"/ml:v1/GoogleIamV1_LogConfig_CounterOptions": google_iam_v1_log_config_counter_options -"/ml:v1/GoogleIamV1_LogConfig_CounterOptions/field": field -"/ml:v1/GoogleIamV1_LogConfig_CounterOptions/metric": metric -"/ml:v1/GoogleCloudMlV1__PredictRequest": google_cloud_ml_v1__predict_request -"/ml:v1/GoogleCloudMlV1__PredictRequest/httpBody": http_body -"/ml:v1/GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric": google_cloud_ml_v1_hyperparameter_output_hyperparameter_metric -"/ml:v1/GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric/objectiveValue": objective_value -"/ml:v1/GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric/trainingStep": training_step -"/ml:v1/GoogleIamV1_LogConfig_CloudAuditOptions": google_iam_v1_log_config_cloud_audit_options -"/ml:v1/GoogleIamV1_LogConfig_CloudAuditOptions/logName": log_name -"/ml:v1/GoogleIamV1_LogConfig_CloudAuditOptions/isReadPermissionType": is_read_permission_type -"/ml:v1/GoogleCloudMlV1__Version": google_cloud_ml_v1__version -"/ml:v1/GoogleCloudMlV1__Version/runtimeVersion": runtime_version -"/ml:v1/GoogleCloudMlV1__Version/lastUseTime": last_use_time -"/ml:v1/GoogleCloudMlV1__Version/description": description -"/ml:v1/GoogleCloudMlV1__Version/deploymentUri": deployment_uri -"/ml:v1/GoogleCloudMlV1__Version/autoScaling": auto_scaling -"/ml:v1/GoogleCloudMlV1__Version/isDefault": is_default -"/ml:v1/GoogleCloudMlV1__Version/createTime": create_time -"/ml:v1/GoogleCloudMlV1__Version/state": state -"/ml:v1/GoogleCloudMlV1__Version/manualScaling": manual_scaling -"/ml:v1/GoogleCloudMlV1__Version/name": name -"/ml:v1/GoogleCloudMlV1__Version/errorMessage": error_message -"/ml:v1/GoogleCloudMlV1__ParameterSpec": google_cloud_ml_v1__parameter_spec -"/ml:v1/GoogleCloudMlV1__ParameterSpec/categoricalValues": categorical_values -"/ml:v1/GoogleCloudMlV1__ParameterSpec/categoricalValues/categorical_value": categorical_value -"/ml:v1/GoogleCloudMlV1__ParameterSpec/parameterName": parameter_name -"/ml:v1/GoogleCloudMlV1__ParameterSpec/minValue": min_value -"/ml:v1/GoogleCloudMlV1__ParameterSpec/discreteValues": discrete_values -"/ml:v1/GoogleCloudMlV1__ParameterSpec/discreteValues/discrete_value": discrete_value -"/ml:v1/GoogleCloudMlV1__ParameterSpec/maxValue": max_value -"/ml:v1/GoogleCloudMlV1__ParameterSpec/scaleType": scale_type -"/ml:v1/GoogleCloudMlV1__ParameterSpec/type": type -"/ml:v1/GoogleIamV1_LogConfig_DataAccessOptions": google_iam_v1_log_config_data_access_options -"/ml:v1/GoogleCloudMlV1__PredictionInput": google_cloud_ml_v1__prediction_input -"/ml:v1/GoogleCloudMlV1__PredictionInput/region": region -"/ml:v1/GoogleCloudMlV1__PredictionInput/versionName": version_name -"/ml:v1/GoogleCloudMlV1__PredictionInput/modelName": model_name -"/ml:v1/GoogleCloudMlV1__PredictionInput/outputPath": output_path -"/ml:v1/GoogleCloudMlV1__PredictionInput/maxWorkerCount": max_worker_count -"/ml:v1/GoogleCloudMlV1__PredictionInput/uri": uri -"/ml:v1/GoogleCloudMlV1__PredictionInput/dataFormat": data_format -"/ml:v1/GoogleCloudMlV1__PredictionInput/runtimeVersion": runtime_version -"/ml:v1/GoogleCloudMlV1__PredictionInput/inputPaths": input_paths -"/ml:v1/GoogleCloudMlV1__PredictionInput/inputPaths/input_path": input_path -"/ml:v1/GoogleType__Expr": google_type__expr -"/ml:v1/GoogleType__Expr/expression": expression -"/ml:v1/GoogleType__Expr/location": location -"/ml:v1/GoogleType__Expr/title": title -"/ml:v1/GoogleType__Expr/description": description -"/ml:v1/GoogleIamV1__AuditLogConfig": google_iam_v1__audit_log_config -"/ml:v1/GoogleIamV1__AuditLogConfig/exemptedMembers": exempted_members -"/ml:v1/GoogleIamV1__AuditLogConfig/exemptedMembers/exempted_member": exempted_member -"/ml:v1/GoogleIamV1__AuditLogConfig/logType": log_type -"/ml:v1/GoogleCloudMlV1__OperationMetadata": google_cloud_ml_v1__operation_metadata -"/ml:v1/GoogleCloudMlV1__OperationMetadata/endTime": end_time -"/ml:v1/GoogleCloudMlV1__OperationMetadata/operationType": operation_type -"/ml:v1/GoogleCloudMlV1__OperationMetadata/startTime": start_time -"/ml:v1/GoogleCloudMlV1__OperationMetadata/isCancellationRequested": is_cancellation_requested -"/ml:v1/GoogleCloudMlV1__OperationMetadata/createTime": create_time -"/ml:v1/GoogleCloudMlV1__OperationMetadata/modelName": model_name -"/ml:v1/GoogleCloudMlV1__OperationMetadata/version": version -"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata": google_cloud_ml_v1beta1__operation_metadata -"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/modelName": model_name -"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/version": version -"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/endTime": end_time -"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/operationType": operation_type -"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/startTime": start_time -"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/isCancellationRequested": is_cancellation_requested -"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/createTime": create_time -"/ml:v1/GoogleCloudMlV1__HyperparameterSpec": google_cloud_ml_v1__hyperparameter_spec -"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/maxTrials": max_trials -"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/params": params -"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/params/param": param -"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/maxParallelTrials": max_parallel_trials -"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/hyperparameterMetricTag": hyperparameter_metric_tag -"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/goal": goal -"/ml:v1/GoogleCloudMlV1__ListJobsResponse": google_cloud_ml_v1__list_jobs_response -"/ml:v1/GoogleCloudMlV1__ListJobsResponse/nextPageToken": next_page_token -"/ml:v1/GoogleCloudMlV1__ListJobsResponse/jobs": jobs -"/ml:v1/GoogleCloudMlV1__ListJobsResponse/jobs/job": job -"/ml:v1/GoogleCloudMlV1__SetDefaultVersionRequest": google_cloud_ml_v1__set_default_version_request -"/ml:v1/GoogleLongrunning__Operation": google_longrunning__operation -"/ml:v1/GoogleLongrunning__Operation/done": done -"/ml:v1/GoogleLongrunning__Operation/response": response -"/ml:v1/GoogleLongrunning__Operation/response/response": response -"/ml:v1/GoogleLongrunning__Operation/name": name -"/ml:v1/GoogleLongrunning__Operation/error": error -"/ml:v1/GoogleLongrunning__Operation/metadata": metadata -"/ml:v1/GoogleLongrunning__Operation/metadata/metadatum": metadatum -"/ml:v1/GoogleCloudMlV1__Model": google_cloud_ml_v1__model -"/ml:v1/GoogleCloudMlV1__Model/regions": regions -"/ml:v1/GoogleCloudMlV1__Model/regions/region": region -"/ml:v1/GoogleCloudMlV1__Model/name": name -"/ml:v1/GoogleCloudMlV1__Model/description": description -"/ml:v1/GoogleCloudMlV1__Model/onlinePredictionLogging": online_prediction_logging -"/ml:v1/GoogleCloudMlV1__Model/defaultVersion": default_version -"/ml:v1/GoogleIamV1__AuditConfig": google_iam_v1__audit_config -"/ml:v1/GoogleIamV1__AuditConfig/exemptedMembers": exempted_members -"/ml:v1/GoogleIamV1__AuditConfig/exemptedMembers/exempted_member": exempted_member -"/ml:v1/GoogleIamV1__AuditConfig/service": service -"/ml:v1/GoogleIamV1__AuditConfig/auditLogConfigs": audit_log_configs -"/ml:v1/GoogleIamV1__AuditConfig/auditLogConfigs/audit_log_config": audit_log_config -"/ml:v1/GoogleProtobuf__Empty": google_protobuf__empty -"/ml:v1/GoogleCloudMlV1__ListVersionsResponse": google_cloud_ml_v1__list_versions_response -"/ml:v1/GoogleCloudMlV1__ListVersionsResponse/nextPageToken": next_page_token -"/ml:v1/GoogleCloudMlV1__ListVersionsResponse/versions": versions -"/ml:v1/GoogleCloudMlV1__ListVersionsResponse/versions/version": version -"/ml:v1/GoogleCloudMlV1__CancelJobRequest": google_cloud_ml_v1__cancel_job_request -"/ml:v1/GoogleIamV1__TestIamPermissionsRequest": google_iam_v1__test_iam_permissions_request -"/ml:v1/GoogleIamV1__TestIamPermissionsRequest/permissions": permissions -"/ml:v1/GoogleIamV1__TestIamPermissionsRequest/permissions/permission": permission -"/ml:v1/GoogleCloudMlV1beta1__ManualScaling": google_cloud_ml_v1beta1__manual_scaling -"/ml:v1/GoogleCloudMlV1beta1__ManualScaling/nodes": nodes +"/ml:v1/GoogleIamV1__Condition": google_iam_v1__condition +"/ml:v1/GoogleIamV1__Condition/iam": iam +"/ml:v1/GoogleIamV1__Condition/op": op +"/ml:v1/GoogleIamV1__Condition/svc": svc +"/ml:v1/GoogleIamV1__Condition/sys": sys +"/ml:v1/GoogleIamV1__Condition/value": value +"/ml:v1/GoogleIamV1__Condition/values": values +"/ml:v1/GoogleIamV1__Condition/values/value": value "/ml:v1/GoogleIamV1__LogConfig": google_iam_v1__log_config -"/ml:v1/GoogleIamV1__LogConfig/dataAccess": data_access "/ml:v1/GoogleIamV1__LogConfig/cloudAudit": cloud_audit "/ml:v1/GoogleIamV1__LogConfig/counter": counter -"/ml:v1/GoogleCloudMlV1__AutoScaling": google_cloud_ml_v1__auto_scaling -"/ml:v1/GoogleCloudMlV1__AutoScaling/minNodes": min_nodes -"/ml:v1/GoogleRpc__Status": google_rpc__status -"/ml:v1/GoogleRpc__Status/code": code -"/ml:v1/GoogleRpc__Status/message": message -"/ml:v1/GoogleRpc__Status/details": details -"/ml:v1/GoogleRpc__Status/details/detail": detail -"/ml:v1/GoogleRpc__Status/details/detail/detail": detail -"/ml:v1/GoogleCloudMlV1__ListModelsResponse": google_cloud_ml_v1__list_models_response -"/ml:v1/GoogleCloudMlV1__ListModelsResponse/models": models -"/ml:v1/GoogleCloudMlV1__ListModelsResponse/models/model": model -"/ml:v1/GoogleCloudMlV1__ListModelsResponse/nextPageToken": next_page_token -"/ml:v1/GoogleCloudMlV1__TrainingInput": google_cloud_ml_v1__training_input -"/ml:v1/GoogleCloudMlV1__TrainingInput/region": region -"/ml:v1/GoogleCloudMlV1__TrainingInput/workerType": worker_type -"/ml:v1/GoogleCloudMlV1__TrainingInput/args": args -"/ml:v1/GoogleCloudMlV1__TrainingInput/args/arg": arg -"/ml:v1/GoogleCloudMlV1__TrainingInput/parameterServerType": parameter_server_type -"/ml:v1/GoogleCloudMlV1__TrainingInput/scaleTier": scale_tier -"/ml:v1/GoogleCloudMlV1__TrainingInput/jobDir": job_dir -"/ml:v1/GoogleCloudMlV1__TrainingInput/hyperparameters": hyperparameters -"/ml:v1/GoogleCloudMlV1__TrainingInput/parameterServerCount": parameter_server_count -"/ml:v1/GoogleCloudMlV1__TrainingInput/packageUris": package_uris -"/ml:v1/GoogleCloudMlV1__TrainingInput/packageUris/package_uri": package_uri -"/ml:v1/GoogleCloudMlV1__TrainingInput/workerCount": worker_count -"/ml:v1/GoogleCloudMlV1__TrainingInput/masterType": master_type -"/ml:v1/GoogleCloudMlV1__TrainingInput/runtimeVersion": runtime_version -"/ml:v1/GoogleCloudMlV1__TrainingInput/pythonModule": python_module -"/ml:v1/GoogleCloudMlV1__Job": google_cloud_ml_v1__job -"/ml:v1/GoogleCloudMlV1__Job/state": state -"/ml:v1/GoogleCloudMlV1__Job/predictionInput": prediction_input -"/ml:v1/GoogleCloudMlV1__Job/errorMessage": error_message -"/ml:v1/GoogleCloudMlV1__Job/jobId": job_id -"/ml:v1/GoogleCloudMlV1__Job/endTime": end_time -"/ml:v1/GoogleCloudMlV1__Job/startTime": start_time -"/ml:v1/GoogleCloudMlV1__Job/predictionOutput": prediction_output -"/ml:v1/GoogleCloudMlV1__Job/trainingOutput": training_output -"/ml:v1/GoogleCloudMlV1__Job/createTime": create_time -"/ml:v1/GoogleCloudMlV1__Job/trainingInput": training_input -"/ml:v1/GoogleApi__HttpBody": google_api__http_body -"/ml:v1/GoogleApi__HttpBody/data": data -"/ml:v1/GoogleApi__HttpBody/contentType": content_type -"/ml:v1/GoogleApi__HttpBody/extensions": extensions -"/ml:v1/GoogleApi__HttpBody/extensions/extension": extension -"/ml:v1/GoogleApi__HttpBody/extensions/extension/extension": extension -"/ml:v1/GoogleCloudMlV1beta1__Version": google_cloud_ml_v1beta1__version -"/ml:v1/GoogleCloudMlV1beta1__Version/description": description -"/ml:v1/GoogleCloudMlV1beta1__Version/deploymentUri": deployment_uri -"/ml:v1/GoogleCloudMlV1beta1__Version/autoScaling": auto_scaling -"/ml:v1/GoogleCloudMlV1beta1__Version/isDefault": is_default -"/ml:v1/GoogleCloudMlV1beta1__Version/createTime": create_time -"/ml:v1/GoogleCloudMlV1beta1__Version/state": state -"/ml:v1/GoogleCloudMlV1beta1__Version/manualScaling": manual_scaling -"/ml:v1/GoogleCloudMlV1beta1__Version/name": name -"/ml:v1/GoogleCloudMlV1beta1__Version/errorMessage": error_message -"/ml:v1/GoogleCloudMlV1beta1__Version/runtimeVersion": runtime_version -"/ml:v1/GoogleCloudMlV1beta1__Version/lastUseTime": last_use_time -"/ml:v1/GoogleCloudMlV1__GetConfigResponse": google_cloud_ml_v1__get_config_response -"/ml:v1/GoogleCloudMlV1__GetConfigResponse/serviceAccountProject": service_account_project -"/ml:v1/GoogleCloudMlV1__GetConfigResponse/serviceAccount": service_account -"/ml:v1/GoogleIamV1__TestIamPermissionsResponse": google_iam_v1__test_iam_permissions_response -"/ml:v1/GoogleIamV1__TestIamPermissionsResponse/permissions": permissions -"/ml:v1/GoogleIamV1__TestIamPermissionsResponse/permissions/permission": permission -"/ml:v1/GoogleCloudMlV1__HyperparameterOutput": google_cloud_ml_v1__hyperparameter_output -"/ml:v1/GoogleCloudMlV1__HyperparameterOutput/hyperparameters": hyperparameters -"/ml:v1/GoogleCloudMlV1__HyperparameterOutput/hyperparameters/hyperparameter": hyperparameter -"/ml:v1/GoogleCloudMlV1__HyperparameterOutput/trialId": trial_id -"/ml:v1/GoogleCloudMlV1__HyperparameterOutput/allMetrics": all_metrics -"/ml:v1/GoogleCloudMlV1__HyperparameterOutput/allMetrics/all_metric": all_metric -"/ml:v1/GoogleCloudMlV1__HyperparameterOutput/finalMetric": final_metric -"/ml:v1/GoogleIamV1__SetIamPolicyRequest": google_iam_v1__set_iam_policy_request -"/ml:v1/GoogleIamV1__SetIamPolicyRequest/updateMask": update_mask -"/ml:v1/GoogleIamV1__SetIamPolicyRequest/policy": policy -"/ml:v1/GoogleCloudMlV1__PredictionOutput": google_cloud_ml_v1__prediction_output -"/ml:v1/GoogleCloudMlV1__PredictionOutput/nodeHours": node_hours -"/ml:v1/GoogleCloudMlV1__PredictionOutput/outputPath": output_path -"/ml:v1/GoogleCloudMlV1__PredictionOutput/predictionCount": prediction_count -"/ml:v1/GoogleCloudMlV1__PredictionOutput/errorCount": error_count +"/ml:v1/GoogleIamV1__LogConfig/dataAccess": data_access "/ml:v1/GoogleIamV1__Policy": google_iam_v1__policy -"/ml:v1/GoogleIamV1__Policy/version": version "/ml:v1/GoogleIamV1__Policy/auditConfigs": audit_configs "/ml:v1/GoogleIamV1__Policy/auditConfigs/audit_config": audit_config "/ml:v1/GoogleIamV1__Policy/bindings": bindings @@ -32361,28 +33054,614 @@ "/ml:v1/GoogleIamV1__Policy/iamOwned": iam_owned "/ml:v1/GoogleIamV1__Policy/rules": rules "/ml:v1/GoogleIamV1__Policy/rules/rule": rule +"/ml:v1/GoogleIamV1__Policy/version": version +"/ml:v1/GoogleIamV1__Rule": google_iam_v1__rule +"/ml:v1/GoogleIamV1__Rule/action": action +"/ml:v1/GoogleIamV1__Rule/conditions": conditions +"/ml:v1/GoogleIamV1__Rule/conditions/condition": condition +"/ml:v1/GoogleIamV1__Rule/description": description +"/ml:v1/GoogleIamV1__Rule/in": in +"/ml:v1/GoogleIamV1__Rule/in/in": in +"/ml:v1/GoogleIamV1__Rule/logConfig": log_config +"/ml:v1/GoogleIamV1__Rule/logConfig/log_config": log_config +"/ml:v1/GoogleIamV1__Rule/notIn": not_in +"/ml:v1/GoogleIamV1__Rule/notIn/not_in": not_in +"/ml:v1/GoogleIamV1__Rule/permissions": permissions +"/ml:v1/GoogleIamV1__Rule/permissions/permission": permission +"/ml:v1/GoogleIamV1__SetIamPolicyRequest": google_iam_v1__set_iam_policy_request +"/ml:v1/GoogleIamV1__SetIamPolicyRequest/policy": policy +"/ml:v1/GoogleIamV1__SetIamPolicyRequest/updateMask": update_mask +"/ml:v1/GoogleIamV1__TestIamPermissionsRequest": google_iam_v1__test_iam_permissions_request +"/ml:v1/GoogleIamV1__TestIamPermissionsRequest/permissions": permissions +"/ml:v1/GoogleIamV1__TestIamPermissionsRequest/permissions/permission": permission +"/ml:v1/GoogleIamV1__TestIamPermissionsResponse": google_iam_v1__test_iam_permissions_response +"/ml:v1/GoogleIamV1__TestIamPermissionsResponse/permissions": permissions +"/ml:v1/GoogleIamV1__TestIamPermissionsResponse/permissions/permission": permission "/ml:v1/GoogleLongrunning__ListOperationsResponse": google_longrunning__list_operations_response "/ml:v1/GoogleLongrunning__ListOperationsResponse/nextPageToken": next_page_token "/ml:v1/GoogleLongrunning__ListOperationsResponse/operations": operations "/ml:v1/GoogleLongrunning__ListOperationsResponse/operations/operation": operation -"/ml:v1/GoogleIamV1__Condition": google_iam_v1__condition -"/ml:v1/GoogleIamV1__Condition/op": op -"/ml:v1/GoogleIamV1__Condition/svc": svc -"/ml:v1/GoogleIamV1__Condition/sys": sys -"/ml:v1/GoogleIamV1__Condition/value": value -"/ml:v1/GoogleIamV1__Condition/values": values -"/ml:v1/GoogleIamV1__Condition/values/value": value -"/ml:v1/GoogleIamV1__Condition/iam": iam -"/oauth2:v2/fields": fields -"/oauth2:v2/key": key -"/oauth2:v2/quotaUser": quota_user -"/oauth2:v2/userIp": user_ip -"/oauth2:v2/oauth2.getCertForOpenIdConnect": get_cert_for_open_id_connect -"/oauth2:v2/oauth2.tokeninfo": tokeninfo -"/oauth2:v2/oauth2.tokeninfo/access_token": access_token -"/oauth2:v2/oauth2.tokeninfo/id_token": id_token -"/oauth2:v2/oauth2.tokeninfo/token_handle": token_handle -"/oauth2:v2/oauth2.userinfo.get": get_userinfo +"/ml:v1/GoogleLongrunning__Operation": google_longrunning__operation +"/ml:v1/GoogleLongrunning__Operation/done": done +"/ml:v1/GoogleLongrunning__Operation/error": error +"/ml:v1/GoogleLongrunning__Operation/metadata": metadata +"/ml:v1/GoogleLongrunning__Operation/metadata/metadatum": metadatum +"/ml:v1/GoogleLongrunning__Operation/name": name +"/ml:v1/GoogleLongrunning__Operation/response": response +"/ml:v1/GoogleLongrunning__Operation/response/response": response +"/ml:v1/GoogleProtobuf__Empty": google_protobuf__empty +"/ml:v1/GoogleRpc__Status": google_rpc__status +"/ml:v1/GoogleRpc__Status/code": code +"/ml:v1/GoogleRpc__Status/details": details +"/ml:v1/GoogleRpc__Status/details/detail": detail +"/ml:v1/GoogleRpc__Status/details/detail/detail": detail +"/ml:v1/GoogleRpc__Status/message": message +"/ml:v1/GoogleType__Expr": google_type__expr +"/ml:v1/GoogleType__Expr/description": description +"/ml:v1/GoogleType__Expr/expression": expression +"/ml:v1/GoogleType__Expr/location": location +"/ml:v1/GoogleType__Expr/title": title +"/ml:v1/fields": fields +"/ml:v1/key": key +"/ml:v1/ml.projects.getConfig": get_project_config +"/ml:v1/ml.projects.getConfig/name": name +"/ml:v1/ml.projects.jobs.cancel": cancel_project_job +"/ml:v1/ml.projects.jobs.cancel/name": name +"/ml:v1/ml.projects.jobs.create": create_project_job +"/ml:v1/ml.projects.jobs.create/parent": parent +"/ml:v1/ml.projects.jobs.get": get_project_job +"/ml:v1/ml.projects.jobs.get/name": name +"/ml:v1/ml.projects.jobs.getIamPolicy": get_project_job_iam_policy +"/ml:v1/ml.projects.jobs.getIamPolicy/resource": resource +"/ml:v1/ml.projects.jobs.list": list_project_jobs +"/ml:v1/ml.projects.jobs.list/filter": filter +"/ml:v1/ml.projects.jobs.list/pageSize": page_size +"/ml:v1/ml.projects.jobs.list/pageToken": page_token +"/ml:v1/ml.projects.jobs.list/parent": parent +"/ml:v1/ml.projects.jobs.setIamPolicy": set_project_job_iam_policy +"/ml:v1/ml.projects.jobs.setIamPolicy/resource": resource +"/ml:v1/ml.projects.jobs.testIamPermissions": test_project_job_iam_permissions +"/ml:v1/ml.projects.jobs.testIamPermissions/resource": resource +"/ml:v1/ml.projects.models.create": create_project_model +"/ml:v1/ml.projects.models.create/parent": parent +"/ml:v1/ml.projects.models.delete": delete_project_model +"/ml:v1/ml.projects.models.delete/name": name +"/ml:v1/ml.projects.models.get": get_project_model +"/ml:v1/ml.projects.models.get/name": name +"/ml:v1/ml.projects.models.getIamPolicy": get_project_model_iam_policy +"/ml:v1/ml.projects.models.getIamPolicy/resource": resource +"/ml:v1/ml.projects.models.list": list_project_models +"/ml:v1/ml.projects.models.list/pageSize": page_size +"/ml:v1/ml.projects.models.list/pageToken": page_token +"/ml:v1/ml.projects.models.list/parent": parent +"/ml:v1/ml.projects.models.setIamPolicy": set_project_model_iam_policy +"/ml:v1/ml.projects.models.setIamPolicy/resource": resource +"/ml:v1/ml.projects.models.testIamPermissions": test_project_model_iam_permissions +"/ml:v1/ml.projects.models.testIamPermissions/resource": resource +"/ml:v1/ml.projects.models.versions.create": create_project_model_version +"/ml:v1/ml.projects.models.versions.create/parent": parent +"/ml:v1/ml.projects.models.versions.delete": delete_project_model_version +"/ml:v1/ml.projects.models.versions.delete/name": name +"/ml:v1/ml.projects.models.versions.get": get_project_model_version +"/ml:v1/ml.projects.models.versions.get/name": name +"/ml:v1/ml.projects.models.versions.list": list_project_model_versions +"/ml:v1/ml.projects.models.versions.list/pageSize": page_size +"/ml:v1/ml.projects.models.versions.list/pageToken": page_token +"/ml:v1/ml.projects.models.versions.list/parent": parent +"/ml:v1/ml.projects.models.versions.setDefault": set_project_model_version_default +"/ml:v1/ml.projects.models.versions.setDefault/name": name +"/ml:v1/ml.projects.operations.cancel": cancel_project_operation +"/ml:v1/ml.projects.operations.cancel/name": name +"/ml:v1/ml.projects.operations.delete": delete_project_operation +"/ml:v1/ml.projects.operations.delete/name": name +"/ml:v1/ml.projects.operations.get": get_project_operation +"/ml:v1/ml.projects.operations.get/name": name +"/ml:v1/ml.projects.operations.list": list_project_operations +"/ml:v1/ml.projects.operations.list/filter": filter +"/ml:v1/ml.projects.operations.list/name": name +"/ml:v1/ml.projects.operations.list/pageSize": page_size +"/ml:v1/ml.projects.operations.list/pageToken": page_token +"/ml:v1/ml.projects.predict": predict_project +"/ml:v1/ml.projects.predict/name": name +"/ml:v1/quotaUser": quota_user +"/monitoring:v3/BucketOptions": bucket_options +"/monitoring:v3/BucketOptions/explicitBuckets": explicit_buckets +"/monitoring:v3/BucketOptions/exponentialBuckets": exponential_buckets +"/monitoring:v3/BucketOptions/linearBuckets": linear_buckets +"/monitoring:v3/CollectdPayload": collectd_payload +"/monitoring:v3/CollectdPayload/endTime": end_time +"/monitoring:v3/CollectdPayload/metadata": metadata +"/monitoring:v3/CollectdPayload/metadata/metadatum": metadatum +"/monitoring:v3/CollectdPayload/plugin": plugin +"/monitoring:v3/CollectdPayload/pluginInstance": plugin_instance +"/monitoring:v3/CollectdPayload/startTime": start_time +"/monitoring:v3/CollectdPayload/type": type +"/monitoring:v3/CollectdPayload/typeInstance": type_instance +"/monitoring:v3/CollectdPayload/values": values +"/monitoring:v3/CollectdPayload/values/value": value +"/monitoring:v3/CollectdValue": collectd_value +"/monitoring:v3/CollectdValue/dataSourceName": data_source_name +"/monitoring:v3/CollectdValue/dataSourceType": data_source_type +"/monitoring:v3/CollectdValue/value": value +"/monitoring:v3/CreateCollectdTimeSeriesRequest": create_collectd_time_series_request +"/monitoring:v3/CreateCollectdTimeSeriesRequest/collectdPayloads": collectd_payloads +"/monitoring:v3/CreateCollectdTimeSeriesRequest/collectdPayloads/collectd_payload": collectd_payload +"/monitoring:v3/CreateCollectdTimeSeriesRequest/collectdVersion": collectd_version +"/monitoring:v3/CreateCollectdTimeSeriesRequest/resource": resource +"/monitoring:v3/CreateTimeSeriesRequest": create_time_series_request +"/monitoring:v3/CreateTimeSeriesRequest/timeSeries": time_series +"/monitoring:v3/CreateTimeSeriesRequest/timeSeries/time_series": time_series +"/monitoring:v3/Distribution": distribution +"/monitoring:v3/Distribution/bucketCounts": bucket_counts +"/monitoring:v3/Distribution/bucketCounts/bucket_count": bucket_count +"/monitoring:v3/Distribution/bucketOptions": bucket_options +"/monitoring:v3/Distribution/count": count +"/monitoring:v3/Distribution/mean": mean +"/monitoring:v3/Distribution/range": range +"/monitoring:v3/Distribution/sumOfSquaredDeviation": sum_of_squared_deviation +"/monitoring:v3/Empty": empty +"/monitoring:v3/Explicit": explicit +"/monitoring:v3/Explicit/bounds": bounds +"/monitoring:v3/Explicit/bounds/bound": bound +"/monitoring:v3/Exponential": exponential +"/monitoring:v3/Exponential/growthFactor": growth_factor +"/monitoring:v3/Exponential/numFiniteBuckets": num_finite_buckets +"/monitoring:v3/Exponential/scale": scale +"/monitoring:v3/Field": field +"/monitoring:v3/Field/cardinality": cardinality +"/monitoring:v3/Field/defaultValue": default_value +"/monitoring:v3/Field/jsonName": json_name +"/monitoring:v3/Field/kind": kind +"/monitoring:v3/Field/name": name +"/monitoring:v3/Field/number": number +"/monitoring:v3/Field/oneofIndex": oneof_index +"/monitoring:v3/Field/options": options +"/monitoring:v3/Field/options/option": option +"/monitoring:v3/Field/packed": packed +"/monitoring:v3/Field/typeUrl": type_url +"/monitoring:v3/Group": group +"/monitoring:v3/Group/displayName": display_name +"/monitoring:v3/Group/filter": filter +"/monitoring:v3/Group/isCluster": is_cluster +"/monitoring:v3/Group/name": name +"/monitoring:v3/Group/parentName": parent_name +"/monitoring:v3/LabelDescriptor": label_descriptor +"/monitoring:v3/LabelDescriptor/description": description +"/monitoring:v3/LabelDescriptor/key": key +"/monitoring:v3/LabelDescriptor/valueType": value_type +"/monitoring:v3/Linear": linear +"/monitoring:v3/Linear/numFiniteBuckets": num_finite_buckets +"/monitoring:v3/Linear/offset": offset +"/monitoring:v3/Linear/width": width +"/monitoring:v3/ListGroupMembersResponse": list_group_members_response +"/monitoring:v3/ListGroupMembersResponse/members": members +"/monitoring:v3/ListGroupMembersResponse/members/member": member +"/monitoring:v3/ListGroupMembersResponse/nextPageToken": next_page_token +"/monitoring:v3/ListGroupMembersResponse/totalSize": total_size +"/monitoring:v3/ListGroupsResponse": list_groups_response +"/monitoring:v3/ListGroupsResponse/group": group +"/monitoring:v3/ListGroupsResponse/group/group": group +"/monitoring:v3/ListGroupsResponse/nextPageToken": next_page_token +"/monitoring:v3/ListMetricDescriptorsResponse": list_metric_descriptors_response +"/monitoring:v3/ListMetricDescriptorsResponse/metricDescriptors": metric_descriptors +"/monitoring:v3/ListMetricDescriptorsResponse/metricDescriptors/metric_descriptor": metric_descriptor +"/monitoring:v3/ListMetricDescriptorsResponse/nextPageToken": next_page_token +"/monitoring:v3/ListMonitoredResourceDescriptorsResponse": list_monitored_resource_descriptors_response +"/monitoring:v3/ListMonitoredResourceDescriptorsResponse/nextPageToken": next_page_token +"/monitoring:v3/ListMonitoredResourceDescriptorsResponse/resourceDescriptors": resource_descriptors +"/monitoring:v3/ListMonitoredResourceDescriptorsResponse/resourceDescriptors/resource_descriptor": resource_descriptor +"/monitoring:v3/ListTimeSeriesResponse": list_time_series_response +"/monitoring:v3/ListTimeSeriesResponse/nextPageToken": next_page_token +"/monitoring:v3/ListTimeSeriesResponse/timeSeries": time_series +"/monitoring:v3/ListTimeSeriesResponse/timeSeries/time_series": time_series +"/monitoring:v3/Metric": metric +"/monitoring:v3/Metric/labels": labels +"/monitoring:v3/Metric/labels/label": label +"/monitoring:v3/Metric/type": type +"/monitoring:v3/MetricDescriptor": metric_descriptor +"/monitoring:v3/MetricDescriptor/description": description +"/monitoring:v3/MetricDescriptor/displayName": display_name +"/monitoring:v3/MetricDescriptor/labels": labels +"/monitoring:v3/MetricDescriptor/labels/label": label +"/monitoring:v3/MetricDescriptor/metricKind": metric_kind +"/monitoring:v3/MetricDescriptor/name": name +"/monitoring:v3/MetricDescriptor/type": type +"/monitoring:v3/MetricDescriptor/unit": unit +"/monitoring:v3/MetricDescriptor/valueType": value_type +"/monitoring:v3/MonitoredResource": monitored_resource +"/monitoring:v3/MonitoredResource/labels": labels +"/monitoring:v3/MonitoredResource/labels/label": label +"/monitoring:v3/MonitoredResource/type": type +"/monitoring:v3/MonitoredResourceDescriptor": monitored_resource_descriptor +"/monitoring:v3/MonitoredResourceDescriptor/description": description +"/monitoring:v3/MonitoredResourceDescriptor/displayName": display_name +"/monitoring:v3/MonitoredResourceDescriptor/labels": labels +"/monitoring:v3/MonitoredResourceDescriptor/labels/label": label +"/monitoring:v3/MonitoredResourceDescriptor/name": name +"/monitoring:v3/MonitoredResourceDescriptor/type": type +"/monitoring:v3/Option": option +"/monitoring:v3/Option/name": name +"/monitoring:v3/Option/value": value +"/monitoring:v3/Option/value/value": value +"/monitoring:v3/Point": point +"/monitoring:v3/Point/interval": interval +"/monitoring:v3/Point/value": value +"/monitoring:v3/Range": range +"/monitoring:v3/Range/max": max +"/monitoring:v3/Range/min": min +"/monitoring:v3/SourceContext": source_context +"/monitoring:v3/SourceContext/fileName": file_name +"/monitoring:v3/TimeInterval": time_interval +"/monitoring:v3/TimeInterval/endTime": end_time +"/monitoring:v3/TimeInterval/startTime": start_time +"/monitoring:v3/TimeSeries": time_series +"/monitoring:v3/TimeSeries/metric": metric +"/monitoring:v3/TimeSeries/metricKind": metric_kind +"/monitoring:v3/TimeSeries/points": points +"/monitoring:v3/TimeSeries/points/point": point +"/monitoring:v3/TimeSeries/resource": resource +"/monitoring:v3/TimeSeries/valueType": value_type +"/monitoring:v3/Type": type +"/monitoring:v3/Type/fields": fields +"/monitoring:v3/Type/fields/field": field +"/monitoring:v3/Type/name": name +"/monitoring:v3/Type/oneofs": oneofs +"/monitoring:v3/Type/oneofs/oneof": oneof +"/monitoring:v3/Type/options": options +"/monitoring:v3/Type/options/option": option +"/monitoring:v3/Type/sourceContext": source_context +"/monitoring:v3/Type/syntax": syntax +"/monitoring:v3/TypedValue": typed_value +"/monitoring:v3/TypedValue/boolValue": bool_value +"/monitoring:v3/TypedValue/distributionValue": distribution_value +"/monitoring:v3/TypedValue/doubleValue": double_value +"/monitoring:v3/TypedValue/int64Value": int64_value +"/monitoring:v3/TypedValue/stringValue": string_value +"/monitoring:v3/fields": fields +"/monitoring:v3/key": key +"/monitoring:v3/monitoring.projects.collectdTimeSeries.create": create_collectd_time_series +"/monitoring:v3/monitoring.projects.collectdTimeSeries.create/name": name +"/monitoring:v3/monitoring.projects.groups.create": create_project_group +"/monitoring:v3/monitoring.projects.groups.create/name": name +"/monitoring:v3/monitoring.projects.groups.create/validateOnly": validate_only +"/monitoring:v3/monitoring.projects.groups.delete": delete_project_group +"/monitoring:v3/monitoring.projects.groups.delete/name": name +"/monitoring:v3/monitoring.projects.groups.get": get_project_group +"/monitoring:v3/monitoring.projects.groups.get/name": name +"/monitoring:v3/monitoring.projects.groups.list": list_project_groups +"/monitoring:v3/monitoring.projects.groups.list/ancestorsOfGroup": ancestors_of_group +"/monitoring:v3/monitoring.projects.groups.list/childrenOfGroup": children_of_group +"/monitoring:v3/monitoring.projects.groups.list/descendantsOfGroup": descendants_of_group +"/monitoring:v3/monitoring.projects.groups.list/name": name +"/monitoring:v3/monitoring.projects.groups.list/pageSize": page_size +"/monitoring:v3/monitoring.projects.groups.list/pageToken": page_token +"/monitoring:v3/monitoring.projects.groups.members.list": list_project_group_members +"/monitoring:v3/monitoring.projects.groups.members.list/filter": filter +"/monitoring:v3/monitoring.projects.groups.members.list/interval.endTime": interval_end_time +"/monitoring:v3/monitoring.projects.groups.members.list/interval.startTime": interval_start_time +"/monitoring:v3/monitoring.projects.groups.members.list/name": name +"/monitoring:v3/monitoring.projects.groups.members.list/pageSize": page_size +"/monitoring:v3/monitoring.projects.groups.members.list/pageToken": page_token +"/monitoring:v3/monitoring.projects.groups.update": update_project_group +"/monitoring:v3/monitoring.projects.groups.update/name": name +"/monitoring:v3/monitoring.projects.groups.update/validateOnly": validate_only +"/monitoring:v3/monitoring.projects.metricDescriptors.create": create_project_metric_descriptor +"/monitoring:v3/monitoring.projects.metricDescriptors.create/name": name +"/monitoring:v3/monitoring.projects.metricDescriptors.delete": delete_project_metric_descriptor +"/monitoring:v3/monitoring.projects.metricDescriptors.delete/name": name +"/monitoring:v3/monitoring.projects.metricDescriptors.get": get_project_metric_descriptor +"/monitoring:v3/monitoring.projects.metricDescriptors.get/name": name +"/monitoring:v3/monitoring.projects.metricDescriptors.list": list_project_metric_descriptors +"/monitoring:v3/monitoring.projects.metricDescriptors.list/filter": filter +"/monitoring:v3/monitoring.projects.metricDescriptors.list/name": name +"/monitoring:v3/monitoring.projects.metricDescriptors.list/pageSize": page_size +"/monitoring:v3/monitoring.projects.metricDescriptors.list/pageToken": page_token +"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.get": get_project_monitored_resource_descriptor +"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.get/name": name +"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list": list_project_monitored_resource_descriptors +"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list/filter": filter +"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list/name": name +"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list/pageSize": page_size +"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list/pageToken": page_token +"/monitoring:v3/monitoring.projects.timeSeries.create": create_time_series +"/monitoring:v3/monitoring.projects.timeSeries.create/name": name +"/monitoring:v3/monitoring.projects.timeSeries.list": list_project_time_series +"/monitoring:v3/monitoring.projects.timeSeries.list/aggregation.alignmentPeriod": aggregation_alignment_period +"/monitoring:v3/monitoring.projects.timeSeries.list/aggregation.crossSeriesReducer": aggregation_cross_series_reducer +"/monitoring:v3/monitoring.projects.timeSeries.list/aggregation.groupByFields": aggregation_group_by_fields +"/monitoring:v3/monitoring.projects.timeSeries.list/aggregation.perSeriesAligner": aggregation_per_series_aligner +"/monitoring:v3/monitoring.projects.timeSeries.list/filter": filter +"/monitoring:v3/monitoring.projects.timeSeries.list/interval.endTime": interval_end_time +"/monitoring:v3/monitoring.projects.timeSeries.list/interval.startTime": interval_start_time +"/monitoring:v3/monitoring.projects.timeSeries.list/name": name +"/monitoring:v3/monitoring.projects.timeSeries.list/orderBy": order_by +"/monitoring:v3/monitoring.projects.timeSeries.list/pageSize": page_size +"/monitoring:v3/monitoring.projects.timeSeries.list/pageToken": page_token +"/monitoring:v3/monitoring.projects.timeSeries.list/view": view +"/monitoring:v3/quotaUser": quota_user +"/mybusiness:v3/Account": account +"/mybusiness:v3/Account/accountName": account_name +"/mybusiness:v3/Account/name": name +"/mybusiness:v3/Account/role": role +"/mybusiness:v3/Account/state": state +"/mybusiness:v3/Account/type": type +"/mybusiness:v3/AccountState": account_state +"/mybusiness:v3/AccountState/status": status +"/mybusiness:v3/AdWordsLocationExtensions": ad_words_location_extensions +"/mybusiness:v3/AdWordsLocationExtensions/adPhone": ad_phone +"/mybusiness:v3/Address": address +"/mybusiness:v3/Address/addressLines": address_lines +"/mybusiness:v3/Address/addressLines/address_line": address_line +"/mybusiness:v3/Address/administrativeArea": administrative_area +"/mybusiness:v3/Address/country": country +"/mybusiness:v3/Address/locality": locality +"/mybusiness:v3/Address/postalCode": postal_code +"/mybusiness:v3/Address/subLocality": sub_locality +"/mybusiness:v3/Admin": admin +"/mybusiness:v3/Admin/adminName": admin_name +"/mybusiness:v3/Admin/name": name +"/mybusiness:v3/Admin/pendingInvitation": pending_invitation +"/mybusiness:v3/Admin/role": role +"/mybusiness:v3/AssociateLocationRequest": associate_location_request +"/mybusiness:v3/AssociateLocationRequest/placeId": place_id +"/mybusiness:v3/Attribute": attribute +"/mybusiness:v3/Attribute/attributeId": attribute_id +"/mybusiness:v3/Attribute/valueType": value_type +"/mybusiness:v3/Attribute/values": values +"/mybusiness:v3/Attribute/values/value": value +"/mybusiness:v3/AttributeMetadata": attribute_metadata +"/mybusiness:v3/AttributeMetadata/attributeId": attribute_id +"/mybusiness:v3/AttributeMetadata/displayName": display_name +"/mybusiness:v3/AttributeMetadata/groupDisplayName": group_display_name +"/mybusiness:v3/AttributeMetadata/isRepeatable": is_repeatable +"/mybusiness:v3/AttributeMetadata/valueMetadata": value_metadata +"/mybusiness:v3/AttributeMetadata/valueMetadata/value_metadatum": value_metadatum +"/mybusiness:v3/AttributeMetadata/valueType": value_type +"/mybusiness:v3/AttributeValueMetadata": attribute_value_metadata +"/mybusiness:v3/AttributeValueMetadata/displayName": display_name +"/mybusiness:v3/AttributeValueMetadata/value": value +"/mybusiness:v3/BatchGetLocationsRequest": batch_get_locations_request +"/mybusiness:v3/BatchGetLocationsRequest/locationNames": location_names +"/mybusiness:v3/BatchGetLocationsRequest/locationNames/location_name": location_name +"/mybusiness:v3/BatchGetLocationsResponse": batch_get_locations_response +"/mybusiness:v3/BatchGetLocationsResponse/locations": locations +"/mybusiness:v3/BatchGetLocationsResponse/locations/location": location +"/mybusiness:v3/BusinessHours": business_hours +"/mybusiness:v3/BusinessHours/periods": periods +"/mybusiness:v3/BusinessHours/periods/period": period +"/mybusiness:v3/Category": category +"/mybusiness:v3/Category/categoryId": category_id +"/mybusiness:v3/Category/name": name +"/mybusiness:v3/ClearLocationAssociationRequest": clear_location_association_request +"/mybusiness:v3/Date": date +"/mybusiness:v3/Date/day": day +"/mybusiness:v3/Date/month": month +"/mybusiness:v3/Date/year": year +"/mybusiness:v3/Duplicate": duplicate +"/mybusiness:v3/Duplicate/locationName": location_name +"/mybusiness:v3/Duplicate/ownership": ownership +"/mybusiness:v3/Empty": empty +"/mybusiness:v3/FindMatchingLocationsRequest": find_matching_locations_request +"/mybusiness:v3/FindMatchingLocationsRequest/languageCode": language_code +"/mybusiness:v3/FindMatchingLocationsRequest/maxCacheDuration": max_cache_duration +"/mybusiness:v3/FindMatchingLocationsRequest/numResults": num_results +"/mybusiness:v3/FindMatchingLocationsResponse": find_matching_locations_response +"/mybusiness:v3/FindMatchingLocationsResponse/matchTime": match_time +"/mybusiness:v3/FindMatchingLocationsResponse/matchedLocations": matched_locations +"/mybusiness:v3/FindMatchingLocationsResponse/matchedLocations/matched_location": matched_location +"/mybusiness:v3/GoogleUpdatedLocation": google_updated_location +"/mybusiness:v3/GoogleUpdatedLocation/diffMask": diff_mask +"/mybusiness:v3/GoogleUpdatedLocation/location": location +"/mybusiness:v3/LatLng": lat_lng +"/mybusiness:v3/LatLng/latitude": latitude +"/mybusiness:v3/LatLng/longitude": longitude +"/mybusiness:v3/ListAccountAdminsResponse": list_account_admins_response +"/mybusiness:v3/ListAccountAdminsResponse/admins": admins +"/mybusiness:v3/ListAccountAdminsResponse/admins/admin": admin +"/mybusiness:v3/ListAccountsResponse": list_accounts_response +"/mybusiness:v3/ListAccountsResponse/accounts": accounts +"/mybusiness:v3/ListAccountsResponse/accounts/account": account +"/mybusiness:v3/ListAccountsResponse/nextPageToken": next_page_token +"/mybusiness:v3/ListLocationAdminsResponse": list_location_admins_response +"/mybusiness:v3/ListLocationAdminsResponse/admins": admins +"/mybusiness:v3/ListLocationAdminsResponse/admins/admin": admin +"/mybusiness:v3/ListLocationAttributeMetadataResponse": list_location_attribute_metadata_response +"/mybusiness:v3/ListLocationAttributeMetadataResponse/attributes": attributes +"/mybusiness:v3/ListLocationAttributeMetadataResponse/attributes/attribute": attribute +"/mybusiness:v3/ListLocationsResponse": list_locations_response +"/mybusiness:v3/ListLocationsResponse/locations": locations +"/mybusiness:v3/ListLocationsResponse/locations/location": location +"/mybusiness:v3/ListLocationsResponse/nextPageToken": next_page_token +"/mybusiness:v3/ListReviewsResponse": list_reviews_response +"/mybusiness:v3/ListReviewsResponse/averageRating": average_rating +"/mybusiness:v3/ListReviewsResponse/nextPageToken": next_page_token +"/mybusiness:v3/ListReviewsResponse/reviews": reviews +"/mybusiness:v3/ListReviewsResponse/reviews/review": review +"/mybusiness:v3/ListReviewsResponse/totalReviewCount": total_review_count +"/mybusiness:v3/Location": location +"/mybusiness:v3/Location/adWordsLocationExtensions": ad_words_location_extensions +"/mybusiness:v3/Location/additionalCategories": additional_categories +"/mybusiness:v3/Location/additionalCategories/additional_category": additional_category +"/mybusiness:v3/Location/additionalPhones": additional_phones +"/mybusiness:v3/Location/additionalPhones/additional_phone": additional_phone +"/mybusiness:v3/Location/address": address +"/mybusiness:v3/Location/attributes": attributes +"/mybusiness:v3/Location/attributes/attribute": attribute +"/mybusiness:v3/Location/labels": labels +"/mybusiness:v3/Location/labels/label": label +"/mybusiness:v3/Location/latlng": latlng +"/mybusiness:v3/Location/locationKey": location_key +"/mybusiness:v3/Location/locationName": location_name +"/mybusiness:v3/Location/locationState": location_state +"/mybusiness:v3/Location/metadata": metadata +"/mybusiness:v3/Location/name": name +"/mybusiness:v3/Location/openInfo": open_info +"/mybusiness:v3/Location/photos": photos +"/mybusiness:v3/Location/primaryCategory": primary_category +"/mybusiness:v3/Location/primaryPhone": primary_phone +"/mybusiness:v3/Location/regularHours": regular_hours +"/mybusiness:v3/Location/serviceArea": service_area +"/mybusiness:v3/Location/specialHours": special_hours +"/mybusiness:v3/Location/storeCode": store_code +"/mybusiness:v3/Location/websiteUrl": website_url +"/mybusiness:v3/LocationKey": location_key +"/mybusiness:v3/LocationKey/explicitNoPlaceId": explicit_no_place_id +"/mybusiness:v3/LocationKey/placeId": place_id +"/mybusiness:v3/LocationKey/plusPageId": plus_page_id +"/mybusiness:v3/LocationState": location_state +"/mybusiness:v3/LocationState/canDelete": can_delete +"/mybusiness:v3/LocationState/canUpdate": can_update +"/mybusiness:v3/LocationState/isDuplicate": is_duplicate +"/mybusiness:v3/LocationState/isGoogleUpdated": is_google_updated +"/mybusiness:v3/LocationState/isSuspended": is_suspended +"/mybusiness:v3/LocationState/isVerified": is_verified +"/mybusiness:v3/LocationState/needsReverification": needs_reverification +"/mybusiness:v3/MatchedLocation": matched_location +"/mybusiness:v3/MatchedLocation/isExactMatch": is_exact_match +"/mybusiness:v3/MatchedLocation/location": location +"/mybusiness:v3/Metadata": metadata +"/mybusiness:v3/Metadata/duplicate": duplicate +"/mybusiness:v3/OpenInfo": open_info +"/mybusiness:v3/OpenInfo/status": status +"/mybusiness:v3/Photos": photos +"/mybusiness:v3/Photos/additionalPhotoUrls": additional_photo_urls +"/mybusiness:v3/Photos/additionalPhotoUrls/additional_photo_url": additional_photo_url +"/mybusiness:v3/Photos/commonAreasPhotoUrls": common_areas_photo_urls +"/mybusiness:v3/Photos/commonAreasPhotoUrls/common_areas_photo_url": common_areas_photo_url +"/mybusiness:v3/Photos/coverPhotoUrl": cover_photo_url +"/mybusiness:v3/Photos/exteriorPhotoUrls": exterior_photo_urls +"/mybusiness:v3/Photos/exteriorPhotoUrls/exterior_photo_url": exterior_photo_url +"/mybusiness:v3/Photos/foodAndDrinkPhotoUrls": food_and_drink_photo_urls +"/mybusiness:v3/Photos/foodAndDrinkPhotoUrls/food_and_drink_photo_url": food_and_drink_photo_url +"/mybusiness:v3/Photos/interiorPhotoUrls": interior_photo_urls +"/mybusiness:v3/Photos/interiorPhotoUrls/interior_photo_url": interior_photo_url +"/mybusiness:v3/Photos/logoPhotoUrl": logo_photo_url +"/mybusiness:v3/Photos/menuPhotoUrls": menu_photo_urls +"/mybusiness:v3/Photos/menuPhotoUrls/menu_photo_url": menu_photo_url +"/mybusiness:v3/Photos/photosAtWorkUrls": photos_at_work_urls +"/mybusiness:v3/Photos/photosAtWorkUrls/photos_at_work_url": photos_at_work_url +"/mybusiness:v3/Photos/preferredPhoto": preferred_photo +"/mybusiness:v3/Photos/productPhotoUrls": product_photo_urls +"/mybusiness:v3/Photos/productPhotoUrls/product_photo_url": product_photo_url +"/mybusiness:v3/Photos/profilePhotoUrl": profile_photo_url +"/mybusiness:v3/Photos/roomsPhotoUrls": rooms_photo_urls +"/mybusiness:v3/Photos/roomsPhotoUrls/rooms_photo_url": rooms_photo_url +"/mybusiness:v3/Photos/teamPhotoUrls": team_photo_urls +"/mybusiness:v3/Photos/teamPhotoUrls/team_photo_url": team_photo_url +"/mybusiness:v3/PlaceInfo": place_info +"/mybusiness:v3/PlaceInfo/name": name +"/mybusiness:v3/PlaceInfo/placeId": place_id +"/mybusiness:v3/Places": places +"/mybusiness:v3/Places/placeInfos": place_infos +"/mybusiness:v3/Places/placeInfos/place_info": place_info +"/mybusiness:v3/PointRadius": point_radius +"/mybusiness:v3/PointRadius/latlng": latlng +"/mybusiness:v3/PointRadius/radiusKm": radius_km +"/mybusiness:v3/Review": review +"/mybusiness:v3/Review/comment": comment +"/mybusiness:v3/Review/createTime": create_time +"/mybusiness:v3/Review/reviewId": review_id +"/mybusiness:v3/Review/reviewReply": review_reply +"/mybusiness:v3/Review/reviewer": reviewer +"/mybusiness:v3/Review/starRating": star_rating +"/mybusiness:v3/Review/updateTime": update_time +"/mybusiness:v3/ReviewReply": review_reply +"/mybusiness:v3/ReviewReply/comment": comment +"/mybusiness:v3/ReviewReply/updateTime": update_time +"/mybusiness:v3/Reviewer": reviewer +"/mybusiness:v3/Reviewer/displayName": display_name +"/mybusiness:v3/Reviewer/isAnonymous": is_anonymous +"/mybusiness:v3/ServiceAreaBusiness": service_area_business +"/mybusiness:v3/ServiceAreaBusiness/businessType": business_type +"/mybusiness:v3/ServiceAreaBusiness/places": places +"/mybusiness:v3/ServiceAreaBusiness/radius": radius +"/mybusiness:v3/SpecialHourPeriod": special_hour_period +"/mybusiness:v3/SpecialHourPeriod/closeTime": close_time +"/mybusiness:v3/SpecialHourPeriod/endDate": end_date +"/mybusiness:v3/SpecialHourPeriod/isClosed": is_closed +"/mybusiness:v3/SpecialHourPeriod/openTime": open_time +"/mybusiness:v3/SpecialHourPeriod/startDate": start_date +"/mybusiness:v3/SpecialHours": special_hours +"/mybusiness:v3/SpecialHours/specialHourPeriods": special_hour_periods +"/mybusiness:v3/SpecialHours/specialHourPeriods/special_hour_period": special_hour_period +"/mybusiness:v3/TimePeriod": time_period +"/mybusiness:v3/TimePeriod/closeDay": close_day +"/mybusiness:v3/TimePeriod/closeTime": close_time +"/mybusiness:v3/TimePeriod/openDay": open_day +"/mybusiness:v3/TimePeriod/openTime": open_time +"/mybusiness:v3/TransferLocationRequest": transfer_location_request +"/mybusiness:v3/TransferLocationRequest/toAccount": to_account +"/mybusiness:v3/fields": fields +"/mybusiness:v3/key": key +"/mybusiness:v3/mybusiness.accounts.admins.create": create_account_admin +"/mybusiness:v3/mybusiness.accounts.admins.create/name": name +"/mybusiness:v3/mybusiness.accounts.admins.delete": delete_account_admin +"/mybusiness:v3/mybusiness.accounts.admins.delete/name": name +"/mybusiness:v3/mybusiness.accounts.admins.list": list_account_admins +"/mybusiness:v3/mybusiness.accounts.admins.list/name": name +"/mybusiness:v3/mybusiness.accounts.get": get_account +"/mybusiness:v3/mybusiness.accounts.get/name": name +"/mybusiness:v3/mybusiness.accounts.list": list_accounts +"/mybusiness:v3/mybusiness.accounts.list/pageSize": page_size +"/mybusiness:v3/mybusiness.accounts.list/pageToken": page_token +"/mybusiness:v3/mybusiness.accounts.locations.admins.create": create_account_location_admin +"/mybusiness:v3/mybusiness.accounts.locations.admins.create/name": name +"/mybusiness:v3/mybusiness.accounts.locations.admins.delete": delete_account_location_admin +"/mybusiness:v3/mybusiness.accounts.locations.admins.delete/name": name +"/mybusiness:v3/mybusiness.accounts.locations.admins.list": list_account_location_admins +"/mybusiness:v3/mybusiness.accounts.locations.admins.list/name": name +"/mybusiness:v3/mybusiness.accounts.locations.associate": associate_location +"/mybusiness:v3/mybusiness.accounts.locations.associate/name": name +"/mybusiness:v3/mybusiness.accounts.locations.batchGet": batch_get_locations +"/mybusiness:v3/mybusiness.accounts.locations.batchGet/name": name +"/mybusiness:v3/mybusiness.accounts.locations.clearAssociation": clear_account_location_association +"/mybusiness:v3/mybusiness.accounts.locations.clearAssociation/name": name +"/mybusiness:v3/mybusiness.accounts.locations.create": create_account_location +"/mybusiness:v3/mybusiness.accounts.locations.create/languageCode": language_code +"/mybusiness:v3/mybusiness.accounts.locations.create/name": name +"/mybusiness:v3/mybusiness.accounts.locations.create/requestId": request_id +"/mybusiness:v3/mybusiness.accounts.locations.create/validateOnly": validate_only +"/mybusiness:v3/mybusiness.accounts.locations.delete": delete_account_location +"/mybusiness:v3/mybusiness.accounts.locations.delete/name": name +"/mybusiness:v3/mybusiness.accounts.locations.findMatches": find_account_location_matches +"/mybusiness:v3/mybusiness.accounts.locations.findMatches/name": name +"/mybusiness:v3/mybusiness.accounts.locations.get": get_account_location +"/mybusiness:v3/mybusiness.accounts.locations.get/name": name +"/mybusiness:v3/mybusiness.accounts.locations.getGoogleUpdated": get_google_updated_account_location +"/mybusiness:v3/mybusiness.accounts.locations.getGoogleUpdated/name": name +"/mybusiness:v3/mybusiness.accounts.locations.list": list_account_locations +"/mybusiness:v3/mybusiness.accounts.locations.list/filter": filter +"/mybusiness:v3/mybusiness.accounts.locations.list/name": name +"/mybusiness:v3/mybusiness.accounts.locations.list/pageSize": page_size +"/mybusiness:v3/mybusiness.accounts.locations.list/pageToken": page_token +"/mybusiness:v3/mybusiness.accounts.locations.patch": patch_account_location +"/mybusiness:v3/mybusiness.accounts.locations.patch/fieldMask": field_mask +"/mybusiness:v3/mybusiness.accounts.locations.patch/languageCode": language_code +"/mybusiness:v3/mybusiness.accounts.locations.patch/name": name +"/mybusiness:v3/mybusiness.accounts.locations.patch/validateOnly": validate_only +"/mybusiness:v3/mybusiness.accounts.locations.reviews.deleteReply": delete_reply +"/mybusiness:v3/mybusiness.accounts.locations.reviews.deleteReply/name": name +"/mybusiness:v3/mybusiness.accounts.locations.reviews.get": get_review +"/mybusiness:v3/mybusiness.accounts.locations.reviews.get/name": name +"/mybusiness:v3/mybusiness.accounts.locations.reviews.list": list_reviews +"/mybusiness:v3/mybusiness.accounts.locations.reviews.list/name": name +"/mybusiness:v3/mybusiness.accounts.locations.reviews.list/orderBy": order_by +"/mybusiness:v3/mybusiness.accounts.locations.reviews.list/pageSize": page_size +"/mybusiness:v3/mybusiness.accounts.locations.reviews.list/pageToken": page_token +"/mybusiness:v3/mybusiness.accounts.locations.reviews.reply": reply_to_review +"/mybusiness:v3/mybusiness.accounts.locations.reviews.reply/name": name +"/mybusiness:v3/mybusiness.accounts.locations.transfer": transfer_location +"/mybusiness:v3/mybusiness.accounts.locations.transfer/name": name +"/mybusiness:v3/mybusiness.accounts.update": update_account +"/mybusiness:v3/mybusiness.accounts.update/languageCode": language_code +"/mybusiness:v3/mybusiness.accounts.update/name": name +"/mybusiness:v3/mybusiness.accounts.update/validateOnly": validate_only +"/mybusiness:v3/mybusiness.attributes.list": list_attributes +"/mybusiness:v3/mybusiness.attributes.list/categoryId": category_id +"/mybusiness:v3/mybusiness.attributes.list/country": country +"/mybusiness:v3/mybusiness.attributes.list/languageCode": language_code +"/mybusiness:v3/mybusiness.attributes.list/name": name +"/mybusiness:v3/quotaUser": quota_user "/oauth2:v2/Jwk": jwk "/oauth2:v2/Jwk/keys": keys "/oauth2:v2/Jwk/keys/key": key @@ -32414,16 +33693,55 @@ "/oauth2:v2/Userinfoplus/name": name "/oauth2:v2/Userinfoplus/picture": picture "/oauth2:v2/Userinfoplus/verified_email": verified_email -"/pagespeedonline:v2/fields": fields -"/pagespeedonline:v2/key": key -"/pagespeedonline:v2/quotaUser": quota_user -"/pagespeedonline:v2/userIp": user_ip -"/pagespeedonline:v2/pagespeedonline.pagespeedapi.runpagespeed/filter_third_party_resources": filter_third_party_resources -"/pagespeedonline:v2/pagespeedonline.pagespeedapi.runpagespeed/locale": locale -"/pagespeedonline:v2/pagespeedonline.pagespeedapi.runpagespeed/rule": rule -"/pagespeedonline:v2/pagespeedonline.pagespeedapi.runpagespeed/screenshot": screenshot -"/pagespeedonline:v2/pagespeedonline.pagespeedapi.runpagespeed/strategy": strategy -"/pagespeedonline:v2/pagespeedonline.pagespeedapi.runpagespeed/url": url +"/oauth2:v2/fields": fields +"/oauth2:v2/key": key +"/oauth2:v2/oauth2.getCertForOpenIdConnect": get_cert_for_open_id_connect +"/oauth2:v2/oauth2.tokeninfo": tokeninfo +"/oauth2:v2/oauth2.tokeninfo/access_token": access_token +"/oauth2:v2/oauth2.tokeninfo/id_token": id_token +"/oauth2:v2/oauth2.tokeninfo/token_handle": token_handle +"/oauth2:v2/oauth2.userinfo.get": get_userinfo +"/oauth2:v2/oauth2.userinfo.v2.me.get": get_userinfo_v2 +"/oauth2:v2/quotaUser": quota_user +"/oauth2:v2/userIp": user_ip +"/oslogin:v1alpha/Empty": empty +"/oslogin:v1alpha/ImportSshPublicKeyResponse": import_ssh_public_key_response +"/oslogin:v1alpha/ImportSshPublicKeyResponse/loginProfile": login_profile +"/oslogin:v1alpha/LoginProfile": login_profile +"/oslogin:v1alpha/LoginProfile/name": name +"/oslogin:v1alpha/LoginProfile/posixAccounts": posix_accounts +"/oslogin:v1alpha/LoginProfile/posixAccounts/posix_account": posix_account +"/oslogin:v1alpha/LoginProfile/sshPublicKeys": ssh_public_keys +"/oslogin:v1alpha/LoginProfile/sshPublicKeys/ssh_public_key": ssh_public_key +"/oslogin:v1alpha/LoginProfile/suspended": suspended +"/oslogin:v1alpha/PosixAccount": posix_account +"/oslogin:v1alpha/PosixAccount/gecos": gecos +"/oslogin:v1alpha/PosixAccount/gid": gid +"/oslogin:v1alpha/PosixAccount/homeDirectory": home_directory +"/oslogin:v1alpha/PosixAccount/primary": primary +"/oslogin:v1alpha/PosixAccount/shell": shell +"/oslogin:v1alpha/PosixAccount/systemId": system_id +"/oslogin:v1alpha/PosixAccount/uid": uid +"/oslogin:v1alpha/PosixAccount/username": username +"/oslogin:v1alpha/SshPublicKey": ssh_public_key +"/oslogin:v1alpha/SshPublicKey/expirationTimeUsec": expiration_time_usec +"/oslogin:v1alpha/SshPublicKey/fingerprint": fingerprint +"/oslogin:v1alpha/SshPublicKey/key": key +"/oslogin:v1alpha/fields": fields +"/oslogin:v1alpha/key": key +"/oslogin:v1alpha/oslogin.users.getLoginProfile": get_user_login_profile +"/oslogin:v1alpha/oslogin.users.getLoginProfile/name": name +"/oslogin:v1alpha/oslogin.users.importSshPublicKey": import_user_ssh_public_key +"/oslogin:v1alpha/oslogin.users.importSshPublicKey/parent": parent +"/oslogin:v1alpha/oslogin.users.sshPublicKeys.delete": delete_user_ssh_public_key +"/oslogin:v1alpha/oslogin.users.sshPublicKeys.delete/name": name +"/oslogin:v1alpha/oslogin.users.sshPublicKeys.get": get_user_ssh_public_key +"/oslogin:v1alpha/oslogin.users.sshPublicKeys.get/name": name +"/oslogin:v1alpha/oslogin.users.sshPublicKeys.patch": patch_user_ssh_public_key +"/oslogin:v1alpha/oslogin.users.sshPublicKeys.patch/name": name +"/oslogin:v1alpha/oslogin.users.sshPublicKeys.patch/updateMask": update_mask +"/oslogin:v1alpha/quotaUser": quota_user +"/pagespeedonline:v2/PagespeedApiFormatStringV2": format_string "/pagespeedonline:v2/PagespeedApiFormatStringV2/args": args "/pagespeedonline:v2/PagespeedApiFormatStringV2/args/arg": arg "/pagespeedonline:v2/PagespeedApiFormatStringV2/args/arg/key": key @@ -32442,6 +33760,7 @@ "/pagespeedonline:v2/PagespeedApiFormatStringV2/args/arg/type": type "/pagespeedonline:v2/PagespeedApiFormatStringV2/args/arg/value": value "/pagespeedonline:v2/PagespeedApiFormatStringV2/format": format +"/pagespeedonline:v2/PagespeedApiImageV2": image "/pagespeedonline:v2/PagespeedApiImageV2/data": data "/pagespeedonline:v2/PagespeedApiImageV2/height": height "/pagespeedonline:v2/PagespeedApiImageV2/key": key @@ -32497,874 +33816,1004 @@ "/pagespeedonline:v2/Result/version": version "/pagespeedonline:v2/Result/version/major": major "/pagespeedonline:v2/Result/version/minor": minor -"/partners:v2/key": key -"/partners:v2/quotaUser": quota_user -"/partners:v2/fields": fields -"/partners:v2/partners.clientMessages.log": log_client_message_message -"/partners:v2/partners.exams.getToken": get_exam_token -"/partners:v2/partners.exams.getToken/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.exams.getToken/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.exams.getToken/examType": exam_type -"/partners:v2/partners.exams.getToken/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.exams.getToken/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.exams.getToken/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.exams.getToken/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.exams.getToken/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.leads.list": list_leads -"/partners:v2/partners.leads.list/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.leads.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.leads.list/orderBy": order_by -"/partners:v2/partners.leads.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.leads.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.leads.list/pageToken": page_token -"/partners:v2/partners.leads.list/pageSize": page_size -"/partners:v2/partners.leads.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.leads.list/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.leads.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.offers.list": list_offers -"/partners:v2/partners.offers.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.offers.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.offers.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.offers.list/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.offers.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.offers.list/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.offers.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.offers.history.list": list_offer_histories -"/partners:v2/partners.offers.history.list/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.offers.history.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.offers.history.list/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.offers.history.list/entireCompany": entire_company -"/partners:v2/partners.offers.history.list/orderBy": order_by -"/partners:v2/partners.offers.history.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.offers.history.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.offers.history.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.offers.history.list/pageToken": page_token -"/partners:v2/partners.offers.history.list/pageSize": page_size -"/partners:v2/partners.offers.history.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.userStates.list": list_user_states -"/partners:v2/partners.userStates.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.userStates.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.userStates.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.userStates.list/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.userStates.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.userStates.list/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.userStates.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.analytics.list": list_analytics -"/partners:v2/partners.analytics.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.analytics.list/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.analytics.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.analytics.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.analytics.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.analytics.list/pageToken": page_token -"/partners:v2/partners.analytics.list/pageSize": page_size -"/partners:v2/partners.analytics.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.analytics.list/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.getPartnersstatus": get_partnersstatus -"/partners:v2/partners.getPartnersstatus/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.getPartnersstatus/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.getPartnersstatus/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.getPartnersstatus/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.getPartnersstatus/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.getPartnersstatus/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.getPartnersstatus/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.updateLeads": update_leads -"/partners:v2/partners.updateLeads/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.updateLeads/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.updateLeads/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.updateLeads/updateMask": update_mask -"/partners:v2/partners.updateLeads/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.updateLeads/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.updateLeads/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.updateLeads/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.updateCompanies": update_companies -"/partners:v2/partners.updateCompanies/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.updateCompanies/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.updateCompanies/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.updateCompanies/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.updateCompanies/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.updateCompanies/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.updateCompanies/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.updateCompanies/updateMask": update_mask -"/partners:v2/partners.users.deleteCompanyRelation": delete_user_company_relation -"/partners:v2/partners.users.deleteCompanyRelation/userId": user_id -"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.users.createCompanyRelation": create_user_company_relation -"/partners:v2/partners.users.createCompanyRelation/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.users.createCompanyRelation/userId": user_id -"/partners:v2/partners.users.createCompanyRelation/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.users.createCompanyRelation/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.users.createCompanyRelation/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.users.createCompanyRelation/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.users.createCompanyRelation/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.users.createCompanyRelation/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.users.get": get_user -"/partners:v2/partners.users.get/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.users.get/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.users.get/userView": user_view -"/partners:v2/partners.users.get/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.users.get/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.users.get/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.users.get/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.users.get/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.users.get/userId": user_id -"/partners:v2/partners.users.updateProfile": update_user_profile -"/partners:v2/partners.users.updateProfile/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.users.updateProfile/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.users.updateProfile/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.users.updateProfile/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.users.updateProfile/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.users.updateProfile/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.users.updateProfile/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.companies.list": list_companies -"/partners:v2/partners.companies.list/maxMonthlyBudget.currencyCode": max_monthly_budget_currency_code -"/partners:v2/partners.companies.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.companies.list/minMonthlyBudget.currencyCode": min_monthly_budget_currency_code -"/partners:v2/partners.companies.list/view": view -"/partners:v2/partners.companies.list/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.companies.list/address": address -"/partners:v2/partners.companies.list/minMonthlyBudget.units": min_monthly_budget_units -"/partners:v2/partners.companies.list/maxMonthlyBudget.nanos": max_monthly_budget_nanos -"/partners:v2/partners.companies.list/services": services -"/partners:v2/partners.companies.list/maxMonthlyBudget.units": max_monthly_budget_units -"/partners:v2/partners.companies.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.companies.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.companies.list/minMonthlyBudget.nanos": min_monthly_budget_nanos -"/partners:v2/partners.companies.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.companies.list/pageToken": page_token -"/partners:v2/partners.companies.list/companyName": company_name -"/partners:v2/partners.companies.list/industries": industries -"/partners:v2/partners.companies.list/websiteUrl": website_url -"/partners:v2/partners.companies.list/gpsMotivations": gps_motivations -"/partners:v2/partners.companies.list/languageCodes": language_codes -"/partners:v2/partners.companies.list/pageSize": page_size -"/partners:v2/partners.companies.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.companies.list/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.companies.list/orderBy": order_by -"/partners:v2/partners.companies.list/specializations": specializations -"/partners:v2/partners.companies.get": get_company -"/partners:v2/partners.companies.get/view": view -"/partners:v2/partners.companies.get/address": address -"/partners:v2/partners.companies.get/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.companies.get/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.companies.get/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.companies.get/companyId": company_id -"/partners:v2/partners.companies.get/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.companies.get/currencyCode": currency_code -"/partners:v2/partners.companies.get/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.companies.get/orderBy": order_by -"/partners:v2/partners.companies.get/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.companies.get/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.companies.leads.create": create_lead -"/partners:v2/partners.companies.leads.create/companyId": company_id -"/partners:v2/partners.userEvents.log": log_user_event -"/partners:v2/LogUserEventRequest": log_user_event_request -"/partners:v2/LogUserEventRequest/eventDatas": event_datas -"/partners:v2/LogUserEventRequest/eventDatas/event_data": event_data -"/partners:v2/LogUserEventRequest/eventScope": event_scope -"/partners:v2/LogUserEventRequest/eventCategory": event_category -"/partners:v2/LogUserEventRequest/lead": lead -"/partners:v2/LogUserEventRequest/eventAction": event_action -"/partners:v2/LogUserEventRequest/url": url -"/partners:v2/LogUserEventRequest/requestMetadata": request_metadata -"/partners:v2/UserOverrides": user_overrides -"/partners:v2/UserOverrides/userId": user_id -"/partners:v2/UserOverrides/ipAddress": ip_address +"/pagespeedonline:v2/fields": fields +"/pagespeedonline:v2/key": key +"/pagespeedonline:v2/pagespeedonline.pagespeedapi.runpagespeed": run_pagespeed +"/pagespeedonline:v2/pagespeedonline.pagespeedapi.runpagespeed/filter_third_party_resources": filter_third_party_resources +"/pagespeedonline:v2/pagespeedonline.pagespeedapi.runpagespeed/locale": locale +"/pagespeedonline:v2/pagespeedonline.pagespeedapi.runpagespeed/rule": rule +"/pagespeedonline:v2/pagespeedonline.pagespeedapi.runpagespeed/screenshot": screenshot +"/pagespeedonline:v2/pagespeedonline.pagespeedapi.runpagespeed/strategy": strategy +"/pagespeedonline:v2/pagespeedonline.pagespeedapi.runpagespeed/url": url +"/pagespeedonline:v2/quotaUser": quota_user +"/pagespeedonline:v2/userIp": user_ip +"/partners:v2/AdWordsManagerAccountInfo": ad_words_manager_account_info +"/partners:v2/AdWordsManagerAccountInfo/customerName": customer_name +"/partners:v2/AdWordsManagerAccountInfo/id": id +"/partners:v2/Analytics": analytics +"/partners:v2/Analytics/contacts": contacts +"/partners:v2/Analytics/eventDate": event_date +"/partners:v2/Analytics/profileViews": profile_views +"/partners:v2/Analytics/searchViews": search_views "/partners:v2/AnalyticsDataPoint": analytics_data_point "/partners:v2/AnalyticsDataPoint/eventCount": event_count "/partners:v2/AnalyticsDataPoint/eventLocations": event_locations "/partners:v2/AnalyticsDataPoint/eventLocations/event_location": event_location -"/partners:v2/Analytics": analytics -"/partners:v2/Analytics/searchViews": search_views -"/partners:v2/Analytics/profileViews": profile_views -"/partners:v2/Analytics/eventDate": event_date -"/partners:v2/Analytics/contacts": contacts -"/partners:v2/AdWordsManagerAccountInfo": ad_words_manager_account_info -"/partners:v2/AdWordsManagerAccountInfo/customerName": customer_name -"/partners:v2/AdWordsManagerAccountInfo/id": id -"/partners:v2/PublicProfile": public_profile -"/partners:v2/PublicProfile/url": url -"/partners:v2/PublicProfile/id": id -"/partners:v2/PublicProfile/profileImage": profile_image -"/partners:v2/PublicProfile/displayImageUrl": display_image_url -"/partners:v2/PublicProfile/displayName": display_name -"/partners:v2/ResponseMetadata": response_metadata -"/partners:v2/ResponseMetadata/debugInfo": debug_info -"/partners:v2/RecaptchaChallenge": recaptcha_challenge -"/partners:v2/RecaptchaChallenge/id": id -"/partners:v2/RecaptchaChallenge/response": response +"/partners:v2/AnalyticsSummary": analytics_summary +"/partners:v2/AnalyticsSummary/contactsCount": contacts_count +"/partners:v2/AnalyticsSummary/profileViewsCount": profile_views_count +"/partners:v2/AnalyticsSummary/searchViewsCount": search_views_count "/partners:v2/AvailableOffer": available_offer -"/partners:v2/AvailableOffer/terms": terms -"/partners:v2/AvailableOffer/showSpecialOfferCopy": show_special_offer_copy "/partners:v2/AvailableOffer/available": available -"/partners:v2/AvailableOffer/description": description -"/partners:v2/AvailableOffer/offerLevel": offer_level -"/partners:v2/AvailableOffer/name": name -"/partners:v2/AvailableOffer/qualifiedCustomersComplete": qualified_customers_complete -"/partners:v2/AvailableOffer/id": id "/partners:v2/AvailableOffer/countryOfferInfos": country_offer_infos "/partners:v2/AvailableOffer/countryOfferInfos/country_offer_info": country_offer_info -"/partners:v2/AvailableOffer/offerType": offer_type +"/partners:v2/AvailableOffer/description": description +"/partners:v2/AvailableOffer/id": id "/partners:v2/AvailableOffer/maxAccountAge": max_account_age +"/partners:v2/AvailableOffer/name": name +"/partners:v2/AvailableOffer/offerLevel": offer_level +"/partners:v2/AvailableOffer/offerType": offer_type "/partners:v2/AvailableOffer/qualifiedCustomer": qualified_customer "/partners:v2/AvailableOffer/qualifiedCustomer/qualified_customer": qualified_customer +"/partners:v2/AvailableOffer/qualifiedCustomersComplete": qualified_customers_complete +"/partners:v2/AvailableOffer/showSpecialOfferCopy": show_special_offer_copy +"/partners:v2/AvailableOffer/terms": terms +"/partners:v2/Certification": certification +"/partners:v2/Certification/achieved": achieved +"/partners:v2/Certification/certificationType": certification_type +"/partners:v2/Certification/expiration": expiration +"/partners:v2/Certification/lastAchieved": last_achieved +"/partners:v2/Certification/warning": warning +"/partners:v2/CertificationExamStatus": certification_exam_status +"/partners:v2/CertificationExamStatus/numberUsersPass": number_users_pass +"/partners:v2/CertificationExamStatus/type": type +"/partners:v2/CertificationStatus": certification_status +"/partners:v2/CertificationStatus/examStatuses": exam_statuses +"/partners:v2/CertificationStatus/examStatuses/exam_status": exam_status +"/partners:v2/CertificationStatus/isCertified": is_certified +"/partners:v2/CertificationStatus/type": type +"/partners:v2/CertificationStatus/userCount": user_count +"/partners:v2/Company": company +"/partners:v2/Company/additionalWebsites": additional_websites +"/partners:v2/Company/additionalWebsites/additional_website": additional_website +"/partners:v2/Company/autoApprovalEmailDomains": auto_approval_email_domains +"/partners:v2/Company/autoApprovalEmailDomains/auto_approval_email_domain": auto_approval_email_domain +"/partners:v2/Company/badgeTier": badge_tier +"/partners:v2/Company/certificationStatuses": certification_statuses +"/partners:v2/Company/certificationStatuses/certification_status": certification_status +"/partners:v2/Company/companyTypes": company_types +"/partners:v2/Company/companyTypes/company_type": company_type +"/partners:v2/Company/convertedMinMonthlyBudget": converted_min_monthly_budget +"/partners:v2/Company/id": id +"/partners:v2/Company/industries": industries +"/partners:v2/Company/industries/industry": industry +"/partners:v2/Company/localizedInfos": localized_infos +"/partners:v2/Company/localizedInfos/localized_info": localized_info +"/partners:v2/Company/locations": locations +"/partners:v2/Company/locations/location": location +"/partners:v2/Company/name": name +"/partners:v2/Company/originalMinMonthlyBudget": original_min_monthly_budget +"/partners:v2/Company/primaryAdwordsManagerAccountId": primary_adwords_manager_account_id +"/partners:v2/Company/primaryLanguageCode": primary_language_code +"/partners:v2/Company/primaryLocation": primary_location +"/partners:v2/Company/profileStatus": profile_status +"/partners:v2/Company/publicProfile": public_profile +"/partners:v2/Company/ranks": ranks +"/partners:v2/Company/ranks/rank": rank +"/partners:v2/Company/services": services +"/partners:v2/Company/services/service": service +"/partners:v2/Company/specializationStatus": specialization_status +"/partners:v2/Company/specializationStatus/specialization_status": specialization_status +"/partners:v2/Company/websiteUrl": website_url +"/partners:v2/CompanyRelation": company_relation +"/partners:v2/CompanyRelation/address": address +"/partners:v2/CompanyRelation/badgeTier": badge_tier +"/partners:v2/CompanyRelation/companyAdmin": company_admin +"/partners:v2/CompanyRelation/companyId": company_id +"/partners:v2/CompanyRelation/creationTime": creation_time +"/partners:v2/CompanyRelation/internalCompanyId": internal_company_id +"/partners:v2/CompanyRelation/isPending": is_pending +"/partners:v2/CompanyRelation/logoUrl": logo_url +"/partners:v2/CompanyRelation/managerAccount": manager_account +"/partners:v2/CompanyRelation/name": name +"/partners:v2/CompanyRelation/phoneNumber": phone_number +"/partners:v2/CompanyRelation/primaryAddress": primary_address +"/partners:v2/CompanyRelation/primaryCountryCode": primary_country_code +"/partners:v2/CompanyRelation/primaryLanguageCode": primary_language_code +"/partners:v2/CompanyRelation/resolvedTimestamp": resolved_timestamp +"/partners:v2/CompanyRelation/segment": segment +"/partners:v2/CompanyRelation/segment/segment": segment +"/partners:v2/CompanyRelation/specializationStatus": specialization_status +"/partners:v2/CompanyRelation/specializationStatus/specialization_status": specialization_status +"/partners:v2/CompanyRelation/state": state +"/partners:v2/CompanyRelation/website": website +"/partners:v2/CountryOfferInfo": country_offer_info +"/partners:v2/CountryOfferInfo/getYAmount": get_y_amount +"/partners:v2/CountryOfferInfo/offerCountryCode": offer_country_code +"/partners:v2/CountryOfferInfo/offerType": offer_type +"/partners:v2/CountryOfferInfo/spendXAmount": spend_x_amount +"/partners:v2/CreateLeadRequest": create_lead_request +"/partners:v2/CreateLeadRequest/lead": lead +"/partners:v2/CreateLeadRequest/recaptchaChallenge": recaptcha_challenge +"/partners:v2/CreateLeadRequest/requestMetadata": request_metadata +"/partners:v2/CreateLeadResponse": create_lead_response +"/partners:v2/CreateLeadResponse/lead": lead +"/partners:v2/CreateLeadResponse/recaptchaStatus": recaptcha_status +"/partners:v2/CreateLeadResponse/responseMetadata": response_metadata +"/partners:v2/Date": date +"/partners:v2/Date/day": day +"/partners:v2/Date/month": month +"/partners:v2/Date/year": year +"/partners:v2/DebugInfo": debug_info +"/partners:v2/DebugInfo/serverInfo": server_info +"/partners:v2/DebugInfo/serverTraceInfo": server_trace_info +"/partners:v2/DebugInfo/serviceUrl": service_url +"/partners:v2/Empty": empty +"/partners:v2/EventData": event_data +"/partners:v2/EventData/key": key +"/partners:v2/EventData/values": values +"/partners:v2/EventData/values/value": value +"/partners:v2/ExamStatus": exam_status +"/partners:v2/ExamStatus/examType": exam_type +"/partners:v2/ExamStatus/expiration": expiration +"/partners:v2/ExamStatus/lastPassed": last_passed +"/partners:v2/ExamStatus/passed": passed +"/partners:v2/ExamStatus/taken": taken +"/partners:v2/ExamStatus/warning": warning +"/partners:v2/ExamToken": exam_token +"/partners:v2/ExamToken/examId": exam_id +"/partners:v2/ExamToken/examType": exam_type +"/partners:v2/ExamToken/token": token +"/partners:v2/GetCompanyResponse": get_company_response +"/partners:v2/GetCompanyResponse/company": company +"/partners:v2/GetCompanyResponse/responseMetadata": response_metadata +"/partners:v2/GetPartnersStatusResponse": get_partners_status_response +"/partners:v2/GetPartnersStatusResponse/responseMetadata": response_metadata +"/partners:v2/HistoricalOffer": historical_offer +"/partners:v2/HistoricalOffer/adwordsUrl": adwords_url +"/partners:v2/HistoricalOffer/clientEmail": client_email +"/partners:v2/HistoricalOffer/clientId": client_id +"/partners:v2/HistoricalOffer/clientName": client_name +"/partners:v2/HistoricalOffer/creationTime": creation_time +"/partners:v2/HistoricalOffer/expirationTime": expiration_time +"/partners:v2/HistoricalOffer/lastModifiedTime": last_modified_time +"/partners:v2/HistoricalOffer/offerCode": offer_code +"/partners:v2/HistoricalOffer/offerCountryCode": offer_country_code +"/partners:v2/HistoricalOffer/offerType": offer_type +"/partners:v2/HistoricalOffer/senderName": sender_name +"/partners:v2/HistoricalOffer/status": status "/partners:v2/LatLng": lat_lng "/partners:v2/LatLng/latitude": latitude "/partners:v2/LatLng/longitude": longitude -"/partners:v2/Money": money -"/partners:v2/Money/nanos": nanos -"/partners:v2/Money/units": units -"/partners:v2/Money/currencyCode": currency_code -"/partners:v2/AnalyticsSummary": analytics_summary -"/partners:v2/AnalyticsSummary/profileViewsCount": profile_views_count -"/partners:v2/AnalyticsSummary/searchViewsCount": search_views_count -"/partners:v2/AnalyticsSummary/contactsCount": contacts_count -"/partners:v2/LogMessageRequest": log_message_request -"/partners:v2/LogMessageRequest/clientInfo": client_info -"/partners:v2/LogMessageRequest/clientInfo/client_info": client_info -"/partners:v2/LogMessageRequest/requestMetadata": request_metadata -"/partners:v2/LogMessageRequest/level": level -"/partners:v2/LogMessageRequest/details": details -"/partners:v2/DebugInfo": debug_info -"/partners:v2/DebugInfo/serverTraceInfo": server_trace_info -"/partners:v2/DebugInfo/serverInfo": server_info -"/partners:v2/DebugInfo/serviceUrl": service_url "/partners:v2/Lead": lead -"/partners:v2/Lead/familyName": family_name -"/partners:v2/Lead/comments": comments -"/partners:v2/Lead/id": id "/partners:v2/Lead/adwordsCustomerId": adwords_customer_id -"/partners:v2/Lead/phoneNumber": phone_number +"/partners:v2/Lead/comments": comments "/partners:v2/Lead/createTime": create_time -"/partners:v2/Lead/marketingOptIn": marketing_opt_in -"/partners:v2/Lead/type": type -"/partners:v2/Lead/minMonthlyBudget": min_monthly_budget +"/partners:v2/Lead/email": email +"/partners:v2/Lead/familyName": family_name "/partners:v2/Lead/givenName": given_name -"/partners:v2/Lead/languageCode": language_code -"/partners:v2/Lead/websiteUrl": website_url -"/partners:v2/Lead/state": state "/partners:v2/Lead/gpsMotivations": gps_motivations "/partners:v2/Lead/gpsMotivations/gps_motivation": gps_motivation -"/partners:v2/Lead/email": email +"/partners:v2/Lead/id": id +"/partners:v2/Lead/languageCode": language_code +"/partners:v2/Lead/marketingOptIn": marketing_opt_in +"/partners:v2/Lead/minMonthlyBudget": min_monthly_budget +"/partners:v2/Lead/phoneNumber": phone_number +"/partners:v2/Lead/state": state +"/partners:v2/Lead/type": type +"/partners:v2/Lead/websiteUrl": website_url +"/partners:v2/ListAnalyticsResponse": list_analytics_response +"/partners:v2/ListAnalyticsResponse/analytics": analytics +"/partners:v2/ListAnalyticsResponse/analytics/analytic": analytic +"/partners:v2/ListAnalyticsResponse/analyticsSummary": analytics_summary +"/partners:v2/ListAnalyticsResponse/nextPageToken": next_page_token +"/partners:v2/ListAnalyticsResponse/responseMetadata": response_metadata +"/partners:v2/ListCompaniesResponse": list_companies_response +"/partners:v2/ListCompaniesResponse/companies": companies +"/partners:v2/ListCompaniesResponse/companies/company": company +"/partners:v2/ListCompaniesResponse/nextPageToken": next_page_token +"/partners:v2/ListCompaniesResponse/responseMetadata": response_metadata +"/partners:v2/ListLeadsResponse": list_leads_response +"/partners:v2/ListLeadsResponse/leads": leads +"/partners:v2/ListLeadsResponse/leads/lead": lead +"/partners:v2/ListLeadsResponse/nextPageToken": next_page_token +"/partners:v2/ListLeadsResponse/responseMetadata": response_metadata +"/partners:v2/ListLeadsResponse/totalSize": total_size +"/partners:v2/ListOffersHistoryResponse": list_offers_history_response +"/partners:v2/ListOffersHistoryResponse/canShowEntireCompany": can_show_entire_company +"/partners:v2/ListOffersHistoryResponse/nextPageToken": next_page_token +"/partners:v2/ListOffersHistoryResponse/offers": offers +"/partners:v2/ListOffersHistoryResponse/offers/offer": offer +"/partners:v2/ListOffersHistoryResponse/responseMetadata": response_metadata +"/partners:v2/ListOffersHistoryResponse/showingEntireCompany": showing_entire_company +"/partners:v2/ListOffersHistoryResponse/totalResults": total_results +"/partners:v2/ListOffersResponse": list_offers_response +"/partners:v2/ListOffersResponse/availableOffers": available_offers +"/partners:v2/ListOffersResponse/availableOffers/available_offer": available_offer +"/partners:v2/ListOffersResponse/noOfferReason": no_offer_reason +"/partners:v2/ListOffersResponse/responseMetadata": response_metadata "/partners:v2/ListUserStatesResponse": list_user_states_response "/partners:v2/ListUserStatesResponse/responseMetadata": response_metadata "/partners:v2/ListUserStatesResponse/userStates": user_states "/partners:v2/ListUserStatesResponse/userStates/user_state": user_state -"/partners:v2/CompanyRelation": company_relation -"/partners:v2/CompanyRelation/logoUrl": logo_url -"/partners:v2/CompanyRelation/resolvedTimestamp": resolved_timestamp -"/partners:v2/CompanyRelation/companyAdmin": company_admin -"/partners:v2/CompanyRelation/isPending": is_pending -"/partners:v2/CompanyRelation/address": address -"/partners:v2/CompanyRelation/creationTime": creation_time -"/partners:v2/CompanyRelation/primaryAddress": primary_address -"/partners:v2/CompanyRelation/state": state -"/partners:v2/CompanyRelation/name": name -"/partners:v2/CompanyRelation/managerAccount": manager_account -"/partners:v2/CompanyRelation/segment": segment -"/partners:v2/CompanyRelation/segment/segment": segment -"/partners:v2/CompanyRelation/internalCompanyId": internal_company_id -"/partners:v2/CompanyRelation/specializationStatus": specialization_status -"/partners:v2/CompanyRelation/specializationStatus/specialization_status": specialization_status -"/partners:v2/CompanyRelation/badgeTier": badge_tier -"/partners:v2/CompanyRelation/website": website -"/partners:v2/CompanyRelation/phoneNumber": phone_number -"/partners:v2/CompanyRelation/primaryCountryCode": primary_country_code -"/partners:v2/CompanyRelation/companyId": company_id -"/partners:v2/CompanyRelation/primaryLanguageCode": primary_language_code -"/partners:v2/Date": date -"/partners:v2/Date/day": day -"/partners:v2/Date/year": year -"/partners:v2/Date/month": month -"/partners:v2/Empty": empty -"/partners:v2/TrafficSource": traffic_source -"/partners:v2/TrafficSource/trafficSourceId": traffic_source_id -"/partners:v2/TrafficSource/trafficSubId": traffic_sub_id -"/partners:v2/RequestMetadata": request_metadata -"/partners:v2/RequestMetadata/locale": locale -"/partners:v2/RequestMetadata/partnersSessionId": partners_session_id -"/partners:v2/RequestMetadata/userOverrides": user_overrides -"/partners:v2/RequestMetadata/trafficSource": traffic_source -"/partners:v2/RequestMetadata/experimentIds": experiment_ids -"/partners:v2/RequestMetadata/experimentIds/experiment_id": experiment_id -"/partners:v2/CreateLeadRequest": create_lead_request -"/partners:v2/CreateLeadRequest/requestMetadata": request_metadata -"/partners:v2/CreateLeadRequest/recaptchaChallenge": recaptcha_challenge -"/partners:v2/CreateLeadRequest/lead": lead -"/partners:v2/EventData": event_data -"/partners:v2/EventData/values": values -"/partners:v2/EventData/values/value": value -"/partners:v2/EventData/key": key -"/partners:v2/ExamStatus": exam_status -"/partners:v2/ExamStatus/taken": taken -"/partners:v2/ExamStatus/passed": passed -"/partners:v2/ExamStatus/warning": warning -"/partners:v2/ExamStatus/expiration": expiration -"/partners:v2/ExamStatus/lastPassed": last_passed -"/partners:v2/ExamStatus/examType": exam_type -"/partners:v2/ListOffersResponse": list_offers_response -"/partners:v2/ListOffersResponse/responseMetadata": response_metadata -"/partners:v2/ListOffersResponse/noOfferReason": no_offer_reason -"/partners:v2/ListOffersResponse/availableOffers": available_offers -"/partners:v2/ListOffersResponse/availableOffers/available_offer": available_offer -"/partners:v2/CountryOfferInfo": country_offer_info -"/partners:v2/CountryOfferInfo/offerType": offer_type -"/partners:v2/CountryOfferInfo/getYAmount": get_y_amount -"/partners:v2/CountryOfferInfo/spendXAmount": spend_x_amount -"/partners:v2/CountryOfferInfo/offerCountryCode": offer_country_code -"/partners:v2/ListCompaniesResponse": list_companies_response -"/partners:v2/ListCompaniesResponse/nextPageToken": next_page_token -"/partners:v2/ListCompaniesResponse/responseMetadata": response_metadata -"/partners:v2/ListCompaniesResponse/companies": companies -"/partners:v2/ListCompaniesResponse/companies/company": company -"/partners:v2/OfferCustomer": offer_customer -"/partners:v2/OfferCustomer/adwordsUrl": adwords_url -"/partners:v2/OfferCustomer/eligibilityDaysLeft": eligibility_days_left -"/partners:v2/OfferCustomer/creationTime": creation_time -"/partners:v2/OfferCustomer/countryCode": country_code -"/partners:v2/OfferCustomer/externalCid": external_cid -"/partners:v2/OfferCustomer/offerType": offer_type -"/partners:v2/OfferCustomer/getYAmount": get_y_amount -"/partners:v2/OfferCustomer/name": name -"/partners:v2/OfferCustomer/spendXAmount": spend_x_amount -"/partners:v2/CertificationStatus": certification_status -"/partners:v2/CertificationStatus/type": type -"/partners:v2/CertificationStatus/userCount": user_count -"/partners:v2/CertificationStatus/isCertified": is_certified -"/partners:v2/CertificationStatus/examStatuses": exam_statuses -"/partners:v2/CertificationStatus/examStatuses/exam_status": exam_status "/partners:v2/LocalizedCompanyInfo": localized_company_info -"/partners:v2/LocalizedCompanyInfo/displayName": display_name -"/partners:v2/LocalizedCompanyInfo/languageCode": language_code "/partners:v2/LocalizedCompanyInfo/countryCodes": country_codes "/partners:v2/LocalizedCompanyInfo/countryCodes/country_code": country_code +"/partners:v2/LocalizedCompanyInfo/displayName": display_name +"/partners:v2/LocalizedCompanyInfo/languageCode": language_code "/partners:v2/LocalizedCompanyInfo/overview": overview -"/partners:v2/LogUserEventResponse": log_user_event_response -"/partners:v2/LogUserEventResponse/responseMetadata": response_metadata -"/partners:v2/ListOffersHistoryResponse": list_offers_history_response -"/partners:v2/ListOffersHistoryResponse/nextPageToken": next_page_token -"/partners:v2/ListOffersHistoryResponse/responseMetadata": response_metadata -"/partners:v2/ListOffersHistoryResponse/canShowEntireCompany": can_show_entire_company -"/partners:v2/ListOffersHistoryResponse/totalResults": total_results -"/partners:v2/ListOffersHistoryResponse/showingEntireCompany": showing_entire_company -"/partners:v2/ListOffersHistoryResponse/offers": offers -"/partners:v2/ListOffersHistoryResponse/offers/offer": offer -"/partners:v2/LogMessageResponse": log_message_response -"/partners:v2/LogMessageResponse/responseMetadata": response_metadata -"/partners:v2/SpecializationStatus": specialization_status -"/partners:v2/SpecializationStatus/badgeSpecialization": badge_specialization -"/partners:v2/SpecializationStatus/badgeSpecializationState": badge_specialization_state -"/partners:v2/Certification": certification -"/partners:v2/Certification/lastAchieved": last_achieved -"/partners:v2/Certification/warning": warning -"/partners:v2/Certification/expiration": expiration -"/partners:v2/Certification/achieved": achieved -"/partners:v2/Certification/certificationType": certification_type -"/partners:v2/User": user -"/partners:v2/User/primaryEmails": primary_emails -"/partners:v2/User/primaryEmails/primary_email": primary_email -"/partners:v2/User/availableAdwordsManagerAccounts": available_adwords_manager_accounts -"/partners:v2/User/availableAdwordsManagerAccounts/available_adwords_manager_account": available_adwords_manager_account -"/partners:v2/User/internalId": internal_id -"/partners:v2/User/examStatus": exam_status -"/partners:v2/User/examStatus/exam_status": exam_status -"/partners:v2/User/id": id -"/partners:v2/User/publicProfile": public_profile -"/partners:v2/User/companyVerificationEmail": company_verification_email -"/partners:v2/User/certificationStatus": certification_status -"/partners:v2/User/certificationStatus/certification_status": certification_status -"/partners:v2/User/profile": profile -"/partners:v2/User/company": company -"/partners:v2/User/lastAccessTime": last_access_time -"/partners:v2/ListAnalyticsResponse": list_analytics_response -"/partners:v2/ListAnalyticsResponse/nextPageToken": next_page_token -"/partners:v2/ListAnalyticsResponse/analyticsSummary": analytics_summary -"/partners:v2/ListAnalyticsResponse/responseMetadata": response_metadata -"/partners:v2/ListAnalyticsResponse/analytics": analytics -"/partners:v2/ListAnalyticsResponse/analytics/analytic": analytic -"/partners:v2/ListLeadsResponse": list_leads_response -"/partners:v2/ListLeadsResponse/nextPageToken": next_page_token -"/partners:v2/ListLeadsResponse/totalSize": total_size -"/partners:v2/ListLeadsResponse/responseMetadata": response_metadata -"/partners:v2/ListLeadsResponse/leads": leads -"/partners:v2/ListLeadsResponse/leads/lead": lead -"/partners:v2/Company": company -"/partners:v2/Company/locations": locations -"/partners:v2/Company/locations/location": location -"/partners:v2/Company/convertedMinMonthlyBudget": converted_min_monthly_budget -"/partners:v2/Company/industries": industries -"/partners:v2/Company/industries/industry": industry -"/partners:v2/Company/additionalWebsites": additional_websites -"/partners:v2/Company/additionalWebsites/additional_website": additional_website -"/partners:v2/Company/websiteUrl": website_url -"/partners:v2/Company/primaryAdwordsManagerAccountId": primary_adwords_manager_account_id -"/partners:v2/Company/name": name -"/partners:v2/Company/localizedInfos": localized_infos -"/partners:v2/Company/localizedInfos/localized_info": localized_info -"/partners:v2/Company/certificationStatuses": certification_statuses -"/partners:v2/Company/certificationStatuses/certification_status": certification_status -"/partners:v2/Company/id": id -"/partners:v2/Company/originalMinMonthlyBudget": original_min_monthly_budget -"/partners:v2/Company/publicProfile": public_profile -"/partners:v2/Company/services": services -"/partners:v2/Company/services/service": service -"/partners:v2/Company/primaryLocation": primary_location -"/partners:v2/Company/ranks": ranks -"/partners:v2/Company/ranks/rank": rank -"/partners:v2/Company/badgeTier": badge_tier -"/partners:v2/Company/specializationStatus": specialization_status -"/partners:v2/Company/specializationStatus/specialization_status": specialization_status -"/partners:v2/Company/autoApprovalEmailDomains": auto_approval_email_domains -"/partners:v2/Company/autoApprovalEmailDomains/auto_approval_email_domain": auto_approval_email_domain -"/partners:v2/Company/companyTypes": company_types -"/partners:v2/Company/companyTypes/company_type": company_type -"/partners:v2/Company/profileStatus": profile_status -"/partners:v2/Company/primaryLanguageCode": primary_language_code -"/partners:v2/CreateLeadResponse": create_lead_response -"/partners:v2/CreateLeadResponse/responseMetadata": response_metadata -"/partners:v2/CreateLeadResponse/recaptchaStatus": recaptcha_status -"/partners:v2/CreateLeadResponse/lead": lead -"/partners:v2/GetCompanyResponse": get_company_response -"/partners:v2/GetCompanyResponse/responseMetadata": response_metadata -"/partners:v2/GetCompanyResponse/company": company "/partners:v2/Location": location -"/partners:v2/Location/administrativeArea": administrative_area -"/partners:v2/Location/locality": locality -"/partners:v2/Location/latLng": lat_lng "/partners:v2/Location/address": address -"/partners:v2/Location/regionCode": region_code -"/partners:v2/Location/dependentLocality": dependent_locality -"/partners:v2/Location/postalCode": postal_code -"/partners:v2/Location/languageCode": language_code -"/partners:v2/Location/sortingCode": sorting_code "/partners:v2/Location/addressLine": address_line "/partners:v2/Location/addressLine/address_line": address_line -"/partners:v2/CertificationExamStatus": certification_exam_status -"/partners:v2/CertificationExamStatus/numberUsersPass": number_users_pass -"/partners:v2/CertificationExamStatus/type": type -"/partners:v2/ExamToken": exam_token -"/partners:v2/ExamToken/examId": exam_id -"/partners:v2/ExamToken/token": token -"/partners:v2/ExamToken/examType": exam_type +"/partners:v2/Location/administrativeArea": administrative_area +"/partners:v2/Location/dependentLocality": dependent_locality +"/partners:v2/Location/languageCode": language_code +"/partners:v2/Location/latLng": lat_lng +"/partners:v2/Location/locality": locality +"/partners:v2/Location/postalCode": postal_code +"/partners:v2/Location/regionCode": region_code +"/partners:v2/Location/sortingCode": sorting_code +"/partners:v2/LogMessageRequest": log_message_request +"/partners:v2/LogMessageRequest/clientInfo": client_info +"/partners:v2/LogMessageRequest/clientInfo/client_info": client_info +"/partners:v2/LogMessageRequest/details": details +"/partners:v2/LogMessageRequest/level": level +"/partners:v2/LogMessageRequest/requestMetadata": request_metadata +"/partners:v2/LogMessageResponse": log_message_response +"/partners:v2/LogMessageResponse/responseMetadata": response_metadata +"/partners:v2/LogUserEventRequest": log_user_event_request +"/partners:v2/LogUserEventRequest/eventAction": event_action +"/partners:v2/LogUserEventRequest/eventCategory": event_category +"/partners:v2/LogUserEventRequest/eventDatas": event_datas +"/partners:v2/LogUserEventRequest/eventDatas/event_data": event_data +"/partners:v2/LogUserEventRequest/eventScope": event_scope +"/partners:v2/LogUserEventRequest/lead": lead +"/partners:v2/LogUserEventRequest/requestMetadata": request_metadata +"/partners:v2/LogUserEventRequest/url": url +"/partners:v2/LogUserEventResponse": log_user_event_response +"/partners:v2/LogUserEventResponse/responseMetadata": response_metadata +"/partners:v2/Money": money +"/partners:v2/Money/currencyCode": currency_code +"/partners:v2/Money/nanos": nanos +"/partners:v2/Money/units": units +"/partners:v2/OfferCustomer": offer_customer +"/partners:v2/OfferCustomer/adwordsUrl": adwords_url +"/partners:v2/OfferCustomer/countryCode": country_code +"/partners:v2/OfferCustomer/creationTime": creation_time +"/partners:v2/OfferCustomer/eligibilityDaysLeft": eligibility_days_left +"/partners:v2/OfferCustomer/externalCid": external_cid +"/partners:v2/OfferCustomer/getYAmount": get_y_amount +"/partners:v2/OfferCustomer/name": name +"/partners:v2/OfferCustomer/offerType": offer_type +"/partners:v2/OfferCustomer/spendXAmount": spend_x_amount "/partners:v2/OptIns": opt_ins "/partners:v2/OptIns/marketComm": market_comm -"/partners:v2/OptIns/specialOffers": special_offers "/partners:v2/OptIns/performanceSuggestions": performance_suggestions "/partners:v2/OptIns/phoneContact": phone_contact "/partners:v2/OptIns/physicalMail": physical_mail +"/partners:v2/OptIns/specialOffers": special_offers +"/partners:v2/PublicProfile": public_profile +"/partners:v2/PublicProfile/displayImageUrl": display_image_url +"/partners:v2/PublicProfile/displayName": display_name +"/partners:v2/PublicProfile/id": id +"/partners:v2/PublicProfile/profileImage": profile_image +"/partners:v2/PublicProfile/url": url "/partners:v2/Rank": rank -"/partners:v2/Rank/value": value "/partners:v2/Rank/type": type +"/partners:v2/Rank/value": value +"/partners:v2/RecaptchaChallenge": recaptcha_challenge +"/partners:v2/RecaptchaChallenge/id": id +"/partners:v2/RecaptchaChallenge/response": response +"/partners:v2/RequestMetadata": request_metadata +"/partners:v2/RequestMetadata/experimentIds": experiment_ids +"/partners:v2/RequestMetadata/experimentIds/experiment_id": experiment_id +"/partners:v2/RequestMetadata/locale": locale +"/partners:v2/RequestMetadata/partnersSessionId": partners_session_id +"/partners:v2/RequestMetadata/trafficSource": traffic_source +"/partners:v2/RequestMetadata/userOverrides": user_overrides +"/partners:v2/ResponseMetadata": response_metadata +"/partners:v2/ResponseMetadata/debugInfo": debug_info +"/partners:v2/SpecializationStatus": specialization_status +"/partners:v2/SpecializationStatus/badgeSpecialization": badge_specialization +"/partners:v2/SpecializationStatus/badgeSpecializationState": badge_specialization_state +"/partners:v2/TrafficSource": traffic_source +"/partners:v2/TrafficSource/trafficSourceId": traffic_source_id +"/partners:v2/TrafficSource/trafficSubId": traffic_sub_id +"/partners:v2/User": user +"/partners:v2/User/availableAdwordsManagerAccounts": available_adwords_manager_accounts +"/partners:v2/User/availableAdwordsManagerAccounts/available_adwords_manager_account": available_adwords_manager_account +"/partners:v2/User/certificationStatus": certification_status +"/partners:v2/User/certificationStatus/certification_status": certification_status +"/partners:v2/User/company": company +"/partners:v2/User/companyVerificationEmail": company_verification_email +"/partners:v2/User/examStatus": exam_status +"/partners:v2/User/examStatus/exam_status": exam_status +"/partners:v2/User/id": id +"/partners:v2/User/internalId": internal_id +"/partners:v2/User/lastAccessTime": last_access_time +"/partners:v2/User/primaryEmails": primary_emails +"/partners:v2/User/primaryEmails/primary_email": primary_email +"/partners:v2/User/profile": profile +"/partners:v2/User/publicProfile": public_profile +"/partners:v2/UserOverrides": user_overrides +"/partners:v2/UserOverrides/ipAddress": ip_address +"/partners:v2/UserOverrides/userId": user_id "/partners:v2/UserProfile": user_profile +"/partners:v2/UserProfile/address": address +"/partners:v2/UserProfile/adwordsManagerAccount": adwords_manager_account +"/partners:v2/UserProfile/channels": channels +"/partners:v2/UserProfile/channels/channel": channel +"/partners:v2/UserProfile/emailAddress": email_address +"/partners:v2/UserProfile/emailOptIns": email_opt_ins +"/partners:v2/UserProfile/familyName": family_name +"/partners:v2/UserProfile/givenName": given_name +"/partners:v2/UserProfile/industries": industries +"/partners:v2/UserProfile/industries/industry": industry +"/partners:v2/UserProfile/jobFunctions": job_functions +"/partners:v2/UserProfile/jobFunctions/job_function": job_function "/partners:v2/UserProfile/languages": languages "/partners:v2/UserProfile/languages/language": language -"/partners:v2/UserProfile/familyName": family_name -"/partners:v2/UserProfile/emailOptIns": email_opt_ins "/partners:v2/UserProfile/markets": markets "/partners:v2/UserProfile/markets/market": market "/partners:v2/UserProfile/phoneNumber": phone_number -"/partners:v2/UserProfile/adwordsManagerAccount": adwords_manager_account "/partners:v2/UserProfile/primaryCountryCode": primary_country_code -"/partners:v2/UserProfile/emailAddress": email_address -"/partners:v2/UserProfile/channels": channels -"/partners:v2/UserProfile/channels/channel": channel "/partners:v2/UserProfile/profilePublic": profile_public -"/partners:v2/UserProfile/jobFunctions": job_functions -"/partners:v2/UserProfile/jobFunctions/job_function": job_function -"/partners:v2/UserProfile/givenName": given_name -"/partners:v2/UserProfile/address": address -"/partners:v2/UserProfile/industries": industries -"/partners:v2/UserProfile/industries/industry": industry -"/partners:v2/GetPartnersStatusResponse": get_partners_status_response -"/partners:v2/GetPartnersStatusResponse/responseMetadata": response_metadata -"/partners:v2/HistoricalOffer": historical_offer -"/partners:v2/HistoricalOffer/expirationTime": expiration_time -"/partners:v2/HistoricalOffer/offerCode": offer_code -"/partners:v2/HistoricalOffer/creationTime": creation_time -"/partners:v2/HistoricalOffer/status": status -"/partners:v2/HistoricalOffer/clientEmail": client_email -"/partners:v2/HistoricalOffer/clientId": client_id -"/partners:v2/HistoricalOffer/clientName": client_name -"/partners:v2/HistoricalOffer/lastModifiedTime": last_modified_time -"/partners:v2/HistoricalOffer/adwordsUrl": adwords_url -"/partners:v2/HistoricalOffer/offerType": offer_type -"/partners:v2/HistoricalOffer/senderName": sender_name -"/partners:v2/HistoricalOffer/offerCountryCode": offer_country_code -"/people:v1/quotaUser": quota_user -"/people:v1/fields": fields -"/people:v1/key": key -"/people:v1/people.contactGroups.delete": delete_contact_group -"/people:v1/people.contactGroups.delete/resourceName": resource_name -"/people:v1/people.contactGroups.delete/deleteContacts": delete_contacts -"/people:v1/people.contactGroups.batchGet": batch_contact_group_get -"/people:v1/people.contactGroups.batchGet/resourceNames": resource_names -"/people:v1/people.contactGroups.batchGet/maxMembers": max_members -"/people:v1/people.contactGroups.list": list_contact_groups -"/people:v1/people.contactGroups.list/syncToken": sync_token -"/people:v1/people.contactGroups.list/pageToken": page_token -"/people:v1/people.contactGroups.list/pageSize": page_size -"/people:v1/people.contactGroups.create": create_contact_group -"/people:v1/people.contactGroups.get": get_contact_group -"/people:v1/people.contactGroups.get/maxMembers": max_members -"/people:v1/people.contactGroups.get/resourceName": resource_name -"/people:v1/people.contactGroups.update": update_contact_group -"/people:v1/people.contactGroups.update/resourceName": resource_name -"/people:v1/people.contactGroups.members.modify": modify_contact_group_members -"/people:v1/people.contactGroups.members.modify/resourceName": resource_name -"/people:v1/people.people.deleteContact": delete_person_contact -"/people:v1/people.people.deleteContact/resourceName": resource_name -"/people:v1/people.people.getBatchGet/requestMask.includeField": request_mask_include_field -"/people:v1/people.people.getBatchGet/resourceNames": resource_names -"/people:v1/people.people.getBatchGet/personFields": person_fields -"/people:v1/people.people.get": get_person -"/people:v1/people.people.get/personFields": person_fields -"/people:v1/people.people.get/resourceName": resource_name -"/people:v1/people.people.get/requestMask.includeField": request_mask_include_field -"/people:v1/people.people.updateContact": update_person_contact -"/people:v1/people.people.updateContact/resourceName": resource_name -"/people:v1/people.people.updateContact/updatePersonFields": update_person_fields -"/people:v1/people.people.createContact": create_person_contact -"/people:v1/people.people.createContact/parent": parent -"/people:v1/people.people.connections.list": list_person_connections -"/people:v1/people.people.connections.list/syncToken": sync_token -"/people:v1/people.people.connections.list/personFields": person_fields -"/people:v1/people.people.connections.list/sortOrder": sort_order -"/people:v1/people.people.connections.list/requestSyncToken": request_sync_token -"/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/requestMask.includeField": request_mask_include_field -"/people:v1/RelationshipStatus": relationship_status -"/people:v1/RelationshipStatus/metadata": metadata -"/people:v1/RelationshipStatus/value": value -"/people:v1/RelationshipStatus/formattedValue": formatted_value -"/people:v1/BraggingRights": bragging_rights -"/people:v1/BraggingRights/value": value -"/people:v1/BraggingRights/metadata": metadata -"/people:v1/Organization": organization -"/people:v1/Organization/metadata": metadata -"/people:v1/Organization/location": location -"/people:v1/Organization/title": title -"/people:v1/Organization/current": current -"/people:v1/Organization/startDate": start_date -"/people:v1/Organization/formattedType": formatted_type -"/people:v1/Organization/domain": domain -"/people:v1/Organization/department": department -"/people:v1/Organization/type": type -"/people:v1/Organization/phoneticName": phonetic_name -"/people:v1/Organization/jobDescription": job_description -"/people:v1/Organization/endDate": end_date -"/people:v1/Organization/symbol": symbol -"/people:v1/Organization/name": name +"/partners:v2/fields": fields +"/partners:v2/key": key +"/partners:v2/partners.analytics.list": list_analytics +"/partners:v2/partners.analytics.list/pageSize": page_size +"/partners:v2/partners.analytics.list/pageToken": page_token +"/partners:v2/partners.analytics.list/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.analytics.list/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.analytics.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.analytics.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.analytics.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.analytics.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.analytics.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.clientMessages.log": log_client_message_message +"/partners:v2/partners.companies.get": get_company +"/partners:v2/partners.companies.get/address": address +"/partners:v2/partners.companies.get/companyId": company_id +"/partners:v2/partners.companies.get/currencyCode": currency_code +"/partners:v2/partners.companies.get/orderBy": order_by +"/partners:v2/partners.companies.get/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.companies.get/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.companies.get/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.companies.get/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.companies.get/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.companies.get/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.companies.get/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.companies.get/view": view +"/partners:v2/partners.companies.leads.create": create_lead +"/partners:v2/partners.companies.leads.create/companyId": company_id +"/partners:v2/partners.companies.list": list_companies +"/partners:v2/partners.companies.list/address": address +"/partners:v2/partners.companies.list/companyName": company_name +"/partners:v2/partners.companies.list/gpsMotivations": gps_motivations +"/partners:v2/partners.companies.list/industries": industries +"/partners:v2/partners.companies.list/languageCodes": language_codes +"/partners:v2/partners.companies.list/maxMonthlyBudget.currencyCode": max_monthly_budget_currency_code +"/partners:v2/partners.companies.list/maxMonthlyBudget.nanos": max_monthly_budget_nanos +"/partners:v2/partners.companies.list/maxMonthlyBudget.units": max_monthly_budget_units +"/partners:v2/partners.companies.list/minMonthlyBudget.currencyCode": min_monthly_budget_currency_code +"/partners:v2/partners.companies.list/minMonthlyBudget.nanos": min_monthly_budget_nanos +"/partners:v2/partners.companies.list/minMonthlyBudget.units": min_monthly_budget_units +"/partners:v2/partners.companies.list/orderBy": order_by +"/partners:v2/partners.companies.list/pageSize": page_size +"/partners:v2/partners.companies.list/pageToken": page_token +"/partners:v2/partners.companies.list/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.companies.list/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.companies.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.companies.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.companies.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.companies.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.companies.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.companies.list/services": services +"/partners:v2/partners.companies.list/specializations": specializations +"/partners:v2/partners.companies.list/view": view +"/partners:v2/partners.companies.list/websiteUrl": website_url +"/partners:v2/partners.exams.getToken": get_exam_token +"/partners:v2/partners.exams.getToken/examType": exam_type +"/partners:v2/partners.exams.getToken/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.exams.getToken/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.exams.getToken/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.exams.getToken/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.exams.getToken/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.exams.getToken/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.exams.getToken/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.getPartnersstatus": get_partnersstatus +"/partners:v2/partners.getPartnersstatus/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.getPartnersstatus/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.getPartnersstatus/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.getPartnersstatus/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.getPartnersstatus/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.getPartnersstatus/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.getPartnersstatus/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.leads.list": list_leads +"/partners:v2/partners.leads.list/orderBy": order_by +"/partners:v2/partners.leads.list/pageSize": page_size +"/partners:v2/partners.leads.list/pageToken": page_token +"/partners:v2/partners.leads.list/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.leads.list/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.leads.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.leads.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.leads.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.leads.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.leads.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.offers.history.list": list_offer_histories +"/partners:v2/partners.offers.history.list/entireCompany": entire_company +"/partners:v2/partners.offers.history.list/orderBy": order_by +"/partners:v2/partners.offers.history.list/pageSize": page_size +"/partners:v2/partners.offers.history.list/pageToken": page_token +"/partners:v2/partners.offers.history.list/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.offers.history.list/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.offers.history.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.offers.history.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.offers.history.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.offers.history.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.offers.history.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.offers.list": list_offers +"/partners:v2/partners.offers.list/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.offers.list/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.offers.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.offers.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.offers.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.offers.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.offers.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.updateCompanies": update_companies +"/partners:v2/partners.updateCompanies/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.updateCompanies/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.updateCompanies/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.updateCompanies/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.updateCompanies/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.updateCompanies/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.updateCompanies/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.updateCompanies/updateMask": update_mask +"/partners:v2/partners.updateLeads": update_leads +"/partners:v2/partners.updateLeads/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.updateLeads/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.updateLeads/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.updateLeads/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.updateLeads/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.updateLeads/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.updateLeads/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.updateLeads/updateMask": update_mask +"/partners:v2/partners.userEvents.log": log_user_event +"/partners:v2/partners.userStates.list": list_user_states +"/partners:v2/partners.userStates.list/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.userStates.list/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.userStates.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.userStates.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.userStates.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.userStates.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.userStates.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.users.createCompanyRelation": create_user_company_relation +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.users.createCompanyRelation/userId": user_id +"/partners:v2/partners.users.deleteCompanyRelation": delete_user_company_relation +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.users.deleteCompanyRelation/userId": user_id +"/partners:v2/partners.users.get": get_user +"/partners:v2/partners.users.get/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.users.get/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.users.get/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.users.get/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.users.get/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.users.get/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.users.get/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.users.get/userId": user_id +"/partners:v2/partners.users.get/userView": user_view +"/partners:v2/partners.users.updateProfile": update_user_profile +"/partners:v2/partners.users.updateProfile/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.users.updateProfile/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.users.updateProfile/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.users.updateProfile/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.users.updateProfile/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.users.updateProfile/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.users.updateProfile/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/quotaUser": quota_user +"/people:v1/Address": address +"/people:v1/Address/city": city +"/people:v1/Address/country": country +"/people:v1/Address/countryCode": country_code +"/people:v1/Address/extendedAddress": extended_address +"/people:v1/Address/formattedType": formatted_type +"/people:v1/Address/formattedValue": formatted_value +"/people:v1/Address/metadata": metadata +"/people:v1/Address/poBox": po_box +"/people:v1/Address/postalCode": postal_code +"/people:v1/Address/region": region +"/people:v1/Address/streetAddress": street_address +"/people:v1/Address/type": type "/people:v1/AgeRangeType": age_range_type "/people:v1/AgeRangeType/ageRange": age_range "/people:v1/AgeRangeType/metadata": metadata -"/people:v1/ListContactGroupsResponse": list_contact_groups_response -"/people:v1/ListContactGroupsResponse/nextSyncToken": next_sync_token -"/people:v1/ListContactGroupsResponse/totalItems": total_items -"/people:v1/ListContactGroupsResponse/contactGroups": contact_groups -"/people:v1/ListContactGroupsResponse/contactGroups/contact_group": contact_group -"/people:v1/ListContactGroupsResponse/nextPageToken": next_page_token -"/people:v1/PersonResponse": person_response -"/people:v1/PersonResponse/person": person -"/people:v1/PersonResponse/status": status -"/people:v1/PersonResponse/httpStatusCode": http_status_code -"/people:v1/PersonResponse/requestedResourceName": requested_resource_name -"/people:v1/Relation": relation -"/people:v1/Relation/formattedType": formatted_type -"/people:v1/Relation/person": person -"/people:v1/Relation/type": type -"/people:v1/Relation/metadata": metadata -"/people:v1/Occupation": occupation -"/people:v1/Occupation/metadata": metadata -"/people:v1/Occupation/value": value +"/people:v1/BatchGetContactGroupsResponse": batch_get_contact_groups_response +"/people:v1/BatchGetContactGroupsResponse/responses": responses +"/people:v1/BatchGetContactGroupsResponse/responses/response": response +"/people:v1/Biography": biography +"/people:v1/Biography/contentType": content_type +"/people:v1/Biography/metadata": metadata +"/people:v1/Biography/value": value +"/people:v1/Birthday": birthday +"/people:v1/Birthday/date": date +"/people:v1/Birthday/metadata": metadata +"/people:v1/Birthday/text": text +"/people:v1/BraggingRights": bragging_rights +"/people:v1/BraggingRights/metadata": metadata +"/people:v1/BraggingRights/value": value "/people:v1/ContactGroup": contact_group -"/people:v1/ContactGroup/resourceName": resource_name "/people:v1/ContactGroup/etag": etag -"/people:v1/ContactGroup/groupType": group_type "/people:v1/ContactGroup/formattedName": formatted_name +"/people:v1/ContactGroup/groupType": group_type +"/people:v1/ContactGroup/memberCount": member_count "/people:v1/ContactGroup/memberResourceNames": member_resource_names "/people:v1/ContactGroup/memberResourceNames/member_resource_name": member_resource_name -"/people:v1/ContactGroup/name": name "/people:v1/ContactGroup/metadata": metadata -"/people:v1/ContactGroup/memberCount": member_count -"/people:v1/Person": person -"/people:v1/Person/names": names -"/people:v1/Person/names/name": name -"/people:v1/Person/relations": relations -"/people:v1/Person/relations/relation": relation -"/people:v1/Person/occupations": occupations -"/people:v1/Person/occupations/occupation": occupation -"/people:v1/Person/emailAddresses": email_addresses -"/people:v1/Person/emailAddresses/email_address": email_address -"/people:v1/Person/organizations": organizations -"/people:v1/Person/organizations/organization": organization -"/people:v1/Person/etag": etag -"/people:v1/Person/braggingRights": bragging_rights -"/people:v1/Person/braggingRights/bragging_right": bragging_right -"/people:v1/Person/metadata": metadata -"/people:v1/Person/residences": residences -"/people:v1/Person/residences/residence": residence -"/people:v1/Person/genders": genders -"/people:v1/Person/genders/gender": gender -"/people:v1/Person/interests": interests -"/people:v1/Person/interests/interest": interest -"/people:v1/Person/resourceName": resource_name -"/people:v1/Person/biographies": biographies -"/people:v1/Person/biographies/biography": biography -"/people:v1/Person/skills": skills -"/people:v1/Person/skills/skill": skill -"/people:v1/Person/relationshipStatuses": relationship_statuses -"/people:v1/Person/relationshipStatuses/relationship_status": relationship_status -"/people:v1/Person/photos": photos -"/people:v1/Person/photos/photo": photo -"/people:v1/Person/ageRange": age_range -"/people:v1/Person/taglines": taglines -"/people:v1/Person/taglines/tagline": tagline -"/people:v1/Person/ageRanges": age_ranges -"/people:v1/Person/ageRanges/age_range": age_range -"/people:v1/Person/addresses": addresses -"/people:v1/Person/addresses/address": address -"/people:v1/Person/events": events -"/people:v1/Person/events/event": event -"/people:v1/Person/memberships": memberships -"/people:v1/Person/memberships/membership": membership -"/people:v1/Person/phoneNumbers": phone_numbers -"/people:v1/Person/phoneNumbers/phone_number": phone_number -"/people:v1/Person/coverPhotos": cover_photos -"/people:v1/Person/coverPhotos/cover_photo": cover_photo -"/people:v1/Person/imClients": im_clients -"/people:v1/Person/imClients/im_client": im_client -"/people:v1/Person/birthdays": birthdays -"/people:v1/Person/birthdays/birthday": birthday -"/people:v1/Person/locales": locales -"/people:v1/Person/locales/locale": locale -"/people:v1/Person/relationshipInterests": relationship_interests -"/people:v1/Person/relationshipInterests/relationship_interest": relationship_interest -"/people:v1/Person/urls": urls -"/people:v1/Person/urls/url": url -"/people:v1/Person/nicknames": nicknames -"/people:v1/Person/nicknames/nickname": nickname -"/people:v1/UpdateContactGroupRequest": update_contact_group_request -"/people:v1/UpdateContactGroupRequest/contactGroup": contact_group +"/people:v1/ContactGroup/name": name +"/people:v1/ContactGroup/resourceName": resource_name +"/people:v1/ContactGroupMembership": contact_group_membership +"/people:v1/ContactGroupMembership/contactGroupId": contact_group_id "/people:v1/ContactGroupMetadata": contact_group_metadata "/people:v1/ContactGroupMetadata/deleted": deleted "/people:v1/ContactGroupMetadata/updateTime": update_time -"/people:v1/Residence": residence -"/people:v1/Residence/current": current -"/people:v1/Residence/metadata": metadata -"/people:v1/Residence/value": value -"/people:v1/Event": event -"/people:v1/Event/date": date -"/people:v1/Event/formattedType": formatted_type -"/people:v1/Event/type": type -"/people:v1/Event/metadata": metadata -"/people:v1/ModifyContactGroupMembersResponse": modify_contact_group_members_response -"/people:v1/ModifyContactGroupMembersResponse/notFoundResourceNames": not_found_resource_names -"/people:v1/ModifyContactGroupMembersResponse/notFoundResourceNames/not_found_resource_name": not_found_resource_name -"/people:v1/ProfileMetadata": profile_metadata -"/people:v1/ProfileMetadata/userTypes": user_types -"/people:v1/ProfileMetadata/userTypes/user_type": user_type -"/people:v1/ProfileMetadata/objectType": object_type -"/people:v1/Gender": gender -"/people:v1/Gender/formattedValue": formatted_value -"/people:v1/Gender/metadata": metadata -"/people:v1/Gender/value": value +"/people:v1/ContactGroupResponse": contact_group_response +"/people:v1/ContactGroupResponse/contactGroup": contact_group +"/people:v1/ContactGroupResponse/requestedResourceName": requested_resource_name +"/people:v1/ContactGroupResponse/status": status "/people:v1/CoverPhoto": cover_photo "/people:v1/CoverPhoto/default": default "/people:v1/CoverPhoto/metadata": metadata "/people:v1/CoverPhoto/url": url -"/people:v1/Interest": interest -"/people:v1/Interest/metadata": metadata -"/people:v1/Interest/value": value -"/people:v1/Nickname": nickname -"/people:v1/Nickname/type": type -"/people:v1/Nickname/metadata": metadata -"/people:v1/Nickname/value": value -"/people:v1/EmailAddress": email_address -"/people:v1/EmailAddress/displayName": display_name -"/people:v1/EmailAddress/type": type -"/people:v1/EmailAddress/metadata": metadata -"/people:v1/EmailAddress/value": value -"/people:v1/EmailAddress/formattedType": formatted_type -"/people:v1/Skill": skill -"/people:v1/Skill/metadata": metadata -"/people:v1/Skill/value": value +"/people:v1/CreateContactGroupRequest": create_contact_group_request +"/people:v1/CreateContactGroupRequest/contactGroup": contact_group "/people:v1/Date": date "/people:v1/Date/day": day -"/people:v1/Date/year": year "/people:v1/Date/month": month -"/people:v1/Tagline": tagline -"/people:v1/Tagline/metadata": metadata -"/people:v1/Tagline/value": value -"/people:v1/Name": name -"/people:v1/Name/phoneticFullName": phonetic_full_name -"/people:v1/Name/displayNameLastFirst": display_name_last_first -"/people:v1/Name/displayName": display_name -"/people:v1/Name/honorificSuffix": honorific_suffix -"/people:v1/Name/honorificPrefix": honorific_prefix -"/people:v1/Name/phoneticHonorificSuffix": phonetic_honorific_suffix -"/people:v1/Name/givenName": given_name -"/people:v1/Name/middleName": middle_name -"/people:v1/Name/phoneticHonorificPrefix": phonetic_honorific_prefix -"/people:v1/Name/phoneticGivenName": phonetic_given_name -"/people:v1/Name/phoneticFamilyName": phonetic_family_name -"/people:v1/Name/familyName": family_name -"/people:v1/Name/phoneticMiddleName": phonetic_middle_name -"/people:v1/Name/metadata": metadata -"/people:v1/Locale": locale -"/people:v1/Locale/metadata": metadata -"/people:v1/Locale/value": value +"/people:v1/Date/year": year +"/people:v1/DomainMembership": domain_membership +"/people:v1/DomainMembership/inViewerDomain": in_viewer_domain +"/people:v1/EmailAddress": email_address +"/people:v1/EmailAddress/displayName": display_name +"/people:v1/EmailAddress/formattedType": formatted_type +"/people:v1/EmailAddress/metadata": metadata +"/people:v1/EmailAddress/type": type +"/people:v1/EmailAddress/value": value "/people:v1/Empty": empty -"/people:v1/Biography": biography -"/people:v1/Biography/value": value -"/people:v1/Biography/contentType": content_type -"/people:v1/Biography/metadata": metadata +"/people:v1/Event": event +"/people:v1/Event/date": date +"/people:v1/Event/formattedType": formatted_type +"/people:v1/Event/metadata": metadata +"/people:v1/Event/type": type "/people:v1/FieldMetadata": field_metadata +"/people:v1/FieldMetadata/primary": primary "/people:v1/FieldMetadata/source": source "/people:v1/FieldMetadata/verified": verified -"/people:v1/FieldMetadata/primary": primary -"/people:v1/RelationshipInterest": relationship_interest -"/people:v1/RelationshipInterest/formattedValue": formatted_value -"/people:v1/RelationshipInterest/metadata": metadata -"/people:v1/RelationshipInterest/value": value -"/people:v1/Source": source -"/people:v1/Source/type": type -"/people:v1/Source/etag": etag -"/people:v1/Source/id": id -"/people:v1/Source/profileMetadata": profile_metadata -"/people:v1/Source/updateTime": update_time +"/people:v1/Gender": gender +"/people:v1/Gender/formattedValue": formatted_value +"/people:v1/Gender/metadata": metadata +"/people:v1/Gender/value": value "/people:v1/GetPeopleResponse": get_people_response "/people:v1/GetPeopleResponse/responses": responses "/people:v1/GetPeopleResponse/responses/response": response -"/people:v1/Photo": photo -"/people:v1/Photo/metadata": metadata -"/people:v1/Photo/url": url -"/people:v1/PhoneNumber": phone_number -"/people:v1/PhoneNumber/formattedType": formatted_type -"/people:v1/PhoneNumber/canonicalForm": canonical_form -"/people:v1/PhoneNumber/type": type -"/people:v1/PhoneNumber/metadata": metadata -"/people:v1/PhoneNumber/value": value +"/people:v1/ImClient": im_client +"/people:v1/ImClient/formattedProtocol": formatted_protocol +"/people:v1/ImClient/formattedType": formatted_type +"/people:v1/ImClient/metadata": metadata +"/people:v1/ImClient/protocol": protocol +"/people:v1/ImClient/type": type +"/people:v1/ImClient/username": username +"/people:v1/Interest": interest +"/people:v1/Interest/metadata": metadata +"/people:v1/Interest/value": value "/people:v1/ListConnectionsResponse": list_connections_response -"/people:v1/ListConnectionsResponse/nextPageToken": next_page_token -"/people:v1/ListConnectionsResponse/totalItems": total_items -"/people:v1/ListConnectionsResponse/nextSyncToken": next_sync_token "/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 +"/people:v1/ListConnectionsResponse/totalItems": total_items "/people:v1/ListConnectionsResponse/totalPeople": total_people -"/people:v1/Birthday": birthday -"/people:v1/Birthday/text": text -"/people:v1/Birthday/metadata": metadata -"/people:v1/Birthday/date": date -"/people:v1/CreateContactGroupRequest": create_contact_group_request -"/people:v1/CreateContactGroupRequest/contactGroup": contact_group -"/people:v1/Address": address -"/people:v1/Address/postalCode": postal_code -"/people:v1/Address/region": region -"/people:v1/Address/streetAddress": street_address -"/people:v1/Address/metadata": metadata -"/people:v1/Address/countryCode": country_code -"/people:v1/Address/formattedType": formatted_type -"/people:v1/Address/city": city -"/people:v1/Address/formattedValue": formatted_value -"/people:v1/Address/country": country -"/people:v1/Address/type": type -"/people:v1/Address/extendedAddress": extended_address -"/people:v1/Address/poBox": po_box -"/people:v1/ContactGroupMembership": contact_group_membership -"/people:v1/ContactGroupMembership/contactGroupId": contact_group_id -"/people:v1/Status": status -"/people:v1/Status/message": message -"/people:v1/Status/details": details -"/people:v1/Status/details/detail": detail -"/people:v1/Status/details/detail/detail": detail -"/people:v1/Status/code": code -"/people:v1/PersonMetadata": person_metadata -"/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/PersonMetadata/objectType": object_type -"/people:v1/PersonMetadata/linkedPeopleResourceNames": linked_people_resource_names -"/people:v1/PersonMetadata/linkedPeopleResourceNames/linked_people_resource_name": linked_people_resource_name +"/people:v1/ListContactGroupsResponse": list_contact_groups_response +"/people:v1/ListContactGroupsResponse/contactGroups": contact_groups +"/people:v1/ListContactGroupsResponse/contactGroups/contact_group": contact_group +"/people:v1/ListContactGroupsResponse/nextPageToken": next_page_token +"/people:v1/ListContactGroupsResponse/nextSyncToken": next_sync_token +"/people:v1/ListContactGroupsResponse/totalItems": total_items +"/people:v1/Locale": locale +"/people:v1/Locale/metadata": metadata +"/people:v1/Locale/value": value +"/people:v1/Membership": membership +"/people:v1/Membership/contactGroupMembership": contact_group_membership +"/people:v1/Membership/domainMembership": domain_membership +"/people:v1/Membership/metadata": metadata "/people:v1/ModifyContactGroupMembersRequest": modify_contact_group_members_request "/people:v1/ModifyContactGroupMembersRequest/resourceNamesToAdd": resource_names_to_add "/people:v1/ModifyContactGroupMembersRequest/resourceNamesToAdd/resource_names_to_add": resource_names_to_add "/people:v1/ModifyContactGroupMembersRequest/resourceNamesToRemove": resource_names_to_remove "/people:v1/ModifyContactGroupMembersRequest/resourceNamesToRemove/resource_names_to_remove": resource_names_to_remove -"/people:v1/ContactGroupResponse": contact_group_response -"/people:v1/ContactGroupResponse/status": status -"/people:v1/ContactGroupResponse/requestedResourceName": requested_resource_name -"/people:v1/ContactGroupResponse/contactGroup": contact_group +"/people:v1/ModifyContactGroupMembersResponse": modify_contact_group_members_response +"/people:v1/ModifyContactGroupMembersResponse/notFoundResourceNames": not_found_resource_names +"/people:v1/ModifyContactGroupMembersResponse/notFoundResourceNames/not_found_resource_name": not_found_resource_name +"/people:v1/Name": name +"/people:v1/Name/displayName": display_name +"/people:v1/Name/displayNameLastFirst": display_name_last_first +"/people:v1/Name/familyName": family_name +"/people:v1/Name/givenName": given_name +"/people:v1/Name/honorificPrefix": honorific_prefix +"/people:v1/Name/honorificSuffix": honorific_suffix +"/people:v1/Name/metadata": metadata +"/people:v1/Name/middleName": middle_name +"/people:v1/Name/phoneticFamilyName": phonetic_family_name +"/people:v1/Name/phoneticFullName": phonetic_full_name +"/people:v1/Name/phoneticGivenName": phonetic_given_name +"/people:v1/Name/phoneticHonorificPrefix": phonetic_honorific_prefix +"/people:v1/Name/phoneticHonorificSuffix": phonetic_honorific_suffix +"/people:v1/Name/phoneticMiddleName": phonetic_middle_name +"/people:v1/Nickname": nickname +"/people:v1/Nickname/metadata": metadata +"/people:v1/Nickname/type": type +"/people:v1/Nickname/value": value +"/people:v1/Occupation": occupation +"/people:v1/Occupation/metadata": metadata +"/people:v1/Occupation/value": value +"/people:v1/Organization": organization +"/people:v1/Organization/current": current +"/people:v1/Organization/department": department +"/people:v1/Organization/domain": domain +"/people:v1/Organization/endDate": end_date +"/people:v1/Organization/formattedType": formatted_type +"/people:v1/Organization/jobDescription": job_description +"/people:v1/Organization/location": location +"/people:v1/Organization/metadata": metadata +"/people:v1/Organization/name": name +"/people:v1/Organization/phoneticName": phonetic_name +"/people:v1/Organization/startDate": start_date +"/people:v1/Organization/symbol": symbol +"/people:v1/Organization/title": title +"/people:v1/Organization/type": type +"/people:v1/Person": person +"/people:v1/Person/addresses": addresses +"/people:v1/Person/addresses/address": address +"/people:v1/Person/ageRange": age_range +"/people:v1/Person/ageRanges": age_ranges +"/people:v1/Person/ageRanges/age_range": age_range +"/people:v1/Person/biographies": biographies +"/people:v1/Person/biographies/biography": biography +"/people:v1/Person/birthdays": birthdays +"/people:v1/Person/birthdays/birthday": birthday +"/people:v1/Person/braggingRights": bragging_rights +"/people:v1/Person/braggingRights/bragging_right": bragging_right +"/people:v1/Person/coverPhotos": cover_photos +"/people:v1/Person/coverPhotos/cover_photo": cover_photo +"/people:v1/Person/emailAddresses": email_addresses +"/people:v1/Person/emailAddresses/email_address": email_address +"/people:v1/Person/etag": etag +"/people:v1/Person/events": events +"/people:v1/Person/events/event": event +"/people:v1/Person/genders": genders +"/people:v1/Person/genders/gender": gender +"/people:v1/Person/imClients": im_clients +"/people:v1/Person/imClients/im_client": im_client +"/people:v1/Person/interests": interests +"/people:v1/Person/interests/interest": interest +"/people:v1/Person/locales": locales +"/people:v1/Person/locales/locale": locale +"/people:v1/Person/memberships": memberships +"/people:v1/Person/memberships/membership": membership +"/people:v1/Person/metadata": metadata +"/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/occupations": occupations +"/people:v1/Person/occupations/occupation": occupation +"/people:v1/Person/organizations": organizations +"/people:v1/Person/organizations/organization": organization +"/people:v1/Person/phoneNumbers": phone_numbers +"/people:v1/Person/phoneNumbers/phone_number": phone_number +"/people:v1/Person/photos": photos +"/people:v1/Person/photos/photo": photo +"/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/residences": residences +"/people:v1/Person/residences/residence": residence +"/people:v1/Person/resourceName": resource_name +"/people:v1/Person/skills": skills +"/people:v1/Person/skills/skill": skill +"/people:v1/Person/taglines": taglines +"/people:v1/Person/taglines/tagline": tagline +"/people:v1/Person/urls": urls +"/people:v1/Person/urls/url": url +"/people:v1/PersonMetadata": person_metadata +"/people:v1/PersonMetadata/deleted": deleted +"/people:v1/PersonMetadata/linkedPeopleResourceNames": linked_people_resource_names +"/people:v1/PersonMetadata/linkedPeopleResourceNames/linked_people_resource_name": linked_people_resource_name +"/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/PersonResponse": person_response +"/people:v1/PersonResponse/httpStatusCode": http_status_code +"/people:v1/PersonResponse/person": person +"/people:v1/PersonResponse/requestedResourceName": requested_resource_name +"/people:v1/PersonResponse/status": status +"/people:v1/PhoneNumber": phone_number +"/people:v1/PhoneNumber/canonicalForm": canonical_form +"/people:v1/PhoneNumber/formattedType": formatted_type +"/people:v1/PhoneNumber/metadata": metadata +"/people:v1/PhoneNumber/type": type +"/people:v1/PhoneNumber/value": value +"/people:v1/Photo": photo +"/people:v1/Photo/metadata": metadata +"/people:v1/Photo/url": url +"/people:v1/ProfileMetadata": profile_metadata +"/people:v1/ProfileMetadata/objectType": object_type +"/people:v1/ProfileMetadata/userTypes": user_types +"/people:v1/ProfileMetadata/userTypes/user_type": user_type +"/people:v1/Relation": relation +"/people:v1/Relation/formattedType": formatted_type +"/people:v1/Relation/metadata": metadata +"/people:v1/Relation/person": person +"/people:v1/Relation/type": type +"/people:v1/RelationshipInterest": relationship_interest +"/people:v1/RelationshipInterest/formattedValue": formatted_value +"/people:v1/RelationshipInterest/metadata": metadata +"/people:v1/RelationshipInterest/value": value +"/people:v1/RelationshipStatus": relationship_status +"/people:v1/RelationshipStatus/formattedValue": formatted_value +"/people:v1/RelationshipStatus/metadata": metadata +"/people:v1/RelationshipStatus/value": value +"/people:v1/Residence": residence +"/people:v1/Residence/current": current +"/people:v1/Residence/metadata": metadata +"/people:v1/Residence/value": value +"/people:v1/Skill": skill +"/people:v1/Skill/metadata": metadata +"/people:v1/Skill/value": value +"/people:v1/Source": source +"/people:v1/Source/etag": etag +"/people:v1/Source/id": id +"/people:v1/Source/profileMetadata": profile_metadata +"/people:v1/Source/type": type +"/people:v1/Source/updateTime": update_time +"/people:v1/Status": status +"/people:v1/Status/code": code +"/people:v1/Status/details": details +"/people:v1/Status/details/detail": detail +"/people:v1/Status/details/detail/detail": detail +"/people:v1/Status/message": message +"/people:v1/Tagline": tagline +"/people:v1/Tagline/metadata": metadata +"/people:v1/Tagline/value": value +"/people:v1/UpdateContactGroupRequest": update_contact_group_request +"/people:v1/UpdateContactGroupRequest/contactGroup": contact_group "/people:v1/Url": url -"/people:v1/Url/type": type -"/people:v1/Url/metadata": metadata -"/people:v1/Url/value": value "/people:v1/Url/formattedType": formatted_type -"/people:v1/ImClient": im_client -"/people:v1/ImClient/metadata": metadata -"/people:v1/ImClient/type": type -"/people:v1/ImClient/protocol": protocol -"/people:v1/ImClient/username": username -"/people:v1/ImClient/formattedProtocol": formatted_protocol -"/people:v1/ImClient/formattedType": formatted_type -"/people:v1/DomainMembership": domain_membership -"/people:v1/DomainMembership/inViewerDomain": in_viewer_domain -"/people:v1/BatchGetContactGroupsResponse": batch_get_contact_groups_response -"/people:v1/BatchGetContactGroupsResponse/responses": responses -"/people:v1/BatchGetContactGroupsResponse/responses/response": response -"/people:v1/Membership": membership -"/people:v1/Membership/metadata": metadata -"/people:v1/Membership/domainMembership": domain_membership -"/people:v1/Membership/contactGroupMembership": contact_group_membership -"/plus:v1/fields": fields -"/plus:v1/key": key -"/plus:v1/quotaUser": quota_user -"/plus:v1/userIp": user_ip -"/plus:v1/plus.activities.get": get_activity -"/plus:v1/plus.activities.get/activityId": activity_id -"/plus:v1/plus.activities.list": list_activities -"/plus:v1/plus.activities.list/collection": collection -"/plus:v1/plus.activities.list/maxResults": max_results -"/plus:v1/plus.activities.list/pageToken": page_token -"/plus:v1/plus.activities.list/userId": user_id -"/plus:v1/plus.activities.search": search_activities -"/plus:v1/plus.activities.search/language": language -"/plus:v1/plus.activities.search/maxResults": max_results -"/plus:v1/plus.activities.search/orderBy": order_by -"/plus:v1/plus.activities.search/pageToken": page_token -"/plus:v1/plus.activities.search/query": query -"/plus:v1/plus.comments.get": get_comment -"/plus:v1/plus.comments.get/commentId": comment_id -"/plus:v1/plus.comments.list": list_comments -"/plus:v1/plus.comments.list/activityId": activity_id -"/plus:v1/plus.comments.list/maxResults": max_results -"/plus:v1/plus.comments.list/pageToken": page_token -"/plus:v1/plus.comments.list/sortOrder": sort_order -"/plus:v1/plus.people.get": get_person -"/plus:v1/plus.people.get/userId": user_id -"/plus:v1/plus.people.list": list_people -"/plus:v1/plus.people.list/collection": collection -"/plus:v1/plus.people.list/maxResults": max_results -"/plus:v1/plus.people.list/orderBy": order_by -"/plus:v1/plus.people.list/pageToken": page_token -"/plus:v1/plus.people.list/userId": user_id -"/plus:v1/plus.people.listByActivity/activityId": activity_id -"/plus:v1/plus.people.listByActivity/collection": collection -"/plus:v1/plus.people.listByActivity/maxResults": max_results -"/plus:v1/plus.people.listByActivity/pageToken": page_token -"/plus:v1/plus.people.search": search_people -"/plus:v1/plus.people.search/language": language -"/plus:v1/plus.people.search/maxResults": max_results -"/plus:v1/plus.people.search/pageToken": page_token -"/plus:v1/plus.people.search/query": query +"/people:v1/Url/metadata": metadata +"/people:v1/Url/type": type +"/people:v1/Url/value": value +"/people:v1/fields": fields +"/people:v1/key": key +"/people:v1/people.contactGroups.batchGet": batch_contact_group_get +"/people:v1/people.contactGroups.batchGet/maxMembers": max_members +"/people:v1/people.contactGroups.batchGet/resourceNames": resource_names +"/people:v1/people.contactGroups.create": create_contact_group +"/people:v1/people.contactGroups.delete": delete_contact_group +"/people:v1/people.contactGroups.delete/deleteContacts": delete_contacts +"/people:v1/people.contactGroups.delete/resourceName": resource_name +"/people:v1/people.contactGroups.get": get_contact_group +"/people:v1/people.contactGroups.get/maxMembers": max_members +"/people:v1/people.contactGroups.get/resourceName": resource_name +"/people:v1/people.contactGroups.list": list_contact_groups +"/people:v1/people.contactGroups.list/pageSize": page_size +"/people:v1/people.contactGroups.list/pageToken": page_token +"/people:v1/people.contactGroups.list/syncToken": sync_token +"/people:v1/people.contactGroups.members.modify": modify_contact_group_members +"/people:v1/people.contactGroups.members.modify/resourceName": resource_name +"/people:v1/people.contactGroups.update": update_contact_group +"/people:v1/people.contactGroups.update/resourceName": resource_name +"/people:v1/people.people.connections.list": list_person_connections +"/people:v1/people.people.connections.list/pageSize": page_size +"/people:v1/people.people.connections.list/pageToken": page_token +"/people:v1/people.people.connections.list/personFields": person_fields +"/people:v1/people.people.connections.list/requestMask.includeField": request_mask_include_field +"/people:v1/people.people.connections.list/requestSyncToken": request_sync_token +"/people:v1/people.people.connections.list/resourceName": resource_name +"/people:v1/people.people.connections.list/sortOrder": sort_order +"/people:v1/people.people.connections.list/syncToken": sync_token +"/people:v1/people.people.createContact": create_person_contact +"/people:v1/people.people.createContact/parent": parent +"/people:v1/people.people.deleteContact": delete_person_contact +"/people:v1/people.people.deleteContact/resourceName": resource_name +"/people:v1/people.people.get": get_person +"/people:v1/people.people.get/personFields": person_fields +"/people:v1/people.people.get/requestMask.includeField": request_mask_include_field +"/people:v1/people.people.get/resourceName": resource_name +"/people:v1/people.people.getBatchGet": get_people +"/people:v1/people.people.getBatchGet/personFields": person_fields +"/people:v1/people.people.getBatchGet/requestMask.includeField": request_mask_include_field +"/people:v1/people.people.getBatchGet/resourceNames": resource_names +"/people:v1/people.people.updateContact": update_person_contact +"/people:v1/people.people.updateContact/resourceName": resource_name +"/people:v1/people.people.updateContact/updatePersonFields": update_person_fields +"/people:v1/quotaUser": quota_user +"/playcustomapp:v1/CustomApp": custom_app +"/playcustomapp:v1/CustomApp/languageCode": language_code +"/playcustomapp:v1/CustomApp/title": title +"/playcustomapp:v1/fields": fields +"/playcustomapp:v1/key": key +"/playcustomapp:v1/playcustomapp.accounts.customApps.create": create_account_custom_app +"/playcustomapp:v1/playcustomapp.accounts.customApps.create/account": account +"/playcustomapp:v1/quotaUser": quota_user +"/playcustomapp:v1/userIp": user_ip +"/playmoviespartner:v1/Avail": avail +"/playmoviespartner:v1/Avail/altId": alt_id +"/playmoviespartner:v1/Avail/availId": avail_id +"/playmoviespartner:v1/Avail/captionExemption": caption_exemption +"/playmoviespartner:v1/Avail/captionIncluded": caption_included +"/playmoviespartner:v1/Avail/contentId": content_id +"/playmoviespartner:v1/Avail/displayName": display_name +"/playmoviespartner:v1/Avail/encodeId": encode_id +"/playmoviespartner:v1/Avail/end": end +"/playmoviespartner:v1/Avail/episodeAltId": episode_alt_id +"/playmoviespartner:v1/Avail/episodeNumber": episode_number +"/playmoviespartner:v1/Avail/episodeTitleInternalAlias": episode_title_internal_alias +"/playmoviespartner:v1/Avail/formatProfile": format_profile +"/playmoviespartner:v1/Avail/licenseType": license_type +"/playmoviespartner:v1/Avail/pphNames": pph_names +"/playmoviespartner:v1/Avail/pphNames/pph_name": pph_name +"/playmoviespartner:v1/Avail/priceType": price_type +"/playmoviespartner:v1/Avail/priceValue": price_value +"/playmoviespartner:v1/Avail/productId": product_id +"/playmoviespartner:v1/Avail/ratingReason": rating_reason +"/playmoviespartner:v1/Avail/ratingSystem": rating_system +"/playmoviespartner:v1/Avail/ratingValue": rating_value +"/playmoviespartner:v1/Avail/releaseDate": release_date +"/playmoviespartner:v1/Avail/seasonAltId": season_alt_id +"/playmoviespartner:v1/Avail/seasonNumber": season_number +"/playmoviespartner:v1/Avail/seasonTitleInternalAlias": season_title_internal_alias +"/playmoviespartner:v1/Avail/seriesAltId": series_alt_id +"/playmoviespartner:v1/Avail/seriesTitleInternalAlias": series_title_internal_alias +"/playmoviespartner:v1/Avail/start": start +"/playmoviespartner:v1/Avail/storeLanguage": store_language +"/playmoviespartner:v1/Avail/suppressionLiftDate": suppression_lift_date +"/playmoviespartner:v1/Avail/territory": territory +"/playmoviespartner:v1/Avail/titleInternalAlias": title_internal_alias +"/playmoviespartner:v1/Avail/videoId": video_id +"/playmoviespartner:v1/Avail/workType": work_type +"/playmoviespartner:v1/ListAvailsResponse": list_avails_response +"/playmoviespartner:v1/ListAvailsResponse/avails": avails +"/playmoviespartner:v1/ListAvailsResponse/avails/avail": avail +"/playmoviespartner:v1/ListAvailsResponse/nextPageToken": next_page_token +"/playmoviespartner:v1/ListAvailsResponse/totalSize": total_size +"/playmoviespartner:v1/ListOrdersResponse": list_orders_response +"/playmoviespartner:v1/ListOrdersResponse/nextPageToken": next_page_token +"/playmoviespartner:v1/ListOrdersResponse/orders": orders +"/playmoviespartner:v1/ListOrdersResponse/orders/order": order +"/playmoviespartner:v1/ListOrdersResponse/totalSize": total_size +"/playmoviespartner:v1/ListStoreInfosResponse": list_store_infos_response +"/playmoviespartner:v1/ListStoreInfosResponse/nextPageToken": next_page_token +"/playmoviespartner:v1/ListStoreInfosResponse/storeInfos": store_infos +"/playmoviespartner:v1/ListStoreInfosResponse/storeInfos/store_info": store_info +"/playmoviespartner:v1/ListStoreInfosResponse/totalSize": total_size +"/playmoviespartner:v1/Order": order +"/playmoviespartner:v1/Order/approvedTime": approved_time +"/playmoviespartner:v1/Order/channelId": channel_id +"/playmoviespartner:v1/Order/channelName": channel_name +"/playmoviespartner:v1/Order/countries": countries +"/playmoviespartner:v1/Order/countries/country": country +"/playmoviespartner:v1/Order/customId": custom_id +"/playmoviespartner:v1/Order/earliestAvailStartTime": earliest_avail_start_time +"/playmoviespartner:v1/Order/episodeName": episode_name +"/playmoviespartner:v1/Order/legacyPriority": legacy_priority +"/playmoviespartner:v1/Order/name": name +"/playmoviespartner:v1/Order/normalizedPriority": normalized_priority +"/playmoviespartner:v1/Order/orderId": order_id +"/playmoviespartner:v1/Order/orderedTime": ordered_time +"/playmoviespartner:v1/Order/pphName": pph_name +"/playmoviespartner:v1/Order/priority": priority +"/playmoviespartner:v1/Order/receivedTime": received_time +"/playmoviespartner:v1/Order/rejectionNote": rejection_note +"/playmoviespartner:v1/Order/seasonName": season_name +"/playmoviespartner:v1/Order/showName": show_name +"/playmoviespartner:v1/Order/status": status +"/playmoviespartner:v1/Order/statusDetail": status_detail +"/playmoviespartner:v1/Order/studioName": studio_name +"/playmoviespartner:v1/Order/type": type +"/playmoviespartner:v1/Order/videoId": video_id +"/playmoviespartner:v1/StoreInfo": store_info +"/playmoviespartner:v1/StoreInfo/audioTracks": audio_tracks +"/playmoviespartner:v1/StoreInfo/audioTracks/audio_track": audio_track +"/playmoviespartner:v1/StoreInfo/country": country +"/playmoviespartner:v1/StoreInfo/editLevelEidr": edit_level_eidr +"/playmoviespartner:v1/StoreInfo/episodeNumber": episode_number +"/playmoviespartner:v1/StoreInfo/hasAudio51": has_audio51 +"/playmoviespartner:v1/StoreInfo/hasEstOffer": has_est_offer +"/playmoviespartner:v1/StoreInfo/hasHdOffer": has_hd_offer +"/playmoviespartner:v1/StoreInfo/hasInfoCards": has_info_cards +"/playmoviespartner:v1/StoreInfo/hasSdOffer": has_sd_offer +"/playmoviespartner:v1/StoreInfo/hasVodOffer": has_vod_offer +"/playmoviespartner:v1/StoreInfo/liveTime": live_time +"/playmoviespartner:v1/StoreInfo/mid": mid +"/playmoviespartner:v1/StoreInfo/name": name +"/playmoviespartner:v1/StoreInfo/pphNames": pph_names +"/playmoviespartner:v1/StoreInfo/pphNames/pph_name": pph_name +"/playmoviespartner:v1/StoreInfo/seasonId": season_id +"/playmoviespartner:v1/StoreInfo/seasonName": season_name +"/playmoviespartner:v1/StoreInfo/seasonNumber": season_number +"/playmoviespartner:v1/StoreInfo/showId": show_id +"/playmoviespartner:v1/StoreInfo/showName": show_name +"/playmoviespartner:v1/StoreInfo/studioName": studio_name +"/playmoviespartner:v1/StoreInfo/subtitles": subtitles +"/playmoviespartner:v1/StoreInfo/subtitles/subtitle": subtitle +"/playmoviespartner:v1/StoreInfo/titleLevelEidr": title_level_eidr +"/playmoviespartner:v1/StoreInfo/trailerId": trailer_id +"/playmoviespartner:v1/StoreInfo/type": type +"/playmoviespartner:v1/StoreInfo/videoId": video_id +"/playmoviespartner:v1/fields": fields +"/playmoviespartner:v1/key": key +"/playmoviespartner:v1/playmoviespartner.accounts.avails.get": get_account_avail +"/playmoviespartner:v1/playmoviespartner.accounts.avails.get/accountId": account_id +"/playmoviespartner:v1/playmoviespartner.accounts.avails.get/availId": avail_id +"/playmoviespartner:v1/playmoviespartner.accounts.avails.list": list_account_avails +"/playmoviespartner:v1/playmoviespartner.accounts.avails.list/accountId": account_id +"/playmoviespartner:v1/playmoviespartner.accounts.avails.list/altId": alt_id +"/playmoviespartner:v1/playmoviespartner.accounts.avails.list/altIds": alt_ids +"/playmoviespartner:v1/playmoviespartner.accounts.avails.list/pageSize": page_size +"/playmoviespartner:v1/playmoviespartner.accounts.avails.list/pageToken": page_token +"/playmoviespartner:v1/playmoviespartner.accounts.avails.list/pphNames": pph_names +"/playmoviespartner:v1/playmoviespartner.accounts.avails.list/studioNames": studio_names +"/playmoviespartner:v1/playmoviespartner.accounts.avails.list/territories": territories +"/playmoviespartner:v1/playmoviespartner.accounts.avails.list/title": title +"/playmoviespartner:v1/playmoviespartner.accounts.avails.list/videoIds": video_ids +"/playmoviespartner:v1/playmoviespartner.accounts.orders.get": get_account_order +"/playmoviespartner:v1/playmoviespartner.accounts.orders.get/accountId": account_id +"/playmoviespartner:v1/playmoviespartner.accounts.orders.get/orderId": order_id +"/playmoviespartner:v1/playmoviespartner.accounts.orders.list": list_account_orders +"/playmoviespartner:v1/playmoviespartner.accounts.orders.list/accountId": account_id +"/playmoviespartner:v1/playmoviespartner.accounts.orders.list/customId": custom_id +"/playmoviespartner:v1/playmoviespartner.accounts.orders.list/name": name +"/playmoviespartner:v1/playmoviespartner.accounts.orders.list/pageSize": page_size +"/playmoviespartner:v1/playmoviespartner.accounts.orders.list/pageToken": page_token +"/playmoviespartner:v1/playmoviespartner.accounts.orders.list/pphNames": pph_names +"/playmoviespartner:v1/playmoviespartner.accounts.orders.list/status": status +"/playmoviespartner:v1/playmoviespartner.accounts.orders.list/studioNames": studio_names +"/playmoviespartner:v1/playmoviespartner.accounts.orders.list/videoIds": video_ids +"/playmoviespartner:v1/playmoviespartner.accounts.storeInfos.country.get": get_account_store_info_country +"/playmoviespartner:v1/playmoviespartner.accounts.storeInfos.country.get/accountId": account_id +"/playmoviespartner:v1/playmoviespartner.accounts.storeInfos.country.get/country": country +"/playmoviespartner:v1/playmoviespartner.accounts.storeInfos.country.get/videoId": video_id +"/playmoviespartner:v1/playmoviespartner.accounts.storeInfos.list": list_account_store_infos +"/playmoviespartner:v1/playmoviespartner.accounts.storeInfos.list/accountId": account_id +"/playmoviespartner:v1/playmoviespartner.accounts.storeInfos.list/countries": countries +"/playmoviespartner:v1/playmoviespartner.accounts.storeInfos.list/mids": mids +"/playmoviespartner:v1/playmoviespartner.accounts.storeInfos.list/name": name +"/playmoviespartner:v1/playmoviespartner.accounts.storeInfos.list/pageSize": page_size +"/playmoviespartner:v1/playmoviespartner.accounts.storeInfos.list/pageToken": page_token +"/playmoviespartner:v1/playmoviespartner.accounts.storeInfos.list/pphNames": pph_names +"/playmoviespartner:v1/playmoviespartner.accounts.storeInfos.list/seasonIds": season_ids +"/playmoviespartner:v1/playmoviespartner.accounts.storeInfos.list/studioNames": studio_names +"/playmoviespartner:v1/playmoviespartner.accounts.storeInfos.list/videoId": video_id +"/playmoviespartner:v1/playmoviespartner.accounts.storeInfos.list/videoIds": video_ids +"/playmoviespartner:v1/quotaUser": quota_user "/plus:v1/Acl": acl "/plus:v1/Acl/description": description "/plus:v1/Acl/items": items @@ -33600,71 +35049,48 @@ "/plus:v1/PlusAclentryResource/displayName": display_name "/plus:v1/PlusAclentryResource/id": id "/plus:v1/PlusAclentryResource/type": type -"/plusDomains:v1/fields": fields -"/plusDomains:v1/key": key -"/plusDomains:v1/quotaUser": quota_user -"/plusDomains:v1/userIp": user_ip -"/plusDomains:v1/plusDomains.activities.get": get_activity -"/plusDomains:v1/plusDomains.activities.get/activityId": activity_id -"/plusDomains:v1/plusDomains.activities.insert": insert_activity -"/plusDomains:v1/plusDomains.activities.insert/preview": preview -"/plusDomains:v1/plusDomains.activities.insert/userId": user_id -"/plusDomains:v1/plusDomains.activities.list": list_activities -"/plusDomains:v1/plusDomains.activities.list/collection": collection -"/plusDomains:v1/plusDomains.activities.list/maxResults": max_results -"/plusDomains:v1/plusDomains.activities.list/pageToken": page_token -"/plusDomains:v1/plusDomains.activities.list/userId": user_id -"/plusDomains:v1/plusDomains.audiences.list": list_audiences -"/plusDomains:v1/plusDomains.audiences.list/maxResults": max_results -"/plusDomains:v1/plusDomains.audiences.list/pageToken": page_token -"/plusDomains:v1/plusDomains.audiences.list/userId": user_id -"/plusDomains:v1/plusDomains.circles.addPeople/circleId": circle_id -"/plusDomains:v1/plusDomains.circles.addPeople/email": email -"/plusDomains:v1/plusDomains.circles.addPeople/userId": user_id -"/plusDomains:v1/plusDomains.circles.get": get_circle -"/plusDomains:v1/plusDomains.circles.get/circleId": circle_id -"/plusDomains:v1/plusDomains.circles.insert": insert_circle -"/plusDomains:v1/plusDomains.circles.insert/userId": user_id -"/plusDomains:v1/plusDomains.circles.list": list_circles -"/plusDomains:v1/plusDomains.circles.list/maxResults": max_results -"/plusDomains:v1/plusDomains.circles.list/pageToken": page_token -"/plusDomains:v1/plusDomains.circles.list/userId": user_id -"/plusDomains:v1/plusDomains.circles.patch": patch_circle -"/plusDomains:v1/plusDomains.circles.patch/circleId": circle_id -"/plusDomains:v1/plusDomains.circles.remove": remove_circle -"/plusDomains:v1/plusDomains.circles.remove/circleId": circle_id -"/plusDomains:v1/plusDomains.circles.removePeople/circleId": circle_id -"/plusDomains:v1/plusDomains.circles.removePeople/email": email -"/plusDomains:v1/plusDomains.circles.removePeople/userId": user_id -"/plusDomains:v1/plusDomains.circles.update": update_circle -"/plusDomains:v1/plusDomains.circles.update/circleId": circle_id -"/plusDomains:v1/plusDomains.comments.get": get_comment -"/plusDomains:v1/plusDomains.comments.get/commentId": comment_id -"/plusDomains:v1/plusDomains.comments.insert": insert_comment -"/plusDomains:v1/plusDomains.comments.insert/activityId": activity_id -"/plusDomains:v1/plusDomains.comments.list": list_comments -"/plusDomains:v1/plusDomains.comments.list/activityId": activity_id -"/plusDomains:v1/plusDomains.comments.list/maxResults": max_results -"/plusDomains:v1/plusDomains.comments.list/pageToken": page_token -"/plusDomains:v1/plusDomains.comments.list/sortOrder": sort_order -"/plusDomains:v1/plusDomains.media.insert": insert_medium -"/plusDomains:v1/plusDomains.media.insert/collection": collection -"/plusDomains:v1/plusDomains.media.insert/userId": user_id -"/plusDomains:v1/plusDomains.people.get": get_person -"/plusDomains:v1/plusDomains.people.get/userId": user_id -"/plusDomains:v1/plusDomains.people.list": list_people -"/plusDomains:v1/plusDomains.people.list/collection": collection -"/plusDomains:v1/plusDomains.people.list/maxResults": max_results -"/plusDomains:v1/plusDomains.people.list/orderBy": order_by -"/plusDomains:v1/plusDomains.people.list/pageToken": page_token -"/plusDomains:v1/plusDomains.people.list/userId": user_id -"/plusDomains:v1/plusDomains.people.listByActivity/activityId": activity_id -"/plusDomains:v1/plusDomains.people.listByActivity/collection": collection -"/plusDomains:v1/plusDomains.people.listByActivity/maxResults": max_results -"/plusDomains:v1/plusDomains.people.listByActivity/pageToken": page_token -"/plusDomains:v1/plusDomains.people.listByCircle/circleId": circle_id -"/plusDomains:v1/plusDomains.people.listByCircle/maxResults": max_results -"/plusDomains:v1/plusDomains.people.listByCircle/pageToken": page_token +"/plus:v1/fields": fields +"/plus:v1/key": key +"/plus:v1/plus.activities.get": get_activity +"/plus:v1/plus.activities.get/activityId": activity_id +"/plus:v1/plus.activities.list": list_activities +"/plus:v1/plus.activities.list/collection": collection +"/plus:v1/plus.activities.list/maxResults": max_results +"/plus:v1/plus.activities.list/pageToken": page_token +"/plus:v1/plus.activities.list/userId": user_id +"/plus:v1/plus.activities.search": search_activities +"/plus:v1/plus.activities.search/language": language +"/plus:v1/plus.activities.search/maxResults": max_results +"/plus:v1/plus.activities.search/orderBy": order_by +"/plus:v1/plus.activities.search/pageToken": page_token +"/plus:v1/plus.activities.search/query": query +"/plus:v1/plus.comments.get": get_comment +"/plus:v1/plus.comments.get/commentId": comment_id +"/plus:v1/plus.comments.list": list_comments +"/plus:v1/plus.comments.list/activityId": activity_id +"/plus:v1/plus.comments.list/maxResults": max_results +"/plus:v1/plus.comments.list/pageToken": page_token +"/plus:v1/plus.comments.list/sortOrder": sort_order +"/plus:v1/plus.people.get": get_person +"/plus:v1/plus.people.get/userId": user_id +"/plus:v1/plus.people.list": list_people +"/plus:v1/plus.people.list/collection": collection +"/plus:v1/plus.people.list/maxResults": max_results +"/plus:v1/plus.people.list/orderBy": order_by +"/plus:v1/plus.people.list/pageToken": page_token +"/plus:v1/plus.people.list/userId": user_id +"/plus:v1/plus.people.listByActivity": list_people_by_activity +"/plus:v1/plus.people.listByActivity/activityId": activity_id +"/plus:v1/plus.people.listByActivity/collection": collection +"/plus:v1/plus.people.listByActivity/maxResults": max_results +"/plus:v1/plus.people.listByActivity/pageToken": page_token +"/plus:v1/plus.people.search": search_people +"/plus:v1/plus.people.search/language": language +"/plus:v1/plus.people.search/maxResults": max_results +"/plus:v1/plus.people.search/pageToken": page_token +"/plus:v1/plus.people.search/query": query +"/plus:v1/quotaUser": quota_user +"/plus:v1/userIp": user_ip "/plusDomains:v1/Acl": acl "/plusDomains:v1/Acl/description": description "/plusDomains:v1/Acl/domainRestricted": domain_restricted @@ -33969,26 +35395,75 @@ "/plusDomains:v1/Videostream/type": type "/plusDomains:v1/Videostream/url": url "/plusDomains:v1/Videostream/width": width -"/prediction:v1.6/fields": fields -"/prediction:v1.6/key": key -"/prediction:v1.6/quotaUser": quota_user -"/prediction:v1.6/userIp": user_ip -"/prediction:v1.6/prediction.hostedmodels.predict/hostedModelName": hosted_model_name -"/prediction:v1.6/prediction.hostedmodels.predict/project": project -"/prediction:v1.6/prediction.trainedmodels.analyze/id": id -"/prediction:v1.6/prediction.trainedmodels.analyze/project": project -"/prediction:v1.6/prediction.trainedmodels.delete/id": id -"/prediction:v1.6/prediction.trainedmodels.delete/project": project -"/prediction:v1.6/prediction.trainedmodels.get/id": id -"/prediction:v1.6/prediction.trainedmodels.get/project": project -"/prediction:v1.6/prediction.trainedmodels.insert/project": project -"/prediction:v1.6/prediction.trainedmodels.list/maxResults": max_results -"/prediction:v1.6/prediction.trainedmodels.list/pageToken": page_token -"/prediction:v1.6/prediction.trainedmodels.list/project": project -"/prediction:v1.6/prediction.trainedmodels.predict/id": id -"/prediction:v1.6/prediction.trainedmodels.predict/project": project -"/prediction:v1.6/prediction.trainedmodels.update/id": id -"/prediction:v1.6/prediction.trainedmodels.update/project": project +"/plusDomains:v1/fields": fields +"/plusDomains:v1/key": key +"/plusDomains:v1/plusDomains.activities.get": get_activity +"/plusDomains:v1/plusDomains.activities.get/activityId": activity_id +"/plusDomains:v1/plusDomains.activities.insert": insert_activity +"/plusDomains:v1/plusDomains.activities.insert/preview": preview +"/plusDomains:v1/plusDomains.activities.insert/userId": user_id +"/plusDomains:v1/plusDomains.activities.list": list_activities +"/plusDomains:v1/plusDomains.activities.list/collection": collection +"/plusDomains:v1/plusDomains.activities.list/maxResults": max_results +"/plusDomains:v1/plusDomains.activities.list/pageToken": page_token +"/plusDomains:v1/plusDomains.activities.list/userId": user_id +"/plusDomains:v1/plusDomains.audiences.list": list_audiences +"/plusDomains:v1/plusDomains.audiences.list/maxResults": max_results +"/plusDomains:v1/plusDomains.audiences.list/pageToken": page_token +"/plusDomains:v1/plusDomains.audiences.list/userId": user_id +"/plusDomains:v1/plusDomains.circles.addPeople": add_people +"/plusDomains:v1/plusDomains.circles.addPeople/circleId": circle_id +"/plusDomains:v1/plusDomains.circles.addPeople/email": email +"/plusDomains:v1/plusDomains.circles.addPeople/userId": user_id +"/plusDomains:v1/plusDomains.circles.get": get_circle +"/plusDomains:v1/plusDomains.circles.get/circleId": circle_id +"/plusDomains:v1/plusDomains.circles.insert": insert_circle +"/plusDomains:v1/plusDomains.circles.insert/userId": user_id +"/plusDomains:v1/plusDomains.circles.list": list_circles +"/plusDomains:v1/plusDomains.circles.list/maxResults": max_results +"/plusDomains:v1/plusDomains.circles.list/pageToken": page_token +"/plusDomains:v1/plusDomains.circles.list/userId": user_id +"/plusDomains:v1/plusDomains.circles.patch": patch_circle +"/plusDomains:v1/plusDomains.circles.patch/circleId": circle_id +"/plusDomains:v1/plusDomains.circles.remove": remove_circle +"/plusDomains:v1/plusDomains.circles.remove/circleId": circle_id +"/plusDomains:v1/plusDomains.circles.removePeople": remove_people +"/plusDomains:v1/plusDomains.circles.removePeople/circleId": circle_id +"/plusDomains:v1/plusDomains.circles.removePeople/email": email +"/plusDomains:v1/plusDomains.circles.removePeople/userId": user_id +"/plusDomains:v1/plusDomains.circles.update": update_circle +"/plusDomains:v1/plusDomains.circles.update/circleId": circle_id +"/plusDomains:v1/plusDomains.comments.get": get_comment +"/plusDomains:v1/plusDomains.comments.get/commentId": comment_id +"/plusDomains:v1/plusDomains.comments.insert": insert_comment +"/plusDomains:v1/plusDomains.comments.insert/activityId": activity_id +"/plusDomains:v1/plusDomains.comments.list": list_comments +"/plusDomains:v1/plusDomains.comments.list/activityId": activity_id +"/plusDomains:v1/plusDomains.comments.list/maxResults": max_results +"/plusDomains:v1/plusDomains.comments.list/pageToken": page_token +"/plusDomains:v1/plusDomains.comments.list/sortOrder": sort_order +"/plusDomains:v1/plusDomains.media.insert": insert_medium +"/plusDomains:v1/plusDomains.media.insert/collection": collection +"/plusDomains:v1/plusDomains.media.insert/userId": user_id +"/plusDomains:v1/plusDomains.people.get": get_person +"/plusDomains:v1/plusDomains.people.get/userId": user_id +"/plusDomains:v1/plusDomains.people.list": list_people +"/plusDomains:v1/plusDomains.people.list/collection": collection +"/plusDomains:v1/plusDomains.people.list/maxResults": max_results +"/plusDomains:v1/plusDomains.people.list/orderBy": order_by +"/plusDomains:v1/plusDomains.people.list/pageToken": page_token +"/plusDomains:v1/plusDomains.people.list/userId": user_id +"/plusDomains:v1/plusDomains.people.listByActivity": list_people_by_activity +"/plusDomains:v1/plusDomains.people.listByActivity/activityId": activity_id +"/plusDomains:v1/plusDomains.people.listByActivity/collection": collection +"/plusDomains:v1/plusDomains.people.listByActivity/maxResults": max_results +"/plusDomains:v1/plusDomains.people.listByActivity/pageToken": page_token +"/plusDomains:v1/plusDomains.people.listByCircle": list_people_by_circle +"/plusDomains:v1/plusDomains.people.listByCircle/circleId": circle_id +"/plusDomains:v1/plusDomains.people.listByCircle/maxResults": max_results +"/plusDomains:v1/plusDomains.people.listByCircle/pageToken": page_token +"/plusDomains:v1/quotaUser": quota_user +"/plusDomains:v1/userIp": user_ip "/prediction:v1.6/Analyze": analyze "/prediction:v1.6/Analyze/dataDescription": data_description "/prediction:v1.6/Analyze/dataDescription/features": features @@ -34085,269 +35560,302 @@ "/prediction:v1.6/Update/csvInstance": csv_instance "/prediction:v1.6/Update/csvInstance/csv_instance": csv_instance "/prediction:v1.6/Update/output": output +"/prediction:v1.6/fields": fields +"/prediction:v1.6/key": key +"/prediction:v1.6/prediction.hostedmodels.predict": predict_hosted_model +"/prediction:v1.6/prediction.hostedmodels.predict/hostedModelName": hosted_model_name +"/prediction:v1.6/prediction.hostedmodels.predict/project": project +"/prediction:v1.6/prediction.trainedmodels.analyze": analyze_trained_model +"/prediction:v1.6/prediction.trainedmodels.analyze/id": id +"/prediction:v1.6/prediction.trainedmodels.analyze/project": project +"/prediction:v1.6/prediction.trainedmodels.delete": delete_trained_model +"/prediction:v1.6/prediction.trainedmodels.delete/id": id +"/prediction:v1.6/prediction.trainedmodels.delete/project": project +"/prediction:v1.6/prediction.trainedmodels.get": get_trained_model +"/prediction:v1.6/prediction.trainedmodels.get/id": id +"/prediction:v1.6/prediction.trainedmodels.get/project": project +"/prediction:v1.6/prediction.trainedmodels.insert": insert_trained_model +"/prediction:v1.6/prediction.trainedmodels.insert/project": project +"/prediction:v1.6/prediction.trainedmodels.list": list_trained_models +"/prediction:v1.6/prediction.trainedmodels.list/maxResults": max_results +"/prediction:v1.6/prediction.trainedmodels.list/pageToken": page_token +"/prediction:v1.6/prediction.trainedmodels.list/project": project +"/prediction:v1.6/prediction.trainedmodels.predict": predict_trained_model +"/prediction:v1.6/prediction.trainedmodels.predict/id": id +"/prediction:v1.6/prediction.trainedmodels.predict/project": project +"/prediction:v1.6/prediction.trainedmodels.update": update_trained_model +"/prediction:v1.6/prediction.trainedmodels.update/id": id +"/prediction:v1.6/prediction.trainedmodels.update/project": project +"/prediction:v1.6/quotaUser": quota_user +"/prediction:v1.6/userIp": user_ip +"/proximitybeacon:v1beta1/AdvertisedId": advertised_id +"/proximitybeacon:v1beta1/AdvertisedId/id": id +"/proximitybeacon:v1beta1/AdvertisedId/type": type +"/proximitybeacon:v1beta1/AttachmentInfo": attachment_info +"/proximitybeacon:v1beta1/AttachmentInfo/data": data +"/proximitybeacon:v1beta1/AttachmentInfo/namespacedType": namespaced_type +"/proximitybeacon:v1beta1/Beacon": beacon +"/proximitybeacon:v1beta1/Beacon/advertisedId": advertised_id +"/proximitybeacon:v1beta1/Beacon/beaconName": beacon_name +"/proximitybeacon:v1beta1/Beacon/description": description +"/proximitybeacon:v1beta1/Beacon/ephemeralIdRegistration": ephemeral_id_registration +"/proximitybeacon:v1beta1/Beacon/expectedStability": expected_stability +"/proximitybeacon:v1beta1/Beacon/indoorLevel": indoor_level +"/proximitybeacon:v1beta1/Beacon/latLng": lat_lng +"/proximitybeacon:v1beta1/Beacon/placeId": place_id +"/proximitybeacon:v1beta1/Beacon/properties": properties +"/proximitybeacon:v1beta1/Beacon/properties/property": property +"/proximitybeacon:v1beta1/Beacon/provisioningKey": provisioning_key +"/proximitybeacon:v1beta1/Beacon/status": status +"/proximitybeacon:v1beta1/BeaconAttachment": beacon_attachment +"/proximitybeacon:v1beta1/BeaconAttachment/attachmentName": attachment_name +"/proximitybeacon:v1beta1/BeaconAttachment/creationTimeMs": creation_time_ms +"/proximitybeacon:v1beta1/BeaconAttachment/data": data +"/proximitybeacon:v1beta1/BeaconAttachment/namespacedType": namespaced_type +"/proximitybeacon:v1beta1/BeaconInfo": beacon_info +"/proximitybeacon:v1beta1/BeaconInfo/advertisedId": advertised_id +"/proximitybeacon:v1beta1/BeaconInfo/attachments": attachments +"/proximitybeacon:v1beta1/BeaconInfo/attachments/attachment": attachment +"/proximitybeacon:v1beta1/BeaconInfo/beaconName": beacon_name +"/proximitybeacon:v1beta1/Date": date +"/proximitybeacon:v1beta1/Date/day": day +"/proximitybeacon:v1beta1/Date/month": month +"/proximitybeacon:v1beta1/Date/year": year +"/proximitybeacon:v1beta1/DeleteAttachmentsResponse": delete_attachments_response +"/proximitybeacon:v1beta1/DeleteAttachmentsResponse/numDeleted": num_deleted +"/proximitybeacon:v1beta1/Diagnostics": diagnostics +"/proximitybeacon:v1beta1/Diagnostics/alerts": alerts +"/proximitybeacon:v1beta1/Diagnostics/alerts/alert": alert +"/proximitybeacon:v1beta1/Diagnostics/beaconName": beacon_name +"/proximitybeacon:v1beta1/Diagnostics/estimatedLowBatteryDate": estimated_low_battery_date +"/proximitybeacon:v1beta1/Empty": empty +"/proximitybeacon:v1beta1/EphemeralIdRegistration": ephemeral_id_registration +"/proximitybeacon:v1beta1/EphemeralIdRegistration/beaconEcdhPublicKey": beacon_ecdh_public_key +"/proximitybeacon:v1beta1/EphemeralIdRegistration/beaconIdentityKey": beacon_identity_key +"/proximitybeacon:v1beta1/EphemeralIdRegistration/initialClockValue": initial_clock_value +"/proximitybeacon:v1beta1/EphemeralIdRegistration/initialEid": initial_eid +"/proximitybeacon:v1beta1/EphemeralIdRegistration/rotationPeriodExponent": rotation_period_exponent +"/proximitybeacon:v1beta1/EphemeralIdRegistration/serviceEcdhPublicKey": service_ecdh_public_key +"/proximitybeacon:v1beta1/EphemeralIdRegistrationParams": ephemeral_id_registration_params +"/proximitybeacon:v1beta1/EphemeralIdRegistrationParams/maxRotationPeriodExponent": max_rotation_period_exponent +"/proximitybeacon:v1beta1/EphemeralIdRegistrationParams/minRotationPeriodExponent": min_rotation_period_exponent +"/proximitybeacon:v1beta1/EphemeralIdRegistrationParams/serviceEcdhPublicKey": service_ecdh_public_key +"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsRequest": get_info_for_observed_beacons_request +"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsRequest/namespacedTypes": namespaced_types +"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsRequest/namespacedTypes/namespaced_type": namespaced_type +"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsRequest/observations": observations +"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsRequest/observations/observation": observation +"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsResponse": get_info_for_observed_beacons_response +"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsResponse/beacons": beacons +"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsResponse/beacons/beacon": beacon +"/proximitybeacon:v1beta1/IndoorLevel": indoor_level +"/proximitybeacon:v1beta1/IndoorLevel/name": name +"/proximitybeacon:v1beta1/LatLng": lat_lng +"/proximitybeacon:v1beta1/LatLng/latitude": latitude +"/proximitybeacon:v1beta1/LatLng/longitude": longitude +"/proximitybeacon:v1beta1/ListBeaconAttachmentsResponse": list_beacon_attachments_response +"/proximitybeacon:v1beta1/ListBeaconAttachmentsResponse/attachments": attachments +"/proximitybeacon:v1beta1/ListBeaconAttachmentsResponse/attachments/attachment": attachment +"/proximitybeacon:v1beta1/ListBeaconsResponse": list_beacons_response +"/proximitybeacon:v1beta1/ListBeaconsResponse/beacons": beacons +"/proximitybeacon:v1beta1/ListBeaconsResponse/beacons/beacon": beacon +"/proximitybeacon:v1beta1/ListBeaconsResponse/nextPageToken": next_page_token +"/proximitybeacon:v1beta1/ListBeaconsResponse/totalCount": total_count +"/proximitybeacon:v1beta1/ListDiagnosticsResponse": list_diagnostics_response +"/proximitybeacon:v1beta1/ListDiagnosticsResponse/diagnostics": diagnostics +"/proximitybeacon:v1beta1/ListDiagnosticsResponse/diagnostics/diagnostic": diagnostic +"/proximitybeacon:v1beta1/ListDiagnosticsResponse/nextPageToken": next_page_token +"/proximitybeacon:v1beta1/ListNamespacesResponse": list_namespaces_response +"/proximitybeacon:v1beta1/ListNamespacesResponse/namespaces": namespaces +"/proximitybeacon:v1beta1/ListNamespacesResponse/namespaces/namespace": namespace +"/proximitybeacon:v1beta1/Namespace": namespace +"/proximitybeacon:v1beta1/Namespace/namespaceName": namespace_name +"/proximitybeacon:v1beta1/Namespace/servingVisibility": serving_visibility +"/proximitybeacon:v1beta1/Observation": observation +"/proximitybeacon:v1beta1/Observation/advertisedId": advertised_id +"/proximitybeacon:v1beta1/Observation/telemetry": telemetry +"/proximitybeacon:v1beta1/Observation/timestampMs": timestamp_ms "/proximitybeacon:v1beta1/fields": fields "/proximitybeacon:v1beta1/key": key -"/proximitybeacon:v1beta1/quotaUser": quota_user "/proximitybeacon:v1beta1/proximitybeacon.beaconinfo.getforobserved": getforobserved_beaconinfo +"/proximitybeacon:v1beta1/proximitybeacon.beacons.activate": activate_beacon +"/proximitybeacon:v1beta1/proximitybeacon.beacons.activate/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.activate/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.batchDelete": batch_beacon_attachment_delete +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.batchDelete/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.batchDelete/namespacedType": namespaced_type +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.batchDelete/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.create": create_beacon_attachment +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.create/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.create/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.delete": delete_beacon_attachment +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.delete/attachmentName": attachment_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.delete/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.list": list_beacon_attachments +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.list/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.list/namespacedType": namespaced_type +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.list/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.deactivate": deactivate_beacon +"/proximitybeacon:v1beta1/proximitybeacon.beacons.deactivate/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.deactivate/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.decommission": decommission_beacon +"/proximitybeacon:v1beta1/proximitybeacon.beacons.decommission/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.decommission/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.delete": delete_beacon +"/proximitybeacon:v1beta1/proximitybeacon.beacons.delete/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.delete/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list": list_beacon_diagnostics +"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/alertFilter": alert_filter +"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/pageSize": page_size +"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/pageToken": page_token +"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.get": get_beacon +"/proximitybeacon:v1beta1/proximitybeacon.beacons.get/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.get/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.list": list_beacons +"/proximitybeacon:v1beta1/proximitybeacon.beacons.list/pageSize": page_size +"/proximitybeacon:v1beta1/proximitybeacon.beacons.list/pageToken": page_token +"/proximitybeacon:v1beta1/proximitybeacon.beacons.list/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.list/q": q +"/proximitybeacon:v1beta1/proximitybeacon.beacons.register": register_beacon +"/proximitybeacon:v1beta1/proximitybeacon.beacons.register/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.update": update_beacon +"/proximitybeacon:v1beta1/proximitybeacon.beacons.update/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.update/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.getEidparams": get_eidparams "/proximitybeacon:v1beta1/proximitybeacon.namespaces.list": list_namespaces "/proximitybeacon:v1beta1/proximitybeacon.namespaces.list/projectId": project_id "/proximitybeacon:v1beta1/proximitybeacon.namespaces.update": update_namespace "/proximitybeacon:v1beta1/proximitybeacon.namespaces.update/namespaceName": namespace_name "/proximitybeacon:v1beta1/proximitybeacon.namespaces.update/projectId": project_id -"/proximitybeacon:v1beta1/proximitybeacon.getEidparams": get_eidparams -"/proximitybeacon:v1beta1/proximitybeacon.beacons.activate": activate_beacon -"/proximitybeacon:v1beta1/proximitybeacon.beacons.activate/beaconName": beacon_name -"/proximitybeacon:v1beta1/proximitybeacon.beacons.activate/projectId": project_id -"/proximitybeacon:v1beta1/proximitybeacon.beacons.get": get_beacon -"/proximitybeacon:v1beta1/proximitybeacon.beacons.get/beaconName": beacon_name -"/proximitybeacon:v1beta1/proximitybeacon.beacons.get/projectId": project_id -"/proximitybeacon:v1beta1/proximitybeacon.beacons.update": update_beacon -"/proximitybeacon:v1beta1/proximitybeacon.beacons.update/beaconName": beacon_name -"/proximitybeacon:v1beta1/proximitybeacon.beacons.update/projectId": project_id -"/proximitybeacon:v1beta1/proximitybeacon.beacons.decommission": decommission_beacon -"/proximitybeacon:v1beta1/proximitybeacon.beacons.decommission/projectId": project_id -"/proximitybeacon:v1beta1/proximitybeacon.beacons.decommission/beaconName": beacon_name -"/proximitybeacon:v1beta1/proximitybeacon.beacons.delete": delete_beacon -"/proximitybeacon:v1beta1/proximitybeacon.beacons.delete/projectId": project_id -"/proximitybeacon:v1beta1/proximitybeacon.beacons.delete/beaconName": beacon_name -"/proximitybeacon:v1beta1/proximitybeacon.beacons.deactivate": deactivate_beacon -"/proximitybeacon:v1beta1/proximitybeacon.beacons.deactivate/beaconName": beacon_name -"/proximitybeacon:v1beta1/proximitybeacon.beacons.deactivate/projectId": project_id -"/proximitybeacon:v1beta1/proximitybeacon.beacons.register": register_beacon -"/proximitybeacon:v1beta1/proximitybeacon.beacons.register/projectId": project_id -"/proximitybeacon:v1beta1/proximitybeacon.beacons.list": list_beacons -"/proximitybeacon:v1beta1/proximitybeacon.beacons.list/pageToken": page_token -"/proximitybeacon:v1beta1/proximitybeacon.beacons.list/pageSize": page_size -"/proximitybeacon:v1beta1/proximitybeacon.beacons.list/q": q -"/proximitybeacon:v1beta1/proximitybeacon.beacons.list/projectId": project_id -"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.delete": delete_beacon_attachment -"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.delete/projectId": project_id -"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.delete/attachmentName": attachment_name -"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.list": list_beacon_attachments -"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.list/namespacedType": namespaced_type -"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.list/beaconName": beacon_name -"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.list/projectId": project_id -"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.batchDelete": batch_beacon_attachment_delete -"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.batchDelete/namespacedType": namespaced_type -"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.batchDelete/beaconName": beacon_name -"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.batchDelete/projectId": project_id -"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.create": create_beacon_attachment -"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.create/projectId": project_id -"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.create/beaconName": beacon_name -"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list": list_beacon_diagnostics -"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/alertFilter": alert_filter -"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/pageSize": page_size -"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/projectId": project_id -"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/beaconName": beacon_name -"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/pageToken": page_token -"/proximitybeacon:v1beta1/ListNamespacesResponse": list_namespaces_response -"/proximitybeacon:v1beta1/ListNamespacesResponse/namespaces": namespaces -"/proximitybeacon:v1beta1/ListNamespacesResponse/namespaces/namespace": namespace -"/proximitybeacon:v1beta1/Diagnostics": diagnostics -"/proximitybeacon:v1beta1/Diagnostics/estimatedLowBatteryDate": estimated_low_battery_date -"/proximitybeacon:v1beta1/Diagnostics/beaconName": beacon_name -"/proximitybeacon:v1beta1/Diagnostics/alerts": alerts -"/proximitybeacon:v1beta1/Diagnostics/alerts/alert": alert -"/proximitybeacon:v1beta1/ListBeaconsResponse": list_beacons_response -"/proximitybeacon:v1beta1/ListBeaconsResponse/nextPageToken": next_page_token -"/proximitybeacon:v1beta1/ListBeaconsResponse/totalCount": total_count -"/proximitybeacon:v1beta1/ListBeaconsResponse/beacons": beacons -"/proximitybeacon:v1beta1/ListBeaconsResponse/beacons/beacon": beacon -"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsRequest": get_info_for_observed_beacons_request -"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsRequest/observations": observations -"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsRequest/observations/observation": observation -"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsRequest/namespacedTypes": namespaced_types -"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsRequest/namespacedTypes/namespaced_type": namespaced_type -"/proximitybeacon:v1beta1/Empty": empty -"/proximitybeacon:v1beta1/BeaconAttachment": beacon_attachment -"/proximitybeacon:v1beta1/BeaconAttachment/creationTimeMs": creation_time_ms -"/proximitybeacon:v1beta1/BeaconAttachment/attachmentName": attachment_name -"/proximitybeacon:v1beta1/BeaconAttachment/namespacedType": namespaced_type -"/proximitybeacon:v1beta1/BeaconAttachment/data": data -"/proximitybeacon:v1beta1/EphemeralIdRegistration": ephemeral_id_registration -"/proximitybeacon:v1beta1/EphemeralIdRegistration/initialClockValue": initial_clock_value -"/proximitybeacon:v1beta1/EphemeralIdRegistration/beaconEcdhPublicKey": beacon_ecdh_public_key -"/proximitybeacon:v1beta1/EphemeralIdRegistration/rotationPeriodExponent": rotation_period_exponent -"/proximitybeacon:v1beta1/EphemeralIdRegistration/serviceEcdhPublicKey": service_ecdh_public_key -"/proximitybeacon:v1beta1/EphemeralIdRegistration/beaconIdentityKey": beacon_identity_key -"/proximitybeacon:v1beta1/EphemeralIdRegistration/initialEid": initial_eid -"/proximitybeacon:v1beta1/LatLng": lat_lng -"/proximitybeacon:v1beta1/LatLng/longitude": longitude -"/proximitybeacon:v1beta1/LatLng/latitude": latitude -"/proximitybeacon:v1beta1/ListBeaconAttachmentsResponse": list_beacon_attachments_response -"/proximitybeacon:v1beta1/ListBeaconAttachmentsResponse/attachments": attachments -"/proximitybeacon:v1beta1/ListBeaconAttachmentsResponse/attachments/attachment": attachment -"/proximitybeacon:v1beta1/Namespace": namespace -"/proximitybeacon:v1beta1/Namespace/namespaceName": namespace_name -"/proximitybeacon:v1beta1/Namespace/servingVisibility": serving_visibility -"/proximitybeacon:v1beta1/AttachmentInfo": attachment_info -"/proximitybeacon:v1beta1/AttachmentInfo/data": data -"/proximitybeacon:v1beta1/AttachmentInfo/namespacedType": namespaced_type -"/proximitybeacon:v1beta1/BeaconInfo": beacon_info -"/proximitybeacon:v1beta1/BeaconInfo/beaconName": beacon_name -"/proximitybeacon:v1beta1/BeaconInfo/attachments": attachments -"/proximitybeacon:v1beta1/BeaconInfo/attachments/attachment": attachment -"/proximitybeacon:v1beta1/BeaconInfo/advertisedId": advertised_id -"/proximitybeacon:v1beta1/EphemeralIdRegistrationParams": ephemeral_id_registration_params -"/proximitybeacon:v1beta1/EphemeralIdRegistrationParams/maxRotationPeriodExponent": max_rotation_period_exponent -"/proximitybeacon:v1beta1/EphemeralIdRegistrationParams/minRotationPeriodExponent": min_rotation_period_exponent -"/proximitybeacon:v1beta1/EphemeralIdRegistrationParams/serviceEcdhPublicKey": service_ecdh_public_key -"/proximitybeacon:v1beta1/DeleteAttachmentsResponse": delete_attachments_response -"/proximitybeacon:v1beta1/DeleteAttachmentsResponse/numDeleted": num_deleted -"/proximitybeacon:v1beta1/Observation": observation -"/proximitybeacon:v1beta1/Observation/timestampMs": timestamp_ms -"/proximitybeacon:v1beta1/Observation/advertisedId": advertised_id -"/proximitybeacon:v1beta1/Observation/telemetry": telemetry -"/proximitybeacon:v1beta1/ListDiagnosticsResponse": list_diagnostics_response -"/proximitybeacon:v1beta1/ListDiagnosticsResponse/diagnostics": diagnostics -"/proximitybeacon:v1beta1/ListDiagnosticsResponse/diagnostics/diagnostic": diagnostic -"/proximitybeacon:v1beta1/ListDiagnosticsResponse/nextPageToken": next_page_token -"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsResponse": get_info_for_observed_beacons_response -"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsResponse/beacons": beacons -"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsResponse/beacons/beacon": beacon -"/proximitybeacon:v1beta1/Beacon": beacon -"/proximitybeacon:v1beta1/Beacon/status": status -"/proximitybeacon:v1beta1/Beacon/indoorLevel": indoor_level -"/proximitybeacon:v1beta1/Beacon/beaconName": beacon_name -"/proximitybeacon:v1beta1/Beacon/expectedStability": expected_stability -"/proximitybeacon:v1beta1/Beacon/advertisedId": advertised_id -"/proximitybeacon:v1beta1/Beacon/provisioningKey": provisioning_key -"/proximitybeacon:v1beta1/Beacon/ephemeralIdRegistration": ephemeral_id_registration -"/proximitybeacon:v1beta1/Beacon/latLng": lat_lng -"/proximitybeacon:v1beta1/Beacon/placeId": place_id -"/proximitybeacon:v1beta1/Beacon/description": description -"/proximitybeacon:v1beta1/Beacon/properties": properties -"/proximitybeacon:v1beta1/Beacon/properties/property": property -"/proximitybeacon:v1beta1/AdvertisedId": advertised_id -"/proximitybeacon:v1beta1/AdvertisedId/id": id -"/proximitybeacon:v1beta1/AdvertisedId/type": type -"/proximitybeacon:v1beta1/Date": date -"/proximitybeacon:v1beta1/Date/day": day -"/proximitybeacon:v1beta1/Date/year": year -"/proximitybeacon:v1beta1/Date/month": month -"/proximitybeacon:v1beta1/IndoorLevel": indoor_level -"/proximitybeacon:v1beta1/IndoorLevel/name": name -"/pubsub:v1/key": key -"/pubsub:v1/quotaUser": quota_user -"/pubsub:v1/fields": fields -"/pubsub:v1/pubsub.projects.snapshots.setIamPolicy": set_snapshot_iam_policy -"/pubsub:v1/pubsub.projects.snapshots.setIamPolicy/resource": resource -"/pubsub:v1/pubsub.projects.snapshots.testIamPermissions": test_snapshot_iam_permissions -"/pubsub:v1/pubsub.projects.snapshots.testIamPermissions/resource": resource -"/pubsub:v1/pubsub.projects.snapshots.getIamPolicy": get_project_snapshot_iam_policy -"/pubsub:v1/pubsub.projects.snapshots.getIamPolicy/resource": resource -"/pubsub:v1/pubsub.projects.subscriptions.delete/subscription": subscription -"/pubsub:v1/pubsub.projects.subscriptions.pull": pull_subscription -"/pubsub:v1/pubsub.projects.subscriptions.pull/subscription": subscription -"/pubsub:v1/pubsub.projects.subscriptions.list/pageToken": page_token -"/pubsub:v1/pubsub.projects.subscriptions.list/pageSize": page_size -"/pubsub:v1/pubsub.projects.subscriptions.list/project": project -"/pubsub:v1/pubsub.projects.subscriptions.setIamPolicy": set_subscription_iam_policy -"/pubsub:v1/pubsub.projects.subscriptions.setIamPolicy/resource": resource -"/pubsub:v1/pubsub.projects.subscriptions.create/name": name -"/pubsub:v1/pubsub.projects.subscriptions.getIamPolicy": get_project_subscription_iam_policy -"/pubsub:v1/pubsub.projects.subscriptions.getIamPolicy/resource": resource -"/pubsub:v1/pubsub.projects.subscriptions.modifyAckDeadline": modify_subscription_ack_deadline -"/pubsub:v1/pubsub.projects.subscriptions.modifyAckDeadline/subscription": subscription -"/pubsub:v1/pubsub.projects.subscriptions.acknowledge": acknowledge_subscription -"/pubsub:v1/pubsub.projects.subscriptions.acknowledge/subscription": subscription -"/pubsub:v1/pubsub.projects.subscriptions.get/subscription": subscription -"/pubsub:v1/pubsub.projects.subscriptions.testIamPermissions": test_subscription_iam_permissions -"/pubsub:v1/pubsub.projects.subscriptions.testIamPermissions/resource": resource -"/pubsub:v1/pubsub.projects.subscriptions.modifyPushConfig": modify_subscription_push_config -"/pubsub:v1/pubsub.projects.subscriptions.modifyPushConfig/subscription": subscription -"/pubsub:v1/pubsub.projects.topics.list/pageToken": page_token -"/pubsub:v1/pubsub.projects.topics.list/pageSize": page_size -"/pubsub:v1/pubsub.projects.topics.list/project": project -"/pubsub:v1/pubsub.projects.topics.create/name": name -"/pubsub:v1/pubsub.projects.topics.setIamPolicy": set_topic_iam_policy -"/pubsub:v1/pubsub.projects.topics.setIamPolicy/resource": resource -"/pubsub:v1/pubsub.projects.topics.getIamPolicy": get_project_topic_iam_policy -"/pubsub:v1/pubsub.projects.topics.getIamPolicy/resource": resource -"/pubsub:v1/pubsub.projects.topics.get/topic": topic -"/pubsub:v1/pubsub.projects.topics.publish": publish_topic -"/pubsub:v1/pubsub.projects.topics.publish/topic": topic -"/pubsub:v1/pubsub.projects.topics.testIamPermissions": test_topic_iam_permissions -"/pubsub:v1/pubsub.projects.topics.testIamPermissions/resource": resource -"/pubsub:v1/pubsub.projects.topics.delete/topic": topic -"/pubsub:v1/pubsub.projects.topics.subscriptions.list/pageToken": page_token -"/pubsub:v1/pubsub.projects.topics.subscriptions.list/pageSize": page_size -"/pubsub:v1/pubsub.projects.topics.subscriptions.list/topic": topic -"/pubsub:v1/PublishResponse": publish_response -"/pubsub:v1/PublishResponse/messageIds": message_ids -"/pubsub:v1/PublishResponse/messageIds/message_id": message_id -"/pubsub:v1/Subscription": subscription -"/pubsub:v1/Subscription/topic": topic -"/pubsub:v1/Subscription/pushConfig": push_config -"/pubsub:v1/Subscription/ackDeadlineSeconds": ack_deadline_seconds -"/pubsub:v1/Subscription/name": name -"/pubsub:v1/TestIamPermissionsRequest": test_iam_permissions_request -"/pubsub:v1/TestIamPermissionsRequest/permissions": permissions -"/pubsub:v1/TestIamPermissionsRequest/permissions/permission": permission -"/pubsub:v1/Policy": policy -"/pubsub:v1/Policy/etag": etag -"/pubsub:v1/Policy/version": version -"/pubsub:v1/Policy/bindings": bindings -"/pubsub:v1/Policy/bindings/binding": binding -"/pubsub:v1/Topic": topic -"/pubsub:v1/Topic/name": name -"/pubsub:v1/ModifyAckDeadlineRequest": modify_ack_deadline_request -"/pubsub:v1/ModifyAckDeadlineRequest/ackDeadlineSeconds": ack_deadline_seconds -"/pubsub:v1/ModifyAckDeadlineRequest/ackIds": ack_ids -"/pubsub:v1/ModifyAckDeadlineRequest/ackIds/ack_id": ack_id -"/pubsub:v1/SetIamPolicyRequest": set_iam_policy_request -"/pubsub:v1/SetIamPolicyRequest/policy": policy -"/pubsub:v1/ModifyPushConfigRequest": modify_push_config_request -"/pubsub:v1/ModifyPushConfigRequest/pushConfig": push_config -"/pubsub:v1/PubsubMessage/messageId": message_id -"/pubsub:v1/PubsubMessage/attributes": attributes -"/pubsub:v1/PubsubMessage/attributes/attribute": attribute -"/pubsub:v1/PubsubMessage/publishTime": publish_time -"/pubsub:v1/PubsubMessage/data": data -"/pubsub:v1/Binding": binding -"/pubsub:v1/Binding/role": role -"/pubsub:v1/Binding/members": members -"/pubsub:v1/Binding/members/member": member -"/pubsub:v1/Empty": empty +"/proximitybeacon:v1beta1/quotaUser": quota_user "/pubsub:v1/AcknowledgeRequest": acknowledge_request "/pubsub:v1/AcknowledgeRequest/ackIds": ack_ids "/pubsub:v1/AcknowledgeRequest/ackIds/ack_id": ack_id -"/pubsub:v1/ListTopicsResponse": list_topics_response -"/pubsub:v1/ListTopicsResponse/nextPageToken": next_page_token -"/pubsub:v1/ListTopicsResponse/topics": topics -"/pubsub:v1/ListTopicsResponse/topics/topic": topic -"/pubsub:v1/ListTopicSubscriptionsResponse": list_topic_subscriptions_response -"/pubsub:v1/ListTopicSubscriptionsResponse/nextPageToken": next_page_token -"/pubsub:v1/ListTopicSubscriptionsResponse/subscriptions": subscriptions -"/pubsub:v1/ListTopicSubscriptionsResponse/subscriptions/subscription": subscription -"/pubsub:v1/PullResponse": pull_response -"/pubsub:v1/PullResponse/receivedMessages": received_messages -"/pubsub:v1/PullResponse/receivedMessages/received_message": received_message -"/pubsub:v1/ReceivedMessage": received_message -"/pubsub:v1/ReceivedMessage/ackId": ack_id -"/pubsub:v1/ReceivedMessage/message": message -"/pubsub:v1/PushConfig": push_config -"/pubsub:v1/PushConfig/attributes": attributes -"/pubsub:v1/PushConfig/attributes/attribute": attribute -"/pubsub:v1/PushConfig/pushEndpoint": push_endpoint -"/pubsub:v1/TestIamPermissionsResponse": test_iam_permissions_response -"/pubsub:v1/TestIamPermissionsResponse/permissions": permissions -"/pubsub:v1/TestIamPermissionsResponse/permissions/permission": permission -"/pubsub:v1/PullRequest": pull_request -"/pubsub:v1/PullRequest/returnImmediately": return_immediately -"/pubsub:v1/PullRequest/maxMessages": max_messages +"/pubsub:v1/Binding": binding +"/pubsub:v1/Binding/members": members +"/pubsub:v1/Binding/members/member": member +"/pubsub:v1/Binding/role": role +"/pubsub:v1/Empty": empty "/pubsub:v1/ListSubscriptionsResponse": list_subscriptions_response "/pubsub:v1/ListSubscriptionsResponse/nextPageToken": next_page_token "/pubsub:v1/ListSubscriptionsResponse/subscriptions": subscriptions "/pubsub:v1/ListSubscriptionsResponse/subscriptions/subscription": subscription +"/pubsub:v1/ListTopicSubscriptionsResponse": list_topic_subscriptions_response +"/pubsub:v1/ListTopicSubscriptionsResponse/nextPageToken": next_page_token +"/pubsub:v1/ListTopicSubscriptionsResponse/subscriptions": subscriptions +"/pubsub:v1/ListTopicSubscriptionsResponse/subscriptions/subscription": subscription +"/pubsub:v1/ListTopicsResponse": list_topics_response +"/pubsub:v1/ListTopicsResponse/nextPageToken": next_page_token +"/pubsub:v1/ListTopicsResponse/topics": topics +"/pubsub:v1/ListTopicsResponse/topics/topic": topic +"/pubsub:v1/ModifyAckDeadlineRequest": modify_ack_deadline_request +"/pubsub:v1/ModifyAckDeadlineRequest/ackDeadlineSeconds": ack_deadline_seconds +"/pubsub:v1/ModifyAckDeadlineRequest/ackIds": ack_ids +"/pubsub:v1/ModifyAckDeadlineRequest/ackIds/ack_id": ack_id +"/pubsub:v1/ModifyPushConfigRequest": modify_push_config_request +"/pubsub:v1/ModifyPushConfigRequest/pushConfig": push_config +"/pubsub:v1/Policy": policy +"/pubsub:v1/Policy/bindings": bindings +"/pubsub:v1/Policy/bindings/binding": binding +"/pubsub:v1/Policy/etag": etag +"/pubsub:v1/Policy/version": version "/pubsub:v1/PublishRequest": publish_request "/pubsub:v1/PublishRequest/messages": messages "/pubsub:v1/PublishRequest/messages/message": message -"/qpxExpress:v1/fields": fields -"/qpxExpress:v1/key": key -"/qpxExpress:v1/quotaUser": quota_user -"/qpxExpress:v1/userIp": user_ip -"/qpxExpress:v1/qpxExpress.trips.search": search_trips +"/pubsub:v1/PublishResponse": publish_response +"/pubsub:v1/PublishResponse/messageIds": message_ids +"/pubsub:v1/PublishResponse/messageIds/message_id": message_id +"/pubsub:v1/PubsubMessage": message +"/pubsub:v1/PubsubMessage/attributes": attributes +"/pubsub:v1/PubsubMessage/attributes/attribute": attribute +"/pubsub:v1/PubsubMessage/data": data +"/pubsub:v1/PubsubMessage/messageId": message_id +"/pubsub:v1/PubsubMessage/publishTime": publish_time +"/pubsub:v1/PullRequest": pull_request +"/pubsub:v1/PullRequest/maxMessages": max_messages +"/pubsub:v1/PullRequest/returnImmediately": return_immediately +"/pubsub:v1/PullResponse": pull_response +"/pubsub:v1/PullResponse/receivedMessages": received_messages +"/pubsub:v1/PullResponse/receivedMessages/received_message": received_message +"/pubsub:v1/PushConfig": push_config +"/pubsub:v1/PushConfig/attributes": attributes +"/pubsub:v1/PushConfig/attributes/attribute": attribute +"/pubsub:v1/PushConfig/pushEndpoint": push_endpoint +"/pubsub:v1/ReceivedMessage": received_message +"/pubsub:v1/ReceivedMessage/ackId": ack_id +"/pubsub:v1/ReceivedMessage/message": message +"/pubsub:v1/SetIamPolicyRequest": set_iam_policy_request +"/pubsub:v1/SetIamPolicyRequest/policy": policy +"/pubsub:v1/Subscription": subscription +"/pubsub:v1/Subscription/ackDeadlineSeconds": ack_deadline_seconds +"/pubsub:v1/Subscription/name": name +"/pubsub:v1/Subscription/pushConfig": push_config +"/pubsub:v1/Subscription/topic": topic +"/pubsub:v1/TestIamPermissionsRequest": test_iam_permissions_request +"/pubsub:v1/TestIamPermissionsRequest/permissions": permissions +"/pubsub:v1/TestIamPermissionsRequest/permissions/permission": permission +"/pubsub:v1/TestIamPermissionsResponse": test_iam_permissions_response +"/pubsub:v1/TestIamPermissionsResponse/permissions": permissions +"/pubsub:v1/TestIamPermissionsResponse/permissions/permission": permission +"/pubsub:v1/Topic": topic +"/pubsub:v1/Topic/name": name +"/pubsub:v1/fields": fields +"/pubsub:v1/key": key +"/pubsub:v1/pubsub.projects.snapshots.getIamPolicy": get_project_snapshot_iam_policy +"/pubsub:v1/pubsub.projects.snapshots.getIamPolicy/resource": resource +"/pubsub:v1/pubsub.projects.snapshots.setIamPolicy": set_snapshot_iam_policy +"/pubsub:v1/pubsub.projects.snapshots.setIamPolicy/resource": resource +"/pubsub:v1/pubsub.projects.snapshots.testIamPermissions": test_snapshot_iam_permissions +"/pubsub:v1/pubsub.projects.snapshots.testIamPermissions/resource": resource +"/pubsub:v1/pubsub.projects.subscriptions.acknowledge": acknowledge_subscription +"/pubsub:v1/pubsub.projects.subscriptions.acknowledge/subscription": subscription +"/pubsub:v1/pubsub.projects.subscriptions.create": create_subscription +"/pubsub:v1/pubsub.projects.subscriptions.create/name": name +"/pubsub:v1/pubsub.projects.subscriptions.delete": delete_subscription +"/pubsub:v1/pubsub.projects.subscriptions.delete/subscription": subscription +"/pubsub:v1/pubsub.projects.subscriptions.get": get_subscription +"/pubsub:v1/pubsub.projects.subscriptions.get/subscription": subscription +"/pubsub:v1/pubsub.projects.subscriptions.getIamPolicy": get_project_subscription_iam_policy +"/pubsub:v1/pubsub.projects.subscriptions.getIamPolicy/resource": resource +"/pubsub:v1/pubsub.projects.subscriptions.list": list_subscriptions +"/pubsub:v1/pubsub.projects.subscriptions.list/pageSize": page_size +"/pubsub:v1/pubsub.projects.subscriptions.list/pageToken": page_token +"/pubsub:v1/pubsub.projects.subscriptions.list/project": project +"/pubsub:v1/pubsub.projects.subscriptions.modifyAckDeadline": modify_subscription_ack_deadline +"/pubsub:v1/pubsub.projects.subscriptions.modifyAckDeadline/subscription": subscription +"/pubsub:v1/pubsub.projects.subscriptions.modifyPushConfig": modify_subscription_push_config +"/pubsub:v1/pubsub.projects.subscriptions.modifyPushConfig/subscription": subscription +"/pubsub:v1/pubsub.projects.subscriptions.pull": pull_subscription +"/pubsub:v1/pubsub.projects.subscriptions.pull/subscription": subscription +"/pubsub:v1/pubsub.projects.subscriptions.setIamPolicy": set_subscription_iam_policy +"/pubsub:v1/pubsub.projects.subscriptions.setIamPolicy/resource": resource +"/pubsub:v1/pubsub.projects.subscriptions.testIamPermissions": test_subscription_iam_permissions +"/pubsub:v1/pubsub.projects.subscriptions.testIamPermissions/resource": resource +"/pubsub:v1/pubsub.projects.topics.create": create_topic +"/pubsub:v1/pubsub.projects.topics.create/name": name +"/pubsub:v1/pubsub.projects.topics.delete": delete_topic +"/pubsub:v1/pubsub.projects.topics.delete/topic": topic +"/pubsub:v1/pubsub.projects.topics.get": get_topic +"/pubsub:v1/pubsub.projects.topics.get/topic": topic +"/pubsub:v1/pubsub.projects.topics.getIamPolicy": get_project_topic_iam_policy +"/pubsub:v1/pubsub.projects.topics.getIamPolicy/resource": resource +"/pubsub:v1/pubsub.projects.topics.list": list_topics +"/pubsub:v1/pubsub.projects.topics.list/pageSize": page_size +"/pubsub:v1/pubsub.projects.topics.list/pageToken": page_token +"/pubsub:v1/pubsub.projects.topics.list/project": project +"/pubsub:v1/pubsub.projects.topics.publish": publish_topic +"/pubsub:v1/pubsub.projects.topics.publish/topic": topic +"/pubsub:v1/pubsub.projects.topics.setIamPolicy": set_topic_iam_policy +"/pubsub:v1/pubsub.projects.topics.setIamPolicy/resource": resource +"/pubsub:v1/pubsub.projects.topics.subscriptions.list": list_topic_subscriptions +"/pubsub:v1/pubsub.projects.topics.subscriptions.list/pageSize": page_size +"/pubsub:v1/pubsub.projects.topics.subscriptions.list/pageToken": page_token +"/pubsub:v1/pubsub.projects.topics.subscriptions.list/topic": topic +"/pubsub:v1/pubsub.projects.topics.testIamPermissions": test_topic_iam_permissions +"/pubsub:v1/pubsub.projects.topics.testIamPermissions/resource": resource +"/pubsub:v1/quotaUser": quota_user "/qpxExpress:v1/AircraftData": aircraft_data "/qpxExpress:v1/AircraftData/code": code "/qpxExpress:v1/AircraftData/kind": kind @@ -34522,60 +36030,16 @@ "/qpxExpress:v1/TripOptionsResponse/requestId": request_id "/qpxExpress:v1/TripOptionsResponse/tripOption": trip_option "/qpxExpress:v1/TripOptionsResponse/tripOption/trip_option": trip_option +"/qpxExpress:v1/TripsSearchRequest": search_trips_request "/qpxExpress:v1/TripsSearchRequest/request": request +"/qpxExpress:v1/TripsSearchResponse": search_trips_response "/qpxExpress:v1/TripsSearchResponse/kind": kind "/qpxExpress:v1/TripsSearchResponse/trips": trips -"/replicapool:v1beta2/fields": fields -"/replicapool:v1beta2/key": key -"/replicapool:v1beta2/quotaUser": quota_user -"/replicapool:v1beta2/userIp": user_ip -"/replicapool:v1beta2/replicapool.instanceGroupManagers.abandonInstances/instanceGroupManager": instance_group_manager -"/replicapool:v1beta2/replicapool.instanceGroupManagers.abandonInstances/project": project -"/replicapool:v1beta2/replicapool.instanceGroupManagers.abandonInstances/zone": zone -"/replicapool:v1beta2/replicapool.instanceGroupManagers.delete": delete_instance_group_manager -"/replicapool:v1beta2/replicapool.instanceGroupManagers.delete/instanceGroupManager": instance_group_manager -"/replicapool:v1beta2/replicapool.instanceGroupManagers.delete/project": project -"/replicapool:v1beta2/replicapool.instanceGroupManagers.delete/zone": zone -"/replicapool:v1beta2/replicapool.instanceGroupManagers.deleteInstances/instanceGroupManager": instance_group_manager -"/replicapool:v1beta2/replicapool.instanceGroupManagers.deleteInstances/project": project -"/replicapool:v1beta2/replicapool.instanceGroupManagers.deleteInstances/zone": zone -"/replicapool:v1beta2/replicapool.instanceGroupManagers.get": get_instance_group_manager -"/replicapool:v1beta2/replicapool.instanceGroupManagers.get/instanceGroupManager": instance_group_manager -"/replicapool:v1beta2/replicapool.instanceGroupManagers.get/project": project -"/replicapool:v1beta2/replicapool.instanceGroupManagers.get/zone": zone -"/replicapool:v1beta2/replicapool.instanceGroupManagers.insert": insert_instance_group_manager -"/replicapool:v1beta2/replicapool.instanceGroupManagers.insert/project": project -"/replicapool:v1beta2/replicapool.instanceGroupManagers.insert/size": size -"/replicapool:v1beta2/replicapool.instanceGroupManagers.insert/zone": zone -"/replicapool:v1beta2/replicapool.instanceGroupManagers.list": list_instance_group_managers -"/replicapool:v1beta2/replicapool.instanceGroupManagers.list/filter": filter -"/replicapool:v1beta2/replicapool.instanceGroupManagers.list/maxResults": max_results -"/replicapool:v1beta2/replicapool.instanceGroupManagers.list/pageToken": page_token -"/replicapool:v1beta2/replicapool.instanceGroupManagers.list/project": project -"/replicapool:v1beta2/replicapool.instanceGroupManagers.list/zone": zone -"/replicapool:v1beta2/replicapool.instanceGroupManagers.recreateInstances/instanceGroupManager": instance_group_manager -"/replicapool:v1beta2/replicapool.instanceGroupManagers.recreateInstances/project": project -"/replicapool:v1beta2/replicapool.instanceGroupManagers.recreateInstances/zone": zone -"/replicapool:v1beta2/replicapool.instanceGroupManagers.resize/instanceGroupManager": instance_group_manager -"/replicapool:v1beta2/replicapool.instanceGroupManagers.resize/project": project -"/replicapool:v1beta2/replicapool.instanceGroupManagers.resize/size": size -"/replicapool:v1beta2/replicapool.instanceGroupManagers.resize/zone": zone -"/replicapool:v1beta2/replicapool.instanceGroupManagers.setInstanceTemplate/instanceGroupManager": instance_group_manager -"/replicapool:v1beta2/replicapool.instanceGroupManagers.setInstanceTemplate/project": project -"/replicapool:v1beta2/replicapool.instanceGroupManagers.setInstanceTemplate/zone": zone -"/replicapool:v1beta2/replicapool.instanceGroupManagers.setTargetPools/instanceGroupManager": instance_group_manager -"/replicapool:v1beta2/replicapool.instanceGroupManagers.setTargetPools/project": project -"/replicapool:v1beta2/replicapool.instanceGroupManagers.setTargetPools/zone": zone -"/replicapool:v1beta2/replicapool.zoneOperations.get": get_zone_operation -"/replicapool:v1beta2/replicapool.zoneOperations.get/operation": operation -"/replicapool:v1beta2/replicapool.zoneOperations.get/project": project -"/replicapool:v1beta2/replicapool.zoneOperations.get/zone": zone -"/replicapool:v1beta2/replicapool.zoneOperations.list": list_zone_operations -"/replicapool:v1beta2/replicapool.zoneOperations.list/filter": filter -"/replicapool:v1beta2/replicapool.zoneOperations.list/maxResults": max_results -"/replicapool:v1beta2/replicapool.zoneOperations.list/pageToken": page_token -"/replicapool:v1beta2/replicapool.zoneOperations.list/project": project -"/replicapool:v1beta2/replicapool.zoneOperations.list/zone": zone +"/qpxExpress:v1/fields": fields +"/qpxExpress:v1/key": key +"/qpxExpress:v1/qpxExpress.trips.search": search_trips +"/qpxExpress:v1/quotaUser": quota_user +"/qpxExpress:v1/userIp": user_ip "/replicapool:v1beta2/InstanceGroupManager": instance_group_manager "/replicapool:v1beta2/InstanceGroupManager/autoHealingPolicies": auto_healing_policies "/replicapool:v1beta2/InstanceGroupManager/autoHealingPolicies/auto_healing_policy": auto_healing_policy @@ -34600,13 +36064,18 @@ "/replicapool:v1beta2/InstanceGroupManagerList/kind": kind "/replicapool:v1beta2/InstanceGroupManagerList/nextPageToken": next_page_token "/replicapool:v1beta2/InstanceGroupManagerList/selfLink": self_link +"/replicapool:v1beta2/InstanceGroupManagersAbandonInstancesRequest": abandon_instances_request "/replicapool:v1beta2/InstanceGroupManagersAbandonInstancesRequest/instances": instances "/replicapool:v1beta2/InstanceGroupManagersAbandonInstancesRequest/instances/instance": instance +"/replicapool:v1beta2/InstanceGroupManagersDeleteInstancesRequest": delete_instances_request "/replicapool:v1beta2/InstanceGroupManagersDeleteInstancesRequest/instances": instances "/replicapool:v1beta2/InstanceGroupManagersDeleteInstancesRequest/instances/instance": instance +"/replicapool:v1beta2/InstanceGroupManagersRecreateInstancesRequest": recreate_instances_request "/replicapool:v1beta2/InstanceGroupManagersRecreateInstancesRequest/instances": instances "/replicapool:v1beta2/InstanceGroupManagersRecreateInstancesRequest/instances/instance": instance +"/replicapool:v1beta2/InstanceGroupManagersSetInstanceTemplateRequest": set_instance_template_request "/replicapool:v1beta2/InstanceGroupManagersSetInstanceTemplateRequest/instanceTemplate": instance_template +"/replicapool:v1beta2/InstanceGroupManagersSetTargetPoolsRequest": set_target_pools_request "/replicapool:v1beta2/InstanceGroupManagersSetTargetPoolsRequest/fingerprint": fingerprint "/replicapool:v1beta2/InstanceGroupManagersSetTargetPoolsRequest/targetPools": target_pools "/replicapool:v1beta2/InstanceGroupManagersSetTargetPoolsRequest/targetPools/target_pool": target_pool @@ -34655,55 +36124,63 @@ "/replicapool:v1beta2/ReplicaPoolAutoHealingPolicy": replica_pool_auto_healing_policy "/replicapool:v1beta2/ReplicaPoolAutoHealingPolicy/actionType": action_type "/replicapool:v1beta2/ReplicaPoolAutoHealingPolicy/healthCheck": health_check -"/replicapoolupdater:v1beta1/fields": fields -"/replicapoolupdater:v1beta1/key": key -"/replicapoolupdater:v1beta1/quotaUser": quota_user -"/replicapoolupdater:v1beta1/userIp": user_ip -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.cancel": cancel_rolling_update -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.cancel/project": project -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.cancel/rollingUpdate": rolling_update -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.cancel/zone": zone -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.get": get_rolling_update -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.get/project": project -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.get/rollingUpdate": rolling_update -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.get/zone": zone -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.insert": insert_rolling_update -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.insert/project": project -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.insert/zone": zone -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list": list_rolling_updates -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list/filter": filter -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list/maxResults": max_results -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list/pageToken": page_token -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list/project": project -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list/zone": zone -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.listInstanceUpdates/filter": filter -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.listInstanceUpdates/maxResults": max_results -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.listInstanceUpdates/pageToken": page_token -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.listInstanceUpdates/project": project -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.listInstanceUpdates/rollingUpdate": rolling_update -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.listInstanceUpdates/zone": zone -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.pause": pause_rolling_update -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.pause/project": project -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.pause/rollingUpdate": rolling_update -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.pause/zone": zone -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.resume": resume_rolling_update -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.resume/project": project -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.resume/rollingUpdate": rolling_update -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.resume/zone": zone -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.rollback": rollback_rolling_update -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.rollback/project": project -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.rollback/rollingUpdate": rolling_update -"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.rollback/zone": zone -"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.get": get_zone_operation -"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.get/operation": operation -"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.get/project": project -"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.get/zone": zone -"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.list": list_zone_operations -"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.list/filter": filter -"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.list/maxResults": max_results -"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.list/pageToken": page_token -"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.list/project": project -"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.list/zone": zone +"/replicapool:v1beta2/fields": fields +"/replicapool:v1beta2/key": key +"/replicapool:v1beta2/quotaUser": quota_user +"/replicapool:v1beta2/replicapool.instanceGroupManagers.abandonInstances": abandon_instances +"/replicapool:v1beta2/replicapool.instanceGroupManagers.abandonInstances/instanceGroupManager": instance_group_manager +"/replicapool:v1beta2/replicapool.instanceGroupManagers.abandonInstances/project": project +"/replicapool:v1beta2/replicapool.instanceGroupManagers.abandonInstances/zone": zone +"/replicapool:v1beta2/replicapool.instanceGroupManagers.delete": delete_instance_group_manager +"/replicapool:v1beta2/replicapool.instanceGroupManagers.delete/instanceGroupManager": instance_group_manager +"/replicapool:v1beta2/replicapool.instanceGroupManagers.delete/project": project +"/replicapool:v1beta2/replicapool.instanceGroupManagers.delete/zone": zone +"/replicapool:v1beta2/replicapool.instanceGroupManagers.deleteInstances": delete_instances +"/replicapool:v1beta2/replicapool.instanceGroupManagers.deleteInstances/instanceGroupManager": instance_group_manager +"/replicapool:v1beta2/replicapool.instanceGroupManagers.deleteInstances/project": project +"/replicapool:v1beta2/replicapool.instanceGroupManagers.deleteInstances/zone": zone +"/replicapool:v1beta2/replicapool.instanceGroupManagers.get": get_instance_group_manager +"/replicapool:v1beta2/replicapool.instanceGroupManagers.get/instanceGroupManager": instance_group_manager +"/replicapool:v1beta2/replicapool.instanceGroupManagers.get/project": project +"/replicapool:v1beta2/replicapool.instanceGroupManagers.get/zone": zone +"/replicapool:v1beta2/replicapool.instanceGroupManagers.insert": insert_instance_group_manager +"/replicapool:v1beta2/replicapool.instanceGroupManagers.insert/project": project +"/replicapool:v1beta2/replicapool.instanceGroupManagers.insert/size": size +"/replicapool:v1beta2/replicapool.instanceGroupManagers.insert/zone": zone +"/replicapool:v1beta2/replicapool.instanceGroupManagers.list": list_instance_group_managers +"/replicapool:v1beta2/replicapool.instanceGroupManagers.list/filter": filter +"/replicapool:v1beta2/replicapool.instanceGroupManagers.list/maxResults": max_results +"/replicapool:v1beta2/replicapool.instanceGroupManagers.list/pageToken": page_token +"/replicapool:v1beta2/replicapool.instanceGroupManagers.list/project": project +"/replicapool:v1beta2/replicapool.instanceGroupManagers.list/zone": zone +"/replicapool:v1beta2/replicapool.instanceGroupManagers.recreateInstances": recreate_instances +"/replicapool:v1beta2/replicapool.instanceGroupManagers.recreateInstances/instanceGroupManager": instance_group_manager +"/replicapool:v1beta2/replicapool.instanceGroupManagers.recreateInstances/project": project +"/replicapool:v1beta2/replicapool.instanceGroupManagers.recreateInstances/zone": zone +"/replicapool:v1beta2/replicapool.instanceGroupManagers.resize": resize_instance +"/replicapool:v1beta2/replicapool.instanceGroupManagers.resize/instanceGroupManager": instance_group_manager +"/replicapool:v1beta2/replicapool.instanceGroupManagers.resize/project": project +"/replicapool:v1beta2/replicapool.instanceGroupManagers.resize/size": size +"/replicapool:v1beta2/replicapool.instanceGroupManagers.resize/zone": zone +"/replicapool:v1beta2/replicapool.instanceGroupManagers.setInstanceTemplate": set_instance_template +"/replicapool:v1beta2/replicapool.instanceGroupManagers.setInstanceTemplate/instanceGroupManager": instance_group_manager +"/replicapool:v1beta2/replicapool.instanceGroupManagers.setInstanceTemplate/project": project +"/replicapool:v1beta2/replicapool.instanceGroupManagers.setInstanceTemplate/zone": zone +"/replicapool:v1beta2/replicapool.instanceGroupManagers.setTargetPools": set_target_pools +"/replicapool:v1beta2/replicapool.instanceGroupManagers.setTargetPools/instanceGroupManager": instance_group_manager +"/replicapool:v1beta2/replicapool.instanceGroupManagers.setTargetPools/project": project +"/replicapool:v1beta2/replicapool.instanceGroupManagers.setTargetPools/zone": zone +"/replicapool:v1beta2/replicapool.zoneOperations.get": get_zone_operation +"/replicapool:v1beta2/replicapool.zoneOperations.get/operation": operation +"/replicapool:v1beta2/replicapool.zoneOperations.get/project": project +"/replicapool:v1beta2/replicapool.zoneOperations.get/zone": zone +"/replicapool:v1beta2/replicapool.zoneOperations.list": list_zone_operations +"/replicapool:v1beta2/replicapool.zoneOperations.list/filter": filter +"/replicapool:v1beta2/replicapool.zoneOperations.list/maxResults": max_results +"/replicapool:v1beta2/replicapool.zoneOperations.list/pageToken": page_token +"/replicapool:v1beta2/replicapool.zoneOperations.list/project": project +"/replicapool:v1beta2/replicapool.zoneOperations.list/zone": zone +"/replicapool:v1beta2/userIp": user_ip "/replicapoolupdater:v1beta1/InstanceUpdate": instance_update "/replicapoolupdater:v1beta1/InstanceUpdate/error": error "/replicapoolupdater:v1beta1/InstanceUpdate/error/errors": errors @@ -34794,55 +36271,56 @@ "/replicapoolupdater:v1beta1/RollingUpdateList/kind": kind "/replicapoolupdater:v1beta1/RollingUpdateList/nextPageToken": next_page_token "/replicapoolupdater:v1beta1/RollingUpdateList/selfLink": self_link -"/reseller:v1/fields": fields -"/reseller:v1/key": key -"/reseller:v1/quotaUser": quota_user -"/reseller:v1/userIp": user_ip -"/reseller:v1/reseller.customers.get": get_customer -"/reseller:v1/reseller.customers.get/customerId": customer_id -"/reseller:v1/reseller.customers.insert": insert_customer -"/reseller:v1/reseller.customers.insert/customerAuthToken": customer_auth_token -"/reseller:v1/reseller.customers.patch": patch_customer -"/reseller:v1/reseller.customers.patch/customerId": customer_id -"/reseller:v1/reseller.customers.update": update_customer -"/reseller:v1/reseller.customers.update/customerId": customer_id -"/reseller:v1/reseller.resellernotify.getwatchdetails": getwatchdetails_resellernotify -"/reseller:v1/reseller.resellernotify.register": register_resellernotify -"/reseller:v1/reseller.resellernotify.register/serviceAccountEmailAddress": service_account_email_address -"/reseller:v1/reseller.resellernotify.unregister": unregister_resellernotify -"/reseller:v1/reseller.resellernotify.unregister/serviceAccountEmailAddress": service_account_email_address -"/reseller:v1/reseller.subscriptions.activate": activate_subscription -"/reseller:v1/reseller.subscriptions.activate/customerId": customer_id -"/reseller:v1/reseller.subscriptions.activate/subscriptionId": subscription_id -"/reseller:v1/reseller.subscriptions.changePlan": change_subscription_plan -"/reseller:v1/reseller.subscriptions.changePlan/customerId": customer_id -"/reseller:v1/reseller.subscriptions.changePlan/subscriptionId": subscription_id -"/reseller:v1/reseller.subscriptions.changeRenewalSettings/customerId": customer_id -"/reseller:v1/reseller.subscriptions.changeRenewalSettings/subscriptionId": subscription_id -"/reseller:v1/reseller.subscriptions.changeSeats/customerId": customer_id -"/reseller:v1/reseller.subscriptions.changeSeats/subscriptionId": subscription_id -"/reseller:v1/reseller.subscriptions.delete": delete_subscription -"/reseller:v1/reseller.subscriptions.delete/customerId": customer_id -"/reseller:v1/reseller.subscriptions.delete/deletionType": deletion_type -"/reseller:v1/reseller.subscriptions.delete/subscriptionId": subscription_id -"/reseller:v1/reseller.subscriptions.get": get_subscription -"/reseller:v1/reseller.subscriptions.get/customerId": customer_id -"/reseller:v1/reseller.subscriptions.get/subscriptionId": subscription_id -"/reseller:v1/reseller.subscriptions.insert": insert_subscription -"/reseller:v1/reseller.subscriptions.insert/customerAuthToken": customer_auth_token -"/reseller:v1/reseller.subscriptions.insert/customerId": customer_id -"/reseller:v1/reseller.subscriptions.list": list_subscriptions -"/reseller:v1/reseller.subscriptions.list/customerAuthToken": customer_auth_token -"/reseller:v1/reseller.subscriptions.list/customerId": customer_id -"/reseller:v1/reseller.subscriptions.list/customerNamePrefix": customer_name_prefix -"/reseller:v1/reseller.subscriptions.list/maxResults": max_results -"/reseller:v1/reseller.subscriptions.list/pageToken": page_token -"/reseller:v1/reseller.subscriptions.startPaidService": start_subscription_paid_service -"/reseller:v1/reseller.subscriptions.startPaidService/customerId": customer_id -"/reseller:v1/reseller.subscriptions.startPaidService/subscriptionId": subscription_id -"/reseller:v1/reseller.subscriptions.suspend": suspend_subscription -"/reseller:v1/reseller.subscriptions.suspend/customerId": customer_id -"/reseller:v1/reseller.subscriptions.suspend/subscriptionId": subscription_id +"/replicapoolupdater:v1beta1/fields": fields +"/replicapoolupdater:v1beta1/key": key +"/replicapoolupdater:v1beta1/quotaUser": quota_user +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.cancel": cancel_rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.cancel/project": project +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.cancel/rollingUpdate": rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.cancel/zone": zone +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.get": get_rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.get/project": project +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.get/rollingUpdate": rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.get/zone": zone +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.insert": insert_rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.insert/project": project +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.insert/zone": zone +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list": list_rolling_updates +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list/filter": filter +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list/maxResults": max_results +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list/pageToken": page_token +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list/project": project +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list/zone": zone +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.listInstanceUpdates": list_instance_updates +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.listInstanceUpdates/filter": filter +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.listInstanceUpdates/maxResults": max_results +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.listInstanceUpdates/pageToken": page_token +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.listInstanceUpdates/project": project +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.listInstanceUpdates/rollingUpdate": rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.listInstanceUpdates/zone": zone +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.pause": pause_rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.pause/project": project +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.pause/rollingUpdate": rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.pause/zone": zone +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.resume": resume_rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.resume/project": project +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.resume/rollingUpdate": rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.resume/zone": zone +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.rollback": rollback_rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.rollback/project": project +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.rollback/rollingUpdate": rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.rollback/zone": zone +"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.get": get_zone_operation +"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.get/operation": operation +"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.get/project": project +"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.get/zone": zone +"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.list": list_zone_operations +"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.list/filter": filter +"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.list/maxResults": max_results +"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.list/pageToken": page_token +"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.list/project": project +"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.list/zone": zone +"/replicapoolupdater:v1beta1/userIp": user_ip "/reseller:v1/Address": address "/reseller:v1/Address/addressLine1": address_line1 "/reseller:v1/Address/addressLine2": address_line2 @@ -34854,6 +36332,7 @@ "/reseller:v1/Address/organizationName": organization_name "/reseller:v1/Address/postalCode": postal_code "/reseller:v1/Address/region": region +"/reseller:v1/ChangePlanRequest": change_plan_request "/reseller:v1/ChangePlanRequest/dealCode": deal_code "/reseller:v1/ChangePlanRequest/kind": kind "/reseller:v1/ChangePlanRequest/planName": plan_name @@ -34916,62 +36395,57 @@ "/reseller:v1/Subscriptions/nextPageToken": next_page_token "/reseller:v1/Subscriptions/subscriptions": subscriptions "/reseller:v1/Subscriptions/subscriptions/subscription": subscription -"/resourceviews:v1beta2/fields": fields -"/resourceviews:v1beta2/key": key -"/resourceviews:v1beta2/quotaUser": quota_user -"/resourceviews:v1beta2/userIp": user_ip -"/resourceviews:v1beta2/resourceviews.zoneOperations.get": get_zone_operation -"/resourceviews:v1beta2/resourceviews.zoneOperations.get/operation": operation -"/resourceviews:v1beta2/resourceviews.zoneOperations.get/project": project -"/resourceviews:v1beta2/resourceviews.zoneOperations.get/zone": zone -"/resourceviews:v1beta2/resourceviews.zoneOperations.list": list_zone_operations -"/resourceviews:v1beta2/resourceviews.zoneOperations.list/filter": filter -"/resourceviews:v1beta2/resourceviews.zoneOperations.list/maxResults": max_results -"/resourceviews:v1beta2/resourceviews.zoneOperations.list/pageToken": page_token -"/resourceviews:v1beta2/resourceviews.zoneOperations.list/project": project -"/resourceviews:v1beta2/resourceviews.zoneOperations.list/zone": zone -"/resourceviews:v1beta2/resourceviews.zoneViews.addResources": add_zone_view_resources -"/resourceviews:v1beta2/resourceviews.zoneViews.addResources/project": project -"/resourceviews:v1beta2/resourceviews.zoneViews.addResources/resourceView": resource_view -"/resourceviews:v1beta2/resourceviews.zoneViews.addResources/zone": zone -"/resourceviews:v1beta2/resourceviews.zoneViews.delete": delete_zone_view -"/resourceviews:v1beta2/resourceviews.zoneViews.delete/project": project -"/resourceviews:v1beta2/resourceviews.zoneViews.delete/resourceView": resource_view -"/resourceviews:v1beta2/resourceviews.zoneViews.delete/zone": zone -"/resourceviews:v1beta2/resourceviews.zoneViews.get": get_zone_view -"/resourceviews:v1beta2/resourceviews.zoneViews.get/project": project -"/resourceviews:v1beta2/resourceviews.zoneViews.get/resourceView": resource_view -"/resourceviews:v1beta2/resourceviews.zoneViews.get/zone": zone -"/resourceviews:v1beta2/resourceviews.zoneViews.getService": get_zone_view_service -"/resourceviews:v1beta2/resourceviews.zoneViews.getService/project": project -"/resourceviews:v1beta2/resourceviews.zoneViews.getService/resourceName": resource_name -"/resourceviews:v1beta2/resourceviews.zoneViews.getService/resourceView": resource_view -"/resourceviews:v1beta2/resourceviews.zoneViews.getService/zone": zone -"/resourceviews:v1beta2/resourceviews.zoneViews.insert": insert_zone_view -"/resourceviews:v1beta2/resourceviews.zoneViews.insert/project": project -"/resourceviews:v1beta2/resourceviews.zoneViews.insert/zone": zone -"/resourceviews:v1beta2/resourceviews.zoneViews.list": list_zone_views -"/resourceviews:v1beta2/resourceviews.zoneViews.list/maxResults": max_results -"/resourceviews:v1beta2/resourceviews.zoneViews.list/pageToken": page_token -"/resourceviews:v1beta2/resourceviews.zoneViews.list/project": project -"/resourceviews:v1beta2/resourceviews.zoneViews.list/zone": zone -"/resourceviews:v1beta2/resourceviews.zoneViews.listResources": list_zone_view_resources -"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/format": format -"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/listState": list_state -"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/maxResults": max_results -"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/pageToken": page_token -"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/project": project -"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/resourceView": resource_view -"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/serviceName": service_name -"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/zone": zone -"/resourceviews:v1beta2/resourceviews.zoneViews.removeResources": remove_zone_view_resources -"/resourceviews:v1beta2/resourceviews.zoneViews.removeResources/project": project -"/resourceviews:v1beta2/resourceviews.zoneViews.removeResources/resourceView": resource_view -"/resourceviews:v1beta2/resourceviews.zoneViews.removeResources/zone": zone -"/resourceviews:v1beta2/resourceviews.zoneViews.setService": set_zone_view_service -"/resourceviews:v1beta2/resourceviews.zoneViews.setService/project": project -"/resourceviews:v1beta2/resourceviews.zoneViews.setService/resourceView": resource_view -"/resourceviews:v1beta2/resourceviews.zoneViews.setService/zone": zone +"/reseller:v1/fields": fields +"/reseller:v1/key": key +"/reseller:v1/quotaUser": quota_user +"/reseller:v1/reseller.customers.get": get_customer +"/reseller:v1/reseller.customers.get/customerId": customer_id +"/reseller:v1/reseller.customers.insert": insert_customer +"/reseller:v1/reseller.customers.insert/customerAuthToken": customer_auth_token +"/reseller:v1/reseller.customers.patch": patch_customer +"/reseller:v1/reseller.customers.patch/customerId": customer_id +"/reseller:v1/reseller.customers.update": update_customer +"/reseller:v1/reseller.customers.update/customerId": customer_id +"/reseller:v1/reseller.resellernotify.getwatchdetails": getwatchdetails_resellernotify +"/reseller:v1/reseller.resellernotify.register": register_resellernotify +"/reseller:v1/reseller.resellernotify.register/serviceAccountEmailAddress": service_account_email_address +"/reseller:v1/reseller.resellernotify.unregister": unregister_resellernotify +"/reseller:v1/reseller.resellernotify.unregister/serviceAccountEmailAddress": service_account_email_address +"/reseller:v1/reseller.subscriptions.activate": activate_subscription +"/reseller:v1/reseller.subscriptions.activate/customerId": customer_id +"/reseller:v1/reseller.subscriptions.activate/subscriptionId": subscription_id +"/reseller:v1/reseller.subscriptions.changePlan": change_subscription_plan +"/reseller:v1/reseller.subscriptions.changePlan/customerId": customer_id +"/reseller:v1/reseller.subscriptions.changePlan/subscriptionId": subscription_id +"/reseller:v1/reseller.subscriptions.changeRenewalSettings": change_subscription_renewal_settings +"/reseller:v1/reseller.subscriptions.changeRenewalSettings/customerId": customer_id +"/reseller:v1/reseller.subscriptions.changeRenewalSettings/subscriptionId": subscription_id +"/reseller:v1/reseller.subscriptions.changeSeats": change_subscription_seats +"/reseller:v1/reseller.subscriptions.changeSeats/customerId": customer_id +"/reseller:v1/reseller.subscriptions.changeSeats/subscriptionId": subscription_id +"/reseller:v1/reseller.subscriptions.delete": delete_subscription +"/reseller:v1/reseller.subscriptions.delete/customerId": customer_id +"/reseller:v1/reseller.subscriptions.delete/deletionType": deletion_type +"/reseller:v1/reseller.subscriptions.delete/subscriptionId": subscription_id +"/reseller:v1/reseller.subscriptions.get": get_subscription +"/reseller:v1/reseller.subscriptions.get/customerId": customer_id +"/reseller:v1/reseller.subscriptions.get/subscriptionId": subscription_id +"/reseller:v1/reseller.subscriptions.insert": insert_subscription +"/reseller:v1/reseller.subscriptions.insert/customerAuthToken": customer_auth_token +"/reseller:v1/reseller.subscriptions.insert/customerId": customer_id +"/reseller:v1/reseller.subscriptions.list": list_subscriptions +"/reseller:v1/reseller.subscriptions.list/customerAuthToken": customer_auth_token +"/reseller:v1/reseller.subscriptions.list/customerId": customer_id +"/reseller:v1/reseller.subscriptions.list/customerNamePrefix": customer_name_prefix +"/reseller:v1/reseller.subscriptions.list/maxResults": max_results +"/reseller:v1/reseller.subscriptions.list/pageToken": page_token +"/reseller:v1/reseller.subscriptions.startPaidService": start_subscription_paid_service +"/reseller:v1/reseller.subscriptions.startPaidService/customerId": customer_id +"/reseller:v1/reseller.subscriptions.startPaidService/subscriptionId": subscription_id +"/reseller:v1/reseller.subscriptions.suspend": suspend_subscription +"/reseller:v1/reseller.subscriptions.suspend/customerId": customer_id +"/reseller:v1/reseller.subscriptions.suspend/subscriptionId": subscription_id +"/reseller:v1/userIp": user_ip "/resourceviews:v1beta2/Label": label "/resourceviews:v1beta2/Label/key": key "/resourceviews:v1beta2/Label/value": value @@ -35041,8 +36515,10 @@ "/resourceviews:v1beta2/ServiceEndpoint": service_endpoint "/resourceviews:v1beta2/ServiceEndpoint/name": name "/resourceviews:v1beta2/ServiceEndpoint/port": port +"/resourceviews:v1beta2/ZoneViewsAddResourcesRequest": add_resources_request "/resourceviews:v1beta2/ZoneViewsAddResourcesRequest/resources": resources "/resourceviews:v1beta2/ZoneViewsAddResourcesRequest/resources/resource": resource +"/resourceviews:v1beta2/ZoneViewsGetServiceResponse": get_service_response "/resourceviews:v1beta2/ZoneViewsGetServiceResponse/endpoints": endpoints "/resourceviews:v1beta2/ZoneViewsGetServiceResponse/endpoints/endpoint": endpoint "/resourceviews:v1beta2/ZoneViewsGetServiceResponse/fingerprint": fingerprint @@ -35052,2014 +36528,2226 @@ "/resourceviews:v1beta2/ZoneViewsList/kind": kind "/resourceviews:v1beta2/ZoneViewsList/nextPageToken": next_page_token "/resourceviews:v1beta2/ZoneViewsList/selfLink": self_link +"/resourceviews:v1beta2/ZoneViewsListResourcesResponse": list_resources_response "/resourceviews:v1beta2/ZoneViewsListResourcesResponse/items": items "/resourceviews:v1beta2/ZoneViewsListResourcesResponse/items/item": item "/resourceviews:v1beta2/ZoneViewsListResourcesResponse/network": network "/resourceviews:v1beta2/ZoneViewsListResourcesResponse/nextPageToken": next_page_token +"/resourceviews:v1beta2/ZoneViewsRemoveResourcesRequest": remove_resources_request "/resourceviews:v1beta2/ZoneViewsRemoveResourcesRequest/resources": resources "/resourceviews:v1beta2/ZoneViewsRemoveResourcesRequest/resources/resource": resource +"/resourceviews:v1beta2/ZoneViewsSetServiceRequest": set_service_request "/resourceviews:v1beta2/ZoneViewsSetServiceRequest/endpoints": endpoints "/resourceviews:v1beta2/ZoneViewsSetServiceRequest/endpoints/endpoint": endpoint "/resourceviews:v1beta2/ZoneViewsSetServiceRequest/fingerprint": fingerprint "/resourceviews:v1beta2/ZoneViewsSetServiceRequest/resourceName": resource_name -"/runtimeconfig:v1/quotaUser": quota_user +"/resourceviews:v1beta2/fields": fields +"/resourceviews:v1beta2/key": key +"/resourceviews:v1beta2/quotaUser": quota_user +"/resourceviews:v1beta2/resourceviews.zoneOperations.get": get_zone_operation +"/resourceviews:v1beta2/resourceviews.zoneOperations.get/operation": operation +"/resourceviews:v1beta2/resourceviews.zoneOperations.get/project": project +"/resourceviews:v1beta2/resourceviews.zoneOperations.get/zone": zone +"/resourceviews:v1beta2/resourceviews.zoneOperations.list": list_zone_operations +"/resourceviews:v1beta2/resourceviews.zoneOperations.list/filter": filter +"/resourceviews:v1beta2/resourceviews.zoneOperations.list/maxResults": max_results +"/resourceviews:v1beta2/resourceviews.zoneOperations.list/pageToken": page_token +"/resourceviews:v1beta2/resourceviews.zoneOperations.list/project": project +"/resourceviews:v1beta2/resourceviews.zoneOperations.list/zone": zone +"/resourceviews:v1beta2/resourceviews.zoneViews.addResources": add_zone_view_resources +"/resourceviews:v1beta2/resourceviews.zoneViews.addResources/project": project +"/resourceviews:v1beta2/resourceviews.zoneViews.addResources/resourceView": resource_view +"/resourceviews:v1beta2/resourceviews.zoneViews.addResources/zone": zone +"/resourceviews:v1beta2/resourceviews.zoneViews.delete": delete_zone_view +"/resourceviews:v1beta2/resourceviews.zoneViews.delete/project": project +"/resourceviews:v1beta2/resourceviews.zoneViews.delete/resourceView": resource_view +"/resourceviews:v1beta2/resourceviews.zoneViews.delete/zone": zone +"/resourceviews:v1beta2/resourceviews.zoneViews.get": get_zone_view +"/resourceviews:v1beta2/resourceviews.zoneViews.get/project": project +"/resourceviews:v1beta2/resourceviews.zoneViews.get/resourceView": resource_view +"/resourceviews:v1beta2/resourceviews.zoneViews.get/zone": zone +"/resourceviews:v1beta2/resourceviews.zoneViews.getService": get_zone_view_service +"/resourceviews:v1beta2/resourceviews.zoneViews.getService/project": project +"/resourceviews:v1beta2/resourceviews.zoneViews.getService/resourceName": resource_name +"/resourceviews:v1beta2/resourceviews.zoneViews.getService/resourceView": resource_view +"/resourceviews:v1beta2/resourceviews.zoneViews.getService/zone": zone +"/resourceviews:v1beta2/resourceviews.zoneViews.insert": insert_zone_view +"/resourceviews:v1beta2/resourceviews.zoneViews.insert/project": project +"/resourceviews:v1beta2/resourceviews.zoneViews.insert/zone": zone +"/resourceviews:v1beta2/resourceviews.zoneViews.list": list_zone_views +"/resourceviews:v1beta2/resourceviews.zoneViews.list/maxResults": max_results +"/resourceviews:v1beta2/resourceviews.zoneViews.list/pageToken": page_token +"/resourceviews:v1beta2/resourceviews.zoneViews.list/project": project +"/resourceviews:v1beta2/resourceviews.zoneViews.list/zone": zone +"/resourceviews:v1beta2/resourceviews.zoneViews.listResources": list_zone_view_resources +"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/format": format +"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/listState": list_state +"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/maxResults": max_results +"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/pageToken": page_token +"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/project": project +"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/resourceView": resource_view +"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/serviceName": service_name +"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/zone": zone +"/resourceviews:v1beta2/resourceviews.zoneViews.removeResources": remove_zone_view_resources +"/resourceviews:v1beta2/resourceviews.zoneViews.removeResources/project": project +"/resourceviews:v1beta2/resourceviews.zoneViews.removeResources/resourceView": resource_view +"/resourceviews:v1beta2/resourceviews.zoneViews.removeResources/zone": zone +"/resourceviews:v1beta2/resourceviews.zoneViews.setService": set_zone_view_service +"/resourceviews:v1beta2/resourceviews.zoneViews.setService/project": project +"/resourceviews:v1beta2/resourceviews.zoneViews.setService/resourceView": resource_view +"/resourceviews:v1beta2/resourceviews.zoneViews.setService/zone": zone +"/resourceviews:v1beta2/userIp": user_ip +"/runtimeconfig:v1/CancelOperationRequest": cancel_operation_request +"/runtimeconfig:v1/Empty": empty +"/runtimeconfig:v1/ListOperationsResponse": list_operations_response +"/runtimeconfig:v1/ListOperationsResponse/nextPageToken": next_page_token +"/runtimeconfig:v1/ListOperationsResponse/operations": operations +"/runtimeconfig:v1/ListOperationsResponse/operations/operation": operation +"/runtimeconfig:v1/Operation": operation +"/runtimeconfig:v1/Operation/done": done +"/runtimeconfig:v1/Operation/error": error +"/runtimeconfig:v1/Operation/metadata": metadata +"/runtimeconfig:v1/Operation/metadata/metadatum": metadatum +"/runtimeconfig:v1/Operation/name": name +"/runtimeconfig:v1/Operation/response": response +"/runtimeconfig:v1/Operation/response/response": response +"/runtimeconfig:v1/Status": status +"/runtimeconfig:v1/Status/code": code +"/runtimeconfig:v1/Status/details": details +"/runtimeconfig:v1/Status/details/detail": detail +"/runtimeconfig:v1/Status/details/detail/detail": detail +"/runtimeconfig:v1/Status/message": message "/runtimeconfig:v1/fields": fields "/runtimeconfig:v1/key": key +"/runtimeconfig:v1/quotaUser": quota_user "/runtimeconfig:v1/runtimeconfig.operations.cancel": cancel_operation "/runtimeconfig:v1/runtimeconfig.operations.cancel/name": name "/runtimeconfig:v1/runtimeconfig.operations.delete": delete_operation "/runtimeconfig:v1/runtimeconfig.operations.delete/name": name "/runtimeconfig:v1/runtimeconfig.operations.list": list_operations -"/runtimeconfig:v1/runtimeconfig.operations.list/pageSize": page_size "/runtimeconfig:v1/runtimeconfig.operations.list/filter": filter -"/runtimeconfig:v1/runtimeconfig.operations.list/pageToken": page_token "/runtimeconfig:v1/runtimeconfig.operations.list/name": name -"/runtimeconfig:v1/CancelOperationRequest": cancel_operation_request -"/runtimeconfig:v1/Status": status -"/runtimeconfig:v1/Status/message": message -"/runtimeconfig:v1/Status/details": details -"/runtimeconfig:v1/Status/details/detail": detail -"/runtimeconfig:v1/Status/details/detail/detail": detail -"/runtimeconfig:v1/Status/code": code -"/runtimeconfig:v1/Operation": operation -"/runtimeconfig:v1/Operation/metadata": metadata -"/runtimeconfig:v1/Operation/metadata/metadatum": metadatum -"/runtimeconfig:v1/Operation/done": done -"/runtimeconfig:v1/Operation/response": response -"/runtimeconfig:v1/Operation/response/response": response -"/runtimeconfig:v1/Operation/name": name -"/runtimeconfig:v1/Operation/error": error -"/runtimeconfig:v1/ListOperationsResponse": list_operations_response -"/runtimeconfig:v1/ListOperationsResponse/nextPageToken": next_page_token -"/runtimeconfig:v1/ListOperationsResponse/operations": operations -"/runtimeconfig:v1/ListOperationsResponse/operations/operation": operation -"/runtimeconfig:v1/Empty": empty -"/script:v1/quotaUser": quota_user -"/script:v1/fields": fields -"/script:v1/key": key -"/script:v1/script.scripts.run": run_script -"/script:v1/script.scripts.run/scriptId": script_id -"/script:v1/JoinAsyncRequest": join_async_request -"/script:v1/JoinAsyncRequest/timeout": timeout -"/script:v1/JoinAsyncRequest/scriptId": script_id -"/script:v1/JoinAsyncRequest/names": names -"/script:v1/JoinAsyncRequest/names/name": name -"/script:v1/ExecutionResponse": execution_response -"/script:v1/ExecutionResponse/result": result -"/script:v1/JoinAsyncResponse": join_async_response -"/script:v1/JoinAsyncResponse/results": results -"/script:v1/JoinAsyncResponse/results/result": result -"/script:v1/Operation": operation -"/script:v1/Operation/done": done -"/script:v1/Operation/response": response -"/script:v1/Operation/response/response": response -"/script:v1/Operation/name": name -"/script:v1/Operation/error": error -"/script:v1/Operation/metadata": metadata -"/script:v1/Operation/metadata/metadatum": metadatum -"/script:v1/ScriptStackTraceElement": script_stack_trace_element -"/script:v1/ScriptStackTraceElement/function": function -"/script:v1/ScriptStackTraceElement/lineNumber": line_number +"/runtimeconfig:v1/runtimeconfig.operations.list/pageSize": page_size +"/runtimeconfig:v1/runtimeconfig.operations.list/pageToken": page_token +"/safebrowsing:v4/Checksum": checksum +"/safebrowsing:v4/Checksum/sha256": sha256 +"/safebrowsing:v4/ClientInfo": client_info +"/safebrowsing:v4/ClientInfo/clientId": client_id +"/safebrowsing:v4/ClientInfo/clientVersion": client_version +"/safebrowsing:v4/Constraints": constraints +"/safebrowsing:v4/Constraints/maxDatabaseEntries": max_database_entries +"/safebrowsing:v4/Constraints/maxUpdateEntries": max_update_entries +"/safebrowsing:v4/Constraints/region": region +"/safebrowsing:v4/Constraints/supportedCompressions": supported_compressions +"/safebrowsing:v4/Constraints/supportedCompressions/supported_compression": supported_compression +"/safebrowsing:v4/FetchThreatListUpdatesRequest": fetch_threat_list_updates_request +"/safebrowsing:v4/FetchThreatListUpdatesRequest/client": client +"/safebrowsing:v4/FetchThreatListUpdatesRequest/listUpdateRequests": list_update_requests +"/safebrowsing:v4/FetchThreatListUpdatesRequest/listUpdateRequests/list_update_request": list_update_request +"/safebrowsing:v4/FetchThreatListUpdatesResponse": fetch_threat_list_updates_response +"/safebrowsing:v4/FetchThreatListUpdatesResponse/listUpdateResponses": list_update_responses +"/safebrowsing:v4/FetchThreatListUpdatesResponse/listUpdateResponses/list_update_response": list_update_response +"/safebrowsing:v4/FetchThreatListUpdatesResponse/minimumWaitDuration": minimum_wait_duration +"/safebrowsing:v4/FindFullHashesRequest": find_full_hashes_request +"/safebrowsing:v4/FindFullHashesRequest/apiClient": api_client +"/safebrowsing:v4/FindFullHashesRequest/client": client +"/safebrowsing:v4/FindFullHashesRequest/clientStates": client_states +"/safebrowsing:v4/FindFullHashesRequest/clientStates/client_state": client_state +"/safebrowsing:v4/FindFullHashesRequest/threatInfo": threat_info +"/safebrowsing:v4/FindFullHashesResponse": find_full_hashes_response +"/safebrowsing:v4/FindFullHashesResponse/matches": matches +"/safebrowsing:v4/FindFullHashesResponse/matches/match": match +"/safebrowsing:v4/FindFullHashesResponse/minimumWaitDuration": minimum_wait_duration +"/safebrowsing:v4/FindFullHashesResponse/negativeCacheDuration": negative_cache_duration +"/safebrowsing:v4/FindThreatMatchesRequest": find_threat_matches_request +"/safebrowsing:v4/FindThreatMatchesRequest/client": client +"/safebrowsing:v4/FindThreatMatchesRequest/threatInfo": threat_info +"/safebrowsing:v4/FindThreatMatchesResponse": find_threat_matches_response +"/safebrowsing:v4/FindThreatMatchesResponse/matches": matches +"/safebrowsing:v4/FindThreatMatchesResponse/matches/match": match +"/safebrowsing:v4/ListThreatListsResponse": list_threat_lists_response +"/safebrowsing:v4/ListThreatListsResponse/threatLists": threat_lists +"/safebrowsing:v4/ListThreatListsResponse/threatLists/threat_list": threat_list +"/safebrowsing:v4/ListUpdateRequest": list_update_request +"/safebrowsing:v4/ListUpdateRequest/constraints": constraints +"/safebrowsing:v4/ListUpdateRequest/platformType": platform_type +"/safebrowsing:v4/ListUpdateRequest/state": state +"/safebrowsing:v4/ListUpdateRequest/threatEntryType": threat_entry_type +"/safebrowsing:v4/ListUpdateRequest/threatType": threat_type +"/safebrowsing:v4/ListUpdateResponse": list_update_response +"/safebrowsing:v4/ListUpdateResponse/additions": additions +"/safebrowsing:v4/ListUpdateResponse/additions/addition": addition +"/safebrowsing:v4/ListUpdateResponse/checksum": checksum +"/safebrowsing:v4/ListUpdateResponse/newClientState": new_client_state +"/safebrowsing:v4/ListUpdateResponse/platformType": platform_type +"/safebrowsing:v4/ListUpdateResponse/removals": removals +"/safebrowsing:v4/ListUpdateResponse/removals/removal": removal +"/safebrowsing:v4/ListUpdateResponse/responseType": response_type +"/safebrowsing:v4/ListUpdateResponse/threatEntryType": threat_entry_type +"/safebrowsing:v4/ListUpdateResponse/threatType": threat_type +"/safebrowsing:v4/MetadataEntry": metadata_entry +"/safebrowsing:v4/MetadataEntry/key": key +"/safebrowsing:v4/MetadataEntry/value": value +"/safebrowsing:v4/RawHashes": raw_hashes +"/safebrowsing:v4/RawHashes/prefixSize": prefix_size +"/safebrowsing:v4/RawHashes/rawHashes": raw_hashes +"/safebrowsing:v4/RawIndices": raw_indices +"/safebrowsing:v4/RawIndices/indices": indices +"/safebrowsing:v4/RawIndices/indices/index": index +"/safebrowsing:v4/RiceDeltaEncoding": rice_delta_encoding +"/safebrowsing:v4/RiceDeltaEncoding/encodedData": encoded_data +"/safebrowsing:v4/RiceDeltaEncoding/firstValue": first_value +"/safebrowsing:v4/RiceDeltaEncoding/numEntries": num_entries +"/safebrowsing:v4/RiceDeltaEncoding/riceParameter": rice_parameter +"/safebrowsing:v4/ThreatEntry": threat_entry +"/safebrowsing:v4/ThreatEntry/digest": digest +"/safebrowsing:v4/ThreatEntry/hash": hash_prop +"/safebrowsing:v4/ThreatEntry/url": url +"/safebrowsing:v4/ThreatEntryMetadata": threat_entry_metadata +"/safebrowsing:v4/ThreatEntryMetadata/entries": entries +"/safebrowsing:v4/ThreatEntryMetadata/entries/entry": entry +"/safebrowsing:v4/ThreatEntrySet": threat_entry_set +"/safebrowsing:v4/ThreatEntrySet/compressionType": compression_type +"/safebrowsing:v4/ThreatEntrySet/rawHashes": raw_hashes +"/safebrowsing:v4/ThreatEntrySet/rawIndices": raw_indices +"/safebrowsing:v4/ThreatEntrySet/riceHashes": rice_hashes +"/safebrowsing:v4/ThreatEntrySet/riceIndices": rice_indices +"/safebrowsing:v4/ThreatInfo": threat_info +"/safebrowsing:v4/ThreatInfo/platformTypes": platform_types +"/safebrowsing:v4/ThreatInfo/platformTypes/platform_type": platform_type +"/safebrowsing:v4/ThreatInfo/threatEntries": threat_entries +"/safebrowsing:v4/ThreatInfo/threatEntries/threat_entry": threat_entry +"/safebrowsing:v4/ThreatInfo/threatEntryTypes": threat_entry_types +"/safebrowsing:v4/ThreatInfo/threatEntryTypes/threat_entry_type": threat_entry_type +"/safebrowsing:v4/ThreatInfo/threatTypes": threat_types +"/safebrowsing:v4/ThreatInfo/threatTypes/threat_type": threat_type +"/safebrowsing:v4/ThreatListDescriptor": threat_list_descriptor +"/safebrowsing:v4/ThreatListDescriptor/platformType": platform_type +"/safebrowsing:v4/ThreatListDescriptor/threatEntryType": threat_entry_type +"/safebrowsing:v4/ThreatListDescriptor/threatType": threat_type +"/safebrowsing:v4/ThreatMatch": threat_match +"/safebrowsing:v4/ThreatMatch/cacheDuration": cache_duration +"/safebrowsing:v4/ThreatMatch/platformType": platform_type +"/safebrowsing:v4/ThreatMatch/threat": threat +"/safebrowsing:v4/ThreatMatch/threatEntryMetadata": threat_entry_metadata +"/safebrowsing:v4/ThreatMatch/threatEntryType": threat_entry_type +"/safebrowsing:v4/ThreatMatch/threatType": threat_type +"/safebrowsing:v4/fields": fields +"/safebrowsing:v4/key": key +"/safebrowsing:v4/quotaUser": quota_user +"/safebrowsing:v4/safebrowsing.encodedFullHashes.get": get_encoded_full_hash +"/safebrowsing:v4/safebrowsing.encodedFullHashes.get/clientId": client_id +"/safebrowsing:v4/safebrowsing.encodedFullHashes.get/clientVersion": client_version +"/safebrowsing:v4/safebrowsing.encodedFullHashes.get/encodedRequest": encoded_request +"/safebrowsing:v4/safebrowsing.encodedUpdates.get": get_encoded_update +"/safebrowsing:v4/safebrowsing.encodedUpdates.get/clientId": client_id +"/safebrowsing:v4/safebrowsing.encodedUpdates.get/clientVersion": client_version +"/safebrowsing:v4/safebrowsing.encodedUpdates.get/encodedRequest": encoded_request +"/safebrowsing:v4/safebrowsing.fullHashes.find": find_full_hashes +"/safebrowsing:v4/safebrowsing.threatListUpdates.fetch": fetch_threat_list_updates +"/safebrowsing:v4/safebrowsing.threatLists.list": list_threat_lists +"/safebrowsing:v4/safebrowsing.threatMatches.find": find_threat_matches "/script:v1/ExecutionError": execution_error -"/script:v1/ExecutionError/errorType": error_type "/script:v1/ExecutionError/errorMessage": error_message +"/script:v1/ExecutionError/errorType": error_type "/script:v1/ExecutionError/scriptStackTraceElements": script_stack_trace_elements "/script:v1/ExecutionError/scriptStackTraceElements/script_stack_trace_element": script_stack_trace_element -"/script:v1/Status": status -"/script:v1/Status/details": details -"/script:v1/Status/details/detail": detail -"/script:v1/Status/details/detail/detail": detail -"/script:v1/Status/code": code -"/script:v1/Status/message": message "/script:v1/ExecutionRequest": execution_request "/script:v1/ExecutionRequest/devMode": dev_mode "/script:v1/ExecutionRequest/function": function "/script:v1/ExecutionRequest/parameters": parameters "/script:v1/ExecutionRequest/parameters/parameter": parameter "/script:v1/ExecutionRequest/sessionState": session_state +"/script:v1/ExecutionResponse": execution_response +"/script:v1/ExecutionResponse/result": result +"/script:v1/JoinAsyncRequest": join_async_request +"/script:v1/JoinAsyncRequest/names": names +"/script:v1/JoinAsyncRequest/names/name": name +"/script:v1/JoinAsyncRequest/scriptId": script_id +"/script:v1/JoinAsyncRequest/timeout": timeout +"/script:v1/JoinAsyncResponse": join_async_response +"/script:v1/JoinAsyncResponse/results": results +"/script:v1/JoinAsyncResponse/results/result": result +"/script:v1/Operation": operation +"/script:v1/Operation/done": done +"/script:v1/Operation/error": error +"/script:v1/Operation/metadata": metadata +"/script:v1/Operation/metadata/metadatum": metadatum +"/script:v1/Operation/name": name +"/script:v1/Operation/response": response +"/script:v1/Operation/response/response": response +"/script:v1/ScriptStackTraceElement": script_stack_trace_element +"/script:v1/ScriptStackTraceElement/function": function +"/script:v1/ScriptStackTraceElement/lineNumber": line_number +"/script:v1/Status": status +"/script:v1/Status/code": code +"/script:v1/Status/details": details +"/script:v1/Status/details/detail": detail +"/script:v1/Status/details/detail/detail": detail +"/script:v1/Status/message": message +"/script:v1/fields": fields +"/script:v1/key": key +"/script:v1/quotaUser": quota_user +"/script:v1/script.scripts.run": run_script +"/script:v1/script.scripts.run/scriptId": script_id +"/searchconsole:v1/BlockedResource": blocked_resource +"/searchconsole:v1/BlockedResource/url": url +"/searchconsole:v1/Image": image +"/searchconsole:v1/Image/data": data +"/searchconsole:v1/Image/mimeType": mime_type +"/searchconsole:v1/MobileFriendlyIssue": mobile_friendly_issue +"/searchconsole:v1/MobileFriendlyIssue/rule": rule +"/searchconsole:v1/ResourceIssue": resource_issue +"/searchconsole:v1/ResourceIssue/blockedResource": blocked_resource +"/searchconsole:v1/RunMobileFriendlyTestRequest": run_mobile_friendly_test_request +"/searchconsole:v1/RunMobileFriendlyTestRequest/requestScreenshot": request_screenshot +"/searchconsole:v1/RunMobileFriendlyTestRequest/url": url +"/searchconsole:v1/RunMobileFriendlyTestResponse": run_mobile_friendly_test_response +"/searchconsole:v1/RunMobileFriendlyTestResponse/mobileFriendliness": mobile_friendliness +"/searchconsole:v1/RunMobileFriendlyTestResponse/mobileFriendlyIssues": mobile_friendly_issues +"/searchconsole:v1/RunMobileFriendlyTestResponse/mobileFriendlyIssues/mobile_friendly_issue": mobile_friendly_issue +"/searchconsole:v1/RunMobileFriendlyTestResponse/resourceIssues": resource_issues +"/searchconsole:v1/RunMobileFriendlyTestResponse/resourceIssues/resource_issue": resource_issue +"/searchconsole:v1/RunMobileFriendlyTestResponse/screenshot": screenshot +"/searchconsole:v1/RunMobileFriendlyTestResponse/testStatus": test_status +"/searchconsole:v1/TestStatus": test_status +"/searchconsole:v1/TestStatus/details": details +"/searchconsole:v1/TestStatus/status": status "/searchconsole:v1/fields": fields "/searchconsole:v1/key": key "/searchconsole:v1/quotaUser": quota_user "/searchconsole:v1/searchconsole.urlTestingTools.mobileFriendlyTest.run": run_mobile_friendly_test -"/searchconsole:v1/MobileFriendlyIssue": mobile_friendly_issue -"/searchconsole:v1/MobileFriendlyIssue/rule": rule -"/searchconsole:v1/RunMobileFriendlyTestResponse": run_mobile_friendly_test_response -"/searchconsole:v1/RunMobileFriendlyTestResponse/resourceIssues": resource_issues -"/searchconsole:v1/RunMobileFriendlyTestResponse/resourceIssues/resource_issue": resource_issue -"/searchconsole:v1/RunMobileFriendlyTestResponse/testStatus": test_status -"/searchconsole:v1/RunMobileFriendlyTestResponse/mobileFriendliness": mobile_friendliness -"/searchconsole:v1/RunMobileFriendlyTestResponse/mobileFriendlyIssues": mobile_friendly_issues -"/searchconsole:v1/RunMobileFriendlyTestResponse/mobileFriendlyIssues/mobile_friendly_issue": mobile_friendly_issue -"/searchconsole:v1/RunMobileFriendlyTestResponse/screenshot": screenshot -"/searchconsole:v1/ResourceIssue": resource_issue -"/searchconsole:v1/ResourceIssue/blockedResource": blocked_resource -"/searchconsole:v1/BlockedResource": blocked_resource -"/searchconsole:v1/BlockedResource/url": url -"/searchconsole:v1/TestStatus": test_status -"/searchconsole:v1/TestStatus/status": status -"/searchconsole:v1/TestStatus/details": details -"/searchconsole:v1/Image": image -"/searchconsole:v1/Image/mimeType": mime_type -"/searchconsole:v1/Image/data": data -"/searchconsole:v1/RunMobileFriendlyTestRequest": run_mobile_friendly_test_request -"/searchconsole:v1/RunMobileFriendlyTestRequest/requestScreenshot": request_screenshot -"/searchconsole:v1/RunMobileFriendlyTestRequest/url": url -"/servicecontrol:v1/fields": fields -"/servicecontrol:v1/key": key -"/servicecontrol:v1/quotaUser": quota_user -"/servicecontrol:v1/servicecontrol.services.endReconciliation": end_service_reconciliation -"/servicecontrol:v1/servicecontrol.services.endReconciliation/serviceName": service_name -"/servicecontrol:v1/servicecontrol.services.report": report_service -"/servicecontrol:v1/servicecontrol.services.report/serviceName": service_name -"/servicecontrol:v1/servicecontrol.services.allocateQuota": allocate_service_quota -"/servicecontrol:v1/servicecontrol.services.allocateQuota/serviceName": service_name -"/servicecontrol:v1/servicecontrol.services.startReconciliation": start_service_reconciliation -"/servicecontrol:v1/servicecontrol.services.startReconciliation/serviceName": service_name -"/servicecontrol:v1/servicecontrol.services.check": check_service -"/servicecontrol:v1/servicecontrol.services.check/serviceName": service_name -"/servicecontrol:v1/servicecontrol.services.releaseQuota": release_service_quota -"/servicecontrol:v1/servicecontrol.services.releaseQuota/serviceName": service_name -"/servicecontrol:v1/MetricValue": metric_value -"/servicecontrol:v1/MetricValue/distributionValue": distribution_value -"/servicecontrol:v1/MetricValue/boolValue": bool_value -"/servicecontrol:v1/MetricValue/endTime": end_time -"/servicecontrol:v1/MetricValue/startTime": start_time -"/servicecontrol:v1/MetricValue/moneyValue": money_value -"/servicecontrol:v1/MetricValue/labels": labels -"/servicecontrol:v1/MetricValue/labels/label": label -"/servicecontrol:v1/MetricValue/stringValue": string_value -"/servicecontrol:v1/MetricValue/doubleValue": double_value -"/servicecontrol:v1/MetricValue/int64Value": int64_value +"/servicecontrol:v1/AllocateQuotaRequest": allocate_quota_request +"/servicecontrol:v1/AllocateQuotaRequest/allocateOperation": allocate_operation +"/servicecontrol:v1/AllocateQuotaRequest/allocationMode": allocation_mode +"/servicecontrol:v1/AllocateQuotaRequest/serviceConfigId": service_config_id +"/servicecontrol:v1/AllocateQuotaResponse": allocate_quota_response +"/servicecontrol:v1/AllocateQuotaResponse/allocateErrors": allocate_errors +"/servicecontrol:v1/AllocateQuotaResponse/allocateErrors/allocate_error": allocate_error +"/servicecontrol:v1/AllocateQuotaResponse/operationId": operation_id +"/servicecontrol:v1/AllocateQuotaResponse/quotaMetrics": quota_metrics +"/servicecontrol:v1/AllocateQuotaResponse/quotaMetrics/quota_metric": quota_metric +"/servicecontrol:v1/AllocateQuotaResponse/serviceConfigId": service_config_id +"/servicecontrol:v1/AuditLog": audit_log +"/servicecontrol:v1/AuditLog/authenticationInfo": authentication_info +"/servicecontrol:v1/AuditLog/authorizationInfo": authorization_info +"/servicecontrol:v1/AuditLog/authorizationInfo/authorization_info": authorization_info +"/servicecontrol:v1/AuditLog/methodName": method_name +"/servicecontrol:v1/AuditLog/numResponseItems": num_response_items +"/servicecontrol:v1/AuditLog/request": request +"/servicecontrol:v1/AuditLog/request/request": request +"/servicecontrol:v1/AuditLog/requestMetadata": request_metadata +"/servicecontrol:v1/AuditLog/resourceName": resource_name +"/servicecontrol:v1/AuditLog/response": response +"/servicecontrol:v1/AuditLog/response/response": response +"/servicecontrol:v1/AuditLog/serviceData": service_data +"/servicecontrol:v1/AuditLog/serviceData/service_datum": service_datum +"/servicecontrol:v1/AuditLog/serviceName": service_name +"/servicecontrol:v1/AuditLog/status": status +"/servicecontrol:v1/AuthenticationInfo": authentication_info +"/servicecontrol:v1/AuthenticationInfo/authoritySelector": authority_selector +"/servicecontrol:v1/AuthenticationInfo/principalEmail": principal_email +"/servicecontrol:v1/AuthorizationInfo": authorization_info +"/servicecontrol:v1/AuthorizationInfo/granted": granted +"/servicecontrol:v1/AuthorizationInfo/permission": permission +"/servicecontrol:v1/AuthorizationInfo/resource": resource +"/servicecontrol:v1/CheckError": check_error +"/servicecontrol:v1/CheckError/code": code +"/servicecontrol:v1/CheckError/detail": detail +"/servicecontrol:v1/CheckInfo": check_info +"/servicecontrol:v1/CheckInfo/consumerInfo": consumer_info +"/servicecontrol:v1/CheckInfo/unusedArguments": unused_arguments +"/servicecontrol:v1/CheckInfo/unusedArguments/unused_argument": unused_argument +"/servicecontrol:v1/CheckRequest": check_request +"/servicecontrol:v1/CheckRequest/operation": operation +"/servicecontrol:v1/CheckRequest/requestProjectSettings": request_project_settings +"/servicecontrol:v1/CheckRequest/serviceConfigId": service_config_id +"/servicecontrol:v1/CheckRequest/skipActivationCheck": skip_activation_check +"/servicecontrol:v1/CheckResponse": check_response +"/servicecontrol:v1/CheckResponse/checkErrors": check_errors +"/servicecontrol:v1/CheckResponse/checkErrors/check_error": check_error +"/servicecontrol:v1/CheckResponse/checkInfo": check_info +"/servicecontrol:v1/CheckResponse/operationId": operation_id +"/servicecontrol:v1/CheckResponse/quotaInfo": quota_info +"/servicecontrol:v1/CheckResponse/serviceConfigId": service_config_id +"/servicecontrol:v1/ConsumerInfo": consumer_info +"/servicecontrol:v1/ConsumerInfo/projectNumber": project_number +"/servicecontrol:v1/Distribution": distribution +"/servicecontrol:v1/Distribution/bucketCounts": bucket_counts +"/servicecontrol:v1/Distribution/bucketCounts/bucket_count": bucket_count +"/servicecontrol:v1/Distribution/count": count +"/servicecontrol:v1/Distribution/explicitBuckets": explicit_buckets +"/servicecontrol:v1/Distribution/exponentialBuckets": exponential_buckets +"/servicecontrol:v1/Distribution/linearBuckets": linear_buckets +"/servicecontrol:v1/Distribution/maximum": maximum +"/servicecontrol:v1/Distribution/mean": mean +"/servicecontrol:v1/Distribution/minimum": minimum +"/servicecontrol:v1/Distribution/sumOfSquaredDeviation": sum_of_squared_deviation +"/servicecontrol:v1/EndReconciliationRequest": end_reconciliation_request +"/servicecontrol:v1/EndReconciliationRequest/reconciliationOperation": reconciliation_operation +"/servicecontrol:v1/EndReconciliationRequest/serviceConfigId": service_config_id "/servicecontrol:v1/EndReconciliationResponse": end_reconciliation_response +"/servicecontrol:v1/EndReconciliationResponse/operationId": operation_id "/servicecontrol:v1/EndReconciliationResponse/quotaMetrics": quota_metrics "/servicecontrol:v1/EndReconciliationResponse/quotaMetrics/quota_metric": quota_metric "/servicecontrol:v1/EndReconciliationResponse/reconciliationErrors": reconciliation_errors "/servicecontrol:v1/EndReconciliationResponse/reconciliationErrors/reconciliation_error": reconciliation_error -"/servicecontrol:v1/EndReconciliationResponse/operationId": operation_id "/servicecontrol:v1/EndReconciliationResponse/serviceConfigId": service_config_id -"/servicecontrol:v1/Money": money -"/servicecontrol:v1/Money/currencyCode": currency_code -"/servicecontrol:v1/Money/nanos": nanos -"/servicecontrol:v1/Money/units": units -"/servicecontrol:v1/Distribution": distribution -"/servicecontrol:v1/Distribution/count": count -"/servicecontrol:v1/Distribution/mean": mean -"/servicecontrol:v1/Distribution/bucketCounts": bucket_counts -"/servicecontrol:v1/Distribution/bucketCounts/bucket_count": bucket_count -"/servicecontrol:v1/Distribution/explicitBuckets": explicit_buckets -"/servicecontrol:v1/Distribution/maximum": maximum -"/servicecontrol:v1/Distribution/sumOfSquaredDeviation": sum_of_squared_deviation -"/servicecontrol:v1/Distribution/exponentialBuckets": exponential_buckets -"/servicecontrol:v1/Distribution/minimum": minimum -"/servicecontrol:v1/Distribution/linearBuckets": linear_buckets "/servicecontrol:v1/ExplicitBuckets": explicit_buckets "/servicecontrol:v1/ExplicitBuckets/bounds": bounds "/servicecontrol:v1/ExplicitBuckets/bounds/bound": bound "/servicecontrol:v1/ExponentialBuckets": exponential_buckets -"/servicecontrol:v1/ExponentialBuckets/numFiniteBuckets": num_finite_buckets "/servicecontrol:v1/ExponentialBuckets/growthFactor": growth_factor +"/servicecontrol:v1/ExponentialBuckets/numFiniteBuckets": num_finite_buckets "/servicecontrol:v1/ExponentialBuckets/scale": scale -"/servicecontrol:v1/AuthorizationInfo": authorization_info -"/servicecontrol:v1/AuthorizationInfo/permission": permission -"/servicecontrol:v1/AuthorizationInfo/resource": resource -"/servicecontrol:v1/AuthorizationInfo/granted": granted -"/servicecontrol:v1/StartReconciliationResponse": start_reconciliation_response -"/servicecontrol:v1/StartReconciliationResponse/quotaMetrics": quota_metrics -"/servicecontrol:v1/StartReconciliationResponse/quotaMetrics/quota_metric": quota_metric -"/servicecontrol:v1/StartReconciliationResponse/reconciliationErrors": reconciliation_errors -"/servicecontrol:v1/StartReconciliationResponse/reconciliationErrors/reconciliation_error": reconciliation_error -"/servicecontrol:v1/StartReconciliationResponse/operationId": operation_id -"/servicecontrol:v1/StartReconciliationResponse/serviceConfigId": service_config_id -"/servicecontrol:v1/QuotaProperties": quota_properties -"/servicecontrol:v1/QuotaProperties/limitByIds": limit_by_ids -"/servicecontrol:v1/QuotaProperties/limitByIds/limit_by_id": limit_by_id -"/servicecontrol:v1/QuotaProperties/quotaMode": quota_mode "/servicecontrol:v1/LinearBuckets": linear_buckets -"/servicecontrol:v1/LinearBuckets/width": width -"/servicecontrol:v1/LinearBuckets/offset": offset "/servicecontrol:v1/LinearBuckets/numFiniteBuckets": num_finite_buckets -"/servicecontrol:v1/AuthenticationInfo": authentication_info -"/servicecontrol:v1/AuthenticationInfo/principalEmail": principal_email -"/servicecontrol:v1/AuthenticationInfo/authoritySelector": authority_selector -"/servicecontrol:v1/AllocateQuotaResponse": allocate_quota_response -"/servicecontrol:v1/AllocateQuotaResponse/allocateErrors": allocate_errors -"/servicecontrol:v1/AllocateQuotaResponse/allocateErrors/allocate_error": allocate_error -"/servicecontrol:v1/AllocateQuotaResponse/quotaMetrics": quota_metrics -"/servicecontrol:v1/AllocateQuotaResponse/quotaMetrics/quota_metric": quota_metric -"/servicecontrol:v1/AllocateQuotaResponse/operationId": operation_id -"/servicecontrol:v1/AllocateQuotaResponse/serviceConfigId": service_config_id -"/servicecontrol:v1/ReleaseQuotaRequest": release_quota_request -"/servicecontrol:v1/ReleaseQuotaRequest/serviceConfigId": service_config_id -"/servicecontrol:v1/ReleaseQuotaRequest/releaseOperation": release_operation -"/servicecontrol:v1/QuotaError": quota_error -"/servicecontrol:v1/QuotaError/description": description -"/servicecontrol:v1/QuotaError/subject": subject -"/servicecontrol:v1/QuotaError/code": code -"/servicecontrol:v1/RequestMetadata": request_metadata -"/servicecontrol:v1/RequestMetadata/callerIp": caller_ip -"/servicecontrol:v1/RequestMetadata/callerSuppliedUserAgent": caller_supplied_user_agent -"/servicecontrol:v1/CheckInfo": check_info -"/servicecontrol:v1/CheckInfo/unusedArguments": unused_arguments -"/servicecontrol:v1/CheckInfo/unusedArguments/unused_argument": unused_argument -"/servicecontrol:v1/ReleaseQuotaResponse": release_quota_response -"/servicecontrol:v1/ReleaseQuotaResponse/releaseErrors": release_errors -"/servicecontrol:v1/ReleaseQuotaResponse/releaseErrors/release_error": release_error -"/servicecontrol:v1/ReleaseQuotaResponse/quotaMetrics": quota_metrics -"/servicecontrol:v1/ReleaseQuotaResponse/quotaMetrics/quota_metric": quota_metric -"/servicecontrol:v1/ReleaseQuotaResponse/operationId": operation_id -"/servicecontrol:v1/ReleaseQuotaResponse/serviceConfigId": service_config_id -"/servicecontrol:v1/AllocateQuotaRequest": allocate_quota_request -"/servicecontrol:v1/AllocateQuotaRequest/serviceConfigId": service_config_id -"/servicecontrol:v1/AllocateQuotaRequest/allocateOperation": allocate_operation -"/servicecontrol:v1/AllocateQuotaRequest/allocationMode": allocation_mode +"/servicecontrol:v1/LinearBuckets/offset": offset +"/servicecontrol:v1/LinearBuckets/width": width +"/servicecontrol:v1/LogEntry": log_entry +"/servicecontrol:v1/LogEntry/insertId": insert_id +"/servicecontrol:v1/LogEntry/labels": labels +"/servicecontrol:v1/LogEntry/labels/label": label +"/servicecontrol:v1/LogEntry/name": name +"/servicecontrol:v1/LogEntry/protoPayload": proto_payload +"/servicecontrol:v1/LogEntry/protoPayload/proto_payload": proto_payload +"/servicecontrol:v1/LogEntry/severity": severity +"/servicecontrol:v1/LogEntry/structPayload": struct_payload +"/servicecontrol:v1/LogEntry/structPayload/struct_payload": struct_payload +"/servicecontrol:v1/LogEntry/textPayload": text_payload +"/servicecontrol:v1/LogEntry/timestamp": timestamp +"/servicecontrol:v1/MetricValue": metric_value +"/servicecontrol:v1/MetricValue/boolValue": bool_value +"/servicecontrol:v1/MetricValue/distributionValue": distribution_value +"/servicecontrol:v1/MetricValue/doubleValue": double_value +"/servicecontrol:v1/MetricValue/endTime": end_time +"/servicecontrol:v1/MetricValue/int64Value": int64_value +"/servicecontrol:v1/MetricValue/labels": labels +"/servicecontrol:v1/MetricValue/labels/label": label +"/servicecontrol:v1/MetricValue/moneyValue": money_value +"/servicecontrol:v1/MetricValue/startTime": start_time +"/servicecontrol:v1/MetricValue/stringValue": string_value "/servicecontrol:v1/MetricValueSet": metric_value_set +"/servicecontrol:v1/MetricValueSet/metricName": metric_name "/servicecontrol:v1/MetricValueSet/metricValues": metric_values "/servicecontrol:v1/MetricValueSet/metricValues/metric_value": metric_value -"/servicecontrol:v1/MetricValueSet/metricName": metric_name -"/servicecontrol:v1/ReportError": report_error -"/servicecontrol:v1/ReportError/status": status -"/servicecontrol:v1/ReportError/operationId": operation_id -"/servicecontrol:v1/StartReconciliationRequest": start_reconciliation_request -"/servicecontrol:v1/StartReconciliationRequest/reconciliationOperation": reconciliation_operation -"/servicecontrol:v1/StartReconciliationRequest/serviceConfigId": service_config_id -"/servicecontrol:v1/CheckError": check_error -"/servicecontrol:v1/CheckError/detail": detail -"/servicecontrol:v1/CheckError/code": code -"/servicecontrol:v1/QuotaInfo": quota_info -"/servicecontrol:v1/QuotaInfo/quotaConsumed": quota_consumed -"/servicecontrol:v1/QuotaInfo/quotaConsumed/quota_consumed": quota_consumed -"/servicecontrol:v1/QuotaInfo/quotaMetrics": quota_metrics -"/servicecontrol:v1/QuotaInfo/quotaMetrics/quota_metric": quota_metric -"/servicecontrol:v1/QuotaInfo/limitExceeded": limit_exceeded -"/servicecontrol:v1/QuotaInfo/limitExceeded/limit_exceeded": limit_exceeded -"/servicecontrol:v1/CheckRequest": check_request -"/servicecontrol:v1/CheckRequest/skipActivationCheck": skip_activation_check -"/servicecontrol:v1/CheckRequest/requestProjectSettings": request_project_settings -"/servicecontrol:v1/CheckRequest/operation": operation -"/servicecontrol:v1/CheckRequest/serviceConfigId": service_config_id -"/servicecontrol:v1/QuotaOperation": quota_operation -"/servicecontrol:v1/QuotaOperation/quotaMetrics": quota_metrics -"/servicecontrol:v1/QuotaOperation/quotaMetrics/quota_metric": quota_metric -"/servicecontrol:v1/QuotaOperation/labels": labels -"/servicecontrol:v1/QuotaOperation/labels/label": label -"/servicecontrol:v1/QuotaOperation/consumerId": consumer_id -"/servicecontrol:v1/QuotaOperation/operationId": operation_id -"/servicecontrol:v1/QuotaOperation/quotaMode": quota_mode -"/servicecontrol:v1/QuotaOperation/methodName": method_name -"/servicecontrol:v1/EndReconciliationRequest": end_reconciliation_request -"/servicecontrol:v1/EndReconciliationRequest/reconciliationOperation": reconciliation_operation -"/servicecontrol:v1/EndReconciliationRequest/serviceConfigId": service_config_id -"/servicecontrol:v1/ReportInfo": report_info -"/servicecontrol:v1/ReportInfo/operationId": operation_id -"/servicecontrol:v1/ReportInfo/quotaInfo": quota_info +"/servicecontrol:v1/Money": money +"/servicecontrol:v1/Money/currencyCode": currency_code +"/servicecontrol:v1/Money/nanos": nanos +"/servicecontrol:v1/Money/units": units "/servicecontrol:v1/Operation": operation +"/servicecontrol:v1/Operation/consumerId": consumer_id +"/servicecontrol:v1/Operation/endTime": end_time "/servicecontrol:v1/Operation/importance": importance -"/servicecontrol:v1/Operation/resourceContainer": resource_container "/servicecontrol:v1/Operation/labels": labels "/servicecontrol:v1/Operation/labels/label": label "/servicecontrol:v1/Operation/logEntries": log_entries "/servicecontrol:v1/Operation/logEntries/log_entry": log_entry -"/servicecontrol:v1/Operation/userLabels": user_labels -"/servicecontrol:v1/Operation/userLabels/user_label": user_label "/servicecontrol:v1/Operation/metricValueSets": metric_value_sets "/servicecontrol:v1/Operation/metricValueSets/metric_value_set": metric_value_set -"/servicecontrol:v1/Operation/quotaProperties": quota_properties -"/servicecontrol:v1/Operation/consumerId": consumer_id "/servicecontrol:v1/Operation/operationId": operation_id -"/servicecontrol:v1/Operation/endTime": end_time "/servicecontrol:v1/Operation/operationName": operation_name +"/servicecontrol:v1/Operation/quotaProperties": quota_properties +"/servicecontrol:v1/Operation/resourceContainer": resource_container +"/servicecontrol:v1/Operation/resourceContainers": resource_containers +"/servicecontrol:v1/Operation/resourceContainers/resource_container": resource_container "/servicecontrol:v1/Operation/startTime": start_time +"/servicecontrol:v1/Operation/userLabels": user_labels +"/servicecontrol:v1/Operation/userLabels/user_label": user_label +"/servicecontrol:v1/QuotaError": quota_error +"/servicecontrol:v1/QuotaError/code": code +"/servicecontrol:v1/QuotaError/description": description +"/servicecontrol:v1/QuotaError/subject": subject +"/servicecontrol:v1/QuotaInfo": quota_info +"/servicecontrol:v1/QuotaInfo/limitExceeded": limit_exceeded +"/servicecontrol:v1/QuotaInfo/limitExceeded/limit_exceeded": limit_exceeded +"/servicecontrol:v1/QuotaInfo/quotaConsumed": quota_consumed +"/servicecontrol:v1/QuotaInfo/quotaConsumed/quota_consumed": quota_consumed +"/servicecontrol:v1/QuotaInfo/quotaMetrics": quota_metrics +"/servicecontrol:v1/QuotaInfo/quotaMetrics/quota_metric": quota_metric +"/servicecontrol:v1/QuotaOperation": quota_operation +"/servicecontrol:v1/QuotaOperation/consumerId": consumer_id +"/servicecontrol:v1/QuotaOperation/labels": labels +"/servicecontrol:v1/QuotaOperation/labels/label": label +"/servicecontrol:v1/QuotaOperation/methodName": method_name +"/servicecontrol:v1/QuotaOperation/operationId": operation_id +"/servicecontrol:v1/QuotaOperation/quotaMetrics": quota_metrics +"/servicecontrol:v1/QuotaOperation/quotaMetrics/quota_metric": quota_metric +"/servicecontrol:v1/QuotaOperation/quotaMode": quota_mode +"/servicecontrol:v1/QuotaProperties": quota_properties +"/servicecontrol:v1/QuotaProperties/limitByIds": limit_by_ids +"/servicecontrol:v1/QuotaProperties/limitByIds/limit_by_id": limit_by_id +"/servicecontrol:v1/QuotaProperties/quotaMode": quota_mode +"/servicecontrol:v1/ReleaseQuotaRequest": release_quota_request +"/servicecontrol:v1/ReleaseQuotaRequest/releaseOperation": release_operation +"/servicecontrol:v1/ReleaseQuotaRequest/serviceConfigId": service_config_id +"/servicecontrol:v1/ReleaseQuotaResponse": release_quota_response +"/servicecontrol:v1/ReleaseQuotaResponse/operationId": operation_id +"/servicecontrol:v1/ReleaseQuotaResponse/quotaMetrics": quota_metrics +"/servicecontrol:v1/ReleaseQuotaResponse/quotaMetrics/quota_metric": quota_metric +"/servicecontrol:v1/ReleaseQuotaResponse/releaseErrors": release_errors +"/servicecontrol:v1/ReleaseQuotaResponse/releaseErrors/release_error": release_error +"/servicecontrol:v1/ReleaseQuotaResponse/serviceConfigId": service_config_id +"/servicecontrol:v1/ReportError": report_error +"/servicecontrol:v1/ReportError/operationId": operation_id +"/servicecontrol:v1/ReportError/status": status +"/servicecontrol:v1/ReportInfo": report_info +"/servicecontrol:v1/ReportInfo/operationId": operation_id +"/servicecontrol:v1/ReportInfo/quotaInfo": quota_info +"/servicecontrol:v1/ReportRequest": report_request +"/servicecontrol:v1/ReportRequest/operations": operations +"/servicecontrol:v1/ReportRequest/operations/operation": operation +"/servicecontrol:v1/ReportRequest/serviceConfigId": service_config_id "/servicecontrol:v1/ReportResponse": report_response -"/servicecontrol:v1/ReportResponse/serviceConfigId": service_config_id "/servicecontrol:v1/ReportResponse/reportErrors": report_errors "/servicecontrol:v1/ReportResponse/reportErrors/report_error": report_error "/servicecontrol:v1/ReportResponse/reportInfos": report_infos "/servicecontrol:v1/ReportResponse/reportInfos/report_info": report_info -"/servicecontrol:v1/CheckResponse": check_response -"/servicecontrol:v1/CheckResponse/checkInfo": check_info -"/servicecontrol:v1/CheckResponse/checkErrors": check_errors -"/servicecontrol:v1/CheckResponse/checkErrors/check_error": check_error -"/servicecontrol:v1/CheckResponse/operationId": operation_id -"/servicecontrol:v1/CheckResponse/serviceConfigId": service_config_id -"/servicecontrol:v1/CheckResponse/quotaInfo": quota_info -"/servicecontrol:v1/ReportRequest": report_request -"/servicecontrol:v1/ReportRequest/serviceConfigId": service_config_id -"/servicecontrol:v1/ReportRequest/operations": operations -"/servicecontrol:v1/ReportRequest/operations/operation": operation +"/servicecontrol:v1/ReportResponse/serviceConfigId": service_config_id +"/servicecontrol:v1/RequestMetadata": request_metadata +"/servicecontrol:v1/RequestMetadata/callerIp": caller_ip +"/servicecontrol:v1/RequestMetadata/callerSuppliedUserAgent": caller_supplied_user_agent +"/servicecontrol:v1/StartReconciliationRequest": start_reconciliation_request +"/servicecontrol:v1/StartReconciliationRequest/reconciliationOperation": reconciliation_operation +"/servicecontrol:v1/StartReconciliationRequest/serviceConfigId": service_config_id +"/servicecontrol:v1/StartReconciliationResponse": start_reconciliation_response +"/servicecontrol:v1/StartReconciliationResponse/operationId": operation_id +"/servicecontrol:v1/StartReconciliationResponse/quotaMetrics": quota_metrics +"/servicecontrol:v1/StartReconciliationResponse/quotaMetrics/quota_metric": quota_metric +"/servicecontrol:v1/StartReconciliationResponse/reconciliationErrors": reconciliation_errors +"/servicecontrol:v1/StartReconciliationResponse/reconciliationErrors/reconciliation_error": reconciliation_error +"/servicecontrol:v1/StartReconciliationResponse/serviceConfigId": service_config_id "/servicecontrol:v1/Status": status -"/servicecontrol:v1/Status/message": message +"/servicecontrol:v1/Status/code": code "/servicecontrol:v1/Status/details": details "/servicecontrol:v1/Status/details/detail": detail "/servicecontrol:v1/Status/details/detail/detail": detail -"/servicecontrol:v1/Status/code": code -"/servicecontrol:v1/LogEntry": log_entry -"/servicecontrol:v1/LogEntry/textPayload": text_payload -"/servicecontrol:v1/LogEntry/protoPayload": proto_payload -"/servicecontrol:v1/LogEntry/protoPayload/proto_payload": proto_payload -"/servicecontrol:v1/LogEntry/timestamp": timestamp -"/servicecontrol:v1/LogEntry/labels": labels -"/servicecontrol:v1/LogEntry/labels/label": label -"/servicecontrol:v1/LogEntry/severity": severity -"/servicecontrol:v1/LogEntry/insertId": insert_id -"/servicecontrol:v1/LogEntry/name": name -"/servicecontrol:v1/LogEntry/structPayload": struct_payload -"/servicecontrol:v1/LogEntry/structPayload/struct_payload": struct_payload -"/servicecontrol:v1/AuditLog": audit_log -"/servicecontrol:v1/AuditLog/authorizationInfo": authorization_info -"/servicecontrol:v1/AuditLog/authorizationInfo/authorization_info": authorization_info -"/servicecontrol:v1/AuditLog/resourceName": resource_name -"/servicecontrol:v1/AuditLog/request": request -"/servicecontrol:v1/AuditLog/request/request": request -"/servicecontrol:v1/AuditLog/requestMetadata": request_metadata -"/servicecontrol:v1/AuditLog/serviceData": service_data -"/servicecontrol:v1/AuditLog/serviceData/service_datum": service_datum -"/servicecontrol:v1/AuditLog/numResponseItems": num_response_items -"/servicecontrol:v1/AuditLog/authenticationInfo": authentication_info -"/servicecontrol:v1/AuditLog/status": status -"/servicecontrol:v1/AuditLog/serviceName": service_name -"/servicecontrol:v1/AuditLog/response": response -"/servicecontrol:v1/AuditLog/response/response": response -"/servicecontrol:v1/AuditLog/methodName": method_name -"/servicemanagement:v1/key": key -"/servicemanagement:v1/quotaUser": quota_user -"/servicemanagement:v1/fields": fields -"/servicemanagement:v1/servicemanagement.operations.get": get_operation -"/servicemanagement:v1/servicemanagement.operations.get/name": name -"/servicemanagement:v1/servicemanagement.operations.list": list_operations -"/servicemanagement:v1/servicemanagement.operations.list/filter": filter -"/servicemanagement:v1/servicemanagement.operations.list/pageToken": page_token -"/servicemanagement:v1/servicemanagement.operations.list/name": name -"/servicemanagement:v1/servicemanagement.operations.list/pageSize": page_size -"/servicemanagement:v1/servicemanagement.services.getIamPolicy": get_service_iam_policy -"/servicemanagement:v1/servicemanagement.services.getIamPolicy/resource": resource -"/servicemanagement:v1/servicemanagement.services.undelete": undelete_service -"/servicemanagement:v1/servicemanagement.services.undelete/serviceName": service_name -"/servicemanagement:v1/servicemanagement.services.list": list_services -"/servicemanagement:v1/servicemanagement.services.list/pageSize": page_size -"/servicemanagement:v1/servicemanagement.services.list/producerProjectId": producer_project_id -"/servicemanagement:v1/servicemanagement.services.list/consumerId": consumer_id -"/servicemanagement:v1/servicemanagement.services.list/pageToken": page_token -"/servicemanagement:v1/servicemanagement.services.create": create_service -"/servicemanagement:v1/servicemanagement.services.generateConfigReport": generate_service_config_report -"/servicemanagement:v1/servicemanagement.services.get": get_service -"/servicemanagement:v1/servicemanagement.services.get/serviceName": service_name -"/servicemanagement:v1/servicemanagement.services.testIamPermissions": test_service_iam_permissions -"/servicemanagement:v1/servicemanagement.services.testIamPermissions/resource": resource -"/servicemanagement:v1/servicemanagement.services.getConfig/serviceName": service_name -"/servicemanagement:v1/servicemanagement.services.getConfig/configId": config_id -"/servicemanagement:v1/servicemanagement.services.getConfig/view": view -"/servicemanagement:v1/servicemanagement.services.delete": delete_service -"/servicemanagement:v1/servicemanagement.services.delete/serviceName": service_name -"/servicemanagement:v1/servicemanagement.services.enable": enable_service -"/servicemanagement:v1/servicemanagement.services.enable/serviceName": service_name -"/servicemanagement:v1/servicemanagement.services.setIamPolicy": set_service_iam_policy -"/servicemanagement:v1/servicemanagement.services.setIamPolicy/resource": resource -"/servicemanagement:v1/servicemanagement.services.disable": disable_service -"/servicemanagement:v1/servicemanagement.services.disable/serviceName": service_name -"/servicemanagement:v1/servicemanagement.services.consumers.testIamPermissions": test_consumer_iam_permissions -"/servicemanagement:v1/servicemanagement.services.consumers.testIamPermissions/resource": resource -"/servicemanagement:v1/servicemanagement.services.consumers.getIamPolicy": get_consumer_iam_policy -"/servicemanagement:v1/servicemanagement.services.consumers.getIamPolicy/resource": resource -"/servicemanagement:v1/servicemanagement.services.consumers.setIamPolicy": set_consumer_iam_policy -"/servicemanagement:v1/servicemanagement.services.consumers.setIamPolicy/resource": resource -"/servicemanagement:v1/servicemanagement.services.rollouts.get": get_service_rollout -"/servicemanagement:v1/servicemanagement.services.rollouts.get/serviceName": service_name -"/servicemanagement:v1/servicemanagement.services.rollouts.get/rolloutId": rollout_id -"/servicemanagement:v1/servicemanagement.services.rollouts.list": list_service_rollouts -"/servicemanagement:v1/servicemanagement.services.rollouts.list/filter": filter -"/servicemanagement:v1/servicemanagement.services.rollouts.list/serviceName": service_name -"/servicemanagement:v1/servicemanagement.services.rollouts.list/pageToken": page_token -"/servicemanagement:v1/servicemanagement.services.rollouts.list/pageSize": page_size -"/servicemanagement:v1/servicemanagement.services.rollouts.create": create_service_rollout -"/servicemanagement:v1/servicemanagement.services.rollouts.create/serviceName": service_name -"/servicemanagement:v1/servicemanagement.services.configs.get": get_service_config -"/servicemanagement:v1/servicemanagement.services.configs.get/serviceName": service_name -"/servicemanagement:v1/servicemanagement.services.configs.get/configId": config_id -"/servicemanagement:v1/servicemanagement.services.configs.get/view": view -"/servicemanagement:v1/servicemanagement.services.configs.list": list_service_configs -"/servicemanagement:v1/servicemanagement.services.configs.list/serviceName": service_name -"/servicemanagement:v1/servicemanagement.services.configs.list/pageToken": page_token -"/servicemanagement:v1/servicemanagement.services.configs.list/pageSize": page_size -"/servicemanagement:v1/servicemanagement.services.configs.create": create_service_config -"/servicemanagement:v1/servicemanagement.services.configs.create/serviceName": service_name -"/servicemanagement:v1/servicemanagement.services.configs.submit": submit_config_source -"/servicemanagement:v1/servicemanagement.services.configs.submit/serviceName": service_name +"/servicecontrol:v1/Status/message": message +"/servicecontrol:v1/fields": fields +"/servicecontrol:v1/key": key +"/servicecontrol:v1/quotaUser": quota_user +"/servicecontrol:v1/servicecontrol.services.allocateQuota": allocate_service_quota +"/servicecontrol:v1/servicecontrol.services.allocateQuota/serviceName": service_name +"/servicecontrol:v1/servicecontrol.services.check": check_service +"/servicecontrol:v1/servicecontrol.services.check/serviceName": service_name +"/servicecontrol:v1/servicecontrol.services.endReconciliation": end_service_reconciliation +"/servicecontrol:v1/servicecontrol.services.endReconciliation/serviceName": service_name +"/servicecontrol:v1/servicecontrol.services.releaseQuota": release_service_quota +"/servicecontrol:v1/servicecontrol.services.releaseQuota/serviceName": service_name +"/servicecontrol:v1/servicecontrol.services.report": report_service +"/servicecontrol:v1/servicecontrol.services.report/serviceName": service_name +"/servicecontrol:v1/servicecontrol.services.startReconciliation": start_service_reconciliation +"/servicecontrol:v1/servicecontrol.services.startReconciliation/serviceName": service_name +"/servicemanagement:v1/Advice": advice +"/servicemanagement:v1/Advice/description": description +"/servicemanagement:v1/Api": api +"/servicemanagement:v1/Api/methods": methods_prop +"/servicemanagement:v1/Api/methods/methods_prop": methods_prop +"/servicemanagement:v1/Api/mixins": mixins +"/servicemanagement:v1/Api/mixins/mixin": mixin +"/servicemanagement:v1/Api/name": name +"/servicemanagement:v1/Api/options": options +"/servicemanagement:v1/Api/options/option": option +"/servicemanagement:v1/Api/sourceContext": source_context +"/servicemanagement:v1/Api/syntax": syntax +"/servicemanagement:v1/Api/version": version +"/servicemanagement:v1/AuditConfig": audit_config +"/servicemanagement:v1/AuditConfig/auditLogConfigs": audit_log_configs +"/servicemanagement:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/servicemanagement:v1/AuditConfig/exemptedMembers": exempted_members +"/servicemanagement:v1/AuditConfig/exemptedMembers/exempted_member": exempted_member +"/servicemanagement:v1/AuditConfig/service": service +"/servicemanagement:v1/AuditLogConfig": audit_log_config +"/servicemanagement:v1/AuditLogConfig/exemptedMembers": exempted_members +"/servicemanagement:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member +"/servicemanagement:v1/AuditLogConfig/logType": log_type +"/servicemanagement:v1/AuthProvider": auth_provider +"/servicemanagement:v1/AuthProvider/audiences": audiences +"/servicemanagement:v1/AuthProvider/authorizationUrl": authorization_url +"/servicemanagement:v1/AuthProvider/id": id +"/servicemanagement:v1/AuthProvider/issuer": issuer +"/servicemanagement:v1/AuthProvider/jwksUri": jwks_uri +"/servicemanagement:v1/AuthRequirement": auth_requirement +"/servicemanagement:v1/AuthRequirement/audiences": audiences +"/servicemanagement:v1/AuthRequirement/providerId": provider_id +"/servicemanagement:v1/Authentication": authentication +"/servicemanagement:v1/Authentication/providers": providers +"/servicemanagement:v1/Authentication/providers/provider": provider +"/servicemanagement:v1/Authentication/rules": rules +"/servicemanagement:v1/Authentication/rules/rule": rule +"/servicemanagement:v1/AuthenticationRule": authentication_rule +"/servicemanagement:v1/AuthenticationRule/allowWithoutCredential": allow_without_credential +"/servicemanagement:v1/AuthenticationRule/customAuth": custom_auth +"/servicemanagement:v1/AuthenticationRule/oauth": oauth +"/servicemanagement:v1/AuthenticationRule/requirements": requirements +"/servicemanagement:v1/AuthenticationRule/requirements/requirement": requirement +"/servicemanagement:v1/AuthenticationRule/selector": selector +"/servicemanagement:v1/AuthorizationConfig": authorization_config +"/servicemanagement:v1/AuthorizationConfig/provider": provider +"/servicemanagement:v1/Backend": backend +"/servicemanagement:v1/Backend/rules": rules +"/servicemanagement:v1/Backend/rules/rule": rule +"/servicemanagement:v1/BackendRule": backend_rule +"/servicemanagement:v1/BackendRule/address": address +"/servicemanagement:v1/BackendRule/deadline": deadline +"/servicemanagement:v1/BackendRule/minDeadline": min_deadline +"/servicemanagement:v1/BackendRule/selector": selector +"/servicemanagement:v1/Binding": binding +"/servicemanagement:v1/Binding/condition": condition +"/servicemanagement:v1/Binding/members": members +"/servicemanagement:v1/Binding/members/member": member +"/servicemanagement:v1/Binding/role": role +"/servicemanagement:v1/ChangeReport": change_report +"/servicemanagement:v1/ChangeReport/configChanges": config_changes +"/servicemanagement:v1/ChangeReport/configChanges/config_change": config_change +"/servicemanagement:v1/CloudAuditOptions": cloud_audit_options +"/servicemanagement:v1/CloudAuditOptions/isReadPermissionType": is_read_permission_type +"/servicemanagement:v1/CloudAuditOptions/logName": log_name +"/servicemanagement:v1/Condition": condition +"/servicemanagement:v1/Condition/iam": iam +"/servicemanagement:v1/Condition/op": op +"/servicemanagement:v1/Condition/svc": svc +"/servicemanagement:v1/Condition/sys": sys +"/servicemanagement:v1/Condition/value": value +"/servicemanagement:v1/Condition/values": values +"/servicemanagement:v1/Condition/values/value": value "/servicemanagement:v1/ConfigChange": config_change -"/servicemanagement:v1/ConfigChange/changeType": change_type -"/servicemanagement:v1/ConfigChange/element": element "/servicemanagement:v1/ConfigChange/advices": advices "/servicemanagement:v1/ConfigChange/advices/advice": advice -"/servicemanagement:v1/ConfigChange/oldValue": old_value +"/servicemanagement:v1/ConfigChange/changeType": change_type +"/servicemanagement:v1/ConfigChange/element": element "/servicemanagement:v1/ConfigChange/newValue": new_value -"/servicemanagement:v1/SystemParameters": system_parameters -"/servicemanagement:v1/SystemParameters/rules": rules -"/servicemanagement:v1/SystemParameters/rules/rule": rule -"/servicemanagement:v1/Rollout": rollout -"/servicemanagement:v1/Rollout/status": status -"/servicemanagement:v1/Rollout/serviceName": service_name -"/servicemanagement:v1/Rollout/createdBy": created_by -"/servicemanagement:v1/Rollout/trafficPercentStrategy": traffic_percent_strategy -"/servicemanagement:v1/Rollout/rolloutId": rollout_id -"/servicemanagement:v1/Rollout/deleteServiceStrategy": delete_service_strategy -"/servicemanagement:v1/Rollout/createTime": create_time -"/servicemanagement:v1/Quota": quota -"/servicemanagement:v1/Quota/limits": limits -"/servicemanagement:v1/Quota/limits/limit": limit -"/servicemanagement:v1/Quota/metricRules": metric_rules -"/servicemanagement:v1/Quota/metricRules/metric_rule": metric_rule -"/servicemanagement:v1/GenerateConfigReportRequest": generate_config_report_request -"/servicemanagement:v1/GenerateConfigReportRequest/oldConfig": old_config -"/servicemanagement:v1/GenerateConfigReportRequest/oldConfig/old_config": old_config -"/servicemanagement:v1/GenerateConfigReportRequest/newConfig": new_config -"/servicemanagement:v1/GenerateConfigReportRequest/newConfig/new_config": new_config -"/servicemanagement:v1/SetIamPolicyRequest": set_iam_policy_request -"/servicemanagement:v1/SetIamPolicyRequest/updateMask": update_mask -"/servicemanagement:v1/SetIamPolicyRequest/policy": policy -"/servicemanagement:v1/DeleteServiceStrategy": delete_service_strategy -"/servicemanagement:v1/Step": step -"/servicemanagement:v1/Step/status": status -"/servicemanagement:v1/Step/description": description -"/servicemanagement:v1/LoggingDestination": logging_destination -"/servicemanagement:v1/LoggingDestination/logs": logs -"/servicemanagement:v1/LoggingDestination/logs/log": log -"/servicemanagement:v1/LoggingDestination/monitoredResource": monitored_resource -"/servicemanagement:v1/Option": option -"/servicemanagement:v1/Option/value": value -"/servicemanagement:v1/Option/value/value": value -"/servicemanagement:v1/Option/name": name -"/servicemanagement:v1/Logging": logging -"/servicemanagement:v1/Logging/consumerDestinations": consumer_destinations -"/servicemanagement:v1/Logging/consumerDestinations/consumer_destination": consumer_destination -"/servicemanagement:v1/Logging/producerDestinations": producer_destinations -"/servicemanagement:v1/Logging/producerDestinations/producer_destination": producer_destination -"/servicemanagement:v1/Method": method_prop -"/servicemanagement:v1/Method/responseStreaming": response_streaming -"/servicemanagement:v1/Method/name": name -"/servicemanagement:v1/Method/requestTypeUrl": request_type_url -"/servicemanagement:v1/Method/requestStreaming": request_streaming -"/servicemanagement:v1/Method/syntax": syntax -"/servicemanagement:v1/Method/responseTypeUrl": response_type_url -"/servicemanagement:v1/Method/options": options -"/servicemanagement:v1/Method/options/option": option -"/servicemanagement:v1/QuotaLimit": quota_limit -"/servicemanagement:v1/QuotaLimit/unit": unit -"/servicemanagement:v1/QuotaLimit/maxLimit": max_limit -"/servicemanagement:v1/QuotaLimit/name": name -"/servicemanagement:v1/QuotaLimit/duration": duration -"/servicemanagement:v1/QuotaLimit/freeTier": free_tier -"/servicemanagement:v1/QuotaLimit/defaultLimit": default_limit -"/servicemanagement:v1/QuotaLimit/displayName": display_name -"/servicemanagement:v1/QuotaLimit/description": description -"/servicemanagement:v1/QuotaLimit/metric": metric -"/servicemanagement:v1/QuotaLimit/values": values -"/servicemanagement:v1/QuotaLimit/values/value": value +"/servicemanagement:v1/ConfigChange/oldValue": old_value +"/servicemanagement:v1/ConfigFile": config_file +"/servicemanagement:v1/ConfigFile/fileContents": file_contents +"/servicemanagement:v1/ConfigFile/filePath": file_path +"/servicemanagement:v1/ConfigFile/fileType": file_type "/servicemanagement:v1/ConfigRef": config_ref "/servicemanagement:v1/ConfigRef/name": name -"/servicemanagement:v1/ListServiceRolloutsResponse": list_service_rollouts_response -"/servicemanagement:v1/ListServiceRolloutsResponse/nextPageToken": next_page_token -"/servicemanagement:v1/ListServiceRolloutsResponse/rollouts": rollouts -"/servicemanagement:v1/ListServiceRolloutsResponse/rollouts/rollout": rollout -"/servicemanagement:v1/Mixin": mixin -"/servicemanagement:v1/Mixin/name": name -"/servicemanagement:v1/Mixin/root": root -"/servicemanagement:v1/FlowOperationMetadata": flow_operation_metadata -"/servicemanagement:v1/FlowOperationMetadata/deadline": deadline -"/servicemanagement:v1/FlowOperationMetadata/cancelState": cancel_state -"/servicemanagement:v1/FlowOperationMetadata/startTime": start_time -"/servicemanagement:v1/FlowOperationMetadata/resourceNames": resource_names -"/servicemanagement:v1/FlowOperationMetadata/resourceNames/resource_name": resource_name -"/servicemanagement:v1/FlowOperationMetadata/flowName": flow_name +"/servicemanagement:v1/ConfigSource": config_source +"/servicemanagement:v1/ConfigSource/files": files +"/servicemanagement:v1/ConfigSource/files/file": file +"/servicemanagement:v1/ConfigSource/id": id +"/servicemanagement:v1/Context": context +"/servicemanagement:v1/Context/rules": rules +"/servicemanagement:v1/Context/rules/rule": rule +"/servicemanagement:v1/ContextRule": context_rule +"/servicemanagement:v1/ContextRule/provided": provided +"/servicemanagement:v1/ContextRule/provided/provided": provided +"/servicemanagement:v1/ContextRule/requested": requested +"/servicemanagement:v1/ContextRule/requested/requested": requested +"/servicemanagement:v1/ContextRule/selector": selector +"/servicemanagement:v1/Control": control +"/servicemanagement:v1/Control/environment": environment +"/servicemanagement:v1/CounterOptions": counter_options +"/servicemanagement:v1/CounterOptions/field": field +"/servicemanagement:v1/CounterOptions/metric": metric +"/servicemanagement:v1/CustomAuthRequirements": custom_auth_requirements +"/servicemanagement:v1/CustomAuthRequirements/provider": provider "/servicemanagement:v1/CustomError": custom_error "/servicemanagement:v1/CustomError/rules": rules "/servicemanagement:v1/CustomError/rules/rule": rule "/servicemanagement:v1/CustomError/types": types "/servicemanagement:v1/CustomError/types/type": type -"/servicemanagement:v1/CounterOptions": counter_options -"/servicemanagement:v1/CounterOptions/field": field -"/servicemanagement:v1/CounterOptions/metric": metric +"/servicemanagement:v1/CustomErrorRule": custom_error_rule +"/servicemanagement:v1/CustomErrorRule/isErrorType": is_error_type +"/servicemanagement:v1/CustomErrorRule/selector": selector +"/servicemanagement:v1/CustomHttpPattern": custom_http_pattern +"/servicemanagement:v1/CustomHttpPattern/kind": kind +"/servicemanagement:v1/CustomHttpPattern/path": path +"/servicemanagement:v1/DataAccessOptions": data_access_options +"/servicemanagement:v1/DataAccessOptions/logMode": log_mode +"/servicemanagement:v1/DeleteServiceStrategy": delete_service_strategy +"/servicemanagement:v1/Diagnostic": diagnostic +"/servicemanagement:v1/Diagnostic/kind": kind +"/servicemanagement:v1/Diagnostic/location": location +"/servicemanagement:v1/Diagnostic/message": message +"/servicemanagement:v1/DisableServiceRequest": disable_service_request +"/servicemanagement:v1/DisableServiceRequest/consumerId": consumer_id +"/servicemanagement:v1/Documentation": documentation +"/servicemanagement:v1/Documentation/documentationRootUrl": documentation_root_url +"/servicemanagement:v1/Documentation/overview": overview +"/servicemanagement:v1/Documentation/pages": pages +"/servicemanagement:v1/Documentation/pages/page": page +"/servicemanagement:v1/Documentation/rules": rules +"/servicemanagement:v1/Documentation/rules/rule": rule +"/servicemanagement:v1/Documentation/summary": summary +"/servicemanagement:v1/DocumentationRule": documentation_rule +"/servicemanagement:v1/DocumentationRule/deprecationDescription": deprecation_description +"/servicemanagement:v1/DocumentationRule/description": description +"/servicemanagement:v1/DocumentationRule/selector": selector +"/servicemanagement:v1/EnableServiceRequest": enable_service_request +"/servicemanagement:v1/EnableServiceRequest/consumerId": consumer_id +"/servicemanagement:v1/Endpoint": endpoint +"/servicemanagement:v1/Endpoint/aliases": aliases +"/servicemanagement:v1/Endpoint/aliases/alias": alias +"/servicemanagement:v1/Endpoint/allowCors": allow_cors +"/servicemanagement:v1/Endpoint/apis": apis +"/servicemanagement:v1/Endpoint/apis/api": api +"/servicemanagement:v1/Endpoint/features": features +"/servicemanagement:v1/Endpoint/features/feature": feature +"/servicemanagement:v1/Endpoint/name": name +"/servicemanagement:v1/Endpoint/target": target +"/servicemanagement:v1/Enum": enum +"/servicemanagement:v1/Enum/enumvalue": enumvalue +"/servicemanagement:v1/Enum/enumvalue/enumvalue": enumvalue +"/servicemanagement:v1/Enum/name": name +"/servicemanagement:v1/Enum/options": options +"/servicemanagement:v1/Enum/options/option": option +"/servicemanagement:v1/Enum/sourceContext": source_context +"/servicemanagement:v1/Enum/syntax": syntax +"/servicemanagement:v1/EnumValue": enum_value +"/servicemanagement:v1/EnumValue/name": name +"/servicemanagement:v1/EnumValue/number": number +"/servicemanagement:v1/EnumValue/options": options +"/servicemanagement:v1/EnumValue/options/option": option +"/servicemanagement:v1/Experimental": experimental +"/servicemanagement:v1/Experimental/authorization": authorization +"/servicemanagement:v1/Expr": expr +"/servicemanagement:v1/Expr/description": description +"/servicemanagement:v1/Expr/expression": expression +"/servicemanagement:v1/Expr/location": location +"/servicemanagement:v1/Expr/title": title +"/servicemanagement:v1/Field": field +"/servicemanagement:v1/Field/cardinality": cardinality +"/servicemanagement:v1/Field/defaultValue": default_value +"/servicemanagement:v1/Field/jsonName": json_name +"/servicemanagement:v1/Field/kind": kind +"/servicemanagement:v1/Field/name": name +"/servicemanagement:v1/Field/number": number +"/servicemanagement:v1/Field/oneofIndex": oneof_index +"/servicemanagement:v1/Field/options": options +"/servicemanagement:v1/Field/options/option": option +"/servicemanagement:v1/Field/packed": packed +"/servicemanagement:v1/Field/typeUrl": type_url +"/servicemanagement:v1/FlowOperationMetadata": flow_operation_metadata +"/servicemanagement:v1/FlowOperationMetadata/cancelState": cancel_state +"/servicemanagement:v1/FlowOperationMetadata/deadline": deadline +"/servicemanagement:v1/FlowOperationMetadata/flowName": flow_name +"/servicemanagement:v1/FlowOperationMetadata/resourceNames": resource_names +"/servicemanagement:v1/FlowOperationMetadata/resourceNames/resource_name": resource_name +"/servicemanagement:v1/FlowOperationMetadata/startTime": start_time +"/servicemanagement:v1/GenerateConfigReportRequest": generate_config_report_request +"/servicemanagement:v1/GenerateConfigReportRequest/newConfig": new_config +"/servicemanagement:v1/GenerateConfigReportRequest/newConfig/new_config": new_config +"/servicemanagement:v1/GenerateConfigReportRequest/oldConfig": old_config +"/servicemanagement:v1/GenerateConfigReportRequest/oldConfig/old_config": old_config +"/servicemanagement:v1/GenerateConfigReportResponse": generate_config_report_response +"/servicemanagement:v1/GenerateConfigReportResponse/changeReports": change_reports +"/servicemanagement:v1/GenerateConfigReportResponse/changeReports/change_report": change_report +"/servicemanagement:v1/GenerateConfigReportResponse/diagnostics": diagnostics +"/servicemanagement:v1/GenerateConfigReportResponse/diagnostics/diagnostic": diagnostic +"/servicemanagement:v1/GenerateConfigReportResponse/id": id +"/servicemanagement:v1/GenerateConfigReportResponse/serviceName": service_name +"/servicemanagement:v1/GetIamPolicyRequest": get_iam_policy_request "/servicemanagement:v1/Http": http +"/servicemanagement:v1/Http/fullyDecodeReservedExpansion": fully_decode_reserved_expansion "/servicemanagement:v1/Http/rules": rules "/servicemanagement:v1/Http/rules/rule": rule -"/servicemanagement:v1/Http/fullyDecodeReservedExpansion": fully_decode_reserved_expansion -"/servicemanagement:v1/SourceInfo": source_info -"/servicemanagement:v1/SourceInfo/sourceFiles": source_files -"/servicemanagement:v1/SourceInfo/sourceFiles/source_file": source_file -"/servicemanagement:v1/SourceInfo/sourceFiles/source_file/source_file": source_file -"/servicemanagement:v1/Control": control -"/servicemanagement:v1/Control/environment": environment -"/servicemanagement:v1/SystemParameter": system_parameter -"/servicemanagement:v1/SystemParameter/urlQueryParameter": url_query_parameter -"/servicemanagement:v1/SystemParameter/httpHeader": http_header -"/servicemanagement:v1/SystemParameter/name": name +"/servicemanagement:v1/HttpRule": http_rule +"/servicemanagement:v1/HttpRule/additionalBindings": additional_bindings +"/servicemanagement:v1/HttpRule/additionalBindings/additional_binding": additional_binding +"/servicemanagement:v1/HttpRule/body": body +"/servicemanagement:v1/HttpRule/custom": custom +"/servicemanagement:v1/HttpRule/delete": delete +"/servicemanagement:v1/HttpRule/get": get +"/servicemanagement:v1/HttpRule/mediaDownload": media_download +"/servicemanagement:v1/HttpRule/mediaUpload": media_upload +"/servicemanagement:v1/HttpRule/patch": patch +"/servicemanagement:v1/HttpRule/post": post +"/servicemanagement:v1/HttpRule/put": put +"/servicemanagement:v1/HttpRule/responseBody": response_body +"/servicemanagement:v1/HttpRule/restCollection": rest_collection +"/servicemanagement:v1/HttpRule/restMethodName": rest_method_name +"/servicemanagement:v1/HttpRule/selector": selector +"/servicemanagement:v1/LabelDescriptor": label_descriptor +"/servicemanagement:v1/LabelDescriptor/description": description +"/servicemanagement:v1/LabelDescriptor/key": key +"/servicemanagement:v1/LabelDescriptor/valueType": value_type +"/servicemanagement:v1/ListOperationsResponse": list_operations_response +"/servicemanagement:v1/ListOperationsResponse/nextPageToken": next_page_token +"/servicemanagement:v1/ListOperationsResponse/operations": operations +"/servicemanagement:v1/ListOperationsResponse/operations/operation": operation +"/servicemanagement:v1/ListServiceConfigsResponse": list_service_configs_response +"/servicemanagement:v1/ListServiceConfigsResponse/nextPageToken": next_page_token +"/servicemanagement:v1/ListServiceConfigsResponse/serviceConfigs": service_configs +"/servicemanagement:v1/ListServiceConfigsResponse/serviceConfigs/service_config": service_config +"/servicemanagement:v1/ListServiceRolloutsResponse": list_service_rollouts_response +"/servicemanagement:v1/ListServiceRolloutsResponse/nextPageToken": next_page_token +"/servicemanagement:v1/ListServiceRolloutsResponse/rollouts": rollouts +"/servicemanagement:v1/ListServiceRolloutsResponse/rollouts/rollout": rollout +"/servicemanagement:v1/ListServicesResponse": list_services_response +"/servicemanagement:v1/ListServicesResponse/nextPageToken": next_page_token +"/servicemanagement:v1/ListServicesResponse/services": services +"/servicemanagement:v1/ListServicesResponse/services/service": service +"/servicemanagement:v1/LogConfig": log_config +"/servicemanagement:v1/LogConfig/cloudAudit": cloud_audit +"/servicemanagement:v1/LogConfig/counter": counter +"/servicemanagement:v1/LogConfig/dataAccess": data_access +"/servicemanagement:v1/LogDescriptor": log_descriptor +"/servicemanagement:v1/LogDescriptor/description": description +"/servicemanagement:v1/LogDescriptor/displayName": display_name +"/servicemanagement:v1/LogDescriptor/labels": labels +"/servicemanagement:v1/LogDescriptor/labels/label": label +"/servicemanagement:v1/LogDescriptor/name": name +"/servicemanagement:v1/Logging": logging +"/servicemanagement:v1/Logging/consumerDestinations": consumer_destinations +"/servicemanagement:v1/Logging/consumerDestinations/consumer_destination": consumer_destination +"/servicemanagement:v1/Logging/producerDestinations": producer_destinations +"/servicemanagement:v1/Logging/producerDestinations/producer_destination": producer_destination +"/servicemanagement:v1/LoggingDestination": logging_destination +"/servicemanagement:v1/LoggingDestination/logs": logs +"/servicemanagement:v1/LoggingDestination/logs/log": log +"/servicemanagement:v1/LoggingDestination/monitoredResource": monitored_resource +"/servicemanagement:v1/ManagedService": managed_service +"/servicemanagement:v1/ManagedService/producerProjectId": producer_project_id +"/servicemanagement:v1/ManagedService/serviceName": service_name +"/servicemanagement:v1/MediaDownload": media_download +"/servicemanagement:v1/MediaDownload/completeNotification": complete_notification +"/servicemanagement:v1/MediaDownload/downloadService": download_service +"/servicemanagement:v1/MediaDownload/dropzone": dropzone +"/servicemanagement:v1/MediaDownload/enabled": enabled +"/servicemanagement:v1/MediaDownload/maxDirectDownloadSize": max_direct_download_size +"/servicemanagement:v1/MediaDownload/useDirectDownload": use_direct_download +"/servicemanagement:v1/MediaUpload": media_upload +"/servicemanagement:v1/MediaUpload/completeNotification": complete_notification +"/servicemanagement:v1/MediaUpload/dropzone": dropzone +"/servicemanagement:v1/MediaUpload/enabled": enabled +"/servicemanagement:v1/MediaUpload/maxSize": max_size +"/servicemanagement:v1/MediaUpload/mimeTypes": mime_types +"/servicemanagement:v1/MediaUpload/mimeTypes/mime_type": mime_type +"/servicemanagement:v1/MediaUpload/progressNotification": progress_notification +"/servicemanagement:v1/MediaUpload/startNotification": start_notification +"/servicemanagement:v1/MediaUpload/uploadService": upload_service +"/servicemanagement:v1/Method": method_prop +"/servicemanagement:v1/Method/name": name +"/servicemanagement:v1/Method/options": options +"/servicemanagement:v1/Method/options/option": option +"/servicemanagement:v1/Method/requestStreaming": request_streaming +"/servicemanagement:v1/Method/requestTypeUrl": request_type_url +"/servicemanagement:v1/Method/responseStreaming": response_streaming +"/servicemanagement:v1/Method/responseTypeUrl": response_type_url +"/servicemanagement:v1/Method/syntax": syntax +"/servicemanagement:v1/MetricDescriptor": metric_descriptor +"/servicemanagement:v1/MetricDescriptor/description": description +"/servicemanagement:v1/MetricDescriptor/displayName": display_name +"/servicemanagement:v1/MetricDescriptor/labels": labels +"/servicemanagement:v1/MetricDescriptor/labels/label": label +"/servicemanagement:v1/MetricDescriptor/metricKind": metric_kind +"/servicemanagement:v1/MetricDescriptor/name": name +"/servicemanagement:v1/MetricDescriptor/type": type +"/servicemanagement:v1/MetricDescriptor/unit": unit +"/servicemanagement:v1/MetricDescriptor/valueType": value_type +"/servicemanagement:v1/MetricRule": metric_rule +"/servicemanagement:v1/MetricRule/metricCosts": metric_costs +"/servicemanagement:v1/MetricRule/metricCosts/metric_cost": metric_cost +"/servicemanagement:v1/MetricRule/selector": selector +"/servicemanagement:v1/Mixin": mixin +"/servicemanagement:v1/Mixin/name": name +"/servicemanagement:v1/Mixin/root": root +"/servicemanagement:v1/MonitoredResourceDescriptor": monitored_resource_descriptor +"/servicemanagement:v1/MonitoredResourceDescriptor/description": description +"/servicemanagement:v1/MonitoredResourceDescriptor/displayName": display_name +"/servicemanagement:v1/MonitoredResourceDescriptor/labels": labels +"/servicemanagement:v1/MonitoredResourceDescriptor/labels/label": label +"/servicemanagement:v1/MonitoredResourceDescriptor/name": name +"/servicemanagement:v1/MonitoredResourceDescriptor/type": type "/servicemanagement:v1/Monitoring": monitoring "/servicemanagement:v1/Monitoring/consumerDestinations": consumer_destinations "/servicemanagement:v1/Monitoring/consumerDestinations/consumer_destination": consumer_destination "/servicemanagement:v1/Monitoring/producerDestinations": producer_destinations "/servicemanagement:v1/Monitoring/producerDestinations/producer_destination": producer_destination -"/servicemanagement:v1/Field": field -"/servicemanagement:v1/Field/number": number -"/servicemanagement:v1/Field/kind": kind -"/servicemanagement:v1/Field/jsonName": json_name -"/servicemanagement:v1/Field/options": options -"/servicemanagement:v1/Field/options/option": option -"/servicemanagement:v1/Field/oneofIndex": oneof_index -"/servicemanagement:v1/Field/packed": packed -"/servicemanagement:v1/Field/cardinality": cardinality -"/servicemanagement:v1/Field/defaultValue": default_value -"/servicemanagement:v1/Field/name": name -"/servicemanagement:v1/Field/typeUrl": type_url +"/servicemanagement:v1/MonitoringDestination": monitoring_destination +"/servicemanagement:v1/MonitoringDestination/metrics": metrics +"/servicemanagement:v1/MonitoringDestination/metrics/metric": metric +"/servicemanagement:v1/MonitoringDestination/monitoredResource": monitored_resource +"/servicemanagement:v1/OAuthRequirements": o_auth_requirements +"/servicemanagement:v1/OAuthRequirements/canonicalScopes": canonical_scopes +"/servicemanagement:v1/Operation": operation +"/servicemanagement:v1/Operation/done": done +"/servicemanagement:v1/Operation/error": error +"/servicemanagement:v1/Operation/metadata": metadata +"/servicemanagement:v1/Operation/metadata/metadatum": metadatum +"/servicemanagement:v1/Operation/name": name +"/servicemanagement:v1/Operation/response": response +"/servicemanagement:v1/Operation/response/response": response +"/servicemanagement:v1/OperationMetadata": operation_metadata +"/servicemanagement:v1/OperationMetadata/progressPercentage": progress_percentage +"/servicemanagement:v1/OperationMetadata/resourceNames": resource_names +"/servicemanagement:v1/OperationMetadata/resourceNames/resource_name": resource_name +"/servicemanagement:v1/OperationMetadata/startTime": start_time +"/servicemanagement:v1/OperationMetadata/steps": steps +"/servicemanagement:v1/OperationMetadata/steps/step": step +"/servicemanagement:v1/Option": option +"/servicemanagement:v1/Option/name": name +"/servicemanagement:v1/Option/value": value +"/servicemanagement:v1/Option/value/value": value +"/servicemanagement:v1/Page": page +"/servicemanagement:v1/Page/content": content +"/servicemanagement:v1/Page/name": name +"/servicemanagement:v1/Page/subpages": subpages +"/servicemanagement:v1/Page/subpages/subpage": subpage +"/servicemanagement:v1/Policy": policy +"/servicemanagement:v1/Policy/auditConfigs": audit_configs +"/servicemanagement:v1/Policy/auditConfigs/audit_config": audit_config +"/servicemanagement:v1/Policy/bindings": bindings +"/servicemanagement:v1/Policy/bindings/binding": binding +"/servicemanagement:v1/Policy/etag": etag +"/servicemanagement:v1/Policy/iamOwned": iam_owned +"/servicemanagement:v1/Policy/rules": rules +"/servicemanagement:v1/Policy/rules/rule": rule +"/servicemanagement:v1/Policy/version": version +"/servicemanagement:v1/Quota": quota +"/servicemanagement:v1/Quota/limits": limits +"/servicemanagement:v1/Quota/limits/limit": limit +"/servicemanagement:v1/Quota/metricRules": metric_rules +"/servicemanagement:v1/Quota/metricRules/metric_rule": metric_rule +"/servicemanagement:v1/QuotaLimit": quota_limit +"/servicemanagement:v1/QuotaLimit/defaultLimit": default_limit +"/servicemanagement:v1/QuotaLimit/description": description +"/servicemanagement:v1/QuotaLimit/displayName": display_name +"/servicemanagement:v1/QuotaLimit/duration": duration +"/servicemanagement:v1/QuotaLimit/freeTier": free_tier +"/servicemanagement:v1/QuotaLimit/maxLimit": max_limit +"/servicemanagement:v1/QuotaLimit/metric": metric +"/servicemanagement:v1/QuotaLimit/name": name +"/servicemanagement:v1/QuotaLimit/unit": unit +"/servicemanagement:v1/QuotaLimit/values": values +"/servicemanagement:v1/QuotaLimit/values/value": value +"/servicemanagement:v1/Rollout": rollout +"/servicemanagement:v1/Rollout/createTime": create_time +"/servicemanagement:v1/Rollout/createdBy": created_by +"/servicemanagement:v1/Rollout/deleteServiceStrategy": delete_service_strategy +"/servicemanagement:v1/Rollout/rolloutId": rollout_id +"/servicemanagement:v1/Rollout/serviceName": service_name +"/servicemanagement:v1/Rollout/status": status +"/servicemanagement:v1/Rollout/trafficPercentStrategy": traffic_percent_strategy +"/servicemanagement:v1/Rule": rule +"/servicemanagement:v1/Rule/action": action +"/servicemanagement:v1/Rule/conditions": conditions +"/servicemanagement:v1/Rule/conditions/condition": condition +"/servicemanagement:v1/Rule/description": description +"/servicemanagement:v1/Rule/in": in +"/servicemanagement:v1/Rule/in/in": in +"/servicemanagement:v1/Rule/logConfig": log_config +"/servicemanagement:v1/Rule/logConfig/log_config": log_config +"/servicemanagement:v1/Rule/notIn": not_in +"/servicemanagement:v1/Rule/notIn/not_in": not_in +"/servicemanagement:v1/Rule/permissions": permissions +"/servicemanagement:v1/Rule/permissions/permission": permission +"/servicemanagement:v1/Service": service +"/servicemanagement:v1/Service/apis": apis +"/servicemanagement:v1/Service/apis/api": api +"/servicemanagement:v1/Service/authentication": authentication +"/servicemanagement:v1/Service/backend": backend +"/servicemanagement:v1/Service/configVersion": config_version +"/servicemanagement:v1/Service/context": context +"/servicemanagement:v1/Service/control": control +"/servicemanagement:v1/Service/customError": custom_error +"/servicemanagement:v1/Service/documentation": documentation +"/servicemanagement:v1/Service/endpoints": endpoints +"/servicemanagement:v1/Service/endpoints/endpoint": endpoint +"/servicemanagement:v1/Service/enums": enums +"/servicemanagement:v1/Service/enums/enum": enum +"/servicemanagement:v1/Service/experimental": experimental +"/servicemanagement:v1/Service/http": http +"/servicemanagement:v1/Service/id": id +"/servicemanagement:v1/Service/logging": logging +"/servicemanagement:v1/Service/logs": logs +"/servicemanagement:v1/Service/logs/log": log +"/servicemanagement:v1/Service/metrics": metrics +"/servicemanagement:v1/Service/metrics/metric": metric +"/servicemanagement:v1/Service/monitoredResources": monitored_resources +"/servicemanagement:v1/Service/monitoredResources/monitored_resource": monitored_resource +"/servicemanagement:v1/Service/monitoring": monitoring +"/servicemanagement:v1/Service/name": name +"/servicemanagement:v1/Service/producerProjectId": producer_project_id +"/servicemanagement:v1/Service/quota": quota +"/servicemanagement:v1/Service/sourceInfo": source_info +"/servicemanagement:v1/Service/systemParameters": system_parameters +"/servicemanagement:v1/Service/systemTypes": system_types +"/servicemanagement:v1/Service/systemTypes/system_type": system_type +"/servicemanagement:v1/Service/title": title +"/servicemanagement:v1/Service/types": types +"/servicemanagement:v1/Service/types/type": type +"/servicemanagement:v1/Service/usage": usage +"/servicemanagement:v1/Service/visibility": visibility +"/servicemanagement:v1/SetIamPolicyRequest": set_iam_policy_request +"/servicemanagement:v1/SetIamPolicyRequest/policy": policy +"/servicemanagement:v1/SetIamPolicyRequest/updateMask": update_mask +"/servicemanagement:v1/SourceContext": source_context +"/servicemanagement:v1/SourceContext/fileName": file_name +"/servicemanagement:v1/SourceInfo": source_info +"/servicemanagement:v1/SourceInfo/sourceFiles": source_files +"/servicemanagement:v1/SourceInfo/sourceFiles/source_file": source_file +"/servicemanagement:v1/SourceInfo/sourceFiles/source_file/source_file": source_file +"/servicemanagement:v1/Status": status +"/servicemanagement:v1/Status/code": code +"/servicemanagement:v1/Status/details": details +"/servicemanagement:v1/Status/details/detail": detail +"/servicemanagement:v1/Status/details/detail/detail": detail +"/servicemanagement:v1/Status/message": message +"/servicemanagement:v1/Step": step +"/servicemanagement:v1/Step/description": description +"/servicemanagement:v1/Step/status": status +"/servicemanagement:v1/SubmitConfigSourceRequest": submit_config_source_request +"/servicemanagement:v1/SubmitConfigSourceRequest/configSource": config_source +"/servicemanagement:v1/SubmitConfigSourceRequest/validateOnly": validate_only +"/servicemanagement:v1/SubmitConfigSourceResponse": submit_config_source_response +"/servicemanagement:v1/SubmitConfigSourceResponse/serviceConfig": service_config +"/servicemanagement:v1/SystemParameter": system_parameter +"/servicemanagement:v1/SystemParameter/httpHeader": http_header +"/servicemanagement:v1/SystemParameter/name": name +"/servicemanagement:v1/SystemParameter/urlQueryParameter": url_query_parameter +"/servicemanagement:v1/SystemParameterRule": system_parameter_rule +"/servicemanagement:v1/SystemParameterRule/parameters": parameters +"/servicemanagement:v1/SystemParameterRule/parameters/parameter": parameter +"/servicemanagement:v1/SystemParameterRule/selector": selector +"/servicemanagement:v1/SystemParameters": system_parameters +"/servicemanagement:v1/SystemParameters/rules": rules +"/servicemanagement:v1/SystemParameters/rules/rule": rule "/servicemanagement:v1/TestIamPermissionsRequest": test_iam_permissions_request "/servicemanagement:v1/TestIamPermissionsRequest/permissions": permissions "/servicemanagement:v1/TestIamPermissionsRequest/permissions/permission": permission -"/servicemanagement:v1/Enum": enum -"/servicemanagement:v1/Enum/options": options -"/servicemanagement:v1/Enum/options/option": option -"/servicemanagement:v1/Enum/syntax": syntax -"/servicemanagement:v1/Enum/sourceContext": source_context -"/servicemanagement:v1/Enum/enumvalue": enumvalue -"/servicemanagement:v1/Enum/enumvalue/enumvalue": enumvalue -"/servicemanagement:v1/Enum/name": name -"/servicemanagement:v1/LabelDescriptor": label_descriptor -"/servicemanagement:v1/LabelDescriptor/valueType": value_type -"/servicemanagement:v1/LabelDescriptor/key": key -"/servicemanagement:v1/LabelDescriptor/description": description -"/servicemanagement:v1/Diagnostic": diagnostic -"/servicemanagement:v1/Diagnostic/kind": kind -"/servicemanagement:v1/Diagnostic/message": message -"/servicemanagement:v1/Diagnostic/location": location -"/servicemanagement:v1/EnableServiceRequest": enable_service_request -"/servicemanagement:v1/EnableServiceRequest/consumerId": consumer_id +"/servicemanagement:v1/TestIamPermissionsResponse": test_iam_permissions_response +"/servicemanagement:v1/TestIamPermissionsResponse/permissions": permissions +"/servicemanagement:v1/TestIamPermissionsResponse/permissions/permission": permission +"/servicemanagement:v1/TrafficPercentStrategy": traffic_percent_strategy +"/servicemanagement:v1/TrafficPercentStrategy/percentages": percentages +"/servicemanagement:v1/TrafficPercentStrategy/percentages/percentage": percentage "/servicemanagement:v1/Type": type "/servicemanagement:v1/Type/fields": fields "/servicemanagement:v1/Type/fields/field": field "/servicemanagement:v1/Type/name": name "/servicemanagement:v1/Type/oneofs": oneofs "/servicemanagement:v1/Type/oneofs/oneof": oneof -"/servicemanagement:v1/Type/syntax": syntax -"/servicemanagement:v1/Type/sourceContext": source_context "/servicemanagement:v1/Type/options": options "/servicemanagement:v1/Type/options/option": option -"/servicemanagement:v1/GenerateConfigReportResponse": generate_config_report_response -"/servicemanagement:v1/GenerateConfigReportResponse/diagnostics": diagnostics -"/servicemanagement:v1/GenerateConfigReportResponse/diagnostics/diagnostic": diagnostic -"/servicemanagement:v1/GenerateConfigReportResponse/serviceName": service_name -"/servicemanagement:v1/GenerateConfigReportResponse/changeReports": change_reports -"/servicemanagement:v1/GenerateConfigReportResponse/changeReports/change_report": change_report -"/servicemanagement:v1/GenerateConfigReportResponse/id": id -"/servicemanagement:v1/ListServiceConfigsResponse": list_service_configs_response -"/servicemanagement:v1/ListServiceConfigsResponse/serviceConfigs": service_configs -"/servicemanagement:v1/ListServiceConfigsResponse/serviceConfigs/service_config": service_config -"/servicemanagement:v1/ListServiceConfigsResponse/nextPageToken": next_page_token -"/servicemanagement:v1/Experimental": experimental -"/servicemanagement:v1/Experimental/authorization": authorization -"/servicemanagement:v1/Backend": backend -"/servicemanagement:v1/Backend/rules": rules -"/servicemanagement:v1/Backend/rules/rule": rule -"/servicemanagement:v1/AuditConfig": audit_config -"/servicemanagement:v1/AuditConfig/exemptedMembers": exempted_members -"/servicemanagement:v1/AuditConfig/exemptedMembers/exempted_member": exempted_member -"/servicemanagement:v1/AuditConfig/service": service -"/servicemanagement:v1/AuditConfig/auditLogConfigs": audit_log_configs -"/servicemanagement:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config -"/servicemanagement:v1/SubmitConfigSourceRequest": submit_config_source_request -"/servicemanagement:v1/SubmitConfigSourceRequest/configSource": config_source -"/servicemanagement:v1/SubmitConfigSourceRequest/validateOnly": validate_only -"/servicemanagement:v1/DocumentationRule": documentation_rule -"/servicemanagement:v1/DocumentationRule/deprecationDescription": deprecation_description -"/servicemanagement:v1/DocumentationRule/selector": selector -"/servicemanagement:v1/DocumentationRule/description": description -"/servicemanagement:v1/AuthorizationConfig": authorization_config -"/servicemanagement:v1/AuthorizationConfig/provider": provider -"/servicemanagement:v1/CloudAuditOptions": cloud_audit_options -"/servicemanagement:v1/CloudAuditOptions/logName": log_name -"/servicemanagement:v1/CloudAuditOptions/isReadPermissionType": is_read_permission_type -"/servicemanagement:v1/ContextRule": context_rule -"/servicemanagement:v1/ContextRule/selector": selector -"/servicemanagement:v1/ContextRule/provided": provided -"/servicemanagement:v1/ContextRule/provided/provided": provided -"/servicemanagement:v1/ContextRule/requested": requested -"/servicemanagement:v1/ContextRule/requested/requested": requested -"/servicemanagement:v1/MetricDescriptor": metric_descriptor -"/servicemanagement:v1/MetricDescriptor/unit": unit -"/servicemanagement:v1/MetricDescriptor/labels": labels -"/servicemanagement:v1/MetricDescriptor/labels/label": label -"/servicemanagement:v1/MetricDescriptor/name": name -"/servicemanagement:v1/MetricDescriptor/type": type -"/servicemanagement:v1/MetricDescriptor/valueType": value_type -"/servicemanagement:v1/MetricDescriptor/metricKind": metric_kind -"/servicemanagement:v1/MetricDescriptor/description": description -"/servicemanagement:v1/MetricDescriptor/displayName": display_name -"/servicemanagement:v1/SourceContext": source_context -"/servicemanagement:v1/SourceContext/fileName": file_name -"/servicemanagement:v1/Expr": expr -"/servicemanagement:v1/Expr/description": description -"/servicemanagement:v1/Expr/expression": expression -"/servicemanagement:v1/Expr/location": location -"/servicemanagement:v1/Expr/title": title -"/servicemanagement:v1/ListServicesResponse": list_services_response -"/servicemanagement:v1/ListServicesResponse/nextPageToken": next_page_token -"/servicemanagement:v1/ListServicesResponse/services": services -"/servicemanagement:v1/ListServicesResponse/services/service": service -"/servicemanagement:v1/Endpoint": endpoint -"/servicemanagement:v1/Endpoint/features": features -"/servicemanagement:v1/Endpoint/features/feature": feature -"/servicemanagement:v1/Endpoint/apis": apis -"/servicemanagement:v1/Endpoint/apis/api": api -"/servicemanagement:v1/Endpoint/aliases": aliases -"/servicemanagement:v1/Endpoint/aliases/alias": alias -"/servicemanagement:v1/Endpoint/allowCors": allow_cors -"/servicemanagement:v1/Endpoint/name": name -"/servicemanagement:v1/Endpoint/target": target -"/servicemanagement:v1/OAuthRequirements": o_auth_requirements -"/servicemanagement:v1/OAuthRequirements/canonicalScopes": canonical_scopes +"/servicemanagement:v1/Type/sourceContext": source_context +"/servicemanagement:v1/Type/syntax": syntax +"/servicemanagement:v1/UndeleteServiceResponse": undelete_service_response +"/servicemanagement:v1/UndeleteServiceResponse/service": service "/servicemanagement:v1/Usage": usage +"/servicemanagement:v1/Usage/producerNotificationChannel": producer_notification_channel "/servicemanagement:v1/Usage/requirements": requirements "/servicemanagement:v1/Usage/requirements/requirement": requirement -"/servicemanagement:v1/Usage/producerNotificationChannel": producer_notification_channel "/servicemanagement:v1/Usage/rules": rules "/servicemanagement:v1/Usage/rules/rule": rule -"/servicemanagement:v1/GetIamPolicyRequest": get_iam_policy_request -"/servicemanagement:v1/TestIamPermissionsResponse": test_iam_permissions_response -"/servicemanagement:v1/TestIamPermissionsResponse/permissions": permissions -"/servicemanagement:v1/TestIamPermissionsResponse/permissions/permission": permission -"/servicemanagement:v1/Context": context -"/servicemanagement:v1/Context/rules": rules -"/servicemanagement:v1/Context/rules/rule": rule -"/servicemanagement:v1/Rule": rule -"/servicemanagement:v1/Rule/notIn": not_in -"/servicemanagement:v1/Rule/notIn/not_in": not_in -"/servicemanagement:v1/Rule/description": description -"/servicemanagement:v1/Rule/conditions": conditions -"/servicemanagement:v1/Rule/conditions/condition": condition -"/servicemanagement:v1/Rule/logConfig": log_config -"/servicemanagement:v1/Rule/logConfig/log_config": log_config -"/servicemanagement:v1/Rule/in": in -"/servicemanagement:v1/Rule/in/in": in -"/servicemanagement:v1/Rule/permissions": permissions -"/servicemanagement:v1/Rule/permissions/permission": permission -"/servicemanagement:v1/Rule/action": action -"/servicemanagement:v1/LogConfig": log_config -"/servicemanagement:v1/LogConfig/counter": counter -"/servicemanagement:v1/LogConfig/dataAccess": data_access -"/servicemanagement:v1/LogConfig/cloudAudit": cloud_audit -"/servicemanagement:v1/LogDescriptor": log_descriptor -"/servicemanagement:v1/LogDescriptor/labels": labels -"/servicemanagement:v1/LogDescriptor/labels/label": label -"/servicemanagement:v1/LogDescriptor/name": name -"/servicemanagement:v1/LogDescriptor/displayName": display_name -"/servicemanagement:v1/LogDescriptor/description": description -"/servicemanagement:v1/ConfigFile": config_file -"/servicemanagement:v1/ConfigFile/fileType": file_type -"/servicemanagement:v1/ConfigFile/fileContents": file_contents -"/servicemanagement:v1/ConfigFile/filePath": file_path -"/servicemanagement:v1/CustomErrorRule": custom_error_rule -"/servicemanagement:v1/CustomErrorRule/isErrorType": is_error_type -"/servicemanagement:v1/CustomErrorRule/selector": selector -"/servicemanagement:v1/MonitoredResourceDescriptor": monitored_resource_descriptor -"/servicemanagement:v1/MonitoredResourceDescriptor/labels": labels -"/servicemanagement:v1/MonitoredResourceDescriptor/labels/label": label -"/servicemanagement:v1/MonitoredResourceDescriptor/name": name -"/servicemanagement:v1/MonitoredResourceDescriptor/description": description -"/servicemanagement:v1/MonitoredResourceDescriptor/displayName": display_name -"/servicemanagement:v1/MonitoredResourceDescriptor/type": type -"/servicemanagement:v1/CustomAuthRequirements": custom_auth_requirements -"/servicemanagement:v1/CustomAuthRequirements/provider": provider -"/servicemanagement:v1/MediaDownload": media_download -"/servicemanagement:v1/MediaDownload/enabled": enabled -"/servicemanagement:v1/MediaDownload/downloadService": download_service -"/servicemanagement:v1/MediaDownload/completeNotification": complete_notification -"/servicemanagement:v1/MediaDownload/dropzone": dropzone -"/servicemanagement:v1/MediaDownload/maxDirectDownloadSize": max_direct_download_size -"/servicemanagement:v1/MediaDownload/useDirectDownload": use_direct_download -"/servicemanagement:v1/ChangeReport": change_report -"/servicemanagement:v1/ChangeReport/configChanges": config_changes -"/servicemanagement:v1/ChangeReport/configChanges/config_change": config_change -"/servicemanagement:v1/DisableServiceRequest": disable_service_request -"/servicemanagement:v1/DisableServiceRequest/consumerId": consumer_id -"/servicemanagement:v1/SubmitConfigSourceResponse": submit_config_source_response -"/servicemanagement:v1/SubmitConfigSourceResponse/serviceConfig": service_config -"/servicemanagement:v1/MediaUpload": media_upload -"/servicemanagement:v1/MediaUpload/startNotification": start_notification -"/servicemanagement:v1/MediaUpload/uploadService": upload_service -"/servicemanagement:v1/MediaUpload/mimeTypes": mime_types -"/servicemanagement:v1/MediaUpload/mimeTypes/mime_type": mime_type -"/servicemanagement:v1/MediaUpload/maxSize": max_size -"/servicemanagement:v1/MediaUpload/completeNotification": complete_notification -"/servicemanagement:v1/MediaUpload/progressNotification": progress_notification -"/servicemanagement:v1/MediaUpload/enabled": enabled -"/servicemanagement:v1/MediaUpload/dropzone": dropzone -"/servicemanagement:v1/Advice": advice -"/servicemanagement:v1/Advice/description": description -"/servicemanagement:v1/ManagedService": managed_service -"/servicemanagement:v1/ManagedService/serviceName": service_name -"/servicemanagement:v1/ManagedService/producerProjectId": producer_project_id "/servicemanagement:v1/UsageRule": usage_rule "/servicemanagement:v1/UsageRule/allowUnregisteredCalls": allow_unregistered_calls "/servicemanagement:v1/UsageRule/selector": selector "/servicemanagement:v1/UsageRule/skipServiceControl": skip_service_control -"/servicemanagement:v1/TrafficPercentStrategy": traffic_percent_strategy -"/servicemanagement:v1/TrafficPercentStrategy/percentages": percentages -"/servicemanagement:v1/TrafficPercentStrategy/percentages/percentage": percentage -"/servicemanagement:v1/AuthRequirement": auth_requirement -"/servicemanagement:v1/AuthRequirement/audiences": audiences -"/servicemanagement:v1/AuthRequirement/providerId": provider_id -"/servicemanagement:v1/Condition": condition -"/servicemanagement:v1/Condition/value": value -"/servicemanagement:v1/Condition/sys": sys -"/servicemanagement:v1/Condition/iam": iam -"/servicemanagement:v1/Condition/values": values -"/servicemanagement:v1/Condition/values/value": value -"/servicemanagement:v1/Condition/op": op -"/servicemanagement:v1/Condition/svc": svc -"/servicemanagement:v1/Documentation": documentation -"/servicemanagement:v1/Documentation/summary": summary -"/servicemanagement:v1/Documentation/documentationRootUrl": documentation_root_url -"/servicemanagement:v1/Documentation/overview": overview -"/servicemanagement:v1/Documentation/rules": rules -"/servicemanagement:v1/Documentation/rules/rule": rule -"/servicemanagement:v1/Documentation/pages": pages -"/servicemanagement:v1/Documentation/pages/page": page -"/servicemanagement:v1/AuditLogConfig": audit_log_config -"/servicemanagement:v1/AuditLogConfig/logType": log_type -"/servicemanagement:v1/AuditLogConfig/exemptedMembers": exempted_members -"/servicemanagement:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member -"/servicemanagement:v1/ConfigSource": config_source -"/servicemanagement:v1/ConfigSource/id": id -"/servicemanagement:v1/ConfigSource/files": files -"/servicemanagement:v1/ConfigSource/files/file": file -"/servicemanagement:v1/BackendRule": backend_rule -"/servicemanagement:v1/BackendRule/minDeadline": min_deadline -"/servicemanagement:v1/BackendRule/address": address -"/servicemanagement:v1/BackendRule/selector": selector -"/servicemanagement:v1/BackendRule/deadline": deadline -"/servicemanagement:v1/AuthenticationRule": authentication_rule -"/servicemanagement:v1/AuthenticationRule/requirements": requirements -"/servicemanagement:v1/AuthenticationRule/requirements/requirement": requirement -"/servicemanagement:v1/AuthenticationRule/allowWithoutCredential": allow_without_credential -"/servicemanagement:v1/AuthenticationRule/selector": selector -"/servicemanagement:v1/AuthenticationRule/customAuth": custom_auth -"/servicemanagement:v1/AuthenticationRule/oauth": oauth -"/servicemanagement:v1/UndeleteServiceResponse": undelete_service_response -"/servicemanagement:v1/UndeleteServiceResponse/service": service -"/servicemanagement:v1/Policy": policy -"/servicemanagement:v1/Policy/iamOwned": iam_owned -"/servicemanagement:v1/Policy/rules": rules -"/servicemanagement:v1/Policy/rules/rule": rule -"/servicemanagement:v1/Policy/version": version -"/servicemanagement:v1/Policy/auditConfigs": audit_configs -"/servicemanagement:v1/Policy/auditConfigs/audit_config": audit_config -"/servicemanagement:v1/Policy/bindings": bindings -"/servicemanagement:v1/Policy/bindings/binding": binding -"/servicemanagement:v1/Policy/etag": etag -"/servicemanagement:v1/Api": api -"/servicemanagement:v1/Api/syntax": syntax -"/servicemanagement:v1/Api/sourceContext": source_context -"/servicemanagement:v1/Api/version": version -"/servicemanagement:v1/Api/mixins": mixins -"/servicemanagement:v1/Api/mixins/mixin": mixin -"/servicemanagement:v1/Api/options": options -"/servicemanagement:v1/Api/options/option": option -"/servicemanagement:v1/Api/methods": methods_prop -"/servicemanagement:v1/Api/methods/methods_prop": methods_prop -"/servicemanagement:v1/Api/name": name -"/servicemanagement:v1/DataAccessOptions": data_access_options -"/servicemanagement:v1/MetricRule": metric_rule -"/servicemanagement:v1/MetricRule/metricCosts": metric_costs -"/servicemanagement:v1/MetricRule/metricCosts/metric_cost": metric_cost -"/servicemanagement:v1/MetricRule/selector": selector -"/servicemanagement:v1/Authentication": authentication -"/servicemanagement:v1/Authentication/rules": rules -"/servicemanagement:v1/Authentication/rules/rule": rule -"/servicemanagement:v1/Authentication/providers": providers -"/servicemanagement:v1/Authentication/providers/provider": provider -"/servicemanagement:v1/Operation": operation -"/servicemanagement:v1/Operation/name": name -"/servicemanagement:v1/Operation/error": error -"/servicemanagement:v1/Operation/metadata": metadata -"/servicemanagement:v1/Operation/metadata/metadatum": metadatum -"/servicemanagement:v1/Operation/done": done -"/servicemanagement:v1/Operation/response": response -"/servicemanagement:v1/Operation/response/response": response -"/servicemanagement:v1/Page": page -"/servicemanagement:v1/Page/name": name -"/servicemanagement:v1/Page/content": content -"/servicemanagement:v1/Page/subpages": subpages -"/servicemanagement:v1/Page/subpages/subpage": subpage -"/servicemanagement:v1/Status": status -"/servicemanagement:v1/Status/details": details -"/servicemanagement:v1/Status/details/detail": detail -"/servicemanagement:v1/Status/details/detail/detail": detail -"/servicemanagement:v1/Status/code": code -"/servicemanagement:v1/Status/message": message -"/servicemanagement:v1/Binding": binding -"/servicemanagement:v1/Binding/condition": condition -"/servicemanagement:v1/Binding/members": members -"/servicemanagement:v1/Binding/members/member": member -"/servicemanagement:v1/Binding/role": role -"/servicemanagement:v1/AuthProvider": auth_provider -"/servicemanagement:v1/AuthProvider/audiences": audiences -"/servicemanagement:v1/AuthProvider/issuer": issuer -"/servicemanagement:v1/AuthProvider/id": id -"/servicemanagement:v1/AuthProvider/jwksUri": jwks_uri -"/servicemanagement:v1/EnumValue": enum_value -"/servicemanagement:v1/EnumValue/name": name -"/servicemanagement:v1/EnumValue/options": options -"/servicemanagement:v1/EnumValue/options/option": option -"/servicemanagement:v1/EnumValue/number": number -"/servicemanagement:v1/Service": service -"/servicemanagement:v1/Service/types": types -"/servicemanagement:v1/Service/types/type": type -"/servicemanagement:v1/Service/sourceInfo": source_info -"/servicemanagement:v1/Service/http": http -"/servicemanagement:v1/Service/backend": backend -"/servicemanagement:v1/Service/systemParameters": system_parameters -"/servicemanagement:v1/Service/documentation": documentation -"/servicemanagement:v1/Service/logging": logging -"/servicemanagement:v1/Service/monitoredResources": monitored_resources -"/servicemanagement:v1/Service/monitoredResources/monitored_resource": monitored_resource -"/servicemanagement:v1/Service/context": context -"/servicemanagement:v1/Service/enums": enums -"/servicemanagement:v1/Service/enums/enum": enum -"/servicemanagement:v1/Service/id": id -"/servicemanagement:v1/Service/usage": usage -"/servicemanagement:v1/Service/metrics": metrics -"/servicemanagement:v1/Service/metrics/metric": metric -"/servicemanagement:v1/Service/authentication": authentication -"/servicemanagement:v1/Service/experimental": experimental -"/servicemanagement:v1/Service/control": control -"/servicemanagement:v1/Service/configVersion": config_version -"/servicemanagement:v1/Service/monitoring": monitoring -"/servicemanagement:v1/Service/systemTypes": system_types -"/servicemanagement:v1/Service/systemTypes/system_type": system_type -"/servicemanagement:v1/Service/producerProjectId": producer_project_id -"/servicemanagement:v1/Service/visibility": visibility -"/servicemanagement:v1/Service/quota": quota -"/servicemanagement:v1/Service/name": name -"/servicemanagement:v1/Service/customError": custom_error -"/servicemanagement:v1/Service/title": title -"/servicemanagement:v1/Service/endpoints": endpoints -"/servicemanagement:v1/Service/endpoints/endpoint": endpoint -"/servicemanagement:v1/Service/logs": logs -"/servicemanagement:v1/Service/logs/log": log -"/servicemanagement:v1/Service/apis": apis -"/servicemanagement:v1/Service/apis/api": api -"/servicemanagement:v1/ListOperationsResponse": list_operations_response -"/servicemanagement:v1/ListOperationsResponse/operations": operations -"/servicemanagement:v1/ListOperationsResponse/operations/operation": operation -"/servicemanagement:v1/ListOperationsResponse/nextPageToken": next_page_token -"/servicemanagement:v1/OperationMetadata": operation_metadata -"/servicemanagement:v1/OperationMetadata/progressPercentage": progress_percentage -"/servicemanagement:v1/OperationMetadata/startTime": start_time -"/servicemanagement:v1/OperationMetadata/steps": steps -"/servicemanagement:v1/OperationMetadata/steps/step": step -"/servicemanagement:v1/OperationMetadata/resourceNames": resource_names -"/servicemanagement:v1/OperationMetadata/resourceNames/resource_name": resource_name -"/servicemanagement:v1/CustomHttpPattern": custom_http_pattern -"/servicemanagement:v1/CustomHttpPattern/kind": kind -"/servicemanagement:v1/CustomHttpPattern/path": path -"/servicemanagement:v1/SystemParameterRule": system_parameter_rule -"/servicemanagement:v1/SystemParameterRule/selector": selector -"/servicemanagement:v1/SystemParameterRule/parameters": parameters -"/servicemanagement:v1/SystemParameterRule/parameters/parameter": parameter -"/servicemanagement:v1/VisibilityRule": visibility_rule -"/servicemanagement:v1/VisibilityRule/restriction": restriction -"/servicemanagement:v1/VisibilityRule/selector": selector -"/servicemanagement:v1/HttpRule": http_rule -"/servicemanagement:v1/HttpRule/mediaUpload": media_upload -"/servicemanagement:v1/HttpRule/selector": selector -"/servicemanagement:v1/HttpRule/custom": custom -"/servicemanagement:v1/HttpRule/get": get -"/servicemanagement:v1/HttpRule/patch": patch -"/servicemanagement:v1/HttpRule/put": put -"/servicemanagement:v1/HttpRule/delete": delete -"/servicemanagement:v1/HttpRule/body": body -"/servicemanagement:v1/HttpRule/mediaDownload": media_download -"/servicemanagement:v1/HttpRule/post": post -"/servicemanagement:v1/HttpRule/restMethodName": rest_method_name -"/servicemanagement:v1/HttpRule/additionalBindings": additional_bindings -"/servicemanagement:v1/HttpRule/additionalBindings/additional_binding": additional_binding -"/servicemanagement:v1/HttpRule/responseBody": response_body -"/servicemanagement:v1/HttpRule/restCollection": rest_collection -"/servicemanagement:v1/MonitoringDestination": monitoring_destination -"/servicemanagement:v1/MonitoringDestination/metrics": metrics -"/servicemanagement:v1/MonitoringDestination/metrics/metric": metric -"/servicemanagement:v1/MonitoringDestination/monitoredResource": monitored_resource "/servicemanagement:v1/Visibility": visibility "/servicemanagement:v1/Visibility/rules": rules "/servicemanagement:v1/Visibility/rules/rule": rule -"/serviceuser:v1/fields": fields -"/serviceuser:v1/key": key -"/serviceuser:v1/quotaUser": quota_user -"/serviceuser:v1/serviceuser.projects.services.list": list_project_services -"/serviceuser:v1/serviceuser.projects.services.list/pageToken": page_token -"/serviceuser:v1/serviceuser.projects.services.list/pageSize": page_size -"/serviceuser:v1/serviceuser.projects.services.list/parent": parent -"/serviceuser:v1/serviceuser.projects.services.disable": disable_service -"/serviceuser:v1/serviceuser.projects.services.disable/name": name -"/serviceuser:v1/serviceuser.projects.services.enable": enable_service -"/serviceuser:v1/serviceuser.projects.services.enable/name": name -"/serviceuser:v1/serviceuser.services.search": search_services -"/serviceuser:v1/serviceuser.services.search/pageToken": page_token -"/serviceuser:v1/serviceuser.services.search/pageSize": page_size -"/serviceuser:v1/ListEnabledServicesResponse": list_enabled_services_response -"/serviceuser:v1/ListEnabledServicesResponse/nextPageToken": next_page_token -"/serviceuser:v1/ListEnabledServicesResponse/services": services -"/serviceuser:v1/ListEnabledServicesResponse/services/service": service -"/serviceuser:v1/Endpoint": endpoint -"/serviceuser:v1/Endpoint/features": features -"/serviceuser:v1/Endpoint/features/feature": feature -"/serviceuser:v1/Endpoint/apis": apis -"/serviceuser:v1/Endpoint/apis/api": api -"/serviceuser:v1/Endpoint/allowCors": allow_cors -"/serviceuser:v1/Endpoint/aliases": aliases -"/serviceuser:v1/Endpoint/aliases/alias": alias -"/serviceuser:v1/Endpoint/name": name -"/serviceuser:v1/Endpoint/target": target -"/serviceuser:v1/OAuthRequirements": o_auth_requirements -"/serviceuser:v1/OAuthRequirements/canonicalScopes": canonical_scopes -"/serviceuser:v1/Usage": usage -"/serviceuser:v1/Usage/requirements": requirements -"/serviceuser:v1/Usage/requirements/requirement": requirement -"/serviceuser:v1/Usage/producerNotificationChannel": producer_notification_channel -"/serviceuser:v1/Usage/rules": rules -"/serviceuser:v1/Usage/rules/rule": rule -"/serviceuser:v1/Context": context -"/serviceuser:v1/Context/rules": rules -"/serviceuser:v1/Context/rules/rule": rule -"/serviceuser:v1/LogDescriptor": log_descriptor -"/serviceuser:v1/LogDescriptor/labels": labels -"/serviceuser:v1/LogDescriptor/labels/label": label -"/serviceuser:v1/LogDescriptor/name": name -"/serviceuser:v1/LogDescriptor/displayName": display_name -"/serviceuser:v1/LogDescriptor/description": description -"/serviceuser:v1/MonitoredResourceDescriptor": monitored_resource_descriptor -"/serviceuser:v1/MonitoredResourceDescriptor/name": name -"/serviceuser:v1/MonitoredResourceDescriptor/description": description -"/serviceuser:v1/MonitoredResourceDescriptor/displayName": display_name -"/serviceuser:v1/MonitoredResourceDescriptor/type": type -"/serviceuser:v1/MonitoredResourceDescriptor/labels": labels -"/serviceuser:v1/MonitoredResourceDescriptor/labels/label": label -"/serviceuser:v1/CustomErrorRule": custom_error_rule -"/serviceuser:v1/CustomErrorRule/isErrorType": is_error_type -"/serviceuser:v1/CustomErrorRule/selector": selector -"/serviceuser:v1/CustomAuthRequirements": custom_auth_requirements -"/serviceuser:v1/CustomAuthRequirements/provider": provider -"/serviceuser:v1/MediaDownload": media_download -"/serviceuser:v1/MediaDownload/completeNotification": complete_notification -"/serviceuser:v1/MediaDownload/enabled": enabled -"/serviceuser:v1/MediaDownload/downloadService": download_service -"/serviceuser:v1/MediaDownload/maxDirectDownloadSize": max_direct_download_size -"/serviceuser:v1/MediaDownload/dropzone": dropzone -"/serviceuser:v1/MediaDownload/useDirectDownload": use_direct_download -"/serviceuser:v1/DisableServiceRequest": disable_service_request -"/serviceuser:v1/SearchServicesResponse": search_services_response -"/serviceuser:v1/SearchServicesResponse/nextPageToken": next_page_token -"/serviceuser:v1/SearchServicesResponse/services": services -"/serviceuser:v1/SearchServicesResponse/services/service": service -"/serviceuser:v1/MediaUpload": media_upload -"/serviceuser:v1/MediaUpload/uploadService": upload_service -"/serviceuser:v1/MediaUpload/maxSize": max_size -"/serviceuser:v1/MediaUpload/mimeTypes": mime_types -"/serviceuser:v1/MediaUpload/mimeTypes/mime_type": mime_type -"/serviceuser:v1/MediaUpload/enabled": enabled -"/serviceuser:v1/MediaUpload/progressNotification": progress_notification -"/serviceuser:v1/MediaUpload/completeNotification": complete_notification -"/serviceuser:v1/MediaUpload/dropzone": dropzone -"/serviceuser:v1/MediaUpload/startNotification": start_notification -"/serviceuser:v1/UsageRule": usage_rule -"/serviceuser:v1/UsageRule/allowUnregisteredCalls": allow_unregistered_calls -"/serviceuser:v1/UsageRule/selector": selector -"/serviceuser:v1/UsageRule/skipServiceControl": skip_service_control +"/servicemanagement:v1/VisibilityRule": visibility_rule +"/servicemanagement:v1/VisibilityRule/restriction": restriction +"/servicemanagement:v1/VisibilityRule/selector": selector +"/servicemanagement:v1/fields": fields +"/servicemanagement:v1/key": key +"/servicemanagement:v1/quotaUser": quota_user +"/servicemanagement:v1/servicemanagement.operations.get": get_operation +"/servicemanagement:v1/servicemanagement.operations.get/name": name +"/servicemanagement:v1/servicemanagement.operations.list": list_operations +"/servicemanagement:v1/servicemanagement.operations.list/filter": filter +"/servicemanagement:v1/servicemanagement.operations.list/name": name +"/servicemanagement:v1/servicemanagement.operations.list/pageSize": page_size +"/servicemanagement:v1/servicemanagement.operations.list/pageToken": page_token +"/servicemanagement:v1/servicemanagement.services.configs.create": create_service_config +"/servicemanagement:v1/servicemanagement.services.configs.create/serviceName": service_name +"/servicemanagement:v1/servicemanagement.services.configs.get": get_service_config +"/servicemanagement:v1/servicemanagement.services.configs.get/configId": config_id +"/servicemanagement:v1/servicemanagement.services.configs.get/serviceName": service_name +"/servicemanagement:v1/servicemanagement.services.configs.get/view": view +"/servicemanagement:v1/servicemanagement.services.configs.list": list_service_configs +"/servicemanagement:v1/servicemanagement.services.configs.list/pageSize": page_size +"/servicemanagement:v1/servicemanagement.services.configs.list/pageToken": page_token +"/servicemanagement:v1/servicemanagement.services.configs.list/serviceName": service_name +"/servicemanagement:v1/servicemanagement.services.configs.submit": submit_config_source +"/servicemanagement:v1/servicemanagement.services.configs.submit/serviceName": service_name +"/servicemanagement:v1/servicemanagement.services.consumers.getIamPolicy": get_consumer_iam_policy +"/servicemanagement:v1/servicemanagement.services.consumers.getIamPolicy/resource": resource +"/servicemanagement:v1/servicemanagement.services.consumers.setIamPolicy": set_consumer_iam_policy +"/servicemanagement:v1/servicemanagement.services.consumers.setIamPolicy/resource": resource +"/servicemanagement:v1/servicemanagement.services.consumers.testIamPermissions": test_consumer_iam_permissions +"/servicemanagement:v1/servicemanagement.services.consumers.testIamPermissions/resource": resource +"/servicemanagement:v1/servicemanagement.services.create": create_service +"/servicemanagement:v1/servicemanagement.services.delete": delete_service +"/servicemanagement:v1/servicemanagement.services.delete/serviceName": service_name +"/servicemanagement:v1/servicemanagement.services.disable": disable_service +"/servicemanagement:v1/servicemanagement.services.disable/serviceName": service_name +"/servicemanagement:v1/servicemanagement.services.enable": enable_service +"/servicemanagement:v1/servicemanagement.services.enable/serviceName": service_name +"/servicemanagement:v1/servicemanagement.services.generateConfigReport": generate_service_config_report +"/servicemanagement:v1/servicemanagement.services.get": get_service +"/servicemanagement:v1/servicemanagement.services.get/serviceName": service_name +"/servicemanagement:v1/servicemanagement.services.getConfig": get_service_configuration +"/servicemanagement:v1/servicemanagement.services.getConfig/configId": config_id +"/servicemanagement:v1/servicemanagement.services.getConfig/serviceName": service_name +"/servicemanagement:v1/servicemanagement.services.getConfig/view": view +"/servicemanagement:v1/servicemanagement.services.getIamPolicy": get_service_iam_policy +"/servicemanagement:v1/servicemanagement.services.getIamPolicy/resource": resource +"/servicemanagement:v1/servicemanagement.services.list": list_services +"/servicemanagement:v1/servicemanagement.services.list/consumerId": consumer_id +"/servicemanagement:v1/servicemanagement.services.list/pageSize": page_size +"/servicemanagement:v1/servicemanagement.services.list/pageToken": page_token +"/servicemanagement:v1/servicemanagement.services.list/producerProjectId": producer_project_id +"/servicemanagement:v1/servicemanagement.services.rollouts.create": create_service_rollout +"/servicemanagement:v1/servicemanagement.services.rollouts.create/serviceName": service_name +"/servicemanagement:v1/servicemanagement.services.rollouts.get": get_service_rollout +"/servicemanagement:v1/servicemanagement.services.rollouts.get/rolloutId": rollout_id +"/servicemanagement:v1/servicemanagement.services.rollouts.get/serviceName": service_name +"/servicemanagement:v1/servicemanagement.services.rollouts.list": list_service_rollouts +"/servicemanagement:v1/servicemanagement.services.rollouts.list/filter": filter +"/servicemanagement:v1/servicemanagement.services.rollouts.list/pageSize": page_size +"/servicemanagement:v1/servicemanagement.services.rollouts.list/pageToken": page_token +"/servicemanagement:v1/servicemanagement.services.rollouts.list/serviceName": service_name +"/servicemanagement:v1/servicemanagement.services.setIamPolicy": set_service_iam_policy +"/servicemanagement:v1/servicemanagement.services.setIamPolicy/resource": resource +"/servicemanagement:v1/servicemanagement.services.testIamPermissions": test_service_iam_permissions +"/servicemanagement:v1/servicemanagement.services.testIamPermissions/resource": resource +"/servicemanagement:v1/servicemanagement.services.undelete": undelete_service +"/servicemanagement:v1/servicemanagement.services.undelete/serviceName": service_name +"/serviceuser:v1/Api": api +"/serviceuser:v1/Api/methods": methods_prop +"/serviceuser:v1/Api/methods/methods_prop": methods_prop +"/serviceuser:v1/Api/mixins": mixins +"/serviceuser:v1/Api/mixins/mixin": mixin +"/serviceuser:v1/Api/name": name +"/serviceuser:v1/Api/options": options +"/serviceuser:v1/Api/options/option": option +"/serviceuser:v1/Api/sourceContext": source_context +"/serviceuser:v1/Api/syntax": syntax +"/serviceuser:v1/Api/version": version +"/serviceuser:v1/AuthProvider": auth_provider +"/serviceuser:v1/AuthProvider/audiences": audiences +"/serviceuser:v1/AuthProvider/authorizationUrl": authorization_url +"/serviceuser:v1/AuthProvider/id": id +"/serviceuser:v1/AuthProvider/issuer": issuer +"/serviceuser:v1/AuthProvider/jwksUri": jwks_uri "/serviceuser:v1/AuthRequirement": auth_requirement "/serviceuser:v1/AuthRequirement/audiences": audiences "/serviceuser:v1/AuthRequirement/providerId": provider_id -"/serviceuser:v1/Documentation": documentation -"/serviceuser:v1/Documentation/summary": summary -"/serviceuser:v1/Documentation/documentationRootUrl": documentation_root_url -"/serviceuser:v1/Documentation/overview": overview -"/serviceuser:v1/Documentation/rules": rules -"/serviceuser:v1/Documentation/rules/rule": rule -"/serviceuser:v1/Documentation/pages": pages -"/serviceuser:v1/Documentation/pages/page": page +"/serviceuser:v1/Authentication": authentication +"/serviceuser:v1/Authentication/providers": providers +"/serviceuser:v1/Authentication/providers/provider": provider +"/serviceuser:v1/Authentication/rules": rules +"/serviceuser:v1/Authentication/rules/rule": rule "/serviceuser:v1/AuthenticationRule": authentication_rule +"/serviceuser:v1/AuthenticationRule/allowWithoutCredential": allow_without_credential "/serviceuser:v1/AuthenticationRule/customAuth": custom_auth "/serviceuser:v1/AuthenticationRule/oauth": oauth "/serviceuser:v1/AuthenticationRule/requirements": requirements "/serviceuser:v1/AuthenticationRule/requirements/requirement": requirement -"/serviceuser:v1/AuthenticationRule/allowWithoutCredential": allow_without_credential "/serviceuser:v1/AuthenticationRule/selector": selector +"/serviceuser:v1/AuthorizationConfig": authorization_config +"/serviceuser:v1/AuthorizationConfig/provider": provider +"/serviceuser:v1/AuthorizationRule": authorization_rule +"/serviceuser:v1/AuthorizationRule/permissions": permissions +"/serviceuser:v1/AuthorizationRule/selector": selector +"/serviceuser:v1/Backend": backend +"/serviceuser:v1/Backend/rules": rules +"/serviceuser:v1/Backend/rules/rule": rule "/serviceuser:v1/BackendRule": backend_rule "/serviceuser:v1/BackendRule/address": address -"/serviceuser:v1/BackendRule/selector": selector "/serviceuser:v1/BackendRule/deadline": deadline "/serviceuser:v1/BackendRule/minDeadline": min_deadline -"/serviceuser:v1/Api": api -"/serviceuser:v1/Api/options": options -"/serviceuser:v1/Api/options/option": option -"/serviceuser:v1/Api/methods": methods_prop -"/serviceuser:v1/Api/methods/methods_prop": methods_prop -"/serviceuser:v1/Api/name": name -"/serviceuser:v1/Api/sourceContext": source_context -"/serviceuser:v1/Api/syntax": syntax -"/serviceuser:v1/Api/version": version -"/serviceuser:v1/Api/mixins": mixins -"/serviceuser:v1/Api/mixins/mixin": mixin -"/serviceuser:v1/MetricRule": metric_rule -"/serviceuser:v1/MetricRule/metricCosts": metric_costs -"/serviceuser:v1/MetricRule/metricCosts/metric_cost": metric_cost -"/serviceuser:v1/MetricRule/selector": selector -"/serviceuser:v1/Authentication": authentication -"/serviceuser:v1/Authentication/rules": rules -"/serviceuser:v1/Authentication/rules/rule": rule -"/serviceuser:v1/Authentication/providers": providers -"/serviceuser:v1/Authentication/providers/provider": provider -"/serviceuser:v1/Operation": operation -"/serviceuser:v1/Operation/metadata": metadata -"/serviceuser:v1/Operation/metadata/metadatum": metadatum -"/serviceuser:v1/Operation/done": done -"/serviceuser:v1/Operation/response": response -"/serviceuser:v1/Operation/response/response": response -"/serviceuser:v1/Operation/name": name -"/serviceuser:v1/Operation/error": error -"/serviceuser:v1/Page": page -"/serviceuser:v1/Page/name": name -"/serviceuser:v1/Page/content": content -"/serviceuser:v1/Page/subpages": subpages -"/serviceuser:v1/Page/subpages/subpage": subpage -"/serviceuser:v1/Status": status -"/serviceuser:v1/Status/code": code -"/serviceuser:v1/Status/message": message -"/serviceuser:v1/Status/details": details -"/serviceuser:v1/Status/details/detail": detail -"/serviceuser:v1/Status/details/detail/detail": detail -"/serviceuser:v1/AuthProvider": auth_provider -"/serviceuser:v1/AuthProvider/jwksUri": jwks_uri -"/serviceuser:v1/AuthProvider/audiences": audiences -"/serviceuser:v1/AuthProvider/issuer": issuer -"/serviceuser:v1/AuthProvider/id": id -"/serviceuser:v1/EnumValue": enum_value -"/serviceuser:v1/EnumValue/options": options -"/serviceuser:v1/EnumValue/options/option": option -"/serviceuser:v1/EnumValue/number": number -"/serviceuser:v1/EnumValue/name": name -"/serviceuser:v1/Service": service -"/serviceuser:v1/Service/logs": logs -"/serviceuser:v1/Service/logs/log": log -"/serviceuser:v1/Service/apis": apis -"/serviceuser:v1/Service/apis/api": api -"/serviceuser:v1/Service/types": types -"/serviceuser:v1/Service/types/type": type -"/serviceuser:v1/Service/sourceInfo": source_info -"/serviceuser:v1/Service/http": http -"/serviceuser:v1/Service/backend": backend -"/serviceuser:v1/Service/systemParameters": system_parameters -"/serviceuser:v1/Service/documentation": documentation -"/serviceuser:v1/Service/monitoredResources": monitored_resources -"/serviceuser:v1/Service/monitoredResources/monitored_resource": monitored_resource -"/serviceuser:v1/Service/logging": logging -"/serviceuser:v1/Service/enums": enums -"/serviceuser:v1/Service/enums/enum": enum -"/serviceuser:v1/Service/context": context -"/serviceuser:v1/Service/id": id -"/serviceuser:v1/Service/usage": usage -"/serviceuser:v1/Service/metrics": metrics -"/serviceuser:v1/Service/metrics/metric": metric -"/serviceuser:v1/Service/authentication": authentication -"/serviceuser:v1/Service/experimental": experimental -"/serviceuser:v1/Service/control": control -"/serviceuser:v1/Service/configVersion": config_version -"/serviceuser:v1/Service/monitoring": monitoring -"/serviceuser:v1/Service/systemTypes": system_types -"/serviceuser:v1/Service/systemTypes/system_type": system_type -"/serviceuser:v1/Service/producerProjectId": producer_project_id -"/serviceuser:v1/Service/visibility": visibility -"/serviceuser:v1/Service/quota": quota -"/serviceuser:v1/Service/name": name -"/serviceuser:v1/Service/customError": custom_error -"/serviceuser:v1/Service/title": title -"/serviceuser:v1/Service/endpoints": endpoints -"/serviceuser:v1/Service/endpoints/endpoint": endpoint -"/serviceuser:v1/OperationMetadata": operation_metadata -"/serviceuser:v1/OperationMetadata/steps": steps -"/serviceuser:v1/OperationMetadata/steps/step": step -"/serviceuser:v1/OperationMetadata/resourceNames": resource_names -"/serviceuser:v1/OperationMetadata/resourceNames/resource_name": resource_name -"/serviceuser:v1/OperationMetadata/progressPercentage": progress_percentage -"/serviceuser:v1/OperationMetadata/startTime": start_time -"/serviceuser:v1/CustomHttpPattern": custom_http_pattern -"/serviceuser:v1/CustomHttpPattern/path": path -"/serviceuser:v1/CustomHttpPattern/kind": kind -"/serviceuser:v1/SystemParameterRule": system_parameter_rule -"/serviceuser:v1/SystemParameterRule/selector": selector -"/serviceuser:v1/SystemParameterRule/parameters": parameters -"/serviceuser:v1/SystemParameterRule/parameters/parameter": parameter -"/serviceuser:v1/PublishedService": published_service -"/serviceuser:v1/PublishedService/service": service -"/serviceuser:v1/PublishedService/name": name -"/serviceuser:v1/HttpRule": http_rule -"/serviceuser:v1/HttpRule/selector": selector -"/serviceuser:v1/HttpRule/custom": custom -"/serviceuser:v1/HttpRule/get": get -"/serviceuser:v1/HttpRule/patch": patch -"/serviceuser:v1/HttpRule/put": put -"/serviceuser:v1/HttpRule/delete": delete -"/serviceuser:v1/HttpRule/body": body -"/serviceuser:v1/HttpRule/mediaDownload": media_download -"/serviceuser:v1/HttpRule/post": post -"/serviceuser:v1/HttpRule/restMethodName": rest_method_name -"/serviceuser:v1/HttpRule/additionalBindings": additional_bindings -"/serviceuser:v1/HttpRule/additionalBindings/additional_binding": additional_binding -"/serviceuser:v1/HttpRule/responseBody": response_body -"/serviceuser:v1/HttpRule/restCollection": rest_collection -"/serviceuser:v1/HttpRule/mediaUpload": media_upload -"/serviceuser:v1/VisibilityRule": visibility_rule -"/serviceuser:v1/VisibilityRule/restriction": restriction -"/serviceuser:v1/VisibilityRule/selector": selector -"/serviceuser:v1/MonitoringDestination": monitoring_destination -"/serviceuser:v1/MonitoringDestination/monitoredResource": monitored_resource -"/serviceuser:v1/MonitoringDestination/metrics": metrics -"/serviceuser:v1/MonitoringDestination/metrics/metric": metric -"/serviceuser:v1/Visibility": visibility -"/serviceuser:v1/Visibility/rules": rules -"/serviceuser:v1/Visibility/rules/rule": rule -"/serviceuser:v1/SystemParameters": system_parameters -"/serviceuser:v1/SystemParameters/rules": rules -"/serviceuser:v1/SystemParameters/rules/rule": rule -"/serviceuser:v1/Quota": quota -"/serviceuser:v1/Quota/limits": limits -"/serviceuser:v1/Quota/limits/limit": limit -"/serviceuser:v1/Quota/metricRules": metric_rules -"/serviceuser:v1/Quota/metricRules/metric_rule": metric_rule -"/serviceuser:v1/Step": step -"/serviceuser:v1/Step/status": status -"/serviceuser:v1/Step/description": description -"/serviceuser:v1/LoggingDestination": logging_destination -"/serviceuser:v1/LoggingDestination/logs": logs -"/serviceuser:v1/LoggingDestination/logs/log": log -"/serviceuser:v1/LoggingDestination/monitoredResource": monitored_resource -"/serviceuser:v1/Option": option -"/serviceuser:v1/Option/name": name -"/serviceuser:v1/Option/value": value -"/serviceuser:v1/Option/value/value": value -"/serviceuser:v1/Logging": logging -"/serviceuser:v1/Logging/consumerDestinations": consumer_destinations -"/serviceuser:v1/Logging/consumerDestinations/consumer_destination": consumer_destination -"/serviceuser:v1/Logging/producerDestinations": producer_destinations -"/serviceuser:v1/Logging/producerDestinations/producer_destination": producer_destination -"/serviceuser:v1/QuotaLimit": quota_limit -"/serviceuser:v1/QuotaLimit/freeTier": free_tier -"/serviceuser:v1/QuotaLimit/duration": duration -"/serviceuser:v1/QuotaLimit/defaultLimit": default_limit -"/serviceuser:v1/QuotaLimit/displayName": display_name -"/serviceuser:v1/QuotaLimit/metric": metric -"/serviceuser:v1/QuotaLimit/description": description -"/serviceuser:v1/QuotaLimit/values": values -"/serviceuser:v1/QuotaLimit/values/value": value -"/serviceuser:v1/QuotaLimit/unit": unit -"/serviceuser:v1/QuotaLimit/maxLimit": max_limit -"/serviceuser:v1/QuotaLimit/name": name -"/serviceuser:v1/Method": method_prop -"/serviceuser:v1/Method/name": name -"/serviceuser:v1/Method/requestTypeUrl": request_type_url -"/serviceuser:v1/Method/requestStreaming": request_streaming -"/serviceuser:v1/Method/syntax": syntax -"/serviceuser:v1/Method/responseTypeUrl": response_type_url -"/serviceuser:v1/Method/options": options -"/serviceuser:v1/Method/options/option": option -"/serviceuser:v1/Method/responseStreaming": response_streaming -"/serviceuser:v1/Mixin": mixin -"/serviceuser:v1/Mixin/root": root -"/serviceuser:v1/Mixin/name": name +"/serviceuser:v1/BackendRule/selector": selector +"/serviceuser:v1/Context": context +"/serviceuser:v1/Context/rules": rules +"/serviceuser:v1/Context/rules/rule": rule +"/serviceuser:v1/ContextRule": context_rule +"/serviceuser:v1/ContextRule/provided": provided +"/serviceuser:v1/ContextRule/provided/provided": provided +"/serviceuser:v1/ContextRule/requested": requested +"/serviceuser:v1/ContextRule/requested/requested": requested +"/serviceuser:v1/ContextRule/selector": selector +"/serviceuser:v1/Control": control +"/serviceuser:v1/Control/environment": environment +"/serviceuser:v1/CustomAuthRequirements": custom_auth_requirements +"/serviceuser:v1/CustomAuthRequirements/provider": provider "/serviceuser:v1/CustomError": custom_error "/serviceuser:v1/CustomError/rules": rules "/serviceuser:v1/CustomError/rules/rule": rule "/serviceuser:v1/CustomError/types": types "/serviceuser:v1/CustomError/types/type": type +"/serviceuser:v1/CustomErrorRule": custom_error_rule +"/serviceuser:v1/CustomErrorRule/isErrorType": is_error_type +"/serviceuser:v1/CustomErrorRule/selector": selector +"/serviceuser:v1/CustomHttpPattern": custom_http_pattern +"/serviceuser:v1/CustomHttpPattern/kind": kind +"/serviceuser:v1/CustomHttpPattern/path": path +"/serviceuser:v1/DisableServiceRequest": disable_service_request +"/serviceuser:v1/Documentation": documentation +"/serviceuser:v1/Documentation/documentationRootUrl": documentation_root_url +"/serviceuser:v1/Documentation/overview": overview +"/serviceuser:v1/Documentation/pages": pages +"/serviceuser:v1/Documentation/pages/page": page +"/serviceuser:v1/Documentation/rules": rules +"/serviceuser:v1/Documentation/rules/rule": rule +"/serviceuser:v1/Documentation/summary": summary +"/serviceuser:v1/DocumentationRule": documentation_rule +"/serviceuser:v1/DocumentationRule/deprecationDescription": deprecation_description +"/serviceuser:v1/DocumentationRule/description": description +"/serviceuser:v1/DocumentationRule/selector": selector +"/serviceuser:v1/EnableServiceRequest": enable_service_request +"/serviceuser:v1/Endpoint": endpoint +"/serviceuser:v1/Endpoint/aliases": aliases +"/serviceuser:v1/Endpoint/aliases/alias": alias +"/serviceuser:v1/Endpoint/allowCors": allow_cors +"/serviceuser:v1/Endpoint/apis": apis +"/serviceuser:v1/Endpoint/apis/api": api +"/serviceuser:v1/Endpoint/features": features +"/serviceuser:v1/Endpoint/features/feature": feature +"/serviceuser:v1/Endpoint/name": name +"/serviceuser:v1/Endpoint/target": target +"/serviceuser:v1/Enum": enum +"/serviceuser:v1/Enum/enumvalue": enumvalue +"/serviceuser:v1/Enum/enumvalue/enumvalue": enumvalue +"/serviceuser:v1/Enum/name": name +"/serviceuser:v1/Enum/options": options +"/serviceuser:v1/Enum/options/option": option +"/serviceuser:v1/Enum/sourceContext": source_context +"/serviceuser:v1/Enum/syntax": syntax +"/serviceuser:v1/EnumValue": enum_value +"/serviceuser:v1/EnumValue/name": name +"/serviceuser:v1/EnumValue/number": number +"/serviceuser:v1/EnumValue/options": options +"/serviceuser:v1/EnumValue/options/option": option +"/serviceuser:v1/Experimental": experimental +"/serviceuser:v1/Experimental/authorization": authorization +"/serviceuser:v1/Field": field +"/serviceuser:v1/Field/cardinality": cardinality +"/serviceuser:v1/Field/defaultValue": default_value +"/serviceuser:v1/Field/jsonName": json_name +"/serviceuser:v1/Field/kind": kind +"/serviceuser:v1/Field/name": name +"/serviceuser:v1/Field/number": number +"/serviceuser:v1/Field/oneofIndex": oneof_index +"/serviceuser:v1/Field/options": options +"/serviceuser:v1/Field/options/option": option +"/serviceuser:v1/Field/packed": packed +"/serviceuser:v1/Field/typeUrl": type_url "/serviceuser:v1/Http": http +"/serviceuser:v1/Http/fullyDecodeReservedExpansion": fully_decode_reserved_expansion "/serviceuser:v1/Http/rules": rules "/serviceuser:v1/Http/rules/rule": rule -"/serviceuser:v1/Http/fullyDecodeReservedExpansion": fully_decode_reserved_expansion +"/serviceuser:v1/HttpRule": http_rule +"/serviceuser:v1/HttpRule/additionalBindings": additional_bindings +"/serviceuser:v1/HttpRule/additionalBindings/additional_binding": additional_binding +"/serviceuser:v1/HttpRule/authorizations": authorizations +"/serviceuser:v1/HttpRule/authorizations/authorization": authorization +"/serviceuser:v1/HttpRule/body": body +"/serviceuser:v1/HttpRule/custom": custom +"/serviceuser:v1/HttpRule/delete": delete +"/serviceuser:v1/HttpRule/get": get +"/serviceuser:v1/HttpRule/mediaDownload": media_download +"/serviceuser:v1/HttpRule/mediaUpload": media_upload +"/serviceuser:v1/HttpRule/patch": patch +"/serviceuser:v1/HttpRule/post": post +"/serviceuser:v1/HttpRule/put": put +"/serviceuser:v1/HttpRule/responseBody": response_body +"/serviceuser:v1/HttpRule/restCollection": rest_collection +"/serviceuser:v1/HttpRule/restMethodName": rest_method_name +"/serviceuser:v1/HttpRule/selector": selector +"/serviceuser:v1/LabelDescriptor": label_descriptor +"/serviceuser:v1/LabelDescriptor/description": description +"/serviceuser:v1/LabelDescriptor/key": key +"/serviceuser:v1/LabelDescriptor/valueType": value_type +"/serviceuser:v1/ListEnabledServicesResponse": list_enabled_services_response +"/serviceuser:v1/ListEnabledServicesResponse/nextPageToken": next_page_token +"/serviceuser:v1/ListEnabledServicesResponse/services": services +"/serviceuser:v1/ListEnabledServicesResponse/services/service": service +"/serviceuser:v1/LogDescriptor": log_descriptor +"/serviceuser:v1/LogDescriptor/description": description +"/serviceuser:v1/LogDescriptor/displayName": display_name +"/serviceuser:v1/LogDescriptor/labels": labels +"/serviceuser:v1/LogDescriptor/labels/label": label +"/serviceuser:v1/LogDescriptor/name": name +"/serviceuser:v1/Logging": logging +"/serviceuser:v1/Logging/consumerDestinations": consumer_destinations +"/serviceuser:v1/Logging/consumerDestinations/consumer_destination": consumer_destination +"/serviceuser:v1/Logging/producerDestinations": producer_destinations +"/serviceuser:v1/Logging/producerDestinations/producer_destination": producer_destination +"/serviceuser:v1/LoggingDestination": logging_destination +"/serviceuser:v1/LoggingDestination/logs": logs +"/serviceuser:v1/LoggingDestination/logs/log": log +"/serviceuser:v1/LoggingDestination/monitoredResource": monitored_resource +"/serviceuser:v1/MediaDownload": media_download +"/serviceuser:v1/MediaDownload/completeNotification": complete_notification +"/serviceuser:v1/MediaDownload/downloadService": download_service +"/serviceuser:v1/MediaDownload/dropzone": dropzone +"/serviceuser:v1/MediaDownload/enabled": enabled +"/serviceuser:v1/MediaDownload/maxDirectDownloadSize": max_direct_download_size +"/serviceuser:v1/MediaDownload/useDirectDownload": use_direct_download +"/serviceuser:v1/MediaUpload": media_upload +"/serviceuser:v1/MediaUpload/completeNotification": complete_notification +"/serviceuser:v1/MediaUpload/dropzone": dropzone +"/serviceuser:v1/MediaUpload/enabled": enabled +"/serviceuser:v1/MediaUpload/maxSize": max_size +"/serviceuser:v1/MediaUpload/mimeTypes": mime_types +"/serviceuser:v1/MediaUpload/mimeTypes/mime_type": mime_type +"/serviceuser:v1/MediaUpload/progressNotification": progress_notification +"/serviceuser:v1/MediaUpload/startNotification": start_notification +"/serviceuser:v1/MediaUpload/uploadService": upload_service +"/serviceuser:v1/Method": method_prop +"/serviceuser:v1/Method/name": name +"/serviceuser:v1/Method/options": options +"/serviceuser:v1/Method/options/option": option +"/serviceuser:v1/Method/requestStreaming": request_streaming +"/serviceuser:v1/Method/requestTypeUrl": request_type_url +"/serviceuser:v1/Method/responseStreaming": response_streaming +"/serviceuser:v1/Method/responseTypeUrl": response_type_url +"/serviceuser:v1/Method/syntax": syntax +"/serviceuser:v1/MetricDescriptor": metric_descriptor +"/serviceuser:v1/MetricDescriptor/description": description +"/serviceuser:v1/MetricDescriptor/displayName": display_name +"/serviceuser:v1/MetricDescriptor/labels": labels +"/serviceuser:v1/MetricDescriptor/labels/label": label +"/serviceuser:v1/MetricDescriptor/metricKind": metric_kind +"/serviceuser:v1/MetricDescriptor/name": name +"/serviceuser:v1/MetricDescriptor/type": type +"/serviceuser:v1/MetricDescriptor/unit": unit +"/serviceuser:v1/MetricDescriptor/valueType": value_type +"/serviceuser:v1/MetricRule": metric_rule +"/serviceuser:v1/MetricRule/metricCosts": metric_costs +"/serviceuser:v1/MetricRule/metricCosts/metric_cost": metric_cost +"/serviceuser:v1/MetricRule/selector": selector +"/serviceuser:v1/Mixin": mixin +"/serviceuser:v1/Mixin/name": name +"/serviceuser:v1/Mixin/root": root +"/serviceuser:v1/MonitoredResourceDescriptor": monitored_resource_descriptor +"/serviceuser:v1/MonitoredResourceDescriptor/description": description +"/serviceuser:v1/MonitoredResourceDescriptor/displayName": display_name +"/serviceuser:v1/MonitoredResourceDescriptor/labels": labels +"/serviceuser:v1/MonitoredResourceDescriptor/labels/label": label +"/serviceuser:v1/MonitoredResourceDescriptor/name": name +"/serviceuser:v1/MonitoredResourceDescriptor/type": type +"/serviceuser:v1/Monitoring": monitoring +"/serviceuser:v1/Monitoring/consumerDestinations": consumer_destinations +"/serviceuser:v1/Monitoring/consumerDestinations/consumer_destination": consumer_destination +"/serviceuser:v1/Monitoring/producerDestinations": producer_destinations +"/serviceuser:v1/Monitoring/producerDestinations/producer_destination": producer_destination +"/serviceuser:v1/MonitoringDestination": monitoring_destination +"/serviceuser:v1/MonitoringDestination/metrics": metrics +"/serviceuser:v1/MonitoringDestination/metrics/metric": metric +"/serviceuser:v1/MonitoringDestination/monitoredResource": monitored_resource +"/serviceuser:v1/OAuthRequirements": o_auth_requirements +"/serviceuser:v1/OAuthRequirements/canonicalScopes": canonical_scopes +"/serviceuser:v1/Operation": operation +"/serviceuser:v1/Operation/done": done +"/serviceuser:v1/Operation/error": error +"/serviceuser:v1/Operation/metadata": metadata +"/serviceuser:v1/Operation/metadata/metadatum": metadatum +"/serviceuser:v1/Operation/name": name +"/serviceuser:v1/Operation/response": response +"/serviceuser:v1/Operation/response/response": response +"/serviceuser:v1/OperationMetadata": operation_metadata +"/serviceuser:v1/OperationMetadata/progressPercentage": progress_percentage +"/serviceuser:v1/OperationMetadata/resourceNames": resource_names +"/serviceuser:v1/OperationMetadata/resourceNames/resource_name": resource_name +"/serviceuser:v1/OperationMetadata/startTime": start_time +"/serviceuser:v1/OperationMetadata/steps": steps +"/serviceuser:v1/OperationMetadata/steps/step": step +"/serviceuser:v1/Option": option +"/serviceuser:v1/Option/name": name +"/serviceuser:v1/Option/value": value +"/serviceuser:v1/Option/value/value": value +"/serviceuser:v1/Page": page +"/serviceuser:v1/Page/content": content +"/serviceuser:v1/Page/name": name +"/serviceuser:v1/Page/subpages": subpages +"/serviceuser:v1/Page/subpages/subpage": subpage +"/serviceuser:v1/PublishedService": published_service +"/serviceuser:v1/PublishedService/name": name +"/serviceuser:v1/PublishedService/service": service +"/serviceuser:v1/Quota": quota +"/serviceuser:v1/Quota/limits": limits +"/serviceuser:v1/Quota/limits/limit": limit +"/serviceuser:v1/Quota/metricRules": metric_rules +"/serviceuser:v1/Quota/metricRules/metric_rule": metric_rule +"/serviceuser:v1/QuotaLimit": quota_limit +"/serviceuser:v1/QuotaLimit/defaultLimit": default_limit +"/serviceuser:v1/QuotaLimit/description": description +"/serviceuser:v1/QuotaLimit/displayName": display_name +"/serviceuser:v1/QuotaLimit/duration": duration +"/serviceuser:v1/QuotaLimit/freeTier": free_tier +"/serviceuser:v1/QuotaLimit/maxLimit": max_limit +"/serviceuser:v1/QuotaLimit/metric": metric +"/serviceuser:v1/QuotaLimit/name": name +"/serviceuser:v1/QuotaLimit/unit": unit +"/serviceuser:v1/QuotaLimit/values": values +"/serviceuser:v1/QuotaLimit/values/value": value +"/serviceuser:v1/SearchServicesResponse": search_services_response +"/serviceuser:v1/SearchServicesResponse/nextPageToken": next_page_token +"/serviceuser:v1/SearchServicesResponse/services": services +"/serviceuser:v1/SearchServicesResponse/services/service": service +"/serviceuser:v1/Service": service +"/serviceuser:v1/Service/apis": apis +"/serviceuser:v1/Service/apis/api": api +"/serviceuser:v1/Service/authentication": authentication +"/serviceuser:v1/Service/backend": backend +"/serviceuser:v1/Service/configVersion": config_version +"/serviceuser:v1/Service/context": context +"/serviceuser:v1/Service/control": control +"/serviceuser:v1/Service/customError": custom_error +"/serviceuser:v1/Service/documentation": documentation +"/serviceuser:v1/Service/endpoints": endpoints +"/serviceuser:v1/Service/endpoints/endpoint": endpoint +"/serviceuser:v1/Service/enums": enums +"/serviceuser:v1/Service/enums/enum": enum +"/serviceuser:v1/Service/experimental": experimental +"/serviceuser:v1/Service/http": http +"/serviceuser:v1/Service/id": id +"/serviceuser:v1/Service/logging": logging +"/serviceuser:v1/Service/logs": logs +"/serviceuser:v1/Service/logs/log": log +"/serviceuser:v1/Service/metrics": metrics +"/serviceuser:v1/Service/metrics/metric": metric +"/serviceuser:v1/Service/monitoredResources": monitored_resources +"/serviceuser:v1/Service/monitoredResources/monitored_resource": monitored_resource +"/serviceuser:v1/Service/monitoring": monitoring +"/serviceuser:v1/Service/name": name +"/serviceuser:v1/Service/producerProjectId": producer_project_id +"/serviceuser:v1/Service/quota": quota +"/serviceuser:v1/Service/sourceInfo": source_info +"/serviceuser:v1/Service/systemParameters": system_parameters +"/serviceuser:v1/Service/systemTypes": system_types +"/serviceuser:v1/Service/systemTypes/system_type": system_type +"/serviceuser:v1/Service/title": title +"/serviceuser:v1/Service/types": types +"/serviceuser:v1/Service/types/type": type +"/serviceuser:v1/Service/usage": usage +"/serviceuser:v1/Service/visibility": visibility +"/serviceuser:v1/SourceContext": source_context +"/serviceuser:v1/SourceContext/fileName": file_name "/serviceuser:v1/SourceInfo": source_info "/serviceuser:v1/SourceInfo/sourceFiles": source_files "/serviceuser:v1/SourceInfo/sourceFiles/source_file": source_file "/serviceuser:v1/SourceInfo/sourceFiles/source_file/source_file": source_file -"/serviceuser:v1/Control": control -"/serviceuser:v1/Control/environment": environment +"/serviceuser:v1/Status": status +"/serviceuser:v1/Status/code": code +"/serviceuser:v1/Status/details": details +"/serviceuser:v1/Status/details/detail": detail +"/serviceuser:v1/Status/details/detail/detail": detail +"/serviceuser:v1/Status/message": message +"/serviceuser:v1/Step": step +"/serviceuser:v1/Step/description": description +"/serviceuser:v1/Step/status": status "/serviceuser:v1/SystemParameter": system_parameter "/serviceuser:v1/SystemParameter/httpHeader": http_header "/serviceuser:v1/SystemParameter/name": name "/serviceuser:v1/SystemParameter/urlQueryParameter": url_query_parameter -"/serviceuser:v1/Monitoring": monitoring -"/serviceuser:v1/Monitoring/producerDestinations": producer_destinations -"/serviceuser:v1/Monitoring/producerDestinations/producer_destination": producer_destination -"/serviceuser:v1/Monitoring/consumerDestinations": consumer_destinations -"/serviceuser:v1/Monitoring/consumerDestinations/consumer_destination": consumer_destination -"/serviceuser:v1/Field": field -"/serviceuser:v1/Field/options": options -"/serviceuser:v1/Field/options/option": option -"/serviceuser:v1/Field/oneofIndex": oneof_index -"/serviceuser:v1/Field/packed": packed -"/serviceuser:v1/Field/cardinality": cardinality -"/serviceuser:v1/Field/defaultValue": default_value -"/serviceuser:v1/Field/name": name -"/serviceuser:v1/Field/typeUrl": type_url -"/serviceuser:v1/Field/number": number -"/serviceuser:v1/Field/jsonName": json_name -"/serviceuser:v1/Field/kind": kind -"/serviceuser:v1/Enum": enum -"/serviceuser:v1/Enum/options": options -"/serviceuser:v1/Enum/options/option": option -"/serviceuser:v1/Enum/syntax": syntax -"/serviceuser:v1/Enum/sourceContext": source_context -"/serviceuser:v1/Enum/enumvalue": enumvalue -"/serviceuser:v1/Enum/enumvalue/enumvalue": enumvalue -"/serviceuser:v1/Enum/name": name -"/serviceuser:v1/EnableServiceRequest": enable_service_request -"/serviceuser:v1/LabelDescriptor": label_descriptor -"/serviceuser:v1/LabelDescriptor/valueType": value_type -"/serviceuser:v1/LabelDescriptor/key": key -"/serviceuser:v1/LabelDescriptor/description": description +"/serviceuser:v1/SystemParameterRule": system_parameter_rule +"/serviceuser:v1/SystemParameterRule/parameters": parameters +"/serviceuser:v1/SystemParameterRule/parameters/parameter": parameter +"/serviceuser:v1/SystemParameterRule/selector": selector +"/serviceuser:v1/SystemParameters": system_parameters +"/serviceuser:v1/SystemParameters/rules": rules +"/serviceuser:v1/SystemParameters/rules/rule": rule "/serviceuser:v1/Type": type "/serviceuser:v1/Type/fields": fields "/serviceuser:v1/Type/fields/field": field "/serviceuser:v1/Type/name": name "/serviceuser:v1/Type/oneofs": oneofs "/serviceuser:v1/Type/oneofs/oneof": oneof -"/serviceuser:v1/Type/sourceContext": source_context -"/serviceuser:v1/Type/syntax": syntax "/serviceuser:v1/Type/options": options "/serviceuser:v1/Type/options/option": option -"/serviceuser:v1/Experimental": experimental -"/serviceuser:v1/Experimental/authorization": authorization -"/serviceuser:v1/Backend": backend -"/serviceuser:v1/Backend/rules": rules -"/serviceuser:v1/Backend/rules/rule": rule -"/serviceuser:v1/DocumentationRule": documentation_rule -"/serviceuser:v1/DocumentationRule/description": description -"/serviceuser:v1/DocumentationRule/deprecationDescription": deprecation_description -"/serviceuser:v1/DocumentationRule/selector": selector -"/serviceuser:v1/AuthorizationConfig": authorization_config -"/serviceuser:v1/AuthorizationConfig/provider": provider -"/serviceuser:v1/ContextRule": context_rule -"/serviceuser:v1/ContextRule/selector": selector -"/serviceuser:v1/ContextRule/provided": provided -"/serviceuser:v1/ContextRule/provided/provided": provided -"/serviceuser:v1/ContextRule/requested": requested -"/serviceuser:v1/ContextRule/requested/requested": requested -"/serviceuser:v1/MetricDescriptor": metric_descriptor -"/serviceuser:v1/MetricDescriptor/metricKind": metric_kind -"/serviceuser:v1/MetricDescriptor/displayName": display_name -"/serviceuser:v1/MetricDescriptor/description": description -"/serviceuser:v1/MetricDescriptor/unit": unit -"/serviceuser:v1/MetricDescriptor/labels": labels -"/serviceuser:v1/MetricDescriptor/labels/label": label -"/serviceuser:v1/MetricDescriptor/name": name -"/serviceuser:v1/MetricDescriptor/type": type -"/serviceuser:v1/MetricDescriptor/valueType": value_type -"/serviceuser:v1/SourceContext": source_context -"/serviceuser:v1/SourceContext/fileName": file_name -"/sheets:v4/key": key -"/sheets:v4/quotaUser": quota_user -"/sheets:v4/fields": fields -"/sheets:v4/sheets.spreadsheets.get": get_spreadsheet -"/sheets:v4/sheets.spreadsheets.get/includeGridData": include_grid_data -"/sheets:v4/sheets.spreadsheets.get/ranges": ranges -"/sheets:v4/sheets.spreadsheets.get/spreadsheetId": spreadsheet_id -"/sheets:v4/sheets.spreadsheets.batchUpdate": batch_update_spreadsheet -"/sheets:v4/sheets.spreadsheets.batchUpdate/spreadsheetId": spreadsheet_id -"/sheets:v4/sheets.spreadsheets.create": create_spreadsheet -"/sheets:v4/sheets.spreadsheets.values.get/majorDimension": major_dimension -"/sheets:v4/sheets.spreadsheets.values.get/spreadsheetId": spreadsheet_id -"/sheets:v4/sheets.spreadsheets.values.get/range": range -"/sheets:v4/sheets.spreadsheets.values.get/dateTimeRenderOption": date_time_render_option -"/sheets:v4/sheets.spreadsheets.values.get/valueRenderOption": value_render_option -"/sheets:v4/sheets.spreadsheets.values.update": update_spreadsheet_value -"/sheets:v4/sheets.spreadsheets.values.update/spreadsheetId": spreadsheet_id -"/sheets:v4/sheets.spreadsheets.values.update/responseValueRenderOption": response_value_render_option -"/sheets:v4/sheets.spreadsheets.values.update/valueInputOption": value_input_option -"/sheets:v4/sheets.spreadsheets.values.update/responseDateTimeRenderOption": response_date_time_render_option -"/sheets:v4/sheets.spreadsheets.values.update/includeValuesInResponse": include_values_in_response -"/sheets:v4/sheets.spreadsheets.values.update/range": range -"/sheets:v4/sheets.spreadsheets.values.batchUpdate": batch_update_values -"/sheets:v4/sheets.spreadsheets.values.batchUpdate/spreadsheetId": spreadsheet_id -"/sheets:v4/sheets.spreadsheets.values.batchGet/majorDimension": major_dimension -"/sheets:v4/sheets.spreadsheets.values.batchGet/ranges": ranges -"/sheets:v4/sheets.spreadsheets.values.batchGet/spreadsheetId": spreadsheet_id -"/sheets:v4/sheets.spreadsheets.values.batchGet/dateTimeRenderOption": date_time_render_option -"/sheets:v4/sheets.spreadsheets.values.batchGet/valueRenderOption": value_render_option -"/sheets:v4/sheets.spreadsheets.values.clear": clear_values -"/sheets:v4/sheets.spreadsheets.values.clear/spreadsheetId": spreadsheet_id -"/sheets:v4/sheets.spreadsheets.values.clear/range": range -"/sheets:v4/sheets.spreadsheets.values.append": append_spreadsheet_value -"/sheets:v4/sheets.spreadsheets.values.append/spreadsheetId": spreadsheet_id -"/sheets:v4/sheets.spreadsheets.values.append/responseValueRenderOption": response_value_render_option -"/sheets:v4/sheets.spreadsheets.values.append/insertDataOption": insert_data_option -"/sheets:v4/sheets.spreadsheets.values.append/valueInputOption": value_input_option -"/sheets:v4/sheets.spreadsheets.values.append/responseDateTimeRenderOption": response_date_time_render_option -"/sheets:v4/sheets.spreadsheets.values.append/range": range -"/sheets:v4/sheets.spreadsheets.values.append/includeValuesInResponse": include_values_in_response -"/sheets:v4/sheets.spreadsheets.values.batchClear": batch_clear_values -"/sheets:v4/sheets.spreadsheets.values.batchClear/spreadsheetId": spreadsheet_id -"/sheets:v4/sheets.spreadsheets.sheets.copyTo/spreadsheetId": spreadsheet_id -"/sheets:v4/sheets.spreadsheets.sheets.copyTo/sheetId": sheet_id -"/sheets:v4/AddFilterViewResponse": add_filter_view_response -"/sheets:v4/AddFilterViewResponse/filter": filter -"/sheets:v4/IterativeCalculationSettings": iterative_calculation_settings -"/sheets:v4/IterativeCalculationSettings/convergenceThreshold": convergence_threshold -"/sheets:v4/IterativeCalculationSettings/maxIterations": max_iterations -"/sheets:v4/SpreadsheetProperties": spreadsheet_properties -"/sheets:v4/SpreadsheetProperties/title": title -"/sheets:v4/SpreadsheetProperties/timeZone": time_zone -"/sheets:v4/SpreadsheetProperties/locale": locale -"/sheets:v4/SpreadsheetProperties/iterativeCalculationSettings": iterative_calculation_settings -"/sheets:v4/SpreadsheetProperties/autoRecalc": auto_recalc -"/sheets:v4/SpreadsheetProperties/defaultFormat": default_format -"/sheets:v4/OverlayPosition": overlay_position -"/sheets:v4/OverlayPosition/widthPixels": width_pixels -"/sheets:v4/OverlayPosition/offsetXPixels": offset_x_pixels -"/sheets:v4/OverlayPosition/anchorCell": anchor_cell -"/sheets:v4/OverlayPosition/heightPixels": height_pixels -"/sheets:v4/OverlayPosition/offsetYPixels": offset_y_pixels -"/sheets:v4/RepeatCellRequest": repeat_cell_request -"/sheets:v4/RepeatCellRequest/fields": fields -"/sheets:v4/RepeatCellRequest/cell": cell -"/sheets:v4/RepeatCellRequest/range": range -"/sheets:v4/AddChartResponse": add_chart_response -"/sheets:v4/AddChartResponse/chart": chart -"/sheets:v4/InsertDimensionRequest": insert_dimension_request -"/sheets:v4/InsertDimensionRequest/range": range -"/sheets:v4/InsertDimensionRequest/inheritFromBefore": inherit_from_before -"/sheets:v4/UpdateSpreadsheetPropertiesRequest": update_spreadsheet_properties_request -"/sheets:v4/UpdateSpreadsheetPropertiesRequest/fields": fields -"/sheets:v4/UpdateSpreadsheetPropertiesRequest/properties": properties -"/sheets:v4/ProtectedRange": protected_range -"/sheets:v4/ProtectedRange/range": range -"/sheets:v4/ProtectedRange/editors": editors -"/sheets:v4/ProtectedRange/description": description -"/sheets:v4/ProtectedRange/unprotectedRanges": unprotected_ranges -"/sheets:v4/ProtectedRange/unprotectedRanges/unprotected_range": unprotected_range -"/sheets:v4/ProtectedRange/namedRangeId": named_range_id -"/sheets:v4/ProtectedRange/protectedRangeId": protected_range_id -"/sheets:v4/ProtectedRange/warningOnly": warning_only -"/sheets:v4/ProtectedRange/requestingUserCanEdit": requesting_user_can_edit -"/sheets:v4/BatchUpdateValuesRequest": batch_update_values_request -"/sheets:v4/BatchUpdateValuesRequest/responseValueRenderOption": response_value_render_option -"/sheets:v4/BatchUpdateValuesRequest/includeValuesInResponse": include_values_in_response -"/sheets:v4/BatchUpdateValuesRequest/data": data -"/sheets:v4/BatchUpdateValuesRequest/data/datum": datum -"/sheets:v4/BatchUpdateValuesRequest/valueInputOption": value_input_option -"/sheets:v4/BatchUpdateValuesRequest/responseDateTimeRenderOption": response_date_time_render_option -"/sheets:v4/DimensionProperties": dimension_properties -"/sheets:v4/DimensionProperties/pixelSize": pixel_size -"/sheets:v4/DimensionProperties/hiddenByUser": hidden_by_user -"/sheets:v4/DimensionProperties/hiddenByFilter": hidden_by_filter -"/sheets:v4/NamedRange": named_range -"/sheets:v4/NamedRange/namedRangeId": named_range_id -"/sheets:v4/NamedRange/range": range -"/sheets:v4/NamedRange/name": name -"/sheets:v4/DimensionRange": dimension_range -"/sheets:v4/DimensionRange/dimension": dimension -"/sheets:v4/DimensionRange/endIndex": end_index -"/sheets:v4/DimensionRange/startIndex": start_index -"/sheets:v4/DimensionRange/sheetId": sheet_id -"/sheets:v4/CutPasteRequest": cut_paste_request -"/sheets:v4/CutPasteRequest/destination": destination -"/sheets:v4/CutPasteRequest/pasteType": paste_type -"/sheets:v4/CutPasteRequest/source": source -"/sheets:v4/Borders": borders -"/sheets:v4/Borders/right": right -"/sheets:v4/Borders/bottom": bottom -"/sheets:v4/Borders/top": top -"/sheets:v4/Borders/left": left -"/sheets:v4/BasicChartSeries": basic_chart_series -"/sheets:v4/BasicChartSeries/targetAxis": target_axis -"/sheets:v4/BasicChartSeries/type": type -"/sheets:v4/BasicChartSeries/series": series -"/sheets:v4/AutoResizeDimensionsRequest": auto_resize_dimensions_request -"/sheets:v4/AutoResizeDimensionsRequest/dimensions": dimensions -"/sheets:v4/UpdateBordersRequest": update_borders_request -"/sheets:v4/UpdateBordersRequest/innerVertical": inner_vertical -"/sheets:v4/UpdateBordersRequest/right": right -"/sheets:v4/UpdateBordersRequest/range": range -"/sheets:v4/UpdateBordersRequest/innerHorizontal": inner_horizontal -"/sheets:v4/UpdateBordersRequest/top": top -"/sheets:v4/UpdateBordersRequest/left": left -"/sheets:v4/UpdateBordersRequest/bottom": bottom -"/sheets:v4/CellFormat": cell_format -"/sheets:v4/CellFormat/numberFormat": number_format -"/sheets:v4/CellFormat/hyperlinkDisplayType": hyperlink_display_type -"/sheets:v4/CellFormat/horizontalAlignment": horizontal_alignment -"/sheets:v4/CellFormat/textFormat": text_format -"/sheets:v4/CellFormat/backgroundColor": background_color -"/sheets:v4/CellFormat/verticalAlignment": vertical_alignment -"/sheets:v4/CellFormat/padding": padding -"/sheets:v4/CellFormat/textDirection": text_direction -"/sheets:v4/CellFormat/borders": borders -"/sheets:v4/CellFormat/textRotation": text_rotation -"/sheets:v4/CellFormat/wrapStrategy": wrap_strategy -"/sheets:v4/ClearValuesResponse": clear_values_response -"/sheets:v4/ClearValuesResponse/spreadsheetId": spreadsheet_id -"/sheets:v4/ClearValuesResponse/clearedRange": cleared_range -"/sheets:v4/DeleteConditionalFormatRuleRequest": delete_conditional_format_rule_request -"/sheets:v4/DeleteConditionalFormatRuleRequest/index": index -"/sheets:v4/DeleteConditionalFormatRuleRequest/sheetId": sheet_id -"/sheets:v4/DeleteNamedRangeRequest": delete_named_range_request -"/sheets:v4/DeleteNamedRangeRequest/namedRangeId": named_range_id +"/serviceuser:v1/Type/sourceContext": source_context +"/serviceuser:v1/Type/syntax": syntax +"/serviceuser:v1/Usage": usage +"/serviceuser:v1/Usage/producerNotificationChannel": producer_notification_channel +"/serviceuser:v1/Usage/requirements": requirements +"/serviceuser:v1/Usage/requirements/requirement": requirement +"/serviceuser:v1/Usage/rules": rules +"/serviceuser:v1/Usage/rules/rule": rule +"/serviceuser:v1/UsageRule": usage_rule +"/serviceuser:v1/UsageRule/allowUnregisteredCalls": allow_unregistered_calls +"/serviceuser:v1/UsageRule/selector": selector +"/serviceuser:v1/UsageRule/skipServiceControl": skip_service_control +"/serviceuser:v1/Visibility": visibility +"/serviceuser:v1/Visibility/rules": rules +"/serviceuser:v1/Visibility/rules/rule": rule +"/serviceuser:v1/VisibilityRule": visibility_rule +"/serviceuser:v1/VisibilityRule/restriction": restriction +"/serviceuser:v1/VisibilityRule/selector": selector +"/serviceuser:v1/fields": fields +"/serviceuser:v1/key": key +"/serviceuser:v1/quotaUser": quota_user +"/serviceuser:v1/serviceuser.projects.services.disable": disable_service +"/serviceuser:v1/serviceuser.projects.services.disable/name": name +"/serviceuser:v1/serviceuser.projects.services.enable": enable_service +"/serviceuser:v1/serviceuser.projects.services.enable/name": name +"/serviceuser:v1/serviceuser.projects.services.list": list_project_services +"/serviceuser:v1/serviceuser.projects.services.list/pageSize": page_size +"/serviceuser:v1/serviceuser.projects.services.list/pageToken": page_token +"/serviceuser:v1/serviceuser.projects.services.list/parent": parent +"/serviceuser:v1/serviceuser.services.search": search_services +"/serviceuser:v1/serviceuser.services.search/pageSize": page_size +"/serviceuser:v1/serviceuser.services.search/pageToken": page_token +"/sheets:v4/AddBandingRequest": add_banding_request +"/sheets:v4/AddBandingRequest/bandedRange": banded_range "/sheets:v4/AddBandingResponse": add_banding_response "/sheets:v4/AddBandingResponse/bandedRange": banded_range -"/sheets:v4/ChartData": chart_data -"/sheets:v4/ChartData/sourceRange": source_range -"/sheets:v4/BatchGetValuesResponse": batch_get_values_response -"/sheets:v4/BatchGetValuesResponse/spreadsheetId": spreadsheet_id -"/sheets:v4/BatchGetValuesResponse/valueRanges": value_ranges -"/sheets:v4/BatchGetValuesResponse/valueRanges/value_range": value_range -"/sheets:v4/UpdateBandingRequest": update_banding_request -"/sheets:v4/UpdateBandingRequest/fields": fields -"/sheets:v4/UpdateBandingRequest/bandedRange": banded_range -"/sheets:v4/Color": color -"/sheets:v4/Color/alpha": alpha -"/sheets:v4/Color/blue": blue -"/sheets:v4/Color/green": green -"/sheets:v4/Color/red": red -"/sheets:v4/PivotGroup": pivot_group -"/sheets:v4/PivotGroup/valueBucket": value_bucket -"/sheets:v4/PivotGroup/valueMetadata": value_metadata -"/sheets:v4/PivotGroup/valueMetadata/value_metadatum": value_metadatum -"/sheets:v4/PivotGroup/showTotals": show_totals -"/sheets:v4/PivotGroup/sourceColumnOffset": source_column_offset -"/sheets:v4/PivotGroup/sortOrder": sort_order -"/sheets:v4/PivotTable": pivot_table -"/sheets:v4/PivotTable/criteria": criteria -"/sheets:v4/PivotTable/criteria/criterium": criterium -"/sheets:v4/PivotTable/rows": rows -"/sheets:v4/PivotTable/rows/row": row -"/sheets:v4/PivotTable/valueLayout": value_layout -"/sheets:v4/PivotTable/columns": columns -"/sheets:v4/PivotTable/columns/column": column -"/sheets:v4/PivotTable/values": values -"/sheets:v4/PivotTable/values/value": value -"/sheets:v4/PivotTable/source": source -"/sheets:v4/ChartSourceRange": chart_source_range -"/sheets:v4/ChartSourceRange/sources": sources -"/sheets:v4/ChartSourceRange/sources/source": source -"/sheets:v4/ValueRange": value_range -"/sheets:v4/ValueRange/range": range -"/sheets:v4/ValueRange/values": values -"/sheets:v4/ValueRange/values/value": value -"/sheets:v4/ValueRange/values/value/value": value -"/sheets:v4/ValueRange/majorDimension": major_dimension +"/sheets:v4/AddChartRequest": add_chart_request +"/sheets:v4/AddChartRequest/chart": chart +"/sheets:v4/AddChartResponse": add_chart_response +"/sheets:v4/AddChartResponse/chart": chart +"/sheets:v4/AddConditionalFormatRuleRequest": add_conditional_format_rule_request +"/sheets:v4/AddConditionalFormatRuleRequest/index": index +"/sheets:v4/AddConditionalFormatRuleRequest/rule": rule +"/sheets:v4/AddFilterViewRequest": add_filter_view_request +"/sheets:v4/AddFilterViewRequest/filter": filter +"/sheets:v4/AddFilterViewResponse": add_filter_view_response +"/sheets:v4/AddFilterViewResponse/filter": filter +"/sheets:v4/AddNamedRangeRequest": add_named_range_request +"/sheets:v4/AddNamedRangeRequest/namedRange": named_range +"/sheets:v4/AddNamedRangeResponse": add_named_range_response +"/sheets:v4/AddNamedRangeResponse/namedRange": named_range +"/sheets:v4/AddProtectedRangeRequest": add_protected_range_request +"/sheets:v4/AddProtectedRangeRequest/protectedRange": protected_range +"/sheets:v4/AddProtectedRangeResponse": add_protected_range_response +"/sheets:v4/AddProtectedRangeResponse/protectedRange": protected_range +"/sheets:v4/AddSheetRequest": add_sheet_request +"/sheets:v4/AddSheetRequest/properties": properties +"/sheets:v4/AddSheetResponse": add_sheet_response +"/sheets:v4/AddSheetResponse/properties": properties "/sheets:v4/AppendCellsRequest": append_cells_request "/sheets:v4/AppendCellsRequest/fields": fields "/sheets:v4/AppendCellsRequest/rows": rows "/sheets:v4/AppendCellsRequest/rows/row": row "/sheets:v4/AppendCellsRequest/sheetId": sheet_id -"/sheets:v4/AddBandingRequest": add_banding_request -"/sheets:v4/AddBandingRequest/bandedRange": banded_range -"/sheets:v4/Response": response -"/sheets:v4/Response/addFilterView": add_filter_view -"/sheets:v4/Response/addBanding": add_banding -"/sheets:v4/Response/addProtectedRange": add_protected_range -"/sheets:v4/Response/duplicateSheet": duplicate_sheet -"/sheets:v4/Response/updateEmbeddedObjectPosition": update_embedded_object_position -"/sheets:v4/Response/deleteConditionalFormatRule": delete_conditional_format_rule -"/sheets:v4/Response/duplicateFilterView": duplicate_filter_view -"/sheets:v4/Response/addChart": add_chart -"/sheets:v4/Response/findReplace": find_replace -"/sheets:v4/Response/addSheet": add_sheet -"/sheets:v4/Response/updateConditionalFormatRule": update_conditional_format_rule -"/sheets:v4/Response/addNamedRange": add_named_range -"/sheets:v4/InsertRangeRequest": insert_range_request -"/sheets:v4/InsertRangeRequest/shiftDimension": shift_dimension -"/sheets:v4/InsertRangeRequest/range": range -"/sheets:v4/TextFormatRun": text_format_run -"/sheets:v4/TextFormatRun/format": format -"/sheets:v4/TextFormatRun/startIndex": start_index -"/sheets:v4/EmbeddedChart": embedded_chart -"/sheets:v4/EmbeddedChart/spec": spec -"/sheets:v4/EmbeddedChart/chartId": chart_id -"/sheets:v4/EmbeddedChart/position": position -"/sheets:v4/AddNamedRangeResponse": add_named_range_response -"/sheets:v4/AddNamedRangeResponse/namedRange": named_range -"/sheets:v4/RowData": row_data -"/sheets:v4/RowData/values": values -"/sheets:v4/RowData/values/value": value -"/sheets:v4/Border": border -"/sheets:v4/Border/width": width -"/sheets:v4/Border/style": style -"/sheets:v4/Border/color": color -"/sheets:v4/GridData": grid_data -"/sheets:v4/GridData/rowData": row_data -"/sheets:v4/GridData/rowData/row_datum": row_datum -"/sheets:v4/GridData/startRow": start_row -"/sheets:v4/GridData/columnMetadata": column_metadata -"/sheets:v4/GridData/columnMetadata/column_metadatum": column_metadatum -"/sheets:v4/GridData/startColumn": start_column -"/sheets:v4/GridData/rowMetadata": row_metadata -"/sheets:v4/GridData/rowMetadata/row_metadatum": row_metadatum -"/sheets:v4/UpdateNamedRangeRequest": update_named_range_request -"/sheets:v4/UpdateNamedRangeRequest/namedRange": named_range -"/sheets:v4/UpdateNamedRangeRequest/fields": fields -"/sheets:v4/FindReplaceRequest": find_replace_request -"/sheets:v4/FindReplaceRequest/replacement": replacement -"/sheets:v4/FindReplaceRequest/range": range -"/sheets:v4/FindReplaceRequest/sheetId": sheet_id -"/sheets:v4/FindReplaceRequest/matchCase": match_case -"/sheets:v4/FindReplaceRequest/allSheets": all_sheets -"/sheets:v4/FindReplaceRequest/includeFormulas": include_formulas -"/sheets:v4/FindReplaceRequest/matchEntireCell": match_entire_cell -"/sheets:v4/FindReplaceRequest/searchByRegex": search_by_regex -"/sheets:v4/FindReplaceRequest/find": find -"/sheets:v4/AddSheetRequest": add_sheet_request -"/sheets:v4/AddSheetRequest/properties": properties -"/sheets:v4/UpdateCellsRequest": update_cells_request -"/sheets:v4/UpdateCellsRequest/start": start -"/sheets:v4/UpdateCellsRequest/range": range -"/sheets:v4/UpdateCellsRequest/fields": fields -"/sheets:v4/UpdateCellsRequest/rows": rows -"/sheets:v4/UpdateCellsRequest/rows/row": row -"/sheets:v4/RandomizeRangeRequest": randomize_range_request -"/sheets:v4/RandomizeRangeRequest/range": range -"/sheets:v4/DeleteConditionalFormatRuleResponse": delete_conditional_format_rule_response -"/sheets:v4/DeleteConditionalFormatRuleResponse/rule": rule -"/sheets:v4/DeleteRangeRequest": delete_range_request -"/sheets:v4/DeleteRangeRequest/shiftDimension": shift_dimension -"/sheets:v4/DeleteRangeRequest/range": range -"/sheets:v4/GridCoordinate": grid_coordinate -"/sheets:v4/GridCoordinate/columnIndex": column_index -"/sheets:v4/GridCoordinate/rowIndex": row_index -"/sheets:v4/GridCoordinate/sheetId": sheet_id -"/sheets:v4/UpdateSheetPropertiesRequest": update_sheet_properties_request -"/sheets:v4/UpdateSheetPropertiesRequest/fields": fields -"/sheets:v4/UpdateSheetPropertiesRequest/properties": properties -"/sheets:v4/GridProperties": grid_properties -"/sheets:v4/GridProperties/rowCount": row_count -"/sheets:v4/GridProperties/hideGridlines": hide_gridlines -"/sheets:v4/GridProperties/frozenRowCount": frozen_row_count -"/sheets:v4/GridProperties/frozenColumnCount": frozen_column_count -"/sheets:v4/GridProperties/columnCount": column_count -"/sheets:v4/UnmergeCellsRequest": unmerge_cells_request -"/sheets:v4/UnmergeCellsRequest/range": range -"/sheets:v4/SortSpec": sort_spec -"/sheets:v4/SortSpec/dimensionIndex": dimension_index -"/sheets:v4/SortSpec/sortOrder": sort_order -"/sheets:v4/Sheet": sheet -"/sheets:v4/Sheet/filterViews": filter_views -"/sheets:v4/Sheet/filterViews/filter_view": filter_view -"/sheets:v4/Sheet/protectedRanges": protected_ranges -"/sheets:v4/Sheet/protectedRanges/protected_range": protected_range -"/sheets:v4/Sheet/conditionalFormats": conditional_formats -"/sheets:v4/Sheet/conditionalFormats/conditional_format": conditional_format -"/sheets:v4/Sheet/basicFilter": basic_filter -"/sheets:v4/Sheet/merges": merges -"/sheets:v4/Sheet/merges/merge": merge -"/sheets:v4/Sheet/data": data -"/sheets:v4/Sheet/data/datum": datum -"/sheets:v4/Sheet/bandedRanges": banded_ranges -"/sheets:v4/Sheet/bandedRanges/banded_range": banded_range -"/sheets:v4/Sheet/properties": properties -"/sheets:v4/Sheet/charts": charts -"/sheets:v4/Sheet/charts/chart": chart -"/sheets:v4/UpdateEmbeddedObjectPositionResponse": update_embedded_object_position_response -"/sheets:v4/UpdateEmbeddedObjectPositionResponse/position": position -"/sheets:v4/BooleanRule": boolean_rule -"/sheets:v4/BooleanRule/condition": condition -"/sheets:v4/BooleanRule/format": format -"/sheets:v4/FilterCriteria": filter_criteria -"/sheets:v4/FilterCriteria/condition": condition -"/sheets:v4/FilterCriteria/hiddenValues": hidden_values -"/sheets:v4/FilterCriteria/hiddenValues/hidden_value": hidden_value -"/sheets:v4/PivotGroupValueMetadata": pivot_group_value_metadata -"/sheets:v4/PivotGroupValueMetadata/value": value -"/sheets:v4/PivotGroupValueMetadata/collapsed": collapsed -"/sheets:v4/Editors": editors -"/sheets:v4/Editors/users": users -"/sheets:v4/Editors/users/user": user -"/sheets:v4/Editors/domainUsersCanEdit": domain_users_can_edit -"/sheets:v4/Editors/groups": groups -"/sheets:v4/Editors/groups/group": group -"/sheets:v4/UpdateConditionalFormatRuleRequest": update_conditional_format_rule_request -"/sheets:v4/UpdateConditionalFormatRuleRequest/newIndex": new_index -"/sheets:v4/UpdateConditionalFormatRuleRequest/rule": rule -"/sheets:v4/UpdateConditionalFormatRuleRequest/index": index -"/sheets:v4/UpdateConditionalFormatRuleRequest/sheetId": sheet_id -"/sheets:v4/BasicChartDomain": basic_chart_domain -"/sheets:v4/BasicChartDomain/domain": domain -"/sheets:v4/BasicChartDomain/reversed": reversed -"/sheets:v4/DataValidationRule": data_validation_rule -"/sheets:v4/DataValidationRule/condition": condition -"/sheets:v4/DataValidationRule/showCustomUi": show_custom_ui -"/sheets:v4/DataValidationRule/strict": strict -"/sheets:v4/DataValidationRule/inputMessage": input_message -"/sheets:v4/PasteDataRequest": paste_data_request -"/sheets:v4/PasteDataRequest/coordinate": coordinate -"/sheets:v4/PasteDataRequest/delimiter": delimiter -"/sheets:v4/PasteDataRequest/data": data -"/sheets:v4/PasteDataRequest/type": type -"/sheets:v4/PasteDataRequest/html": html "/sheets:v4/AppendDimensionRequest": append_dimension_request "/sheets:v4/AppendDimensionRequest/dimension": dimension "/sheets:v4/AppendDimensionRequest/length": length "/sheets:v4/AppendDimensionRequest/sheetId": sheet_id -"/sheets:v4/AddNamedRangeRequest": add_named_range_request -"/sheets:v4/AddNamedRangeRequest/namedRange": named_range -"/sheets:v4/UpdateEmbeddedObjectPositionRequest": update_embedded_object_position_request -"/sheets:v4/UpdateEmbeddedObjectPositionRequest/newPosition": new_position -"/sheets:v4/UpdateEmbeddedObjectPositionRequest/fields": fields -"/sheets:v4/UpdateEmbeddedObjectPositionRequest/objectId": object_id_prop -"/sheets:v4/TextRotation": text_rotation -"/sheets:v4/TextRotation/angle": angle -"/sheets:v4/TextRotation/vertical": vertical -"/sheets:v4/PieChartSpec": pie_chart_spec -"/sheets:v4/PieChartSpec/series": series -"/sheets:v4/PieChartSpec/pieHole": pie_hole -"/sheets:v4/PieChartSpec/legendPosition": legend_position -"/sheets:v4/PieChartSpec/threeDimensional": three_dimensional -"/sheets:v4/PieChartSpec/domain": domain -"/sheets:v4/UpdateFilterViewRequest": update_filter_view_request -"/sheets:v4/UpdateFilterViewRequest/filter": filter -"/sheets:v4/UpdateFilterViewRequest/fields": fields -"/sheets:v4/ConditionalFormatRule": conditional_format_rule -"/sheets:v4/ConditionalFormatRule/ranges": ranges -"/sheets:v4/ConditionalFormatRule/ranges/range": range -"/sheets:v4/ConditionalFormatRule/gradientRule": gradient_rule -"/sheets:v4/ConditionalFormatRule/booleanRule": boolean_rule -"/sheets:v4/CopyPasteRequest": copy_paste_request -"/sheets:v4/CopyPasteRequest/pasteType": paste_type -"/sheets:v4/CopyPasteRequest/source": source -"/sheets:v4/CopyPasteRequest/destination": destination -"/sheets:v4/CopyPasteRequest/pasteOrientation": paste_orientation -"/sheets:v4/Request": request -"/sheets:v4/Request/sortRange": sort_range -"/sheets:v4/Request/deleteProtectedRange": delete_protected_range -"/sheets:v4/Request/duplicateFilterView": duplicate_filter_view -"/sheets:v4/Request/addChart": add_chart -"/sheets:v4/Request/findReplace": find_replace -"/sheets:v4/Request/textToColumns": text_to_columns -"/sheets:v4/Request/updateChartSpec": update_chart_spec -"/sheets:v4/Request/addSheet": add_sheet -"/sheets:v4/Request/updateProtectedRange": update_protected_range -"/sheets:v4/Request/deleteFilterView": delete_filter_view -"/sheets:v4/Request/copyPaste": copy_paste -"/sheets:v4/Request/insertDimension": insert_dimension -"/sheets:v4/Request/deleteRange": delete_range -"/sheets:v4/Request/deleteBanding": delete_banding -"/sheets:v4/Request/addFilterView": add_filter_view -"/sheets:v4/Request/setDataValidation": set_data_validation -"/sheets:v4/Request/updateBorders": update_borders -"/sheets:v4/Request/deleteConditionalFormatRule": delete_conditional_format_rule -"/sheets:v4/Request/repeatCell": repeat_cell -"/sheets:v4/Request/clearBasicFilter": clear_basic_filter -"/sheets:v4/Request/appendDimension": append_dimension -"/sheets:v4/Request/updateConditionalFormatRule": update_conditional_format_rule -"/sheets:v4/Request/insertRange": insert_range -"/sheets:v4/Request/moveDimension": move_dimension -"/sheets:v4/Request/randomizeRange": randomize_range -"/sheets:v4/Request/updateBanding": update_banding -"/sheets:v4/Request/deleteNamedRange": delete_named_range -"/sheets:v4/Request/addProtectedRange": add_protected_range -"/sheets:v4/Request/duplicateSheet": duplicate_sheet -"/sheets:v4/Request/deleteSheet": delete_sheet -"/sheets:v4/Request/unmergeCells": unmerge_cells -"/sheets:v4/Request/updateEmbeddedObjectPosition": update_embedded_object_position -"/sheets:v4/Request/updateDimensionProperties": update_dimension_properties -"/sheets:v4/Request/pasteData": paste_data -"/sheets:v4/Request/setBasicFilter": set_basic_filter -"/sheets:v4/Request/addConditionalFormatRule": add_conditional_format_rule -"/sheets:v4/Request/updateCells": update_cells -"/sheets:v4/Request/addNamedRange": add_named_range -"/sheets:v4/Request/updateSpreadsheetProperties": update_spreadsheet_properties -"/sheets:v4/Request/deleteEmbeddedObject": delete_embedded_object -"/sheets:v4/Request/updateFilterView": update_filter_view -"/sheets:v4/Request/addBanding": add_banding -"/sheets:v4/Request/autoResizeDimensions": auto_resize_dimensions -"/sheets:v4/Request/appendCells": append_cells -"/sheets:v4/Request/cutPaste": cut_paste -"/sheets:v4/Request/mergeCells": merge_cells -"/sheets:v4/Request/updateNamedRange": update_named_range -"/sheets:v4/Request/updateSheetProperties": update_sheet_properties -"/sheets:v4/Request/deleteDimension": delete_dimension -"/sheets:v4/Request/autoFill": auto_fill -"/sheets:v4/BooleanCondition": boolean_condition -"/sheets:v4/BooleanCondition/values": values -"/sheets:v4/BooleanCondition/values/value": value -"/sheets:v4/BooleanCondition/type": type -"/sheets:v4/GridRange": grid_range -"/sheets:v4/GridRange/sheetId": sheet_id -"/sheets:v4/GridRange/endColumnIndex": end_column_index -"/sheets:v4/GridRange/endRowIndex": end_row_index -"/sheets:v4/GridRange/startRowIndex": start_row_index -"/sheets:v4/GridRange/startColumnIndex": start_column_index -"/sheets:v4/BasicChartSpec": basic_chart_spec -"/sheets:v4/BasicChartSpec/lineSmoothing": line_smoothing -"/sheets:v4/BasicChartSpec/headerCount": header_count -"/sheets:v4/BasicChartSpec/stackedType": stacked_type -"/sheets:v4/BasicChartSpec/axis": axis -"/sheets:v4/BasicChartSpec/axis/axis": axis -"/sheets:v4/BasicChartSpec/threeDimensional": three_dimensional -"/sheets:v4/BasicChartSpec/interpolateNulls": interpolate_nulls -"/sheets:v4/BasicChartSpec/chartType": chart_type -"/sheets:v4/BasicChartSpec/series": series -"/sheets:v4/BasicChartSpec/series/series": series -"/sheets:v4/BasicChartSpec/legendPosition": legend_position -"/sheets:v4/BasicChartSpec/domains": domains -"/sheets:v4/BasicChartSpec/domains/domain": domain -"/sheets:v4/SetDataValidationRequest": set_data_validation_request -"/sheets:v4/SetDataValidationRequest/range": range -"/sheets:v4/SetDataValidationRequest/rule": rule -"/sheets:v4/BubbleChartSpec": bubble_chart_spec -"/sheets:v4/BubbleChartSpec/bubbleMaxRadiusSize": bubble_max_radius_size -"/sheets:v4/BubbleChartSpec/series": series -"/sheets:v4/BubbleChartSpec/legendPosition": legend_position -"/sheets:v4/BubbleChartSpec/bubbleSizes": bubble_sizes -"/sheets:v4/BubbleChartSpec/domain": domain -"/sheets:v4/BubbleChartSpec/bubbleOpacity": bubble_opacity -"/sheets:v4/BubbleChartSpec/bubbleTextStyle": bubble_text_style -"/sheets:v4/BubbleChartSpec/bubbleBorderColor": bubble_border_color -"/sheets:v4/BubbleChartSpec/groupIds": group_ids -"/sheets:v4/BubbleChartSpec/bubbleLabels": bubble_labels -"/sheets:v4/BubbleChartSpec/bubbleMinRadiusSize": bubble_min_radius_size -"/sheets:v4/CellData": cell_data -"/sheets:v4/CellData/pivotTable": pivot_table -"/sheets:v4/CellData/userEnteredFormat": user_entered_format -"/sheets:v4/CellData/note": note -"/sheets:v4/CellData/effectiveFormat": effective_format -"/sheets:v4/CellData/dataValidation": data_validation -"/sheets:v4/CellData/userEnteredValue": user_entered_value -"/sheets:v4/CellData/effectiveValue": effective_value -"/sheets:v4/CellData/textFormatRuns": text_format_runs -"/sheets:v4/CellData/textFormatRuns/text_format_run": text_format_run -"/sheets:v4/CellData/formattedValue": formatted_value -"/sheets:v4/CellData/hyperlink": hyperlink -"/sheets:v4/BatchUpdateSpreadsheetRequest": batch_update_spreadsheet_request -"/sheets:v4/BatchUpdateSpreadsheetRequest/responseIncludeGridData": response_include_grid_data -"/sheets:v4/BatchUpdateSpreadsheetRequest/responseRanges": response_ranges -"/sheets:v4/BatchUpdateSpreadsheetRequest/responseRanges/response_range": response_range -"/sheets:v4/BatchUpdateSpreadsheetRequest/includeSpreadsheetInResponse": include_spreadsheet_in_response -"/sheets:v4/BatchUpdateSpreadsheetRequest/requests": requests -"/sheets:v4/BatchUpdateSpreadsheetRequest/requests/request": request -"/sheets:v4/Padding": padding -"/sheets:v4/Padding/right": right -"/sheets:v4/Padding/bottom": bottom -"/sheets:v4/Padding/top": top -"/sheets:v4/Padding/left": left -"/sheets:v4/BasicChartAxis": basic_chart_axis -"/sheets:v4/BasicChartAxis/format": format -"/sheets:v4/BasicChartAxis/title": title -"/sheets:v4/BasicChartAxis/position": position -"/sheets:v4/DeleteDimensionRequest": delete_dimension_request -"/sheets:v4/DeleteDimensionRequest/range": range -"/sheets:v4/UpdateChartSpecRequest": update_chart_spec_request -"/sheets:v4/UpdateChartSpecRequest/spec": spec -"/sheets:v4/UpdateChartSpecRequest/chartId": chart_id -"/sheets:v4/DeleteFilterViewRequest": delete_filter_view_request -"/sheets:v4/DeleteFilterViewRequest/filterId": filter_id -"/sheets:v4/BatchUpdateValuesResponse": batch_update_values_response -"/sheets:v4/BatchUpdateValuesResponse/spreadsheetId": spreadsheet_id -"/sheets:v4/BatchUpdateValuesResponse/totalUpdatedRows": total_updated_rows -"/sheets:v4/BatchUpdateValuesResponse/responses": responses -"/sheets:v4/BatchUpdateValuesResponse/responses/response": response -"/sheets:v4/BatchUpdateValuesResponse/totalUpdatedSheets": total_updated_sheets -"/sheets:v4/BatchUpdateValuesResponse/totalUpdatedCells": total_updated_cells -"/sheets:v4/BatchUpdateValuesResponse/totalUpdatedColumns": total_updated_columns -"/sheets:v4/SortRangeRequest": sort_range_request -"/sheets:v4/SortRangeRequest/range": range -"/sheets:v4/SortRangeRequest/sortSpecs": sort_specs -"/sheets:v4/SortRangeRequest/sortSpecs/sort_spec": sort_spec -"/sheets:v4/MergeCellsRequest": merge_cells_request -"/sheets:v4/MergeCellsRequest/mergeType": merge_type -"/sheets:v4/MergeCellsRequest/range": range -"/sheets:v4/AddProtectedRangeRequest": add_protected_range_request -"/sheets:v4/AddProtectedRangeRequest/protectedRange": protected_range -"/sheets:v4/BatchClearValuesRequest": batch_clear_values_request -"/sheets:v4/BatchClearValuesRequest/ranges": ranges -"/sheets:v4/BatchClearValuesRequest/ranges/range": range -"/sheets:v4/DuplicateFilterViewResponse": duplicate_filter_view_response -"/sheets:v4/DuplicateFilterViewResponse/filter": filter -"/sheets:v4/DuplicateSheetResponse": duplicate_sheet_response -"/sheets:v4/DuplicateSheetResponse/properties": properties -"/sheets:v4/TextToColumnsRequest": text_to_columns_request -"/sheets:v4/TextToColumnsRequest/delimiter": delimiter -"/sheets:v4/TextToColumnsRequest/delimiterType": delimiter_type -"/sheets:v4/TextToColumnsRequest/source": source -"/sheets:v4/ClearBasicFilterRequest": clear_basic_filter_request -"/sheets:v4/ClearBasicFilterRequest/sheetId": sheet_id -"/sheets:v4/BatchUpdateSpreadsheetResponse": batch_update_spreadsheet_response -"/sheets:v4/BatchUpdateSpreadsheetResponse/updatedSpreadsheet": updated_spreadsheet -"/sheets:v4/BatchUpdateSpreadsheetResponse/replies": replies -"/sheets:v4/BatchUpdateSpreadsheetResponse/replies/reply": reply -"/sheets:v4/BatchUpdateSpreadsheetResponse/spreadsheetId": spreadsheet_id -"/sheets:v4/DeleteBandingRequest": delete_banding_request -"/sheets:v4/DeleteBandingRequest/bandedRangeId": banded_range_id "/sheets:v4/AppendValuesResponse": append_values_response -"/sheets:v4/AppendValuesResponse/updates": updates -"/sheets:v4/AppendValuesResponse/tableRange": table_range "/sheets:v4/AppendValuesResponse/spreadsheetId": spreadsheet_id -"/sheets:v4/MoveDimensionRequest": move_dimension_request -"/sheets:v4/MoveDimensionRequest/destinationIndex": destination_index -"/sheets:v4/MoveDimensionRequest/source": source -"/sheets:v4/PivotFilterCriteria": pivot_filter_criteria -"/sheets:v4/PivotFilterCriteria/visibleValues": visible_values -"/sheets:v4/PivotFilterCriteria/visibleValues/visible_value": visible_value -"/sheets:v4/AddFilterViewRequest": add_filter_view_request -"/sheets:v4/AddFilterViewRequest/filter": filter -"/sheets:v4/AddConditionalFormatRuleRequest": add_conditional_format_rule_request -"/sheets:v4/AddConditionalFormatRuleRequest/rule": rule -"/sheets:v4/AddConditionalFormatRuleRequest/index": index -"/sheets:v4/ChartSpec": chart_spec -"/sheets:v4/ChartSpec/title": title -"/sheets:v4/ChartSpec/histogramChart": histogram_chart -"/sheets:v4/ChartSpec/candlestickChart": candlestick_chart -"/sheets:v4/ChartSpec/bubbleChart": bubble_chart -"/sheets:v4/ChartSpec/fontName": font_name -"/sheets:v4/ChartSpec/maximized": maximized -"/sheets:v4/ChartSpec/hiddenDimensionStrategy": hidden_dimension_strategy -"/sheets:v4/ChartSpec/backgroundColor": background_color -"/sheets:v4/ChartSpec/basicChart": basic_chart -"/sheets:v4/ChartSpec/orgChart": org_chart -"/sheets:v4/ChartSpec/pieChart": pie_chart -"/sheets:v4/ChartSpec/titleTextFormat": title_text_format -"/sheets:v4/NumberFormat": number_format -"/sheets:v4/NumberFormat/pattern": pattern -"/sheets:v4/NumberFormat/type": type -"/sheets:v4/CandlestickDomain": candlestick_domain -"/sheets:v4/CandlestickDomain/reversed": reversed -"/sheets:v4/CandlestickDomain/data": data -"/sheets:v4/SheetProperties": sheet_properties -"/sheets:v4/SheetProperties/tabColor": tab_color -"/sheets:v4/SheetProperties/index": index -"/sheets:v4/SheetProperties/sheetId": sheet_id -"/sheets:v4/SheetProperties/rightToLeft": right_to_left -"/sheets:v4/SheetProperties/hidden": hidden -"/sheets:v4/SheetProperties/sheetType": sheet_type -"/sheets:v4/SheetProperties/gridProperties": grid_properties -"/sheets:v4/SheetProperties/title": title -"/sheets:v4/UpdateDimensionPropertiesRequest": update_dimension_properties_request -"/sheets:v4/UpdateDimensionPropertiesRequest/properties": properties -"/sheets:v4/UpdateDimensionPropertiesRequest/range": range -"/sheets:v4/UpdateDimensionPropertiesRequest/fields": fields -"/sheets:v4/SourceAndDestination": source_and_destination -"/sheets:v4/SourceAndDestination/fillLength": fill_length -"/sheets:v4/SourceAndDestination/source": source -"/sheets:v4/SourceAndDestination/dimension": dimension -"/sheets:v4/OrgChartSpec": org_chart_spec -"/sheets:v4/OrgChartSpec/nodeColor": node_color -"/sheets:v4/OrgChartSpec/tooltips": tooltips -"/sheets:v4/OrgChartSpec/selectedNodeColor": selected_node_color -"/sheets:v4/OrgChartSpec/parentLabels": parent_labels -"/sheets:v4/OrgChartSpec/labels": labels -"/sheets:v4/OrgChartSpec/nodeSize": node_size -"/sheets:v4/FilterView": filter_view -"/sheets:v4/FilterView/namedRangeId": named_range_id -"/sheets:v4/FilterView/filterViewId": filter_view_id -"/sheets:v4/FilterView/criteria": criteria -"/sheets:v4/FilterView/criteria/criterium": criterium -"/sheets:v4/FilterView/title": title -"/sheets:v4/FilterView/range": range -"/sheets:v4/FilterView/sortSpecs": sort_specs -"/sheets:v4/FilterView/sortSpecs/sort_spec": sort_spec +"/sheets:v4/AppendValuesResponse/tableRange": table_range +"/sheets:v4/AppendValuesResponse/updates": updates +"/sheets:v4/AutoFillRequest": auto_fill_request +"/sheets:v4/AutoFillRequest/range": range +"/sheets:v4/AutoFillRequest/sourceAndDestination": source_and_destination +"/sheets:v4/AutoFillRequest/useAlternateSeries": use_alternate_series +"/sheets:v4/AutoResizeDimensionsRequest": auto_resize_dimensions_request +"/sheets:v4/AutoResizeDimensionsRequest/dimensions": dimensions +"/sheets:v4/BandedRange": banded_range +"/sheets:v4/BandedRange/bandedRangeId": banded_range_id +"/sheets:v4/BandedRange/columnProperties": column_properties +"/sheets:v4/BandedRange/range": range +"/sheets:v4/BandedRange/rowProperties": row_properties "/sheets:v4/BandingProperties": banding_properties -"/sheets:v4/BandingProperties/secondBandColor": second_band_color +"/sheets:v4/BandingProperties/firstBandColor": first_band_color "/sheets:v4/BandingProperties/footerColor": footer_color "/sheets:v4/BandingProperties/headerColor": header_color -"/sheets:v4/BandingProperties/firstBandColor": first_band_color -"/sheets:v4/CandlestickSeries": candlestick_series -"/sheets:v4/CandlestickSeries/data": data +"/sheets:v4/BandingProperties/secondBandColor": second_band_color +"/sheets:v4/BasicChartAxis": basic_chart_axis +"/sheets:v4/BasicChartAxis/format": format +"/sheets:v4/BasicChartAxis/position": position +"/sheets:v4/BasicChartAxis/title": title +"/sheets:v4/BasicChartDomain": basic_chart_domain +"/sheets:v4/BasicChartDomain/domain": domain +"/sheets:v4/BasicChartDomain/reversed": reversed +"/sheets:v4/BasicChartSeries": basic_chart_series +"/sheets:v4/BasicChartSeries/series": series +"/sheets:v4/BasicChartSeries/targetAxis": target_axis +"/sheets:v4/BasicChartSeries/type": type +"/sheets:v4/BasicChartSpec": basic_chart_spec +"/sheets:v4/BasicChartSpec/axis": axis +"/sheets:v4/BasicChartSpec/axis/axis": axis +"/sheets:v4/BasicChartSpec/chartType": chart_type +"/sheets:v4/BasicChartSpec/domains": domains +"/sheets:v4/BasicChartSpec/domains/domain": domain +"/sheets:v4/BasicChartSpec/headerCount": header_count +"/sheets:v4/BasicChartSpec/interpolateNulls": interpolate_nulls +"/sheets:v4/BasicChartSpec/legendPosition": legend_position +"/sheets:v4/BasicChartSpec/lineSmoothing": line_smoothing +"/sheets:v4/BasicChartSpec/series": series +"/sheets:v4/BasicChartSpec/series/series": series +"/sheets:v4/BasicChartSpec/stackedType": stacked_type +"/sheets:v4/BasicChartSpec/threeDimensional": three_dimensional "/sheets:v4/BasicFilter": basic_filter -"/sheets:v4/BasicFilter/sortSpecs": sort_specs -"/sheets:v4/BasicFilter/sortSpecs/sort_spec": sort_spec "/sheets:v4/BasicFilter/criteria": criteria "/sheets:v4/BasicFilter/criteria/criterium": criterium "/sheets:v4/BasicFilter/range": range -"/sheets:v4/AddProtectedRangeResponse": add_protected_range_response -"/sheets:v4/AddProtectedRangeResponse/protectedRange": protected_range -"/sheets:v4/HistogramChartSpec": histogram_chart_spec -"/sheets:v4/HistogramChartSpec/outlierPercentile": outlier_percentile -"/sheets:v4/HistogramChartSpec/showItemDividers": show_item_dividers -"/sheets:v4/HistogramChartSpec/series": series -"/sheets:v4/HistogramChartSpec/series/series": series -"/sheets:v4/HistogramChartSpec/legendPosition": legend_position -"/sheets:v4/HistogramChartSpec/bucketSize": bucket_size -"/sheets:v4/UpdateValuesResponse": update_values_response -"/sheets:v4/UpdateValuesResponse/updatedData": updated_data -"/sheets:v4/UpdateValuesResponse/updatedRows": updated_rows -"/sheets:v4/UpdateValuesResponse/updatedColumns": updated_columns -"/sheets:v4/UpdateValuesResponse/spreadsheetId": spreadsheet_id -"/sheets:v4/UpdateValuesResponse/updatedRange": updated_range -"/sheets:v4/UpdateValuesResponse/updatedCells": updated_cells -"/sheets:v4/ErrorValue": error_value -"/sheets:v4/ErrorValue/message": message -"/sheets:v4/ErrorValue/type": type -"/sheets:v4/PivotValue": pivot_value -"/sheets:v4/PivotValue/formula": formula -"/sheets:v4/PivotValue/summarizeFunction": summarize_function -"/sheets:v4/PivotValue/sourceColumnOffset": source_column_offset -"/sheets:v4/PivotValue/name": name -"/sheets:v4/CopySheetToAnotherSpreadsheetRequest": copy_sheet_to_another_spreadsheet_request -"/sheets:v4/CopySheetToAnotherSpreadsheetRequest/destinationSpreadsheetId": destination_spreadsheet_id -"/sheets:v4/PivotGroupSortValueBucket": pivot_group_sort_value_bucket -"/sheets:v4/PivotGroupSortValueBucket/buckets": buckets -"/sheets:v4/PivotGroupSortValueBucket/buckets/bucket": bucket -"/sheets:v4/PivotGroupSortValueBucket/valuesIndex": values_index +"/sheets:v4/BasicFilter/sortSpecs": sort_specs +"/sheets:v4/BasicFilter/sortSpecs/sort_spec": sort_spec +"/sheets:v4/BatchClearValuesRequest": batch_clear_values_request +"/sheets:v4/BatchClearValuesRequest/ranges": ranges +"/sheets:v4/BatchClearValuesRequest/ranges/range": range +"/sheets:v4/BatchClearValuesResponse": batch_clear_values_response +"/sheets:v4/BatchClearValuesResponse/clearedRanges": cleared_ranges +"/sheets:v4/BatchClearValuesResponse/clearedRanges/cleared_range": cleared_range +"/sheets:v4/BatchClearValuesResponse/spreadsheetId": spreadsheet_id +"/sheets:v4/BatchGetValuesResponse": batch_get_values_response +"/sheets:v4/BatchGetValuesResponse/spreadsheetId": spreadsheet_id +"/sheets:v4/BatchGetValuesResponse/valueRanges": value_ranges +"/sheets:v4/BatchGetValuesResponse/valueRanges/value_range": value_range +"/sheets:v4/BatchUpdateSpreadsheetRequest": batch_update_spreadsheet_request +"/sheets:v4/BatchUpdateSpreadsheetRequest/includeSpreadsheetInResponse": include_spreadsheet_in_response +"/sheets:v4/BatchUpdateSpreadsheetRequest/requests": requests +"/sheets:v4/BatchUpdateSpreadsheetRequest/requests/request": request +"/sheets:v4/BatchUpdateSpreadsheetRequest/responseIncludeGridData": response_include_grid_data +"/sheets:v4/BatchUpdateSpreadsheetRequest/responseRanges": response_ranges +"/sheets:v4/BatchUpdateSpreadsheetRequest/responseRanges/response_range": response_range +"/sheets:v4/BatchUpdateSpreadsheetResponse": batch_update_spreadsheet_response +"/sheets:v4/BatchUpdateSpreadsheetResponse/replies": replies +"/sheets:v4/BatchUpdateSpreadsheetResponse/replies/reply": reply +"/sheets:v4/BatchUpdateSpreadsheetResponse/spreadsheetId": spreadsheet_id +"/sheets:v4/BatchUpdateSpreadsheetResponse/updatedSpreadsheet": updated_spreadsheet +"/sheets:v4/BatchUpdateValuesRequest": batch_update_values_request +"/sheets:v4/BatchUpdateValuesRequest/data": data +"/sheets:v4/BatchUpdateValuesRequest/data/datum": datum +"/sheets:v4/BatchUpdateValuesRequest/includeValuesInResponse": include_values_in_response +"/sheets:v4/BatchUpdateValuesRequest/responseDateTimeRenderOption": response_date_time_render_option +"/sheets:v4/BatchUpdateValuesRequest/responseValueRenderOption": response_value_render_option +"/sheets:v4/BatchUpdateValuesRequest/valueInputOption": value_input_option +"/sheets:v4/BatchUpdateValuesResponse": batch_update_values_response +"/sheets:v4/BatchUpdateValuesResponse/responses": responses +"/sheets:v4/BatchUpdateValuesResponse/responses/response": response +"/sheets:v4/BatchUpdateValuesResponse/spreadsheetId": spreadsheet_id +"/sheets:v4/BatchUpdateValuesResponse/totalUpdatedCells": total_updated_cells +"/sheets:v4/BatchUpdateValuesResponse/totalUpdatedColumns": total_updated_columns +"/sheets:v4/BatchUpdateValuesResponse/totalUpdatedRows": total_updated_rows +"/sheets:v4/BatchUpdateValuesResponse/totalUpdatedSheets": total_updated_sheets +"/sheets:v4/BooleanCondition": boolean_condition +"/sheets:v4/BooleanCondition/type": type +"/sheets:v4/BooleanCondition/values": values +"/sheets:v4/BooleanCondition/values/value": value +"/sheets:v4/BooleanRule": boolean_rule +"/sheets:v4/BooleanRule/condition": condition +"/sheets:v4/BooleanRule/format": format +"/sheets:v4/Border": border +"/sheets:v4/Border/color": color +"/sheets:v4/Border/style": style +"/sheets:v4/Border/width": width +"/sheets:v4/Borders": borders +"/sheets:v4/Borders/bottom": bottom +"/sheets:v4/Borders/left": left +"/sheets:v4/Borders/right": right +"/sheets:v4/Borders/top": top +"/sheets:v4/BubbleChartSpec": bubble_chart_spec +"/sheets:v4/BubbleChartSpec/bubbleBorderColor": bubble_border_color +"/sheets:v4/BubbleChartSpec/bubbleLabels": bubble_labels +"/sheets:v4/BubbleChartSpec/bubbleMaxRadiusSize": bubble_max_radius_size +"/sheets:v4/BubbleChartSpec/bubbleMinRadiusSize": bubble_min_radius_size +"/sheets:v4/BubbleChartSpec/bubbleOpacity": bubble_opacity +"/sheets:v4/BubbleChartSpec/bubbleSizes": bubble_sizes +"/sheets:v4/BubbleChartSpec/bubbleTextStyle": bubble_text_style +"/sheets:v4/BubbleChartSpec/domain": domain +"/sheets:v4/BubbleChartSpec/groupIds": group_ids +"/sheets:v4/BubbleChartSpec/legendPosition": legend_position +"/sheets:v4/BubbleChartSpec/series": series "/sheets:v4/CandlestickChartSpec": candlestick_chart_spec "/sheets:v4/CandlestickChartSpec/data": data "/sheets:v4/CandlestickChartSpec/data/datum": datum "/sheets:v4/CandlestickChartSpec/domain": domain "/sheets:v4/CandlestickData": candlestick_data "/sheets:v4/CandlestickData/closeSeries": close_series +"/sheets:v4/CandlestickData/highSeries": high_series "/sheets:v4/CandlestickData/lowSeries": low_series "/sheets:v4/CandlestickData/openSeries": open_series -"/sheets:v4/CandlestickData/highSeries": high_series +"/sheets:v4/CandlestickDomain": candlestick_domain +"/sheets:v4/CandlestickDomain/data": data +"/sheets:v4/CandlestickDomain/reversed": reversed +"/sheets:v4/CandlestickSeries": candlestick_series +"/sheets:v4/CandlestickSeries/data": data +"/sheets:v4/CellData": cell_data +"/sheets:v4/CellData/dataValidation": data_validation +"/sheets:v4/CellData/effectiveFormat": effective_format +"/sheets:v4/CellData/effectiveValue": effective_value +"/sheets:v4/CellData/formattedValue": formatted_value +"/sheets:v4/CellData/hyperlink": hyperlink +"/sheets:v4/CellData/note": note +"/sheets:v4/CellData/pivotTable": pivot_table +"/sheets:v4/CellData/textFormatRuns": text_format_runs +"/sheets:v4/CellData/textFormatRuns/text_format_run": text_format_run +"/sheets:v4/CellData/userEnteredFormat": user_entered_format +"/sheets:v4/CellData/userEnteredValue": user_entered_value +"/sheets:v4/CellFormat": cell_format +"/sheets:v4/CellFormat/backgroundColor": background_color +"/sheets:v4/CellFormat/borders": borders +"/sheets:v4/CellFormat/horizontalAlignment": horizontal_alignment +"/sheets:v4/CellFormat/hyperlinkDisplayType": hyperlink_display_type +"/sheets:v4/CellFormat/numberFormat": number_format +"/sheets:v4/CellFormat/padding": padding +"/sheets:v4/CellFormat/textDirection": text_direction +"/sheets:v4/CellFormat/textFormat": text_format +"/sheets:v4/CellFormat/textRotation": text_rotation +"/sheets:v4/CellFormat/verticalAlignment": vertical_alignment +"/sheets:v4/CellFormat/wrapStrategy": wrap_strategy +"/sheets:v4/ChartData": chart_data +"/sheets:v4/ChartData/sourceRange": source_range +"/sheets:v4/ChartSourceRange": chart_source_range +"/sheets:v4/ChartSourceRange/sources": sources +"/sheets:v4/ChartSourceRange/sources/source": source +"/sheets:v4/ChartSpec": chart_spec +"/sheets:v4/ChartSpec/altText": alt_text +"/sheets:v4/ChartSpec/backgroundColor": background_color +"/sheets:v4/ChartSpec/basicChart": basic_chart +"/sheets:v4/ChartSpec/bubbleChart": bubble_chart +"/sheets:v4/ChartSpec/candlestickChart": candlestick_chart +"/sheets:v4/ChartSpec/fontName": font_name +"/sheets:v4/ChartSpec/hiddenDimensionStrategy": hidden_dimension_strategy +"/sheets:v4/ChartSpec/histogramChart": histogram_chart +"/sheets:v4/ChartSpec/maximized": maximized +"/sheets:v4/ChartSpec/orgChart": org_chart +"/sheets:v4/ChartSpec/pieChart": pie_chart +"/sheets:v4/ChartSpec/title": title +"/sheets:v4/ChartSpec/titleTextFormat": title_text_format +"/sheets:v4/ClearBasicFilterRequest": clear_basic_filter_request +"/sheets:v4/ClearBasicFilterRequest/sheetId": sheet_id +"/sheets:v4/ClearValuesRequest": clear_values_request +"/sheets:v4/ClearValuesResponse": clear_values_response +"/sheets:v4/ClearValuesResponse/clearedRange": cleared_range +"/sheets:v4/ClearValuesResponse/spreadsheetId": spreadsheet_id +"/sheets:v4/Color": color +"/sheets:v4/Color/alpha": alpha +"/sheets:v4/Color/blue": blue +"/sheets:v4/Color/green": green +"/sheets:v4/Color/red": red +"/sheets:v4/ConditionValue": condition_value +"/sheets:v4/ConditionValue/relativeDate": relative_date +"/sheets:v4/ConditionValue/userEnteredValue": user_entered_value +"/sheets:v4/ConditionalFormatRule": conditional_format_rule +"/sheets:v4/ConditionalFormatRule/booleanRule": boolean_rule +"/sheets:v4/ConditionalFormatRule/gradientRule": gradient_rule +"/sheets:v4/ConditionalFormatRule/ranges": ranges +"/sheets:v4/ConditionalFormatRule/ranges/range": range +"/sheets:v4/CopyPasteRequest": copy_paste_request +"/sheets:v4/CopyPasteRequest/destination": destination +"/sheets:v4/CopyPasteRequest/pasteOrientation": paste_orientation +"/sheets:v4/CopyPasteRequest/pasteType": paste_type +"/sheets:v4/CopyPasteRequest/source": source +"/sheets:v4/CopySheetToAnotherSpreadsheetRequest": copy_sheet_to_another_spreadsheet_request +"/sheets:v4/CopySheetToAnotherSpreadsheetRequest/destinationSpreadsheetId": destination_spreadsheet_id +"/sheets:v4/CutPasteRequest": cut_paste_request +"/sheets:v4/CutPasteRequest/destination": destination +"/sheets:v4/CutPasteRequest/pasteType": paste_type +"/sheets:v4/CutPasteRequest/source": source +"/sheets:v4/DataValidationRule": data_validation_rule +"/sheets:v4/DataValidationRule/condition": condition +"/sheets:v4/DataValidationRule/inputMessage": input_message +"/sheets:v4/DataValidationRule/showCustomUi": show_custom_ui +"/sheets:v4/DataValidationRule/strict": strict +"/sheets:v4/DeleteBandingRequest": delete_banding_request +"/sheets:v4/DeleteBandingRequest/bandedRangeId": banded_range_id +"/sheets:v4/DeleteConditionalFormatRuleRequest": delete_conditional_format_rule_request +"/sheets:v4/DeleteConditionalFormatRuleRequest/index": index +"/sheets:v4/DeleteConditionalFormatRuleRequest/sheetId": sheet_id +"/sheets:v4/DeleteConditionalFormatRuleResponse": delete_conditional_format_rule_response +"/sheets:v4/DeleteConditionalFormatRuleResponse/rule": rule +"/sheets:v4/DeleteDimensionRequest": delete_dimension_request +"/sheets:v4/DeleteDimensionRequest/range": range +"/sheets:v4/DeleteEmbeddedObjectRequest": delete_embedded_object_request +"/sheets:v4/DeleteEmbeddedObjectRequest/objectId": object_id_prop +"/sheets:v4/DeleteFilterViewRequest": delete_filter_view_request +"/sheets:v4/DeleteFilterViewRequest/filterId": filter_id +"/sheets:v4/DeleteNamedRangeRequest": delete_named_range_request +"/sheets:v4/DeleteNamedRangeRequest/namedRangeId": named_range_id +"/sheets:v4/DeleteProtectedRangeRequest": delete_protected_range_request +"/sheets:v4/DeleteProtectedRangeRequest/protectedRangeId": protected_range_id +"/sheets:v4/DeleteRangeRequest": delete_range_request +"/sheets:v4/DeleteRangeRequest/range": range +"/sheets:v4/DeleteRangeRequest/shiftDimension": shift_dimension +"/sheets:v4/DeleteSheetRequest": delete_sheet_request +"/sheets:v4/DeleteSheetRequest/sheetId": sheet_id +"/sheets:v4/DimensionProperties": dimension_properties +"/sheets:v4/DimensionProperties/hiddenByFilter": hidden_by_filter +"/sheets:v4/DimensionProperties/hiddenByUser": hidden_by_user +"/sheets:v4/DimensionProperties/pixelSize": pixel_size +"/sheets:v4/DimensionRange": dimension_range +"/sheets:v4/DimensionRange/dimension": dimension +"/sheets:v4/DimensionRange/endIndex": end_index +"/sheets:v4/DimensionRange/sheetId": sheet_id +"/sheets:v4/DimensionRange/startIndex": start_index +"/sheets:v4/DuplicateFilterViewRequest": duplicate_filter_view_request +"/sheets:v4/DuplicateFilterViewRequest/filterId": filter_id +"/sheets:v4/DuplicateFilterViewResponse": duplicate_filter_view_response +"/sheets:v4/DuplicateFilterViewResponse/filter": filter +"/sheets:v4/DuplicateSheetRequest": duplicate_sheet_request +"/sheets:v4/DuplicateSheetRequest/insertSheetIndex": insert_sheet_index +"/sheets:v4/DuplicateSheetRequest/newSheetId": new_sheet_id +"/sheets:v4/DuplicateSheetRequest/newSheetName": new_sheet_name +"/sheets:v4/DuplicateSheetRequest/sourceSheetId": source_sheet_id +"/sheets:v4/DuplicateSheetResponse": duplicate_sheet_response +"/sheets:v4/DuplicateSheetResponse/properties": properties +"/sheets:v4/Editors": editors +"/sheets:v4/Editors/domainUsersCanEdit": domain_users_can_edit +"/sheets:v4/Editors/groups": groups +"/sheets:v4/Editors/groups/group": group +"/sheets:v4/Editors/users": users +"/sheets:v4/Editors/users/user": user +"/sheets:v4/EmbeddedChart": embedded_chart +"/sheets:v4/EmbeddedChart/chartId": chart_id +"/sheets:v4/EmbeddedChart/position": position +"/sheets:v4/EmbeddedChart/spec": spec "/sheets:v4/EmbeddedObjectPosition": embedded_object_position "/sheets:v4/EmbeddedObjectPosition/newSheet": new_sheet "/sheets:v4/EmbeddedObjectPosition/overlayPosition": overlay_position "/sheets:v4/EmbeddedObjectPosition/sheetId": sheet_id -"/sheets:v4/DeleteProtectedRangeRequest": delete_protected_range_request -"/sheets:v4/DeleteProtectedRangeRequest/protectedRangeId": protected_range_id -"/sheets:v4/AutoFillRequest": auto_fill_request -"/sheets:v4/AutoFillRequest/useAlternateSeries": use_alternate_series -"/sheets:v4/AutoFillRequest/sourceAndDestination": source_and_destination -"/sheets:v4/AutoFillRequest/range": range +"/sheets:v4/ErrorValue": error_value +"/sheets:v4/ErrorValue/message": message +"/sheets:v4/ErrorValue/type": type +"/sheets:v4/ExtendedValue": extended_value +"/sheets:v4/ExtendedValue/boolValue": bool_value +"/sheets:v4/ExtendedValue/errorValue": error_value +"/sheets:v4/ExtendedValue/formulaValue": formula_value +"/sheets:v4/ExtendedValue/numberValue": number_value +"/sheets:v4/ExtendedValue/stringValue": string_value +"/sheets:v4/FilterCriteria": filter_criteria +"/sheets:v4/FilterCriteria/condition": condition +"/sheets:v4/FilterCriteria/hiddenValues": hidden_values +"/sheets:v4/FilterCriteria/hiddenValues/hidden_value": hidden_value +"/sheets:v4/FilterView": filter_view +"/sheets:v4/FilterView/criteria": criteria +"/sheets:v4/FilterView/criteria/criterium": criterium +"/sheets:v4/FilterView/filterViewId": filter_view_id +"/sheets:v4/FilterView/namedRangeId": named_range_id +"/sheets:v4/FilterView/range": range +"/sheets:v4/FilterView/sortSpecs": sort_specs +"/sheets:v4/FilterView/sortSpecs/sort_spec": sort_spec +"/sheets:v4/FilterView/title": title +"/sheets:v4/FindReplaceRequest": find_replace_request +"/sheets:v4/FindReplaceRequest/allSheets": all_sheets +"/sheets:v4/FindReplaceRequest/find": find +"/sheets:v4/FindReplaceRequest/includeFormulas": include_formulas +"/sheets:v4/FindReplaceRequest/matchCase": match_case +"/sheets:v4/FindReplaceRequest/matchEntireCell": match_entire_cell +"/sheets:v4/FindReplaceRequest/range": range +"/sheets:v4/FindReplaceRequest/replacement": replacement +"/sheets:v4/FindReplaceRequest/searchByRegex": search_by_regex +"/sheets:v4/FindReplaceRequest/sheetId": sheet_id +"/sheets:v4/FindReplaceResponse": find_replace_response +"/sheets:v4/FindReplaceResponse/formulasChanged": formulas_changed +"/sheets:v4/FindReplaceResponse/occurrencesChanged": occurrences_changed +"/sheets:v4/FindReplaceResponse/rowsChanged": rows_changed +"/sheets:v4/FindReplaceResponse/sheetsChanged": sheets_changed +"/sheets:v4/FindReplaceResponse/valuesChanged": values_changed "/sheets:v4/GradientRule": gradient_rule -"/sheets:v4/GradientRule/midpoint": midpoint "/sheets:v4/GradientRule/maxpoint": maxpoint +"/sheets:v4/GradientRule/midpoint": midpoint "/sheets:v4/GradientRule/minpoint": minpoint -"/sheets:v4/SetBasicFilterRequest": set_basic_filter_request -"/sheets:v4/SetBasicFilterRequest/filter": filter -"/sheets:v4/ClearValuesRequest": clear_values_request +"/sheets:v4/GridCoordinate": grid_coordinate +"/sheets:v4/GridCoordinate/columnIndex": column_index +"/sheets:v4/GridCoordinate/rowIndex": row_index +"/sheets:v4/GridCoordinate/sheetId": sheet_id +"/sheets:v4/GridData": grid_data +"/sheets:v4/GridData/columnMetadata": column_metadata +"/sheets:v4/GridData/columnMetadata/column_metadatum": column_metadatum +"/sheets:v4/GridData/rowData": row_data +"/sheets:v4/GridData/rowData/row_datum": row_datum +"/sheets:v4/GridData/rowMetadata": row_metadata +"/sheets:v4/GridData/rowMetadata/row_metadatum": row_metadatum +"/sheets:v4/GridData/startColumn": start_column +"/sheets:v4/GridData/startRow": start_row +"/sheets:v4/GridProperties": grid_properties +"/sheets:v4/GridProperties/columnCount": column_count +"/sheets:v4/GridProperties/frozenColumnCount": frozen_column_count +"/sheets:v4/GridProperties/frozenRowCount": frozen_row_count +"/sheets:v4/GridProperties/hideGridlines": hide_gridlines +"/sheets:v4/GridProperties/rowCount": row_count +"/sheets:v4/GridRange": grid_range +"/sheets:v4/GridRange/endColumnIndex": end_column_index +"/sheets:v4/GridRange/endRowIndex": end_row_index +"/sheets:v4/GridRange/sheetId": sheet_id +"/sheets:v4/GridRange/startColumnIndex": start_column_index +"/sheets:v4/GridRange/startRowIndex": start_row_index +"/sheets:v4/HistogramChartSpec": histogram_chart_spec +"/sheets:v4/HistogramChartSpec/bucketSize": bucket_size +"/sheets:v4/HistogramChartSpec/legendPosition": legend_position +"/sheets:v4/HistogramChartSpec/outlierPercentile": outlier_percentile +"/sheets:v4/HistogramChartSpec/series": series +"/sheets:v4/HistogramChartSpec/series/series": series +"/sheets:v4/HistogramChartSpec/showItemDividers": show_item_dividers +"/sheets:v4/HistogramSeries": histogram_series +"/sheets:v4/HistogramSeries/barColor": bar_color +"/sheets:v4/HistogramSeries/data": data +"/sheets:v4/InsertDimensionRequest": insert_dimension_request +"/sheets:v4/InsertDimensionRequest/inheritFromBefore": inherit_from_before +"/sheets:v4/InsertDimensionRequest/range": range +"/sheets:v4/InsertRangeRequest": insert_range_request +"/sheets:v4/InsertRangeRequest/range": range +"/sheets:v4/InsertRangeRequest/shiftDimension": shift_dimension "/sheets:v4/InterpolationPoint": interpolation_point "/sheets:v4/InterpolationPoint/color": color "/sheets:v4/InterpolationPoint/type": type "/sheets:v4/InterpolationPoint/value": value -"/sheets:v4/FindReplaceResponse": find_replace_response -"/sheets:v4/FindReplaceResponse/sheetsChanged": sheets_changed -"/sheets:v4/FindReplaceResponse/formulasChanged": formulas_changed -"/sheets:v4/FindReplaceResponse/valuesChanged": values_changed -"/sheets:v4/FindReplaceResponse/occurrencesChanged": occurrences_changed -"/sheets:v4/FindReplaceResponse/rowsChanged": rows_changed -"/sheets:v4/DeleteEmbeddedObjectRequest": delete_embedded_object_request -"/sheets:v4/DeleteEmbeddedObjectRequest/objectId": object_id_prop -"/sheets:v4/DuplicateFilterViewRequest": duplicate_filter_view_request -"/sheets:v4/DuplicateFilterViewRequest/filterId": filter_id -"/sheets:v4/DeleteSheetRequest": delete_sheet_request -"/sheets:v4/DeleteSheetRequest/sheetId": sheet_id -"/sheets:v4/UpdateConditionalFormatRuleResponse": update_conditional_format_rule_response -"/sheets:v4/UpdateConditionalFormatRuleResponse/oldRule": old_rule -"/sheets:v4/UpdateConditionalFormatRuleResponse/newIndex": new_index -"/sheets:v4/UpdateConditionalFormatRuleResponse/newRule": new_rule -"/sheets:v4/UpdateConditionalFormatRuleResponse/oldIndex": old_index -"/sheets:v4/DuplicateSheetRequest": duplicate_sheet_request -"/sheets:v4/DuplicateSheetRequest/sourceSheetId": source_sheet_id -"/sheets:v4/DuplicateSheetRequest/newSheetId": new_sheet_id -"/sheets:v4/DuplicateSheetRequest/insertSheetIndex": insert_sheet_index -"/sheets:v4/DuplicateSheetRequest/newSheetName": new_sheet_name -"/sheets:v4/ConditionValue": condition_value -"/sheets:v4/ConditionValue/userEnteredValue": user_entered_value -"/sheets:v4/ConditionValue/relativeDate": relative_date -"/sheets:v4/ExtendedValue": extended_value -"/sheets:v4/ExtendedValue/errorValue": error_value -"/sheets:v4/ExtendedValue/formulaValue": formula_value -"/sheets:v4/ExtendedValue/boolValue": bool_value -"/sheets:v4/ExtendedValue/stringValue": string_value -"/sheets:v4/ExtendedValue/numberValue": number_value -"/sheets:v4/AddChartRequest": add_chart_request -"/sheets:v4/AddChartRequest/chart": chart +"/sheets:v4/IterativeCalculationSettings": iterative_calculation_settings +"/sheets:v4/IterativeCalculationSettings/convergenceThreshold": convergence_threshold +"/sheets:v4/IterativeCalculationSettings/maxIterations": max_iterations +"/sheets:v4/MergeCellsRequest": merge_cells_request +"/sheets:v4/MergeCellsRequest/mergeType": merge_type +"/sheets:v4/MergeCellsRequest/range": range +"/sheets:v4/MoveDimensionRequest": move_dimension_request +"/sheets:v4/MoveDimensionRequest/destinationIndex": destination_index +"/sheets:v4/MoveDimensionRequest/source": source +"/sheets:v4/NamedRange": named_range +"/sheets:v4/NamedRange/name": name +"/sheets:v4/NamedRange/namedRangeId": named_range_id +"/sheets:v4/NamedRange/range": range +"/sheets:v4/NumberFormat": number_format +"/sheets:v4/NumberFormat/pattern": pattern +"/sheets:v4/NumberFormat/type": type +"/sheets:v4/OrgChartSpec": org_chart_spec +"/sheets:v4/OrgChartSpec/labels": labels +"/sheets:v4/OrgChartSpec/nodeColor": node_color +"/sheets:v4/OrgChartSpec/nodeSize": node_size +"/sheets:v4/OrgChartSpec/parentLabels": parent_labels +"/sheets:v4/OrgChartSpec/selectedNodeColor": selected_node_color +"/sheets:v4/OrgChartSpec/tooltips": tooltips +"/sheets:v4/OverlayPosition": overlay_position +"/sheets:v4/OverlayPosition/anchorCell": anchor_cell +"/sheets:v4/OverlayPosition/heightPixels": height_pixels +"/sheets:v4/OverlayPosition/offsetXPixels": offset_x_pixels +"/sheets:v4/OverlayPosition/offsetYPixels": offset_y_pixels +"/sheets:v4/OverlayPosition/widthPixels": width_pixels +"/sheets:v4/Padding": padding +"/sheets:v4/Padding/bottom": bottom +"/sheets:v4/Padding/left": left +"/sheets:v4/Padding/right": right +"/sheets:v4/Padding/top": top +"/sheets:v4/PasteDataRequest": paste_data_request +"/sheets:v4/PasteDataRequest/coordinate": coordinate +"/sheets:v4/PasteDataRequest/data": data +"/sheets:v4/PasteDataRequest/delimiter": delimiter +"/sheets:v4/PasteDataRequest/html": html +"/sheets:v4/PasteDataRequest/type": type +"/sheets:v4/PieChartSpec": pie_chart_spec +"/sheets:v4/PieChartSpec/domain": domain +"/sheets:v4/PieChartSpec/legendPosition": legend_position +"/sheets:v4/PieChartSpec/pieHole": pie_hole +"/sheets:v4/PieChartSpec/series": series +"/sheets:v4/PieChartSpec/threeDimensional": three_dimensional +"/sheets:v4/PivotFilterCriteria": pivot_filter_criteria +"/sheets:v4/PivotFilterCriteria/visibleValues": visible_values +"/sheets:v4/PivotFilterCriteria/visibleValues/visible_value": visible_value +"/sheets:v4/PivotGroup": pivot_group +"/sheets:v4/PivotGroup/showTotals": show_totals +"/sheets:v4/PivotGroup/sortOrder": sort_order +"/sheets:v4/PivotGroup/sourceColumnOffset": source_column_offset +"/sheets:v4/PivotGroup/valueBucket": value_bucket +"/sheets:v4/PivotGroup/valueMetadata": value_metadata +"/sheets:v4/PivotGroup/valueMetadata/value_metadatum": value_metadatum +"/sheets:v4/PivotGroupSortValueBucket": pivot_group_sort_value_bucket +"/sheets:v4/PivotGroupSortValueBucket/buckets": buckets +"/sheets:v4/PivotGroupSortValueBucket/buckets/bucket": bucket +"/sheets:v4/PivotGroupSortValueBucket/valuesIndex": values_index +"/sheets:v4/PivotGroupValueMetadata": pivot_group_value_metadata +"/sheets:v4/PivotGroupValueMetadata/collapsed": collapsed +"/sheets:v4/PivotGroupValueMetadata/value": value +"/sheets:v4/PivotTable": pivot_table +"/sheets:v4/PivotTable/columns": columns +"/sheets:v4/PivotTable/columns/column": column +"/sheets:v4/PivotTable/criteria": criteria +"/sheets:v4/PivotTable/criteria/criterium": criterium +"/sheets:v4/PivotTable/rows": rows +"/sheets:v4/PivotTable/rows/row": row +"/sheets:v4/PivotTable/source": source +"/sheets:v4/PivotTable/valueLayout": value_layout +"/sheets:v4/PivotTable/values": values +"/sheets:v4/PivotTable/values/value": value +"/sheets:v4/PivotValue": pivot_value +"/sheets:v4/PivotValue/formula": formula +"/sheets:v4/PivotValue/name": name +"/sheets:v4/PivotValue/sourceColumnOffset": source_column_offset +"/sheets:v4/PivotValue/summarizeFunction": summarize_function +"/sheets:v4/ProtectedRange": protected_range +"/sheets:v4/ProtectedRange/description": description +"/sheets:v4/ProtectedRange/editors": editors +"/sheets:v4/ProtectedRange/namedRangeId": named_range_id +"/sheets:v4/ProtectedRange/protectedRangeId": protected_range_id +"/sheets:v4/ProtectedRange/range": range +"/sheets:v4/ProtectedRange/requestingUserCanEdit": requesting_user_can_edit +"/sheets:v4/ProtectedRange/unprotectedRanges": unprotected_ranges +"/sheets:v4/ProtectedRange/unprotectedRanges/unprotected_range": unprotected_range +"/sheets:v4/ProtectedRange/warningOnly": warning_only +"/sheets:v4/RandomizeRangeRequest": randomize_range_request +"/sheets:v4/RandomizeRangeRequest/range": range +"/sheets:v4/RepeatCellRequest": repeat_cell_request +"/sheets:v4/RepeatCellRequest/cell": cell +"/sheets:v4/RepeatCellRequest/fields": fields +"/sheets:v4/RepeatCellRequest/range": range +"/sheets:v4/Request": request +"/sheets:v4/Request/addBanding": add_banding +"/sheets:v4/Request/addChart": add_chart +"/sheets:v4/Request/addConditionalFormatRule": add_conditional_format_rule +"/sheets:v4/Request/addFilterView": add_filter_view +"/sheets:v4/Request/addNamedRange": add_named_range +"/sheets:v4/Request/addProtectedRange": add_protected_range +"/sheets:v4/Request/addSheet": add_sheet +"/sheets:v4/Request/appendCells": append_cells +"/sheets:v4/Request/appendDimension": append_dimension +"/sheets:v4/Request/autoFill": auto_fill +"/sheets:v4/Request/autoResizeDimensions": auto_resize_dimensions +"/sheets:v4/Request/clearBasicFilter": clear_basic_filter +"/sheets:v4/Request/copyPaste": copy_paste +"/sheets:v4/Request/cutPaste": cut_paste +"/sheets:v4/Request/deleteBanding": delete_banding +"/sheets:v4/Request/deleteConditionalFormatRule": delete_conditional_format_rule +"/sheets:v4/Request/deleteDimension": delete_dimension +"/sheets:v4/Request/deleteEmbeddedObject": delete_embedded_object +"/sheets:v4/Request/deleteFilterView": delete_filter_view +"/sheets:v4/Request/deleteNamedRange": delete_named_range +"/sheets:v4/Request/deleteProtectedRange": delete_protected_range +"/sheets:v4/Request/deleteRange": delete_range +"/sheets:v4/Request/deleteSheet": delete_sheet +"/sheets:v4/Request/duplicateFilterView": duplicate_filter_view +"/sheets:v4/Request/duplicateSheet": duplicate_sheet +"/sheets:v4/Request/findReplace": find_replace +"/sheets:v4/Request/insertDimension": insert_dimension +"/sheets:v4/Request/insertRange": insert_range +"/sheets:v4/Request/mergeCells": merge_cells +"/sheets:v4/Request/moveDimension": move_dimension +"/sheets:v4/Request/pasteData": paste_data +"/sheets:v4/Request/randomizeRange": randomize_range +"/sheets:v4/Request/repeatCell": repeat_cell +"/sheets:v4/Request/setBasicFilter": set_basic_filter +"/sheets:v4/Request/setDataValidation": set_data_validation +"/sheets:v4/Request/sortRange": sort_range +"/sheets:v4/Request/textToColumns": text_to_columns +"/sheets:v4/Request/unmergeCells": unmerge_cells +"/sheets:v4/Request/updateBanding": update_banding +"/sheets:v4/Request/updateBorders": update_borders +"/sheets:v4/Request/updateCells": update_cells +"/sheets:v4/Request/updateChartSpec": update_chart_spec +"/sheets:v4/Request/updateConditionalFormatRule": update_conditional_format_rule +"/sheets:v4/Request/updateDimensionProperties": update_dimension_properties +"/sheets:v4/Request/updateEmbeddedObjectPosition": update_embedded_object_position +"/sheets:v4/Request/updateFilterView": update_filter_view +"/sheets:v4/Request/updateNamedRange": update_named_range +"/sheets:v4/Request/updateProtectedRange": update_protected_range +"/sheets:v4/Request/updateSheetProperties": update_sheet_properties +"/sheets:v4/Request/updateSpreadsheetProperties": update_spreadsheet_properties +"/sheets:v4/Response": response +"/sheets:v4/Response/addBanding": add_banding +"/sheets:v4/Response/addChart": add_chart +"/sheets:v4/Response/addFilterView": add_filter_view +"/sheets:v4/Response/addNamedRange": add_named_range +"/sheets:v4/Response/addProtectedRange": add_protected_range +"/sheets:v4/Response/addSheet": add_sheet +"/sheets:v4/Response/deleteConditionalFormatRule": delete_conditional_format_rule +"/sheets:v4/Response/duplicateFilterView": duplicate_filter_view +"/sheets:v4/Response/duplicateSheet": duplicate_sheet +"/sheets:v4/Response/findReplace": find_replace +"/sheets:v4/Response/updateConditionalFormatRule": update_conditional_format_rule +"/sheets:v4/Response/updateEmbeddedObjectPosition": update_embedded_object_position +"/sheets:v4/RowData": row_data +"/sheets:v4/RowData/values": values +"/sheets:v4/RowData/values/value": value +"/sheets:v4/SetBasicFilterRequest": set_basic_filter_request +"/sheets:v4/SetBasicFilterRequest/filter": filter +"/sheets:v4/SetDataValidationRequest": set_data_validation_request +"/sheets:v4/SetDataValidationRequest/range": range +"/sheets:v4/SetDataValidationRequest/rule": rule +"/sheets:v4/Sheet": sheet +"/sheets:v4/Sheet/bandedRanges": banded_ranges +"/sheets:v4/Sheet/bandedRanges/banded_range": banded_range +"/sheets:v4/Sheet/basicFilter": basic_filter +"/sheets:v4/Sheet/charts": charts +"/sheets:v4/Sheet/charts/chart": chart +"/sheets:v4/Sheet/conditionalFormats": conditional_formats +"/sheets:v4/Sheet/conditionalFormats/conditional_format": conditional_format +"/sheets:v4/Sheet/data": data +"/sheets:v4/Sheet/data/datum": datum +"/sheets:v4/Sheet/filterViews": filter_views +"/sheets:v4/Sheet/filterViews/filter_view": filter_view +"/sheets:v4/Sheet/merges": merges +"/sheets:v4/Sheet/merges/merge": merge +"/sheets:v4/Sheet/properties": properties +"/sheets:v4/Sheet/protectedRanges": protected_ranges +"/sheets:v4/Sheet/protectedRanges/protected_range": protected_range +"/sheets:v4/SheetProperties": sheet_properties +"/sheets:v4/SheetProperties/gridProperties": grid_properties +"/sheets:v4/SheetProperties/hidden": hidden +"/sheets:v4/SheetProperties/index": index +"/sheets:v4/SheetProperties/rightToLeft": right_to_left +"/sheets:v4/SheetProperties/sheetId": sheet_id +"/sheets:v4/SheetProperties/sheetType": sheet_type +"/sheets:v4/SheetProperties/tabColor": tab_color +"/sheets:v4/SheetProperties/title": title +"/sheets:v4/SortRangeRequest": sort_range_request +"/sheets:v4/SortRangeRequest/range": range +"/sheets:v4/SortRangeRequest/sortSpecs": sort_specs +"/sheets:v4/SortRangeRequest/sortSpecs/sort_spec": sort_spec +"/sheets:v4/SortSpec": sort_spec +"/sheets:v4/SortSpec/dimensionIndex": dimension_index +"/sheets:v4/SortSpec/sortOrder": sort_order +"/sheets:v4/SourceAndDestination": source_and_destination +"/sheets:v4/SourceAndDestination/dimension": dimension +"/sheets:v4/SourceAndDestination/fillLength": fill_length +"/sheets:v4/SourceAndDestination/source": source "/sheets:v4/Spreadsheet": spreadsheet "/sheets:v4/Spreadsheet/namedRanges": named_ranges "/sheets:v4/Spreadsheet/namedRanges/named_range": named_range +"/sheets:v4/Spreadsheet/properties": properties "/sheets:v4/Spreadsheet/sheets": sheets "/sheets:v4/Spreadsheet/sheets/sheet": sheet "/sheets:v4/Spreadsheet/spreadsheetId": spreadsheet_id "/sheets:v4/Spreadsheet/spreadsheetUrl": spreadsheet_url -"/sheets:v4/Spreadsheet/properties": properties -"/sheets:v4/BatchClearValuesResponse": batch_clear_values_response -"/sheets:v4/BatchClearValuesResponse/clearedRanges": cleared_ranges -"/sheets:v4/BatchClearValuesResponse/clearedRanges/cleared_range": cleared_range -"/sheets:v4/BatchClearValuesResponse/spreadsheetId": spreadsheet_id -"/sheets:v4/HistogramSeries": histogram_series -"/sheets:v4/HistogramSeries/barColor": bar_color -"/sheets:v4/HistogramSeries/data": data -"/sheets:v4/BandedRange": banded_range -"/sheets:v4/BandedRange/columnProperties": column_properties -"/sheets:v4/BandedRange/rowProperties": row_properties -"/sheets:v4/BandedRange/range": range -"/sheets:v4/BandedRange/bandedRangeId": banded_range_id +"/sheets:v4/SpreadsheetProperties": spreadsheet_properties +"/sheets:v4/SpreadsheetProperties/autoRecalc": auto_recalc +"/sheets:v4/SpreadsheetProperties/defaultFormat": default_format +"/sheets:v4/SpreadsheetProperties/iterativeCalculationSettings": iterative_calculation_settings +"/sheets:v4/SpreadsheetProperties/locale": locale +"/sheets:v4/SpreadsheetProperties/timeZone": time_zone +"/sheets:v4/SpreadsheetProperties/title": title +"/sheets:v4/TextFormat": text_format +"/sheets:v4/TextFormat/bold": bold +"/sheets:v4/TextFormat/fontFamily": font_family +"/sheets:v4/TextFormat/fontSize": font_size +"/sheets:v4/TextFormat/foregroundColor": foreground_color +"/sheets:v4/TextFormat/italic": italic +"/sheets:v4/TextFormat/strikethrough": strikethrough +"/sheets:v4/TextFormat/underline": underline +"/sheets:v4/TextFormatRun": text_format_run +"/sheets:v4/TextFormatRun/format": format +"/sheets:v4/TextFormatRun/startIndex": start_index +"/sheets:v4/TextRotation": text_rotation +"/sheets:v4/TextRotation/angle": angle +"/sheets:v4/TextRotation/vertical": vertical +"/sheets:v4/TextToColumnsRequest": text_to_columns_request +"/sheets:v4/TextToColumnsRequest/delimiter": delimiter +"/sheets:v4/TextToColumnsRequest/delimiterType": delimiter_type +"/sheets:v4/TextToColumnsRequest/source": source +"/sheets:v4/UnmergeCellsRequest": unmerge_cells_request +"/sheets:v4/UnmergeCellsRequest/range": range +"/sheets:v4/UpdateBandingRequest": update_banding_request +"/sheets:v4/UpdateBandingRequest/bandedRange": banded_range +"/sheets:v4/UpdateBandingRequest/fields": fields +"/sheets:v4/UpdateBordersRequest": update_borders_request +"/sheets:v4/UpdateBordersRequest/bottom": bottom +"/sheets:v4/UpdateBordersRequest/innerHorizontal": inner_horizontal +"/sheets:v4/UpdateBordersRequest/innerVertical": inner_vertical +"/sheets:v4/UpdateBordersRequest/left": left +"/sheets:v4/UpdateBordersRequest/range": range +"/sheets:v4/UpdateBordersRequest/right": right +"/sheets:v4/UpdateBordersRequest/top": top +"/sheets:v4/UpdateCellsRequest": update_cells_request +"/sheets:v4/UpdateCellsRequest/fields": fields +"/sheets:v4/UpdateCellsRequest/range": range +"/sheets:v4/UpdateCellsRequest/rows": rows +"/sheets:v4/UpdateCellsRequest/rows/row": row +"/sheets:v4/UpdateCellsRequest/start": start +"/sheets:v4/UpdateChartSpecRequest": update_chart_spec_request +"/sheets:v4/UpdateChartSpecRequest/chartId": chart_id +"/sheets:v4/UpdateChartSpecRequest/spec": spec +"/sheets:v4/UpdateConditionalFormatRuleRequest": update_conditional_format_rule_request +"/sheets:v4/UpdateConditionalFormatRuleRequest/index": index +"/sheets:v4/UpdateConditionalFormatRuleRequest/newIndex": new_index +"/sheets:v4/UpdateConditionalFormatRuleRequest/rule": rule +"/sheets:v4/UpdateConditionalFormatRuleRequest/sheetId": sheet_id +"/sheets:v4/UpdateConditionalFormatRuleResponse": update_conditional_format_rule_response +"/sheets:v4/UpdateConditionalFormatRuleResponse/newIndex": new_index +"/sheets:v4/UpdateConditionalFormatRuleResponse/newRule": new_rule +"/sheets:v4/UpdateConditionalFormatRuleResponse/oldIndex": old_index +"/sheets:v4/UpdateConditionalFormatRuleResponse/oldRule": old_rule +"/sheets:v4/UpdateDimensionPropertiesRequest": update_dimension_properties_request +"/sheets:v4/UpdateDimensionPropertiesRequest/fields": fields +"/sheets:v4/UpdateDimensionPropertiesRequest/properties": properties +"/sheets:v4/UpdateDimensionPropertiesRequest/range": range +"/sheets:v4/UpdateEmbeddedObjectPositionRequest": update_embedded_object_position_request +"/sheets:v4/UpdateEmbeddedObjectPositionRequest/fields": fields +"/sheets:v4/UpdateEmbeddedObjectPositionRequest/newPosition": new_position +"/sheets:v4/UpdateEmbeddedObjectPositionRequest/objectId": object_id_prop +"/sheets:v4/UpdateEmbeddedObjectPositionResponse": update_embedded_object_position_response +"/sheets:v4/UpdateEmbeddedObjectPositionResponse/position": position +"/sheets:v4/UpdateFilterViewRequest": update_filter_view_request +"/sheets:v4/UpdateFilterViewRequest/fields": fields +"/sheets:v4/UpdateFilterViewRequest/filter": filter +"/sheets:v4/UpdateNamedRangeRequest": update_named_range_request +"/sheets:v4/UpdateNamedRangeRequest/fields": fields +"/sheets:v4/UpdateNamedRangeRequest/namedRange": named_range "/sheets:v4/UpdateProtectedRangeRequest": update_protected_range_request "/sheets:v4/UpdateProtectedRangeRequest/fields": fields "/sheets:v4/UpdateProtectedRangeRequest/protectedRange": protected_range -"/sheets:v4/TextFormat": text_format -"/sheets:v4/TextFormat/fontSize": font_size -"/sheets:v4/TextFormat/underline": underline -"/sheets:v4/TextFormat/foregroundColor": foreground_color -"/sheets:v4/TextFormat/bold": bold -"/sheets:v4/TextFormat/fontFamily": font_family -"/sheets:v4/TextFormat/strikethrough": strikethrough -"/sheets:v4/TextFormat/italic": italic -"/sheets:v4/AddSheetResponse": add_sheet_response -"/sheets:v4/AddSheetResponse/properties": properties +"/sheets:v4/UpdateSheetPropertiesRequest": update_sheet_properties_request +"/sheets:v4/UpdateSheetPropertiesRequest/fields": fields +"/sheets:v4/UpdateSheetPropertiesRequest/properties": properties +"/sheets:v4/UpdateSpreadsheetPropertiesRequest": update_spreadsheet_properties_request +"/sheets:v4/UpdateSpreadsheetPropertiesRequest/fields": fields +"/sheets:v4/UpdateSpreadsheetPropertiesRequest/properties": properties +"/sheets:v4/UpdateValuesResponse": update_values_response +"/sheets:v4/UpdateValuesResponse/spreadsheetId": spreadsheet_id +"/sheets:v4/UpdateValuesResponse/updatedCells": updated_cells +"/sheets:v4/UpdateValuesResponse/updatedColumns": updated_columns +"/sheets:v4/UpdateValuesResponse/updatedData": updated_data +"/sheets:v4/UpdateValuesResponse/updatedRange": updated_range +"/sheets:v4/UpdateValuesResponse/updatedRows": updated_rows +"/sheets:v4/ValueRange": value_range +"/sheets:v4/ValueRange/majorDimension": major_dimension +"/sheets:v4/ValueRange/range": range +"/sheets:v4/ValueRange/values": values +"/sheets:v4/ValueRange/values/value": value +"/sheets:v4/ValueRange/values/value/value": value +"/sheets:v4/fields": fields +"/sheets:v4/key": key +"/sheets:v4/quotaUser": quota_user +"/sheets:v4/sheets.spreadsheets.batchUpdate": batch_update_spreadsheet +"/sheets:v4/sheets.spreadsheets.batchUpdate/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.create": create_spreadsheet +"/sheets:v4/sheets.spreadsheets.get": get_spreadsheet +"/sheets:v4/sheets.spreadsheets.get/includeGridData": include_grid_data +"/sheets:v4/sheets.spreadsheets.get/ranges": ranges +"/sheets:v4/sheets.spreadsheets.get/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.sheets.copyTo": copy_spreadsheet +"/sheets:v4/sheets.spreadsheets.sheets.copyTo/sheetId": sheet_id +"/sheets:v4/sheets.spreadsheets.sheets.copyTo/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.append": append_spreadsheet_value +"/sheets:v4/sheets.spreadsheets.values.append/includeValuesInResponse": include_values_in_response +"/sheets:v4/sheets.spreadsheets.values.append/insertDataOption": insert_data_option +"/sheets:v4/sheets.spreadsheets.values.append/range": range +"/sheets:v4/sheets.spreadsheets.values.append/responseDateTimeRenderOption": response_date_time_render_option +"/sheets:v4/sheets.spreadsheets.values.append/responseValueRenderOption": response_value_render_option +"/sheets:v4/sheets.spreadsheets.values.append/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.append/valueInputOption": value_input_option +"/sheets:v4/sheets.spreadsheets.values.batchClear": batch_clear_values +"/sheets:v4/sheets.spreadsheets.values.batchClear/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.batchGet": batch_get_spreadsheet_values +"/sheets:v4/sheets.spreadsheets.values.batchGet/dateTimeRenderOption": date_time_render_option +"/sheets:v4/sheets.spreadsheets.values.batchGet/majorDimension": major_dimension +"/sheets:v4/sheets.spreadsheets.values.batchGet/ranges": ranges +"/sheets:v4/sheets.spreadsheets.values.batchGet/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.batchGet/valueRenderOption": value_render_option +"/sheets:v4/sheets.spreadsheets.values.batchUpdate": batch_update_values +"/sheets:v4/sheets.spreadsheets.values.batchUpdate/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.clear": clear_values +"/sheets:v4/sheets.spreadsheets.values.clear/range": range +"/sheets:v4/sheets.spreadsheets.values.clear/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.get": get_spreadsheet_values +"/sheets:v4/sheets.spreadsheets.values.get/dateTimeRenderOption": date_time_render_option +"/sheets:v4/sheets.spreadsheets.values.get/majorDimension": major_dimension +"/sheets:v4/sheets.spreadsheets.values.get/range": range +"/sheets:v4/sheets.spreadsheets.values.get/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.get/valueRenderOption": value_render_option +"/sheets:v4/sheets.spreadsheets.values.update": update_spreadsheet_value +"/sheets:v4/sheets.spreadsheets.values.update/includeValuesInResponse": include_values_in_response +"/sheets:v4/sheets.spreadsheets.values.update/range": range +"/sheets:v4/sheets.spreadsheets.values.update/responseDateTimeRenderOption": response_date_time_render_option +"/sheets:v4/sheets.spreadsheets.values.update/responseValueRenderOption": response_value_render_option +"/sheets:v4/sheets.spreadsheets.values.update/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.update/valueInputOption": value_input_option +"/siteVerification:v1/SiteVerificationWebResourceGettokenRequest": get_web_resource_token_request +"/siteVerification:v1/SiteVerificationWebResourceGettokenRequest/site": site +"/siteVerification:v1/SiteVerificationWebResourceGettokenRequest/site/identifier": identifier +"/siteVerification:v1/SiteVerificationWebResourceGettokenRequest/site/type": type +"/siteVerification:v1/SiteVerificationWebResourceGettokenRequest/verificationMethod": verification_method +"/siteVerification:v1/SiteVerificationWebResourceGettokenResponse": get_web_resource_token_response +"/siteVerification:v1/SiteVerificationWebResourceGettokenResponse/method": verification_method +"/siteVerification:v1/SiteVerificationWebResourceGettokenResponse/token": token +"/siteVerification:v1/SiteVerificationWebResourceListResponse": list_web_resource_response +"/siteVerification:v1/SiteVerificationWebResourceListResponse/items": items +"/siteVerification:v1/SiteVerificationWebResourceListResponse/items/item": item +"/siteVerification:v1/SiteVerificationWebResourceResource": site_verification_web_resource_resource +"/siteVerification:v1/SiteVerificationWebResourceResource/id": id +"/siteVerification:v1/SiteVerificationWebResourceResource/owners": owners +"/siteVerification:v1/SiteVerificationWebResourceResource/owners/owner": owner +"/siteVerification:v1/SiteVerificationWebResourceResource/site": site +"/siteVerification:v1/SiteVerificationWebResourceResource/site/identifier": identifier +"/siteVerification:v1/SiteVerificationWebResourceResource/site/type": type "/siteVerification:v1/fields": fields "/siteVerification:v1/key": key "/siteVerification:v1/quotaUser": quota_user -"/siteVerification:v1/userIp": user_ip "/siteVerification:v1/siteVerification.webResource.delete": delete_web_resource "/siteVerification:v1/siteVerification.webResource.delete/id": id "/siteVerification:v1/siteVerification.webResource.get": get_web_resource @@ -37072,708 +38760,945 @@ "/siteVerification:v1/siteVerification.webResource.patch/id": id "/siteVerification:v1/siteVerification.webResource.update": update_web_resource "/siteVerification:v1/siteVerification.webResource.update/id": id -"/siteVerification:v1/SiteVerificationWebResourceGettokenRequest/site": site -"/siteVerification:v1/SiteVerificationWebResourceGettokenRequest/site/identifier": identifier -"/siteVerification:v1/SiteVerificationWebResourceGettokenRequest/site/type": type -"/siteVerification:v1/SiteVerificationWebResourceGettokenRequest/verificationMethod": verification_method -"/siteVerification:v1/SiteVerificationWebResourceGettokenResponse/token": token -"/siteVerification:v1/SiteVerificationWebResourceListResponse/items": items -"/siteVerification:v1/SiteVerificationWebResourceListResponse/items/item": item -"/siteVerification:v1/SiteVerificationWebResourceResource": site_verification_web_resource_resource -"/siteVerification:v1/SiteVerificationWebResourceResource/id": id -"/siteVerification:v1/SiteVerificationWebResourceResource/owners": owners -"/siteVerification:v1/SiteVerificationWebResourceResource/owners/owner": owner -"/siteVerification:v1/SiteVerificationWebResourceResource/site": site -"/siteVerification:v1/SiteVerificationWebResourceResource/site/identifier": identifier -"/siteVerification:v1/SiteVerificationWebResourceResource/site/type": type -"/slides:v1/fields": fields -"/slides:v1/key": key -"/slides:v1/quotaUser": quota_user -"/slides:v1/slides.presentations.get": get_presentation -"/slides:v1/slides.presentations.get/presentationId": presentation_id -"/slides:v1/slides.presentations.batchUpdate": batch_update_presentation -"/slides:v1/slides.presentations.batchUpdate/presentationId": presentation_id -"/slides:v1/slides.presentations.create": create_presentation -"/slides:v1/slides.presentations.pages.get": get_presentation_page -"/slides:v1/slides.presentations.pages.get/presentationId": presentation_id -"/slides:v1/slides.presentations.pages.get/pageObjectId": page_object_id -"/slides:v1/slides.presentations.pages.getThumbnail": get_presentation_page_thumbnail -"/slides:v1/slides.presentations.pages.getThumbnail/thumbnailProperties.thumbnailSize": thumbnail_properties_thumbnail_size -"/slides:v1/slides.presentations.pages.getThumbnail/thumbnailProperties.mimeType": thumbnail_properties_mime_type -"/slides:v1/slides.presentations.pages.getThumbnail/presentationId": presentation_id -"/slides:v1/slides.presentations.pages.getThumbnail/pageObjectId": page_object_id -"/slides:v1/Line": line -"/slides:v1/Line/lineProperties": line_properties -"/slides:v1/Line/lineType": line_type -"/slides:v1/BatchUpdatePresentationResponse": batch_update_presentation_response -"/slides:v1/BatchUpdatePresentationResponse/replies": replies -"/slides:v1/BatchUpdatePresentationResponse/replies/reply": reply -"/slides:v1/BatchUpdatePresentationResponse/presentationId": presentation_id -"/slides:v1/CreateSheetsChartRequest": create_sheets_chart_request -"/slides:v1/CreateSheetsChartRequest/objectId": object_id_prop -"/slides:v1/CreateSheetsChartRequest/elementProperties": element_properties -"/slides:v1/CreateSheetsChartRequest/linkingMode": linking_mode -"/slides:v1/CreateSheetsChartRequest/spreadsheetId": spreadsheet_id -"/slides:v1/CreateSheetsChartRequest/chartId": chart_id -"/slides:v1/CreateImageResponse": create_image_response -"/slides:v1/CreateImageResponse/objectId": object_id_prop -"/slides:v1/SlideProperties": slide_properties -"/slides:v1/SlideProperties/notesPage": notes_page -"/slides:v1/SlideProperties/masterObjectId": master_object_id -"/slides:v1/SlideProperties/layoutObjectId": layout_object_id -"/slides:v1/Response": response -"/slides:v1/Response/replaceAllText": replace_all_text -"/slides:v1/Response/createSlide": create_slide -"/slides:v1/Response/createShape": create_shape -"/slides:v1/Response/duplicateObject": duplicate_object -"/slides:v1/Response/createLine": create_line -"/slides:v1/Response/createImage": create_image -"/slides:v1/Response/createVideo": create_video -"/slides:v1/Response/createSheetsChart": create_sheets_chart -"/slides:v1/Response/replaceAllShapesWithSheetsChart": replace_all_shapes_with_sheets_chart -"/slides:v1/Response/replaceAllShapesWithImage": replace_all_shapes_with_image -"/slides:v1/Response/createTable": create_table -"/slides:v1/MasterProperties": master_properties -"/slides:v1/MasterProperties/displayName": display_name -"/slides:v1/TextRun": text_run -"/slides:v1/TextRun/content": content -"/slides:v1/TextRun/style": style -"/slides:v1/LayoutReference": layout_reference -"/slides:v1/LayoutReference/predefinedLayout": predefined_layout -"/slides:v1/LayoutReference/layoutId": layout_id -"/slides:v1/SubstringMatchCriteria": substring_match_criteria -"/slides:v1/SubstringMatchCriteria/text": text -"/slides:v1/SubstringMatchCriteria/matchCase": match_case -"/slides:v1/TableRange": table_range -"/slides:v1/TableRange/rowSpan": row_span -"/slides:v1/TableRange/location": location -"/slides:v1/TableRange/columnSpan": column_span -"/slides:v1/CreateTableResponse": create_table_response -"/slides:v1/CreateTableResponse/objectId": object_id_prop -"/slides:v1/CreateTableRequest": create_table_request -"/slides:v1/CreateTableRequest/columns": columns -"/slides:v1/CreateTableRequest/objectId": object_id_prop -"/slides:v1/CreateTableRequest/elementProperties": element_properties -"/slides:v1/CreateTableRequest/rows": rows -"/slides:v1/Table": table -"/slides:v1/Table/rows": rows -"/slides:v1/Table/tableColumns": table_columns -"/slides:v1/Table/tableColumns/table_column": table_column -"/slides:v1/Table/columns": columns -"/slides:v1/Table/tableRows": table_rows -"/slides:v1/Table/tableRows/table_row": table_row -"/slides:v1/PageBackgroundFill": page_background_fill -"/slides:v1/PageBackgroundFill/stretchedPictureFill": stretched_picture_fill -"/slides:v1/PageBackgroundFill/solidFill": solid_fill -"/slides:v1/PageBackgroundFill/propertyState": property_state -"/slides:v1/SheetsChart": sheets_chart -"/slides:v1/SheetsChart/sheetsChartProperties": sheets_chart_properties -"/slides:v1/SheetsChart/contentUrl": content_url -"/slides:v1/SheetsChart/spreadsheetId": spreadsheet_id -"/slides:v1/SheetsChart/chartId": chart_id -"/slides:v1/SolidFill": solid_fill -"/slides:v1/SolidFill/alpha": alpha -"/slides:v1/SolidFill/color": color -"/slides:v1/ThemeColorPair": theme_color_pair -"/slides:v1/ThemeColorPair/color": color -"/slides:v1/ThemeColorPair/type": type -"/slides:v1/OptionalColor": optional_color -"/slides:v1/OptionalColor/opaqueColor": opaque_color -"/slides:v1/PageElementProperties": page_element_properties -"/slides:v1/PageElementProperties/transform": transform -"/slides:v1/PageElementProperties/pageObjectId": page_object_id -"/slides:v1/PageElementProperties/size": size -"/slides:v1/SheetsChartProperties": sheets_chart_properties -"/slides:v1/SheetsChartProperties/chartImageProperties": chart_image_properties -"/slides:v1/StretchedPictureFill": stretched_picture_fill -"/slides:v1/StretchedPictureFill/contentUrl": content_url -"/slides:v1/StretchedPictureFill/size": size -"/slides:v1/DeleteTableColumnRequest": delete_table_column_request -"/slides:v1/DeleteTableColumnRequest/cellLocation": cell_location -"/slides:v1/DeleteTableColumnRequest/tableObjectId": table_object_id -"/slides:v1/UpdateTextStyleRequest": update_text_style_request -"/slides:v1/UpdateTextStyleRequest/fields": fields -"/slides:v1/UpdateTextStyleRequest/textRange": text_range -"/slides:v1/UpdateTextStyleRequest/objectId": object_id_prop -"/slides:v1/UpdateTextStyleRequest/style": style -"/slides:v1/UpdateTextStyleRequest/cellLocation": cell_location -"/slides:v1/List": list -"/slides:v1/List/nestingLevel": nesting_level -"/slides:v1/List/nestingLevel/nesting_level": nesting_level -"/slides:v1/List/listId": list_id -"/slides:v1/WeightedFontFamily": weighted_font_family -"/slides:v1/WeightedFontFamily/weight": weight -"/slides:v1/WeightedFontFamily/fontFamily": font_family -"/slides:v1/PageElement": page_element -"/slides:v1/PageElement/line": line -"/slides:v1/PageElement/description": description -"/slides:v1/PageElement/elementGroup": element_group -"/slides:v1/PageElement/image": image -"/slides:v1/PageElement/size": size -"/slides:v1/PageElement/title": title -"/slides:v1/PageElement/sheetsChart": sheets_chart -"/slides:v1/PageElement/video": video -"/slides:v1/PageElement/wordArt": word_art -"/slides:v1/PageElement/table": table -"/slides:v1/PageElement/objectId": object_id_prop -"/slides:v1/PageElement/transform": transform -"/slides:v1/PageElement/shape": shape -"/slides:v1/CreateImageRequest": create_image_request -"/slides:v1/CreateImageRequest/objectId": object_id_prop -"/slides:v1/CreateImageRequest/elementProperties": element_properties -"/slides:v1/CreateImageRequest/url": url -"/slides:v1/CreateParagraphBulletsRequest": create_paragraph_bullets_request -"/slides:v1/CreateParagraphBulletsRequest/textRange": text_range -"/slides:v1/CreateParagraphBulletsRequest/objectId": object_id_prop -"/slides:v1/CreateParagraphBulletsRequest/bulletPreset": bullet_preset -"/slides:v1/CreateParagraphBulletsRequest/cellLocation": cell_location -"/slides:v1/Size": size -"/slides:v1/Size/height": height -"/slides:v1/Size/width": width -"/slides:v1/TextStyle": text_style -"/slides:v1/TextStyle/smallCaps": small_caps -"/slides:v1/TextStyle/backgroundColor": background_color -"/slides:v1/TextStyle/link": link -"/slides:v1/TextStyle/underline": underline -"/slides:v1/TextStyle/foregroundColor": foreground_color -"/slides:v1/TextStyle/bold": bold -"/slides:v1/TextStyle/fontFamily": font_family -"/slides:v1/TextStyle/italic": italic -"/slides:v1/TextStyle/strikethrough": strikethrough -"/slides:v1/TextStyle/fontSize": font_size -"/slides:v1/TextStyle/baselineOffset": baseline_offset -"/slides:v1/TextStyle/weightedFontFamily": weighted_font_family -"/slides:v1/UpdateVideoPropertiesRequest": update_video_properties_request -"/slides:v1/UpdateVideoPropertiesRequest/objectId": object_id_prop -"/slides:v1/UpdateVideoPropertiesRequest/videoProperties": video_properties -"/slides:v1/UpdateVideoPropertiesRequest/fields": fields -"/slides:v1/Request": request -"/slides:v1/Request/duplicateObject": duplicate_object -"/slides:v1/Request/deleteTableColumn": delete_table_column -"/slides:v1/Request/updateVideoProperties": update_video_properties -"/slides:v1/Request/createLine": create_line -"/slides:v1/Request/createImage": create_image -"/slides:v1/Request/createParagraphBullets": create_paragraph_bullets -"/slides:v1/Request/createVideo": create_video -"/slides:v1/Request/replaceAllShapesWithSheetsChart": replace_all_shapes_with_sheets_chart -"/slides:v1/Request/createSheetsChart": create_sheets_chart -"/slides:v1/Request/updatePageElementTransform": update_page_element_transform -"/slides:v1/Request/updateTextStyle": update_text_style -"/slides:v1/Request/replaceAllShapesWithImage": replace_all_shapes_with_image -"/slides:v1/Request/replaceAllText": replace_all_text -"/slides:v1/Request/updateImageProperties": update_image_properties -"/slides:v1/Request/insertTableRows": insert_table_rows -"/slides:v1/Request/createSlide": create_slide -"/slides:v1/Request/updateLineProperties": update_line_properties -"/slides:v1/Request/updateSlidesPosition": update_slides_position -"/slides:v1/Request/deleteTableRow": delete_table_row -"/slides:v1/Request/updateShapeProperties": update_shape_properties -"/slides:v1/Request/insertText": insert_text -"/slides:v1/Request/deleteText": delete_text -"/slides:v1/Request/updatePageProperties": update_page_properties -"/slides:v1/Request/createShape": create_shape -"/slides:v1/Request/deleteParagraphBullets": delete_paragraph_bullets -"/slides:v1/Request/insertTableColumns": insert_table_columns -"/slides:v1/Request/refreshSheetsChart": refresh_sheets_chart -"/slides:v1/Request/updateTableCellProperties": update_table_cell_properties -"/slides:v1/Request/createTable": create_table -"/slides:v1/Request/deleteObject": delete_object -"/slides:v1/Request/updateParagraphStyle": update_paragraph_style -"/slides:v1/UpdateImagePropertiesRequest": update_image_properties_request -"/slides:v1/UpdateImagePropertiesRequest/fields": fields -"/slides:v1/UpdateImagePropertiesRequest/imageProperties": image_properties -"/slides:v1/UpdateImagePropertiesRequest/objectId": object_id_prop -"/slides:v1/ParagraphStyle": paragraph_style -"/slides:v1/ParagraphStyle/indentFirstLine": indent_first_line -"/slides:v1/ParagraphStyle/lineSpacing": line_spacing -"/slides:v1/ParagraphStyle/alignment": alignment -"/slides:v1/ParagraphStyle/spaceBelow": space_below -"/slides:v1/ParagraphStyle/direction": direction -"/slides:v1/ParagraphStyle/spacingMode": spacing_mode -"/slides:v1/ParagraphStyle/indentEnd": indent_end -"/slides:v1/ParagraphStyle/indentStart": indent_start -"/slides:v1/ParagraphStyle/spaceAbove": space_above -"/slides:v1/ReplaceAllShapesWithSheetsChartResponse": replace_all_shapes_with_sheets_chart_response -"/slides:v1/ReplaceAllShapesWithSheetsChartResponse/occurrencesChanged": occurrences_changed -"/slides:v1/TableCellProperties": table_cell_properties -"/slides:v1/TableCellProperties/tableCellBackgroundFill": table_cell_background_fill -"/slides:v1/RefreshSheetsChartRequest": refresh_sheets_chart_request -"/slides:v1/RefreshSheetsChartRequest/objectId": object_id_prop -"/slides:v1/Outline": outline -"/slides:v1/Outline/outlineFill": outline_fill -"/slides:v1/Outline/weight": weight -"/slides:v1/Outline/dashStyle": dash_style -"/slides:v1/Outline/propertyState": property_state -"/slides:v1/TableColumnProperties": table_column_properties -"/slides:v1/TableColumnProperties/columnWidth": column_width -"/slides:v1/ShapeProperties": shape_properties -"/slides:v1/ShapeProperties/outline": outline -"/slides:v1/ShapeProperties/shadow": shadow -"/slides:v1/ShapeProperties/shapeBackgroundFill": shape_background_fill -"/slides:v1/ShapeProperties/link": link -"/slides:v1/NotesProperties": notes_properties -"/slides:v1/NotesProperties/speakerNotesObjectId": speaker_notes_object_id -"/slides:v1/TableRow": table_row -"/slides:v1/TableRow/tableCells": table_cells -"/slides:v1/TableRow/tableCells/table_cell": table_cell -"/slides:v1/TableRow/rowHeight": row_height -"/slides:v1/UpdateTableCellPropertiesRequest": update_table_cell_properties_request -"/slides:v1/UpdateTableCellPropertiesRequest/fields": fields -"/slides:v1/UpdateTableCellPropertiesRequest/tableRange": table_range -"/slides:v1/UpdateTableCellPropertiesRequest/objectId": object_id_prop -"/slides:v1/UpdateTableCellPropertiesRequest/tableCellProperties": table_cell_properties -"/slides:v1/CreateSlideRequest": create_slide_request -"/slides:v1/CreateSlideRequest/objectId": object_id_prop -"/slides:v1/CreateSlideRequest/insertionIndex": insertion_index -"/slides:v1/CreateSlideRequest/placeholderIdMappings": placeholder_id_mappings -"/slides:v1/CreateSlideRequest/placeholderIdMappings/placeholder_id_mapping": placeholder_id_mapping -"/slides:v1/CreateSlideRequest/slideLayoutReference": slide_layout_reference +"/siteVerification:v1/userIp": user_ip +"/slides:v1/AffineTransform": affine_transform +"/slides:v1/AffineTransform/scaleX": scale_x +"/slides:v1/AffineTransform/scaleY": scale_y +"/slides:v1/AffineTransform/shearX": shear_x +"/slides:v1/AffineTransform/shearY": shear_y +"/slides:v1/AffineTransform/translateX": translate_x +"/slides:v1/AffineTransform/translateY": translate_y +"/slides:v1/AffineTransform/unit": unit +"/slides:v1/AutoText": auto_text +"/slides:v1/AutoText/content": content +"/slides:v1/AutoText/style": style +"/slides:v1/AutoText/type": type "/slides:v1/BatchUpdatePresentationRequest": batch_update_presentation_request "/slides:v1/BatchUpdatePresentationRequest/requests": requests "/slides:v1/BatchUpdatePresentationRequest/requests/request": request "/slides:v1/BatchUpdatePresentationRequest/writeControl": write_control -"/slides:v1/TextContent": text_content -"/slides:v1/TextContent/textElements": text_elements -"/slides:v1/TextContent/textElements/text_element": text_element -"/slides:v1/TextContent/lists": lists -"/slides:v1/TextContent/lists/list": list -"/slides:v1/CreateSheetsChartResponse": create_sheets_chart_response -"/slides:v1/CreateSheetsChartResponse/objectId": object_id_prop -"/slides:v1/WriteControl": write_control -"/slides:v1/WriteControl/requiredRevisionId": required_revision_id -"/slides:v1/DeleteParagraphBulletsRequest": delete_paragraph_bullets_request -"/slides:v1/DeleteParagraphBulletsRequest/textRange": text_range -"/slides:v1/DeleteParagraphBulletsRequest/objectId": object_id_prop -"/slides:v1/DeleteParagraphBulletsRequest/cellLocation": cell_location -"/slides:v1/ParagraphMarker": paragraph_marker -"/slides:v1/ParagraphMarker/bullet": bullet -"/slides:v1/ParagraphMarker/style": style -"/slides:v1/Thumbnail": thumbnail -"/slides:v1/Thumbnail/height": height -"/slides:v1/Thumbnail/contentUrl": content_url -"/slides:v1/Thumbnail/width": width -"/slides:v1/InsertTableColumnsRequest": insert_table_columns_request -"/slides:v1/InsertTableColumnsRequest/insertRight": insert_right -"/slides:v1/InsertTableColumnsRequest/tableObjectId": table_object_id -"/slides:v1/InsertTableColumnsRequest/number": number -"/slides:v1/InsertTableColumnsRequest/cellLocation": cell_location -"/slides:v1/LayoutPlaceholderIdMapping": layout_placeholder_id_mapping -"/slides:v1/LayoutPlaceholderIdMapping/layoutPlaceholderObjectId": layout_placeholder_object_id -"/slides:v1/LayoutPlaceholderIdMapping/objectId": object_id_prop -"/slides:v1/LayoutPlaceholderIdMapping/layoutPlaceholder": layout_placeholder -"/slides:v1/UpdateShapePropertiesRequest": update_shape_properties_request -"/slides:v1/UpdateShapePropertiesRequest/fields": fields -"/slides:v1/UpdateShapePropertiesRequest/objectId": object_id_prop -"/slides:v1/UpdateShapePropertiesRequest/shapeProperties": shape_properties -"/slides:v1/WordArt": word_art -"/slides:v1/WordArt/renderedText": rendered_text -"/slides:v1/Recolor": recolor -"/slides:v1/Recolor/recolorStops": recolor_stops -"/slides:v1/Recolor/recolorStops/recolor_stop": recolor_stop -"/slides:v1/Recolor/name": name -"/slides:v1/Link": link -"/slides:v1/Link/pageObjectId": page_object_id -"/slides:v1/Link/slideIndex": slide_index -"/slides:v1/Link/relativeLink": relative_link -"/slides:v1/Link/url": url -"/slides:v1/CreateShapeResponse": create_shape_response -"/slides:v1/CreateShapeResponse/objectId": object_id_prop -"/slides:v1/RgbColor": rgb_color -"/slides:v1/RgbColor/red": red -"/slides:v1/RgbColor/blue": blue -"/slides:v1/RgbColor/green": green +"/slides:v1/BatchUpdatePresentationResponse": batch_update_presentation_response +"/slides:v1/BatchUpdatePresentationResponse/presentationId": presentation_id +"/slides:v1/BatchUpdatePresentationResponse/replies": replies +"/slides:v1/BatchUpdatePresentationResponse/replies/reply": reply +"/slides:v1/Bullet": bullet +"/slides:v1/Bullet/bulletStyle": bullet_style +"/slides:v1/Bullet/glyph": glyph +"/slides:v1/Bullet/listId": list_id +"/slides:v1/Bullet/nestingLevel": nesting_level +"/slides:v1/ColorScheme": color_scheme +"/slides:v1/ColorScheme/colors": colors +"/slides:v1/ColorScheme/colors/color": color +"/slides:v1/ColorStop": color_stop +"/slides:v1/ColorStop/alpha": alpha +"/slides:v1/ColorStop/color": color +"/slides:v1/ColorStop/position": position +"/slides:v1/CreateImageRequest": create_image_request +"/slides:v1/CreateImageRequest/elementProperties": element_properties +"/slides:v1/CreateImageRequest/objectId": object_id_prop +"/slides:v1/CreateImageRequest/url": url +"/slides:v1/CreateImageResponse": create_image_response +"/slides:v1/CreateImageResponse/objectId": object_id_prop "/slides:v1/CreateLineRequest": create_line_request -"/slides:v1/CreateLineRequest/objectId": object_id_prop "/slides:v1/CreateLineRequest/elementProperties": element_properties "/slides:v1/CreateLineRequest/lineCategory": line_category +"/slides:v1/CreateLineRequest/objectId": object_id_prop +"/slides:v1/CreateLineResponse": create_line_response +"/slides:v1/CreateLineResponse/objectId": object_id_prop +"/slides:v1/CreateParagraphBulletsRequest": create_paragraph_bullets_request +"/slides:v1/CreateParagraphBulletsRequest/bulletPreset": bullet_preset +"/slides:v1/CreateParagraphBulletsRequest/cellLocation": cell_location +"/slides:v1/CreateParagraphBulletsRequest/objectId": object_id_prop +"/slides:v1/CreateParagraphBulletsRequest/textRange": text_range +"/slides:v1/CreateShapeRequest": create_shape_request +"/slides:v1/CreateShapeRequest/elementProperties": element_properties +"/slides:v1/CreateShapeRequest/objectId": object_id_prop +"/slides:v1/CreateShapeRequest/shapeType": shape_type +"/slides:v1/CreateShapeResponse": create_shape_response +"/slides:v1/CreateShapeResponse/objectId": object_id_prop +"/slides:v1/CreateSheetsChartRequest": create_sheets_chart_request +"/slides:v1/CreateSheetsChartRequest/chartId": chart_id +"/slides:v1/CreateSheetsChartRequest/elementProperties": element_properties +"/slides:v1/CreateSheetsChartRequest/linkingMode": linking_mode +"/slides:v1/CreateSheetsChartRequest/objectId": object_id_prop +"/slides:v1/CreateSheetsChartRequest/spreadsheetId": spreadsheet_id +"/slides:v1/CreateSheetsChartResponse": create_sheets_chart_response +"/slides:v1/CreateSheetsChartResponse/objectId": object_id_prop +"/slides:v1/CreateSlideRequest": create_slide_request +"/slides:v1/CreateSlideRequest/insertionIndex": insertion_index +"/slides:v1/CreateSlideRequest/objectId": object_id_prop +"/slides:v1/CreateSlideRequest/placeholderIdMappings": placeholder_id_mappings +"/slides:v1/CreateSlideRequest/placeholderIdMappings/placeholder_id_mapping": placeholder_id_mapping +"/slides:v1/CreateSlideRequest/slideLayoutReference": slide_layout_reference "/slides:v1/CreateSlideResponse": create_slide_response "/slides:v1/CreateSlideResponse/objectId": object_id_prop -"/slides:v1/CreateShapeRequest": create_shape_request -"/slides:v1/CreateShapeRequest/shapeType": shape_type -"/slides:v1/CreateShapeRequest/objectId": object_id_prop -"/slides:v1/CreateShapeRequest/elementProperties": element_properties -"/slides:v1/Video": video -"/slides:v1/Video/source": source -"/slides:v1/Video/id": id -"/slides:v1/Video/url": url -"/slides:v1/Video/videoProperties": video_properties -"/slides:v1/PageProperties": page_properties -"/slides:v1/PageProperties/colorScheme": color_scheme -"/slides:v1/PageProperties/pageBackgroundFill": page_background_fill -"/slides:v1/TableCell": table_cell -"/slides:v1/TableCell/text": text -"/slides:v1/TableCell/tableCellProperties": table_cell_properties -"/slides:v1/TableCell/rowSpan": row_span -"/slides:v1/TableCell/location": location -"/slides:v1/TableCell/columnSpan": column_span -"/slides:v1/NestingLevel": nesting_level -"/slides:v1/NestingLevel/bulletStyle": bullet_style -"/slides:v1/UpdateLinePropertiesRequest": update_line_properties_request -"/slides:v1/UpdateLinePropertiesRequest/lineProperties": line_properties -"/slides:v1/UpdateLinePropertiesRequest/fields": fields -"/slides:v1/UpdateLinePropertiesRequest/objectId": object_id_prop -"/slides:v1/TableCellBackgroundFill": table_cell_background_fill -"/slides:v1/TableCellBackgroundFill/propertyState": property_state -"/slides:v1/TableCellBackgroundFill/solidFill": solid_fill -"/slides:v1/UpdateSlidesPositionRequest": update_slides_position_request -"/slides:v1/UpdateSlidesPositionRequest/slideObjectIds": slide_object_ids -"/slides:v1/UpdateSlidesPositionRequest/slideObjectIds/slide_object_id": slide_object_id -"/slides:v1/UpdateSlidesPositionRequest/insertionIndex": insertion_index -"/slides:v1/UpdatePagePropertiesRequest": update_page_properties_request -"/slides:v1/UpdatePagePropertiesRequest/fields": fields -"/slides:v1/UpdatePagePropertiesRequest/pageProperties": page_properties -"/slides:v1/UpdatePagePropertiesRequest/objectId": object_id_prop +"/slides:v1/CreateTableRequest": create_table_request +"/slides:v1/CreateTableRequest/columns": columns +"/slides:v1/CreateTableRequest/elementProperties": element_properties +"/slides:v1/CreateTableRequest/objectId": object_id_prop +"/slides:v1/CreateTableRequest/rows": rows +"/slides:v1/CreateTableResponse": create_table_response +"/slides:v1/CreateTableResponse/objectId": object_id_prop +"/slides:v1/CreateVideoRequest": create_video_request +"/slides:v1/CreateVideoRequest/elementProperties": element_properties +"/slides:v1/CreateVideoRequest/id": id +"/slides:v1/CreateVideoRequest/objectId": object_id_prop +"/slides:v1/CreateVideoRequest/source": source +"/slides:v1/CreateVideoResponse": create_video_response +"/slides:v1/CreateVideoResponse/objectId": object_id_prop +"/slides:v1/CropProperties": crop_properties +"/slides:v1/CropProperties/angle": angle +"/slides:v1/CropProperties/bottomOffset": bottom_offset +"/slides:v1/CropProperties/leftOffset": left_offset +"/slides:v1/CropProperties/rightOffset": right_offset +"/slides:v1/CropProperties/topOffset": top_offset +"/slides:v1/DeleteObjectRequest": delete_object_request +"/slides:v1/DeleteObjectRequest/objectId": object_id_prop +"/slides:v1/DeleteParagraphBulletsRequest": delete_paragraph_bullets_request +"/slides:v1/DeleteParagraphBulletsRequest/cellLocation": cell_location +"/slides:v1/DeleteParagraphBulletsRequest/objectId": object_id_prop +"/slides:v1/DeleteParagraphBulletsRequest/textRange": text_range +"/slides:v1/DeleteTableColumnRequest": delete_table_column_request +"/slides:v1/DeleteTableColumnRequest/cellLocation": cell_location +"/slides:v1/DeleteTableColumnRequest/tableObjectId": table_object_id +"/slides:v1/DeleteTableRowRequest": delete_table_row_request +"/slides:v1/DeleteTableRowRequest/cellLocation": cell_location +"/slides:v1/DeleteTableRowRequest/tableObjectId": table_object_id +"/slides:v1/DeleteTextRequest": delete_text_request +"/slides:v1/DeleteTextRequest/cellLocation": cell_location +"/slides:v1/DeleteTextRequest/objectId": object_id_prop +"/slides:v1/DeleteTextRequest/textRange": text_range +"/slides:v1/Dimension": dimension +"/slides:v1/Dimension/magnitude": magnitude +"/slides:v1/Dimension/unit": unit +"/slides:v1/DuplicateObjectRequest": duplicate_object_request +"/slides:v1/DuplicateObjectRequest/objectId": object_id_prop +"/slides:v1/DuplicateObjectRequest/objectIds": object_ids +"/slides:v1/DuplicateObjectRequest/objectIds/object_id": object_id_prop +"/slides:v1/DuplicateObjectResponse": duplicate_object_response +"/slides:v1/DuplicateObjectResponse/objectId": object_id_prop "/slides:v1/Group": group "/slides:v1/Group/children": children "/slides:v1/Group/children/child": child +"/slides:v1/Image": image +"/slides:v1/Image/contentUrl": content_url +"/slides:v1/Image/imageProperties": image_properties +"/slides:v1/ImageProperties": image_properties +"/slides:v1/ImageProperties/brightness": brightness +"/slides:v1/ImageProperties/contrast": contrast +"/slides:v1/ImageProperties/cropProperties": crop_properties +"/slides:v1/ImageProperties/link": link +"/slides:v1/ImageProperties/outline": outline +"/slides:v1/ImageProperties/recolor": recolor +"/slides:v1/ImageProperties/shadow": shadow +"/slides:v1/ImageProperties/transparency": transparency +"/slides:v1/InsertTableColumnsRequest": insert_table_columns_request +"/slides:v1/InsertTableColumnsRequest/cellLocation": cell_location +"/slides:v1/InsertTableColumnsRequest/insertRight": insert_right +"/slides:v1/InsertTableColumnsRequest/number": number +"/slides:v1/InsertTableColumnsRequest/tableObjectId": table_object_id +"/slides:v1/InsertTableRowsRequest": insert_table_rows_request +"/slides:v1/InsertTableRowsRequest/cellLocation": cell_location +"/slides:v1/InsertTableRowsRequest/insertBelow": insert_below +"/slides:v1/InsertTableRowsRequest/number": number +"/slides:v1/InsertTableRowsRequest/tableObjectId": table_object_id +"/slides:v1/InsertTextRequest": insert_text_request +"/slides:v1/InsertTextRequest/cellLocation": cell_location +"/slides:v1/InsertTextRequest/insertionIndex": insertion_index +"/slides:v1/InsertTextRequest/objectId": object_id_prop +"/slides:v1/InsertTextRequest/text": text +"/slides:v1/LayoutPlaceholderIdMapping": layout_placeholder_id_mapping +"/slides:v1/LayoutPlaceholderIdMapping/layoutPlaceholder": layout_placeholder +"/slides:v1/LayoutPlaceholderIdMapping/layoutPlaceholderObjectId": layout_placeholder_object_id +"/slides:v1/LayoutPlaceholderIdMapping/objectId": object_id_prop +"/slides:v1/LayoutProperties": layout_properties +"/slides:v1/LayoutProperties/displayName": display_name +"/slides:v1/LayoutProperties/masterObjectId": master_object_id +"/slides:v1/LayoutProperties/name": name +"/slides:v1/LayoutReference": layout_reference +"/slides:v1/LayoutReference/layoutId": layout_id +"/slides:v1/LayoutReference/predefinedLayout": predefined_layout +"/slides:v1/Line": line +"/slides:v1/Line/lineProperties": line_properties +"/slides:v1/Line/lineType": line_type +"/slides:v1/LineFill": line_fill +"/slides:v1/LineFill/solidFill": solid_fill +"/slides:v1/LineProperties": line_properties +"/slides:v1/LineProperties/dashStyle": dash_style +"/slides:v1/LineProperties/endArrow": end_arrow +"/slides:v1/LineProperties/lineFill": line_fill +"/slides:v1/LineProperties/link": link +"/slides:v1/LineProperties/startArrow": start_arrow +"/slides:v1/LineProperties/weight": weight +"/slides:v1/Link": link +"/slides:v1/Link/pageObjectId": page_object_id +"/slides:v1/Link/relativeLink": relative_link +"/slides:v1/Link/slideIndex": slide_index +"/slides:v1/Link/url": url +"/slides:v1/List": list +"/slides:v1/List/listId": list_id +"/slides:v1/List/nestingLevel": nesting_level +"/slides:v1/List/nestingLevel/nesting_level": nesting_level +"/slides:v1/MasterProperties": master_properties +"/slides:v1/MasterProperties/displayName": display_name +"/slides:v1/NestingLevel": nesting_level +"/slides:v1/NestingLevel/bulletStyle": bullet_style +"/slides:v1/NotesProperties": notes_properties +"/slides:v1/NotesProperties/speakerNotesObjectId": speaker_notes_object_id +"/slides:v1/OpaqueColor": opaque_color +"/slides:v1/OpaqueColor/rgbColor": rgb_color +"/slides:v1/OpaqueColor/themeColor": theme_color +"/slides:v1/OptionalColor": optional_color +"/slides:v1/OptionalColor/opaqueColor": opaque_color +"/slides:v1/Outline": outline +"/slides:v1/Outline/dashStyle": dash_style +"/slides:v1/Outline/outlineFill": outline_fill +"/slides:v1/Outline/propertyState": property_state +"/slides:v1/Outline/weight": weight +"/slides:v1/OutlineFill": outline_fill +"/slides:v1/OutlineFill/solidFill": solid_fill +"/slides:v1/Page": page +"/slides:v1/Page/layoutProperties": layout_properties +"/slides:v1/Page/masterProperties": master_properties +"/slides:v1/Page/notesProperties": notes_properties +"/slides:v1/Page/objectId": object_id_prop +"/slides:v1/Page/pageElements": page_elements +"/slides:v1/Page/pageElements/page_element": page_element +"/slides:v1/Page/pageProperties": page_properties +"/slides:v1/Page/pageType": page_type +"/slides:v1/Page/revisionId": revision_id +"/slides:v1/Page/slideProperties": slide_properties +"/slides:v1/PageBackgroundFill": page_background_fill +"/slides:v1/PageBackgroundFill/propertyState": property_state +"/slides:v1/PageBackgroundFill/solidFill": solid_fill +"/slides:v1/PageBackgroundFill/stretchedPictureFill": stretched_picture_fill +"/slides:v1/PageElement": page_element +"/slides:v1/PageElement/description": description +"/slides:v1/PageElement/elementGroup": element_group +"/slides:v1/PageElement/image": image +"/slides:v1/PageElement/line": line +"/slides:v1/PageElement/objectId": object_id_prop +"/slides:v1/PageElement/shape": shape +"/slides:v1/PageElement/sheetsChart": sheets_chart +"/slides:v1/PageElement/size": size +"/slides:v1/PageElement/table": table +"/slides:v1/PageElement/title": title +"/slides:v1/PageElement/transform": transform +"/slides:v1/PageElement/video": video +"/slides:v1/PageElement/wordArt": word_art +"/slides:v1/PageElementProperties": page_element_properties +"/slides:v1/PageElementProperties/pageObjectId": page_object_id +"/slides:v1/PageElementProperties/size": size +"/slides:v1/PageElementProperties/transform": transform +"/slides:v1/PageProperties": page_properties +"/slides:v1/PageProperties/colorScheme": color_scheme +"/slides:v1/PageProperties/pageBackgroundFill": page_background_fill +"/slides:v1/ParagraphMarker": paragraph_marker +"/slides:v1/ParagraphMarker/bullet": bullet +"/slides:v1/ParagraphMarker/style": style +"/slides:v1/ParagraphStyle": paragraph_style +"/slides:v1/ParagraphStyle/alignment": alignment +"/slides:v1/ParagraphStyle/direction": direction +"/slides:v1/ParagraphStyle/indentEnd": indent_end +"/slides:v1/ParagraphStyle/indentFirstLine": indent_first_line +"/slides:v1/ParagraphStyle/indentStart": indent_start +"/slides:v1/ParagraphStyle/lineSpacing": line_spacing +"/slides:v1/ParagraphStyle/spaceAbove": space_above +"/slides:v1/ParagraphStyle/spaceBelow": space_below +"/slides:v1/ParagraphStyle/spacingMode": spacing_mode "/slides:v1/Placeholder": placeholder "/slides:v1/Placeholder/index": index -"/slides:v1/Placeholder/type": type "/slides:v1/Placeholder/parentObjectId": parent_object_id -"/slides:v1/DuplicateObjectRequest": duplicate_object_request -"/slides:v1/DuplicateObjectRequest/objectIds": object_ids -"/slides:v1/DuplicateObjectRequest/objectIds/object_id": object_id_prop -"/slides:v1/DuplicateObjectRequest/objectId": object_id_prop +"/slides:v1/Placeholder/type": type +"/slides:v1/Presentation": presentation +"/slides:v1/Presentation/layouts": layouts +"/slides:v1/Presentation/layouts/layout": layout +"/slides:v1/Presentation/locale": locale +"/slides:v1/Presentation/masters": masters +"/slides:v1/Presentation/masters/master": master +"/slides:v1/Presentation/notesMaster": notes_master +"/slides:v1/Presentation/pageSize": page_size +"/slides:v1/Presentation/presentationId": presentation_id +"/slides:v1/Presentation/revisionId": revision_id +"/slides:v1/Presentation/slides": slides +"/slides:v1/Presentation/slides/slide": slide +"/slides:v1/Presentation/title": title +"/slides:v1/Range": range +"/slides:v1/Range/endIndex": end_index +"/slides:v1/Range/startIndex": start_index +"/slides:v1/Range/type": type +"/slides:v1/Recolor": recolor +"/slides:v1/Recolor/name": name +"/slides:v1/Recolor/recolorStops": recolor_stops +"/slides:v1/Recolor/recolorStops/recolor_stop": recolor_stop +"/slides:v1/RefreshSheetsChartRequest": refresh_sheets_chart_request +"/slides:v1/RefreshSheetsChartRequest/objectId": object_id_prop +"/slides:v1/ReplaceAllShapesWithImageRequest": replace_all_shapes_with_image_request +"/slides:v1/ReplaceAllShapesWithImageRequest/containsText": contains_text +"/slides:v1/ReplaceAllShapesWithImageRequest/imageUrl": image_url +"/slides:v1/ReplaceAllShapesWithImageRequest/pageObjectIds": page_object_ids +"/slides:v1/ReplaceAllShapesWithImageRequest/pageObjectIds/page_object_id": page_object_id +"/slides:v1/ReplaceAllShapesWithImageRequest/replaceMethod": replace_method +"/slides:v1/ReplaceAllShapesWithImageResponse": replace_all_shapes_with_image_response +"/slides:v1/ReplaceAllShapesWithImageResponse/occurrencesChanged": occurrences_changed +"/slides:v1/ReplaceAllShapesWithSheetsChartRequest": replace_all_shapes_with_sheets_chart_request +"/slides:v1/ReplaceAllShapesWithSheetsChartRequest/chartId": chart_id +"/slides:v1/ReplaceAllShapesWithSheetsChartRequest/containsText": contains_text +"/slides:v1/ReplaceAllShapesWithSheetsChartRequest/linkingMode": linking_mode +"/slides:v1/ReplaceAllShapesWithSheetsChartRequest/pageObjectIds": page_object_ids +"/slides:v1/ReplaceAllShapesWithSheetsChartRequest/pageObjectIds/page_object_id": page_object_id +"/slides:v1/ReplaceAllShapesWithSheetsChartRequest/spreadsheetId": spreadsheet_id +"/slides:v1/ReplaceAllShapesWithSheetsChartResponse": replace_all_shapes_with_sheets_chart_response +"/slides:v1/ReplaceAllShapesWithSheetsChartResponse/occurrencesChanged": occurrences_changed "/slides:v1/ReplaceAllTextRequest": replace_all_text_request "/slides:v1/ReplaceAllTextRequest/containsText": contains_text "/slides:v1/ReplaceAllTextRequest/pageObjectIds": page_object_ids "/slides:v1/ReplaceAllTextRequest/pageObjectIds/page_object_id": page_object_id "/slides:v1/ReplaceAllTextRequest/replaceText": replace_text -"/slides:v1/Page": page -"/slides:v1/Page/masterProperties": master_properties -"/slides:v1/Page/objectId": object_id_prop -"/slides:v1/Page/revisionId": revision_id -"/slides:v1/Page/layoutProperties": layout_properties -"/slides:v1/Page/pageElements": page_elements -"/slides:v1/Page/pageElements/page_element": page_element -"/slides:v1/Page/notesProperties": notes_properties -"/slides:v1/Page/pageType": page_type -"/slides:v1/Page/pageProperties": page_properties -"/slides:v1/Page/slideProperties": slide_properties +"/slides:v1/ReplaceAllTextResponse": replace_all_text_response +"/slides:v1/ReplaceAllTextResponse/occurrencesChanged": occurrences_changed +"/slides:v1/Request": request +"/slides:v1/Request/createImage": create_image +"/slides:v1/Request/createLine": create_line +"/slides:v1/Request/createParagraphBullets": create_paragraph_bullets +"/slides:v1/Request/createShape": create_shape +"/slides:v1/Request/createSheetsChart": create_sheets_chart +"/slides:v1/Request/createSlide": create_slide +"/slides:v1/Request/createTable": create_table +"/slides:v1/Request/createVideo": create_video +"/slides:v1/Request/deleteObject": delete_object +"/slides:v1/Request/deleteParagraphBullets": delete_paragraph_bullets +"/slides:v1/Request/deleteTableColumn": delete_table_column +"/slides:v1/Request/deleteTableRow": delete_table_row +"/slides:v1/Request/deleteText": delete_text +"/slides:v1/Request/duplicateObject": duplicate_object +"/slides:v1/Request/insertTableColumns": insert_table_columns +"/slides:v1/Request/insertTableRows": insert_table_rows +"/slides:v1/Request/insertText": insert_text +"/slides:v1/Request/refreshSheetsChart": refresh_sheets_chart +"/slides:v1/Request/replaceAllShapesWithImage": replace_all_shapes_with_image +"/slides:v1/Request/replaceAllShapesWithSheetsChart": replace_all_shapes_with_sheets_chart +"/slides:v1/Request/replaceAllText": replace_all_text +"/slides:v1/Request/updateImageProperties": update_image_properties +"/slides:v1/Request/updateLineProperties": update_line_properties +"/slides:v1/Request/updatePageElementTransform": update_page_element_transform +"/slides:v1/Request/updatePageProperties": update_page_properties +"/slides:v1/Request/updateParagraphStyle": update_paragraph_style +"/slides:v1/Request/updateShapeProperties": update_shape_properties +"/slides:v1/Request/updateSlidesPosition": update_slides_position +"/slides:v1/Request/updateTableCellProperties": update_table_cell_properties +"/slides:v1/Request/updateTextStyle": update_text_style +"/slides:v1/Request/updateVideoProperties": update_video_properties +"/slides:v1/Response": response +"/slides:v1/Response/createImage": create_image +"/slides:v1/Response/createLine": create_line +"/slides:v1/Response/createShape": create_shape +"/slides:v1/Response/createSheetsChart": create_sheets_chart +"/slides:v1/Response/createSlide": create_slide +"/slides:v1/Response/createTable": create_table +"/slides:v1/Response/createVideo": create_video +"/slides:v1/Response/duplicateObject": duplicate_object +"/slides:v1/Response/replaceAllShapesWithImage": replace_all_shapes_with_image +"/slides:v1/Response/replaceAllShapesWithSheetsChart": replace_all_shapes_with_sheets_chart +"/slides:v1/Response/replaceAllText": replace_all_text +"/slides:v1/RgbColor": rgb_color +"/slides:v1/RgbColor/blue": blue +"/slides:v1/RgbColor/green": green +"/slides:v1/RgbColor/red": red +"/slides:v1/Shadow": shadow +"/slides:v1/Shadow/alignment": alignment +"/slides:v1/Shadow/alpha": alpha +"/slides:v1/Shadow/blurRadius": blur_radius +"/slides:v1/Shadow/color": color +"/slides:v1/Shadow/propertyState": property_state +"/slides:v1/Shadow/rotateWithShape": rotate_with_shape +"/slides:v1/Shadow/transform": transform +"/slides:v1/Shadow/type": type +"/slides:v1/Shape": shape +"/slides:v1/Shape/placeholder": placeholder +"/slides:v1/Shape/shapeProperties": shape_properties +"/slides:v1/Shape/shapeType": shape_type +"/slides:v1/Shape/text": text "/slides:v1/ShapeBackgroundFill": shape_background_fill "/slides:v1/ShapeBackgroundFill/propertyState": property_state "/slides:v1/ShapeBackgroundFill/solidFill": solid_fill -"/slides:v1/CropProperties": crop_properties -"/slides:v1/CropProperties/rightOffset": right_offset -"/slides:v1/CropProperties/bottomOffset": bottom_offset -"/slides:v1/CropProperties/angle": angle -"/slides:v1/CropProperties/topOffset": top_offset -"/slides:v1/CropProperties/leftOffset": left_offset -"/slides:v1/ReplaceAllShapesWithSheetsChartRequest": replace_all_shapes_with_sheets_chart_request -"/slides:v1/ReplaceAllShapesWithSheetsChartRequest/linkingMode": linking_mode -"/slides:v1/ReplaceAllShapesWithSheetsChartRequest/spreadsheetId": spreadsheet_id -"/slides:v1/ReplaceAllShapesWithSheetsChartRequest/pageObjectIds": page_object_ids -"/slides:v1/ReplaceAllShapesWithSheetsChartRequest/pageObjectIds/page_object_id": page_object_id -"/slides:v1/ReplaceAllShapesWithSheetsChartRequest/chartId": chart_id -"/slides:v1/ReplaceAllShapesWithSheetsChartRequest/containsText": contains_text -"/slides:v1/Range": range -"/slides:v1/Range/endIndex": end_index -"/slides:v1/Range/startIndex": start_index -"/slides:v1/Range/type": type -"/slides:v1/ColorStop": color_stop -"/slides:v1/ColorStop/position": position -"/slides:v1/ColorStop/alpha": alpha -"/slides:v1/ColorStop/color": color -"/slides:v1/CreateVideoRequest": create_video_request -"/slides:v1/CreateVideoRequest/source": source -"/slides:v1/CreateVideoRequest/objectId": object_id_prop -"/slides:v1/CreateVideoRequest/elementProperties": element_properties -"/slides:v1/CreateVideoRequest/id": id -"/slides:v1/DuplicateObjectResponse": duplicate_object_response -"/slides:v1/DuplicateObjectResponse/objectId": object_id_prop -"/slides:v1/ReplaceAllShapesWithImageRequest": replace_all_shapes_with_image_request -"/slides:v1/ReplaceAllShapesWithImageRequest/imageUrl": image_url -"/slides:v1/ReplaceAllShapesWithImageRequest/replaceMethod": replace_method -"/slides:v1/ReplaceAllShapesWithImageRequest/pageObjectIds": page_object_ids -"/slides:v1/ReplaceAllShapesWithImageRequest/pageObjectIds/page_object_id": page_object_id -"/slides:v1/ReplaceAllShapesWithImageRequest/containsText": contains_text -"/slides:v1/Shadow": shadow -"/slides:v1/Shadow/type": type -"/slides:v1/Shadow/transform": transform -"/slides:v1/Shadow/alignment": alignment -"/slides:v1/Shadow/alpha": alpha -"/slides:v1/Shadow/color": color -"/slides:v1/Shadow/rotateWithShape": rotate_with_shape -"/slides:v1/Shadow/propertyState": property_state -"/slides:v1/Shadow/blurRadius": blur_radius -"/slides:v1/DeleteTableRowRequest": delete_table_row_request -"/slides:v1/DeleteTableRowRequest/cellLocation": cell_location -"/slides:v1/DeleteTableRowRequest/tableObjectId": table_object_id -"/slides:v1/Bullet": bullet -"/slides:v1/Bullet/glyph": glyph -"/slides:v1/Bullet/nestingLevel": nesting_level -"/slides:v1/Bullet/bulletStyle": bullet_style -"/slides:v1/Bullet/listId": list_id -"/slides:v1/OutlineFill": outline_fill -"/slides:v1/OutlineFill/solidFill": solid_fill -"/slides:v1/CreateLineResponse": create_line_response -"/slides:v1/CreateLineResponse/objectId": object_id_prop +"/slides:v1/ShapeProperties": shape_properties +"/slides:v1/ShapeProperties/link": link +"/slides:v1/ShapeProperties/outline": outline +"/slides:v1/ShapeProperties/shadow": shadow +"/slides:v1/ShapeProperties/shapeBackgroundFill": shape_background_fill +"/slides:v1/SheetsChart": sheets_chart +"/slides:v1/SheetsChart/chartId": chart_id +"/slides:v1/SheetsChart/contentUrl": content_url +"/slides:v1/SheetsChart/sheetsChartProperties": sheets_chart_properties +"/slides:v1/SheetsChart/spreadsheetId": spreadsheet_id +"/slides:v1/SheetsChartProperties": sheets_chart_properties +"/slides:v1/SheetsChartProperties/chartImageProperties": chart_image_properties +"/slides:v1/Size": size +"/slides:v1/Size/height": height +"/slides:v1/Size/width": width +"/slides:v1/SlideProperties": slide_properties +"/slides:v1/SlideProperties/layoutObjectId": layout_object_id +"/slides:v1/SlideProperties/masterObjectId": master_object_id +"/slides:v1/SlideProperties/notesPage": notes_page +"/slides:v1/SolidFill": solid_fill +"/slides:v1/SolidFill/alpha": alpha +"/slides:v1/SolidFill/color": color +"/slides:v1/StretchedPictureFill": stretched_picture_fill +"/slides:v1/StretchedPictureFill/contentUrl": content_url +"/slides:v1/StretchedPictureFill/size": size +"/slides:v1/SubstringMatchCriteria": substring_match_criteria +"/slides:v1/SubstringMatchCriteria/matchCase": match_case +"/slides:v1/SubstringMatchCriteria/text": text +"/slides:v1/Table": table +"/slides:v1/Table/columns": columns +"/slides:v1/Table/rows": rows +"/slides:v1/Table/tableColumns": table_columns +"/slides:v1/Table/tableColumns/table_column": table_column +"/slides:v1/Table/tableRows": table_rows +"/slides:v1/Table/tableRows/table_row": table_row +"/slides:v1/TableCell": table_cell +"/slides:v1/TableCell/columnSpan": column_span +"/slides:v1/TableCell/location": location +"/slides:v1/TableCell/rowSpan": row_span +"/slides:v1/TableCell/tableCellProperties": table_cell_properties +"/slides:v1/TableCell/text": text +"/slides:v1/TableCellBackgroundFill": table_cell_background_fill +"/slides:v1/TableCellBackgroundFill/propertyState": property_state +"/slides:v1/TableCellBackgroundFill/solidFill": solid_fill "/slides:v1/TableCellLocation": table_cell_location "/slides:v1/TableCellLocation/columnIndex": column_index "/slides:v1/TableCellLocation/rowIndex": row_index -"/slides:v1/ReplaceAllTextResponse": replace_all_text_response -"/slides:v1/ReplaceAllTextResponse/occurrencesChanged": occurrences_changed -"/slides:v1/UpdateParagraphStyleRequest": update_paragraph_style_request -"/slides:v1/UpdateParagraphStyleRequest/fields": fields -"/slides:v1/UpdateParagraphStyleRequest/textRange": text_range -"/slides:v1/UpdateParagraphStyleRequest/objectId": object_id_prop -"/slides:v1/UpdateParagraphStyleRequest/style": style -"/slides:v1/UpdateParagraphStyleRequest/cellLocation": cell_location -"/slides:v1/ColorScheme": color_scheme -"/slides:v1/ColorScheme/colors": colors -"/slides:v1/ColorScheme/colors/color": color -"/slides:v1/Shape": shape -"/slides:v1/Shape/placeholder": placeholder -"/slides:v1/Shape/text": text -"/slides:v1/Shape/shapeType": shape_type -"/slides:v1/Shape/shapeProperties": shape_properties -"/slides:v1/Image": image -"/slides:v1/Image/contentUrl": content_url -"/slides:v1/Image/imageProperties": image_properties -"/slides:v1/AffineTransform": affine_transform -"/slides:v1/AffineTransform/shearX": shear_x -"/slides:v1/AffineTransform/scaleY": scale_y -"/slides:v1/AffineTransform/translateY": translate_y -"/slides:v1/AffineTransform/translateX": translate_x -"/slides:v1/AffineTransform/shearY": shear_y -"/slides:v1/AffineTransform/unit": unit -"/slides:v1/AffineTransform/scaleX": scale_x -"/slides:v1/InsertTextRequest": insert_text_request -"/slides:v1/InsertTextRequest/text": text -"/slides:v1/InsertTextRequest/objectId": object_id_prop -"/slides:v1/InsertTextRequest/insertionIndex": insertion_index -"/slides:v1/InsertTextRequest/cellLocation": cell_location -"/slides:v1/AutoText": auto_text -"/slides:v1/AutoText/content": content -"/slides:v1/AutoText/type": type -"/slides:v1/AutoText/style": style -"/slides:v1/CreateVideoResponse": create_video_response -"/slides:v1/CreateVideoResponse/objectId": object_id_prop -"/slides:v1/UpdatePageElementTransformRequest": update_page_element_transform_request -"/slides:v1/UpdatePageElementTransformRequest/transform": transform -"/slides:v1/UpdatePageElementTransformRequest/objectId": object_id_prop -"/slides:v1/UpdatePageElementTransformRequest/applyMode": apply_mode -"/slides:v1/DeleteTextRequest": delete_text_request -"/slides:v1/DeleteTextRequest/textRange": text_range -"/slides:v1/DeleteTextRequest/objectId": object_id_prop -"/slides:v1/DeleteTextRequest/cellLocation": cell_location -"/slides:v1/DeleteObjectRequest": delete_object_request -"/slides:v1/DeleteObjectRequest/objectId": object_id_prop +"/slides:v1/TableCellProperties": table_cell_properties +"/slides:v1/TableCellProperties/tableCellBackgroundFill": table_cell_background_fill +"/slides:v1/TableColumnProperties": table_column_properties +"/slides:v1/TableColumnProperties/columnWidth": column_width +"/slides:v1/TableRange": table_range +"/slides:v1/TableRange/columnSpan": column_span +"/slides:v1/TableRange/location": location +"/slides:v1/TableRange/rowSpan": row_span +"/slides:v1/TableRow": table_row +"/slides:v1/TableRow/rowHeight": row_height +"/slides:v1/TableRow/tableCells": table_cells +"/slides:v1/TableRow/tableCells/table_cell": table_cell +"/slides:v1/TextContent": text_content +"/slides:v1/TextContent/lists": lists +"/slides:v1/TextContent/lists/list": list +"/slides:v1/TextContent/textElements": text_elements +"/slides:v1/TextContent/textElements/text_element": text_element "/slides:v1/TextElement": text_element +"/slides:v1/TextElement/autoText": auto_text "/slides:v1/TextElement/endIndex": end_index +"/slides:v1/TextElement/paragraphMarker": paragraph_marker "/slides:v1/TextElement/startIndex": start_index "/slides:v1/TextElement/textRun": text_run -"/slides:v1/TextElement/autoText": auto_text -"/slides:v1/TextElement/paragraphMarker": paragraph_marker -"/slides:v1/Dimension": dimension -"/slides:v1/Dimension/magnitude": magnitude -"/slides:v1/Dimension/unit": unit -"/slides:v1/LineFill": line_fill -"/slides:v1/LineFill/solidFill": solid_fill +"/slides:v1/TextRun": text_run +"/slides:v1/TextRun/content": content +"/slides:v1/TextRun/style": style +"/slides:v1/TextStyle": text_style +"/slides:v1/TextStyle/backgroundColor": background_color +"/slides:v1/TextStyle/baselineOffset": baseline_offset +"/slides:v1/TextStyle/bold": bold +"/slides:v1/TextStyle/fontFamily": font_family +"/slides:v1/TextStyle/fontSize": font_size +"/slides:v1/TextStyle/foregroundColor": foreground_color +"/slides:v1/TextStyle/italic": italic +"/slides:v1/TextStyle/link": link +"/slides:v1/TextStyle/smallCaps": small_caps +"/slides:v1/TextStyle/strikethrough": strikethrough +"/slides:v1/TextStyle/underline": underline +"/slides:v1/TextStyle/weightedFontFamily": weighted_font_family +"/slides:v1/ThemeColorPair": theme_color_pair +"/slides:v1/ThemeColorPair/color": color +"/slides:v1/ThemeColorPair/type": type +"/slides:v1/Thumbnail": thumbnail +"/slides:v1/Thumbnail/contentUrl": content_url +"/slides:v1/Thumbnail/height": height +"/slides:v1/Thumbnail/width": width +"/slides:v1/UpdateImagePropertiesRequest": update_image_properties_request +"/slides:v1/UpdateImagePropertiesRequest/fields": fields +"/slides:v1/UpdateImagePropertiesRequest/imageProperties": image_properties +"/slides:v1/UpdateImagePropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdateLinePropertiesRequest": update_line_properties_request +"/slides:v1/UpdateLinePropertiesRequest/fields": fields +"/slides:v1/UpdateLinePropertiesRequest/lineProperties": line_properties +"/slides:v1/UpdateLinePropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdatePageElementTransformRequest": update_page_element_transform_request +"/slides:v1/UpdatePageElementTransformRequest/applyMode": apply_mode +"/slides:v1/UpdatePageElementTransformRequest/objectId": object_id_prop +"/slides:v1/UpdatePageElementTransformRequest/transform": transform +"/slides:v1/UpdatePagePropertiesRequest": update_page_properties_request +"/slides:v1/UpdatePagePropertiesRequest/fields": fields +"/slides:v1/UpdatePagePropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdatePagePropertiesRequest/pageProperties": page_properties +"/slides:v1/UpdateParagraphStyleRequest": update_paragraph_style_request +"/slides:v1/UpdateParagraphStyleRequest/cellLocation": cell_location +"/slides:v1/UpdateParagraphStyleRequest/fields": fields +"/slides:v1/UpdateParagraphStyleRequest/objectId": object_id_prop +"/slides:v1/UpdateParagraphStyleRequest/style": style +"/slides:v1/UpdateParagraphStyleRequest/textRange": text_range +"/slides:v1/UpdateShapePropertiesRequest": update_shape_properties_request +"/slides:v1/UpdateShapePropertiesRequest/fields": fields +"/slides:v1/UpdateShapePropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdateShapePropertiesRequest/shapeProperties": shape_properties +"/slides:v1/UpdateSlidesPositionRequest": update_slides_position_request +"/slides:v1/UpdateSlidesPositionRequest/insertionIndex": insertion_index +"/slides:v1/UpdateSlidesPositionRequest/slideObjectIds": slide_object_ids +"/slides:v1/UpdateSlidesPositionRequest/slideObjectIds/slide_object_id": slide_object_id +"/slides:v1/UpdateTableCellPropertiesRequest": update_table_cell_properties_request +"/slides:v1/UpdateTableCellPropertiesRequest/fields": fields +"/slides:v1/UpdateTableCellPropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdateTableCellPropertiesRequest/tableCellProperties": table_cell_properties +"/slides:v1/UpdateTableCellPropertiesRequest/tableRange": table_range +"/slides:v1/UpdateTextStyleRequest": update_text_style_request +"/slides:v1/UpdateTextStyleRequest/cellLocation": cell_location +"/slides:v1/UpdateTextStyleRequest/fields": fields +"/slides:v1/UpdateTextStyleRequest/objectId": object_id_prop +"/slides:v1/UpdateTextStyleRequest/style": style +"/slides:v1/UpdateTextStyleRequest/textRange": text_range +"/slides:v1/UpdateVideoPropertiesRequest": update_video_properties_request +"/slides:v1/UpdateVideoPropertiesRequest/fields": fields +"/slides:v1/UpdateVideoPropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdateVideoPropertiesRequest/videoProperties": video_properties +"/slides:v1/Video": video +"/slides:v1/Video/id": id +"/slides:v1/Video/source": source +"/slides:v1/Video/url": url +"/slides:v1/Video/videoProperties": video_properties "/slides:v1/VideoProperties": video_properties "/slides:v1/VideoProperties/outline": outline -"/slides:v1/InsertTableRowsRequest": insert_table_rows_request -"/slides:v1/InsertTableRowsRequest/tableObjectId": table_object_id -"/slides:v1/InsertTableRowsRequest/insertBelow": insert_below -"/slides:v1/InsertTableRowsRequest/number": number -"/slides:v1/InsertTableRowsRequest/cellLocation": cell_location -"/slides:v1/LayoutProperties": layout_properties -"/slides:v1/LayoutProperties/masterObjectId": master_object_id -"/slides:v1/LayoutProperties/name": name -"/slides:v1/LayoutProperties/displayName": display_name -"/slides:v1/LineProperties": line_properties -"/slides:v1/LineProperties/weight": weight -"/slides:v1/LineProperties/lineFill": line_fill -"/slides:v1/LineProperties/link": link -"/slides:v1/LineProperties/dashStyle": dash_style -"/slides:v1/LineProperties/endArrow": end_arrow -"/slides:v1/LineProperties/startArrow": start_arrow -"/slides:v1/Presentation": presentation -"/slides:v1/Presentation/layouts": layouts -"/slides:v1/Presentation/layouts/layout": layout -"/slides:v1/Presentation/title": title -"/slides:v1/Presentation/masters": masters -"/slides:v1/Presentation/masters/master": master -"/slides:v1/Presentation/locale": locale -"/slides:v1/Presentation/pageSize": page_size -"/slides:v1/Presentation/presentationId": presentation_id -"/slides:v1/Presentation/slides": slides -"/slides:v1/Presentation/slides/slide": slide -"/slides:v1/Presentation/revisionId": revision_id -"/slides:v1/Presentation/notesMaster": notes_master -"/slides:v1/OpaqueColor": opaque_color -"/slides:v1/OpaqueColor/rgbColor": rgb_color -"/slides:v1/OpaqueColor/themeColor": theme_color -"/slides:v1/ImageProperties": image_properties -"/slides:v1/ImageProperties/cropProperties": crop_properties -"/slides:v1/ImageProperties/recolor": recolor -"/slides:v1/ImageProperties/outline": outline -"/slides:v1/ImageProperties/brightness": brightness -"/slides:v1/ImageProperties/transparency": transparency -"/slides:v1/ImageProperties/shadow": shadow -"/slides:v1/ImageProperties/contrast": contrast -"/slides:v1/ImageProperties/link": link -"/slides:v1/ReplaceAllShapesWithImageResponse": replace_all_shapes_with_image_response -"/slides:v1/ReplaceAllShapesWithImageResponse/occurrencesChanged": occurrences_changed -"/sourcerepo:v1/key": key -"/sourcerepo:v1/quotaUser": quota_user -"/sourcerepo:v1/fields": fields -"/sourcerepo:v1/sourcerepo.projects.repos.getIamPolicy": get_project_repo_iam_policy -"/sourcerepo:v1/sourcerepo.projects.repos.getIamPolicy/resource": resource -"/sourcerepo:v1/sourcerepo.projects.repos.get": get_project_repo -"/sourcerepo:v1/sourcerepo.projects.repos.get/name": name -"/sourcerepo:v1/sourcerepo.projects.repos.testIamPermissions": test_repo_iam_permissions -"/sourcerepo:v1/sourcerepo.projects.repos.testIamPermissions/resource": resource -"/sourcerepo:v1/sourcerepo.projects.repos.delete": delete_project_repo -"/sourcerepo:v1/sourcerepo.projects.repos.delete/name": name -"/sourcerepo:v1/sourcerepo.projects.repos.list": list_project_repos -"/sourcerepo:v1/sourcerepo.projects.repos.list/pageToken": page_token -"/sourcerepo:v1/sourcerepo.projects.repos.list/name": name -"/sourcerepo:v1/sourcerepo.projects.repos.list/pageSize": page_size -"/sourcerepo:v1/sourcerepo.projects.repos.create": create_project_repo -"/sourcerepo:v1/sourcerepo.projects.repos.create/parent": parent -"/sourcerepo:v1/sourcerepo.projects.repos.setIamPolicy": set_repo_iam_policy -"/sourcerepo:v1/sourcerepo.projects.repos.setIamPolicy/resource": resource +"/slides:v1/WeightedFontFamily": weighted_font_family +"/slides:v1/WeightedFontFamily/fontFamily": font_family +"/slides:v1/WeightedFontFamily/weight": weight +"/slides:v1/WordArt": word_art +"/slides:v1/WordArt/renderedText": rendered_text +"/slides:v1/WriteControl": write_control +"/slides:v1/WriteControl/requiredRevisionId": required_revision_id +"/slides:v1/fields": fields +"/slides:v1/key": key +"/slides:v1/quotaUser": quota_user +"/slides:v1/slides.presentations.batchUpdate": batch_update_presentation +"/slides:v1/slides.presentations.batchUpdate/presentationId": presentation_id +"/slides:v1/slides.presentations.create": create_presentation +"/slides:v1/slides.presentations.get": get_presentation +"/slides:v1/slides.presentations.get/presentationId": presentation_id +"/slides:v1/slides.presentations.pages.get": get_presentation_page +"/slides:v1/slides.presentations.pages.get/pageObjectId": page_object_id +"/slides:v1/slides.presentations.pages.get/presentationId": presentation_id +"/slides:v1/slides.presentations.pages.getThumbnail": get_presentation_page_thumbnail +"/slides:v1/slides.presentations.pages.getThumbnail/pageObjectId": page_object_id +"/slides:v1/slides.presentations.pages.getThumbnail/presentationId": presentation_id +"/slides:v1/slides.presentations.pages.getThumbnail/thumbnailProperties.mimeType": thumbnail_properties_mime_type +"/slides:v1/slides.presentations.pages.getThumbnail/thumbnailProperties.thumbnailSize": thumbnail_properties_thumbnail_size "/sourcerepo:v1/AuditConfig": audit_config "/sourcerepo:v1/AuditConfig/auditLogConfigs": audit_log_configs "/sourcerepo:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config "/sourcerepo:v1/AuditConfig/exemptedMembers": exempted_members "/sourcerepo:v1/AuditConfig/exemptedMembers/exempted_member": exempted_member "/sourcerepo:v1/AuditConfig/service": service -"/sourcerepo:v1/SetIamPolicyRequest": set_iam_policy_request -"/sourcerepo:v1/SetIamPolicyRequest/policy": policy -"/sourcerepo:v1/SetIamPolicyRequest/updateMask": update_mask -"/sourcerepo:v1/CloudAuditOptions": cloud_audit_options -"/sourcerepo:v1/CloudAuditOptions/logName": log_name -"/sourcerepo:v1/Binding": binding -"/sourcerepo:v1/Binding/members": members -"/sourcerepo:v1/Binding/members/member": member -"/sourcerepo:v1/Binding/role": role -"/sourcerepo:v1/MirrorConfig": mirror_config -"/sourcerepo:v1/MirrorConfig/url": url -"/sourcerepo:v1/MirrorConfig/webhookId": webhook_id -"/sourcerepo:v1/MirrorConfig/deployKeyId": deploy_key_id -"/sourcerepo:v1/Empty": empty -"/sourcerepo:v1/Repo": repo -"/sourcerepo:v1/Repo/name": name -"/sourcerepo:v1/Repo/mirrorConfig": mirror_config -"/sourcerepo:v1/Repo/url": url -"/sourcerepo:v1/Repo/size": size -"/sourcerepo:v1/ListReposResponse": list_repos_response -"/sourcerepo:v1/ListReposResponse/repos": repos -"/sourcerepo:v1/ListReposResponse/repos/repo": repo -"/sourcerepo:v1/ListReposResponse/nextPageToken": next_page_token -"/sourcerepo:v1/TestIamPermissionsResponse": test_iam_permissions_response -"/sourcerepo:v1/TestIamPermissionsResponse/permissions": permissions -"/sourcerepo:v1/TestIamPermissionsResponse/permissions/permission": permission -"/sourcerepo:v1/Condition": condition -"/sourcerepo:v1/Condition/sys": sys -"/sourcerepo:v1/Condition/value": value -"/sourcerepo:v1/Condition/values": values -"/sourcerepo:v1/Condition/values/value": value -"/sourcerepo:v1/Condition/iam": iam -"/sourcerepo:v1/Condition/op": op -"/sourcerepo:v1/Condition/svc": svc -"/sourcerepo:v1/CounterOptions": counter_options -"/sourcerepo:v1/CounterOptions/field": field -"/sourcerepo:v1/CounterOptions/metric": metric "/sourcerepo:v1/AuditLogConfig": audit_log_config "/sourcerepo:v1/AuditLogConfig/exemptedMembers": exempted_members "/sourcerepo:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member "/sourcerepo:v1/AuditLogConfig/logType": log_type -"/sourcerepo:v1/Rule": rule -"/sourcerepo:v1/Rule/logConfig": log_config -"/sourcerepo:v1/Rule/logConfig/log_config": log_config -"/sourcerepo:v1/Rule/in": in -"/sourcerepo:v1/Rule/in/in": in -"/sourcerepo:v1/Rule/permissions": permissions -"/sourcerepo:v1/Rule/permissions/permission": permission -"/sourcerepo:v1/Rule/action": action -"/sourcerepo:v1/Rule/notIn": not_in -"/sourcerepo:v1/Rule/notIn/not_in": not_in -"/sourcerepo:v1/Rule/description": description -"/sourcerepo:v1/Rule/conditions": conditions -"/sourcerepo:v1/Rule/conditions/condition": condition +"/sourcerepo:v1/Binding": binding +"/sourcerepo:v1/Binding/members": members +"/sourcerepo:v1/Binding/members/member": member +"/sourcerepo:v1/Binding/role": role +"/sourcerepo:v1/CloudAuditOptions": cloud_audit_options +"/sourcerepo:v1/CloudAuditOptions/logName": log_name +"/sourcerepo:v1/Condition": condition +"/sourcerepo:v1/Condition/iam": iam +"/sourcerepo:v1/Condition/op": op +"/sourcerepo:v1/Condition/svc": svc +"/sourcerepo:v1/Condition/sys": sys +"/sourcerepo:v1/Condition/value": value +"/sourcerepo:v1/Condition/values": values +"/sourcerepo:v1/Condition/values/value": value +"/sourcerepo:v1/CounterOptions": counter_options +"/sourcerepo:v1/CounterOptions/field": field +"/sourcerepo:v1/CounterOptions/metric": metric +"/sourcerepo:v1/DataAccessOptions": data_access_options +"/sourcerepo:v1/Empty": empty +"/sourcerepo:v1/ListReposResponse": list_repos_response +"/sourcerepo:v1/ListReposResponse/nextPageToken": next_page_token +"/sourcerepo:v1/ListReposResponse/repos": repos +"/sourcerepo:v1/ListReposResponse/repos/repo": repo "/sourcerepo:v1/LogConfig": log_config +"/sourcerepo:v1/LogConfig/cloudAudit": cloud_audit "/sourcerepo:v1/LogConfig/counter": counter "/sourcerepo:v1/LogConfig/dataAccess": data_access -"/sourcerepo:v1/LogConfig/cloudAudit": cloud_audit -"/sourcerepo:v1/TestIamPermissionsRequest": test_iam_permissions_request -"/sourcerepo:v1/TestIamPermissionsRequest/permissions": permissions -"/sourcerepo:v1/TestIamPermissionsRequest/permissions/permission": permission +"/sourcerepo:v1/MirrorConfig": mirror_config +"/sourcerepo:v1/MirrorConfig/deployKeyId": deploy_key_id +"/sourcerepo:v1/MirrorConfig/url": url +"/sourcerepo:v1/MirrorConfig/webhookId": webhook_id "/sourcerepo:v1/Policy": policy +"/sourcerepo:v1/Policy/auditConfigs": audit_configs +"/sourcerepo:v1/Policy/auditConfigs/audit_config": audit_config +"/sourcerepo:v1/Policy/bindings": bindings +"/sourcerepo:v1/Policy/bindings/binding": binding "/sourcerepo:v1/Policy/etag": etag "/sourcerepo:v1/Policy/iamOwned": iam_owned "/sourcerepo:v1/Policy/rules": rules "/sourcerepo:v1/Policy/rules/rule": rule "/sourcerepo:v1/Policy/version": version -"/sourcerepo:v1/Policy/auditConfigs": audit_configs -"/sourcerepo:v1/Policy/auditConfigs/audit_config": audit_config -"/sourcerepo:v1/Policy/bindings": bindings -"/sourcerepo:v1/Policy/bindings/binding": binding -"/sourcerepo:v1/DataAccessOptions": data_access_options +"/sourcerepo:v1/Repo": repo +"/sourcerepo:v1/Repo/mirrorConfig": mirror_config +"/sourcerepo:v1/Repo/name": name +"/sourcerepo:v1/Repo/size": size +"/sourcerepo:v1/Repo/url": url +"/sourcerepo:v1/Rule": rule +"/sourcerepo:v1/Rule/action": action +"/sourcerepo:v1/Rule/conditions": conditions +"/sourcerepo:v1/Rule/conditions/condition": condition +"/sourcerepo:v1/Rule/description": description +"/sourcerepo:v1/Rule/in": in +"/sourcerepo:v1/Rule/in/in": in +"/sourcerepo:v1/Rule/logConfig": log_config +"/sourcerepo:v1/Rule/logConfig/log_config": log_config +"/sourcerepo:v1/Rule/notIn": not_in +"/sourcerepo:v1/Rule/notIn/not_in": not_in +"/sourcerepo:v1/Rule/permissions": permissions +"/sourcerepo:v1/Rule/permissions/permission": permission +"/sourcerepo:v1/SetIamPolicyRequest": set_iam_policy_request +"/sourcerepo:v1/SetIamPolicyRequest/policy": policy +"/sourcerepo:v1/SetIamPolicyRequest/updateMask": update_mask +"/sourcerepo:v1/TestIamPermissionsRequest": test_iam_permissions_request +"/sourcerepo:v1/TestIamPermissionsRequest/permissions": permissions +"/sourcerepo:v1/TestIamPermissionsRequest/permissions/permission": permission +"/sourcerepo:v1/TestIamPermissionsResponse": test_iam_permissions_response +"/sourcerepo:v1/TestIamPermissionsResponse/permissions": permissions +"/sourcerepo:v1/TestIamPermissionsResponse/permissions/permission": permission +"/sourcerepo:v1/fields": fields +"/sourcerepo:v1/key": key +"/sourcerepo:v1/quotaUser": quota_user +"/sourcerepo:v1/sourcerepo.projects.repos.create": create_project_repo +"/sourcerepo:v1/sourcerepo.projects.repos.create/parent": parent +"/sourcerepo:v1/sourcerepo.projects.repos.delete": delete_project_repo +"/sourcerepo:v1/sourcerepo.projects.repos.delete/name": name +"/sourcerepo:v1/sourcerepo.projects.repos.get": get_project_repo +"/sourcerepo:v1/sourcerepo.projects.repos.get/name": name +"/sourcerepo:v1/sourcerepo.projects.repos.getIamPolicy": get_project_repo_iam_policy +"/sourcerepo:v1/sourcerepo.projects.repos.getIamPolicy/resource": resource +"/sourcerepo:v1/sourcerepo.projects.repos.list": list_project_repos +"/sourcerepo:v1/sourcerepo.projects.repos.list/name": name +"/sourcerepo:v1/sourcerepo.projects.repos.list/pageSize": page_size +"/sourcerepo:v1/sourcerepo.projects.repos.list/pageToken": page_token +"/sourcerepo:v1/sourcerepo.projects.repos.setIamPolicy": set_repo_iam_policy +"/sourcerepo:v1/sourcerepo.projects.repos.setIamPolicy/resource": resource +"/sourcerepo:v1/sourcerepo.projects.repos.testIamPermissions": test_repo_iam_permissions +"/sourcerepo:v1/sourcerepo.projects.repos.testIamPermissions/resource": resource +"/spanner:v1/AuditConfig": audit_config +"/spanner:v1/AuditConfig/auditLogConfigs": audit_log_configs +"/spanner:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/spanner:v1/AuditConfig/exemptedMembers": exempted_members +"/spanner:v1/AuditConfig/exemptedMembers/exempted_member": exempted_member +"/spanner:v1/AuditConfig/service": service +"/spanner:v1/AuditLogConfig": audit_log_config +"/spanner:v1/AuditLogConfig/exemptedMembers": exempted_members +"/spanner:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member +"/spanner:v1/AuditLogConfig/logType": log_type +"/spanner:v1/AuthorizationLoggingOptions": authorization_logging_options +"/spanner:v1/AuthorizationLoggingOptions/permissionType": permission_type +"/spanner:v1/BeginTransactionRequest": begin_transaction_request +"/spanner:v1/BeginTransactionRequest/options": options +"/spanner:v1/Binding": binding +"/spanner:v1/Binding/condition": condition +"/spanner:v1/Binding/members": members +"/spanner:v1/Binding/members/member": member +"/spanner:v1/Binding/role": role +"/spanner:v1/ChildLink": child_link +"/spanner:v1/ChildLink/childIndex": child_index +"/spanner:v1/ChildLink/type": type +"/spanner:v1/ChildLink/variable": variable +"/spanner:v1/CloudAuditOptions": cloud_audit_options +"/spanner:v1/CloudAuditOptions/authorizationLoggingOptions": authorization_logging_options +"/spanner:v1/CloudAuditOptions/logName": log_name +"/spanner:v1/CommitRequest": commit_request +"/spanner:v1/CommitRequest/mutations": mutations +"/spanner:v1/CommitRequest/mutations/mutation": mutation +"/spanner:v1/CommitRequest/singleUseTransaction": single_use_transaction +"/spanner:v1/CommitRequest/transactionId": transaction_id +"/spanner:v1/CommitResponse": commit_response +"/spanner:v1/CommitResponse/commitTimestamp": commit_timestamp +"/spanner:v1/Condition": condition +"/spanner:v1/Condition/iam": iam +"/spanner:v1/Condition/op": op +"/spanner:v1/Condition/svc": svc +"/spanner:v1/Condition/sys": sys +"/spanner:v1/Condition/value": value +"/spanner:v1/Condition/values": values +"/spanner:v1/Condition/values/value": value +"/spanner:v1/CounterOptions": counter_options +"/spanner:v1/CounterOptions/field": field +"/spanner:v1/CounterOptions/metric": metric +"/spanner:v1/CreateDatabaseMetadata": create_database_metadata +"/spanner:v1/CreateDatabaseMetadata/database": database +"/spanner:v1/CreateDatabaseRequest": create_database_request +"/spanner:v1/CreateDatabaseRequest/createStatement": create_statement +"/spanner:v1/CreateDatabaseRequest/extraStatements": extra_statements +"/spanner:v1/CreateDatabaseRequest/extraStatements/extra_statement": extra_statement +"/spanner:v1/CreateInstanceMetadata": create_instance_metadata +"/spanner:v1/CreateInstanceMetadata/cancelTime": cancel_time +"/spanner:v1/CreateInstanceMetadata/endTime": end_time +"/spanner:v1/CreateInstanceMetadata/instance": instance +"/spanner:v1/CreateInstanceMetadata/startTime": start_time +"/spanner:v1/CreateInstanceRequest": create_instance_request +"/spanner:v1/CreateInstanceRequest/instance": instance +"/spanner:v1/CreateInstanceRequest/instanceId": instance_id +"/spanner:v1/DataAccessOptions": data_access_options +"/spanner:v1/Database": database +"/spanner:v1/Database/name": name +"/spanner:v1/Database/state": state +"/spanner:v1/Delete": delete +"/spanner:v1/Delete/keySet": key_set +"/spanner:v1/Delete/table": table +"/spanner:v1/Empty": empty +"/spanner:v1/ExecuteSqlRequest": execute_sql_request +"/spanner:v1/ExecuteSqlRequest/paramTypes": param_types +"/spanner:v1/ExecuteSqlRequest/paramTypes/param_type": param_type +"/spanner:v1/ExecuteSqlRequest/params": params +"/spanner:v1/ExecuteSqlRequest/params/param": param +"/spanner:v1/ExecuteSqlRequest/queryMode": query_mode +"/spanner:v1/ExecuteSqlRequest/resumeToken": resume_token +"/spanner:v1/ExecuteSqlRequest/sql": sql +"/spanner:v1/ExecuteSqlRequest/transaction": transaction +"/spanner:v1/Expr": expr +"/spanner:v1/Expr/description": description +"/spanner:v1/Expr/expression": expression +"/spanner:v1/Expr/location": location +"/spanner:v1/Expr/title": title +"/spanner:v1/Field": field +"/spanner:v1/Field/name": name +"/spanner:v1/Field/type": type +"/spanner:v1/GetDatabaseDdlResponse": get_database_ddl_response +"/spanner:v1/GetDatabaseDdlResponse/statements": statements +"/spanner:v1/GetDatabaseDdlResponse/statements/statement": statement +"/spanner:v1/GetIamPolicyRequest": get_iam_policy_request +"/spanner:v1/Instance": instance +"/spanner:v1/Instance/config": config +"/spanner:v1/Instance/displayName": display_name +"/spanner:v1/Instance/labels": labels +"/spanner:v1/Instance/labels/label": label +"/spanner:v1/Instance/name": name +"/spanner:v1/Instance/nodeCount": node_count +"/spanner:v1/Instance/state": state +"/spanner:v1/InstanceConfig": instance_config +"/spanner:v1/InstanceConfig/displayName": display_name +"/spanner:v1/InstanceConfig/name": name +"/spanner:v1/KeyRange": key_range +"/spanner:v1/KeyRange/endClosed": end_closed +"/spanner:v1/KeyRange/endClosed/end_closed": end_closed +"/spanner:v1/KeyRange/endOpen": end_open +"/spanner:v1/KeyRange/endOpen/end_open": end_open +"/spanner:v1/KeyRange/startClosed": start_closed +"/spanner:v1/KeyRange/startClosed/start_closed": start_closed +"/spanner:v1/KeyRange/startOpen": start_open +"/spanner:v1/KeyRange/startOpen/start_open": start_open +"/spanner:v1/KeySet": key_set +"/spanner:v1/KeySet/all": all +"/spanner:v1/KeySet/keys": keys +"/spanner:v1/KeySet/keys/key": key +"/spanner:v1/KeySet/keys/key/key": key +"/spanner:v1/KeySet/ranges": ranges +"/spanner:v1/KeySet/ranges/range": range +"/spanner:v1/ListDatabasesResponse": list_databases_response +"/spanner:v1/ListDatabasesResponse/databases": databases +"/spanner:v1/ListDatabasesResponse/databases/database": database +"/spanner:v1/ListDatabasesResponse/nextPageToken": next_page_token +"/spanner:v1/ListInstanceConfigsResponse": list_instance_configs_response +"/spanner:v1/ListInstanceConfigsResponse/instanceConfigs": instance_configs +"/spanner:v1/ListInstanceConfigsResponse/instanceConfigs/instance_config": instance_config +"/spanner:v1/ListInstanceConfigsResponse/nextPageToken": next_page_token +"/spanner:v1/ListInstancesResponse": list_instances_response +"/spanner:v1/ListInstancesResponse/instances": instances +"/spanner:v1/ListInstancesResponse/instances/instance": instance +"/spanner:v1/ListInstancesResponse/nextPageToken": next_page_token +"/spanner:v1/ListOperationsResponse": list_operations_response +"/spanner:v1/ListOperationsResponse/nextPageToken": next_page_token +"/spanner:v1/ListOperationsResponse/operations": operations +"/spanner:v1/ListOperationsResponse/operations/operation": operation +"/spanner:v1/LogConfig": log_config +"/spanner:v1/LogConfig/cloudAudit": cloud_audit +"/spanner:v1/LogConfig/counter": counter +"/spanner:v1/LogConfig/dataAccess": data_access +"/spanner:v1/Mutation": mutation +"/spanner:v1/Mutation/delete": delete +"/spanner:v1/Mutation/insert": insert +"/spanner:v1/Mutation/insertOrUpdate": insert_or_update +"/spanner:v1/Mutation/replace": replace +"/spanner:v1/Mutation/update": update +"/spanner:v1/Operation": operation +"/spanner:v1/Operation/done": done +"/spanner:v1/Operation/error": error +"/spanner:v1/Operation/metadata": metadata +"/spanner:v1/Operation/metadata/metadatum": metadatum +"/spanner:v1/Operation/name": name +"/spanner:v1/Operation/response": response +"/spanner:v1/Operation/response/response": response +"/spanner:v1/PartialResultSet": partial_result_set +"/spanner:v1/PartialResultSet/chunkedValue": chunked_value +"/spanner:v1/PartialResultSet/metadata": metadata +"/spanner:v1/PartialResultSet/resumeToken": resume_token +"/spanner:v1/PartialResultSet/stats": stats +"/spanner:v1/PartialResultSet/values": values +"/spanner:v1/PartialResultSet/values/value": value +"/spanner:v1/PlanNode": plan_node +"/spanner:v1/PlanNode/childLinks": child_links +"/spanner:v1/PlanNode/childLinks/child_link": child_link +"/spanner:v1/PlanNode/displayName": display_name +"/spanner:v1/PlanNode/executionStats": execution_stats +"/spanner:v1/PlanNode/executionStats/execution_stat": execution_stat +"/spanner:v1/PlanNode/index": index +"/spanner:v1/PlanNode/kind": kind +"/spanner:v1/PlanNode/metadata": metadata +"/spanner:v1/PlanNode/metadata/metadatum": metadatum +"/spanner:v1/PlanNode/shortRepresentation": short_representation +"/spanner:v1/Policy": policy +"/spanner:v1/Policy/auditConfigs": audit_configs +"/spanner:v1/Policy/auditConfigs/audit_config": audit_config +"/spanner:v1/Policy/bindings": bindings +"/spanner:v1/Policy/bindings/binding": binding +"/spanner:v1/Policy/etag": etag +"/spanner:v1/Policy/iamOwned": iam_owned +"/spanner:v1/Policy/rules": rules +"/spanner:v1/Policy/rules/rule": rule +"/spanner:v1/Policy/version": version +"/spanner:v1/QueryPlan": query_plan +"/spanner:v1/QueryPlan/planNodes": plan_nodes +"/spanner:v1/QueryPlan/planNodes/plan_node": plan_node +"/spanner:v1/ReadOnly": read_only +"/spanner:v1/ReadOnly/exactStaleness": exact_staleness +"/spanner:v1/ReadOnly/maxStaleness": max_staleness +"/spanner:v1/ReadOnly/minReadTimestamp": min_read_timestamp +"/spanner:v1/ReadOnly/readTimestamp": read_timestamp +"/spanner:v1/ReadOnly/returnReadTimestamp": return_read_timestamp +"/spanner:v1/ReadOnly/strong": strong +"/spanner:v1/ReadRequest": read_request +"/spanner:v1/ReadRequest/columns": columns +"/spanner:v1/ReadRequest/columns/column": column +"/spanner:v1/ReadRequest/index": index +"/spanner:v1/ReadRequest/keySet": key_set +"/spanner:v1/ReadRequest/limit": limit +"/spanner:v1/ReadRequest/resumeToken": resume_token +"/spanner:v1/ReadRequest/table": table +"/spanner:v1/ReadRequest/transaction": transaction +"/spanner:v1/ReadWrite": read_write +"/spanner:v1/ResultSet": result_set +"/spanner:v1/ResultSet/metadata": metadata +"/spanner:v1/ResultSet/rows": rows +"/spanner:v1/ResultSet/rows/row": row +"/spanner:v1/ResultSet/rows/row/row": row +"/spanner:v1/ResultSet/stats": stats +"/spanner:v1/ResultSetMetadata": result_set_metadata +"/spanner:v1/ResultSetMetadata/rowType": row_type +"/spanner:v1/ResultSetMetadata/transaction": transaction +"/spanner:v1/ResultSetStats": result_set_stats +"/spanner:v1/ResultSetStats/queryPlan": query_plan +"/spanner:v1/ResultSetStats/queryStats": query_stats +"/spanner:v1/ResultSetStats/queryStats/query_stat": query_stat +"/spanner:v1/RollbackRequest": rollback_request +"/spanner:v1/RollbackRequest/transactionId": transaction_id +"/spanner:v1/Rule": rule +"/spanner:v1/Rule/action": action +"/spanner:v1/Rule/conditions": conditions +"/spanner:v1/Rule/conditions/condition": condition +"/spanner:v1/Rule/description": description +"/spanner:v1/Rule/in": in +"/spanner:v1/Rule/in/in": in +"/spanner:v1/Rule/logConfig": log_config +"/spanner:v1/Rule/logConfig/log_config": log_config +"/spanner:v1/Rule/notIn": not_in +"/spanner:v1/Rule/notIn/not_in": not_in +"/spanner:v1/Rule/permissions": permissions +"/spanner:v1/Rule/permissions/permission": permission +"/spanner:v1/Session": session +"/spanner:v1/Session/name": name +"/spanner:v1/SetIamPolicyRequest": set_iam_policy_request +"/spanner:v1/SetIamPolicyRequest/policy": policy +"/spanner:v1/SetIamPolicyRequest/updateMask": update_mask +"/spanner:v1/ShortRepresentation": short_representation +"/spanner:v1/ShortRepresentation/description": description +"/spanner:v1/ShortRepresentation/subqueries": subqueries +"/spanner:v1/ShortRepresentation/subqueries/subquery": subquery +"/spanner:v1/Status": status +"/spanner:v1/Status/code": code +"/spanner:v1/Status/details": details +"/spanner:v1/Status/details/detail": detail +"/spanner:v1/Status/details/detail/detail": detail +"/spanner:v1/Status/message": message +"/spanner:v1/StructType": struct_type +"/spanner:v1/StructType/fields": fields +"/spanner:v1/StructType/fields/field": field +"/spanner:v1/TestIamPermissionsRequest": test_iam_permissions_request +"/spanner:v1/TestIamPermissionsRequest/permissions": permissions +"/spanner:v1/TestIamPermissionsRequest/permissions/permission": permission +"/spanner:v1/TestIamPermissionsResponse": test_iam_permissions_response +"/spanner:v1/TestIamPermissionsResponse/permissions": permissions +"/spanner:v1/TestIamPermissionsResponse/permissions/permission": permission +"/spanner:v1/Transaction": transaction +"/spanner:v1/Transaction/id": id +"/spanner:v1/Transaction/readTimestamp": read_timestamp +"/spanner:v1/TransactionOptions": transaction_options +"/spanner:v1/TransactionOptions/readOnly": read_only +"/spanner:v1/TransactionOptions/readWrite": read_write +"/spanner:v1/TransactionSelector": transaction_selector +"/spanner:v1/TransactionSelector/begin": begin +"/spanner:v1/TransactionSelector/id": id +"/spanner:v1/TransactionSelector/singleUse": single_use +"/spanner:v1/Type": type +"/spanner:v1/Type/arrayElementType": array_element_type +"/spanner:v1/Type/code": code +"/spanner:v1/Type/structType": struct_type +"/spanner:v1/UpdateDatabaseDdlMetadata": update_database_ddl_metadata +"/spanner:v1/UpdateDatabaseDdlMetadata/commitTimestamps": commit_timestamps +"/spanner:v1/UpdateDatabaseDdlMetadata/commitTimestamps/commit_timestamp": commit_timestamp +"/spanner:v1/UpdateDatabaseDdlMetadata/database": database +"/spanner:v1/UpdateDatabaseDdlMetadata/statements": statements +"/spanner:v1/UpdateDatabaseDdlMetadata/statements/statement": statement +"/spanner:v1/UpdateDatabaseDdlRequest": update_database_ddl_request +"/spanner:v1/UpdateDatabaseDdlRequest/operationId": operation_id +"/spanner:v1/UpdateDatabaseDdlRequest/statements": statements +"/spanner:v1/UpdateDatabaseDdlRequest/statements/statement": statement +"/spanner:v1/UpdateInstanceMetadata": update_instance_metadata +"/spanner:v1/UpdateInstanceMetadata/cancelTime": cancel_time +"/spanner:v1/UpdateInstanceMetadata/endTime": end_time +"/spanner:v1/UpdateInstanceMetadata/instance": instance +"/spanner:v1/UpdateInstanceMetadata/startTime": start_time +"/spanner:v1/UpdateInstanceRequest": update_instance_request +"/spanner:v1/UpdateInstanceRequest/fieldMask": field_mask +"/spanner:v1/UpdateInstanceRequest/instance": instance +"/spanner:v1/Write": write +"/spanner:v1/Write/columns": columns +"/spanner:v1/Write/columns/column": column +"/spanner:v1/Write/table": table +"/spanner:v1/Write/values": values +"/spanner:v1/Write/values/value": value +"/spanner:v1/Write/values/value/value": value +"/spanner:v1/fields": fields "/spanner:v1/key": key "/spanner:v1/quotaUser": quota_user -"/spanner:v1/fields": fields -"/spanner:v1/spanner.projects.instances.getIamPolicy": get_instance_iam_policy -"/spanner:v1/spanner.projects.instances.getIamPolicy/resource": resource -"/spanner:v1/spanner.projects.instances.get": get_project_instance -"/spanner:v1/spanner.projects.instances.get/name": name -"/spanner:v1/spanner.projects.instances.patch": patch_project_instance -"/spanner:v1/spanner.projects.instances.patch/name": name -"/spanner:v1/spanner.projects.instances.testIamPermissions": test_instance_iam_permissions -"/spanner:v1/spanner.projects.instances.testIamPermissions/resource": resource -"/spanner:v1/spanner.projects.instances.delete": delete_project_instance -"/spanner:v1/spanner.projects.instances.delete/name": name -"/spanner:v1/spanner.projects.instances.list": list_project_instances -"/spanner:v1/spanner.projects.instances.list/parent": parent -"/spanner:v1/spanner.projects.instances.list/filter": filter -"/spanner:v1/spanner.projects.instances.list/pageToken": page_token -"/spanner:v1/spanner.projects.instances.list/pageSize": page_size -"/spanner:v1/spanner.projects.instances.setIamPolicy": set_instance_iam_policy -"/spanner:v1/spanner.projects.instances.setIamPolicy/resource": resource +"/spanner:v1/spanner.projects.instanceConfigs.get": get_project_instance_config +"/spanner:v1/spanner.projects.instanceConfigs.get/name": name +"/spanner:v1/spanner.projects.instanceConfigs.list": list_project_instance_configs +"/spanner:v1/spanner.projects.instanceConfigs.list/pageSize": page_size +"/spanner:v1/spanner.projects.instanceConfigs.list/pageToken": page_token +"/spanner:v1/spanner.projects.instanceConfigs.list/parent": parent "/spanner:v1/spanner.projects.instances.create": create_instance "/spanner:v1/spanner.projects.instances.create/parent": parent -"/spanner:v1/spanner.projects.instances.databases.getDdl": get_project_instance_database_ddl -"/spanner:v1/spanner.projects.instances.databases.getDdl/database": database -"/spanner:v1/spanner.projects.instances.databases.list": list_project_instance_databases -"/spanner:v1/spanner.projects.instances.databases.list/parent": parent -"/spanner:v1/spanner.projects.instances.databases.list/pageToken": page_token -"/spanner:v1/spanner.projects.instances.databases.list/pageSize": page_size "/spanner:v1/spanner.projects.instances.databases.create": create_database "/spanner:v1/spanner.projects.instances.databases.create/parent": parent -"/spanner:v1/spanner.projects.instances.databases.setIamPolicy": set_database_iam_policy -"/spanner:v1/spanner.projects.instances.databases.setIamPolicy/resource": resource -"/spanner:v1/spanner.projects.instances.databases.getIamPolicy": get_database_iam_policy -"/spanner:v1/spanner.projects.instances.databases.getIamPolicy/resource": resource -"/spanner:v1/spanner.projects.instances.databases.get": get_project_instance_database -"/spanner:v1/spanner.projects.instances.databases.get/name": name "/spanner:v1/spanner.projects.instances.databases.dropDatabase": drop_project_instance_database_database "/spanner:v1/spanner.projects.instances.databases.dropDatabase/database": database -"/spanner:v1/spanner.projects.instances.databases.updateDdl": update_project_instance_database_ddl -"/spanner:v1/spanner.projects.instances.databases.updateDdl/database": database -"/spanner:v1/spanner.projects.instances.databases.testIamPermissions": test_database_iam_permissions -"/spanner:v1/spanner.projects.instances.databases.testIamPermissions/resource": resource -"/spanner:v1/spanner.projects.instances.databases.sessions.read": read_session -"/spanner:v1/spanner.projects.instances.databases.sessions.read/session": session -"/spanner:v1/spanner.projects.instances.databases.sessions.get": get_project_instance_database_session -"/spanner:v1/spanner.projects.instances.databases.sessions.get/name": name -"/spanner:v1/spanner.projects.instances.databases.sessions.executeStreamingSql": execute_project_instance_database_session_streaming_sql -"/spanner:v1/spanner.projects.instances.databases.sessions.executeStreamingSql/session": session -"/spanner:v1/spanner.projects.instances.databases.sessions.commit": commit_session -"/spanner:v1/spanner.projects.instances.databases.sessions.commit/session": session -"/spanner:v1/spanner.projects.instances.databases.sessions.beginTransaction": begin_session_transaction -"/spanner:v1/spanner.projects.instances.databases.sessions.beginTransaction/session": session -"/spanner:v1/spanner.projects.instances.databases.sessions.delete": delete_project_instance_database_session -"/spanner:v1/spanner.projects.instances.databases.sessions.delete/name": name -"/spanner:v1/spanner.projects.instances.databases.sessions.executeSql": execute_session_sql -"/spanner:v1/spanner.projects.instances.databases.sessions.executeSql/session": session -"/spanner:v1/spanner.projects.instances.databases.sessions.rollback": rollback_session -"/spanner:v1/spanner.projects.instances.databases.sessions.rollback/session": session -"/spanner:v1/spanner.projects.instances.databases.sessions.streamingRead": streaming_project_instance_database_session_read -"/spanner:v1/spanner.projects.instances.databases.sessions.streamingRead/session": session -"/spanner:v1/spanner.projects.instances.databases.sessions.create": create_project_instance_database_session -"/spanner:v1/spanner.projects.instances.databases.sessions.create/database": database +"/spanner:v1/spanner.projects.instances.databases.get": get_project_instance_database +"/spanner:v1/spanner.projects.instances.databases.get/name": name +"/spanner:v1/spanner.projects.instances.databases.getDdl": get_project_instance_database_ddl +"/spanner:v1/spanner.projects.instances.databases.getDdl/database": database +"/spanner:v1/spanner.projects.instances.databases.getIamPolicy": get_database_iam_policy +"/spanner:v1/spanner.projects.instances.databases.getIamPolicy/resource": resource +"/spanner:v1/spanner.projects.instances.databases.list": list_project_instance_databases +"/spanner:v1/spanner.projects.instances.databases.list/pageSize": page_size +"/spanner:v1/spanner.projects.instances.databases.list/pageToken": page_token +"/spanner:v1/spanner.projects.instances.databases.list/parent": parent "/spanner:v1/spanner.projects.instances.databases.operations.cancel": cancel_project_instance_database_operation "/spanner:v1/spanner.projects.instances.databases.operations.cancel/name": name "/spanner:v1/spanner.projects.instances.databases.operations.delete": delete_project_instance_database_operation @@ -37782,341 +39707,354 @@ "/spanner:v1/spanner.projects.instances.databases.operations.get/name": name "/spanner:v1/spanner.projects.instances.databases.operations.list": list_project_instance_database_operations "/spanner:v1/spanner.projects.instances.databases.operations.list/filter": filter -"/spanner:v1/spanner.projects.instances.databases.operations.list/pageToken": page_token "/spanner:v1/spanner.projects.instances.databases.operations.list/name": name "/spanner:v1/spanner.projects.instances.databases.operations.list/pageSize": page_size -"/spanner:v1/spanner.projects.instances.operations.get": get_project_instance_operation -"/spanner:v1/spanner.projects.instances.operations.get/name": name -"/spanner:v1/spanner.projects.instances.operations.list": list_project_instance_operations -"/spanner:v1/spanner.projects.instances.operations.list/filter": filter -"/spanner:v1/spanner.projects.instances.operations.list/pageToken": page_token -"/spanner:v1/spanner.projects.instances.operations.list/name": name -"/spanner:v1/spanner.projects.instances.operations.list/pageSize": page_size +"/spanner:v1/spanner.projects.instances.databases.operations.list/pageToken": page_token +"/spanner:v1/spanner.projects.instances.databases.sessions.beginTransaction": begin_session_transaction +"/spanner:v1/spanner.projects.instances.databases.sessions.beginTransaction/session": session +"/spanner:v1/spanner.projects.instances.databases.sessions.commit": commit_session +"/spanner:v1/spanner.projects.instances.databases.sessions.commit/session": session +"/spanner:v1/spanner.projects.instances.databases.sessions.create": create_project_instance_database_session +"/spanner:v1/spanner.projects.instances.databases.sessions.create/database": database +"/spanner:v1/spanner.projects.instances.databases.sessions.delete": delete_project_instance_database_session +"/spanner:v1/spanner.projects.instances.databases.sessions.delete/name": name +"/spanner:v1/spanner.projects.instances.databases.sessions.executeSql": execute_session_sql +"/spanner:v1/spanner.projects.instances.databases.sessions.executeSql/session": session +"/spanner:v1/spanner.projects.instances.databases.sessions.executeStreamingSql": execute_project_instance_database_session_streaming_sql +"/spanner:v1/spanner.projects.instances.databases.sessions.executeStreamingSql/session": session +"/spanner:v1/spanner.projects.instances.databases.sessions.get": get_project_instance_database_session +"/spanner:v1/spanner.projects.instances.databases.sessions.get/name": name +"/spanner:v1/spanner.projects.instances.databases.sessions.read": read_session +"/spanner:v1/spanner.projects.instances.databases.sessions.read/session": session +"/spanner:v1/spanner.projects.instances.databases.sessions.rollback": rollback_session +"/spanner:v1/spanner.projects.instances.databases.sessions.rollback/session": session +"/spanner:v1/spanner.projects.instances.databases.sessions.streamingRead": streaming_project_instance_database_session_read +"/spanner:v1/spanner.projects.instances.databases.sessions.streamingRead/session": session +"/spanner:v1/spanner.projects.instances.databases.setIamPolicy": set_database_iam_policy +"/spanner:v1/spanner.projects.instances.databases.setIamPolicy/resource": resource +"/spanner:v1/spanner.projects.instances.databases.testIamPermissions": test_database_iam_permissions +"/spanner:v1/spanner.projects.instances.databases.testIamPermissions/resource": resource +"/spanner:v1/spanner.projects.instances.databases.updateDdl": update_project_instance_database_ddl +"/spanner:v1/spanner.projects.instances.databases.updateDdl/database": database +"/spanner:v1/spanner.projects.instances.delete": delete_project_instance +"/spanner:v1/spanner.projects.instances.delete/name": name +"/spanner:v1/spanner.projects.instances.get": get_project_instance +"/spanner:v1/spanner.projects.instances.get/name": name +"/spanner:v1/spanner.projects.instances.getIamPolicy": get_instance_iam_policy +"/spanner:v1/spanner.projects.instances.getIamPolicy/resource": resource +"/spanner:v1/spanner.projects.instances.list": list_project_instances +"/spanner:v1/spanner.projects.instances.list/filter": filter +"/spanner:v1/spanner.projects.instances.list/pageSize": page_size +"/spanner:v1/spanner.projects.instances.list/pageToken": page_token +"/spanner:v1/spanner.projects.instances.list/parent": parent "/spanner:v1/spanner.projects.instances.operations.cancel": cancel_project_instance_operation "/spanner:v1/spanner.projects.instances.operations.cancel/name": name "/spanner:v1/spanner.projects.instances.operations.delete": delete_project_instance_operation "/spanner:v1/spanner.projects.instances.operations.delete/name": name -"/spanner:v1/spanner.projects.instanceConfigs.get": get_project_instance_config -"/spanner:v1/spanner.projects.instanceConfigs.get/name": name -"/spanner:v1/spanner.projects.instanceConfigs.list": list_project_instance_configs -"/spanner:v1/spanner.projects.instanceConfigs.list/pageToken": page_token -"/spanner:v1/spanner.projects.instanceConfigs.list/pageSize": page_size -"/spanner:v1/spanner.projects.instanceConfigs.list/parent": parent -"/spanner:v1/UpdateInstanceRequest": update_instance_request -"/spanner:v1/UpdateInstanceRequest/fieldMask": field_mask -"/spanner:v1/UpdateInstanceRequest/instance": instance -"/spanner:v1/Empty": empty -"/spanner:v1/TransactionOptions": transaction_options -"/spanner:v1/TransactionOptions/readOnly": read_only -"/spanner:v1/TransactionOptions/readWrite": read_write -"/spanner:v1/CreateDatabaseRequest": create_database_request -"/spanner:v1/CreateDatabaseRequest/createStatement": create_statement -"/spanner:v1/CreateDatabaseRequest/extraStatements": extra_statements -"/spanner:v1/CreateDatabaseRequest/extraStatements/extra_statement": extra_statement -"/spanner:v1/CreateInstanceRequest": create_instance_request -"/spanner:v1/CreateInstanceRequest/instance": instance -"/spanner:v1/CreateInstanceRequest/instanceId": instance_id -"/spanner:v1/Condition": condition -"/spanner:v1/Condition/sys": sys -"/spanner:v1/Condition/value": value -"/spanner:v1/Condition/values": values -"/spanner:v1/Condition/values/value": value -"/spanner:v1/Condition/iam": iam -"/spanner:v1/Condition/op": op -"/spanner:v1/Condition/svc": svc -"/spanner:v1/AuditLogConfig": audit_log_config -"/spanner:v1/AuditLogConfig/exemptedMembers": exempted_members -"/spanner:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member -"/spanner:v1/AuditLogConfig/logType": log_type -"/spanner:v1/ReadOnly": read_only -"/spanner:v1/ReadOnly/minReadTimestamp": min_read_timestamp -"/spanner:v1/ReadOnly/maxStaleness": max_staleness -"/spanner:v1/ReadOnly/readTimestamp": read_timestamp -"/spanner:v1/ReadOnly/returnReadTimestamp": return_read_timestamp -"/spanner:v1/ReadOnly/exactStaleness": exact_staleness -"/spanner:v1/ReadOnly/strong": strong -"/spanner:v1/ExecuteSqlRequest": execute_sql_request -"/spanner:v1/ExecuteSqlRequest/transaction": transaction -"/spanner:v1/ExecuteSqlRequest/resumeToken": resume_token -"/spanner:v1/ExecuteSqlRequest/paramTypes": param_types -"/spanner:v1/ExecuteSqlRequest/paramTypes/param_type": param_type -"/spanner:v1/ExecuteSqlRequest/sql": sql -"/spanner:v1/ExecuteSqlRequest/params": params -"/spanner:v1/ExecuteSqlRequest/params/param": param -"/spanner:v1/ExecuteSqlRequest/queryMode": query_mode -"/spanner:v1/Policy": policy -"/spanner:v1/Policy/rules": rules -"/spanner:v1/Policy/rules/rule": rule -"/spanner:v1/Policy/version": version -"/spanner:v1/Policy/auditConfigs": audit_configs -"/spanner:v1/Policy/auditConfigs/audit_config": audit_config -"/spanner:v1/Policy/bindings": bindings -"/spanner:v1/Policy/bindings/binding": binding -"/spanner:v1/Policy/etag": etag -"/spanner:v1/Policy/iamOwned": iam_owned -"/spanner:v1/ReadRequest": read_request -"/spanner:v1/ReadRequest/limit": limit -"/spanner:v1/ReadRequest/index": index -"/spanner:v1/ReadRequest/keySet": key_set -"/spanner:v1/ReadRequest/columns": columns -"/spanner:v1/ReadRequest/columns/column": column -"/spanner:v1/ReadRequest/transaction": transaction -"/spanner:v1/ReadRequest/resumeToken": resume_token -"/spanner:v1/ReadRequest/table": table -"/spanner:v1/Write": write -"/spanner:v1/Write/table": table -"/spanner:v1/Write/values": values -"/spanner:v1/Write/values/value": value -"/spanner:v1/Write/values/value/value": value -"/spanner:v1/Write/columns": columns -"/spanner:v1/Write/columns/column": column -"/spanner:v1/ReadWrite": read_write -"/spanner:v1/DataAccessOptions": data_access_options -"/spanner:v1/Operation": operation -"/spanner:v1/Operation/done": done -"/spanner:v1/Operation/response": response -"/spanner:v1/Operation/response/response": response -"/spanner:v1/Operation/name": name -"/spanner:v1/Operation/error": error -"/spanner:v1/Operation/metadata": metadata -"/spanner:v1/Operation/metadata/metadatum": metadatum -"/spanner:v1/ResultSet": result_set -"/spanner:v1/ResultSet/stats": stats -"/spanner:v1/ResultSet/rows": rows -"/spanner:v1/ResultSet/rows/row": row -"/spanner:v1/ResultSet/rows/row/row": row -"/spanner:v1/ResultSet/metadata": metadata -"/spanner:v1/Status": status -"/spanner:v1/Status/details": details -"/spanner:v1/Status/details/detail": detail -"/spanner:v1/Status/details/detail/detail": detail -"/spanner:v1/Status/code": code -"/spanner:v1/Status/message": message -"/spanner:v1/UpdateDatabaseDdlRequest": update_database_ddl_request -"/spanner:v1/UpdateDatabaseDdlRequest/statements": statements -"/spanner:v1/UpdateDatabaseDdlRequest/statements/statement": statement -"/spanner:v1/UpdateDatabaseDdlRequest/operationId": operation_id -"/spanner:v1/Binding": binding -"/spanner:v1/Binding/members": members -"/spanner:v1/Binding/members/member": member -"/spanner:v1/Binding/role": role -"/spanner:v1/Binding/condition": condition -"/spanner:v1/PartialResultSet": partial_result_set -"/spanner:v1/PartialResultSet/chunkedValue": chunked_value -"/spanner:v1/PartialResultSet/values": values -"/spanner:v1/PartialResultSet/values/value": value -"/spanner:v1/PartialResultSet/metadata": metadata -"/spanner:v1/PartialResultSet/resumeToken": resume_token -"/spanner:v1/PartialResultSet/stats": stats -"/spanner:v1/UpdateInstanceMetadata": update_instance_metadata -"/spanner:v1/UpdateInstanceMetadata/startTime": start_time -"/spanner:v1/UpdateInstanceMetadata/instance": instance -"/spanner:v1/UpdateInstanceMetadata/endTime": end_time -"/spanner:v1/UpdateInstanceMetadata/cancelTime": cancel_time -"/spanner:v1/ListOperationsResponse": list_operations_response -"/spanner:v1/ListOperationsResponse/operations": operations -"/spanner:v1/ListOperationsResponse/operations/operation": operation -"/spanner:v1/ListOperationsResponse/nextPageToken": next_page_token -"/spanner:v1/ResultSetMetadata": result_set_metadata -"/spanner:v1/ResultSetMetadata/rowType": row_type -"/spanner:v1/ResultSetMetadata/transaction": transaction -"/spanner:v1/TransactionSelector": transaction_selector -"/spanner:v1/TransactionSelector/singleUse": single_use -"/spanner:v1/TransactionSelector/begin": begin -"/spanner:v1/TransactionSelector/id": id -"/spanner:v1/Mutation": mutation -"/spanner:v1/Mutation/delete": delete -"/spanner:v1/Mutation/insertOrUpdate": insert_or_update -"/spanner:v1/Mutation/insert": insert -"/spanner:v1/Mutation/update": update -"/spanner:v1/Mutation/replace": replace -"/spanner:v1/KeySet": key_set -"/spanner:v1/KeySet/ranges": ranges -"/spanner:v1/KeySet/ranges/range": range -"/spanner:v1/KeySet/all": all -"/spanner:v1/KeySet/keys": keys -"/spanner:v1/KeySet/keys/key": key -"/spanner:v1/KeySet/keys/key/key": key -"/spanner:v1/GetDatabaseDdlResponse": get_database_ddl_response -"/spanner:v1/GetDatabaseDdlResponse/statements": statements -"/spanner:v1/GetDatabaseDdlResponse/statements/statement": statement -"/spanner:v1/Database": database -"/spanner:v1/Database/state": state -"/spanner:v1/Database/name": name -"/spanner:v1/Instance": instance -"/spanner:v1/Instance/name": name -"/spanner:v1/Instance/displayName": display_name -"/spanner:v1/Instance/nodeCount": node_count -"/spanner:v1/Instance/labels": labels -"/spanner:v1/Instance/labels/label": label -"/spanner:v1/Instance/config": config -"/spanner:v1/Instance/state": state -"/spanner:v1/SetIamPolicyRequest": set_iam_policy_request -"/spanner:v1/SetIamPolicyRequest/policy": policy -"/spanner:v1/SetIamPolicyRequest/updateMask": update_mask -"/spanner:v1/ListDatabasesResponse": list_databases_response -"/spanner:v1/ListDatabasesResponse/nextPageToken": next_page_token -"/spanner:v1/ListDatabasesResponse/databases": databases -"/spanner:v1/ListDatabasesResponse/databases/database": database -"/spanner:v1/RollbackRequest": rollback_request -"/spanner:v1/RollbackRequest/transactionId": transaction_id -"/spanner:v1/Transaction": transaction -"/spanner:v1/Transaction/readTimestamp": read_timestamp -"/spanner:v1/Transaction/id": id -"/spanner:v1/UpdateDatabaseDdlMetadata": update_database_ddl_metadata -"/spanner:v1/UpdateDatabaseDdlMetadata/database": database -"/spanner:v1/UpdateDatabaseDdlMetadata/statements": statements -"/spanner:v1/UpdateDatabaseDdlMetadata/statements/statement": statement -"/spanner:v1/UpdateDatabaseDdlMetadata/commitTimestamps": commit_timestamps -"/spanner:v1/UpdateDatabaseDdlMetadata/commitTimestamps/commit_timestamp": commit_timestamp -"/spanner:v1/CounterOptions": counter_options -"/spanner:v1/CounterOptions/field": field -"/spanner:v1/CounterOptions/metric": metric -"/spanner:v1/StructType": struct_type -"/spanner:v1/StructType/fields": fields -"/spanner:v1/StructType/fields/field": field -"/spanner:v1/QueryPlan": query_plan -"/spanner:v1/QueryPlan/planNodes": plan_nodes -"/spanner:v1/QueryPlan/planNodes/plan_node": plan_node -"/spanner:v1/Field": field -"/spanner:v1/Field/name": name -"/spanner:v1/Field/type": type -"/spanner:v1/TestIamPermissionsRequest": test_iam_permissions_request -"/spanner:v1/TestIamPermissionsRequest/permissions": permissions -"/spanner:v1/TestIamPermissionsRequest/permissions/permission": permission -"/spanner:v1/ResultSetStats": result_set_stats -"/spanner:v1/ResultSetStats/queryStats": query_stats -"/spanner:v1/ResultSetStats/queryStats/query_stat": query_stat -"/spanner:v1/ResultSetStats/queryPlan": query_plan -"/spanner:v1/CommitResponse": commit_response -"/spanner:v1/CommitResponse/commitTimestamp": commit_timestamp -"/spanner:v1/Type": type -"/spanner:v1/Type/structType": struct_type -"/spanner:v1/Type/arrayElementType": array_element_type -"/spanner:v1/Type/code": code -"/spanner:v1/PlanNode": plan_node -"/spanner:v1/PlanNode/childLinks": child_links -"/spanner:v1/PlanNode/childLinks/child_link": child_link -"/spanner:v1/PlanNode/metadata": metadata -"/spanner:v1/PlanNode/metadata/metadatum": metadatum -"/spanner:v1/PlanNode/executionStats": execution_stats -"/spanner:v1/PlanNode/executionStats/execution_stat": execution_stat -"/spanner:v1/PlanNode/shortRepresentation": short_representation -"/spanner:v1/PlanNode/index": index -"/spanner:v1/PlanNode/kind": kind -"/spanner:v1/PlanNode/displayName": display_name -"/spanner:v1/CreateInstanceMetadata": create_instance_metadata -"/spanner:v1/CreateInstanceMetadata/endTime": end_time -"/spanner:v1/CreateInstanceMetadata/cancelTime": cancel_time -"/spanner:v1/CreateInstanceMetadata/startTime": start_time -"/spanner:v1/CreateInstanceMetadata/instance": instance -"/spanner:v1/AuditConfig": audit_config -"/spanner:v1/AuditConfig/auditLogConfigs": audit_log_configs -"/spanner:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config -"/spanner:v1/AuditConfig/exemptedMembers": exempted_members -"/spanner:v1/AuditConfig/exemptedMembers/exempted_member": exempted_member -"/spanner:v1/AuditConfig/service": service -"/spanner:v1/ChildLink": child_link -"/spanner:v1/ChildLink/variable": variable -"/spanner:v1/ChildLink/childIndex": child_index -"/spanner:v1/ChildLink/type": type -"/spanner:v1/CloudAuditOptions": cloud_audit_options -"/spanner:v1/CloudAuditOptions/logName": log_name -"/spanner:v1/Expr": expr -"/spanner:v1/Expr/description": description -"/spanner:v1/Expr/expression": expression -"/spanner:v1/Expr/location": location -"/spanner:v1/Expr/title": title -"/spanner:v1/Delete": delete -"/spanner:v1/Delete/keySet": key_set -"/spanner:v1/Delete/table": table -"/spanner:v1/ListInstanceConfigsResponse": list_instance_configs_response -"/spanner:v1/ListInstanceConfigsResponse/nextPageToken": next_page_token -"/spanner:v1/ListInstanceConfigsResponse/instanceConfigs": instance_configs -"/spanner:v1/ListInstanceConfigsResponse/instanceConfigs/instance_config": instance_config -"/spanner:v1/BeginTransactionRequest": begin_transaction_request -"/spanner:v1/BeginTransactionRequest/options": options -"/spanner:v1/CommitRequest": commit_request -"/spanner:v1/CommitRequest/mutations": mutations -"/spanner:v1/CommitRequest/mutations/mutation": mutation -"/spanner:v1/CommitRequest/singleUseTransaction": single_use_transaction -"/spanner:v1/CommitRequest/transactionId": transaction_id -"/spanner:v1/TestIamPermissionsResponse": test_iam_permissions_response -"/spanner:v1/TestIamPermissionsResponse/permissions": permissions -"/spanner:v1/TestIamPermissionsResponse/permissions/permission": permission -"/spanner:v1/GetIamPolicyRequest": get_iam_policy_request -"/spanner:v1/Rule": rule -"/spanner:v1/Rule/conditions": conditions -"/spanner:v1/Rule/conditions/condition": condition -"/spanner:v1/Rule/logConfig": log_config -"/spanner:v1/Rule/logConfig/log_config": log_config -"/spanner:v1/Rule/in": in -"/spanner:v1/Rule/in/in": in -"/spanner:v1/Rule/permissions": permissions -"/spanner:v1/Rule/permissions/permission": permission -"/spanner:v1/Rule/action": action -"/spanner:v1/Rule/notIn": not_in -"/spanner:v1/Rule/notIn/not_in": not_in -"/spanner:v1/Rule/description": description -"/spanner:v1/CreateDatabaseMetadata": create_database_metadata -"/spanner:v1/CreateDatabaseMetadata/database": database -"/spanner:v1/LogConfig": log_config -"/spanner:v1/LogConfig/counter": counter -"/spanner:v1/LogConfig/dataAccess": data_access -"/spanner:v1/LogConfig/cloudAudit": cloud_audit -"/spanner:v1/Session": session -"/spanner:v1/Session/name": name -"/spanner:v1/KeyRange": key_range -"/spanner:v1/KeyRange/startOpen": start_open -"/spanner:v1/KeyRange/startOpen/start_open": start_open -"/spanner:v1/KeyRange/startClosed": start_closed -"/spanner:v1/KeyRange/startClosed/start_closed": start_closed -"/spanner:v1/KeyRange/endOpen": end_open -"/spanner:v1/KeyRange/endOpen/end_open": end_open -"/spanner:v1/KeyRange/endClosed": end_closed -"/spanner:v1/KeyRange/endClosed/end_closed": end_closed -"/spanner:v1/ListInstancesResponse": list_instances_response -"/spanner:v1/ListInstancesResponse/nextPageToken": next_page_token -"/spanner:v1/ListInstancesResponse/instances": instances -"/spanner:v1/ListInstancesResponse/instances/instance": instance -"/spanner:v1/ShortRepresentation": short_representation -"/spanner:v1/ShortRepresentation/description": description -"/spanner:v1/ShortRepresentation/subqueries": subqueries -"/spanner:v1/ShortRepresentation/subqueries/subquery": subquery -"/spanner:v1/InstanceConfig": instance_config -"/spanner:v1/InstanceConfig/name": name -"/spanner:v1/InstanceConfig/displayName": display_name -"/speech:v1beta1/fields": fields -"/speech:v1beta1/key": key -"/speech:v1beta1/quotaUser": quota_user -"/speech:v1beta1/speech.operations.delete": delete_operation -"/speech:v1beta1/speech.operations.delete/name": name -"/speech:v1beta1/speech.operations.get": get_operation -"/speech:v1beta1/speech.operations.get/name": name -"/speech:v1beta1/speech.operations.list": list_operations -"/speech:v1beta1/speech.operations.list/pageToken": page_token -"/speech:v1beta1/speech.operations.list/name": name -"/speech:v1beta1/speech.operations.list/pageSize": page_size -"/speech:v1beta1/speech.operations.list/filter": filter -"/speech:v1beta1/speech.operations.cancel": cancel_operation -"/speech:v1beta1/speech.operations.cancel/name": name -"/speech:v1beta1/SyncRecognizeRequest": sync_recognize_request -"/speech:v1beta1/SyncRecognizeRequest/audio": audio -"/speech:v1beta1/SyncRecognizeRequest/config": config -"/speech:v1beta1/Status": status -"/speech:v1beta1/Status/code": code -"/speech:v1beta1/Status/message": message -"/speech:v1beta1/Status/details": details -"/speech:v1beta1/Status/details/detail": detail -"/speech:v1beta1/Status/details/detail/detail": detail -"/speech:v1beta1/SyncRecognizeResponse": sync_recognize_response -"/speech:v1beta1/SyncRecognizeResponse/results": results -"/speech:v1beta1/SyncRecognizeResponse/results/result": result +"/spanner:v1/spanner.projects.instances.operations.get": get_project_instance_operation +"/spanner:v1/spanner.projects.instances.operations.get/name": name +"/spanner:v1/spanner.projects.instances.operations.list": list_project_instance_operations +"/spanner:v1/spanner.projects.instances.operations.list/filter": filter +"/spanner:v1/spanner.projects.instances.operations.list/name": name +"/spanner:v1/spanner.projects.instances.operations.list/pageSize": page_size +"/spanner:v1/spanner.projects.instances.operations.list/pageToken": page_token +"/spanner:v1/spanner.projects.instances.patch": patch_project_instance +"/spanner:v1/spanner.projects.instances.patch/name": name +"/spanner:v1/spanner.projects.instances.setIamPolicy": set_instance_iam_policy +"/spanner:v1/spanner.projects.instances.setIamPolicy/resource": resource +"/spanner:v1/spanner.projects.instances.testIamPermissions": test_instance_iam_permissions +"/spanner:v1/spanner.projects.instances.testIamPermissions/resource": resource +"/spectrum:v1explorer/AntennaCharacteristics": antenna_characteristics +"/spectrum:v1explorer/AntennaCharacteristics/height": height +"/spectrum:v1explorer/AntennaCharacteristics/heightType": height_type +"/spectrum:v1explorer/AntennaCharacteristics/heightUncertainty": height_uncertainty +"/spectrum:v1explorer/DatabaseSpec": database_spec +"/spectrum:v1explorer/DatabaseSpec/name": name +"/spectrum:v1explorer/DatabaseSpec/uri": uri +"/spectrum:v1explorer/DbUpdateSpec": db_update_spec +"/spectrum:v1explorer/DbUpdateSpec/databases": databases +"/spectrum:v1explorer/DbUpdateSpec/databases/database": database +"/spectrum:v1explorer/DeviceCapabilities": device_capabilities +"/spectrum:v1explorer/DeviceCapabilities/frequencyRanges": frequency_ranges +"/spectrum:v1explorer/DeviceCapabilities/frequencyRanges/frequency_range": frequency_range +"/spectrum:v1explorer/DeviceDescriptor": device_descriptor +"/spectrum:v1explorer/DeviceDescriptor/etsiEnDeviceCategory": etsi_en_device_category +"/spectrum:v1explorer/DeviceDescriptor/etsiEnDeviceEmissionsClass": etsi_en_device_emissions_class +"/spectrum:v1explorer/DeviceDescriptor/etsiEnDeviceType": etsi_en_device_type +"/spectrum:v1explorer/DeviceDescriptor/etsiEnTechnologyId": etsi_en_technology_id +"/spectrum:v1explorer/DeviceDescriptor/fccId": fcc_id +"/spectrum:v1explorer/DeviceDescriptor/fccTvbdDeviceType": fcc_tvbd_device_type +"/spectrum:v1explorer/DeviceDescriptor/manufacturerId": manufacturer_id +"/spectrum:v1explorer/DeviceDescriptor/modelId": model_id +"/spectrum:v1explorer/DeviceDescriptor/rulesetIds": ruleset_ids +"/spectrum:v1explorer/DeviceDescriptor/rulesetIds/ruleset_id": ruleset_id +"/spectrum:v1explorer/DeviceDescriptor/serialNumber": serial_number +"/spectrum:v1explorer/DeviceOwner": device_owner +"/spectrum:v1explorer/DeviceOwner/operator": operator +"/spectrum:v1explorer/DeviceOwner/owner": owner +"/spectrum:v1explorer/DeviceValidity": device_validity +"/spectrum:v1explorer/DeviceValidity/deviceDesc": device_desc +"/spectrum:v1explorer/DeviceValidity/isValid": is_valid +"/spectrum:v1explorer/DeviceValidity/reason": reason +"/spectrum:v1explorer/EventTime": event_time +"/spectrum:v1explorer/EventTime/startTime": start_time +"/spectrum:v1explorer/EventTime/stopTime": stop_time +"/spectrum:v1explorer/FrequencyRange": frequency_range +"/spectrum:v1explorer/FrequencyRange/channelId": channel_id +"/spectrum:v1explorer/FrequencyRange/maxPowerDBm": max_power_d_bm +"/spectrum:v1explorer/FrequencyRange/startHz": start_hz +"/spectrum:v1explorer/FrequencyRange/stopHz": stop_hz +"/spectrum:v1explorer/GeoLocation": geo_location +"/spectrum:v1explorer/GeoLocation/confidence": confidence +"/spectrum:v1explorer/GeoLocation/point": point +"/spectrum:v1explorer/GeoLocation/region": region +"/spectrum:v1explorer/GeoLocationEllipse": geo_location_ellipse +"/spectrum:v1explorer/GeoLocationEllipse/center": center +"/spectrum:v1explorer/GeoLocationEllipse/orientation": orientation +"/spectrum:v1explorer/GeoLocationEllipse/semiMajorAxis": semi_major_axis +"/spectrum:v1explorer/GeoLocationEllipse/semiMinorAxis": semi_minor_axis +"/spectrum:v1explorer/GeoLocationPoint": geo_location_point +"/spectrum:v1explorer/GeoLocationPoint/latitude": latitude +"/spectrum:v1explorer/GeoLocationPoint/longitude": longitude +"/spectrum:v1explorer/GeoLocationPolygon": geo_location_polygon +"/spectrum:v1explorer/GeoLocationPolygon/exterior": exterior +"/spectrum:v1explorer/GeoLocationPolygon/exterior/exterior": exterior +"/spectrum:v1explorer/GeoSpectrumSchedule": geo_spectrum_schedule +"/spectrum:v1explorer/GeoSpectrumSchedule/location": location +"/spectrum:v1explorer/GeoSpectrumSchedule/spectrumSchedules": spectrum_schedules +"/spectrum:v1explorer/GeoSpectrumSchedule/spectrumSchedules/spectrum_schedule": spectrum_schedule +"/spectrum:v1explorer/PawsGetSpectrumBatchRequest": paws_get_spectrum_batch_request +"/spectrum:v1explorer/PawsGetSpectrumBatchRequest/antenna": antenna +"/spectrum:v1explorer/PawsGetSpectrumBatchRequest/capabilities": capabilities +"/spectrum:v1explorer/PawsGetSpectrumBatchRequest/deviceDesc": device_desc +"/spectrum:v1explorer/PawsGetSpectrumBatchRequest/locations": locations +"/spectrum:v1explorer/PawsGetSpectrumBatchRequest/locations/location": location +"/spectrum:v1explorer/PawsGetSpectrumBatchRequest/masterDeviceDesc": master_device_desc +"/spectrum:v1explorer/PawsGetSpectrumBatchRequest/owner": owner +"/spectrum:v1explorer/PawsGetSpectrumBatchRequest/requestType": request_type +"/spectrum:v1explorer/PawsGetSpectrumBatchRequest/type": type +"/spectrum:v1explorer/PawsGetSpectrumBatchRequest/version": version +"/spectrum:v1explorer/PawsGetSpectrumBatchResponse": paws_get_spectrum_batch_response +"/spectrum:v1explorer/PawsGetSpectrumBatchResponse/databaseChange": database_change +"/spectrum:v1explorer/PawsGetSpectrumBatchResponse/deviceDesc": device_desc +"/spectrum:v1explorer/PawsGetSpectrumBatchResponse/geoSpectrumSchedules": geo_spectrum_schedules +"/spectrum:v1explorer/PawsGetSpectrumBatchResponse/geoSpectrumSchedules/geo_spectrum_schedule": geo_spectrum_schedule +"/spectrum:v1explorer/PawsGetSpectrumBatchResponse/kind": kind +"/spectrum:v1explorer/PawsGetSpectrumBatchResponse/maxContiguousBwHz": max_contiguous_bw_hz +"/spectrum:v1explorer/PawsGetSpectrumBatchResponse/maxTotalBwHz": max_total_bw_hz +"/spectrum:v1explorer/PawsGetSpectrumBatchResponse/needsSpectrumReport": needs_spectrum_report +"/spectrum:v1explorer/PawsGetSpectrumBatchResponse/rulesetInfo": ruleset_info +"/spectrum:v1explorer/PawsGetSpectrumBatchResponse/timestamp": timestamp +"/spectrum:v1explorer/PawsGetSpectrumBatchResponse/type": type +"/spectrum:v1explorer/PawsGetSpectrumBatchResponse/version": version +"/spectrum:v1explorer/PawsGetSpectrumRequest": paws_get_spectrum_request +"/spectrum:v1explorer/PawsGetSpectrumRequest/antenna": antenna +"/spectrum:v1explorer/PawsGetSpectrumRequest/capabilities": capabilities +"/spectrum:v1explorer/PawsGetSpectrumRequest/deviceDesc": device_desc +"/spectrum:v1explorer/PawsGetSpectrumRequest/location": location +"/spectrum:v1explorer/PawsGetSpectrumRequest/masterDeviceDesc": master_device_desc +"/spectrum:v1explorer/PawsGetSpectrumRequest/owner": owner +"/spectrum:v1explorer/PawsGetSpectrumRequest/requestType": request_type +"/spectrum:v1explorer/PawsGetSpectrumRequest/type": type +"/spectrum:v1explorer/PawsGetSpectrumRequest/version": version +"/spectrum:v1explorer/PawsGetSpectrumResponse": paws_get_spectrum_response +"/spectrum:v1explorer/PawsGetSpectrumResponse/databaseChange": database_change +"/spectrum:v1explorer/PawsGetSpectrumResponse/deviceDesc": device_desc +"/spectrum:v1explorer/PawsGetSpectrumResponse/kind": kind +"/spectrum:v1explorer/PawsGetSpectrumResponse/maxContiguousBwHz": max_contiguous_bw_hz +"/spectrum:v1explorer/PawsGetSpectrumResponse/maxTotalBwHz": max_total_bw_hz +"/spectrum:v1explorer/PawsGetSpectrumResponse/needsSpectrumReport": needs_spectrum_report +"/spectrum:v1explorer/PawsGetSpectrumResponse/rulesetInfo": ruleset_info +"/spectrum:v1explorer/PawsGetSpectrumResponse/spectrumSchedules": spectrum_schedules +"/spectrum:v1explorer/PawsGetSpectrumResponse/spectrumSchedules/spectrum_schedule": spectrum_schedule +"/spectrum:v1explorer/PawsGetSpectrumResponse/timestamp": timestamp +"/spectrum:v1explorer/PawsGetSpectrumResponse/type": type +"/spectrum:v1explorer/PawsGetSpectrumResponse/version": version +"/spectrum:v1explorer/PawsInitRequest": paws_init_request +"/spectrum:v1explorer/PawsInitRequest/deviceDesc": device_desc +"/spectrum:v1explorer/PawsInitRequest/location": location +"/spectrum:v1explorer/PawsInitRequest/type": type +"/spectrum:v1explorer/PawsInitRequest/version": version +"/spectrum:v1explorer/PawsInitResponse": paws_init_response +"/spectrum:v1explorer/PawsInitResponse/databaseChange": database_change +"/spectrum:v1explorer/PawsInitResponse/kind": kind +"/spectrum:v1explorer/PawsInitResponse/rulesetInfo": ruleset_info +"/spectrum:v1explorer/PawsInitResponse/type": type +"/spectrum:v1explorer/PawsInitResponse/version": version +"/spectrum:v1explorer/PawsNotifySpectrumUseRequest": paws_notify_spectrum_use_request +"/spectrum:v1explorer/PawsNotifySpectrumUseRequest/deviceDesc": device_desc +"/spectrum:v1explorer/PawsNotifySpectrumUseRequest/location": location +"/spectrum:v1explorer/PawsNotifySpectrumUseRequest/spectra": spectra +"/spectrum:v1explorer/PawsNotifySpectrumUseRequest/spectra/spectra": spectra +"/spectrum:v1explorer/PawsNotifySpectrumUseRequest/type": type +"/spectrum:v1explorer/PawsNotifySpectrumUseRequest/version": version +"/spectrum:v1explorer/PawsNotifySpectrumUseResponse": paws_notify_spectrum_use_response +"/spectrum:v1explorer/PawsNotifySpectrumUseResponse/kind": kind +"/spectrum:v1explorer/PawsNotifySpectrumUseResponse/type": type +"/spectrum:v1explorer/PawsNotifySpectrumUseResponse/version": version +"/spectrum:v1explorer/PawsRegisterRequest": paws_register_request +"/spectrum:v1explorer/PawsRegisterRequest/antenna": antenna +"/spectrum:v1explorer/PawsRegisterRequest/deviceDesc": device_desc +"/spectrum:v1explorer/PawsRegisterRequest/deviceOwner": device_owner +"/spectrum:v1explorer/PawsRegisterRequest/location": location +"/spectrum:v1explorer/PawsRegisterRequest/type": type +"/spectrum:v1explorer/PawsRegisterRequest/version": version +"/spectrum:v1explorer/PawsRegisterResponse": paws_register_response +"/spectrum:v1explorer/PawsRegisterResponse/databaseChange": database_change +"/spectrum:v1explorer/PawsRegisterResponse/kind": kind +"/spectrum:v1explorer/PawsRegisterResponse/type": type +"/spectrum:v1explorer/PawsRegisterResponse/version": version +"/spectrum:v1explorer/PawsVerifyDeviceRequest": paws_verify_device_request +"/spectrum:v1explorer/PawsVerifyDeviceRequest/deviceDescs": device_descs +"/spectrum:v1explorer/PawsVerifyDeviceRequest/deviceDescs/device_desc": device_desc +"/spectrum:v1explorer/PawsVerifyDeviceRequest/type": type +"/spectrum:v1explorer/PawsVerifyDeviceRequest/version": version +"/spectrum:v1explorer/PawsVerifyDeviceResponse": paws_verify_device_response +"/spectrum:v1explorer/PawsVerifyDeviceResponse/databaseChange": database_change +"/spectrum:v1explorer/PawsVerifyDeviceResponse/deviceValidities": device_validities +"/spectrum:v1explorer/PawsVerifyDeviceResponse/deviceValidities/device_validity": device_validity +"/spectrum:v1explorer/PawsVerifyDeviceResponse/kind": kind +"/spectrum:v1explorer/PawsVerifyDeviceResponse/type": type +"/spectrum:v1explorer/PawsVerifyDeviceResponse/version": version +"/spectrum:v1explorer/RulesetInfo": ruleset_info +"/spectrum:v1explorer/RulesetInfo/authority": authority +"/spectrum:v1explorer/RulesetInfo/maxLocationChange": max_location_change +"/spectrum:v1explorer/RulesetInfo/maxPollingSecs": max_polling_secs +"/spectrum:v1explorer/RulesetInfo/rulesetIds": ruleset_ids +"/spectrum:v1explorer/RulesetInfo/rulesetIds/ruleset_id": ruleset_id +"/spectrum:v1explorer/SpectrumMessage": spectrum_message +"/spectrum:v1explorer/SpectrumMessage/bandwidth": bandwidth +"/spectrum:v1explorer/SpectrumMessage/frequencyRanges": frequency_ranges +"/spectrum:v1explorer/SpectrumMessage/frequencyRanges/frequency_range": frequency_range +"/spectrum:v1explorer/SpectrumSchedule": spectrum_schedule +"/spectrum:v1explorer/SpectrumSchedule/eventTime": event_time +"/spectrum:v1explorer/SpectrumSchedule/spectra": spectra +"/spectrum:v1explorer/SpectrumSchedule/spectra/spectra": spectra +"/spectrum:v1explorer/Vcard": vcard +"/spectrum:v1explorer/Vcard/adr": adr +"/spectrum:v1explorer/Vcard/email": email +"/spectrum:v1explorer/Vcard/fn": fn +"/spectrum:v1explorer/Vcard/org": org +"/spectrum:v1explorer/Vcard/tel": tel +"/spectrum:v1explorer/VcardAddress": vcard_address +"/spectrum:v1explorer/VcardAddress/code": code +"/spectrum:v1explorer/VcardAddress/country": country +"/spectrum:v1explorer/VcardAddress/locality": locality +"/spectrum:v1explorer/VcardAddress/pobox": pobox +"/spectrum:v1explorer/VcardAddress/region": region +"/spectrum:v1explorer/VcardAddress/street": street +"/spectrum:v1explorer/VcardTelephone": vcard_telephone +"/spectrum:v1explorer/VcardTelephone/uri": uri +"/spectrum:v1explorer/VcardTypedText": vcard_typed_text +"/spectrum:v1explorer/VcardTypedText/text": text +"/spectrum:v1explorer/fields": fields +"/spectrum:v1explorer/key": key +"/spectrum:v1explorer/quotaUser": quota_user +"/spectrum:v1explorer/spectrum.paws.getSpectrum": get_paw_spectrum +"/spectrum:v1explorer/spectrum.paws.getSpectrumBatch": get_paw_spectrum_batch +"/spectrum:v1explorer/spectrum.paws.init": init_paw +"/spectrum:v1explorer/spectrum.paws.notifySpectrumUse": notify_paw_spectrum_use +"/spectrum:v1explorer/spectrum.paws.register": register_paw +"/spectrum:v1explorer/spectrum.paws.verifyDevice": verify_paw_device +"/spectrum:v1explorer/userIp": user_ip +"/speech:v1/CancelOperationRequest": cancel_operation_request +"/speech:v1/Empty": empty +"/speech:v1/ListOperationsResponse": list_operations_response +"/speech:v1/ListOperationsResponse/nextPageToken": next_page_token +"/speech:v1/ListOperationsResponse/operations": operations +"/speech:v1/ListOperationsResponse/operations/operation": operation +"/speech:v1/LongRunningRecognizeRequest": long_running_recognize_request +"/speech:v1/LongRunningRecognizeRequest/audio": audio +"/speech:v1/LongRunningRecognizeRequest/config": config +"/speech:v1/Operation": operation +"/speech:v1/Operation/done": done +"/speech:v1/Operation/error": error +"/speech:v1/Operation/metadata": metadata +"/speech:v1/Operation/metadata/metadatum": metadatum +"/speech:v1/Operation/name": name +"/speech:v1/Operation/response": response +"/speech:v1/Operation/response/response": response +"/speech:v1/RecognitionAudio": recognition_audio +"/speech:v1/RecognitionAudio/content": content +"/speech:v1/RecognitionAudio/uri": uri +"/speech:v1/RecognitionConfig": recognition_config +"/speech:v1/RecognitionConfig/enableWordTimeOffsets": enable_word_time_offsets +"/speech:v1/RecognitionConfig/encoding": encoding +"/speech:v1/RecognitionConfig/languageCode": language_code +"/speech:v1/RecognitionConfig/maxAlternatives": max_alternatives +"/speech:v1/RecognitionConfig/profanityFilter": profanity_filter +"/speech:v1/RecognitionConfig/sampleRateHertz": sample_rate_hertz +"/speech:v1/RecognitionConfig/speechContexts": speech_contexts +"/speech:v1/RecognitionConfig/speechContexts/speech_context": speech_context +"/speech:v1/RecognizeRequest": recognize_request +"/speech:v1/RecognizeRequest/audio": audio +"/speech:v1/RecognizeRequest/config": config +"/speech:v1/RecognizeResponse": recognize_response +"/speech:v1/RecognizeResponse/results": results +"/speech:v1/RecognizeResponse/results/result": result +"/speech:v1/SpeechContext": speech_context +"/speech:v1/SpeechContext/phrases": phrases +"/speech:v1/SpeechContext/phrases/phrase": phrase +"/speech:v1/SpeechRecognitionAlternative": speech_recognition_alternative +"/speech:v1/SpeechRecognitionAlternative/confidence": confidence +"/speech:v1/SpeechRecognitionAlternative/transcript": transcript +"/speech:v1/SpeechRecognitionAlternative/words": words +"/speech:v1/SpeechRecognitionAlternative/words/word": word +"/speech:v1/SpeechRecognitionResult": speech_recognition_result +"/speech:v1/SpeechRecognitionResult/alternatives": alternatives +"/speech:v1/SpeechRecognitionResult/alternatives/alternative": alternative +"/speech:v1/Status": status +"/speech:v1/Status/code": code +"/speech:v1/Status/details": details +"/speech:v1/Status/details/detail": detail +"/speech:v1/Status/details/detail/detail": detail +"/speech:v1/Status/message": message +"/speech:v1/WordInfo": word_info +"/speech:v1/WordInfo/endTime": end_time +"/speech:v1/WordInfo/startTime": start_time +"/speech:v1/WordInfo/word": word +"/speech:v1/fields": fields +"/speech:v1/key": key +"/speech:v1/quotaUser": quota_user +"/speech:v1/speech.operations.cancel": cancel_operation +"/speech:v1/speech.operations.cancel/name": name +"/speech:v1/speech.operations.delete": delete_operation +"/speech:v1/speech.operations.delete/name": name +"/speech:v1/speech.operations.get": get_operation +"/speech:v1/speech.operations.get/name": name +"/speech:v1/speech.operations.list": list_operations +"/speech:v1/speech.operations.list/filter": filter +"/speech:v1/speech.operations.list/name": name +"/speech:v1/speech.operations.list/pageSize": page_size +"/speech:v1/speech.operations.list/pageToken": page_token +"/speech:v1/speech.speech.longrunningrecognize": longrunningrecognize_speech +"/speech:v1/speech.speech.recognize": recognize_speech +"/speech:v1beta1/AsyncRecognizeRequest": async_recognize_request +"/speech:v1beta1/AsyncRecognizeRequest/audio": audio +"/speech:v1beta1/AsyncRecognizeRequest/config": config "/speech:v1beta1/Empty": empty "/speech:v1beta1/ListOperationsResponse": list_operations_response +"/speech:v1beta1/ListOperationsResponse/nextPageToken": next_page_token "/speech:v1beta1/ListOperationsResponse/operations": operations "/speech:v1beta1/ListOperationsResponse/operations/operation": operation -"/speech:v1beta1/ListOperationsResponse/nextPageToken": next_page_token +"/speech:v1beta1/Operation": operation +"/speech:v1beta1/Operation/done": done +"/speech:v1beta1/Operation/error": error +"/speech:v1beta1/Operation/metadata": metadata +"/speech:v1beta1/Operation/metadata/metadatum": metadatum +"/speech:v1beta1/Operation/name": name +"/speech:v1beta1/Operation/response": response +"/speech:v1beta1/Operation/response/response": response +"/speech:v1beta1/RecognitionAudio": recognition_audio +"/speech:v1beta1/RecognitionAudio/content": content +"/speech:v1beta1/RecognitionAudio/uri": uri +"/speech:v1beta1/RecognitionConfig": recognition_config +"/speech:v1beta1/RecognitionConfig/encoding": encoding +"/speech:v1beta1/RecognitionConfig/languageCode": language_code +"/speech:v1beta1/RecognitionConfig/maxAlternatives": max_alternatives +"/speech:v1beta1/RecognitionConfig/profanityFilter": profanity_filter +"/speech:v1beta1/RecognitionConfig/sampleRate": sample_rate +"/speech:v1beta1/RecognitionConfig/speechContext": speech_context "/speech:v1beta1/SpeechContext": speech_context "/speech:v1beta1/SpeechContext/phrases": phrases "/speech:v1beta1/SpeechContext/phrases/phrase": phrase @@ -38126,31 +40064,324 @@ "/speech:v1beta1/SpeechRecognitionResult": speech_recognition_result "/speech:v1beta1/SpeechRecognitionResult/alternatives": alternatives "/speech:v1beta1/SpeechRecognitionResult/alternatives/alternative": alternative -"/speech:v1beta1/AsyncRecognizeRequest": async_recognize_request -"/speech:v1beta1/AsyncRecognizeRequest/audio": audio -"/speech:v1beta1/AsyncRecognizeRequest/config": config -"/speech:v1beta1/RecognitionAudio": recognition_audio -"/speech:v1beta1/RecognitionAudio/content": content -"/speech:v1beta1/RecognitionAudio/uri": uri -"/speech:v1beta1/Operation": operation -"/speech:v1beta1/Operation/done": done -"/speech:v1beta1/Operation/response": response -"/speech:v1beta1/Operation/response/response": response -"/speech:v1beta1/Operation/name": name -"/speech:v1beta1/Operation/error": error -"/speech:v1beta1/Operation/metadata": metadata -"/speech:v1beta1/Operation/metadata/metadatum": metadatum -"/speech:v1beta1/RecognitionConfig": recognition_config -"/speech:v1beta1/RecognitionConfig/languageCode": language_code -"/speech:v1beta1/RecognitionConfig/sampleRate": sample_rate -"/speech:v1beta1/RecognitionConfig/profanityFilter": profanity_filter -"/speech:v1beta1/RecognitionConfig/speechContext": speech_context -"/speech:v1beta1/RecognitionConfig/encoding": encoding -"/speech:v1beta1/RecognitionConfig/maxAlternatives": max_alternatives +"/speech:v1beta1/Status": status +"/speech:v1beta1/Status/code": code +"/speech:v1beta1/Status/details": details +"/speech:v1beta1/Status/details/detail": detail +"/speech:v1beta1/Status/details/detail/detail": detail +"/speech:v1beta1/Status/message": message +"/speech:v1beta1/SyncRecognizeRequest": sync_recognize_request +"/speech:v1beta1/SyncRecognizeRequest/audio": audio +"/speech:v1beta1/SyncRecognizeRequest/config": config +"/speech:v1beta1/SyncRecognizeResponse": sync_recognize_response +"/speech:v1beta1/SyncRecognizeResponse/results": results +"/speech:v1beta1/SyncRecognizeResponse/results/result": result +"/speech:v1beta1/fields": fields +"/speech:v1beta1/key": key +"/speech:v1beta1/quotaUser": quota_user +"/speech:v1beta1/speech.operations.cancel": cancel_operation +"/speech:v1beta1/speech.operations.cancel/name": name +"/speech:v1beta1/speech.operations.delete": delete_operation +"/speech:v1beta1/speech.operations.delete/name": name +"/speech:v1beta1/speech.operations.get": get_operation +"/speech:v1beta1/speech.operations.get/name": name +"/speech:v1beta1/speech.operations.list": list_operations +"/speech:v1beta1/speech.operations.list/filter": filter +"/speech:v1beta1/speech.operations.list/name": name +"/speech:v1beta1/speech.operations.list/pageSize": page_size +"/speech:v1beta1/speech.operations.list/pageToken": page_token +"/speech:v1beta1/speech.speech.asyncrecognize": async_recognize_speech +"/speech:v1beta1/speech.speech.syncrecognize": sync_recognize_speech +"/sqladmin:v1beta4/AclEntry": acl_entry +"/sqladmin:v1beta4/AclEntry/expirationTime": expiration_time +"/sqladmin:v1beta4/AclEntry/kind": kind +"/sqladmin:v1beta4/AclEntry/name": name +"/sqladmin:v1beta4/AclEntry/value": value +"/sqladmin:v1beta4/BackupConfiguration": backup_configuration +"/sqladmin:v1beta4/BackupConfiguration/binaryLogEnabled": binary_log_enabled +"/sqladmin:v1beta4/BackupConfiguration/enabled": enabled +"/sqladmin:v1beta4/BackupConfiguration/kind": kind +"/sqladmin:v1beta4/BackupConfiguration/startTime": start_time +"/sqladmin:v1beta4/BackupRun": backup_run +"/sqladmin:v1beta4/BackupRun/description": description +"/sqladmin:v1beta4/BackupRun/endTime": end_time +"/sqladmin:v1beta4/BackupRun/enqueuedTime": enqueued_time +"/sqladmin:v1beta4/BackupRun/error": error +"/sqladmin:v1beta4/BackupRun/id": id +"/sqladmin:v1beta4/BackupRun/instance": instance +"/sqladmin:v1beta4/BackupRun/kind": kind +"/sqladmin:v1beta4/BackupRun/selfLink": self_link +"/sqladmin:v1beta4/BackupRun/startTime": start_time +"/sqladmin:v1beta4/BackupRun/status": status +"/sqladmin:v1beta4/BackupRun/type": type +"/sqladmin:v1beta4/BackupRun/windowStartTime": window_start_time +"/sqladmin:v1beta4/BackupRunsListResponse": list_backup_runs_response +"/sqladmin:v1beta4/BackupRunsListResponse/items": items +"/sqladmin:v1beta4/BackupRunsListResponse/items/item": item +"/sqladmin:v1beta4/BackupRunsListResponse/kind": kind +"/sqladmin:v1beta4/BackupRunsListResponse/nextPageToken": next_page_token +"/sqladmin:v1beta4/BinLogCoordinates": bin_log_coordinates +"/sqladmin:v1beta4/BinLogCoordinates/binLogFileName": bin_log_file_name +"/sqladmin:v1beta4/BinLogCoordinates/binLogPosition": bin_log_position +"/sqladmin:v1beta4/BinLogCoordinates/kind": kind +"/sqladmin:v1beta4/CloneContext": clone_context +"/sqladmin:v1beta4/CloneContext/binLogCoordinates": bin_log_coordinates +"/sqladmin:v1beta4/CloneContext/destinationInstanceName": destination_instance_name +"/sqladmin:v1beta4/CloneContext/kind": kind +"/sqladmin:v1beta4/Database": database +"/sqladmin:v1beta4/Database/charset": charset +"/sqladmin:v1beta4/Database/collation": collation +"/sqladmin:v1beta4/Database/etag": etag +"/sqladmin:v1beta4/Database/instance": instance +"/sqladmin:v1beta4/Database/kind": kind +"/sqladmin:v1beta4/Database/name": name +"/sqladmin:v1beta4/Database/project": project +"/sqladmin:v1beta4/Database/selfLink": self_link +"/sqladmin:v1beta4/DatabaseFlags": database_flags +"/sqladmin:v1beta4/DatabaseFlags/name": name +"/sqladmin:v1beta4/DatabaseFlags/value": value +"/sqladmin:v1beta4/DatabaseInstance": database_instance +"/sqladmin:v1beta4/DatabaseInstance/backendType": backend_type +"/sqladmin:v1beta4/DatabaseInstance/connectionName": connection_name +"/sqladmin:v1beta4/DatabaseInstance/currentDiskSize": current_disk_size +"/sqladmin:v1beta4/DatabaseInstance/databaseVersion": database_version +"/sqladmin:v1beta4/DatabaseInstance/etag": etag +"/sqladmin:v1beta4/DatabaseInstance/failoverReplica": failover_replica +"/sqladmin:v1beta4/DatabaseInstance/failoverReplica/available": available +"/sqladmin:v1beta4/DatabaseInstance/failoverReplica/name": name +"/sqladmin:v1beta4/DatabaseInstance/gceZone": gce_zone +"/sqladmin:v1beta4/DatabaseInstance/instanceType": instance_type +"/sqladmin:v1beta4/DatabaseInstance/ipAddresses": ip_addresses +"/sqladmin:v1beta4/DatabaseInstance/ipAddresses/ip_address": ip_address +"/sqladmin:v1beta4/DatabaseInstance/ipv6Address": ipv6_address +"/sqladmin:v1beta4/DatabaseInstance/kind": kind +"/sqladmin:v1beta4/DatabaseInstance/masterInstanceName": master_instance_name +"/sqladmin:v1beta4/DatabaseInstance/maxDiskSize": max_disk_size +"/sqladmin:v1beta4/DatabaseInstance/name": name +"/sqladmin:v1beta4/DatabaseInstance/onPremisesConfiguration": on_premises_configuration +"/sqladmin:v1beta4/DatabaseInstance/project": project +"/sqladmin:v1beta4/DatabaseInstance/region": region +"/sqladmin:v1beta4/DatabaseInstance/replicaConfiguration": replica_configuration +"/sqladmin:v1beta4/DatabaseInstance/replicaNames": replica_names +"/sqladmin:v1beta4/DatabaseInstance/replicaNames/replica_name": replica_name +"/sqladmin:v1beta4/DatabaseInstance/selfLink": self_link +"/sqladmin:v1beta4/DatabaseInstance/serverCaCert": server_ca_cert +"/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": list_databases_response +"/sqladmin:v1beta4/DatabasesListResponse/items": items +"/sqladmin:v1beta4/DatabasesListResponse/items/item": item +"/sqladmin:v1beta4/DatabasesListResponse/kind": kind +"/sqladmin:v1beta4/ExportContext": export_context +"/sqladmin:v1beta4/ExportContext/csvExportOptions": csv_export_options +"/sqladmin:v1beta4/ExportContext/csvExportOptions/selectQuery": select_query +"/sqladmin:v1beta4/ExportContext/databases": databases +"/sqladmin:v1beta4/ExportContext/databases/database": database +"/sqladmin:v1beta4/ExportContext/fileType": file_type +"/sqladmin:v1beta4/ExportContext/kind": kind +"/sqladmin:v1beta4/ExportContext/sqlExportOptions": sql_export_options +"/sqladmin:v1beta4/ExportContext/sqlExportOptions/schemaOnly": schema_only +"/sqladmin:v1beta4/ExportContext/sqlExportOptions/tables": tables +"/sqladmin:v1beta4/ExportContext/sqlExportOptions/tables/table": table +"/sqladmin:v1beta4/ExportContext/uri": uri +"/sqladmin:v1beta4/FailoverContext": failover_context +"/sqladmin:v1beta4/FailoverContext/kind": kind +"/sqladmin:v1beta4/FailoverContext/settingsVersion": settings_version +"/sqladmin:v1beta4/Flag": flag +"/sqladmin:v1beta4/Flag/allowedStringValues": allowed_string_values +"/sqladmin:v1beta4/Flag/allowedStringValues/allowed_string_value": allowed_string_value +"/sqladmin:v1beta4/Flag/appliesTo": applies_to +"/sqladmin:v1beta4/Flag/appliesTo/applies_to": applies_to +"/sqladmin:v1beta4/Flag/kind": kind +"/sqladmin:v1beta4/Flag/maxValue": max_value +"/sqladmin:v1beta4/Flag/minValue": min_value +"/sqladmin:v1beta4/Flag/name": name +"/sqladmin:v1beta4/Flag/requiresRestart": requires_restart +"/sqladmin:v1beta4/Flag/type": type +"/sqladmin:v1beta4/FlagsListResponse": list_flags_response +"/sqladmin:v1beta4/FlagsListResponse/items": items +"/sqladmin:v1beta4/FlagsListResponse/items/item": item +"/sqladmin:v1beta4/FlagsListResponse/kind": kind +"/sqladmin:v1beta4/ImportContext": import_context +"/sqladmin:v1beta4/ImportContext/csvImportOptions": csv_import_options +"/sqladmin:v1beta4/ImportContext/csvImportOptions/columns": columns +"/sqladmin:v1beta4/ImportContext/csvImportOptions/columns/column": column +"/sqladmin:v1beta4/ImportContext/csvImportOptions/table": table +"/sqladmin:v1beta4/ImportContext/database": database +"/sqladmin:v1beta4/ImportContext/fileType": file_type +"/sqladmin:v1beta4/ImportContext/importUser": import_user +"/sqladmin:v1beta4/ImportContext/kind": kind +"/sqladmin:v1beta4/ImportContext/uri": uri +"/sqladmin:v1beta4/InstancesCloneRequest": clone_instances_request +"/sqladmin:v1beta4/InstancesCloneRequest/cloneContext": clone_context +"/sqladmin:v1beta4/InstancesExportRequest": export_instances_request +"/sqladmin:v1beta4/InstancesExportRequest/exportContext": export_context +"/sqladmin:v1beta4/InstancesFailoverRequest": instances_failover_request +"/sqladmin:v1beta4/InstancesFailoverRequest/failoverContext": failover_context +"/sqladmin:v1beta4/InstancesImportRequest": import_instances_request +"/sqladmin:v1beta4/InstancesImportRequest/importContext": import_context +"/sqladmin:v1beta4/InstancesListResponse": list_instances_response +"/sqladmin:v1beta4/InstancesListResponse/items": items +"/sqladmin:v1beta4/InstancesListResponse/items/item": item +"/sqladmin:v1beta4/InstancesListResponse/kind": kind +"/sqladmin:v1beta4/InstancesListResponse/nextPageToken": next_page_token +"/sqladmin:v1beta4/InstancesRestoreBackupRequest": restore_instances_backup_request +"/sqladmin:v1beta4/InstancesRestoreBackupRequest/restoreBackupContext": restore_backup_context +"/sqladmin:v1beta4/InstancesTruncateLogRequest": instances_truncate_log_request +"/sqladmin:v1beta4/InstancesTruncateLogRequest/truncateLogContext": truncate_log_context +"/sqladmin:v1beta4/IpConfiguration": ip_configuration +"/sqladmin:v1beta4/IpConfiguration/authorizedNetworks": authorized_networks +"/sqladmin:v1beta4/IpConfiguration/authorizedNetworks/authorized_network": authorized_network +"/sqladmin:v1beta4/IpConfiguration/ipv4Enabled": ipv4_enabled +"/sqladmin:v1beta4/IpConfiguration/requireSsl": require_ssl +"/sqladmin:v1beta4/IpMapping": ip_mapping +"/sqladmin:v1beta4/IpMapping/ipAddress": ip_address +"/sqladmin:v1beta4/IpMapping/timeToRetire": time_to_retire +"/sqladmin:v1beta4/IpMapping/type": type +"/sqladmin:v1beta4/LocationPreference": location_preference +"/sqladmin:v1beta4/LocationPreference/followGaeApplication": follow_gae_application +"/sqladmin:v1beta4/LocationPreference/kind": kind +"/sqladmin:v1beta4/LocationPreference/zone": zone +"/sqladmin:v1beta4/MaintenanceWindow": maintenance_window +"/sqladmin:v1beta4/MaintenanceWindow/day": day +"/sqladmin:v1beta4/MaintenanceWindow/hour": hour +"/sqladmin:v1beta4/MaintenanceWindow/kind": kind +"/sqladmin:v1beta4/MaintenanceWindow/updateTrack": update_track +"/sqladmin:v1beta4/MySqlReplicaConfiguration": my_sql_replica_configuration +"/sqladmin:v1beta4/MySqlReplicaConfiguration/caCertificate": ca_certificate +"/sqladmin:v1beta4/MySqlReplicaConfiguration/clientCertificate": client_certificate +"/sqladmin:v1beta4/MySqlReplicaConfiguration/clientKey": client_key +"/sqladmin:v1beta4/MySqlReplicaConfiguration/connectRetryInterval": connect_retry_interval +"/sqladmin:v1beta4/MySqlReplicaConfiguration/dumpFilePath": dump_file_path +"/sqladmin:v1beta4/MySqlReplicaConfiguration/kind": kind +"/sqladmin:v1beta4/MySqlReplicaConfiguration/masterHeartbeatPeriod": master_heartbeat_period +"/sqladmin:v1beta4/MySqlReplicaConfiguration/password": password +"/sqladmin:v1beta4/MySqlReplicaConfiguration/sslCipher": ssl_cipher +"/sqladmin:v1beta4/MySqlReplicaConfiguration/username": username +"/sqladmin:v1beta4/MySqlReplicaConfiguration/verifyServerCertificate": verify_server_certificate +"/sqladmin:v1beta4/OnPremisesConfiguration": on_premises_configuration +"/sqladmin:v1beta4/OnPremisesConfiguration/hostPort": host_port +"/sqladmin:v1beta4/OnPremisesConfiguration/kind": kind +"/sqladmin:v1beta4/Operation": operation +"/sqladmin:v1beta4/Operation/endTime": end_time +"/sqladmin:v1beta4/Operation/error": error +"/sqladmin:v1beta4/Operation/exportContext": export_context +"/sqladmin:v1beta4/Operation/importContext": import_context +"/sqladmin:v1beta4/Operation/insertTime": insert_time +"/sqladmin:v1beta4/Operation/kind": kind +"/sqladmin:v1beta4/Operation/name": name +"/sqladmin:v1beta4/Operation/operationType": operation_type +"/sqladmin:v1beta4/Operation/selfLink": self_link +"/sqladmin:v1beta4/Operation/startTime": start_time +"/sqladmin:v1beta4/Operation/status": status +"/sqladmin:v1beta4/Operation/targetId": target_id +"/sqladmin:v1beta4/Operation/targetLink": target_link +"/sqladmin:v1beta4/Operation/targetProject": target_project +"/sqladmin:v1beta4/Operation/user": user +"/sqladmin:v1beta4/OperationError": operation_error +"/sqladmin:v1beta4/OperationError/code": code +"/sqladmin:v1beta4/OperationError/kind": kind +"/sqladmin:v1beta4/OperationError/message": message +"/sqladmin:v1beta4/OperationErrors": operation_errors +"/sqladmin:v1beta4/OperationErrors/errors": errors +"/sqladmin:v1beta4/OperationErrors/errors/error": error +"/sqladmin:v1beta4/OperationErrors/kind": kind +"/sqladmin:v1beta4/OperationsListResponse": list_operations_response +"/sqladmin:v1beta4/OperationsListResponse/items": items +"/sqladmin:v1beta4/OperationsListResponse/items/item": item +"/sqladmin:v1beta4/OperationsListResponse/kind": kind +"/sqladmin:v1beta4/OperationsListResponse/nextPageToken": next_page_token +"/sqladmin:v1beta4/ReplicaConfiguration": replica_configuration +"/sqladmin:v1beta4/ReplicaConfiguration/failoverTarget": failover_target +"/sqladmin:v1beta4/ReplicaConfiguration/kind": kind +"/sqladmin:v1beta4/ReplicaConfiguration/mysqlReplicaConfiguration": mysql_replica_configuration +"/sqladmin:v1beta4/RestoreBackupContext": restore_backup_context +"/sqladmin:v1beta4/RestoreBackupContext/backupRunId": backup_run_id +"/sqladmin:v1beta4/RestoreBackupContext/instanceId": instance_id +"/sqladmin:v1beta4/RestoreBackupContext/kind": kind +"/sqladmin:v1beta4/Settings": settings +"/sqladmin:v1beta4/Settings/activationPolicy": activation_policy +"/sqladmin:v1beta4/Settings/authorizedGaeApplications": authorized_gae_applications +"/sqladmin:v1beta4/Settings/authorizedGaeApplications/authorized_gae_application": authorized_gae_application +"/sqladmin:v1beta4/Settings/availabilityType": availability_type +"/sqladmin:v1beta4/Settings/backupConfiguration": backup_configuration +"/sqladmin:v1beta4/Settings/crashSafeReplicationEnabled": crash_safe_replication_enabled +"/sqladmin:v1beta4/Settings/dataDiskSizeGb": data_disk_size_gb +"/sqladmin:v1beta4/Settings/dataDiskType": data_disk_type +"/sqladmin:v1beta4/Settings/databaseFlags": database_flags +"/sqladmin:v1beta4/Settings/databaseFlags/database_flag": database_flag +"/sqladmin:v1beta4/Settings/databaseReplicationEnabled": database_replication_enabled +"/sqladmin:v1beta4/Settings/ipConfiguration": ip_configuration +"/sqladmin:v1beta4/Settings/kind": kind +"/sqladmin:v1beta4/Settings/locationPreference": location_preference +"/sqladmin:v1beta4/Settings/maintenanceWindow": maintenance_window +"/sqladmin:v1beta4/Settings/pricingPlan": pricing_plan +"/sqladmin:v1beta4/Settings/replicationType": replication_type +"/sqladmin:v1beta4/Settings/settingsVersion": settings_version +"/sqladmin:v1beta4/Settings/storageAutoResize": storage_auto_resize +"/sqladmin:v1beta4/Settings/storageAutoResizeLimit": storage_auto_resize_limit +"/sqladmin:v1beta4/Settings/tier": tier +"/sqladmin:v1beta4/Settings/userLabels": user_labels +"/sqladmin:v1beta4/Settings/userLabels/user_label": user_label +"/sqladmin:v1beta4/SslCert": ssl_cert +"/sqladmin:v1beta4/SslCert/cert": cert +"/sqladmin:v1beta4/SslCert/certSerialNumber": cert_serial_number +"/sqladmin:v1beta4/SslCert/commonName": common_name +"/sqladmin:v1beta4/SslCert/createTime": create_time +"/sqladmin:v1beta4/SslCert/expirationTime": expiration_time +"/sqladmin:v1beta4/SslCert/instance": instance +"/sqladmin:v1beta4/SslCert/kind": kind +"/sqladmin:v1beta4/SslCert/selfLink": self_link +"/sqladmin:v1beta4/SslCert/sha1Fingerprint": sha1_fingerprint +"/sqladmin:v1beta4/SslCertDetail": ssl_cert_detail +"/sqladmin:v1beta4/SslCertDetail/certInfo": cert_info +"/sqladmin:v1beta4/SslCertDetail/certPrivateKey": cert_private_key +"/sqladmin:v1beta4/SslCertsCreateEphemeralRequest": ssl_certs_create_ephemeral_request +"/sqladmin:v1beta4/SslCertsCreateEphemeralRequest/public_key": public_key +"/sqladmin:v1beta4/SslCertsInsertRequest": insert_ssl_certs_request +"/sqladmin:v1beta4/SslCertsInsertRequest/commonName": common_name +"/sqladmin:v1beta4/SslCertsInsertResponse": insert_ssl_certs_response +"/sqladmin:v1beta4/SslCertsInsertResponse/clientCert": client_cert +"/sqladmin:v1beta4/SslCertsInsertResponse/kind": kind +"/sqladmin:v1beta4/SslCertsInsertResponse/operation": operation +"/sqladmin:v1beta4/SslCertsInsertResponse/serverCaCert": server_ca_cert +"/sqladmin:v1beta4/SslCertsListResponse": list_ssl_certs_response +"/sqladmin:v1beta4/SslCertsListResponse/items": items +"/sqladmin:v1beta4/SslCertsListResponse/items/item": item +"/sqladmin:v1beta4/SslCertsListResponse/kind": kind +"/sqladmin:v1beta4/Tier": tier +"/sqladmin:v1beta4/Tier/DiskQuota": disk_quota +"/sqladmin:v1beta4/Tier/RAM": ram +"/sqladmin:v1beta4/Tier/kind": kind +"/sqladmin:v1beta4/Tier/region": region +"/sqladmin:v1beta4/Tier/region/region": region +"/sqladmin:v1beta4/Tier/tier": tier +"/sqladmin:v1beta4/TiersListResponse": list_tiers_response +"/sqladmin:v1beta4/TiersListResponse/items": items +"/sqladmin:v1beta4/TiersListResponse/items/item": item +"/sqladmin:v1beta4/TiersListResponse/kind": kind +"/sqladmin:v1beta4/TruncateLogContext": truncate_log_context +"/sqladmin:v1beta4/TruncateLogContext/kind": kind +"/sqladmin:v1beta4/TruncateLogContext/logType": log_type +"/sqladmin:v1beta4/User": user +"/sqladmin:v1beta4/User/etag": etag +"/sqladmin:v1beta4/User/host": host +"/sqladmin:v1beta4/User/instance": instance +"/sqladmin:v1beta4/User/kind": kind +"/sqladmin:v1beta4/User/name": name +"/sqladmin:v1beta4/User/password": password +"/sqladmin:v1beta4/User/project": project +"/sqladmin:v1beta4/UsersListResponse": list_users_response +"/sqladmin:v1beta4/UsersListResponse/items": items +"/sqladmin:v1beta4/UsersListResponse/items/item": item +"/sqladmin:v1beta4/UsersListResponse/kind": kind +"/sqladmin:v1beta4/UsersListResponse/nextPageToken": next_page_token "/sqladmin:v1beta4/fields": fields "/sqladmin:v1beta4/key": key "/sqladmin:v1beta4/quotaUser": quota_user -"/sqladmin:v1beta4/userIp": user_ip "/sqladmin:v1beta4/sql.backupRuns.delete": delete_backup_run "/sqladmin:v1beta4/sql.backupRuns.delete/id": id "/sqladmin:v1beta4/sql.backupRuns.delete/instance": instance @@ -38286,282 +40517,210 @@ "/sqladmin:v1beta4/sql.users.update/instance": instance "/sqladmin:v1beta4/sql.users.update/name": name "/sqladmin:v1beta4/sql.users.update/project": project -"/sqladmin:v1beta4/AclEntry": acl_entry -"/sqladmin:v1beta4/AclEntry/expirationTime": expiration_time -"/sqladmin:v1beta4/AclEntry/kind": kind -"/sqladmin:v1beta4/AclEntry/name": name -"/sqladmin:v1beta4/AclEntry/value": value -"/sqladmin:v1beta4/BackupConfiguration": backup_configuration -"/sqladmin:v1beta4/BackupConfiguration/binaryLogEnabled": binary_log_enabled -"/sqladmin:v1beta4/BackupConfiguration/enabled": enabled -"/sqladmin:v1beta4/BackupConfiguration/kind": kind -"/sqladmin:v1beta4/BackupConfiguration/startTime": start_time -"/sqladmin:v1beta4/BackupRun": backup_run -"/sqladmin:v1beta4/BackupRun/description": description -"/sqladmin:v1beta4/BackupRun/endTime": end_time -"/sqladmin:v1beta4/BackupRun/enqueuedTime": enqueued_time -"/sqladmin:v1beta4/BackupRun/error": error -"/sqladmin:v1beta4/BackupRun/id": id -"/sqladmin:v1beta4/BackupRun/instance": instance -"/sqladmin:v1beta4/BackupRun/kind": kind -"/sqladmin:v1beta4/BackupRun/selfLink": self_link -"/sqladmin:v1beta4/BackupRun/startTime": start_time -"/sqladmin:v1beta4/BackupRun/status": status -"/sqladmin:v1beta4/BackupRun/type": type -"/sqladmin:v1beta4/BackupRun/windowStartTime": window_start_time -"/sqladmin:v1beta4/BackupRunsListResponse/items": items -"/sqladmin:v1beta4/BackupRunsListResponse/items/item": item -"/sqladmin:v1beta4/BackupRunsListResponse/kind": kind -"/sqladmin:v1beta4/BackupRunsListResponse/nextPageToken": next_page_token -"/sqladmin:v1beta4/BinLogCoordinates": bin_log_coordinates -"/sqladmin:v1beta4/BinLogCoordinates/binLogFileName": bin_log_file_name -"/sqladmin:v1beta4/BinLogCoordinates/binLogPosition": bin_log_position -"/sqladmin:v1beta4/BinLogCoordinates/kind": kind -"/sqladmin:v1beta4/CloneContext": clone_context -"/sqladmin:v1beta4/CloneContext/binLogCoordinates": bin_log_coordinates -"/sqladmin:v1beta4/CloneContext/destinationInstanceName": destination_instance_name -"/sqladmin:v1beta4/CloneContext/kind": kind -"/sqladmin:v1beta4/Database": database -"/sqladmin:v1beta4/Database/charset": charset -"/sqladmin:v1beta4/Database/collation": collation -"/sqladmin:v1beta4/Database/etag": etag -"/sqladmin:v1beta4/Database/instance": instance -"/sqladmin:v1beta4/Database/kind": kind -"/sqladmin:v1beta4/Database/name": name -"/sqladmin:v1beta4/Database/project": project -"/sqladmin:v1beta4/Database/selfLink": self_link -"/sqladmin:v1beta4/DatabaseFlags": database_flags -"/sqladmin:v1beta4/DatabaseFlags/name": name -"/sqladmin:v1beta4/DatabaseFlags/value": value -"/sqladmin:v1beta4/DatabaseInstance": database_instance -"/sqladmin:v1beta4/DatabaseInstance/backendType": backend_type -"/sqladmin:v1beta4/DatabaseInstance/connectionName": connection_name -"/sqladmin:v1beta4/DatabaseInstance/currentDiskSize": current_disk_size -"/sqladmin:v1beta4/DatabaseInstance/databaseVersion": database_version -"/sqladmin:v1beta4/DatabaseInstance/etag": etag -"/sqladmin:v1beta4/DatabaseInstance/failoverReplica": failover_replica -"/sqladmin:v1beta4/DatabaseInstance/failoverReplica/available": available -"/sqladmin:v1beta4/DatabaseInstance/failoverReplica/name": name -"/sqladmin:v1beta4/DatabaseInstance/instanceType": instance_type -"/sqladmin:v1beta4/DatabaseInstance/ipAddresses": ip_addresses -"/sqladmin:v1beta4/DatabaseInstance/ipAddresses/ip_address": ip_address -"/sqladmin:v1beta4/DatabaseInstance/ipv6Address": ipv6_address -"/sqladmin:v1beta4/DatabaseInstance/kind": kind -"/sqladmin:v1beta4/DatabaseInstance/masterInstanceName": master_instance_name -"/sqladmin:v1beta4/DatabaseInstance/maxDiskSize": max_disk_size -"/sqladmin:v1beta4/DatabaseInstance/name": name -"/sqladmin:v1beta4/DatabaseInstance/onPremisesConfiguration": on_premises_configuration -"/sqladmin:v1beta4/DatabaseInstance/project": project -"/sqladmin:v1beta4/DatabaseInstance/region": region -"/sqladmin:v1beta4/DatabaseInstance/replicaConfiguration": replica_configuration -"/sqladmin:v1beta4/DatabaseInstance/replicaNames": replica_names -"/sqladmin:v1beta4/DatabaseInstance/replicaNames/replica_name": replica_name -"/sqladmin:v1beta4/DatabaseInstance/selfLink": self_link -"/sqladmin:v1beta4/DatabaseInstance/serverCaCert": server_ca_cert -"/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 -"/sqladmin:v1beta4/ExportContext": export_context -"/sqladmin:v1beta4/ExportContext/csvExportOptions": csv_export_options -"/sqladmin:v1beta4/ExportContext/csvExportOptions/selectQuery": select_query -"/sqladmin:v1beta4/ExportContext/databases": databases -"/sqladmin:v1beta4/ExportContext/databases/database": database -"/sqladmin:v1beta4/ExportContext/fileType": file_type -"/sqladmin:v1beta4/ExportContext/kind": kind -"/sqladmin:v1beta4/ExportContext/sqlExportOptions": sql_export_options -"/sqladmin:v1beta4/ExportContext/sqlExportOptions/schemaOnly": schema_only -"/sqladmin:v1beta4/ExportContext/sqlExportOptions/tables": tables -"/sqladmin:v1beta4/ExportContext/sqlExportOptions/tables/table": table -"/sqladmin:v1beta4/ExportContext/uri": uri -"/sqladmin:v1beta4/FailoverContext": failover_context -"/sqladmin:v1beta4/FailoverContext/kind": kind -"/sqladmin:v1beta4/FailoverContext/settingsVersion": settings_version -"/sqladmin:v1beta4/Flag": flag -"/sqladmin:v1beta4/Flag/allowedStringValues": allowed_string_values -"/sqladmin:v1beta4/Flag/allowedStringValues/allowed_string_value": allowed_string_value -"/sqladmin:v1beta4/Flag/appliesTo": applies_to -"/sqladmin:v1beta4/Flag/appliesTo/applies_to": applies_to -"/sqladmin:v1beta4/Flag/kind": kind -"/sqladmin:v1beta4/Flag/maxValue": max_value -"/sqladmin:v1beta4/Flag/minValue": min_value -"/sqladmin:v1beta4/Flag/name": name -"/sqladmin:v1beta4/Flag/requiresRestart": requires_restart -"/sqladmin:v1beta4/Flag/type": type -"/sqladmin:v1beta4/FlagsListResponse/items": items -"/sqladmin:v1beta4/FlagsListResponse/items/item": item -"/sqladmin:v1beta4/FlagsListResponse/kind": kind -"/sqladmin:v1beta4/ImportContext": import_context -"/sqladmin:v1beta4/ImportContext/csvImportOptions": csv_import_options -"/sqladmin:v1beta4/ImportContext/csvImportOptions/columns": columns -"/sqladmin:v1beta4/ImportContext/csvImportOptions/columns/column": column -"/sqladmin:v1beta4/ImportContext/csvImportOptions/table": table -"/sqladmin:v1beta4/ImportContext/database": database -"/sqladmin:v1beta4/ImportContext/fileType": file_type -"/sqladmin:v1beta4/ImportContext/importUser": import_user -"/sqladmin:v1beta4/ImportContext/kind": kind -"/sqladmin:v1beta4/ImportContext/uri": uri -"/sqladmin:v1beta4/InstancesCloneRequest/cloneContext": clone_context -"/sqladmin:v1beta4/InstancesExportRequest/exportContext": export_context -"/sqladmin:v1beta4/InstancesFailoverRequest": instances_failover_request -"/sqladmin:v1beta4/InstancesFailoverRequest/failoverContext": failover_context -"/sqladmin:v1beta4/InstancesImportRequest/importContext": import_context -"/sqladmin:v1beta4/InstancesListResponse/items": items -"/sqladmin:v1beta4/InstancesListResponse/items/item": item -"/sqladmin:v1beta4/InstancesListResponse/kind": kind -"/sqladmin:v1beta4/InstancesListResponse/nextPageToken": next_page_token -"/sqladmin:v1beta4/InstancesRestoreBackupRequest/restoreBackupContext": restore_backup_context -"/sqladmin:v1beta4/InstancesTruncateLogRequest": instances_truncate_log_request -"/sqladmin:v1beta4/InstancesTruncateLogRequest/truncateLogContext": truncate_log_context -"/sqladmin:v1beta4/IpConfiguration": ip_configuration -"/sqladmin:v1beta4/IpConfiguration/authorizedNetworks": authorized_networks -"/sqladmin:v1beta4/IpConfiguration/authorizedNetworks/authorized_network": authorized_network -"/sqladmin:v1beta4/IpConfiguration/ipv4Enabled": ipv4_enabled -"/sqladmin:v1beta4/IpConfiguration/requireSsl": require_ssl -"/sqladmin:v1beta4/IpMapping": ip_mapping -"/sqladmin:v1beta4/IpMapping/ipAddress": ip_address -"/sqladmin:v1beta4/IpMapping/timeToRetire": time_to_retire -"/sqladmin:v1beta4/IpMapping/type": type -"/sqladmin:v1beta4/LocationPreference": location_preference -"/sqladmin:v1beta4/LocationPreference/followGaeApplication": follow_gae_application -"/sqladmin:v1beta4/LocationPreference/kind": kind -"/sqladmin:v1beta4/LocationPreference/zone": zone -"/sqladmin:v1beta4/MaintenanceWindow": maintenance_window -"/sqladmin:v1beta4/MaintenanceWindow/day": day -"/sqladmin:v1beta4/MaintenanceWindow/hour": hour -"/sqladmin:v1beta4/MaintenanceWindow/kind": kind -"/sqladmin:v1beta4/MaintenanceWindow/updateTrack": update_track -"/sqladmin:v1beta4/MySqlReplicaConfiguration": my_sql_replica_configuration -"/sqladmin:v1beta4/MySqlReplicaConfiguration/caCertificate": ca_certificate -"/sqladmin:v1beta4/MySqlReplicaConfiguration/clientCertificate": client_certificate -"/sqladmin:v1beta4/MySqlReplicaConfiguration/clientKey": client_key -"/sqladmin:v1beta4/MySqlReplicaConfiguration/connectRetryInterval": connect_retry_interval -"/sqladmin:v1beta4/MySqlReplicaConfiguration/dumpFilePath": dump_file_path -"/sqladmin:v1beta4/MySqlReplicaConfiguration/kind": kind -"/sqladmin:v1beta4/MySqlReplicaConfiguration/masterHeartbeatPeriod": master_heartbeat_period -"/sqladmin:v1beta4/MySqlReplicaConfiguration/password": password -"/sqladmin:v1beta4/MySqlReplicaConfiguration/sslCipher": ssl_cipher -"/sqladmin:v1beta4/MySqlReplicaConfiguration/username": username -"/sqladmin:v1beta4/MySqlReplicaConfiguration/verifyServerCertificate": verify_server_certificate -"/sqladmin:v1beta4/OnPremisesConfiguration": on_premises_configuration -"/sqladmin:v1beta4/OnPremisesConfiguration/hostPort": host_port -"/sqladmin:v1beta4/OnPremisesConfiguration/kind": kind -"/sqladmin:v1beta4/Operation": operation -"/sqladmin:v1beta4/Operation/endTime": end_time -"/sqladmin:v1beta4/Operation/error": error -"/sqladmin:v1beta4/Operation/exportContext": export_context -"/sqladmin:v1beta4/Operation/importContext": import_context -"/sqladmin:v1beta4/Operation/insertTime": insert_time -"/sqladmin:v1beta4/Operation/kind": kind -"/sqladmin:v1beta4/Operation/name": name -"/sqladmin:v1beta4/Operation/operationType": operation_type -"/sqladmin:v1beta4/Operation/selfLink": self_link -"/sqladmin:v1beta4/Operation/startTime": start_time -"/sqladmin:v1beta4/Operation/status": status -"/sqladmin:v1beta4/Operation/targetId": target_id -"/sqladmin:v1beta4/Operation/targetLink": target_link -"/sqladmin:v1beta4/Operation/targetProject": target_project -"/sqladmin:v1beta4/Operation/user": user -"/sqladmin:v1beta4/OperationError": operation_error -"/sqladmin:v1beta4/OperationError/code": code -"/sqladmin:v1beta4/OperationError/kind": kind -"/sqladmin:v1beta4/OperationError/message": message -"/sqladmin:v1beta4/OperationErrors": operation_errors -"/sqladmin:v1beta4/OperationErrors/errors": errors -"/sqladmin:v1beta4/OperationErrors/errors/error": error -"/sqladmin:v1beta4/OperationErrors/kind": kind -"/sqladmin:v1beta4/OperationsListResponse/items": items -"/sqladmin:v1beta4/OperationsListResponse/items/item": item -"/sqladmin:v1beta4/OperationsListResponse/kind": kind -"/sqladmin:v1beta4/OperationsListResponse/nextPageToken": next_page_token -"/sqladmin:v1beta4/ReplicaConfiguration": replica_configuration -"/sqladmin:v1beta4/ReplicaConfiguration/failoverTarget": failover_target -"/sqladmin:v1beta4/ReplicaConfiguration/kind": kind -"/sqladmin:v1beta4/ReplicaConfiguration/mysqlReplicaConfiguration": mysql_replica_configuration -"/sqladmin:v1beta4/RestoreBackupContext": restore_backup_context -"/sqladmin:v1beta4/RestoreBackupContext/backupRunId": backup_run_id -"/sqladmin:v1beta4/RestoreBackupContext/instanceId": instance_id -"/sqladmin:v1beta4/RestoreBackupContext/kind": kind -"/sqladmin:v1beta4/Settings": settings -"/sqladmin:v1beta4/Settings/activationPolicy": activation_policy -"/sqladmin:v1beta4/Settings/authorizedGaeApplications": authorized_gae_applications -"/sqladmin:v1beta4/Settings/authorizedGaeApplications/authorized_gae_application": authorized_gae_application -"/sqladmin:v1beta4/Settings/availabilityType": availability_type -"/sqladmin:v1beta4/Settings/backupConfiguration": backup_configuration -"/sqladmin:v1beta4/Settings/crashSafeReplicationEnabled": crash_safe_replication_enabled -"/sqladmin:v1beta4/Settings/dataDiskSizeGb": data_disk_size_gb -"/sqladmin:v1beta4/Settings/dataDiskType": data_disk_type -"/sqladmin:v1beta4/Settings/databaseFlags": database_flags -"/sqladmin:v1beta4/Settings/databaseFlags/database_flag": database_flag -"/sqladmin:v1beta4/Settings/databaseReplicationEnabled": database_replication_enabled -"/sqladmin:v1beta4/Settings/ipConfiguration": ip_configuration -"/sqladmin:v1beta4/Settings/kind": kind -"/sqladmin:v1beta4/Settings/locationPreference": location_preference -"/sqladmin:v1beta4/Settings/maintenanceWindow": maintenance_window -"/sqladmin:v1beta4/Settings/pricingPlan": pricing_plan -"/sqladmin:v1beta4/Settings/replicationType": replication_type -"/sqladmin:v1beta4/Settings/settingsVersion": settings_version -"/sqladmin:v1beta4/Settings/storageAutoResize": storage_auto_resize -"/sqladmin:v1beta4/Settings/storageAutoResizeLimit": storage_auto_resize_limit -"/sqladmin:v1beta4/Settings/tier": tier -"/sqladmin:v1beta4/Settings/userLabels": user_labels -"/sqladmin:v1beta4/Settings/userLabels/user_label": user_label -"/sqladmin:v1beta4/SslCert": ssl_cert -"/sqladmin:v1beta4/SslCert/cert": cert -"/sqladmin:v1beta4/SslCert/certSerialNumber": cert_serial_number -"/sqladmin:v1beta4/SslCert/commonName": common_name -"/sqladmin:v1beta4/SslCert/createTime": create_time -"/sqladmin:v1beta4/SslCert/expirationTime": expiration_time -"/sqladmin:v1beta4/SslCert/instance": instance -"/sqladmin:v1beta4/SslCert/kind": kind -"/sqladmin:v1beta4/SslCert/selfLink": self_link -"/sqladmin:v1beta4/SslCert/sha1Fingerprint": sha1_fingerprint -"/sqladmin:v1beta4/SslCertDetail": ssl_cert_detail -"/sqladmin:v1beta4/SslCertDetail/certInfo": cert_info -"/sqladmin:v1beta4/SslCertDetail/certPrivateKey": cert_private_key -"/sqladmin:v1beta4/SslCertsCreateEphemeralRequest": ssl_certs_create_ephemeral_request -"/sqladmin:v1beta4/SslCertsCreateEphemeralRequest/public_key": public_key -"/sqladmin:v1beta4/SslCertsInsertRequest/commonName": common_name -"/sqladmin:v1beta4/SslCertsInsertResponse/clientCert": client_cert -"/sqladmin:v1beta4/SslCertsInsertResponse/kind": kind -"/sqladmin:v1beta4/SslCertsInsertResponse/operation": operation -"/sqladmin:v1beta4/SslCertsInsertResponse/serverCaCert": server_ca_cert -"/sqladmin:v1beta4/SslCertsListResponse/items": items -"/sqladmin:v1beta4/SslCertsListResponse/items/item": item -"/sqladmin:v1beta4/SslCertsListResponse/kind": kind -"/sqladmin:v1beta4/Tier": tier -"/sqladmin:v1beta4/Tier/DiskQuota": disk_quota -"/sqladmin:v1beta4/Tier/RAM": ram -"/sqladmin:v1beta4/Tier/kind": kind -"/sqladmin:v1beta4/Tier/region": region -"/sqladmin:v1beta4/Tier/region/region": region -"/sqladmin:v1beta4/Tier/tier": tier -"/sqladmin:v1beta4/TiersListResponse/items": items -"/sqladmin:v1beta4/TiersListResponse/items/item": item -"/sqladmin:v1beta4/TiersListResponse/kind": kind -"/sqladmin:v1beta4/TruncateLogContext": truncate_log_context -"/sqladmin:v1beta4/TruncateLogContext/kind": kind -"/sqladmin:v1beta4/TruncateLogContext/logType": log_type -"/sqladmin:v1beta4/User": user -"/sqladmin:v1beta4/User/etag": etag -"/sqladmin:v1beta4/User/host": host -"/sqladmin:v1beta4/User/instance": instance -"/sqladmin:v1beta4/User/kind": kind -"/sqladmin:v1beta4/User/name": name -"/sqladmin:v1beta4/User/password": password -"/sqladmin:v1beta4/User/project": project -"/sqladmin:v1beta4/UsersListResponse/items": items -"/sqladmin:v1beta4/UsersListResponse/items/item": item -"/sqladmin:v1beta4/UsersListResponse/kind": kind -"/sqladmin:v1beta4/UsersListResponse/nextPageToken": next_page_token +"/sqladmin:v1beta4/userIp": user_ip +"/storage:v1/Bucket": bucket +"/storage:v1/Bucket/acl": acl +"/storage:v1/Bucket/acl/acl": acl +"/storage:v1/Bucket/billing": billing +"/storage:v1/Bucket/billing/requesterPays": requester_pays +"/storage:v1/Bucket/cors": cors_configurations +"/storage:v1/Bucket/cors/cors_configuration": cors_configuration +"/storage:v1/Bucket/cors/cors_configuration/maxAgeSeconds": max_age_seconds +"/storage:v1/Bucket/cors/cors_configuration/method": http_method +"/storage:v1/Bucket/cors/cors_configuration/method/http_method": http_method +"/storage:v1/Bucket/cors/cors_configuration/origin": origin +"/storage:v1/Bucket/cors/cors_configuration/origin/origin": origin +"/storage:v1/Bucket/cors/cors_configuration/responseHeader": response_header +"/storage:v1/Bucket/cors/cors_configuration/responseHeader/response_header": response_header +"/storage:v1/Bucket/defaultObjectAcl": default_object_acl +"/storage:v1/Bucket/defaultObjectAcl/default_object_acl": default_object_acl +"/storage:v1/Bucket/encryption": encryption +"/storage:v1/Bucket/encryption/defaultKmsKeyName": default_kms_key_name +"/storage:v1/Bucket/etag": etag +"/storage:v1/Bucket/id": id +"/storage:v1/Bucket/kind": kind +"/storage:v1/Bucket/labels": labels +"/storage:v1/Bucket/labels/label": label +"/storage:v1/Bucket/lifecycle": lifecycle +"/storage:v1/Bucket/lifecycle/rule": rule +"/storage:v1/Bucket/lifecycle/rule/rule": rule +"/storage:v1/Bucket/lifecycle/rule/rule/action": action +"/storage:v1/Bucket/lifecycle/rule/rule/action/storageClass": storage_class +"/storage:v1/Bucket/lifecycle/rule/rule/action/type": type +"/storage:v1/Bucket/lifecycle/rule/rule/condition": condition +"/storage:v1/Bucket/lifecycle/rule/rule/condition/age": age +"/storage:v1/Bucket/lifecycle/rule/rule/condition/createdBefore": created_before +"/storage:v1/Bucket/lifecycle/rule/rule/condition/isLive": is_live +"/storage:v1/Bucket/lifecycle/rule/rule/condition/matchesStorageClass": matches_storage_class +"/storage:v1/Bucket/lifecycle/rule/rule/condition/matchesStorageClass/matches_storage_class": matches_storage_class +"/storage:v1/Bucket/lifecycle/rule/rule/condition/numNewerVersions": num_newer_versions +"/storage:v1/Bucket/location": location +"/storage:v1/Bucket/logging": logging +"/storage:v1/Bucket/logging/logBucket": log_bucket +"/storage:v1/Bucket/logging/logObjectPrefix": log_object_prefix +"/storage:v1/Bucket/metageneration": metageneration +"/storage:v1/Bucket/name": name +"/storage:v1/Bucket/owner": owner +"/storage:v1/Bucket/owner/entity": entity +"/storage:v1/Bucket/owner/entityId": entity_id +"/storage:v1/Bucket/projectNumber": project_number +"/storage:v1/Bucket/selfLink": self_link +"/storage:v1/Bucket/storageClass": storage_class +"/storage:v1/Bucket/timeCreated": time_created +"/storage:v1/Bucket/updated": updated +"/storage:v1/Bucket/versioning": versioning +"/storage:v1/Bucket/versioning/enabled": enabled +"/storage:v1/Bucket/website": website +"/storage:v1/Bucket/website/mainPageSuffix": main_page_suffix +"/storage:v1/Bucket/website/notFoundPage": not_found_page +"/storage:v1/BucketAccessControl": bucket_access_control +"/storage:v1/BucketAccessControl/bucket": bucket +"/storage:v1/BucketAccessControl/domain": domain +"/storage:v1/BucketAccessControl/email": email +"/storage:v1/BucketAccessControl/entity": entity +"/storage:v1/BucketAccessControl/entityId": entity_id +"/storage:v1/BucketAccessControl/etag": etag +"/storage:v1/BucketAccessControl/id": id +"/storage:v1/BucketAccessControl/kind": kind +"/storage:v1/BucketAccessControl/projectTeam": project_team +"/storage:v1/BucketAccessControl/projectTeam/projectNumber": project_number +"/storage:v1/BucketAccessControl/projectTeam/team": team +"/storage:v1/BucketAccessControl/role": role +"/storage:v1/BucketAccessControl/selfLink": self_link +"/storage:v1/BucketAccessControls": bucket_access_controls +"/storage:v1/BucketAccessControls/items": items +"/storage:v1/BucketAccessControls/items/item": item +"/storage:v1/BucketAccessControls/kind": kind +"/storage:v1/Buckets": buckets +"/storage:v1/Buckets/items": items +"/storage:v1/Buckets/items/item": item +"/storage:v1/Buckets/kind": kind +"/storage:v1/Buckets/nextPageToken": next_page_token +"/storage:v1/Channel": channel +"/storage:v1/Channel/address": address +"/storage:v1/Channel/expiration": expiration +"/storage:v1/Channel/id": id +"/storage:v1/Channel/kind": kind +"/storage:v1/Channel/params": params +"/storage:v1/Channel/params/param": param +"/storage:v1/Channel/payload": payload +"/storage:v1/Channel/resourceId": resource_id +"/storage:v1/Channel/resourceUri": resource_uri +"/storage:v1/Channel/token": token +"/storage:v1/Channel/type": type +"/storage:v1/ComposeRequest": compose_request +"/storage:v1/ComposeRequest/destination": destination +"/storage:v1/ComposeRequest/kind": kind +"/storage:v1/ComposeRequest/sourceObjects": source_objects +"/storage:v1/ComposeRequest/sourceObjects/source_object": source_object +"/storage:v1/ComposeRequest/sourceObjects/source_object/generation": generation +"/storage:v1/ComposeRequest/sourceObjects/source_object/name": name +"/storage:v1/ComposeRequest/sourceObjects/source_object/objectPreconditions": object_preconditions +"/storage:v1/ComposeRequest/sourceObjects/source_object/objectPreconditions/ifGenerationMatch": if_generation_match +"/storage:v1/Notification": notification +"/storage:v1/Notification/custom_attributes": custom_attributes +"/storage:v1/Notification/custom_attributes/custom_attribute": custom_attribute +"/storage:v1/Notification/etag": etag +"/storage:v1/Notification/event_types": event_types +"/storage:v1/Notification/event_types/event_type": event_type +"/storage:v1/Notification/id": id +"/storage:v1/Notification/kind": kind +"/storage:v1/Notification/object_name_prefix": object_name_prefix +"/storage:v1/Notification/payload_format": payload_format +"/storage:v1/Notification/selfLink": self_link +"/storage:v1/Notification/topic": topic +"/storage:v1/Notifications": notifications +"/storage:v1/Notifications/items": items +"/storage:v1/Notifications/items/item": item +"/storage:v1/Notifications/kind": kind +"/storage:v1/Object": object +"/storage:v1/Object/acl": acl +"/storage:v1/Object/acl/acl": acl +"/storage:v1/Object/bucket": bucket +"/storage:v1/Object/cacheControl": cache_control +"/storage:v1/Object/componentCount": component_count +"/storage:v1/Object/contentDisposition": content_disposition +"/storage:v1/Object/contentEncoding": content_encoding +"/storage:v1/Object/contentLanguage": content_language +"/storage:v1/Object/contentType": content_type +"/storage:v1/Object/crc32c": crc32c +"/storage:v1/Object/customerEncryption": customer_encryption +"/storage:v1/Object/customerEncryption/encryptionAlgorithm": encryption_algorithm +"/storage:v1/Object/customerEncryption/keySha256": key_sha256 +"/storage:v1/Object/etag": etag +"/storage:v1/Object/generation": generation +"/storage:v1/Object/id": id +"/storage:v1/Object/kind": kind +"/storage:v1/Object/kmsKeyName": kms_key_name +"/storage:v1/Object/md5Hash": md5_hash +"/storage:v1/Object/mediaLink": media_link +"/storage:v1/Object/metadata": metadata +"/storage:v1/Object/metadata/metadatum": metadatum +"/storage:v1/Object/metageneration": metageneration +"/storage:v1/Object/name": name +"/storage:v1/Object/owner": owner +"/storage:v1/Object/owner/entity": entity +"/storage:v1/Object/owner/entityId": entity_id +"/storage:v1/Object/selfLink": self_link +"/storage:v1/Object/size": size +"/storage:v1/Object/storageClass": storage_class +"/storage:v1/Object/timeCreated": time_created +"/storage:v1/Object/timeDeleted": time_deleted +"/storage:v1/Object/timeStorageClassUpdated": time_storage_class_updated +"/storage:v1/Object/updated": updated +"/storage:v1/ObjectAccessControl": object_access_control +"/storage:v1/ObjectAccessControl/bucket": bucket +"/storage:v1/ObjectAccessControl/domain": domain +"/storage:v1/ObjectAccessControl/email": email +"/storage:v1/ObjectAccessControl/entity": entity +"/storage:v1/ObjectAccessControl/entityId": entity_id +"/storage:v1/ObjectAccessControl/etag": etag +"/storage:v1/ObjectAccessControl/generation": generation +"/storage:v1/ObjectAccessControl/id": id +"/storage:v1/ObjectAccessControl/kind": kind +"/storage:v1/ObjectAccessControl/object": object +"/storage:v1/ObjectAccessControl/projectTeam": project_team +"/storage:v1/ObjectAccessControl/projectTeam/projectNumber": project_number +"/storage:v1/ObjectAccessControl/projectTeam/team": team +"/storage:v1/ObjectAccessControl/role": role +"/storage:v1/ObjectAccessControl/selfLink": self_link +"/storage:v1/ObjectAccessControls": object_access_controls +"/storage:v1/ObjectAccessControls/items": items +"/storage:v1/ObjectAccessControls/items/item": item +"/storage:v1/ObjectAccessControls/kind": kind +"/storage:v1/Objects": objects +"/storage:v1/Objects/items": items +"/storage:v1/Objects/items/item": item +"/storage:v1/Objects/kind": kind +"/storage:v1/Objects/nextPageToken": next_page_token +"/storage:v1/Objects/prefixes": prefixes +"/storage:v1/Objects/prefixes/prefix": prefix +"/storage:v1/Policy": policy +"/storage:v1/Policy/bindings": bindings +"/storage:v1/Policy/bindings/binding": binding +"/storage:v1/Policy/bindings/binding/members": members +"/storage:v1/Policy/bindings/binding/members/member": member +"/storage:v1/Policy/bindings/binding/role": role +"/storage:v1/Policy/etag": etag +"/storage:v1/Policy/kind": kind +"/storage:v1/Policy/resourceId": resource_id +"/storage:v1/RewriteResponse": rewrite_response +"/storage:v1/RewriteResponse/done": done +"/storage:v1/RewriteResponse/kind": kind +"/storage:v1/RewriteResponse/objectSize": object_size +"/storage:v1/RewriteResponse/resource": resource +"/storage:v1/RewriteResponse/rewriteToken": rewrite_token +"/storage:v1/RewriteResponse/totalBytesRewritten": total_bytes_rewritten +"/storage:v1/ServiceAccount": service_account +"/storage:v1/ServiceAccount/email_address": email_address +"/storage:v1/ServiceAccount/kind": kind +"/storage:v1/TestIamPermissionsResponse": test_iam_permissions_response +"/storage:v1/TestIamPermissionsResponse/kind": kind +"/storage:v1/TestIamPermissionsResponse/permissions": permissions +"/storage:v1/TestIamPermissionsResponse/permissions/permission": permission "/storage:v1/fields": fields "/storage:v1/key": key "/storage:v1/quotaUser": quota_user -"/storage:v1/userIp": user_ip "/storage:v1/storage.bucketAccessControls.delete": delete_bucket_access_control "/storage:v1/storage.bucketAccessControls.delete/bucket": bucket "/storage:v1/storage.bucketAccessControls.delete/entity": entity @@ -38828,6 +40987,7 @@ "/storage:v1/storage.objects.update/predefinedAcl": predefined_acl "/storage:v1/storage.objects.update/projection": projection "/storage:v1/storage.objects.update/userProject": user_project +"/storage:v1/storage.objects.watchAll": watch_all_objects "/storage:v1/storage.objects.watchAll/bucket": bucket "/storage:v1/storage.objects.watchAll/delimiter": delimiter "/storage:v1/storage.objects.watchAll/maxResults": max_results @@ -38838,382 +40998,246 @@ "/storage:v1/storage.objects.watchAll/versions": versions "/storage:v1/storage.projects.serviceAccount.get": get_project_service_account "/storage:v1/storage.projects.serviceAccount.get/projectId": project_id -"/storage:v1/Bucket": bucket -"/storage:v1/Bucket/acl": acl -"/storage:v1/Bucket/acl/acl": acl -"/storage:v1/Bucket/billing": billing -"/storage:v1/Bucket/billing/requesterPays": requester_pays -"/storage:v1/Bucket/cors/cors_configuration": cors_configuration -"/storage:v1/Bucket/cors/cors_configuration/maxAgeSeconds": max_age_seconds -"/storage:v1/Bucket/cors/cors_configuration/method/http_method": http_method -"/storage:v1/Bucket/cors/cors_configuration/origin": origin -"/storage:v1/Bucket/cors/cors_configuration/origin/origin": origin -"/storage:v1/Bucket/cors/cors_configuration/responseHeader": response_header -"/storage:v1/Bucket/cors/cors_configuration/responseHeader/response_header": response_header -"/storage:v1/Bucket/defaultObjectAcl": default_object_acl -"/storage:v1/Bucket/defaultObjectAcl/default_object_acl": default_object_acl -"/storage:v1/Bucket/encryption": encryption -"/storage:v1/Bucket/encryption/defaultKmsKeyName": default_kms_key_name -"/storage:v1/Bucket/etag": etag -"/storage:v1/Bucket/id": id -"/storage:v1/Bucket/kind": kind -"/storage:v1/Bucket/labels": labels -"/storage:v1/Bucket/labels/label": label -"/storage:v1/Bucket/lifecycle": lifecycle -"/storage:v1/Bucket/lifecycle/rule": rule -"/storage:v1/Bucket/lifecycle/rule/rule": rule -"/storage:v1/Bucket/lifecycle/rule/rule/action": action -"/storage:v1/Bucket/lifecycle/rule/rule/action/storageClass": storage_class -"/storage:v1/Bucket/lifecycle/rule/rule/action/type": type -"/storage:v1/Bucket/lifecycle/rule/rule/condition": condition -"/storage:v1/Bucket/lifecycle/rule/rule/condition/age": age -"/storage:v1/Bucket/lifecycle/rule/rule/condition/createdBefore": created_before -"/storage:v1/Bucket/lifecycle/rule/rule/condition/isLive": is_live -"/storage:v1/Bucket/lifecycle/rule/rule/condition/matchesStorageClass": matches_storage_class -"/storage:v1/Bucket/lifecycle/rule/rule/condition/matchesStorageClass/matches_storage_class": matches_storage_class -"/storage:v1/Bucket/lifecycle/rule/rule/condition/numNewerVersions": num_newer_versions -"/storage:v1/Bucket/location": location -"/storage:v1/Bucket/logging": logging -"/storage:v1/Bucket/logging/logBucket": log_bucket -"/storage:v1/Bucket/logging/logObjectPrefix": log_object_prefix -"/storage:v1/Bucket/metageneration": metageneration -"/storage:v1/Bucket/name": name -"/storage:v1/Bucket/owner": owner -"/storage:v1/Bucket/owner/entity": entity -"/storage:v1/Bucket/owner/entityId": entity_id -"/storage:v1/Bucket/projectNumber": project_number -"/storage:v1/Bucket/selfLink": self_link -"/storage:v1/Bucket/storageClass": storage_class -"/storage:v1/Bucket/timeCreated": time_created -"/storage:v1/Bucket/updated": updated -"/storage:v1/Bucket/versioning": versioning -"/storage:v1/Bucket/versioning/enabled": enabled -"/storage:v1/Bucket/website": website -"/storage:v1/Bucket/website/mainPageSuffix": main_page_suffix -"/storage:v1/Bucket/website/notFoundPage": not_found_page -"/storage:v1/BucketAccessControl": bucket_access_control -"/storage:v1/BucketAccessControl/bucket": bucket -"/storage:v1/BucketAccessControl/domain": domain -"/storage:v1/BucketAccessControl/email": email -"/storage:v1/BucketAccessControl/entity": entity -"/storage:v1/BucketAccessControl/entityId": entity_id -"/storage:v1/BucketAccessControl/etag": etag -"/storage:v1/BucketAccessControl/id": id -"/storage:v1/BucketAccessControl/kind": kind -"/storage:v1/BucketAccessControl/projectTeam": project_team -"/storage:v1/BucketAccessControl/projectTeam/projectNumber": project_number -"/storage:v1/BucketAccessControl/projectTeam/team": team -"/storage:v1/BucketAccessControl/role": role -"/storage:v1/BucketAccessControl/selfLink": self_link -"/storage:v1/BucketAccessControls": bucket_access_controls -"/storage:v1/BucketAccessControls/items": items -"/storage:v1/BucketAccessControls/items/item": item -"/storage:v1/BucketAccessControls/kind": kind -"/storage:v1/Buckets": buckets -"/storage:v1/Buckets/items": items -"/storage:v1/Buckets/items/item": item -"/storage:v1/Buckets/kind": kind -"/storage:v1/Buckets/nextPageToken": next_page_token -"/storage:v1/Channel": channel -"/storage:v1/Channel/address": address -"/storage:v1/Channel/expiration": expiration -"/storage:v1/Channel/id": id -"/storage:v1/Channel/kind": kind -"/storage:v1/Channel/params": params -"/storage:v1/Channel/params/param": param -"/storage:v1/Channel/payload": payload -"/storage:v1/Channel/resourceId": resource_id -"/storage:v1/Channel/resourceUri": resource_uri -"/storage:v1/Channel/token": token -"/storage:v1/Channel/type": type -"/storage:v1/ComposeRequest": compose_request -"/storage:v1/ComposeRequest/destination": destination -"/storage:v1/ComposeRequest/kind": kind -"/storage:v1/ComposeRequest/sourceObjects": source_objects -"/storage:v1/ComposeRequest/sourceObjects/source_object": source_object -"/storage:v1/ComposeRequest/sourceObjects/source_object/generation": generation -"/storage:v1/ComposeRequest/sourceObjects/source_object/name": name -"/storage:v1/ComposeRequest/sourceObjects/source_object/objectPreconditions": object_preconditions -"/storage:v1/ComposeRequest/sourceObjects/source_object/objectPreconditions/ifGenerationMatch": if_generation_match -"/storage:v1/Notification": notification -"/storage:v1/Notification/custom_attributes": custom_attributes -"/storage:v1/Notification/custom_attributes/custom_attribute": custom_attribute -"/storage:v1/Notification/etag": etag -"/storage:v1/Notification/event_types": event_types -"/storage:v1/Notification/event_types/event_type": event_type -"/storage:v1/Notification/id": id -"/storage:v1/Notification/kind": kind -"/storage:v1/Notification/object_name_prefix": object_name_prefix -"/storage:v1/Notification/payload_format": payload_format -"/storage:v1/Notification/selfLink": self_link -"/storage:v1/Notification/topic": topic -"/storage:v1/Notifications": notifications -"/storage:v1/Notifications/items": items -"/storage:v1/Notifications/items/item": item -"/storage:v1/Notifications/kind": kind -"/storage:v1/Object": object -"/storage:v1/Object/acl": acl -"/storage:v1/Object/acl/acl": acl -"/storage:v1/Object/bucket": bucket -"/storage:v1/Object/cacheControl": cache_control -"/storage:v1/Object/componentCount": component_count -"/storage:v1/Object/contentDisposition": content_disposition -"/storage:v1/Object/contentEncoding": content_encoding -"/storage:v1/Object/contentLanguage": content_language -"/storage:v1/Object/contentType": content_type -"/storage:v1/Object/crc32c": crc32c -"/storage:v1/Object/customerEncryption": customer_encryption -"/storage:v1/Object/customerEncryption/encryptionAlgorithm": encryption_algorithm -"/storage:v1/Object/customerEncryption/keySha256": key_sha256 -"/storage:v1/Object/etag": etag -"/storage:v1/Object/generation": generation -"/storage:v1/Object/id": id -"/storage:v1/Object/kind": kind -"/storage:v1/Object/kmsKeyName": kms_key_name -"/storage:v1/Object/md5Hash": md5_hash -"/storage:v1/Object/mediaLink": media_link -"/storage:v1/Object/metadata": metadata -"/storage:v1/Object/metadata/metadatum": metadatum -"/storage:v1/Object/metageneration": metageneration -"/storage:v1/Object/name": name -"/storage:v1/Object/owner": owner -"/storage:v1/Object/owner/entity": entity -"/storage:v1/Object/owner/entityId": entity_id -"/storage:v1/Object/selfLink": self_link -"/storage:v1/Object/size": size -"/storage:v1/Object/storageClass": storage_class -"/storage:v1/Object/timeCreated": time_created -"/storage:v1/Object/timeDeleted": time_deleted -"/storage:v1/Object/timeStorageClassUpdated": time_storage_class_updated -"/storage:v1/Object/updated": updated -"/storage:v1/ObjectAccessControl": object_access_control -"/storage:v1/ObjectAccessControl/bucket": bucket -"/storage:v1/ObjectAccessControl/domain": domain -"/storage:v1/ObjectAccessControl/email": email -"/storage:v1/ObjectAccessControl/entity": entity -"/storage:v1/ObjectAccessControl/entityId": entity_id -"/storage:v1/ObjectAccessControl/etag": etag -"/storage:v1/ObjectAccessControl/generation": generation -"/storage:v1/ObjectAccessControl/id": id -"/storage:v1/ObjectAccessControl/kind": kind -"/storage:v1/ObjectAccessControl/object": object -"/storage:v1/ObjectAccessControl/projectTeam": project_team -"/storage:v1/ObjectAccessControl/projectTeam/projectNumber": project_number -"/storage:v1/ObjectAccessControl/projectTeam/team": team -"/storage:v1/ObjectAccessControl/role": role -"/storage:v1/ObjectAccessControl/selfLink": self_link -"/storage:v1/ObjectAccessControls": object_access_controls -"/storage:v1/ObjectAccessControls/items": items -"/storage:v1/ObjectAccessControls/items/item": item -"/storage:v1/ObjectAccessControls/kind": kind -"/storage:v1/Objects": objects -"/storage:v1/Objects/items": items -"/storage:v1/Objects/items/item": item -"/storage:v1/Objects/kind": kind -"/storage:v1/Objects/nextPageToken": next_page_token -"/storage:v1/Objects/prefixes": prefixes -"/storage:v1/Objects/prefixes/prefix": prefix -"/storage:v1/Policy": policy -"/storage:v1/Policy/bindings": bindings -"/storage:v1/Policy/bindings/binding": binding -"/storage:v1/Policy/bindings/binding/members": members -"/storage:v1/Policy/bindings/binding/members/member": member -"/storage:v1/Policy/bindings/binding/role": role -"/storage:v1/Policy/etag": etag -"/storage:v1/Policy/kind": kind -"/storage:v1/Policy/resourceId": resource_id -"/storage:v1/RewriteResponse": rewrite_response -"/storage:v1/RewriteResponse/done": done -"/storage:v1/RewriteResponse/kind": kind -"/storage:v1/RewriteResponse/objectSize": object_size -"/storage:v1/RewriteResponse/resource": resource -"/storage:v1/RewriteResponse/rewriteToken": rewrite_token -"/storage:v1/RewriteResponse/totalBytesRewritten": total_bytes_rewritten -"/storage:v1/ServiceAccount": service_account -"/storage:v1/ServiceAccount/email_address": email_address -"/storage:v1/ServiceAccount/kind": kind -"/storage:v1/TestIamPermissionsResponse": test_iam_permissions_response -"/storage:v1/TestIamPermissionsResponse/kind": kind -"/storage:v1/TestIamPermissionsResponse/permissions": permissions -"/storage:v1/TestIamPermissionsResponse/permissions/permission": permission -"/storagetransfer:v1/fields": fields -"/storagetransfer:v1/key": key -"/storagetransfer:v1/quotaUser": quota_user -"/storagetransfer:v1/storagetransfer.googleServiceAccounts.get": get_google_service_account -"/storagetransfer:v1/storagetransfer.googleServiceAccounts.get/projectId": project_id -"/storagetransfer:v1/storagetransfer.transferOperations.cancel": cancel_transfer_operation -"/storagetransfer:v1/storagetransfer.transferOperations.cancel/name": name -"/storagetransfer:v1/storagetransfer.transferOperations.get": get_transfer_operation -"/storagetransfer:v1/storagetransfer.transferOperations.get/name": name -"/storagetransfer:v1/storagetransfer.transferOperations.pause": pause_transfer_operation -"/storagetransfer:v1/storagetransfer.transferOperations.pause/name": name -"/storagetransfer:v1/storagetransfer.transferOperations.delete": delete_transfer_operation -"/storagetransfer:v1/storagetransfer.transferOperations.delete/name": name -"/storagetransfer:v1/storagetransfer.transferOperations.list": list_transfer_operations -"/storagetransfer:v1/storagetransfer.transferOperations.list/filter": filter -"/storagetransfer:v1/storagetransfer.transferOperations.list/pageToken": page_token -"/storagetransfer:v1/storagetransfer.transferOperations.list/name": name -"/storagetransfer:v1/storagetransfer.transferOperations.list/pageSize": page_size -"/storagetransfer:v1/storagetransfer.transferOperations.resume": resume_transfer_operation -"/storagetransfer:v1/storagetransfer.transferOperations.resume/name": name -"/storagetransfer:v1/storagetransfer.transferJobs.list": list_transfer_jobs -"/storagetransfer:v1/storagetransfer.transferJobs.list/pageToken": page_token -"/storagetransfer:v1/storagetransfer.transferJobs.list/pageSize": page_size -"/storagetransfer:v1/storagetransfer.transferJobs.list/filter": filter -"/storagetransfer:v1/storagetransfer.transferJobs.get": get_transfer_job -"/storagetransfer:v1/storagetransfer.transferJobs.get/projectId": project_id -"/storagetransfer:v1/storagetransfer.transferJobs.get/jobName": job_name -"/storagetransfer:v1/storagetransfer.transferJobs.patch": patch_transfer_job -"/storagetransfer:v1/storagetransfer.transferJobs.patch/jobName": job_name -"/storagetransfer:v1/storagetransfer.transferJobs.create": create_transfer_job -"/storagetransfer:v1/TransferCounters": transfer_counters -"/storagetransfer:v1/TransferCounters/bytesDeletedFromSource": bytes_deleted_from_source -"/storagetransfer:v1/TransferCounters/objectsFoundFromSource": objects_found_from_source -"/storagetransfer:v1/TransferCounters/objectsFailedToDeleteFromSink": objects_failed_to_delete_from_sink -"/storagetransfer:v1/TransferCounters/objectsDeletedFromSink": objects_deleted_from_sink -"/storagetransfer:v1/TransferCounters/objectsFoundOnlyFromSink": objects_found_only_from_sink -"/storagetransfer:v1/TransferCounters/bytesFromSourceSkippedBySync": bytes_from_source_skipped_by_sync -"/storagetransfer:v1/TransferCounters/bytesDeletedFromSink": bytes_deleted_from_sink -"/storagetransfer:v1/TransferCounters/bytesFailedToDeleteFromSink": bytes_failed_to_delete_from_sink -"/storagetransfer:v1/TransferCounters/bytesFromSourceFailed": bytes_from_source_failed -"/storagetransfer:v1/TransferCounters/objectsFromSourceFailed": objects_from_source_failed -"/storagetransfer:v1/TransferCounters/objectsCopiedToSink": objects_copied_to_sink -"/storagetransfer:v1/TransferCounters/bytesFoundOnlyFromSink": bytes_found_only_from_sink -"/storagetransfer:v1/TransferCounters/objectsDeletedFromSource": objects_deleted_from_source -"/storagetransfer:v1/TransferCounters/bytesCopiedToSink": bytes_copied_to_sink -"/storagetransfer:v1/TransferCounters/bytesFoundFromSource": bytes_found_from_source -"/storagetransfer:v1/TransferCounters/objectsFromSourceSkippedBySync": objects_from_source_skipped_by_sync +"/storage:v1/userIp": user_ip +"/storagetransfer:v1/AwsAccessKey": aws_access_key +"/storagetransfer:v1/AwsAccessKey/accessKeyId": access_key_id +"/storagetransfer:v1/AwsAccessKey/secretAccessKey": secret_access_key +"/storagetransfer:v1/AwsS3Data": aws_s3_data +"/storagetransfer:v1/AwsS3Data/awsAccessKey": aws_access_key +"/storagetransfer:v1/AwsS3Data/bucketName": bucket_name +"/storagetransfer:v1/Date": date +"/storagetransfer:v1/Date/day": day +"/storagetransfer:v1/Date/month": month +"/storagetransfer:v1/Date/year": year +"/storagetransfer:v1/Empty": empty +"/storagetransfer:v1/ErrorLogEntry": error_log_entry +"/storagetransfer:v1/ErrorLogEntry/errorDetails": error_details +"/storagetransfer:v1/ErrorLogEntry/errorDetails/error_detail": error_detail +"/storagetransfer:v1/ErrorLogEntry/url": url "/storagetransfer:v1/ErrorSummary": error_summary "/storagetransfer:v1/ErrorSummary/errorCode": error_code "/storagetransfer:v1/ErrorSummary/errorCount": error_count "/storagetransfer:v1/ErrorSummary/errorLogEntries": error_log_entries "/storagetransfer:v1/ErrorSummary/errorLogEntries/error_log_entry": error_log_entry -"/storagetransfer:v1/HttpData": http_data -"/storagetransfer:v1/HttpData/listUrl": list_url "/storagetransfer:v1/GcsData": gcs_data "/storagetransfer:v1/GcsData/bucketName": bucket_name -"/storagetransfer:v1/ListTransferJobsResponse": list_transfer_jobs_response -"/storagetransfer:v1/ListTransferJobsResponse/nextPageToken": next_page_token -"/storagetransfer:v1/ListTransferJobsResponse/transferJobs": transfer_jobs -"/storagetransfer:v1/ListTransferJobsResponse/transferJobs/transfer_job": transfer_job -"/storagetransfer:v1/UpdateTransferJobRequest": update_transfer_job_request -"/storagetransfer:v1/UpdateTransferJobRequest/projectId": project_id -"/storagetransfer:v1/UpdateTransferJobRequest/updateTransferJobFieldMask": update_transfer_job_field_mask -"/storagetransfer:v1/UpdateTransferJobRequest/transferJob": transfer_job -"/storagetransfer:v1/ObjectConditions": object_conditions -"/storagetransfer:v1/ObjectConditions/excludePrefixes": exclude_prefixes -"/storagetransfer:v1/ObjectConditions/excludePrefixes/exclude_prefix": exclude_prefix -"/storagetransfer:v1/ObjectConditions/minTimeElapsedSinceLastModification": min_time_elapsed_since_last_modification -"/storagetransfer:v1/ObjectConditions/maxTimeElapsedSinceLastModification": max_time_elapsed_since_last_modification -"/storagetransfer:v1/ObjectConditions/includePrefixes": include_prefixes -"/storagetransfer:v1/ObjectConditions/includePrefixes/include_prefix": include_prefix -"/storagetransfer:v1/Operation": operation -"/storagetransfer:v1/Operation/done": done -"/storagetransfer:v1/Operation/response": response -"/storagetransfer:v1/Operation/response/response": response -"/storagetransfer:v1/Operation/name": name -"/storagetransfer:v1/Operation/error": error -"/storagetransfer:v1/Operation/metadata": metadata -"/storagetransfer:v1/Operation/metadata/metadatum": metadatum -"/storagetransfer:v1/TransferOptions": transfer_options -"/storagetransfer:v1/TransferOptions/deleteObjectsUniqueInSink": delete_objects_unique_in_sink -"/storagetransfer:v1/TransferOptions/overwriteObjectsAlreadyExistingInSink": overwrite_objects_already_existing_in_sink -"/storagetransfer:v1/TransferOptions/deleteObjectsFromSourceAfterTransfer": delete_objects_from_source_after_transfer -"/storagetransfer:v1/TransferSpec": transfer_spec -"/storagetransfer:v1/TransferSpec/transferOptions": transfer_options -"/storagetransfer:v1/TransferSpec/awsS3DataSource": aws_s3_data_source -"/storagetransfer:v1/TransferSpec/httpDataSource": http_data_source -"/storagetransfer:v1/TransferSpec/objectConditions": object_conditions -"/storagetransfer:v1/TransferSpec/gcsDataSink": gcs_data_sink -"/storagetransfer:v1/TransferSpec/gcsDataSource": gcs_data_source -"/storagetransfer:v1/ResumeTransferOperationRequest": resume_transfer_operation_request -"/storagetransfer:v1/Status": status -"/storagetransfer:v1/Status/details": details -"/storagetransfer:v1/Status/details/detail": detail -"/storagetransfer:v1/Status/details/detail/detail": detail -"/storagetransfer:v1/Status/code": code -"/storagetransfer:v1/Status/message": message +"/storagetransfer:v1/GoogleServiceAccount": google_service_account +"/storagetransfer:v1/GoogleServiceAccount/accountEmail": account_email +"/storagetransfer:v1/HttpData": http_data +"/storagetransfer:v1/HttpData/listUrl": list_url "/storagetransfer:v1/ListOperationsResponse": list_operations_response "/storagetransfer:v1/ListOperationsResponse/nextPageToken": next_page_token "/storagetransfer:v1/ListOperationsResponse/operations": operations "/storagetransfer:v1/ListOperationsResponse/operations/operation": operation -"/storagetransfer:v1/GoogleServiceAccount": google_service_account -"/storagetransfer:v1/GoogleServiceAccount/accountEmail": account_email -"/storagetransfer:v1/TimeOfDay": time_of_day -"/storagetransfer:v1/TimeOfDay/hours": hours -"/storagetransfer:v1/TimeOfDay/nanos": nanos -"/storagetransfer:v1/TimeOfDay/seconds": seconds -"/storagetransfer:v1/TimeOfDay/minutes": minutes -"/storagetransfer:v1/ErrorLogEntry": error_log_entry -"/storagetransfer:v1/ErrorLogEntry/errorDetails": error_details -"/storagetransfer:v1/ErrorLogEntry/errorDetails/error_detail": error_detail -"/storagetransfer:v1/ErrorLogEntry/url": url -"/storagetransfer:v1/TransferJob": transfer_job -"/storagetransfer:v1/TransferJob/description": description -"/storagetransfer:v1/TransferJob/creationTime": creation_time -"/storagetransfer:v1/TransferJob/transferSpec": transfer_spec -"/storagetransfer:v1/TransferJob/status": status -"/storagetransfer:v1/TransferJob/schedule": schedule -"/storagetransfer:v1/TransferJob/deletionTime": deletion_time -"/storagetransfer:v1/TransferJob/name": name -"/storagetransfer:v1/TransferJob/projectId": project_id -"/storagetransfer:v1/TransferJob/lastModificationTime": last_modification_time +"/storagetransfer:v1/ListTransferJobsResponse": list_transfer_jobs_response +"/storagetransfer:v1/ListTransferJobsResponse/nextPageToken": next_page_token +"/storagetransfer:v1/ListTransferJobsResponse/transferJobs": transfer_jobs +"/storagetransfer:v1/ListTransferJobsResponse/transferJobs/transfer_job": transfer_job +"/storagetransfer:v1/ObjectConditions": object_conditions +"/storagetransfer:v1/ObjectConditions/excludePrefixes": exclude_prefixes +"/storagetransfer:v1/ObjectConditions/excludePrefixes/exclude_prefix": exclude_prefix +"/storagetransfer:v1/ObjectConditions/includePrefixes": include_prefixes +"/storagetransfer:v1/ObjectConditions/includePrefixes/include_prefix": include_prefix +"/storagetransfer:v1/ObjectConditions/maxTimeElapsedSinceLastModification": max_time_elapsed_since_last_modification +"/storagetransfer:v1/ObjectConditions/minTimeElapsedSinceLastModification": min_time_elapsed_since_last_modification +"/storagetransfer:v1/Operation": operation +"/storagetransfer:v1/Operation/done": done +"/storagetransfer:v1/Operation/error": error +"/storagetransfer:v1/Operation/metadata": metadata +"/storagetransfer:v1/Operation/metadata/metadatum": metadatum +"/storagetransfer:v1/Operation/name": name +"/storagetransfer:v1/Operation/response": response +"/storagetransfer:v1/Operation/response/response": response +"/storagetransfer:v1/PauseTransferOperationRequest": pause_transfer_operation_request +"/storagetransfer:v1/ResumeTransferOperationRequest": resume_transfer_operation_request "/storagetransfer:v1/Schedule": schedule "/storagetransfer:v1/Schedule/scheduleEndDate": schedule_end_date -"/storagetransfer:v1/Schedule/startTimeOfDay": start_time_of_day "/storagetransfer:v1/Schedule/scheduleStartDate": schedule_start_date -"/storagetransfer:v1/Date": date -"/storagetransfer:v1/Date/day": day -"/storagetransfer:v1/Date/year": year -"/storagetransfer:v1/Date/month": month +"/storagetransfer:v1/Schedule/startTimeOfDay": start_time_of_day +"/storagetransfer:v1/Status": status +"/storagetransfer:v1/Status/code": code +"/storagetransfer:v1/Status/details": details +"/storagetransfer:v1/Status/details/detail": detail +"/storagetransfer:v1/Status/details/detail/detail": detail +"/storagetransfer:v1/Status/message": message +"/storagetransfer:v1/TimeOfDay": time_of_day +"/storagetransfer:v1/TimeOfDay/hours": hours +"/storagetransfer:v1/TimeOfDay/minutes": minutes +"/storagetransfer:v1/TimeOfDay/nanos": nanos +"/storagetransfer:v1/TimeOfDay/seconds": seconds +"/storagetransfer:v1/TransferCounters": transfer_counters +"/storagetransfer:v1/TransferCounters/bytesCopiedToSink": bytes_copied_to_sink +"/storagetransfer:v1/TransferCounters/bytesDeletedFromSink": bytes_deleted_from_sink +"/storagetransfer:v1/TransferCounters/bytesDeletedFromSource": bytes_deleted_from_source +"/storagetransfer:v1/TransferCounters/bytesFailedToDeleteFromSink": bytes_failed_to_delete_from_sink +"/storagetransfer:v1/TransferCounters/bytesFoundFromSource": bytes_found_from_source +"/storagetransfer:v1/TransferCounters/bytesFoundOnlyFromSink": bytes_found_only_from_sink +"/storagetransfer:v1/TransferCounters/bytesFromSourceFailed": bytes_from_source_failed +"/storagetransfer:v1/TransferCounters/bytesFromSourceSkippedBySync": bytes_from_source_skipped_by_sync +"/storagetransfer:v1/TransferCounters/objectsCopiedToSink": objects_copied_to_sink +"/storagetransfer:v1/TransferCounters/objectsDeletedFromSink": objects_deleted_from_sink +"/storagetransfer:v1/TransferCounters/objectsDeletedFromSource": objects_deleted_from_source +"/storagetransfer:v1/TransferCounters/objectsFailedToDeleteFromSink": objects_failed_to_delete_from_sink +"/storagetransfer:v1/TransferCounters/objectsFoundFromSource": objects_found_from_source +"/storagetransfer:v1/TransferCounters/objectsFoundOnlyFromSink": objects_found_only_from_sink +"/storagetransfer:v1/TransferCounters/objectsFromSourceFailed": objects_from_source_failed +"/storagetransfer:v1/TransferCounters/objectsFromSourceSkippedBySync": objects_from_source_skipped_by_sync +"/storagetransfer:v1/TransferJob": transfer_job +"/storagetransfer:v1/TransferJob/creationTime": creation_time +"/storagetransfer:v1/TransferJob/deletionTime": deletion_time +"/storagetransfer:v1/TransferJob/description": description +"/storagetransfer:v1/TransferJob/lastModificationTime": last_modification_time +"/storagetransfer:v1/TransferJob/name": name +"/storagetransfer:v1/TransferJob/projectId": project_id +"/storagetransfer:v1/TransferJob/schedule": schedule +"/storagetransfer:v1/TransferJob/status": status +"/storagetransfer:v1/TransferJob/transferSpec": transfer_spec "/storagetransfer:v1/TransferOperation": transfer_operation -"/storagetransfer:v1/TransferOperation/endTime": end_time -"/storagetransfer:v1/TransferOperation/startTime": start_time -"/storagetransfer:v1/TransferOperation/transferJobName": transfer_job_name -"/storagetransfer:v1/TransferOperation/transferSpec": transfer_spec "/storagetransfer:v1/TransferOperation/counters": counters -"/storagetransfer:v1/TransferOperation/status": status +"/storagetransfer:v1/TransferOperation/endTime": end_time "/storagetransfer:v1/TransferOperation/errorBreakdowns": error_breakdowns "/storagetransfer:v1/TransferOperation/errorBreakdowns/error_breakdown": error_breakdown "/storagetransfer:v1/TransferOperation/name": name "/storagetransfer:v1/TransferOperation/projectId": project_id -"/storagetransfer:v1/AwsS3Data": aws_s3_data -"/storagetransfer:v1/AwsS3Data/awsAccessKey": aws_access_key -"/storagetransfer:v1/AwsS3Data/bucketName": bucket_name -"/storagetransfer:v1/Empty": empty -"/storagetransfer:v1/AwsAccessKey": aws_access_key -"/storagetransfer:v1/AwsAccessKey/secretAccessKey": secret_access_key -"/storagetransfer:v1/AwsAccessKey/accessKeyId": access_key_id -"/storagetransfer:v1/PauseTransferOperationRequest": pause_transfer_operation_request -"/surveys:v2/fields": fields -"/surveys:v2/key": key -"/surveys:v2/quotaUser": quota_user -"/surveys:v2/userIp": user_ip -"/surveys:v2/surveys.mobileapppanels.get": get_mobileapppanel -"/surveys:v2/surveys.mobileapppanels.get/panelId": panel_id -"/surveys:v2/surveys.mobileapppanels.list": list_mobileapppanels -"/surveys:v2/surveys.mobileapppanels.list/maxResults": max_results -"/surveys:v2/surveys.mobileapppanels.list/startIndex": start_index -"/surveys:v2/surveys.mobileapppanels.list/token": token -"/surveys:v2/surveys.mobileapppanels.update": update_mobileapppanel -"/surveys:v2/surveys.mobileapppanels.update/panelId": panel_id -"/surveys:v2/surveys.results.get": get_result -"/surveys:v2/surveys.results.get/surveyUrlId": survey_url_id -"/surveys:v2/surveys.surveys.delete": delete_survey -"/surveys:v2/surveys.surveys.delete/surveyUrlId": survey_url_id -"/surveys:v2/surveys.surveys.get": get_survey -"/surveys:v2/surveys.surveys.get/surveyUrlId": survey_url_id -"/surveys:v2/surveys.surveys.insert": insert_survey -"/surveys:v2/surveys.surveys.list": list_surveys -"/surveys:v2/surveys.surveys.list/maxResults": max_results -"/surveys:v2/surveys.surveys.list/startIndex": start_index -"/surveys:v2/surveys.surveys.list/token": token -"/surveys:v2/surveys.surveys.start": start_survey -"/surveys:v2/surveys.surveys.start/resourceId": resource_id -"/surveys:v2/surveys.surveys.stop": stop_survey -"/surveys:v2/surveys.surveys.stop/resourceId": resource_id -"/surveys:v2/surveys.surveys.update": update_survey -"/surveys:v2/surveys.surveys.update/surveyUrlId": survey_url_id +"/storagetransfer:v1/TransferOperation/startTime": start_time +"/storagetransfer:v1/TransferOperation/status": status +"/storagetransfer:v1/TransferOperation/transferJobName": transfer_job_name +"/storagetransfer:v1/TransferOperation/transferSpec": transfer_spec +"/storagetransfer:v1/TransferOptions": transfer_options +"/storagetransfer:v1/TransferOptions/deleteObjectsFromSourceAfterTransfer": delete_objects_from_source_after_transfer +"/storagetransfer:v1/TransferOptions/deleteObjectsUniqueInSink": delete_objects_unique_in_sink +"/storagetransfer:v1/TransferOptions/overwriteObjectsAlreadyExistingInSink": overwrite_objects_already_existing_in_sink +"/storagetransfer:v1/TransferSpec": transfer_spec +"/storagetransfer:v1/TransferSpec/awsS3DataSource": aws_s3_data_source +"/storagetransfer:v1/TransferSpec/gcsDataSink": gcs_data_sink +"/storagetransfer:v1/TransferSpec/gcsDataSource": gcs_data_source +"/storagetransfer:v1/TransferSpec/httpDataSource": http_data_source +"/storagetransfer:v1/TransferSpec/objectConditions": object_conditions +"/storagetransfer:v1/TransferSpec/transferOptions": transfer_options +"/storagetransfer:v1/UpdateTransferJobRequest": update_transfer_job_request +"/storagetransfer:v1/UpdateTransferJobRequest/projectId": project_id +"/storagetransfer:v1/UpdateTransferJobRequest/transferJob": transfer_job +"/storagetransfer:v1/UpdateTransferJobRequest/updateTransferJobFieldMask": update_transfer_job_field_mask +"/storagetransfer:v1/fields": fields +"/storagetransfer:v1/key": key +"/storagetransfer:v1/quotaUser": quota_user +"/storagetransfer:v1/storagetransfer.getGoogleServiceAccount": get_google_service_account_v1 +"/storagetransfer:v1/storagetransfer.googleServiceAccounts.get": get_google_service_account +"/storagetransfer:v1/storagetransfer.googleServiceAccounts.get/projectId": project_id +"/storagetransfer:v1/storagetransfer.transferJobs.create": create_transfer_job +"/storagetransfer:v1/storagetransfer.transferJobs.get": get_transfer_job +"/storagetransfer:v1/storagetransfer.transferJobs.get/jobName": job_name +"/storagetransfer:v1/storagetransfer.transferJobs.get/projectId": project_id +"/storagetransfer:v1/storagetransfer.transferJobs.list": list_transfer_jobs +"/storagetransfer:v1/storagetransfer.transferJobs.list/filter": filter +"/storagetransfer:v1/storagetransfer.transferJobs.list/pageSize": page_size +"/storagetransfer:v1/storagetransfer.transferJobs.list/pageToken": page_token +"/storagetransfer:v1/storagetransfer.transferJobs.patch": patch_transfer_job +"/storagetransfer:v1/storagetransfer.transferJobs.patch/jobName": job_name +"/storagetransfer:v1/storagetransfer.transferOperations.cancel": cancel_transfer_operation +"/storagetransfer:v1/storagetransfer.transferOperations.cancel/name": name +"/storagetransfer:v1/storagetransfer.transferOperations.delete": delete_transfer_operation +"/storagetransfer:v1/storagetransfer.transferOperations.delete/name": name +"/storagetransfer:v1/storagetransfer.transferOperations.get": get_transfer_operation +"/storagetransfer:v1/storagetransfer.transferOperations.get/name": name +"/storagetransfer:v1/storagetransfer.transferOperations.list": list_transfer_operations +"/storagetransfer:v1/storagetransfer.transferOperations.list/filter": filter +"/storagetransfer:v1/storagetransfer.transferOperations.list/name": name +"/storagetransfer:v1/storagetransfer.transferOperations.list/pageSize": page_size +"/storagetransfer:v1/storagetransfer.transferOperations.list/pageToken": page_token +"/storagetransfer:v1/storagetransfer.transferOperations.pause": pause_transfer_operation +"/storagetransfer:v1/storagetransfer.transferOperations.pause/name": name +"/storagetransfer:v1/storagetransfer.transferOperations.resume": resume_transfer_operation +"/storagetransfer:v1/storagetransfer.transferOperations.resume/name": name +"/streetviewpublish:v1/BatchDeletePhotosRequest": batch_delete_photos_request +"/streetviewpublish:v1/BatchDeletePhotosRequest/photoIds": photo_ids +"/streetviewpublish:v1/BatchDeletePhotosRequest/photoIds/photo_id": photo_id +"/streetviewpublish:v1/BatchDeletePhotosResponse": batch_delete_photos_response +"/streetviewpublish:v1/BatchDeletePhotosResponse/status": status +"/streetviewpublish:v1/BatchDeletePhotosResponse/status/status": status +"/streetviewpublish:v1/BatchGetPhotosResponse": batch_get_photos_response +"/streetviewpublish:v1/BatchGetPhotosResponse/results": results +"/streetviewpublish:v1/BatchGetPhotosResponse/results/result": result +"/streetviewpublish:v1/BatchUpdatePhotosRequest": batch_update_photos_request +"/streetviewpublish:v1/BatchUpdatePhotosRequest/updatePhotoRequests": update_photo_requests +"/streetviewpublish:v1/BatchUpdatePhotosRequest/updatePhotoRequests/update_photo_request": update_photo_request +"/streetviewpublish:v1/BatchUpdatePhotosResponse": batch_update_photos_response +"/streetviewpublish:v1/BatchUpdatePhotosResponse/results": results +"/streetviewpublish:v1/BatchUpdatePhotosResponse/results/result": result +"/streetviewpublish:v1/Connection": connection +"/streetviewpublish:v1/Connection/target": target +"/streetviewpublish:v1/Empty": empty +"/streetviewpublish:v1/LatLng": lat_lng +"/streetviewpublish:v1/LatLng/latitude": latitude +"/streetviewpublish:v1/LatLng/longitude": longitude +"/streetviewpublish:v1/Level": level +"/streetviewpublish:v1/Level/name": name +"/streetviewpublish:v1/Level/number": number +"/streetviewpublish:v1/ListPhotosResponse": list_photos_response +"/streetviewpublish:v1/ListPhotosResponse/nextPageToken": next_page_token +"/streetviewpublish:v1/ListPhotosResponse/photos": photos +"/streetviewpublish:v1/ListPhotosResponse/photos/photo": photo +"/streetviewpublish:v1/Photo": photo +"/streetviewpublish:v1/Photo/captureTime": capture_time +"/streetviewpublish:v1/Photo/connections": connections +"/streetviewpublish:v1/Photo/connections/connection": connection +"/streetviewpublish:v1/Photo/downloadUrl": download_url +"/streetviewpublish:v1/Photo/photoId": photo_id +"/streetviewpublish:v1/Photo/places": places +"/streetviewpublish:v1/Photo/places/place": place +"/streetviewpublish:v1/Photo/pose": pose +"/streetviewpublish:v1/Photo/shareLink": share_link +"/streetviewpublish:v1/Photo/thumbnailUrl": thumbnail_url +"/streetviewpublish:v1/Photo/uploadReference": upload_reference +"/streetviewpublish:v1/Photo/viewCount": view_count +"/streetviewpublish:v1/PhotoId": photo_id +"/streetviewpublish:v1/PhotoId/id": id +"/streetviewpublish:v1/PhotoResponse": photo_response +"/streetviewpublish:v1/PhotoResponse/photo": photo +"/streetviewpublish:v1/PhotoResponse/status": status +"/streetviewpublish:v1/Place": place +"/streetviewpublish:v1/Place/placeId": place_id +"/streetviewpublish:v1/Pose": pose +"/streetviewpublish:v1/Pose/altitude": altitude +"/streetviewpublish:v1/Pose/heading": heading +"/streetviewpublish:v1/Pose/latLngPair": lat_lng_pair +"/streetviewpublish:v1/Pose/level": level +"/streetviewpublish:v1/Pose/pitch": pitch +"/streetviewpublish:v1/Pose/roll": roll +"/streetviewpublish:v1/Status": status +"/streetviewpublish:v1/Status/code": code +"/streetviewpublish:v1/Status/details": details +"/streetviewpublish:v1/Status/details/detail": detail +"/streetviewpublish:v1/Status/details/detail/detail": detail +"/streetviewpublish:v1/Status/message": message +"/streetviewpublish:v1/UpdatePhotoRequest": update_photo_request +"/streetviewpublish:v1/UpdatePhotoRequest/photo": photo +"/streetviewpublish:v1/UpdatePhotoRequest/updateMask": update_mask +"/streetviewpublish:v1/UploadRef": upload_ref +"/streetviewpublish:v1/UploadRef/uploadUrl": upload_url +"/streetviewpublish:v1/fields": fields +"/streetviewpublish:v1/key": key +"/streetviewpublish:v1/quotaUser": quota_user +"/streetviewpublish:v1/streetviewpublish.photo.create": create_photo +"/streetviewpublish:v1/streetviewpublish.photo.delete": delete_photo +"/streetviewpublish:v1/streetviewpublish.photo.delete/photoId": photo_id +"/streetviewpublish:v1/streetviewpublish.photo.get": get_photo +"/streetviewpublish:v1/streetviewpublish.photo.get/photoId": photo_id +"/streetviewpublish:v1/streetviewpublish.photo.get/view": view +"/streetviewpublish:v1/streetviewpublish.photo.startUpload": start_photo_upload +"/streetviewpublish:v1/streetviewpublish.photo.update": update_photo +"/streetviewpublish:v1/streetviewpublish.photo.update/id": id +"/streetviewpublish:v1/streetviewpublish.photo.update/updateMask": update_mask +"/streetviewpublish:v1/streetviewpublish.photos.batchDelete": batch_delete_photos +"/streetviewpublish:v1/streetviewpublish.photos.batchGet": batch_photo_get +"/streetviewpublish:v1/streetviewpublish.photos.batchGet/photoIds": photo_ids +"/streetviewpublish:v1/streetviewpublish.photos.batchGet/view": view +"/streetviewpublish:v1/streetviewpublish.photos.batchUpdate": batch_update_photos +"/streetviewpublish:v1/streetviewpublish.photos.list": list_photos +"/streetviewpublish:v1/streetviewpublish.photos.list/filter": filter +"/streetviewpublish:v1/streetviewpublish.photos.list/pageSize": page_size +"/streetviewpublish:v1/streetviewpublish.photos.list/pageToken": page_token +"/streetviewpublish:v1/streetviewpublish.photos.list/view": view "/surveys:v2/FieldMask": field_mask "/surveys:v2/FieldMask/fields": fields "/surveys:v2/FieldMask/fields/field": field @@ -39321,156 +41345,35 @@ "/surveys:v2/TokenPagination": token_pagination "/surveys:v2/TokenPagination/nextPageToken": next_page_token "/surveys:v2/TokenPagination/previousPageToken": previous_page_token -"/tagmanager:v1/fields": fields -"/tagmanager:v1/key": key -"/tagmanager:v1/quotaUser": quota_user -"/tagmanager:v1/userIp": user_ip -"/tagmanager:v1/tagmanager.accounts.get/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.update/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.update/fingerprint": fingerprint -"/tagmanager:v1/tagmanager.accounts.containers.create/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.delete/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.delete/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.get/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.get/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.list/accountId": account_id -"/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 -"/tagmanager:v1/tagmanager.accounts.containers.folders.delete": delete_account_container_folder -"/tagmanager:v1/tagmanager.accounts.containers.folders.delete/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.folders.delete/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.folders.delete/folderId": folder_id -"/tagmanager:v1/tagmanager.accounts.containers.folders.get": get_account_container_folder -"/tagmanager:v1/tagmanager.accounts.containers.folders.get/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.folders.get/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.folders.get/folderId": folder_id -"/tagmanager:v1/tagmanager.accounts.containers.folders.list": list_account_container_folders -"/tagmanager:v1/tagmanager.accounts.containers.folders.list/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.folders.list/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.folders.update": update_account_container_folder -"/tagmanager:v1/tagmanager.accounts.containers.folders.update/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.folders.update/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.folders.update/fingerprint": fingerprint -"/tagmanager:v1/tagmanager.accounts.containers.folders.update/folderId": folder_id -"/tagmanager:v1/tagmanager.accounts.containers.folders.entities.list": list_account_container_folder_entities -"/tagmanager:v1/tagmanager.accounts.containers.folders.entities.list/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.folders.entities.list/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.folders.entities.list/folderId": folder_id -"/tagmanager:v1/tagmanager.accounts.containers.move_folders.update": update_account_container_move_folder -"/tagmanager:v1/tagmanager.accounts.containers.move_folders.update/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.move_folders.update/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.move_folders.update/folderId": folder_id -"/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 -"/tagmanager:v1/tagmanager.accounts.containers.tags.delete/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.tags.delete/tagId": tag_id -"/tagmanager:v1/tagmanager.accounts.containers.tags.get/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.tags.get/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.tags.get/tagId": tag_id -"/tagmanager:v1/tagmanager.accounts.containers.tags.list/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.tags.list/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.tags.update/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.tags.update/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.tags.update/fingerprint": fingerprint -"/tagmanager:v1/tagmanager.accounts.containers.tags.update/tagId": tag_id -"/tagmanager:v1/tagmanager.accounts.containers.triggers.create/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.triggers.create/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.triggers.delete/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.triggers.delete/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.triggers.delete/triggerId": trigger_id -"/tagmanager:v1/tagmanager.accounts.containers.triggers.get/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.triggers.get/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.triggers.get/triggerId": trigger_id -"/tagmanager:v1/tagmanager.accounts.containers.triggers.list/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.triggers.list/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.triggers.update/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.triggers.update/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.triggers.update/fingerprint": fingerprint -"/tagmanager:v1/tagmanager.accounts.containers.triggers.update/triggerId": trigger_id -"/tagmanager:v1/tagmanager.accounts.containers.variables.create/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.variables.create/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.variables.delete/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.variables.delete/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.variables.delete/variableId": variable_id -"/tagmanager:v1/tagmanager.accounts.containers.variables.get/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.variables.get/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.variables.get/variableId": variable_id -"/tagmanager:v1/tagmanager.accounts.containers.variables.list/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.variables.list/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.variables.update/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.variables.update/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.variables.update/fingerprint": fingerprint -"/tagmanager:v1/tagmanager.accounts.containers.variables.update/variableId": variable_id -"/tagmanager:v1/tagmanager.accounts.containers.versions.create/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.versions.create/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.versions.delete/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.versions.delete/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.versions.delete/containerVersionId": container_version_id -"/tagmanager:v1/tagmanager.accounts.containers.versions.get/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.versions.get/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.versions.get/containerVersionId": container_version_id -"/tagmanager:v1/tagmanager.accounts.containers.versions.list/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.versions.list/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.versions.list/headers": headers -"/tagmanager:v1/tagmanager.accounts.containers.versions.list/includeDeleted": include_deleted -"/tagmanager:v1/tagmanager.accounts.containers.versions.publish/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.versions.publish/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.versions.publish/containerVersionId": container_version_id -"/tagmanager:v1/tagmanager.accounts.containers.versions.publish/fingerprint": fingerprint -"/tagmanager:v1/tagmanager.accounts.containers.versions.restore/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.versions.restore/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.versions.restore/containerVersionId": container_version_id -"/tagmanager:v1/tagmanager.accounts.containers.versions.undelete/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.versions.undelete/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.versions.undelete/containerVersionId": container_version_id -"/tagmanager:v1/tagmanager.accounts.containers.versions.update/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.containers.versions.update/containerId": container_id -"/tagmanager:v1/tagmanager.accounts.containers.versions.update/containerVersionId": container_version_id -"/tagmanager:v1/tagmanager.accounts.containers.versions.update/fingerprint": fingerprint -"/tagmanager:v1/tagmanager.accounts.permissions.create/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.permissions.delete/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.permissions.delete/permissionId": permission_id -"/tagmanager:v1/tagmanager.accounts.permissions.get/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.permissions.get/permissionId": permission_id -"/tagmanager:v1/tagmanager.accounts.permissions.list/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.permissions.update/accountId": account_id -"/tagmanager:v1/tagmanager.accounts.permissions.update/permissionId": permission_id +"/surveys:v2/fields": fields +"/surveys:v2/key": key +"/surveys:v2/quotaUser": quota_user +"/surveys:v2/surveys.mobileapppanels.get": get_mobileapppanel +"/surveys:v2/surveys.mobileapppanels.get/panelId": panel_id +"/surveys:v2/surveys.mobileapppanels.list": list_mobileapppanels +"/surveys:v2/surveys.mobileapppanels.list/maxResults": max_results +"/surveys:v2/surveys.mobileapppanels.list/startIndex": start_index +"/surveys:v2/surveys.mobileapppanels.list/token": token +"/surveys:v2/surveys.mobileapppanels.update": update_mobileapppanel +"/surveys:v2/surveys.mobileapppanels.update/panelId": panel_id +"/surveys:v2/surveys.results.get": get_result +"/surveys:v2/surveys.results.get/surveyUrlId": survey_url_id +"/surveys:v2/surveys.surveys.delete": delete_survey +"/surveys:v2/surveys.surveys.delete/surveyUrlId": survey_url_id +"/surveys:v2/surveys.surveys.get": get_survey +"/surveys:v2/surveys.surveys.get/surveyUrlId": survey_url_id +"/surveys:v2/surveys.surveys.insert": insert_survey +"/surveys:v2/surveys.surveys.list": list_surveys +"/surveys:v2/surveys.surveys.list/maxResults": max_results +"/surveys:v2/surveys.surveys.list/startIndex": start_index +"/surveys:v2/surveys.surveys.list/token": token +"/surveys:v2/surveys.surveys.start": start_survey +"/surveys:v2/surveys.surveys.start/resourceId": resource_id +"/surveys:v2/surveys.surveys.stop": stop_survey +"/surveys:v2/surveys.surveys.stop/resourceId": resource_id +"/surveys:v2/surveys.surveys.update": update_survey +"/surveys:v2/surveys.surveys.update/surveyUrlId": survey_url_id +"/surveys:v2/userIp": user_ip "/tagmanager:v1/Account": account "/tagmanager:v1/Account/accountId": account_id "/tagmanager:v1/Account/fingerprint": fingerprint @@ -39714,191 +41617,202 @@ "/tagmanager:v1/Variable/scheduleStartMs": schedule_start_ms "/tagmanager:v1/Variable/type": type "/tagmanager:v1/Variable/variableId": variable_id -"/tagmanager:v2/fields": fields -"/tagmanager:v2/key": key -"/tagmanager:v2/quotaUser": quota_user -"/tagmanager:v2/userIp": user_ip -"/tagmanager:v2/tagmanager.accounts.get": get_account -"/tagmanager:v2/tagmanager.accounts.get/path": path -"/tagmanager:v2/tagmanager.accounts.list": list_accounts -"/tagmanager:v2/tagmanager.accounts.list/pageToken": page_token -"/tagmanager:v2/tagmanager.accounts.update": update_account -"/tagmanager:v2/tagmanager.accounts.update/fingerprint": fingerprint -"/tagmanager:v2/tagmanager.accounts.update/path": path -"/tagmanager:v2/tagmanager.accounts.containers.create": create_account_container -"/tagmanager:v2/tagmanager.accounts.containers.create/parent": parent -"/tagmanager:v2/tagmanager.accounts.containers.delete": delete_account_container -"/tagmanager:v2/tagmanager.accounts.containers.delete/path": path -"/tagmanager:v2/tagmanager.accounts.containers.get": get_account_container -"/tagmanager:v2/tagmanager.accounts.containers.get/path": path -"/tagmanager:v2/tagmanager.accounts.containers.list": list_account_containers -"/tagmanager:v2/tagmanager.accounts.containers.list/pageToken": page_token -"/tagmanager:v2/tagmanager.accounts.containers.list/parent": parent -"/tagmanager:v2/tagmanager.accounts.containers.update": update_account_container -"/tagmanager:v2/tagmanager.accounts.containers.update/fingerprint": fingerprint -"/tagmanager:v2/tagmanager.accounts.containers.update/path": path -"/tagmanager:v2/tagmanager.accounts.containers.environments.create": create_account_container_environment -"/tagmanager:v2/tagmanager.accounts.containers.environments.create/parent": parent -"/tagmanager:v2/tagmanager.accounts.containers.environments.delete": delete_account_container_environment -"/tagmanager:v2/tagmanager.accounts.containers.environments.delete/path": path -"/tagmanager:v2/tagmanager.accounts.containers.environments.get": get_account_container_environment -"/tagmanager:v2/tagmanager.accounts.containers.environments.get/path": path -"/tagmanager:v2/tagmanager.accounts.containers.environments.list": list_account_container_environments -"/tagmanager:v2/tagmanager.accounts.containers.environments.list/pageToken": page_token -"/tagmanager:v2/tagmanager.accounts.containers.environments.list/parent": parent -"/tagmanager:v2/tagmanager.accounts.containers.environments.patch": patch_account_container_environment -"/tagmanager:v2/tagmanager.accounts.containers.environments.patch/fingerprint": fingerprint -"/tagmanager:v2/tagmanager.accounts.containers.environments.patch/path": path -"/tagmanager:v2/tagmanager.accounts.containers.environments.reauthorize": reauthorize_account_container_environment -"/tagmanager:v2/tagmanager.accounts.containers.environments.reauthorize/path": path -"/tagmanager:v2/tagmanager.accounts.containers.environments.update": update_account_container_environment -"/tagmanager:v2/tagmanager.accounts.containers.environments.update/fingerprint": fingerprint -"/tagmanager:v2/tagmanager.accounts.containers.environments.update/path": path -"/tagmanager:v2/tagmanager.accounts.containers.version_headers.latest": latest_account_container_version_header -"/tagmanager:v2/tagmanager.accounts.containers.version_headers.latest/parent": parent -"/tagmanager:v2/tagmanager.accounts.containers.version_headers.list": list_account_container_version_headers -"/tagmanager:v2/tagmanager.accounts.containers.version_headers.list/includeDeleted": include_deleted -"/tagmanager:v2/tagmanager.accounts.containers.version_headers.list/pageToken": page_token -"/tagmanager:v2/tagmanager.accounts.containers.version_headers.list/parent": parent -"/tagmanager:v2/tagmanager.accounts.containers.versions.delete": delete_account_container_version -"/tagmanager:v2/tagmanager.accounts.containers.versions.delete/path": path -"/tagmanager:v2/tagmanager.accounts.containers.versions.get": get_account_container_version -"/tagmanager:v2/tagmanager.accounts.containers.versions.get/containerVersionId": container_version_id -"/tagmanager:v2/tagmanager.accounts.containers.versions.get/path": path -"/tagmanager:v2/tagmanager.accounts.containers.versions.live": live_account_container_version -"/tagmanager:v2/tagmanager.accounts.containers.versions.live/parent": parent -"/tagmanager:v2/tagmanager.accounts.containers.versions.publish": publish_account_container_version -"/tagmanager:v2/tagmanager.accounts.containers.versions.publish/fingerprint": fingerprint -"/tagmanager:v2/tagmanager.accounts.containers.versions.publish/path": path -"/tagmanager:v2/tagmanager.accounts.containers.versions.set_latest": set_account_container_version_latest -"/tagmanager:v2/tagmanager.accounts.containers.versions.set_latest/path": path -"/tagmanager:v2/tagmanager.accounts.containers.versions.undelete": undelete_account_container_version -"/tagmanager:v2/tagmanager.accounts.containers.versions.undelete/path": path -"/tagmanager:v2/tagmanager.accounts.containers.versions.update": update_account_container_version -"/tagmanager:v2/tagmanager.accounts.containers.versions.update/fingerprint": fingerprint -"/tagmanager:v2/tagmanager.accounts.containers.versions.update/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.create": create_account_container_workspace -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.create/parent": parent -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.create_version": create_account_container_workspace_version -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.create_version/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.delete": delete_account_container_workspace -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.delete/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.get": get_account_container_workspace -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.get/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.getProposal": get_account_container_workspace_proposal -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.getProposal/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.getStatus": get_account_container_workspace_status -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.getStatus/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.list": list_account_container_workspaces -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.list/pageToken": page_token -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.list/parent": parent -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.quick_preview": quick_account_container_workspace_preview -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.quick_preview/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.resolve_conflict": resolve_account_container_workspace_conflict -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.resolve_conflict/fingerprint": fingerprint -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.resolve_conflict/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.sync": sync_account_container_workspace -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.sync/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.update": update_account_container_workspace -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.update/fingerprint": fingerprint -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.update/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.updateProposal": update_account_container_workspace_proposal -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.updateProposal/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.create": create_account_container_workspace_built_in_variable -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.create/parent": parent -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.create/type": type -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.delete": delete_account_container_workspace_built_in_variable -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.delete/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.delete/type": type -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.list": list_account_container_workspace_built_in_variables -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.list/pageToken": page_token -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.list/parent": parent -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.revert": revert_account_container_workspace_built_in_variable -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.revert/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.revert/type": type -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.create": create_account_container_workspace_folder -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.create/parent": parent -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.delete": delete_account_container_workspace_folder -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.delete/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.entities": entities_account_container_workspace_folder -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.entities/pageToken": page_token -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.entities/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.get": get_account_container_workspace_folder -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.get/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.list": list_account_container_workspace_folders -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.list/pageToken": page_token -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.list/parent": parent -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.move_entities_to_folder": move_account_container_workspace_folder_entities_to_folder -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.move_entities_to_folder/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.move_entities_to_folder/tagId": tag_id -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.move_entities_to_folder/triggerId": trigger_id -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.move_entities_to_folder/variableId": variable_id -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.revert": revert_account_container_workspace_folder -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.revert/fingerprint": fingerprint -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.revert/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.update": update_account_container_workspace_folder -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.update/fingerprint": fingerprint -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.update/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.proposal.create": create_workspace_proposal -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.proposal.create/parent": parent -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.proposal.delete": delete_account_container_workspace_proposal -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.proposal.delete/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.create": create_account_container_workspace_tag -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.create/parent": parent -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.delete": delete_account_container_workspace_tag -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.delete/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.get": get_account_container_workspace_tag -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.get/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.list": list_account_container_workspace_tags -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.list/pageToken": page_token -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.list/parent": parent -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.revert": revert_account_container_workspace_tag -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.revert/fingerprint": fingerprint -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.revert/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.update": update_account_container_workspace_tag -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.update/fingerprint": fingerprint -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.update/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.create": create_account_container_workspace_trigger -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.create/parent": parent -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.delete": delete_account_container_workspace_trigger -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.delete/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.get": get_account_container_workspace_trigger -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.get/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.list": list_account_container_workspace_triggers -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.list/pageToken": page_token -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.list/parent": parent -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.revert": revert_account_container_workspace_trigger -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.revert/fingerprint": fingerprint -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.revert/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.update": update_account_container_workspace_trigger -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.update/fingerprint": fingerprint -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.update/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.create": create_account_container_workspace_variable -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.create/parent": parent -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.delete": delete_account_container_workspace_variable -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.delete/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.get": get_account_container_workspace_variable -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.get/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.list": list_account_container_workspace_variables -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.list/pageToken": page_token -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.list/parent": parent -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.revert": revert_account_container_workspace_variable -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.revert/fingerprint": fingerprint -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.revert/path": path -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.update": update_account_container_workspace_variable -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.update/fingerprint": fingerprint -"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.update/path": path -"/tagmanager:v2/tagmanager.accounts.user_permissions.create": create_account_user_permission -"/tagmanager:v2/tagmanager.accounts.user_permissions.create/parent": parent -"/tagmanager:v2/tagmanager.accounts.user_permissions.delete": delete_account_user_permission -"/tagmanager:v2/tagmanager.accounts.user_permissions.delete/path": path -"/tagmanager:v2/tagmanager.accounts.user_permissions.get": get_account_user_permission -"/tagmanager:v2/tagmanager.accounts.user_permissions.get/path": path -"/tagmanager:v2/tagmanager.accounts.user_permissions.list": list_account_user_permissions -"/tagmanager:v2/tagmanager.accounts.user_permissions.list/pageToken": page_token -"/tagmanager:v2/tagmanager.accounts.user_permissions.list/parent": parent -"/tagmanager:v2/tagmanager.accounts.user_permissions.update": update_account_user_permission -"/tagmanager:v2/tagmanager.accounts.user_permissions.update/path": path +"/tagmanager:v1/fields": fields +"/tagmanager:v1/key": key +"/tagmanager:v1/quotaUser": quota_user +"/tagmanager:v1/tagmanager.accounts.containers.create": create_container +"/tagmanager:v1/tagmanager.accounts.containers.create/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.delete": delete_container +"/tagmanager:v1/tagmanager.accounts.containers.delete/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.delete/containerId": container_id +"/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 +"/tagmanager:v1/tagmanager.accounts.containers.folders.delete": delete_account_container_folder +"/tagmanager:v1/tagmanager.accounts.containers.folders.delete/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.delete/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.delete/folderId": folder_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.entities.list": list_account_container_folder_entities +"/tagmanager:v1/tagmanager.accounts.containers.folders.entities.list/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.entities.list/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.entities.list/folderId": folder_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.get": get_account_container_folder +"/tagmanager:v1/tagmanager.accounts.containers.folders.get/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.get/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.get/folderId": folder_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.list": list_account_container_folders +"/tagmanager:v1/tagmanager.accounts.containers.folders.list/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.list/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.update": update_account_container_folder +"/tagmanager:v1/tagmanager.accounts.containers.folders.update/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.update/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.update/fingerprint": fingerprint +"/tagmanager:v1/tagmanager.accounts.containers.folders.update/folderId": folder_id +"/tagmanager:v1/tagmanager.accounts.containers.get": get_container +"/tagmanager:v1/tagmanager.accounts.containers.get/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.get/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.list": list_containers +"/tagmanager:v1/tagmanager.accounts.containers.list/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.macros.create": create_macro +"/tagmanager:v1/tagmanager.accounts.containers.macros.delete": delete_macro +"/tagmanager:v1/tagmanager.accounts.containers.macros.get": get_macro +"/tagmanager:v1/tagmanager.accounts.containers.macros.list": list_macros +"/tagmanager:v1/tagmanager.accounts.containers.macros.update": update_macro +"/tagmanager:v1/tagmanager.accounts.containers.move_folders.update": update_account_container_move_folder +"/tagmanager:v1/tagmanager.accounts.containers.move_folders.update/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.move_folders.update/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.move_folders.update/folderId": folder_id +"/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.rules.create": create_rule +"/tagmanager:v1/tagmanager.accounts.containers.rules.delete": delete_rule +"/tagmanager:v1/tagmanager.accounts.containers.rules.get": get_rule +"/tagmanager:v1/tagmanager.accounts.containers.rules.list": list_rules +"/tagmanager:v1/tagmanager.accounts.containers.rules.update": update_rule +"/tagmanager:v1/tagmanager.accounts.containers.tags.create": create_tag +"/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": delete_tag +"/tagmanager:v1/tagmanager.accounts.containers.tags.delete/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.tags.delete/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.tags.delete/tagId": tag_id +"/tagmanager:v1/tagmanager.accounts.containers.tags.get": get_tag +"/tagmanager:v1/tagmanager.accounts.containers.tags.get/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.tags.get/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.tags.get/tagId": tag_id +"/tagmanager:v1/tagmanager.accounts.containers.tags.list": list_tags +"/tagmanager:v1/tagmanager.accounts.containers.tags.list/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.tags.list/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.tags.update": update_tag +"/tagmanager:v1/tagmanager.accounts.containers.tags.update/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.tags.update/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.tags.update/fingerprint": fingerprint +"/tagmanager:v1/tagmanager.accounts.containers.tags.update/tagId": tag_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.create": create_trigger +"/tagmanager:v1/tagmanager.accounts.containers.triggers.create/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.create/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.delete": delete_trigger +"/tagmanager:v1/tagmanager.accounts.containers.triggers.delete/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.delete/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.delete/triggerId": trigger_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.get": get_trigger +"/tagmanager:v1/tagmanager.accounts.containers.triggers.get/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.get/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.get/triggerId": trigger_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.list": list_triggers +"/tagmanager:v1/tagmanager.accounts.containers.triggers.list/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.list/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.update": update_trigger +"/tagmanager:v1/tagmanager.accounts.containers.triggers.update/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.update/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.update/fingerprint": fingerprint +"/tagmanager:v1/tagmanager.accounts.containers.triggers.update/triggerId": trigger_id +"/tagmanager:v1/tagmanager.accounts.containers.update": update_container +"/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.variables.create": create_variable +"/tagmanager:v1/tagmanager.accounts.containers.variables.create/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.create/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.delete": delete_variable +"/tagmanager:v1/tagmanager.accounts.containers.variables.delete/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.delete/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.delete/variableId": variable_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.get": get_variable +"/tagmanager:v1/tagmanager.accounts.containers.variables.get/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.get/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.get/variableId": variable_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.list": list_variables +"/tagmanager:v1/tagmanager.accounts.containers.variables.list/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.list/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.update": update_variable +"/tagmanager:v1/tagmanager.accounts.containers.variables.update/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.update/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.update/fingerprint": fingerprint +"/tagmanager:v1/tagmanager.accounts.containers.variables.update/variableId": variable_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.create": create_version +"/tagmanager:v1/tagmanager.accounts.containers.versions.create/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.create/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.delete": delete_version +"/tagmanager:v1/tagmanager.accounts.containers.versions.delete/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.delete/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.delete/containerVersionId": container_version_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.get": get_version +"/tagmanager:v1/tagmanager.accounts.containers.versions.get/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.get/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.get/containerVersionId": container_version_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.list": list_versions +"/tagmanager:v1/tagmanager.accounts.containers.versions.list/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.list/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.list/headers": headers +"/tagmanager:v1/tagmanager.accounts.containers.versions.list/includeDeleted": include_deleted +"/tagmanager:v1/tagmanager.accounts.containers.versions.publish": publish_version +"/tagmanager:v1/tagmanager.accounts.containers.versions.publish/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.publish/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.publish/containerVersionId": container_version_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.publish/fingerprint": fingerprint +"/tagmanager:v1/tagmanager.accounts.containers.versions.restore": restore_version +"/tagmanager:v1/tagmanager.accounts.containers.versions.restore/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.restore/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.restore/containerVersionId": container_version_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.undelete": undelete_version +"/tagmanager:v1/tagmanager.accounts.containers.versions.undelete/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.undelete/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.undelete/containerVersionId": container_version_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.update": update_version +"/tagmanager:v1/tagmanager.accounts.containers.versions.update/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.update/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.update/containerVersionId": container_version_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.update/fingerprint": fingerprint +"/tagmanager:v1/tagmanager.accounts.get": get_account +"/tagmanager:v1/tagmanager.accounts.get/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.list": list_accounts +"/tagmanager:v1/tagmanager.accounts.permissions.create": create_permission +"/tagmanager:v1/tagmanager.accounts.permissions.create/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.permissions.delete": delete_permission +"/tagmanager:v1/tagmanager.accounts.permissions.delete/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.permissions.delete/permissionId": permission_id +"/tagmanager:v1/tagmanager.accounts.permissions.get": get_permission +"/tagmanager:v1/tagmanager.accounts.permissions.get/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.permissions.get/permissionId": permission_id +"/tagmanager:v1/tagmanager.accounts.permissions.list": list_permissions +"/tagmanager:v1/tagmanager.accounts.permissions.list/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.permissions.update": update_permission +"/tagmanager:v1/tagmanager.accounts.permissions.update/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.permissions.update/permissionId": permission_id +"/tagmanager:v1/tagmanager.accounts.update": update_account +"/tagmanager:v1/tagmanager.accounts.update/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.update/fingerprint": fingerprint +"/tagmanager:v1/userIp": user_ip "/tagmanager:v2/Account": account "/tagmanager:v2/Account/accountId": account_id "/tagmanager:v2/Account/fingerprint": fingerprint @@ -40248,10 +42162,227 @@ "/tagmanager:v2/WorkspaceProposalUser": workspace_proposal_user "/tagmanager:v2/WorkspaceProposalUser/gaiaId": gaia_id "/tagmanager:v2/WorkspaceProposalUser/type": type +"/tagmanager:v2/fields": fields +"/tagmanager:v2/key": key +"/tagmanager:v2/quotaUser": quota_user +"/tagmanager:v2/tagmanager.accounts.containers.create": create_account_container +"/tagmanager:v2/tagmanager.accounts.containers.create/parent": parent +"/tagmanager:v2/tagmanager.accounts.containers.delete": delete_account_container +"/tagmanager:v2/tagmanager.accounts.containers.delete/path": path +"/tagmanager:v2/tagmanager.accounts.containers.environments.create": create_account_container_environment +"/tagmanager:v2/tagmanager.accounts.containers.environments.create/parent": parent +"/tagmanager:v2/tagmanager.accounts.containers.environments.delete": delete_account_container_environment +"/tagmanager:v2/tagmanager.accounts.containers.environments.delete/path": path +"/tagmanager:v2/tagmanager.accounts.containers.environments.get": get_account_container_environment +"/tagmanager:v2/tagmanager.accounts.containers.environments.get/path": path +"/tagmanager:v2/tagmanager.accounts.containers.environments.list": list_account_container_environments +"/tagmanager:v2/tagmanager.accounts.containers.environments.list/pageToken": page_token +"/tagmanager:v2/tagmanager.accounts.containers.environments.list/parent": parent +"/tagmanager:v2/tagmanager.accounts.containers.environments.patch": patch_account_container_environment +"/tagmanager:v2/tagmanager.accounts.containers.environments.patch/fingerprint": fingerprint +"/tagmanager:v2/tagmanager.accounts.containers.environments.patch/path": path +"/tagmanager:v2/tagmanager.accounts.containers.environments.reauthorize": reauthorize_account_container_environment +"/tagmanager:v2/tagmanager.accounts.containers.environments.reauthorize/path": path +"/tagmanager:v2/tagmanager.accounts.containers.environments.update": update_account_container_environment +"/tagmanager:v2/tagmanager.accounts.containers.environments.update/fingerprint": fingerprint +"/tagmanager:v2/tagmanager.accounts.containers.environments.update/path": path +"/tagmanager:v2/tagmanager.accounts.containers.get": get_account_container +"/tagmanager:v2/tagmanager.accounts.containers.get/path": path +"/tagmanager:v2/tagmanager.accounts.containers.list": list_account_containers +"/tagmanager:v2/tagmanager.accounts.containers.list/pageToken": page_token +"/tagmanager:v2/tagmanager.accounts.containers.list/parent": parent +"/tagmanager:v2/tagmanager.accounts.containers.update": update_account_container +"/tagmanager:v2/tagmanager.accounts.containers.update/fingerprint": fingerprint +"/tagmanager:v2/tagmanager.accounts.containers.update/path": path +"/tagmanager:v2/tagmanager.accounts.containers.version_headers.latest": latest_account_container_version_header +"/tagmanager:v2/tagmanager.accounts.containers.version_headers.latest/parent": parent +"/tagmanager:v2/tagmanager.accounts.containers.version_headers.list": list_account_container_version_headers +"/tagmanager:v2/tagmanager.accounts.containers.version_headers.list/includeDeleted": include_deleted +"/tagmanager:v2/tagmanager.accounts.containers.version_headers.list/pageToken": page_token +"/tagmanager:v2/tagmanager.accounts.containers.version_headers.list/parent": parent +"/tagmanager:v2/tagmanager.accounts.containers.versions.delete": delete_account_container_version +"/tagmanager:v2/tagmanager.accounts.containers.versions.delete/path": path +"/tagmanager:v2/tagmanager.accounts.containers.versions.get": get_account_container_version +"/tagmanager:v2/tagmanager.accounts.containers.versions.get/containerVersionId": container_version_id +"/tagmanager:v2/tagmanager.accounts.containers.versions.get/path": path +"/tagmanager:v2/tagmanager.accounts.containers.versions.live": live_account_container_version +"/tagmanager:v2/tagmanager.accounts.containers.versions.live/parent": parent +"/tagmanager:v2/tagmanager.accounts.containers.versions.publish": publish_account_container_version +"/tagmanager:v2/tagmanager.accounts.containers.versions.publish/fingerprint": fingerprint +"/tagmanager:v2/tagmanager.accounts.containers.versions.publish/path": path +"/tagmanager:v2/tagmanager.accounts.containers.versions.set_latest": set_account_container_version_latest +"/tagmanager:v2/tagmanager.accounts.containers.versions.set_latest/path": path +"/tagmanager:v2/tagmanager.accounts.containers.versions.undelete": undelete_account_container_version +"/tagmanager:v2/tagmanager.accounts.containers.versions.undelete/path": path +"/tagmanager:v2/tagmanager.accounts.containers.versions.update": update_account_container_version +"/tagmanager:v2/tagmanager.accounts.containers.versions.update/fingerprint": fingerprint +"/tagmanager:v2/tagmanager.accounts.containers.versions.update/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.create": create_account_container_workspace_built_in_variable +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.create/parent": parent +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.create/type": type +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.delete": delete_account_container_workspace_built_in_variable +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.delete/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.delete/type": type +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.list": list_account_container_workspace_built_in_variables +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.list/pageToken": page_token +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.list/parent": parent +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.revert": revert_account_container_workspace_built_in_variable +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.revert/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.built_in_variables.revert/type": type +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.create": create_account_container_workspace +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.create/parent": parent +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.create_version": create_account_container_workspace_version +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.create_version/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.delete": delete_account_container_workspace +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.delete/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.create": create_account_container_workspace_folder +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.create/parent": parent +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.delete": delete_account_container_workspace_folder +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.delete/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.entities": entities_account_container_workspace_folder +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.entities/pageToken": page_token +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.entities/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.get": get_account_container_workspace_folder +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.get/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.list": list_account_container_workspace_folders +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.list/pageToken": page_token +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.list/parent": parent +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.move_entities_to_folder": move_account_container_workspace_folder_entities_to_folder +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.move_entities_to_folder/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.move_entities_to_folder/tagId": tag_id +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.move_entities_to_folder/triggerId": trigger_id +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.move_entities_to_folder/variableId": variable_id +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.revert": revert_account_container_workspace_folder +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.revert/fingerprint": fingerprint +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.revert/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.update": update_account_container_workspace_folder +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.update/fingerprint": fingerprint +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.folders.update/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.get": get_account_container_workspace +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.get/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.getProposal": get_account_container_workspace_proposal +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.getProposal/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.getStatus": get_account_container_workspace_status +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.getStatus/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.list": list_account_container_workspaces +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.list/pageToken": page_token +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.list/parent": parent +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.proposal.create": create_workspace_proposal +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.proposal.create/parent": parent +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.proposal.delete": delete_account_container_workspace_proposal +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.proposal.delete/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.quick_preview": quick_account_container_workspace_preview +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.quick_preview/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.resolve_conflict": resolve_account_container_workspace_conflict +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.resolve_conflict/fingerprint": fingerprint +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.resolve_conflict/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.sync": sync_account_container_workspace +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.sync/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.create": create_account_container_workspace_tag +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.create/parent": parent +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.delete": delete_account_container_workspace_tag +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.delete/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.get": get_account_container_workspace_tag +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.get/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.list": list_account_container_workspace_tags +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.list/pageToken": page_token +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.list/parent": parent +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.revert": revert_account_container_workspace_tag +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.revert/fingerprint": fingerprint +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.revert/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.update": update_account_container_workspace_tag +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.update/fingerprint": fingerprint +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.tags.update/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.create": create_account_container_workspace_trigger +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.create/parent": parent +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.delete": delete_account_container_workspace_trigger +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.delete/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.get": get_account_container_workspace_trigger +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.get/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.list": list_account_container_workspace_triggers +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.list/pageToken": page_token +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.list/parent": parent +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.revert": revert_account_container_workspace_trigger +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.revert/fingerprint": fingerprint +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.revert/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.update": update_account_container_workspace_trigger +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.update/fingerprint": fingerprint +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.triggers.update/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.update": update_account_container_workspace +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.update/fingerprint": fingerprint +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.update/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.updateProposal": update_account_container_workspace_proposal +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.updateProposal/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.create": create_account_container_workspace_variable +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.create/parent": parent +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.delete": delete_account_container_workspace_variable +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.delete/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.get": get_account_container_workspace_variable +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.get/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.list": list_account_container_workspace_variables +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.list/pageToken": page_token +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.list/parent": parent +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.revert": revert_account_container_workspace_variable +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.revert/fingerprint": fingerprint +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.revert/path": path +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.update": update_account_container_workspace_variable +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.update/fingerprint": fingerprint +"/tagmanager:v2/tagmanager.accounts.containers.workspaces.variables.update/path": path +"/tagmanager:v2/tagmanager.accounts.get": get_account +"/tagmanager:v2/tagmanager.accounts.get/path": path +"/tagmanager:v2/tagmanager.accounts.list": list_accounts +"/tagmanager:v2/tagmanager.accounts.list/pageToken": page_token +"/tagmanager:v2/tagmanager.accounts.update": update_account +"/tagmanager:v2/tagmanager.accounts.update/fingerprint": fingerprint +"/tagmanager:v2/tagmanager.accounts.update/path": path +"/tagmanager:v2/tagmanager.accounts.user_permissions.create": create_account_user_permission +"/tagmanager:v2/tagmanager.accounts.user_permissions.create/parent": parent +"/tagmanager:v2/tagmanager.accounts.user_permissions.delete": delete_account_user_permission +"/tagmanager:v2/tagmanager.accounts.user_permissions.delete/path": path +"/tagmanager:v2/tagmanager.accounts.user_permissions.get": get_account_user_permission +"/tagmanager:v2/tagmanager.accounts.user_permissions.get/path": path +"/tagmanager:v2/tagmanager.accounts.user_permissions.list": list_account_user_permissions +"/tagmanager:v2/tagmanager.accounts.user_permissions.list/pageToken": page_token +"/tagmanager:v2/tagmanager.accounts.user_permissions.list/parent": parent +"/tagmanager:v2/tagmanager.accounts.user_permissions.update": update_account_user_permission +"/tagmanager:v2/tagmanager.accounts.user_permissions.update/path": path +"/tagmanager:v2/userIp": user_ip +"/taskqueue:v1beta2/Task": task +"/taskqueue:v1beta2/Task/enqueueTimestamp": enqueue_timestamp +"/taskqueue:v1beta2/Task/id": id +"/taskqueue:v1beta2/Task/kind": kind +"/taskqueue:v1beta2/Task/leaseTimestamp": lease_timestamp +"/taskqueue:v1beta2/Task/payloadBase64": payload_base64 +"/taskqueue:v1beta2/Task/queueName": queue_name +"/taskqueue:v1beta2/Task/retry_count": retry_count +"/taskqueue:v1beta2/Task/tag": tag +"/taskqueue:v1beta2/TaskQueue": task_queue +"/taskqueue:v1beta2/TaskQueue/acl": acl +"/taskqueue:v1beta2/TaskQueue/acl/adminEmails": admin_emails +"/taskqueue:v1beta2/TaskQueue/acl/adminEmails/admin_email": admin_email +"/taskqueue:v1beta2/TaskQueue/acl/consumerEmails": consumer_emails +"/taskqueue:v1beta2/TaskQueue/acl/consumerEmails/consumer_email": consumer_email +"/taskqueue:v1beta2/TaskQueue/acl/producerEmails": producer_emails +"/taskqueue:v1beta2/TaskQueue/acl/producerEmails/producer_email": producer_email +"/taskqueue:v1beta2/TaskQueue/id": id +"/taskqueue:v1beta2/TaskQueue/kind": kind +"/taskqueue:v1beta2/TaskQueue/maxLeases": max_leases +"/taskqueue:v1beta2/TaskQueue/stats": stats +"/taskqueue:v1beta2/TaskQueue/stats/leasedLastHour": leased_last_hour +"/taskqueue:v1beta2/TaskQueue/stats/leasedLastMinute": leased_last_minute +"/taskqueue:v1beta2/TaskQueue/stats/oldestTask": oldest_task +"/taskqueue:v1beta2/TaskQueue/stats/totalTasks": total_tasks +"/taskqueue:v1beta2/Tasks": tasks +"/taskqueue:v1beta2/Tasks/items": items +"/taskqueue:v1beta2/Tasks/items/item": item +"/taskqueue:v1beta2/Tasks/kind": kind +"/taskqueue:v1beta2/Tasks2": tasks2 +"/taskqueue:v1beta2/Tasks2/items": items +"/taskqueue:v1beta2/Tasks2/items/item": item +"/taskqueue:v1beta2/Tasks2/kind": kind "/taskqueue:v1beta2/fields": fields "/taskqueue:v1beta2/key": key "/taskqueue:v1beta2/quotaUser": quota_user -"/taskqueue:v1beta2/userIp": user_ip "/taskqueue:v1beta2/taskqueue.taskqueues.get": get_taskqueue "/taskqueue:v1beta2/taskqueue.taskqueues.get/getStats": get_stats "/taskqueue:v1beta2/taskqueue.taskqueues.get/project": project @@ -40287,43 +42418,49 @@ "/taskqueue:v1beta2/taskqueue.tasks.update/project": project "/taskqueue:v1beta2/taskqueue.tasks.update/task": task "/taskqueue:v1beta2/taskqueue.tasks.update/taskqueue": taskqueue -"/taskqueue:v1beta2/Task": task -"/taskqueue:v1beta2/Task/enqueueTimestamp": enqueue_timestamp -"/taskqueue:v1beta2/Task/id": id -"/taskqueue:v1beta2/Task/kind": kind -"/taskqueue:v1beta2/Task/leaseTimestamp": lease_timestamp -"/taskqueue:v1beta2/Task/payloadBase64": payload_base64 -"/taskqueue:v1beta2/Task/queueName": queue_name -"/taskqueue:v1beta2/Task/retry_count": retry_count -"/taskqueue:v1beta2/Task/tag": tag -"/taskqueue:v1beta2/TaskQueue": task_queue -"/taskqueue:v1beta2/TaskQueue/acl": acl -"/taskqueue:v1beta2/TaskQueue/acl/adminEmails": admin_emails -"/taskqueue:v1beta2/TaskQueue/acl/adminEmails/admin_email": admin_email -"/taskqueue:v1beta2/TaskQueue/acl/consumerEmails": consumer_emails -"/taskqueue:v1beta2/TaskQueue/acl/consumerEmails/consumer_email": consumer_email -"/taskqueue:v1beta2/TaskQueue/acl/producerEmails": producer_emails -"/taskqueue:v1beta2/TaskQueue/acl/producerEmails/producer_email": producer_email -"/taskqueue:v1beta2/TaskQueue/id": id -"/taskqueue:v1beta2/TaskQueue/kind": kind -"/taskqueue:v1beta2/TaskQueue/maxLeases": max_leases -"/taskqueue:v1beta2/TaskQueue/stats": stats -"/taskqueue:v1beta2/TaskQueue/stats/leasedLastHour": leased_last_hour -"/taskqueue:v1beta2/TaskQueue/stats/leasedLastMinute": leased_last_minute -"/taskqueue:v1beta2/TaskQueue/stats/oldestTask": oldest_task -"/taskqueue:v1beta2/TaskQueue/stats/totalTasks": total_tasks -"/taskqueue:v1beta2/Tasks": tasks -"/taskqueue:v1beta2/Tasks/items": items -"/taskqueue:v1beta2/Tasks/items/item": item -"/taskqueue:v1beta2/Tasks/kind": kind -"/taskqueue:v1beta2/Tasks2": tasks2 -"/taskqueue:v1beta2/Tasks2/items": items -"/taskqueue:v1beta2/Tasks2/items/item": item -"/taskqueue:v1beta2/Tasks2/kind": kind +"/taskqueue:v1beta2/userIp": user_ip +"/tasks:v1/Task": task +"/tasks:v1/Task/completed": completed +"/tasks:v1/Task/deleted": deleted +"/tasks:v1/Task/due": due +"/tasks:v1/Task/etag": etag +"/tasks:v1/Task/hidden": hidden +"/tasks:v1/Task/id": id +"/tasks:v1/Task/kind": kind +"/tasks:v1/Task/links": links +"/tasks:v1/Task/links/link": link +"/tasks:v1/Task/links/link/description": description +"/tasks:v1/Task/links/link/link": link +"/tasks:v1/Task/links/link/type": type +"/tasks:v1/Task/notes": notes +"/tasks:v1/Task/parent": parent +"/tasks:v1/Task/position": position +"/tasks:v1/Task/selfLink": self_link +"/tasks:v1/Task/status": status +"/tasks:v1/Task/title": title +"/tasks:v1/Task/updated": updated +"/tasks:v1/TaskList": task_list +"/tasks:v1/TaskList/etag": etag +"/tasks:v1/TaskList/id": id +"/tasks:v1/TaskList/kind": kind +"/tasks:v1/TaskList/selfLink": self_link +"/tasks:v1/TaskList/title": title +"/tasks:v1/TaskList/updated": updated +"/tasks:v1/TaskLists": task_lists +"/tasks:v1/TaskLists/etag": etag +"/tasks:v1/TaskLists/items": items +"/tasks:v1/TaskLists/items/item": item +"/tasks:v1/TaskLists/kind": kind +"/tasks:v1/TaskLists/nextPageToken": next_page_token +"/tasks:v1/Tasks": tasks +"/tasks:v1/Tasks/etag": etag +"/tasks:v1/Tasks/items": items +"/tasks:v1/Tasks/items/item": item +"/tasks:v1/Tasks/kind": kind +"/tasks:v1/Tasks/nextPageToken": next_page_token "/tasks:v1/fields": fields "/tasks:v1/key": key "/tasks:v1/quotaUser": quota_user -"/tasks:v1/userIp": user_ip "/tasks:v1/tasks.tasklists.delete": delete_tasklist "/tasks:v1/tasks.tasklists.delete/tasklist": tasklist "/tasks:v1/tasks.tasklists.get": get_tasklist @@ -40371,157 +42508,29 @@ "/tasks:v1/tasks.tasks.update": update_task "/tasks:v1/tasks.tasks.update/task": task "/tasks:v1/tasks.tasks.update/tasklist": tasklist -"/tasks:v1/Task": task -"/tasks:v1/Task/completed": completed -"/tasks:v1/Task/deleted": deleted -"/tasks:v1/Task/due": due -"/tasks:v1/Task/etag": etag -"/tasks:v1/Task/hidden": hidden -"/tasks:v1/Task/id": id -"/tasks:v1/Task/kind": kind -"/tasks:v1/Task/links": links -"/tasks:v1/Task/links/link": link -"/tasks:v1/Task/links/link/description": description -"/tasks:v1/Task/links/link/link": link -"/tasks:v1/Task/links/link/type": type -"/tasks:v1/Task/notes": notes -"/tasks:v1/Task/parent": parent -"/tasks:v1/Task/position": position -"/tasks:v1/Task/selfLink": self_link -"/tasks:v1/Task/status": status -"/tasks:v1/Task/title": title -"/tasks:v1/Task/updated": updated -"/tasks:v1/TaskList": task_list -"/tasks:v1/TaskList/etag": etag -"/tasks:v1/TaskList/id": id -"/tasks:v1/TaskList/kind": kind -"/tasks:v1/TaskList/selfLink": self_link -"/tasks:v1/TaskList/title": title -"/tasks:v1/TaskList/updated": updated -"/tasks:v1/TaskLists": task_lists -"/tasks:v1/TaskLists/etag": etag -"/tasks:v1/TaskLists/items": items -"/tasks:v1/TaskLists/items/item": item -"/tasks:v1/TaskLists/kind": kind -"/tasks:v1/TaskLists/nextPageToken": next_page_token -"/tasks:v1/Tasks": tasks -"/tasks:v1/Tasks/etag": etag -"/tasks:v1/Tasks/items": items -"/tasks:v1/Tasks/items/item": item -"/tasks:v1/Tasks/kind": kind -"/tasks:v1/Tasks/nextPageToken": next_page_token -"/toolresults:v1beta3/fields": fields -"/toolresults:v1beta3/key": key -"/toolresults:v1beta3/quotaUser": quota_user -"/toolresults:v1beta3/userIp": user_ip -"/toolresults:v1beta3/toolresults.projects.getSettings": get_project_settings -"/toolresults:v1beta3/toolresults.projects.getSettings/projectId": project_id -"/toolresults:v1beta3/toolresults.projects.initializeSettings": initialize_project_settings -"/toolresults:v1beta3/toolresults.projects.initializeSettings/projectId": project_id -"/toolresults:v1beta3/toolresults.projects.histories.create": create_project_history -"/toolresults:v1beta3/toolresults.projects.histories.create/projectId": project_id -"/toolresults:v1beta3/toolresults.projects.histories.create/requestId": request_id -"/toolresults:v1beta3/toolresults.projects.histories.get": get_project_history -"/toolresults:v1beta3/toolresults.projects.histories.get/historyId": history_id -"/toolresults:v1beta3/toolresults.projects.histories.get/projectId": project_id -"/toolresults:v1beta3/toolresults.projects.histories.list": list_project_histories -"/toolresults:v1beta3/toolresults.projects.histories.list/filterByName": filter_by_name -"/toolresults:v1beta3/toolresults.projects.histories.list/pageSize": page_size -"/toolresults:v1beta3/toolresults.projects.histories.list/pageToken": page_token -"/toolresults:v1beta3/toolresults.projects.histories.list/projectId": project_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.create": create_project_history_execution -"/toolresults:v1beta3/toolresults.projects.histories.executions.create/historyId": history_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.create/projectId": project_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.create/requestId": request_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.get": get_project_history_execution -"/toolresults:v1beta3/toolresults.projects.histories.executions.get/executionId": execution_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.get/historyId": history_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.get/projectId": project_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.list": list_project_history_executions -"/toolresults:v1beta3/toolresults.projects.histories.executions.list/historyId": history_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.list/pageSize": page_size -"/toolresults:v1beta3/toolresults.projects.histories.executions.list/pageToken": page_token -"/toolresults:v1beta3/toolresults.projects.histories.executions.list/projectId": project_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.patch": patch_project_history_execution -"/toolresults:v1beta3/toolresults.projects.histories.executions.patch/executionId": execution_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.patch/historyId": history_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.patch/projectId": project_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.patch/requestId": request_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.create": create_project_history_execution_step -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.create/executionId": execution_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.create/historyId": history_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.create/projectId": project_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.create/requestId": request_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.get": get_project_history_execution_step -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.get/executionId": execution_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.get/historyId": history_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.get/projectId": project_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.get/stepId": step_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.getPerfMetricsSummary": get_project_history_execution_step_perf_metrics_summary -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.getPerfMetricsSummary/executionId": execution_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.getPerfMetricsSummary/historyId": history_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.getPerfMetricsSummary/projectId": project_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.getPerfMetricsSummary/stepId": step_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.list": list_project_history_execution_steps -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.list/executionId": execution_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.list/historyId": history_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.list/pageSize": page_size -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.list/pageToken": page_token -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.list/projectId": project_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.patch": patch_project_history_execution_step -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.patch/executionId": execution_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.patch/historyId": history_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.patch/projectId": project_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.patch/requestId": request_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.patch/stepId": step_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.publishXunitXmlFiles": publish_step_xunit_xml_files -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.publishXunitXmlFiles/executionId": execution_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.publishXunitXmlFiles/historyId": history_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.publishXunitXmlFiles/projectId": project_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.publishXunitXmlFiles/stepId": step_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfMetricsSummary.create": create_project_history_execution_step_perf_metrics_summary -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfMetricsSummary.create/executionId": execution_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfMetricsSummary.create/historyId": history_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfMetricsSummary.create/projectId": project_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfMetricsSummary.create/stepId": step_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.create": create_project_history_execution_step_perf_sample_series -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.create/executionId": execution_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.create/historyId": history_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.create/projectId": project_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.create/stepId": step_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.get": get_project_history_execution_step_perf_sample_series -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.get/executionId": execution_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.get/historyId": history_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.get/projectId": project_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.get/sampleSeriesId": sample_series_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.get/stepId": step_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.list": list_project_history_execution_step_perf_sample_series -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.list/executionId": execution_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.list/filter": filter -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.list/historyId": history_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.list/projectId": project_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.list/stepId": step_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.batchCreate": batch_create_perf_samples -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.batchCreate/executionId": execution_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.batchCreate/historyId": history_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.batchCreate/projectId": project_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.batchCreate/sampleSeriesId": sample_series_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.batchCreate/stepId": step_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.list": list_project_history_execution_step_perf_sample_series_samples -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.list/executionId": execution_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.list/historyId": history_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.list/pageSize": page_size -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.list/pageToken": page_token -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.list/projectId": project_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.list/sampleSeriesId": sample_series_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.list/stepId": step_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.thumbnails.list": list_project_history_execution_step_thumbnails -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.thumbnails.list/executionId": execution_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.thumbnails.list/historyId": history_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.thumbnails.list/pageSize": page_size -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.thumbnails.list/pageToken": page_token -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.thumbnails.list/projectId": project_id -"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.thumbnails.list/stepId": step_id +"/tasks:v1/userIp": user_ip +"/toolresults:v1beta3/AndroidAppInfo": android_app_info +"/toolresults:v1beta3/AndroidAppInfo/name": name +"/toolresults:v1beta3/AndroidAppInfo/packageName": package_name +"/toolresults:v1beta3/AndroidAppInfo/versionCode": version_code +"/toolresults:v1beta3/AndroidAppInfo/versionName": version_name +"/toolresults:v1beta3/AndroidInstrumentationTest": android_instrumentation_test +"/toolresults:v1beta3/AndroidInstrumentationTest/testPackageId": test_package_id +"/toolresults:v1beta3/AndroidInstrumentationTest/testRunnerClass": test_runner_class +"/toolresults:v1beta3/AndroidInstrumentationTest/testTargets": test_targets +"/toolresults:v1beta3/AndroidInstrumentationTest/testTargets/test_target": test_target +"/toolresults:v1beta3/AndroidInstrumentationTest/useOrchestrator": use_orchestrator +"/toolresults:v1beta3/AndroidRoboTest": android_robo_test +"/toolresults:v1beta3/AndroidRoboTest/appInitialActivity": app_initial_activity +"/toolresults:v1beta3/AndroidRoboTest/bootstrapPackageId": bootstrap_package_id +"/toolresults:v1beta3/AndroidRoboTest/bootstrapRunnerClass": bootstrap_runner_class +"/toolresults:v1beta3/AndroidRoboTest/maxDepth": max_depth +"/toolresults:v1beta3/AndroidRoboTest/maxSteps": max_steps +"/toolresults:v1beta3/AndroidTest": android_test +"/toolresults:v1beta3/AndroidTest/androidAppInfo": android_app_info +"/toolresults:v1beta3/AndroidTest/androidInstrumentationTest": android_instrumentation_test +"/toolresults:v1beta3/AndroidTest/androidRoboTest": android_robo_test +"/toolresults:v1beta3/AndroidTest/testTimeout": test_timeout "/toolresults:v1beta3/Any": any "/toolresults:v1beta3/Any/typeUrl": type_url "/toolresults:v1beta3/Any/value": value @@ -40550,6 +42559,7 @@ "/toolresults:v1beta3/Execution/creationTime": creation_time "/toolresults:v1beta3/Execution/executionId": execution_id "/toolresults:v1beta3/Execution/outcome": outcome +"/toolresults:v1beta3/Execution/specification": specification "/toolresults:v1beta3/Execution/state": state "/toolresults:v1beta3/Execution/testExecutionMatrixId": test_execution_matrix_id "/toolresults:v1beta3/FailureDetail": failure_detail @@ -40587,6 +42597,9 @@ "/toolresults:v1beta3/ListPerfSamplesResponse/nextPageToken": next_page_token "/toolresults:v1beta3/ListPerfSamplesResponse/perfSamples": perf_samples "/toolresults:v1beta3/ListPerfSamplesResponse/perfSamples/perf_sample": perf_sample +"/toolresults:v1beta3/ListScreenshotClustersResponse": list_screenshot_clusters_response +"/toolresults:v1beta3/ListScreenshotClustersResponse/clusters": clusters +"/toolresults:v1beta3/ListScreenshotClustersResponse/clusters/cluster": cluster "/toolresults:v1beta3/ListStepThumbnailsResponse": list_step_thumbnails_response "/toolresults:v1beta3/ListStepThumbnailsResponse/nextPageToken": next_page_token "/toolresults:v1beta3/ListStepThumbnailsResponse/thumbnails": thumbnails @@ -40632,12 +42645,27 @@ "/toolresults:v1beta3/PublishXunitXmlFilesRequest": publish_xunit_xml_files_request "/toolresults:v1beta3/PublishXunitXmlFilesRequest/xunitXmlFiles": xunit_xml_files "/toolresults:v1beta3/PublishXunitXmlFilesRequest/xunitXmlFiles/xunit_xml_file": xunit_xml_file +"/toolresults:v1beta3/Screen": screen +"/toolresults:v1beta3/Screen/fileReference": file_reference +"/toolresults:v1beta3/Screen/locale": locale +"/toolresults:v1beta3/Screen/model": model +"/toolresults:v1beta3/Screen/version": version +"/toolresults:v1beta3/ScreenshotCluster": screenshot_cluster +"/toolresults:v1beta3/ScreenshotCluster/activity": activity +"/toolresults:v1beta3/ScreenshotCluster/clusterId": cluster_id +"/toolresults:v1beta3/ScreenshotCluster/keyScreen": key_screen +"/toolresults:v1beta3/ScreenshotCluster/screens": screens +"/toolresults:v1beta3/ScreenshotCluster/screens/screen": screen "/toolresults:v1beta3/SkippedDetail": skipped_detail "/toolresults:v1beta3/SkippedDetail/incompatibleAppVersion": incompatible_app_version "/toolresults:v1beta3/SkippedDetail/incompatibleArchitecture": incompatible_architecture "/toolresults:v1beta3/SkippedDetail/incompatibleDevice": incompatible_device +"/toolresults:v1beta3/Specification": specification +"/toolresults:v1beta3/Specification/androidTest": android_test "/toolresults:v1beta3/StackTrace": stack_trace +"/toolresults:v1beta3/StackTrace/clusterId": cluster_id "/toolresults:v1beta3/StackTrace/exception": exception +"/toolresults:v1beta3/StackTrace/reportId": report_id "/toolresults:v1beta3/Status": status "/toolresults:v1beta3/Status/code": code "/toolresults:v1beta3/Status/details": details @@ -40681,7 +42709,10 @@ "/toolresults:v1beta3/TestExecutionStep/toolExecution": tool_execution "/toolresults:v1beta3/TestIssue": test_issue "/toolresults:v1beta3/TestIssue/errorMessage": error_message +"/toolresults:v1beta3/TestIssue/severity": severity "/toolresults:v1beta3/TestIssue/stackTrace": stack_trace +"/toolresults:v1beta3/TestIssue/type": type +"/toolresults:v1beta3/TestIssue/warning": warning "/toolresults:v1beta3/TestSuiteOverview": test_suite_overview "/toolresults:v1beta3/TestSuiteOverview/errorCount": error_count "/toolresults:v1beta3/TestSuiteOverview/failureCount": failure_count @@ -40715,64 +42746,172 @@ "/toolresults:v1beta3/ToolOutputReference/creationTime": creation_time "/toolresults:v1beta3/ToolOutputReference/output": output "/toolresults:v1beta3/ToolOutputReference/testCase": test_case -"/translate:v2/quotaUser": quota_user +"/toolresults:v1beta3/fields": fields +"/toolresults:v1beta3/key": key +"/toolresults:v1beta3/quotaUser": quota_user +"/toolresults:v1beta3/toolresults.projects.getSettings": get_project_settings +"/toolresults:v1beta3/toolresults.projects.getSettings/projectId": project_id +"/toolresults:v1beta3/toolresults.projects.histories.create": create_project_history +"/toolresults:v1beta3/toolresults.projects.histories.create/projectId": project_id +"/toolresults:v1beta3/toolresults.projects.histories.create/requestId": request_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.clusters.list": list_project_history_execution_clusters +"/toolresults:v1beta3/toolresults.projects.histories.executions.clusters.list/executionId": execution_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.clusters.list/historyId": history_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.clusters.list/projectId": project_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.create": create_project_history_execution +"/toolresults:v1beta3/toolresults.projects.histories.executions.create/historyId": history_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.create/projectId": project_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.create/requestId": request_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.get": get_project_history_execution +"/toolresults:v1beta3/toolresults.projects.histories.executions.get/executionId": execution_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.get/historyId": history_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.get/projectId": project_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.list": list_project_history_executions +"/toolresults:v1beta3/toolresults.projects.histories.executions.list/historyId": history_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.list/pageSize": page_size +"/toolresults:v1beta3/toolresults.projects.histories.executions.list/pageToken": page_token +"/toolresults:v1beta3/toolresults.projects.histories.executions.list/projectId": project_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.patch": patch_project_history_execution +"/toolresults:v1beta3/toolresults.projects.histories.executions.patch/executionId": execution_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.patch/historyId": history_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.patch/projectId": project_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.patch/requestId": request_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.create": create_project_history_execution_step +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.create/executionId": execution_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.create/historyId": history_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.create/projectId": project_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.create/requestId": request_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.get": get_project_history_execution_step +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.get/executionId": execution_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.get/historyId": history_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.get/projectId": project_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.get/stepId": step_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.getPerfMetricsSummary": get_project_history_execution_step_perf_metrics_summary +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.getPerfMetricsSummary/executionId": execution_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.getPerfMetricsSummary/historyId": history_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.getPerfMetricsSummary/projectId": project_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.getPerfMetricsSummary/stepId": step_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.list": list_project_history_execution_steps +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.list/executionId": execution_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.list/historyId": history_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.list/pageSize": page_size +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.list/pageToken": page_token +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.list/projectId": project_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.patch": patch_project_history_execution_step +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.patch/executionId": execution_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.patch/historyId": history_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.patch/projectId": project_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.patch/requestId": request_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.patch/stepId": step_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfMetricsSummary.create": create_project_history_execution_step_perf_metrics_summary +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfMetricsSummary.create/executionId": execution_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfMetricsSummary.create/historyId": history_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfMetricsSummary.create/projectId": project_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfMetricsSummary.create/stepId": step_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.create": create_project_history_execution_step_perf_sample_series +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.create/executionId": execution_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.create/historyId": history_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.create/projectId": project_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.create/stepId": step_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.get": get_project_history_execution_step_perf_sample_series +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.get/executionId": execution_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.get/historyId": history_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.get/projectId": project_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.get/sampleSeriesId": sample_series_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.get/stepId": step_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.list": list_project_history_execution_step_perf_sample_series +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.list/executionId": execution_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.list/filter": filter +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.list/historyId": history_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.list/projectId": project_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.list/stepId": step_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.batchCreate": batch_create_perf_samples +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.batchCreate/executionId": execution_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.batchCreate/historyId": history_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.batchCreate/projectId": project_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.batchCreate/sampleSeriesId": sample_series_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.batchCreate/stepId": step_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.list": list_project_history_execution_step_perf_sample_series_samples +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.list/executionId": execution_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.list/historyId": history_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.list/pageSize": page_size +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.list/pageToken": page_token +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.list/projectId": project_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.list/sampleSeriesId": sample_series_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.perfSampleSeries.samples.list/stepId": step_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.publishXunitXmlFiles": publish_step_xunit_xml_files +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.publishXunitXmlFiles/executionId": execution_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.publishXunitXmlFiles/historyId": history_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.publishXunitXmlFiles/projectId": project_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.publishXunitXmlFiles/stepId": step_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.thumbnails.list": list_project_history_execution_step_thumbnails +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.thumbnails.list/executionId": execution_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.thumbnails.list/historyId": history_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.thumbnails.list/pageSize": page_size +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.thumbnails.list/pageToken": page_token +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.thumbnails.list/projectId": project_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.thumbnails.list/stepId": step_id +"/toolresults:v1beta3/toolresults.projects.histories.get": get_project_history +"/toolresults:v1beta3/toolresults.projects.histories.get/historyId": history_id +"/toolresults:v1beta3/toolresults.projects.histories.get/projectId": project_id +"/toolresults:v1beta3/toolresults.projects.histories.list": list_project_histories +"/toolresults:v1beta3/toolresults.projects.histories.list/filterByName": filter_by_name +"/toolresults:v1beta3/toolresults.projects.histories.list/pageSize": page_size +"/toolresults:v1beta3/toolresults.projects.histories.list/pageToken": page_token +"/toolresults:v1beta3/toolresults.projects.histories.list/projectId": project_id +"/toolresults:v1beta3/toolresults.projects.initializeSettings": initialize_project_settings +"/toolresults:v1beta3/toolresults.projects.initializeSettings/projectId": project_id +"/toolresults:v1beta3/userIp": user_ip +"/translate:v2/DetectLanguageRequest": detect_language_request +"/translate:v2/DetectLanguageRequest/q": q +"/translate:v2/DetectLanguageRequest/q/q": q +"/translate:v2/DetectionsListResponse": list_detections_response +"/translate:v2/DetectionsListResponse/detections": detections +"/translate:v2/DetectionsListResponse/detections/detection": detection +"/translate:v2/DetectionsResource": detections_resource +"/translate:v2/DetectionsResource/detections_resource": detections_resource +"/translate:v2/DetectionsResource/detections_resource/confidence": confidence +"/translate:v2/DetectionsResource/detections_resource/isReliable": is_reliable +"/translate:v2/DetectionsResource/detections_resource/language": language +"/translate:v2/GetSupportedLanguagesRequest": get_supported_languages_request +"/translate:v2/GetSupportedLanguagesRequest/target": target +"/translate:v2/LanguagesListResponse": list_languages_response +"/translate:v2/LanguagesListResponse/languages": languages +"/translate:v2/LanguagesListResponse/languages/language": language +"/translate:v2/LanguagesResource": languages_resource +"/translate:v2/LanguagesResource/language": language +"/translate:v2/LanguagesResource/name": name +"/translate:v2/TranslateTextRequest": translate_text_request +"/translate:v2/TranslateTextRequest/format": format +"/translate:v2/TranslateTextRequest/model": model +"/translate:v2/TranslateTextRequest/q": q +"/translate:v2/TranslateTextRequest/q/q": q +"/translate:v2/TranslateTextRequest/source": source +"/translate:v2/TranslateTextRequest/target": target +"/translate:v2/TranslationsListResponse": list_translations_response +"/translate:v2/TranslationsListResponse/translations": translations +"/translate:v2/TranslationsListResponse/translations/translation": translation +"/translate:v2/TranslationsResource": translations_resource +"/translate:v2/TranslationsResource/detectedSourceLanguage": detected_source_language +"/translate:v2/TranslationsResource/model": model +"/translate:v2/TranslationsResource/translatedText": translated_text "/translate:v2/fields": fields "/translate:v2/key": key -"/translate:v2/language.translations.translate": translate_translation_text -"/translate:v2/language.translations.list": list_translations -"/translate:v2/language.translations.list/q": q -"/translate:v2/language.translations.list/source": source -"/translate:v2/language.translations.list/cid": cid -"/translate:v2/language.translations.list/target": target -"/translate:v2/language.translations.list/format": format -"/translate:v2/language.translations.list/model": model "/translate:v2/language.detections.detect": detect_detection_language "/translate:v2/language.detections.list": list_detections "/translate:v2/language.detections.list/q": q "/translate:v2/language.languages.list": list_languages "/translate:v2/language.languages.list/model": model "/translate:v2/language.languages.list/target": target -"/translate:v2/LanguagesListResponse/languages": languages -"/translate:v2/LanguagesListResponse/languages/language": language -"/translate:v2/DetectionsResource": detections_resource -"/translate:v2/DetectionsResource/detections_resource": detections_resource -"/translate:v2/DetectionsResource/detections_resource/confidence": confidence -"/translate:v2/DetectionsResource/detections_resource/language": language -"/translate:v2/DetectionsResource/detections_resource/isReliable": is_reliable -"/translate:v2/TranslationsResource": translations_resource -"/translate:v2/TranslationsResource/model": model -"/translate:v2/TranslationsResource/translatedText": translated_text -"/translate:v2/TranslationsResource/detectedSourceLanguage": detected_source_language -"/translate:v2/TranslationsListResponse/translations": translations -"/translate:v2/TranslationsListResponse/translations/translation": translation -"/translate:v2/TranslateTextRequest": translate_text_request -"/translate:v2/TranslateTextRequest/target": target -"/translate:v2/TranslateTextRequest/format": format -"/translate:v2/TranslateTextRequest/q": q -"/translate:v2/TranslateTextRequest/q/q": q -"/translate:v2/TranslateTextRequest/source": source -"/translate:v2/TranslateTextRequest/model": model -"/translate:v2/DetectLanguageRequest": detect_language_request -"/translate:v2/DetectLanguageRequest/q": q -"/translate:v2/DetectLanguageRequest/q/q": q -"/translate:v2/LanguagesResource": languages_resource -"/translate:v2/LanguagesResource/name": name -"/translate:v2/LanguagesResource/language": language -"/translate:v2/DetectionsListResponse/detections": detections -"/translate:v2/DetectionsListResponse/detections/detection": detection -"/translate:v2/GetSupportedLanguagesRequest": get_supported_languages_request -"/translate:v2/GetSupportedLanguagesRequest/target": target -"/urlshortener:v1/fields": fields -"/urlshortener:v1/key": key -"/urlshortener:v1/quotaUser": quota_user -"/urlshortener:v1/userIp": user_ip -"/urlshortener:v1/urlshortener.url.get": get_url -"/urlshortener:v1/urlshortener.url.get/projection": projection -"/urlshortener:v1/urlshortener.url.get/shortUrl": short_url -"/urlshortener:v1/urlshortener.url.insert": insert_url -"/urlshortener:v1/urlshortener.url.list": list_urls -"/urlshortener:v1/urlshortener.url.list/projection": projection -"/urlshortener:v1/urlshortener.url.list/start-token": start_token +"/translate:v2/language.translations.list": list_translations +"/translate:v2/language.translations.list/cid": cid +"/translate:v2/language.translations.list/format": format +"/translate:v2/language.translations.list/model": model +"/translate:v2/language.translations.list/q": q +"/translate:v2/language.translations.list/source": source +"/translate:v2/language.translations.list/target": target +"/translate:v2/language.translations.translate": translate_translation_text +"/translate:v2/quotaUser": quota_user "/urlshortener:v1/AnalyticsSnapshot": analytics_snapshot "/urlshortener:v1/AnalyticsSnapshot/browsers": browsers "/urlshortener:v1/AnalyticsSnapshot/browsers/browser": browser @@ -40807,208 +42946,436 @@ "/urlshortener:v1/UrlHistory/kind": kind "/urlshortener:v1/UrlHistory/nextPageToken": next_page_token "/urlshortener:v1/UrlHistory/totalItems": total_items -"/vision:v1/fields": fields -"/vision:v1/key": key -"/vision:v1/quotaUser": quota_user -"/vision:v1/vision.images.annotate": annotate_image -"/vision:v1/Color": color -"/vision:v1/Color/red": red -"/vision:v1/Color/alpha": alpha -"/vision:v1/Color/blue": blue -"/vision:v1/Color/green": green -"/vision:v1/Feature": feature -"/vision:v1/Feature/maxResults": max_results -"/vision:v1/Feature/type": type -"/vision:v1/ImageProperties": image_properties -"/vision:v1/ImageProperties/dominantColors": dominant_colors -"/vision:v1/SafeSearchAnnotation": safe_search_annotation -"/vision:v1/SafeSearchAnnotation/medical": medical -"/vision:v1/SafeSearchAnnotation/violence": violence -"/vision:v1/SafeSearchAnnotation/adult": adult -"/vision:v1/SafeSearchAnnotation/spoof": spoof -"/vision:v1/DominantColorsAnnotation": dominant_colors_annotation -"/vision:v1/DominantColorsAnnotation/colors": colors -"/vision:v1/DominantColorsAnnotation/colors/color": color -"/vision:v1/TextAnnotation": text_annotation -"/vision:v1/TextAnnotation/pages": pages -"/vision:v1/TextAnnotation/pages/page": page -"/vision:v1/TextAnnotation/text": text -"/vision:v1/Vertex": vertex -"/vision:v1/Vertex/x": x -"/vision:v1/Vertex/y": y -"/vision:v1/DetectedLanguage": detected_language -"/vision:v1/DetectedLanguage/languageCode": language_code -"/vision:v1/DetectedLanguage/confidence": confidence -"/vision:v1/WebEntity": web_entity -"/vision:v1/WebEntity/entityId": entity_id -"/vision:v1/WebEntity/description": description -"/vision:v1/WebEntity/score": score -"/vision:v1/BoundingPoly": bounding_poly -"/vision:v1/BoundingPoly/vertices": vertices -"/vision:v1/BoundingPoly/vertices/vertex": vertex -"/vision:v1/TextProperty": text_property -"/vision:v1/TextProperty/detectedLanguages": detected_languages -"/vision:v1/TextProperty/detectedLanguages/detected_language": detected_language -"/vision:v1/TextProperty/detectedBreak": detected_break -"/vision:v1/AnnotateImageResponse": annotate_image_response -"/vision:v1/AnnotateImageResponse/labelAnnotations": label_annotations -"/vision:v1/AnnotateImageResponse/labelAnnotations/label_annotation": label_annotation -"/vision:v1/AnnotateImageResponse/safeSearchAnnotation": safe_search_annotation -"/vision:v1/AnnotateImageResponse/error": error -"/vision:v1/AnnotateImageResponse/fullTextAnnotation": full_text_annotation -"/vision:v1/AnnotateImageResponse/landmarkAnnotations": landmark_annotations -"/vision:v1/AnnotateImageResponse/landmarkAnnotations/landmark_annotation": landmark_annotation -"/vision:v1/AnnotateImageResponse/textAnnotations": text_annotations -"/vision:v1/AnnotateImageResponse/textAnnotations/text_annotation": text_annotation -"/vision:v1/AnnotateImageResponse/imagePropertiesAnnotation": image_properties_annotation -"/vision:v1/AnnotateImageResponse/faceAnnotations": face_annotations -"/vision:v1/AnnotateImageResponse/faceAnnotations/face_annotation": face_annotation -"/vision:v1/AnnotateImageResponse/logoAnnotations": logo_annotations -"/vision:v1/AnnotateImageResponse/logoAnnotations/logo_annotation": logo_annotation -"/vision:v1/AnnotateImageResponse/cropHintsAnnotation": crop_hints_annotation -"/vision:v1/AnnotateImageResponse/webDetection": web_detection -"/vision:v1/CropHintsParams": crop_hints_params -"/vision:v1/CropHintsParams/aspectRatios": aspect_ratios -"/vision:v1/CropHintsParams/aspectRatios/aspect_ratio": aspect_ratio -"/vision:v1/Block": block -"/vision:v1/Block/property": property -"/vision:v1/Block/blockType": block_type -"/vision:v1/Block/boundingBox": bounding_box -"/vision:v1/Block/paragraphs": paragraphs -"/vision:v1/Block/paragraphs/paragraph": paragraph -"/vision:v1/WebDetection": web_detection -"/vision:v1/WebDetection/pagesWithMatchingImages": pages_with_matching_images -"/vision:v1/WebDetection/pagesWithMatchingImages/pages_with_matching_image": pages_with_matching_image -"/vision:v1/WebDetection/visuallySimilarImages": visually_similar_images -"/vision:v1/WebDetection/visuallySimilarImages/visually_similar_image": visually_similar_image -"/vision:v1/WebDetection/partialMatchingImages": partial_matching_images -"/vision:v1/WebDetection/partialMatchingImages/partial_matching_image": partial_matching_image -"/vision:v1/WebDetection/fullMatchingImages": full_matching_images -"/vision:v1/WebDetection/fullMatchingImages/full_matching_image": full_matching_image -"/vision:v1/WebDetection/webEntities": web_entities -"/vision:v1/WebDetection/webEntities/web_entity": web_entity -"/vision:v1/BatchAnnotateImagesResponse": batch_annotate_images_response -"/vision:v1/BatchAnnotateImagesResponse/responses": responses -"/vision:v1/BatchAnnotateImagesResponse/responses/response": response -"/vision:v1/ImageSource": image_source -"/vision:v1/ImageSource/gcsImageUri": gcs_image_uri -"/vision:v1/ImageSource/imageUri": image_uri -"/vision:v1/Property": property -"/vision:v1/Property/value": value -"/vision:v1/Property/uint64Value": uint64_value -"/vision:v1/Property/name": name -"/vision:v1/LocationInfo": location_info -"/vision:v1/LocationInfo/latLng": lat_lng -"/vision:v1/Position": position -"/vision:v1/Position/z": z -"/vision:v1/Position/x": x -"/vision:v1/Position/y": y -"/vision:v1/WebPage": web_page -"/vision:v1/WebPage/score": score -"/vision:v1/WebPage/url": url -"/vision:v1/ColorInfo": color_info -"/vision:v1/ColorInfo/pixelFraction": pixel_fraction -"/vision:v1/ColorInfo/color": color -"/vision:v1/ColorInfo/score": score -"/vision:v1/EntityAnnotation": entity_annotation -"/vision:v1/EntityAnnotation/mid": mid -"/vision:v1/EntityAnnotation/confidence": confidence -"/vision:v1/EntityAnnotation/locale": locale -"/vision:v1/EntityAnnotation/boundingPoly": bounding_poly -"/vision:v1/EntityAnnotation/topicality": topicality -"/vision:v1/EntityAnnotation/description": description -"/vision:v1/EntityAnnotation/properties": properties -"/vision:v1/EntityAnnotation/properties/property": property -"/vision:v1/EntityAnnotation/score": score -"/vision:v1/EntityAnnotation/locations": locations -"/vision:v1/EntityAnnotation/locations/location": location -"/vision:v1/CropHint": crop_hint -"/vision:v1/CropHint/importanceFraction": importance_fraction -"/vision:v1/CropHint/confidence": confidence -"/vision:v1/CropHint/boundingPoly": bounding_poly -"/vision:v1/Landmark": landmark -"/vision:v1/Landmark/type": type -"/vision:v1/Landmark/position": position -"/vision:v1/WebImage": web_image -"/vision:v1/WebImage/score": score -"/vision:v1/WebImage/url": url -"/vision:v1/Word": word -"/vision:v1/Word/symbols": symbols -"/vision:v1/Word/symbols/symbol": symbol -"/vision:v1/Word/property": property -"/vision:v1/Word/boundingBox": bounding_box -"/vision:v1/Paragraph": paragraph -"/vision:v1/Paragraph/property": property -"/vision:v1/Paragraph/boundingBox": bounding_box -"/vision:v1/Paragraph/words": words -"/vision:v1/Paragraph/words/word": word -"/vision:v1/Image": image -"/vision:v1/Image/source": source -"/vision:v1/Image/content": content -"/vision:v1/FaceAnnotation": face_annotation -"/vision:v1/FaceAnnotation/tiltAngle": tilt_angle -"/vision:v1/FaceAnnotation/fdBoundingPoly": fd_bounding_poly -"/vision:v1/FaceAnnotation/surpriseLikelihood": surprise_likelihood -"/vision:v1/FaceAnnotation/landmarks": landmarks -"/vision:v1/FaceAnnotation/landmarks/landmark": landmark -"/vision:v1/FaceAnnotation/angerLikelihood": anger_likelihood -"/vision:v1/FaceAnnotation/landmarkingConfidence": landmarking_confidence -"/vision:v1/FaceAnnotation/joyLikelihood": joy_likelihood -"/vision:v1/FaceAnnotation/underExposedLikelihood": under_exposed_likelihood -"/vision:v1/FaceAnnotation/panAngle": pan_angle -"/vision:v1/FaceAnnotation/detectionConfidence": detection_confidence -"/vision:v1/FaceAnnotation/blurredLikelihood": blurred_likelihood -"/vision:v1/FaceAnnotation/headwearLikelihood": headwear_likelihood -"/vision:v1/FaceAnnotation/boundingPoly": bounding_poly -"/vision:v1/FaceAnnotation/rollAngle": roll_angle -"/vision:v1/FaceAnnotation/sorrowLikelihood": sorrow_likelihood -"/vision:v1/BatchAnnotateImagesRequest": batch_annotate_images_request -"/vision:v1/BatchAnnotateImagesRequest/requests": requests -"/vision:v1/BatchAnnotateImagesRequest/requests/request": request -"/vision:v1/DetectedBreak": detected_break -"/vision:v1/DetectedBreak/type": type -"/vision:v1/DetectedBreak/isPrefix": is_prefix -"/vision:v1/ImageContext": image_context -"/vision:v1/ImageContext/cropHintsParams": crop_hints_params -"/vision:v1/ImageContext/languageHints": language_hints -"/vision:v1/ImageContext/languageHints/language_hint": language_hint -"/vision:v1/ImageContext/latLongRect": lat_long_rect -"/vision:v1/Page": page -"/vision:v1/Page/width": width -"/vision:v1/Page/blocks": blocks -"/vision:v1/Page/blocks/block": block -"/vision:v1/Page/property": property -"/vision:v1/Page/height": height +"/urlshortener:v1/fields": fields +"/urlshortener:v1/key": key +"/urlshortener:v1/quotaUser": quota_user +"/urlshortener:v1/urlshortener.url.get": get_url +"/urlshortener:v1/urlshortener.url.get/projection": projection +"/urlshortener:v1/urlshortener.url.get/shortUrl": short_url +"/urlshortener:v1/urlshortener.url.insert": insert_url +"/urlshortener:v1/urlshortener.url.list": list_urls +"/urlshortener:v1/urlshortener.url.list/projection": projection +"/urlshortener:v1/urlshortener.url.list/start-token": start_token +"/urlshortener:v1/userIp": user_ip +"/vault:v1/AddMatterPermissionsRequest": add_matter_permissions_request +"/vault:v1/AddMatterPermissionsRequest/ccMe": cc_me +"/vault:v1/AddMatterPermissionsRequest/matterPermission": matter_permission +"/vault:v1/AddMatterPermissionsRequest/sendEmails": send_emails +"/vault:v1/CloseMatterRequest": close_matter_request +"/vault:v1/CloseMatterResponse": close_matter_response +"/vault:v1/CloseMatterResponse/matter": matter +"/vault:v1/CorpusQuery": corpus_query +"/vault:v1/CorpusQuery/driveQuery": drive_query +"/vault:v1/CorpusQuery/groupsQuery": groups_query +"/vault:v1/CorpusQuery/mailQuery": mail_query +"/vault:v1/Empty": empty +"/vault:v1/HeldAccount": held_account +"/vault:v1/HeldAccount/accountId": account_id +"/vault:v1/HeldAccount/holdTime": hold_time +"/vault:v1/HeldDriveQuery": held_drive_query +"/vault:v1/HeldDriveQuery/includeTeamDriveFiles": include_team_drive_files +"/vault:v1/HeldGroupsQuery": held_groups_query +"/vault:v1/HeldGroupsQuery/endTime": end_time +"/vault:v1/HeldGroupsQuery/startTime": start_time +"/vault:v1/HeldGroupsQuery/terms": terms +"/vault:v1/HeldMailQuery": held_mail_query +"/vault:v1/HeldMailQuery/endTime": end_time +"/vault:v1/HeldMailQuery/startTime": start_time +"/vault:v1/HeldMailQuery/terms": terms +"/vault:v1/HeldOrgUnit": held_org_unit +"/vault:v1/HeldOrgUnit/holdTime": hold_time +"/vault:v1/HeldOrgUnit/orgUnitId": org_unit_id +"/vault:v1/Hold": hold +"/vault:v1/Hold/accounts": accounts +"/vault:v1/Hold/accounts/account": account +"/vault:v1/Hold/corpus": corpus +"/vault:v1/Hold/holdId": hold_id +"/vault:v1/Hold/name": name +"/vault:v1/Hold/orgUnit": org_unit +"/vault:v1/Hold/query": query +"/vault:v1/Hold/updateTime": update_time +"/vault:v1/ListHeldAccountsResponse": list_held_accounts_response +"/vault:v1/ListHeldAccountsResponse/accounts": accounts +"/vault:v1/ListHeldAccountsResponse/accounts/account": account +"/vault:v1/ListHoldsResponse": list_holds_response +"/vault:v1/ListHoldsResponse/holds": holds +"/vault:v1/ListHoldsResponse/holds/hold": hold +"/vault:v1/ListHoldsResponse/nextPageToken": next_page_token +"/vault:v1/ListMattersResponse": list_matters_response +"/vault:v1/ListMattersResponse/matters": matters +"/vault:v1/ListMattersResponse/matters/matter": matter +"/vault:v1/ListMattersResponse/nextPageToken": next_page_token +"/vault:v1/Matter": matter +"/vault:v1/Matter/description": description +"/vault:v1/Matter/matterId": matter_id +"/vault:v1/Matter/matterPermissions": matter_permissions +"/vault:v1/Matter/matterPermissions/matter_permission": matter_permission +"/vault:v1/Matter/name": name +"/vault:v1/Matter/state": state +"/vault:v1/MatterPermission": matter_permission +"/vault:v1/MatterPermission/accountId": account_id +"/vault:v1/MatterPermission/role": role +"/vault:v1/RemoveMatterPermissionsRequest": remove_matter_permissions_request +"/vault:v1/RemoveMatterPermissionsRequest/accountId": account_id +"/vault:v1/ReopenMatterRequest": reopen_matter_request +"/vault:v1/ReopenMatterResponse": reopen_matter_response +"/vault:v1/ReopenMatterResponse/matter": matter +"/vault:v1/UndeleteMatterRequest": undelete_matter_request +"/vault:v1/fields": fields +"/vault:v1/key": key +"/vault:v1/quotaUser": quota_user +"/vault:v1/vault.matters.addPermissions": add_matter_permissions +"/vault:v1/vault.matters.addPermissions/matterId": matter_id +"/vault:v1/vault.matters.close": close_matter +"/vault:v1/vault.matters.close/matterId": matter_id +"/vault:v1/vault.matters.create": create_matter +"/vault:v1/vault.matters.delete": delete_matter +"/vault:v1/vault.matters.delete/matterId": matter_id +"/vault:v1/vault.matters.get": get_matter +"/vault:v1/vault.matters.get/matterId": matter_id +"/vault:v1/vault.matters.get/view": view +"/vault:v1/vault.matters.holds.accounts.create": create_matter_hold_account +"/vault:v1/vault.matters.holds.accounts.create/holdId": hold_id +"/vault:v1/vault.matters.holds.accounts.create/matterId": matter_id +"/vault:v1/vault.matters.holds.accounts.delete": delete_matter_hold_account +"/vault:v1/vault.matters.holds.accounts.delete/accountId": account_id +"/vault:v1/vault.matters.holds.accounts.delete/holdId": hold_id +"/vault:v1/vault.matters.holds.accounts.delete/matterId": matter_id +"/vault:v1/vault.matters.holds.accounts.list": list_matter_hold_accounts +"/vault:v1/vault.matters.holds.accounts.list/holdId": hold_id +"/vault:v1/vault.matters.holds.accounts.list/matterId": matter_id +"/vault:v1/vault.matters.holds.create": create_matter_hold +"/vault:v1/vault.matters.holds.create/matterId": matter_id +"/vault:v1/vault.matters.holds.delete": delete_matter_hold +"/vault:v1/vault.matters.holds.delete/holdId": hold_id +"/vault:v1/vault.matters.holds.delete/matterId": matter_id +"/vault:v1/vault.matters.holds.get": get_matter_hold +"/vault:v1/vault.matters.holds.get/holdId": hold_id +"/vault:v1/vault.matters.holds.get/matterId": matter_id +"/vault:v1/vault.matters.holds.list": list_matter_holds +"/vault:v1/vault.matters.holds.list/matterId": matter_id +"/vault:v1/vault.matters.holds.list/pageSize": page_size +"/vault:v1/vault.matters.holds.list/pageToken": page_token +"/vault:v1/vault.matters.holds.update": update_matter_hold +"/vault:v1/vault.matters.holds.update/holdId": hold_id +"/vault:v1/vault.matters.holds.update/matterId": matter_id +"/vault:v1/vault.matters.list": list_matters +"/vault:v1/vault.matters.list/pageSize": page_size +"/vault:v1/vault.matters.list/pageToken": page_token +"/vault:v1/vault.matters.list/view": view +"/vault:v1/vault.matters.removePermissions": remove_matter_permissions +"/vault:v1/vault.matters.removePermissions/matterId": matter_id +"/vault:v1/vault.matters.reopen": reopen_matter +"/vault:v1/vault.matters.reopen/matterId": matter_id +"/vault:v1/vault.matters.undelete": undelete_matter +"/vault:v1/vault.matters.undelete/matterId": matter_id +"/vault:v1/vault.matters.update": update_matter +"/vault:v1/vault.matters.update/matterId": matter_id +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_AnnotateVideoProgress": google_cloud_videointelligence_v1_annotate_video_progress +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_AnnotateVideoProgress/annotationProgress": annotation_progress +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_AnnotateVideoProgress/annotationProgress/annotation_progress": annotation_progress +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_AnnotateVideoResponse": google_cloud_videointelligence_v1_annotate_video_response +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_AnnotateVideoResponse/annotationResults": annotation_results +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_AnnotateVideoResponse/annotationResults/annotation_result": annotation_result +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelAnnotation": google_cloud_videointelligence_v1_label_annotation +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelAnnotation/description": description +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelAnnotation/languageCode": language_code +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelAnnotation/locations": locations +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelAnnotation/locations/location": location +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelLocation": google_cloud_videointelligence_v1_label_location +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelLocation/confidence": confidence +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelLocation/level": level +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelLocation/segment": segment +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_SafeSearchAnnotation": google_cloud_videointelligence_v1_safe_search_annotation +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_SafeSearchAnnotation/adult": adult +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_SafeSearchAnnotation/time": time +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationProgress": google_cloud_videointelligence_v1_video_annotation_progress +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationProgress/inputUri": input_uri +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationProgress/progressPercent": progress_percent +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationProgress/startTime": start_time +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationProgress/updateTime": update_time +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults": google_cloud_videointelligence_v1_video_annotation_results +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/error": error +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/inputUri": input_uri +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/labelAnnotations": label_annotations +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/labelAnnotations/label_annotation": label_annotation +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/safeSearchAnnotations": safe_search_annotations +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/safeSearchAnnotations/safe_search_annotation": safe_search_annotation +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/shotAnnotations": shot_annotations +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/shotAnnotations/shot_annotation": shot_annotation +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoSegment": google_cloud_videointelligence_v1_video_segment +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoSegment/endTime": end_time +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoSegment/startTime": start_time +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress": google_cloud_videointelligence_v1beta1_annotate_video_progress +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress/annotationProgress": annotation_progress +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress/annotationProgress/annotation_progress": annotation_progress +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest": google_cloud_videointelligence_v1beta1_annotate_video_request +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest/features": features +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest/features/feature": feature +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest/inputContent": input_content +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest/inputUri": input_uri +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest/locationId": location_id +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest/outputUri": output_uri +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest/videoContext": video_context +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_AnnotateVideoResponse": google_cloud_videointelligence_v1beta1_annotate_video_response +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_AnnotateVideoResponse/annotationResults": annotation_results +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_AnnotateVideoResponse/annotationResults/annotation_result": annotation_result +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_LabelAnnotation": google_cloud_videointelligence_v1beta1_label_annotation +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_LabelAnnotation/description": description +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_LabelAnnotation/languageCode": language_code +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_LabelAnnotation/locations": locations +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_LabelAnnotation/locations/location": location +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_LabelLocation": google_cloud_videointelligence_v1beta1_label_location +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_LabelLocation/confidence": confidence +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_LabelLocation/level": level +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_LabelLocation/segment": segment +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_SafeSearchAnnotation": google_cloud_videointelligence_v1beta1_safe_search_annotation +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_SafeSearchAnnotation/adult": adult +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_SafeSearchAnnotation/medical": medical +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_SafeSearchAnnotation/racy": racy +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_SafeSearchAnnotation/spoof": spoof +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_SafeSearchAnnotation/timeOffset": time_offset +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_SafeSearchAnnotation/violent": violent +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoAnnotationProgress": google_cloud_videointelligence_v1beta1_video_annotation_progress +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoAnnotationProgress/inputUri": input_uri +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoAnnotationProgress/progressPercent": progress_percent +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoAnnotationProgress/startTime": start_time +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoAnnotationProgress/updateTime": update_time +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults": google_cloud_videointelligence_v1beta1_video_annotation_results +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults/error": error +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults/inputUri": input_uri +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults/labelAnnotations": label_annotations +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults/labelAnnotations/label_annotation": label_annotation +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults/safeSearchAnnotations": safe_search_annotations +? "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults/safeSearchAnnotations/safe_search_annotation" +: safe_search_annotation +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults/shotAnnotations": shot_annotations +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults/shotAnnotations/shot_annotation": shot_annotation +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoContext": google_cloud_videointelligence_v1beta1_video_context +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoContext/labelDetectionMode": label_detection_mode +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoContext/labelDetectionModel": label_detection_model +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoContext/safeSearchDetectionModel": safe_search_detection_model +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoContext/segments": segments +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoContext/segments/segment": segment +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoContext/shotChangeDetectionModel": shot_change_detection_model +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoContext/stationaryCamera": stationary_camera +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoSegment": google_cloud_videointelligence_v1beta1_video_segment +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoSegment/endTimeOffset": end_time_offset +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoSegment/startTimeOffset": start_time_offset +"/videointelligence:v1beta1/GoogleLongrunning_Operation": google_longrunning_operation +"/videointelligence:v1beta1/GoogleLongrunning_Operation/done": done +"/videointelligence:v1beta1/GoogleLongrunning_Operation/error": error +"/videointelligence:v1beta1/GoogleLongrunning_Operation/metadata": metadata +"/videointelligence:v1beta1/GoogleLongrunning_Operation/metadata/metadatum": metadatum +"/videointelligence:v1beta1/GoogleLongrunning_Operation/name": name +"/videointelligence:v1beta1/GoogleLongrunning_Operation/response": response +"/videointelligence:v1beta1/GoogleLongrunning_Operation/response/response": response +"/videointelligence:v1beta1/GoogleRpc_Status": google_rpc_status +"/videointelligence:v1beta1/GoogleRpc_Status/code": code +"/videointelligence:v1beta1/GoogleRpc_Status/details": details +"/videointelligence:v1beta1/GoogleRpc_Status/details/detail": detail +"/videointelligence:v1beta1/GoogleRpc_Status/details/detail/detail": detail +"/videointelligence:v1beta1/GoogleRpc_Status/message": message +"/videointelligence:v1beta1/fields": fields +"/videointelligence:v1beta1/key": key +"/videointelligence:v1beta1/quotaUser": quota_user +"/videointelligence:v1beta1/videointelligence.videos.annotate": annotate_video "/vision:v1/AnnotateImageRequest": annotate_image_request "/vision:v1/AnnotateImageRequest/features": features "/vision:v1/AnnotateImageRequest/features/feature": feature "/vision:v1/AnnotateImageRequest/image": image "/vision:v1/AnnotateImageRequest/imageContext": image_context -"/vision:v1/Status": status -"/vision:v1/Status/code": code -"/vision:v1/Status/message": message -"/vision:v1/Status/details": details -"/vision:v1/Status/details/detail": detail -"/vision:v1/Status/details/detail/detail": detail -"/vision:v1/LatLongRect": lat_long_rect -"/vision:v1/LatLongRect/minLatLng": min_lat_lng -"/vision:v1/LatLongRect/maxLatLng": max_lat_lng -"/vision:v1/Symbol": symbol -"/vision:v1/Symbol/property": property -"/vision:v1/Symbol/boundingBox": bounding_box -"/vision:v1/Symbol/text": text +"/vision:v1/AnnotateImageResponse": annotate_image_response +"/vision:v1/AnnotateImageResponse/cropHintsAnnotation": crop_hints_annotation +"/vision:v1/AnnotateImageResponse/error": error +"/vision:v1/AnnotateImageResponse/faceAnnotations": face_annotations +"/vision:v1/AnnotateImageResponse/faceAnnotations/face_annotation": face_annotation +"/vision:v1/AnnotateImageResponse/fullTextAnnotation": full_text_annotation +"/vision:v1/AnnotateImageResponse/imagePropertiesAnnotation": image_properties_annotation +"/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/logoAnnotations": logo_annotations +"/vision:v1/AnnotateImageResponse/logoAnnotations/logo_annotation": logo_annotation +"/vision:v1/AnnotateImageResponse/safeSearchAnnotation": safe_search_annotation +"/vision:v1/AnnotateImageResponse/textAnnotations": text_annotations +"/vision:v1/AnnotateImageResponse/textAnnotations/text_annotation": text_annotation +"/vision:v1/AnnotateImageResponse/webDetection": web_detection +"/vision:v1/BatchAnnotateImagesRequest": batch_annotate_images_request +"/vision:v1/BatchAnnotateImagesRequest/requests": requests +"/vision:v1/BatchAnnotateImagesRequest/requests/request": request +"/vision:v1/BatchAnnotateImagesResponse": batch_annotate_images_response +"/vision:v1/BatchAnnotateImagesResponse/responses": responses +"/vision:v1/BatchAnnotateImagesResponse/responses/response": response +"/vision:v1/Block": block +"/vision:v1/Block/blockType": block_type +"/vision:v1/Block/boundingBox": bounding_box +"/vision:v1/Block/paragraphs": paragraphs +"/vision:v1/Block/paragraphs/paragraph": paragraph +"/vision:v1/Block/property": property +"/vision:v1/BoundingPoly": bounding_poly +"/vision:v1/BoundingPoly/vertices": vertices +"/vision:v1/BoundingPoly/vertices/vertex": vertex +"/vision:v1/Color": color +"/vision:v1/Color/alpha": alpha +"/vision:v1/Color/blue": blue +"/vision:v1/Color/green": green +"/vision:v1/Color/red": red +"/vision:v1/ColorInfo": color_info +"/vision:v1/ColorInfo/color": color +"/vision:v1/ColorInfo/pixelFraction": pixel_fraction +"/vision:v1/ColorInfo/score": score +"/vision:v1/CropHint": crop_hint +"/vision:v1/CropHint/boundingPoly": bounding_poly +"/vision:v1/CropHint/confidence": confidence +"/vision:v1/CropHint/importanceFraction": importance_fraction "/vision:v1/CropHintsAnnotation": crop_hints_annotation "/vision:v1/CropHintsAnnotation/cropHints": crop_hints "/vision:v1/CropHintsAnnotation/cropHints/crop_hint": crop_hint +"/vision:v1/CropHintsParams": crop_hints_params +"/vision:v1/CropHintsParams/aspectRatios": aspect_ratios +"/vision:v1/CropHintsParams/aspectRatios/aspect_ratio": aspect_ratio +"/vision:v1/DetectedBreak": detected_break +"/vision:v1/DetectedBreak/isPrefix": is_prefix +"/vision:v1/DetectedBreak/type": type +"/vision:v1/DetectedLanguage": detected_language +"/vision:v1/DetectedLanguage/confidence": confidence +"/vision:v1/DetectedLanguage/languageCode": language_code +"/vision:v1/DominantColorsAnnotation": dominant_colors_annotation +"/vision:v1/DominantColorsAnnotation/colors": colors +"/vision:v1/DominantColorsAnnotation/colors/color": color +"/vision:v1/EntityAnnotation": entity_annotation +"/vision:v1/EntityAnnotation/boundingPoly": bounding_poly +"/vision:v1/EntityAnnotation/confidence": confidence +"/vision:v1/EntityAnnotation/description": description +"/vision:v1/EntityAnnotation/locale": locale +"/vision:v1/EntityAnnotation/locations": locations +"/vision:v1/EntityAnnotation/locations/location": location +"/vision:v1/EntityAnnotation/mid": mid +"/vision:v1/EntityAnnotation/properties": properties +"/vision:v1/EntityAnnotation/properties/property": property +"/vision:v1/EntityAnnotation/score": score +"/vision:v1/EntityAnnotation/topicality": topicality +"/vision:v1/FaceAnnotation": face_annotation +"/vision:v1/FaceAnnotation/angerLikelihood": anger_likelihood +"/vision:v1/FaceAnnotation/blurredLikelihood": blurred_likelihood +"/vision:v1/FaceAnnotation/boundingPoly": bounding_poly +"/vision:v1/FaceAnnotation/detectionConfidence": detection_confidence +"/vision:v1/FaceAnnotation/fdBoundingPoly": fd_bounding_poly +"/vision:v1/FaceAnnotation/headwearLikelihood": headwear_likelihood +"/vision:v1/FaceAnnotation/joyLikelihood": joy_likelihood +"/vision:v1/FaceAnnotation/landmarkingConfidence": landmarking_confidence +"/vision:v1/FaceAnnotation/landmarks": landmarks +"/vision:v1/FaceAnnotation/landmarks/landmark": landmark +"/vision:v1/FaceAnnotation/panAngle": pan_angle +"/vision:v1/FaceAnnotation/rollAngle": roll_angle +"/vision:v1/FaceAnnotation/sorrowLikelihood": sorrow_likelihood +"/vision:v1/FaceAnnotation/surpriseLikelihood": surprise_likelihood +"/vision:v1/FaceAnnotation/tiltAngle": tilt_angle +"/vision:v1/FaceAnnotation/underExposedLikelihood": under_exposed_likelihood +"/vision:v1/Feature": feature +"/vision:v1/Feature/maxResults": max_results +"/vision:v1/Feature/type": type +"/vision:v1/Image": image +"/vision:v1/Image/content": content +"/vision:v1/Image/source": source +"/vision:v1/ImageContext": image_context +"/vision:v1/ImageContext/cropHintsParams": crop_hints_params +"/vision:v1/ImageContext/languageHints": language_hints +"/vision:v1/ImageContext/languageHints/language_hint": language_hint +"/vision:v1/ImageContext/latLongRect": lat_long_rect +"/vision:v1/ImageProperties": image_properties +"/vision:v1/ImageProperties/dominantColors": dominant_colors +"/vision:v1/ImageSource": image_source +"/vision:v1/ImageSource/gcsImageUri": gcs_image_uri +"/vision:v1/ImageSource/imageUri": image_uri +"/vision:v1/Landmark": landmark +"/vision:v1/Landmark/position": position +"/vision:v1/Landmark/type": type "/vision:v1/LatLng": lat_lng "/vision:v1/LatLng/latitude": latitude "/vision:v1/LatLng/longitude": longitude -"/webfonts:v1/fields": fields -"/webfonts:v1/key": key -"/webfonts:v1/quotaUser": quota_user -"/webfonts:v1/userIp": user_ip -"/webfonts:v1/webfonts.webfonts.list": list_webfonts -"/webfonts:v1/webfonts.webfonts.list/sort": sort +"/vision:v1/LatLongRect": lat_long_rect +"/vision:v1/LatLongRect/maxLatLng": max_lat_lng +"/vision:v1/LatLongRect/minLatLng": min_lat_lng +"/vision:v1/LocationInfo": location_info +"/vision:v1/LocationInfo/latLng": lat_lng +"/vision:v1/Page": page +"/vision:v1/Page/blocks": blocks +"/vision:v1/Page/blocks/block": block +"/vision:v1/Page/height": height +"/vision:v1/Page/property": property +"/vision:v1/Page/width": width +"/vision:v1/Paragraph": paragraph +"/vision:v1/Paragraph/boundingBox": bounding_box +"/vision:v1/Paragraph/property": property +"/vision:v1/Paragraph/words": words +"/vision:v1/Paragraph/words/word": word +"/vision:v1/Position": position +"/vision:v1/Position/x": x +"/vision:v1/Position/y": y +"/vision:v1/Position/z": z +"/vision:v1/Property": property +"/vision:v1/Property/name": name +"/vision:v1/Property/uint64Value": uint64_value +"/vision:v1/Property/value": value +"/vision:v1/SafeSearchAnnotation": safe_search_annotation +"/vision:v1/SafeSearchAnnotation/adult": adult +"/vision:v1/SafeSearchAnnotation/medical": medical +"/vision:v1/SafeSearchAnnotation/spoof": spoof +"/vision:v1/SafeSearchAnnotation/violence": violence +"/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/Symbol": symbol +"/vision:v1/Symbol/boundingBox": bounding_box +"/vision:v1/Symbol/property": property +"/vision:v1/Symbol/text": text +"/vision:v1/TextAnnotation": text_annotation +"/vision:v1/TextAnnotation/pages": pages +"/vision:v1/TextAnnotation/pages/page": page +"/vision:v1/TextAnnotation/text": text +"/vision:v1/TextProperty": text_property +"/vision:v1/TextProperty/detectedBreak": detected_break +"/vision:v1/TextProperty/detectedLanguages": detected_languages +"/vision:v1/TextProperty/detectedLanguages/detected_language": detected_language +"/vision:v1/Vertex": vertex +"/vision:v1/Vertex/x": x +"/vision:v1/Vertex/y": y +"/vision:v1/WebDetection": web_detection +"/vision:v1/WebDetection/fullMatchingImages": full_matching_images +"/vision:v1/WebDetection/fullMatchingImages/full_matching_image": full_matching_image +"/vision:v1/WebDetection/pagesWithMatchingImages": pages_with_matching_images +"/vision:v1/WebDetection/pagesWithMatchingImages/pages_with_matching_image": pages_with_matching_image +"/vision:v1/WebDetection/partialMatchingImages": partial_matching_images +"/vision:v1/WebDetection/partialMatchingImages/partial_matching_image": partial_matching_image +"/vision:v1/WebDetection/visuallySimilarImages": visually_similar_images +"/vision:v1/WebDetection/visuallySimilarImages/visually_similar_image": visually_similar_image +"/vision:v1/WebDetection/webEntities": web_entities +"/vision:v1/WebDetection/webEntities/web_entity": web_entity +"/vision:v1/WebEntity": web_entity +"/vision:v1/WebEntity/description": description +"/vision:v1/WebEntity/entityId": entity_id +"/vision:v1/WebEntity/score": score +"/vision:v1/WebImage": web_image +"/vision:v1/WebImage/score": score +"/vision:v1/WebImage/url": url +"/vision:v1/WebPage": web_page +"/vision:v1/WebPage/score": score +"/vision:v1/WebPage/url": url +"/vision:v1/Word": word +"/vision:v1/Word/boundingBox": bounding_box +"/vision:v1/Word/property": property +"/vision:v1/Word/symbols": symbols +"/vision:v1/Word/symbols/symbol": symbol +"/vision:v1/fields": fields +"/vision:v1/key": key +"/vision:v1/quotaUser": quota_user +"/vision:v1/vision.images.annotate": annotate_image "/webfonts:v1/Webfont": webfont "/webfonts:v1/Webfont/category": category "/webfonts:v1/Webfont/family": family @@ -41025,45 +43392,12 @@ "/webfonts:v1/WebfontList/items": items "/webfonts:v1/WebfontList/items/item": item "/webfonts:v1/WebfontList/kind": kind -"/webmasters:v3/fields": fields -"/webmasters:v3/key": key -"/webmasters:v3/quotaUser": quota_user -"/webmasters:v3/userIp": user_ip -"/webmasters:v3/webmasters.searchanalytics.query/siteUrl": site_url -"/webmasters:v3/webmasters.sitemaps.delete": delete_sitemap -"/webmasters:v3/webmasters.sitemaps.delete/feedpath": feedpath -"/webmasters:v3/webmasters.sitemaps.delete/siteUrl": site_url -"/webmasters:v3/webmasters.sitemaps.get": get_sitemap -"/webmasters:v3/webmasters.sitemaps.get/feedpath": feedpath -"/webmasters:v3/webmasters.sitemaps.get/siteUrl": site_url -"/webmasters:v3/webmasters.sitemaps.list": list_sitemaps -"/webmasters:v3/webmasters.sitemaps.list/siteUrl": site_url -"/webmasters:v3/webmasters.sitemaps.list/sitemapIndex": sitemap_index -"/webmasters:v3/webmasters.sitemaps.submit": submit_sitemap -"/webmasters:v3/webmasters.sitemaps.submit/feedpath": feedpath -"/webmasters:v3/webmasters.sitemaps.submit/siteUrl": site_url -"/webmasters:v3/webmasters.sites.add": add_site -"/webmasters:v3/webmasters.sites.add/siteUrl": site_url -"/webmasters:v3/webmasters.sites.delete": delete_site -"/webmasters:v3/webmasters.sites.delete/siteUrl": site_url -"/webmasters:v3/webmasters.sites.get": get_site -"/webmasters:v3/webmasters.sites.get/siteUrl": site_url -"/webmasters:v3/webmasters.sites.list": list_sites -"/webmasters:v3/webmasters.urlcrawlerrorscounts.query/category": category -"/webmasters:v3/webmasters.urlcrawlerrorscounts.query/latestCountsOnly": latest_counts_only -"/webmasters:v3/webmasters.urlcrawlerrorscounts.query/platform": platform -"/webmasters:v3/webmasters.urlcrawlerrorscounts.query/siteUrl": site_url -"/webmasters:v3/webmasters.urlcrawlerrorssamples.get/category": category -"/webmasters:v3/webmasters.urlcrawlerrorssamples.get/platform": platform -"/webmasters:v3/webmasters.urlcrawlerrorssamples.get/siteUrl": site_url -"/webmasters:v3/webmasters.urlcrawlerrorssamples.get/url": url -"/webmasters:v3/webmasters.urlcrawlerrorssamples.list/category": category -"/webmasters:v3/webmasters.urlcrawlerrorssamples.list/platform": platform -"/webmasters:v3/webmasters.urlcrawlerrorssamples.list/siteUrl": site_url -"/webmasters:v3/webmasters.urlcrawlerrorssamples.markAsFixed/category": category -"/webmasters:v3/webmasters.urlcrawlerrorssamples.markAsFixed/platform": platform -"/webmasters:v3/webmasters.urlcrawlerrorssamples.markAsFixed/siteUrl": site_url -"/webmasters:v3/webmasters.urlcrawlerrorssamples.markAsFixed/url": url +"/webfonts:v1/fields": fields +"/webfonts:v1/key": key +"/webfonts:v1/quotaUser": quota_user +"/webfonts:v1/userIp": user_ip +"/webfonts:v1/webfonts.webfonts.list": list_webfonts +"/webfonts:v1/webfonts.webfonts.list/sort": sort "/webmasters:v3/ApiDataRow": api_data_row "/webmasters:v3/ApiDataRow/clicks": clicks "/webmasters:v3/ApiDataRow/ctr": ctr @@ -41094,8 +43428,10 @@ "/webmasters:v3/SearchAnalyticsQueryResponse/responseAggregationType": response_aggregation_type "/webmasters:v3/SearchAnalyticsQueryResponse/rows": rows "/webmasters:v3/SearchAnalyticsQueryResponse/rows/row": row +"/webmasters:v3/SitemapsListResponse": list_sitemaps_response "/webmasters:v3/SitemapsListResponse/sitemap": sitemap "/webmasters:v3/SitemapsListResponse/sitemap/sitemap": sitemap +"/webmasters:v3/SitesListResponse": list_sites_response "/webmasters:v3/SitesListResponse/siteEntry": site_entry "/webmasters:v3/SitesListResponse/siteEntry/site_entry": site_entry "/webmasters:v3/UrlCrawlErrorCount": url_crawl_error_count @@ -41106,6 +43442,7 @@ "/webmasters:v3/UrlCrawlErrorCountsPerType/entries": entries "/webmasters:v3/UrlCrawlErrorCountsPerType/entries/entry": entry "/webmasters:v3/UrlCrawlErrorCountsPerType/platform": platform +"/webmasters:v3/UrlCrawlErrorsCountsQueryResponse": query_url_crawl_errors_counts_response "/webmasters:v3/UrlCrawlErrorsCountsQueryResponse/countPerTypes": count_per_types "/webmasters:v3/UrlCrawlErrorsCountsQueryResponse/countPerTypes/count_per_type": count_per_type "/webmasters:v3/UrlCrawlErrorsSample": url_crawl_errors_sample @@ -41114,6 +43451,7 @@ "/webmasters:v3/UrlCrawlErrorsSample/pageUrl": page_url "/webmasters:v3/UrlCrawlErrorsSample/responseCode": response_code "/webmasters:v3/UrlCrawlErrorsSample/urlDetails": url_details +"/webmasters:v3/UrlCrawlErrorsSamplesListResponse": list_url_crawl_errors_samples_response "/webmasters:v3/UrlCrawlErrorsSamplesListResponse/urlCrawlErrorSample": url_crawl_error_sample "/webmasters:v3/UrlCrawlErrorsSamplesListResponse/urlCrawlErrorSample/url_crawl_error_sample": url_crawl_error_sample "/webmasters:v3/UrlSampleDetails": url_sample_details @@ -41139,6 +43477,1231 @@ "/webmasters:v3/WmxSitemapContent/indexed": indexed "/webmasters:v3/WmxSitemapContent/submitted": submitted "/webmasters:v3/WmxSitemapContent/type": type +"/webmasters:v3/fields": fields +"/webmasters:v3/key": key +"/webmasters:v3/quotaUser": quota_user +"/webmasters:v3/userIp": user_ip +"/webmasters:v3/webmasters.searchanalytics.query": query_search_analytics +"/webmasters:v3/webmasters.searchanalytics.query/siteUrl": site_url +"/webmasters:v3/webmasters.sitemaps.delete": delete_sitemap +"/webmasters:v3/webmasters.sitemaps.delete/feedpath": feedpath +"/webmasters:v3/webmasters.sitemaps.delete/siteUrl": site_url +"/webmasters:v3/webmasters.sitemaps.get": get_sitemap +"/webmasters:v3/webmasters.sitemaps.get/feedpath": feedpath +"/webmasters:v3/webmasters.sitemaps.get/siteUrl": site_url +"/webmasters:v3/webmasters.sitemaps.list": list_sitemaps +"/webmasters:v3/webmasters.sitemaps.list/siteUrl": site_url +"/webmasters:v3/webmasters.sitemaps.list/sitemapIndex": sitemap_index +"/webmasters:v3/webmasters.sitemaps.submit": submit_sitemap +"/webmasters:v3/webmasters.sitemaps.submit/feedpath": feedpath +"/webmasters:v3/webmasters.sitemaps.submit/siteUrl": site_url +"/webmasters:v3/webmasters.sites.add": add_site +"/webmasters:v3/webmasters.sites.add/siteUrl": site_url +"/webmasters:v3/webmasters.sites.delete": delete_site +"/webmasters:v3/webmasters.sites.delete/siteUrl": site_url +"/webmasters:v3/webmasters.sites.get": get_site +"/webmasters:v3/webmasters.sites.get/siteUrl": site_url +"/webmasters:v3/webmasters.sites.list": list_sites +"/webmasters:v3/webmasters.urlcrawlerrorscounts.query": query_errors_count +"/webmasters:v3/webmasters.urlcrawlerrorscounts.query/category": category +"/webmasters:v3/webmasters.urlcrawlerrorscounts.query/latestCountsOnly": latest_counts_only +"/webmasters:v3/webmasters.urlcrawlerrorscounts.query/platform": platform +"/webmasters:v3/webmasters.urlcrawlerrorscounts.query/siteUrl": site_url +"/webmasters:v3/webmasters.urlcrawlerrorssamples.get": get_errors_sample +"/webmasters:v3/webmasters.urlcrawlerrorssamples.get/category": category +"/webmasters:v3/webmasters.urlcrawlerrorssamples.get/platform": platform +"/webmasters:v3/webmasters.urlcrawlerrorssamples.get/siteUrl": site_url +"/webmasters:v3/webmasters.urlcrawlerrorssamples.get/url": url +"/webmasters:v3/webmasters.urlcrawlerrorssamples.list": list_errors_samples +"/webmasters:v3/webmasters.urlcrawlerrorssamples.list/category": category +"/webmasters:v3/webmasters.urlcrawlerrorssamples.list/platform": platform +"/webmasters:v3/webmasters.urlcrawlerrorssamples.list/siteUrl": site_url +"/webmasters:v3/webmasters.urlcrawlerrorssamples.markAsFixed": mark_as_fixed +"/webmasters:v3/webmasters.urlcrawlerrorssamples.markAsFixed/category": category +"/webmasters:v3/webmasters.urlcrawlerrorssamples.markAsFixed/platform": platform +"/webmasters:v3/webmasters.urlcrawlerrorssamples.markAsFixed/siteUrl": site_url +"/webmasters:v3/webmasters.urlcrawlerrorssamples.markAsFixed/url": url +"/youtube:v3/AccessPolicy": access_policy +"/youtube:v3/AccessPolicy/allowed": allowed +"/youtube:v3/AccessPolicy/exception": exception +"/youtube:v3/AccessPolicy/exception/exception": exception +"/youtube:v3/Activity": activity +"/youtube:v3/Activity/contentDetails": content_details +"/youtube:v3/Activity/etag": etag +"/youtube:v3/Activity/id": id +"/youtube:v3/Activity/kind": kind +"/youtube:v3/Activity/snippet": snippet +"/youtube:v3/ActivityContentDetails": activity_content_details +"/youtube:v3/ActivityContentDetails/bulletin": bulletin +"/youtube:v3/ActivityContentDetails/channelItem": channel_item +"/youtube:v3/ActivityContentDetails/comment": comment +"/youtube:v3/ActivityContentDetails/favorite": favorite +"/youtube:v3/ActivityContentDetails/like": like +"/youtube:v3/ActivityContentDetails/playlistItem": playlist_item +"/youtube:v3/ActivityContentDetails/promotedItem": promoted_item +"/youtube:v3/ActivityContentDetails/recommendation": recommendation +"/youtube:v3/ActivityContentDetails/social": social +"/youtube:v3/ActivityContentDetails/subscription": subscription +"/youtube:v3/ActivityContentDetails/upload": upload +"/youtube:v3/ActivityContentDetailsBulletin": activity_content_details_bulletin +"/youtube:v3/ActivityContentDetailsBulletin/resourceId": resource_id +"/youtube:v3/ActivityContentDetailsChannelItem": activity_content_details_channel_item +"/youtube:v3/ActivityContentDetailsChannelItem/resourceId": resource_id +"/youtube:v3/ActivityContentDetailsComment": activity_content_details_comment +"/youtube:v3/ActivityContentDetailsComment/resourceId": resource_id +"/youtube:v3/ActivityContentDetailsFavorite": activity_content_details_favorite +"/youtube:v3/ActivityContentDetailsFavorite/resourceId": resource_id +"/youtube:v3/ActivityContentDetailsLike": activity_content_details_like +"/youtube:v3/ActivityContentDetailsLike/resourceId": resource_id +"/youtube:v3/ActivityContentDetailsPlaylistItem": activity_content_details_playlist_item +"/youtube:v3/ActivityContentDetailsPlaylistItem/playlistId": playlist_id +"/youtube:v3/ActivityContentDetailsPlaylistItem/playlistItemId": playlist_item_id +"/youtube:v3/ActivityContentDetailsPlaylistItem/resourceId": resource_id +"/youtube:v3/ActivityContentDetailsPromotedItem": activity_content_details_promoted_item +"/youtube:v3/ActivityContentDetailsPromotedItem/adTag": ad_tag +"/youtube:v3/ActivityContentDetailsPromotedItem/clickTrackingUrl": click_tracking_url +"/youtube:v3/ActivityContentDetailsPromotedItem/creativeViewUrl": creative_view_url +"/youtube:v3/ActivityContentDetailsPromotedItem/ctaType": cta_type +"/youtube:v3/ActivityContentDetailsPromotedItem/customCtaButtonText": custom_cta_button_text +"/youtube:v3/ActivityContentDetailsPromotedItem/descriptionText": description_text +"/youtube:v3/ActivityContentDetailsPromotedItem/destinationUrl": destination_url +"/youtube:v3/ActivityContentDetailsPromotedItem/forecastingUrl": forecasting_url +"/youtube:v3/ActivityContentDetailsPromotedItem/forecastingUrl/forecasting_url": forecasting_url +"/youtube:v3/ActivityContentDetailsPromotedItem/impressionUrl": impression_url +"/youtube:v3/ActivityContentDetailsPromotedItem/impressionUrl/impression_url": impression_url +"/youtube:v3/ActivityContentDetailsPromotedItem/videoId": video_id +"/youtube:v3/ActivityContentDetailsRecommendation": activity_content_details_recommendation +"/youtube:v3/ActivityContentDetailsRecommendation/reason": reason +"/youtube:v3/ActivityContentDetailsRecommendation/resourceId": resource_id +"/youtube:v3/ActivityContentDetailsRecommendation/seedResourceId": seed_resource_id +"/youtube:v3/ActivityContentDetailsSocial": activity_content_details_social +"/youtube:v3/ActivityContentDetailsSocial/author": author +"/youtube:v3/ActivityContentDetailsSocial/imageUrl": image_url +"/youtube:v3/ActivityContentDetailsSocial/referenceUrl": reference_url +"/youtube:v3/ActivityContentDetailsSocial/resourceId": resource_id +"/youtube:v3/ActivityContentDetailsSocial/type": type +"/youtube:v3/ActivityContentDetailsSubscription": activity_content_details_subscription +"/youtube:v3/ActivityContentDetailsSubscription/resourceId": resource_id +"/youtube:v3/ActivityContentDetailsUpload": activity_content_details_upload +"/youtube:v3/ActivityContentDetailsUpload/videoId": video_id +"/youtube:v3/ActivityListResponse": list_activities_response +"/youtube:v3/ActivityListResponse/etag": etag +"/youtube:v3/ActivityListResponse/eventId": event_id +"/youtube:v3/ActivityListResponse/items": items +"/youtube:v3/ActivityListResponse/items/item": item +"/youtube:v3/ActivityListResponse/kind": kind +"/youtube:v3/ActivityListResponse/nextPageToken": next_page_token +"/youtube:v3/ActivityListResponse/pageInfo": page_info +"/youtube:v3/ActivityListResponse/prevPageToken": prev_page_token +"/youtube:v3/ActivityListResponse/tokenPagination": token_pagination +"/youtube:v3/ActivityListResponse/visitorId": visitor_id +"/youtube:v3/ActivitySnippet": activity_snippet +"/youtube:v3/ActivitySnippet/channelId": channel_id +"/youtube:v3/ActivitySnippet/channelTitle": channel_title +"/youtube:v3/ActivitySnippet/description": description +"/youtube:v3/ActivitySnippet/groupId": group_id +"/youtube:v3/ActivitySnippet/publishedAt": published_at +"/youtube:v3/ActivitySnippet/thumbnails": thumbnails +"/youtube:v3/ActivitySnippet/title": title +"/youtube:v3/ActivitySnippet/type": type +"/youtube:v3/Caption": caption +"/youtube:v3/Caption/etag": etag +"/youtube:v3/Caption/id": id +"/youtube:v3/Caption/kind": kind +"/youtube:v3/Caption/snippet": snippet +"/youtube:v3/CaptionListResponse": list_captions_response +"/youtube:v3/CaptionListResponse/etag": etag +"/youtube:v3/CaptionListResponse/eventId": event_id +"/youtube:v3/CaptionListResponse/items": items +"/youtube:v3/CaptionListResponse/items/item": item +"/youtube:v3/CaptionListResponse/kind": kind +"/youtube:v3/CaptionListResponse/visitorId": visitor_id +"/youtube:v3/CaptionSnippet": caption_snippet +"/youtube:v3/CaptionSnippet/audioTrackType": audio_track_type +"/youtube:v3/CaptionSnippet/failureReason": failure_reason +"/youtube:v3/CaptionSnippet/isAutoSynced": is_auto_synced +"/youtube:v3/CaptionSnippet/isCC": is_cc +"/youtube:v3/CaptionSnippet/isDraft": is_draft +"/youtube:v3/CaptionSnippet/isEasyReader": is_easy_reader +"/youtube:v3/CaptionSnippet/isLarge": is_large +"/youtube:v3/CaptionSnippet/language": language +"/youtube:v3/CaptionSnippet/lastUpdated": last_updated +"/youtube:v3/CaptionSnippet/name": name +"/youtube:v3/CaptionSnippet/status": status +"/youtube:v3/CaptionSnippet/trackKind": track_kind +"/youtube:v3/CaptionSnippet/videoId": video_id +"/youtube:v3/CdnSettings": cdn_settings +"/youtube:v3/CdnSettings/format": format +"/youtube:v3/CdnSettings/frameRate": frame_rate +"/youtube:v3/CdnSettings/ingestionInfo": ingestion_info +"/youtube:v3/CdnSettings/ingestionType": ingestion_type +"/youtube:v3/CdnSettings/resolution": resolution +"/youtube:v3/Channel": channel +"/youtube:v3/Channel/auditDetails": audit_details +"/youtube:v3/Channel/brandingSettings": branding_settings +"/youtube:v3/Channel/contentDetails": content_details +"/youtube:v3/Channel/contentOwnerDetails": content_owner_details +"/youtube:v3/Channel/conversionPings": conversion_pings +"/youtube:v3/Channel/etag": etag +"/youtube:v3/Channel/id": id +"/youtube:v3/Channel/invideoPromotion": invideo_promotion +"/youtube:v3/Channel/kind": kind +"/youtube:v3/Channel/localizations": localizations +"/youtube:v3/Channel/localizations/localization": localization +"/youtube:v3/Channel/snippet": snippet +"/youtube:v3/Channel/statistics": statistics +"/youtube:v3/Channel/status": status +"/youtube:v3/Channel/topicDetails": topic_details +"/youtube:v3/ChannelAuditDetails": channel_audit_details +"/youtube:v3/ChannelAuditDetails/communityGuidelinesGoodStanding": community_guidelines_good_standing +"/youtube:v3/ChannelAuditDetails/contentIdClaimsGoodStanding": content_id_claims_good_standing +"/youtube:v3/ChannelAuditDetails/copyrightStrikesGoodStanding": copyright_strikes_good_standing +"/youtube:v3/ChannelAuditDetails/overallGoodStanding": overall_good_standing +"/youtube:v3/ChannelBannerResource": channel_banner_resource +"/youtube:v3/ChannelBannerResource/etag": etag +"/youtube:v3/ChannelBannerResource/kind": kind +"/youtube:v3/ChannelBannerResource/url": url +"/youtube:v3/ChannelBrandingSettings": channel_branding_settings +"/youtube:v3/ChannelBrandingSettings/channel": channel +"/youtube:v3/ChannelBrandingSettings/hints": hints +"/youtube:v3/ChannelBrandingSettings/hints/hint": hint +"/youtube:v3/ChannelBrandingSettings/image": image +"/youtube:v3/ChannelBrandingSettings/watch": watch +"/youtube:v3/ChannelContentDetails": channel_content_details +"/youtube:v3/ChannelContentDetails/relatedPlaylists": related_playlists +"/youtube:v3/ChannelContentDetails/relatedPlaylists/favorites": favorites +"/youtube:v3/ChannelContentDetails/relatedPlaylists/likes": likes +"/youtube:v3/ChannelContentDetails/relatedPlaylists/uploads": uploads +"/youtube:v3/ChannelContentDetails/relatedPlaylists/watchHistory": watch_history +"/youtube:v3/ChannelContentDetails/relatedPlaylists/watchLater": watch_later +"/youtube:v3/ChannelContentOwnerDetails": channel_content_owner_details +"/youtube:v3/ChannelContentOwnerDetails/contentOwner": content_owner +"/youtube:v3/ChannelContentOwnerDetails/timeLinked": time_linked +"/youtube:v3/ChannelConversionPing": channel_conversion_ping +"/youtube:v3/ChannelConversionPing/context": context +"/youtube:v3/ChannelConversionPing/conversionUrl": conversion_url +"/youtube:v3/ChannelConversionPings": channel_conversion_pings +"/youtube:v3/ChannelConversionPings/pings": pings +"/youtube:v3/ChannelConversionPings/pings/ping": ping +"/youtube:v3/ChannelListResponse": list_channels_response +"/youtube:v3/ChannelListResponse/etag": etag +"/youtube:v3/ChannelListResponse/eventId": event_id +"/youtube:v3/ChannelListResponse/items": items +"/youtube:v3/ChannelListResponse/items/item": item +"/youtube:v3/ChannelListResponse/kind": kind +"/youtube:v3/ChannelListResponse/nextPageToken": next_page_token +"/youtube:v3/ChannelListResponse/pageInfo": page_info +"/youtube:v3/ChannelListResponse/prevPageToken": prev_page_token +"/youtube:v3/ChannelListResponse/tokenPagination": token_pagination +"/youtube:v3/ChannelListResponse/visitorId": visitor_id +"/youtube:v3/ChannelLocalization": channel_localization +"/youtube:v3/ChannelLocalization/description": description +"/youtube:v3/ChannelLocalization/title": title +"/youtube:v3/ChannelProfileDetails": channel_profile_details +"/youtube:v3/ChannelProfileDetails/channelId": channel_id +"/youtube:v3/ChannelProfileDetails/channelUrl": channel_url +"/youtube:v3/ChannelProfileDetails/displayName": display_name +"/youtube:v3/ChannelProfileDetails/profileImageUrl": profile_image_url +"/youtube:v3/ChannelSection": channel_section +"/youtube:v3/ChannelSection/contentDetails": content_details +"/youtube:v3/ChannelSection/etag": etag +"/youtube:v3/ChannelSection/id": id +"/youtube:v3/ChannelSection/kind": kind +"/youtube:v3/ChannelSection/localizations": localizations +"/youtube:v3/ChannelSection/localizations/localization": localization +"/youtube:v3/ChannelSection/snippet": snippet +"/youtube:v3/ChannelSection/targeting": targeting +"/youtube:v3/ChannelSectionContentDetails": channel_section_content_details +"/youtube:v3/ChannelSectionContentDetails/channels": channels +"/youtube:v3/ChannelSectionContentDetails/channels/channel": channel +"/youtube:v3/ChannelSectionContentDetails/playlists": playlists +"/youtube:v3/ChannelSectionContentDetails/playlists/playlist": playlist +"/youtube:v3/ChannelSectionListResponse": list_channel_sections_response +"/youtube:v3/ChannelSectionListResponse/etag": etag +"/youtube:v3/ChannelSectionListResponse/eventId": event_id +"/youtube:v3/ChannelSectionListResponse/items": items +"/youtube:v3/ChannelSectionListResponse/items/item": item +"/youtube:v3/ChannelSectionListResponse/kind": kind +"/youtube:v3/ChannelSectionListResponse/visitorId": visitor_id +"/youtube:v3/ChannelSectionLocalization": channel_section_localization +"/youtube:v3/ChannelSectionLocalization/title": title +"/youtube:v3/ChannelSectionSnippet": channel_section_snippet +"/youtube:v3/ChannelSectionSnippet/channelId": channel_id +"/youtube:v3/ChannelSectionSnippet/defaultLanguage": default_language +"/youtube:v3/ChannelSectionSnippet/localized": localized +"/youtube:v3/ChannelSectionSnippet/position": position +"/youtube:v3/ChannelSectionSnippet/style": style +"/youtube:v3/ChannelSectionSnippet/title": title +"/youtube:v3/ChannelSectionSnippet/type": type +"/youtube:v3/ChannelSectionTargeting": channel_section_targeting +"/youtube:v3/ChannelSectionTargeting/countries": countries +"/youtube:v3/ChannelSectionTargeting/countries/country": country +"/youtube:v3/ChannelSectionTargeting/languages": languages +"/youtube:v3/ChannelSectionTargeting/languages/language": language +"/youtube:v3/ChannelSectionTargeting/regions": regions +"/youtube:v3/ChannelSectionTargeting/regions/region": region +"/youtube:v3/ChannelSettings": channel_settings +"/youtube:v3/ChannelSettings/country": country +"/youtube:v3/ChannelSettings/defaultLanguage": default_language +"/youtube:v3/ChannelSettings/defaultTab": default_tab +"/youtube:v3/ChannelSettings/description": description +"/youtube:v3/ChannelSettings/featuredChannelsTitle": featured_channels_title +"/youtube:v3/ChannelSettings/featuredChannelsUrls": featured_channels_urls +"/youtube:v3/ChannelSettings/featuredChannelsUrls/featured_channels_url": featured_channels_url +"/youtube:v3/ChannelSettings/keywords": keywords +"/youtube:v3/ChannelSettings/moderateComments": moderate_comments +"/youtube:v3/ChannelSettings/profileColor": profile_color +"/youtube:v3/ChannelSettings/showBrowseView": show_browse_view +"/youtube:v3/ChannelSettings/showRelatedChannels": show_related_channels +"/youtube:v3/ChannelSettings/title": title +"/youtube:v3/ChannelSettings/trackingAnalyticsAccountId": tracking_analytics_account_id +"/youtube:v3/ChannelSettings/unsubscribedTrailer": unsubscribed_trailer +"/youtube:v3/ChannelSnippet": channel_snippet +"/youtube:v3/ChannelSnippet/country": country +"/youtube:v3/ChannelSnippet/customUrl": custom_url +"/youtube:v3/ChannelSnippet/defaultLanguage": default_language +"/youtube:v3/ChannelSnippet/description": description +"/youtube:v3/ChannelSnippet/localized": localized +"/youtube:v3/ChannelSnippet/publishedAt": published_at +"/youtube:v3/ChannelSnippet/thumbnails": thumbnails +"/youtube:v3/ChannelSnippet/title": title +"/youtube:v3/ChannelStatistics": channel_statistics +"/youtube:v3/ChannelStatistics/commentCount": comment_count +"/youtube:v3/ChannelStatistics/hiddenSubscriberCount": hidden_subscriber_count +"/youtube:v3/ChannelStatistics/subscriberCount": subscriber_count +"/youtube:v3/ChannelStatistics/videoCount": video_count +"/youtube:v3/ChannelStatistics/viewCount": view_count +"/youtube:v3/ChannelStatus": channel_status +"/youtube:v3/ChannelStatus/isLinked": is_linked +"/youtube:v3/ChannelStatus/longUploadsStatus": long_uploads_status +"/youtube:v3/ChannelStatus/privacyStatus": privacy_status +"/youtube:v3/ChannelTopicDetails": channel_topic_details +"/youtube:v3/ChannelTopicDetails/topicCategories": topic_categories +"/youtube:v3/ChannelTopicDetails/topicCategories/topic_category": topic_category +"/youtube:v3/ChannelTopicDetails/topicIds": topic_ids +"/youtube:v3/ChannelTopicDetails/topicIds/topic_id": topic_id +"/youtube:v3/Comment": comment +"/youtube:v3/Comment/etag": etag +"/youtube:v3/Comment/id": id +"/youtube:v3/Comment/kind": kind +"/youtube:v3/Comment/snippet": snippet +"/youtube:v3/CommentListResponse": list_comments_response +"/youtube:v3/CommentListResponse/etag": etag +"/youtube:v3/CommentListResponse/eventId": event_id +"/youtube:v3/CommentListResponse/items": items +"/youtube:v3/CommentListResponse/items/item": item +"/youtube:v3/CommentListResponse/kind": kind +"/youtube:v3/CommentListResponse/nextPageToken": next_page_token +"/youtube:v3/CommentListResponse/pageInfo": page_info +"/youtube:v3/CommentListResponse/tokenPagination": token_pagination +"/youtube:v3/CommentListResponse/visitorId": visitor_id +"/youtube:v3/CommentSnippet": comment_snippet +"/youtube:v3/CommentSnippet/authorChannelId": author_channel_id +"/youtube:v3/CommentSnippet/authorChannelUrl": author_channel_url +"/youtube:v3/CommentSnippet/authorDisplayName": author_display_name +"/youtube:v3/CommentSnippet/authorProfileImageUrl": author_profile_image_url +"/youtube:v3/CommentSnippet/canRate": can_rate +"/youtube:v3/CommentSnippet/channelId": channel_id +"/youtube:v3/CommentSnippet/likeCount": like_count +"/youtube:v3/CommentSnippet/moderationStatus": moderation_status +"/youtube:v3/CommentSnippet/parentId": parent_id +"/youtube:v3/CommentSnippet/publishedAt": published_at +"/youtube:v3/CommentSnippet/textDisplay": text_display +"/youtube:v3/CommentSnippet/textOriginal": text_original +"/youtube:v3/CommentSnippet/updatedAt": updated_at +"/youtube:v3/CommentSnippet/videoId": video_id +"/youtube:v3/CommentSnippet/viewerRating": viewer_rating +"/youtube:v3/CommentThread": comment_thread +"/youtube:v3/CommentThread/etag": etag +"/youtube:v3/CommentThread/id": id +"/youtube:v3/CommentThread/kind": kind +"/youtube:v3/CommentThread/replies": replies +"/youtube:v3/CommentThread/snippet": snippet +"/youtube:v3/CommentThreadListResponse": list_comment_threads_response +"/youtube:v3/CommentThreadListResponse/etag": etag +"/youtube:v3/CommentThreadListResponse/eventId": event_id +"/youtube:v3/CommentThreadListResponse/items": items +"/youtube:v3/CommentThreadListResponse/items/item": item +"/youtube:v3/CommentThreadListResponse/kind": kind +"/youtube:v3/CommentThreadListResponse/nextPageToken": next_page_token +"/youtube:v3/CommentThreadListResponse/pageInfo": page_info +"/youtube:v3/CommentThreadListResponse/tokenPagination": token_pagination +"/youtube:v3/CommentThreadListResponse/visitorId": visitor_id +"/youtube:v3/CommentThreadReplies": comment_thread_replies +"/youtube:v3/CommentThreadReplies/comments": comments +"/youtube:v3/CommentThreadReplies/comments/comment": comment +"/youtube:v3/CommentThreadSnippet": comment_thread_snippet +"/youtube:v3/CommentThreadSnippet/canReply": can_reply +"/youtube:v3/CommentThreadSnippet/channelId": channel_id +"/youtube:v3/CommentThreadSnippet/isPublic": is_public +"/youtube:v3/CommentThreadSnippet/topLevelComment": top_level_comment +"/youtube:v3/CommentThreadSnippet/totalReplyCount": total_reply_count +"/youtube:v3/CommentThreadSnippet/videoId": video_id +"/youtube:v3/ContentRating": content_rating +"/youtube:v3/ContentRating/acbRating": acb_rating +"/youtube:v3/ContentRating/agcomRating": agcom_rating +"/youtube:v3/ContentRating/anatelRating": anatel_rating +"/youtube:v3/ContentRating/bbfcRating": bbfc_rating +"/youtube:v3/ContentRating/bfvcRating": bfvc_rating +"/youtube:v3/ContentRating/bmukkRating": bmukk_rating +"/youtube:v3/ContentRating/catvRating": catv_rating +"/youtube:v3/ContentRating/catvfrRating": catvfr_rating +"/youtube:v3/ContentRating/cbfcRating": cbfc_rating +"/youtube:v3/ContentRating/cccRating": ccc_rating +"/youtube:v3/ContentRating/cceRating": cce_rating +"/youtube:v3/ContentRating/chfilmRating": chfilm_rating +"/youtube:v3/ContentRating/chvrsRating": chvrs_rating +"/youtube:v3/ContentRating/cicfRating": cicf_rating +"/youtube:v3/ContentRating/cnaRating": cna_rating +"/youtube:v3/ContentRating/cncRating": cnc_rating +"/youtube:v3/ContentRating/csaRating": csa_rating +"/youtube:v3/ContentRating/cscfRating": cscf_rating +"/youtube:v3/ContentRating/czfilmRating": czfilm_rating +"/youtube:v3/ContentRating/djctqRating": djctq_rating +"/youtube:v3/ContentRating/djctqRatingReasons": djctq_rating_reasons +"/youtube:v3/ContentRating/djctqRatingReasons/djctq_rating_reason": djctq_rating_reason +"/youtube:v3/ContentRating/ecbmctRating": ecbmct_rating +"/youtube:v3/ContentRating/eefilmRating": eefilm_rating +"/youtube:v3/ContentRating/egfilmRating": egfilm_rating +"/youtube:v3/ContentRating/eirinRating": eirin_rating +"/youtube:v3/ContentRating/fcbmRating": fcbm_rating +"/youtube:v3/ContentRating/fcoRating": fco_rating +"/youtube:v3/ContentRating/fmocRating": fmoc_rating +"/youtube:v3/ContentRating/fpbRating": fpb_rating +"/youtube:v3/ContentRating/fpbRatingReasons": fpb_rating_reasons +"/youtube:v3/ContentRating/fpbRatingReasons/fpb_rating_reason": fpb_rating_reason +"/youtube:v3/ContentRating/fskRating": fsk_rating +"/youtube:v3/ContentRating/grfilmRating": grfilm_rating +"/youtube:v3/ContentRating/icaaRating": icaa_rating +"/youtube:v3/ContentRating/ifcoRating": ifco_rating +"/youtube:v3/ContentRating/ilfilmRating": ilfilm_rating +"/youtube:v3/ContentRating/incaaRating": incaa_rating +"/youtube:v3/ContentRating/kfcbRating": kfcb_rating +"/youtube:v3/ContentRating/kijkwijzerRating": kijkwijzer_rating +"/youtube:v3/ContentRating/kmrbRating": kmrb_rating +"/youtube:v3/ContentRating/lsfRating": lsf_rating +"/youtube:v3/ContentRating/mccaaRating": mccaa_rating +"/youtube:v3/ContentRating/mccypRating": mccyp_rating +"/youtube:v3/ContentRating/mcstRating": mcst_rating +"/youtube:v3/ContentRating/mdaRating": mda_rating +"/youtube:v3/ContentRating/medietilsynetRating": medietilsynet_rating +"/youtube:v3/ContentRating/mekuRating": meku_rating +"/youtube:v3/ContentRating/mibacRating": mibac_rating +"/youtube:v3/ContentRating/mocRating": moc_rating +"/youtube:v3/ContentRating/moctwRating": moctw_rating +"/youtube:v3/ContentRating/mpaaRating": mpaa_rating +"/youtube:v3/ContentRating/mtrcbRating": mtrcb_rating +"/youtube:v3/ContentRating/nbcRating": nbc_rating +"/youtube:v3/ContentRating/nbcplRating": nbcpl_rating +"/youtube:v3/ContentRating/nfrcRating": nfrc_rating +"/youtube:v3/ContentRating/nfvcbRating": nfvcb_rating +"/youtube:v3/ContentRating/nkclvRating": nkclv_rating +"/youtube:v3/ContentRating/oflcRating": oflc_rating +"/youtube:v3/ContentRating/pefilmRating": pefilm_rating +"/youtube:v3/ContentRating/rcnofRating": rcnof_rating +"/youtube:v3/ContentRating/resorteviolenciaRating": resorteviolencia_rating +"/youtube:v3/ContentRating/rtcRating": rtc_rating +"/youtube:v3/ContentRating/rteRating": rte_rating +"/youtube:v3/ContentRating/russiaRating": russia_rating +"/youtube:v3/ContentRating/skfilmRating": skfilm_rating +"/youtube:v3/ContentRating/smaisRating": smais_rating +"/youtube:v3/ContentRating/smsaRating": smsa_rating +"/youtube:v3/ContentRating/tvpgRating": tvpg_rating +"/youtube:v3/ContentRating/ytRating": yt_rating +"/youtube:v3/FanFundingEvent": fan_funding_event +"/youtube:v3/FanFundingEvent/etag": etag +"/youtube:v3/FanFundingEvent/id": id +"/youtube:v3/FanFundingEvent/kind": kind +"/youtube:v3/FanFundingEvent/snippet": snippet +"/youtube:v3/FanFundingEventListResponse": fan_funding_event_list_response +"/youtube:v3/FanFundingEventListResponse/etag": etag +"/youtube:v3/FanFundingEventListResponse/eventId": event_id +"/youtube:v3/FanFundingEventListResponse/items": items +"/youtube:v3/FanFundingEventListResponse/items/item": item +"/youtube:v3/FanFundingEventListResponse/kind": kind +"/youtube:v3/FanFundingEventListResponse/nextPageToken": next_page_token +"/youtube:v3/FanFundingEventListResponse/pageInfo": page_info +"/youtube:v3/FanFundingEventListResponse/tokenPagination": token_pagination +"/youtube:v3/FanFundingEventListResponse/visitorId": visitor_id +"/youtube:v3/FanFundingEventSnippet": fan_funding_event_snippet +"/youtube:v3/FanFundingEventSnippet/amountMicros": amount_micros +"/youtube:v3/FanFundingEventSnippet/channelId": channel_id +"/youtube:v3/FanFundingEventSnippet/commentText": comment_text +"/youtube:v3/FanFundingEventSnippet/createdAt": created_at +"/youtube:v3/FanFundingEventSnippet/currency": currency +"/youtube:v3/FanFundingEventSnippet/displayString": display_string +"/youtube:v3/FanFundingEventSnippet/supporterDetails": supporter_details +"/youtube:v3/GeoPoint": geo_point +"/youtube:v3/GeoPoint/altitude": altitude +"/youtube:v3/GeoPoint/latitude": latitude +"/youtube:v3/GeoPoint/longitude": longitude +"/youtube:v3/GuideCategory": guide_category +"/youtube:v3/GuideCategory/etag": etag +"/youtube:v3/GuideCategory/id": id +"/youtube:v3/GuideCategory/kind": kind +"/youtube:v3/GuideCategory/snippet": snippet +"/youtube:v3/GuideCategoryListResponse": list_guide_categories_response +"/youtube:v3/GuideCategoryListResponse/etag": etag +"/youtube:v3/GuideCategoryListResponse/eventId": event_id +"/youtube:v3/GuideCategoryListResponse/items": items +"/youtube:v3/GuideCategoryListResponse/items/item": item +"/youtube:v3/GuideCategoryListResponse/kind": kind +"/youtube:v3/GuideCategoryListResponse/nextPageToken": next_page_token +"/youtube:v3/GuideCategoryListResponse/pageInfo": page_info +"/youtube:v3/GuideCategoryListResponse/prevPageToken": prev_page_token +"/youtube:v3/GuideCategoryListResponse/tokenPagination": token_pagination +"/youtube:v3/GuideCategoryListResponse/visitorId": visitor_id +"/youtube:v3/GuideCategorySnippet": guide_category_snippet +"/youtube:v3/GuideCategorySnippet/channelId": channel_id +"/youtube:v3/GuideCategorySnippet/title": title +"/youtube:v3/I18nLanguage": i18n_language +"/youtube:v3/I18nLanguage/etag": etag +"/youtube:v3/I18nLanguage/id": id +"/youtube:v3/I18nLanguage/kind": kind +"/youtube:v3/I18nLanguage/snippet": snippet +"/youtube:v3/I18nLanguageListResponse": list_i18n_languages_response +"/youtube:v3/I18nLanguageListResponse/etag": etag +"/youtube:v3/I18nLanguageListResponse/eventId": event_id +"/youtube:v3/I18nLanguageListResponse/items": items +"/youtube:v3/I18nLanguageListResponse/items/item": item +"/youtube:v3/I18nLanguageListResponse/kind": kind +"/youtube:v3/I18nLanguageListResponse/visitorId": visitor_id +"/youtube:v3/I18nLanguageSnippet": i18n_language_snippet +"/youtube:v3/I18nLanguageSnippet/hl": hl +"/youtube:v3/I18nLanguageSnippet/name": name +"/youtube:v3/I18nRegion": i18n_region +"/youtube:v3/I18nRegion/etag": etag +"/youtube:v3/I18nRegion/id": id +"/youtube:v3/I18nRegion/kind": kind +"/youtube:v3/I18nRegion/snippet": snippet +"/youtube:v3/I18nRegionListResponse": list_i18n_regions_response +"/youtube:v3/I18nRegionListResponse/etag": etag +"/youtube:v3/I18nRegionListResponse/eventId": event_id +"/youtube:v3/I18nRegionListResponse/items": items +"/youtube:v3/I18nRegionListResponse/items/item": item +"/youtube:v3/I18nRegionListResponse/kind": kind +"/youtube:v3/I18nRegionListResponse/visitorId": visitor_id +"/youtube:v3/I18nRegionSnippet": i18n_region_snippet +"/youtube:v3/I18nRegionSnippet/gl": gl +"/youtube:v3/I18nRegionSnippet/name": name +"/youtube:v3/ImageSettings": image_settings +"/youtube:v3/ImageSettings/backgroundImageUrl": background_image_url +"/youtube:v3/ImageSettings/bannerExternalUrl": banner_external_url +"/youtube:v3/ImageSettings/bannerImageUrl": banner_image_url +"/youtube:v3/ImageSettings/bannerMobileExtraHdImageUrl": banner_mobile_extra_hd_image_url +"/youtube:v3/ImageSettings/bannerMobileHdImageUrl": banner_mobile_hd_image_url +"/youtube:v3/ImageSettings/bannerMobileImageUrl": banner_mobile_image_url +"/youtube:v3/ImageSettings/bannerMobileLowImageUrl": banner_mobile_low_image_url +"/youtube:v3/ImageSettings/bannerMobileMediumHdImageUrl": banner_mobile_medium_hd_image_url +"/youtube:v3/ImageSettings/bannerTabletExtraHdImageUrl": banner_tablet_extra_hd_image_url +"/youtube:v3/ImageSettings/bannerTabletHdImageUrl": banner_tablet_hd_image_url +"/youtube:v3/ImageSettings/bannerTabletImageUrl": banner_tablet_image_url +"/youtube:v3/ImageSettings/bannerTabletLowImageUrl": banner_tablet_low_image_url +"/youtube:v3/ImageSettings/bannerTvHighImageUrl": banner_tv_high_image_url +"/youtube:v3/ImageSettings/bannerTvImageUrl": banner_tv_image_url +"/youtube:v3/ImageSettings/bannerTvLowImageUrl": banner_tv_low_image_url +"/youtube:v3/ImageSettings/bannerTvMediumImageUrl": banner_tv_medium_image_url +"/youtube:v3/ImageSettings/largeBrandedBannerImageImapScript": large_branded_banner_image_imap_script +"/youtube:v3/ImageSettings/largeBrandedBannerImageUrl": large_branded_banner_image_url +"/youtube:v3/ImageSettings/smallBrandedBannerImageImapScript": small_branded_banner_image_imap_script +"/youtube:v3/ImageSettings/smallBrandedBannerImageUrl": small_branded_banner_image_url +"/youtube:v3/ImageSettings/trackingImageUrl": tracking_image_url +"/youtube:v3/ImageSettings/watchIconImageUrl": watch_icon_image_url +"/youtube:v3/IngestionInfo": ingestion_info +"/youtube:v3/IngestionInfo/backupIngestionAddress": backup_ingestion_address +"/youtube:v3/IngestionInfo/ingestionAddress": ingestion_address +"/youtube:v3/IngestionInfo/streamName": stream_name +"/youtube:v3/InvideoBranding": invideo_branding +"/youtube:v3/InvideoBranding/imageBytes": image_bytes +"/youtube:v3/InvideoBranding/imageUrl": image_url +"/youtube:v3/InvideoBranding/position": position +"/youtube:v3/InvideoBranding/targetChannelId": target_channel_id +"/youtube:v3/InvideoBranding/timing": timing +"/youtube:v3/InvideoPosition": invideo_position +"/youtube:v3/InvideoPosition/cornerPosition": corner_position +"/youtube:v3/InvideoPosition/type": type +"/youtube:v3/InvideoPromotion": invideo_promotion +"/youtube:v3/InvideoPromotion/defaultTiming": default_timing +"/youtube:v3/InvideoPromotion/items": items +"/youtube:v3/InvideoPromotion/items/item": item +"/youtube:v3/InvideoPromotion/position": position +"/youtube:v3/InvideoPromotion/useSmartTiming": use_smart_timing +"/youtube:v3/InvideoTiming": invideo_timing +"/youtube:v3/InvideoTiming/durationMs": duration_ms +"/youtube:v3/InvideoTiming/offsetMs": offset_ms +"/youtube:v3/InvideoTiming/type": type +"/youtube:v3/LanguageTag": language_tag +"/youtube:v3/LanguageTag/value": value +"/youtube:v3/LiveBroadcast": live_broadcast +"/youtube:v3/LiveBroadcast/contentDetails": content_details +"/youtube:v3/LiveBroadcast/etag": etag +"/youtube:v3/LiveBroadcast/id": id +"/youtube:v3/LiveBroadcast/kind": kind +"/youtube:v3/LiveBroadcast/snippet": snippet +"/youtube:v3/LiveBroadcast/statistics": statistics +"/youtube:v3/LiveBroadcast/status": status +"/youtube:v3/LiveBroadcast/topicDetails": topic_details +"/youtube:v3/LiveBroadcastContentDetails": live_broadcast_content_details +"/youtube:v3/LiveBroadcastContentDetails/boundStreamId": bound_stream_id +"/youtube:v3/LiveBroadcastContentDetails/boundStreamLastUpdateTimeMs": bound_stream_last_update_time_ms +"/youtube:v3/LiveBroadcastContentDetails/closedCaptionsType": closed_captions_type +"/youtube:v3/LiveBroadcastContentDetails/enableClosedCaptions": enable_closed_captions +"/youtube:v3/LiveBroadcastContentDetails/enableContentEncryption": enable_content_encryption +"/youtube:v3/LiveBroadcastContentDetails/enableDvr": enable_dvr +"/youtube:v3/LiveBroadcastContentDetails/enableEmbed": enable_embed +"/youtube:v3/LiveBroadcastContentDetails/enableLowLatency": enable_low_latency +"/youtube:v3/LiveBroadcastContentDetails/monitorStream": monitor_stream +"/youtube:v3/LiveBroadcastContentDetails/projection": projection +"/youtube:v3/LiveBroadcastContentDetails/recordFromStart": record_from_start +"/youtube:v3/LiveBroadcastContentDetails/startWithSlate": start_with_slate +"/youtube:v3/LiveBroadcastListResponse": list_live_broadcasts_response +"/youtube:v3/LiveBroadcastListResponse/etag": etag +"/youtube:v3/LiveBroadcastListResponse/eventId": event_id +"/youtube:v3/LiveBroadcastListResponse/items": items +"/youtube:v3/LiveBroadcastListResponse/items/item": item +"/youtube:v3/LiveBroadcastListResponse/kind": kind +"/youtube:v3/LiveBroadcastListResponse/nextPageToken": next_page_token +"/youtube:v3/LiveBroadcastListResponse/pageInfo": page_info +"/youtube:v3/LiveBroadcastListResponse/prevPageToken": prev_page_token +"/youtube:v3/LiveBroadcastListResponse/tokenPagination": token_pagination +"/youtube:v3/LiveBroadcastListResponse/visitorId": visitor_id +"/youtube:v3/LiveBroadcastSnippet": live_broadcast_snippet +"/youtube:v3/LiveBroadcastSnippet/actualEndTime": actual_end_time +"/youtube:v3/LiveBroadcastSnippet/actualStartTime": actual_start_time +"/youtube:v3/LiveBroadcastSnippet/channelId": channel_id +"/youtube:v3/LiveBroadcastSnippet/description": description +"/youtube:v3/LiveBroadcastSnippet/isDefaultBroadcast": is_default_broadcast +"/youtube:v3/LiveBroadcastSnippet/liveChatId": live_chat_id +"/youtube:v3/LiveBroadcastSnippet/publishedAt": published_at +"/youtube:v3/LiveBroadcastSnippet/scheduledEndTime": scheduled_end_time +"/youtube:v3/LiveBroadcastSnippet/scheduledStartTime": scheduled_start_time +"/youtube:v3/LiveBroadcastSnippet/thumbnails": thumbnails +"/youtube:v3/LiveBroadcastSnippet/title": title +"/youtube:v3/LiveBroadcastStatistics": live_broadcast_statistics +"/youtube:v3/LiveBroadcastStatistics/concurrentViewers": concurrent_viewers +"/youtube:v3/LiveBroadcastStatistics/totalChatCount": total_chat_count +"/youtube:v3/LiveBroadcastStatus": live_broadcast_status +"/youtube:v3/LiveBroadcastStatus/lifeCycleStatus": life_cycle_status +"/youtube:v3/LiveBroadcastStatus/liveBroadcastPriority": live_broadcast_priority +"/youtube:v3/LiveBroadcastStatus/privacyStatus": privacy_status +"/youtube:v3/LiveBroadcastStatus/recordingStatus": recording_status +"/youtube:v3/LiveBroadcastTopic": live_broadcast_topic +"/youtube:v3/LiveBroadcastTopic/snippet": snippet +"/youtube:v3/LiveBroadcastTopic/type": type +"/youtube:v3/LiveBroadcastTopic/unmatched": unmatched +"/youtube:v3/LiveBroadcastTopicDetails": live_broadcast_topic_details +"/youtube:v3/LiveBroadcastTopicDetails/topics": topics +"/youtube:v3/LiveBroadcastTopicDetails/topics/topic": topic +"/youtube:v3/LiveBroadcastTopicSnippet": live_broadcast_topic_snippet +"/youtube:v3/LiveBroadcastTopicSnippet/name": name +"/youtube:v3/LiveBroadcastTopicSnippet/releaseDate": release_date +"/youtube:v3/LiveChatBan": live_chat_ban +"/youtube:v3/LiveChatBan/etag": etag +"/youtube:v3/LiveChatBan/id": id +"/youtube:v3/LiveChatBan/kind": kind +"/youtube:v3/LiveChatBan/snippet": snippet +"/youtube:v3/LiveChatBanSnippet": live_chat_ban_snippet +"/youtube:v3/LiveChatBanSnippet/banDurationSeconds": ban_duration_seconds +"/youtube:v3/LiveChatBanSnippet/bannedUserDetails": banned_user_details +"/youtube:v3/LiveChatBanSnippet/liveChatId": live_chat_id +"/youtube:v3/LiveChatBanSnippet/type": type +"/youtube:v3/LiveChatFanFundingEventDetails": live_chat_fan_funding_event_details +"/youtube:v3/LiveChatFanFundingEventDetails/amountDisplayString": amount_display_string +"/youtube:v3/LiveChatFanFundingEventDetails/amountMicros": amount_micros +"/youtube:v3/LiveChatFanFundingEventDetails/currency": currency +"/youtube:v3/LiveChatFanFundingEventDetails/userComment": user_comment +"/youtube:v3/LiveChatMessage": live_chat_message +"/youtube:v3/LiveChatMessage/authorDetails": author_details +"/youtube:v3/LiveChatMessage/etag": etag +"/youtube:v3/LiveChatMessage/id": id +"/youtube:v3/LiveChatMessage/kind": kind +"/youtube:v3/LiveChatMessage/snippet": snippet +"/youtube:v3/LiveChatMessageAuthorDetails": live_chat_message_author_details +"/youtube:v3/LiveChatMessageAuthorDetails/channelId": channel_id +"/youtube:v3/LiveChatMessageAuthorDetails/channelUrl": channel_url +"/youtube:v3/LiveChatMessageAuthorDetails/displayName": display_name +"/youtube:v3/LiveChatMessageAuthorDetails/isChatModerator": is_chat_moderator +"/youtube:v3/LiveChatMessageAuthorDetails/isChatOwner": is_chat_owner +"/youtube:v3/LiveChatMessageAuthorDetails/isChatSponsor": is_chat_sponsor +"/youtube:v3/LiveChatMessageAuthorDetails/isVerified": is_verified +"/youtube:v3/LiveChatMessageAuthorDetails/profileImageUrl": profile_image_url +"/youtube:v3/LiveChatMessageDeletedDetails": live_chat_message_deleted_details +"/youtube:v3/LiveChatMessageDeletedDetails/deletedMessageId": deleted_message_id +"/youtube:v3/LiveChatMessageListResponse": live_chat_message_list_response +"/youtube:v3/LiveChatMessageListResponse/etag": etag +"/youtube:v3/LiveChatMessageListResponse/eventId": event_id +"/youtube:v3/LiveChatMessageListResponse/items": items +"/youtube:v3/LiveChatMessageListResponse/items/item": item +"/youtube:v3/LiveChatMessageListResponse/kind": kind +"/youtube:v3/LiveChatMessageListResponse/nextPageToken": next_page_token +"/youtube:v3/LiveChatMessageListResponse/offlineAt": offline_at +"/youtube:v3/LiveChatMessageListResponse/pageInfo": page_info +"/youtube:v3/LiveChatMessageListResponse/pollingIntervalMillis": polling_interval_millis +"/youtube:v3/LiveChatMessageListResponse/tokenPagination": token_pagination +"/youtube:v3/LiveChatMessageListResponse/visitorId": visitor_id +"/youtube:v3/LiveChatMessageRetractedDetails": live_chat_message_retracted_details +"/youtube:v3/LiveChatMessageRetractedDetails/retractedMessageId": retracted_message_id +"/youtube:v3/LiveChatMessageSnippet": live_chat_message_snippet +"/youtube:v3/LiveChatMessageSnippet/authorChannelId": author_channel_id +"/youtube:v3/LiveChatMessageSnippet/displayMessage": display_message +"/youtube:v3/LiveChatMessageSnippet/fanFundingEventDetails": fan_funding_event_details +"/youtube:v3/LiveChatMessageSnippet/hasDisplayContent": has_display_content +"/youtube:v3/LiveChatMessageSnippet/liveChatId": live_chat_id +"/youtube:v3/LiveChatMessageSnippet/messageDeletedDetails": message_deleted_details +"/youtube:v3/LiveChatMessageSnippet/messageRetractedDetails": message_retracted_details +"/youtube:v3/LiveChatMessageSnippet/pollClosedDetails": poll_closed_details +"/youtube:v3/LiveChatMessageSnippet/pollEditedDetails": poll_edited_details +"/youtube:v3/LiveChatMessageSnippet/pollOpenedDetails": poll_opened_details +"/youtube:v3/LiveChatMessageSnippet/pollVotedDetails": poll_voted_details +"/youtube:v3/LiveChatMessageSnippet/publishedAt": published_at +"/youtube:v3/LiveChatMessageSnippet/superChatDetails": super_chat_details +"/youtube:v3/LiveChatMessageSnippet/textMessageDetails": text_message_details +"/youtube:v3/LiveChatMessageSnippet/type": type +"/youtube:v3/LiveChatMessageSnippet/userBannedDetails": user_banned_details +"/youtube:v3/LiveChatModerator": live_chat_moderator +"/youtube:v3/LiveChatModerator/etag": etag +"/youtube:v3/LiveChatModerator/id": id +"/youtube:v3/LiveChatModerator/kind": kind +"/youtube:v3/LiveChatModerator/snippet": snippet +"/youtube:v3/LiveChatModeratorListResponse": live_chat_moderator_list_response +"/youtube:v3/LiveChatModeratorListResponse/etag": etag +"/youtube:v3/LiveChatModeratorListResponse/eventId": event_id +"/youtube:v3/LiveChatModeratorListResponse/items": items +"/youtube:v3/LiveChatModeratorListResponse/items/item": item +"/youtube:v3/LiveChatModeratorListResponse/kind": kind +"/youtube:v3/LiveChatModeratorListResponse/nextPageToken": next_page_token +"/youtube:v3/LiveChatModeratorListResponse/pageInfo": page_info +"/youtube:v3/LiveChatModeratorListResponse/prevPageToken": prev_page_token +"/youtube:v3/LiveChatModeratorListResponse/tokenPagination": token_pagination +"/youtube:v3/LiveChatModeratorListResponse/visitorId": visitor_id +"/youtube:v3/LiveChatModeratorSnippet": live_chat_moderator_snippet +"/youtube:v3/LiveChatModeratorSnippet/liveChatId": live_chat_id +"/youtube:v3/LiveChatModeratorSnippet/moderatorDetails": moderator_details +"/youtube:v3/LiveChatPollClosedDetails": live_chat_poll_closed_details +"/youtube:v3/LiveChatPollClosedDetails/pollId": poll_id +"/youtube:v3/LiveChatPollEditedDetails": live_chat_poll_edited_details +"/youtube:v3/LiveChatPollEditedDetails/id": id +"/youtube:v3/LiveChatPollEditedDetails/items": items +"/youtube:v3/LiveChatPollEditedDetails/items/item": item +"/youtube:v3/LiveChatPollEditedDetails/prompt": prompt +"/youtube:v3/LiveChatPollItem": live_chat_poll_item +"/youtube:v3/LiveChatPollItem/description": description +"/youtube:v3/LiveChatPollItem/itemId": item_id +"/youtube:v3/LiveChatPollOpenedDetails": live_chat_poll_opened_details +"/youtube:v3/LiveChatPollOpenedDetails/id": id +"/youtube:v3/LiveChatPollOpenedDetails/items": items +"/youtube:v3/LiveChatPollOpenedDetails/items/item": item +"/youtube:v3/LiveChatPollOpenedDetails/prompt": prompt +"/youtube:v3/LiveChatPollVotedDetails": live_chat_poll_voted_details +"/youtube:v3/LiveChatPollVotedDetails/itemId": item_id +"/youtube:v3/LiveChatPollVotedDetails/pollId": poll_id +"/youtube:v3/LiveChatSuperChatDetails": live_chat_super_chat_details +"/youtube:v3/LiveChatSuperChatDetails/amountDisplayString": amount_display_string +"/youtube:v3/LiveChatSuperChatDetails/amountMicros": amount_micros +"/youtube:v3/LiveChatSuperChatDetails/currency": currency +"/youtube:v3/LiveChatSuperChatDetails/tier": tier +"/youtube:v3/LiveChatSuperChatDetails/userComment": user_comment +"/youtube:v3/LiveChatTextMessageDetails": live_chat_text_message_details +"/youtube:v3/LiveChatTextMessageDetails/messageText": message_text +"/youtube:v3/LiveChatUserBannedMessageDetails": live_chat_user_banned_message_details +"/youtube:v3/LiveChatUserBannedMessageDetails/banDurationSeconds": ban_duration_seconds +"/youtube:v3/LiveChatUserBannedMessageDetails/banType": ban_type +"/youtube:v3/LiveChatUserBannedMessageDetails/bannedUserDetails": banned_user_details +"/youtube:v3/LiveStream": live_stream +"/youtube:v3/LiveStream/cdn": cdn +"/youtube:v3/LiveStream/contentDetails": content_details +"/youtube:v3/LiveStream/etag": etag +"/youtube:v3/LiveStream/id": id +"/youtube:v3/LiveStream/kind": kind +"/youtube:v3/LiveStream/snippet": snippet +"/youtube:v3/LiveStream/status": status +"/youtube:v3/LiveStreamConfigurationIssue": live_stream_configuration_issue +"/youtube:v3/LiveStreamConfigurationIssue/description": description +"/youtube:v3/LiveStreamConfigurationIssue/reason": reason +"/youtube:v3/LiveStreamConfigurationIssue/severity": severity +"/youtube:v3/LiveStreamConfigurationIssue/type": type +"/youtube:v3/LiveStreamContentDetails": live_stream_content_details +"/youtube:v3/LiveStreamContentDetails/closedCaptionsIngestionUrl": closed_captions_ingestion_url +"/youtube:v3/LiveStreamContentDetails/isReusable": is_reusable +"/youtube:v3/LiveStreamHealthStatus": live_stream_health_status +"/youtube:v3/LiveStreamHealthStatus/configurationIssues": configuration_issues +"/youtube:v3/LiveStreamHealthStatus/configurationIssues/configuration_issue": configuration_issue +"/youtube:v3/LiveStreamHealthStatus/lastUpdateTimeSeconds": last_update_time_seconds +"/youtube:v3/LiveStreamHealthStatus/status": status +"/youtube:v3/LiveStreamListResponse": list_live_streams_response +"/youtube:v3/LiveStreamListResponse/etag": etag +"/youtube:v3/LiveStreamListResponse/eventId": event_id +"/youtube:v3/LiveStreamListResponse/items": items +"/youtube:v3/LiveStreamListResponse/items/item": item +"/youtube:v3/LiveStreamListResponse/kind": kind +"/youtube:v3/LiveStreamListResponse/nextPageToken": next_page_token +"/youtube:v3/LiveStreamListResponse/pageInfo": page_info +"/youtube:v3/LiveStreamListResponse/prevPageToken": prev_page_token +"/youtube:v3/LiveStreamListResponse/tokenPagination": token_pagination +"/youtube:v3/LiveStreamListResponse/visitorId": visitor_id +"/youtube:v3/LiveStreamSnippet": live_stream_snippet +"/youtube:v3/LiveStreamSnippet/channelId": channel_id +"/youtube:v3/LiveStreamSnippet/description": description +"/youtube:v3/LiveStreamSnippet/isDefaultStream": is_default_stream +"/youtube:v3/LiveStreamSnippet/publishedAt": published_at +"/youtube:v3/LiveStreamSnippet/title": title +"/youtube:v3/LiveStreamStatus": live_stream_status +"/youtube:v3/LiveStreamStatus/healthStatus": health_status +"/youtube:v3/LiveStreamStatus/streamStatus": stream_status +"/youtube:v3/LocalizedProperty": localized_property +"/youtube:v3/LocalizedProperty/default": default +"/youtube:v3/LocalizedProperty/defaultLanguage": default_language +"/youtube:v3/LocalizedProperty/localized": localized +"/youtube:v3/LocalizedProperty/localized/localized": localized +"/youtube:v3/LocalizedString": localized_string +"/youtube:v3/LocalizedString/language": language +"/youtube:v3/LocalizedString/value": value +"/youtube:v3/MonitorStreamInfo": monitor_stream_info +"/youtube:v3/MonitorStreamInfo/broadcastStreamDelayMs": broadcast_stream_delay_ms +"/youtube:v3/MonitorStreamInfo/embedHtml": embed_html +"/youtube:v3/MonitorStreamInfo/enableMonitorStream": enable_monitor_stream +"/youtube:v3/PageInfo": page_info +"/youtube:v3/PageInfo/resultsPerPage": results_per_page +"/youtube:v3/PageInfo/totalResults": total_results +"/youtube:v3/Playlist": playlist +"/youtube:v3/Playlist/contentDetails": content_details +"/youtube:v3/Playlist/etag": etag +"/youtube:v3/Playlist/id": id +"/youtube:v3/Playlist/kind": kind +"/youtube:v3/Playlist/localizations": localizations +"/youtube:v3/Playlist/localizations/localization": localization +"/youtube:v3/Playlist/player": player +"/youtube:v3/Playlist/snippet": snippet +"/youtube:v3/Playlist/status": status +"/youtube:v3/PlaylistContentDetails": playlist_content_details +"/youtube:v3/PlaylistContentDetails/itemCount": item_count +"/youtube:v3/PlaylistItem": playlist_item +"/youtube:v3/PlaylistItem/contentDetails": content_details +"/youtube:v3/PlaylistItem/etag": etag +"/youtube:v3/PlaylistItem/id": id +"/youtube:v3/PlaylistItem/kind": kind +"/youtube:v3/PlaylistItem/snippet": snippet +"/youtube:v3/PlaylistItem/status": status +"/youtube:v3/PlaylistItemContentDetails": playlist_item_content_details +"/youtube:v3/PlaylistItemContentDetails/endAt": end_at +"/youtube:v3/PlaylistItemContentDetails/note": note +"/youtube:v3/PlaylistItemContentDetails/startAt": start_at +"/youtube:v3/PlaylistItemContentDetails/videoId": video_id +"/youtube:v3/PlaylistItemContentDetails/videoPublishedAt": video_published_at +"/youtube:v3/PlaylistItemListResponse": list_playlist_items_response +"/youtube:v3/PlaylistItemListResponse/etag": etag +"/youtube:v3/PlaylistItemListResponse/eventId": event_id +"/youtube:v3/PlaylistItemListResponse/items": items +"/youtube:v3/PlaylistItemListResponse/items/item": item +"/youtube:v3/PlaylistItemListResponse/kind": kind +"/youtube:v3/PlaylistItemListResponse/nextPageToken": next_page_token +"/youtube:v3/PlaylistItemListResponse/pageInfo": page_info +"/youtube:v3/PlaylistItemListResponse/prevPageToken": prev_page_token +"/youtube:v3/PlaylistItemListResponse/tokenPagination": token_pagination +"/youtube:v3/PlaylistItemListResponse/visitorId": visitor_id +"/youtube:v3/PlaylistItemSnippet": playlist_item_snippet +"/youtube:v3/PlaylistItemSnippet/channelId": channel_id +"/youtube:v3/PlaylistItemSnippet/channelTitle": channel_title +"/youtube:v3/PlaylistItemSnippet/description": description +"/youtube:v3/PlaylistItemSnippet/playlistId": playlist_id +"/youtube:v3/PlaylistItemSnippet/position": position +"/youtube:v3/PlaylistItemSnippet/publishedAt": published_at +"/youtube:v3/PlaylistItemSnippet/resourceId": resource_id +"/youtube:v3/PlaylistItemSnippet/thumbnails": thumbnails +"/youtube:v3/PlaylistItemSnippet/title": title +"/youtube:v3/PlaylistItemStatus": playlist_item_status +"/youtube:v3/PlaylistItemStatus/privacyStatus": privacy_status +"/youtube:v3/PlaylistListResponse": list_playlist_response +"/youtube:v3/PlaylistListResponse/etag": etag +"/youtube:v3/PlaylistListResponse/eventId": event_id +"/youtube:v3/PlaylistListResponse/items": items +"/youtube:v3/PlaylistListResponse/items/item": item +"/youtube:v3/PlaylistListResponse/kind": kind +"/youtube:v3/PlaylistListResponse/nextPageToken": next_page_token +"/youtube:v3/PlaylistListResponse/pageInfo": page_info +"/youtube:v3/PlaylistListResponse/prevPageToken": prev_page_token +"/youtube:v3/PlaylistListResponse/tokenPagination": token_pagination +"/youtube:v3/PlaylistListResponse/visitorId": visitor_id +"/youtube:v3/PlaylistLocalization": playlist_localization +"/youtube:v3/PlaylistLocalization/description": description +"/youtube:v3/PlaylistLocalization/title": title +"/youtube:v3/PlaylistPlayer": playlist_player +"/youtube:v3/PlaylistPlayer/embedHtml": embed_html +"/youtube:v3/PlaylistSnippet": playlist_snippet +"/youtube:v3/PlaylistSnippet/channelId": channel_id +"/youtube:v3/PlaylistSnippet/channelTitle": channel_title +"/youtube:v3/PlaylistSnippet/defaultLanguage": default_language +"/youtube:v3/PlaylistSnippet/description": description +"/youtube:v3/PlaylistSnippet/localized": localized +"/youtube:v3/PlaylistSnippet/publishedAt": published_at +"/youtube:v3/PlaylistSnippet/tags": tags +"/youtube:v3/PlaylistSnippet/tags/tag": tag +"/youtube:v3/PlaylistSnippet/thumbnails": thumbnails +"/youtube:v3/PlaylistSnippet/title": title +"/youtube:v3/PlaylistStatus": playlist_status +"/youtube:v3/PlaylistStatus/privacyStatus": privacy_status +"/youtube:v3/PromotedItem": promoted_item +"/youtube:v3/PromotedItem/customMessage": custom_message +"/youtube:v3/PromotedItem/id": id +"/youtube:v3/PromotedItem/promotedByContentOwner": promoted_by_content_owner +"/youtube:v3/PromotedItem/timing": timing +"/youtube:v3/PromotedItemId": promoted_item_id +"/youtube:v3/PromotedItemId/recentlyUploadedBy": recently_uploaded_by +"/youtube:v3/PromotedItemId/type": type +"/youtube:v3/PromotedItemId/videoId": video_id +"/youtube:v3/PromotedItemId/websiteUrl": website_url +"/youtube:v3/PropertyValue": property_value +"/youtube:v3/PropertyValue/property": property +"/youtube:v3/PropertyValue/value": value +"/youtube:v3/ResourceId": resource_id +"/youtube:v3/ResourceId/channelId": channel_id +"/youtube:v3/ResourceId/kind": kind +"/youtube:v3/ResourceId/playlistId": playlist_id +"/youtube:v3/ResourceId/videoId": video_id +"/youtube:v3/SearchListResponse": search_lists_response +"/youtube:v3/SearchListResponse/etag": etag +"/youtube:v3/SearchListResponse/eventId": event_id +"/youtube:v3/SearchListResponse/items": items +"/youtube:v3/SearchListResponse/items/item": item +"/youtube:v3/SearchListResponse/kind": kind +"/youtube:v3/SearchListResponse/nextPageToken": next_page_token +"/youtube:v3/SearchListResponse/pageInfo": page_info +"/youtube:v3/SearchListResponse/prevPageToken": prev_page_token +"/youtube:v3/SearchListResponse/regionCode": region_code +"/youtube:v3/SearchListResponse/tokenPagination": token_pagination +"/youtube:v3/SearchListResponse/visitorId": visitor_id +"/youtube:v3/SearchResult": search_result +"/youtube:v3/SearchResult/etag": etag +"/youtube:v3/SearchResult/id": id +"/youtube:v3/SearchResult/kind": kind +"/youtube:v3/SearchResult/snippet": snippet +"/youtube:v3/SearchResultSnippet": search_result_snippet +"/youtube:v3/SearchResultSnippet/channelId": channel_id +"/youtube:v3/SearchResultSnippet/channelTitle": channel_title +"/youtube:v3/SearchResultSnippet/description": description +"/youtube:v3/SearchResultSnippet/liveBroadcastContent": live_broadcast_content +"/youtube:v3/SearchResultSnippet/publishedAt": published_at +"/youtube:v3/SearchResultSnippet/thumbnails": thumbnails +"/youtube:v3/SearchResultSnippet/title": title +"/youtube:v3/Sponsor": sponsor +"/youtube:v3/Sponsor/etag": etag +"/youtube:v3/Sponsor/id": id +"/youtube:v3/Sponsor/kind": kind +"/youtube:v3/Sponsor/snippet": snippet +"/youtube:v3/SponsorListResponse": sponsor_list_response +"/youtube:v3/SponsorListResponse/etag": etag +"/youtube:v3/SponsorListResponse/eventId": event_id +"/youtube:v3/SponsorListResponse/items": items +"/youtube:v3/SponsorListResponse/items/item": item +"/youtube:v3/SponsorListResponse/kind": kind +"/youtube:v3/SponsorListResponse/nextPageToken": next_page_token +"/youtube:v3/SponsorListResponse/pageInfo": page_info +"/youtube:v3/SponsorListResponse/tokenPagination": token_pagination +"/youtube:v3/SponsorListResponse/visitorId": visitor_id +"/youtube:v3/SponsorSnippet": sponsor_snippet +"/youtube:v3/SponsorSnippet/channelId": channel_id +"/youtube:v3/SponsorSnippet/sponsorDetails": sponsor_details +"/youtube:v3/SponsorSnippet/sponsorSince": sponsor_since +"/youtube:v3/Subscription": subscription +"/youtube:v3/Subscription/contentDetails": content_details +"/youtube:v3/Subscription/etag": etag +"/youtube:v3/Subscription/id": id +"/youtube:v3/Subscription/kind": kind +"/youtube:v3/Subscription/snippet": snippet +"/youtube:v3/Subscription/subscriberSnippet": subscriber_snippet +"/youtube:v3/SubscriptionContentDetails": subscription_content_details +"/youtube:v3/SubscriptionContentDetails/activityType": activity_type +"/youtube:v3/SubscriptionContentDetails/newItemCount": new_item_count +"/youtube:v3/SubscriptionContentDetails/totalItemCount": total_item_count +"/youtube:v3/SubscriptionListResponse": list_subscription_response +"/youtube:v3/SubscriptionListResponse/etag": etag +"/youtube:v3/SubscriptionListResponse/eventId": event_id +"/youtube:v3/SubscriptionListResponse/items": items +"/youtube:v3/SubscriptionListResponse/items/item": item +"/youtube:v3/SubscriptionListResponse/kind": kind +"/youtube:v3/SubscriptionListResponse/nextPageToken": next_page_token +"/youtube:v3/SubscriptionListResponse/pageInfo": page_info +"/youtube:v3/SubscriptionListResponse/prevPageToken": prev_page_token +"/youtube:v3/SubscriptionListResponse/tokenPagination": token_pagination +"/youtube:v3/SubscriptionListResponse/visitorId": visitor_id +"/youtube:v3/SubscriptionSnippet": subscription_snippet +"/youtube:v3/SubscriptionSnippet/channelId": channel_id +"/youtube:v3/SubscriptionSnippet/channelTitle": channel_title +"/youtube:v3/SubscriptionSnippet/description": description +"/youtube:v3/SubscriptionSnippet/publishedAt": published_at +"/youtube:v3/SubscriptionSnippet/resourceId": resource_id +"/youtube:v3/SubscriptionSnippet/thumbnails": thumbnails +"/youtube:v3/SubscriptionSnippet/title": title +"/youtube:v3/SubscriptionSubscriberSnippet": subscription_subscriber_snippet +"/youtube:v3/SubscriptionSubscriberSnippet/channelId": channel_id +"/youtube:v3/SubscriptionSubscriberSnippet/description": description +"/youtube:v3/SubscriptionSubscriberSnippet/thumbnails": thumbnails +"/youtube:v3/SubscriptionSubscriberSnippet/title": title +"/youtube:v3/SuperChatEvent": super_chat_event +"/youtube:v3/SuperChatEvent/etag": etag +"/youtube:v3/SuperChatEvent/id": id +"/youtube:v3/SuperChatEvent/kind": kind +"/youtube:v3/SuperChatEvent/snippet": snippet +"/youtube:v3/SuperChatEventListResponse": super_chat_event_list_response +"/youtube:v3/SuperChatEventListResponse/etag": etag +"/youtube:v3/SuperChatEventListResponse/eventId": event_id +"/youtube:v3/SuperChatEventListResponse/items": items +"/youtube:v3/SuperChatEventListResponse/items/item": item +"/youtube:v3/SuperChatEventListResponse/kind": kind +"/youtube:v3/SuperChatEventListResponse/nextPageToken": next_page_token +"/youtube:v3/SuperChatEventListResponse/pageInfo": page_info +"/youtube:v3/SuperChatEventListResponse/tokenPagination": token_pagination +"/youtube:v3/SuperChatEventListResponse/visitorId": visitor_id +"/youtube:v3/SuperChatEventSnippet": super_chat_event_snippet +"/youtube:v3/SuperChatEventSnippet/amountMicros": amount_micros +"/youtube:v3/SuperChatEventSnippet/channelId": channel_id +"/youtube:v3/SuperChatEventSnippet/commentText": comment_text +"/youtube:v3/SuperChatEventSnippet/createdAt": created_at +"/youtube:v3/SuperChatEventSnippet/currency": currency +"/youtube:v3/SuperChatEventSnippet/displayString": display_string +"/youtube:v3/SuperChatEventSnippet/messageType": message_type +"/youtube:v3/SuperChatEventSnippet/supporterDetails": supporter_details +"/youtube:v3/Thumbnail": thumbnail +"/youtube:v3/Thumbnail/height": height +"/youtube:v3/Thumbnail/url": url +"/youtube:v3/Thumbnail/width": width +"/youtube:v3/ThumbnailDetails": thumbnail_details +"/youtube:v3/ThumbnailDetails/default": default +"/youtube:v3/ThumbnailDetails/high": high +"/youtube:v3/ThumbnailDetails/maxres": maxres +"/youtube:v3/ThumbnailDetails/medium": medium +"/youtube:v3/ThumbnailDetails/standard": standard +"/youtube:v3/ThumbnailSetResponse": set_thumbnail_response +"/youtube:v3/ThumbnailSetResponse/etag": etag +"/youtube:v3/ThumbnailSetResponse/eventId": event_id +"/youtube:v3/ThumbnailSetResponse/items": items +"/youtube:v3/ThumbnailSetResponse/items/item": item +"/youtube:v3/ThumbnailSetResponse/kind": kind +"/youtube:v3/ThumbnailSetResponse/visitorId": visitor_id +"/youtube:v3/TokenPagination": token_pagination +"/youtube:v3/Video": video +"/youtube:v3/Video/ageGating": age_gating +"/youtube:v3/Video/contentDetails": content_details +"/youtube:v3/Video/etag": etag +"/youtube:v3/Video/fileDetails": file_details +"/youtube:v3/Video/id": id +"/youtube:v3/Video/kind": kind +"/youtube:v3/Video/liveStreamingDetails": live_streaming_details +"/youtube:v3/Video/localizations": localizations +"/youtube:v3/Video/localizations/localization": localization +"/youtube:v3/Video/monetizationDetails": monetization_details +"/youtube:v3/Video/player": player +"/youtube:v3/Video/processingDetails": processing_details +"/youtube:v3/Video/projectDetails": project_details +"/youtube:v3/Video/recordingDetails": recording_details +"/youtube:v3/Video/snippet": snippet +"/youtube:v3/Video/statistics": statistics +"/youtube:v3/Video/status": status +"/youtube:v3/Video/suggestions": suggestions +"/youtube:v3/Video/topicDetails": topic_details +"/youtube:v3/VideoAbuseReport": video_abuse_report +"/youtube:v3/VideoAbuseReport/comments": comments +"/youtube:v3/VideoAbuseReport/language": language +"/youtube:v3/VideoAbuseReport/reasonId": reason_id +"/youtube:v3/VideoAbuseReport/secondaryReasonId": secondary_reason_id +"/youtube:v3/VideoAbuseReport/videoId": video_id +"/youtube:v3/VideoAbuseReportReason": video_abuse_report_reason +"/youtube:v3/VideoAbuseReportReason/etag": etag +"/youtube:v3/VideoAbuseReportReason/id": id +"/youtube:v3/VideoAbuseReportReason/kind": kind +"/youtube:v3/VideoAbuseReportReason/snippet": snippet +"/youtube:v3/VideoAbuseReportReasonListResponse": list_video_abuse_report_reason_response +"/youtube:v3/VideoAbuseReportReasonListResponse/etag": etag +"/youtube:v3/VideoAbuseReportReasonListResponse/eventId": event_id +"/youtube:v3/VideoAbuseReportReasonListResponse/items": items +"/youtube:v3/VideoAbuseReportReasonListResponse/items/item": item +"/youtube:v3/VideoAbuseReportReasonListResponse/kind": kind +"/youtube:v3/VideoAbuseReportReasonListResponse/visitorId": visitor_id +"/youtube:v3/VideoAbuseReportReasonSnippet": video_abuse_report_reason_snippet +"/youtube:v3/VideoAbuseReportReasonSnippet/label": label +"/youtube:v3/VideoAbuseReportReasonSnippet/secondaryReasons": secondary_reasons +"/youtube:v3/VideoAbuseReportReasonSnippet/secondaryReasons/secondary_reason": secondary_reason +"/youtube:v3/VideoAbuseReportSecondaryReason": video_abuse_report_secondary_reason +"/youtube:v3/VideoAbuseReportSecondaryReason/id": id +"/youtube:v3/VideoAbuseReportSecondaryReason/label": label +"/youtube:v3/VideoAgeGating": video_age_gating +"/youtube:v3/VideoAgeGating/alcoholContent": alcohol_content +"/youtube:v3/VideoAgeGating/restricted": restricted +"/youtube:v3/VideoAgeGating/videoGameRating": video_game_rating +"/youtube:v3/VideoCategory": video_category +"/youtube:v3/VideoCategory/etag": etag +"/youtube:v3/VideoCategory/id": id +"/youtube:v3/VideoCategory/kind": kind +"/youtube:v3/VideoCategory/snippet": snippet +"/youtube:v3/VideoCategoryListResponse": list_video_category_response +"/youtube:v3/VideoCategoryListResponse/etag": etag +"/youtube:v3/VideoCategoryListResponse/eventId": event_id +"/youtube:v3/VideoCategoryListResponse/items": items +"/youtube:v3/VideoCategoryListResponse/items/item": item +"/youtube:v3/VideoCategoryListResponse/kind": kind +"/youtube:v3/VideoCategoryListResponse/nextPageToken": next_page_token +"/youtube:v3/VideoCategoryListResponse/pageInfo": page_info +"/youtube:v3/VideoCategoryListResponse/prevPageToken": prev_page_token +"/youtube:v3/VideoCategoryListResponse/tokenPagination": token_pagination +"/youtube:v3/VideoCategoryListResponse/visitorId": visitor_id +"/youtube:v3/VideoCategorySnippet": video_category_snippet +"/youtube:v3/VideoCategorySnippet/assignable": assignable +"/youtube:v3/VideoCategorySnippet/channelId": channel_id +"/youtube:v3/VideoCategorySnippet/title": title +"/youtube:v3/VideoContentDetails": video_content_details +"/youtube:v3/VideoContentDetails/caption": caption +"/youtube:v3/VideoContentDetails/contentRating": content_rating +"/youtube:v3/VideoContentDetails/countryRestriction": country_restriction +"/youtube:v3/VideoContentDetails/definition": definition +"/youtube:v3/VideoContentDetails/dimension": dimension +"/youtube:v3/VideoContentDetails/duration": duration +"/youtube:v3/VideoContentDetails/hasCustomThumbnail": has_custom_thumbnail +"/youtube:v3/VideoContentDetails/licensedContent": licensed_content +"/youtube:v3/VideoContentDetails/projection": projection +"/youtube:v3/VideoContentDetails/regionRestriction": region_restriction +"/youtube:v3/VideoContentDetailsRegionRestriction": video_content_details_region_restriction +"/youtube:v3/VideoContentDetailsRegionRestriction/allowed": allowed +"/youtube:v3/VideoContentDetailsRegionRestriction/allowed/allowed": allowed +"/youtube:v3/VideoContentDetailsRegionRestriction/blocked": blocked +"/youtube:v3/VideoContentDetailsRegionRestriction/blocked/blocked": blocked +"/youtube:v3/VideoFileDetails": video_file_details +"/youtube:v3/VideoFileDetails/audioStreams": audio_streams +"/youtube:v3/VideoFileDetails/audioStreams/audio_stream": audio_stream +"/youtube:v3/VideoFileDetails/bitrateBps": bitrate_bps +"/youtube:v3/VideoFileDetails/container": container +"/youtube:v3/VideoFileDetails/creationTime": creation_time +"/youtube:v3/VideoFileDetails/durationMs": duration_ms +"/youtube:v3/VideoFileDetails/fileName": file_name +"/youtube:v3/VideoFileDetails/fileSize": file_size +"/youtube:v3/VideoFileDetails/fileType": file_type +"/youtube:v3/VideoFileDetails/videoStreams": video_streams +"/youtube:v3/VideoFileDetails/videoStreams/video_stream": video_stream +"/youtube:v3/VideoFileDetailsAudioStream": video_file_details_audio_stream +"/youtube:v3/VideoFileDetailsAudioStream/bitrateBps": bitrate_bps +"/youtube:v3/VideoFileDetailsAudioStream/channelCount": channel_count +"/youtube:v3/VideoFileDetailsAudioStream/codec": codec +"/youtube:v3/VideoFileDetailsAudioStream/vendor": vendor +"/youtube:v3/VideoFileDetailsVideoStream": video_file_details_video_stream +"/youtube:v3/VideoFileDetailsVideoStream/aspectRatio": aspect_ratio +"/youtube:v3/VideoFileDetailsVideoStream/bitrateBps": bitrate_bps +"/youtube:v3/VideoFileDetailsVideoStream/codec": codec +"/youtube:v3/VideoFileDetailsVideoStream/frameRateFps": frame_rate_fps +"/youtube:v3/VideoFileDetailsVideoStream/heightPixels": height_pixels +"/youtube:v3/VideoFileDetailsVideoStream/rotation": rotation +"/youtube:v3/VideoFileDetailsVideoStream/vendor": vendor +"/youtube:v3/VideoFileDetailsVideoStream/widthPixels": width_pixels +"/youtube:v3/VideoGetRatingResponse": get_video_rating_response +"/youtube:v3/VideoGetRatingResponse/etag": etag +"/youtube:v3/VideoGetRatingResponse/eventId": event_id +"/youtube:v3/VideoGetRatingResponse/items": items +"/youtube:v3/VideoGetRatingResponse/items/item": item +"/youtube:v3/VideoGetRatingResponse/kind": kind +"/youtube:v3/VideoGetRatingResponse/visitorId": visitor_id +"/youtube:v3/VideoListResponse": list_videos_response +"/youtube:v3/VideoListResponse/etag": etag +"/youtube:v3/VideoListResponse/eventId": event_id +"/youtube:v3/VideoListResponse/items": items +"/youtube:v3/VideoListResponse/items/item": item +"/youtube:v3/VideoListResponse/kind": kind +"/youtube:v3/VideoListResponse/nextPageToken": next_page_token +"/youtube:v3/VideoListResponse/pageInfo": page_info +"/youtube:v3/VideoListResponse/prevPageToken": prev_page_token +"/youtube:v3/VideoListResponse/tokenPagination": token_pagination +"/youtube:v3/VideoListResponse/visitorId": visitor_id +"/youtube:v3/VideoLiveStreamingDetails": video_live_streaming_details +"/youtube:v3/VideoLiveStreamingDetails/activeLiveChatId": active_live_chat_id +"/youtube:v3/VideoLiveStreamingDetails/actualEndTime": actual_end_time +"/youtube:v3/VideoLiveStreamingDetails/actualStartTime": actual_start_time +"/youtube:v3/VideoLiveStreamingDetails/concurrentViewers": concurrent_viewers +"/youtube:v3/VideoLiveStreamingDetails/scheduledEndTime": scheduled_end_time +"/youtube:v3/VideoLiveStreamingDetails/scheduledStartTime": scheduled_start_time +"/youtube:v3/VideoLocalization": video_localization +"/youtube:v3/VideoLocalization/description": description +"/youtube:v3/VideoLocalization/title": title +"/youtube:v3/VideoMonetizationDetails": video_monetization_details +"/youtube:v3/VideoMonetizationDetails/access": access +"/youtube:v3/VideoPlayer": video_player +"/youtube:v3/VideoPlayer/embedHeight": embed_height +"/youtube:v3/VideoPlayer/embedHtml": embed_html +"/youtube:v3/VideoPlayer/embedWidth": embed_width +"/youtube:v3/VideoProcessingDetails": video_processing_details +"/youtube:v3/VideoProcessingDetails/editorSuggestionsAvailability": editor_suggestions_availability +"/youtube:v3/VideoProcessingDetails/fileDetailsAvailability": file_details_availability +"/youtube:v3/VideoProcessingDetails/processingFailureReason": processing_failure_reason +"/youtube:v3/VideoProcessingDetails/processingIssuesAvailability": processing_issues_availability +"/youtube:v3/VideoProcessingDetails/processingProgress": processing_progress +"/youtube:v3/VideoProcessingDetails/processingStatus": processing_status +"/youtube:v3/VideoProcessingDetails/tagSuggestionsAvailability": tag_suggestions_availability +"/youtube:v3/VideoProcessingDetails/thumbnailsAvailability": thumbnails_availability +"/youtube:v3/VideoProcessingDetailsProcessingProgress": video_processing_details_processing_progress +"/youtube:v3/VideoProcessingDetailsProcessingProgress/partsProcessed": parts_processed +"/youtube:v3/VideoProcessingDetailsProcessingProgress/partsTotal": parts_total +"/youtube:v3/VideoProcessingDetailsProcessingProgress/timeLeftMs": time_left_ms +"/youtube:v3/VideoProjectDetails": video_project_details +"/youtube:v3/VideoProjectDetails/tags": tags +"/youtube:v3/VideoProjectDetails/tags/tag": tag +"/youtube:v3/VideoRating": video_rating +"/youtube:v3/VideoRating/rating": rating +"/youtube:v3/VideoRating/videoId": video_id +"/youtube:v3/VideoRecordingDetails": video_recording_details +"/youtube:v3/VideoRecordingDetails/location": location +"/youtube:v3/VideoRecordingDetails/locationDescription": location_description +"/youtube:v3/VideoRecordingDetails/recordingDate": recording_date +"/youtube:v3/VideoSnippet": video_snippet +"/youtube:v3/VideoSnippet/categoryId": category_id +"/youtube:v3/VideoSnippet/channelId": channel_id +"/youtube:v3/VideoSnippet/channelTitle": channel_title +"/youtube:v3/VideoSnippet/defaultAudioLanguage": default_audio_language +"/youtube:v3/VideoSnippet/defaultLanguage": default_language +"/youtube:v3/VideoSnippet/description": description +"/youtube:v3/VideoSnippet/liveBroadcastContent": live_broadcast_content +"/youtube:v3/VideoSnippet/localized": localized +"/youtube:v3/VideoSnippet/publishedAt": published_at +"/youtube:v3/VideoSnippet/tags": tags +"/youtube:v3/VideoSnippet/tags/tag": tag +"/youtube:v3/VideoSnippet/thumbnails": thumbnails +"/youtube:v3/VideoSnippet/title": title +"/youtube:v3/VideoStatistics": video_statistics +"/youtube:v3/VideoStatistics/commentCount": comment_count +"/youtube:v3/VideoStatistics/dislikeCount": dislike_count +"/youtube:v3/VideoStatistics/favoriteCount": favorite_count +"/youtube:v3/VideoStatistics/likeCount": like_count +"/youtube:v3/VideoStatistics/viewCount": view_count +"/youtube:v3/VideoStatus": video_status +"/youtube:v3/VideoStatus/embeddable": embeddable +"/youtube:v3/VideoStatus/failureReason": failure_reason +"/youtube:v3/VideoStatus/license": license +"/youtube:v3/VideoStatus/privacyStatus": privacy_status +"/youtube:v3/VideoStatus/publicStatsViewable": public_stats_viewable +"/youtube:v3/VideoStatus/publishAt": publish_at +"/youtube:v3/VideoStatus/rejectionReason": rejection_reason +"/youtube:v3/VideoStatus/uploadStatus": upload_status +"/youtube:v3/VideoSuggestions": video_suggestions +"/youtube:v3/VideoSuggestions/editorSuggestions": editor_suggestions +"/youtube:v3/VideoSuggestions/editorSuggestions/editor_suggestion": editor_suggestion +"/youtube:v3/VideoSuggestions/processingErrors": processing_errors +"/youtube:v3/VideoSuggestions/processingErrors/processing_error": processing_error +"/youtube:v3/VideoSuggestions/processingHints": processing_hints +"/youtube:v3/VideoSuggestions/processingHints/processing_hint": processing_hint +"/youtube:v3/VideoSuggestions/processingWarnings": processing_warnings +"/youtube:v3/VideoSuggestions/processingWarnings/processing_warning": processing_warning +"/youtube:v3/VideoSuggestions/tagSuggestions": tag_suggestions +"/youtube:v3/VideoSuggestions/tagSuggestions/tag_suggestion": tag_suggestion +"/youtube:v3/VideoSuggestionsTagSuggestion": video_suggestions_tag_suggestion +"/youtube:v3/VideoSuggestionsTagSuggestion/categoryRestricts": category_restricts +"/youtube:v3/VideoSuggestionsTagSuggestion/categoryRestricts/category_restrict": category_restrict +"/youtube:v3/VideoSuggestionsTagSuggestion/tag": tag +"/youtube:v3/VideoTopicDetails": video_topic_details +"/youtube:v3/VideoTopicDetails/relevantTopicIds": relevant_topic_ids +"/youtube:v3/VideoTopicDetails/relevantTopicIds/relevant_topic_id": relevant_topic_id +"/youtube:v3/VideoTopicDetails/topicCategories": topic_categories +"/youtube:v3/VideoTopicDetails/topicCategories/topic_category": topic_category +"/youtube:v3/VideoTopicDetails/topicIds": topic_ids +"/youtube:v3/VideoTopicDetails/topicIds/topic_id": topic_id +"/youtube:v3/WatchSettings": watch_settings +"/youtube:v3/WatchSettings/backgroundColor": background_color +"/youtube:v3/WatchSettings/featuredPlaylistId": featured_playlist_id +"/youtube:v3/WatchSettings/textColor": text_color "/youtube:v3/fields": fields "/youtube:v3/key": key "/youtube:v3/quotaUser": quota_user @@ -41244,6 +44807,7 @@ "/youtube:v3/youtube.comments.list/textFormat": text_format "/youtube:v3/youtube.comments.markAsSpam": mark_comment_as_spam "/youtube:v3/youtube.comments.markAsSpam/id": id +"/youtube:v3/youtube.comments.setModerationStatus": set_comment_moderation_status "/youtube:v3/youtube.comments.setModerationStatus/banAuthor": ban_author "/youtube:v3/youtube.comments.setModerationStatus/id": id "/youtube:v3/youtube.comments.setModerationStatus/moderationStatus": moderation_status @@ -41499,1167 +45063,45 @@ "/youtube:v3/youtube.watermarks.unset": unset_watermark "/youtube:v3/youtube.watermarks.unset/channelId": channel_id "/youtube:v3/youtube.watermarks.unset/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtube:v3/AccessPolicy": access_policy -"/youtube:v3/AccessPolicy/allowed": allowed -"/youtube:v3/AccessPolicy/exception": exception -"/youtube:v3/AccessPolicy/exception/exception": exception -"/youtube:v3/Activity": activity -"/youtube:v3/Activity/contentDetails": content_details -"/youtube:v3/Activity/etag": etag -"/youtube:v3/Activity/id": id -"/youtube:v3/Activity/kind": kind -"/youtube:v3/Activity/snippet": snippet -"/youtube:v3/ActivityContentDetails": activity_content_details -"/youtube:v3/ActivityContentDetails/bulletin": bulletin -"/youtube:v3/ActivityContentDetails/channelItem": channel_item -"/youtube:v3/ActivityContentDetails/comment": comment -"/youtube:v3/ActivityContentDetails/favorite": favorite -"/youtube:v3/ActivityContentDetails/like": like -"/youtube:v3/ActivityContentDetails/playlistItem": playlist_item -"/youtube:v3/ActivityContentDetails/promotedItem": promoted_item -"/youtube:v3/ActivityContentDetails/recommendation": recommendation -"/youtube:v3/ActivityContentDetails/social": social -"/youtube:v3/ActivityContentDetails/subscription": subscription -"/youtube:v3/ActivityContentDetails/upload": upload -"/youtube:v3/ActivityContentDetailsBulletin": activity_content_details_bulletin -"/youtube:v3/ActivityContentDetailsBulletin/resourceId": resource_id -"/youtube:v3/ActivityContentDetailsChannelItem": activity_content_details_channel_item -"/youtube:v3/ActivityContentDetailsChannelItem/resourceId": resource_id -"/youtube:v3/ActivityContentDetailsComment": activity_content_details_comment -"/youtube:v3/ActivityContentDetailsComment/resourceId": resource_id -"/youtube:v3/ActivityContentDetailsFavorite": activity_content_details_favorite -"/youtube:v3/ActivityContentDetailsFavorite/resourceId": resource_id -"/youtube:v3/ActivityContentDetailsLike": activity_content_details_like -"/youtube:v3/ActivityContentDetailsLike/resourceId": resource_id -"/youtube:v3/ActivityContentDetailsPlaylistItem": activity_content_details_playlist_item -"/youtube:v3/ActivityContentDetailsPlaylistItem/playlistId": playlist_id -"/youtube:v3/ActivityContentDetailsPlaylistItem/playlistItemId": playlist_item_id -"/youtube:v3/ActivityContentDetailsPlaylistItem/resourceId": resource_id -"/youtube:v3/ActivityContentDetailsPromotedItem": activity_content_details_promoted_item -"/youtube:v3/ActivityContentDetailsPromotedItem/adTag": ad_tag -"/youtube:v3/ActivityContentDetailsPromotedItem/clickTrackingUrl": click_tracking_url -"/youtube:v3/ActivityContentDetailsPromotedItem/creativeViewUrl": creative_view_url -"/youtube:v3/ActivityContentDetailsPromotedItem/ctaType": cta_type -"/youtube:v3/ActivityContentDetailsPromotedItem/customCtaButtonText": custom_cta_button_text -"/youtube:v3/ActivityContentDetailsPromotedItem/descriptionText": description_text -"/youtube:v3/ActivityContentDetailsPromotedItem/destinationUrl": destination_url -"/youtube:v3/ActivityContentDetailsPromotedItem/forecastingUrl": forecasting_url -"/youtube:v3/ActivityContentDetailsPromotedItem/forecastingUrl/forecasting_url": forecasting_url -"/youtube:v3/ActivityContentDetailsPromotedItem/impressionUrl": impression_url -"/youtube:v3/ActivityContentDetailsPromotedItem/impressionUrl/impression_url": impression_url -"/youtube:v3/ActivityContentDetailsPromotedItem/videoId": video_id -"/youtube:v3/ActivityContentDetailsRecommendation": activity_content_details_recommendation -"/youtube:v3/ActivityContentDetailsRecommendation/reason": reason -"/youtube:v3/ActivityContentDetailsRecommendation/resourceId": resource_id -"/youtube:v3/ActivityContentDetailsRecommendation/seedResourceId": seed_resource_id -"/youtube:v3/ActivityContentDetailsSocial": activity_content_details_social -"/youtube:v3/ActivityContentDetailsSocial/author": author -"/youtube:v3/ActivityContentDetailsSocial/imageUrl": image_url -"/youtube:v3/ActivityContentDetailsSocial/referenceUrl": reference_url -"/youtube:v3/ActivityContentDetailsSocial/resourceId": resource_id -"/youtube:v3/ActivityContentDetailsSocial/type": type -"/youtube:v3/ActivityContentDetailsSubscription": activity_content_details_subscription -"/youtube:v3/ActivityContentDetailsSubscription/resourceId": resource_id -"/youtube:v3/ActivityContentDetailsUpload": activity_content_details_upload -"/youtube:v3/ActivityContentDetailsUpload/videoId": video_id -"/youtube:v3/ActivityListResponse/etag": etag -"/youtube:v3/ActivityListResponse/eventId": event_id -"/youtube:v3/ActivityListResponse/items": items -"/youtube:v3/ActivityListResponse/items/item": item -"/youtube:v3/ActivityListResponse/kind": kind -"/youtube:v3/ActivityListResponse/nextPageToken": next_page_token -"/youtube:v3/ActivityListResponse/pageInfo": page_info -"/youtube:v3/ActivityListResponse/prevPageToken": prev_page_token -"/youtube:v3/ActivityListResponse/tokenPagination": token_pagination -"/youtube:v3/ActivityListResponse/visitorId": visitor_id -"/youtube:v3/ActivitySnippet": activity_snippet -"/youtube:v3/ActivitySnippet/channelId": channel_id -"/youtube:v3/ActivitySnippet/channelTitle": channel_title -"/youtube:v3/ActivitySnippet/description": description -"/youtube:v3/ActivitySnippet/groupId": group_id -"/youtube:v3/ActivitySnippet/publishedAt": published_at -"/youtube:v3/ActivitySnippet/thumbnails": thumbnails -"/youtube:v3/ActivitySnippet/title": title -"/youtube:v3/ActivitySnippet/type": type -"/youtube:v3/Caption": caption -"/youtube:v3/Caption/etag": etag -"/youtube:v3/Caption/id": id -"/youtube:v3/Caption/kind": kind -"/youtube:v3/Caption/snippet": snippet -"/youtube:v3/CaptionListResponse/etag": etag -"/youtube:v3/CaptionListResponse/eventId": event_id -"/youtube:v3/CaptionListResponse/items": items -"/youtube:v3/CaptionListResponse/items/item": item -"/youtube:v3/CaptionListResponse/kind": kind -"/youtube:v3/CaptionListResponse/visitorId": visitor_id -"/youtube:v3/CaptionSnippet": caption_snippet -"/youtube:v3/CaptionSnippet/audioTrackType": audio_track_type -"/youtube:v3/CaptionSnippet/failureReason": failure_reason -"/youtube:v3/CaptionSnippet/isAutoSynced": is_auto_synced -"/youtube:v3/CaptionSnippet/isCC": is_cc -"/youtube:v3/CaptionSnippet/isDraft": is_draft -"/youtube:v3/CaptionSnippet/isEasyReader": is_easy_reader -"/youtube:v3/CaptionSnippet/isLarge": is_large -"/youtube:v3/CaptionSnippet/language": language -"/youtube:v3/CaptionSnippet/lastUpdated": last_updated -"/youtube:v3/CaptionSnippet/name": name -"/youtube:v3/CaptionSnippet/status": status -"/youtube:v3/CaptionSnippet/trackKind": track_kind -"/youtube:v3/CaptionSnippet/videoId": video_id -"/youtube:v3/CdnSettings": cdn_settings -"/youtube:v3/CdnSettings/format": format -"/youtube:v3/CdnSettings/frameRate": frame_rate -"/youtube:v3/CdnSettings/ingestionInfo": ingestion_info -"/youtube:v3/CdnSettings/ingestionType": ingestion_type -"/youtube:v3/CdnSettings/resolution": resolution -"/youtube:v3/Channel": channel -"/youtube:v3/Channel/auditDetails": audit_details -"/youtube:v3/Channel/brandingSettings": branding_settings -"/youtube:v3/Channel/contentDetails": content_details -"/youtube:v3/Channel/contentOwnerDetails": content_owner_details -"/youtube:v3/Channel/conversionPings": conversion_pings -"/youtube:v3/Channel/etag": etag -"/youtube:v3/Channel/id": id -"/youtube:v3/Channel/invideoPromotion": invideo_promotion -"/youtube:v3/Channel/kind": kind -"/youtube:v3/Channel/localizations": localizations -"/youtube:v3/Channel/localizations/localization": localization -"/youtube:v3/Channel/snippet": snippet -"/youtube:v3/Channel/statistics": statistics -"/youtube:v3/Channel/status": status -"/youtube:v3/Channel/topicDetails": topic_details -"/youtube:v3/ChannelAuditDetails": channel_audit_details -"/youtube:v3/ChannelAuditDetails/communityGuidelinesGoodStanding": community_guidelines_good_standing -"/youtube:v3/ChannelAuditDetails/contentIdClaimsGoodStanding": content_id_claims_good_standing -"/youtube:v3/ChannelAuditDetails/copyrightStrikesGoodStanding": copyright_strikes_good_standing -"/youtube:v3/ChannelAuditDetails/overallGoodStanding": overall_good_standing -"/youtube:v3/ChannelBannerResource": channel_banner_resource -"/youtube:v3/ChannelBannerResource/etag": etag -"/youtube:v3/ChannelBannerResource/kind": kind -"/youtube:v3/ChannelBannerResource/url": url -"/youtube:v3/ChannelBrandingSettings": channel_branding_settings -"/youtube:v3/ChannelBrandingSettings/channel": channel -"/youtube:v3/ChannelBrandingSettings/hints": hints -"/youtube:v3/ChannelBrandingSettings/hints/hint": hint -"/youtube:v3/ChannelBrandingSettings/image": image -"/youtube:v3/ChannelBrandingSettings/watch": watch -"/youtube:v3/ChannelContentDetails": channel_content_details -"/youtube:v3/ChannelContentDetails/relatedPlaylists": related_playlists -"/youtube:v3/ChannelContentDetails/relatedPlaylists/favorites": favorites -"/youtube:v3/ChannelContentDetails/relatedPlaylists/likes": likes -"/youtube:v3/ChannelContentDetails/relatedPlaylists/uploads": uploads -"/youtube:v3/ChannelContentDetails/relatedPlaylists/watchHistory": watch_history -"/youtube:v3/ChannelContentDetails/relatedPlaylists/watchLater": watch_later -"/youtube:v3/ChannelContentOwnerDetails": channel_content_owner_details -"/youtube:v3/ChannelContentOwnerDetails/contentOwner": content_owner -"/youtube:v3/ChannelContentOwnerDetails/timeLinked": time_linked -"/youtube:v3/ChannelConversionPing": channel_conversion_ping -"/youtube:v3/ChannelConversionPing/context": context -"/youtube:v3/ChannelConversionPing/conversionUrl": conversion_url -"/youtube:v3/ChannelConversionPings": channel_conversion_pings -"/youtube:v3/ChannelConversionPings/pings": pings -"/youtube:v3/ChannelConversionPings/pings/ping": ping -"/youtube:v3/ChannelListResponse/etag": etag -"/youtube:v3/ChannelListResponse/eventId": event_id -"/youtube:v3/ChannelListResponse/items": items -"/youtube:v3/ChannelListResponse/items/item": item -"/youtube:v3/ChannelListResponse/kind": kind -"/youtube:v3/ChannelListResponse/nextPageToken": next_page_token -"/youtube:v3/ChannelListResponse/pageInfo": page_info -"/youtube:v3/ChannelListResponse/prevPageToken": prev_page_token -"/youtube:v3/ChannelListResponse/tokenPagination": token_pagination -"/youtube:v3/ChannelListResponse/visitorId": visitor_id -"/youtube:v3/ChannelLocalization": channel_localization -"/youtube:v3/ChannelLocalization/description": description -"/youtube:v3/ChannelLocalization/title": title -"/youtube:v3/ChannelProfileDetails": channel_profile_details -"/youtube:v3/ChannelProfileDetails/channelId": channel_id -"/youtube:v3/ChannelProfileDetails/channelUrl": channel_url -"/youtube:v3/ChannelProfileDetails/displayName": display_name -"/youtube:v3/ChannelProfileDetails/profileImageUrl": profile_image_url -"/youtube:v3/ChannelSection": channel_section -"/youtube:v3/ChannelSection/contentDetails": content_details -"/youtube:v3/ChannelSection/etag": etag -"/youtube:v3/ChannelSection/id": id -"/youtube:v3/ChannelSection/kind": kind -"/youtube:v3/ChannelSection/localizations": localizations -"/youtube:v3/ChannelSection/localizations/localization": localization -"/youtube:v3/ChannelSection/snippet": snippet -"/youtube:v3/ChannelSection/targeting": targeting -"/youtube:v3/ChannelSectionContentDetails": channel_section_content_details -"/youtube:v3/ChannelSectionContentDetails/channels": channels -"/youtube:v3/ChannelSectionContentDetails/channels/channel": channel -"/youtube:v3/ChannelSectionContentDetails/playlists": playlists -"/youtube:v3/ChannelSectionContentDetails/playlists/playlist": playlist -"/youtube:v3/ChannelSectionListResponse/etag": etag -"/youtube:v3/ChannelSectionListResponse/eventId": event_id -"/youtube:v3/ChannelSectionListResponse/items": items -"/youtube:v3/ChannelSectionListResponse/items/item": item -"/youtube:v3/ChannelSectionListResponse/kind": kind -"/youtube:v3/ChannelSectionListResponse/visitorId": visitor_id -"/youtube:v3/ChannelSectionLocalization": channel_section_localization -"/youtube:v3/ChannelSectionLocalization/title": title -"/youtube:v3/ChannelSectionSnippet": channel_section_snippet -"/youtube:v3/ChannelSectionSnippet/channelId": channel_id -"/youtube:v3/ChannelSectionSnippet/defaultLanguage": default_language -"/youtube:v3/ChannelSectionSnippet/localized": localized -"/youtube:v3/ChannelSectionSnippet/position": position -"/youtube:v3/ChannelSectionSnippet/style": style -"/youtube:v3/ChannelSectionSnippet/title": title -"/youtube:v3/ChannelSectionSnippet/type": type -"/youtube:v3/ChannelSectionTargeting": channel_section_targeting -"/youtube:v3/ChannelSectionTargeting/countries": countries -"/youtube:v3/ChannelSectionTargeting/countries/country": country -"/youtube:v3/ChannelSectionTargeting/languages": languages -"/youtube:v3/ChannelSectionTargeting/languages/language": language -"/youtube:v3/ChannelSectionTargeting/regions": regions -"/youtube:v3/ChannelSectionTargeting/regions/region": region -"/youtube:v3/ChannelSettings": channel_settings -"/youtube:v3/ChannelSettings/country": country -"/youtube:v3/ChannelSettings/defaultLanguage": default_language -"/youtube:v3/ChannelSettings/defaultTab": default_tab -"/youtube:v3/ChannelSettings/description": description -"/youtube:v3/ChannelSettings/featuredChannelsTitle": featured_channels_title -"/youtube:v3/ChannelSettings/featuredChannelsUrls": featured_channels_urls -"/youtube:v3/ChannelSettings/featuredChannelsUrls/featured_channels_url": featured_channels_url -"/youtube:v3/ChannelSettings/keywords": keywords -"/youtube:v3/ChannelSettings/moderateComments": moderate_comments -"/youtube:v3/ChannelSettings/profileColor": profile_color -"/youtube:v3/ChannelSettings/showBrowseView": show_browse_view -"/youtube:v3/ChannelSettings/showRelatedChannels": show_related_channels -"/youtube:v3/ChannelSettings/title": title -"/youtube:v3/ChannelSettings/trackingAnalyticsAccountId": tracking_analytics_account_id -"/youtube:v3/ChannelSettings/unsubscribedTrailer": unsubscribed_trailer -"/youtube:v3/ChannelSnippet": channel_snippet -"/youtube:v3/ChannelSnippet/country": country -"/youtube:v3/ChannelSnippet/customUrl": custom_url -"/youtube:v3/ChannelSnippet/defaultLanguage": default_language -"/youtube:v3/ChannelSnippet/description": description -"/youtube:v3/ChannelSnippet/localized": localized -"/youtube:v3/ChannelSnippet/publishedAt": published_at -"/youtube:v3/ChannelSnippet/thumbnails": thumbnails -"/youtube:v3/ChannelSnippet/title": title -"/youtube:v3/ChannelStatistics": channel_statistics -"/youtube:v3/ChannelStatistics/commentCount": comment_count -"/youtube:v3/ChannelStatistics/hiddenSubscriberCount": hidden_subscriber_count -"/youtube:v3/ChannelStatistics/subscriberCount": subscriber_count -"/youtube:v3/ChannelStatistics/videoCount": video_count -"/youtube:v3/ChannelStatistics/viewCount": view_count -"/youtube:v3/ChannelStatus": channel_status -"/youtube:v3/ChannelStatus/isLinked": is_linked -"/youtube:v3/ChannelStatus/longUploadsStatus": long_uploads_status -"/youtube:v3/ChannelStatus/privacyStatus": privacy_status -"/youtube:v3/ChannelTopicDetails": channel_topic_details -"/youtube:v3/ChannelTopicDetails/topicCategories": topic_categories -"/youtube:v3/ChannelTopicDetails/topicCategories/topic_category": topic_category -"/youtube:v3/ChannelTopicDetails/topicIds": topic_ids -"/youtube:v3/ChannelTopicDetails/topicIds/topic_id": topic_id -"/youtube:v3/Comment": comment -"/youtube:v3/Comment/etag": etag -"/youtube:v3/Comment/id": id -"/youtube:v3/Comment/kind": kind -"/youtube:v3/Comment/snippet": snippet -"/youtube:v3/CommentListResponse/etag": etag -"/youtube:v3/CommentListResponse/eventId": event_id -"/youtube:v3/CommentListResponse/items": items -"/youtube:v3/CommentListResponse/items/item": item -"/youtube:v3/CommentListResponse/kind": kind -"/youtube:v3/CommentListResponse/nextPageToken": next_page_token -"/youtube:v3/CommentListResponse/pageInfo": page_info -"/youtube:v3/CommentListResponse/tokenPagination": token_pagination -"/youtube:v3/CommentListResponse/visitorId": visitor_id -"/youtube:v3/CommentSnippet": comment_snippet -"/youtube:v3/CommentSnippet/authorChannelId": author_channel_id -"/youtube:v3/CommentSnippet/authorChannelUrl": author_channel_url -"/youtube:v3/CommentSnippet/authorDisplayName": author_display_name -"/youtube:v3/CommentSnippet/authorProfileImageUrl": author_profile_image_url -"/youtube:v3/CommentSnippet/canRate": can_rate -"/youtube:v3/CommentSnippet/channelId": channel_id -"/youtube:v3/CommentSnippet/likeCount": like_count -"/youtube:v3/CommentSnippet/moderationStatus": moderation_status -"/youtube:v3/CommentSnippet/parentId": parent_id -"/youtube:v3/CommentSnippet/publishedAt": published_at -"/youtube:v3/CommentSnippet/textDisplay": text_display -"/youtube:v3/CommentSnippet/textOriginal": text_original -"/youtube:v3/CommentSnippet/updatedAt": updated_at -"/youtube:v3/CommentSnippet/videoId": video_id -"/youtube:v3/CommentSnippet/viewerRating": viewer_rating -"/youtube:v3/CommentThread": comment_thread -"/youtube:v3/CommentThread/etag": etag -"/youtube:v3/CommentThread/id": id -"/youtube:v3/CommentThread/kind": kind -"/youtube:v3/CommentThread/replies": replies -"/youtube:v3/CommentThread/snippet": snippet -"/youtube:v3/CommentThreadListResponse/etag": etag -"/youtube:v3/CommentThreadListResponse/eventId": event_id -"/youtube:v3/CommentThreadListResponse/items": items -"/youtube:v3/CommentThreadListResponse/items/item": item -"/youtube:v3/CommentThreadListResponse/kind": kind -"/youtube:v3/CommentThreadListResponse/nextPageToken": next_page_token -"/youtube:v3/CommentThreadListResponse/pageInfo": page_info -"/youtube:v3/CommentThreadListResponse/tokenPagination": token_pagination -"/youtube:v3/CommentThreadListResponse/visitorId": visitor_id -"/youtube:v3/CommentThreadReplies": comment_thread_replies -"/youtube:v3/CommentThreadReplies/comments": comments -"/youtube:v3/CommentThreadReplies/comments/comment": comment -"/youtube:v3/CommentThreadSnippet": comment_thread_snippet -"/youtube:v3/CommentThreadSnippet/canReply": can_reply -"/youtube:v3/CommentThreadSnippet/channelId": channel_id -"/youtube:v3/CommentThreadSnippet/isPublic": is_public -"/youtube:v3/CommentThreadSnippet/topLevelComment": top_level_comment -"/youtube:v3/CommentThreadSnippet/totalReplyCount": total_reply_count -"/youtube:v3/CommentThreadSnippet/videoId": video_id -"/youtube:v3/ContentRating": content_rating -"/youtube:v3/ContentRating/acbRating": acb_rating -"/youtube:v3/ContentRating/agcomRating": agcom_rating -"/youtube:v3/ContentRating/anatelRating": anatel_rating -"/youtube:v3/ContentRating/bbfcRating": bbfc_rating -"/youtube:v3/ContentRating/bfvcRating": bfvc_rating -"/youtube:v3/ContentRating/bmukkRating": bmukk_rating -"/youtube:v3/ContentRating/catvRating": catv_rating -"/youtube:v3/ContentRating/catvfrRating": catvfr_rating -"/youtube:v3/ContentRating/cbfcRating": cbfc_rating -"/youtube:v3/ContentRating/cccRating": ccc_rating -"/youtube:v3/ContentRating/cceRating": cce_rating -"/youtube:v3/ContentRating/chfilmRating": chfilm_rating -"/youtube:v3/ContentRating/chvrsRating": chvrs_rating -"/youtube:v3/ContentRating/cicfRating": cicf_rating -"/youtube:v3/ContentRating/cnaRating": cna_rating -"/youtube:v3/ContentRating/cncRating": cnc_rating -"/youtube:v3/ContentRating/csaRating": csa_rating -"/youtube:v3/ContentRating/cscfRating": cscf_rating -"/youtube:v3/ContentRating/czfilmRating": czfilm_rating -"/youtube:v3/ContentRating/djctqRating": djctq_rating -"/youtube:v3/ContentRating/djctqRatingReasons": djctq_rating_reasons -"/youtube:v3/ContentRating/djctqRatingReasons/djctq_rating_reason": djctq_rating_reason -"/youtube:v3/ContentRating/ecbmctRating": ecbmct_rating -"/youtube:v3/ContentRating/eefilmRating": eefilm_rating -"/youtube:v3/ContentRating/egfilmRating": egfilm_rating -"/youtube:v3/ContentRating/eirinRating": eirin_rating -"/youtube:v3/ContentRating/fcbmRating": fcbm_rating -"/youtube:v3/ContentRating/fcoRating": fco_rating -"/youtube:v3/ContentRating/fmocRating": fmoc_rating -"/youtube:v3/ContentRating/fpbRating": fpb_rating -"/youtube:v3/ContentRating/fpbRatingReasons": fpb_rating_reasons -"/youtube:v3/ContentRating/fpbRatingReasons/fpb_rating_reason": fpb_rating_reason -"/youtube:v3/ContentRating/fskRating": fsk_rating -"/youtube:v3/ContentRating/grfilmRating": grfilm_rating -"/youtube:v3/ContentRating/icaaRating": icaa_rating -"/youtube:v3/ContentRating/ifcoRating": ifco_rating -"/youtube:v3/ContentRating/ilfilmRating": ilfilm_rating -"/youtube:v3/ContentRating/incaaRating": incaa_rating -"/youtube:v3/ContentRating/kfcbRating": kfcb_rating -"/youtube:v3/ContentRating/kijkwijzerRating": kijkwijzer_rating -"/youtube:v3/ContentRating/kmrbRating": kmrb_rating -"/youtube:v3/ContentRating/lsfRating": lsf_rating -"/youtube:v3/ContentRating/mccaaRating": mccaa_rating -"/youtube:v3/ContentRating/mccypRating": mccyp_rating -"/youtube:v3/ContentRating/mcstRating": mcst_rating -"/youtube:v3/ContentRating/mdaRating": mda_rating -"/youtube:v3/ContentRating/medietilsynetRating": medietilsynet_rating -"/youtube:v3/ContentRating/mekuRating": meku_rating -"/youtube:v3/ContentRating/mibacRating": mibac_rating -"/youtube:v3/ContentRating/mocRating": moc_rating -"/youtube:v3/ContentRating/moctwRating": moctw_rating -"/youtube:v3/ContentRating/mpaaRating": mpaa_rating -"/youtube:v3/ContentRating/mtrcbRating": mtrcb_rating -"/youtube:v3/ContentRating/nbcRating": nbc_rating -"/youtube:v3/ContentRating/nbcplRating": nbcpl_rating -"/youtube:v3/ContentRating/nfrcRating": nfrc_rating -"/youtube:v3/ContentRating/nfvcbRating": nfvcb_rating -"/youtube:v3/ContentRating/nkclvRating": nkclv_rating -"/youtube:v3/ContentRating/oflcRating": oflc_rating -"/youtube:v3/ContentRating/pefilmRating": pefilm_rating -"/youtube:v3/ContentRating/rcnofRating": rcnof_rating -"/youtube:v3/ContentRating/resorteviolenciaRating": resorteviolencia_rating -"/youtube:v3/ContentRating/rtcRating": rtc_rating -"/youtube:v3/ContentRating/rteRating": rte_rating -"/youtube:v3/ContentRating/russiaRating": russia_rating -"/youtube:v3/ContentRating/skfilmRating": skfilm_rating -"/youtube:v3/ContentRating/smaisRating": smais_rating -"/youtube:v3/ContentRating/smsaRating": smsa_rating -"/youtube:v3/ContentRating/tvpgRating": tvpg_rating -"/youtube:v3/ContentRating/ytRating": yt_rating -"/youtube:v3/FanFundingEvent": fan_funding_event -"/youtube:v3/FanFundingEvent/etag": etag -"/youtube:v3/FanFundingEvent/id": id -"/youtube:v3/FanFundingEvent/kind": kind -"/youtube:v3/FanFundingEvent/snippet": snippet -"/youtube:v3/FanFundingEventListResponse": fan_funding_event_list_response -"/youtube:v3/FanFundingEventListResponse/etag": etag -"/youtube:v3/FanFundingEventListResponse/eventId": event_id -"/youtube:v3/FanFundingEventListResponse/items": items -"/youtube:v3/FanFundingEventListResponse/items/item": item -"/youtube:v3/FanFundingEventListResponse/kind": kind -"/youtube:v3/FanFundingEventListResponse/nextPageToken": next_page_token -"/youtube:v3/FanFundingEventListResponse/pageInfo": page_info -"/youtube:v3/FanFundingEventListResponse/tokenPagination": token_pagination -"/youtube:v3/FanFundingEventListResponse/visitorId": visitor_id -"/youtube:v3/FanFundingEventSnippet": fan_funding_event_snippet -"/youtube:v3/FanFundingEventSnippet/amountMicros": amount_micros -"/youtube:v3/FanFundingEventSnippet/channelId": channel_id -"/youtube:v3/FanFundingEventSnippet/commentText": comment_text -"/youtube:v3/FanFundingEventSnippet/createdAt": created_at -"/youtube:v3/FanFundingEventSnippet/currency": currency -"/youtube:v3/FanFundingEventSnippet/displayString": display_string -"/youtube:v3/FanFundingEventSnippet/supporterDetails": supporter_details -"/youtube:v3/GeoPoint": geo_point -"/youtube:v3/GeoPoint/altitude": altitude -"/youtube:v3/GeoPoint/latitude": latitude -"/youtube:v3/GeoPoint/longitude": longitude -"/youtube:v3/GuideCategory": guide_category -"/youtube:v3/GuideCategory/etag": etag -"/youtube:v3/GuideCategory/id": id -"/youtube:v3/GuideCategory/kind": kind -"/youtube:v3/GuideCategory/snippet": snippet -"/youtube:v3/GuideCategoryListResponse/etag": etag -"/youtube:v3/GuideCategoryListResponse/eventId": event_id -"/youtube:v3/GuideCategoryListResponse/items": items -"/youtube:v3/GuideCategoryListResponse/items/item": item -"/youtube:v3/GuideCategoryListResponse/kind": kind -"/youtube:v3/GuideCategoryListResponse/nextPageToken": next_page_token -"/youtube:v3/GuideCategoryListResponse/pageInfo": page_info -"/youtube:v3/GuideCategoryListResponse/prevPageToken": prev_page_token -"/youtube:v3/GuideCategoryListResponse/tokenPagination": token_pagination -"/youtube:v3/GuideCategoryListResponse/visitorId": visitor_id -"/youtube:v3/GuideCategorySnippet": guide_category_snippet -"/youtube:v3/GuideCategorySnippet/channelId": channel_id -"/youtube:v3/GuideCategorySnippet/title": title -"/youtube:v3/I18nLanguage": i18n_language -"/youtube:v3/I18nLanguage/etag": etag -"/youtube:v3/I18nLanguage/id": id -"/youtube:v3/I18nLanguage/kind": kind -"/youtube:v3/I18nLanguage/snippet": snippet -"/youtube:v3/I18nLanguageListResponse/etag": etag -"/youtube:v3/I18nLanguageListResponse/eventId": event_id -"/youtube:v3/I18nLanguageListResponse/items": items -"/youtube:v3/I18nLanguageListResponse/items/item": item -"/youtube:v3/I18nLanguageListResponse/kind": kind -"/youtube:v3/I18nLanguageListResponse/visitorId": visitor_id -"/youtube:v3/I18nLanguageSnippet": i18n_language_snippet -"/youtube:v3/I18nLanguageSnippet/hl": hl -"/youtube:v3/I18nLanguageSnippet/name": name -"/youtube:v3/I18nRegion": i18n_region -"/youtube:v3/I18nRegion/etag": etag -"/youtube:v3/I18nRegion/id": id -"/youtube:v3/I18nRegion/kind": kind -"/youtube:v3/I18nRegion/snippet": snippet -"/youtube:v3/I18nRegionListResponse/etag": etag -"/youtube:v3/I18nRegionListResponse/eventId": event_id -"/youtube:v3/I18nRegionListResponse/items": items -"/youtube:v3/I18nRegionListResponse/items/item": item -"/youtube:v3/I18nRegionListResponse/kind": kind -"/youtube:v3/I18nRegionListResponse/visitorId": visitor_id -"/youtube:v3/I18nRegionSnippet": i18n_region_snippet -"/youtube:v3/I18nRegionSnippet/gl": gl -"/youtube:v3/I18nRegionSnippet/name": name -"/youtube:v3/ImageSettings": image_settings -"/youtube:v3/ImageSettings/backgroundImageUrl": background_image_url -"/youtube:v3/ImageSettings/bannerExternalUrl": banner_external_url -"/youtube:v3/ImageSettings/bannerImageUrl": banner_image_url -"/youtube:v3/ImageSettings/bannerMobileExtraHdImageUrl": banner_mobile_extra_hd_image_url -"/youtube:v3/ImageSettings/bannerMobileHdImageUrl": banner_mobile_hd_image_url -"/youtube:v3/ImageSettings/bannerMobileImageUrl": banner_mobile_image_url -"/youtube:v3/ImageSettings/bannerMobileLowImageUrl": banner_mobile_low_image_url -"/youtube:v3/ImageSettings/bannerMobileMediumHdImageUrl": banner_mobile_medium_hd_image_url -"/youtube:v3/ImageSettings/bannerTabletExtraHdImageUrl": banner_tablet_extra_hd_image_url -"/youtube:v3/ImageSettings/bannerTabletHdImageUrl": banner_tablet_hd_image_url -"/youtube:v3/ImageSettings/bannerTabletImageUrl": banner_tablet_image_url -"/youtube:v3/ImageSettings/bannerTabletLowImageUrl": banner_tablet_low_image_url -"/youtube:v3/ImageSettings/bannerTvHighImageUrl": banner_tv_high_image_url -"/youtube:v3/ImageSettings/bannerTvImageUrl": banner_tv_image_url -"/youtube:v3/ImageSettings/bannerTvLowImageUrl": banner_tv_low_image_url -"/youtube:v3/ImageSettings/bannerTvMediumImageUrl": banner_tv_medium_image_url -"/youtube:v3/ImageSettings/largeBrandedBannerImageImapScript": large_branded_banner_image_imap_script -"/youtube:v3/ImageSettings/largeBrandedBannerImageUrl": large_branded_banner_image_url -"/youtube:v3/ImageSettings/smallBrandedBannerImageImapScript": small_branded_banner_image_imap_script -"/youtube:v3/ImageSettings/smallBrandedBannerImageUrl": small_branded_banner_image_url -"/youtube:v3/ImageSettings/trackingImageUrl": tracking_image_url -"/youtube:v3/ImageSettings/watchIconImageUrl": watch_icon_image_url -"/youtube:v3/IngestionInfo": ingestion_info -"/youtube:v3/IngestionInfo/backupIngestionAddress": backup_ingestion_address -"/youtube:v3/IngestionInfo/ingestionAddress": ingestion_address -"/youtube:v3/IngestionInfo/streamName": stream_name -"/youtube:v3/InvideoBranding": invideo_branding -"/youtube:v3/InvideoBranding/imageBytes": image_bytes -"/youtube:v3/InvideoBranding/imageUrl": image_url -"/youtube:v3/InvideoBranding/position": position -"/youtube:v3/InvideoBranding/targetChannelId": target_channel_id -"/youtube:v3/InvideoBranding/timing": timing -"/youtube:v3/InvideoPosition": invideo_position -"/youtube:v3/InvideoPosition/cornerPosition": corner_position -"/youtube:v3/InvideoPosition/type": type -"/youtube:v3/InvideoPromotion": invideo_promotion -"/youtube:v3/InvideoPromotion/defaultTiming": default_timing -"/youtube:v3/InvideoPromotion/items": items -"/youtube:v3/InvideoPromotion/items/item": item -"/youtube:v3/InvideoPromotion/position": position -"/youtube:v3/InvideoPromotion/useSmartTiming": use_smart_timing -"/youtube:v3/InvideoTiming": invideo_timing -"/youtube:v3/InvideoTiming/durationMs": duration_ms -"/youtube:v3/InvideoTiming/offsetMs": offset_ms -"/youtube:v3/InvideoTiming/type": type -"/youtube:v3/LanguageTag": language_tag -"/youtube:v3/LanguageTag/value": value -"/youtube:v3/LiveBroadcast": live_broadcast -"/youtube:v3/LiveBroadcast/contentDetails": content_details -"/youtube:v3/LiveBroadcast/etag": etag -"/youtube:v3/LiveBroadcast/id": id -"/youtube:v3/LiveBroadcast/kind": kind -"/youtube:v3/LiveBroadcast/snippet": snippet -"/youtube:v3/LiveBroadcast/statistics": statistics -"/youtube:v3/LiveBroadcast/status": status -"/youtube:v3/LiveBroadcast/topicDetails": topic_details -"/youtube:v3/LiveBroadcastContentDetails": live_broadcast_content_details -"/youtube:v3/LiveBroadcastContentDetails/boundStreamId": bound_stream_id -"/youtube:v3/LiveBroadcastContentDetails/boundStreamLastUpdateTimeMs": bound_stream_last_update_time_ms -"/youtube:v3/LiveBroadcastContentDetails/closedCaptionsType": closed_captions_type -"/youtube:v3/LiveBroadcastContentDetails/enableClosedCaptions": enable_closed_captions -"/youtube:v3/LiveBroadcastContentDetails/enableContentEncryption": enable_content_encryption -"/youtube:v3/LiveBroadcastContentDetails/enableDvr": enable_dvr -"/youtube:v3/LiveBroadcastContentDetails/enableEmbed": enable_embed -"/youtube:v3/LiveBroadcastContentDetails/enableLowLatency": enable_low_latency -"/youtube:v3/LiveBroadcastContentDetails/monitorStream": monitor_stream -"/youtube:v3/LiveBroadcastContentDetails/projection": projection -"/youtube:v3/LiveBroadcastContentDetails/recordFromStart": record_from_start -"/youtube:v3/LiveBroadcastContentDetails/startWithSlate": start_with_slate -"/youtube:v3/LiveBroadcastListResponse/etag": etag -"/youtube:v3/LiveBroadcastListResponse/eventId": event_id -"/youtube:v3/LiveBroadcastListResponse/items": items -"/youtube:v3/LiveBroadcastListResponse/items/item": item -"/youtube:v3/LiveBroadcastListResponse/kind": kind -"/youtube:v3/LiveBroadcastListResponse/nextPageToken": next_page_token -"/youtube:v3/LiveBroadcastListResponse/pageInfo": page_info -"/youtube:v3/LiveBroadcastListResponse/prevPageToken": prev_page_token -"/youtube:v3/LiveBroadcastListResponse/tokenPagination": token_pagination -"/youtube:v3/LiveBroadcastListResponse/visitorId": visitor_id -"/youtube:v3/LiveBroadcastSnippet": live_broadcast_snippet -"/youtube:v3/LiveBroadcastSnippet/actualEndTime": actual_end_time -"/youtube:v3/LiveBroadcastSnippet/actualStartTime": actual_start_time -"/youtube:v3/LiveBroadcastSnippet/channelId": channel_id -"/youtube:v3/LiveBroadcastSnippet/description": description -"/youtube:v3/LiveBroadcastSnippet/isDefaultBroadcast": is_default_broadcast -"/youtube:v3/LiveBroadcastSnippet/liveChatId": live_chat_id -"/youtube:v3/LiveBroadcastSnippet/publishedAt": published_at -"/youtube:v3/LiveBroadcastSnippet/scheduledEndTime": scheduled_end_time -"/youtube:v3/LiveBroadcastSnippet/scheduledStartTime": scheduled_start_time -"/youtube:v3/LiveBroadcastSnippet/thumbnails": thumbnails -"/youtube:v3/LiveBroadcastSnippet/title": title -"/youtube:v3/LiveBroadcastStatistics": live_broadcast_statistics -"/youtube:v3/LiveBroadcastStatistics/concurrentViewers": concurrent_viewers -"/youtube:v3/LiveBroadcastStatistics/totalChatCount": total_chat_count -"/youtube:v3/LiveBroadcastStatus": live_broadcast_status -"/youtube:v3/LiveBroadcastStatus/lifeCycleStatus": life_cycle_status -"/youtube:v3/LiveBroadcastStatus/liveBroadcastPriority": live_broadcast_priority -"/youtube:v3/LiveBroadcastStatus/privacyStatus": privacy_status -"/youtube:v3/LiveBroadcastStatus/recordingStatus": recording_status -"/youtube:v3/LiveBroadcastTopic": live_broadcast_topic -"/youtube:v3/LiveBroadcastTopic/snippet": snippet -"/youtube:v3/LiveBroadcastTopic/type": type -"/youtube:v3/LiveBroadcastTopic/unmatched": unmatched -"/youtube:v3/LiveBroadcastTopicDetails": live_broadcast_topic_details -"/youtube:v3/LiveBroadcastTopicDetails/topics": topics -"/youtube:v3/LiveBroadcastTopicDetails/topics/topic": topic -"/youtube:v3/LiveBroadcastTopicSnippet": live_broadcast_topic_snippet -"/youtube:v3/LiveBroadcastTopicSnippet/name": name -"/youtube:v3/LiveBroadcastTopicSnippet/releaseDate": release_date -"/youtube:v3/LiveChatBan": live_chat_ban -"/youtube:v3/LiveChatBan/etag": etag -"/youtube:v3/LiveChatBan/id": id -"/youtube:v3/LiveChatBan/kind": kind -"/youtube:v3/LiveChatBan/snippet": snippet -"/youtube:v3/LiveChatBanSnippet": live_chat_ban_snippet -"/youtube:v3/LiveChatBanSnippet/banDurationSeconds": ban_duration_seconds -"/youtube:v3/LiveChatBanSnippet/bannedUserDetails": banned_user_details -"/youtube:v3/LiveChatBanSnippet/liveChatId": live_chat_id -"/youtube:v3/LiveChatBanSnippet/type": type -"/youtube:v3/LiveChatFanFundingEventDetails": live_chat_fan_funding_event_details -"/youtube:v3/LiveChatFanFundingEventDetails/amountDisplayString": amount_display_string -"/youtube:v3/LiveChatFanFundingEventDetails/amountMicros": amount_micros -"/youtube:v3/LiveChatFanFundingEventDetails/currency": currency -"/youtube:v3/LiveChatFanFundingEventDetails/userComment": user_comment -"/youtube:v3/LiveChatMessage": live_chat_message -"/youtube:v3/LiveChatMessage/authorDetails": author_details -"/youtube:v3/LiveChatMessage/etag": etag -"/youtube:v3/LiveChatMessage/id": id -"/youtube:v3/LiveChatMessage/kind": kind -"/youtube:v3/LiveChatMessage/snippet": snippet -"/youtube:v3/LiveChatMessageAuthorDetails": live_chat_message_author_details -"/youtube:v3/LiveChatMessageAuthorDetails/channelId": channel_id -"/youtube:v3/LiveChatMessageAuthorDetails/channelUrl": channel_url -"/youtube:v3/LiveChatMessageAuthorDetails/displayName": display_name -"/youtube:v3/LiveChatMessageAuthorDetails/isChatModerator": is_chat_moderator -"/youtube:v3/LiveChatMessageAuthorDetails/isChatOwner": is_chat_owner -"/youtube:v3/LiveChatMessageAuthorDetails/isChatSponsor": is_chat_sponsor -"/youtube:v3/LiveChatMessageAuthorDetails/isVerified": is_verified -"/youtube:v3/LiveChatMessageAuthorDetails/profileImageUrl": profile_image_url -"/youtube:v3/LiveChatMessageDeletedDetails": live_chat_message_deleted_details -"/youtube:v3/LiveChatMessageDeletedDetails/deletedMessageId": deleted_message_id -"/youtube:v3/LiveChatMessageListResponse": live_chat_message_list_response -"/youtube:v3/LiveChatMessageListResponse/etag": etag -"/youtube:v3/LiveChatMessageListResponse/eventId": event_id -"/youtube:v3/LiveChatMessageListResponse/items": items -"/youtube:v3/LiveChatMessageListResponse/items/item": item -"/youtube:v3/LiveChatMessageListResponse/kind": kind -"/youtube:v3/LiveChatMessageListResponse/nextPageToken": next_page_token -"/youtube:v3/LiveChatMessageListResponse/offlineAt": offline_at -"/youtube:v3/LiveChatMessageListResponse/pageInfo": page_info -"/youtube:v3/LiveChatMessageListResponse/pollingIntervalMillis": polling_interval_millis -"/youtube:v3/LiveChatMessageListResponse/tokenPagination": token_pagination -"/youtube:v3/LiveChatMessageListResponse/visitorId": visitor_id -"/youtube:v3/LiveChatMessageRetractedDetails": live_chat_message_retracted_details -"/youtube:v3/LiveChatMessageRetractedDetails/retractedMessageId": retracted_message_id -"/youtube:v3/LiveChatMessageSnippet": live_chat_message_snippet -"/youtube:v3/LiveChatMessageSnippet/authorChannelId": author_channel_id -"/youtube:v3/LiveChatMessageSnippet/displayMessage": display_message -"/youtube:v3/LiveChatMessageSnippet/fanFundingEventDetails": fan_funding_event_details -"/youtube:v3/LiveChatMessageSnippet/hasDisplayContent": has_display_content -"/youtube:v3/LiveChatMessageSnippet/liveChatId": live_chat_id -"/youtube:v3/LiveChatMessageSnippet/messageDeletedDetails": message_deleted_details -"/youtube:v3/LiveChatMessageSnippet/messageRetractedDetails": message_retracted_details -"/youtube:v3/LiveChatMessageSnippet/pollClosedDetails": poll_closed_details -"/youtube:v3/LiveChatMessageSnippet/pollEditedDetails": poll_edited_details -"/youtube:v3/LiveChatMessageSnippet/pollOpenedDetails": poll_opened_details -"/youtube:v3/LiveChatMessageSnippet/pollVotedDetails": poll_voted_details -"/youtube:v3/LiveChatMessageSnippet/publishedAt": published_at -"/youtube:v3/LiveChatMessageSnippet/superChatDetails": super_chat_details -"/youtube:v3/LiveChatMessageSnippet/textMessageDetails": text_message_details -"/youtube:v3/LiveChatMessageSnippet/type": type -"/youtube:v3/LiveChatMessageSnippet/userBannedDetails": user_banned_details -"/youtube:v3/LiveChatModerator": live_chat_moderator -"/youtube:v3/LiveChatModerator/etag": etag -"/youtube:v3/LiveChatModerator/id": id -"/youtube:v3/LiveChatModerator/kind": kind -"/youtube:v3/LiveChatModerator/snippet": snippet -"/youtube:v3/LiveChatModeratorListResponse": live_chat_moderator_list_response -"/youtube:v3/LiveChatModeratorListResponse/etag": etag -"/youtube:v3/LiveChatModeratorListResponse/eventId": event_id -"/youtube:v3/LiveChatModeratorListResponse/items": items -"/youtube:v3/LiveChatModeratorListResponse/items/item": item -"/youtube:v3/LiveChatModeratorListResponse/kind": kind -"/youtube:v3/LiveChatModeratorListResponse/nextPageToken": next_page_token -"/youtube:v3/LiveChatModeratorListResponse/pageInfo": page_info -"/youtube:v3/LiveChatModeratorListResponse/prevPageToken": prev_page_token -"/youtube:v3/LiveChatModeratorListResponse/tokenPagination": token_pagination -"/youtube:v3/LiveChatModeratorListResponse/visitorId": visitor_id -"/youtube:v3/LiveChatModeratorSnippet": live_chat_moderator_snippet -"/youtube:v3/LiveChatModeratorSnippet/liveChatId": live_chat_id -"/youtube:v3/LiveChatModeratorSnippet/moderatorDetails": moderator_details -"/youtube:v3/LiveChatPollClosedDetails": live_chat_poll_closed_details -"/youtube:v3/LiveChatPollClosedDetails/pollId": poll_id -"/youtube:v3/LiveChatPollEditedDetails": live_chat_poll_edited_details -"/youtube:v3/LiveChatPollEditedDetails/id": id -"/youtube:v3/LiveChatPollEditedDetails/items": items -"/youtube:v3/LiveChatPollEditedDetails/items/item": item -"/youtube:v3/LiveChatPollEditedDetails/prompt": prompt -"/youtube:v3/LiveChatPollItem": live_chat_poll_item -"/youtube:v3/LiveChatPollItem/description": description -"/youtube:v3/LiveChatPollItem/itemId": item_id -"/youtube:v3/LiveChatPollOpenedDetails": live_chat_poll_opened_details -"/youtube:v3/LiveChatPollOpenedDetails/id": id -"/youtube:v3/LiveChatPollOpenedDetails/items": items -"/youtube:v3/LiveChatPollOpenedDetails/items/item": item -"/youtube:v3/LiveChatPollOpenedDetails/prompt": prompt -"/youtube:v3/LiveChatPollVotedDetails": live_chat_poll_voted_details -"/youtube:v3/LiveChatPollVotedDetails/itemId": item_id -"/youtube:v3/LiveChatPollVotedDetails/pollId": poll_id -"/youtube:v3/LiveChatSuperChatDetails": live_chat_super_chat_details -"/youtube:v3/LiveChatSuperChatDetails/amountDisplayString": amount_display_string -"/youtube:v3/LiveChatSuperChatDetails/amountMicros": amount_micros -"/youtube:v3/LiveChatSuperChatDetails/currency": currency -"/youtube:v3/LiveChatSuperChatDetails/tier": tier -"/youtube:v3/LiveChatSuperChatDetails/userComment": user_comment -"/youtube:v3/LiveChatTextMessageDetails": live_chat_text_message_details -"/youtube:v3/LiveChatTextMessageDetails/messageText": message_text -"/youtube:v3/LiveChatUserBannedMessageDetails": live_chat_user_banned_message_details -"/youtube:v3/LiveChatUserBannedMessageDetails/banDurationSeconds": ban_duration_seconds -"/youtube:v3/LiveChatUserBannedMessageDetails/banType": ban_type -"/youtube:v3/LiveChatUserBannedMessageDetails/bannedUserDetails": banned_user_details -"/youtube:v3/LiveStream": live_stream -"/youtube:v3/LiveStream/cdn": cdn -"/youtube:v3/LiveStream/contentDetails": content_details -"/youtube:v3/LiveStream/etag": etag -"/youtube:v3/LiveStream/id": id -"/youtube:v3/LiveStream/kind": kind -"/youtube:v3/LiveStream/snippet": snippet -"/youtube:v3/LiveStream/status": status -"/youtube:v3/LiveStreamConfigurationIssue": live_stream_configuration_issue -"/youtube:v3/LiveStreamConfigurationIssue/description": description -"/youtube:v3/LiveStreamConfigurationIssue/reason": reason -"/youtube:v3/LiveStreamConfigurationIssue/severity": severity -"/youtube:v3/LiveStreamConfigurationIssue/type": type -"/youtube:v3/LiveStreamContentDetails": live_stream_content_details -"/youtube:v3/LiveStreamContentDetails/closedCaptionsIngestionUrl": closed_captions_ingestion_url -"/youtube:v3/LiveStreamContentDetails/isReusable": is_reusable -"/youtube:v3/LiveStreamHealthStatus": live_stream_health_status -"/youtube:v3/LiveStreamHealthStatus/configurationIssues": configuration_issues -"/youtube:v3/LiveStreamHealthStatus/configurationIssues/configuration_issue": configuration_issue -"/youtube:v3/LiveStreamHealthStatus/lastUpdateTimeSeconds": last_update_time_seconds -"/youtube:v3/LiveStreamHealthStatus/status": status -"/youtube:v3/LiveStreamListResponse/etag": etag -"/youtube:v3/LiveStreamListResponse/eventId": event_id -"/youtube:v3/LiveStreamListResponse/items": items -"/youtube:v3/LiveStreamListResponse/items/item": item -"/youtube:v3/LiveStreamListResponse/kind": kind -"/youtube:v3/LiveStreamListResponse/nextPageToken": next_page_token -"/youtube:v3/LiveStreamListResponse/pageInfo": page_info -"/youtube:v3/LiveStreamListResponse/prevPageToken": prev_page_token -"/youtube:v3/LiveStreamListResponse/tokenPagination": token_pagination -"/youtube:v3/LiveStreamListResponse/visitorId": visitor_id -"/youtube:v3/LiveStreamSnippet": live_stream_snippet -"/youtube:v3/LiveStreamSnippet/channelId": channel_id -"/youtube:v3/LiveStreamSnippet/description": description -"/youtube:v3/LiveStreamSnippet/isDefaultStream": is_default_stream -"/youtube:v3/LiveStreamSnippet/publishedAt": published_at -"/youtube:v3/LiveStreamSnippet/title": title -"/youtube:v3/LiveStreamStatus": live_stream_status -"/youtube:v3/LiveStreamStatus/healthStatus": health_status -"/youtube:v3/LiveStreamStatus/streamStatus": stream_status -"/youtube:v3/LocalizedProperty": localized_property -"/youtube:v3/LocalizedProperty/default": default -"/youtube:v3/LocalizedProperty/defaultLanguage": default_language -"/youtube:v3/LocalizedProperty/localized": localized -"/youtube:v3/LocalizedProperty/localized/localized": localized -"/youtube:v3/LocalizedString": localized_string -"/youtube:v3/LocalizedString/language": language -"/youtube:v3/LocalizedString/value": value -"/youtube:v3/MonitorStreamInfo": monitor_stream_info -"/youtube:v3/MonitorStreamInfo/broadcastStreamDelayMs": broadcast_stream_delay_ms -"/youtube:v3/MonitorStreamInfo/embedHtml": embed_html -"/youtube:v3/MonitorStreamInfo/enableMonitorStream": enable_monitor_stream -"/youtube:v3/PageInfo": page_info -"/youtube:v3/PageInfo/resultsPerPage": results_per_page -"/youtube:v3/PageInfo/totalResults": total_results -"/youtube:v3/Playlist": playlist -"/youtube:v3/Playlist/contentDetails": content_details -"/youtube:v3/Playlist/etag": etag -"/youtube:v3/Playlist/id": id -"/youtube:v3/Playlist/kind": kind -"/youtube:v3/Playlist/localizations": localizations -"/youtube:v3/Playlist/localizations/localization": localization -"/youtube:v3/Playlist/player": player -"/youtube:v3/Playlist/snippet": snippet -"/youtube:v3/Playlist/status": status -"/youtube:v3/PlaylistContentDetails": playlist_content_details -"/youtube:v3/PlaylistContentDetails/itemCount": item_count -"/youtube:v3/PlaylistItem": playlist_item -"/youtube:v3/PlaylistItem/contentDetails": content_details -"/youtube:v3/PlaylistItem/etag": etag -"/youtube:v3/PlaylistItem/id": id -"/youtube:v3/PlaylistItem/kind": kind -"/youtube:v3/PlaylistItem/snippet": snippet -"/youtube:v3/PlaylistItem/status": status -"/youtube:v3/PlaylistItemContentDetails": playlist_item_content_details -"/youtube:v3/PlaylistItemContentDetails/endAt": end_at -"/youtube:v3/PlaylistItemContentDetails/note": note -"/youtube:v3/PlaylistItemContentDetails/startAt": start_at -"/youtube:v3/PlaylistItemContentDetails/videoId": video_id -"/youtube:v3/PlaylistItemContentDetails/videoPublishedAt": video_published_at -"/youtube:v3/PlaylistItemListResponse/etag": etag -"/youtube:v3/PlaylistItemListResponse/eventId": event_id -"/youtube:v3/PlaylistItemListResponse/items": items -"/youtube:v3/PlaylistItemListResponse/items/item": item -"/youtube:v3/PlaylistItemListResponse/kind": kind -"/youtube:v3/PlaylistItemListResponse/nextPageToken": next_page_token -"/youtube:v3/PlaylistItemListResponse/pageInfo": page_info -"/youtube:v3/PlaylistItemListResponse/prevPageToken": prev_page_token -"/youtube:v3/PlaylistItemListResponse/tokenPagination": token_pagination -"/youtube:v3/PlaylistItemListResponse/visitorId": visitor_id -"/youtube:v3/PlaylistItemSnippet": playlist_item_snippet -"/youtube:v3/PlaylistItemSnippet/channelId": channel_id -"/youtube:v3/PlaylistItemSnippet/channelTitle": channel_title -"/youtube:v3/PlaylistItemSnippet/description": description -"/youtube:v3/PlaylistItemSnippet/playlistId": playlist_id -"/youtube:v3/PlaylistItemSnippet/position": position -"/youtube:v3/PlaylistItemSnippet/publishedAt": published_at -"/youtube:v3/PlaylistItemSnippet/resourceId": resource_id -"/youtube:v3/PlaylistItemSnippet/thumbnails": thumbnails -"/youtube:v3/PlaylistItemSnippet/title": title -"/youtube:v3/PlaylistItemStatus": playlist_item_status -"/youtube:v3/PlaylistItemStatus/privacyStatus": privacy_status -"/youtube:v3/PlaylistListResponse/etag": etag -"/youtube:v3/PlaylistListResponse/eventId": event_id -"/youtube:v3/PlaylistListResponse/items": items -"/youtube:v3/PlaylistListResponse/items/item": item -"/youtube:v3/PlaylistListResponse/kind": kind -"/youtube:v3/PlaylistListResponse/nextPageToken": next_page_token -"/youtube:v3/PlaylistListResponse/pageInfo": page_info -"/youtube:v3/PlaylistListResponse/prevPageToken": prev_page_token -"/youtube:v3/PlaylistListResponse/tokenPagination": token_pagination -"/youtube:v3/PlaylistListResponse/visitorId": visitor_id -"/youtube:v3/PlaylistLocalization": playlist_localization -"/youtube:v3/PlaylistLocalization/description": description -"/youtube:v3/PlaylistLocalization/title": title -"/youtube:v3/PlaylistPlayer": playlist_player -"/youtube:v3/PlaylistPlayer/embedHtml": embed_html -"/youtube:v3/PlaylistSnippet": playlist_snippet -"/youtube:v3/PlaylistSnippet/channelId": channel_id -"/youtube:v3/PlaylistSnippet/channelTitle": channel_title -"/youtube:v3/PlaylistSnippet/defaultLanguage": default_language -"/youtube:v3/PlaylistSnippet/description": description -"/youtube:v3/PlaylistSnippet/localized": localized -"/youtube:v3/PlaylistSnippet/publishedAt": published_at -"/youtube:v3/PlaylistSnippet/tags": tags -"/youtube:v3/PlaylistSnippet/tags/tag": tag -"/youtube:v3/PlaylistSnippet/thumbnails": thumbnails -"/youtube:v3/PlaylistSnippet/title": title -"/youtube:v3/PlaylistStatus": playlist_status -"/youtube:v3/PlaylistStatus/privacyStatus": privacy_status -"/youtube:v3/PromotedItem": promoted_item -"/youtube:v3/PromotedItem/customMessage": custom_message -"/youtube:v3/PromotedItem/id": id -"/youtube:v3/PromotedItem/promotedByContentOwner": promoted_by_content_owner -"/youtube:v3/PromotedItem/timing": timing -"/youtube:v3/PromotedItemId": promoted_item_id -"/youtube:v3/PromotedItemId/recentlyUploadedBy": recently_uploaded_by -"/youtube:v3/PromotedItemId/type": type -"/youtube:v3/PromotedItemId/videoId": video_id -"/youtube:v3/PromotedItemId/websiteUrl": website_url -"/youtube:v3/PropertyValue": property_value -"/youtube:v3/PropertyValue/property": property -"/youtube:v3/PropertyValue/value": value -"/youtube:v3/ResourceId": resource_id -"/youtube:v3/ResourceId/channelId": channel_id -"/youtube:v3/ResourceId/kind": kind -"/youtube:v3/ResourceId/playlistId": playlist_id -"/youtube:v3/ResourceId/videoId": video_id -"/youtube:v3/SearchListResponse/etag": etag -"/youtube:v3/SearchListResponse/eventId": event_id -"/youtube:v3/SearchListResponse/items": items -"/youtube:v3/SearchListResponse/items/item": item -"/youtube:v3/SearchListResponse/kind": kind -"/youtube:v3/SearchListResponse/nextPageToken": next_page_token -"/youtube:v3/SearchListResponse/pageInfo": page_info -"/youtube:v3/SearchListResponse/prevPageToken": prev_page_token -"/youtube:v3/SearchListResponse/regionCode": region_code -"/youtube:v3/SearchListResponse/tokenPagination": token_pagination -"/youtube:v3/SearchListResponse/visitorId": visitor_id -"/youtube:v3/SearchResult": search_result -"/youtube:v3/SearchResult/etag": etag -"/youtube:v3/SearchResult/id": id -"/youtube:v3/SearchResult/kind": kind -"/youtube:v3/SearchResult/snippet": snippet -"/youtube:v3/SearchResultSnippet": search_result_snippet -"/youtube:v3/SearchResultSnippet/channelId": channel_id -"/youtube:v3/SearchResultSnippet/channelTitle": channel_title -"/youtube:v3/SearchResultSnippet/description": description -"/youtube:v3/SearchResultSnippet/liveBroadcastContent": live_broadcast_content -"/youtube:v3/SearchResultSnippet/publishedAt": published_at -"/youtube:v3/SearchResultSnippet/thumbnails": thumbnails -"/youtube:v3/SearchResultSnippet/title": title -"/youtube:v3/Sponsor": sponsor -"/youtube:v3/Sponsor/etag": etag -"/youtube:v3/Sponsor/id": id -"/youtube:v3/Sponsor/kind": kind -"/youtube:v3/Sponsor/snippet": snippet -"/youtube:v3/SponsorListResponse": sponsor_list_response -"/youtube:v3/SponsorListResponse/etag": etag -"/youtube:v3/SponsorListResponse/eventId": event_id -"/youtube:v3/SponsorListResponse/items": items -"/youtube:v3/SponsorListResponse/items/item": item -"/youtube:v3/SponsorListResponse/kind": kind -"/youtube:v3/SponsorListResponse/nextPageToken": next_page_token -"/youtube:v3/SponsorListResponse/pageInfo": page_info -"/youtube:v3/SponsorListResponse/tokenPagination": token_pagination -"/youtube:v3/SponsorListResponse/visitorId": visitor_id -"/youtube:v3/SponsorSnippet": sponsor_snippet -"/youtube:v3/SponsorSnippet/channelId": channel_id -"/youtube:v3/SponsorSnippet/sponsorDetails": sponsor_details -"/youtube:v3/SponsorSnippet/sponsorSince": sponsor_since -"/youtube:v3/Subscription": subscription -"/youtube:v3/Subscription/contentDetails": content_details -"/youtube:v3/Subscription/etag": etag -"/youtube:v3/Subscription/id": id -"/youtube:v3/Subscription/kind": kind -"/youtube:v3/Subscription/snippet": snippet -"/youtube:v3/Subscription/subscriberSnippet": subscriber_snippet -"/youtube:v3/SubscriptionContentDetails": subscription_content_details -"/youtube:v3/SubscriptionContentDetails/activityType": activity_type -"/youtube:v3/SubscriptionContentDetails/newItemCount": new_item_count -"/youtube:v3/SubscriptionContentDetails/totalItemCount": total_item_count -"/youtube:v3/SubscriptionListResponse/etag": etag -"/youtube:v3/SubscriptionListResponse/eventId": event_id -"/youtube:v3/SubscriptionListResponse/items": items -"/youtube:v3/SubscriptionListResponse/items/item": item -"/youtube:v3/SubscriptionListResponse/kind": kind -"/youtube:v3/SubscriptionListResponse/nextPageToken": next_page_token -"/youtube:v3/SubscriptionListResponse/pageInfo": page_info -"/youtube:v3/SubscriptionListResponse/prevPageToken": prev_page_token -"/youtube:v3/SubscriptionListResponse/tokenPagination": token_pagination -"/youtube:v3/SubscriptionListResponse/visitorId": visitor_id -"/youtube:v3/SubscriptionSnippet": subscription_snippet -"/youtube:v3/SubscriptionSnippet/channelId": channel_id -"/youtube:v3/SubscriptionSnippet/channelTitle": channel_title -"/youtube:v3/SubscriptionSnippet/description": description -"/youtube:v3/SubscriptionSnippet/publishedAt": published_at -"/youtube:v3/SubscriptionSnippet/resourceId": resource_id -"/youtube:v3/SubscriptionSnippet/thumbnails": thumbnails -"/youtube:v3/SubscriptionSnippet/title": title -"/youtube:v3/SubscriptionSubscriberSnippet": subscription_subscriber_snippet -"/youtube:v3/SubscriptionSubscriberSnippet/channelId": channel_id -"/youtube:v3/SubscriptionSubscriberSnippet/description": description -"/youtube:v3/SubscriptionSubscriberSnippet/thumbnails": thumbnails -"/youtube:v3/SubscriptionSubscriberSnippet/title": title -"/youtube:v3/SuperChatEvent": super_chat_event -"/youtube:v3/SuperChatEvent/etag": etag -"/youtube:v3/SuperChatEvent/id": id -"/youtube:v3/SuperChatEvent/kind": kind -"/youtube:v3/SuperChatEvent/snippet": snippet -"/youtube:v3/SuperChatEventListResponse": super_chat_event_list_response -"/youtube:v3/SuperChatEventListResponse/etag": etag -"/youtube:v3/SuperChatEventListResponse/eventId": event_id -"/youtube:v3/SuperChatEventListResponse/items": items -"/youtube:v3/SuperChatEventListResponse/items/item": item -"/youtube:v3/SuperChatEventListResponse/kind": kind -"/youtube:v3/SuperChatEventListResponse/nextPageToken": next_page_token -"/youtube:v3/SuperChatEventListResponse/pageInfo": page_info -"/youtube:v3/SuperChatEventListResponse/tokenPagination": token_pagination -"/youtube:v3/SuperChatEventListResponse/visitorId": visitor_id -"/youtube:v3/SuperChatEventSnippet": super_chat_event_snippet -"/youtube:v3/SuperChatEventSnippet/amountMicros": amount_micros -"/youtube:v3/SuperChatEventSnippet/channelId": channel_id -"/youtube:v3/SuperChatEventSnippet/commentText": comment_text -"/youtube:v3/SuperChatEventSnippet/createdAt": created_at -"/youtube:v3/SuperChatEventSnippet/currency": currency -"/youtube:v3/SuperChatEventSnippet/displayString": display_string -"/youtube:v3/SuperChatEventSnippet/messageType": message_type -"/youtube:v3/SuperChatEventSnippet/supporterDetails": supporter_details -"/youtube:v3/Thumbnail": thumbnail -"/youtube:v3/Thumbnail/height": height -"/youtube:v3/Thumbnail/url": url -"/youtube:v3/Thumbnail/width": width -"/youtube:v3/ThumbnailDetails": thumbnail_details -"/youtube:v3/ThumbnailDetails/default": default -"/youtube:v3/ThumbnailDetails/high": high -"/youtube:v3/ThumbnailDetails/maxres": maxres -"/youtube:v3/ThumbnailDetails/medium": medium -"/youtube:v3/ThumbnailDetails/standard": standard -"/youtube:v3/ThumbnailSetResponse/etag": etag -"/youtube:v3/ThumbnailSetResponse/eventId": event_id -"/youtube:v3/ThumbnailSetResponse/items": items -"/youtube:v3/ThumbnailSetResponse/items/item": item -"/youtube:v3/ThumbnailSetResponse/kind": kind -"/youtube:v3/ThumbnailSetResponse/visitorId": visitor_id -"/youtube:v3/TokenPagination": token_pagination -"/youtube:v3/Video": video -"/youtube:v3/Video/ageGating": age_gating -"/youtube:v3/Video/contentDetails": content_details -"/youtube:v3/Video/etag": etag -"/youtube:v3/Video/fileDetails": file_details -"/youtube:v3/Video/id": id -"/youtube:v3/Video/kind": kind -"/youtube:v3/Video/liveStreamingDetails": live_streaming_details -"/youtube:v3/Video/localizations": localizations -"/youtube:v3/Video/localizations/localization": localization -"/youtube:v3/Video/monetizationDetails": monetization_details -"/youtube:v3/Video/player": player -"/youtube:v3/Video/processingDetails": processing_details -"/youtube:v3/Video/projectDetails": project_details -"/youtube:v3/Video/recordingDetails": recording_details -"/youtube:v3/Video/snippet": snippet -"/youtube:v3/Video/statistics": statistics -"/youtube:v3/Video/status": status -"/youtube:v3/Video/suggestions": suggestions -"/youtube:v3/Video/topicDetails": topic_details -"/youtube:v3/VideoAbuseReport": video_abuse_report -"/youtube:v3/VideoAbuseReport/comments": comments -"/youtube:v3/VideoAbuseReport/language": language -"/youtube:v3/VideoAbuseReport/reasonId": reason_id -"/youtube:v3/VideoAbuseReport/secondaryReasonId": secondary_reason_id -"/youtube:v3/VideoAbuseReport/videoId": video_id -"/youtube:v3/VideoAbuseReportReason": video_abuse_report_reason -"/youtube:v3/VideoAbuseReportReason/etag": etag -"/youtube:v3/VideoAbuseReportReason/id": id -"/youtube:v3/VideoAbuseReportReason/kind": kind -"/youtube:v3/VideoAbuseReportReason/snippet": snippet -"/youtube:v3/VideoAbuseReportReasonListResponse/etag": etag -"/youtube:v3/VideoAbuseReportReasonListResponse/eventId": event_id -"/youtube:v3/VideoAbuseReportReasonListResponse/items": items -"/youtube:v3/VideoAbuseReportReasonListResponse/items/item": item -"/youtube:v3/VideoAbuseReportReasonListResponse/kind": kind -"/youtube:v3/VideoAbuseReportReasonListResponse/visitorId": visitor_id -"/youtube:v3/VideoAbuseReportReasonSnippet": video_abuse_report_reason_snippet -"/youtube:v3/VideoAbuseReportReasonSnippet/label": label -"/youtube:v3/VideoAbuseReportReasonSnippet/secondaryReasons": secondary_reasons -"/youtube:v3/VideoAbuseReportReasonSnippet/secondaryReasons/secondary_reason": secondary_reason -"/youtube:v3/VideoAbuseReportSecondaryReason": video_abuse_report_secondary_reason -"/youtube:v3/VideoAbuseReportSecondaryReason/id": id -"/youtube:v3/VideoAbuseReportSecondaryReason/label": label -"/youtube:v3/VideoAgeGating": video_age_gating -"/youtube:v3/VideoAgeGating/alcoholContent": alcohol_content -"/youtube:v3/VideoAgeGating/restricted": restricted -"/youtube:v3/VideoAgeGating/videoGameRating": video_game_rating -"/youtube:v3/VideoCategory": video_category -"/youtube:v3/VideoCategory/etag": etag -"/youtube:v3/VideoCategory/id": id -"/youtube:v3/VideoCategory/kind": kind -"/youtube:v3/VideoCategory/snippet": snippet -"/youtube:v3/VideoCategoryListResponse/etag": etag -"/youtube:v3/VideoCategoryListResponse/eventId": event_id -"/youtube:v3/VideoCategoryListResponse/items": items -"/youtube:v3/VideoCategoryListResponse/items/item": item -"/youtube:v3/VideoCategoryListResponse/kind": kind -"/youtube:v3/VideoCategoryListResponse/nextPageToken": next_page_token -"/youtube:v3/VideoCategoryListResponse/pageInfo": page_info -"/youtube:v3/VideoCategoryListResponse/prevPageToken": prev_page_token -"/youtube:v3/VideoCategoryListResponse/tokenPagination": token_pagination -"/youtube:v3/VideoCategoryListResponse/visitorId": visitor_id -"/youtube:v3/VideoCategorySnippet": video_category_snippet -"/youtube:v3/VideoCategorySnippet/assignable": assignable -"/youtube:v3/VideoCategorySnippet/channelId": channel_id -"/youtube:v3/VideoCategorySnippet/title": title -"/youtube:v3/VideoContentDetails": video_content_details -"/youtube:v3/VideoContentDetails/caption": caption -"/youtube:v3/VideoContentDetails/contentRating": content_rating -"/youtube:v3/VideoContentDetails/countryRestriction": country_restriction -"/youtube:v3/VideoContentDetails/definition": definition -"/youtube:v3/VideoContentDetails/dimension": dimension -"/youtube:v3/VideoContentDetails/duration": duration -"/youtube:v3/VideoContentDetails/hasCustomThumbnail": has_custom_thumbnail -"/youtube:v3/VideoContentDetails/licensedContent": licensed_content -"/youtube:v3/VideoContentDetails/projection": projection -"/youtube:v3/VideoContentDetails/regionRestriction": region_restriction -"/youtube:v3/VideoContentDetailsRegionRestriction": video_content_details_region_restriction -"/youtube:v3/VideoContentDetailsRegionRestriction/allowed": allowed -"/youtube:v3/VideoContentDetailsRegionRestriction/allowed/allowed": allowed -"/youtube:v3/VideoContentDetailsRegionRestriction/blocked": blocked -"/youtube:v3/VideoContentDetailsRegionRestriction/blocked/blocked": blocked -"/youtube:v3/VideoFileDetails": video_file_details -"/youtube:v3/VideoFileDetails/audioStreams": audio_streams -"/youtube:v3/VideoFileDetails/audioStreams/audio_stream": audio_stream -"/youtube:v3/VideoFileDetails/bitrateBps": bitrate_bps -"/youtube:v3/VideoFileDetails/container": container -"/youtube:v3/VideoFileDetails/creationTime": creation_time -"/youtube:v3/VideoFileDetails/durationMs": duration_ms -"/youtube:v3/VideoFileDetails/fileName": file_name -"/youtube:v3/VideoFileDetails/fileSize": file_size -"/youtube:v3/VideoFileDetails/fileType": file_type -"/youtube:v3/VideoFileDetails/videoStreams": video_streams -"/youtube:v3/VideoFileDetails/videoStreams/video_stream": video_stream -"/youtube:v3/VideoFileDetailsAudioStream": video_file_details_audio_stream -"/youtube:v3/VideoFileDetailsAudioStream/bitrateBps": bitrate_bps -"/youtube:v3/VideoFileDetailsAudioStream/channelCount": channel_count -"/youtube:v3/VideoFileDetailsAudioStream/codec": codec -"/youtube:v3/VideoFileDetailsAudioStream/vendor": vendor -"/youtube:v3/VideoFileDetailsVideoStream": video_file_details_video_stream -"/youtube:v3/VideoFileDetailsVideoStream/aspectRatio": aspect_ratio -"/youtube:v3/VideoFileDetailsVideoStream/bitrateBps": bitrate_bps -"/youtube:v3/VideoFileDetailsVideoStream/codec": codec -"/youtube:v3/VideoFileDetailsVideoStream/frameRateFps": frame_rate_fps -"/youtube:v3/VideoFileDetailsVideoStream/heightPixels": height_pixels -"/youtube:v3/VideoFileDetailsVideoStream/rotation": rotation -"/youtube:v3/VideoFileDetailsVideoStream/vendor": vendor -"/youtube:v3/VideoFileDetailsVideoStream/widthPixels": width_pixels -"/youtube:v3/VideoGetRatingResponse/etag": etag -"/youtube:v3/VideoGetRatingResponse/eventId": event_id -"/youtube:v3/VideoGetRatingResponse/items": items -"/youtube:v3/VideoGetRatingResponse/items/item": item -"/youtube:v3/VideoGetRatingResponse/kind": kind -"/youtube:v3/VideoGetRatingResponse/visitorId": visitor_id -"/youtube:v3/VideoListResponse/etag": etag -"/youtube:v3/VideoListResponse/eventId": event_id -"/youtube:v3/VideoListResponse/items": items -"/youtube:v3/VideoListResponse/items/item": item -"/youtube:v3/VideoListResponse/kind": kind -"/youtube:v3/VideoListResponse/nextPageToken": next_page_token -"/youtube:v3/VideoListResponse/pageInfo": page_info -"/youtube:v3/VideoListResponse/prevPageToken": prev_page_token -"/youtube:v3/VideoListResponse/tokenPagination": token_pagination -"/youtube:v3/VideoListResponse/visitorId": visitor_id -"/youtube:v3/VideoLiveStreamingDetails": video_live_streaming_details -"/youtube:v3/VideoLiveStreamingDetails/activeLiveChatId": active_live_chat_id -"/youtube:v3/VideoLiveStreamingDetails/actualEndTime": actual_end_time -"/youtube:v3/VideoLiveStreamingDetails/actualStartTime": actual_start_time -"/youtube:v3/VideoLiveStreamingDetails/concurrentViewers": concurrent_viewers -"/youtube:v3/VideoLiveStreamingDetails/scheduledEndTime": scheduled_end_time -"/youtube:v3/VideoLiveStreamingDetails/scheduledStartTime": scheduled_start_time -"/youtube:v3/VideoLocalization": video_localization -"/youtube:v3/VideoLocalization/description": description -"/youtube:v3/VideoLocalization/title": title -"/youtube:v3/VideoMonetizationDetails": video_monetization_details -"/youtube:v3/VideoMonetizationDetails/access": access -"/youtube:v3/VideoPlayer": video_player -"/youtube:v3/VideoPlayer/embedHeight": embed_height -"/youtube:v3/VideoPlayer/embedHtml": embed_html -"/youtube:v3/VideoPlayer/embedWidth": embed_width -"/youtube:v3/VideoProcessingDetails": video_processing_details -"/youtube:v3/VideoProcessingDetails/editorSuggestionsAvailability": editor_suggestions_availability -"/youtube:v3/VideoProcessingDetails/fileDetailsAvailability": file_details_availability -"/youtube:v3/VideoProcessingDetails/processingFailureReason": processing_failure_reason -"/youtube:v3/VideoProcessingDetails/processingIssuesAvailability": processing_issues_availability -"/youtube:v3/VideoProcessingDetails/processingProgress": processing_progress -"/youtube:v3/VideoProcessingDetails/processingStatus": processing_status -"/youtube:v3/VideoProcessingDetails/tagSuggestionsAvailability": tag_suggestions_availability -"/youtube:v3/VideoProcessingDetails/thumbnailsAvailability": thumbnails_availability -"/youtube:v3/VideoProcessingDetailsProcessingProgress": video_processing_details_processing_progress -"/youtube:v3/VideoProcessingDetailsProcessingProgress/partsProcessed": parts_processed -"/youtube:v3/VideoProcessingDetailsProcessingProgress/partsTotal": parts_total -"/youtube:v3/VideoProcessingDetailsProcessingProgress/timeLeftMs": time_left_ms -"/youtube:v3/VideoProjectDetails": video_project_details -"/youtube:v3/VideoProjectDetails/tags": tags -"/youtube:v3/VideoProjectDetails/tags/tag": tag -"/youtube:v3/VideoRating": video_rating -"/youtube:v3/VideoRating/rating": rating -"/youtube:v3/VideoRating/videoId": video_id -"/youtube:v3/VideoRecordingDetails": video_recording_details -"/youtube:v3/VideoRecordingDetails/location": location -"/youtube:v3/VideoRecordingDetails/locationDescription": location_description -"/youtube:v3/VideoRecordingDetails/recordingDate": recording_date -"/youtube:v3/VideoSnippet": video_snippet -"/youtube:v3/VideoSnippet/categoryId": category_id -"/youtube:v3/VideoSnippet/channelId": channel_id -"/youtube:v3/VideoSnippet/channelTitle": channel_title -"/youtube:v3/VideoSnippet/defaultAudioLanguage": default_audio_language -"/youtube:v3/VideoSnippet/defaultLanguage": default_language -"/youtube:v3/VideoSnippet/description": description -"/youtube:v3/VideoSnippet/liveBroadcastContent": live_broadcast_content -"/youtube:v3/VideoSnippet/localized": localized -"/youtube:v3/VideoSnippet/publishedAt": published_at -"/youtube:v3/VideoSnippet/tags": tags -"/youtube:v3/VideoSnippet/tags/tag": tag -"/youtube:v3/VideoSnippet/thumbnails": thumbnails -"/youtube:v3/VideoSnippet/title": title -"/youtube:v3/VideoStatistics": video_statistics -"/youtube:v3/VideoStatistics/commentCount": comment_count -"/youtube:v3/VideoStatistics/dislikeCount": dislike_count -"/youtube:v3/VideoStatistics/favoriteCount": favorite_count -"/youtube:v3/VideoStatistics/likeCount": like_count -"/youtube:v3/VideoStatistics/viewCount": view_count -"/youtube:v3/VideoStatus": video_status -"/youtube:v3/VideoStatus/embeddable": embeddable -"/youtube:v3/VideoStatus/failureReason": failure_reason -"/youtube:v3/VideoStatus/license": license -"/youtube:v3/VideoStatus/privacyStatus": privacy_status -"/youtube:v3/VideoStatus/publicStatsViewable": public_stats_viewable -"/youtube:v3/VideoStatus/publishAt": publish_at -"/youtube:v3/VideoStatus/rejectionReason": rejection_reason -"/youtube:v3/VideoStatus/uploadStatus": upload_status -"/youtube:v3/VideoSuggestions": video_suggestions -"/youtube:v3/VideoSuggestions/editorSuggestions": editor_suggestions -"/youtube:v3/VideoSuggestions/editorSuggestions/editor_suggestion": editor_suggestion -"/youtube:v3/VideoSuggestions/processingErrors": processing_errors -"/youtube:v3/VideoSuggestions/processingErrors/processing_error": processing_error -"/youtube:v3/VideoSuggestions/processingHints": processing_hints -"/youtube:v3/VideoSuggestions/processingHints/processing_hint": processing_hint -"/youtube:v3/VideoSuggestions/processingWarnings": processing_warnings -"/youtube:v3/VideoSuggestions/processingWarnings/processing_warning": processing_warning -"/youtube:v3/VideoSuggestions/tagSuggestions": tag_suggestions -"/youtube:v3/VideoSuggestions/tagSuggestions/tag_suggestion": tag_suggestion -"/youtube:v3/VideoSuggestionsTagSuggestion": video_suggestions_tag_suggestion -"/youtube:v3/VideoSuggestionsTagSuggestion/categoryRestricts": category_restricts -"/youtube:v3/VideoSuggestionsTagSuggestion/categoryRestricts/category_restrict": category_restrict -"/youtube:v3/VideoSuggestionsTagSuggestion/tag": tag -"/youtube:v3/VideoTopicDetails": video_topic_details -"/youtube:v3/VideoTopicDetails/relevantTopicIds": relevant_topic_ids -"/youtube:v3/VideoTopicDetails/relevantTopicIds/relevant_topic_id": relevant_topic_id -"/youtube:v3/VideoTopicDetails/topicCategories": topic_categories -"/youtube:v3/VideoTopicDetails/topicCategories/topic_category": topic_category -"/youtube:v3/VideoTopicDetails/topicIds": topic_ids -"/youtube:v3/VideoTopicDetails/topicIds/topic_id": topic_id -"/youtube:v3/WatchSettings": watch_settings -"/youtube:v3/WatchSettings/backgroundColor": background_color -"/youtube:v3/WatchSettings/featuredPlaylistId": featured_playlist_id -"/youtube:v3/WatchSettings/textColor": text_color +"/youtubeAnalytics:v1/Group": group +"/youtubeAnalytics:v1/Group/contentDetails": content_details +"/youtubeAnalytics:v1/Group/contentDetails/itemCount": item_count +"/youtubeAnalytics:v1/Group/contentDetails/itemType": item_type +"/youtubeAnalytics:v1/Group/etag": etag +"/youtubeAnalytics:v1/Group/id": id +"/youtubeAnalytics:v1/Group/kind": kind +"/youtubeAnalytics:v1/Group/snippet": snippet +"/youtubeAnalytics:v1/Group/snippet/publishedAt": published_at +"/youtubeAnalytics:v1/Group/snippet/title": title +"/youtubeAnalytics:v1/GroupItem": group_item +"/youtubeAnalytics:v1/GroupItem/etag": etag +"/youtubeAnalytics:v1/GroupItem/groupId": group_id +"/youtubeAnalytics:v1/GroupItem/id": id +"/youtubeAnalytics:v1/GroupItem/kind": kind +"/youtubeAnalytics:v1/GroupItem/resource": resource +"/youtubeAnalytics:v1/GroupItem/resource/id": id +"/youtubeAnalytics:v1/GroupItem/resource/kind": kind +"/youtubeAnalytics:v1/GroupItemListResponse": list_group_item_response +"/youtubeAnalytics:v1/GroupItemListResponse/etag": etag +"/youtubeAnalytics:v1/GroupItemListResponse/items": items +"/youtubeAnalytics:v1/GroupItemListResponse/items/item": item +"/youtubeAnalytics:v1/GroupItemListResponse/kind": kind +"/youtubeAnalytics:v1/GroupListResponse": list_groups_response +"/youtubeAnalytics:v1/GroupListResponse/etag": etag +"/youtubeAnalytics:v1/GroupListResponse/items": items +"/youtubeAnalytics:v1/GroupListResponse/items/item": item +"/youtubeAnalytics:v1/GroupListResponse/kind": kind +"/youtubeAnalytics:v1/GroupListResponse/nextPageToken": next_page_token +"/youtubeAnalytics:v1/ResultTable": result_table +"/youtubeAnalytics:v1/ResultTable/columnHeaders": column_headers +"/youtubeAnalytics:v1/ResultTable/columnHeaders/column_header": column_header +"/youtubeAnalytics:v1/ResultTable/columnHeaders/column_header/columnType": column_type +"/youtubeAnalytics:v1/ResultTable/columnHeaders/column_header/dataType": data_type +"/youtubeAnalytics:v1/ResultTable/columnHeaders/column_header/name": name +"/youtubeAnalytics:v1/ResultTable/kind": kind +"/youtubeAnalytics:v1/ResultTable/rows": rows +"/youtubeAnalytics:v1/ResultTable/rows/row": row +"/youtubeAnalytics:v1/ResultTable/rows/row/row": row "/youtubeAnalytics:v1/fields": fields "/youtubeAnalytics:v1/key": key "/youtubeAnalytics:v1/quotaUser": quota_user @@ -42696,53 +45138,878 @@ "/youtubeAnalytics:v1/youtubeAnalytics.reports.query/sort": sort "/youtubeAnalytics:v1/youtubeAnalytics.reports.query/start-date": start_date "/youtubeAnalytics:v1/youtubeAnalytics.reports.query/start-index": start_index -"/youtubeAnalytics:v1/Group": group -"/youtubeAnalytics:v1/Group/contentDetails": content_details -"/youtubeAnalytics:v1/Group/contentDetails/itemCount": item_count -"/youtubeAnalytics:v1/Group/contentDetails/itemType": item_type -"/youtubeAnalytics:v1/Group/etag": etag -"/youtubeAnalytics:v1/Group/id": id -"/youtubeAnalytics:v1/Group/kind": kind -"/youtubeAnalytics:v1/Group/snippet": snippet -"/youtubeAnalytics:v1/Group/snippet/publishedAt": published_at -"/youtubeAnalytics:v1/Group/snippet/title": title -"/youtubeAnalytics:v1/GroupItem": group_item -"/youtubeAnalytics:v1/GroupItem/etag": etag -"/youtubeAnalytics:v1/GroupItem/groupId": group_id -"/youtubeAnalytics:v1/GroupItem/id": id -"/youtubeAnalytics:v1/GroupItem/kind": kind -"/youtubeAnalytics:v1/GroupItem/resource": resource -"/youtubeAnalytics:v1/GroupItem/resource/id": id -"/youtubeAnalytics:v1/GroupItem/resource/kind": kind -"/youtubeAnalytics:v1/GroupItemListResponse/etag": etag -"/youtubeAnalytics:v1/GroupItemListResponse/items": items -"/youtubeAnalytics:v1/GroupItemListResponse/items/item": item -"/youtubeAnalytics:v1/GroupItemListResponse/kind": kind -"/youtubeAnalytics:v1/GroupListResponse/etag": etag -"/youtubeAnalytics:v1/GroupListResponse/items": items -"/youtubeAnalytics:v1/GroupListResponse/items/item": item -"/youtubeAnalytics:v1/GroupListResponse/kind": kind -"/youtubeAnalytics:v1/GroupListResponse/nextPageToken": next_page_token -"/youtubeAnalytics:v1/ResultTable": result_table -"/youtubeAnalytics:v1/ResultTable/columnHeaders": column_headers -"/youtubeAnalytics:v1/ResultTable/columnHeaders/column_header": column_header -"/youtubeAnalytics:v1/ResultTable/columnHeaders/column_header/columnType": column_type -"/youtubeAnalytics:v1/ResultTable/columnHeaders/column_header/dataType": data_type -"/youtubeAnalytics:v1/ResultTable/columnHeaders/column_header/name": name -"/youtubeAnalytics:v1/ResultTable/kind": kind -"/youtubeAnalytics:v1/ResultTable/rows": rows -"/youtubeAnalytics:v1/ResultTable/rows/row": row -"/youtubeAnalytics:v1/ResultTable/rows/row/row": row +"/youtubePartner:v1/AdBreak": ad_break +"/youtubePartner:v1/AdBreak/midrollSeconds": midroll_seconds +"/youtubePartner:v1/AdBreak/position": position +"/youtubePartner:v1/AdBreak/slot": slot +"/youtubePartner:v1/AdBreak/slot/slot": slot +"/youtubePartner:v1/AdSlot": ad_slot +"/youtubePartner:v1/AdSlot/id": id +"/youtubePartner:v1/AdSlot/type": type +"/youtubePartner:v1/AllowedAdvertisingOptions": allowed_advertising_options +"/youtubePartner:v1/AllowedAdvertisingOptions/adsOnEmbeds": ads_on_embeds +"/youtubePartner:v1/AllowedAdvertisingOptions/kind": kind +"/youtubePartner:v1/AllowedAdvertisingOptions/licAdFormats": lic_ad_formats +"/youtubePartner:v1/AllowedAdvertisingOptions/licAdFormats/lic_ad_format": lic_ad_format +"/youtubePartner:v1/AllowedAdvertisingOptions/ugcAdFormats": ugc_ad_formats +"/youtubePartner:v1/AllowedAdvertisingOptions/ugcAdFormats/ugc_ad_format": ugc_ad_format +"/youtubePartner:v1/Asset": asset +"/youtubePartner:v1/Asset/aliasId": alias_id +"/youtubePartner:v1/Asset/aliasId/alias_id": alias_id +"/youtubePartner:v1/Asset/id": id +"/youtubePartner:v1/Asset/kind": kind +"/youtubePartner:v1/Asset/label": label +"/youtubePartner:v1/Asset/label/label": label +"/youtubePartner:v1/Asset/matchPolicy": match_policy +"/youtubePartner:v1/Asset/matchPolicyEffective": match_policy_effective +"/youtubePartner:v1/Asset/matchPolicyMine": match_policy_mine +"/youtubePartner:v1/Asset/metadata": metadata +"/youtubePartner:v1/Asset/metadataEffective": metadata_effective +"/youtubePartner:v1/Asset/metadataMine": metadata_mine +"/youtubePartner:v1/Asset/ownership": ownership +"/youtubePartner:v1/Asset/ownershipConflicts": ownership_conflicts +"/youtubePartner:v1/Asset/ownershipEffective": ownership_effective +"/youtubePartner:v1/Asset/ownershipMine": ownership_mine +"/youtubePartner:v1/Asset/status": status +"/youtubePartner:v1/Asset/timeCreated": time_created +"/youtubePartner:v1/Asset/type": type +"/youtubePartner:v1/AssetLabel": asset_label +"/youtubePartner:v1/AssetLabel/kind": kind +"/youtubePartner:v1/AssetLabel/labelName": label_name +"/youtubePartner:v1/AssetLabelListResponse": asset_label_list_response +"/youtubePartner:v1/AssetLabelListResponse/items": items +"/youtubePartner:v1/AssetLabelListResponse/items/item": item +"/youtubePartner:v1/AssetLabelListResponse/kind": kind +"/youtubePartner:v1/AssetListResponse": asset_list_response +"/youtubePartner:v1/AssetListResponse/items": items +"/youtubePartner:v1/AssetListResponse/items/item": item +"/youtubePartner:v1/AssetListResponse/kind": kind +"/youtubePartner:v1/AssetMatchPolicy": asset_match_policy +"/youtubePartner:v1/AssetMatchPolicy/kind": kind +"/youtubePartner:v1/AssetMatchPolicy/policyId": policy_id +"/youtubePartner:v1/AssetMatchPolicy/rules": rules +"/youtubePartner:v1/AssetMatchPolicy/rules/rule": rule +"/youtubePartner:v1/AssetRelationship": asset_relationship +"/youtubePartner:v1/AssetRelationship/childAssetId": child_asset_id +"/youtubePartner:v1/AssetRelationship/id": id +"/youtubePartner:v1/AssetRelationship/kind": kind +"/youtubePartner:v1/AssetRelationship/parentAssetId": parent_asset_id +"/youtubePartner:v1/AssetRelationshipListResponse": asset_relationship_list_response +"/youtubePartner:v1/AssetRelationshipListResponse/items": items +"/youtubePartner:v1/AssetRelationshipListResponse/items/item": item +"/youtubePartner:v1/AssetRelationshipListResponse/kind": kind +"/youtubePartner:v1/AssetRelationshipListResponse/nextPageToken": next_page_token +"/youtubePartner:v1/AssetRelationshipListResponse/pageInfo": page_info +"/youtubePartner:v1/AssetSearchResponse": asset_search_response +"/youtubePartner:v1/AssetSearchResponse/items": items +"/youtubePartner:v1/AssetSearchResponse/items/item": item +"/youtubePartner:v1/AssetSearchResponse/kind": kind +"/youtubePartner:v1/AssetSearchResponse/nextPageToken": next_page_token +"/youtubePartner:v1/AssetSearchResponse/pageInfo": page_info +"/youtubePartner:v1/AssetShare": asset_share +"/youtubePartner:v1/AssetShare/kind": kind +"/youtubePartner:v1/AssetShare/shareId": share_id +"/youtubePartner:v1/AssetShare/viewId": view_id +"/youtubePartner:v1/AssetShareListResponse": asset_share_list_response +"/youtubePartner:v1/AssetShareListResponse/items": items +"/youtubePartner:v1/AssetShareListResponse/items/item": item +"/youtubePartner:v1/AssetShareListResponse/kind": kind +"/youtubePartner:v1/AssetShareListResponse/nextPageToken": next_page_token +"/youtubePartner:v1/AssetShareListResponse/pageInfo": page_info +"/youtubePartner:v1/AssetSnippet": asset_snippet +"/youtubePartner:v1/AssetSnippet/customId": custom_id +"/youtubePartner:v1/AssetSnippet/id": id +"/youtubePartner:v1/AssetSnippet/isrc": isrc +"/youtubePartner:v1/AssetSnippet/iswc": iswc +"/youtubePartner:v1/AssetSnippet/kind": kind +"/youtubePartner:v1/AssetSnippet/timeCreated": time_created +"/youtubePartner:v1/AssetSnippet/title": title +"/youtubePartner:v1/AssetSnippet/type": type +"/youtubePartner:v1/Campaign": campaign +"/youtubePartner:v1/Campaign/campaignData": campaign_data +"/youtubePartner:v1/Campaign/id": id +"/youtubePartner:v1/Campaign/kind": kind +"/youtubePartner:v1/Campaign/status": status +"/youtubePartner:v1/Campaign/timeCreated": time_created +"/youtubePartner:v1/Campaign/timeLastModified": time_last_modified +"/youtubePartner:v1/CampaignData": campaign_data +"/youtubePartner:v1/CampaignData/campaignSource": campaign_source +"/youtubePartner:v1/CampaignData/expireTime": expire_time +"/youtubePartner:v1/CampaignData/name": name +"/youtubePartner:v1/CampaignData/promotedContent": promoted_content +"/youtubePartner:v1/CampaignData/promotedContent/promoted_content": promoted_content +"/youtubePartner:v1/CampaignData/startTime": start_time +"/youtubePartner:v1/CampaignList": campaign_list +"/youtubePartner:v1/CampaignList/items": items +"/youtubePartner:v1/CampaignList/items/item": item +"/youtubePartner:v1/CampaignList/kind": kind +"/youtubePartner:v1/CampaignSource": campaign_source +"/youtubePartner:v1/CampaignSource/sourceType": source_type +"/youtubePartner:v1/CampaignSource/sourceValue": source_value +"/youtubePartner:v1/CampaignSource/sourceValue/source_value": source_value +"/youtubePartner:v1/CampaignTargetLink": campaign_target_link +"/youtubePartner:v1/CampaignTargetLink/targetId": target_id +"/youtubePartner:v1/CampaignTargetLink/targetType": target_type +"/youtubePartner:v1/Claim": claim +"/youtubePartner:v1/Claim/appliedPolicy": applied_policy +"/youtubePartner:v1/Claim/assetId": asset_id +"/youtubePartner:v1/Claim/blockOutsideOwnership": block_outside_ownership +"/youtubePartner:v1/Claim/contentType": content_type +"/youtubePartner:v1/Claim/id": id +"/youtubePartner:v1/Claim/isPartnerUploaded": is_partner_uploaded +"/youtubePartner:v1/Claim/kind": kind +"/youtubePartner:v1/Claim/matchInfo": match_info +"/youtubePartner:v1/Claim/matchInfo/longestMatch": longest_match +"/youtubePartner:v1/Claim/matchInfo/longestMatch/durationSecs": duration_secs +"/youtubePartner:v1/Claim/matchInfo/longestMatch/referenceOffset": reference_offset +"/youtubePartner:v1/Claim/matchInfo/longestMatch/userVideoOffset": user_video_offset +"/youtubePartner:v1/Claim/matchInfo/matchSegments": match_segments +"/youtubePartner:v1/Claim/matchInfo/matchSegments/match_segment": match_segment +"/youtubePartner:v1/Claim/matchInfo/referenceId": reference_id +"/youtubePartner:v1/Claim/matchInfo/totalMatch": total_match +"/youtubePartner:v1/Claim/matchInfo/totalMatch/referenceDurationSecs": reference_duration_secs +"/youtubePartner:v1/Claim/matchInfo/totalMatch/userVideoDurationSecs": user_video_duration_secs +"/youtubePartner:v1/Claim/origin": origin +"/youtubePartner:v1/Claim/origin/source": source +"/youtubePartner:v1/Claim/policy": policy +"/youtubePartner:v1/Claim/status": status +"/youtubePartner:v1/Claim/timeCreated": time_created +"/youtubePartner:v1/Claim/videoId": video_id +"/youtubePartner:v1/ClaimEvent": claim_event +"/youtubePartner:v1/ClaimEvent/kind": kind +"/youtubePartner:v1/ClaimEvent/reason": reason +"/youtubePartner:v1/ClaimEvent/source": source +"/youtubePartner:v1/ClaimEvent/source/contentOwnerId": content_owner_id +"/youtubePartner:v1/ClaimEvent/source/type": type +"/youtubePartner:v1/ClaimEvent/source/userEmail": user_email +"/youtubePartner:v1/ClaimEvent/time": time +"/youtubePartner:v1/ClaimEvent/type": type +"/youtubePartner:v1/ClaimEvent/typeDetails": type_details +"/youtubePartner:v1/ClaimEvent/typeDetails/appealExplanation": appeal_explanation +"/youtubePartner:v1/ClaimEvent/typeDetails/disputeNotes": dispute_notes +"/youtubePartner:v1/ClaimEvent/typeDetails/disputeReason": dispute_reason +"/youtubePartner:v1/ClaimEvent/typeDetails/updateStatus": update_status +"/youtubePartner:v1/ClaimHistory": claim_history +"/youtubePartner:v1/ClaimHistory/event": event +"/youtubePartner:v1/ClaimHistory/event/event": event +"/youtubePartner:v1/ClaimHistory/id": id +"/youtubePartner:v1/ClaimHistory/kind": kind +"/youtubePartner:v1/ClaimHistory/uploaderChannelId": uploader_channel_id +"/youtubePartner:v1/ClaimListResponse": claim_list_response +"/youtubePartner:v1/ClaimListResponse/items": items +"/youtubePartner:v1/ClaimListResponse/items/item": item +"/youtubePartner:v1/ClaimListResponse/kind": kind +"/youtubePartner:v1/ClaimListResponse/nextPageToken": next_page_token +"/youtubePartner:v1/ClaimListResponse/pageInfo": page_info +"/youtubePartner:v1/ClaimListResponse/previousPageToken": previous_page_token +"/youtubePartner:v1/ClaimSearchResponse": claim_search_response +"/youtubePartner:v1/ClaimSearchResponse/items": items +"/youtubePartner:v1/ClaimSearchResponse/items/item": item +"/youtubePartner:v1/ClaimSearchResponse/kind": kind +"/youtubePartner:v1/ClaimSearchResponse/nextPageToken": next_page_token +"/youtubePartner:v1/ClaimSearchResponse/pageInfo": page_info +"/youtubePartner:v1/ClaimSearchResponse/previousPageToken": previous_page_token +"/youtubePartner:v1/ClaimSnippet": claim_snippet +"/youtubePartner:v1/ClaimSnippet/assetId": asset_id +"/youtubePartner:v1/ClaimSnippet/contentType": content_type +"/youtubePartner:v1/ClaimSnippet/id": id +"/youtubePartner:v1/ClaimSnippet/isPartnerUploaded": is_partner_uploaded +"/youtubePartner:v1/ClaimSnippet/kind": kind +"/youtubePartner:v1/ClaimSnippet/origin": origin +"/youtubePartner:v1/ClaimSnippet/origin/source": source +"/youtubePartner:v1/ClaimSnippet/status": status +"/youtubePartner:v1/ClaimSnippet/thirdPartyClaim": third_party_claim +"/youtubePartner:v1/ClaimSnippet/timeCreated": time_created +"/youtubePartner:v1/ClaimSnippet/timeStatusLastModified": time_status_last_modified +"/youtubePartner:v1/ClaimSnippet/videoId": video_id +"/youtubePartner:v1/ClaimSnippet/videoTitle": video_title +"/youtubePartner:v1/ClaimSnippet/videoViews": video_views +"/youtubePartner:v1/ClaimedVideoDefaults": claimed_video_defaults +"/youtubePartner:v1/ClaimedVideoDefaults/autoGeneratedBreaks": auto_generated_breaks +"/youtubePartner:v1/ClaimedVideoDefaults/channelOverride": channel_override +"/youtubePartner:v1/ClaimedVideoDefaults/kind": kind +"/youtubePartner:v1/ClaimedVideoDefaults/newVideoDefaults": new_video_defaults +"/youtubePartner:v1/ClaimedVideoDefaults/newVideoDefaults/new_video_default": new_video_default +"/youtubePartner:v1/Conditions": conditions +"/youtubePartner:v1/Conditions/contentMatchType": content_match_type +"/youtubePartner:v1/Conditions/contentMatchType/content_match_type": content_match_type +"/youtubePartner:v1/Conditions/matchDuration": match_duration +"/youtubePartner:v1/Conditions/matchDuration/match_duration": match_duration +"/youtubePartner:v1/Conditions/matchPercent": match_percent +"/youtubePartner:v1/Conditions/matchPercent/match_percent": match_percent +"/youtubePartner:v1/Conditions/referenceDuration": reference_duration +"/youtubePartner:v1/Conditions/referenceDuration/reference_duration": reference_duration +"/youtubePartner:v1/Conditions/referencePercent": reference_percent +"/youtubePartner:v1/Conditions/referencePercent/reference_percent": reference_percent +"/youtubePartner:v1/Conditions/requiredTerritories": required_territories +"/youtubePartner:v1/ConflictingOwnership": conflicting_ownership +"/youtubePartner:v1/ConflictingOwnership/owner": owner +"/youtubePartner:v1/ConflictingOwnership/ratio": ratio +"/youtubePartner:v1/ContentOwner": content_owner +"/youtubePartner:v1/ContentOwner/conflictNotificationEmail": conflict_notification_email +"/youtubePartner:v1/ContentOwner/displayName": display_name +"/youtubePartner:v1/ContentOwner/disputeNotificationEmails": dispute_notification_emails +"/youtubePartner:v1/ContentOwner/disputeNotificationEmails/dispute_notification_email": dispute_notification_email +"/youtubePartner:v1/ContentOwner/fingerprintReportNotificationEmails": fingerprint_report_notification_emails +"/youtubePartner:v1/ContentOwner/fingerprintReportNotificationEmails/fingerprint_report_notification_email": fingerprint_report_notification_email +"/youtubePartner:v1/ContentOwner/id": id +"/youtubePartner:v1/ContentOwner/kind": kind +"/youtubePartner:v1/ContentOwner/primaryNotificationEmails": primary_notification_emails +"/youtubePartner:v1/ContentOwner/primaryNotificationEmails/primary_notification_email": primary_notification_email +"/youtubePartner:v1/ContentOwnerAdvertisingOption": content_owner_advertising_option +"/youtubePartner:v1/ContentOwnerAdvertisingOption/allowedOptions": allowed_options +"/youtubePartner:v1/ContentOwnerAdvertisingOption/claimedVideoOptions": claimed_video_options +"/youtubePartner:v1/ContentOwnerAdvertisingOption/id": id +"/youtubePartner:v1/ContentOwnerAdvertisingOption/kind": kind +"/youtubePartner:v1/ContentOwnerListResponse": content_owner_list_response +"/youtubePartner:v1/ContentOwnerListResponse/items": items +"/youtubePartner:v1/ContentOwnerListResponse/items/item": item +"/youtubePartner:v1/ContentOwnerListResponse/kind": kind +"/youtubePartner:v1/CountriesRestriction": countries_restriction +"/youtubePartner:v1/CountriesRestriction/adFormats": ad_formats +"/youtubePartner:v1/CountriesRestriction/adFormats/ad_format": ad_format +"/youtubePartner:v1/CountriesRestriction/territories": territories +"/youtubePartner:v1/CountriesRestriction/territories/territory": territory +"/youtubePartner:v1/CuepointSettings": cuepoint_settings +"/youtubePartner:v1/CuepointSettings/cueType": cue_type +"/youtubePartner:v1/CuepointSettings/durationSecs": duration_secs +"/youtubePartner:v1/CuepointSettings/offsetTimeMs": offset_time_ms +"/youtubePartner:v1/CuepointSettings/walltime": walltime +"/youtubePartner:v1/Date": date +"/youtubePartner:v1/Date/day": day +"/youtubePartner:v1/Date/month": month +"/youtubePartner:v1/Date/year": year +"/youtubePartner:v1/DateRange": date_range +"/youtubePartner:v1/DateRange/end": end +"/youtubePartner:v1/DateRange/kind": kind +"/youtubePartner:v1/DateRange/start": start +"/youtubePartner:v1/ExcludedInterval": excluded_interval +"/youtubePartner:v1/ExcludedInterval/high": high +"/youtubePartner:v1/ExcludedInterval/low": low +"/youtubePartner:v1/ExcludedInterval/origin": origin +"/youtubePartner:v1/ExcludedInterval/timeCreated": time_created +"/youtubePartner:v1/IntervalCondition": interval_condition +"/youtubePartner:v1/IntervalCondition/high": high +"/youtubePartner:v1/IntervalCondition/low": low +"/youtubePartner:v1/LiveCuepoint": live_cuepoint +"/youtubePartner:v1/LiveCuepoint/broadcastId": broadcast_id +"/youtubePartner:v1/LiveCuepoint/id": id +"/youtubePartner:v1/LiveCuepoint/kind": kind +"/youtubePartner:v1/LiveCuepoint/settings": settings +"/youtubePartner:v1/MatchSegment": match_segment +"/youtubePartner:v1/MatchSegment/channel": channel +"/youtubePartner:v1/MatchSegment/reference_segment": reference_segment +"/youtubePartner:v1/MatchSegment/video_segment": video_segment +"/youtubePartner:v1/Metadata": metadata +"/youtubePartner:v1/Metadata/actor": actor +"/youtubePartner:v1/Metadata/actor/actor": actor +"/youtubePartner:v1/Metadata/album": album +"/youtubePartner:v1/Metadata/artist": artist +"/youtubePartner:v1/Metadata/artist/artist": artist +"/youtubePartner:v1/Metadata/broadcaster": broadcaster +"/youtubePartner:v1/Metadata/broadcaster/broadcaster": broadcaster +"/youtubePartner:v1/Metadata/category": category +"/youtubePartner:v1/Metadata/contentType": content_type +"/youtubePartner:v1/Metadata/copyrightDate": copyright_date +"/youtubePartner:v1/Metadata/customId": custom_id +"/youtubePartner:v1/Metadata/description": description +"/youtubePartner:v1/Metadata/director": director +"/youtubePartner:v1/Metadata/director/director": director +"/youtubePartner:v1/Metadata/eidr": eidr +"/youtubePartner:v1/Metadata/endYear": end_year +"/youtubePartner:v1/Metadata/episodeNumber": episode_number +"/youtubePartner:v1/Metadata/episodesAreUntitled": episodes_are_untitled +"/youtubePartner:v1/Metadata/genre": genre +"/youtubePartner:v1/Metadata/genre/genre": genre +"/youtubePartner:v1/Metadata/grid": grid +"/youtubePartner:v1/Metadata/hfa": hfa +"/youtubePartner:v1/Metadata/infoUrl": info_url +"/youtubePartner:v1/Metadata/isan": isan +"/youtubePartner:v1/Metadata/isrc": isrc +"/youtubePartner:v1/Metadata/iswc": iswc +"/youtubePartner:v1/Metadata/keyword": keyword +"/youtubePartner:v1/Metadata/keyword/keyword": keyword +"/youtubePartner:v1/Metadata/label": label +"/youtubePartner:v1/Metadata/notes": notes +"/youtubePartner:v1/Metadata/originalReleaseMedium": original_release_medium +"/youtubePartner:v1/Metadata/producer": producer +"/youtubePartner:v1/Metadata/producer/producer": producer +"/youtubePartner:v1/Metadata/ratings": ratings +"/youtubePartner:v1/Metadata/ratings/rating": rating +"/youtubePartner:v1/Metadata/releaseDate": release_date +"/youtubePartner:v1/Metadata/seasonNumber": season_number +"/youtubePartner:v1/Metadata/showCustomId": show_custom_id +"/youtubePartner:v1/Metadata/showTitle": show_title +"/youtubePartner:v1/Metadata/spokenLanguage": spoken_language +"/youtubePartner:v1/Metadata/startYear": start_year +"/youtubePartner:v1/Metadata/subtitledLanguage": subtitled_language +"/youtubePartner:v1/Metadata/subtitledLanguage/subtitled_language": subtitled_language +"/youtubePartner:v1/Metadata/title": title +"/youtubePartner:v1/Metadata/tmsId": tms_id +"/youtubePartner:v1/Metadata/totalEpisodesExpected": total_episodes_expected +"/youtubePartner:v1/Metadata/upc": upc +"/youtubePartner:v1/Metadata/writer": writer +"/youtubePartner:v1/Metadata/writer/writer": writer +"/youtubePartner:v1/MetadataHistory": metadata_history +"/youtubePartner:v1/MetadataHistory/kind": kind +"/youtubePartner:v1/MetadataHistory/metadata": metadata +"/youtubePartner:v1/MetadataHistory/origination": origination +"/youtubePartner:v1/MetadataHistory/timeProvided": time_provided +"/youtubePartner:v1/MetadataHistoryListResponse": metadata_history_list_response +"/youtubePartner:v1/MetadataHistoryListResponse/items": items +"/youtubePartner:v1/MetadataHistoryListResponse/items/item": item +"/youtubePartner:v1/MetadataHistoryListResponse/kind": kind +"/youtubePartner:v1/Order": order +"/youtubePartner:v1/Order/availGroupId": avail_group_id +"/youtubePartner:v1/Order/channelId": channel_id +"/youtubePartner:v1/Order/contentType": content_type +"/youtubePartner:v1/Order/country": country +"/youtubePartner:v1/Order/customId": custom_id +"/youtubePartner:v1/Order/dvdReleaseDate": dvd_release_date +"/youtubePartner:v1/Order/estDates": est_dates +"/youtubePartner:v1/Order/events": events +"/youtubePartner:v1/Order/events/event": event +"/youtubePartner:v1/Order/id": id +"/youtubePartner:v1/Order/kind": kind +"/youtubePartner:v1/Order/movie": movie +"/youtubePartner:v1/Order/originalReleaseDate": original_release_date +"/youtubePartner:v1/Order/priority": priority +"/youtubePartner:v1/Order/productionHouse": production_house +"/youtubePartner:v1/Order/purchaseOrder": purchase_order +"/youtubePartner:v1/Order/requirements": requirements +"/youtubePartner:v1/Order/show": show +"/youtubePartner:v1/Order/status": status +"/youtubePartner:v1/Order/videoId": video_id +"/youtubePartner:v1/Order/vodDates": vod_dates +"/youtubePartner:v1/OrderListResponse": order_list_response +"/youtubePartner:v1/OrderListResponse/items": items +"/youtubePartner:v1/OrderListResponse/items/item": item +"/youtubePartner:v1/OrderListResponse/kind": kind +"/youtubePartner:v1/OrderListResponse/nextPageToken": next_page_token +"/youtubePartner:v1/OrderListResponse/pageInfo": page_info +"/youtubePartner:v1/OrderListResponse/previousPageToken": previous_page_token +"/youtubePartner:v1/Origination": origination +"/youtubePartner:v1/Origination/owner": owner +"/youtubePartner:v1/Origination/source": source +"/youtubePartner:v1/OwnershipConflicts": ownership_conflicts +"/youtubePartner:v1/OwnershipConflicts/general": general +"/youtubePartner:v1/OwnershipConflicts/general/general": general +"/youtubePartner:v1/OwnershipConflicts/kind": kind +"/youtubePartner:v1/OwnershipConflicts/mechanical": mechanical +"/youtubePartner:v1/OwnershipConflicts/mechanical/mechanical": mechanical +"/youtubePartner:v1/OwnershipConflicts/performance": performance +"/youtubePartner:v1/OwnershipConflicts/performance/performance": performance +"/youtubePartner:v1/OwnershipConflicts/synchronization": synchronization +"/youtubePartner:v1/OwnershipConflicts/synchronization/synchronization": synchronization +"/youtubePartner:v1/OwnershipHistoryListResponse": ownership_history_list_response +"/youtubePartner:v1/OwnershipHistoryListResponse/items": items +"/youtubePartner:v1/OwnershipHistoryListResponse/items/item": item +"/youtubePartner:v1/OwnershipHistoryListResponse/kind": kind +"/youtubePartner:v1/Package": package +"/youtubePartner:v1/Package/content": content +"/youtubePartner:v1/Package/customIds": custom_ids +"/youtubePartner:v1/Package/customIds/custom_id": custom_id +"/youtubePartner:v1/Package/custom_id": custom_id +"/youtubePartner:v1/Package/custom_id/custom_id": custom_id +"/youtubePartner:v1/Package/id": id +"/youtubePartner:v1/Package/kind": kind +"/youtubePartner:v1/Package/locale": locale +"/youtubePartner:v1/Package/name": name +"/youtubePartner:v1/Package/status": status +"/youtubePartner:v1/Package/timeCreated": time_created +"/youtubePartner:v1/Package/type": type +"/youtubePartner:v1/Package/uploaderName": uploader_name +"/youtubePartner:v1/PackageInsertResponse": package_insert_response +"/youtubePartner:v1/PackageInsertResponse/errors": errors +"/youtubePartner:v1/PackageInsertResponse/errors/error": error +"/youtubePartner:v1/PackageInsertResponse/kind": kind +"/youtubePartner:v1/PackageInsertResponse/resource": resource +"/youtubePartner:v1/PackageInsertResponse/status": status +"/youtubePartner:v1/PageInfo": page_info +"/youtubePartner:v1/PageInfo/resultsPerPage": results_per_page +"/youtubePartner:v1/PageInfo/startIndex": start_index +"/youtubePartner:v1/PageInfo/totalResults": total_results +"/youtubePartner:v1/Policy": policy +"/youtubePartner:v1/Policy/description": description +"/youtubePartner:v1/Policy/id": id +"/youtubePartner:v1/Policy/kind": kind +"/youtubePartner:v1/Policy/name": name +"/youtubePartner:v1/Policy/rules": rules +"/youtubePartner:v1/Policy/rules/rule": rule +"/youtubePartner:v1/Policy/timeUpdated": time_updated +"/youtubePartner:v1/PolicyList": policy_list +"/youtubePartner:v1/PolicyList/items": items +"/youtubePartner:v1/PolicyList/items/item": item +"/youtubePartner:v1/PolicyList/kind": kind +"/youtubePartner:v1/PolicyRule": policy_rule +"/youtubePartner:v1/PolicyRule/action": action +"/youtubePartner:v1/PolicyRule/conditions": conditions +"/youtubePartner:v1/PolicyRule/subaction": subaction +"/youtubePartner:v1/PolicyRule/subaction/subaction": subaction +"/youtubePartner:v1/PromotedContent": promoted_content +"/youtubePartner:v1/PromotedContent/link": link +"/youtubePartner:v1/PromotedContent/link/link": link +"/youtubePartner:v1/Publisher": publisher +"/youtubePartner:v1/Publisher/caeNumber": cae_number +"/youtubePartner:v1/Publisher/id": id +"/youtubePartner:v1/Publisher/ipiNumber": ipi_number +"/youtubePartner:v1/Publisher/kind": kind +"/youtubePartner:v1/Publisher/name": name +"/youtubePartner:v1/PublisherList": publisher_list +"/youtubePartner:v1/PublisherList/items": items +"/youtubePartner:v1/PublisherList/items/item": item +"/youtubePartner:v1/PublisherList/kind": kind +"/youtubePartner:v1/PublisherList/nextPageToken": next_page_token +"/youtubePartner:v1/PublisherList/pageInfo": page_info +"/youtubePartner:v1/Rating": rating +"/youtubePartner:v1/Rating/rating": rating +"/youtubePartner:v1/Rating/ratingSystem": rating_system +"/youtubePartner:v1/Reference": reference +"/youtubePartner:v1/Reference/assetId": asset_id +"/youtubePartner:v1/Reference/audioswapEnabled": audioswap_enabled +"/youtubePartner:v1/Reference/claimId": claim_id +"/youtubePartner:v1/Reference/contentType": content_type +"/youtubePartner:v1/Reference/duplicateLeader": duplicate_leader +"/youtubePartner:v1/Reference/excludedIntervals": excluded_intervals +"/youtubePartner:v1/Reference/excludedIntervals/excluded_interval": excluded_interval +"/youtubePartner:v1/Reference/fpDirect": fp_direct +"/youtubePartner:v1/Reference/hashCode": hash_code +"/youtubePartner:v1/Reference/id": id +"/youtubePartner:v1/Reference/ignoreFpMatch": ignore_fp_match +"/youtubePartner:v1/Reference/kind": kind +"/youtubePartner:v1/Reference/length": length +"/youtubePartner:v1/Reference/origination": origination +"/youtubePartner:v1/Reference/status": status +"/youtubePartner:v1/Reference/statusReason": status_reason +"/youtubePartner:v1/Reference/urgent": urgent +"/youtubePartner:v1/Reference/videoId": video_id +"/youtubePartner:v1/ReferenceConflict": reference_conflict +"/youtubePartner:v1/ReferenceConflict/conflictingReferenceId": conflicting_reference_id +"/youtubePartner:v1/ReferenceConflict/expiryTime": expiry_time +"/youtubePartner:v1/ReferenceConflict/id": id +"/youtubePartner:v1/ReferenceConflict/kind": kind +"/youtubePartner:v1/ReferenceConflict/matches": matches +"/youtubePartner:v1/ReferenceConflict/matches/match": match +"/youtubePartner:v1/ReferenceConflict/originalReferenceId": original_reference_id +"/youtubePartner:v1/ReferenceConflict/status": status +"/youtubePartner:v1/ReferenceConflictListResponse": reference_conflict_list_response +"/youtubePartner:v1/ReferenceConflictListResponse/items": items +"/youtubePartner:v1/ReferenceConflictListResponse/items/item": item +"/youtubePartner:v1/ReferenceConflictListResponse/kind": kind +"/youtubePartner:v1/ReferenceConflictListResponse/nextPageToken": next_page_token +"/youtubePartner:v1/ReferenceConflictListResponse/pageInfo": page_info +"/youtubePartner:v1/ReferenceConflictMatch": reference_conflict_match +"/youtubePartner:v1/ReferenceConflictMatch/conflicting_reference_offset_ms": conflicting_reference_offset_ms +"/youtubePartner:v1/ReferenceConflictMatch/length_ms": length_ms +"/youtubePartner:v1/ReferenceConflictMatch/original_reference_offset_ms": original_reference_offset_ms +"/youtubePartner:v1/ReferenceConflictMatch/type": type +"/youtubePartner:v1/ReferenceListResponse": reference_list_response +"/youtubePartner:v1/ReferenceListResponse/items": items +"/youtubePartner:v1/ReferenceListResponse/items/item": item +"/youtubePartner:v1/ReferenceListResponse/kind": kind +"/youtubePartner:v1/ReferenceListResponse/nextPageToken": next_page_token +"/youtubePartner:v1/ReferenceListResponse/pageInfo": page_info +"/youtubePartner:v1/Requirements": requirements +"/youtubePartner:v1/Requirements/caption": caption +"/youtubePartner:v1/Requirements/hdTranscode": hd_transcode +"/youtubePartner:v1/Requirements/posterArt": poster_art +"/youtubePartner:v1/Requirements/spotlightArt": spotlight_art +"/youtubePartner:v1/Requirements/spotlightReview": spotlight_review +"/youtubePartner:v1/Requirements/trailer": trailer +"/youtubePartner:v1/RightsOwnership": rights_ownership +"/youtubePartner:v1/RightsOwnership/general": general +"/youtubePartner:v1/RightsOwnership/general/general": general +"/youtubePartner:v1/RightsOwnership/kind": kind +"/youtubePartner:v1/RightsOwnership/mechanical": mechanical +"/youtubePartner:v1/RightsOwnership/mechanical/mechanical": mechanical +"/youtubePartner:v1/RightsOwnership/performance": performance +"/youtubePartner:v1/RightsOwnership/performance/performance": performance +"/youtubePartner:v1/RightsOwnership/synchronization": synchronization +"/youtubePartner:v1/RightsOwnership/synchronization/synchronization": synchronization +"/youtubePartner:v1/RightsOwnershipHistory": rights_ownership_history +"/youtubePartner:v1/RightsOwnershipHistory/kind": kind +"/youtubePartner:v1/RightsOwnershipHistory/origination": origination +"/youtubePartner:v1/RightsOwnershipHistory/ownership": ownership +"/youtubePartner:v1/RightsOwnershipHistory/timeProvided": time_provided +"/youtubePartner:v1/Segment": segment +"/youtubePartner:v1/Segment/duration": duration +"/youtubePartner:v1/Segment/kind": kind +"/youtubePartner:v1/Segment/start": start +"/youtubePartner:v1/ShowDetails": show_details +"/youtubePartner:v1/ShowDetails/episodeNumber": episode_number +"/youtubePartner:v1/ShowDetails/episodeTitle": episode_title +"/youtubePartner:v1/ShowDetails/seasonNumber": season_number +"/youtubePartner:v1/ShowDetails/title": title +"/youtubePartner:v1/StateCompleted": state_completed +"/youtubePartner:v1/StateCompleted/state": state +"/youtubePartner:v1/StateCompleted/timeCompleted": time_completed +"/youtubePartner:v1/TerritoryCondition": territory_condition +"/youtubePartner:v1/TerritoryCondition/territories": territories +"/youtubePartner:v1/TerritoryCondition/territories/territory": territory +"/youtubePartner:v1/TerritoryCondition/type": type +"/youtubePartner:v1/TerritoryConflicts": territory_conflicts +"/youtubePartner:v1/TerritoryConflicts/conflictingOwnership": conflicting_ownership +"/youtubePartner:v1/TerritoryConflicts/conflictingOwnership/conflicting_ownership": conflicting_ownership +"/youtubePartner:v1/TerritoryConflicts/territory": territory +"/youtubePartner:v1/TerritoryOwners": territory_owners +"/youtubePartner:v1/TerritoryOwners/owner": owner +"/youtubePartner:v1/TerritoryOwners/publisher": publisher +"/youtubePartner:v1/TerritoryOwners/ratio": ratio +"/youtubePartner:v1/TerritoryOwners/territories": territories +"/youtubePartner:v1/TerritoryOwners/territories/territory": territory +"/youtubePartner:v1/TerritoryOwners/type": type +"/youtubePartner:v1/ValidateError": validate_error +"/youtubePartner:v1/ValidateError/columnName": column_name +"/youtubePartner:v1/ValidateError/columnNumber": column_number +"/youtubePartner:v1/ValidateError/lineNumber": line_number +"/youtubePartner:v1/ValidateError/message": message +"/youtubePartner:v1/ValidateError/messageCode": message_code +"/youtubePartner:v1/ValidateError/severity": severity +"/youtubePartner:v1/ValidateRequest": validate_request +"/youtubePartner:v1/ValidateRequest/content": content +"/youtubePartner:v1/ValidateRequest/kind": kind +"/youtubePartner:v1/ValidateRequest/locale": locale +"/youtubePartner:v1/ValidateRequest/uploaderName": uploader_name +"/youtubePartner:v1/ValidateResponse": validate_response +"/youtubePartner:v1/ValidateResponse/errors": errors +"/youtubePartner:v1/ValidateResponse/errors/error": error +"/youtubePartner:v1/ValidateResponse/kind": kind +"/youtubePartner:v1/ValidateResponse/status": status +"/youtubePartner:v1/VideoAdvertisingOption": video_advertising_option +"/youtubePartner:v1/VideoAdvertisingOption/adBreaks": ad_breaks +"/youtubePartner:v1/VideoAdvertisingOption/adBreaks/ad_break": ad_break +"/youtubePartner:v1/VideoAdvertisingOption/adFormats": ad_formats +"/youtubePartner:v1/VideoAdvertisingOption/adFormats/ad_format": ad_format +"/youtubePartner:v1/VideoAdvertisingOption/autoGeneratedBreaks": auto_generated_breaks +"/youtubePartner:v1/VideoAdvertisingOption/breakPosition": break_position +"/youtubePartner:v1/VideoAdvertisingOption/breakPosition/break_position": break_position +"/youtubePartner:v1/VideoAdvertisingOption/id": id +"/youtubePartner:v1/VideoAdvertisingOption/kind": kind +"/youtubePartner:v1/VideoAdvertisingOption/tpAdServerVideoId": tp_ad_server_video_id +"/youtubePartner:v1/VideoAdvertisingOption/tpTargetingUrl": tp_targeting_url +"/youtubePartner:v1/VideoAdvertisingOption/tpUrlParameters": tp_url_parameters +"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse": video_advertising_option_get_enabled_ads_response +"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse/adBreaks": ad_breaks +"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse/adBreaks/ad_break": ad_break +"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse/adsOnEmbeds": ads_on_embeds +"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse/countriesRestriction": countries_restriction +"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse/countriesRestriction/countries_restriction": countries_restriction +"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse/id": id +"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse/kind": kind +"/youtubePartner:v1/Whitelist": whitelist +"/youtubePartner:v1/Whitelist/id": id +"/youtubePartner:v1/Whitelist/kind": kind +"/youtubePartner:v1/Whitelist/title": title +"/youtubePartner:v1/WhitelistListResponse": whitelist_list_response +"/youtubePartner:v1/WhitelistListResponse/items": items +"/youtubePartner:v1/WhitelistListResponse/items/item": item +"/youtubePartner:v1/WhitelistListResponse/kind": kind +"/youtubePartner:v1/WhitelistListResponse/nextPageToken": next_page_token +"/youtubePartner:v1/WhitelistListResponse/pageInfo": page_info +"/youtubePartner:v1/fields": fields +"/youtubePartner:v1/key": key +"/youtubePartner:v1/quotaUser": quota_user +"/youtubePartner:v1/userIp": user_ip +"/youtubePartner:v1/youtubePartner.assetLabels.insert": insert_asset_label +"/youtubePartner:v1/youtubePartner.assetLabels.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assetLabels.list": list_asset_labels +"/youtubePartner:v1/youtubePartner.assetLabels.list/labelPrefix": label_prefix +"/youtubePartner:v1/youtubePartner.assetLabels.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assetLabels.list/q": q +"/youtubePartner:v1/youtubePartner.assetMatchPolicy.get": get_asset_match_policy +"/youtubePartner:v1/youtubePartner.assetMatchPolicy.get/assetId": asset_id +"/youtubePartner:v1/youtubePartner.assetMatchPolicy.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assetMatchPolicy.patch": patch_asset_match_policy +"/youtubePartner:v1/youtubePartner.assetMatchPolicy.patch/assetId": asset_id +"/youtubePartner:v1/youtubePartner.assetMatchPolicy.patch/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assetMatchPolicy.update": update_asset_match_policy +"/youtubePartner:v1/youtubePartner.assetMatchPolicy.update/assetId": asset_id +"/youtubePartner:v1/youtubePartner.assetMatchPolicy.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assetRelationships.delete": delete_asset_relationship +"/youtubePartner:v1/youtubePartner.assetRelationships.delete/assetRelationshipId": asset_relationship_id +"/youtubePartner:v1/youtubePartner.assetRelationships.delete/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assetRelationships.insert": insert_asset_relationship +"/youtubePartner:v1/youtubePartner.assetRelationships.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assetRelationships.list": list_asset_relationships +"/youtubePartner:v1/youtubePartner.assetRelationships.list/assetId": asset_id +"/youtubePartner:v1/youtubePartner.assetRelationships.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assetRelationships.list/pageToken": page_token +"/youtubePartner:v1/youtubePartner.assetSearch.list": list_asset_searches +"/youtubePartner:v1/youtubePartner.assetSearch.list/createdAfter": created_after +"/youtubePartner:v1/youtubePartner.assetSearch.list/createdBefore": created_before +"/youtubePartner:v1/youtubePartner.assetSearch.list/hasConflicts": has_conflicts +"/youtubePartner:v1/youtubePartner.assetSearch.list/includeAnyProvidedlabel": include_any_providedlabel +"/youtubePartner:v1/youtubePartner.assetSearch.list/isrcs": isrcs +"/youtubePartner:v1/youtubePartner.assetSearch.list/labels": labels +"/youtubePartner:v1/youtubePartner.assetSearch.list/metadataSearchFields": metadata_search_fields +"/youtubePartner:v1/youtubePartner.assetSearch.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assetSearch.list/ownershipRestriction": ownership_restriction +"/youtubePartner:v1/youtubePartner.assetSearch.list/pageToken": page_token +"/youtubePartner:v1/youtubePartner.assetSearch.list/q": q +"/youtubePartner:v1/youtubePartner.assetSearch.list/sort": sort +"/youtubePartner:v1/youtubePartner.assetSearch.list/type": type +"/youtubePartner:v1/youtubePartner.assetShares.list": list_asset_shares +"/youtubePartner:v1/youtubePartner.assetShares.list/assetId": asset_id +"/youtubePartner:v1/youtubePartner.assetShares.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assetShares.list/pageToken": page_token +"/youtubePartner:v1/youtubePartner.assets.get": get_asset +"/youtubePartner:v1/youtubePartner.assets.get/assetId": asset_id +"/youtubePartner:v1/youtubePartner.assets.get/fetchMatchPolicy": fetch_match_policy +"/youtubePartner:v1/youtubePartner.assets.get/fetchMetadata": fetch_metadata +"/youtubePartner:v1/youtubePartner.assets.get/fetchOwnership": fetch_ownership +"/youtubePartner:v1/youtubePartner.assets.get/fetchOwnershipConflicts": fetch_ownership_conflicts +"/youtubePartner:v1/youtubePartner.assets.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assets.insert": insert_asset +"/youtubePartner:v1/youtubePartner.assets.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assets.list": list_assets +"/youtubePartner:v1/youtubePartner.assets.list/fetchMatchPolicy": fetch_match_policy +"/youtubePartner:v1/youtubePartner.assets.list/fetchMetadata": fetch_metadata +"/youtubePartner:v1/youtubePartner.assets.list/fetchOwnership": fetch_ownership +"/youtubePartner:v1/youtubePartner.assets.list/fetchOwnershipConflicts": fetch_ownership_conflicts +"/youtubePartner:v1/youtubePartner.assets.list/id": id +"/youtubePartner:v1/youtubePartner.assets.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assets.patch": patch_asset +"/youtubePartner:v1/youtubePartner.assets.patch/assetId": asset_id +"/youtubePartner:v1/youtubePartner.assets.patch/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assets.update": update_asset +"/youtubePartner:v1/youtubePartner.assets.update/assetId": asset_id +"/youtubePartner:v1/youtubePartner.assets.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.campaigns.delete": delete_campaign +"/youtubePartner:v1/youtubePartner.campaigns.delete/campaignId": campaign_id +"/youtubePartner:v1/youtubePartner.campaigns.delete/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.campaigns.get": get_campaign +"/youtubePartner:v1/youtubePartner.campaigns.get/campaignId": campaign_id +"/youtubePartner:v1/youtubePartner.campaigns.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.campaigns.insert": insert_campaign +"/youtubePartner:v1/youtubePartner.campaigns.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.campaigns.list": list_campaigns +"/youtubePartner:v1/youtubePartner.campaigns.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.campaigns.list/pageToken": page_token +"/youtubePartner:v1/youtubePartner.campaigns.patch": patch_campaign +"/youtubePartner:v1/youtubePartner.campaigns.patch/campaignId": campaign_id +"/youtubePartner:v1/youtubePartner.campaigns.patch/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.campaigns.update": update_campaign +"/youtubePartner:v1/youtubePartner.campaigns.update/campaignId": campaign_id +"/youtubePartner:v1/youtubePartner.campaigns.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.claimHistory.get": get_claim_history +"/youtubePartner:v1/youtubePartner.claimHistory.get/claimId": claim_id +"/youtubePartner:v1/youtubePartner.claimHistory.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.claimSearch.list": list_claim_searches +"/youtubePartner:v1/youtubePartner.claimSearch.list/assetId": asset_id +"/youtubePartner:v1/youtubePartner.claimSearch.list/contentType": content_type +"/youtubePartner:v1/youtubePartner.claimSearch.list/createdAfter": created_after +"/youtubePartner:v1/youtubePartner.claimSearch.list/createdBefore": created_before +"/youtubePartner:v1/youtubePartner.claimSearch.list/inactiveReasons": inactive_reasons +"/youtubePartner:v1/youtubePartner.claimSearch.list/includeThirdPartyClaims": include_third_party_claims +"/youtubePartner:v1/youtubePartner.claimSearch.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.claimSearch.list/origin": origin +"/youtubePartner:v1/youtubePartner.claimSearch.list/pageToken": page_token +"/youtubePartner:v1/youtubePartner.claimSearch.list/partnerUploaded": partner_uploaded +"/youtubePartner:v1/youtubePartner.claimSearch.list/q": q +"/youtubePartner:v1/youtubePartner.claimSearch.list/referenceId": reference_id +"/youtubePartner:v1/youtubePartner.claimSearch.list/sort": sort +"/youtubePartner:v1/youtubePartner.claimSearch.list/status": status +"/youtubePartner:v1/youtubePartner.claimSearch.list/statusModifiedAfter": status_modified_after +"/youtubePartner:v1/youtubePartner.claimSearch.list/statusModifiedBefore": status_modified_before +"/youtubePartner:v1/youtubePartner.claimSearch.list/videoId": video_id +"/youtubePartner:v1/youtubePartner.claims.get": get_claim +"/youtubePartner:v1/youtubePartner.claims.get/claimId": claim_id +"/youtubePartner:v1/youtubePartner.claims.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.claims.insert": insert_claim +"/youtubePartner:v1/youtubePartner.claims.insert/isManualClaim": is_manual_claim +"/youtubePartner:v1/youtubePartner.claims.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.claims.list": list_claims +"/youtubePartner:v1/youtubePartner.claims.list/assetId": asset_id +"/youtubePartner:v1/youtubePartner.claims.list/id": id +"/youtubePartner:v1/youtubePartner.claims.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.claims.list/pageToken": page_token +"/youtubePartner:v1/youtubePartner.claims.list/q": q +"/youtubePartner:v1/youtubePartner.claims.list/videoId": video_id +"/youtubePartner:v1/youtubePartner.claims.patch": patch_claim +"/youtubePartner:v1/youtubePartner.claims.patch/claimId": claim_id +"/youtubePartner:v1/youtubePartner.claims.patch/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.claims.update": update_claim +"/youtubePartner:v1/youtubePartner.claims.update/claimId": claim_id +"/youtubePartner:v1/youtubePartner.claims.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.contentOwnerAdvertisingOptions.get": get_content_owner_advertising_option +"/youtubePartner:v1/youtubePartner.contentOwnerAdvertisingOptions.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.contentOwnerAdvertisingOptions.patch": patch_content_owner_advertising_option +"/youtubePartner:v1/youtubePartner.contentOwnerAdvertisingOptions.patch/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.contentOwnerAdvertisingOptions.update": update_content_owner_advertising_option +"/youtubePartner:v1/youtubePartner.contentOwnerAdvertisingOptions.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.contentOwners.get": get_content_owner +"/youtubePartner:v1/youtubePartner.contentOwners.get/contentOwnerId": content_owner_id +"/youtubePartner:v1/youtubePartner.contentOwners.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.contentOwners.list": list_content_owners +"/youtubePartner:v1/youtubePartner.contentOwners.list/fetchMine": fetch_mine +"/youtubePartner:v1/youtubePartner.contentOwners.list/id": id +"/youtubePartner:v1/youtubePartner.contentOwners.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.liveCuepoints.insert": insert_live_cuepoint +"/youtubePartner:v1/youtubePartner.liveCuepoints.insert/channelId": channel_id +"/youtubePartner:v1/youtubePartner.liveCuepoints.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.metadataHistory.list": list_metadata_histories +"/youtubePartner:v1/youtubePartner.metadataHistory.list/assetId": asset_id +"/youtubePartner:v1/youtubePartner.metadataHistory.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.orders.delete": delete_order +"/youtubePartner:v1/youtubePartner.orders.delete/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.orders.delete/orderId": order_id +"/youtubePartner:v1/youtubePartner.orders.get": get_order +"/youtubePartner:v1/youtubePartner.orders.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.orders.get/orderId": order_id +"/youtubePartner:v1/youtubePartner.orders.insert": insert_order +"/youtubePartner:v1/youtubePartner.orders.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.orders.list": list_orders +"/youtubePartner:v1/youtubePartner.orders.list/channelId": channel_id +"/youtubePartner:v1/youtubePartner.orders.list/contentType": content_type +"/youtubePartner:v1/youtubePartner.orders.list/country": country +"/youtubePartner:v1/youtubePartner.orders.list/customId": custom_id +"/youtubePartner:v1/youtubePartner.orders.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.orders.list/pageToken": page_token +"/youtubePartner:v1/youtubePartner.orders.list/priority": priority +"/youtubePartner:v1/youtubePartner.orders.list/productionHouse": production_house +"/youtubePartner:v1/youtubePartner.orders.list/q": q +"/youtubePartner:v1/youtubePartner.orders.list/status": status +"/youtubePartner:v1/youtubePartner.orders.list/videoId": video_id +"/youtubePartner:v1/youtubePartner.orders.patch": patch_order +"/youtubePartner:v1/youtubePartner.orders.patch/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.orders.patch/orderId": order_id +"/youtubePartner:v1/youtubePartner.orders.update": update_order +"/youtubePartner:v1/youtubePartner.orders.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.orders.update/orderId": order_id +"/youtubePartner:v1/youtubePartner.ownership.get": get_ownership +"/youtubePartner:v1/youtubePartner.ownership.get/assetId": asset_id +"/youtubePartner:v1/youtubePartner.ownership.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.ownership.patch": patch_ownership +"/youtubePartner:v1/youtubePartner.ownership.patch/assetId": asset_id +"/youtubePartner:v1/youtubePartner.ownership.patch/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.ownership.update": update_ownership +"/youtubePartner:v1/youtubePartner.ownership.update/assetId": asset_id +"/youtubePartner:v1/youtubePartner.ownership.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.ownershipHistory.list": list_ownership_histories +"/youtubePartner:v1/youtubePartner.ownershipHistory.list/assetId": asset_id +"/youtubePartner:v1/youtubePartner.ownershipHistory.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.package.get": get_package +"/youtubePartner:v1/youtubePartner.package.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.package.get/packageId": package_id +"/youtubePartner:v1/youtubePartner.package.insert": insert_package +"/youtubePartner:v1/youtubePartner.package.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.policies.get": get_policy +"/youtubePartner:v1/youtubePartner.policies.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.policies.get/policyId": policy_id +"/youtubePartner:v1/youtubePartner.policies.insert": insert_policy +"/youtubePartner:v1/youtubePartner.policies.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.policies.list": list_policies +"/youtubePartner:v1/youtubePartner.policies.list/id": id +"/youtubePartner:v1/youtubePartner.policies.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.policies.list/sort": sort +"/youtubePartner:v1/youtubePartner.policies.patch": patch_policy +"/youtubePartner:v1/youtubePartner.policies.patch/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.policies.patch/policyId": policy_id +"/youtubePartner:v1/youtubePartner.policies.update": update_policy +"/youtubePartner:v1/youtubePartner.policies.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.policies.update/policyId": policy_id +"/youtubePartner:v1/youtubePartner.publishers.get": get_publisher +"/youtubePartner:v1/youtubePartner.publishers.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.publishers.get/publisherId": publisher_id +"/youtubePartner:v1/youtubePartner.publishers.list": list_publishers +"/youtubePartner:v1/youtubePartner.publishers.list/caeNumber": cae_number +"/youtubePartner:v1/youtubePartner.publishers.list/id": id +"/youtubePartner:v1/youtubePartner.publishers.list/ipiNumber": ipi_number +"/youtubePartner:v1/youtubePartner.publishers.list/maxResults": max_results +"/youtubePartner:v1/youtubePartner.publishers.list/namePrefix": name_prefix +"/youtubePartner:v1/youtubePartner.publishers.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.publishers.list/pageToken": page_token +"/youtubePartner:v1/youtubePartner.referenceConflicts.get": get_reference_conflict +"/youtubePartner:v1/youtubePartner.referenceConflicts.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.referenceConflicts.get/referenceConflictId": reference_conflict_id +"/youtubePartner:v1/youtubePartner.referenceConflicts.list": list_reference_conflicts +"/youtubePartner:v1/youtubePartner.referenceConflicts.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.referenceConflicts.list/pageToken": page_token +"/youtubePartner:v1/youtubePartner.references.get": get_reference +"/youtubePartner:v1/youtubePartner.references.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.references.get/referenceId": reference_id +"/youtubePartner:v1/youtubePartner.references.insert": insert_reference +"/youtubePartner:v1/youtubePartner.references.insert/claimId": claim_id +"/youtubePartner:v1/youtubePartner.references.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.references.list": list_references +"/youtubePartner:v1/youtubePartner.references.list/assetId": asset_id +"/youtubePartner:v1/youtubePartner.references.list/id": id +"/youtubePartner:v1/youtubePartner.references.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.references.list/pageToken": page_token +"/youtubePartner:v1/youtubePartner.references.patch": patch_reference +"/youtubePartner:v1/youtubePartner.references.patch/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.references.patch/referenceId": reference_id +"/youtubePartner:v1/youtubePartner.references.patch/releaseClaims": release_claims +"/youtubePartner:v1/youtubePartner.references.update": update_reference +"/youtubePartner:v1/youtubePartner.references.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.references.update/referenceId": reference_id +"/youtubePartner:v1/youtubePartner.references.update/releaseClaims": release_claims +"/youtubePartner:v1/youtubePartner.validator.validate": validate_validator +"/youtubePartner:v1/youtubePartner.validator.validate/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.get": get_video_advertising_option +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.get/videoId": video_id +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.getEnabledAds": get_video_advertising_option_enabled_ads +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.getEnabledAds/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.getEnabledAds/videoId": video_id +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.patch": patch_video_advertising_option +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.patch/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.patch/videoId": video_id +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.update": update_video_advertising_option +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.update/videoId": video_id +"/youtubePartner:v1/youtubePartner.whitelists.delete": delete_whitelist +"/youtubePartner:v1/youtubePartner.whitelists.delete/id": id +"/youtubePartner:v1/youtubePartner.whitelists.delete/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.whitelists.get": get_whitelist +"/youtubePartner:v1/youtubePartner.whitelists.get/id": id +"/youtubePartner:v1/youtubePartner.whitelists.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.whitelists.insert": insert_whitelist +"/youtubePartner:v1/youtubePartner.whitelists.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.whitelists.list": list_whitelists +"/youtubePartner:v1/youtubePartner.whitelists.list/id": id +"/youtubePartner:v1/youtubePartner.whitelists.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.whitelists.list/pageToken": page_token +"/youtubereporting:v1/Empty": empty +"/youtubereporting:v1/Job": job +"/youtubereporting:v1/Job/createTime": create_time +"/youtubereporting:v1/Job/expireTime": expire_time +"/youtubereporting:v1/Job/id": id +"/youtubereporting:v1/Job/name": name +"/youtubereporting:v1/Job/reportTypeId": report_type_id +"/youtubereporting:v1/Job/systemManaged": system_managed +"/youtubereporting:v1/ListJobsResponse": list_jobs_response +"/youtubereporting:v1/ListJobsResponse/jobs": jobs +"/youtubereporting:v1/ListJobsResponse/jobs/job": job +"/youtubereporting:v1/ListJobsResponse/nextPageToken": next_page_token +"/youtubereporting:v1/ListReportTypesResponse": list_report_types_response +"/youtubereporting:v1/ListReportTypesResponse/nextPageToken": next_page_token +"/youtubereporting:v1/ListReportTypesResponse/reportTypes": report_types +"/youtubereporting:v1/ListReportTypesResponse/reportTypes/report_type": report_type +"/youtubereporting:v1/ListReportsResponse": list_reports_response +"/youtubereporting:v1/ListReportsResponse/nextPageToken": next_page_token +"/youtubereporting:v1/ListReportsResponse/reports": reports +"/youtubereporting:v1/ListReportsResponse/reports/report": report +"/youtubereporting:v1/Media": media +"/youtubereporting:v1/Media/resourceName": resource_name +"/youtubereporting:v1/Report": report +"/youtubereporting:v1/Report/createTime": create_time +"/youtubereporting:v1/Report/downloadUrl": download_url +"/youtubereporting:v1/Report/endTime": end_time +"/youtubereporting:v1/Report/id": id +"/youtubereporting:v1/Report/jobExpireTime": job_expire_time +"/youtubereporting:v1/Report/jobId": job_id +"/youtubereporting:v1/Report/startTime": start_time +"/youtubereporting:v1/ReportType": report_type +"/youtubereporting:v1/ReportType/deprecateTime": deprecate_time +"/youtubereporting:v1/ReportType/id": id +"/youtubereporting:v1/ReportType/name": name +"/youtubereporting:v1/ReportType/systemManaged": system_managed +"/youtubereporting:v1/fields": fields "/youtubereporting:v1/key": key "/youtubereporting:v1/quotaUser": quota_user -"/youtubereporting:v1/fields": fields -"/youtubereporting:v1/youtubereporting.reportTypes.list": list_report_types -"/youtubereporting:v1/youtubereporting.reportTypes.list/includeSystemManaged": include_system_managed -"/youtubereporting:v1/youtubereporting.reportTypes.list/pageToken": page_token -"/youtubereporting:v1/youtubereporting.reportTypes.list/pageSize": page_size -"/youtubereporting:v1/youtubereporting.reportTypes.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubereporting:v1/youtubereporting.media.download": download_medium -"/youtubereporting:v1/youtubereporting.media.download/resourceName": resource_name +"/youtubereporting:v1/youtubereporting.jobs.create": create_job +"/youtubereporting:v1/youtubereporting.jobs.create/onBehalfOfContentOwner": on_behalf_of_content_owner "/youtubereporting:v1/youtubereporting.jobs.delete": delete_job "/youtubereporting:v1/youtubereporting.jobs.delete/jobId": job_id "/youtubereporting:v1/youtubereporting.jobs.delete/onBehalfOfContentOwner": on_behalf_of_content_owner @@ -42751,55 +46018,25 @@ "/youtubereporting:v1/youtubereporting.jobs.get/onBehalfOfContentOwner": on_behalf_of_content_owner "/youtubereporting:v1/youtubereporting.jobs.list": list_jobs "/youtubereporting:v1/youtubereporting.jobs.list/includeSystemManaged": include_system_managed -"/youtubereporting:v1/youtubereporting.jobs.list/pageToken": page_token -"/youtubereporting:v1/youtubereporting.jobs.list/pageSize": page_size "/youtubereporting:v1/youtubereporting.jobs.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubereporting:v1/youtubereporting.jobs.create": create_job -"/youtubereporting:v1/youtubereporting.jobs.create/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubereporting:v1/youtubereporting.jobs.list/pageSize": page_size +"/youtubereporting:v1/youtubereporting.jobs.list/pageToken": page_token "/youtubereporting:v1/youtubereporting.jobs.reports.get": get_job_report -"/youtubereporting:v1/youtubereporting.jobs.reports.get/reportId": report_id "/youtubereporting:v1/youtubereporting.jobs.reports.get/jobId": job_id "/youtubereporting:v1/youtubereporting.jobs.reports.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubereporting:v1/youtubereporting.jobs.reports.get/reportId": report_id "/youtubereporting:v1/youtubereporting.jobs.reports.list": list_job_reports "/youtubereporting:v1/youtubereporting.jobs.reports.list/createdAfter": created_after +"/youtubereporting:v1/youtubereporting.jobs.reports.list/jobId": job_id +"/youtubereporting:v1/youtubereporting.jobs.reports.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubereporting:v1/youtubereporting.jobs.reports.list/pageSize": page_size "/youtubereporting:v1/youtubereporting.jobs.reports.list/pageToken": page_token "/youtubereporting:v1/youtubereporting.jobs.reports.list/startTimeAtOrAfter": start_time_at_or_after -"/youtubereporting:v1/youtubereporting.jobs.reports.list/pageSize": page_size -"/youtubereporting:v1/youtubereporting.jobs.reports.list/onBehalfOfContentOwner": on_behalf_of_content_owner "/youtubereporting:v1/youtubereporting.jobs.reports.list/startTimeBefore": start_time_before -"/youtubereporting:v1/youtubereporting.jobs.reports.list/jobId": job_id -"/youtubereporting:v1/ListReportsResponse": list_reports_response -"/youtubereporting:v1/ListReportsResponse/nextPageToken": next_page_token -"/youtubereporting:v1/ListReportsResponse/reports": reports -"/youtubereporting:v1/ListReportsResponse/reports/report": report -"/youtubereporting:v1/Media": media -"/youtubereporting:v1/Media/resourceName": resource_name -"/youtubereporting:v1/ReportType": report_type -"/youtubereporting:v1/ReportType/deprecateTime": deprecate_time -"/youtubereporting:v1/ReportType/name": name -"/youtubereporting:v1/ReportType/systemManaged": system_managed -"/youtubereporting:v1/ReportType/id": id -"/youtubereporting:v1/ListReportTypesResponse": list_report_types_response -"/youtubereporting:v1/ListReportTypesResponse/nextPageToken": next_page_token -"/youtubereporting:v1/ListReportTypesResponse/reportTypes": report_types -"/youtubereporting:v1/ListReportTypesResponse/reportTypes/report_type": report_type -"/youtubereporting:v1/Empty": empty -"/youtubereporting:v1/Report": report -"/youtubereporting:v1/Report/startTime": start_time -"/youtubereporting:v1/Report/createTime": create_time -"/youtubereporting:v1/Report/jobId": job_id -"/youtubereporting:v1/Report/id": id -"/youtubereporting:v1/Report/jobExpireTime": job_expire_time -"/youtubereporting:v1/Report/endTime": end_time -"/youtubereporting:v1/Report/downloadUrl": download_url -"/youtubereporting:v1/ListJobsResponse": list_jobs_response -"/youtubereporting:v1/ListJobsResponse/nextPageToken": next_page_token -"/youtubereporting:v1/ListJobsResponse/jobs": jobs -"/youtubereporting:v1/ListJobsResponse/jobs/job": job -"/youtubereporting:v1/Job": job -"/youtubereporting:v1/Job/createTime": create_time -"/youtubereporting:v1/Job/reportTypeId": report_type_id -"/youtubereporting:v1/Job/expireTime": expire_time -"/youtubereporting:v1/Job/name": name -"/youtubereporting:v1/Job/systemManaged": system_managed -"/youtubereporting:v1/Job/id": id +"/youtubereporting:v1/youtubereporting.media.download": download_medium +"/youtubereporting:v1/youtubereporting.media.download/resourceName": resource_name +"/youtubereporting:v1/youtubereporting.reportTypes.list": list_report_types +"/youtubereporting:v1/youtubereporting.reportTypes.list/includeSystemManaged": include_system_managed +"/youtubereporting:v1/youtubereporting.reportTypes.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubereporting:v1/youtubereporting.reportTypes.list/pageSize": page_size +"/youtubereporting:v1/youtubereporting.reportTypes.list/pageToken": page_token diff --git a/generated/google/apis/acceleratedmobilepageurl_v1.rb b/generated/google/apis/acceleratedmobilepageurl_v1.rb index a843c3636..d8524f0e0 100644 --- a/generated/google/apis/acceleratedmobilepageurl_v1.rb +++ b/generated/google/apis/acceleratedmobilepageurl_v1.rb @@ -20,13 +20,13 @@ module Google module Apis # Accelerated Mobile Pages (AMP) URL API # - # Retrieves the list of AMP URL (and equivalent AMP Cache URL) for a given list - # of public URL(s). + # Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given + # list of public URL(s). # # @see https://developers.google.com/amp/cache/ module AcceleratedmobilepageurlV1 VERSION = 'V1' - REVISION = '20170504' + REVISION = '20170718' end end end diff --git a/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb b/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb index 0bdbe8a5a..3d5a27e5a 100644 --- a/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +++ b/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb @@ -22,15 +22,100 @@ module Google module Apis module AcceleratedmobilepageurlV1 + # AMP URL response for a requested URL. + class AmpUrl + include Google::Apis::Core::Hashable + + # The AMP URL pointing to the publisher's web server. + # Corresponds to the JSON property `ampUrl` + # @return [String] + attr_accessor :amp_url + + # The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to + # the cached document in the Google AMP Cache. + # Corresponds to the JSON property `cdnAmpUrl` + # @return [String] + attr_accessor :cdn_amp_url + + # The original non-AMP URL. + # Corresponds to the JSON property `originalUrl` + # @return [String] + attr_accessor :original_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @amp_url = args[:amp_url] if args.key?(:amp_url) + @cdn_amp_url = args[:cdn_amp_url] if args.key?(:cdn_amp_url) + @original_url = args[:original_url] if args.key?(:original_url) + end + end + + # AMP URL Error resource for a requested URL that couldn't be found. + class AmpUrlError + include Google::Apis::Core::Hashable + + # The error code of an API call. + # Corresponds to the JSON property `errorCode` + # @return [String] + attr_accessor :error_code + + # An optional descriptive error message. + # Corresponds to the JSON property `errorMessage` + # @return [String] + attr_accessor :error_message + + # The original non-AMP URL. + # Corresponds to the JSON property `originalUrl` + # @return [String] + attr_accessor :original_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @error_code = args[:error_code] if args.key?(:error_code) + @error_message = args[:error_message] if args.key?(:error_message) + @original_url = args[:original_url] if args.key?(:original_url) + end + end + + # AMP URL request for a batch of URLs. + class BatchGetAmpUrlsRequest + include Google::Apis::Core::Hashable + + # The lookup_strategy being requested. + # Corresponds to the JSON property `lookupStrategy` + # @return [String] + attr_accessor :lookup_strategy + + # List of URLs to look up for the paired AMP URLs. + # The URLs are case-sensitive. Up to 50 URLs per lookup + # (see [Usage Limits](/amp/cache/reference/limits)). + # Corresponds to the JSON property `urls` + # @return [Array] + attr_accessor :urls + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @lookup_strategy = args[:lookup_strategy] if args.key?(:lookup_strategy) + @urls = args[:urls] if args.key?(:urls) + end + end + # Batch AMP URL response. class BatchGetAmpUrlsResponse include Google::Apis::Core::Hashable - # The errors for requested URLs that have no AMP URL. - # Corresponds to the JSON property `urlErrors` - # @return [Array] - attr_accessor :url_errors - # For each URL in BatchAmpUrlsRequest, the URL response. The response might # not be in the same order as URLs in the batch request. # If BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated @@ -39,104 +124,19 @@ module Google # @return [Array] attr_accessor :amp_urls + # The errors for requested URLs that have no AMP URL. + # Corresponds to the JSON property `urlErrors` + # @return [Array] + attr_accessor :url_errors + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @url_errors = args[:url_errors] if args.key?(:url_errors) @amp_urls = args[:amp_urls] if args.key?(:amp_urls) - end - end - - # AMP URL response for a requested URL. - class AmpUrl - include Google::Apis::Core::Hashable - - # The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to - # the cached document in the Google AMP Cache. - # Corresponds to the JSON property `cdnAmpUrl` - # @return [String] - attr_accessor :cdn_amp_url - - # The AMP URL pointing to the publisher's web server. - # Corresponds to the JSON property `ampUrl` - # @return [String] - attr_accessor :amp_url - - # The original non-AMP URL. - # Corresponds to the JSON property `originalUrl` - # @return [String] - attr_accessor :original_url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @cdn_amp_url = args[:cdn_amp_url] if args.key?(:cdn_amp_url) - @amp_url = args[:amp_url] if args.key?(:amp_url) - @original_url = args[:original_url] if args.key?(:original_url) - end - end - - # AMP URL Error resource for a requested URL that couldn't be found. - class AmpUrlError - include Google::Apis::Core::Hashable - - # An optional descriptive error message. - # Corresponds to the JSON property `errorMessage` - # @return [String] - attr_accessor :error_message - - # The error code of an API call. - # Corresponds to the JSON property `errorCode` - # @return [String] - attr_accessor :error_code - - # The original non-AMP URL. - # Corresponds to the JSON property `originalUrl` - # @return [String] - attr_accessor :original_url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @error_message = args[:error_message] if args.key?(:error_message) - @error_code = args[:error_code] if args.key?(:error_code) - @original_url = args[:original_url] if args.key?(:original_url) - end - end - - # AMP URL request for a batch of URLs. - class BatchGetAmpUrlsRequest - include Google::Apis::Core::Hashable - - # List of URLs to look up for the paired AMP URLs. - # The URLs are case-sensitive. Up to 50 URLs per lookup - # (see [Usage Limits](/amp/cache/reference/limits)). - # Corresponds to the JSON property `urls` - # @return [Array] - attr_accessor :urls - - # The lookup_strategy being requested. - # Corresponds to the JSON property `lookupStrategy` - # @return [String] - attr_accessor :lookup_strategy - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @urls = args[:urls] if args.key?(:urls) - @lookup_strategy = args[:lookup_strategy] if args.key?(:lookup_strategy) + @url_errors = args[:url_errors] if args.key?(:url_errors) end end end diff --git a/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb b/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb index da81daa97..519970c2b 100644 --- a/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +++ b/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb @@ -22,12 +22,6 @@ module Google module Apis module AcceleratedmobilepageurlV1 - class BatchGetAmpUrlsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class AmpUrl class Representation < Google::Apis::Core::JsonRepresentation; end @@ -47,38 +41,44 @@ module Google end class BatchGetAmpUrlsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AmpUrl # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :url_errors, as: 'urlErrors', class: Google::Apis::AcceleratedmobilepageurlV1::AmpUrlError, decorator: Google::Apis::AcceleratedmobilepageurlV1::AmpUrlError::Representation + property :amp_url, as: 'ampUrl' + property :cdn_amp_url, as: 'cdnAmpUrl' + property :original_url, as: 'originalUrl' + end + end + class AmpUrlError + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :error_code, as: 'errorCode' + property :error_message, as: 'errorMessage' + property :original_url, as: 'originalUrl' + end + end + + class BatchGetAmpUrlsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :lookup_strategy, as: 'lookupStrategy' + collection :urls, as: 'urls' + end + end + + class BatchGetAmpUrlsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation collection :amp_urls, as: 'ampUrls', class: Google::Apis::AcceleratedmobilepageurlV1::AmpUrl, decorator: Google::Apis::AcceleratedmobilepageurlV1::AmpUrl::Representation - end - end + collection :url_errors, as: 'urlErrors', class: Google::Apis::AcceleratedmobilepageurlV1::AmpUrlError, decorator: Google::Apis::AcceleratedmobilepageurlV1::AmpUrlError::Representation - class AmpUrl - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :cdn_amp_url, as: 'cdnAmpUrl' - property :amp_url, as: 'ampUrl' - property :original_url, as: 'originalUrl' - end - end - - class AmpUrlError - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :error_message, as: 'errorMessage' - property :error_code, as: 'errorCode' - property :original_url, as: 'originalUrl' - end - end - - class BatchGetAmpUrlsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :urls, as: 'urls' - property :lookup_strategy, as: 'lookupStrategy' end end end diff --git a/generated/google/apis/acceleratedmobilepageurl_v1/service.rb b/generated/google/apis/acceleratedmobilepageurl_v1/service.rb index 723b07dcb..d25950ebb 100644 --- a/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +++ b/generated/google/apis/acceleratedmobilepageurl_v1/service.rb @@ -22,8 +22,8 @@ module Google module AcceleratedmobilepageurlV1 # Accelerated Mobile Pages (AMP) URL API # - # Retrieves the list of AMP URL (and equivalent AMP Cache URL) for a given list - # of public URL(s). + # Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given + # list of public URL(s). # # @example # require 'google/apis/acceleratedmobilepageurl_v1' @@ -51,11 +51,11 @@ module Google # Returns AMP URL(s) and equivalent # [AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format). # @param [Google::Apis::AcceleratedmobilepageurlV1::BatchGetAmpUrlsRequest] batch_get_amp_urls_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -68,14 +68,14 @@ 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 batch_get_amp_urls(batch_get_amp_urls_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def batch_get_amp_urls(batch_get_amp_urls_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/ampUrls:batchGet', options) command.request_representation = Google::Apis::AcceleratedmobilepageurlV1::BatchGetAmpUrlsRequest::Representation command.request_object = batch_get_amp_urls_request_object command.response_representation = Google::Apis::AcceleratedmobilepageurlV1::BatchGetAmpUrlsResponse::Representation command.response_class = Google::Apis::AcceleratedmobilepageurlV1::BatchGetAmpUrlsResponse - 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/adexchangebuyer2_v2beta1.rb b/generated/google/apis/adexchangebuyer2_v2beta1.rb index a91371099..37a1bf89c 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1.rb @@ -23,10 +23,10 @@ module Google # Accesses the latest features for managing Ad Exchange accounts, Real-Time # Bidding configurations and auction metrics, and Marketplace programmatic deals. # - # @see https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/ + # @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/ module Adexchangebuyer2V2beta1 VERSION = 'V2beta1' - REVISION = '20170710' + REVISION = '20170809' # Manage your Ad Exchange buyer account configuration AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb index 86103dca4..fe072bb73 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb @@ -22,279 +22,6 @@ module Google module Apis module Adexchangebuyer2V2beta1 - # @OutputOnly The auction type the restriction applies to. - class AuctionContext - include Google::Apis::Core::Hashable - - # The auction types this restriction applies to. - # Corresponds to the JSON property `auctionTypes` - # @return [Array] - attr_accessor :auction_types - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @auction_types = args[:auction_types] if args.key?(:auction_types) - end - end - - # Response message for listing the metrics that are measured in number of - # impressions. - class ListImpressionMetricsResponse - include Google::Apis::Core::Hashable - - # A token to retrieve the next page of results. - # Pass this value in the - # ListImpressionMetricsRequest.pageToken - # field in the subsequent call to the - # accounts.filterSets.impressionMetrics.list - # method to retrieve the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # List of rows, each containing a set of impression metrics. - # Corresponds to the JSON property `impressionMetricsRows` - # @return [Array] - attr_accessor :impression_metrics_rows - - 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) - @impression_metrics_rows = args[:impression_metrics_rows] if args.key?(:impression_metrics_rows) - end - end - - # The set of metrics that are measured in numbers of bids, representing how - # many bids with the specified dimension values were considered eligible at - # each stage of the bidding funnel; - class BidMetricsRow - include Google::Apis::Core::Hashable - - # A metric value, with an expected value and a variance; represents a count - # that may be either exact or estimated (i.e. when sampled). - # Corresponds to the JSON property `impressionsWon` - # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] - attr_accessor :impressions_won - - # A metric value, with an expected value and a variance; represents a count - # that may be either exact or estimated (i.e. when sampled). - # Corresponds to the JSON property `viewableImpressions` - # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] - attr_accessor :viewable_impressions - - # A metric value, with an expected value and a variance; represents a count - # that may be either exact or estimated (i.e. when sampled). - # Corresponds to the JSON property `measurableImpressions` - # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] - attr_accessor :measurable_impressions - - # A metric value, with an expected value and a variance; represents a count - # that may be either exact or estimated (i.e. when sampled). - # Corresponds to the JSON property `bids` - # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] - attr_accessor :bids - - # A metric value, with an expected value and a variance; represents a count - # that may be either exact or estimated (i.e. when sampled). - # Corresponds to the JSON property `billedImpressions` - # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] - attr_accessor :billed_impressions - - # A metric value, with an expected value and a variance; represents a count - # that may be either exact or estimated (i.e. when sampled). - # Corresponds to the JSON property `bidsInAuction` - # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] - attr_accessor :bids_in_auction - - # A response may include multiple rows, breaking down along various dimensions. - # Encapsulates the values of all dimensions for a given row. - # Corresponds to the JSON property `rowDimensions` - # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions] - attr_accessor :row_dimensions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @impressions_won = args[:impressions_won] if args.key?(:impressions_won) - @viewable_impressions = args[:viewable_impressions] if args.key?(:viewable_impressions) - @measurable_impressions = args[:measurable_impressions] if args.key?(:measurable_impressions) - @bids = args[:bids] if args.key?(:bids) - @billed_impressions = args[:billed_impressions] if args.key?(:billed_impressions) - @bids_in_auction = args[:bids_in_auction] if args.key?(:bids_in_auction) - @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions) - end - end - - # Response message for listing all reasons that bid responses resulted in an - # error. - class ListBidResponseErrorsResponse - include Google::Apis::Core::Hashable - - # List of rows, with counts of bid responses aggregated by callout status. - # Corresponds to the JSON property `calloutStatusRows` - # @return [Array] - attr_accessor :callout_status_rows - - # A token to retrieve the next page of results. - # Pass this value in the - # ListBidResponseErrorsRequest.pageToken - # field in the subsequent call to the - # accounts.filterSets.bidResponseErrors.list - # method to retrieve the next page of results. - # 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) - @callout_status_rows = args[:callout_status_rows] if args.key?(:callout_status_rows) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # The number of bids with the specified dimension values that did not win the - # auction (either were filtered pre-auction or lost the auction), as described - # by the specified creative status. - class CreativeStatusRow - include Google::Apis::Core::Hashable - - # A metric value, with an expected value and a variance; represents a count - # that may be either exact or estimated (i.e. when sampled). - # Corresponds to the JSON property `bidCount` - # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] - attr_accessor :bid_count - - # A response may include multiple rows, breaking down along various dimensions. - # Encapsulates the values of all dimensions for a given row. - # Corresponds to the JSON property `rowDimensions` - # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions] - attr_accessor :row_dimensions - - # The ID of the creative status. - # See [creative-status-codes](https://developers.google.com/ad-exchange/rtb/ - # downloads/creative-status-codes). - # Corresponds to the JSON property `creativeStatusId` - # @return [Fixnum] - attr_accessor :creative_status_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bid_count = args[:bid_count] if args.key?(:bid_count) - @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions) - @creative_status_id = args[:creative_status_id] if args.key?(:creative_status_id) - end - end - - # An open-ended realtime time range specified by the start timestamp. - # For filter sets that specify a realtime time range RTB metrics continue to - # be aggregated throughout the lifetime of the filter set. - class RealtimeTimeRange - include Google::Apis::Core::Hashable - - # The start timestamp of the real-time RTB metrics aggregation. - # Corresponds to the JSON property `startTimestamp` - # @return [String] - attr_accessor :start_timestamp - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @start_timestamp = args[:start_timestamp] if args.key?(:start_timestamp) - end - end - - # The number of winning bids with the specified dimension values for which the - # buyer was not billed, as described by the specified status. - class NonBillableWinningBidStatusRow - include Google::Apis::Core::Hashable - - # A response may include multiple rows, breaking down along various dimensions. - # Encapsulates the values of all dimensions for a given row. - # Corresponds to the JSON property `rowDimensions` - # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions] - attr_accessor :row_dimensions - - # A metric value, with an expected value and a variance; represents a count - # that may be either exact or estimated (i.e. when sampled). - # Corresponds to the JSON property `bidCount` - # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] - attr_accessor :bid_count - - # The status specifying why the winning bids were not billed. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions) - @bid_count = args[:bid_count] if args.key?(:bid_count) - @status = args[:status] if args.key?(:status) - end - end - - # The number of filtered bids with the specified dimension values, among those - # filtered due to the requested filtering reason (i.e. creative status), that - # have the specified detail. - class FilteredBidDetailRow - include Google::Apis::Core::Hashable - - # A response may include multiple rows, breaking down along various dimensions. - # Encapsulates the values of all dimensions for a given row. - # Corresponds to the JSON property `rowDimensions` - # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions] - attr_accessor :row_dimensions - - # The ID of the detail. The associated value can be looked up in the - # dictionary file corresponding to the DetailType in the response message. - # Corresponds to the JSON property `detailId` - # @return [Fixnum] - attr_accessor :detail_id - - # A metric value, with an expected value and a variance; represents a count - # that may be either exact or estimated (i.e. when sampled). - # Corresponds to the JSON property `bidCount` - # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] - attr_accessor :bid_count - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions) - @detail_id = args[:detail_id] if args.key?(:detail_id) - @bid_count = args[:bid_count] if args.key?(:bid_count) - end - end - # An absolute date range, specified by its start date and end date. # The supported range of dates begins 30 days before today and ends today. # Validity checked upon filter set creation. If a filter set with an absolute @@ -310,9 +37,9 @@ module Google # expiration date. The year may be 0 to represent a month and day independent # of year, e.g. anniversary date. Related types are google.type.TimeOfDay # and `google.protobuf.Timestamp`. - # Corresponds to the JSON property `startDate` + # Corresponds to the JSON property `endDate` # @return [Google::Apis::Adexchangebuyer2V2beta1::Date] - attr_accessor :start_date + attr_accessor :end_date # Represents a whole calendar date, e.g. date of birth. The time of day and # time zone are either specified elsewhere or are not significant. The date @@ -321,9 +48,9 @@ module Google # expiration date. The year may be 0 to represent a month and day independent # of year, e.g. anniversary date. Related types are google.type.TimeOfDay # and `google.protobuf.Timestamp`. - # Corresponds to the JSON property `endDate` + # Corresponds to the JSON property `startDate` # @return [Google::Apis::Adexchangebuyer2V2beta1::Date] - attr_accessor :end_date + attr_accessor :start_date def initialize(**args) update!(**args) @@ -331,8 +58,8 @@ module Google # Update properties of this object def update!(**args) - @start_date = args[:start_date] if args.key?(:start_date) @end_date = args[:end_date] if args.key?(:end_date) + @start_date = args[:start_date] if args.key?(:start_date) end end @@ -355,18 +82,14 @@ module Google end end - # A request for watching changes to creative Status. - class WatchCreativeRequest + # @OutputOnly The app type the restriction applies to for mobile device. + class AppContext include Google::Apis::Core::Hashable - # The Pub/Sub topic to publish notifications to. - # This topic must already exist and must give permission to - # ad-exchange-buyside-reports@google.com to write to the topic. - # This should be the full resource name in - # "projects/`project_id`/topics/`topic_id`" format. - # Corresponds to the JSON property `topic` - # @return [String] - attr_accessor :topic + # The app types this restriction applies to. + # Corresponds to the JSON property `appTypes` + # @return [Array] + attr_accessor :app_types def initialize(**args) update!(**args) @@ -374,34 +97,18 @@ module Google # Update properties of this object def update!(**args) - @topic = args[:topic] if args.key?(:topic) + @app_types = args[:app_types] if args.key?(:app_types) end end - # An interval of time, with an absolute start and end. - # This is included in the response, for several reasons: - # 1) The request may have specified start or end times relative to the time the - # request was sent; the response indicates the corresponding absolute time - # interval. - # 2) The request may have specified an end time past the latest time for which - # data was available (e.g. if requesting data for the today); the response - # indicates the latest time for which data was actually returned. - # 3) The response data for a single request may be broken down into multiple - # time intervals, if a time series was requested. - class TimeInterval + # @OutputOnly The auction type the restriction applies to. + class AuctionContext include Google::Apis::Core::Hashable - # The timestamp marking the end of the range (exclusive) for which data is - # included. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # The timestamp marking the start of the range (inclusive) for which data is - # included. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time + # The auction types this restriction applies to. + # Corresponds to the JSON property `auctionTypes` + # @return [Array] + attr_accessor :auction_types def initialize(**args) update!(**args) @@ -409,8 +116,825 @@ module Google # Update properties of this object def update!(**args) - @end_time = args[:end_time] if args.key?(:end_time) - @start_time = args[:start_time] if args.key?(:start_time) + @auction_types = args[:auction_types] if args.key?(:auction_types) + end + end + + # The set of metrics that are measured in numbers of bids, representing how + # many bids with the specified dimension values were considered eligible at + # each stage of the bidding funnel; + class BidMetricsRow + include Google::Apis::Core::Hashable + + # A metric value, with an expected value and a variance; represents a count + # that may be either exact or estimated (i.e. when sampled). + # Corresponds to the JSON property `bids` + # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] + attr_accessor :bids + + # A metric value, with an expected value and a variance; represents a count + # that may be either exact or estimated (i.e. when sampled). + # Corresponds to the JSON property `bidsInAuction` + # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] + attr_accessor :bids_in_auction + + # A metric value, with an expected value and a variance; represents a count + # that may be either exact or estimated (i.e. when sampled). + # Corresponds to the JSON property `billedImpressions` + # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] + attr_accessor :billed_impressions + + # A metric value, with an expected value and a variance; represents a count + # that may be either exact or estimated (i.e. when sampled). + # Corresponds to the JSON property `impressionsWon` + # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] + attr_accessor :impressions_won + + # A metric value, with an expected value and a variance; represents a count + # that may be either exact or estimated (i.e. when sampled). + # Corresponds to the JSON property `measurableImpressions` + # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] + attr_accessor :measurable_impressions + + # A response may include multiple rows, breaking down along various dimensions. + # Encapsulates the values of all dimensions for a given row. + # Corresponds to the JSON property `rowDimensions` + # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions] + attr_accessor :row_dimensions + + # A metric value, with an expected value and a variance; represents a count + # that may be either exact or estimated (i.e. when sampled). + # Corresponds to the JSON property `viewableImpressions` + # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] + attr_accessor :viewable_impressions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bids = args[:bids] if args.key?(:bids) + @bids_in_auction = args[:bids_in_auction] if args.key?(:bids_in_auction) + @billed_impressions = args[:billed_impressions] if args.key?(:billed_impressions) + @impressions_won = args[:impressions_won] if args.key?(:impressions_won) + @measurable_impressions = args[:measurable_impressions] if args.key?(:measurable_impressions) + @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions) + @viewable_impressions = args[:viewable_impressions] if args.key?(:viewable_impressions) + end + end + + # The number of impressions with the specified dimension values that were + # considered to have no applicable bids, as described by the specified status. + class BidResponseWithoutBidsStatusRow + include Google::Apis::Core::Hashable + + # A metric value, with an expected value and a variance; represents a count + # that may be either exact or estimated (i.e. when sampled). + # Corresponds to the JSON property `impressionCount` + # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] + attr_accessor :impression_count + + # A response may include multiple rows, breaking down along various dimensions. + # Encapsulates the values of all dimensions for a given row. + # Corresponds to the JSON property `rowDimensions` + # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions] + attr_accessor :row_dimensions + + # The status specifying why the bid responses were considered to have no + # applicable bids. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @impression_count = args[:impression_count] if args.key?(:impression_count) + @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions) + @status = args[:status] if args.key?(:status) + end + end + + # The number of impressions with the specified dimension values where the + # corresponding bid request or bid response was not successful, as described by + # the specified callout status. + class CalloutStatusRow + include Google::Apis::Core::Hashable + + # The ID of the callout status. + # See [callout-status-codes](https://developers.google.com/ad-exchange/rtb/ + # downloads/callout-status-codes). + # Corresponds to the JSON property `calloutStatusId` + # @return [Fixnum] + attr_accessor :callout_status_id + + # A metric value, with an expected value and a variance; represents a count + # that may be either exact or estimated (i.e. when sampled). + # Corresponds to the JSON property `impressionCount` + # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] + attr_accessor :impression_count + + # A response may include multiple rows, breaking down along various dimensions. + # Encapsulates the values of all dimensions for a given row. + # Corresponds to the JSON property `rowDimensions` + # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions] + attr_accessor :row_dimensions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @callout_status_id = args[:callout_status_id] if args.key?(:callout_status_id) + @impression_count = args[:impression_count] if args.key?(:impression_count) + @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions) + end + end + + # A client resource represents a client buyer—an agency, + # a brand, or an advertiser customer of the sponsor buyer. + # Users associated with the client buyer have restricted access to + # the Ad Exchange Marketplace and certain other sections + # of the Ad Exchange Buyer UI based on the role + # granted to the client buyer. + # All fields are required unless otherwise specified. + class Client + include Google::Apis::Core::Hashable + + # The globally-unique numerical ID of the client. + # The value of this field is ignored in create and update operations. + # Corresponds to the JSON property `clientAccountId` + # @return [Fixnum] + attr_accessor :client_account_id + + # Name used to represent this client to publishers. + # You may have multiple clients that map to the same entity, + # but for each client the combination of `clientName` and entity + # must be unique. + # You can specify this field as empty. + # Corresponds to the JSON property `clientName` + # @return [String] + attr_accessor :client_name + + # Numerical identifier of the client entity. + # The entity can be an advertiser, a brand, or an agency. + # This identifier is unique among all the entities with the same type. + # A list of all known advertisers with their identifiers is available in the + # [advertisers.txt](https://storage.googleapis.com/adx-rtb-dictionaries/ + # advertisers.txt) + # file. + # A list of all known brands with their identifiers is available in the + # [brands.txt](https://storage.googleapis.com/adx-rtb-dictionaries/brands.txt) + # file. + # A list of all known agencies with their identifiers is available in the + # [agencies.txt](https://storage.googleapis.com/adx-rtb-dictionaries/agencies. + # txt) + # file. + # Corresponds to the JSON property `entityId` + # @return [Fixnum] + attr_accessor :entity_id + + # The name of the entity. This field is automatically fetched based on + # the type and ID. + # The value of this field is ignored in create and update operations. + # Corresponds to the JSON property `entityName` + # @return [String] + attr_accessor :entity_name + + # The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`. + # Corresponds to the JSON property `entityType` + # @return [String] + attr_accessor :entity_type + + # The role which is assigned to the client buyer. Each role implies a set of + # permissions granted to the client. Must be one of `CLIENT_DEAL_VIEWER`, + # `CLIENT_DEAL_NEGOTIATOR` or `CLIENT_DEAL_APPROVER`. + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + # The status of the client buyer. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # Whether the client buyer will be visible to sellers. + # Corresponds to the JSON property `visibleToSeller` + # @return [Boolean] + attr_accessor :visible_to_seller + alias_method :visible_to_seller?, :visible_to_seller + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @client_account_id = args[:client_account_id] if args.key?(:client_account_id) + @client_name = args[:client_name] if args.key?(:client_name) + @entity_id = args[:entity_id] if args.key?(:entity_id) + @entity_name = args[:entity_name] if args.key?(:entity_name) + @entity_type = args[:entity_type] if args.key?(:entity_type) + @role = args[:role] if args.key?(:role) + @status = args[:status] if args.key?(:status) + @visible_to_seller = args[:visible_to_seller] if args.key?(:visible_to_seller) + end + end + + # A client user is created under a client buyer and has restricted access to + # the Ad Exchange Marketplace and certain other sections + # of the Ad Exchange Buyer UI based on the role + # granted to the associated client buyer. + # The only way a new client user can be created is via accepting an + # email invitation + # (see the + # accounts.clients.invitations.create + # method). + # All fields are required unless otherwise specified. + class ClientUser + include Google::Apis::Core::Hashable + + # Numerical account ID of the client buyer + # with which the user is associated; the + # buyer must be a client of the current sponsor buyer. + # The value of this field is ignored in an update operation. + # Corresponds to the JSON property `clientAccountId` + # @return [Fixnum] + attr_accessor :client_account_id + + # User's email address. The value of this field + # is ignored in an update operation. + # Corresponds to the JSON property `email` + # @return [String] + attr_accessor :email + + # The status of the client user. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # The unique numerical ID of the client user + # that has accepted an invitation. + # The value of this field is ignored in an update operation. + # Corresponds to the JSON property `userId` + # @return [Fixnum] + attr_accessor :user_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @client_account_id = args[:client_account_id] if args.key?(:client_account_id) + @email = args[:email] if args.key?(:email) + @status = args[:status] if args.key?(:status) + @user_id = args[:user_id] if args.key?(:user_id) + end + end + + # An invitation for a new client user to get access to the Ad Exchange + # Buyer UI. + # All fields are required unless otherwise specified. + class ClientUserInvitation + include Google::Apis::Core::Hashable + + # Numerical account ID of the client buyer + # that the invited user is associated with. + # The value of this field is ignored in create operations. + # Corresponds to the JSON property `clientAccountId` + # @return [Fixnum] + attr_accessor :client_account_id + + # The email address to which the invitation is sent. Email + # addresses should be unique among all client users under each sponsor + # buyer. + # Corresponds to the JSON property `email` + # @return [String] + attr_accessor :email + + # The unique numerical ID of the invitation that is sent to the user. + # The value of this field is ignored in create operations. + # Corresponds to the JSON property `invitationId` + # @return [Fixnum] + attr_accessor :invitation_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @client_account_id = args[:client_account_id] if args.key?(:client_account_id) + @email = args[:email] if args.key?(:email) + @invitation_id = args[:invitation_id] if args.key?(:invitation_id) + end + end + + # @OutputOnly Shows any corrections that were applied to this creative. + class Correction + include Google::Apis::Core::Hashable + + # The contexts for the correction. + # Corresponds to the JSON property `contexts` + # @return [Array] + attr_accessor :contexts + + # Additional details about what was corrected. + # Corresponds to the JSON property `details` + # @return [Array] + attr_accessor :details + + # The type of correction that was applied to the creative. + # 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) + @contexts = args[:contexts] if args.key?(:contexts) + @details = args[:details] if args.key?(:details) + @type = args[:type] if args.key?(:type) + end + end + + # A creative and its classification data. + class Creative + include Google::Apis::Core::Hashable + + # The account that this creative belongs to. + # Can be used to filter the response of the + # creatives.list + # method. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # The link to AdChoices destination page. + # Corresponds to the JSON property `adChoicesDestinationUrl` + # @return [String] + attr_accessor :ad_choices_destination_url + + # The name of the company being advertised in the creative. + # Corresponds to the JSON property `advertiserName` + # @return [String] + attr_accessor :advertiser_name + + # The agency ID for this creative. + # Corresponds to the JSON property `agencyId` + # @return [Fixnum] + attr_accessor :agency_id + + # @OutputOnly The last update timestamp of the creative via API. + # Corresponds to the JSON property `apiUpdateTime` + # @return [String] + attr_accessor :api_update_time + + # All attributes for the ads that may be shown from this creative. + # Can be used to filter the response of the + # creatives.list + # method. + # Corresponds to the JSON property `attributes` + # @return [Array] + attr_accessor :attributes + + # The set of destination URLs for the creative. + # Corresponds to the JSON property `clickThroughUrls` + # @return [Array] + attr_accessor :click_through_urls + + # @OutputOnly Shows any corrections that were applied to this creative. + # Corresponds to the JSON property `corrections` + # @return [Array] + attr_accessor :corrections + + # The buyer-defined creative ID of this creative. + # Can be used to filter the response of the + # creatives.list + # method. + # Corresponds to the JSON property `creativeId` + # @return [String] + attr_accessor :creative_id + + # @OutputOnly The top-level deals status of this creative. + # If disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in + # serving_restrictions will also exist. Note + # that this may be nuanced with other contextual restrictions, in which case, + # it may be preferable to read from serving_restrictions directly. + # Can be used to filter the response of the + # creatives.list + # method. + # Corresponds to the JSON property `dealsStatus` + # @return [String] + attr_accessor :deals_status + + # @OutputOnly Detected advertiser IDs, if any. + # Corresponds to the JSON property `detectedAdvertiserIds` + # @return [Array] + attr_accessor :detected_advertiser_ids + + # @OutputOnly + # The detected domains for this creative. + # Corresponds to the JSON property `detectedDomains` + # @return [Array] + attr_accessor :detected_domains + + # @OutputOnly + # The detected languages for this creative. The order is arbitrary. The codes + # are 2 or 5 characters and are documented at + # https://developers.google.com/adwords/api/docs/appendix/languagecodes. + # Corresponds to the JSON property `detectedLanguages` + # @return [Array] + attr_accessor :detected_languages + + # @OutputOnly Detected product categories, if any. + # See the ad-product-categories.txt file in the technical documentation + # for a list of IDs. + # Corresponds to the JSON property `detectedProductCategories` + # @return [Array] + attr_accessor :detected_product_categories + + # @OutputOnly Detected sensitive categories, if any. + # See the ad-sensitive-categories.txt file in the technical documentation for + # a list of IDs. You should use these IDs along with the + # excluded-sensitive-category field in the bid request to filter your bids. + # Corresponds to the JSON property `detectedSensitiveCategories` + # @return [Array] + attr_accessor :detected_sensitive_categories + + # @OutputOnly Filtering reasons for this creative during a period of a single + # day (from midnight to midnight Pacific). + # Corresponds to the JSON property `filteringStats` + # @return [Google::Apis::Adexchangebuyer2V2beta1::FilteringStats] + attr_accessor :filtering_stats + + # HTML content for a creative. + # Corresponds to the JSON property `html` + # @return [Google::Apis::Adexchangebuyer2V2beta1::HtmlContent] + attr_accessor :html + + # The set of URLs to be called to record an impression. + # Corresponds to the JSON property `impressionTrackingUrls` + # @return [Array] + attr_accessor :impression_tracking_urls + + # Native content for a creative. + # Corresponds to the JSON property `native` + # @return [Google::Apis::Adexchangebuyer2V2beta1::NativeContent] + attr_accessor :native + + # @OutputOnly The top-level open auction status of this creative. + # If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in + # serving_restrictions will also exist. Note + # that this may be nuanced with other contextual restrictions, in which case, + # it may be preferable to read from serving_restrictions directly. + # Can be used to filter the response of the + # creatives.list + # method. + # Corresponds to the JSON property `openAuctionStatus` + # @return [String] + attr_accessor :open_auction_status + + # All restricted categories for the ads that may be shown from this creative. + # Corresponds to the JSON property `restrictedCategories` + # @return [Array] + attr_accessor :restricted_categories + + # @OutputOnly The granular status of this ad in specific contexts. + # A context here relates to where something ultimately serves (for example, + # a physical location, a platform, an HTTPS vs HTTP request, or the type + # of auction). + # Corresponds to the JSON property `servingRestrictions` + # @return [Array] + attr_accessor :serving_restrictions + + # All vendor IDs for the ads that may be shown from this creative. + # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt + # for possible values. + # Corresponds to the JSON property `vendorIds` + # @return [Array] + attr_accessor :vendor_ids + + # @OutputOnly The version of this creative. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + # Video content for a creative. + # Corresponds to the JSON property `video` + # @return [Google::Apis::Adexchangebuyer2V2beta1::VideoContent] + attr_accessor :video + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @ad_choices_destination_url = args[:ad_choices_destination_url] if args.key?(:ad_choices_destination_url) + @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name) + @agency_id = args[:agency_id] if args.key?(:agency_id) + @api_update_time = args[:api_update_time] if args.key?(:api_update_time) + @attributes = args[:attributes] if args.key?(:attributes) + @click_through_urls = args[:click_through_urls] if args.key?(:click_through_urls) + @corrections = args[:corrections] if args.key?(:corrections) + @creative_id = args[:creative_id] if args.key?(:creative_id) + @deals_status = args[:deals_status] if args.key?(:deals_status) + @detected_advertiser_ids = args[:detected_advertiser_ids] if args.key?(:detected_advertiser_ids) + @detected_domains = args[:detected_domains] if args.key?(:detected_domains) + @detected_languages = args[:detected_languages] if args.key?(:detected_languages) + @detected_product_categories = args[:detected_product_categories] if args.key?(:detected_product_categories) + @detected_sensitive_categories = args[:detected_sensitive_categories] if args.key?(:detected_sensitive_categories) + @filtering_stats = args[:filtering_stats] if args.key?(:filtering_stats) + @html = args[:html] if args.key?(:html) + @impression_tracking_urls = args[:impression_tracking_urls] if args.key?(:impression_tracking_urls) + @native = args[:native] if args.key?(:native) + @open_auction_status = args[:open_auction_status] if args.key?(:open_auction_status) + @restricted_categories = args[:restricted_categories] if args.key?(:restricted_categories) + @serving_restrictions = args[:serving_restrictions] if args.key?(:serving_restrictions) + @vendor_ids = args[:vendor_ids] if args.key?(:vendor_ids) + @version = args[:version] if args.key?(:version) + @video = args[:video] if args.key?(:video) + end + end + + # The association between a creative and a deal. + class CreativeDealAssociation + include Google::Apis::Core::Hashable + + # The account the creative belongs to. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # The ID of the creative associated with the deal. + # Corresponds to the JSON property `creativeId` + # @return [String] + attr_accessor :creative_id + + # The externalDealId for the deal associated with the creative. + # Corresponds to the JSON property `dealsId` + # @return [String] + attr_accessor :deals_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @creative_id = args[:creative_id] if args.key?(:creative_id) + @deals_id = args[:deals_id] if args.key?(:deals_id) + end + end + + # The number of bids with the specified dimension values that did not win the + # auction (either were filtered pre-auction or lost the auction), as described + # by the specified creative status. + class CreativeStatusRow + include Google::Apis::Core::Hashable + + # A metric value, with an expected value and a variance; represents a count + # that may be either exact or estimated (i.e. when sampled). + # Corresponds to the JSON property `bidCount` + # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] + attr_accessor :bid_count + + # The ID of the creative status. + # See [creative-status-codes](https://developers.google.com/ad-exchange/rtb/ + # downloads/creative-status-codes). + # Corresponds to the JSON property `creativeStatusId` + # @return [Fixnum] + attr_accessor :creative_status_id + + # A response may include multiple rows, breaking down along various dimensions. + # Encapsulates the values of all dimensions for a given row. + # Corresponds to the JSON property `rowDimensions` + # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions] + attr_accessor :row_dimensions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bid_count = args[:bid_count] if args.key?(:bid_count) + @creative_status_id = args[:creative_status_id] if args.key?(:creative_status_id) + @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions) + end + end + + # Represents a whole calendar date, e.g. 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. The day may be 0 to + # represent a year and month where the day is not significant, e.g. credit card + # expiration date. The year may be 0 to represent a month and day independent + # of year, e.g. anniversary date. Related types are google.type.TimeOfDay + # and `google.protobuf.Timestamp`. + class Date + include Google::Apis::Core::Hashable + + # 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 + + # Month of year. Must be from 1 to 12. + # Corresponds to the JSON property `month` + # @return [Fixnum] + attr_accessor :month + + # 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) + @day = args[:day] if args.key?(:day) + @month = args[:month] if args.key?(:month) + @year = args[:year] if args.key?(:year) + end + end + + # @OutputOnly The reason and details for a disapproval. + class Disapproval + include Google::Apis::Core::Hashable + + # Additional details about the reason for disapproval. + # Corresponds to the JSON property `details` + # @return [Array] + attr_accessor :details + + # The categorized reason for disapproval. + # Corresponds to the JSON property `reason` + # @return [String] + attr_accessor :reason + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @details = args[:details] if args.key?(:details) + @reason = args[:reason] if args.key?(:reason) + 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 + + # A set of filters that is applied to a request for data. + # Within a filter set, an AND operation is performed across the filters + # represented by each field. An OR operation is performed across the filters + # represented by the multiple values of a repeated field. E.g. + # "format=VIDEO AND deal_id=12 AND (seller_network_id=34 OR + # seller_network_id=56)" + class FilterSet + include Google::Apis::Core::Hashable + + # An absolute date range, specified by its start date and end date. + # The supported range of dates begins 30 days before today and ends today. + # Validity checked upon filter set creation. If a filter set with an absolute + # date range is run at a later date more than 30 days after start_date, it will + # fail. + # Corresponds to the JSON property `absoluteDateRange` + # @return [Google::Apis::Adexchangebuyer2V2beta1::AbsoluteDateRange] + attr_accessor :absolute_date_range + + # The ID of the buyer account on which to filter; optional. + # Corresponds to the JSON property `buyerAccountId` + # @return [Fixnum] + attr_accessor :buyer_account_id + + # The ID of the creative on which to filter; optional. + # Corresponds to the JSON property `creativeId` + # @return [String] + attr_accessor :creative_id + + # The ID of the deal on which to filter; optional. + # Corresponds to the JSON property `dealId` + # @return [Fixnum] + attr_accessor :deal_id + + # The environment on which to filter; optional. + # Corresponds to the JSON property `environment` + # @return [String] + attr_accessor :environment + + # The ID of the filter set; unique within the account of the filter set + # owner. + # The value of this field is ignored in create operations. + # Corresponds to the JSON property `filterSetId` + # @return [Fixnum] + attr_accessor :filter_set_id + + # The format on which to filter; optional. + # Corresponds to the JSON property `format` + # @return [String] + attr_accessor :format + + # The account ID of the buyer who owns this filter set. + # The value of this field is ignored in create operations. + # Corresponds to the JSON property `ownerAccountId` + # @return [Fixnum] + attr_accessor :owner_account_id + + # The list of platforms on which to filter; may be empty. The filters + # represented by multiple platforms are ORed together (i.e. if non-empty, + # results must match any one of the platforms). + # Corresponds to the JSON property `platforms` + # @return [Array] + attr_accessor :platforms + + # An open-ended realtime time range specified by the start timestamp. + # For filter sets that specify a realtime time range RTB metrics continue to + # be aggregated throughout the lifetime of the filter set. + # Corresponds to the JSON property `realtimeTimeRange` + # @return [Google::Apis::Adexchangebuyer2V2beta1::RealtimeTimeRange] + attr_accessor :realtime_time_range + + # A relative date range, specified by an offset and a duration. + # The supported range of dates begins 30 days before today and ends today. + # I.e. the limits for these values are: + # offset_days >= 0 + # duration_days >= 1 + # offset_days + duration_days <= 30 + # Corresponds to the JSON property `relativeDateRange` + # @return [Google::Apis::Adexchangebuyer2V2beta1::RelativeDateRange] + attr_accessor :relative_date_range + + # The list of IDs of the seller (publisher) networks on which to filter; + # may be empty. The filters represented by multiple seller network IDs are + # ORed together (i.e. if non-empty, results must match any one of the + # publisher networks). + # See [seller-network-ids](https://developers.google.com/ad-exchange/rtb/ + # downloads/seller-network-ids) + # file for the set of existing seller network IDs. + # Corresponds to the JSON property `sellerNetworkIds` + # @return [Array] + attr_accessor :seller_network_ids + + # The granularity of time intervals if a time series breakdown is desired; + # optional. + # Corresponds to the JSON property `timeSeriesGranularity` + # @return [String] + attr_accessor :time_series_granularity + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @absolute_date_range = args[:absolute_date_range] if args.key?(:absolute_date_range) + @buyer_account_id = args[:buyer_account_id] if args.key?(:buyer_account_id) + @creative_id = args[:creative_id] if args.key?(:creative_id) + @deal_id = args[:deal_id] if args.key?(:deal_id) + @environment = args[:environment] if args.key?(:environment) + @filter_set_id = args[:filter_set_id] if args.key?(:filter_set_id) + @format = args[:format] if args.key?(:format) + @owner_account_id = args[:owner_account_id] if args.key?(:owner_account_id) + @platforms = args[:platforms] if args.key?(:platforms) + @realtime_time_range = args[:realtime_time_range] if args.key?(:realtime_time_range) + @relative_date_range = args[:relative_date_range] if args.key?(:relative_date_range) + @seller_network_ids = args[:seller_network_ids] if args.key?(:seller_network_ids) + @time_series_granularity = args[:time_series_granularity] if args.key?(:time_series_granularity) end end @@ -448,321 +972,23 @@ module Google end end - # A relative date range, specified by an offset and a duration. - # The supported range of dates begins 30 days before today and ends today. - # I.e. the limits for these values are: - # offset_days >= 0 - # duration_days >= 1 - # offset_days + duration_days <= 30 - class RelativeDateRange - include Google::Apis::Core::Hashable - - # The number of days in the requested date range. E.g. for a range spanning - # today, 1. For a range spanning the last 7 days, 7. - # Corresponds to the JSON property `durationDays` - # @return [Fixnum] - attr_accessor :duration_days - - # The end date of the filter set, specified as the number of days before - # today. E.g. for a range where the last date is today, 0. - # Corresponds to the JSON property `offsetDays` - # @return [Fixnum] - attr_accessor :offset_days - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @duration_days = args[:duration_days] if args.key?(:duration_days) - @offset_days = args[:offset_days] if args.key?(:offset_days) - end - end - - # - class ListClientsResponse - include Google::Apis::Core::Hashable - - # A token to retrieve the next page of results. - # Pass this value in the - # ListClientsRequest.pageToken - # field in the subsequent call to the - # accounts.clients.list method - # to retrieve the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The returned list of clients. - # Corresponds to the JSON property `clients` - # @return [Array] - attr_accessor :clients - - 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) - @clients = args[:clients] if args.key?(:clients) - end - end - - # Native content for a creative. - class NativeContent - include Google::Apis::Core::Hashable - - # A label for the button that the user is supposed to click. - # Corresponds to the JSON property `callToAction` - # @return [String] - attr_accessor :call_to_action - - # A long description of the ad. - # Corresponds to the JSON property `body` - # @return [String] - attr_accessor :body - - # The app rating in the app store. Must be in the range [0-5]. - # Corresponds to the JSON property `starRating` - # @return [Float] - attr_accessor :star_rating - - # The URL to fetch a native video ad. - # Corresponds to the JSON property `videoUrl` - # @return [String] - attr_accessor :video_url - - # An image resource. You may provide a larger image than was requested, - # so long as the aspect ratio is preserved. - # Corresponds to the JSON property `logo` - # @return [Google::Apis::Adexchangebuyer2V2beta1::Image] - attr_accessor :logo - - # The URL that the browser/SDK will load when the user clicks the ad. - # Corresponds to the JSON property `clickLinkUrl` - # @return [String] - attr_accessor :click_link_url - - # The price of the promoted app including currency info. - # Corresponds to the JSON property `priceDisplayText` - # @return [String] - attr_accessor :price_display_text - - # The URL to use for click tracking. - # Corresponds to the JSON property `clickTrackingUrl` - # @return [String] - attr_accessor :click_tracking_url - - # An image resource. You may provide a larger image than was requested, - # so long as the aspect ratio is preserved. - # Corresponds to the JSON property `image` - # @return [Google::Apis::Adexchangebuyer2V2beta1::Image] - attr_accessor :image - - # The name of the advertiser or sponsor, to be displayed in the ad creative. - # Corresponds to the JSON property `advertiserName` - # @return [String] - attr_accessor :advertiser_name - - # The URL to the app store to purchase/download the promoted app. - # Corresponds to the JSON property `storeUrl` - # @return [String] - attr_accessor :store_url - - # A short title for the ad. - # Corresponds to the JSON property `headline` - # @return [String] - attr_accessor :headline - - # An image resource. You may provide a larger image than was requested, - # so long as the aspect ratio is preserved. - # Corresponds to the JSON property `appIcon` - # @return [Google::Apis::Adexchangebuyer2V2beta1::Image] - attr_accessor :app_icon - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @call_to_action = args[:call_to_action] if args.key?(:call_to_action) - @body = args[:body] if args.key?(:body) - @star_rating = args[:star_rating] if args.key?(:star_rating) - @video_url = args[:video_url] if args.key?(:video_url) - @logo = args[:logo] if args.key?(:logo) - @click_link_url = args[:click_link_url] if args.key?(:click_link_url) - @price_display_text = args[:price_display_text] if args.key?(:price_display_text) - @click_tracking_url = args[:click_tracking_url] if args.key?(:click_tracking_url) - @image = args[:image] if args.key?(:image) - @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name) - @store_url = args[:store_url] if args.key?(:store_url) - @headline = args[:headline] if args.key?(:headline) - @app_icon = args[:app_icon] if args.key?(:app_icon) - end - end - - # Response message for listing all reasons that bid responses were considered - # to have no applicable bids. - class ListBidResponsesWithoutBidsResponse - include Google::Apis::Core::Hashable - - # A token to retrieve the next page of results. - # Pass this value in the - # ListBidResponsesWithoutBidsRequest.pageToken - # field in the subsequent call to the - # accounts.filterSets.bidResponsesWithoutBids.list - # method to retrieve the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # List of rows, with counts of bid responses without bids aggregated by - # status. - # Corresponds to the JSON property `bidResponseWithoutBidsStatusRows` - # @return [Array] - attr_accessor :bid_response_without_bids_status_rows - - 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) - @bid_response_without_bids_status_rows = args[:bid_response_without_bids_status_rows] if args.key?(:bid_response_without_bids_status_rows) - end - end - - # The serving context for this restriction. - class ServingContext - include Google::Apis::Core::Hashable - - # @OutputOnly A security context. - # Corresponds to the JSON property `securityType` - # @return [Google::Apis::Adexchangebuyer2V2beta1::SecurityContext] - attr_accessor :security_type - - # @OutputOnly The type of platform the restriction applies to. - # Corresponds to the JSON property `platform` - # @return [Google::Apis::Adexchangebuyer2V2beta1::PlatformContext] - attr_accessor :platform - - # @OutputOnly The Geo criteria the restriction applies to. - # Corresponds to the JSON property `location` - # @return [Google::Apis::Adexchangebuyer2V2beta1::LocationContext] - attr_accessor :location - - # @OutputOnly The auction type the restriction applies to. - # Corresponds to the JSON property `auctionType` - # @return [Google::Apis::Adexchangebuyer2V2beta1::AuctionContext] - attr_accessor :auction_type - - # Matches all contexts. - # Corresponds to the JSON property `all` - # @return [String] - attr_accessor :all - - # @OutputOnly The app type the restriction applies to for mobile device. - # Corresponds to the JSON property `appType` - # @return [Google::Apis::Adexchangebuyer2V2beta1::AppContext] - attr_accessor :app_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @security_type = args[:security_type] if args.key?(:security_type) - @platform = args[:platform] if args.key?(:platform) - @location = args[:location] if args.key?(:location) - @auction_type = args[:auction_type] if args.key?(:auction_type) - @all = args[:all] if args.key?(:all) - @app_type = args[:app_type] if args.key?(:app_type) - end - end - - # An image resource. You may provide a larger image than was requested, - # so long as the aspect ratio is preserved. - class Image - include Google::Apis::Core::Hashable - - # The URL of the image. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # Image height in pixels. - # Corresponds to the JSON property `height` - # @return [Fixnum] - attr_accessor :height - - # Image width in pixels. - # Corresponds to the JSON property `width` - # @return [Fixnum] - attr_accessor :width - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @url = args[:url] if args.key?(:url) - @height = args[:height] if args.key?(:height) - @width = args[:width] if args.key?(:width) - end - end - - # Response message for listing filter sets. - class ListFilterSetsResponse - include Google::Apis::Core::Hashable - - # The filter sets belonging to the buyer. - # Corresponds to the JSON property `filterSets` - # @return [Array] - attr_accessor :filter_sets - - # A token to retrieve the next page of results. - # Pass this value in the - # ListFilterSetsRequest.pageToken - # field in the subsequent call to the - # accounts.filterSets.list - # method to retrieve the next page of results. - # 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) - @filter_sets = args[:filter_sets] if args.key?(:filter_sets) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # The number of impressions with the specified dimension values that were - # considered to have no applicable bids, as described by the specified status. - class BidResponseWithoutBidsStatusRow + # The number of filtered bids with the specified dimension values, among those + # filtered due to the requested filtering reason (i.e. creative status), that + # have the specified detail. + class FilteredBidDetailRow include Google::Apis::Core::Hashable # A metric value, with an expected value and a variance; represents a count # that may be either exact or estimated (i.e. when sampled). - # Corresponds to the JSON property `impressionCount` + # Corresponds to the JSON property `bidCount` # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] - attr_accessor :impression_count + attr_accessor :bid_count - # The status specifying why the bid responses were considered to have no - # applicable bids. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status + # The ID of the detail. The associated value can be looked up in the + # dictionary file corresponding to the DetailType in the response message. + # Corresponds to the JSON property `detailId` + # @return [Fixnum] + attr_accessor :detail_id # A response may include multiple rows, breaking down along various dimensions. # Encapsulates the values of all dimensions for a given row. @@ -776,508 +1002,12 @@ module Google # Update properties of this object def update!(**args) - @impression_count = args[:impression_count] if args.key?(:impression_count) - @status = args[:status] if args.key?(:status) + @bid_count = args[:bid_count] if args.key?(:bid_count) + @detail_id = args[:detail_id] if args.key?(:detail_id) @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions) end end - # An invitation for a new client user to get access to the Ad Exchange - # Buyer UI. - # All fields are required unless otherwise specified. - class ClientUserInvitation - include Google::Apis::Core::Hashable - - # Numerical account ID of the client buyer - # that the invited user is associated with. - # The value of this field is ignored in create operations. - # Corresponds to the JSON property `clientAccountId` - # @return [Fixnum] - attr_accessor :client_account_id - - # The unique numerical ID of the invitation that is sent to the user. - # The value of this field is ignored in create operations. - # Corresponds to the JSON property `invitationId` - # @return [Fixnum] - attr_accessor :invitation_id - - # The email address to which the invitation is sent. Email - # addresses should be unique among all client users under each sponsor - # buyer. - # Corresponds to the JSON property `email` - # @return [String] - attr_accessor :email - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @client_account_id = args[:client_account_id] if args.key?(:client_account_id) - @invitation_id = args[:invitation_id] if args.key?(:invitation_id) - @email = args[:email] if args.key?(:email) - end - end - - # - class ListClientUserInvitationsResponse - include Google::Apis::Core::Hashable - - # A token to retrieve the next page of results. - # Pass this value in the - # ListClientUserInvitationsRequest.pageToken - # field in the subsequent call to the - # clients.invitations.list - # method to retrieve the next - # page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The returned list of client users. - # Corresponds to the JSON property `invitations` - # @return [Array] - attr_accessor :invitations - - 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) - @invitations = args[:invitations] if args.key?(:invitations) - end - end - - # - class ListClientUsersResponse - include Google::Apis::Core::Hashable - - # The returned list of client users. - # Corresponds to the JSON property `users` - # @return [Array] - attr_accessor :users - - # A token to retrieve the next page of results. - # Pass this value in the - # ListClientUsersRequest.pageToken - # field in the subsequent call to the - # clients.invitations.list - # method to retrieve the next - # page of results. - # 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) - @users = args[:users] if args.key?(:users) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # Response message for listing all details associated with a given filtered bid - # reason. - class ListCreativeStatusBreakdownByDetailResponse - include Google::Apis::Core::Hashable - - # A token to retrieve the next page of results. - # Pass this value in the - # ListCreativeStatusBreakdownByDetailRequest.pageToken - # field in the subsequent call to the - # accounts.filterSets.filteredBids.details.list - # method to retrieve the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # List of rows, with counts of bids with a given creative status aggregated - # by detail. - # Corresponds to the JSON property `filteredBidDetailRows` - # @return [Array] - attr_accessor :filtered_bid_detail_rows - - # The type of detail that the detail IDs represent. - # Corresponds to the JSON property `detailType` - # @return [String] - attr_accessor :detail_type - - 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) - @filtered_bid_detail_rows = args[:filtered_bid_detail_rows] if args.key?(:filtered_bid_detail_rows) - @detail_type = args[:detail_type] if args.key?(:detail_type) - end - end - - # @OutputOnly The Geo criteria the restriction applies to. - class LocationContext - include Google::Apis::Core::Hashable - - # IDs representing the geo location for this context. - # Please refer to the - # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table. - # csv) - # file for different geo criteria IDs. - # Corresponds to the JSON property `geoCriteriaIds` - # @return [Array] - attr_accessor :geo_criteria_ids - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @geo_criteria_ids = args[:geo_criteria_ids] if args.key?(:geo_criteria_ids) - end - end - - # @OutputOnly The type of platform the restriction applies to. - class PlatformContext - include Google::Apis::Core::Hashable - - # The platforms this restriction applies to. - # Corresponds to the JSON property `platforms` - # @return [Array] - attr_accessor :platforms - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @platforms = args[:platforms] if args.key?(:platforms) - end - end - - # A metric value, with an expected value and a variance; represents a count - # that may be either exact or estimated (i.e. when sampled). - class MetricValue - include Google::Apis::Core::Hashable - - # The variance (i.e. square of the standard deviation) of the metric value. - # If value is exact, variance is 0. - # Can be used to calculate margin of error as a percentage of value, using - # the following formula, where Z is the standard constant that depends on the - # desired size of the confidence interval (e.g. for 90% confidence interval, - # use Z = 1.645): - # marginOfError = 100 * Z * sqrt(variance) / value - # Corresponds to the JSON property `variance` - # @return [Fixnum] - attr_accessor :variance - - # The expected value of the metric. - # Corresponds to the JSON property `value` - # @return [Fixnum] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @variance = args[:variance] if args.key?(:variance) - @value = args[:value] if args.key?(:value) - end - end - - # A client user is created under a client buyer and has restricted access to - # the Ad Exchange Marketplace and certain other sections - # of the Ad Exchange Buyer UI based on the role - # granted to the associated client buyer. - # The only way a new client user can be created is via accepting an - # email invitation - # (see the - # accounts.clients.invitations.create - # method). - # All fields are required unless otherwise specified. - class ClientUser - include Google::Apis::Core::Hashable - - # The status of the client user. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - # User's email address. The value of this field - # is ignored in an update operation. - # Corresponds to the JSON property `email` - # @return [String] - attr_accessor :email - - # The unique numerical ID of the client user - # that has accepted an invitation. - # The value of this field is ignored in an update operation. - # Corresponds to the JSON property `userId` - # @return [Fixnum] - attr_accessor :user_id - - # Numerical account ID of the client buyer - # with which the user is associated; the - # buyer must be a client of the current sponsor buyer. - # The value of this field is ignored in an update operation. - # Corresponds to the JSON property `clientAccountId` - # @return [Fixnum] - attr_accessor :client_account_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @status = args[:status] if args.key?(:status) - @email = args[:email] if args.key?(:email) - @user_id = args[:user_id] if args.key?(:user_id) - @client_account_id = args[:client_account_id] if args.key?(:client_account_id) - end - end - - # The association between a creative and a deal. - class CreativeDealAssociation - include Google::Apis::Core::Hashable - - # The account the creative belongs to. - # Corresponds to the JSON property `accountId` - # @return [String] - attr_accessor :account_id - - # The ID of the creative associated with the deal. - # Corresponds to the JSON property `creativeId` - # @return [String] - attr_accessor :creative_id - - # The externalDealId for the deal associated with the creative. - # Corresponds to the JSON property `dealsId` - # @return [String] - attr_accessor :deals_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @account_id = args[:account_id] if args.key?(:account_id) - @creative_id = args[:creative_id] if args.key?(:creative_id) - @deals_id = args[:deals_id] if args.key?(:deals_id) - end - end - - # A creative and its classification data. - class Creative - include Google::Apis::Core::Hashable - - # The buyer-defined creative ID of this creative. - # Can be used to filter the response of the - # creatives.list - # method. - # Corresponds to the JSON property `creativeId` - # @return [String] - attr_accessor :creative_id - - # The account that this creative belongs to. - # Can be used to filter the response of the - # creatives.list - # method. - # Corresponds to the JSON property `accountId` - # @return [String] - attr_accessor :account_id - - # Native content for a creative. - # Corresponds to the JSON property `native` - # @return [Google::Apis::Adexchangebuyer2V2beta1::NativeContent] - attr_accessor :native - - # Video content for a creative. - # Corresponds to the JSON property `video` - # @return [Google::Apis::Adexchangebuyer2V2beta1::VideoContent] - attr_accessor :video - - # @OutputOnly The granular status of this ad in specific contexts. - # A context here relates to where something ultimately serves (for example, - # a physical location, a platform, an HTTPS vs HTTP request, or the type - # of auction). - # Corresponds to the JSON property `servingRestrictions` - # @return [Array] - attr_accessor :serving_restrictions - - # The agency ID for this creative. - # Corresponds to the JSON property `agencyId` - # @return [Fixnum] - attr_accessor :agency_id - - # The set of destination URLs for the creative. - # Corresponds to the JSON property `clickThroughUrls` - # @return [Array] - attr_accessor :click_through_urls - - # The link to AdChoices destination page. - # Corresponds to the JSON property `adChoicesDestinationUrl` - # @return [String] - attr_accessor :ad_choices_destination_url - - # @OutputOnly Detected sensitive categories, if any. - # See the ad-sensitive-categories.txt file in the technical documentation for - # a list of IDs. You should use these IDs along with the - # excluded-sensitive-category field in the bid request to filter your bids. - # Corresponds to the JSON property `detectedSensitiveCategories` - # @return [Array] - attr_accessor :detected_sensitive_categories - - # All restricted categories for the ads that may be shown from this creative. - # Corresponds to the JSON property `restrictedCategories` - # @return [Array] - attr_accessor :restricted_categories - - # @OutputOnly Shows any corrections that were applied to this creative. - # Corresponds to the JSON property `corrections` - # @return [Array] - attr_accessor :corrections - - # @OutputOnly The version of this creative. - # Corresponds to the JSON property `version` - # @return [Fixnum] - attr_accessor :version - - # All vendor IDs for the ads that may be shown from this creative. - # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt - # for possible values. - # Corresponds to the JSON property `vendorIds` - # @return [Array] - attr_accessor :vendor_ids - - # The set of URLs to be called to record an impression. - # Corresponds to the JSON property `impressionTrackingUrls` - # @return [Array] - attr_accessor :impression_tracking_urls - - # HTML content for a creative. - # Corresponds to the JSON property `html` - # @return [Google::Apis::Adexchangebuyer2V2beta1::HtmlContent] - attr_accessor :html - - # @OutputOnly The top-level deals status of this creative. - # If disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in - # serving_restrictions will also exist. Note - # that this may be nuanced with other contextual restrictions, in which case, - # it may be preferable to read from serving_restrictions directly. - # Can be used to filter the response of the - # creatives.list - # method. - # Corresponds to the JSON property `dealsStatus` - # @return [String] - attr_accessor :deals_status - - # @OutputOnly Detected product categories, if any. - # See the ad-product-categories.txt file in the technical documentation - # for a list of IDs. - # Corresponds to the JSON property `detectedProductCategories` - # @return [Array] - attr_accessor :detected_product_categories - - # @OutputOnly The top-level open auction status of this creative. - # If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in - # serving_restrictions will also exist. Note - # that this may be nuanced with other contextual restrictions, in which case, - # it may be preferable to read from serving_restrictions directly. - # Can be used to filter the response of the - # creatives.list - # method. - # Corresponds to the JSON property `openAuctionStatus` - # @return [String] - attr_accessor :open_auction_status - - # The name of the company being advertised in the creative. - # Corresponds to the JSON property `advertiserName` - # @return [String] - attr_accessor :advertiser_name - - # @OutputOnly Detected advertiser IDs, if any. - # Corresponds to the JSON property `detectedAdvertiserIds` - # @return [Array] - attr_accessor :detected_advertiser_ids - - # @OutputOnly - # The detected domains for this creative. - # Corresponds to the JSON property `detectedDomains` - # @return [Array] - attr_accessor :detected_domains - - # @OutputOnly Filtering reasons for this creative during a period of a single - # day (from midnight to midnight Pacific). - # Corresponds to the JSON property `filteringStats` - # @return [Google::Apis::Adexchangebuyer2V2beta1::FilteringStats] - attr_accessor :filtering_stats - - # All attributes for the ads that may be shown from this creative. - # Can be used to filter the response of the - # creatives.list - # method. - # Corresponds to the JSON property `attributes` - # @return [Array] - attr_accessor :attributes - - # @OutputOnly The last update timestamp of the creative via API. - # Corresponds to the JSON property `apiUpdateTime` - # @return [String] - attr_accessor :api_update_time - - # @OutputOnly - # The detected languages for this creative. The order is arbitrary. The codes - # are 2 or 5 characters and are documented at - # https://developers.google.com/adwords/api/docs/appendix/languagecodes. - # Corresponds to the JSON property `detectedLanguages` - # @return [Array] - attr_accessor :detected_languages - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @creative_id = args[:creative_id] if args.key?(:creative_id) - @account_id = args[:account_id] if args.key?(:account_id) - @native = args[:native] if args.key?(:native) - @video = args[:video] if args.key?(:video) - @serving_restrictions = args[:serving_restrictions] if args.key?(:serving_restrictions) - @agency_id = args[:agency_id] if args.key?(:agency_id) - @click_through_urls = args[:click_through_urls] if args.key?(:click_through_urls) - @ad_choices_destination_url = args[:ad_choices_destination_url] if args.key?(:ad_choices_destination_url) - @detected_sensitive_categories = args[:detected_sensitive_categories] if args.key?(:detected_sensitive_categories) - @restricted_categories = args[:restricted_categories] if args.key?(:restricted_categories) - @corrections = args[:corrections] if args.key?(:corrections) - @version = args[:version] if args.key?(:version) - @vendor_ids = args[:vendor_ids] if args.key?(:vendor_ids) - @impression_tracking_urls = args[:impression_tracking_urls] if args.key?(:impression_tracking_urls) - @html = args[:html] if args.key?(:html) - @deals_status = args[:deals_status] if args.key?(:deals_status) - @detected_product_categories = args[:detected_product_categories] if args.key?(:detected_product_categories) - @open_auction_status = args[:open_auction_status] if args.key?(:open_auction_status) - @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name) - @detected_advertiser_ids = args[:detected_advertiser_ids] if args.key?(:detected_advertiser_ids) - @detected_domains = args[:detected_domains] if args.key?(:detected_domains) - @filtering_stats = args[:filtering_stats] if args.key?(:filtering_stats) - @attributes = args[:attributes] if args.key?(:attributes) - @api_update_time = args[:api_update_time] if args.key?(:api_update_time) - @detected_languages = args[:detected_languages] if args.key?(:detected_languages) - end - end - # @OutputOnly Filtering reasons for this creative during a period of a single # day (from midnight to midnight Pacific). class FilteringStats @@ -1310,14 +1040,24 @@ module Google end end - # A request for removing the association between a deal and a creative. - class RemoveDealAssociationRequest + # HTML content for a creative. + class HtmlContent include Google::Apis::Core::Hashable - # The association between a creative and a deal. - # Corresponds to the JSON property `association` - # @return [Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation] - attr_accessor :association + # The height of the HTML snippet in pixels. + # Corresponds to the JSON property `height` + # @return [Fixnum] + attr_accessor :height + + # The HTML snippet that displays the ad when inserted in the web page. + # Corresponds to the JSON property `snippet` + # @return [String] + attr_accessor :snippet + + # The width of the HTML snippet in pixels. + # Corresponds to the JSON property `width` + # @return [Fixnum] + attr_accessor :width def initialize(**args) update!(**args) @@ -1325,7 +1065,283 @@ module Google # Update properties of this object def update!(**args) - @association = args[:association] if args.key?(:association) + @height = args[:height] if args.key?(:height) + @snippet = args[:snippet] if args.key?(:snippet) + @width = args[:width] if args.key?(:width) + end + end + + # An image resource. You may provide a larger image than was requested, + # so long as the aspect ratio is preserved. + class Image + include Google::Apis::Core::Hashable + + # Image height in pixels. + # Corresponds to the JSON property `height` + # @return [Fixnum] + attr_accessor :height + + # The URL of the image. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + # Image width in pixels. + # Corresponds to the JSON property `width` + # @return [Fixnum] + attr_accessor :width + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @height = args[:height] if args.key?(:height) + @url = args[:url] if args.key?(:url) + @width = args[:width] if args.key?(:width) + end + end + + # The set of metrics that are measured in numbers of impressions, representing + # how many impressions with the specified dimension values were considered + # eligible at each stage of the bidding funnel. + class ImpressionMetricsRow + include Google::Apis::Core::Hashable + + # A metric value, with an expected value and a variance; represents a count + # that may be either exact or estimated (i.e. when sampled). + # Corresponds to the JSON property `availableImpressions` + # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] + attr_accessor :available_impressions + + # A metric value, with an expected value and a variance; represents a count + # that may be either exact or estimated (i.e. when sampled). + # Corresponds to the JSON property `bidRequests` + # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] + attr_accessor :bid_requests + + # A metric value, with an expected value and a variance; represents a count + # that may be either exact or estimated (i.e. when sampled). + # Corresponds to the JSON property `inventoryMatches` + # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] + attr_accessor :inventory_matches + + # A metric value, with an expected value and a variance; represents a count + # that may be either exact or estimated (i.e. when sampled). + # Corresponds to the JSON property `responsesWithBids` + # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] + attr_accessor :responses_with_bids + + # A response may include multiple rows, breaking down along various dimensions. + # Encapsulates the values of all dimensions for a given row. + # Corresponds to the JSON property `rowDimensions` + # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions] + attr_accessor :row_dimensions + + # A metric value, with an expected value and a variance; represents a count + # that may be either exact or estimated (i.e. when sampled). + # Corresponds to the JSON property `successfulResponses` + # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] + attr_accessor :successful_responses + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @available_impressions = args[:available_impressions] if args.key?(:available_impressions) + @bid_requests = args[:bid_requests] if args.key?(:bid_requests) + @inventory_matches = args[:inventory_matches] if args.key?(:inventory_matches) + @responses_with_bids = args[:responses_with_bids] if args.key?(:responses_with_bids) + @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions) + @successful_responses = args[:successful_responses] if args.key?(:successful_responses) + end + end + + # Response message for listing the metrics that are measured in number of bids. + class ListBidMetricsResponse + include Google::Apis::Core::Hashable + + # List of rows, each containing a set of bid metrics. + # Corresponds to the JSON property `bidMetricsRows` + # @return [Array] + attr_accessor :bid_metrics_rows + + # A token to retrieve the next page of results. + # Pass this value in the + # ListBidMetricsRequest.pageToken + # field in the subsequent call to the + # accounts.filterSets.bidMetrics.list + # method to retrieve the next page of results. + # 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) + @bid_metrics_rows = args[:bid_metrics_rows] if args.key?(:bid_metrics_rows) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Response message for listing all reasons that bid responses resulted in an + # error. + class ListBidResponseErrorsResponse + include Google::Apis::Core::Hashable + + # List of rows, with counts of bid responses aggregated by callout status. + # Corresponds to the JSON property `calloutStatusRows` + # @return [Array] + attr_accessor :callout_status_rows + + # A token to retrieve the next page of results. + # Pass this value in the + # ListBidResponseErrorsRequest.pageToken + # field in the subsequent call to the + # accounts.filterSets.bidResponseErrors.list + # method to retrieve the next page of results. + # 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) + @callout_status_rows = args[:callout_status_rows] if args.key?(:callout_status_rows) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Response message for listing all reasons that bid responses were considered + # to have no applicable bids. + class ListBidResponsesWithoutBidsResponse + include Google::Apis::Core::Hashable + + # List of rows, with counts of bid responses without bids aggregated by + # status. + # Corresponds to the JSON property `bidResponseWithoutBidsStatusRows` + # @return [Array] + attr_accessor :bid_response_without_bids_status_rows + + # A token to retrieve the next page of results. + # Pass this value in the + # ListBidResponsesWithoutBidsRequest.pageToken + # field in the subsequent call to the + # accounts.filterSets.bidResponsesWithoutBids.list + # method to retrieve the next page of results. + # 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) + @bid_response_without_bids_status_rows = args[:bid_response_without_bids_status_rows] if args.key?(:bid_response_without_bids_status_rows) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # + class ListClientUserInvitationsResponse + include Google::Apis::Core::Hashable + + # The returned list of client users. + # Corresponds to the JSON property `invitations` + # @return [Array] + attr_accessor :invitations + + # A token to retrieve the next page of results. + # Pass this value in the + # ListClientUserInvitationsRequest.pageToken + # field in the subsequent call to the + # clients.invitations.list + # method to retrieve the next + # page of results. + # 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) + @invitations = args[:invitations] if args.key?(:invitations) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # + class ListClientUsersResponse + include Google::Apis::Core::Hashable + + # A token to retrieve the next page of results. + # Pass this value in the + # ListClientUsersRequest.pageToken + # field in the subsequent call to the + # clients.invitations.list + # method to retrieve the next + # page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The returned list of client users. + # Corresponds to the JSON property `users` + # @return [Array] + attr_accessor :users + + 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) + @users = args[:users] if args.key?(:users) + end + end + + # + class ListClientsResponse + include Google::Apis::Core::Hashable + + # The returned list of clients. + # Corresponds to the JSON property `clients` + # @return [Array] + attr_accessor :clients + + # A token to retrieve the next page of results. + # Pass this value in the + # ListClientsRequest.pageToken + # field in the subsequent call to the + # accounts.clients.list method + # to retrieve the next page of results. + # 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) + @clients = args[:clients] if args.key?(:clients) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end end @@ -1334,6 +1350,12 @@ module Google class ListCreativeStatusBreakdownByCreativeResponse include Google::Apis::Core::Hashable + # List of rows, with counts of bids with a given creative status aggregated + # by creative. + # Corresponds to the JSON property `filteredBidCreativeRows` + # @return [Array] + attr_accessor :filtered_bid_creative_rows + # A token to retrieve the next page of results. # Pass this value in the # ListCreativeStatusBreakdownByCreativeRequest.pageToken @@ -1344,95 +1366,42 @@ module Google # @return [String] attr_accessor :next_page_token - # List of rows, with counts of bids with a given creative status aggregated - # by creative. - # Corresponds to the JSON property `filteredBidCreativeRows` - # @return [Array] - attr_accessor :filtered_bid_creative_rows - 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) @filtered_bid_creative_rows = args[:filtered_bid_creative_rows] if args.key?(:filtered_bid_creative_rows) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end end - # A client resource represents a client buyer—an agency, - # a brand, or an advertiser customer of the sponsor buyer. - # Users associated with the client buyer have restricted access to - # the Ad Exchange Marketplace and certain other sections - # of the Ad Exchange Buyer UI based on the role - # granted to the client buyer. - # All fields are required unless otherwise specified. - class Client + # Response message for listing all details associated with a given filtered bid + # reason. + class ListCreativeStatusBreakdownByDetailResponse include Google::Apis::Core::Hashable - # Whether the client buyer will be visible to sellers. - # Corresponds to the JSON property `visibleToSeller` - # @return [Boolean] - attr_accessor :visible_to_seller - alias_method :visible_to_seller?, :visible_to_seller - - # Numerical identifier of the client entity. - # The entity can be an advertiser, a brand, or an agency. - # This identifier is unique among all the entities with the same type. - # A list of all known advertisers with their identifiers is available in the - # [advertisers.txt](https://storage.googleapis.com/adx-rtb-dictionaries/ - # advertisers.txt) - # file. - # A list of all known brands with their identifiers is available in the - # [brands.txt](https://storage.googleapis.com/adx-rtb-dictionaries/brands.txt) - # file. - # A list of all known agencies with their identifiers is available in the - # [agencies.txt](https://storage.googleapis.com/adx-rtb-dictionaries/agencies. - # txt) - # file. - # Corresponds to the JSON property `entityId` - # @return [Fixnum] - attr_accessor :entity_id - - # The globally-unique numerical ID of the client. - # The value of this field is ignored in create and update operations. - # Corresponds to the JSON property `clientAccountId` - # @return [Fixnum] - attr_accessor :client_account_id - - # The name of the entity. This field is automatically fetched based on - # the type and ID. - # The value of this field is ignored in create and update operations. - # Corresponds to the JSON property `entityName` + # The type of detail that the detail IDs represent. + # Corresponds to the JSON property `detailType` # @return [String] - attr_accessor :entity_name + attr_accessor :detail_type - # The status of the client buyer. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status + # List of rows, with counts of bids with a given creative status aggregated + # by detail. + # Corresponds to the JSON property `filteredBidDetailRows` + # @return [Array] + attr_accessor :filtered_bid_detail_rows - # The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`. - # Corresponds to the JSON property `entityType` + # A token to retrieve the next page of results. + # Pass this value in the + # ListCreativeStatusBreakdownByDetailRequest.pageToken + # field in the subsequent call to the + # accounts.filterSets.filteredBids.details.list + # method to retrieve the next page of results. + # Corresponds to the JSON property `nextPageToken` # @return [String] - attr_accessor :entity_type - - # Name used to represent this client to publishers. - # You may have multiple clients that map to the same entity, - # but for each client the combination of `clientName` and entity - # must be unique. - # You can specify this field as empty. - # Corresponds to the JSON property `clientName` - # @return [String] - attr_accessor :client_name - - # The role which is assigned to the client buyer. Each role implies a set of - # permissions granted to the client. Must be one of `CLIENT_DEAL_VIEWER`, - # `CLIENT_DEAL_NEGOTIATOR` or `CLIENT_DEAL_APPROVER`. - # Corresponds to the JSON property `role` - # @return [String] - attr_accessor :role + attr_accessor :next_page_token def initialize(**args) update!(**args) @@ -1440,35 +1409,29 @@ module Google # Update properties of this object def update!(**args) - @visible_to_seller = args[:visible_to_seller] if args.key?(:visible_to_seller) - @entity_id = args[:entity_id] if args.key?(:entity_id) - @client_account_id = args[:client_account_id] if args.key?(:client_account_id) - @entity_name = args[:entity_name] if args.key?(:entity_name) - @status = args[:status] if args.key?(:status) - @entity_type = args[:entity_type] if args.key?(:entity_type) - @client_name = args[:client_name] if args.key?(:client_name) - @role = args[:role] if args.key?(:role) + @detail_type = args[:detail_type] if args.key?(:detail_type) + @filtered_bid_detail_rows = args[:filtered_bid_detail_rows] if args.key?(:filtered_bid_detail_rows) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end end - # @OutputOnly Shows any corrections that were applied to this creative. - class Correction + # A response for listing creatives. + class ListCreativesResponse include Google::Apis::Core::Hashable - # The type of correction that was applied to the creative. - # Corresponds to the JSON property `type` + # The list of creatives. + # Corresponds to the JSON property `creatives` + # @return [Array] + attr_accessor :creatives + + # A token to retrieve the next page of results. + # Pass this value in the + # ListCreativesRequest.page_token + # field in the subsequent call to `ListCreatives` method to retrieve the next + # page of results. + # Corresponds to the JSON property `nextPageToken` # @return [String] - attr_accessor :type - - # The contexts for the correction. - # Corresponds to the JSON property `contexts` - # @return [Array] - attr_accessor :contexts - - # Additional details about what was corrected. - # Corresponds to the JSON property `details` - # @return [Array] - attr_accessor :details + attr_accessor :next_page_token def initialize(**args) update!(**args) @@ -1476,128 +1439,8 @@ module Google # Update properties of this object def update!(**args) - @type = args[:type] if args.key?(:type) - @contexts = args[:contexts] if args.key?(:contexts) - @details = args[:details] if args.key?(:details) - end - end - - # A set of filters that is applied to a request for data. - # Within a filter set, an AND operation is performed across the filters - # represented by each field. An OR operation is performed across the filters - # represented by the multiple values of a repeated field. E.g. - # "format=VIDEO AND deal_id=12 AND (seller_network_id=34 OR - # seller_network_id=56)" - class FilterSet - include Google::Apis::Core::Hashable - - # The list of IDs of the seller (publisher) networks on which to filter; - # may be empty. The filters represented by multiple seller network IDs are - # ORed together (i.e. if non-empty, results must match any one of the - # publisher networks). - # See [seller-network-ids](https://developers.google.com/ad-exchange/rtb/ - # downloads/seller-network-ids) - # file for the set of existing seller network IDs. - # Corresponds to the JSON property `sellerNetworkIds` - # @return [Array] - attr_accessor :seller_network_ids - - # The account ID of the buyer who owns this filter set. - # The value of this field is ignored in create operations. - # Corresponds to the JSON property `ownerAccountId` - # @return [Fixnum] - attr_accessor :owner_account_id - - # An absolute date range, specified by its start date and end date. - # The supported range of dates begins 30 days before today and ends today. - # Validity checked upon filter set creation. If a filter set with an absolute - # date range is run at a later date more than 30 days after start_date, it will - # fail. - # Corresponds to the JSON property `absoluteDateRange` - # @return [Google::Apis::Adexchangebuyer2V2beta1::AbsoluteDateRange] - attr_accessor :absolute_date_range - - # The ID of the buyer account on which to filter; optional. - # Corresponds to the JSON property `buyerAccountId` - # @return [Fixnum] - attr_accessor :buyer_account_id - - # The environment on which to filter; optional. - # Corresponds to the JSON property `environment` - # @return [String] - attr_accessor :environment - - # The ID of the deal on which to filter; optional. - # Corresponds to the JSON property `dealId` - # @return [Fixnum] - attr_accessor :deal_id - - # The format on which to filter; optional. - # Corresponds to the JSON property `format` - # @return [String] - attr_accessor :format - - # The granularity of time intervals if a time series breakdown is desired; - # optional. - # Corresponds to the JSON property `timeSeriesGranularity` - # @return [String] - attr_accessor :time_series_granularity - - # The ID of the filter set; unique within the account of the filter set - # owner. - # The value of this field is ignored in create operations. - # Corresponds to the JSON property `filterSetId` - # @return [Fixnum] - attr_accessor :filter_set_id - - # An open-ended realtime time range specified by the start timestamp. - # For filter sets that specify a realtime time range RTB metrics continue to - # be aggregated throughout the lifetime of the filter set. - # Corresponds to the JSON property `realtimeTimeRange` - # @return [Google::Apis::Adexchangebuyer2V2beta1::RealtimeTimeRange] - attr_accessor :realtime_time_range - - # The ID of the creative on which to filter; optional. - # Corresponds to the JSON property `creativeId` - # @return [String] - attr_accessor :creative_id - - # The list of platforms on which to filter; may be empty. The filters - # represented by multiple platforms are ORed together (i.e. if non-empty, - # results must match any one of the platforms). - # Corresponds to the JSON property `platforms` - # @return [Array] - attr_accessor :platforms - - # A relative date range, specified by an offset and a duration. - # The supported range of dates begins 30 days before today and ends today. - # I.e. the limits for these values are: - # offset_days >= 0 - # duration_days >= 1 - # offset_days + duration_days <= 30 - # Corresponds to the JSON property `relativeDateRange` - # @return [Google::Apis::Adexchangebuyer2V2beta1::RelativeDateRange] - attr_accessor :relative_date_range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @seller_network_ids = args[:seller_network_ids] if args.key?(:seller_network_ids) - @owner_account_id = args[:owner_account_id] if args.key?(:owner_account_id) - @absolute_date_range = args[:absolute_date_range] if args.key?(:absolute_date_range) - @buyer_account_id = args[:buyer_account_id] if args.key?(:buyer_account_id) - @environment = args[:environment] if args.key?(:environment) - @deal_id = args[:deal_id] if args.key?(:deal_id) - @format = args[:format] if args.key?(:format) - @time_series_granularity = args[:time_series_granularity] if args.key?(:time_series_granularity) - @filter_set_id = args[:filter_set_id] if args.key?(:filter_set_id) - @realtime_time_range = args[:realtime_time_range] if args.key?(:realtime_time_range) - @creative_id = args[:creative_id] if args.key?(:creative_id) - @platforms = args[:platforms] if args.key?(:platforms) - @relative_date_range = args[:relative_date_range] if args.key?(:relative_date_range) + @creatives = args[:creatives] if args.key?(:creatives) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end end @@ -1605,6 +1448,11 @@ module Google class ListDealAssociationsResponse include Google::Apis::Core::Hashable + # The list of associations. + # Corresponds to the JSON property `associations` + # @return [Array] + attr_accessor :associations + # A token to retrieve the next page of results. # Pass this value in the # ListDealAssociationsRequest.page_token @@ -1614,290 +1462,44 @@ module Google # @return [String] attr_accessor :next_page_token - # The list of associations. - # Corresponds to the JSON property `associations` - # @return [Array] - attr_accessor :associations - 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) @associations = args[:associations] if args.key?(:associations) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end end - # The number of impressions with the specified dimension values where the - # corresponding bid request or bid response was not successful, as described by - # the specified callout status. - class CalloutStatusRow + # Response message for listing filter sets. + class ListFilterSetsResponse include Google::Apis::Core::Hashable - # A metric value, with an expected value and a variance; represents a count - # that may be either exact or estimated (i.e. when sampled). - # Corresponds to the JSON property `impressionCount` - # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] - attr_accessor :impression_count - - # A response may include multiple rows, breaking down along various dimensions. - # Encapsulates the values of all dimensions for a given row. - # Corresponds to the JSON property `rowDimensions` - # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions] - attr_accessor :row_dimensions - - # The ID of the callout status. - # See [callout-status-codes](https://developers.google.com/ad-exchange/rtb/ - # downloads/callout-status-codes). - # Corresponds to the JSON property `calloutStatusId` - # @return [Fixnum] - attr_accessor :callout_status_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @impression_count = args[:impression_count] if args.key?(:impression_count) - @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions) - @callout_status_id = args[:callout_status_id] if args.key?(:callout_status_id) - end - end - - # @OutputOnly The reason and details for a disapproval. - class Disapproval - include Google::Apis::Core::Hashable - - # Additional details about the reason for disapproval. - # Corresponds to the JSON property `details` - # @return [Array] - attr_accessor :details - - # The categorized reason for disapproval. - # Corresponds to the JSON property `reason` - # @return [String] - attr_accessor :reason - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @details = args[:details] if args.key?(:details) - @reason = args[:reason] if args.key?(:reason) - end - end - - # A request for stopping notifications for changes to creative Status. - class StopWatchingCreativeRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # @OutputOnly A representation of the status of an ad in a - # specific context. A context here relates to where something ultimately serves - # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, - # or the type of auction). - class ServingRestriction - include Google::Apis::Core::Hashable - - # Any disapprovals bound to this restriction. - # Only present if status=DISAPPROVED. - # Can be used to filter the response of the - # creatives.list - # method. - # Corresponds to the JSON property `disapprovalReasons` - # @return [Array] - attr_accessor :disapproval_reasons - - # The contexts for the restriction. - # Corresponds to the JSON property `contexts` - # @return [Array] - attr_accessor :contexts - - # The status of the creative in this context (for example, it has been - # explicitly disapproved or is pending review). - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @disapproval_reasons = args[:disapproval_reasons] if args.key?(:disapproval_reasons) - @contexts = args[:contexts] if args.key?(:contexts) - @status = args[:status] if args.key?(:status) - end - end - - # Represents a whole calendar date, e.g. 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. The day may be 0 to - # represent a year and month where the day is not significant, e.g. credit card - # expiration date. The year may be 0 to represent a month and day independent - # of year, e.g. anniversary date. Related types are google.type.TimeOfDay - # and `google.protobuf.Timestamp`. - class Date - include Google::Apis::Core::Hashable - - # 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 - - # Month of year. Must be from 1 to 12. - # Corresponds to the JSON property `month` - # @return [Fixnum] - attr_accessor :month - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @day = args[:day] if args.key?(:day) - @year = args[:year] if args.key?(:year) - @month = args[:month] if args.key?(:month) - end - end - - # A response may include multiple rows, breaking down along various dimensions. - # Encapsulates the values of all dimensions for a given row. - class RowDimensions - include Google::Apis::Core::Hashable - - # An interval of time, with an absolute start and end. - # This is included in the response, for several reasons: - # 1) The request may have specified start or end times relative to the time the - # request was sent; the response indicates the corresponding absolute time - # interval. - # 2) The request may have specified an end time past the latest time for which - # data was available (e.g. if requesting data for the today); the response - # indicates the latest time for which data was actually returned. - # 3) The response data for a single request may be broken down into multiple - # time intervals, if a time series was requested. - # Corresponds to the JSON property `timeInterval` - # @return [Google::Apis::Adexchangebuyer2V2beta1::TimeInterval] - attr_accessor :time_interval - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @time_interval = args[:time_interval] if args.key?(:time_interval) - 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 - - # @OutputOnly The app type the restriction applies to for mobile device. - class AppContext - include Google::Apis::Core::Hashable - - # The app types this restriction applies to. - # Corresponds to the JSON property `appTypes` - # @return [Array] - attr_accessor :app_types - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @app_types = args[:app_types] if args.key?(:app_types) - end - end - - # Response message for listing all reasons that bids were filtered from the - # auction. - class ListFilteredBidsResponse - include Google::Apis::Core::Hashable + # The filter sets belonging to the buyer. + # Corresponds to the JSON property `filterSets` + # @return [Array] + attr_accessor :filter_sets # A token to retrieve the next page of results. # Pass this value in the - # ListFilteredBidsRequest.pageToken + # ListFilterSetsRequest.pageToken # field in the subsequent call to the - # accounts.filterSets.filteredBids.list + # accounts.filterSets.list # method to retrieve the next page of results. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token - # List of rows, with counts of filtered bids aggregated by filtering reason - # (i.e. creative status). - # Corresponds to the JSON property `creativeStatusRows` - # @return [Array] - attr_accessor :creative_status_rows - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @filter_sets = args[:filter_sets] if args.key?(:filter_sets) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @creative_status_rows = args[:creative_status_rows] if args.key?(:creative_status_rows) - end - end - - # @OutputOnly A security context. - class SecurityContext - include Google::Apis::Core::Hashable - - # The security types in this context. - # Corresponds to the JSON property `securities` - # @return [Array] - attr_accessor :securities - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @securities = args[:securities] if args.key?(:securities) end end @@ -1933,133 +1535,57 @@ module Google end end - # A response for listing creatives. - class ListCreativesResponse + # Response message for listing all reasons that bids were filtered from the + # auction. + class ListFilteredBidsResponse include Google::Apis::Core::Hashable - # The list of creatives. - # Corresponds to the JSON property `creatives` - # @return [Array] - attr_accessor :creatives + # List of rows, with counts of filtered bids aggregated by filtering reason + # (i.e. creative status). + # Corresponds to the JSON property `creativeStatusRows` + # @return [Array] + attr_accessor :creative_status_rows # A token to retrieve the next page of results. # Pass this value in the - # ListCreativesRequest.page_token - # field in the subsequent call to `ListCreatives` method to retrieve the next - # page of results. - # 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) - @creatives = args[:creatives] if args.key?(:creatives) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # HTML content for a creative. - class HtmlContent - include Google::Apis::Core::Hashable - - # The height of the HTML snippet in pixels. - # Corresponds to the JSON property `height` - # @return [Fixnum] - attr_accessor :height - - # The width of the HTML snippet in pixels. - # Corresponds to the JSON property `width` - # @return [Fixnum] - attr_accessor :width - - # The HTML snippet that displays the ad when inserted in the web page. - # Corresponds to the JSON property `snippet` - # @return [String] - attr_accessor :snippet - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @height = args[:height] if args.key?(:height) - @width = args[:width] if args.key?(:width) - @snippet = args[:snippet] if args.key?(:snippet) - end - end - - # Response message for listing the metrics that are measured in number of bids. - class ListBidMetricsResponse - include Google::Apis::Core::Hashable - - # A token to retrieve the next page of results. - # Pass this value in the - # ListBidMetricsRequest.pageToken + # ListFilteredBidsRequest.pageToken # field in the subsequent call to the - # accounts.filterSets.bidMetrics.list + # accounts.filterSets.filteredBids.list # method to retrieve the next page of results. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token - # List of rows, each containing a set of bid metrics. - # Corresponds to the JSON property `bidMetricsRows` - # @return [Array] - attr_accessor :bid_metrics_rows - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @creative_status_rows = args[:creative_status_rows] if args.key?(:creative_status_rows) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @bid_metrics_rows = args[:bid_metrics_rows] if args.key?(:bid_metrics_rows) end end - # A specific filtering status and how many times it occurred. - class Reason + # Response message for listing the metrics that are measured in number of + # impressions. + class ListImpressionMetricsResponse include Google::Apis::Core::Hashable - # The filtering status code. Please refer to the - # [creative-status-codes.txt](https://storage.googleapis.com/adx-rtb- - # dictionaries/creative-status-codes.txt) - # file for different statuses. - # Corresponds to the JSON property `status` - # @return [Fixnum] - attr_accessor :status + # List of rows, each containing a set of impression metrics. + # Corresponds to the JSON property `impressionMetricsRows` + # @return [Array] + attr_accessor :impression_metrics_rows - # The number of times the creative was filtered for the status. The - # count is aggregated across all publishers on the exchange. - # Corresponds to the JSON property `count` - # @return [Fixnum] - attr_accessor :count - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @status = args[:status] if args.key?(:status) - @count = args[:count] if args.key?(:count) - end - end - - # Video content for a creative. - class VideoContent - include Google::Apis::Core::Hashable - - # The URL to fetch a video ad. - # Corresponds to the JSON property `videoUrl` + # A token to retrieve the next page of results. + # Pass this value in the + # ListImpressionMetricsRequest.pageToken + # field in the subsequent call to the + # accounts.filterSets.impressionMetrics.list + # method to retrieve the next page of results. + # Corresponds to the JSON property `nextPageToken` # @return [String] - attr_accessor :video_url + attr_accessor :next_page_token def initialize(**args) update!(**args) @@ -2067,7 +1593,8 @@ module Google # Update properties of this object def update!(**args) - @video_url = args[:video_url] if args.key?(:video_url) + @impression_metrics_rows = args[:impression_metrics_rows] if args.key?(:impression_metrics_rows) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end end @@ -2133,47 +1660,18 @@ module Google end end - # The set of metrics that are measured in numbers of impressions, representing - # how many impressions with the specified dimension values were considered - # eligible at each stage of the bidding funnel. - class ImpressionMetricsRow + # @OutputOnly The Geo criteria the restriction applies to. + class LocationContext include Google::Apis::Core::Hashable - # A response may include multiple rows, breaking down along various dimensions. - # Encapsulates the values of all dimensions for a given row. - # Corresponds to the JSON property `rowDimensions` - # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions] - attr_accessor :row_dimensions - - # A metric value, with an expected value and a variance; represents a count - # that may be either exact or estimated (i.e. when sampled). - # Corresponds to the JSON property `availableImpressions` - # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] - attr_accessor :available_impressions - - # A metric value, with an expected value and a variance; represents a count - # that may be either exact or estimated (i.e. when sampled). - # Corresponds to the JSON property `inventoryMatches` - # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] - attr_accessor :inventory_matches - - # A metric value, with an expected value and a variance; represents a count - # that may be either exact or estimated (i.e. when sampled). - # Corresponds to the JSON property `bidRequests` - # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] - attr_accessor :bid_requests - - # A metric value, with an expected value and a variance; represents a count - # that may be either exact or estimated (i.e. when sampled). - # Corresponds to the JSON property `responsesWithBids` - # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] - attr_accessor :responses_with_bids - - # A metric value, with an expected value and a variance; represents a count - # that may be either exact or estimated (i.e. when sampled). - # Corresponds to the JSON property `successfulResponses` - # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] - attr_accessor :successful_responses + # IDs representing the geo location for this context. + # Please refer to the + # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table. + # csv) + # file for different geo criteria IDs. + # Corresponds to the JSON property `geoCriteriaIds` + # @return [Array] + attr_accessor :geo_criteria_ids def initialize(**args) update!(**args) @@ -2181,12 +1679,514 @@ module Google # Update properties of this object def update!(**args) + @geo_criteria_ids = args[:geo_criteria_ids] if args.key?(:geo_criteria_ids) + end + end + + # A metric value, with an expected value and a variance; represents a count + # that may be either exact or estimated (i.e. when sampled). + class MetricValue + include Google::Apis::Core::Hashable + + # The expected value of the metric. + # Corresponds to the JSON property `value` + # @return [Fixnum] + attr_accessor :value + + # The variance (i.e. square of the standard deviation) of the metric value. + # If value is exact, variance is 0. + # Can be used to calculate margin of error as a percentage of value, using + # the following formula, where Z is the standard constant that depends on the + # desired size of the confidence interval (e.g. for 90% confidence interval, + # use Z = 1.645): + # marginOfError = 100 * Z * sqrt(variance) / value + # Corresponds to the JSON property `variance` + # @return [Fixnum] + attr_accessor :variance + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @variance = args[:variance] if args.key?(:variance) + end + end + + # Native content for a creative. + class NativeContent + include Google::Apis::Core::Hashable + + # The name of the advertiser or sponsor, to be displayed in the ad creative. + # Corresponds to the JSON property `advertiserName` + # @return [String] + attr_accessor :advertiser_name + + # An image resource. You may provide a larger image than was requested, + # so long as the aspect ratio is preserved. + # Corresponds to the JSON property `appIcon` + # @return [Google::Apis::Adexchangebuyer2V2beta1::Image] + attr_accessor :app_icon + + # A long description of the ad. + # Corresponds to the JSON property `body` + # @return [String] + attr_accessor :body + + # A label for the button that the user is supposed to click. + # Corresponds to the JSON property `callToAction` + # @return [String] + attr_accessor :call_to_action + + # The URL that the browser/SDK will load when the user clicks the ad. + # Corresponds to the JSON property `clickLinkUrl` + # @return [String] + attr_accessor :click_link_url + + # The URL to use for click tracking. + # Corresponds to the JSON property `clickTrackingUrl` + # @return [String] + attr_accessor :click_tracking_url + + # A short title for the ad. + # Corresponds to the JSON property `headline` + # @return [String] + attr_accessor :headline + + # An image resource. You may provide a larger image than was requested, + # so long as the aspect ratio is preserved. + # Corresponds to the JSON property `image` + # @return [Google::Apis::Adexchangebuyer2V2beta1::Image] + attr_accessor :image + + # An image resource. You may provide a larger image than was requested, + # so long as the aspect ratio is preserved. + # Corresponds to the JSON property `logo` + # @return [Google::Apis::Adexchangebuyer2V2beta1::Image] + attr_accessor :logo + + # The price of the promoted app including currency info. + # Corresponds to the JSON property `priceDisplayText` + # @return [String] + attr_accessor :price_display_text + + # The app rating in the app store. Must be in the range [0-5]. + # Corresponds to the JSON property `starRating` + # @return [Float] + attr_accessor :star_rating + + # The URL to the app store to purchase/download the promoted app. + # Corresponds to the JSON property `storeUrl` + # @return [String] + attr_accessor :store_url + + # The URL to fetch a native video ad. + # Corresponds to the JSON property `videoUrl` + # @return [String] + attr_accessor :video_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name) + @app_icon = args[:app_icon] if args.key?(:app_icon) + @body = args[:body] if args.key?(:body) + @call_to_action = args[:call_to_action] if args.key?(:call_to_action) + @click_link_url = args[:click_link_url] if args.key?(:click_link_url) + @click_tracking_url = args[:click_tracking_url] if args.key?(:click_tracking_url) + @headline = args[:headline] if args.key?(:headline) + @image = args[:image] if args.key?(:image) + @logo = args[:logo] if args.key?(:logo) + @price_display_text = args[:price_display_text] if args.key?(:price_display_text) + @star_rating = args[:star_rating] if args.key?(:star_rating) + @store_url = args[:store_url] if args.key?(:store_url) + @video_url = args[:video_url] if args.key?(:video_url) + end + end + + # The number of winning bids with the specified dimension values for which the + # buyer was not billed, as described by the specified status. + class NonBillableWinningBidStatusRow + include Google::Apis::Core::Hashable + + # A metric value, with an expected value and a variance; represents a count + # that may be either exact or estimated (i.e. when sampled). + # Corresponds to the JSON property `bidCount` + # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue] + attr_accessor :bid_count + + # A response may include multiple rows, breaking down along various dimensions. + # Encapsulates the values of all dimensions for a given row. + # Corresponds to the JSON property `rowDimensions` + # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions] + attr_accessor :row_dimensions + + # The status specifying why the winning bids were not billed. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bid_count = args[:bid_count] if args.key?(:bid_count) @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions) - @available_impressions = args[:available_impressions] if args.key?(:available_impressions) - @inventory_matches = args[:inventory_matches] if args.key?(:inventory_matches) - @bid_requests = args[:bid_requests] if args.key?(:bid_requests) - @responses_with_bids = args[:responses_with_bids] if args.key?(:responses_with_bids) - @successful_responses = args[:successful_responses] if args.key?(:successful_responses) + @status = args[:status] if args.key?(:status) + end + end + + # @OutputOnly The type of platform the restriction applies to. + class PlatformContext + include Google::Apis::Core::Hashable + + # The platforms this restriction applies to. + # Corresponds to the JSON property `platforms` + # @return [Array] + attr_accessor :platforms + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @platforms = args[:platforms] if args.key?(:platforms) + end + end + + # An open-ended realtime time range specified by the start timestamp. + # For filter sets that specify a realtime time range RTB metrics continue to + # be aggregated throughout the lifetime of the filter set. + class RealtimeTimeRange + include Google::Apis::Core::Hashable + + # The start timestamp of the real-time RTB metrics aggregation. + # Corresponds to the JSON property `startTimestamp` + # @return [String] + attr_accessor :start_timestamp + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @start_timestamp = args[:start_timestamp] if args.key?(:start_timestamp) + end + end + + # A specific filtering status and how many times it occurred. + class Reason + include Google::Apis::Core::Hashable + + # The number of times the creative was filtered for the status. The + # count is aggregated across all publishers on the exchange. + # Corresponds to the JSON property `count` + # @return [Fixnum] + attr_accessor :count + + # The filtering status code. Please refer to the + # [creative-status-codes.txt](https://storage.googleapis.com/adx-rtb- + # dictionaries/creative-status-codes.txt) + # file for different statuses. + # Corresponds to the JSON property `status` + # @return [Fixnum] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @count = args[:count] if args.key?(:count) + @status = args[:status] if args.key?(:status) + end + end + + # A relative date range, specified by an offset and a duration. + # The supported range of dates begins 30 days before today and ends today. + # I.e. the limits for these values are: + # offset_days >= 0 + # duration_days >= 1 + # offset_days + duration_days <= 30 + class RelativeDateRange + include Google::Apis::Core::Hashable + + # The number of days in the requested date range. E.g. for a range spanning + # today, 1. For a range spanning the last 7 days, 7. + # Corresponds to the JSON property `durationDays` + # @return [Fixnum] + attr_accessor :duration_days + + # The end date of the filter set, specified as the number of days before + # today. E.g. for a range where the last date is today, 0. + # Corresponds to the JSON property `offsetDays` + # @return [Fixnum] + attr_accessor :offset_days + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @duration_days = args[:duration_days] if args.key?(:duration_days) + @offset_days = args[:offset_days] if args.key?(:offset_days) + end + end + + # A request for removing the association between a deal and a creative. + class RemoveDealAssociationRequest + include Google::Apis::Core::Hashable + + # The association between a creative and a deal. + # Corresponds to the JSON property `association` + # @return [Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation] + attr_accessor :association + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @association = args[:association] if args.key?(:association) + end + end + + # A response may include multiple rows, breaking down along various dimensions. + # Encapsulates the values of all dimensions for a given row. + class RowDimensions + include Google::Apis::Core::Hashable + + # An interval of time, with an absolute start and end. + # This is included in the response, for several reasons: + # 1) The request may have specified start or end times relative to the time the + # request was sent; the response indicates the corresponding absolute time + # interval. + # 2) The request may have specified an end time past the latest time for which + # data was available (e.g. if requesting data for the today); the response + # indicates the latest time for which data was actually returned. + # 3) The response data for a single request may be broken down into multiple + # time intervals, if a time series was requested. + # Corresponds to the JSON property `timeInterval` + # @return [Google::Apis::Adexchangebuyer2V2beta1::TimeInterval] + attr_accessor :time_interval + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @time_interval = args[:time_interval] if args.key?(:time_interval) + end + end + + # @OutputOnly A security context. + class SecurityContext + include Google::Apis::Core::Hashable + + # The security types in this context. + # Corresponds to the JSON property `securities` + # @return [Array] + attr_accessor :securities + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @securities = args[:securities] if args.key?(:securities) + end + end + + # The serving context for this restriction. + class ServingContext + include Google::Apis::Core::Hashable + + # Matches all contexts. + # Corresponds to the JSON property `all` + # @return [String] + attr_accessor :all + + # @OutputOnly The app type the restriction applies to for mobile device. + # Corresponds to the JSON property `appType` + # @return [Google::Apis::Adexchangebuyer2V2beta1::AppContext] + attr_accessor :app_type + + # @OutputOnly The auction type the restriction applies to. + # Corresponds to the JSON property `auctionType` + # @return [Google::Apis::Adexchangebuyer2V2beta1::AuctionContext] + attr_accessor :auction_type + + # @OutputOnly The Geo criteria the restriction applies to. + # Corresponds to the JSON property `location` + # @return [Google::Apis::Adexchangebuyer2V2beta1::LocationContext] + attr_accessor :location + + # @OutputOnly The type of platform the restriction applies to. + # Corresponds to the JSON property `platform` + # @return [Google::Apis::Adexchangebuyer2V2beta1::PlatformContext] + attr_accessor :platform + + # @OutputOnly A security context. + # Corresponds to the JSON property `securityType` + # @return [Google::Apis::Adexchangebuyer2V2beta1::SecurityContext] + attr_accessor :security_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @all = args[:all] if args.key?(:all) + @app_type = args[:app_type] if args.key?(:app_type) + @auction_type = args[:auction_type] if args.key?(:auction_type) + @location = args[:location] if args.key?(:location) + @platform = args[:platform] if args.key?(:platform) + @security_type = args[:security_type] if args.key?(:security_type) + end + end + + # @OutputOnly A representation of the status of an ad in a + # specific context. A context here relates to where something ultimately serves + # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, + # or the type of auction). + class ServingRestriction + include Google::Apis::Core::Hashable + + # The contexts for the restriction. + # Corresponds to the JSON property `contexts` + # @return [Array] + attr_accessor :contexts + + # Any disapprovals bound to this restriction. + # Only present if status=DISAPPROVED. + # Can be used to filter the response of the + # creatives.list + # method. + # Corresponds to the JSON property `disapprovalReasons` + # @return [Array] + attr_accessor :disapproval_reasons + + # The status of the creative in this context (for example, it has been + # explicitly disapproved or is pending review). + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @contexts = args[:contexts] if args.key?(:contexts) + @disapproval_reasons = args[:disapproval_reasons] if args.key?(:disapproval_reasons) + @status = args[:status] if args.key?(:status) + end + end + + # A request for stopping notifications for changes to creative Status. + class StopWatchingCreativeRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # An interval of time, with an absolute start and end. + # This is included in the response, for several reasons: + # 1) The request may have specified start or end times relative to the time the + # request was sent; the response indicates the corresponding absolute time + # interval. + # 2) The request may have specified an end time past the latest time for which + # data was available (e.g. if requesting data for the today); the response + # indicates the latest time for which data was actually returned. + # 3) The response data for a single request may be broken down into multiple + # time intervals, if a time series was requested. + class TimeInterval + include Google::Apis::Core::Hashable + + # The timestamp marking the end of the range (exclusive) for which data is + # included. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # The timestamp marking the start of the range (inclusive) for which data is + # included. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) + end + end + + # Video content for a creative. + class VideoContent + include Google::Apis::Core::Hashable + + # The URL to fetch a video ad. + # Corresponds to the JSON property `videoUrl` + # @return [String] + attr_accessor :video_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @video_url = args[:video_url] if args.key?(:video_url) + end + end + + # A request for watching changes to creative Status. + class WatchCreativeRequest + include Google::Apis::Core::Hashable + + # The Pub/Sub topic to publish notifications to. + # This topic must already exist and must give permission to + # ad-exchange-buyside-reports@google.com to write to the topic. + # This should be the full resource name in + # "projects/`project_id`/topics/`topic_id`" format. + # Corresponds to the JSON property `topic` + # @return [String] + attr_accessor :topic + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @topic = args[:topic] if args.key?(:topic) end end end diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb b/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb index fba238772..02ef72ce1 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb @@ -22,54 +22,6 @@ module Google module Apis module Adexchangebuyer2V2beta1 - class AuctionContext - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListImpressionMetricsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BidMetricsRow - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListBidResponseErrorsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreativeStatusRow - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RealtimeTimeRange - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class NonBillableWinningBidStatusRow - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FilteredBidDetailRow - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class AbsoluteDateRange class Representation < Google::Apis::Core::JsonRepresentation; end @@ -82,61 +34,19 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class WatchCreativeRequest + class AppContext class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class TimeInterval + class AuctionContext class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class FilteredBidCreativeRow - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RelativeDateRange - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListClientsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class NativeContent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListBidResponsesWithoutBidsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ServingContext - 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 ListFilterSetsResponse + class BidMetricsRow class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -148,12 +58,132 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class CalloutStatusRow + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Client + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ClientUser + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ClientUserInvitation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Correction + 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 CreativeDealAssociation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreativeStatusRow + 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 Disapproval + 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 FilterSet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FilteredBidCreativeRow + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FilteredBidDetailRow + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FilteringStats + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HtmlContent + 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 ImpressionMetricsRow + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListBidMetricsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListBidResponseErrorsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListBidResponsesWithoutBidsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListClientUserInvitationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -166,55 +196,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ListCreativeStatusBreakdownByDetailResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LocationContext - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PlatformContext - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MetricValue - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ClientUser - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreativeDealAssociation - 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 FilteringStats - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RemoveDealAssociationRequest + class ListClientsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -226,91 +208,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Client - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Correction - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FilterSet - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListDealAssociationsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CalloutStatusRow - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Disapproval - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StopWatchingCreativeRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ServingRestriction - 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 RowDimensions - 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 AppContext - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListFilteredBidsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SecurityContext - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListFilteredBidRequestsResponse + class ListCreativeStatusBreakdownByDetailResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -322,25 +220,31 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class HtmlContent + class ListDealAssociationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListBidMetricsResponse + class ListFilterSetsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Reason + class ListFilteredBidRequestsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class VideoContent + class ListFilteredBidsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListImpressionMetricsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -358,104 +262,115 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ImpressionMetricsRow + class LocationContext class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class AuctionContext - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :auction_types, as: 'auctionTypes' - end + class MetricValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class ListImpressionMetricsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :impression_metrics_rows, as: 'impressionMetricsRows', class: Google::Apis::Adexchangebuyer2V2beta1::ImpressionMetricsRow, decorator: Google::Apis::Adexchangebuyer2V2beta1::ImpressionMetricsRow::Representation + class NativeContent + class Representation < Google::Apis::Core::JsonRepresentation; end - end - end - - class BidMetricsRow - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :impressions_won, as: 'impressionsWon', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation - - property :viewable_impressions, as: 'viewableImpressions', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation - - property :measurable_impressions, as: 'measurableImpressions', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation - - property :bids, as: 'bids', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation - - property :billed_impressions, as: 'billedImpressions', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation - - property :bids_in_auction, as: 'bidsInAuction', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation - - property :row_dimensions, as: 'rowDimensions', class: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions, decorator: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions::Representation - - end - end - - class ListBidResponseErrorsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :callout_status_rows, as: 'calloutStatusRows', class: Google::Apis::Adexchangebuyer2V2beta1::CalloutStatusRow, decorator: Google::Apis::Adexchangebuyer2V2beta1::CalloutStatusRow::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class CreativeStatusRow - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :bid_count, as: 'bidCount', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation - - property :row_dimensions, as: 'rowDimensions', class: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions, decorator: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions::Representation - - property :creative_status_id, as: 'creativeStatusId' - end - end - - class RealtimeTimeRange - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :start_timestamp, as: 'startTimestamp' - end + include Google::Apis::Core::JsonObjectSupport end class NonBillableWinningBidStatusRow - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :row_dimensions, as: 'rowDimensions', class: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions, decorator: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :bid_count, as: 'bidCount', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation - - property :status, as: 'status' - end + include Google::Apis::Core::JsonObjectSupport end - class FilteredBidDetailRow - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :row_dimensions, as: 'rowDimensions', class: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions, decorator: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions::Representation + class PlatformContext + class Representation < Google::Apis::Core::JsonRepresentation; end - property :detail_id, as: 'detailId' - property :bid_count, as: 'bidCount', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation + include Google::Apis::Core::JsonObjectSupport + end - end + class RealtimeTimeRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Reason + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RelativeDateRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RemoveDealAssociationRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RowDimensions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SecurityContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ServingContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ServingRestriction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StopWatchingCreativeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TimeInterval + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VideoContent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WatchCreativeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AbsoluteDateRange # @private class Representation < Google::Apis::Core::JsonRepresentation - property :start_date, as: 'startDate', class: Google::Apis::Adexchangebuyer2V2beta1::Date, decorator: Google::Apis::Adexchangebuyer2V2beta1::Date::Representation - property :end_date, as: 'endDate', class: Google::Apis::Adexchangebuyer2V2beta1::Date, decorator: Google::Apis::Adexchangebuyer2V2beta1::Date::Representation + property :start_date, as: 'startDate', class: Google::Apis::Adexchangebuyer2V2beta1::Date, decorator: Google::Apis::Adexchangebuyer2V2beta1::Date::Representation + end end @@ -467,18 +382,204 @@ module Google end end - class WatchCreativeRequest + class AppContext # @private class Representation < Google::Apis::Core::JsonRepresentation - property :topic, as: 'topic' + collection :app_types, as: 'appTypes' end end - class TimeInterval + class AuctionContext # @private class Representation < Google::Apis::Core::JsonRepresentation - property :end_time, as: 'endTime' - property :start_time, as: 'startTime' + collection :auction_types, as: 'auctionTypes' + end + end + + class BidMetricsRow + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bids, as: 'bids', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation + + property :bids_in_auction, as: 'bidsInAuction', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation + + property :billed_impressions, as: 'billedImpressions', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation + + property :impressions_won, as: 'impressionsWon', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation + + property :measurable_impressions, as: 'measurableImpressions', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation + + property :row_dimensions, as: 'rowDimensions', class: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions, decorator: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions::Representation + + property :viewable_impressions, as: 'viewableImpressions', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation + + end + end + + class BidResponseWithoutBidsStatusRow + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :impression_count, as: 'impressionCount', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation + + property :row_dimensions, as: 'rowDimensions', class: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions, decorator: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions::Representation + + property :status, as: 'status' + end + end + + class CalloutStatusRow + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :callout_status_id, as: 'calloutStatusId' + property :impression_count, as: 'impressionCount', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation + + property :row_dimensions, as: 'rowDimensions', class: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions, decorator: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions::Representation + + end + end + + class Client + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :client_account_id, :numeric_string => true, as: 'clientAccountId' + property :client_name, as: 'clientName' + property :entity_id, :numeric_string => true, as: 'entityId' + property :entity_name, as: 'entityName' + property :entity_type, as: 'entityType' + property :role, as: 'role' + property :status, as: 'status' + property :visible_to_seller, as: 'visibleToSeller' + end + end + + class ClientUser + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :client_account_id, :numeric_string => true, as: 'clientAccountId' + property :email, as: 'email' + property :status, as: 'status' + property :user_id, :numeric_string => true, as: 'userId' + end + end + + class ClientUserInvitation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :client_account_id, :numeric_string => true, as: 'clientAccountId' + property :email, as: 'email' + property :invitation_id, :numeric_string => true, as: 'invitationId' + end + end + + class Correction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :contexts, as: 'contexts', class: Google::Apis::Adexchangebuyer2V2beta1::ServingContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingContext::Representation + + collection :details, as: 'details' + property :type, as: 'type' + end + end + + class Creative + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :ad_choices_destination_url, as: 'adChoicesDestinationUrl' + property :advertiser_name, as: 'advertiserName' + property :agency_id, :numeric_string => true, as: 'agencyId' + property :api_update_time, as: 'apiUpdateTime' + collection :attributes, as: 'attributes' + collection :click_through_urls, as: 'clickThroughUrls' + collection :corrections, as: 'corrections', class: Google::Apis::Adexchangebuyer2V2beta1::Correction, decorator: Google::Apis::Adexchangebuyer2V2beta1::Correction::Representation + + property :creative_id, as: 'creativeId' + property :deals_status, as: 'dealsStatus' + collection :detected_advertiser_ids, as: 'detectedAdvertiserIds' + collection :detected_domains, as: 'detectedDomains' + collection :detected_languages, as: 'detectedLanguages' + collection :detected_product_categories, as: 'detectedProductCategories' + collection :detected_sensitive_categories, as: 'detectedSensitiveCategories' + property :filtering_stats, as: 'filteringStats', class: Google::Apis::Adexchangebuyer2V2beta1::FilteringStats, decorator: Google::Apis::Adexchangebuyer2V2beta1::FilteringStats::Representation + + property :html, as: 'html', class: Google::Apis::Adexchangebuyer2V2beta1::HtmlContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::HtmlContent::Representation + + collection :impression_tracking_urls, as: 'impressionTrackingUrls' + property :native, as: 'native', class: Google::Apis::Adexchangebuyer2V2beta1::NativeContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::NativeContent::Representation + + property :open_auction_status, as: 'openAuctionStatus' + collection :restricted_categories, as: 'restrictedCategories' + collection :serving_restrictions, as: 'servingRestrictions', class: Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction::Representation + + collection :vendor_ids, as: 'vendorIds' + property :version, as: 'version' + property :video, as: 'video', class: Google::Apis::Adexchangebuyer2V2beta1::VideoContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::VideoContent::Representation + + end + end + + class CreativeDealAssociation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :creative_id, as: 'creativeId' + property :deals_id, as: 'dealsId' + end + end + + class CreativeStatusRow + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bid_count, as: 'bidCount', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation + + property :creative_status_id, as: 'creativeStatusId' + property :row_dimensions, as: 'rowDimensions', class: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions, decorator: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions::Representation + + end + end + + class Date + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :day, as: 'day' + property :month, as: 'month' + property :year, as: 'year' + end + end + + class Disapproval + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :details, as: 'details' + property :reason, as: 'reason' + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class FilterSet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :absolute_date_range, as: 'absoluteDateRange', class: Google::Apis::Adexchangebuyer2V2beta1::AbsoluteDateRange, decorator: Google::Apis::Adexchangebuyer2V2beta1::AbsoluteDateRange::Representation + + property :buyer_account_id, :numeric_string => true, as: 'buyerAccountId' + property :creative_id, as: 'creativeId' + property :deal_id, :numeric_string => true, as: 'dealId' + property :environment, as: 'environment' + property :filter_set_id, :numeric_string => true, as: 'filterSetId' + property :format, as: 'format' + property :owner_account_id, :numeric_string => true, as: 'ownerAccountId' + collection :platforms, as: 'platforms' + property :realtime_time_range, as: 'realtimeTimeRange', class: Google::Apis::Adexchangebuyer2V2beta1::RealtimeTimeRange, decorator: Google::Apis::Adexchangebuyer2V2beta1::RealtimeTimeRange::Representation + + property :relative_date_range, as: 'relativeDateRange', class: Google::Apis::Adexchangebuyer2V2beta1::RelativeDateRange, decorator: Google::Apis::Adexchangebuyer2V2beta1::RelativeDateRange::Representation + + collection :seller_network_ids, as: 'sellerNetworkIds' + property :time_series_granularity, as: 'timeSeriesGranularity' end end @@ -493,215 +594,17 @@ module Google end end - class RelativeDateRange + class FilteredBidDetailRow # @private class Representation < Google::Apis::Core::JsonRepresentation - property :duration_days, as: 'durationDays' - property :offset_days, as: 'offsetDays' - end - end + property :bid_count, as: 'bidCount', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation - class ListClientsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :clients, as: 'clients', class: Google::Apis::Adexchangebuyer2V2beta1::Client, decorator: Google::Apis::Adexchangebuyer2V2beta1::Client::Representation - - end - end - - class NativeContent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :call_to_action, as: 'callToAction' - property :body, as: 'body' - property :star_rating, as: 'starRating' - property :video_url, as: 'videoUrl' - property :logo, as: 'logo', class: Google::Apis::Adexchangebuyer2V2beta1::Image, decorator: Google::Apis::Adexchangebuyer2V2beta1::Image::Representation - - property :click_link_url, as: 'clickLinkUrl' - property :price_display_text, as: 'priceDisplayText' - property :click_tracking_url, as: 'clickTrackingUrl' - property :image, as: 'image', class: Google::Apis::Adexchangebuyer2V2beta1::Image, decorator: Google::Apis::Adexchangebuyer2V2beta1::Image::Representation - - property :advertiser_name, as: 'advertiserName' - property :store_url, as: 'storeUrl' - property :headline, as: 'headline' - property :app_icon, as: 'appIcon', class: Google::Apis::Adexchangebuyer2V2beta1::Image, decorator: Google::Apis::Adexchangebuyer2V2beta1::Image::Representation - - end - end - - class ListBidResponsesWithoutBidsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :bid_response_without_bids_status_rows, as: 'bidResponseWithoutBidsStatusRows', class: Google::Apis::Adexchangebuyer2V2beta1::BidResponseWithoutBidsStatusRow, decorator: Google::Apis::Adexchangebuyer2V2beta1::BidResponseWithoutBidsStatusRow::Representation - - end - end - - class ServingContext - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :security_type, as: 'securityType', class: Google::Apis::Adexchangebuyer2V2beta1::SecurityContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::SecurityContext::Representation - - property :platform, as: 'platform', class: Google::Apis::Adexchangebuyer2V2beta1::PlatformContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::PlatformContext::Representation - - property :location, as: 'location', class: Google::Apis::Adexchangebuyer2V2beta1::LocationContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::LocationContext::Representation - - property :auction_type, as: 'auctionType', class: Google::Apis::Adexchangebuyer2V2beta1::AuctionContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::AuctionContext::Representation - - property :all, as: 'all' - property :app_type, as: 'appType', class: Google::Apis::Adexchangebuyer2V2beta1::AppContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::AppContext::Representation - - end - end - - class Image - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' - property :height, as: 'height' - property :width, as: 'width' - end - end - - class ListFilterSetsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :filter_sets, as: 'filterSets', class: Google::Apis::Adexchangebuyer2V2beta1::FilterSet, decorator: Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class BidResponseWithoutBidsStatusRow - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :impression_count, as: 'impressionCount', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation - - property :status, as: 'status' + property :detail_id, as: 'detailId' property :row_dimensions, as: 'rowDimensions', class: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions, decorator: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions::Representation end end - class ClientUserInvitation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :client_account_id, :numeric_string => true, as: 'clientAccountId' - property :invitation_id, :numeric_string => true, as: 'invitationId' - property :email, as: 'email' - end - end - - class ListClientUserInvitationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :invitations, as: 'invitations', class: Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation, decorator: Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation - - end - end - - class ListClientUsersResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :users, as: 'users', class: Google::Apis::Adexchangebuyer2V2beta1::ClientUser, decorator: Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class ListCreativeStatusBreakdownByDetailResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :filtered_bid_detail_rows, as: 'filteredBidDetailRows', class: Google::Apis::Adexchangebuyer2V2beta1::FilteredBidDetailRow, decorator: Google::Apis::Adexchangebuyer2V2beta1::FilteredBidDetailRow::Representation - - property :detail_type, as: 'detailType' - end - end - - class LocationContext - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :geo_criteria_ids, as: 'geoCriteriaIds' - end - end - - class PlatformContext - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :platforms, as: 'platforms' - end - end - - class MetricValue - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :variance, :numeric_string => true, as: 'variance' - property :value, :numeric_string => true, as: 'value' - end - end - - class ClientUser - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :status, as: 'status' - property :email, as: 'email' - property :user_id, :numeric_string => true, as: 'userId' - property :client_account_id, :numeric_string => true, as: 'clientAccountId' - end - end - - class CreativeDealAssociation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :creative_id, as: 'creativeId' - property :deals_id, as: 'dealsId' - end - end - - class Creative - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :creative_id, as: 'creativeId' - property :account_id, as: 'accountId' - property :native, as: 'native', class: Google::Apis::Adexchangebuyer2V2beta1::NativeContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::NativeContent::Representation - - property :video, as: 'video', class: Google::Apis::Adexchangebuyer2V2beta1::VideoContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::VideoContent::Representation - - collection :serving_restrictions, as: 'servingRestrictions', class: Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction::Representation - - property :agency_id, :numeric_string => true, as: 'agencyId' - collection :click_through_urls, as: 'clickThroughUrls' - property :ad_choices_destination_url, as: 'adChoicesDestinationUrl' - collection :detected_sensitive_categories, as: 'detectedSensitiveCategories' - collection :restricted_categories, as: 'restrictedCategories' - collection :corrections, as: 'corrections', class: Google::Apis::Adexchangebuyer2V2beta1::Correction, decorator: Google::Apis::Adexchangebuyer2V2beta1::Correction::Representation - - property :version, as: 'version' - collection :vendor_ids, as: 'vendorIds' - collection :impression_tracking_urls, as: 'impressionTrackingUrls' - property :html, as: 'html', class: Google::Apis::Adexchangebuyer2V2beta1::HtmlContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::HtmlContent::Representation - - property :deals_status, as: 'dealsStatus' - collection :detected_product_categories, as: 'detectedProductCategories' - property :open_auction_status, as: 'openAuctionStatus' - property :advertiser_name, as: 'advertiserName' - collection :detected_advertiser_ids, as: 'detectedAdvertiserIds' - collection :detected_domains, as: 'detectedDomains' - property :filtering_stats, as: 'filteringStats', class: Google::Apis::Adexchangebuyer2V2beta1::FilteringStats, decorator: Google::Apis::Adexchangebuyer2V2beta1::FilteringStats::Representation - - collection :attributes, as: 'attributes' - property :api_update_time, as: 'apiUpdateTime' - collection :detected_languages, as: 'detectedLanguages' - end - end - class FilteringStats # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -712,164 +615,110 @@ module Google end end - class RemoveDealAssociationRequest + class HtmlContent # @private class Representation < Google::Apis::Core::JsonRepresentation - property :association, as: 'association', class: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation, decorator: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation::Representation + property :height, as: 'height' + property :snippet, as: 'snippet' + property :width, as: 'width' + end + end + class Image + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :height, as: 'height' + property :url, as: 'url' + property :width, as: 'width' + end + end + + class ImpressionMetricsRow + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :available_impressions, as: 'availableImpressions', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation + + property :bid_requests, as: 'bidRequests', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation + + property :inventory_matches, as: 'inventoryMatches', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation + + property :responses_with_bids, as: 'responsesWithBids', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation + + property :row_dimensions, as: 'rowDimensions', class: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions, decorator: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions::Representation + + property :successful_responses, as: 'successfulResponses', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation + + end + end + + class ListBidMetricsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :bid_metrics_rows, as: 'bidMetricsRows', class: Google::Apis::Adexchangebuyer2V2beta1::BidMetricsRow, decorator: Google::Apis::Adexchangebuyer2V2beta1::BidMetricsRow::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListBidResponseErrorsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :callout_status_rows, as: 'calloutStatusRows', class: Google::Apis::Adexchangebuyer2V2beta1::CalloutStatusRow, decorator: Google::Apis::Adexchangebuyer2V2beta1::CalloutStatusRow::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListBidResponsesWithoutBidsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :bid_response_without_bids_status_rows, as: 'bidResponseWithoutBidsStatusRows', class: Google::Apis::Adexchangebuyer2V2beta1::BidResponseWithoutBidsStatusRow, decorator: Google::Apis::Adexchangebuyer2V2beta1::BidResponseWithoutBidsStatusRow::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListClientUserInvitationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :invitations, as: 'invitations', class: Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation, decorator: Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListClientUsersResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :users, as: 'users', class: Google::Apis::Adexchangebuyer2V2beta1::ClientUser, decorator: Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation + + end + end + + class ListClientsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :clients, as: 'clients', class: Google::Apis::Adexchangebuyer2V2beta1::Client, decorator: Google::Apis::Adexchangebuyer2V2beta1::Client::Representation + + property :next_page_token, as: 'nextPageToken' end end class ListCreativeStatusBreakdownByCreativeResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' collection :filtered_bid_creative_rows, as: 'filteredBidCreativeRows', class: Google::Apis::Adexchangebuyer2V2beta1::FilteredBidCreativeRow, decorator: Google::Apis::Adexchangebuyer2V2beta1::FilteredBidCreativeRow::Representation - end - end - - class Client - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :visible_to_seller, as: 'visibleToSeller' - property :entity_id, :numeric_string => true, as: 'entityId' - property :client_account_id, :numeric_string => true, as: 'clientAccountId' - property :entity_name, as: 'entityName' - property :status, as: 'status' - property :entity_type, as: 'entityType' - property :client_name, as: 'clientName' - property :role, as: 'role' - end - end - - class Correction - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - collection :contexts, as: 'contexts', class: Google::Apis::Adexchangebuyer2V2beta1::ServingContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingContext::Representation - - collection :details, as: 'details' - end - end - - class FilterSet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :seller_network_ids, as: 'sellerNetworkIds' - property :owner_account_id, :numeric_string => true, as: 'ownerAccountId' - property :absolute_date_range, as: 'absoluteDateRange', class: Google::Apis::Adexchangebuyer2V2beta1::AbsoluteDateRange, decorator: Google::Apis::Adexchangebuyer2V2beta1::AbsoluteDateRange::Representation - - property :buyer_account_id, :numeric_string => true, as: 'buyerAccountId' - property :environment, as: 'environment' - property :deal_id, :numeric_string => true, as: 'dealId' - property :format, as: 'format' - property :time_series_granularity, as: 'timeSeriesGranularity' - property :filter_set_id, :numeric_string => true, as: 'filterSetId' - property :realtime_time_range, as: 'realtimeTimeRange', class: Google::Apis::Adexchangebuyer2V2beta1::RealtimeTimeRange, decorator: Google::Apis::Adexchangebuyer2V2beta1::RealtimeTimeRange::Representation - - property :creative_id, as: 'creativeId' - collection :platforms, as: 'platforms' - property :relative_date_range, as: 'relativeDateRange', class: Google::Apis::Adexchangebuyer2V2beta1::RelativeDateRange, decorator: Google::Apis::Adexchangebuyer2V2beta1::RelativeDateRange::Representation - - end - end - - class ListDealAssociationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' - collection :associations, as: 'associations', class: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation, decorator: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation::Representation - end end - class CalloutStatusRow + class ListCreativeStatusBreakdownByDetailResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :impression_count, as: 'impressionCount', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation - - property :row_dimensions, as: 'rowDimensions', class: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions, decorator: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions::Representation - - property :callout_status_id, as: 'calloutStatusId' - end - end - - class Disapproval - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :details, as: 'details' - property :reason, as: 'reason' - end - end - - class StopWatchingCreativeRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class ServingRestriction - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :disapproval_reasons, as: 'disapprovalReasons', class: Google::Apis::Adexchangebuyer2V2beta1::Disapproval, decorator: Google::Apis::Adexchangebuyer2V2beta1::Disapproval::Representation - - collection :contexts, as: 'contexts', class: Google::Apis::Adexchangebuyer2V2beta1::ServingContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingContext::Representation - - property :status, as: 'status' - end - end - - class Date - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :day, as: 'day' - property :year, as: 'year' - property :month, as: 'month' - end - end - - class RowDimensions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :time_interval, as: 'timeInterval', class: Google::Apis::Adexchangebuyer2V2beta1::TimeInterval, decorator: Google::Apis::Adexchangebuyer2V2beta1::TimeInterval::Representation - - end - end - - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class AppContext - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :app_types, as: 'appTypes' - end - end - - class ListFilteredBidsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :creative_status_rows, as: 'creativeStatusRows', class: Google::Apis::Adexchangebuyer2V2beta1::CreativeStatusRow, decorator: Google::Apis::Adexchangebuyer2V2beta1::CreativeStatusRow::Representation - - end - end - - class SecurityContext - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :securities, as: 'securities' - end - end - - class ListFilteredBidRequestsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :callout_status_rows, as: 'calloutStatusRows', class: Google::Apis::Adexchangebuyer2V2beta1::CalloutStatusRow, decorator: Google::Apis::Adexchangebuyer2V2beta1::CalloutStatusRow::Representation + property :detail_type, as: 'detailType' + collection :filtered_bid_detail_rows, as: 'filteredBidDetailRows', class: Google::Apis::Adexchangebuyer2V2beta1::FilteredBidDetailRow, decorator: Google::Apis::Adexchangebuyer2V2beta1::FilteredBidDetailRow::Representation property :next_page_token, as: 'nextPageToken' end @@ -884,36 +733,48 @@ module Google end end - class HtmlContent + class ListDealAssociationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :height, as: 'height' - property :width, as: 'width' - property :snippet, as: 'snippet' - end - end + collection :associations, as: 'associations', class: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation, decorator: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation::Representation - class ListBidMetricsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' - collection :bid_metrics_rows, as: 'bidMetricsRows', class: Google::Apis::Adexchangebuyer2V2beta1::BidMetricsRow, decorator: Google::Apis::Adexchangebuyer2V2beta1::BidMetricsRow::Representation - end end - class Reason + class ListFilterSetsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :status, as: 'status' - property :count, :numeric_string => true, as: 'count' + collection :filter_sets, as: 'filterSets', class: Google::Apis::Adexchangebuyer2V2beta1::FilterSet, decorator: Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation + + property :next_page_token, as: 'nextPageToken' end end - class VideoContent + class ListFilteredBidRequestsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :video_url, as: 'videoUrl' + collection :callout_status_rows, as: 'calloutStatusRows', class: Google::Apis::Adexchangebuyer2V2beta1::CalloutStatusRow, decorator: Google::Apis::Adexchangebuyer2V2beta1::CalloutStatusRow::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListFilteredBidsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :creative_status_rows, as: 'creativeStatusRows', class: Google::Apis::Adexchangebuyer2V2beta1::CreativeStatusRow, decorator: Google::Apis::Adexchangebuyer2V2beta1::CreativeStatusRow::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListImpressionMetricsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :impression_metrics_rows, as: 'impressionMetricsRows', class: Google::Apis::Adexchangebuyer2V2beta1::ImpressionMetricsRow, decorator: Google::Apis::Adexchangebuyer2V2beta1::ImpressionMetricsRow::Representation + + property :next_page_token, as: 'nextPageToken' end end @@ -935,21 +796,160 @@ module Google end end - class ImpressionMetricsRow + class LocationContext # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :geo_criteria_ids, as: 'geoCriteriaIds' + end + end + + class MetricValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, :numeric_string => true, as: 'value' + property :variance, :numeric_string => true, as: 'variance' + end + end + + class NativeContent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :advertiser_name, as: 'advertiserName' + property :app_icon, as: 'appIcon', class: Google::Apis::Adexchangebuyer2V2beta1::Image, decorator: Google::Apis::Adexchangebuyer2V2beta1::Image::Representation + + property :body, as: 'body' + property :call_to_action, as: 'callToAction' + property :click_link_url, as: 'clickLinkUrl' + property :click_tracking_url, as: 'clickTrackingUrl' + property :headline, as: 'headline' + property :image, as: 'image', class: Google::Apis::Adexchangebuyer2V2beta1::Image, decorator: Google::Apis::Adexchangebuyer2V2beta1::Image::Representation + + property :logo, as: 'logo', class: Google::Apis::Adexchangebuyer2V2beta1::Image, decorator: Google::Apis::Adexchangebuyer2V2beta1::Image::Representation + + property :price_display_text, as: 'priceDisplayText' + property :star_rating, as: 'starRating' + property :store_url, as: 'storeUrl' + property :video_url, as: 'videoUrl' + end + end + + class NonBillableWinningBidStatusRow + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bid_count, as: 'bidCount', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation + property :row_dimensions, as: 'rowDimensions', class: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions, decorator: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions::Representation - property :available_impressions, as: 'availableImpressions', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation + property :status, as: 'status' + end + end - property :inventory_matches, as: 'inventoryMatches', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation + class PlatformContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :platforms, as: 'platforms' + end + end - property :bid_requests, as: 'bidRequests', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation + class RealtimeTimeRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :start_timestamp, as: 'startTimestamp' + end + end - property :responses_with_bids, as: 'responsesWithBids', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation + class Reason + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :count, :numeric_string => true, as: 'count' + property :status, as: 'status' + end + end - property :successful_responses, as: 'successfulResponses', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation + class RelativeDateRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :duration_days, as: 'durationDays' + property :offset_days, as: 'offsetDays' + end + end + class RemoveDealAssociationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :association, as: 'association', class: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation, decorator: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation::Representation + + end + end + + class RowDimensions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :time_interval, as: 'timeInterval', class: Google::Apis::Adexchangebuyer2V2beta1::TimeInterval, decorator: Google::Apis::Adexchangebuyer2V2beta1::TimeInterval::Representation + + end + end + + class SecurityContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :securities, as: 'securities' + end + end + + class ServingContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :all, as: 'all' + property :app_type, as: 'appType', class: Google::Apis::Adexchangebuyer2V2beta1::AppContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::AppContext::Representation + + property :auction_type, as: 'auctionType', class: Google::Apis::Adexchangebuyer2V2beta1::AuctionContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::AuctionContext::Representation + + property :location, as: 'location', class: Google::Apis::Adexchangebuyer2V2beta1::LocationContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::LocationContext::Representation + + property :platform, as: 'platform', class: Google::Apis::Adexchangebuyer2V2beta1::PlatformContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::PlatformContext::Representation + + property :security_type, as: 'securityType', class: Google::Apis::Adexchangebuyer2V2beta1::SecurityContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::SecurityContext::Representation + + end + end + + class ServingRestriction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :contexts, as: 'contexts', class: Google::Apis::Adexchangebuyer2V2beta1::ServingContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingContext::Representation + + collection :disapproval_reasons, as: 'disapprovalReasons', class: Google::Apis::Adexchangebuyer2V2beta1::Disapproval, decorator: Google::Apis::Adexchangebuyer2V2beta1::Disapproval::Representation + + property :status, as: 'status' + end + end + + class StopWatchingCreativeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class TimeInterval + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_time, as: 'endTime' + property :start_time, as: 'startTime' + end + end + + class VideoContent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :video_url, as: 'videoUrl' + end + end + + class WatchCreativeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :topic, as: 'topic' end end end diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/service.rb b/generated/google/apis/adexchangebuyer2_v2beta1/service.rb index c567325d4..9ca41d8e6 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1/service.rb @@ -31,7 +31,7 @@ module Google # Adexchangebuyer2 = Google::Apis::Adexchangebuyer2V2beta1 # Alias the module # service = Adexchangebuyer2::AdExchangeBuyerIIService.new # - # @see https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/ + # @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/ class AdExchangeBuyerIIService < Google::Apis::Core::BaseService # @return [String] # API key. Your API key identifies your project and provides you with API access, @@ -48,6 +48,73 @@ module Google @batch_path = 'batch' end + # Creates a new client buyer. + # @param [Fixnum] account_id + # Unique numerical account ID for the buyer of which the client buyer + # is a customer; the sponsor buyer to create a client for. (required) + # @param [Google::Apis::Adexchangebuyer2V2beta1::Client] client_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::Adexchangebuyer2V2beta1::Client] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::Client] + # + # @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_client(account_id, client_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/clients', options) + command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation + command.request_object = client_object + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client + 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? + execute_or_queue_command(command, &block) + end + + # Gets a client buyer with a given client account ID. + # @param [Fixnum] account_id + # Numerical account ID of the client's sponsor buyer. (required) + # @param [Fixnum] client_account_id + # Numerical account ID of the client buyer to retrieve. (required) + # @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::Adexchangebuyer2V2beta1::Client] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::Client] + # + # @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_client(account_id, client_account_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', options) + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client + command.params['accountId'] = account_id unless account_id.nil? + command.params['clientAccountId'] = client_account_id unless client_account_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 all the clients for the current sponsor buyer. # @param [Fixnum] account_id # Unique numerical account ID of the sponsor buyer to list the clients for. @@ -60,11 +127,11 @@ module Google # ListClientsResponse.nextPageToken # returned from the previous call to the # accounts.clients.list method. + # @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 # @@ -77,48 +144,15 @@ 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_account_clients(account_id, page_size: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_account_clients(account_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients', options) command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse::Representation command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse command.params['accountId'] = account_id unless account_id.nil? command.query['pageSize'] = page_size unless page_size.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? - execute_or_queue_command(command, &block) - end - - # Gets a client buyer with a given client account ID. - # @param [Fixnum] account_id - # Numerical account ID of the client's sponsor buyer. (required) - # @param [Fixnum] client_account_id - # Numerical account ID of the client buyer to retrieve. (required) - # @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::Adexchangebuyer2V2beta1::Client] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::Adexchangebuyer2V2beta1::Client] - # - # @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_client(account_id, client_account_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', options) - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client - command.params['accountId'] = account_id unless account_id.nil? - command.params['clientAccountId'] = client_account_id unless client_account_id.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -129,11 +163,11 @@ module Google # @param [Fixnum] client_account_id # Unique numerical account ID of the client to update. (required) # @param [Google::Apis::Adexchangebuyer2V2beta1::Client] client_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -146,7 +180,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 update_account_client(account_id, client_account_id, client_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def update_account_client(account_id, client_account_id, client_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', options) command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation command.request_object = client_object @@ -154,42 +188,83 @@ module Google command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client command.params['accountId'] = account_id unless account_id.nil? command.params['clientAccountId'] = client_account_id unless client_account_id.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 - # Creates a new client buyer. + # Creates and sends out an email invitation to access + # an Ad Exchange client buyer account. # @param [Fixnum] account_id - # Unique numerical account ID for the buyer of which the client buyer - # is a customer; the sponsor buyer to create a client for. (required) - # @param [Google::Apis::Adexchangebuyer2V2beta1::Client] client_object + # Numerical account ID of the client's sponsor buyer. (required) + # @param [Fixnum] client_account_id + # Numerical account ID of the client buyer that the user + # should be associated with. (required) + # @param [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] client_user_invitation_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 [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::Adexchangebuyer2V2beta1::Client] parsed result object + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::Adexchangebuyer2V2beta1::Client] + # @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] # # @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_client(account_id, client_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/clients', options) - command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation - command.request_object = client_object - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client + def create_account_client_invitation(account_id, client_account_id, client_user_invitation_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', options) + command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation + command.request_object = client_user_invitation_object + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation command.params['accountId'] = account_id unless account_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.params['clientAccountId'] = client_account_id unless client_account_id.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves an existing client user invitation. + # @param [Fixnum] account_id + # Numerical account ID of the client's sponsor buyer. (required) + # @param [Fixnum] client_account_id + # Numerical account ID of the client buyer that the user invitation + # to be retrieved is associated with. (required) + # @param [Fixnum] invitation_id + # Numerical identifier of the user invitation to retrieve. (required) + # @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::Adexchangebuyer2V2beta1::ClientUserInvitation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] + # + # @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_client_invitation(account_id, client_account_id, invitation_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}', options) + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation + command.params['accountId'] = account_id unless account_id.nil? + command.params['clientAccountId'] = client_account_id unless client_account_id.nil? + command.params['invitationId'] = invitation_id unless invitation_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 @@ -204,6 +279,9 @@ module Google # numerical account identifier or the `-` character # to list all the invitations for all the clients # of a given sponsor buyer. + # @param [Fixnum] page_size + # Requested page size. Server may return fewer clients than requested. + # If unspecified, server will pick an appropriate default. # @param [String] page_token # A token identifying a page of results the server should return. # Typically, this is the value of @@ -211,14 +289,11 @@ module Google # returned from the previous call to the # clients.invitations.list # method. - # @param [Fixnum] page_size - # Requested page size. Server may return fewer clients than requested. - # If unspecified, server will pick an appropriate default. + # @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 # @@ -231,91 +306,16 @@ 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_account_client_invitations(account_id, client_account_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_account_client_invitations(account_id, client_account_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', options) command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse::Representation command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse command.params['accountId'] = account_id unless account_id.nil? command.params['clientAccountId'] = client_account_id unless client_account_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Retrieves an existing client user invitation. - # @param [Fixnum] account_id - # Numerical account ID of the client's sponsor buyer. (required) - # @param [Fixnum] client_account_id - # Numerical account ID of the client buyer that the user invitation - # to be retrieved is associated with. (required) - # @param [Fixnum] invitation_id - # Numerical identifier of the user invitation to retrieve. (required) - # @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::Adexchangebuyer2V2beta1::ClientUserInvitation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] - # - # @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_client_invitation(account_id, client_account_id, invitation_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}', options) - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation - command.params['accountId'] = account_id unless account_id.nil? - command.params['clientAccountId'] = client_account_id unless client_account_id.nil? - command.params['invitationId'] = invitation_id unless invitation_id.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates and sends out an email invitation to access - # an Ad Exchange client buyer account. - # @param [Fixnum] account_id - # Numerical account ID of the client's sponsor buyer. (required) - # @param [Fixnum] client_account_id - # Numerical account ID of the client buyer that the user - # should be associated with. (required) - # @param [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] client_user_invitation_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::Adexchangebuyer2V2beta1::ClientUserInvitation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] - # - # @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_client_invitation(account_id, client_account_id, client_user_invitation_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', options) - command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation - command.request_object = client_user_invitation_object - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation - command.params['accountId'] = account_id unless account_id.nil? - command.params['clientAccountId'] = client_account_id unless client_account_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -327,11 +327,11 @@ module Google # that the user to be retrieved is associated with. (required) # @param [Fixnum] user_id # Numerical identifier of the user to retrieve. (required) + # @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 # @@ -344,15 +344,15 @@ 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_account_client_user(account_id, client_account_id, user_id, quota_user: nil, fields: nil, options: nil, &block) + def get_account_client_user(account_id, client_account_id, user_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}', options) command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUser command.params['accountId'] = account_id unless account_id.nil? command.params['clientAccountId'] = client_account_id unless client_account_id.nil? command.params['userId'] = user_id unless user_id.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 @@ -367,20 +367,20 @@ module Google # numerical account identifier or the `-` character # to list all the client users for all the clients # of a given sponsor buyer. + # @param [Fixnum] page_size + # Requested page size. The server may return fewer clients than requested. + # If unspecified, the server will pick an appropriate default. # @param [String] page_token # A token identifying a page of results the server should return. # Typically, this is the value of # ListClientUsersResponse.nextPageToken # returned from the previous call to the # accounts.clients.users.list method. - # @param [Fixnum] page_size - # Requested page size. The server may return fewer clients than requested. - # If unspecified, the server will pick an appropriate default. + # @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 # @@ -393,16 +393,16 @@ 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_account_client_users(account_id, client_account_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_account_client_users(account_id, client_account_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users', options) command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse::Representation command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse command.params['accountId'] = account_id unless account_id.nil? command.params['clientAccountId'] = client_account_id unless client_account_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.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 @@ -416,11 +416,11 @@ module Google # @param [Fixnum] user_id # Numerical identifier of the user to retrieve. (required) # @param [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] client_user_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -433,7 +433,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 update_account_client_user(account_id, client_account_id, user_id, client_user_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def update_account_client_user(account_id, client_account_id, user_id, client_user_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}', options) command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation command.request_object = client_user_object @@ -442,8 +442,8 @@ module Google command.params['accountId'] = account_id unless account_id.nil? command.params['clientAccountId'] = client_account_id unless client_account_id.nil? command.params['userId'] = user_id unless user_id.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 @@ -457,11 +457,11 @@ module Google # @param [String] duplicate_id_mode # Indicates if multiple creatives can share an ID or not. Default is # NO_DUPLICATES (one ID per creative). + # @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 # @@ -474,7 +474,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 create_account_creative(account_id, creative_object = nil, duplicate_id_mode: nil, quota_user: nil, fields: nil, options: nil, &block) + def create_account_creative(account_id, creative_object = nil, duplicate_id_mode: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives', options) command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation command.request_object = creative_object @@ -482,87 +482,8 @@ module Google command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative command.params['accountId'] = account_id unless account_id.nil? command.query['duplicateIdMode'] = duplicate_id_mode unless duplicate_id_mode.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Stops watching a creative. Will stop push notifications being sent to the - # topics when the creative changes status. - # @param [String] account_id - # The account of the creative to stop notifications for. - # @param [String] creative_id - # The creative ID of the creative to stop notifications for. - # Specify "-" to specify stopping account level notifications. - # @param [Google::Apis::Adexchangebuyer2V2beta1::StopWatchingCreativeRequest] stop_watching_creative_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::Adexchangebuyer2V2beta1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::Adexchangebuyer2V2beta1::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 stop_watching_creative(account_id, creative_id, stop_watching_creative_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching', options) - command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::StopWatchingCreativeRequest::Representation - command.request_object = stop_watching_creative_request_object - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty - command.params['accountId'] = account_id unless account_id.nil? - command.params['creativeId'] = creative_id unless creative_id.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Watches a creative. Will result in push notifications being sent to the - # topic when the creative changes status. - # @param [String] account_id - # The account of the creative to watch. - # @param [String] creative_id - # The creative ID to watch for status changes. - # Specify "-" to watch all creatives under the above account. - # If both creative-level and account-level notifications are - # sent, only a single notification will be sent to the - # creative-level notification topic. - # @param [Google::Apis::Adexchangebuyer2V2beta1::WatchCreativeRequest] watch_creative_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::Adexchangebuyer2V2beta1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::Adexchangebuyer2V2beta1::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 watch_creative(account_id, creative_id, watch_creative_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}:watch', options) - command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::WatchCreativeRequest::Representation - command.request_object = watch_creative_request_object - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty - command.params['accountId'] = account_id unless account_id.nil? - command.params['creativeId'] = creative_id unless creative_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -571,11 +492,11 @@ module Google # The account the creative belongs to. # @param [String] creative_id # The ID of the creative to retrieve. + # @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 # @@ -588,56 +509,14 @@ 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_account_creative(account_id, creative_id, quota_user: nil, fields: nil, options: nil, &block) + def get_account_creative(account_id, creative_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives/{creativeId}', options) command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative command.params['accountId'] = account_id unless account_id.nil? command.params['creativeId'] = creative_id unless creative_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Updates a creative. - # @param [String] account_id - # The account that this creative belongs to. - # Can be used to filter the response of the - # creatives.list - # method. - # @param [String] creative_id - # The buyer-defined creative ID of this creative. - # Can be used to filter the response of the - # creatives.list - # method. - # @param [Google::Apis::Adexchangebuyer2V2beta1::Creative] creative_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::Adexchangebuyer2V2beta1::Creative] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::Adexchangebuyer2V2beta1::Creative] - # - # @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_creative(account_id, creative_id, creative_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/creatives/{creativeId}', options) - command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation - command.request_object = creative_object - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative - command.params['accountId'] = account_id unless account_id.nil? - command.params['creativeId'] = creative_id unless creative_id.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -645,16 +524,16 @@ module Google # @param [String] account_id # The account to list the creatives from. # Specify "-" to list all creatives the current user has access to. - # @param [String] page_token - # A token identifying a page of results the server should return. - # Typically, this is the value of - # ListCreativesResponse.next_page_token - # returned from the previous call to 'ListCreatives' method. # @param [Fixnum] page_size # Requested page size. The server may return fewer creatives than requested # (due to timeout constraint) even if more are available via another call. # If unspecified, server will pick an appropriate default. # Acceptable values are 1 to 1000, inclusive. + # @param [String] page_token + # A token identifying a page of results the server should return. + # Typically, this is the value of + # ListCreativesResponse.next_page_token + # returned from the previous call to 'ListCreatives' method. # @param [String] query # An optional query string to filter creatives. If no filter is specified, # all active creatives will be returned. @@ -671,11 +550,11 @@ module Google # # Example: 'accountId=12345 AND (dealsStatus:disapproved AND disapprovalReason: # unacceptable_content) OR attribute:47' + # @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 # @@ -688,16 +567,173 @@ 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_account_creatives(account_id, page_token: nil, page_size: nil, query: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_account_creatives(account_id, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives', options) command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativesResponse::Representation command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativesResponse command.params['accountId'] = account_id unless account_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? command.query['query'] = query unless query.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 + + # Stops watching a creative. Will stop push notifications being sent to the + # topics when the creative changes status. + # @param [String] account_id + # The account of the creative to stop notifications for. + # @param [String] creative_id + # The creative ID of the creative to stop notifications for. + # Specify "-" to specify stopping account level notifications. + # @param [Google::Apis::Adexchangebuyer2V2beta1::StopWatchingCreativeRequest] stop_watching_creative_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::Adexchangebuyer2V2beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::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 stop_watching_creative(account_id, creative_id, stop_watching_creative_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching', options) + command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::StopWatchingCreativeRequest::Representation + command.request_object = stop_watching_creative_request_object + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty + command.params['accountId'] = account_id unless account_id.nil? + command.params['creativeId'] = creative_id unless creative_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 + + # Updates a creative. + # @param [String] account_id + # The account that this creative belongs to. + # Can be used to filter the response of the + # creatives.list + # method. + # @param [String] creative_id + # The buyer-defined creative ID of this creative. + # Can be used to filter the response of the + # creatives.list + # method. + # @param [Google::Apis::Adexchangebuyer2V2beta1::Creative] creative_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::Adexchangebuyer2V2beta1::Creative] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::Creative] + # + # @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_creative(account_id, creative_id, creative_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/creatives/{creativeId}', options) + command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation + command.request_object = creative_object + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative + command.params['accountId'] = account_id unless account_id.nil? + command.params['creativeId'] = creative_id unless creative_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 + + # Watches a creative. Will result in push notifications being sent to the + # topic when the creative changes status. + # @param [String] account_id + # The account of the creative to watch. + # @param [String] creative_id + # The creative ID to watch for status changes. + # Specify "-" to watch all creatives under the above account. + # If both creative-level and account-level notifications are + # sent, only a single notification will be sent to the + # creative-level notification topic. + # @param [Google::Apis::Adexchangebuyer2V2beta1::WatchCreativeRequest] watch_creative_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::Adexchangebuyer2V2beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::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 watch_creative(account_id, creative_id, watch_creative_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}:watch', options) + command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::WatchCreativeRequest::Representation + command.request_object = watch_creative_request_object + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty + command.params['accountId'] = account_id unless account_id.nil? + command.params['creativeId'] = creative_id unless creative_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 + + # Associate an existing deal with a creative. + # @param [String] account_id + # The account the creative belongs to. + # @param [String] creative_id + # The ID of the creative associated with the deal. + # @param [Google::Apis::Adexchangebuyer2V2beta1::AddDealAssociationRequest] add_deal_association_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::Adexchangebuyer2V2beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::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 add_deal_association(account_id, creative_id, add_deal_association_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add', options) + command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::AddDealAssociationRequest::Representation + command.request_object = add_deal_association_request_object + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty + command.params['accountId'] = account_id unless account_id.nil? + command.params['creativeId'] = creative_id unless creative_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 @@ -708,14 +744,14 @@ module Google # @param [String] creative_id # The creative ID to list the associations from. # Specify "-" to list all creatives under the above account. + # @param [Fixnum] page_size + # Requested page size. Server may return fewer associations than requested. + # If unspecified, server will pick an appropriate default. # @param [String] page_token # A token identifying a page of results the server should return. # Typically, this is the value of # ListDealAssociationsResponse.next_page_token # returned from the previous call to 'ListDealAssociations' method. - # @param [Fixnum] page_size - # Requested page size. Server may return fewer associations than requested. - # If unspecified, server will pick an appropriate default. # @param [String] query # An optional query string to filter deal associations. If no filter is # specified, all associations will be returned. @@ -730,11 +766,11 @@ module Google # not_checked` # # Example: 'dealsId=12345 AND dealsStatus:disapproved' + # @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 # @@ -747,17 +783,17 @@ 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_account_creative_deal_associations(account_id, creative_id, page_token: nil, page_size: nil, query: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_account_creative_deal_associations(account_id, creative_id, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations', options) command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse::Representation command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse command.params['accountId'] = account_id unless account_id.nil? command.params['creativeId'] = creative_id unless creative_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? command.query['query'] = query unless query.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 @@ -767,11 +803,11 @@ module Google # @param [String] creative_id # The ID of the creative associated with the deal. # @param [Google::Apis::Adexchangebuyer2V2beta1::RemoveDealAssociationRequest] remove_deal_association_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -784,7 +820,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 remove_deal_association(account_id, creative_id, remove_deal_association_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def remove_deal_association(account_id, creative_id, remove_deal_association_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove', options) command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::RemoveDealAssociationRequest::Representation command.request_object = remove_deal_association_request_object @@ -792,44 +828,46 @@ module Google command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty command.params['accountId'] = account_id unless account_id.nil? command.params['creativeId'] = creative_id unless creative_id.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 - # Associate an existing deal with a creative. - # @param [String] account_id - # The account the creative belongs to. - # @param [String] creative_id - # The ID of the creative associated with the deal. - # @param [Google::Apis::Adexchangebuyer2V2beta1::AddDealAssociationRequest] add_deal_association_request_object + # Creates the specified filter set for the account with the given account ID. + # @param [Fixnum] account_id + # Account ID of the buyer. + # @param [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] filter_set_object + # @param [Boolean] is_transient + # Whether the filter set is transient, or should be persisted indefinitely. + # By default, filter sets are not transient. + # If transient, it will be available for at least 1 hour after creation. + # @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 # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::Adexchangebuyer2V2beta1::Empty] + # @return [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] # # @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 add_deal_association(account_id, creative_id, add_deal_association_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add', options) - command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::AddDealAssociationRequest::Representation - command.request_object = add_deal_association_request_object - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty + def create_account_filter_set(account_id, filter_set_object = nil, is_transient: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/filterSets', options) + command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation + command.request_object = filter_set_object + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet command.params['accountId'] = account_id unless account_id.nil? - command.params['creativeId'] = creative_id unless creative_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['isTransient'] = is_transient unless is_transient.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -839,11 +877,11 @@ module Google # Account ID of the buyer. # @param [Fixnum] filter_set_id # The ID of the filter set 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -856,20 +894,57 @@ 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 delete_account_filter_set(account_id, filter_set_id, quota_user: nil, fields: nil, options: nil, &block) + def delete_account_filter_set(account_id, filter_set_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}', options) command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty command.params['accountId'] = account_id unless account_id.nil? command.params['filterSetId'] = filter_set_id unless filter_set_id.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 + + # Retrieves the requested filter set for the account with the given account + # ID. + # @param [Fixnum] account_id + # Account ID of the buyer. + # @param [Fixnum] filter_set_id + # The ID of the filter set to get. + # @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::Adexchangebuyer2V2beta1::FilterSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] + # + # @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_filter_set(account_id, filter_set_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}', options) + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet + command.params['accountId'] = account_id unless account_id.nil? + command.params['filterSetId'] = filter_set_id unless filter_set_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 all filter sets for the account with the given account ID. # @param [Fixnum] account_id # Account ID of the buyer. + # @param [Fixnum] page_size + # Requested page size. The server may return fewer results than requested. + # If unspecified, the server will pick an appropriate default. # @param [String] page_token # A token identifying a page of results the server should return. # Typically, this is the value of @@ -877,14 +952,11 @@ module Google # returned from the previous call to the # accounts.filterSets.list # method. - # @param [Fixnum] page_size - # Requested page size. The server may return fewer results than requested. - # If unspecified, the server will pick an appropriate default. + # @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 # @@ -897,87 +969,15 @@ 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_account_filter_sets(account_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_account_filter_sets(account_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets', options) command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse::Representation command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse command.params['accountId'] = account_id unless account_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Retrieves the requested filter set for the account with the given account - # ID. - # @param [Fixnum] account_id - # Account ID of the buyer. - # @param [Fixnum] filter_set_id - # The ID of the filter set to get. - # @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::Adexchangebuyer2V2beta1::FilterSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] - # - # @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_filter_set(account_id, filter_set_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}', options) - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet - command.params['accountId'] = account_id unless account_id.nil? - command.params['filterSetId'] = filter_set_id unless filter_set_id.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates the specified filter set for the account with the given account ID. - # @param [Fixnum] account_id - # Account ID of the buyer. - # @param [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] filter_set_object - # @param [Boolean] is_transient - # Whether the filter set is transient, or should be persisted indefinitely. - # By default, filter sets are not transient. - # If transient, it will be available for at least 1 hour after creation. - # @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::Adexchangebuyer2V2beta1::FilterSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] - # - # @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_filter_set(account_id, filter_set_object = nil, is_transient: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/filterSets', options) - command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation - command.request_object = filter_set_object - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet - command.params['accountId'] = account_id unless account_id.nil? - command.query['isTransient'] = is_transient unless is_transient.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -986,6 +986,9 @@ module Google # Account ID of the buyer. # @param [Fixnum] filter_set_id # The ID of the filter set to apply. + # @param [Fixnum] page_size + # Requested page size. The server may return fewer results than requested. + # If unspecified, the server will pick an appropriate default. # @param [String] page_token # A token identifying a page of results the server should return. # Typically, this is the value of @@ -993,14 +996,11 @@ module Google # returned from the previous call to the # accounts.filterSets.bidMetrics.list # method. - # @param [Fixnum] page_size - # Requested page size. The server may return fewer results than requested. - # If unspecified, the server will pick an appropriate default. + # @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 # @@ -1013,61 +1013,16 @@ 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_account_filter_set_bid_metrics(account_id, filter_set_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_account_filter_set_bid_metrics(account_id, filter_set_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/bidMetrics', options) command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse::Representation command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse command.params['accountId'] = account_id unless account_id.nil? command.params['filterSetId'] = filter_set_id unless filter_set_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists all metrics that are measured in terms of number of impressions. - # @param [Fixnum] account_id - # Account ID of the buyer. - # @param [Fixnum] filter_set_id - # The ID of the filter set to apply. - # @param [String] page_token - # A token identifying a page of results the server should return. - # Typically, this is the value of - # ListImpressionMetricsResponse.nextPageToken - # returned from the previous call to the - # accounts.filterSets.impressionMetrics.list - # method. - # @param [Fixnum] page_size - # Requested page size. The server may return fewer results than requested. - # If unspecified, the server will pick an appropriate default. - # @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::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse] - # - # @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_filter_set_impression_metrics(account_id, filter_set_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/impressionMetrics', options) - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse - command.params['accountId'] = account_id unless account_id.nil? - command.params['filterSetId'] = filter_set_id unless filter_set_id.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.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 @@ -1077,6 +1032,9 @@ module Google # Account ID of the buyer. # @param [Fixnum] filter_set_id # The ID of the filter set to apply. + # @param [Fixnum] page_size + # Requested page size. The server may return fewer results than requested. + # If unspecified, the server will pick an appropriate default. # @param [String] page_token # A token identifying a page of results the server should return. # Typically, this is the value of @@ -1084,14 +1042,11 @@ module Google # returned from the previous call to the # accounts.filterSets.bidResponseErrors.list # method. - # @param [Fixnum] page_size - # Requested page size. The server may return fewer results than requested. - # If unspecified, the server will pick an appropriate default. + # @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 # @@ -1104,16 +1059,16 @@ 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_account_filter_set_bid_response_errors(account_id, filter_set_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_account_filter_set_bid_response_errors(account_id, filter_set_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/bidResponseErrors', options) command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse::Representation command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse command.params['accountId'] = account_id unless account_id.nil? command.params['filterSetId'] = filter_set_id unless filter_set_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.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 @@ -1123,6 +1078,9 @@ module Google # Account ID of the buyer. # @param [Fixnum] filter_set_id # The ID of the filter set to apply. + # @param [Fixnum] page_size + # Requested page size. The server may return fewer results than requested. + # If unspecified, the server will pick an appropriate default. # @param [String] page_token # A token identifying a page of results the server should return. # Typically, this is the value of @@ -1130,14 +1088,11 @@ module Google # returned from the previous call to the # accounts.filterSets.bidResponsesWithoutBids.list # method. - # @param [Fixnum] page_size - # Requested page size. The server may return fewer results than requested. - # If unspecified, the server will pick an appropriate default. + # @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 # @@ -1150,16 +1105,16 @@ 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_account_filter_set_bid_responses_without_bids(account_id, filter_set_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_account_filter_set_bid_responses_without_bids(account_id, filter_set_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/bidResponsesWithoutBids', options) command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse::Representation command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse command.params['accountId'] = account_id unless account_id.nil? command.params['filterSetId'] = filter_set_id unless filter_set_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.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 @@ -1169,6 +1124,9 @@ module Google # Account ID of the buyer. # @param [Fixnum] filter_set_id # The ID of the filter set to apply. + # @param [Fixnum] page_size + # Requested page size. The server may return fewer results than requested. + # If unspecified, the server will pick an appropriate default. # @param [String] page_token # A token identifying a page of results the server should return. # Typically, this is the value of @@ -1176,14 +1134,11 @@ module Google # returned from the previous call to the # accounts.filterSets.filteredBidRequests.list # method. - # @param [Fixnum] page_size - # Requested page size. The server may return fewer results than requested. - # If unspecified, the server will pick an appropriate default. + # @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 # @@ -1196,16 +1151,16 @@ 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_account_filter_set_filtered_bid_requests(account_id, filter_set_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_account_filter_set_filtered_bid_requests(account_id, filter_set_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/filteredBidRequests', options) command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse::Representation command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse command.params['accountId'] = account_id unless account_id.nil? command.params['filterSetId'] = filter_set_id unless filter_set_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.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 @@ -1215,6 +1170,9 @@ module Google # Account ID of the buyer. # @param [Fixnum] filter_set_id # The ID of the filter set to apply. + # @param [Fixnum] page_size + # Requested page size. The server may return fewer results than requested. + # If unspecified, the server will pick an appropriate default. # @param [String] page_token # A token identifying a page of results the server should return. # Typically, this is the value of @@ -1222,14 +1180,11 @@ module Google # returned from the previous call to the # accounts.filterSets.filteredBids.list # method. - # @param [Fixnum] page_size - # Requested page size. The server may return fewer results than requested. - # If unspecified, the server will pick an appropriate default. + # @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 # @@ -1242,16 +1197,16 @@ 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_account_filter_set_filtered_bids(account_id, filter_set_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_account_filter_set_filtered_bids(account_id, filter_set_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/filteredBids', options) command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse::Representation command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse command.params['accountId'] = account_id unless account_id.nil? command.params['filterSetId'] = filter_set_id unless filter_set_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.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 @@ -1267,6 +1222,9 @@ module Google # See # [creative-status-codes](https://developers.google.com/ad-exchange/rtb/ # downloads/creative-status-codes). + # @param [Fixnum] page_size + # Requested page size. The server may return fewer results than requested. + # If unspecified, the server will pick an appropriate default. # @param [String] page_token # A token identifying a page of results the server should return. # Typically, this is the value of @@ -1274,14 +1232,11 @@ module Google # returned from the previous call to the # accounts.filterSets.filteredBids.creatives.list # method. - # @param [Fixnum] page_size - # Requested page size. The server may return fewer results than requested. - # If unspecified, the server will pick an appropriate default. + # @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 # @@ -1294,17 +1249,17 @@ 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_account_filter_set_filtered_bid_creatives(account_id, filter_set_id, creative_status_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_account_filter_set_filtered_bid_creatives(account_id, filter_set_id, creative_status_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/filteredBids/{creativeStatusId}/creatives', options) command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse::Representation command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse command.params['accountId'] = account_id unless account_id.nil? command.params['filterSetId'] = filter_set_id unless filter_set_id.nil? command.params['creativeStatusId'] = creative_status_id unless creative_status_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.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 @@ -1319,7 +1274,10 @@ module Google # See # [creative-status-codes](https://developers.google.com/ad-exchange/rtb/ # downloads/creative-status-codes). - # Details are only available for statuses 14, 15, 17, 18, 19, 86, and 87. + # Details are only available for statuses 10, 14, 15, 17, 18, 19, 86, and 87. + # @param [Fixnum] page_size + # Requested page size. The server may return fewer results than requested. + # If unspecified, the server will pick an appropriate default. # @param [String] page_token # A token identifying a page of results the server should return. # Typically, this is the value of @@ -1327,14 +1285,11 @@ module Google # returned from the previous call to the # accounts.filterSets.filteredBids.details.list # method. - # @param [Fixnum] page_size - # Requested page size. The server may return fewer results than requested. - # If unspecified, the server will pick an appropriate default. + # @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 # @@ -1347,63 +1302,62 @@ 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_account_filter_set_filtered_bid_details(account_id, filter_set_id, creative_status_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_account_filter_set_filtered_bid_details(account_id, filter_set_id, creative_status_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/filteredBids/{creativeStatusId}/details', options) command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse::Representation command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse command.params['accountId'] = account_id unless account_id.nil? command.params['filterSetId'] = filter_set_id unless filter_set_id.nil? command.params['creativeStatusId'] = creative_status_id unless creative_status_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.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 - # List all reasons for which winning bids were not billable, with the number - # of bids not billed for each reason. + # Lists all metrics that are measured in terms of number of impressions. # @param [Fixnum] account_id # Account ID of the buyer. # @param [Fixnum] filter_set_id # The ID of the filter set to apply. - # @param [String] page_token - # A token identifying a page of results the server should return. - # Typically, this is the value of - # ListNonBillableWinningBidsResponse.nextPageToken - # returned from the previous call to the - # accounts.filterSets.nonBillableWinningBids.list - # method. # @param [Fixnum] page_size # Requested page size. The server may return fewer results than requested. # If unspecified, the server will pick an appropriate default. + # @param [String] page_token + # A token identifying a page of results the server should return. + # Typically, this is the value of + # ListImpressionMetricsResponse.nextPageToken + # returned from the previous call to the + # accounts.filterSets.impressionMetrics.list + # method. + # @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 # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse] parsed result object + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse] + # @return [Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse] # # @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_filter_set_non_billable_winning_bids(account_id, filter_set_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/nonBillableWinningBids', options) - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse + def list_account_filter_set_impression_metrics(account_id, filter_set_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/impressionMetrics', options) + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse command.params['accountId'] = account_id unless account_id.nil? command.params['filterSetId'] = filter_set_id unless filter_set_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.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 @@ -1423,11 +1377,11 @@ module Google # returned from the previous call to the # accounts.filterSets.losingBids.list # method. + # @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 # @@ -1440,7 +1394,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 list_account_filter_set_losing_bids(account_id, filter_set_id, page_size: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_account_filter_set_losing_bids(account_id, filter_set_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/losingBids', options) command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse::Representation command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse @@ -1448,8 +1402,54 @@ module Google command.params['filterSetId'] = filter_set_id unless filter_set_id.nil? command.query['pageSize'] = page_size unless page_size.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 + + # List all reasons for which winning bids were not billable, with the number + # of bids not billed for each reason. + # @param [Fixnum] account_id + # Account ID of the buyer. + # @param [Fixnum] filter_set_id + # The ID of the filter set to apply. + # @param [Fixnum] page_size + # Requested page size. The server may return fewer results than requested. + # If unspecified, the server will pick an appropriate default. + # @param [String] page_token + # A token identifying a page of results the server should return. + # Typically, this is the value of + # ListNonBillableWinningBidsResponse.nextPageToken + # returned from the previous call to the + # accounts.filterSets.nonBillableWinningBids.list + # method. + # @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::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse] + # + # @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_filter_set_non_billable_winning_bids(account_id, filter_set_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/nonBillableWinningBids', options) + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse + command.params['accountId'] = account_id unless account_id.nil? + command.params['filterSetId'] = filter_set_id unless filter_set_id.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 diff --git a/generated/google/apis/adexchangebuyer_v1_4.rb b/generated/google/apis/adexchangebuyer_v1_4.rb index 3e1b96d3d..07fcf3deb 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 = '20170504' + REVISION = '20170810' # 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 9792bfd75..5abbd3bf0 100644 --- a/generated/google/apis/adexchangebuyer_v1_4/classes.rb +++ b/generated/google/apis/adexchangebuyer_v1_4/classes.rb @@ -3153,7 +3153,7 @@ module Google class PublisherProfileApiProto include Google::Apis::Core::Hashable - # The account id of the seller. + # Deprecated: use the seller.account_id. The account id of the seller. # Corresponds to the JSON property `accountId` # @return [String] attr_accessor :account_id diff --git a/generated/google/apis/adexperiencereport_v1.rb b/generated/google/apis/adexperiencereport_v1.rb new file mode 100644 index 000000000..0b8133d0f --- /dev/null +++ b/generated/google/apis/adexperiencereport_v1.rb @@ -0,0 +1,35 @@ +# 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/adexperiencereport_v1/service.rb' +require 'google/apis/adexperiencereport_v1/classes.rb' +require 'google/apis/adexperiencereport_v1/representations.rb' + +module Google + module Apis + # Google Ad Experience Report API + # + # View Ad Experience Report data, and get a list of sites that have a + # significant number of annoying ads. + # + # @see https://developers.google.com/ad-experience-report/ + module AdexperiencereportV1 + VERSION = 'V1' + REVISION = '20170819' + + # Test scope for access to the Zoo service + AUTH_XAPI_ZOO = 'https://www.googleapis.com/auth/xapi.zoo' + end + end +end diff --git a/generated/google/apis/adexperiencereport_v1/classes.rb b/generated/google/apis/adexperiencereport_v1/classes.rb new file mode 100644 index 000000000..bad20babd --- /dev/null +++ b/generated/google/apis/adexperiencereport_v1/classes.rb @@ -0,0 +1,138 @@ +# 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 AdexperiencereportV1 + + # Summary of the ad experience rating of a site for a specific platform. + class PlatformSummary + include Google::Apis::Core::Hashable + + # The status of the site reviewed for abusive ads. + # Corresponds to the JSON property `abusiveStatus` + # @return [String] + attr_accessor :abusive_status + + # The status of the site reviewed for the Better Ads Standards. + # Corresponds to the JSON property `betterAdsStatus` + # @return [String] + attr_accessor :better_ads_status + + # The date on which ad filtering begins. + # Corresponds to the JSON property `enforcementTime` + # @return [String] + attr_accessor :enforcement_time + + # The ad filtering status of the site. + # Corresponds to the JSON property `filterStatus` + # @return [String] + attr_accessor :filter_status + + # The last time that the site changed status. + # Corresponds to the JSON property `lastChangeTime` + # @return [String] + attr_accessor :last_change_time + + # The assigned regions for the site and platform. + # Corresponds to the JSON property `region` + # @return [Array] + attr_accessor :region + + # A link that leads to a full ad experience report. + # Corresponds to the JSON property `reportUrl` + # @return [String] + attr_accessor :report_url + + # Whether the site is currently under review. + # Corresponds to the JSON property `underReview` + # @return [Boolean] + attr_accessor :under_review + alias_method :under_review?, :under_review + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @abusive_status = args[:abusive_status] if args.key?(:abusive_status) + @better_ads_status = args[:better_ads_status] if args.key?(:better_ads_status) + @enforcement_time = args[:enforcement_time] if args.key?(:enforcement_time) + @filter_status = args[:filter_status] if args.key?(:filter_status) + @last_change_time = args[:last_change_time] if args.key?(:last_change_time) + @region = args[:region] if args.key?(:region) + @report_url = args[:report_url] if args.key?(:report_url) + @under_review = args[:under_review] if args.key?(:under_review) + end + end + + # Response message for GetSiteSummary. + class SiteSummaryResponse + include Google::Apis::Core::Hashable + + # Summary of the ad experience rating of a site for a specific platform. + # Corresponds to the JSON property `desktopSummary` + # @return [Google::Apis::AdexperiencereportV1::PlatformSummary] + attr_accessor :desktop_summary + + # Summary of the ad experience rating of a site for a specific platform. + # Corresponds to the JSON property `mobileSummary` + # @return [Google::Apis::AdexperiencereportV1::PlatformSummary] + attr_accessor :mobile_summary + + # The name of the site reviewed. + # Corresponds to the JSON property `reviewedSite` + # @return [String] + attr_accessor :reviewed_site + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @desktop_summary = args[:desktop_summary] if args.key?(:desktop_summary) + @mobile_summary = args[:mobile_summary] if args.key?(:mobile_summary) + @reviewed_site = args[:reviewed_site] if args.key?(:reviewed_site) + end + end + + # Response message for ListViolatingSites. + class ViolatingSitesResponse + include Google::Apis::Core::Hashable + + # A list of summaries of violating sites. + # Corresponds to the JSON property `violatingSites` + # @return [Array] + attr_accessor :violating_sites + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @violating_sites = args[:violating_sites] if args.key?(:violating_sites) + end + end + end + end +end diff --git a/generated/google/apis/adexperiencereport_v1/representations.rb b/generated/google/apis/adexperiencereport_v1/representations.rb new file mode 100644 index 000000000..53e377460 --- /dev/null +++ b/generated/google/apis/adexperiencereport_v1/representations.rb @@ -0,0 +1,77 @@ +# 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 AdexperiencereportV1 + + class PlatformSummary + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SiteSummaryResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ViolatingSitesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PlatformSummary + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :abusive_status, as: 'abusiveStatus' + property :better_ads_status, as: 'betterAdsStatus' + property :enforcement_time, as: 'enforcementTime' + property :filter_status, as: 'filterStatus' + property :last_change_time, as: 'lastChangeTime' + collection :region, as: 'region' + property :report_url, as: 'reportUrl' + property :under_review, as: 'underReview' + end + end + + class SiteSummaryResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :desktop_summary, as: 'desktopSummary', class: Google::Apis::AdexperiencereportV1::PlatformSummary, decorator: Google::Apis::AdexperiencereportV1::PlatformSummary::Representation + + property :mobile_summary, as: 'mobileSummary', class: Google::Apis::AdexperiencereportV1::PlatformSummary, decorator: Google::Apis::AdexperiencereportV1::PlatformSummary::Representation + + property :reviewed_site, as: 'reviewedSite' + end + end + + class ViolatingSitesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :violating_sites, as: 'violatingSites', class: Google::Apis::AdexperiencereportV1::SiteSummaryResponse, decorator: Google::Apis::AdexperiencereportV1::SiteSummaryResponse::Representation + + end + end + end + end +end diff --git a/generated/google/apis/adexperiencereport_v1/service.rb b/generated/google/apis/adexperiencereport_v1/service.rb new file mode 100644 index 000000000..68a89c9f5 --- /dev/null +++ b/generated/google/apis/adexperiencereport_v1/service.rb @@ -0,0 +1,123 @@ +# 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 AdexperiencereportV1 + # Google Ad Experience Report API + # + # View Ad Experience Report data, and get a list of sites that have a + # significant number of annoying ads. + # + # @example + # require 'google/apis/adexperiencereport_v1' + # + # Adexperiencereport = Google::Apis::AdexperiencereportV1 # Alias the module + # service = Adexperiencereport::AdExperienceReportService.new + # + # @see https://developers.google.com/ad-experience-report/ + class AdExperienceReportService < 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://adexperiencereport.googleapis.com/', '') + @batch_path = 'batch' + end + + # Gets a summary of the ad experience rating of a site. + # @param [String] name + # The required site name. It should be the site property whose ad experiences + # may have been reviewed, and it should be URL-encoded. For example, + # sites/https%3A%2F%2Fwww.google.com. The server will return an error of + # BAD_REQUEST if this field is not filled in. Note that if the site property + # is not yet verified in Search Console, the reportUrl field returned by the + # API will lead to the verification page, prompting the user to go through + # that process before they can gain access to the Ad Experience Report. + # @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::AdexperiencereportV1::SiteSummaryResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AdexperiencereportV1::SiteSummaryResponse] + # + # @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_site(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::AdexperiencereportV1::SiteSummaryResponse::Representation + command.response_class = Google::Apis::AdexperiencereportV1::SiteSummaryResponse + 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 sites with Ad Experience Report statuses of "Failing" or "Warning". + # @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::AdexperiencereportV1::ViolatingSitesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AdexperiencereportV1::ViolatingSitesResponse] + # + # @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_violating_sites(fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/violatingSites', options) + command.response_representation = Google::Apis::AdexperiencereportV1::ViolatingSitesResponse::Representation + command.response_class = Google::Apis::AdexperiencereportV1::ViolatingSitesResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.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/adsense_v1_4.rb b/generated/google/apis/adsense_v1_4.rb index 2eb3418b8..d59fc9b18 100644 --- a/generated/google/apis/adsense_v1_4.rb +++ b/generated/google/apis/adsense_v1_4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/adsense/management/ module AdsenseV1_4 VERSION = 'V1_4' - REVISION = '20170711' + REVISION = '20170425' # View and manage your AdSense data AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense' diff --git a/generated/google/apis/adsensehost_v4_1.rb b/generated/google/apis/adsensehost_v4_1.rb index aaa795ab3..e7033b216 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 = '20170711' + REVISION = '20170425' # View and manage your AdSense host data and associated accounts AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost' diff --git a/generated/google/apis/analytics_v3.rb b/generated/google/apis/analytics_v3.rb index 5db379750..2fcad7cc7 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 = '20170321' + REVISION = '20170807' # View and manage your Google Analytics data AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics' diff --git a/generated/google/apis/analytics_v3/classes.rb b/generated/google/apis/analytics_v3/classes.rb index 011c914fc..ac7872fa3 100644 --- a/generated/google/apis/analytics_v3/classes.rb +++ b/generated/google/apis/analytics_v3/classes.rb @@ -589,6 +589,11 @@ module Google # @return [Array] attr_accessor :profiles_linked + # Collection of schema headers of the custom data source. + # Corresponds to the JSON property `schema` + # @return [Array] + attr_accessor :schema + # Link for this Analytics custom data source. # Corresponds to the JSON property `selfLink` # @return [String] @@ -604,7 +609,7 @@ module Google # @return [DateTime] attr_accessor :updated - # + # Upload type of the custom data source. # Corresponds to the JSON property `uploadType` # @return [String] attr_accessor :upload_type @@ -631,6 +636,7 @@ module Google @name = args[:name] if args.key?(:name) @parent_link = args[:parent_link] if args.key?(:parent_link) @profiles_linked = args[:profiles_linked] if args.key?(:profiles_linked) + @schema = args[:schema] if args.key?(:schema) @self_link = args[:self_link] if args.key?(:self_link) @type = args[:type] if args.key?(:type) @updated = args[:updated] if args.key?(:updated) @@ -3288,7 +3294,8 @@ module Google # @return [String] attr_accessor :status - # The type of the foreign account. For example `ADWORDS_LINKS`. + # The type of the foreign account. For example, `ADWORDS_LINKS`, `DBM_LINKS`, ` + # MCC_LINKS` or `OPTIMIZE`. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -5053,6 +5060,11 @@ module Google # @return [String] attr_accessor :status + # Time this file is uploaded. + # Corresponds to the JSON property `uploadTime` + # @return [DateTime] + attr_accessor :upload_time + def initialize(**args) update!(**args) end @@ -5065,6 +5077,7 @@ module Google @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @status = args[:status] if args.key?(:status) + @upload_time = args[:upload_time] if args.key?(:upload_time) end end diff --git a/generated/google/apis/analytics_v3/representations.rb b/generated/google/apis/analytics_v3/representations.rb index d56070209..1d0a23d58 100644 --- a/generated/google/apis/analytics_v3/representations.rb +++ b/generated/google/apis/analytics_v3/representations.rb @@ -782,6 +782,7 @@ module Google property :parent_link, as: 'parentLink', class: Google::Apis::AnalyticsV3::CustomDataSource::ParentLink, decorator: Google::Apis::AnalyticsV3::CustomDataSource::ParentLink::Representation collection :profiles_linked, as: 'profilesLinked' + collection :schema, as: 'schema' property :self_link, as: 'selfLink' property :type, as: 'type' property :updated, as: 'updated', type: DateTime @@ -1869,6 +1870,8 @@ module Google property :id, as: 'id' property :kind, as: 'kind' property :status, as: 'status' + property :upload_time, as: 'uploadTime', type: DateTime + end end diff --git a/generated/google/apis/analyticsreporting_v4.rb b/generated/google/apis/analyticsreporting_v4.rb index 4a856a370..655397512 100644 --- a/generated/google/apis/analyticsreporting_v4.rb +++ b/generated/google/apis/analyticsreporting_v4.rb @@ -25,13 +25,13 @@ module Google # @see https://developers.google.com/analytics/devguides/reporting/core/v4/ module AnalyticsreportingV4 VERSION = 'V4' - REVISION = '20170705' - - # View your Google Analytics data - AUTH_ANALYTICS_READONLY = 'https://www.googleapis.com/auth/analytics.readonly' + REVISION = '20170411' # View and manage your Google Analytics data AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics' + + # View your Google Analytics data + AUTH_ANALYTICS_READONLY = 'https://www.googleapis.com/auth/analytics.readonly' end end end diff --git a/generated/google/apis/analyticsreporting_v4/classes.rb b/generated/google/apis/analyticsreporting_v4/classes.rb index 98003c938..bcecadbdc 100644 --- a/generated/google/apis/analyticsreporting_v4/classes.rb +++ b/generated/google/apis/analyticsreporting_v4/classes.rb @@ -22,627 +22,6 @@ module Google module Apis module AnalyticsreportingV4 - # A segment sequence definition. - class SegmentSequenceStep - include Google::Apis::Core::Hashable - - # A sequence is specified with a list of Or grouped filters which are - # combined with `AND` operator. - # Corresponds to the JSON property `orFiltersForSegment` - # @return [Array] - attr_accessor :or_filters_for_segment - - # Specifies if the step immediately precedes or can be any time before the - # next step. - # Corresponds to the JSON property `matchType` - # @return [String] - attr_accessor :match_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @or_filters_for_segment = args[:or_filters_for_segment] if args.key?(:or_filters_for_segment) - @match_type = args[:match_type] if args.key?(:match_type) - end - end - - # [Metrics](https://support.google.com/analytics/answer/1033861) - # are the quantitative measurements. For example, the metric `ga:users` - # indicates the total number of users for the requested time period. - class Metric - include Google::Apis::Core::Hashable - - # Specifies how the metric expression should be formatted, for example - # `INTEGER`. - # Corresponds to the JSON property `formattingType` - # @return [String] - attr_accessor :formatting_type - - # An alias for the metric expression is an alternate name for the - # expression. The alias can be used for filtering and sorting. This field - # is optional and is useful if the expression is not a single metric but - # a complex expression which cannot be used in filtering and sorting. - # The alias is also used in the response column header. - # Corresponds to the JSON property `alias` - # @return [String] - attr_accessor :alias - - # A metric expression in the request. An expression is constructed from one - # or more metrics and numbers. Accepted operators include: Plus (+), Minus - # (-), Negation (Unary -), Divided by (/), Multiplied by (*), Parenthesis, - # Positive cardinal numbers (0-9), can include decimals and is limited to - # 1024 characters. Example `ga:totalRefunds/ga:users`, in most cases the - # metric expression is just a single metric name like `ga:users`. - # Adding mixed `MetricType` (E.g., `CURRENCY` + `PERCENTAGE`) metrics - # will result in unexpected results. - # Corresponds to the JSON property `expression` - # @return [String] - attr_accessor :expression - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @formatting_type = args[:formatting_type] if args.key?(:formatting_type) - @alias = args[:alias] if args.key?(:alias) - @expression = args[:expression] if args.key?(:expression) - end - end - - # The metric values in the pivot region. - class PivotValueRegion - include Google::Apis::Core::Hashable - - # The values of the metrics in each of the pivot regions. - # 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) - @values = args[:values] if args.key?(:values) - end - end - - # The data response corresponding to the request. - class Report - include Google::Apis::Core::Hashable - - # Page token to retrieve the next page of results in the list. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The data part of the report. - # Corresponds to the JSON property `data` - # @return [Google::Apis::AnalyticsreportingV4::ReportData] - attr_accessor :data - - # Column headers. - # Corresponds to the JSON property `columnHeader` - # @return [Google::Apis::AnalyticsreportingV4::ColumnHeader] - attr_accessor :column_header - - 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) - @data = args[:data] if args.key?(:data) - @column_header = args[:column_header] if args.key?(:column_header) - end - end - - # The headers for each of the pivot sections defined in the request. - class PivotHeader - include Google::Apis::Core::Hashable - - # The total number of groups for this pivot. - # Corresponds to the JSON property `totalPivotGroupsCount` - # @return [Fixnum] - attr_accessor :total_pivot_groups_count - - # A single pivot section header. - # Corresponds to the JSON property `pivotHeaderEntries` - # @return [Array] - attr_accessor :pivot_header_entries - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @total_pivot_groups_count = args[:total_pivot_groups_count] if args.key?(:total_pivot_groups_count) - @pivot_header_entries = args[:pivot_header_entries] if args.key?(:pivot_header_entries) - end - end - - # A contiguous set of days: startDate, startDate + 1 day, ..., endDate. - # The start and end dates are specified in - # [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) date format `YYYY-MM-DD`. - class DateRange - include Google::Apis::Core::Hashable - - # The start date for the query in the format `YYYY-MM-DD`. - # Corresponds to the JSON property `startDate` - # @return [String] - attr_accessor :start_date - - # The end date for the query in the format `YYYY-MM-DD`. - # Corresponds to the JSON property `endDate` - # @return [String] - attr_accessor :end_date - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @start_date = args[:start_date] if args.key?(:start_date) - @end_date = args[:end_date] if args.key?(:end_date) - end - end - - # The main request class which specifies the Reporting API request. - class ReportRequest - include Google::Apis::Core::Hashable - - # The desired report - # [sample](https://support.google.com/analytics/answer/2637192) size. - # If the the `samplingLevel` field is unspecified the `DEFAULT` sampling - # level is used. Every [ReportRequest](#ReportRequest) within a - # `batchGet` method must contain the same `samplingLevel` definition. See - # [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) - # for details. - # Corresponds to the JSON property `samplingLevel` - # @return [String] - attr_accessor :sampling_level - - # The dimensions requested. - # Requests can have a total of 7 dimensions. - # Corresponds to the JSON property `dimensions` - # @return [Array] - attr_accessor :dimensions - - # A continuation token to get the next page of the results. Adding this to - # the request will return the rows after the pageToken. The pageToken should - # be the value returned in the nextPageToken parameter in the response to - # the GetReports request. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # Date ranges in the request. The request can have a maximum of 2 date - # ranges. The response will contain a set of metric values for each - # combination of the dimensions for each date range in the request. So, if - # there are two date ranges, there will be two set of metric values, one for - # the original date range and one for the second date range. - # The `reportRequest.dateRanges` field should not be specified for cohorts - # or Lifetime value requests. - # If a date range is not provided, the default date range is (startDate: - # current date - 7 days, endDate: current date - 1 day). Every - # [ReportRequest](#ReportRequest) within a `batchGet` method must - # contain the same `dateRanges` definition. - # Corresponds to the JSON property `dateRanges` - # @return [Array] - attr_accessor :date_ranges - - # The pivot definitions. Requests can have a maximum of 2 pivots. - # Corresponds to the JSON property `pivots` - # @return [Array] - attr_accessor :pivots - - # If set to false, the response does not include rows if all the retrieved - # metrics are equal to zero. The default is false which will exclude these - # rows. - # Corresponds to the JSON property `includeEmptyRows` - # @return [Boolean] - attr_accessor :include_empty_rows - alias_method :include_empty_rows?, :include_empty_rows - - # The metric filter clauses. They are logically combined with the `AND` - # operator. Metric filters look at only the first date range and not the - # comparing date range. Note that filtering on metrics occurs after the - # metrics are aggregated. - # Corresponds to the JSON property `metricFilterClauses` - # @return [Array] - attr_accessor :metric_filter_clauses - - # Page size is for paging and specifies the maximum number of returned rows. - # Page size should be >= 0. A query returns the default of 1,000 rows. - # The Analytics Core Reporting API returns a maximum of 10,000 rows per - # request, no matter how many you ask for. It can also return fewer rows - # than requested, if there aren't as many dimension segments as you expect. - # For instance, there are fewer than 300 possible values for `ga:country`, - # so when segmenting only by country, you can't get more than 300 rows, - # even if you set `pageSize` to a higher value. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - # If set to true, hides the total of all metrics for all the matching rows, - # for every date range. The default false and will return the totals. - # Corresponds to the JSON property `hideTotals` - # @return [Boolean] - attr_accessor :hide_totals - alias_method :hide_totals?, :hide_totals - - # If set to true, hides the minimum and maximum across all matching rows. - # The default is false and the value ranges are returned. - # Corresponds to the JSON property `hideValueRanges` - # @return [Boolean] - attr_accessor :hide_value_ranges - alias_method :hide_value_ranges?, :hide_value_ranges - - # Defines a cohort group. - # For example: - # "cohortGroup": ` - # "cohorts": [` - # "name": "cohort 1", - # "type": "FIRST_VISIT_DATE", - # "dateRange": ` "startDate": "2015-08-01", "endDate": "2015-08-01" ` - # `,` - # "name": "cohort 2" - # "type": "FIRST_VISIT_DATE" - # "dateRange": ` "startDate": "2015-07-01", "endDate": "2015-07-01" ` - # `] - # ` - # Corresponds to the JSON property `cohortGroup` - # @return [Google::Apis::AnalyticsreportingV4::CohortGroup] - attr_accessor :cohort_group - - # Dimension or metric filters that restrict the data returned for your - # request. To use the `filtersExpression`, supply a dimension or metric on - # which to filter, followed by the filter expression. For example, the - # following expression selects `ga:browser` dimension which starts with - # Firefox; `ga:browser=~^Firefox`. For more information on dimensions - # and metric filters, see - # [Filters reference](https://developers.google.com/analytics/devguides/ - # reporting/core/v3/reference#filters). - # Corresponds to the JSON property `filtersExpression` - # @return [String] - attr_accessor :filters_expression - - # The Analytics - # [view ID](https://support.google.com/analytics/answer/1009618) - # from which to retrieve data. Every [ReportRequest](#ReportRequest) - # within a `batchGet` method must contain the same `viewId`. - # Corresponds to the JSON property `viewId` - # @return [String] - attr_accessor :view_id - - # The metrics requested. - # Requests must specify at least one metric. Requests can have a - # total of 10 metrics. - # Corresponds to the JSON property `metrics` - # @return [Array] - attr_accessor :metrics - - # The dimension filter clauses for filtering Dimension Values. They are - # logically combined with the `AND` operator. Note that filtering occurs - # before any dimensions are aggregated, so that the returned metrics - # represent the total for only the relevant dimensions. - # Corresponds to the JSON property `dimensionFilterClauses` - # @return [Array] - attr_accessor :dimension_filter_clauses - - # Sort order on output rows. To compare two rows, the elements of the - # following are applied in order until a difference is found. All date - # ranges in the output get the same row order. - # Corresponds to the JSON property `orderBys` - # @return [Array] - attr_accessor :order_bys - - # Segment the data returned for the request. A segment definition helps look - # at a subset of the segment request. A request can contain up to four - # segments. Every [ReportRequest](#ReportRequest) within a - # `batchGet` method must contain the same `segments` definition. Requests - # with segments must have the `ga:segment` dimension. - # Corresponds to the JSON property `segments` - # @return [Array] - attr_accessor :segments - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sampling_level = args[:sampling_level] if args.key?(:sampling_level) - @dimensions = args[:dimensions] if args.key?(:dimensions) - @page_token = args[:page_token] if args.key?(:page_token) - @date_ranges = args[:date_ranges] if args.key?(:date_ranges) - @pivots = args[:pivots] if args.key?(:pivots) - @include_empty_rows = args[:include_empty_rows] if args.key?(:include_empty_rows) - @metric_filter_clauses = args[:metric_filter_clauses] if args.key?(:metric_filter_clauses) - @page_size = args[:page_size] if args.key?(:page_size) - @hide_totals = args[:hide_totals] if args.key?(:hide_totals) - @hide_value_ranges = args[:hide_value_ranges] if args.key?(:hide_value_ranges) - @cohort_group = args[:cohort_group] if args.key?(:cohort_group) - @filters_expression = args[:filters_expression] if args.key?(:filters_expression) - @view_id = args[:view_id] if args.key?(:view_id) - @metrics = args[:metrics] if args.key?(:metrics) - @dimension_filter_clauses = args[:dimension_filter_clauses] if args.key?(:dimension_filter_clauses) - @order_bys = args[:order_bys] if args.key?(:order_bys) - @segments = args[:segments] if args.key?(:segments) - end - end - - # MetricFilter specifies the filter on a metric. - class MetricFilter - include Google::Apis::Core::Hashable - - # The metric that will be filtered on. A metricFilter must contain a metric - # name. A metric name can be an alias earlier defined as a metric or it can - # also be a metric expression. - # Corresponds to the JSON property `metricName` - # @return [String] - attr_accessor :metric_name - - # The value to compare against. - # Corresponds to the JSON property `comparisonValue` - # @return [String] - attr_accessor :comparison_value - - # Is the metric `EQUAL`, `LESS_THAN` or `GREATER_THAN` the - # comparisonValue, the default is `EQUAL`. If the operator is - # `IS_MISSING`, checks if the metric is missing and would ignore the - # comparisonValue. - # Corresponds to the JSON property `operator` - # @return [String] - attr_accessor :operator - - # Logical `NOT` operator. If this boolean is set to true, then the matching - # metric values will be excluded in the report. The default is false. - # Corresponds to the JSON property `not` - # @return [Boolean] - attr_accessor :not - alias_method :not?, :not - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metric_name = args[:metric_name] if args.key?(:metric_name) - @comparison_value = args[:comparison_value] if args.key?(:comparison_value) - @operator = args[:operator] if args.key?(:operator) - @not = args[:not] if args.key?(:not) - end - end - - # [Dimensions](https://support.google.com/analytics/answer/1033861) - # are attributes of your data. For example, the dimension `ga:city` - # indicates the city, for example, "Paris" or "New York", from which - # a session originates. - class Dimension - include Google::Apis::Core::Hashable - - # If non-empty, we place dimension values into buckets after string to - # int64. Dimension values that are not the string representation of an - # integral value will be converted to zero. The bucket values have to be in - # increasing order. Each bucket is closed on the lower end, and open on the - # upper end. The "first" bucket includes all values less than the first - # boundary, the "last" bucket includes all values up to infinity. Dimension - # values that fall in a bucket get transformed to a new dimension value. For - # example, if one gives a list of "0, 1, 3, 4, 7", then we return the - # following buckets: - # - bucket #1: values < 0, dimension value "<0" - # - bucket #2: values in [0,1), dimension value "0" - # - bucket #3: values in [1,3), dimension value "1-2" - # - bucket #4: values in [3,4), dimension value "3" - # - bucket #5: values in [4,7), dimension value "4-6" - # - bucket #6: values >= 7, dimension value "7+" - # NOTE: If you are applying histogram mutation on any dimension, and using - # that dimension in sort, you will want to use the sort type - # `HISTOGRAM_BUCKET` for that purpose. Without that the dimension values - # will be sorted according to dictionary - # (lexicographic) order. For example the ascending dictionary order is: - # "<50", "1001+", "121-1000", "50-120" - # And the ascending `HISTOGRAM_BUCKET` order is: - # "<50", "50-120", "121-1000", "1001+" - # The client has to explicitly request `"orderType": "HISTOGRAM_BUCKET"` - # for a histogram-mutated dimension. - # Corresponds to the JSON property `histogramBuckets` - # @return [Array] - attr_accessor :histogram_buckets - - # Name of the dimension to fetch, for example `ga:browser`. - # 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) - @histogram_buckets = args[:histogram_buckets] if args.key?(:histogram_buckets) - @name = args[:name] if args.key?(:name) - end - end - - # A Simple segment conditions consist of one or more dimension/metric - # conditions that can be combined. - class SimpleSegment - include Google::Apis::Core::Hashable - - # A list of segment filters groups which are combined with logical `AND` - # operator. - # Corresponds to the JSON property `orFiltersForSegment` - # @return [Array] - attr_accessor :or_filters_for_segment - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @or_filters_for_segment = args[:or_filters_for_segment] if args.key?(:or_filters_for_segment) - end - end - - # Dynamic segment definition for defining the segment within the request. - # A segment can select users, sessions or both. - class DynamicSegment - include Google::Apis::Core::Hashable - - # SegmentDefinition defines the segment to be a set of SegmentFilters which - # are combined together with a logical `AND` operation. - # Corresponds to the JSON property `userSegment` - # @return [Google::Apis::AnalyticsreportingV4::SegmentDefinition] - attr_accessor :user_segment - - # SegmentDefinition defines the segment to be a set of SegmentFilters which - # are combined together with a logical `AND` operation. - # Corresponds to the JSON property `sessionSegment` - # @return [Google::Apis::AnalyticsreportingV4::SegmentDefinition] - attr_accessor :session_segment - - # The name of the dynamic segment. - # 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) - @user_segment = args[:user_segment] if args.key?(:user_segment) - @session_segment = args[:session_segment] if args.key?(:session_segment) - @name = args[:name] if args.key?(:name) - end - end - - # Column headers. - class ColumnHeader - include Google::Apis::Core::Hashable - - # The headers for the metrics. - # Corresponds to the JSON property `metricHeader` - # @return [Google::Apis::AnalyticsreportingV4::MetricHeader] - attr_accessor :metric_header - - # The dimension names in the response. - # Corresponds to the JSON property `dimensions` - # @return [Array] - attr_accessor :dimensions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metric_header = args[:metric_header] if args.key?(:metric_header) - @dimensions = args[:dimensions] if args.key?(:dimensions) - end - end - - # Filter Clause to be used in a segment definition, can be wither a metric or - # a dimension filter. - class SegmentFilterClause - include Google::Apis::Core::Hashable - - # Matches the complement (`!`) of the filter. - # Corresponds to the JSON property `not` - # @return [Boolean] - attr_accessor :not - alias_method :not?, :not - - # Dimension filter specifies the filtering options on a dimension. - # Corresponds to the JSON property `dimensionFilter` - # @return [Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter] - attr_accessor :dimension_filter - - # Metric filter to be used in a segment filter clause. - # Corresponds to the JSON property `metricFilter` - # @return [Google::Apis::AnalyticsreportingV4::SegmentMetricFilter] - attr_accessor :metric_filter - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @not = args[:not] if args.key?(:not) - @dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter) - @metric_filter = args[:metric_filter] if args.key?(:metric_filter) - end - end - - # A row in the report. - class ReportRow - include Google::Apis::Core::Hashable - - # List of metrics for each requested DateRange. - # Corresponds to the JSON property `metrics` - # @return [Array] - attr_accessor :metrics - - # List of requested dimensions. - # Corresponds to the JSON property `dimensions` - # @return [Array] - attr_accessor :dimensions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metrics = args[:metrics] if args.key?(:metrics) - @dimensions = args[:dimensions] if args.key?(:dimensions) - end - end - - # Represents a group of metric filters. - # Set the operator value to specify how the filters are logically combined. - class MetricFilterClause - include Google::Apis::Core::Hashable - - # The repeated set of filters. They are logically combined based on the - # operator specified. - # Corresponds to the JSON property `filters` - # @return [Array] - attr_accessor :filters - - # The operator for combining multiple metric filters. If unspecified, it is - # treated as an `OR`. - # Corresponds to the JSON property `operator` - # @return [String] - attr_accessor :operator - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @filters = args[:filters] if args.key?(:filters) - @operator = args[:operator] if args.key?(:operator) - end - end - # Defines a cohort. A cohort is a group of users who share a common # characteristic. For example, all users with the same acquisition date # belong to the same cohort. @@ -681,203 +60,6 @@ module Google end end - # A list of segment filters in the `OR` group are combined with the logical OR - # operator. - class OrFiltersForSegment - include Google::Apis::Core::Hashable - - # List of segment filters to be combined with a `OR` operator. - # Corresponds to the JSON property `segmentFilterClauses` - # @return [Array] - attr_accessor :segment_filter_clauses - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @segment_filter_clauses = args[:segment_filter_clauses] if args.key?(:segment_filter_clauses) - end - end - - # The headers for the metrics. - class MetricHeader - include Google::Apis::Core::Hashable - - # Headers for the pivots in the response. - # Corresponds to the JSON property `pivotHeaders` - # @return [Array] - attr_accessor :pivot_headers - - # Headers for the metrics in the response. - # Corresponds to the JSON property `metricHeaderEntries` - # @return [Array] - attr_accessor :metric_header_entries - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @pivot_headers = args[:pivot_headers] if args.key?(:pivot_headers) - @metric_header_entries = args[:metric_header_entries] if args.key?(:metric_header_entries) - end - end - - # A group of dimension filters. Set the operator value to specify how - # the filters are logically combined. - class DimensionFilterClause - include Google::Apis::Core::Hashable - - # The repeated set of filters. They are logically combined based on the - # operator specified. - # Corresponds to the JSON property `filters` - # @return [Array] - attr_accessor :filters - - # The operator for combining multiple dimension filters. If unspecified, it - # is treated as an `OR`. - # Corresponds to the JSON property `operator` - # @return [String] - attr_accessor :operator - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @filters = args[:filters] if args.key?(:filters) - @operator = args[:operator] if args.key?(:operator) - end - end - - # The main response class which holds the reports from the Reporting API - # `batchGet` call. - class GetReportsResponse - include Google::Apis::Core::Hashable - - # Responses corresponding to each of the request. - # Corresponds to the JSON property `reports` - # @return [Array] - attr_accessor :reports - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @reports = args[:reports] if args.key?(:reports) - end - end - - # Sequence conditions consist of one or more steps, where each step is defined - # by one or more dimension/metric conditions. Multiple steps can be combined - # with special sequence operators. - class SequenceSegment - include Google::Apis::Core::Hashable - - # If set, first step condition must match the first hit of the visitor (in - # the date range). - # Corresponds to the JSON property `firstStepShouldMatchFirstHit` - # @return [Boolean] - attr_accessor :first_step_should_match_first_hit - alias_method :first_step_should_match_first_hit?, :first_step_should_match_first_hit - - # The list of steps in the sequence. - # Corresponds to the JSON property `segmentSequenceSteps` - # @return [Array] - attr_accessor :segment_sequence_steps - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @first_step_should_match_first_hit = args[:first_step_should_match_first_hit] if args.key?(:first_step_should_match_first_hit) - @segment_sequence_steps = args[:segment_sequence_steps] if args.key?(:segment_sequence_steps) - end - end - - # Metric filter to be used in a segment filter clause. - class SegmentMetricFilter - include Google::Apis::Core::Hashable - - # Specifies is the operation to perform to compare the metric. The default - # is `EQUAL`. - # Corresponds to the JSON property `operator` - # @return [String] - attr_accessor :operator - - # The metric that will be filtered on. A `metricFilter` must contain a - # metric name. - # Corresponds to the JSON property `metricName` - # @return [String] - attr_accessor :metric_name - - # Scope for a metric defines the level at which that metric is defined. The - # specified metric scope must be equal to or greater than its primary scope - # as defined in the data model. The primary scope is defined by if the - # segment is selecting users or sessions. - # Corresponds to the JSON property `scope` - # @return [String] - attr_accessor :scope - - # Max comparison value is only used for `BETWEEN` operator. - # Corresponds to the JSON property `maxComparisonValue` - # @return [String] - attr_accessor :max_comparison_value - - # The value to compare against. If the operator is `BETWEEN`, this value is - # treated as minimum comparison value. - # Corresponds to the JSON property `comparisonValue` - # @return [String] - attr_accessor :comparison_value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @operator = args[:operator] if args.key?(:operator) - @metric_name = args[:metric_name] if args.key?(:metric_name) - @scope = args[:scope] if args.key?(:scope) - @max_comparison_value = args[:max_comparison_value] if args.key?(:max_comparison_value) - @comparison_value = args[:comparison_value] if args.key?(:comparison_value) - end - end - - # Used to return a list of metrics for a single DateRange / dimension - # combination - class DateRangeValues - include Google::Apis::Core::Hashable - - # Each value corresponds to each Metric in the request. - # Corresponds to the JSON property `values` - # @return [Array] - attr_accessor :values - - # The values of each pivot region. - # Corresponds to the JSON property `pivotValueRegions` - # @return [Array] - attr_accessor :pivot_value_regions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @values = args[:values] if args.key?(:values) - @pivot_value_regions = args[:pivot_value_regions] if args.key?(:pivot_value_regions) - end - end - # Defines a cohort group. # For example: # "cohortGroup": ` @@ -942,6 +124,247 @@ module Google end end + # Column headers. + class ColumnHeader + include Google::Apis::Core::Hashable + + # The dimension names in the response. + # Corresponds to the JSON property `dimensions` + # @return [Array] + attr_accessor :dimensions + + # The headers for the metrics. + # Corresponds to the JSON property `metricHeader` + # @return [Google::Apis::AnalyticsreportingV4::MetricHeader] + attr_accessor :metric_header + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dimensions = args[:dimensions] if args.key?(:dimensions) + @metric_header = args[:metric_header] if args.key?(:metric_header) + end + end + + # A contiguous set of days: startDate, startDate + 1 day, ..., endDate. + # The start and end dates are specified in + # [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) date format `YYYY-MM-DD`. + class DateRange + include Google::Apis::Core::Hashable + + # The end date for the query in the format `YYYY-MM-DD`. + # Corresponds to the JSON property `endDate` + # @return [String] + attr_accessor :end_date + + # The start date for the query in the format `YYYY-MM-DD`. + # Corresponds to the JSON property `startDate` + # @return [String] + attr_accessor :start_date + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_date = args[:end_date] if args.key?(:end_date) + @start_date = args[:start_date] if args.key?(:start_date) + end + end + + # Used to return a list of metrics for a single DateRange / dimension + # combination + class DateRangeValues + include Google::Apis::Core::Hashable + + # The values of each pivot region. + # Corresponds to the JSON property `pivotValueRegions` + # @return [Array] + attr_accessor :pivot_value_regions + + # Each value corresponds to each Metric in the request. + # 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) + @pivot_value_regions = args[:pivot_value_regions] if args.key?(:pivot_value_regions) + @values = args[:values] if args.key?(:values) + end + end + + # [Dimensions](https://support.google.com/analytics/answer/1033861) + # are attributes of your data. For example, the dimension `ga:city` + # indicates the city, for example, "Paris" or "New York", from which + # a session originates. + class Dimension + include Google::Apis::Core::Hashable + + # If non-empty, we place dimension values into buckets after string to + # int64. Dimension values that are not the string representation of an + # integral value will be converted to zero. The bucket values have to be in + # increasing order. Each bucket is closed on the lower end, and open on the + # upper end. The "first" bucket includes all values less than the first + # boundary, the "last" bucket includes all values up to infinity. Dimension + # values that fall in a bucket get transformed to a new dimension value. For + # example, if one gives a list of "0, 1, 3, 4, 7", then we return the + # following buckets: + # - bucket #1: values < 0, dimension value "<0" + # - bucket #2: values in [0,1), dimension value "0" + # - bucket #3: values in [1,3), dimension value "1-2" + # - bucket #4: values in [3,4), dimension value "3" + # - bucket #5: values in [4,7), dimension value "4-6" + # - bucket #6: values >= 7, dimension value "7+" + # NOTE: If you are applying histogram mutation on any dimension, and using + # that dimension in sort, you will want to use the sort type + # `HISTOGRAM_BUCKET` for that purpose. Without that the dimension values + # will be sorted according to dictionary + # (lexicographic) order. For example the ascending dictionary order is: + # "<50", "1001+", "121-1000", "50-120" + # And the ascending `HISTOGRAM_BUCKET` order is: + # "<50", "50-120", "121-1000", "1001+" + # The client has to explicitly request `"orderType": "HISTOGRAM_BUCKET"` + # for a histogram-mutated dimension. + # Corresponds to the JSON property `histogramBuckets` + # @return [Array] + attr_accessor :histogram_buckets + + # Name of the dimension to fetch, for example `ga:browser`. + # 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) + @histogram_buckets = args[:histogram_buckets] if args.key?(:histogram_buckets) + @name = args[:name] if args.key?(:name) + end + end + + # Dimension filter specifies the filtering options on a dimension. + class DimensionFilter + include Google::Apis::Core::Hashable + + # Should the match be case sensitive? Default is false. + # Corresponds to the JSON property `caseSensitive` + # @return [Boolean] + attr_accessor :case_sensitive + alias_method :case_sensitive?, :case_sensitive + + # The dimension to filter on. A DimensionFilter must contain a dimension. + # Corresponds to the JSON property `dimensionName` + # @return [String] + attr_accessor :dimension_name + + # Strings or regular expression to match against. Only the first value of + # the list is used for comparison unless the operator is `IN_LIST`. + # If `IN_LIST` operator, then the entire list is used to filter the + # dimensions as explained in the description of the `IN_LIST` operator. + # Corresponds to the JSON property `expressions` + # @return [Array] + attr_accessor :expressions + + # Logical `NOT` operator. If this boolean is set to true, then the matching + # dimension values will be excluded in the report. The default is false. + # Corresponds to the JSON property `not` + # @return [Boolean] + attr_accessor :not + alias_method :not?, :not + + # How to match the dimension to the expression. The default is REGEXP. + # Corresponds to the JSON property `operator` + # @return [String] + attr_accessor :operator + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive) + @dimension_name = args[:dimension_name] if args.key?(:dimension_name) + @expressions = args[:expressions] if args.key?(:expressions) + @not = args[:not] if args.key?(:not) + @operator = args[:operator] if args.key?(:operator) + end + end + + # A group of dimension filters. Set the operator value to specify how + # the filters are logically combined. + class DimensionFilterClause + include Google::Apis::Core::Hashable + + # The repeated set of filters. They are logically combined based on the + # operator specified. + # Corresponds to the JSON property `filters` + # @return [Array] + attr_accessor :filters + + # The operator for combining multiple dimension filters. If unspecified, it + # is treated as an `OR`. + # Corresponds to the JSON property `operator` + # @return [String] + attr_accessor :operator + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @filters = args[:filters] if args.key?(:filters) + @operator = args[:operator] if args.key?(:operator) + end + end + + # Dynamic segment definition for defining the segment within the request. + # A segment can select users, sessions or both. + class DynamicSegment + include Google::Apis::Core::Hashable + + # The name of the dynamic segment. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # SegmentDefinition defines the segment to be a set of SegmentFilters which + # are combined together with a logical `AND` operation. + # Corresponds to the JSON property `sessionSegment` + # @return [Google::Apis::AnalyticsreportingV4::SegmentDefinition] + attr_accessor :session_segment + + # SegmentDefinition defines the segment to be a set of SegmentFilters which + # are combined together with a logical `AND` operation. + # Corresponds to the JSON property `userSegment` + # @return [Google::Apis::AnalyticsreportingV4::SegmentDefinition] + attr_accessor :user_segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @session_segment = args[:session_segment] if args.key?(:session_segment) + @user_segment = args[:user_segment] if args.key?(:user_segment) + end + end + # The batch request containing multiple report request. class GetReportsRequest include Google::Apis::Core::Hashable @@ -963,57 +386,15 @@ module Google end end - # The Pivot describes the pivot section in the request. - # The Pivot helps rearrange the information in the table for certain reports - # by pivoting your data on a second dimension. - class Pivot + # The main response class which holds the reports from the Reporting API + # `batchGet` call. + class GetReportsResponse include Google::Apis::Core::Hashable - # Specifies the maximum number of groups to return. - # The default value is 10, also the maximum value is 1,000. - # Corresponds to the JSON property `maxGroupCount` - # @return [Fixnum] - attr_accessor :max_group_count - - # If k metrics were requested, then the response will contain some - # data-dependent multiple of k columns in the report. E.g., if you pivoted - # on the dimension `ga:browser` then you'd get k columns for "Firefox", k - # columns for "IE", k columns for "Chrome", etc. The ordering of the groups - # of columns is determined by descending order of "total" for the first of - # the k values. Ties are broken by lexicographic ordering of the first - # pivot dimension, then lexicographic ordering of the second pivot - # dimension, and so on. E.g., if the totals for the first value for - # Firefox, IE, and Chrome were 8, 2, 8, respectively, the order of columns - # would be Chrome, Firefox, IE. - # The following let you choose which of the groups of k columns are - # included in the response. - # Corresponds to the JSON property `startGroup` - # @return [Fixnum] - attr_accessor :start_group - - # The pivot metrics. Pivot metrics are part of the - # restriction on total number of metrics allowed in the request. - # Corresponds to the JSON property `metrics` - # @return [Array] - attr_accessor :metrics - - # DimensionFilterClauses are logically combined with an `AND` operator: only - # data that is included by all these DimensionFilterClauses contributes to - # the values in this pivot region. Dimension filters can be used to restrict - # the columns shown in the pivot region. For example if you have - # `ga:browser` as the requested dimension in the pivot region, and you - # specify key filters to restrict `ga:browser` to only "IE" or "Firefox", - # then only those two browsers would show up as columns. - # Corresponds to the JSON property `dimensionFilterClauses` - # @return [Array] - attr_accessor :dimension_filter_clauses - - # A list of dimensions to show as pivot columns. A Pivot can have a maximum - # of 4 dimensions. Pivot dimensions are part of the restriction on the - # total number of dimensions allowed in the request. - # Corresponds to the JSON property `dimensions` - # @return [Array] - attr_accessor :dimensions + # Responses corresponding to each of the request. + # Corresponds to the JSON property `reports` + # @return [Array] + attr_accessor :reports def initialize(**args) update!(**args) @@ -1021,33 +402,42 @@ module Google # Update properties of this object def update!(**args) - @max_group_count = args[:max_group_count] if args.key?(:max_group_count) - @start_group = args[:start_group] if args.key?(:start_group) - @metrics = args[:metrics] if args.key?(:metrics) - @dimension_filter_clauses = args[:dimension_filter_clauses] if args.key?(:dimension_filter_clauses) - @dimensions = args[:dimensions] if args.key?(:dimensions) + @reports = args[:reports] if args.key?(:reports) end end - # The headers for the each of the metric column corresponding to the metrics - # requested in the pivots section of the response. - class PivotHeaderEntry + # [Metrics](https://support.google.com/analytics/answer/1033861) + # are the quantitative measurements. For example, the metric `ga:users` + # indicates the total number of users for the requested time period. + class Metric include Google::Apis::Core::Hashable - # Header for the metrics. - # Corresponds to the JSON property `metric` - # @return [Google::Apis::AnalyticsreportingV4::MetricHeaderEntry] - attr_accessor :metric + # An alias for the metric expression is an alternate name for the + # expression. The alias can be used for filtering and sorting. This field + # is optional and is useful if the expression is not a single metric but + # a complex expression which cannot be used in filtering and sorting. + # The alias is also used in the response column header. + # Corresponds to the JSON property `alias` + # @return [String] + attr_accessor :alias - # The name of the dimensions in the pivot response. - # Corresponds to the JSON property `dimensionNames` - # @return [Array] - attr_accessor :dimension_names + # A metric expression in the request. An expression is constructed from one + # or more metrics and numbers. Accepted operators include: Plus (+), Minus + # (-), Negation (Unary -), Divided by (/), Multiplied by (*), Parenthesis, + # Positive cardinal numbers (0-9), can include decimals and is limited to + # 1024 characters. Example `ga:totalRefunds/ga:users`, in most cases the + # metric expression is just a single metric name like `ga:users`. + # Adding mixed `MetricType` (E.g., `CURRENCY` + `PERCENTAGE`) metrics + # will result in unexpected results. + # Corresponds to the JSON property `expression` + # @return [String] + attr_accessor :expression - # The values for the dimensions in the pivot. - # Corresponds to the JSON property `dimensionValues` - # @return [Array] - attr_accessor :dimension_values + # Specifies how the metric expression should be formatted, for example + # `INTEGER`. + # Corresponds to the JSON property `formattingType` + # @return [String] + attr_accessor :formatting_type def initialize(**args) update!(**args) @@ -1055,54 +445,42 @@ module Google # Update properties of this object def update!(**args) - @metric = args[:metric] if args.key?(:metric) - @dimension_names = args[:dimension_names] if args.key?(:dimension_names) - @dimension_values = args[:dimension_values] if args.key?(:dimension_values) + @alias = args[:alias] if args.key?(:alias) + @expression = args[:expression] if args.key?(:expression) + @formatting_type = args[:formatting_type] if args.key?(:formatting_type) end end - # SegmentFilter defines the segment to be either a simple or a sequence - # segment. A simple segment condition contains dimension and metric conditions - # to select the sessions or users. A sequence segment condition can be used to - # select users or sessions based on sequential conditions. - class SegmentFilter + # MetricFilter specifies the filter on a metric. + class MetricFilter include Google::Apis::Core::Hashable - # Sequence conditions consist of one or more steps, where each step is defined - # by one or more dimension/metric conditions. Multiple steps can be combined - # with special sequence operators. - # Corresponds to the JSON property `sequenceSegment` - # @return [Google::Apis::AnalyticsreportingV4::SequenceSegment] - attr_accessor :sequence_segment + # The value to compare against. + # Corresponds to the JSON property `comparisonValue` + # @return [String] + attr_accessor :comparison_value - # If true, match the complement of simple or sequence segment. - # For example, to match all visits not from "New York", we can define the - # segment as follows: - # "sessionSegment": ` - # "segmentFilters": [` - # "simpleSegment" :` - # "orFiltersForSegment": [` - # "segmentFilterClauses":[` - # "dimensionFilter": ` - # "dimensionName": "ga:city", - # "expressions": ["New York"] - # ` - # `] - # `] - # `, - # "not": "True" - # `] - # `, + # The metric that will be filtered on. A metricFilter must contain a metric + # name. A metric name can be an alias earlier defined as a metric or it can + # also be a metric expression. + # Corresponds to the JSON property `metricName` + # @return [String] + attr_accessor :metric_name + + # Logical `NOT` operator. If this boolean is set to true, then the matching + # metric values will be excluded in the report. The default is false. # Corresponds to the JSON property `not` # @return [Boolean] attr_accessor :not alias_method :not?, :not - # A Simple segment conditions consist of one or more dimension/metric - # conditions that can be combined. - # Corresponds to the JSON property `simpleSegment` - # @return [Google::Apis::AnalyticsreportingV4::SimpleSegment] - attr_accessor :simple_segment + # Is the metric `EQUAL`, `LESS_THAN` or `GREATER_THAN` the + # comparisonValue, the default is `EQUAL`. If the operator is + # `IS_MISSING`, checks if the metric is missing and would ignore the + # comparisonValue. + # Corresponds to the JSON property `operator` + # @return [String] + attr_accessor :operator def initialize(**args) update!(**args) @@ -1110,22 +488,29 @@ module Google # Update properties of this object def update!(**args) - @sequence_segment = args[:sequence_segment] if args.key?(:sequence_segment) + @comparison_value = args[:comparison_value] if args.key?(:comparison_value) + @metric_name = args[:metric_name] if args.key?(:metric_name) @not = args[:not] if args.key?(:not) - @simple_segment = args[:simple_segment] if args.key?(:simple_segment) + @operator = args[:operator] if args.key?(:operator) end end - # SegmentDefinition defines the segment to be a set of SegmentFilters which - # are combined together with a logical `AND` operation. - class SegmentDefinition + # Represents a group of metric filters. + # Set the operator value to specify how the filters are logically combined. + class MetricFilterClause include Google::Apis::Core::Hashable - # A segment is defined by a set of segment filters which are combined - # together with a logical `AND` operation. - # Corresponds to the JSON property `segmentFilters` - # @return [Array] - attr_accessor :segment_filters + # The repeated set of filters. They are logically combined based on the + # operator specified. + # Corresponds to the JSON property `filters` + # @return [Array] + attr_accessor :filters + + # The operator for combining multiple metric filters. If unspecified, it is + # treated as an `OR`. + # Corresponds to the JSON property `operator` + # @return [String] + attr_accessor :operator def initialize(**args) update!(**args) @@ -1133,7 +518,33 @@ module Google # Update properties of this object def update!(**args) - @segment_filters = args[:segment_filters] if args.key?(:segment_filters) + @filters = args[:filters] if args.key?(:filters) + @operator = args[:operator] if args.key?(:operator) + end + end + + # The headers for the metrics. + class MetricHeader + include Google::Apis::Core::Hashable + + # Headers for the metrics in the response. + # Corresponds to the JSON property `metricHeaderEntries` + # @return [Array] + attr_accessor :metric_header_entries + + # Headers for the pivots in the response. + # Corresponds to the JSON property `pivotHeaders` + # @return [Array] + attr_accessor :pivot_headers + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metric_header_entries = args[:metric_header_entries] if args.key?(:metric_header_entries) + @pivot_headers = args[:pivot_headers] if args.key?(:pivot_headers) end end @@ -1162,10 +573,285 @@ module Google end end + # A list of segment filters in the `OR` group are combined with the logical OR + # operator. + class OrFiltersForSegment + include Google::Apis::Core::Hashable + + # List of segment filters to be combined with a `OR` operator. + # Corresponds to the JSON property `segmentFilterClauses` + # @return [Array] + attr_accessor :segment_filter_clauses + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment_filter_clauses = args[:segment_filter_clauses] if args.key?(:segment_filter_clauses) + end + end + + # Specifies the sorting options. + class OrderBy + include Google::Apis::Core::Hashable + + # The field which to sort by. The default sort order is ascending. Example: + # `ga:browser`. + # Note, that you can only specify one field for sort here. For example, + # `ga:browser, ga:city` is not valid. + # Corresponds to the JSON property `fieldName` + # @return [String] + attr_accessor :field_name + + # The order type. The default orderType is `VALUE`. + # Corresponds to the JSON property `orderType` + # @return [String] + attr_accessor :order_type + + # The sorting order for the field. + # Corresponds to the JSON property `sortOrder` + # @return [String] + attr_accessor :sort_order + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field_name = args[:field_name] if args.key?(:field_name) + @order_type = args[:order_type] if args.key?(:order_type) + @sort_order = args[:sort_order] if args.key?(:sort_order) + end + end + + # The Pivot describes the pivot section in the request. + # The Pivot helps rearrange the information in the table for certain reports + # by pivoting your data on a second dimension. + class Pivot + include Google::Apis::Core::Hashable + + # DimensionFilterClauses are logically combined with an `AND` operator: only + # data that is included by all these DimensionFilterClauses contributes to + # the values in this pivot region. Dimension filters can be used to restrict + # the columns shown in the pivot region. For example if you have + # `ga:browser` as the requested dimension in the pivot region, and you + # specify key filters to restrict `ga:browser` to only "IE" or "Firefox", + # then only those two browsers would show up as columns. + # Corresponds to the JSON property `dimensionFilterClauses` + # @return [Array] + attr_accessor :dimension_filter_clauses + + # A list of dimensions to show as pivot columns. A Pivot can have a maximum + # of 4 dimensions. Pivot dimensions are part of the restriction on the + # total number of dimensions allowed in the request. + # Corresponds to the JSON property `dimensions` + # @return [Array] + attr_accessor :dimensions + + # Specifies the maximum number of groups to return. + # The default value is 10, also the maximum value is 1,000. + # Corresponds to the JSON property `maxGroupCount` + # @return [Fixnum] + attr_accessor :max_group_count + + # The pivot metrics. Pivot metrics are part of the + # restriction on total number of metrics allowed in the request. + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics + + # If k metrics were requested, then the response will contain some + # data-dependent multiple of k columns in the report. E.g., if you pivoted + # on the dimension `ga:browser` then you'd get k columns for "Firefox", k + # columns for "IE", k columns for "Chrome", etc. The ordering of the groups + # of columns is determined by descending order of "total" for the first of + # the k values. Ties are broken by lexicographic ordering of the first + # pivot dimension, then lexicographic ordering of the second pivot + # dimension, and so on. E.g., if the totals for the first value for + # Firefox, IE, and Chrome were 8, 2, 8, respectively, the order of columns + # would be Chrome, Firefox, IE. + # The following let you choose which of the groups of k columns are + # included in the response. + # Corresponds to the JSON property `startGroup` + # @return [Fixnum] + attr_accessor :start_group + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dimension_filter_clauses = args[:dimension_filter_clauses] if args.key?(:dimension_filter_clauses) + @dimensions = args[:dimensions] if args.key?(:dimensions) + @max_group_count = args[:max_group_count] if args.key?(:max_group_count) + @metrics = args[:metrics] if args.key?(:metrics) + @start_group = args[:start_group] if args.key?(:start_group) + end + end + + # The headers for each of the pivot sections defined in the request. + class PivotHeader + include Google::Apis::Core::Hashable + + # A single pivot section header. + # Corresponds to the JSON property `pivotHeaderEntries` + # @return [Array] + attr_accessor :pivot_header_entries + + # The total number of groups for this pivot. + # Corresponds to the JSON property `totalPivotGroupsCount` + # @return [Fixnum] + attr_accessor :total_pivot_groups_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @pivot_header_entries = args[:pivot_header_entries] if args.key?(:pivot_header_entries) + @total_pivot_groups_count = args[:total_pivot_groups_count] if args.key?(:total_pivot_groups_count) + end + end + + # The headers for the each of the metric column corresponding to the metrics + # requested in the pivots section of the response. + class PivotHeaderEntry + include Google::Apis::Core::Hashable + + # The name of the dimensions in the pivot response. + # Corresponds to the JSON property `dimensionNames` + # @return [Array] + attr_accessor :dimension_names + + # The values for the dimensions in the pivot. + # Corresponds to the JSON property `dimensionValues` + # @return [Array] + attr_accessor :dimension_values + + # Header for the metrics. + # Corresponds to the JSON property `metric` + # @return [Google::Apis::AnalyticsreportingV4::MetricHeaderEntry] + attr_accessor :metric + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dimension_names = args[:dimension_names] if args.key?(:dimension_names) + @dimension_values = args[:dimension_values] if args.key?(:dimension_values) + @metric = args[:metric] if args.key?(:metric) + end + end + + # The metric values in the pivot region. + class PivotValueRegion + include Google::Apis::Core::Hashable + + # The values of the metrics in each of the pivot regions. + # 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) + @values = args[:values] if args.key?(:values) + end + end + + # The data response corresponding to the request. + class Report + include Google::Apis::Core::Hashable + + # Column headers. + # Corresponds to the JSON property `columnHeader` + # @return [Google::Apis::AnalyticsreportingV4::ColumnHeader] + attr_accessor :column_header + + # The data part of the report. + # Corresponds to the JSON property `data` + # @return [Google::Apis::AnalyticsreportingV4::ReportData] + attr_accessor :data + + # Page token to retrieve the next page of results in the list. + # 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) + @column_header = args[:column_header] if args.key?(:column_header) + @data = args[:data] if args.key?(:data) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # The data part of the report. class ReportData include Google::Apis::Core::Hashable + # The last time the data in the report was refreshed. All the hits received + # before this timestamp are included in the calculation of the report. + # Corresponds to the JSON property `dataLastRefreshed` + # @return [String] + attr_accessor :data_last_refreshed + + # Indicates if response to this request is golden or not. Data is + # golden when the exact same request will not produce any new results if + # asked at a later point in time. + # Corresponds to the JSON property `isDataGolden` + # @return [Boolean] + attr_accessor :is_data_golden + alias_method :is_data_golden?, :is_data_golden + + # Minimum and maximum values seen over all matching rows. These are both + # empty when `hideValueRanges` in the request is false, or when + # rowCount is zero. + # Corresponds to the JSON property `maximums` + # @return [Array] + attr_accessor :maximums + + # Minimum and maximum values seen over all matching rows. These are both + # empty when `hideValueRanges` in the request is false, or when + # rowCount is zero. + # Corresponds to the JSON property `minimums` + # @return [Array] + attr_accessor :minimums + + # Total number of matching rows for this query. + # Corresponds to the JSON property `rowCount` + # @return [Fixnum] + attr_accessor :row_count + + # There's one ReportRow for every unique combination of dimensions. + # Corresponds to the JSON property `rows` + # @return [Array] + attr_accessor :rows + + # If the results are + # [sampled](https://support.google.com/analytics/answer/2637192), + # this returns the total number of samples read, one entry per date range. + # If the results are not sampled this field will not be defined. See + # [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) + # for details. + # Corresponds to the JSON property `samplesReadCounts` + # @return [Array] + attr_accessor :samples_read_counts + # If the results are # [sampled](https://support.google.com/analytics/answer/2637192), # this returns the total number of @@ -1177,13 +863,6 @@ module Google # @return [Array] attr_accessor :sampling_space_sizes - # Minimum and maximum values seen over all matching rows. These are both - # empty when `hideValueRanges` in the request is false, or when - # rowCount is zero. - # Corresponds to the JSON property `minimums` - # @return [Array] - attr_accessor :minimums - # For each requested date range, for the set of all rows that match # the query, every requested value format gets a total. The total # for a value format is computed by first totaling the metrics @@ -1196,46 +875,222 @@ module Google # @return [Array] attr_accessor :totals - # If the results are - # [sampled](https://support.google.com/analytics/answer/2637192), - # this returns the total number of samples read, one entry per date range. - # If the results are not sampled this field will not be defined. See + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_last_refreshed = args[:data_last_refreshed] if args.key?(:data_last_refreshed) + @is_data_golden = args[:is_data_golden] if args.key?(:is_data_golden) + @maximums = args[:maximums] if args.key?(:maximums) + @minimums = args[:minimums] if args.key?(:minimums) + @row_count = args[:row_count] if args.key?(:row_count) + @rows = args[:rows] if args.key?(:rows) + @samples_read_counts = args[:samples_read_counts] if args.key?(:samples_read_counts) + @sampling_space_sizes = args[:sampling_space_sizes] if args.key?(:sampling_space_sizes) + @totals = args[:totals] if args.key?(:totals) + end + end + + # The main request class which specifies the Reporting API request. + class ReportRequest + include Google::Apis::Core::Hashable + + # Defines a cohort group. + # For example: + # "cohortGroup": ` + # "cohorts": [` + # "name": "cohort 1", + # "type": "FIRST_VISIT_DATE", + # "dateRange": ` "startDate": "2015-08-01", "endDate": "2015-08-01" ` + # `,` + # "name": "cohort 2" + # "type": "FIRST_VISIT_DATE" + # "dateRange": ` "startDate": "2015-07-01", "endDate": "2015-07-01" ` + # `] + # ` + # Corresponds to the JSON property `cohortGroup` + # @return [Google::Apis::AnalyticsreportingV4::CohortGroup] + attr_accessor :cohort_group + + # Date ranges in the request. The request can have a maximum of 2 date + # ranges. The response will contain a set of metric values for each + # combination of the dimensions for each date range in the request. So, if + # there are two date ranges, there will be two set of metric values, one for + # the original date range and one for the second date range. + # The `reportRequest.dateRanges` field should not be specified for cohorts + # or Lifetime value requests. + # If a date range is not provided, the default date range is (startDate: + # current date - 7 days, endDate: current date - 1 day). Every + # [ReportRequest](#ReportRequest) within a `batchGet` method must + # contain the same `dateRanges` definition. + # Corresponds to the JSON property `dateRanges` + # @return [Array] + attr_accessor :date_ranges + + # The dimension filter clauses for filtering Dimension Values. They are + # logically combined with the `AND` operator. Note that filtering occurs + # before any dimensions are aggregated, so that the returned metrics + # represent the total for only the relevant dimensions. + # Corresponds to the JSON property `dimensionFilterClauses` + # @return [Array] + attr_accessor :dimension_filter_clauses + + # The dimensions requested. + # Requests can have a total of 7 dimensions. + # Corresponds to the JSON property `dimensions` + # @return [Array] + attr_accessor :dimensions + + # Dimension or metric filters that restrict the data returned for your + # request. To use the `filtersExpression`, supply a dimension or metric on + # which to filter, followed by the filter expression. For example, the + # following expression selects `ga:browser` dimension which starts with + # Firefox; `ga:browser=~^Firefox`. For more information on dimensions + # and metric filters, see + # [Filters reference](https://developers.google.com/analytics/devguides/ + # reporting/core/v3/reference#filters). + # Corresponds to the JSON property `filtersExpression` + # @return [String] + attr_accessor :filters_expression + + # If set to true, hides the total of all metrics for all the matching rows, + # for every date range. The default false and will return the totals. + # Corresponds to the JSON property `hideTotals` + # @return [Boolean] + attr_accessor :hide_totals + alias_method :hide_totals?, :hide_totals + + # If set to true, hides the minimum and maximum across all matching rows. + # The default is false and the value ranges are returned. + # Corresponds to the JSON property `hideValueRanges` + # @return [Boolean] + attr_accessor :hide_value_ranges + alias_method :hide_value_ranges?, :hide_value_ranges + + # If set to false, the response does not include rows if all the retrieved + # metrics are equal to zero. The default is false which will exclude these + # rows. + # Corresponds to the JSON property `includeEmptyRows` + # @return [Boolean] + attr_accessor :include_empty_rows + alias_method :include_empty_rows?, :include_empty_rows + + # The metric filter clauses. They are logically combined with the `AND` + # operator. Metric filters look at only the first date range and not the + # comparing date range. Note that filtering on metrics occurs after the + # metrics are aggregated. + # Corresponds to the JSON property `metricFilterClauses` + # @return [Array] + attr_accessor :metric_filter_clauses + + # The metrics requested. + # Requests must specify at least one metric. Requests can have a + # total of 10 metrics. + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics + + # Sort order on output rows. To compare two rows, the elements of the + # following are applied in order until a difference is found. All date + # ranges in the output get the same row order. + # Corresponds to the JSON property `orderBys` + # @return [Array] + attr_accessor :order_bys + + # Page size is for paging and specifies the maximum number of returned rows. + # Page size should be >= 0. A query returns the default of 1,000 rows. + # The Analytics Core Reporting API returns a maximum of 10,000 rows per + # request, no matter how many you ask for. It can also return fewer rows + # than requested, if there aren't as many dimension segments as you expect. + # For instance, there are fewer than 300 possible values for `ga:country`, + # so when segmenting only by country, you can't get more than 300 rows, + # even if you set `pageSize` to a higher value. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # A continuation token to get the next page of the results. Adding this to + # the request will return the rows after the pageToken. The pageToken should + # be the value returned in the nextPageToken parameter in the response to + # the GetReports request. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # The pivot definitions. Requests can have a maximum of 2 pivots. + # Corresponds to the JSON property `pivots` + # @return [Array] + attr_accessor :pivots + + # The desired report + # [sample](https://support.google.com/analytics/answer/2637192) size. + # If the the `samplingLevel` field is unspecified the `DEFAULT` sampling + # level is used. Every [ReportRequest](#ReportRequest) within a + # `batchGet` method must contain the same `samplingLevel` definition. See # [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) # for details. - # Corresponds to the JSON property `samplesReadCounts` - # @return [Array] - attr_accessor :samples_read_counts - - # Indicates if response to this request is golden or not. Data is - # golden when the exact same request will not produce any new results if - # asked at a later point in time. - # Corresponds to the JSON property `isDataGolden` - # @return [Boolean] - attr_accessor :is_data_golden - alias_method :is_data_golden?, :is_data_golden - - # There's one ReportRow for every unique combination of dimensions. - # Corresponds to the JSON property `rows` - # @return [Array] - attr_accessor :rows - - # Total number of matching rows for this query. - # Corresponds to the JSON property `rowCount` - # @return [Fixnum] - attr_accessor :row_count - - # The last time the data in the report was refreshed. All the hits received - # before this timestamp are included in the calculation of the report. - # Corresponds to the JSON property `dataLastRefreshed` + # Corresponds to the JSON property `samplingLevel` # @return [String] - attr_accessor :data_last_refreshed + attr_accessor :sampling_level - # Minimum and maximum values seen over all matching rows. These are both - # empty when `hideValueRanges` in the request is false, or when - # rowCount is zero. - # Corresponds to the JSON property `maximums` + # Segment the data returned for the request. A segment definition helps look + # at a subset of the segment request. A request can contain up to four + # segments. Every [ReportRequest](#ReportRequest) within a + # `batchGet` method must contain the same `segments` definition. Requests + # with segments must have the `ga:segment` dimension. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # The Analytics + # [view ID](https://support.google.com/analytics/answer/1009618) + # from which to retrieve data. Every [ReportRequest](#ReportRequest) + # within a `batchGet` method must contain the same `viewId`. + # Corresponds to the JSON property `viewId` + # @return [String] + attr_accessor :view_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cohort_group = args[:cohort_group] if args.key?(:cohort_group) + @date_ranges = args[:date_ranges] if args.key?(:date_ranges) + @dimension_filter_clauses = args[:dimension_filter_clauses] if args.key?(:dimension_filter_clauses) + @dimensions = args[:dimensions] if args.key?(:dimensions) + @filters_expression = args[:filters_expression] if args.key?(:filters_expression) + @hide_totals = args[:hide_totals] if args.key?(:hide_totals) + @hide_value_ranges = args[:hide_value_ranges] if args.key?(:hide_value_ranges) + @include_empty_rows = args[:include_empty_rows] if args.key?(:include_empty_rows) + @metric_filter_clauses = args[:metric_filter_clauses] if args.key?(:metric_filter_clauses) + @metrics = args[:metrics] if args.key?(:metrics) + @order_bys = args[:order_bys] if args.key?(:order_bys) + @page_size = args[:page_size] if args.key?(:page_size) + @page_token = args[:page_token] if args.key?(:page_token) + @pivots = args[:pivots] if args.key?(:pivots) + @sampling_level = args[:sampling_level] if args.key?(:sampling_level) + @segments = args[:segments] if args.key?(:segments) + @view_id = args[:view_id] if args.key?(:view_id) + end + end + + # A row in the report. + class ReportRow + include Google::Apis::Core::Hashable + + # List of requested dimensions. + # Corresponds to the JSON property `dimensions` + # @return [Array] + attr_accessor :dimensions + + # List of metrics for each requested DateRange. + # Corresponds to the JSON property `metrics` # @return [Array] - attr_accessor :maximums + attr_accessor :metrics def initialize(**args) update!(**args) @@ -1243,148 +1098,8 @@ module Google # Update properties of this object def update!(**args) - @sampling_space_sizes = args[:sampling_space_sizes] if args.key?(:sampling_space_sizes) - @minimums = args[:minimums] if args.key?(:minimums) - @totals = args[:totals] if args.key?(:totals) - @samples_read_counts = args[:samples_read_counts] if args.key?(:samples_read_counts) - @is_data_golden = args[:is_data_golden] if args.key?(:is_data_golden) - @rows = args[:rows] if args.key?(:rows) - @row_count = args[:row_count] if args.key?(:row_count) - @data_last_refreshed = args[:data_last_refreshed] if args.key?(:data_last_refreshed) - @maximums = args[:maximums] if args.key?(:maximums) - end - end - - # Dimension filter specifies the filtering options on a dimension. - class DimensionFilter - include Google::Apis::Core::Hashable - - # Should the match be case sensitive? Default is false. - # Corresponds to the JSON property `caseSensitive` - # @return [Boolean] - attr_accessor :case_sensitive - alias_method :case_sensitive?, :case_sensitive - - # How to match the dimension to the expression. The default is REGEXP. - # Corresponds to the JSON property `operator` - # @return [String] - attr_accessor :operator - - # The dimension to filter on. A DimensionFilter must contain a dimension. - # Corresponds to the JSON property `dimensionName` - # @return [String] - attr_accessor :dimension_name - - # Strings or regular expression to match against. Only the first value of - # the list is used for comparison unless the operator is `IN_LIST`. - # If `IN_LIST` operator, then the entire list is used to filter the - # dimensions as explained in the description of the `IN_LIST` operator. - # Corresponds to the JSON property `expressions` - # @return [Array] - attr_accessor :expressions - - # Logical `NOT` operator. If this boolean is set to true, then the matching - # dimension values will be excluded in the report. The default is false. - # Corresponds to the JSON property `not` - # @return [Boolean] - attr_accessor :not - alias_method :not?, :not - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive) - @operator = args[:operator] if args.key?(:operator) - @dimension_name = args[:dimension_name] if args.key?(:dimension_name) - @expressions = args[:expressions] if args.key?(:expressions) - @not = args[:not] if args.key?(:not) - end - end - - # Dimension filter specifies the filtering options on a dimension. - class SegmentDimensionFilter - include Google::Apis::Core::Hashable - - # Maximum comparison values for `BETWEEN` match type. - # Corresponds to the JSON property `maxComparisonValue` - # @return [String] - attr_accessor :max_comparison_value - - # Name of the dimension for which the filter is being applied. - # Corresponds to the JSON property `dimensionName` - # @return [String] - attr_accessor :dimension_name - - # The operator to use to match the dimension with the expressions. - # Corresponds to the JSON property `operator` - # @return [String] - attr_accessor :operator - - # The list of expressions, only the first element is used for all operators - # Corresponds to the JSON property `expressions` - # @return [Array] - attr_accessor :expressions - - # Should the match be case sensitive, ignored for `IN_LIST` operator. - # Corresponds to the JSON property `caseSensitive` - # @return [Boolean] - attr_accessor :case_sensitive - alias_method :case_sensitive?, :case_sensitive - - # Minimum comparison values for `BETWEEN` match type. - # Corresponds to the JSON property `minComparisonValue` - # @return [String] - attr_accessor :min_comparison_value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @max_comparison_value = args[:max_comparison_value] if args.key?(:max_comparison_value) - @dimension_name = args[:dimension_name] if args.key?(:dimension_name) - @operator = args[:operator] if args.key?(:operator) - @expressions = args[:expressions] if args.key?(:expressions) - @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive) - @min_comparison_value = args[:min_comparison_value] if args.key?(:min_comparison_value) - end - end - - # Specifies the sorting options. - class OrderBy - include Google::Apis::Core::Hashable - - # The order type. The default orderType is `VALUE`. - # Corresponds to the JSON property `orderType` - # @return [String] - attr_accessor :order_type - - # The field which to sort by. The default sort order is ascending. Example: - # `ga:browser`. - # Note, that you can only specify one field for sort here. For example, - # `ga:browser, ga:city` is not valid. - # Corresponds to the JSON property `fieldName` - # @return [String] - attr_accessor :field_name - - # The sorting order for the field. - # Corresponds to the JSON property `sortOrder` - # @return [String] - attr_accessor :sort_order - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @order_type = args[:order_type] if args.key?(:order_type) - @field_name = args[:field_name] if args.key?(:field_name) - @sort_order = args[:sort_order] if args.key?(:sort_order) + @dimensions = args[:dimensions] if args.key?(:dimensions) + @metrics = args[:metrics] if args.key?(:metrics) end end @@ -1415,6 +1130,291 @@ module Google @segment_id = args[:segment_id] if args.key?(:segment_id) end end + + # SegmentDefinition defines the segment to be a set of SegmentFilters which + # are combined together with a logical `AND` operation. + class SegmentDefinition + include Google::Apis::Core::Hashable + + # A segment is defined by a set of segment filters which are combined + # together with a logical `AND` operation. + # Corresponds to the JSON property `segmentFilters` + # @return [Array] + attr_accessor :segment_filters + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment_filters = args[:segment_filters] if args.key?(:segment_filters) + end + end + + # Dimension filter specifies the filtering options on a dimension. + class SegmentDimensionFilter + include Google::Apis::Core::Hashable + + # Should the match be case sensitive, ignored for `IN_LIST` operator. + # Corresponds to the JSON property `caseSensitive` + # @return [Boolean] + attr_accessor :case_sensitive + alias_method :case_sensitive?, :case_sensitive + + # Name of the dimension for which the filter is being applied. + # Corresponds to the JSON property `dimensionName` + # @return [String] + attr_accessor :dimension_name + + # The list of expressions, only the first element is used for all operators + # Corresponds to the JSON property `expressions` + # @return [Array] + attr_accessor :expressions + + # Maximum comparison values for `BETWEEN` match type. + # Corresponds to the JSON property `maxComparisonValue` + # @return [String] + attr_accessor :max_comparison_value + + # Minimum comparison values for `BETWEEN` match type. + # Corresponds to the JSON property `minComparisonValue` + # @return [String] + attr_accessor :min_comparison_value + + # The operator to use to match the dimension with the expressions. + # Corresponds to the JSON property `operator` + # @return [String] + attr_accessor :operator + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive) + @dimension_name = args[:dimension_name] if args.key?(:dimension_name) + @expressions = args[:expressions] if args.key?(:expressions) + @max_comparison_value = args[:max_comparison_value] if args.key?(:max_comparison_value) + @min_comparison_value = args[:min_comparison_value] if args.key?(:min_comparison_value) + @operator = args[:operator] if args.key?(:operator) + end + end + + # SegmentFilter defines the segment to be either a simple or a sequence + # segment. A simple segment condition contains dimension and metric conditions + # to select the sessions or users. A sequence segment condition can be used to + # select users or sessions based on sequential conditions. + class SegmentFilter + include Google::Apis::Core::Hashable + + # If true, match the complement of simple or sequence segment. + # For example, to match all visits not from "New York", we can define the + # segment as follows: + # "sessionSegment": ` + # "segmentFilters": [` + # "simpleSegment" :` + # "orFiltersForSegment": [` + # "segmentFilterClauses":[` + # "dimensionFilter": ` + # "dimensionName": "ga:city", + # "expressions": ["New York"] + # ` + # `] + # `] + # `, + # "not": "True" + # `] + # `, + # Corresponds to the JSON property `not` + # @return [Boolean] + attr_accessor :not + alias_method :not?, :not + + # Sequence conditions consist of one or more steps, where each step is defined + # by one or more dimension/metric conditions. Multiple steps can be combined + # with special sequence operators. + # Corresponds to the JSON property `sequenceSegment` + # @return [Google::Apis::AnalyticsreportingV4::SequenceSegment] + attr_accessor :sequence_segment + + # A Simple segment conditions consist of one or more dimension/metric + # conditions that can be combined. + # Corresponds to the JSON property `simpleSegment` + # @return [Google::Apis::AnalyticsreportingV4::SimpleSegment] + attr_accessor :simple_segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @not = args[:not] if args.key?(:not) + @sequence_segment = args[:sequence_segment] if args.key?(:sequence_segment) + @simple_segment = args[:simple_segment] if args.key?(:simple_segment) + end + end + + # Filter Clause to be used in a segment definition, can be wither a metric or + # a dimension filter. + class SegmentFilterClause + include Google::Apis::Core::Hashable + + # Dimension filter specifies the filtering options on a dimension. + # Corresponds to the JSON property `dimensionFilter` + # @return [Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter] + attr_accessor :dimension_filter + + # Metric filter to be used in a segment filter clause. + # Corresponds to the JSON property `metricFilter` + # @return [Google::Apis::AnalyticsreportingV4::SegmentMetricFilter] + attr_accessor :metric_filter + + # Matches the complement (`!`) of the filter. + # Corresponds to the JSON property `not` + # @return [Boolean] + attr_accessor :not + alias_method :not?, :not + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter) + @metric_filter = args[:metric_filter] if args.key?(:metric_filter) + @not = args[:not] if args.key?(:not) + end + end + + # Metric filter to be used in a segment filter clause. + class SegmentMetricFilter + include Google::Apis::Core::Hashable + + # The value to compare against. If the operator is `BETWEEN`, this value is + # treated as minimum comparison value. + # Corresponds to the JSON property `comparisonValue` + # @return [String] + attr_accessor :comparison_value + + # Max comparison value is only used for `BETWEEN` operator. + # Corresponds to the JSON property `maxComparisonValue` + # @return [String] + attr_accessor :max_comparison_value + + # The metric that will be filtered on. A `metricFilter` must contain a + # metric name. + # Corresponds to the JSON property `metricName` + # @return [String] + attr_accessor :metric_name + + # Specifies is the operation to perform to compare the metric. The default + # is `EQUAL`. + # Corresponds to the JSON property `operator` + # @return [String] + attr_accessor :operator + + # Scope for a metric defines the level at which that metric is defined. The + # specified metric scope must be equal to or greater than its primary scope + # as defined in the data model. The primary scope is defined by if the + # segment is selecting users or sessions. + # Corresponds to the JSON property `scope` + # @return [String] + attr_accessor :scope + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @comparison_value = args[:comparison_value] if args.key?(:comparison_value) + @max_comparison_value = args[:max_comparison_value] if args.key?(:max_comparison_value) + @metric_name = args[:metric_name] if args.key?(:metric_name) + @operator = args[:operator] if args.key?(:operator) + @scope = args[:scope] if args.key?(:scope) + end + end + + # A segment sequence definition. + class SegmentSequenceStep + include Google::Apis::Core::Hashable + + # Specifies if the step immediately precedes or can be any time before the + # next step. + # Corresponds to the JSON property `matchType` + # @return [String] + attr_accessor :match_type + + # A sequence is specified with a list of Or grouped filters which are + # combined with `AND` operator. + # Corresponds to the JSON property `orFiltersForSegment` + # @return [Array] + attr_accessor :or_filters_for_segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @match_type = args[:match_type] if args.key?(:match_type) + @or_filters_for_segment = args[:or_filters_for_segment] if args.key?(:or_filters_for_segment) + end + end + + # Sequence conditions consist of one or more steps, where each step is defined + # by one or more dimension/metric conditions. Multiple steps can be combined + # with special sequence operators. + class SequenceSegment + include Google::Apis::Core::Hashable + + # If set, first step condition must match the first hit of the visitor (in + # the date range). + # Corresponds to the JSON property `firstStepShouldMatchFirstHit` + # @return [Boolean] + attr_accessor :first_step_should_match_first_hit + alias_method :first_step_should_match_first_hit?, :first_step_should_match_first_hit + + # The list of steps in the sequence. + # Corresponds to the JSON property `segmentSequenceSteps` + # @return [Array] + attr_accessor :segment_sequence_steps + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @first_step_should_match_first_hit = args[:first_step_should_match_first_hit] if args.key?(:first_step_should_match_first_hit) + @segment_sequence_steps = args[:segment_sequence_steps] if args.key?(:segment_sequence_steps) + end + end + + # A Simple segment conditions consist of one or more dimension/metric + # conditions that can be combined. + class SimpleSegment + include Google::Apis::Core::Hashable + + # A list of segment filters groups which are combined with logical `AND` + # operator. + # Corresponds to the JSON property `orFiltersForSegment` + # @return [Array] + attr_accessor :or_filters_for_segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @or_filters_for_segment = args[:or_filters_for_segment] if args.key?(:or_filters_for_segment) + end + end end end end diff --git a/generated/google/apis/analyticsreporting_v4/representations.rb b/generated/google/apis/analyticsreporting_v4/representations.rb index 36d02e572..7d3033855 100644 --- a/generated/google/apis/analyticsreporting_v4/representations.rb +++ b/generated/google/apis/analyticsreporting_v4/representations.rb @@ -22,187 +22,37 @@ module Google module Apis module AnalyticsreportingV4 - class SegmentSequenceStep - 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 PivotValueRegion - 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 PivotHeader - 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 ReportRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MetricFilter - 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 SimpleSegment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DynamicSegment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ColumnHeader - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SegmentFilterClause - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReportRow - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MetricFilterClause - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Cohort class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class OrFiltersForSegment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MetricHeader - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DimensionFilterClause - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GetReportsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SequenceSegment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SegmentMetricFilter - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DateRangeValues - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class CohortGroup class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GetReportsRequest + class ColumnHeader class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Pivot + class DateRange class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class PivotHeaderEntry + class DateRangeValues class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class SegmentFilter - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SegmentDefinition - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MetricHeaderEntry - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReportData + class Dimension class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -214,7 +64,61 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class SegmentDimensionFilter + class DimensionFilterClause + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DynamicSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetReportsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetReportsResponse + 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 MetricFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MetricFilterClause + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MetricHeader + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MetricHeaderEntry + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OrFiltersForSegment class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -226,53 +130,132 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Pivot + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PivotHeader + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PivotHeaderEntry + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PivotValueRegion + 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 ReportData + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReportRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReportRow + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Segment class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class SegmentDefinition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SegmentDimensionFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SegmentFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SegmentFilterClause + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SegmentMetricFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SegmentSequenceStep + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SequenceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SimpleSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Cohort # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :or_filters_for_segment, as: 'orFiltersForSegment', class: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment, decorator: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment::Representation + property :date_range, as: 'dateRange', class: Google::Apis::AnalyticsreportingV4::DateRange, decorator: Google::Apis::AnalyticsreportingV4::DateRange::Representation - property :match_type, as: 'matchType' + property :name, as: 'name' + property :type, as: 'type' end end - class Metric + class CohortGroup # @private class Representation < Google::Apis::Core::JsonRepresentation - property :formatting_type, as: 'formattingType' - property :alias, as: 'alias' - property :expression, as: 'expression' + collection :cohorts, as: 'cohorts', class: Google::Apis::AnalyticsreportingV4::Cohort, decorator: Google::Apis::AnalyticsreportingV4::Cohort::Representation + + property :lifetime_value, as: 'lifetimeValue' end end - class PivotValueRegion + class ColumnHeader # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :values, as: 'values' - end - end - - class Report - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - property :data, as: 'data', class: Google::Apis::AnalyticsreportingV4::ReportData, decorator: Google::Apis::AnalyticsreportingV4::ReportData::Representation - - property :column_header, as: 'columnHeader', class: Google::Apis::AnalyticsreportingV4::ColumnHeader, decorator: Google::Apis::AnalyticsreportingV4::ColumnHeader::Representation - - end - end - - class PivotHeader - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :total_pivot_groups_count, as: 'totalPivotGroupsCount' - collection :pivot_header_entries, as: 'pivotHeaderEntries', class: Google::Apis::AnalyticsreportingV4::PivotHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::PivotHeaderEntry::Representation + collection :dimensions, as: 'dimensions' + property :metric_header, as: 'metricHeader', class: Google::Apis::AnalyticsreportingV4::MetricHeader, decorator: Google::Apis::AnalyticsreportingV4::MetricHeader::Representation end end @@ -280,50 +263,17 @@ module Google class DateRange # @private class Representation < Google::Apis::Core::JsonRepresentation - property :start_date, as: 'startDate' property :end_date, as: 'endDate' + property :start_date, as: 'startDate' end end - class ReportRequest + class DateRangeValues # @private class Representation < Google::Apis::Core::JsonRepresentation - property :sampling_level, as: 'samplingLevel' - collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsreportingV4::Dimension, decorator: Google::Apis::AnalyticsreportingV4::Dimension::Representation + collection :pivot_value_regions, as: 'pivotValueRegions', class: Google::Apis::AnalyticsreportingV4::PivotValueRegion, decorator: Google::Apis::AnalyticsreportingV4::PivotValueRegion::Representation - property :page_token, as: 'pageToken' - collection :date_ranges, as: 'dateRanges', class: Google::Apis::AnalyticsreportingV4::DateRange, decorator: Google::Apis::AnalyticsreportingV4::DateRange::Representation - - collection :pivots, as: 'pivots', class: Google::Apis::AnalyticsreportingV4::Pivot, decorator: Google::Apis::AnalyticsreportingV4::Pivot::Representation - - property :include_empty_rows, as: 'includeEmptyRows' - collection :metric_filter_clauses, as: 'metricFilterClauses', class: Google::Apis::AnalyticsreportingV4::MetricFilterClause, decorator: Google::Apis::AnalyticsreportingV4::MetricFilterClause::Representation - - property :page_size, as: 'pageSize' - property :hide_totals, as: 'hideTotals' - property :hide_value_ranges, as: 'hideValueRanges' - property :cohort_group, as: 'cohortGroup', class: Google::Apis::AnalyticsreportingV4::CohortGroup, decorator: Google::Apis::AnalyticsreportingV4::CohortGroup::Representation - - property :filters_expression, as: 'filtersExpression' - property :view_id, as: 'viewId' - collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsreportingV4::Metric, decorator: Google::Apis::AnalyticsreportingV4::Metric::Representation - - collection :dimension_filter_clauses, as: 'dimensionFilterClauses', class: Google::Apis::AnalyticsreportingV4::DimensionFilterClause, decorator: Google::Apis::AnalyticsreportingV4::DimensionFilterClause::Representation - - collection :order_bys, as: 'orderBys', class: Google::Apis::AnalyticsreportingV4::OrderBy, decorator: Google::Apis::AnalyticsreportingV4::OrderBy::Representation - - collection :segments, as: 'segments', class: Google::Apis::AnalyticsreportingV4::Segment, decorator: Google::Apis::AnalyticsreportingV4::Segment::Representation - - end - end - - class MetricFilter - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metric_name, as: 'metricName' - property :comparison_value, as: 'comparisonValue' - property :operator, as: 'operator' - property :not, as: 'not' + collection :values, as: 'values' end end @@ -335,51 +285,69 @@ module Google end end - class SimpleSegment + class DimensionFilter # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :or_filters_for_segment, as: 'orFiltersForSegment', class: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment, decorator: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment::Representation + property :case_sensitive, as: 'caseSensitive' + property :dimension_name, as: 'dimensionName' + collection :expressions, as: 'expressions' + property :not, as: 'not' + property :operator, as: 'operator' + end + end + class DimensionFilterClause + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :filters, as: 'filters', class: Google::Apis::AnalyticsreportingV4::DimensionFilter, decorator: Google::Apis::AnalyticsreportingV4::DimensionFilter::Representation + + property :operator, as: 'operator' end end class DynamicSegment # @private class Representation < Google::Apis::Core::JsonRepresentation - property :user_segment, as: 'userSegment', class: Google::Apis::AnalyticsreportingV4::SegmentDefinition, decorator: Google::Apis::AnalyticsreportingV4::SegmentDefinition::Representation - + property :name, as: 'name' property :session_segment, as: 'sessionSegment', class: Google::Apis::AnalyticsreportingV4::SegmentDefinition, decorator: Google::Apis::AnalyticsreportingV4::SegmentDefinition::Representation - property :name, as: 'name' + property :user_segment, as: 'userSegment', class: Google::Apis::AnalyticsreportingV4::SegmentDefinition, decorator: Google::Apis::AnalyticsreportingV4::SegmentDefinition::Representation + end end - class ColumnHeader + class GetReportsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :metric_header, as: 'metricHeader', class: Google::Apis::AnalyticsreportingV4::MetricHeader, decorator: Google::Apis::AnalyticsreportingV4::MetricHeader::Representation + collection :report_requests, as: 'reportRequests', class: Google::Apis::AnalyticsreportingV4::ReportRequest, decorator: Google::Apis::AnalyticsreportingV4::ReportRequest::Representation - collection :dimensions, as: 'dimensions' end end - class SegmentFilterClause + class GetReportsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :reports, as: 'reports', class: Google::Apis::AnalyticsreportingV4::Report, decorator: Google::Apis::AnalyticsreportingV4::Report::Representation + + end + end + + class Metric + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alias, as: 'alias' + property :expression, as: 'expression' + property :formatting_type, as: 'formattingType' + end + end + + class MetricFilter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :comparison_value, as: 'comparisonValue' + property :metric_name, as: 'metricName' property :not, as: 'not' - property :dimension_filter, as: 'dimensionFilter', class: Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter::Representation - - property :metric_filter, as: 'metricFilter', class: Google::Apis::AnalyticsreportingV4::SegmentMetricFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentMetricFilter::Representation - - end - end - - class ReportRow - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation - - collection :dimensions, as: 'dimensions' + property :operator, as: 'operator' end end @@ -392,11 +360,19 @@ module Google end end - class Cohort + class MetricHeader # @private class Representation < Google::Apis::Core::JsonRepresentation - property :date_range, as: 'dateRange', class: Google::Apis::AnalyticsreportingV4::DateRange, decorator: Google::Apis::AnalyticsreportingV4::DateRange::Representation + collection :metric_header_entries, as: 'metricHeaderEntries', class: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry::Representation + collection :pivot_headers, as: 'pivotHeaders', class: Google::Apis::AnalyticsreportingV4::PivotHeader, decorator: Google::Apis::AnalyticsreportingV4::PivotHeader::Representation + + end + end + + class MetricHeaderEntry + # @private + class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' property :type, as: 'type' end @@ -410,29 +386,193 @@ module Google end end - class MetricHeader + class OrderBy # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :pivot_headers, as: 'pivotHeaders', class: Google::Apis::AnalyticsreportingV4::PivotHeader, decorator: Google::Apis::AnalyticsreportingV4::PivotHeader::Representation + property :field_name, as: 'fieldName' + property :order_type, as: 'orderType' + property :sort_order, as: 'sortOrder' + end + end - collection :metric_header_entries, as: 'metricHeaderEntries', class: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry::Representation + class Pivot + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :dimension_filter_clauses, as: 'dimensionFilterClauses', class: Google::Apis::AnalyticsreportingV4::DimensionFilterClause, decorator: Google::Apis::AnalyticsreportingV4::DimensionFilterClause::Representation + + collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsreportingV4::Dimension, decorator: Google::Apis::AnalyticsreportingV4::Dimension::Representation + + property :max_group_count, as: 'maxGroupCount' + collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsreportingV4::Metric, decorator: Google::Apis::AnalyticsreportingV4::Metric::Representation + + property :start_group, as: 'startGroup' + end + end + + class PivotHeader + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :pivot_header_entries, as: 'pivotHeaderEntries', class: Google::Apis::AnalyticsreportingV4::PivotHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::PivotHeaderEntry::Representation + + property :total_pivot_groups_count, as: 'totalPivotGroupsCount' + end + end + + class PivotHeaderEntry + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :dimension_names, as: 'dimensionNames' + collection :dimension_values, as: 'dimensionValues' + property :metric, as: 'metric', class: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry::Representation end end - class DimensionFilterClause + class PivotValueRegion # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :filters, as: 'filters', class: Google::Apis::AnalyticsreportingV4::DimensionFilter, decorator: Google::Apis::AnalyticsreportingV4::DimensionFilter::Representation + collection :values, as: 'values' + end + end + class Report + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :column_header, as: 'columnHeader', class: Google::Apis::AnalyticsreportingV4::ColumnHeader, decorator: Google::Apis::AnalyticsreportingV4::ColumnHeader::Representation + + property :data, as: 'data', class: Google::Apis::AnalyticsreportingV4::ReportData, decorator: Google::Apis::AnalyticsreportingV4::ReportData::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ReportData + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_last_refreshed, as: 'dataLastRefreshed' + property :is_data_golden, as: 'isDataGolden' + collection :maximums, as: 'maximums', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation + + collection :minimums, as: 'minimums', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation + + property :row_count, as: 'rowCount' + collection :rows, as: 'rows', class: Google::Apis::AnalyticsreportingV4::ReportRow, decorator: Google::Apis::AnalyticsreportingV4::ReportRow::Representation + + collection :samples_read_counts, as: 'samplesReadCounts' + collection :sampling_space_sizes, as: 'samplingSpaceSizes' + collection :totals, as: 'totals', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation + + end + end + + class ReportRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cohort_group, as: 'cohortGroup', class: Google::Apis::AnalyticsreportingV4::CohortGroup, decorator: Google::Apis::AnalyticsreportingV4::CohortGroup::Representation + + collection :date_ranges, as: 'dateRanges', class: Google::Apis::AnalyticsreportingV4::DateRange, decorator: Google::Apis::AnalyticsreportingV4::DateRange::Representation + + collection :dimension_filter_clauses, as: 'dimensionFilterClauses', class: Google::Apis::AnalyticsreportingV4::DimensionFilterClause, decorator: Google::Apis::AnalyticsreportingV4::DimensionFilterClause::Representation + + collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsreportingV4::Dimension, decorator: Google::Apis::AnalyticsreportingV4::Dimension::Representation + + property :filters_expression, as: 'filtersExpression' + property :hide_totals, as: 'hideTotals' + property :hide_value_ranges, as: 'hideValueRanges' + property :include_empty_rows, as: 'includeEmptyRows' + collection :metric_filter_clauses, as: 'metricFilterClauses', class: Google::Apis::AnalyticsreportingV4::MetricFilterClause, decorator: Google::Apis::AnalyticsreportingV4::MetricFilterClause::Representation + + collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsreportingV4::Metric, decorator: Google::Apis::AnalyticsreportingV4::Metric::Representation + + collection :order_bys, as: 'orderBys', class: Google::Apis::AnalyticsreportingV4::OrderBy, decorator: Google::Apis::AnalyticsreportingV4::OrderBy::Representation + + property :page_size, as: 'pageSize' + property :page_token, as: 'pageToken' + collection :pivots, as: 'pivots', class: Google::Apis::AnalyticsreportingV4::Pivot, decorator: Google::Apis::AnalyticsreportingV4::Pivot::Representation + + property :sampling_level, as: 'samplingLevel' + collection :segments, as: 'segments', class: Google::Apis::AnalyticsreportingV4::Segment, decorator: Google::Apis::AnalyticsreportingV4::Segment::Representation + + property :view_id, as: 'viewId' + end + end + + class ReportRow + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :dimensions, as: 'dimensions' + collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation + + end + end + + class Segment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dynamic_segment, as: 'dynamicSegment', class: Google::Apis::AnalyticsreportingV4::DynamicSegment, decorator: Google::Apis::AnalyticsreportingV4::DynamicSegment::Representation + + property :segment_id, as: 'segmentId' + end + end + + class SegmentDefinition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :segment_filters, as: 'segmentFilters', class: Google::Apis::AnalyticsreportingV4::SegmentFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentFilter::Representation + + end + end + + class SegmentDimensionFilter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :case_sensitive, as: 'caseSensitive' + property :dimension_name, as: 'dimensionName' + collection :expressions, as: 'expressions' + property :max_comparison_value, as: 'maxComparisonValue' + property :min_comparison_value, as: 'minComparisonValue' property :operator, as: 'operator' end end - class GetReportsResponse + class SegmentFilter # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :reports, as: 'reports', class: Google::Apis::AnalyticsreportingV4::Report, decorator: Google::Apis::AnalyticsreportingV4::Report::Representation + property :not, as: 'not' + property :sequence_segment, as: 'sequenceSegment', class: Google::Apis::AnalyticsreportingV4::SequenceSegment, decorator: Google::Apis::AnalyticsreportingV4::SequenceSegment::Representation + + property :simple_segment, as: 'simpleSegment', class: Google::Apis::AnalyticsreportingV4::SimpleSegment, decorator: Google::Apis::AnalyticsreportingV4::SimpleSegment::Representation + + end + end + + class SegmentFilterClause + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dimension_filter, as: 'dimensionFilter', class: Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter::Representation + + property :metric_filter, as: 'metricFilter', class: Google::Apis::AnalyticsreportingV4::SegmentMetricFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentMetricFilter::Representation + + property :not, as: 'not' + end + end + + class SegmentMetricFilter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :comparison_value, as: 'comparisonValue' + property :max_comparison_value, as: 'maxComparisonValue' + property :metric_name, as: 'metricName' + property :operator, as: 'operator' + property :scope, as: 'scope' + end + end + + class SegmentSequenceStep + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :match_type, as: 'matchType' + collection :or_filters_for_segment, as: 'orFiltersForSegment', class: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment, decorator: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment::Representation end end @@ -446,151 +586,11 @@ module Google end end - class SegmentMetricFilter + class SimpleSegment # @private class Representation < Google::Apis::Core::JsonRepresentation - property :operator, as: 'operator' - property :metric_name, as: 'metricName' - property :scope, as: 'scope' - property :max_comparison_value, as: 'maxComparisonValue' - property :comparison_value, as: 'comparisonValue' - end - end + collection :or_filters_for_segment, as: 'orFiltersForSegment', class: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment, decorator: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment::Representation - class DateRangeValues - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :values, as: 'values' - collection :pivot_value_regions, as: 'pivotValueRegions', class: Google::Apis::AnalyticsreportingV4::PivotValueRegion, decorator: Google::Apis::AnalyticsreportingV4::PivotValueRegion::Representation - - end - end - - class CohortGroup - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :cohorts, as: 'cohorts', class: Google::Apis::AnalyticsreportingV4::Cohort, decorator: Google::Apis::AnalyticsreportingV4::Cohort::Representation - - property :lifetime_value, as: 'lifetimeValue' - end - end - - class GetReportsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :report_requests, as: 'reportRequests', class: Google::Apis::AnalyticsreportingV4::ReportRequest, decorator: Google::Apis::AnalyticsreportingV4::ReportRequest::Representation - - end - end - - class Pivot - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :max_group_count, as: 'maxGroupCount' - property :start_group, as: 'startGroup' - collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsreportingV4::Metric, decorator: Google::Apis::AnalyticsreportingV4::Metric::Representation - - collection :dimension_filter_clauses, as: 'dimensionFilterClauses', class: Google::Apis::AnalyticsreportingV4::DimensionFilterClause, decorator: Google::Apis::AnalyticsreportingV4::DimensionFilterClause::Representation - - collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsreportingV4::Dimension, decorator: Google::Apis::AnalyticsreportingV4::Dimension::Representation - - end - end - - class PivotHeaderEntry - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metric, as: 'metric', class: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry::Representation - - collection :dimension_names, as: 'dimensionNames' - collection :dimension_values, as: 'dimensionValues' - end - end - - class SegmentFilter - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :sequence_segment, as: 'sequenceSegment', class: Google::Apis::AnalyticsreportingV4::SequenceSegment, decorator: Google::Apis::AnalyticsreportingV4::SequenceSegment::Representation - - property :not, as: 'not' - property :simple_segment, as: 'simpleSegment', class: Google::Apis::AnalyticsreportingV4::SimpleSegment, decorator: Google::Apis::AnalyticsreportingV4::SimpleSegment::Representation - - end - end - - class SegmentDefinition - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :segment_filters, as: 'segmentFilters', class: Google::Apis::AnalyticsreportingV4::SegmentFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentFilter::Representation - - end - end - - class MetricHeaderEntry - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :type, as: 'type' - end - end - - class ReportData - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :sampling_space_sizes, as: 'samplingSpaceSizes' - collection :minimums, as: 'minimums', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation - - collection :totals, as: 'totals', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation - - collection :samples_read_counts, as: 'samplesReadCounts' - property :is_data_golden, as: 'isDataGolden' - collection :rows, as: 'rows', class: Google::Apis::AnalyticsreportingV4::ReportRow, decorator: Google::Apis::AnalyticsreportingV4::ReportRow::Representation - - property :row_count, as: 'rowCount' - property :data_last_refreshed, as: 'dataLastRefreshed' - collection :maximums, as: 'maximums', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation - - end - end - - class DimensionFilter - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :case_sensitive, as: 'caseSensitive' - property :operator, as: 'operator' - property :dimension_name, as: 'dimensionName' - collection :expressions, as: 'expressions' - property :not, as: 'not' - end - end - - class SegmentDimensionFilter - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :max_comparison_value, as: 'maxComparisonValue' - property :dimension_name, as: 'dimensionName' - property :operator, as: 'operator' - collection :expressions, as: 'expressions' - property :case_sensitive, as: 'caseSensitive' - property :min_comparison_value, as: 'minComparisonValue' - end - end - - class OrderBy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :order_type, as: 'orderType' - property :field_name, as: 'fieldName' - property :sort_order, as: 'sortOrder' - end - end - - class Segment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :dynamic_segment, as: 'dynamicSegment', class: Google::Apis::AnalyticsreportingV4::DynamicSegment, decorator: Google::Apis::AnalyticsreportingV4::DynamicSegment::Representation - - property :segment_id, as: 'segmentId' end end end diff --git a/generated/google/apis/androiddeviceprovisioning_v1.rb b/generated/google/apis/androiddeviceprovisioning_v1.rb new file mode 100644 index 000000000..55be0f3d4 --- /dev/null +++ b/generated/google/apis/androiddeviceprovisioning_v1.rb @@ -0,0 +1,32 @@ +# 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/androiddeviceprovisioning_v1/service.rb' +require 'google/apis/androiddeviceprovisioning_v1/classes.rb' +require 'google/apis/androiddeviceprovisioning_v1/representations.rb' + +module Google + module Apis + # Android Device Provisioning Partner API + # + # Automates reseller integration into Zero Touch Provisioning by assigning + # devices to customers and creating device reports. + # + # @see https://developers.google.com/zero-touch/ + module AndroiddeviceprovisioningV1 + VERSION = 'V1' + REVISION = '20170819' + end + end +end diff --git a/generated/google/apis/androiddeviceprovisioning_v1/classes.rb b/generated/google/apis/androiddeviceprovisioning_v1/classes.rb new file mode 100644 index 000000000..66ccaf168 --- /dev/null +++ b/generated/google/apis/androiddeviceprovisioning_v1/classes.rb @@ -0,0 +1,917 @@ +# 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 AndroiddeviceprovisioningV1 + + # Request message to claim a device on behalf of a customer. + class ClaimDeviceRequest + include Google::Apis::Core::Hashable + + # The customer to claim for. + # Corresponds to the JSON property `customerId` + # @return [Fixnum] + attr_accessor :customer_id + + # DeviceIdentifiers identifies an unique device. + # Corresponds to the JSON property `deviceIdentifier` + # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] + attr_accessor :device_identifier + + # Section to claim + # Corresponds to the JSON property `sectionType` + # @return [String] + attr_accessor :section_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @customer_id = args[:customer_id] if args.key?(:customer_id) + @device_identifier = args[:device_identifier] if args.key?(:device_identifier) + @section_type = args[:section_type] if args.key?(:section_type) + end + end + + # Response message containing device id of the claim. + class ClaimDeviceResponse + include Google::Apis::Core::Hashable + + # the device id of the claimed device. + # Corresponds to the JSON property `deviceId` + # @return [Fixnum] + attr_accessor :device_id + + # the resource name of the device in + # 'partners/[PARTNER_ID]/devices/[DEVICE_ID]'. + # Corresponds to the JSON property `deviceName` + # @return [String] + attr_accessor :device_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @device_id = args[:device_id] if args.key?(:device_id) + @device_name = args[:device_name] if args.key?(:device_name) + end + end + + # Request to claim devices asynchronously in batch. + class ClaimDevicesRequest + include Google::Apis::Core::Hashable + + # list of claims. + # Corresponds to the JSON property `claims` + # @return [Array] + attr_accessor :claims + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @claims = args[:claims] if args.key?(:claims) + end + end + + # Company + class Company + include Google::Apis::Core::Hashable + + # Admin email. + # Admins will be able to operate on the portal. + # This field is a WRITE-only field at creation time. + # Corresponds to the JSON property `adminEmails` + # @return [Array] + attr_accessor :admin_emails + + # company id + # Corresponds to the JSON property `companyId` + # @return [Fixnum] + attr_accessor :company_id + + # company name + # Corresponds to the JSON property `companyName` + # @return [String] + attr_accessor :company_name + + # REST Resource name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Owner email. + # Owner is able to operate on the portal, and modify admins and other owners. + # This field is a WRITE-only field at creation time. + # Corresponds to the JSON property `ownerEmails` + # @return [Array] + attr_accessor :owner_emails + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @admin_emails = args[:admin_emails] if args.key?(:admin_emails) + @company_id = args[:company_id] if args.key?(:company_id) + @company_name = args[:company_name] if args.key?(:company_name) + @name = args[:name] if args.key?(:name) + @owner_emails = args[:owner_emails] if args.key?(:owner_emails) + end + end + + # Device + class Device + include Google::Apis::Core::Hashable + + # claims + # Corresponds to the JSON property `claims` + # @return [Array] + attr_accessor :claims + + # The resource name of the configuration. + # Only set for customers. + # Corresponds to the JSON property `configuration` + # @return [String] + attr_accessor :configuration + + # Device id + # Corresponds to the JSON property `deviceId` + # @return [Fixnum] + attr_accessor :device_id + + # DeviceIdentifiers identifies an unique device. + # Corresponds to the JSON property `deviceIdentifier` + # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] + attr_accessor :device_identifier + + # A key value pair of the device metadata. + # Corresponds to the JSON property `deviceMetadata` + # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata] + attr_accessor :device_metadata + + # Resource name in 'partners/[PARTNER_ID]/devices/[DEVICE_ID]'. + # 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) + @claims = args[:claims] if args.key?(:claims) + @configuration = args[:configuration] if args.key?(:configuration) + @device_id = args[:device_id] if args.key?(:device_id) + @device_identifier = args[:device_identifier] if args.key?(:device_identifier) + @device_metadata = args[:device_metadata] if args.key?(:device_metadata) + @name = args[:name] if args.key?(:name) + end + end + + # containing the necessary info about a claim for a partner. + class DeviceClaim + include Google::Apis::Core::Hashable + + # owner id + # Corresponds to the JSON property `ownerCompanyId` + # @return [Fixnum] + attr_accessor :owner_company_id + + # section type. + # Corresponds to the JSON property `sectionType` + # @return [String] + attr_accessor :section_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @owner_company_id = args[:owner_company_id] if args.key?(:owner_company_id) + @section_type = args[:section_type] if args.key?(:section_type) + end + end + + # DeviceIdentifiers identifies an unique device. + class DeviceIdentifier + include Google::Apis::Core::Hashable + + # IMEI + # Corresponds to the JSON property `imei` + # @return [String] + attr_accessor :imei + + # Manufacturer name to match `android.os.Build.MANUFACTURER` (required). + # Allowed values listed in + # [manufacturer names](/zero-touch/resources/manufacturer-names). + # Corresponds to the JSON property `manufacturer` + # @return [String] + attr_accessor :manufacturer + + # MEID + # Corresponds to the JSON property `meid` + # @return [String] + attr_accessor :meid + + # Serial number (optional) + # Corresponds to the JSON property `serialNumber` + # @return [String] + attr_accessor :serial_number + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @imei = args[:imei] if args.key?(:imei) + @manufacturer = args[:manufacturer] if args.key?(:manufacturer) + @meid = args[:meid] if args.key?(:meid) + @serial_number = args[:serial_number] if args.key?(:serial_number) + end + end + + # A key value pair of the device metadata. + class DeviceMetadata + include Google::Apis::Core::Hashable + + # Metadata entries + # Corresponds to the JSON property `entries` + # @return [Hash] + attr_accessor :entries + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @entries = args[:entries] if args.key?(:entries) + end + end + + # Long running operation metadata. + class DevicesLongRunningOperationMetadata + include Google::Apis::Core::Hashable + + # Number of devices parsed in your requests. + # Corresponds to the JSON property `devicesCount` + # @return [Fixnum] + attr_accessor :devices_count + + # The overall processing status. + # Corresponds to the JSON property `processingStatus` + # @return [String] + attr_accessor :processing_status + + # Processing progress from 0 to 100. + # Corresponds to the JSON property `progress` + # @return [Fixnum] + attr_accessor :progress + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @devices_count = args[:devices_count] if args.key?(:devices_count) + @processing_status = args[:processing_status] if args.key?(:processing_status) + @progress = args[:progress] if args.key?(:progress) + end + end + + # Long running operation response. + class DevicesLongRunningOperationResponse + include Google::Apis::Core::Hashable + + # processing status for each device. + # One PerDeviceStatus per device. The order is the same as in your requests. + # Corresponds to the JSON property `perDeviceStatus` + # @return [Array] + attr_accessor :per_device_status + + # Number of succeesfully processed ones. + # Corresponds to the JSON property `successCount` + # @return [Fixnum] + attr_accessor :success_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @per_device_status = args[:per_device_status] if args.key?(:per_device_status) + @success_count = args[:success_count] if args.key?(:success_count) + 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 + + # Request to find devices. + class FindDevicesByDeviceIdentifierRequest + include Google::Apis::Core::Hashable + + # DeviceIdentifiers identifies an unique device. + # Corresponds to the JSON property `deviceIdentifier` + # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] + attr_accessor :device_identifier + + # Number of devices to show. + # Corresponds to the JSON property `limit` + # @return [Fixnum] + attr_accessor :limit + + # Page token + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @device_identifier = args[:device_identifier] if args.key?(:device_identifier) + @limit = args[:limit] if args.key?(:limit) + @page_token = args[:page_token] if args.key?(:page_token) + end + end + + # Response containing found devices. + class FindDevicesByDeviceIdentifierResponse + include Google::Apis::Core::Hashable + + # Found devices. + # Corresponds to the JSON property `devices` + # @return [Array] + attr_accessor :devices + + # Page token of next page + # 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) + @devices = args[:devices] if args.key?(:devices) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Request to find devices by customers. + class FindDevicesByOwnerRequest + include Google::Apis::Core::Hashable + + # List of customer ids to search for. + # Corresponds to the JSON property `customerId` + # @return [Array] + attr_accessor :customer_id + + # The number of devices to show in the result. + # Corresponds to the JSON property `limit` + # @return [Fixnum] + attr_accessor :limit + + # Page token + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # The section type. + # Corresponds to the JSON property `sectionType` + # @return [String] + attr_accessor :section_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @customer_id = args[:customer_id] if args.key?(:customer_id) + @limit = args[:limit] if args.key?(:limit) + @page_token = args[:page_token] if args.key?(:page_token) + @section_type = args[:section_type] if args.key?(:section_type) + end + end + + # Response containing found devices. + class FindDevicesByOwnerResponse + include Google::Apis::Core::Hashable + + # Devices found. + # Corresponds to the JSON property `devices` + # @return [Array] + attr_accessor :devices + + # Page token of next page + # 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) + @devices = args[:devices] if args.key?(:devices) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Response message of all customers related to this partner. + class ListCustomersResponse + include Google::Apis::Core::Hashable + + # List of customers related to this partner. + # Corresponds to the JSON property `customers` + # @return [Array] + attr_accessor :customers + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @customers = args[:customers] if args.key?(:customers) + 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 + + # 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` that 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. + # - 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::AndroiddeviceprovisioningV1::Status] + attr_accessor :error + + # This field will contain a `DevicesLongRunningOperationMetadata` object if the + # operation is created by `claimAsync`, `unclaimAsync`, or `updateMetadataAsync`. + # Corresponds to the JSON property `metadata` + # @return [Hash] + 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, the + # `name` should have the format of `operations/some/unique/name`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # This field will contain a `DevicesLongRunningOperationResponse` object if the + # operation is created by `claimAsync`, `unclaimAsync`, or `updateMetadataAsync`. + # 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) + @done = args[:done] if args.key?(:done) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + @response = args[:response] if args.key?(:response) + end + end + + # Operation the server received for every device. + class OperationPerDevice + include Google::Apis::Core::Hashable + + # Identifies one claim request. + # Corresponds to the JSON property `claim` + # @return [Google::Apis::AndroiddeviceprovisioningV1::PartnerClaim] + attr_accessor :claim + + # Stores the processing result for each device. + # Corresponds to the JSON property `result` + # @return [Google::Apis::AndroiddeviceprovisioningV1::PerDeviceStatusInBatch] + attr_accessor :result + + # Identifies one unclaim request. + # Corresponds to the JSON property `unclaim` + # @return [Google::Apis::AndroiddeviceprovisioningV1::PartnerUnclaim] + attr_accessor :unclaim + + # Identifies metdata updates to one device. + # Corresponds to the JSON property `updateMetadata` + # @return [Google::Apis::AndroiddeviceprovisioningV1::UpdateMetadataArguments] + attr_accessor :update_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @claim = args[:claim] if args.key?(:claim) + @result = args[:result] if args.key?(:result) + @unclaim = args[:unclaim] if args.key?(:unclaim) + @update_metadata = args[:update_metadata] if args.key?(:update_metadata) + end + end + + # Identifies one claim request. + class PartnerClaim + include Google::Apis::Core::Hashable + + # customer id to claim for. + # Corresponds to the JSON property `customerId` + # @return [Fixnum] + attr_accessor :customer_id + + # DeviceIdentifiers identifies an unique device. + # Corresponds to the JSON property `deviceIdentifier` + # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] + attr_accessor :device_identifier + + # A key value pair of the device metadata. + # Corresponds to the JSON property `deviceMetadata` + # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata] + attr_accessor :device_metadata + + # section type to claim. + # Corresponds to the JSON property `sectionType` + # @return [String] + attr_accessor :section_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @customer_id = args[:customer_id] if args.key?(:customer_id) + @device_identifier = args[:device_identifier] if args.key?(:device_identifier) + @device_metadata = args[:device_metadata] if args.key?(:device_metadata) + @section_type = args[:section_type] if args.key?(:section_type) + end + end + + # Identifies one unclaim request. + class PartnerUnclaim + include Google::Apis::Core::Hashable + + # device id of the device. + # Corresponds to the JSON property `deviceId` + # @return [Fixnum] + attr_accessor :device_id + + # DeviceIdentifiers identifies an unique device. + # Corresponds to the JSON property `deviceIdentifier` + # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] + attr_accessor :device_identifier + + # section type to unclaim. + # Corresponds to the JSON property `sectionType` + # @return [String] + attr_accessor :section_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @device_id = args[:device_id] if args.key?(:device_id) + @device_identifier = args[:device_identifier] if args.key?(:device_identifier) + @section_type = args[:section_type] if args.key?(:section_type) + end + end + + # Stores the processing result for each device. + class PerDeviceStatusInBatch + include Google::Apis::Core::Hashable + + # device id of the device if process succeeds. + # Corresponds to the JSON property `deviceId` + # @return [Fixnum] + attr_accessor :device_id + + # Error identifier. + # Corresponds to the JSON property `errorIdentifier` + # @return [String] + attr_accessor :error_identifier + + # Error message + # Corresponds to the JSON property `errorMessage` + # @return [String] + attr_accessor :error_message + + # Process result. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @device_id = args[:device_id] if args.key?(:device_id) + @error_identifier = args[:error_identifier] if args.key?(:error_identifier) + @error_message = args[:error_message] if args.key?(:error_message) + @status = args[:status] if args.key?(:status) + 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` that 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. + # - 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 is 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 + + # Request message to unclaim a device. + class UnclaimDeviceRequest + include Google::Apis::Core::Hashable + + # The device id returned by ClaimDevice. + # Corresponds to the JSON property `deviceId` + # @return [Fixnum] + attr_accessor :device_id + + # DeviceIdentifiers identifies an unique device. + # Corresponds to the JSON property `deviceIdentifier` + # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] + attr_accessor :device_identifier + + # The section type to unclaim for. + # Corresponds to the JSON property `sectionType` + # @return [String] + attr_accessor :section_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @device_id = args[:device_id] if args.key?(:device_id) + @device_identifier = args[:device_identifier] if args.key?(:device_identifier) + @section_type = args[:section_type] if args.key?(:section_type) + end + end + + # Request to unclaim devices asynchronously in batch. + class UnclaimDevicesRequest + include Google::Apis::Core::Hashable + + # list of unclaims. + # Corresponds to the JSON property `unclaims` + # @return [Array] + attr_accessor :unclaims + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @unclaims = args[:unclaims] if args.key?(:unclaims) + end + end + + # Request to update device metadata in batch. + class UpdateDeviceMetadataInBatchRequest + include Google::Apis::Core::Hashable + + # list of metadata updates. + # Corresponds to the JSON property `updates` + # @return [Array] + attr_accessor :updates + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @updates = args[:updates] if args.key?(:updates) + end + end + + # Request to set metadata for a device. + class UpdateDeviceMetadataRequest + include Google::Apis::Core::Hashable + + # A key value pair of the device metadata. + # Corresponds to the JSON property `deviceMetadata` + # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata] + attr_accessor :device_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @device_metadata = args[:device_metadata] if args.key?(:device_metadata) + end + end + + # Identifies metdata updates to one device. + class UpdateMetadataArguments + include Google::Apis::Core::Hashable + + # device id of the device. + # Corresponds to the JSON property `deviceId` + # @return [Fixnum] + attr_accessor :device_id + + # DeviceIdentifiers identifies an unique device. + # Corresponds to the JSON property `deviceIdentifier` + # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] + attr_accessor :device_identifier + + # A key value pair of the device metadata. + # Corresponds to the JSON property `deviceMetadata` + # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata] + attr_accessor :device_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @device_id = args[:device_id] if args.key?(:device_id) + @device_identifier = args[:device_identifier] if args.key?(:device_identifier) + @device_metadata = args[:device_metadata] if args.key?(:device_metadata) + end + end + end + end +end diff --git a/generated/google/apis/androiddeviceprovisioning_v1/representations.rb b/generated/google/apis/androiddeviceprovisioning_v1/representations.rb new file mode 100644 index 000000000..730e88fe4 --- /dev/null +++ b/generated/google/apis/androiddeviceprovisioning_v1/representations.rb @@ -0,0 +1,447 @@ +# 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 AndroiddeviceprovisioningV1 + + class ClaimDeviceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ClaimDeviceResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ClaimDevicesRequest + 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 Device + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeviceClaim + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeviceIdentifier + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeviceMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DevicesLongRunningOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DevicesLongRunningOperationResponse + 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 FindDevicesByDeviceIdentifierRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FindDevicesByDeviceIdentifierResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FindDevicesByOwnerRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FindDevicesByOwnerResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListCustomersResponse + 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 OperationPerDevice + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PartnerClaim + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PartnerUnclaim + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PerDeviceStatusInBatch + 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 UnclaimDeviceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UnclaimDevicesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateDeviceMetadataInBatchRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateDeviceMetadataRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateMetadataArguments + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ClaimDeviceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :customer_id, :numeric_string => true, as: 'customerId' + property :device_identifier, as: 'deviceIdentifier', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier::Representation + + property :section_type, as: 'sectionType' + end + end + + class ClaimDeviceResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :device_id, :numeric_string => true, as: 'deviceId' + property :device_name, as: 'deviceName' + end + end + + class ClaimDevicesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :claims, as: 'claims', class: Google::Apis::AndroiddeviceprovisioningV1::PartnerClaim, decorator: Google::Apis::AndroiddeviceprovisioningV1::PartnerClaim::Representation + + end + end + + class Company + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :admin_emails, as: 'adminEmails' + property :company_id, :numeric_string => true, as: 'companyId' + property :company_name, as: 'companyName' + property :name, as: 'name' + collection :owner_emails, as: 'ownerEmails' + end + end + + class Device + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :claims, as: 'claims', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceClaim, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceClaim::Representation + + property :configuration, as: 'configuration' + property :device_id, :numeric_string => true, as: 'deviceId' + property :device_identifier, as: 'deviceIdentifier', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier::Representation + + property :device_metadata, as: 'deviceMetadata', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata::Representation + + property :name, as: 'name' + end + end + + class DeviceClaim + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :owner_company_id, :numeric_string => true, as: 'ownerCompanyId' + property :section_type, as: 'sectionType' + end + end + + class DeviceIdentifier + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :imei, as: 'imei' + property :manufacturer, as: 'manufacturer' + property :meid, as: 'meid' + property :serial_number, as: 'serialNumber' + end + end + + class DeviceMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :entries, as: 'entries' + end + end + + class DevicesLongRunningOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :devices_count, as: 'devicesCount' + property :processing_status, as: 'processingStatus' + property :progress, as: 'progress' + end + end + + class DevicesLongRunningOperationResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :per_device_status, as: 'perDeviceStatus', class: Google::Apis::AndroiddeviceprovisioningV1::OperationPerDevice, decorator: Google::Apis::AndroiddeviceprovisioningV1::OperationPerDevice::Representation + + property :success_count, as: 'successCount' + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class FindDevicesByDeviceIdentifierRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :device_identifier, as: 'deviceIdentifier', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier::Representation + + property :limit, :numeric_string => true, as: 'limit' + property :page_token, as: 'pageToken' + end + end + + class FindDevicesByDeviceIdentifierResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :devices, as: 'devices', class: Google::Apis::AndroiddeviceprovisioningV1::Device, decorator: Google::Apis::AndroiddeviceprovisioningV1::Device::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class FindDevicesByOwnerRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :customer_id, as: 'customerId' + property :limit, :numeric_string => true, as: 'limit' + property :page_token, as: 'pageToken' + property :section_type, as: 'sectionType' + end + end + + class FindDevicesByOwnerResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :devices, as: 'devices', class: Google::Apis::AndroiddeviceprovisioningV1::Device, decorator: Google::Apis::AndroiddeviceprovisioningV1::Device::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListCustomersResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :customers, as: 'customers', class: Google::Apis::AndroiddeviceprovisioningV1::Company, decorator: Google::Apis::AndroiddeviceprovisioningV1::Company::Representation + + end + end + + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::AndroiddeviceprovisioningV1::Status, decorator: Google::Apis::AndroiddeviceprovisioningV1::Status::Representation + + hash :metadata, as: 'metadata' + property :name, as: 'name' + hash :response, as: 'response' + end + end + + class OperationPerDevice + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :claim, as: 'claim', class: Google::Apis::AndroiddeviceprovisioningV1::PartnerClaim, decorator: Google::Apis::AndroiddeviceprovisioningV1::PartnerClaim::Representation + + property :result, as: 'result', class: Google::Apis::AndroiddeviceprovisioningV1::PerDeviceStatusInBatch, decorator: Google::Apis::AndroiddeviceprovisioningV1::PerDeviceStatusInBatch::Representation + + property :unclaim, as: 'unclaim', class: Google::Apis::AndroiddeviceprovisioningV1::PartnerUnclaim, decorator: Google::Apis::AndroiddeviceprovisioningV1::PartnerUnclaim::Representation + + property :update_metadata, as: 'updateMetadata', class: Google::Apis::AndroiddeviceprovisioningV1::UpdateMetadataArguments, decorator: Google::Apis::AndroiddeviceprovisioningV1::UpdateMetadataArguments::Representation + + end + end + + class PartnerClaim + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :customer_id, :numeric_string => true, as: 'customerId' + property :device_identifier, as: 'deviceIdentifier', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier::Representation + + property :device_metadata, as: 'deviceMetadata', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata::Representation + + property :section_type, as: 'sectionType' + end + end + + class PartnerUnclaim + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :device_id, :numeric_string => true, as: 'deviceId' + property :device_identifier, as: 'deviceIdentifier', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier::Representation + + property :section_type, as: 'sectionType' + end + end + + class PerDeviceStatusInBatch + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :device_id, :numeric_string => true, as: 'deviceId' + property :error_identifier, as: 'errorIdentifier' + property :error_message, as: 'errorMessage' + property :status, as: 'status' + 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 UnclaimDeviceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :device_id, :numeric_string => true, as: 'deviceId' + property :device_identifier, as: 'deviceIdentifier', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier::Representation + + property :section_type, as: 'sectionType' + end + end + + class UnclaimDevicesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :unclaims, as: 'unclaims', class: Google::Apis::AndroiddeviceprovisioningV1::PartnerUnclaim, decorator: Google::Apis::AndroiddeviceprovisioningV1::PartnerUnclaim::Representation + + end + end + + class UpdateDeviceMetadataInBatchRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :updates, as: 'updates', class: Google::Apis::AndroiddeviceprovisioningV1::UpdateMetadataArguments, decorator: Google::Apis::AndroiddeviceprovisioningV1::UpdateMetadataArguments::Representation + + end + end + + class UpdateDeviceMetadataRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :device_metadata, as: 'deviceMetadata', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata::Representation + + end + end + + class UpdateMetadataArguments + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :device_id, :numeric_string => true, as: 'deviceId' + property :device_identifier, as: 'deviceIdentifier', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier::Representation + + property :device_metadata, as: 'deviceMetadata', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata::Representation + + end + end + end + end +end diff --git a/generated/google/apis/androiddeviceprovisioning_v1/service.rb b/generated/google/apis/androiddeviceprovisioning_v1/service.rb new file mode 100644 index 000000000..a6348225b --- /dev/null +++ b/generated/google/apis/androiddeviceprovisioning_v1/service.rb @@ -0,0 +1,419 @@ +# 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 AndroiddeviceprovisioningV1 + # Android Device Provisioning Partner API + # + # Automates reseller integration into Zero Touch Provisioning by assigning + # devices to customers and creating device reports. + # + # @example + # require 'google/apis/androiddeviceprovisioning_v1' + # + # Androiddeviceprovisioning = Google::Apis::AndroiddeviceprovisioningV1 # Alias the module + # service = Androiddeviceprovisioning::AndroidProvisioningPartnerService.new + # + # @see https://developers.google.com/zero-touch/ + class AndroidProvisioningPartnerService < 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://androiddeviceprovisioning.googleapis.com/', '') + @batch_path = 'batch' + 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::AndroiddeviceprovisioningV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroiddeviceprovisioningV1::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::AndroiddeviceprovisioningV1::Operation::Representation + command.response_class = Google::Apis::AndroiddeviceprovisioningV1::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 + + # List all the customers that has delegates some role to this customer. + # @param [Fixnum] partner_id + # the id of the partner. + # @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::AndroiddeviceprovisioningV1::ListCustomersResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroiddeviceprovisioningV1::ListCustomersResponse] + # + # @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_partner_customers(partner_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/partners/{+partnerId}/customers', options) + command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::ListCustomersResponse::Representation + command.response_class = Google::Apis::AndroiddeviceprovisioningV1::ListCustomersResponse + command.params['partnerId'] = partner_id unless partner_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 + + # Claim the device identified by device identifier. + # @param [Fixnum] partner_id + # Id of the partner. + # @param [Google::Apis::AndroiddeviceprovisioningV1::ClaimDeviceRequest] claim_device_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::AndroiddeviceprovisioningV1::ClaimDeviceResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroiddeviceprovisioningV1::ClaimDeviceResponse] + # + # @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 claim_device(partner_id, claim_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:claim', options) + command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::ClaimDeviceRequest::Representation + command.request_object = claim_device_request_object + command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::ClaimDeviceResponse::Representation + command.response_class = Google::Apis::AndroiddeviceprovisioningV1::ClaimDeviceResponse + command.params['partnerId'] = partner_id unless partner_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 + + # Claim devices asynchronously + # @param [Fixnum] partner_id + # partner id. + # @param [Google::Apis::AndroiddeviceprovisioningV1::ClaimDevicesRequest] claim_devices_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::AndroiddeviceprovisioningV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroiddeviceprovisioningV1::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 claim_partner_device_async(partner_id, claim_devices_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:claimAsync', options) + command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::ClaimDevicesRequest::Representation + command.request_object = claim_devices_request_object + command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Operation::Representation + command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Operation + command.params['partnerId'] = partner_id unless partner_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 + + # Find devices by device identifier. + # @param [Fixnum] partner_id + # id of the partner. + # @param [Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByDeviceIdentifierRequest] find_devices_by_device_identifier_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::AndroiddeviceprovisioningV1::FindDevicesByDeviceIdentifierResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByDeviceIdentifierResponse] + # + # @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 find_partner_device_by_identifier(partner_id, find_devices_by_device_identifier_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:findByIdentifier', options) + command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByDeviceIdentifierRequest::Representation + command.request_object = find_devices_by_device_identifier_request_object + command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByDeviceIdentifierResponse::Representation + command.response_class = Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByDeviceIdentifierResponse + command.params['partnerId'] = partner_id unless partner_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 + + # Find devices by ownership. + # @param [Fixnum] partner_id + # id of the partner. + # @param [Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByOwnerRequest] find_devices_by_owner_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::AndroiddeviceprovisioningV1::FindDevicesByOwnerResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByOwnerResponse] + # + # @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 find_partner_device_by_owner(partner_id, find_devices_by_owner_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:findByOwner', options) + command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByOwnerRequest::Representation + command.request_object = find_devices_by_owner_request_object + command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByOwnerResponse::Representation + command.response_class = Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByOwnerResponse + command.params['partnerId'] = partner_id unless partner_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 + + # Get a device + # @param [String] name + # resource name in 'partners/[PARTNER_ID]/devices/[DEVICE_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::AndroiddeviceprovisioningV1::Device] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroiddeviceprovisioningV1::Device] + # + # @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_partner_device(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Device::Representation + command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Device + 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 + + # Update the metadata + # @param [Fixnum] metadata_owner_id + # The owner of the newly set metadata. Should be partner id itself. + # @param [Fixnum] device_id + # id of the partner. + # @param [Google::Apis::AndroiddeviceprovisioningV1::UpdateDeviceMetadataRequest] update_device_metadata_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::AndroiddeviceprovisioningV1::DeviceMetadata] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata] + # + # @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 metadata_partner_device(metadata_owner_id, device_id, update_device_metadata_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/partners/{+metadataOwnerId}/devices/{+deviceId}/metadata', options) + command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::UpdateDeviceMetadataRequest::Representation + command.request_object = update_device_metadata_request_object + command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata::Representation + command.response_class = Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata + command.params['metadataOwnerId'] = metadata_owner_id unless metadata_owner_id.nil? + command.params['deviceId'] = device_id unless device_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 + + # Unclaim the device identified by device_id or identifier. + # @param [Fixnum] partner_id + # Id of the partner. + # @param [Google::Apis::AndroiddeviceprovisioningV1::UnclaimDeviceRequest] unclaim_device_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::AndroiddeviceprovisioningV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroiddeviceprovisioningV1::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 unclaim_device(partner_id, unclaim_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:unclaim', options) + command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::UnclaimDeviceRequest::Representation + command.request_object = unclaim_device_request_object + command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Empty::Representation + command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Empty + command.params['partnerId'] = partner_id unless partner_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 + + # Unclaim devices asynchronously + # @param [Fixnum] partner_id + # partner id. + # @param [Google::Apis::AndroiddeviceprovisioningV1::UnclaimDevicesRequest] unclaim_devices_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::AndroiddeviceprovisioningV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroiddeviceprovisioningV1::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 unclaim_partner_device_async(partner_id, unclaim_devices_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:unclaimAsync', options) + command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::UnclaimDevicesRequest::Representation + command.request_object = unclaim_devices_request_object + command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Operation::Representation + command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Operation + command.params['partnerId'] = partner_id unless partner_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 + + # Set metadata in batch asynchronously. + # @param [Fixnum] partner_id + # partner id. + # @param [Google::Apis::AndroiddeviceprovisioningV1::UpdateDeviceMetadataInBatchRequest] update_device_metadata_in_batch_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::AndroiddeviceprovisioningV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroiddeviceprovisioningV1::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_partner_device_metadata_async(partner_id, update_device_metadata_in_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:updateMetadataAsync', options) + command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::UpdateDeviceMetadataInBatchRequest::Representation + command.request_object = update_device_metadata_in_batch_request_object + command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Operation::Representation + command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Operation + command.params['partnerId'] = partner_id unless partner_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 + + 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/androidenterprise_v1.rb b/generated/google/apis/androidenterprise_v1.rb index 13b9b91ee..d23ec2815 100644 --- a/generated/google/apis/androidenterprise_v1.rb +++ b/generated/google/apis/androidenterprise_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android/work/play/emm-api module AndroidenterpriseV1 VERSION = 'V1' - REVISION = '20170706' + REVISION = '20170803' # Manage corporate Android devices AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise' diff --git a/generated/google/apis/androidenterprise_v1/classes.rb b/generated/google/apis/androidenterprise_v1/classes.rb index 1269409ae..d711e9358 100644 --- a/generated/google/apis/androidenterprise_v1/classes.rb +++ b/generated/google/apis/androidenterprise_v1/classes.rb @@ -106,6 +106,34 @@ module Google end end + # The Android Device Policy configuration of an enterprise. + class AndroidDevicePolicyConfig + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # androidenterprise#androidDevicePolicyConfig". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The state of Android Device Policy. "enabled" indicates that Android Device + # Policy is enabled for the enterprise and the EMM is allowed to manage devices + # with Android Device Policy, while "disabled" means that it cannot. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @state = args[:state] if args.key?(:state) + end + end + # Represents the list of app restrictions available to be pre-configured for the # product. class AppRestrictionsSchema @@ -1668,6 +1696,9 @@ module Google # access all products that are approved for the enterprise. If the value is " # allApproved" or "includeAll", the productId field is ignored. If no value is # provided, it is interpreted as "whitelist" for backwards compatibility. + # Further "allApproved" or "includeAll" does not enable automatic visibility of " + # alpha" or "beta" tracks for Android app. Use ProductVisibility to enable " + # alpha" or "beta" tracks per user. # Corresponds to the JSON property `productSetBehavior` # @return [String] attr_accessor :product_set_behavior diff --git a/generated/google/apis/androidenterprise_v1/representations.rb b/generated/google/apis/androidenterprise_v1/representations.rb index a8bd3fc42..24b8823ce 100644 --- a/generated/google/apis/androidenterprise_v1/representations.rb +++ b/generated/google/apis/androidenterprise_v1/representations.rb @@ -40,6 +40,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AndroidDevicePolicyConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AppRestrictionsSchema class Representation < Google::Apis::Core::JsonRepresentation; end @@ -406,6 +412,14 @@ module Google end end + class AndroidDevicePolicyConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :state, as: 'state' + end + end + class AppRestrictionsSchema # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/androidenterprise_v1/service.rb b/generated/google/apis/androidenterprise_v1/service.rb index 9e1c27d26..397c0e56e 100644 --- a/generated/google/apis/androidenterprise_v1/service.rb +++ b/generated/google/apis/androidenterprise_v1/service.rb @@ -491,6 +491,41 @@ module Google execute_or_queue_command(command, &block) end + # Returns the Android Device Policy config resource. + # @param [String] enterprise_id + # The ID of the enterprise. + # @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::AndroidenterpriseV1::AndroidDevicePolicyConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig] + # + # @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_enterprise_android_device_policy_config(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'enterprises/{enterpriseId}/androidDevicePolicyConfig', options) + command.response_representation = Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig::Representation + command.response_class = Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig + command.params['enterpriseId'] = enterprise_id unless enterprise_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 + # Returns a service account and credentials. The service account can be bound to # the enterprise by calling setAccount. The service account is unique to this # enterprise and EMM, and will be deleted if the enterprise is unbound. The @@ -783,6 +818,47 @@ module Google execute_or_queue_command(command, &block) end + # Sets the Android Device Policy config resource. EMM may use this method to + # enable or disable Android Device Policy support for the specified enterprise. + # To learn more about managing devices and apps with Android Device Policy, see + # the Android Management API. + # @param [String] enterprise_id + # The ID of the enterprise. + # @param [Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig] android_device_policy_config_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::AndroidenterpriseV1::AndroidDevicePolicyConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig] + # + # @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 set_enterprise_android_device_policy_config(enterprise_id, android_device_policy_config_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'enterprises/{enterpriseId}/androidDevicePolicyConfig', options) + command.request_representation = Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig::Representation + command.request_object = android_device_policy_config_object + command.response_representation = Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig::Representation + command.response_class = Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig + command.params['enterpriseId'] = enterprise_id unless enterprise_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 + # Sets the store layout for the enterprise. By default, storeLayoutType is set # to "basic" and the basic store layout is enabled. The basic layout only # contains apps approved by the admin, and that have been added to the available diff --git a/generated/google/apis/androidmanagement_v1.rb b/generated/google/apis/androidmanagement_v1.rb new file mode 100644 index 000000000..8de1d45cd --- /dev/null +++ b/generated/google/apis/androidmanagement_v1.rb @@ -0,0 +1,35 @@ +# 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/androidmanagement_v1/service.rb' +require 'google/apis/androidmanagement_v1/classes.rb' +require 'google/apis/androidmanagement_v1/representations.rb' + +module Google + module Apis + # Android Management API + # + # The Android Management API provides remote enterprise management of Android + # devices and apps. + # + # @see https://developers.google.com/android/management + module AndroidmanagementV1 + VERSION = 'V1' + REVISION = '20170807' + + # Manage Android devices and apps for your customers + AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement' + end + end +end diff --git a/generated/google/apis/androidmanagement_v1/classes.rb b/generated/google/apis/androidmanagement_v1/classes.rb new file mode 100644 index 000000000..9033494a9 --- /dev/null +++ b/generated/google/apis/androidmanagement_v1/classes.rb @@ -0,0 +1,2039 @@ +# 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 AndroidmanagementV1 + + # A compliance rule condition which is satisfied if the Android Framework API + # level on the device does not meet a minimum requirement. There can only be one + # rule with this type of condition per policy. + class ApiLevelCondition + include Google::Apis::Core::Hashable + + # The minimum desired Android Framework API level. If the device does not meet + # the minimum requirement, this condition is satisfied. Must be greater than + # zero. + # Corresponds to the JSON property `minApiLevel` + # @return [Fixnum] + attr_accessor :min_api_level + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @min_api_level = args[:min_api_level] if args.key?(:min_api_level) + end + end + + # Application information. + class Application + include Google::Apis::Core::Hashable + + # The set of managed properties available to be pre-configured for the + # application. + # Corresponds to the JSON property `managedProperties` + # @return [Array] + attr_accessor :managed_properties + + # The name of the application in the form enterprises/`enterpriseId`/ + # applications/`package_name` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The permissions required by the app. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + # The title of the application. Localized. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @managed_properties = args[:managed_properties] if args.key?(:managed_properties) + @name = args[:name] if args.key?(:name) + @permissions = args[:permissions] if args.key?(:permissions) + @title = args[:title] if args.key?(:title) + end + end + + # Application permission. + class ApplicationPermission + include Google::Apis::Core::Hashable + + # A longer description of the permission, giving more details of what it affects. + # Localized. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The name of the permission. Localized. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # An opaque string uniquely identifying the permission. Not localized. + # Corresponds to the JSON property `permissionId` + # @return [String] + attr_accessor :permission_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @name = args[:name] if args.key?(:name) + @permission_id = args[:permission_id] if args.key?(:permission_id) + end + end + + # Policy for an individual app. + class ApplicationPolicy + include Google::Apis::Core::Hashable + + # The default policy for all permissions requested by the app. If specified, + # this overrides the policy-level default_permission_policy which applies to all + # apps. + # Corresponds to the JSON property `defaultPermissionPolicy` + # @return [String] + attr_accessor :default_permission_policy + + # The type of installation to perform. + # Corresponds to the JSON property `installType` + # @return [String] + attr_accessor :install_type + + # Whether the application is allowed to lock itself in full-screen mode. + # Corresponds to the JSON property `lockTaskAllowed` + # @return [Boolean] + attr_accessor :lock_task_allowed + alias_method :lock_task_allowed?, :lock_task_allowed + + # Managed configuration applied to the app. The format for the configuration is + # dictated by the ManagedProperty values supported by the app. Each field name + # in the managed configuration must match the key field of the ManagedProperty. + # The field value must be compatible with the type of the ManagedProperty: < + # table> typeJSON value BOOLtrue or false STRINGstring + # INTEGERnumber CHOICEstring < + # td>MULTISELECTarray of strings HIDDEN + # string BUNDLE_ARRAYarray of objects + # Corresponds to the JSON property `managedConfiguration` + # @return [Hash] + attr_accessor :managed_configuration + + # The package name of the app, e.g. com.google.android.youtube for the YouTube + # app. + # Corresponds to the JSON property `packageName` + # @return [String] + attr_accessor :package_name + + # Explicit permission grants or denials for the app. These values override the + # default_permission_policy. + # Corresponds to the JSON property `permissionGrants` + # @return [Array] + attr_accessor :permission_grants + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @default_permission_policy = args[:default_permission_policy] if args.key?(:default_permission_policy) + @install_type = args[:install_type] if args.key?(:install_type) + @lock_task_allowed = args[:lock_task_allowed] if args.key?(:lock_task_allowed) + @managed_configuration = args[:managed_configuration] if args.key?(:managed_configuration) + @package_name = args[:package_name] if args.key?(:package_name) + @permission_grants = args[:permission_grants] if args.key?(:permission_grants) + end + end + + # A command. + class Command + include Google::Apis::Core::Hashable + + # The timestamp at which the command was created. The timestamp is automatically + # generated by the server. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # The duration for which the command is valid. The command will expire if not + # executed by the device during this time. The default duration if unspecified + # is ten minutes. There is no maximum duration. + # Corresponds to the JSON property `duration` + # @return [String] + attr_accessor :duration + + # For commands of type RESET_PASSWORD, optionally specifies the new password. + # Corresponds to the JSON property `newPassword` + # @return [String] + attr_accessor :new_password + + # For commands of type RESET_PASSWORD, optionally specifies flags. + # Corresponds to the JSON property `resetPasswordFlags` + # @return [Array] + attr_accessor :reset_password_flags + + # The type of the command. + # 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) + @create_time = args[:create_time] if args.key?(:create_time) + @duration = args[:duration] if args.key?(:duration) + @new_password = args[:new_password] if args.key?(:new_password) + @reset_password_flags = args[:reset_password_flags] if args.key?(:reset_password_flags) + @type = args[:type] if args.key?(:type) + end + end + + # A rule declaring which mitigating actions to take when a device is not + # compliant with its policy. For every rule, there is always an implicit + # mitigating action to set policy_compliant to false for the Device resource, + # and display a message on the device indicating that the device is not + # compliant with its policy. Other mitigating actions may optionally be taken as + # well, depending on the field values in the rule. + class ComplianceRule + include Google::Apis::Core::Hashable + + # A compliance rule condition which is satisfied if the Android Framework API + # level on the device does not meet a minimum requirement. There can only be one + # rule with this type of condition per policy. + # Corresponds to the JSON property `apiLevelCondition` + # @return [Google::Apis::AndroidmanagementV1::ApiLevelCondition] + attr_accessor :api_level_condition + + # If set to true, the rule includes a mitigating action to disable applications + # so that the device is effectively disabled, but application data is preserved. + # If the device is running an app in locked task mode, the app will be closed + # and a UI showing the reason for non-compliance will be displayed. + # Corresponds to the JSON property `disableApps` + # @return [Boolean] + attr_accessor :disable_apps + alias_method :disable_apps?, :disable_apps + + # A compliance rule condition which is satisfied if there exists any matching + # NonComplianceDetail for the device. A NonComplianceDetail matches a + # NonComplianceDetailCondition if all the fields which are set within the + # NonComplianceDetailCondition match the corresponding NonComplianceDetail + # fields. + # Corresponds to the JSON property `nonComplianceDetailCondition` + # @return [Google::Apis::AndroidmanagementV1::NonComplianceDetailCondition] + attr_accessor :non_compliance_detail_condition + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @api_level_condition = args[:api_level_condition] if args.key?(:api_level_condition) + @disable_apps = args[:disable_apps] if args.key?(:disable_apps) + @non_compliance_detail_condition = args[:non_compliance_detail_condition] if args.key?(:non_compliance_detail_condition) + end + end + + # A device owned by an enterprise. Unless otherwise noted, all fields are read- + # only and cannot be modified by an update device request. + class Device + include Google::Apis::Core::Hashable + + # The API level of the Android platform version running on the device. + # Corresponds to the JSON property `apiLevel` + # @return [Fixnum] + attr_accessor :api_level + + # The name of the policy that is currently applied by the device. + # Corresponds to the JSON property `appliedPolicyName` + # @return [String] + attr_accessor :applied_policy_name + + # The version of the policy that is currently applied by the device. + # Corresponds to the JSON property `appliedPolicyVersion` + # @return [Fixnum] + attr_accessor :applied_policy_version + + # The state that is currently applied by the device. + # Corresponds to the JSON property `appliedState` + # @return [String] + attr_accessor :applied_state + + # Provides user facing message with locale info. The maximum message length is + # 4096 characters. + # Corresponds to the JSON property `disabledReason` + # @return [Google::Apis::AndroidmanagementV1::UserFacingMessage] + attr_accessor :disabled_reason + + # Displays on the device. This information is only available when + # displayInfoEnabled is true in the device's policy. + # Corresponds to the JSON property `displays` + # @return [Array] + attr_accessor :displays + + # The time of device enrollment. + # Corresponds to the JSON property `enrollmentTime` + # @return [String] + attr_accessor :enrollment_time + + # If this device was enrolled with an enrollment token with additional data + # provided, this field contains that data. + # Corresponds to the JSON property `enrollmentTokenData` + # @return [String] + attr_accessor :enrollment_token_data + + # If this device was enrolled with an enrollment token, this field contains the + # name of the token. + # Corresponds to the JSON property `enrollmentTokenName` + # @return [String] + attr_accessor :enrollment_token_name + + # Information about device hardware. The fields related to temperature + # thresholds are only available when hardwareStatusEnabled is true in the device' + # s policy. + # Corresponds to the JSON property `hardwareInfo` + # @return [Google::Apis::AndroidmanagementV1::HardwareInfo] + attr_accessor :hardware_info + + # Hardware status samples in chronological order. This information is only + # available when hardwareStatusEnabled is true in the device's policy. + # Corresponds to the JSON property `hardwareStatusSamples` + # @return [Array] + attr_accessor :hardware_status_samples + + # The last time the device went offline or came online. This field is only set + # when offline device monitoring is enabled in the device's policy. + # Corresponds to the JSON property `lastOfflineStateChangeTime` + # @return [String] + attr_accessor :last_offline_state_change_time + + # The last time the device sent a policy compliance report. + # Corresponds to the JSON property `lastPolicyComplianceReportTime` + # @return [String] + attr_accessor :last_policy_compliance_report_time + + # The last time the device fetched its policy. + # Corresponds to the JSON property `lastPolicySyncTime` + # @return [String] + attr_accessor :last_policy_sync_time + + # The last time the device sent a status report. + # Corresponds to the JSON property `lastStatusReportTime` + # @return [String] + attr_accessor :last_status_report_time + + # Events related to memory and storage measurements in chronological order. This + # information is only available when memoryInfoEnabled is true in the device's + # policy. + # Corresponds to the JSON property `memoryEvents` + # @return [Array] + attr_accessor :memory_events + + # Information about device memory and storage. + # Corresponds to the JSON property `memoryInfo` + # @return [Google::Apis::AndroidmanagementV1::MemoryInfo] + attr_accessor :memory_info + + # The name of the device in the form enterprises/`enterpriseId`/devices/` + # deviceId` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Device network info. + # Corresponds to the JSON property `networkInfo` + # @return [Google::Apis::AndroidmanagementV1::NetworkInfo] + attr_accessor :network_info + + # Details about policy settings for which the device is not in compliance. + # Corresponds to the JSON property `nonComplianceDetails` + # @return [Array] + attr_accessor :non_compliance_details + + # Whether the device is compliant with its policy. + # Corresponds to the JSON property `policyCompliant` + # @return [Boolean] + attr_accessor :policy_compliant + alias_method :policy_compliant?, :policy_compliant + + # The name of the policy that is intended to be applied to the device. If empty, + # the policy with id default is applied. This field may be modified by an update + # request. The name of the policy is in the form enterprises/`enterpriseId`/ + # policies/`policyId`. It is also permissible to only specify the policyId when + # updating this field as long as the policyId contains no slashes since the rest + # of the policy name can be inferred from context. + # Corresponds to the JSON property `policyName` + # @return [String] + attr_accessor :policy_name + + # Power management events on the device in chronological order. This information + # is only available when powerManagementEventsEnabled is true in the device's + # policy. + # Corresponds to the JSON property `powerManagementEvents` + # @return [Array] + attr_accessor :power_management_events + + # The previous device names used for the same physical device when it has been + # enrolled multiple times. The serial number is used as the unique identifier to + # determine if the same physical device has enrolled previously. The names are + # in chronological order. + # Corresponds to the JSON property `previousDeviceNames` + # @return [Array] + attr_accessor :previous_device_names + + # Information about device software. + # Corresponds to the JSON property `softwareInfo` + # @return [Google::Apis::AndroidmanagementV1::SoftwareInfo] + attr_accessor :software_info + + # The state that is intended to be applied to the device. This field may be + # modified by an update request. Note that UpdateDevice only handles toggling + # between ACTIVE and DISABLED states. Use the delete device method to cause the + # device to enter the DELETED state. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # The resource name of the user of the device in the form enterprises/` + # enterpriseId`/users/`userId`. This is the name of the device account + # automatically created for this device. + # Corresponds to the JSON property `userName` + # @return [String] + attr_accessor :user_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @api_level = args[:api_level] if args.key?(:api_level) + @applied_policy_name = args[:applied_policy_name] if args.key?(:applied_policy_name) + @applied_policy_version = args[:applied_policy_version] if args.key?(:applied_policy_version) + @applied_state = args[:applied_state] if args.key?(:applied_state) + @disabled_reason = args[:disabled_reason] if args.key?(:disabled_reason) + @displays = args[:displays] if args.key?(:displays) + @enrollment_time = args[:enrollment_time] if args.key?(:enrollment_time) + @enrollment_token_data = args[:enrollment_token_data] if args.key?(:enrollment_token_data) + @enrollment_token_name = args[:enrollment_token_name] if args.key?(:enrollment_token_name) + @hardware_info = args[:hardware_info] if args.key?(:hardware_info) + @hardware_status_samples = args[:hardware_status_samples] if args.key?(:hardware_status_samples) + @last_offline_state_change_time = args[:last_offline_state_change_time] if args.key?(:last_offline_state_change_time) + @last_policy_compliance_report_time = args[:last_policy_compliance_report_time] if args.key?(:last_policy_compliance_report_time) + @last_policy_sync_time = args[:last_policy_sync_time] if args.key?(:last_policy_sync_time) + @last_status_report_time = args[:last_status_report_time] if args.key?(:last_status_report_time) + @memory_events = args[:memory_events] if args.key?(:memory_events) + @memory_info = args[:memory_info] if args.key?(:memory_info) + @name = args[:name] if args.key?(:name) + @network_info = args[:network_info] if args.key?(:network_info) + @non_compliance_details = args[:non_compliance_details] if args.key?(:non_compliance_details) + @policy_compliant = args[:policy_compliant] if args.key?(:policy_compliant) + @policy_name = args[:policy_name] if args.key?(:policy_name) + @power_management_events = args[:power_management_events] if args.key?(:power_management_events) + @previous_device_names = args[:previous_device_names] if args.key?(:previous_device_names) + @software_info = args[:software_info] if args.key?(:software_info) + @state = args[:state] if args.key?(:state) + @user_name = args[:user_name] if args.key?(:user_name) + end + end + + # Device display information. + class DisplayProp + include Google::Apis::Core::Hashable + + # Display density expressed as dots-per-inch. + # Corresponds to the JSON property `density` + # @return [Fixnum] + attr_accessor :density + + # Unique display id. + # Corresponds to the JSON property `displayId` + # @return [Fixnum] + attr_accessor :display_id + + # Display height in pixels. + # Corresponds to the JSON property `height` + # @return [Fixnum] + attr_accessor :height + + # Name of the display. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Refresh rate of the display in frames per second. + # Corresponds to the JSON property `refreshRate` + # @return [Fixnum] + attr_accessor :refresh_rate + + # State of the display. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Display width in pixels. + # Corresponds to the JSON property `width` + # @return [Fixnum] + attr_accessor :width + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @density = args[:density] if args.key?(:density) + @display_id = args[:display_id] if args.key?(:display_id) + @height = args[:height] if args.key?(:height) + @name = args[:name] if args.key?(:name) + @refresh_rate = args[:refresh_rate] if args.key?(:refresh_rate) + @state = args[:state] if args.key?(:state) + @width = args[:width] if args.key?(:width) + 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 + + # An enrollment token. + class EnrollmentToken + include Google::Apis::Core::Hashable + + # Optional, arbitrary data associated with the enrollment token. This could + # contain, for example, the id of an org unit to which the device is assigned + # after enrollment. After a device enrolls with the token, this data will be + # exposed in the enrollment_token_data field of the Device resource. The data + # must be 1024 characters or less; otherwise, the creation request will fail. + # Corresponds to the JSON property `additionalData` + # @return [String] + attr_accessor :additional_data + + # The duration of the token. If not specified, the duration will be 1 hour. The + # allowed range is 1 minute to 30 days. + # Corresponds to the JSON property `duration` + # @return [String] + attr_accessor :duration + + # The expiration time of the token. This is a read-only field generated by the + # server. + # Corresponds to the JSON property `expirationTimestamp` + # @return [String] + attr_accessor :expiration_timestamp + + # The name of the enrollment token, which is generated by the server during + # creation, in the form enterprises/`enterpriseId`/enrollmentTokens/` + # enrollmentTokenId` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The name of the policy that will be initially applied to the enrolled device + # in the form enterprises/`enterpriseId`/policies/`policyId`. If not specified, + # the policy with id default is applied. It is permissible to only specify the + # policyId when updating this field as long as the policyId contains no slashes + # since the rest of the policy name can be inferred from context. + # Corresponds to the JSON property `policyName` + # @return [String] + attr_accessor :policy_name + + # A JSON string whose UTF-8 representation can be used to generate a QR code to + # enroll a device with this enrollment token. To enroll a device using NFC, the + # NFC record must contain a serialized java.util.Properties representation of + # the properties in the JSON. + # Corresponds to the JSON property `qrCode` + # @return [String] + attr_accessor :qr_code + + # The token value which is passed to the device and authorizes the device to + # enroll. This is a read-only field generated by the server. + # 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) + @additional_data = args[:additional_data] if args.key?(:additional_data) + @duration = args[:duration] if args.key?(:duration) + @expiration_timestamp = args[:expiration_timestamp] if args.key?(:expiration_timestamp) + @name = args[:name] if args.key?(:name) + @policy_name = args[:policy_name] if args.key?(:policy_name) + @qr_code = args[:qr_code] if args.key?(:qr_code) + @value = args[:value] if args.key?(:value) + end + end + + # The configuration applied to an enterprise. + class Enterprise + include Google::Apis::Core::Hashable + + # Whether app auto-approval is enabled. When enabled, apps installed via policy + # for this enterprise have all permissions automatically approved. When enabled, + # it is the caller's responsibility to display the permissions required by an + # app to the enterprise admin before setting the app to be installed in a policy. + # Corresponds to the JSON property `appAutoApprovalEnabled` + # @return [Boolean] + attr_accessor :app_auto_approval_enabled + alias_method :app_auto_approval_enabled?, :app_auto_approval_enabled + + # The notification types to enable via Google Cloud Pub/Sub. + # Corresponds to the JSON property `enabledNotificationTypes` + # @return [Array] + attr_accessor :enabled_notification_types + + # The name of the enterprise as it will appear to users. + # Corresponds to the JSON property `enterpriseDisplayName` + # @return [String] + attr_accessor :enterprise_display_name + + # Data hosted at an external location. The data is to be downloaded by Android + # Device Policy and verified against the hash. + # Corresponds to the JSON property `logo` + # @return [Google::Apis::AndroidmanagementV1::ExternalData] + attr_accessor :logo + + # The name of the enterprise which is generated by the server during creation, + # in the form enterprises/`enterpriseId` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # A color in RGB format indicating the predominant color to display in the + # device management app UI. The color components are stored as follows: (red << + # 16) | (green << 8) | blue, where each component may take a value between 0 and + # 255 inclusive. + # Corresponds to the JSON property `primaryColor` + # @return [Fixnum] + attr_accessor :primary_color + + # When Cloud Pub/Sub notifications are enabled, this field is required to + # indicate the topic to which the notifications will be published. The format of + # this field is projects/`project`/topics/`topic`. You must have granted the + # publish permission on this topic to android-cloud-policy@system. + # gserviceaccount.com + # Corresponds to the JSON property `pubsubTopic` + # @return [String] + attr_accessor :pubsub_topic + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @app_auto_approval_enabled = args[:app_auto_approval_enabled] if args.key?(:app_auto_approval_enabled) + @enabled_notification_types = args[:enabled_notification_types] if args.key?(:enabled_notification_types) + @enterprise_display_name = args[:enterprise_display_name] if args.key?(:enterprise_display_name) + @logo = args[:logo] if args.key?(:logo) + @name = args[:name] if args.key?(:name) + @primary_color = args[:primary_color] if args.key?(:primary_color) + @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic) + end + end + + # Data hosted at an external location. The data is to be downloaded by Android + # Device Policy and verified against the hash. + class ExternalData + include Google::Apis::Core::Hashable + + # The base-64 encoded SHA-256 hash of the content hosted at url. If the content + # does not match this hash, Android Device Policy will not use the data. + # Corresponds to the JSON property `sha256Hash` + # @return [String] + attr_accessor :sha256_hash + + # The absolute URL to the data, which must use either the http or https scheme. + # Android Device Policy does not provide any credentials in the GET request, so + # the URL must be publicly accessible. Including a long, random component in the + # URL may be used to prevent attackers from discovering the URL. + # 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) + @sha256_hash = args[:sha256_hash] if args.key?(:sha256_hash) + @url = args[:url] if args.key?(:url) + end + end + + # Information about device hardware. The fields related to temperature + # thresholds are only available when hardwareStatusEnabled is true in the device' + # s policy. + class HardwareInfo + include Google::Apis::Core::Hashable + + # Battery shutdown temperature thresholds in Celsius for each battery on the + # device. + # Corresponds to the JSON property `batteryShutdownTemperatures` + # @return [Array] + attr_accessor :battery_shutdown_temperatures + + # Battery throttling temperature thresholds in Celsius for each battery on the + # device. + # Corresponds to the JSON property `batteryThrottlingTemperatures` + # @return [Array] + attr_accessor :battery_throttling_temperatures + + # Brand of the device, e.g. Google. + # Corresponds to the JSON property `brand` + # @return [String] + attr_accessor :brand + + # CPU shutdown temperature thresholds in Celsius for each CPU on the device. + # Corresponds to the JSON property `cpuShutdownTemperatures` + # @return [Array] + attr_accessor :cpu_shutdown_temperatures + + # CPU throttling temperature thresholds in Celsius for each CPU on the device. + # Corresponds to the JSON property `cpuThrottlingTemperatures` + # @return [Array] + attr_accessor :cpu_throttling_temperatures + + # Baseband version, e.g. MDM9625_104662.22.05.34p. + # Corresponds to the JSON property `deviceBasebandVersion` + # @return [String] + attr_accessor :device_baseband_version + + # GPU shutdown temperature thresholds in Celsius for each GPU on the device. + # Corresponds to the JSON property `gpuShutdownTemperatures` + # @return [Array] + attr_accessor :gpu_shutdown_temperatures + + # GPU throttling temperature thresholds in Celsius for each GPU on the device. + # Corresponds to the JSON property `gpuThrottlingTemperatures` + # @return [Array] + attr_accessor :gpu_throttling_temperatures + + # Name of the hardware, e.g. Angler. + # Corresponds to the JSON property `hardware` + # @return [String] + attr_accessor :hardware + + # Manufacturer, e.g. Motorola. + # Corresponds to the JSON property `manufacturer` + # @return [String] + attr_accessor :manufacturer + + # The model of the device, e.g. Asus Nexus 7. + # Corresponds to the JSON property `model` + # @return [String] + attr_accessor :model + + # The device serial number. + # Corresponds to the JSON property `serialNumber` + # @return [String] + attr_accessor :serial_number + + # Device skin shutdown temperature thresholds in Celsius. + # Corresponds to the JSON property `skinShutdownTemperatures` + # @return [Array] + attr_accessor :skin_shutdown_temperatures + + # Device skin throttling temperature thresholds in Celsius. + # Corresponds to the JSON property `skinThrottlingTemperatures` + # @return [Array] + attr_accessor :skin_throttling_temperatures + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @battery_shutdown_temperatures = args[:battery_shutdown_temperatures] if args.key?(:battery_shutdown_temperatures) + @battery_throttling_temperatures = args[:battery_throttling_temperatures] if args.key?(:battery_throttling_temperatures) + @brand = args[:brand] if args.key?(:brand) + @cpu_shutdown_temperatures = args[:cpu_shutdown_temperatures] if args.key?(:cpu_shutdown_temperatures) + @cpu_throttling_temperatures = args[:cpu_throttling_temperatures] if args.key?(:cpu_throttling_temperatures) + @device_baseband_version = args[:device_baseband_version] if args.key?(:device_baseband_version) + @gpu_shutdown_temperatures = args[:gpu_shutdown_temperatures] if args.key?(:gpu_shutdown_temperatures) + @gpu_throttling_temperatures = args[:gpu_throttling_temperatures] if args.key?(:gpu_throttling_temperatures) + @hardware = args[:hardware] if args.key?(:hardware) + @manufacturer = args[:manufacturer] if args.key?(:manufacturer) + @model = args[:model] if args.key?(:model) + @serial_number = args[:serial_number] if args.key?(:serial_number) + @skin_shutdown_temperatures = args[:skin_shutdown_temperatures] if args.key?(:skin_shutdown_temperatures) + @skin_throttling_temperatures = args[:skin_throttling_temperatures] if args.key?(:skin_throttling_temperatures) + end + end + + # Hardware status. Temperatures may be compared to the temperature thresholds + # available in hardwareInfo to determine hardware health. + class HardwareStatus + include Google::Apis::Core::Hashable + + # Current battery temperatures in Celsius for each battery on the device. + # Corresponds to the JSON property `batteryTemperatures` + # @return [Array] + attr_accessor :battery_temperatures + + # Current CPU temperatures in Celsius for each CPU on the device. + # Corresponds to the JSON property `cpuTemperatures` + # @return [Array] + attr_accessor :cpu_temperatures + + # CPU usages in percentage for each core available on the device. Usage is 0 for + # each unplugged core. Empty array implies that CPU usage is not supported in + # the system. + # Corresponds to the JSON property `cpuUsages` + # @return [Array] + attr_accessor :cpu_usages + + # The time the measurements were taken. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Fan speeds in RPM for each fan on the device. Empty array means that there are + # no fans or fan speed is not supported on the system. + # Corresponds to the JSON property `fanSpeeds` + # @return [Array] + attr_accessor :fan_speeds + + # Current GPU temperatures in Celsius for each GPU on the device. + # Corresponds to the JSON property `gpuTemperatures` + # @return [Array] + attr_accessor :gpu_temperatures + + # Current device skin temperatures in Celsius. + # Corresponds to the JSON property `skinTemperatures` + # @return [Array] + attr_accessor :skin_temperatures + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @battery_temperatures = args[:battery_temperatures] if args.key?(:battery_temperatures) + @cpu_temperatures = args[:cpu_temperatures] if args.key?(:cpu_temperatures) + @cpu_usages = args[:cpu_usages] if args.key?(:cpu_usages) + @create_time = args[:create_time] if args.key?(:create_time) + @fan_speeds = args[:fan_speeds] if args.key?(:fan_speeds) + @gpu_temperatures = args[:gpu_temperatures] if args.key?(:gpu_temperatures) + @skin_temperatures = args[:skin_temperatures] if args.key?(:skin_temperatures) + end + end + + # Response to a request to list devices for a given enterprise. + class ListDevicesResponse + include Google::Apis::Core::Hashable + + # The list of devices. + # Corresponds to the JSON property `devices` + # @return [Array] + attr_accessor :devices + + # If there are more results, a token to retrieve next page of results. + # 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) + @devices = args[:devices] if args.key?(:devices) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The response message for Operations.ListOperations. + class ListOperationsResponse + include Google::Apis::Core::Hashable + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + 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) + @operations = args[:operations] if args.key?(:operations) + end + end + + # Response to a request to list policies for a given enterprise. + class ListPoliciesResponse + include Google::Apis::Core::Hashable + + # If there are more results, a token to retrieve next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of policies. + # Corresponds to the JSON property `policies` + # @return [Array] + attr_accessor :policies + + 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) + @policies = args[:policies] if args.key?(:policies) + end + end + + # Managed property. + class ManagedProperty + include Google::Apis::Core::Hashable + + # The default value of the properties. BUNDLE_ARRAY properties never have a + # default value. + # Corresponds to the JSON property `defaultValue` + # @return [Object] + attr_accessor :default_value + + # A longer description of the property, giving more detail of what it affects. + # Localized. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # For CHOICE or MULTISELECT properties, the list of possible entries. + # Corresponds to the JSON property `entries` + # @return [Array] + attr_accessor :entries + + # The unique key that the application uses to identify the property, e.g. "com. + # google.android.gm.fieldname". + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # For BUNDLE_ARRAY properties, the list of nested properties. A BUNDLE_ARRAY + # property is at most two levels deep. + # Corresponds to the JSON property `nestedProperties` + # @return [Array] + attr_accessor :nested_properties + + # The name of the property. Localized. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # The type of the property. + # 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) + @default_value = args[:default_value] if args.key?(:default_value) + @description = args[:description] if args.key?(:description) + @entries = args[:entries] if args.key?(:entries) + @key = args[:key] if args.key?(:key) + @nested_properties = args[:nested_properties] if args.key?(:nested_properties) + @title = args[:title] if args.key?(:title) + @type = args[:type] if args.key?(:type) + end + end + + # An entry of a managed property. + class ManagedPropertyEntry + include Google::Apis::Core::Hashable + + # The human-readable name of the value. Localized. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The machine-readable value of the entry, which should be used in the + # configuration. Not localized. + # 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) + @name = args[:name] if args.key?(:name) + @value = args[:value] if args.key?(:value) + end + end + + # An event related to memory and storage measurements. + class MemoryEvent + include Google::Apis::Core::Hashable + + # The number of free bytes in the medium, or for EXTERNAL_STORAGE_DETECTED, the + # total capacity in bytes of the storage medium. + # Corresponds to the JSON property `byteCount` + # @return [Fixnum] + attr_accessor :byte_count + + # The creation time of the event. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Event type. + # Corresponds to the JSON property `eventType` + # @return [String] + attr_accessor :event_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @byte_count = args[:byte_count] if args.key?(:byte_count) + @create_time = args[:create_time] if args.key?(:create_time) + @event_type = args[:event_type] if args.key?(:event_type) + end + end + + # Information about device memory and storage. + class MemoryInfo + include Google::Apis::Core::Hashable + + # Total internal storage on device in bytes. + # Corresponds to the JSON property `totalInternalStorage` + # @return [Fixnum] + attr_accessor :total_internal_storage + + # Total RAM on device in bytes. + # Corresponds to the JSON property `totalRam` + # @return [Fixnum] + attr_accessor :total_ram + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @total_internal_storage = args[:total_internal_storage] if args.key?(:total_internal_storage) + @total_ram = args[:total_ram] if args.key?(:total_ram) + end + end + + # Device network info. + class NetworkInfo + include Google::Apis::Core::Hashable + + # IMEI number of the GSM device, e.g. A1000031212. + # Corresponds to the JSON property `imei` + # @return [String] + attr_accessor :imei + + # MEID number of the CDMA device, e.g. A00000292788E1. + # Corresponds to the JSON property `meid` + # @return [String] + attr_accessor :meid + + # WiFi MAC address of the device, e.g. 7c:11:11:11:11:11. + # Corresponds to the JSON property `wifiMacAddress` + # @return [String] + attr_accessor :wifi_mac_address + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @imei = args[:imei] if args.key?(:imei) + @meid = args[:meid] if args.key?(:meid) + @wifi_mac_address = args[:wifi_mac_address] if args.key?(:wifi_mac_address) + end + end + + # Provides detail about non-compliance with a policy setting. + class NonComplianceDetail + include Google::Apis::Core::Hashable + + # If the policy setting could not be applied, the current value of the setting + # on the device. + # Corresponds to the JSON property `currentValue` + # @return [Object] + attr_accessor :current_value + + # For settings with nested fields, if a particular nested field is out of + # compliance, this specifies the full path to the offending field. The path is + # formatted in the same way the policy JSON field would be referenced in + # JavaScript, that is: 1) For object-typed fields, the field name is followed by + # a dot then by a subfield name. 2) For array-typed fields, the field name is + # followed by the array index enclosed in brackets. For example, to indicate a + # problem with the url field in the externalData field in the 3rd application, + # the path would be applications[2].externalData.url + # Corresponds to the JSON property `fieldPath` + # @return [String] + attr_accessor :field_path + + # If package_name is set and the non-compliance reason is APP_NOT_INSTALLED, the + # detailed reason the app cannot be installed. + # Corresponds to the JSON property `installationFailureReason` + # @return [String] + attr_accessor :installation_failure_reason + + # The reason the device is not in compliance with the setting. + # Corresponds to the JSON property `nonComplianceReason` + # @return [String] + attr_accessor :non_compliance_reason + + # The package name indicating which application is out of compliance, if + # applicable. + # Corresponds to the JSON property `packageName` + # @return [String] + attr_accessor :package_name + + # The name of the policy setting. This is the JSON field name of a top-level + # Policy field. + # Corresponds to the JSON property `settingName` + # @return [String] + attr_accessor :setting_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @current_value = args[:current_value] if args.key?(:current_value) + @field_path = args[:field_path] if args.key?(:field_path) + @installation_failure_reason = args[:installation_failure_reason] if args.key?(:installation_failure_reason) + @non_compliance_reason = args[:non_compliance_reason] if args.key?(:non_compliance_reason) + @package_name = args[:package_name] if args.key?(:package_name) + @setting_name = args[:setting_name] if args.key?(:setting_name) + end + end + + # A compliance rule condition which is satisfied if there exists any matching + # NonComplianceDetail for the device. A NonComplianceDetail matches a + # NonComplianceDetailCondition if all the fields which are set within the + # NonComplianceDetailCondition match the corresponding NonComplianceDetail + # fields. + class NonComplianceDetailCondition + include Google::Apis::Core::Hashable + + # The reason the device is not in compliance with the setting. If not set, then + # this condition matches any reason. + # Corresponds to the JSON property `nonComplianceReason` + # @return [String] + attr_accessor :non_compliance_reason + + # The package name indicating which application is out of compliance. If not set, + # then this condition matches any package name. If this field is set, then + # setting_name must be unset or set to applications; otherwise, the condition + # would never be satisfied. + # Corresponds to the JSON property `packageName` + # @return [String] + attr_accessor :package_name + + # The name of the policy setting. This is the JSON field name of a top-level + # Policy field. If not set, then this condition matches any setting name. + # Corresponds to the JSON property `settingName` + # @return [String] + attr_accessor :setting_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @non_compliance_reason = args[:non_compliance_reason] if args.key?(:non_compliance_reason) + @package_name = args[:package_name] if args.key?(:package_name) + @setting_name = args[:setting_name] if args.key?(:setting_name) + 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 + + # 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 needsOverviewThe 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 that can be used for common error + # conditions.Language mappingThe 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 usesThe 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. + # 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::AndroidmanagementV1::Status] + attr_accessor :error + + # 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 + + # 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 + + # 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) + @done = args[:done] if args.key?(:done) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + @response = args[:response] if args.key?(:response) + end + end + + # Requirements for the password used to unlock a device. + class PasswordRequirements + include Google::Apis::Core::Hashable + + # A device will be wiped after too many incorrect device-unlock passwords have + # been entered. A value of 0 means there is no restriction. + # Corresponds to the JSON property `maximumFailedPasswordsForWipe` + # @return [Fixnum] + attr_accessor :maximum_failed_passwords_for_wipe + + # Password expiration timeout. + # Corresponds to the JSON property `passwordExpirationTimeout` + # @return [String] + attr_accessor :password_expiration_timeout + + # The length of the password history. After setting this, the user will not be + # able to enter a new password that is the same as any password in the history. + # A value of 0 means there is no restriction. + # Corresponds to the JSON property `passwordHistoryLength` + # @return [Fixnum] + attr_accessor :password_history_length + + # The minimum allowed password length. A value of 0 means there is no + # restriction. Only enforced when password_quality is NUMERIC, NUMERIC_COMPLEX, + # ALPHABETIC, ALPHANUMERIC, or COMPLEX. + # Corresponds to the JSON property `passwordMinimumLength` + # @return [Fixnum] + attr_accessor :password_minimum_length + + # Minimum number of letters required in the password. Only enforced when + # password_quality is COMPLEX. + # Corresponds to the JSON property `passwordMinimumLetters` + # @return [Fixnum] + attr_accessor :password_minimum_letters + + # Minimum number of lower case letters required in the password. Only enforced + # when password_quality is COMPLEX. + # Corresponds to the JSON property `passwordMinimumLowerCase` + # @return [Fixnum] + attr_accessor :password_minimum_lower_case + + # Minimum number of non-letter characters (numerical digits or symbols) required + # in the password. Only enforced when password_quality is COMPLEX. + # Corresponds to the JSON property `passwordMinimumNonLetter` + # @return [Fixnum] + attr_accessor :password_minimum_non_letter + + # Minimum number of numerical digits required in the password. Only enforced + # when password_quality is COMPLEX. + # Corresponds to the JSON property `passwordMinimumNumeric` + # @return [Fixnum] + attr_accessor :password_minimum_numeric + + # Minimum number of symbols required in the password. Only enforced when + # password_quality is COMPLEX. + # Corresponds to the JSON property `passwordMinimumSymbols` + # @return [Fixnum] + attr_accessor :password_minimum_symbols + + # Minimum number of upper case letters required in the password. Only enforced + # when password_quality is COMPLEX. + # Corresponds to the JSON property `passwordMinimumUpperCase` + # @return [Fixnum] + attr_accessor :password_minimum_upper_case + + # The required password quality. + # Corresponds to the JSON property `passwordQuality` + # @return [String] + attr_accessor :password_quality + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @maximum_failed_passwords_for_wipe = args[:maximum_failed_passwords_for_wipe] if args.key?(:maximum_failed_passwords_for_wipe) + @password_expiration_timeout = args[:password_expiration_timeout] if args.key?(:password_expiration_timeout) + @password_history_length = args[:password_history_length] if args.key?(:password_history_length) + @password_minimum_length = args[:password_minimum_length] if args.key?(:password_minimum_length) + @password_minimum_letters = args[:password_minimum_letters] if args.key?(:password_minimum_letters) + @password_minimum_lower_case = args[:password_minimum_lower_case] if args.key?(:password_minimum_lower_case) + @password_minimum_non_letter = args[:password_minimum_non_letter] if args.key?(:password_minimum_non_letter) + @password_minimum_numeric = args[:password_minimum_numeric] if args.key?(:password_minimum_numeric) + @password_minimum_symbols = args[:password_minimum_symbols] if args.key?(:password_minimum_symbols) + @password_minimum_upper_case = args[:password_minimum_upper_case] if args.key?(:password_minimum_upper_case) + @password_quality = args[:password_quality] if args.key?(:password_quality) + end + end + + # Configuration for an Android permission and its grant state. + class PermissionGrant + include Google::Apis::Core::Hashable + + # The android permission, e.g. android.permission.READ_CALENDAR. + # Corresponds to the JSON property `permission` + # @return [String] + attr_accessor :permission + + # The policy for granting the permission. + # Corresponds to the JSON property `policy` + # @return [String] + attr_accessor :policy + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permission = args[:permission] if args.key?(:permission) + @policy = args[:policy] if args.key?(:policy) + end + end + + # A default activity for handling intents that match a particular intent filter. + class PersistentPreferredActivity + include Google::Apis::Core::Hashable + + # The intent actions to match in the filter. If any actions are included in the + # filter, then an intent's action must be one of those values for it to match. + # If no actions are included, the intent action is ignored. + # Corresponds to the JSON property `actions` + # @return [Array] + attr_accessor :actions + + # The intent categories to match in the filter. An intent includes the + # categories that it requires, all of which must be included in the filter in + # order to match. In other words, adding a category to the filter has no impact + # on matching unless that category is specified in the intent. + # Corresponds to the JSON property `categories` + # @return [Array] + attr_accessor :categories + + # The activity that should be the default intent handler. This should be an + # Android component name, e.g. com.android.enterprise.app/.MainActivity. + # Alternatively, the value may be the package name of an app, which causes + # Android Device Policy to choose an appropriate activity from the app to handle + # the intent. + # Corresponds to the JSON property `receiverActivity` + # @return [String] + attr_accessor :receiver_activity + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @actions = args[:actions] if args.key?(:actions) + @categories = args[:categories] if args.key?(:categories) + @receiver_activity = args[:receiver_activity] if args.key?(:receiver_activity) + end + end + + # A policy, which governs behavior for a device. + class Policy + include Google::Apis::Core::Hashable + + # Whether adding new users and profiles is disabled. + # Corresponds to the JSON property `addUserDisabled` + # @return [Boolean] + attr_accessor :add_user_disabled + alias_method :add_user_disabled?, :add_user_disabled + + # Whether adjusting the master volume is disabled. + # Corresponds to the JSON property `adjustVolumeDisabled` + # @return [Boolean] + attr_accessor :adjust_volume_disabled + alias_method :adjust_volume_disabled?, :adjust_volume_disabled + + # Policy applied to apps. + # Corresponds to the JSON property `applications` + # @return [Array] + attr_accessor :applications + + # Whether applications other than the ones configured in applications are + # blocked from being installed. When set, applications that were installed under + # a previous policy but no longer appear in the policy are automatically + # uninstalled. + # Corresponds to the JSON property `blockApplicationsEnabled` + # @return [Boolean] + attr_accessor :block_applications_enabled + alias_method :block_applications_enabled?, :block_applications_enabled + + # Whether all cameras on the device are disabled. + # Corresponds to the JSON property `cameraDisabled` + # @return [Boolean] + attr_accessor :camera_disabled + alias_method :camera_disabled?, :camera_disabled + + # Rules declaring which mitigating actions to take when a device is not + # compliant with its policy. When the conditions for multiple rules are + # satisfied, all of the mitigating actions for the rules are taken. There is a + # maximum limit of 100 rules. + # Corresponds to the JSON property `complianceRules` + # @return [Array] + attr_accessor :compliance_rules + + # Whether the user is allowed to enable debugging features. + # Corresponds to the JSON property `debuggingFeaturesAllowed` + # @return [Boolean] + attr_accessor :debugging_features_allowed + alias_method :debugging_features_allowed?, :debugging_features_allowed + + # The default permission policy for requests for runtime permissions. + # Corresponds to the JSON property `defaultPermissionPolicy` + # @return [String] + attr_accessor :default_permission_policy + + # Whether factory resetting from settings is disabled. + # Corresponds to the JSON property `factoryResetDisabled` + # @return [Boolean] + attr_accessor :factory_reset_disabled + alias_method :factory_reset_disabled?, :factory_reset_disabled + + # Email addresses of device administrators for factory reset protection. When + # the device is factory reset, it will require one of these admins to log in + # with the Google account email and password to unlock the device. If no admins + # are specified, the device will not provide factory reset protection. + # Corresponds to the JSON property `frpAdminEmails` + # @return [Array] + attr_accessor :frp_admin_emails + + # Whether the user is allowed to have fun. Controls whether the Easter egg game + # in Settings is disabled. + # Corresponds to the JSON property `funDisabled` + # @return [Boolean] + attr_accessor :fun_disabled + alias_method :fun_disabled?, :fun_disabled + + # Whether the user is allowed to enable the "Unknown Sources" setting, which + # allows installation of apps from unknown sources. + # Corresponds to the JSON property `installUnknownSourcesAllowed` + # @return [Boolean] + attr_accessor :install_unknown_sources_allowed + alias_method :install_unknown_sources_allowed?, :install_unknown_sources_allowed + + # Whether the keyguard is disabled. + # Corresponds to the JSON property `keyguardDisabled` + # @return [Boolean] + attr_accessor :keyguard_disabled + alias_method :keyguard_disabled?, :keyguard_disabled + + # Maximum time in milliseconds for user activity until the device will lock. A + # value of 0 means there is no restriction. + # Corresponds to the JSON property `maximumTimeToLock` + # @return [Fixnum] + attr_accessor :maximum_time_to_lock + + # Whether adding or removing accounts is disabled. + # Corresponds to the JSON property `modifyAccountsDisabled` + # @return [Boolean] + attr_accessor :modify_accounts_disabled + alias_method :modify_accounts_disabled?, :modify_accounts_disabled + + # The name of the policy in the form enterprises/`enterpriseId`/policies/` + # policyId` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Flag to specify if network escape hatch is enabled. If this flag has been + # enabled then upon device boot if device has no network connection, then an + # activity will be shown that allows the user to temporarily connect to a + # network to fetch the latest policy. The launched activity will time out if no + # network has been connected for a given while and will return to the previous + # activity that was shown. + # Corresponds to the JSON property `networkEscapeHatchEnabled` + # @return [Boolean] + attr_accessor :network_escape_hatch_enabled + alias_method :network_escape_hatch_enabled?, :network_escape_hatch_enabled + + # Network configuration for the device. See configure networks for more + # information. + # Corresponds to the JSON property `openNetworkConfiguration` + # @return [Hash] + attr_accessor :open_network_configuration + + # Requirements for the password used to unlock a device. + # Corresponds to the JSON property `passwordRequirements` + # @return [Google::Apis::AndroidmanagementV1::PasswordRequirements] + attr_accessor :password_requirements + + # Default intent handler activities. + # Corresponds to the JSON property `persistentPreferredActivities` + # @return [Array] + attr_accessor :persistent_preferred_activities + + # Whether removing other users is disabled. + # Corresponds to the JSON property `removeUserDisabled` + # @return [Boolean] + attr_accessor :remove_user_disabled + alias_method :remove_user_disabled?, :remove_user_disabled + + # Whether rebooting the device into safe boot is disabled. + # Corresponds to the JSON property `safeBootDisabled` + # @return [Boolean] + attr_accessor :safe_boot_disabled + alias_method :safe_boot_disabled?, :safe_boot_disabled + + # Whether screen capture is disabled. + # Corresponds to the JSON property `screenCaptureDisabled` + # @return [Boolean] + attr_accessor :screen_capture_disabled + alias_method :screen_capture_disabled?, :screen_capture_disabled + + # Whether the status bar is disabled. This disables notifications, quick + # settings and other screen overlays that allow escape from full-screen mode. + # Corresponds to the JSON property `statusBarDisabled` + # @return [Boolean] + attr_accessor :status_bar_disabled + alias_method :status_bar_disabled?, :status_bar_disabled + + # Settings controlling the behavior of status reports. + # Corresponds to the JSON property `statusReportingSettings` + # @return [Google::Apis::AndroidmanagementV1::StatusReportingSettings] + attr_accessor :status_reporting_settings + + # The battery plugged in modes for which the device stays on. When using this + # setting, it is recommended to clear maximum_time_to_lock so that the device + # doesn't lock itself while it stays on. + # Corresponds to the JSON property `stayOnPluggedModes` + # @return [Array] + attr_accessor :stay_on_plugged_modes + + # Configuration for managing system updates + # Corresponds to the JSON property `systemUpdate` + # @return [Google::Apis::AndroidmanagementV1::SystemUpdate] + attr_accessor :system_update + + # Whether the microphone is muted and adjusting microphone volume is disabled. + # Corresponds to the JSON property `unmuteMicrophoneDisabled` + # @return [Boolean] + attr_accessor :unmute_microphone_disabled + alias_method :unmute_microphone_disabled?, :unmute_microphone_disabled + + # The version of the policy. This is a read-only field. The version is + # incremented each time the policy is updated. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @add_user_disabled = args[:add_user_disabled] if args.key?(:add_user_disabled) + @adjust_volume_disabled = args[:adjust_volume_disabled] if args.key?(:adjust_volume_disabled) + @applications = args[:applications] if args.key?(:applications) + @block_applications_enabled = args[:block_applications_enabled] if args.key?(:block_applications_enabled) + @camera_disabled = args[:camera_disabled] if args.key?(:camera_disabled) + @compliance_rules = args[:compliance_rules] if args.key?(:compliance_rules) + @debugging_features_allowed = args[:debugging_features_allowed] if args.key?(:debugging_features_allowed) + @default_permission_policy = args[:default_permission_policy] if args.key?(:default_permission_policy) + @factory_reset_disabled = args[:factory_reset_disabled] if args.key?(:factory_reset_disabled) + @frp_admin_emails = args[:frp_admin_emails] if args.key?(:frp_admin_emails) + @fun_disabled = args[:fun_disabled] if args.key?(:fun_disabled) + @install_unknown_sources_allowed = args[:install_unknown_sources_allowed] if args.key?(:install_unknown_sources_allowed) + @keyguard_disabled = args[:keyguard_disabled] if args.key?(:keyguard_disabled) + @maximum_time_to_lock = args[:maximum_time_to_lock] if args.key?(:maximum_time_to_lock) + @modify_accounts_disabled = args[:modify_accounts_disabled] if args.key?(:modify_accounts_disabled) + @name = args[:name] if args.key?(:name) + @network_escape_hatch_enabled = args[:network_escape_hatch_enabled] if args.key?(:network_escape_hatch_enabled) + @open_network_configuration = args[:open_network_configuration] if args.key?(:open_network_configuration) + @password_requirements = args[:password_requirements] if args.key?(:password_requirements) + @persistent_preferred_activities = args[:persistent_preferred_activities] if args.key?(:persistent_preferred_activities) + @remove_user_disabled = args[:remove_user_disabled] if args.key?(:remove_user_disabled) + @safe_boot_disabled = args[:safe_boot_disabled] if args.key?(:safe_boot_disabled) + @screen_capture_disabled = args[:screen_capture_disabled] if args.key?(:screen_capture_disabled) + @status_bar_disabled = args[:status_bar_disabled] if args.key?(:status_bar_disabled) + @status_reporting_settings = args[:status_reporting_settings] if args.key?(:status_reporting_settings) + @stay_on_plugged_modes = args[:stay_on_plugged_modes] if args.key?(:stay_on_plugged_modes) + @system_update = args[:system_update] if args.key?(:system_update) + @unmute_microphone_disabled = args[:unmute_microphone_disabled] if args.key?(:unmute_microphone_disabled) + @version = args[:version] if args.key?(:version) + end + end + + # A power management event. + class PowerManagementEvent + include Google::Apis::Core::Hashable + + # For BATTERY_LEVEL_COLLECTED events, the battery level as a percentage. + # Corresponds to the JSON property `batteryLevel` + # @return [Float] + attr_accessor :battery_level + + # The creation time of the event. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Event type. + # Corresponds to the JSON property `eventType` + # @return [String] + attr_accessor :event_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @battery_level = args[:battery_level] if args.key?(:battery_level) + @create_time = args[:create_time] if args.key?(:create_time) + @event_type = args[:event_type] if args.key?(:event_type) + end + end + + # An enterprise signup URL. + class SignupUrl + include Google::Apis::Core::Hashable + + # The name of the resource. This must be included in the create enterprise + # request at the end of the signup flow. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # A URL under which the Admin can sign up for an enterprise. The page pointed to + # cannot be rendered in an iframe. + # 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) + @name = args[:name] if args.key?(:name) + @url = args[:url] if args.key?(:url) + end + end + + # Information about device software. + class SoftwareInfo + include Google::Apis::Core::Hashable + + # Android build Id string meant for displaying to the user, e.g. shamu-userdebug + # 6.0.1 MOB30I 2756745 dev-keys. + # Corresponds to the JSON property `androidBuildNumber` + # @return [String] + attr_accessor :android_build_number + + # Build time. + # Corresponds to the JSON property `androidBuildTime` + # @return [String] + attr_accessor :android_build_time + + # The user visible Android version string, e.g. 6.0.1. + # Corresponds to the JSON property `androidVersion` + # @return [String] + attr_accessor :android_version + + # The system bootloader version number, e.g. 0.6.7. + # Corresponds to the JSON property `bootloaderVersion` + # @return [String] + attr_accessor :bootloader_version + + # Kernel version, e.g. 2.6.32.9-g103d848. + # Corresponds to the JSON property `deviceKernelVersion` + # @return [String] + attr_accessor :device_kernel_version + + # Security patch level, e.g. 2016-05-01. + # Corresponds to the JSON property `securityPatchLevel` + # @return [String] + attr_accessor :security_patch_level + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @android_build_number = args[:android_build_number] if args.key?(:android_build_number) + @android_build_time = args[:android_build_time] if args.key?(:android_build_time) + @android_version = args[:android_version] if args.key?(:android_version) + @bootloader_version = args[:bootloader_version] if args.key?(:bootloader_version) + @device_kernel_version = args[:device_kernel_version] if args.key?(:device_kernel_version) + @security_patch_level = args[:security_patch_level] if args.key?(:security_patch_level) + 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 needsOverviewThe 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 that can be used for common error + # conditions.Language mappingThe 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 usesThe 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. + # 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 is 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 + + # Settings controlling the behavior of status reports. + class StatusReportingSettings + include Google::Apis::Core::Hashable + + # Whether displays reporting is enabled. + # Corresponds to the JSON property `displayInfoEnabled` + # @return [Boolean] + attr_accessor :display_info_enabled + alias_method :display_info_enabled?, :display_info_enabled + + # Whether hardware status reporting is enabled. + # Corresponds to the JSON property `hardwareStatusEnabled` + # @return [Boolean] + attr_accessor :hardware_status_enabled + alias_method :hardware_status_enabled?, :hardware_status_enabled + + # Whether memory info reporting is enabled. + # Corresponds to the JSON property `memoryInfoEnabled` + # @return [Boolean] + attr_accessor :memory_info_enabled + alias_method :memory_info_enabled?, :memory_info_enabled + + # Whether network info reporting is enabled. + # Corresponds to the JSON property `networkInfoEnabled` + # @return [Boolean] + attr_accessor :network_info_enabled + alias_method :network_info_enabled?, :network_info_enabled + + # Whether power management event reporting is enabled. + # Corresponds to the JSON property `powerManagementEventsEnabled` + # @return [Boolean] + attr_accessor :power_management_events_enabled + alias_method :power_management_events_enabled?, :power_management_events_enabled + + # Whether software info reporting is enabled. + # Corresponds to the JSON property `softwareInfoEnabled` + # @return [Boolean] + attr_accessor :software_info_enabled + alias_method :software_info_enabled?, :software_info_enabled + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @display_info_enabled = args[:display_info_enabled] if args.key?(:display_info_enabled) + @hardware_status_enabled = args[:hardware_status_enabled] if args.key?(:hardware_status_enabled) + @memory_info_enabled = args[:memory_info_enabled] if args.key?(:memory_info_enabled) + @network_info_enabled = args[:network_info_enabled] if args.key?(:network_info_enabled) + @power_management_events_enabled = args[:power_management_events_enabled] if args.key?(:power_management_events_enabled) + @software_info_enabled = args[:software_info_enabled] if args.key?(:software_info_enabled) + end + end + + # Configuration for managing system updates + class SystemUpdate + include Google::Apis::Core::Hashable + + # If the type is WINDOWED, the end of the maintenance window, measured as the + # number of minutes after midnight in device local time. This value must be + # between 0 and 1439, inclusive. If this value is less than start_minutes, then + # the maintenance window spans midnight. If the maintenance window specified is + # smaller than 30 minutes, the actual window is extended to 30 minutes beyond + # the start time. + # Corresponds to the JSON property `endMinutes` + # @return [Fixnum] + attr_accessor :end_minutes + + # If the type is WINDOWED, the start of the maintenance window, measured as the + # number of minutes after midnight in device local time. This value must be + # between 0 and 1439, inclusive. + # Corresponds to the JSON property `startMinutes` + # @return [Fixnum] + attr_accessor :start_minutes + + # The type of system update to configure. + # 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) + @end_minutes = args[:end_minutes] if args.key?(:end_minutes) + @start_minutes = args[:start_minutes] if args.key?(:start_minutes) + @type = args[:type] if args.key?(:type) + end + end + + # Provides user facing message with locale info. The maximum message length is + # 4096 characters. + class UserFacingMessage + include Google::Apis::Core::Hashable + + # The default message that gets displayed if no localized message is specified, + # or the user's locale does not match with any of the localized messages. A + # default message must be provided if any localized messages are provided. + # Corresponds to the JSON property `defaultMessage` + # @return [String] + attr_accessor :default_message + + # A map which contains pairs. The locale is a BCP 47 language + # code, e.g. en-US, es-ES, fr. + # Corresponds to the JSON property `localizedMessages` + # @return [Hash] + attr_accessor :localized_messages + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @default_message = args[:default_message] if args.key?(:default_message) + @localized_messages = args[:localized_messages] if args.key?(:localized_messages) + end + end + + # A web token used to access an embeddable managed Google Play web UI. + class WebToken + include Google::Apis::Core::Hashable + + # The name of the web token, which is generated by the server during creation, + # in the form enterprises/`enterpriseId`/webTokens/`webTokenId`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The URL of the parent frame hosting the iframe with the embedded UI. To + # prevent XSS, the iframe may not be hosted at other URLs. The URL must use the + # https scheme. + # Corresponds to the JSON property `parentFrameUrl` + # @return [String] + attr_accessor :parent_frame_url + + # Permissions the admin may exercise in the embedded UI. The admin must have all + # of these permissions in order to view the UI. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + # The token value which is used in the hosting page to generate the iframe with + # the embedded UI. This is a read-only field generated by the server. + # 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) + @name = args[:name] if args.key?(:name) + @parent_frame_url = args[:parent_frame_url] if args.key?(:parent_frame_url) + @permissions = args[:permissions] if args.key?(:permissions) + @value = args[:value] if args.key?(:value) + end + end + end + end +end diff --git a/generated/google/apis/androidmanagement_v1/representations.rb b/generated/google/apis/androidmanagement_v1/representations.rb new file mode 100644 index 000000000..755fcea7e --- /dev/null +++ b/generated/google/apis/androidmanagement_v1/representations.rb @@ -0,0 +1,702 @@ +# 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 AndroidmanagementV1 + + class ApiLevelCondition + 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 ApplicationPermission + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ApplicationPolicy + 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 ComplianceRule + 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 DisplayProp + 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 EnrollmentToken + 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 ExternalData + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HardwareInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HardwareStatus + 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 ListOperationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListPoliciesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ManagedProperty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ManagedPropertyEntry + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MemoryEvent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MemoryInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NetworkInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NonComplianceDetail + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NonComplianceDetailCondition + 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 PasswordRequirements + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PermissionGrant + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PersistentPreferredActivity + 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 PowerManagementEvent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SignupUrl + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SoftwareInfo + 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 StatusReportingSettings + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SystemUpdate + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UserFacingMessage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WebToken + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ApiLevelCondition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :min_api_level, as: 'minApiLevel' + end + end + + class Application + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :managed_properties, as: 'managedProperties', class: Google::Apis::AndroidmanagementV1::ManagedProperty, decorator: Google::Apis::AndroidmanagementV1::ManagedProperty::Representation + + property :name, as: 'name' + collection :permissions, as: 'permissions', class: Google::Apis::AndroidmanagementV1::ApplicationPermission, decorator: Google::Apis::AndroidmanagementV1::ApplicationPermission::Representation + + property :title, as: 'title' + end + end + + class ApplicationPermission + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :name, as: 'name' + property :permission_id, as: 'permissionId' + end + end + + class ApplicationPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :default_permission_policy, as: 'defaultPermissionPolicy' + property :install_type, as: 'installType' + property :lock_task_allowed, as: 'lockTaskAllowed' + hash :managed_configuration, as: 'managedConfiguration' + property :package_name, as: 'packageName' + collection :permission_grants, as: 'permissionGrants', class: Google::Apis::AndroidmanagementV1::PermissionGrant, decorator: Google::Apis::AndroidmanagementV1::PermissionGrant::Representation + + end + end + + class Command + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :duration, as: 'duration' + property :new_password, as: 'newPassword' + collection :reset_password_flags, as: 'resetPasswordFlags' + property :type, as: 'type' + end + end + + class ComplianceRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :api_level_condition, as: 'apiLevelCondition', class: Google::Apis::AndroidmanagementV1::ApiLevelCondition, decorator: Google::Apis::AndroidmanagementV1::ApiLevelCondition::Representation + + property :disable_apps, as: 'disableApps' + property :non_compliance_detail_condition, as: 'nonComplianceDetailCondition', class: Google::Apis::AndroidmanagementV1::NonComplianceDetailCondition, decorator: Google::Apis::AndroidmanagementV1::NonComplianceDetailCondition::Representation + + end + end + + class Device + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :api_level, as: 'apiLevel' + property :applied_policy_name, as: 'appliedPolicyName' + property :applied_policy_version, :numeric_string => true, as: 'appliedPolicyVersion' + property :applied_state, as: 'appliedState' + property :disabled_reason, as: 'disabledReason', class: Google::Apis::AndroidmanagementV1::UserFacingMessage, decorator: Google::Apis::AndroidmanagementV1::UserFacingMessage::Representation + + collection :displays, as: 'displays', class: Google::Apis::AndroidmanagementV1::DisplayProp, decorator: Google::Apis::AndroidmanagementV1::DisplayProp::Representation + + property :enrollment_time, as: 'enrollmentTime' + property :enrollment_token_data, as: 'enrollmentTokenData' + property :enrollment_token_name, as: 'enrollmentTokenName' + property :hardware_info, as: 'hardwareInfo', class: Google::Apis::AndroidmanagementV1::HardwareInfo, decorator: Google::Apis::AndroidmanagementV1::HardwareInfo::Representation + + collection :hardware_status_samples, as: 'hardwareStatusSamples', class: Google::Apis::AndroidmanagementV1::HardwareStatus, decorator: Google::Apis::AndroidmanagementV1::HardwareStatus::Representation + + property :last_offline_state_change_time, as: 'lastOfflineStateChangeTime' + property :last_policy_compliance_report_time, as: 'lastPolicyComplianceReportTime' + property :last_policy_sync_time, as: 'lastPolicySyncTime' + property :last_status_report_time, as: 'lastStatusReportTime' + collection :memory_events, as: 'memoryEvents', class: Google::Apis::AndroidmanagementV1::MemoryEvent, decorator: Google::Apis::AndroidmanagementV1::MemoryEvent::Representation + + property :memory_info, as: 'memoryInfo', class: Google::Apis::AndroidmanagementV1::MemoryInfo, decorator: Google::Apis::AndroidmanagementV1::MemoryInfo::Representation + + property :name, as: 'name' + property :network_info, as: 'networkInfo', class: Google::Apis::AndroidmanagementV1::NetworkInfo, decorator: Google::Apis::AndroidmanagementV1::NetworkInfo::Representation + + collection :non_compliance_details, as: 'nonComplianceDetails', class: Google::Apis::AndroidmanagementV1::NonComplianceDetail, decorator: Google::Apis::AndroidmanagementV1::NonComplianceDetail::Representation + + property :policy_compliant, as: 'policyCompliant' + property :policy_name, as: 'policyName' + collection :power_management_events, as: 'powerManagementEvents', class: Google::Apis::AndroidmanagementV1::PowerManagementEvent, decorator: Google::Apis::AndroidmanagementV1::PowerManagementEvent::Representation + + collection :previous_device_names, as: 'previousDeviceNames' + property :software_info, as: 'softwareInfo', class: Google::Apis::AndroidmanagementV1::SoftwareInfo, decorator: Google::Apis::AndroidmanagementV1::SoftwareInfo::Representation + + property :state, as: 'state' + property :user_name, as: 'userName' + end + end + + class DisplayProp + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :density, as: 'density' + property :display_id, as: 'displayId' + property :height, as: 'height' + property :name, as: 'name' + property :refresh_rate, as: 'refreshRate' + property :state, as: 'state' + property :width, as: 'width' + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class EnrollmentToken + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :additional_data, as: 'additionalData' + property :duration, as: 'duration' + property :expiration_timestamp, as: 'expirationTimestamp' + property :name, as: 'name' + property :policy_name, as: 'policyName' + property :qr_code, as: 'qrCode' + property :value, as: 'value' + end + end + + class Enterprise + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :app_auto_approval_enabled, as: 'appAutoApprovalEnabled' + collection :enabled_notification_types, as: 'enabledNotificationTypes' + property :enterprise_display_name, as: 'enterpriseDisplayName' + property :logo, as: 'logo', class: Google::Apis::AndroidmanagementV1::ExternalData, decorator: Google::Apis::AndroidmanagementV1::ExternalData::Representation + + property :name, as: 'name' + property :primary_color, as: 'primaryColor' + property :pubsub_topic, as: 'pubsubTopic' + end + end + + class ExternalData + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :sha256_hash, as: 'sha256Hash' + property :url, as: 'url' + end + end + + class HardwareInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :battery_shutdown_temperatures, as: 'batteryShutdownTemperatures' + collection :battery_throttling_temperatures, as: 'batteryThrottlingTemperatures' + property :brand, as: 'brand' + collection :cpu_shutdown_temperatures, as: 'cpuShutdownTemperatures' + collection :cpu_throttling_temperatures, as: 'cpuThrottlingTemperatures' + property :device_baseband_version, as: 'deviceBasebandVersion' + collection :gpu_shutdown_temperatures, as: 'gpuShutdownTemperatures' + collection :gpu_throttling_temperatures, as: 'gpuThrottlingTemperatures' + property :hardware, as: 'hardware' + property :manufacturer, as: 'manufacturer' + property :model, as: 'model' + property :serial_number, as: 'serialNumber' + collection :skin_shutdown_temperatures, as: 'skinShutdownTemperatures' + collection :skin_throttling_temperatures, as: 'skinThrottlingTemperatures' + end + end + + class HardwareStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :battery_temperatures, as: 'batteryTemperatures' + collection :cpu_temperatures, as: 'cpuTemperatures' + collection :cpu_usages, as: 'cpuUsages' + property :create_time, as: 'createTime' + collection :fan_speeds, as: 'fanSpeeds' + collection :gpu_temperatures, as: 'gpuTemperatures' + collection :skin_temperatures, as: 'skinTemperatures' + end + end + + class ListDevicesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :devices, as: 'devices', class: Google::Apis::AndroidmanagementV1::Device, decorator: Google::Apis::AndroidmanagementV1::Device::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListOperationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :operations, as: 'operations', class: Google::Apis::AndroidmanagementV1::Operation, decorator: Google::Apis::AndroidmanagementV1::Operation::Representation + + end + end + + class ListPoliciesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :policies, as: 'policies', class: Google::Apis::AndroidmanagementV1::Policy, decorator: Google::Apis::AndroidmanagementV1::Policy::Representation + + end + end + + class ManagedProperty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :default_value, as: 'defaultValue' + property :description, as: 'description' + collection :entries, as: 'entries', class: Google::Apis::AndroidmanagementV1::ManagedPropertyEntry, decorator: Google::Apis::AndroidmanagementV1::ManagedPropertyEntry::Representation + + property :key, as: 'key' + collection :nested_properties, as: 'nestedProperties', class: Google::Apis::AndroidmanagementV1::ManagedProperty, decorator: Google::Apis::AndroidmanagementV1::ManagedProperty::Representation + + property :title, as: 'title' + property :type, as: 'type' + end + end + + class ManagedPropertyEntry + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :value, as: 'value' + end + end + + class MemoryEvent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :byte_count, :numeric_string => true, as: 'byteCount' + property :create_time, as: 'createTime' + property :event_type, as: 'eventType' + end + end + + class MemoryInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :total_internal_storage, :numeric_string => true, as: 'totalInternalStorage' + property :total_ram, :numeric_string => true, as: 'totalRam' + end + end + + class NetworkInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :imei, as: 'imei' + property :meid, as: 'meid' + property :wifi_mac_address, as: 'wifiMacAddress' + end + end + + class NonComplianceDetail + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :current_value, as: 'currentValue' + property :field_path, as: 'fieldPath' + property :installation_failure_reason, as: 'installationFailureReason' + property :non_compliance_reason, as: 'nonComplianceReason' + property :package_name, as: 'packageName' + property :setting_name, as: 'settingName' + end + end + + class NonComplianceDetailCondition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :non_compliance_reason, as: 'nonComplianceReason' + property :package_name, as: 'packageName' + property :setting_name, as: 'settingName' + end + end + + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::AndroidmanagementV1::Status, decorator: Google::Apis::AndroidmanagementV1::Status::Representation + + hash :metadata, as: 'metadata' + property :name, as: 'name' + hash :response, as: 'response' + end + end + + class PasswordRequirements + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :maximum_failed_passwords_for_wipe, as: 'maximumFailedPasswordsForWipe' + property :password_expiration_timeout, as: 'passwordExpirationTimeout' + property :password_history_length, as: 'passwordHistoryLength' + property :password_minimum_length, as: 'passwordMinimumLength' + property :password_minimum_letters, as: 'passwordMinimumLetters' + property :password_minimum_lower_case, as: 'passwordMinimumLowerCase' + property :password_minimum_non_letter, as: 'passwordMinimumNonLetter' + property :password_minimum_numeric, as: 'passwordMinimumNumeric' + property :password_minimum_symbols, as: 'passwordMinimumSymbols' + property :password_minimum_upper_case, as: 'passwordMinimumUpperCase' + property :password_quality, as: 'passwordQuality' + end + end + + class PermissionGrant + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :permission, as: 'permission' + property :policy, as: 'policy' + end + end + + class PersistentPreferredActivity + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :actions, as: 'actions' + collection :categories, as: 'categories' + property :receiver_activity, as: 'receiverActivity' + end + end + + class Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :add_user_disabled, as: 'addUserDisabled' + property :adjust_volume_disabled, as: 'adjustVolumeDisabled' + collection :applications, as: 'applications', class: Google::Apis::AndroidmanagementV1::ApplicationPolicy, decorator: Google::Apis::AndroidmanagementV1::ApplicationPolicy::Representation + + property :block_applications_enabled, as: 'blockApplicationsEnabled' + property :camera_disabled, as: 'cameraDisabled' + collection :compliance_rules, as: 'complianceRules', class: Google::Apis::AndroidmanagementV1::ComplianceRule, decorator: Google::Apis::AndroidmanagementV1::ComplianceRule::Representation + + property :debugging_features_allowed, as: 'debuggingFeaturesAllowed' + property :default_permission_policy, as: 'defaultPermissionPolicy' + property :factory_reset_disabled, as: 'factoryResetDisabled' + collection :frp_admin_emails, as: 'frpAdminEmails' + property :fun_disabled, as: 'funDisabled' + property :install_unknown_sources_allowed, as: 'installUnknownSourcesAllowed' + property :keyguard_disabled, as: 'keyguardDisabled' + property :maximum_time_to_lock, :numeric_string => true, as: 'maximumTimeToLock' + property :modify_accounts_disabled, as: 'modifyAccountsDisabled' + property :name, as: 'name' + property :network_escape_hatch_enabled, as: 'networkEscapeHatchEnabled' + hash :open_network_configuration, as: 'openNetworkConfiguration' + property :password_requirements, as: 'passwordRequirements', class: Google::Apis::AndroidmanagementV1::PasswordRequirements, decorator: Google::Apis::AndroidmanagementV1::PasswordRequirements::Representation + + collection :persistent_preferred_activities, as: 'persistentPreferredActivities', class: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity, decorator: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity::Representation + + property :remove_user_disabled, as: 'removeUserDisabled' + property :safe_boot_disabled, as: 'safeBootDisabled' + property :screen_capture_disabled, as: 'screenCaptureDisabled' + property :status_bar_disabled, as: 'statusBarDisabled' + property :status_reporting_settings, as: 'statusReportingSettings', class: Google::Apis::AndroidmanagementV1::StatusReportingSettings, decorator: Google::Apis::AndroidmanagementV1::StatusReportingSettings::Representation + + collection :stay_on_plugged_modes, as: 'stayOnPluggedModes' + property :system_update, as: 'systemUpdate', class: Google::Apis::AndroidmanagementV1::SystemUpdate, decorator: Google::Apis::AndroidmanagementV1::SystemUpdate::Representation + + property :unmute_microphone_disabled, as: 'unmuteMicrophoneDisabled' + property :version, :numeric_string => true, as: 'version' + end + end + + class PowerManagementEvent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :battery_level, as: 'batteryLevel' + property :create_time, as: 'createTime' + property :event_type, as: 'eventType' + end + end + + class SignupUrl + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :url, as: 'url' + end + end + + class SoftwareInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :android_build_number, as: 'androidBuildNumber' + property :android_build_time, as: 'androidBuildTime' + property :android_version, as: 'androidVersion' + property :bootloader_version, as: 'bootloaderVersion' + property :device_kernel_version, as: 'deviceKernelVersion' + property :security_patch_level, as: 'securityPatchLevel' + 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 StatusReportingSettings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_info_enabled, as: 'displayInfoEnabled' + property :hardware_status_enabled, as: 'hardwareStatusEnabled' + property :memory_info_enabled, as: 'memoryInfoEnabled' + property :network_info_enabled, as: 'networkInfoEnabled' + property :power_management_events_enabled, as: 'powerManagementEventsEnabled' + property :software_info_enabled, as: 'softwareInfoEnabled' + end + end + + class SystemUpdate + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_minutes, as: 'endMinutes' + property :start_minutes, as: 'startMinutes' + property :type, as: 'type' + end + end + + class UserFacingMessage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :default_message, as: 'defaultMessage' + hash :localized_messages, as: 'localizedMessages' + end + end + + class WebToken + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :parent_frame_url, as: 'parentFrameUrl' + collection :permissions, as: 'permissions' + property :value, as: 'value' + end + end + end + end +end diff --git a/generated/google/apis/androidmanagement_v1/service.rb b/generated/google/apis/androidmanagement_v1/service.rb new file mode 100644 index 000000000..67a685246 --- /dev/null +++ b/generated/google/apis/androidmanagement_v1/service.rb @@ -0,0 +1,796 @@ +# 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 AndroidmanagementV1 + # Android Management API + # + # The Android Management API provides remote enterprise management of Android + # devices and apps. + # + # @example + # require 'google/apis/androidmanagement_v1' + # + # Androidmanagement = Google::Apis::AndroidmanagementV1 # Alias the module + # service = Androidmanagement::AndroidManagementService.new + # + # @see https://developers.google.com/android/management + class AndroidManagementService < 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://androidmanagement.googleapis.com/', '') + @batch_path = 'batch' + end + + # Creates an enterprise by completing the enterprise signup flow. + # @param [Google::Apis::AndroidmanagementV1::Enterprise] enterprise_object + # @param [String] enterprise_token + # The enterprise token appended to the callback URL. + # @param [String] project_id + # The id of the Google Cloud Platform project which will own the enterprise. + # @param [String] signup_url_name + # The name of the SignupUrl used to sign up for the enterprise. + # @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::AndroidmanagementV1::Enterprise] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidmanagementV1::Enterprise] + # + # @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_enterprise(enterprise_object = nil, enterprise_token: nil, project_id: nil, signup_url_name: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/enterprises', options) + command.request_representation = Google::Apis::AndroidmanagementV1::Enterprise::Representation + command.request_object = enterprise_object + command.response_representation = Google::Apis::AndroidmanagementV1::Enterprise::Representation + command.response_class = Google::Apis::AndroidmanagementV1::Enterprise + command.query['enterpriseToken'] = enterprise_token unless enterprise_token.nil? + command.query['projectId'] = project_id unless project_id.nil? + command.query['signupUrlName'] = signup_url_name unless signup_url_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 an enterprise. + # @param [String] name + # The name of the enterprise in the form enterprises/`enterpriseId` + # @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::AndroidmanagementV1::Enterprise] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidmanagementV1::Enterprise] + # + # @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_enterprise(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::AndroidmanagementV1::Enterprise::Representation + command.response_class = Google::Apis::AndroidmanagementV1::Enterprise + 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 + + # Updates an enterprise. + # @param [String] name + # The name of the enterprise in the form enterprises/`enterpriseId` + # @param [Google::Apis::AndroidmanagementV1::Enterprise] enterprise_object + # @param [String] update_mask + # The field mask indicating the fields to update. If not set, all modifiable + # fields will be modified. + # @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::AndroidmanagementV1::Enterprise] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidmanagementV1::Enterprise] + # + # @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_enterprise(name, enterprise_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/{+name}', options) + command.request_representation = Google::Apis::AndroidmanagementV1::Enterprise::Representation + command.request_object = enterprise_object + command.response_representation = Google::Apis::AndroidmanagementV1::Enterprise::Representation + command.response_class = Google::Apis::AndroidmanagementV1::Enterprise + command.params['name'] = name unless 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 + + # Gets info about an application. + # @param [String] name + # The name of the application in the form enterprises/`enterpriseId`/ + # applications/`package_name` + # @param [String] language_code + # The preferred language for localized application info, as a BCP47 tag (e.g. " + # en-US", "de"). If not specified the default language of the application will + # be used. + # @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::AndroidmanagementV1::Application] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidmanagementV1::Application] + # + # @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_enterprise_application(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::AndroidmanagementV1::Application::Representation + command.response_class = Google::Apis::AndroidmanagementV1::Application + command.params['name'] = name unless name.nil? + command.query['languageCode'] = language_code unless language_code.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 device, which causes the device to be wiped. + # @param [String] name + # The name of the device in the form enterprises/`enterpriseId`/devices/` + # deviceId` + # @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::AndroidmanagementV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidmanagementV1::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_enterprise_device(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation + command.response_class = Google::Apis::AndroidmanagementV1::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 + + # Gets a device. + # @param [String] name + # The name of the device in the form enterprises/`enterpriseId`/devices/` + # deviceId` + # @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::AndroidmanagementV1::Device] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidmanagementV1::Device] + # + # @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_enterprise_device(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::AndroidmanagementV1::Device::Representation + command.response_class = Google::Apis::AndroidmanagementV1::Device + 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 + + # Issues a command to a device. The Operation resource returned contains a + # Command in its metadata field. Use the get operation method to get the status + # of the command. + # @param [String] name + # The name of the device in the form enterprises/`enterpriseId`/devices/` + # deviceId` + # @param [Google::Apis::AndroidmanagementV1::Command] command_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::AndroidmanagementV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidmanagementV1::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 issue_enterprise_device_command(name, command_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:issueCommand', options) + command.request_representation = Google::Apis::AndroidmanagementV1::Command::Representation + command.request_object = command_object + command.response_representation = Google::Apis::AndroidmanagementV1::Operation::Representation + command.response_class = Google::Apis::AndroidmanagementV1::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 devices for a given enterprise. + # @param [String] parent + # The name of the enterprise in the form enterprises/`enterpriseId` + # @param [Fixnum] page_size + # The requested page size. The actual page size may be fixed to a min or max + # value. + # @param [String] page_token + # A token identifying a page of results the server should 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::AndroidmanagementV1::ListDevicesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidmanagementV1::ListDevicesResponse] + # + # @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_enterprise_devices(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/devices', options) + command.response_representation = Google::Apis::AndroidmanagementV1::ListDevicesResponse::Representation + command.response_class = Google::Apis::AndroidmanagementV1::ListDevicesResponse + command.params['parent'] = parent unless parent.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 + + # Updates a device. + # @param [String] name + # The name of the device in the form enterprises/`enterpriseId`/devices/` + # deviceId` + # @param [Google::Apis::AndroidmanagementV1::Device] device_object + # @param [String] update_mask + # The field mask indicating the fields to update. If not set, all modifiable + # fields will be modified. + # @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::AndroidmanagementV1::Device] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidmanagementV1::Device] + # + # @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_enterprise_device(name, device_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/{+name}', options) + command.request_representation = Google::Apis::AndroidmanagementV1::Device::Representation + command.request_object = device_object + command.response_representation = Google::Apis::AndroidmanagementV1::Device::Representation + command.response_class = Google::Apis::AndroidmanagementV1::Device + command.params['name'] = name unless 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 + + # 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. + # On successful cancellation, the operation is not deleted; instead, it becomes + # an operation with an Operation.error value with a google.rpc.Status.code of 1, + # corresponding to Code.CANCELLED. + # @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::AndroidmanagementV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidmanagementV1::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_enterprise_device_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:cancel', options) + command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation + command.response_class = Google::Apis::AndroidmanagementV1::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::AndroidmanagementV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidmanagementV1::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_enterprise_device_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation + command.response_class = Google::Apis::AndroidmanagementV1::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 + + # 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::AndroidmanagementV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidmanagementV1::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_enterprise_device_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::AndroidmanagementV1::Operation::Representation + command.response_class = Google::Apis::AndroidmanagementV1::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 + # allows API services to override the binding to use different resource name + # schemes, such as users/*/operations. To override the binding, API services can + # add a binding such as "/v1/`name=users/*`/operations" to their service + # configuration. For backwards compatibility, the default name includes the + # operations collection id, however overriding users must ensure the name + # binding is the parent resource, without the operations collection id. + # @param [String] name + # The name of the operation's parent resource. + # @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::AndroidmanagementV1::ListOperationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidmanagementV1::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_enterprise_device_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::AndroidmanagementV1::ListOperationsResponse::Representation + command.response_class = Google::Apis::AndroidmanagementV1::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 + + # Creates an enrollment token for a given enterprise. + # @param [String] parent + # The name of the enterprise in the form enterprises/`enterpriseId` + # @param [Google::Apis::AndroidmanagementV1::EnrollmentToken] enrollment_token_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::AndroidmanagementV1::EnrollmentToken] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidmanagementV1::EnrollmentToken] + # + # @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_enterprise_enrollment_token(parent, enrollment_token_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/enrollmentTokens', options) + command.request_representation = Google::Apis::AndroidmanagementV1::EnrollmentToken::Representation + command.request_object = enrollment_token_object + command.response_representation = Google::Apis::AndroidmanagementV1::EnrollmentToken::Representation + command.response_class = Google::Apis::AndroidmanagementV1::EnrollmentToken + command.params['parent'] = parent unless parent.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 an enrollment token, which prevents future use of the token. + # @param [String] name + # The name of the enrollment token in the form enterprises/`enterpriseId`/ + # enrollmentTokens/`enrollmentTokenId` + # @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::AndroidmanagementV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidmanagementV1::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_enterprise_enrollment_token(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation + command.response_class = Google::Apis::AndroidmanagementV1::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 policy. This operation is only permitted if no devices are currently + # referencing the policy. + # @param [String] name + # The name of the policy in the form enterprises/`enterpriseId`/policies/` + # policyId` + # @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::AndroidmanagementV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidmanagementV1::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_enterprise_policy(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation + command.response_class = Google::Apis::AndroidmanagementV1::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 + + # Gets a policy. + # @param [String] name + # The name of the policy in the form enterprises/`enterpriseId`/policies/` + # policyId` + # @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::AndroidmanagementV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidmanagementV1::Policy] + # + # @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_enterprise_policy(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::AndroidmanagementV1::Policy::Representation + command.response_class = Google::Apis::AndroidmanagementV1::Policy + 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 policies for a given enterprise. + # @param [String] parent + # The name of the enterprise in the form enterprises/`enterpriseId` + # @param [Fixnum] page_size + # The requested page size. The actual page size may be fixed to a min or max + # value. + # @param [String] page_token + # A token identifying a page of results the server should 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::AndroidmanagementV1::ListPoliciesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidmanagementV1::ListPoliciesResponse] + # + # @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_enterprise_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/policies', options) + command.response_representation = Google::Apis::AndroidmanagementV1::ListPoliciesResponse::Representation + command.response_class = Google::Apis::AndroidmanagementV1::ListPoliciesResponse + command.params['parent'] = parent unless parent.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 + + # Updates or creates a policy. + # @param [String] name + # The name of the policy in the form enterprises/`enterpriseId`/policies/` + # policyId` + # @param [Google::Apis::AndroidmanagementV1::Policy] policy_object + # @param [String] update_mask + # The field mask indicating the fields to update. If not set, all modifiable + # fields will be modified. + # @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::AndroidmanagementV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidmanagementV1::Policy] + # + # @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_enterprise_policy(name, policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/{+name}', options) + command.request_representation = Google::Apis::AndroidmanagementV1::Policy::Representation + command.request_object = policy_object + command.response_representation = Google::Apis::AndroidmanagementV1::Policy::Representation + command.response_class = Google::Apis::AndroidmanagementV1::Policy + command.params['name'] = name unless 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 + + # Creates a web token to access an embeddable managed Google Play web UI for a + # given enterprise. + # @param [String] parent + # The name of the enterprise in the form enterprises/`enterpriseId` + # @param [Google::Apis::AndroidmanagementV1::WebToken] web_token_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::AndroidmanagementV1::WebToken] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidmanagementV1::WebToken] + # + # @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_enterprise_web_token(parent, web_token_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/webTokens', options) + command.request_representation = Google::Apis::AndroidmanagementV1::WebToken::Representation + command.request_object = web_token_object + command.response_representation = Google::Apis::AndroidmanagementV1::WebToken::Representation + command.response_class = Google::Apis::AndroidmanagementV1::WebToken + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates an enterprise signup URL. + # @param [String] callback_url + # The callback URL to which the admin will be redirected after successfully + # creating an enterprise. Before redirecting there the system will add a query + # parameter to this URL named enterpriseToken which will contain an opaque token + # to be used for the create enterprise request. The URL will be parsed then + # reformatted in order to add the enterpriseToken parameter, so there may be + # some minor formatting changes. + # @param [String] project_id + # The id of the Google Cloud Platform project which will own the enterprise. + # @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::AndroidmanagementV1::SignupUrl] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidmanagementV1::SignupUrl] + # + # @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_signup_url(callback_url: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/signupUrls', options) + command.response_representation = Google::Apis::AndroidmanagementV1::SignupUrl::Representation + command.response_class = Google::Apis::AndroidmanagementV1::SignupUrl + command.query['callbackUrl'] = callback_url unless callback_url.nil? + command.query['projectId'] = project_id unless project_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 + + 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/androidpublisher_v2.rb b/generated/google/apis/androidpublisher_v2.rb index c0a1dc7fe..8a7e0cb89 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 = '20170504' + REVISION = '20170808' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/androidpublisher_v2/classes.rb b/generated/google/apis/androidpublisher_v2/classes.rb index 1d823906a..8b4a18484 100644 --- a/generated/google/apis/androidpublisher_v2/classes.rb +++ b/generated/google/apis/androidpublisher_v2/classes.rb @@ -57,6 +57,12 @@ module Google # @return [String] attr_accessor :sha1 + # A sha256 hash of the APK payload, encoded as a hex string and matching the + # output of the sha256sum command. + # Corresponds to the JSON property `sha256` + # @return [String] + attr_accessor :sha256 + def initialize(**args) update!(**args) end @@ -64,6 +70,7 @@ module Google # Update properties of this object def update!(**args) @sha1 = args[:sha1] if args.key?(:sha1) + @sha256 = args[:sha256] if args.key?(:sha256) end end @@ -1271,6 +1278,11 @@ module Google # @return [String] attr_accessor :kind + # The order id associated with the purchase of the inapp product. + # Corresponds to the JSON property `orderId` + # @return [String] + attr_accessor :order_id + # The purchase state of the order. Possible values are: # - Purchased # - Cancelled @@ -1293,6 +1305,7 @@ module Google @consumption_state = args[:consumption_state] if args.key?(:consumption_state) @developer_payload = args[:developer_payload] if args.key?(:developer_payload) @kind = args[:kind] if args.key?(:kind) + @order_id = args[:order_id] if args.key?(:order_id) @purchase_state = args[:purchase_state] if args.key?(:purchase_state) @purchase_time_millis = args[:purchase_time_millis] if args.key?(:purchase_time_millis) end @@ -1558,9 +1571,16 @@ module Google # @return [String] attr_accessor :kind + # The order id of the latest recurring order associated with the purchase of the + # subscription. + # Corresponds to the JSON property `orderId` + # @return [String] + attr_accessor :order_id + # The payment state of the subscription. Possible values are: # - Payment pending # - Payment received + # - Free trial # Corresponds to the JSON property `paymentState` # @return [Fixnum] attr_accessor :payment_state @@ -1601,6 +1621,7 @@ module Google @developer_payload = args[:developer_payload] if args.key?(:developer_payload) @expiry_time_millis = args[:expiry_time_millis] if args.key?(:expiry_time_millis) @kind = args[:kind] if args.key?(:kind) + @order_id = args[:order_id] if args.key?(:order_id) @payment_state = args[:payment_state] if args.key?(:payment_state) @price_amount_micros = args[:price_amount_micros] if args.key?(:price_amount_micros) @price_currency_code = args[:price_currency_code] if args.key?(:price_currency_code) diff --git a/generated/google/apis/androidpublisher_v2/representations.rb b/generated/google/apis/androidpublisher_v2/representations.rb index 9657a060a..137fc63b4 100644 --- a/generated/google/apis/androidpublisher_v2/representations.rb +++ b/generated/google/apis/androidpublisher_v2/representations.rb @@ -395,6 +395,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :sha1, as: 'sha1' + property :sha256, as: 'sha256' end end @@ -775,6 +776,7 @@ module Google property :consumption_state, as: 'consumptionState' property :developer_payload, as: 'developerPayload' property :kind, as: 'kind' + property :order_id, as: 'orderId' property :purchase_state, as: 'purchaseState' property :purchase_time_millis, :numeric_string => true, as: 'purchaseTimeMillis' end @@ -865,6 +867,7 @@ module Google property :developer_payload, as: 'developerPayload' property :expiry_time_millis, :numeric_string => true, as: 'expiryTimeMillis' property :kind, as: 'kind' + property :order_id, as: 'orderId' property :payment_state, as: 'paymentState' property :price_amount_micros, :numeric_string => true, as: 'priceAmountMicros' property :price_currency_code, as: 'priceCurrencyCode' diff --git a/generated/google/apis/androidpublisher_v2/service.rb b/generated/google/apis/androidpublisher_v2/service.rb index df038c850..18f4bbfe9 100644 --- a/generated/google/apis/androidpublisher_v2/service.rb +++ b/generated/google/apis/androidpublisher_v2/service.rb @@ -2389,14 +2389,18 @@ module Google # The time, in milliseconds since the Epoch, of the newest voided in-app product # purchase that you want to see in the response. The value of this parameter # cannot be greater than the current time and is ignored if a pagination token - # is set. Default value is current time. + # is set. Default value is current time. Note: This filter is applied on the + # time at which the record is seen as voided by our systems and not the actual + # voided time returned in the response. # @param [Fixnum] max_results # @param [Fixnum] start_index # @param [Fixnum] start_time # The time, in milliseconds since the Epoch, of the oldest voided in-app product # purchase that you want to see in the response. The value of this parameter # cannot be older than 30 days and is ignored if a pagination token is set. - # Default value is current time minus 30 days. + # Default value is current time minus 30 days. Note: This filter is applied on + # the time at which the record is seen as voided by our systems and not the + # actual voided time returned in the response. # @param [String] token # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/appengine_v1.rb b/generated/google/apis/appengine_v1.rb index 0c3d634a9..e75266b72 100644 --- a/generated/google/apis/appengine_v1.rb +++ b/generated/google/apis/appengine_v1.rb @@ -26,16 +26,16 @@ module Google # @see https://cloud.google.com/appengine/docs/admin-api/ module AppengineV1 VERSION = 'V1' - REVISION = '20170626' + REVISION = '20170818' # View and manage your applications deployed on Google App Engine AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin' - # View your data across Google Cloud Platform services - AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' - # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + + # View your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' end end end diff --git a/generated/google/apis/appengine_v1/classes.rb b/generated/google/apis/appengine_v1/classes.rb index 568e1fa61..e454b9c27 100644 --- a/generated/google/apis/appengine_v1/classes.rb +++ b/generated/google/apis/appengine_v1/classes.rb @@ -22,6 +22,51 @@ module Google module Apis module AppengineV1 + # Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/ + # endpoints/) configuration for API handlers. + class ApiConfigHandler + include Google::Apis::Core::Hashable + + # Action to take when users access resources that require authentication. + # Defaults to redirect. + # Corresponds to the JSON property `authFailAction` + # @return [String] + attr_accessor :auth_fail_action + + # Level of login required to access this resource. Defaults to optional. + # Corresponds to the JSON property `login` + # @return [String] + attr_accessor :login + + # Path to the script from the application root directory. + # Corresponds to the JSON property `script` + # @return [String] + attr_accessor :script + + # Security (HTTPS) enforcement for this URL. + # Corresponds to the JSON property `securityLevel` + # @return [String] + attr_accessor :security_level + + # URL to serve the endpoint at. + # 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) + @auth_fail_action = args[:auth_fail_action] if args.key?(:auth_fail_action) + @login = args[:login] if args.key?(:login) + @script = args[:script] if args.key?(:script) + @security_level = args[:security_level] if args.key?(:security_level) + @url = args[:url] if args.key?(:url) + end + end + # Uses Google Cloud Endpoints to handle requests. class ApiEndpointHandler include Google::Apis::Core::Hashable @@ -41,22 +86,117 @@ module Google end end + # An Application resource contains the top-level configuration of an App Engine + # application. Next tag: 20 + class Application + include Google::Apis::Core::Hashable + + # Google Apps authentication domain that controls which users can access this + # application.Defaults to open access for any Google Account. + # Corresponds to the JSON property `authDomain` + # @return [String] + attr_accessor :auth_domain + + # Google Cloud Storage bucket that can be used for storing files associated with + # this application. This bucket is associated with the application and can be + # used by the gcloud deployment commands.@OutputOnly + # Corresponds to the JSON property `codeBucket` + # @return [String] + attr_accessor :code_bucket + + # Google Cloud Storage bucket that can be used by this application to store + # content.@OutputOnly + # Corresponds to the JSON property `defaultBucket` + # @return [String] + attr_accessor :default_bucket + + # Cookie expiration policy for this application. + # Corresponds to the JSON property `defaultCookieExpiration` + # @return [String] + attr_accessor :default_cookie_expiration + + # Hostname used to reach this application, as resolved by App Engine.@OutputOnly + # Corresponds to the JSON property `defaultHostname` + # @return [String] + attr_accessor :default_hostname + + # HTTP path dispatch rules for requests to the application that do not + # explicitly target a service or version. Rules are order-dependent. Up to 20 + # dispatch rules can be supported.@OutputOnly + # Corresponds to the JSON property `dispatchRules` + # @return [Array] + attr_accessor :dispatch_rules + + # The feature specific settings to be used in the application. These define + # behaviors that are user configurable. + # Corresponds to the JSON property `featureSettings` + # @return [Google::Apis::AppengineV1::FeatureSettings] + attr_accessor :feature_settings + + # The Google Container Registry domain used for storing managed build docker + # images for this application. + # Corresponds to the JSON property `gcrDomain` + # @return [String] + attr_accessor :gcr_domain + + # Identity-Aware Proxy + # Corresponds to the JSON property `iap` + # @return [Google::Apis::AppengineV1::IdentityAwareProxy] + attr_accessor :iap + + # Identifier of the Application resource. This identifier is equivalent to the + # project ID of the Google Cloud Platform project where you want to deploy your + # application. Example: myapp. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Location from which this application will be run. Application instances will + # run out of data centers in the chosen location, which is also where all of the + # application's end user content is stored.Defaults to us-central.Options are:us- + # central - Central USeurope-west - Western Europeus-east1 - Eastern US + # Corresponds to the JSON property `locationId` + # @return [String] + attr_accessor :location_id + + # Full path to the Application resource in the API. Example: apps/myapp.@ + # OutputOnly + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Serving status of this application. + # Corresponds to the JSON property `servingStatus` + # @return [String] + attr_accessor :serving_status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @auth_domain = args[:auth_domain] if args.key?(:auth_domain) + @code_bucket = args[:code_bucket] if args.key?(:code_bucket) + @default_bucket = args[:default_bucket] if args.key?(:default_bucket) + @default_cookie_expiration = args[:default_cookie_expiration] if args.key?(:default_cookie_expiration) + @default_hostname = args[:default_hostname] if args.key?(:default_hostname) + @dispatch_rules = args[:dispatch_rules] if args.key?(:dispatch_rules) + @feature_settings = args[:feature_settings] if args.key?(:feature_settings) + @gcr_domain = args[:gcr_domain] if args.key?(:gcr_domain) + @iap = args[:iap] if args.key?(:iap) + @id = args[:id] if args.key?(:id) + @location_id = args[:location_id] if args.key?(:location_id) + @name = args[:name] if args.key?(:name) + @serving_status = args[:serving_status] if args.key?(:serving_status) + end + end + # Automatic scaling is based on request rate, response latencies, and other # application metrics. class AutomaticScaling include Google::Apis::Core::Hashable - # Target scaling by network usage. Only applicable for VM runtimes. - # Corresponds to the JSON property `networkUtilization` - # @return [Google::Apis::AppengineV1::NetworkUtilization] - attr_accessor :network_utilization - - # Number of concurrent requests an automatic scaling instance can accept before - # the scheduler spawns a new instance.Defaults to a runtime-specific value. - # Corresponds to the JSON property `maxConcurrentRequests` - # @return [Fixnum] - attr_accessor :max_concurrent_requests - # Amount of time that the Autoscaler (https://cloud.google.com/compute/docs/ # autoscaler/) should wait between changes to the number of virtual machines. # Only applicable for VM runtimes. @@ -64,12 +204,6 @@ module Google # @return [String] attr_accessor :cool_down_period - # Maximum amount of time that a request should wait in the pending queue before - # starting a new instance to handle it. - # Corresponds to the JSON property `maxPendingLatency` - # @return [String] - attr_accessor :max_pending_latency - # Target scaling by CPU usage. # Corresponds to the JSON property `cpuUtilization` # @return [Google::Apis::AppengineV1::CpuUtilization] @@ -80,21 +214,27 @@ module Google # @return [Google::Apis::AppengineV1::DiskUtilization] attr_accessor :disk_utilization - # Minimum amount of time a request should wait in the pending queue before - # starting a new instance to handle it. - # Corresponds to the JSON property `minPendingLatency` - # @return [String] - attr_accessor :min_pending_latency + # Number of concurrent requests an automatic scaling instance can accept before + # the scheduler spawns a new instance.Defaults to a runtime-specific value. + # Corresponds to the JSON property `maxConcurrentRequests` + # @return [Fixnum] + attr_accessor :max_concurrent_requests # Maximum number of idle instances that should be maintained for this version. # Corresponds to the JSON property `maxIdleInstances` # @return [Fixnum] attr_accessor :max_idle_instances - # Target scaling by request utilization. Only applicable for VM runtimes. - # Corresponds to the JSON property `requestUtilization` - # @return [Google::Apis::AppengineV1::RequestUtilization] - attr_accessor :request_utilization + # Maximum amount of time that a request should wait in the pending queue before + # starting a new instance to handle it. + # Corresponds to the JSON property `maxPendingLatency` + # @return [String] + attr_accessor :max_pending_latency + + # Maximum number of instances that should be started to handle requests. + # Corresponds to the JSON property `maxTotalInstances` + # @return [Fixnum] + attr_accessor :max_total_instances # Minimum number of idle instances that should be maintained for this version. # Only applicable for the default version of a service. @@ -102,53 +242,65 @@ module Google # @return [Fixnum] attr_accessor :min_idle_instances - # Maximum number of instances that should be started to handle requests. - # Corresponds to the JSON property `maxTotalInstances` - # @return [Fixnum] - attr_accessor :max_total_instances + # Minimum amount of time a request should wait in the pending queue before + # starting a new instance to handle it. + # Corresponds to the JSON property `minPendingLatency` + # @return [String] + attr_accessor :min_pending_latency # Minimum number of instances that should be maintained for this version. # Corresponds to the JSON property `minTotalInstances` # @return [Fixnum] attr_accessor :min_total_instances + # Target scaling by network usage. Only applicable for VM runtimes. + # Corresponds to the JSON property `networkUtilization` + # @return [Google::Apis::AppengineV1::NetworkUtilization] + attr_accessor :network_utilization + + # Target scaling by request utilization. Only applicable for VM runtimes. + # Corresponds to the JSON property `requestUtilization` + # @return [Google::Apis::AppengineV1::RequestUtilization] + attr_accessor :request_utilization + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @network_utilization = args[:network_utilization] if args.key?(:network_utilization) - @max_concurrent_requests = args[:max_concurrent_requests] if args.key?(:max_concurrent_requests) @cool_down_period = args[:cool_down_period] if args.key?(:cool_down_period) - @max_pending_latency = args[:max_pending_latency] if args.key?(:max_pending_latency) @cpu_utilization = args[:cpu_utilization] if args.key?(:cpu_utilization) @disk_utilization = args[:disk_utilization] if args.key?(:disk_utilization) - @min_pending_latency = args[:min_pending_latency] if args.key?(:min_pending_latency) + @max_concurrent_requests = args[:max_concurrent_requests] if args.key?(:max_concurrent_requests) @max_idle_instances = args[:max_idle_instances] if args.key?(:max_idle_instances) - @request_utilization = args[:request_utilization] if args.key?(:request_utilization) - @min_idle_instances = args[:min_idle_instances] if args.key?(:min_idle_instances) + @max_pending_latency = args[:max_pending_latency] if args.key?(:max_pending_latency) @max_total_instances = args[:max_total_instances] if args.key?(:max_total_instances) + @min_idle_instances = args[:min_idle_instances] if args.key?(:min_idle_instances) + @min_pending_latency = args[:min_pending_latency] if args.key?(:min_pending_latency) @min_total_instances = args[:min_total_instances] if args.key?(:min_total_instances) + @network_utilization = args[:network_utilization] if args.key?(:network_utilization) + @request_utilization = args[:request_utilization] if args.key?(:request_utilization) end end - # The zip file information for a zip deployment. - class ZipInfo + # A service with basic scaling will create an instance when the application + # receives a request. The instance will be turned down when the app becomes idle. + # Basic scaling is ideal for work that is intermittent or driven by user + # activity. + class BasicScaling include Google::Apis::Core::Hashable - # An estimate of the number of files in a zip for a zip deployment. If set, must - # be greater than or equal to the actual number of files. Used for optimizing - # performance; if not provided, deployment may be slow. - # Corresponds to the JSON property `filesCount` + # Duration of time after the last request that an instance must wait before the + # instance is shut down. + # Corresponds to the JSON property `idleTimeout` + # @return [String] + attr_accessor :idle_timeout + + # Maximum number of instances to create for this version. + # Corresponds to the JSON property `maxInstances` # @return [Fixnum] - attr_accessor :files_count - - # URL of the zip file to deploy from. Must be a URL to a resource in Google - # Cloud Storage in the form 'http(s)://storage.googleapis.com//'. - # Corresponds to the JSON property `sourceUrl` - # @return [String] - attr_accessor :source_url + attr_accessor :max_instances def initialize(**args) update!(**args) @@ -156,58 +308,8 @@ module Google # Update properties of this object def update!(**args) - @files_count = args[:files_count] if args.key?(:files_count) - @source_url = args[:source_url] if args.key?(:source_url) - end - end - - # Third-party Python runtime library that is required by the application. - class Library - include Google::Apis::Core::Hashable - - # Name of the library. Example: "django". - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Version of the library to select, or "latest". - # Corresponds to the JSON property `version` - # @return [String] - attr_accessor :version - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @version = args[:version] if args.key?(:version) - end - end - - # The response message for Locations.ListLocations. - class ListLocationsResponse - include Google::Apis::Core::Hashable - - # The standard List next-page token. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # A list of locations that matches the specified filter in the request. - # Corresponds to the JSON property `locations` - # @return [Array] - attr_accessor :locations - - 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) - @locations = args[:locations] if args.key?(:locations) + @idle_timeout = args[:idle_timeout] if args.key?(:idle_timeout) + @max_instances = args[:max_instances] if args.key?(:max_instances) end end @@ -234,19 +336,19 @@ module Google end end - # Target scaling by request utilization. Only applicable for VM runtimes. - class RequestUtilization + # Target scaling by CPU usage. + class CpuUtilization include Google::Apis::Core::Hashable - # Target requests per second. - # Corresponds to the JSON property `targetRequestCountPerSecond` - # @return [Fixnum] - attr_accessor :target_request_count_per_second + # Period of time over which CPU utilization is calculated. + # Corresponds to the JSON property `aggregationWindowLength` + # @return [String] + attr_accessor :aggregation_window_length - # Target number of concurrent requests. - # Corresponds to the JSON property `targetConcurrentRequests` - # @return [Fixnum] - attr_accessor :target_concurrent_requests + # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1. + # Corresponds to the JSON property `targetUtilization` + # @return [Float] + attr_accessor :target_utilization def initialize(**args) update!(**args) @@ -254,63 +356,23 @@ module Google # Update properties of this object def update!(**args) - @target_request_count_per_second = args[:target_request_count_per_second] if args.key?(:target_request_count_per_second) - @target_concurrent_requests = args[:target_concurrent_requests] if args.key?(:target_concurrent_requests) + @aggregation_window_length = args[:aggregation_window_length] if args.key?(:aggregation_window_length) + @target_utilization = args[:target_utilization] if args.key?(:target_utilization) end end - # URL pattern and description of how the URL should be handled. App Engine can - # handle URLs by executing application code or by serving static files uploaded - # with the version, such as images, CSS, or JavaScript. - class UrlMap + # Request message for Instances.DebugInstance. + class DebugInstanceRequest include Google::Apis::Core::Hashable - # Security (HTTPS) enforcement for this URL. - # Corresponds to the JSON property `securityLevel` + # Public SSH key to add to the instance. Examples: + # [USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME] + # [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh `"userName":"[USERNAME]","expireOn":" + # [EXPIRE_TIME]"`For more information, see Adding and Removing SSH Keys (https:// + # cloud.google.com/compute/docs/instances/adding-removing-ssh-keys). + # Corresponds to the JSON property `sshKey` # @return [String] - attr_accessor :security_level - - # Action to take when users access resources that require authentication. - # Defaults to redirect. - # Corresponds to the JSON property `authFailAction` - # @return [String] - attr_accessor :auth_fail_action - - # Executes a script to handle the request that matches the URL pattern. - # Corresponds to the JSON property `script` - # @return [Google::Apis::AppengineV1::ScriptHandler] - attr_accessor :script - - # URL prefix. Uses regular expression syntax, which means regexp special - # characters must be escaped, but should not contain groupings. All URLs that - # begin with this prefix are handled by this handler, using the portion of the - # URL after the prefix as part of the file path. - # Corresponds to the JSON property `urlRegex` - # @return [String] - attr_accessor :url_regex - - # Level of login required to access this resource. - # Corresponds to the JSON property `login` - # @return [String] - attr_accessor :login - - # Uses Google Cloud Endpoints to handle requests. - # Corresponds to the JSON property `apiEndpoint` - # @return [Google::Apis::AppengineV1::ApiEndpointHandler] - attr_accessor :api_endpoint - - # Files served directly to the user for a given URL, such as images, CSS - # stylesheets, or JavaScript source files. Static file handlers describe which - # files in the application directory are static files, and which URLs serve them. - # Corresponds to the JSON property `staticFiles` - # @return [Google::Apis::AppengineV1::StaticFilesHandler] - attr_accessor :static_files - - # 30x code to use when performing redirects for the secure field. Defaults to - # 302. - # Corresponds to the JSON property `redirectHttpResponseCode` - # @return [String] - attr_accessor :redirect_http_response_code + attr_accessor :ssh_key def initialize(**args) update!(**args) @@ -318,14 +380,79 @@ module Google # Update properties of this object def update!(**args) - @security_level = args[:security_level] if args.key?(:security_level) - @auth_fail_action = args[:auth_fail_action] if args.key?(:auth_fail_action) - @script = args[:script] if args.key?(:script) - @url_regex = args[:url_regex] if args.key?(:url_regex) - @login = args[:login] if args.key?(:login) - @api_endpoint = args[:api_endpoint] if args.key?(:api_endpoint) - @static_files = args[:static_files] if args.key?(:static_files) - @redirect_http_response_code = args[:redirect_http_response_code] if args.key?(:redirect_http_response_code) + @ssh_key = args[:ssh_key] if args.key?(:ssh_key) + end + end + + # Code and application artifacts used to deploy a version to App Engine. + class Deployment + include Google::Apis::Core::Hashable + + # Docker image that is used to create a container and start a VM instance for + # the version that you deploy. Only applicable for instances running in the App + # Engine flexible environment. + # Corresponds to the JSON property `container` + # @return [Google::Apis::AppengineV1::ContainerInfo] + attr_accessor :container + + # Manifest of the files stored in Google Cloud Storage that are included as part + # of this version. All files must be readable using the credentials supplied + # with this call. + # Corresponds to the JSON property `files` + # @return [Hash] + attr_accessor :files + + # The zip file information for a zip deployment. + # Corresponds to the JSON property `zip` + # @return [Google::Apis::AppengineV1::ZipInfo] + attr_accessor :zip + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @container = args[:container] if args.key?(:container) + @files = args[:files] if args.key?(:files) + @zip = args[:zip] if args.key?(:zip) + end + end + + # Target scaling by disk usage. Only applicable for VM runtimes. + class DiskUtilization + include Google::Apis::Core::Hashable + + # Target bytes read per second. + # Corresponds to the JSON property `targetReadBytesPerSecond` + # @return [Fixnum] + attr_accessor :target_read_bytes_per_second + + # Target ops read per seconds. + # Corresponds to the JSON property `targetReadOpsPerSecond` + # @return [Fixnum] + attr_accessor :target_read_ops_per_second + + # Target bytes written per second. + # Corresponds to the JSON property `targetWriteBytesPerSecond` + # @return [Fixnum] + attr_accessor :target_write_bytes_per_second + + # Target ops written per second. + # Corresponds to the JSON property `targetWriteOpsPerSecond` + # @return [Fixnum] + attr_accessor :target_write_ops_per_second + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @target_read_bytes_per_second = args[:target_read_bytes_per_second] if args.key?(:target_read_bytes_per_second) + @target_read_ops_per_second = args[:target_read_ops_per_second] if args.key?(:target_read_ops_per_second) + @target_write_bytes_per_second = args[:target_write_bytes_per_second] if args.key?(:target_write_bytes_per_second) + @target_write_ops_per_second = args[:target_write_ops_per_second] if args.key?(:target_write_ops_per_second) end end @@ -360,28 +487,719 @@ module Google end end + # Custom static error page to be served when an error occurs. + class ErrorHandler + include Google::Apis::Core::Hashable + + # Error condition this handler applies to. + # Corresponds to the JSON property `errorCode` + # @return [String] + attr_accessor :error_code + + # MIME type of file. Defaults to text/html. + # Corresponds to the JSON property `mimeType` + # @return [String] + attr_accessor :mime_type + + # Static file content to be served for this error. + # Corresponds to the JSON property `staticFile` + # @return [String] + attr_accessor :static_file + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @error_code = args[:error_code] if args.key?(:error_code) + @mime_type = args[:mime_type] if args.key?(:mime_type) + @static_file = args[:static_file] if args.key?(:static_file) + end + end + + # The feature specific settings to be used in the application. These define + # behaviors that are user configurable. + class FeatureSettings + include Google::Apis::Core::Hashable + + # Boolean value indicating if split health checks should be used instead of the + # legacy health checks. At an app.yaml level, this means defaulting to ' + # readiness_check' and 'liveness_check' values instead of 'health_check' ones. + # Once the legacy 'health_check' behavior is deprecated, and this value is + # always true, this setting can be removed. + # Corresponds to the JSON property `splitHealthChecks` + # @return [Boolean] + attr_accessor :split_health_checks + alias_method :split_health_checks?, :split_health_checks + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @split_health_checks = args[:split_health_checks] if args.key?(:split_health_checks) + end + end + + # Single source file that is part of the version to be deployed. Each source + # file that is deployed must be specified separately. + class FileInfo + include Google::Apis::Core::Hashable + + # The MIME type of the file.Defaults to the value from Google Cloud Storage. + # Corresponds to the JSON property `mimeType` + # @return [String] + attr_accessor :mime_type + + # The SHA1 hash of the file, in hex. + # Corresponds to the JSON property `sha1Sum` + # @return [String] + attr_accessor :sha1_sum + + # URL source to use to fetch this file. Must be a URL to a resource in Google + # Cloud Storage in the form 'http(s)://storage.googleapis.com//'. + # Corresponds to the JSON property `sourceUrl` + # @return [String] + attr_accessor :source_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @mime_type = args[:mime_type] if args.key?(:mime_type) + @sha1_sum = args[:sha1_sum] if args.key?(:sha1_sum) + @source_url = args[:source_url] if args.key?(:source_url) + end + end + + # Health checking configuration for VM instances. Unhealthy instances are killed + # and replaced with new instances. Only applicable for instances in App Engine + # flexible environment. + class HealthCheck + include Google::Apis::Core::Hashable + + # Interval between health checks. + # Corresponds to the JSON property `checkInterval` + # @return [String] + attr_accessor :check_interval + + # Whether to explicitly disable health checks for this instance. + # Corresponds to the JSON property `disableHealthCheck` + # @return [Boolean] + attr_accessor :disable_health_check + alias_method :disable_health_check?, :disable_health_check + + # Number of consecutive successful health checks required before receiving + # traffic. + # Corresponds to the JSON property `healthyThreshold` + # @return [Fixnum] + attr_accessor :healthy_threshold + + # Host header to send when performing an HTTP health check. Example: "myapp. + # appspot.com" + # Corresponds to the JSON property `host` + # @return [String] + attr_accessor :host + + # Number of consecutive failed health checks required before an instance is + # restarted. + # Corresponds to the JSON property `restartThreshold` + # @return [Fixnum] + attr_accessor :restart_threshold + + # Time before the health check is considered failed. + # Corresponds to the JSON property `timeout` + # @return [String] + attr_accessor :timeout + + # Number of consecutive failed health checks required before removing traffic. + # Corresponds to the JSON property `unhealthyThreshold` + # @return [Fixnum] + attr_accessor :unhealthy_threshold + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @check_interval = args[:check_interval] if args.key?(:check_interval) + @disable_health_check = args[:disable_health_check] if args.key?(:disable_health_check) + @healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold) + @host = args[:host] if args.key?(:host) + @restart_threshold = args[:restart_threshold] if args.key?(:restart_threshold) + @timeout = args[:timeout] if args.key?(:timeout) + @unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold) + end + end + + # Identity-Aware Proxy + class IdentityAwareProxy + include Google::Apis::Core::Hashable + + # Whether the serving infrastructure will authenticate and authorize all + # incoming requests.If true, the oauth2_client_id and oauth2_client_secret + # fields must be non-empty. + # Corresponds to the JSON property `enabled` + # @return [Boolean] + attr_accessor :enabled + alias_method :enabled?, :enabled + + # OAuth2 client ID to use for the authentication flow. + # Corresponds to the JSON property `oauth2ClientId` + # @return [String] + attr_accessor :oauth2_client_id + + # OAuth2 client secret to use for the authentication flow.For security reasons, + # this value cannot be retrieved via the API. Instead, the SHA-256 hash of the + # value is returned in the oauth2_client_secret_sha256 field.@InputOnly + # Corresponds to the JSON property `oauth2ClientSecret` + # @return [String] + attr_accessor :oauth2_client_secret + + # Hex-encoded SHA-256 hash of the client secret.@OutputOnly + # Corresponds to the JSON property `oauth2ClientSecretSha256` + # @return [String] + attr_accessor :oauth2_client_secret_sha256 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enabled = args[:enabled] if args.key?(:enabled) + @oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id) + @oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret) + @oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256) + end + end + + # An Instance resource is the computing unit that App Engine uses to + # automatically scale an application. + class Instance + include Google::Apis::Core::Hashable + + # App Engine release this instance is running on.@OutputOnly + # Corresponds to the JSON property `appEngineRelease` + # @return [String] + attr_accessor :app_engine_release + + # Availability of the instance.@OutputOnly + # Corresponds to the JSON property `availability` + # @return [String] + attr_accessor :availability + + # Average latency (ms) over the last minute.@OutputOnly + # Corresponds to the JSON property `averageLatency` + # @return [Fixnum] + attr_accessor :average_latency + + # Number of errors since this instance was started.@OutputOnly + # Corresponds to the JSON property `errors` + # @return [Fixnum] + attr_accessor :errors + + # Relative name of the instance within the version. Example: instance-1.@ + # OutputOnly + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Total memory in use (bytes).@OutputOnly + # Corresponds to the JSON property `memoryUsage` + # @return [Fixnum] + attr_accessor :memory_usage + + # Full path to the Instance resource in the API. Example: apps/myapp/services/ + # default/versions/v1/instances/instance-1.@OutputOnly + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Average queries per second (QPS) over the last minute.@OutputOnly + # Corresponds to the JSON property `qps` + # @return [Float] + attr_accessor :qps + + # Number of requests since this instance was started.@OutputOnly + # Corresponds to the JSON property `requests` + # @return [Fixnum] + attr_accessor :requests + + # Time that this instance was started.@OutputOnly + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Whether this instance is in debug mode. Only applicable for instances in App + # Engine flexible environment.@OutputOnly + # Corresponds to the JSON property `vmDebugEnabled` + # @return [Boolean] + attr_accessor :vm_debug_enabled + alias_method :vm_debug_enabled?, :vm_debug_enabled + + # Virtual machine ID of this instance. Only applicable for instances in App + # Engine flexible environment.@OutputOnly + # Corresponds to the JSON property `vmId` + # @return [String] + attr_accessor :vm_id + + # The IP address of this instance. Only applicable for instances in App Engine + # flexible environment.@OutputOnly + # Corresponds to the JSON property `vmIp` + # @return [String] + attr_accessor :vm_ip + + # Name of the virtual machine where this instance lives. Only applicable for + # instances in App Engine flexible environment.@OutputOnly + # Corresponds to the JSON property `vmName` + # @return [String] + attr_accessor :vm_name + + # Status of the virtual machine where this instance lives. Only applicable for + # instances in App Engine flexible environment.@OutputOnly + # Corresponds to the JSON property `vmStatus` + # @return [String] + attr_accessor :vm_status + + # Zone where the virtual machine is located. Only applicable for instances in + # App Engine flexible environment.@OutputOnly + # Corresponds to the JSON property `vmZoneName` + # @return [String] + attr_accessor :vm_zone_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @app_engine_release = args[:app_engine_release] if args.key?(:app_engine_release) + @availability = args[:availability] if args.key?(:availability) + @average_latency = args[:average_latency] if args.key?(:average_latency) + @errors = args[:errors] if args.key?(:errors) + @id = args[:id] if args.key?(:id) + @memory_usage = args[:memory_usage] if args.key?(:memory_usage) + @name = args[:name] if args.key?(:name) + @qps = args[:qps] if args.key?(:qps) + @requests = args[:requests] if args.key?(:requests) + @start_time = args[:start_time] if args.key?(:start_time) + @vm_debug_enabled = args[:vm_debug_enabled] if args.key?(:vm_debug_enabled) + @vm_id = args[:vm_id] if args.key?(:vm_id) + @vm_ip = args[:vm_ip] if args.key?(:vm_ip) + @vm_name = args[:vm_name] if args.key?(:vm_name) + @vm_status = args[:vm_status] if args.key?(:vm_status) + @vm_zone_name = args[:vm_zone_name] if args.key?(:vm_zone_name) + end + end + + # Third-party Python runtime library that is required by the application. + class Library + include Google::Apis::Core::Hashable + + # Name of the library. Example: "django". + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Version of the library to select, or "latest". + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @version = args[:version] if args.key?(:version) + end + end + + # Response message for Instances.ListInstances. + class ListInstancesResponse + include Google::Apis::Core::Hashable + + # The instances belonging to the requested version. + # Corresponds to the JSON property `instances` + # @return [Array] + attr_accessor :instances + + # Continuation token for fetching the next page of results. + # 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) + @instances = args[:instances] if args.key?(:instances) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The response message for Locations.ListLocations. + class ListLocationsResponse + include Google::Apis::Core::Hashable + + # A list of locations that matches the specified filter in the request. + # Corresponds to the JSON property `locations` + # @return [Array] + attr_accessor :locations + + # 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) + @locations = args[:locations] if args.key?(:locations) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The response message for Operations.ListOperations. + class ListOperationsResponse + include Google::Apis::Core::Hashable + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + 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) + @operations = args[:operations] if args.key?(:operations) + end + end + + # Response message for Services.ListServices. + class ListServicesResponse + include Google::Apis::Core::Hashable + + # Continuation token for fetching the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The services belonging to the requested application. + # Corresponds to the JSON property `services` + # @return [Array] + attr_accessor :services + + 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) + @services = args[:services] if args.key?(:services) + end + end + + # Response message for Versions.ListVersions. + class ListVersionsResponse + include Google::Apis::Core::Hashable + + # Continuation token for fetching the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The versions belonging to the requested service. + # Corresponds to the JSON property `versions` + # @return [Array] + attr_accessor :versions + + 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) + @versions = args[:versions] if args.key?(:versions) + end + end + + # Health checking configuration for VM instances. Unhealthy instances are killed + # and replaced with new instances. + class LivenessCheck + include Google::Apis::Core::Hashable + + # Interval between health checks. + # Corresponds to the JSON property `checkInterval` + # @return [String] + attr_accessor :check_interval + + # Number of consecutive failed checks required before considering the VM + # unhealthy. + # Corresponds to the JSON property `failureThreshold` + # @return [Fixnum] + attr_accessor :failure_threshold + + # Host header to send when performing a HTTP Liveness check. Example: "myapp. + # appspot.com" + # Corresponds to the JSON property `host` + # @return [String] + attr_accessor :host + + # The initial delay before starting to execute the checks. + # Corresponds to the JSON property `initialDelay` + # @return [String] + attr_accessor :initial_delay + + # The request path. + # Corresponds to the JSON property `path` + # @return [String] + attr_accessor :path + + # Number of consecutive successful checks required before considering the VM + # healthy. + # Corresponds to the JSON property `successThreshold` + # @return [Fixnum] + attr_accessor :success_threshold + + # Time before the check is considered failed. + # Corresponds to the JSON property `timeout` + # @return [String] + attr_accessor :timeout + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @check_interval = args[:check_interval] if args.key?(:check_interval) + @failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold) + @host = args[:host] if args.key?(:host) + @initial_delay = args[:initial_delay] if args.key?(:initial_delay) + @path = args[:path] if args.key?(:path) + @success_threshold = args[:success_threshold] if args.key?(:success_threshold) + @timeout = args[:timeout] if args.key?(:timeout) + end + end + + # A resource that represents Google Cloud Platform location. + class Location + include Google::Apis::Core::Hashable + + # Cross-service attributes for the location. For example + # `"cloud.googleapis.com/region": "us-east1"` + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # The canonical id for this location. For example: "us-east1". + # Corresponds to the JSON property `locationId` + # @return [String] + attr_accessor :location_id + + # Service-specific metadata. For example the available capacity at the given + # location. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # Resource name for the location, which may vary between implementations. For + # example: "projects/example-project/locations/us-east1" + # 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) + @labels = args[:labels] if args.key?(:labels) + @location_id = args[:location_id] if args.key?(:location_id) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + end + end + + # Metadata for the given google.cloud.location.Location. + class LocationMetadata + include Google::Apis::Core::Hashable + + # App Engine Flexible Environment is available in the given location.@OutputOnly + # Corresponds to the JSON property `flexibleEnvironmentAvailable` + # @return [Boolean] + attr_accessor :flexible_environment_available + alias_method :flexible_environment_available?, :flexible_environment_available + + # App Engine Standard Environment is available in the given location.@OutputOnly + # Corresponds to the JSON property `standardEnvironmentAvailable` + # @return [Boolean] + attr_accessor :standard_environment_available + alias_method :standard_environment_available?, :standard_environment_available + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @flexible_environment_available = args[:flexible_environment_available] if args.key?(:flexible_environment_available) + @standard_environment_available = args[:standard_environment_available] if args.key?(:standard_environment_available) + end + end + + # A service with manual scaling runs continuously, allowing you to perform + # complex initialization and rely on the state of its memory over time. + class ManualScaling + include Google::Apis::Core::Hashable + + # Number of instances to assign to the service at the start. This number can + # later be altered by using the Modules API (https://cloud.google.com/appengine/ + # docs/python/modules/functions) set_num_instances() function. + # Corresponds to the JSON property `instances` + # @return [Fixnum] + attr_accessor :instances + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instances = args[:instances] if args.key?(:instances) + end + end + + # Extra network settings. Only applicable for App Engine flexible environment + # versions + class Network + include Google::Apis::Core::Hashable + + # List of ports, or port pairs, to forward from the virtual machine to the + # application container. Only applicable for App Engine flexible environment + # versions. + # Corresponds to the JSON property `forwardedPorts` + # @return [Array] + attr_accessor :forwarded_ports + + # Tag to apply to the VM instance during creation. Only applicable for for App + # Engine flexible environment versions. + # Corresponds to the JSON property `instanceTag` + # @return [String] + attr_accessor :instance_tag + + # Google Compute Engine network where the virtual machines are created. Specify + # the short name, not the resource path.Defaults to default. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Google Cloud Platform sub-network where the virtual machines are created. + # Specify the short name, not the resource path.If a subnetwork name is + # specified, a network name will also be required unless it is for the default + # network. + # If the network the VM instance is being created in is a Legacy network, then + # the IP address is allocated from the IPv4Range. + # If the network the VM instance is being created in is an auto Subnet Mode + # Network, then only network name should be specified (not the subnetwork_name) + # and the IP address is created from the IPCidrRange of the subnetwork that + # exists in that zone for that network. + # If the network the VM instance is being created in is a custom Subnet Mode + # Network, then the subnetwork_name must be specified and the IP address is + # created from the IPCidrRange of the subnetwork.If specified, the subnetwork + # must exist in the same region as the App Engine flexible environment + # application. + # Corresponds to the JSON property `subnetworkName` + # @return [String] + attr_accessor :subnetwork_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @forwarded_ports = args[:forwarded_ports] if args.key?(:forwarded_ports) + @instance_tag = args[:instance_tag] if args.key?(:instance_tag) + @name = args[:name] if args.key?(:name) + @subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name) + end + end + + # Target scaling by network usage. Only applicable for VM runtimes. + class NetworkUtilization + include Google::Apis::Core::Hashable + + # Target bytes received per second. + # Corresponds to the JSON property `targetReceivedBytesPerSecond` + # @return [Fixnum] + attr_accessor :target_received_bytes_per_second + + # Target packets received per second. + # Corresponds to the JSON property `targetReceivedPacketsPerSecond` + # @return [Fixnum] + attr_accessor :target_received_packets_per_second + + # Target bytes sent per second. + # Corresponds to the JSON property `targetSentBytesPerSecond` + # @return [Fixnum] + attr_accessor :target_sent_bytes_per_second + + # Target packets sent per second. + # Corresponds to the JSON property `targetSentPacketsPerSecond` + # @return [Fixnum] + attr_accessor :target_sent_packets_per_second + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @target_received_bytes_per_second = args[:target_received_bytes_per_second] if args.key?(:target_received_bytes_per_second) + @target_received_packets_per_second = args[:target_received_packets_per_second] if args.key?(:target_received_packets_per_second) + @target_sent_bytes_per_second = args[:target_sent_bytes_per_second] if args.key?(:target_sent_bytes_per_second) + @target_sent_packets_per_second = args[:target_sent_packets_per_second] if args.key?(:target_sent_packets_per_second) + 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 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 - - # 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 + # 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 @@ -429,12 +1247,23 @@ module Google # @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 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 + + # 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) @@ -442,44 +1271,50 @@ module Google # Update properties of this object def update!(**args) - @response = args[:response] if args.key?(:response) - @name = args[:name] if args.key?(:name) + @done = args[:done] if args.key?(:done) @error = args[:error] if args.key?(:error) @metadata = args[:metadata] if args.key?(:metadata) - @done = args[:done] if args.key?(:done) + @name = args[:name] if args.key?(:name) + @response = args[:response] if args.key?(:response) end end - # Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/ - # endpoints/) configuration for API handlers. - class ApiConfigHandler + # Metadata for the given google.longrunning.Operation. + class OperationMetadata include Google::Apis::Core::Hashable - # URL to serve the endpoint at. - # Corresponds to the JSON property `url` + # Timestamp that this operation completed.@OutputOnly + # Corresponds to the JSON property `endTime` # @return [String] - attr_accessor :url + attr_accessor :end_time - # Security (HTTPS) enforcement for this URL. - # Corresponds to the JSON property `securityLevel` + # Timestamp that this operation was created.@OutputOnly + # Corresponds to the JSON property `insertTime` # @return [String] - attr_accessor :security_level + attr_accessor :insert_time - # Action to take when users access resources that require authentication. - # Defaults to redirect. - # Corresponds to the JSON property `authFailAction` + # API method that initiated this operation. Example: google.appengine.v1beta4. + # Version.CreateVersion.@OutputOnly + # Corresponds to the JSON property `method` # @return [String] - attr_accessor :auth_fail_action + attr_accessor :method_prop - # Path to the script from the application root directory. - # Corresponds to the JSON property `script` + # Type of this operation. Deprecated, use method field instead. Example: " + # create_version".@OutputOnly + # Corresponds to the JSON property `operationType` # @return [String] - attr_accessor :script + attr_accessor :operation_type - # Level of login required to access this resource. Defaults to optional. - # Corresponds to the JSON property `login` + # Name of the resource that this operation is acting on. Example: apps/myapp/ + # modules/default.@OutputOnly + # Corresponds to the JSON property `target` # @return [String] - attr_accessor :login + attr_accessor :target + + # User who requested this operation.@OutputOnly + # Corresponds to the JSON property `user` + # @return [String] + attr_accessor :user def initialize(**args) update!(**args) @@ -487,11 +1322,468 @@ module Google # Update properties of this object def update!(**args) - @url = args[:url] if args.key?(:url) - @security_level = args[:security_level] if args.key?(:security_level) - @auth_fail_action = args[:auth_fail_action] if args.key?(:auth_fail_action) - @script = args[:script] if args.key?(:script) - @login = args[:login] if args.key?(:login) + @end_time = args[:end_time] if args.key?(:end_time) + @insert_time = args[:insert_time] if args.key?(:insert_time) + @method_prop = args[:method_prop] if args.key?(:method_prop) + @operation_type = args[:operation_type] if args.key?(:operation_type) + @target = args[:target] if args.key?(:target) + @user = args[:user] if args.key?(:user) + end + end + + # Metadata for the given google.longrunning.Operation. + class OperationMetadataExperimental + include Google::Apis::Core::Hashable + + # Time that this operation completed.@OutputOnly + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # Time that this operation was created.@OutputOnly + # Corresponds to the JSON property `insertTime` + # @return [String] + attr_accessor :insert_time + + # API method that initiated this operation. Example: google.appengine. + # experimental.CustomDomains.CreateCustomDomain.@OutputOnly + # Corresponds to the JSON property `method` + # @return [String] + attr_accessor :method_prop + + # Name of the resource that this operation is acting on. Example: apps/myapp/ + # customDomains/example.com.@OutputOnly + # Corresponds to the JSON property `target` + # @return [String] + attr_accessor :target + + # User who requested this operation.@OutputOnly + # Corresponds to the JSON property `user` + # @return [String] + attr_accessor :user + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_time = args[:end_time] if args.key?(:end_time) + @insert_time = args[:insert_time] if args.key?(:insert_time) + @method_prop = args[:method_prop] if args.key?(:method_prop) + @target = args[:target] if args.key?(:target) + @user = args[:user] if args.key?(:user) + end + end + + # Metadata for the given google.longrunning.Operation. + class OperationMetadataV1 + include Google::Apis::Core::Hashable + + # Time that this operation completed.@OutputOnly + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # Ephemeral message that may change every time the operation is polled. @ + # OutputOnly + # Corresponds to the JSON property `ephemeralMessage` + # @return [String] + attr_accessor :ephemeral_message + + # Time that this operation was created.@OutputOnly + # Corresponds to the JSON property `insertTime` + # @return [String] + attr_accessor :insert_time + + # API method that initiated this operation. Example: google.appengine.v1. + # Versions.CreateVersion.@OutputOnly + # Corresponds to the JSON property `method` + # @return [String] + attr_accessor :method_prop + + # Name of the resource that this operation is acting on. Example: apps/myapp/ + # services/default.@OutputOnly + # Corresponds to the JSON property `target` + # @return [String] + attr_accessor :target + + # User who requested this operation.@OutputOnly + # Corresponds to the JSON property `user` + # @return [String] + attr_accessor :user + + # Durable messages that persist on every operation poll. @OutputOnly + # Corresponds to the JSON property `warning` + # @return [Array] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_time = args[:end_time] if args.key?(:end_time) + @ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message) + @insert_time = args[:insert_time] if args.key?(:insert_time) + @method_prop = args[:method_prop] if args.key?(:method_prop) + @target = args[:target] if args.key?(:target) + @user = args[:user] if args.key?(:user) + @warning = args[:warning] if args.key?(:warning) + end + end + + # Metadata for the given google.longrunning.Operation. + class OperationMetadataV1Alpha + include Google::Apis::Core::Hashable + + # Time that this operation completed.@OutputOnly + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # Ephemeral message that may change every time the operation is polled. @ + # OutputOnly + # Corresponds to the JSON property `ephemeralMessage` + # @return [String] + attr_accessor :ephemeral_message + + # Time that this operation was created.@OutputOnly + # Corresponds to the JSON property `insertTime` + # @return [String] + attr_accessor :insert_time + + # API method that initiated this operation. Example: google.appengine.v1alpha. + # Versions.CreateVersion.@OutputOnly + # Corresponds to the JSON property `method` + # @return [String] + attr_accessor :method_prop + + # Name of the resource that this operation is acting on. Example: apps/myapp/ + # services/default.@OutputOnly + # Corresponds to the JSON property `target` + # @return [String] + attr_accessor :target + + # User who requested this operation.@OutputOnly + # Corresponds to the JSON property `user` + # @return [String] + attr_accessor :user + + # Durable messages that persist on every operation poll. @OutputOnly + # Corresponds to the JSON property `warning` + # @return [Array] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_time = args[:end_time] if args.key?(:end_time) + @ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message) + @insert_time = args[:insert_time] if args.key?(:insert_time) + @method_prop = args[:method_prop] if args.key?(:method_prop) + @target = args[:target] if args.key?(:target) + @user = args[:user] if args.key?(:user) + @warning = args[:warning] if args.key?(:warning) + end + end + + # Metadata for the given google.longrunning.Operation. + class OperationMetadataV1Beta + include Google::Apis::Core::Hashable + + # Time that this operation completed.@OutputOnly + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # Ephemeral message that may change every time the operation is polled. @ + # OutputOnly + # Corresponds to the JSON property `ephemeralMessage` + # @return [String] + attr_accessor :ephemeral_message + + # Time that this operation was created.@OutputOnly + # Corresponds to the JSON property `insertTime` + # @return [String] + attr_accessor :insert_time + + # API method that initiated this operation. Example: google.appengine.v1beta. + # Versions.CreateVersion.@OutputOnly + # Corresponds to the JSON property `method` + # @return [String] + attr_accessor :method_prop + + # Name of the resource that this operation is acting on. Example: apps/myapp/ + # services/default.@OutputOnly + # Corresponds to the JSON property `target` + # @return [String] + attr_accessor :target + + # User who requested this operation.@OutputOnly + # Corresponds to the JSON property `user` + # @return [String] + attr_accessor :user + + # Durable messages that persist on every operation poll. @OutputOnly + # Corresponds to the JSON property `warning` + # @return [Array] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_time = args[:end_time] if args.key?(:end_time) + @ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message) + @insert_time = args[:insert_time] if args.key?(:insert_time) + @method_prop = args[:method_prop] if args.key?(:method_prop) + @target = args[:target] if args.key?(:target) + @user = args[:user] if args.key?(:user) + @warning = args[:warning] if args.key?(:warning) + end + end + + # Metadata for the given google.longrunning.Operation. + class OperationMetadataV1Beta5 + include Google::Apis::Core::Hashable + + # Timestamp that this operation completed.@OutputOnly + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # Timestamp that this operation was created.@OutputOnly + # Corresponds to the JSON property `insertTime` + # @return [String] + attr_accessor :insert_time + + # API method name that initiated this operation. Example: google.appengine. + # v1beta5.Version.CreateVersion.@OutputOnly + # Corresponds to the JSON property `method` + # @return [String] + attr_accessor :method_prop + + # Name of the resource that this operation is acting on. Example: apps/myapp/ + # services/default.@OutputOnly + # Corresponds to the JSON property `target` + # @return [String] + attr_accessor :target + + # User who requested this operation.@OutputOnly + # Corresponds to the JSON property `user` + # @return [String] + attr_accessor :user + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_time = args[:end_time] if args.key?(:end_time) + @insert_time = args[:insert_time] if args.key?(:insert_time) + @method_prop = args[:method_prop] if args.key?(:method_prop) + @target = args[:target] if args.key?(:target) + @user = args[:user] if args.key?(:user) + end + end + + # Readiness checking configuration for VM instances. Unhealthy instances are + # removed from traffic rotation. + class ReadinessCheck + include Google::Apis::Core::Hashable + + # A maximum time limit on application initialization, measured from moment the + # application successfully replies to a healthcheck until it is ready to serve + # traffic. + # Corresponds to the JSON property `appStartTimeout` + # @return [String] + attr_accessor :app_start_timeout + + # Interval between health checks. + # Corresponds to the JSON property `checkInterval` + # @return [String] + attr_accessor :check_interval + + # Number of consecutive failed checks required before removing traffic. + # Corresponds to the JSON property `failureThreshold` + # @return [Fixnum] + attr_accessor :failure_threshold + + # Host header to send when performing a HTTP Readiness check. Example: "myapp. + # appspot.com" + # Corresponds to the JSON property `host` + # @return [String] + attr_accessor :host + + # The request path. + # Corresponds to the JSON property `path` + # @return [String] + attr_accessor :path + + # Number of consecutive successful checks required before receiving traffic. + # Corresponds to the JSON property `successThreshold` + # @return [Fixnum] + attr_accessor :success_threshold + + # Time before the check is considered failed. + # Corresponds to the JSON property `timeout` + # @return [String] + attr_accessor :timeout + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @app_start_timeout = args[:app_start_timeout] if args.key?(:app_start_timeout) + @check_interval = args[:check_interval] if args.key?(:check_interval) + @failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold) + @host = args[:host] if args.key?(:host) + @path = args[:path] if args.key?(:path) + @success_threshold = args[:success_threshold] if args.key?(:success_threshold) + @timeout = args[:timeout] if args.key?(:timeout) + end + end + + # Request message for 'Applications.RepairApplication'. + class RepairApplicationRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Target scaling by request utilization. Only applicable for VM runtimes. + class RequestUtilization + include Google::Apis::Core::Hashable + + # Target number of concurrent requests. + # Corresponds to the JSON property `targetConcurrentRequests` + # @return [Fixnum] + attr_accessor :target_concurrent_requests + + # Target requests per second. + # Corresponds to the JSON property `targetRequestCountPerSecond` + # @return [Fixnum] + attr_accessor :target_request_count_per_second + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @target_concurrent_requests = args[:target_concurrent_requests] if args.key?(:target_concurrent_requests) + @target_request_count_per_second = args[:target_request_count_per_second] if args.key?(:target_request_count_per_second) + end + end + + # Machine resources for a version. + class Resources + include Google::Apis::Core::Hashable + + # Number of CPU cores needed. + # Corresponds to the JSON property `cpu` + # @return [Float] + attr_accessor :cpu + + # Disk size (GB) needed. + # Corresponds to the JSON property `diskGb` + # @return [Float] + attr_accessor :disk_gb + + # Memory (GB) needed. + # Corresponds to the JSON property `memoryGb` + # @return [Float] + attr_accessor :memory_gb + + # User specified volumes. + # Corresponds to the JSON property `volumes` + # @return [Array] + attr_accessor :volumes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cpu = args[:cpu] if args.key?(:cpu) + @disk_gb = args[:disk_gb] if args.key?(:disk_gb) + @memory_gb = args[:memory_gb] if args.key?(:memory_gb) + @volumes = args[:volumes] if args.key?(:volumes) + end + end + + # Executes a script to handle the request that matches the URL pattern. + class ScriptHandler + include Google::Apis::Core::Hashable + + # Path to the script from the application root directory. + # Corresponds to the JSON property `scriptPath` + # @return [String] + attr_accessor :script_path + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @script_path = args[:script_path] if args.key?(:script_path) + end + end + + # A Service resource is a logical component of an application that can share + # state and communicate in a secure fashion with other services. For example, an + # application that handles customer requests might include separate services to + # handle tasks such as backend data analysis or API requests from mobile devices. + # Each service has a collection of versions that define a specific set of code + # used to implement the functionality of that service. + class Service + include Google::Apis::Core::Hashable + + # Relative name of the service within the application. Example: default.@ + # OutputOnly + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Full path to the Service resource in the API. Example: apps/myapp/services/ + # default.@OutputOnly + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Traffic routing configuration for versions within a single service. Traffic + # splits define how traffic directed to the service is assigned to versions. + # Corresponds to the JSON property `split` + # @return [Google::Apis::AppengineV1::TrafficSplit] + attr_accessor :split + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @name = args[:name] if args.key?(:name) + @split = args[:split] if args.key?(:split) end end @@ -510,29 +1802,29 @@ module Google attr_accessor :application_readable alias_method :application_readable?, :application_readable + # Time a static file served by this handler should be cached by web proxies and + # browsers. + # Corresponds to the JSON property `expiration` + # @return [String] + attr_accessor :expiration + # HTTP headers to use for all responses from these URLs. # Corresponds to the JSON property `httpHeaders` # @return [Hash] attr_accessor :http_headers - # Regular expression that matches the file paths for all files that should be - # referenced by this handler. - # Corresponds to the JSON property `uploadPathRegex` - # @return [String] - attr_accessor :upload_path_regex - - # Path to the static files matched by the URL pattern, from the application root - # directory. The path can refer to text matched in groupings in the URL pattern. - # Corresponds to the JSON property `path` - # @return [String] - attr_accessor :path - # MIME type used to serve all files served by this handler.Defaults to file- # specific MIME types, which are derived from each file's filename extension. # Corresponds to the JSON property `mimeType` # @return [String] attr_accessor :mime_type + # Path to the static files matched by the URL pattern, from the application root + # directory. The path can refer to text matched in groupings in the URL pattern. + # Corresponds to the JSON property `path` + # @return [String] + attr_accessor :path + # Whether this handler should match the request if the file referenced by the # handler does not exist. # Corresponds to the JSON property `requireMatchingFile` @@ -540,11 +1832,11 @@ module Google attr_accessor :require_matching_file alias_method :require_matching_file?, :require_matching_file - # Time a static file served by this handler should be cached by web proxies and - # browsers. - # Corresponds to the JSON property `expiration` + # Regular expression that matches the file paths for all files that should be + # referenced by this handler. + # Corresponds to the JSON property `uploadPathRegex` # @return [String] - attr_accessor :expiration + attr_accessor :upload_path_regex def initialize(**args) update!(**args) @@ -553,103 +1845,12 @@ module Google # Update properties of this object def update!(**args) @application_readable = args[:application_readable] if args.key?(:application_readable) - @http_headers = args[:http_headers] if args.key?(:http_headers) - @upload_path_regex = args[:upload_path_regex] if args.key?(:upload_path_regex) - @path = args[:path] if args.key?(:path) - @mime_type = args[:mime_type] if args.key?(:mime_type) - @require_matching_file = args[:require_matching_file] if args.key?(:require_matching_file) @expiration = args[:expiration] if args.key?(:expiration) - end - end - - # A service with basic scaling will create an instance when the application - # receives a request. The instance will be turned down when the app becomes idle. - # Basic scaling is ideal for work that is intermittent or driven by user - # activity. - class BasicScaling - include Google::Apis::Core::Hashable - - # Maximum number of instances to create for this version. - # Corresponds to the JSON property `maxInstances` - # @return [Fixnum] - attr_accessor :max_instances - - # Duration of time after the last request that an instance must wait before the - # instance is shut down. - # Corresponds to the JSON property `idleTimeout` - # @return [String] - attr_accessor :idle_timeout - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @max_instances = args[:max_instances] if args.key?(:max_instances) - @idle_timeout = args[:idle_timeout] if args.key?(:idle_timeout) - end - end - - # Target scaling by disk usage. Only applicable for VM runtimes. - class DiskUtilization - include Google::Apis::Core::Hashable - - # Target ops read per seconds. - # Corresponds to the JSON property `targetReadOpsPerSecond` - # @return [Fixnum] - attr_accessor :target_read_ops_per_second - - # Target bytes read per second. - # Corresponds to the JSON property `targetReadBytesPerSecond` - # @return [Fixnum] - attr_accessor :target_read_bytes_per_second - - # Target ops written per second. - # Corresponds to the JSON property `targetWriteOpsPerSecond` - # @return [Fixnum] - attr_accessor :target_write_ops_per_second - - # Target bytes written per second. - # Corresponds to the JSON property `targetWriteBytesPerSecond` - # @return [Fixnum] - attr_accessor :target_write_bytes_per_second - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @target_read_ops_per_second = args[:target_read_ops_per_second] if args.key?(:target_read_ops_per_second) - @target_read_bytes_per_second = args[:target_read_bytes_per_second] if args.key?(:target_read_bytes_per_second) - @target_write_ops_per_second = args[:target_write_ops_per_second] if args.key?(:target_write_ops_per_second) - @target_write_bytes_per_second = args[:target_write_bytes_per_second] if args.key?(:target_write_bytes_per_second) - end - end - - # Target scaling by CPU usage. - class CpuUtilization - include Google::Apis::Core::Hashable - - # Period of time over which CPU utilization is calculated. - # Corresponds to the JSON property `aggregationWindowLength` - # @return [String] - attr_accessor :aggregation_window_length - - # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1. - # Corresponds to the JSON property `targetUtilization` - # @return [Float] - attr_accessor :target_utilization - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @aggregation_window_length = args[:aggregation_window_length] if args.key?(:aggregation_window_length) - @target_utilization = args[:target_utilization] if args.key?(:target_utilization) + @http_headers = args[:http_headers] if args.key?(:http_headers) + @mime_type = args[:mime_type] if args.key?(:mime_type) + @path = args[:path] if args.key?(:path) + @require_matching_file = args[:require_matching_file] if args.key?(:require_matching_file) + @upload_path_regex = args[:upload_path_regex] if args.key?(:upload_path_regex) end end @@ -690,17 +1891,17 @@ module Google class Status include Google::Apis::Core::Hashable - # 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 - # 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 is 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. @@ -714,1250 +1915,12 @@ module Google # Update properties of this object def update!(**args) - @details = args[:details] if args.key?(:details) @code = args[:code] if args.key?(:code) + @details = args[:details] if args.key?(:details) @message = args[:message] if args.key?(:message) end end - # Identity-Aware Proxy - class IdentityAwareProxy - include Google::Apis::Core::Hashable - - # Whether the serving infrastructure will authenticate and authorize all - # incoming requests.If true, the oauth2_client_id and oauth2_client_secret - # fields must be non-empty. - # Corresponds to the JSON property `enabled` - # @return [Boolean] - attr_accessor :enabled - alias_method :enabled?, :enabled - - # OAuth2 client secret to use for the authentication flow.For security reasons, - # this value cannot be retrieved via the API. Instead, the SHA-256 hash of the - # value is returned in the oauth2_client_secret_sha256 field.@InputOnly - # Corresponds to the JSON property `oauth2ClientSecret` - # @return [String] - attr_accessor :oauth2_client_secret - - # OAuth2 client ID to use for the authentication flow. - # Corresponds to the JSON property `oauth2ClientId` - # @return [String] - attr_accessor :oauth2_client_id - - # Hex-encoded SHA-256 hash of the client secret.@OutputOnly - # Corresponds to the JSON property `oauth2ClientSecretSha256` - # @return [String] - attr_accessor :oauth2_client_secret_sha256 - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @enabled = args[:enabled] if args.key?(:enabled) - @oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret) - @oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id) - @oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256) - end - end - - # A service with manual scaling runs continuously, allowing you to perform - # complex initialization and rely on the state of its memory over time. - class ManualScaling - include Google::Apis::Core::Hashable - - # Number of instances to assign to the service at the start. This number can - # later be altered by using the Modules API (https://cloud.google.com/appengine/ - # docs/python/modules/functions) set_num_instances() function. - # Corresponds to the JSON property `instances` - # @return [Fixnum] - attr_accessor :instances - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @instances = args[:instances] if args.key?(:instances) - end - end - - # Metadata for the given google.cloud.location.Location. - class LocationMetadata - include Google::Apis::Core::Hashable - - # App Engine Flexible Environment is available in the given location.@OutputOnly - # Corresponds to the JSON property `flexibleEnvironmentAvailable` - # @return [Boolean] - attr_accessor :flexible_environment_available - alias_method :flexible_environment_available?, :flexible_environment_available - - # App Engine Standard Environment is available in the given location.@OutputOnly - # Corresponds to the JSON property `standardEnvironmentAvailable` - # @return [Boolean] - attr_accessor :standard_environment_available - alias_method :standard_environment_available?, :standard_environment_available - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @flexible_environment_available = args[:flexible_environment_available] if args.key?(:flexible_environment_available) - @standard_environment_available = args[:standard_environment_available] if args.key?(:standard_environment_available) - end - end - - # A Service resource is a logical component of an application that can share - # state and communicate in a secure fashion with other services. For example, an - # application that handles customer requests might include separate services to - # handle tasks such as backend data analysis or API requests from mobile devices. - # Each service has a collection of versions that define a specific set of code - # used to implement the functionality of that service. - class Service - include Google::Apis::Core::Hashable - - # Traffic routing configuration for versions within a single service. Traffic - # splits define how traffic directed to the service is assigned to versions. - # Corresponds to the JSON property `split` - # @return [Google::Apis::AppengineV1::TrafficSplit] - attr_accessor :split - - # Relative name of the service within the application. Example: default.@ - # OutputOnly - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Full path to the Service resource in the API. Example: apps/myapp/services/ - # default.@OutputOnly - # 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) - @split = args[:split] if args.key?(:split) - @id = args[:id] if args.key?(:id) - @name = args[:name] if args.key?(:name) - end - end - - # The response message for Operations.ListOperations. - class ListOperationsResponse - include Google::Apis::Core::Hashable - - # The standard List next-page token. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # A list of operations that matches the specified filter in the request. - # Corresponds to the JSON property `operations` - # @return [Array] - attr_accessor :operations - - 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) - @operations = args[:operations] if args.key?(:operations) - end - end - - # Metadata for the given google.longrunning.Operation. - class OperationMetadata - include Google::Apis::Core::Hashable - - # User who requested this operation.@OutputOnly - # Corresponds to the JSON property `user` - # @return [String] - attr_accessor :user - - # Name of the resource that this operation is acting on. Example: apps/myapp/ - # modules/default.@OutputOnly - # Corresponds to the JSON property `target` - # @return [String] - attr_accessor :target - - # API method that initiated this operation. Example: google.appengine.v1beta4. - # Version.CreateVersion.@OutputOnly - # Corresponds to the JSON property `method` - # @return [String] - attr_accessor :method_prop - - # Timestamp that this operation completed.@OutputOnly - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # Type of this operation. Deprecated, use method field instead. Example: " - # create_version".@OutputOnly - # Corresponds to the JSON property `operationType` - # @return [String] - attr_accessor :operation_type - - # Timestamp that this operation was created.@OutputOnly - # Corresponds to the JSON property `insertTime` - # @return [String] - attr_accessor :insert_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @user = args[:user] if args.key?(:user) - @target = args[:target] if args.key?(:target) - @method_prop = args[:method_prop] if args.key?(:method_prop) - @end_time = args[:end_time] if args.key?(:end_time) - @operation_type = args[:operation_type] if args.key?(:operation_type) - @insert_time = args[:insert_time] if args.key?(:insert_time) - end - end - - # Metadata for the given google.longrunning.Operation. - class OperationMetadataV1 - include Google::Apis::Core::Hashable - - # Name of the resource that this operation is acting on. Example: apps/myapp/ - # services/default.@OutputOnly - # Corresponds to the JSON property `target` - # @return [String] - attr_accessor :target - - # User who requested this operation.@OutputOnly - # Corresponds to the JSON property `user` - # @return [String] - attr_accessor :user - - # Ephemeral message that may change every time the operation is polled. @ - # OutputOnly - # Corresponds to the JSON property `ephemeralMessage` - # @return [String] - attr_accessor :ephemeral_message - - # API method that initiated this operation. Example: google.appengine.v1. - # Versions.CreateVersion.@OutputOnly - # Corresponds to the JSON property `method` - # @return [String] - attr_accessor :method_prop - - # Time that this operation completed.@OutputOnly - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # Time that this operation was created.@OutputOnly - # Corresponds to the JSON property `insertTime` - # @return [String] - attr_accessor :insert_time - - # Durable messages that persist on every operation poll. @OutputOnly - # Corresponds to the JSON property `warning` - # @return [Array] - attr_accessor :warning - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @target = args[:target] if args.key?(:target) - @user = args[:user] if args.key?(:user) - @ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message) - @method_prop = args[:method_prop] if args.key?(:method_prop) - @end_time = args[:end_time] if args.key?(:end_time) - @insert_time = args[:insert_time] if args.key?(:insert_time) - @warning = args[:warning] if args.key?(:warning) - end - end - - # Custom static error page to be served when an error occurs. - class ErrorHandler - include Google::Apis::Core::Hashable - - # MIME type of file. Defaults to text/html. - # Corresponds to the JSON property `mimeType` - # @return [String] - attr_accessor :mime_type - - # Error condition this handler applies to. - # Corresponds to the JSON property `errorCode` - # @return [String] - attr_accessor :error_code - - # Static file content to be served for this error. - # Corresponds to the JSON property `staticFile` - # @return [String] - attr_accessor :static_file - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @mime_type = args[:mime_type] if args.key?(:mime_type) - @error_code = args[:error_code] if args.key?(:error_code) - @static_file = args[:static_file] if args.key?(:static_file) - end - end - - # Extra network settings. Only applicable for VM runtimes. - class Network - include Google::Apis::Core::Hashable - - # Google Cloud Platform sub-network where the virtual machines are created. - # Specify the short name, not the resource path.If a subnetwork name is - # specified, a network name will also be required unless it is for the default - # network. - # If the network the VM instance is being created in is a Legacy network, then - # the IP address is allocated from the IPv4Range. - # If the network the VM instance is being created in is an auto Subnet Mode - # Network, then only network name should be specified (not the subnetwork_name) - # and the IP address is created from the IPCidrRange of the subnetwork that - # exists in that zone for that network. - # If the network the VM instance is being created in is a custom Subnet Mode - # Network, then the subnetwork_name must be specified and the IP address is - # created from the IPCidrRange of the subnetwork.If specified, the subnetwork - # must exist in the same region as the Flex app. - # Corresponds to the JSON property `subnetworkName` - # @return [String] - attr_accessor :subnetwork_name - - # Tag to apply to the VM instance during creation. - # Corresponds to the JSON property `instanceTag` - # @return [String] - attr_accessor :instance_tag - - # List of ports, or port pairs, to forward from the virtual machine to the - # application container. - # Corresponds to the JSON property `forwardedPorts` - # @return [Array] - attr_accessor :forwarded_ports - - # Google Cloud Platform network where the virtual machines are created. Specify - # the short name, not the resource path.Defaults to default. - # 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) - @subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name) - @instance_tag = args[:instance_tag] if args.key?(:instance_tag) - @forwarded_ports = args[:forwarded_ports] if args.key?(:forwarded_ports) - @name = args[:name] if args.key?(:name) - end - end - - # An Application resource contains the top-level configuration of an App Engine - # application. Next tag: 19 - class Application - include Google::Apis::Core::Hashable - - # Google Apps authentication domain that controls which users can access this - # application.Defaults to open access for any Google Account. - # Corresponds to the JSON property `authDomain` - # @return [String] - attr_accessor :auth_domain - - # Identity-Aware Proxy - # Corresponds to the JSON property `iap` - # @return [Google::Apis::AppengineV1::IdentityAwareProxy] - attr_accessor :iap - - # Google Cloud Storage bucket that can be used for storing files associated with - # this application. This bucket is associated with the application and can be - # used by the gcloud deployment commands.@OutputOnly - # Corresponds to the JSON property `codeBucket` - # @return [String] - attr_accessor :code_bucket - - # Google Cloud Storage bucket that can be used by this application to store - # content.@OutputOnly - # Corresponds to the JSON property `defaultBucket` - # @return [String] - attr_accessor :default_bucket - - # HTTP path dispatch rules for requests to the application that do not - # explicitly target a service or version. Rules are order-dependent. Up to 20 - # dispatch rules can be supported.@OutputOnly - # Corresponds to the JSON property `dispatchRules` - # @return [Array] - attr_accessor :dispatch_rules - - # The Google Container Registry domain used for storing managed build docker - # images for this application. - # Corresponds to the JSON property `gcrDomain` - # @return [String] - attr_accessor :gcr_domain - - # Full path to the Application resource in the API. Example: apps/myapp.@ - # OutputOnly - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Cookie expiration policy for this application. - # Corresponds to the JSON property `defaultCookieExpiration` - # @return [String] - attr_accessor :default_cookie_expiration - - # Identifier of the Application resource. This identifier is equivalent to the - # project ID of the Google Cloud Platform project where you want to deploy your - # application. Example: myapp. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Location from which this application will be run. Application instances will - # run out of data centers in the chosen location, which is also where all of the - # application's end user content is stored.Defaults to us-central.Options are:us- - # central - Central USeurope-west - Western Europeus-east1 - Eastern US - # Corresponds to the JSON property `locationId` - # @return [String] - attr_accessor :location_id - - # Serving status of this application. - # Corresponds to the JSON property `servingStatus` - # @return [String] - attr_accessor :serving_status - - # Hostname used to reach this application, as resolved by App Engine.@OutputOnly - # Corresponds to the JSON property `defaultHostname` - # @return [String] - attr_accessor :default_hostname - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @auth_domain = args[:auth_domain] if args.key?(:auth_domain) - @iap = args[:iap] if args.key?(:iap) - @code_bucket = args[:code_bucket] if args.key?(:code_bucket) - @default_bucket = args[:default_bucket] if args.key?(:default_bucket) - @dispatch_rules = args[:dispatch_rules] if args.key?(:dispatch_rules) - @gcr_domain = args[:gcr_domain] if args.key?(:gcr_domain) - @name = args[:name] if args.key?(:name) - @default_cookie_expiration = args[:default_cookie_expiration] if args.key?(:default_cookie_expiration) - @id = args[:id] if args.key?(:id) - @location_id = args[:location_id] if args.key?(:location_id) - @serving_status = args[:serving_status] if args.key?(:serving_status) - @default_hostname = args[:default_hostname] if args.key?(:default_hostname) - end - end - - # An Instance resource is the computing unit that App Engine uses to - # automatically scale an application. - class Instance - include Google::Apis::Core::Hashable - - # Average latency (ms) over the last minute.@OutputOnly - # Corresponds to the JSON property `averageLatency` - # @return [Fixnum] - attr_accessor :average_latency - - # The IP address of this instance. Only applicable for instances in App Engine - # flexible environment.@OutputOnly - # Corresponds to the JSON property `vmIp` - # @return [String] - attr_accessor :vm_ip - - # Total memory in use (bytes).@OutputOnly - # Corresponds to the JSON property `memoryUsage` - # @return [Fixnum] - attr_accessor :memory_usage - - # Relative name of the instance within the version. Example: instance-1.@ - # OutputOnly - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Status of the virtual machine where this instance lives. Only applicable for - # instances in App Engine flexible environment.@OutputOnly - # Corresponds to the JSON property `vmStatus` - # @return [String] - attr_accessor :vm_status - - # Number of errors since this instance was started.@OutputOnly - # Corresponds to the JSON property `errors` - # @return [Fixnum] - attr_accessor :errors - - # Availability of the instance.@OutputOnly - # Corresponds to the JSON property `availability` - # @return [String] - attr_accessor :availability - - # Time that this instance was started.@OutputOnly - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # Whether this instance is in debug mode. Only applicable for instances in App - # Engine flexible environment.@OutputOnly - # Corresponds to the JSON property `vmDebugEnabled` - # @return [Boolean] - attr_accessor :vm_debug_enabled - alias_method :vm_debug_enabled?, :vm_debug_enabled - - # Number of requests since this instance was started.@OutputOnly - # Corresponds to the JSON property `requests` - # @return [Fixnum] - attr_accessor :requests - - # App Engine release this instance is running on.@OutputOnly - # Corresponds to the JSON property `appEngineRelease` - # @return [String] - attr_accessor :app_engine_release - - # Name of the virtual machine where this instance lives. Only applicable for - # instances in App Engine flexible environment.@OutputOnly - # Corresponds to the JSON property `vmName` - # @return [String] - attr_accessor :vm_name - - # Virtual machine ID of this instance. Only applicable for instances in App - # Engine flexible environment.@OutputOnly - # Corresponds to the JSON property `vmId` - # @return [String] - attr_accessor :vm_id - - # Average queries per second (QPS) over the last minute.@OutputOnly - # Corresponds to the JSON property `qps` - # @return [Float] - attr_accessor :qps - - # Zone where the virtual machine is located. Only applicable for instances in - # App Engine flexible environment.@OutputOnly - # Corresponds to the JSON property `vmZoneName` - # @return [String] - attr_accessor :vm_zone_name - - # Full path to the Instance resource in the API. Example: apps/myapp/services/ - # default/versions/v1/instances/instance-1.@OutputOnly - # 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) - @average_latency = args[:average_latency] if args.key?(:average_latency) - @vm_ip = args[:vm_ip] if args.key?(:vm_ip) - @memory_usage = args[:memory_usage] if args.key?(:memory_usage) - @id = args[:id] if args.key?(:id) - @vm_status = args[:vm_status] if args.key?(:vm_status) - @errors = args[:errors] if args.key?(:errors) - @availability = args[:availability] if args.key?(:availability) - @start_time = args[:start_time] if args.key?(:start_time) - @vm_debug_enabled = args[:vm_debug_enabled] if args.key?(:vm_debug_enabled) - @requests = args[:requests] if args.key?(:requests) - @app_engine_release = args[:app_engine_release] if args.key?(:app_engine_release) - @vm_name = args[:vm_name] if args.key?(:vm_name) - @vm_id = args[:vm_id] if args.key?(:vm_id) - @qps = args[:qps] if args.key?(:qps) - @vm_zone_name = args[:vm_zone_name] if args.key?(:vm_zone_name) - @name = args[:name] if args.key?(:name) - end - end - - # Health checking configuration for VM instances. Unhealthy instances are killed - # and replaced with new instances. - class LivenessCheck - include Google::Apis::Core::Hashable - - # The initial delay before starting to execute the checks. - # Corresponds to the JSON property `initialDelay` - # @return [String] - attr_accessor :initial_delay - - # The request path. - # Corresponds to the JSON property `path` - # @return [String] - attr_accessor :path - - # Number of consecutive successful checks required before considering the VM - # healthy. - # Corresponds to the JSON property `successThreshold` - # @return [Fixnum] - attr_accessor :success_threshold - - # Host header to send when performing a HTTP Liveness check. Example: "myapp. - # appspot.com" - # Corresponds to the JSON property `host` - # @return [String] - attr_accessor :host - - # Interval between health checks. - # Corresponds to the JSON property `checkInterval` - # @return [String] - attr_accessor :check_interval - - # Number of consecutive failed checks required before considering the VM - # unhealthy. - # Corresponds to the JSON property `failureThreshold` - # @return [Fixnum] - attr_accessor :failure_threshold - - # Time before the check is considered failed. - # Corresponds to the JSON property `timeout` - # @return [String] - attr_accessor :timeout - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @initial_delay = args[:initial_delay] if args.key?(:initial_delay) - @path = args[:path] if args.key?(:path) - @success_threshold = args[:success_threshold] if args.key?(:success_threshold) - @host = args[:host] if args.key?(:host) - @check_interval = args[:check_interval] if args.key?(:check_interval) - @failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold) - @timeout = args[:timeout] if args.key?(:timeout) - end - end - - # Target scaling by network usage. Only applicable for VM runtimes. - class NetworkUtilization - include Google::Apis::Core::Hashable - - # Target packets received per second. - # Corresponds to the JSON property `targetReceivedPacketsPerSecond` - # @return [Fixnum] - attr_accessor :target_received_packets_per_second - - # Target bytes sent per second. - # Corresponds to the JSON property `targetSentBytesPerSecond` - # @return [Fixnum] - attr_accessor :target_sent_bytes_per_second - - # Target bytes received per second. - # Corresponds to the JSON property `targetReceivedBytesPerSecond` - # @return [Fixnum] - attr_accessor :target_received_bytes_per_second - - # Target packets sent per second. - # Corresponds to the JSON property `targetSentPacketsPerSecond` - # @return [Fixnum] - attr_accessor :target_sent_packets_per_second - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @target_received_packets_per_second = args[:target_received_packets_per_second] if args.key?(:target_received_packets_per_second) - @target_sent_bytes_per_second = args[:target_sent_bytes_per_second] if args.key?(:target_sent_bytes_per_second) - @target_received_bytes_per_second = args[:target_received_bytes_per_second] if args.key?(:target_received_bytes_per_second) - @target_sent_packets_per_second = args[:target_sent_packets_per_second] if args.key?(:target_sent_packets_per_second) - end - end - - # A resource that represents Google Cloud Platform location. - class Location - include Google::Apis::Core::Hashable - - # The canonical id for this location. For example: "us-east1". - # Corresponds to the JSON property `locationId` - # @return [String] - attr_accessor :location_id - - # Service-specific metadata. For example the available capacity at the given - # location. - # Corresponds to the JSON property `metadata` - # @return [Hash] - attr_accessor :metadata - - # Cross-service attributes for the location. For example - # `"cloud.googleapis.com/region": "us-east1"` - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # Resource name for the location, which may vary between implementations. For - # example: "projects/example-project/locations/us-east1" - # 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) - @location_id = args[:location_id] if args.key?(:location_id) - @metadata = args[:metadata] if args.key?(:metadata) - @labels = args[:labels] if args.key?(:labels) - @name = args[:name] if args.key?(:name) - end - end - - # Health checking configuration for VM instances. Unhealthy instances are killed - # and replaced with new instances. Only applicable for instances in App Engine - # flexible environment. - class HealthCheck - include Google::Apis::Core::Hashable - - # Time before the health check is considered failed. - # Corresponds to the JSON property `timeout` - # @return [String] - attr_accessor :timeout - - # Number of consecutive failed health checks required before removing traffic. - # Corresponds to the JSON property `unhealthyThreshold` - # @return [Fixnum] - attr_accessor :unhealthy_threshold - - # Whether to explicitly disable health checks for this instance. - # Corresponds to the JSON property `disableHealthCheck` - # @return [Boolean] - attr_accessor :disable_health_check - alias_method :disable_health_check?, :disable_health_check - - # Host header to send when performing an HTTP health check. Example: "myapp. - # appspot.com" - # Corresponds to the JSON property `host` - # @return [String] - attr_accessor :host - - # Number of consecutive failed health checks required before an instance is - # restarted. - # Corresponds to the JSON property `restartThreshold` - # @return [Fixnum] - attr_accessor :restart_threshold - - # Number of consecutive successful health checks required before receiving - # traffic. - # Corresponds to the JSON property `healthyThreshold` - # @return [Fixnum] - attr_accessor :healthy_threshold - - # Interval between health checks. - # Corresponds to the JSON property `checkInterval` - # @return [String] - attr_accessor :check_interval - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @timeout = args[:timeout] if args.key?(:timeout) - @unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold) - @disable_health_check = args[:disable_health_check] if args.key?(:disable_health_check) - @host = args[:host] if args.key?(:host) - @restart_threshold = args[:restart_threshold] if args.key?(:restart_threshold) - @healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold) - @check_interval = args[:check_interval] if args.key?(:check_interval) - end - end - - # Readiness checking configuration for VM instances. Unhealthy instances are - # removed from traffic rotation. - class ReadinessCheck - include Google::Apis::Core::Hashable - - # The request path. - # Corresponds to the JSON property `path` - # @return [String] - attr_accessor :path - - # Number of consecutive successful checks required before receiving traffic. - # Corresponds to the JSON property `successThreshold` - # @return [Fixnum] - attr_accessor :success_threshold - - # Host header to send when performing a HTTP Readiness check. Example: "myapp. - # appspot.com" - # Corresponds to the JSON property `host` - # @return [String] - attr_accessor :host - - # Interval between health checks. - # Corresponds to the JSON property `checkInterval` - # @return [String] - attr_accessor :check_interval - - # Number of consecutive failed checks required before removing traffic. - # Corresponds to the JSON property `failureThreshold` - # @return [Fixnum] - attr_accessor :failure_threshold - - # Time before the check is considered failed. - # Corresponds to the JSON property `timeout` - # @return [String] - attr_accessor :timeout - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @path = args[:path] if args.key?(:path) - @success_threshold = args[:success_threshold] if args.key?(:success_threshold) - @host = args[:host] if args.key?(:host) - @check_interval = args[:check_interval] if args.key?(:check_interval) - @failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold) - @timeout = args[:timeout] if args.key?(:timeout) - end - end - - # Request message for Instances.DebugInstance. - class DebugInstanceRequest - include Google::Apis::Core::Hashable - - # Public SSH key to add to the instance. Examples: - # [USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME] - # [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh `"userName":"[USERNAME]","expireOn":" - # [EXPIRE_TIME]"`For more information, see Adding and Removing SSH Keys (https:// - # cloud.google.com/compute/docs/instances/adding-removing-ssh-keys). - # Corresponds to the JSON property `sshKey` - # @return [String] - attr_accessor :ssh_key - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ssh_key = args[:ssh_key] if args.key?(:ssh_key) - end - end - - # Metadata for the given google.longrunning.Operation. - class OperationMetadataV1Beta5 - include Google::Apis::Core::Hashable - - # API method name that initiated this operation. Example: google.appengine. - # v1beta5.Version.CreateVersion.@OutputOnly - # Corresponds to the JSON property `method` - # @return [String] - attr_accessor :method_prop - - # Timestamp that this operation was created.@OutputOnly - # Corresponds to the JSON property `insertTime` - # @return [String] - attr_accessor :insert_time - - # Timestamp that this operation completed.@OutputOnly - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # Name of the resource that this operation is acting on. Example: apps/myapp/ - # services/default.@OutputOnly - # Corresponds to the JSON property `target` - # @return [String] - attr_accessor :target - - # User who requested this operation.@OutputOnly - # Corresponds to the JSON property `user` - # @return [String] - attr_accessor :user - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @method_prop = args[:method_prop] if args.key?(:method_prop) - @insert_time = args[:insert_time] if args.key?(:insert_time) - @end_time = args[:end_time] if args.key?(:end_time) - @target = args[:target] if args.key?(:target) - @user = args[:user] if args.key?(:user) - end - end - - # A Version resource is a specific set of source code and configuration files - # that are deployed into a service. - class Version - include Google::Apis::Core::Hashable - - # Machine resources for a version. - # Corresponds to the JSON property `resources` - # @return [Google::Apis::AppengineV1::Resources] - attr_accessor :resources - - # Before an application can receive email or XMPP messages, the application must - # be configured to enable the service. - # Corresponds to the JSON property `inboundServices` - # @return [Array] - attr_accessor :inbound_services - - # Custom static error pages. Limited to 10KB per page.Only returned in GET - # requests if view=FULL is set. - # Corresponds to the JSON property `errorHandlers` - # @return [Array] - attr_accessor :error_handlers - - # Duration that static files should be cached by web proxies and browsers. Only - # applicable if the corresponding StaticFilesHandler (https://cloud.google.com/ - # appengine/docs/admin-api/reference/rest/v1/apps.services.versions# - # staticfileshandler) does not specify its own expiration time.Only returned in - # GET requests if view=FULL is set. - # Corresponds to the JSON property `defaultExpiration` - # @return [String] - attr_accessor :default_expiration - - # Configuration for third-party Python runtime libraries that are required by - # the application.Only returned in GET requests if view=FULL is set. - # Corresponds to the JSON property `libraries` - # @return [Array] - attr_accessor :libraries - - # Files that match this pattern will not be built into this version. Only - # applicable for Go runtimes.Only returned in GET requests if view=FULL is set. - # Corresponds to the JSON property `nobuildFilesRegex` - # @return [String] - attr_accessor :nobuild_files_regex - - # A service with basic scaling will create an instance when the application - # receives a request. The instance will be turned down when the app becomes idle. - # Basic scaling is ideal for work that is intermittent or driven by user - # activity. - # Corresponds to the JSON property `basicScaling` - # @return [Google::Apis::AppengineV1::BasicScaling] - attr_accessor :basic_scaling - - # Desired runtime. Example: python27. - # Corresponds to the JSON property `runtime` - # @return [String] - attr_accessor :runtime - - # Email address of the user who created this version.@OutputOnly - # Corresponds to the JSON property `createdBy` - # @return [String] - attr_accessor :created_by - - # Relative name of the version within the service. Example: v1. Version names - # can contain only lowercase letters, numbers, or hyphens. Reserved names: " - # default", "latest", and any name with the prefix "ah-". - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Environment variables available to the application.Only returned in GET - # requests if view=FULL is set. - # Corresponds to the JSON property `envVariables` - # @return [Hash] - attr_accessor :env_variables - - # Health checking configuration for VM instances. Unhealthy instances are killed - # and replaced with new instances. - # Corresponds to the JSON property `livenessCheck` - # @return [Google::Apis::AppengineV1::LivenessCheck] - attr_accessor :liveness_check - - # Extra network settings. Only applicable for VM runtimes. - # Corresponds to the JSON property `network` - # @return [Google::Apis::AppengineV1::Network] - attr_accessor :network - - # Metadata settings that are supplied to this version to enable beta runtime - # features. - # Corresponds to the JSON property `betaSettings` - # @return [Hash] - attr_accessor :beta_settings - - # App Engine execution environment for this version.Defaults to standard. - # Corresponds to the JSON property `env` - # @return [String] - attr_accessor :env - - # An ordered list of URL-matching patterns that should be applied to incoming - # requests. The first matching URL handles the request and other request - # handlers are not attempted.Only returned in GET requests if view=FULL is set. - # Corresponds to the JSON property `handlers` - # @return [Array] - attr_accessor :handlers - - # Automatic scaling is based on request rate, response latencies, and other - # application metrics. - # Corresponds to the JSON property `automaticScaling` - # @return [Google::Apis::AppengineV1::AutomaticScaling] - attr_accessor :automatic_scaling - - # Total size in bytes of all the files that are included in this version and - # curerntly hosted on the App Engine disk.@OutputOnly - # Corresponds to the JSON property `diskUsageBytes` - # @return [Fixnum] - attr_accessor :disk_usage_bytes - - # Health checking configuration for VM instances. Unhealthy instances are killed - # and replaced with new instances. Only applicable for instances in App Engine - # flexible environment. - # Corresponds to the JSON property `healthCheck` - # @return [Google::Apis::AppengineV1::HealthCheck] - attr_accessor :health_check - - # Whether multiple requests can be dispatched to this version at once. - # Corresponds to the JSON property `threadsafe` - # @return [Boolean] - attr_accessor :threadsafe - alias_method :threadsafe?, :threadsafe - - # Readiness checking configuration for VM instances. Unhealthy instances are - # removed from traffic rotation. - # Corresponds to the JSON property `readinessCheck` - # @return [Google::Apis::AppengineV1::ReadinessCheck] - attr_accessor :readiness_check - - # A service with manual scaling runs continuously, allowing you to perform - # complex initialization and rely on the state of its memory over time. - # Corresponds to the JSON property `manualScaling` - # @return [Google::Apis::AppengineV1::ManualScaling] - attr_accessor :manual_scaling - - # Full path to the Version resource in the API. Example: apps/myapp/services/ - # default/versions/v1.@OutputOnly - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/ - # endpoints/) configuration for API handlers. - # Corresponds to the JSON property `apiConfig` - # @return [Google::Apis::AppengineV1::ApiConfigHandler] - attr_accessor :api_config - - # Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The - # Endpoints API Service provides tooling for serving Open API and gRPC endpoints - # via an NGINX proxy.The fields here refer to the name and configuration id of a - # "service" resource in the Service Management API (https://cloud.google.com/ - # service-management/overview). - # Corresponds to the JSON property `endpointsApiService` - # @return [Google::Apis::AppengineV1::EndpointsApiService] - attr_accessor :endpoints_api_service - - # Whether to deploy this version in a container on a virtual machine. - # Corresponds to the JSON property `vm` - # @return [Boolean] - attr_accessor :vm - alias_method :vm?, :vm - - # Serving URL for this version. Example: "https://myversion-dot-myservice-dot- - # myapp.appspot.com"@OutputOnly - # Corresponds to the JSON property `versionUrl` - # @return [String] - attr_accessor :version_url - - # Instance class that is used to run this version. Valid values are: - # AutomaticScaling: F1, F2, F4, F4_1G - # ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for - # AutomaticScaling and B1 for ManualScaling or BasicScaling. - # Corresponds to the JSON property `instanceClass` - # @return [String] - attr_accessor :instance_class - - # Current serving status of this version. Only the versions with a SERVING - # status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an - # invalid value. Defaults to SERVING. - # Corresponds to the JSON property `servingStatus` - # @return [String] - attr_accessor :serving_status - - # The version of the API in the given runtime environment. Please see the app. - # yaml reference for valid values at https://cloud.google.com/appengine/docs/ - # standard//config/appref - # Corresponds to the JSON property `runtimeApiVersion` - # @return [String] - attr_accessor :runtime_api_version - - # Code and application artifacts used to deploy a version to App Engine. - # Corresponds to the JSON property `deployment` - # @return [Google::Apis::AppengineV1::Deployment] - attr_accessor :deployment - - # Time that this version was created.@OutputOnly - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @resources = args[:resources] if args.key?(:resources) - @inbound_services = args[:inbound_services] if args.key?(:inbound_services) - @error_handlers = args[:error_handlers] if args.key?(:error_handlers) - @default_expiration = args[:default_expiration] if args.key?(:default_expiration) - @libraries = args[:libraries] if args.key?(:libraries) - @nobuild_files_regex = args[:nobuild_files_regex] if args.key?(:nobuild_files_regex) - @basic_scaling = args[:basic_scaling] if args.key?(:basic_scaling) - @runtime = args[:runtime] if args.key?(:runtime) - @created_by = args[:created_by] if args.key?(:created_by) - @id = args[:id] if args.key?(:id) - @env_variables = args[:env_variables] if args.key?(:env_variables) - @liveness_check = args[:liveness_check] if args.key?(:liveness_check) - @network = args[:network] if args.key?(:network) - @beta_settings = args[:beta_settings] if args.key?(:beta_settings) - @env = args[:env] if args.key?(:env) - @handlers = args[:handlers] if args.key?(:handlers) - @automatic_scaling = args[:automatic_scaling] if args.key?(:automatic_scaling) - @disk_usage_bytes = args[:disk_usage_bytes] if args.key?(:disk_usage_bytes) - @health_check = args[:health_check] if args.key?(:health_check) - @threadsafe = args[:threadsafe] if args.key?(:threadsafe) - @readiness_check = args[:readiness_check] if args.key?(:readiness_check) - @manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling) - @name = args[:name] if args.key?(:name) - @api_config = args[:api_config] if args.key?(:api_config) - @endpoints_api_service = args[:endpoints_api_service] if args.key?(:endpoints_api_service) - @vm = args[:vm] if args.key?(:vm) - @version_url = args[:version_url] if args.key?(:version_url) - @instance_class = args[:instance_class] if args.key?(:instance_class) - @serving_status = args[:serving_status] if args.key?(:serving_status) - @runtime_api_version = args[:runtime_api_version] if args.key?(:runtime_api_version) - @deployment = args[:deployment] if args.key?(:deployment) - @create_time = args[:create_time] if args.key?(:create_time) - end - end - - # Request message for 'Applications.RepairApplication'. - class RepairApplicationRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Executes a script to handle the request that matches the URL pattern. - class ScriptHandler - include Google::Apis::Core::Hashable - - # Path to the script from the application root directory. - # Corresponds to the JSON property `scriptPath` - # @return [String] - attr_accessor :script_path - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @script_path = args[:script_path] if args.key?(:script_path) - end - end - - # Single source file that is part of the version to be deployed. Each source - # file that is deployed must be specified separately. - class FileInfo - include Google::Apis::Core::Hashable - - # URL source to use to fetch this file. Must be a URL to a resource in Google - # Cloud Storage in the form 'http(s)://storage.googleapis.com//'. - # Corresponds to the JSON property `sourceUrl` - # @return [String] - attr_accessor :source_url - - # The SHA1 hash of the file, in hex. - # Corresponds to the JSON property `sha1Sum` - # @return [String] - attr_accessor :sha1_sum - - # The MIME type of the file.Defaults to the value from Google Cloud Storage. - # Corresponds to the JSON property `mimeType` - # @return [String] - attr_accessor :mime_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @source_url = args[:source_url] if args.key?(:source_url) - @sha1_sum = args[:sha1_sum] if args.key?(:sha1_sum) - @mime_type = args[:mime_type] if args.key?(:mime_type) - end - end - - # Metadata for the given google.longrunning.Operation. - class OperationMetadataExperimental - include Google::Apis::Core::Hashable - - # Time that this operation was created.@OutputOnly - # Corresponds to the JSON property `insertTime` - # @return [String] - attr_accessor :insert_time - - # Time that this operation completed.@OutputOnly - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # Name of the resource that this operation is acting on. Example: apps/myapp/ - # customDomains/example.com.@OutputOnly - # Corresponds to the JSON property `target` - # @return [String] - attr_accessor :target - - # User who requested this operation.@OutputOnly - # Corresponds to the JSON property `user` - # @return [String] - attr_accessor :user - - # API method that initiated this operation. Example: google.appengine. - # experimental.CustomDomains.CreateCustomDomain.@OutputOnly - # Corresponds to the JSON property `method` - # @return [String] - attr_accessor :method_prop - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @insert_time = args[:insert_time] if args.key?(:insert_time) - @end_time = args[:end_time] if args.key?(:end_time) - @target = args[:target] if args.key?(:target) - @user = args[:user] if args.key?(:user) - @method_prop = args[:method_prop] if args.key?(:method_prop) - end - end - # Traffic routing configuration for versions within a single service. Traffic # splits define how traffic directed to the service is assigned to versions. class TrafficSplit @@ -1992,279 +1955,16 @@ module Google end end - # Metadata for the given google.longrunning.Operation. - class OperationMetadataV1Beta - include Google::Apis::Core::Hashable - - # Durable messages that persist on every operation poll. @OutputOnly - # Corresponds to the JSON property `warning` - # @return [Array] - attr_accessor :warning - - # Time that this operation was created.@OutputOnly - # Corresponds to the JSON property `insertTime` - # @return [String] - attr_accessor :insert_time - - # User who requested this operation.@OutputOnly - # Corresponds to the JSON property `user` - # @return [String] - attr_accessor :user - - # Name of the resource that this operation is acting on. Example: apps/myapp/ - # services/default.@OutputOnly - # Corresponds to the JSON property `target` - # @return [String] - attr_accessor :target - - # Ephemeral message that may change every time the operation is polled. @ - # OutputOnly - # Corresponds to the JSON property `ephemeralMessage` - # @return [String] - attr_accessor :ephemeral_message - - # API method that initiated this operation. Example: google.appengine.v1beta. - # Versions.CreateVersion.@OutputOnly - # Corresponds to the JSON property `method` - # @return [String] - attr_accessor :method_prop - - # Time that this operation completed.@OutputOnly - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @warning = args[:warning] if args.key?(:warning) - @insert_time = args[:insert_time] if args.key?(:insert_time) - @user = args[:user] if args.key?(:user) - @target = args[:target] if args.key?(:target) - @ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message) - @method_prop = args[:method_prop] if args.key?(:method_prop) - @end_time = args[:end_time] if args.key?(:end_time) - end - end - - # Response message for Services.ListServices. - class ListServicesResponse - include Google::Apis::Core::Hashable - - # Continuation token for fetching the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The services belonging to the requested application. - # Corresponds to the JSON property `services` - # @return [Array] - attr_accessor :services - - 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) - @services = args[:services] if args.key?(:services) - end - end - - # Machine resources for a version. - class Resources - include Google::Apis::Core::Hashable - - # Memory (GB) needed. - # Corresponds to the JSON property `memoryGb` - # @return [Float] - attr_accessor :memory_gb - - # Number of CPU cores needed. - # Corresponds to the JSON property `cpu` - # @return [Float] - attr_accessor :cpu - - # User specified volumes. - # Corresponds to the JSON property `volumes` - # @return [Array] - attr_accessor :volumes - - # Disk size (GB) needed. - # Corresponds to the JSON property `diskGb` - # @return [Float] - attr_accessor :disk_gb - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @memory_gb = args[:memory_gb] if args.key?(:memory_gb) - @cpu = args[:cpu] if args.key?(:cpu) - @volumes = args[:volumes] if args.key?(:volumes) - @disk_gb = args[:disk_gb] if args.key?(:disk_gb) - end - end - - # Code and application artifacts used to deploy a version to App Engine. - class Deployment - include Google::Apis::Core::Hashable - - # The zip file information for a zip deployment. - # Corresponds to the JSON property `zip` - # @return [Google::Apis::AppengineV1::ZipInfo] - attr_accessor :zip - - # Docker image that is used to create a container and start a VM instance for - # the version that you deploy. Only applicable for instances running in the App - # Engine flexible environment. - # Corresponds to the JSON property `container` - # @return [Google::Apis::AppengineV1::ContainerInfo] - attr_accessor :container - - # Manifest of the files stored in Google Cloud Storage that are included as part - # of this version. All files must be readable using the credentials supplied - # with this call. - # Corresponds to the JSON property `files` - # @return [Hash] - attr_accessor :files - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @zip = args[:zip] if args.key?(:zip) - @container = args[:container] if args.key?(:container) - @files = args[:files] if args.key?(:files) - end - end - - # Volumes mounted within the app container. Only applicable for VM runtimes. - class Volume - include Google::Apis::Core::Hashable - - # Volume size in gigabytes. - # Corresponds to the JSON property `sizeGb` - # @return [Float] - attr_accessor :size_gb - - # Unique name for the volume. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Underlying volume type, e.g. 'tmpfs'. - # Corresponds to the JSON property `volumeType` - # @return [String] - attr_accessor :volume_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @size_gb = args[:size_gb] if args.key?(:size_gb) - @name = args[:name] if args.key?(:name) - @volume_type = args[:volume_type] if args.key?(:volume_type) - end - end - - # Response message for Instances.ListInstances. - class ListInstancesResponse - include Google::Apis::Core::Hashable - - # The instances belonging to the requested version. - # Corresponds to the JSON property `instances` - # @return [Array] - attr_accessor :instances - - # Continuation token for fetching the next page of results. - # 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) - @instances = args[:instances] if args.key?(:instances) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # Metadata for the given google.longrunning.Operation. - class OperationMetadataV1Alpha - include Google::Apis::Core::Hashable - - # Durable messages that persist on every operation poll. @OutputOnly - # Corresponds to the JSON property `warning` - # @return [Array] - attr_accessor :warning - - # Time that this operation was created.@OutputOnly - # Corresponds to the JSON property `insertTime` - # @return [String] - attr_accessor :insert_time - - # Name of the resource that this operation is acting on. Example: apps/myapp/ - # services/default.@OutputOnly - # Corresponds to the JSON property `target` - # @return [String] - attr_accessor :target - - # User who requested this operation.@OutputOnly - # Corresponds to the JSON property `user` - # @return [String] - attr_accessor :user - - # Ephemeral message that may change every time the operation is polled. @ - # OutputOnly - # Corresponds to the JSON property `ephemeralMessage` - # @return [String] - attr_accessor :ephemeral_message - - # API method that initiated this operation. Example: google.appengine.v1alpha. - # Versions.CreateVersion.@OutputOnly - # Corresponds to the JSON property `method` - # @return [String] - attr_accessor :method_prop - - # Time that this operation completed.@OutputOnly - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @warning = args[:warning] if args.key?(:warning) - @insert_time = args[:insert_time] if args.key?(:insert_time) - @target = args[:target] if args.key?(:target) - @user = args[:user] if args.key?(:user) - @ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message) - @method_prop = args[:method_prop] if args.key?(:method_prop) - @end_time = args[:end_time] if args.key?(:end_time) - end - end - # Rules to match an HTTP request and dispatch that request to a service. class UrlDispatchRule include Google::Apis::Core::Hashable + # Domain name to match against. The wildcard "*" is supported if specified + # before a period: "*.".Defaults to matching all domains: "*". + # Corresponds to the JSON property `domain` + # @return [String] + attr_accessor :domain + # Pathname within the host. Must start with a "/". A single "*" can be included # at the end of the path.The sum of the lengths of the domain and path may not # exceed 100 characters. @@ -2278,37 +1978,70 @@ module Google # @return [String] attr_accessor :service - # Domain name to match against. The wildcard "*" is supported if specified - # before a period: "*.".Defaults to matching all domains: "*". - # Corresponds to the JSON property `domain` - # @return [String] - attr_accessor :domain - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @domain = args[:domain] if args.key?(:domain) @path = args[:path] if args.key?(:path) @service = args[:service] if args.key?(:service) - @domain = args[:domain] if args.key?(:domain) end end - # Response message for Versions.ListVersions. - class ListVersionsResponse + # URL pattern and description of how the URL should be handled. App Engine can + # handle URLs by executing application code or by serving static files uploaded + # with the version, such as images, CSS, or JavaScript. + class UrlMap include Google::Apis::Core::Hashable - # Continuation token for fetching the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token + # Uses Google Cloud Endpoints to handle requests. + # Corresponds to the JSON property `apiEndpoint` + # @return [Google::Apis::AppengineV1::ApiEndpointHandler] + attr_accessor :api_endpoint - # The versions belonging to the requested service. - # Corresponds to the JSON property `versions` - # @return [Array] - attr_accessor :versions + # Action to take when users access resources that require authentication. + # Defaults to redirect. + # Corresponds to the JSON property `authFailAction` + # @return [String] + attr_accessor :auth_fail_action + + # Level of login required to access this resource. + # Corresponds to the JSON property `login` + # @return [String] + attr_accessor :login + + # 30x code to use when performing redirects for the secure field. Defaults to + # 302. + # Corresponds to the JSON property `redirectHttpResponseCode` + # @return [String] + attr_accessor :redirect_http_response_code + + # Executes a script to handle the request that matches the URL pattern. + # Corresponds to the JSON property `script` + # @return [Google::Apis::AppengineV1::ScriptHandler] + attr_accessor :script + + # Security (HTTPS) enforcement for this URL. + # Corresponds to the JSON property `securityLevel` + # @return [String] + attr_accessor :security_level + + # Files served directly to the user for a given URL, such as images, CSS + # stylesheets, or JavaScript source files. Static file handlers describe which + # files in the application directory are static files, and which URLs serve them. + # Corresponds to the JSON property `staticFiles` + # @return [Google::Apis::AppengineV1::StaticFilesHandler] + attr_accessor :static_files + + # URL prefix. Uses regular expression syntax, which means regexp special + # characters must be escaped, but should not contain groupings. All URLs that + # begin with this prefix are handled by this handler, using the portion of the + # URL after the prefix as part of the file path. + # Corresponds to the JSON property `urlRegex` + # @return [String] + attr_accessor :url_regex def initialize(**args) update!(**args) @@ -2316,8 +2049,320 @@ module Google # Update properties of this object def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @versions = args[:versions] if args.key?(:versions) + @api_endpoint = args[:api_endpoint] if args.key?(:api_endpoint) + @auth_fail_action = args[:auth_fail_action] if args.key?(:auth_fail_action) + @login = args[:login] if args.key?(:login) + @redirect_http_response_code = args[:redirect_http_response_code] if args.key?(:redirect_http_response_code) + @script = args[:script] if args.key?(:script) + @security_level = args[:security_level] if args.key?(:security_level) + @static_files = args[:static_files] if args.key?(:static_files) + @url_regex = args[:url_regex] if args.key?(:url_regex) + end + end + + # A Version resource is a specific set of source code and configuration files + # that are deployed into a service. + class Version + include Google::Apis::Core::Hashable + + # Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/ + # endpoints/) configuration for API handlers. + # Corresponds to the JSON property `apiConfig` + # @return [Google::Apis::AppengineV1::ApiConfigHandler] + attr_accessor :api_config + + # Automatic scaling is based on request rate, response latencies, and other + # application metrics. + # Corresponds to the JSON property `automaticScaling` + # @return [Google::Apis::AppengineV1::AutomaticScaling] + attr_accessor :automatic_scaling + + # A service with basic scaling will create an instance when the application + # receives a request. The instance will be turned down when the app becomes idle. + # Basic scaling is ideal for work that is intermittent or driven by user + # activity. + # Corresponds to the JSON property `basicScaling` + # @return [Google::Apis::AppengineV1::BasicScaling] + attr_accessor :basic_scaling + + # Metadata settings that are supplied to this version to enable beta runtime + # features. + # Corresponds to the JSON property `betaSettings` + # @return [Hash] + attr_accessor :beta_settings + + # Time that this version was created.@OutputOnly + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Email address of the user who created this version.@OutputOnly + # Corresponds to the JSON property `createdBy` + # @return [String] + attr_accessor :created_by + + # Duration that static files should be cached by web proxies and browsers. Only + # applicable if the corresponding StaticFilesHandler (https://cloud.google.com/ + # appengine/docs/admin-api/reference/rest/v1/apps.services.versions# + # staticfileshandler) does not specify its own expiration time.Only returned in + # GET requests if view=FULL is set. + # Corresponds to the JSON property `defaultExpiration` + # @return [String] + attr_accessor :default_expiration + + # Code and application artifacts used to deploy a version to App Engine. + # Corresponds to the JSON property `deployment` + # @return [Google::Apis::AppengineV1::Deployment] + attr_accessor :deployment + + # Total size in bytes of all the files that are included in this version and + # curerntly hosted on the App Engine disk.@OutputOnly + # Corresponds to the JSON property `diskUsageBytes` + # @return [Fixnum] + attr_accessor :disk_usage_bytes + + # Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The + # Endpoints API Service provides tooling for serving Open API and gRPC endpoints + # via an NGINX proxy.The fields here refer to the name and configuration id of a + # "service" resource in the Service Management API (https://cloud.google.com/ + # service-management/overview). + # Corresponds to the JSON property `endpointsApiService` + # @return [Google::Apis::AppengineV1::EndpointsApiService] + attr_accessor :endpoints_api_service + + # App Engine execution environment for this version.Defaults to standard. + # Corresponds to the JSON property `env` + # @return [String] + attr_accessor :env + + # Environment variables available to the application.Only returned in GET + # requests if view=FULL is set. + # Corresponds to the JSON property `envVariables` + # @return [Hash] + attr_accessor :env_variables + + # Custom static error pages. Limited to 10KB per page.Only returned in GET + # requests if view=FULL is set. + # Corresponds to the JSON property `errorHandlers` + # @return [Array] + attr_accessor :error_handlers + + # An ordered list of URL-matching patterns that should be applied to incoming + # requests. The first matching URL handles the request and other request + # handlers are not attempted.Only returned in GET requests if view=FULL is set. + # Corresponds to the JSON property `handlers` + # @return [Array] + attr_accessor :handlers + + # Health checking configuration for VM instances. Unhealthy instances are killed + # and replaced with new instances. Only applicable for instances in App Engine + # flexible environment. + # Corresponds to the JSON property `healthCheck` + # @return [Google::Apis::AppengineV1::HealthCheck] + attr_accessor :health_check + + # Relative name of the version within the service. Example: v1. Version names + # can contain only lowercase letters, numbers, or hyphens. Reserved names: " + # default", "latest", and any name with the prefix "ah-". + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Before an application can receive email or XMPP messages, the application must + # be configured to enable the service. + # Corresponds to the JSON property `inboundServices` + # @return [Array] + attr_accessor :inbound_services + + # Instance class that is used to run this version. Valid values are: + # AutomaticScaling: F1, F2, F4, F4_1G + # ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for + # AutomaticScaling and B1 for ManualScaling or BasicScaling. + # Corresponds to the JSON property `instanceClass` + # @return [String] + attr_accessor :instance_class + + # Configuration for third-party Python runtime libraries that are required by + # the application.Only returned in GET requests if view=FULL is set. + # Corresponds to the JSON property `libraries` + # @return [Array] + attr_accessor :libraries + + # Health checking configuration for VM instances. Unhealthy instances are killed + # and replaced with new instances. + # Corresponds to the JSON property `livenessCheck` + # @return [Google::Apis::AppengineV1::LivenessCheck] + attr_accessor :liveness_check + + # A service with manual scaling runs continuously, allowing you to perform + # complex initialization and rely on the state of its memory over time. + # Corresponds to the JSON property `manualScaling` + # @return [Google::Apis::AppengineV1::ManualScaling] + attr_accessor :manual_scaling + + # Full path to the Version resource in the API. Example: apps/myapp/services/ + # default/versions/v1.@OutputOnly + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Extra network settings. Only applicable for App Engine flexible environment + # versions + # Corresponds to the JSON property `network` + # @return [Google::Apis::AppengineV1::Network] + attr_accessor :network + + # Files that match this pattern will not be built into this version. Only + # applicable for Go runtimes.Only returned in GET requests if view=FULL is set. + # Corresponds to the JSON property `nobuildFilesRegex` + # @return [String] + attr_accessor :nobuild_files_regex + + # Readiness checking configuration for VM instances. Unhealthy instances are + # removed from traffic rotation. + # Corresponds to the JSON property `readinessCheck` + # @return [Google::Apis::AppengineV1::ReadinessCheck] + attr_accessor :readiness_check + + # Machine resources for a version. + # Corresponds to the JSON property `resources` + # @return [Google::Apis::AppengineV1::Resources] + attr_accessor :resources + + # Desired runtime. Example: python27. + # Corresponds to the JSON property `runtime` + # @return [String] + attr_accessor :runtime + + # The version of the API in the given runtime environment. Please see the app. + # yaml reference for valid values at https://cloud.google.com/appengine/docs/ + # standard//config/appref + # Corresponds to the JSON property `runtimeApiVersion` + # @return [String] + attr_accessor :runtime_api_version + + # Current serving status of this version. Only the versions with a SERVING + # status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an + # invalid value. Defaults to SERVING. + # Corresponds to the JSON property `servingStatus` + # @return [String] + attr_accessor :serving_status + + # Whether multiple requests can be dispatched to this version at once. + # Corresponds to the JSON property `threadsafe` + # @return [Boolean] + attr_accessor :threadsafe + alias_method :threadsafe?, :threadsafe + + # Serving URL for this version. Example: "https://myversion-dot-myservice-dot- + # myapp.appspot.com"@OutputOnly + # Corresponds to the JSON property `versionUrl` + # @return [String] + attr_accessor :version_url + + # Whether to deploy this version in a container on a virtual machine. + # Corresponds to the JSON property `vm` + # @return [Boolean] + attr_accessor :vm + alias_method :vm?, :vm + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @api_config = args[:api_config] if args.key?(:api_config) + @automatic_scaling = args[:automatic_scaling] if args.key?(:automatic_scaling) + @basic_scaling = args[:basic_scaling] if args.key?(:basic_scaling) + @beta_settings = args[:beta_settings] if args.key?(:beta_settings) + @create_time = args[:create_time] if args.key?(:create_time) + @created_by = args[:created_by] if args.key?(:created_by) + @default_expiration = args[:default_expiration] if args.key?(:default_expiration) + @deployment = args[:deployment] if args.key?(:deployment) + @disk_usage_bytes = args[:disk_usage_bytes] if args.key?(:disk_usage_bytes) + @endpoints_api_service = args[:endpoints_api_service] if args.key?(:endpoints_api_service) + @env = args[:env] if args.key?(:env) + @env_variables = args[:env_variables] if args.key?(:env_variables) + @error_handlers = args[:error_handlers] if args.key?(:error_handlers) + @handlers = args[:handlers] if args.key?(:handlers) + @health_check = args[:health_check] if args.key?(:health_check) + @id = args[:id] if args.key?(:id) + @inbound_services = args[:inbound_services] if args.key?(:inbound_services) + @instance_class = args[:instance_class] if args.key?(:instance_class) + @libraries = args[:libraries] if args.key?(:libraries) + @liveness_check = args[:liveness_check] if args.key?(:liveness_check) + @manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling) + @name = args[:name] if args.key?(:name) + @network = args[:network] if args.key?(:network) + @nobuild_files_regex = args[:nobuild_files_regex] if args.key?(:nobuild_files_regex) + @readiness_check = args[:readiness_check] if args.key?(:readiness_check) + @resources = args[:resources] if args.key?(:resources) + @runtime = args[:runtime] if args.key?(:runtime) + @runtime_api_version = args[:runtime_api_version] if args.key?(:runtime_api_version) + @serving_status = args[:serving_status] if args.key?(:serving_status) + @threadsafe = args[:threadsafe] if args.key?(:threadsafe) + @version_url = args[:version_url] if args.key?(:version_url) + @vm = args[:vm] if args.key?(:vm) + end + end + + # Volumes mounted within the app container. Only applicable for VM runtimes. + class Volume + include Google::Apis::Core::Hashable + + # Unique name for the volume. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Volume size in gigabytes. + # Corresponds to the JSON property `sizeGb` + # @return [Float] + attr_accessor :size_gb + + # Underlying volume type, e.g. 'tmpfs'. + # Corresponds to the JSON property `volumeType` + # @return [String] + attr_accessor :volume_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @size_gb = args[:size_gb] if args.key?(:size_gb) + @volume_type = args[:volume_type] if args.key?(:volume_type) + end + end + + # The zip file information for a zip deployment. + class ZipInfo + include Google::Apis::Core::Hashable + + # An estimate of the number of files in a zip for a zip deployment. If set, must + # be greater than or equal to the actual number of files. Used for optimizing + # performance; if not provided, deployment may be slow. + # Corresponds to the JSON property `filesCount` + # @return [Fixnum] + attr_accessor :files_count + + # URL of the zip file to deploy from. Must be a URL to a resource in Google + # Cloud Storage in the form 'http(s)://storage.googleapis.com//'. + # Corresponds to the JSON property `sourceUrl` + # @return [String] + attr_accessor :source_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @files_count = args[:files_count] if args.key?(:files_count) + @source_url = args[:source_url] if args.key?(:source_url) end end end diff --git a/generated/google/apis/appengine_v1/representations.rb b/generated/google/apis/appengine_v1/representations.rb index 707a956a7..9c4136f14 100644 --- a/generated/google/apis/appengine_v1/representations.rb +++ b/generated/google/apis/appengine_v1/representations.rb @@ -22,151 +22,13 @@ module Google module Apis module AppengineV1 - class ApiEndpointHandler - 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 ZipInfo - 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 ListLocationsResponse - 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 RequestUtilization - 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 EndpointsApiService - 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 ApiConfigHandler 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 BasicScaling - 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 CpuUtilization - 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 IdentityAwareProxy - 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 LocationMetadata - 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 ListOperationsResponse - 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 OperationMetadataV1 - 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 Network + class ApiEndpointHandler class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -178,37 +40,25 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Instance + class AutomaticScaling class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class LivenessCheck + class BasicScaling class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class NetworkUtilization + class ContainerInfo 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 HealthCheck - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReadinessCheck + class CpuUtilization class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -220,25 +70,31 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class OperationMetadataV1Beta5 + class Deployment class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Version + class DiskUtilization class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class RepairApplicationRequest + class EndpointsApiService class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ScriptHandler + class ErrorHandler + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FeatureSettings class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -250,43 +106,25 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class OperationMetadataExperimental + class HealthCheck class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class TrafficSplit + class IdentityAwareProxy class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class OperationMetadataV1Beta + class Instance 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 Resources - 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 Volume + class Library class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -298,13 +136,19 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class OperationMetadataV1Alpha + class ListLocationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class UrlDispatchRule + class ListOperationsResponse + 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 @@ -316,6 +160,179 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class LivenessCheck + 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 LocationMetadata + 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 NetworkUtilization + 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 OperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OperationMetadataExperimental + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OperationMetadataV1 + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OperationMetadataV1Alpha + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OperationMetadataV1Beta + 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 ReadinessCheck + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RepairApplicationRequest + 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 Resources + 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 Service + 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 Status + 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 UrlDispatchRule + 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 Version + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Volume + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ZipInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ApiConfigHandler + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :auth_fail_action, as: 'authFailAction' + property :login, as: 'login' + property :script, as: 'script' + property :security_level, as: 'securityLevel' + property :url, as: 'url' + end + end + class ApiEndpointHandler # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -323,50 +340,55 @@ module Google end end + class Application + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :auth_domain, as: 'authDomain' + property :code_bucket, as: 'codeBucket' + property :default_bucket, as: 'defaultBucket' + property :default_cookie_expiration, as: 'defaultCookieExpiration' + property :default_hostname, as: 'defaultHostname' + collection :dispatch_rules, as: 'dispatchRules', class: Google::Apis::AppengineV1::UrlDispatchRule, decorator: Google::Apis::AppengineV1::UrlDispatchRule::Representation + + property :feature_settings, as: 'featureSettings', class: Google::Apis::AppengineV1::FeatureSettings, decorator: Google::Apis::AppengineV1::FeatureSettings::Representation + + property :gcr_domain, as: 'gcrDomain' + property :iap, as: 'iap', class: Google::Apis::AppengineV1::IdentityAwareProxy, decorator: Google::Apis::AppengineV1::IdentityAwareProxy::Representation + + property :id, as: 'id' + property :location_id, as: 'locationId' + property :name, as: 'name' + property :serving_status, as: 'servingStatus' + end + end + class AutomaticScaling # @private class Representation < Google::Apis::Core::JsonRepresentation - property :network_utilization, as: 'networkUtilization', class: Google::Apis::AppengineV1::NetworkUtilization, decorator: Google::Apis::AppengineV1::NetworkUtilization::Representation - - property :max_concurrent_requests, as: 'maxConcurrentRequests' property :cool_down_period, as: 'coolDownPeriod' - property :max_pending_latency, as: 'maxPendingLatency' property :cpu_utilization, as: 'cpuUtilization', class: Google::Apis::AppengineV1::CpuUtilization, decorator: Google::Apis::AppengineV1::CpuUtilization::Representation property :disk_utilization, as: 'diskUtilization', class: Google::Apis::AppengineV1::DiskUtilization, decorator: Google::Apis::AppengineV1::DiskUtilization::Representation - property :min_pending_latency, as: 'minPendingLatency' + property :max_concurrent_requests, as: 'maxConcurrentRequests' property :max_idle_instances, as: 'maxIdleInstances' + property :max_pending_latency, as: 'maxPendingLatency' + property :max_total_instances, as: 'maxTotalInstances' + property :min_idle_instances, as: 'minIdleInstances' + property :min_pending_latency, as: 'minPendingLatency' + property :min_total_instances, as: 'minTotalInstances' + property :network_utilization, as: 'networkUtilization', class: Google::Apis::AppengineV1::NetworkUtilization, decorator: Google::Apis::AppengineV1::NetworkUtilization::Representation + property :request_utilization, as: 'requestUtilization', class: Google::Apis::AppengineV1::RequestUtilization, decorator: Google::Apis::AppengineV1::RequestUtilization::Representation - property :min_idle_instances, as: 'minIdleInstances' - property :max_total_instances, as: 'maxTotalInstances' - property :min_total_instances, as: 'minTotalInstances' end end - class ZipInfo + class BasicScaling # @private class Representation < Google::Apis::Core::JsonRepresentation - property :files_count, as: 'filesCount' - property :source_url, as: 'sourceUrl' - end - end - - class Library - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :version, as: 'version' - end - end - - class ListLocationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :locations, as: 'locations', class: Google::Apis::AppengineV1::Location, decorator: Google::Apis::AppengineV1::Location::Representation - + property :idle_timeout, as: 'idleTimeout' + property :max_instances, as: 'maxInstances' end end @@ -377,93 +399,6 @@ module Google end end - class RequestUtilization - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :target_request_count_per_second, as: 'targetRequestCountPerSecond' - property :target_concurrent_requests, as: 'targetConcurrentRequests' - end - end - - class UrlMap - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :security_level, as: 'securityLevel' - property :auth_fail_action, as: 'authFailAction' - property :script, as: 'script', class: Google::Apis::AppengineV1::ScriptHandler, decorator: Google::Apis::AppengineV1::ScriptHandler::Representation - - property :url_regex, as: 'urlRegex' - property :login, as: 'login' - property :api_endpoint, as: 'apiEndpoint', class: Google::Apis::AppengineV1::ApiEndpointHandler, decorator: Google::Apis::AppengineV1::ApiEndpointHandler::Representation - - property :static_files, as: 'staticFiles', class: Google::Apis::AppengineV1::StaticFilesHandler, decorator: Google::Apis::AppengineV1::StaticFilesHandler::Representation - - property :redirect_http_response_code, as: 'redirectHttpResponseCode' - end - end - - class EndpointsApiService - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :config_id, as: 'configId' - property :name, as: 'name' - end - end - - class Operation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :response, as: 'response' - property :name, as: 'name' - property :error, as: 'error', class: Google::Apis::AppengineV1::Status, decorator: Google::Apis::AppengineV1::Status::Representation - - hash :metadata, as: 'metadata' - property :done, as: 'done' - end - end - - class ApiConfigHandler - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' - property :security_level, as: 'securityLevel' - property :auth_fail_action, as: 'authFailAction' - property :script, as: 'script' - property :login, as: 'login' - end - end - - class StaticFilesHandler - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :application_readable, as: 'applicationReadable' - hash :http_headers, as: 'httpHeaders' - property :upload_path_regex, as: 'uploadPathRegex' - property :path, as: 'path' - property :mime_type, as: 'mimeType' - property :require_matching_file, as: 'requireMatchingFile' - property :expiration, as: 'expiration' - end - end - - class BasicScaling - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :max_instances, as: 'maxInstances' - property :idle_timeout, as: 'idleTimeout' - end - end - - class DiskUtilization - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :target_read_ops_per_second, as: 'targetReadOpsPerSecond' - property :target_read_bytes_per_second, as: 'targetReadBytesPerSecond' - property :target_write_ops_per_second, as: 'targetWriteOpsPerSecond' - property :target_write_bytes_per_second, as: 'targetWriteBytesPerSecond' - end - end - class CpuUtilization # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -472,203 +407,6 @@ module Google end end - class Status - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :details, as: 'details' - property :code, as: 'code' - property :message, as: 'message' - end - end - - class IdentityAwareProxy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :enabled, as: 'enabled' - property :oauth2_client_secret, as: 'oauth2ClientSecret' - property :oauth2_client_id, as: 'oauth2ClientId' - property :oauth2_client_secret_sha256, as: 'oauth2ClientSecretSha256' - end - end - - class ManualScaling - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :instances, as: 'instances' - end - end - - class LocationMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :flexible_environment_available, as: 'flexibleEnvironmentAvailable' - property :standard_environment_available, as: 'standardEnvironmentAvailable' - end - end - - class Service - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :split, as: 'split', class: Google::Apis::AppengineV1::TrafficSplit, decorator: Google::Apis::AppengineV1::TrafficSplit::Representation - - property :id, as: 'id' - property :name, as: 'name' - end - end - - class ListOperationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :operations, as: 'operations', class: Google::Apis::AppengineV1::Operation, decorator: Google::Apis::AppengineV1::Operation::Representation - - end - end - - class OperationMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :user, as: 'user' - property :target, as: 'target' - property :method_prop, as: 'method' - property :end_time, as: 'endTime' - property :operation_type, as: 'operationType' - property :insert_time, as: 'insertTime' - end - end - - class OperationMetadataV1 - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :target, as: 'target' - property :user, as: 'user' - property :ephemeral_message, as: 'ephemeralMessage' - property :method_prop, as: 'method' - property :end_time, as: 'endTime' - property :insert_time, as: 'insertTime' - collection :warning, as: 'warning' - end - end - - class ErrorHandler - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :mime_type, as: 'mimeType' - property :error_code, as: 'errorCode' - property :static_file, as: 'staticFile' - end - end - - class Network - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :subnetwork_name, as: 'subnetworkName' - property :instance_tag, as: 'instanceTag' - collection :forwarded_ports, as: 'forwardedPorts' - property :name, as: 'name' - end - end - - class Application - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :auth_domain, as: 'authDomain' - property :iap, as: 'iap', class: Google::Apis::AppengineV1::IdentityAwareProxy, decorator: Google::Apis::AppengineV1::IdentityAwareProxy::Representation - - property :code_bucket, as: 'codeBucket' - property :default_bucket, as: 'defaultBucket' - collection :dispatch_rules, as: 'dispatchRules', class: Google::Apis::AppengineV1::UrlDispatchRule, decorator: Google::Apis::AppengineV1::UrlDispatchRule::Representation - - property :gcr_domain, as: 'gcrDomain' - property :name, as: 'name' - property :default_cookie_expiration, as: 'defaultCookieExpiration' - property :id, as: 'id' - property :location_id, as: 'locationId' - property :serving_status, as: 'servingStatus' - property :default_hostname, as: 'defaultHostname' - end - end - - class Instance - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :average_latency, as: 'averageLatency' - property :vm_ip, as: 'vmIp' - property :memory_usage, :numeric_string => true, as: 'memoryUsage' - property :id, as: 'id' - property :vm_status, as: 'vmStatus' - property :errors, as: 'errors' - property :availability, as: 'availability' - property :start_time, as: 'startTime' - property :vm_debug_enabled, as: 'vmDebugEnabled' - property :requests, as: 'requests' - property :app_engine_release, as: 'appEngineRelease' - property :vm_name, as: 'vmName' - property :vm_id, as: 'vmId' - property :qps, as: 'qps' - property :vm_zone_name, as: 'vmZoneName' - property :name, as: 'name' - end - end - - class LivenessCheck - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :initial_delay, as: 'initialDelay' - property :path, as: 'path' - property :success_threshold, as: 'successThreshold' - property :host, as: 'host' - property :check_interval, as: 'checkInterval' - property :failure_threshold, as: 'failureThreshold' - property :timeout, as: 'timeout' - end - end - - class NetworkUtilization - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :target_received_packets_per_second, as: 'targetReceivedPacketsPerSecond' - property :target_sent_bytes_per_second, as: 'targetSentBytesPerSecond' - property :target_received_bytes_per_second, as: 'targetReceivedBytesPerSecond' - property :target_sent_packets_per_second, as: 'targetSentPacketsPerSecond' - end - end - - class Location - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :location_id, as: 'locationId' - hash :metadata, as: 'metadata' - hash :labels, as: 'labels' - property :name, as: 'name' - end - end - - class HealthCheck - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :timeout, as: 'timeout' - property :unhealthy_threshold, as: 'unhealthyThreshold' - property :disable_health_check, as: 'disableHealthCheck' - property :host, as: 'host' - property :restart_threshold, as: 'restartThreshold' - property :healthy_threshold, as: 'healthyThreshold' - property :check_interval, as: 'checkInterval' - end - end - - class ReadinessCheck - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :path, as: 'path' - property :success_threshold, as: 'successThreshold' - property :host, as: 'host' - property :check_interval, as: 'checkInterval' - property :failure_threshold, as: 'failureThreshold' - property :timeout, as: 'timeout' - end - end - class DebugInstanceRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -676,161 +414,111 @@ module Google end end - class OperationMetadataV1Beta5 + class Deployment # @private class Representation < Google::Apis::Core::JsonRepresentation - property :method_prop, as: 'method' - property :insert_time, as: 'insertTime' - property :end_time, as: 'endTime' - property :target, as: 'target' - property :user, as: 'user' + property :container, as: 'container', class: Google::Apis::AppengineV1::ContainerInfo, decorator: Google::Apis::AppengineV1::ContainerInfo::Representation + + hash :files, as: 'files', class: Google::Apis::AppengineV1::FileInfo, decorator: Google::Apis::AppengineV1::FileInfo::Representation + + property :zip, as: 'zip', class: Google::Apis::AppengineV1::ZipInfo, decorator: Google::Apis::AppengineV1::ZipInfo::Representation + end end - class Version + class DiskUtilization # @private class Representation < Google::Apis::Core::JsonRepresentation - property :resources, as: 'resources', class: Google::Apis::AppengineV1::Resources, decorator: Google::Apis::AppengineV1::Resources::Representation - - collection :inbound_services, as: 'inboundServices' - collection :error_handlers, as: 'errorHandlers', class: Google::Apis::AppengineV1::ErrorHandler, decorator: Google::Apis::AppengineV1::ErrorHandler::Representation - - property :default_expiration, as: 'defaultExpiration' - collection :libraries, as: 'libraries', class: Google::Apis::AppengineV1::Library, decorator: Google::Apis::AppengineV1::Library::Representation - - property :nobuild_files_regex, as: 'nobuildFilesRegex' - property :basic_scaling, as: 'basicScaling', class: Google::Apis::AppengineV1::BasicScaling, decorator: Google::Apis::AppengineV1::BasicScaling::Representation - - property :runtime, as: 'runtime' - property :created_by, as: 'createdBy' - property :id, as: 'id' - hash :env_variables, as: 'envVariables' - property :liveness_check, as: 'livenessCheck', class: Google::Apis::AppengineV1::LivenessCheck, decorator: Google::Apis::AppengineV1::LivenessCheck::Representation - - property :network, as: 'network', class: Google::Apis::AppengineV1::Network, decorator: Google::Apis::AppengineV1::Network::Representation - - hash :beta_settings, as: 'betaSettings' - property :env, as: 'env' - collection :handlers, as: 'handlers', class: Google::Apis::AppengineV1::UrlMap, decorator: Google::Apis::AppengineV1::UrlMap::Representation - - property :automatic_scaling, as: 'automaticScaling', class: Google::Apis::AppengineV1::AutomaticScaling, decorator: Google::Apis::AppengineV1::AutomaticScaling::Representation - - property :disk_usage_bytes, :numeric_string => true, as: 'diskUsageBytes' - property :health_check, as: 'healthCheck', class: Google::Apis::AppengineV1::HealthCheck, decorator: Google::Apis::AppengineV1::HealthCheck::Representation - - property :threadsafe, as: 'threadsafe' - property :readiness_check, as: 'readinessCheck', class: Google::Apis::AppengineV1::ReadinessCheck, decorator: Google::Apis::AppengineV1::ReadinessCheck::Representation - - property :manual_scaling, as: 'manualScaling', class: Google::Apis::AppengineV1::ManualScaling, decorator: Google::Apis::AppengineV1::ManualScaling::Representation + property :target_read_bytes_per_second, as: 'targetReadBytesPerSecond' + property :target_read_ops_per_second, as: 'targetReadOpsPerSecond' + property :target_write_bytes_per_second, as: 'targetWriteBytesPerSecond' + property :target_write_ops_per_second, as: 'targetWriteOpsPerSecond' + end + end + class EndpointsApiService + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :config_id, as: 'configId' property :name, as: 'name' - property :api_config, as: 'apiConfig', class: Google::Apis::AppengineV1::ApiConfigHandler, decorator: Google::Apis::AppengineV1::ApiConfigHandler::Representation - - property :endpoints_api_service, as: 'endpointsApiService', class: Google::Apis::AppengineV1::EndpointsApiService, decorator: Google::Apis::AppengineV1::EndpointsApiService::Representation - - property :vm, as: 'vm' - property :version_url, as: 'versionUrl' - property :instance_class, as: 'instanceClass' - property :serving_status, as: 'servingStatus' - property :runtime_api_version, as: 'runtimeApiVersion' - property :deployment, as: 'deployment', class: Google::Apis::AppengineV1::Deployment, decorator: Google::Apis::AppengineV1::Deployment::Representation - - property :create_time, as: 'createTime' end end - class RepairApplicationRequest + class ErrorHandler # @private class Representation < Google::Apis::Core::JsonRepresentation + property :error_code, as: 'errorCode' + property :mime_type, as: 'mimeType' + property :static_file, as: 'staticFile' end end - class ScriptHandler + class FeatureSettings # @private class Representation < Google::Apis::Core::JsonRepresentation - property :script_path, as: 'scriptPath' + property :split_health_checks, as: 'splitHealthChecks' end end class FileInfo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :source_url, as: 'sourceUrl' - property :sha1_sum, as: 'sha1Sum' property :mime_type, as: 'mimeType' + property :sha1_sum, as: 'sha1Sum' + property :source_url, as: 'sourceUrl' end end - class OperationMetadataExperimental + class HealthCheck # @private class Representation < Google::Apis::Core::JsonRepresentation - property :insert_time, as: 'insertTime' - property :end_time, as: 'endTime' - property :target, as: 'target' - property :user, as: 'user' - property :method_prop, as: 'method' + property :check_interval, as: 'checkInterval' + property :disable_health_check, as: 'disableHealthCheck' + property :healthy_threshold, as: 'healthyThreshold' + property :host, as: 'host' + property :restart_threshold, as: 'restartThreshold' + property :timeout, as: 'timeout' + property :unhealthy_threshold, as: 'unhealthyThreshold' end end - class TrafficSplit + class IdentityAwareProxy # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :allocations, as: 'allocations' - property :shard_by, as: 'shardBy' + property :enabled, as: 'enabled' + property :oauth2_client_id, as: 'oauth2ClientId' + property :oauth2_client_secret, as: 'oauth2ClientSecret' + property :oauth2_client_secret_sha256, as: 'oauth2ClientSecretSha256' end end - class OperationMetadataV1Beta + class Instance # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :warning, as: 'warning' - property :insert_time, as: 'insertTime' - property :user, as: 'user' - property :target, as: 'target' - property :ephemeral_message, as: 'ephemeralMessage' - property :method_prop, as: 'method' - property :end_time, as: 'endTime' - end - end - - class ListServicesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :services, as: 'services', class: Google::Apis::AppengineV1::Service, decorator: Google::Apis::AppengineV1::Service::Representation - - end - end - - class Resources - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :memory_gb, as: 'memoryGb' - property :cpu, as: 'cpu' - collection :volumes, as: 'volumes', class: Google::Apis::AppengineV1::Volume, decorator: Google::Apis::AppengineV1::Volume::Representation - - property :disk_gb, as: 'diskGb' - end - end - - class Deployment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :zip, as: 'zip', class: Google::Apis::AppengineV1::ZipInfo, decorator: Google::Apis::AppengineV1::ZipInfo::Representation - - property :container, as: 'container', class: Google::Apis::AppengineV1::ContainerInfo, decorator: Google::Apis::AppengineV1::ContainerInfo::Representation - - hash :files, as: 'files', class: Google::Apis::AppengineV1::FileInfo, decorator: Google::Apis::AppengineV1::FileInfo::Representation - - end - end - - class Volume - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :size_gb, as: 'sizeGb' + property :app_engine_release, as: 'appEngineRelease' + property :availability, as: 'availability' + property :average_latency, as: 'averageLatency' + property :errors, as: 'errors' + property :id, as: 'id' + property :memory_usage, :numeric_string => true, as: 'memoryUsage' property :name, as: 'name' - property :volume_type, as: 'volumeType' + property :qps, as: 'qps' + property :requests, as: 'requests' + property :start_time, as: 'startTime' + property :vm_debug_enabled, as: 'vmDebugEnabled' + property :vm_id, as: 'vmId' + property :vm_ip, as: 'vmIp' + property :vm_name, as: 'vmName' + property :vm_status, as: 'vmStatus' + property :vm_zone_name, as: 'vmZoneName' + end + end + + class Library + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :version, as: 'version' end end @@ -843,25 +531,30 @@ module Google end end - class OperationMetadataV1Alpha + class ListLocationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :warning, as: 'warning' - property :insert_time, as: 'insertTime' - property :target, as: 'target' - property :user, as: 'user' - property :ephemeral_message, as: 'ephemeralMessage' - property :method_prop, as: 'method' - property :end_time, as: 'endTime' + collection :locations, as: 'locations', class: Google::Apis::AppengineV1::Location, decorator: Google::Apis::AppengineV1::Location::Representation + + property :next_page_token, as: 'nextPageToken' end end - class UrlDispatchRule + class ListOperationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :path, as: 'path' - property :service, as: 'service' - property :domain, as: 'domain' + property :next_page_token, as: 'nextPageToken' + collection :operations, as: 'operations', class: Google::Apis::AppengineV1::Operation, decorator: Google::Apis::AppengineV1::Operation::Representation + + end + end + + class ListServicesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :services, as: 'services', class: Google::Apis::AppengineV1::Service, decorator: Google::Apis::AppengineV1::Service::Representation + end end @@ -873,6 +566,329 @@ module Google end end + + class LivenessCheck + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :check_interval, as: 'checkInterval' + property :failure_threshold, as: 'failureThreshold' + property :host, as: 'host' + property :initial_delay, as: 'initialDelay' + property :path, as: 'path' + property :success_threshold, as: 'successThreshold' + property :timeout, as: 'timeout' + end + end + + class Location + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :labels, as: 'labels' + property :location_id, as: 'locationId' + hash :metadata, as: 'metadata' + property :name, as: 'name' + end + end + + class LocationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :flexible_environment_available, as: 'flexibleEnvironmentAvailable' + property :standard_environment_available, as: 'standardEnvironmentAvailable' + end + end + + class ManualScaling + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :instances, as: 'instances' + end + end + + class Network + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :forwarded_ports, as: 'forwardedPorts' + property :instance_tag, as: 'instanceTag' + property :name, as: 'name' + property :subnetwork_name, as: 'subnetworkName' + end + end + + class NetworkUtilization + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :target_received_bytes_per_second, as: 'targetReceivedBytesPerSecond' + property :target_received_packets_per_second, as: 'targetReceivedPacketsPerSecond' + property :target_sent_bytes_per_second, as: 'targetSentBytesPerSecond' + property :target_sent_packets_per_second, as: 'targetSentPacketsPerSecond' + end + end + + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::AppengineV1::Status, decorator: Google::Apis::AppengineV1::Status::Representation + + hash :metadata, as: 'metadata' + property :name, as: 'name' + hash :response, as: 'response' + end + end + + class OperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_time, as: 'endTime' + property :insert_time, as: 'insertTime' + property :method_prop, as: 'method' + property :operation_type, as: 'operationType' + property :target, as: 'target' + property :user, as: 'user' + end + end + + class OperationMetadataExperimental + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_time, as: 'endTime' + property :insert_time, as: 'insertTime' + property :method_prop, as: 'method' + property :target, as: 'target' + property :user, as: 'user' + end + end + + class OperationMetadataV1 + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_time, as: 'endTime' + property :ephemeral_message, as: 'ephemeralMessage' + property :insert_time, as: 'insertTime' + property :method_prop, as: 'method' + property :target, as: 'target' + property :user, as: 'user' + collection :warning, as: 'warning' + end + end + + class OperationMetadataV1Alpha + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_time, as: 'endTime' + property :ephemeral_message, as: 'ephemeralMessage' + property :insert_time, as: 'insertTime' + property :method_prop, as: 'method' + property :target, as: 'target' + property :user, as: 'user' + collection :warning, as: 'warning' + end + end + + class OperationMetadataV1Beta + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_time, as: 'endTime' + property :ephemeral_message, as: 'ephemeralMessage' + property :insert_time, as: 'insertTime' + property :method_prop, as: 'method' + property :target, as: 'target' + property :user, as: 'user' + collection :warning, as: 'warning' + end + end + + class OperationMetadataV1Beta5 + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_time, as: 'endTime' + property :insert_time, as: 'insertTime' + property :method_prop, as: 'method' + property :target, as: 'target' + property :user, as: 'user' + end + end + + class ReadinessCheck + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :app_start_timeout, as: 'appStartTimeout' + property :check_interval, as: 'checkInterval' + property :failure_threshold, as: 'failureThreshold' + property :host, as: 'host' + property :path, as: 'path' + property :success_threshold, as: 'successThreshold' + property :timeout, as: 'timeout' + end + end + + class RepairApplicationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class RequestUtilization + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :target_concurrent_requests, as: 'targetConcurrentRequests' + property :target_request_count_per_second, as: 'targetRequestCountPerSecond' + end + end + + class Resources + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cpu, as: 'cpu' + property :disk_gb, as: 'diskGb' + property :memory_gb, as: 'memoryGb' + collection :volumes, as: 'volumes', class: Google::Apis::AppengineV1::Volume, decorator: Google::Apis::AppengineV1::Volume::Representation + + end + end + + class ScriptHandler + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :script_path, as: 'scriptPath' + end + end + + class Service + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :name, as: 'name' + property :split, as: 'split', class: Google::Apis::AppengineV1::TrafficSplit, decorator: Google::Apis::AppengineV1::TrafficSplit::Representation + + end + end + + class StaticFilesHandler + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :application_readable, as: 'applicationReadable' + property :expiration, as: 'expiration' + hash :http_headers, as: 'httpHeaders' + property :mime_type, as: 'mimeType' + property :path, as: 'path' + property :require_matching_file, as: 'requireMatchingFile' + property :upload_path_regex, as: 'uploadPathRegex' + 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 TrafficSplit + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :allocations, as: 'allocations' + property :shard_by, as: 'shardBy' + end + end + + class UrlDispatchRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :domain, as: 'domain' + property :path, as: 'path' + property :service, as: 'service' + end + end + + class UrlMap + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :api_endpoint, as: 'apiEndpoint', class: Google::Apis::AppengineV1::ApiEndpointHandler, decorator: Google::Apis::AppengineV1::ApiEndpointHandler::Representation + + property :auth_fail_action, as: 'authFailAction' + property :login, as: 'login' + property :redirect_http_response_code, as: 'redirectHttpResponseCode' + property :script, as: 'script', class: Google::Apis::AppengineV1::ScriptHandler, decorator: Google::Apis::AppengineV1::ScriptHandler::Representation + + property :security_level, as: 'securityLevel' + property :static_files, as: 'staticFiles', class: Google::Apis::AppengineV1::StaticFilesHandler, decorator: Google::Apis::AppengineV1::StaticFilesHandler::Representation + + property :url_regex, as: 'urlRegex' + end + end + + class Version + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :api_config, as: 'apiConfig', class: Google::Apis::AppengineV1::ApiConfigHandler, decorator: Google::Apis::AppengineV1::ApiConfigHandler::Representation + + property :automatic_scaling, as: 'automaticScaling', class: Google::Apis::AppengineV1::AutomaticScaling, decorator: Google::Apis::AppengineV1::AutomaticScaling::Representation + + property :basic_scaling, as: 'basicScaling', class: Google::Apis::AppengineV1::BasicScaling, decorator: Google::Apis::AppengineV1::BasicScaling::Representation + + hash :beta_settings, as: 'betaSettings' + property :create_time, as: 'createTime' + property :created_by, as: 'createdBy' + property :default_expiration, as: 'defaultExpiration' + property :deployment, as: 'deployment', class: Google::Apis::AppengineV1::Deployment, decorator: Google::Apis::AppengineV1::Deployment::Representation + + property :disk_usage_bytes, :numeric_string => true, as: 'diskUsageBytes' + property :endpoints_api_service, as: 'endpointsApiService', class: Google::Apis::AppengineV1::EndpointsApiService, decorator: Google::Apis::AppengineV1::EndpointsApiService::Representation + + property :env, as: 'env' + hash :env_variables, as: 'envVariables' + collection :error_handlers, as: 'errorHandlers', class: Google::Apis::AppengineV1::ErrorHandler, decorator: Google::Apis::AppengineV1::ErrorHandler::Representation + + collection :handlers, as: 'handlers', class: Google::Apis::AppengineV1::UrlMap, decorator: Google::Apis::AppengineV1::UrlMap::Representation + + property :health_check, as: 'healthCheck', class: Google::Apis::AppengineV1::HealthCheck, decorator: Google::Apis::AppengineV1::HealthCheck::Representation + + property :id, as: 'id' + collection :inbound_services, as: 'inboundServices' + property :instance_class, as: 'instanceClass' + collection :libraries, as: 'libraries', class: Google::Apis::AppengineV1::Library, decorator: Google::Apis::AppengineV1::Library::Representation + + property :liveness_check, as: 'livenessCheck', class: Google::Apis::AppengineV1::LivenessCheck, decorator: Google::Apis::AppengineV1::LivenessCheck::Representation + + property :manual_scaling, as: 'manualScaling', class: Google::Apis::AppengineV1::ManualScaling, decorator: Google::Apis::AppengineV1::ManualScaling::Representation + + property :name, as: 'name' + property :network, as: 'network', class: Google::Apis::AppengineV1::Network, decorator: Google::Apis::AppengineV1::Network::Representation + + property :nobuild_files_regex, as: 'nobuildFilesRegex' + property :readiness_check, as: 'readinessCheck', class: Google::Apis::AppengineV1::ReadinessCheck, decorator: Google::Apis::AppengineV1::ReadinessCheck::Representation + + property :resources, as: 'resources', class: Google::Apis::AppengineV1::Resources, decorator: Google::Apis::AppengineV1::Resources::Representation + + property :runtime, as: 'runtime' + property :runtime_api_version, as: 'runtimeApiVersion' + property :serving_status, as: 'servingStatus' + property :threadsafe, as: 'threadsafe' + property :version_url, as: 'versionUrl' + property :vm, as: 'vm' + end + end + + class Volume + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :size_gb, as: 'sizeGb' + property :volume_type, as: 'volumeType' + end + end + + class ZipInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :files_count, as: 'filesCount' + property :source_url, as: 'sourceUrl' + end + end end end end diff --git a/generated/google/apis/appengine_v1/service.rb b/generated/google/apis/appengine_v1/service.rb index b27bbbe8c..6126889c6 100644 --- a/generated/google/apis/appengine_v1/service.rb +++ b/generated/google/apis/appengine_v1/service.rb @@ -48,13 +48,14 @@ module Google @batch_path = 'batch' end - # Recreates the required App Engine features for the specified App Engine - # application, for example a Cloud Storage bucket or App Engine service account. - # Use this method if you receive an error message about a missing feature, for - # example, Error retrieving the App Engine service account. - # @param [String] apps_id - # Part of `name`. Name of the application to repair. Example: apps/myapp - # @param [Google::Apis::AppengineV1::RepairApplicationRequest] repair_application_request_object + # Creates an App Engine application for a Google Cloud Platform project. + # Required fields: + # id - The ID of the target Cloud Platform project. + # location - The region (https://cloud.google.com/appengine/docs/locations) + # where you want the App Engine application located.For more information about + # App Engine applications, see Managing Projects, Applications, and Billing ( + # https://cloud.google.com/appengine/docs/python/console/). + # @param [Google::Apis::AppengineV1::Application] application_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -72,12 +73,41 @@ 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 repair_application(apps_id, repair_application_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/apps/{appsId}:repair', options) - command.request_representation = Google::Apis::AppengineV1::RepairApplicationRequest::Representation - command.request_object = repair_application_request_object + def create_app(application_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/apps', options) + command.request_representation = Google::Apis::AppengineV1::Application::Representation + command.request_object = application_object command.response_representation = Google::Apis::AppengineV1::Operation::Representation command.response_class = Google::Apis::AppengineV1::Operation + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets information about an application. + # @param [String] apps_id + # Part of `name`. Name of the Application resource to get. Example: apps/myapp. + # @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::AppengineV1::Application] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AppengineV1::Application] + # + # @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_app(apps_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/apps/{appsId}', options) + command.response_representation = Google::Apis::AppengineV1::Application::Representation + command.response_class = Google::Apis::AppengineV1::Application command.params['appsId'] = apps_id unless apps_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -125,44 +155,13 @@ module Google execute_or_queue_command(command, &block) end - # Gets information about an application. + # Recreates the required App Engine features for the specified App Engine + # application, for example a Cloud Storage bucket or App Engine service account. + # Use this method if you receive an error message about a missing feature, for + # example, Error retrieving the App Engine service account. # @param [String] apps_id - # Part of `name`. Name of the Application resource to get. Example: apps/myapp. - # @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::AppengineV1::Application] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::AppengineV1::Application] - # - # @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_app(apps_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/apps/{appsId}', options) - command.response_representation = Google::Apis::AppengineV1::Application::Representation - command.response_class = Google::Apis::AppengineV1::Application - command.params['appsId'] = apps_id unless apps_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 - - # Creates an App Engine application for a Google Cloud Platform project. - # Required fields: - # id - The ID of the target Cloud Platform project. - # location - The region (https://cloud.google.com/appengine/docs/locations) - # where you want the App Engine application located.For more information about - # App Engine applications, see Managing Projects, Applications, and Billing ( - # https://cloud.google.com/appengine/docs/python/console/). - # @param [Google::Apis::AppengineV1::Application] application_object + # Part of `name`. Name of the application to repair. Example: apps/myapp + # @param [Google::Apis::AppengineV1::RepairApplicationRequest] repair_application_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -180,12 +179,85 @@ 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 create_app(application_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/apps', options) - command.request_representation = Google::Apis::AppengineV1::Application::Representation - command.request_object = application_object + def repair_application(apps_id, repair_application_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/apps/{appsId}:repair', options) + command.request_representation = Google::Apis::AppengineV1::RepairApplicationRequest::Representation + command.request_object = repair_application_request_object command.response_representation = Google::Apis::AppengineV1::Operation::Representation command.response_class = Google::Apis::AppengineV1::Operation + command.params['appsId'] = apps_id unless apps_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 + + # Get information about a location. + # @param [String] apps_id + # Part of `name`. Resource name for the location. + # @param [String] locations_id + # Part of `name`. See documentation of `appsId`. + # @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::AppengineV1::Location] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AppengineV1::Location] + # + # @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_app_location(apps_id, locations_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/apps/{appsId}/locations/{locationsId}', options) + command.response_representation = Google::Apis::AppengineV1::Location::Representation + command.response_class = Google::Apis::AppengineV1::Location + command.params['appsId'] = apps_id unless apps_id.nil? + command.params['locationsId'] = locations_id unless locations_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 information about the supported locations for this service. + # @param [String] apps_id + # Part of `name`. The resource that owns the locations collection, if applicable. + # @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::AppengineV1::ListLocationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AppengineV1::ListLocationsResponse] + # + # @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_app_locations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/apps/{appsId}/locations', options) + command.response_representation = Google::Apis::AppengineV1::ListLocationsResponse::Representation + command.response_class = Google::Apis::AppengineV1::ListLocationsResponse + command.params['appsId'] = apps_id unless apps_id.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) @@ -235,10 +307,10 @@ module Google # binding is the parent resource, without the operations collection id. # @param [String] apps_id # Part of `name`. The name of the operation's parent resource. - # @param [Fixnum] page_size - # The standard list page size. # @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 @@ -258,86 +330,14 @@ 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_app_operations(apps_id, page_size: nil, filter: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_app_operations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/apps/{appsId}/operations', options) command.response_representation = Google::Apis::AppengineV1::ListOperationsResponse::Representation command.response_class = Google::Apis::AppengineV1::ListOperationsResponse command.params['appsId'] = apps_id unless apps_id.nil? - command.query['pageSize'] = page_size unless page_size.nil? command.query['filter'] = filter unless filter.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 - - # Get information about a location. - # @param [String] apps_id - # Part of `name`. Resource name for the location. - # @param [String] locations_id - # Part of `name`. See documentation of `appsId`. - # @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::AppengineV1::Location] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::AppengineV1::Location] - # - # @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_app_location(apps_id, locations_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/apps/{appsId}/locations/{locationsId}', options) - command.response_representation = Google::Apis::AppengineV1::Location::Representation - command.response_class = Google::Apis::AppengineV1::Location - command.params['appsId'] = apps_id unless apps_id.nil? - command.params['locationsId'] = locations_id unless locations_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 information about the supported locations for this service. - # @param [String] apps_id - # Part of `name`. The resource that owns the locations collection, if applicable. - # @param [String] filter - # The standard list filter. - # @param [String] page_token - # The standard list page token. - # @param [Fixnum] page_size - # The standard list page size. - # @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::AppengineV1::ListLocationsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::AppengineV1::ListLocationsResponse] - # - # @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_app_locations(apps_id, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/apps/{appsId}/locations', options) - command.response_representation = Google::Apis::AppengineV1::ListLocationsResponse::Representation - command.response_class = Google::Apis::AppengineV1::ListLocationsResponse - command.params['appsId'] = apps_id unless apps_id.nil? - command.query['filter'] = filter unless filter.nil? - command.query['pageToken'] = page_token unless page_token.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) @@ -377,60 +377,6 @@ module Google execute_or_queue_command(command, &block) end - # Updates the configuration of the specified service. - # @param [String] apps_id - # Part of `name`. Name of the resource to update. Example: apps/myapp/services/ - # default. - # @param [String] services_id - # Part of `name`. See documentation of `appsId`. - # @param [Google::Apis::AppengineV1::Service] service_object - # @param [String] update_mask - # Standard field mask for the set of fields to be updated. - # @param [Boolean] migrate_traffic - # Set to true to gradually shift traffic to one or more versions that you - # specify. By default, traffic is shifted immediately. For gradual traffic - # migration, the target versions must be located within instances that are - # configured for both warmup requests (https://cloud.google.com/appengine/docs/ - # admin-api/reference/rest/v1/apps.services.versions#inboundservicetype) and - # automatic scaling (https://cloud.google.com/appengine/docs/admin-api/reference/ - # rest/v1/apps.services.versions#automaticscaling). You must specify the shardBy - # (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps. - # services#shardby) field in the Service resource. Gradual traffic migration is - # not supported in the App Engine flexible environment. For examples, see - # Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/admin- - # api/migrating-splitting-traffic). - # @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::AppengineV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::AppengineV1::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_app_service(apps_id, services_id, service_object = nil, update_mask: nil, migrate_traffic: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/apps/{appsId}/services/{servicesId}', options) - command.request_representation = Google::Apis::AppengineV1::Service::Representation - command.request_object = service_object - command.response_representation = Google::Apis::AppengineV1::Operation::Representation - command.response_class = Google::Apis::AppengineV1::Operation - command.params['appsId'] = apps_id unless apps_id.nil? - command.params['servicesId'] = services_id unless services_id.nil? - command.query['updateMask'] = update_mask unless update_mask.nil? - command.query['migrateTraffic'] = migrate_traffic unless migrate_traffic.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 current configuration of the specified service. # @param [String] apps_id # Part of `name`. Name of the resource requested. Example: apps/myapp/services/ @@ -468,10 +414,10 @@ module Google # Lists all the services in the application. # @param [String] apps_id # Part of `parent`. Name of the parent Application resource. Example: apps/myapp. - # @param [String] page_token - # Continuation token for fetching the next page of results. # @param [Fixnum] page_size # Maximum results to return per page. + # @param [String] page_token + # Continuation token for fetching the next page of results. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -489,13 +435,67 @@ 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_app_services(apps_id, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_app_services(apps_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/apps/{appsId}/services', options) command.response_representation = Google::Apis::AppengineV1::ListServicesResponse::Representation command.response_class = Google::Apis::AppengineV1::ListServicesResponse command.params['appsId'] = apps_id unless apps_id.nil? - command.query['pageToken'] = page_token unless page_token.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 + + # Updates the configuration of the specified service. + # @param [String] apps_id + # Part of `name`. Name of the resource to update. Example: apps/myapp/services/ + # default. + # @param [String] services_id + # Part of `name`. See documentation of `appsId`. + # @param [Google::Apis::AppengineV1::Service] service_object + # @param [Boolean] migrate_traffic + # Set to true to gradually shift traffic to one or more versions that you + # specify. By default, traffic is shifted immediately. For gradual traffic + # migration, the target versions must be located within instances that are + # configured for both warmup requests (https://cloud.google.com/appengine/docs/ + # admin-api/reference/rest/v1/apps.services.versions#inboundservicetype) and + # automatic scaling (https://cloud.google.com/appengine/docs/admin-api/reference/ + # rest/v1/apps.services.versions#automaticscaling). You must specify the shardBy + # (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps. + # services#shardby) field in the Service resource. Gradual traffic migration is + # not supported in the App Engine flexible environment. For examples, see + # Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/admin- + # api/migrating-splitting-traffic). + # @param [String] update_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::AppengineV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AppengineV1::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_app_service(apps_id, services_id, service_object = nil, migrate_traffic: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/apps/{appsId}/services/{servicesId}', options) + command.request_representation = Google::Apis::AppengineV1::Service::Representation + command.request_object = service_object + command.response_representation = Google::Apis::AppengineV1::Operation::Representation + command.response_class = Google::Apis::AppengineV1::Operation + command.params['appsId'] = apps_id unless apps_id.nil? + command.params['servicesId'] = services_id unless services_id.nil? + command.query['migrateTraffic'] = migrate_traffic unless migrate_traffic.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) @@ -575,66 +575,6 @@ module Google execute_or_queue_command(command, &block) end - # Updates the specified Version resource. You can specify the following fields - # depending on the App Engine environment and type of scaling that the version - # resource uses: - # serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/ - # rest/v1/apps.services.versions#Version.FIELDS.serving_status): For Version - # resources that use basic scaling, manual scaling, or run in the App Engine - # flexible environment. - # instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/ - # rest/v1/apps.services.versions#Version.FIELDS.instance_class): For Version - # resources that run in the App Engine standard environment. - # automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/ - # admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS. - # automatic_scaling): For Version resources that use automatic scaling and run - # in the App Engine standard environment. - # automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/ - # admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS. - # automatic_scaling): For Version resources that use automatic scaling and run - # in the App Engine standard environment. - # @param [String] apps_id - # Part of `name`. Name of the resource to update. 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::AppengineV1::Version] version_object - # @param [String] update_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::AppengineV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::AppengineV1::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_app_service_version(apps_id, services_id, versions_id, version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options) - command.request_representation = Google::Apis::AppengineV1::Version::Representation - command.request_object = version_object - command.response_representation = Google::Apis::AppengineV1::Operation::Representation - command.response_class = Google::Apis::AppengineV1::Operation - 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['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 - # Gets the specified Version resource. By default, only a BASIC_VIEW will be # returned. Specify the FULL_VIEW parameter to get the full resource. # @param [String] apps_id @@ -682,10 +622,10 @@ module Google # services/default. # @param [String] services_id # Part of `parent`. See documentation of `appsId`. - # @param [String] page_token - # Continuation token for fetching the next page of results. # @param [Fixnum] page_size # Maximum results to return per page. + # @param [String] page_token + # Continuation token for fetching the next page of results. # @param [String] view # Controls the set of fields returned in the List response. # @param [String] fields @@ -705,20 +645,144 @@ 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_app_service_versions(apps_id, services_id, page_token: nil, page_size: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_app_service_versions(apps_id, services_id, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/apps/{appsId}/services/{servicesId}/versions', options) command.response_representation = Google::Apis::AppengineV1::ListVersionsResponse::Representation command.response_class = Google::Apis::AppengineV1::ListVersionsResponse command.params['appsId'] = apps_id unless apps_id.nil? command.params['servicesId'] = services_id unless services_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? command.query['view'] = view unless view.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 the specified Version resource. You can specify the following fields + # depending on the App Engine environment and type of scaling that the version + # resource uses: + # serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/ + # rest/v1/apps.services.versions#Version.FIELDS.serving_status): For Version + # resources that use basic scaling, manual scaling, or run in the App Engine + # flexible environment. + # instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/ + # rest/v1/apps.services.versions#Version.FIELDS.instance_class): For Version + # resources that run in the App Engine standard environment. + # automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/ + # admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS. + # automatic_scaling): For Version resources that use automatic scaling and run + # in the App Engine standard environment. + # automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/ + # admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS. + # automatic_scaling): For Version resources that use automatic scaling and run + # in the App Engine standard environment. + # automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/ + # admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS. + # automatic_scaling): For Version resources that use automatic scaling and run + # in the App Engine Flexible environment. + # automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/ + # admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS. + # automatic_scaling): For Version resources that use automatic scaling and run + # in the App Engine Flexible environment. + # automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/ + # docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS. + # automatic_scaling): For Version resources that use automatic scaling and run + # in the App Engine Flexible environment. + # automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/ + # appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version. + # FIELDS.automatic_scaling): For Version resources that use automatic scaling + # and run in the App Engine Flexible environment. + # @param [String] apps_id + # Part of `name`. Name of the resource to update. 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::AppengineV1::Version] version_object + # @param [String] update_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::AppengineV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AppengineV1::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_app_service_version(apps_id, services_id, versions_id, version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options) + command.request_representation = Google::Apis::AppengineV1::Version::Representation + command.request_object = version_object + command.response_representation = Google::Apis::AppengineV1::Operation::Representation + command.response_class = Google::Apis::AppengineV1::Operation + 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['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 + + # Enables debugging on a VM instance. This allows you to use the SSH command to + # connect to the virtual machine where the instance lives. While in "debug mode", + # the instance continues to serve live traffic. You should delete the instance + # when you are done debugging and then allow the system to take over and + # determine if another instance should be started.Only applicable for instances + # in App Engine flexible environment. + # @param [String] apps_id + # Part of `name`. Name of the resource requested. Example: apps/myapp/services/ + # default/versions/v1/instances/instance-1. + # @param [String] services_id + # Part of `name`. See documentation of `appsId`. + # @param [String] versions_id + # Part of `name`. See documentation of `appsId`. + # @param [String] instances_id + # Part of `name`. See documentation of `appsId`. + # @param [Google::Apis::AppengineV1::DebugInstanceRequest] debug_instance_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::AppengineV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AppengineV1::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 debug_instance(apps_id, services_id, versions_id, instances_id, debug_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug', options) + command.request_representation = Google::Apis::AppengineV1::DebugInstanceRequest::Representation + command.request_object = debug_instance_request_object + command.response_representation = Google::Apis::AppengineV1::Operation::Representation + command.response_class = Google::Apis::AppengineV1::Operation + 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.params['instancesId'] = instances_id unless instances_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 + # Stops a running instance. # @param [String] apps_id # Part of `name`. Name of the resource requested. Example: apps/myapp/services/ @@ -809,10 +873,10 @@ module Google # Part of `parent`. See documentation of `appsId`. # @param [String] versions_id # Part of `parent`. See documentation of `appsId`. - # @param [String] page_token - # Continuation token for fetching the next page of results. # @param [Fixnum] page_size # Maximum results to return per page. + # @param [String] page_token + # Continuation token for fetching the next page of results. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -830,63 +894,15 @@ 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_app_service_version_instances(apps_id, services_id, versions_id, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_app_service_version_instances(apps_id, services_id, versions_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances', options) command.response_representation = Google::Apis::AppengineV1::ListInstancesResponse::Representation command.response_class = Google::Apis::AppengineV1::ListInstancesResponse 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['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Enables debugging on a VM instance. This allows you to use the SSH command to - # connect to the virtual machine where the instance lives. While in "debug mode", - # the instance continues to serve live traffic. You should delete the instance - # when you are done debugging and then allow the system to take over and - # determine if another instance should be started.Only applicable for instances - # in App Engine flexible environment. - # @param [String] apps_id - # Part of `name`. Name of the resource requested. Example: apps/myapp/services/ - # default/versions/v1/instances/instance-1. - # @param [String] services_id - # Part of `name`. See documentation of `appsId`. - # @param [String] versions_id - # Part of `name`. See documentation of `appsId`. - # @param [String] instances_id - # Part of `name`. See documentation of `appsId`. - # @param [Google::Apis::AppengineV1::DebugInstanceRequest] debug_instance_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::AppengineV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::AppengineV1::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 debug_instance(apps_id, services_id, versions_id, instances_id, debug_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug', options) - command.request_representation = Google::Apis::AppengineV1::DebugInstanceRequest::Representation - command.request_object = debug_instance_request_object - command.response_representation = Google::Apis::AppengineV1::Operation::Representation - command.response_class = Google::Apis::AppengineV1::Operation - 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.params['instancesId'] = instances_id unless instances_id.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) diff --git a/generated/google/apis/appsactivity_v1.rb b/generated/google/apis/appsactivity_v1.rb index 1b1ba3fae..5f74a9572 100644 --- a/generated/google/apis/appsactivity_v1.rb +++ b/generated/google/apis/appsactivity_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/google-apps/activity/ module AppsactivityV1 VERSION = 'V1' - REVISION = '20170619' + REVISION = '20170215' # View the activity history of your Google apps AUTH_ACTIVITY = 'https://www.googleapis.com/auth/activity' diff --git a/generated/google/apis/appstate_v1.rb b/generated/google/apis/appstate_v1.rb index 956682a20..9ff73d385 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 = '20170710' + REVISION = '20170420' # View and manage your data for this application AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate' diff --git a/generated/google/apis/bigquery_v2.rb b/generated/google/apis/bigquery_v2.rb index f50c2919a..86a7b0c92 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 = '20170622' + REVISION = '20170806' # 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 3cf1abfce..93656820e 100644 --- a/generated/google/apis/bigquery_v2/classes.rb +++ b/generated/google/apis/bigquery_v2/classes.rb @@ -598,6 +598,16 @@ module Google class ExplainQueryStage include Google::Apis::Core::Hashable + # Milliseconds the average shard spent on CPU-bound tasks. + # Corresponds to the JSON property `computeMsAvg` + # @return [Fixnum] + attr_accessor :compute_ms_avg + + # Milliseconds the slowest shard spent on CPU-bound tasks. + # Corresponds to the JSON property `computeMsMax` + # @return [Fixnum] + attr_accessor :compute_ms_max + # Relative amount of time the average shard spent on CPU-bound tasks. # Corresponds to the JSON property `computeRatioAvg` # @return [Float] @@ -618,6 +628,16 @@ module Google # @return [String] attr_accessor :name + # Milliseconds the average shard spent reading input. + # Corresponds to the JSON property `readMsAvg` + # @return [Fixnum] + attr_accessor :read_ms_avg + + # Milliseconds the slowest shard spent reading input. + # Corresponds to the JSON property `readMsMax` + # @return [Fixnum] + attr_accessor :read_ms_max + # Relative amount of time the average shard spent reading input. # Corresponds to the JSON property `readRatioAvg` # @return [Float] @@ -638,6 +658,16 @@ module Google # @return [Fixnum] attr_accessor :records_written + # Total number of bytes written to shuffle. + # Corresponds to the JSON property `shuffleOutputBytes` + # @return [Fixnum] + attr_accessor :shuffle_output_bytes + + # Total number of bytes written to shuffle and spilled to disk. + # Corresponds to the JSON property `shuffleOutputBytesSpilled` + # @return [Fixnum] + attr_accessor :shuffle_output_bytes_spilled + # Current status for the stage. # Corresponds to the JSON property `status` # @return [String] @@ -649,6 +679,16 @@ module Google # @return [Array] attr_accessor :steps + # Milliseconds the average shard spent waiting to be scheduled. + # Corresponds to the JSON property `waitMsAvg` + # @return [Fixnum] + attr_accessor :wait_ms_avg + + # Milliseconds the slowest shard spent waiting to be scheduled. + # Corresponds to the JSON property `waitMsMax` + # @return [Fixnum] + attr_accessor :wait_ms_max + # Relative amount of time the average shard spent waiting to be scheduled. # Corresponds to the JSON property `waitRatioAvg` # @return [Float] @@ -659,6 +699,16 @@ module Google # @return [Float] attr_accessor :wait_ratio_max + # Milliseconds the average shard spent on writing output. + # Corresponds to the JSON property `writeMsAvg` + # @return [Fixnum] + attr_accessor :write_ms_avg + + # Milliseconds the slowest shard spent on writing output. + # Corresponds to the JSON property `writeMsMax` + # @return [Fixnum] + attr_accessor :write_ms_max + # Relative amount of time the average shard spent on writing output. # Corresponds to the JSON property `writeRatioAvg` # @return [Float] @@ -675,18 +725,28 @@ module Google # Update properties of this object def update!(**args) + @compute_ms_avg = args[:compute_ms_avg] if args.key?(:compute_ms_avg) + @compute_ms_max = args[:compute_ms_max] if args.key?(:compute_ms_max) @compute_ratio_avg = args[:compute_ratio_avg] if args.key?(:compute_ratio_avg) @compute_ratio_max = args[:compute_ratio_max] if args.key?(:compute_ratio_max) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) + @read_ms_avg = args[:read_ms_avg] if args.key?(:read_ms_avg) + @read_ms_max = args[:read_ms_max] if args.key?(:read_ms_max) @read_ratio_avg = args[:read_ratio_avg] if args.key?(:read_ratio_avg) @read_ratio_max = args[:read_ratio_max] if args.key?(:read_ratio_max) @records_read = args[:records_read] if args.key?(:records_read) @records_written = args[:records_written] if args.key?(:records_written) + @shuffle_output_bytes = args[:shuffle_output_bytes] if args.key?(:shuffle_output_bytes) + @shuffle_output_bytes_spilled = args[:shuffle_output_bytes_spilled] if args.key?(:shuffle_output_bytes_spilled) @status = args[:status] if args.key?(:status) @steps = args[:steps] if args.key?(:steps) + @wait_ms_avg = args[:wait_ms_avg] if args.key?(:wait_ms_avg) + @wait_ms_max = args[:wait_ms_max] if args.key?(:wait_ms_max) @wait_ratio_avg = args[:wait_ratio_avg] if args.key?(:wait_ratio_avg) @wait_ratio_max = args[:wait_ratio_max] if args.key?(:wait_ratio_max) + @write_ms_avg = args[:write_ms_avg] if args.key?(:write_ms_avg) + @write_ms_max = args[:write_ms_max] if args.key?(:write_ms_max) @write_ratio_avg = args[:write_ratio_avg] if args.key?(:write_ratio_avg) @write_ratio_max = args[:write_ratio_max] if args.key?(:write_ratio_max) end @@ -795,8 +855,7 @@ module Google # apply to external data sources. For Google Cloud Bigtable URIs: Exactly one # URI can be specified and it has be a fully specified and valid HTTPS URL for a # Google Cloud Bigtable table. For Google Cloud Datastore backups, exactly one - # URI can be specified, and it must end with '.backup_info'. Also, the '*' - # wildcard character is not allowed. + # URI can be specified. Also, the '*' wildcard character is not allowed. # Corresponds to the JSON property `sourceUris` # @return [Array] attr_accessor :source_uris @@ -1294,9 +1353,10 @@ module Google attr_accessor :schema_inline_format # [Experimental] Allows the schema of the desitination table to be updated as a - # side effect of the load job. Schema update options are supported in two cases: - # when writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE - # and the destination table is a partition of a table, specified by partition + # side effect of the load job if a schema is autodetected or supplied in the job + # configuration. Schema update options are supported in two cases: when + # writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and + # the destination table is a partition of a table, specified by partition # decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema. # One or more of the following values are specified: ALLOW_FIELD_ADDITION: # allow adding a nullable field to the schema. ALLOW_FIELD_RELAXATION: allow @@ -1320,13 +1380,23 @@ module Google # @return [String] attr_accessor :source_format - # [Required] The fully-qualified URIs that point to your data in Google Cloud - # Storage. Each URI can contain one '*' wildcard character and it must come - # after the 'bucket' name. + # [Required] The fully-qualified URIs that point to your data in Google Cloud. + # For Google Cloud Storage URIs: Each URI can contain one '*' wildcard character + # and it must come after the 'bucket' name. Size limits related to load jobs + # apply to external data sources. For Google Cloud Bigtable URIs: Exactly one + # URI can be specified and it has be a fully specified and valid HTTPS URL for a + # Google Cloud Bigtable table. For Google Cloud Datastore backups: Exactly one + # URI can be specified. Also, the '*' wildcard character is not allowed. # Corresponds to the JSON property `sourceUris` # @return [Array] attr_accessor :source_uris + # [Experimental] If specified, configures time-based partitioning for the + # destination table. + # Corresponds to the JSON property `timePartitioning` + # @return [Google::Apis::BigqueryV2::TimePartitioning] + attr_accessor :time_partitioning + # [Optional] Specifies the action that occurs if the destination table already # exists. The following values are supported: WRITE_TRUNCATE: If the table # already exists, BigQuery overwrites the table data. WRITE_APPEND: If the table @@ -1364,6 +1434,7 @@ module Google @skip_leading_rows = args[:skip_leading_rows] if args.key?(:skip_leading_rows) @source_format = args[:source_format] if args.key?(:source_format) @source_uris = args[:source_uris] if args.key?(:source_uris) + @time_partitioning = args[:time_partitioning] if args.key?(:time_partitioning) @write_disposition = args[:write_disposition] if args.key?(:write_disposition) end end @@ -1478,11 +1549,17 @@ module Google # @return [Hash] attr_accessor :table_definitions + # [Experimental] If specified, configures time-based partitioning for the + # destination table. + # Corresponds to the JSON property `timePartitioning` + # @return [Google::Apis::BigqueryV2::TimePartitioning] + attr_accessor :time_partitioning + # 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 standard # SQL: https://cloud.google.com/bigquery/sql-reference/ When useLegacySql is set - # to false, the values of allowLargeResults and flattenResults are ignored; - # query will be run as if allowLargeResults is true and flattenResults is false. + # to false, the value of flattenResults is ignored; query will be run as if + # flattenResults is false. # Corresponds to the JSON property `useLegacySql` # @return [Boolean] attr_accessor :use_legacy_sql @@ -1504,12 +1581,13 @@ module Google # [Optional] Specifies the action that occurs if the destination table already # exists. The following values are supported: WRITE_TRUNCATE: If the table - # already exists, BigQuery overwrites the table data. WRITE_APPEND: If the table - # already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the - # table already exists and contains data, a 'duplicate' error is returned in the - # job result. The default value is WRITE_EMPTY. Each action is atomic and only - # occurs if BigQuery is able to complete the job successfully. Creation, - # truncation and append actions occur as one atomic update upon job completion. + # already exists, BigQuery overwrites the table data and uses the schema from + # the query result. WRITE_APPEND: If the table already exists, BigQuery appends + # the data to the table. WRITE_EMPTY: If the table already exists and contains + # data, a 'duplicate' error is returned in the job result. The default value is + # WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is able to + # complete the job successfully. Creation, truncation and append actions occur + # as one atomic update upon job completion. # Corresponds to the JSON property `writeDisposition` # @return [String] attr_accessor :write_disposition @@ -1534,6 +1612,7 @@ module Google @query_parameters = args[:query_parameters] if args.key?(:query_parameters) @schema_update_options = args[:schema_update_options] if args.key?(:schema_update_options) @table_definitions = args[:table_definitions] if args.key?(:table_definitions) + @time_partitioning = args[:time_partitioning] if args.key?(:time_partitioning) @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) @@ -1871,6 +1950,14 @@ module Google class JobStatistics3 include Google::Apis::Core::Hashable + # [Output-only] The number of bad records encountered. Note that if the job has + # failed because of more bad records encountered than the maximum allowed in the + # load job configuration, then this number can be less than the total number of + # bad records present in the input data. + # Corresponds to the JSON property `badRecords` + # @return [Fixnum] + attr_accessor :bad_records + # [Output-only] Number of bytes of source data in a load job. # Corresponds to the JSON property `inputFileBytes` # @return [Fixnum] @@ -1899,6 +1986,7 @@ module Google # Update properties of this object def update!(**args) + @bad_records = args[:bad_records] if args.key?(:bad_records) @input_file_bytes = args[:input_file_bytes] if args.key?(:input_file_bytes) @input_files = args[:input_files] if args.key?(:input_files) @output_bytes = args[:output_bytes] if args.key?(:output_bytes) @@ -2265,8 +2353,8 @@ module Google # 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 standard # SQL: https://cloud.google.com/bigquery/sql-reference/ When useLegacySql is set - # to false, the values of allowLargeResults and flattenResults are ignored; - # query will be run as if allowLargeResults is true and flattenResults is false. + # to false, the value of flattenResults is ignored; query will be run as if + # flattenResults is false. # Corresponds to the JSON property `useLegacySql` # @return [Boolean] attr_accessor :use_legacy_sql diff --git a/generated/google/apis/bigquery_v2/representations.rb b/generated/google/apis/bigquery_v2/representations.rb index 88a434c89..fdf94f67c 100644 --- a/generated/google/apis/bigquery_v2/representations.rb +++ b/generated/google/apis/bigquery_v2/representations.rb @@ -488,19 +488,29 @@ module Google class ExplainQueryStage # @private class Representation < Google::Apis::Core::JsonRepresentation + property :compute_ms_avg, :numeric_string => true, as: 'computeMsAvg' + property :compute_ms_max, :numeric_string => true, as: 'computeMsMax' property :compute_ratio_avg, as: 'computeRatioAvg' property :compute_ratio_max, as: 'computeRatioMax' property :id, :numeric_string => true, as: 'id' property :name, as: 'name' + property :read_ms_avg, :numeric_string => true, as: 'readMsAvg' + property :read_ms_max, :numeric_string => true, as: 'readMsMax' property :read_ratio_avg, as: 'readRatioAvg' property :read_ratio_max, as: 'readRatioMax' property :records_read, :numeric_string => true, as: 'recordsRead' property :records_written, :numeric_string => true, as: 'recordsWritten' + property :shuffle_output_bytes, :numeric_string => true, as: 'shuffleOutputBytes' + property :shuffle_output_bytes_spilled, :numeric_string => true, as: 'shuffleOutputBytesSpilled' property :status, as: 'status' collection :steps, as: 'steps', class: Google::Apis::BigqueryV2::ExplainQueryStep, decorator: Google::Apis::BigqueryV2::ExplainQueryStep::Representation + property :wait_ms_avg, :numeric_string => true, as: 'waitMsAvg' + property :wait_ms_max, :numeric_string => true, as: 'waitMsMax' property :wait_ratio_avg, as: 'waitRatioAvg' property :wait_ratio_max, as: 'waitRatioMax' + property :write_ms_avg, :numeric_string => true, as: 'writeMsAvg' + property :write_ms_max, :numeric_string => true, as: 'writeMsMax' property :write_ratio_avg, as: 'writeRatioAvg' property :write_ratio_max, as: 'writeRatioMax' end @@ -645,6 +655,8 @@ module Google property :skip_leading_rows, as: 'skipLeadingRows' property :source_format, as: 'sourceFormat' collection :source_uris, as: 'sourceUris' + property :time_partitioning, as: 'timePartitioning', class: Google::Apis::BigqueryV2::TimePartitioning, decorator: Google::Apis::BigqueryV2::TimePartitioning::Representation + property :write_disposition, as: 'writeDisposition' end end @@ -670,6 +682,8 @@ module Google collection :schema_update_options, as: 'schemaUpdateOptions' hash :table_definitions, as: 'tableDefinitions', class: Google::Apis::BigqueryV2::ExternalDataConfiguration, decorator: Google::Apis::BigqueryV2::ExternalDataConfiguration::Representation + property :time_partitioning, as: 'timePartitioning', class: Google::Apis::BigqueryV2::TimePartitioning, decorator: Google::Apis::BigqueryV2::TimePartitioning::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 @@ -770,6 +784,7 @@ module Google class JobStatistics3 # @private class Representation < Google::Apis::Core::JsonRepresentation + property :bad_records, :numeric_string => true, as: 'badRecords' property :input_file_bytes, :numeric_string => true, as: 'inputFileBytes' property :input_files, :numeric_string => true, as: 'inputFiles' property :output_bytes, :numeric_string => true, as: 'outputBytes' diff --git a/generated/google/apis/bigquerydatatransfer_v1.rb b/generated/google/apis/bigquerydatatransfer_v1.rb new file mode 100644 index 000000000..553aec8c1 --- /dev/null +++ b/generated/google/apis/bigquerydatatransfer_v1.rb @@ -0,0 +1,41 @@ +# 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/bigquerydatatransfer_v1/service.rb' +require 'google/apis/bigquerydatatransfer_v1/classes.rb' +require 'google/apis/bigquerydatatransfer_v1/representations.rb' + +module Google + module Apis + # BigQuery Data Transfer Service API + # + # Transfers data from partner SaaS applications to Google BigQuery on a + # scheduled, managed basis. + # + # @see https://cloud.google.com/bigquery/ + module BigquerydatatransferV1 + VERSION = 'V1' + REVISION = '20170806' + + # View and manage your data in Google BigQuery + AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' + + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + + # View your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' + end + end +end diff --git a/generated/google/apis/bigquerydatatransfer_v1/classes.rb b/generated/google/apis/bigquerydatatransfer_v1/classes.rb new file mode 100644 index 000000000..dd40381a9 --- /dev/null +++ b/generated/google/apis/bigquerydatatransfer_v1/classes.rb @@ -0,0 +1,886 @@ +# 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 BigquerydatatransferV1 + + # A request to determine whether the user has valid credentials. This method + # is used to limit the number of OAuth popups in the user interface. The + # user id is inferred from the API call context. + # If the data source has the Google+ authorization type, this method + # returns false, as it cannot be determined whether the credentials are + # already valid merely based on the user id. + class CheckValidCredsRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A response indicating whether the credentials exist and are valid. + class CheckValidCredsResponse + include Google::Apis::Core::Hashable + + # If set to `true`, the credentials exist and are valid. + # Corresponds to the JSON property `hasValidCreds` + # @return [Boolean] + attr_accessor :has_valid_creds + alias_method :has_valid_creds?, :has_valid_creds + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @has_valid_creds = args[:has_valid_creds] if args.key?(:has_valid_creds) + end + end + + # Represents data source metadata. Metadata is sufficient to + # render UI and request proper OAuth tokens. + class DataSource + include Google::Apis::Core::Hashable + + # Indicates the type of authorization. + # Corresponds to the JSON property `authorizationType` + # @return [String] + attr_accessor :authorization_type + + # Data source client id which should be used to receive refresh token. + # When not supplied, no offline credentials are populated for data transfer. + # Corresponds to the JSON property `clientId` + # @return [String] + attr_accessor :client_id + + # Specifies whether the data source supports automatic data refresh for the + # past few days, and how it's supported. + # For some data sources, data might not be complete until a few days later, + # so it's useful to refresh data automatically. + # Corresponds to the JSON property `dataRefreshType` + # @return [String] + attr_accessor :data_refresh_type + + # Data source id. + # Corresponds to the JSON property `dataSourceId` + # @return [String] + attr_accessor :data_source_id + + # Default data refresh window on days. + # Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`. + # Corresponds to the JSON property `defaultDataRefreshWindowDays` + # @return [Fixnum] + attr_accessor :default_data_refresh_window_days + + # Default data transfer schedule. + # Examples of valid schedules include: + # `1st,3rd monday of month 15:30`, + # `every wed,fri of jan,jun 13:15`, and + # `first sunday of quarter 00:00`. + # Corresponds to the JSON property `defaultSchedule` + # @return [String] + attr_accessor :default_schedule + + # User friendly data source description string. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # User friendly data source name. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Url for the help document for this data source. + # Corresponds to the JSON property `helpUrl` + # @return [String] + attr_accessor :help_url + + # Disables backfilling and manual run scheduling + # for the data source. + # Corresponds to the JSON property `manualRunsDisabled` + # @return [Boolean] + attr_accessor :manual_runs_disabled + alias_method :manual_runs_disabled?, :manual_runs_disabled + + # Data source resource name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Data source parameters. + # Corresponds to the JSON property `parameters` + # @return [Array] + attr_accessor :parameters + + # Api auth scopes for which refresh token needs to be obtained. Only valid + # when `client_id` is specified. Ignored otherwise. These are scopes needed + # by a data source to prepare data and ingest them into BigQuery, + # e.g., https://www.googleapis.com/auth/bigquery + # Corresponds to the JSON property `scopes` + # @return [Array] + attr_accessor :scopes + + # The number of seconds to wait for a status update from the data source + # before BigQuery marks the transfer as failed. + # Corresponds to the JSON property `statusUpdateDeadlineSeconds` + # @return [Fixnum] + attr_accessor :status_update_deadline_seconds + + # Specifies whether the data source supports a user defined schedule, or + # operates on the default schedule. + # When set to `true`, user can override default schedule. + # Corresponds to the JSON property `supportsCustomSchedule` + # @return [Boolean] + attr_accessor :supports_custom_schedule + alias_method :supports_custom_schedule?, :supports_custom_schedule + + # Indicates whether the data source supports multiple transfers + # to different BigQuery targets. + # Corresponds to the JSON property `supportsMultipleTransfers` + # @return [Boolean] + attr_accessor :supports_multiple_transfers + alias_method :supports_multiple_transfers?, :supports_multiple_transfers + + # Transfer type. Currently supports only batch transfers, + # which are transfers that use the BigQuery batch APIs (load or + # query) to ingest the data. + # Corresponds to the JSON property `transferType` + # @return [String] + attr_accessor :transfer_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @authorization_type = args[:authorization_type] if args.key?(:authorization_type) + @client_id = args[:client_id] if args.key?(:client_id) + @data_refresh_type = args[:data_refresh_type] if args.key?(:data_refresh_type) + @data_source_id = args[:data_source_id] if args.key?(:data_source_id) + @default_data_refresh_window_days = args[:default_data_refresh_window_days] if args.key?(:default_data_refresh_window_days) + @default_schedule = args[:default_schedule] if args.key?(:default_schedule) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @help_url = args[:help_url] if args.key?(:help_url) + @manual_runs_disabled = args[:manual_runs_disabled] if args.key?(:manual_runs_disabled) + @name = args[:name] if args.key?(:name) + @parameters = args[:parameters] if args.key?(:parameters) + @scopes = args[:scopes] if args.key?(:scopes) + @status_update_deadline_seconds = args[:status_update_deadline_seconds] if args.key?(:status_update_deadline_seconds) + @supports_custom_schedule = args[:supports_custom_schedule] if args.key?(:supports_custom_schedule) + @supports_multiple_transfers = args[:supports_multiple_transfers] if args.key?(:supports_multiple_transfers) + @transfer_type = args[:transfer_type] if args.key?(:transfer_type) + end + end + + # Represents a data source parameter with validation rules, so that + # parameters can be rendered in the UI. These parameters are given to us by + # supported data sources, and include all needed information for rendering + # and validation. + # Thus, whoever uses this api can decide to generate either generic ui, + # or custom data source specific forms. + class DataSourceParameter + include Google::Apis::Core::Hashable + + # All possible values for the parameter. + # Corresponds to the JSON property `allowedValues` + # @return [Array] + attr_accessor :allowed_values + + # Parameter description. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Parameter display name in the user interface. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # When parameter is a record, describes child fields. + # Corresponds to the JSON property `fields` + # @return [Array] + attr_accessor :fields + + # Cannot be changed after initial creation. + # Corresponds to the JSON property `immutable` + # @return [Boolean] + attr_accessor :immutable + alias_method :immutable?, :immutable + + # For integer and double values specifies maxminum allowed value. + # Corresponds to the JSON property `maxValue` + # @return [Float] + attr_accessor :max_value + + # For integer and double values specifies minimum allowed value. + # Corresponds to the JSON property `minValue` + # @return [Float] + attr_accessor :min_value + + # Parameter identifier. + # Corresponds to the JSON property `paramId` + # @return [String] + attr_accessor :param_id + + # If set to true, schema should be taken from the parent with the same + # parameter_id. Only applicable when parameter type is RECORD. + # Corresponds to the JSON property `recurse` + # @return [Boolean] + attr_accessor :recurse + alias_method :recurse?, :recurse + + # Can parameter have multiple values. + # Corresponds to the JSON property `repeated` + # @return [Boolean] + attr_accessor :repeated + alias_method :repeated?, :repeated + + # Is parameter required. + # Corresponds to the JSON property `required` + # @return [Boolean] + attr_accessor :required + alias_method :required?, :required + + # Parameter type. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # Description of the requirements for this field, in case the user input does + # not fulfill the regex pattern or min/max values. + # Corresponds to the JSON property `validationDescription` + # @return [String] + attr_accessor :validation_description + + # URL to a help document to further explain the naming requirements. + # Corresponds to the JSON property `validationHelpUrl` + # @return [String] + attr_accessor :validation_help_url + + # Regular expression which can be used for parameter validation. + # Corresponds to the JSON property `validationRegex` + # @return [String] + attr_accessor :validation_regex + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @allowed_values = args[:allowed_values] if args.key?(:allowed_values) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @fields = args[:fields] if args.key?(:fields) + @immutable = args[:immutable] if args.key?(:immutable) + @max_value = args[:max_value] if args.key?(:max_value) + @min_value = args[:min_value] if args.key?(:min_value) + @param_id = args[:param_id] if args.key?(:param_id) + @recurse = args[:recurse] if args.key?(:recurse) + @repeated = args[:repeated] if args.key?(:repeated) + @required = args[:required] if args.key?(:required) + @type = args[:type] if args.key?(:type) + @validation_description = args[:validation_description] if args.key?(:validation_description) + @validation_help_url = args[:validation_help_url] if args.key?(:validation_help_url) + @validation_regex = args[:validation_regex] if args.key?(:validation_regex) + 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 + + # A request to determine whether data transfer is enabled for the project. + class IsEnabledRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A response to indicate whether data transfer is enabled for the project. + class IsEnabledResponse + include Google::Apis::Core::Hashable + + # Indicates whether the project is enabled. + # Corresponds to the JSON property `enabled` + # @return [Boolean] + attr_accessor :enabled + alias_method :enabled?, :enabled + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enabled = args[:enabled] if args.key?(:enabled) + end + end + + # Returns list of supported data sources and their metadata. + class ListDataSourcesResponse + include Google::Apis::Core::Hashable + + # List of supported data sources and their transfer settings. + # Corresponds to the JSON property `dataSources` + # @return [Array] + attr_accessor :data_sources + + # The next-pagination token. For multiple-page list results, + # this token can be used as the + # `ListDataSourcesRequest.page_token` + # to request the next page of list results. + # @OutputOnly + # 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) + @data_sources = args[:data_sources] if args.key?(:data_sources) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The response message for Locations.ListLocations. + class ListLocationsResponse + include Google::Apis::Core::Hashable + + # A list of locations that matches the specified filter in the request. + # Corresponds to the JSON property `locations` + # @return [Array] + attr_accessor :locations + + # 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) + @locations = args[:locations] if args.key?(:locations) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The returned list of pipelines in the project. + class ListTransferConfigsResponse + include Google::Apis::Core::Hashable + + # The next-pagination token. For multiple-page list results, + # this token can be used as the + # `ListTransferConfigsRequest.page_token` + # to request the next page of list results. + # @OutputOnly + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The stored pipeline transfer configurations. + # @OutputOnly + # Corresponds to the JSON property `transferConfigs` + # @return [Array] + attr_accessor :transfer_configs + + 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) + @transfer_configs = args[:transfer_configs] if args.key?(:transfer_configs) + end + end + + # The returned list transfer run messages. + class ListTransferLogsResponse + include Google::Apis::Core::Hashable + + # The next-pagination token. For multiple-page list results, + # this token can be used as the + # `GetTransferRunLogRequest.page_token` + # to request the next page of list results. + # @OutputOnly + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The stored pipeline transfer messages. + # @OutputOnly + # Corresponds to the JSON property `transferMessages` + # @return [Array] + attr_accessor :transfer_messages + + 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) + @transfer_messages = args[:transfer_messages] if args.key?(:transfer_messages) + end + end + + # The returned list of pipelines in the project. + class ListTransferRunsResponse + include Google::Apis::Core::Hashable + + # The next-pagination token. For multiple-page list results, + # this token can be used as the + # `ListTransferRunsRequest.page_token` + # to request the next page of list results. + # @OutputOnly + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The stored pipeline transfer runs. + # @OutputOnly + # Corresponds to the JSON property `transferRuns` + # @return [Array] + attr_accessor :transfer_runs + + 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) + @transfer_runs = args[:transfer_runs] if args.key?(:transfer_runs) + end + end + + # A resource that represents Google Cloud Platform location. + class Location + include Google::Apis::Core::Hashable + + # Cross-service attributes for the location. For example + # `"cloud.googleapis.com/region": "us-east1"` + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # The canonical id for this location. For example: `"us-east1"`. + # Corresponds to the JSON property `locationId` + # @return [String] + attr_accessor :location_id + + # Service-specific metadata. For example the available capacity at the given + # location. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # Resource name for the location, which may vary between implementations. + # For example: `"projects/example-project/locations/us-east1"` + # 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) + @labels = args[:labels] if args.key?(:labels) + @location_id = args[:location_id] if args.key?(:location_id) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + end + end + + # A request to schedule transfer runs for a time range. + class ScheduleTransferRunsRequest + include Google::Apis::Core::Hashable + + # End time of the range of transfer runs. + # Corresponds to the JSON property `rangeEndTime` + # @return [String] + attr_accessor :range_end_time + + # Start time of the range of transfer runs. + # Corresponds to the JSON property `rangeStartTime` + # @return [String] + attr_accessor :range_start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @range_end_time = args[:range_end_time] if args.key?(:range_end_time) + @range_start_time = args[:range_start_time] if args.key?(:range_start_time) + end + end + + # A response to schedule transfer runs for a time range. + class ScheduleTransferRunsResponse + include Google::Apis::Core::Hashable + + # The transfer runs that were created. + # Corresponds to the JSON property `createdRuns` + # @return [Array] + attr_accessor :created_runs + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @created_runs = args[:created_runs] if args.key?(:created_runs) + end + end + + # A request to set whether data transfer is enabled or disabled for a project. + class SetEnabledRequest + include Google::Apis::Core::Hashable + + # Whether data transfer should be enabled or disabled for the project. + # Corresponds to the JSON property `enabled` + # @return [Boolean] + attr_accessor :enabled + alias_method :enabled?, :enabled + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enabled = args[:enabled] if args.key?(:enabled) + end + end + + # Represents a data transfer configuration. A transfer configuration + # contains all metadata needed to perform a data transfer. For example, + # `destination_dataset_id` specifies where data should be stored. + # When a new transfer configuration is created, the specified + # `destination_dataset_id` is created when needed and shared with the + # appropriate data source service account. + class TransferConfig + include Google::Apis::Core::Hashable + + # The number of days to look back to automatically refresh the data. + # For example, if `data_refresh_window_days = 10`, then every day + # BigQuery reingests data for [today-10, today-1], rather than ingesting data + # for just [today-1]. + # Only valid if the data source supports the feature. Set the value to 0 + # to use the default value. + # Corresponds to the JSON property `dataRefreshWindowDays` + # @return [Fixnum] + attr_accessor :data_refresh_window_days + + # Data source id. Cannot be changed once data transfer is created. + # Corresponds to the JSON property `dataSourceId` + # @return [String] + attr_accessor :data_source_id + + # Region in which BigQuery dataset is located. Currently possible values are: + # "US" and "EU". + # @OutputOnly + # Corresponds to the JSON property `datasetRegion` + # @return [String] + attr_accessor :dataset_region + + # The BigQuery target dataset id. + # Corresponds to the JSON property `destinationDatasetId` + # @return [String] + attr_accessor :destination_dataset_id + + # Is this config disabled. When set to true, no runs are scheduled + # for a given transfer. + # Corresponds to the JSON property `disabled` + # @return [Boolean] + attr_accessor :disabled + alias_method :disabled?, :disabled + + # User specified display name for the data transfer. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The resource name of the transfer run. + # Transfer run names have the form + # `projects/`project_id`/transferConfigs/`config_id``. + # Where `config_id` is usually a uuid, even though it is not + # guaranteed or required. The name is ignored when creating a transfer run. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Next time when data transfer will run. Output only. Applicable + # only for batch data transfers. + # @OutputOnly + # Corresponds to the JSON property `nextRunTime` + # @return [String] + attr_accessor :next_run_time + + # Data transfer specific parameters. + # Corresponds to the JSON property `params` + # @return [Hash] + attr_accessor :params + + # Data transfer schedule. + # If the data source does not support a custom schedule, this should be + # empty. If it is empty, the default value for the data source will be + # used. + # The specified times are in UTC. + # Examples of valid format: + # `1st,3rd monday of month 15:30`, + # `every wed,fri of jan,jun 13:15`, and + # `first sunday of quarter 00:00`. + # See more explanation about the format here: + # https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with- + # cron-yaml#the_schedule_format + # NOTE: the granularity should be at least 8 hours, or less frequent. + # Corresponds to the JSON property `schedule` + # @return [String] + attr_accessor :schedule + + # Status of the most recently updated transfer run. + # @OutputOnly + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # Data transfer modification time. Ignored by server on input. + # @OutputOnly + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + # GaiaID of the user on whose behalf transfer is done. Applicable only + # to data sources that do not support service accounts. When set to 0, + # the data source service account credentials are used. + # @OutputOnly + # Corresponds to the JSON property `userId` + # @return [Fixnum] + attr_accessor :user_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_refresh_window_days = args[:data_refresh_window_days] if args.key?(:data_refresh_window_days) + @data_source_id = args[:data_source_id] if args.key?(:data_source_id) + @dataset_region = args[:dataset_region] if args.key?(:dataset_region) + @destination_dataset_id = args[:destination_dataset_id] if args.key?(:destination_dataset_id) + @disabled = args[:disabled] if args.key?(:disabled) + @display_name = args[:display_name] if args.key?(:display_name) + @name = args[:name] if args.key?(:name) + @next_run_time = args[:next_run_time] if args.key?(:next_run_time) + @params = args[:params] if args.key?(:params) + @schedule = args[:schedule] if args.key?(:schedule) + @status = args[:status] if args.key?(:status) + @update_time = args[:update_time] if args.key?(:update_time) + @user_id = args[:user_id] if args.key?(:user_id) + end + end + + # Represents a user facing message for a particular data transfer run. + class TransferMessage + include Google::Apis::Core::Hashable + + # Message text. + # Corresponds to the JSON property `messageText` + # @return [String] + attr_accessor :message_text + + # Time when message was logged. + # Corresponds to the JSON property `messageTime` + # @return [String] + attr_accessor :message_time + + # Message severity. + # Corresponds to the JSON property `severity` + # @return [String] + attr_accessor :severity + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @message_text = args[:message_text] if args.key?(:message_text) + @message_time = args[:message_time] if args.key?(:message_time) + @severity = args[:severity] if args.key?(:severity) + end + end + + # Represents a data transfer run. + class TransferRun + include Google::Apis::Core::Hashable + + # Data source id. + # @OutputOnly + # Corresponds to the JSON property `dataSourceId` + # @return [String] + attr_accessor :data_source_id + + # Region in which BigQuery dataset is located. Currently possible values are: + # "US" and "EU". + # @OutputOnly + # Corresponds to the JSON property `datasetRegion` + # @return [String] + attr_accessor :dataset_region + + # The BigQuery target dataset id. + # Corresponds to the JSON property `destinationDatasetId` + # @return [String] + attr_accessor :destination_dataset_id + + # Time when transfer run ended. Parameter ignored by server for input + # requests. + # @OutputOnly + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # The resource name of the transfer run. + # Transfer run names have the form + # `projects/`project_id`/locations/`location`/transferConfigs/`config_id`/runs/` + # run_id``. + # The name is ignored when creating a transfer run. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Data transfer specific parameters. + # Corresponds to the JSON property `params` + # @return [Hash] + attr_accessor :params + + # For batch transfer runs, specifies the date and time that + # data should be ingested. + # Corresponds to the JSON property `runTime` + # @return [String] + attr_accessor :run_time + + # Describes the schedule of this transfer run if it was created as part of + # a regular schedule. For batch transfer runs that are directly created, + # this is empty. + # NOTE: the system might choose to delay the schedule depending on the + # current load, so `schedule_time` doesn't always matches this. + # @OutputOnly + # Corresponds to the JSON property `schedule` + # @return [String] + attr_accessor :schedule + + # Minimum time after which a transfer run can be started. + # Corresponds to the JSON property `scheduleTime` + # @return [String] + attr_accessor :schedule_time + + # Time when transfer run was started. Parameter ignored by server for input + # requests. + # @OutputOnly + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Data transfer run status. Ignored for input requests. + # @OutputOnly + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # Last time the data transfer run status was updated. + # @OutputOnly + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + # The user id for this transfer run. + # @OutputOnly + # Corresponds to the JSON property `userId` + # @return [Fixnum] + attr_accessor :user_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_source_id = args[:data_source_id] if args.key?(:data_source_id) + @dataset_region = args[:dataset_region] if args.key?(:dataset_region) + @destination_dataset_id = args[:destination_dataset_id] if args.key?(:destination_dataset_id) + @end_time = args[:end_time] if args.key?(:end_time) + @name = args[:name] if args.key?(:name) + @params = args[:params] if args.key?(:params) + @run_time = args[:run_time] if args.key?(:run_time) + @schedule = args[:schedule] if args.key?(:schedule) + @schedule_time = args[:schedule_time] if args.key?(:schedule_time) + @start_time = args[:start_time] if args.key?(:start_time) + @status = args[:status] if args.key?(:status) + @update_time = args[:update_time] if args.key?(:update_time) + @user_id = args[:user_id] if args.key?(:user_id) + end + end + end + end +end diff --git a/generated/google/apis/bigquerydatatransfer_v1/representations.rb b/generated/google/apis/bigquerydatatransfer_v1/representations.rb new file mode 100644 index 000000000..dc61f6acd --- /dev/null +++ b/generated/google/apis/bigquerydatatransfer_v1/representations.rb @@ -0,0 +1,343 @@ +# 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 BigquerydatatransferV1 + + class CheckValidCredsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CheckValidCredsResponse + 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 DataSourceParameter + 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 IsEnabledRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class IsEnabledResponse + 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 ListLocationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListTransferConfigsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListTransferLogsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListTransferRunsResponse + 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 ScheduleTransferRunsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ScheduleTransferRunsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetEnabledRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TransferConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TransferMessage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TransferRun + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CheckValidCredsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class CheckValidCredsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :has_valid_creds, as: 'hasValidCreds' + end + end + + class DataSource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :authorization_type, as: 'authorizationType' + property :client_id, as: 'clientId' + property :data_refresh_type, as: 'dataRefreshType' + property :data_source_id, as: 'dataSourceId' + property :default_data_refresh_window_days, as: 'defaultDataRefreshWindowDays' + property :default_schedule, as: 'defaultSchedule' + property :description, as: 'description' + property :display_name, as: 'displayName' + property :help_url, as: 'helpUrl' + property :manual_runs_disabled, as: 'manualRunsDisabled' + property :name, as: 'name' + collection :parameters, as: 'parameters', class: Google::Apis::BigquerydatatransferV1::DataSourceParameter, decorator: Google::Apis::BigquerydatatransferV1::DataSourceParameter::Representation + + collection :scopes, as: 'scopes' + property :status_update_deadline_seconds, as: 'statusUpdateDeadlineSeconds' + property :supports_custom_schedule, as: 'supportsCustomSchedule' + property :supports_multiple_transfers, as: 'supportsMultipleTransfers' + property :transfer_type, as: 'transferType' + end + end + + class DataSourceParameter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :allowed_values, as: 'allowedValues' + property :description, as: 'description' + property :display_name, as: 'displayName' + collection :fields, as: 'fields', class: Google::Apis::BigquerydatatransferV1::DataSourceParameter, decorator: Google::Apis::BigquerydatatransferV1::DataSourceParameter::Representation + + property :immutable, as: 'immutable' + property :max_value, as: 'maxValue' + property :min_value, as: 'minValue' + property :param_id, as: 'paramId' + property :recurse, as: 'recurse' + property :repeated, as: 'repeated' + property :required, as: 'required' + property :type, as: 'type' + property :validation_description, as: 'validationDescription' + property :validation_help_url, as: 'validationHelpUrl' + property :validation_regex, as: 'validationRegex' + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class IsEnabledRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class IsEnabledResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :enabled, as: 'enabled' + end + end + + class ListDataSourcesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :data_sources, as: 'dataSources', class: Google::Apis::BigquerydatatransferV1::DataSource, decorator: Google::Apis::BigquerydatatransferV1::DataSource::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListLocationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :locations, as: 'locations', class: Google::Apis::BigquerydatatransferV1::Location, decorator: Google::Apis::BigquerydatatransferV1::Location::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListTransferConfigsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :transfer_configs, as: 'transferConfigs', class: Google::Apis::BigquerydatatransferV1::TransferConfig, decorator: Google::Apis::BigquerydatatransferV1::TransferConfig::Representation + + end + end + + class ListTransferLogsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :transfer_messages, as: 'transferMessages', class: Google::Apis::BigquerydatatransferV1::TransferMessage, decorator: Google::Apis::BigquerydatatransferV1::TransferMessage::Representation + + end + end + + class ListTransferRunsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :transfer_runs, as: 'transferRuns', class: Google::Apis::BigquerydatatransferV1::TransferRun, decorator: Google::Apis::BigquerydatatransferV1::TransferRun::Representation + + end + end + + class Location + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :labels, as: 'labels' + property :location_id, as: 'locationId' + hash :metadata, as: 'metadata' + property :name, as: 'name' + end + end + + class ScheduleTransferRunsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :range_end_time, as: 'rangeEndTime' + property :range_start_time, as: 'rangeStartTime' + end + end + + class ScheduleTransferRunsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :created_runs, as: 'createdRuns', class: Google::Apis::BigquerydatatransferV1::TransferRun, decorator: Google::Apis::BigquerydatatransferV1::TransferRun::Representation + + end + end + + class SetEnabledRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :enabled, as: 'enabled' + end + end + + class TransferConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_refresh_window_days, as: 'dataRefreshWindowDays' + property :data_source_id, as: 'dataSourceId' + property :dataset_region, as: 'datasetRegion' + property :destination_dataset_id, as: 'destinationDatasetId' + property :disabled, as: 'disabled' + property :display_name, as: 'displayName' + property :name, as: 'name' + property :next_run_time, as: 'nextRunTime' + hash :params, as: 'params' + property :schedule, as: 'schedule' + property :status, as: 'status' + property :update_time, as: 'updateTime' + property :user_id, :numeric_string => true, as: 'userId' + end + end + + class TransferMessage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :message_text, as: 'messageText' + property :message_time, as: 'messageTime' + property :severity, as: 'severity' + end + end + + class TransferRun + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_source_id, as: 'dataSourceId' + property :dataset_region, as: 'datasetRegion' + property :destination_dataset_id, as: 'destinationDatasetId' + property :end_time, as: 'endTime' + property :name, as: 'name' + hash :params, as: 'params' + property :run_time, as: 'runTime' + property :schedule, as: 'schedule' + property :schedule_time, as: 'scheduleTime' + property :start_time, as: 'startTime' + property :status, as: 'status' + property :update_time, as: 'updateTime' + property :user_id, :numeric_string => true, as: 'userId' + end + end + end + end +end diff --git a/generated/google/apis/bigquerydatatransfer_v1/service.rb b/generated/google/apis/bigquerydatatransfer_v1/service.rb new file mode 100644 index 000000000..a7d3e54cc --- /dev/null +++ b/generated/google/apis/bigquerydatatransfer_v1/service.rb @@ -0,0 +1,1317 @@ +# 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 BigquerydatatransferV1 + # BigQuery Data Transfer Service API + # + # Transfers data from partner SaaS applications to Google BigQuery on a + # scheduled, managed basis. + # + # @example + # require 'google/apis/bigquerydatatransfer_v1' + # + # Bigquerydatatransfer = Google::Apis::BigquerydatatransferV1 # Alias the module + # service = Bigquerydatatransfer::BigQueryDataTransferService.new + # + # @see https://cloud.google.com/bigquery/ + class BigQueryDataTransferService < 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://bigquerydatatransfer.googleapis.com/', '') + @batch_path = 'batch' + end + + # Returns true if data transfer is enabled for a project. + # @param [String] name + # The name of the project resource in the form: + # `projects/`project_id`` + # @param [Google::Apis::BigquerydatatransferV1::IsEnabledRequest] is_enabled_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::BigquerydatatransferV1::IsEnabledResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::IsEnabledResponse] + # + # @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 is_project_enabled(name, is_enabled_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:isEnabled', options) + command.request_representation = Google::Apis::BigquerydatatransferV1::IsEnabledRequest::Representation + command.request_object = is_enabled_request_object + command.response_representation = Google::Apis::BigquerydatatransferV1::IsEnabledResponse::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::IsEnabledResponse + 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 + + # Enables or disables data transfer for a project. This + # method requires the additional scope of + # 'https://www.googleapis.com/auth/cloudplatformprojects' + # to manage the cloud project permissions. + # @param [String] name + # The name of the project resource in the form: + # `projects/`project_id`` + # @param [Google::Apis::BigquerydatatransferV1::SetEnabledRequest] set_enabled_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::BigquerydatatransferV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::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 set_project_enabled(name, set_enabled_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:setEnabled', options) + command.request_representation = Google::Apis::BigquerydatatransferV1::SetEnabledRequest::Representation + command.request_object = set_enabled_request_object + command.response_representation = Google::Apis::BigquerydatatransferV1::Empty::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::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 + + # Returns true if valid credentials exist for the given data source and + # requesting user. + # @param [String] name + # The data source in the form: + # `projects/`project_id`/dataSources/`data_source_id`` + # @param [Google::Apis::BigquerydatatransferV1::CheckValidCredsRequest] check_valid_creds_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::BigquerydatatransferV1::CheckValidCredsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::CheckValidCredsResponse] + # + # @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 check_project_data_source_valid_creds(name, check_valid_creds_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:checkValidCreds', options) + command.request_representation = Google::Apis::BigquerydatatransferV1::CheckValidCredsRequest::Representation + command.request_object = check_valid_creds_request_object + command.response_representation = Google::Apis::BigquerydatatransferV1::CheckValidCredsResponse::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::CheckValidCredsResponse + 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 + + # Retrieves a supported data source and returns its settings, + # which can be used for UI rendering. + # @param [String] name + # The field will contain name of the resource requested, for example: + # `projects/`project_id`/dataSources/`data_source_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::BigquerydatatransferV1::DataSource] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::DataSource] + # + # @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_project_data_source(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::BigquerydatatransferV1::DataSource::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::DataSource + 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 supported data sources and returns their settings, + # which can be used for UI rendering. + # @param [String] parent + # The BigQuery project id for which data sources should be returned. + # Must be in the form: `projects/`project_id`` + # @param [Fixnum] page_size + # Page size. The default page size is the maximum value of 1000 results. + # @param [String] page_token + # Pagination token, which can be used to request a specific page + # of `ListDataSourcesRequest` list results. For multiple-page + # results, `ListDataSourcesResponse` outputs + # a `next_page` token, which can be used as the + # `page_token` value to request the next page of list 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::BigquerydatatransferV1::ListDataSourcesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::ListDataSourcesResponse] + # + # @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_project_data_sources(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/dataSources', options) + command.response_representation = Google::Apis::BigquerydatatransferV1::ListDataSourcesResponse::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::ListDataSourcesResponse + command.params['parent'] = parent unless parent.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 + + # Get information about a location. + # @param [String] name + # Resource name for the location. + # @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::BigquerydatatransferV1::Location] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::Location] + # + # @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_project_location(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::BigquerydatatransferV1::Location::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::Location + 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 + + # Returns true if data transfer is enabled for a project. + # @param [String] name + # The name of the project resource in the form: + # `projects/`project_id`` + # @param [Google::Apis::BigquerydatatransferV1::IsEnabledRequest] is_enabled_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::BigquerydatatransferV1::IsEnabledResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::IsEnabledResponse] + # + # @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 is_location_enabled(name, is_enabled_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:isEnabled', options) + command.request_representation = Google::Apis::BigquerydatatransferV1::IsEnabledRequest::Representation + command.request_object = is_enabled_request_object + command.response_representation = Google::Apis::BigquerydatatransferV1::IsEnabledResponse::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::IsEnabledResponse + 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 information about the supported locations for this service. + # @param [String] name + # The resource that owns the locations collection, if applicable. + # @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::BigquerydatatransferV1::ListLocationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::ListLocationsResponse] + # + # @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_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}/locations', options) + command.response_representation = Google::Apis::BigquerydatatransferV1::ListLocationsResponse::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::ListLocationsResponse + 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 + + # Enables or disables data transfer for a project. This + # method requires the additional scope of + # 'https://www.googleapis.com/auth/cloudplatformprojects' + # to manage the cloud project permissions. + # @param [String] name + # The name of the project resource in the form: + # `projects/`project_id`` + # @param [Google::Apis::BigquerydatatransferV1::SetEnabledRequest] set_enabled_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::BigquerydatatransferV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::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 set_location_enabled(name, set_enabled_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:setEnabled', options) + command.request_representation = Google::Apis::BigquerydatatransferV1::SetEnabledRequest::Representation + command.request_object = set_enabled_request_object + command.response_representation = Google::Apis::BigquerydatatransferV1::Empty::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::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 + + # Returns true if valid credentials exist for the given data source and + # requesting user. + # @param [String] name + # The data source in the form: + # `projects/`project_id`/dataSources/`data_source_id`` + # @param [Google::Apis::BigquerydatatransferV1::CheckValidCredsRequest] check_valid_creds_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::BigquerydatatransferV1::CheckValidCredsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::CheckValidCredsResponse] + # + # @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 check_project_location_data_source_valid_creds(name, check_valid_creds_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:checkValidCreds', options) + command.request_representation = Google::Apis::BigquerydatatransferV1::CheckValidCredsRequest::Representation + command.request_object = check_valid_creds_request_object + command.response_representation = Google::Apis::BigquerydatatransferV1::CheckValidCredsResponse::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::CheckValidCredsResponse + 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 + + # Retrieves a supported data source and returns its settings, + # which can be used for UI rendering. + # @param [String] name + # The field will contain name of the resource requested, for example: + # `projects/`project_id`/dataSources/`data_source_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::BigquerydatatransferV1::DataSource] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::DataSource] + # + # @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_project_location_data_source(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::BigquerydatatransferV1::DataSource::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::DataSource + 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 supported data sources and returns their settings, + # which can be used for UI rendering. + # @param [String] parent + # The BigQuery project id for which data sources should be returned. + # Must be in the form: `projects/`project_id`` + # @param [Fixnum] page_size + # Page size. The default page size is the maximum value of 1000 results. + # @param [String] page_token + # Pagination token, which can be used to request a specific page + # of `ListDataSourcesRequest` list results. For multiple-page + # results, `ListDataSourcesResponse` outputs + # a `next_page` token, which can be used as the + # `page_token` value to request the next page of list 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::BigquerydatatransferV1::ListDataSourcesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::ListDataSourcesResponse] + # + # @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_project_location_data_sources(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/dataSources', options) + command.response_representation = Google::Apis::BigquerydatatransferV1::ListDataSourcesResponse::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::ListDataSourcesResponse + command.params['parent'] = parent unless parent.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 + + # Creates a new data transfer configuration. + # @param [String] parent + # The BigQuery project id where the transfer configuration should be created. + # Must be in the format /projects/`project_id`/locations/`location_id` + # or + # /projects/`project_id`/locations/- + # In case when '-' is specified as location_id, location is infered from + # the destination dataset region. + # @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object + # @param [String] authorization_code + # Optional OAuth2 authorization code to use with this transfer configuration. + # This is required if new credentials are needed, as indicated by + # `CheckValidCreds`. + # In order to obtain authorization_code, please make a + # request to + # https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=< + # datatransferapiclientid>&scope=&redirect_uri= + # * client_id should be OAuth client_id of BigQuery DTS API for the given + # data source returned by ListDataSources method. + # * data_source_scopes are the scopes returned by ListDataSources method. + # * redirect_uri is an optional parameter. If not specified, then + # authorization code is posted to the opener of authorization flow window. + # Otherwise it will be sent to the redirect uri. A special value of + # urn:ietf:wg:oauth:2.0:oob means that authorization code should be + # returned in the title bar of the browser, with the page text prompting + # the user to copy the code and paste it in the application. + # @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::BigquerydatatransferV1::TransferConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::TransferConfig] + # + # @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_project_location_transfer_config(parent, transfer_config_object = nil, authorization_code: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/transferConfigs', options) + command.request_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation + command.request_object = transfer_config_object + command.response_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::TransferConfig + command.params['parent'] = parent unless parent.nil? + command.query['authorizationCode'] = authorization_code unless authorization_code.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 data transfer configuration, + # including any associated transfer runs and logs. + # @param [String] name + # The field will contain name of the resource requested, for example: + # `projects/`project_id`/transferConfigs/`config_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::BigquerydatatransferV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::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_project_location_transfer_config(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::BigquerydatatransferV1::Empty::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::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 + + # Returns information about a data transfer config. + # @param [String] name + # The field will contain name of the resource requested, for example: + # `projects/`project_id`/transferConfigs/`config_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::BigquerydatatransferV1::TransferConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::TransferConfig] + # + # @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_project_location_transfer_config(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::TransferConfig + 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 + + # Returns information about all data transfers in the project. + # @param [String] parent + # The BigQuery project id for which data sources + # should be returned: `projects/`project_id``. + # @param [Array, String] data_source_ids + # When specified, only configurations of requested data sources are returned. + # @param [Fixnum] page_size + # Page size. The default page size is the maximum value of 1000 results. + # @param [String] page_token + # Pagination token, which can be used to request a specific page + # of `ListTransfersRequest` list results. For multiple-page + # results, `ListTransfersResponse` outputs + # a `next_page` token, which can be used as the + # `page_token` value to request the next page of list 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::BigquerydatatransferV1::ListTransferConfigsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::ListTransferConfigsResponse] + # + # @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_project_location_transfer_configs(parent, data_source_ids: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/transferConfigs', options) + command.response_representation = Google::Apis::BigquerydatatransferV1::ListTransferConfigsResponse::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::ListTransferConfigsResponse + command.params['parent'] = parent unless parent.nil? + command.query['dataSourceIds'] = data_source_ids unless data_source_ids.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 + + # Updates a data transfer configuration. + # All fields must be set, even if they are not updated. + # @param [String] name + # The resource name of the transfer run. + # Transfer run names have the form + # `projects/`project_id`/transferConfigs/`config_id``. + # Where `config_id` is usually a uuid, even though it is not + # guaranteed or required. The name is ignored when creating a transfer run. + # @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object + # @param [String] authorization_code + # Optional OAuth2 authorization code to use with this transfer configuration. + # If it is provided, the transfer configuration will be associated with the + # gaia id of the authorizing user. + # In order to obtain authorization_code, please make a + # request to + # https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=< + # datatransferapiclientid>&scope=&redirect_uri= + # * client_id should be OAuth client_id of BigQuery DTS API for the given + # data source returned by ListDataSources method. + # * data_source_scopes are the scopes returned by ListDataSources method. + # * redirect_uri is an optional parameter. If not specified, then + # authorization code is posted to the opener of authorization flow window. + # Otherwise it will be sent to the redirect uri. A special value of + # urn:ietf:wg:oauth:2.0:oob means that authorization code should be + # returned in the title bar of the browser, with the page text prompting + # the user to copy the code and paste it in the application. + # @param [String] update_mask + # Required list of fields to be updated in this request. + # @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::BigquerydatatransferV1::TransferConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::TransferConfig] + # + # @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_project_location_transfer_config(name, transfer_config_object = nil, authorization_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/{+name}', options) + command.request_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation + command.request_object = transfer_config_object + command.response_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::TransferConfig + command.params['name'] = name unless name.nil? + command.query['authorizationCode'] = authorization_code unless authorization_code.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 + + # Creates transfer runs for a time range [range_start_time, range_end_time]. + # For each date - or whatever granularity the data source supports - in the + # range, one transfer run is created. + # Note that runs are created per UTC time in the time range. + # @param [String] parent + # Transfer configuration name in the form: + # `projects/`project_id`/transferConfigs/`config_id``. + # @param [Google::Apis::BigquerydatatransferV1::ScheduleTransferRunsRequest] schedule_transfer_runs_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::BigquerydatatransferV1::ScheduleTransferRunsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::ScheduleTransferRunsResponse] + # + # @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 schedule_project_location_transfer_config_runs(parent, schedule_transfer_runs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}:scheduleRuns', options) + command.request_representation = Google::Apis::BigquerydatatransferV1::ScheduleTransferRunsRequest::Representation + command.request_object = schedule_transfer_runs_request_object + command.response_representation = Google::Apis::BigquerydatatransferV1::ScheduleTransferRunsResponse::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::ScheduleTransferRunsResponse + command.params['parent'] = parent unless parent.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 specified transfer run. + # @param [String] name + # The field will contain name of the resource requested, for example: + # `projects/`project_id`/transferConfigs/`config_id`/runs/`run_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::BigquerydatatransferV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::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_project_location_transfer_config_run(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::BigquerydatatransferV1::Empty::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::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 + + # Returns information about the particular transfer run. + # @param [String] name + # The field will contain name of the resource requested, for example: + # `projects/`project_id`/transferConfigs/`config_id`/runs/`run_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::BigquerydatatransferV1::TransferRun] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::TransferRun] + # + # @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_project_location_transfer_config_run(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::BigquerydatatransferV1::TransferRun::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::TransferRun + 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 + + # Returns information about running and completed jobs. + # @param [String] parent + # Name of transfer configuration for which transfer runs should be retrieved. + # Format of transfer configuration resource name is: + # `projects/`project_id`/transferConfigs/`config_id``. + # @param [Fixnum] page_size + # Page size. The default page size is the maximum value of 1000 results. + # @param [String] page_token + # Pagination token, which can be used to request a specific page + # of `ListTransferRunsRequest` list results. For multiple-page + # results, `ListTransferRunsResponse` outputs + # a `next_page` token, which can be used as the + # `page_token` value to request the next page of list results. + # @param [String] run_attempt + # Indicates how run attempts are to be pulled. + # @param [Array, String] statuses + # When specified, only transfer runs with requested statuses are returned. + # @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::BigquerydatatransferV1::ListTransferRunsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::ListTransferRunsResponse] + # + # @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_project_location_transfer_config_runs(parent, page_size: nil, page_token: nil, run_attempt: nil, statuses: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/runs', options) + command.response_representation = Google::Apis::BigquerydatatransferV1::ListTransferRunsResponse::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::ListTransferRunsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['runAttempt'] = run_attempt unless run_attempt.nil? + command.query['statuses'] = statuses unless statuses.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns user facing log messages for the data transfer run. + # @param [String] parent + # Transfer run name in the form: + # `projects/`project_id`/transferConfigs/`config_Id`/runs/`run_id``. + # @param [Array, String] message_types + # Message types to return. If not populated - INFO, WARNING and ERROR + # messages are returned. + # @param [Fixnum] page_size + # Page size. The default page size is the maximum value of 1000 results. + # @param [String] page_token + # Pagination token, which can be used to request a specific page + # of `ListTransferLogsRequest` list results. For multiple-page + # results, `ListTransferLogsResponse` outputs + # a `next_page` token, which can be used as the + # `page_token` value to request the next page of list 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::BigquerydatatransferV1::ListTransferLogsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::ListTransferLogsResponse] + # + # @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_project_location_transfer_config_run_transfer_logs(parent, message_types: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/transferLogs', options) + command.response_representation = Google::Apis::BigquerydatatransferV1::ListTransferLogsResponse::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::ListTransferLogsResponse + command.params['parent'] = parent unless parent.nil? + command.query['messageTypes'] = message_types unless message_types.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 + + # Creates a new data transfer configuration. + # @param [String] parent + # The BigQuery project id where the transfer configuration should be created. + # Must be in the format /projects/`project_id`/locations/`location_id` + # or + # /projects/`project_id`/locations/- + # In case when '-' is specified as location_id, location is infered from + # the destination dataset region. + # @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object + # @param [String] authorization_code + # Optional OAuth2 authorization code to use with this transfer configuration. + # This is required if new credentials are needed, as indicated by + # `CheckValidCreds`. + # In order to obtain authorization_code, please make a + # request to + # https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=< + # datatransferapiclientid>&scope=&redirect_uri= + # * client_id should be OAuth client_id of BigQuery DTS API for the given + # data source returned by ListDataSources method. + # * data_source_scopes are the scopes returned by ListDataSources method. + # * redirect_uri is an optional parameter. If not specified, then + # authorization code is posted to the opener of authorization flow window. + # Otherwise it will be sent to the redirect uri. A special value of + # urn:ietf:wg:oauth:2.0:oob means that authorization code should be + # returned in the title bar of the browser, with the page text prompting + # the user to copy the code and paste it in the application. + # @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::BigquerydatatransferV1::TransferConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::TransferConfig] + # + # @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_project_transfer_config(parent, transfer_config_object = nil, authorization_code: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/transferConfigs', options) + command.request_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation + command.request_object = transfer_config_object + command.response_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::TransferConfig + command.params['parent'] = parent unless parent.nil? + command.query['authorizationCode'] = authorization_code unless authorization_code.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 data transfer configuration, + # including any associated transfer runs and logs. + # @param [String] name + # The field will contain name of the resource requested, for example: + # `projects/`project_id`/transferConfigs/`config_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::BigquerydatatransferV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::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_project_transfer_config(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::BigquerydatatransferV1::Empty::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::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 + + # Returns information about a data transfer config. + # @param [String] name + # The field will contain name of the resource requested, for example: + # `projects/`project_id`/transferConfigs/`config_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::BigquerydatatransferV1::TransferConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::TransferConfig] + # + # @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_project_transfer_config(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::TransferConfig + 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 + + # Returns information about all data transfers in the project. + # @param [String] parent + # The BigQuery project id for which data sources + # should be returned: `projects/`project_id``. + # @param [Array, String] data_source_ids + # When specified, only configurations of requested data sources are returned. + # @param [Fixnum] page_size + # Page size. The default page size is the maximum value of 1000 results. + # @param [String] page_token + # Pagination token, which can be used to request a specific page + # of `ListTransfersRequest` list results. For multiple-page + # results, `ListTransfersResponse` outputs + # a `next_page` token, which can be used as the + # `page_token` value to request the next page of list 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::BigquerydatatransferV1::ListTransferConfigsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::ListTransferConfigsResponse] + # + # @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_project_transfer_configs(parent, data_source_ids: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/transferConfigs', options) + command.response_representation = Google::Apis::BigquerydatatransferV1::ListTransferConfigsResponse::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::ListTransferConfigsResponse + command.params['parent'] = parent unless parent.nil? + command.query['dataSourceIds'] = data_source_ids unless data_source_ids.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 + + # Updates a data transfer configuration. + # All fields must be set, even if they are not updated. + # @param [String] name + # The resource name of the transfer run. + # Transfer run names have the form + # `projects/`project_id`/transferConfigs/`config_id``. + # Where `config_id` is usually a uuid, even though it is not + # guaranteed or required. The name is ignored when creating a transfer run. + # @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object + # @param [String] authorization_code + # Optional OAuth2 authorization code to use with this transfer configuration. + # If it is provided, the transfer configuration will be associated with the + # gaia id of the authorizing user. + # In order to obtain authorization_code, please make a + # request to + # https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=< + # datatransferapiclientid>&scope=&redirect_uri= + # * client_id should be OAuth client_id of BigQuery DTS API for the given + # data source returned by ListDataSources method. + # * data_source_scopes are the scopes returned by ListDataSources method. + # * redirect_uri is an optional parameter. If not specified, then + # authorization code is posted to the opener of authorization flow window. + # Otherwise it will be sent to the redirect uri. A special value of + # urn:ietf:wg:oauth:2.0:oob means that authorization code should be + # returned in the title bar of the browser, with the page text prompting + # the user to copy the code and paste it in the application. + # @param [String] update_mask + # Required list of fields to be updated in this request. + # @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::BigquerydatatransferV1::TransferConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::TransferConfig] + # + # @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_project_transfer_config(name, transfer_config_object = nil, authorization_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/{+name}', options) + command.request_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation + command.request_object = transfer_config_object + command.response_representation = Google::Apis::BigquerydatatransferV1::TransferConfig::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::TransferConfig + command.params['name'] = name unless name.nil? + command.query['authorizationCode'] = authorization_code unless authorization_code.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 + + # Creates transfer runs for a time range [range_start_time, range_end_time]. + # For each date - or whatever granularity the data source supports - in the + # range, one transfer run is created. + # Note that runs are created per UTC time in the time range. + # @param [String] parent + # Transfer configuration name in the form: + # `projects/`project_id`/transferConfigs/`config_id``. + # @param [Google::Apis::BigquerydatatransferV1::ScheduleTransferRunsRequest] schedule_transfer_runs_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::BigquerydatatransferV1::ScheduleTransferRunsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::ScheduleTransferRunsResponse] + # + # @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 schedule_project_transfer_config_runs(parent, schedule_transfer_runs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}:scheduleRuns', options) + command.request_representation = Google::Apis::BigquerydatatransferV1::ScheduleTransferRunsRequest::Representation + command.request_object = schedule_transfer_runs_request_object + command.response_representation = Google::Apis::BigquerydatatransferV1::ScheduleTransferRunsResponse::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::ScheduleTransferRunsResponse + command.params['parent'] = parent unless parent.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 specified transfer run. + # @param [String] name + # The field will contain name of the resource requested, for example: + # `projects/`project_id`/transferConfigs/`config_id`/runs/`run_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::BigquerydatatransferV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::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_project_transfer_config_run(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::BigquerydatatransferV1::Empty::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::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 + + # Returns information about the particular transfer run. + # @param [String] name + # The field will contain name of the resource requested, for example: + # `projects/`project_id`/transferConfigs/`config_id`/runs/`run_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::BigquerydatatransferV1::TransferRun] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::TransferRun] + # + # @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_project_transfer_config_run(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::BigquerydatatransferV1::TransferRun::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::TransferRun + 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 + + # Returns information about running and completed jobs. + # @param [String] parent + # Name of transfer configuration for which transfer runs should be retrieved. + # Format of transfer configuration resource name is: + # `projects/`project_id`/transferConfigs/`config_id``. + # @param [Fixnum] page_size + # Page size. The default page size is the maximum value of 1000 results. + # @param [String] page_token + # Pagination token, which can be used to request a specific page + # of `ListTransferRunsRequest` list results. For multiple-page + # results, `ListTransferRunsResponse` outputs + # a `next_page` token, which can be used as the + # `page_token` value to request the next page of list results. + # @param [String] run_attempt + # Indicates how run attempts are to be pulled. + # @param [Array, String] statuses + # When specified, only transfer runs with requested statuses are returned. + # @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::BigquerydatatransferV1::ListTransferRunsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::ListTransferRunsResponse] + # + # @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_project_transfer_config_runs(parent, page_size: nil, page_token: nil, run_attempt: nil, statuses: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/runs', options) + command.response_representation = Google::Apis::BigquerydatatransferV1::ListTransferRunsResponse::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::ListTransferRunsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['runAttempt'] = run_attempt unless run_attempt.nil? + command.query['statuses'] = statuses unless statuses.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns user facing log messages for the data transfer run. + # @param [String] parent + # Transfer run name in the form: + # `projects/`project_id`/transferConfigs/`config_Id`/runs/`run_id``. + # @param [Array, String] message_types + # Message types to return. If not populated - INFO, WARNING and ERROR + # messages are returned. + # @param [Fixnum] page_size + # Page size. The default page size is the maximum value of 1000 results. + # @param [String] page_token + # Pagination token, which can be used to request a specific page + # of `ListTransferLogsRequest` list results. For multiple-page + # results, `ListTransferLogsResponse` outputs + # a `next_page` token, which can be used as the + # `page_token` value to request the next page of list 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::BigquerydatatransferV1::ListTransferLogsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BigquerydatatransferV1::ListTransferLogsResponse] + # + # @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_project_transfer_config_run_transfer_logs(parent, message_types: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/transferLogs', options) + command.response_representation = Google::Apis::BigquerydatatransferV1::ListTransferLogsResponse::Representation + command.response_class = Google::Apis::BigquerydatatransferV1::ListTransferLogsResponse + command.params['parent'] = parent unless parent.nil? + command.query['messageTypes'] = message_types unless message_types.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 + + 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/calendar_v3.rb b/generated/google/apis/calendar_v3.rb index 7c135298e..c4cc3a3b8 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 = '20170613' + REVISION = '20170716' # Manage your calendars AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar' diff --git a/generated/google/apis/calendar_v3/classes.rb b/generated/google/apis/calendar_v3/classes.rb index a369b33c7..6b50d4c3f 100644 --- a/generated/google/apis/calendar_v3/classes.rb +++ b/generated/google/apis/calendar_v3/classes.rb @@ -599,74 +599,6 @@ module Google end end - # - class DeepLinkData - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `links` - # @return [Array] - attr_accessor :links - - # - # 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) - @links = args[:links] if args.key?(:links) - @url = args[:url] if args.key?(:url) - end - end - - # - class DisplayInfo - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `appIconUrl` - # @return [String] - attr_accessor :app_icon_url - - # - # Corresponds to the JSON property `appShortTitle` - # @return [String] - attr_accessor :app_short_title - - # - # Corresponds to the JSON property `appTitle` - # @return [String] - attr_accessor :app_title - - # - # Corresponds to the JSON property `linkShortTitle` - # @return [String] - attr_accessor :link_short_title - - # - # Corresponds to the JSON property `linkTitle` - # @return [String] - attr_accessor :link_title - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @app_icon_url = args[:app_icon_url] if args.key?(:app_icon_url) - @app_short_title = args[:app_short_title] if args.key?(:app_short_title) - @app_title = args[:app_title] if args.key?(:app_title) - @link_short_title = args[:link_short_title] if args.key?(:link_short_title) - @link_title = args[:link_title] if args.key?(:link_title) - end - end - # class Error include Google::Apis::Core::Hashable @@ -937,8 +869,10 @@ module Google attr_accessor :summary # Whether the event blocks time on the calendar. Optional. Possible values are: - # - "opaque" - The event blocks time on the calendar. This is the default value. - # - "transparent" - The event does not block time on the calendar. + # - "opaque" - Default value. The event does block time on the calendar. This is + # equivalent to setting Show me as to Busy in the Calendar UI. + # - "transparent" - The event does not block time on the calendar. This is + # equivalent to setting Show me as to Available in the Calendar UI. # Corresponds to the JSON property `transparency` # @return [String] attr_accessor :transparency @@ -1407,31 +1341,6 @@ module Google end end - # - class EventHabitInstance - include Google::Apis::Core::Hashable - - # Metadata specific to this instance. - # Corresponds to the JSON property `data` - # @return [Google::Apis::CalendarV3::HabitInstanceData] - attr_accessor :data - - # Id of the habit this instance belongs to. - # Corresponds to the JSON property `parentId` - # @return [String] - attr_accessor :parent_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @data = args[:data] if args.key?(:data) - @parent_id = args[:parent_id] if args.key?(:parent_id) - end - end - # class EventReminder include Google::Apis::Core::Hashable @@ -1720,118 +1629,6 @@ module Google end end - # - class HabitInstanceData - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - # - # Corresponds to the JSON property `statusInferred` - # @return [Boolean] - attr_accessor :status_inferred - alias_method :status_inferred?, :status_inferred - - # - # 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) - @status = args[:status] if args.key?(:status) - @status_inferred = args[:status_inferred] if args.key?(:status_inferred) - @type = args[:type] if args.key?(:type) - end - end - - # - class LaunchInfo - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `appId` - # @return [String] - attr_accessor :app_id - - # - # Corresponds to the JSON property `installUrl` - # @return [String] - attr_accessor :install_url - - # - # Corresponds to the JSON property `intentAction` - # @return [String] - attr_accessor :intent_action - - # - # Corresponds to the JSON property `uri` - # @return [String] - attr_accessor :uri - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @app_id = args[:app_id] if args.key?(:app_id) - @install_url = args[:install_url] if args.key?(:install_url) - @intent_action = args[:intent_action] if args.key?(:intent_action) - @uri = args[:uri] if args.key?(:uri) - end - end - - # - class Link - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `applinkingSource` - # @return [String] - attr_accessor :applinking_source - - # - # Corresponds to the JSON property `displayInfo` - # @return [Google::Apis::CalendarV3::DisplayInfo] - attr_accessor :display_info - - # - # Corresponds to the JSON property `launchInfo` - # @return [Google::Apis::CalendarV3::LaunchInfo] - attr_accessor :launch_info - - # - # Corresponds to the JSON property `platform` - # @return [String] - attr_accessor :platform - - # - # 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) - @applinking_source = args[:applinking_source] if args.key?(:applinking_source) - @display_info = args[:display_info] if args.key?(:display_info) - @launch_info = args[:launch_info] if args.key?(:launch_info) - @platform = args[:platform] if args.key?(:platform) - @url = args[:url] if args.key?(:url) - end - end - # class Setting include Google::Apis::Core::Hashable diff --git a/generated/google/apis/calendar_v3/representations.rb b/generated/google/apis/calendar_v3/representations.rb index 092381e90..dae8dbfd2 100644 --- a/generated/google/apis/calendar_v3/representations.rb +++ b/generated/google/apis/calendar_v3/representations.rb @@ -88,18 +88,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class DeepLinkData - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DisplayInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Error class Representation < Google::Apis::Core::JsonRepresentation; end @@ -166,12 +154,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class EventHabitInstance - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class EventReminder class Representation < Google::Apis::Core::JsonRepresentation; end @@ -214,24 +196,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class HabitInstanceData - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LaunchInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Link - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Setting class Representation < Google::Apis::Core::JsonRepresentation; end @@ -386,26 +350,6 @@ module Google end end - class DeepLinkData - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :links, as: 'links', class: Google::Apis::CalendarV3::Link, decorator: Google::Apis::CalendarV3::Link::Representation - - property :url, as: 'url' - end - end - - class DisplayInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :app_icon_url, as: 'appIconUrl' - property :app_short_title, as: 'appShortTitle' - property :app_title, as: 'appTitle' - property :link_short_title, as: 'linkShortTitle' - property :link_title, as: 'linkTitle' - end - end - class Error # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -567,15 +511,6 @@ module Google end end - class EventHabitInstance - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :data, as: 'data', class: Google::Apis::CalendarV3::HabitInstanceData, decorator: Google::Apis::CalendarV3::HabitInstanceData::Representation - - property :parent_id, as: 'parentId' - end - end - class EventReminder # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -660,38 +595,6 @@ module Google end end - class HabitInstanceData - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :status, as: 'status' - property :status_inferred, as: 'statusInferred' - property :type, as: 'type' - end - end - - class LaunchInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :app_id, as: 'appId' - property :install_url, as: 'installUrl' - property :intent_action, as: 'intentAction' - property :uri, as: 'uri' - end - end - - class Link - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :applinking_source, as: 'applinkingSource' - property :display_info, as: 'displayInfo', class: Google::Apis::CalendarV3::DisplayInfo, decorator: Google::Apis::CalendarV3::DisplayInfo::Representation - - property :launch_info, as: 'launchInfo', class: Google::Apis::CalendarV3::LaunchInfo, decorator: Google::Apis::CalendarV3::LaunchInfo::Representation - - property :platform, as: 'platform' - property :url, as: 'url' - end - end - class Setting # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/calendar_v3/service.rb b/generated/google/apis/calendar_v3/service.rb index f6e896b2f..830788eae 100644 --- a/generated/google/apis/calendar_v3/service.rb +++ b/generated/google/apis/calendar_v3/service.rb @@ -1368,12 +1368,14 @@ module Google # Upper bound (exclusive) for an event's start time to filter by. Optional. The # default is not to filter by start time. Must be an RFC3339 timestamp with # mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00: - # 00Z. Milliseconds may be provided but will be ignored. + # 00Z. Milliseconds may be provided but will be ignored. If timeMin is set, + # timeMax must be greater than timeMin. # @param [DateTime] time_min # Lower bound (inclusive) for an event's end time to filter by. Optional. The # default is not to filter by end time. Must be an RFC3339 timestamp with # mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00: - # 00Z. Milliseconds may be provided but will be ignored. + # 00Z. Milliseconds may be provided but will be ignored. If timeMax is set, + # timeMin must be smaller than timeMax. # @param [String] time_zone # Time zone used in the response. Optional. The default is the time zone of the # calendar. @@ -1726,12 +1728,14 @@ module Google # Upper bound (exclusive) for an event's start time to filter by. Optional. The # default is not to filter by start time. Must be an RFC3339 timestamp with # mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00: - # 00Z. Milliseconds may be provided but will be ignored. + # 00Z. Milliseconds may be provided but will be ignored. If timeMin is set, + # timeMax must be greater than timeMin. # @param [DateTime] time_min # Lower bound (inclusive) for an event's end time to filter by. Optional. The # default is not to filter by end time. Must be an RFC3339 timestamp with # mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00: - # 00Z. Milliseconds may be provided but will be ignored. + # 00Z. Milliseconds may be provided but will be ignored. If timeMax is set, + # timeMin must be smaller than timeMax. # @param [String] time_zone # Time zone used in the response. Optional. The default is the time zone of the # calendar. diff --git a/generated/google/apis/classroom_v1.rb b/generated/google/apis/classroom_v1.rb index 23c314495..1bfca111b 100644 --- a/generated/google/apis/classroom_v1.rb +++ b/generated/google/apis/classroom_v1.rb @@ -25,19 +25,7 @@ module Google # @see https://developers.google.com/classroom/ module ClassroomV1 VERSION = 'V1' - REVISION = '20170710' - - # Manage your course work and view your grades in Google Classroom - AUTH_CLASSROOM_COURSEWORK_ME = 'https://www.googleapis.com/auth/classroom.coursework.me' - - # Manage your Google Classroom class rosters - AUTH_CLASSROOM_ROSTERS = 'https://www.googleapis.com/auth/classroom.rosters' - - # View course work and grades for students in the Google Classroom classes you teach or administer - AUTH_CLASSROOM_STUDENT_SUBMISSIONS_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.student-submissions.students.readonly' - - # View guardians for students in your Google Classroom classes - AUTH_CLASSROOM_GUARDIANLINKS_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly' + REVISION = '20170803' # Manage your Google Classroom classes AUTH_CLASSROOM_COURSES = 'https://www.googleapis.com/auth/classroom.courses' @@ -45,32 +33,44 @@ module Google # View your Google Classroom classes AUTH_CLASSROOM_COURSES_READONLY = 'https://www.googleapis.com/auth/classroom.courses.readonly' - # View your Google Classroom class rosters - AUTH_CLASSROOM_ROSTERS_READONLY = 'https://www.googleapis.com/auth/classroom.rosters.readonly' - - # View the profile photos of people in your classes - AUTH_CLASSROOM_PROFILE_PHOTOS = 'https://www.googleapis.com/auth/classroom.profile.photos' - - # View and manage guardians for students in your Google Classroom classes - AUTH_CLASSROOM_GUARDIANLINKS_STUDENTS = 'https://www.googleapis.com/auth/classroom.guardianlinks.students' - - # View your course work and grades in Google Classroom - AUTH_CLASSROOM_STUDENT_SUBMISSIONS_ME_READONLY = 'https://www.googleapis.com/auth/classroom.student-submissions.me.readonly' - - # View your Google Classroom guardians - AUTH_CLASSROOM_GUARDIANLINKS_ME_READONLY = 'https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly' - - # View course work and grades for students in the Google Classroom classes you teach or administer - AUTH_CLASSROOM_COURSEWORK_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.coursework.students.readonly' - - # Manage course work and grades for students in the Google Classroom classes you teach and view the course work and grades for classes you administer - AUTH_CLASSROOM_COURSEWORK_STUDENTS = 'https://www.googleapis.com/auth/classroom.coursework.students' + # Manage your course work and view your grades in Google Classroom + AUTH_CLASSROOM_COURSEWORK_ME = 'https://www.googleapis.com/auth/classroom.coursework.me' # View your course work and grades in Google Classroom AUTH_CLASSROOM_COURSEWORK_ME_READONLY = 'https://www.googleapis.com/auth/classroom.coursework.me.readonly' + # Manage course work and grades for students in the Google Classroom classes you teach and view the course work and grades for classes you administer + AUTH_CLASSROOM_COURSEWORK_STUDENTS = 'https://www.googleapis.com/auth/classroom.coursework.students' + + # View course work and grades for students in the Google Classroom classes you teach or administer + AUTH_CLASSROOM_COURSEWORK_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.coursework.students.readonly' + + # View your Google Classroom guardians + AUTH_CLASSROOM_GUARDIANLINKS_ME_READONLY = 'https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly' + + # View and manage guardians for students in your Google Classroom classes + AUTH_CLASSROOM_GUARDIANLINKS_STUDENTS = 'https://www.googleapis.com/auth/classroom.guardianlinks.students' + + # View guardians for students in your Google Classroom classes + AUTH_CLASSROOM_GUARDIANLINKS_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly' + # View the email addresses of people in your classes AUTH_CLASSROOM_PROFILE_EMAILS = 'https://www.googleapis.com/auth/classroom.profile.emails' + + # View the profile photos of people in your classes + AUTH_CLASSROOM_PROFILE_PHOTOS = 'https://www.googleapis.com/auth/classroom.profile.photos' + + # Manage your Google Classroom class rosters + AUTH_CLASSROOM_ROSTERS = 'https://www.googleapis.com/auth/classroom.rosters' + + # View your Google Classroom class rosters + AUTH_CLASSROOM_ROSTERS_READONLY = 'https://www.googleapis.com/auth/classroom.rosters.readonly' + + # View your course work and grades in Google Classroom + AUTH_CLASSROOM_STUDENT_SUBMISSIONS_ME_READONLY = 'https://www.googleapis.com/auth/classroom.student-submissions.me.readonly' + + # View course work and grades for students in the Google Classroom classes you teach or administer + AUTH_CLASSROOM_STUDENT_SUBMISSIONS_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.student-submissions.students.readonly' end end end diff --git a/generated/google/apis/classroom_v1/classes.rb b/generated/google/apis/classroom_v1/classes.rb index 1d21165ee..99b10ea45 100644 --- a/generated/google/apis/classroom_v1/classes.rb +++ b/generated/google/apis/classroom_v1/classes.rb @@ -41,362 +41,6 @@ module Google end end - # Drive file that is used as material for course work. - class SharedDriveFile - include Google::Apis::Core::Hashable - - # Mechanism by which students access the Drive item. - # Corresponds to the JSON property `shareMode` - # @return [String] - attr_accessor :share_mode - - # Representation of a Google Drive file. - # Corresponds to the JSON property `driveFile` - # @return [Google::Apis::ClassroomV1::DriveFile] - attr_accessor :drive_file - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @share_mode = args[:share_mode] if args.key?(:share_mode) - @drive_file = args[:drive_file] if args.key?(:drive_file) - 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 - - # Additional details for multiple-choice questions. - class MultipleChoiceQuestion - include Google::Apis::Core::Hashable - - # Possible choices. - # Corresponds to the JSON property `choices` - # @return [Array] - attr_accessor :choices - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @choices = args[:choices] if args.key?(:choices) - end - end - - # A Course in Classroom. - class Course - include Google::Apis::Core::Hashable - - # Time of the most recent update to this course. - # Specifying this field in a course update mask results in an error. - # Read-only. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time - - # The Calendar ID for a calendar that all course members can see, to which - # Classroom adds events for course work and announcements in the course. - # Read-only. - # Corresponds to the JSON property `calendarId` - # @return [String] - attr_accessor :calendar_id - - # Absolute link to this course in the Classroom web UI. - # Read-only. - # Corresponds to the JSON property `alternateLink` - # @return [String] - attr_accessor :alternate_link - - # Whether or not guardian notifications are enabled for this course. - # Read-only. - # Corresponds to the JSON property `guardiansEnabled` - # @return [Boolean] - attr_accessor :guardians_enabled - alias_method :guardians_enabled?, :guardians_enabled - - # The identifier of the owner of a course. - # When specified as a parameter of a - # create course request, this - # field is required. - # The identifier can be one of the following: - # * the numeric identifier for the user - # * the email address of the user - # * the string literal `"me"`, indicating the requesting user - # This must be set in a create request. Specifying this field in a course - # update mask results in an `INVALID_ARGUMENT` error. - # Corresponds to the JSON property `ownerId` - # @return [String] - attr_accessor :owner_id - - # State of the course. - # If unspecified, the default state is `PROVISIONED`. - # Corresponds to the JSON property `courseState` - # @return [String] - attr_accessor :course_state - - # Optional description. - # For example, "We'll be learning about the structure of living - # creatures from a combination of textbooks, guest lectures, and lab work. - # Expect to be excited!" - # If set, this field must be a valid UTF-8 string and no longer than 30,000 - # characters. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # The email address of a Google group containing all teachers of the course. - # This group does not accept email and can only be used for permissions. - # Read-only. - # Corresponds to the JSON property `teacherGroupEmail` - # @return [String] - attr_accessor :teacher_group_email - - # Creation time of the course. - # Specifying this field in a course update mask results in an error. - # Read-only. - # Corresponds to the JSON property `creationTime` - # @return [String] - attr_accessor :creation_time - - # Representation of a Google Drive folder. - # Corresponds to the JSON property `teacherFolder` - # @return [Google::Apis::ClassroomV1::DriveFolder] - attr_accessor :teacher_folder - - # Name of the course. - # For example, "10th Grade Biology". - # The name is required. It must be between 1 and 750 characters and a valid - # UTF-8 string. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Section of the course. - # For example, "Period 2". - # If set, this field must be a valid UTF-8 string and no longer than 2800 - # characters. - # Corresponds to the JSON property `section` - # @return [String] - attr_accessor :section - - # Identifier for this course assigned by Classroom. - # When - # creating a course, - # you may optionally set this identifier to an - # alias string in the - # request to create a corresponding alias. The `id` is still assigned by - # Classroom and cannot be updated after the course is created. - # Specifying this field in a course update mask results in an error. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Optional room location. - # For example, "301". - # If set, this field must be a valid UTF-8 string and no longer than 650 - # characters. - # Corresponds to the JSON property `room` - # @return [String] - attr_accessor :room - - # The email address of a Google group containing all members of the course. - # This group does not accept email and can only be used for permissions. - # Read-only. - # Corresponds to the JSON property `courseGroupEmail` - # @return [String] - attr_accessor :course_group_email - - # Sets of materials that appear on the "about" page of this course. - # Read-only. - # Corresponds to the JSON property `courseMaterialSets` - # @return [Array] - attr_accessor :course_material_sets - - # Enrollment code to use when joining this course. - # Specifying this field in a course update mask results in an error. - # Read-only. - # Corresponds to the JSON property `enrollmentCode` - # @return [String] - attr_accessor :enrollment_code - - # Optional heading for the description. - # For example, "Welcome to 10th Grade Biology." - # If set, this field must be a valid UTF-8 string and no longer than 3600 - # characters. - # Corresponds to the JSON property `descriptionHeading` - # @return [String] - attr_accessor :description_heading - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @update_time = args[:update_time] if args.key?(:update_time) - @calendar_id = args[:calendar_id] if args.key?(:calendar_id) - @alternate_link = args[:alternate_link] if args.key?(:alternate_link) - @guardians_enabled = args[:guardians_enabled] if args.key?(:guardians_enabled) - @owner_id = args[:owner_id] if args.key?(:owner_id) - @course_state = args[:course_state] if args.key?(:course_state) - @description = args[:description] if args.key?(:description) - @teacher_group_email = args[:teacher_group_email] if args.key?(:teacher_group_email) - @creation_time = args[:creation_time] if args.key?(:creation_time) - @teacher_folder = args[:teacher_folder] if args.key?(:teacher_folder) - @name = args[:name] if args.key?(:name) - @section = args[:section] if args.key?(:section) - @id = args[:id] if args.key?(:id) - @room = args[:room] if args.key?(:room) - @course_group_email = args[:course_group_email] if args.key?(:course_group_email) - @course_material_sets = args[:course_material_sets] if args.key?(:course_material_sets) - @enrollment_code = args[:enrollment_code] if args.key?(:enrollment_code) - @description_heading = args[:description_heading] if args.key?(:description_heading) - end - end - - # Representation of a Google Drive file. - class DriveFile - include Google::Apis::Core::Hashable - - # Drive API resource ID. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Title of the Drive item. - # Read-only. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # URL that can be used to access the Drive item. - # Read-only. - # Corresponds to the JSON property `alternateLink` - # @return [String] - attr_accessor :alternate_link - - # URL of a thumbnail image of the Drive item. - # Read-only. - # Corresponds to the JSON property `thumbnailUrl` - # @return [String] - attr_accessor :thumbnail_url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @title = args[:title] if args.key?(:title) - @alternate_link = args[:alternate_link] if args.key?(:alternate_link) - @thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url) - end - end - - # Request to return a student submission. - class ReturnStudentSubmissionRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Global user permission description. - class GlobalPermission - include Google::Apis::Core::Hashable - - # Permission value. - # Corresponds to the JSON property `permission` - # @return [String] - attr_accessor :permission - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permission = args[:permission] if args.key?(:permission) - end - end - - # Teacher of a course. - class Teacher - include Google::Apis::Core::Hashable - - # Identifier of the course. - # Read-only. - # Corresponds to the JSON property `courseId` - # @return [String] - attr_accessor :course_id - - # Global information for a user. - # Corresponds to the JSON property `profile` - # @return [Google::Apis::ClassroomV1::UserProfile] - attr_accessor :profile - - # Identifier of the user. - # When specified as a parameter of a request, this identifier can be one of - # the following: - # * the numeric identifier for the user - # * the email address of the user - # * the string literal `"me"`, indicating the requesting user - # Corresponds to the JSON property `userId` - # @return [String] - attr_accessor :user_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @course_id = args[:course_id] if args.key?(:course_id) - @profile = args[:profile] if args.key?(:profile) - @user_id = args[:user_id] if args.key?(:user_id) - end - end - - # Request to reclaim a student submission. - class ReclaimStudentSubmissionRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - # Student work for an assignment. class AssignmentSubmission include Google::Apis::Core::Hashable @@ -422,14 +66,14 @@ module Google end end - # Material attached to course work. + # Attachment added to student assignment work. # When creating attachments, setting the `form` field is not supported. - class Material + class Attachment include Google::Apis::Core::Hashable - # Drive file that is used as material for course work. + # Representation of a Google Drive file. # Corresponds to the JSON property `driveFile` - # @return [Google::Apis::ClassroomV1::SharedDriveFile] + # @return [Google::Apis::ClassroomV1::DriveFile] attr_accessor :drive_file # Google Forms item. @@ -443,9 +87,9 @@ module Google attr_accessor :link # YouTube video item. - # Corresponds to the JSON property `youtubeVideo` + # Corresponds to the JSON property `youTubeVideo` # @return [Google::Apis::ClassroomV1::YouTubeVideo] - attr_accessor :youtube_video + attr_accessor :you_tube_video def initialize(**args) update!(**args) @@ -456,7 +100,278 @@ module Google @drive_file = args[:drive_file] if args.key?(:drive_file) @form = args[:form] if args.key?(:form) @link = args[:link] if args.key?(:link) - @youtube_video = args[:youtube_video] if args.key?(:youtube_video) + @you_tube_video = args[:you_tube_video] if args.key?(:you_tube_video) + end + end + + # A Course in Classroom. + class Course + include Google::Apis::Core::Hashable + + # Absolute link to this course in the Classroom web UI. + # Read-only. + # Corresponds to the JSON property `alternateLink` + # @return [String] + attr_accessor :alternate_link + + # The Calendar ID for a calendar that all course members can see, to which + # Classroom adds events for course work and announcements in the course. + # Read-only. + # Corresponds to the JSON property `calendarId` + # @return [String] + attr_accessor :calendar_id + + # The email address of a Google group containing all members of the course. + # This group does not accept email and can only be used for permissions. + # Read-only. + # Corresponds to the JSON property `courseGroupEmail` + # @return [String] + attr_accessor :course_group_email + + # Sets of materials that appear on the "about" page of this course. + # Read-only. + # Corresponds to the JSON property `courseMaterialSets` + # @return [Array] + attr_accessor :course_material_sets + + # State of the course. + # If unspecified, the default state is `PROVISIONED`. + # Corresponds to the JSON property `courseState` + # @return [String] + attr_accessor :course_state + + # Creation time of the course. + # Specifying this field in a course update mask results in an error. + # Read-only. + # Corresponds to the JSON property `creationTime` + # @return [String] + attr_accessor :creation_time + + # Optional description. + # For example, "We'll be learning about the structure of living + # creatures from a combination of textbooks, guest lectures, and lab work. + # Expect to be excited!" + # If set, this field must be a valid UTF-8 string and no longer than 30,000 + # characters. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Optional heading for the description. + # For example, "Welcome to 10th Grade Biology." + # If set, this field must be a valid UTF-8 string and no longer than 3600 + # characters. + # Corresponds to the JSON property `descriptionHeading` + # @return [String] + attr_accessor :description_heading + + # Enrollment code to use when joining this course. + # Specifying this field in a course update mask results in an error. + # Read-only. + # Corresponds to the JSON property `enrollmentCode` + # @return [String] + attr_accessor :enrollment_code + + # Whether or not guardian notifications are enabled for this course. + # Read-only. + # Corresponds to the JSON property `guardiansEnabled` + # @return [Boolean] + attr_accessor :guardians_enabled + alias_method :guardians_enabled?, :guardians_enabled + + # Identifier for this course assigned by Classroom. + # When + # creating a course, + # you may optionally set this identifier to an + # alias string in the + # request to create a corresponding alias. The `id` is still assigned by + # Classroom and cannot be updated after the course is created. + # Specifying this field in a course update mask results in an error. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Name of the course. + # For example, "10th Grade Biology". + # The name is required. It must be between 1 and 750 characters and a valid + # UTF-8 string. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The identifier of the owner of a course. + # When specified as a parameter of a + # create course request, this + # field is required. + # The identifier can be one of the following: + # * the numeric identifier for the user + # * the email address of the user + # * the string literal `"me"`, indicating the requesting user + # This must be set in a create request. Admins can also specify this field + # in a patch course request to + # transfer ownership. In other contexts, it is read-only. + # Corresponds to the JSON property `ownerId` + # @return [String] + attr_accessor :owner_id + + # Optional room location. + # For example, "301". + # If set, this field must be a valid UTF-8 string and no longer than 650 + # characters. + # Corresponds to the JSON property `room` + # @return [String] + attr_accessor :room + + # Section of the course. + # For example, "Period 2". + # If set, this field must be a valid UTF-8 string and no longer than 2800 + # characters. + # Corresponds to the JSON property `section` + # @return [String] + attr_accessor :section + + # Representation of a Google Drive folder. + # Corresponds to the JSON property `teacherFolder` + # @return [Google::Apis::ClassroomV1::DriveFolder] + attr_accessor :teacher_folder + + # The email address of a Google group containing all teachers of the course. + # This group does not accept email and can only be used for permissions. + # Read-only. + # Corresponds to the JSON property `teacherGroupEmail` + # @return [String] + attr_accessor :teacher_group_email + + # Time of the most recent update to this course. + # Specifying this field in a course update mask results in an error. + # Read-only. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alternate_link = args[:alternate_link] if args.key?(:alternate_link) + @calendar_id = args[:calendar_id] if args.key?(:calendar_id) + @course_group_email = args[:course_group_email] if args.key?(:course_group_email) + @course_material_sets = args[:course_material_sets] if args.key?(:course_material_sets) + @course_state = args[:course_state] if args.key?(:course_state) + @creation_time = args[:creation_time] if args.key?(:creation_time) + @description = args[:description] if args.key?(:description) + @description_heading = args[:description_heading] if args.key?(:description_heading) + @enrollment_code = args[:enrollment_code] if args.key?(:enrollment_code) + @guardians_enabled = args[:guardians_enabled] if args.key?(:guardians_enabled) + @id = args[:id] if args.key?(:id) + @name = args[:name] if args.key?(:name) + @owner_id = args[:owner_id] if args.key?(:owner_id) + @room = args[:room] if args.key?(:room) + @section = args[:section] if args.key?(:section) + @teacher_folder = args[:teacher_folder] if args.key?(:teacher_folder) + @teacher_group_email = args[:teacher_group_email] if args.key?(:teacher_group_email) + @update_time = args[:update_time] if args.key?(:update_time) + end + end + + # Alternative identifier for a course. + # An alias uniquely identifies a course. It must be unique within one of the + # following scopes: + # * domain: A domain-scoped alias is visible to all users within the alias + # creator's domain and can be created only by a domain admin. A domain-scoped + # alias is often used when a course has an identifier external to Classroom. + # * project: A project-scoped alias is visible to any request from an + # application using the Developer Console project ID that created the alias + # and can be created by any project. A project-scoped alias is often used when + # an application has alternative identifiers. A random value can also be used + # to avoid duplicate courses in the event of transmission failures, as retrying + # a request will return `ALREADY_EXISTS` if a previous one has succeeded. + class CourseAlias + include Google::Apis::Core::Hashable + + # Alias string. The format of the string indicates the desired alias scoping. + # * `d:` indicates a domain-scoped alias. + # Example: `d:math_101` + # * `p:` indicates a project-scoped alias. + # Example: `p:abc123` + # This field has a maximum length of 256 characters. + # Corresponds to the JSON property `alias` + # @return [String] + attr_accessor :alias + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alias = args[:alias] if args.key?(:alias) + end + end + + # A material attached to a course as part of a material set. + class CourseMaterial + include Google::Apis::Core::Hashable + + # Representation of a Google Drive file. + # Corresponds to the JSON property `driveFile` + # @return [Google::Apis::ClassroomV1::DriveFile] + attr_accessor :drive_file + + # Google Forms item. + # Corresponds to the JSON property `form` + # @return [Google::Apis::ClassroomV1::Form] + attr_accessor :form + + # URL item. + # Corresponds to the JSON property `link` + # @return [Google::Apis::ClassroomV1::Link] + attr_accessor :link + + # YouTube video item. + # Corresponds to the JSON property `youTubeVideo` + # @return [Google::Apis::ClassroomV1::YouTubeVideo] + attr_accessor :you_tube_video + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @drive_file = args[:drive_file] if args.key?(:drive_file) + @form = args[:form] if args.key?(:form) + @link = args[:link] if args.key?(:link) + @you_tube_video = args[:you_tube_video] if args.key?(:you_tube_video) + end + end + + # A set of materials that appears on the "About" page of the course. + # These materials might include a syllabus, schedule, or other background + # information relating to the course as a whole. + class CourseMaterialSet + include Google::Apis::Core::Hashable + + # Materials attached to this set. + # Corresponds to the JSON property `materials` + # @return [Array] + attr_accessor :materials + + # Title for this set. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @materials = args[:materials] if args.key?(:materials) + @title = args[:title] if args.key?(:title) end end @@ -464,6 +379,18 @@ module Google class CourseWork include Google::Apis::Core::Hashable + # Absolute link to this course work in the Classroom web UI. + # This is only populated if `state` is `PUBLISHED`. + # Read-only. + # Corresponds to the JSON property `alternateLink` + # @return [String] + attr_accessor :alternate_link + + # Additional details for assignments. + # Corresponds to the JSON property `assignment` + # @return [Google::Apis::ClassroomV1::Assignment] + attr_accessor :assignment + # Whether this course work item is associated with the Developer Console # project making the request. # See google.classroom.Work.CreateCourseWork for more @@ -474,52 +401,17 @@ module Google attr_accessor :associated_with_developer alias_method :associated_with_developer?, :associated_with_developer - # Additional materials. - # CourseWork must have no more than 20 material items. - # Corresponds to the JSON property `materials` - # @return [Array] - attr_accessor :materials - - # Timestamp of the most recent change to this course work. + # Identifier of the course. # Read-only. - # Corresponds to the JSON property `updateTime` + # Corresponds to the JSON property `courseId` # @return [String] - attr_accessor :update_time + attr_accessor :course_id - # Absolute link to this course work in the Classroom web UI. - # This is only populated if `state` is `PUBLISHED`. + # Timestamp when this course work was created. # Read-only. - # Corresponds to the JSON property `alternateLink` + # Corresponds to the JSON property `creationTime` # @return [String] - attr_accessor :alternate_link - - # Maximum grade for this course work. - # If zero or unspecified, this assignment is considered ungraded. - # This must be a non-negative integer value. - # Corresponds to the JSON property `maxPoints` - # @return [Float] - attr_accessor :max_points - - # Additional details for assignments. - # Corresponds to the JSON property `assignment` - # @return [Google::Apis::ClassroomV1::Assignment] - attr_accessor :assignment - - # Type of this course work. - # The type is set when the course work is created and cannot be changed. - # Corresponds to the JSON property `workType` - # @return [String] - attr_accessor :work_type - - # Additional details for multiple-choice questions. - # Corresponds to the JSON property `multipleChoiceQuestion` - # @return [Google::Apis::ClassroomV1::MultipleChoiceQuestion] - attr_accessor :multiple_choice_question - - # Optional timestamp when this course work is scheduled to be published. - # Corresponds to the JSON property `scheduledTime` - # @return [String] - attr_accessor :scheduled_time + attr_accessor :creation_time # Optional description of this course work. # If set, the description must be a valid UTF-8 string containing no more @@ -528,12 +420,6 @@ module Google # @return [String] attr_accessor :description - # Timestamp when this course work was created. - # Read-only. - # Corresponds to the JSON property `creationTime` - # @return [String] - attr_accessor :creation_time - # Represents a whole calendar date, e.g. 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. The day may be 0 to @@ -545,30 +431,6 @@ module Google # @return [Google::Apis::ClassroomV1::Date] attr_accessor :due_date - # Setting to determine when students are allowed to modify submissions. - # If unspecified, the default value is `MODIFIABLE_UNTIL_TURNED_IN`. - # Corresponds to the JSON property `submissionModificationMode` - # @return [String] - attr_accessor :submission_modification_mode - - # Status of this course work. - # If unspecified, the default state is `DRAFT`. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # Identifier of the course. - # Read-only. - # Corresponds to the JSON property `courseId` - # @return [String] - attr_accessor :course_id - - # Classroom-assigned identifier of this course work, unique per course. - # Read-only. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - # Represents a time of day. The date and time zone are either not significant # or are specified elsewhere. An API may choose to allow leap seconds. Related # types are google.type.Date and `google.protobuf.Timestamp`. @@ -576,6 +438,47 @@ module Google # @return [Google::Apis::ClassroomV1::TimeOfDay] attr_accessor :due_time + # Classroom-assigned identifier of this course work, unique per course. + # Read-only. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Additional materials. + # CourseWork must have no more than 20 material items. + # Corresponds to the JSON property `materials` + # @return [Array] + attr_accessor :materials + + # Maximum grade for this course work. + # If zero or unspecified, this assignment is considered ungraded. + # This must be a non-negative integer value. + # Corresponds to the JSON property `maxPoints` + # @return [Float] + attr_accessor :max_points + + # Additional details for multiple-choice questions. + # Corresponds to the JSON property `multipleChoiceQuestion` + # @return [Google::Apis::ClassroomV1::MultipleChoiceQuestion] + attr_accessor :multiple_choice_question + + # Optional timestamp when this course work is scheduled to be published. + # Corresponds to the JSON property `scheduledTime` + # @return [String] + attr_accessor :scheduled_time + + # Status of this course work. + # If unspecified, the default state is `DRAFT`. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Setting to determine when students are allowed to modify submissions. + # If unspecified, the default value is `MODIFIABLE_UNTIL_TURNED_IN`. + # Corresponds to the JSON property `submissionModificationMode` + # @return [String] + attr_accessor :submission_modification_mode + # Title of this course work. # The title must be a valid UTF-8 string containing between 1 and 3000 # characters. @@ -583,44 +486,286 @@ module Google # @return [String] attr_accessor :title + # Timestamp of the most recent change to this course work. + # Read-only. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + # Type of this course work. + # The type is set when the course work is created and cannot be changed. + # Corresponds to the JSON property `workType` + # @return [String] + attr_accessor :work_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alternate_link = args[:alternate_link] if args.key?(:alternate_link) + @assignment = args[:assignment] if args.key?(:assignment) + @associated_with_developer = args[:associated_with_developer] if args.key?(:associated_with_developer) + @course_id = args[:course_id] if args.key?(:course_id) + @creation_time = args[:creation_time] if args.key?(:creation_time) + @description = args[:description] if args.key?(:description) + @due_date = args[:due_date] if args.key?(:due_date) + @due_time = args[:due_time] if args.key?(:due_time) + @id = args[:id] if args.key?(:id) + @materials = args[:materials] if args.key?(:materials) + @max_points = args[:max_points] if args.key?(:max_points) + @multiple_choice_question = args[:multiple_choice_question] if args.key?(:multiple_choice_question) + @scheduled_time = args[:scheduled_time] if args.key?(:scheduled_time) + @state = args[:state] if args.key?(:state) + @submission_modification_mode = args[:submission_modification_mode] if args.key?(:submission_modification_mode) + @title = args[:title] if args.key?(:title) + @update_time = args[:update_time] if args.key?(:update_time) + @work_type = args[:work_type] if args.key?(:work_type) + end + end + + # Represents a whole calendar date, e.g. 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. The day may be 0 to + # represent a year and month where the day is not significant, e.g. credit card + # expiration date. The year may be 0 to represent a month and day independent + # of year, e.g. anniversary date. Related types are google.type.TimeOfDay + # and `google.protobuf.Timestamp`. + class Date + include Google::Apis::Core::Hashable + + # 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 + + # Month of year. Must be from 1 to 12. + # Corresponds to the JSON property `month` + # @return [Fixnum] + attr_accessor :month + + # 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) + @day = args[:day] if args.key?(:day) + @month = args[:month] if args.key?(:month) + @year = args[:year] if args.key?(:year) + end + end + + # Representation of a Google Drive file. + class DriveFile + include Google::Apis::Core::Hashable + + # URL that can be used to access the Drive item. + # Read-only. + # Corresponds to the JSON property `alternateLink` + # @return [String] + attr_accessor :alternate_link + + # Drive API resource ID. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # URL of a thumbnail image of the Drive item. + # Read-only. + # Corresponds to the JSON property `thumbnailUrl` + # @return [String] + attr_accessor :thumbnail_url + + # Title of the Drive item. + # Read-only. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @associated_with_developer = args[:associated_with_developer] if args.key?(:associated_with_developer) - @materials = args[:materials] if args.key?(:materials) - @update_time = args[:update_time] if args.key?(:update_time) @alternate_link = args[:alternate_link] if args.key?(:alternate_link) - @max_points = args[:max_points] if args.key?(:max_points) - @assignment = args[:assignment] if args.key?(:assignment) - @work_type = args[:work_type] if args.key?(:work_type) - @multiple_choice_question = args[:multiple_choice_question] if args.key?(:multiple_choice_question) - @scheduled_time = args[:scheduled_time] if args.key?(:scheduled_time) - @description = args[:description] if args.key?(:description) - @creation_time = args[:creation_time] if args.key?(:creation_time) - @due_date = args[:due_date] if args.key?(:due_date) - @submission_modification_mode = args[:submission_modification_mode] if args.key?(:submission_modification_mode) - @state = args[:state] if args.key?(:state) - @course_id = args[:course_id] if args.key?(:course_id) @id = args[:id] if args.key?(:id) - @due_time = args[:due_time] if args.key?(:due_time) + @thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url) @title = args[:title] if args.key?(:title) end end + # Representation of a Google Drive folder. + class DriveFolder + include Google::Apis::Core::Hashable + + # URL that can be used to access the Drive folder. + # Read-only. + # Corresponds to the JSON property `alternateLink` + # @return [String] + attr_accessor :alternate_link + + # Drive API resource ID. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Title of the Drive folder. + # Read-only. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alternate_link = args[:alternate_link] if args.key?(:alternate_link) + @id = args[:id] if args.key?(:id) + @title = args[:title] if args.key?(:title) + 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 + + # Google Forms item. + class Form + include Google::Apis::Core::Hashable + + # URL of the form. + # Corresponds to the JSON property `formUrl` + # @return [String] + attr_accessor :form_url + + # URL of the form responses document. + # Only set if respsonses have been recorded and only when the + # requesting user is an editor of the form. + # Read-only. + # Corresponds to the JSON property `responseUrl` + # @return [String] + attr_accessor :response_url + + # URL of a thumbnail image of the Form. + # Read-only. + # Corresponds to the JSON property `thumbnailUrl` + # @return [String] + attr_accessor :thumbnail_url + + # Title of the Form. + # Read-only. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @form_url = args[:form_url] if args.key?(:form_url) + @response_url = args[:response_url] if args.key?(:response_url) + @thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url) + @title = args[:title] if args.key?(:title) + end + end + + # Global user permission description. + class GlobalPermission + include Google::Apis::Core::Hashable + + # Permission value. + # Corresponds to the JSON property `permission` + # @return [String] + attr_accessor :permission + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permission = args[:permission] if args.key?(:permission) + end + end + + # The history of each grade on this submission. + class GradeHistory + include Google::Apis::Core::Hashable + + # The teacher who made the grade change. + # Corresponds to the JSON property `actorUserId` + # @return [String] + attr_accessor :actor_user_id + + # The type of grade change at this time in the submission grade history. + # Corresponds to the JSON property `gradeChangeType` + # @return [String] + attr_accessor :grade_change_type + + # When the grade of the submission was changed. + # Corresponds to the JSON property `gradeTimestamp` + # @return [String] + attr_accessor :grade_timestamp + + # The denominator of the grade at this time in the submission grade + # history. + # Corresponds to the JSON property `maxPoints` + # @return [Float] + attr_accessor :max_points + + # The numerator of the grade at this time in the submission grade history. + # Corresponds to the JSON property `pointsEarned` + # @return [Float] + attr_accessor :points_earned + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @actor_user_id = args[:actor_user_id] if args.key?(:actor_user_id) + @grade_change_type = args[:grade_change_type] if args.key?(:grade_change_type) + @grade_timestamp = args[:grade_timestamp] if args.key?(:grade_timestamp) + @max_points = args[:max_points] if args.key?(:max_points) + @points_earned = args[:points_earned] if args.key?(:points_earned) + end + end + # Association between a student and a guardian of that student. The guardian # may receive information about the student's course work. class Guardian include Google::Apis::Core::Hashable - # The email address to which the initial guardian invitation was sent. - # This field is only visible to domain administrators. - # Corresponds to the JSON property `invitedEmailAddress` - # @return [String] - attr_accessor :invited_email_address - # Identifier for the guardian. # Corresponds to the JSON property `guardianId` # @return [String] @@ -631,6 +776,12 @@ module Google # @return [Google::Apis::ClassroomV1::UserProfile] attr_accessor :guardian_profile + # The email address to which the initial guardian invitation was sent. + # This field is only visible to domain administrators. + # Corresponds to the JSON property `invitedEmailAddress` + # @return [String] + attr_accessor :invited_email_address + # Identifier for the student to whom the guardian relationship applies. # Corresponds to the JSON property `studentId` # @return [String] @@ -642,27 +793,45 @@ module Google # Update properties of this object def update!(**args) - @invited_email_address = args[:invited_email_address] if args.key?(:invited_email_address) @guardian_id = args[:guardian_id] if args.key?(:guardian_id) @guardian_profile = args[:guardian_profile] if args.key?(:guardian_profile) + @invited_email_address = args[:invited_email_address] if args.key?(:invited_email_address) @student_id = args[:student_id] if args.key?(:student_id) end end - # Response when listing students. - class ListStudentsResponse + # An invitation to become the guardian of a specified user, sent to a specified + # email address. + class GuardianInvitation include Google::Apis::Core::Hashable - # Token identifying the next page of results to return. If empty, no further - # results are available. - # Corresponds to the JSON property `nextPageToken` + # The time that this invitation was created. + # Read-only. + # Corresponds to the JSON property `creationTime` # @return [String] - attr_accessor :next_page_token + attr_accessor :creation_time - # Students who match the list request. - # Corresponds to the JSON property `students` - # @return [Array] - attr_accessor :students + # Unique identifier for this invitation. + # Read-only. + # Corresponds to the JSON property `invitationId` + # @return [String] + attr_accessor :invitation_id + + # Email address that the invitation was sent to. + # This field is only visible to domain administrators. + # Corresponds to the JSON property `invitedEmailAddress` + # @return [String] + attr_accessor :invited_email_address + + # The state that this invitation is in. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # ID of the student (in standard format) + # Corresponds to the JSON property `studentId` + # @return [String] + attr_accessor :student_id def initialize(**args) update!(**args) @@ -670,108 +839,11 @@ module Google # Update properties of this object def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @students = args[:students] if args.key?(:students) - end - end - - # Global information for a user. - class UserProfile - include Google::Apis::Core::Hashable - - # Email address of the user. - # Read-only. - # Corresponds to the JSON property `emailAddress` - # @return [String] - attr_accessor :email_address - - # URL of user's profile photo. - # Read-only. - # Corresponds to the JSON property `photoUrl` - # @return [String] - attr_accessor :photo_url - - # Global permissions of the user. - # Read-only. - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - # Details of the user's name. - # Corresponds to the JSON property `name` - # @return [Google::Apis::ClassroomV1::Name] - attr_accessor :name - - # Identifier of the user. - # Read-only. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Represents whether a G Suite for Education user's domain administrator has - # explicitly verified them as being a teacher. If the user is not a member of - # a G Suite for Education domain, than this field will always be false. - # Read-only - # Corresponds to the JSON property `verifiedTeacher` - # @return [Boolean] - attr_accessor :verified_teacher - alias_method :verified_teacher?, :verified_teacher - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @email_address = args[:email_address] if args.key?(:email_address) - @photo_url = args[:photo_url] if args.key?(:photo_url) - @permissions = args[:permissions] if args.key?(:permissions) - @name = args[:name] if args.key?(:name) - @id = args[:id] if args.key?(:id) - @verified_teacher = args[:verified_teacher] if args.key?(:verified_teacher) - end - end - - # Student in a course. - class Student - include Google::Apis::Core::Hashable - - # Representation of a Google Drive folder. - # Corresponds to the JSON property `studentWorkFolder` - # @return [Google::Apis::ClassroomV1::DriveFolder] - attr_accessor :student_work_folder - - # Global information for a user. - # Corresponds to the JSON property `profile` - # @return [Google::Apis::ClassroomV1::UserProfile] - attr_accessor :profile - - # Identifier of the user. - # When specified as a parameter of a request, this identifier can be one of - # the following: - # * the numeric identifier for the user - # * the email address of the user - # * the string literal `"me"`, indicating the requesting user - # Corresponds to the JSON property `userId` - # @return [String] - attr_accessor :user_id - - # Identifier of the course. - # Read-only. - # Corresponds to the JSON property `courseId` - # @return [String] - attr_accessor :course_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @student_work_folder = args[:student_work_folder] if args.key?(:student_work_folder) - @profile = args[:profile] if args.key?(:profile) - @user_id = args[:user_id] if args.key?(:user_id) - @course_id = args[:course_id] if args.key?(:course_id) + @creation_time = args[:creation_time] if args.key?(:creation_time) + @invitation_id = args[:invitation_id] if args.key?(:invitation_id) + @invited_email_address = args[:invited_email_address] if args.key?(:invited_email_address) + @state = args[:state] if args.key?(:state) + @student_id = args[:student_id] if args.key?(:student_id) end end @@ -819,592 +891,6 @@ module Google end end - # Representation of a Google Drive folder. - class DriveFolder - include Google::Apis::Core::Hashable - - # Title of the Drive folder. - # Read-only. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # URL that can be used to access the Drive folder. - # Read-only. - # Corresponds to the JSON property `alternateLink` - # @return [String] - attr_accessor :alternate_link - - # Drive API resource ID. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @title = args[:title] if args.key?(:title) - @alternate_link = args[:alternate_link] if args.key?(:alternate_link) - @id = args[:id] if args.key?(:id) - end - end - - # Student work for a short answer question. - class ShortAnswerSubmission - include Google::Apis::Core::Hashable - - # Student response to a short-answer question. - # Corresponds to the JSON property `answer` - # @return [String] - attr_accessor :answer - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @answer = args[:answer] if args.key?(:answer) - end - end - - # Request to turn in a student submission. - class TurnInStudentSubmissionRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Response when listing student submissions. - class ListStudentSubmissionsResponse - include Google::Apis::Core::Hashable - - # Token identifying the next page of results to return. If empty, no further - # results are available. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Student work that matches the request. - # Corresponds to the JSON property `studentSubmissions` - # @return [Array] - attr_accessor :student_submissions - - 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) - @student_submissions = args[:student_submissions] if args.key?(:student_submissions) - end - end - - # Student submission for course work. - # StudentSubmission items are generated when a CourseWork item is created. - # StudentSubmissions that have never been accessed (i.e. with `state` = NEW) - # may not have a creation time or update time. - class StudentSubmission - include Google::Apis::Core::Hashable - - # Identifier for the course work this corresponds to. - # Read-only. - # Corresponds to the JSON property `courseWorkId` - # @return [String] - attr_accessor :course_work_id - - # Identifier of the course. - # Read-only. - # Corresponds to the JSON property `courseId` - # @return [String] - attr_accessor :course_id - - # Classroom-assigned Identifier for the student submission. - # This is unique among submissions for the relevant course work. - # Read-only. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Optional grade. If unset, no grade was set. - # This must be a non-negative integer value. - # This may be modified only by course teachers. - # Corresponds to the JSON property `assignedGrade` - # @return [Float] - attr_accessor :assigned_grade - - # Student work for a multiple-choice question. - # Corresponds to the JSON property `multipleChoiceSubmission` - # @return [Google::Apis::ClassroomV1::MultipleChoiceSubmission] - attr_accessor :multiple_choice_submission - - # Student work for an assignment. - # Corresponds to the JSON property `assignmentSubmission` - # @return [Google::Apis::ClassroomV1::AssignmentSubmission] - attr_accessor :assignment_submission - - # Whether this student submission is associated with the Developer Console - # project making the request. - # See google.classroom.Work.CreateCourseWork for more - # details. - # Read-only. - # Corresponds to the JSON property `associatedWithDeveloper` - # @return [Boolean] - attr_accessor :associated_with_developer - alias_method :associated_with_developer?, :associated_with_developer - - # Student work for a short answer question. - # Corresponds to the JSON property `shortAnswerSubmission` - # @return [Google::Apis::ClassroomV1::ShortAnswerSubmission] - attr_accessor :short_answer_submission - - # Last update time of this submission. - # This may be unset if the student has not accessed this item. - # Read-only. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time - - # Absolute link to the submission in the Classroom web UI. - # Read-only. - # Corresponds to the JSON property `alternateLink` - # @return [String] - attr_accessor :alternate_link - - # Whether this submission is late. - # Read-only. - # Corresponds to the JSON property `late` - # @return [Boolean] - attr_accessor :late - alias_method :late?, :late - - # Optional pending grade. If unset, no grade was set. - # This must be a non-negative integer value. - # This is only visible to and modifiable by course teachers. - # Corresponds to the JSON property `draftGrade` - # @return [Float] - attr_accessor :draft_grade - - # Type of course work this submission is for. - # Read-only. - # Corresponds to the JSON property `courseWorkType` - # @return [String] - attr_accessor :course_work_type - - # Creation time of this submission. - # This may be unset if the student has not accessed this item. - # Read-only. - # Corresponds to the JSON property `creationTime` - # @return [String] - attr_accessor :creation_time - - # State of this submission. - # Read-only. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # Identifier for the student that owns this submission. - # Read-only. - # Corresponds to the JSON property `userId` - # @return [String] - attr_accessor :user_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @course_work_id = args[:course_work_id] if args.key?(:course_work_id) - @course_id = args[:course_id] if args.key?(:course_id) - @id = args[:id] if args.key?(:id) - @assigned_grade = args[:assigned_grade] if args.key?(:assigned_grade) - @multiple_choice_submission = args[:multiple_choice_submission] if args.key?(:multiple_choice_submission) - @assignment_submission = args[:assignment_submission] if args.key?(:assignment_submission) - @associated_with_developer = args[:associated_with_developer] if args.key?(:associated_with_developer) - @short_answer_submission = args[:short_answer_submission] if args.key?(:short_answer_submission) - @update_time = args[:update_time] if args.key?(:update_time) - @alternate_link = args[:alternate_link] if args.key?(:alternate_link) - @late = args[:late] if args.key?(:late) - @draft_grade = args[:draft_grade] if args.key?(:draft_grade) - @course_work_type = args[:course_work_type] if args.key?(:course_work_type) - @creation_time = args[:creation_time] if args.key?(:creation_time) - @state = args[:state] if args.key?(:state) - @user_id = args[:user_id] if args.key?(:user_id) - end - end - - # Response when listing course work. - class ListCourseWorkResponse - include Google::Apis::Core::Hashable - - # Token identifying the next page of results to return. If empty, no further - # results are available. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Course work items that match the request. - # Corresponds to the JSON property `courseWork` - # @return [Array] - attr_accessor :course_work - - 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) - @course_work = args[:course_work] if args.key?(:course_work) - end - end - - # Request to modify the attachments of a student submission. - class ModifyAttachmentsRequest - include Google::Apis::Core::Hashable - - # Attachments to add. - # A student submission may not have more than 20 attachments. - # Form attachments are not supported. - # Corresponds to the JSON property `addAttachments` - # @return [Array] - attr_accessor :add_attachments - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @add_attachments = args[:add_attachments] if args.key?(:add_attachments) - end - end - - # YouTube video item. - class YouTubeVideo - include Google::Apis::Core::Hashable - - # URL that can be used to view the YouTube video. - # Read-only. - # Corresponds to the JSON property `alternateLink` - # @return [String] - attr_accessor :alternate_link - - # URL of a thumbnail image of the YouTube video. - # Read-only. - # Corresponds to the JSON property `thumbnailUrl` - # @return [String] - attr_accessor :thumbnail_url - - # YouTube API resource ID. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Title of the YouTube video. - # Read-only. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @alternate_link = args[:alternate_link] if args.key?(:alternate_link) - @thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url) - @id = args[:id] if args.key?(:id) - @title = args[:title] if args.key?(:title) - end - end - - # Response when listing invitations. - class ListInvitationsResponse - include Google::Apis::Core::Hashable - - # Invitations that match the list request. - # Corresponds to the JSON property `invitations` - # @return [Array] - attr_accessor :invitations - - # Token identifying the next page of results to return. If empty, no further - # results are available. - # 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) - @invitations = args[:invitations] if args.key?(:invitations) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # An invitation to become the guardian of a specified user, sent to a specified - # email address. - class GuardianInvitation - include Google::Apis::Core::Hashable - - # The state that this invitation is in. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # ID of the student (in standard format) - # Corresponds to the JSON property `studentId` - # @return [String] - attr_accessor :student_id - - # Email address that the invitation was sent to. - # This field is only visible to domain administrators. - # Corresponds to the JSON property `invitedEmailAddress` - # @return [String] - attr_accessor :invited_email_address - - # The time that this invitation was created. - # Read-only. - # Corresponds to the JSON property `creationTime` - # @return [String] - attr_accessor :creation_time - - # Unique identifier for this invitation. - # Read-only. - # Corresponds to the JSON property `invitationId` - # @return [String] - attr_accessor :invitation_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @state = args[:state] if args.key?(:state) - @student_id = args[:student_id] if args.key?(:student_id) - @invited_email_address = args[:invited_email_address] if args.key?(:invited_email_address) - @creation_time = args[:creation_time] if args.key?(:creation_time) - @invitation_id = args[:invitation_id] if args.key?(:invitation_id) - end - end - - # Attachment added to student assignment work. - # When creating attachments, setting the `form` field is not supported. - class Attachment - include Google::Apis::Core::Hashable - - # URL item. - # Corresponds to the JSON property `link` - # @return [Google::Apis::ClassroomV1::Link] - attr_accessor :link - - # YouTube video item. - # Corresponds to the JSON property `youTubeVideo` - # @return [Google::Apis::ClassroomV1::YouTubeVideo] - attr_accessor :you_tube_video - - # Representation of a Google Drive file. - # Corresponds to the JSON property `driveFile` - # @return [Google::Apis::ClassroomV1::DriveFile] - attr_accessor :drive_file - - # Google Forms item. - # Corresponds to the JSON property `form` - # @return [Google::Apis::ClassroomV1::Form] - attr_accessor :form - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @link = args[:link] if args.key?(:link) - @you_tube_video = args[:you_tube_video] if args.key?(:you_tube_video) - @drive_file = args[:drive_file] if args.key?(:drive_file) - @form = args[:form] if args.key?(:form) - end - end - - # A set of materials that appears on the "About" page of the course. - # These materials might include a syllabus, schedule, or other background - # information relating to the course as a whole. - class CourseMaterialSet - include Google::Apis::Core::Hashable - - # Materials attached to this set. - # Corresponds to the JSON property `materials` - # @return [Array] - attr_accessor :materials - - # Title for this set. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @materials = args[:materials] if args.key?(:materials) - @title = args[:title] if args.key?(:title) - end - end - - # Represents a time of day. The date and time zone are either not significant - # or are specified elsewhere. An API may choose to allow leap seconds. Related - # types are google.type.Date and `google.protobuf.Timestamp`. - class TimeOfDay - include Google::Apis::Core::Hashable - - # Seconds of minutes of the time. Must normally be from 0 to 59. An API may - # allow the value 60 if it allows leap-seconds. - # Corresponds to the JSON property `seconds` - # @return [Fixnum] - attr_accessor :seconds - - # Minutes of hour of day. Must be from 0 to 59. - # Corresponds to the JSON property `minutes` - # @return [Fixnum] - attr_accessor :minutes - - # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose - # to allow the value "24:00:00" for scenarios like business closing time. - # Corresponds to the JSON property `hours` - # @return [Fixnum] - attr_accessor :hours - - # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. - # Corresponds to the JSON property `nanos` - # @return [Fixnum] - attr_accessor :nanos - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @seconds = args[:seconds] if args.key?(:seconds) - @minutes = args[:minutes] if args.key?(:minutes) - @hours = args[:hours] if args.key?(:hours) - @nanos = args[:nanos] if args.key?(:nanos) - end - end - - # Response when listing courses. - class ListCoursesResponse - include Google::Apis::Core::Hashable - - # Token identifying the next page of results to return. If empty, no further - # results are available. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Courses that match the list request. - # Corresponds to the JSON property `courses` - # @return [Array] - attr_accessor :courses - - 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) - @courses = args[:courses] if args.key?(:courses) - end - end - - # Google Forms item. - class Form - include Google::Apis::Core::Hashable - - # URL of a thumbnail image of the Form. - # Read-only. - # Corresponds to the JSON property `thumbnailUrl` - # @return [String] - attr_accessor :thumbnail_url - - # URL of the form responses document. - # Only set if respsonses have been recorded and only when the - # requesting user is an editor of the form. - # Read-only. - # Corresponds to the JSON property `responseUrl` - # @return [String] - attr_accessor :response_url - - # URL of the form. - # Corresponds to the JSON property `formUrl` - # @return [String] - attr_accessor :form_url - - # Title of the Form. - # Read-only. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url) - @response_url = args[:response_url] if args.key?(:response_url) - @form_url = args[:form_url] if args.key?(:form_url) - @title = args[:title] if args.key?(:title) - end - end - - # Response when listing teachers. - class ListTeachersResponse - include Google::Apis::Core::Hashable - - # Teachers who match the list request. - # Corresponds to the JSON property `teachers` - # @return [Array] - attr_accessor :teachers - - # Token identifying the next page of results to return. If empty, no further - # results are available. - # 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) - @teachers = args[:teachers] if args.key?(:teachers) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - # URL item. class Link include Google::Apis::Core::Hashable @@ -1415,18 +901,18 @@ module Google # @return [String] attr_accessor :thumbnail_url - # URL to link to. - # This must be a valid UTF-8 string containing between 1 and 2024 characters. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - # Title of the target of the URL. # Read-only. # Corresponds to the JSON property `title` # @return [String] attr_accessor :title + # URL to link to. + # This must be a valid UTF-8 string containing between 1 and 2024 characters. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + def initialize(**args) update!(**args) end @@ -1434,70 +920,8 @@ module Google # Update properties of this object def update!(**args) @thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url) - @url = args[:url] if args.key?(:url) @title = args[:title] if args.key?(:title) - end - end - - # Response when listing guardians. - class ListGuardiansResponse - include Google::Apis::Core::Hashable - - # Token identifying the next page of results to return. If empty, no further - # results are available. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Guardians on this page of results that met the criteria specified in - # the request. - # Corresponds to the JSON property `guardians` - # @return [Array] - attr_accessor :guardians - - 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) - @guardians = args[:guardians] if args.key?(:guardians) - end - end - - # Alternative identifier for a course. - # An alias uniquely identifies a course. It must be unique within one of the - # following scopes: - # * domain: A domain-scoped alias is visible to all users within the alias - # creator's domain and can be created only by a domain admin. A domain-scoped - # alias is often used when a course has an identifier external to Classroom. - # * project: A project-scoped alias is visible to any request from an - # application using the Developer Console project ID that created the alias - # and can be created by any project. A project-scoped alias is often used when - # an application has alternative identifiers. A random value can also be used - # to avoid duplicate courses in the event of transmission failures, as retrying - # a request will return `ALREADY_EXISTS` if a previous one has succeeded. - class CourseAlias - include Google::Apis::Core::Hashable - - # Alias string. The format of the string indicates the desired alias scoping. - # * `d:` indicates a domain-scoped alias. - # Example: `d:math_101` - # * `p:` indicates a project-scoped alias. - # Example: `p:abc123` - # This field has a maximum length of 256 characters. - # Corresponds to the JSON property `alias` - # @return [String] - attr_accessor :alias - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @alias = args[:alias] if args.key?(:alias) + @url = args[:url] if args.key?(:url) end end @@ -1527,6 +951,58 @@ module Google end end + # Response when listing course work. + class ListCourseWorkResponse + include Google::Apis::Core::Hashable + + # Course work items that match the request. + # Corresponds to the JSON property `courseWork` + # @return [Array] + attr_accessor :course_work + + # Token identifying the next page of results to return. If empty, no further + # results are available. + # 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) + @course_work = args[:course_work] if args.key?(:course_work) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Response when listing courses. + class ListCoursesResponse + include Google::Apis::Core::Hashable + + # Courses that match the list request. + # Corresponds to the JSON property `courses` + # @return [Array] + attr_accessor :courses + + # Token identifying the next page of results to return. If empty, no further + # results are available. + # 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) + @courses = args[:courses] if args.key?(:courses) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # Response when listing guardian invitations. class ListGuardianInvitationsResponse include Google::Apis::Core::Hashable @@ -1553,32 +1029,21 @@ module Google end end - # Represents a whole calendar date, e.g. 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. The day may be 0 to - # represent a year and month where the day is not significant, e.g. credit card - # expiration date. The year may be 0 to represent a month and day independent - # of year, e.g. anniversary date. Related types are google.type.TimeOfDay - # and `google.protobuf.Timestamp`. - class Date + # Response when listing guardians. + class ListGuardiansResponse include Google::Apis::Core::Hashable - # 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 + # Guardians on this page of results that met the criteria specified in + # the request. + # Corresponds to the JSON property `guardians` + # @return [Array] + attr_accessor :guardians - # 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 + # Token identifying the next page of results to return. If empty, no further + # results are available. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token def initialize(**args) update!(**args) @@ -1586,9 +1051,190 @@ module Google # Update properties of this object def update!(**args) - @day = args[:day] if args.key?(:day) - @year = args[:year] if args.key?(:year) - @month = args[:month] if args.key?(:month) + @guardians = args[:guardians] if args.key?(:guardians) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Response when listing invitations. + class ListInvitationsResponse + include Google::Apis::Core::Hashable + + # Invitations that match the list request. + # Corresponds to the JSON property `invitations` + # @return [Array] + attr_accessor :invitations + + # Token identifying the next page of results to return. If empty, no further + # results are available. + # 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) + @invitations = args[:invitations] if args.key?(:invitations) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Response when listing student submissions. + class ListStudentSubmissionsResponse + include Google::Apis::Core::Hashable + + # Token identifying the next page of results to return. If empty, no further + # results are available. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Student work that matches the request. + # Corresponds to the JSON property `studentSubmissions` + # @return [Array] + attr_accessor :student_submissions + + 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) + @student_submissions = args[:student_submissions] if args.key?(:student_submissions) + end + end + + # Response when listing students. + class ListStudentsResponse + include Google::Apis::Core::Hashable + + # Token identifying the next page of results to return. If empty, no further + # results are available. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Students who match the list request. + # Corresponds to the JSON property `students` + # @return [Array] + attr_accessor :students + + 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) + @students = args[:students] if args.key?(:students) + end + end + + # Response when listing teachers. + class ListTeachersResponse + include Google::Apis::Core::Hashable + + # Token identifying the next page of results to return. If empty, no further + # results are available. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Teachers who match the list request. + # Corresponds to the JSON property `teachers` + # @return [Array] + attr_accessor :teachers + + 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) + @teachers = args[:teachers] if args.key?(:teachers) + end + end + + # Material attached to course work. + # When creating attachments, setting the `form` field is not supported. + class Material + include Google::Apis::Core::Hashable + + # Drive file that is used as material for course work. + # Corresponds to the JSON property `driveFile` + # @return [Google::Apis::ClassroomV1::SharedDriveFile] + attr_accessor :drive_file + + # Google Forms item. + # Corresponds to the JSON property `form` + # @return [Google::Apis::ClassroomV1::Form] + attr_accessor :form + + # URL item. + # Corresponds to the JSON property `link` + # @return [Google::Apis::ClassroomV1::Link] + attr_accessor :link + + # YouTube video item. + # Corresponds to the JSON property `youtubeVideo` + # @return [Google::Apis::ClassroomV1::YouTubeVideo] + attr_accessor :youtube_video + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @drive_file = args[:drive_file] if args.key?(:drive_file) + @form = args[:form] if args.key?(:form) + @link = args[:link] if args.key?(:link) + @youtube_video = args[:youtube_video] if args.key?(:youtube_video) + end + end + + # Request to modify the attachments of a student submission. + class ModifyAttachmentsRequest + include Google::Apis::Core::Hashable + + # Attachments to add. + # A student submission may not have more than 20 attachments. + # Form attachments are not supported. + # Corresponds to the JSON property `addAttachments` + # @return [Array] + attr_accessor :add_attachments + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @add_attachments = args[:add_attachments] if args.key?(:add_attachments) + end + end + + # Additional details for multiple-choice questions. + class MultipleChoiceQuestion + include Google::Apis::Core::Hashable + + # Possible choices. + # Corresponds to the JSON property `choices` + # @return [Array] + attr_accessor :choices + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @choices = args[:choices] if args.key?(:choices) end end @@ -1611,43 +1257,6 @@ module Google end end - # A material attached to a course as part of a material set. - class CourseMaterial - include Google::Apis::Core::Hashable - - # YouTube video item. - # Corresponds to the JSON property `youTubeVideo` - # @return [Google::Apis::ClassroomV1::YouTubeVideo] - attr_accessor :you_tube_video - - # Representation of a Google Drive file. - # Corresponds to the JSON property `driveFile` - # @return [Google::Apis::ClassroomV1::DriveFile] - attr_accessor :drive_file - - # Google Forms item. - # Corresponds to the JSON property `form` - # @return [Google::Apis::ClassroomV1::Form] - attr_accessor :form - - # URL item. - # Corresponds to the JSON property `link` - # @return [Google::Apis::ClassroomV1::Link] - attr_accessor :link - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @you_tube_video = args[:you_tube_video] if args.key?(:you_tube_video) - @drive_file = args[:drive_file] if args.key?(:drive_file) - @form = args[:form] if args.key?(:form) - @link = args[:link] if args.key?(:link) - end - end - # Details of the user's name. class Name include Google::Apis::Core::Hashable @@ -1658,12 +1267,6 @@ module Google # @return [String] attr_accessor :family_name - # The user's first name. - # Read-only. - # Corresponds to the JSON property `givenName` - # @return [String] - attr_accessor :given_name - # The user's full name formed by concatenating the first and last name # values. # Read-only. @@ -1671,6 +1274,12 @@ module Google # @return [String] attr_accessor :full_name + # The user's first name. + # Read-only. + # Corresponds to the JSON property `givenName` + # @return [String] + attr_accessor :given_name + def initialize(**args) update!(**args) end @@ -1678,8 +1287,510 @@ module Google # Update properties of this object def update!(**args) @family_name = args[:family_name] if args.key?(:family_name) - @given_name = args[:given_name] if args.key?(:given_name) @full_name = args[:full_name] if args.key?(:full_name) + @given_name = args[:given_name] if args.key?(:given_name) + end + end + + # Request to reclaim a student submission. + class ReclaimStudentSubmissionRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Request to return a student submission. + class ReturnStudentSubmissionRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Drive file that is used as material for course work. + class SharedDriveFile + include Google::Apis::Core::Hashable + + # Representation of a Google Drive file. + # Corresponds to the JSON property `driveFile` + # @return [Google::Apis::ClassroomV1::DriveFile] + attr_accessor :drive_file + + # Mechanism by which students access the Drive item. + # Corresponds to the JSON property `shareMode` + # @return [String] + attr_accessor :share_mode + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @drive_file = args[:drive_file] if args.key?(:drive_file) + @share_mode = args[:share_mode] if args.key?(:share_mode) + end + end + + # Student work for a short answer question. + class ShortAnswerSubmission + include Google::Apis::Core::Hashable + + # Student response to a short-answer question. + # Corresponds to the JSON property `answer` + # @return [String] + attr_accessor :answer + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @answer = args[:answer] if args.key?(:answer) + end + end + + # The history of each state this submission has been in. + class StateHistory + include Google::Apis::Core::Hashable + + # The teacher or student who made the change + # Corresponds to the JSON property `actorUserId` + # @return [String] + attr_accessor :actor_user_id + + # The workflow pipeline stage. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # When the submission entered this state. + # Corresponds to the JSON property `stateTimestamp` + # @return [String] + attr_accessor :state_timestamp + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @actor_user_id = args[:actor_user_id] if args.key?(:actor_user_id) + @state = args[:state] if args.key?(:state) + @state_timestamp = args[:state_timestamp] if args.key?(:state_timestamp) + end + end + + # Student in a course. + class Student + include Google::Apis::Core::Hashable + + # Identifier of the course. + # Read-only. + # Corresponds to the JSON property `courseId` + # @return [String] + attr_accessor :course_id + + # Global information for a user. + # Corresponds to the JSON property `profile` + # @return [Google::Apis::ClassroomV1::UserProfile] + attr_accessor :profile + + # Representation of a Google Drive folder. + # Corresponds to the JSON property `studentWorkFolder` + # @return [Google::Apis::ClassroomV1::DriveFolder] + attr_accessor :student_work_folder + + # Identifier of the user. + # When specified as a parameter of a request, this identifier can be one of + # the following: + # * the numeric identifier for the user + # * the email address of the user + # * the string literal `"me"`, indicating the requesting user + # Corresponds to the JSON property `userId` + # @return [String] + attr_accessor :user_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @course_id = args[:course_id] if args.key?(:course_id) + @profile = args[:profile] if args.key?(:profile) + @student_work_folder = args[:student_work_folder] if args.key?(:student_work_folder) + @user_id = args[:user_id] if args.key?(:user_id) + end + end + + # Student submission for course work. + # StudentSubmission items are generated when a CourseWork item is created. + # StudentSubmissions that have never been accessed (i.e. with `state` = NEW) + # may not have a creation time or update time. + class StudentSubmission + include Google::Apis::Core::Hashable + + # Absolute link to the submission in the Classroom web UI. + # Read-only. + # Corresponds to the JSON property `alternateLink` + # @return [String] + attr_accessor :alternate_link + + # Optional grade. If unset, no grade was set. + # This value must be non-negative. Decimal (i.e. non-integer) values are + # allowed, but will be rounded to two decimal places. + # This may be modified only by course teachers. + # Corresponds to the JSON property `assignedGrade` + # @return [Float] + attr_accessor :assigned_grade + + # Student work for an assignment. + # Corresponds to the JSON property `assignmentSubmission` + # @return [Google::Apis::ClassroomV1::AssignmentSubmission] + attr_accessor :assignment_submission + + # Whether this student submission is associated with the Developer Console + # project making the request. + # See google.classroom.Work.CreateCourseWork for more + # details. + # Read-only. + # Corresponds to the JSON property `associatedWithDeveloper` + # @return [Boolean] + attr_accessor :associated_with_developer + alias_method :associated_with_developer?, :associated_with_developer + + # Identifier of the course. + # Read-only. + # Corresponds to the JSON property `courseId` + # @return [String] + attr_accessor :course_id + + # Identifier for the course work this corresponds to. + # Read-only. + # Corresponds to the JSON property `courseWorkId` + # @return [String] + attr_accessor :course_work_id + + # Type of course work this submission is for. + # Read-only. + # Corresponds to the JSON property `courseWorkType` + # @return [String] + attr_accessor :course_work_type + + # Creation time of this submission. + # This may be unset if the student has not accessed this item. + # Read-only. + # Corresponds to the JSON property `creationTime` + # @return [String] + attr_accessor :creation_time + + # Optional pending grade. If unset, no grade was set. + # This value must be non-negative. Decimal (i.e. non-integer) values are + # allowed, but will be rounded to two decimal places. + # This is only visible to and modifiable by course teachers. + # Corresponds to the JSON property `draftGrade` + # @return [Float] + attr_accessor :draft_grade + + # Classroom-assigned Identifier for the student submission. + # This is unique among submissions for the relevant course work. + # Read-only. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Whether this submission is late. + # Read-only. + # Corresponds to the JSON property `late` + # @return [Boolean] + attr_accessor :late + alias_method :late?, :late + + # Student work for a multiple-choice question. + # Corresponds to the JSON property `multipleChoiceSubmission` + # @return [Google::Apis::ClassroomV1::MultipleChoiceSubmission] + attr_accessor :multiple_choice_submission + + # Student work for a short answer question. + # Corresponds to the JSON property `shortAnswerSubmission` + # @return [Google::Apis::ClassroomV1::ShortAnswerSubmission] + attr_accessor :short_answer_submission + + # State of this submission. + # Read-only. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # The history of the submission (includes state and grade histories). + # Read-only. + # Corresponds to the JSON property `submissionHistory` + # @return [Array] + attr_accessor :submission_history + + # Last update time of this submission. + # This may be unset if the student has not accessed this item. + # Read-only. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + # Identifier for the student that owns this submission. + # Read-only. + # Corresponds to the JSON property `userId` + # @return [String] + attr_accessor :user_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alternate_link = args[:alternate_link] if args.key?(:alternate_link) + @assigned_grade = args[:assigned_grade] if args.key?(:assigned_grade) + @assignment_submission = args[:assignment_submission] if args.key?(:assignment_submission) + @associated_with_developer = args[:associated_with_developer] if args.key?(:associated_with_developer) + @course_id = args[:course_id] if args.key?(:course_id) + @course_work_id = args[:course_work_id] if args.key?(:course_work_id) + @course_work_type = args[:course_work_type] if args.key?(:course_work_type) + @creation_time = args[:creation_time] if args.key?(:creation_time) + @draft_grade = args[:draft_grade] if args.key?(:draft_grade) + @id = args[:id] if args.key?(:id) + @late = args[:late] if args.key?(:late) + @multiple_choice_submission = args[:multiple_choice_submission] if args.key?(:multiple_choice_submission) + @short_answer_submission = args[:short_answer_submission] if args.key?(:short_answer_submission) + @state = args[:state] if args.key?(:state) + @submission_history = args[:submission_history] if args.key?(:submission_history) + @update_time = args[:update_time] if args.key?(:update_time) + @user_id = args[:user_id] if args.key?(:user_id) + end + end + + # The history of the submission. This currently includes state and grade + # histories. + class SubmissionHistory + include Google::Apis::Core::Hashable + + # The history of each grade on this submission. + # Corresponds to the JSON property `gradeHistory` + # @return [Google::Apis::ClassroomV1::GradeHistory] + attr_accessor :grade_history + + # The history of each state this submission has been in. + # Corresponds to the JSON property `stateHistory` + # @return [Google::Apis::ClassroomV1::StateHistory] + attr_accessor :state_history + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @grade_history = args[:grade_history] if args.key?(:grade_history) + @state_history = args[:state_history] if args.key?(:state_history) + end + end + + # Teacher of a course. + class Teacher + include Google::Apis::Core::Hashable + + # Identifier of the course. + # Read-only. + # Corresponds to the JSON property `courseId` + # @return [String] + attr_accessor :course_id + + # Global information for a user. + # Corresponds to the JSON property `profile` + # @return [Google::Apis::ClassroomV1::UserProfile] + attr_accessor :profile + + # Identifier of the user. + # When specified as a parameter of a request, this identifier can be one of + # the following: + # * the numeric identifier for the user + # * the email address of the user + # * the string literal `"me"`, indicating the requesting user + # Corresponds to the JSON property `userId` + # @return [String] + attr_accessor :user_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @course_id = args[:course_id] if args.key?(:course_id) + @profile = args[:profile] if args.key?(:profile) + @user_id = args[:user_id] if args.key?(:user_id) + end + end + + # Represents a time of day. The date and time zone are either not significant + # or are specified elsewhere. An API may choose to allow leap seconds. Related + # types are google.type.Date and `google.protobuf.Timestamp`. + class TimeOfDay + include Google::Apis::Core::Hashable + + # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose + # to allow the value "24:00:00" for scenarios like business closing time. + # Corresponds to the JSON property `hours` + # @return [Fixnum] + attr_accessor :hours + + # Minutes of hour of day. Must be from 0 to 59. + # Corresponds to the JSON property `minutes` + # @return [Fixnum] + attr_accessor :minutes + + # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. + # Corresponds to the JSON property `nanos` + # @return [Fixnum] + attr_accessor :nanos + + # Seconds of minutes of the time. Must normally be from 0 to 59. An API may + # allow the value 60 if it allows leap-seconds. + # Corresponds to the JSON property `seconds` + # @return [Fixnum] + attr_accessor :seconds + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @hours = args[:hours] if args.key?(:hours) + @minutes = args[:minutes] if args.key?(:minutes) + @nanos = args[:nanos] if args.key?(:nanos) + @seconds = args[:seconds] if args.key?(:seconds) + end + end + + # Request to turn in a student submission. + class TurnInStudentSubmissionRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Global information for a user. + class UserProfile + include Google::Apis::Core::Hashable + + # Email address of the user. + # Read-only. + # Corresponds to the JSON property `emailAddress` + # @return [String] + attr_accessor :email_address + + # Identifier of the user. + # Read-only. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Details of the user's name. + # Corresponds to the JSON property `name` + # @return [Google::Apis::ClassroomV1::Name] + attr_accessor :name + + # Global permissions of the user. + # Read-only. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + # URL of user's profile photo. + # Read-only. + # Corresponds to the JSON property `photoUrl` + # @return [String] + attr_accessor :photo_url + + # Represents whether a G Suite for Education user's domain administrator has + # explicitly verified them as being a teacher. If the user is not a member of + # a G Suite for Education domain, than this field will always be false. + # Read-only + # Corresponds to the JSON property `verifiedTeacher` + # @return [Boolean] + attr_accessor :verified_teacher + alias_method :verified_teacher?, :verified_teacher + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @email_address = args[:email_address] if args.key?(:email_address) + @id = args[:id] if args.key?(:id) + @name = args[:name] if args.key?(:name) + @permissions = args[:permissions] if args.key?(:permissions) + @photo_url = args[:photo_url] if args.key?(:photo_url) + @verified_teacher = args[:verified_teacher] if args.key?(:verified_teacher) + end + end + + # YouTube video item. + class YouTubeVideo + include Google::Apis::Core::Hashable + + # URL that can be used to view the YouTube video. + # Read-only. + # Corresponds to the JSON property `alternateLink` + # @return [String] + attr_accessor :alternate_link + + # YouTube API resource ID. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # URL of a thumbnail image of the YouTube video. + # Read-only. + # Corresponds to the JSON property `thumbnailUrl` + # @return [String] + attr_accessor :thumbnail_url + + # Title of the YouTube video. + # Read-only. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alternate_link = args[:alternate_link] if args.key?(:alternate_link) + @id = args[:id] if args.key?(:id) + @thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url) + @title = args[:title] if args.key?(:title) end end end diff --git a/generated/google/apis/classroom_v1/representations.rb b/generated/google/apis/classroom_v1/representations.rb index 06c2e4180..7a073a6fb 100644 --- a/generated/google/apis/classroom_v1/representations.rb +++ b/generated/google/apis/classroom_v1/representations.rb @@ -28,211 +28,19 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class SharedDriveFile - 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 MultipleChoiceQuestion - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Course - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DriveFile - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReturnStudentSubmissionRequest - 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 ReclaimStudentSubmissionRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class AssignmentSubmission class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Material - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CourseWork - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Guardian - 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 UserProfile - 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 Invitation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DriveFolder - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ShortAnswerSubmission - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TurnInStudentSubmissionRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListStudentSubmissionsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StudentSubmission - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListCourseWorkResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ModifyAttachmentsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class YouTubeVideo - 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 GuardianInvitation - 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 CourseMaterialSet - 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 ListCoursesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Form - 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 Link - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListGuardiansResponse + class Course class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -244,13 +52,19 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ListCourseAliasesResponse + class CourseMaterial class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListGuardianInvitationsResponse + class CourseMaterialSet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CourseWork class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -262,19 +76,223 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class DriveFile + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DriveFolder + 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 Form + 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 GradeHistory + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Guardian + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GuardianInvitation + 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 Link + 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 ListCourseWorkResponse + 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 ListGuardianInvitationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListGuardiansResponse + 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 ListStudentSubmissionsResponse + 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 ListTeachersResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Material + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ModifyAttachmentsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MultipleChoiceQuestion + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class MultipleChoiceSubmission class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CourseMaterial + class Name class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Name + class ReclaimStudentSubmissionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReturnStudentSubmissionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SharedDriveFile + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ShortAnswerSubmission + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StateHistory + 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 StudentSubmission + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SubmissionHistory + 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 TimeOfDay + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TurnInStudentSubmissionRequest + 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 YouTubeVideo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -288,12 +306,138 @@ module Google end end - class SharedDriveFile + class AssignmentSubmission + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :attachments, as: 'attachments', class: Google::Apis::ClassroomV1::Attachment, decorator: Google::Apis::ClassroomV1::Attachment::Representation + + end + end + + class Attachment # @private class Representation < Google::Apis::Core::JsonRepresentation - property :share_mode, as: 'shareMode' property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::DriveFile, decorator: Google::Apis::ClassroomV1::DriveFile::Representation + property :form, as: 'form', class: Google::Apis::ClassroomV1::Form, decorator: Google::Apis::ClassroomV1::Form::Representation + + property :link, as: 'link', class: Google::Apis::ClassroomV1::Link, decorator: Google::Apis::ClassroomV1::Link::Representation + + property :you_tube_video, as: 'youTubeVideo', class: Google::Apis::ClassroomV1::YouTubeVideo, decorator: Google::Apis::ClassroomV1::YouTubeVideo::Representation + + end + end + + class Course + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alternate_link, as: 'alternateLink' + property :calendar_id, as: 'calendarId' + property :course_group_email, as: 'courseGroupEmail' + collection :course_material_sets, as: 'courseMaterialSets', class: Google::Apis::ClassroomV1::CourseMaterialSet, decorator: Google::Apis::ClassroomV1::CourseMaterialSet::Representation + + property :course_state, as: 'courseState' + property :creation_time, as: 'creationTime' + property :description, as: 'description' + property :description_heading, as: 'descriptionHeading' + property :enrollment_code, as: 'enrollmentCode' + property :guardians_enabled, as: 'guardiansEnabled' + property :id, as: 'id' + property :name, as: 'name' + property :owner_id, as: 'ownerId' + property :room, as: 'room' + property :section, as: 'section' + property :teacher_folder, as: 'teacherFolder', class: Google::Apis::ClassroomV1::DriveFolder, decorator: Google::Apis::ClassroomV1::DriveFolder::Representation + + property :teacher_group_email, as: 'teacherGroupEmail' + property :update_time, as: 'updateTime' + end + end + + class CourseAlias + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alias, as: 'alias' + end + end + + class CourseMaterial + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::DriveFile, decorator: Google::Apis::ClassroomV1::DriveFile::Representation + + property :form, as: 'form', class: Google::Apis::ClassroomV1::Form, decorator: Google::Apis::ClassroomV1::Form::Representation + + property :link, as: 'link', class: Google::Apis::ClassroomV1::Link, decorator: Google::Apis::ClassroomV1::Link::Representation + + property :you_tube_video, as: 'youTubeVideo', class: Google::Apis::ClassroomV1::YouTubeVideo, decorator: Google::Apis::ClassroomV1::YouTubeVideo::Representation + + end + end + + class CourseMaterialSet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :materials, as: 'materials', class: Google::Apis::ClassroomV1::CourseMaterial, decorator: Google::Apis::ClassroomV1::CourseMaterial::Representation + + property :title, as: 'title' + end + end + + class CourseWork + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alternate_link, as: 'alternateLink' + property :assignment, as: 'assignment', class: Google::Apis::ClassroomV1::Assignment, decorator: Google::Apis::ClassroomV1::Assignment::Representation + + property :associated_with_developer, as: 'associatedWithDeveloper' + property :course_id, as: 'courseId' + property :creation_time, as: 'creationTime' + property :description, as: 'description' + property :due_date, as: 'dueDate', class: Google::Apis::ClassroomV1::Date, decorator: Google::Apis::ClassroomV1::Date::Representation + + property :due_time, as: 'dueTime', class: Google::Apis::ClassroomV1::TimeOfDay, decorator: Google::Apis::ClassroomV1::TimeOfDay::Representation + + property :id, as: 'id' + collection :materials, as: 'materials', class: Google::Apis::ClassroomV1::Material, decorator: Google::Apis::ClassroomV1::Material::Representation + + property :max_points, as: 'maxPoints' + property :multiple_choice_question, as: 'multipleChoiceQuestion', class: Google::Apis::ClassroomV1::MultipleChoiceQuestion, decorator: Google::Apis::ClassroomV1::MultipleChoiceQuestion::Representation + + property :scheduled_time, as: 'scheduledTime' + property :state, as: 'state' + property :submission_modification_mode, as: 'submissionModificationMode' + property :title, as: 'title' + property :update_time, as: 'updateTime' + property :work_type, as: 'workType' + end + end + + class Date + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :day, as: 'day' + property :month, as: 'month' + property :year, as: 'year' + end + end + + class DriveFile + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alternate_link, as: 'alternateLink' + property :id, as: 'id' + property :thumbnail_url, as: 'thumbnailUrl' + property :title, as: 'title' + end + end + + class DriveFolder + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alternate_link, as: 'alternateLink' + property :id, as: 'id' + property :title, as: 'title' end end @@ -303,52 +447,13 @@ module Google end end - class MultipleChoiceQuestion + class Form # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :choices, as: 'choices' - end - end - - class Course - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :update_time, as: 'updateTime' - property :calendar_id, as: 'calendarId' - property :alternate_link, as: 'alternateLink' - property :guardians_enabled, as: 'guardiansEnabled' - property :owner_id, as: 'ownerId' - property :course_state, as: 'courseState' - property :description, as: 'description' - property :teacher_group_email, as: 'teacherGroupEmail' - property :creation_time, as: 'creationTime' - property :teacher_folder, as: 'teacherFolder', class: Google::Apis::ClassroomV1::DriveFolder, decorator: Google::Apis::ClassroomV1::DriveFolder::Representation - - property :name, as: 'name' - property :section, as: 'section' - property :id, as: 'id' - property :room, as: 'room' - property :course_group_email, as: 'courseGroupEmail' - collection :course_material_sets, as: 'courseMaterialSets', class: Google::Apis::ClassroomV1::CourseMaterialSet, decorator: Google::Apis::ClassroomV1::CourseMaterialSet::Representation - - property :enrollment_code, as: 'enrollmentCode' - property :description_heading, as: 'descriptionHeading' - end - end - - class DriveFile - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :title, as: 'title' - property :alternate_link, as: 'alternateLink' + property :form_url, as: 'formUrl' + property :response_url, as: 'responseUrl' property :thumbnail_url, as: 'thumbnailUrl' - end - end - - class ReturnStudentSubmissionRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation + property :title, as: 'title' end end @@ -359,26 +464,135 @@ module Google end end - class Teacher + class GradeHistory + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :actor_user_id, as: 'actorUserId' + property :grade_change_type, as: 'gradeChangeType' + property :grade_timestamp, as: 'gradeTimestamp' + property :max_points, as: 'maxPoints' + property :points_earned, as: 'pointsEarned' + end + end + + class Guardian + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :guardian_id, as: 'guardianId' + property :guardian_profile, as: 'guardianProfile', class: Google::Apis::ClassroomV1::UserProfile, decorator: Google::Apis::ClassroomV1::UserProfile::Representation + + property :invited_email_address, as: 'invitedEmailAddress' + property :student_id, as: 'studentId' + end + end + + class GuardianInvitation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creation_time, as: 'creationTime' + property :invitation_id, as: 'invitationId' + property :invited_email_address, as: 'invitedEmailAddress' + property :state, as: 'state' + property :student_id, as: 'studentId' + end + end + + class Invitation # @private class Representation < Google::Apis::Core::JsonRepresentation property :course_id, as: 'courseId' - property :profile, as: 'profile', class: Google::Apis::ClassroomV1::UserProfile, decorator: Google::Apis::ClassroomV1::UserProfile::Representation - + property :id, as: 'id' + property :role, as: 'role' property :user_id, as: 'userId' end end - class ReclaimStudentSubmissionRequest + class Link # @private class Representation < Google::Apis::Core::JsonRepresentation + property :thumbnail_url, as: 'thumbnailUrl' + property :title, as: 'title' + property :url, as: 'url' end end - class AssignmentSubmission + class ListCourseAliasesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :attachments, as: 'attachments', class: Google::Apis::ClassroomV1::Attachment, decorator: Google::Apis::ClassroomV1::Attachment::Representation + collection :aliases, as: 'aliases', class: Google::Apis::ClassroomV1::CourseAlias, decorator: Google::Apis::ClassroomV1::CourseAlias::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListCourseWorkResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :course_work, as: 'courseWork', class: Google::Apis::ClassroomV1::CourseWork, decorator: Google::Apis::ClassroomV1::CourseWork::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListCoursesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :courses, as: 'courses', class: Google::Apis::ClassroomV1::Course, decorator: Google::Apis::ClassroomV1::Course::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListGuardianInvitationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :guardian_invitations, as: 'guardianInvitations', class: Google::Apis::ClassroomV1::GuardianInvitation, decorator: Google::Apis::ClassroomV1::GuardianInvitation::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListGuardiansResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :guardians, as: 'guardians', class: Google::Apis::ClassroomV1::Guardian, decorator: Google::Apis::ClassroomV1::Guardian::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListInvitationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :invitations, as: 'invitations', class: Google::Apis::ClassroomV1::Invitation, decorator: Google::Apis::ClassroomV1::Invitation::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListStudentSubmissionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :student_submissions, as: 'studentSubmissions', class: Google::Apis::ClassroomV1::StudentSubmission, decorator: Google::Apis::ClassroomV1::StudentSubmission::Representation + + end + end + + class ListStudentsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :students, as: 'students', class: Google::Apis::ClassroomV1::Student, decorator: Google::Apis::ClassroomV1::Student::Representation + + end + end + + class ListTeachersResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :teachers, as: 'teachers', class: Google::Apis::ClassroomV1::Teacher, decorator: Google::Apis::ClassroomV1::Teacher::Representation end end @@ -397,156 +611,6 @@ module Google end end - class CourseWork - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :associated_with_developer, as: 'associatedWithDeveloper' - collection :materials, as: 'materials', class: Google::Apis::ClassroomV1::Material, decorator: Google::Apis::ClassroomV1::Material::Representation - - property :update_time, as: 'updateTime' - property :alternate_link, as: 'alternateLink' - property :max_points, as: 'maxPoints' - property :assignment, as: 'assignment', class: Google::Apis::ClassroomV1::Assignment, decorator: Google::Apis::ClassroomV1::Assignment::Representation - - property :work_type, as: 'workType' - property :multiple_choice_question, as: 'multipleChoiceQuestion', class: Google::Apis::ClassroomV1::MultipleChoiceQuestion, decorator: Google::Apis::ClassroomV1::MultipleChoiceQuestion::Representation - - property :scheduled_time, as: 'scheduledTime' - property :description, as: 'description' - property :creation_time, as: 'creationTime' - property :due_date, as: 'dueDate', class: Google::Apis::ClassroomV1::Date, decorator: Google::Apis::ClassroomV1::Date::Representation - - property :submission_modification_mode, as: 'submissionModificationMode' - property :state, as: 'state' - property :course_id, as: 'courseId' - property :id, as: 'id' - property :due_time, as: 'dueTime', class: Google::Apis::ClassroomV1::TimeOfDay, decorator: Google::Apis::ClassroomV1::TimeOfDay::Representation - - property :title, as: 'title' - end - end - - class Guardian - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :invited_email_address, as: 'invitedEmailAddress' - property :guardian_id, as: 'guardianId' - property :guardian_profile, as: 'guardianProfile', class: Google::Apis::ClassroomV1::UserProfile, decorator: Google::Apis::ClassroomV1::UserProfile::Representation - - property :student_id, as: 'studentId' - end - end - - class ListStudentsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :students, as: 'students', class: Google::Apis::ClassroomV1::Student, decorator: Google::Apis::ClassroomV1::Student::Representation - - end - end - - class UserProfile - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :email_address, as: 'emailAddress' - property :photo_url, as: 'photoUrl' - collection :permissions, as: 'permissions', class: Google::Apis::ClassroomV1::GlobalPermission, decorator: Google::Apis::ClassroomV1::GlobalPermission::Representation - - property :name, as: 'name', class: Google::Apis::ClassroomV1::Name, decorator: Google::Apis::ClassroomV1::Name::Representation - - property :id, as: 'id' - property :verified_teacher, as: 'verifiedTeacher' - end - end - - class Student - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :student_work_folder, as: 'studentWorkFolder', class: Google::Apis::ClassroomV1::DriveFolder, decorator: Google::Apis::ClassroomV1::DriveFolder::Representation - - property :profile, as: 'profile', class: Google::Apis::ClassroomV1::UserProfile, decorator: Google::Apis::ClassroomV1::UserProfile::Representation - - property :user_id, as: 'userId' - property :course_id, as: 'courseId' - end - end - - class Invitation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :course_id, as: 'courseId' - property :id, as: 'id' - property :role, as: 'role' - property :user_id, as: 'userId' - end - end - - class DriveFolder - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :title, as: 'title' - property :alternate_link, as: 'alternateLink' - property :id, as: 'id' - end - end - - class ShortAnswerSubmission - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :answer, as: 'answer' - end - end - - class TurnInStudentSubmissionRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class ListStudentSubmissionsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :student_submissions, as: 'studentSubmissions', class: Google::Apis::ClassroomV1::StudentSubmission, decorator: Google::Apis::ClassroomV1::StudentSubmission::Representation - - end - end - - class StudentSubmission - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :course_work_id, as: 'courseWorkId' - property :course_id, as: 'courseId' - property :id, as: 'id' - property :assigned_grade, as: 'assignedGrade' - property :multiple_choice_submission, as: 'multipleChoiceSubmission', class: Google::Apis::ClassroomV1::MultipleChoiceSubmission, decorator: Google::Apis::ClassroomV1::MultipleChoiceSubmission::Representation - - property :assignment_submission, as: 'assignmentSubmission', class: Google::Apis::ClassroomV1::AssignmentSubmission, decorator: Google::Apis::ClassroomV1::AssignmentSubmission::Representation - - property :associated_with_developer, as: 'associatedWithDeveloper' - property :short_answer_submission, as: 'shortAnswerSubmission', class: Google::Apis::ClassroomV1::ShortAnswerSubmission, decorator: Google::Apis::ClassroomV1::ShortAnswerSubmission::Representation - - property :update_time, as: 'updateTime' - property :alternate_link, as: 'alternateLink' - property :late, as: 'late' - property :draft_grade, as: 'draftGrade' - property :course_work_type, as: 'courseWorkType' - property :creation_time, as: 'creationTime' - property :state, as: 'state' - property :user_id, as: 'userId' - end - end - - class ListCourseWorkResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :course_work, as: 'courseWork', class: Google::Apis::ClassroomV1::CourseWork, decorator: Google::Apis::ClassroomV1::CourseWork::Representation - - end - end - class ModifyAttachmentsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -555,146 +619,10 @@ module Google end end - class YouTubeVideo + class MultipleChoiceQuestion # @private class Representation < Google::Apis::Core::JsonRepresentation - property :alternate_link, as: 'alternateLink' - property :thumbnail_url, as: 'thumbnailUrl' - property :id, as: 'id' - property :title, as: 'title' - end - end - - class ListInvitationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :invitations, as: 'invitations', class: Google::Apis::ClassroomV1::Invitation, decorator: Google::Apis::ClassroomV1::Invitation::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class GuardianInvitation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :state, as: 'state' - property :student_id, as: 'studentId' - property :invited_email_address, as: 'invitedEmailAddress' - property :creation_time, as: 'creationTime' - property :invitation_id, as: 'invitationId' - end - end - - class Attachment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :link, as: 'link', class: Google::Apis::ClassroomV1::Link, decorator: Google::Apis::ClassroomV1::Link::Representation - - property :you_tube_video, as: 'youTubeVideo', class: Google::Apis::ClassroomV1::YouTubeVideo, decorator: Google::Apis::ClassroomV1::YouTubeVideo::Representation - - property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::DriveFile, decorator: Google::Apis::ClassroomV1::DriveFile::Representation - - property :form, as: 'form', class: Google::Apis::ClassroomV1::Form, decorator: Google::Apis::ClassroomV1::Form::Representation - - end - end - - class CourseMaterialSet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :materials, as: 'materials', class: Google::Apis::ClassroomV1::CourseMaterial, decorator: Google::Apis::ClassroomV1::CourseMaterial::Representation - - property :title, as: 'title' - end - end - - class TimeOfDay - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :seconds, as: 'seconds' - property :minutes, as: 'minutes' - property :hours, as: 'hours' - property :nanos, as: 'nanos' - end - end - - class ListCoursesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :courses, as: 'courses', class: Google::Apis::ClassroomV1::Course, decorator: Google::Apis::ClassroomV1::Course::Representation - - end - end - - class Form - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :thumbnail_url, as: 'thumbnailUrl' - property :response_url, as: 'responseUrl' - property :form_url, as: 'formUrl' - property :title, as: 'title' - end - end - - class ListTeachersResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :teachers, as: 'teachers', class: Google::Apis::ClassroomV1::Teacher, decorator: Google::Apis::ClassroomV1::Teacher::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class Link - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :thumbnail_url, as: 'thumbnailUrl' - property :url, as: 'url' - property :title, as: 'title' - end - end - - class ListGuardiansResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :guardians, as: 'guardians', class: Google::Apis::ClassroomV1::Guardian, decorator: Google::Apis::ClassroomV1::Guardian::Representation - - end - end - - class CourseAlias - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :alias, as: 'alias' - end - end - - class ListCourseAliasesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :aliases, as: 'aliases', class: Google::Apis::ClassroomV1::CourseAlias, decorator: Google::Apis::ClassroomV1::CourseAlias::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class ListGuardianInvitationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :guardian_invitations, as: 'guardianInvitations', class: Google::Apis::ClassroomV1::GuardianInvitation, decorator: Google::Apis::ClassroomV1::GuardianInvitation::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class Date - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :day, as: 'day' - property :year, as: 'year' - property :month, as: 'month' + collection :choices, as: 'choices' end end @@ -705,26 +633,148 @@ module Google end end - class CourseMaterial - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :you_tube_video, as: 'youTubeVideo', class: Google::Apis::ClassroomV1::YouTubeVideo, decorator: Google::Apis::ClassroomV1::YouTubeVideo::Representation - - property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::DriveFile, decorator: Google::Apis::ClassroomV1::DriveFile::Representation - - property :form, as: 'form', class: Google::Apis::ClassroomV1::Form, decorator: Google::Apis::ClassroomV1::Form::Representation - - property :link, as: 'link', class: Google::Apis::ClassroomV1::Link, decorator: Google::Apis::ClassroomV1::Link::Representation - - end - end - class Name # @private class Representation < Google::Apis::Core::JsonRepresentation property :family_name, as: 'familyName' - property :given_name, as: 'givenName' property :full_name, as: 'fullName' + property :given_name, as: 'givenName' + end + end + + class ReclaimStudentSubmissionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class ReturnStudentSubmissionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class SharedDriveFile + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::DriveFile, decorator: Google::Apis::ClassroomV1::DriveFile::Representation + + property :share_mode, as: 'shareMode' + end + end + + class ShortAnswerSubmission + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :answer, as: 'answer' + end + end + + class StateHistory + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :actor_user_id, as: 'actorUserId' + property :state, as: 'state' + property :state_timestamp, as: 'stateTimestamp' + end + end + + class Student + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :course_id, as: 'courseId' + property :profile, as: 'profile', class: Google::Apis::ClassroomV1::UserProfile, decorator: Google::Apis::ClassroomV1::UserProfile::Representation + + property :student_work_folder, as: 'studentWorkFolder', class: Google::Apis::ClassroomV1::DriveFolder, decorator: Google::Apis::ClassroomV1::DriveFolder::Representation + + property :user_id, as: 'userId' + end + end + + class StudentSubmission + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alternate_link, as: 'alternateLink' + property :assigned_grade, as: 'assignedGrade' + property :assignment_submission, as: 'assignmentSubmission', class: Google::Apis::ClassroomV1::AssignmentSubmission, decorator: Google::Apis::ClassroomV1::AssignmentSubmission::Representation + + property :associated_with_developer, as: 'associatedWithDeveloper' + property :course_id, as: 'courseId' + property :course_work_id, as: 'courseWorkId' + property :course_work_type, as: 'courseWorkType' + property :creation_time, as: 'creationTime' + property :draft_grade, as: 'draftGrade' + property :id, as: 'id' + property :late, as: 'late' + property :multiple_choice_submission, as: 'multipleChoiceSubmission', class: Google::Apis::ClassroomV1::MultipleChoiceSubmission, decorator: Google::Apis::ClassroomV1::MultipleChoiceSubmission::Representation + + property :short_answer_submission, as: 'shortAnswerSubmission', class: Google::Apis::ClassroomV1::ShortAnswerSubmission, decorator: Google::Apis::ClassroomV1::ShortAnswerSubmission::Representation + + property :state, as: 'state' + collection :submission_history, as: 'submissionHistory', class: Google::Apis::ClassroomV1::SubmissionHistory, decorator: Google::Apis::ClassroomV1::SubmissionHistory::Representation + + property :update_time, as: 'updateTime' + property :user_id, as: 'userId' + end + end + + class SubmissionHistory + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :grade_history, as: 'gradeHistory', class: Google::Apis::ClassroomV1::GradeHistory, decorator: Google::Apis::ClassroomV1::GradeHistory::Representation + + property :state_history, as: 'stateHistory', class: Google::Apis::ClassroomV1::StateHistory, decorator: Google::Apis::ClassroomV1::StateHistory::Representation + + end + end + + class Teacher + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :course_id, as: 'courseId' + property :profile, as: 'profile', class: Google::Apis::ClassroomV1::UserProfile, decorator: Google::Apis::ClassroomV1::UserProfile::Representation + + property :user_id, as: 'userId' + end + end + + class TimeOfDay + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :hours, as: 'hours' + property :minutes, as: 'minutes' + property :nanos, as: 'nanos' + property :seconds, as: 'seconds' + end + end + + class TurnInStudentSubmissionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class UserProfile + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :email_address, as: 'emailAddress' + property :id, as: 'id' + property :name, as: 'name', class: Google::Apis::ClassroomV1::Name, decorator: Google::Apis::ClassroomV1::Name::Representation + + collection :permissions, as: 'permissions', class: Google::Apis::ClassroomV1::GlobalPermission, decorator: Google::Apis::ClassroomV1::GlobalPermission::Representation + + property :photo_url, as: 'photoUrl' + property :verified_teacher, as: 'verifiedTeacher' + end + end + + class YouTubeVideo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alternate_link, as: 'alternateLink' + property :id, as: 'id' + property :thumbnail_url, as: 'thumbnailUrl' + property :title, as: 'title' end end end diff --git a/generated/google/apis/classroom_v1/service.rb b/generated/google/apis/classroom_v1/service.rb index 594e2380e..74fd71575 100644 --- a/generated/google/apis/classroom_v1/service.rb +++ b/generated/google/apis/classroom_v1/service.rb @@ -47,148 +47,19 @@ module Google @batch_path = 'batch' end - # Returns a list of invitations that the requesting user is permitted to - # view, restricted to those that match the list request. - # *Note:* At least one of `user_id` or `course_id` must be supplied. Both - # fields can be supplied. - # This method returns the following error codes: - # * `PERMISSION_DENIED` for access errors. - # @param [String] page_token - # nextPageToken - # value returned from a previous - # list call, indicating - # that the subsequent page of results should be returned. - # The list request must be - # otherwise identical to the one that resulted in this token. - # @param [String] user_id - # Restricts returned invitations to those for a specific user. The identifier - # can be one of the following: - # * the numeric identifier for the user - # * the email address of the user - # * the string literal `"me"`, indicating the requesting user - # @param [Fixnum] page_size - # Maximum number of items to return. Zero means no maximum. - # The server may return fewer than the specified number of results. - # @param [String] course_id - # Restricts returned invitations to those for a course with the specified - # identifier. - # @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::ClassroomV1::ListInvitationsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::ListInvitationsResponse] - # - # @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_invitations(page_token: nil, user_id: nil, page_size: nil, course_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/invitations', options) - command.response_representation = Google::Apis::ClassroomV1::ListInvitationsResponse::Representation - command.response_class = Google::Apis::ClassroomV1::ListInvitationsResponse - command.query['pageToken'] = page_token unless page_token.nil? - command.query['userId'] = user_id unless user_id.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['courseId'] = course_id unless course_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 - - # Returns an invitation. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if the requesting user is not permitted to view the - # requested invitation or for access errors. - # * `NOT_FOUND` if no invitation exists with the requested ID. - # @param [String] id - # Identifier of the invitation 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::Invitation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::Invitation] - # - # @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_invitation(id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/invitations/{id}', options) - command.response_representation = Google::Apis::ClassroomV1::Invitation::Representation - command.response_class = Google::Apis::ClassroomV1::Invitation - command.params['id'] = id unless 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 - - # Creates an invitation. Only one invitation for a user and course may exist - # at a time. Delete and re-create an invitation to make changes. + # Creates a course. + # The user specified in `ownerId` is the owner of the created course + # and added as a teacher. # This method returns the following error codes: # * `PERMISSION_DENIED` if the requesting user is not permitted to create - # invitations for this course or for access errors. - # * `NOT_FOUND` if the course or the user does not exist. - # * `FAILED_PRECONDITION` if the requested user's account is disabled or if - # the user already has this role or a role with greater permissions. - # * `ALREADY_EXISTS` if an invitation for the specified user and course - # already exists. - # @param [Google::Apis::ClassroomV1::Invitation] invitation_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::ClassroomV1::Invitation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::Invitation] - # - # @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_invitation(invitation_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/invitations', options) - command.request_representation = Google::Apis::ClassroomV1::Invitation::Representation - command.request_object = invitation_object - command.response_representation = Google::Apis::ClassroomV1::Invitation::Representation - command.response_class = Google::Apis::ClassroomV1::Invitation - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Accepts an invitation, removing it and adding the invited user to the - # teachers or students (as appropriate) of the specified course. Only the - # invited user may accept an invitation. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if the requesting user is not permitted to accept the - # requested invitation or for access errors. - # * `FAILED_PRECONDITION` for the following request errors: - # * CourseMemberLimitReached - # * CourseNotModifiable - # * CourseTeacherLimitReached + # courses or for access errors. + # * `NOT_FOUND` if the primary teacher is not a valid user. + # * `FAILED_PRECONDITION` if the course owner's account is disabled or for + # the following request errors: # * UserGroupsMembershipLimitReached - # * `NOT_FOUND` if no invitation exists with the requested ID. - # @param [String] id - # Identifier of the invitation to accept. + # * `ALREADY_EXISTS` if an alias was specified in the `id` and + # already exists. + # @param [Google::Apis::ClassroomV1::Course] course_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -198,31 +69,34 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object + # @yieldparam result [Google::Apis::ClassroomV1::Course] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::ClassroomV1::Empty] + # @return [Google::Apis::ClassroomV1::Course] # # @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 accept_invitation(id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/invitations/{id}:accept', options) - command.response_representation = Google::Apis::ClassroomV1::Empty::Representation - command.response_class = Google::Apis::ClassroomV1::Empty - command.params['id'] = id unless id.nil? + def create_course(course_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/courses', options) + command.request_representation = Google::Apis::ClassroomV1::Course::Representation + command.request_object = course_object + command.response_representation = Google::Apis::ClassroomV1::Course::Representation + command.response_class = Google::Apis::ClassroomV1::Course command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Deletes an invitation. + # Deletes a course. # This method returns the following error codes: # * `PERMISSION_DENIED` if the requesting user is not permitted to delete the - # requested invitation or for access errors. - # * `NOT_FOUND` if no invitation exists with the requested ID. + # requested course or for access errors. + # * `NOT_FOUND` if no course exists with the requested ID. # @param [String] id - # Identifier of the invitation to delete. + # Identifier of the course to delete. + # This identifier can be either the Classroom-assigned identifier or an + # alias. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -240,8 +114,8 @@ 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 delete_invitation(id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/invitations/{id}', options) + def delete_course(id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/courses/{id}', options) command.response_representation = Google::Apis::ClassroomV1::Empty::Representation command.response_class = Google::Apis::ClassroomV1::Empty command.params['id'] = id unless id.nil? @@ -250,443 +124,6 @@ module Google execute_or_queue_command(command, &block) end - # Returns a user profile. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if the requesting user is not permitted to access - # this user profile, if no profile exists with the requested ID, or for - # access errors. - # @param [String] user_id - # Identifier of the profile to return. The identifier can be one of the - # following: - # * the numeric identifier for the user - # * the email address of the user - # * the string literal `"me"`, indicating the requesting user - # @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::ClassroomV1::UserProfile] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::UserProfile] - # - # @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_user_profile(user_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/userProfiles/{userId}', options) - command.response_representation = Google::Apis::ClassroomV1::UserProfile::Representation - command.response_class = Google::Apis::ClassroomV1::UserProfile - command.params['userId'] = user_id unless user_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 - - # Modifies a guardian invitation. - # Currently, the only valid modification is to change the `state` from - # `PENDING` to `COMPLETE`. This has the effect of withdrawing the invitation. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if the current user does not have permission to - # manage guardians, if guardians are not enabled for the domain in question - # or for other access errors. - # * `FAILED_PRECONDITION` if the guardian link is not in the `PENDING` state. - # * `INVALID_ARGUMENT` if the format of the student ID provided - # cannot be recognized (it is not an email address, nor a `user_id` from - # this API), or if the passed `GuardianInvitation` has a `state` other than - # `COMPLETE`, or if it modifies fields other than `state`. - # * `NOT_FOUND` if the student ID provided is a valid student ID, but - # Classroom has no record of that student, or if the `id` field does not - # refer to a guardian invitation known to Classroom. - # @param [String] student_id - # The ID of the student whose guardian invitation is to be modified. - # @param [String] invitation_id - # The `id` field of the `GuardianInvitation` to be modified. - # @param [Google::Apis::ClassroomV1::GuardianInvitation] guardian_invitation_object - # @param [String] update_mask - # Mask that identifies which fields on the course to update. - # This field is required to do an update. The update will fail if invalid - # fields are specified. The following fields are valid: - # * `state` - # When set in a query parameter, this field should be specified as - # `updateMask=,,...` - # @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::ClassroomV1::GuardianInvitation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::GuardianInvitation] - # - # @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_user_profile_guardian_invitation(student_id, invitation_id, guardian_invitation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/userProfiles/{studentId}/guardianInvitations/{invitationId}', options) - command.request_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation - command.request_object = guardian_invitation_object - command.response_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation - command.response_class = Google::Apis::ClassroomV1::GuardianInvitation - command.params['studentId'] = student_id unless student_id.nil? - command.params['invitationId'] = invitation_id unless invitation_id.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 - - # Returns a specific guardian invitation. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if the requesting user is not permitted to view - # guardian invitations for the student identified by the `student_id`, if - # guardians are not enabled for the domain in question, or for other - # access errors. - # * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot - # be recognized (it is not an email address, nor a `student_id` from the - # API, nor the literal string `me`). - # * `NOT_FOUND` if Classroom cannot find any record of the given student or - # `invitation_id`. May also be returned if the student exists, but the - # requesting user does not have access to see that student. - # @param [String] student_id - # The ID of the student whose guardian invitation is being requested. - # @param [String] invitation_id - # The `id` field of the `GuardianInvitation` being requested. - # @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::ClassroomV1::GuardianInvitation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::GuardianInvitation] - # - # @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_user_profile_guardian_invitation(student_id, invitation_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardianInvitations/{invitationId}', options) - command.response_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation - command.response_class = Google::Apis::ClassroomV1::GuardianInvitation - command.params['studentId'] = student_id unless student_id.nil? - command.params['invitationId'] = invitation_id unless invitation_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 - - # Returns a list of guardian invitations that the requesting user is - # permitted to view, filtered by the parameters provided. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if a `student_id` is specified, and the requesting - # user is not permitted to view guardian invitations for that student, if - # `"-"` is specified as the `student_id` and the user is not a domain - # administrator, if guardians are not enabled for the domain in question, - # or for other access errors. - # * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot - # be recognized (it is not an email address, nor a `student_id` from the - # API, nor the literal string `me`). May also be returned if an invalid - # `page_token` or `state` is provided. - # * `NOT_FOUND` if a `student_id` is specified, and its format can be - # recognized, but Classroom has no record of that student. - # @param [String] student_id - # The ID of the student whose guardian invitations are to be returned. - # The identifier can be one of the following: - # * the numeric identifier for the user - # * the email address of the user - # * the string literal `"me"`, indicating the requesting user - # * the string literal `"-"`, indicating that results should be returned for - # all students that the requesting user is permitted to view guardian - # invitations. - # @param [String] page_token - # nextPageToken - # value returned from a previous - # list call, - # indicating that the subsequent page of results should be returned. - # The list request - # must be otherwise identical to the one that resulted in this token. - # @param [Fixnum] page_size - # Maximum number of items to return. Zero or unspecified indicates that the - # server may assign a maximum. - # The server may return fewer than the specified number of results. - # @param [Array, String] states - # If specified, only results with the specified `state` values will be - # returned. Otherwise, results with a `state` of `PENDING` will be returned. - # @param [String] invited_email_address - # If specified, only results with the specified `invited_email_address` - # will be returned. - # @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::ClassroomV1::ListGuardianInvitationsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::ListGuardianInvitationsResponse] - # - # @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_user_profile_guardian_invitations(student_id, page_token: nil, page_size: nil, states: nil, invited_email_address: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardianInvitations', options) - command.response_representation = Google::Apis::ClassroomV1::ListGuardianInvitationsResponse::Representation - command.response_class = Google::Apis::ClassroomV1::ListGuardianInvitationsResponse - command.params['studentId'] = student_id unless student_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['states'] = states unless states.nil? - command.query['invitedEmailAddress'] = invited_email_address unless invited_email_address.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Creates a guardian invitation, and sends an email to the guardian asking - # them to confirm that they are the student's guardian. - # Once the guardian accepts the invitation, their `state` will change to - # `COMPLETED` and they will start receiving guardian notifications. A - # `Guardian` resource will also be created to represent the active guardian. - # The request object must have the `student_id` and - # `invited_email_address` fields set. Failing to set these fields, or - # setting any other fields in the request, will result in an error. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if the current user does not have permission to - # manage guardians, if the guardian in question has already rejected - # too many requests for that student, if guardians are not enabled for the - # domain in question, or for other access errors. - # * `RESOURCE_EXHAUSTED` if the student or guardian has exceeded the guardian - # link limit. - # * `INVALID_ARGUMENT` if the guardian email address is not valid (for - # example, if it is too long), or if the format of the student ID provided - # cannot be recognized (it is not an email address, nor a `user_id` from - # this API). This error will also be returned if read-only fields are set, - # or if the `state` field is set to to a value other than `PENDING`. - # * `NOT_FOUND` if the student ID provided is a valid student ID, but - # Classroom has no record of that student. - # * `ALREADY_EXISTS` if there is already a pending guardian invitation for - # the student and `invited_email_address` provided, or if the provided - # `invited_email_address` matches the Google account of an existing - # `Guardian` for this user. - # @param [String] student_id - # ID of the student (in standard format) - # @param [Google::Apis::ClassroomV1::GuardianInvitation] guardian_invitation_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::ClassroomV1::GuardianInvitation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::GuardianInvitation] - # - # @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_user_profile_guardian_invitation(student_id, guardian_invitation_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/userProfiles/{studentId}/guardianInvitations', options) - command.request_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation - command.request_object = guardian_invitation_object - command.response_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation - command.response_class = Google::Apis::ClassroomV1::GuardianInvitation - command.params['studentId'] = student_id unless student_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 - - # Returns a specific guardian. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if no user that matches the provided `student_id` - # is visible to the requesting user, if the requesting user is not - # permitted to view guardian information for the student identified by the - # `student_id`, if guardians are not enabled for the domain in question, - # or for other access errors. - # * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot - # be recognized (it is not an email address, nor a `student_id` from the - # API, nor the literal string `me`). - # * `NOT_FOUND` if the requesting user is permitted to view guardians for - # the requested `student_id`, but no `Guardian` record exists for that - # student that matches the provided `guardian_id`. - # @param [String] student_id - # The student whose guardian is being requested. One of the following: - # * the numeric identifier for the user - # * the email address of the user - # * the string literal `"me"`, indicating the requesting user - # @param [String] guardian_id - # The `id` field from a `Guardian`. - # @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::ClassroomV1::Guardian] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::Guardian] - # - # @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_user_profile_guardian(student_id, guardian_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardians/{guardianId}', options) - command.response_representation = Google::Apis::ClassroomV1::Guardian::Representation - command.response_class = Google::Apis::ClassroomV1::Guardian - command.params['studentId'] = student_id unless student_id.nil? - command.params['guardianId'] = guardian_id unless guardian_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 - - # Returns a list of guardians that the requesting user is permitted to - # view, restricted to those that match the request. - # To list guardians for any student that the requesting user may view - # guardians for, use the literal character `-` for the student ID. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if a `student_id` is specified, and the requesting - # user is not permitted to view guardian information for that student, if - # `"-"` is specified as the `student_id` and the user is not a domain - # administrator, if guardians are not enabled for the domain in question, - # if the `invited_email_address` filter is set by a user who is not a - # domain administrator, or for other access errors. - # * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot - # be recognized (it is not an email address, nor a `student_id` from the - # API, nor the literal string `me`). May also be returned if an invalid - # `page_token` is provided. - # * `NOT_FOUND` if a `student_id` is specified, and its format can be - # recognized, but Classroom has no record of that student. - # @param [String] student_id - # Filter results by the student who the guardian is linked to. - # The identifier can be one of the following: - # * the numeric identifier for the user - # * the email address of the user - # * the string literal `"me"`, indicating the requesting user - # * the string literal `"-"`, indicating that results should be returned for - # all students that the requesting user has access to view. - # @param [String] page_token - # nextPageToken - # value returned from a previous - # list call, - # indicating that the subsequent page of results should be returned. - # The list request - # must be otherwise identical to the one that resulted in this token. - # @param [Fixnum] page_size - # Maximum number of items to return. Zero or unspecified indicates that the - # server may assign a maximum. - # The server may return fewer than the specified number of results. - # @param [String] invited_email_address - # Filter results by the email address that the original invitation was sent - # to, resulting in this guardian link. - # This filter can only be used by domain administrators. - # @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::ClassroomV1::ListGuardiansResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::ListGuardiansResponse] - # - # @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_user_profile_guardians(student_id, page_token: nil, page_size: nil, invited_email_address: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardians', options) - command.response_representation = Google::Apis::ClassroomV1::ListGuardiansResponse::Representation - command.response_class = Google::Apis::ClassroomV1::ListGuardiansResponse - command.params['studentId'] = student_id unless student_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['invitedEmailAddress'] = invited_email_address unless invited_email_address.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 guardian. - # The guardian will no longer receive guardian notifications and the guardian - # will no longer be accessible via the API. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if no user that matches the provided `student_id` - # is visible to the requesting user, if the requesting user is not - # permitted to manage guardians for the student identified by the - # `student_id`, if guardians are not enabled for the domain in question, - # or for other access errors. - # * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot - # be recognized (it is not an email address, nor a `student_id` from the - # API). - # * `NOT_FOUND` if the requesting user is permitted to modify guardians for - # the requested `student_id`, but no `Guardian` record exists for that - # student with the provided `guardian_id`. - # @param [String] student_id - # The student whose guardian is to be deleted. One of the following: - # * the numeric identifier for the user - # * the email address of the user - # * the string literal `"me"`, indicating the requesting user - # @param [String] guardian_id - # The `id` field from a `Guardian`. - # @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::ClassroomV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::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_user_profile_guardian(student_id, guardian_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/userProfiles/{studentId}/guardians/{guardianId}', options) - command.response_representation = Google::Apis::ClassroomV1::Empty::Representation - command.response_class = Google::Apis::ClassroomV1::Empty - command.params['studentId'] = student_id unless student_id.nil? - command.params['guardianId'] = guardian_id unless guardian_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 - # Returns a course. # This method returns the following error codes: # * `PERMISSION_DENIED` if the requesting user is not permitted to access the @@ -723,6 +160,70 @@ module Google execute_or_queue_command(command, &block) end + # Returns a list of courses that the requesting user is permitted to view, + # restricted to those that match the request. Returned courses are ordered by + # creation time, with the most recently created coming first. + # This method returns the following error codes: + # * `PERMISSION_DENIED` for access errors. + # * `INVALID_ARGUMENT` if the query argument is malformed. + # * `NOT_FOUND` if any users specified in the query arguments do not exist. + # @param [Array, String] course_states + # Restricts returned courses to those in one of the specified states + # The default value is ACTIVE, ARCHIVED, PROVISIONED, DECLINED. + # @param [Fixnum] page_size + # Maximum number of items to return. Zero or unspecified indicates that the + # server may assign a maximum. + # The server may return fewer than the specified number of results. + # @param [String] page_token + # nextPageToken + # value returned from a previous + # list call, + # indicating that the subsequent page of results should be returned. + # The list request must be + # otherwise identical to the one that resulted in this token. + # @param [String] student_id + # Restricts returned courses to those having a student with the specified + # identifier. The identifier can be one of the following: + # * the numeric identifier for the user + # * the email address of the user + # * the string literal `"me"`, indicating the requesting user + # @param [String] teacher_id + # Restricts returned courses to those having a teacher with the specified + # identifier. The identifier can be one of the following: + # * the numeric identifier for the user + # * the email address of the user + # * the string literal `"me"`, indicating the requesting user + # @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::ClassroomV1::ListCoursesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::ListCoursesResponse] + # + # @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_courses(course_states: nil, page_size: nil, page_token: nil, student_id: nil, teacher_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/courses', options) + command.response_representation = Google::Apis::ClassroomV1::ListCoursesResponse::Representation + command.response_class = Google::Apis::ClassroomV1::ListCoursesResponse + command.query['courseStates'] = course_states unless course_states.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['studentId'] = student_id unless student_id.nil? + command.query['teacherId'] = teacher_id unless teacher_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 + # Updates one or more fields in a course. # This method returns the following error codes: # * `PERMISSION_DENIED` if the requesting user is not permitted to modify the @@ -747,6 +248,10 @@ module Google # * `description` # * `room` # * `courseState` + # * `ownerId` + # Note: patches to ownerId are treated as being effective immediately, but in + # practice it may take some time for the ownership transfer of all affected + # resources to complete. # When set in a query parameter, this field should be specified as # `updateMask=,,...` # @param [String] fields @@ -820,146 +325,6 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a course. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if the requesting user is not permitted to delete the - # requested course or for access errors. - # * `NOT_FOUND` if no course exists with the requested ID. - # @param [String] id - # Identifier of the course to delete. - # This identifier can be either the Classroom-assigned identifier or an - # alias. - # @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::ClassroomV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::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_course(id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/courses/{id}', options) - command.response_representation = Google::Apis::ClassroomV1::Empty::Representation - command.response_class = Google::Apis::ClassroomV1::Empty - command.params['id'] = id unless 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 - - # Returns a list of courses that the requesting user is permitted to view, - # restricted to those that match the request. - # This method returns the following error codes: - # * `PERMISSION_DENIED` for access errors. - # * `INVALID_ARGUMENT` if the query argument is malformed. - # * `NOT_FOUND` if any users specified in the query arguments do not exist. - # @param [String] student_id - # Restricts returned courses to those having a student with the specified - # identifier. The identifier can be one of the following: - # * the numeric identifier for the user - # * the email address of the user - # * the string literal `"me"`, indicating the requesting user - # @param [String] page_token - # nextPageToken - # value returned from a previous - # list call, - # indicating that the subsequent page of results should be returned. - # The list request must be - # otherwise identical to the one that resulted in this token. - # @param [Fixnum] page_size - # Maximum number of items to return. Zero or unspecified indicates that the - # server may assign a maximum. - # The server may return fewer than the specified number of results. - # @param [Array, String] course_states - # Restricts returned courses to those in one of the specified states - # The default value is ACTIVE, ARCHIVED, PROVISIONED, DECLINED. - # @param [String] teacher_id - # Restricts returned courses to those having a teacher with the specified - # identifier. The identifier can be one of the following: - # * the numeric identifier for the user - # * the email address of the user - # * the string literal `"me"`, indicating the requesting user - # @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::ClassroomV1::ListCoursesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::ListCoursesResponse] - # - # @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_courses(student_id: nil, page_token: nil, page_size: nil, course_states: nil, teacher_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/courses', options) - command.response_representation = Google::Apis::ClassroomV1::ListCoursesResponse::Representation - command.response_class = Google::Apis::ClassroomV1::ListCoursesResponse - command.query['studentId'] = student_id unless student_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['courseStates'] = course_states unless course_states.nil? - command.query['teacherId'] = teacher_id unless teacher_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 - - # Creates a course. - # The user specified in `ownerId` is the owner of the created course - # and added as a teacher. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if the requesting user is not permitted to create - # courses or for access errors. - # * `NOT_FOUND` if the primary teacher is not a valid user. - # * `FAILED_PRECONDITION` if the course owner's account is disabled or for - # the following request errors: - # * UserGroupsMembershipLimitReached - # * `ALREADY_EXISTS` if an alias was specified in the `id` and - # already exists. - # @param [Google::Apis::ClassroomV1::Course] course_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::ClassroomV1::Course] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::Course] - # - # @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_course(course_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/courses', options) - command.request_representation = Google::Apis::ClassroomV1::Course::Representation - command.request_object = course_object - command.response_representation = Google::Apis::ClassroomV1::Course::Representation - command.response_class = Google::Apis::ClassroomV1::Course - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Creates an alias for a course. # This method returns the following error codes: # * `PERMISSION_DENIED` if the requesting user is not permitted to create the @@ -1055,6 +420,10 @@ module Google # The identifier of the course. # This identifier can be either the Classroom-assigned identifier or an # alias. + # @param [Fixnum] page_size + # Maximum number of items to return. Zero or unspecified indicates that the + # server may assign a maximum. + # The server may return fewer than the specified number of results. # @param [String] page_token # nextPageToken # value returned from a previous @@ -1062,10 +431,6 @@ module Google # indicating that the subsequent page of results should be returned. # The list request # must be otherwise identical to the one that resulted in this token. - # @param [Fixnum] page_size - # Maximum number of items to return. Zero or unspecified indicates that the - # server may assign a maximum. - # The server may return fewer than the specified number of results. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1083,13 +448,688 @@ 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_course_aliases(course_id, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_course_aliases(course_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/courses/{courseId}/aliases', options) command.response_representation = Google::Apis::ClassroomV1::ListCourseAliasesResponse::Representation command.response_class = Google::Apis::ClassroomV1::ListCourseAliasesResponse command.params['courseId'] = course_id unless course_id.nil? - command.query['pageToken'] = page_token unless page_token.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 + + # Creates course work. + # The resulting course work (and corresponding student submissions) are + # associated with the Developer Console project of the + # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to + # make the request. Classroom API requests to modify course work and student + # submissions must be made with an OAuth client ID from the associated + # Developer Console project. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if the requesting user is not permitted to access the + # requested course, create course work in the requested course, share a + # Drive attachment, or for access errors. + # * `INVALID_ARGUMENT` if the request is malformed. + # * `NOT_FOUND` if the requested course does not exist. + # * `FAILED_PRECONDITION` for the following request error: + # * AttachmentNotVisible + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [Google::Apis::ClassroomV1::CourseWork] course_work_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::ClassroomV1::CourseWork] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::CourseWork] + # + # @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_course_work(course_id, course_work_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork', options) + command.request_representation = Google::Apis::ClassroomV1::CourseWork::Representation + command.request_object = course_work_object + command.response_representation = Google::Apis::ClassroomV1::CourseWork::Representation + command.response_class = Google::Apis::ClassroomV1::CourseWork + command.params['courseId'] = course_id unless course_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 a course work. + # This request must be made by the Developer Console project of the + # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to + # create the corresponding course work item. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if the requesting developer project did not create + # the corresponding course work, if the requesting user is not permitted + # to delete the requested course or for access errors. + # * `FAILED_PRECONDITION` if the requested course work has already been + # deleted. + # * `NOT_FOUND` if no course exists with the requested ID. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] id + # Identifier of the course work to delete. + # This identifier is a Classroom-assigned identifier. + # @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::ClassroomV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::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_course_course_work(course_id, id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/courses/{courseId}/courseWork/{id}', options) + command.response_representation = Google::Apis::ClassroomV1::Empty::Representation + command.response_class = Google::Apis::ClassroomV1::Empty + command.params['courseId'] = course_id unless course_id.nil? + command.params['id'] = id unless 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 + + # Returns course work. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if the requesting user is not permitted to access the + # requested course or course work, or for access errors. + # * `INVALID_ARGUMENT` if the request is malformed. + # * `NOT_FOUND` if the requested course or course work does not exist. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] id + # Identifier of the course work. + # @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::ClassroomV1::CourseWork] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::CourseWork] + # + # @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_course_work(course_id, id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{id}', options) + command.response_representation = Google::Apis::ClassroomV1::CourseWork::Representation + command.response_class = Google::Apis::ClassroomV1::CourseWork + command.params['courseId'] = course_id unless course_id.nil? + command.params['id'] = id unless 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 + + # Returns a list of course work that the requester is permitted to view. + # Course students may only view `PUBLISHED` course work. Course teachers + # and domain administrators may view all course work. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if the requesting user is not permitted to access + # the requested course or for access errors. + # * `INVALID_ARGUMENT` if the request is malformed. + # * `NOT_FOUND` if the requested course does not exist. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [Array, String] course_work_states + # Restriction on the work status to return. Only courseWork that matches + # is returned. If unspecified, items with a work status of `PUBLISHED` + # is returned. + # @param [String] order_by + # Optional sort ordering for results. A comma-separated list of fields with + # an optional sort direction keyword. Supported fields are `updateTime` + # and `dueDate`. Supported direction keywords are `asc` and `desc`. + # If not specified, `updateTime desc` is the default behavior. + # Examples: `dueDate asc,updateTime desc`, `updateTime,dueDate desc` + # @param [Fixnum] page_size + # Maximum number of items to return. Zero or unspecified indicates that the + # server may assign a maximum. + # The server may return fewer than the specified number of results. + # @param [String] page_token + # nextPageToken + # value returned from a previous + # list call, + # indicating that the subsequent page of results should be returned. + # The list request + # must be otherwise identical to the one that resulted in this 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::ClassroomV1::ListCourseWorkResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::ListCourseWorkResponse] + # + # @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_course_works(course_id, course_work_states: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork', options) + command.response_representation = Google::Apis::ClassroomV1::ListCourseWorkResponse::Representation + command.response_class = Google::Apis::ClassroomV1::ListCourseWorkResponse + command.params['courseId'] = course_id unless course_id.nil? + command.query['courseWorkStates'] = course_work_states unless course_work_states.nil? + command.query['orderBy'] = order_by unless order_by.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 + + # Updates one or more fields of a course work. + # See google.classroom.v1.CourseWork for details + # of which fields may be updated and who may change them. + # This request must be made by the Developer Console project of the + # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to + # create the corresponding course work item. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if the requesting developer project did not create + # the corresponding course work, if the user is not permitted to make the + # requested modification to the student submission, or for + # access errors. + # * `INVALID_ARGUMENT` if the request is malformed. + # * `FAILED_PRECONDITION` if the requested course work has already been + # deleted. + # * `NOT_FOUND` if the requested course, course work, or student submission + # does not exist. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] id + # Identifier of the course work. + # @param [Google::Apis::ClassroomV1::CourseWork] course_work_object + # @param [String] update_mask + # Mask that identifies which fields on the course work to update. + # This field is required to do an update. The update fails if invalid + # fields are specified. If a field supports empty values, it can be cleared + # by specifying it in the update mask and not in the CourseWork object. If a + # field that does not support empty values is included in the update mask and + # not set in the CourseWork object, an `INVALID_ARGUMENT` error will be + # returned. + # The following fields may be specified by teachers: + # * `title` + # * `description` + # * `state` + # * `due_date` + # * `due_time` + # * `max_points` + # * `scheduled_time` + # * `submission_modification_mode` + # @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::ClassroomV1::CourseWork] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::CourseWork] + # + # @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_course_course_work(course_id, id, course_work_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/courses/{courseId}/courseWork/{id}', options) + command.request_representation = Google::Apis::ClassroomV1::CourseWork::Representation + command.request_object = course_work_object + command.response_representation = Google::Apis::ClassroomV1::CourseWork::Representation + command.response_class = Google::Apis::ClassroomV1::CourseWork + command.params['courseId'] = course_id unless course_id.nil? + command.params['id'] = id unless id.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 + + # Returns a student submission. + # * `PERMISSION_DENIED` if the requesting user is not permitted to access the + # requested course, course work, or student submission or for + # access errors. + # * `INVALID_ARGUMENT` if the request is malformed. + # * `NOT_FOUND` if the requested course, course work, or student submission + # does not exist. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] course_work_id + # Identifier of the course work. + # @param [String] id + # Identifier of the student submission. + # @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::ClassroomV1::StudentSubmission] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::StudentSubmission] + # + # @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_student_submission(course_id, course_work_id, id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}', options) + command.response_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation + command.response_class = Google::Apis::ClassroomV1::StudentSubmission + command.params['courseId'] = course_id unless course_id.nil? + command.params['courseWorkId'] = course_work_id unless course_work_id.nil? + command.params['id'] = id unless 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 + + # Returns a list of student submissions that the requester is permitted to + # view, factoring in the OAuth scopes of the request. + # `-` may be specified as the `course_work_id` to include student + # submissions for multiple course work items. + # Course students may only view their own work. Course teachers + # and domain administrators may view all student submissions. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if the requesting user is not permitted to access the + # requested course or course work, or for access errors. + # * `INVALID_ARGUMENT` if the request is malformed. + # * `NOT_FOUND` if the requested course does not exist. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] course_work_id + # Identifier of the student work to request. + # This may be set to the string literal `"-"` to request student work for + # all course work in the specified course. + # @param [String] late + # Requested lateness value. If specified, returned student submissions are + # restricted by the requested value. + # If unspecified, submissions are returned regardless of `late` value. + # @param [Fixnum] page_size + # Maximum number of items to return. Zero or unspecified indicates that the + # server may assign a maximum. + # The server may return fewer than the specified number of results. + # @param [String] page_token + # nextPageToken + # value returned from a previous + # list call, + # indicating that the subsequent page of results should be returned. + # The list request + # must be otherwise identical to the one that resulted in this token. + # @param [Array, String] states + # Requested submission states. If specified, returned student submissions + # match one of the specified submission states. + # @param [String] user_id + # Optional argument to restrict returned student work to those owned by the + # student with the specified identifier. The identifier can be one of the + # following: + # * the numeric identifier for the user + # * the email address of the user + # * the string literal `"me"`, indicating the requesting user + # @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::ClassroomV1::ListStudentSubmissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::ListStudentSubmissionsResponse] + # + # @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_student_submissions(course_id, course_work_id, late: nil, page_size: nil, page_token: nil, states: nil, user_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions', options) + command.response_representation = Google::Apis::ClassroomV1::ListStudentSubmissionsResponse::Representation + command.response_class = Google::Apis::ClassroomV1::ListStudentSubmissionsResponse + command.params['courseId'] = course_id unless course_id.nil? + command.params['courseWorkId'] = course_work_id unless course_work_id.nil? + command.query['late'] = late unless late.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['states'] = states unless states.nil? + command.query['userId'] = user_id unless user_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 + + # Modifies attachments of student submission. + # Attachments may only be added to student submissions belonging to course + # work objects with a `workType` of `ASSIGNMENT`. + # This request must be made by the Developer Console project of the + # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to + # create the corresponding course work item. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if the requesting user is not permitted to access the + # requested course or course work, if the user is not permitted to modify + # attachments on the requested student submission, or for + # access errors. + # * `INVALID_ARGUMENT` if the request is malformed. + # * `NOT_FOUND` if the requested course, course work, or student submission + # does not exist. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] course_work_id + # Identifier of the course work. + # @param [String] id + # Identifier of the student submission. + # @param [Google::Apis::ClassroomV1::ModifyAttachmentsRequest] modify_attachments_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::ClassroomV1::StudentSubmission] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::StudentSubmission] + # + # @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 modify_student_submission_attachments(course_id, course_work_id, id, modify_attachments_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:modifyAttachments', options) + command.request_representation = Google::Apis::ClassroomV1::ModifyAttachmentsRequest::Representation + command.request_object = modify_attachments_request_object + command.response_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation + command.response_class = Google::Apis::ClassroomV1::StudentSubmission + command.params['courseId'] = course_id unless course_id.nil? + command.params['courseWorkId'] = course_work_id unless course_work_id.nil? + command.params['id'] = id unless 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 + + # Updates one or more fields of a student submission. + # See google.classroom.v1.StudentSubmission for details + # of which fields may be updated and who may change them. + # This request must be made by the Developer Console project of the + # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to + # create the corresponding course work item. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if the requesting developer project did not create + # the corresponding course work, if the user is not permitted to make the + # requested modification to the student submission, or for + # access errors. + # * `INVALID_ARGUMENT` if the request is malformed. + # * `NOT_FOUND` if the requested course, course work, or student submission + # does not exist. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] course_work_id + # Identifier of the course work. + # @param [String] id + # Identifier of the student submission. + # @param [Google::Apis::ClassroomV1::StudentSubmission] student_submission_object + # @param [String] update_mask + # Mask that identifies which fields on the student submission to update. + # This field is required to do an update. The update fails if invalid + # fields are specified. + # The following fields may be specified by teachers: + # * `draft_grade` + # * `assigned_grade` + # @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::ClassroomV1::StudentSubmission] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::StudentSubmission] + # + # @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_student_submission(course_id, course_work_id, id, student_submission_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}', options) + command.request_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation + command.request_object = student_submission_object + command.response_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation + command.response_class = Google::Apis::ClassroomV1::StudentSubmission + command.params['courseId'] = course_id unless course_id.nil? + command.params['courseWorkId'] = course_work_id unless course_work_id.nil? + command.params['id'] = id unless id.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 + + # Reclaims a student submission on behalf of the student that owns it. + # Reclaiming a student submission transfers ownership of attached Drive + # files to the student and update the submission state. + # Only the student that owns the requested student submission may call this + # method, and only for a student submission that has been turned in. + # This request must be made by the Developer Console project of the + # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to + # create the corresponding course work item. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if the requesting user is not permitted to access the + # requested course or course work, unsubmit the requested student submission, + # or for access errors. + # * `FAILED_PRECONDITION` if the student submission has not been turned in. + # * `INVALID_ARGUMENT` if the request is malformed. + # * `NOT_FOUND` if the requested course, course work, or student submission + # does not exist. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] course_work_id + # Identifier of the course work. + # @param [String] id + # Identifier of the student submission. + # @param [Google::Apis::ClassroomV1::ReclaimStudentSubmissionRequest] reclaim_student_submission_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::ClassroomV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::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 reclaim_student_submission(course_id, course_work_id, id, reclaim_student_submission_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:reclaim', options) + command.request_representation = Google::Apis::ClassroomV1::ReclaimStudentSubmissionRequest::Representation + command.request_object = reclaim_student_submission_request_object + command.response_representation = Google::Apis::ClassroomV1::Empty::Representation + command.response_class = Google::Apis::ClassroomV1::Empty + command.params['courseId'] = course_id unless course_id.nil? + command.params['courseWorkId'] = course_work_id unless course_work_id.nil? + command.params['id'] = id unless 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 + + # Returns a student submission. + # Returning a student submission transfers ownership of attached Drive + # files to the student and may also update the submission state. + # Unlike the Classroom application, returning a student submission does not + # set assignedGrade to the draftGrade value. + # Only a teacher of the course that contains the requested student submission + # may call this method. + # This request must be made by the Developer Console project of the + # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to + # create the corresponding course work item. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if the requesting user is not permitted to access the + # requested course or course work, return the requested student submission, + # or for access errors. + # * `INVALID_ARGUMENT` if the request is malformed. + # * `NOT_FOUND` if the requested course, course work, or student submission + # does not exist. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] course_work_id + # Identifier of the course work. + # @param [String] id + # Identifier of the student submission. + # @param [Google::Apis::ClassroomV1::ReturnStudentSubmissionRequest] return_student_submission_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::ClassroomV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::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 return_student_submission(course_id, course_work_id, id, return_student_submission_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:return', options) + command.request_representation = Google::Apis::ClassroomV1::ReturnStudentSubmissionRequest::Representation + command.request_object = return_student_submission_request_object + command.response_representation = Google::Apis::ClassroomV1::Empty::Representation + command.response_class = Google::Apis::ClassroomV1::Empty + command.params['courseId'] = course_id unless course_id.nil? + command.params['courseWorkId'] = course_work_id unless course_work_id.nil? + command.params['id'] = id unless 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 + + # Turns in a student submission. + # Turning in a student submission transfers ownership of attached Drive + # files to the teacher and may also update the submission state. + # This may only be called by the student that owns the specified student + # submission. + # This request must be made by the Developer Console project of the + # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to + # create the corresponding course work item. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if the requesting user is not permitted to access the + # requested course or course work, turn in the requested student submission, + # or for access errors. + # * `INVALID_ARGUMENT` if the request is malformed. + # * `NOT_FOUND` if the requested course, course work, or student submission + # does not exist. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] course_work_id + # Identifier of the course work. + # @param [String] id + # Identifier of the student submission. + # @param [Google::Apis::ClassroomV1::TurnInStudentSubmissionRequest] turn_in_student_submission_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::ClassroomV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::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 turn_in_student_submission(course_id, course_work_id, id, turn_in_student_submission_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:turnIn', options) + command.request_representation = Google::Apis::ClassroomV1::TurnInStudentSubmissionRequest::Representation + command.request_object = turn_in_student_submission_request_object + command.response_representation = Google::Apis::ClassroomV1::Empty::Representation + command.response_class = Google::Apis::ClassroomV1::Empty + command.params['courseId'] = course_id unless course_id.nil? + command.params['courseWorkId'] = course_work_id unless course_work_id.nil? + command.params['id'] = id unless id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -1191,54 +1231,6 @@ module Google execute_or_queue_command(command, &block) end - # Returns a list of students of this course that the requester - # is permitted to view. - # This method returns the following error codes: - # * `NOT_FOUND` if the course does not exist. - # * `PERMISSION_DENIED` for access errors. - # @param [String] course_id - # Identifier of the course. - # This identifier can be either the Classroom-assigned identifier or an - # alias. - # @param [String] page_token - # nextPageToken - # value returned from a previous - # list call, indicating that - # the subsequent page of results should be returned. - # The list request must be - # otherwise identical to the one that resulted in this token. - # @param [Fixnum] page_size - # Maximum number of items to return. Zero means no maximum. - # The server may return fewer than the specified number 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::ListStudentsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::ListStudentsResponse] - # - # @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_course_students(course_id, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/courses/{courseId}/students', options) - command.response_representation = Google::Apis::ClassroomV1::ListStudentsResponse::Representation - command.response_class = Google::Apis::ClassroomV1::ListStudentsResponse - command.params['courseId'] = course_id unless course_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Returns a student of a course. # This method returns the following error codes: # * `PERMISSION_DENIED` if the requesting user is not permitted to view @@ -1283,728 +1275,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a course work. - # This request must be made by the Developer Console project of the - # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to - # create the corresponding course work item. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if the requesting developer project did not create - # the corresponding course work, if the requesting user is not permitted - # to delete the requested course or for access errors. - # * `FAILED_PRECONDITION` if the requested course work has already been - # deleted. - # * `NOT_FOUND` if no course exists with the requested ID. - # @param [String] course_id - # Identifier of the course. - # This identifier can be either the Classroom-assigned identifier or an - # alias. - # @param [String] id - # Identifier of the course work to delete. - # This identifier is a Classroom-assigned identifier. - # @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::ClassroomV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::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_course_course_work(course_id, id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/courses/{courseId}/courseWork/{id}', options) - command.response_representation = Google::Apis::ClassroomV1::Empty::Representation - command.response_class = Google::Apis::ClassroomV1::Empty - command.params['courseId'] = course_id unless course_id.nil? - command.params['id'] = id unless 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 - - # Returns a list of course work that the requester is permitted to view. - # Course students may only view `PUBLISHED` course work. Course teachers - # and domain administrators may view all course work. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if the requesting user is not permitted to access - # the requested course or for access errors. - # * `INVALID_ARGUMENT` if the request is malformed. - # * `NOT_FOUND` if the requested course does not exist. - # @param [String] course_id - # Identifier of the course. - # This identifier can be either the Classroom-assigned identifier or an - # alias. - # @param [String] page_token - # nextPageToken - # value returned from a previous - # list call, - # indicating that the subsequent page of results should be returned. - # The list request - # must be otherwise identical to the one that resulted in this token. - # @param [String] order_by - # Optional sort ordering for results. A comma-separated list of fields with - # an optional sort direction keyword. Supported fields are `updateTime` - # and `dueDate`. Supported direction keywords are `asc` and `desc`. - # If not specified, `updateTime desc` is the default behavior. - # Examples: `dueDate asc,updateTime desc`, `updateTime,dueDate desc` - # @param [Fixnum] page_size - # Maximum number of items to return. Zero or unspecified indicates that the - # server may assign a maximum. - # The server may return fewer than the specified number of results. - # @param [Array, String] course_work_states - # Restriction on the work status to return. Only courseWork that matches - # is returned. If unspecified, items with a work status of `PUBLISHED` - # is returned. - # @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::ClassroomV1::ListCourseWorkResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::ListCourseWorkResponse] - # - # @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_course_works(course_id, page_token: nil, order_by: nil, page_size: nil, course_work_states: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork', options) - command.response_representation = Google::Apis::ClassroomV1::ListCourseWorkResponse::Representation - command.response_class = Google::Apis::ClassroomV1::ListCourseWorkResponse - command.params['courseId'] = course_id unless course_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['orderBy'] = order_by unless order_by.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['courseWorkStates'] = course_work_states unless course_work_states.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Returns course work. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if the requesting user is not permitted to access the - # requested course or course work, or for access errors. - # * `INVALID_ARGUMENT` if the request is malformed. - # * `NOT_FOUND` if the requested course or course work does not exist. - # @param [String] course_id - # Identifier of the course. - # This identifier can be either the Classroom-assigned identifier or an - # alias. - # @param [String] id - # Identifier of the course work. - # @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::ClassroomV1::CourseWork] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::CourseWork] - # - # @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_course_work(course_id, id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{id}', options) - command.response_representation = Google::Apis::ClassroomV1::CourseWork::Representation - command.response_class = Google::Apis::ClassroomV1::CourseWork - command.params['courseId'] = course_id unless course_id.nil? - command.params['id'] = id unless 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 - - # Updates one or more fields of a course work. - # See google.classroom.v1.CourseWork for details - # of which fields may be updated and who may change them. - # This request must be made by the Developer Console project of the - # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to - # create the corresponding course work item. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if the requesting developer project did not create - # the corresponding course work, if the user is not permitted to make the - # requested modification to the student submission, or for - # access errors. - # * `INVALID_ARGUMENT` if the request is malformed. - # * `FAILED_PRECONDITION` if the requested course work has already been - # deleted. - # * `NOT_FOUND` if the requested course, course work, or student submission - # does not exist. - # @param [String] course_id - # Identifier of the course. - # This identifier can be either the Classroom-assigned identifier or an - # alias. - # @param [String] id - # Identifier of the course work. - # @param [Google::Apis::ClassroomV1::CourseWork] course_work_object - # @param [String] update_mask - # Mask that identifies which fields on the course work to update. - # This field is required to do an update. The update fails if invalid - # fields are specified. If a field supports empty values, it can be cleared - # by specifying it in the update mask and not in the CourseWork object. If a - # field that does not support empty values is included in the update mask and - # not set in the CourseWork object, an `INVALID_ARGUMENT` error will be - # returned. - # The following fields may be specified by teachers: - # * `title` - # * `description` - # * `state` - # * `due_date` - # * `due_time` - # * `max_points` - # * `scheduled_time` - # * `submission_modification_mode` - # @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::ClassroomV1::CourseWork] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::CourseWork] - # - # @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_course_course_work(course_id, id, course_work_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/courses/{courseId}/courseWork/{id}', options) - command.request_representation = Google::Apis::ClassroomV1::CourseWork::Representation - command.request_object = course_work_object - command.response_representation = Google::Apis::ClassroomV1::CourseWork::Representation - command.response_class = Google::Apis::ClassroomV1::CourseWork - command.params['courseId'] = course_id unless course_id.nil? - command.params['id'] = id unless id.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 - - # Creates course work. - # The resulting course work (and corresponding student submissions) are - # associated with the Developer Console project of the - # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to - # make the request. Classroom API requests to modify course work and student - # submissions must be made with an OAuth client ID from the associated - # Developer Console project. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if the requesting user is not permitted to access the - # requested course, create course work in the requested course, share a - # Drive attachment, or for access errors. - # * `INVALID_ARGUMENT` if the request is malformed. - # * `NOT_FOUND` if the requested course does not exist. - # * `FAILED_PRECONDITION` for the following request error: - # * AttachmentNotVisible - # @param [String] course_id - # Identifier of the course. - # This identifier can be either the Classroom-assigned identifier or an - # alias. - # @param [Google::Apis::ClassroomV1::CourseWork] course_work_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::ClassroomV1::CourseWork] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::CourseWork] - # - # @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_course_work(course_id, course_work_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork', options) - command.request_representation = Google::Apis::ClassroomV1::CourseWork::Representation - command.request_object = course_work_object - command.response_representation = Google::Apis::ClassroomV1::CourseWork::Representation - command.response_class = Google::Apis::ClassroomV1::CourseWork - command.params['courseId'] = course_id unless course_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 - - # Returns a student submission. - # * `PERMISSION_DENIED` if the requesting user is not permitted to access the - # requested course, course work, or student submission or for - # access errors. - # * `INVALID_ARGUMENT` if the request is malformed. - # * `NOT_FOUND` if the requested course, course work, or student submission - # does not exist. - # @param [String] course_id - # Identifier of the course. - # This identifier can be either the Classroom-assigned identifier or an - # alias. - # @param [String] course_work_id - # Identifier of the course work. - # @param [String] id - # Identifier of the student submission. - # @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::ClassroomV1::StudentSubmission] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::StudentSubmission] - # - # @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_student_submission(course_id, course_work_id, id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}', options) - command.response_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation - command.response_class = Google::Apis::ClassroomV1::StudentSubmission - command.params['courseId'] = course_id unless course_id.nil? - command.params['courseWorkId'] = course_work_id unless course_work_id.nil? - command.params['id'] = id unless 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 - - # Updates one or more fields of a student submission. - # See google.classroom.v1.StudentSubmission for details - # of which fields may be updated and who may change them. - # This request must be made by the Developer Console project of the - # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to - # create the corresponding course work item. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if the requesting developer project did not create - # the corresponding course work, if the user is not permitted to make the - # requested modification to the student submission, or for - # access errors. - # * `INVALID_ARGUMENT` if the request is malformed. - # * `NOT_FOUND` if the requested course, course work, or student submission - # does not exist. - # @param [String] course_id - # Identifier of the course. - # This identifier can be either the Classroom-assigned identifier or an - # alias. - # @param [String] course_work_id - # Identifier of the course work. - # @param [String] id - # Identifier of the student submission. - # @param [Google::Apis::ClassroomV1::StudentSubmission] student_submission_object - # @param [String] update_mask - # Mask that identifies which fields on the student submission to update. - # This field is required to do an update. The update fails if invalid - # fields are specified. - # The following fields may be specified by teachers: - # * `draft_grade` - # * `assigned_grade` - # @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::ClassroomV1::StudentSubmission] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::StudentSubmission] - # - # @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_student_submission(course_id, course_work_id, id, student_submission_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}', options) - command.request_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation - command.request_object = student_submission_object - command.response_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation - command.response_class = Google::Apis::ClassroomV1::StudentSubmission - command.params['courseId'] = course_id unless course_id.nil? - command.params['courseWorkId'] = course_work_id unless course_work_id.nil? - command.params['id'] = id unless id.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 - - # Returns a student submission. - # Returning a student submission transfers ownership of attached Drive - # files to the student and may also update the submission state. - # Unlike the Classroom application, returning a student submission does not - # set assignedGrade to the draftGrade value. - # Only a teacher of the course that contains the requested student submission - # may call this method. - # This request must be made by the Developer Console project of the - # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to - # create the corresponding course work item. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if the requesting user is not permitted to access the - # requested course or course work, return the requested student submission, - # or for access errors. - # * `INVALID_ARGUMENT` if the request is malformed. - # * `NOT_FOUND` if the requested course, course work, or student submission - # does not exist. - # @param [String] course_id - # Identifier of the course. - # This identifier can be either the Classroom-assigned identifier or an - # alias. - # @param [String] course_work_id - # Identifier of the course work. - # @param [String] id - # Identifier of the student submission. - # @param [Google::Apis::ClassroomV1::ReturnStudentSubmissionRequest] return_student_submission_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::ClassroomV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::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 return_student_submission(course_id, course_work_id, id, return_student_submission_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:return', options) - command.request_representation = Google::Apis::ClassroomV1::ReturnStudentSubmissionRequest::Representation - command.request_object = return_student_submission_request_object - command.response_representation = Google::Apis::ClassroomV1::Empty::Representation - command.response_class = Google::Apis::ClassroomV1::Empty - command.params['courseId'] = course_id unless course_id.nil? - command.params['courseWorkId'] = course_work_id unless course_work_id.nil? - command.params['id'] = id unless 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 - - # Reclaims a student submission on behalf of the student that owns it. - # Reclaiming a student submission transfers ownership of attached Drive - # files to the student and update the submission state. - # Only the student that owns the requested student submission may call this - # method, and only for a student submission that has been turned in. - # This request must be made by the Developer Console project of the - # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to - # create the corresponding course work item. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if the requesting user is not permitted to access the - # requested course or course work, unsubmit the requested student submission, - # or for access errors. - # * `FAILED_PRECONDITION` if the student submission has not been turned in. - # * `INVALID_ARGUMENT` if the request is malformed. - # * `NOT_FOUND` if the requested course, course work, or student submission - # does not exist. - # @param [String] course_id - # Identifier of the course. - # This identifier can be either the Classroom-assigned identifier or an - # alias. - # @param [String] course_work_id - # Identifier of the course work. - # @param [String] id - # Identifier of the student submission. - # @param [Google::Apis::ClassroomV1::ReclaimStudentSubmissionRequest] reclaim_student_submission_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::ClassroomV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::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 reclaim_student_submission(course_id, course_work_id, id, reclaim_student_submission_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:reclaim', options) - command.request_representation = Google::Apis::ClassroomV1::ReclaimStudentSubmissionRequest::Representation - command.request_object = reclaim_student_submission_request_object - command.response_representation = Google::Apis::ClassroomV1::Empty::Representation - command.response_class = Google::Apis::ClassroomV1::Empty - command.params['courseId'] = course_id unless course_id.nil? - command.params['courseWorkId'] = course_work_id unless course_work_id.nil? - command.params['id'] = id unless 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 - - # Turns in a student submission. - # Turning in a student submission transfers ownership of attached Drive - # files to the teacher and may also update the submission state. - # This may only be called by the student that owns the specified student - # submission. - # This request must be made by the Developer Console project of the - # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to - # create the corresponding course work item. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if the requesting user is not permitted to access the - # requested course or course work, turn in the requested student submission, - # or for access errors. - # * `INVALID_ARGUMENT` if the request is malformed. - # * `NOT_FOUND` if the requested course, course work, or student submission - # does not exist. - # @param [String] course_id - # Identifier of the course. - # This identifier can be either the Classroom-assigned identifier or an - # alias. - # @param [String] course_work_id - # Identifier of the course work. - # @param [String] id - # Identifier of the student submission. - # @param [Google::Apis::ClassroomV1::TurnInStudentSubmissionRequest] turn_in_student_submission_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::ClassroomV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::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 turn_in_student_submission(course_id, course_work_id, id, turn_in_student_submission_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:turnIn', options) - command.request_representation = Google::Apis::ClassroomV1::TurnInStudentSubmissionRequest::Representation - command.request_object = turn_in_student_submission_request_object - command.response_representation = Google::Apis::ClassroomV1::Empty::Representation - command.response_class = Google::Apis::ClassroomV1::Empty - command.params['courseId'] = course_id unless course_id.nil? - command.params['courseWorkId'] = course_work_id unless course_work_id.nil? - command.params['id'] = id unless 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 - - # Returns a list of student submissions that the requester is permitted to - # view, factoring in the OAuth scopes of the request. - # `-` may be specified as the `course_work_id` to include student - # submissions for multiple course work items. - # Course students may only view their own work. Course teachers - # and domain administrators may view all student submissions. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if the requesting user is not permitted to access the - # requested course or course work, or for access errors. - # * `INVALID_ARGUMENT` if the request is malformed. - # * `NOT_FOUND` if the requested course does not exist. - # @param [String] course_id - # Identifier of the course. - # This identifier can be either the Classroom-assigned identifier or an - # alias. - # @param [String] course_work_id - # Identifer of the student work to request. - # This may be set to the string literal `"-"` to request student work for - # all course work in the specified course. - # @param [String] late - # Requested lateness value. If specified, returned student submissions are - # restricted by the requested value. - # If unspecified, submissions are returned regardless of `late` value. - # @param [String] page_token - # nextPageToken - # value returned from a previous - # list call, - # indicating that the subsequent page of results should be returned. - # The list request - # must be otherwise identical to the one that resulted in this token. - # @param [Array, String] states - # Requested submission states. If specified, returned student submissions - # match one of the specified submission states. - # @param [Fixnum] page_size - # Maximum number of items to return. Zero or unspecified indicates that the - # server may assign a maximum. - # The server may return fewer than the specified number of results. - # @param [String] user_id - # Optional argument to restrict returned student work to those owned by the - # student with the specified identifier. The identifier can be one of the - # following: - # * the numeric identifier for the user - # * the email address of the user - # * the string literal `"me"`, indicating the requesting user - # @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::ClassroomV1::ListStudentSubmissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::ListStudentSubmissionsResponse] - # - # @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_student_submissions(course_id, course_work_id, late: nil, page_token: nil, states: nil, page_size: nil, user_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions', options) - command.response_representation = Google::Apis::ClassroomV1::ListStudentSubmissionsResponse::Representation - command.response_class = Google::Apis::ClassroomV1::ListStudentSubmissionsResponse - command.params['courseId'] = course_id unless course_id.nil? - command.params['courseWorkId'] = course_work_id unless course_work_id.nil? - command.query['late'] = late unless late.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['states'] = states unless states.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['userId'] = user_id unless user_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 - - # Modifies attachments of student submission. - # Attachments may only be added to student submissions belonging to course - # work objects with a `workType` of `ASSIGNMENT`. - # This request must be made by the Developer Console project of the - # [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to - # create the corresponding course work item. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if the requesting user is not permitted to access the - # requested course or course work, if the user is not permitted to modify - # attachments on the requested student submission, or for - # access errors. - # * `INVALID_ARGUMENT` if the request is malformed. - # * `NOT_FOUND` if the requested course, course work, or student submission - # does not exist. - # @param [String] course_id - # Identifier of the course. - # This identifier can be either the Classroom-assigned identifier or an - # alias. - # @param [String] course_work_id - # Identifier of the course work. - # @param [String] id - # Identifier of the student submission. - # @param [Google::Apis::ClassroomV1::ModifyAttachmentsRequest] modify_attachments_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::ClassroomV1::StudentSubmission] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::StudentSubmission] - # - # @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 modify_student_submission_attachments(course_id, course_work_id, id, modify_attachments_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:modifyAttachments', options) - command.request_representation = Google::Apis::ClassroomV1::ModifyAttachmentsRequest::Representation - command.request_object = modify_attachments_request_object - command.response_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation - command.response_class = Google::Apis::ClassroomV1::StudentSubmission - command.params['courseId'] = course_id unless course_id.nil? - command.params['courseWorkId'] = course_work_id unless course_work_id.nil? - command.params['id'] = id unless 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 a teacher of a course. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if the requesting user is not permitted to delete - # teachers of this course or for access errors. - # * `NOT_FOUND` if no teacher of this course has the requested ID or if the - # course does not exist. - # * `FAILED_PRECONDITION` if the requested ID belongs to the primary teacher - # of this course. - # @param [String] course_id - # Identifier of the course. - # This identifier can be either the Classroom-assigned identifier or an - # alias. - # @param [String] user_id - # Identifier of the teacher to delete. The identifier can be one of the - # following: - # * the numeric identifier for the user - # * the email address of the user - # * the string literal `"me"`, indicating the requesting user - # @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::ClassroomV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::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_course_teacher(course_id, user_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/courses/{courseId}/teachers/{userId}', options) - command.response_representation = Google::Apis::ClassroomV1::Empty::Representation - command.response_class = Google::Apis::ClassroomV1::Empty - command.params['courseId'] = course_id unless course_id.nil? - command.params['userId'] = user_id unless user_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 - - # Returns a list of teachers of this course that the requester + # Returns a list of students of this course that the requester # is permitted to view. # This method returns the following error codes: # * `NOT_FOUND` if the course does not exist. @@ -2013,6 +1284,9 @@ module Google # Identifier of the course. # This identifier can be either the Classroom-assigned identifier or an # alias. + # @param [Fixnum] page_size + # Maximum number of items to return. Zero means no maximum. + # The server may return fewer than the specified number of results. # @param [String] page_token # nextPageToken # value returned from a previous @@ -2020,9 +1294,6 @@ module Google # the subsequent page of results should be returned. # The list request must be # otherwise identical to the one that resulted in this token. - # @param [Fixnum] page_size - # Maximum number of items to return. Zero means no maximum. - # The server may return fewer than the specified number of results. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2032,65 +1303,21 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::ListTeachersResponse] parsed result object + # @yieldparam result [Google::Apis::ClassroomV1::ListStudentsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::ClassroomV1::ListTeachersResponse] + # @return [Google::Apis::ClassroomV1::ListStudentsResponse] # # @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_course_teachers(course_id, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/courses/{courseId}/teachers', options) - command.response_representation = Google::Apis::ClassroomV1::ListTeachersResponse::Representation - command.response_class = Google::Apis::ClassroomV1::ListTeachersResponse + def list_course_students(course_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/courses/{courseId}/students', options) + command.response_representation = Google::Apis::ClassroomV1::ListStudentsResponse::Representation + command.response_class = Google::Apis::ClassroomV1::ListStudentsResponse command.params['courseId'] = course_id unless course_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Returns a teacher of a course. - # This method returns the following error codes: - # * `PERMISSION_DENIED` if the requesting user is not permitted to view - # teachers of this course or for access errors. - # * `NOT_FOUND` if no teacher of this course has the requested ID or if the - # course does not exist. - # @param [String] course_id - # Identifier of the course. - # This identifier can be either the Classroom-assigned identifier or an - # alias. - # @param [String] user_id - # Identifier of the teacher to return. The identifier can be one of the - # following: - # * the numeric identifier for the user - # * the email address of the user - # * the string literal `"me"`, indicating the requesting user - # @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::ClassroomV1::Teacher] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::Teacher] - # - # @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_course_teacher(course_id, user_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/courses/{courseId}/teachers/{userId}', options) - command.response_representation = Google::Apis::ClassroomV1::Teacher::Representation - command.response_class = Google::Apis::ClassroomV1::Teacher - command.params['courseId'] = course_id unless course_id.nil? - command.params['userId'] = user_id unless user_id.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) @@ -2142,6 +1369,784 @@ module Google command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end + + # Deletes a teacher of a course. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if the requesting user is not permitted to delete + # teachers of this course or for access errors. + # * `NOT_FOUND` if no teacher of this course has the requested ID or if the + # course does not exist. + # * `FAILED_PRECONDITION` if the requested ID belongs to the primary teacher + # of this course. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] user_id + # Identifier of the teacher to delete. The identifier can be one of the + # following: + # * the numeric identifier for the user + # * the email address of the user + # * the string literal `"me"`, indicating the requesting user + # @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::ClassroomV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::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_course_teacher(course_id, user_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/courses/{courseId}/teachers/{userId}', options) + command.response_representation = Google::Apis::ClassroomV1::Empty::Representation + command.response_class = Google::Apis::ClassroomV1::Empty + command.params['courseId'] = course_id unless course_id.nil? + command.params['userId'] = user_id unless user_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 + + # Returns a teacher of a course. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if the requesting user is not permitted to view + # teachers of this course or for access errors. + # * `NOT_FOUND` if no teacher of this course has the requested ID or if the + # course does not exist. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] user_id + # Identifier of the teacher to return. The identifier can be one of the + # following: + # * the numeric identifier for the user + # * the email address of the user + # * the string literal `"me"`, indicating the requesting user + # @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::ClassroomV1::Teacher] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::Teacher] + # + # @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_course_teacher(course_id, user_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/courses/{courseId}/teachers/{userId}', options) + command.response_representation = Google::Apis::ClassroomV1::Teacher::Representation + command.response_class = Google::Apis::ClassroomV1::Teacher + command.params['courseId'] = course_id unless course_id.nil? + command.params['userId'] = user_id unless user_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 + + # Returns a list of teachers of this course that the requester + # is permitted to view. + # This method returns the following error codes: + # * `NOT_FOUND` if the course does not exist. + # * `PERMISSION_DENIED` for access errors. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [Fixnum] page_size + # Maximum number of items to return. Zero means no maximum. + # The server may return fewer than the specified number of results. + # @param [String] page_token + # nextPageToken + # value returned from a previous + # list call, indicating that + # the subsequent page of results should be returned. + # The list request must be + # otherwise identical to the one that resulted in this 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::ClassroomV1::ListTeachersResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::ListTeachersResponse] + # + # @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_course_teachers(course_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/courses/{courseId}/teachers', options) + command.response_representation = Google::Apis::ClassroomV1::ListTeachersResponse::Representation + command.response_class = Google::Apis::ClassroomV1::ListTeachersResponse + command.params['courseId'] = course_id unless course_id.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 + + # Accepts an invitation, removing it and adding the invited user to the + # teachers or students (as appropriate) of the specified course. Only the + # invited user may accept an invitation. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if the requesting user is not permitted to accept the + # requested invitation or for access errors. + # * `FAILED_PRECONDITION` for the following request errors: + # * CourseMemberLimitReached + # * CourseNotModifiable + # * CourseTeacherLimitReached + # * UserGroupsMembershipLimitReached + # * `NOT_FOUND` if no invitation exists with the requested ID. + # @param [String] id + # Identifier of the invitation to accept. + # @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::ClassroomV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::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 accept_invitation(id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/invitations/{id}:accept', options) + command.response_representation = Google::Apis::ClassroomV1::Empty::Representation + command.response_class = Google::Apis::ClassroomV1::Empty + command.params['id'] = id unless 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 + + # Creates an invitation. Only one invitation for a user and course may exist + # at a time. Delete and re-create an invitation to make changes. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if the requesting user is not permitted to create + # invitations for this course or for access errors. + # * `NOT_FOUND` if the course or the user does not exist. + # * `FAILED_PRECONDITION` if the requested user's account is disabled or if + # the user already has this role or a role with greater permissions. + # * `ALREADY_EXISTS` if an invitation for the specified user and course + # already exists. + # @param [Google::Apis::ClassroomV1::Invitation] invitation_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::ClassroomV1::Invitation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::Invitation] + # + # @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_invitation(invitation_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/invitations', options) + command.request_representation = Google::Apis::ClassroomV1::Invitation::Representation + command.request_object = invitation_object + command.response_representation = Google::Apis::ClassroomV1::Invitation::Representation + command.response_class = Google::Apis::ClassroomV1::Invitation + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an invitation. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if the requesting user is not permitted to delete the + # requested invitation or for access errors. + # * `NOT_FOUND` if no invitation exists with the requested ID. + # @param [String] id + # Identifier of the invitation 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::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_invitation(id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/invitations/{id}', options) + command.response_representation = Google::Apis::ClassroomV1::Empty::Representation + command.response_class = Google::Apis::ClassroomV1::Empty + command.params['id'] = id unless 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 + + # Returns an invitation. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if the requesting user is not permitted to view the + # requested invitation or for access errors. + # * `NOT_FOUND` if no invitation exists with the requested ID. + # @param [String] id + # Identifier of the invitation 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::Invitation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::Invitation] + # + # @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_invitation(id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/invitations/{id}', options) + command.response_representation = Google::Apis::ClassroomV1::Invitation::Representation + command.response_class = Google::Apis::ClassroomV1::Invitation + command.params['id'] = id unless 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 + + # Returns a list of invitations that the requesting user is permitted to + # view, restricted to those that match the list request. + # *Note:* At least one of `user_id` or `course_id` must be supplied. Both + # fields can be supplied. + # This method returns the following error codes: + # * `PERMISSION_DENIED` for access errors. + # @param [String] course_id + # Restricts returned invitations to those for a course with the specified + # identifier. + # @param [Fixnum] page_size + # Maximum number of items to return. Zero means no maximum. + # The server may return fewer than the specified number of results. + # @param [String] page_token + # nextPageToken + # value returned from a previous + # list call, indicating + # that the subsequent page of results should be returned. + # The list request must be + # otherwise identical to the one that resulted in this token. + # @param [String] user_id + # Restricts returned invitations to those for a specific user. The identifier + # can be one of the following: + # * the numeric identifier for the user + # * the email address of the user + # * the string literal `"me"`, indicating the requesting user + # @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::ClassroomV1::ListInvitationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::ListInvitationsResponse] + # + # @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_invitations(course_id: nil, page_size: nil, page_token: nil, user_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/invitations', options) + command.response_representation = Google::Apis::ClassroomV1::ListInvitationsResponse::Representation + command.response_class = Google::Apis::ClassroomV1::ListInvitationsResponse + command.query['courseId'] = course_id unless course_id.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['userId'] = user_id unless user_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 + + # Returns a user profile. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if the requesting user is not permitted to access + # this user profile, if no profile exists with the requested ID, or for + # access errors. + # @param [String] user_id + # Identifier of the profile to return. The identifier can be one of the + # following: + # * the numeric identifier for the user + # * the email address of the user + # * the string literal `"me"`, indicating the requesting user + # @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::ClassroomV1::UserProfile] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::UserProfile] + # + # @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_user_profile(user_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/userProfiles/{userId}', options) + command.response_representation = Google::Apis::ClassroomV1::UserProfile::Representation + command.response_class = Google::Apis::ClassroomV1::UserProfile + command.params['userId'] = user_id unless user_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 + + # Creates a guardian invitation, and sends an email to the guardian asking + # them to confirm that they are the student's guardian. + # Once the guardian accepts the invitation, their `state` will change to + # `COMPLETED` and they will start receiving guardian notifications. A + # `Guardian` resource will also be created to represent the active guardian. + # The request object must have the `student_id` and + # `invited_email_address` fields set. Failing to set these fields, or + # setting any other fields in the request, will result in an error. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if the current user does not have permission to + # manage guardians, if the guardian in question has already rejected + # too many requests for that student, if guardians are not enabled for the + # domain in question, or for other access errors. + # * `RESOURCE_EXHAUSTED` if the student or guardian has exceeded the guardian + # link limit. + # * `INVALID_ARGUMENT` if the guardian email address is not valid (for + # example, if it is too long), or if the format of the student ID provided + # cannot be recognized (it is not an email address, nor a `user_id` from + # this API). This error will also be returned if read-only fields are set, + # or if the `state` field is set to to a value other than `PENDING`. + # * `NOT_FOUND` if the student ID provided is a valid student ID, but + # Classroom has no record of that student. + # * `ALREADY_EXISTS` if there is already a pending guardian invitation for + # the student and `invited_email_address` provided, or if the provided + # `invited_email_address` matches the Google account of an existing + # `Guardian` for this user. + # @param [String] student_id + # ID of the student (in standard format) + # @param [Google::Apis::ClassroomV1::GuardianInvitation] guardian_invitation_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::ClassroomV1::GuardianInvitation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::GuardianInvitation] + # + # @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_user_profile_guardian_invitation(student_id, guardian_invitation_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/userProfiles/{studentId}/guardianInvitations', options) + command.request_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation + command.request_object = guardian_invitation_object + command.response_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation + command.response_class = Google::Apis::ClassroomV1::GuardianInvitation + command.params['studentId'] = student_id unless student_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 + + # Returns a specific guardian invitation. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if the requesting user is not permitted to view + # guardian invitations for the student identified by the `student_id`, if + # guardians are not enabled for the domain in question, or for other + # access errors. + # * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot + # be recognized (it is not an email address, nor a `student_id` from the + # API, nor the literal string `me`). + # * `NOT_FOUND` if Classroom cannot find any record of the given student or + # `invitation_id`. May also be returned if the student exists, but the + # requesting user does not have access to see that student. + # @param [String] student_id + # The ID of the student whose guardian invitation is being requested. + # @param [String] invitation_id + # The `id` field of the `GuardianInvitation` being requested. + # @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::ClassroomV1::GuardianInvitation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::GuardianInvitation] + # + # @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_user_profile_guardian_invitation(student_id, invitation_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardianInvitations/{invitationId}', options) + command.response_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation + command.response_class = Google::Apis::ClassroomV1::GuardianInvitation + command.params['studentId'] = student_id unless student_id.nil? + command.params['invitationId'] = invitation_id unless invitation_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 + + # Returns a list of guardian invitations that the requesting user is + # permitted to view, filtered by the parameters provided. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if a `student_id` is specified, and the requesting + # user is not permitted to view guardian invitations for that student, if + # `"-"` is specified as the `student_id` and the user is not a domain + # administrator, if guardians are not enabled for the domain in question, + # or for other access errors. + # * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot + # be recognized (it is not an email address, nor a `student_id` from the + # API, nor the literal string `me`). May also be returned if an invalid + # `page_token` or `state` is provided. + # * `NOT_FOUND` if a `student_id` is specified, and its format can be + # recognized, but Classroom has no record of that student. + # @param [String] student_id + # The ID of the student whose guardian invitations are to be returned. + # The identifier can be one of the following: + # * the numeric identifier for the user + # * the email address of the user + # * the string literal `"me"`, indicating the requesting user + # * the string literal `"-"`, indicating that results should be returned for + # all students that the requesting user is permitted to view guardian + # invitations. + # @param [String] invited_email_address + # If specified, only results with the specified `invited_email_address` + # will be returned. + # @param [Fixnum] page_size + # Maximum number of items to return. Zero or unspecified indicates that the + # server may assign a maximum. + # The server may return fewer than the specified number of results. + # @param [String] page_token + # nextPageToken + # value returned from a previous + # list call, + # indicating that the subsequent page of results should be returned. + # The list request + # must be otherwise identical to the one that resulted in this token. + # @param [Array, String] states + # If specified, only results with the specified `state` values will be + # returned. Otherwise, results with a `state` of `PENDING` will be returned. + # @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::ClassroomV1::ListGuardianInvitationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::ListGuardianInvitationsResponse] + # + # @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_user_profile_guardian_invitations(student_id, invited_email_address: nil, page_size: nil, page_token: nil, states: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardianInvitations', options) + command.response_representation = Google::Apis::ClassroomV1::ListGuardianInvitationsResponse::Representation + command.response_class = Google::Apis::ClassroomV1::ListGuardianInvitationsResponse + command.params['studentId'] = student_id unless student_id.nil? + command.query['invitedEmailAddress'] = invited_email_address unless invited_email_address.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['states'] = states unless states.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Modifies a guardian invitation. + # Currently, the only valid modification is to change the `state` from + # `PENDING` to `COMPLETE`. This has the effect of withdrawing the invitation. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if the current user does not have permission to + # manage guardians, if guardians are not enabled for the domain in question + # or for other access errors. + # * `FAILED_PRECONDITION` if the guardian link is not in the `PENDING` state. + # * `INVALID_ARGUMENT` if the format of the student ID provided + # cannot be recognized (it is not an email address, nor a `user_id` from + # this API), or if the passed `GuardianInvitation` has a `state` other than + # `COMPLETE`, or if it modifies fields other than `state`. + # * `NOT_FOUND` if the student ID provided is a valid student ID, but + # Classroom has no record of that student, or if the `id` field does not + # refer to a guardian invitation known to Classroom. + # @param [String] student_id + # The ID of the student whose guardian invitation is to be modified. + # @param [String] invitation_id + # The `id` field of the `GuardianInvitation` to be modified. + # @param [Google::Apis::ClassroomV1::GuardianInvitation] guardian_invitation_object + # @param [String] update_mask + # Mask that identifies which fields on the course to update. + # This field is required to do an update. The update will fail if invalid + # fields are specified. The following fields are valid: + # * `state` + # When set in a query parameter, this field should be specified as + # `updateMask=,,...` + # @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::ClassroomV1::GuardianInvitation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::GuardianInvitation] + # + # @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_user_profile_guardian_invitation(student_id, invitation_id, guardian_invitation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/userProfiles/{studentId}/guardianInvitations/{invitationId}', options) + command.request_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation + command.request_object = guardian_invitation_object + command.response_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation + command.response_class = Google::Apis::ClassroomV1::GuardianInvitation + command.params['studentId'] = student_id unless student_id.nil? + command.params['invitationId'] = invitation_id unless invitation_id.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 guardian. + # The guardian will no longer receive guardian notifications and the guardian + # will no longer be accessible via the API. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if no user that matches the provided `student_id` + # is visible to the requesting user, if the requesting user is not + # permitted to manage guardians for the student identified by the + # `student_id`, if guardians are not enabled for the domain in question, + # or for other access errors. + # * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot + # be recognized (it is not an email address, nor a `student_id` from the + # API). + # * `NOT_FOUND` if the requesting user is permitted to modify guardians for + # the requested `student_id`, but no `Guardian` record exists for that + # student with the provided `guardian_id`. + # @param [String] student_id + # The student whose guardian is to be deleted. One of the following: + # * the numeric identifier for the user + # * the email address of the user + # * the string literal `"me"`, indicating the requesting user + # @param [String] guardian_id + # The `id` field from a `Guardian`. + # @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::ClassroomV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::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_user_profile_guardian(student_id, guardian_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/userProfiles/{studentId}/guardians/{guardianId}', options) + command.response_representation = Google::Apis::ClassroomV1::Empty::Representation + command.response_class = Google::Apis::ClassroomV1::Empty + command.params['studentId'] = student_id unless student_id.nil? + command.params['guardianId'] = guardian_id unless guardian_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 + + # Returns a specific guardian. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if no user that matches the provided `student_id` + # is visible to the requesting user, if the requesting user is not + # permitted to view guardian information for the student identified by the + # `student_id`, if guardians are not enabled for the domain in question, + # or for other access errors. + # * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot + # be recognized (it is not an email address, nor a `student_id` from the + # API, nor the literal string `me`). + # * `NOT_FOUND` if the requesting user is permitted to view guardians for + # the requested `student_id`, but no `Guardian` record exists for that + # student that matches the provided `guardian_id`. + # @param [String] student_id + # The student whose guardian is being requested. One of the following: + # * the numeric identifier for the user + # * the email address of the user + # * the string literal `"me"`, indicating the requesting user + # @param [String] guardian_id + # The `id` field from a `Guardian`. + # @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::ClassroomV1::Guardian] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::Guardian] + # + # @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_user_profile_guardian(student_id, guardian_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardians/{guardianId}', options) + command.response_representation = Google::Apis::ClassroomV1::Guardian::Representation + command.response_class = Google::Apis::ClassroomV1::Guardian + command.params['studentId'] = student_id unless student_id.nil? + command.params['guardianId'] = guardian_id unless guardian_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 + + # Returns a list of guardians that the requesting user is permitted to + # view, restricted to those that match the request. + # To list guardians for any student that the requesting user may view + # guardians for, use the literal character `-` for the student ID. + # This method returns the following error codes: + # * `PERMISSION_DENIED` if a `student_id` is specified, and the requesting + # user is not permitted to view guardian information for that student, if + # `"-"` is specified as the `student_id` and the user is not a domain + # administrator, if guardians are not enabled for the domain in question, + # if the `invited_email_address` filter is set by a user who is not a + # domain administrator, or for other access errors. + # * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot + # be recognized (it is not an email address, nor a `student_id` from the + # API, nor the literal string `me`). May also be returned if an invalid + # `page_token` is provided. + # * `NOT_FOUND` if a `student_id` is specified, and its format can be + # recognized, but Classroom has no record of that student. + # @param [String] student_id + # Filter results by the student who the guardian is linked to. + # The identifier can be one of the following: + # * the numeric identifier for the user + # * the email address of the user + # * the string literal `"me"`, indicating the requesting user + # * the string literal `"-"`, indicating that results should be returned for + # all students that the requesting user has access to view. + # @param [String] invited_email_address + # Filter results by the email address that the original invitation was sent + # to, resulting in this guardian link. + # This filter can only be used by domain administrators. + # @param [Fixnum] page_size + # Maximum number of items to return. Zero or unspecified indicates that the + # server may assign a maximum. + # The server may return fewer than the specified number of results. + # @param [String] page_token + # nextPageToken + # value returned from a previous + # list call, + # indicating that the subsequent page of results should be returned. + # The list request + # must be otherwise identical to the one that resulted in this 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::ClassroomV1::ListGuardiansResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::ListGuardiansResponse] + # + # @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_user_profile_guardians(student_id, invited_email_address: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardians', options) + command.response_representation = Google::Apis::ClassroomV1::ListGuardiansResponse::Representation + command.response_class = Google::Apis::ClassroomV1::ListGuardiansResponse + command.params['studentId'] = student_id unless student_id.nil? + command.query['invitedEmailAddress'] = invited_email_address unless invited_email_address.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 protected diff --git a/generated/google/apis/cloudbilling_v1.rb b/generated/google/apis/cloudbilling_v1.rb index 72f7e812a..4326df4cf 100644 --- a/generated/google/apis/cloudbilling_v1.rb +++ b/generated/google/apis/cloudbilling_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/billing/ module CloudbillingV1 VERSION = 'V1' - REVISION = '20170524' + REVISION = '20170813' # 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/cloudbilling_v1/classes.rb b/generated/google/apis/cloudbilling_v1/classes.rb index 1a2b58eb4..43fec2591 100644 --- a/generated/google/apis/cloudbilling_v1/classes.rb +++ b/generated/google/apis/cloudbilling_v1/classes.rb @@ -22,41 +22,26 @@ module Google module Apis module CloudbillingV1 - # Encapsulation of billing information for a Cloud Console project. A project - # has at most one associated billing account at a time (but a billing account - # can be assigned to multiple projects). - class ProjectBillingInfo + # Represents the aggregation level and interval for pricing of a single SKU. + class AggregationInfo include Google::Apis::Core::Hashable - # True if the project is associated with an open billing account, to which - # usage on the project is charged. False if the project is associated with a - # closed billing account, or no billing account at all, and therefore cannot - # use paid services. This field is read-only. - # Corresponds to the JSON property `billingEnabled` - # @return [Boolean] - attr_accessor :billing_enabled - alias_method :billing_enabled?, :billing_enabled + # The number of intervals to aggregate over. + # Example: If aggregation_level is "DAILY" and aggregation_count is 14, + # aggregation will be over 14 days. + # Corresponds to the JSON property `aggregationCount` + # @return [Fixnum] + attr_accessor :aggregation_count - # The resource name for the `ProjectBillingInfo`; has the form - # `projects/`project_id`/billingInfo`. For example, the resource name for the - # billing information for project `tokyo-rain-123` would be - # `projects/tokyo-rain-123/billingInfo`. This field is read-only. - # Corresponds to the JSON property `name` + # + # Corresponds to the JSON property `aggregationInterval` # @return [String] - attr_accessor :name + attr_accessor :aggregation_interval - # The ID of the project that this `ProjectBillingInfo` represents, such as - # `tokyo-rain-123`. This is a convenience field so that you don't need to - # parse the `name` field to obtain a project ID. This field is read-only. - # Corresponds to the JSON property `projectId` + # + # Corresponds to the JSON property `aggregationLevel` # @return [String] - attr_accessor :project_id - - # The resource name of the billing account associated with the project, if - # any. For example, `billingAccounts/012345-567890-ABCDEF`. - # Corresponds to the JSON property `billingAccountName` - # @return [String] - attr_accessor :billing_account_name + attr_accessor :aggregation_level def initialize(**args) update!(**args) @@ -64,10 +49,116 @@ module Google # Update properties of this object def update!(**args) - @billing_enabled = args[:billing_enabled] if args.key?(:billing_enabled) + @aggregation_count = args[:aggregation_count] if args.key?(:aggregation_count) + @aggregation_interval = args[:aggregation_interval] if args.key?(:aggregation_interval) + @aggregation_level = args[:aggregation_level] if args.key?(:aggregation_level) + end + end + + # A billing account in [Google Cloud + # Console](https://console.cloud.google.com/). You can assign a billing account + # to one or more projects. + class BillingAccount + include Google::Apis::Core::Hashable + + # The display name given to the billing account, such as `My Billing + # Account`. This name is displayed in the Google Cloud Console. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The resource name of the billing account. The resource name has the form + # `billingAccounts/`billing_account_id``. For example, + # `billingAccounts/012345-567890-ABCDEF` would be the resource name for + # billing account `012345-567890-ABCDEF`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # True if the billing account is open, and will therefore be charged for any + # usage on associated projects. False if the billing account is closed, and + # therefore projects associated with it will be unable to use paid services. + # Corresponds to the JSON property `open` + # @return [Boolean] + attr_accessor :open + alias_method :open?, :open + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) - @project_id = args[:project_id] if args.key?(:project_id) - @billing_account_name = args[:billing_account_name] if args.key?(:billing_account_name) + @open = args[:open] if args.key?(:open) + end + end + + # Represents the category hierarchy of a SKU. + class Category + include Google::Apis::Core::Hashable + + # The type of product the SKU refers to. + # Example: "Compute", "Storage", "Network", "ApplicationServices" etc. + # Corresponds to the JSON property `resourceFamily` + # @return [String] + attr_accessor :resource_family + + # A group classification for related SKUs. + # Example: "RAM", "GPU", "Prediction", "Ops", "GoogleEgress" etc. + # Corresponds to the JSON property `resourceGroup` + # @return [String] + attr_accessor :resource_group + + # The display name of the service this SKU belongs to. + # Corresponds to the JSON property `serviceDisplayName` + # @return [String] + attr_accessor :service_display_name + + # Represents how the SKU is consumed. + # Example: "OnDemand", "Preemptible", "Commit1Mo", "Commit1Yr" etc. + # Corresponds to the JSON property `usageType` + # @return [String] + attr_accessor :usage_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @resource_family = args[:resource_family] if args.key?(:resource_family) + @resource_group = args[:resource_group] if args.key?(:resource_group) + @service_display_name = args[:service_display_name] if args.key?(:service_display_name) + @usage_type = args[:usage_type] if args.key?(:usage_type) + end + end + + # Response message for `ListBillingAccounts`. + class ListBillingAccountsResponse + include Google::Apis::Core::Hashable + + # A list of billing accounts. + # Corresponds to the JSON property `billingAccounts` + # @return [Array] + attr_accessor :billing_accounts + + # A token to retrieve the next page of results. To retrieve the next page, + # call `ListBillingAccounts` again with the `page_token` field set to this + # value. This field is empty if there are no more results to retrieve. + # 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) + @billing_accounts = args[:billing_accounts] if args.key?(:billing_accounts) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end end @@ -99,21 +190,21 @@ module Google end end - # Response message for `ListBillingAccounts`. - class ListBillingAccountsResponse + # Response message for `ListServices`. + class ListServicesResponse include Google::Apis::Core::Hashable # A token to retrieve the next page of results. To retrieve the next page, - # call `ListBillingAccounts` again with the `page_token` field set to this + # call `ListServices` again with the `page_token` field set to this # value. This field is empty if there are no more results to retrieve. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token - # A list of billing accounts. - # Corresponds to the JSON property `billingAccounts` - # @return [Array] - attr_accessor :billing_accounts + # A list of services. + # Corresponds to the JSON property `services` + # @return [Array] + attr_accessor :services def initialize(**args) update!(**args) @@ -122,38 +213,276 @@ module Google # Update properties of this object def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @billing_accounts = args[:billing_accounts] if args.key?(:billing_accounts) + @services = args[:services] if args.key?(:services) end end - # A billing account in [Google Cloud - # Console](https://console.cloud.google.com/). You can assign a billing account - # to one or more projects. - class BillingAccount + # Response message for `ListSkus`. + class ListSkusResponse include Google::Apis::Core::Hashable - # The display name given to the billing account, such as `My Billing - # Account`. This name is displayed in the Google Cloud Console. + # A token to retrieve the next page of results. To retrieve the next page, + # call `ListSkus` again with the `page_token` field set to this + # value. This field is empty if there are no more results to retrieve. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of public SKUs of the given service. + # Corresponds to the JSON property `skus` + # @return [Array] + attr_accessor :skus + + 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) + @skus = args[:skus] if args.key?(:skus) + end + end + + # Represents an amount of money with its currency type. + class Money + include Google::Apis::Core::Hashable + + # The 3-letter currency code defined in ISO 4217. + # Corresponds to the JSON property `currencyCode` + # @return [String] + attr_accessor :currency_code + + # Number of nano (10^-9) units of the amount. + # The value must be between -999,999,999 and +999,999,999 inclusive. + # If `units` is positive, `nanos` must be positive or zero. + # If `units` is zero, `nanos` can be positive, zero, or negative. + # If `units` is negative, `nanos` must be negative or zero. + # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. + # Corresponds to the JSON property `nanos` + # @return [Fixnum] + attr_accessor :nanos + + # The whole units of the amount. + # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + # Corresponds to the JSON property `units` + # @return [Fixnum] + attr_accessor :units + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @currency_code = args[:currency_code] if args.key?(:currency_code) + @nanos = args[:nanos] if args.key?(:nanos) + @units = args[:units] if args.key?(:units) + end + end + + # Expresses a mathematical pricing formula. For Example:- + # `usage_unit: GBy` + # `tiered_rates:` + # `[start_usage_amount: 20, unit_price: $10]` + # `[start_usage_amount: 100, unit_price: $5]` + # The above expresses a pricing formula where the first 20GB is free, the + # next 80GB is priced at $10 per GB followed by $5 per GB for additional + # usage. + class PricingExpression + include Google::Apis::Core::Hashable + + # The base unit for the SKU which is the unit used in usage exports. + # Example: "By" + # Corresponds to the JSON property `baseUnit` + # @return [String] + attr_accessor :base_unit + + # Conversion factor for converting from price per usage_unit to price per + # base_unit, and start_usage_amount to start_usage_amount in base_unit. + # unit_price / base_unit_conversion_factor = price per base_unit. + # start_usage_amount * base_unit_conversion_factor = start_usage_amount in + # base_unit. + # Corresponds to the JSON property `baseUnitConversionFactor` + # @return [Float] + attr_accessor :base_unit_conversion_factor + + # The base unit in human readable form. + # Example: "byte". + # Corresponds to the JSON property `baseUnitDescription` + # @return [String] + attr_accessor :base_unit_description + + # The recommended quantity of units for displaying pricing info. When + # displaying pricing info it is recommended to display: + # (unit_price * display_quantity) per display_quantity usage_unit. + # This field does not affect the pricing formula and is for display purposes + # only. + # Example: If the unit_price is "0.0001 USD", the usage_unit is "GB" and + # the display_quantity is "1000" then the recommended way of displaying the + # pricing info is "0.10 USD per 1000 GB" + # Corresponds to the JSON property `displayQuantity` + # @return [Float] + attr_accessor :display_quantity + + # The list of tiered rates for this pricing. The total cost is computed by + # applying each of the tiered rates on usage. This repeated list is sorted + # by ascending order of start_usage_amount. + # Corresponds to the JSON property `tieredRates` + # @return [Array] + attr_accessor :tiered_rates + + # The short hand for unit of usage this pricing is specified in. + # Example: usage_unit of "GiBy" means that usage is specified in "Gibi Byte". + # Corresponds to the JSON property `usageUnit` + # @return [String] + attr_accessor :usage_unit + + # The unit of usage in human readable form. + # Example: "gibi byte". + # Corresponds to the JSON property `usageUnitDescription` + # @return [String] + attr_accessor :usage_unit_description + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @base_unit = args[:base_unit] if args.key?(:base_unit) + @base_unit_conversion_factor = args[:base_unit_conversion_factor] if args.key?(:base_unit_conversion_factor) + @base_unit_description = args[:base_unit_description] if args.key?(:base_unit_description) + @display_quantity = args[:display_quantity] if args.key?(:display_quantity) + @tiered_rates = args[:tiered_rates] if args.key?(:tiered_rates) + @usage_unit = args[:usage_unit] if args.key?(:usage_unit) + @usage_unit_description = args[:usage_unit_description] if args.key?(:usage_unit_description) + end + end + + # Represents the pricing information for a SKU at a single point of time. + class PricingInfo + include Google::Apis::Core::Hashable + + # Represents the aggregation level and interval for pricing of a single SKU. + # Corresponds to the JSON property `aggregationInfo` + # @return [Google::Apis::CloudbillingV1::AggregationInfo] + attr_accessor :aggregation_info + + # Conversion rate for currency conversion, from USD to the currency specified + # in the request. If the currency is not specified this defaults to 1.0. + # Example: USD * currency_conversion_rate = JPY + # Corresponds to the JSON property `currencyConversionRate` + # @return [Float] + attr_accessor :currency_conversion_rate + + # The timestamp from which this pricing was effective. + # Corresponds to the JSON property `effectiveTime` + # @return [String] + attr_accessor :effective_time + + # Expresses a mathematical pricing formula. For Example:- + # `usage_unit: GBy` + # `tiered_rates:` + # `[start_usage_amount: 20, unit_price: $10]` + # `[start_usage_amount: 100, unit_price: $5]` + # The above expresses a pricing formula where the first 20GB is free, the + # next 80GB is priced at $10 per GB followed by $5 per GB for additional + # usage. + # Corresponds to the JSON property `pricingExpression` + # @return [Google::Apis::CloudbillingV1::PricingExpression] + attr_accessor :pricing_expression + + # An optional human readable summary of the pricing information, has a + # maximum length of 256 characters. + # Corresponds to the JSON property `summary` + # @return [String] + attr_accessor :summary + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @aggregation_info = args[:aggregation_info] if args.key?(:aggregation_info) + @currency_conversion_rate = args[:currency_conversion_rate] if args.key?(:currency_conversion_rate) + @effective_time = args[:effective_time] if args.key?(:effective_time) + @pricing_expression = args[:pricing_expression] if args.key?(:pricing_expression) + @summary = args[:summary] if args.key?(:summary) + end + end + + # Encapsulation of billing information for a Cloud Console project. A project + # has at most one associated billing account at a time (but a billing account + # can be assigned to multiple projects). + class ProjectBillingInfo + include Google::Apis::Core::Hashable + + # The resource name of the billing account associated with the project, if + # any. For example, `billingAccounts/012345-567890-ABCDEF`. + # Corresponds to the JSON property `billingAccountName` + # @return [String] + attr_accessor :billing_account_name + + # True if the project is associated with an open billing account, to which + # usage on the project is charged. False if the project is associated with a + # closed billing account, or no billing account at all, and therefore cannot + # use paid services. This field is read-only. + # Corresponds to the JSON property `billingEnabled` + # @return [Boolean] + attr_accessor :billing_enabled + alias_method :billing_enabled?, :billing_enabled + + # The resource name for the `ProjectBillingInfo`; has the form + # `projects/`project_id`/billingInfo`. For example, the resource name for the + # billing information for project `tokyo-rain-123` would be + # `projects/tokyo-rain-123/billingInfo`. This field is read-only. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The ID of the project that this `ProjectBillingInfo` represents, such as + # `tokyo-rain-123`. This is a convenience field so that you don't need to + # parse the `name` field to obtain a project ID. This field is read-only. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @billing_account_name = args[:billing_account_name] if args.key?(:billing_account_name) + @billing_enabled = args[:billing_enabled] if args.key?(:billing_enabled) + @name = args[:name] if args.key?(:name) + @project_id = args[:project_id] if args.key?(:project_id) + end + end + + # Encapsulates a single service in Google Cloud Platform. + class Service + include Google::Apis::Core::Hashable + + # A human readable display name for this service. # Corresponds to the JSON property `displayName` # @return [String] attr_accessor :display_name - # True if the billing account is open, and will therefore be charged for any - # usage on associated projects. False if the billing account is closed, and - # therefore projects associated with it will be unable to use paid services. - # Corresponds to the JSON property `open` - # @return [Boolean] - attr_accessor :open - alias_method :open?, :open - - # The resource name of the billing account. The resource name has the form - # `billingAccounts/`billing_account_id``. For example, - # `billingAccounts/012345-567890-ABCDEF` would be the resource name for - # billing account `012345-567890-ABCDEF`. + # The resource name for the service. + # Example: "services/DA34-426B-A397" # Corresponds to the JSON property `name` # @return [String] attr_accessor :name + # The identifier for the service. + # Example: "DA34-426B-A397" + # Corresponds to the JSON property `serviceId` + # @return [String] + attr_accessor :service_id + def initialize(**args) update!(**args) end @@ -161,8 +490,96 @@ module Google # Update properties of this object def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) - @open = args[:open] if args.key?(:open) @name = args[:name] if args.key?(:name) + @service_id = args[:service_id] if args.key?(:service_id) + end + end + + # Encapsulates a single SKU in Google Cloud Platform + class Sku + include Google::Apis::Core::Hashable + + # Represents the category hierarchy of a SKU. + # Corresponds to the JSON property `category` + # @return [Google::Apis::CloudbillingV1::Category] + attr_accessor :category + + # A human readable description of the SKU, has a maximum length of 256 + # characters. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The resource name for the SKU. + # Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE" + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # A timeline of pricing info for this SKU in chronological order. + # Corresponds to the JSON property `pricingInfo` + # @return [Array] + attr_accessor :pricing_info + + # Identifies the service provider. + # This is 'Google' for first party services in Google Cloud Platform. + # Corresponds to the JSON property `serviceProviderName` + # @return [String] + attr_accessor :service_provider_name + + # List of service regions this SKU is offered at. + # Example: "asia-east1" + # Service regions can be found at https://cloud.google.com/about/locations/ + # Corresponds to the JSON property `serviceRegions` + # @return [Array] + attr_accessor :service_regions + + # The identifier for the SKU. + # Example: "AA95-CD31-42FE" + # Corresponds to the JSON property `skuId` + # @return [String] + attr_accessor :sku_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @category = args[:category] if args.key?(:category) + @description = args[:description] if args.key?(:description) + @name = args[:name] if args.key?(:name) + @pricing_info = args[:pricing_info] if args.key?(:pricing_info) + @service_provider_name = args[:service_provider_name] if args.key?(:service_provider_name) + @service_regions = args[:service_regions] if args.key?(:service_regions) + @sku_id = args[:sku_id] if args.key?(:sku_id) + end + end + + # The price rate indicating starting usage and its corresponding price. + class TierRate + include Google::Apis::Core::Hashable + + # Usage is priced at this rate only after this amount. + # Example: start_usage_amount of 10 indicates that the usage will be priced + # at the unit_price after the first 10 usage_units. + # Corresponds to the JSON property `startUsageAmount` + # @return [Float] + attr_accessor :start_usage_amount + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `unitPrice` + # @return [Google::Apis::CloudbillingV1::Money] + attr_accessor :unit_price + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @start_usage_amount = args[:start_usage_amount] if args.key?(:start_usage_amount) + @unit_price = args[:unit_price] if args.key?(:unit_price) end end end diff --git a/generated/google/apis/cloudbilling_v1/representations.rb b/generated/google/apis/cloudbilling_v1/representations.rb index f5415339e..e95ce7d1c 100644 --- a/generated/google/apis/cloudbilling_v1/representations.rb +++ b/generated/google/apis/cloudbilling_v1/representations.rb @@ -22,19 +22,7 @@ module Google module Apis module CloudbillingV1 - class ProjectBillingInfo - 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 ListBillingAccountsResponse + class AggregationInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -46,13 +34,112 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Category + 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 ListServicesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListSkusResponse + 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 PricingExpression + 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 ProjectBillingInfo + 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 Sku + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TierRate + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AggregationInfo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :billing_enabled, as: 'billingEnabled' + property :aggregation_count, as: 'aggregationCount' + property :aggregation_interval, as: 'aggregationInterval' + property :aggregation_level, as: 'aggregationLevel' + end + end + + class BillingAccount + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' property :name, as: 'name' - property :project_id, as: 'projectId' - property :billing_account_name, as: 'billingAccountName' + property :open, as: 'open' + end + end + + class Category + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :resource_family, as: 'resourceFamily' + property :resource_group, as: 'resourceGroup' + property :service_display_name, as: 'serviceDisplayName' + property :usage_type, as: 'usageType' + end + end + + class ListBillingAccountsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :billing_accounts, as: 'billingAccounts', class: Google::Apis::CloudbillingV1::BillingAccount, decorator: Google::Apis::CloudbillingV1::BillingAccount::Representation + + property :next_page_token, as: 'nextPageToken' end end @@ -65,21 +152,100 @@ module Google end end - class ListBillingAccountsResponse + class ListServicesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' - collection :billing_accounts, as: 'billingAccounts', class: Google::Apis::CloudbillingV1::BillingAccount, decorator: Google::Apis::CloudbillingV1::BillingAccount::Representation + collection :services, as: 'services', class: Google::Apis::CloudbillingV1::Service, decorator: Google::Apis::CloudbillingV1::Service::Representation end end - class BillingAccount + class ListSkusResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :skus, as: 'skus', class: Google::Apis::CloudbillingV1::Sku, decorator: Google::Apis::CloudbillingV1::Sku::Representation + + end + end + + class Money + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :currency_code, as: 'currencyCode' + property :nanos, as: 'nanos' + property :units, :numeric_string => true, as: 'units' + end + end + + class PricingExpression + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :base_unit, as: 'baseUnit' + property :base_unit_conversion_factor, as: 'baseUnitConversionFactor' + property :base_unit_description, as: 'baseUnitDescription' + property :display_quantity, as: 'displayQuantity' + collection :tiered_rates, as: 'tieredRates', class: Google::Apis::CloudbillingV1::TierRate, decorator: Google::Apis::CloudbillingV1::TierRate::Representation + + property :usage_unit, as: 'usageUnit' + property :usage_unit_description, as: 'usageUnitDescription' + end + end + + class PricingInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :aggregation_info, as: 'aggregationInfo', class: Google::Apis::CloudbillingV1::AggregationInfo, decorator: Google::Apis::CloudbillingV1::AggregationInfo::Representation + + property :currency_conversion_rate, as: 'currencyConversionRate' + property :effective_time, as: 'effectiveTime' + property :pricing_expression, as: 'pricingExpression', class: Google::Apis::CloudbillingV1::PricingExpression, decorator: Google::Apis::CloudbillingV1::PricingExpression::Representation + + property :summary, as: 'summary' + end + end + + class ProjectBillingInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :billing_account_name, as: 'billingAccountName' + property :billing_enabled, as: 'billingEnabled' + property :name, as: 'name' + property :project_id, as: 'projectId' + end + end + + class Service # @private class Representation < Google::Apis::Core::JsonRepresentation property :display_name, as: 'displayName' - property :open, as: 'open' property :name, as: 'name' + property :service_id, as: 'serviceId' + end + end + + class Sku + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :category, as: 'category', class: Google::Apis::CloudbillingV1::Category, decorator: Google::Apis::CloudbillingV1::Category::Representation + + property :description, as: 'description' + property :name, as: 'name' + collection :pricing_info, as: 'pricingInfo', class: Google::Apis::CloudbillingV1::PricingInfo, decorator: Google::Apis::CloudbillingV1::PricingInfo::Representation + + property :service_provider_name, as: 'serviceProviderName' + collection :service_regions, as: 'serviceRegions' + property :sku_id, as: 'skuId' + end + end + + class TierRate + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :start_usage_amount, as: 'startUsageAmount' + property :unit_price, as: 'unitPrice', class: Google::Apis::CloudbillingV1::Money, decorator: Google::Apis::CloudbillingV1::Money::Representation + end end end diff --git a/generated/google/apis/cloudbilling_v1/service.rb b/generated/google/apis/cloudbilling_v1/service.rb index 064397d39..3bdba6c5c 100644 --- a/generated/google/apis/cloudbilling_v1/service.rb +++ b/generated/google/apis/cloudbilling_v1/service.rb @@ -48,6 +48,152 @@ module Google @batch_path = 'batch' end + # Gets information about a billing account. The current authenticated user + # must be an [owner of the billing + # account](https://support.google.com/cloud/answer/4430947). + # @param [String] name + # The resource name of the billing account to retrieve. For example, + # `billingAccounts/012345-567890-ABCDEF`. + # @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::CloudbillingV1::BillingAccount] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudbillingV1::BillingAccount] + # + # @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_billing_account(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::CloudbillingV1::BillingAccount::Representation + command.response_class = Google::Apis::CloudbillingV1::BillingAccount + 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 the billing accounts that the current authenticated user + # [owns](https://support.google.com/cloud/answer/4430947). + # @param [Fixnum] page_size + # Requested page size. The maximum page size is 100; this is also the + # default. + # @param [String] page_token + # A token identifying a page of results to return. This should be a + # `next_page_token` value returned from a previous `ListBillingAccounts` + # call. If unspecified, the first page of results is returned. + # @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::CloudbillingV1::ListBillingAccountsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudbillingV1::ListBillingAccountsResponse] + # + # @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_billing_accounts(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/billingAccounts', options) + command.response_representation = Google::Apis::CloudbillingV1::ListBillingAccountsResponse::Representation + command.response_class = Google::Apis::CloudbillingV1::ListBillingAccountsResponse + 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 + + # Lists the projects associated with a billing account. The current + # authenticated user must be an [owner of the billing + # account](https://support.google.com/cloud/answer/4430947). + # @param [String] name + # The resource name of the billing account associated with the projects that + # you want to list. For example, `billingAccounts/012345-567890-ABCDEF`. + # @param [Fixnum] page_size + # Requested page size. The maximum page size is 100; this is also the + # default. + # @param [String] page_token + # A token identifying a page of results to be returned. This should be a + # `next_page_token` value returned from a previous `ListProjectBillingInfo` + # call. If unspecified, the first page of results is returned. + # @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::CloudbillingV1::ListProjectBillingInfoResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudbillingV1::ListProjectBillingInfoResponse] + # + # @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_billing_account_projects(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}/projects', options) + command.response_representation = Google::Apis::CloudbillingV1::ListProjectBillingInfoResponse::Representation + command.response_class = Google::Apis::CloudbillingV1::ListProjectBillingInfoResponse + command.params['name'] = name unless name.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 the billing information for a project. The current authenticated user + # must have [permission to view the + # project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo + # ). + # @param [String] name + # The resource name of the project for which billing information is + # retrieved. For example, `projects/tokyo-rain-123`. + # @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::CloudbillingV1::ProjectBillingInfo] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudbillingV1::ProjectBillingInfo] + # + # @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_project_billing_info(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}/billingInfo', options) + command.response_representation = Google::Apis::CloudbillingV1::ProjectBillingInfo::Representation + command.response_class = Google::Apis::CloudbillingV1::ProjectBillingInfo + 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 + # Sets or updates the billing account associated with a project. You specify # the new billing account by setting the `billing_account_name` in the # `ProjectBillingInfo` resource to the resource name of a billing account. @@ -79,11 +225,11 @@ module Google # The resource name of the project associated with the billing information # that you want to update. For example, `projects/tokyo-rain-123`. # @param [Google::Apis::CloudbillingV1::ProjectBillingInfo] project_billing_info_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -96,161 +242,108 @@ 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_project_billing_info(name, project_billing_info_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def update_project_billing_info(name, project_billing_info_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v1/{+name}/billingInfo', options) command.request_representation = Google::Apis::CloudbillingV1::ProjectBillingInfo::Representation command.request_object = project_billing_info_object command.response_representation = Google::Apis::CloudbillingV1::ProjectBillingInfo::Representation command.response_class = Google::Apis::CloudbillingV1::ProjectBillingInfo command.params['name'] = name unless name.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 - # Gets the billing information for a project. The current authenticated user - # must have [permission to view the - # project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo - # ). - # @param [String] name - # The resource name of the project for which billing information is - # retrieved. For example, `projects/tokyo-rain-123`. - # @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::CloudbillingV1::ProjectBillingInfo] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudbillingV1::ProjectBillingInfo] - # - # @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_project_billing_info(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}/billingInfo', options) - command.response_representation = Google::Apis::CloudbillingV1::ProjectBillingInfo::Representation - command.response_class = Google::Apis::CloudbillingV1::ProjectBillingInfo - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets information about a billing account. The current authenticated user - # must be an [owner of the billing - # account](https://support.google.com/cloud/answer/4430947). - # @param [String] name - # The resource name of the billing account to retrieve. For example, - # `billingAccounts/012345-567890-ABCDEF`. - # @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::CloudbillingV1::BillingAccount] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudbillingV1::BillingAccount] - # - # @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_billing_account(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::CloudbillingV1::BillingAccount::Representation - command.response_class = Google::Apis::CloudbillingV1::BillingAccount - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists the billing accounts that the current authenticated user - # [owns](https://support.google.com/cloud/answer/4430947). + # Lists all public cloud services. # @param [Fixnum] page_size - # Requested page size. The maximum page size is 100; this is also the - # default. + # Requested page size. Defaults to 5000. # @param [String] page_token # A token identifying a page of results to return. This should be a - # `next_page_token` value returned from a previous `ListBillingAccounts` + # `next_page_token` value returned from a previous `ListServices` # call. If unspecified, the first page of results is returned. + # @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 # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudbillingV1::ListBillingAccountsResponse] parsed result object + # @yieldparam result [Google::Apis::CloudbillingV1::ListServicesResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::CloudbillingV1::ListBillingAccountsResponse] + # @return [Google::Apis::CloudbillingV1::ListServicesResponse] # # @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_billing_accounts(page_size: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/billingAccounts', options) - command.response_representation = Google::Apis::CloudbillingV1::ListBillingAccountsResponse::Representation - command.response_class = Google::Apis::CloudbillingV1::ListBillingAccountsResponse + def list_services(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/services', options) + command.response_representation = Google::Apis::CloudbillingV1::ListServicesResponse::Representation + command.response_class = Google::Apis::CloudbillingV1::ListServicesResponse command.query['pageSize'] = page_size unless page_size.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 - # Lists the projects associated with a billing account. The current - # authenticated user must be an [owner of the billing - # account](https://support.google.com/cloud/answer/4430947). - # @param [String] name - # The resource name of the billing account associated with the projects that - # you want to list. For example, `billingAccounts/012345-567890-ABCDEF`. + # Lists all publicly available SKUs for a given cloud service. + # @param [String] parent + # The name of the service. + # Example: "services/DA34-426B-A397" + # @param [String] currency_code + # The ISO 4217 currency code for the pricing info in the response proto. + # Will use the conversion rate as of start_time. + # Optional. If not specified USD will be used. + # @param [String] end_time + # Optional exclusive end time of the time range for which the pricing + # versions will be returned. Timestamps in the future are not allowed. + # Maximum allowable time range is 1 month (31 days). Time range as a whole + # is optional. If not specified, the latest pricing will be returned (up to + # 12 hours old at most). # @param [Fixnum] page_size - # Requested page size. The maximum page size is 100; this is also the - # default. + # Requested page size. Defaults to 5000. # @param [String] page_token - # A token identifying a page of results to be returned. This should be a - # `next_page_token` value returned from a previous `ListProjectBillingInfo` + # A token identifying a page of results to return. This should be a + # `next_page_token` value returned from a previous `ListSkus` # call. If unspecified, the first page of results is returned. + # @param [String] start_time + # Optional inclusive start time of the time range for which the pricing + # versions will be returned. Timestamps in the future are not allowed. + # Maximum allowable time range is 1 month (31 days). Time range as a whole + # is optional. If not specified, the latest pricing will be returned (up to + # 12 hours old at most). + # @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 # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudbillingV1::ListProjectBillingInfoResponse] parsed result object + # @yieldparam result [Google::Apis::CloudbillingV1::ListSkusResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::CloudbillingV1::ListProjectBillingInfoResponse] + # @return [Google::Apis::CloudbillingV1::ListSkusResponse] # # @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_billing_account_projects(name, page_size: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}/projects', options) - command.response_representation = Google::Apis::CloudbillingV1::ListProjectBillingInfoResponse::Representation - command.response_class = Google::Apis::CloudbillingV1::ListProjectBillingInfoResponse - command.params['name'] = name unless name.nil? + def list_service_skus(parent, currency_code: nil, end_time: nil, page_size: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/skus', options) + command.response_representation = Google::Apis::CloudbillingV1::ListSkusResponse::Representation + command.response_class = Google::Apis::CloudbillingV1::ListSkusResponse + command.params['parent'] = parent unless parent.nil? + command.query['currencyCode'] = currency_code unless currency_code.nil? + command.query['endTime'] = end_time unless end_time.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['startTime'] = start_time unless start_time.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/cloudbuild_v1.rb b/generated/google/apis/cloudbuild_v1.rb index aeaf439e2..3ecb342a1 100644 --- a/generated/google/apis/cloudbuild_v1.rb +++ b/generated/google/apis/cloudbuild_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/container-builder/docs/ module CloudbuildV1 VERSION = 'V1' - REVISION = '20170712' + REVISION = '20170824' # 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 f94136562..f7a1d038f 100644 --- a/generated/google/apis/cloudbuild_v1/classes.rb +++ b/generated/google/apis/cloudbuild_v1/classes.rb @@ -22,6 +22,177 @@ module Google module Apis module CloudbuildV1 + # A build resource in the Container Builder API. + # At a high level, a Build describes where to find source code, how to build + # it (for example, the builder image to run on the source), and what tag to + # apply to the built image when it is pushed to Google Container Registry. + # Fields can include the following variables which will be expanded when the + # build is created: + # - $PROJECT_ID: the project ID of the build. + # - $BUILD_ID: the autogenerated ID of the build. + # - $REPO_NAME: the source repository name specified by RepoSource. + # - $BRANCH_NAME: the branch name specified by RepoSource. + # - $TAG_NAME: the tag name specified by RepoSource. + # - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or + # resolved from the specified branch or tag. + class Build + include Google::Apis::Core::Hashable + + # The ID of the BuildTrigger that triggered this build, if it was + # triggered automatically. + # @OutputOnly + # Corresponds to the JSON property `buildTriggerId` + # @return [String] + attr_accessor :build_trigger_id + + # Time at which the request to create the build was received. + # @OutputOnly + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Time at which execution of the build was finished. + # The difference between finish_time and start_time is the duration of the + # build's execution. + # @OutputOnly + # Corresponds to the JSON property `finishTime` + # @return [String] + attr_accessor :finish_time + + # Unique identifier of the build. + # @OutputOnly + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of images to be pushed upon the successful completion of all build + # steps. + # The images will be pushed using the builder service account's credentials. + # The digests of the pushed images will be stored in the Build resource's + # results field. + # If any of the images fail to be pushed, the build is marked FAILURE. + # Corresponds to the JSON property `images` + # @return [Array] + attr_accessor :images + + # URL to logs for this build in Google Cloud Logging. + # @OutputOnly + # Corresponds to the JSON property `logUrl` + # @return [String] + attr_accessor :log_url + + # Google Cloud Storage bucket where logs should be written (see + # [Bucket Name + # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements) + # ). + # Logs file names will be of the format `$`logs_bucket`/log-$`build_id`.txt`. + # Corresponds to the JSON property `logsBucket` + # @return [String] + attr_accessor :logs_bucket + + # Optional arguments to enable specific features of builds. + # Corresponds to the JSON property `options` + # @return [Google::Apis::CloudbuildV1::BuildOptions] + attr_accessor :options + + # ID of the project. + # @OutputOnly. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # Results describes the artifacts created by the build pipeline. + # Corresponds to the JSON property `results` + # @return [Google::Apis::CloudbuildV1::Results] + attr_accessor :results + + # Secrets to decrypt using Cloud KMS. + # Corresponds to the JSON property `secrets` + # @return [Array] + attr_accessor :secrets + + # Source describes the location of the source in a supported storage + # service. + # Corresponds to the JSON property `source` + # @return [Google::Apis::CloudbuildV1::Source] + attr_accessor :source + + # Provenance of the source. Ways to find the original source, or verify that + # some source was used for this build. + # Corresponds to the JSON property `sourceProvenance` + # @return [Google::Apis::CloudbuildV1::SourceProvenance] + attr_accessor :source_provenance + + # Time at which execution of the build was started. + # @OutputOnly + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Status of the build. + # @OutputOnly + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # Customer-readable message about the current status. + # @OutputOnly + # Corresponds to the JSON property `statusDetail` + # @return [String] + attr_accessor :status_detail + + # Describes the operations to be performed on the workspace. + # Corresponds to the JSON property `steps` + # @return [Array] + attr_accessor :steps + + # Substitutions data for Build resource. + # Corresponds to the JSON property `substitutions` + # @return [Hash] + attr_accessor :substitutions + + # Tags for annotation of a Build. These are not docker tags. + # Corresponds to the JSON property `tags` + # @return [Array] + attr_accessor :tags + + # Amount of time that this build should be allowed to run, to second + # granularity. If this amount of time elapses, work on the build will cease + # and the build status will be TIMEOUT. + # Default time is ten minutes. + # Corresponds to the JSON property `timeout` + # @return [String] + attr_accessor :timeout + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id) + @create_time = args[:create_time] if args.key?(:create_time) + @finish_time = args[:finish_time] if args.key?(:finish_time) + @id = args[:id] if args.key?(:id) + @images = args[:images] if args.key?(:images) + @log_url = args[:log_url] if args.key?(:log_url) + @logs_bucket = args[:logs_bucket] if args.key?(:logs_bucket) + @options = args[:options] if args.key?(:options) + @project_id = args[:project_id] if args.key?(:project_id) + @results = args[:results] if args.key?(:results) + @secrets = args[:secrets] if args.key?(:secrets) + @source = args[:source] if args.key?(:source) + @source_provenance = args[:source_provenance] if args.key?(:source_provenance) + @start_time = args[:start_time] if args.key?(:start_time) + @status = args[:status] if args.key?(:status) + @status_detail = args[:status_detail] if args.key?(:status_detail) + @steps = args[:steps] if args.key?(:steps) + @substitutions = args[:substitutions] if args.key?(:substitutions) + @tags = args[:tags] if args.key?(:tags) + @timeout = args[:timeout] if args.key?(:timeout) + end + end + # Metadata for build operations. class BuildOperationMetadata include Google::Apis::Core::Hashable @@ -53,34 +224,244 @@ module Google end end - # Provenance of the source. Ways to find the original source, or verify that - # some source was used for this build. - class SourceProvenance + # Optional arguments to enable specific features of builds. + class BuildOptions include Google::Apis::Core::Hashable - # StorageSource describes the location of the source in an archive file in - # Google Cloud Storage. - # Corresponds to the JSON property `resolvedStorageSource` - # @return [Google::Apis::CloudbuildV1::StorageSource] - attr_accessor :resolved_storage_source + # Requested verifiability options. + # Corresponds to the JSON property `requestedVerifyOption` + # @return [String] + attr_accessor :requested_verify_option - # Hash(es) of the build source, which can be used to verify that the original - # source integrity was maintained in the build. Note that FileHashes will - # only be populated if BuildOptions has requested a SourceProvenanceHash. - # The keys to this map are file paths used as build source and the values - # contain the hash values for those files. - # If the build source came in a single package such as a gzipped tarfile - # (.tar.gz), the FileHash will be for the single path to that file. - # @OutputOnly - # Corresponds to the JSON property `fileHashes` - # @return [Hash] - attr_accessor :file_hashes + # Requested hash for SourceProvenance. + # Corresponds to the JSON property `sourceProvenanceHash` + # @return [Array] + attr_accessor :source_provenance_hash - # RepoSource describes the location of the source in a Google Cloud Source - # Repository. - # Corresponds to the JSON property `resolvedRepoSource` - # @return [Google::Apis::CloudbuildV1::RepoSource] - attr_accessor :resolved_repo_source + # SubstitutionOption to allow unmatch substitutions. + # Corresponds to the JSON property `substitutionOption` + # @return [String] + attr_accessor :substitution_option + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option) + @source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash) + @substitution_option = args[:substitution_option] if args.key?(:substitution_option) + end + end + + # BuildStep describes a step to perform in the build pipeline. + class BuildStep + include Google::Apis::Core::Hashable + + # A list of arguments that will be presented to the step when it is started. + # If the image used to run the step's container has an entrypoint, these args + # will be used as arguments to that entrypoint. If the image does not define + # an entrypoint, the first element in args will be used as the entrypoint, + # and the remainder will be used as arguments. + # Corresponds to the JSON property `args` + # @return [Array] + attr_accessor :args + + # Working directory (relative to project source root) to use when running + # this operation's container. + # Corresponds to the JSON property `dir` + # @return [String] + attr_accessor :dir + + # Optional entrypoint to be used instead of the build step image's default + # If unset, the image's default will be used. + # Corresponds to the JSON property `entrypoint` + # @return [String] + attr_accessor :entrypoint + + # A list of environment variable definitions to be used when running a step. + # The elements are of the form "KEY=VALUE" for the environment variable "KEY" + # being given the value "VALUE". + # Corresponds to the JSON property `env` + # @return [Array] + attr_accessor :env + + # Optional unique identifier for this build step, used in wait_for to + # reference this build step as a dependency. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The name of the container image that will run this particular build step. + # If the image is already available in the host's Docker daemon's cache, it + # will be run directly. If not, the host will attempt to pull the image + # first, using the builder service account's credentials if necessary. + # The Docker daemon's cache will already have the latest versions of all of + # the officially supported build steps + # ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/ + # GoogleCloudPlatform/cloud-builders)). + # The Docker daemon will also have cached many of the layers for some popular + # images, like "ubuntu", "debian", but they will be refreshed at the time you + # attempt to use them. + # If you built an image in a previous build step, it will be stored in the + # host's Docker daemon's cache and is available to use as the name for a + # later build step. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # A list of environment variables which are encrypted using a Cloud KMS + # crypto key. These values must be specified in the build's secrets. + # Corresponds to the JSON property `secretEnv` + # @return [Array] + attr_accessor :secret_env + + # List of volumes to mount into the build step. + # Each volume will be created as an empty volume prior to execution of the + # build step. Upon completion of the build, volumes and their contents will + # be discarded. + # Using a named volume in only one step is not valid as it is indicative + # of a mis-configured build request. + # Corresponds to the JSON property `volumes` + # @return [Array] + attr_accessor :volumes + + # The ID(s) of the step(s) that this build step depends on. + # This build step will not start until all the build steps in wait_for + # have completed successfully. If wait_for is empty, this build step will + # start when all previous build steps in the Build.Steps list have completed + # successfully. + # Corresponds to the JSON property `waitFor` + # @return [Array] + attr_accessor :wait_for + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @args = args[:args] if args.key?(:args) + @dir = args[:dir] if args.key?(:dir) + @entrypoint = args[:entrypoint] if args.key?(:entrypoint) + @env = args[:env] if args.key?(:env) + @id = args[:id] if args.key?(:id) + @name = args[:name] if args.key?(:name) + @secret_env = args[:secret_env] if args.key?(:secret_env) + @volumes = args[:volumes] if args.key?(:volumes) + @wait_for = args[:wait_for] if args.key?(:wait_for) + end + end + + # Configuration for an automated build in response to source repository + # changes. + class BuildTrigger + include Google::Apis::Core::Hashable + + # A build resource in the Container Builder API. + # At a high level, a Build describes where to find source code, how to build + # it (for example, the builder image to run on the source), and what tag to + # apply to the built image when it is pushed to Google Container Registry. + # Fields can include the following variables which will be expanded when the + # build is created: + # - $PROJECT_ID: the project ID of the build. + # - $BUILD_ID: the autogenerated ID of the build. + # - $REPO_NAME: the source repository name specified by RepoSource. + # - $BRANCH_NAME: the branch name specified by RepoSource. + # - $TAG_NAME: the tag name specified by RepoSource. + # - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or + # resolved from the specified branch or tag. + # Corresponds to the JSON property `build` + # @return [Google::Apis::CloudbuildV1::Build] + attr_accessor :build + + # Time when the trigger was created. + # @OutputOnly + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Human-readable description of this trigger. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # If true, the trigger will never result in a build. + # Corresponds to the JSON property `disabled` + # @return [Boolean] + attr_accessor :disabled + alias_method :disabled?, :disabled + + # Path, from the source root, to a file whose contents is used for the + # template. + # Corresponds to the JSON property `filename` + # @return [String] + attr_accessor :filename + + # Unique identifier of the trigger. + # @OutputOnly + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Substitutions data for Build resource. + # Corresponds to the JSON property `substitutions` + # @return [Hash] + attr_accessor :substitutions + + # RepoSource describes the location of the source in a Google Cloud Source + # Repository. + # Corresponds to the JSON property `triggerTemplate` + # @return [Google::Apis::CloudbuildV1::RepoSource] + attr_accessor :trigger_template + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @build = args[:build] if args.key?(:build) + @create_time = args[:create_time] if args.key?(:create_time) + @description = args[:description] if args.key?(:description) + @disabled = args[:disabled] if args.key?(:disabled) + @filename = args[:filename] if args.key?(:filename) + @id = args[:id] if args.key?(:id) + @substitutions = args[:substitutions] if args.key?(:substitutions) + @trigger_template = args[:trigger_template] if args.key?(:trigger_template) + end + end + + # BuiltImage describes an image built by the pipeline. + class BuiltImage + include Google::Apis::Core::Hashable + + # Docker Registry 2.0 digest. + # Corresponds to the JSON property `digest` + # @return [String] + attr_accessor :digest + + # Name used to push the container image to Google Container Registry, as + # presented to `docker push`. + # 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) + @digest = args[:digest] if args.key?(:digest) + @name = args[:name] if args.key?(:name) + end + end + + # Request to cancel an ongoing build. + class CancelBuildRequest + include Google::Apis::Core::Hashable def initialize(**args) update!(**args) @@ -88,9 +469,6 @@ module Google # Update properties of this object def update!(**args) - @resolved_storage_source = args[:resolved_storage_source] if args.key?(:resolved_storage_source) - @file_hashes = args[:file_hashes] if args.key?(:file_hashes) - @resolved_repo_source = args[:resolved_repo_source] if args.key?(:resolved_repo_source) end end @@ -107,6 +485,71 @@ module Google 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 + + # Container message for hashes of byte content of files, used in + # SourceProvenance messages to verify integrity of source input to the build. + class FileHashes + include Google::Apis::Core::Hashable + + # Collection of file hashes. + # Corresponds to the JSON property `fileHash` + # @return [Array] + attr_accessor :file_hash + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file_hash = args[:file_hash] if args.key?(:file_hash) + end + end + + # Container message for hash values. + class HashProp + include Google::Apis::Core::Hashable + + # The type of hash that was performed. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The hash value. + # Corresponds to the JSON property `value` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @type = args[:type] if args.key?(:type) + @value = args[:value] if args.key?(:value) + end + end + # Response containing existing BuildTriggers. class ListBuildTriggersResponse include Google::Apis::Core::Hashable @@ -126,29 +569,68 @@ module Google end end + # Response including listed builds. + class ListBuildsResponse + include Google::Apis::Core::Hashable + + # Builds will be sorted by create_time, descending. + # Corresponds to the JSON property `builds` + # @return [Array] + attr_accessor :builds + + # Token to receive the next page of results. + # 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) + @builds = args[:builds] if args.key?(:builds) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The response message for Operations.ListOperations. + class ListOperationsResponse + include Google::Apis::Core::Hashable + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + 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) + @operations = args[:operations] if args.key?(:operations) + 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 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 - - # 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 + # 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 @@ -201,42 +683,24 @@ module Google # @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 - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @response = args[:response] if args.key?(:response) - @name = args[:name] if args.key?(:name) - @error = args[:error] if args.key?(:error) - @metadata = args[:metadata] if args.key?(:metadata) - @done = args[:done] if args.key?(:done) - end - end - - # BuiltImage describes an image built by the pipeline. - class BuiltImage - include Google::Apis::Core::Hashable - - # Name used to push the container image to Google Container Registry, as - # presented to `docker push`. + # 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 - # Docker Registry 2.0 digest. - # Corresponds to the JSON property `digest` - # @return [String] - attr_accessor :digest + # 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) @@ -244,34 +708,11 @@ module Google # Update properties of this object def update!(**args) + @done = args[:done] if args.key?(:done) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) @name = args[:name] if args.key?(:name) - @digest = args[:digest] if args.key?(:digest) - end - end - - # Container message for hash values. - class HashProp - include Google::Apis::Core::Hashable - - # The hash value. - # Corresponds to the JSON property `value` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :value - - # The type of hash that was performed. - # 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) - @type = args[:type] if args.key?(:type) + @response = args[:response] if args.key?(:response) end end @@ -280,25 +721,15 @@ module Google class RepoSource include Google::Apis::Core::Hashable - # Explicit commit SHA to build. - # Corresponds to the JSON property `commitSha` - # @return [String] - attr_accessor :commit_sha - - # Name of the tag to build. - # Corresponds to the JSON property `tagName` - # @return [String] - attr_accessor :tag_name - # Name of the branch to build. # Corresponds to the JSON property `branchName` # @return [String] attr_accessor :branch_name - # Name of the repo. If omitted, the name "default" is assumed. - # Corresponds to the JSON property `repoName` + # Explicit commit SHA to build. + # Corresponds to the JSON property `commitSha` # @return [String] - attr_accessor :repo_name + attr_accessor :commit_sha # ID of the project that owns the repo. If omitted, the project ID requesting # the build is assumed. @@ -306,90 +737,43 @@ module Google # @return [String] attr_accessor :project_id + # Name of the repo. If omitted, the name "default" is assumed. + # Corresponds to the JSON property `repoName` + # @return [String] + attr_accessor :repo_name + + # Name of the tag to build. + # Corresponds to the JSON property `tagName` + # @return [String] + attr_accessor :tag_name + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @commit_sha = args[:commit_sha] if args.key?(:commit_sha) - @tag_name = args[:tag_name] if args.key?(:tag_name) @branch_name = args[:branch_name] if args.key?(:branch_name) - @repo_name = args[:repo_name] if args.key?(:repo_name) + @commit_sha = args[:commit_sha] if args.key?(:commit_sha) @project_id = args[:project_id] if args.key?(:project_id) + @repo_name = args[:repo_name] if args.key?(:repo_name) + @tag_name = args[:tag_name] if args.key?(:tag_name) end end - # BuildStep describes a step to perform in the build pipeline. - class BuildStep + # Results describes the artifacts created by the build pipeline. + class Results include Google::Apis::Core::Hashable - # Working directory (relative to project source root) to use when running - # this operation's container. - # Corresponds to the JSON property `dir` - # @return [String] - attr_accessor :dir - - # A list of environment variable definitions to be used when running a step. - # The elements are of the form "KEY=VALUE" for the environment variable "KEY" - # being given the value "VALUE". - # Corresponds to the JSON property `env` + # List of build step digests, in order corresponding to build step indices. + # Corresponds to the JSON property `buildStepImages` # @return [Array] - attr_accessor :env + attr_accessor :build_step_images - # The ID(s) of the step(s) that this build step depends on. - # This build step will not start until all the build steps in wait_for - # have completed successfully. If wait_for is empty, this build step will - # start when all previous build steps in the Build.Steps list have completed - # successfully. - # Corresponds to the JSON property `waitFor` - # @return [Array] - attr_accessor :wait_for - - # A list of arguments that will be presented to the step when it is started. - # If the image used to run the step's container has an entrypoint, these args - # will be used as arguments to that entrypoint. If the image does not define - # an entrypoint, the first element in args will be used as the entrypoint, - # and the remainder will be used as arguments. - # Corresponds to the JSON property `args` - # @return [Array] - attr_accessor :args - - # The name of the container image that will run this particular build step. - # If the image is already available in the host's Docker daemon's cache, it - # will be run directly. If not, the host will attempt to pull the image - # first, using the builder service account's credentials if necessary. - # The Docker daemon's cache will already have the latest versions of all of - # the officially supported build steps - # ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/ - # GoogleCloudPlatform/cloud-builders)). - # The Docker daemon will also have cached many of the layers for some popular - # images, like "ubuntu", "debian", but they will be refreshed at the time you - # attempt to use them. - # If you built an image in a previous build step, it will be stored in the - # host's Docker daemon's cache and is available to use as the name for a - # later build step. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Optional entrypoint to be used instead of the build step image's default - # If unset, the image's default will be used. - # Corresponds to the JSON property `entrypoint` - # @return [String] - attr_accessor :entrypoint - - # Optional unique identifier for this build step, used in wait_for to - # reference this build step as a dependency. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # A list of environment variables which are encrypted using a Cloud KMS - # crypto key. These values must be specified in the build's secrets. - # Corresponds to the JSON property `secretEnv` - # @return [Array] - attr_accessor :secret_env + # Images that were built as a part of the build. + # Corresponds to the JSON property `images` + # @return [Array] + attr_accessor :images def initialize(**args) update!(**args) @@ -397,34 +781,8 @@ module Google # Update properties of this object def update!(**args) - @dir = args[:dir] if args.key?(:dir) - @env = args[:env] if args.key?(:env) - @wait_for = args[:wait_for] if args.key?(:wait_for) - @args = args[:args] if args.key?(:args) - @name = args[:name] if args.key?(:name) - @entrypoint = args[:entrypoint] if args.key?(:entrypoint) - @id = args[:id] if args.key?(:id) - @secret_env = args[:secret_env] if args.key?(:secret_env) - end - end - - # Container message for hashes of byte content of files, used in - # SourceProvenance messages to verify integrity of source input to the build. - class FileHashes - include Google::Apis::Core::Hashable - - # Collection of file hashes. - # Corresponds to the JSON property `fileHash` - # @return [Array] - attr_accessor :file_hash - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @file_hash = args[:file_hash] if args.key?(:file_hash) + @build_step_images = args[:build_step_images] if args.key?(:build_step_images) + @images = args[:images] if args.key?(:images) end end @@ -433,6 +791,11 @@ module Google class Secret include Google::Apis::Core::Hashable + # Cloud KMS key name to use to decrypt these envs. + # Corresponds to the JSON property `kmsKeyName` + # @return [String] + attr_accessor :kms_key_name + # Map of environment variable name to its encrypted value. # Secret environment variables must be unique across all of a build's # secrets, and must be used by at least one build step. Values can be at most @@ -442,10 +805,33 @@ module Google # @return [Hash] attr_accessor :secret_env - # Cloud KMS key name to use to decrypt these envs. - # Corresponds to the JSON property `kmsKeyName` - # @return [String] - attr_accessor :kms_key_name + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name) + @secret_env = args[:secret_env] if args.key?(:secret_env) + end + end + + # Source describes the location of the source in a supported storage + # service. + class Source + include Google::Apis::Core::Hashable + + # RepoSource describes the location of the source in a Google Cloud Source + # Repository. + # Corresponds to the JSON property `repoSource` + # @return [Google::Apis::CloudbuildV1::RepoSource] + attr_accessor :repo_source + + # StorageSource describes the location of the source in an archive file in + # Google Cloud Storage. + # Corresponds to the JSON property `storageSource` + # @return [Google::Apis::CloudbuildV1::StorageSource] + attr_accessor :storage_source def initialize(**args) update!(**args) @@ -453,8 +839,49 @@ module Google # Update properties of this object def update!(**args) - @secret_env = args[:secret_env] if args.key?(:secret_env) - @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name) + @repo_source = args[:repo_source] if args.key?(:repo_source) + @storage_source = args[:storage_source] if args.key?(:storage_source) + end + end + + # Provenance of the source. Ways to find the original source, or verify that + # some source was used for this build. + class SourceProvenance + include Google::Apis::Core::Hashable + + # Hash(es) of the build source, which can be used to verify that the original + # source integrity was maintained in the build. Note that FileHashes will + # only be populated if BuildOptions has requested a SourceProvenanceHash. + # The keys to this map are file paths used as build source and the values + # contain the hash values for those files. + # If the build source came in a single package such as a gzipped tarfile + # (.tar.gz), the FileHash will be for the single path to that file. + # @OutputOnly + # Corresponds to the JSON property `fileHashes` + # @return [Hash] + attr_accessor :file_hashes + + # RepoSource describes the location of the source in a Google Cloud Source + # Repository. + # Corresponds to the JSON property `resolvedRepoSource` + # @return [Google::Apis::CloudbuildV1::RepoSource] + attr_accessor :resolved_repo_source + + # StorageSource describes the location of the source in an archive file in + # Google Cloud Storage. + # Corresponds to the JSON property `resolvedStorageSource` + # @return [Google::Apis::CloudbuildV1::StorageSource] + attr_accessor :resolved_storage_source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file_hashes = args[:file_hashes] if args.key?(:file_hashes) + @resolved_repo_source = args[:resolved_repo_source] if args.key?(:resolved_repo_source) + @resolved_storage_source = args[:resolved_storage_source] if args.key?(:resolved_storage_source) end end @@ -500,12 +927,10 @@ module Google class Status include Google::Apis::Core::Hashable - # 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 + # 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 is a common set of # message types for APIs to use. @@ -513,10 +938,12 @@ module Google # @return [Array>] attr_accessor :details - # 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 def initialize(**args) update!(**args) @@ -524,400 +951,9 @@ module Google # Update properties of this object def update!(**args) - @message = args[:message] if args.key?(:message) - @details = args[:details] if args.key?(:details) @code = args[:code] if args.key?(:code) - 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 - - # Configuration for an automated build in response to source repository - # changes. - class BuildTrigger - include Google::Apis::Core::Hashable - - # Time when the trigger was created. - # @OutputOnly - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # If true, the trigger will never result in a build. - # Corresponds to the JSON property `disabled` - # @return [Boolean] - attr_accessor :disabled - alias_method :disabled?, :disabled - - # Path, from the source root, to a file whose contents is used for the - # template. - # Corresponds to the JSON property `filename` - # @return [String] - attr_accessor :filename - - # RepoSource describes the location of the source in a Google Cloud Source - # Repository. - # Corresponds to the JSON property `triggerTemplate` - # @return [Google::Apis::CloudbuildV1::RepoSource] - attr_accessor :trigger_template - - # Unique identifier of the trigger. - # @OutputOnly - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # A build resource in the Container Builder API. - # At a high level, a Build describes where to find source code, how to build - # it (for example, the builder image to run on the source), and what tag to - # apply to the built image when it is pushed to Google Container Registry. - # Fields can include the following variables which will be expanded when the - # build is created: - # - $PROJECT_ID: the project ID of the build. - # - $BUILD_ID: the autogenerated ID of the build. - # - $REPO_NAME: the source repository name specified by RepoSource. - # - $BRANCH_NAME: the branch name specified by RepoSource. - # - $TAG_NAME: the tag name specified by RepoSource. - # - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or - # resolved from the specified branch or tag. - # Corresponds to the JSON property `build` - # @return [Google::Apis::CloudbuildV1::Build] - attr_accessor :build - - # Substitutions data for Build resource. - # Corresponds to the JSON property `substitutions` - # @return [Hash] - attr_accessor :substitutions - - # Human-readable description of this trigger. - # 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) - @create_time = args[:create_time] if args.key?(:create_time) - @disabled = args[:disabled] if args.key?(:disabled) - @filename = args[:filename] if args.key?(:filename) - @trigger_template = args[:trigger_template] if args.key?(:trigger_template) - @id = args[:id] if args.key?(:id) - @build = args[:build] if args.key?(:build) - @substitutions = args[:substitutions] if args.key?(:substitutions) - @description = args[:description] if args.key?(:description) - end - end - - # A build resource in the Container Builder API. - # At a high level, a Build describes where to find source code, how to build - # it (for example, the builder image to run on the source), and what tag to - # apply to the built image when it is pushed to Google Container Registry. - # Fields can include the following variables which will be expanded when the - # build is created: - # - $PROJECT_ID: the project ID of the build. - # - $BUILD_ID: the autogenerated ID of the build. - # - $REPO_NAME: the source repository name specified by RepoSource. - # - $BRANCH_NAME: the branch name specified by RepoSource. - # - $TAG_NAME: the tag name specified by RepoSource. - # - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or - # resolved from the specified branch or tag. - class Build - include Google::Apis::Core::Hashable - - # Substitutions data for Build resource. - # Corresponds to the JSON property `substitutions` - # @return [Hash] - attr_accessor :substitutions - - # Time at which execution of the build was started. - # @OutputOnly - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # Provenance of the source. Ways to find the original source, or verify that - # some source was used for this build. - # Corresponds to the JSON property `sourceProvenance` - # @return [Google::Apis::CloudbuildV1::SourceProvenance] - attr_accessor :source_provenance - - # Time at which the request to create the build was received. - # @OutputOnly - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # A list of images to be pushed upon the successful completion of all build - # steps. - # The images will be pushed using the builder service account's credentials. - # The digests of the pushed images will be stored in the Build resource's - # results field. - # If any of the images fail to be pushed, the build is marked FAILURE. - # Corresponds to the JSON property `images` - # @return [Array] - attr_accessor :images - - # ID of the project. - # @OutputOnly. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # Time at which execution of the build was finished. - # The difference between finish_time and start_time is the duration of the - # build's execution. - # @OutputOnly - # Corresponds to the JSON property `finishTime` - # @return [String] - attr_accessor :finish_time - - # URL to logs for this build in Google Cloud Logging. - # @OutputOnly - # Corresponds to the JSON property `logUrl` - # @return [String] - attr_accessor :log_url - - # Source describes the location of the source in a supported storage - # service. - # Corresponds to the JSON property `source` - # @return [Google::Apis::CloudbuildV1::Source] - attr_accessor :source - - # Optional arguments to enable specific features of builds. - # Corresponds to the JSON property `options` - # @return [Google::Apis::CloudbuildV1::BuildOptions] - attr_accessor :options - - # Amount of time that this build should be allowed to run, to second - # granularity. If this amount of time elapses, work on the build will cease - # and the build status will be TIMEOUT. - # Default time is ten minutes. - # Corresponds to the JSON property `timeout` - # @return [String] - attr_accessor :timeout - - # Status of the build. - # @OutputOnly - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - # Customer-readable message about the current status. - # @OutputOnly - # Corresponds to the JSON property `statusDetail` - # @return [String] - attr_accessor :status_detail - - # Secrets to decrypt using Cloud KMS. - # Corresponds to the JSON property `secrets` - # @return [Array] - attr_accessor :secrets - - # Results describes the artifacts created by the build pipeline. - # Corresponds to the JSON property `results` - # @return [Google::Apis::CloudbuildV1::Results] - attr_accessor :results - - # Google Cloud Storage bucket where logs should be written (see - # [Bucket Name - # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements) - # ). - # Logs file names will be of the format `$`logs_bucket`/log-$`build_id`.txt`. - # Corresponds to the JSON property `logsBucket` - # @return [String] - attr_accessor :logs_bucket - - # Describes the operations to be performed on the workspace. - # Corresponds to the JSON property `steps` - # @return [Array] - attr_accessor :steps - - # The ID of the BuildTrigger that triggered this build, if it was - # triggered automatically. - # @OutputOnly - # Corresponds to the JSON property `buildTriggerId` - # @return [String] - attr_accessor :build_trigger_id - - # Unique identifier of the build. - # @OutputOnly - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Tags for annotation of a Build. These are not docker tags. - # Corresponds to the JSON property `tags` - # @return [Array] - attr_accessor :tags - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @substitutions = args[:substitutions] if args.key?(:substitutions) - @start_time = args[:start_time] if args.key?(:start_time) - @source_provenance = args[:source_provenance] if args.key?(:source_provenance) - @create_time = args[:create_time] if args.key?(:create_time) - @images = args[:images] if args.key?(:images) - @project_id = args[:project_id] if args.key?(:project_id) - @finish_time = args[:finish_time] if args.key?(:finish_time) - @log_url = args[:log_url] if args.key?(:log_url) - @source = args[:source] if args.key?(:source) - @options = args[:options] if args.key?(:options) - @timeout = args[:timeout] if args.key?(:timeout) - @status = args[:status] if args.key?(:status) - @status_detail = args[:status_detail] if args.key?(:status_detail) - @secrets = args[:secrets] if args.key?(:secrets) - @results = args[:results] if args.key?(:results) - @logs_bucket = args[:logs_bucket] if args.key?(:logs_bucket) - @steps = args[:steps] if args.key?(:steps) - @build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id) - @id = args[:id] if args.key?(:id) - @tags = args[:tags] if args.key?(:tags) - end - end - - # Request to cancel an ongoing build. - class CancelBuildRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Response including listed builds. - class ListBuildsResponse - include Google::Apis::Core::Hashable - - # Token to receive the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Builds will be sorted by create_time, descending. - # Corresponds to the JSON property `builds` - # @return [Array] - attr_accessor :builds - - 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) - @builds = args[:builds] if args.key?(:builds) - end - end - - # The response message for Operations.ListOperations. - class ListOperationsResponse - include Google::Apis::Core::Hashable - - # The standard List next-page token. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # A list of operations that matches the specified filter in the request. - # Corresponds to the JSON property `operations` - # @return [Array] - attr_accessor :operations - - 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) - @operations = args[:operations] if args.key?(:operations) - end - end - - # Source describes the location of the source in a supported storage - # service. - class Source - include Google::Apis::Core::Hashable - - # StorageSource describes the location of the source in an archive file in - # Google Cloud Storage. - # Corresponds to the JSON property `storageSource` - # @return [Google::Apis::CloudbuildV1::StorageSource] - attr_accessor :storage_source - - # RepoSource describes the location of the source in a Google Cloud Source - # Repository. - # Corresponds to the JSON property `repoSource` - # @return [Google::Apis::CloudbuildV1::RepoSource] - attr_accessor :repo_source - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @storage_source = args[:storage_source] if args.key?(:storage_source) - @repo_source = args[:repo_source] if args.key?(:repo_source) - end - end - - # Optional arguments to enable specific features of builds. - class BuildOptions - include Google::Apis::Core::Hashable - - # Requested hash for SourceProvenance. - # Corresponds to the JSON property `sourceProvenanceHash` - # @return [Array] - attr_accessor :source_provenance_hash - - # SubstitutionOption to allow unmatch substitutions. - # Corresponds to the JSON property `substitutionOption` - # @return [String] - attr_accessor :substitution_option - - # Requested verifiability options. - # Corresponds to the JSON property `requestedVerifyOption` - # @return [String] - attr_accessor :requested_verify_option - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash) - @substitution_option = args[:substitution_option] if args.key?(:substitution_option) - @requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option) + @details = args[:details] if args.key?(:details) + @message = args[:message] if args.key?(:message) end end @@ -926,12 +962,6 @@ module Google class StorageSource include Google::Apis::Core::Hashable - # Google Cloud Storage generation for the object. If the generation is - # omitted, the latest generation will be used. - # Corresponds to the JSON property `generation` - # @return [Fixnum] - attr_accessor :generation - # Google Cloud Storage bucket containing source (see # [Bucket Name # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements) @@ -940,6 +970,12 @@ module Google # @return [String] attr_accessor :bucket + # Google Cloud Storage generation for the object. If the generation is + # omitted, the latest generation will be used. + # Corresponds to the JSON property `generation` + # @return [Fixnum] + attr_accessor :generation + # Google Cloud Storage object containing source. # This object must be a gzipped archive file (.tar.gz) containing source to # build. @@ -953,25 +989,30 @@ module Google # Update properties of this object def update!(**args) - @generation = args[:generation] if args.key?(:generation) @bucket = args[:bucket] if args.key?(:bucket) + @generation = args[:generation] if args.key?(:generation) @object = args[:object] if args.key?(:object) end end - # Results describes the artifacts created by the build pipeline. - class Results + # Volume describes a Docker container volume which is mounted into build steps + # in order to persist files across build step execution. + class Volume include Google::Apis::Core::Hashable - # List of build step digests, in order corresponding to build step indices. - # Corresponds to the JSON property `buildStepImages` - # @return [Array] - attr_accessor :build_step_images + # Name of the volume to mount. + # Volume names must be unique per build step and must be valid names for + # Docker volumes. Each named volume must be used by at least two build steps. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name - # Images that were built as a part of the build. - # Corresponds to the JSON property `images` - # @return [Array] - attr_accessor :images + # Path at which to mount the volume. + # Paths must be absolute and cannot conflict with other volume paths on the + # same build step or with certain reserved volume paths. + # Corresponds to the JSON property `path` + # @return [String] + attr_accessor :path def initialize(**args) update!(**args) @@ -979,8 +1020,8 @@ module Google # Update properties of this object def update!(**args) - @build_step_images = args[:build_step_images] if args.key?(:build_step_images) - @images = args[:images] if args.key?(:images) + @name = args[:name] if args.key?(:name) + @path = args[:path] if args.key?(:path) end end end diff --git a/generated/google/apis/cloudbuild_v1/representations.rb b/generated/google/apis/cloudbuild_v1/representations.rb index 305129955..5069650ad 100644 --- a/generated/google/apis/cloudbuild_v1/representations.rb +++ b/generated/google/apis/cloudbuild_v1/representations.rb @@ -22,49 +22,19 @@ module Google module Apis module CloudbuildV1 + class Build + 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 SourceProvenance - 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 ListBuildTriggersResponse - 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 HashProp - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RepoSource + class BuildOptions class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -76,19 +46,25 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class FileHashes + class BuildTrigger class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Secret + class BuiltImage class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Status + class CancelBuildRequest + 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 @@ -100,19 +76,19 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class BuildTrigger + class FileHashes class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Build + class HashProp class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CancelBuildRequest + class ListBuildTriggersResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -130,19 +106,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Source + class Operation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class BuildOptions - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StorageSource + class RepoSource class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -154,6 +124,74 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Secret + 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 SourceProvenance + 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 StorageSource + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Volume + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Build + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :build_trigger_id, as: 'buildTriggerId' + property :create_time, as: 'createTime' + property :finish_time, as: 'finishTime' + property :id, as: 'id' + collection :images, as: 'images' + property :log_url, as: 'logUrl' + property :logs_bucket, as: 'logsBucket' + property :options, as: 'options', class: Google::Apis::CloudbuildV1::BuildOptions, decorator: Google::Apis::CloudbuildV1::BuildOptions::Representation + + property :project_id, as: 'projectId' + property :results, as: 'results', class: Google::Apis::CloudbuildV1::Results, decorator: Google::Apis::CloudbuildV1::Results::Representation + + collection :secrets, as: 'secrets', class: Google::Apis::CloudbuildV1::Secret, decorator: Google::Apis::CloudbuildV1::Secret::Representation + + property :source, as: 'source', class: Google::Apis::CloudbuildV1::Source, decorator: Google::Apis::CloudbuildV1::Source::Representation + + property :source_provenance, as: 'sourceProvenance', class: Google::Apis::CloudbuildV1::SourceProvenance, decorator: Google::Apis::CloudbuildV1::SourceProvenance::Representation + + property :start_time, as: 'startTime' + property :status, as: 'status' + property :status_detail, as: 'statusDetail' + collection :steps, as: 'steps', class: Google::Apis::CloudbuildV1::BuildStep, decorator: Google::Apis::CloudbuildV1::BuildStep::Representation + + hash :substitutions, as: 'substitutions' + collection :tags, as: 'tags' + property :timeout, as: 'timeout' + end + end + class BuildOperationMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -162,15 +200,58 @@ module Google end end - class SourceProvenance + class BuildOptions # @private class Representation < Google::Apis::Core::JsonRepresentation - property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation + property :requested_verify_option, as: 'requestedVerifyOption' + collection :source_provenance_hash, as: 'sourceProvenanceHash' + property :substitution_option, as: 'substitutionOption' + end + end - hash :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation + class BuildStep + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :args, as: 'args' + property :dir, as: 'dir' + property :entrypoint, as: 'entrypoint' + collection :env, as: 'env' + property :id, as: 'id' + property :name, as: 'name' + collection :secret_env, as: 'secretEnv' + collection :volumes, as: 'volumes', class: Google::Apis::CloudbuildV1::Volume, decorator: Google::Apis::CloudbuildV1::Volume::Representation - property :resolved_repo_source, as: 'resolvedRepoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation + collection :wait_for, as: 'waitFor' + end + end + class BuildTrigger + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :build, as: 'build', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation + + property :create_time, as: 'createTime' + property :description, as: 'description' + property :disabled, as: 'disabled' + property :filename, as: 'filename' + property :id, as: 'id' + hash :substitutions, as: 'substitutions' + property :trigger_template, as: 'triggerTemplate', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation + + end + end + + class BuiltImage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :digest, as: 'digest' + property :name, as: 'name' + end + end + + class CancelBuildRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation end end @@ -180,64 +261,9 @@ module Google end end - class ListBuildTriggersResponse + class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :triggers, as: 'triggers', class: Google::Apis::CloudbuildV1::BuildTrigger, decorator: Google::Apis::CloudbuildV1::BuildTrigger::Representation - - end - end - - class Operation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :response, as: 'response' - property :name, as: 'name' - property :error, as: 'error', class: Google::Apis::CloudbuildV1::Status, decorator: Google::Apis::CloudbuildV1::Status::Representation - - hash :metadata, as: 'metadata' - property :done, as: 'done' - end - end - - class BuiltImage - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :digest, as: 'digest' - end - end - - class HashProp - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, :base64 => true, as: 'value' - property :type, as: 'type' - end - end - - class RepoSource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :commit_sha, as: 'commitSha' - property :tag_name, as: 'tagName' - property :branch_name, as: 'branchName' - property :repo_name, as: 'repoName' - property :project_id, as: 'projectId' - end - end - - class BuildStep - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :dir, as: 'dir' - collection :env, as: 'env' - collection :wait_for, as: 'waitFor' - collection :args, as: 'args' - property :name, as: 'name' - property :entrypoint, as: 'entrypoint' - property :id, as: 'id' - collection :secret_env, as: 'secretEnv' end end @@ -249,89 +275,28 @@ module Google end end - class Secret + class HashProp # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :secret_env, as: 'secretEnv' - property :kms_key_name, as: 'kmsKeyName' + property :type, as: 'type' + property :value, :base64 => true, as: 'value' end end - class Status + class ListBuildTriggersResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :message, as: 'message' - collection :details, as: 'details' - property :code, as: 'code' - end - end + collection :triggers, as: 'triggers', class: Google::Apis::CloudbuildV1::BuildTrigger, decorator: Google::Apis::CloudbuildV1::BuildTrigger::Representation - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class BuildTrigger - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :create_time, as: 'createTime' - property :disabled, as: 'disabled' - property :filename, as: 'filename' - property :trigger_template, as: 'triggerTemplate', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation - - property :id, as: 'id' - property :build, as: 'build', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation - - hash :substitutions, as: 'substitutions' - property :description, as: 'description' - end - end - - class Build - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :substitutions, as: 'substitutions' - property :start_time, as: 'startTime' - property :source_provenance, as: 'sourceProvenance', class: Google::Apis::CloudbuildV1::SourceProvenance, decorator: Google::Apis::CloudbuildV1::SourceProvenance::Representation - - property :create_time, as: 'createTime' - collection :images, as: 'images' - property :project_id, as: 'projectId' - property :finish_time, as: 'finishTime' - property :log_url, as: 'logUrl' - property :source, as: 'source', class: Google::Apis::CloudbuildV1::Source, decorator: Google::Apis::CloudbuildV1::Source::Representation - - property :options, as: 'options', class: Google::Apis::CloudbuildV1::BuildOptions, decorator: Google::Apis::CloudbuildV1::BuildOptions::Representation - - property :timeout, as: 'timeout' - property :status, as: 'status' - property :status_detail, as: 'statusDetail' - collection :secrets, as: 'secrets', class: Google::Apis::CloudbuildV1::Secret, decorator: Google::Apis::CloudbuildV1::Secret::Representation - - property :results, as: 'results', class: Google::Apis::CloudbuildV1::Results, decorator: Google::Apis::CloudbuildV1::Results::Representation - - property :logs_bucket, as: 'logsBucket' - collection :steps, as: 'steps', class: Google::Apis::CloudbuildV1::BuildStep, decorator: Google::Apis::CloudbuildV1::BuildStep::Representation - - property :build_trigger_id, as: 'buildTriggerId' - property :id, as: 'id' - collection :tags, as: 'tags' - end - end - - class CancelBuildRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation end end class ListBuildsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' collection :builds, as: 'builds', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation + property :next_page_token, as: 'nextPageToken' end end @@ -344,31 +309,26 @@ module Google end end - class Source + class Operation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :storage_source, as: 'storageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation - - property :repo_source, as: 'repoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::CloudbuildV1::Status, decorator: Google::Apis::CloudbuildV1::Status::Representation + hash :metadata, as: 'metadata' + property :name, as: 'name' + hash :response, as: 'response' end end - class BuildOptions + class RepoSource # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :source_provenance_hash, as: 'sourceProvenanceHash' - property :substitution_option, as: 'substitutionOption' - property :requested_verify_option, as: 'requestedVerifyOption' - end - end - - class StorageSource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :generation, :numeric_string => true, as: 'generation' - property :bucket, as: 'bucket' - property :object, as: 'object' + property :branch_name, as: 'branchName' + property :commit_sha, as: 'commitSha' + property :project_id, as: 'projectId' + property :repo_name, as: 'repoName' + property :tag_name, as: 'tagName' end end @@ -380,6 +340,62 @@ module Google end end + + class Secret + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kms_key_name, as: 'kmsKeyName' + hash :secret_env, as: 'secretEnv' + end + end + + class Source + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :repo_source, as: 'repoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation + + property :storage_source, as: 'storageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation + + end + end + + class SourceProvenance + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation + + property :resolved_repo_source, as: 'resolvedRepoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation + + property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::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 StorageSource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bucket, as: 'bucket' + property :generation, :numeric_string => true, as: 'generation' + property :object, as: 'object' + end + end + + class Volume + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :path, as: 'path' + end + end end end end diff --git a/generated/google/apis/cloudbuild_v1/service.rb b/generated/google/apis/cloudbuild_v1/service.rb index 51b83ef55..cd5bc542a 100644 --- a/generated/google/apis/cloudbuild_v1/service.rb +++ b/generated/google/apis/cloudbuild_v1/service.rb @@ -47,324 +47,6 @@ module Google @batch_path = 'batch' end - # Cancels a requested build in progress. - # @param [String] project_id - # ID of the project. - # @param [String] id - # ID of the build. - # @param [Google::Apis::CloudbuildV1::CancelBuildRequest] cancel_build_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::CloudbuildV1::Build] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudbuildV1::Build] - # - # @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_build(project_id, id, cancel_build_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/builds/{id}:cancel', options) - command.request_representation = Google::Apis::CloudbuildV1::CancelBuildRequest::Representation - command.request_object = cancel_build_request_object - command.response_representation = Google::Apis::CloudbuildV1::Build::Representation - command.response_class = Google::Apis::CloudbuildV1::Build - command.params['projectId'] = project_id unless project_id.nil? - command.params['id'] = id unless 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 previously requested builds. - # Previously requested builds may still be in-progress, or may have finished - # successfully or unsuccessfully. - # @param [String] project_id - # ID of the project. - # @param [String] filter - # The raw filter text to constrain the results. - # @param [String] page_token - # Token to provide to skip to a particular spot in the list. - # @param [Fixnum] page_size - # Number of results to return in the 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::CloudbuildV1::ListBuildsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudbuildV1::ListBuildsResponse] - # - # @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_project_builds(project_id, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/projects/{projectId}/builds', options) - command.response_representation = Google::Apis::CloudbuildV1::ListBuildsResponse::Representation - command.response_class = Google::Apis::CloudbuildV1::ListBuildsResponse - command.params['projectId'] = project_id unless project_id.nil? - command.query['filter'] = filter unless filter.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Returns information about a previously requested build. - # The Build that is returned includes its status (e.g., success or failure, - # or in-progress), and timing information. - # @param [String] project_id - # ID of the project. - # @param [String] id - # ID of the build. - # @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::CloudbuildV1::Build] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudbuildV1::Build] - # - # @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_project_build(project_id, id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/projects/{projectId}/builds/{id}', options) - command.response_representation = Google::Apis::CloudbuildV1::Build::Representation - command.response_class = Google::Apis::CloudbuildV1::Build - command.params['projectId'] = project_id unless project_id.nil? - command.params['id'] = id unless 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 - - # Starts a build with the specified configuration. - # The long-running Operation returned by this method will include the ID of - # the build, which can be passed to GetBuild to determine its status (e.g., - # success or failure). - # @param [String] project_id - # ID of the project. - # @param [Google::Apis::CloudbuildV1::Build] build_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::CloudbuildV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudbuildV1::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_project_build(project_id, build_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/builds', options) - command.request_representation = Google::Apis::CloudbuildV1::Build::Representation - command.request_object = build_object - command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation - command.response_class = Google::Apis::CloudbuildV1::Operation - command.params['projectId'] = project_id unless project_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 - - # Creates a new BuildTrigger. - # This API is experimental. - # @param [String] project_id - # ID of the project for which to configure automatic builds. - # @param [Google::Apis::CloudbuildV1::BuildTrigger] build_trigger_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::CloudbuildV1::BuildTrigger] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudbuildV1::BuildTrigger] - # - # @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_project_trigger(project_id, build_trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/triggers', options) - command.request_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation - command.request_object = build_trigger_object - command.response_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation - command.response_class = Google::Apis::CloudbuildV1::BuildTrigger - command.params['projectId'] = project_id unless project_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 an BuildTrigger by its project ID and trigger ID. - # This API is experimental. - # @param [String] project_id - # ID of the project that owns the trigger. - # @param [String] trigger_id - # ID of the BuildTrigger 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudbuildV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudbuildV1::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_project_trigger(project_id, trigger_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/projects/{projectId}/triggers/{triggerId}', options) - command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation - command.response_class = Google::Apis::CloudbuildV1::Empty - command.params['projectId'] = project_id unless project_id.nil? - command.params['triggerId'] = trigger_id unless trigger_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 - - # Updates an BuildTrigger by its project ID and trigger ID. - # This API is experimental. - # @param [String] project_id - # ID of the project that owns the trigger. - # @param [String] trigger_id - # ID of the BuildTrigger to update. - # @param [Google::Apis::CloudbuildV1::BuildTrigger] build_trigger_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::CloudbuildV1::BuildTrigger] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudbuildV1::BuildTrigger] - # - # @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_project_trigger(project_id, trigger_id, build_trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/projects/{projectId}/triggers/{triggerId}', options) - command.request_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation - command.request_object = build_trigger_object - command.response_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation - command.response_class = Google::Apis::CloudbuildV1::BuildTrigger - command.params['projectId'] = project_id unless project_id.nil? - command.params['triggerId'] = trigger_id unless trigger_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 existing BuildTrigger. - # This API is experimental. - # @param [String] project_id - # ID of the project for which to list BuildTriggers. - # @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::CloudbuildV1::ListBuildTriggersResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudbuildV1::ListBuildTriggersResponse] - # - # @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_project_triggers(project_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/projects/{projectId}/triggers', options) - command.response_representation = Google::Apis::CloudbuildV1::ListBuildTriggersResponse::Representation - command.response_class = Google::Apis::CloudbuildV1::ListBuildTriggersResponse - command.params['projectId'] = project_id unless project_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 information about a BuildTrigger. - # This API is experimental. - # @param [String] project_id - # ID of the project that owns the trigger. - # @param [String] trigger_id - # ID of the BuildTrigger to get. - # @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::CloudbuildV1::BuildTrigger] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudbuildV1::BuildTrigger] - # - # @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_project_trigger(project_id, trigger_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/projects/{projectId}/triggers/{triggerId}', options) - command.response_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation - command.response_class = Google::Apis::CloudbuildV1::BuildTrigger - command.params['projectId'] = project_id unless project_id.nil? - command.params['triggerId'] = trigger_id unless trigger_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 - # 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 @@ -450,12 +132,12 @@ module Google # is the parent resource, without the operations collection id. # @param [String] name # The name of the operation's parent resource. - # @param [String] page_token - # The standard list page token. - # @param [Fixnum] page_size - # The standard list page size. # @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 @@ -473,14 +155,332 @@ 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_operations(name, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block) + 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::CloudbuildV1::ListOperationsResponse::Representation command.response_class = Google::Apis::CloudbuildV1::ListOperationsResponse command.params['name'] = name unless name.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.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 + + # Cancels a requested build in progress. + # @param [String] project_id + # ID of the project. + # @param [String] id + # ID of the build. + # @param [Google::Apis::CloudbuildV1::CancelBuildRequest] cancel_build_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::CloudbuildV1::Build] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudbuildV1::Build] + # + # @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_build(project_id, id, cancel_build_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/builds/{id}:cancel', options) + command.request_representation = Google::Apis::CloudbuildV1::CancelBuildRequest::Representation + command.request_object = cancel_build_request_object + command.response_representation = Google::Apis::CloudbuildV1::Build::Representation + command.response_class = Google::Apis::CloudbuildV1::Build + command.params['projectId'] = project_id unless project_id.nil? + command.params['id'] = id unless 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 + + # Starts a build with the specified configuration. + # The long-running Operation returned by this method will include the ID of + # the build, which can be passed to GetBuild to determine its status (e.g., + # success or failure). + # @param [String] project_id + # ID of the project. + # @param [Google::Apis::CloudbuildV1::Build] build_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::CloudbuildV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudbuildV1::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_project_build(project_id, build_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/builds', options) + command.request_representation = Google::Apis::CloudbuildV1::Build::Representation + command.request_object = build_object + command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation + command.response_class = Google::Apis::CloudbuildV1::Operation + command.params['projectId'] = project_id unless project_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 + + # Returns information about a previously requested build. + # The Build that is returned includes its status (e.g., success or failure, + # or in-progress), and timing information. + # @param [String] project_id + # ID of the project. + # @param [String] id + # ID of the build. + # @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::CloudbuildV1::Build] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudbuildV1::Build] + # + # @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_project_build(project_id, id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects/{projectId}/builds/{id}', options) + command.response_representation = Google::Apis::CloudbuildV1::Build::Representation + command.response_class = Google::Apis::CloudbuildV1::Build + command.params['projectId'] = project_id unless project_id.nil? + command.params['id'] = id unless 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 previously requested builds. + # Previously requested builds may still be in-progress, or may have finished + # successfully or unsuccessfully. + # @param [String] project_id + # ID of the project. + # @param [String] filter + # The raw filter text to constrain the results. + # @param [Fixnum] page_size + # Number of results to return in the list. + # @param [String] page_token + # Token to provide to skip to a particular spot in the 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::CloudbuildV1::ListBuildsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudbuildV1::ListBuildsResponse] + # + # @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_project_builds(project_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects/{projectId}/builds', options) + command.response_representation = Google::Apis::CloudbuildV1::ListBuildsResponse::Representation + command.response_class = Google::Apis::CloudbuildV1::ListBuildsResponse + command.params['projectId'] = project_id unless project_id.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 + + # Creates a new BuildTrigger. + # This API is experimental. + # @param [String] project_id + # ID of the project for which to configure automatic builds. + # @param [Google::Apis::CloudbuildV1::BuildTrigger] build_trigger_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::CloudbuildV1::BuildTrigger] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudbuildV1::BuildTrigger] + # + # @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_project_trigger(project_id, build_trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/triggers', options) + command.request_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation + command.request_object = build_trigger_object + command.response_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation + command.response_class = Google::Apis::CloudbuildV1::BuildTrigger + command.params['projectId'] = project_id unless project_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 an BuildTrigger by its project ID and trigger ID. + # This API is experimental. + # @param [String] project_id + # ID of the project that owns the trigger. + # @param [String] trigger_id + # ID of the BuildTrigger 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudbuildV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudbuildV1::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_project_trigger(project_id, trigger_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/projects/{projectId}/triggers/{triggerId}', options) + command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation + command.response_class = Google::Apis::CloudbuildV1::Empty + command.params['projectId'] = project_id unless project_id.nil? + command.params['triggerId'] = trigger_id unless trigger_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 information about a BuildTrigger. + # This API is experimental. + # @param [String] project_id + # ID of the project that owns the trigger. + # @param [String] trigger_id + # ID of the BuildTrigger to get. + # @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::CloudbuildV1::BuildTrigger] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudbuildV1::BuildTrigger] + # + # @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_project_trigger(project_id, trigger_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects/{projectId}/triggers/{triggerId}', options) + command.response_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation + command.response_class = Google::Apis::CloudbuildV1::BuildTrigger + command.params['projectId'] = project_id unless project_id.nil? + command.params['triggerId'] = trigger_id unless trigger_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 existing BuildTrigger. + # This API is experimental. + # @param [String] project_id + # ID of the project for which to list BuildTriggers. + # @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::CloudbuildV1::ListBuildTriggersResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudbuildV1::ListBuildTriggersResponse] + # + # @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_project_triggers(project_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects/{projectId}/triggers', options) + command.response_representation = Google::Apis::CloudbuildV1::ListBuildTriggersResponse::Representation + command.response_class = Google::Apis::CloudbuildV1::ListBuildTriggersResponse + command.params['projectId'] = project_id unless project_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 + + # Updates an BuildTrigger by its project ID and trigger ID. + # This API is experimental. + # @param [String] project_id + # ID of the project that owns the trigger. + # @param [String] trigger_id + # ID of the BuildTrigger to update. + # @param [Google::Apis::CloudbuildV1::BuildTrigger] build_trigger_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::CloudbuildV1::BuildTrigger] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudbuildV1::BuildTrigger] + # + # @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_project_trigger(project_id, trigger_id, build_trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/projects/{projectId}/triggers/{triggerId}', options) + command.request_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation + command.request_object = build_trigger_object + command.response_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation + command.response_class = Google::Apis::CloudbuildV1::BuildTrigger + command.params['projectId'] = project_id unless project_id.nil? + command.params['triggerId'] = trigger_id unless trigger_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/clouddebugger_v2.rb b/generated/google/apis/clouddebugger_v2.rb index 654b5f030..a3341fd09 100644 --- a/generated/google/apis/clouddebugger_v2.rb +++ b/generated/google/apis/clouddebugger_v2.rb @@ -26,13 +26,13 @@ module Google # @see http://cloud.google.com/debugger module ClouddebuggerV2 VERSION = 'V2' - REVISION = '20170621' - - # Manage cloud debugger - AUTH_CLOUD_DEBUGGER = 'https://www.googleapis.com/auth/cloud_debugger' + REVISION = '20170809' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + + # Manage cloud debugger + AUTH_CLOUD_DEBUGGER = 'https://www.googleapis.com/auth/cloud_debugger' end end end diff --git a/generated/google/apis/clouddebugger_v2/classes.rb b/generated/google/apis/clouddebugger_v2/classes.rb index f39fc1804..b129dcc42 100644 --- a/generated/google/apis/clouddebugger_v2/classes.rb +++ b/generated/google/apis/clouddebugger_v2/classes.rb @@ -22,19 +22,16 @@ module Google module Apis module ClouddebuggerV2 - # A CloudWorkspaceId is a unique identifier for a cloud workspace. - # A cloud workspace is a place associated with a repo where modified files - # can be stored before they are committed. - class CloudWorkspaceId + # An alias to a repo revision. + class AliasContext include Google::Apis::Core::Hashable - # A unique identifier for a cloud repo. - # Corresponds to the JSON property `repoId` - # @return [Google::Apis::ClouddebuggerV2::RepoId] - attr_accessor :repo_id + # The alias kind. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind - # The unique name of the workspace within the repo. This is the name - # chosen by the client in the Source API's CreateWorkspace method. + # The alias name. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -45,11 +42,559 @@ module Google # Update properties of this object def update!(**args) - @repo_id = args[:repo_id] if args.key?(:repo_id) + @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) end end + # Represents the breakpoint specification, status and results. + class Breakpoint + include Google::Apis::Core::Hashable + + # Action that the agent should perform when the code at the + # breakpoint location is hit. + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # Condition that triggers the breakpoint. + # The condition is a compound boolean expression composed using expressions + # in a programming language at the source location. + # Corresponds to the JSON property `condition` + # @return [String] + attr_accessor :condition + + # Time this breakpoint was created by the server in seconds resolution. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Values of evaluated expressions at breakpoint time. + # The evaluated expressions appear in exactly the same order they + # are listed in the `expressions` field. + # The `name` field holds the original expression text, the `value` or + # `members` field holds the result of the evaluated expression. + # If the expression cannot be evaluated, the `status` inside the `Variable` + # will indicate an error and contain the error text. + # Corresponds to the JSON property `evaluatedExpressions` + # @return [Array] + attr_accessor :evaluated_expressions + + # List of read-only expressions to evaluate at the breakpoint location. + # The expressions are composed using expressions in the programming language + # at the source location. If the breakpoint action is `LOG`, the evaluated + # expressions are included in log statements. + # Corresponds to the JSON property `expressions` + # @return [Array] + attr_accessor :expressions + + # Time this breakpoint was finalized as seen by the server in seconds + # resolution. + # Corresponds to the JSON property `finalTime` + # @return [String] + attr_accessor :final_time + + # Breakpoint identifier, unique in the scope of the debuggee. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # When true, indicates that this is a final result and the + # breakpoint state will not change from here on. + # Corresponds to the JSON property `isFinalState` + # @return [Boolean] + attr_accessor :is_final_state + alias_method :is_final_state?, :is_final_state + + # A set of custom breakpoint properties, populated by the agent, to be + # displayed to the user. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Represents a location in the source code. + # Corresponds to the JSON property `location` + # @return [Google::Apis::ClouddebuggerV2::SourceLocation] + attr_accessor :location + + # Indicates the severity of the log. Only relevant when action is `LOG`. + # Corresponds to the JSON property `logLevel` + # @return [String] + attr_accessor :log_level + + # Only relevant when action is `LOG`. Defines the message to log when + # the breakpoint hits. The message may include parameter placeholders `$0`, + # `$1`, etc. These placeholders are replaced with the evaluated value + # of the appropriate expression. Expressions not referenced in + # `log_message_format` are not logged. + # Example: `Message received, id = $0, count = $1` with + # `expressions` = `[ message.id, message.count ]`. + # Corresponds to the JSON property `logMessageFormat` + # @return [String] + attr_accessor :log_message_format + + # The stack at breakpoint time. + # Corresponds to the JSON property `stackFrames` + # @return [Array] + attr_accessor :stack_frames + + # Represents a contextual status message. + # The message can indicate an error or informational status, and refer to + # specific parts of the containing object. + # For example, the `Breakpoint.status` field can indicate an error referring + # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. + # Corresponds to the JSON property `status` + # @return [Google::Apis::ClouddebuggerV2::StatusMessage] + attr_accessor :status + + # E-mail address of the user that created this breakpoint + # Corresponds to the JSON property `userEmail` + # @return [String] + attr_accessor :user_email + + # The `variable_table` exists to aid with computation, memory and network + # traffic optimization. It enables storing a variable once and reference + # it from multiple variables, including variables stored in the + # `variable_table` itself. + # For example, the same `this` object, which may appear at many levels of + # the stack, can have all of its data stored once in this table. The + # stack frame variables then would hold only a reference to it. + # The variable `var_table_index` field is an index into this repeated field. + # The stored objects are nameless and get their name from the referencing + # variable. The effective variable is a merge of the referencing variable + # and the referenced variable. + # Corresponds to the JSON property `variableTable` + # @return [Array] + attr_accessor :variable_table + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @action = args[:action] if args.key?(:action) + @condition = args[:condition] if args.key?(:condition) + @create_time = args[:create_time] if args.key?(:create_time) + @evaluated_expressions = args[:evaluated_expressions] if args.key?(:evaluated_expressions) + @expressions = args[:expressions] if args.key?(:expressions) + @final_time = args[:final_time] if args.key?(:final_time) + @id = args[:id] if args.key?(:id) + @is_final_state = args[:is_final_state] if args.key?(:is_final_state) + @labels = args[:labels] if args.key?(:labels) + @location = args[:location] if args.key?(:location) + @log_level = args[:log_level] if args.key?(:log_level) + @log_message_format = args[:log_message_format] if args.key?(:log_message_format) + @stack_frames = args[:stack_frames] if args.key?(:stack_frames) + @status = args[:status] if args.key?(:status) + @user_email = args[:user_email] if args.key?(:user_email) + @variable_table = args[:variable_table] if args.key?(:variable_table) + end + end + + # A CloudRepoSourceContext denotes a particular revision in a cloud + # repo (a repo hosted by the Google Cloud Platform). + class CloudRepoSourceContext + include Google::Apis::Core::Hashable + + # An alias to a repo revision. + # Corresponds to the JSON property `aliasContext` + # @return [Google::Apis::ClouddebuggerV2::AliasContext] + attr_accessor :alias_context + + # The name of an alias (branch, tag, etc.). + # Corresponds to the JSON property `aliasName` + # @return [String] + attr_accessor :alias_name + + # A unique identifier for a cloud repo. + # Corresponds to the JSON property `repoId` + # @return [Google::Apis::ClouddebuggerV2::RepoId] + attr_accessor :repo_id + + # A revision ID. + # Corresponds to the JSON property `revisionId` + # @return [String] + attr_accessor :revision_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alias_context = args[:alias_context] if args.key?(:alias_context) + @alias_name = args[:alias_name] if args.key?(:alias_name) + @repo_id = args[:repo_id] if args.key?(:repo_id) + @revision_id = args[:revision_id] if args.key?(:revision_id) + end + end + + # A CloudWorkspaceId is a unique identifier for a cloud workspace. + # A cloud workspace is a place associated with a repo where modified files + # can be stored before they are committed. + class CloudWorkspaceId + include Google::Apis::Core::Hashable + + # The unique name of the workspace within the repo. This is the name + # chosen by the client in the Source API's CreateWorkspace method. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # A unique identifier for a cloud repo. + # Corresponds to the JSON property `repoId` + # @return [Google::Apis::ClouddebuggerV2::RepoId] + attr_accessor :repo_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @repo_id = args[:repo_id] if args.key?(:repo_id) + end + end + + # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot. + class CloudWorkspaceSourceContext + include Google::Apis::Core::Hashable + + # The ID of the snapshot. + # An empty snapshot_id refers to the most recent snapshot. + # Corresponds to the JSON property `snapshotId` + # @return [String] + attr_accessor :snapshot_id + + # A CloudWorkspaceId is a unique identifier for a cloud workspace. + # A cloud workspace is a place associated with a repo where modified files + # can be stored before they are committed. + # Corresponds to the JSON property `workspaceId` + # @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceId] + attr_accessor :workspace_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @snapshot_id = args[:snapshot_id] if args.key?(:snapshot_id) + @workspace_id = args[:workspace_id] if args.key?(:workspace_id) + end + end + + # Represents the debugged application. The application may include one or more + # replicated processes executing the same code. Each of these processes is + # attached with a debugger agent, carrying out the debugging commands. + # Agents attached to the same debuggee identify themselves as such by using + # exactly the same Debuggee message value when registering. + class Debuggee + include Google::Apis::Core::Hashable + + # Version ID of the agent. + # Schema: `domain/language-platform/vmajor.minor` (for example + # `google.com/java-gcp/v1.1`). + # Corresponds to the JSON property `agentVersion` + # @return [String] + attr_accessor :agent_version + + # Human readable description of the debuggee. + # Including a human-readable project name, environment name and version + # information is recommended. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # References to the locations and revisions of the source code used in the + # deployed application. + # NOTE: this field is experimental and can be ignored. + # Corresponds to the JSON property `extSourceContexts` + # @return [Array] + attr_accessor :ext_source_contexts + + # Unique identifier for the debuggee generated by the controller service. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # If set to `true`, indicates that the agent should disable itself and + # detach from the debuggee. + # Corresponds to the JSON property `isDisabled` + # @return [Boolean] + attr_accessor :is_disabled + alias_method :is_disabled?, :is_disabled + + # If set to `true`, indicates that Controller service does not detect any + # activity from the debuggee agents and the application is possibly stopped. + # Corresponds to the JSON property `isInactive` + # @return [Boolean] + attr_accessor :is_inactive + alias_method :is_inactive?, :is_inactive + + # A set of custom debuggee properties, populated by the agent, to be + # displayed to the user. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Project the debuggee is associated with. + # Use project number or id when registering a Google Cloud Platform project. + # Corresponds to the JSON property `project` + # @return [String] + attr_accessor :project + + # References to the locations and revisions of the source code used in the + # deployed application. + # Corresponds to the JSON property `sourceContexts` + # @return [Array] + attr_accessor :source_contexts + + # Represents a contextual status message. + # The message can indicate an error or informational status, and refer to + # specific parts of the containing object. + # For example, the `Breakpoint.status` field can indicate an error referring + # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. + # Corresponds to the JSON property `status` + # @return [Google::Apis::ClouddebuggerV2::StatusMessage] + attr_accessor :status + + # Uniquifier to further distiguish the application. + # It is possible that different applications might have identical values in + # the debuggee message, thus, incorrectly identified as a single application + # by the Controller service. This field adds salt to further distiguish the + # application. Agents should consider seeding this field with value that + # identifies the code, binary, configuration and environment. + # Corresponds to the JSON property `uniquifier` + # @return [String] + attr_accessor :uniquifier + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @agent_version = args[:agent_version] if args.key?(:agent_version) + @description = args[:description] if args.key?(:description) + @ext_source_contexts = args[:ext_source_contexts] if args.key?(:ext_source_contexts) + @id = args[:id] if args.key?(:id) + @is_disabled = args[:is_disabled] if args.key?(:is_disabled) + @is_inactive = args[:is_inactive] if args.key?(:is_inactive) + @labels = args[:labels] if args.key?(:labels) + @project = args[:project] if args.key?(:project) + @source_contexts = args[:source_contexts] if args.key?(:source_contexts) + @status = args[:status] if args.key?(:status) + @uniquifier = args[:uniquifier] if args.key?(:uniquifier) + 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 + + # An ExtendedSourceContext is a SourceContext combined with additional + # details describing the context. + class ExtendedSourceContext + include Google::Apis::Core::Hashable + + # A SourceContext is a reference to a tree of files. A SourceContext together + # with a path point to a unique revision of a single file or directory. + # Corresponds to the JSON property `context` + # @return [Google::Apis::ClouddebuggerV2::SourceContext] + attr_accessor :context + + # Labels with user defined metadata. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @context = args[:context] if args.key?(:context) + @labels = args[:labels] if args.key?(:labels) + end + end + + # Represents a message with parameters. + class FormatMessage + include Google::Apis::Core::Hashable + + # Format template for the message. The `format` uses placeholders `$0`, + # `$1`, etc. to reference parameters. `$$` can be used to denote the `$` + # character. + # Examples: + # * `Failed to load '$0' which helps debug $1 the first time it + # is loaded. Again, $0 is very important.` + # * `Please pay $$10 to use $0 instead of $1.` + # Corresponds to the JSON property `format` + # @return [String] + attr_accessor :format + + # Optional parameters to be embedded into the message. + # Corresponds to the JSON property `parameters` + # @return [Array] + attr_accessor :parameters + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @format = args[:format] if args.key?(:format) + @parameters = args[:parameters] if args.key?(:parameters) + end + end + + # A SourceContext referring to a Gerrit project. + class GerritSourceContext + include Google::Apis::Core::Hashable + + # An alias to a repo revision. + # Corresponds to the JSON property `aliasContext` + # @return [Google::Apis::ClouddebuggerV2::AliasContext] + attr_accessor :alias_context + + # The name of an alias (branch, tag, etc.). + # Corresponds to the JSON property `aliasName` + # @return [String] + attr_accessor :alias_name + + # The full project name within the host. Projects may be nested, so + # "project/subproject" is a valid project name. + # The "repo name" is hostURI/project. + # Corresponds to the JSON property `gerritProject` + # @return [String] + attr_accessor :gerrit_project + + # The URI of a running Gerrit instance. + # Corresponds to the JSON property `hostUri` + # @return [String] + attr_accessor :host_uri + + # A revision (commit) ID. + # Corresponds to the JSON property `revisionId` + # @return [String] + attr_accessor :revision_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alias_context = args[:alias_context] if args.key?(:alias_context) + @alias_name = args[:alias_name] if args.key?(:alias_name) + @gerrit_project = args[:gerrit_project] if args.key?(:gerrit_project) + @host_uri = args[:host_uri] if args.key?(:host_uri) + @revision_id = args[:revision_id] if args.key?(:revision_id) + end + end + + # Response for getting breakpoint information. + class GetBreakpointResponse + include Google::Apis::Core::Hashable + + # Represents the breakpoint specification, status and results. + # Corresponds to the JSON property `breakpoint` + # @return [Google::Apis::ClouddebuggerV2::Breakpoint] + attr_accessor :breakpoint + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @breakpoint = args[:breakpoint] if args.key?(:breakpoint) + end + end + + # A GitSourceContext denotes a particular revision in a third party Git + # repository (e.g. GitHub). + class GitSourceContext + include Google::Apis::Core::Hashable + + # Git commit hash. + # required. + # Corresponds to the JSON property `revisionId` + # @return [String] + attr_accessor :revision_id + + # Git repository URL. + # 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) + @revision_id = args[:revision_id] if args.key?(:revision_id) + @url = args[:url] if args.key?(:url) + end + end + + # Response for listing active breakpoints. + class ListActiveBreakpointsResponse + include Google::Apis::Core::Hashable + + # List of all active breakpoints. + # The fields `id` and `location` are guaranteed to be set on each breakpoint. + # Corresponds to the JSON property `breakpoints` + # @return [Array] + attr_accessor :breakpoints + + # A token that can be used in the next method call to block until + # the list of breakpoints changes. + # Corresponds to the JSON property `nextWaitToken` + # @return [String] + attr_accessor :next_wait_token + + # If set to `true`, indicates that there is no change to the + # list of active breakpoints and the server-selected timeout has expired. + # The `breakpoints` field would be empty and should be ignored. + # Corresponds to the JSON property `waitExpired` + # @return [Boolean] + attr_accessor :wait_expired + alias_method :wait_expired?, :wait_expired + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @breakpoints = args[:breakpoints] if args.key?(:breakpoints) + @next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token) + @wait_expired = args[:wait_expired] if args.key?(:wait_expired) + end + end + # Response for listing breakpoints. class ListBreakpointsResponse include Google::Apis::Core::Hashable @@ -57,7 +602,7 @@ module Google # List of breakpoints matching the request. # The fields `id` and `location` are guaranteed to be set on each breakpoint. # The fields: `stack_frames`, `evaluated_expressions` and `variable_table` - # are cleared on each breakpoint regardless of it's status. + # are cleared on each breakpoint regardless of its status. # Corresponds to the JSON property `breakpoints` # @return [Array] attr_accessor :breakpoints @@ -79,125 +624,17 @@ module Google end end - # Represents the breakpoint specification, status and results. - class Breakpoint + # Response for listing debuggees. + class ListDebuggeesResponse include Google::Apis::Core::Hashable - # E-mail address of the user that created this breakpoint - # Corresponds to the JSON property `userEmail` - # @return [String] - attr_accessor :user_email - - # Action that the agent should perform when the code at the - # breakpoint location is hit. - # Corresponds to the JSON property `action` - # @return [String] - attr_accessor :action - - # Indicates the severity of the log. Only relevant when action is `LOG`. - # Corresponds to the JSON property `logLevel` - # @return [String] - attr_accessor :log_level - - # Breakpoint identifier, unique in the scope of the debuggee. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Represents a location in the source code. - # Corresponds to the JSON property `location` - # @return [Google::Apis::ClouddebuggerV2::SourceLocation] - attr_accessor :location - - # Time this breakpoint was finalized as seen by the server in seconds - # resolution. - # Corresponds to the JSON property `finalTime` - # @return [String] - attr_accessor :final_time - - # The `variable_table` exists to aid with computation, memory and network - # traffic optimization. It enables storing a variable once and reference - # it from multiple variables, including variables stored in the - # `variable_table` itself. - # For example, the same `this` object, which may appear at many levels of - # the stack, can have all of its data stored once in this table. The - # stack frame variables then would hold only a reference to it. - # The variable `var_table_index` field is an index into this repeated field. - # The stored objects are nameless and get their name from the referencing - # variable. The effective variable is a merge of the referencing variable - # and the referenced variable. - # Corresponds to the JSON property `variableTable` - # @return [Array] - attr_accessor :variable_table - - # A set of custom breakpoint properties, populated by the agent, to be - # displayed to the user. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # Only relevant when action is `LOG`. Defines the message to log when - # the breakpoint hits. The message may include parameter placeholders `$0`, - # `$1`, etc. These placeholders are replaced with the evaluated value - # of the appropriate expression. Expressions not referenced in - # `log_message_format` are not logged. - # Example: `Message received, id = $0, count = $1` with - # `expressions` = `[ message.id, message.count ]`. - # Corresponds to the JSON property `logMessageFormat` - # @return [String] - attr_accessor :log_message_format - - # Time this breakpoint was created by the server in seconds resolution. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # List of read-only expressions to evaluate at the breakpoint location. - # The expressions are composed using expressions in the programming language - # at the source location. If the breakpoint action is `LOG`, the evaluated - # expressions are included in log statements. - # Corresponds to the JSON property `expressions` - # @return [Array] - attr_accessor :expressions - - # Values of evaluated expressions at breakpoint time. - # The evaluated expressions appear in exactly the same order they - # are listed in the `expressions` field. - # The `name` field holds the original expression text, the `value` or - # `members` field holds the result of the evaluated expression. - # If the expression cannot be evaluated, the `status` inside the `Variable` - # will indicate an error and contain the error text. - # Corresponds to the JSON property `evaluatedExpressions` - # @return [Array] - attr_accessor :evaluated_expressions - - # When true, indicates that this is a final result and the - # breakpoint state will not change from here on. - # Corresponds to the JSON property `isFinalState` - # @return [Boolean] - attr_accessor :is_final_state - alias_method :is_final_state?, :is_final_state - - # The stack at breakpoint time. - # Corresponds to the JSON property `stackFrames` - # @return [Array] - attr_accessor :stack_frames - - # Condition that triggers the breakpoint. - # The condition is a compound boolean expression composed using expressions - # in a programming language at the source location. - # Corresponds to the JSON property `condition` - # @return [String] - attr_accessor :condition - - # Represents a contextual status message. - # The message can indicate an error or informational status, and refer to - # specific parts of the containing object. - # For example, the `Breakpoint.status` field can indicate an error referring - # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. - # Corresponds to the JSON property `status` - # @return [Google::Apis::ClouddebuggerV2::StatusMessage] - attr_accessor :status + # List of debuggees accessible to the calling user. + # The fields `debuggee.id` and `description` are guaranteed to be set. + # The `description` field is a human readable field provided by agents and + # can be displayed to users. + # Corresponds to the JSON property `debuggees` + # @return [Array] + attr_accessor :debuggees def initialize(**args) update!(**args) @@ -205,33 +642,24 @@ module Google # Update properties of this object def update!(**args) - @user_email = args[:user_email] if args.key?(:user_email) - @action = args[:action] if args.key?(:action) - @log_level = args[:log_level] if args.key?(:log_level) - @id = args[:id] if args.key?(:id) - @location = args[:location] if args.key?(:location) - @final_time = args[:final_time] if args.key?(:final_time) - @variable_table = args[:variable_table] if args.key?(:variable_table) - @labels = args[:labels] if args.key?(:labels) - @log_message_format = args[:log_message_format] if args.key?(:log_message_format) - @create_time = args[:create_time] if args.key?(:create_time) - @expressions = args[:expressions] if args.key?(:expressions) - @evaluated_expressions = args[:evaluated_expressions] if args.key?(:evaluated_expressions) - @is_final_state = args[:is_final_state] if args.key?(:is_final_state) - @stack_frames = args[:stack_frames] if args.key?(:stack_frames) - @condition = args[:condition] if args.key?(:condition) - @status = args[:status] if args.key?(:status) + @debuggees = args[:debuggees] if args.key?(:debuggees) end end - # Request to update an active breakpoint. - class UpdateActiveBreakpointRequest + # Selects a repo using a Google Cloud Platform project ID + # (e.g. winged-cargo-31) and a repo name within that project. + class ProjectRepoId include Google::Apis::Core::Hashable - # Represents the breakpoint specification, status and results. - # Corresponds to the JSON property `breakpoint` - # @return [Google::Apis::ClouddebuggerV2::Breakpoint] - attr_accessor :breakpoint + # The ID of the project. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # The name of the repo. Leave empty for the default repo. + # Corresponds to the JSON property `repoName` + # @return [String] + attr_accessor :repo_name def initialize(**args) update!(**args) @@ -239,7 +667,80 @@ module Google # Update properties of this object def update!(**args) - @breakpoint = args[:breakpoint] if args.key?(:breakpoint) + @project_id = args[:project_id] if args.key?(:project_id) + @repo_name = args[:repo_name] if args.key?(:repo_name) + end + end + + # Request to register a debuggee. + class RegisterDebuggeeRequest + include Google::Apis::Core::Hashable + + # Represents the debugged application. The application may include one or more + # replicated processes executing the same code. Each of these processes is + # attached with a debugger agent, carrying out the debugging commands. + # Agents attached to the same debuggee identify themselves as such by using + # exactly the same Debuggee message value when registering. + # Corresponds to the JSON property `debuggee` + # @return [Google::Apis::ClouddebuggerV2::Debuggee] + attr_accessor :debuggee + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @debuggee = args[:debuggee] if args.key?(:debuggee) + end + end + + # Response for registering a debuggee. + class RegisterDebuggeeResponse + include Google::Apis::Core::Hashable + + # Represents the debugged application. The application may include one or more + # replicated processes executing the same code. Each of these processes is + # attached with a debugger agent, carrying out the debugging commands. + # Agents attached to the same debuggee identify themselves as such by using + # exactly the same Debuggee message value when registering. + # Corresponds to the JSON property `debuggee` + # @return [Google::Apis::ClouddebuggerV2::Debuggee] + attr_accessor :debuggee + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @debuggee = args[:debuggee] if args.key?(:debuggee) + end + end + + # A unique identifier for a cloud repo. + class RepoId + include Google::Apis::Core::Hashable + + # Selects a repo using a Google Cloud Platform project ID + # (e.g. winged-cargo-31) and a repo name within that project. + # Corresponds to the JSON property `projectRepoId` + # @return [Google::Apis::ClouddebuggerV2::ProjectRepoId] + attr_accessor :project_repo_id + + # A server-assigned, globally unique identifier. + # Corresponds to the JSON property `uid` + # @return [String] + attr_accessor :uid + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @project_repo_id = args[:project_repo_id] if args.key?(:project_repo_id) + @uid = args[:uid] if args.key?(:uid) end end @@ -267,21 +768,21 @@ module Google class SourceContext include Google::Apis::Core::Hashable - # A SourceContext referring to a Gerrit project. - # Corresponds to the JSON property `gerrit` - # @return [Google::Apis::ClouddebuggerV2::GerritSourceContext] - attr_accessor :gerrit + # A CloudRepoSourceContext denotes a particular revision in a cloud + # repo (a repo hosted by the Google Cloud Platform). + # Corresponds to the JSON property `cloudRepo` + # @return [Google::Apis::ClouddebuggerV2::CloudRepoSourceContext] + attr_accessor :cloud_repo # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot. # Corresponds to the JSON property `cloudWorkspace` # @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext] attr_accessor :cloud_workspace - # A CloudRepoSourceContext denotes a particular revision in a cloud - # repo (a repo hosted by the Google Cloud Platform). - # Corresponds to the JSON property `cloudRepo` - # @return [Google::Apis::ClouddebuggerV2::CloudRepoSourceContext] - attr_accessor :cloud_repo + # A SourceContext referring to a Gerrit project. + # Corresponds to the JSON property `gerrit` + # @return [Google::Apis::ClouddebuggerV2::GerritSourceContext] + attr_accessor :gerrit # A GitSourceContext denotes a particular revision in a third party Git # repository (e.g. GitHub). @@ -295,37 +796,63 @@ module Google # Update properties of this object def update!(**args) - @gerrit = args[:gerrit] if args.key?(:gerrit) - @cloud_workspace = args[:cloud_workspace] if args.key?(:cloud_workspace) @cloud_repo = args[:cloud_repo] if args.key?(:cloud_repo) + @cloud_workspace = args[:cloud_workspace] if args.key?(:cloud_workspace) + @gerrit = args[:gerrit] if args.key?(:gerrit) @git = args[:git] if args.key?(:git) end end - # A CloudRepoSourceContext denotes a particular revision in a cloud - # repo (a repo hosted by the Google Cloud Platform). - class CloudRepoSourceContext + # Represents a location in the source code. + class SourceLocation include Google::Apis::Core::Hashable - # A unique identifier for a cloud repo. - # Corresponds to the JSON property `repoId` - # @return [Google::Apis::ClouddebuggerV2::RepoId] - attr_accessor :repo_id + # Line inside the file. The first line in the file has the value `1`. + # Corresponds to the JSON property `line` + # @return [Fixnum] + attr_accessor :line - # An alias to a repo revision. - # Corresponds to the JSON property `aliasContext` - # @return [Google::Apis::ClouddebuggerV2::AliasContext] - attr_accessor :alias_context - - # A revision ID. - # Corresponds to the JSON property `revisionId` + # Path to the source file within the source context of the target binary. + # Corresponds to the JSON property `path` # @return [String] - attr_accessor :revision_id + attr_accessor :path - # The name of an alias (branch, tag, etc.). - # Corresponds to the JSON property `aliasName` + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @line = args[:line] if args.key?(:line) + @path = args[:path] if args.key?(:path) + end + end + + # Represents a stack frame context. + class StackFrame + include Google::Apis::Core::Hashable + + # Set of arguments passed to this function. + # Note that this might not be populated for all stack frames. + # Corresponds to the JSON property `arguments` + # @return [Array] + attr_accessor :arguments + + # Demangled function name at the call site. + # Corresponds to the JSON property `function` # @return [String] - attr_accessor :alias_name + attr_accessor :function + + # Set of local variables at the stack frame location. + # Note that this might not be populated for all stack frames. + # Corresponds to the JSON property `locals` + # @return [Array] + attr_accessor :locals + + # Represents a location in the source code. + # Corresponds to the JSON property `location` + # @return [Google::Apis::ClouddebuggerV2::SourceLocation] + attr_accessor :location def initialize(**args) update!(**args) @@ -333,75 +860,10 @@ module Google # Update properties of this object def update!(**args) - @repo_id = args[:repo_id] if args.key?(:repo_id) - @alias_context = args[:alias_context] if args.key?(:alias_context) - @revision_id = args[:revision_id] if args.key?(:revision_id) - @alias_name = args[:alias_name] if args.key?(:alias_name) - end - end - - # Response for registering a debuggee. - class RegisterDebuggeeResponse - include Google::Apis::Core::Hashable - - # Represents the application to debug. The application may include one or more - # replicated processes executing the same code. Each of these processes is - # attached with a debugger agent, carrying out the debugging commands. - # The agents attached to the same debuggee are identified by using exactly the - # same field values when registering. - # Corresponds to the JSON property `debuggee` - # @return [Google::Apis::ClouddebuggerV2::Debuggee] - attr_accessor :debuggee - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @debuggee = args[:debuggee] if args.key?(:debuggee) - end - end - - # Request to register a debuggee. - class RegisterDebuggeeRequest - include Google::Apis::Core::Hashable - - # Represents the application to debug. The application may include one or more - # replicated processes executing the same code. Each of these processes is - # attached with a debugger agent, carrying out the debugging commands. - # The agents attached to the same debuggee are identified by using exactly the - # same field values when registering. - # Corresponds to the JSON property `debuggee` - # @return [Google::Apis::ClouddebuggerV2::Debuggee] - attr_accessor :debuggee - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @debuggee = args[:debuggee] if args.key?(:debuggee) - end - end - - # Response for getting breakpoint information. - class GetBreakpointResponse - include Google::Apis::Core::Hashable - - # Represents the breakpoint specification, status and results. - # Corresponds to the JSON property `breakpoint` - # @return [Google::Apis::ClouddebuggerV2::Breakpoint] - attr_accessor :breakpoint - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @breakpoint = args[:breakpoint] if args.key?(:breakpoint) + @arguments = args[:arguments] if args.key?(:arguments) + @function = args[:function] if args.key?(:function) + @locals = args[:locals] if args.key?(:locals) + @location = args[:location] if args.key?(:location) end end @@ -441,21 +903,29 @@ module Google end end - # A GitSourceContext denotes a particular revision in a third party Git - # repository (e.g. GitHub). - class GitSourceContext + # Request to update an active breakpoint. + class UpdateActiveBreakpointRequest include Google::Apis::Core::Hashable - # Git commit hash. - # required. - # Corresponds to the JSON property `revisionId` - # @return [String] - attr_accessor :revision_id - - # Git repository URL. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url + # Represents the breakpoint specification, status and results. + # Corresponds to the JSON property `breakpoint` + # @return [Google::Apis::ClouddebuggerV2::Breakpoint] + attr_accessor :breakpoint + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @breakpoint = args[:breakpoint] if args.key?(:breakpoint) + end + end + + # Response for updating an active breakpoint. + # The message is defined to allow future extensions. + class UpdateActiveBreakpointResponse + include Google::Apis::Core::Hashable def initialize(**args) update!(**args) @@ -463,8 +933,6 @@ module Google # Update properties of this object def update!(**args) - @revision_id = args[:revision_id] if args.key?(:revision_id) - @url = args[:url] if args.key?(:url) end end @@ -558,6 +1026,11 @@ module Google # @return [Array] attr_accessor :members + # Name of the variable, if any. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + # Represents a contextual status message. # The message can indicate an error or informational status, and refer to # specific parts of the containing object. @@ -567,11 +1040,6 @@ module Google # @return [Google::Apis::ClouddebuggerV2::StatusMessage] attr_accessor :status - # Name of the variable, if any. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - # Variable type (e.g. `MyClass`). If the variable is split with # `var_table_index`, `type` goes next to `value`. The interpretation of # a type is agent specific. It is recommended to include the dynamic type @@ -580,6 +1048,11 @@ module Google # @return [String] attr_accessor :type + # Simple value of the variable. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + # Reference to a variable in the shared variable table. More than # one variable can reference the same variable in the table. The # `var_table_index` field is an index into `variable_table` in Breakpoint. @@ -587,11 +1060,6 @@ module Google # @return [Fixnum] attr_accessor :var_table_index - # Simple value of the variable. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - def initialize(**args) update!(**args) end @@ -599,481 +1067,11 @@ module Google # Update properties of this object def update!(**args) @members = args[:members] if args.key?(:members) - @status = args[:status] if args.key?(:status) @name = args[:name] if args.key?(:name) + @status = args[:status] if args.key?(:status) @type = args[:type] if args.key?(:type) - @var_table_index = args[:var_table_index] if args.key?(:var_table_index) @value = args[:value] if args.key?(:value) - end - end - - # Represents a stack frame context. - class StackFrame - include Google::Apis::Core::Hashable - - # Demangled function name at the call site. - # Corresponds to the JSON property `function` - # @return [String] - attr_accessor :function - - # Set of arguments passed to this function. - # Note that this might not be populated for all stack frames. - # Corresponds to the JSON property `arguments` - # @return [Array] - attr_accessor :arguments - - # Set of local variables at the stack frame location. - # Note that this might not be populated for all stack frames. - # Corresponds to the JSON property `locals` - # @return [Array] - attr_accessor :locals - - # Represents a location in the source code. - # Corresponds to the JSON property `location` - # @return [Google::Apis::ClouddebuggerV2::SourceLocation] - attr_accessor :location - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @function = args[:function] if args.key?(:function) - @arguments = args[:arguments] if args.key?(:arguments) - @locals = args[:locals] if args.key?(:locals) - @location = args[:location] if args.key?(:location) - end - end - - # A unique identifier for a cloud repo. - class RepoId - include Google::Apis::Core::Hashable - - # A server-assigned, globally unique identifier. - # Corresponds to the JSON property `uid` - # @return [String] - attr_accessor :uid - - # Selects a repo using a Google Cloud Platform project ID - # (e.g. winged-cargo-31) and a repo name within that project. - # Corresponds to the JSON property `projectRepoId` - # @return [Google::Apis::ClouddebuggerV2::ProjectRepoId] - attr_accessor :project_repo_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @uid = args[:uid] if args.key?(:uid) - @project_repo_id = args[:project_repo_id] if args.key?(:project_repo_id) - end - end - - # Represents a message with parameters. - class FormatMessage - include Google::Apis::Core::Hashable - - # Optional parameters to be embedded into the message. - # Corresponds to the JSON property `parameters` - # @return [Array] - attr_accessor :parameters - - # Format template for the message. The `format` uses placeholders `$0`, - # `$1`, etc. to reference parameters. `$$` can be used to denote the `$` - # character. - # Examples: - # * `Failed to load '$0' which helps debug $1 the first time it - # is loaded. Again, $0 is very important.` - # * `Please pay $$10 to use $0 instead of $1.` - # Corresponds to the JSON property `format` - # @return [String] - attr_accessor :format - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @parameters = args[:parameters] if args.key?(:parameters) - @format = args[:format] if args.key?(:format) - end - end - - # An ExtendedSourceContext is a SourceContext combined with additional - # details describing the context. - class ExtendedSourceContext - include Google::Apis::Core::Hashable - - # A SourceContext is a reference to a tree of files. A SourceContext together - # with a path point to a unique revision of a single file or directory. - # Corresponds to the JSON property `context` - # @return [Google::Apis::ClouddebuggerV2::SourceContext] - attr_accessor :context - - # Labels with user defined metadata. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @context = args[:context] if args.key?(:context) - @labels = args[:labels] if args.key?(:labels) - end - end - - # Response for listing debuggees. - class ListDebuggeesResponse - include Google::Apis::Core::Hashable - - # List of debuggees accessible to the calling user. - # Note that the `description` field is the only human readable field - # that should be displayed to the user. - # The fields `debuggee.id` and `description` fields are guaranteed to be - # set on each debuggee. - # Corresponds to the JSON property `debuggees` - # @return [Array] - attr_accessor :debuggees - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @debuggees = args[:debuggees] if args.key?(:debuggees) - end - end - - # An alias to a repo revision. - class AliasContext - include Google::Apis::Core::Hashable - - # The alias name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The alias kind. - # 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) - @name = args[:name] if args.key?(:name) - @kind = args[:kind] if args.key?(:kind) - 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 - - # Represents a location in the source code. - class SourceLocation - include Google::Apis::Core::Hashable - - # Path to the source file within the source context of the target binary. - # Corresponds to the JSON property `path` - # @return [String] - attr_accessor :path - - # Line inside the file. The first line in the file has the value `1`. - # Corresponds to the JSON property `line` - # @return [Fixnum] - attr_accessor :line - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @path = args[:path] if args.key?(:path) - @line = args[:line] if args.key?(:line) - end - end - - # Represents the application to debug. The application may include one or more - # replicated processes executing the same code. Each of these processes is - # attached with a debugger agent, carrying out the debugging commands. - # The agents attached to the same debuggee are identified by using exactly the - # same field values when registering. - class Debuggee - include Google::Apis::Core::Hashable - - # Human readable description of the debuggee. - # Including a human-readable project name, environment name and version - # information is recommended. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Debuggee uniquifier within the project. - # Any string that identifies the application within the project can be used. - # Including environment and version or build IDs is recommended. - # Corresponds to the JSON property `uniquifier` - # @return [String] - attr_accessor :uniquifier - - # References to the locations and revisions of the source code used in the - # deployed application. - # NOTE: This field is deprecated. Consumers should use - # `ext_source_contexts` if it is not empty. Debug agents should populate - # both this field and `ext_source_contexts`. - # Corresponds to the JSON property `sourceContexts` - # @return [Array] - attr_accessor :source_contexts - - # References to the locations and revisions of the source code used in the - # deployed application. - # Contexts describing a remote repo related to the source code - # have a `category` label of `remote_repo`. Source snapshot source - # contexts have a `category` of `snapshot`. - # Corresponds to the JSON property `extSourceContexts` - # @return [Array] - attr_accessor :ext_source_contexts - - # A set of custom debuggee properties, populated by the agent, to be - # displayed to the user. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # If set to `true`, indicates that the debuggee is considered as inactive by - # the Controller service. - # Corresponds to the JSON property `isInactive` - # @return [Boolean] - attr_accessor :is_inactive - alias_method :is_inactive?, :is_inactive - - # Represents a contextual status message. - # The message can indicate an error or informational status, and refer to - # specific parts of the containing object. - # For example, the `Breakpoint.status` field can indicate an error referring - # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. - # Corresponds to the JSON property `status` - # @return [Google::Apis::ClouddebuggerV2::StatusMessage] - attr_accessor :status - - # Project the debuggee is associated with. - # Use the project number when registering a Google Cloud Platform project. - # Corresponds to the JSON property `project` - # @return [String] - attr_accessor :project - - # If set to `true`, indicates that the agent should disable itself and - # detach from the debuggee. - # Corresponds to the JSON property `isDisabled` - # @return [Boolean] - attr_accessor :is_disabled - alias_method :is_disabled?, :is_disabled - - # Version ID of the agent release. The version ID is structured as - # following: `domain/type/vmajor.minor` (for example - # `google.com/gcp-java/v1.1`). - # Corresponds to the JSON property `agentVersion` - # @return [String] - attr_accessor :agent_version - - # Unique identifier for the debuggee generated by the controller service. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @description = args[:description] if args.key?(:description) - @uniquifier = args[:uniquifier] if args.key?(:uniquifier) - @source_contexts = args[:source_contexts] if args.key?(:source_contexts) - @ext_source_contexts = args[:ext_source_contexts] if args.key?(:ext_source_contexts) - @labels = args[:labels] if args.key?(:labels) - @is_inactive = args[:is_inactive] if args.key?(:is_inactive) - @status = args[:status] if args.key?(:status) - @project = args[:project] if args.key?(:project) - @is_disabled = args[:is_disabled] if args.key?(:is_disabled) - @agent_version = args[:agent_version] if args.key?(:agent_version) - @id = args[:id] if args.key?(:id) - end - end - - # Selects a repo using a Google Cloud Platform project ID - # (e.g. winged-cargo-31) and a repo name within that project. - class ProjectRepoId - include Google::Apis::Core::Hashable - - # The name of the repo. Leave empty for the default repo. - # Corresponds to the JSON property `repoName` - # @return [String] - attr_accessor :repo_name - - # The ID of the project. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @repo_name = args[:repo_name] if args.key?(:repo_name) - @project_id = args[:project_id] if args.key?(:project_id) - end - end - - # Response for listing active breakpoints. - class ListActiveBreakpointsResponse - include Google::Apis::Core::Hashable - - # The `wait_expired` field is set to true by the server when the - # request times out and the field `success_on_timeout` is set to true. - # Corresponds to the JSON property `waitExpired` - # @return [Boolean] - attr_accessor :wait_expired - alias_method :wait_expired?, :wait_expired - - # A wait token that can be used in the next method call to block until - # the list of breakpoints changes. - # Corresponds to the JSON property `nextWaitToken` - # @return [String] - attr_accessor :next_wait_token - - # List of all active breakpoints. - # The fields `id` and `location` are guaranteed to be set on each breakpoint. - # Corresponds to the JSON property `breakpoints` - # @return [Array] - attr_accessor :breakpoints - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @wait_expired = args[:wait_expired] if args.key?(:wait_expired) - @next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token) - @breakpoints = args[:breakpoints] if args.key?(:breakpoints) - end - end - - # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot. - class CloudWorkspaceSourceContext - include Google::Apis::Core::Hashable - - # The ID of the snapshot. - # An empty snapshot_id refers to the most recent snapshot. - # Corresponds to the JSON property `snapshotId` - # @return [String] - attr_accessor :snapshot_id - - # A CloudWorkspaceId is a unique identifier for a cloud workspace. - # A cloud workspace is a place associated with a repo where modified files - # can be stored before they are committed. - # Corresponds to the JSON property `workspaceId` - # @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceId] - attr_accessor :workspace_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @snapshot_id = args[:snapshot_id] if args.key?(:snapshot_id) - @workspace_id = args[:workspace_id] if args.key?(:workspace_id) - end - end - - # Response for updating an active breakpoint. - # The message is defined to allow future extensions. - class UpdateActiveBreakpointResponse - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # A SourceContext referring to a Gerrit project. - class GerritSourceContext - include Google::Apis::Core::Hashable - - # A revision (commit) ID. - # Corresponds to the JSON property `revisionId` - # @return [String] - attr_accessor :revision_id - - # The URI of a running Gerrit instance. - # Corresponds to the JSON property `hostUri` - # @return [String] - attr_accessor :host_uri - - # The name of an alias (branch, tag, etc.). - # Corresponds to the JSON property `aliasName` - # @return [String] - attr_accessor :alias_name - - # An alias to a repo revision. - # Corresponds to the JSON property `aliasContext` - # @return [Google::Apis::ClouddebuggerV2::AliasContext] - attr_accessor :alias_context - - # The full project name within the host. Projects may be nested, so - # "project/subproject" is a valid project name. - # The "repo name" is hostURI/project. - # Corresponds to the JSON property `gerritProject` - # @return [String] - attr_accessor :gerrit_project - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @revision_id = args[:revision_id] if args.key?(:revision_id) - @host_uri = args[:host_uri] if args.key?(:host_uri) - @alias_name = args[:alias_name] if args.key?(:alias_name) - @alias_context = args[:alias_context] if args.key?(:alias_context) - @gerrit_project = args[:gerrit_project] if args.key?(:gerrit_project) + @var_table_index = args[:var_table_index] if args.key?(:var_table_index) end end end diff --git a/generated/google/apis/clouddebugger_v2/representations.rb b/generated/google/apis/clouddebugger_v2/representations.rb index 65da8cbac..e33425f1e 100644 --- a/generated/google/apis/clouddebugger_v2/representations.rb +++ b/generated/google/apis/clouddebugger_v2/representations.rb @@ -22,13 +22,7 @@ module Google module Apis module ClouddebuggerV2 - class CloudWorkspaceId - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListBreakpointsResponse + class AliasContext class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -40,7 +34,103 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class UpdateActiveBreakpointRequest + class CloudRepoSourceContext + 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 CloudWorkspaceSourceContext + 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 Empty + 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 FormatMessage + 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 GetBreakpointResponse + 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 ListActiveBreakpointsResponse + 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 ProjectRepoId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RegisterDebuggeeRequest + 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 RepoId class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -58,43 +148,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class CloudRepoSourceContext - 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 RegisterDebuggeeRequest - 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 StatusMessage - 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 Variable + class SourceLocation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -106,67 +160,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class RepoId + 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 ExtendedSourceContext - 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 AliasContext - 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 SourceLocation - 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 ProjectRepoId - 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 CloudWorkspaceSourceContext + class UpdateActiveBreakpointRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -178,18 +178,155 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class GerritSourceContext + class Variable class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class AliasContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :name, as: 'name' + end + end + + class Breakpoint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :action, as: 'action' + property :condition, as: 'condition' + property :create_time, as: 'createTime' + collection :evaluated_expressions, as: 'evaluatedExpressions', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation + + collection :expressions, as: 'expressions' + property :final_time, as: 'finalTime' + property :id, as: 'id' + property :is_final_state, as: 'isFinalState' + hash :labels, as: 'labels' + property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation + + property :log_level, as: 'logLevel' + property :log_message_format, as: 'logMessageFormat' + collection :stack_frames, as: 'stackFrames', class: Google::Apis::ClouddebuggerV2::StackFrame, decorator: Google::Apis::ClouddebuggerV2::StackFrame::Representation + + property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation + + property :user_email, as: 'userEmail' + collection :variable_table, as: 'variableTable', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation + + end + end + + class CloudRepoSourceContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation + + property :alias_name, as: 'aliasName' + property :repo_id, as: 'repoId', class: Google::Apis::ClouddebuggerV2::RepoId, decorator: Google::Apis::ClouddebuggerV2::RepoId::Representation + + property :revision_id, as: 'revisionId' + end + end + class CloudWorkspaceId # @private class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' property :repo_id, as: 'repoId', class: Google::Apis::ClouddebuggerV2::RepoId, decorator: Google::Apis::ClouddebuggerV2::RepoId::Representation - property :name, as: 'name' + end + end + + class CloudWorkspaceSourceContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :snapshot_id, as: 'snapshotId' + property :workspace_id, as: 'workspaceId', class: Google::Apis::ClouddebuggerV2::CloudWorkspaceId, decorator: Google::Apis::ClouddebuggerV2::CloudWorkspaceId::Representation + + end + end + + class Debuggee + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :agent_version, as: 'agentVersion' + property :description, as: 'description' + collection :ext_source_contexts, as: 'extSourceContexts', class: Google::Apis::ClouddebuggerV2::ExtendedSourceContext, decorator: Google::Apis::ClouddebuggerV2::ExtendedSourceContext::Representation + + property :id, as: 'id' + property :is_disabled, as: 'isDisabled' + property :is_inactive, as: 'isInactive' + hash :labels, as: 'labels' + property :project, as: 'project' + collection :source_contexts, as: 'sourceContexts', class: Google::Apis::ClouddebuggerV2::SourceContext, decorator: Google::Apis::ClouddebuggerV2::SourceContext::Representation + + property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation + + property :uniquifier, as: 'uniquifier' + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class ExtendedSourceContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :context, as: 'context', class: Google::Apis::ClouddebuggerV2::SourceContext, decorator: Google::Apis::ClouddebuggerV2::SourceContext::Representation + + hash :labels, as: 'labels' + end + end + + class FormatMessage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :format, as: 'format' + collection :parameters, as: 'parameters' + end + end + + class GerritSourceContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation + + property :alias_name, as: 'aliasName' + property :gerrit_project, as: 'gerritProject' + property :host_uri, as: 'hostUri' + property :revision_id, as: 'revisionId' + end + end + + class GetBreakpointResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation + + end + end + + class GitSourceContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :revision_id, as: 'revisionId' + property :url, as: 'url' + end + end + + class ListActiveBreakpointsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :breakpoints, as: 'breakpoints', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation + + property :next_wait_token, as: 'nextWaitToken' + property :wait_expired, as: 'waitExpired' end end @@ -202,38 +339,44 @@ module Google end end - class Breakpoint + class ListDebuggeesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :user_email, as: 'userEmail' - property :action, as: 'action' - property :log_level, as: 'logLevel' - property :id, as: 'id' - property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation - - property :final_time, as: 'finalTime' - collection :variable_table, as: 'variableTable', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation - - hash :labels, as: 'labels' - property :log_message_format, as: 'logMessageFormat' - property :create_time, as: 'createTime' - collection :expressions, as: 'expressions' - collection :evaluated_expressions, as: 'evaluatedExpressions', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation - - property :is_final_state, as: 'isFinalState' - collection :stack_frames, as: 'stackFrames', class: Google::Apis::ClouddebuggerV2::StackFrame, decorator: Google::Apis::ClouddebuggerV2::StackFrame::Representation - - property :condition, as: 'condition' - property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation + collection :debuggees, as: 'debuggees', class: Google::Apis::ClouddebuggerV2::Debuggee, decorator: Google::Apis::ClouddebuggerV2::Debuggee::Representation end end - class UpdateActiveBreakpointRequest + class ProjectRepoId # @private class Representation < Google::Apis::Core::JsonRepresentation - property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation + property :project_id, as: 'projectId' + property :repo_name, as: 'repoName' + end + end + class RegisterDebuggeeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :debuggee, as: 'debuggee', class: Google::Apis::ClouddebuggerV2::Debuggee, decorator: Google::Apis::ClouddebuggerV2::Debuggee::Representation + + end + end + + class RegisterDebuggeeResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :debuggee, as: 'debuggee', class: Google::Apis::ClouddebuggerV2::Debuggee, decorator: Google::Apis::ClouddebuggerV2::Debuggee::Representation + + end + end + + class RepoId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :project_repo_id, as: 'projectRepoId', class: Google::Apis::ClouddebuggerV2::ProjectRepoId, decorator: Google::Apis::ClouddebuggerV2::ProjectRepoId::Representation + + property :uid, as: 'uid' end end @@ -248,49 +391,34 @@ module Google class SourceContext # @private class Representation < Google::Apis::Core::JsonRepresentation - property :gerrit, as: 'gerrit', class: Google::Apis::ClouddebuggerV2::GerritSourceContext, decorator: Google::Apis::ClouddebuggerV2::GerritSourceContext::Representation + property :cloud_repo, as: 'cloudRepo', class: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext, decorator: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext::Representation property :cloud_workspace, as: 'cloudWorkspace', class: Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext, decorator: Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext::Representation - property :cloud_repo, as: 'cloudRepo', class: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext, decorator: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext::Representation + property :gerrit, as: 'gerrit', class: Google::Apis::ClouddebuggerV2::GerritSourceContext, decorator: Google::Apis::ClouddebuggerV2::GerritSourceContext::Representation property :git, as: 'git', class: Google::Apis::ClouddebuggerV2::GitSourceContext, decorator: Google::Apis::ClouddebuggerV2::GitSourceContext::Representation end end - class CloudRepoSourceContext + class SourceLocation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :repo_id, as: 'repoId', class: Google::Apis::ClouddebuggerV2::RepoId, decorator: Google::Apis::ClouddebuggerV2::RepoId::Representation - - property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation - - property :revision_id, as: 'revisionId' - property :alias_name, as: 'aliasName' + property :line, as: 'line' + property :path, as: 'path' end end - class RegisterDebuggeeResponse + class StackFrame # @private class Representation < Google::Apis::Core::JsonRepresentation - property :debuggee, as: 'debuggee', class: Google::Apis::ClouddebuggerV2::Debuggee, decorator: Google::Apis::ClouddebuggerV2::Debuggee::Representation + collection :arguments, as: 'arguments', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation - end - end + property :function, as: 'function' + collection :locals, as: 'locals', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation - class RegisterDebuggeeRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :debuggee, as: 'debuggee', class: Google::Apis::ClouddebuggerV2::Debuggee, decorator: Google::Apis::ClouddebuggerV2::Debuggee::Representation - - end - end - - class GetBreakpointResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation + property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation end end @@ -305,140 +433,10 @@ module Google end end - class GitSourceContext + class UpdateActiveBreakpointRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :revision_id, as: 'revisionId' - property :url, as: 'url' - end - end - - class Variable - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :members, as: 'members', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation - - property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation - - property :name, as: 'name' - property :type, as: 'type' - property :var_table_index, as: 'varTableIndex' - property :value, as: 'value' - end - end - - class StackFrame - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :function, as: 'function' - collection :arguments, as: 'arguments', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation - - collection :locals, as: 'locals', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation - - property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation - - end - end - - class RepoId - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :uid, as: 'uid' - property :project_repo_id, as: 'projectRepoId', class: Google::Apis::ClouddebuggerV2::ProjectRepoId, decorator: Google::Apis::ClouddebuggerV2::ProjectRepoId::Representation - - end - end - - class FormatMessage - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :parameters, as: 'parameters' - property :format, as: 'format' - end - end - - class ExtendedSourceContext - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :context, as: 'context', class: Google::Apis::ClouddebuggerV2::SourceContext, decorator: Google::Apis::ClouddebuggerV2::SourceContext::Representation - - hash :labels, as: 'labels' - end - end - - class ListDebuggeesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :debuggees, as: 'debuggees', class: Google::Apis::ClouddebuggerV2::Debuggee, decorator: Google::Apis::ClouddebuggerV2::Debuggee::Representation - - end - end - - class AliasContext - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :kind, as: 'kind' - end - end - - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class SourceLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :path, as: 'path' - property :line, as: 'line' - end - end - - class Debuggee - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :uniquifier, as: 'uniquifier' - collection :source_contexts, as: 'sourceContexts', class: Google::Apis::ClouddebuggerV2::SourceContext, decorator: Google::Apis::ClouddebuggerV2::SourceContext::Representation - - collection :ext_source_contexts, as: 'extSourceContexts', class: Google::Apis::ClouddebuggerV2::ExtendedSourceContext, decorator: Google::Apis::ClouddebuggerV2::ExtendedSourceContext::Representation - - hash :labels, as: 'labels' - property :is_inactive, as: 'isInactive' - property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation - - property :project, as: 'project' - property :is_disabled, as: 'isDisabled' - property :agent_version, as: 'agentVersion' - property :id, as: 'id' - end - end - - class ProjectRepoId - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :repo_name, as: 'repoName' - property :project_id, as: 'projectId' - end - end - - class ListActiveBreakpointsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :wait_expired, as: 'waitExpired' - property :next_wait_token, as: 'nextWaitToken' - collection :breakpoints, as: 'breakpoints', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation - - end - end - - class CloudWorkspaceSourceContext - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :snapshot_id, as: 'snapshotId' - property :workspace_id, as: 'workspaceId', class: Google::Apis::ClouddebuggerV2::CloudWorkspaceId, decorator: Google::Apis::ClouddebuggerV2::CloudWorkspaceId::Representation + property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation end end @@ -449,15 +447,17 @@ module Google end end - class GerritSourceContext + class Variable # @private class Representation < Google::Apis::Core::JsonRepresentation - property :revision_id, as: 'revisionId' - property :host_uri, as: 'hostUri' - property :alias_name, as: 'aliasName' - property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation + collection :members, as: 'members', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation - property :gerrit_project, as: 'gerritProject' + property :name, as: 'name' + property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation + + property :type, as: 'type' + property :value, as: 'value' + property :var_table_index, as: 'varTableIndex' end end end diff --git a/generated/google/apis/clouddebugger_v2/service.rb b/generated/google/apis/clouddebugger_v2/service.rb index 07143484f..f461c1ba4 100644 --- a/generated/google/apis/clouddebugger_v2/service.rb +++ b/generated/google/apis/clouddebugger_v2/service.rb @@ -48,219 +48,14 @@ module Google @batch_path = 'batch' end - # Lists all the debuggees that the user can set breakpoints to. - # @param [String] client_version - # The client version making the call. - # Following: `domain/type/version` (e.g., `google.com/intellij/v1`). - # @param [Boolean] include_inactive - # When set to `true`, the result includes all debuggees. Otherwise, the - # result includes only debuggees that are active. - # @param [String] project - # Project number of a Google Cloud project whose debuggees 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::ClouddebuggerV2::ListDebuggeesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClouddebuggerV2::ListDebuggeesResponse] - # - # @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_debugger_debuggees(client_version: nil, include_inactive: nil, project: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/debugger/debuggees', options) - command.response_representation = Google::Apis::ClouddebuggerV2::ListDebuggeesResponse::Representation - command.response_class = Google::Apis::ClouddebuggerV2::ListDebuggeesResponse - command.query['clientVersion'] = client_version unless client_version.nil? - command.query['includeInactive'] = include_inactive unless include_inactive.nil? - command.query['project'] = project unless project.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 breakpoints for the debuggee. - # @param [String] debuggee_id - # ID of the debuggee whose breakpoints to list. - # @param [String] wait_token - # A wait token that, if specified, blocks the call until the breakpoints - # list has changed, or a server selected timeout has expired. The value - # should be set from the last response. The error code - # `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which - # should be called again with the same `wait_token`. - # @param [String] client_version - # The client version making the call. - # Following: `domain/type/version` (e.g., `google.com/intellij/v1`). - # @param [String] action_value - # Only breakpoints with the specified action will pass the filter. - # @param [Boolean] include_inactive - # When set to `true`, the response includes active and inactive - # breakpoints. Otherwise, it includes only active breakpoints. - # @param [Boolean] include_all_users - # When set to `true`, the response includes the list of breakpoints set by - # any user. Otherwise, it includes only breakpoints set by the caller. - # @param [Boolean] strip_results - # This field is deprecated. The following fields are always stripped out of - # the result: `stack_frames`, `evaluated_expressions` and `variable_table`. - # @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::ClouddebuggerV2::ListBreakpointsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClouddebuggerV2::ListBreakpointsResponse] - # - # @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_debugger_debuggee_breakpoints(debuggee_id, wait_token: nil, client_version: nil, action_value: nil, include_inactive: nil, include_all_users: nil, strip_results: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints', options) - command.response_representation = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse::Representation - command.response_class = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse - command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? - command.query['waitToken'] = wait_token unless wait_token.nil? - command.query['clientVersion'] = client_version unless client_version.nil? - command.query['action.value'] = action_value unless action_value.nil? - command.query['includeInactive'] = include_inactive unless include_inactive.nil? - command.query['includeAllUsers'] = include_all_users unless include_all_users.nil? - command.query['stripResults'] = strip_results unless strip_results.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 breakpoint information. - # @param [String] debuggee_id - # ID of the debuggee whose breakpoint to get. - # @param [String] breakpoint_id - # ID of the breakpoint to get. - # @param [String] client_version - # The client version making the call. - # Following: `domain/type/version` (e.g., `google.com/intellij/v1`). - # @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::ClouddebuggerV2::GetBreakpointResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClouddebuggerV2::GetBreakpointResponse] - # - # @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_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options) - command.response_representation = Google::Apis::ClouddebuggerV2::GetBreakpointResponse::Representation - command.response_class = Google::Apis::ClouddebuggerV2::GetBreakpointResponse - command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? - command.params['breakpointId'] = breakpoint_id unless breakpoint_id.nil? - command.query['clientVersion'] = client_version unless client_version.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 breakpoint from the debuggee. - # @param [String] debuggee_id - # ID of the debuggee whose breakpoint to delete. - # @param [String] breakpoint_id - # ID of the breakpoint to delete. - # @param [String] client_version - # The client version making the call. - # Following: `domain/type/version` (e.g., `google.com/intellij/v1`). - # @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::ClouddebuggerV2::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClouddebuggerV2::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_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options) - command.response_representation = Google::Apis::ClouddebuggerV2::Empty::Representation - command.response_class = Google::Apis::ClouddebuggerV2::Empty - command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? - command.params['breakpointId'] = breakpoint_id unless breakpoint_id.nil? - command.query['clientVersion'] = client_version unless client_version.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Sets the breakpoint to the debuggee. - # @param [String] debuggee_id - # ID of the debuggee where the breakpoint is to be set. - # @param [Google::Apis::ClouddebuggerV2::Breakpoint] breakpoint_object - # @param [String] client_version - # The client version making the call. - # Following: `domain/type/version` (e.g., `google.com/intellij/v1`). - # @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::ClouddebuggerV2::SetBreakpointResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClouddebuggerV2::SetBreakpointResponse] - # - # @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 set_debugger_debuggee_breakpoint(debuggee_id, breakpoint_object = nil, client_version: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/set', options) - command.request_representation = Google::Apis::ClouddebuggerV2::Breakpoint::Representation - command.request_object = breakpoint_object - command.response_representation = Google::Apis::ClouddebuggerV2::SetBreakpointResponse::Representation - command.response_class = Google::Apis::ClouddebuggerV2::SetBreakpointResponse - command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? - command.query['clientVersion'] = client_version unless client_version.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Registers the debuggee with the controller service. - # All agents attached to the same application should call this method with - # the same request content to get back the same stable `debuggee_id`. Agents - # should call this method again whenever `google.rpc.Code.NOT_FOUND` is - # returned from any controller method. - # This allows the controller service to disable the agent or recover from any - # data loss. If the debuggee is disabled by the server, the response will - # have `is_disabled` set to `true`. + # All agents attached to the same application must call this method with + # exactly the same request content to get back the same stable `debuggee_id`. + # Agents should call this method again whenever `google.rpc.Code.NOT_FOUND` + # is returned from any controller method. + # This protocol allows the controller service to disable debuggees, recover + # from data loss, or change the `debuggee_id` format. Agents must handle + # `debuggee_id` value changing upon re-registration. # @param [Google::Apis::ClouddebuggerV2::RegisterDebuggeeRequest] register_debuggee_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -291,7 +86,7 @@ module Google end # Returns the list of all active breakpoints for the debuggee. - # The breakpoint specification (location, condition, and expression + # The breakpoint specification (`location`, `condition`, and `expressions` # fields) is semantically immutable, although the field values may # change. For example, an agent may update the location line number # to reflect the actual line where the breakpoint was set, but this @@ -304,15 +99,16 @@ module Google # @param [String] debuggee_id # Identifies the debuggee. # @param [Boolean] success_on_timeout - # If set to `true`, returns `google.rpc.Code.OK` status and sets the - # `wait_expired` response field to `true` when the server-selected timeout - # has expired (recommended). - # If set to `false`, returns `google.rpc.Code.ABORTED` status when the - # server-selected timeout has expired (deprecated). + # If set to `true` (recommended), returns `google.rpc.Code.OK` status and + # sets the `wait_expired` response field to `true` when the server-selected + # timeout has expired. + # If set to `false` (deprecated), returns `google.rpc.Code.ABORTED` status + # when the server-selected timeout has expired. # @param [String] wait_token - # A wait token that, if specified, blocks the method call until the list - # of active breakpoints has changed, or a server selected timeout has - # expired. The value should be set from the last returned response. + # A token that, if specified, blocks the method call until the list + # of active breakpoints has changed, or a server-selected timeout has + # expired. The value should be set from the `next_wait_token` field in + # the last response. The initial value should be set to `"init"`. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -343,11 +139,10 @@ module Google end # Updates the breakpoint state or mutable fields. - # The entire Breakpoint message must be sent back to the controller - # service. + # The entire Breakpoint message must be sent back to the controller service. # Updates to active breakpoint fields are only allowed if the new value # does not change the breakpoint specification. Updates to the `location`, - # `condition` and `expression` fields should not alter the breakpoint + # `condition` and `expressions` fields should not alter the breakpoint # semantics. These may only make changes such as canonicalizing a value # or snapping the location to the correct line of code. # @param [String] debuggee_id @@ -384,6 +179,211 @@ module Google command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end + + # Lists all the debuggees that the user has access to. + # @param [String] client_version + # The client version making the call. + # Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). + # @param [Boolean] include_inactive + # When set to `true`, the result includes all debuggees. Otherwise, the + # result includes only debuggees that are active. + # @param [String] project + # Project number of a Google Cloud project whose debuggees 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::ClouddebuggerV2::ListDebuggeesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouddebuggerV2::ListDebuggeesResponse] + # + # @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_debugger_debuggees(client_version: nil, include_inactive: nil, project: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/debugger/debuggees', options) + command.response_representation = Google::Apis::ClouddebuggerV2::ListDebuggeesResponse::Representation + command.response_class = Google::Apis::ClouddebuggerV2::ListDebuggeesResponse + command.query['clientVersion'] = client_version unless client_version.nil? + command.query['includeInactive'] = include_inactive unless include_inactive.nil? + command.query['project'] = project unless project.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 breakpoint from the debuggee. + # @param [String] debuggee_id + # ID of the debuggee whose breakpoint to delete. + # @param [String] breakpoint_id + # ID of the breakpoint to delete. + # @param [String] client_version + # The client version making the call. + # Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). + # @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::ClouddebuggerV2::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouddebuggerV2::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_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options) + command.response_representation = Google::Apis::ClouddebuggerV2::Empty::Representation + command.response_class = Google::Apis::ClouddebuggerV2::Empty + command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? + command.params['breakpointId'] = breakpoint_id unless breakpoint_id.nil? + command.query['clientVersion'] = client_version unless client_version.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 breakpoint information. + # @param [String] debuggee_id + # ID of the debuggee whose breakpoint to get. + # @param [String] breakpoint_id + # ID of the breakpoint to get. + # @param [String] client_version + # The client version making the call. + # Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). + # @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::ClouddebuggerV2::GetBreakpointResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouddebuggerV2::GetBreakpointResponse] + # + # @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_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options) + command.response_representation = Google::Apis::ClouddebuggerV2::GetBreakpointResponse::Representation + command.response_class = Google::Apis::ClouddebuggerV2::GetBreakpointResponse + command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? + command.params['breakpointId'] = breakpoint_id unless breakpoint_id.nil? + command.query['clientVersion'] = client_version unless client_version.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 breakpoints for the debuggee. + # @param [String] debuggee_id + # ID of the debuggee whose breakpoints to list. + # @param [String] action_value + # Only breakpoints with the specified action will pass the filter. + # @param [String] client_version + # The client version making the call. + # Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). + # @param [Boolean] include_all_users + # When set to `true`, the response includes the list of breakpoints set by + # any user. Otherwise, it includes only breakpoints set by the caller. + # @param [Boolean] include_inactive + # When set to `true`, the response includes active and inactive + # breakpoints. Otherwise, it includes only active breakpoints. + # @param [Boolean] strip_results + # This field is deprecated. The following fields are always stripped out of + # the result: `stack_frames`, `evaluated_expressions` and `variable_table`. + # @param [String] wait_token + # A wait token that, if specified, blocks the call until the breakpoints + # list has changed, or a server selected timeout has expired. The value + # should be set from the last response. The error code + # `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which + # should be called again with the same `wait_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::ClouddebuggerV2::ListBreakpointsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouddebuggerV2::ListBreakpointsResponse] + # + # @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_debugger_debuggee_breakpoints(debuggee_id, action_value: nil, client_version: nil, include_all_users: nil, include_inactive: nil, strip_results: nil, wait_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints', options) + command.response_representation = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse::Representation + command.response_class = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse + command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? + command.query['action.value'] = action_value unless action_value.nil? + command.query['clientVersion'] = client_version unless client_version.nil? + command.query['includeAllUsers'] = include_all_users unless include_all_users.nil? + command.query['includeInactive'] = include_inactive unless include_inactive.nil? + command.query['stripResults'] = strip_results unless strip_results.nil? + command.query['waitToken'] = wait_token unless wait_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 + + # Sets the breakpoint to the debuggee. + # @param [String] debuggee_id + # ID of the debuggee where the breakpoint is to be set. + # @param [Google::Apis::ClouddebuggerV2::Breakpoint] breakpoint_object + # @param [String] client_version + # The client version making the call. + # Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). + # @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::ClouddebuggerV2::SetBreakpointResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouddebuggerV2::SetBreakpointResponse] + # + # @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 set_debugger_debuggee_breakpoint(debuggee_id, breakpoint_object = nil, client_version: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/set', options) + command.request_representation = Google::Apis::ClouddebuggerV2::Breakpoint::Representation + command.request_object = breakpoint_object + command.response_representation = Google::Apis::ClouddebuggerV2::SetBreakpointResponse::Representation + command.response_class = Google::Apis::ClouddebuggerV2::SetBreakpointResponse + command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? + command.query['clientVersion'] = client_version unless client_version.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/clouderrorreporting_v1beta1.rb b/generated/google/apis/clouderrorreporting_v1beta1.rb index c0de92bef..f5c4cb0fe 100644 --- a/generated/google/apis/clouderrorreporting_v1beta1.rb +++ b/generated/google/apis/clouderrorreporting_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/error-reporting/ module ClouderrorreportingV1beta1 VERSION = 'V1beta1' - REVISION = '20170618' + REVISION = '20170811' # 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/clouderrorreporting_v1beta1/classes.rb b/generated/google/apis/clouderrorreporting_v1beta1/classes.rb index 3279a0a75..58638b487 100644 --- a/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +++ b/generated/google/apis/clouderrorreporting_v1beta1/classes.rb @@ -22,10 +22,337 @@ module Google module Apis module ClouderrorreportingV1beta1 + # Response message for deleting error events. + class DeleteEventsResponse + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A description of the context in which an error occurred. + # This data should be provided by the application when reporting an error, + # unless the + # error report has been generated automatically from Google App Engine logs. + class ErrorContext + include Google::Apis::Core::Hashable + + # HTTP request data that is related to a reported error. + # This data should be provided by the application when reporting an error, + # unless the + # error report has been generated automatically from Google App Engine logs. + # Corresponds to the JSON property `httpRequest` + # @return [Google::Apis::ClouderrorreportingV1beta1::HttpRequestContext] + attr_accessor :http_request + + # Indicates a location in the source code of the service for which errors are + # reported. `functionName` must be provided by the application when reporting + # an error, unless the error report contains a `message` with a supported + # exception stack trace. All fields are optional for the later case. + # Corresponds to the JSON property `reportLocation` + # @return [Google::Apis::ClouderrorreportingV1beta1::SourceLocation] + attr_accessor :report_location + + # Source code that was used to build the executable which has + # caused the given error message. + # Corresponds to the JSON property `sourceReferences` + # @return [Array] + attr_accessor :source_references + + # The user who caused or was affected by the crash. + # This can be a user ID, an email address, or an arbitrary token that + # uniquely identifies the user. + # When sending an error report, leave this field empty if the user was not + # logged in. In this case the + # Error Reporting system will use other data, such as remote IP address, to + # distinguish affected users. See `affected_users_count` in + # `ErrorGroupStats`. + # Corresponds to the JSON property `user` + # @return [String] + attr_accessor :user + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @http_request = args[:http_request] if args.key?(:http_request) + @report_location = args[:report_location] if args.key?(:report_location) + @source_references = args[:source_references] if args.key?(:source_references) + @user = args[:user] if args.key?(:user) + end + end + + # An error event which is returned by the Error Reporting system. + class ErrorEvent + include Google::Apis::Core::Hashable + + # A description of the context in which an error occurred. + # This data should be provided by the application when reporting an error, + # unless the + # error report has been generated automatically from Google App Engine logs. + # Corresponds to the JSON property `context` + # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorContext] + attr_accessor :context + + # Time when the event occurred as provided in the error report. + # If the report did not contain a timestamp, the time the error was received + # by the Error Reporting system is used. + # Corresponds to the JSON property `eventTime` + # @return [String] + attr_accessor :event_time + + # The stack trace that was reported or logged by the service. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + # Describes a running service that sends errors. + # Its version changes over time and multiple versions can run in parallel. + # Corresponds to the JSON property `serviceContext` + # @return [Google::Apis::ClouderrorreportingV1beta1::ServiceContext] + attr_accessor :service_context + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @context = args[:context] if args.key?(:context) + @event_time = args[:event_time] if args.key?(:event_time) + @message = args[:message] if args.key?(:message) + @service_context = args[:service_context] if args.key?(:service_context) + end + end + + # Description of a group of similar error events. + class ErrorGroup + include Google::Apis::Core::Hashable + + # Group IDs are unique for a given project. If the same kind of error + # occurs in different service contexts, it will receive the same group ID. + # Corresponds to the JSON property `groupId` + # @return [String] + attr_accessor :group_id + + # The group resource name. + # Example: projects/my-project-123/groups/my-groupid + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Associated tracking issues. + # Corresponds to the JSON property `trackingIssues` + # @return [Array] + attr_accessor :tracking_issues + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @group_id = args[:group_id] if args.key?(:group_id) + @name = args[:name] if args.key?(:name) + @tracking_issues = args[:tracking_issues] if args.key?(:tracking_issues) + end + end + + # Data extracted for a specific group based on certain filter criteria, + # such as a given time period and/or service filter. + class ErrorGroupStats + include Google::Apis::Core::Hashable + + # Service contexts with a non-zero error count for the given filter + # criteria. This list can be truncated if multiple services are affected. + # Refer to `num_affected_services` for the total count. + # Corresponds to the JSON property `affectedServices` + # @return [Array] + attr_accessor :affected_services + + # Approximate number of affected users in the given group that + # match the filter criteria. + # Users are distinguished by data in the `ErrorContext` of the + # individual error events, such as their login name or their remote + # IP address in case of HTTP requests. + # The number of affected users can be zero even if the number of + # errors is non-zero if no data was provided from which the + # affected user could be deduced. + # Users are counted based on data in the request + # context that was provided in the error report. If more users are + # implicitly affected, such as due to a crash of the whole service, + # this is not reflected here. + # Corresponds to the JSON property `affectedUsersCount` + # @return [Fixnum] + attr_accessor :affected_users_count + + # Approximate total number of events in the given group that match + # the filter criteria. + # Corresponds to the JSON property `count` + # @return [Fixnum] + attr_accessor :count + + # Approximate first occurrence that was ever seen for this group + # and which matches the given filter criteria, ignoring the + # time_range that was specified in the request. + # Corresponds to the JSON property `firstSeenTime` + # @return [String] + attr_accessor :first_seen_time + + # Description of a group of similar error events. + # Corresponds to the JSON property `group` + # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorGroup] + attr_accessor :group + + # Approximate last occurrence that was ever seen for this group and + # which matches the given filter criteria, ignoring the time_range + # that was specified in the request. + # Corresponds to the JSON property `lastSeenTime` + # @return [String] + attr_accessor :last_seen_time + + # The total number of services with a non-zero error count for the given + # filter criteria. + # Corresponds to the JSON property `numAffectedServices` + # @return [Fixnum] + attr_accessor :num_affected_services + + # An error event which is returned by the Error Reporting system. + # Corresponds to the JSON property `representative` + # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorEvent] + attr_accessor :representative + + # Approximate number of occurrences over time. + # Timed counts returned by ListGroups are guaranteed to be: + # - Inside the requested time interval + # - Non-overlapping, and + # - Ordered by ascending time. + # Corresponds to the JSON property `timedCounts` + # @return [Array] + attr_accessor :timed_counts + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @affected_services = args[:affected_services] if args.key?(:affected_services) + @affected_users_count = args[:affected_users_count] if args.key?(:affected_users_count) + @count = args[:count] if args.key?(:count) + @first_seen_time = args[:first_seen_time] if args.key?(:first_seen_time) + @group = args[:group] if args.key?(:group) + @last_seen_time = args[:last_seen_time] if args.key?(:last_seen_time) + @num_affected_services = args[:num_affected_services] if args.key?(:num_affected_services) + @representative = args[:representative] if args.key?(:representative) + @timed_counts = args[:timed_counts] if args.key?(:timed_counts) + end + end + + # HTTP request data that is related to a reported error. + # This data should be provided by the application when reporting an error, + # unless the + # error report has been generated automatically from Google App Engine logs. + class HttpRequestContext + include Google::Apis::Core::Hashable + + # The type of HTTP request, such as `GET`, `POST`, etc. + # Corresponds to the JSON property `method` + # @return [String] + attr_accessor :method_prop + + # The referrer information that is provided with the request. + # Corresponds to the JSON property `referrer` + # @return [String] + attr_accessor :referrer + + # The IP address from which the request originated. + # This can be IPv4, IPv6, or a token which is derived from the + # IP address, depending on the data that has been provided + # in the error report. + # Corresponds to the JSON property `remoteIp` + # @return [String] + attr_accessor :remote_ip + + # The HTTP response status code for the request. + # Corresponds to the JSON property `responseStatusCode` + # @return [Fixnum] + attr_accessor :response_status_code + + # The URL of the request. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + # The user agent information that is provided with the request. + # Corresponds to the JSON property `userAgent` + # @return [String] + attr_accessor :user_agent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @method_prop = args[:method_prop] if args.key?(:method_prop) + @referrer = args[:referrer] if args.key?(:referrer) + @remote_ip = args[:remote_ip] if args.key?(:remote_ip) + @response_status_code = args[:response_status_code] if args.key?(:response_status_code) + @url = args[:url] if args.key?(:url) + @user_agent = args[:user_agent] if args.key?(:user_agent) + end + end + + # Contains a set of requested error events. + class ListEventsResponse + include Google::Apis::Core::Hashable + + # The error events which match the given request. + # Corresponds to the JSON property `errorEvents` + # @return [Array] + attr_accessor :error_events + + # If non-empty, more results are available. + # Pass this token, along with the same query parameters as the first + # request, to view the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The timestamp specifies the start time to which the request was restricted. + # Corresponds to the JSON property `timeRangeBegin` + # @return [String] + attr_accessor :time_range_begin + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @error_events = args[:error_events] if args.key?(:error_events) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @time_range_begin = args[:time_range_begin] if args.key?(:time_range_begin) + end + end + # Contains a set of requested error group stats. class ListGroupStatsResponse include Google::Apis::Core::Hashable + # The error group stats which match the given request. + # Corresponds to the JSON property `errorGroupStats` + # @return [Array] + attr_accessor :error_group_stats + # If non-empty, more results are available. # Pass this token, along with the same query parameters as the first # request, to view the next page of results. @@ -41,53 +368,21 @@ module Google # @return [String] attr_accessor :time_range_begin - # The error group stats which match the given request. - # Corresponds to the JSON property `errorGroupStats` - # @return [Array] - attr_accessor :error_group_stats - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @error_group_stats = args[:error_group_stats] if args.key?(:error_group_stats) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @time_range_begin = args[:time_range_begin] if args.key?(:time_range_begin) - @error_group_stats = args[:error_group_stats] if args.key?(:error_group_stats) end end - # A reference to a particular snapshot of the source tree used to build and - # deploy an application. - class SourceReference - include Google::Apis::Core::Hashable - - # The canonical and persistent identifier of the deployed revision. - # Example (git): "0035781c50ec7aa23385dc841529ce8a4b70db1b" - # Corresponds to the JSON property `revisionId` - # @return [String] - attr_accessor :revision_id - - # Optional. A URI string identifying the repository. - # Example: "https://github.com/GoogleCloudPlatform/kubernetes.git" - # Corresponds to the JSON property `repository` - # @return [String] - attr_accessor :repository - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @revision_id = args[:revision_id] if args.key?(:revision_id) - @repository = args[:repository] if args.key?(:repository) - end - end - - # Response message for deleting error events. - class DeleteEventsResponse + # Response for reporting an individual error event. + # Data may be added to this message in the future. + class ReportErrorEventResponse include Google::Apis::Core::Hashable def initialize(**args) @@ -99,49 +394,6 @@ module Google end end - # An error event which is returned by the Error Reporting system. - class ErrorEvent - include Google::Apis::Core::Hashable - - # Describes a running service that sends errors. - # Its version changes over time and multiple versions can run in parallel. - # Corresponds to the JSON property `serviceContext` - # @return [Google::Apis::ClouderrorreportingV1beta1::ServiceContext] - attr_accessor :service_context - - # Time when the event occurred as provided in the error report. - # If the report did not contain a timestamp, the time the error was received - # by the Error Reporting system is used. - # Corresponds to the JSON property `eventTime` - # @return [String] - attr_accessor :event_time - - # A description of the context in which an error occurred. - # This data should be provided by the application when reporting an error, - # unless the - # error report has been generated automatically from Google App Engine logs. - # Corresponds to the JSON property `context` - # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorContext] - attr_accessor :context - - # The stack trace that was reported or logged by the service. - # 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) - @service_context = args[:service_context] if args.key?(:service_context) - @event_time = args[:event_time] if args.key?(:event_time) - @context = args[:context] if args.key?(:context) - @message = args[:message] if args.key?(:message) - end - end - # An error event which is reported to the Error Reporting system. class ReportedErrorEvent include Google::Apis::Core::Hashable @@ -154,6 +406,13 @@ module Google # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorContext] attr_accessor :context + # [Optional] Time when the event occurred. + # If not provided, the time when the event was received by the + # Error Reporting system will be used. + # Corresponds to the JSON property `eventTime` + # @return [String] + attr_accessor :event_time + # [Required] The error message. # If no `context.reportLocation` is provided, the message must contain a # header (typically consisting of the exception type name and an error @@ -188,13 +447,6 @@ module Google # @return [Google::Apis::ClouderrorreportingV1beta1::ServiceContext] attr_accessor :service_context - # [Optional] Time when the event occurred. - # If not provided, the time when the event was received by the - # Error Reporting system will be used. - # Corresponds to the JSON property `eventTime` - # @return [String] - attr_accessor :event_time - def initialize(**args) update!(**args) end @@ -202,52 +454,42 @@ module Google # Update properties of this object def update!(**args) @context = args[:context] if args.key?(:context) + @event_time = args[:event_time] if args.key?(:event_time) @message = args[:message] if args.key?(:message) @service_context = args[:service_context] if args.key?(:service_context) - @event_time = args[:event_time] if args.key?(:event_time) end end - # A description of the context in which an error occurred. - # This data should be provided by the application when reporting an error, - # unless the - # error report has been generated automatically from Google App Engine logs. - class ErrorContext + # Describes a running service that sends errors. + # Its version changes over time and multiple versions can run in parallel. + class ServiceContext include Google::Apis::Core::Hashable - # Source code that was used to build the executable which has - # caused the given error message. - # Corresponds to the JSON property `sourceReferences` - # @return [Array] - attr_accessor :source_references - - # Indicates a location in the source code of the service for which errors are - # reported. `functionName` must be provided by the application when reporting - # an error, unless the error report contains a `message` with a supported - # exception stack trace. All fields are optional for the later case. - # Corresponds to the JSON property `reportLocation` - # @return [Google::Apis::ClouderrorreportingV1beta1::SourceLocation] - attr_accessor :report_location - - # HTTP request data that is related to a reported error. - # This data should be provided by the application when reporting an error, - # unless the - # error report has been generated automatically from Google App Engine logs. - # Corresponds to the JSON property `httpRequest` - # @return [Google::Apis::ClouderrorreportingV1beta1::HttpRequestContext] - attr_accessor :http_request - - # The user who caused or was affected by the crash. - # This can be a user ID, an email address, or an arbitrary token that - # uniquely identifies the user. - # When sending an error report, leave this field empty if the user was not - # logged in. In this case the - # Error Reporting system will use other data, such as remote IP address, to - # distinguish affected users. See `affected_users_count` in - # `ErrorGroupStats`. - # Corresponds to the JSON property `user` + # Type of the MonitoredResource. List of possible values: + # https://cloud.google.com/monitoring/api/resources + # Value is set automatically for incoming errors and must not be set when + # reporting errors. + # Corresponds to the JSON property `resourceType` # @return [String] - attr_accessor :user + attr_accessor :resource_type + + # An identifier of the service, such as the name of the + # executable, job, or Google App Engine service name. This field is expected + # to have a low number of values that are relatively stable over time, as + # opposed to `version`, which can be changed whenever new code is deployed. + # Contains the service name for error reports extracted from Google + # App Engine logs or `default` if the App Engine default service is used. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + + # Represents the source code version that the developer provided, + # which could represent a version label or a Git SHA-1 hash, for example. + # For App Engine standard environment, the version is set to the version of + # the app. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version def initialize(**args) update!(**args) @@ -255,10 +497,107 @@ module Google # Update properties of this object def update!(**args) - @source_references = args[:source_references] if args.key?(:source_references) - @report_location = args[:report_location] if args.key?(:report_location) - @http_request = args[:http_request] if args.key?(:http_request) - @user = args[:user] if args.key?(:user) + @resource_type = args[:resource_type] if args.key?(:resource_type) + @service = args[:service] if args.key?(:service) + @version = args[:version] if args.key?(:version) + end + end + + # Indicates a location in the source code of the service for which errors are + # reported. `functionName` must be provided by the application when reporting + # an error, unless the error report contains a `message` with a supported + # exception stack trace. All fields are optional for the later case. + class SourceLocation + include Google::Apis::Core::Hashable + + # The source code filename, which can include a truncated relative + # path, or a full path from a production machine. + # Corresponds to the JSON property `filePath` + # @return [String] + attr_accessor :file_path + + # Human-readable name of a function or method. + # The value can include optional context like the class or package name. + # For example, `my.package.MyClass.method` in case of Java. + # Corresponds to the JSON property `functionName` + # @return [String] + attr_accessor :function_name + + # 1-based. 0 indicates that the line number is unknown. + # Corresponds to the JSON property `lineNumber` + # @return [Fixnum] + attr_accessor :line_number + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file_path = args[:file_path] if args.key?(:file_path) + @function_name = args[:function_name] if args.key?(:function_name) + @line_number = args[:line_number] if args.key?(:line_number) + end + end + + # A reference to a particular snapshot of the source tree used to build and + # deploy an application. + class SourceReference + include Google::Apis::Core::Hashable + + # Optional. A URI string identifying the repository. + # Example: "https://github.com/GoogleCloudPlatform/kubernetes.git" + # Corresponds to the JSON property `repository` + # @return [String] + attr_accessor :repository + + # The canonical and persistent identifier of the deployed revision. + # Example (git): "0035781c50ec7aa23385dc841529ce8a4b70db1b" + # Corresponds to the JSON property `revisionId` + # @return [String] + attr_accessor :revision_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @repository = args[:repository] if args.key?(:repository) + @revision_id = args[:revision_id] if args.key?(:revision_id) + end + end + + # The number of errors in a given time period. + # All numbers are approximate since the error events are sampled + # before counting them. + class TimedCount + include Google::Apis::Core::Hashable + + # Approximate number of occurrences in the given time period. + # Corresponds to the JSON property `count` + # @return [Fixnum] + attr_accessor :count + + # End of the time period to which `count` refers (excluded). + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # Start of the time period to which `count` refers (included). + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @count = args[:count] if args.key?(:count) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) end end @@ -281,345 +620,6 @@ module Google @url = args[:url] if args.key?(:url) end end - - # Data extracted for a specific group based on certain filter criteria, - # such as a given time period and/or service filter. - class ErrorGroupStats - include Google::Apis::Core::Hashable - - # Description of a group of similar error events. - # Corresponds to the JSON property `group` - # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorGroup] - attr_accessor :group - - # Approximate first occurrence that was ever seen for this group - # and which matches the given filter criteria, ignoring the - # time_range that was specified in the request. - # Corresponds to the JSON property `firstSeenTime` - # @return [String] - attr_accessor :first_seen_time - - # Approximate total number of events in the given group that match - # the filter criteria. - # Corresponds to the JSON property `count` - # @return [Fixnum] - attr_accessor :count - - # Approximate number of affected users in the given group that - # match the filter criteria. - # Users are distinguished by data in the `ErrorContext` of the - # individual error events, such as their login name or their remote - # IP address in case of HTTP requests. - # The number of affected users can be zero even if the number of - # errors is non-zero if no data was provided from which the - # affected user could be deduced. - # Users are counted based on data in the request - # context that was provided in the error report. If more users are - # implicitly affected, such as due to a crash of the whole service, - # this is not reflected here. - # Corresponds to the JSON property `affectedUsersCount` - # @return [Fixnum] - attr_accessor :affected_users_count - - # Approximate last occurrence that was ever seen for this group and - # which matches the given filter criteria, ignoring the time_range - # that was specified in the request. - # Corresponds to the JSON property `lastSeenTime` - # @return [String] - attr_accessor :last_seen_time - - # The total number of services with a non-zero error count for the given - # filter criteria. - # Corresponds to the JSON property `numAffectedServices` - # @return [Fixnum] - attr_accessor :num_affected_services - - # Service contexts with a non-zero error count for the given filter - # criteria. This list can be truncated if multiple services are affected. - # Refer to `num_affected_services` for the total count. - # Corresponds to the JSON property `affectedServices` - # @return [Array] - attr_accessor :affected_services - - # An error event which is returned by the Error Reporting system. - # Corresponds to the JSON property `representative` - # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorEvent] - attr_accessor :representative - - # Approximate number of occurrences over time. - # Timed counts returned by ListGroups are guaranteed to be: - # - Inside the requested time interval - # - Non-overlapping, and - # - Ordered by ascending time. - # Corresponds to the JSON property `timedCounts` - # @return [Array] - attr_accessor :timed_counts - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @group = args[:group] if args.key?(:group) - @first_seen_time = args[:first_seen_time] if args.key?(:first_seen_time) - @count = args[:count] if args.key?(:count) - @affected_users_count = args[:affected_users_count] if args.key?(:affected_users_count) - @last_seen_time = args[:last_seen_time] if args.key?(:last_seen_time) - @num_affected_services = args[:num_affected_services] if args.key?(:num_affected_services) - @affected_services = args[:affected_services] if args.key?(:affected_services) - @representative = args[:representative] if args.key?(:representative) - @timed_counts = args[:timed_counts] if args.key?(:timed_counts) - end - end - - # Contains a set of requested error events. - class ListEventsResponse - include Google::Apis::Core::Hashable - - # The timestamp specifies the start time to which the request was restricted. - # Corresponds to the JSON property `timeRangeBegin` - # @return [String] - attr_accessor :time_range_begin - - # The error events which match the given request. - # Corresponds to the JSON property `errorEvents` - # @return [Array] - attr_accessor :error_events - - # If non-empty, more results are available. - # Pass this token, along with the same query parameters as the first - # request, to view the next page of results. - # 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) - @time_range_begin = args[:time_range_begin] if args.key?(:time_range_begin) - @error_events = args[:error_events] if args.key?(:error_events) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # The number of errors in a given time period. - # All numbers are approximate since the error events are sampled - # before counting them. - class TimedCount - include Google::Apis::Core::Hashable - - # End of the time period to which `count` refers (excluded). - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # Start of the time period to which `count` refers (included). - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # Approximate number of occurrences in the given time period. - # Corresponds to the JSON property `count` - # @return [Fixnum] - attr_accessor :count - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @end_time = args[:end_time] if args.key?(:end_time) - @start_time = args[:start_time] if args.key?(:start_time) - @count = args[:count] if args.key?(:count) - end - end - - # Description of a group of similar error events. - class ErrorGroup - include Google::Apis::Core::Hashable - - # The group resource name. - # Example: projects/my-project-123/groups/my-groupid - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Associated tracking issues. - # Corresponds to the JSON property `trackingIssues` - # @return [Array] - attr_accessor :tracking_issues - - # Group IDs are unique for a given project. If the same kind of error - # occurs in different service contexts, it will receive the same group ID. - # Corresponds to the JSON property `groupId` - # @return [String] - attr_accessor :group_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @tracking_issues = args[:tracking_issues] if args.key?(:tracking_issues) - @group_id = args[:group_id] if args.key?(:group_id) - end - end - - # Describes a running service that sends errors. - # Its version changes over time and multiple versions can run in parallel. - class ServiceContext - include Google::Apis::Core::Hashable - - # Represents the source code version that the developer provided, - # which could represent a version label or a Git SHA-1 hash, for example. - # For App Engine standard environment, the version is set to the version of - # the app. - # Corresponds to the JSON property `version` - # @return [String] - attr_accessor :version - - # An identifier of the service, such as the name of the - # executable, job, or Google App Engine service name. This field is expected - # to have a low number of values that are relatively stable over time, as - # opposed to `version`, which can be changed whenever new code is deployed. - # Contains the service name for error reports extracted from Google - # App Engine logs or `default` if the App Engine default service is used. - # Corresponds to the JSON property `service` - # @return [String] - attr_accessor :service - - # Type of the MonitoredResource. List of possible values: - # https://cloud.google.com/monitoring/api/resources - # Value is set automatically for incoming errors and must not be set when - # reporting errors. - # Corresponds to the JSON property `resourceType` - # @return [String] - attr_accessor :resource_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @version = args[:version] if args.key?(:version) - @service = args[:service] if args.key?(:service) - @resource_type = args[:resource_type] if args.key?(:resource_type) - end - end - - # Indicates a location in the source code of the service for which errors are - # reported. `functionName` must be provided by the application when reporting - # an error, unless the error report contains a `message` with a supported - # exception stack trace. All fields are optional for the later case. - class SourceLocation - include Google::Apis::Core::Hashable - - # Human-readable name of a function or method. - # The value can include optional context like the class or package name. - # For example, `my.package.MyClass.method` in case of Java. - # Corresponds to the JSON property `functionName` - # @return [String] - attr_accessor :function_name - - # The source code filename, which can include a truncated relative - # path, or a full path from a production machine. - # Corresponds to the JSON property `filePath` - # @return [String] - attr_accessor :file_path - - # 1-based. 0 indicates that the line number is unknown. - # Corresponds to the JSON property `lineNumber` - # @return [Fixnum] - attr_accessor :line_number - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @function_name = args[:function_name] if args.key?(:function_name) - @file_path = args[:file_path] if args.key?(:file_path) - @line_number = args[:line_number] if args.key?(:line_number) - end - end - - # Response for reporting an individual error event. - # Data may be added to this message in the future. - class ReportErrorEventResponse - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # HTTP request data that is related to a reported error. - # This data should be provided by the application when reporting an error, - # unless the - # error report has been generated automatically from Google App Engine logs. - class HttpRequestContext - include Google::Apis::Core::Hashable - - # The URL of the request. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # The HTTP response status code for the request. - # Corresponds to the JSON property `responseStatusCode` - # @return [Fixnum] - attr_accessor :response_status_code - - # The type of HTTP request, such as `GET`, `POST`, etc. - # Corresponds to the JSON property `method` - # @return [String] - attr_accessor :method_prop - - # The IP address from which the request originated. - # This can be IPv4, IPv6, or a token which is derived from the - # IP address, depending on the data that has been provided - # in the error report. - # Corresponds to the JSON property `remoteIp` - # @return [String] - attr_accessor :remote_ip - - # The referrer information that is provided with the request. - # Corresponds to the JSON property `referrer` - # @return [String] - attr_accessor :referrer - - # The user agent information that is provided with the request. - # Corresponds to the JSON property `userAgent` - # @return [String] - attr_accessor :user_agent - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @url = args[:url] if args.key?(:url) - @response_status_code = args[:response_status_code] if args.key?(:response_status_code) - @method_prop = args[:method_prop] if args.key?(:method_prop) - @remote_ip = args[:remote_ip] if args.key?(:remote_ip) - @referrer = args[:referrer] if args.key?(:referrer) - @user_agent = args[:user_agent] if args.key?(:user_agent) - end - end end end end diff --git a/generated/google/apis/clouderrorreporting_v1beta1/representations.rb b/generated/google/apis/clouderrorreporting_v1beta1/representations.rb index 33347bafd..0061cb5c9 100644 --- a/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +++ b/generated/google/apis/clouderrorreporting_v1beta1/representations.rb @@ -22,43 +22,25 @@ module Google module Apis module ClouderrorreportingV1beta1 - class ListGroupStatsResponse - 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 DeleteEventsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ErrorEvent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReportedErrorEvent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ErrorContext class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class TrackingIssue + class ErrorEvent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ErrorGroup class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -70,19 +52,31 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class HttpRequestContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListEventsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class TimedCount + class ListGroupStatsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ErrorGroup + class ReportErrorEventResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReportedErrorEvent class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -100,34 +94,22 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ReportErrorEventResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class HttpRequestContext - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListGroupStatsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - property :time_range_begin, as: 'timeRangeBegin' - collection :error_group_stats, as: 'errorGroupStats', class: Google::Apis::ClouderrorreportingV1beta1::ErrorGroupStats, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorGroupStats::Representation - - end - end - class SourceReference - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :revision_id, as: 'revisionId' - property :repository, as: 'repository' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TimedCount + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TrackingIssue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DeleteEventsResponse @@ -136,62 +118,53 @@ module Google end end - class ErrorEvent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :service_context, as: 'serviceContext', class: Google::Apis::ClouderrorreportingV1beta1::ServiceContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ServiceContext::Representation - - property :event_time, as: 'eventTime' - property :context, as: 'context', class: Google::Apis::ClouderrorreportingV1beta1::ErrorContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorContext::Representation - - property :message, as: 'message' - end - end - - class ReportedErrorEvent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :context, as: 'context', class: Google::Apis::ClouderrorreportingV1beta1::ErrorContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorContext::Representation - - property :message, as: 'message' - property :service_context, as: 'serviceContext', class: Google::Apis::ClouderrorreportingV1beta1::ServiceContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ServiceContext::Representation - - property :event_time, as: 'eventTime' - end - end - class ErrorContext # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :source_references, as: 'sourceReferences', class: Google::Apis::ClouderrorreportingV1beta1::SourceReference, decorator: Google::Apis::ClouderrorreportingV1beta1::SourceReference::Representation + property :http_request, as: 'httpRequest', class: Google::Apis::ClouderrorreportingV1beta1::HttpRequestContext, decorator: Google::Apis::ClouderrorreportingV1beta1::HttpRequestContext::Representation property :report_location, as: 'reportLocation', class: Google::Apis::ClouderrorreportingV1beta1::SourceLocation, decorator: Google::Apis::ClouderrorreportingV1beta1::SourceLocation::Representation - property :http_request, as: 'httpRequest', class: Google::Apis::ClouderrorreportingV1beta1::HttpRequestContext, decorator: Google::Apis::ClouderrorreportingV1beta1::HttpRequestContext::Representation + collection :source_references, as: 'sourceReferences', class: Google::Apis::ClouderrorreportingV1beta1::SourceReference, decorator: Google::Apis::ClouderrorreportingV1beta1::SourceReference::Representation property :user, as: 'user' end end - class TrackingIssue + class ErrorEvent # @private class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' + property :context, as: 'context', class: Google::Apis::ClouderrorreportingV1beta1::ErrorContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorContext::Representation + + property :event_time, as: 'eventTime' + property :message, as: 'message' + property :service_context, as: 'serviceContext', class: Google::Apis::ClouderrorreportingV1beta1::ServiceContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ServiceContext::Representation + + end + end + + class ErrorGroup + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :group_id, as: 'groupId' + property :name, as: 'name' + collection :tracking_issues, as: 'trackingIssues', class: Google::Apis::ClouderrorreportingV1beta1::TrackingIssue, decorator: Google::Apis::ClouderrorreportingV1beta1::TrackingIssue::Representation + end end class ErrorGroupStats # @private class Representation < Google::Apis::Core::JsonRepresentation - property :group, as: 'group', class: Google::Apis::ClouderrorreportingV1beta1::ErrorGroup, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorGroup::Representation - - property :first_seen_time, as: 'firstSeenTime' - property :count, :numeric_string => true, as: 'count' - property :affected_users_count, :numeric_string => true, as: 'affectedUsersCount' - property :last_seen_time, as: 'lastSeenTime' - property :num_affected_services, as: 'numAffectedServices' collection :affected_services, as: 'affectedServices', class: Google::Apis::ClouderrorreportingV1beta1::ServiceContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ServiceContext::Representation + property :affected_users_count, :numeric_string => true, as: 'affectedUsersCount' + property :count, :numeric_string => true, as: 'count' + property :first_seen_time, as: 'firstSeenTime' + property :group, as: 'group', class: Google::Apis::ClouderrorreportingV1beta1::ErrorGroup, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorGroup::Representation + + property :last_seen_time, as: 'lastSeenTime' + property :num_affected_services, as: 'numAffectedServices' property :representative, as: 'representative', class: Google::Apis::ClouderrorreportingV1beta1::ErrorEvent, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorEvent::Representation collection :timed_counts, as: 'timedCounts', class: Google::Apis::ClouderrorreportingV1beta1::TimedCount, decorator: Google::Apis::ClouderrorreportingV1beta1::TimedCount::Representation @@ -199,50 +172,35 @@ module Google end end + class HttpRequestContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :method_prop, as: 'method' + property :referrer, as: 'referrer' + property :remote_ip, as: 'remoteIp' + property :response_status_code, as: 'responseStatusCode' + property :url, as: 'url' + property :user_agent, as: 'userAgent' + end + end + class ListEventsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :time_range_begin, as: 'timeRangeBegin' collection :error_events, as: 'errorEvents', class: Google::Apis::ClouderrorreportingV1beta1::ErrorEvent, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorEvent::Representation property :next_page_token, as: 'nextPageToken' + property :time_range_begin, as: 'timeRangeBegin' end end - class TimedCount + class ListGroupStatsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :end_time, as: 'endTime' - property :start_time, as: 'startTime' - property :count, :numeric_string => true, as: 'count' - end - end + collection :error_group_stats, as: 'errorGroupStats', class: Google::Apis::ClouderrorreportingV1beta1::ErrorGroupStats, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorGroupStats::Representation - class ErrorGroup - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - collection :tracking_issues, as: 'trackingIssues', class: Google::Apis::ClouderrorreportingV1beta1::TrackingIssue, decorator: Google::Apis::ClouderrorreportingV1beta1::TrackingIssue::Representation - - property :group_id, as: 'groupId' - end - end - - class ServiceContext - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :version, as: 'version' - property :service, as: 'service' - property :resource_type, as: 'resourceType' - end - end - - class SourceLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :function_name, as: 'functionName' - property :file_path, as: 'filePath' - property :line_number, as: 'lineNumber' + property :next_page_token, as: 'nextPageToken' + property :time_range_begin, as: 'timeRangeBegin' end end @@ -252,15 +210,57 @@ module Google end end - class HttpRequestContext + class ReportedErrorEvent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :context, as: 'context', class: Google::Apis::ClouderrorreportingV1beta1::ErrorContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorContext::Representation + + property :event_time, as: 'eventTime' + property :message, as: 'message' + property :service_context, as: 'serviceContext', class: Google::Apis::ClouderrorreportingV1beta1::ServiceContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ServiceContext::Representation + + end + end + + class ServiceContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :resource_type, as: 'resourceType' + property :service, as: 'service' + property :version, as: 'version' + end + end + + class SourceLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :file_path, as: 'filePath' + property :function_name, as: 'functionName' + property :line_number, as: 'lineNumber' + end + end + + class SourceReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :repository, as: 'repository' + property :revision_id, as: 'revisionId' + end + end + + class TimedCount + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :count, :numeric_string => true, as: 'count' + property :end_time, as: 'endTime' + property :start_time, as: 'startTime' + end + end + + class TrackingIssue # @private class Representation < Google::Apis::Core::JsonRepresentation property :url, as: 'url' - property :response_status_code, as: 'responseStatusCode' - property :method_prop, as: 'method' - property :remote_ip, as: 'remoteIp' - property :referrer, as: 'referrer' - property :user_agent, as: 'userAgent' end end end diff --git a/generated/google/apis/clouderrorreporting_v1beta1/service.rb b/generated/google/apis/clouderrorreporting_v1beta1/service.rb index de5c5a48b..d4fdda891 100644 --- a/generated/google/apis/clouderrorreporting_v1beta1/service.rb +++ b/generated/google/apis/clouderrorreporting_v1beta1/service.rb @@ -55,11 +55,11 @@ module Google # [Google Cloud Platform project # ID](https://support.google.com/cloud/answer/6158840). # Example: `projects/my-project-123`. + # @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 # @@ -72,164 +72,13 @@ 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 delete_project_events(project_name, quota_user: nil, fields: nil, options: nil, &block) + def delete_project_events(project_name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+projectName}/events', options) command.response_representation = Google::Apis::ClouderrorreportingV1beta1::DeleteEventsResponse::Representation command.response_class = Google::Apis::ClouderrorreportingV1beta1::DeleteEventsResponse command.params['projectName'] = project_name unless project_name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists the specified groups. - # @param [String] project_name - # [Required] The resource name of the Google Cloud Platform project. Written - # as projects/ plus the - # Google Cloud - # Platform project ID. - # Example: projects/my-project-123. - # @param [String] alignment - # [Optional] The alignment of the timed counts to be returned. - # Default is `ALIGNMENT_EQUAL_AT_END`. - # @param [Array, String] group_id - # [Optional] List all ErrorGroupStats with these IDs. - # @param [String] service_filter_service - # [Optional] The exact value to match against - # [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ - # ServiceContext#FIELDS.service). - # @param [Fixnum] page_size - # [Optional] The maximum number of results to return per response. - # Default is 20. - # @param [String] order - # [Optional] The sort order in which the results are returned. - # Default is `COUNT_DESC`. - # @param [String] service_filter_version - # [Optional] The exact value to match against - # [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ - # ServiceContext#FIELDS.version). - # @param [String] alignment_time - # [Optional] Time where the timed counts shall be aligned if rounded - # alignment is chosen. Default is 00:00 UTC. - # @param [String] service_filter_resource_type - # [Optional] The exact value to match against - # [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ - # ServiceContext#FIELDS.resource_type). - # @param [String] timed_count_duration - # [Optional] The preferred duration for a single returned `TimedCount`. - # If not set, no timed counts are returned. - # @param [String] page_token - # [Optional] A `next_page_token` provided by a previous response. To view - # additional results, pass this token along with the identical query - # parameters as the first request. - # @param [String] time_range_period - # Restricts the query to the specified time range. - # @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::ClouderrorreportingV1beta1::ListGroupStatsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClouderrorreportingV1beta1::ListGroupStatsResponse] - # - # @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_project_group_stats(project_name, alignment: nil, group_id: nil, service_filter_service: nil, page_size: nil, order: nil, service_filter_version: nil, alignment_time: nil, service_filter_resource_type: nil, timed_count_duration: nil, page_token: nil, time_range_period: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta1/{+projectName}/groupStats', options) - command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ListGroupStatsResponse::Representation - command.response_class = Google::Apis::ClouderrorreportingV1beta1::ListGroupStatsResponse - command.params['projectName'] = project_name unless project_name.nil? - command.query['alignment'] = alignment unless alignment.nil? - command.query['groupId'] = group_id unless group_id.nil? - command.query['serviceFilter.service'] = service_filter_service unless service_filter_service.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['order'] = order unless order.nil? - command.query['serviceFilter.version'] = service_filter_version unless service_filter_version.nil? - command.query['alignmentTime'] = alignment_time unless alignment_time.nil? - command.query['serviceFilter.resourceType'] = service_filter_resource_type unless service_filter_resource_type.nil? - command.query['timedCountDuration'] = timed_count_duration unless timed_count_duration.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['timeRange.period'] = time_range_period unless time_range_period.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Get the specified group. - # @param [String] group_name - # [Required] The group resource name. Written as - # projects/projectID/groups/group_name. - # Call - # - # groupStats.list to return a list of groups belonging to - # this project. - # Example: projects/my-project-123/groups/my-group - # @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::ClouderrorreportingV1beta1::ErrorGroup] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorGroup] - # - # @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_project_group(group_name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta1/{+groupName}', options) - command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup::Representation - command.response_class = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup - command.params['groupName'] = group_name unless group_name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Replace the data for the specified group. - # Fails if the group does not exist. - # @param [String] name - # The group resource name. - # Example: projects/my-project-123/groups/my-groupid - # @param [Google::Apis::ClouderrorreportingV1beta1::ErrorGroup] error_group_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::ClouderrorreportingV1beta1::ErrorGroup] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorGroup] - # - # @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_project_group(name, error_group_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:put, 'v1beta1/{+name}', options) - command.request_representation = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup::Representation - command.request_object = error_group_object - command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup::Representation - command.response_class = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -240,31 +89,31 @@ module Google # [Google Cloud Platform project # ID](https://support.google.com/cloud/answer/6158840). # Example: `projects/my-project-123`. - # @param [String] service_filter_service - # [Optional] The exact value to match against - # [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ - # ServiceContext#FIELDS.service). - # @param [String] page_token - # [Optional] A `next_page_token` provided by a previous response. + # @param [String] group_id + # [Required] The group for which events shall be returned. # @param [Fixnum] page_size # [Optional] The maximum number of results to return per response. - # @param [String] service_filter_version - # [Optional] The exact value to match against - # [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ - # ServiceContext#FIELDS.version). + # @param [String] page_token + # [Optional] A `next_page_token` provided by a previous response. # @param [String] service_filter_resource_type # [Optional] The exact value to match against # [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ # ServiceContext#FIELDS.resource_type). + # @param [String] service_filter_service + # [Optional] The exact value to match against + # [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ + # ServiceContext#FIELDS.service). + # @param [String] service_filter_version + # [Optional] The exact value to match against + # [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ + # ServiceContext#FIELDS.version). # @param [String] time_range_period # Restricts the query to the specified time range. - # @param [String] group_id - # [Required] The group for which events shall be returned. + # @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 # @@ -277,20 +126,20 @@ 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_project_events(project_name, service_filter_service: nil, page_token: nil, page_size: nil, service_filter_version: nil, service_filter_resource_type: nil, time_range_period: nil, group_id: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_project_events(project_name, group_id: nil, page_size: nil, page_token: nil, service_filter_resource_type: nil, service_filter_service: nil, service_filter_version: nil, time_range_period: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+projectName}/events', options) command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ListEventsResponse::Representation command.response_class = Google::Apis::ClouderrorreportingV1beta1::ListEventsResponse command.params['projectName'] = project_name unless project_name.nil? - command.query['serviceFilter.service'] = service_filter_service unless service_filter_service.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['serviceFilter.version'] = service_filter_version unless service_filter_version.nil? - command.query['serviceFilter.resourceType'] = service_filter_resource_type unless service_filter_resource_type.nil? - command.query['timeRange.period'] = time_range_period unless time_range_period.nil? command.query['groupId'] = group_id unless group_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['serviceFilter.resourceType'] = service_filter_resource_type unless service_filter_resource_type.nil? + command.query['serviceFilter.service'] = service_filter_service unless service_filter_service.nil? + command.query['serviceFilter.version'] = service_filter_version unless service_filter_version.nil? + command.query['timeRange.period'] = time_range_period unless time_range_period.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -309,11 +158,11 @@ module Google # 6158840). # Example: `projects/my-project-123`. # @param [Google::Apis::ClouderrorreportingV1beta1::ReportedErrorEvent] reported_error_event_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -326,15 +175,166 @@ 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 report_project_event(project_name, reported_error_event_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def report_project_event(project_name, reported_error_event_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+projectName}/events:report', options) command.request_representation = Google::Apis::ClouderrorreportingV1beta1::ReportedErrorEvent::Representation command.request_object = reported_error_event_object command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ReportErrorEventResponse::Representation command.response_class = Google::Apis::ClouderrorreportingV1beta1::ReportErrorEventResponse command.params['projectName'] = project_name unless project_name.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 + + # Lists the specified groups. + # @param [String] project_name + # [Required] The resource name of the Google Cloud Platform project. Written + # as projects/ plus the + # Google Cloud + # Platform project ID. + # Example: projects/my-project-123. + # @param [String] alignment + # [Optional] The alignment of the timed counts to be returned. + # Default is `ALIGNMENT_EQUAL_AT_END`. + # @param [String] alignment_time + # [Optional] Time where the timed counts shall be aligned if rounded + # alignment is chosen. Default is 00:00 UTC. + # @param [Array, String] group_id + # [Optional] List all ErrorGroupStats with these IDs. + # @param [String] order + # [Optional] The sort order in which the results are returned. + # Default is `COUNT_DESC`. + # @param [Fixnum] page_size + # [Optional] The maximum number of results to return per response. + # Default is 20. + # @param [String] page_token + # [Optional] A `next_page_token` provided by a previous response. To view + # additional results, pass this token along with the identical query + # parameters as the first request. + # @param [String] service_filter_resource_type + # [Optional] The exact value to match against + # [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ + # ServiceContext#FIELDS.resource_type). + # @param [String] service_filter_service + # [Optional] The exact value to match against + # [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ + # ServiceContext#FIELDS.service). + # @param [String] service_filter_version + # [Optional] The exact value to match against + # [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ + # ServiceContext#FIELDS.version). + # @param [String] time_range_period + # Restricts the query to the specified time range. + # @param [String] timed_count_duration + # [Optional] The preferred duration for a single returned `TimedCount`. + # If not set, no timed counts are returned. + # @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::ClouderrorreportingV1beta1::ListGroupStatsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouderrorreportingV1beta1::ListGroupStatsResponse] + # + # @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_project_group_stats(project_name, alignment: nil, alignment_time: nil, group_id: nil, order: nil, page_size: nil, page_token: nil, service_filter_resource_type: nil, service_filter_service: nil, service_filter_version: nil, time_range_period: nil, timed_count_duration: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+projectName}/groupStats', options) + command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ListGroupStatsResponse::Representation + command.response_class = Google::Apis::ClouderrorreportingV1beta1::ListGroupStatsResponse + command.params['projectName'] = project_name unless project_name.nil? + command.query['alignment'] = alignment unless alignment.nil? + command.query['alignmentTime'] = alignment_time unless alignment_time.nil? + command.query['groupId'] = group_id unless group_id.nil? + command.query['order'] = order unless order.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['serviceFilter.resourceType'] = service_filter_resource_type unless service_filter_resource_type.nil? + command.query['serviceFilter.service'] = service_filter_service unless service_filter_service.nil? + command.query['serviceFilter.version'] = service_filter_version unless service_filter_version.nil? + command.query['timeRange.period'] = time_range_period unless time_range_period.nil? + command.query['timedCountDuration'] = timed_count_duration unless timed_count_duration.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Get the specified group. + # @param [String] group_name + # [Required] The group resource name. Written as + # projects/projectID/groups/group_name. + # Call + # + # groupStats.list to return a list of groups belonging to + # this project. + # Example: projects/my-project-123/groups/my-group + # @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::ClouderrorreportingV1beta1::ErrorGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorGroup] + # + # @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_project_group(group_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+groupName}', options) + command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup::Representation + command.response_class = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup + command.params['groupName'] = group_name unless group_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 + + # Replace the data for the specified group. + # Fails if the group does not exist. + # @param [String] name + # The group resource name. + # Example: projects/my-project-123/groups/my-groupid + # @param [Google::Apis::ClouderrorreportingV1beta1::ErrorGroup] error_group_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::ClouderrorreportingV1beta1::ErrorGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorGroup] + # + # @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_project_group(name, error_group_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v1beta1/{+name}', options) + command.request_representation = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup::Representation + command.request_object = error_group_object + command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup::Representation + command.response_class = Google::Apis::ClouderrorreportingV1beta1::ErrorGroup + 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 diff --git a/generated/google/apis/cloudfunctions_v1.rb b/generated/google/apis/cloudfunctions_v1.rb index 6df3199f9..40a4c6b01 100644 --- a/generated/google/apis/cloudfunctions_v1.rb +++ b/generated/google/apis/cloudfunctions_v1.rb @@ -26,7 +26,10 @@ module Google # @see https://cloud.google.com/functions module CloudfunctionsV1 VERSION = 'V1' - REVISION = '20170711' + REVISION = '20170822' + + # 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/cloudfunctions_v1/classes.rb b/generated/google/apis/cloudfunctions_v1/classes.rb index 04e9ae22e..44c4a1599 100644 --- a/generated/google/apis/cloudfunctions_v1/classes.rb +++ b/generated/google/apis/cloudfunctions_v1/classes.rb @@ -22,21 +22,208 @@ module Google module Apis module CloudfunctionsV1 + # The response message for Locations.ListLocations. + class ListLocationsResponse + include Google::Apis::Core::Hashable + + # A list of locations that matches the specified filter in the request. + # Corresponds to the JSON property `locations` + # @return [Array] + attr_accessor :locations + + # 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) + @locations = args[:locations] if args.key?(:locations) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The response message for Operations.ListOperations. + class ListOperationsResponse + include Google::Apis::Core::Hashable + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + 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) + @operations = args[:operations] if args.key?(:operations) + end + end + + # A resource that represents Google Cloud Platform location. + class Location + include Google::Apis::Core::Hashable + + # Cross-service attributes for the location. For example + # `"cloud.googleapis.com/region": "us-east1"` + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # The canonical id for this location. For example: `"us-east1"`. + # Corresponds to the JSON property `locationId` + # @return [String] + attr_accessor :location_id + + # Service-specific metadata. For example the available capacity at the given + # location. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # Resource name for the location, which may vary between implementations. + # For example: `"projects/example-project/locations/us-east1"` + # 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) + @labels = args[:labels] if args.key?(:labels) + @location_id = args[:location_id] if args.key?(:location_id) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + 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 + + # 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` that 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. + # - 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::CloudfunctionsV1::Status] + attr_accessor :error + + # 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 + + # 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 + + # 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) + @done = args[:done] if args.key?(:done) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + @response = args[:response] if args.key?(:response) + end + end + # Metadata describing an Operation class OperationMetadataV1Beta2 include Google::Apis::Core::Hashable + # The original request that started the operation. + # Corresponds to the JSON property `request` + # @return [Hash] + attr_accessor :request + # Target of the operation - for example # projects/project-1/locations/region-1/functions/function-1 # Corresponds to the JSON property `target` # @return [String] attr_accessor :target - # The original request that started the operation. - # Corresponds to the JSON property `request` - # @return [Hash] - attr_accessor :request - # Type of operation. # Corresponds to the JSON property `type` # @return [String] @@ -48,11 +235,83 @@ module Google # Update properties of this object def update!(**args) - @target = args[:target] if args.key?(:target) @request = args[:request] if args.key?(:request) + @target = args[:target] if args.key?(:target) @type = args[:type] if args.key?(:type) 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` that 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. + # - 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 is 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 end end end diff --git a/generated/google/apis/cloudfunctions_v1/representations.rb b/generated/google/apis/cloudfunctions_v1/representations.rb index 1b236b72c..ade0d4cac 100644 --- a/generated/google/apis/cloudfunctions_v1/representations.rb +++ b/generated/google/apis/cloudfunctions_v1/representations.rb @@ -22,20 +22,99 @@ module Google module Apis module CloudfunctionsV1 - class OperationMetadataV1Beta2 + class ListLocationsResponse + 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 Location + 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 OperationMetadataV1Beta2 + 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 ListLocationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :locations, as: 'locations', class: Google::Apis::CloudfunctionsV1::Location, decorator: Google::Apis::CloudfunctionsV1::Location::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListOperationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :operations, as: 'operations', class: Google::Apis::CloudfunctionsV1::Operation, decorator: Google::Apis::CloudfunctionsV1::Operation::Representation + + end + end + + class Location + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :labels, as: 'labels' + property :location_id, as: 'locationId' + hash :metadata, as: 'metadata' + property :name, as: 'name' + end + end + + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::CloudfunctionsV1::Status, decorator: Google::Apis::CloudfunctionsV1::Status::Representation + + hash :metadata, as: 'metadata' + property :name, as: 'name' + hash :response, as: 'response' + end + end + class OperationMetadataV1Beta2 # @private class Representation < Google::Apis::Core::JsonRepresentation - property :target, as: 'target' hash :request, as: 'request' + property :target, as: 'target' property :type, as: 'type' 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 end end end diff --git a/generated/google/apis/cloudfunctions_v1/service.rb b/generated/google/apis/cloudfunctions_v1/service.rb index 156693057..c490dcab1 100644 --- a/generated/google/apis/cloudfunctions_v1/service.rb +++ b/generated/google/apis/cloudfunctions_v1/service.rb @@ -47,6 +47,124 @@ module Google super('https://cloudfunctions.googleapis.com/', '') @batch_path = 'batch' 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::CloudfunctionsV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudfunctionsV1::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::CloudfunctionsV1::Operation::Representation + command.response_class = Google::Apis::CloudfunctionsV1::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 allows API services to override the binding + # to use different resource name schemes, such as `users/*/operations`. To + # override the binding, API services can add a binding such as + # `"/v1/`name=users/*`/operations"` to their service configuration. + # For backwards compatibility, the default name includes the operations + # collection id, however overriding users must ensure the name binding + # is the parent resource, without the operations collection id. + # @param [String] filter + # The standard list filter. + # @param [String] name + # The name of the operation's parent resource. + # @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::CloudfunctionsV1::ListOperationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudfunctionsV1::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(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/operations', options) + command.response_representation = Google::Apis::CloudfunctionsV1::ListOperationsResponse::Representation + command.response_class = Google::Apis::CloudfunctionsV1::ListOperationsResponse + command.query['filter'] = filter unless filter.nil? + command.query['name'] = name unless name.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 + + # Lists information about the supported locations for this service. + # @param [String] name + # The resource that owns the locations collection, if applicable. + # @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::CloudfunctionsV1::ListLocationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudfunctionsV1::ListLocationsResponse] + # + # @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_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}/locations', options) + command.response_representation = Google::Apis::CloudfunctionsV1::ListLocationsResponse::Representation + command.response_class = Google::Apis::CloudfunctionsV1::ListLocationsResponse + 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 protected diff --git a/generated/google/apis/cloudkms_v1.rb b/generated/google/apis/cloudkms_v1.rb index 3115228dd..245bcae8a 100644 --- a/generated/google/apis/cloudkms_v1.rb +++ b/generated/google/apis/cloudkms_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/kms/ module CloudkmsV1 VERSION = 'V1' - REVISION = '20170621' + REVISION = '20170821' # 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/cloudkms_v1/classes.rb b/generated/google/apis/cloudkms_v1/classes.rb index 659bfc2a6..4c81b1754 100644 --- a/generated/google/apis/cloudkms_v1/classes.rb +++ b/generated/google/apis/cloudkms_v1/classes.rb @@ -22,413 +22,6 @@ module Google module Apis module CloudkmsV1 - # A condition to be met. - class Condition - include Google::Apis::Core::Hashable - - # Trusted attributes discharged by the service. - # Corresponds to the JSON property `svc` - # @return [String] - attr_accessor :svc - - # DEPRECATED. Use 'values' instead. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # 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 - - # The objects of the condition. This is mutually exclusive with 'value'. - # Corresponds to the JSON property `values` - # @return [Array] - attr_accessor :values - - # Trusted attributes supplied by the IAM system. - # Corresponds to the JSON property `iam` - # @return [String] - attr_accessor :iam - - # An operator to apply the subject with. - # Corresponds to the JSON property `op` - # @return [String] - attr_accessor :op - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @svc = args[:svc] if args.key?(:svc) - @value = args[:value] if args.key?(:value) - @sys = args[:sys] if args.key?(:sys) - @values = args[:values] if args.key?(:values) - @iam = args[:iam] if args.key?(:iam) - @op = args[:op] if args.key?(:op) - end - end - - # Options for counters - class CounterOptions - include Google::Apis::Core::Hashable - - # The field value to attribute. - # Corresponds to the JSON property `field` - # @return [String] - attr_accessor :field - - # The metric to update. - # Corresponds to the JSON property `metric` - # @return [String] - attr_accessor :metric - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @field = args[:field] if args.key?(:field) - @metric = args[:metric] if args.key?(:metric) - end - end - - # Provides the configuration for logging a type of permissions. - # Example: - # ` - # "audit_log_configs": [ - # ` - # "log_type": "DATA_READ", - # "exempted_members": [ - # "user:foo@gmail.com" - # ] - # `, - # ` - # "log_type": "DATA_WRITE", - # ` - # ] - # ` - # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting - # foo@gmail.com from DATA_READ logging. - class AuditLogConfig - include Google::Apis::Core::Hashable - - # Specifies the identities that do not cause logging for this type of - # permission. - # Follows the same format of Binding.members. - # Corresponds to the JSON property `exemptedMembers` - # @return [Array] - attr_accessor :exempted_members - - # The log type that this config enables. - # Corresponds to the JSON property `logType` - # @return [String] - attr_accessor :log_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @exempted_members = args[:exempted_members] if args.key?(:exempted_members) - @log_type = args[:log_type] if args.key?(:log_type) - end - end - - # Response message for KeyManagementService.Decrypt. - class DecryptResponse - include Google::Apis::Core::Hashable - - # The decrypted data originally supplied in EncryptRequest.plaintext. - # Corresponds to the JSON property `plaintext` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :plaintext - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @plaintext = args[:plaintext] if args.key?(:plaintext) - end - end - - # Request message for `TestIamPermissions` method. - class TestIamPermissionsRequest - include Google::Apis::Core::Hashable - - # The set of permissions to check for the `resource`. Permissions with - # wildcards (such as '*' or 'storage.*') are not allowed. For more - # information see - # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - end - end - - # Response message for KeyManagementService.Encrypt. - class EncryptResponse - include Google::Apis::Core::Hashable - - # The encrypted data. - # Corresponds to the JSON property `ciphertext` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :ciphertext - - # The resource name of the CryptoKeyVersion used in encryption. - # 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) - @ciphertext = args[:ciphertext] if args.key?(:ciphertext) - @name = args[:name] if args.key?(:name) - end - end - - # A KeyRing is a toplevel logical grouping of CryptoKeys. - class KeyRing - include Google::Apis::Core::Hashable - - # Output only. The time at which this KeyRing was created. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # Output only. The resource name for the KeyRing in the format - # `projects/*/locations/*/keyRings/*`. - # 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) - @create_time = args[:create_time] if args.key?(:create_time) - @name = args[:name] if args.key?(:name) - end - end - - # The response message for Locations.ListLocations. - class ListLocationsResponse - include Google::Apis::Core::Hashable - - # A list of locations that matches the specified filter in the request. - # Corresponds to the JSON property `locations` - # @return [Array] - attr_accessor :locations - - # 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) - @locations = args[:locations] if args.key?(:locations) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # Defines an Identity and Access Management (IAM) policy. It is used to - # specify access control policies for Cloud Platform resources. - # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of - # `members` to a `role`, where the members can be user accounts, Google groups, - # Google domains, and service 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:sean@example.com"] - # ` - # ] - # ` - # For a description of IAM and its features, see the - # [IAM developer's guide](https://cloud.google.com/iam). - class Policy - include Google::Apis::Core::Hashable - - # Version of the `Policy`. The default version is 0. - # Corresponds to the JSON property `version` - # @return [Fixnum] - attr_accessor :version - - # Specifies cloud audit logging configuration for this policy. - # Corresponds to the JSON property `auditConfigs` - # @return [Array] - attr_accessor :audit_configs - - # Associates a list of `members` to a `role`. - # `bindings` with no members will result in an error. - # Corresponds to the JSON property `bindings` - # @return [Array] - attr_accessor :bindings - - # `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 to perform policy updates in order to avoid race - # conditions: An `etag` is returned in the response to `getIamPolicy`, and - # systems are expected to put that etag in the request to `setIamPolicy` to - # ensure that their change will be applied to the same version of the policy. - # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. - # Corresponds to the JSON property `etag` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :etag - - # - # Corresponds to the JSON property `iamOwned` - # @return [Boolean] - attr_accessor :iam_owned - alias_method :iam_owned?, :iam_owned - - # If more than one rule is specified, the rules are applied in the following - # manner: - # - All matching LOG rules are always applied. - # - If any DENY/DENY_WITH_LOG rule matches, permission is denied. - # Logging will be applied if one or more matching rule requires logging. - # - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is - # granted. - # Logging will be applied if one or more matching rule requires logging. - # - Otherwise, if no rule applies, permission is denied. - # Corresponds to the JSON property `rules` - # @return [Array] - attr_accessor :rules - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @version = args[:version] if args.key?(:version) - @audit_configs = args[:audit_configs] if args.key?(:audit_configs) - @bindings = args[:bindings] if args.key?(:bindings) - @etag = args[:etag] if args.key?(:etag) - @iam_owned = args[:iam_owned] if args.key?(:iam_owned) - @rules = args[:rules] if args.key?(:rules) - end - end - - # Request message for KeyManagementService.UpdateCryptoKeyPrimaryVersion. - class UpdateCryptoKeyPrimaryVersionRequest - include Google::Apis::Core::Hashable - - # The id of the child CryptoKeyVersion to use as primary. - # Corresponds to the JSON property `cryptoKeyVersionId` - # @return [String] - attr_accessor :crypto_key_version_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @crypto_key_version_id = args[:crypto_key_version_id] if args.key?(:crypto_key_version_id) - end - end - - # Request message for KeyManagementService.RestoreCryptoKeyVersion. - class RestoreCryptoKeyVersionRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - 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 - - # Response message for KeyManagementService.ListKeyRings. - class ListKeyRingsResponse - include Google::Apis::Core::Hashable - - # The list of KeyRings. - # Corresponds to the JSON property `keyRings` - # @return [Array] - attr_accessor :key_rings - - # A token to retrieve next page of results. Pass this value in - # ListKeyRingsRequest.page_token to retrieve the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The total number of KeyRings that matched the query. - # Corresponds to the JSON property `totalSize` - # @return [Fixnum] - attr_accessor :total_size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @key_rings = args[:key_rings] if args.key?(:key_rings) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @total_size = args[:total_size] if args.key?(:total_size) - end - end - # Specifies the audit configuration for a service. # The configuration determines which permission types are logged, and what # identities, if any, are exempted from logging. @@ -479,6 +72,12 @@ module Google class AuditConfig include Google::Apis::Core::Hashable + # The configuration for logging of each type of permission. + # Next ID: 4 + # Corresponds to the JSON property `auditLogConfigs` + # @return [Array] + attr_accessor :audit_log_configs + # # Corresponds to the JSON property `exemptedMembers` # @return [Array] @@ -491,11 +90,49 @@ module Google # @return [String] attr_accessor :service - # The configuration for logging of each type of permission. - # Next ID: 4 - # Corresponds to the JSON property `auditLogConfigs` - # @return [Array] - attr_accessor :audit_log_configs + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs) + @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @service = args[:service] if args.key?(:service) + end + end + + # Provides the configuration for logging a type of permissions. + # Example: + # ` + # "audit_log_configs": [ + # ` + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:foo@gmail.com" + # ] + # `, + # ` + # "log_type": "DATA_WRITE", + # ` + # ] + # ` + # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting + # foo@gmail.com from DATA_READ logging. + class AuditLogConfig + include Google::Apis::Core::Hashable + + # Specifies the identities that do not cause logging for this type of + # permission. + # Follows the same format of Binding.members. + # Corresponds to the JSON property `exemptedMembers` + # @return [Array] + attr_accessor :exempted_members + + # The log type that this config enables. + # Corresponds to the JSON property `logType` + # @return [String] + attr_accessor :log_type def initialize(**args) update!(**args) @@ -504,79 +141,7 @@ module Google # Update properties of this object def update!(**args) @exempted_members = args[:exempted_members] if args.key?(:exempted_members) - @service = args[:service] if args.key?(:service) - @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs) - end - end - - # A CryptoKeyVersion represents an individual cryptographic key, and the - # associated key material. - # It can be used for cryptographic operations either directly, or via its - # parent CryptoKey, in which case the server will choose the appropriate - # version for the operation. - class CryptoKeyVersion - include Google::Apis::Core::Hashable - - # Output only. The time at which this CryptoKeyVersion was created. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # The current state of the CryptoKeyVersion. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # Output only. The resource name for this CryptoKeyVersion in the format - # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Output only. The time this CryptoKeyVersion's key material was - # destroyed. Only present if state is - # DESTROYED. - # Corresponds to the JSON property `destroyEventTime` - # @return [String] - attr_accessor :destroy_event_time - - # Output only. The time this CryptoKeyVersion's key material is scheduled - # for destruction. Only present if state is - # DESTROY_SCHEDULED. - # Corresponds to the JSON property `destroyTime` - # @return [String] - attr_accessor :destroy_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @create_time = args[:create_time] if args.key?(:create_time) - @state = args[:state] if args.key?(:state) - @name = args[:name] if args.key?(:name) - @destroy_event_time = args[:destroy_event_time] if args.key?(:destroy_event_time) - @destroy_time = args[:destroy_time] if args.key?(:destroy_time) - end - end - - # Write a Cloud Audit log - class CloudAuditOptions - include Google::Apis::Core::Hashable - - # The log_name to populate in the Cloud Audit Record. - # Corresponds to the JSON property `logName` - # @return [String] - attr_accessor :log_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @log_name = args[:log_name] if args.key?(:log_name) + @log_type = args[:log_type] if args.key?(:log_type) end end @@ -629,39 +194,14 @@ module Google end end - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" - class Expr + # Write a Cloud Audit log + class CloudAuditOptions include Google::Apis::Core::Hashable - # An optional string indicating the location of the expression for error - # reporting, e.g. a file name and a position in the file. - # Corresponds to the JSON property `location` + # The log_name to populate in the Cloud Audit Record. + # Corresponds to the JSON property `logName` # @return [String] - attr_accessor :location - - # An optional title for the expression, i.e. a short string describing - # its purpose. This can be used e.g. in UIs which allow to enter the - # expression. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # An optional description of the expression. This is a longer text which - # describes the expression, e.g. when hovered over it in a UI. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Textual representation of an expression in - # Common Expression Language syntax. - # The application context of the containing message determines which - # well-known feature set of CEL is supported. - # Corresponds to the JSON property `expression` - # @return [String] - attr_accessor :expression + attr_accessor :log_name def initialize(**args) update!(**args) @@ -669,85 +209,44 @@ module Google # Update properties of this object def update!(**args) - @location = args[:location] if args.key?(:location) - @title = args[:title] if args.key?(:title) - @description = args[:description] if args.key?(:description) - @expression = args[:expression] if args.key?(:expression) + @log_name = args[:log_name] if args.key?(:log_name) end end - # Request message for KeyManagementService.Encrypt. - class EncryptRequest + # A condition to be met. + class Condition include Google::Apis::Core::Hashable - # Required. The data to encrypt. Must be no larger than 64KiB. - # Corresponds to the JSON property `plaintext` - # NOTE: Values are automatically base64 encoded/decoded in the client library. + # Trusted attributes supplied by the IAM system. + # Corresponds to the JSON property `iam` # @return [String] - attr_accessor :plaintext + attr_accessor :iam - # Optional data that, if specified, must also be provided during decryption - # through DecryptRequest.additional_authenticated_data. Must be no - # larger than 64KiB. - # Corresponds to the JSON property `additionalAuthenticatedData` - # NOTE: Values are automatically base64 encoded/decoded in the client library. + # An operator to apply the subject with. + # Corresponds to the JSON property `op` # @return [String] - attr_accessor :additional_authenticated_data + attr_accessor :op - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @plaintext = args[:plaintext] if args.key?(:plaintext) - @additional_authenticated_data = args[:additional_authenticated_data] if args.key?(:additional_authenticated_data) - end - end - - # Response message for KeyManagementService.ListCryptoKeyVersions. - class ListCryptoKeyVersionsResponse - include Google::Apis::Core::Hashable - - # A token to retrieve next page of results. Pass this value in - # ListCryptoKeyVersionsRequest.page_token to retrieve the next page of - # results. - # Corresponds to the JSON property `nextPageToken` + # Trusted attributes discharged by the service. + # Corresponds to the JSON property `svc` # @return [String] - attr_accessor :next_page_token + attr_accessor :svc - # The total number of CryptoKeyVersions that matched the - # query. - # Corresponds to the JSON property `totalSize` - # @return [Fixnum] - attr_accessor :total_size + # 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 - # The list of CryptoKeyVersions. - # Corresponds to the JSON property `cryptoKeyVersions` - # @return [Array] - attr_accessor :crypto_key_versions + # DEPRECATED. Use 'values' instead. + # 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) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @total_size = args[:total_size] if args.key?(:total_size) - @crypto_key_versions = args[:crypto_key_versions] if args.key?(:crypto_key_versions) - end - end - - # Response message for `TestIamPermissions` method. - class TestIamPermissionsResponse - include Google::Apis::Core::Hashable - - # A subset of `TestPermissionsRequest.permissions` that the caller is - # allowed. - # Corresponds to the JSON property `permissions` + # The objects of the condition. This is mutually exclusive with 'value'. + # Corresponds to the JSON property `values` # @return [Array] - attr_accessor :permissions + attr_accessor :values def initialize(**args) update!(**args) @@ -755,152 +254,15 @@ module Google # Update properties of this object def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) + @iam = args[:iam] if args.key?(:iam) + @op = args[:op] if args.key?(:op) + @svc = args[:svc] if args.key?(:svc) + @sys = args[:sys] if args.key?(:sys) + @value = args[:value] if args.key?(:value) + @values = args[:values] if args.key?(:values) end end - # Request message for KeyManagementService.DestroyCryptoKeyVersion. - class DestroyCryptoKeyVersionRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # A CryptoKey represents a logical key that can be used for cryptographic - # operations. - # A CryptoKey is made up of one or more versions, which - # represent the actual key material used in cryptographic operations. - class CryptoKey - include Google::Apis::Core::Hashable - - # Output only. The resource name for this CryptoKey in the format - # `projects/*/locations/*/keyRings/*/cryptoKeys/*`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The immutable purpose of this CryptoKey. Currently, the only acceptable - # purpose is ENCRYPT_DECRYPT. - # Corresponds to the JSON property `purpose` - # @return [String] - attr_accessor :purpose - - # At next_rotation_time, the Key Management Service will automatically: - # 1. Create a new version of this CryptoKey. - # 2. Mark the new version as primary. - # Key rotations performed manually via - # CreateCryptoKeyVersion and - # UpdateCryptoKeyPrimaryVersion - # do not affect next_rotation_time. - # Corresponds to the JSON property `nextRotationTime` - # @return [String] - attr_accessor :next_rotation_time - - # Output only. The time at which this CryptoKey was created. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # next_rotation_time will be advanced by this period when the service - # automatically rotates a key. Must be at least one day. - # If rotation_period is set, next_rotation_time must also be set. - # Corresponds to the JSON property `rotationPeriod` - # @return [String] - attr_accessor :rotation_period - - # A CryptoKeyVersion represents an individual cryptographic key, and the - # associated key material. - # It can be used for cryptographic operations either directly, or via its - # parent CryptoKey, in which case the server will choose the appropriate - # version for the operation. - # Corresponds to the JSON property `primary` - # @return [Google::Apis::CloudkmsV1::CryptoKeyVersion] - attr_accessor :primary - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @purpose = args[:purpose] if args.key?(:purpose) - @next_rotation_time = args[:next_rotation_time] if args.key?(:next_rotation_time) - @create_time = args[:create_time] if args.key?(:create_time) - @rotation_period = args[:rotation_period] if args.key?(:rotation_period) - @primary = args[:primary] if args.key?(:primary) - 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 - - # 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 - - # If one or more 'in' clauses are specified, the rule matches if - # the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. - # Corresponds to the JSON property `in` - # @return [Array] - attr_accessor :in - - # 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 - - # If one or more 'not_in' clauses are specified, the rule matches - # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the 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 - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @description = args[:description] if args.key?(:description) - @conditions = args[:conditions] if args.key?(:conditions) - @log_config = args[:log_config] if args.key?(:log_config) - @in = args[:in] if args.key?(:in) - @permissions = args[:permissions] if args.key?(:permissions) - @action = args[:action] if args.key?(:action) - @not_in = args[:not_in] if args.key?(:not_in) - 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. @@ -918,10 +280,555 @@ module Google # * multiple field names (though this may be supported in the future) # * decrementing the counter # * incrementing it by anything other than 1 + class CounterOptions + include Google::Apis::Core::Hashable + + # The field value to attribute. + # Corresponds to the JSON property `field` + # @return [String] + attr_accessor :field + + # The metric to update. + # Corresponds to the JSON property `metric` + # @return [String] + attr_accessor :metric + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field = args[:field] if args.key?(:field) + @metric = args[:metric] if args.key?(:metric) + end + end + + # A CryptoKey represents a logical key that can be used for cryptographic + # operations. + # A CryptoKey is made up of one or more versions, which + # represent the actual key material used in cryptographic operations. + class CryptoKey + include Google::Apis::Core::Hashable + + # Output only. The time at which this CryptoKey was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. The resource name for this CryptoKey in the format + # `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # At next_rotation_time, the Key Management Service will automatically: + # 1. Create a new version of this CryptoKey. + # 2. Mark the new version as primary. + # Key rotations performed manually via + # CreateCryptoKeyVersion and + # UpdateCryptoKeyPrimaryVersion + # do not affect next_rotation_time. + # Corresponds to the JSON property `nextRotationTime` + # @return [String] + attr_accessor :next_rotation_time + + # A CryptoKeyVersion represents an individual cryptographic key, and the + # associated key material. + # It can be used for cryptographic operations either directly, or via its + # parent CryptoKey, in which case the server will choose the appropriate + # version for the operation. + # For security reasons, the raw cryptographic key material represented by a + # CryptoKeyVersion can never be viewed or exported. It can only be used to + # encrypt or decrypt data when an authorized user or application invokes Cloud + # KMS. + # Corresponds to the JSON property `primary` + # @return [Google::Apis::CloudkmsV1::CryptoKeyVersion] + attr_accessor :primary + + # The immutable purpose of this CryptoKey. Currently, the only acceptable + # purpose is ENCRYPT_DECRYPT. + # Corresponds to the JSON property `purpose` + # @return [String] + attr_accessor :purpose + + # next_rotation_time will be advanced by this period when the service + # automatically rotates a key. Must be at least one day. + # If rotation_period is set, next_rotation_time must also be set. + # Corresponds to the JSON property `rotationPeriod` + # @return [String] + attr_accessor :rotation_period + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @name = args[:name] if args.key?(:name) + @next_rotation_time = args[:next_rotation_time] if args.key?(:next_rotation_time) + @primary = args[:primary] if args.key?(:primary) + @purpose = args[:purpose] if args.key?(:purpose) + @rotation_period = args[:rotation_period] if args.key?(:rotation_period) + end + end + + # A CryptoKeyVersion represents an individual cryptographic key, and the + # associated key material. + # It can be used for cryptographic operations either directly, or via its + # parent CryptoKey, in which case the server will choose the appropriate + # version for the operation. + # For security reasons, the raw cryptographic key material represented by a + # CryptoKeyVersion can never be viewed or exported. It can only be used to + # encrypt or decrypt data when an authorized user or application invokes Cloud + # KMS. + class CryptoKeyVersion + include Google::Apis::Core::Hashable + + # Output only. The time at which this CryptoKeyVersion was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. The time this CryptoKeyVersion's key material was + # destroyed. Only present if state is + # DESTROYED. + # Corresponds to the JSON property `destroyEventTime` + # @return [String] + attr_accessor :destroy_event_time + + # Output only. The time this CryptoKeyVersion's key material is scheduled + # for destruction. Only present if state is + # DESTROY_SCHEDULED. + # Corresponds to the JSON property `destroyTime` + # @return [String] + attr_accessor :destroy_time + + # Output only. The resource name for this CryptoKeyVersion in the format + # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The current state of the CryptoKeyVersion. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @destroy_event_time = args[:destroy_event_time] if args.key?(:destroy_event_time) + @destroy_time = args[:destroy_time] if args.key?(:destroy_time) + @name = args[:name] if args.key?(:name) + @state = args[:state] if args.key?(:state) + end + end + + # Write a Data Access (Gin) log + class DataAccessOptions + include Google::Apis::Core::Hashable + + # Whether Gin logging should happen in a fail-closed manner at the caller. + # This is relevant only in the LocalIAM implementation, for now. + # Corresponds to the JSON property `logMode` + # @return [String] + attr_accessor :log_mode + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @log_mode = args[:log_mode] if args.key?(:log_mode) + end + end + + # Request message for KeyManagementService.Decrypt. + class DecryptRequest + include Google::Apis::Core::Hashable + + # Optional data that must match the data originally supplied in + # EncryptRequest.additional_authenticated_data. + # Corresponds to the JSON property `additionalAuthenticatedData` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :additional_authenticated_data + + # Required. The encrypted data originally returned in + # EncryptResponse.ciphertext. + # Corresponds to the JSON property `ciphertext` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :ciphertext + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @additional_authenticated_data = args[:additional_authenticated_data] if args.key?(:additional_authenticated_data) + @ciphertext = args[:ciphertext] if args.key?(:ciphertext) + end + end + + # Response message for KeyManagementService.Decrypt. + class DecryptResponse + include Google::Apis::Core::Hashable + + # The decrypted data originally supplied in EncryptRequest.plaintext. + # Corresponds to the JSON property `plaintext` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :plaintext + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @plaintext = args[:plaintext] if args.key?(:plaintext) + end + end + + # Request message for KeyManagementService.DestroyCryptoKeyVersion. + class DestroyCryptoKeyVersionRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Request message for KeyManagementService.Encrypt. + class EncryptRequest + include Google::Apis::Core::Hashable + + # Optional data that, if specified, must also be provided during decryption + # through DecryptRequest.additional_authenticated_data. Must be no + # larger than 64KiB. + # Corresponds to the JSON property `additionalAuthenticatedData` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :additional_authenticated_data + + # Required. The data to encrypt. Must be no larger than 64KiB. + # Corresponds to the JSON property `plaintext` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :plaintext + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @additional_authenticated_data = args[:additional_authenticated_data] if args.key?(:additional_authenticated_data) + @plaintext = args[:plaintext] if args.key?(:plaintext) + end + end + + # Response message for KeyManagementService.Encrypt. + class EncryptResponse + include Google::Apis::Core::Hashable + + # The encrypted data. + # Corresponds to the JSON property `ciphertext` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :ciphertext + + # The resource name of the CryptoKeyVersion used in encryption. + # 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) + @ciphertext = args[:ciphertext] if args.key?(:ciphertext) + @name = args[:name] if args.key?(:name) + end + end + + # Represents an expression text. Example: + # title: "User account presence" + # description: "Determines whether the request has a user account" + # expression: "size(request.user) > 0" + class Expr + include Google::Apis::Core::Hashable + + # An optional description of the expression. This is a longer text which + # describes the expression, e.g. when hovered over it in a UI. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Textual representation of an expression in + # Common Expression Language syntax. + # The application context of the containing message determines which + # well-known feature set of CEL is supported. + # Corresponds to the JSON property `expression` + # @return [String] + attr_accessor :expression + + # An optional string indicating the location of the expression for error + # reporting, e.g. a file name and a position in the file. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # An optional title for the expression, i.e. a short string describing + # its purpose. This can be used e.g. in UIs which allow to enter the + # expression. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @expression = args[:expression] if args.key?(:expression) + @location = args[:location] if args.key?(:location) + @title = args[:title] if args.key?(:title) + end + end + + # A KeyRing is a toplevel logical grouping of CryptoKeys. + class KeyRing + include Google::Apis::Core::Hashable + + # Output only. The time at which this KeyRing was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. The resource name for the KeyRing in the format + # `projects/*/locations/*/keyRings/*`. + # 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) + @create_time = args[:create_time] if args.key?(:create_time) + @name = args[:name] if args.key?(:name) + end + end + + # Response message for KeyManagementService.ListCryptoKeyVersions. + class ListCryptoKeyVersionsResponse + include Google::Apis::Core::Hashable + + # The list of CryptoKeyVersions. + # Corresponds to the JSON property `cryptoKeyVersions` + # @return [Array] + attr_accessor :crypto_key_versions + + # A token to retrieve next page of results. Pass this value in + # ListCryptoKeyVersionsRequest.page_token to retrieve the next page of + # results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The total number of CryptoKeyVersions that matched the + # query. + # Corresponds to the JSON property `totalSize` + # @return [Fixnum] + attr_accessor :total_size + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @crypto_key_versions = args[:crypto_key_versions] if args.key?(:crypto_key_versions) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @total_size = args[:total_size] if args.key?(:total_size) + end + end + + # Response message for KeyManagementService.ListCryptoKeys. + class ListCryptoKeysResponse + include Google::Apis::Core::Hashable + + # The list of CryptoKeys. + # Corresponds to the JSON property `cryptoKeys` + # @return [Array] + attr_accessor :crypto_keys + + # A token to retrieve next page of results. Pass this value in + # ListCryptoKeysRequest.page_token to retrieve the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The total number of CryptoKeys that matched the query. + # Corresponds to the JSON property `totalSize` + # @return [Fixnum] + attr_accessor :total_size + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @crypto_keys = args[:crypto_keys] if args.key?(:crypto_keys) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @total_size = args[:total_size] if args.key?(:total_size) + end + end + + # Response message for KeyManagementService.ListKeyRings. + class ListKeyRingsResponse + include Google::Apis::Core::Hashable + + # The list of KeyRings. + # Corresponds to the JSON property `keyRings` + # @return [Array] + attr_accessor :key_rings + + # A token to retrieve next page of results. Pass this value in + # ListKeyRingsRequest.page_token to retrieve the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The total number of KeyRings that matched the query. + # Corresponds to the JSON property `totalSize` + # @return [Fixnum] + attr_accessor :total_size + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key_rings = args[:key_rings] if args.key?(:key_rings) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @total_size = args[:total_size] if args.key?(:total_size) + end + end + + # The response message for Locations.ListLocations. + class ListLocationsResponse + include Google::Apis::Core::Hashable + + # A list of locations that matches the specified filter in the request. + # Corresponds to the JSON property `locations` + # @return [Array] + attr_accessor :locations + + # 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) + @locations = args[:locations] if args.key?(:locations) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # A resource that represents Google Cloud Platform location. + class Location + include Google::Apis::Core::Hashable + + # Cross-service attributes for the location. For example + # `"cloud.googleapis.com/region": "us-east1"` + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # The canonical id for this location. For example: `"us-east1"`. + # Corresponds to the JSON property `locationId` + # @return [String] + attr_accessor :location_id + + # Service-specific metadata. For example the available capacity at the given + # location. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # Resource name for the location, which may vary between implementations. + # For example: `"projects/example-project/locations/us-east1"` + # 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) + @labels = args[:labels] if args.key?(:labels) + @location_id = args[:location_id] if args.key?(:location_id) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + end + end + + # Specifies what kind of log the caller must write class LogConfig include Google::Apis::Core::Hashable - # Options for counters + # Write a Cloud Audit log + # Corresponds to the JSON property `cloudAudit` + # @return [Google::Apis::CloudkmsV1::CloudAuditOptions] + attr_accessor :cloud_audit + + # 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 the only supported field names are + # - "iam_principal", corresponding to IAMContext.principal; + # - "" (empty string), resulting in one aggretated counter with no field. + # 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 # Corresponds to the JSON property `counter` # @return [Google::Apis::CloudkmsV1::CounterOptions] attr_accessor :counter @@ -931,10 +838,95 @@ module Google # @return [Google::Apis::CloudkmsV1::DataAccessOptions] attr_accessor :data_access - # Write a Cloud Audit log - # Corresponds to the JSON property `cloudAudit` - # @return [Google::Apis::CloudkmsV1::CloudAuditOptions] - attr_accessor :cloud_audit + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit) + @counter = args[:counter] if args.key?(:counter) + @data_access = args[:data_access] if args.key?(:data_access) + end + end + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service 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:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + class Policy + include Google::Apis::Core::Hashable + + # Specifies cloud audit logging configuration for this policy. + # Corresponds to the JSON property `auditConfigs` + # @return [Array] + attr_accessor :audit_configs + + # Associates a list of `members` to a `role`. + # `bindings` with no members will result in an error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + + # `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 to perform policy updates in order to avoid race + # conditions: An `etag` is returned in the response to `getIamPolicy`, and + # systems are expected to put that etag in the request to `setIamPolicy` to + # ensure that their change will be applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :etag + + # + # Corresponds to the JSON property `iamOwned` + # @return [Boolean] + attr_accessor :iam_owned + alias_method :iam_owned?, :iam_owned + + # If more than one rule is specified, the rules are applied in the following + # manner: + # - All matching LOG rules are always applied. + # - If any DENY/DENY_WITH_LOG rule matches, permission is denied. + # Logging will be applied if one or more matching rule requires logging. + # - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is + # granted. + # Logging will be applied if one or more matching rule requires logging. + # - Otherwise, if no rule applies, permission is denied. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + # Version of the `Policy`. The default version is 0. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version def initialize(**args) update!(**args) @@ -942,9 +934,87 @@ module Google # 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) + @audit_configs = args[:audit_configs] if args.key?(:audit_configs) + @bindings = args[:bindings] if args.key?(:bindings) + @etag = args[:etag] if args.key?(:etag) + @iam_owned = args[:iam_owned] if args.key?(:iam_owned) + @rules = args[:rules] if args.key?(:rules) + @version = args[:version] if args.key?(:version) + end + end + + # Request message for KeyManagementService.RestoreCryptoKeyVersion. + class RestoreCryptoKeyVersionRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A rule to be applied in a Policy. + class Rule + include Google::Apis::Core::Hashable + + # Required + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # Additional restrictions that must be met + # Corresponds to the JSON property `conditions` + # @return [Array] + attr_accessor :conditions + + # Human-readable description of the rule. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # If one or more 'in' clauses are specified, the rule matches if + # the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. + # Corresponds to the JSON property `in` + # @return [Array] + attr_accessor :in + + # 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 + + # If one or more 'not_in' clauses are specified, the rule matches + # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the 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 + + # 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 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @action = args[:action] if args.key?(:action) + @conditions = args[:conditions] if args.key?(:conditions) + @description = args[:description] if args.key?(:description) + @in = args[:in] if args.key?(:in) + @log_config = args[:log_config] if args.key?(:log_config) + @not_in = args[:not_in] if args.key?(:not_in) + @permissions = args[:permissions] if args.key?(:permissions) end end @@ -1002,23 +1072,17 @@ module Google end end - # Request message for KeyManagementService.Decrypt. - class DecryptRequest + # Request message for `TestIamPermissions` method. + class TestIamPermissionsRequest include Google::Apis::Core::Hashable - # Optional data that must match the data originally supplied in - # EncryptRequest.additional_authenticated_data. - # Corresponds to the JSON property `additionalAuthenticatedData` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :additional_authenticated_data - - # Required. The encrypted data originally returned in - # EncryptResponse.ciphertext. - # Corresponds to the JSON property `ciphertext` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :ciphertext + # The set of permissions to check for the `resource`. Permissions with + # wildcards (such as '*' or 'storage.*') are not allowed. For more + # information see + # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions def initialize(**args) update!(**args) @@ -1026,37 +1090,19 @@ module Google # Update properties of this object def update!(**args) - @additional_authenticated_data = args[:additional_authenticated_data] if args.key?(:additional_authenticated_data) - @ciphertext = args[:ciphertext] if args.key?(:ciphertext) + @permissions = args[:permissions] if args.key?(:permissions) end end - # A resource that represents Google Cloud Platform location. - class Location + # Response message for `TestIamPermissions` method. + class TestIamPermissionsResponse include Google::Apis::Core::Hashable - # Cross-service attributes for the location. For example - # `"cloud.googleapis.com/region": "us-east1"` - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # Resource name for the location, which may vary between implementations. - # For example: `"projects/example-project/locations/us-east1"` - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The canonical id for this location. For example: `"us-east1"`. - # Corresponds to the JSON property `locationId` - # @return [String] - attr_accessor :location_id - - # Service-specific metadata. For example the available capacity at the given - # location. - # Corresponds to the JSON property `metadata` - # @return [Hash] - attr_accessor :metadata + # A subset of `TestPermissionsRequest.permissions` that the caller is + # allowed. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions def initialize(**args) update!(**args) @@ -1064,32 +1110,18 @@ module Google # Update properties of this object def update!(**args) - @labels = args[:labels] if args.key?(:labels) - @name = args[:name] if args.key?(:name) - @location_id = args[:location_id] if args.key?(:location_id) - @metadata = args[:metadata] if args.key?(:metadata) + @permissions = args[:permissions] if args.key?(:permissions) end end - # Response message for KeyManagementService.ListCryptoKeys. - class ListCryptoKeysResponse + # Request message for KeyManagementService.UpdateCryptoKeyPrimaryVersion. + class UpdateCryptoKeyPrimaryVersionRequest include Google::Apis::Core::Hashable - # A token to retrieve next page of results. Pass this value in - # ListCryptoKeysRequest.page_token to retrieve the next page of results. - # Corresponds to the JSON property `nextPageToken` + # The id of the child CryptoKeyVersion to use as primary. + # Corresponds to the JSON property `cryptoKeyVersionId` # @return [String] - attr_accessor :next_page_token - - # The total number of CryptoKeys that matched the query. - # Corresponds to the JSON property `totalSize` - # @return [Fixnum] - attr_accessor :total_size - - # The list of CryptoKeys. - # Corresponds to the JSON property `cryptoKeys` - # @return [Array] - attr_accessor :crypto_keys + attr_accessor :crypto_key_version_id def initialize(**args) update!(**args) @@ -1097,9 +1129,7 @@ module Google # Update properties of this object def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @total_size = args[:total_size] if args.key?(:total_size) - @crypto_keys = args[:crypto_keys] if args.key?(:crypto_keys) + @crypto_key_version_id = args[:crypto_key_version_id] if args.key?(:crypto_key_version_id) end end end diff --git a/generated/google/apis/cloudkms_v1/representations.rb b/generated/google/apis/cloudkms_v1/representations.rb index f90c8cca3..81bc1e000 100644 --- a/generated/google/apis/cloudkms_v1/representations.rb +++ b/generated/google/apis/cloudkms_v1/representations.rb @@ -22,97 +22,13 @@ module Google module Apis module CloudkmsV1 - class Condition - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CounterOptions - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AuditLogConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DecryptResponse - 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 EncryptResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class KeyRing - 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 Policy - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateCryptoKeyPrimaryVersionRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RestoreCryptoKeyVersionRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DataAccessOptions - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListKeyRingsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class AuditConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CryptoKeyVersion - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CloudAuditOptions + class AuditLogConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -124,31 +40,19 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Expr + class CloudAuditOptions class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class EncryptRequest + class Condition class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListCryptoKeyVersionsResponse - 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 DestroyCryptoKeyVersionRequest + class CounterOptions class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -160,19 +64,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Rule + class CryptoKeyVersion class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class LogConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SetIamPolicyRequest + class DataAccessOptions class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -184,7 +82,43 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Location + class DecryptResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DestroyCryptoKeyVersionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EncryptRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EncryptResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Expr + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class KeyRing + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListCryptoKeyVersionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -196,23 +130,79 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Condition - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :svc, as: 'svc' - property :value, as: 'value' - property :sys, as: 'sys' - collection :values, as: 'values' - property :iam, as: 'iam' - property :op, as: 'op' - end + class ListKeyRingsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class CounterOptions + class ListLocationsResponse + 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 LogConfig + 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 RestoreCryptoKeyVersionRequest + 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 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 UpdateCryptoKeyPrimaryVersionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AuditConfig # @private class Representation < Google::Apis::Core::JsonRepresentation - property :field, as: 'field' - property :metric, as: 'metric' + collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudkmsV1::AuditLogConfig, decorator: Google::Apis::CloudkmsV1::AuditLogConfig::Representation + + collection :exempted_members, as: 'exemptedMembers' + property :service, as: 'service' end end @@ -224,117 +214,6 @@ module Google end end - class DecryptResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :plaintext, :base64 => true, as: 'plaintext' - end - end - - class TestIamPermissionsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions' - end - end - - class EncryptResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :ciphertext, :base64 => true, as: 'ciphertext' - property :name, as: 'name' - end - end - - class KeyRing - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :create_time, as: 'createTime' - property :name, as: 'name' - end - end - - class ListLocationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :locations, as: 'locations', class: Google::Apis::CloudkmsV1::Location, decorator: Google::Apis::CloudkmsV1::Location::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class Policy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :version, as: 'version' - collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudkmsV1::AuditConfig, decorator: Google::Apis::CloudkmsV1::AuditConfig::Representation - - collection :bindings, as: 'bindings', class: Google::Apis::CloudkmsV1::Binding, decorator: Google::Apis::CloudkmsV1::Binding::Representation - - property :etag, :base64 => true, as: 'etag' - property :iam_owned, as: 'iamOwned' - collection :rules, as: 'rules', class: Google::Apis::CloudkmsV1::Rule, decorator: Google::Apis::CloudkmsV1::Rule::Representation - - end - end - - class UpdateCryptoKeyPrimaryVersionRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :crypto_key_version_id, as: 'cryptoKeyVersionId' - end - end - - class RestoreCryptoKeyVersionRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class DataAccessOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class ListKeyRingsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :key_rings, as: 'keyRings', class: Google::Apis::CloudkmsV1::KeyRing, decorator: Google::Apis::CloudkmsV1::KeyRing::Representation - - property :next_page_token, as: 'nextPageToken' - property :total_size, as: 'totalSize' - end - end - - class AuditConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :exempted_members, as: 'exemptedMembers' - property :service, as: 'service' - collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudkmsV1::AuditLogConfig, decorator: Google::Apis::CloudkmsV1::AuditLogConfig::Representation - - end - end - - class CryptoKeyVersion - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :create_time, as: 'createTime' - property :state, as: 'state' - property :name, as: 'name' - property :destroy_event_time, as: 'destroyEventTime' - property :destroy_time, as: 'destroyTime' - end - end - - class CloudAuditOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :log_name, as: 'logName' - end - end - class Binding # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -345,38 +224,76 @@ module Google end end - class Expr + class CloudAuditOptions # @private class Representation < Google::Apis::Core::JsonRepresentation - property :location, as: 'location' - property :title, as: 'title' - property :description, as: 'description' - property :expression, as: 'expression' + property :log_name, as: 'logName' end end - class EncryptRequest + class Condition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :iam, as: 'iam' + property :op, as: 'op' + property :svc, as: 'svc' + property :sys, as: 'sys' + property :value, as: 'value' + collection :values, as: 'values' + end + end + + class CounterOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field, as: 'field' + property :metric, as: 'metric' + end + end + + class CryptoKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :name, as: 'name' + property :next_rotation_time, as: 'nextRotationTime' + property :primary, as: 'primary', class: Google::Apis::CloudkmsV1::CryptoKeyVersion, decorator: Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation + + property :purpose, as: 'purpose' + property :rotation_period, as: 'rotationPeriod' + end + end + + class CryptoKeyVersion + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :destroy_event_time, as: 'destroyEventTime' + property :destroy_time, as: 'destroyTime' + property :name, as: 'name' + property :state, as: 'state' + end + end + + class DataAccessOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :log_mode, as: 'logMode' + end + end + + class DecryptRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :additional_authenticated_data, :base64 => true, as: 'additionalAuthenticatedData' + property :ciphertext, :base64 => true, as: 'ciphertext' + end + end + + class DecryptResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :plaintext, :base64 => true, as: 'plaintext' - property :additional_authenticated_data, :base64 => true, as: 'additionalAuthenticatedData' - end - end - - class ListCryptoKeyVersionsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - property :total_size, as: 'totalSize' - collection :crypto_key_versions, as: 'cryptoKeyVersions', class: Google::Apis::CloudkmsV1::CryptoKeyVersion, decorator: Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation - - end - end - - class TestIamPermissionsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions' end end @@ -386,43 +303,134 @@ module Google end end - class CryptoKey + class EncryptRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :purpose, as: 'purpose' - property :next_rotation_time, as: 'nextRotationTime' - property :create_time, as: 'createTime' - property :rotation_period, as: 'rotationPeriod' - property :primary, as: 'primary', class: Google::Apis::CloudkmsV1::CryptoKeyVersion, decorator: Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation - + property :additional_authenticated_data, :base64 => true, as: 'additionalAuthenticatedData' + property :plaintext, :base64 => true, as: 'plaintext' end end - class Rule + class EncryptResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ciphertext, :base64 => true, as: 'ciphertext' + property :name, as: 'name' + end + end + + class Expr # @private class Representation < Google::Apis::Core::JsonRepresentation property :description, as: 'description' - collection :conditions, as: 'conditions', class: Google::Apis::CloudkmsV1::Condition, decorator: Google::Apis::CloudkmsV1::Condition::Representation + property :expression, as: 'expression' + property :location, as: 'location' + property :title, as: 'title' + end + end - collection :log_config, as: 'logConfig', class: Google::Apis::CloudkmsV1::LogConfig, decorator: Google::Apis::CloudkmsV1::LogConfig::Representation + class KeyRing + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :name, as: 'name' + end + end - collection :in, as: 'in' - collection :permissions, as: 'permissions' - property :action, as: 'action' - collection :not_in, as: 'notIn' + class ListCryptoKeyVersionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :crypto_key_versions, as: 'cryptoKeyVersions', class: Google::Apis::CloudkmsV1::CryptoKeyVersion, decorator: Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation + + property :next_page_token, as: 'nextPageToken' + property :total_size, as: 'totalSize' + end + end + + class ListCryptoKeysResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :crypto_keys, as: 'cryptoKeys', class: Google::Apis::CloudkmsV1::CryptoKey, decorator: Google::Apis::CloudkmsV1::CryptoKey::Representation + + property :next_page_token, as: 'nextPageToken' + property :total_size, as: 'totalSize' + end + end + + class ListKeyRingsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :key_rings, as: 'keyRings', class: Google::Apis::CloudkmsV1::KeyRing, decorator: Google::Apis::CloudkmsV1::KeyRing::Representation + + property :next_page_token, as: 'nextPageToken' + property :total_size, as: 'totalSize' + end + end + + class ListLocationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :locations, as: 'locations', class: Google::Apis::CloudkmsV1::Location, decorator: Google::Apis::CloudkmsV1::Location::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class Location + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :labels, as: 'labels' + property :location_id, as: 'locationId' + hash :metadata, as: 'metadata' + property :name, as: 'name' end end class LogConfig # @private class Representation < Google::Apis::Core::JsonRepresentation + property :cloud_audit, as: 'cloudAudit', class: Google::Apis::CloudkmsV1::CloudAuditOptions, decorator: Google::Apis::CloudkmsV1::CloudAuditOptions::Representation + property :counter, as: 'counter', class: Google::Apis::CloudkmsV1::CounterOptions, decorator: Google::Apis::CloudkmsV1::CounterOptions::Representation property :data_access, as: 'dataAccess', class: Google::Apis::CloudkmsV1::DataAccessOptions, decorator: Google::Apis::CloudkmsV1::DataAccessOptions::Representation - property :cloud_audit, as: 'cloudAudit', class: Google::Apis::CloudkmsV1::CloudAuditOptions, decorator: Google::Apis::CloudkmsV1::CloudAuditOptions::Representation + end + end + class Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudkmsV1::AuditConfig, decorator: Google::Apis::CloudkmsV1::AuditConfig::Representation + + collection :bindings, as: 'bindings', class: Google::Apis::CloudkmsV1::Binding, decorator: Google::Apis::CloudkmsV1::Binding::Representation + + property :etag, :base64 => true, as: 'etag' + property :iam_owned, as: 'iamOwned' + collection :rules, as: 'rules', class: Google::Apis::CloudkmsV1::Rule, decorator: Google::Apis::CloudkmsV1::Rule::Representation + + property :version, as: 'version' + end + end + + class RestoreCryptoKeyVersionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Rule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :action, as: 'action' + collection :conditions, as: 'conditions', class: Google::Apis::CloudkmsV1::Condition, decorator: Google::Apis::CloudkmsV1::Condition::Representation + + property :description, as: 'description' + collection :in, as: 'in' + collection :log_config, as: 'logConfig', class: Google::Apis::CloudkmsV1::LogConfig, decorator: Google::Apis::CloudkmsV1::LogConfig::Representation + + collection :not_in, as: 'notIn' + collection :permissions, as: 'permissions' end end @@ -435,31 +443,24 @@ module Google end end - class DecryptRequest + class TestIamPermissionsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :additional_authenticated_data, :base64 => true, as: 'additionalAuthenticatedData' - property :ciphertext, :base64 => true, as: 'ciphertext' + collection :permissions, as: 'permissions' end end - class Location + class TestIamPermissionsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :labels, as: 'labels' - property :name, as: 'name' - property :location_id, as: 'locationId' - hash :metadata, as: 'metadata' + collection :permissions, as: 'permissions' end end - class ListCryptoKeysResponse + class UpdateCryptoKeyPrimaryVersionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - property :total_size, as: 'totalSize' - collection :crypto_keys, as: 'cryptoKeys', class: Google::Apis::CloudkmsV1::CryptoKey, decorator: Google::Apis::CloudkmsV1::CryptoKey::Representation - + property :crypto_key_version_id, as: 'cryptoKeyVersionId' end end end diff --git a/generated/google/apis/cloudkms_v1/service.rb b/generated/google/apis/cloudkms_v1/service.rb index 8840fcb7f..022204a00 100644 --- a/generated/google/apis/cloudkms_v1/service.rb +++ b/generated/google/apis/cloudkms_v1/service.rb @@ -51,11 +51,11 @@ module Google # Get information about a location. # @param [String] name # Resource name for the location. + # @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 # @@ -68,30 +68,30 @@ 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_project_location(name, quota_user: nil, fields: nil, options: nil, &block) + def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', options) command.response_representation = Google::Apis::CloudkmsV1::Location::Representation command.response_class = Google::Apis::CloudkmsV1::Location command.params['name'] = name unless name.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 # Lists information about the supported locations for this service. # @param [String] name # The resource that owns the locations collection, if applicable. - # @param [Fixnum] page_size - # The standard list page size. # @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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -104,16 +104,117 @@ 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_project_locations(name, page_size: nil, filter: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/locations', options) command.response_representation = Google::Apis::CloudkmsV1::ListLocationsResponse::Representation command.response_class = Google::Apis::CloudkmsV1::ListLocationsResponse command.params['name'] = name unless name.nil? - command.query['pageSize'] = page_size unless page_size.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['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 + + # Create a new KeyRing in a given Project and Location. + # @param [String] parent + # Required. The resource name of the location associated with the + # KeyRings, in the format `projects/*/locations/*`. + # @param [Google::Apis::CloudkmsV1::KeyRing] key_ring_object + # @param [String] key_ring_id + # Required. It must be unique within a location and match the regular + # expression `[a-zA-Z0-9_-]`1,63`` + # @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::CloudkmsV1::KeyRing] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::KeyRing] + # + # @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_project_location_key_ring(parent, key_ring_object = nil, key_ring_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/keyRings', options) + command.request_representation = Google::Apis::CloudkmsV1::KeyRing::Representation + command.request_object = key_ring_object + command.response_representation = Google::Apis::CloudkmsV1::KeyRing::Representation + command.response_class = Google::Apis::CloudkmsV1::KeyRing + command.params['parent'] = parent unless parent.nil? + command.query['keyRingId'] = key_ring_id unless key_ring_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 + + # Returns metadata for a given KeyRing. + # @param [String] name + # The name of the KeyRing to get. + # @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::CloudkmsV1::KeyRing] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::KeyRing] + # + # @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_project_location_key_ring(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::CloudkmsV1::KeyRing::Representation + command.response_class = Google::Apis::CloudkmsV1::KeyRing + 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 + + # Gets the access control policy for a resource. + # Returns an empty policy if the resource exists and does not have a policy + # set. + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. + # See the operation documentation for the appropriate value for this field. + # @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::CloudkmsV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::Policy] + # + # @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_project_location_key_ring_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) + command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation + command.response_class = Google::Apis::CloudkmsV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -121,19 +222,19 @@ module Google # @param [String] parent # Required. The resource name of the location associated with the # KeyRings, in the format `projects/*/locations/*`. - # @param [String] page_token - # Optional pagination token, returned earlier via - # ListKeyRingsResponse.next_page_token. # @param [Fixnum] page_size # Optional limit on the number of KeyRings to include in the # response. Further KeyRings can subsequently be obtained by # including the ListKeyRingsResponse.next_page_token in a subsequent # request. If unspecified, the server will pick an appropriate default. + # @param [String] page_token + # Optional pagination token, returned earlier via + # ListKeyRingsResponse.next_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -146,15 +247,15 @@ 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_project_location_key_rings(parent, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_project_location_key_rings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/keyRings', options) command.response_representation = Google::Apis::CloudkmsV1::ListKeyRingsResponse::Representation command.response_class = Google::Apis::CloudkmsV1::ListKeyRingsResponse command.params['parent'] = parent unless parent.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.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 @@ -164,11 +265,11 @@ module Google # REQUIRED: The resource for which the policy is being specified. # See the operation documentation for the appropriate value for this field. # @param [Google::Apis::CloudkmsV1::SetIamPolicyRequest] set_iam_policy_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -181,116 +282,15 @@ 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 set_key_ring_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def set_key_ring_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) command.request_representation = Google::Apis::CloudkmsV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation command.response_class = Google::Apis::CloudkmsV1::Policy command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Create a new KeyRing in a given Project and Location. - # @param [String] parent - # Required. The resource name of the location associated with the - # KeyRings, in the format `projects/*/locations/*`. - # @param [Google::Apis::CloudkmsV1::KeyRing] key_ring_object - # @param [String] key_ring_id - # Required. It must be unique within a location and match the regular - # expression `[a-zA-Z0-9_-]`1,63`` - # @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::CloudkmsV1::KeyRing] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudkmsV1::KeyRing] - # - # @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_project_location_key_ring(parent, key_ring_object = nil, key_ring_id: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+parent}/keyRings', options) - command.request_representation = Google::Apis::CloudkmsV1::KeyRing::Representation - command.request_object = key_ring_object - command.response_representation = Google::Apis::CloudkmsV1::KeyRing::Representation - command.response_class = Google::Apis::CloudkmsV1::KeyRing - command.params['parent'] = parent unless parent.nil? - command.query['keyRingId'] = key_ring_id unless key_ring_id.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets the access control policy for a resource. - # Returns an empty policy if the resource exists and does not have a policy - # set. - # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. - # See the operation documentation for the appropriate value for this field. - # @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::CloudkmsV1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudkmsV1::Policy] - # - # @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_project_location_key_ring_iam_policy(resource, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) - command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation - command.response_class = Google::Apis::CloudkmsV1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Returns metadata for a given KeyRing. - # @param [String] name - # The name of the KeyRing to get. - # @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::CloudkmsV1::KeyRing] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudkmsV1::KeyRing] - # - # @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_project_location_key_ring(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::CloudkmsV1::KeyRing::Representation - command.response_class = Google::Apis::CloudkmsV1::KeyRing - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -304,11 +304,11 @@ module Google # REQUIRED: The resource for which the policy detail is being requested. # See the operation documentation for the appropriate value for this field. # @param [Google::Apis::CloudkmsV1::TestIamPermissionsRequest] test_iam_permissions_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -321,15 +321,188 @@ 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 test_key_ring_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def test_key_ring_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) command.request_representation = Google::Apis::CloudkmsV1::TestIamPermissionsRequest::Representation command.request_object = test_iam_permissions_request_object command.response_representation = Google::Apis::CloudkmsV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::CloudkmsV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.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 + + # Create a new CryptoKey within a KeyRing. + # CryptoKey.purpose is required. + # @param [String] parent + # Required. The name of the KeyRing associated with the + # CryptoKeys. + # @param [Google::Apis::CloudkmsV1::CryptoKey] crypto_key_object + # @param [String] crypto_key_id + # Required. It must be unique within a KeyRing and match the regular + # expression `[a-zA-Z0-9_-]`1,63`` + # @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::CloudkmsV1::CryptoKey] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::CryptoKey] + # + # @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_project_location_key_ring_crypto_key(parent, crypto_key_object = nil, crypto_key_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/cryptoKeys', options) + command.request_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation + command.request_object = crypto_key_object + command.response_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation + command.response_class = Google::Apis::CloudkmsV1::CryptoKey + command.params['parent'] = parent unless parent.nil? + command.query['cryptoKeyId'] = crypto_key_id unless crypto_key_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 + + # Decrypts data that was protected by Encrypt. + # @param [String] name + # Required. The resource name of the CryptoKey to use for decryption. + # The server will choose the appropriate version. + # @param [Google::Apis::CloudkmsV1::DecryptRequest] decrypt_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::CloudkmsV1::DecryptResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::DecryptResponse] + # + # @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 decrypt_crypto_key(name, decrypt_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:decrypt', options) + command.request_representation = Google::Apis::CloudkmsV1::DecryptRequest::Representation + command.request_object = decrypt_request_object + command.response_representation = Google::Apis::CloudkmsV1::DecryptResponse::Representation + command.response_class = Google::Apis::CloudkmsV1::DecryptResponse + 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 + + # Encrypts data, so that it can only be recovered by a call to Decrypt. + # @param [String] name + # Required. The resource name of the CryptoKey or CryptoKeyVersion + # to use for encryption. + # If a CryptoKey is specified, the server will use its + # primary version. + # @param [Google::Apis::CloudkmsV1::EncryptRequest] encrypt_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::CloudkmsV1::EncryptResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::EncryptResponse] + # + # @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 encrypt_crypto_key(name, encrypt_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:encrypt', options) + command.request_representation = Google::Apis::CloudkmsV1::EncryptRequest::Representation + command.request_object = encrypt_request_object + command.response_representation = Google::Apis::CloudkmsV1::EncryptResponse::Representation + command.response_class = Google::Apis::CloudkmsV1::EncryptResponse + 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 + + # Returns metadata for a given CryptoKey, as well as its + # primary CryptoKeyVersion. + # @param [String] name + # The name of the CryptoKey to get. + # @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::CloudkmsV1::CryptoKey] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::CryptoKey] + # + # @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_project_location_key_ring_crypto_key(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation + command.response_class = Google::Apis::CloudkmsV1::CryptoKey + 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 + + # Gets the access control policy for a resource. + # Returns an empty policy if the resource exists and does not have a policy + # set. + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. + # See the operation documentation for the appropriate value for this field. + # @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::CloudkmsV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::Policy] + # + # @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_project_location_key_ring_crypto_key_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) + command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation + command.response_class = Google::Apis::CloudkmsV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -345,11 +518,11 @@ module Google # @param [String] page_token # Optional pagination token, returned earlier via # ListCryptoKeysResponse.next_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -362,191 +535,15 @@ 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_project_location_key_ring_crypto_keys(parent, page_size: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_project_location_key_ring_crypto_keys(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/cryptoKeys', options) command.response_representation = Google::Apis::CloudkmsV1::ListCryptoKeysResponse::Representation command.response_class = Google::Apis::CloudkmsV1::ListCryptoKeysResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.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? - execute_or_queue_command(command, &block) - end - - # Encrypts data, so that it can only be recovered by a call to Decrypt. - # @param [String] name - # Required. The resource name of the CryptoKey or CryptoKeyVersion - # to use for encryption. - # If a CryptoKey is specified, the server will use its - # primary version. - # @param [Google::Apis::CloudkmsV1::EncryptRequest] encrypt_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::CloudkmsV1::EncryptResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudkmsV1::EncryptResponse] - # - # @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 encrypt_crypto_key(name, encrypt_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:encrypt', options) - command.request_representation = Google::Apis::CloudkmsV1::EncryptRequest::Representation - command.request_object = encrypt_request_object - command.response_representation = Google::Apis::CloudkmsV1::EncryptResponse::Representation - command.response_class = Google::Apis::CloudkmsV1::EncryptResponse - command.params['name'] = name unless name.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Create a new CryptoKey within a KeyRing. - # CryptoKey.purpose is required. - # @param [String] parent - # Required. The name of the KeyRing associated with the - # CryptoKeys. - # @param [Google::Apis::CloudkmsV1::CryptoKey] crypto_key_object - # @param [String] crypto_key_id - # Required. It must be unique within a KeyRing and match the regular - # expression `[a-zA-Z0-9_-]`1,63`` - # @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::CloudkmsV1::CryptoKey] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudkmsV1::CryptoKey] - # - # @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_project_location_key_ring_crypto_key(parent, crypto_key_object = nil, crypto_key_id: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+parent}/cryptoKeys', options) - command.request_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation - command.request_object = crypto_key_object - command.response_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation - command.response_class = Google::Apis::CloudkmsV1::CryptoKey - command.params['parent'] = parent unless parent.nil? - command.query['cryptoKeyId'] = crypto_key_id unless crypto_key_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Sets the access control policy on the specified resource. Replaces any - # existing policy. - # @param [String] resource - # REQUIRED: The resource for which the policy is being specified. - # See the operation documentation for the appropriate value for this field. - # @param [Google::Apis::CloudkmsV1::SetIamPolicyRequest] set_iam_policy_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::CloudkmsV1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudkmsV1::Policy] - # - # @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 set_crypto_key_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) - command.request_representation = Google::Apis::CloudkmsV1::SetIamPolicyRequest::Representation - command.request_object = set_iam_policy_request_object - command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation - command.response_class = Google::Apis::CloudkmsV1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Update the version of a CryptoKey that will be used in Encrypt - # @param [String] name - # The resource name of the CryptoKey to update. - # @param [Google::Apis::CloudkmsV1::UpdateCryptoKeyPrimaryVersionRequest] update_crypto_key_primary_version_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::CloudkmsV1::CryptoKey] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudkmsV1::CryptoKey] - # - # @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_project_location_key_ring_crypto_key_primary_version(name, update_crypto_key_primary_version_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:updatePrimaryVersion', options) - command.request_representation = Google::Apis::CloudkmsV1::UpdateCryptoKeyPrimaryVersionRequest::Representation - command.request_object = update_crypto_key_primary_version_request_object - command.response_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation - command.response_class = Google::Apis::CloudkmsV1::CryptoKey - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets the access control policy for a resource. - # Returns an empty policy if the resource exists and does not have a policy - # set. - # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. - # See the operation documentation for the appropriate value for this field. - # @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::CloudkmsV1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudkmsV1::Policy] - # - # @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_project_location_key_ring_crypto_key_iam_policy(resource, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) - command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation - command.response_class = Google::Apis::CloudkmsV1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -557,11 +554,11 @@ module Google # @param [Google::Apis::CloudkmsV1::CryptoKey] crypto_key_object # @param [String] update_mask # Required list of fields to be updated in this request. + # @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 # @@ -574,7 +571,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 patch_project_location_key_ring_crypto_key(name, crypto_key_object = nil, update_mask: nil, quota_user: nil, fields: nil, options: nil, &block) + def patch_project_location_key_ring_crypto_key(name, crypto_key_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', options) command.request_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation command.request_object = crypto_key_object @@ -582,39 +579,43 @@ module Google command.response_class = Google::Apis::CloudkmsV1::CryptoKey command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.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 - # Returns metadata for a given CryptoKey, as well as its - # primary CryptoKeyVersion. - # @param [String] name - # The name of the CryptoKey to get. + # Sets the access control policy on the specified resource. Replaces any + # existing policy. + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudkmsV1::SetIamPolicyRequest] set_iam_policy_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 [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::CloudkmsV1::CryptoKey] parsed result object + # @yieldparam result [Google::Apis::CloudkmsV1::Policy] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::CloudkmsV1::CryptoKey] + # @return [Google::Apis::CloudkmsV1::Policy] # # @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_project_location_key_ring_crypto_key(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation - command.response_class = Google::Apis::CloudkmsV1::CryptoKey - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + def set_crypto_key_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::CloudkmsV1::SetIamPolicyRequest::Representation + command.request_object = set_iam_policy_request_object + command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation + command.response_class = Google::Apis::CloudkmsV1::Policy + command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -628,11 +629,11 @@ module Google # REQUIRED: The resource for which the policy detail is being requested. # See the operation documentation for the appropriate value for this field. # @param [Google::Apis::CloudkmsV1::TestIamPermissionsRequest] test_iam_permissions_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -645,91 +646,48 @@ 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 test_crypto_key_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def test_crypto_key_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) command.request_representation = Google::Apis::CloudkmsV1::TestIamPermissionsRequest::Representation command.request_object = test_iam_permissions_request_object command.response_representation = Google::Apis::CloudkmsV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::CloudkmsV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.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 - # Decrypts data that was protected by Encrypt. + # Update the version of a CryptoKey that will be used in Encrypt # @param [String] name - # Required. The resource name of the CryptoKey to use for decryption. - # The server will choose the appropriate version. - # @param [Google::Apis::CloudkmsV1::DecryptRequest] decrypt_request_object + # The resource name of the CryptoKey to update. + # @param [Google::Apis::CloudkmsV1::UpdateCryptoKeyPrimaryVersionRequest] update_crypto_key_primary_version_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 [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::CloudkmsV1::DecryptResponse] parsed result object + # @yieldparam result [Google::Apis::CloudkmsV1::CryptoKey] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::CloudkmsV1::DecryptResponse] + # @return [Google::Apis::CloudkmsV1::CryptoKey] # # @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 decrypt_crypto_key(name, decrypt_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:decrypt', options) - command.request_representation = Google::Apis::CloudkmsV1::DecryptRequest::Representation - command.request_object = decrypt_request_object - command.response_representation = Google::Apis::CloudkmsV1::DecryptResponse::Representation - command.response_class = Google::Apis::CloudkmsV1::DecryptResponse + def update_project_location_key_ring_crypto_key_primary_version(name, update_crypto_key_primary_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:updatePrimaryVersion', options) + command.request_representation = Google::Apis::CloudkmsV1::UpdateCryptoKeyPrimaryVersionRequest::Representation + command.request_object = update_crypto_key_primary_version_request_object + command.response_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation + command.response_class = Google::Apis::CloudkmsV1::CryptoKey command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists CryptoKeyVersions. - # @param [String] parent - # Required. The resource name of the CryptoKey to list, in the format - # `projects/*/locations/*/keyRings/*/cryptoKeys/*`. - # @param [String] page_token - # Optional pagination token, returned earlier via - # ListCryptoKeyVersionsResponse.next_page_token. - # @param [Fixnum] page_size - # Optional limit on the number of CryptoKeyVersions to - # include in the response. Further CryptoKeyVersions can - # subsequently be obtained by including the - # ListCryptoKeyVersionsResponse.next_page_token in a subsequent request. - # If unspecified, the server will pick an appropriate default. - # @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::CloudkmsV1::ListCryptoKeyVersionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse] - # - # @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_project_location_key_ring_crypto_key_crypto_key_versions(parent, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+parent}/cryptoKeyVersions', options) - command.response_representation = Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse::Representation - command.response_class = Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse - command.params['parent'] = parent unless parent.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -741,11 +699,11 @@ module Google # Required. The name of the CryptoKey associated with # the CryptoKeyVersions. # @param [Google::Apis::CloudkmsV1::CryptoKeyVersion] crypto_key_version_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -758,15 +716,15 @@ 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 create_project_location_key_ring_crypto_key_crypto_key_version(parent, crypto_key_version_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def create_project_location_key_ring_crypto_key_crypto_key_version(parent, crypto_key_version_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/cryptoKeyVersions', options) command.request_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation command.request_object = crypto_key_version_object command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion command.params['parent'] = parent unless parent.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 @@ -783,11 +741,11 @@ module Google # @param [String] name # The resource name of the CryptoKeyVersion to destroy. # @param [Google::Apis::CloudkmsV1::DestroyCryptoKeyVersionRequest] destroy_crypto_key_version_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -800,64 +758,26 @@ 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 destroy_crypto_key_version(name, destroy_crypto_key_version_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def destroy_crypto_key_version(name, destroy_crypto_key_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:destroy', options) command.request_representation = Google::Apis::CloudkmsV1::DestroyCryptoKeyVersionRequest::Representation command.request_object = destroy_crypto_key_version_request_object command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Restore a CryptoKeyVersion in the - # DESTROY_SCHEDULED, - # state. - # Upon restoration of the CryptoKeyVersion, state - # will be set to DISABLED, - # and destroy_time will be cleared. - # @param [String] name - # The resource name of the CryptoKeyVersion to restore. - # @param [Google::Apis::CloudkmsV1::RestoreCryptoKeyVersionRequest] restore_crypto_key_version_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::CloudkmsV1::CryptoKeyVersion] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudkmsV1::CryptoKeyVersion] - # - # @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 restore_crypto_key_version(name, restore_crypto_key_version_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:restore', options) - command.request_representation = Google::Apis::CloudkmsV1::RestoreCryptoKeyVersionRequest::Representation - command.request_object = restore_crypto_key_version_request_object - command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation - command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion - command.params['name'] = name unless name.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end # Returns metadata for a given CryptoKeyVersion. # @param [String] name # The name of the CryptoKeyVersion to get. + # @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 # @@ -870,13 +790,55 @@ 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_project_location_key_ring_crypto_key_crypto_key_version(name, quota_user: nil, fields: nil, options: nil, &block) + def get_project_location_key_ring_crypto_key_crypto_key_version(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', options) command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion command.params['name'] = name unless name.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 + + # Lists CryptoKeyVersions. + # @param [String] parent + # Required. The resource name of the CryptoKey to list, in the format + # `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + # @param [Fixnum] page_size + # Optional limit on the number of CryptoKeyVersions to + # include in the response. Further CryptoKeyVersions can + # subsequently be obtained by including the + # ListCryptoKeyVersionsResponse.next_page_token in a subsequent request. + # If unspecified, the server will pick an appropriate default. + # @param [String] page_token + # Optional pagination token, returned earlier via + # ListCryptoKeyVersionsResponse.next_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::CloudkmsV1::ListCryptoKeyVersionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse] + # + # @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_project_location_key_ring_crypto_key_crypto_key_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/cryptoKeyVersions', options) + command.response_representation = Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse::Representation + command.response_class = Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse + command.params['parent'] = parent unless parent.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 @@ -892,11 +854,11 @@ module Google # @param [Google::Apis::CloudkmsV1::CryptoKeyVersion] crypto_key_version_object # @param [String] update_mask # Required list of fields to be updated in this request. + # @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 # @@ -909,7 +871,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 patch_project_location_key_ring_crypto_key_crypto_key_version(name, crypto_key_version_object = nil, update_mask: nil, quota_user: nil, fields: nil, options: nil, &block) + def patch_project_location_key_ring_crypto_key_crypto_key_version(name, crypto_key_version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', options) command.request_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation command.request_object = crypto_key_version_object @@ -917,8 +879,46 @@ module Google command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.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 + + # Restore a CryptoKeyVersion in the + # DESTROY_SCHEDULED, + # state. + # Upon restoration of the CryptoKeyVersion, state + # will be set to DISABLED, + # and destroy_time will be cleared. + # @param [String] name + # The resource name of the CryptoKeyVersion to restore. + # @param [Google::Apis::CloudkmsV1::RestoreCryptoKeyVersionRequest] restore_crypto_key_version_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::CloudkmsV1::CryptoKeyVersion] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::CryptoKeyVersion] + # + # @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 restore_crypto_key_version(name, restore_crypto_key_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:restore', options) + command.request_representation = Google::Apis::CloudkmsV1::RestoreCryptoKeyVersionRequest::Representation + command.request_object = restore_crypto_key_version_request_object + command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation + command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion + 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 diff --git a/generated/google/apis/cloudmonitoring_v2beta2.rb b/generated/google/apis/cloudmonitoring_v2beta2.rb index 17cd37726..0044e906f 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 = '20170501' + REVISION = '20170323' # 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_v1.rb b/generated/google/apis/cloudresourcemanager_v1.rb index 5039bf887..092ecef85 100644 --- a/generated/google/apis/cloudresourcemanager_v1.rb +++ b/generated/google/apis/cloudresourcemanager_v1.rb @@ -26,13 +26,13 @@ module Google # @see https://cloud.google.com/resource-manager module CloudresourcemanagerV1 VERSION = 'V1' - REVISION = '20170705' - - # View your data across Google Cloud Platform services - AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' + REVISION = '20170710' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + + # View your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' end end end diff --git a/generated/google/apis/cloudresourcemanager_v1/classes.rb b/generated/google/apis/cloudresourcemanager_v1/classes.rb index 6e1c6bfeb..6e2766d1f 100644 --- a/generated/google/apis/cloudresourcemanager_v1/classes.rb +++ b/generated/google/apis/cloudresourcemanager_v1/classes.rb @@ -44,16 +44,68 @@ module Google end end - # A `Constraint` that allows or disallows a list of string values, which are - # configured by an Organization's policy administrator with a `Policy`. - class ListConstraint + # Specifies the audit configuration for a service. + # The configuration determines which permission types are logged, and what + # identities, if any, are exempted from logging. + # An AuditConfig must have one or more AuditLogConfigs. + # If there are AuditConfigs for both `allServices` and a specific service, + # the union of the two AuditConfigs is used for that service: the log_types + # specified in each AuditConfig are enabled, and the exempted_members in each + # AuditConfig are exempted. + # Example Policy with multiple AuditConfigs: + # ` + # "audit_configs": [ + # ` + # "service": "allServices" + # "audit_log_configs": [ + # ` + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:foo@gmail.com" + # ] + # `, + # ` + # "log_type": "DATA_WRITE", + # `, + # ` + # "log_type": "ADMIN_READ", + # ` + # ] + # `, + # ` + # "service": "fooservice.googleapis.com" + # "audit_log_configs": [ + # ` + # "log_type": "DATA_READ", + # `, + # ` + # "log_type": "DATA_WRITE", + # "exempted_members": [ + # "user:bar@gmail.com" + # ] + # ` + # ] + # ` + # ] + # ` + # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + # logging. It also exempts foo@gmail.com from DATA_READ logging, and + # bar@gmail.com from DATA_WRITE logging. + class AuditConfig include Google::Apis::Core::Hashable - # Optional. The Google Cloud Console will try to default to a configuration - # that matches the value specified in this `Constraint`. - # Corresponds to the JSON property `suggestedValue` + # The configuration for logging of each type of permission. + # Next ID: 4 + # Corresponds to the JSON property `auditLogConfigs` + # @return [Array] + attr_accessor :audit_log_configs + + # Specifies a service that will be enabled for audit logging. + # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. + # `allServices` is a special value that covers all services. + # Corresponds to the JSON property `service` # @return [String] - attr_accessor :suggested_value + attr_accessor :service def initialize(**args) update!(**args) @@ -61,19 +113,42 @@ module Google # Update properties of this object def update!(**args) - @suggested_value = args[:suggested_value] if args.key?(:suggested_value) + @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs) + @service = args[:service] if args.key?(:service) end end - # The request sent to the SetOrgPolicyRequest method. - class SetOrgPolicyRequest + # Provides the configuration for logging a type of permissions. + # Example: + # ` + # "audit_log_configs": [ + # ` + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:foo@gmail.com" + # ] + # `, + # ` + # "log_type": "DATA_WRITE", + # ` + # ] + # ` + # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting + # foo@gmail.com from DATA_READ logging. + class AuditLogConfig include Google::Apis::Core::Hashable - # Defines a Cloud Organization `Policy` which is used to specify `Constraints` - # for configurations of Cloud Platform resources. - # Corresponds to the JSON property `policy` - # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] - attr_accessor :policy + # Specifies the identities that do not cause logging for this type of + # permission. + # Follows the same format of Binding.members. + # Corresponds to the JSON property `exemptedMembers` + # @return [Array] + attr_accessor :exempted_members + + # The log type that this config enables. + # Corresponds to the JSON property `logType` + # @return [String] + attr_accessor :log_type def initialize(**args) update!(**args) @@ -81,52 +156,39 @@ module Google # Update properties of this object def update!(**args) - @policy = args[:policy] if args.key?(:policy) + @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @log_type = args[:log_type] if args.key?(:log_type) end end - # Request message for `SetIamPolicy` method. - class SetIamPolicyRequest + # Associates `members` with a `role`. + class Binding include Google::Apis::Core::Hashable - # Defines an Identity and Access Management (IAM) policy. It is used to - # specify access control policies for Cloud Platform resources. - # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of - # `members` to a `role`, where the members can be user accounts, Google groups, - # Google domains, and service 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: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` - # @return [Google::Apis::CloudresourcemanagerV1::Policy] - attr_accessor :policy + # Specifies the identities requesting access for a Cloud Platform resource. + # `members` can have the following values: + # * `allUsers`: A special identifier that represents anyone who is + # on the internet; with or without a Google account. + # * `allAuthenticatedUsers`: A special identifier that represents anyone + # who is authenticated with a Google account or a service account. + # * `user:`emailid``: An email address that represents a specific Google + # account. For example, `alice@gmail.com` or `joe@example.com`. + # * `serviceAccount:`emailid``: An email address that represents a service + # account. For example, `my-other-app@appspot.gserviceaccount.com`. + # * `group:`emailid``: An email address that represents a Google group. + # For example, `admins@example.com`. + # * `domain:`domain``: A Google Apps domain name that represents all the + # users of that domain. For example, `google.com` or `example.com`. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members - # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only - # the fields in the mask will be modified. If no mask is provided, the - # following default mask is used: - # paths: "bindings, etag" - # This field is only used by Cloud IAM. - # Corresponds to the JSON property `updateMask` + # Role that is assigned to `members`. + # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + # Required + # Corresponds to the JSON property `role` # @return [String] - attr_accessor :update_mask + attr_accessor :role def initialize(**args) update!(**args) @@ -134,8 +196,184 @@ module Google # Update properties of this object def update!(**args) - @policy = args[:policy] if args.key?(:policy) - @update_mask = args[:update_mask] if args.key?(:update_mask) + @members = args[:members] if args.key?(:members) + @role = args[:role] if args.key?(:role) + end + end + + # A `Constraint` that is either enforced or not. + # For example a constraint `constraints/compute.disableSerialPortAccess`. + # If it is enforced on a VM instance, serial port connections will not be + # opened to that instance. + class BooleanConstraint + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Used in `policy_type` to specify how `boolean_policy` will behave at this + # resource. + class BooleanPolicy + include Google::Apis::Core::Hashable + + # If `true`, then the `Policy` is enforced. If `false`, then any + # configuration is acceptable. + # Suppose you have a `Constraint` `constraints/compute.disableSerialPortAccess` + # with `constraint_default` set to `ALLOW`. A `Policy` for that + # `Constraint` exhibits the following behavior: + # - If the `Policy` at this resource has enforced set to `false`, serial + # port connection attempts will be allowed. + # - If the `Policy` at this resource has enforced set to `true`, serial + # port connection attempts will be refused. + # - If the `Policy` at this resource is `RestoreDefault`, serial port + # connection attempts will be allowed. + # - If no `Policy` is set at this resource or anywhere higher in the + # resource hierarchy, serial port connection attempts will be allowed. + # - If no `Policy` is set at this resource, but one exists higher in the + # resource hierarchy, the behavior is as if the`Policy` were set at + # this resource. + # The following examples demonstrate the different possible layerings: + # Example 1 (nearest `Constraint` wins): + # `organizations/foo` has a `Policy` with: + # `enforced: false` + # `projects/bar` has no `Policy` set. + # The constraint at `projects/bar` and `organizations/foo` will not be + # enforced. + # Example 2 (enforcement gets replaced): + # `organizations/foo` has a `Policy` with: + # `enforced: false` + # `projects/bar` has a `Policy` with: + # `enforced: true` + # The constraint at `organizations/foo` is not enforced. + # The constraint at `projects/bar` is enforced. + # Example 3 (RestoreDefault): + # `organizations/foo` has a `Policy` with: + # `enforced: true` + # `projects/bar` has a `Policy` with: + # `RestoreDefault: ``` + # The constraint at `organizations/foo` is enforced. + # The constraint at `projects/bar` is not enforced, because + # `constraint_default` for the `Constraint` is `ALLOW`. + # Corresponds to the JSON property `enforced` + # @return [Boolean] + attr_accessor :enforced + alias_method :enforced?, :enforced + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enforced = args[:enforced] if args.key?(:enforced) + end + end + + # The request sent to the ClearOrgPolicy method. + class ClearOrgPolicyRequest + include Google::Apis::Core::Hashable + + # Name of the `Constraint` of the `Policy` to clear. + # Corresponds to the JSON property `constraint` + # @return [String] + attr_accessor :constraint + + # The current version, for concurrency control. Not sending an `etag` + # will cause the `Policy` to be cleared blindly. + # Corresponds to the JSON property `etag` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :etag + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @constraint = args[:constraint] if args.key?(:constraint) + @etag = args[:etag] if args.key?(:etag) + end + end + + # A `Constraint` describes a way in which a resource's configuration can be + # restricted. For example, it controls which cloud services can be activated + # across an organization, or whether a Compute Engine instance can have + # serial port connections established. `Constraints` can be configured by the + # organization's policy adminstrator to fit the needs of the organzation by + # setting Policies for `Constraints` at different locations in the + # organization's resource hierarchy. Policies are inherited down the resource + # hierarchy from higher levels, but can also be overridden. For details about + # the inheritance rules please read about + # Policies. + # `Constraints` have a default behavior determined by the `constraint_default` + # field, which is the enforcement behavior that is used in the absence of a + # `Policy` being defined or inherited for the resource in question. + class Constraint + include Google::Apis::Core::Hashable + + # A `Constraint` that is either enforced or not. + # For example a constraint `constraints/compute.disableSerialPortAccess`. + # If it is enforced on a VM instance, serial port connections will not be + # opened to that instance. + # Corresponds to the JSON property `booleanConstraint` + # @return [Google::Apis::CloudresourcemanagerV1::BooleanConstraint] + attr_accessor :boolean_constraint + + # The evaluation behavior of this constraint in the absense of 'Policy'. + # Corresponds to the JSON property `constraintDefault` + # @return [String] + attr_accessor :constraint_default + + # Detailed description of what this `Constraint` controls as well as how and + # where it is enforced. + # Mutable. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The human readable name. + # Mutable. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # A `Constraint` that allows or disallows a list of string values, which are + # configured by an Organization's policy administrator with a `Policy`. + # Corresponds to the JSON property `listConstraint` + # @return [Google::Apis::CloudresourcemanagerV1::ListConstraint] + attr_accessor :list_constraint + + # Immutable value, required to globally be unique. For example, + # `constraints/serviceuser.services` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Version of the `Constraint`. Default version is 0; + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @boolean_constraint = args[:boolean_constraint] if args.key?(:boolean_constraint) + @constraint_default = args[:constraint_default] if args.key?(:constraint_default) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @list_constraint = args[:list_constraint] if args.key?(:list_constraint) + @name = args[:name] if args.key?(:name) + @version = args[:version] if args.key?(:version) end end @@ -158,45 +396,31 @@ module Google end end - # The root node in the resource hierarchy to which a particular entity's - # (e.g., company) resources belong. - class Organization + # Metadata describing a long running folder operation + class FolderOperation include Google::Apis::Core::Hashable - # The organization's current lifecycle state. Assigned by the server. - # @OutputOnly - # Corresponds to the JSON property `lifecycleState` + # The resource name of the folder or organization we are either creating + # the folder under or moving the folder to. + # Corresponds to the JSON property `destinationParent` # @return [String] - attr_accessor :lifecycle_state + attr_accessor :destination_parent - # The entity that owns an Organization. The lifetime of the Organization and - # all of its descendants are bound to the `OrganizationOwner`. If the - # `OrganizationOwner` is deleted, the Organization and all its descendants will - # be deleted. - # Corresponds to the JSON property `owner` - # @return [Google::Apis::CloudresourcemanagerV1::OrganizationOwner] - attr_accessor :owner - - # Output Only. The resource name of the organization. This is the - # organization's relative path in the API. Its format is - # "organizations/[organization_id]". For example, "organizations/1234". - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # A friendly string to be used to refer to the Organization in the UI. - # Assigned by the server, set to the primary domain of the G Suite - # customer that owns the organization. - # @OutputOnly + # The display name of the folder. # Corresponds to the JSON property `displayName` # @return [String] attr_accessor :display_name - # Timestamp when the Organization was created. Assigned by the server. - # @OutputOnly - # Corresponds to the JSON property `creationTime` + # The type of this operation. + # Corresponds to the JSON property `operationType` # @return [String] - attr_accessor :creation_time + attr_accessor :operation_type + + # The resource name of the folder's parent. + # Only applicable when the operation_type is MOVE. + # Corresponds to the JSON property `sourceParent` + # @return [String] + attr_accessor :source_parent def initialize(**args) update!(**args) @@ -204,11 +428,207 @@ module Google # Update properties of this object def update!(**args) - @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state) - @owner = args[:owner] if args.key?(:owner) - @name = args[:name] if args.key?(:name) + @destination_parent = args[:destination_parent] if args.key?(:destination_parent) @display_name = args[:display_name] if args.key?(:display_name) - @creation_time = args[:creation_time] if args.key?(:creation_time) + @operation_type = args[:operation_type] if args.key?(:operation_type) + @source_parent = args[:source_parent] if args.key?(:source_parent) + end + end + + # A classification of the Folder Operation error. + class FolderOperationError + include Google::Apis::Core::Hashable + + # The type of operation error experienced. + # Corresponds to the JSON property `errorMessageId` + # @return [String] + attr_accessor :error_message_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @error_message_id = args[:error_message_id] if args.key?(:error_message_id) + end + end + + # The request sent to the + # GetAncestry + # method. + class GetAncestryRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Response from the GetAncestry method. + class GetAncestryResponse + include Google::Apis::Core::Hashable + + # Ancestors are ordered from bottom to top of the resource hierarchy. The + # first ancestor is the project itself, followed by the project's parent, + # etc. + # Corresponds to the JSON property `ancestor` + # @return [Array] + attr_accessor :ancestor + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ancestor = args[:ancestor] if args.key?(:ancestor) + end + end + + # The request sent to the GetEffectiveOrgPolicy method. + class GetEffectiveOrgPolicyRequest + include Google::Apis::Core::Hashable + + # The name of the `Constraint` to compute the effective `Policy`. + # Corresponds to the JSON property `constraint` + # @return [String] + attr_accessor :constraint + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @constraint = args[:constraint] if args.key?(:constraint) + end + end + + # Request message for `GetIamPolicy` method. + class GetIamPolicyRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # The request sent to the GetOrgPolicy method. + class GetOrgPolicyRequest + include Google::Apis::Core::Hashable + + # Name of the `Constraint` to get the `Policy`. + # Corresponds to the JSON property `constraint` + # @return [String] + attr_accessor :constraint + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @constraint = args[:constraint] if args.key?(:constraint) + end + end + + # A Lien represents an encumbrance on the actions that can be performed on a + # resource. + class Lien + include Google::Apis::Core::Hashable + + # The creation time of this Lien. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # A system-generated unique identifier for this Lien. + # Example: `liens/1234abcd` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # A stable, user-visible/meaningful string identifying the origin of the + # Lien, intended to be inspected programmatically. Maximum length of 200 + # characters. + # Example: 'compute.googleapis.com' + # Corresponds to the JSON property `origin` + # @return [String] + attr_accessor :origin + + # A reference to the resource this Lien is attached to. The server will + # validate the parent against those for which Liens are supported. + # Example: `projects/1234` + # Corresponds to the JSON property `parent` + # @return [String] + attr_accessor :parent + + # Concise user-visible strings indicating why an action cannot be performed + # on a resource. Maximum lenth of 200 characters. + # Example: 'Holds production API key' + # Corresponds to the JSON property `reason` + # @return [String] + attr_accessor :reason + + # The types of operations which should be blocked as a result of this Lien. + # Each value should correspond to an IAM permission. The server will + # validate the permissions against those for which Liens are supported. + # An empty list is meaningless and will be rejected. + # Example: ['resourcemanager.projects.delete'] + # Corresponds to the JSON property `restrictions` + # @return [Array] + attr_accessor :restrictions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @name = args[:name] if args.key?(:name) + @origin = args[:origin] if args.key?(:origin) + @parent = args[:parent] if args.key?(:parent) + @reason = args[:reason] if args.key?(:reason) + @restrictions = args[:restrictions] if args.key?(:restrictions) + end + end + + # The request sent to the [ListAvailableOrgPolicyConstraints] + # google.cloud.OrgPolicy.v1.ListAvailableOrgPolicyConstraints] method. + class ListAvailableOrgPolicyConstraintsRequest + include Google::Apis::Core::Hashable + + # Size of the pages to be returned. This is currently unsupported and will + # be ignored. The server may at any point start using this field to limit + # page size. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # Page token used to retrieve the next page. This is currently unsupported + # and will be ignored. The server may at any point start using this field. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @page_size = args[:page_size] if args.key?(:page_size) + @page_token = args[:page_token] if args.key?(:page_token) end end @@ -219,15 +639,118 @@ module Google class ListAvailableOrgPolicyConstraintsResponse include Google::Apis::Core::Hashable + # The collection of constraints that are settable on the request resource. + # Corresponds to the JSON property `constraints` + # @return [Array] + attr_accessor :constraints + # Page token used to retrieve the next page. This is currently not used. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token - # The collection of constraints that are settable on the request resource. - # Corresponds to the JSON property `constraints` - # @return [Array] - attr_accessor :constraints + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @constraints = args[:constraints] if args.key?(:constraints) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # A `Constraint` that allows or disallows a list of string values, which are + # configured by an Organization's policy administrator with a `Policy`. + class ListConstraint + include Google::Apis::Core::Hashable + + # Optional. The Google Cloud Console will try to default to a configuration + # that matches the value specified in this `Constraint`. + # Corresponds to the JSON property `suggestedValue` + # @return [String] + attr_accessor :suggested_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @suggested_value = args[:suggested_value] if args.key?(:suggested_value) + end + end + + # The response message for Liens.ListLiens. + class ListLiensResponse + include Google::Apis::Core::Hashable + + # A list of Liens. + # Corresponds to the JSON property `liens` + # @return [Array] + attr_accessor :liens + + # Token to retrieve the next page of results, or empty if there are no more + # results in the list. + # 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) + @liens = args[:liens] if args.key?(:liens) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The request sent to the ListOrgPolicies method. + class ListOrgPoliciesRequest + include Google::Apis::Core::Hashable + + # Size of the pages to be returned. This is currently unsupported and will + # be ignored. The server may at any point start using this field to limit + # page size. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # Page token used to retrieve the next page. This is currently unsupported + # and will be ignored. The server may at any point start using this field. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @page_size = args[:page_size] if args.key?(:page_size) + @page_token = args[:page_token] if args.key?(:page_token) + end + end + + # The response returned from the ListOrgPolicies method. It will be empty + # if no `Policies` are set on the resource. + class ListOrgPoliciesResponse + include Google::Apis::Core::Hashable + + # Page token used to retrieve the next page. This is currently not used, but + # the server may at any point start supplying a valid token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The `Policies` that are set on the resource. It will be empty if no + # `Policies` are set. + # Corresponds to the JSON property `policies` + # @return [Array] + attr_accessor :policies def initialize(**args) update!(**args) @@ -236,7 +759,7 @@ module Google # Update properties of this object def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @constraints = args[:constraints] if args.key?(:constraints) + @policies = args[:policies] if args.key?(:policies) end end @@ -252,6 +775,25 @@ module Google class ListPolicy include Google::Apis::Core::Hashable + # The policy all_values state. + # Corresponds to the JSON property `allValues` + # @return [String] + attr_accessor :all_values + + # List of values allowed at this resource. Can only be set if no values + # are set for `denied_values` and `all_values` is set to + # `ALL_VALUES_UNSPECIFIED`. + # Corresponds to the JSON property `allowedValues` + # @return [Array] + attr_accessor :allowed_values + + # List of values denied at this resource. Can only be set if no values are + # set for `allowed_values` and `all_values` is set to + # `ALL_VALUES_UNSPECIFIED`. + # Corresponds to the JSON property `deniedValues` + # @return [Array] + attr_accessor :denied_values + # Determines the inheritance behavior for this `Policy`. # By default, a `ListPolicy` set at a resource supercedes any `Policy` set # anywhere up the resource hierarchy. However, if `inherit_from_parent` is @@ -336,471 +878,55 @@ module Google # @return [String] attr_accessor :suggested_value - # List of values denied at this resource. Can only be set if no values are - # set for `allowed_values` and `all_values` is set to - # `ALL_VALUES_UNSPECIFIED`. - # Corresponds to the JSON property `deniedValues` - # @return [Array] - attr_accessor :denied_values - - # The policy all_values state. - # Corresponds to the JSON property `allValues` - # @return [String] - attr_accessor :all_values - - # List of values allowed at this resource. Can only be set if no values - # are set for `denied_values` and `all_values` is set to - # `ALL_VALUES_UNSPECIFIED`. - # Corresponds to the JSON property `allowedValues` - # @return [Array] - attr_accessor :allowed_values - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @inherit_from_parent = args[:inherit_from_parent] if args.key?(:inherit_from_parent) - @suggested_value = args[:suggested_value] if args.key?(:suggested_value) - @denied_values = args[:denied_values] if args.key?(:denied_values) @all_values = args[:all_values] if args.key?(:all_values) @allowed_values = args[:allowed_values] if args.key?(:allowed_values) + @denied_values = args[:denied_values] if args.key?(:denied_values) + @inherit_from_parent = args[:inherit_from_parent] if args.key?(:inherit_from_parent) + @suggested_value = args[:suggested_value] if args.key?(:suggested_value) end end - # Response from the GetAncestry method. - class GetAncestryResponse - include Google::Apis::Core::Hashable - - # Ancestors are ordered from bottom to top of the resource hierarchy. The - # first ancestor is the project itself, followed by the project's parent, - # etc. - # Corresponds to the JSON property `ancestor` - # @return [Array] - attr_accessor :ancestor - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ancestor = args[:ancestor] if args.key?(:ancestor) - end - end - - # Provides the configuration for logging a type of permissions. - # Example: - # ` - # "audit_log_configs": [ - # ` - # "log_type": "DATA_READ", - # "exempted_members": [ - # "user:foo@gmail.com" - # ] - # `, - # ` - # "log_type": "DATA_WRITE", - # ` - # ] - # ` - # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting - # foo@gmail.com from DATA_READ logging. - class AuditLogConfig - include Google::Apis::Core::Hashable - - # The log type that this config enables. - # Corresponds to the JSON property `logType` - # @return [String] - attr_accessor :log_type - - # Specifies the identities that do not cause logging for this type of - # permission. - # Follows the same format of Binding.members. - # Corresponds to the JSON property `exemptedMembers` - # @return [Array] - attr_accessor :exempted_members - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @log_type = args[:log_type] if args.key?(:log_type) - @exempted_members = args[:exempted_members] if args.key?(:exempted_members) - end - end - - # The request sent to the `SearchOrganizations` method. - class SearchOrganizationsRequest - include Google::Apis::Core::Hashable - - # An optional query string used to filter the Organizations to return in - # the response. Filter rules are case-insensitive. - # Organizations may be filtered by `owner.directoryCustomerId` or by - # `domain`, where the domain is a Google for Work domain, for example: - # |Filter|Description| - # |------|-----------| - # |owner.directorycustomerid:123456789|Organizations with - # `owner.directory_customer_id` equal to `123456789`.| - # |domain:google.com|Organizations corresponding to the domain `google.com`.| - # This field is optional. - # Corresponds to the JSON property `filter` - # @return [String] - attr_accessor :filter - - # A pagination token returned from a previous call to `SearchOrganizations` - # that indicates from where listing should continue. - # This field is optional. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # The maximum number of Organizations to return in the response. - # This field is optional. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @filter = args[:filter] if args.key?(:filter) - @page_token = args[:page_token] if args.key?(:page_token) - @page_size = args[:page_size] if args.key?(:page_size) - end - end - - # The request sent to the - # GetAncestry + # A page of the response received from the + # ListProjects # method. - class GetAncestryRequest + # A paginated response where more pages are available has + # `next_page_token` set. This token can be used in a subsequent request to + # retrieve the next request page. + class ListProjectsResponse include Google::Apis::Core::Hashable + # Pagination token. + # If the result set is too large to fit in a single response, this token + # is returned. It encodes the position of the current result cursor. + # Feeding this value into a new list request with the `page_token` parameter + # gives the next page of the results. + # When `next_page_token` is not filled in, there is no next page and + # the list returned is the last page in the result set. + # Pagination tokens have a limited lifetime. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of Projects that matched the list filter. This list can + # be paginated. + # Corresponds to the JSON property `projects` + # @return [Array] + attr_accessor :projects + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - end - end - - # Request message for `TestIamPermissions` method. - class TestIamPermissionsRequest - include Google::Apis::Core::Hashable - - # The set of permissions to check for the `resource`. Permissions with - # wildcards (such as '*' or 'storage.*') are not allowed. For more - # information see - # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - end - end - - # The request sent to the [ListAvailableOrgPolicyConstraints] - # google.cloud.OrgPolicy.v1.ListAvailableOrgPolicyConstraints] method. - class ListAvailableOrgPolicyConstraintsRequest - include Google::Apis::Core::Hashable - - # Page token used to retrieve the next page. This is currently unsupported - # and will be ignored. The server may at any point start using this field. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # Size of the pages to be returned. This is currently unsupported and will - # be ignored. The server may at any point start using this field to limit - # page size. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @page_token = args[:page_token] if args.key?(:page_token) - @page_size = args[:page_size] if args.key?(:page_size) - end - end - - # Defines an Identity and Access Management (IAM) policy. It is used to - # specify access control policies for Cloud Platform resources. - # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of - # `members` to a `role`, where the members can be user accounts, Google groups, - # Google domains, and service 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:sean@example.com"] - # ` - # ] - # ` - # For a description of IAM and its features, see the - # [IAM developer's guide](https://cloud.google.com/iam). - class Policy - include Google::Apis::Core::Hashable - - # Version of the `Policy`. The default version is 0. - # Corresponds to the JSON property `version` - # @return [Fixnum] - attr_accessor :version - - # Specifies cloud audit logging configuration for this policy. - # Corresponds to the JSON property `auditConfigs` - # @return [Array] - attr_accessor :audit_configs - - # Associates a list of `members` to a `role`. - # `bindings` with no members will result in an error. - # Corresponds to the JSON property `bindings` - # @return [Array] - attr_accessor :bindings - - # `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 to perform policy updates in order to avoid race - # conditions: An `etag` is returned in the response to `getIamPolicy`, and - # systems are expected to put that etag in the request to `setIamPolicy` to - # ensure that their change will be applied to the same version of the policy. - # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. - # Corresponds to the JSON property `etag` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :etag - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @version = args[:version] if args.key?(:version) - @audit_configs = args[:audit_configs] if args.key?(:audit_configs) - @bindings = args[:bindings] if args.key?(:bindings) - @etag = args[:etag] if args.key?(:etag) - end - end - - # Metadata describing a long running folder operation - class FolderOperation - include Google::Apis::Core::Hashable - - # The type of this operation. - # Corresponds to the JSON property `operationType` - # @return [String] - attr_accessor :operation_type - - # The resource name of the folder's parent. - # Only applicable when the operation_type is MOVE. - # Corresponds to the JSON property `sourceParent` - # @return [String] - attr_accessor :source_parent - - # The display name of the folder. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # The resource name of the folder or organization we are either creating - # the folder under or moving the folder to. - # Corresponds to the JSON property `destinationParent` - # @return [String] - attr_accessor :destination_parent - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @operation_type = args[:operation_type] if args.key?(:operation_type) - @source_parent = args[:source_parent] if args.key?(:source_parent) - @display_name = args[:display_name] if args.key?(:display_name) - @destination_parent = args[:destination_parent] if args.key?(:destination_parent) - end - end - - # A container to reference an id for any resource type. A `resource` in Google - # Cloud Platform is a generic term for something you (a developer) may want to - # interact with through one of our API's. Some examples are an App Engine app, - # a Compute Engine instance, a Cloud SQL database, and so on. - class ResourceId - include Google::Apis::Core::Hashable - - # Required field representing the resource type this id is for. - # At present, the valid types are: "organization" - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # Required field for the type-specific id. This should correspond to the id - # used in the type-specific API's. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @type = args[:type] if args.key?(:type) - @id = args[:id] if args.key?(:id) - end - end - - # The request sent to the GetEffectiveOrgPolicy method. - class GetEffectiveOrgPolicyRequest - include Google::Apis::Core::Hashable - - # The name of the `Constraint` to compute the effective `Policy`. - # Corresponds to the JSON property `constraint` - # @return [String] - attr_accessor :constraint - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @constraint = args[:constraint] if args.key?(:constraint) - end - end - - # The request sent to the ListOrgPolicies method. - class ListOrgPoliciesRequest - include Google::Apis::Core::Hashable - - # Page token used to retrieve the next page. This is currently unsupported - # and will be ignored. The server may at any point start using this field. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # Size of the pages to be returned. This is currently unsupported and will - # be ignored. The server may at any point start using this field to limit - # page size. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @page_token = args[:page_token] if args.key?(:page_token) - @page_size = args[:page_size] if args.key?(:page_size) - end - end - - # Specifies the audit configuration for a service. - # The configuration determines which permission types are logged, and what - # identities, if any, are exempted from logging. - # An AuditConfig must have one or more AuditLogConfigs. - # If there are AuditConfigs for both `allServices` and a specific service, - # the union of the two AuditConfigs is used for that service: the log_types - # specified in each AuditConfig are enabled, and the exempted_members in each - # AuditConfig are exempted. - # Example Policy with multiple AuditConfigs: - # ` - # "audit_configs": [ - # ` - # "service": "allServices" - # "audit_log_configs": [ - # ` - # "log_type": "DATA_READ", - # "exempted_members": [ - # "user:foo@gmail.com" - # ] - # `, - # ` - # "log_type": "DATA_WRITE", - # `, - # ` - # "log_type": "ADMIN_READ", - # ` - # ] - # `, - # ` - # "service": "fooservice.googleapis.com" - # "audit_log_configs": [ - # ` - # "log_type": "DATA_READ", - # `, - # ` - # "log_type": "DATA_WRITE", - # "exempted_members": [ - # "user:bar@gmail.com" - # ] - # ` - # ] - # ` - # ] - # ` - # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ - # logging. It also exempts foo@gmail.com from DATA_READ logging, and - # bar@gmail.com from DATA_WRITE logging. - class AuditConfig - include Google::Apis::Core::Hashable - - # Specifies a service that will be enabled for audit logging. - # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. - # `allServices` is a special value that covers all services. - # Corresponds to the JSON property `service` - # @return [String] - attr_accessor :service - - # The configuration for logging of each type of permission. - # Next ID: 4 - # Corresponds to the JSON property `auditLogConfigs` - # @return [Array] - attr_accessor :audit_log_configs - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @service = args[:service] if args.key?(:service) - @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @projects = args[:projects] if args.key?(:projects) end end @@ -809,14 +935,6 @@ module Google class Operation include Google::Apis::Core::Hashable - # 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. @@ -825,25 +943,6 @@ module Google attr_accessor :done alias_method :done?, :done - # 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 - - # 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 - # 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: @@ -887,118 +986,604 @@ module Google # @return [Google::Apis::CloudresourcemanagerV1::Status] attr_accessor :error - def initialize(**args) - update!(**args) - end + # 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 - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @done = args[:done] if args.key?(:done) - @response = args[:response] if args.key?(:response) - @name = args[:name] if args.key?(:name) - @error = args[:error] if args.key?(:error) - end - end - - # A `Constraint` describes a way in which a resource's configuration can be - # restricted. For example, it controls which cloud services can be activated - # across an organization, or whether a Compute Engine instance can have - # serial port connections established. `Constraints` can be configured by the - # organization's policy adminstrator to fit the needs of the organzation by - # setting Policies for `Constraints` at different locations in the - # organization's resource hierarchy. Policies are inherited down the resource - # hierarchy from higher levels, but can also be overridden. For details about - # the inheritance rules please read about - # Policies. - # `Constraints` have a default behavior determined by the `constraint_default` - # field, which is the enforcement behavior that is used in the absence of a - # `Policy` being defined or inherited for the resource in question. - class Constraint - include Google::Apis::Core::Hashable - - # A `Constraint` that allows or disallows a list of string values, which are - # configured by an Organization's policy administrator with a `Policy`. - # Corresponds to the JSON property `listConstraint` - # @return [Google::Apis::CloudresourcemanagerV1::ListConstraint] - attr_accessor :list_constraint - - # Version of the `Constraint`. Default version is 0; - # Corresponds to the JSON property `version` - # @return [Fixnum] - attr_accessor :version - - # The human readable name. - # Mutable. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Detailed description of what this `Constraint` controls as well as how and - # where it is enforced. - # Mutable. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # A `Constraint` that is either enforced or not. - # For example a constraint `constraints/compute.disableSerialPortAccess`. - # If it is enforced on a VM instance, serial port connections will not be - # opened to that instance. - # Corresponds to the JSON property `booleanConstraint` - # @return [Google::Apis::CloudresourcemanagerV1::BooleanConstraint] - attr_accessor :boolean_constraint - - # The evaluation behavior of this constraint in the absense of 'Policy'. - # Corresponds to the JSON property `constraintDefault` - # @return [String] - attr_accessor :constraint_default - - # Immutable value, required to globally be unique. For example, - # `constraints/serviceuser.services` + # 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 + # 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) - @list_constraint = args[:list_constraint] if args.key?(:list_constraint) - @version = args[:version] if args.key?(:version) - @display_name = args[:display_name] if args.key?(:display_name) - @description = args[:description] if args.key?(:description) - @boolean_constraint = args[:boolean_constraint] if args.key?(:boolean_constraint) - @constraint_default = args[:constraint_default] if args.key?(:constraint_default) + @done = args[:done] if args.key?(:done) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) @name = args[:name] if args.key?(:name) + @response = args[:response] if args.key?(:response) end end - # The response message for Liens.ListLiens. - class ListLiensResponse + # Defines a Cloud Organization `Policy` which is used to specify `Constraints` + # for configurations of Cloud Platform resources. + class OrgPolicy include Google::Apis::Core::Hashable - # A list of Liens. - # Corresponds to the JSON property `liens` - # @return [Array] - attr_accessor :liens + # Used in `policy_type` to specify how `boolean_policy` will behave at this + # resource. + # Corresponds to the JSON property `booleanPolicy` + # @return [Google::Apis::CloudresourcemanagerV1::BooleanPolicy] + attr_accessor :boolean_policy - # Token to retrieve the next page of results, or empty if there are no more - # results in the list. + # The name of the `Constraint` the `Policy` is configuring, for example, + # `constraints/serviceuser.services`. + # Immutable after creation. + # Corresponds to the JSON property `constraint` + # @return [String] + attr_accessor :constraint + + # An opaque tag indicating the current version of the `Policy`, used for + # concurrency control. + # When the `Policy` is returned from either a `GetPolicy` or a + # `ListOrgPolicy` request, this `etag` indicates the version of the current + # `Policy` to use when executing a read-modify-write loop. + # When the `Policy` is returned from a `GetEffectivePolicy` request, the + # `etag` will be unset. + # When the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value + # that was returned from a `GetOrgPolicy` request as part of a + # read-modify-write loop for concurrency control. Not setting the `etag`in a + # `SetOrgPolicy` request will result in an unconditional write of the + # `Policy`. + # Corresponds to the JSON property `etag` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :etag + + # Used in `policy_type` to specify how `list_policy` behaves at this + # resource. + # A `ListPolicy` can define specific values that are allowed or denied by + # setting either the `allowed_values` or `denied_values` fields. It can also + # be used to allow or deny all values, by setting the `all_values` field. If + # `all_values` is `ALL_VALUES_UNSPECIFIED`, exactly one of `allowed_values` + # or `denied_values` must be set (attempting to set both or neither will + # result in a failed request). If `all_values` is set to either `ALLOW` or + # `DENY`, `allowed_values` and `denied_values` must be unset. + # Corresponds to the JSON property `listPolicy` + # @return [Google::Apis::CloudresourcemanagerV1::ListPolicy] + attr_accessor :list_policy + + # Ignores policies set above this resource and restores the + # `constraint_default` enforcement behavior of the specific `Constraint` at + # this resource. + # Suppose that `constraint_default` is set to `ALLOW` for the + # `Constraint` `constraints/serviceuser.services`. Suppose that organization + # foo.com sets a `Policy` at their Organization resource node that restricts + # the allowed service activations to deny all service activations. They + # could then set a `Policy` with the `policy_type` `restore_default` on + # several experimental projects, restoring the `constraint_default` + # enforcement of the `Constraint` for only those projects, allowing those + # projects to have all services activated. + # Corresponds to the JSON property `restoreDefault` + # @return [Google::Apis::CloudresourcemanagerV1::RestoreDefault] + attr_accessor :restore_default + + # The time stamp the `Policy` was previously updated. This is set by the + # server, not specified by the caller, and represents the last time a call to + # `SetOrgPolicy` was made for that `Policy`. Any value set by the client will + # be ignored. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + # Version of the `Policy`. Default version is 0; + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @boolean_policy = args[:boolean_policy] if args.key?(:boolean_policy) + @constraint = args[:constraint] if args.key?(:constraint) + @etag = args[:etag] if args.key?(:etag) + @list_policy = args[:list_policy] if args.key?(:list_policy) + @restore_default = args[:restore_default] if args.key?(:restore_default) + @update_time = args[:update_time] if args.key?(:update_time) + @version = args[:version] if args.key?(:version) + end + end + + # The root node in the resource hierarchy to which a particular entity's + # (e.g., company) resources belong. + class Organization + include Google::Apis::Core::Hashable + + # Timestamp when the Organization was created. Assigned by the server. + # @OutputOnly + # Corresponds to the JSON property `creationTime` + # @return [String] + attr_accessor :creation_time + + # A friendly string to be used to refer to the Organization in the UI. + # Assigned by the server, set to the primary domain of the G Suite + # customer that owns the organization. + # @OutputOnly + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The organization's current lifecycle state. Assigned by the server. + # @OutputOnly + # Corresponds to the JSON property `lifecycleState` + # @return [String] + attr_accessor :lifecycle_state + + # Output Only. The resource name of the organization. This is the + # organization's relative path in the API. Its format is + # "organizations/[organization_id]". For example, "organizations/1234". + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The entity that owns an Organization. The lifetime of the Organization and + # all of its descendants are bound to the `OrganizationOwner`. If the + # `OrganizationOwner` is deleted, the Organization and all its descendants will + # be deleted. + # Corresponds to the JSON property `owner` + # @return [Google::Apis::CloudresourcemanagerV1::OrganizationOwner] + attr_accessor :owner + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creation_time = args[:creation_time] if args.key?(:creation_time) + @display_name = args[:display_name] if args.key?(:display_name) + @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state) + @name = args[:name] if args.key?(:name) + @owner = args[:owner] if args.key?(:owner) + end + end + + # The entity that owns an Organization. The lifetime of the Organization and + # all of its descendants are bound to the `OrganizationOwner`. If the + # `OrganizationOwner` is deleted, the Organization and all its descendants will + # be deleted. + class OrganizationOwner + include Google::Apis::Core::Hashable + + # The Google for Work customer id used in the Directory API. + # Corresponds to the JSON property `directoryCustomerId` + # @return [String] + attr_accessor :directory_customer_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @directory_customer_id = args[:directory_customer_id] if args.key?(:directory_customer_id) + end + end + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service 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:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + class Policy + include Google::Apis::Core::Hashable + + # Specifies cloud audit logging configuration for this policy. + # Corresponds to the JSON property `auditConfigs` + # @return [Array] + attr_accessor :audit_configs + + # Associates a list of `members` to a `role`. + # `bindings` with no members will result in an error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + + # `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 to perform policy updates in order to avoid race + # conditions: An `etag` is returned in the response to `getIamPolicy`, and + # systems are expected to put that etag in the request to `setIamPolicy` to + # ensure that their change will be applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :etag + + # Version of the `Policy`. The default version is 0. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audit_configs = args[:audit_configs] if args.key?(:audit_configs) + @bindings = args[:bindings] if args.key?(:bindings) + @etag = args[:etag] if args.key?(:etag) + @version = args[:version] if args.key?(:version) + end + end + + # A Project is a high-level Google Cloud Platform entity. It is a + # container for ACLs, APIs, App Engine Apps, VMs, and other + # Google Cloud Platform resources. + class Project + include Google::Apis::Core::Hashable + + # Creation time. + # Read-only. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # The labels associated with this Project. + # Label keys must be between 1 and 63 characters long and must conform + # to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + # Label values must be between 0 and 63 characters long and must conform + # to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + # No more than 256 labels can be associated with a given resource. + # Clients should store labels in a representation such as JSON that does not + # depend on specific characters being disallowed. + # Example: "environment" : "dev" + # Read-write. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # The Project lifecycle state. + # Read-only. + # Corresponds to the JSON property `lifecycleState` + # @return [String] + attr_accessor :lifecycle_state + + # The user-assigned display name of the Project. + # It must be 4 to 30 characters. + # Allowed characters are: lowercase and uppercase letters, numbers, + # hyphen, single-quote, double-quote, space, and exclamation point. + # Example: My Project + # Read-write. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # A container to reference an id for any resource type. A `resource` in Google + # Cloud Platform is a generic term for something you (a developer) may want to + # interact with through one of our API's. Some examples are an App Engine app, + # a Compute Engine instance, a Cloud SQL database, and so on. + # Corresponds to the JSON property `parent` + # @return [Google::Apis::CloudresourcemanagerV1::ResourceId] + attr_accessor :parent + + # The unique, user-assigned ID of the Project. + # It must be 6 to 30 lowercase letters, digits, or hyphens. + # It must start with a letter. + # Trailing hyphens are prohibited. + # Example: tokyo-rain-123 + # Read-only after creation. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # The number uniquely identifying the project. + # Example: 415104041262 + # Read-only. + # Corresponds to the JSON property `projectNumber` + # @return [Fixnum] + attr_accessor :project_number + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @labels = args[:labels] if args.key?(:labels) + @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state) + @name = args[:name] if args.key?(:name) + @parent = args[:parent] if args.key?(:parent) + @project_id = args[:project_id] if args.key?(:project_id) + @project_number = args[:project_number] if args.key?(:project_number) + end + end + + # A status object which is used as the `metadata` field for the Operation + # returned by CreateProject. It provides insight for when significant phases of + # Project creation have completed. + class ProjectCreationStatus + include Google::Apis::Core::Hashable + + # Creation time of the project creation workflow. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # True if the project can be retrieved using GetProject. No other operations + # on the project are guaranteed to work until the project creation is + # complete. + # Corresponds to the JSON property `gettable` + # @return [Boolean] + attr_accessor :gettable + alias_method :gettable?, :gettable + + # True if the project creation process is complete. + # Corresponds to the JSON property `ready` + # @return [Boolean] + attr_accessor :ready + alias_method :ready?, :ready + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @gettable = args[:gettable] if args.key?(:gettable) + @ready = args[:ready] if args.key?(:ready) + end + end + + # A container to reference an id for any resource type. A `resource` in Google + # Cloud Platform is a generic term for something you (a developer) may want to + # interact with through one of our API's. Some examples are an App Engine app, + # a Compute Engine instance, a Cloud SQL database, and so on. + class ResourceId + include Google::Apis::Core::Hashable + + # Required field for the type-specific id. This should correspond to the id + # used in the type-specific API's. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Required field representing the resource type this id is for. + # At present, the valid types are: "organization" + # 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) + @id = args[:id] if args.key?(:id) + @type = args[:type] if args.key?(:type) + end + end + + # Ignores policies set above this resource and restores the + # `constraint_default` enforcement behavior of the specific `Constraint` at + # this resource. + # Suppose that `constraint_default` is set to `ALLOW` for the + # `Constraint` `constraints/serviceuser.services`. Suppose that organization + # foo.com sets a `Policy` at their Organization resource node that restricts + # the allowed service activations to deny all service activations. They + # could then set a `Policy` with the `policy_type` `restore_default` on + # several experimental projects, restoring the `constraint_default` + # enforcement of the `Constraint` for only those projects, allowing those + # projects to have all services activated. + class RestoreDefault + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # The request sent to the `SearchOrganizations` method. + class SearchOrganizationsRequest + include Google::Apis::Core::Hashable + + # An optional query string used to filter the Organizations to return in + # the response. Filter rules are case-insensitive. + # Organizations may be filtered by `owner.directoryCustomerId` or by + # `domain`, where the domain is a Google for Work domain, for example: + # |Filter|Description| + # |------|-----------| + # |owner.directorycustomerid:123456789|Organizations with + # `owner.directory_customer_id` equal to `123456789`.| + # |domain:google.com|Organizations corresponding to the domain `google.com`.| + # This field is optional. + # Corresponds to the JSON property `filter` + # @return [String] + attr_accessor :filter + + # The maximum number of Organizations to return in the response. + # This field is optional. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # A pagination token returned from a previous call to `SearchOrganizations` + # that indicates from where listing should continue. + # This field is optional. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @filter = args[:filter] if args.key?(:filter) + @page_size = args[:page_size] if args.key?(:page_size) + @page_token = args[:page_token] if args.key?(:page_token) + end + end + + # The response returned from the `SearchOrganizations` method. + class SearchOrganizationsResponse + include Google::Apis::Core::Hashable + + # A pagination token to be used to retrieve the next page of results. If the + # result is too large to fit within the page size specified in the request, + # this field will be set with a token that can be used to fetch the next page + # of results. If this field is empty, it indicates that this response + # contains the last page of results. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token + # The list of Organizations that matched the search query, possibly + # paginated. + # Corresponds to the JSON property `organizations` + # @return [Array] + attr_accessor :organizations + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @liens = args[:liens] if args.key?(:liens) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @organizations = args[:organizations] if args.key?(:organizations) + end + end + + # Request message for `SetIamPolicy` method. + class SetIamPolicyRequest + include Google::Apis::Core::Hashable + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service 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: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` + # @return [Google::Apis::CloudresourcemanagerV1::Policy] + attr_accessor :policy + + # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only + # the fields in the mask will be modified. If no mask is provided, the + # following default mask is used: + # paths: "bindings, etag" + # This field is only used by Cloud IAM. + # Corresponds to the JSON property `updateMask` + # @return [String] + attr_accessor :update_mask + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy = args[:policy] if args.key?(:policy) + @update_mask = args[:update_mask] if args.key?(:update_mask) + end + end + + # The request sent to the SetOrgPolicyRequest method. + class SetOrgPolicyRequest + include Google::Apis::Core::Hashable + + # Defines a Cloud Organization `Policy` which is used to specify `Constraints` + # for configurations of Cloud Platform resources. + # Corresponds to the JSON property `policy` + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + attr_accessor :policy + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy = args[:policy] if args.key?(:policy) end end @@ -1049,6 +1634,12 @@ module Google # @return [Fixnum] attr_accessor :code + # A list of messages that carry the error details. There is 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. @@ -1056,12 +1647,6 @@ module Google # @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 @@ -1069,177 +1654,22 @@ module Google # 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) + @message = args[:message] if args.key?(:message) end end - # Associates `members` with a `role`. - class Binding + # Request message for `TestIamPermissions` method. + class TestIamPermissionsRequest include Google::Apis::Core::Hashable - # Specifies the identities requesting access for a Cloud Platform resource. - # `members` can have the following values: - # * `allUsers`: A special identifier that represents anyone who is - # on the internet; with or without a Google account. - # * `allAuthenticatedUsers`: A special identifier that represents anyone - # who is authenticated with a Google account or a service account. - # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@gmail.com` or `joe@example.com`. - # * `serviceAccount:`emailid``: An email address that represents a service - # account. For example, `my-other-app@appspot.gserviceaccount.com`. - # * `group:`emailid``: An email address that represents a Google group. - # For example, `admins@example.com`. - # * `domain:`domain``: A Google Apps domain name that represents all the - # users of that domain. For example, `google.com` or `example.com`. - # Corresponds to the JSON property `members` + # The set of permissions to check for the `resource`. Permissions with + # wildcards (such as '*' or 'storage.*') are not allowed. For more + # information see + # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + # Corresponds to the JSON property `permissions` # @return [Array] - attr_accessor :members - - # Role that is assigned to `members`. - # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. - # Required - # Corresponds to the JSON property `role` - # @return [String] - attr_accessor :role - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @members = args[:members] if args.key?(:members) - @role = args[:role] if args.key?(:role) - end - end - - # Ignores policies set above this resource and restores the - # `constraint_default` enforcement behavior of the specific `Constraint` at - # this resource. - # Suppose that `constraint_default` is set to `ALLOW` for the - # `Constraint` `constraints/serviceuser.services`. Suppose that organization - # foo.com sets a `Policy` at their Organization resource node that restricts - # the allowed service activations to deny all service activations. They - # could then set a `Policy` with the `policy_type` `restore_default` on - # several experimental projects, restoring the `constraint_default` - # enforcement of the `Constraint` for only those projects, allowing those - # projects to have all services activated. - class RestoreDefault - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # The request sent to the GetOrgPolicy method. - class GetOrgPolicyRequest - include Google::Apis::Core::Hashable - - # Name of the `Constraint` to get the `Policy`. - # Corresponds to the JSON property `constraint` - # @return [String] - attr_accessor :constraint - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @constraint = args[:constraint] if args.key?(:constraint) - end - end - - # The request sent to the ClearOrgPolicy method. - class ClearOrgPolicyRequest - include Google::Apis::Core::Hashable - - # The current version, for concurrency control. Not sending an `etag` - # will cause the `Policy` to be cleared blindly. - # Corresponds to the JSON property `etag` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :etag - - # Name of the `Constraint` of the `Policy` to clear. - # Corresponds to the JSON property `constraint` - # @return [String] - attr_accessor :constraint - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @etag = args[:etag] if args.key?(:etag) - @constraint = args[:constraint] if args.key?(:constraint) - 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 - - # A status object which is used as the `metadata` field for the Operation - # returned by CreateProject. It provides insight for when significant phases of - # Project creation have completed. - class ProjectCreationStatus - include Google::Apis::Core::Hashable - - # True if the project creation process is complete. - # Corresponds to the JSON property `ready` - # @return [Boolean] - attr_accessor :ready - alias_method :ready?, :ready - - # True if the project can be retrieved using GetProject. No other operations - # on the project are guaranteed to work until the project creation is - # complete. - # Corresponds to the JSON property `gettable` - # @return [Boolean] - attr_accessor :gettable - alias_method :gettable?, :gettable - - # Creation time of the project creation workflow. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ready = args[:ready] if args.key?(:ready) - @gettable = args[:gettable] if args.key?(:gettable) - @create_time = args[:create_time] if args.key?(:create_time) - end - end - - # A `Constraint` that is either enforced or not. - # For example a constraint `constraints/compute.disableSerialPortAccess`. - # If it is enforced on a VM instance, serial port connections will not be - # opened to that instance. - class BooleanConstraint - include Google::Apis::Core::Hashable + attr_accessor :permissions def initialize(**args) update!(**args) @@ -1247,6 +1677,7 @@ module Google # Update properties of this object def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) end end @@ -1270,448 +1701,17 @@ module Google end end - # Request message for `GetIamPolicy` method. - class GetIamPolicyRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # The entity that owns an Organization. The lifetime of the Organization and - # all of its descendants are bound to the `OrganizationOwner`. If the - # `OrganizationOwner` is deleted, the Organization and all its descendants will - # be deleted. - class OrganizationOwner - include Google::Apis::Core::Hashable - - # The Google for Work customer id used in the Directory API. - # Corresponds to the JSON property `directoryCustomerId` - # @return [String] - attr_accessor :directory_customer_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @directory_customer_id = args[:directory_customer_id] if args.key?(:directory_customer_id) - end - end - - # A page of the response received from the - # ListProjects + # The request sent to the UndeleteProject # method. - # A paginated response where more pages are available has - # `next_page_token` set. This token can be used in a subsequent request to - # retrieve the next request page. - class ListProjectsResponse + class UndeleteProjectRequest include Google::Apis::Core::Hashable - # Pagination token. - # If the result set is too large to fit in a single response, this token - # is returned. It encodes the position of the current result cursor. - # Feeding this value into a new list request with the `page_token` parameter - # gives the next page of the results. - # When `next_page_token` is not filled in, there is no next page and - # the list returned is the last page in the result set. - # Pagination tokens have a limited lifetime. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The list of Projects that matched the list filter. This list can - # be paginated. - # Corresponds to the JSON property `projects` - # @return [Array] - attr_accessor :projects - 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) - @projects = args[:projects] if args.key?(:projects) - end - end - - # A Project is a high-level Google Cloud Platform entity. It is a - # container for ACLs, APIs, App Engine Apps, VMs, and other - # Google Cloud Platform resources. - class Project - include Google::Apis::Core::Hashable - - # The user-assigned display name of the Project. - # It must be 4 to 30 characters. - # Allowed characters are: lowercase and uppercase letters, numbers, - # hyphen, single-quote, double-quote, space, and exclamation point. - # Example: My Project - # Read-write. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The unique, user-assigned ID of the Project. - # It must be 6 to 30 lowercase letters, digits, or hyphens. - # It must start with a letter. - # Trailing hyphens are prohibited. - # Example: tokyo-rain-123 - # Read-only after creation. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # The Project lifecycle state. - # Read-only. - # Corresponds to the JSON property `lifecycleState` - # @return [String] - attr_accessor :lifecycle_state - - # The number uniquely identifying the project. - # Example: 415104041262 - # Read-only. - # Corresponds to the JSON property `projectNumber` - # @return [Fixnum] - attr_accessor :project_number - - # A container to reference an id for any resource type. A `resource` in Google - # Cloud Platform is a generic term for something you (a developer) may want to - # interact with through one of our API's. Some examples are an App Engine app, - # a Compute Engine instance, a Cloud SQL database, and so on. - # Corresponds to the JSON property `parent` - # @return [Google::Apis::CloudresourcemanagerV1::ResourceId] - attr_accessor :parent - - # The labels associated with this Project. - # Label keys must be between 1 and 63 characters long and must conform - # to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. - # Label values must be between 0 and 63 characters long and must conform - # to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. - # No more than 256 labels can be associated with a given resource. - # Clients should store labels in a representation such as JSON that does not - # depend on specific characters being disallowed. - # Example: "environment" : "dev" - # Read-write. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # Creation time. - # Read-only. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @project_id = args[:project_id] if args.key?(:project_id) - @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state) - @project_number = args[:project_number] if args.key?(:project_number) - @parent = args[:parent] if args.key?(:parent) - @labels = args[:labels] if args.key?(:labels) - @create_time = args[:create_time] if args.key?(:create_time) - end - end - - # The response returned from the ListOrgPolicies method. It will be empty - # if no `Policies` are set on the resource. - class ListOrgPoliciesResponse - include Google::Apis::Core::Hashable - - # The `Policies` that are set on the resource. It will be empty if no - # `Policies` are set. - # Corresponds to the JSON property `policies` - # @return [Array] - attr_accessor :policies - - # Page token used to retrieve the next page. This is currently not used, but - # the server may at any point start supplying a valid 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) - @policies = args[:policies] if args.key?(:policies) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # The response returned from the `SearchOrganizations` method. - class SearchOrganizationsResponse - include Google::Apis::Core::Hashable - - # A pagination token to be used to retrieve the next page of results. If the - # result is too large to fit within the page size specified in the request, - # this field will be set with a token that can be used to fetch the next page - # of results. If this field is empty, it indicates that this response - # contains the last page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The list of Organizations that matched the search query, possibly - # paginated. - # Corresponds to the JSON property `organizations` - # @return [Array] - attr_accessor :organizations - - 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) - @organizations = args[:organizations] if args.key?(:organizations) - end - end - - # A classification of the Folder Operation error. - class FolderOperationError - include Google::Apis::Core::Hashable - - # The type of operation error experienced. - # Corresponds to the JSON property `errorMessageId` - # @return [String] - attr_accessor :error_message_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @error_message_id = args[:error_message_id] if args.key?(:error_message_id) - end - end - - # Defines a Cloud Organization `Policy` which is used to specify `Constraints` - # for configurations of Cloud Platform resources. - class OrgPolicy - include Google::Apis::Core::Hashable - - # The time stamp the `Policy` was previously updated. This is set by the - # server, not specified by the caller, and represents the last time a call to - # `SetOrgPolicy` was made for that `Policy`. Any value set by the client will - # be ignored. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time - - # Version of the `Policy`. Default version is 0; - # Corresponds to the JSON property `version` - # @return [Fixnum] - attr_accessor :version - - # Ignores policies set above this resource and restores the - # `constraint_default` enforcement behavior of the specific `Constraint` at - # this resource. - # Suppose that `constraint_default` is set to `ALLOW` for the - # `Constraint` `constraints/serviceuser.services`. Suppose that organization - # foo.com sets a `Policy` at their Organization resource node that restricts - # the allowed service activations to deny all service activations. They - # could then set a `Policy` with the `policy_type` `restore_default` on - # several experimental projects, restoring the `constraint_default` - # enforcement of the `Constraint` for only those projects, allowing those - # projects to have all services activated. - # Corresponds to the JSON property `restoreDefault` - # @return [Google::Apis::CloudresourcemanagerV1::RestoreDefault] - attr_accessor :restore_default - - # Used in `policy_type` to specify how `list_policy` behaves at this - # resource. - # A `ListPolicy` can define specific values that are allowed or denied by - # setting either the `allowed_values` or `denied_values` fields. It can also - # be used to allow or deny all values, by setting the `all_values` field. If - # `all_values` is `ALL_VALUES_UNSPECIFIED`, exactly one of `allowed_values` - # or `denied_values` must be set (attempting to set both or neither will - # result in a failed request). If `all_values` is set to either `ALLOW` or - # `DENY`, `allowed_values` and `denied_values` must be unset. - # Corresponds to the JSON property `listPolicy` - # @return [Google::Apis::CloudresourcemanagerV1::ListPolicy] - attr_accessor :list_policy - - # An opaque tag indicating the current version of the `Policy`, used for - # concurrency control. - # When the `Policy` is returned from either a `GetPolicy` or a - # `ListOrgPolicy` request, this `etag` indicates the version of the current - # `Policy` to use when executing a read-modify-write loop. - # When the `Policy` is returned from a `GetEffectivePolicy` request, the - # `etag` will be unset. - # When the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value - # that was returned from a `GetOrgPolicy` request as part of a - # read-modify-write loop for concurrency control. Not setting the `etag`in a - # `SetOrgPolicy` request will result in an unconditional write of the - # `Policy`. - # Corresponds to the JSON property `etag` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :etag - - # The name of the `Constraint` the `Policy` is configuring, for example, - # `constraints/serviceuser.services`. - # Immutable after creation. - # Corresponds to the JSON property `constraint` - # @return [String] - attr_accessor :constraint - - # Used in `policy_type` to specify how `boolean_policy` will behave at this - # resource. - # Corresponds to the JSON property `booleanPolicy` - # @return [Google::Apis::CloudresourcemanagerV1::BooleanPolicy] - attr_accessor :boolean_policy - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @update_time = args[:update_time] if args.key?(:update_time) - @version = args[:version] if args.key?(:version) - @restore_default = args[:restore_default] if args.key?(:restore_default) - @list_policy = args[:list_policy] if args.key?(:list_policy) - @etag = args[:etag] if args.key?(:etag) - @constraint = args[:constraint] if args.key?(:constraint) - @boolean_policy = args[:boolean_policy] if args.key?(:boolean_policy) - end - end - - # Used in `policy_type` to specify how `boolean_policy` will behave at this - # resource. - class BooleanPolicy - include Google::Apis::Core::Hashable - - # If `true`, then the `Policy` is enforced. If `false`, then any - # configuration is acceptable. - # Suppose you have a `Constraint` `constraints/compute.disableSerialPortAccess` - # with `constraint_default` set to `ALLOW`. A `Policy` for that - # `Constraint` exhibits the following behavior: - # - If the `Policy` at this resource has enforced set to `false`, serial - # port connection attempts will be allowed. - # - If the `Policy` at this resource has enforced set to `true`, serial - # port connection attempts will be refused. - # - If the `Policy` at this resource is `RestoreDefault`, serial port - # connection attempts will be allowed. - # - If no `Policy` is set at this resource or anywhere higher in the - # resource hierarchy, serial port connection attempts will be allowed. - # - If no `Policy` is set at this resource, but one exists higher in the - # resource hierarchy, the behavior is as if the`Policy` were set at - # this resource. - # The following examples demonstrate the different possible layerings: - # Example 1 (nearest `Constraint` wins): - # `organizations/foo` has a `Policy` with: - # `enforced: false` - # `projects/bar` has no `Policy` set. - # The constraint at `projects/bar` and `organizations/foo` will not be - # enforced. - # Example 2 (enforcement gets replaced): - # `organizations/foo` has a `Policy` with: - # `enforced: false` - # `projects/bar` has a `Policy` with: - # `enforced: true` - # The constraint at `organizations/foo` is not enforced. - # The constraint at `projects/bar` is enforced. - # Example 3 (RestoreDefault): - # `organizations/foo` has a `Policy` with: - # `enforced: true` - # `projects/bar` has a `Policy` with: - # `RestoreDefault: ``` - # The constraint at `organizations/foo` is enforced. - # The constraint at `projects/bar` is not enforced, because - # `constraint_default` for the `Constraint` is `ALLOW`. - # Corresponds to the JSON property `enforced` - # @return [Boolean] - attr_accessor :enforced - alias_method :enforced?, :enforced - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @enforced = args[:enforced] if args.key?(:enforced) - end - end - - # A Lien represents an encumbrance on the actions that can be performed on a - # resource. - class Lien - include Google::Apis::Core::Hashable - - # A system-generated unique identifier for this Lien. - # Example: `liens/1234abcd` - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Concise user-visible strings indicating why an action cannot be performed - # on a resource. Maximum lenth of 200 characters. - # Example: 'Holds production API key' - # Corresponds to the JSON property `reason` - # @return [String] - attr_accessor :reason - - # A stable, user-visible/meaningful string identifying the origin of the - # Lien, intended to be inspected programmatically. Maximum length of 200 - # characters. - # Example: 'compute.googleapis.com' - # Corresponds to the JSON property `origin` - # @return [String] - attr_accessor :origin - - # The types of operations which should be blocked as a result of this Lien. - # Each value should correspond to an IAM permission. The server will - # validate the permissions against those for which Liens are supported. - # An empty list is meaningless and will be rejected. - # Example: ['resourcemanager.projects.delete'] - # Corresponds to the JSON property `restrictions` - # @return [Array] - attr_accessor :restrictions - - # A reference to the resource this Lien is attached to. The server will - # validate the parent against those for which Liens are supported. - # Example: `projects/1234` - # Corresponds to the JSON property `parent` - # @return [String] - attr_accessor :parent - - # The creation time of this Lien. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @reason = args[:reason] if args.key?(:reason) - @origin = args[:origin] if args.key?(:origin) - @restrictions = args[:restrictions] if args.key?(:restrictions) - @parent = args[:parent] if args.key?(:parent) - @create_time = args[:create_time] if args.key?(:create_time) end end end diff --git a/generated/google/apis/cloudresourcemanager_v1/representations.rb b/generated/google/apis/cloudresourcemanager_v1/representations.rb index 5d5e88c5d..831d9f4b5 100644 --- a/generated/google/apis/cloudresourcemanager_v1/representations.rb +++ b/generated/google/apis/cloudresourcemanager_v1/representations.rb @@ -28,49 +28,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ListConstraint - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SetOrgPolicyRequest - 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 Empty - 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 ListAvailableOrgPolicyConstraintsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListPolicy - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GetAncestryResponse + class AuditConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -82,169 +40,43 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class SearchOrganizationsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GetAncestryRequest - 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 ListAvailableOrgPolicyConstraintsRequest - 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 FolderOperation - 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 GetEffectiveOrgPolicyRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListOrgPoliciesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AuditConfig - 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 Constraint - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListLiensResponse - 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 Binding class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class RestoreDefault - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GetOrgPolicyRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ClearOrgPolicyRequest - 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 ProjectCreationStatus - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class BooleanConstraint class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class TestIamPermissionsResponse + class BooleanPolicy class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GetIamPolicyRequest + class ClearOrgPolicyRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class OrganizationOwner + class Constraint class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListProjectsResponse + class Empty 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 ListOrgPoliciesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SearchOrganizationsResponse + class FolderOperation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -256,13 +88,31 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class OrgPolicy + class GetAncestryRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class BooleanPolicy + class GetAncestryResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetEffectiveOrgPolicyRequest + 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 GetOrgPolicyRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -274,6 +124,156 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ListAvailableOrgPolicyConstraintsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListAvailableOrgPolicyConstraintsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListConstraint + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListLiensResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListOrgPoliciesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListOrgPoliciesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListPolicy + 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 Operation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OrgPolicy + 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 Policy + 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 ProjectCreationStatus + 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 RestoreDefault + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchOrganizationsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchOrganizationsResponse + 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 SetOrgPolicyRequest + 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 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 UndeleteProjectRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Ancestor # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -282,6 +282,153 @@ module Google end end + class AuditConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudresourcemanagerV1::AuditLogConfig, decorator: Google::Apis::CloudresourcemanagerV1::AuditLogConfig::Representation + + property :service, as: 'service' + end + end + + class AuditLogConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :exempted_members, as: 'exemptedMembers' + property :log_type, as: 'logType' + end + end + + class Binding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :members, as: 'members' + property :role, as: 'role' + end + end + + class BooleanConstraint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class BooleanPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :enforced, as: 'enforced' + end + end + + class ClearOrgPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :constraint, as: 'constraint' + property :etag, :base64 => true, as: 'etag' + end + end + + class Constraint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :boolean_constraint, as: 'booleanConstraint', class: Google::Apis::CloudresourcemanagerV1::BooleanConstraint, decorator: Google::Apis::CloudresourcemanagerV1::BooleanConstraint::Representation + + property :constraint_default, as: 'constraintDefault' + property :description, as: 'description' + property :display_name, as: 'displayName' + property :list_constraint, as: 'listConstraint', class: Google::Apis::CloudresourcemanagerV1::ListConstraint, decorator: Google::Apis::CloudresourcemanagerV1::ListConstraint::Representation + + property :name, as: 'name' + property :version, as: 'version' + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class FolderOperation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :destination_parent, as: 'destinationParent' + property :display_name, as: 'displayName' + property :operation_type, as: 'operationType' + property :source_parent, as: 'sourceParent' + end + end + + class FolderOperationError + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :error_message_id, as: 'errorMessageId' + end + end + + class GetAncestryRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GetAncestryResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :ancestor, as: 'ancestor', class: Google::Apis::CloudresourcemanagerV1::Ancestor, decorator: Google::Apis::CloudresourcemanagerV1::Ancestor::Representation + + end + end + + class GetEffectiveOrgPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :constraint, as: 'constraint' + end + end + + class GetIamPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GetOrgPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :constraint, as: 'constraint' + end + end + + class Lien + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :name, as: 'name' + property :origin, as: 'origin' + property :parent, as: 'parent' + property :reason, as: 'reason' + collection :restrictions, as: 'restrictions' + end + end + + class ListAvailableOrgPolicyConstraintsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :page_size, as: 'pageSize' + property :page_token, as: 'pageToken' + end + end + + class ListAvailableOrgPolicyConstraintsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :constraints, as: 'constraints', class: Google::Apis::CloudresourcemanagerV1::Constraint, decorator: Google::Apis::CloudresourcemanagerV1::Constraint::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + class ListConstraint # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -289,10 +436,162 @@ module Google end end - class SetOrgPolicyRequest + class ListLiensResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1::OrgPolicy, decorator: Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + collection :liens, as: 'liens', class: Google::Apis::CloudresourcemanagerV1::Lien, decorator: Google::Apis::CloudresourcemanagerV1::Lien::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListOrgPoliciesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :page_size, as: 'pageSize' + property :page_token, as: 'pageToken' + end + end + + class ListOrgPoliciesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :policies, as: 'policies', class: Google::Apis::CloudresourcemanagerV1::OrgPolicy, decorator: Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + + end + end + + class ListPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :all_values, as: 'allValues' + collection :allowed_values, as: 'allowedValues' + collection :denied_values, as: 'deniedValues' + property :inherit_from_parent, as: 'inheritFromParent' + property :suggested_value, as: 'suggestedValue' + end + end + + class ListProjectsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :projects, as: 'projects', class: Google::Apis::CloudresourcemanagerV1::Project, decorator: Google::Apis::CloudresourcemanagerV1::Project::Representation + + end + end + + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::CloudresourcemanagerV1::Status, decorator: Google::Apis::CloudresourcemanagerV1::Status::Representation + + hash :metadata, as: 'metadata' + property :name, as: 'name' + hash :response, as: 'response' + end + end + + class OrgPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :boolean_policy, as: 'booleanPolicy', class: Google::Apis::CloudresourcemanagerV1::BooleanPolicy, decorator: Google::Apis::CloudresourcemanagerV1::BooleanPolicy::Representation + + property :constraint, as: 'constraint' + property :etag, :base64 => true, as: 'etag' + property :list_policy, as: 'listPolicy', class: Google::Apis::CloudresourcemanagerV1::ListPolicy, decorator: Google::Apis::CloudresourcemanagerV1::ListPolicy::Representation + + property :restore_default, as: 'restoreDefault', class: Google::Apis::CloudresourcemanagerV1::RestoreDefault, decorator: Google::Apis::CloudresourcemanagerV1::RestoreDefault::Representation + + property :update_time, as: 'updateTime' + property :version, as: 'version' + end + end + + class Organization + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creation_time, as: 'creationTime' + property :display_name, as: 'displayName' + property :lifecycle_state, as: 'lifecycleState' + property :name, as: 'name' + property :owner, as: 'owner', class: Google::Apis::CloudresourcemanagerV1::OrganizationOwner, decorator: Google::Apis::CloudresourcemanagerV1::OrganizationOwner::Representation + + end + end + + class OrganizationOwner + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :directory_customer_id, as: 'directoryCustomerId' + end + end + + class Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudresourcemanagerV1::AuditConfig, decorator: Google::Apis::CloudresourcemanagerV1::AuditConfig::Representation + + collection :bindings, as: 'bindings', class: Google::Apis::CloudresourcemanagerV1::Binding, decorator: Google::Apis::CloudresourcemanagerV1::Binding::Representation + + property :etag, :base64 => true, as: 'etag' + property :version, as: 'version' + end + end + + class Project + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + hash :labels, as: 'labels' + property :lifecycle_state, as: 'lifecycleState' + property :name, as: 'name' + property :parent, as: 'parent', class: Google::Apis::CloudresourcemanagerV1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1::ResourceId::Representation + + property :project_id, as: 'projectId' + property :project_number, :numeric_string => true, as: 'projectNumber' + end + end + + class ProjectCreationStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :gettable, as: 'gettable' + property :ready, as: 'ready' + end + end + + class ResourceId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :type, as: 'type' + end + end + + class RestoreDefault + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class SearchOrganizationsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :filter, as: 'filter' + property :page_size, as: 'pageSize' + property :page_token, as: 'pageToken' + end + end + + class SearchOrganizationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :organizations, as: 'organizations', class: Google::Apis::CloudresourcemanagerV1::Organization, decorator: Google::Apis::CloudresourcemanagerV1::Organization::Representation end end @@ -306,72 +605,20 @@ module Google end end - class Empty + class SetOrgPolicyRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class Organization - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :lifecycle_state, as: 'lifecycleState' - property :owner, as: 'owner', class: Google::Apis::CloudresourcemanagerV1::OrganizationOwner, decorator: Google::Apis::CloudresourcemanagerV1::OrganizationOwner::Representation - - property :name, as: 'name' - property :display_name, as: 'displayName' - property :creation_time, as: 'creationTime' - end - end - - class ListAvailableOrgPolicyConstraintsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :constraints, as: 'constraints', class: Google::Apis::CloudresourcemanagerV1::Constraint, decorator: Google::Apis::CloudresourcemanagerV1::Constraint::Representation + property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1::OrgPolicy, decorator: Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation end end - class ListPolicy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :inherit_from_parent, as: 'inheritFromParent' - property :suggested_value, as: 'suggestedValue' - collection :denied_values, as: 'deniedValues' - property :all_values, as: 'allValues' - collection :allowed_values, as: 'allowedValues' - end - end - - class GetAncestryResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :ancestor, as: 'ancestor', class: Google::Apis::CloudresourcemanagerV1::Ancestor, decorator: Google::Apis::CloudresourcemanagerV1::Ancestor::Representation - - end - end - - class AuditLogConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :log_type, as: 'logType' - collection :exempted_members, as: 'exemptedMembers' - end - end - - class SearchOrganizationsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :filter, as: 'filter' - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' - end - end - - class GetAncestryRequest + class Status # @private class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :details, as: 'details' + property :message, as: 'message' end end @@ -382,139 +629,10 @@ module Google end end - class ListAvailableOrgPolicyConstraintsRequest + class TestIamPermissionsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' - end - end - - class Policy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :version, as: 'version' - collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudresourcemanagerV1::AuditConfig, decorator: Google::Apis::CloudresourcemanagerV1::AuditConfig::Representation - - collection :bindings, as: 'bindings', class: Google::Apis::CloudresourcemanagerV1::Binding, decorator: Google::Apis::CloudresourcemanagerV1::Binding::Representation - - property :etag, :base64 => true, as: 'etag' - end - end - - class FolderOperation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :operation_type, as: 'operationType' - property :source_parent, as: 'sourceParent' - property :display_name, as: 'displayName' - property :destination_parent, as: 'destinationParent' - end - end - - class ResourceId - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :id, as: 'id' - end - end - - class GetEffectiveOrgPolicyRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :constraint, as: 'constraint' - end - end - - class ListOrgPoliciesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' - end - end - - class AuditConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :service, as: 'service' - collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudresourcemanagerV1::AuditLogConfig, decorator: Google::Apis::CloudresourcemanagerV1::AuditLogConfig::Representation - - end - end - - class Operation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :metadata, as: 'metadata' - property :done, as: 'done' - hash :response, as: 'response' - property :name, as: 'name' - property :error, as: 'error', class: Google::Apis::CloudresourcemanagerV1::Status, decorator: Google::Apis::CloudresourcemanagerV1::Status::Representation - - end - end - - class Constraint - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :list_constraint, as: 'listConstraint', class: Google::Apis::CloudresourcemanagerV1::ListConstraint, decorator: Google::Apis::CloudresourcemanagerV1::ListConstraint::Representation - - property :version, as: 'version' - property :display_name, as: 'displayName' - property :description, as: 'description' - property :boolean_constraint, as: 'booleanConstraint', class: Google::Apis::CloudresourcemanagerV1::BooleanConstraint, decorator: Google::Apis::CloudresourcemanagerV1::BooleanConstraint::Representation - - property :constraint_default, as: 'constraintDefault' - property :name, as: 'name' - end - end - - class ListLiensResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :liens, as: 'liens', class: Google::Apis::CloudresourcemanagerV1::Lien, decorator: Google::Apis::CloudresourcemanagerV1::Lien::Representation - - property :next_page_token, as: 'nextPageToken' - 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 Binding - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :members, as: 'members' - property :role, as: 'role' - end - end - - class RestoreDefault - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class GetOrgPolicyRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :constraint, as: 'constraint' - end - end - - class ClearOrgPolicyRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :etag, :base64 => true, as: 'etag' - property :constraint, as: 'constraint' + collection :permissions, as: 'permissions' end end @@ -523,124 +641,6 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation end end - - class ProjectCreationStatus - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :ready, as: 'ready' - property :gettable, as: 'gettable' - property :create_time, as: 'createTime' - end - end - - class BooleanConstraint - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class TestIamPermissionsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions' - end - end - - class GetIamPolicyRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class OrganizationOwner - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :directory_customer_id, as: 'directoryCustomerId' - end - end - - class ListProjectsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :projects, as: 'projects', class: Google::Apis::CloudresourcemanagerV1::Project, decorator: Google::Apis::CloudresourcemanagerV1::Project::Representation - - end - end - - class Project - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :project_id, as: 'projectId' - property :lifecycle_state, as: 'lifecycleState' - property :project_number, :numeric_string => true, as: 'projectNumber' - property :parent, as: 'parent', class: Google::Apis::CloudresourcemanagerV1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1::ResourceId::Representation - - hash :labels, as: 'labels' - property :create_time, as: 'createTime' - end - end - - class ListOrgPoliciesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :policies, as: 'policies', class: Google::Apis::CloudresourcemanagerV1::OrgPolicy, decorator: Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class SearchOrganizationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :organizations, as: 'organizations', class: Google::Apis::CloudresourcemanagerV1::Organization, decorator: Google::Apis::CloudresourcemanagerV1::Organization::Representation - - end - end - - class FolderOperationError - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :error_message_id, as: 'errorMessageId' - end - end - - class OrgPolicy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :update_time, as: 'updateTime' - property :version, as: 'version' - property :restore_default, as: 'restoreDefault', class: Google::Apis::CloudresourcemanagerV1::RestoreDefault, decorator: Google::Apis::CloudresourcemanagerV1::RestoreDefault::Representation - - property :list_policy, as: 'listPolicy', class: Google::Apis::CloudresourcemanagerV1::ListPolicy, decorator: Google::Apis::CloudresourcemanagerV1::ListPolicy::Representation - - property :etag, :base64 => true, as: 'etag' - property :constraint, as: 'constraint' - property :boolean_policy, as: 'booleanPolicy', class: Google::Apis::CloudresourcemanagerV1::BooleanPolicy, decorator: Google::Apis::CloudresourcemanagerV1::BooleanPolicy::Representation - - end - end - - class BooleanPolicy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :enforced, as: 'enforced' - end - end - - class Lien - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :reason, as: 'reason' - property :origin, as: 'origin' - collection :restrictions, as: 'restrictions' - property :parent, as: 'parent' - property :create_time, as: 'createTime' - end - end end end end diff --git a/generated/google/apis/cloudresourcemanager_v1/service.rb b/generated/google/apis/cloudresourcemanager_v1/service.rb index 4d165767a..c8543a219 100644 --- a/generated/google/apis/cloudresourcemanager_v1/service.rb +++ b/generated/google/apis/cloudresourcemanager_v1/service.rb @@ -48,36 +48,108 @@ module Google @batch_path = 'batch' end - # Lists all the `Policies` set for a particular resource. + # Clears a `Policy` from a resource. # @param [String] resource - # Name of the resource to list Policies for. - # @param [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest] list_org_policies_request_object + # Name of the resource for the `Policy` to clear. + # @param [Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest] clear_org_policy_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 [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::CloudresourcemanagerV1::ListOrgPoliciesResponse] parsed result object + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Empty] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse] + # @return [Google::Apis::CloudresourcemanagerV1::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 list_organization_org_policies(resource, list_org_policies_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest::Representation - command.request_object = list_org_policies_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse + def clear_folder_org_policy(resource, clear_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest::Representation + command.request_object = clear_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Empty command.params['resource'] = resource unless resource.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 + + # Gets the effective `Policy` on a resource. This is the result of merging + # `Policies` in the resource hierarchy. The returned `Policy` will not have + # an `etag`set because it is a computed `Policy` across multiple resources. + # @param [String] resource + # The name of the resource to start computing the effective `Policy`. + # @param [Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_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::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @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_folder_effective_org_policy(resource, get_effective_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest::Representation + command.request_object = get_effective_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.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 a `Policy` on a resource. + # If no `Policy` is set on the resource, a `Policy` is returned with default + # values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The + # `etag` value can be used with `SetOrgPolicy()` to create or update a + # `Policy` during read-modify-write. + # @param [String] resource + # Name of the resource the `Policy` is set on. + # @param [Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest] get_org_policy_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::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @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_folder_org_policy(resource, get_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest::Representation + command.request_object = get_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -85,11 +157,11 @@ module Google # @param [String] resource # Name of the resource to list `Constraints` for. # @param [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest] list_available_org_policy_constraints_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -102,260 +174,48 @@ 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_organization_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def list_folder_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:listAvailableOrgPolicyConstraints', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest::Representation command.request_object = list_available_org_policy_constraints_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse command.params['resource'] = resource unless resource.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 - # Gets the access control policy for an Organization resource. May be empty - # if no such policy or resource exists. The `resource` field should be the - # organization's resource name, e.g. "organizations/123". - # Authorization requires the Google IAM permission - # `resourcemanager.organizations.getIamPolicy` on the specified organization + # Lists all the `Policies` set for a particular resource. # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. - # See the operation documentation for the appropriate value for this field. - # @param [Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest] get_iam_policy_request_object + # Name of the resource to list Policies for. + # @param [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest] list_org_policies_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 [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::CloudresourcemanagerV1::Policy] parsed result object + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::CloudresourcemanagerV1::Policy] + # @return [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse] # # @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_organization_iam_policy(resource, get_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest::Representation - command.request_object = get_iam_policy_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::Policy + def list_folder_org_policies(resource, list_org_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest::Representation + command.request_object = list_org_policies_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets a `Policy` on a resource. - # If no `Policy` is set on the resource, a `Policy` is returned with default - # values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The - # `etag` value can be used with `SetOrgPolicy()` to create or update a - # `Policy` during read-modify-write. - # @param [String] resource - # Name of the resource the `Policy` is set on. - # @param [Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest] get_org_policy_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::CloudresourcemanagerV1::OrgPolicy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] - # - # @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_organization_org_policy(resource, get_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicy', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest::Representation - command.request_object = get_org_policy_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy - command.params['resource'] = resource unless resource.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Searches Organization resources that are visible to the user and satisfy - # the specified filter. This method returns Organizations in an unspecified - # order. New Organizations do not necessarily appear at the end of the - # results. - # Search will only return organizations on which the user has the permission - # `resourcemanager.organizations.get` - # @param [Google::Apis::CloudresourcemanagerV1::SearchOrganizationsRequest] search_organizations_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::CloudresourcemanagerV1::SearchOrganizationsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::SearchOrganizationsResponse] - # - # @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 search_organizations(search_organizations_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/organizations:search', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::SearchOrganizationsRequest::Representation - command.request_object = search_organizations_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::SearchOrganizationsResponse::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::SearchOrganizationsResponse - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets the effective `Policy` on a resource. This is the result of merging - # `Policies` in the resource hierarchy. The returned `Policy` will not have - # an `etag`set because it is a computed `Policy` across multiple resources. - # @param [String] resource - # The name of the resource to start computing the effective `Policy`. - # @param [Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_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::CloudresourcemanagerV1::OrgPolicy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] - # - # @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_organization_effective_org_policy(resource, get_effective_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicy', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest::Representation - command.request_object = get_effective_org_policy_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Fetches an Organization resource identified by the specified resource name. - # @param [String] name - # The resource name of the Organization to fetch, e.g. "organizations/1234". - # @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::CloudresourcemanagerV1::Organization] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::Organization] - # - # @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_organization(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::CloudresourcemanagerV1::Organization::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::Organization - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Returns permissions that a caller has on the specified Organization. - # The `resource` field should be the organization's resource name, - # e.g. "organizations/123". - # There are no permissions required for making this API call. - # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. - # See the operation documentation for the appropriate value for this field. - # @param [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest] test_iam_permissions_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::CloudresourcemanagerV1::TestIamPermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse] - # - # @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 test_organization_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest::Representation - command.request_object = test_iam_permissions_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Clears a `Policy` from a resource. - # @param [String] resource - # Name of the resource for the `Policy` to clear. - # @param [Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest] clear_org_policy_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::CloudresourcemanagerV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::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 clear_organization_org_policy(resource, clear_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicy', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest::Representation - command.request_object = clear_org_policy_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::Empty - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -366,11 +226,11 @@ module Google # @param [String] resource # Resource name of the resource to attach the `Policy`. # @param [Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest] set_org_policy_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -383,158 +243,15 @@ 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 set_organization_org_policy(resource, set_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def set_folder_org_policy(resource, set_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicy', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest::Representation command.request_object = set_org_policy_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Sets the access control policy on an Organization resource. Replaces any - # existing policy. The `resource` field should be the organization's resource - # name, e.g. "organizations/123". - # Authorization requires the Google IAM permission - # `resourcemanager.organizations.setIamPolicy` on the specified organization - # @param [String] resource - # REQUIRED: The resource for which the policy is being specified. - # See the operation documentation for the appropriate value for this field. - # @param [Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest] set_iam_policy_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::CloudresourcemanagerV1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::Policy] - # - # @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 set_organization_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest::Representation - command.request_object = set_iam_policy_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::Policy - command.params['resource'] = resource unless resource.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.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] 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::CloudresourcemanagerV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::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, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::CloudresourcemanagerV1::Operation::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::Operation - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Delete a Lien by `name`. - # Callers of this method will require permission on the `parent` resource. - # For example, a Lien with a `parent` of `projects/1234` requires permission - # `resourcemanager.projects.updateLiens`. - # @param [String] name - # The name/identifier of the Lien to delete. - # @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::CloudresourcemanagerV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::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_lien(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+name}', options) - command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::Empty - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # List all Liens applied to the `parent` resource. - # Callers of this method will require permission on the `parent` resource. - # For example, a Lien with a `parent` of `projects/1234` requires permission - # `resourcemanager.projects.get`. - # @param [String] parent - # The name of the resource to list all attached Liens. - # For example, `projects/1234`. - # @param [String] page_token - # The `next_page_token` value returned from a previous List request, if any. - # @param [Fixnum] page_size - # The maximum number of items to return. This is a suggestion for the server. - # @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::CloudresourcemanagerV1::ListLiensResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::ListLiensResponse] - # - # @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_liens(parent: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/liens', options) - command.response_representation = Google::Apis::CloudresourcemanagerV1::ListLiensResponse::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::ListLiensResponse - command.query['parent'] = parent unless parent.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -544,11 +261,11 @@ module Google # `resourcemanager.projects.updateLiens`. # NOTE: Some resources may limit the number of Liens which may be applied. # @param [Google::Apis::CloudresourcemanagerV1::Lien] lien_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -561,26 +278,28 @@ 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 create_lien(lien_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def create_lien(lien_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/liens', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::Lien::Representation command.request_object = lien_object command.response_representation = Google::Apis::CloudresourcemanagerV1::Lien::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::Lien - 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 - # Clears a `Policy` from a resource. - # @param [String] resource - # Name of the resource for the `Policy` to clear. - # @param [Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest] clear_org_policy_request_object + # Delete a Lien by `name`. + # Callers of this method will require permission on the `parent` resource. + # For example, a Lien with a `parent` of `projects/1234` requires permission + # `resourcemanager.projects.updateLiens`. + # @param [String] name + # The name/identifier of the Lien 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -593,30 +312,162 @@ 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 clear_folder_org_policy(resource, clear_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def delete_lien(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::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 + + # List all Liens applied to the `parent` resource. + # Callers of this method will require permission on the `parent` resource. + # For example, a Lien with a `parent` of `projects/1234` requires permission + # `resourcemanager.projects.get`. + # @param [Fixnum] page_size + # The maximum number of items to return. This is a suggestion for the server. + # @param [String] page_token + # The `next_page_token` value returned from a previous List request, if any. + # @param [String] parent + # The name of the resource to list all attached Liens. + # For example, `projects/1234`. + # @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::CloudresourcemanagerV1::ListLiensResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::ListLiensResponse] + # + # @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_liens(page_size: nil, page_token: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/liens', options) + command.response_representation = Google::Apis::CloudresourcemanagerV1::ListLiensResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::ListLiensResponse + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['parent'] = parent unless parent.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::CloudresourcemanagerV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::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::CloudresourcemanagerV1::Operation::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::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 + + # Clears a `Policy` from a resource. + # @param [String] resource + # Name of the resource for the `Policy` to clear. + # @param [Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest] clear_org_policy_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::CloudresourcemanagerV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::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 clear_organization_org_policy(resource, clear_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicy', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest::Representation command.request_object = clear_org_policy_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::Empty command.params['resource'] = resource unless resource.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 - # Updates the specified `Policy` on the resource. Creates a new `Policy` for - # that `Constraint` on the resource if one does not exist. - # Not supplying an `etag` on the request `Policy` results in an unconditional - # write of the `Policy`. - # @param [String] resource - # Resource name of the resource to attach the `Policy`. - # @param [Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest] set_org_policy_request_object + # Fetches an Organization resource identified by the specified resource name. + # @param [String] name + # The resource name of the Organization to fetch, e.g. "organizations/1234". + # @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::CloudresourcemanagerV1::Organization] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Organization] + # + # @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_organization(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::CloudresourcemanagerV1::Organization::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Organization + 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 + + # Gets the effective `Policy` on a resource. This is the result of merging + # `Policies` in the resource hierarchy. The returned `Policy` will not have + # an `etag`set because it is a computed `Policy` across multiple resources. + # @param [String] resource + # The name of the resource to start computing the effective `Policy`. + # @param [Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_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 # @@ -629,15 +480,90 @@ 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 set_folder_org_policy(resource, set_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicy', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest::Representation - command.request_object = set_org_policy_request_object + def get_organization_effective_org_policy(resource, get_effective_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest::Representation + command.request_object = get_effective_org_policy_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy command.params['resource'] = resource unless resource.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 + + # Gets the access control policy for an Organization resource. May be empty + # if no such policy or resource exists. The `resource` field should be the + # organization's resource name, e.g. "organizations/123". + # Authorization requires the Google IAM permission + # `resourcemanager.organizations.getIamPolicy` on the specified organization + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest] get_iam_policy_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::CloudresourcemanagerV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Policy] + # + # @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_organization_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest::Representation + command.request_object = get_iam_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Policy + command.params['resource'] = resource unless resource.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 a `Policy` on a resource. + # If no `Policy` is set on the resource, a `Policy` is returned with default + # values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The + # `etag` value can be used with `SetOrgPolicy()` to create or update a + # `Policy` during read-modify-write. + # @param [String] resource + # Name of the resource the `Policy` is set on. + # @param [Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest] get_org_policy_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::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @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_organization_org_policy(resource, get_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest::Representation + command.request_object = get_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -645,11 +571,11 @@ module Google # @param [String] resource # Name of the resource to list `Constraints` for. # @param [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest] list_available_org_policy_constraints_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -662,15 +588,15 @@ 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_folder_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def list_organization_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:listAvailableOrgPolicyConstraints', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest::Representation command.request_object = list_available_org_policy_constraints_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse command.params['resource'] = resource unless resource.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 @@ -678,11 +604,11 @@ module Google # @param [String] resource # Name of the resource to list Policies for. # @param [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest] list_org_policies_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -695,15 +621,423 @@ 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_folder_org_policies(resource, list_org_policies_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def list_organization_org_policies(resource, list_org_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest::Representation command.request_object = list_org_policies_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse command.params['resource'] = resource unless resource.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 + + # Searches Organization resources that are visible to the user and satisfy + # the specified filter. This method returns Organizations in an unspecified + # order. New Organizations do not necessarily appear at the end of the + # results. + # Search will only return organizations on which the user has the permission + # `resourcemanager.organizations.get` + # @param [Google::Apis::CloudresourcemanagerV1::SearchOrganizationsRequest] search_organizations_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::CloudresourcemanagerV1::SearchOrganizationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::SearchOrganizationsResponse] + # + # @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 search_organizations(search_organizations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/organizations:search', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::SearchOrganizationsRequest::Representation + command.request_object = search_organizations_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::SearchOrganizationsResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::SearchOrganizationsResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Sets the access control policy on an Organization resource. Replaces any + # existing policy. The `resource` field should be the organization's resource + # name, e.g. "organizations/123". + # Authorization requires the Google IAM permission + # `resourcemanager.organizations.setIamPolicy` on the specified organization + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest] set_iam_policy_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::CloudresourcemanagerV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Policy] + # + # @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 set_organization_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest::Representation + command.request_object = set_iam_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Policy + command.params['resource'] = resource unless resource.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 the specified `Policy` on the resource. Creates a new `Policy` for + # that `Constraint` on the resource if one does not exist. + # Not supplying an `etag` on the request `Policy` results in an unconditional + # write of the `Policy`. + # @param [String] resource + # Resource name of the resource to attach the `Policy`. + # @param [Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest] set_org_policy_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::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @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 set_organization_org_policy(resource, set_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest::Representation + command.request_object = set_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified Organization. + # The `resource` field should be the organization's resource name, + # e.g. "organizations/123". + # There are no permissions required for making this API call. + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest] test_iam_permissions_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::CloudresourcemanagerV1::TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse] + # + # @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 test_organization_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest::Representation + command.request_object = test_iam_permissions_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Clears a `Policy` from a resource. + # @param [String] resource + # Name of the resource for the `Policy` to clear. + # @param [Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest] clear_org_policy_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::CloudresourcemanagerV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::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 clear_project_org_policy(resource, clear_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest::Representation + command.request_object = clear_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Empty + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Request that a new Project be created. The result is an Operation which + # can be used to track the creation process. It is automatically deleted + # after a few hours, so there is no need to call DeleteOperation. + # Our SLO permits Project creation to take up to 30 seconds at the 90th + # percentile. As of 2016-08-29, we are observing 6 seconds 50th percentile + # latency. 95th percentile latency is around 11 seconds. We recommend + # polling at the 5th second with an exponential backoff. + # Authorization requires the Google IAM permission + # `resourcemanager.projects.create` on the specified parent for the new + # project. + # @param [Google::Apis::CloudresourcemanagerV1::Project] project_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::CloudresourcemanagerV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::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_project(project_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation + command.request_object = project_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::Operation::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Operation + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Marks the Project identified by the specified + # `project_id` (for example, `my-project-123`) for deletion. + # This method will only affect the Project if the following criteria are met: + # + The Project does not have a billing account associated with it. + # + The Project has a lifecycle state of + # ACTIVE. + # This method changes the Project's lifecycle state from + # ACTIVE + # to DELETE_REQUESTED. + # The deletion starts at an unspecified time, + # at which point the Project is no longer accessible. + # Until the deletion completes, you can check the lifecycle state + # checked by retrieving the Project with GetProject, + # and the Project remains visible to ListProjects. + # However, you cannot update the project. + # After the deletion completes, the Project is not retrievable by + # the GetProject and + # ListProjects methods. + # The caller must have modify permissions for this Project. + # @param [String] project_id + # The Project ID (for example, `foo-bar-123`). + # Required. + # @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::CloudresourcemanagerV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::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_project(project_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/projects/{projectId}', options) + command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Empty + command.params['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the Project identified by the specified + # `project_id` (for example, `my-project-123`). + # The caller must have read permissions for this Project. + # @param [String] project_id + # The Project ID (for example, `my-project-123`). + # Required. + # @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::CloudresourcemanagerV1::Project] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Project] + # + # @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_project(project_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects/{projectId}', options) + command.response_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Project + command.params['projectId'] = project_id unless project_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 a list of ancestors in the resource hierarchy for the Project + # identified by the specified `project_id` (for example, `my-project-123`). + # The caller must have read permissions for this Project. + # @param [String] project_id + # The Project ID (for example, `my-project-123`). + # Required. + # @param [Google::Apis::CloudresourcemanagerV1::GetAncestryRequest] get_ancestry_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::CloudresourcemanagerV1::GetAncestryResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::GetAncestryResponse] + # + # @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_project_ancestry(project_id, get_ancestry_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}:getAncestry', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetAncestryRequest::Representation + command.request_object = get_ancestry_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::GetAncestryResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::GetAncestryResponse + command.params['projectId'] = project_id unless project_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 effective `Policy` on a resource. This is the result of merging + # `Policies` in the resource hierarchy. The returned `Policy` will not have + # an `etag`set because it is a computed `Policy` across multiple resources. + # @param [String] resource + # The name of the resource to start computing the effective `Policy`. + # @param [Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_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::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @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_project_effective_org_policy(resource, get_effective_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest::Representation + command.request_object = get_effective_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns the IAM access control policy for the specified Project. + # Permission is denied if the policy or the resource does not exist. + # Authorization requires the Google IAM permission + # `resourcemanager.projects.getIamPolicy` on the project + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest] get_iam_policy_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::CloudresourcemanagerV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Policy] + # + # @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_project_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{resource}:getIamPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest::Representation + command.request_object = get_iam_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -715,11 +1049,11 @@ module Google # @param [String] resource # Name of the resource the `Policy` is set on. # @param [Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest] get_org_policy_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -732,50 +1066,148 @@ 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_folder_org_policy(resource, get_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def get_project_org_policy(resource, get_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicy', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest::Representation command.request_object = get_org_policy_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy command.params['resource'] = resource unless resource.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 - # Gets the effective `Policy` on a resource. This is the result of merging - # `Policies` in the resource hierarchy. The returned `Policy` will not have - # an `etag`set because it is a computed `Policy` across multiple resources. - # @param [String] resource - # The name of the resource to start computing the effective `Policy`. - # @param [Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_request_object + # Lists Projects that are visible to the user and satisfy the + # specified filter. This method returns Projects in an unspecified order. + # New Projects do not necessarily appear at the end of the list. + # @param [String] filter + # An expression for filtering the results of the request. Filter rules are + # case insensitive. The fields eligible for filtering are: + # + `name` + # + `id` + # + labels.key where *key* is the name of a label + # Some examples of using labels as filters: + # |Filter|Description| + # |------|-----------| + # |name:how*|The project's name starts with "how".| + # |name:Howl|The project's name is `Howl` or `howl`.| + # |name:HOWL|Equivalent to above.| + # |NAME:howl|Equivalent to above.| + # |labels.color:*|The project has the label `color`.| + # |labels.color:red|The project's label `color` has the value `red`.| + # |labels.color:red labels.size:big|The project's label `color` has the + # value `red` and its label `size` has the value `big`. + # If you specify a filter that has both `parent.type` and `parent.id`, then + # the `resourcemanager.projects.list` permission is checked on the parent. + # If the user has this permission, all projects under the parent will be + # returned after remaining filters have been applied. If the user lacks this + # permission, then all projects for which the user has the + # `resourcemanager.projects.get` permission will be returned after remaining + # filters have been applied. If no filter is specified, the call will return + # projects for which the user has `resourcemanager.projects.get` permissions. + # Optional. + # @param [Fixnum] page_size + # The maximum number of Projects to return in the response. + # The server can return fewer Projects than requested. + # If unspecified, server picks an appropriate default. + # Optional. + # @param [String] page_token + # A pagination token returned from a previous call to ListProjects + # that indicates from where listing should continue. + # Optional. + # @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 # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::ListProjectsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # @return [Google::Apis::CloudresourcemanagerV1::ListProjectsResponse] # # @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_folder_effective_org_policy(resource, get_effective_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicy', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest::Representation - command.request_object = get_effective_org_policy_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + def list_projects(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects', options) + command.response_representation = Google::Apis::CloudresourcemanagerV1::ListProjectsResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::ListProjectsResponse + 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 + + # Lists `Constraints` that could be applied on the specified resource. + # @param [String] resource + # Name of the resource to list `Constraints` for. + # @param [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest] list_available_org_policy_constraints_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::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse] + # + # @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_project_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:listAvailableOrgPolicyConstraints', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest::Representation + command.request_object = list_available_org_policy_constraints_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse + command.params['resource'] = resource unless resource.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 the `Policies` set for a particular resource. + # @param [String] resource + # Name of the resource to list Policies for. + # @param [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest] list_org_policies_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::CloudresourcemanagerV1::ListOrgPoliciesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse] + # + # @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_project_org_policies(resource, list_org_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest::Representation + command.request_object = list_org_policies_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -814,11 +1246,11 @@ module Google # REQUIRED: The resource for which the policy is being specified. # See the operation documentation for the appropriate value for this field. # @param [Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest] set_iam_policy_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -831,101 +1263,30 @@ 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 set_project_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def set_project_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/projects/{resource}:setIamPolicy', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::Policy command.params['resource'] = resource unless resource.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 - # Lists `Constraints` that could be applied on the specified resource. + # Updates the specified `Policy` on the resource. Creates a new `Policy` for + # that `Constraint` on the resource if one does not exist. + # Not supplying an `etag` on the request `Policy` results in an unconditional + # write of the `Policy`. # @param [String] resource - # Name of the resource to list `Constraints` for. - # @param [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest] list_available_org_policy_constraints_request_object + # Resource name of the resource to attach the `Policy`. + # @param [Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest] set_org_policy_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 [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::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse] - # - # @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_project_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:listAvailableOrgPolicyConstraints', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest::Representation - command.request_object = list_available_org_policy_constraints_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Returns the IAM access control policy for the specified Project. - # Permission is denied if the policy or the resource does not exist. - # Authorization requires the Google IAM permission - # `resourcemanager.projects.getIamPolicy` on the project - # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. - # See the operation documentation for the appropriate value for this field. - # @param [Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest] get_iam_policy_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::CloudresourcemanagerV1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::Policy] - # - # @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_project_iam_policy(resource, get_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{resource}:getIamPolicy', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest::Representation - command.request_object = get_iam_policy_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets a `Policy` on a resource. - # If no `Policy` is set on the resource, a `Policy` is returned with default - # values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The - # `etag` value can be used with `SetOrgPolicy()` to create or update a - # `Policy` during read-modify-write. - # @param [String] resource - # Name of the resource the `Policy` is set on. - # @param [Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest] get_org_policy_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 # @@ -938,15 +1299,50 @@ 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_project_org_policy(resource, get_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicy', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest::Representation - command.request_object = get_org_policy_request_object + def set_project_org_policy(resource, set_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest::Representation + command.request_object = set_org_policy_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy command.params['resource'] = resource unless resource.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 + + # Returns permissions that a caller has on the specified Project. + # There are no permissions required for making this API call. + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest] test_iam_permissions_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::CloudresourcemanagerV1::TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse] + # + # @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 test_project_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{resource}:testIamPermissions', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest::Representation + command.request_object = test_iam_permissions_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -960,11 +1356,11 @@ module Google # The project ID (for example, `foo-bar-123`). # Required. # @param [Google::Apis::CloudresourcemanagerV1::UndeleteProjectRequest] undelete_project_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -977,50 +1373,15 @@ 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, undelete_project_request_object = nil, quota_user: nil, fields: 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, 'v1/projects/{projectId}:undelete', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::UndeleteProjectRequest::Representation command.request_object = undelete_project_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::Empty command.params['projectId'] = project_id unless project_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets the effective `Policy` on a resource. This is the result of merging - # `Policies` in the resource hierarchy. The returned `Policy` will not have - # an `etag`set because it is a computed `Policy` across multiple resources. - # @param [String] resource - # The name of the resource to start computing the effective `Policy`. - # @param [Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_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::CloudresourcemanagerV1::OrgPolicy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] - # - # @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_project_effective_org_policy(resource, get_effective_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicy', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest::Representation - command.request_object = get_effective_org_policy_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy - command.params['resource'] = resource unless resource.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -1031,11 +1392,11 @@ module Google # The project ID (for example, `my-project-123`). # Required. # @param [Google::Apis::CloudresourcemanagerV1::Project] project_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1048,376 +1409,15 @@ 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_project(project_id, project_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def update_project(project_id, project_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v1/projects/{projectId}', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation command.request_object = project_object command.response_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::Project command.params['projectId'] = project_id unless project_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists Projects that are visible to the user and satisfy the - # specified filter. This method returns Projects in an unspecified order. - # New Projects do not necessarily appear at the end of the list. - # @param [Fixnum] page_size - # The maximum number of Projects to return in the response. - # The server can return fewer Projects than requested. - # If unspecified, server picks an appropriate default. - # Optional. - # @param [String] filter - # An expression for filtering the results of the request. Filter rules are - # case insensitive. The fields eligible for filtering are: - # + `name` - # + `id` - # + labels.key where *key* is the name of a label - # Some examples of using labels as filters: - # |Filter|Description| - # |------|-----------| - # |name:how*|The project's name starts with "how".| - # |name:Howl|The project's name is `Howl` or `howl`.| - # |name:HOWL|Equivalent to above.| - # |NAME:howl|Equivalent to above.| - # |labels.color:*|The project has the label `color`.| - # |labels.color:red|The project's label `color` has the value `red`.| - # |labels.color:red labels.size:big|The project's label `color` has the - # value `red` and its label `size` has the value `big`. - # If you specify a filter that has both `parent.type` and `parent.id`, then - # the `resourcemanager.projects.list` permission is checked on the parent. - # If the user has this permission, all projects under the parent will be - # returned after remaining filters have been applied. If the user lacks this - # permission, then all projects for which the user has the - # `resourcemanager.projects.get` permission will be returned after remaining - # filters have been applied. If no filter is specified, the call will return - # projects for which the user has `resourcemanager.projects.get` permissions. - # Optional. - # @param [String] page_token - # A pagination token returned from a previous call to ListProjects - # that indicates from where listing should continue. - # Optional. - # @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::CloudresourcemanagerV1::ListProjectsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::ListProjectsResponse] - # - # @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_projects(page_size: nil, filter: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/projects', options) - command.response_representation = Google::Apis::CloudresourcemanagerV1::ListProjectsResponse::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::ListProjectsResponse - command.query['pageSize'] = page_size unless page_size.nil? - command.query['filter'] = filter unless filter.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? - execute_or_queue_command(command, &block) - end - - # Updates the specified `Policy` on the resource. Creates a new `Policy` for - # that `Constraint` on the resource if one does not exist. - # Not supplying an `etag` on the request `Policy` results in an unconditional - # write of the `Policy`. - # @param [String] resource - # Resource name of the resource to attach the `Policy`. - # @param [Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest] set_org_policy_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::CloudresourcemanagerV1::OrgPolicy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] - # - # @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 set_project_org_policy(resource, set_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicy', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest::Representation - command.request_object = set_org_policy_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Request that a new Project be created. The result is an Operation which - # can be used to track the creation process. It is automatically deleted - # after a few hours, so there is no need to call DeleteOperation. - # Our SLO permits Project creation to take up to 30 seconds at the 90th - # percentile. As of 2016-08-29, we are observing 6 seconds 50th percentile - # latency. 95th percentile latency is around 11 seconds. We recommend - # polling at the 5th second with an exponential backoff. - # Authorization requires the Google IAM permission - # `resourcemanager.projects.create` on the specified parent for the new - # project. - # @param [Google::Apis::CloudresourcemanagerV1::Project] project_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::CloudresourcemanagerV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::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_project(project_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation - command.request_object = project_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::Operation::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::Operation - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists all the `Policies` set for a particular resource. - # @param [String] resource - # Name of the resource to list Policies for. - # @param [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest] list_org_policies_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::CloudresourcemanagerV1::ListOrgPoliciesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse] - # - # @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_project_org_policies(resource, list_org_policies_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest::Representation - command.request_object = list_org_policies_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Retrieves the Project identified by the specified - # `project_id` (for example, `my-project-123`). - # The caller must have read permissions for this Project. - # @param [String] project_id - # The Project ID (for example, `my-project-123`). - # Required. - # @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::CloudresourcemanagerV1::Project] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::Project] - # - # @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_project(project_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/projects/{projectId}', options) - command.response_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::Project - command.params['projectId'] = project_id unless project_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets a list of ancestors in the resource hierarchy for the Project - # identified by the specified `project_id` (for example, `my-project-123`). - # The caller must have read permissions for this Project. - # @param [String] project_id - # The Project ID (for example, `my-project-123`). - # Required. - # @param [Google::Apis::CloudresourcemanagerV1::GetAncestryRequest] get_ancestry_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::CloudresourcemanagerV1::GetAncestryResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::GetAncestryResponse] - # - # @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_project_ancestry(project_id, get_ancestry_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}:getAncestry', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::GetAncestryRequest::Representation - command.request_object = get_ancestry_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::GetAncestryResponse::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::GetAncestryResponse - command.params['projectId'] = project_id unless project_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Returns permissions that a caller has on the specified Project. - # There are no permissions required for making this API call. - # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. - # See the operation documentation for the appropriate value for this field. - # @param [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest] test_iam_permissions_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::CloudresourcemanagerV1::TestIamPermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse] - # - # @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 test_project_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{resource}:testIamPermissions', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest::Representation - command.request_object = test_iam_permissions_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Marks the Project identified by the specified - # `project_id` (for example, `my-project-123`) for deletion. - # This method will only affect the Project if the following criteria are met: - # + The Project does not have a billing account associated with it. - # + The Project has a lifecycle state of - # ACTIVE. - # This method changes the Project's lifecycle state from - # ACTIVE - # to DELETE_REQUESTED. - # The deletion starts at an unspecified time, - # at which point the Project is no longer accessible. - # Until the deletion completes, you can check the lifecycle state - # checked by retrieving the Project with GetProject, - # and the Project remains visible to ListProjects. - # However, you cannot update the project. - # After the deletion completes, the Project is not retrievable by - # the GetProject and - # ListProjects methods. - # The caller must have modify permissions for this Project. - # @param [String] project_id - # The Project ID (for example, `foo-bar-123`). - # Required. - # @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::CloudresourcemanagerV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::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_project(project_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/projects/{projectId}', options) - command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::Empty - command.params['projectId'] = project_id unless project_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Clears a `Policy` from a resource. - # @param [String] resource - # Name of the resource for the `Policy` to clear. - # @param [Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest] clear_org_policy_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::CloudresourcemanagerV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::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 clear_project_org_policy(resource, clear_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicy', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest::Representation - command.request_object = clear_org_policy_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::Empty - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end diff --git a/generated/google/apis/cloudtrace_v2.rb b/generated/google/apis/cloudtrace_v2.rb new file mode 100644 index 000000000..140f848cf --- /dev/null +++ b/generated/google/apis/cloudtrace_v2.rb @@ -0,0 +1,43 @@ +# 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/cloudtrace_v2/service.rb' +require 'google/apis/cloudtrace_v2/classes.rb' +require 'google/apis/cloudtrace_v2/representations.rb' + +module Google + module Apis + # Stackdriver Trace API + # + # Send and retrieve trace data from Stackdriver Trace. Data is generated and + # available by default for all App Engine applications. Data from other + # applications can be written to Stackdriver Trace for display, reporting, and + # analysis. + # + # @see https://cloud.google.com/trace + module CloudtraceV2 + VERSION = 'V2' + REVISION = '20170815' + + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + + # Write Trace data for a project or application + AUTH_TRACE_APPEND = 'https://www.googleapis.com/auth/trace.append' + + # Read Trace data for a project or application + AUTH_TRACE_READONLY = 'https://www.googleapis.com/auth/trace.readonly' + end + end +end diff --git a/generated/google/apis/cloudtrace_v2/classes.rb b/generated/google/apis/cloudtrace_v2/classes.rb new file mode 100644 index 000000000..ebb86373d --- /dev/null +++ b/generated/google/apis/cloudtrace_v2/classes.rb @@ -0,0 +1,797 @@ +# 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 CloudtraceV2 + + # Text annotation with a set of attributes. + class Annotation + include Google::Apis::Core::Hashable + + # A set of attributes, each in the format `[KEY]:[VALUE]`. + # Corresponds to the JSON property `attributes` + # @return [Google::Apis::CloudtraceV2::Attributes] + attr_accessor :attributes + + # Represents a string that might be shortened to a specified length. + # Corresponds to the JSON property `description` + # @return [Google::Apis::CloudtraceV2::TruncatableString] + attr_accessor :description + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attributes = args[:attributes] if args.key?(:attributes) + @description = args[:description] if args.key?(:description) + end + end + + # The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute. + class AttributeValue + include Google::Apis::Core::Hashable + + # A Boolean value represented by `true` or `false`. + # Corresponds to the JSON property `boolValue` + # @return [Boolean] + attr_accessor :bool_value + alias_method :bool_value?, :bool_value + + # A 64-bit signed integer. + # Corresponds to the JSON property `intValue` + # @return [Fixnum] + attr_accessor :int_value + + # Represents a string that might be shortened to a specified length. + # Corresponds to the JSON property `stringValue` + # @return [Google::Apis::CloudtraceV2::TruncatableString] + attr_accessor :string_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bool_value = args[:bool_value] if args.key?(:bool_value) + @int_value = args[:int_value] if args.key?(:int_value) + @string_value = args[:string_value] if args.key?(:string_value) + end + end + + # A set of attributes, each in the format `[KEY]:[VALUE]`. + class Attributes + include Google::Apis::Core::Hashable + + # The set of attributes. Each attribute's key can be up to 128 bytes + # long. The value can be a string up to 256 bytes, an integer, or the + # Boolean values `true` and `false`. For example: + # "/instance_id": "my-instance" + # "/http/user_agent": "" + # "/http/request_bytes": 300 + # "abc.com/myattribute": true + # Corresponds to the JSON property `attributeMap` + # @return [Hash] + attr_accessor :attribute_map + + # The number of attributes that were discarded. Attributes can be discarded + # because their keys are too long or because there are too many attributes. + # If this value is 0 then all attributes are valid. + # Corresponds to the JSON property `droppedAttributesCount` + # @return [Fixnum] + attr_accessor :dropped_attributes_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attribute_map = args[:attribute_map] if args.key?(:attribute_map) + @dropped_attributes_count = args[:dropped_attributes_count] if args.key?(:dropped_attributes_count) + end + end + + # The request message for the `BatchWriteSpans` method. + class BatchWriteSpansRequest + include Google::Apis::Core::Hashable + + # A collection of spans. + # Corresponds to the JSON property `spans` + # @return [Array] + attr_accessor :spans + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @spans = args[:spans] if args.key?(:spans) + 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 + + # A pointer from the current span to another span in the same trace or in a + # different trace. For example, this can be used in batching operations, + # where a single batch handler processes multiple requests from different + # traces or when the handler receives a request from a different project. + class Link + include Google::Apis::Core::Hashable + + # A set of attributes, each in the format `[KEY]:[VALUE]`. + # Corresponds to the JSON property `attributes` + # @return [Google::Apis::CloudtraceV2::Attributes] + attr_accessor :attributes + + # `SPAN_ID` identifies a span within a trace. + # Corresponds to the JSON property `spanId` + # @return [String] + attr_accessor :span_id + + # `TRACE_ID` identifies a trace within a project. + # Corresponds to the JSON property `traceId` + # @return [String] + attr_accessor :trace_id + + # The relationship of the current span relative to the linked span. + # 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) + @attributes = args[:attributes] if args.key?(:attributes) + @span_id = args[:span_id] if args.key?(:span_id) + @trace_id = args[:trace_id] if args.key?(:trace_id) + @type = args[:type] if args.key?(:type) + end + end + + # A collection of links, which are references from this span to a span + # in the same or different trace. + class Links + include Google::Apis::Core::Hashable + + # The number of dropped links after the maximum size was enforced. If + # this value is 0, then no links were dropped. + # Corresponds to the JSON property `droppedLinksCount` + # @return [Fixnum] + attr_accessor :dropped_links_count + + # A collection of links. + # Corresponds to the JSON property `link` + # @return [Array] + attr_accessor :link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dropped_links_count = args[:dropped_links_count] if args.key?(:dropped_links_count) + @link = args[:link] if args.key?(:link) + end + end + + # The response message for the `ListSpans` method. + class ListSpansResponse + include Google::Apis::Core::Hashable + + # If defined, indicates that there might be more spans that match the + # request. Pass this as the value of `pageToken` in a subsequent request to + # retrieve additional spans. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The requested spans, if there are any in the specified trace. + # Corresponds to the JSON property `spans` + # @return [Array] + attr_accessor :spans + + 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) + @spans = args[:spans] if args.key?(:spans) + end + end + + # The response message for the `ListTraces` method. + class ListTracesResponse + include Google::Apis::Core::Hashable + + # If there might be more results than those appearing in this response, then + # `next_page_token` is included. To get the next set of results, call this + # method again using the value of `next_page_token` as `page_token`. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # List of trace records returned. + # Corresponds to the JSON property `traces` + # @return [Array] + attr_accessor :traces + + 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) + @traces = args[:traces] if args.key?(:traces) + end + end + + # Binary module. + class Module + include Google::Apis::Core::Hashable + + # Represents a string that might be shortened to a specified length. + # Corresponds to the JSON property `buildId` + # @return [Google::Apis::CloudtraceV2::TruncatableString] + attr_accessor :build_id + + # Represents a string that might be shortened to a specified length. + # Corresponds to the JSON property `module` + # @return [Google::Apis::CloudtraceV2::TruncatableString] + attr_accessor :module + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @build_id = args[:build_id] if args.key?(:build_id) + @module = args[:module] if args.key?(:module) + end + end + + # An event describing an RPC message sent or received on the network. + class NetworkEvent + include Google::Apis::Core::Hashable + + # An identifier for the message, which must be unique in this span. + # Corresponds to the JSON property `messageId` + # @return [Fixnum] + attr_accessor :message_id + + # The number of bytes sent or received. + # Corresponds to the JSON property `messageSize` + # @return [Fixnum] + attr_accessor :message_size + + # For sent messages, this is the time at which the first bit was sent. + # For received messages, this is the time at which the last bit was + # received. + # Corresponds to the JSON property `time` + # @return [String] + attr_accessor :time + + # Type of NetworkEvent. Indicates whether the RPC message was sent or + # received. + # 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) + @message_id = args[:message_id] if args.key?(:message_id) + @message_size = args[:message_size] if args.key?(:message_size) + @time = args[:time] if args.key?(:time) + @type = args[:type] if args.key?(:type) + end + end + + # A span represents a single operation within a trace. Spans can be + # nested to form a trace tree. Often, a trace contains a root span + # that describes the end-to-end latency, and one or more subspans for + # its sub-operations. A trace can also contain multiple root spans, + # or none at all. Spans do not need to be contiguous—there may be + # gaps or overlaps between spans in a trace. + class Span + include Google::Apis::Core::Hashable + + # A set of attributes, each in the format `[KEY]:[VALUE]`. + # Corresponds to the JSON property `attributes` + # @return [Google::Apis::CloudtraceV2::Attributes] + attr_accessor :attributes + + # An optional number of child spans that were generated while this span + # was active. If set, allows implementation to detect missing child spans. + # Corresponds to the JSON property `childSpanCount` + # @return [Fixnum] + attr_accessor :child_span_count + + # Represents a string that might be shortened to a specified length. + # Corresponds to the JSON property `displayName` + # @return [Google::Apis::CloudtraceV2::TruncatableString] + attr_accessor :display_name + + # The end time of the span. On the client side, this is the time kept by + # the local machine where the span execution ends. On the server side, this + # is the time when the server application handler stops running. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # A collection of links, which are references from this span to a span + # in the same or different trace. + # Corresponds to the JSON property `links` + # @return [Google::Apis::CloudtraceV2::Links] + attr_accessor :links + + # The resource name of the span in the following format: + # projects/[PROJECT_ID]traces/[TRACE_ID]/spans/SPAN_ID is a unique + # identifier for a trace within a project. + # [SPAN_ID] is a unique identifier for a span within a trace, + # assigned when the span is created. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The [SPAN_ID] of this span's parent span. If this is a root span, + # then this field must be empty. + # Corresponds to the JSON property `parentSpanId` + # @return [String] + attr_accessor :parent_span_id + + # A highly recommended but not required flag that identifies when a trace + # crosses a process boundary. True when the parent_span belongs to the + # same process as the current span. + # Corresponds to the JSON property `sameProcessAsParentSpan` + # @return [Boolean] + attr_accessor :same_process_as_parent_span + alias_method :same_process_as_parent_span?, :same_process_as_parent_span + + # The [SPAN_ID] portion of the span's resource name. + # Corresponds to the JSON property `spanId` + # @return [String] + attr_accessor :span_id + + # A call stack appearing in a trace. + # Corresponds to the JSON property `stackTrace` + # @return [Google::Apis::CloudtraceV2::StackTrace] + attr_accessor :stack_trace + + # The start time of the span. On the client side, this is the time kept by + # the local machine where the span execution starts. On the server side, this + # is the time when the server's application handler starts running. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # 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` that 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. + # - 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 `status` + # @return [Google::Apis::CloudtraceV2::Status] + attr_accessor :status + + # A collection of `TimeEvent`s. A `TimeEvent` is a time-stamped annotation + # on the span, consisting of either user-supplied key:value pairs, or + # details of an RPC message sent/received on the network. + # Corresponds to the JSON property `timeEvents` + # @return [Google::Apis::CloudtraceV2::TimeEvents] + attr_accessor :time_events + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attributes = args[:attributes] if args.key?(:attributes) + @child_span_count = args[:child_span_count] if args.key?(:child_span_count) + @display_name = args[:display_name] if args.key?(:display_name) + @end_time = args[:end_time] if args.key?(:end_time) + @links = args[:links] if args.key?(:links) + @name = args[:name] if args.key?(:name) + @parent_span_id = args[:parent_span_id] if args.key?(:parent_span_id) + @same_process_as_parent_span = args[:same_process_as_parent_span] if args.key?(:same_process_as_parent_span) + @span_id = args[:span_id] if args.key?(:span_id) + @stack_trace = args[:stack_trace] if args.key?(:stack_trace) + @start_time = args[:start_time] if args.key?(:start_time) + @status = args[:status] if args.key?(:status) + @time_events = args[:time_events] if args.key?(:time_events) + end + end + + # Represents a single stack frame in a stack trace. + class StackFrame + include Google::Apis::Core::Hashable + + # The column number where the function call appears, if available. + # This is important in JavaScript because of its anonymous functions. + # Corresponds to the JSON property `columnNumber` + # @return [Fixnum] + attr_accessor :column_number + + # Represents a string that might be shortened to a specified length. + # Corresponds to the JSON property `fileName` + # @return [Google::Apis::CloudtraceV2::TruncatableString] + attr_accessor :file_name + + # Represents a string that might be shortened to a specified length. + # Corresponds to the JSON property `functionName` + # @return [Google::Apis::CloudtraceV2::TruncatableString] + attr_accessor :function_name + + # The line number in `file_name` where the function call appears. + # Corresponds to the JSON property `lineNumber` + # @return [Fixnum] + attr_accessor :line_number + + # Binary module. + # Corresponds to the JSON property `loadModule` + # @return [Google::Apis::CloudtraceV2::Module] + attr_accessor :load_module + + # Represents a string that might be shortened to a specified length. + # Corresponds to the JSON property `originalFunctionName` + # @return [Google::Apis::CloudtraceV2::TruncatableString] + attr_accessor :original_function_name + + # Represents a string that might be shortened to a specified length. + # Corresponds to the JSON property `sourceVersion` + # @return [Google::Apis::CloudtraceV2::TruncatableString] + attr_accessor :source_version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @column_number = args[:column_number] if args.key?(:column_number) + @file_name = args[:file_name] if args.key?(:file_name) + @function_name = args[:function_name] if args.key?(:function_name) + @line_number = args[:line_number] if args.key?(:line_number) + @load_module = args[:load_module] if args.key?(:load_module) + @original_function_name = args[:original_function_name] if args.key?(:original_function_name) + @source_version = args[:source_version] if args.key?(:source_version) + end + end + + # A collection of stack frames, which can be truncated. + class StackFrames + include Google::Apis::Core::Hashable + + # The number of stack frames that were dropped because there + # were too many stack frames. + # If this value is 0, then no stack frames were dropped. + # Corresponds to the JSON property `droppedFramesCount` + # @return [Fixnum] + attr_accessor :dropped_frames_count + + # Stack frames in this call stack. + # Corresponds to the JSON property `frame` + # @return [Array] + attr_accessor :frame + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dropped_frames_count = args[:dropped_frames_count] if args.key?(:dropped_frames_count) + @frame = args[:frame] if args.key?(:frame) + end + end + + # A call stack appearing in a trace. + class StackTrace + include Google::Apis::Core::Hashable + + # A collection of stack frames, which can be truncated. + # Corresponds to the JSON property `stackFrames` + # @return [Google::Apis::CloudtraceV2::StackFrames] + attr_accessor :stack_frames + + # The hash ID is used to conserve network bandwidth for duplicate + # stack traces within a single trace. + # Often multiple spans will have identical stack traces. + # The first occurrence of a stack trace should contain both the + # `stackFrame` content and a value in `stackTraceHashId`. + # Subsequent spans within the same request can refer + # to that stack trace by only setting `stackTraceHashId`. + # Corresponds to the JSON property `stackTraceHashId` + # @return [Fixnum] + attr_accessor :stack_trace_hash_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @stack_frames = args[:stack_frames] if args.key?(:stack_frames) + @stack_trace_hash_id = args[:stack_trace_hash_id] if args.key?(:stack_trace_hash_id) + 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` that 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. + # - 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 is 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 time-stamped annotation or network event in the Span. + class TimeEvent + include Google::Apis::Core::Hashable + + # Text annotation with a set of attributes. + # Corresponds to the JSON property `annotation` + # @return [Google::Apis::CloudtraceV2::Annotation] + attr_accessor :annotation + + # An event describing an RPC message sent or received on the network. + # Corresponds to the JSON property `networkEvent` + # @return [Google::Apis::CloudtraceV2::NetworkEvent] + attr_accessor :network_event + + # The timestamp indicating the time the event occurred. + # Corresponds to the JSON property `time` + # @return [String] + attr_accessor :time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation = args[:annotation] if args.key?(:annotation) + @network_event = args[:network_event] if args.key?(:network_event) + @time = args[:time] if args.key?(:time) + end + end + + # A collection of `TimeEvent`s. A `TimeEvent` is a time-stamped annotation + # on the span, consisting of either user-supplied key:value pairs, or + # details of an RPC message sent/received on the network. + class TimeEvents + include Google::Apis::Core::Hashable + + # The number of dropped annotations in all the included time events. + # If the value is 0, then no annotations were dropped. + # Corresponds to the JSON property `droppedAnnotationsCount` + # @return [Fixnum] + attr_accessor :dropped_annotations_count + + # The number of dropped network events in all the included time events. + # If the value is 0, then no network events were dropped. + # Corresponds to the JSON property `droppedNetworkEventsCount` + # @return [Fixnum] + attr_accessor :dropped_network_events_count + + # A collection of `TimeEvent`s. + # Corresponds to the JSON property `timeEvent` + # @return [Array] + attr_accessor :time_event + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dropped_annotations_count = args[:dropped_annotations_count] if args.key?(:dropped_annotations_count) + @dropped_network_events_count = args[:dropped_network_events_count] if args.key?(:dropped_network_events_count) + @time_event = args[:time_event] if args.key?(:time_event) + end + end + + # A trace describes how long it takes for an application to perform some + # operations. It consists of a set of spans, each representing + # an operation and including time information and operation details. + class Trace + include Google::Apis::Core::Hashable + + # The resource name of the trace in the following format: + # projects/[PROJECT_ID]/traces/TRACE_ID is a unique identifier for a trace + # within a project. + # The ID is assigned when the trace is created. + # 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) + @name = args[:name] if args.key?(:name) + end + end + + # Represents a string that might be shortened to a specified length. + class TruncatableString + include Google::Apis::Core::Hashable + + # The number of bytes removed from the original string. If this + # value is 0, then the string was not shortened. + # Corresponds to the JSON property `truncatedByteCount` + # @return [Fixnum] + attr_accessor :truncated_byte_count + + # The shortened string. For example, if the original string was 500 + # bytes long and the limit of the string was 128 bytes, then this + # value contains the first 128 bytes of the 500-byte string. Note that + # truncation always happens on the character boundary, to ensure that + # truncated string is still valid UTF8. In case of multi-byte characters, + # size of truncated string can be less than truncation limit. + # 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) + @truncated_byte_count = args[:truncated_byte_count] if args.key?(:truncated_byte_count) + @value = args[:value] if args.key?(:value) + end + end + end + end +end diff --git a/generated/google/apis/cloudtrace_v2/representations.rb b/generated/google/apis/cloudtrace_v2/representations.rb new file mode 100644 index 000000000..45ef03267 --- /dev/null +++ b/generated/google/apis/cloudtrace_v2/representations.rb @@ -0,0 +1,353 @@ +# 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 CloudtraceV2 + + class Annotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AttributeValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Attributes + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchWriteSpansRequest + 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 Link + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Links + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListSpansResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListTracesResponse + 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 NetworkEvent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Span + 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 StackFrames + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StackTrace + 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 TimeEvent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TimeEvents + 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 TruncatableString + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Annotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :attributes, as: 'attributes', class: Google::Apis::CloudtraceV2::Attributes, decorator: Google::Apis::CloudtraceV2::Attributes::Representation + + property :description, as: 'description', class: Google::Apis::CloudtraceV2::TruncatableString, decorator: Google::Apis::CloudtraceV2::TruncatableString::Representation + + end + end + + class AttributeValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bool_value, as: 'boolValue' + property :int_value, :numeric_string => true, as: 'intValue' + property :string_value, as: 'stringValue', class: Google::Apis::CloudtraceV2::TruncatableString, decorator: Google::Apis::CloudtraceV2::TruncatableString::Representation + + end + end + + class Attributes + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :attribute_map, as: 'attributeMap', class: Google::Apis::CloudtraceV2::AttributeValue, decorator: Google::Apis::CloudtraceV2::AttributeValue::Representation + + property :dropped_attributes_count, as: 'droppedAttributesCount' + end + end + + class BatchWriteSpansRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :spans, as: 'spans', class: Google::Apis::CloudtraceV2::Span, decorator: Google::Apis::CloudtraceV2::Span::Representation + + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Link + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :attributes, as: 'attributes', class: Google::Apis::CloudtraceV2::Attributes, decorator: Google::Apis::CloudtraceV2::Attributes::Representation + + property :span_id, as: 'spanId' + property :trace_id, as: 'traceId' + property :type, as: 'type' + end + end + + class Links + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dropped_links_count, as: 'droppedLinksCount' + collection :link, as: 'link', class: Google::Apis::CloudtraceV2::Link, decorator: Google::Apis::CloudtraceV2::Link::Representation + + end + end + + class ListSpansResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :spans, as: 'spans', class: Google::Apis::CloudtraceV2::Span, decorator: Google::Apis::CloudtraceV2::Span::Representation + + end + end + + class ListTracesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :traces, as: 'traces', class: Google::Apis::CloudtraceV2::Trace, decorator: Google::Apis::CloudtraceV2::Trace::Representation + + end + end + + class Module + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :build_id, as: 'buildId', class: Google::Apis::CloudtraceV2::TruncatableString, decorator: Google::Apis::CloudtraceV2::TruncatableString::Representation + + property :module, as: 'module', class: Google::Apis::CloudtraceV2::TruncatableString, decorator: Google::Apis::CloudtraceV2::TruncatableString::Representation + + end + end + + class NetworkEvent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :message_id, :numeric_string => true, as: 'messageId' + property :message_size, :numeric_string => true, as: 'messageSize' + property :time, as: 'time' + property :type, as: 'type' + end + end + + class Span + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :attributes, as: 'attributes', class: Google::Apis::CloudtraceV2::Attributes, decorator: Google::Apis::CloudtraceV2::Attributes::Representation + + property :child_span_count, as: 'childSpanCount' + property :display_name, as: 'displayName', class: Google::Apis::CloudtraceV2::TruncatableString, decorator: Google::Apis::CloudtraceV2::TruncatableString::Representation + + property :end_time, as: 'endTime' + property :links, as: 'links', class: Google::Apis::CloudtraceV2::Links, decorator: Google::Apis::CloudtraceV2::Links::Representation + + property :name, as: 'name' + property :parent_span_id, as: 'parentSpanId' + property :same_process_as_parent_span, as: 'sameProcessAsParentSpan' + property :span_id, as: 'spanId' + property :stack_trace, as: 'stackTrace', class: Google::Apis::CloudtraceV2::StackTrace, decorator: Google::Apis::CloudtraceV2::StackTrace::Representation + + property :start_time, as: 'startTime' + property :status, as: 'status', class: Google::Apis::CloudtraceV2::Status, decorator: Google::Apis::CloudtraceV2::Status::Representation + + property :time_events, as: 'timeEvents', class: Google::Apis::CloudtraceV2::TimeEvents, decorator: Google::Apis::CloudtraceV2::TimeEvents::Representation + + end + end + + class StackFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :column_number, :numeric_string => true, as: 'columnNumber' + property :file_name, as: 'fileName', class: Google::Apis::CloudtraceV2::TruncatableString, decorator: Google::Apis::CloudtraceV2::TruncatableString::Representation + + property :function_name, as: 'functionName', class: Google::Apis::CloudtraceV2::TruncatableString, decorator: Google::Apis::CloudtraceV2::TruncatableString::Representation + + property :line_number, :numeric_string => true, as: 'lineNumber' + property :load_module, as: 'loadModule', class: Google::Apis::CloudtraceV2::Module, decorator: Google::Apis::CloudtraceV2::Module::Representation + + property :original_function_name, as: 'originalFunctionName', class: Google::Apis::CloudtraceV2::TruncatableString, decorator: Google::Apis::CloudtraceV2::TruncatableString::Representation + + property :source_version, as: 'sourceVersion', class: Google::Apis::CloudtraceV2::TruncatableString, decorator: Google::Apis::CloudtraceV2::TruncatableString::Representation + + end + end + + class StackFrames + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dropped_frames_count, as: 'droppedFramesCount' + collection :frame, as: 'frame', class: Google::Apis::CloudtraceV2::StackFrame, decorator: Google::Apis::CloudtraceV2::StackFrame::Representation + + end + end + + class StackTrace + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :stack_frames, as: 'stackFrames', class: Google::Apis::CloudtraceV2::StackFrames, decorator: Google::Apis::CloudtraceV2::StackFrames::Representation + + property :stack_trace_hash_id, :numeric_string => true, as: 'stackTraceHashId' + 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 TimeEvent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annotation, as: 'annotation', class: Google::Apis::CloudtraceV2::Annotation, decorator: Google::Apis::CloudtraceV2::Annotation::Representation + + property :network_event, as: 'networkEvent', class: Google::Apis::CloudtraceV2::NetworkEvent, decorator: Google::Apis::CloudtraceV2::NetworkEvent::Representation + + property :time, as: 'time' + end + end + + class TimeEvents + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dropped_annotations_count, as: 'droppedAnnotationsCount' + property :dropped_network_events_count, as: 'droppedNetworkEventsCount' + collection :time_event, as: 'timeEvent', class: Google::Apis::CloudtraceV2::TimeEvent, decorator: Google::Apis::CloudtraceV2::TimeEvent::Representation + + end + end + + class Trace + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class TruncatableString + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :truncated_byte_count, as: 'truncatedByteCount' + property :value, as: 'value' + end + end + end + end +end diff --git a/generated/google/apis/cloudtrace_v2/service.rb b/generated/google/apis/cloudtrace_v2/service.rb new file mode 100644 index 000000000..f069d7241 --- /dev/null +++ b/generated/google/apis/cloudtrace_v2/service.rb @@ -0,0 +1,238 @@ +# 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 CloudtraceV2 + # Stackdriver Trace API + # + # Send and retrieve trace data from Stackdriver Trace. Data is generated and + # available by default for all App Engine applications. Data from other + # applications can be written to Stackdriver Trace for display, reporting, and + # analysis. + # + # @example + # require 'google/apis/cloudtrace_v2' + # + # Cloudtrace = Google::Apis::CloudtraceV2 # Alias the module + # service = Cloudtrace::CloudTraceService.new + # + # @see https://cloud.google.com/trace + class CloudTraceService < 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://cloudtrace.googleapis.com/', '') + @batch_path = 'batch' + end + + # Sends new spans to Stackdriver Trace or updates existing traces. If the + # name of a trace that you send matches that of an existing trace, new spans + # are added to the existing trace. Attempt to update existing spans results + # undefined behavior. If the name does not match, a new trace is created + # with given set of spans. + # @param [String] name + # Required. Name of the project where the spans belong. The format is + # `projects/PROJECT_ID`. + # @param [Google::Apis::CloudtraceV2::BatchWriteSpansRequest] batch_write_spans_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::CloudtraceV2::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtraceV2::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 batch_trace_write_spans(name, batch_write_spans_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/{+name}/traces:batchWrite', options) + command.request_representation = Google::Apis::CloudtraceV2::BatchWriteSpansRequest::Representation + command.request_object = batch_write_spans_request_object + command.response_representation = Google::Apis::CloudtraceV2::Empty::Representation + command.response_class = Google::Apis::CloudtraceV2::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 + + # Returns of a list of traces that match the specified filter conditions. + # @param [String] parent + # Required. The project where the trace data is stored. The format + # is `projects/PROJECT_ID`. + # @param [String] end_time + # Optional. Do not return traces whose start time is later than this time. + # @param [String] filter + # Opional. Return only traces that match this + # [trace filter](/trace/docs/trace-filters). Example: + # "label:/http/url root:/_ah/background my_label:17" + # @param [String] order_by + # Optional. A single field used to sort the returned traces. + # Only the following field names can be used: + # * `trace_id`: the trace's ID field + # * `name`: the root span's resource name + # * `duration`: the difference between the root span's start time and end time + # * `start`: the start time of the root span + # Sorting is in ascending order unless `desc` is appended to the sort field name. + # Example: `"name desc"`). + # @param [Fixnum] page_size + # Optional. The maximum number of results to return from this request. + # Non-positive values are ignored. The presence of `next_page_token` in the + # response indicates that more results might be available, even if fewer than + # the maximum number of results is returned by this request. + # @param [String] page_token + # Optional. If present, then retrieve the next batch of results from the + # preceding call to this method. `page_token` must be the value of + # `next_page_token` from the previous response. The values of other method + # parameters should be identical to those in the previous call. + # @param [String] start_time + # Optional. Do not return traces whose end time is earlier than this time. + # @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::CloudtraceV2::ListTracesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtraceV2::ListTracesResponse] + # + # @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_project_traces(parent, end_time: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+parent}/traces', options) + command.response_representation = Google::Apis::CloudtraceV2::ListTracesResponse::Representation + command.response_class = Google::Apis::CloudtraceV2::ListTracesResponse + command.params['parent'] = parent unless parent.nil? + command.query['endTime'] = end_time unless end_time.nil? + command.query['filter'] = filter unless filter.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['startTime'] = start_time unless start_time.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns a list of spans within a trace. + # @param [String] parent + # Required: The resource name of the trace containing the spans to list. + # The format is `projects/PROJECT_ID/traces/TRACE_ID`. + # @param [String] page_token + # Optional. If present, then retrieve the next batch of results from the + # preceding call to this method. `page_token` must be the value of + # `next_page_token` from the previous response. The values of other method + # parameters should be identical to those in the previous call. + # @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::CloudtraceV2::ListSpansResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtraceV2::ListSpansResponse] + # + # @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_project_trace_spans(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+parent}:listSpans', options) + command.response_representation = Google::Apis::CloudtraceV2::ListSpansResponse::Representation + command.response_class = Google::Apis::CloudtraceV2::ListSpansResponse + command.params['parent'] = parent unless parent.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 + + # Creates a new Span. + # @param [String] name + # The resource name of the span in the following format: + # projects/[PROJECT_ID]traces/[TRACE_ID]/spans/SPAN_ID is a unique + # identifier for a trace within a project. + # [SPAN_ID] is a unique identifier for a span within a trace, + # assigned when the span is created. + # @param [Google::Apis::CloudtraceV2::Span] span_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::CloudtraceV2::Span] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtraceV2::Span] + # + # @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_project_trace_span(name, span_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v2/{+name}', options) + command.request_representation = Google::Apis::CloudtraceV2::Span::Representation + command.request_object = span_object + command.response_representation = Google::Apis::CloudtraceV2::Span::Representation + command.response_class = Google::Apis::CloudtraceV2::Span + 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 + + 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/clouduseraccounts_vm_alpha.rb b/generated/google/apis/clouduseraccounts_vm_alpha.rb new file mode 100644 index 000000000..4435dd5a5 --- /dev/null +++ b/generated/google/apis/clouduseraccounts_vm_alpha.rb @@ -0,0 +1,44 @@ +# 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/clouduseraccounts_vm_alpha/service.rb' +require 'google/apis/clouduseraccounts_vm_alpha/classes.rb' +require 'google/apis/clouduseraccounts_vm_alpha/representations.rb' + +module Google + module Apis + # Cloud User Accounts API + # + # Creates and manages users and groups for accessing Google Compute Engine + # virtual machines. + # + # @see https://cloud.google.com/compute/docs/access/user-accounts/api/latest/ + module ClouduseraccountsVmAlpha + VERSION = 'VmAlpha' + REVISION = '20160316' + + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + + # View your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' + + # Manage your Google Cloud User Accounts + AUTH_CLOUD_USERACCOUNTS = 'https://www.googleapis.com/auth/cloud.useraccounts' + + # View your Google Cloud User Accounts + AUTH_CLOUD_USERACCOUNTS_READONLY = 'https://www.googleapis.com/auth/cloud.useraccounts.readonly' + end + end +end diff --git a/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb b/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb new file mode 100644 index 000000000..3617aa169 --- /dev/null +++ b/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb @@ -0,0 +1,1188 @@ +# 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 ClouduseraccountsVmAlpha + + # Enables "data access" audit logging for a service and specifies a list of + # members that are log-exempted. + class AuditConfig + include Google::Apis::Core::Hashable + + # Specifies the identities that are exempted from "data access" audit logging + # for the `service` specified above. Follows the same format of Binding.members. + # Corresponds to the JSON property `exemptedMembers` + # @return [Array] + attr_accessor :exempted_members + + # Specifies a service that will be enabled for "data access" audit logging. For + # example, `resourcemanager`, `storage`, `compute`. `allServices` is a special + # value that covers all services. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @service = args[:service] if args.key?(:service) + end + end + + # A list of authorized public keys for a user account. + class AuthorizedKeysView + include Google::Apis::Core::Hashable + + # [Output Only] The list of authorized public keys in SSH format. + # Corresponds to the JSON property `keys` + # @return [Array] + attr_accessor :keys + + # [Output Only] Whether the user has the ability to elevate on the instance that + # requested the authorized keys. + # Corresponds to the JSON property `sudoer` + # @return [Boolean] + attr_accessor :sudoer + alias_method :sudoer?, :sudoer + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @keys = args[:keys] if args.key?(:keys) + @sudoer = args[:sudoer] if args.key?(:sudoer) + end + end + + # Associates `members` with a `role`. + class Binding + include Google::Apis::Core::Hashable + + # Specifies the identities requesting access for a Cloud Platform resource. ` + # members` can have the following values: + # * `allUsers`: A special identifier that represents anyone who is on the + # internet; with or without a Google account. + # * `allAuthenticatedUsers`: A special identifier that represents anyone who is + # authenticated with a Google account or a service account. + # * `user:`emailid``: An email address that represents a specific Google account. + # For example, `alice@gmail.com` or `joe@example.com`. + # * `serviceAccount:`emailid``: An email address that represents a service + # account. For example, `my-other-app@appspot.gserviceaccount.com`. + # * `group:`emailid``: An email address that represents a Google group. For + # example, `admins@example.com`. + # * `domain:`domain``: A Google Apps domain name that represents all the users + # of that domain. For example, `google.com` or `example.com`. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members + + # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor` + # , or `roles/owner`. + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @members = args[:members] if args.key?(:members) + @role = args[:role] if args.key?(:role) + 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 + + # An operator to apply the subject with. + # Corresponds to the JSON property `op` + # @return [String] + attr_accessor :op + + # Trusted attributes discharged by the service. + # Corresponds to the JSON property `svc` + # @return [String] + attr_accessor :svc + + # 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 + + # 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) + @op = args[:op] if args.key?(:op) + @svc = args[:svc] if args.key?(:svc) + @sys = args[:sys] if args.key?(:sys) + @value = args[:value] if args.key?(:value) + @values = args[:values] if args.key?(:values) + end + end + + # A Group resource. + class Group + include Google::Apis::Core::Hashable + + # [Output Only] Creation timestamp in RFC3339 text format. + # Corresponds to the JSON property `creationTimestamp` + # @return [String] + attr_accessor :creation_timestamp + + # An optional textual description of the resource; provided by the client when + # the resource is created. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [Fixnum] + attr_accessor :id + + # [Output Only] Type of the resource. Always clouduseraccounts#group for groups. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] A list of URLs to User resources who belong to the group. Users + # may only be members of groups in the same project. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members + + # Name of the resource; provided by the client when the resource is created. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # [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) + @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @description = args[:description] if args.key?(:description) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @members = args[:members] if args.key?(:members) + @name = args[:name] if args.key?(:name) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # + class GroupList + include Google::Apis::Core::Hashable + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # [Output Only] A list of Group resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] Type of resource. Always clouduseraccounts#groupList for lists + # of groups. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] A token used to continue a truncated list request. + # 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 GroupsAddMemberRequest + include Google::Apis::Core::Hashable + + # Fully-qualified URLs of the User resources to add. + # Corresponds to the JSON property `users` + # @return [Array] + attr_accessor :users + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @users = args[:users] if args.key?(:users) + end + end + + # + class GroupsRemoveMemberRequest + include Google::Apis::Core::Hashable + + # Fully-qualified URLs of the User resources to remove. + # Corresponds to the JSON property `users` + # @return [Array] + attr_accessor :users + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @users = args[:users] if args.key?(:users) + end + end + + # A list of all Linux accounts for this project. This API is only used by + # Compute Engine virtual machines to get information about user accounts for a + # project or instance. Linux resources are read-only views into users and groups + # managed by the Compute Engine Accounts API. + class LinuxAccountViews + include Google::Apis::Core::Hashable + + # [Output Only] A list of all groups within a project. + # Corresponds to the JSON property `groupViews` + # @return [Array] + attr_accessor :group_views + + # [Output Only] Type of the resource. Always clouduseraccounts#linuxAccountViews + # for Linux resources. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] A list of all users within a project. + # Corresponds to the JSON property `userViews` + # @return [Array] + attr_accessor :user_views + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @group_views = args[:group_views] if args.key?(:group_views) + @kind = args[:kind] if args.key?(:kind) + @user_views = args[:user_views] if args.key?(:user_views) + end + end + + # + class LinuxGetAuthorizedKeysViewResponse + include Google::Apis::Core::Hashable + + # A list of authorized public keys for a user account. + # Corresponds to the JSON property `resource` + # @return [Google::Apis::ClouduseraccountsVmAlpha::AuthorizedKeysView] + attr_accessor :resource + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @resource = args[:resource] if args.key?(:resource) + end + end + + # + class LinuxGetLinuxAccountViewsResponse + include Google::Apis::Core::Hashable + + # A list of all Linux accounts for this project. This API is only used by + # Compute Engine virtual machines to get information about user accounts for a + # project or instance. Linux resources are read-only views into users and groups + # managed by the Compute Engine Accounts API. + # Corresponds to the JSON property `resource` + # @return [Google::Apis::ClouduseraccountsVmAlpha::LinuxAccountViews] + attr_accessor :resource + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @resource = args[:resource] if args.key?(:resource) + end + end + + # A detailed view of a Linux group. + class LinuxGroupView + include Google::Apis::Core::Hashable + + # [Output Only] The Group ID. + # Corresponds to the JSON property `gid` + # @return [Fixnum] + attr_accessor :gid + + # [Output Only] Group name. + # Corresponds to the JSON property `groupName` + # @return [String] + attr_accessor :group_name + + # [Output Only] List of user accounts that belong to the group. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @gid = args[:gid] if args.key?(:gid) + @group_name = args[:group_name] if args.key?(:group_name) + @members = args[:members] if args.key?(:members) + end + end + + # A detailed view of a Linux user account. + class LinuxUserView + include Google::Apis::Core::Hashable + + # [Output Only] The GECOS (user information) entry for this account. + # Corresponds to the JSON property `gecos` + # @return [String] + attr_accessor :gecos + + # [Output Only] User's default group ID. + # Corresponds to the JSON property `gid` + # @return [Fixnum] + attr_accessor :gid + + # [Output Only] The path to the home directory for this account. + # Corresponds to the JSON property `homeDirectory` + # @return [String] + attr_accessor :home_directory + + # [Output Only] The path to the login shell for this account. + # Corresponds to the JSON property `shell` + # @return [String] + attr_accessor :shell + + # [Output Only] User ID. + # Corresponds to the JSON property `uid` + # @return [Fixnum] + attr_accessor :uid + + # [Output Only] The username of the account. + # Corresponds to the JSON property `username` + # @return [String] + attr_accessor :username + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @gecos = args[:gecos] if args.key?(:gecos) + @gid = args[:gid] if args.key?(:gid) + @home_directory = args[:home_directory] if args.key?(:home_directory) + @shell = args[:shell] if args.key?(:shell) + @uid = args[:uid] if args.key?(:uid) + @username = args[:username] if args.key?(:username) + end + end + + # Specifies what kind of log the caller must write + class LogConfig + include Google::Apis::Core::Hashable + + # Options for counters + # Corresponds to the JSON property `counter` + # @return [Google::Apis::ClouduseraccountsVmAlpha::LogConfigCounterOptions] + attr_accessor :counter + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @counter = args[:counter] if args.key?(:counter) + end + end + + # Options for counters + class LogConfigCounterOptions + include Google::Apis::Core::Hashable + + # The field value to attribute. + # Corresponds to the JSON property `field` + # @return [String] + attr_accessor :field + + # The metric to update. + # Corresponds to the JSON property `metric` + # @return [String] + attr_accessor :metric + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field = args[:field] if args.key?(:field) + @metric = args[:metric] if args.key?(:metric) + end + end + + # An Operation resource, used to manage asynchronous API requests. + class Operation + include Google::Apis::Core::Hashable + + # [Output Only] Reserved for future use. + # Corresponds to the JSON property `clientOperationId` + # @return [String] + attr_accessor :client_operation_id + + # [Output Only] Creation timestamp in RFC3339 text format. + # Corresponds to the JSON property `creationTimestamp` + # @return [String] + attr_accessor :creation_timestamp + + # [Output Only] A textual description of the operation, which is set when the + # operation is created. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # [Output Only] The time that this operation was completed. This value is in + # RFC3339 text format. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # [Output Only] If errors are generated during processing of the operation, this + # field will be populated. + # Corresponds to the JSON property `error` + # @return [Google::Apis::ClouduseraccountsVmAlpha::Operation::Error] + attr_accessor :error + + # [Output Only] If the operation fails, this field contains the HTTP error + # message that was returned, such as NOT FOUND. + # Corresponds to the JSON property `httpErrorMessage` + # @return [String] + attr_accessor :http_error_message + + # [Output Only] If the operation fails, this field contains the HTTP error + # status code that was returned. For example, a 404 means the resource was not + # found. + # Corresponds to the JSON property `httpErrorStatusCode` + # @return [Fixnum] + attr_accessor :http_error_status_code + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [Fixnum] + attr_accessor :id + + # [Output Only] The time that this operation was requested. This value is in + # RFC3339 text format. + # Corresponds to the JSON property `insertTime` + # @return [String] + attr_accessor :insert_time + + # [Output Only] Type of the resource. Always compute#operation for Operation + # resources. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] Name of the resource. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # [Output Only] The type of operation, such as insert, update, or delete, and so + # on. + # Corresponds to the JSON property `operationType` + # @return [String] + attr_accessor :operation_type + + # [Output Only] An optional progress indicator that ranges from 0 to 100. There + # is no requirement that this be linear or support any granularity of operations. + # This should not be used to guess when the operation will be complete. This + # number should monotonically increase as the operation progresses. + # Corresponds to the JSON property `progress` + # @return [Fixnum] + attr_accessor :progress + + # [Output Only] The URL of the region where the operation resides. Only + # available when performing regional operations. + # 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 + + # [Output Only] The time that this operation was started by the server. This + # value is in RFC3339 text format. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # [Output Only] The status of the operation, which can be one of the following: + # PENDING, RUNNING, or DONE. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # [Output Only] An optional textual description of the current status of the + # operation. + # Corresponds to the JSON property `statusMessage` + # @return [String] + attr_accessor :status_message + + # [Output Only] The unique target ID, which identifies a specific incarnation of + # the target resource. + # Corresponds to the JSON property `targetId` + # @return [Fixnum] + attr_accessor :target_id + + # [Output Only] The URL of the resource that the operation modifies. + # Corresponds to the JSON property `targetLink` + # @return [String] + attr_accessor :target_link + + # [Output Only] User who requested the operation, for example: user@example.com. + # Corresponds to the JSON property `user` + # @return [String] + attr_accessor :user + + # [Output Only] If warning messages are generated during processing of the + # operation, this field will be populated. + # Corresponds to the JSON property `warnings` + # @return [Array] + attr_accessor :warnings + + # [Output Only] The URL of the zone where the operation resides. Only available + # when performing per-zone operations. + # Corresponds to the JSON property `zone` + # @return [String] + attr_accessor :zone + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id) + @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @description = args[:description] if args.key?(:description) + @end_time = args[:end_time] if args.key?(:end_time) + @error = args[:error] if args.key?(:error) + @http_error_message = args[:http_error_message] if args.key?(:http_error_message) + @http_error_status_code = args[:http_error_status_code] if args.key?(:http_error_status_code) + @id = args[:id] if args.key?(:id) + @insert_time = args[:insert_time] if args.key?(:insert_time) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @operation_type = args[:operation_type] if args.key?(:operation_type) + @progress = args[:progress] if args.key?(:progress) + @region = args[:region] if args.key?(:region) + @self_link = args[:self_link] if args.key?(:self_link) + @start_time = args[:start_time] if args.key?(:start_time) + @status = args[:status] if args.key?(:status) + @status_message = args[:status_message] if args.key?(:status_message) + @target_id = args[:target_id] if args.key?(:target_id) + @target_link = args[:target_link] if args.key?(:target_link) + @user = args[:user] if args.key?(:user) + @warnings = args[:warnings] if args.key?(:warnings) + @zone = args[:zone] if args.key?(:zone) + end + + # [Output Only] If errors are generated during processing of the operation, this + # field will be populated. + class Error + include Google::Apis::Core::Hashable + + # [Output Only] The array of errors encountered while processing this operation. + # Corresponds to the JSON property `errors` + # @return [Array] + attr_accessor :errors + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @errors = args[:errors] if args.key?(:errors) + end + + # + class Error + include Google::Apis::Core::Hashable + + # [Output Only] The error type identifier for this error. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Indicates the field in the request that caused the error. This + # property is optional. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # [Output Only] An optional, human-readable error message. + # 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) + @location = args[:location] if args.key?(:location) + @message = args[:message] if args.key?(:message) + end + end + end + + # + 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 + + # Contains a list of Operation resources. + class OperationList + 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 + + # [Output Only] A list of Operation resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] Type of resource. Always compute#operations for Operations + # 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 + + # Defines an Identity and Access Management (IAM) policy. It is used to specify + # access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of ` + # members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service 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: + # sean@example.com"] ` ] ` + # For a description of IAM and its features, see the [IAM developer's guide]( + # https://cloud.google.com/iam). + class Policy + include Google::Apis::Core::Hashable + + # Specifies audit logging configs for "data access". "data access": generally + # refers to data reads/writes and admin reads. "admin activity": generally + # refers to admin writes. + # Note: `AuditConfig` doesn't apply to "admin activity", which always enables + # audit logging. + # Corresponds to the JSON property `auditConfigs` + # @return [Array] + attr_accessor :audit_configs + + # Associates a list of `members` to a `role`. Multiple `bindings` must not be + # specified for the same `role`. `bindings` with no members will result in an + # error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + + # `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 + # to perform policy updates in order to avoid race conditions: An `etag` is + # returned in the response to `getIamPolicy`, and systems are expected to put + # that etag in the request to `setIamPolicy` to ensure that their change will be + # applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :etag + + # + # Corresponds to the JSON property `iamOwned` + # @return [Boolean] + attr_accessor :iam_owned + alias_method :iam_owned?, :iam_owned + + # If more than one rule is specified, the rules are applied in the following + # manner: - All matching LOG rules are always applied. - If any DENY/ + # DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if + # one or more matching rule requires logging. - Otherwise, if any ALLOW/ + # ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if + # one or more matching rule requires logging. - Otherwise, if no rule applies, + # permission is denied. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + # Version of the `Policy`. The default version is 0. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audit_configs = args[:audit_configs] if args.key?(:audit_configs) + @bindings = args[:bindings] if args.key?(:bindings) + @etag = args[:etag] if args.key?(:etag) + @iam_owned = args[:iam_owned] if args.key?(:iam_owned) + @rules = args[:rules] if args.key?(:rules) + @version = args[:version] if args.key?(:version) + end + end + + # A public key for authenticating to guests. + class PublicKey + include Google::Apis::Core::Hashable + + # [Output Only] Creation timestamp in RFC3339 text format. + # Corresponds to the JSON property `creationTimestamp` + # @return [String] + attr_accessor :creation_timestamp + + # An optional textual description of the resource; provided by the client when + # the resource is created. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Optional expiration timestamp. If provided, the timestamp must be in RFC3339 + # text format. If not provided, the public key never expires. + # Corresponds to the JSON property `expirationTimestamp` + # @return [String] + attr_accessor :expiration_timestamp + + # [Output Only] The fingerprint of the key is defined by RFC4716 to be the MD5 + # digest of the public key. + # Corresponds to the JSON property `fingerprint` + # @return [String] + attr_accessor :fingerprint + + # Public key text in SSH format, defined by RFC4253 section 6.6. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @description = args[:description] if args.key?(:description) + @expiration_timestamp = args[:expiration_timestamp] if args.key?(:expiration_timestamp) + @fingerprint = args[:fingerprint] if args.key?(:fingerprint) + @key = args[:key] if args.key?(:key) + end + end + + # A rule to be applied in a Policy. + class Rule + include Google::Apis::Core::Hashable + + # Required + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # Additional restrictions that must be met + # Corresponds to the JSON property `conditions` + # @return [Array] + attr_accessor :conditions + + # Human-readable description of the rule. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in this set of entries. + # Corresponds to the JSON property `ins` + # @return [Array] + attr_accessor :ins + + # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries + # that match the LOG action. + # Corresponds to the JSON property `logConfigs` + # @return [Array] + attr_accessor :log_configs + + # The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is not in this set of + # entries. + # Corresponds to the JSON property `notIns` + # @return [Array] + attr_accessor :not_ins + + # 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 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @action = args[:action] if args.key?(:action) + @conditions = args[:conditions] if args.key?(:conditions) + @description = args[:description] if args.key?(:description) + @ins = args[:ins] if args.key?(:ins) + @log_configs = args[:log_configs] if args.key?(:log_configs) + @not_ins = args[:not_ins] if args.key?(:not_ins) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # + class TestPermissionsRequest + include Google::Apis::Core::Hashable + + # The set of permissions to check for the 'resource'. Permissions with wildcards + # (such as '*' or 'storage.*') are not allowed. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # + class TestPermissionsResponse + include Google::Apis::Core::Hashable + + # A subset of `TestPermissionsRequest.permissions` that the caller is allowed. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # A User resource. + class User + include Google::Apis::Core::Hashable + + # [Output Only] Creation timestamp in RFC3339 text format. + # Corresponds to the JSON property `creationTimestamp` + # @return [String] + attr_accessor :creation_timestamp + + # An optional textual description of the resource; provided by the client when + # the resource is created. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # [Output Only] A list of URLs to Group resources who contain the user. Users + # are only members of groups in the same project. + # Corresponds to the JSON property `groups` + # @return [Array] + attr_accessor :groups + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [Fixnum] + attr_accessor :id + + # [Output Only] Type of the resource. Always clouduseraccounts#user for users. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of the resource; provided by the client when the resource is created. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Email address of account's owner. This account will be validated to make sure + # it exists. The email can belong to any domain, but it must be tied to a Google + # account. + # Corresponds to the JSON property `owner` + # @return [String] + attr_accessor :owner + + # [Output Only] Public keys that this user may use to login. + # Corresponds to the JSON property `publicKeys` + # @return [Array] + attr_accessor :public_keys + + # [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) + @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @description = args[:description] if args.key?(:description) + @groups = args[:groups] if args.key?(:groups) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @owner = args[:owner] if args.key?(:owner) + @public_keys = args[:public_keys] if args.key?(:public_keys) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # + class UserList + include Google::Apis::Core::Hashable + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # [Output Only] A list of User resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] Type of resource. Always clouduseraccounts#userList for lists of + # users. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] A token used to continue a truncated list request. + # 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 + end + end +end diff --git a/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb b/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb new file mode 100644 index 000000000..9af56f14c --- /dev/null +++ b/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb @@ -0,0 +1,494 @@ +# 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 ClouduseraccountsVmAlpha + + class AuditConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AuthorizedKeysView + 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 Condition + 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 LogConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LogConfigCounterOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Operation + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Error + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Error + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + 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 OperationList + 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 PublicKey + 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 TestPermissionsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TestPermissionsResponse + 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 AuditConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :exempted_members, as: 'exemptedMembers' + property :service, as: 'service' + end + end + + class AuthorizedKeysView + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :keys, as: 'keys' + property :sudoer, as: 'sudoer' + end + end + + class Binding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :members, as: 'members' + property :role, as: 'role' + end + end + + class Condition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :iam, as: 'iam' + property :op, as: 'op' + property :svc, as: 'svc' + property :sys, as: 'sys' + property :value, as: 'value' + collection :values, as: 'values' + end + end + + class Group + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creation_timestamp, as: 'creationTimestamp' + property :description, as: 'description' + property :id, :numeric_string => true, as: 'id' + property :kind, as: 'kind' + collection :members, as: 'members' + property :name, as: 'name' + property :self_link, as: 'selfLink' + end + end + + class GroupList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ClouduseraccountsVmAlpha::Group, decorator: Google::Apis::ClouduseraccountsVmAlpha::Group::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + + class GroupsAddMemberRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :users, as: 'users' + end + end + + class GroupsRemoveMemberRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :users, as: 'users' + end + end + + class LinuxAccountViews + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :group_views, as: 'groupViews', class: Google::Apis::ClouduseraccountsVmAlpha::LinuxGroupView, decorator: Google::Apis::ClouduseraccountsVmAlpha::LinuxGroupView::Representation + + property :kind, as: 'kind' + collection :user_views, as: 'userViews', class: Google::Apis::ClouduseraccountsVmAlpha::LinuxUserView, decorator: Google::Apis::ClouduseraccountsVmAlpha::LinuxUserView::Representation + + end + end + + class LinuxGetAuthorizedKeysViewResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :resource, as: 'resource', class: Google::Apis::ClouduseraccountsVmAlpha::AuthorizedKeysView, decorator: Google::Apis::ClouduseraccountsVmAlpha::AuthorizedKeysView::Representation + + end + end + + class LinuxGetLinuxAccountViewsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :resource, as: 'resource', class: Google::Apis::ClouduseraccountsVmAlpha::LinuxAccountViews, decorator: Google::Apis::ClouduseraccountsVmAlpha::LinuxAccountViews::Representation + + end + end + + class LinuxGroupView + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :gid, as: 'gid' + property :group_name, as: 'groupName' + collection :members, as: 'members' + end + end + + class LinuxUserView + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :gecos, as: 'gecos' + property :gid, as: 'gid' + property :home_directory, as: 'homeDirectory' + property :shell, as: 'shell' + property :uid, as: 'uid' + property :username, as: 'username' + end + end + + class LogConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :counter, as: 'counter', class: Google::Apis::ClouduseraccountsVmAlpha::LogConfigCounterOptions, decorator: Google::Apis::ClouduseraccountsVmAlpha::LogConfigCounterOptions::Representation + + end + end + + class LogConfigCounterOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field, as: 'field' + property :metric, as: 'metric' + end + end + + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :client_operation_id, as: 'clientOperationId' + property :creation_timestamp, as: 'creationTimestamp' + property :description, as: 'description' + property :end_time, as: 'endTime' + property :error, as: 'error', class: Google::Apis::ClouduseraccountsVmAlpha::Operation::Error, decorator: Google::Apis::ClouduseraccountsVmAlpha::Operation::Error::Representation + + property :http_error_message, as: 'httpErrorMessage' + property :http_error_status_code, as: 'httpErrorStatusCode' + property :id, :numeric_string => true, as: 'id' + property :insert_time, as: 'insertTime' + property :kind, as: 'kind' + property :name, as: 'name' + property :operation_type, as: 'operationType' + property :progress, as: 'progress' + property :region, as: 'region' + property :self_link, as: 'selfLink' + property :start_time, as: 'startTime' + property :status, as: 'status' + property :status_message, as: 'statusMessage' + property :target_id, :numeric_string => true, as: 'targetId' + property :target_link, as: 'targetLink' + property :user, as: 'user' + collection :warnings, as: 'warnings', class: Google::Apis::ClouduseraccountsVmAlpha::Operation::Warning, decorator: Google::Apis::ClouduseraccountsVmAlpha::Operation::Warning::Representation + + property :zone, as: 'zone' + end + + class Error + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :errors, as: 'errors', class: Google::Apis::ClouduseraccountsVmAlpha::Operation::Error::Error, decorator: Google::Apis::ClouduseraccountsVmAlpha::Operation::Error::Error::Representation + + end + + class Error + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + property :location, as: 'location' + property :message, as: 'message' + end + end + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ClouduseraccountsVmAlpha::Operation::Warning::Datum, decorator: Google::Apis::ClouduseraccountsVmAlpha::Operation::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 OperationList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ClouduseraccountsVmAlpha::Operation, decorator: Google::Apis::ClouduseraccountsVmAlpha::Operation::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + + class Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :audit_configs, as: 'auditConfigs', class: Google::Apis::ClouduseraccountsVmAlpha::AuditConfig, decorator: Google::Apis::ClouduseraccountsVmAlpha::AuditConfig::Representation + + collection :bindings, as: 'bindings', class: Google::Apis::ClouduseraccountsVmAlpha::Binding, decorator: Google::Apis::ClouduseraccountsVmAlpha::Binding::Representation + + property :etag, :base64 => true, as: 'etag' + property :iam_owned, as: 'iamOwned' + collection :rules, as: 'rules', class: Google::Apis::ClouduseraccountsVmAlpha::Rule, decorator: Google::Apis::ClouduseraccountsVmAlpha::Rule::Representation + + property :version, as: 'version' + end + end + + class PublicKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creation_timestamp, as: 'creationTimestamp' + property :description, as: 'description' + property :expiration_timestamp, as: 'expirationTimestamp' + property :fingerprint, as: 'fingerprint' + property :key, as: 'key' + end + end + + class Rule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :action, as: 'action' + collection :conditions, as: 'conditions', class: Google::Apis::ClouduseraccountsVmAlpha::Condition, decorator: Google::Apis::ClouduseraccountsVmAlpha::Condition::Representation + + property :description, as: 'description' + collection :ins, as: 'ins' + collection :log_configs, as: 'logConfigs', class: Google::Apis::ClouduseraccountsVmAlpha::LogConfig, decorator: Google::Apis::ClouduseraccountsVmAlpha::LogConfig::Representation + + collection :not_ins, as: 'notIns' + collection :permissions, as: 'permissions' + end + end + + class TestPermissionsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' + end + end + + class TestPermissionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' + end + end + + class User + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creation_timestamp, as: 'creationTimestamp' + property :description, as: 'description' + collection :groups, as: 'groups' + property :id, :numeric_string => true, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + property :owner, as: 'owner' + collection :public_keys, as: 'publicKeys', class: Google::Apis::ClouduseraccountsVmAlpha::PublicKey, decorator: Google::Apis::ClouduseraccountsVmAlpha::PublicKey::Representation + + property :self_link, as: 'selfLink' + end + end + + class UserList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ClouduseraccountsVmAlpha::User, decorator: Google::Apis::ClouduseraccountsVmAlpha::User::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + end + end +end diff --git a/generated/google/apis/clouduseraccounts_vm_alpha/service.rb b/generated/google/apis/clouduseraccounts_vm_alpha/service.rb new file mode 100644 index 000000000..f9cc4cb57 --- /dev/null +++ b/generated/google/apis/clouduseraccounts_vm_alpha/service.rb @@ -0,0 +1,1152 @@ +# 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 ClouduseraccountsVmAlpha + # Cloud User Accounts API + # + # Creates and manages users and groups for accessing Google Compute Engine + # virtual machines. + # + # @example + # require 'google/apis/clouduseraccounts_vm_alpha' + # + # Clouduseraccounts = Google::Apis::ClouduseraccountsVmAlpha # Alias the module + # service = Clouduseraccounts::CloudUserAccountsService.new + # + # @see https://cloud.google.com/compute/docs/access/user-accounts/api/latest/ + class CloudUserAccountsService < 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. + # Overrides userIp if both are provided. + attr_accessor :quota_user + + # @return [String] + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + attr_accessor :user_ip + + def initialize + super('https://www.googleapis.com/', 'clouduseraccounts/vm_alpha/projects/') + @batch_path = 'batch' + end + + # Deletes the specified operation resource. + # @param [String] project + # Project ID for this request. + # @param [String] operation + # Name of the Operations 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 [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_global_accounts_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/global/operations/{operation}', options) + command.params['project'] = project unless project.nil? + command.params['operation'] = operation unless operation.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 the specified operation resource. + # @param [String] project + # Project ID for this request. + # @param [String] operation + # Name of the Operations 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::ClouduseraccountsVmAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouduseraccountsVmAlpha::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_global_accounts_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/operations/{operation}', options) + command.response_representation = Google::Apis::ClouduseraccountsVmAlpha::Operation::Representation + command.response_class = Google::Apis::ClouduseraccountsVmAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['operation'] = operation unless operation.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 the list of operation resources contained within the specified + # project. + # @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 that do not have a name of 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::ClouduseraccountsVmAlpha::OperationList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouduseraccountsVmAlpha::OperationList] + # + # @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_global_accounts_operations(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}/global/operations', options) + command.response_representation = Google::Apis::ClouduseraccountsVmAlpha::OperationList::Representation + command.response_class = Google::Apis::ClouduseraccountsVmAlpha::OperationList + 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 + + # Adds users to the specified group. + # @param [String] project + # Project ID for this request. + # @param [String] group_name + # Name of the group for this request. + # @param [Google::Apis::ClouduseraccountsVmAlpha::GroupsAddMemberRequest] groups_add_member_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::ClouduseraccountsVmAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouduseraccountsVmAlpha::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 add_group_member(project, group_name, groups_add_member_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/groups/{groupName}/addMember', options) + command.request_representation = Google::Apis::ClouduseraccountsVmAlpha::GroupsAddMemberRequest::Representation + command.request_object = groups_add_member_request_object + command.response_representation = Google::Apis::ClouduseraccountsVmAlpha::Operation::Representation + command.response_class = Google::Apis::ClouduseraccountsVmAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['groupName'] = group_name unless group_name.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 Group resource. + # @param [String] project + # Project ID for this request. + # @param [String] group_name + # Name of the Group 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::ClouduseraccountsVmAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouduseraccountsVmAlpha::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_group(project, group_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/global/groups/{groupName}', options) + command.response_representation = Google::Apis::ClouduseraccountsVmAlpha::Operation::Representation + command.response_class = Google::Apis::ClouduseraccountsVmAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['groupName'] = group_name unless group_name.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 Group resource. + # @param [String] project + # Project ID for this request. + # @param [String] group_name + # Name of the Group 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::ClouduseraccountsVmAlpha::Group] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouduseraccountsVmAlpha::Group] + # + # @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_group(project, group_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/groups/{groupName}', options) + command.response_representation = Google::Apis::ClouduseraccountsVmAlpha::Group::Representation + command.response_class = Google::Apis::ClouduseraccountsVmAlpha::Group + command.params['project'] = project unless project.nil? + command.params['groupName'] = group_name unless group_name.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 the access control policy for a resource. May be empty if no such policy + # or resource exists. + # @param [String] project + # Project ID for this request. + # @param [String] resource + # Name of the resource for this request. + # @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::ClouduseraccountsVmAlpha::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouduseraccountsVmAlpha::Policy] + # + # @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_group_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/groups/{resource}/getIamPolicy', options) + command.response_representation = Google::Apis::ClouduseraccountsVmAlpha::Policy::Representation + command.response_class = Google::Apis::ClouduseraccountsVmAlpha::Policy + command.params['project'] = project unless project.nil? + command.params['resource'] = resource unless resource.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 Group resource in the specified project using the data included in + # the request. + # @param [String] project + # Project ID for this request. + # @param [Google::Apis::ClouduseraccountsVmAlpha::Group] group_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::ClouduseraccountsVmAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouduseraccountsVmAlpha::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_group(project, group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/groups', options) + command.request_representation = Google::Apis::ClouduseraccountsVmAlpha::Group::Representation + command.request_object = group_object + command.response_representation = Google::Apis::ClouduseraccountsVmAlpha::Operation::Representation + command.response_class = Google::Apis::ClouduseraccountsVmAlpha::Operation + command.params['project'] = project unless project.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 the list of groups contained within the specified project. + # @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 that do not have a name of 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::ClouduseraccountsVmAlpha::GroupList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouduseraccountsVmAlpha::GroupList] + # + # @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_groups(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}/global/groups', options) + command.response_representation = Google::Apis::ClouduseraccountsVmAlpha::GroupList::Representation + command.response_class = Google::Apis::ClouduseraccountsVmAlpha::GroupList + 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 + + # Removes users from the specified group. + # @param [String] project + # Project ID for this request. + # @param [String] group_name + # Name of the group for this request. + # @param [Google::Apis::ClouduseraccountsVmAlpha::GroupsRemoveMemberRequest] groups_remove_member_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::ClouduseraccountsVmAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouduseraccountsVmAlpha::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 remove_group_member(project, group_name, groups_remove_member_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/groups/{groupName}/removeMember', options) + command.request_representation = Google::Apis::ClouduseraccountsVmAlpha::GroupsRemoveMemberRequest::Representation + command.request_object = groups_remove_member_request_object + command.response_representation = Google::Apis::ClouduseraccountsVmAlpha::Operation::Representation + command.response_class = Google::Apis::ClouduseraccountsVmAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['groupName'] = group_name unless group_name.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 + + # Sets the access control policy on the specified resource. Replaces any + # existing policy. + # @param [String] project + # Project ID for this request. + # @param [String] resource + # Name of the resource for this request. + # @param [Google::Apis::ClouduseraccountsVmAlpha::Policy] policy_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::ClouduseraccountsVmAlpha::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouduseraccountsVmAlpha::Policy] + # + # @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 set_group_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/groups/{resource}/setIamPolicy', options) + command.request_representation = Google::Apis::ClouduseraccountsVmAlpha::Policy::Representation + command.request_object = policy_object + command.response_representation = Google::Apis::ClouduseraccountsVmAlpha::Policy::Representation + command.response_class = Google::Apis::ClouduseraccountsVmAlpha::Policy + command.params['project'] = project unless project.nil? + command.params['resource'] = resource unless resource.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 permissions that a caller has on the specified resource. + # @param [String] project + # Project ID for this request. + # @param [String] resource + # Name of the resource for this request. + # @param [Google::Apis::ClouduseraccountsVmAlpha::TestPermissionsRequest] test_permissions_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::ClouduseraccountsVmAlpha::TestPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouduseraccountsVmAlpha::TestPermissionsResponse] + # + # @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 test_group_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/groups/{resource}/testIamPermissions', options) + command.request_representation = Google::Apis::ClouduseraccountsVmAlpha::TestPermissionsRequest::Representation + command.request_object = test_permissions_request_object + command.response_representation = Google::Apis::ClouduseraccountsVmAlpha::TestPermissionsResponse::Representation + command.response_class = Google::Apis::ClouduseraccountsVmAlpha::TestPermissionsResponse + command.params['project'] = project unless project.nil? + command.params['resource'] = resource unless resource.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 a list of authorized public keys for a specific user account. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # Name of the zone for this request. + # @param [String] user + # The user account for which you want to get a list of authorized public keys. + # @param [String] instance + # The fully-qualified URL of the virtual machine requesting the view. + # @param [Boolean] login + # Whether the view was requested as part of a user-initiated login. + # @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::ClouduseraccountsVmAlpha::LinuxGetAuthorizedKeysViewResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouduseraccountsVmAlpha::LinuxGetAuthorizedKeysViewResponse] + # + # @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_linux_authorized_keys_view(project, zone, user, instance, login: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/zones/{zone}/authorizedKeysView/{user}', options) + command.response_representation = Google::Apis::ClouduseraccountsVmAlpha::LinuxGetAuthorizedKeysViewResponse::Representation + command.response_class = Google::Apis::ClouduseraccountsVmAlpha::LinuxGetAuthorizedKeysViewResponse + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['user'] = user unless user.nil? + command.query['instance'] = instance unless instance.nil? + command.query['login'] = login unless login.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 user accounts for an instance within a specific project. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # Name of the zone for this request. + # @param [String] instance + # The fully-qualified URL of the virtual machine requesting the views. + # @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 that do not have a name of 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::ClouduseraccountsVmAlpha::LinuxGetLinuxAccountViewsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouduseraccountsVmAlpha::LinuxGetLinuxAccountViewsResponse] + # + # @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_linux_linux_account_views(project, zone, instance, 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(:post, '{project}/zones/{zone}/linuxAccountViews', options) + command.response_representation = Google::Apis::ClouduseraccountsVmAlpha::LinuxGetLinuxAccountViewsResponse::Representation + command.response_class = Google::Apis::ClouduseraccountsVmAlpha::LinuxGetLinuxAccountViewsResponse + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.query['filter'] = filter unless filter.nil? + command.query['instance'] = instance unless instance.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 + + # Adds a public key to the specified User resource with the data included in the + # request. + # @param [String] project + # Project ID for this request. + # @param [String] user + # Name of the user for this request. + # @param [Google::Apis::ClouduseraccountsVmAlpha::PublicKey] public_key_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::ClouduseraccountsVmAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouduseraccountsVmAlpha::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 add_user_public_key(project, user, public_key_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/users/{user}/addPublicKey', options) + command.request_representation = Google::Apis::ClouduseraccountsVmAlpha::PublicKey::Representation + command.request_object = public_key_object + command.response_representation = Google::Apis::ClouduseraccountsVmAlpha::Operation::Representation + command.response_class = Google::Apis::ClouduseraccountsVmAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['user'] = user unless user.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 User resource. + # @param [String] project + # Project ID for this request. + # @param [String] user + # Name of the user 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::ClouduseraccountsVmAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouduseraccountsVmAlpha::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_user(project, user, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/global/users/{user}', options) + command.response_representation = Google::Apis::ClouduseraccountsVmAlpha::Operation::Representation + command.response_class = Google::Apis::ClouduseraccountsVmAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['user'] = user unless user.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 User resource. + # @param [String] project + # Project ID for this request. + # @param [String] user + # Name of the user 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::ClouduseraccountsVmAlpha::User] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouduseraccountsVmAlpha::User] + # + # @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_user(project, user, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/users/{user}', options) + command.response_representation = Google::Apis::ClouduseraccountsVmAlpha::User::Representation + command.response_class = Google::Apis::ClouduseraccountsVmAlpha::User + command.params['project'] = project unless project.nil? + command.params['user'] = user unless user.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 the access control policy for a resource. May be empty if no such policy + # or resource exists. + # @param [String] project + # Project ID for this request. + # @param [String] resource + # Name of the resource for this request. + # @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::ClouduseraccountsVmAlpha::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouduseraccountsVmAlpha::Policy] + # + # @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_user_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/users/{resource}/getIamPolicy', options) + command.response_representation = Google::Apis::ClouduseraccountsVmAlpha::Policy::Representation + command.response_class = Google::Apis::ClouduseraccountsVmAlpha::Policy + command.params['project'] = project unless project.nil? + command.params['resource'] = resource unless resource.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 User resource in the specified project using the data included in + # the request. + # @param [String] project + # Project ID for this request. + # @param [Google::Apis::ClouduseraccountsVmAlpha::User] user_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::ClouduseraccountsVmAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouduseraccountsVmAlpha::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_user(project, user_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/users', options) + command.request_representation = Google::Apis::ClouduseraccountsVmAlpha::User::Representation + command.request_object = user_object + command.response_representation = Google::Apis::ClouduseraccountsVmAlpha::Operation::Representation + command.response_class = Google::Apis::ClouduseraccountsVmAlpha::Operation + command.params['project'] = project unless project.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 users contained within the specified project. + # @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 that do not have a name of 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::ClouduseraccountsVmAlpha::UserList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouduseraccountsVmAlpha::UserList] + # + # @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_users(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}/global/users', options) + command.response_representation = Google::Apis::ClouduseraccountsVmAlpha::UserList::Representation + command.response_class = Google::Apis::ClouduseraccountsVmAlpha::UserList + 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 + + # Removes the specified public key from the user. + # @param [String] project + # Project ID for this request. + # @param [String] user + # Name of the user for this request. + # @param [String] fingerprint + # The fingerprint of the public key to delete. Public keys are identified by + # their fingerprint, which is defined by RFC4716 to be the MD5 digest of the + # public key. + # @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::ClouduseraccountsVmAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouduseraccountsVmAlpha::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 remove_user_public_key(project, user, fingerprint, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/users/{user}/removePublicKey', options) + command.response_representation = Google::Apis::ClouduseraccountsVmAlpha::Operation::Representation + command.response_class = Google::Apis::ClouduseraccountsVmAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['user'] = user unless user.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 + + # Sets the access control policy on the specified resource. Replaces any + # existing policy. + # @param [String] project + # Project ID for this request. + # @param [String] resource + # Name of the resource for this request. + # @param [Google::Apis::ClouduseraccountsVmAlpha::Policy] policy_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::ClouduseraccountsVmAlpha::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouduseraccountsVmAlpha::Policy] + # + # @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 set_user_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/users/{resource}/setIamPolicy', options) + command.request_representation = Google::Apis::ClouduseraccountsVmAlpha::Policy::Representation + command.request_object = policy_object + command.response_representation = Google::Apis::ClouduseraccountsVmAlpha::Policy::Representation + command.response_class = Google::Apis::ClouduseraccountsVmAlpha::Policy + command.params['project'] = project unless project.nil? + command.params['resource'] = resource unless resource.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 permissions that a caller has on the specified resource. + # @param [String] project + # Project ID for this request. + # @param [String] resource + # Name of the resource for this request. + # @param [Google::Apis::ClouduseraccountsVmAlpha::TestPermissionsRequest] test_permissions_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::ClouduseraccountsVmAlpha::TestPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouduseraccountsVmAlpha::TestPermissionsResponse] + # + # @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 test_user_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/users/{resource}/testIamPermissions', options) + command.request_representation = Google::Apis::ClouduseraccountsVmAlpha::TestPermissionsRequest::Representation + command.request_object = test_permissions_request_object + command.response_representation = Google::Apis::ClouduseraccountsVmAlpha::TestPermissionsResponse::Representation + command.response_class = Google::Apis::ClouduseraccountsVmAlpha::TestPermissionsResponse + command.params['project'] = project unless project.nil? + command.params['resource'] = resource unless resource.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 + + def apply_command_defaults(command) + command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + end + end + end + end +end diff --git a/generated/google/apis/compute_beta.rb b/generated/google/apis/compute_beta.rb index 5071c9712..8a7d88a94 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 = '20170612' + REVISION = '20170821' # 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 0ef4c7eb0..a43dfc303 100644 --- a/generated/google/apis/compute_beta/classes.rb +++ b/generated/google/apis/compute_beta/classes.rb @@ -123,13 +123,12 @@ module Google class AcceleratorTypeAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A map of scoped accelerator type lists. + # A list of AcceleratorTypesScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -188,7 +187,11 @@ module Google # @return [String] attr_accessor :kind - # [Output Only] A token used to continue a truncated list request. + # [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 @@ -357,6 +360,11 @@ module Google # @return [String] attr_accessor :address + # The type of address to reserve. If unspecified, defaults to EXTERNAL. + # Corresponds to the JSON property `addressType` + # @return [String] + attr_accessor :address_type + # [Output Only] Creation timestamp in RFC3339 text format. # Corresponds to the JSON property `creationTimestamp` # @return [String] @@ -432,6 +440,13 @@ module Google # @return [String] attr_accessor :status + # For external addresses, this field should not be used. + # The URL of the subnetwork in which to reserve the address. If an IP address is + # specified, it must be within the subnetwork's IP range. + # Corresponds to the JSON property `subnetwork` + # @return [String] + attr_accessor :subnetwork + # [Output Only] The URLs of the resources that are using this address. # Corresponds to the JSON property `users` # @return [Array] @@ -444,6 +459,7 @@ module Google # Update properties of this object def update!(**args) @address = args[:address] if args.key?(:address) + @address_type = args[:address_type] if args.key?(:address_type) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) @id = args[:id] if args.key?(:id) @@ -455,6 +471,7 @@ module Google @region = args[:region] if args.key?(:region) @self_link = args[:self_link] if args.key?(:self_link) @status = args[:status] if args.key?(:status) + @subnetwork = args[:subnetwork] if args.key?(:subnetwork) @users = args[:users] if args.key?(:users) end end @@ -468,7 +485,7 @@ module Google # @return [String] attr_accessor :id - # [Output Only] A map of scoped address lists. + # A list of AddressesScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -511,13 +528,12 @@ module Google class AddressList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of addresses. + # A list of Address resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -537,7 +553,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] Server-defined URL for the resource. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -952,6 +968,25 @@ module Google end end + # Authorization-related information used by Cloud Audit Logging. + class AuthorizationLoggingOptions + include Google::Apis::Core::Hashable + + # The type of the permission that was checked. + # Corresponds to the JSON property `permissionType` + # @return [String] + attr_accessor :permission_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permission_type = args[:permission_type] if args.key?(:permission_type) + end + end + # Represents an Autoscaler resource. Autoscalers allow you to automatically # scale virtual machine instances in managed instance groups according to an # autoscaling policy that you define. For more information, read Autoscaling @@ -1055,13 +1090,12 @@ module Google class AutoscalerAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # A map of scoped autoscaler lists. + # A list of AutoscalersScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -1104,8 +1138,7 @@ module Google class AutoscalerList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -1467,7 +1500,7 @@ module Google # Specifies the balancing mode for this backend. For global HTTP(S) or TCP/SSL # load balancing, the default is UTILIZATION. Valid values are UTILIZATION, RATE # (for HTTP(S)) and CONNECTION (for TCP/SSL). - # This cannot be used for internal load balancing. + # For Internal Load Balancing, the default and only supported mode is CONNECTION. # Corresponds to the JSON property `balancingMode` # @return [String] attr_accessor :balancing_mode @@ -1488,15 +1521,15 @@ module Google # @return [String] attr_accessor :description - # The fully-qualified URL of a zonal Instance Group resource. This instance - # group defines the list of instances that serve traffic. Member virtual machine + # The fully-qualified URL of a Instance Group resource. This instance group + # defines the list of instances that serve traffic. Member virtual machine # instances from each instance group must live in the same zone as the instance # group itself. No two backends in a backend service are allowed to use same # Instance Group resource. # Note that you must specify an Instance Group resource using the fully- # qualified URL, rather than a partial URL. # When the BackendService has load balancing scheme INTERNAL, the instance group - # must be in a zone within the same region as the BackendService. + # must be within the same region as the BackendService. # Corresponds to the JSON property `group` # @return [String] attr_accessor :group @@ -1647,7 +1680,11 @@ module Google # @return [String] attr_accessor :kind - # [Output Only] A token used to continue a truncated list request. + # [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 @@ -1728,8 +1765,9 @@ module Google # The list of URLs to the HttpHealthCheck or HttpsHealthCheck resource for # health checking this BackendService. Currently at most one health check can be - # specified, and a health check is required for GCE backend services. A health - # check must not be specified for GAE app backend and Cloud Function backend. + # specified, and a health check is required for Compute Engine backend services. + # A health check must not be specified for App Engine backend and Cloud Function + # backend. # For internal load balancing, a URL to a HealthCheck resource must be specified # instead. # Corresponds to the JSON property `healthChecks` @@ -1753,7 +1791,9 @@ module Google # @return [String] attr_accessor :kind - # + # Indicates whether the backend service will be used with internal or external + # load balancing. A backend service created for one type of load balancing + # cannot be used with the other. Possible values are INTERNAL and EXTERNAL. # Corresponds to the JSON property `loadBalancingScheme` # @return [String] attr_accessor :load_balancing_scheme @@ -1797,6 +1837,12 @@ module Google # @return [String] attr_accessor :region + # [Output Only] The resource URL for the security policy associated with this + # backend service. + # Corresponds to the JSON property `securityPolicy` + # @return [String] + attr_accessor :security_policy + # [Output Only] Server-defined URL for the resource. # Corresponds to the JSON property `selfLink` # @return [String] @@ -1842,6 +1888,7 @@ module Google @port_name = args[:port_name] if args.key?(:port_name) @protocol = args[:protocol] if args.key?(:protocol) @region = args[:region] if args.key?(:region) + @security_policy = args[:security_policy] if args.key?(:security_policy) @self_link = args[:self_link] if args.key?(:self_link) @session_affinity = args[:session_affinity] if args.key?(:session_affinity) @timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec) @@ -1857,7 +1904,7 @@ module Google # @return [String] attr_accessor :id - # A map of scoped BackendService lists. + # A list of BackendServicesScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -1867,7 +1914,11 @@ module Google # @return [String] attr_accessor :kind - # [Output Only] A token used to continue a truncated list request. + # [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 @@ -2358,13 +2409,12 @@ module Google class CommitmentAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # Commitments by scope. + # A list of CommitmentsScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -2407,8 +2457,7 @@ module Google class CommitmentList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -2822,7 +2871,7 @@ module Google # or specify it alone to create an empty persistent disk. # If you specify this field along with sourceImage or sourceSnapshot, the value # of sizeGb must not be less than the size of the sourceImage or the size of the - # snapshot. + # snapshot. Acceptable values are 1 to 65536, inclusive. # Corresponds to the JSON property `sizeGb` # @return [Fixnum] attr_accessor :size_gb @@ -2950,13 +2999,12 @@ module Google class DiskAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A map of scoped disk lists. + # A list of DisksScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -2971,8 +3019,7 @@ module Google # 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. Acceptable values are 0 to 500, inclusive. - # (Default: 500) + # continue paging through the results. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -3015,11 +3062,11 @@ module Google # @return [String] attr_accessor :kind - # 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. + # [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 @@ -3155,13 +3202,12 @@ module Google class DiskTypeAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A map of scoped disk type lists. + # A list of DiskTypesScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -3203,13 +3249,12 @@ module Google class DiskTypeList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of Disk Type resources. + # A list of DiskType resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -3607,14 +3652,16 @@ module Google # @return [Array] attr_accessor :source_service_accounts - # If source tags are specified, the firewall will apply only to traffic with - # source IP that belongs to a tag listed in source tags. Source tags cannot be - # used to control traffic to an instance's external IP address. Because tags are - # associated with an instance, not an IP address. One or both of sourceRanges - # and sourceTags may be set. If both properties are set, the firewall will apply - # to traffic that has source IP address within sourceRanges OR the source IP - # that belongs to a tag listed in the sourceTags property. The connection does - # not need to match both properties for the firewall to apply. + # If source tags are specified, the firewall rule applies only to traffic with + # source IPs that match the primary network interfaces of VM instances that have + # the tag and are in the same VPC network. Source tags cannot be used to control + # traffic to an instance's external IP address, it only applies to traffic + # between instances in the same virtual network. Because tags are associated + # with instances, not IP addresses. One or both of sourceRanges and sourceTags + # may be set. If both properties are set, the firewall will apply to traffic + # that has source IP address within sourceRanges OR the source IP that belongs + # to a tag listed in the sourceTags property. The connection does not need to + # match both properties for the firewall to apply. # Corresponds to the JSON property `sourceTags` # @return [Array] attr_accessor :source_tags @@ -3667,8 +3714,8 @@ module Google # The IP protocol to which this rule applies. The protocol type is required when # creating a firewall rule. This value can either be one of the following well - # known protocol strings (tcp, udp, icmp, esp, ah, sctp), or the IP protocol - # number. + # known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP + # protocol number. # Corresponds to the JSON property `IPProtocol` # @return [String] attr_accessor :ip_protocol @@ -3698,8 +3745,8 @@ module Google # The IP protocol to which this rule applies. The protocol type is required when # creating a firewall rule. This value can either be one of the following well - # known protocol strings (tcp, udp, icmp, esp, ah, sctp), or the IP protocol - # number. + # known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP + # protocol number. # Corresponds to the JSON property `IPProtocol` # @return [String] attr_accessor :ip_protocol @@ -3728,13 +3775,12 @@ module Google class FirewallList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of Firewall resources. + # A list of Firewall resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -3773,6 +3819,38 @@ module Google end end + # Encapsulates numeric value that can be either absolute or relative. + class FixedOrPercent + include Google::Apis::Core::Hashable + + # [Output Only] Absolute value calculated based on mode: mode = fixed -> + # calculated = fixed = percent -> calculated = ceiling(percent/100 * base_value) + # Corresponds to the JSON property `calculated` + # @return [Fixnum] + attr_accessor :calculated + + # fixed must be non-negative. + # Corresponds to the JSON property `fixed` + # @return [Fixnum] + attr_accessor :fixed + + # percent must belong to [0, 100]. + # Corresponds to the JSON property `percent` + # @return [Fixnum] + attr_accessor :percent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @calculated = args[:calculated] if args.key?(:calculated) + @fixed = args[:fixed] if args.key?(:fixed) + @percent = args[:percent] if args.key?(:percent) + end + end + # A ForwardingRule resource. A ForwardingRule resource specifies which pool of # target virtual machines to forward a packet to if it matches the given [ # IPAddress, IPProtocol, ports] tuple. @@ -3892,8 +3970,10 @@ module Google # Some types of forwarding target have constraints on the acceptable ports: # - TargetHttpProxy: 80, 8080 # - TargetHttpsProxy: 443 - # - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995 - # - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995 + # - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, + # 5222 + # - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, + # 5222 # - TargetVpnGateway: 500, 4500 # - # Corresponds to the JSON property `portRange` @@ -3994,13 +4074,12 @@ module Google class ForwardingRuleAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # A map of scoped forwarding rule lists. + # A list of ForwardingRulesScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -4043,7 +4122,7 @@ module Google class ForwardingRuleList include Google::Apis::Core::Hashable - # [Output Only] Unique identifier for the resource. Set by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -4459,8 +4538,7 @@ module Google class HealthCheckList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -4710,7 +4788,7 @@ module Google class HttpHealthCheckList include Google::Apis::Core::Hashable - # [Output Only] Unique identifier for the resource. Defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -5145,13 +5223,12 @@ module Google class ImageList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of Image resources. + # A list of Image resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -5295,9 +5372,9 @@ module Google # @return [String] attr_accessor :name - # An array of configurations for this interface. This specifies how this - # interface is configured to interact with other network services, such as - # connecting to the internet. Only one interface is supported per instance. + # An array of network configurations for this instance. These specify how + # interfaces are configured to interact with other network services, such as + # connecting to the internet. Multiple interfaces are supported per instance. # Corresponds to the JSON property `networkInterfaces` # @return [Array] attr_accessor :network_interfaces @@ -5329,7 +5406,7 @@ module Google alias_method :start_restricted?, :start_restricted # [Output Only] The status of the instance. One of the following values: - # PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, and + # PROVISIONING, STAGING, RUNNING, STOPPING, STOPPED, SUSPENDING, SUSPENDED, and # TERMINATED. # Corresponds to the JSON property `status` # @return [String] @@ -5386,13 +5463,12 @@ module Google class InstanceAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A map of scoped instance lists. + # A list of InstancesScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -5540,13 +5616,12 @@ module Google class InstanceGroupAggregatedList include Google::Apis::Core::Hashable - # [Output Only] A unique identifier for this aggregated list of instance groups. - # The server generates this identifier. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # A map of scoped instance group lists. + # A list of InstanceGroupsScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -5566,7 +5641,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] The URL for this resource type. The server generates this URL. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -5589,13 +5664,12 @@ module Google class InstanceGroupList include Google::Apis::Core::Hashable - # [Output Only] A unique identifier for this list of instance groups. The server - # generates this identifier. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # A list of instance groups. + # A list of InstanceGroup resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -5615,7 +5689,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] The URL for this resource type. The server generates this URL. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -5719,6 +5793,12 @@ module Google # @return [Array] attr_accessor :named_ports + # [Output Only] The list of instance actions and the number of instances in this + # managed instance group that are pending for each of those actions. + # Corresponds to the JSON property `pendingActions` + # @return [Google::Apis::ComputeBeta::InstanceGroupManagerPendingActionsSummary] + attr_accessor :pending_actions + # [Output Only] The URL of the region where the managed instance group resides ( # for regional resources). # Corresponds to the JSON property `region` @@ -5731,10 +5811,10 @@ module Google # @return [String] attr_accessor :self_link - # Service account will be used as credentials for all operations performed by - # managed instance group on instances. The service accounts needs all - # permissions required to create and delete instances. When not specified, the - # service account `projectNumber`@cloudservices.gserviceaccount.com will be used. + # [Output Only] The service account to be used as credentials for all operations + # performed by the managed instance group on instances. The service accounts + # needs all permissions required to create and delete instances. By default, the + # service account `projectNumber`@cloudservices.gserviceaccount.com is used. # Corresponds to the JSON property `serviceAccount` # @return [String] attr_accessor :service_account @@ -5753,6 +5833,23 @@ module Google # @return [Fixnum] attr_accessor :target_size + # The update policy for this managed instance group. + # Corresponds to the JSON property `updatePolicy` + # @return [Google::Apis::ComputeBeta::InstanceGroupManagerUpdatePolicy] + attr_accessor :update_policy + + # Versions supported by this IGM. User should set this field if they need fine- + # grained control over how many instances in each version are run by this IGM. + # Versions are keyed by instanceTemplate. Every instanceTemplate can appear at + # most once. This field overrides instanceTemplate field. If both + # instanceTemplate and versions are set, the user receives a warning. " + # instanceTemplate: X" is semantically equivalent to "versions [ ` + # instanceTemplate: X ` ]". Exactly one version must have targetSize field left + # unset. Size of such a version will be calculated automatically. + # Corresponds to the JSON property `versions` + # @return [Array] + attr_accessor :versions + # [Output Only] The URL of the zone where the managed instance group is located ( # for zonal resources). # Corresponds to the JSON property `zone` @@ -5778,11 +5875,14 @@ module Google @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @named_ports = args[:named_ports] if args.key?(:named_ports) + @pending_actions = args[:pending_actions] if args.key?(:pending_actions) @region = args[:region] if args.key?(:region) @self_link = args[:self_link] if args.key?(:self_link) @service_account = args[:service_account] if args.key?(:service_account) @target_pools = args[:target_pools] if args.key?(:target_pools) @target_size = args[:target_size] if args.key?(:target_size) + @update_policy = args[:update_policy] if args.key?(:update_policy) + @versions = args[:versions] if args.key?(:versions) @zone = args[:zone] if args.key?(:zone) end end @@ -5849,6 +5949,13 @@ module Google # @return [Fixnum] attr_accessor :restarting + # [Output Only] The number of instances in the managed instance group that are + # being verified. More details regarding verification process are covered in the + # documentation of ManagedInstance.InstanceAction.VERIFYING enum field. + # Corresponds to the JSON property `verifying` + # @return [Fixnum] + attr_accessor :verifying + def initialize(**args) update!(**args) end @@ -5863,6 +5970,7 @@ module Google @recreating = args[:recreating] if args.key?(:recreating) @refreshing = args[:refreshing] if args.key?(:refreshing) @restarting = args[:restarting] if args.key?(:restarting) + @verifying = args[:verifying] if args.key?(:verifying) end end @@ -5870,13 +5978,12 @@ module Google class InstanceGroupManagerAggregatedList include Google::Apis::Core::Hashable - # [Output Only] A unique identifier for this aggregated list of managed instance - # groups. The server generates this identifier. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A map of filtered managed instance group lists. + # A list of InstanceGroupManagersScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -5897,7 +6004,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] The URL for this resource type. The server generates this URL. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -5950,13 +6057,12 @@ module Google class InstanceGroupManagerList include Google::Apis::Core::Hashable - # [Output Only] A unique identifier for this resource type. The server generates - # this identifier. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of managed instance groups. + # A list of InstanceGroupManager resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -5995,6 +6101,124 @@ module Google end end + # + class InstanceGroupManagerPendingActionsSummary + include Google::Apis::Core::Hashable + + # [Output Only] The number of instances in the managed instance group that are + # pending to be created. + # Corresponds to the JSON property `creating` + # @return [Fixnum] + attr_accessor :creating + + # [Output Only] The number of instances in the managed instance group that are + # pending to be deleted. + # Corresponds to the JSON property `deleting` + # @return [Fixnum] + attr_accessor :deleting + + # [Output Only] The number of instances in the managed instance group that are + # pending to be recreated. + # Corresponds to the JSON property `recreating` + # @return [Fixnum] + attr_accessor :recreating + + # [Output Only] The number of instances in the managed instance group that are + # pending to be restarted. + # Corresponds to the JSON property `restarting` + # @return [Fixnum] + attr_accessor :restarting + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creating = args[:creating] if args.key?(:creating) + @deleting = args[:deleting] if args.key?(:deleting) + @recreating = args[:recreating] if args.key?(:recreating) + @restarting = args[:restarting] if args.key?(:restarting) + end + end + + # + class InstanceGroupManagerUpdatePolicy + include Google::Apis::Core::Hashable + + # Encapsulates numeric value that can be either absolute or relative. + # Corresponds to the JSON property `maxSurge` + # @return [Google::Apis::ComputeBeta::FixedOrPercent] + attr_accessor :max_surge + + # Encapsulates numeric value that can be either absolute or relative. + # Corresponds to the JSON property `maxUnavailable` + # @return [Google::Apis::ComputeBeta::FixedOrPercent] + attr_accessor :max_unavailable + + # Minimum number of seconds to wait for after a newly created instance becomes + # available. This value must be from range [0, 3600]. + # Corresponds to the JSON property `minReadySec` + # @return [Fixnum] + attr_accessor :min_ready_sec + + # Minimal action to be taken on an instance. The order of action types is: + # RESTART < REPLACE. + # Corresponds to the JSON property `minimalAction` + # @return [String] + attr_accessor :minimal_action + + # + # 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_surge = args[:max_surge] if args.key?(:max_surge) + @max_unavailable = args[:max_unavailable] if args.key?(:max_unavailable) + @min_ready_sec = args[:min_ready_sec] if args.key?(:min_ready_sec) + @minimal_action = args[:minimal_action] if args.key?(:minimal_action) + @type = args[:type] if args.key?(:type) + end + end + + # + class InstanceGroupManagerVersion + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `instanceTemplate` + # @return [String] + attr_accessor :instance_template + + # Name of the version. Unique among all versions in the scope of this managed + # instance group. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Encapsulates numeric value that can be either absolute or relative. + # Corresponds to the JSON property `targetSize` + # @return [Google::Apis::ComputeBeta::FixedOrPercent] + attr_accessor :target_size + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instance_template = args[:instance_template] if args.key?(:instance_template) + @name = args[:name] if args.key?(:name) + @target_size = args[:target_size] if args.key?(:target_size) + end + end + # class InstanceGroupManagersAbandonInstancesRequest include Google::Apis::Core::Hashable @@ -6315,14 +6539,12 @@ module Google class InstanceGroupsListInstances include Google::Apis::Core::Hashable - # [Output Only] A unique identifier for this list of instances in the specified - # instance group. The server generates this identifier. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of instances and any named ports that are assigned to - # those instances. + # A list of InstanceWithNamedPorts resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -6343,8 +6565,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] The URL for this list of instances in the specified instance - # groups. The server generates this URL. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -6529,13 +6750,12 @@ module Google class InstanceList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of instances. + # A list of Instance resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -6578,13 +6798,12 @@ module Google class InstanceListReferrers include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of referrers. + # A list of Reference resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -6844,13 +7063,12 @@ module Google class InstanceTemplateList include Google::Apis::Core::Hashable - # [Output Only] A unique identifier for this instance template. The server - # defines this identifier. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] list of InstanceTemplate resources. + # A list of InstanceTemplate resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -6870,8 +7088,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] The URL for this instance template list. The server defines this - # URL. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -7148,6 +7365,847 @@ module Google end end + # Protocol definitions for Mixer API to support Interconnect. Next available tag: + # 23 + class Interconnect + include Google::Apis::Core::Hashable + + # Administrative status of the interconnect. When this is set to ?true?, the + # Interconnect is functional and may carry traffic (assuming there are + # functional InterconnectAttachments and other requirements are satisfied). When + # set to ?false?, no packets will be carried over this Interconnect and no BGP + # routes will be exchanged over it. By default, it is set to ?true?. + # Corresponds to the JSON property `adminEnabled` + # @return [Boolean] + attr_accessor :admin_enabled + alias_method :admin_enabled?, :admin_enabled + + # [Output Only] List of CircuitInfo objects, that describe the individual + # circuits in this LAG. + # Corresponds to the JSON property `circuitInfos` + # @return [Array] + attr_accessor :circuit_infos + + # [Output Only] URL to retrieve the Letter Of Authority and Customer Facility + # Assignment (LOA-CFA) documentation relating to this Interconnect. This + # documentation authorizes the facility provider to connect to the specified + # crossconnect ports. + # Corresponds to the JSON property `connectionAuthorization` + # @return [String] + attr_accessor :connection_authorization + + # [Output Only] Creation timestamp in RFC3339 text format. + # Corresponds to the JSON property `creationTimestamp` + # @return [String] + attr_accessor :creation_timestamp + + # Customer name, to put in the Letter of Authorization as the party authorized + # to request a crossconnect. + # Corresponds to the JSON property `customerName` + # @return [String] + attr_accessor :customer_name + + # 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] List of outages expected for this Interconnect. + # Corresponds to the JSON property `expectedOutages` + # @return [Array] + attr_accessor :expected_outages + + # [Output Only] IP address configured on the Google side of the Interconnect + # link. This can be used only for ping tests. + # Corresponds to the JSON property `googleIpAddress` + # @return [String] + attr_accessor :google_ip_address + + # [Output Only] Google reference ID; to be used when raising support tickets + # with Google or otherwise to debug backend connectivity issues. + # Corresponds to the JSON property `googleReferenceId` + # @return [String] + attr_accessor :google_reference_id + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [Fixnum] + attr_accessor :id + + # [Output Only] A list of the URLs of all InterconnectAttachments configured to + # use this Interconnect. + # Corresponds to the JSON property `interconnectAttachments` + # @return [Array] + attr_accessor :interconnect_attachments + + # + # Corresponds to the JSON property `interconnectType` + # @return [String] + attr_accessor :interconnect_type + + # [Output Only] Type of the resource. Always compute#interconnect for + # interconnects. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # + # Corresponds to the JSON property `linkType` + # @return [String] + attr_accessor :link_type + + # URL of the InterconnectLocation object that represents where this connection + # is to be provisioned. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # 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. Specifically, the + # name must be 1-63 characters long and match the regular expression [a-z]([-a- + # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, + # and all following characters must be a dash, lowercase letter, or digit, + # except the last character, which cannot be a dash. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Email address to contact the customer NOC for operations and maintenance + # notifications regarding this Interconnect. If specified, this will be used for + # notifications in addition to all other forms described, such as Stackdriver + # logs alerting and Cloud Notifications. + # Corresponds to the JSON property `nocContactEmail` + # @return [String] + attr_accessor :noc_contact_email + + # [Output Only] The current status of whether or not this Interconnect is + # functional. + # Corresponds to the JSON property `operationalStatus` + # @return [String] + attr_accessor :operational_status + + # [Output Only] IP address configured on the customer side of the Interconnect + # link. The customer should configure this IP address during turnup when + # prompted by Google NOC. This can be used only for ping tests. + # Corresponds to the JSON property `peerIpAddress` + # @return [String] + attr_accessor :peer_ip_address + + # [Output Only] Number of links actually provisioned in this interconnect. + # Corresponds to the JSON property `provisionedLinkCount` + # @return [Fixnum] + attr_accessor :provisioned_link_count + + # Target number of physical links in the link bundle, as requested by the + # customer. + # Corresponds to the JSON property `requestedLinkCount` + # @return [Fixnum] + attr_accessor :requested_link_count + + # [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) + @admin_enabled = args[:admin_enabled] if args.key?(:admin_enabled) + @circuit_infos = args[:circuit_infos] if args.key?(:circuit_infos) + @connection_authorization = args[:connection_authorization] if args.key?(:connection_authorization) + @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @customer_name = args[:customer_name] if args.key?(:customer_name) + @description = args[:description] if args.key?(:description) + @expected_outages = args[:expected_outages] if args.key?(:expected_outages) + @google_ip_address = args[:google_ip_address] if args.key?(:google_ip_address) + @google_reference_id = args[:google_reference_id] if args.key?(:google_reference_id) + @id = args[:id] if args.key?(:id) + @interconnect_attachments = args[:interconnect_attachments] if args.key?(:interconnect_attachments) + @interconnect_type = args[:interconnect_type] if args.key?(:interconnect_type) + @kind = args[:kind] if args.key?(:kind) + @link_type = args[:link_type] if args.key?(:link_type) + @location = args[:location] if args.key?(:location) + @name = args[:name] if args.key?(:name) + @noc_contact_email = args[:noc_contact_email] if args.key?(:noc_contact_email) + @operational_status = args[:operational_status] if args.key?(:operational_status) + @peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address) + @provisioned_link_count = args[:provisioned_link_count] if args.key?(:provisioned_link_count) + @requested_link_count = args[:requested_link_count] if args.key?(:requested_link_count) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # Protocol definitions for Mixer API to support InterconnectAttachment. Next + # available tag: 14 + class InterconnectAttachment + include Google::Apis::Core::Hashable + + # [Output Only] IPv4 address + prefix length to be configured on Cloud Router + # Interface for this interconnect attachment. + # Corresponds to the JSON property `cloudRouterIpAddress` + # @return [String] + attr_accessor :cloud_router_ip_address + + # [Output Only] Creation timestamp in RFC3339 text format. + # Corresponds to the JSON property `creationTimestamp` + # @return [String] + attr_accessor :creation_timestamp + + # [Output Only] IPv4 address + prefix length to be configured on the customer + # router subinterface for this interconnect attachment. + # Corresponds to the JSON property `customerRouterIpAddress` + # @return [String] + attr_accessor :customer_router_ip_address + + # 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] Google reference ID, to be used when raising support tickets + # with Google or otherwise to debug backend connectivity issues. + # Corresponds to the JSON property `googleReferenceId` + # @return [String] + attr_accessor :google_reference_id + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [Fixnum] + attr_accessor :id + + # URL of the underlying Interconnect object that this attachment's traffic will + # traverse through. + # Corresponds to the JSON property `interconnect` + # @return [String] + attr_accessor :interconnect + + # [Output Only] Type of the resource. Always compute#interconnectAttachment for + # interconnect attachments. + # 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. Specifically, the + # name must be 1-63 characters long and match the regular expression [a-z]([-a- + # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, + # and all following characters must be a dash, lowercase letter, or digit, + # except the last character, which cannot be a dash. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # [Output Only] The current status of whether or not this interconnect + # attachment is functional. + # Corresponds to the JSON property `operationalStatus` + # @return [String] + attr_accessor :operational_status + + # Private information for an interconnect attachment when this belongs to an + # interconnect of type IT_PRIVATE. + # Corresponds to the JSON property `privateInterconnectInfo` + # @return [Google::Apis::ComputeBeta::InterconnectAttachmentPrivateInfo] + attr_accessor :private_interconnect_info + + # [Output Only] URL of the region where the regional interconnect attachment + # resides. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + + # URL of the cloud router to be used for dynamic routing. This router must be in + # the same region as this InterconnectAttachment. The InterconnectAttachment + # will automatically connect the Interconnect to the network & region within + # which the Cloud Router is configured. + # 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] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cloud_router_ip_address = args[:cloud_router_ip_address] if args.key?(:cloud_router_ip_address) + @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @customer_router_ip_address = args[:customer_router_ip_address] if args.key?(:customer_router_ip_address) + @description = args[:description] if args.key?(:description) + @google_reference_id = args[:google_reference_id] if args.key?(:google_reference_id) + @id = args[:id] if args.key?(:id) + @interconnect = args[:interconnect] if args.key?(:interconnect) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @operational_status = args[:operational_status] if args.key?(:operational_status) + @private_interconnect_info = args[:private_interconnect_info] if args.key?(:private_interconnect_info) + @region = args[:region] if args.key?(:region) + @router = args[:router] if args.key?(:router) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # + class InterconnectAttachmentAggregatedList + include Google::Apis::Core::Hashable + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of InterconnectAttachmentsScopedList resources. + # Corresponds to the JSON property `items` + # @return [Hash] + attr_accessor :items + + # [Output Only] Type of resource. Always compute# + # interconnectAttachmentAggregatedList for aggregated lists of interconnect + # attachments. + # 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 + + # Response to the list request, and contains a list of interconnect attachments. + class InterconnectAttachmentList + include Google::Apis::Core::Hashable + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of InterconnectAttachment resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] Type of resource. Always compute#interconnectAttachmentList for + # lists of interconnect attachments. + # 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 + + # Private information for an interconnect attachment when this belongs to an + # interconnect of type IT_PRIVATE. + class InterconnectAttachmentPrivateInfo + include Google::Apis::Core::Hashable + + # [Output Only] 802.1q encapsulation tag to be used for traffic between Google + # and the customer, going to and from this network and region. + # Corresponds to the JSON property `tag8021q` + # @return [Fixnum] + attr_accessor :tag8021q + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @tag8021q = args[:tag8021q] if args.key?(:tag8021q) + end + end + + # + class InterconnectAttachmentsScopedList + include Google::Apis::Core::Hashable + + # List of interconnect attachments contained in this scope. + # Corresponds to the JSON property `interconnectAttachments` + # @return [Array] + attr_accessor :interconnect_attachments + + # Informational warning which replaces the list of addresses when the list is + # empty. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::InterconnectAttachmentsScopedList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @interconnect_attachments = args[:interconnect_attachments] if args.key?(:interconnect_attachments) + @warning = args[:warning] if args.key?(:warning) + end + + # Informational warning which replaces the list of addresses 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 + + # Describes a single physical circuit between the Customer and Google. + # CircuitInfo objects are created by Google, so all fields are output only. Next + # id: 4 + class InterconnectCircuitInfo + include Google::Apis::Core::Hashable + + # Customer-side demarc ID for this circuit. This will only be set if it was + # provided by the Customer to Google during circuit turn-up. + # Corresponds to the JSON property `customerDemarcId` + # @return [String] + attr_accessor :customer_demarc_id + + # Google-assigned unique ID for this circuit. Assigned at circuit turn-up. + # Corresponds to the JSON property `googleCircuitId` + # @return [String] + attr_accessor :google_circuit_id + + # Google-side demarc ID for this circuit. Assigned at circuit turn-up and + # provided by Google to the customer in the LOA. + # Corresponds to the JSON property `googleDemarcId` + # @return [String] + attr_accessor :google_demarc_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @customer_demarc_id = args[:customer_demarc_id] if args.key?(:customer_demarc_id) + @google_circuit_id = args[:google_circuit_id] if args.key?(:google_circuit_id) + @google_demarc_id = args[:google_demarc_id] if args.key?(:google_demarc_id) + end + end + + # Response to the list request, and contains a list of interconnects. + class InterconnectList + include Google::Apis::Core::Hashable + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of Interconnect resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] Type of resource. Always compute#interconnectList for lists of + # interconnects. + # 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 + + # Protocol definitions for Mixer API to support InterconnectLocation. + class InterconnectLocation + include Google::Apis::Core::Hashable + + # [Output Only] The postal address of the Point of Presence, each line in the + # address is separated by a newline character. + # Corresponds to the JSON property `address` + # @return [String] + attr_accessor :address + + # Availability zone for this location. Within a city, maintenance will not be + # simultaneously scheduled in more than one availability zone. Example: "zone1" + # or "zone2". + # Corresponds to the JSON property `availabilityZone` + # @return [String] + attr_accessor :availability_zone + + # City designator used by the Interconnect UI to locate this + # InterconnectLocation within the Continent. For example: "Chicago, IL", " + # Amsterdam, Netherlands". + # Corresponds to the JSON property `city` + # @return [String] + attr_accessor :city + + # Continent for this location. Used by the location picker in the Interconnect + # UI. + # Corresponds to the JSON property `continent` + # @return [String] + attr_accessor :continent + + # [Output Only] Creation timestamp in RFC3339 text format. + # Corresponds to the JSON property `creationTimestamp` + # @return [String] + attr_accessor :creation_timestamp + + # [Output Only] An optional description of the resource. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # [Output Only] The name of the provider for this facility (e.g., EQUINIX). + # Corresponds to the JSON property `facilityProvider` + # @return [String] + attr_accessor :facility_provider + + # [Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn- + # DC1). + # Corresponds to the JSON property `facilityProviderFacilityId` + # @return [String] + attr_accessor :facility_provider_facility_id + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [Fixnum] + attr_accessor :id + + # [Output Only] Type of the resource. Always compute#interconnectLocation for + # interconnect locations. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] Name of the resource. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # [Output Only] The peeringdb identifier for this facility (corresponding with a + # netfac type in peeringdb). + # Corresponds to the JSON property `peeringdbFacilityId` + # @return [String] + attr_accessor :peeringdb_facility_id + + # [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe + # parameters pertaining to the relation between this InterconnectLocation and + # various Google Cloud regions. + # Corresponds to the JSON property `regionInfos` + # @return [Array] + attr_accessor :region_infos + + # [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) + @address = args[:address] if args.key?(:address) + @availability_zone = args[:availability_zone] if args.key?(:availability_zone) + @city = args[:city] if args.key?(:city) + @continent = args[:continent] if args.key?(:continent) + @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @description = args[:description] if args.key?(:description) + @facility_provider = args[:facility_provider] if args.key?(:facility_provider) + @facility_provider_facility_id = args[:facility_provider_facility_id] if args.key?(:facility_provider_facility_id) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @peeringdb_facility_id = args[:peeringdb_facility_id] if args.key?(:peeringdb_facility_id) + @region_infos = args[:region_infos] if args.key?(:region_infos) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # Response to the list request, and contains a list of interconnect locations. + class InterconnectLocationList + include Google::Apis::Core::Hashable + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of InterconnectLocation resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] Type of resource. Always compute#interconnectLocationList for + # lists of interconnect locations. + # 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 + + # Information about any potential InterconnectAttachments between an + # Interconnect at a specific InterconnectLocation, and a specific Cloud Region. + class InterconnectLocationRegionInfo + include Google::Apis::Core::Hashable + + # Expected round-trip time in milliseconds, from this InterconnectLocation to a + # VM in this region. + # Corresponds to the JSON property `expectedRttMs` + # @return [Fixnum] + attr_accessor :expected_rtt_ms + + # Identifies the network presence of this location. + # Corresponds to the JSON property `locationPresence` + # @return [String] + attr_accessor :location_presence + + # URL for the region of this location. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + + # Scope key for the region of this location. + # Corresponds to the JSON property `regionKey` + # @return [String] + attr_accessor :region_key + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @expected_rtt_ms = args[:expected_rtt_ms] if args.key?(:expected_rtt_ms) + @location_presence = args[:location_presence] if args.key?(:location_presence) + @region = args[:region] if args.key?(:region) + @region_key = args[:region_key] if args.key?(:region_key) + end + end + + # Description of a planned outage on this Interconnect. Next id: 9 + class InterconnectOutageNotification + include Google::Apis::Core::Hashable + + # Iff issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs + # that will be affected. + # Corresponds to the JSON property `affectedCircuits` + # @return [Array] + attr_accessor :affected_circuits + + # Short user-visible description of the purpose of the outage. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # + # Corresponds to the JSON property `endTime` + # @return [Fixnum] + attr_accessor :end_time + + # + # Corresponds to the JSON property `issueType` + # @return [String] + attr_accessor :issue_type + + # Unique identifier for this outage notification. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # + # Corresponds to the JSON property `source` + # @return [String] + attr_accessor :source + + # Scheduled start and end times for the outage (milliseconds since Unix epoch). + # Corresponds to the JSON property `startTime` + # @return [Fixnum] + attr_accessor :start_time + + # + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @affected_circuits = args[:affected_circuits] if args.key?(:affected_circuits) + @description = args[:description] if args.key?(:description) + @end_time = args[:end_time] if args.key?(:end_time) + @issue_type = args[:issue_type] if args.key?(:issue_type) + @name = args[:name] if args.key?(:name) + @source = args[:source] if args.key?(:source) + @start_time = args[:start_time] if args.key?(:start_time) + @state = args[:state] if args.key?(:state) + end + end + # A license resource. class License include Google::Apis::Core::Hashable @@ -7197,11 +8255,30 @@ module Google # @return [Google::Apis::ComputeBeta::LogConfigCloudAuditOptions] attr_accessor :cloud_audit - # Options for counters + # 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 the only supported field names are - "iam_principal", corresponding + # to IAMContext.principal; - "" (empty string), resulting in one aggretated + # counter with no field. + # 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 # Corresponds to the JSON property `counter` # @return [Google::Apis::ComputeBeta::LogConfigCounterOptions] attr_accessor :counter + # Write a Data Access (Gin) log + # Corresponds to the JSON property `dataAccess` + # @return [Google::Apis::ComputeBeta::LogConfigDataAccessOptions] + attr_accessor :data_access + def initialize(**args) update!(**args) end @@ -7210,6 +8287,7 @@ module Google def update!(**args) @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit) @counter = args[:counter] if args.key?(:counter) + @data_access = args[:data_access] if args.key?(:data_access) end end @@ -7217,6 +8295,11 @@ module Google class LogConfigCloudAuditOptions include Google::Apis::Core::Hashable + # Authorization-related information used by Cloud Audit Logging. + # Corresponds to the JSON property `authorizationLoggingOptions` + # @return [Google::Apis::ComputeBeta::AuthorizationLoggingOptions] + attr_accessor :authorization_logging_options + # The log_name to populate in the Cloud Audit Record. # Corresponds to the JSON property `logName` # @return [String] @@ -7228,11 +8311,26 @@ module Google # Update properties of this object def update!(**args) + @authorization_logging_options = args[:authorization_logging_options] if args.key?(:authorization_logging_options) @log_name = args[:log_name] if args.key?(:log_name) end end - # Options for counters + # 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 the only supported field names are - "iam_principal", corresponding + # to IAMContext.principal; - "" (empty string), resulting in one aggretated + # counter with no field. + # 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 LogConfigCounterOptions include Google::Apis::Core::Hashable @@ -7257,6 +8355,26 @@ module Google end end + # Write a Data Access (Gin) log + class LogConfigDataAccessOptions + include Google::Apis::Core::Hashable + + # Whether Gin logging should happen in a fail-closed manner at the caller. This + # is relevant only in the LocalIAM implementation, for now. + # Corresponds to the JSON property `logMode` + # @return [String] + attr_accessor :log_mode + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @log_mode = args[:log_mode] if args.key?(:log_mode) + end + end + # A Machine Type resource. class MachineType include Google::Apis::Core::Hashable @@ -7358,13 +8476,12 @@ module Google class MachineTypeAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A map of scoped machine type lists. + # A list of MachineTypesScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -7407,13 +8524,12 @@ module Google class MachineTypeList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of Machine Type resources. + # A list of MachineType resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -7762,7 +8878,7 @@ module Google # Value for the metadata entry. These are free-form strings, and only have # meaning as interpreted by the image running in the instance. The only # restriction placed on values is that their size must be less than or equal to - # 32768 bytes. + # 262144 bytes (256 KiB). # Corresponds to the JSON property `value` # @return [String] attr_accessor :value @@ -7870,6 +8986,13 @@ module Google # @return [Array] attr_accessor :peerings + # A routing configuration attached to a network resource. The message includes + # the list of routers associated with the network, and a flag indicating the + # type of routing behavior to enforce network-wide. + # Corresponds to the JSON property `routingConfig` + # @return [Google::Apis::ComputeBeta::NetworkRoutingConfig] + attr_accessor :routing_config + # [Output Only] Server-defined URL for the resource. # Corresponds to the JSON property `selfLink` # @return [String] @@ -7896,6 +9019,7 @@ module Google @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @peerings = args[:peerings] if args.key?(:peerings) + @routing_config = args[:routing_config] if args.key?(:routing_config) @self_link = args[:self_link] if args.key?(:self_link) @subnetworks = args[:subnetworks] if args.key?(:subnetworks) end @@ -7986,13 +9110,12 @@ module Google class NetworkList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of Network resources. + # A list of Network resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -8088,6 +9211,30 @@ module Google end end + # A routing configuration attached to a network resource. The message includes + # the list of routers associated with the network, and a flag indicating the + # type of routing behavior to enforce network-wide. + class NetworkRoutingConfig + include Google::Apis::Core::Hashable + + # The network-wide routing mode to use. If set to REGIONAL, this network's cloud + # routers will only advertise routes with subnetworks of this network in the + # same region as the router. If set to GLOBAL, this network's cloud routers will + # advertise routes with all subnetworks of this network, across regions. + # Corresponds to the JSON property `routingMode` + # @return [String] + attr_accessor :routing_mode + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @routing_mode = args[:routing_mode] if args.key?(:routing_mode) + end + end + # class NetworksAddPeeringRequest include Google::Apis::Core::Hashable @@ -8838,8 +9985,8 @@ module Google # @return [Google::Apis::ComputeBeta::UsageExportLocation] attr_accessor :usage_export_location - # [Output Only] The role this project has in a Cross Project Network (XPN) - # configuration. Currently only HOST projects are differentiated. + # [Output Only] The role this project has in a shared VPC configuration. + # Currently only HOST projects are differentiated. # Corresponds to the JSON property `xpnProjectStatus` # @return [String] attr_accessor :xpn_project_status @@ -8869,7 +10016,7 @@ module Google class ProjectsDisableXpnResourceRequest include Google::Apis::Core::Hashable - # XpnResourceId + # Service resource (a.k.a service project) ID. # Corresponds to the JSON property `xpnResource` # @return [Google::Apis::ComputeBeta::XpnResourceId] attr_accessor :xpn_resource @@ -8888,7 +10035,7 @@ module Google class ProjectsEnableXpnResourceRequest include Google::Apis::Core::Hashable - # XpnResourceId + # Service resource (a.k.a service project) ID. # Corresponds to the JSON property `xpnResource` # @return [Google::Apis::ComputeBeta::XpnResourceId] attr_accessor :xpn_resource @@ -8908,7 +10055,7 @@ module Google include Google::Apis::Core::Hashable # [Output Only] Type of resource. Always compute#projectsGetXpnResources for - # lists of XPN resources. + # lists of service resources (a.k.a service projects) # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -8922,7 +10069,8 @@ module Google # @return [String] attr_accessor :next_page_token - # XPN resources attached to this project as their XPN host. + # Serive resources (a.k.a service projects) attached to this project as their + # shared VPC host. # Corresponds to the JSON property `resources` # @return [Array] attr_accessor :resources @@ -8944,8 +10092,8 @@ module Google include Google::Apis::Core::Hashable # Optional organization ID managed by Cloud Resource Manager, for which to list - # XPN host projects. If not specified, the organization will be inferred from - # the project. + # shared VPC host projects. If not specified, the organization will be inferred + # from the project. # Corresponds to the JSON property `organization` # @return [String] attr_accessor :organization @@ -9109,13 +10257,12 @@ module Google class RegionAutoscalerList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # A list of autoscalers. + # A list of Autoscaler resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -9125,7 +10272,11 @@ module Google # @return [String] attr_accessor :kind - # [Output Only] A token used to continue a truncated list request. + # [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 @@ -9153,8 +10304,7 @@ module Google class RegionInstanceGroupList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -9178,7 +10328,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] The URL for this resource type. The server generates this URL. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -9201,13 +10351,12 @@ module Google class RegionInstanceGroupManagerList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # A list of managed instance groups. + # A list of InstanceGroupManager resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -9219,12 +10368,16 @@ module Google # @return [String] attr_accessor :kind - # [Output only] A token used to continue a truncated list request. + # [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] The URL for this resource type. The server generates this URL. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -9405,12 +10558,12 @@ module Google class RegionInstanceGroupsListInstances include Google::Apis::Core::Hashable - # [Output Only] Unique identifier for the resource. Defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # A list of instances and any named ports that are assigned to those instances. + # A list of InstanceWithNamedPorts resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -9429,7 +10582,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] Server-defined URL for the resource. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -9511,13 +10664,12 @@ module Google class RegionList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of Region resources. + # A list of Region resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -9848,12 +11000,12 @@ module Google class RouteList include Google::Apis::Core::Hashable - # [Output Only] Unique identifier for the resource. Defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of Route resources. + # A list of Route resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -9984,13 +11136,12 @@ module Google class RouterAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # A map of scoped router lists. + # A list of Router resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -10115,6 +11266,13 @@ module Google # @return [String] attr_accessor :ip_range + # URI of the linked interconnect attachment. It must be in the same region as + # the router. Each interface can have at most one linked resource and it could + # either be a VPN Tunnel or an interconnect attachment. + # Corresponds to the JSON property `linkedInterconnectAttachment` + # @return [String] + attr_accessor :linked_interconnect_attachment + # URI of the linked VPN tunnel. It must be in the same region as the router. # Each interface can have at most one linked resource and it could either be a # VPN Tunnel or an interconnect attachment. @@ -10135,6 +11293,7 @@ module Google # Update properties of this object def update!(**args) @ip_range = args[:ip_range] if args.key?(:ip_range) + @linked_interconnect_attachment = args[:linked_interconnect_attachment] if args.key?(:linked_interconnect_attachment) @linked_vpn_tunnel = args[:linked_vpn_tunnel] if args.key?(:linked_vpn_tunnel) @name = args[:name] if args.key?(:name) end @@ -10144,8 +11303,7 @@ module Google class RouterList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -10588,6 +11746,223 @@ module Google end end + # + class SecurityPoliciesList + include Google::Apis::Core::Hashable + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of SecurityPolicy resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] Type of resource. Always compute#securityPoliciesList for + # listsof securityPolicies + # 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 + + 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) + end + end + + # A security policy is comprised of one or more rules. It can also be associated + # with one or more 'targets'. + class SecurityPolicy + include Google::Apis::Core::Hashable + + # [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 + + # Specifies a fingerprint for this resource, which is essentially a hash of the + # metadata's contents and used for optimistic locking. The fingerprint is + # initially generated by Compute Engine and changes after every request to + # modify or update metadata. You must always provide an up-to-date fingerprint + # hash in order to update or change metadata. + # To see the latest fingerprint, make get() request to the security policy. + # Corresponds to the JSON property `fingerprint` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :fingerprint + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [Fixnum] + attr_accessor :id + + # [Output only] Type of the resource. Always compute#securityPolicyfor security + # policies + # 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. Specifically, the + # name must be 1-63 characters long and match the regular expression [a-z]([-a- + # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, + # and all following characters must be a dash, lowercase letter, or digit, + # except the last character, which cannot be a dash. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # List of rules that belong to this policy. There must always be a default rule ( + # rule with priority 2147483647 and match "*"). If no rules are provided when + # creating a security policy, a default rule with action "allow" will be added. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + # [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) + @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @description = args[:description] if args.key?(:description) + @fingerprint = args[:fingerprint] if args.key?(:fingerprint) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @rules = args[:rules] if args.key?(:rules) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # + class SecurityPolicyReference + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `securityPolicy` + # @return [String] + attr_accessor :security_policy + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @security_policy = args[:security_policy] if args.key?(:security_policy) + end + end + + # Represents a rule that describes one or more match conditions along with the + # action to be taken when traffic matches this condition (allow or deny). + class SecurityPolicyRule + include Google::Apis::Core::Hashable + + # The Action to preform when the client connection triggers the rule. Can + # currently be either "allow" or "deny()" where valid values for status are 403, + # 404, and 502. + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # 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] Type of the resource. Always compute#securityPolicyRule for + # security policy rules + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Represents a match condition that incoming traffic is evaluated against. + # Exactly one field must be specified. + # Corresponds to the JSON property `match` + # @return [Google::Apis::ComputeBeta::SecurityPolicyRuleMatcher] + attr_accessor :match + + # If set to true, the specified action is not enforced. + # Corresponds to the JSON property `preview` + # @return [Boolean] + attr_accessor :preview + alias_method :preview?, :preview + + # An integer indicating the priority of a rule in the list. The priority must be + # a positive value between 0 and 2147483647. Rules are evaluated in the + # increasing order of priority. + # Corresponds to the JSON property `priority` + # @return [Fixnum] + attr_accessor :priority + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @action = args[:action] if args.key?(:action) + @description = args[:description] if args.key?(:description) + @kind = args[:kind] if args.key?(:kind) + @match = args[:match] if args.key?(:match) + @preview = args[:preview] if args.key?(:preview) + @priority = args[:priority] if args.key?(:priority) + end + end + + # Represents a match condition that incoming traffic is evaluated against. + # Exactly one field must be specified. + class SecurityPolicyRuleMatcher + include Google::Apis::Core::Hashable + + # CIDR IP address range. Only IPv4 is supported. + # Corresponds to the JSON property `srcIpRanges` + # @return [Array] + attr_accessor :src_ip_ranges + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges) + end + end + # An instance's serial console output. class SerialPortOutput include Google::Apis::Core::Hashable @@ -10805,13 +12180,12 @@ module Google class SnapshotList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of Snapshot resources. + # A list of Snapshot resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -10927,7 +12301,7 @@ module Google class SslCertificateList include Google::Apis::Core::Hashable - # [Output Only] Unique identifier for the resource. Defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -11082,13 +12456,12 @@ module Google class SubnetworkAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output] A map of scoped Subnetwork lists. + # A list of SubnetworksScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -11131,13 +12504,12 @@ module Google class SubnetworkList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # The Subnetwork resources. + # A list of Subnetwork resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -11488,8 +12860,7 @@ module Google class TargetHttpProxyList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -11633,8 +13004,7 @@ module Google class TargetHttpsProxyList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -11771,7 +13141,7 @@ module Google # @return [String] attr_accessor :id - # A map of scoped target instance lists. + # A list of TargetInstance resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -11813,8 +13183,7 @@ module Google class TargetInstanceList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -12075,12 +13444,12 @@ module Google class TargetPoolAggregatedList include Google::Apis::Core::Hashable - # [Output Only] Unique identifier for the resource. Defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A map of scoped target pool lists. + # A list of TargetPool resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -12149,7 +13518,7 @@ module Google class TargetPoolList include Google::Apis::Core::Hashable - # [Output Only] Unique identifier for the resource. Defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -12529,8 +13898,7 @@ module Google class TargetSslProxyList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -12686,8 +14054,7 @@ module Google class TargetTcpProxyList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -12825,13 +14192,12 @@ module Google class TargetVpnGatewayAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # A map of scoped target vpn gateway lists. + # A list of TargetVpnGateway resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -12874,13 +14240,12 @@ module Google class TargetVpnGatewayList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of TargetVpnGateway resources. + # A list of TargetVpnGateway resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -13224,7 +14589,7 @@ module Google class UrlMapList include Google::Apis::Core::Hashable - # [Output Only] Unique identifier for the resource. Set by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -13571,13 +14936,12 @@ module Google class VpnTunnelAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A map of scoped vpn tunnel lists. + # A list of VpnTunnelsScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -13619,13 +14983,12 @@ module Google class VpnTunnelList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of VpnTunnel resources. + # A list of VpnTunnel resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -13758,19 +15121,18 @@ module Google class XpnHostList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of XPN host project URLs. + # [Output Only] A list of shared VPC host project URLs. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items - # [Output Only] Type of resource. Always compute#xpnHostList for lists of XPN - # hosts. + # [Output Only] Type of resource. Always compute#xpnHostList for lists of shared + # VPC hosts. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -13803,17 +15165,17 @@ module Google end end - # XpnResourceId + # Service resource (a.k.a service project) ID. class XpnResourceId include Google::Apis::Core::Hashable - # The ID of the XPN resource. In the case of projects, this field matches the - # project's name, not the canonical ID. + # The ID of the service resource. In the case of projects, this field matches + # the project ID (e.g., my-project), not the project number (e.g., 12345678). # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # The type of the XPN resource. + # The type of the service resource. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -13912,7 +15274,7 @@ module Google # @return [String] attr_accessor :id - # [Output Only] A list of Zone resources. + # A list of Zone resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items diff --git a/generated/google/apis/compute_beta/representations.rb b/generated/google/apis/compute_beta/representations.rb index 64507ff87..cf7b14305 100644 --- a/generated/google/apis/compute_beta/representations.rb +++ b/generated/google/apis/compute_beta/representations.rb @@ -136,6 +136,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AuthorizationLoggingOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Autoscaler class Representation < Google::Apis::Core::JsonRepresentation; end @@ -472,6 +478,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class FixedOrPercent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ForwardingRule class Representation < Google::Apis::Core::JsonRepresentation; end @@ -664,6 +676,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class InstanceGroupManagerPendingActionsSummary + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InstanceGroupManagerUpdatePolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InstanceGroupManagerVersion + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class InstanceGroupManagersAbandonInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -880,6 +910,90 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Interconnect + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InterconnectAttachment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InterconnectAttachmentAggregatedList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InterconnectAttachmentList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InterconnectAttachmentPrivateInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InterconnectAttachmentsScopedList + 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 InterconnectCircuitInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InterconnectList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InterconnectLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InterconnectLocationList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InterconnectLocationRegionInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InterconnectOutageNotification + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class License class Representation < Google::Apis::Core::JsonRepresentation; end @@ -904,6 +1018,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class LogConfigDataAccessOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class MachineType class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1012,6 +1132,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class NetworkRoutingConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class NetworksAddPeeringRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1372,6 +1498,36 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SecurityPoliciesList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SecurityPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SecurityPolicyReference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SecurityPolicyRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SecurityPolicyRuleMatcher + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SerialPortOutput class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1930,6 +2086,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :address, as: 'address' + property :address_type, as: 'addressType' property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' property :id, :numeric_string => true, as: 'id' @@ -1941,6 +2098,7 @@ module Google property :region, as: 'region' property :self_link, as: 'selfLink' property :status, as: 'status' + property :subnetwork, as: 'subnetwork' collection :users, as: 'users' end end @@ -2056,6 +2214,13 @@ module Google end end + class AuthorizationLoggingOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :permission_type, as: 'permissionType' + end + end + class Autoscaler # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2242,6 +2407,7 @@ module Google property :port_name, as: 'portName' property :protocol, as: 'protocol' property :region, as: 'region' + property :security_policy, as: 'securityPolicy' property :self_link, as: 'selfLink' property :session_affinity, as: 'sessionAffinity' property :timeout_sec, as: 'timeoutSec' @@ -2709,6 +2875,15 @@ module Google end end + class FixedOrPercent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :calculated, as: 'calculated' + property :fixed, as: 'fixed' + property :percent, as: 'percent' + end + end + class ForwardingRule # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3120,11 +3295,17 @@ module Google property :name, as: 'name' collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeBeta::NamedPort, decorator: Google::Apis::ComputeBeta::NamedPort::Representation + property :pending_actions, as: 'pendingActions', class: Google::Apis::ComputeBeta::InstanceGroupManagerPendingActionsSummary, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerPendingActionsSummary::Representation + property :region, as: 'region' property :self_link, as: 'selfLink' property :service_account, as: 'serviceAccount' collection :target_pools, as: 'targetPools' property :target_size, as: 'targetSize' + property :update_policy, as: 'updatePolicy', class: Google::Apis::ComputeBeta::InstanceGroupManagerUpdatePolicy, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerUpdatePolicy::Representation + + collection :versions, as: 'versions', class: Google::Apis::ComputeBeta::InstanceGroupManagerVersion, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerVersion::Representation + property :zone, as: 'zone' end end @@ -3140,6 +3321,7 @@ module Google property :recreating, as: 'recreating' property :refreshing, as: 'refreshing' property :restarting, as: 'restarting' + property :verifying, as: 'verifying' end end @@ -3175,6 +3357,39 @@ module Google end end + class InstanceGroupManagerPendingActionsSummary + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creating, as: 'creating' + property :deleting, as: 'deleting' + property :recreating, as: 'recreating' + property :restarting, as: 'restarting' + end + end + + class InstanceGroupManagerUpdatePolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :max_surge, as: 'maxSurge', class: Google::Apis::ComputeBeta::FixedOrPercent, decorator: Google::Apis::ComputeBeta::FixedOrPercent::Representation + + property :max_unavailable, as: 'maxUnavailable', class: Google::Apis::ComputeBeta::FixedOrPercent, decorator: Google::Apis::ComputeBeta::FixedOrPercent::Representation + + property :min_ready_sec, as: 'minReadySec' + property :minimal_action, as: 'minimalAction' + property :type, as: 'type' + end + end + + class InstanceGroupManagerVersion + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :instance_template, as: 'instanceTemplate' + property :name, as: 'name' + property :target_size, as: 'targetSize', class: Google::Apis::ComputeBeta::FixedOrPercent, decorator: Google::Apis::ComputeBeta::FixedOrPercent::Representation + + end + end + class InstanceGroupManagersAbandonInstancesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3510,6 +3725,194 @@ module Google end end + class Interconnect + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :admin_enabled, as: 'adminEnabled' + collection :circuit_infos, as: 'circuitInfos', class: Google::Apis::ComputeBeta::InterconnectCircuitInfo, decorator: Google::Apis::ComputeBeta::InterconnectCircuitInfo::Representation + + property :connection_authorization, as: 'connectionAuthorization' + property :creation_timestamp, as: 'creationTimestamp' + property :customer_name, as: 'customerName' + property :description, as: 'description' + collection :expected_outages, as: 'expectedOutages', class: Google::Apis::ComputeBeta::InterconnectOutageNotification, decorator: Google::Apis::ComputeBeta::InterconnectOutageNotification::Representation + + property :google_ip_address, as: 'googleIpAddress' + property :google_reference_id, as: 'googleReferenceId' + property :id, :numeric_string => true, as: 'id' + collection :interconnect_attachments, as: 'interconnectAttachments' + property :interconnect_type, as: 'interconnectType' + property :kind, as: 'kind' + property :link_type, as: 'linkType' + property :location, as: 'location' + property :name, as: 'name' + property :noc_contact_email, as: 'nocContactEmail' + property :operational_status, as: 'operationalStatus' + property :peer_ip_address, as: 'peerIpAddress' + property :provisioned_link_count, as: 'provisionedLinkCount' + property :requested_link_count, as: 'requestedLinkCount' + property :self_link, as: 'selfLink' + end + end + + class InterconnectAttachment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cloud_router_ip_address, as: 'cloudRouterIpAddress' + property :creation_timestamp, as: 'creationTimestamp' + property :customer_router_ip_address, as: 'customerRouterIpAddress' + property :description, as: 'description' + property :google_reference_id, as: 'googleReferenceId' + property :id, :numeric_string => true, as: 'id' + property :interconnect, as: 'interconnect' + property :kind, as: 'kind' + property :name, as: 'name' + property :operational_status, as: 'operationalStatus' + property :private_interconnect_info, as: 'privateInterconnectInfo', class: Google::Apis::ComputeBeta::InterconnectAttachmentPrivateInfo, decorator: Google::Apis::ComputeBeta::InterconnectAttachmentPrivateInfo::Representation + + property :region, as: 'region' + property :router, as: 'router' + property :self_link, as: 'selfLink' + end + end + + class InterconnectAttachmentAggregatedList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + hash :items, as: 'items', class: Google::Apis::ComputeBeta::InterconnectAttachmentsScopedList, decorator: Google::Apis::ComputeBeta::InterconnectAttachmentsScopedList::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + + class InterconnectAttachmentList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeBeta::InterconnectAttachment, decorator: Google::Apis::ComputeBeta::InterconnectAttachment::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + + class InterconnectAttachmentPrivateInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :tag8021q, as: 'tag8021q' + end + end + + class InterconnectAttachmentsScopedList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :interconnect_attachments, as: 'interconnectAttachments', class: Google::Apis::ComputeBeta::InterconnectAttachment, decorator: Google::Apis::ComputeBeta::InterconnectAttachment::Representation + + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::InterconnectAttachmentsScopedList::Warning, decorator: Google::Apis::ComputeBeta::InterconnectAttachmentsScopedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::InterconnectAttachmentsScopedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::InterconnectAttachmentsScopedList::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 InterconnectCircuitInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :customer_demarc_id, as: 'customerDemarcId' + property :google_circuit_id, as: 'googleCircuitId' + property :google_demarc_id, as: 'googleDemarcId' + end + end + + class InterconnectList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeBeta::Interconnect, decorator: Google::Apis::ComputeBeta::Interconnect::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + + class InterconnectLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :address, as: 'address' + property :availability_zone, as: 'availabilityZone' + property :city, as: 'city' + property :continent, as: 'continent' + property :creation_timestamp, as: 'creationTimestamp' + property :description, as: 'description' + property :facility_provider, as: 'facilityProvider' + property :facility_provider_facility_id, as: 'facilityProviderFacilityId' + property :id, :numeric_string => true, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + property :peeringdb_facility_id, as: 'peeringdbFacilityId' + collection :region_infos, as: 'regionInfos', class: Google::Apis::ComputeBeta::InterconnectLocationRegionInfo, decorator: Google::Apis::ComputeBeta::InterconnectLocationRegionInfo::Representation + + property :self_link, as: 'selfLink' + end + end + + class InterconnectLocationList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeBeta::InterconnectLocation, decorator: Google::Apis::ComputeBeta::InterconnectLocation::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + + class InterconnectLocationRegionInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :expected_rtt_ms, :numeric_string => true, as: 'expectedRttMs' + property :location_presence, as: 'locationPresence' + property :region, as: 'region' + property :region_key, as: 'regionKey' + end + end + + class InterconnectOutageNotification + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :affected_circuits, as: 'affectedCircuits' + property :description, as: 'description' + property :end_time, :numeric_string => true, as: 'endTime' + property :issue_type, as: 'issueType' + property :name, as: 'name' + property :source, as: 'source' + property :start_time, :numeric_string => true, as: 'startTime' + property :state, as: 'state' + end + end + class License # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3527,12 +3930,16 @@ module Google property :counter, as: 'counter', class: Google::Apis::ComputeBeta::LogConfigCounterOptions, decorator: Google::Apis::ComputeBeta::LogConfigCounterOptions::Representation + property :data_access, as: 'dataAccess', class: Google::Apis::ComputeBeta::LogConfigDataAccessOptions, decorator: Google::Apis::ComputeBeta::LogConfigDataAccessOptions::Representation + end end class LogConfigCloudAuditOptions # @private class Representation < Google::Apis::Core::JsonRepresentation + property :authorization_logging_options, as: 'authorizationLoggingOptions', class: Google::Apis::ComputeBeta::AuthorizationLoggingOptions, decorator: Google::Apis::ComputeBeta::AuthorizationLoggingOptions::Representation + property :log_name, as: 'logName' end end @@ -3545,6 +3952,13 @@ module Google end end + class LogConfigDataAccessOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :log_mode, as: 'logMode' + end + end + class MachineType # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3703,6 +4117,8 @@ module Google property :name, as: 'name' collection :peerings, as: 'peerings', class: Google::Apis::ComputeBeta::NetworkPeering, decorator: Google::Apis::ComputeBeta::NetworkPeering::Representation + property :routing_config, as: 'routingConfig', class: Google::Apis::ComputeBeta::NetworkRoutingConfig, decorator: Google::Apis::ComputeBeta::NetworkRoutingConfig::Representation + property :self_link, as: 'selfLink' collection :subnetworks, as: 'subnetworks' end @@ -3746,6 +4162,13 @@ module Google end end + class NetworkRoutingConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :routing_mode, as: 'routingMode' + end + end + class NetworksAddPeeringRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -4267,6 +4690,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :ip_range, as: 'ipRange' + property :linked_interconnect_attachment, as: 'linkedInterconnectAttachment' property :linked_vpn_tunnel, as: 'linkedVpnTunnel' property :name, as: 'name' end @@ -4394,6 +4818,59 @@ module Google end end + class SecurityPoliciesList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeBeta::SecurityPolicy, decorator: Google::Apis::ComputeBeta::SecurityPolicy::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class SecurityPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creation_timestamp, as: 'creationTimestamp' + property :description, as: 'description' + property :fingerprint, :base64 => true, as: 'fingerprint' + property :id, :numeric_string => true, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + collection :rules, as: 'rules', class: Google::Apis::ComputeBeta::SecurityPolicyRule, decorator: Google::Apis::ComputeBeta::SecurityPolicyRule::Representation + + property :self_link, as: 'selfLink' + end + end + + class SecurityPolicyReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :security_policy, as: 'securityPolicy' + end + end + + class SecurityPolicyRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :action, as: 'action' + property :description, as: 'description' + property :kind, as: 'kind' + property :match, as: 'match', class: Google::Apis::ComputeBeta::SecurityPolicyRuleMatcher, decorator: Google::Apis::ComputeBeta::SecurityPolicyRuleMatcher::Representation + + property :preview, as: 'preview' + property :priority, as: 'priority' + end + end + + class SecurityPolicyRuleMatcher + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :src_ip_ranges, as: 'srcIpRanges' + end + end + class SerialPortOutput # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/compute_beta/service.rb b/generated/google/apis/compute_beta/service.rb index 0a93a58d8..d1f3af150 100644 --- a/generated/google/apis/compute_beta/service.rb +++ b/generated/google/apis/compute_beta/service.rb @@ -1836,6 +1836,60 @@ module Google execute_or_queue_command(command, &block) end + # Sets the security policy for the specified backend service. + # @param [String] project + # Project ID for this request. + # @param [String] backend_service + # Name of the BackendService resource to which the security policy should be set. + # The name should conform to RFC1035. + # @param [Google::Apis::ComputeBeta::SecurityPolicyReference] security_policy_reference_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @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 set_backend_service_security_policy(project, backend_service, security_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/setSecurityPolicy', options) + command.request_representation = Google::Apis::ComputeBeta::SecurityPolicyReference::Representation + command.request_object = security_policy_reference_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['backendService'] = backend_service unless backend_service.nil? + command.query['requestId'] = request_id unless request_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 + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. @@ -5525,11 +5579,13 @@ module Google # An optional request ID to identify requests. Specify a unique request ID so # that if you must retry your request, the server will know to ignore the # request if it has already been completed. - # For example, consider a situation where you make an initial request and then - # the request times out. If you make the request again with the same request ID, - # the server can check if original operation with the same request ID was - # received, and if so, will ignore the second request. This prevents clients - # from accidentally creating duplicate commitments. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -9224,6 +9280,782 @@ module Google execute_or_queue_command(command, &block) end + # Retrieves an aggregated list of interconnect attachments. + # @param [String] project + # Project ID for this request. + # @param [String] filter + # Sets a filter `expression` for filtering listed resources. 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 that do not have a name of example- + # instance, you would use name ne example-instance. + # You can filter on nested fields. For example, you could filter on instances + # that have set the scheduling.automaticRestart field to true. Use filtering on + # nested fields to take advantage of labels to organize and search for results + # based on label values. + # To filter on multiple expressions, provide 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. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @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::InterconnectAttachmentAggregatedList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::InterconnectAttachmentAggregatedList] + # + # @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 aggregated_interconnect_attachment_list(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/interconnectAttachments', options) + command.response_representation = Google::Apis::ComputeBeta::InterconnectAttachmentAggregatedList::Representation + command.response_class = Google::Apis::ComputeBeta::InterconnectAttachmentAggregatedList + 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 interconnect attachment. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region for this request. + # @param [String] interconnect_attachment + # Name of the interconnect attachment to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @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_interconnect_attachment(project, region, interconnect_attachment, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', 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['interconnectAttachment'] = interconnect_attachment unless interconnect_attachment.nil? + command.query['requestId'] = request_id unless request_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 + + # Returns the specified interconnect attachment. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region for this request. + # @param [String] interconnect_attachment + # Name of the interconnect attachment 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::InterconnectAttachment] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::InterconnectAttachment] + # + # @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_interconnect_attachment(project, region, interconnect_attachment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options) + command.response_representation = Google::Apis::ComputeBeta::InterconnectAttachment::Representation + command.response_class = Google::Apis::ComputeBeta::InterconnectAttachment + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['interconnectAttachment'] = interconnect_attachment unless interconnect_attachment.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 an InterconnectAttachment in the specified project using the data + # included in the request. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region for this request. + # @param [Google::Apis::ComputeBeta::InterconnectAttachment] interconnect_attachment_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @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_interconnect_attachment(project, region, interconnect_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/interconnectAttachments', options) + command.request_representation = Google::Apis::ComputeBeta::InterconnectAttachment::Representation + command.request_object = interconnect_attachment_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['requestId'] = request_id unless request_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 + + # Retrieves the list of interconnect attachments contained within the specified + # region. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region for this request. + # @param [String] filter + # Sets a filter `expression` for filtering listed resources. 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 that do not have a name of example- + # instance, you would use name ne example-instance. + # You can filter on nested fields. For example, you could filter on instances + # that have set the scheduling.automaticRestart field to true. Use filtering on + # nested fields to take advantage of labels to organize and search for results + # based on label values. + # To filter on multiple expressions, provide 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. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @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::InterconnectAttachmentList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::InterconnectAttachmentList] + # + # @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_interconnect_attachments(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}/interconnectAttachments', options) + command.response_representation = Google::Apis::ComputeBeta::InterconnectAttachmentList::Representation + command.response_class = Google::Apis::ComputeBeta::InterconnectAttachmentList + 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 + + # Returns permissions that a caller has on the specified resource. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region for this request. + # @param [String] resource + # Name of the resource for this request. + # @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_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::ComputeBeta::TestPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::TestPermissionsResponse] + # + # @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 test_interconnect_attachment_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/interconnectAttachments/{resource}/testIamPermissions', options) + command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation + command.request_object = test_permissions_request_object + command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation + command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['resource'] = resource unless resource.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 details for the specified interconnect location. Get a list of + # available interconnect locations by making a list() request. + # @param [String] project + # Project ID for this request. + # @param [String] interconnect_location + # Name of the interconnect location 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::InterconnectLocation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::InterconnectLocation] + # + # @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_interconnect_location(project, interconnect_location, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/interconnectLocations/{interconnectLocation}', options) + command.response_representation = Google::Apis::ComputeBeta::InterconnectLocation::Representation + command.response_class = Google::Apis::ComputeBeta::InterconnectLocation + command.params['project'] = project unless project.nil? + command.params['interconnectLocation'] = interconnect_location unless interconnect_location.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 the list of interconnect locations available to the specified + # project. + # @param [String] project + # Project ID for this request. + # @param [String] filter + # Sets a filter `expression` for filtering listed resources. 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 that do not have a name of example- + # instance, you would use name ne example-instance. + # You can filter on nested fields. For example, you could filter on instances + # that have set the scheduling.automaticRestart field to true. Use filtering on + # nested fields to take advantage of labels to organize and search for results + # based on label values. + # To filter on multiple expressions, provide 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. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @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::InterconnectLocationList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::InterconnectLocationList] + # + # @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_interconnect_locations(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}/global/interconnectLocations', options) + command.response_representation = Google::Apis::ComputeBeta::InterconnectLocationList::Representation + command.response_class = Google::Apis::ComputeBeta::InterconnectLocationList + 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 interconnect. + # @param [String] project + # Project ID for this request. + # @param [String] interconnect + # Name of the interconnect to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @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_interconnect(project, interconnect, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/global/interconnects/{interconnect}', 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['interconnect'] = interconnect unless interconnect.nil? + command.query['requestId'] = request_id unless request_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 + + # Returns the specified interconnect. Get a list of available interconnects by + # making a list() request. + # @param [String] project + # Project ID for this request. + # @param [String] interconnect + # Name of the interconnect 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::Interconnect] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Interconnect] + # + # @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_interconnect(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/interconnects/{interconnect}', options) + command.response_representation = Google::Apis::ComputeBeta::Interconnect::Representation + command.response_class = Google::Apis::ComputeBeta::Interconnect + command.params['project'] = project unless project.nil? + command.params['interconnect'] = interconnect unless interconnect.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 Interconnect in the specified project using the data included in the + # request. + # @param [String] project + # Project ID for this request. + # @param [Google::Apis::ComputeBeta::Interconnect] interconnect_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @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_interconnect(project, interconnect_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/interconnects', options) + command.request_representation = Google::Apis::ComputeBeta::Interconnect::Representation + command.request_object = interconnect_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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 + + # Retrieves the list of interconnect available to the specified project. + # @param [String] project + # Project ID for this request. + # @param [String] filter + # Sets a filter `expression` for filtering listed resources. 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 that do not have a name of example- + # instance, you would use name ne example-instance. + # You can filter on nested fields. For example, you could filter on instances + # that have set the scheduling.automaticRestart field to true. Use filtering on + # nested fields to take advantage of labels to organize and search for results + # based on label values. + # To filter on multiple expressions, provide 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. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @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::InterconnectList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::InterconnectList] + # + # @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_interconnects(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}/global/interconnects', options) + command.response_representation = Google::Apis::ComputeBeta::InterconnectList::Representation + command.response_class = Google::Apis::ComputeBeta::InterconnectList + 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 + + # Updates the specified interconnect with the data included in the request. This + # method supports PATCH semantics and uses the JSON merge patch format and + # processing rules. + # @param [String] project + # Project ID for this request. + # @param [String] interconnect + # Name of the interconnect to update. + # @param [Google::Apis::ComputeBeta::Interconnect] interconnect_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @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_interconnect(project, interconnect, interconnect_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, '{project}/global/interconnects/{interconnect}', options) + command.request_representation = Google::Apis::ComputeBeta::Interconnect::Representation + command.request_object = interconnect_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['interconnect'] = interconnect unless interconnect.nil? + command.query['requestId'] = request_id unless request_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 + + # Returns permissions that a caller has on the specified resource. + # @param [String] project + # Project ID for this request. + # @param [String] resource + # Name of the resource for this request. + # @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_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::ComputeBeta::TestPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::TestPermissionsResponse] + # + # @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 test_interconnect_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/interconnects/{resource}/testIamPermissions', options) + command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation + command.request_object = test_permissions_request_object + command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation + command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse + command.params['project'] = project unless project.nil? + command.params['resource'] = resource unless resource.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 License resource. # @param [String] project # Project ID for this request. @@ -9728,6 +10560,59 @@ module Google execute_or_queue_command(command, &block) end + # Patches the specified network with the data included in the request. + # @param [String] project + # Project ID for this request. + # @param [String] network + # Name of the network to update. + # @param [Google::Apis::ComputeBeta::Network] network_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @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_network(project, network, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, '{project}/global/networks/{network}', options) + command.request_representation = Google::Apis::ComputeBeta::Network::Representation + command.request_object = network_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['network'] = network unless network.nil? + command.query['requestId'] = request_id unless request_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 + # Removes a peering from the specified network. # @param [String] project # Project ID for this request. @@ -9872,7 +10757,7 @@ module Google execute_or_queue_command(command, &block) end - # Disable this project as an XPN host project. + # Disable this project as a shared VPC host project. # @param [String] project # Project ID for this request. # @param [String] request_id @@ -9919,7 +10804,8 @@ module Google execute_or_queue_command(command, &block) end - # Disable an XPN resource associated with this host project. + # Disable a serivce resource (a.k.a service project) associated with this host + # project. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::ProjectsDisableXpnResourceRequest] projects_disable_xpn_resource_request_object @@ -9969,7 +10855,7 @@ module Google execute_or_queue_command(command, &block) end - # Enable this project as an XPN host project. + # Enable this project as a shared VPC host project. # @param [String] project # Project ID for this request. # @param [String] request_id @@ -10016,9 +10902,8 @@ module Google execute_or_queue_command(command, &block) end - # Enable XPN resource (a.k.a service project or service folder in the future) - # for a host project, so that subnetworks in the host project can be used by - # instances in the service project or folder. + # Enable service resource (a.k.a service project) for a host project, so that + # subnets in the host project can be used by instances in the service project. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::ProjectsEnableXpnResourceRequest] projects_enable_xpn_resource_request_object @@ -10103,8 +10988,8 @@ module Google execute_or_queue_command(command, &block) end - # Get the XPN host project that this project links to. May be empty if no link - # exists. + # Get the shared VPC host project that this project links to. May be empty if no + # link exists. # @param [String] project # Project ID for this request. # @param [String] fields @@ -10139,7 +11024,8 @@ module Google execute_or_queue_command(command, &block) end - # Get XPN resources associated with this host project. + # Get service resources (a.k.a service project) associated with this host + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -10182,7 +11068,7 @@ module Google execute_or_queue_command(command, &block) end - # List all XPN host projects visible to the user in an organization. + # List all shared VPC host projects visible to the user in an organization. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeBeta::ProjectsListXpnHostsRequest] projects_list_xpn_hosts_request_object @@ -10672,11 +11558,11 @@ module Google # An optional request ID to identify requests. Specify a unique request ID so # that if you must retry your request, the server will know to ignore the # request if it has already been completed. - # For example, consider a situation where you make an initial request and then - # the request times out. If you make the request again with the same request ID, - # the server can check if original operation with the same request ID was - # received, and if so, will ignore the second request. This prevents clients - # from accidentally creating duplicate commitments. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. # The request ID must be a valid UUID with the exception that zero UUID is not # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields @@ -10773,11 +11659,13 @@ module Google # An optional request ID to identify requests. Specify a unique request ID so # that if you must retry your request, the server will know to ignore the # request if it has already been completed. - # For example, consider a situation where you make an initial request and then - # the request times out. If you make the request again with the same request ID, - # the server can check if original operation with the same request ID was - # received, and if so, will ignore the second request. This prevents clients - # from accidentally creating duplicate commitments. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -13314,7 +14202,8 @@ module Google end # Patches the specified Router resource with the data included in the request. - # This method supports patch semantics. + # This method supports PATCH semantics and uses JSON merge patch format and + # processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -13772,6 +14661,315 @@ module Google execute_or_queue_command(command, &block) end + # Deletes the specified policy. + # @param [String] project + # Project ID for this request. + # @param [String] security_policy + # Name of the security policy to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @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_security_policy(project, security_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/global/securityPolicies/{securityPolicy}', 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['securityPolicy'] = security_policy unless security_policy.nil? + command.query['requestId'] = request_id unless request_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 + + # List all of the ordered rules present in a single specified policy. + # @param [String] project + # Project ID for this request. + # @param [String] security_policy + # Name of the security policy to get. + # @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::SecurityPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::SecurityPolicy] + # + # @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_security_policy(project, security_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/securityPolicies/{securityPolicy}', options) + command.response_representation = Google::Apis::ComputeBeta::SecurityPolicy::Representation + command.response_class = Google::Apis::ComputeBeta::SecurityPolicy + command.params['project'] = project unless project.nil? + command.params['securityPolicy'] = security_policy unless security_policy.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 new policy in the specified project using the data included in the + # request. + # @param [String] project + # Project ID for this request. + # @param [Google::Apis::ComputeBeta::SecurityPolicy] security_policy_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @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_security_policy(project, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/securityPolicies', options) + command.request_representation = Google::Apis::ComputeBeta::SecurityPolicy::Representation + command.request_object = security_policy_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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 + + # List all the policies that have been configured for the specified project. + # @param [String] project + # Project ID for this request. + # @param [String] filter + # Sets a filter `expression` for filtering listed resources. 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 that do not have a name of example- + # instance, you would use name ne example-instance. + # You can filter on nested fields. For example, you could filter on instances + # that have set the scheduling.automaticRestart field to true. Use filtering on + # nested fields to take advantage of labels to organize and search for results + # based on label values. + # To filter on multiple expressions, provide 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. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @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::SecurityPoliciesList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::SecurityPoliciesList] + # + # @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_security_policies(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}/global/securityPolicies', options) + command.response_representation = Google::Apis::ComputeBeta::SecurityPoliciesList::Representation + command.response_class = Google::Apis::ComputeBeta::SecurityPoliciesList + 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 + + # Patches the specified policy with the data included in the request. + # @param [String] project + # Project ID for this request. + # @param [String] security_policy + # Name of the security policy to update. + # @param [Google::Apis::ComputeBeta::SecurityPolicy] security_policy_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @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_security_policy(project, security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, '{project}/global/securityPolicies/{securityPolicy}', options) + command.request_representation = Google::Apis::ComputeBeta::SecurityPolicy::Representation + command.request_object = security_policy_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['securityPolicy'] = security_policy unless security_policy.nil? + command.query['requestId'] = request_id unless request_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 + + # Returns permissions that a caller has on the specified resource. + # @param [String] project + # Project ID for this request. + # @param [String] resource + # Name of the resource for this request. + # @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_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::ComputeBeta::TestPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::TestPermissionsResponse] + # + # @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 test_security_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/securityPolicies/{resource}/testIamPermissions', options) + command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation + command.request_object = test_permissions_request_object + command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation + command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse + command.params['project'] = project unless project.nil? + command.params['resource'] = resource unless resource.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 Snapshot resource. Keep in mind that deleting a single # snapshot might not necessarily delete all the data on that snapshot. If any # data on the snapshot that is marked for deletion is needed for subsequent diff --git a/generated/google/apis/compute_v1.rb b/generated/google/apis/compute_v1.rb index e33ca3f7d..d64683b0a 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 = '20170612' + REVISION = '20170821' # 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/classes.rb b/generated/google/apis/compute_v1/classes.rb index 1e389b40e..542541057 100644 --- a/generated/google/apis/compute_v1/classes.rb +++ b/generated/google/apis/compute_v1/classes.rb @@ -123,13 +123,12 @@ module Google class AcceleratorTypeAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A map of scoped accelerator type lists. + # A list of AcceleratorTypesScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -188,7 +187,11 @@ module Google # @return [String] attr_accessor :kind - # [Output Only] A token used to continue a truncated list request. + # [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 @@ -448,7 +451,7 @@ module Google # @return [String] attr_accessor :id - # [Output Only] A map of scoped address lists. + # A list of AddressesScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -491,13 +494,12 @@ module Google class AddressList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of addresses. + # A list of Address resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -517,7 +519,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] Server-defined URL for the resource. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -627,6 +629,37 @@ module Google end end + # An alias IP range attached to an instance's network interface. + class AliasIpRange + include Google::Apis::Core::Hashable + + # The IP CIDR range represented by this alias IP range. This IP CIDR range must + # belong to the specified subnetwork and cannot contain IP addresses reserved by + # system or used by other network interfaces. This range may be a single IP + # address (e.g. 10.2.3.4), a netmask (e.g. /24) or a CIDR format string (e.g. 10. + # 1.2.0/24). + # Corresponds to the JSON property `ipCidrRange` + # @return [String] + attr_accessor :ip_cidr_range + + # Optional subnetwork secondary range name specifying the secondary range from + # which to allocate the IP CIDR range for this alias IP range. If left + # unspecified, the primary range of the subnetwork will be used. + # Corresponds to the JSON property `subnetworkRangeName` + # @return [String] + attr_accessor :subnetwork_range_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range) + @subnetwork_range_name = args[:subnetwork_range_name] if args.key?(:subnetwork_range_name) + end + end + # An instance-attached disk resource. class AttachedDisk include Google::Apis::Core::Hashable @@ -919,13 +952,12 @@ module Google class AutoscalerAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # A map of scoped autoscaler lists. + # A list of AutoscalersScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -968,8 +1000,7 @@ module Google class AutoscalerList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -1285,7 +1316,7 @@ module Google # Specifies the balancing mode for this backend. For global HTTP(S) or TCP/SSL # load balancing, the default is UTILIZATION. Valid values are UTILIZATION, RATE # (for HTTP(S)) and CONNECTION (for TCP/SSL). - # This cannot be used for internal load balancing. + # For Internal Load Balancing, the default and only supported mode is CONNECTION. # Corresponds to the JSON property `balancingMode` # @return [String] attr_accessor :balancing_mode @@ -1306,15 +1337,15 @@ module Google # @return [String] attr_accessor :description - # The fully-qualified URL of a zonal Instance Group resource. This instance - # group defines the list of instances that serve traffic. Member virtual machine + # The fully-qualified URL of a Instance Group resource. This instance group + # defines the list of instances that serve traffic. Member virtual machine # instances from each instance group must live in the same zone as the instance # group itself. No two backends in a backend service are allowed to use same # Instance Group resource. # Note that you must specify an Instance Group resource using the fully- # qualified URL, rather than a partial URL. # When the BackendService has load balancing scheme INTERNAL, the instance group - # must be in a zone within the same region as the BackendService. + # must be within the same region as the BackendService. # Corresponds to the JSON property `group` # @return [String] attr_accessor :group @@ -1465,7 +1496,11 @@ module Google # @return [String] attr_accessor :kind - # [Output Only] A token used to continue a truncated list request. + # [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 @@ -1546,8 +1581,9 @@ module Google # The list of URLs to the HttpHealthCheck or HttpsHealthCheck resource for # health checking this BackendService. Currently at most one health check can be - # specified, and a health check is required for GCE backend services. A health - # check must not be specified for GAE app backend and Cloud Function backend. + # specified, and a health check is required for Compute Engine backend services. + # A health check must not be specified for App Engine backend and Cloud Function + # backend. # For internal load balancing, a URL to a HealthCheck resource must be specified # instead. # Corresponds to the JSON property `healthChecks` @@ -1571,7 +1607,9 @@ module Google # @return [String] attr_accessor :kind - # + # Indicates whether the backend service will be used with internal or external + # load balancing. A backend service created for one type of load balancing + # cannot be used with the other. Possible values are INTERNAL and EXTERNAL. # Corresponds to the JSON property `loadBalancingScheme` # @return [String] attr_accessor :load_balancing_scheme @@ -1675,7 +1713,7 @@ module Google # @return [String] attr_accessor :id - # A map of scoped BackendService lists. + # A list of BackendServicesScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -1685,7 +1723,11 @@ module Google # @return [String] attr_accessor :kind - # [Output Only] A token used to continue a truncated list request. + # [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 @@ -2129,13 +2171,12 @@ module Google class CommitmentAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # Commitments by scope. + # A list of CommitmentsScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -2178,8 +2219,7 @@ module Google class CommitmentList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -2530,7 +2570,7 @@ module Google # or specify it alone to create an empty persistent disk. # If you specify this field along with sourceImage or sourceSnapshot, the value # of sizeGb must not be less than the size of the sourceImage or the size of the - # snapshot. + # snapshot. Acceptable values are 1 to 65536, inclusive. # Corresponds to the JSON property `sizeGb` # @return [Fixnum] attr_accessor :size_gb @@ -2652,13 +2692,12 @@ module Google class DiskAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A map of scoped disk lists. + # A list of DisksScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -2673,8 +2712,7 @@ module Google # 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. Acceptable values are 0 to 500, inclusive. - # (Default: 500) + # continue paging through the results. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -2717,11 +2755,11 @@ module Google # @return [String] attr_accessor :kind - # 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. + # [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 @@ -2857,13 +2895,12 @@ module Google class DiskTypeAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A map of scoped disk type lists. + # A list of DiskTypesScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -2905,13 +2942,12 @@ module Google class DiskTypeList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of Disk Type resources. + # A list of DiskType resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -3165,12 +3201,32 @@ module Google # @return [String] attr_accessor :creation_timestamp + # The list of DENY rules specified by this firewall. Each rule specifies a + # protocol and port-range tuple that describes a permitted connection. + # Corresponds to the JSON property `denied` + # @return [Array] + attr_accessor :denied + # 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 + # If destination ranges are specified, the firewall will apply only to traffic + # that has destination IP address in these ranges. These ranges must be + # expressed in CIDR format. Only IPv4 is supported. + # Corresponds to the JSON property `destinationRanges` + # @return [Array] + attr_accessor :destination_ranges + + # Direction of traffic to which this firewall applies; default is INGRESS. Note: + # For INGRESS traffic, it is NOT supported to specify destinationRanges; For + # EGRESS traffic, it is NOT supported to specify sourceRanges OR sourceTags. + # Corresponds to the JSON property `direction` + # @return [String] + attr_accessor :direction + # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` @@ -3205,6 +3261,15 @@ module Google # @return [String] attr_accessor :network + # Priority for this rule. This is an integer between 0 and 65535, both inclusive. + # When not specified, the value assumed is 1000. Relative priorities determine + # precedence of conflicting rules. Lower value of priority implies higher + # precedence (eg, a rule with priority 0 has higher precedence than a rule with + # priority 1). DENY rules take precedence over ALLOW rules having equal priority. + # Corresponds to the JSON property `priority` + # @return [Fixnum] + attr_accessor :priority + # [Output Only] Server-defined URL for the resource. # Corresponds to the JSON property `selfLink` # @return [String] @@ -3221,14 +3286,16 @@ module Google # @return [Array] attr_accessor :source_ranges - # If source tags are specified, the firewall will apply only to traffic with - # source IP that belongs to a tag listed in source tags. Source tags cannot be - # used to control traffic to an instance's external IP address. Because tags are - # associated with an instance, not an IP address. One or both of sourceRanges - # and sourceTags may be set. If both properties are set, the firewall will apply - # to traffic that has source IP address within sourceRanges OR the source IP - # that belongs to a tag listed in the sourceTags property. The connection does - # not need to match both properties for the firewall to apply. + # If source tags are specified, the firewall rule applies only to traffic with + # source IPs that match the primary network interfaces of VM instances that have + # the tag and are in the same VPC network. Source tags cannot be used to control + # traffic to an instance's external IP address, it only applies to traffic + # between instances in the same virtual network. Because tags are associated + # with instances, not IP addresses. One or both of sourceRanges and sourceTags + # may be set. If both properties are set, the firewall will apply to traffic + # that has source IP address within sourceRanges OR the source IP that belongs + # to a tag listed in the sourceTags property. The connection does not need to + # match both properties for the firewall to apply. # Corresponds to the JSON property `sourceTags` # @return [Array] attr_accessor :source_tags @@ -3249,11 +3316,15 @@ module Google def update!(**args) @allowed = args[:allowed] if args.key?(:allowed) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @denied = args[:denied] if args.key?(:denied) @description = args[:description] if args.key?(:description) + @destination_ranges = args[:destination_ranges] if args.key?(:destination_ranges) + @direction = args[:direction] if args.key?(:direction) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @network = args[:network] if args.key?(:network) + @priority = args[:priority] if args.key?(:priority) @self_link = args[:self_link] if args.key?(:self_link) @source_ranges = args[:source_ranges] if args.key?(:source_ranges) @source_tags = args[:source_tags] if args.key?(:source_tags) @@ -3266,8 +3337,39 @@ module Google # The IP protocol to which this rule applies. The protocol type is required when # creating a firewall rule. This value can either be one of the following well - # known protocol strings (tcp, udp, icmp, esp, ah, sctp), or the IP protocol - # number. + # known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP + # protocol number. + # Corresponds to the JSON property `IPProtocol` + # @return [String] + attr_accessor :ip_protocol + + # An optional list of ports to which this rule applies. This field is only + # applicable for UDP or TCP protocol. Each entry must be either an integer or a + # range. If not specified, this rule applies to connections through any port. + # Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. + # Corresponds to the JSON property `ports` + # @return [Array] + attr_accessor :ports + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol) + @ports = args[:ports] if args.key?(:ports) + end + end + + # + class Denied + include Google::Apis::Core::Hashable + + # The IP protocol to which this rule applies. The protocol type is required when + # creating a firewall rule. This value can either be one of the following well + # known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP + # protocol number. # Corresponds to the JSON property `IPProtocol` # @return [String] attr_accessor :ip_protocol @@ -3296,13 +3398,12 @@ module Google class FirewallList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of Firewall resources. + # A list of Firewall resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -3441,8 +3542,10 @@ module Google # Some types of forwarding target have constraints on the acceptable ports: # - TargetHttpProxy: 80, 8080 # - TargetHttpsProxy: 443 - # - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995 - # - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995 + # - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, + # 5222 + # - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, + # 5222 # - TargetVpnGateway: 500, 4500 # - # Corresponds to the JSON property `portRange` @@ -3520,13 +3623,12 @@ module Google class ForwardingRuleAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # A map of scoped forwarding rule lists. + # A list of ForwardingRulesScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -3569,7 +3671,7 @@ module Google class ForwardingRuleList include Google::Apis::Core::Hashable - # [Output Only] Unique identifier for the resource. Set by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -3979,8 +4081,7 @@ module Google class HealthCheckList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -4230,7 +4331,7 @@ module Google class HttpHealthCheckList include Google::Apis::Core::Hashable - # [Output Only] Unique identifier for the resource. Defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -4641,13 +4742,12 @@ module Google class ImageList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of Image resources. + # A list of Image resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -4784,9 +4884,9 @@ module Google # @return [String] attr_accessor :name - # An array of configurations for this interface. This specifies how this - # interface is configured to interact with other network services, such as - # connecting to the internet. Only one interface is supported per instance. + # An array of network configurations for this instance. These specify how + # interfaces are configured to interact with other network services, such as + # connecting to the internet. Multiple interfaces are supported per instance. # Corresponds to the JSON property `networkInterfaces` # @return [Array] attr_accessor :network_interfaces @@ -4818,7 +4918,7 @@ module Google alias_method :start_restricted?, :start_restricted # [Output Only] The status of the instance. One of the following values: - # PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, and + # PROVISIONING, STAGING, RUNNING, STOPPING, STOPPED, SUSPENDING, SUSPENDED, and # TERMINATED. # Corresponds to the JSON property `status` # @return [String] @@ -4874,13 +4974,12 @@ module Google class InstanceAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A map of scoped instance lists. + # A list of InstancesScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -5028,13 +5127,12 @@ module Google class InstanceGroupAggregatedList include Google::Apis::Core::Hashable - # [Output Only] A unique identifier for this aggregated list of instance groups. - # The server generates this identifier. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # A map of scoped instance group lists. + # A list of InstanceGroupsScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -5054,7 +5152,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] The URL for this resource type. The server generates this URL. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -5077,13 +5175,12 @@ module Google class InstanceGroupList include Google::Apis::Core::Hashable - # [Output Only] A unique identifier for this list of instance groups. The server - # generates this identifier. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # A list of instance groups. + # A list of InstanceGroup resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -5103,7 +5200,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] The URL for this resource type. The server generates this URL. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -5335,13 +5432,12 @@ module Google class InstanceGroupManagerAggregatedList include Google::Apis::Core::Hashable - # [Output Only] A unique identifier for this aggregated list of managed instance - # groups. The server generates this identifier. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A map of filtered managed instance group lists. + # A list of InstanceGroupManagersScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -5362,7 +5458,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] The URL for this resource type. The server generates this URL. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -5385,13 +5481,12 @@ module Google class InstanceGroupManagerList include Google::Apis::Core::Hashable - # [Output Only] A unique identifier for this resource type. The server generates - # this identifier. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of managed instance groups. + # A list of InstanceGroupManager resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -5678,14 +5773,12 @@ module Google class InstanceGroupsListInstances include Google::Apis::Core::Hashable - # [Output Only] A unique identifier for this list of instances in the specified - # instance group. The server generates this identifier. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of instances and any named ports that are assigned to - # those instances. + # A list of InstanceWithNamedPorts resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -5706,8 +5799,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] The URL for this list of instances in the specified instance - # groups. The server generates this URL. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -5892,13 +5984,12 @@ module Google class InstanceList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of instances. + # A list of Instance resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -6148,13 +6239,12 @@ module Google class InstanceTemplateList include Google::Apis::Core::Hashable - # [Output Only] A unique identifier for this instance template. The server - # defines this identifier. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] list of InstanceTemplate resources. + # A list of InstanceTemplate resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -6174,8 +6264,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] The URL for this instance template list. The server defines this - # URL. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -6606,13 +6695,12 @@ module Google class MachineTypeAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A map of scoped machine type lists. + # A list of MachineTypesScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -6655,13 +6743,12 @@ module Google class MachineTypeList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of Machine Type resources. + # A list of MachineType resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -6978,7 +7065,7 @@ module Google # Value for the metadata entry. These are free-form strings, and only have # meaning as interpreted by the image running in the instance. The only # restriction placed on values is that their size must be less than or equal to - # 32768 bytes. + # 262144 bytes (256 KiB). # Corresponds to the JSON property `value` # @return [String] attr_accessor :value @@ -7128,6 +7215,12 @@ module Google # @return [Array] attr_accessor :access_configs + # An array of alias IP ranges for this network interface. Can only be specified + # for network interfaces on subnet-mode networks. + # Corresponds to the JSON property `aliasIpRanges` + # @return [Array] + attr_accessor :alias_ip_ranges + # [Output Only] Type of the resource. Always compute#networkInterface for # network interfaces. # Corresponds to the JSON property `kind` @@ -7183,6 +7276,7 @@ module Google # Update properties of this object def update!(**args) @access_configs = args[:access_configs] if args.key?(:access_configs) + @alias_ip_ranges = args[:alias_ip_ranges] if args.key?(:alias_ip_ranges) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @network = args[:network] if args.key?(:network) @@ -7195,13 +7289,12 @@ module Google class NetworkList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of Network resources. + # A list of Network resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -7969,8 +8062,8 @@ module Google # @return [Google::Apis::ComputeV1::UsageExportLocation] attr_accessor :usage_export_location - # [Output Only] The role this project has in a Cross Project Network (XPN) - # configuration. Currently only HOST projects are differentiated. + # [Output Only] The role this project has in a shared VPC configuration. + # Currently only HOST projects are differentiated. # Corresponds to the JSON property `xpnProjectStatus` # @return [String] attr_accessor :xpn_project_status @@ -8000,7 +8093,7 @@ module Google class ProjectsDisableXpnResourceRequest include Google::Apis::Core::Hashable - # XpnResourceId + # Service resource (a.k.a service project) ID. # Corresponds to the JSON property `xpnResource` # @return [Google::Apis::ComputeV1::XpnResourceId] attr_accessor :xpn_resource @@ -8019,7 +8112,7 @@ module Google class ProjectsEnableXpnResourceRequest include Google::Apis::Core::Hashable - # XpnResourceId + # Service resource (a.k.a service project) ID. # Corresponds to the JSON property `xpnResource` # @return [Google::Apis::ComputeV1::XpnResourceId] attr_accessor :xpn_resource @@ -8039,7 +8132,7 @@ module Google include Google::Apis::Core::Hashable # [Output Only] Type of resource. Always compute#projectsGetXpnResources for - # lists of XPN resources. + # lists of service resources (a.k.a service projects) # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -8053,7 +8146,8 @@ module Google # @return [String] attr_accessor :next_page_token - # XPN resources attached to this project as their XPN host. + # Serive resources (a.k.a service projects) attached to this project as their + # shared VPC host. # Corresponds to the JSON property `resources` # @return [Array] attr_accessor :resources @@ -8075,8 +8169,8 @@ module Google include Google::Apis::Core::Hashable # Optional organization ID managed by Cloud Resource Manager, for which to list - # XPN host projects. If not specified, the organization will be inferred from - # the project. + # shared VPC host projects. If not specified, the organization will be inferred + # from the project. # Corresponds to the JSON property `organization` # @return [String] attr_accessor :organization @@ -8201,13 +8295,12 @@ module Google class RegionAutoscalerList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # A list of autoscalers. + # A list of Autoscaler resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -8217,7 +8310,11 @@ module Google # @return [String] attr_accessor :kind - # [Output Only] A token used to continue a truncated list request. + # [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 @@ -8245,8 +8342,7 @@ module Google class RegionInstanceGroupList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -8270,7 +8366,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] The URL for this resource type. The server generates this URL. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -8293,13 +8389,12 @@ module Google class RegionInstanceGroupManagerList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # A list of managed instance groups. + # A list of InstanceGroupManager resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -8311,12 +8406,16 @@ module Google # @return [String] attr_accessor :kind - # [Output only] A token used to continue a truncated list request. + # [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] The URL for this resource type. The server generates this URL. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -8468,12 +8567,12 @@ module Google class RegionInstanceGroupsListInstances include Google::Apis::Core::Hashable - # [Output Only] Unique identifier for the resource. Defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # A list of instances and any named ports that are assigned to those instances. + # A list of InstanceWithNamedPorts resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -8492,7 +8591,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] Server-defined URL for the resource. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -8574,13 +8673,12 @@ module Google class RegionList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of Region resources. + # A list of Region resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -8881,12 +8979,12 @@ module Google class RouteList include Google::Apis::Core::Hashable - # [Output Only] Unique identifier for the resource. Defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of Route resources. + # A list of Route resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -9017,13 +9115,12 @@ module Google class RouterAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # A map of scoped router lists. + # A list of Router resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -9177,8 +9274,7 @@ module Google class RouterList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -9778,13 +9874,12 @@ module Google class SnapshotList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of Snapshot resources. + # A list of Snapshot resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -9900,7 +9995,7 @@ module Google class SslCertificateList include Google::Apis::Core::Hashable - # [Output Only] Unique identifier for the resource. Defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -10017,6 +10112,14 @@ module Google # @return [String] attr_accessor :region + # An array of configurations for secondary IP ranges for VM instances contained + # in this subnetwork. The primary IP of such VM must belong to the primary + # ipCidrRange of the subnetwork. The alias IPs may belong to either primary or + # secondary ranges. + # Corresponds to the JSON property `secondaryIpRanges` + # @return [Array] + attr_accessor :secondary_ip_ranges + # [Output Only] Server-defined URL for the resource. # Corresponds to the JSON property `selfLink` # @return [String] @@ -10038,6 +10141,7 @@ module Google @network = args[:network] if args.key?(:network) @private_ip_google_access = args[:private_ip_google_access] if args.key?(:private_ip_google_access) @region = args[:region] if args.key?(:region) + @secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges) @self_link = args[:self_link] if args.key?(:self_link) end end @@ -10046,13 +10150,12 @@ module Google class SubnetworkAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output] A map of scoped Subnetwork lists. + # A list of SubnetworksScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -10095,13 +10198,12 @@ module Google class SubnetworkList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # The Subnetwork resources. + # A list of Subnetwork resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -10140,6 +10242,36 @@ module Google end end + # Represents a secondary IP range of a subnetwork. + class SubnetworkSecondaryRange + include Google::Apis::Core::Hashable + + # The range of IP addresses belonging to this subnetwork secondary range. + # Provide this property when you create the subnetwork. Ranges must be unique + # and non-overlapping with all primary and secondary IP ranges within a network. + # Only IPv4 is supported. + # Corresponds to the JSON property `ipCidrRange` + # @return [String] + attr_accessor :ip_cidr_range + + # The name associated with this subnetwork secondary range, used when adding an + # alias IP range to a VM instance. The name must be 1-63 characters long, and + # comply with RFC1035. The name must be unique within the subnetwork. + # Corresponds to the JSON property `rangeName` + # @return [String] + attr_accessor :range_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range) + @range_name = args[:range_name] if args.key?(:range_name) + end + end + # class SubnetworksExpandIpCidrRangeRequest include Google::Apis::Core::Hashable @@ -10422,8 +10554,7 @@ module Google class TargetHttpProxyList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -10567,8 +10698,7 @@ module Google class TargetHttpsProxyList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -10705,7 +10835,7 @@ module Google # @return [String] attr_accessor :id - # A map of scoped target instance lists. + # A list of TargetInstance resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -10747,8 +10877,7 @@ module Google class TargetInstanceList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -11009,12 +11138,12 @@ module Google class TargetPoolAggregatedList include Google::Apis::Core::Hashable - # [Output Only] Unique identifier for the resource. Defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A map of scoped target pool lists. + # A list of TargetPool resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -11083,7 +11212,7 @@ module Google class TargetPoolList include Google::Apis::Core::Hashable - # [Output Only] Unique identifier for the resource. Defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -11463,8 +11592,7 @@ module Google class TargetSslProxyList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -11620,8 +11748,7 @@ module Google class TargetTcpProxyList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -11759,13 +11886,12 @@ module Google class TargetVpnGatewayAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # A map of scoped target vpn gateway lists. + # A list of TargetVpnGateway resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -11808,13 +11934,12 @@ module Google class TargetVpnGatewayList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of TargetVpnGateway resources. + # A list of TargetVpnGateway resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -12078,7 +12203,7 @@ module Google class UrlMapList include Google::Apis::Core::Hashable - # [Output Only] Unique identifier for the resource. Set by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -12425,13 +12550,12 @@ module Google class VpnTunnelAggregatedList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A map of scoped vpn tunnel lists. + # A list of VpnTunnelsScopedList resources. # Corresponds to the JSON property `items` # @return [Hash] attr_accessor :items @@ -12473,13 +12597,12 @@ module Google class VpnTunnelList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of VpnTunnel resources. + # A list of VpnTunnel resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -12612,19 +12735,18 @@ module Google class XpnHostList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of XPN host project URLs. + # [Output Only] A list of shared VPC host project URLs. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items - # [Output Only] Type of resource. Always compute#xpnHostList for lists of XPN - # hosts. + # [Output Only] Type of resource. Always compute#xpnHostList for lists of shared + # VPC hosts. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -12657,17 +12779,17 @@ module Google end end - # XpnResourceId + # Service resource (a.k.a service project) ID. class XpnResourceId include Google::Apis::Core::Hashable - # The ID of the XPN resource. In the case of projects, this field matches the - # project's name, not the canonical ID. + # The ID of the service resource. In the case of projects, this field matches + # the project ID (e.g., my-project), not the project number (e.g., 12345678). # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # The type of the XPN resource. + # The type of the service resource. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -12760,7 +12882,7 @@ module Google # @return [String] attr_accessor :id - # [Output Only] A list of Zone resources. + # A list of Zone resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items diff --git a/generated/google/apis/compute_v1/representations.rb b/generated/google/apis/compute_v1/representations.rb index f24e6eed8..31f5cb8b4 100644 --- a/generated/google/apis/compute_v1/representations.rb +++ b/generated/google/apis/compute_v1/representations.rb @@ -106,6 +106,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AliasIpRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AttachedDisk class Representation < Google::Apis::Core::JsonRepresentation; end @@ -420,6 +426,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + + class Denied + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -1306,6 +1318,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SubnetworkSecondaryRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SubnetworksExpandIpCidrRangeRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1851,6 +1869,14 @@ module Google end end + class AliasIpRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ip_cidr_range, as: 'ipCidrRange' + property :subnetwork_range_name, as: 'subnetworkRangeName' + end + end + class AttachedDisk # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2453,11 +2479,16 @@ module Google collection :allowed, as: 'allowed', class: Google::Apis::ComputeV1::Firewall::Allowed, decorator: Google::Apis::ComputeV1::Firewall::Allowed::Representation property :creation_timestamp, as: 'creationTimestamp' + collection :denied, as: 'denied', class: Google::Apis::ComputeV1::Firewall::Denied, decorator: Google::Apis::ComputeV1::Firewall::Denied::Representation + property :description, as: 'description' + collection :destination_ranges, as: 'destinationRanges' + property :direction, as: 'direction' property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :network, as: 'network' + property :priority, as: 'priority' property :self_link, as: 'selfLink' collection :source_ranges, as: 'sourceRanges' collection :source_tags, as: 'sourceTags' @@ -2471,6 +2502,14 @@ module Google collection :ports, as: 'ports' end end + + class Denied + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ip_protocol, as: 'IPProtocol' + collection :ports, as: 'ports' + end + end end class FirewallList @@ -3404,6 +3443,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation collection :access_configs, as: 'accessConfigs', class: Google::Apis::ComputeV1::AccessConfig, decorator: Google::Apis::ComputeV1::AccessConfig::Representation + collection :alias_ip_ranges, as: 'aliasIpRanges', class: Google::Apis::ComputeV1::AliasIpRange, decorator: Google::Apis::ComputeV1::AliasIpRange::Representation + property :kind, as: 'kind' property :name, as: 'name' property :network, as: 'network' @@ -4121,6 +4162,8 @@ module Google property :network, as: 'network' property :private_ip_google_access, as: 'privateIpGoogleAccess' property :region, as: 'region' + collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ComputeV1::SubnetworkSecondaryRange, decorator: Google::Apis::ComputeV1::SubnetworkSecondaryRange::Representation + property :self_link, as: 'selfLink' end end @@ -4149,6 +4192,14 @@ module Google end end + class SubnetworkSecondaryRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ip_cidr_range, as: 'ipCidrRange' + property :range_name, as: 'rangeName' + end + end + class SubnetworksExpandIpCidrRangeRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/compute_v1/service.rb b/generated/google/apis/compute_v1/service.rb index 73370f9ef..0d41a0ea7 100644 --- a/generated/google/apis/compute_v1/service.rb +++ b/generated/google/apis/compute_v1/service.rb @@ -333,6 +333,17 @@ module Google # Name of the region for this request. # @param [String] address # Name of the address resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -354,13 +365,14 @@ 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 delete_address(project, region, address, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_address(project, region, address, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/addresses/{address}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['address'] = address unless address.nil? + command.query['requestId'] = request_id unless request_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? @@ -415,6 +427,17 @@ module Google # @param [String] region # Name of the region for this request. # @param [Google::Apis::ComputeV1::Address] address_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -436,7 +459,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 insert_address(project, region, address_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_address(project, region, address_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/addresses', options) command.request_representation = Google::Apis::ComputeV1::Address::Representation command.request_object = address_object @@ -444,6 +467,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? + command.query['requestId'] = request_id unless request_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? @@ -612,6 +636,17 @@ module Google # Name of the zone for this request. # @param [String] autoscaler # Name of the autoscaler to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -633,13 +668,14 @@ 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 delete_autoscaler(project, zone, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_autoscaler(project, zone, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/zones/{zone}/autoscalers/{autoscaler}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['autoscaler'] = autoscaler unless autoscaler.nil? + command.query['requestId'] = request_id unless request_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? @@ -695,6 +731,17 @@ module Google # @param [String] zone # Name of the zone for this request. # @param [Google::Apis::ComputeV1::Autoscaler] autoscaler_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -716,7 +763,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 insert_autoscaler(project, zone, autoscaler_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_autoscaler(project, zone, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/autoscalers', options) command.request_representation = Google::Apis::ComputeV1::Autoscaler::Representation command.request_object = autoscaler_object @@ -724,6 +771,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? + command.query['requestId'] = request_id unless request_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? @@ -819,6 +867,17 @@ module Google # @param [Google::Apis::ComputeV1::Autoscaler] autoscaler_object # @param [String] autoscaler # Name of the autoscaler to patch. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -840,7 +899,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 patch_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def patch_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/zones/{zone}/autoscalers', options) command.request_representation = Google::Apis::ComputeV1::Autoscaler::Representation command.request_object = autoscaler_object @@ -849,6 +908,7 @@ module Google command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['autoscaler'] = autoscaler unless autoscaler.nil? + command.query['requestId'] = request_id unless request_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? @@ -864,6 +924,17 @@ module Google # @param [Google::Apis::ComputeV1::Autoscaler] autoscaler_object # @param [String] autoscaler # Name of the autoscaler to update. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -885,7 +956,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 update_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/zones/{zone}/autoscalers', options) command.request_representation = Google::Apis::ComputeV1::Autoscaler::Representation command.request_object = autoscaler_object @@ -894,6 +965,7 @@ module Google command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.query['autoscaler'] = autoscaler unless autoscaler.nil? + command.query['requestId'] = request_id unless request_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? @@ -905,6 +977,17 @@ module Google # Project ID for this request. # @param [String] backend_bucket # Name of the BackendBucket resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -926,12 +1009,13 @@ 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 delete_backend_bucket(project, backend_bucket, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_backend_bucket(project, backend_bucket, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/backendBuckets/{backendBucket}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? + command.query['requestId'] = request_id unless request_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? @@ -982,6 +1066,17 @@ module Google # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::BackendBucket] backend_bucket_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1003,13 +1098,14 @@ 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 insert_backend_bucket(project, backend_bucket_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_backend_bucket(project, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/backendBuckets', options) command.request_representation = Google::Apis::ComputeV1::BackendBucket::Representation command.request_object = backend_bucket_object command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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? @@ -1101,6 +1197,17 @@ module Google # @param [String] backend_bucket # Name of the BackendBucket resource to patch. # @param [Google::Apis::ComputeV1::BackendBucket] backend_bucket_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1122,7 +1229,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 patch_backend_bucket(project, backend_bucket, backend_bucket_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def patch_backend_bucket(project, backend_bucket, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/global/backendBuckets/{backendBucket}', options) command.request_representation = Google::Apis::ComputeV1::BackendBucket::Representation command.request_object = backend_bucket_object @@ -1130,6 +1237,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? + command.query['requestId'] = request_id unless request_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? @@ -1143,6 +1251,17 @@ module Google # @param [String] backend_bucket # Name of the BackendBucket resource to update. # @param [Google::Apis::ComputeV1::BackendBucket] backend_bucket_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1164,7 +1283,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 update_backend_bucket(project, backend_bucket, backend_bucket_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_backend_bucket(project, backend_bucket, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/global/backendBuckets/{backendBucket}', options) command.request_representation = Google::Apis::ComputeV1::BackendBucket::Representation command.request_object = backend_bucket_object @@ -1172,6 +1291,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? + command.query['requestId'] = request_id unless request_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? @@ -1260,6 +1380,17 @@ module Google # Project ID for this request. # @param [String] backend_service # Name of the BackendService resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1281,12 +1412,13 @@ 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 delete_backend_service(project, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_backend_service(project, backend_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/backendServices/{backendService}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['backendService'] = backend_service unless backend_service.nil? + command.query['requestId'] = request_id unless request_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? @@ -1379,6 +1511,17 @@ module Google # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::BackendService] backend_service_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1400,13 +1543,14 @@ 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 insert_backend_service(project, backend_service_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_backend_service(project, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/backendServices', options) command.request_representation = Google::Apis::ComputeV1::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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? @@ -1500,6 +1644,17 @@ module Google # @param [String] backend_service # Name of the BackendService resource to patch. # @param [Google::Apis::ComputeV1::BackendService] backend_service_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1521,7 +1676,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 patch_backend_service(project, backend_service, backend_service_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def patch_backend_service(project, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/global/backendServices/{backendService}', options) command.request_representation = Google::Apis::ComputeV1::BackendService::Representation command.request_object = backend_service_object @@ -1529,6 +1684,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['backendService'] = backend_service unless backend_service.nil? + command.query['requestId'] = request_id unless request_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? @@ -1544,6 +1700,17 @@ module Google # @param [String] backend_service # Name of the BackendService resource to update. # @param [Google::Apis::ComputeV1::BackendService] backend_service_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1565,7 +1732,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 update_backend_service(project, backend_service, backend_service_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_backend_service(project, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/global/backendServices/{backendService}', options) command.request_representation = Google::Apis::ComputeV1::BackendService::Representation command.request_object = backend_service_object @@ -1573,6 +1740,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['backendService'] = backend_service unless backend_service.nil? + command.query['requestId'] = request_id unless request_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? @@ -1861,6 +2029,17 @@ module Google # Name of the persistent disk to snapshot. # @param [Google::Apis::ComputeV1::Snapshot] snapshot_object # @param [Boolean] guest_flush + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1882,7 +2061,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 create_disk_snapshot(project, zone, disk, snapshot_object = nil, guest_flush: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def create_disk_snapshot(project, zone, disk, snapshot_object = nil, guest_flush: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/createSnapshot', options) command.request_representation = Google::Apis::ComputeV1::Snapshot::Representation command.request_object = snapshot_object @@ -1892,6 +2071,7 @@ module Google command.params['zone'] = zone unless zone.nil? command.params['disk'] = disk unless disk.nil? command.query['guestFlush'] = guest_flush unless guest_flush.nil? + command.query['requestId'] = request_id unless request_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? @@ -1907,6 +2087,17 @@ module Google # The name of the zone for this request. # @param [String] disk # Name of the persistent disk to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1928,13 +2119,14 @@ 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 delete_disk(project, zone, disk, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_disk(project, zone, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/zones/{zone}/disks/{disk}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['disk'] = disk unless disk.nil? + command.query['requestId'] = request_id unless request_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? @@ -1992,6 +2184,17 @@ module Google # @param [String] zone # The name of the zone for this request. # @param [Google::Apis::ComputeV1::Disk] disk_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] source_image # Optional. Source image to restore onto a disk. # @param [String] fields @@ -2015,7 +2218,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 insert_disk(project, zone, disk_object = nil, source_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_disk(project, zone, disk_object = nil, request_id: nil, source_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/disks', options) command.request_representation = Google::Apis::ComputeV1::Disk::Representation command.request_object = disk_object @@ -2023,6 +2226,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? + command.query['requestId'] = request_id unless request_id.nil? command.query['sourceImage'] = source_image unless source_image.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -2117,6 +2321,17 @@ module Google # @param [String] disk # The name of the persistent disk. # @param [Google::Apis::ComputeV1::DisksResizeRequest] disks_resize_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2138,7 +2353,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 resize_disk(project, zone, disk, disks_resize_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def resize_disk(project, zone, disk, disks_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/resize', options) command.request_representation = Google::Apis::ComputeV1::DisksResizeRequest::Representation command.request_object = disks_resize_request_object @@ -2147,6 +2362,7 @@ module Google command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['disk'] = disk unless disk.nil? + command.query['requestId'] = request_id unless request_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? @@ -2162,6 +2378,17 @@ module Google # @param [String] resource # Name of the resource for this request. # @param [Google::Apis::ComputeV1::ZoneSetLabelsRequest] zone_set_labels_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2183,7 +2410,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 set_disk_labels(project, zone, resource, zone_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_disk_labels(project, zone, resource, zone_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/disks/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeV1::ZoneSetLabelsRequest::Representation command.request_object = zone_set_labels_request_object @@ -2192,6 +2419,7 @@ module Google command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['resource'] = resource unless resource.nil? + command.query['requestId'] = request_id unless request_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? @@ -2203,6 +2431,17 @@ module Google # Project ID for this request. # @param [String] firewall # Name of the firewall rule to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2224,12 +2463,13 @@ 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 delete_firewall(project, firewall, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_firewall(project, firewall, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/firewalls/{firewall}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['firewall'] = firewall unless firewall.nil? + command.query['requestId'] = request_id unless request_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? @@ -2279,6 +2519,17 @@ module Google # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::Firewall] firewall_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2300,13 +2551,14 @@ 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 insert_firewall(project, firewall_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_firewall(project, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/firewalls', options) command.request_representation = Google::Apis::ComputeV1::Firewall::Representation command.request_object = firewall_object command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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? @@ -2390,14 +2642,24 @@ module Google end # Updates the specified firewall rule with the data included in the request. - # Using PUT method, can only update following fields of firewall rule: allowed, - # description, sourceRanges, sourceTags, targetTags. This method supports patch - # semantics. + # This method supports PATCH semantics and uses the JSON merge patch format and + # processing rules. # @param [String] project # Project ID for this request. # @param [String] firewall - # Name of the firewall rule to update. + # Name of the firewall rule to patch. # @param [Google::Apis::ComputeV1::Firewall] firewall_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2419,7 +2681,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 patch_firewall(project, firewall, firewall_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def patch_firewall(project, firewall, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/global/firewalls/{firewall}', options) command.request_representation = Google::Apis::ComputeV1::Firewall::Representation command.request_object = firewall_object @@ -2427,6 +2689,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['firewall'] = firewall unless firewall.nil? + command.query['requestId'] = request_id unless request_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? @@ -2441,6 +2704,17 @@ module Google # @param [String] firewall # Name of the firewall rule to update. # @param [Google::Apis::ComputeV1::Firewall] firewall_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2462,7 +2736,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 update_firewall(project, firewall, firewall_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_firewall(project, firewall, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/global/firewalls/{firewall}', options) command.request_representation = Google::Apis::ComputeV1::Firewall::Representation command.request_object = firewall_object @@ -2470,6 +2744,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['firewall'] = firewall unless firewall.nil? + command.query['requestId'] = request_id unless request_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? @@ -2559,6 +2834,17 @@ module Google # Name of the region scoping this request. # @param [String] forwarding_rule # Name of the ForwardingRule resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2580,13 +2866,14 @@ 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 delete_forwarding_rule(project, region, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_forwarding_rule(project, region, forwarding_rule, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/forwardingRules/{forwardingRule}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? + command.query['requestId'] = request_id unless request_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? @@ -2641,6 +2928,17 @@ module Google # @param [String] region # Name of the region scoping this request. # @param [Google::Apis::ComputeV1::ForwardingRule] forwarding_rule_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2662,7 +2960,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 insert_forwarding_rule(project, region, forwarding_rule_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_forwarding_rule(project, region, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/forwardingRules', options) command.request_representation = Google::Apis::ComputeV1::ForwardingRule::Representation command.request_object = forwarding_rule_object @@ -2670,6 +2968,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? + command.query['requestId'] = request_id unless request_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? @@ -2765,6 +3064,17 @@ module Google # @param [String] forwarding_rule # Name of the ForwardingRule resource in which target is to be set. # @param [Google::Apis::ComputeV1::TargetReference] target_reference_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2786,7 +3096,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 set_forwarding_rule_target(project, region, forwarding_rule, target_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_forwarding_rule_target(project, region, forwarding_rule, target_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget', options) command.request_representation = Google::Apis::ComputeV1::TargetReference::Representation command.request_object = target_reference_object @@ -2795,6 +3105,7 @@ module Google command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? + command.query['requestId'] = request_id unless request_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? @@ -2806,6 +3117,17 @@ module Google # Project ID for this request. # @param [String] address # Name of the address resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2827,12 +3149,13 @@ 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 delete_global_address(project, address, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_global_address(project, address, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/addresses/{address}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['address'] = address unless address.nil? + command.query['requestId'] = request_id unless request_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? @@ -2883,6 +3206,17 @@ module Google # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::Address] address_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2904,13 +3238,14 @@ 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 insert_global_address(project, address_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_global_address(project, address_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/addresses', options) command.request_representation = Google::Apis::ComputeV1::Address::Representation command.request_object = address_object command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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? @@ -2998,6 +3333,17 @@ module Google # Project ID for this request. # @param [String] forwarding_rule # Name of the ForwardingRule resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3019,12 +3365,13 @@ 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 delete_global_forwarding_rule(project, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_global_forwarding_rule(project, forwarding_rule, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/forwardingRules/{forwardingRule}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? + command.query['requestId'] = request_id unless request_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? @@ -3075,6 +3422,17 @@ module Google # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::ForwardingRule] forwarding_rule_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3096,13 +3454,14 @@ 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 insert_global_forwarding_rule(project, forwarding_rule_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_global_forwarding_rule(project, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/forwardingRules', options) command.request_representation = Google::Apis::ComputeV1::ForwardingRule::Representation command.request_object = forwarding_rule_object command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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? @@ -3193,6 +3552,17 @@ module Google # @param [String] forwarding_rule # Name of the ForwardingRule resource in which target is to be set. # @param [Google::Apis::ComputeV1::TargetReference] target_reference_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3214,7 +3584,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 set_global_forwarding_rule_target(project, forwarding_rule, target_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_global_forwarding_rule_target(project, forwarding_rule, target_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/forwardingRules/{forwardingRule}/setTarget', options) command.request_representation = Google::Apis::ComputeV1::TargetReference::Representation command.request_object = target_reference_object @@ -3222,6 +3592,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil? + command.query['requestId'] = request_id unless request_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? @@ -3460,6 +3831,17 @@ module Google # Project ID for this request. # @param [String] health_check # Name of the HealthCheck resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3481,12 +3863,13 @@ 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 delete_health_check(project, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_health_check(project, health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/healthChecks/{healthCheck}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['healthCheck'] = health_check unless health_check.nil? + command.query['requestId'] = request_id unless request_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? @@ -3537,6 +3920,17 @@ module Google # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::HealthCheck] health_check_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3558,13 +3952,14 @@ 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 insert_health_check(project, health_check_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_health_check(project, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/healthChecks', options) command.request_representation = Google::Apis::ComputeV1::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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? @@ -3655,6 +4050,17 @@ module Google # @param [String] health_check # Name of the HealthCheck resource to patch. # @param [Google::Apis::ComputeV1::HealthCheck] health_check_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3676,7 +4082,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 patch_health_check(project, health_check, health_check_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def patch_health_check(project, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/global/healthChecks/{healthCheck}', options) command.request_representation = Google::Apis::ComputeV1::HealthCheck::Representation command.request_object = health_check_object @@ -3684,6 +4090,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['healthCheck'] = health_check unless health_check.nil? + command.query['requestId'] = request_id unless request_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? @@ -3697,6 +4104,17 @@ module Google # @param [String] health_check # Name of the HealthCheck resource to update. # @param [Google::Apis::ComputeV1::HealthCheck] health_check_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3718,7 +4136,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 update_health_check(project, health_check, health_check_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_health_check(project, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/global/healthChecks/{healthCheck}', options) command.request_representation = Google::Apis::ComputeV1::HealthCheck::Representation command.request_object = health_check_object @@ -3726,6 +4144,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['healthCheck'] = health_check unless health_check.nil? + command.query['requestId'] = request_id unless request_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? @@ -3737,6 +4156,17 @@ module Google # Project ID for this request. # @param [String] http_health_check # Name of the HttpHealthCheck resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3758,12 +4188,13 @@ 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 delete_http_health_check(project, http_health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_http_health_check(project, http_health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/httpHealthChecks/{httpHealthCheck}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['httpHealthCheck'] = http_health_check unless http_health_check.nil? + command.query['requestId'] = request_id unless request_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? @@ -3814,6 +4245,17 @@ module Google # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::HttpHealthCheck] http_health_check_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3835,13 +4277,14 @@ 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 insert_http_health_check(project, http_health_check_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_http_health_check(project, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/httpHealthChecks', options) command.request_representation = Google::Apis::ComputeV1::HttpHealthCheck::Representation command.request_object = http_health_check_object command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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? @@ -3933,6 +4376,17 @@ module Google # @param [String] http_health_check # Name of the HttpHealthCheck resource to patch. # @param [Google::Apis::ComputeV1::HttpHealthCheck] http_health_check_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3954,7 +4408,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 patch_http_health_check(project, http_health_check, http_health_check_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def patch_http_health_check(project, http_health_check, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/global/httpHealthChecks/{httpHealthCheck}', options) command.request_representation = Google::Apis::ComputeV1::HttpHealthCheck::Representation command.request_object = http_health_check_object @@ -3962,6 +4416,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['httpHealthCheck'] = http_health_check unless http_health_check.nil? + command.query['requestId'] = request_id unless request_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? @@ -3975,6 +4430,17 @@ module Google # @param [String] http_health_check # Name of the HttpHealthCheck resource to update. # @param [Google::Apis::ComputeV1::HttpHealthCheck] http_health_check_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3996,7 +4462,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 update_http_health_check(project, http_health_check, http_health_check_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_http_health_check(project, http_health_check, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/global/httpHealthChecks/{httpHealthCheck}', options) command.request_representation = Google::Apis::ComputeV1::HttpHealthCheck::Representation command.request_object = http_health_check_object @@ -4004,6 +4470,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['httpHealthCheck'] = http_health_check unless http_health_check.nil? + command.query['requestId'] = request_id unless request_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? @@ -4015,6 +4482,17 @@ module Google # Project ID for this request. # @param [String] https_health_check # Name of the HttpsHealthCheck resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -4036,12 +4514,13 @@ 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 delete_https_health_check(project, https_health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_https_health_check(project, https_health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['httpsHealthCheck'] = https_health_check unless https_health_check.nil? + command.query['requestId'] = request_id unless request_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? @@ -4092,6 +4571,17 @@ module Google # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::HttpsHealthCheck] https_health_check_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -4113,13 +4603,14 @@ 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 insert_https_health_check(project, https_health_check_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_https_health_check(project, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/httpsHealthChecks', options) command.request_representation = Google::Apis::ComputeV1::HttpsHealthCheck::Representation command.request_object = https_health_check_object command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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? @@ -4211,6 +4702,17 @@ module Google # @param [String] https_health_check # Name of the HttpsHealthCheck resource to patch. # @param [Google::Apis::ComputeV1::HttpsHealthCheck] https_health_check_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -4232,7 +4734,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 patch_https_health_check(project, https_health_check, https_health_check_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def patch_https_health_check(project, https_health_check, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) command.request_representation = Google::Apis::ComputeV1::HttpsHealthCheck::Representation command.request_object = https_health_check_object @@ -4240,6 +4742,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['httpsHealthCheck'] = https_health_check unless https_health_check.nil? + command.query['requestId'] = request_id unless request_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? @@ -4253,6 +4756,17 @@ module Google # @param [String] https_health_check # Name of the HttpsHealthCheck resource to update. # @param [Google::Apis::ComputeV1::HttpsHealthCheck] https_health_check_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -4274,7 +4788,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 update_https_health_check(project, https_health_check, https_health_check_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_https_health_check(project, https_health_check, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) command.request_representation = Google::Apis::ComputeV1::HttpsHealthCheck::Representation command.request_object = https_health_check_object @@ -4282,6 +4796,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['httpsHealthCheck'] = https_health_check unless https_health_check.nil? + command.query['requestId'] = request_id unless request_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? @@ -4293,6 +4808,17 @@ module Google # Project ID for this request. # @param [String] image # Name of the image resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -4314,12 +4840,13 @@ 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 delete_image(project, image, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_image(project, image, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/images/{image}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['image'] = image unless image.nil? + command.query['requestId'] = request_id unless request_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? @@ -4333,6 +4860,17 @@ module Google # @param [String] image # Image name. # @param [Google::Apis::ComputeV1::DeprecationStatus] deprecation_status_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -4354,7 +4892,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 deprecate_image(project, image, deprecation_status_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def deprecate_image(project, image, deprecation_status_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/images/{image}/deprecate', options) command.request_representation = Google::Apis::ComputeV1::DeprecationStatus::Representation command.request_object = deprecation_status_object @@ -4362,6 +4900,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['image'] = image unless image.nil? + command.query['requestId'] = request_id unless request_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? @@ -4452,6 +4991,17 @@ module Google # @param [Google::Apis::ComputeV1::Image] image_object # @param [Boolean] force_create # Force image creation if true. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -4473,7 +5023,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 insert_image(project, image_object = nil, force_create: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_image(project, image_object = nil, force_create: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/images', options) command.request_representation = Google::Apis::ComputeV1::Image::Representation command.request_object = image_object @@ -4481,6 +5031,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.query['forceCreate'] = force_create unless force_create.nil? + command.query['requestId'] = request_id unless request_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? @@ -4629,6 +5180,17 @@ module Google # @param [String] instance_group_manager # The name of the managed instance group. # @param [Google::Apis::ComputeV1::InstanceGroupManagersAbandonInstancesRequest] instance_group_managers_abandon_instances_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -4650,7 +5212,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 abandon_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_abandon_instances_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def abandon_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_abandon_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options) command.request_representation = Google::Apis::ComputeV1::InstanceGroupManagersAbandonInstancesRequest::Representation command.request_object = instance_group_managers_abandon_instances_request_object @@ -4659,6 +5221,7 @@ module Google command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['requestId'] = request_id unless request_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? @@ -4750,6 +5313,17 @@ module Google # The name of the zone where the managed instance group is located. # @param [String] instance_group_manager # The name of the managed instance group to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -4771,13 +5345,14 @@ 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 delete_instance_group_manager(project, zone, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_instance_group_manager(project, zone, instance_group_manager, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['requestId'] = request_id unless request_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? @@ -4802,6 +5377,17 @@ module Google # @param [String] instance_group_manager # The name of the managed instance group. # @param [Google::Apis::ComputeV1::InstanceGroupManagersDeleteInstancesRequest] instance_group_managers_delete_instances_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -4823,7 +5409,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 delete_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_delete_instances_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_delete_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options) command.request_representation = Google::Apis::ComputeV1::InstanceGroupManagersDeleteInstancesRequest::Representation command.request_object = instance_group_managers_delete_instances_request_object @@ -4832,6 +5418,7 @@ module Google command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['requestId'] = request_id unless request_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? @@ -4893,6 +5480,17 @@ module Google # @param [String] zone # The name of the zone where you want to create the managed instance group. # @param [Google::Apis::ComputeV1::InstanceGroupManager] instance_group_manager_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -4914,7 +5512,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 insert_instance_group_manager(project, zone, instance_group_manager_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_instance_group_manager(project, zone, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers', options) command.request_representation = Google::Apis::ComputeV1::InstanceGroupManager::Representation command.request_object = instance_group_manager_object @@ -4922,6 +5520,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? + command.query['requestId'] = request_id unless request_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? @@ -5078,6 +5677,17 @@ module Google # @param [String] instance_group_manager # The name of the managed instance group. # @param [Google::Apis::ComputeV1::InstanceGroupManagersRecreateInstancesRequest] instance_group_managers_recreate_instances_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -5099,7 +5709,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 recreate_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_recreate_instances_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def recreate_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_recreate_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options) command.request_representation = Google::Apis::ComputeV1::InstanceGroupManagersRecreateInstancesRequest::Representation command.request_object = instance_group_managers_recreate_instances_request_object @@ -5108,6 +5718,7 @@ module Google command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['requestId'] = request_id unless request_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? @@ -5133,6 +5744,17 @@ module Google # The number of running instances that the managed instance group should # maintain at any given time. The group automatically adds or removes instances # to maintain the number of instances specified by this parameter. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -5154,13 +5776,14 @@ 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 resize_instance_group_manager(project, zone, instance_group_manager, size, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def resize_instance_group_manager(project, zone, instance_group_manager, size, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['requestId'] = request_id unless request_id.nil? command.query['size'] = size unless size.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -5178,6 +5801,17 @@ module Google # @param [String] instance_group_manager # The name of the managed instance group. # @param [Google::Apis::ComputeV1::InstanceGroupManagersSetInstanceTemplateRequest] instance_group_managers_set_instance_template_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -5199,7 +5833,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 set_instance_group_manager_instance_template(project, zone, instance_group_manager, instance_group_managers_set_instance_template_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_instance_group_manager_instance_template(project, zone, instance_group_manager, instance_group_managers_set_instance_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options) command.request_representation = Google::Apis::ComputeV1::InstanceGroupManagersSetInstanceTemplateRequest::Representation command.request_object = instance_group_managers_set_instance_template_request_object @@ -5208,6 +5842,7 @@ module Google command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['requestId'] = request_id unless request_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? @@ -5227,6 +5862,17 @@ module Google # @param [String] instance_group_manager # The name of the managed instance group. # @param [Google::Apis::ComputeV1::InstanceGroupManagersSetTargetPoolsRequest] instance_group_managers_set_target_pools_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -5248,7 +5894,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 set_instance_group_manager_target_pools(project, zone, instance_group_manager, instance_group_managers_set_target_pools_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_instance_group_manager_target_pools(project, zone, instance_group_manager, instance_group_managers_set_target_pools_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options) command.request_representation = Google::Apis::ComputeV1::InstanceGroupManagersSetTargetPoolsRequest::Representation command.request_object = instance_group_managers_set_target_pools_request_object @@ -5257,6 +5903,7 @@ module Google command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['requestId'] = request_id unless request_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? @@ -5273,6 +5920,17 @@ module Google # @param [String] instance_group # The name of the instance group where you are adding instances. # @param [Google::Apis::ComputeV1::InstanceGroupsAddInstancesRequest] instance_groups_add_instances_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -5294,7 +5952,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 add_instance_group_instances(project, zone, instance_group, instance_groups_add_instances_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def add_instance_group_instances(project, zone, instance_group, instance_groups_add_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances', options) command.request_representation = Google::Apis::ComputeV1::InstanceGroupsAddInstancesRequest::Representation command.request_object = instance_groups_add_instances_request_object @@ -5303,6 +5961,7 @@ module Google command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? + command.query['requestId'] = request_id unless request_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? @@ -5394,6 +6053,17 @@ module Google # The name of the zone where the instance group is located. # @param [String] instance_group # The name of the instance group to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -5415,13 +6085,14 @@ 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 delete_instance_group(project, zone, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_instance_group(project, zone, instance_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/zones/{zone}/instanceGroups/{instanceGroup}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? + command.query['requestId'] = request_id unless request_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? @@ -5477,6 +6148,17 @@ module Google # @param [String] zone # The name of the zone where you want to create the instance group. # @param [Google::Apis::ComputeV1::InstanceGroup] instance_group_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -5498,7 +6180,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 insert_instance_group(project, zone, instance_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_instance_group(project, zone, instance_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups', options) command.request_representation = Google::Apis::ComputeV1::InstanceGroup::Representation command.request_object = instance_group_object @@ -5506,6 +6188,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? + command.query['requestId'] = request_id unless request_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? @@ -5690,6 +6373,17 @@ module Google # @param [String] instance_group # The name of the instance group where the specified instances will be removed. # @param [Google::Apis::ComputeV1::InstanceGroupsRemoveInstancesRequest] instance_groups_remove_instances_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -5711,7 +6405,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 remove_instance_group_instances(project, zone, instance_group, instance_groups_remove_instances_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def remove_instance_group_instances(project, zone, instance_group, instance_groups_remove_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances', options) command.request_representation = Google::Apis::ComputeV1::InstanceGroupsRemoveInstancesRequest::Representation command.request_object = instance_groups_remove_instances_request_object @@ -5720,6 +6414,7 @@ module Google command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? + command.query['requestId'] = request_id unless request_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? @@ -5734,6 +6429,17 @@ module Google # @param [String] instance_group # The name of the instance group where the named ports are updated. # @param [Google::Apis::ComputeV1::InstanceGroupsSetNamedPortsRequest] instance_groups_set_named_ports_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -5755,7 +6461,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 set_instance_group_named_ports(project, zone, instance_group, instance_groups_set_named_ports_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_instance_group_named_ports(project, zone, instance_group, instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts', options) command.request_representation = Google::Apis::ComputeV1::InstanceGroupsSetNamedPortsRequest::Representation command.request_object = instance_groups_set_named_ports_request_object @@ -5764,6 +6470,7 @@ module Google command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? + command.query['requestId'] = request_id unless request_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? @@ -5778,6 +6485,17 @@ module Google # Project ID for this request. # @param [String] instance_template # The name of the instance template to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -5799,12 +6517,13 @@ 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 delete_instance_template(project, instance_template, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_instance_template(project, instance_template, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/instanceTemplates/{instanceTemplate}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['instanceTemplate'] = instance_template unless instance_template.nil? + command.query['requestId'] = request_id unless request_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? @@ -5857,6 +6576,17 @@ module Google # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::InstanceTemplate] instance_template_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -5878,13 +6608,14 @@ 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 insert_instance_template(project, instance_template_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_instance_template(project, instance_template_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/instanceTemplates', options) command.request_representation = Google::Apis::ComputeV1::InstanceTemplate::Representation command.request_object = instance_template_object command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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? @@ -5978,6 +6709,17 @@ module Google # @param [String] network_interface # The name of the network interface to add to this instance. # @param [Google::Apis::ComputeV1::AccessConfig] access_config_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -5999,7 +6741,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 add_instance_access_config(project, zone, instance, network_interface, access_config_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def add_instance_access_config(project, zone, instance, network_interface, access_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/addAccessConfig', options) command.request_representation = Google::Apis::ComputeV1::AccessConfig::Representation command.request_object = access_config_object @@ -6009,6 +6751,7 @@ module Google command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['networkInterface'] = network_interface unless network_interface.nil? + command.query['requestId'] = request_id unless request_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? @@ -6102,6 +6845,17 @@ module Google # @param [String] instance # The instance name for this request. # @param [Google::Apis::ComputeV1::AttachedDisk] attached_disk_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -6123,7 +6877,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 attach_disk(project, zone, instance, attached_disk_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def attach_disk(project, zone, instance, attached_disk_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/attachDisk', options) command.request_representation = Google::Apis::ComputeV1::AttachedDisk::Representation command.request_object = attached_disk_object @@ -6132,6 +6886,7 @@ module Google command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? + command.query['requestId'] = request_id unless request_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? @@ -6146,6 +6901,17 @@ module Google # The name of the zone for this request. # @param [String] instance # Name of the instance resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -6167,13 +6933,14 @@ 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 delete_instance(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/zones/{zone}/instances/{instance}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? + command.query['requestId'] = request_id unless request_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? @@ -6191,6 +6958,17 @@ module Google # The name of the access config to delete. # @param [String] network_interface # The name of the network interface. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -6212,7 +6990,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 delete_instance_access_config(project, zone, instance, access_config, network_interface, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_instance_access_config(project, zone, instance, access_config, network_interface, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/deleteAccessConfig', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation @@ -6221,6 +6999,7 @@ module Google command.params['instance'] = instance unless instance.nil? command.query['accessConfig'] = access_config unless access_config.nil? command.query['networkInterface'] = network_interface unless network_interface.nil? + command.query['requestId'] = request_id unless request_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? @@ -6236,6 +7015,17 @@ module Google # Instance name. # @param [String] device_name # Disk device name to detach. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -6257,7 +7047,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 detach_disk(project, zone, instance, device_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def detach_disk(project, zone, instance, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/detachDisk', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation @@ -6265,6 +7055,7 @@ module Google command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['deviceName'] = device_name unless device_name.nil? + command.query['requestId'] = request_id unless request_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? @@ -6370,6 +7161,17 @@ module Google # @param [String] zone # The name of the zone for this request. # @param [Google::Apis::ComputeV1::Instance] instance_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -6391,7 +7193,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 insert_instance(project, zone, instance_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_instance(project, zone, instance_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances', options) command.request_representation = Google::Apis::ComputeV1::Instance::Representation command.request_object = instance_object @@ -6399,6 +7201,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? + command.query['requestId'] = request_id unless request_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? @@ -6492,6 +7295,17 @@ module Google # The name of the zone for this request. # @param [String] instance # Name of the instance scoping this request. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -6513,13 +7327,14 @@ 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 reset_instance(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def reset_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/reset', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? + command.query['requestId'] = request_id unless request_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? @@ -6537,6 +7352,17 @@ module Google # Whether to auto-delete the disk when the instance is deleted. # @param [String] device_name # The device name of the disk to modify. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -6558,7 +7384,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 set_disk_auto_delete(project, zone, instance, auto_delete, device_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_disk_auto_delete(project, zone, instance, auto_delete, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation @@ -6567,6 +7393,7 @@ module Google command.params['instance'] = instance unless instance.nil? command.query['autoDelete'] = auto_delete unless auto_delete.nil? command.query['deviceName'] = device_name unless device_name.nil? + command.query['requestId'] = request_id unless request_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? @@ -6582,6 +7409,17 @@ module Google # @param [String] instance # Name of the instance scoping this request. # @param [Google::Apis::ComputeV1::InstancesSetLabelsRequest] instances_set_labels_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -6603,7 +7441,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 set_instance_labels(project, zone, instance, instances_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_instance_labels(project, zone, instance, instances_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setLabels', options) command.request_representation = Google::Apis::ComputeV1::InstancesSetLabelsRequest::Representation command.request_object = instances_set_labels_request_object @@ -6612,6 +7450,7 @@ module Google command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? + command.query['requestId'] = request_id unless request_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? @@ -6627,6 +7466,17 @@ module Google # @param [String] instance # Name of the instance scoping this request. # @param [Google::Apis::ComputeV1::InstancesSetMachineResourcesRequest] instances_set_machine_resources_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -6648,7 +7498,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 set_instance_machine_resources(project, zone, instance, instances_set_machine_resources_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_instance_machine_resources(project, zone, instance, instances_set_machine_resources_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMachineResources', options) command.request_representation = Google::Apis::ComputeV1::InstancesSetMachineResourcesRequest::Representation command.request_object = instances_set_machine_resources_request_object @@ -6657,6 +7507,7 @@ module Google command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? + command.query['requestId'] = request_id unless request_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? @@ -6672,6 +7523,17 @@ module Google # @param [String] instance # Name of the instance scoping this request. # @param [Google::Apis::ComputeV1::InstancesSetMachineTypeRequest] instances_set_machine_type_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -6693,7 +7555,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 set_instance_machine_type(project, zone, instance, instances_set_machine_type_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_instance_machine_type(project, zone, instance, instances_set_machine_type_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMachineType', options) command.request_representation = Google::Apis::ComputeV1::InstancesSetMachineTypeRequest::Representation command.request_object = instances_set_machine_type_request_object @@ -6702,6 +7564,7 @@ module Google command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? + command.query['requestId'] = request_id unless request_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? @@ -6716,6 +7579,17 @@ module Google # @param [String] instance # Name of the instance scoping this request. # @param [Google::Apis::ComputeV1::Metadata] metadata_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -6737,7 +7611,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 set_instance_metadata(project, zone, instance, metadata_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_instance_metadata(project, zone, instance, metadata_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMetadata', options) command.request_representation = Google::Apis::ComputeV1::Metadata::Representation command.request_object = metadata_object @@ -6746,6 +7620,7 @@ module Google command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? + command.query['requestId'] = request_id unless request_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? @@ -6760,6 +7635,17 @@ module Google # @param [String] instance # Instance name. # @param [Google::Apis::ComputeV1::Scheduling] scheduling_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -6781,7 +7667,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 set_instance_scheduling(project, zone, instance, scheduling_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_instance_scheduling(project, zone, instance, scheduling_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setScheduling', options) command.request_representation = Google::Apis::ComputeV1::Scheduling::Representation command.request_object = scheduling_object @@ -6790,6 +7676,7 @@ module Google command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? + command.query['requestId'] = request_id unless request_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? @@ -6805,6 +7692,17 @@ module Google # @param [String] instance # Name of the instance resource to start. # @param [Google::Apis::ComputeV1::InstancesSetServiceAccountRequest] instances_set_service_account_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -6826,7 +7724,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 set_instance_service_account(project, zone, instance, instances_set_service_account_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_instance_service_account(project, zone, instance, instances_set_service_account_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setServiceAccount', options) command.request_representation = Google::Apis::ComputeV1::InstancesSetServiceAccountRequest::Representation command.request_object = instances_set_service_account_request_object @@ -6835,6 +7733,7 @@ module Google command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? + command.query['requestId'] = request_id unless request_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? @@ -6849,6 +7748,17 @@ module Google # @param [String] instance # Name of the instance scoping this request. # @param [Google::Apis::ComputeV1::Tags] tags_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -6870,7 +7780,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 set_instance_tags(project, zone, instance, tags_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_instance_tags(project, zone, instance, tags_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setTags', options) command.request_representation = Google::Apis::ComputeV1::Tags::Representation command.request_object = tags_object @@ -6879,6 +7789,7 @@ module Google command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? + command.query['requestId'] = request_id unless request_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? @@ -6893,6 +7804,17 @@ module Google # The name of the zone for this request. # @param [String] instance # Name of the instance resource to start. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -6914,13 +7836,14 @@ 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 start_instance(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def start_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/start', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? + command.query['requestId'] = request_id unless request_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? @@ -6936,6 +7859,17 @@ module Google # @param [String] instance # Name of the instance resource to start. # @param [Google::Apis::ComputeV1::InstancesStartWithEncryptionKeyRequest] instances_start_with_encryption_key_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -6957,7 +7891,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 start_instance_with_encryption_key(project, zone, instance, instances_start_with_encryption_key_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def start_instance_with_encryption_key(project, zone, instance, instances_start_with_encryption_key_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey', options) command.request_representation = Google::Apis::ComputeV1::InstancesStartWithEncryptionKeyRequest::Representation command.request_object = instances_start_with_encryption_key_request_object @@ -6966,6 +7900,7 @@ module Google command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? + command.query['requestId'] = request_id unless request_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? @@ -6984,6 +7919,17 @@ module Google # The name of the zone for this request. # @param [String] instance # Name of the instance resource to stop. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -7005,13 +7951,14 @@ 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 stop_instance(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def stop_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/stop', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? + command.query['requestId'] = request_id unless request_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? @@ -7259,6 +8206,17 @@ module Google # @param [String] network # Name of the network resource to add peering to. # @param [Google::Apis::ComputeV1::NetworksAddPeeringRequest] networks_add_peering_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -7280,7 +8238,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 add_network_peering(project, network, networks_add_peering_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def add_network_peering(project, network, networks_add_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/networks/{network}/addPeering', options) command.request_representation = Google::Apis::ComputeV1::NetworksAddPeeringRequest::Representation command.request_object = networks_add_peering_request_object @@ -7288,6 +8246,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? + command.query['requestId'] = request_id unless request_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? @@ -7299,6 +8258,17 @@ module Google # Project ID for this request. # @param [String] network # Name of the network to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -7320,12 +8290,13 @@ 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 delete_network(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_network(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/networks/{network}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? + command.query['requestId'] = request_id unless request_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? @@ -7376,6 +8347,17 @@ module Google # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::Network] network_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -7397,13 +8379,14 @@ 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 insert_network(project, network_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_network(project, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/networks', options) command.request_representation = Google::Apis::ComputeV1::Network::Representation command.request_object = network_object command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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? @@ -7492,6 +8475,17 @@ module Google # @param [String] network # Name of the network resource to remove peering from. # @param [Google::Apis::ComputeV1::NetworksRemovePeeringRequest] networks_remove_peering_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -7513,7 +8507,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 remove_network_peering(project, network, networks_remove_peering_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def remove_network_peering(project, network, networks_remove_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/networks/{network}/removePeering', options) command.request_representation = Google::Apis::ComputeV1::NetworksRemovePeeringRequest::Representation command.request_object = networks_remove_peering_request_object @@ -7521,6 +8515,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? + command.query['requestId'] = request_id unless request_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? @@ -7532,6 +8527,17 @@ module Google # Project ID for this request. # @param [String] network # Name of the network to be updated. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -7553,21 +8559,33 @@ 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 switch_network_to_custom_mode(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def switch_network_to_custom_mode(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/networks/{network}/switchToCustomMode', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['network'] = network unless network.nil? + command.query['requestId'] = request_id unless request_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 - # Disable this project as an XPN host project. + # Disable this project as a shared VPC host project. # @param [String] project # Project ID for this request. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -7589,21 +8607,34 @@ 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 disable_project_xpn_host(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def disable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/disableXpnHost', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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 - # Disable an XPN resource associated with this host project. + # Disable a serivce resource (a.k.a service project) associated with this host + # project. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::ProjectsDisableXpnResourceRequest] projects_disable_xpn_resource_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -7625,22 +8656,34 @@ 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 disable_project_xpn_resource(project, projects_disable_xpn_resource_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def disable_project_xpn_resource(project, projects_disable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/disableXpnResource', options) command.request_representation = Google::Apis::ComputeV1::ProjectsDisableXpnResourceRequest::Representation command.request_object = projects_disable_xpn_resource_request_object command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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 - # Enable this project as an XPN host project. + # Enable this project as a shared VPC host project. # @param [String] project # Project ID for this request. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -7662,23 +8705,34 @@ 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 enable_project_xpn_host(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def enable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/enableXpnHost', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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 - # Enable XPN resource (a.k.a service project or service folder in the future) - # for a host project, so that subnetworks in the host project can be used by - # instances in the service project or folder. + # Enable service resource (a.k.a service project) for a host project, so that + # subnets in the host project can be used by instances in the service project. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::ProjectsEnableXpnResourceRequest] projects_enable_xpn_resource_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -7700,13 +8754,14 @@ 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 enable_project_xpn_resource(project, projects_enable_xpn_resource_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def enable_project_xpn_resource(project, projects_enable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/enableXpnResource', options) command.request_representation = Google::Apis::ComputeV1::ProjectsEnableXpnResourceRequest::Representation command.request_object = projects_enable_xpn_resource_request_object command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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? @@ -7748,8 +8803,8 @@ module Google execute_or_queue_command(command, &block) end - # Get the XPN host project that this project links to. May be empty if no link - # exists. + # Get the shared VPC host project that this project links to. May be empty if no + # link exists. # @param [String] project # Project ID for this request. # @param [String] fields @@ -7784,7 +8839,8 @@ module Google execute_or_queue_command(command, &block) end - # Get XPN resources associated with this host project. + # Get service resources (a.k.a service project) associated with this host + # project. # @param [String] project # Project ID for this request. # @param [String] filter @@ -7827,7 +8883,7 @@ module Google execute_or_queue_command(command, &block) end - # List all XPN host projects visible to the user in an organization. + # List all shared VPC host projects visible to the user in an organization. # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::ProjectsListXpnHostsRequest] projects_list_xpn_hosts_request_object @@ -7877,6 +8933,17 @@ module Google # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::MoveDiskRequest] move_disk_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -7898,13 +8965,14 @@ 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 move_disk(project, move_disk_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def move_disk(project, move_disk_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/moveDisk', options) command.request_representation = Google::Apis::ComputeV1::MoveDiskRequest::Representation command.request_object = move_disk_request_object command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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? @@ -7915,6 +8983,17 @@ module Google # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::MoveInstanceRequest] move_instance_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -7936,13 +9015,14 @@ 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 move_instance(project, move_instance_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def move_instance(project, move_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/moveInstance', options) command.request_representation = Google::Apis::ComputeV1::MoveInstanceRequest::Representation command.request_object = move_instance_request_object command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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? @@ -7954,6 +9034,17 @@ module Google # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::Metadata] metadata_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -7975,13 +9066,14 @@ 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 set_common_instance_metadata(project, metadata_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_common_instance_metadata(project, metadata_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/setCommonInstanceMetadata', options) command.request_representation = Google::Apis::ComputeV1::Metadata::Representation command.request_object = metadata_object command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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? @@ -7994,6 +9086,17 @@ module Google # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::UsageExportLocation] usage_export_location_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -8015,13 +9118,14 @@ 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 set_usage_export_bucket(project, usage_export_location_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_usage_export_bucket(project, usage_export_location_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/setUsageExportBucket', options) command.request_representation = Google::Apis::ComputeV1::UsageExportLocation::Representation command.request_object = usage_export_location_object command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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? @@ -8035,6 +9139,17 @@ module Google # Name of the region scoping this request. # @param [String] autoscaler # Name of the autoscaler to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -8056,13 +9171,14 @@ 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 delete_region_autoscaler(project, region, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_region_autoscaler(project, region, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/autoscalers/{autoscaler}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['autoscaler'] = autoscaler unless autoscaler.nil? + command.query['requestId'] = request_id unless request_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? @@ -8117,6 +9233,17 @@ module Google # @param [String] region # Name of the region scoping this request. # @param [Google::Apis::ComputeV1::Autoscaler] autoscaler_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -8138,7 +9265,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 insert_region_autoscaler(project, region, autoscaler_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_region_autoscaler(project, region, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/autoscalers', options) command.request_representation = Google::Apis::ComputeV1::Autoscaler::Representation command.request_object = autoscaler_object @@ -8146,6 +9273,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? + command.query['requestId'] = request_id unless request_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? @@ -8241,6 +9369,17 @@ module Google # @param [Google::Apis::ComputeV1::Autoscaler] autoscaler_object # @param [String] autoscaler # Name of the autoscaler to patch. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -8262,7 +9401,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 patch_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def patch_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/regions/{region}/autoscalers', options) command.request_representation = Google::Apis::ComputeV1::Autoscaler::Representation command.request_object = autoscaler_object @@ -8271,6 +9410,7 @@ module Google command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['autoscaler'] = autoscaler unless autoscaler.nil? + command.query['requestId'] = request_id unless request_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? @@ -8286,6 +9426,17 @@ module Google # @param [Google::Apis::ComputeV1::Autoscaler] autoscaler_object # @param [String] autoscaler # Name of the autoscaler to update. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -8307,7 +9458,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 update_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/regions/{region}/autoscalers', options) command.request_representation = Google::Apis::ComputeV1::Autoscaler::Representation command.request_object = autoscaler_object @@ -8316,6 +9467,7 @@ module Google command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.query['autoscaler'] = autoscaler unless autoscaler.nil? + command.query['requestId'] = request_id unless request_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? @@ -8329,6 +9481,17 @@ module Google # Name of the region scoping this request. # @param [String] backend_service # Name of the BackendService resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -8350,13 +9513,14 @@ 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 delete_region_backend_service(project, region, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_region_backend_service(project, region, backend_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/backendServices/{backendService}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['backendService'] = backend_service unless backend_service.nil? + command.query['requestId'] = request_id unless request_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? @@ -8456,6 +9620,17 @@ module Google # @param [String] region # Name of the region scoping this request. # @param [Google::Apis::ComputeV1::BackendService] backend_service_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -8477,7 +9652,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 insert_region_backend_service(project, region, backend_service_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_region_backend_service(project, region, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/backendServices', options) command.request_representation = Google::Apis::ComputeV1::BackendService::Representation command.request_object = backend_service_object @@ -8485,6 +9660,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? + command.query['requestId'] = request_id unless request_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? @@ -8583,6 +9759,17 @@ module Google # @param [String] backend_service # Name of the BackendService resource to patch. # @param [Google::Apis::ComputeV1::BackendService] backend_service_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -8604,7 +9791,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 patch_region_backend_service(project, region, backend_service, backend_service_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def patch_region_backend_service(project, region, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/regions/{region}/backendServices/{backendService}', options) command.request_representation = Google::Apis::ComputeV1::BackendService::Representation command.request_object = backend_service_object @@ -8613,6 +9800,7 @@ module Google command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['backendService'] = backend_service unless backend_service.nil? + command.query['requestId'] = request_id unless request_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? @@ -8630,6 +9818,17 @@ module Google # @param [String] backend_service # Name of the BackendService resource to update. # @param [Google::Apis::ComputeV1::BackendService] backend_service_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -8651,7 +9850,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 update_region_backend_service(project, region, backend_service, backend_service_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_region_backend_service(project, region, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/regions/{region}/backendServices/{backendService}', options) command.request_representation = Google::Apis::ComputeV1::BackendService::Representation command.request_object = backend_service_object @@ -8660,6 +9859,7 @@ module Google command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['backendService'] = backend_service unless backend_service.nil? + command.query['requestId'] = request_id unless request_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? @@ -8791,6 +9991,17 @@ module Google # @param [String] region # Name of the region for this request. # @param [Google::Apis::ComputeV1::Commitment] commitment_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -8812,7 +10023,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 insert_region_commitment(project, region, commitment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_region_commitment(project, region, commitment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/commitments', options) command.request_representation = Google::Apis::ComputeV1::Commitment::Representation command.request_object = commitment_object @@ -8820,6 +10031,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? + command.query['requestId'] = request_id unless request_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? @@ -8924,6 +10136,17 @@ module Google # @param [String] instance_group_manager # Name of the managed instance group. # @param [Google::Apis::ComputeV1::RegionInstanceGroupManagersAbandonInstancesRequest] region_instance_group_managers_abandon_instances_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -8945,7 +10168,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 abandon_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_abandon_instances_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def abandon_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_abandon_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options) command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersAbandonInstancesRequest::Representation command.request_object = region_instance_group_managers_abandon_instances_request_object @@ -8954,6 +10177,7 @@ module Google command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['requestId'] = request_id unless request_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? @@ -8968,6 +10192,17 @@ module Google # Name of the region scoping this request. # @param [String] instance_group_manager # Name of the managed instance group to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -8989,13 +10224,14 @@ 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 delete_region_instance_group_manager(project, region, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_region_instance_group_manager(project, region, instance_group_manager, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['requestId'] = request_id unless request_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? @@ -9020,6 +10256,17 @@ module Google # @param [String] instance_group_manager # Name of the managed instance group. # @param [Google::Apis::ComputeV1::RegionInstanceGroupManagersDeleteInstancesRequest] region_instance_group_managers_delete_instances_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -9041,7 +10288,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 delete_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_delete_instances_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_delete_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options) command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersDeleteInstancesRequest::Representation command.request_object = region_instance_group_managers_delete_instances_request_object @@ -9050,6 +10297,7 @@ module Google command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['requestId'] = request_id unless request_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? @@ -9109,6 +10357,17 @@ module Google # @param [String] region # Name of the region scoping this request. # @param [Google::Apis::ComputeV1::InstanceGroupManager] instance_group_manager_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -9130,7 +10389,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 insert_region_instance_group_manager(project, region, instance_group_manager_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_region_instance_group_manager(project, region, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers', options) command.request_representation = Google::Apis::ComputeV1::InstanceGroupManager::Representation command.request_object = instance_group_manager_object @@ -9138,6 +10397,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? + command.query['requestId'] = request_id unless request_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? @@ -9292,6 +10552,17 @@ module Google # @param [String] instance_group_manager # Name of the managed instance group. # @param [Google::Apis::ComputeV1::RegionInstanceGroupManagersRecreateRequest] region_instance_group_managers_recreate_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -9313,7 +10584,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 recreate_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_recreate_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def recreate_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_recreate_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options) command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersRecreateRequest::Representation command.request_object = region_instance_group_managers_recreate_request_object @@ -9322,6 +10593,7 @@ module Google command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['requestId'] = request_id unless request_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? @@ -9346,6 +10618,17 @@ module Google # Name of the managed instance group. # @param [Fixnum] size # Number of instances that should exist in this instance group manager. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -9367,13 +10650,14 @@ 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 resize_region_instance_group_manager(project, region, instance_group_manager, size, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def resize_region_instance_group_manager(project, region, instance_group_manager, size, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['requestId'] = request_id unless request_id.nil? command.query['size'] = size unless size.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -9390,6 +10674,17 @@ module Google # @param [String] instance_group_manager # The name of the managed instance group. # @param [Google::Apis::ComputeV1::RegionInstanceGroupManagersSetTemplateRequest] region_instance_group_managers_set_template_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -9411,7 +10706,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 set_region_instance_group_manager_instance_template(project, region, instance_group_manager, region_instance_group_managers_set_template_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_region_instance_group_manager_instance_template(project, region, instance_group_manager, region_instance_group_managers_set_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options) command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersSetTemplateRequest::Representation command.request_object = region_instance_group_managers_set_template_request_object @@ -9420,6 +10715,7 @@ module Google command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['requestId'] = request_id unless request_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? @@ -9435,6 +10731,17 @@ module Google # @param [String] instance_group_manager # Name of the managed instance group. # @param [Google::Apis::ComputeV1::RegionInstanceGroupManagersSetTargetPoolsRequest] region_instance_group_managers_set_target_pools_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -9456,7 +10763,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 set_region_instance_group_manager_target_pools(project, region, instance_group_manager, region_instance_group_managers_set_target_pools_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_region_instance_group_manager_target_pools(project, region, instance_group_manager, region_instance_group_managers_set_target_pools_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options) command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersSetTargetPoolsRequest::Representation command.request_object = region_instance_group_managers_set_target_pools_request_object @@ -9465,6 +10772,7 @@ module Google command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['requestId'] = request_id unless request_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? @@ -9687,6 +10995,17 @@ module Google # @param [String] instance_group # The name of the regional instance group where the named ports are updated. # @param [Google::Apis::ComputeV1::RegionInstanceGroupsSetNamedPortsRequest] region_instance_groups_set_named_ports_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -9708,7 +11027,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 set_region_instance_group_named_ports(project, region, instance_group, region_instance_groups_set_named_ports_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_region_instance_group_named_ports(project, region, instance_group, region_instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts', options) command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupsSetNamedPortsRequest::Representation command.request_object = region_instance_groups_set_named_ports_request_object @@ -9717,6 +11036,7 @@ module Google command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroup'] = instance_group unless instance_group.nil? + command.query['requestId'] = request_id unless request_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? @@ -10080,6 +11400,17 @@ module Google # Name of the region for this request. # @param [String] router # Name of the Router resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -10101,13 +11432,14 @@ 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 delete_router(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_router(project, region, router, request_id: nil, 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::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['router'] = router unless router.nil? + command.query['requestId'] = request_id unless request_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? @@ -10204,6 +11536,17 @@ module Google # @param [String] region # Name of the region for this request. # @param [Google::Apis::ComputeV1::Router] router_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -10225,7 +11568,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 insert_router(project, region, router_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_router(project, region, router_object = nil, request_id: 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::ComputeV1::Router::Representation command.request_object = router_object @@ -10233,6 +11576,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? + command.query['requestId'] = request_id unless request_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? @@ -10319,7 +11663,8 @@ module Google end # Patches the specified Router resource with the data included in the request. - # This method supports patch semantics. + # This method supports PATCH semantics and uses JSON merge patch format and + # processing rules. # @param [String] project # Project ID for this request. # @param [String] region @@ -10327,6 +11672,17 @@ module Google # @param [String] router # Name of the Router resource to patch. # @param [Google::Apis::ComputeV1::Router] router_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -10348,7 +11704,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 patch_router(project, region, router, router_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def patch_router(project, region, router, router_object = nil, request_id: 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::ComputeV1::Router::Representation command.request_object = router_object @@ -10357,6 +11713,7 @@ module Google command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['router'] = router unless router.nil? + command.query['requestId'] = request_id unless request_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? @@ -10416,6 +11773,17 @@ module Google # @param [String] router # Name of the Router resource to update. # @param [Google::Apis::ComputeV1::Router] router_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -10437,7 +11805,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 update_router(project, region, router, router_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_router(project, region, router, router_object = nil, request_id: 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::ComputeV1::Router::Representation command.request_object = router_object @@ -10446,6 +11814,7 @@ module Google command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['router'] = router unless router.nil? + command.query['requestId'] = request_id unless request_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? @@ -10457,6 +11826,17 @@ module Google # Project ID for this request. # @param [String] route # Name of the Route resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -10478,12 +11858,13 @@ 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 delete_route(project, route, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_route(project, route, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/routes/{route}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['route'] = route unless route.nil? + command.query['requestId'] = request_id unless request_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? @@ -10534,6 +11915,17 @@ module Google # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::Route] route_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -10555,13 +11947,14 @@ 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 insert_route(project, route_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_route(project, route_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/routes', options) command.request_representation = Google::Apis::ComputeV1::Route::Representation command.request_object = route_object command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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? @@ -10653,6 +12046,17 @@ module Google # Project ID for this request. # @param [String] snapshot # Name of the Snapshot resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -10674,12 +12078,13 @@ 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 delete_snapshot(project, snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_snapshot(project, snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/snapshots/{snapshot}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['snapshot'] = snapshot unless snapshot.nil? + command.query['requestId'] = request_id unless request_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? @@ -10849,6 +12254,17 @@ module Google # Project ID for this request. # @param [String] ssl_certificate # Name of the SslCertificate resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -10870,12 +12286,13 @@ 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 delete_ssl_certificate(project, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_ssl_certificate(project, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/sslCertificates/{sslCertificate}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['sslCertificate'] = ssl_certificate unless ssl_certificate.nil? + command.query['requestId'] = request_id unless request_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? @@ -10926,6 +12343,17 @@ module Google # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::SslCertificate] ssl_certificate_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -10947,13 +12375,14 @@ 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 insert_ssl_certificate(project, ssl_certificate_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_ssl_certificate(project, ssl_certificate_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/sslCertificates', options) command.request_representation = Google::Apis::ComputeV1::SslCertificate::Representation command.request_object = ssl_certificate_object command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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? @@ -11120,6 +12549,17 @@ module Google # Name of the region scoping this request. # @param [String] subnetwork # Name of the Subnetwork resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -11141,13 +12581,14 @@ 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 delete_subnetwork(project, region, subnetwork, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_subnetwork(project, region, subnetwork, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/subnetworks/{subnetwork}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['subnetwork'] = subnetwork unless subnetwork.nil? + command.query['requestId'] = request_id unless request_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? @@ -11162,6 +12603,17 @@ module Google # @param [String] subnetwork # Name of the Subnetwork resource to update. # @param [Google::Apis::ComputeV1::SubnetworksExpandIpCidrRangeRequest] subnetworks_expand_ip_cidr_range_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -11183,7 +12635,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 expand_subnetwork_ip_cidr_range(project, region, subnetwork, subnetworks_expand_ip_cidr_range_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def expand_subnetwork_ip_cidr_range(project, region, subnetwork, subnetworks_expand_ip_cidr_range_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange', options) command.request_representation = Google::Apis::ComputeV1::SubnetworksExpandIpCidrRangeRequest::Representation command.request_object = subnetworks_expand_ip_cidr_range_request_object @@ -11192,6 +12644,7 @@ module Google command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['subnetwork'] = subnetwork unless subnetwork.nil? + command.query['requestId'] = request_id unless request_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? @@ -11247,6 +12700,17 @@ module Google # @param [String] region # Name of the region scoping this request. # @param [Google::Apis::ComputeV1::Subnetwork] subnetwork_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -11268,7 +12732,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 insert_subnetwork(project, region, subnetwork_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_subnetwork(project, region, subnetwork_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/subnetworks', options) command.request_representation = Google::Apis::ComputeV1::Subnetwork::Representation command.request_object = subnetwork_object @@ -11276,6 +12740,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? + command.query['requestId'] = request_id unless request_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? @@ -11370,6 +12835,17 @@ module Google # @param [String] subnetwork # Name of the Subnetwork resource. # @param [Google::Apis::ComputeV1::SubnetworksSetPrivateIpGoogleAccessRequest] subnetworks_set_private_ip_google_access_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -11391,7 +12867,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 set_subnetwork_private_ip_google_access(project, region, subnetwork, subnetworks_set_private_ip_google_access_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_subnetwork_private_ip_google_access(project, region, subnetwork, subnetworks_set_private_ip_google_access_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess', options) command.request_representation = Google::Apis::ComputeV1::SubnetworksSetPrivateIpGoogleAccessRequest::Representation command.request_object = subnetworks_set_private_ip_google_access_request_object @@ -11400,6 +12876,7 @@ module Google command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['subnetwork'] = subnetwork unless subnetwork.nil? + command.query['requestId'] = request_id unless request_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? @@ -11411,6 +12888,17 @@ module Google # Project ID for this request. # @param [String] target_http_proxy # Name of the TargetHttpProxy resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -11432,12 +12920,13 @@ 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 delete_target_http_proxy(project, target_http_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_target_http_proxy(project, target_http_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/targetHttpProxies/{targetHttpProxy}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil? + command.query['requestId'] = request_id unless request_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? @@ -11488,6 +12977,17 @@ module Google # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::TargetHttpProxy] target_http_proxy_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -11509,13 +13009,14 @@ 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 insert_target_http_proxy(project, target_http_proxy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_target_http_proxy(project, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetHttpProxies', options) command.request_representation = Google::Apis::ComputeV1::TargetHttpProxy::Representation command.request_object = target_http_proxy_object command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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? @@ -11605,6 +13106,17 @@ module Google # @param [String] target_http_proxy # Name of the TargetHttpProxy to set a URL map for. # @param [Google::Apis::ComputeV1::UrlMapReference] url_map_reference_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -11626,7 +13138,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 set_target_http_proxy_url_map(project, target_http_proxy, url_map_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_target_http_proxy_url_map(project, target_http_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap', options) command.request_representation = Google::Apis::ComputeV1::UrlMapReference::Representation command.request_object = url_map_reference_object @@ -11634,6 +13146,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil? + command.query['requestId'] = request_id unless request_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? @@ -11645,6 +13158,17 @@ module Google # Project ID for this request. # @param [String] target_https_proxy # Name of the TargetHttpsProxy resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -11666,12 +13190,13 @@ 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 delete_target_https_proxy(project, target_https_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_target_https_proxy(project, target_https_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/targetHttpsProxies/{targetHttpsProxy}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? + command.query['requestId'] = request_id unless request_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? @@ -11722,6 +13247,17 @@ module Google # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::TargetHttpsProxy] target_https_proxy_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -11743,13 +13279,14 @@ 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 insert_target_https_proxy(project, target_https_proxy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_target_https_proxy(project, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetHttpsProxies', options) command.request_representation = Google::Apis::ComputeV1::TargetHttpsProxy::Representation command.request_object = target_https_proxy_object command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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? @@ -11839,6 +13376,17 @@ module Google # @param [String] target_https_proxy # Name of the TargetHttpsProxy resource to set an SslCertificates resource for. # @param [Google::Apis::ComputeV1::TargetHttpsProxiesSetSslCertificatesRequest] target_https_proxies_set_ssl_certificates_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -11860,7 +13408,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 set_target_https_proxy_ssl_certificates(project, target_https_proxy, target_https_proxies_set_ssl_certificates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_target_https_proxy_ssl_certificates(project, target_https_proxy, target_https_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', options) command.request_representation = Google::Apis::ComputeV1::TargetHttpsProxiesSetSslCertificatesRequest::Representation command.request_object = target_https_proxies_set_ssl_certificates_request_object @@ -11868,6 +13416,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? + command.query['requestId'] = request_id unless request_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? @@ -11880,6 +13429,17 @@ module Google # @param [String] target_https_proxy # Name of the TargetHttpsProxy resource whose URL map is to be set. # @param [Google::Apis::ComputeV1::UrlMapReference] url_map_reference_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -11901,7 +13461,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 set_target_https_proxy_url_map(project, target_https_proxy, url_map_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_target_https_proxy_url_map(project, target_https_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', options) command.request_representation = Google::Apis::ComputeV1::UrlMapReference::Representation command.request_object = url_map_reference_object @@ -11909,6 +13469,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? + command.query['requestId'] = request_id unless request_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? @@ -11998,6 +13559,17 @@ module Google # Name of the zone scoping this request. # @param [String] target_instance # Name of the TargetInstance resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -12019,13 +13591,14 @@ 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 delete_target_instance(project, zone, target_instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_target_instance(project, zone, target_instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/zones/{zone}/targetInstances/{targetInstance}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['targetInstance'] = target_instance unless target_instance.nil? + command.query['requestId'] = request_id unless request_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? @@ -12081,6 +13654,17 @@ module Google # @param [String] zone # Name of the zone scoping this request. # @param [Google::Apis::ComputeV1::TargetInstance] target_instance_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -12102,7 +13686,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 insert_target_instance(project, zone, target_instance_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_target_instance(project, zone, target_instance_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/targetInstances', options) command.request_representation = Google::Apis::ComputeV1::TargetInstance::Representation command.request_object = target_instance_object @@ -12110,6 +13694,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? + command.query['requestId'] = request_id unless request_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? @@ -12204,6 +13789,17 @@ module Google # @param [String] target_pool # Name of the target pool to add a health check to. # @param [Google::Apis::ComputeV1::AddTargetPoolsHealthCheckRequest] add_target_pools_health_check_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -12225,7 +13821,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 add_target_pool_health_check(project, region, target_pool, add_target_pools_health_check_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def add_target_pool_health_check(project, region, target_pool, add_target_pools_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck', options) command.request_representation = Google::Apis::ComputeV1::AddTargetPoolsHealthCheckRequest::Representation command.request_object = add_target_pools_health_check_request_object @@ -12234,6 +13830,7 @@ module Google command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? + command.query['requestId'] = request_id unless request_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? @@ -12248,6 +13845,17 @@ module Google # @param [String] target_pool # Name of the TargetPool resource to add instances to. # @param [Google::Apis::ComputeV1::AddTargetPoolsInstanceRequest] add_target_pools_instance_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -12269,7 +13877,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 add_target_pool_instance(project, region, target_pool, add_target_pools_instance_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def add_target_pool_instance(project, region, target_pool, add_target_pools_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/addInstance', options) command.request_representation = Google::Apis::ComputeV1::AddTargetPoolsInstanceRequest::Representation command.request_object = add_target_pools_instance_request_object @@ -12278,6 +13886,7 @@ module Google command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? + command.query['requestId'] = request_id unless request_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? @@ -12367,6 +13976,17 @@ module Google # Name of the region scoping this request. # @param [String] target_pool # Name of the TargetPool resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -12388,13 +14008,14 @@ 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 delete_target_pool(project, region, target_pool, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_target_pool(project, region, target_pool, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/targetPools/{targetPool}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? + command.query['requestId'] = request_id unless request_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? @@ -12495,6 +14116,17 @@ module Google # @param [String] region # Name of the region scoping this request. # @param [Google::Apis::ComputeV1::TargetPool] target_pool_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -12516,7 +14148,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 insert_target_pool(project, region, target_pool_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_target_pool(project, region, target_pool_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/targetPools', options) command.request_representation = Google::Apis::ComputeV1::TargetPool::Representation command.request_object = target_pool_object @@ -12524,6 +14156,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? + command.query['requestId'] = request_id unless request_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? @@ -12617,6 +14250,17 @@ module Google # @param [String] target_pool # Name of the target pool to remove health checks from. # @param [Google::Apis::ComputeV1::RemoveTargetPoolsHealthCheckRequest] remove_target_pools_health_check_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -12638,7 +14282,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 remove_target_pool_health_check(project, region, target_pool, remove_target_pools_health_check_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def remove_target_pool_health_check(project, region, target_pool, remove_target_pools_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck', options) command.request_representation = Google::Apis::ComputeV1::RemoveTargetPoolsHealthCheckRequest::Representation command.request_object = remove_target_pools_health_check_request_object @@ -12647,6 +14291,7 @@ module Google command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? + command.query['requestId'] = request_id unless request_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? @@ -12661,6 +14306,17 @@ module Google # @param [String] target_pool # Name of the TargetPool resource to remove instances from. # @param [Google::Apis::ComputeV1::RemoveTargetPoolsInstanceRequest] remove_target_pools_instance_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -12682,7 +14338,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 remove_target_pool_instance(project, region, target_pool, remove_target_pools_instance_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def remove_target_pool_instance(project, region, target_pool, remove_target_pools_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/removeInstance', options) command.request_representation = Google::Apis::ComputeV1::RemoveTargetPoolsInstanceRequest::Representation command.request_object = remove_target_pools_instance_request_object @@ -12691,6 +14347,7 @@ module Google command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? + command.query['requestId'] = request_id unless request_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? @@ -12707,6 +14364,17 @@ module Google # @param [Google::Apis::ComputeV1::TargetReference] target_reference_object # @param [Float] failover_ratio # New failoverRatio value for the target pool. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -12728,7 +14396,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 set_target_pool_backup(project, region, target_pool, target_reference_object = nil, failover_ratio: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_target_pool_backup(project, region, target_pool, target_reference_object = nil, failover_ratio: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/setBackup', options) command.request_representation = Google::Apis::ComputeV1::TargetReference::Representation command.request_object = target_reference_object @@ -12738,6 +14406,7 @@ module Google command.params['region'] = region unless region.nil? command.params['targetPool'] = target_pool unless target_pool.nil? command.query['failoverRatio'] = failover_ratio unless failover_ratio.nil? + command.query['requestId'] = request_id unless request_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? @@ -12749,6 +14418,17 @@ module Google # Project ID for this request. # @param [String] target_ssl_proxy # Name of the TargetSslProxy resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -12770,12 +14450,13 @@ 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 delete_target_ssl_proxy(project, target_ssl_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_target_ssl_proxy(project, target_ssl_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/targetSslProxies/{targetSslProxy}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? + command.query['requestId'] = request_id unless request_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? @@ -12826,6 +14507,17 @@ module Google # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::TargetSslProxy] target_ssl_proxy_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -12847,13 +14539,14 @@ 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 insert_target_ssl_proxy(project, target_ssl_proxy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_target_ssl_proxy(project, target_ssl_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetSslProxies', options) command.request_representation = Google::Apis::ComputeV1::TargetSslProxy::Representation command.request_object = target_ssl_proxy_object command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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? @@ -12943,6 +14636,17 @@ module Google # @param [String] target_ssl_proxy # Name of the TargetSslProxy resource whose BackendService resource is to be set. # @param [Google::Apis::ComputeV1::TargetSslProxiesSetBackendServiceRequest] target_ssl_proxies_set_backend_service_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -12964,7 +14668,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 set_target_ssl_proxy_backend_service(project, target_ssl_proxy, target_ssl_proxies_set_backend_service_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_target_ssl_proxy_backend_service(project, target_ssl_proxy, target_ssl_proxies_set_backend_service_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setBackendService', options) command.request_representation = Google::Apis::ComputeV1::TargetSslProxiesSetBackendServiceRequest::Representation command.request_object = target_ssl_proxies_set_backend_service_request_object @@ -12972,6 +14676,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? + command.query['requestId'] = request_id unless request_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? @@ -12984,6 +14689,17 @@ module Google # @param [String] target_ssl_proxy # Name of the TargetSslProxy resource whose ProxyHeader is to be set. # @param [Google::Apis::ComputeV1::TargetSslProxiesSetProxyHeaderRequest] target_ssl_proxies_set_proxy_header_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -13005,7 +14721,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 set_target_ssl_proxy_proxy_header(project, target_ssl_proxy, target_ssl_proxies_set_proxy_header_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_target_ssl_proxy_proxy_header(project, target_ssl_proxy, target_ssl_proxies_set_proxy_header_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader', options) command.request_representation = Google::Apis::ComputeV1::TargetSslProxiesSetProxyHeaderRequest::Representation command.request_object = target_ssl_proxies_set_proxy_header_request_object @@ -13013,6 +14729,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? + command.query['requestId'] = request_id unless request_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? @@ -13025,6 +14742,17 @@ module Google # @param [String] target_ssl_proxy # Name of the TargetSslProxy resource whose SslCertificate resource is to be set. # @param [Google::Apis::ComputeV1::TargetSslProxiesSetSslCertificatesRequest] target_ssl_proxies_set_ssl_certificates_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -13046,7 +14774,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 set_target_ssl_proxy_ssl_certificates(project, target_ssl_proxy, target_ssl_proxies_set_ssl_certificates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_target_ssl_proxy_ssl_certificates(project, target_ssl_proxy, target_ssl_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates', options) command.request_representation = Google::Apis::ComputeV1::TargetSslProxiesSetSslCertificatesRequest::Representation command.request_object = target_ssl_proxies_set_ssl_certificates_request_object @@ -13054,6 +14782,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? + command.query['requestId'] = request_id unless request_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? @@ -13065,6 +14794,17 @@ module Google # Project ID for this request. # @param [String] target_tcp_proxy # Name of the TargetTcpProxy resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -13086,12 +14826,13 @@ 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 delete_target_tcp_proxy(project, target_tcp_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_target_tcp_proxy(project, target_tcp_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/targetTcpProxies/{targetTcpProxy}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil? + command.query['requestId'] = request_id unless request_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? @@ -13142,6 +14883,17 @@ module Google # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::TargetTcpProxy] target_tcp_proxy_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -13163,13 +14915,14 @@ 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 insert_target_tcp_proxy(project, target_tcp_proxy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_target_tcp_proxy(project, target_tcp_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetTcpProxies', options) command.request_representation = Google::Apis::ComputeV1::TargetTcpProxy::Representation command.request_object = target_tcp_proxy_object command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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? @@ -13259,6 +15012,17 @@ module Google # @param [String] target_tcp_proxy # Name of the TargetTcpProxy resource whose BackendService resource is to be set. # @param [Google::Apis::ComputeV1::TargetTcpProxiesSetBackendServiceRequest] target_tcp_proxies_set_backend_service_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -13280,7 +15044,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 set_target_tcp_proxy_backend_service(project, target_tcp_proxy, target_tcp_proxies_set_backend_service_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_target_tcp_proxy_backend_service(project, target_tcp_proxy, target_tcp_proxies_set_backend_service_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService', options) command.request_representation = Google::Apis::ComputeV1::TargetTcpProxiesSetBackendServiceRequest::Representation command.request_object = target_tcp_proxies_set_backend_service_request_object @@ -13288,6 +15052,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil? + command.query['requestId'] = request_id unless request_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? @@ -13300,6 +15065,17 @@ module Google # @param [String] target_tcp_proxy # Name of the TargetTcpProxy resource whose ProxyHeader is to be set. # @param [Google::Apis::ComputeV1::TargetTcpProxiesSetProxyHeaderRequest] target_tcp_proxies_set_proxy_header_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -13321,7 +15097,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 set_target_tcp_proxy_proxy_header(project, target_tcp_proxy, target_tcp_proxies_set_proxy_header_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_target_tcp_proxy_proxy_header(project, target_tcp_proxy, target_tcp_proxies_set_proxy_header_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader', options) command.request_representation = Google::Apis::ComputeV1::TargetTcpProxiesSetProxyHeaderRequest::Representation command.request_object = target_tcp_proxies_set_proxy_header_request_object @@ -13329,6 +15105,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil? + command.query['requestId'] = request_id unless request_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? @@ -13418,6 +15195,17 @@ module Google # Name of the region for this request. # @param [String] target_vpn_gateway # Name of the target VPN gateway to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -13439,13 +15227,14 @@ 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 delete_target_vpn_gateway(project, region, target_vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_target_vpn_gateway(project, region, target_vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['targetVpnGateway'] = target_vpn_gateway unless target_vpn_gateway.nil? + command.query['requestId'] = request_id unless request_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? @@ -13501,6 +15290,17 @@ module Google # @param [String] region # Name of the region for this request. # @param [Google::Apis::ComputeV1::TargetVpnGateway] target_vpn_gateway_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -13522,7 +15322,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 insert_target_vpn_gateway(project, region, target_vpn_gateway_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_target_vpn_gateway(project, region, target_vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/targetVpnGateways', options) command.request_representation = Google::Apis::ComputeV1::TargetVpnGateway::Representation command.request_object = target_vpn_gateway_object @@ -13530,6 +15330,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? + command.query['requestId'] = request_id unless request_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? @@ -13621,6 +15422,17 @@ module Google # Project ID for this request. # @param [String] url_map # Name of the UrlMap resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -13642,12 +15454,13 @@ 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 delete_url_map(project, url_map, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_url_map(project, url_map, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/urlMaps/{urlMap}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['urlMap'] = url_map unless url_map.nil? + command.query['requestId'] = request_id unless request_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? @@ -13698,6 +15511,17 @@ module Google # @param [String] project # Project ID for this request. # @param [Google::Apis::ComputeV1::UrlMap] url_map_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -13719,13 +15543,14 @@ 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 insert_url_map(project, url_map_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_url_map(project, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/urlMaps', options) command.request_representation = Google::Apis::ComputeV1::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? + command.query['requestId'] = request_id unless request_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? @@ -13739,6 +15564,17 @@ module Google # @param [String] url_map # Name of the UrlMap scoping this request. # @param [Google::Apis::ComputeV1::CacheInvalidationRule] cache_invalidation_rule_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -13760,7 +15596,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 invalidate_url_map_cache(project, url_map, cache_invalidation_rule_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def invalidate_url_map_cache(project, url_map, cache_invalidation_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/urlMaps/{urlMap}/invalidateCache', options) command.request_representation = Google::Apis::ComputeV1::CacheInvalidationRule::Representation command.request_object = cache_invalidation_rule_object @@ -13768,6 +15604,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['urlMap'] = url_map unless url_map.nil? + command.query['requestId'] = request_id unless request_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? @@ -13858,6 +15695,17 @@ module Google # @param [String] url_map # Name of the UrlMap resource to patch. # @param [Google::Apis::ComputeV1::UrlMap] url_map_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -13879,7 +15727,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 patch_url_map(project, url_map, url_map_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def patch_url_map(project, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/global/urlMaps/{urlMap}', options) command.request_representation = Google::Apis::ComputeV1::UrlMap::Representation command.request_object = url_map_object @@ -13887,6 +15735,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['urlMap'] = url_map unless url_map.nil? + command.query['requestId'] = request_id unless request_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? @@ -13899,6 +15748,17 @@ module Google # @param [String] url_map # Name of the UrlMap resource to update. # @param [Google::Apis::ComputeV1::UrlMap] url_map_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -13920,7 +15780,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 update_url_map(project, url_map, url_map_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_url_map(project, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/global/urlMaps/{urlMap}', options) command.request_representation = Google::Apis::ComputeV1::UrlMap::Representation command.request_object = url_map_object @@ -13928,6 +15788,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['urlMap'] = url_map unless url_map.nil? + command.query['requestId'] = request_id unless request_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? @@ -14059,6 +15920,17 @@ module Google # Name of the region for this request. # @param [String] vpn_tunnel # Name of the VpnTunnel resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -14080,13 +15952,14 @@ 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 delete_vpn_tunnel(project, region, vpn_tunnel, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_vpn_tunnel(project, region, vpn_tunnel, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/regions/{region}/vpnTunnels/{vpnTunnel}', options) command.response_representation = Google::Apis::ComputeV1::Operation::Representation command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['vpnTunnel'] = vpn_tunnel unless vpn_tunnel.nil? + command.query['requestId'] = request_id unless request_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? @@ -14142,6 +16015,17 @@ module Google # @param [String] region # Name of the region for this request. # @param [Google::Apis::ComputeV1::VpnTunnel] vpn_tunnel_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -14163,7 +16047,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 insert_vpn_tunnel(project, region, vpn_tunnel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_vpn_tunnel(project, region, vpn_tunnel_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/vpnTunnels', options) command.request_representation = Google::Apis::ComputeV1::VpnTunnel::Representation command.request_object = vpn_tunnel_object @@ -14171,6 +16055,7 @@ module Google command.response_class = Google::Apis::ComputeV1::Operation command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? + command.query['requestId'] = request_id unless request_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? diff --git a/generated/google/apis/consumersurveys_v2.rb b/generated/google/apis/consumersurveys_v2.rb new file mode 100644 index 000000000..1f596d004 --- /dev/null +++ b/generated/google/apis/consumersurveys_v2.rb @@ -0,0 +1,40 @@ +# 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/consumersurveys_v2/service.rb' +require 'google/apis/consumersurveys_v2/classes.rb' +require 'google/apis/consumersurveys_v2/representations.rb' + +module Google + module Apis + # Consumer Surveys API + # + # Creates and conducts surveys, lists the surveys that an authenticated user + # owns, and retrieves survey results and information about specified surveys. + # + module ConsumersurveysV2 + VERSION = 'V2' + REVISION = '20170407' + + # View and edit your surveys and results + AUTH_CONSUMERSURVEYS = 'https://www.googleapis.com/auth/consumersurveys' + + # View the results for your surveys + AUTH_CONSUMERSURVEYS_READONLY = 'https://www.googleapis.com/auth/consumersurveys.readonly' + + # View your email address + AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' + end + end +end diff --git a/generated/google/apis/consumersurveys_v2/classes.rb b/generated/google/apis/consumersurveys_v2/classes.rb new file mode 100644 index 000000000..404d9e2c7 --- /dev/null +++ b/generated/google/apis/consumersurveys_v2/classes.rb @@ -0,0 +1,736 @@ +# 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 ConsumersurveysV2 + + # + class FieldMask + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `fields` + # @return [Array] + attr_accessor :fields + + # + # Corresponds to the JSON property `id` + # @return [Fixnum] + attr_accessor :id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fields = args[:fields] if args.key?(:fields) + @id = args[:id] if args.key?(:id) + end + end + + # + class MobileAppPanel + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `country` + # @return [String] + attr_accessor :country + + # + # Corresponds to the JSON property `isPublicPanel` + # @return [Boolean] + attr_accessor :is_public_panel + alias_method :is_public_panel?, :is_public_panel + + # + # Corresponds to the JSON property `language` + # @return [String] + attr_accessor :language + + # + # Corresponds to the JSON property `mobileAppPanelId` + # @return [String] + attr_accessor :mobile_app_panel_id + + # + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # + # Corresponds to the JSON property `owners` + # @return [Array] + attr_accessor :owners + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @country = args[:country] if args.key?(:country) + @is_public_panel = args[:is_public_panel] if args.key?(:is_public_panel) + @language = args[:language] if args.key?(:language) + @mobile_app_panel_id = args[:mobile_app_panel_id] if args.key?(:mobile_app_panel_id) + @name = args[:name] if args.key?(:name) + @owners = args[:owners] if args.key?(:owners) + end + end + + # + class MobileAppPanelsListResponse + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `pageInfo` + # @return [Google::Apis::ConsumersurveysV2::PageInfo] + attr_accessor :page_info + + # Unique request ID used for logging and debugging. Please include in any error + # reporting or troubleshooting requests. + # Corresponds to the JSON property `requestId` + # @return [String] + attr_accessor :request_id + + # An individual predefined panel of Opinion Rewards mobile users. + # Corresponds to the JSON property `resources` + # @return [Array] + attr_accessor :resources + + # + # Corresponds to the JSON property `tokenPagination` + # @return [Google::Apis::ConsumersurveysV2::TokenPagination] + attr_accessor :token_pagination + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @page_info = args[:page_info] if args.key?(:page_info) + @request_id = args[:request_id] if args.key?(:request_id) + @resources = args[:resources] if args.key?(:resources) + @token_pagination = args[:token_pagination] if args.key?(:token_pagination) + end + end + + # + class PageInfo + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `resultPerPage` + # @return [Fixnum] + attr_accessor :result_per_page + + # + # Corresponds to the JSON property `startIndex` + # @return [Fixnum] + attr_accessor :start_index + + # + # Corresponds to the JSON property `totalResults` + # @return [Fixnum] + attr_accessor :total_results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @result_per_page = args[:result_per_page] if args.key?(:result_per_page) + @start_index = args[:start_index] if args.key?(:start_index) + @total_results = args[:total_results] if args.key?(:total_results) + end + end + + # + class ResultsGetRequest + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `resultMask` + # @return [Google::Apis::ConsumersurveysV2::ResultsMask] + attr_accessor :result_mask + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @result_mask = args[:result_mask] if args.key?(:result_mask) + end + end + + # + class ResultsMask + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `fields` + # @return [Array] + attr_accessor :fields + + # + # Corresponds to the JSON property `projection` + # @return [String] + attr_accessor :projection + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fields = args[:fields] if args.key?(:fields) + @projection = args[:projection] if args.key?(:projection) + end + end + + # + class Survey + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `audience` + # @return [Google::Apis::ConsumersurveysV2::SurveyAudience] + attr_accessor :audience + + # + # Corresponds to the JSON property `cost` + # @return [Google::Apis::ConsumersurveysV2::SurveyCost] + attr_accessor :cost + + # + # Corresponds to the JSON property `customerData` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :customer_data + + # + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # + # Corresponds to the JSON property `owners` + # @return [Array] + attr_accessor :owners + + # + # Corresponds to the JSON property `questions` + # @return [Array] + attr_accessor :questions + + # + # Corresponds to the JSON property `rejectionReason` + # @return [Google::Apis::ConsumersurveysV2::SurveyRejection] + attr_accessor :rejection_reason + + # + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # + # Corresponds to the JSON property `surveyUrlId` + # @return [String] + attr_accessor :survey_url_id + + # + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # + # Corresponds to the JSON property `wantedResponseCount` + # @return [Fixnum] + attr_accessor :wanted_response_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audience = args[:audience] if args.key?(:audience) + @cost = args[:cost] if args.key?(:cost) + @customer_data = args[:customer_data] if args.key?(:customer_data) + @description = args[:description] if args.key?(:description) + @owners = args[:owners] if args.key?(:owners) + @questions = args[:questions] if args.key?(:questions) + @rejection_reason = args[:rejection_reason] if args.key?(:rejection_reason) + @state = args[:state] if args.key?(:state) + @survey_url_id = args[:survey_url_id] if args.key?(:survey_url_id) + @title = args[:title] if args.key?(:title) + @wanted_response_count = args[:wanted_response_count] if args.key?(:wanted_response_count) + end + end + + # + class SurveyAudience + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `ages` + # @return [Array] + attr_accessor :ages + + # + # Corresponds to the JSON property `country` + # @return [String] + attr_accessor :country + + # + # Corresponds to the JSON property `countrySubdivision` + # @return [String] + attr_accessor :country_subdivision + + # + # Corresponds to the JSON property `gender` + # @return [String] + attr_accessor :gender + + # + # Corresponds to the JSON property `languages` + # @return [Array] + attr_accessor :languages + + # + # Corresponds to the JSON property `mobileAppPanelId` + # @return [String] + attr_accessor :mobile_app_panel_id + + # + # Corresponds to the JSON property `populationSource` + # @return [String] + attr_accessor :population_source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ages = args[:ages] if args.key?(:ages) + @country = args[:country] if args.key?(:country) + @country_subdivision = args[:country_subdivision] if args.key?(:country_subdivision) + @gender = args[:gender] if args.key?(:gender) + @languages = args[:languages] if args.key?(:languages) + @mobile_app_panel_id = args[:mobile_app_panel_id] if args.key?(:mobile_app_panel_id) + @population_source = args[:population_source] if args.key?(:population_source) + end + end + + # + class SurveyCost + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `costPerResponseNanos` + # @return [Fixnum] + attr_accessor :cost_per_response_nanos + + # + # Corresponds to the JSON property `currencyCode` + # @return [String] + attr_accessor :currency_code + + # + # Corresponds to the JSON property `maxCostPerResponseNanos` + # @return [Fixnum] + attr_accessor :max_cost_per_response_nanos + + # + # Corresponds to the JSON property `nanos` + # @return [Fixnum] + attr_accessor :nanos + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cost_per_response_nanos = args[:cost_per_response_nanos] if args.key?(:cost_per_response_nanos) + @currency_code = args[:currency_code] if args.key?(:currency_code) + @max_cost_per_response_nanos = args[:max_cost_per_response_nanos] if args.key?(:max_cost_per_response_nanos) + @nanos = args[:nanos] if args.key?(:nanos) + end + end + + # + class SurveyQuestion + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `answerOrder` + # @return [String] + attr_accessor :answer_order + + # + # Corresponds to the JSON property `answers` + # @return [Array] + attr_accessor :answers + + # + # Corresponds to the JSON property `hasOther` + # @return [Boolean] + attr_accessor :has_other + alias_method :has_other?, :has_other + + # + # Corresponds to the JSON property `highValueLabel` + # @return [String] + attr_accessor :high_value_label + + # + # Corresponds to the JSON property `images` + # @return [Array] + attr_accessor :images + + # + # Corresponds to the JSON property `lastAnswerPositionPinned` + # @return [Boolean] + attr_accessor :last_answer_position_pinned + alias_method :last_answer_position_pinned?, :last_answer_position_pinned + + # + # Corresponds to the JSON property `lowValueLabel` + # @return [String] + attr_accessor :low_value_label + + # + # Corresponds to the JSON property `mustPickSuggestion` + # @return [Boolean] + attr_accessor :must_pick_suggestion + alias_method :must_pick_suggestion?, :must_pick_suggestion + + # + # Corresponds to the JSON property `numStars` + # @return [String] + attr_accessor :num_stars + + # + # Corresponds to the JSON property `openTextPlaceholder` + # @return [String] + attr_accessor :open_text_placeholder + + # + # Corresponds to the JSON property `openTextSuggestions` + # @return [Array] + attr_accessor :open_text_suggestions + + # + # Corresponds to the JSON property `question` + # @return [String] + attr_accessor :question + + # + # Corresponds to the JSON property `sentimentText` + # @return [String] + attr_accessor :sentiment_text + + # + # Corresponds to the JSON property `singleLineResponse` + # @return [Boolean] + attr_accessor :single_line_response + alias_method :single_line_response?, :single_line_response + + # + # Corresponds to the JSON property `thresholdAnswers` + # @return [Array] + attr_accessor :threshold_answers + + # + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # + # Corresponds to the JSON property `unitOfMeasurementLabel` + # @return [String] + attr_accessor :unit_of_measurement_label + + # + # Corresponds to the JSON property `videoId` + # @return [String] + attr_accessor :video_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @answer_order = args[:answer_order] if args.key?(:answer_order) + @answers = args[:answers] if args.key?(:answers) + @has_other = args[:has_other] if args.key?(:has_other) + @high_value_label = args[:high_value_label] if args.key?(:high_value_label) + @images = args[:images] if args.key?(:images) + @last_answer_position_pinned = args[:last_answer_position_pinned] if args.key?(:last_answer_position_pinned) + @low_value_label = args[:low_value_label] if args.key?(:low_value_label) + @must_pick_suggestion = args[:must_pick_suggestion] if args.key?(:must_pick_suggestion) + @num_stars = args[:num_stars] if args.key?(:num_stars) + @open_text_placeholder = args[:open_text_placeholder] if args.key?(:open_text_placeholder) + @open_text_suggestions = args[:open_text_suggestions] if args.key?(:open_text_suggestions) + @question = args[:question] if args.key?(:question) + @sentiment_text = args[:sentiment_text] if args.key?(:sentiment_text) + @single_line_response = args[:single_line_response] if args.key?(:single_line_response) + @threshold_answers = args[:threshold_answers] if args.key?(:threshold_answers) + @type = args[:type] if args.key?(:type) + @unit_of_measurement_label = args[:unit_of_measurement_label] if args.key?(:unit_of_measurement_label) + @video_id = args[:video_id] if args.key?(:video_id) + end + end + + # + class SurveyQuestionImage + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `altText` + # @return [String] + attr_accessor :alt_text + + # + # Corresponds to the JSON property `data` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :data + + # + # 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) + @alt_text = args[:alt_text] if args.key?(:alt_text) + @data = args[:data] if args.key?(:data) + @url = args[:url] if args.key?(:url) + end + end + + # + class SurveyRejection + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `explanation` + # @return [String] + attr_accessor :explanation + + # + # 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) + @explanation = args[:explanation] if args.key?(:explanation) + @type = args[:type] if args.key?(:type) + end + end + + # + class SurveyResults + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # + # Corresponds to the JSON property `surveyUrlId` + # @return [String] + attr_accessor :survey_url_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @status = args[:status] if args.key?(:status) + @survey_url_id = args[:survey_url_id] if args.key?(:survey_url_id) + end + end + + # + class SurveysDeleteResponse + include Google::Apis::Core::Hashable + + # Unique request ID used for logging and debugging. Please include in any error + # reporting or troubleshooting requests. + # Corresponds to the JSON property `requestId` + # @return [String] + attr_accessor :request_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @request_id = args[:request_id] if args.key?(:request_id) + end + end + + # + class SurveysListResponse + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `pageInfo` + # @return [Google::Apis::ConsumersurveysV2::PageInfo] + attr_accessor :page_info + + # Unique request ID used for logging and debugging. Please include in any error + # reporting or troubleshooting requests. + # Corresponds to the JSON property `requestId` + # @return [String] + attr_accessor :request_id + + # An individual survey resource. + # Corresponds to the JSON property `resources` + # @return [Array] + attr_accessor :resources + + # + # Corresponds to the JSON property `tokenPagination` + # @return [Google::Apis::ConsumersurveysV2::TokenPagination] + attr_accessor :token_pagination + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @page_info = args[:page_info] if args.key?(:page_info) + @request_id = args[:request_id] if args.key?(:request_id) + @resources = args[:resources] if args.key?(:resources) + @token_pagination = args[:token_pagination] if args.key?(:token_pagination) + end + end + + # + class SurveysStartRequest + include Google::Apis::Core::Hashable + + # Threshold to start a survey automically if the quoted prices is less than or + # equal to this value. See Survey.Cost for more details. + # Corresponds to the JSON property `maxCostPerResponseNanos` + # @return [Fixnum] + attr_accessor :max_cost_per_response_nanos + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @max_cost_per_response_nanos = args[:max_cost_per_response_nanos] if args.key?(:max_cost_per_response_nanos) + end + end + + # + class SurveysStartResponse + include Google::Apis::Core::Hashable + + # Unique request ID used for logging and debugging. Please include in any error + # reporting or troubleshooting requests. + # Corresponds to the JSON property `requestId` + # @return [String] + attr_accessor :request_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @request_id = args[:request_id] if args.key?(:request_id) + end + end + + # + class SurveysStopResponse + include Google::Apis::Core::Hashable + + # Unique request ID used for logging and debugging. Please include in any error + # reporting or troubleshooting requests. + # Corresponds to the JSON property `requestId` + # @return [String] + attr_accessor :request_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @request_id = args[:request_id] if args.key?(:request_id) + end + end + + # + class TokenPagination + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # + # Corresponds to the JSON property `previousPageToken` + # @return [String] + attr_accessor :previous_page_token + + 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) + @previous_page_token = args[:previous_page_token] if args.key?(:previous_page_token) + end + end + end + end +end diff --git a/generated/google/apis/consumersurveys_v2/representations.rb b/generated/google/apis/consumersurveys_v2/representations.rb new file mode 100644 index 000000000..7f32abd96 --- /dev/null +++ b/generated/google/apis/consumersurveys_v2/representations.rb @@ -0,0 +1,343 @@ +# 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 ConsumersurveysV2 + + class FieldMask + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MobileAppPanel + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MobileAppPanelsListResponse + 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 ResultsGetRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ResultsMask + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Survey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SurveyAudience + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SurveyCost + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SurveyQuestion + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SurveyQuestionImage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SurveyRejection + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SurveyResults + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SurveysDeleteResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SurveysListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SurveysStartRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SurveysStartResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SurveysStopResponse + 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 FieldMask + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :fields, as: 'fields', class: Google::Apis::ConsumersurveysV2::FieldMask, decorator: Google::Apis::ConsumersurveysV2::FieldMask::Representation + + property :id, as: 'id' + end + end + + class MobileAppPanel + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :country, as: 'country' + property :is_public_panel, as: 'isPublicPanel' + property :language, as: 'language' + property :mobile_app_panel_id, as: 'mobileAppPanelId' + property :name, as: 'name' + collection :owners, as: 'owners' + end + end + + class MobileAppPanelsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :page_info, as: 'pageInfo', class: Google::Apis::ConsumersurveysV2::PageInfo, decorator: Google::Apis::ConsumersurveysV2::PageInfo::Representation + + property :request_id, as: 'requestId' + collection :resources, as: 'resources', class: Google::Apis::ConsumersurveysV2::MobileAppPanel, decorator: Google::Apis::ConsumersurveysV2::MobileAppPanel::Representation + + property :token_pagination, as: 'tokenPagination', class: Google::Apis::ConsumersurveysV2::TokenPagination, decorator: Google::Apis::ConsumersurveysV2::TokenPagination::Representation + + end + end + + class PageInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :result_per_page, as: 'resultPerPage' + property :start_index, as: 'startIndex' + property :total_results, as: 'totalResults' + end + end + + class ResultsGetRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :result_mask, as: 'resultMask', class: Google::Apis::ConsumersurveysV2::ResultsMask, decorator: Google::Apis::ConsumersurveysV2::ResultsMask::Representation + + end + end + + class ResultsMask + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :fields, as: 'fields', class: Google::Apis::ConsumersurveysV2::FieldMask, decorator: Google::Apis::ConsumersurveysV2::FieldMask::Representation + + property :projection, as: 'projection' + end + end + + class Survey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :audience, as: 'audience', class: Google::Apis::ConsumersurveysV2::SurveyAudience, decorator: Google::Apis::ConsumersurveysV2::SurveyAudience::Representation + + property :cost, as: 'cost', class: Google::Apis::ConsumersurveysV2::SurveyCost, decorator: Google::Apis::ConsumersurveysV2::SurveyCost::Representation + + property :customer_data, :base64 => true, as: 'customerData' + property :description, as: 'description' + collection :owners, as: 'owners' + collection :questions, as: 'questions', class: Google::Apis::ConsumersurveysV2::SurveyQuestion, decorator: Google::Apis::ConsumersurveysV2::SurveyQuestion::Representation + + property :rejection_reason, as: 'rejectionReason', class: Google::Apis::ConsumersurveysV2::SurveyRejection, decorator: Google::Apis::ConsumersurveysV2::SurveyRejection::Representation + + property :state, as: 'state' + property :survey_url_id, as: 'surveyUrlId' + property :title, as: 'title' + property :wanted_response_count, as: 'wantedResponseCount' + end + end + + class SurveyAudience + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :ages, as: 'ages' + property :country, as: 'country' + property :country_subdivision, as: 'countrySubdivision' + property :gender, as: 'gender' + collection :languages, as: 'languages' + property :mobile_app_panel_id, as: 'mobileAppPanelId' + property :population_source, as: 'populationSource' + end + end + + class SurveyCost + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cost_per_response_nanos, :numeric_string => true, as: 'costPerResponseNanos' + property :currency_code, as: 'currencyCode' + property :max_cost_per_response_nanos, :numeric_string => true, as: 'maxCostPerResponseNanos' + property :nanos, :numeric_string => true, as: 'nanos' + end + end + + class SurveyQuestion + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :answer_order, as: 'answerOrder' + collection :answers, as: 'answers' + property :has_other, as: 'hasOther' + property :high_value_label, as: 'highValueLabel' + collection :images, as: 'images', class: Google::Apis::ConsumersurveysV2::SurveyQuestionImage, decorator: Google::Apis::ConsumersurveysV2::SurveyQuestionImage::Representation + + property :last_answer_position_pinned, as: 'lastAnswerPositionPinned' + property :low_value_label, as: 'lowValueLabel' + property :must_pick_suggestion, as: 'mustPickSuggestion' + property :num_stars, as: 'numStars' + property :open_text_placeholder, as: 'openTextPlaceholder' + collection :open_text_suggestions, as: 'openTextSuggestions' + property :question, as: 'question' + property :sentiment_text, as: 'sentimentText' + property :single_line_response, as: 'singleLineResponse' + collection :threshold_answers, as: 'thresholdAnswers' + property :type, as: 'type' + property :unit_of_measurement_label, as: 'unitOfMeasurementLabel' + property :video_id, as: 'videoId' + end + end + + class SurveyQuestionImage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alt_text, as: 'altText' + property :data, :base64 => true, as: 'data' + property :url, as: 'url' + end + end + + class SurveyRejection + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :explanation, as: 'explanation' + property :type, as: 'type' + end + end + + class SurveyResults + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :status, as: 'status' + property :survey_url_id, as: 'surveyUrlId' + end + end + + class SurveysDeleteResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :request_id, as: 'requestId' + end + end + + class SurveysListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :page_info, as: 'pageInfo', class: Google::Apis::ConsumersurveysV2::PageInfo, decorator: Google::Apis::ConsumersurveysV2::PageInfo::Representation + + property :request_id, as: 'requestId' + collection :resources, as: 'resources', class: Google::Apis::ConsumersurveysV2::Survey, decorator: Google::Apis::ConsumersurveysV2::Survey::Representation + + property :token_pagination, as: 'tokenPagination', class: Google::Apis::ConsumersurveysV2::TokenPagination, decorator: Google::Apis::ConsumersurveysV2::TokenPagination::Representation + + end + end + + class SurveysStartRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :max_cost_per_response_nanos, :numeric_string => true, as: 'maxCostPerResponseNanos' + end + end + + class SurveysStartResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :request_id, as: 'requestId' + end + end + + class SurveysStopResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :request_id, as: 'requestId' + end + end + + class TokenPagination + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + property :previous_page_token, as: 'previousPageToken' + end + end + end + end +end diff --git a/generated/google/apis/consumersurveys_v2/service.rb b/generated/google/apis/consumersurveys_v2/service.rb new file mode 100644 index 000000000..5fdeccd21 --- /dev/null +++ b/generated/google/apis/consumersurveys_v2/service.rb @@ -0,0 +1,478 @@ +# 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 ConsumersurveysV2 + # Consumer Surveys API + # + # Creates and conducts surveys, lists the surveys that an authenticated user + # owns, and retrieves survey results and information about specified surveys. + # + # @example + # require 'google/apis/consumersurveys_v2' + # + # Consumersurveys = Google::Apis::ConsumersurveysV2 # Alias the module + # service = Consumersurveys::ConsumerSurveysService.new + # + class ConsumerSurveysService < 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. + # Overrides userIp if both are provided. + attr_accessor :quota_user + + # @return [String] + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + attr_accessor :user_ip + + def initialize + super('https://www.googleapis.com/', 'consumersurveys/v2/') + @batch_path = 'batch' + end + + # Retrieves a MobileAppPanel that is available to the authenticated user. + # @param [String] panel_id + # External URL ID for the panel. + # @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::ConsumersurveysV2::MobileAppPanel] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ConsumersurveysV2::MobileAppPanel] + # + # @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_mobileapppanel(panel_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'mobileAppPanels/{panelId}', options) + command.response_representation = Google::Apis::ConsumersurveysV2::MobileAppPanel::Representation + command.response_class = Google::Apis::ConsumersurveysV2::MobileAppPanel + command.params['panelId'] = panel_id unless panel_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 the MobileAppPanels available to the authenticated user. + # @param [Fixnum] max_results + # @param [Fixnum] start_index + # @param [String] 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. + # 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::ConsumersurveysV2::MobileAppPanelsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ConsumersurveysV2::MobileAppPanelsListResponse] + # + # @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_mobileapppanels(max_results: nil, start_index: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'mobileAppPanels', options) + command.response_representation = Google::Apis::ConsumersurveysV2::MobileAppPanelsListResponse::Representation + command.response_class = Google::Apis::ConsumersurveysV2::MobileAppPanelsListResponse + command.query['maxResults'] = max_results unless max_results.nil? + command.query['startIndex'] = start_index unless start_index.nil? + command.query['token'] = token unless 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 + + # Updates a MobileAppPanel. Currently the only property that can be updated is + # the owners property. + # @param [String] panel_id + # External URL ID for the panel. + # @param [Google::Apis::ConsumersurveysV2::MobileAppPanel] mobile_app_panel_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::ConsumersurveysV2::MobileAppPanel] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ConsumersurveysV2::MobileAppPanel] + # + # @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_mobileapppanel(panel_id, mobile_app_panel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'mobileAppPanels/{panelId}', options) + command.request_representation = Google::Apis::ConsumersurveysV2::MobileAppPanel::Representation + command.request_object = mobile_app_panel_object + command.response_representation = Google::Apis::ConsumersurveysV2::MobileAppPanel::Representation + command.response_class = Google::Apis::ConsumersurveysV2::MobileAppPanel + command.params['panelId'] = panel_id unless panel_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 + + # Retrieves any survey results that have been produced so far. Results are + # formatted as an Excel file. You must add "?alt=media" to the URL as an + # argument to get results. + # @param [String] survey_url_id + # External URL ID for the survey. + # @param [Google::Apis::ConsumersurveysV2::ResultsGetRequest] results_get_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 [IO, String] download_dest + # IO stream or filename to receive content download + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ConsumersurveysV2::SurveyResults] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ConsumersurveysV2::SurveyResults] + # + # @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_result(survey_url_id, results_get_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block) + if download_dest.nil? + command = make_simple_command(:get, 'surveys/{surveyUrlId}/results', options) + else + command = make_download_command(:get, 'surveys/{surveyUrlId}/results', options) + command.download_dest = download_dest + end + command.request_representation = Google::Apis::ConsumersurveysV2::ResultsGetRequest::Representation + command.request_object = results_get_request_object + command.response_representation = Google::Apis::ConsumersurveysV2::SurveyResults::Representation + command.response_class = Google::Apis::ConsumersurveysV2::SurveyResults + command.params['surveyUrlId'] = survey_url_id unless survey_url_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 + + # Removes a survey from view in all user GET requests. + # @param [String] survey_url_id + # External URL ID for the survey. + # @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::ConsumersurveysV2::SurveysDeleteResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ConsumersurveysV2::SurveysDeleteResponse] + # + # @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_survey(survey_url_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, 'surveys/{surveyUrlId}', options) + command.response_representation = Google::Apis::ConsumersurveysV2::SurveysDeleteResponse::Representation + command.response_class = Google::Apis::ConsumersurveysV2::SurveysDeleteResponse + command.params['surveyUrlId'] = survey_url_id unless survey_url_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 + + # Retrieves information about the specified survey. + # @param [String] survey_url_id + # External URL ID for the survey. + # @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::ConsumersurveysV2::Survey] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ConsumersurveysV2::Survey] + # + # @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_survey(survey_url_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'surveys/{surveyUrlId}', options) + command.response_representation = Google::Apis::ConsumersurveysV2::Survey::Representation + command.response_class = Google::Apis::ConsumersurveysV2::Survey + command.params['surveyUrlId'] = survey_url_id unless survey_url_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 survey. + # @param [Google::Apis::ConsumersurveysV2::Survey] survey_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::ConsumersurveysV2::Survey] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ConsumersurveysV2::Survey] + # + # @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_survey(survey_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'surveys', options) + command.request_representation = Google::Apis::ConsumersurveysV2::Survey::Representation + command.request_object = survey_object + command.response_representation = Google::Apis::ConsumersurveysV2::Survey::Representation + command.response_class = Google::Apis::ConsumersurveysV2::Survey + 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 the surveys owned by the authenticated user. + # @param [Fixnum] max_results + # @param [Fixnum] start_index + # @param [String] 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. + # 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::ConsumersurveysV2::SurveysListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ConsumersurveysV2::SurveysListResponse] + # + # @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_surveys(max_results: nil, start_index: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'surveys', options) + command.response_representation = Google::Apis::ConsumersurveysV2::SurveysListResponse::Representation + command.response_class = Google::Apis::ConsumersurveysV2::SurveysListResponse + command.query['maxResults'] = max_results unless max_results.nil? + command.query['startIndex'] = start_index unless start_index.nil? + command.query['token'] = token unless 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 + + # Begins running a survey. + # @param [String] resource_id + # @param [Google::Apis::ConsumersurveysV2::SurveysStartRequest] surveys_start_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::ConsumersurveysV2::SurveysStartResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ConsumersurveysV2::SurveysStartResponse] + # + # @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 start_survey(resource_id, surveys_start_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'surveys/{resourceId}/start', options) + command.request_representation = Google::Apis::ConsumersurveysV2::SurveysStartRequest::Representation + command.request_object = surveys_start_request_object + command.response_representation = Google::Apis::ConsumersurveysV2::SurveysStartResponse::Representation + command.response_class = Google::Apis::ConsumersurveysV2::SurveysStartResponse + command.params['resourceId'] = resource_id unless resource_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 + + # Stops a running survey. + # @param [String] resource_id + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # 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::ConsumersurveysV2::SurveysStopResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ConsumersurveysV2::SurveysStopResponse] + # + # @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 stop_survey(resource_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'surveys/{resourceId}/stop', options) + command.response_representation = Google::Apis::ConsumersurveysV2::SurveysStopResponse::Representation + command.response_class = Google::Apis::ConsumersurveysV2::SurveysStopResponse + command.params['resourceId'] = resource_id unless resource_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 survey. Currently the only property that can be updated is the + # owners property. + # @param [String] survey_url_id + # External URL ID for the survey. + # @param [Google::Apis::ConsumersurveysV2::Survey] survey_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::ConsumersurveysV2::Survey] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ConsumersurveysV2::Survey] + # + # @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_survey(survey_url_id, survey_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'surveys/{surveyUrlId}', options) + command.request_representation = Google::Apis::ConsumersurveysV2::Survey::Representation + command.request_object = survey_object + command.response_representation = Google::Apis::ConsumersurveysV2::Survey::Representation + command.response_class = Google::Apis::ConsumersurveysV2::Survey + command.params['surveyUrlId'] = survey_url_id unless survey_url_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 + + def apply_command_defaults(command) + command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + end + end + end + end +end diff --git a/generated/google/apis/container_v1.rb b/generated/google/apis/container_v1.rb index 57a6ad48a..abf29e4da 100644 --- a/generated/google/apis/container_v1.rb +++ b/generated/google/apis/container_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/container-engine/ module ContainerV1 VERSION = 'V1' - REVISION = '20170627' + REVISION = '20170804' # 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/container_v1/classes.rb b/generated/google/apis/container_v1/classes.rb index 009693f36..9ec8357e7 100644 --- a/generated/google/apis/container_v1/classes.rb +++ b/generated/google/apis/container_v1/classes.rb @@ -22,54 +22,20 @@ module Google module Apis module ContainerV1 - # SetLocationsRequest sets the locations of the cluster. - class SetLocationsRequest + # AcceleratorConfig represents a Hardware Accelerator request. + class AcceleratorConfig include Google::Apis::Core::Hashable - # The desired list of Google Compute Engine - # [locations](/compute/docs/zones#available) in which the cluster's nodes - # should be located. Changing the locations a cluster is in will result - # in nodes being either created or removed from the cluster, depending on - # whether locations are being added or removed. - # This list must always include the cluster's primary zone. - # Corresponds to the JSON property `locations` - # @return [Array] - attr_accessor :locations - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @locations = args[:locations] if args.key?(:locations) - end - end - - # RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed - # NodePool upgrade. This will be an no-op if the last upgrade successfully - # completed. - class RollbackNodePoolUpgradeRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # SetNodePoolSizeRequest sets the size a node - # pool. - class SetNodePoolSizeRequest - include Google::Apis::Core::Hashable - - # The desired node count for the pool. - # Corresponds to the JSON property `nodeCount` + # The number of the accelerator cards exposed to an instance. + # Corresponds to the JSON property `acceleratorCount` # @return [Fixnum] - attr_accessor :node_count + attr_accessor :accelerator_count + + # The accelerator type resource name. List of supported accelerators + # [here](/compute/docs/gpus/#Introduction) + # Corresponds to the JSON property `acceleratorType` + # @return [String] + attr_accessor :accelerator_type def initialize(**args) update!(**args) @@ -77,20 +43,33 @@ module Google # Update properties of this object def update!(**args) - @node_count = args[:node_count] if args.key?(:node_count) + @accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count) + @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type) end end - # UpdateClusterRequest updates the settings of a cluster. - class UpdateClusterRequest + # Configuration for the addons that can be automatically spun up in the + # cluster, enabling additional functionality. + class AddonsConfig include Google::Apis::Core::Hashable - # ClusterUpdate describes an update to the cluster. Exactly one update can - # be applied to a cluster with each request, so at most one field can be - # provided. - # Corresponds to the JSON property `update` - # @return [Google::Apis::ContainerV1::ClusterUpdate] - attr_accessor :update + # Configuration options for the horizontal pod autoscaling feature, which + # increases or decreases the number of replica pods a replication controller + # has based on the resource usage of the existing pods. + # Corresponds to the JSON property `horizontalPodAutoscaling` + # @return [Google::Apis::ContainerV1::HorizontalPodAutoscaling] + attr_accessor :horizontal_pod_autoscaling + + # Configuration options for the HTTP (L7) load balancing controller addon, + # which makes it easy to set up HTTP load balancers for services in a cluster. + # Corresponds to the JSON property `httpLoadBalancing` + # @return [Google::Apis::ContainerV1::HttpLoadBalancing] + attr_accessor :http_load_balancing + + # Configuration for the Kubernetes Dashboard. + # Corresponds to the JSON property `kubernetesDashboard` + # @return [Google::Apis::ContainerV1::KubernetesDashboard] + attr_accessor :kubernetes_dashboard def initialize(**args) update!(**args) @@ -98,25 +77,88 @@ module Google # Update properties of this object def update!(**args) - @update = args[:update] if args.key?(:update) + @horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling) + @http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing) + @kubernetes_dashboard = args[:kubernetes_dashboard] if args.key?(:kubernetes_dashboard) end end - # Configuration options for the NetworkPolicy feature. - # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/ - class NetworkPolicy + # AutoUpgradeOptions defines the set of options for the user to control how + # the Auto Upgrades will proceed. + class AutoUpgradeOptions include Google::Apis::Core::Hashable - # Whether network policy is enabled on the cluster. - # Corresponds to the JSON property `enabled` + # [Output only] This field is set when upgrades are about to commence + # with the approximate start time for the upgrades, in + # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. + # Corresponds to the JSON property `autoUpgradeStartTime` + # @return [String] + attr_accessor :auto_upgrade_start_time + + # [Output only] This field is set when upgrades are about to commence + # with the description of the upgrade. + # 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) + @auto_upgrade_start_time = args[:auto_upgrade_start_time] if args.key?(:auto_upgrade_start_time) + @description = args[:description] if args.key?(:description) + end + end + + # CancelOperationRequest cancels a single operation. + class CancelOperationRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # CidrBlock contains an optional name and one CIDR block. + class CidrBlock + include Google::Apis::Core::Hashable + + # cidr_block must be specified in CIDR notation. + # Corresponds to the JSON property `cidrBlock` + # @return [String] + attr_accessor :cidr_block + + # display_name is an optional field for users to identify CIDR blocks. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cidr_block = args[:cidr_block] if args.key?(:cidr_block) + @display_name = args[:display_name] if args.key?(:display_name) + end + end + + # Configuration for client certificates on the cluster. + class ClientCertificateConfig + include Google::Apis::Core::Hashable + + # Issue a client certificate. + # Corresponds to the JSON property `issueClientCertificate` # @return [Boolean] - attr_accessor :enabled - alias_method :enabled?, :enabled - - # The selected network policy provider. - # Corresponds to the JSON property `provider` - # @return [String] - attr_accessor :provider + attr_accessor :issue_client_certificate + alias_method :issue_client_certificate?, :issue_client_certificate def initialize(**args) update!(**args) @@ -124,29 +166,7 @@ module Google # Update properties of this object def update!(**args) - @enabled = args[:enabled] if args.key?(:enabled) - @provider = args[:provider] if args.key?(:provider) - end - end - - # UpdateMasterRequest updates the master of the cluster. - class UpdateMasterRequest - include Google::Apis::Core::Hashable - - # The Kubernetes version to change the master to. The only valid value is the - # latest supported version. Use "-" to have the server automatically select - # the latest version. - # Corresponds to the JSON property `masterVersion` - # @return [String] - attr_accessor :master_version - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @master_version = args[:master_version] if args.key?(:master_version) + @issue_client_certificate = args[:issue_client_certificate] if args.key?(:issue_client_certificate) end end @@ -154,26 +174,35 @@ module Google class Cluster include Google::Apis::Core::Hashable - # [Output only] The current software version of the master endpoint. - # Corresponds to the JSON property `currentMasterVersion` - # @return [String] - attr_accessor :current_master_version - - # Parameters that describe the nodes in a cluster. - # Corresponds to the JSON property `nodeConfig` - # @return [Google::Apis::ContainerV1::NodeConfig] - attr_accessor :node_config - # Configuration for the addons that can be automatically spun up in the # cluster, enabling additional functionality. # Corresponds to the JSON property `addonsConfig` # @return [Google::Apis::ContainerV1::AddonsConfig] attr_accessor :addons_config - # [Output only] The current status of this cluster. - # Corresponds to the JSON property `status` + # The IP address range of the container pods in this cluster, in + # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) + # notation (e.g. `10.96.0.0/14`). Leave blank to have + # one automatically chosen or specify a `/14` block in `10.0.0.0/8`. + # Corresponds to the JSON property `clusterIpv4Cidr` # @return [String] - attr_accessor :status + attr_accessor :cluster_ipv4_cidr + + # [Output only] The time the cluster was created, in + # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # [Output only] The current software version of the master endpoint. + # Corresponds to the JSON property `currentMasterVersion` + # @return [String] + attr_accessor :current_master_version + + # [Output only] The number of nodes currently in the cluster. + # Corresponds to the JSON property `currentNodeCount` + # @return [Fixnum] + attr_accessor :current_node_count # [Output only] The current version of the node software components. # If they are currently at multiple versions because they're in the process @@ -182,46 +211,21 @@ module Google # @return [String] attr_accessor :current_node_version - # The name of the Google Compute Engine - # [subnetwork](/compute/docs/subnetworks) to which the - # cluster is connected. - # Corresponds to the JSON property `subnetwork` + # An optional description of this cluster. + # Corresponds to the JSON property `description` # @return [String] - attr_accessor :subnetwork + attr_accessor :description - # The name of this cluster. The name must be unique within this project - # and zone, and can be up to 40 characters with the following restrictions: - # * Lowercase letters, numbers, and hyphens only. - # * Must start with a letter. - # * Must end with a number or a letter. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The resource labels for the cluster to use to annotate any related - # Google Compute Engine resources. - # Corresponds to the JSON property `resourceLabels` - # @return [Hash] - attr_accessor :resource_labels - - # The initial Kubernetes version for this cluster. Valid versions are those - # found in validMasterVersions returned by getServerConfig. The version can - # be upgraded over time; such upgrades are reflected in - # currentMasterVersion and currentNodeVersion. - # Corresponds to the JSON property `initialClusterVersion` - # @return [String] - attr_accessor :initial_cluster_version - - # Configuration for controlling how IPs are allocated in the cluster. - # Corresponds to the JSON property `ipAllocationPolicy` - # @return [Google::Apis::ContainerV1::IpAllocationPolicy] - attr_accessor :ip_allocation_policy - - # Configuration for the legacy Attribute Based Access Control authorization - # mode. - # Corresponds to the JSON property `legacyAbac` - # @return [Google::Apis::ContainerV1::LegacyAbac] - attr_accessor :legacy_abac + # Kubernetes alpha features are enabled on this cluster. This includes alpha + # API groups (e.g. v1alpha1) and features that may not be production ready in + # the kubernetes version of the master and nodes. + # The cluster has no SLA for uptime and master/node upgrades are disabled. + # Alpha enabled clusters are automatically deleted thirty days after + # creation. + # Corresponds to the JSON property `enableKubernetesAlpha` + # @return [Boolean] + attr_accessor :enable_kubernetes_alpha + alias_method :enable_kubernetes_alpha?, :enable_kubernetes_alpha # [Output only] The IP address of this cluster's master endpoint. # The endpoint can be accessed from the internet at @@ -232,19 +236,19 @@ module Google # @return [String] attr_accessor :endpoint - # [Output only] The time the cluster was created, in - # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. - # Corresponds to the JSON property `createTime` + # [Output only] The time the cluster will be automatically + # deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. + # Corresponds to the JSON property `expireTime` # @return [String] - attr_accessor :create_time + attr_accessor :expire_time - # The IP address range of the container pods in this cluster, in - # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) - # notation (e.g. `10.96.0.0/14`). Leave blank to have - # one automatically chosen or specify a `/14` block in `10.0.0.0/8`. - # Corresponds to the JSON property `clusterIpv4Cidr` + # The initial Kubernetes version for this cluster. Valid versions are those + # found in validMasterVersions returned by getServerConfig. The version can + # be upgraded over time; such upgrades are reflected in + # currentMasterVersion and currentNodeVersion. + # Corresponds to the JSON property `initialClusterVersion` # @return [String] - attr_accessor :cluster_ipv4_cidr + attr_accessor :initial_cluster_version # The number of nodes to create in this cluster. You must ensure that your # Compute Engine resource quota @@ -258,25 +262,6 @@ module Google # @return [Fixnum] attr_accessor :initial_node_count - # The node pools associated with this cluster. - # This field should not be set if "node_config" or "initial_node_count" are - # specified. - # Corresponds to the JSON property `nodePools` - # @return [Array] - attr_accessor :node_pools - - # The list of Google Compute Engine - # [locations](/compute/docs/zones#available) in which the cluster's nodes - # should be located. - # Corresponds to the JSON property `locations` - # @return [Array] - attr_accessor :locations - - # [Output only] Server-defined URL for the resource. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - # [Output only] The resource URLs of [instance # groups](/compute/docs/instance-groups/) associated with this # cluster. @@ -284,77 +269,28 @@ module Google # @return [Array] attr_accessor :instance_group_urls - # [Output only] The IP address range of the Kubernetes services in - # this cluster, in - # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) - # notation (e.g. `1.2.3.4/29`). Service addresses are - # typically put in the last `/16` from the container CIDR. - # Corresponds to the JSON property `servicesIpv4Cidr` - # @return [String] - attr_accessor :services_ipv4_cidr - - # Configuration options for the NetworkPolicy feature. - # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/ - # Corresponds to the JSON property `networkPolicy` - # @return [Google::Apis::ContainerV1::NetworkPolicy] - attr_accessor :network_policy - - # Kubernetes alpha features are enabled on this cluster. This includes alpha - # API groups (e.g. v1alpha1) and features that may not be production ready in - # the kubernetes version of the master and nodes. - # The cluster has no SLA for uptime and master/node upgrades are disabled. - # Alpha enabled clusters are automatically deleted thirty days after - # creation. - # Corresponds to the JSON property `enableKubernetesAlpha` - # @return [Boolean] - attr_accessor :enable_kubernetes_alpha - alias_method :enable_kubernetes_alpha?, :enable_kubernetes_alpha - - # An optional description of this cluster. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # [Output only] The number of nodes currently in the cluster. - # Corresponds to the JSON property `currentNodeCount` - # @return [Fixnum] - attr_accessor :current_node_count - - # The monitoring service the cluster should use to write metrics. - # Currently available options: - # * `monitoring.googleapis.com` - the Google Cloud Monitoring service. - # * `none` - no metrics will be exported from the cluster. - # * if left as an empty string, `monitoring.googleapis.com` will be used. - # Corresponds to the JSON property `monitoringService` - # @return [String] - attr_accessor :monitoring_service - - # The name of the Google Compute Engine - # [network](/compute/docs/networks-and-firewalls#networks) to which the - # cluster is connected. If left unspecified, the `default` network - # will be used. - # Corresponds to the JSON property `network` - # @return [String] - attr_accessor :network + # Configuration for controlling how IPs are allocated in the cluster. + # Corresponds to the JSON property `ipAllocationPolicy` + # @return [Google::Apis::ContainerV1::IpAllocationPolicy] + attr_accessor :ip_allocation_policy # The fingerprint of the set of labels for this cluster. # Corresponds to the JSON property `labelFingerprint` # @return [String] attr_accessor :label_fingerprint - # [Output only] The name of the Google Compute Engine - # [zone](/compute/docs/zones#available) in which the cluster - # resides. - # Corresponds to the JSON property `zone` - # @return [String] - attr_accessor :zone + # Configuration for the legacy Attribute Based Access Control authorization + # mode. + # Corresponds to the JSON property `legacyAbac` + # @return [Google::Apis::ContainerV1::LegacyAbac] + attr_accessor :legacy_abac - # [Output only] The size of the address space on each node for hosting - # containers. This is provisioned from within the `container_ipv4_cidr` - # range. - # Corresponds to the JSON property `nodeIpv4CidrSize` - # @return [Fixnum] - attr_accessor :node_ipv4_cidr_size + # The list of Google Compute Engine + # [locations](/compute/docs/zones#available) in which the cluster's nodes + # should be located. + # Corresponds to the JSON property `locations` + # @return [Array] + attr_accessor :locations # The logging service the cluster should use to write logs. # Currently available options: @@ -365,18 +301,6 @@ module Google # @return [String] attr_accessor :logging_service - # [Output only] The time the cluster will be automatically - # deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. - # Corresponds to the JSON property `expireTime` - # @return [String] - attr_accessor :expire_time - - # [Output only] Additional information about the current status of this - # cluster, if available. - # Corresponds to the JSON property `statusMessage` - # @return [String] - attr_accessor :status_message - # The authentication information for accessing the master endpoint. # Authentication can be done using HTTP basic auth or using client # certificates. @@ -384,45 +308,274 @@ module Google # @return [Google::Apis::ContainerV1::MasterAuth] attr_accessor :master_auth + # Master authorized networks is a Beta feature. + # Configuration options for the master authorized networks feature. Enabled + # master authorized networks will disallow all external traffic to access + # Kubernetes master through HTTPS except traffic from the given CIDR blocks, + # Google Compute Engine Public IPs and Google Prod IPs. + # Corresponds to the JSON property `masterAuthorizedNetworksConfig` + # @return [Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig] + attr_accessor :master_authorized_networks_config + + # The monitoring service the cluster should use to write metrics. + # Currently available options: + # * `monitoring.googleapis.com` - the Google Cloud Monitoring service. + # * `none` - no metrics will be exported from the cluster. + # * if left as an empty string, `monitoring.googleapis.com` will be used. + # Corresponds to the JSON property `monitoringService` + # @return [String] + attr_accessor :monitoring_service + + # The name of this cluster. The name must be unique within this project + # and zone, and can be up to 40 characters with the following restrictions: + # * Lowercase letters, numbers, and hyphens only. + # * Must start with a letter. + # * Must end with a number or a letter. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The name of the Google Compute Engine + # [network](/compute/docs/networks-and-firewalls#networks) to which the + # cluster is connected. If left unspecified, the `default` network + # will be used. + # Corresponds to the JSON property `network` + # @return [String] + attr_accessor :network + + # Configuration options for the NetworkPolicy feature. + # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/ + # Corresponds to the JSON property `networkPolicy` + # @return [Google::Apis::ContainerV1::NetworkPolicy] + attr_accessor :network_policy + + # Parameters that describe the nodes in a cluster. + # Corresponds to the JSON property `nodeConfig` + # @return [Google::Apis::ContainerV1::NodeConfig] + attr_accessor :node_config + + # [Output only] The size of the address space on each node for hosting + # containers. This is provisioned from within the `container_ipv4_cidr` + # range. + # Corresponds to the JSON property `nodeIpv4CidrSize` + # @return [Fixnum] + attr_accessor :node_ipv4_cidr_size + + # The node pools associated with this cluster. + # This field should not be set if "node_config" or "initial_node_count" are + # specified. + # Corresponds to the JSON property `nodePools` + # @return [Array] + attr_accessor :node_pools + + # The resource labels for the cluster to use to annotate any related + # Google Compute Engine resources. + # Corresponds to the JSON property `resourceLabels` + # @return [Hash] + attr_accessor :resource_labels + + # [Output only] Server-defined URL for the resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # [Output only] The IP address range of the Kubernetes services in + # this cluster, in + # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) + # notation (e.g. `1.2.3.4/29`). Service addresses are + # typically put in the last `/16` from the container CIDR. + # Corresponds to the JSON property `servicesIpv4Cidr` + # @return [String] + attr_accessor :services_ipv4_cidr + + # [Output only] The current status of this cluster. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # [Output only] Additional information about the current status of this + # cluster, if available. + # Corresponds to the JSON property `statusMessage` + # @return [String] + attr_accessor :status_message + + # The name of the Google Compute Engine + # [subnetwork](/compute/docs/subnetworks) to which the + # cluster is connected. + # Corresponds to the JSON property `subnetwork` + # @return [String] + attr_accessor :subnetwork + + # [Output only] The name of the Google Compute Engine + # [zone](/compute/docs/zones#available) in which the cluster + # resides. + # Corresponds to the JSON property `zone` + # @return [String] + attr_accessor :zone + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @current_master_version = args[:current_master_version] if args.key?(:current_master_version) - @node_config = args[:node_config] if args.key?(:node_config) @addons_config = args[:addons_config] if args.key?(:addons_config) - @status = args[:status] if args.key?(:status) - @current_node_version = args[:current_node_version] if args.key?(:current_node_version) - @subnetwork = args[:subnetwork] if args.key?(:subnetwork) - @name = args[:name] if args.key?(:name) - @resource_labels = args[:resource_labels] if args.key?(:resource_labels) - @initial_cluster_version = args[:initial_cluster_version] if args.key?(:initial_cluster_version) - @ip_allocation_policy = args[:ip_allocation_policy] if args.key?(:ip_allocation_policy) - @legacy_abac = args[:legacy_abac] if args.key?(:legacy_abac) - @endpoint = args[:endpoint] if args.key?(:endpoint) - @create_time = args[:create_time] if args.key?(:create_time) @cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr) - @initial_node_count = args[:initial_node_count] if args.key?(:initial_node_count) - @node_pools = args[:node_pools] if args.key?(:node_pools) - @locations = args[:locations] if args.key?(:locations) - @self_link = args[:self_link] if args.key?(:self_link) - @instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls) - @services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr) - @network_policy = args[:network_policy] if args.key?(:network_policy) - @enable_kubernetes_alpha = args[:enable_kubernetes_alpha] if args.key?(:enable_kubernetes_alpha) - @description = args[:description] if args.key?(:description) + @create_time = args[:create_time] if args.key?(:create_time) + @current_master_version = args[:current_master_version] if args.key?(:current_master_version) @current_node_count = args[:current_node_count] if args.key?(:current_node_count) - @monitoring_service = args[:monitoring_service] if args.key?(:monitoring_service) - @network = args[:network] if args.key?(:network) - @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint) - @zone = args[:zone] if args.key?(:zone) - @node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size) - @logging_service = args[:logging_service] if args.key?(:logging_service) + @current_node_version = args[:current_node_version] if args.key?(:current_node_version) + @description = args[:description] if args.key?(:description) + @enable_kubernetes_alpha = args[:enable_kubernetes_alpha] if args.key?(:enable_kubernetes_alpha) + @endpoint = args[:endpoint] if args.key?(:endpoint) @expire_time = args[:expire_time] if args.key?(:expire_time) - @status_message = args[:status_message] if args.key?(:status_message) + @initial_cluster_version = args[:initial_cluster_version] if args.key?(:initial_cluster_version) + @initial_node_count = args[:initial_node_count] if args.key?(:initial_node_count) + @instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls) + @ip_allocation_policy = args[:ip_allocation_policy] if args.key?(:ip_allocation_policy) + @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint) + @legacy_abac = args[:legacy_abac] if args.key?(:legacy_abac) + @locations = args[:locations] if args.key?(:locations) + @logging_service = args[:logging_service] if args.key?(:logging_service) @master_auth = args[:master_auth] if args.key?(:master_auth) + @master_authorized_networks_config = args[:master_authorized_networks_config] if args.key?(:master_authorized_networks_config) + @monitoring_service = args[:monitoring_service] if args.key?(:monitoring_service) + @name = args[:name] if args.key?(:name) + @network = args[:network] if args.key?(:network) + @network_policy = args[:network_policy] if args.key?(:network_policy) + @node_config = args[:node_config] if args.key?(:node_config) + @node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size) + @node_pools = args[:node_pools] if args.key?(:node_pools) + @resource_labels = args[:resource_labels] if args.key?(:resource_labels) + @self_link = args[:self_link] if args.key?(:self_link) + @services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr) + @status = args[:status] if args.key?(:status) + @status_message = args[:status_message] if args.key?(:status_message) + @subnetwork = args[:subnetwork] if args.key?(:subnetwork) + @zone = args[:zone] if args.key?(:zone) + end + end + + # ClusterUpdate describes an update to the cluster. Exactly one update can + # be applied to a cluster with each request, so at most one field can be + # provided. + class ClusterUpdate + include Google::Apis::Core::Hashable + + # Configuration for the addons that can be automatically spun up in the + # cluster, enabling additional functionality. + # Corresponds to the JSON property `desiredAddonsConfig` + # @return [Google::Apis::ContainerV1::AddonsConfig] + attr_accessor :desired_addons_config + + # The desired image type for the node pool. + # NOTE: Set the "desired_node_pool" field as well. + # Corresponds to the JSON property `desiredImageType` + # @return [String] + attr_accessor :desired_image_type + + # The desired list of Google Compute Engine + # [locations](/compute/docs/zones#available) in which the cluster's nodes + # should be located. Changing the locations a cluster is in will result + # in nodes being either created or removed from the cluster, depending on + # whether locations are being added or removed. + # This list must always include the cluster's primary zone. + # Corresponds to the JSON property `desiredLocations` + # @return [Array] + attr_accessor :desired_locations + + # Master authorized networks is a Beta feature. + # Configuration options for the master authorized networks feature. Enabled + # master authorized networks will disallow all external traffic to access + # Kubernetes master through HTTPS except traffic from the given CIDR blocks, + # Google Compute Engine Public IPs and Google Prod IPs. + # Corresponds to the JSON property `desiredMasterAuthorizedNetworksConfig` + # @return [Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig] + attr_accessor :desired_master_authorized_networks_config + + # The Kubernetes version to change the master to. The only valid value is the + # latest supported version. Use "-" to have the server automatically select + # the latest version. + # Corresponds to the JSON property `desiredMasterVersion` + # @return [String] + attr_accessor :desired_master_version + + # The monitoring service the cluster should use to write metrics. + # Currently available options: + # * "monitoring.googleapis.com" - the Google Cloud Monitoring service + # * "none" - no metrics will be exported from the cluster + # Corresponds to the JSON property `desiredMonitoringService` + # @return [String] + attr_accessor :desired_monitoring_service + + # NodePoolAutoscaling contains information required by cluster autoscaler to + # adjust the size of the node pool to the current cluster usage. + # Corresponds to the JSON property `desiredNodePoolAutoscaling` + # @return [Google::Apis::ContainerV1::NodePoolAutoscaling] + attr_accessor :desired_node_pool_autoscaling + + # The node pool to be upgraded. This field is mandatory if + # "desired_node_version", "desired_image_family" or + # "desired_node_pool_autoscaling" is specified and there is more than one + # node pool on the cluster. + # Corresponds to the JSON property `desiredNodePoolId` + # @return [String] + attr_accessor :desired_node_pool_id + + # The Kubernetes version to change the nodes to (typically an + # upgrade). Use `-` to upgrade to the latest version supported by + # the server. + # Corresponds to the JSON property `desiredNodeVersion` + # @return [String] + attr_accessor :desired_node_version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config) + @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type) + @desired_locations = args[:desired_locations] if args.key?(:desired_locations) + @desired_master_authorized_networks_config = args[:desired_master_authorized_networks_config] if args.key?(:desired_master_authorized_networks_config) + @desired_master_version = args[:desired_master_version] if args.key?(:desired_master_version) + @desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service) + @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling) + @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id) + @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version) + end + end + + # CompleteIPRotationRequest moves the cluster master back into single-IP mode. + class CompleteIpRotationRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # CreateClusterRequest creates a cluster. + class CreateClusterRequest + include Google::Apis::Core::Hashable + + # A Google Container Engine cluster. + # Corresponds to the JSON property `cluster` + # @return [Google::Apis::ContainerV1::Cluster] + attr_accessor :cluster + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cluster = args[:cluster] if args.key?(:cluster) end end @@ -450,253 +603,38 @@ module Google end end - # ListOperationsResponse is the result of ListOperationsRequest. - class ListOperationsResponse + # 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 - # A list of operations in the project in the specified zone. - # Corresponds to the JSON property `operations` - # @return [Array] - attr_accessor :operations - - # If any zones are listed here, the list of operations returned - # may be missing the operations from those zones. - # Corresponds to the JSON property `missingZones` - # @return [Array] - attr_accessor :missing_zones - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @operations = args[:operations] if args.key?(:operations) - @missing_zones = args[:missing_zones] if args.key?(:missing_zones) end end - # SetMonitoringServiceRequest sets the monitoring service of a cluster. - class SetMonitoringServiceRequest + # Configuration options for the horizontal pod autoscaling feature, which + # increases or decreases the number of replica pods a replication controller + # has based on the resource usage of the existing pods. + class HorizontalPodAutoscaling include Google::Apis::Core::Hashable - # The monitoring service the cluster should use to write metrics. - # Currently available options: - # * "monitoring.googleapis.com" - the Google Cloud Monitoring service - # * "none" - no metrics will be exported from the cluster - # Corresponds to the JSON property `monitoringService` - # @return [String] - attr_accessor :monitoring_service - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @monitoring_service = args[:monitoring_service] if args.key?(:monitoring_service) - end - end - - # Container Engine service configuration. - class ServerConfig - include Google::Apis::Core::Hashable - - # List of valid master versions. - # Corresponds to the JSON property `validMasterVersions` - # @return [Array] - attr_accessor :valid_master_versions - - # Default image type. - # Corresponds to the JSON property `defaultImageType` - # @return [String] - attr_accessor :default_image_type - - # Version of Kubernetes the service deploys by default. - # Corresponds to the JSON property `defaultClusterVersion` - # @return [String] - attr_accessor :default_cluster_version - - # List of valid image types. - # Corresponds to the JSON property `validImageTypes` - # @return [Array] - attr_accessor :valid_image_types - - # List of valid node upgrade target versions. - # Corresponds to the JSON property `validNodeVersions` - # @return [Array] - attr_accessor :valid_node_versions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @valid_master_versions = args[:valid_master_versions] if args.key?(:valid_master_versions) - @default_image_type = args[:default_image_type] if args.key?(:default_image_type) - @default_cluster_version = args[:default_cluster_version] if args.key?(:default_cluster_version) - @valid_image_types = args[:valid_image_types] if args.key?(:valid_image_types) - @valid_node_versions = args[:valid_node_versions] if args.key?(:valid_node_versions) - end - end - - # The authentication information for accessing the master endpoint. - # Authentication can be done using HTTP basic auth or using client - # certificates. - class MasterAuth - include Google::Apis::Core::Hashable - - # [Output only] Base64-encoded public certificate used by clients to - # authenticate to the cluster endpoint. - # Corresponds to the JSON property `clientCertificate` - # @return [String] - attr_accessor :client_certificate - - # The username to use for HTTP basic authentication to the master endpoint. - # For clusters v1.6.0 and later, you can disable basic authentication by - # providing an empty username. - # Corresponds to the JSON property `username` - # @return [String] - attr_accessor :username - - # The password to use for HTTP basic authentication to the master endpoint. - # Because the master endpoint is open to the Internet, you should create a - # strong password. If a password is provided for cluster creation, username - # must be non-empty. - # Corresponds to the JSON property `password` - # @return [String] - attr_accessor :password - - # Configuration for client certificates on the cluster. - # Corresponds to the JSON property `clientCertificateConfig` - # @return [Google::Apis::ContainerV1::ClientCertificateConfig] - attr_accessor :client_certificate_config - - # [Output only] Base64-encoded private key used by clients to authenticate - # to the cluster endpoint. - # Corresponds to the JSON property `clientKey` - # @return [String] - attr_accessor :client_key - - # [Output only] Base64-encoded public certificate that is the root of - # trust for the cluster. - # Corresponds to the JSON property `clusterCaCertificate` - # @return [String] - attr_accessor :cluster_ca_certificate - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @client_certificate = args[:client_certificate] if args.key?(:client_certificate) - @username = args[:username] if args.key?(:username) - @password = args[:password] if args.key?(:password) - @client_certificate_config = args[:client_certificate_config] if args.key?(:client_certificate_config) - @client_key = args[:client_key] if args.key?(:client_key) - @cluster_ca_certificate = args[:cluster_ca_certificate] if args.key?(:cluster_ca_certificate) - end - end - - # Parameters that describe the nodes in a cluster. - class NodeConfig - include Google::Apis::Core::Hashable - - # Whether the nodes are created as preemptible VM instances. See: - # https://cloud.google.com/compute/docs/instances/preemptible for more - # information about preemptible VM instances. - # Corresponds to the JSON property `preemptible` + # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. + # When enabled, it ensures that a Heapster pod is running in the cluster, + # which is also used by the Cloud Monitoring service. + # Corresponds to the JSON property `disabled` # @return [Boolean] - attr_accessor :preemptible - alias_method :preemptible?, :preemptible - - # The map of Kubernetes labels (key/value pairs) to be applied to each node. - # These will added in addition to any default label(s) that - # Kubernetes may apply to the node. - # In case of conflict in label keys, the applied set may differ depending on - # the Kubernetes version -- it's best to assume the behavior is undefined - # and conflicts should be avoided. - # For more information, including usage and the valid values, see: - # http://kubernetes.io/v1.1/docs/user-guide/labels.html - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # The number of local SSD disks to be attached to the node. - # The limit for this value is dependant upon the maximum number of - # disks available on a machine per zone. See: - # https://cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits - # for more information. - # Corresponds to the JSON property `localSsdCount` - # @return [Fixnum] - attr_accessor :local_ssd_count - - # The metadata key/value pairs assigned to instances in the cluster. - # Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes - # in length. These are reflected as part of a URL in the metadata server. - # Additionally, to avoid ambiguity, keys must not conflict with any other - # metadata keys for the project or be one of the four reserved keys: - # "instance-template", "kube-env", "startup-script", and "user-data" - # Values are free-form strings, and only have meaning as interpreted by - # the image running in the instance. The only restriction placed on them is - # that each value's size must be less than or equal to 32 KB. - # The total size of all keys and values must be less than 512 KB. - # Corresponds to the JSON property `metadata` - # @return [Hash] - attr_accessor :metadata - - # Size of the disk attached to each node, specified in GB. - # The smallest allowed disk size is 10GB. - # If unspecified, the default disk size is 100GB. - # Corresponds to the JSON property `diskSizeGb` - # @return [Fixnum] - attr_accessor :disk_size_gb - - # The list of instance tags applied to all nodes. Tags are used to identify - # valid sources or targets for network firewalls and are specified by - # the client during cluster or node pool creation. Each tag within the list - # must comply with RFC1035. - # Corresponds to the JSON property `tags` - # @return [Array] - attr_accessor :tags - - # The Google Cloud Platform Service Account to be used by the node VMs. If - # no Service Account is specified, the "default" service account is used. - # Corresponds to the JSON property `serviceAccount` - # @return [String] - attr_accessor :service_account - - # The name of a Google Compute Engine [machine - # type](/compute/docs/machine-types) (e.g. - # `n1-standard-1`). - # If unspecified, the default machine type is - # `n1-standard-1`. - # Corresponds to the JSON property `machineType` - # @return [String] - attr_accessor :machine_type - - # The image type to use for this node. Note that for a given image type, - # the latest version of it will be used. - # Corresponds to the JSON property `imageType` - # @return [String] - attr_accessor :image_type - - # The set of Google API scopes to be made available on all of the - # node VMs under the "default" service account. - # The following scopes are recommended, but not required, and by default are - # not included: - # * `https://www.googleapis.com/auth/compute` is required for mounting - # persistent storage on your nodes. - # * `https://www.googleapis.com/auth/devstorage.read_only` is required for - # communicating with **gcr.io** - # (the [Google Container Registry](/container-registry/)). - # If unspecified, no scopes are added, unless Cloud Logging or Cloud - # Monitoring are enabled, in which case their required scopes will be added. - # Corresponds to the JSON property `oauthScopes` - # @return [Array] - attr_accessor :oauth_scopes + attr_accessor :disabled + alias_method :disabled?, :disabled def initialize(**args) update!(**args) @@ -704,36 +642,22 @@ module Google # Update properties of this object def update!(**args) - @preemptible = args[:preemptible] if args.key?(:preemptible) - @labels = args[:labels] if args.key?(:labels) - @local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count) - @metadata = args[:metadata] if args.key?(:metadata) - @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb) - @tags = args[:tags] if args.key?(:tags) - @service_account = args[:service_account] if args.key?(:service_account) - @machine_type = args[:machine_type] if args.key?(:machine_type) - @image_type = args[:image_type] if args.key?(:image_type) - @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes) + @disabled = args[:disabled] if args.key?(:disabled) end end - # AutoUpgradeOptions defines the set of options for the user to control how - # the Auto Upgrades will proceed. - class AutoUpgradeOptions + # Configuration options for the HTTP (L7) load balancing controller addon, + # which makes it easy to set up HTTP load balancers for services in a cluster. + class HttpLoadBalancing include Google::Apis::Core::Hashable - # [Output only] This field is set when upgrades are about to commence - # with the description of the upgrade. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # [Output only] This field is set when upgrades are about to commence - # with the approximate start time for the upgrades, in - # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. - # Corresponds to the JSON property `autoUpgradeStartTime` - # @return [String] - attr_accessor :auto_upgrade_start_time + # Whether the HTTP Load Balancing controller is enabled in the cluster. + # When enabled, it runs a small pod in the cluster that manages the load + # balancers. + # Corresponds to the JSON property `disabled` + # @return [Boolean] + attr_accessor :disabled + alias_method :disabled?, :disabled def initialize(**args) update!(**args) @@ -741,8 +665,131 @@ module Google # Update properties of this object def update!(**args) - @description = args[:description] if args.key?(:description) - @auto_upgrade_start_time = args[:auto_upgrade_start_time] if args.key?(:auto_upgrade_start_time) + @disabled = args[:disabled] if args.key?(:disabled) + end + end + + # Configuration for controlling how IPs are allocated in the cluster. + class IpAllocationPolicy + include Google::Apis::Core::Hashable + + # The IP address range for the cluster pod IPs. If this field is set, then + # `cluster.cluster_ipv4_cidr` must be left blank. + # This field is only applicable when `use_ip_aliases` is true. + # Set to blank to have a range will be chosen with the default size. + # Set to /netmask (e.g. `/14`) to have a range be chosen with a specific + # netmask. + # Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) + # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. + # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range + # to use. + # Corresponds to the JSON property `clusterIpv4Cidr` + # @return [String] + attr_accessor :cluster_ipv4_cidr + + # Whether a new subnetwork will be created automatically for the cluster. + # This field is only applicable when `use_ip_aliases` is true. + # Corresponds to the JSON property `createSubnetwork` + # @return [Boolean] + attr_accessor :create_subnetwork + alias_method :create_subnetwork?, :create_subnetwork + + # The IP address range of the instance IPs in this cluster. + # This is applicable only if `create_subnetwork` is true. + # Set to blank to have a range will be chosen with the default size. + # Set to /netmask (e.g. `/14`) to have a range be chosen with a specific + # netmask. + # Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) + # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. + # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range + # to use. + # Corresponds to the JSON property `nodeIpv4Cidr` + # @return [String] + attr_accessor :node_ipv4_cidr + + # The IP address range of the services IPs in this cluster. If blank, a range + # will be automatically chosen with the default size. + # This field is only applicable when `use_ip_aliases` is true. + # Set to blank to have a range will be chosen with the default size. + # Set to /netmask (e.g. `/14`) to have a range be chosen with a specific + # netmask. + # Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) + # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. + # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range + # to use. + # Corresponds to the JSON property `servicesIpv4Cidr` + # @return [String] + attr_accessor :services_ipv4_cidr + + # A custom subnetwork name to be used if `create_subnetwork` is true. If + # this field is empty, then an automatic name will be chosen for the new + # subnetwork. + # Corresponds to the JSON property `subnetworkName` + # @return [String] + attr_accessor :subnetwork_name + + # Whether alias IPs will be used for pod IPs in the cluster. + # Corresponds to the JSON property `useIpAliases` + # @return [Boolean] + attr_accessor :use_ip_aliases + alias_method :use_ip_aliases?, :use_ip_aliases + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr) + @create_subnetwork = args[:create_subnetwork] if args.key?(:create_subnetwork) + @node_ipv4_cidr = args[:node_ipv4_cidr] if args.key?(:node_ipv4_cidr) + @services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr) + @subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name) + @use_ip_aliases = args[:use_ip_aliases] if args.key?(:use_ip_aliases) + end + end + + # Configuration for the Kubernetes Dashboard. + class KubernetesDashboard + include Google::Apis::Core::Hashable + + # Whether the Kubernetes Dashboard is enabled for this cluster. + # Corresponds to the JSON property `disabled` + # @return [Boolean] + attr_accessor :disabled + alias_method :disabled?, :disabled + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @disabled = args[:disabled] if args.key?(:disabled) + end + end + + # Configuration for the legacy Attribute Based Access Control authorization + # mode. + class LegacyAbac + include Google::Apis::Core::Hashable + + # Whether the ABAC authorizer is enabled for this cluster. When enabled, + # identities in the system, including service accounts, nodes, and + # controllers, will have statically granted permissions beyond those + # provided by the RBAC configuration or IAM. + # Corresponds to the JSON property `enabled` + # @return [Boolean] + attr_accessor :enabled + alias_method :enabled?, :enabled + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enabled = args[:enabled] if args.key?(:enabled) end end @@ -773,417 +820,6 @@ module Google end end - # Configuration options for the HTTP (L7) load balancing controller addon, - # which makes it easy to set up HTTP load balancers for services in a cluster. - class HttpLoadBalancing - include Google::Apis::Core::Hashable - - # Whether the HTTP Load Balancing controller is enabled in the cluster. - # When enabled, it runs a small pod in the cluster that manages the load - # balancers. - # Corresponds to the JSON property `disabled` - # @return [Boolean] - attr_accessor :disabled - alias_method :disabled?, :disabled - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @disabled = args[:disabled] if args.key?(:disabled) - end - end - - # Configuration for client certificates on the cluster. - class ClientCertificateConfig - include Google::Apis::Core::Hashable - - # Issue a client certificate. - # Corresponds to the JSON property `issueClientCertificate` - # @return [Boolean] - attr_accessor :issue_client_certificate - alias_method :issue_client_certificate?, :issue_client_certificate - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @issue_client_certificate = args[:issue_client_certificate] if args.key?(:issue_client_certificate) - end - end - - # NodePoolAutoscaling contains information required by cluster autoscaler to - # adjust the size of the node pool to the current cluster usage. - class NodePoolAutoscaling - include Google::Apis::Core::Hashable - - # Maximum number of nodes in the NodePool. Must be >= min_node_count. There - # has to enough quota to scale up the cluster. - # Corresponds to the JSON property `maxNodeCount` - # @return [Fixnum] - attr_accessor :max_node_count - - # Minimum number of nodes in the NodePool. Must be >= 1 and <= - # max_node_count. - # Corresponds to the JSON property `minNodeCount` - # @return [Fixnum] - attr_accessor :min_node_count - - # Is autoscaling enabled for this node pool. - # Corresponds to the JSON property `enabled` - # @return [Boolean] - attr_accessor :enabled - alias_method :enabled?, :enabled - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @max_node_count = args[:max_node_count] if args.key?(:max_node_count) - @min_node_count = args[:min_node_count] if args.key?(:min_node_count) - @enabled = args[:enabled] if args.key?(:enabled) - end - end - - # SetMasterAuthRequest updates the admin password of a cluster. - class SetMasterAuthRequest - include Google::Apis::Core::Hashable - - # The authentication information for accessing the master endpoint. - # Authentication can be done using HTTP basic auth or using client - # certificates. - # Corresponds to the JSON property `update` - # @return [Google::Apis::ContainerV1::MasterAuth] - attr_accessor :update - - # The exact form of action to be taken on the master auth - # Corresponds to the JSON property `action` - # @return [String] - attr_accessor :action - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @update = args[:update] if args.key?(:update) - @action = args[:action] if args.key?(:action) - end - end - - # SetNetworkPolicyRequest enables/disables network policy for a cluster. - class SetNetworkPolicyRequest - include Google::Apis::Core::Hashable - - # Configuration options for the NetworkPolicy feature. - # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/ - # Corresponds to the JSON property `networkPolicy` - # @return [Google::Apis::ContainerV1::NetworkPolicy] - attr_accessor :network_policy - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @network_policy = args[:network_policy] if args.key?(:network_policy) - end - end - - # ClusterUpdate describes an update to the cluster. Exactly one update can - # be applied to a cluster with each request, so at most one field can be - # provided. - class ClusterUpdate - include Google::Apis::Core::Hashable - - # The desired list of Google Compute Engine - # [locations](/compute/docs/zones#available) in which the cluster's nodes - # should be located. Changing the locations a cluster is in will result - # in nodes being either created or removed from the cluster, depending on - # whether locations are being added or removed. - # This list must always include the cluster's primary zone. - # Corresponds to the JSON property `desiredLocations` - # @return [Array] - attr_accessor :desired_locations - - # NodePoolAutoscaling contains information required by cluster autoscaler to - # adjust the size of the node pool to the current cluster usage. - # Corresponds to the JSON property `desiredNodePoolAutoscaling` - # @return [Google::Apis::ContainerV1::NodePoolAutoscaling] - attr_accessor :desired_node_pool_autoscaling - - # The monitoring service the cluster should use to write metrics. - # Currently available options: - # * "monitoring.googleapis.com" - the Google Cloud Monitoring service - # * "none" - no metrics will be exported from the cluster - # Corresponds to the JSON property `desiredMonitoringService` - # @return [String] - attr_accessor :desired_monitoring_service - - # The desired image type for the node pool. - # NOTE: Set the "desired_node_pool" field as well. - # Corresponds to the JSON property `desiredImageType` - # @return [String] - attr_accessor :desired_image_type - - # Configuration for the addons that can be automatically spun up in the - # cluster, enabling additional functionality. - # Corresponds to the JSON property `desiredAddonsConfig` - # @return [Google::Apis::ContainerV1::AddonsConfig] - attr_accessor :desired_addons_config - - # The node pool to be upgraded. This field is mandatory if - # "desired_node_version", "desired_image_family" or - # "desired_node_pool_autoscaling" is specified and there is more than one - # node pool on the cluster. - # Corresponds to the JSON property `desiredNodePoolId` - # @return [String] - attr_accessor :desired_node_pool_id - - # The Kubernetes version to change the nodes to (typically an - # upgrade). Use `-` to upgrade to the latest version supported by - # the server. - # Corresponds to the JSON property `desiredNodeVersion` - # @return [String] - attr_accessor :desired_node_version - - # The Kubernetes version to change the master to. The only valid value is the - # latest supported version. Use "-" to have the server automatically select - # the latest version. - # Corresponds to the JSON property `desiredMasterVersion` - # @return [String] - attr_accessor :desired_master_version - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @desired_locations = args[:desired_locations] if args.key?(:desired_locations) - @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling) - @desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service) - @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type) - @desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config) - @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id) - @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version) - @desired_master_version = args[:desired_master_version] if args.key?(:desired_master_version) - end - end - - # Configuration for controlling how IPs are allocated in the cluster. - class IpAllocationPolicy - include Google::Apis::Core::Hashable - - # Whether a new subnetwork will be created automatically for the cluster. - # This field is only applicable when `use_ip_aliases` is true. - # Corresponds to the JSON property `createSubnetwork` - # @return [Boolean] - attr_accessor :create_subnetwork - alias_method :create_subnetwork?, :create_subnetwork - - # Whether alias IPs will be used for pod IPs in the cluster. - # Corresponds to the JSON property `useIpAliases` - # @return [Boolean] - attr_accessor :use_ip_aliases - alias_method :use_ip_aliases?, :use_ip_aliases - - # A custom subnetwork name to be used if `create_subnetwork` is true. If - # this field is empty, then an automatic name will choosen for the new - # subnetwork. - # Corresponds to the JSON property `subnetworkName` - # @return [String] - attr_accessor :subnetwork_name - - # The IP address range for the cluster pod IPs. If this field is set, then - # `cluster.cluster_ipv4_cidr` must be left blank. - # This field is only applicable when `use_ip_aliases` is true. - # Set to blank to have a range will be chosen with the default size. - # Set to /netmask (e.g. `/14`) to have a range be chosen with a specific - # netmask. - # Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) - # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. - # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range - # to use. - # Corresponds to the JSON property `clusterIpv4Cidr` - # @return [String] - attr_accessor :cluster_ipv4_cidr - - # The IP address range of the instance IPs in this cluster. - # This is applicable only if `create_subnetwork` is true. - # Set to blank to have a range will be chosen with the default size. - # Set to /netmask (e.g. `/14`) to have a range be chosen with a specific - # netmask. - # Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) - # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. - # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range - # to use. - # Corresponds to the JSON property `nodeIpv4Cidr` - # @return [String] - attr_accessor :node_ipv4_cidr - - # The IP address range of the services IPs in this cluster. If blank, a range - # will be automatically chosen with the default size. - # This field is only applicable when `use_ip_aliases` is true. - # Set to blank to have a range will be chosen with the default size. - # Set to /netmask (e.g. `/14`) to have a range be chosen with a specific - # netmask. - # Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) - # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. - # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range - # to use. - # Corresponds to the JSON property `servicesIpv4Cidr` - # @return [String] - attr_accessor :services_ipv4_cidr - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @create_subnetwork = args[:create_subnetwork] if args.key?(:create_subnetwork) - @use_ip_aliases = args[:use_ip_aliases] if args.key?(:use_ip_aliases) - @subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name) - @cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr) - @node_ipv4_cidr = args[:node_ipv4_cidr] if args.key?(:node_ipv4_cidr) - @services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr) - end - end - - # SetLoggingServiceRequest sets the logging service of a cluster. - class SetLoggingServiceRequest - include Google::Apis::Core::Hashable - - # The logging service the cluster should use to write metrics. - # Currently available options: - # * "logging.googleapis.com" - the Google Cloud Logging service - # * "none" - no metrics will be exported from the cluster - # Corresponds to the JSON property `loggingService` - # @return [String] - attr_accessor :logging_service - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @logging_service = args[:logging_service] if args.key?(:logging_service) - end - end - - # Configuration options for the horizontal pod autoscaling feature, which - # increases or decreases the number of replica pods a replication controller - # has based on the resource usage of the existing pods. - class HorizontalPodAutoscaling - include Google::Apis::Core::Hashable - - # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. - # When enabled, it ensures that a Heapster pod is running in the cluster, - # which is also used by the Cloud Monitoring service. - # Corresponds to the JSON property `disabled` - # @return [Boolean] - attr_accessor :disabled - alias_method :disabled?, :disabled - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @disabled = args[:disabled] if args.key?(:disabled) - 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 - - # SetNodePoolManagementRequest sets the node management properties of a node - # pool. - class SetNodePoolManagementRequest - include Google::Apis::Core::Hashable - - # NodeManagement defines the set of node management services turned on for the - # node pool. - # Corresponds to the JSON property `management` - # @return [Google::Apis::ContainerV1::NodeManagement] - attr_accessor :management - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @management = args[:management] if args.key?(:management) - end - end - - # SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool. - class SetNodePoolAutoscalingRequest - include Google::Apis::Core::Hashable - - # NodePoolAutoscaling contains information required by cluster autoscaler to - # adjust the size of the node pool to the current cluster usage. - # Corresponds to the JSON property `autoscaling` - # @return [Google::Apis::ContainerV1::NodePoolAutoscaling] - attr_accessor :autoscaling - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @autoscaling = args[:autoscaling] if args.key?(:autoscaling) - end - end - - # CreateClusterRequest creates a cluster. - class CreateClusterRequest - include Google::Apis::Core::Hashable - - # A Google Container Engine cluster. - # Corresponds to the JSON property `cluster` - # @return [Google::Apis::ContainerV1::Cluster] - attr_accessor :cluster - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @cluster = args[:cluster] if args.key?(:cluster) - end - end - # ListNodePoolsResponse is the result of ListNodePoolsRequest. class ListNodePoolsResponse include Google::Apis::Core::Hashable @@ -1203,48 +839,75 @@ module Google end end - # CompleteIPRotationRequest moves the cluster master back into single-IP mode. - class CompleteIpRotationRequest + # ListOperationsResponse is the result of ListOperationsRequest. + class ListOperationsResponse include Google::Apis::Core::Hashable + # If any zones are listed here, the list of operations returned + # may be missing the operations from those zones. + # Corresponds to the JSON property `missingZones` + # @return [Array] + attr_accessor :missing_zones + + # A list of operations in the project in the specified zone. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @missing_zones = args[:missing_zones] if args.key?(:missing_zones) + @operations = args[:operations] if args.key?(:operations) end end - # StartIPRotationRequest creates a new IP for the cluster and then performs - # a node upgrade on each node pool to point to the new IP. - class StartIpRotationRequest + # The authentication information for accessing the master endpoint. + # Authentication can be done using HTTP basic auth or using client + # certificates. + class MasterAuth include Google::Apis::Core::Hashable - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # UpdateNodePoolRequests update a node pool's image and/or version. - class UpdateNodePoolRequest - include Google::Apis::Core::Hashable - - # The desired image type for the node pool. - # Corresponds to the JSON property `imageType` + # [Output only] Base64-encoded public certificate used by clients to + # authenticate to the cluster endpoint. + # Corresponds to the JSON property `clientCertificate` # @return [String] - attr_accessor :image_type + attr_accessor :client_certificate - # The Kubernetes version to change the nodes to (typically an - # upgrade). Use `-` to upgrade to the latest version supported by - # the server. - # Corresponds to the JSON property `nodeVersion` + # Configuration for client certificates on the cluster. + # Corresponds to the JSON property `clientCertificateConfig` + # @return [Google::Apis::ContainerV1::ClientCertificateConfig] + attr_accessor :client_certificate_config + + # [Output only] Base64-encoded private key used by clients to authenticate + # to the cluster endpoint. + # Corresponds to the JSON property `clientKey` # @return [String] - attr_accessor :node_version + attr_accessor :client_key + + # [Output only] Base64-encoded public certificate that is the root of + # trust for the cluster. + # Corresponds to the JSON property `clusterCaCertificate` + # @return [String] + attr_accessor :cluster_ca_certificate + + # The password to use for HTTP basic authentication to the master endpoint. + # Because the master endpoint is open to the Internet, you should create a + # strong password. If a password is provided for cluster creation, username + # must be non-empty. + # Corresponds to the JSON property `password` + # @return [String] + attr_accessor :password + + # The username to use for HTTP basic authentication to the master endpoint. + # For clusters v1.6.0 and later, you can disable basic authentication by + # providing an empty username. + # Corresponds to the JSON property `username` + # @return [String] + attr_accessor :username def initialize(**args) update!(**args) @@ -1252,20 +915,30 @@ module Google # Update properties of this object def update!(**args) - @image_type = args[:image_type] if args.key?(:image_type) - @node_version = args[:node_version] if args.key?(:node_version) + @client_certificate = args[:client_certificate] if args.key?(:client_certificate) + @client_certificate_config = args[:client_certificate_config] if args.key?(:client_certificate_config) + @client_key = args[:client_key] if args.key?(:client_key) + @cluster_ca_certificate = args[:cluster_ca_certificate] if args.key?(:cluster_ca_certificate) + @password = args[:password] if args.key?(:password) + @username = args[:username] if args.key?(:username) end end - # Configuration for the legacy Attribute Based Access Control authorization - # mode. - class LegacyAbac + # Master authorized networks is a Beta feature. + # Configuration options for the master authorized networks feature. Enabled + # master authorized networks will disallow all external traffic to access + # Kubernetes master through HTTPS except traffic from the given CIDR blocks, + # Google Compute Engine Public IPs and Google Prod IPs. + class MasterAuthorizedNetworksConfig include Google::Apis::Core::Hashable - # Whether the ABAC authorizer is enabled for this cluster. When enabled, - # identities in the system, including service accounts, nodes, and - # controllers, will have statically granted permissions beyond those - # provided by the RBAC configuration or IAM. + # cidr_blocks define up to 10 external networks that could access + # Kubernetes master through HTTPS. + # Corresponds to the JSON property `cidrBlocks` + # @return [Array] + attr_accessor :cidr_blocks + + # Whether or not master authorized networks is enabled. # Corresponds to the JSON property `enabled` # @return [Boolean] attr_accessor :enabled @@ -1277,19 +950,26 @@ module Google # Update properties of this object def update!(**args) + @cidr_blocks = args[:cidr_blocks] if args.key?(:cidr_blocks) @enabled = args[:enabled] if args.key?(:enabled) end end - # SetAddonsConfigRequest sets the addons associated with the cluster. - class SetAddonsConfigRequest + # Configuration options for the NetworkPolicy feature. + # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/ + class NetworkPolicy include Google::Apis::Core::Hashable - # Configuration for the addons that can be automatically spun up in the - # cluster, enabling additional functionality. - # Corresponds to the JSON property `addonsConfig` - # @return [Google::Apis::ContainerV1::AddonsConfig] - attr_accessor :addons_config + # Whether network policy is enabled on the cluster. + # Corresponds to the JSON property `enabled` + # @return [Boolean] + attr_accessor :enabled + alias_method :enabled?, :enabled + + # The selected network policy provider. + # Corresponds to the JSON property `provider` + # @return [String] + attr_accessor :provider def initialize(**args) update!(**args) @@ -1297,116 +977,115 @@ module Google # Update properties of this object def update!(**args) - @addons_config = args[:addons_config] if args.key?(:addons_config) + @enabled = args[:enabled] if args.key?(:enabled) + @provider = args[:provider] if args.key?(:provider) end end - # NodePool contains the name and configuration for a cluster's node pool. - # Node pools are a set of nodes (i.e. VM's), with a common configuration and - # specification, under the control of the cluster master. They may have a set - # of Kubernetes labels applied to them, which may be used to reference them - # during pod scheduling. They may also be resized up or down, to accommodate - # the workload. - class NodePool + # Parameters that describe the nodes in a cluster. + class NodeConfig include Google::Apis::Core::Hashable - # The name of the node pool. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name + # A list of hardware accelerators to be attached to each node. + # See https://cloud.google.com/compute/docs/gpus for more information about + # support for GPUs. + # Corresponds to the JSON property `accelerators` + # @return [Array] + attr_accessor :accelerators - # [Output only] Additional information about the current status of this - # node pool instance, if available. - # Corresponds to the JSON property `statusMessage` - # @return [String] - attr_accessor :status_message - - # NodePoolAutoscaling contains information required by cluster autoscaler to - # adjust the size of the node pool to the current cluster usage. - # Corresponds to the JSON property `autoscaling` - # @return [Google::Apis::ContainerV1::NodePoolAutoscaling] - attr_accessor :autoscaling - - # NodeManagement defines the set of node management services turned on for the - # node pool. - # Corresponds to the JSON property `management` - # @return [Google::Apis::ContainerV1::NodeManagement] - attr_accessor :management - - # The initial node count for the pool. You must ensure that your - # Compute Engine resource quota - # is sufficient for this number of instances. You must also have available - # firewall and routes quota. - # Corresponds to the JSON property `initialNodeCount` + # Size of the disk attached to each node, specified in GB. + # The smallest allowed disk size is 10GB. + # If unspecified, the default disk size is 100GB. + # Corresponds to the JSON property `diskSizeGb` # @return [Fixnum] - attr_accessor :initial_node_count + attr_accessor :disk_size_gb - # [Output only] Server-defined URL for the resource. - # Corresponds to the JSON property `selfLink` + # The image type to use for this node. Note that for a given image type, + # the latest version of it will be used. + # Corresponds to the JSON property `imageType` # @return [String] - attr_accessor :self_link + attr_accessor :image_type - # [Output only] The version of the Kubernetes of this node. - # Corresponds to the JSON property `version` - # @return [String] - attr_accessor :version - - # [Output only] The resource URLs of [instance - # groups](/compute/docs/instance-groups/) associated with this - # node pool. - # Corresponds to the JSON property `instanceGroupUrls` - # @return [Array] - attr_accessor :instance_group_urls - - # [Output only] The status of the nodes in this pool instance. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - # Parameters that describe the nodes in a cluster. - # Corresponds to the JSON property `config` - # @return [Google::Apis::ContainerV1::NodeConfig] - attr_accessor :config - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @status_message = args[:status_message] if args.key?(:status_message) - @autoscaling = args[:autoscaling] if args.key?(:autoscaling) - @management = args[:management] if args.key?(:management) - @initial_node_count = args[:initial_node_count] if args.key?(:initial_node_count) - @self_link = args[:self_link] if args.key?(:self_link) - @version = args[:version] if args.key?(:version) - @instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls) - @status = args[:status] if args.key?(:status) - @config = args[:config] if args.key?(:config) - end - end - - # SetLabelsRequest sets the Google Cloud Platform labels on a Google Container - # Engine cluster, which will in turn set them for Google Compute Engine - # resources used by that cluster - class SetLabelsRequest - include Google::Apis::Core::Hashable - - # The fingerprint of the previous set of labels for this resource, - # used to detect conflicts. The fingerprint is initially generated by - # Container Engine and changes after every request to modify or update - # labels. You must always provide an up-to-date fingerprint hash when - # updating or changing labels. Make a get() request to the - # resource to get the latest fingerprint. - # Corresponds to the JSON property `labelFingerprint` - # @return [String] - attr_accessor :label_fingerprint - - # The labels to set for that cluster. - # Corresponds to the JSON property `resourceLabels` + # The map of Kubernetes labels (key/value pairs) to be applied to each node. + # These will added in addition to any default label(s) that + # Kubernetes may apply to the node. + # In case of conflict in label keys, the applied set may differ depending on + # the Kubernetes version -- it's best to assume the behavior is undefined + # and conflicts should be avoided. + # For more information, including usage and the valid values, see: + # http://kubernetes.io/v1.1/docs/user-guide/labels.html + # Corresponds to the JSON property `labels` # @return [Hash] - attr_accessor :resource_labels + attr_accessor :labels + + # The number of local SSD disks to be attached to the node. + # The limit for this value is dependant upon the maximum number of + # disks available on a machine per zone. See: + # https://cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits + # for more information. + # Corresponds to the JSON property `localSsdCount` + # @return [Fixnum] + attr_accessor :local_ssd_count + + # The name of a Google Compute Engine [machine + # type](/compute/docs/machine-types) (e.g. + # `n1-standard-1`). + # If unspecified, the default machine type is + # `n1-standard-1`. + # Corresponds to the JSON property `machineType` + # @return [String] + attr_accessor :machine_type + + # The metadata key/value pairs assigned to instances in the cluster. + # Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes + # in length. These are reflected as part of a URL in the metadata server. + # Additionally, to avoid ambiguity, keys must not conflict with any other + # metadata keys for the project or be one of the four reserved keys: + # "instance-template", "kube-env", "startup-script", and "user-data" + # Values are free-form strings, and only have meaning as interpreted by + # the image running in the instance. The only restriction placed on them is + # that each value's size must be less than or equal to 32 KB. + # The total size of all keys and values must be less than 512 KB. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # The set of Google API scopes to be made available on all of the + # node VMs under the "default" service account. + # The following scopes are recommended, but not required, and by default are + # not included: + # * `https://www.googleapis.com/auth/compute` is required for mounting + # persistent storage on your nodes. + # * `https://www.googleapis.com/auth/devstorage.read_only` is required for + # communicating with **gcr.io** + # (the [Google Container Registry](/container-registry/)). + # If unspecified, no scopes are added, unless Cloud Logging or Cloud + # Monitoring are enabled, in which case their required scopes will be added. + # Corresponds to the JSON property `oauthScopes` + # @return [Array] + attr_accessor :oauth_scopes + + # Whether the nodes are created as preemptible VM instances. See: + # https://cloud.google.com/compute/docs/instances/preemptible for more + # information about preemptible VM instances. + # Corresponds to the JSON property `preemptible` + # @return [Boolean] + attr_accessor :preemptible + alias_method :preemptible?, :preemptible + + # The Google Cloud Platform Service Account to be used by the node VMs. If + # no Service Account is specified, the "default" service account is used. + # Corresponds to the JSON property `serviceAccount` + # @return [String] + attr_accessor :service_account + + # The list of instance tags applied to all nodes. Tags are used to identify + # valid sources or targets for network firewalls and are specified by + # the client during cluster or node pool creation. Each tag within the list + # must comply with RFC1035. + # Corresponds to the JSON property `tags` + # @return [Array] + attr_accessor :tags def initialize(**args) update!(**args) @@ -1414,8 +1093,17 @@ module Google # Update properties of this object def update!(**args) - @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint) - @resource_labels = args[:resource_labels] if args.key?(:resource_labels) + @accelerators = args[:accelerators] if args.key?(:accelerators) + @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb) + @image_type = args[:image_type] if args.key?(:image_type) + @labels = args[:labels] if args.key?(:labels) + @local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count) + @machine_type = args[:machine_type] if args.key?(:machine_type) + @metadata = args[:metadata] if args.key?(:metadata) + @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes) + @preemptible = args[:preemptible] if args.key?(:preemptible) + @service_account = args[:service_account] if args.key?(:service_account) + @tags = args[:tags] if args.key?(:tags) end end @@ -1459,8 +1147,195 @@ module Google end end - # CancelOperationRequest cancels a single operation. - class CancelOperationRequest + # NodePool contains the name and configuration for a cluster's node pool. + # Node pools are a set of nodes (i.e. VM's), with a common configuration and + # specification, under the control of the cluster master. They may have a set + # of Kubernetes labels applied to them, which may be used to reference them + # during pod scheduling. They may also be resized up or down, to accommodate + # the workload. + class NodePool + include Google::Apis::Core::Hashable + + # NodePoolAutoscaling contains information required by cluster autoscaler to + # adjust the size of the node pool to the current cluster usage. + # Corresponds to the JSON property `autoscaling` + # @return [Google::Apis::ContainerV1::NodePoolAutoscaling] + attr_accessor :autoscaling + + # Parameters that describe the nodes in a cluster. + # Corresponds to the JSON property `config` + # @return [Google::Apis::ContainerV1::NodeConfig] + attr_accessor :config + + # The initial node count for the pool. You must ensure that your + # Compute Engine resource quota + # is sufficient for this number of instances. You must also have available + # firewall and routes quota. + # Corresponds to the JSON property `initialNodeCount` + # @return [Fixnum] + attr_accessor :initial_node_count + + # [Output only] The resource URLs of [instance + # groups](/compute/docs/instance-groups/) associated with this + # node pool. + # Corresponds to the JSON property `instanceGroupUrls` + # @return [Array] + attr_accessor :instance_group_urls + + # NodeManagement defines the set of node management services turned on for the + # node pool. + # Corresponds to the JSON property `management` + # @return [Google::Apis::ContainerV1::NodeManagement] + attr_accessor :management + + # The name of the node pool. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # [Output only] Server-defined URL for the resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # [Output only] The status of the nodes in this pool instance. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # [Output only] Additional information about the current status of this + # node pool instance, if available. + # Corresponds to the JSON property `statusMessage` + # @return [String] + attr_accessor :status_message + + # [Output only] The version of the Kubernetes of this node. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @autoscaling = args[:autoscaling] if args.key?(:autoscaling) + @config = args[:config] if args.key?(:config) + @initial_node_count = args[:initial_node_count] if args.key?(:initial_node_count) + @instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls) + @management = args[:management] if args.key?(:management) + @name = args[:name] if args.key?(:name) + @self_link = args[:self_link] if args.key?(:self_link) + @status = args[:status] if args.key?(:status) + @status_message = args[:status_message] if args.key?(:status_message) + @version = args[:version] if args.key?(:version) + end + end + + # NodePoolAutoscaling contains information required by cluster autoscaler to + # adjust the size of the node pool to the current cluster usage. + class NodePoolAutoscaling + include Google::Apis::Core::Hashable + + # Is autoscaling enabled for this node pool. + # Corresponds to the JSON property `enabled` + # @return [Boolean] + attr_accessor :enabled + alias_method :enabled?, :enabled + + # Maximum number of nodes in the NodePool. Must be >= min_node_count. There + # has to enough quota to scale up the cluster. + # Corresponds to the JSON property `maxNodeCount` + # @return [Fixnum] + attr_accessor :max_node_count + + # Minimum number of nodes in the NodePool. Must be >= 1 and <= + # max_node_count. + # Corresponds to the JSON property `minNodeCount` + # @return [Fixnum] + attr_accessor :min_node_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enabled = args[:enabled] if args.key?(:enabled) + @max_node_count = args[:max_node_count] if args.key?(:max_node_count) + @min_node_count = args[:min_node_count] if args.key?(:min_node_count) + end + end + + # This operation resource represents operations that may have happened or are + # happening on the cluster. All fields are output only. + class Operation + include Google::Apis::Core::Hashable + + # Detailed operation progress, if available. + # Corresponds to the JSON property `detail` + # @return [String] + attr_accessor :detail + + # The server-assigned ID for the operation. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The operation type. + # Corresponds to the JSON property `operationType` + # @return [String] + attr_accessor :operation_type + + # Server-defined URL for the resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # The current status of the operation. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # If an error has occurred, a textual description of the error. + # Corresponds to the JSON property `statusMessage` + # @return [String] + attr_accessor :status_message + + # Server-defined URL for the target of the operation. + # Corresponds to the JSON property `targetLink` + # @return [String] + attr_accessor :target_link + + # The name of the Google Compute Engine + # [zone](/compute/docs/zones#available) in which the operation + # is taking place. + # Corresponds to the JSON property `zone` + # @return [String] + attr_accessor :zone + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @detail = args[:detail] if args.key?(:detail) + @name = args[:name] if args.key?(:name) + @operation_type = args[:operation_type] if args.key?(:operation_type) + @self_link = args[:self_link] if args.key?(:self_link) + @status = args[:status] if args.key?(:status) + @status_message = args[:status_message] if args.key?(:status_message) + @target_link = args[:target_link] if args.key?(:target_link) + @zone = args[:zone] if args.key?(:zone) + end + end + + # RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed + # NodePool upgrade. This will be an no-op if the last upgrade successfully + # completed. + class RollbackNodePoolUpgradeRequest include Google::Apis::Core::Hashable def initialize(**args) @@ -1472,6 +1347,101 @@ module Google end end + # Container Engine service configuration. + class ServerConfig + include Google::Apis::Core::Hashable + + # Version of Kubernetes the service deploys by default. + # Corresponds to the JSON property `defaultClusterVersion` + # @return [String] + attr_accessor :default_cluster_version + + # Default image type. + # Corresponds to the JSON property `defaultImageType` + # @return [String] + attr_accessor :default_image_type + + # List of valid image types. + # Corresponds to the JSON property `validImageTypes` + # @return [Array] + attr_accessor :valid_image_types + + # List of valid master versions. + # Corresponds to the JSON property `validMasterVersions` + # @return [Array] + attr_accessor :valid_master_versions + + # List of valid node upgrade target versions. + # Corresponds to the JSON property `validNodeVersions` + # @return [Array] + attr_accessor :valid_node_versions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @default_cluster_version = args[:default_cluster_version] if args.key?(:default_cluster_version) + @default_image_type = args[:default_image_type] if args.key?(:default_image_type) + @valid_image_types = args[:valid_image_types] if args.key?(:valid_image_types) + @valid_master_versions = args[:valid_master_versions] if args.key?(:valid_master_versions) + @valid_node_versions = args[:valid_node_versions] if args.key?(:valid_node_versions) + end + end + + # SetAddonsConfigRequest sets the addons associated with the cluster. + class SetAddonsConfigRequest + include Google::Apis::Core::Hashable + + # Configuration for the addons that can be automatically spun up in the + # cluster, enabling additional functionality. + # Corresponds to the JSON property `addonsConfig` + # @return [Google::Apis::ContainerV1::AddonsConfig] + attr_accessor :addons_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @addons_config = args[:addons_config] if args.key?(:addons_config) + end + end + + # SetLabelsRequest sets the Google Cloud Platform labels on a Google Container + # Engine cluster, which will in turn set them for Google Compute Engine + # resources used by that cluster + class SetLabelsRequest + include Google::Apis::Core::Hashable + + # The fingerprint of the previous set of labels for this resource, + # used to detect conflicts. The fingerprint is initially generated by + # Container Engine and changes after every request to modify or update + # labels. You must always provide an up-to-date fingerprint hash when + # updating or changing labels. Make a get() request to the + # resource to get the latest fingerprint. + # Corresponds to the JSON property `labelFingerprint` + # @return [String] + attr_accessor :label_fingerprint + + # The labels to set for that cluster. + # Corresponds to the JSON property `resourceLabels` + # @return [Hash] + attr_accessor :resource_labels + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint) + @resource_labels = args[:resource_labels] if args.key?(:resource_labels) + end + end + # SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for # a cluster. class SetLegacyAbacRequest @@ -1493,52 +1463,19 @@ module Google end end - # This operation resource represents operations that may have happened or are - # happening on the cluster. All fields are output only. - class Operation + # SetLocationsRequest sets the locations of the cluster. + class SetLocationsRequest include Google::Apis::Core::Hashable - # The name of the Google Compute Engine - # [zone](/compute/docs/zones#available) in which the operation - # is taking place. - # Corresponds to the JSON property `zone` - # @return [String] - attr_accessor :zone - - # The current status of the operation. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - # If an error has occurred, a textual description of the error. - # Corresponds to the JSON property `statusMessage` - # @return [String] - attr_accessor :status_message - - # The server-assigned ID for the operation. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Server-defined URL for the resource. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - # Server-defined URL for the target of the operation. - # Corresponds to the JSON property `targetLink` - # @return [String] - attr_accessor :target_link - - # Detailed operation progress, if available. - # Corresponds to the JSON property `detail` - # @return [String] - attr_accessor :detail - - # The operation type. - # Corresponds to the JSON property `operationType` - # @return [String] - attr_accessor :operation_type + # The desired list of Google Compute Engine + # [locations](/compute/docs/zones#available) in which the cluster's nodes + # should be located. Changing the locations a cluster is in will result + # in nodes being either created or removed from the cluster, depending on + # whether locations are being added or removed. + # This list must always include the cluster's primary zone. + # Corresponds to the JSON property `locations` + # @return [Array] + attr_accessor :locations def initialize(**args) update!(**args) @@ -1546,34 +1483,21 @@ module Google # Update properties of this object def update!(**args) - @zone = args[:zone] if args.key?(:zone) - @status = args[:status] if args.key?(:status) - @status_message = args[:status_message] if args.key?(:status_message) - @name = args[:name] if args.key?(:name) - @self_link = args[:self_link] if args.key?(:self_link) - @target_link = args[:target_link] if args.key?(:target_link) - @detail = args[:detail] if args.key?(:detail) - @operation_type = args[:operation_type] if args.key?(:operation_type) + @locations = args[:locations] if args.key?(:locations) end end - # Configuration for the addons that can be automatically spun up in the - # cluster, enabling additional functionality. - class AddonsConfig + # SetLoggingServiceRequest sets the logging service of a cluster. + class SetLoggingServiceRequest include Google::Apis::Core::Hashable - # Configuration options for the horizontal pod autoscaling feature, which - # increases or decreases the number of replica pods a replication controller - # has based on the resource usage of the existing pods. - # Corresponds to the JSON property `horizontalPodAutoscaling` - # @return [Google::Apis::ContainerV1::HorizontalPodAutoscaling] - attr_accessor :horizontal_pod_autoscaling - - # Configuration options for the HTTP (L7) load balancing controller addon, - # which makes it easy to set up HTTP load balancers for services in a cluster. - # Corresponds to the JSON property `httpLoadBalancing` - # @return [Google::Apis::ContainerV1::HttpLoadBalancing] - attr_accessor :http_load_balancing + # The logging service the cluster should use to write metrics. + # Currently available options: + # * "logging.googleapis.com" - the Google Cloud Logging service + # * "none" - no metrics will be exported from the cluster + # Corresponds to the JSON property `loggingService` + # @return [String] + attr_accessor :logging_service def initialize(**args) update!(**args) @@ -1581,8 +1505,220 @@ module Google # Update properties of this object def update!(**args) - @horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling) - @http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing) + @logging_service = args[:logging_service] if args.key?(:logging_service) + end + end + + # SetMasterAuthRequest updates the admin password of a cluster. + class SetMasterAuthRequest + include Google::Apis::Core::Hashable + + # The exact form of action to be taken on the master auth + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # The authentication information for accessing the master endpoint. + # Authentication can be done using HTTP basic auth or using client + # certificates. + # Corresponds to the JSON property `update` + # @return [Google::Apis::ContainerV1::MasterAuth] + attr_accessor :update + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @action = args[:action] if args.key?(:action) + @update = args[:update] if args.key?(:update) + end + end + + # SetMonitoringServiceRequest sets the monitoring service of a cluster. + class SetMonitoringServiceRequest + include Google::Apis::Core::Hashable + + # The monitoring service the cluster should use to write metrics. + # Currently available options: + # * "monitoring.googleapis.com" - the Google Cloud Monitoring service + # * "none" - no metrics will be exported from the cluster + # Corresponds to the JSON property `monitoringService` + # @return [String] + attr_accessor :monitoring_service + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @monitoring_service = args[:monitoring_service] if args.key?(:monitoring_service) + end + end + + # SetNetworkPolicyRequest enables/disables network policy for a cluster. + class SetNetworkPolicyRequest + include Google::Apis::Core::Hashable + + # Configuration options for the NetworkPolicy feature. + # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/ + # Corresponds to the JSON property `networkPolicy` + # @return [Google::Apis::ContainerV1::NetworkPolicy] + attr_accessor :network_policy + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @network_policy = args[:network_policy] if args.key?(:network_policy) + end + end + + # SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool. + class SetNodePoolAutoscalingRequest + include Google::Apis::Core::Hashable + + # NodePoolAutoscaling contains information required by cluster autoscaler to + # adjust the size of the node pool to the current cluster usage. + # Corresponds to the JSON property `autoscaling` + # @return [Google::Apis::ContainerV1::NodePoolAutoscaling] + attr_accessor :autoscaling + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @autoscaling = args[:autoscaling] if args.key?(:autoscaling) + end + end + + # SetNodePoolManagementRequest sets the node management properties of a node + # pool. + class SetNodePoolManagementRequest + include Google::Apis::Core::Hashable + + # NodeManagement defines the set of node management services turned on for the + # node pool. + # Corresponds to the JSON property `management` + # @return [Google::Apis::ContainerV1::NodeManagement] + attr_accessor :management + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @management = args[:management] if args.key?(:management) + end + end + + # SetNodePoolSizeRequest sets the size a node + # pool. + class SetNodePoolSizeRequest + include Google::Apis::Core::Hashable + + # The desired node count for the pool. + # Corresponds to the JSON property `nodeCount` + # @return [Fixnum] + attr_accessor :node_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @node_count = args[:node_count] if args.key?(:node_count) + end + end + + # StartIPRotationRequest creates a new IP for the cluster and then performs + # a node upgrade on each node pool to point to the new IP. + class StartIpRotationRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # UpdateClusterRequest updates the settings of a cluster. + class UpdateClusterRequest + include Google::Apis::Core::Hashable + + # ClusterUpdate describes an update to the cluster. Exactly one update can + # be applied to a cluster with each request, so at most one field can be + # provided. + # Corresponds to the JSON property `update` + # @return [Google::Apis::ContainerV1::ClusterUpdate] + attr_accessor :update + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @update = args[:update] if args.key?(:update) + end + end + + # UpdateMasterRequest updates the master of the cluster. + class UpdateMasterRequest + include Google::Apis::Core::Hashable + + # The Kubernetes version to change the master to. The only valid value is the + # latest supported version. Use "-" to have the server automatically select + # the latest version. + # Corresponds to the JSON property `masterVersion` + # @return [String] + attr_accessor :master_version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @master_version = args[:master_version] if args.key?(:master_version) + end + end + + # UpdateNodePoolRequests update a node pool's image and/or version. + class UpdateNodePoolRequest + include Google::Apis::Core::Hashable + + # The desired image type for the node pool. + # Corresponds to the JSON property `imageType` + # @return [String] + attr_accessor :image_type + + # The Kubernetes version to change the nodes to (typically an + # upgrade). Use `-` to upgrade to the latest version supported by + # the server. + # Corresponds to the JSON property `nodeVersion` + # @return [String] + attr_accessor :node_version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @image_type = args[:image_type] if args.key?(:image_type) + @node_version = args[:node_version] if args.key?(:node_version) end end end diff --git a/generated/google/apis/container_v1/representations.rb b/generated/google/apis/container_v1/representations.rb index 0195440b2..bde973807 100644 --- a/generated/google/apis/container_v1/representations.rb +++ b/generated/google/apis/container_v1/representations.rb @@ -22,241 +22,7 @@ module Google module Apis module ContainerV1 - class SetLocationsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RollbackNodePoolUpgradeRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SetNodePoolSizeRequest - 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 NetworkPolicy - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateMasterRequest - 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 CreateNodePoolRequest - 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 SetMonitoringServiceRequest - 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 MasterAuth - 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 AutoUpgradeOptions - 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 HttpLoadBalancing - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ClientCertificateConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class NodePoolAutoscaling - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SetMasterAuthRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SetNetworkPolicyRequest - 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 IpAllocationPolicy - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SetLoggingServiceRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class HorizontalPodAutoscaling - 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 SetNodePoolManagementRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SetNodePoolAutoscalingRequest - 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 ListNodePoolsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CompleteIpRotationRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StartIpRotationRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateNodePoolRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LegacyAbac - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SetAddonsConfigRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class NodePool - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SetLabelsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class NodeManagement - 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 SetLegacyAbacRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Operation + class AcceleratorConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -268,91 +34,389 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class SetLocationsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :locations, as: 'locations' - end + class AutoUpgradeOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class RollbackNodePoolUpgradeRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end + class CancelOperationRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class SetNodePoolSizeRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :node_count, as: 'nodeCount' - end + class CidrBlock + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class UpdateClusterRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :update, as: 'update', class: Google::Apis::ContainerV1::ClusterUpdate, decorator: Google::Apis::ContainerV1::ClusterUpdate::Representation + class ClientCertificateConfig + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport + end + + class Cluster + 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 CompleteIpRotationRequest + 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 CreateNodePoolRequest + 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 HorizontalPodAutoscaling + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HttpLoadBalancing + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class IpAllocationPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class KubernetesDashboard + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LegacyAbac + 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 ListNodePoolsResponse + 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 MasterAuth + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MasterAuthorizedNetworksConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class NetworkPolicy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :enabled, as: 'enabled' - property :provider, as: 'provider' - end + 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 NodeManagement + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NodePool + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NodePoolAutoscaling + 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 RollbackNodePoolUpgradeRequest + 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 SetAddonsConfigRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetLabelsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetLegacyAbacRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetLocationsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetLoggingServiceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetMasterAuthRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetMonitoringServiceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetNetworkPolicyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetNodePoolAutoscalingRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetNodePoolManagementRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetNodePoolSizeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StartIpRotationRequest + 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 UpdateMasterRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateNodePoolRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AcceleratorConfig # @private class Representation < Google::Apis::Core::JsonRepresentation - property :master_version, as: 'masterVersion' + property :accelerator_count, :numeric_string => true, as: 'acceleratorCount' + property :accelerator_type, as: 'acceleratorType' + end + end + + class AddonsConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :horizontal_pod_autoscaling, as: 'horizontalPodAutoscaling', class: Google::Apis::ContainerV1::HorizontalPodAutoscaling, decorator: Google::Apis::ContainerV1::HorizontalPodAutoscaling::Representation + + property :http_load_balancing, as: 'httpLoadBalancing', class: Google::Apis::ContainerV1::HttpLoadBalancing, decorator: Google::Apis::ContainerV1::HttpLoadBalancing::Representation + + property :kubernetes_dashboard, as: 'kubernetesDashboard', class: Google::Apis::ContainerV1::KubernetesDashboard, decorator: Google::Apis::ContainerV1::KubernetesDashboard::Representation + + end + end + + class AutoUpgradeOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :auto_upgrade_start_time, as: 'autoUpgradeStartTime' + property :description, as: 'description' + end + end + + class CancelOperationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class CidrBlock + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cidr_block, as: 'cidrBlock' + property :display_name, as: 'displayName' + end + end + + class ClientCertificateConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :issue_client_certificate, as: 'issueClientCertificate' end end class Cluster # @private class Representation < Google::Apis::Core::JsonRepresentation - property :current_master_version, as: 'currentMasterVersion' - property :node_config, as: 'nodeConfig', class: Google::Apis::ContainerV1::NodeConfig, decorator: Google::Apis::ContainerV1::NodeConfig::Representation - property :addons_config, as: 'addonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation - property :status, as: 'status' + property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr' + property :create_time, as: 'createTime' + property :current_master_version, as: 'currentMasterVersion' + property :current_node_count, as: 'currentNodeCount' property :current_node_version, as: 'currentNodeVersion' - property :subnetwork, as: 'subnetwork' - property :name, as: 'name' - hash :resource_labels, as: 'resourceLabels' + property :description, as: 'description' + property :enable_kubernetes_alpha, as: 'enableKubernetesAlpha' + property :endpoint, as: 'endpoint' + property :expire_time, as: 'expireTime' property :initial_cluster_version, as: 'initialClusterVersion' + property :initial_node_count, as: 'initialNodeCount' + collection :instance_group_urls, as: 'instanceGroupUrls' property :ip_allocation_policy, as: 'ipAllocationPolicy', class: Google::Apis::ContainerV1::IpAllocationPolicy, decorator: Google::Apis::ContainerV1::IpAllocationPolicy::Representation + property :label_fingerprint, as: 'labelFingerprint' property :legacy_abac, as: 'legacyAbac', class: Google::Apis::ContainerV1::LegacyAbac, decorator: Google::Apis::ContainerV1::LegacyAbac::Representation - property :endpoint, as: 'endpoint' - property :create_time, as: 'createTime' - property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr' - property :initial_node_count, as: 'initialNodeCount' - collection :node_pools, as: 'nodePools', class: Google::Apis::ContainerV1::NodePool, decorator: Google::Apis::ContainerV1::NodePool::Representation - collection :locations, as: 'locations' - property :self_link, as: 'selfLink' - collection :instance_group_urls, as: 'instanceGroupUrls' - property :services_ipv4_cidr, as: 'servicesIpv4Cidr' + property :logging_service, as: 'loggingService' + property :master_auth, as: 'masterAuth', class: Google::Apis::ContainerV1::MasterAuth, decorator: Google::Apis::ContainerV1::MasterAuth::Representation + + property :master_authorized_networks_config, as: 'masterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig::Representation + + property :monitoring_service, as: 'monitoringService' + property :name, as: 'name' + property :network, as: 'network' property :network_policy, as: 'networkPolicy', class: Google::Apis::ContainerV1::NetworkPolicy, decorator: Google::Apis::ContainerV1::NetworkPolicy::Representation - property :enable_kubernetes_alpha, as: 'enableKubernetesAlpha' - property :description, as: 'description' - property :current_node_count, as: 'currentNodeCount' - property :monitoring_service, as: 'monitoringService' - property :network, as: 'network' - property :label_fingerprint, as: 'labelFingerprint' - property :zone, as: 'zone' + property :node_config, as: 'nodeConfig', class: Google::Apis::ContainerV1::NodeConfig, decorator: Google::Apis::ContainerV1::NodeConfig::Representation + property :node_ipv4_cidr_size, as: 'nodeIpv4CidrSize' - property :logging_service, as: 'loggingService' - property :expire_time, as: 'expireTime' + collection :node_pools, as: 'nodePools', class: Google::Apis::ContainerV1::NodePool, decorator: Google::Apis::ContainerV1::NodePool::Representation + + hash :resource_labels, as: 'resourceLabels' + property :self_link, as: 'selfLink' + property :services_ipv4_cidr, as: 'servicesIpv4Cidr' + property :status, as: 'status' property :status_message, as: 'statusMessage' - property :master_auth, as: 'masterAuth', class: Google::Apis::ContainerV1::MasterAuth, decorator: Google::Apis::ContainerV1::MasterAuth::Representation + property :subnetwork, as: 'subnetwork' + property :zone, as: 'zone' + end + end + + class ClusterUpdate + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :desired_addons_config, as: 'desiredAddonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation + + property :desired_image_type, as: 'desiredImageType' + collection :desired_locations, as: 'desiredLocations' + property :desired_master_authorized_networks_config, as: 'desiredMasterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig::Representation + + property :desired_master_version, as: 'desiredMasterVersion' + property :desired_monitoring_service, as: 'desiredMonitoringService' + property :desired_node_pool_autoscaling, as: 'desiredNodePoolAutoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation + + property :desired_node_pool_id, as: 'desiredNodePoolId' + property :desired_node_version, as: 'desiredNodeVersion' + end + end + + class CompleteIpRotationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class CreateClusterRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cluster, as: 'cluster', class: Google::Apis::ContainerV1::Cluster, decorator: Google::Apis::ContainerV1::Cluster::Representation end end @@ -365,67 +429,49 @@ module Google end end - class ListOperationsResponse + class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :operations, as: 'operations', class: Google::Apis::ContainerV1::Operation, decorator: Google::Apis::ContainerV1::Operation::Representation - - collection :missing_zones, as: 'missingZones' end end - class SetMonitoringServiceRequest + class HorizontalPodAutoscaling # @private class Representation < Google::Apis::Core::JsonRepresentation - property :monitoring_service, as: 'monitoringService' + property :disabled, as: 'disabled' end end - class ServerConfig + class HttpLoadBalancing # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :valid_master_versions, as: 'validMasterVersions' - property :default_image_type, as: 'defaultImageType' - property :default_cluster_version, as: 'defaultClusterVersion' - collection :valid_image_types, as: 'validImageTypes' - collection :valid_node_versions, as: 'validNodeVersions' + property :disabled, as: 'disabled' end end - class MasterAuth + class IpAllocationPolicy # @private class Representation < Google::Apis::Core::JsonRepresentation - property :client_certificate, as: 'clientCertificate' - property :username, as: 'username' - property :password, as: 'password' - property :client_certificate_config, as: 'clientCertificateConfig', class: Google::Apis::ContainerV1::ClientCertificateConfig, decorator: Google::Apis::ContainerV1::ClientCertificateConfig::Representation - - property :client_key, as: 'clientKey' - property :cluster_ca_certificate, as: 'clusterCaCertificate' + property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr' + property :create_subnetwork, as: 'createSubnetwork' + property :node_ipv4_cidr, as: 'nodeIpv4Cidr' + property :services_ipv4_cidr, as: 'servicesIpv4Cidr' + property :subnetwork_name, as: 'subnetworkName' + property :use_ip_aliases, as: 'useIpAliases' end end - class NodeConfig + class KubernetesDashboard # @private class Representation < Google::Apis::Core::JsonRepresentation - property :preemptible, as: 'preemptible' - hash :labels, as: 'labels' - property :local_ssd_count, as: 'localSsdCount' - hash :metadata, as: 'metadata' - property :disk_size_gb, as: 'diskSizeGb' - collection :tags, as: 'tags' - property :service_account, as: 'serviceAccount' - property :machine_type, as: 'machineType' - property :image_type, as: 'imageType' - collection :oauth_scopes, as: 'oauthScopes' + property :disabled, as: 'disabled' end end - class AutoUpgradeOptions + class LegacyAbac # @private class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :auto_upgrade_start_time, as: 'autoUpgradeStartTime' + property :enabled, as: 'enabled' end end @@ -438,118 +484,6 @@ module Google end end - class HttpLoadBalancing - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :disabled, as: 'disabled' - end - end - - class ClientCertificateConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :issue_client_certificate, as: 'issueClientCertificate' - end - end - - class NodePoolAutoscaling - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :max_node_count, as: 'maxNodeCount' - property :min_node_count, as: 'minNodeCount' - property :enabled, as: 'enabled' - end - end - - class SetMasterAuthRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :update, as: 'update', class: Google::Apis::ContainerV1::MasterAuth, decorator: Google::Apis::ContainerV1::MasterAuth::Representation - - property :action, as: 'action' - end - end - - class SetNetworkPolicyRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :network_policy, as: 'networkPolicy', class: Google::Apis::ContainerV1::NetworkPolicy, decorator: Google::Apis::ContainerV1::NetworkPolicy::Representation - - end - end - - class ClusterUpdate - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :desired_locations, as: 'desiredLocations' - property :desired_node_pool_autoscaling, as: 'desiredNodePoolAutoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation - - property :desired_monitoring_service, as: 'desiredMonitoringService' - property :desired_image_type, as: 'desiredImageType' - property :desired_addons_config, as: 'desiredAddonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation - - property :desired_node_pool_id, as: 'desiredNodePoolId' - property :desired_node_version, as: 'desiredNodeVersion' - property :desired_master_version, as: 'desiredMasterVersion' - end - end - - class IpAllocationPolicy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :create_subnetwork, as: 'createSubnetwork' - property :use_ip_aliases, as: 'useIpAliases' - property :subnetwork_name, as: 'subnetworkName' - property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr' - property :node_ipv4_cidr, as: 'nodeIpv4Cidr' - property :services_ipv4_cidr, as: 'servicesIpv4Cidr' - end - end - - class SetLoggingServiceRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :logging_service, as: 'loggingService' - end - end - - class HorizontalPodAutoscaling - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :disabled, as: 'disabled' - end - end - - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class SetNodePoolManagementRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :management, as: 'management', class: Google::Apis::ContainerV1::NodeManagement, decorator: Google::Apis::ContainerV1::NodeManagement::Representation - - end - end - - class SetNodePoolAutoscalingRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation - - end - end - - class CreateClusterRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :cluster, as: 'cluster', class: Google::Apis::ContainerV1::Cluster, decorator: Google::Apis::ContainerV1::Cluster::Representation - - end - end - class ListNodePoolsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -558,65 +492,60 @@ module Google end end - class CompleteIpRotationRequest + class ListOperationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :missing_zones, as: 'missingZones' + collection :operations, as: 'operations', class: Google::Apis::ContainerV1::Operation, decorator: Google::Apis::ContainerV1::Operation::Representation + end end - class StartIpRotationRequest + class MasterAuth # @private class Representation < Google::Apis::Core::JsonRepresentation + property :client_certificate, as: 'clientCertificate' + property :client_certificate_config, as: 'clientCertificateConfig', class: Google::Apis::ContainerV1::ClientCertificateConfig, decorator: Google::Apis::ContainerV1::ClientCertificateConfig::Representation + + property :client_key, as: 'clientKey' + property :cluster_ca_certificate, as: 'clusterCaCertificate' + property :password, as: 'password' + property :username, as: 'username' end end - class UpdateNodePoolRequest + class MasterAuthorizedNetworksConfig # @private class Representation < Google::Apis::Core::JsonRepresentation - property :image_type, as: 'imageType' - property :node_version, as: 'nodeVersion' - end - end + collection :cidr_blocks, as: 'cidrBlocks', class: Google::Apis::ContainerV1::CidrBlock, decorator: Google::Apis::ContainerV1::CidrBlock::Representation - class LegacyAbac - # @private - class Representation < Google::Apis::Core::JsonRepresentation property :enabled, as: 'enabled' end end - class SetAddonsConfigRequest + class NetworkPolicy # @private class Representation < Google::Apis::Core::JsonRepresentation - property :addons_config, as: 'addonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation - + property :enabled, as: 'enabled' + property :provider, as: 'provider' end end - class NodePool + class NodeConfig # @private class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :status_message, as: 'statusMessage' - property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation + collection :accelerators, as: 'accelerators', class: Google::Apis::ContainerV1::AcceleratorConfig, decorator: Google::Apis::ContainerV1::AcceleratorConfig::Representation - property :management, as: 'management', class: Google::Apis::ContainerV1::NodeManagement, decorator: Google::Apis::ContainerV1::NodeManagement::Representation - - property :initial_node_count, as: 'initialNodeCount' - property :self_link, as: 'selfLink' - property :version, as: 'version' - collection :instance_group_urls, as: 'instanceGroupUrls' - property :status, as: 'status' - property :config, as: 'config', class: Google::Apis::ContainerV1::NodeConfig, decorator: Google::Apis::ContainerV1::NodeConfig::Representation - - end - end - - class SetLabelsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :label_fingerprint, as: 'labelFingerprint' - hash :resource_labels, as: 'resourceLabels' + property :disk_size_gb, as: 'diskSizeGb' + property :image_type, as: 'imageType' + hash :labels, as: 'labels' + property :local_ssd_count, as: 'localSsdCount' + property :machine_type, as: 'machineType' + hash :metadata, as: 'metadata' + collection :oauth_scopes, as: 'oauthScopes' + property :preemptible, as: 'preemptible' + property :service_account, as: 'serviceAccount' + collection :tags, as: 'tags' end end @@ -630,9 +559,78 @@ module Google end end - class CancelOperationRequest + class NodePool # @private class Representation < Google::Apis::Core::JsonRepresentation + property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation + + property :config, as: 'config', class: Google::Apis::ContainerV1::NodeConfig, decorator: Google::Apis::ContainerV1::NodeConfig::Representation + + property :initial_node_count, as: 'initialNodeCount' + collection :instance_group_urls, as: 'instanceGroupUrls' + property :management, as: 'management', class: Google::Apis::ContainerV1::NodeManagement, decorator: Google::Apis::ContainerV1::NodeManagement::Representation + + property :name, as: 'name' + property :self_link, as: 'selfLink' + property :status, as: 'status' + property :status_message, as: 'statusMessage' + property :version, as: 'version' + end + end + + class NodePoolAutoscaling + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :enabled, as: 'enabled' + property :max_node_count, as: 'maxNodeCount' + property :min_node_count, as: 'minNodeCount' + end + end + + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :detail, as: 'detail' + property :name, as: 'name' + property :operation_type, as: 'operationType' + property :self_link, as: 'selfLink' + property :status, as: 'status' + property :status_message, as: 'statusMessage' + property :target_link, as: 'targetLink' + property :zone, as: 'zone' + end + end + + class RollbackNodePoolUpgradeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class ServerConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :default_cluster_version, as: 'defaultClusterVersion' + property :default_image_type, as: 'defaultImageType' + collection :valid_image_types, as: 'validImageTypes' + collection :valid_master_versions, as: 'validMasterVersions' + collection :valid_node_versions, as: 'validNodeVersions' + end + end + + class SetAddonsConfigRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :addons_config, as: 'addonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation + + end + end + + class SetLabelsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :label_fingerprint, as: 'labelFingerprint' + hash :resource_labels, as: 'resourceLabels' end end @@ -643,29 +641,95 @@ module Google end end - class Operation + class SetLocationsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :zone, as: 'zone' - property :status, as: 'status' - property :status_message, as: 'statusMessage' - property :name, as: 'name' - property :self_link, as: 'selfLink' - property :target_link, as: 'targetLink' - property :detail, as: 'detail' - property :operation_type, as: 'operationType' + collection :locations, as: 'locations' end end - class AddonsConfig + class SetLoggingServiceRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :horizontal_pod_autoscaling, as: 'horizontalPodAutoscaling', class: Google::Apis::ContainerV1::HorizontalPodAutoscaling, decorator: Google::Apis::ContainerV1::HorizontalPodAutoscaling::Representation + property :logging_service, as: 'loggingService' + end + end - property :http_load_balancing, as: 'httpLoadBalancing', class: Google::Apis::ContainerV1::HttpLoadBalancing, decorator: Google::Apis::ContainerV1::HttpLoadBalancing::Representation + class SetMasterAuthRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :action, as: 'action' + property :update, as: 'update', class: Google::Apis::ContainerV1::MasterAuth, decorator: Google::Apis::ContainerV1::MasterAuth::Representation end end + + class SetMonitoringServiceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :monitoring_service, as: 'monitoringService' + end + end + + class SetNetworkPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :network_policy, as: 'networkPolicy', class: Google::Apis::ContainerV1::NetworkPolicy, decorator: Google::Apis::ContainerV1::NetworkPolicy::Representation + + end + end + + class SetNodePoolAutoscalingRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation + + end + end + + class SetNodePoolManagementRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :management, as: 'management', class: Google::Apis::ContainerV1::NodeManagement, decorator: Google::Apis::ContainerV1::NodeManagement::Representation + + end + end + + class SetNodePoolSizeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :node_count, as: 'nodeCount' + end + end + + class StartIpRotationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class UpdateClusterRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :update, as: 'update', class: Google::Apis::ContainerV1::ClusterUpdate, decorator: Google::Apis::ContainerV1::ClusterUpdate::Representation + + end + end + + class UpdateMasterRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :master_version, as: 'masterVersion' + end + end + + class UpdateNodePoolRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :image_type, as: 'imageType' + property :node_version, as: 'nodeVersion' + end + end end end end diff --git a/generated/google/apis/container_v1/service.rb b/generated/google/apis/container_v1/service.rb index a95cc0151..efbc3853f 100644 --- a/generated/google/apis/container_v1/service.rb +++ b/generated/google/apis/container_v1/service.rb @@ -83,7 +83,7 @@ module Google execute_or_queue_command(command, &block) end - # Updates the settings of a specific cluster. + # Sets the addons of a specific cluster. # @param [String] project_id # The Google Developers Console [project ID or project # number](https://support.google.com/cloud/answer/6158840). @@ -93,7 +93,7 @@ module Google # resides. # @param [String] cluster_id # The name of the cluster to upgrade. - # @param [Google::Apis::ContainerV1::UpdateClusterRequest] update_cluster_request_object + # @param [Google::Apis::ContainerV1::SetAddonsConfigRequest] set_addons_config_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -111,10 +111,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_cluster(project_id, zone, cluster_id, update_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', options) - command.request_representation = Google::Apis::ContainerV1::UpdateClusterRequest::Representation - command.request_object = update_cluster_request_object + def addons_project_zone_cluster(project_id, zone, cluster_id, set_addons_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons', options) + command.request_representation = Google::Apis::ContainerV1::SetAddonsConfigRequest::Representation + command.request_object = set_addons_config_request_object command.response_representation = Google::Apis::ContainerV1::Operation::Representation command.response_class = Google::Apis::ContainerV1::Operation command.params['projectId'] = project_id unless project_id.nil? @@ -125,214 +125,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the monitoring service of a specific cluster. - # @param [String] project_id - # The Google Developers Console [project ID or project - # number](https://support.google.com/cloud/answer/6158840). - # @param [String] zone - # The name of the Google Compute Engine - # [zone](/compute/docs/zones#available) in which the cluster - # resides. - # @param [String] cluster_id - # The name of the cluster to upgrade. - # @param [Google::Apis::ContainerV1::SetMonitoringServiceRequest] set_monitoring_service_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::ContainerV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ContainerV1::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 monitoring_project_zone_cluster(project_id, zone, cluster_id, set_monitoring_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring', options) - command.request_representation = Google::Apis::ContainerV1::SetMonitoringServiceRequest::Representation - command.request_object = set_monitoring_service_request_object - command.response_representation = Google::Apis::ContainerV1::Operation::Representation - command.response_class = Google::Apis::ContainerV1::Operation - command.params['projectId'] = project_id unless project_id.nil? - command.params['zone'] = zone unless zone.nil? - command.params['clusterId'] = cluster_id unless cluster_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 - - # Updates the master of a specific cluster. - # @param [String] project_id - # The Google Developers Console [project ID or project - # number](https://support.google.com/cloud/answer/6158840). - # @param [String] zone - # The name of the Google Compute Engine - # [zone](/compute/docs/zones#available) in which the cluster - # resides. - # @param [String] cluster_id - # The name of the cluster to upgrade. - # @param [Google::Apis::ContainerV1::UpdateMasterRequest] update_master_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::ContainerV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ContainerV1::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 master_project_zone_cluster(project_id, zone, cluster_id, update_master_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master', options) - command.request_representation = Google::Apis::ContainerV1::UpdateMasterRequest::Representation - command.request_object = update_master_request_object - command.response_representation = Google::Apis::ContainerV1::Operation::Representation - command.response_class = Google::Apis::ContainerV1::Operation - command.params['projectId'] = project_id unless project_id.nil? - command.params['zone'] = zone unless zone.nil? - command.params['clusterId'] = cluster_id unless cluster_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 - - # Used to set master auth materials. Currently supports :- - # Changing the admin password of a specific cluster. - # This can be either via password generation or explicitly set the password. - # @param [String] project_id - # The Google Developers Console [project ID or project - # number](https://support.google.com/cloud/answer/6158840). - # @param [String] zone - # The name of the Google Compute Engine - # [zone](/compute/docs/zones#available) in which the cluster - # resides. - # @param [String] cluster_id - # The name of the cluster to upgrade. - # @param [Google::Apis::ContainerV1::SetMasterAuthRequest] set_master_auth_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::ContainerV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ContainerV1::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 set_cluster_master_auth(project_id, zone, cluster_id, set_master_auth_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth', options) - command.request_representation = Google::Apis::ContainerV1::SetMasterAuthRequest::Representation - command.request_object = set_master_auth_request_object - command.response_representation = Google::Apis::ContainerV1::Operation::Representation - command.response_class = Google::Apis::ContainerV1::Operation - command.params['projectId'] = project_id unless project_id.nil? - command.params['zone'] = zone unless zone.nil? - command.params['clusterId'] = cluster_id unless cluster_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 - - # Sets the logging service of a specific cluster. - # @param [String] project_id - # The Google Developers Console [project ID or project - # number](https://support.google.com/cloud/answer/6158840). - # @param [String] zone - # The name of the Google Compute Engine - # [zone](/compute/docs/zones#available) in which the cluster - # resides. - # @param [String] cluster_id - # The name of the cluster to upgrade. - # @param [Google::Apis::ContainerV1::SetLoggingServiceRequest] set_logging_service_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::ContainerV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ContainerV1::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 logging_project_zone_cluster(project_id, zone, cluster_id, set_logging_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging', options) - command.request_representation = Google::Apis::ContainerV1::SetLoggingServiceRequest::Representation - command.request_object = set_logging_service_request_object - command.response_representation = Google::Apis::ContainerV1::Operation::Representation - command.response_class = Google::Apis::ContainerV1::Operation - command.params['projectId'] = project_id unless project_id.nil? - command.params['zone'] = zone unless zone.nil? - command.params['clusterId'] = cluster_id unless cluster_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 all clusters owned by a project in either the specified zone or all - # zones. - # @param [String] project_id - # The Google Developers Console [project ID or project - # number](https://support.google.com/cloud/answer/6158840). - # @param [String] zone - # The name of the Google Compute Engine - # [zone](/compute/docs/zones#available) in which the cluster - # resides, or "-" for all zones. - # @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::ContainerV1::ListClustersResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ContainerV1::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_zone_clusters(project_id, zone, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/clusters', options) - command.response_representation = Google::Apis::ContainerV1::ListClustersResponse::Representation - command.response_class = Google::Apis::ContainerV1::ListClustersResponse - command.params['projectId'] = project_id unless project_id.nil? - command.params['zone'] = zone unless zone.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Sets labels on a cluster. + # Completes master IP rotation. # @param [String] project_id # The Google Developers Console [project ID or project # number](https://developers.google.com/console/help/new/#projectnumber). @@ -342,7 +135,7 @@ module Google # resides. # @param [String] cluster_id # The name of the cluster. - # @param [Google::Apis::ContainerV1::SetLabelsRequest] set_labels_request_object + # @param [Google::Apis::ContainerV1::CompleteIpRotationRequest] complete_ip_rotation_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -360,10 +153,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 resource_project_zone_cluster_labels(project_id, zone, cluster_id, set_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/resourceLabels', options) - command.request_representation = Google::Apis::ContainerV1::SetLabelsRequest::Representation - command.request_object = set_labels_request_object + def complete_cluster_ip_rotation(project_id, zone, cluster_id, complete_ip_rotation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:completeIpRotation', options) + command.request_representation = Google::Apis::ContainerV1::CompleteIpRotationRequest::Representation + command.request_object = complete_ip_rotation_request_object command.response_representation = Google::Apis::ContainerV1::Operation::Representation command.response_class = Google::Apis::ContainerV1::Operation command.params['projectId'] = project_id unless project_id.nil? @@ -422,17 +215,22 @@ module Google execute_or_queue_command(command, &block) end - # Completes master IP rotation. + # Deletes the cluster, including the Kubernetes endpoint and all worker + # nodes. + # Firewalls and routes that were configured during cluster creation + # are also deleted. + # Other Google Compute Engine resources that might be in use by the cluster + # (e.g. load balancer resources) will not be deleted if they weren't present + # at the initial create time. # @param [String] project_id # The Google Developers Console [project ID or project - # number](https://developers.google.com/console/help/new/#projectnumber). + # number](https://support.google.com/cloud/answer/6158840). # @param [String] zone # The name of the Google Compute Engine # [zone](/compute/docs/zones#available) in which the cluster # resides. # @param [String] cluster_id - # The name of the cluster. - # @param [Google::Apis::ContainerV1::CompleteIpRotationRequest] complete_ip_rotation_request_object + # The name of the cluster to delete. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -450,10 +248,8 @@ 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 complete_cluster_ip_rotation(project_id, zone, cluster_id, complete_ip_rotation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:completeIpRotation', options) - command.request_representation = Google::Apis::ContainerV1::CompleteIpRotationRequest::Representation - command.request_object = complete_ip_rotation_request_object + def delete_zone_cluster(project_id, zone, cluster_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', options) command.response_representation = Google::Apis::ContainerV1::Operation::Representation command.response_class = Google::Apis::ContainerV1::Operation command.params['projectId'] = project_id unless project_id.nil? @@ -545,6 +341,297 @@ module Google execute_or_queue_command(command, &block) end + # Lists all clusters owned by a project in either the specified zone or all + # zones. + # @param [String] project_id + # The Google Developers Console [project ID or project + # number](https://support.google.com/cloud/answer/6158840). + # @param [String] zone + # The name of the Google Compute Engine + # [zone](/compute/docs/zones#available) in which the cluster + # resides, or "-" for all zones. + # @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::ContainerV1::ListClustersResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContainerV1::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_zone_clusters(project_id, zone, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/clusters', options) + command.response_representation = Google::Apis::ContainerV1::ListClustersResponse::Representation + command.response_class = Google::Apis::ContainerV1::ListClustersResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['zone'] = zone unless zone.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Sets the locations of a specific cluster. + # @param [String] project_id + # The Google Developers Console [project ID or project + # number](https://support.google.com/cloud/answer/6158840). + # @param [String] zone + # The name of the Google Compute Engine + # [zone](/compute/docs/zones#available) in which the cluster + # resides. + # @param [String] cluster_id + # The name of the cluster to upgrade. + # @param [Google::Apis::ContainerV1::SetLocationsRequest] set_locations_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::ContainerV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContainerV1::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 locations_project_zone_cluster(project_id, zone, cluster_id, set_locations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations', options) + command.request_representation = Google::Apis::ContainerV1::SetLocationsRequest::Representation + command.request_object = set_locations_request_object + command.response_representation = Google::Apis::ContainerV1::Operation::Representation + command.response_class = Google::Apis::ContainerV1::Operation + command.params['projectId'] = project_id unless project_id.nil? + command.params['zone'] = zone unless zone.nil? + command.params['clusterId'] = cluster_id unless cluster_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 + + # Sets the logging service of a specific cluster. + # @param [String] project_id + # The Google Developers Console [project ID or project + # number](https://support.google.com/cloud/answer/6158840). + # @param [String] zone + # The name of the Google Compute Engine + # [zone](/compute/docs/zones#available) in which the cluster + # resides. + # @param [String] cluster_id + # The name of the cluster to upgrade. + # @param [Google::Apis::ContainerV1::SetLoggingServiceRequest] set_logging_service_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::ContainerV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContainerV1::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 logging_project_zone_cluster(project_id, zone, cluster_id, set_logging_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging', options) + command.request_representation = Google::Apis::ContainerV1::SetLoggingServiceRequest::Representation + command.request_object = set_logging_service_request_object + command.response_representation = Google::Apis::ContainerV1::Operation::Representation + command.response_class = Google::Apis::ContainerV1::Operation + command.params['projectId'] = project_id unless project_id.nil? + command.params['zone'] = zone unless zone.nil? + command.params['clusterId'] = cluster_id unless cluster_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 + + # Updates the master of a specific cluster. + # @param [String] project_id + # The Google Developers Console [project ID or project + # number](https://support.google.com/cloud/answer/6158840). + # @param [String] zone + # The name of the Google Compute Engine + # [zone](/compute/docs/zones#available) in which the cluster + # resides. + # @param [String] cluster_id + # The name of the cluster to upgrade. + # @param [Google::Apis::ContainerV1::UpdateMasterRequest] update_master_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::ContainerV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContainerV1::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 master_project_zone_cluster(project_id, zone, cluster_id, update_master_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master', options) + command.request_representation = Google::Apis::ContainerV1::UpdateMasterRequest::Representation + command.request_object = update_master_request_object + command.response_representation = Google::Apis::ContainerV1::Operation::Representation + command.response_class = Google::Apis::ContainerV1::Operation + command.params['projectId'] = project_id unless project_id.nil? + command.params['zone'] = zone unless zone.nil? + command.params['clusterId'] = cluster_id unless cluster_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 + + # Sets the monitoring service of a specific cluster. + # @param [String] project_id + # The Google Developers Console [project ID or project + # number](https://support.google.com/cloud/answer/6158840). + # @param [String] zone + # The name of the Google Compute Engine + # [zone](/compute/docs/zones#available) in which the cluster + # resides. + # @param [String] cluster_id + # The name of the cluster to upgrade. + # @param [Google::Apis::ContainerV1::SetMonitoringServiceRequest] set_monitoring_service_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::ContainerV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContainerV1::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 monitoring_project_zone_cluster(project_id, zone, cluster_id, set_monitoring_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring', options) + command.request_representation = Google::Apis::ContainerV1::SetMonitoringServiceRequest::Representation + command.request_object = set_monitoring_service_request_object + command.response_representation = Google::Apis::ContainerV1::Operation::Representation + command.response_class = Google::Apis::ContainerV1::Operation + command.params['projectId'] = project_id unless project_id.nil? + command.params['zone'] = zone unless zone.nil? + command.params['clusterId'] = cluster_id unless cluster_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 + + # Sets labels on a cluster. + # @param [String] project_id + # The Google Developers Console [project ID or project + # number](https://developers.google.com/console/help/new/#projectnumber). + # @param [String] zone + # The name of the Google Compute Engine + # [zone](/compute/docs/zones#available) in which the cluster + # resides. + # @param [String] cluster_id + # The name of the cluster. + # @param [Google::Apis::ContainerV1::SetLabelsRequest] set_labels_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::ContainerV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContainerV1::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 resource_project_zone_cluster_labels(project_id, zone, cluster_id, set_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/resourceLabels', options) + command.request_representation = Google::Apis::ContainerV1::SetLabelsRequest::Representation + command.request_object = set_labels_request_object + command.response_representation = Google::Apis::ContainerV1::Operation::Representation + command.response_class = Google::Apis::ContainerV1::Operation + command.params['projectId'] = project_id unless project_id.nil? + command.params['zone'] = zone unless zone.nil? + command.params['clusterId'] = cluster_id unless cluster_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 + + # Used to set master auth materials. Currently supports :- + # Changing the admin password of a specific cluster. + # This can be either via password generation or explicitly set the password. + # @param [String] project_id + # The Google Developers Console [project ID or project + # number](https://support.google.com/cloud/answer/6158840). + # @param [String] zone + # The name of the Google Compute Engine + # [zone](/compute/docs/zones#available) in which the cluster + # resides. + # @param [String] cluster_id + # The name of the cluster to upgrade. + # @param [Google::Apis::ContainerV1::SetMasterAuthRequest] set_master_auth_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::ContainerV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContainerV1::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 set_cluster_master_auth(project_id, zone, cluster_id, set_master_auth_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth', options) + command.request_representation = Google::Apis::ContainerV1::SetMasterAuthRequest::Representation + command.request_object = set_master_auth_request_object + command.response_representation = Google::Apis::ContainerV1::Operation::Representation + command.response_class = Google::Apis::ContainerV1::Operation + command.params['projectId'] = project_id unless project_id.nil? + command.params['zone'] = zone unless zone.nil? + command.params['clusterId'] = cluster_id unless cluster_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 + # Enables/Disables Network Policy for a cluster. # @param [String] project_id # The Google Developers Console [project ID or project @@ -629,7 +716,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the addons of a specific cluster. + # Updates the settings of a specific cluster. # @param [String] project_id # The Google Developers Console [project ID or project # number](https://support.google.com/cloud/answer/6158840). @@ -639,7 +726,7 @@ module Google # resides. # @param [String] cluster_id # The name of the cluster to upgrade. - # @param [Google::Apis::ContainerV1::SetAddonsConfigRequest] set_addons_config_request_object + # @param [Google::Apis::ContainerV1::UpdateClusterRequest] update_cluster_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -657,10 +744,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 addons_project_zone_cluster(project_id, zone, cluster_id, set_addons_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons', options) - command.request_representation = Google::Apis::ContainerV1::SetAddonsConfigRequest::Representation - command.request_object = set_addons_config_request_object + def update_cluster(project_id, zone, cluster_id, update_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', options) + command.request_representation = Google::Apis::ContainerV1::UpdateClusterRequest::Representation + command.request_object = update_cluster_request_object command.response_representation = Google::Apis::ContainerV1::Operation::Representation command.response_class = Google::Apis::ContainerV1::Operation command.params['projectId'] = project_id unless project_id.nil? @@ -671,13 +758,7 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the cluster, including the Kubernetes endpoint and all worker - # nodes. - # Firewalls and routes that were configured during cluster creation - # are also deleted. - # Other Google Compute Engine resources that might be in use by the cluster - # (e.g. load balancer resources) will not be deleted if they weren't present - # at the initial create time. + # Sets the autoscaling settings of a specific node pool. # @param [String] project_id # The Google Developers Console [project ID or project # number](https://support.google.com/cloud/answer/6158840). @@ -686,7 +767,10 @@ module Google # [zone](/compute/docs/zones#available) in which the cluster # resides. # @param [String] cluster_id - # The name of the cluster to delete. + # The name of the cluster to upgrade. + # @param [String] node_pool_id + # The name of the node pool to upgrade. + # @param [Google::Apis::ContainerV1::SetNodePoolAutoscalingRequest] set_node_pool_autoscaling_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -704,8 +788,53 @@ 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 delete_zone_cluster(project_id, zone, cluster_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', options) + def autoscaling_project_zone_cluster_node_pool(project_id, zone, cluster_id, node_pool_id, set_node_pool_autoscaling_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling', options) + command.request_representation = Google::Apis::ContainerV1::SetNodePoolAutoscalingRequest::Representation + command.request_object = set_node_pool_autoscaling_request_object + command.response_representation = Google::Apis::ContainerV1::Operation::Representation + command.response_class = Google::Apis::ContainerV1::Operation + command.params['projectId'] = project_id unless project_id.nil? + command.params['zone'] = zone unless zone.nil? + command.params['clusterId'] = cluster_id unless cluster_id.nil? + command.params['nodePoolId'] = node_pool_id unless node_pool_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 + + # Creates a node pool for a cluster. + # @param [String] project_id + # The Google Developers Console [project ID or project + # number](https://developers.google.com/console/help/new/#projectnumber). + # @param [String] zone + # The name of the Google Compute Engine + # [zone](/compute/docs/zones#available) in which the cluster + # resides. + # @param [String] cluster_id + # The name of the cluster. + # @param [Google::Apis::ContainerV1::CreateNodePoolRequest] create_node_pool_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::ContainerV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContainerV1::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_node_pool(project_id, zone, cluster_id, create_node_pool_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools', options) + command.request_representation = Google::Apis::ContainerV1::CreateNodePoolRequest::Representation + command.request_object = create_node_pool_request_object command.response_representation = Google::Apis::ContainerV1::Operation::Representation command.response_class = Google::Apis::ContainerV1::Operation command.params['projectId'] = project_id unless project_id.nil? @@ -716,17 +845,18 @@ module Google execute_or_queue_command(command, &block) end - # Sets the locations of a specific cluster. + # Deletes a node pool from a cluster. # @param [String] project_id # The Google Developers Console [project ID or project - # number](https://support.google.com/cloud/answer/6158840). + # number](https://developers.google.com/console/help/new/#projectnumber). # @param [String] zone # The name of the Google Compute Engine # [zone](/compute/docs/zones#available) in which the cluster # resides. # @param [String] cluster_id - # The name of the cluster to upgrade. - # @param [Google::Apis::ContainerV1::SetLocationsRequest] set_locations_request_object + # The name of the cluster. + # @param [String] node_pool_id + # The name of the node pool to delete. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -744,15 +874,56 @@ 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 locations_project_zone_cluster(project_id, zone, cluster_id, set_locations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations', options) - command.request_representation = Google::Apis::ContainerV1::SetLocationsRequest::Representation - command.request_object = set_locations_request_object + def delete_project_zone_cluster_node_pool(project_id, zone, cluster_id, node_pool_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}', options) command.response_representation = Google::Apis::ContainerV1::Operation::Representation command.response_class = Google::Apis::ContainerV1::Operation command.params['projectId'] = project_id unless project_id.nil? command.params['zone'] = zone unless zone.nil? command.params['clusterId'] = cluster_id unless cluster_id.nil? + command.params['nodePoolId'] = node_pool_id unless node_pool_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the node pool requested. + # @param [String] project_id + # The Google Developers Console [project ID or project + # number](https://developers.google.com/console/help/new/#projectnumber). + # @param [String] zone + # The name of the Google Compute Engine + # [zone](/compute/docs/zones#available) in which the cluster + # resides. + # @param [String] cluster_id + # The name of the cluster. + # @param [String] node_pool_id + # The name of the node pool. + # @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::ContainerV1::NodePool] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContainerV1::NodePool] + # + # @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_project_zone_cluster_node_pool(project_id, zone, cluster_id, node_pool_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}', options) + command.response_representation = Google::Apis::ContainerV1::NodePool::Representation + command.response_class = Google::Apis::ContainerV1::NodePool + command.params['projectId'] = project_id unless project_id.nil? + command.params['zone'] = zone unless zone.nil? + command.params['clusterId'] = cluster_id unless cluster_id.nil? + command.params['nodePoolId'] = node_pool_id unless node_pool_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -843,222 +1014,6 @@ module Google execute_or_queue_command(command, &block) end - # Creates a node pool for a cluster. - # @param [String] project_id - # The Google Developers Console [project ID or project - # number](https://developers.google.com/console/help/new/#projectnumber). - # @param [String] zone - # The name of the Google Compute Engine - # [zone](/compute/docs/zones#available) in which the cluster - # resides. - # @param [String] cluster_id - # The name of the cluster. - # @param [Google::Apis::ContainerV1::CreateNodePoolRequest] create_node_pool_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::ContainerV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ContainerV1::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_node_pool(project_id, zone, cluster_id, create_node_pool_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools', options) - command.request_representation = Google::Apis::ContainerV1::CreateNodePoolRequest::Representation - command.request_object = create_node_pool_request_object - command.response_representation = Google::Apis::ContainerV1::Operation::Representation - command.response_class = Google::Apis::ContainerV1::Operation - command.params['projectId'] = project_id unless project_id.nil? - command.params['zone'] = zone unless zone.nil? - command.params['clusterId'] = cluster_id unless cluster_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 - - # Sets the autoscaling settings of a specific node pool. - # @param [String] project_id - # The Google Developers Console [project ID or project - # number](https://support.google.com/cloud/answer/6158840). - # @param [String] zone - # The name of the Google Compute Engine - # [zone](/compute/docs/zones#available) in which the cluster - # resides. - # @param [String] cluster_id - # The name of the cluster to upgrade. - # @param [String] node_pool_id - # The name of the node pool to upgrade. - # @param [Google::Apis::ContainerV1::SetNodePoolAutoscalingRequest] set_node_pool_autoscaling_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::ContainerV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ContainerV1::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 autoscaling_project_zone_cluster_node_pool(project_id, zone, cluster_id, node_pool_id, set_node_pool_autoscaling_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling', options) - command.request_representation = Google::Apis::ContainerV1::SetNodePoolAutoscalingRequest::Representation - command.request_object = set_node_pool_autoscaling_request_object - command.response_representation = Google::Apis::ContainerV1::Operation::Representation - command.response_class = Google::Apis::ContainerV1::Operation - command.params['projectId'] = project_id unless project_id.nil? - command.params['zone'] = zone unless zone.nil? - command.params['clusterId'] = cluster_id unless cluster_id.nil? - command.params['nodePoolId'] = node_pool_id unless node_pool_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Retrieves the node pool requested. - # @param [String] project_id - # The Google Developers Console [project ID or project - # number](https://developers.google.com/console/help/new/#projectnumber). - # @param [String] zone - # The name of the Google Compute Engine - # [zone](/compute/docs/zones#available) in which the cluster - # resides. - # @param [String] cluster_id - # The name of the cluster. - # @param [String] node_pool_id - # The name of the node pool. - # @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::ContainerV1::NodePool] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ContainerV1::NodePool] - # - # @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_project_zone_cluster_node_pool(project_id, zone, cluster_id, node_pool_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}', options) - command.response_representation = Google::Apis::ContainerV1::NodePool::Representation - command.response_class = Google::Apis::ContainerV1::NodePool - command.params['projectId'] = project_id unless project_id.nil? - command.params['zone'] = zone unless zone.nil? - command.params['clusterId'] = cluster_id unless cluster_id.nil? - command.params['nodePoolId'] = node_pool_id unless node_pool_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 - - # Updates the version and/or image type of a specific node pool. - # @param [String] project_id - # The Google Developers Console [project ID or project - # number](https://support.google.com/cloud/answer/6158840). - # @param [String] zone - # The name of the Google Compute Engine - # [zone](/compute/docs/zones#available) in which the cluster - # resides. - # @param [String] cluster_id - # The name of the cluster to upgrade. - # @param [String] node_pool_id - # The name of the node pool to upgrade. - # @param [Google::Apis::ContainerV1::UpdateNodePoolRequest] update_node_pool_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::ContainerV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ContainerV1::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_node_pool(project_id, zone, cluster_id, node_pool_id, update_node_pool_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update', options) - command.request_representation = Google::Apis::ContainerV1::UpdateNodePoolRequest::Representation - command.request_object = update_node_pool_request_object - command.response_representation = Google::Apis::ContainerV1::Operation::Representation - command.response_class = Google::Apis::ContainerV1::Operation - command.params['projectId'] = project_id unless project_id.nil? - command.params['zone'] = zone unless zone.nil? - command.params['clusterId'] = cluster_id unless cluster_id.nil? - command.params['nodePoolId'] = node_pool_id unless node_pool_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 a node pool from a cluster. - # @param [String] project_id - # The Google Developers Console [project ID or project - # number](https://developers.google.com/console/help/new/#projectnumber). - # @param [String] zone - # The name of the Google Compute Engine - # [zone](/compute/docs/zones#available) in which the cluster - # resides. - # @param [String] cluster_id - # The name of the cluster. - # @param [String] node_pool_id - # The name of the node pool 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ContainerV1::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_project_zone_cluster_node_pool(project_id, zone, cluster_id, node_pool_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}', options) - command.response_representation = Google::Apis::ContainerV1::Operation::Representation - command.response_class = Google::Apis::ContainerV1::Operation - command.params['projectId'] = project_id unless project_id.nil? - command.params['zone'] = zone unless zone.nil? - command.params['clusterId'] = cluster_id unless cluster_id.nil? - command.params['nodePoolId'] = node_pool_id unless node_pool_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 - # Sets the NodeManagement options for a node pool. # @param [String] project_id # The Google Developers Console [project ID or project @@ -1149,6 +1104,92 @@ module Google execute_or_queue_command(command, &block) end + # Updates the version and/or image type of a specific node pool. + # @param [String] project_id + # The Google Developers Console [project ID or project + # number](https://support.google.com/cloud/answer/6158840). + # @param [String] zone + # The name of the Google Compute Engine + # [zone](/compute/docs/zones#available) in which the cluster + # resides. + # @param [String] cluster_id + # The name of the cluster to upgrade. + # @param [String] node_pool_id + # The name of the node pool to upgrade. + # @param [Google::Apis::ContainerV1::UpdateNodePoolRequest] update_node_pool_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::ContainerV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContainerV1::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_node_pool(project_id, zone, cluster_id, node_pool_id, update_node_pool_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update', options) + command.request_representation = Google::Apis::ContainerV1::UpdateNodePoolRequest::Representation + command.request_object = update_node_pool_request_object + command.response_representation = Google::Apis::ContainerV1::Operation::Representation + command.response_class = Google::Apis::ContainerV1::Operation + command.params['projectId'] = project_id unless project_id.nil? + command.params['zone'] = zone unless zone.nil? + command.params['clusterId'] = cluster_id unless cluster_id.nil? + command.params['nodePoolId'] = node_pool_id unless node_pool_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 + + # Cancels the specified operation. + # @param [String] project_id + # The Google Developers Console [project ID or project + # number](https://support.google.com/cloud/answer/6158840). + # @param [String] zone + # The name of the Google Compute Engine + # [zone](/compute/docs/zones#available) in which the operation resides. + # @param [String] operation_id + # The server-assigned `name` of the operation. + # @param [Google::Apis::ContainerV1::CancelOperationRequest] cancel_operation_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::ContainerV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContainerV1::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(project_id, zone, operation_id, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel', options) + command.request_representation = Google::Apis::ContainerV1::CancelOperationRequest::Representation + command.request_object = cancel_operation_request_object + command.response_representation = Google::Apis::ContainerV1::Empty::Representation + command.response_class = Google::Apis::ContainerV1::Empty + command.params['projectId'] = project_id unless project_id.nil? + command.params['zone'] = zone unless zone.nil? + command.params['operationId'] = operation_id unless operation_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 specified operation. # @param [String] project_id # The Google Developers Console [project ID or project @@ -1222,47 +1263,6 @@ module Google command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - - # Cancels the specified operation. - # @param [String] project_id - # The Google Developers Console [project ID or project - # number](https://support.google.com/cloud/answer/6158840). - # @param [String] zone - # The name of the Google Compute Engine - # [zone](/compute/docs/zones#available) in which the operation resides. - # @param [String] operation_id - # The server-assigned `name` of the operation. - # @param [Google::Apis::ContainerV1::CancelOperationRequest] cancel_operation_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::ContainerV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ContainerV1::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(project_id, zone, operation_id, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel', options) - command.request_representation = Google::Apis::ContainerV1::CancelOperationRequest::Representation - command.request_object = cancel_operation_request_object - command.response_representation = Google::Apis::ContainerV1::Empty::Representation - command.response_class = Google::Apis::ContainerV1::Empty - command.params['projectId'] = project_id unless project_id.nil? - command.params['zone'] = zone unless zone.nil? - command.params['operationId'] = operation_id unless operation_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 protected diff --git a/generated/google/apis/content_v2.rb b/generated/google/apis/content_v2.rb index afa3ab9fc..fb1d594d8 100644 --- a/generated/google/apis/content_v2.rb +++ b/generated/google/apis/content_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/shopping-content module ContentV2 VERSION = 'V2' - REVISION = '20170627' + REVISION = '20170803' # Manage your product listings and accounts for Google Shopping AUTH_CONTENT = 'https://www.googleapis.com/auth/content' diff --git a/generated/google/apis/content_v2/classes.rb b/generated/google/apis/content_v2/classes.rb index 3f21b8e09..4debc3752 100644 --- a/generated/google/apis/content_v2/classes.rb +++ b/generated/google/apis/content_v2/classes.rb @@ -165,6 +165,11 @@ module Google # @return [String] attr_accessor :account_id + # A list of account level issues. + # Corresponds to the JSON property `accountLevelIssues` + # @return [Array] + attr_accessor :account_level_issues + # A list of data quality issues. # Corresponds to the JSON property `dataQualityIssues` # @return [Array] @@ -189,12 +194,56 @@ module Google # Update properties of this object def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) + @account_level_issues = args[:account_level_issues] if args.key?(:account_level_issues) @data_quality_issues = args[:data_quality_issues] if args.key?(:data_quality_issues) @kind = args[:kind] if args.key?(:kind) @website_claimed = args[:website_claimed] if args.key?(:website_claimed) end end + # + class AccountStatusAccountLevelIssue + include Google::Apis::Core::Hashable + + # Country for which this issue is reported. + # Corresponds to the JSON property `country` + # @return [String] + attr_accessor :country + + # Additional details about the issue. + # Corresponds to the JSON property `detail` + # @return [String] + attr_accessor :detail + + # Issue identifier. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Severity of the issue. + # Corresponds to the JSON property `severity` + # @return [String] + attr_accessor :severity + + # Short description of the issue. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @country = args[:country] if args.key?(:country) + @detail = args[:detail] if args.key?(:detail) + @id = args[:id] if args.key?(:id) + @severity = args[:severity] if args.key?(:severity) + @title = args[:title] if args.key?(:title) + end + end + # class AccountStatusDataQualityIssue include Google::Apis::Core::Hashable @@ -1149,6 +1198,12 @@ module Google # @return [String] attr_accessor :password + # Whether the scheduled fetch is paused or not. + # Corresponds to the JSON property `paused` + # @return [Boolean] + attr_accessor :paused + alias_method :paused?, :paused + # Time zone used for schedule. UTC by default. E.g., "America/Los_Angeles". # Corresponds to the JSON property `timeZone` # @return [String] @@ -1175,6 +1230,7 @@ module Google @hour = args[:hour] if args.key?(:hour) @minute_of_hour = args[:minute_of_hour] if args.key?(:minute_of_hour) @password = args[:password] if args.key?(:password) + @paused = args[:paused] if args.key?(:paused) @time_zone = args[:time_zone] if args.key?(:time_zone) @username = args[:username] if args.key?(:username) @weekday = args[:weekday] if args.key?(:weekday) @@ -2269,7 +2325,7 @@ module Google attr_accessor :placed_date # The details of the merchant provided promotions applied to the order. More - # details about the program are here. + # details about the program are here. # Corresponds to the JSON property `promotions` # @return [Array] attr_accessor :promotions @@ -4927,7 +4983,7 @@ module Google # @return [Google::Apis::ContentV2::Price] attr_accessor :price - # The geographic region to which a shipping rate applies (e.g. zip code). + # The geographic region to which a shipping rate applies. # Corresponds to the JSON property `region` # @return [String] attr_accessor :region @@ -5047,6 +5103,11 @@ module Google # @return [String] attr_accessor :link + # Product data. + # Corresponds to the JSON property `product` + # @return [Google::Apis::ContentV2::Product] + attr_accessor :product + # The id of the product for which status is reported. # Corresponds to the JSON property `productId` # @return [String] @@ -5070,6 +5131,7 @@ module Google @kind = args[:kind] if args.key?(:kind) @last_update_date = args[:last_update_date] if args.key?(:last_update_date) @link = args[:link] if args.key?(:link) + @product = args[:product] if args.key?(:product) @product_id = args[:product_id] if args.key?(:product_id) @title = args[:title] if args.key?(:title) end @@ -5458,6 +5520,12 @@ module Google # @return [Fixnum] attr_accessor :batch_id + # + # Corresponds to the JSON property `includeAttributes` + # @return [Boolean] + attr_accessor :include_attributes + alias_method :include_attributes?, :include_attributes + # The ID of the managing account. # Corresponds to the JSON property `merchantId` # @return [Fixnum] @@ -5480,6 +5548,7 @@ module Google # Update properties of this object def update!(**args) @batch_id = args[:batch_id] if args.key?(:batch_id) + @include_attributes = args[:include_attributes] if args.key?(:include_attributes) @merchant_id = args[:merchant_id] if args.key?(:merchant_id) @request_method = args[:request_method] if args.key?(:request_method) @product_id = args[:product_id] if args.key?(:product_id) @@ -5995,7 +6064,7 @@ module Google attr_accessor :predefined_delivery_address # The details of the merchant provided promotions applied to the order. More - # details about the program are here. + # details about the program are here. # Corresponds to the JSON property `promotions` # @return [Array] attr_accessor :promotions diff --git a/generated/google/apis/content_v2/representations.rb b/generated/google/apis/content_v2/representations.rb index 07979ebdf..6b2a968fd 100644 --- a/generated/google/apis/content_v2/representations.rb +++ b/generated/google/apis/content_v2/representations.rb @@ -46,6 +46,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AccountStatusAccountLevelIssue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AccountStatusDataQualityIssue class Representation < Google::Apis::Core::JsonRepresentation; end @@ -983,6 +989,8 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :account_id, as: 'accountId' + collection :account_level_issues, as: 'accountLevelIssues', class: Google::Apis::ContentV2::AccountStatusAccountLevelIssue, decorator: Google::Apis::ContentV2::AccountStatusAccountLevelIssue::Representation + collection :data_quality_issues, as: 'dataQualityIssues', class: Google::Apis::ContentV2::AccountStatusDataQualityIssue, decorator: Google::Apis::ContentV2::AccountStatusDataQualityIssue::Representation property :kind, as: 'kind' @@ -990,6 +998,17 @@ module Google end end + class AccountStatusAccountLevelIssue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :country, as: 'country' + property :detail, as: 'detail' + property :id, as: 'id' + property :severity, as: 'severity' + property :title, as: 'title' + end + end + class AccountStatusDataQualityIssue # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1263,6 +1282,7 @@ module Google property :hour, as: 'hour' property :minute_of_hour, as: 'minuteOfHour' property :password, as: 'password' + property :paused, as: 'paused' property :time_zone, as: 'timeZone' property :username, as: 'username' property :weekday, as: 'weekday' @@ -2338,6 +2358,8 @@ module Google property :kind, as: 'kind' property :last_update_date, as: 'lastUpdateDate' property :link, as: 'link' + property :product, as: 'product', class: Google::Apis::ContentV2::Product, decorator: Google::Apis::ContentV2::Product::Representation + property :product_id, as: 'productId' property :title, as: 'title' end @@ -2457,6 +2479,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :batch_id, as: 'batchId' + property :include_attributes, as: 'includeAttributes' property :merchant_id, :numeric_string => true, as: 'merchantId' property :request_method, as: 'method' property :product_id, as: 'productId' diff --git a/generated/google/apis/content_v2/service.rb b/generated/google/apis/content_v2/service.rb index 749e577c6..597fd8a20 100644 --- a/generated/google/apis/content_v2/service.rb +++ b/generated/google/apis/content_v2/service.rb @@ -88,8 +88,8 @@ module Google # Claims the website of a Merchant Center sub-account. This method can only be # called for accounts to which the managing account has access: either the - # managing account itself or sub-accounts if the managing account is a multi- - # client account. + # managing account itself for any Merchant Center account, or any sub-account + # when the managing account is a multi-client account. # @param [Fixnum] merchant_id # The ID of the managing account. # @param [Fixnum] account_id @@ -212,7 +212,8 @@ module Google # Retrieves a Merchant Center account. This method can only be called for # accounts to which the managing account has access: either the managing account - # itself or sub-accounts if the managing account is a multi-client account. + # itself for any Merchant Center account, or any sub-account when the managing + # account is a multi-client account. # @param [Fixnum] merchant_id # The ID of the managing account. # @param [Fixnum] account_id @@ -336,8 +337,8 @@ module Google # Updates a Merchant Center account. This method can only be called for accounts # to which the managing account has access: either the managing account itself - # or sub-accounts if the managing account is a multi-client account. This method - # supports patch semantics. + # for any Merchant Center account, or any sub-account when the managing account + # is a multi-client account. This method supports patch semantics. # @param [Fixnum] merchant_id # The ID of the managing account. # @param [Fixnum] account_id @@ -383,7 +384,8 @@ module Google # Updates a Merchant Center account. This method can only be called for accounts # to which the managing account has access: either the managing account itself - # or sub-accounts if the managing account is a multi-client account. + # for any Merchant Center account, or any sub-account when the managing account + # is a multi-client account. # @param [Fixnum] merchant_id # The ID of the managing account. # @param [Fixnum] account_id @@ -464,8 +466,8 @@ module Google # Retrieves the status of a Merchant Center account. This method can only be # called for accounts to which the managing account has access: either the - # managing account itself or sub-accounts if the managing account is a multi- - # client account. + # managing account itself for any Merchant Center account, or any sub-account + # when the managing account is a multi-client account. # @param [Fixnum] merchant_id # The ID of the managing account. # @param [Fixnum] account_id @@ -586,7 +588,8 @@ module Google # Retrieves the tax settings of the account. This method can only be called for # accounts to which the managing account has access: either the managing account - # itself or sub-accounts if the managing account is a multi-client account. + # itself for any Merchant Center account, or any sub-account when the managing + # account is a multi-client account. # @param [Fixnum] merchant_id # The ID of the managing account. # @param [Fixnum] account_id @@ -668,8 +671,8 @@ module Google # Updates the tax settings of the account. This method can only be called for # accounts to which the managing account has access: either the managing account - # itself or sub-accounts if the managing account is a multi-client account. This - # method supports patch semantics. + # itself for any Merchant Center account, or any sub-account when the managing + # account is a multi-client account. This method supports patch semantics. # @param [Fixnum] merchant_id # The ID of the managing account. # @param [Fixnum] account_id @@ -715,7 +718,8 @@ module Google # Updates the tax settings of the account. This method can only be called for # accounts to which the managing account has access: either the managing account - # itself or sub-accounts if the managing account is a multi-client account. + # itself for any Merchant Center account, or any sub-account when the managing + # account is a multi-client account. # @param [Fixnum] merchant_id # The ID of the managing account. # @param [Fixnum] account_id @@ -2271,8 +2275,8 @@ module Google # Retrieves the shipping settings of the account. This method can only be called # for accounts to which the managing account has access: either the managing - # account itself or sub-accounts if the managing account is a multi-client - # account. + # account itself for any Merchant Center account, or any sub-account when the + # managing account is a multi-client account. # @param [Fixnum] merchant_id # The ID of the managing account. # @param [Fixnum] account_id @@ -2390,8 +2394,9 @@ module Google # Updates the shipping settings of the account. This method can only be called # for accounts to which the managing account has access: either the managing - # account itself or sub-accounts if the managing account is a multi-client - # account. This method supports patch semantics. + # account itself for any Merchant Center account, or any sub-account when the + # managing account is a multi-client account. This method supports patch + # semantics. # @param [Fixnum] merchant_id # The ID of the managing account. # @param [Fixnum] account_id @@ -2437,8 +2442,8 @@ module Google # Updates the shipping settings of the account. This method can only be called # for accounts to which the managing account has access: either the managing - # account itself or sub-accounts if the managing account is a multi-client - # account. + # account itself for any Merchant Center account, or any sub-account when the + # managing account is a multi-client account. # @param [Fixnum] merchant_id # The ID of the managing account. # @param [Fixnum] account_id diff --git a/generated/google/apis/dataflow_v1b3.rb b/generated/google/apis/dataflow_v1b3.rb index e7a4d42c5..f97338398 100644 --- a/generated/google/apis/dataflow_v1b3.rb +++ b/generated/google/apis/dataflow_v1b3.rb @@ -25,19 +25,19 @@ module Google # @see https://cloud.google.com/dataflow module DataflowV1b3 VERSION = 'V1b3' - REVISION = '20170701' + REVISION = '20170724' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' - # View your email address - AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' + # View and manage your Google Compute Engine resources + AUTH_COMPUTE = 'https://www.googleapis.com/auth/compute' # View your Google Compute Engine resources AUTH_COMPUTE_READONLY = 'https://www.googleapis.com/auth/compute.readonly' - # View and manage your Google Compute Engine resources - AUTH_COMPUTE = 'https://www.googleapis.com/auth/compute' + # View your email address + AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' end end end diff --git a/generated/google/apis/dataflow_v1b3/classes.rb b/generated/google/apis/dataflow_v1b3/classes.rb index fa8bc73fa..2e75e9c6b 100644 --- a/generated/google/apis/dataflow_v1b3/classes.rb +++ b/generated/google/apis/dataflow_v1b3/classes.rb @@ -22,15 +22,26 @@ module Google module Apis module DataflowV1b3 - # Information about an output of a multi-output DoFn. - class MultiOutputInfo + # Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest. + class ApproximateProgress include Google::Apis::Core::Hashable - # The id of the tag the user code will emit to this output by; this - # should correspond to the tag of some SideInputInfo. - # Corresponds to the JSON property `tag` + # Obsolete. + # Corresponds to the JSON property `percentComplete` + # @return [Float] + attr_accessor :percent_complete + + # Position defines a position within a collection of data. The value + # can be either the end position, a key (used with ordered + # collections), a byte offset, or a record index. + # Corresponds to the JSON property `position` + # @return [Google::Apis::DataflowV1b3::Position] + attr_accessor :position + + # Obsolete. + # Corresponds to the JSON property `remainingTime` # @return [String] - attr_accessor :tag + attr_accessor :remaining_time def initialize(**args) update!(**args) @@ -38,35 +49,40 @@ module Google # Update properties of this object def update!(**args) - @tag = args[:tag] if args.key?(:tag) + @percent_complete = args[:percent_complete] if args.key?(:percent_complete) + @position = args[:position] if args.key?(:position) + @remaining_time = args[:remaining_time] if args.key?(:remaining_time) end end - # Represents the operation to split a high-level Source specification - # into bundles (parts for parallel processing). - # At a high level, splitting of a source into bundles happens as follows: - # SourceSplitRequest is applied to the source. If it returns - # SOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting happens and the source - # is used "as is". Otherwise, splitting is applied recursively to each - # produced DerivedSource. - # As an optimization, for any Source, if its does_not_need_splitting is - # true, the framework assumes that splitting this source would return - # SOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't initiate a SourceSplitRequest. - # This applies both to the initial source being split and to bundles - # produced from it. - class SourceSplitRequest + # A progress measurement of a WorkItem by a worker. + class ApproximateReportedProgress include Google::Apis::Core::Hashable - # Hints for splitting a Source into bundles (parts for parallel - # processing) using SourceSplitRequest. - # Corresponds to the JSON property `options` - # @return [Google::Apis::DataflowV1b3::SourceSplitOptions] - attr_accessor :options + # Represents the level of parallelism in a WorkItem's input, + # reported by the worker. + # Corresponds to the JSON property `consumedParallelism` + # @return [Google::Apis::DataflowV1b3::ReportedParallelism] + attr_accessor :consumed_parallelism - # A source that records can be read and decoded from. - # Corresponds to the JSON property `source` - # @return [Google::Apis::DataflowV1b3::Source] - attr_accessor :source + # Completion as fraction of the input consumed, from 0.0 (beginning, nothing + # consumed), to 1.0 (end of the input, entire input consumed). + # Corresponds to the JSON property `fractionConsumed` + # @return [Float] + attr_accessor :fraction_consumed + + # Position defines a position within a collection of data. The value + # can be either the end position, a key (used with ordered + # collections), a byte offset, or a record index. + # Corresponds to the JSON property `position` + # @return [Google::Apis::DataflowV1b3::Position] + attr_accessor :position + + # Represents the level of parallelism in a WorkItem's input, + # reported by the worker. + # Corresponds to the JSON property `remainingParallelism` + # @return [Google::Apis::DataflowV1b3::ReportedParallelism] + attr_accessor :remaining_parallelism def initialize(**args) update!(**args) @@ -74,20 +90,29 @@ module Google # Update properties of this object def update!(**args) - @options = args[:options] if args.key?(:options) - @source = args[:source] if args.key?(:source) + @consumed_parallelism = args[:consumed_parallelism] if args.key?(:consumed_parallelism) + @fraction_consumed = args[:fraction_consumed] if args.key?(:fraction_consumed) + @position = args[:position] if args.key?(:position) + @remaining_parallelism = args[:remaining_parallelism] if args.key?(:remaining_parallelism) end end - # The result of a SourceGetMetadataOperation. - class SourceGetMetadataResponse + # A suggestion by the service to the worker to dynamically split the WorkItem. + class ApproximateSplitRequest include Google::Apis::Core::Hashable - # Metadata about a Source useful for automatically optimizing - # and tuning the pipeline, etc. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::DataflowV1b3::SourceMetadata] - attr_accessor :metadata + # A fraction at which to split the work item, from 0.0 (beginning of the + # input) to 1.0 (end of the input). + # Corresponds to the JSON property `fractionConsumed` + # @return [Float] + attr_accessor :fraction_consumed + + # Position defines a position within a collection of data. The value + # can be either the end position, a key (used with ordered + # collections), a byte offset, or a record index. + # Corresponds to the JSON property `position` + # @return [Google::Apis::DataflowV1b3::Position] + attr_accessor :position def initialize(**args) update!(**args) @@ -95,59 +120,8 @@ module Google # Update properties of this object def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - end - end - - # A task which consists of a shell command for the worker to execute. - class ShellTask - include Google::Apis::Core::Hashable - - # The shell command to run. - # Corresponds to the JSON property `command` - # @return [String] - attr_accessor :command - - # Exit code for the task. - # Corresponds to the JSON property `exitCode` - # @return [Fixnum] - attr_accessor :exit_code - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @command = args[:command] if args.key?(:command) - @exit_code = args[:exit_code] if args.key?(:exit_code) - end - end - - # The metric short id is returned to the user alongside an offset into - # ReportWorkItemStatusRequest - class MetricShortId - include Google::Apis::Core::Hashable - - # The index of the corresponding metric in - # the ReportWorkItemStatusRequest. Required. - # Corresponds to the JSON property `metricIndex` - # @return [Fixnum] - attr_accessor :metric_index - - # The service-generated short identifier for the metric. - # Corresponds to the JSON property `shortId` - # @return [Fixnum] - attr_accessor :short_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metric_index = args[:metric_index] if args.key?(:metric_index) - @short_id = args[:short_id] if args.key?(:short_id) + @fraction_consumed = args[:fraction_consumed] if args.key?(:fraction_consumed) + @position = args[:position] if args.key?(:position) end end @@ -156,11 +130,10 @@ module Google class AutoscalingEvent include Google::Apis::Core::Hashable - # The time this event was emitted to indicate a new target or current - # num_workers value. - # Corresponds to the JSON property `time` - # @return [String] - attr_accessor :time + # The current number of workers the job has. + # Corresponds to the JSON property `currentNumWorkers` + # @return [Fixnum] + attr_accessor :current_num_workers # A rich message format, including a human readable string, a key for # identifying the message, and structured data associated with the message for @@ -179,10 +152,11 @@ module Google # @return [Fixnum] attr_accessor :target_num_workers - # The current number of workers the job has. - # Corresponds to the JSON property `currentNumWorkers` - # @return [Fixnum] - attr_accessor :current_num_workers + # The time this event was emitted to indicate a new target or current + # num_workers value. + # Corresponds to the JSON property `time` + # @return [String] + attr_accessor :time def initialize(**args) update!(**args) @@ -190,135 +164,27 @@ module Google # Update properties of this object def update!(**args) - @time = args[:time] if args.key?(:time) + @current_num_workers = args[:current_num_workers] if args.key?(:current_num_workers) @description = args[:description] if args.key?(:description) @event_type = args[:event_type] if args.key?(:event_type) @target_num_workers = args[:target_num_workers] if args.key?(:target_num_workers) - @current_num_workers = args[:current_num_workers] if args.key?(:current_num_workers) + @time = args[:time] if args.key?(:time) end end - # Taskrunner configuration settings. - class TaskRunnerSettings + # Settings for WorkerPool autoscaling. + class AutoscalingSettings include Google::Apis::Core::Hashable - # The API version of endpoint, e.g. "v1b3" - # Corresponds to the JSON property `dataflowApiVersion` + # The algorithm to use for autoscaling. + # Corresponds to the JSON property `algorithm` # @return [String] - attr_accessor :dataflow_api_version + attr_accessor :algorithm - # The OAuth2 scopes to be requested by the taskrunner in order to - # access the Cloud Dataflow API. - # Corresponds to the JSON property `oauthScopes` - # @return [Array] - attr_accessor :oauth_scopes - - # The streaming worker main class name. - # Corresponds to the JSON property `streamingWorkerMainClass` - # @return [String] - attr_accessor :streaming_worker_main_class - - # Indicates where to put logs. If this is not specified, the logs - # will not be uploaded. - # The supported resource type is: - # Google Cloud Storage: - # storage.googleapis.com/`bucket`/`object` - # bucket.storage.googleapis.com/`object` - # Corresponds to the JSON property `logUploadLocation` - # @return [String] - attr_accessor :log_upload_location - - # The file to store the workflow in. - # Corresponds to the JSON property `workflowFileName` - # @return [String] - attr_accessor :workflow_file_name - - # The file to store preprocessing commands in. - # Corresponds to the JSON property `commandlinesFileName` - # @return [String] - attr_accessor :commandlines_file_name - - # The suggested backend language. - # Corresponds to the JSON property `languageHint` - # @return [String] - attr_accessor :language_hint - - # The location on the worker for task-specific subdirectories. - # Corresponds to the JSON property `baseTaskDir` - # @return [String] - attr_accessor :base_task_dir - - # The prefix of the resources the taskrunner should use for - # temporary storage. - # The supported resource type is: - # Google Cloud Storage: - # storage.googleapis.com/`bucket`/`object` - # bucket.storage.googleapis.com/`object` - # Corresponds to the JSON property `tempStoragePrefix` - # @return [String] - attr_accessor :temp_storage_prefix - - # The base URL for the taskrunner to use when accessing Google Cloud APIs. - # When workers access Google Cloud APIs, they logically do so via - # relative URLs. If this field is specified, it supplies the base - # URL to use for resolving these relative URLs. The normative - # algorithm used is defined by RFC 1808, "Relative Uniform Resource - # Locators". - # If not specified, the default value is "http://www.googleapis.com/" - # Corresponds to the JSON property `baseUrl` - # @return [String] - attr_accessor :base_url - - # Whether to send taskrunner log info to Google Compute Engine VM serial - # console. - # Corresponds to the JSON property `logToSerialconsole` - # @return [Boolean] - attr_accessor :log_to_serialconsole - alias_method :log_to_serialconsole?, :log_to_serialconsole - - # Whether to continue taskrunner if an exception is hit. - # Corresponds to the JSON property `continueOnException` - # @return [Boolean] - attr_accessor :continue_on_exception - alias_method :continue_on_exception?, :continue_on_exception - - # Provides data to pass through to the worker harness. - # Corresponds to the JSON property `parallelWorkerSettings` - # @return [Google::Apis::DataflowV1b3::WorkerSettings] - attr_accessor :parallel_worker_settings - - # The ID string of the VM. - # Corresponds to the JSON property `vmId` - # @return [String] - attr_accessor :vm_id - - # The UNIX user ID on the worker VM to use for tasks launched by - # taskrunner; e.g. "root". - # Corresponds to the JSON property `taskUser` - # @return [String] - attr_accessor :task_user - - # Whether to also send taskrunner log info to stderr. - # Corresponds to the JSON property `alsologtostderr` - # @return [Boolean] - attr_accessor :alsologtostderr - alias_method :alsologtostderr?, :alsologtostderr - - # The UNIX group ID on the worker VM to use for tasks launched by - # taskrunner; e.g. "wheel". - # Corresponds to the JSON property `taskGroup` - # @return [String] - attr_accessor :task_group - - # The command to launch the worker harness. - # Corresponds to the JSON property `harnessCommand` - # @return [String] - attr_accessor :harness_command - - # The directory on the VM to store logs. - # Corresponds to the JSON property `logDir` - # @return [String] - attr_accessor :log_dir + # The maximum number of workers to cap scaling at. + # Corresponds to the JSON property `maxNumWorkers` + # @return [Fixnum] + attr_accessor :max_num_workers def initialize(**args) update!(**args) @@ -326,68 +192,31 @@ module Google # Update properties of this object def update!(**args) - @dataflow_api_version = args[:dataflow_api_version] if args.key?(:dataflow_api_version) - @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes) - @streaming_worker_main_class = args[:streaming_worker_main_class] if args.key?(:streaming_worker_main_class) - @log_upload_location = args[:log_upload_location] if args.key?(:log_upload_location) - @workflow_file_name = args[:workflow_file_name] if args.key?(:workflow_file_name) - @commandlines_file_name = args[:commandlines_file_name] if args.key?(:commandlines_file_name) - @language_hint = args[:language_hint] if args.key?(:language_hint) - @base_task_dir = args[:base_task_dir] if args.key?(:base_task_dir) - @temp_storage_prefix = args[:temp_storage_prefix] if args.key?(:temp_storage_prefix) - @base_url = args[:base_url] if args.key?(:base_url) - @log_to_serialconsole = args[:log_to_serialconsole] if args.key?(:log_to_serialconsole) - @continue_on_exception = args[:continue_on_exception] if args.key?(:continue_on_exception) - @parallel_worker_settings = args[:parallel_worker_settings] if args.key?(:parallel_worker_settings) - @vm_id = args[:vm_id] if args.key?(:vm_id) - @task_user = args[:task_user] if args.key?(:task_user) - @alsologtostderr = args[:alsologtostderr] if args.key?(:alsologtostderr) - @task_group = args[:task_group] if args.key?(:task_group) - @harness_command = args[:harness_command] if args.key?(:harness_command) - @log_dir = args[:log_dir] if args.key?(:log_dir) + @algorithm = args[:algorithm] if args.key?(:algorithm) + @max_num_workers = args[:max_num_workers] if args.key?(:max_num_workers) end end - # Position defines a position within a collection of data. The value - # can be either the end position, a key (used with ordered - # collections), a byte offset, or a record index. - class Position + # Modeled after information exposed by /proc/stat. + class CpuTime include Google::Apis::Core::Hashable - # Position is a record index. - # Corresponds to the JSON property `recordIndex` - # @return [Fixnum] - attr_accessor :record_index + # Average CPU utilization rate (% non-idle cpu / second) since previous + # sample. + # Corresponds to the JSON property `rate` + # @return [Float] + attr_accessor :rate - # CloudPosition is a base64 encoded BatchShufflePosition (with FIXED - # sharding). - # Corresponds to the JSON property `shufflePosition` + # Timestamp of the measurement. + # Corresponds to the JSON property `timestamp` # @return [String] - attr_accessor :shuffle_position + attr_accessor :timestamp - # Position is a byte offset. - # Corresponds to the JSON property `byteOffset` + # Total active CPU time across all cores (ie., non-idle) in milliseconds + # since start-up. + # Corresponds to the JSON property `totalMs` # @return [Fixnum] - attr_accessor :byte_offset - - # A position that encapsulates an inner position and an index for the inner - # position. A ConcatPosition can be used by a reader of a source that - # encapsulates a set of other sources. - # Corresponds to the JSON property `concatPosition` - # @return [Google::Apis::DataflowV1b3::ConcatPosition] - attr_accessor :concat_position - - # Position is past all other positions. Also useful for the end - # position of an unbounded range. - # Corresponds to the JSON property `end` - # @return [Boolean] - attr_accessor :end - alias_method :end?, :end - - # Position is a string key, ordered lexicographically. - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key + attr_accessor :total_ms def initialize(**args) update!(**args) @@ -395,64 +224,32 @@ module Google # Update properties of this object def update!(**args) - @record_index = args[:record_index] if args.key?(:record_index) - @shuffle_position = args[:shuffle_position] if args.key?(:shuffle_position) - @byte_offset = args[:byte_offset] if args.key?(:byte_offset) - @concat_position = args[:concat_position] if args.key?(:concat_position) - @end = args[:end] if args.key?(:end) - @key = args[:key] if args.key?(:key) + @rate = args[:rate] if args.key?(:rate) + @timestamp = args[:timestamp] if args.key?(:timestamp) + @total_ms = args[:total_ms] if args.key?(:total_ms) end end - # A source that records can be read and decoded from. - class Source + # Description of an interstitial value between transforms in an execution + # stage. + class ComponentSource include Google::Apis::Core::Hashable - # The source to read from, plus its parameters. - # Corresponds to the JSON property `spec` - # @return [Hash] - attr_accessor :spec + # Dataflow service generated name for this source. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name - # Metadata about a Source useful for automatically optimizing - # and tuning the pipeline, etc. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::DataflowV1b3::SourceMetadata] - attr_accessor :metadata + # User name for the original user transform or collection with which this + # source is most closely associated. + # Corresponds to the JSON property `originalTransformOrCollection` + # @return [String] + attr_accessor :original_transform_or_collection - # While splitting, sources may specify the produced bundles - # as differences against another source, in order to save backend-side - # memory and allow bigger jobs. For details, see SourceSplitRequest. - # To support this use case, the full set of parameters of the source - # is logically obtained by taking the latest explicitly specified value - # of each parameter in the order: - # base_specs (later items win), spec (overrides anything in base_specs). - # Corresponds to the JSON property `baseSpecs` - # @return [Array>] - attr_accessor :base_specs - - # Setting this value to true hints to the framework that the source - # doesn't need splitting, and using SourceSplitRequest on it would - # yield SOURCE_SPLIT_OUTCOME_USE_CURRENT. - # E.g. a file splitter may set this to true when splitting a single file - # into a set of byte ranges of appropriate size, and set this - # to false when splitting a filepattern into individual files. - # However, for efficiency, a file splitter may decide to produce - # file subranges directly from the filepattern to avoid a splitting - # round-trip. - # See SourceSplitRequest for an overview of the splitting process. - # This field is meaningful only in the Source objects populated - # by the user (e.g. when filling in a DerivedSource). - # Source objects supplied by the framework to the user don't have - # this field populated. - # Corresponds to the JSON property `doesNotNeedSplitting` - # @return [Boolean] - attr_accessor :does_not_need_splitting - alias_method :does_not_need_splitting?, :does_not_need_splitting - - # The codec to use to decode data read from the source. - # Corresponds to the JSON property `codec` - # @return [Hash] - attr_accessor :codec + # Human-readable name for this transform; may be user or system generated. + # Corresponds to the JSON property `userName` + # @return [String] + attr_accessor :user_name def initialize(**args) update!(**args) @@ -460,28 +257,31 @@ module Google # Update properties of this object def update!(**args) - @spec = args[:spec] if args.key?(:spec) - @metadata = args[:metadata] if args.key?(:metadata) - @base_specs = args[:base_specs] if args.key?(:base_specs) - @does_not_need_splitting = args[:does_not_need_splitting] if args.key?(:does_not_need_splitting) - @codec = args[:codec] if args.key?(:codec) + @name = args[:name] if args.key?(:name) + @original_transform_or_collection = args[:original_transform_or_collection] if args.key?(:original_transform_or_collection) + @user_name = args[:user_name] if args.key?(:user_name) end end - # A representation of an int64, n, that is immune to precision loss when - # encoded in JSON. - class SplitInt64 + # Description of a transform executed as part of an execution stage. + class ComponentTransform include Google::Apis::Core::Hashable - # The low order bits: n & 0xffffffff. - # Corresponds to the JSON property `lowBits` - # @return [Fixnum] - attr_accessor :low_bits + # Dataflow service generated name for this source. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name - # The high order bits, including the sign: n >> 32. - # Corresponds to the JSON property `highBits` - # @return [Fixnum] - attr_accessor :high_bits + # User name for the original user transform with which this transform is + # most closely associated. + # Corresponds to the JSON property `originalTransform` + # @return [String] + attr_accessor :original_transform + + # Human-readable name for this transform; may be user or system generated. + # Corresponds to the JSON property `userName` + # @return [String] + attr_accessor :user_name def initialize(**args) update!(**args) @@ -489,151 +289,113 @@ module Google # Update properties of this object def update!(**args) - @low_bits = args[:low_bits] if args.key?(:low_bits) - @high_bits = args[:high_bits] if args.key?(:high_bits) + @name = args[:name] if args.key?(:name) + @original_transform = args[:original_transform] if args.key?(:original_transform) + @user_name = args[:user_name] if args.key?(:user_name) end end - # Describes one particular pool of Cloud Dataflow workers to be - # instantiated by the Cloud Dataflow service in order to perform the - # computations required by a job. Note that a workflow job may use - # multiple pools, in order to match the various computational - # requirements of the various stages of the job. - class WorkerPool + # All configuration data for a particular Computation. + class ComputationTopology include Google::Apis::Core::Hashable - # Subnetwork to which VMs will be assigned, if desired. Expected to be of - # the form "regions/REGION/subnetworks/SUBNETWORK". - # Corresponds to the JSON property `subnetwork` + # The ID of the computation. + # Corresponds to the JSON property `computationId` # @return [String] - attr_accessor :subnetwork + attr_accessor :computation_id - # Configuration for VM IPs. - # Corresponds to the JSON property `ipConfiguration` + # The inputs to the computation. + # Corresponds to the JSON property `inputs` + # @return [Array] + attr_accessor :inputs + + # The key ranges processed by the computation. + # Corresponds to the JSON property `keyRanges` + # @return [Array] + attr_accessor :key_ranges + + # The outputs from the computation. + # Corresponds to the JSON property `outputs` + # @return [Array] + attr_accessor :outputs + + # The state family values. + # Corresponds to the JSON property `stateFamilies` + # @return [Array] + attr_accessor :state_families + + # The system stage name. + # Corresponds to the JSON property `systemStageName` # @return [String] - attr_accessor :ip_configuration + attr_accessor :system_stage_name - # Taskrunner configuration settings. - # Corresponds to the JSON property `taskrunnerSettings` - # @return [Google::Apis::DataflowV1b3::TaskRunnerSettings] - attr_accessor :taskrunner_settings + def initialize(**args) + update!(**args) + end - # Settings for WorkerPool autoscaling. - # Corresponds to the JSON property `autoscalingSettings` - # @return [Google::Apis::DataflowV1b3::AutoscalingSettings] - attr_accessor :autoscaling_settings + # Update properties of this object + def update!(**args) + @computation_id = args[:computation_id] if args.key?(:computation_id) + @inputs = args[:inputs] if args.key?(:inputs) + @key_ranges = args[:key_ranges] if args.key?(:key_ranges) + @outputs = args[:outputs] if args.key?(:outputs) + @state_families = args[:state_families] if args.key?(:state_families) + @system_stage_name = args[:system_stage_name] if args.key?(:system_stage_name) + end + end - # Metadata to set on the Google Compute Engine VMs. - # Corresponds to the JSON property `metadata` - # @return [Hash] - attr_accessor :metadata + # A position that encapsulates an inner position and an index for the inner + # position. A ConcatPosition can be used by a reader of a source that + # encapsulates a set of other sources. + class ConcatPosition + include Google::Apis::Core::Hashable - # Network to which VMs will be assigned. If empty or unspecified, - # the service will use the network "default". - # Corresponds to the JSON property `network` - # @return [String] - attr_accessor :network - - # The default package set to install. This allows the service to - # select a default set of packages which are useful to worker - # harnesses written in a particular language. - # Corresponds to the JSON property `defaultPackageSet` - # @return [String] - attr_accessor :default_package_set - - # The number of threads per worker harness. If empty or unspecified, the - # service will choose a number of threads (according to the number of cores - # on the selected machine type for batch, or 1 by convention for streaming). - # Corresponds to the JSON property `numThreadsPerWorker` + # Index of the inner source. + # Corresponds to the JSON property `index` # @return [Fixnum] - attr_accessor :num_threads_per_worker + attr_accessor :index - # Number of Google Compute Engine workers in this pool needed to - # execute the job. If zero or unspecified, the service will - # attempt to choose a reasonable default. - # Corresponds to the JSON property `numWorkers` - # @return [Fixnum] - attr_accessor :num_workers + # Position defines a position within a collection of data. The value + # can be either the end position, a key (used with ordered + # collections), a byte offset, or a record index. + # Corresponds to the JSON property `position` + # @return [Google::Apis::DataflowV1b3::Position] + attr_accessor :position - # Zone to run the worker pools in. If empty or unspecified, the service - # will attempt to choose a reasonable default. - # Corresponds to the JSON property `zone` + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @index = args[:index] if args.key?(:index) + @position = args[:position] if args.key?(:position) + end + end + + # CounterMetadata includes all static non-name non-value counter attributes. + class CounterMetadata + include Google::Apis::Core::Hashable + + # Human-readable description of the counter semantics. + # Corresponds to the JSON property `description` # @return [String] - attr_accessor :zone + attr_accessor :description - # Fully qualified source image for disks. - # Corresponds to the JSON property `diskSourceImage` - # @return [String] - attr_accessor :disk_source_image - - # Packages to be installed on workers. - # Corresponds to the JSON property `packages` - # @return [Array] - attr_accessor :packages - - # Sets the policy for determining when to turndown worker pool. - # Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and - # `TEARDOWN_NEVER`. - # `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether - # the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down - # if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn - # down. - # If the workers are not torn down by the service, they will - # continue to run and use Google Compute Engine VM resources in the - # user's project until they are explicitly terminated by the user. - # Because of this, Google recommends using the `TEARDOWN_ALWAYS` - # policy except for small, manually supervised test jobs. - # If unknown or unspecified, the service will attempt to choose a reasonable - # default. - # Corresponds to the JSON property `teardownPolicy` - # @return [String] - attr_accessor :teardown_policy - - # The action to take on host maintenance, as defined by the Google - # Compute Engine API. - # Corresponds to the JSON property `onHostMaintenance` - # @return [String] - attr_accessor :on_host_maintenance - - # Extra arguments for this worker pool. - # Corresponds to the JSON property `poolArgs` - # @return [Hash] - attr_accessor :pool_args - - # Size of root disk for VMs, in GB. If zero or unspecified, the service will - # attempt to choose a reasonable default. - # Corresponds to the JSON property `diskSizeGb` - # @return [Fixnum] - attr_accessor :disk_size_gb - - # Required. Docker container image that executes the Cloud Dataflow worker - # harness, residing in Google Container Registry. - # Corresponds to the JSON property `workerHarnessContainerImage` - # @return [String] - attr_accessor :worker_harness_container_image - - # Machine type (e.g. "n1-standard-1"). If empty or unspecified, the - # service will attempt to choose a reasonable default. - # Corresponds to the JSON property `machineType` - # @return [String] - attr_accessor :machine_type - - # Type of root disk for VMs. If empty or unspecified, the service will - # attempt to choose a reasonable default. - # Corresponds to the JSON property `diskType` - # @return [String] - attr_accessor :disk_type - - # The kind of the worker pool; currently only `harness` and `shuffle` - # are supported. + # Counter aggregation kind. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # Data disks that are used by a VM in this workflow. - # Corresponds to the JSON property `dataDisks` - # @return [Array] - attr_accessor :data_disks + # A string referring to the unit type. + # Corresponds to the JSON property `otherUnits` + # @return [String] + attr_accessor :other_units + + # System defined Units, see above enum. + # Corresponds to the JSON property `standardUnits` + # @return [String] + attr_accessor :standard_units def initialize(**args) update!(**args) @@ -641,55 +403,60 @@ module Google # Update properties of this object def update!(**args) - @subnetwork = args[:subnetwork] if args.key?(:subnetwork) - @ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration) - @taskrunner_settings = args[:taskrunner_settings] if args.key?(:taskrunner_settings) - @autoscaling_settings = args[:autoscaling_settings] if args.key?(:autoscaling_settings) - @metadata = args[:metadata] if args.key?(:metadata) - @network = args[:network] if args.key?(:network) - @default_package_set = args[:default_package_set] if args.key?(:default_package_set) - @num_threads_per_worker = args[:num_threads_per_worker] if args.key?(:num_threads_per_worker) - @num_workers = args[:num_workers] if args.key?(:num_workers) - @zone = args[:zone] if args.key?(:zone) - @disk_source_image = args[:disk_source_image] if args.key?(:disk_source_image) - @packages = args[:packages] if args.key?(:packages) - @teardown_policy = args[:teardown_policy] if args.key?(:teardown_policy) - @on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance) - @pool_args = args[:pool_args] if args.key?(:pool_args) - @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb) - @worker_harness_container_image = args[:worker_harness_container_image] if args.key?(:worker_harness_container_image) - @machine_type = args[:machine_type] if args.key?(:machine_type) - @disk_type = args[:disk_type] if args.key?(:disk_type) + @description = args[:description] if args.key?(:description) @kind = args[:kind] if args.key?(:kind) - @data_disks = args[:data_disks] if args.key?(:data_disks) + @other_units = args[:other_units] if args.key?(:other_units) + @standard_units = args[:standard_units] if args.key?(:standard_units) end end - # A work item that represents the different operations that can be - # performed on a user-defined Source specification. - class SourceOperationRequest + # Identifies a counter within a per-job namespace. Counters whose structured + # names are the same get merged into a single value for the job. + class CounterStructuredName include Google::Apis::Core::Hashable - # A request to compute the SourceMetadata of a Source. - # Corresponds to the JSON property `getMetadata` - # @return [Google::Apis::DataflowV1b3::SourceGetMetadataRequest] - attr_accessor :get_metadata + # Name of the optimized step being executed by the workers. + # Corresponds to the JSON property `componentStepName` + # @return [String] + attr_accessor :component_step_name - # Represents the operation to split a high-level Source specification - # into bundles (parts for parallel processing). - # At a high level, splitting of a source into bundles happens as follows: - # SourceSplitRequest is applied to the source. If it returns - # SOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting happens and the source - # is used "as is". Otherwise, splitting is applied recursively to each - # produced DerivedSource. - # As an optimization, for any Source, if its does_not_need_splitting is - # true, the framework assumes that splitting this source would return - # SOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't initiate a SourceSplitRequest. - # This applies both to the initial source being split and to bundles - # produced from it. - # Corresponds to the JSON property `split` - # @return [Google::Apis::DataflowV1b3::SourceSplitRequest] - attr_accessor :split + # Name of the stage. An execution step contains multiple component steps. + # Corresponds to the JSON property `executionStepName` + # @return [String] + attr_accessor :execution_step_name + + # Counter name. Not necessarily globally-unique, but unique within the + # context of the other fields. + # Required. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # One of the standard Origins defined above. + # Corresponds to the JSON property `origin` + # @return [String] + attr_accessor :origin + + # A string containing a more specific namespace of the counter's origin. + # Corresponds to the JSON property `originNamespace` + # @return [String] + attr_accessor :origin_namespace + + # System generated name of the original step in the user's graph, before + # optimization. + # Corresponds to the JSON property `originalStepName` + # @return [String] + attr_accessor :original_step_name + + # Portion of this counter, either key or value. + # Corresponds to the JSON property `portion` + # @return [String] + attr_accessor :portion + + # ID of a particular worker. + # Corresponds to the JSON property `workerId` + # @return [String] + attr_accessor :worker_id def initialize(**args) update!(**args) @@ -697,97 +464,32 @@ module Google # Update properties of this object def update!(**args) - @get_metadata = args[:get_metadata] if args.key?(:get_metadata) - @split = args[:split] if args.key?(:split) + @component_step_name = args[:component_step_name] if args.key?(:component_step_name) + @execution_step_name = args[:execution_step_name] if args.key?(:execution_step_name) + @name = args[:name] if args.key?(:name) + @origin = args[:origin] if args.key?(:origin) + @origin_namespace = args[:origin_namespace] if args.key?(:origin_namespace) + @original_step_name = args[:original_step_name] if args.key?(:original_step_name) + @portion = args[:portion] if args.key?(:portion) + @worker_id = args[:worker_id] if args.key?(:worker_id) end end - # WorkItem represents basic information about a WorkItem to be executed - # in the cloud. - class WorkItem + # A single message which encapsulates structured name and metadata for a given + # counter. + class CounterStructuredNameAndMetadata include Google::Apis::Core::Hashable - # A task which initializes part of a streaming Dataflow job. - # Corresponds to the JSON property `streamingSetupTask` - # @return [Google::Apis::DataflowV1b3::StreamingSetupTask] - attr_accessor :streaming_setup_task + # CounterMetadata includes all static non-name non-value counter attributes. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::DataflowV1b3::CounterMetadata] + attr_accessor :metadata - # Recommended reporting interval. - # Corresponds to the JSON property `reportStatusInterval` - # @return [String] - attr_accessor :report_status_interval - - # A work item that represents the different operations that can be - # performed on a user-defined Source specification. - # Corresponds to the JSON property `sourceOperationTask` - # @return [Google::Apis::DataflowV1b3::SourceOperationRequest] - attr_accessor :source_operation_task - - # Time when the lease on this Work will expire. - # Corresponds to the JSON property `leaseExpireTime` - # @return [String] - attr_accessor :lease_expire_time - - # A task that carries configuration information for streaming computations. - # Corresponds to the JSON property `streamingConfigTask` - # @return [Google::Apis::DataflowV1b3::StreamingConfigTask] - attr_accessor :streaming_config_task - - # The initial index to use when reporting the status of the WorkItem. - # Corresponds to the JSON property `initialReportIndex` - # @return [Fixnum] - attr_accessor :initial_report_index - - # A task which describes what action should be performed for the specified - # streaming computation ranges. - # Corresponds to the JSON property `streamingComputationTask` - # @return [Google::Apis::DataflowV1b3::StreamingComputationTask] - attr_accessor :streaming_computation_task - - # A task which consists of a shell command for the worker to execute. - # Corresponds to the JSON property `shellTask` - # @return [Google::Apis::DataflowV1b3::ShellTask] - attr_accessor :shell_task - - # Identifies the workflow job this WorkItem belongs to. - # Corresponds to the JSON property `jobId` - # @return [String] - attr_accessor :job_id - - # Identifies this WorkItem. - # Corresponds to the JSON property `id` - # @return [Fixnum] - attr_accessor :id - - # Work item-specific configuration as an opaque blob. - # Corresponds to the JSON property `configuration` - # @return [String] - attr_accessor :configuration - - # MapTask consists of an ordered set of instructions, each of which - # describes one particular low-level operation for the worker to - # perform in order to accomplish the MapTask's WorkItem. - # Each instruction must appear in the list before any instructions which - # depends on its output. - # Corresponds to the JSON property `mapTask` - # @return [Google::Apis::DataflowV1b3::MapTask] - attr_accessor :map_task - - # Describes a particular function to invoke. - # Corresponds to the JSON property `seqMapTask` - # @return [Google::Apis::DataflowV1b3::SeqMapTask] - attr_accessor :seq_map_task - - # Any required packages that need to be fetched in order to execute - # this WorkItem. - # Corresponds to the JSON property `packages` - # @return [Array] - attr_accessor :packages - - # Identifies the cloud project this WorkItem belongs to. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id + # Identifies a counter within a per-job namespace. Counters whose structured + # names are the same get merged into a single value for the job. + # Corresponds to the JSON property `name` + # @return [Google::Apis::DataflowV1b3::CounterStructuredName] + attr_accessor :name def initialize(**args) update!(**args) @@ -795,78 +497,171 @@ module Google # Update properties of this object def update!(**args) - @streaming_setup_task = args[:streaming_setup_task] if args.key?(:streaming_setup_task) - @report_status_interval = args[:report_status_interval] if args.key?(:report_status_interval) - @source_operation_task = args[:source_operation_task] if args.key?(:source_operation_task) - @lease_expire_time = args[:lease_expire_time] if args.key?(:lease_expire_time) - @streaming_config_task = args[:streaming_config_task] if args.key?(:streaming_config_task) - @initial_report_index = args[:initial_report_index] if args.key?(:initial_report_index) - @streaming_computation_task = args[:streaming_computation_task] if args.key?(:streaming_computation_task) - @shell_task = args[:shell_task] if args.key?(:shell_task) - @job_id = args[:job_id] if args.key?(:job_id) - @id = args[:id] if args.key?(:id) - @configuration = args[:configuration] if args.key?(:configuration) - @map_task = args[:map_task] if args.key?(:map_task) - @seq_map_task = args[:seq_map_task] if args.key?(:seq_map_task) - @packages = args[:packages] if args.key?(:packages) - @project_id = args[:project_id] if args.key?(:project_id) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) end end - # A rich message format, including a human readable string, a key for - # identifying the message, and structured data associated with the message for - # programmatic consumption. - class StructuredMessage + # An update to a Counter sent from a worker. + class CounterUpdate include Google::Apis::Core::Hashable - # Human-readable version of message. - # Corresponds to the JSON property `messageText` - # @return [String] - attr_accessor :message_text + # Boolean value for And, Or. + # Corresponds to the JSON property `boolean` + # @return [Boolean] + attr_accessor :boolean + alias_method :boolean?, :boolean - # The structured data associated with this message. + # True if this counter is reported as the total cumulative aggregate + # value accumulated since the worker started working on this WorkItem. + # By default this is false, indicating that this counter is reported + # as a delta. + # Corresponds to the JSON property `cumulative` + # @return [Boolean] + attr_accessor :cumulative + alias_method :cumulative?, :cumulative + + # A metric value representing a distribution. + # Corresponds to the JSON property `distribution` + # @return [Google::Apis::DataflowV1b3::DistributionUpdate] + attr_accessor :distribution + + # Floating point value for Sum, Max, Min. + # Corresponds to the JSON property `floatingPoint` + # @return [Float] + attr_accessor :floating_point + + # A metric value representing a list of floating point numbers. + # Corresponds to the JSON property `floatingPointList` + # @return [Google::Apis::DataflowV1b3::FloatingPointList] + attr_accessor :floating_point_list + + # A representation of a floating point mean metric contribution. + # Corresponds to the JSON property `floatingPointMean` + # @return [Google::Apis::DataflowV1b3::FloatingPointMean] + attr_accessor :floating_point_mean + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `integer` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :integer + + # A metric value representing a list of integers. + # Corresponds to the JSON property `integerList` + # @return [Google::Apis::DataflowV1b3::IntegerList] + attr_accessor :integer_list + + # A representation of an integer mean metric contribution. + # Corresponds to the JSON property `integerMean` + # @return [Google::Apis::DataflowV1b3::IntegerMean] + attr_accessor :integer_mean + + # Value for internally-defined counters used by the Dataflow service. + # Corresponds to the JSON property `internal` + # @return [Object] + attr_accessor :internal + + # Basic metadata about a counter. + # Corresponds to the JSON property `nameAndKind` + # @return [Google::Apis::DataflowV1b3::NameAndKind] + attr_accessor :name_and_kind + + # The service-generated short identifier for this counter. + # The short_id -> (name, metadata) mapping is constant for the lifetime of + # a job. + # Corresponds to the JSON property `shortId` + # @return [Fixnum] + attr_accessor :short_id + + # A metric value representing a list of strings. + # Corresponds to the JSON property `stringList` + # @return [Google::Apis::DataflowV1b3::StringList] + attr_accessor :string_list + + # A single message which encapsulates structured name and metadata for a given + # counter. + # Corresponds to the JSON property `structuredNameAndMetadata` + # @return [Google::Apis::DataflowV1b3::CounterStructuredNameAndMetadata] + attr_accessor :structured_name_and_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @boolean = args[:boolean] if args.key?(:boolean) + @cumulative = args[:cumulative] if args.key?(:cumulative) + @distribution = args[:distribution] if args.key?(:distribution) + @floating_point = args[:floating_point] if args.key?(:floating_point) + @floating_point_list = args[:floating_point_list] if args.key?(:floating_point_list) + @floating_point_mean = args[:floating_point_mean] if args.key?(:floating_point_mean) + @integer = args[:integer] if args.key?(:integer) + @integer_list = args[:integer_list] if args.key?(:integer_list) + @integer_mean = args[:integer_mean] if args.key?(:integer_mean) + @internal = args[:internal] if args.key?(:internal) + @name_and_kind = args[:name_and_kind] if args.key?(:name_and_kind) + @short_id = args[:short_id] if args.key?(:short_id) + @string_list = args[:string_list] if args.key?(:string_list) + @structured_name_and_metadata = args[:structured_name_and_metadata] if args.key?(:structured_name_and_metadata) + end + end + + # A request to create a Cloud Dataflow job from a template. + class CreateJobFromTemplateRequest + include Google::Apis::Core::Hashable + + # The environment values to set at runtime. + # Corresponds to the JSON property `environment` + # @return [Google::Apis::DataflowV1b3::RuntimeEnvironment] + attr_accessor :environment + + # Required. A Cloud Storage path to the template from which to + # create the job. + # Must be a valid Cloud Storage URL, beginning with `gs://`. + # Corresponds to the JSON property `gcsPath` + # @return [String] + attr_accessor :gcs_path + + # Required. The job name to use for the created job. + # Corresponds to the JSON property `jobName` + # @return [String] + attr_accessor :job_name + + # The location to which to direct the request. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # The runtime parameters to pass to the job. # Corresponds to the JSON property `parameters` - # @return [Array] + # @return [Hash] attr_accessor :parameters - # Idenfier for this message type. Used by external systems to - # internationalize or personalize message. - # Corresponds to the JSON property `messageKey` - # @return [String] - attr_accessor :message_key - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @message_text = args[:message_text] if args.key?(:message_text) + @environment = args[:environment] if args.key?(:environment) + @gcs_path = args[:gcs_path] if args.key?(:gcs_path) + @job_name = args[:job_name] if args.key?(:job_name) + @location = args[:location] if args.key?(:location) @parameters = args[:parameters] if args.key?(:parameters) - @message_key = args[:message_key] if args.key?(:message_key) end end - # Represents the level of parallelism in a WorkItem's input, - # reported by the worker. - class ReportedParallelism + # Identifies the location of a custom souce. + class CustomSourceLocation include Google::Apis::Core::Hashable - # Specifies the level of parallelism in case it is finite. - # Corresponds to the JSON property `value` - # @return [Float] - attr_accessor :value - - # Specifies whether the parallelism is infinite. If true, "value" is - # ignored. - # Infinite parallelism means the service will assume that the work item - # can always be split into more non-empty work items by dynamic splitting. - # This is a work-around for lack of support for infinity by the current - # JSON-based Java RPC stack. - # Corresponds to the JSON property `isInfinite` + # Whether this source is stateful. + # Corresponds to the JSON property `stateful` # @return [Boolean] - attr_accessor :is_infinite - alias_method :is_infinite?, :is_infinite + attr_accessor :stateful + alias_method :stateful?, :stateful def initialize(**args) update!(**args) @@ -874,21 +669,27 @@ module Google # Update properties of this object def update!(**args) - @value = args[:value] if args.key?(:value) - @is_infinite = args[:is_infinite] if args.key?(:is_infinite) + @stateful = args[:stateful] if args.key?(:stateful) end end - # Worker metrics exported from workers. This contains resource utilization - # metrics accumulated from a variety of sources. For more information, see - # go/df-resource-signals. - class ResourceUtilizationReport + # Data disk assignment for a given VM instance. + class DataDiskAssignment include Google::Apis::Core::Hashable - # CPU utilization samples. - # Corresponds to the JSON property `cpuTime` - # @return [Array] - attr_accessor :cpu_time + # Mounted data disks. The order is important a data disk's 0-based index in + # this list defines which persistent directory the disk is mounted to, for + # example the list of ` "myproject-1014-104817-4c2-harness-0-disk-0" `, + # ` "myproject-1014-104817-4c2-harness-0-disk-1" `. + # Corresponds to the JSON property `dataDisks` + # @return [Array] + attr_accessor :data_disks + + # VM instance name the data disks mounted to, for example + # "myproject-1014-104817-4c2-harness-0". + # Corresponds to the JSON property `vmInstance` + # @return [String] + attr_accessor :vm_instance def initialize(**args) update!(**args) @@ -896,85 +697,22 @@ module Google # Update properties of this object def update!(**args) - @cpu_time = args[:cpu_time] if args.key?(:cpu_time) + @data_disks = args[:data_disks] if args.key?(:data_disks) + @vm_instance = args[:vm_instance] if args.key?(:vm_instance) end end - # Global topology of the streaming Dataflow job, including all - # computations and their sharded locations. - class TopologyConfig + # Specification of one of the bundles produced as a result of splitting + # a Source (e.g. when executing a SourceSplitRequest, or when + # splitting an active task using WorkItemStatus.dynamic_source_split), + # relative to the source being split. + class DerivedSource include Google::Apis::Core::Hashable - # The computations associated with a streaming Dataflow job. - # Corresponds to the JSON property `computations` - # @return [Array] - attr_accessor :computations - - # Version number for persistent state. - # Corresponds to the JSON property `persistentStateVersion` - # @return [Fixnum] - attr_accessor :persistent_state_version - - # The disks assigned to a streaming Dataflow job. - # Corresponds to the JSON property `dataDiskAssignments` - # @return [Array] - attr_accessor :data_disk_assignments - - # The size (in bits) of keys that will be assigned to source messages. - # Corresponds to the JSON property `forwardingKeyBits` - # @return [Fixnum] - attr_accessor :forwarding_key_bits - - # Maps user stage names to stable computation names. - # Corresponds to the JSON property `userStageToComputationNameMap` - # @return [Hash] - attr_accessor :user_stage_to_computation_name_map - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @computations = args[:computations] if args.key?(:computations) - @persistent_state_version = args[:persistent_state_version] if args.key?(:persistent_state_version) - @data_disk_assignments = args[:data_disk_assignments] if args.key?(:data_disk_assignments) - @forwarding_key_bits = args[:forwarding_key_bits] if args.key?(:forwarding_key_bits) - @user_stage_to_computation_name_map = args[:user_stage_to_computation_name_map] if args.key?(:user_stage_to_computation_name_map) - end - end - - # Hints for splitting a Source into bundles (parts for parallel - # processing) using SourceSplitRequest. - class SourceSplitOptions - include Google::Apis::Core::Hashable - - # The source should be split into a set of bundles where the estimated size - # of each is approximately this many bytes. - # Corresponds to the JSON property `desiredBundleSizeBytes` - # @return [Fixnum] - attr_accessor :desired_bundle_size_bytes - - # DEPRECATED in favor of desired_bundle_size_bytes. - # Corresponds to the JSON property `desiredShardSizeBytes` - # @return [Fixnum] - attr_accessor :desired_shard_size_bytes - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @desired_bundle_size_bytes = args[:desired_bundle_size_bytes] if args.key?(:desired_bundle_size_bytes) - @desired_shard_size_bytes = args[:desired_shard_size_bytes] if args.key?(:desired_shard_size_bytes) - end - end - - # An instruction that reads records. - # Takes no inputs, produces one output. - class ReadInstruction - include Google::Apis::Core::Hashable + # What source to base the produced source on (if any). + # Corresponds to the JSON property `derivationMode` + # @return [String] + attr_accessor :derivation_mode # A source that records can be read and decoded from. # Corresponds to the JSON property `source` @@ -987,33 +725,291 @@ module Google # Update properties of this object def update!(**args) + @derivation_mode = args[:derivation_mode] if args.key?(:derivation_mode) @source = args[:source] if args.key?(:source) end end - # Provides data to pass through to the worker harness. - class WorkerSettings + # Describes the data disk used by a workflow job. + class Disk include Google::Apis::Core::Hashable - # The Cloud Dataflow service path relative to the root URL, for example, - # "dataflow/v1b3/projects". - # Corresponds to the JSON property `servicePath` + # Disk storage type, as defined by Google Compute Engine. This + # must be a disk type appropriate to the project and zone in which + # the workers will run. If unknown or unspecified, the service + # will attempt to choose a reasonable default. + # For example, the standard persistent disk type is a resource name + # typically ending in "pd-standard". If SSD persistent disks are + # available, the resource name typically ends with "pd-ssd". The + # actual valid values are defined the Google Compute Engine API, + # not by the Cloud Dataflow API; consult the Google Compute Engine + # documentation for more information about determining the set of + # available disk types for a particular project and zone. + # Google Compute Engine Disk types are local to a particular + # project in a particular zone, and so the resource name will + # typically look something like this: + # compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard + # Corresponds to the JSON property `diskType` # @return [String] - attr_accessor :service_path + attr_accessor :disk_type - # The Shuffle service path relative to the root URL, for example, - # "shuffle/v1beta1". - # Corresponds to the JSON property `shuffleServicePath` + # Directory in a VM where disk is mounted. + # Corresponds to the JSON property `mountPoint` # @return [String] - attr_accessor :shuffle_service_path + attr_accessor :mount_point - # The ID of the worker running this pipeline. - # Corresponds to the JSON property `workerId` + # Size of disk in GB. If zero or unspecified, the service will + # attempt to choose a reasonable default. + # Corresponds to the JSON property `sizeGb` + # @return [Fixnum] + attr_accessor :size_gb + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @disk_type = args[:disk_type] if args.key?(:disk_type) + @mount_point = args[:mount_point] if args.key?(:mount_point) + @size_gb = args[:size_gb] if args.key?(:size_gb) + end + end + + # Data provided with a pipeline or transform to provide descriptive info. + class DisplayData + include Google::Apis::Core::Hashable + + # Contains value if the data is of a boolean type. + # Corresponds to the JSON property `boolValue` + # @return [Boolean] + attr_accessor :bool_value + alias_method :bool_value?, :bool_value + + # Contains value if the data is of duration type. + # Corresponds to the JSON property `durationValue` # @return [String] - attr_accessor :worker_id + attr_accessor :duration_value + + # Contains value if the data is of float type. + # Corresponds to the JSON property `floatValue` + # @return [Float] + attr_accessor :float_value + + # Contains value if the data is of int64 type. + # Corresponds to the JSON property `int64Value` + # @return [Fixnum] + attr_accessor :int64_value + + # Contains value if the data is of java class type. + # Corresponds to the JSON property `javaClassValue` + # @return [String] + attr_accessor :java_class_value + + # The key identifying the display data. + # This is intended to be used as a label for the display data + # when viewed in a dax monitoring system. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # An optional label to display in a dax UI for the element. + # Corresponds to the JSON property `label` + # @return [String] + attr_accessor :label + + # The namespace for the key. This is usually a class name or programming + # language namespace (i.e. python module) which defines the display data. + # This allows a dax monitoring system to specially handle the data + # and perform custom rendering. + # Corresponds to the JSON property `namespace` + # @return [String] + attr_accessor :namespace + + # A possible additional shorter value to display. + # For example a java_class_name_value of com.mypackage.MyDoFn + # will be stored with MyDoFn as the short_str_value and + # com.mypackage.MyDoFn as the java_class_name value. + # short_str_value can be displayed and java_class_name_value + # will be displayed as a tooltip. + # Corresponds to the JSON property `shortStrValue` + # @return [String] + attr_accessor :short_str_value + + # Contains value if the data is of string type. + # Corresponds to the JSON property `strValue` + # @return [String] + attr_accessor :str_value + + # Contains value if the data is of timestamp type. + # Corresponds to the JSON property `timestampValue` + # @return [String] + attr_accessor :timestamp_value + + # An optional full URL. + # 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) + @bool_value = args[:bool_value] if args.key?(:bool_value) + @duration_value = args[:duration_value] if args.key?(:duration_value) + @float_value = args[:float_value] if args.key?(:float_value) + @int64_value = args[:int64_value] if args.key?(:int64_value) + @java_class_value = args[:java_class_value] if args.key?(:java_class_value) + @key = args[:key] if args.key?(:key) + @label = args[:label] if args.key?(:label) + @namespace = args[:namespace] if args.key?(:namespace) + @short_str_value = args[:short_str_value] if args.key?(:short_str_value) + @str_value = args[:str_value] if args.key?(:str_value) + @timestamp_value = args[:timestamp_value] if args.key?(:timestamp_value) + @url = args[:url] if args.key?(:url) + end + end + + # A metric value representing a distribution. + class DistributionUpdate + include Google::Apis::Core::Hashable + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `count` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :count + + # (Optional) Logarithmic histogram of values. + # Each log may be in no more than one bucket. Order does not matter. + # Corresponds to the JSON property `logBuckets` + # @return [Array] + attr_accessor :log_buckets + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `max` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :max + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `min` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :min + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `sum` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :sum + + # Use a double since the sum of squares is likely to overflow int64. + # Corresponds to the JSON property `sumOfSquares` + # @return [Float] + attr_accessor :sum_of_squares + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @count = args[:count] if args.key?(:count) + @log_buckets = args[:log_buckets] if args.key?(:log_buckets) + @max = args[:max] if args.key?(:max) + @min = args[:min] if args.key?(:min) + @sum = args[:sum] if args.key?(:sum) + @sum_of_squares = args[:sum_of_squares] if args.key?(:sum_of_squares) + end + end + + # When a task splits using WorkItemStatus.dynamic_source_split, this + # message describes the two parts of the split relative to the + # description of the current task's input. + class DynamicSourceSplit + include Google::Apis::Core::Hashable + + # Specification of one of the bundles produced as a result of splitting + # a Source (e.g. when executing a SourceSplitRequest, or when + # splitting an active task using WorkItemStatus.dynamic_source_split), + # relative to the source being split. + # Corresponds to the JSON property `primary` + # @return [Google::Apis::DataflowV1b3::DerivedSource] + attr_accessor :primary + + # Specification of one of the bundles produced as a result of splitting + # a Source (e.g. when executing a SourceSplitRequest, or when + # splitting an active task using WorkItemStatus.dynamic_source_split), + # relative to the source being split. + # Corresponds to the JSON property `residual` + # @return [Google::Apis::DataflowV1b3::DerivedSource] + attr_accessor :residual + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @primary = args[:primary] if args.key?(:primary) + @residual = args[:residual] if args.key?(:residual) + end + end + + # Describes the environment in which a Dataflow Job runs. + class Environment + include Google::Apis::Core::Hashable + + # The type of cluster manager API to use. If unknown or + # unspecified, the service will attempt to choose a reasonable + # default. This should be in the form of the API service name, + # e.g. "compute.googleapis.com". + # Corresponds to the JSON property `clusterManagerApiService` + # @return [String] + attr_accessor :cluster_manager_api_service + + # The dataset for the current project where various workflow + # related tables are stored. + # The supported resource type is: + # Google BigQuery: + # bigquery.googleapis.com/`dataset` + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + # The list of experiments to enable. + # Corresponds to the JSON property `experiments` + # @return [Array] + attr_accessor :experiments + + # Experimental settings. + # Corresponds to the JSON property `internalExperiments` + # @return [Hash] + attr_accessor :internal_experiments + + # The Cloud Dataflow SDK pipeline options specified by the user. These + # options are passed through the service and are used to recreate the + # SDK pipeline options on the worker in a language agnostic and platform + # independent way. + # Corresponds to the JSON property `sdkPipelineOptions` + # @return [Hash] + attr_accessor :sdk_pipeline_options + + # Identity to run virtual machines as. Defaults to the default account. + # Corresponds to the JSON property `serviceAccountEmail` + # @return [String] + attr_accessor :service_account_email # The prefix of the resources the system should use for temporary - # storage. + # storage. The system will append the suffix "/temp-`JOBNAME` to + # this resource prefix, where `JOBNAME` is the value of the + # job_name field. The resulting bucket and object prefix is used + # as the prefix of the resources used to store temporary data + # needed during the job execution. NOTE: This will override the + # value in taskrunner_settings. # The supported resource type is: # Google Cloud Storage: # storage.googleapis.com/`bucket`/`object` @@ -1022,22 +1018,22 @@ module Google # @return [String] attr_accessor :temp_storage_prefix - # Whether to send work progress updates to the service. - # Corresponds to the JSON property `reportingEnabled` - # @return [Boolean] - attr_accessor :reporting_enabled - alias_method :reporting_enabled?, :reporting_enabled + # A description of the process that generated the request. + # Corresponds to the JSON property `userAgent` + # @return [Hash] + attr_accessor :user_agent - # The base URL for accessing Google Cloud APIs. - # When workers access Google Cloud APIs, they logically do so via - # relative URLs. If this field is specified, it supplies the base - # URL to use for resolving these relative URLs. The normative - # algorithm used is defined by RFC 1808, "Relative Uniform Resource - # Locators". - # If not specified, the default value is "http://www.googleapis.com/" - # Corresponds to the JSON property `baseUrl` - # @return [String] - attr_accessor :base_url + # A structure describing which components and their versions of the service + # are required in order to run the job. + # Corresponds to the JSON property `version` + # @return [Hash] + attr_accessor :version + + # The worker pools. At least one "harness" worker pool must be + # specified in order for the job to have workers. + # Corresponds to the JSON property `workerPools` + # @return [Array] + attr_accessor :worker_pools def initialize(**args) update!(**args) @@ -1045,162 +1041,16 @@ module Google # Update properties of this object def update!(**args) - @service_path = args[:service_path] if args.key?(:service_path) - @shuffle_service_path = args[:shuffle_service_path] if args.key?(:shuffle_service_path) - @worker_id = args[:worker_id] if args.key?(:worker_id) + @cluster_manager_api_service = args[:cluster_manager_api_service] if args.key?(:cluster_manager_api_service) + @dataset = args[:dataset] if args.key?(:dataset) + @experiments = args[:experiments] if args.key?(:experiments) + @internal_experiments = args[:internal_experiments] if args.key?(:internal_experiments) + @sdk_pipeline_options = args[:sdk_pipeline_options] if args.key?(:sdk_pipeline_options) + @service_account_email = args[:service_account_email] if args.key?(:service_account_email) @temp_storage_prefix = args[:temp_storage_prefix] if args.key?(:temp_storage_prefix) - @reporting_enabled = args[:reporting_enabled] if args.key?(:reporting_enabled) - @base_url = args[:base_url] if args.key?(:base_url) - end - end - - # Identifies the location of a streaming computation stage, for - # stage-to-stage communication. - class StreamingStageLocation - include Google::Apis::Core::Hashable - - # Identifies the particular stream within the streaming Dataflow - # job. - # Corresponds to the JSON property `streamId` - # @return [String] - attr_accessor :stream_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @stream_id = args[:stream_id] if args.key?(:stream_id) - end - end - - # Data disk assignment for a given VM instance. - class DataDiskAssignment - include Google::Apis::Core::Hashable - - # VM instance name the data disks mounted to, for example - # "myproject-1014-104817-4c2-harness-0". - # Corresponds to the JSON property `vmInstance` - # @return [String] - attr_accessor :vm_instance - - # Mounted data disks. The order is important a data disk's 0-based index in - # this list defines which persistent directory the disk is mounted to, for - # example the list of ` "myproject-1014-104817-4c2-harness-0-disk-0" `, - # ` "myproject-1014-104817-4c2-harness-0-disk-1" `. - # Corresponds to the JSON property `dataDisks` - # @return [Array] - attr_accessor :data_disks - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @vm_instance = args[:vm_instance] if args.key?(:vm_instance) - @data_disks = args[:data_disks] if args.key?(:data_disks) - end - end - - # A suggestion by the service to the worker to dynamically split the WorkItem. - class ApproximateSplitRequest - include Google::Apis::Core::Hashable - - # Position defines a position within a collection of data. The value - # can be either the end position, a key (used with ordered - # collections), a byte offset, or a record index. - # Corresponds to the JSON property `position` - # @return [Google::Apis::DataflowV1b3::Position] - attr_accessor :position - - # A fraction at which to split the work item, from 0.0 (beginning of the - # input) to 1.0 (end of the input). - # Corresponds to the JSON property `fractionConsumed` - # @return [Float] - attr_accessor :fraction_consumed - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @position = args[:position] if args.key?(:position) - @fraction_consumed = args[:fraction_consumed] if args.key?(:fraction_consumed) - 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` that 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. - # - 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) + @user_agent = args[:user_agent] if args.key?(:user_agent) + @version = args[:version] if args.key?(:version) + @worker_pools = args[:worker_pools] if args.key?(:worker_pools) end end @@ -1213,16 +1063,16 @@ module Google # @return [String] attr_accessor :current_state_time - # Executions stage states allow the same set of values as JobState. - # Corresponds to the JSON property `executionStageState` - # @return [String] - attr_accessor :execution_stage_state - # The name of the execution stage. # Corresponds to the JSON property `executionStageName` # @return [String] attr_accessor :execution_stage_name + # Executions stage states allow the same set of values as JobState. + # Corresponds to the JSON property `executionStageState` + # @return [String] + attr_accessor :execution_stage_state + def initialize(**args) update!(**args) end @@ -1230,137 +1080,73 @@ module Google # Update properties of this object def update!(**args) @current_state_time = args[:current_state_time] if args.key?(:current_state_time) - @execution_stage_state = args[:execution_stage_state] if args.key?(:execution_stage_state) @execution_stage_name = args[:execution_stage_name] if args.key?(:execution_stage_name) + @execution_stage_state = args[:execution_stage_state] if args.key?(:execution_stage_state) end end - # Describes a stream of data, either as input to be processed or as - # output of a streaming Dataflow job. - class StreamLocation + # Description of the composing transforms, names/ids, and input/outputs of a + # stage of execution. Some composing transforms and sources may have been + # generated by the Dataflow service during execution planning. + class ExecutionStageSummary include Google::Apis::Core::Hashable - # Identifies the location of a custom souce. - # Corresponds to the JSON property `customSourceLocation` - # @return [Google::Apis::DataflowV1b3::CustomSourceLocation] - attr_accessor :custom_source_location + # Collections produced and consumed by component transforms of this stage. + # Corresponds to the JSON property `componentSource` + # @return [Array] + attr_accessor :component_source - # Identifies the location of a streaming side input. - # Corresponds to the JSON property `sideInputLocation` - # @return [Google::Apis::DataflowV1b3::StreamingSideInputLocation] - attr_accessor :side_input_location + # Transforms that comprise this execution stage. + # Corresponds to the JSON property `componentTransform` + # @return [Array] + attr_accessor :component_transform - # Identifies a pubsub location to use for transferring data into or - # out of a streaming Dataflow job. - # Corresponds to the JSON property `pubsubLocation` - # @return [Google::Apis::DataflowV1b3::PubsubLocation] - attr_accessor :pubsub_location - - # Identifies the location of a streaming computation stage, for - # stage-to-stage communication. - # Corresponds to the JSON property `streamingStageLocation` - # @return [Google::Apis::DataflowV1b3::StreamingStageLocation] - attr_accessor :streaming_stage_location - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @custom_source_location = args[:custom_source_location] if args.key?(:custom_source_location) - @side_input_location = args[:side_input_location] if args.key?(:side_input_location) - @pubsub_location = args[:pubsub_location] if args.key?(:pubsub_location) - @streaming_stage_location = args[:streaming_stage_location] if args.key?(:streaming_stage_location) - end - end - - # The response to the worker messages. - class SendWorkerMessagesResponse - include Google::Apis::Core::Hashable - - # The servers response to the worker messages. - # Corresponds to the JSON property `workerMessageResponses` - # @return [Array] - attr_accessor :worker_message_responses - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @worker_message_responses = args[:worker_message_responses] if args.key?(:worker_message_responses) - end - end - - # Configuration information for a single streaming computation. - class StreamingComputationConfig - include Google::Apis::Core::Hashable - - # Unique identifier for this computation. - # Corresponds to the JSON property `computationId` - # @return [String] - attr_accessor :computation_id - - # Stage name of this computation. - # Corresponds to the JSON property `stageName` - # @return [String] - attr_accessor :stage_name - - # System defined name for this computation. - # Corresponds to the JSON property `systemName` - # @return [String] - attr_accessor :system_name - - # Instructions that comprise the computation. - # Corresponds to the JSON property `instructions` - # @return [Array] - attr_accessor :instructions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @computation_id = args[:computation_id] if args.key?(:computation_id) - @stage_name = args[:stage_name] if args.key?(:stage_name) - @system_name = args[:system_name] if args.key?(:system_name) - @instructions = args[:instructions] if args.key?(:instructions) - end - end - - # Description of the type, names/ids, and input/outputs for a transform. - class TransformSummary - include Google::Apis::Core::Hashable - - # SDK generated id of this transform instance. + # Dataflow service generated id for this stage. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # Transform-specific display data. - # Corresponds to the JSON property `displayData` - # @return [Array] - attr_accessor :display_data + # Input sources for this stage. + # Corresponds to the JSON property `inputSource` + # @return [Array] + attr_accessor :input_source - # User names for all collection outputs to this transform. - # Corresponds to the JSON property `outputCollectionName` - # @return [Array] - attr_accessor :output_collection_name - - # Type of transform. + # Type of tranform this stage is executing. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # User names for all collection inputs to this transform. - # Corresponds to the JSON property `inputCollectionName` - # @return [Array] - attr_accessor :input_collection_name + # Dataflow service generated name for this stage. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name - # User provided name for this transform instance. + # Output sources for this stage. + # Corresponds to the JSON property `outputSource` + # @return [Array] + attr_accessor :output_source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @component_source = args[:component_source] if args.key?(:component_source) + @component_transform = args[:component_transform] if args.key?(:component_transform) + @id = args[:id] if args.key?(:id) + @input_source = args[:input_source] if args.key?(:input_source) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @output_source = args[:output_source] if args.key?(:output_source) + end + end + + # Indicates which location failed to respond to a request for data. + class FailedLocation + include Google::Apis::Core::Hashable + + # The name of the failed location. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -1371,90 +1157,10 @@ module Google # Update properties of this object def update!(**args) - @id = args[:id] if args.key?(:id) - @display_data = args[:display_data] if args.key?(:display_data) - @output_collection_name = args[:output_collection_name] if args.key?(:output_collection_name) - @kind = args[:kind] if args.key?(:kind) - @input_collection_name = args[:input_collection_name] if args.key?(:input_collection_name) @name = args[:name] if args.key?(:name) end end - # Response to a request to lease WorkItems. - class LeaseWorkItemResponse - include Google::Apis::Core::Hashable - - # A list of the leased WorkItems. - # Corresponds to the JSON property `workItems` - # @return [Array] - attr_accessor :work_items - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @work_items = args[:work_items] if args.key?(:work_items) - end - end - - # Parameters to provide to the template being launched. - class LaunchTemplateParameters - include Google::Apis::Core::Hashable - - # The environment values to set at runtime. - # Corresponds to the JSON property `environment` - # @return [Google::Apis::DataflowV1b3::RuntimeEnvironment] - attr_accessor :environment - - # The runtime parameters to pass to the job. - # Corresponds to the JSON property `parameters` - # @return [Hash] - attr_accessor :parameters - - # Required. The job name to use for the created job. - # Corresponds to the JSON property `jobName` - # @return [String] - attr_accessor :job_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @environment = args[:environment] if args.key?(:environment) - @parameters = args[:parameters] if args.key?(:parameters) - @job_name = args[:job_name] if args.key?(:job_name) - end - end - - # A sink that records can be encoded and written to. - class Sink - include Google::Apis::Core::Hashable - - # The codec to use to encode data written to the sink. - # Corresponds to the JSON property `codec` - # @return [Hash] - attr_accessor :codec - - # The sink to write to, plus its parameters. - # Corresponds to the JSON property `spec` - # @return [Hash] - attr_accessor :spec - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @codec = args[:codec] if args.key?(:codec) - @spec = args[:spec] if args.key?(:spec) - end - end - # An instruction that copies its inputs (zero or more) to its (single) output. class FlattenInstruction include Google::Apis::Core::Hashable @@ -1474,133 +1180,13 @@ module Google end end - # An instruction that does a partial group-by-key. - # One input and one output. - class PartialGroupByKeyInstruction - include Google::Apis::Core::Hashable - - # If this instruction includes a combining function this is the name of the - # intermediate store between the GBK and the CombineValues. - # Corresponds to the JSON property `originalCombineValuesInputStoreName` - # @return [String] - attr_accessor :original_combine_values_input_store_name - - # Zero or more side inputs. - # Corresponds to the JSON property `sideInputs` - # @return [Array] - attr_accessor :side_inputs - - # If this instruction includes a combining function, this is the name of the - # CombineValues instruction lifted into this instruction. - # Corresponds to the JSON property `originalCombineValuesStepName` - # @return [String] - attr_accessor :original_combine_values_step_name - - # An input of an instruction, as a reference to an output of a - # producer instruction. - # Corresponds to the JSON property `input` - # @return [Google::Apis::DataflowV1b3::InstructionInput] - attr_accessor :input - - # The codec to use for interpreting an element in the input PTable. - # Corresponds to the JSON property `inputElementCodec` - # @return [Hash] - attr_accessor :input_element_codec - - # The value combining function to invoke. - # Corresponds to the JSON property `valueCombiningFn` - # @return [Hash] - attr_accessor :value_combining_fn - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @original_combine_values_input_store_name = args[:original_combine_values_input_store_name] if args.key?(:original_combine_values_input_store_name) - @side_inputs = args[:side_inputs] if args.key?(:side_inputs) - @original_combine_values_step_name = args[:original_combine_values_step_name] if args.key?(:original_combine_values_step_name) - @input = args[:input] if args.key?(:input) - @input_element_codec = args[:input_element_codec] if args.key?(:input_element_codec) - @value_combining_fn = args[:value_combining_fn] if args.key?(:value_combining_fn) - end - end - - # Description of an input or output of an execution stage. - class StageSource - include Google::Apis::Core::Hashable - - # Size of the source, if measurable. - # Corresponds to the JSON property `sizeBytes` - # @return [Fixnum] - attr_accessor :size_bytes - - # Dataflow service generated name for this source. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Human-readable name for this source; may be user or system generated. - # Corresponds to the JSON property `userName` - # @return [String] - attr_accessor :user_name - - # User name for the original user transform or collection with which this - # source is most closely associated. - # Corresponds to the JSON property `originalTransformOrCollection` - # @return [String] - attr_accessor :original_transform_or_collection - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @size_bytes = args[:size_bytes] if args.key?(:size_bytes) - @name = args[:name] if args.key?(:name) - @user_name = args[:user_name] if args.key?(:user_name) - @original_transform_or_collection = args[:original_transform_or_collection] if args.key?(:original_transform_or_collection) - end - end - - # An input of an instruction, as a reference to an output of a - # producer instruction. - class InstructionInput - include Google::Apis::Core::Hashable - - # The index (origin zero) of the parallel instruction that produces - # the output to be consumed by this input. This index is relative - # to the list of instructions in this input's instruction's - # containing MapTask. - # Corresponds to the JSON property `producerInstructionIndex` - # @return [Fixnum] - attr_accessor :producer_instruction_index - - # The output index (origin zero) within the producer. - # Corresponds to the JSON property `outputNum` - # @return [Fixnum] - attr_accessor :output_num - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @producer_instruction_index = args[:producer_instruction_index] if args.key?(:producer_instruction_index) - @output_num = args[:output_num] if args.key?(:output_num) - end - end - - # A metric value representing a list of strings. - class StringList + # A metric value representing a list of floating point numbers. + class FloatingPointList include Google::Apis::Core::Hashable # Elements of the list. # Corresponds to the JSON property `elements` - # @return [Array] + # @return [Array] attr_accessor :elements def initialize(**args) @@ -1613,80 +1199,20 @@ module Google end end - # Data provided with a pipeline or transform to provide descriptive info. - class DisplayData + # A representation of a floating point mean metric contribution. + class FloatingPointMean include Google::Apis::Core::Hashable - # Contains value if the data is of string type. - # Corresponds to the JSON property `strValue` - # @return [String] - attr_accessor :str_value + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `count` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :count - # Contains value if the data is of duration type. - # Corresponds to the JSON property `durationValue` - # @return [String] - attr_accessor :duration_value - - # Contains value if the data is of int64 type. - # Corresponds to the JSON property `int64Value` - # @return [Fixnum] - attr_accessor :int64_value - - # The namespace for the key. This is usually a class name or programming - # language namespace (i.e. python module) which defines the display data. - # This allows a dax monitoring system to specially handle the data - # and perform custom rendering. - # Corresponds to the JSON property `namespace` - # @return [String] - attr_accessor :namespace - - # Contains value if the data is of float type. - # Corresponds to the JSON property `floatValue` + # The sum of all values being aggregated. + # Corresponds to the JSON property `sum` # @return [Float] - attr_accessor :float_value - - # The key identifying the display data. - # This is intended to be used as a label for the display data - # when viewed in a dax monitoring system. - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key - - # A possible additional shorter value to display. - # For example a java_class_name_value of com.mypackage.MyDoFn - # will be stored with MyDoFn as the short_str_value and - # com.mypackage.MyDoFn as the java_class_name value. - # short_str_value can be displayed and java_class_name_value - # will be displayed as a tooltip. - # Corresponds to the JSON property `shortStrValue` - # @return [String] - attr_accessor :short_str_value - - # An optional full URL. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # An optional label to display in a dax UI for the element. - # Corresponds to the JSON property `label` - # @return [String] - attr_accessor :label - - # Contains value if the data is of timestamp type. - # Corresponds to the JSON property `timestampValue` - # @return [String] - attr_accessor :timestamp_value - - # Contains value if the data is of java class type. - # Corresponds to the JSON property `javaClassValue` - # @return [String] - attr_accessor :java_class_value - - # Contains value if the data is of a boolean type. - # Corresponds to the JSON property `boolValue` - # @return [Boolean] - attr_accessor :bool_value - alias_method :bool_value?, :bool_value + attr_accessor :sum def initialize(**args) update!(**args) @@ -1694,18 +1220,8 @@ module Google # Update properties of this object def update!(**args) - @str_value = args[:str_value] if args.key?(:str_value) - @duration_value = args[:duration_value] if args.key?(:duration_value) - @int64_value = args[:int64_value] if args.key?(:int64_value) - @namespace = args[:namespace] if args.key?(:namespace) - @float_value = args[:float_value] if args.key?(:float_value) - @key = args[:key] if args.key?(:key) - @short_str_value = args[:short_str_value] if args.key?(:short_str_value) - @url = args[:url] if args.key?(:url) - @label = args[:label] if args.key?(:label) - @timestamp_value = args[:timestamp_value] if args.key?(:timestamp_value) - @java_class_value = args[:java_class_value] if args.key?(:java_class_value) - @bool_value = args[:bool_value] if args.key?(:bool_value) + @count = args[:count] if args.key?(:count) + @sum = args[:sum] if args.key?(:sum) end end @@ -1719,16 +1235,16 @@ module Google # @return [String] attr_accessor :component_id - # The worker id, i.e., VM hostname. - # Corresponds to the JSON property `workerId` - # @return [String] - attr_accessor :worker_id - # The location which contains the job specified by job_id. # Corresponds to the JSON property `location` # @return [String] attr_accessor :location + # The worker id, i.e., VM hostname. + # Corresponds to the JSON property `workerId` + # @return [String] + attr_accessor :worker_id + def initialize(**args) update!(**args) end @@ -1736,46 +1252,19 @@ module Google # Update properties of this object def update!(**args) @component_id = args[:component_id] if args.key?(:component_id) - @worker_id = args[:worker_id] if args.key?(:worker_id) @location = args[:location] if args.key?(:location) + @worker_id = args[:worker_id] if args.key?(:worker_id) end end - # Request to lease WorkItems. - class LeaseWorkItemRequest + # Response to a get debug configuration request. + class GetDebugConfigResponse include Google::Apis::Core::Hashable - # Worker capabilities. WorkItems might be limited to workers with specific - # capabilities. - # Corresponds to the JSON property `workerCapabilities` - # @return [Array] - attr_accessor :worker_capabilities - - # Identifies the worker leasing work -- typically the ID of the - # virtual machine running the worker. - # Corresponds to the JSON property `workerId` + # The encoded debug configuration for the requested component. + # Corresponds to the JSON property `config` # @return [String] - attr_accessor :worker_id - - # The initial lease period. - # Corresponds to the JSON property `requestedLeaseDuration` - # @return [String] - attr_accessor :requested_lease_duration - - # The current timestamp at the worker. - # Corresponds to the JSON property `currentWorkerTime` - # @return [String] - attr_accessor :current_worker_time - - # The location which contains the WorkItem's job. - # Corresponds to the JSON property `location` - # @return [String] - attr_accessor :location - - # Filter for WorkItem type. - # Corresponds to the JSON property `workItemTypes` - # @return [Array] - attr_accessor :work_item_types + attr_accessor :config def initialize(**args) update!(**args) @@ -1783,12 +1272,7 @@ module Google # Update properties of this object def update!(**args) - @worker_capabilities = args[:worker_capabilities] if args.key?(:worker_capabilities) - @worker_id = args[:worker_id] if args.key?(:worker_id) - @requested_lease_duration = args[:requested_lease_duration] if args.key?(:requested_lease_duration) - @current_worker_time = args[:current_worker_time] if args.key?(:current_worker_time) - @location = args[:location] if args.key?(:location) - @work_item_types = args[:work_item_types] if args.key?(:work_item_types) + @config = args[:config] if args.key?(:config) end end @@ -1855,19 +1339,23 @@ module Google end end - # Structured data associated with this message. - class Parameter + # An input of an instruction, as a reference to an output of a + # producer instruction. + class InstructionInput include Google::Apis::Core::Hashable - # Key or name for this parameter. - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key + # The output index (origin zero) within the producer. + # Corresponds to the JSON property `outputNum` + # @return [Fixnum] + attr_accessor :output_num - # Value for this parameter. - # Corresponds to the JSON property `value` - # @return [Object] - attr_accessor :value + # The index (origin zero) of the parallel instruction that produces + # the output to be consumed by this input. This index is relative + # to the list of instructions in this input's instruction's + # containing MapTask. + # Corresponds to the JSON property `producerInstructionIndex` + # @return [Fixnum] + attr_accessor :producer_instruction_index def initialize(**args) update!(**args) @@ -1875,113 +1363,266 @@ module Google # Update properties of this object def update!(**args) - @key = args[:key] if args.key?(:key) - @value = args[:value] if args.key?(:value) + @output_num = args[:output_num] if args.key?(:output_num) + @producer_instruction_index = args[:producer_instruction_index] if args.key?(:producer_instruction_index) end end - # Request to report the status of WorkItems. - class ReportWorkItemStatusRequest + # An output of an instruction. + class InstructionOutput include Google::Apis::Core::Hashable - # The order is unimportant, except that the order of the - # WorkItemServiceState messages in the ReportWorkItemStatusResponse - # corresponds to the order of WorkItemStatus messages here. - # Corresponds to the JSON property `workItemStatuses` - # @return [Array] - attr_accessor :work_item_statuses + # The codec to use to encode data being written via this output. + # Corresponds to the JSON property `codec` + # @return [Hash] + attr_accessor :codec - # The current timestamp at the worker. - # Corresponds to the JSON property `currentWorkerTime` + # The user-provided name of this output. + # Corresponds to the JSON property `name` # @return [String] - attr_accessor :current_worker_time + attr_accessor :name - # The ID of the worker reporting the WorkItem status. If this - # does not match the ID of the worker which the Dataflow service - # believes currently has the lease on the WorkItem, the report - # will be dropped (with an error response). - # Corresponds to the JSON property `workerId` + # For system-generated byte and mean byte metrics, certain instructions + # should only report the key size. + # Corresponds to the JSON property `onlyCountKeyBytes` + # @return [Boolean] + attr_accessor :only_count_key_bytes + alias_method :only_count_key_bytes?, :only_count_key_bytes + + # For system-generated byte and mean byte metrics, certain instructions + # should only report the value size. + # Corresponds to the JSON property `onlyCountValueBytes` + # @return [Boolean] + attr_accessor :only_count_value_bytes + alias_method :only_count_value_bytes?, :only_count_value_bytes + + # System-defined name for this output in the original workflow graph. + # Outputs that do not contribute to an original instruction do not set this. + # Corresponds to the JSON property `originalName` # @return [String] - attr_accessor :worker_id + attr_accessor :original_name - # The location which contains the WorkItem's job. + # System-defined name of this output. + # Unique across the workflow. + # Corresponds to the JSON property `systemName` + # @return [String] + attr_accessor :system_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @codec = args[:codec] if args.key?(:codec) + @name = args[:name] if args.key?(:name) + @only_count_key_bytes = args[:only_count_key_bytes] if args.key?(:only_count_key_bytes) + @only_count_value_bytes = args[:only_count_value_bytes] if args.key?(:only_count_value_bytes) + @original_name = args[:original_name] if args.key?(:original_name) + @system_name = args[:system_name] if args.key?(:system_name) + end + end + + # A metric value representing a list of integers. + class IntegerList + include Google::Apis::Core::Hashable + + # Elements of the list. + # Corresponds to the JSON property `elements` + # @return [Array] + attr_accessor :elements + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @elements = args[:elements] if args.key?(:elements) + end + end + + # A representation of an integer mean metric contribution. + class IntegerMean + include Google::Apis::Core::Hashable + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `count` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :count + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `sum` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :sum + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @count = args[:count] if args.key?(:count) + @sum = args[:sum] if args.key?(:sum) + end + end + + # Defines a job to be run by the Cloud Dataflow service. + class Job + include Google::Apis::Core::Hashable + + # The client's unique identifier of the job, re-used across retried attempts. + # If this field is set, the service will ensure its uniqueness. + # The request to create a job will fail if the service has knowledge of a + # previously submitted job with the same client's ID and job name. + # The caller may use this field to ensure idempotence of job + # creation across retried attempts to create a job. + # By default, the field is empty and, in that case, the service ignores it. + # Corresponds to the JSON property `clientRequestId` + # @return [String] + attr_accessor :client_request_id + + # The timestamp when the job was initially created. Immutable and set by the + # Cloud Dataflow service. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # The current state of the job. + # Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise + # specified. + # A job in the `JOB_STATE_RUNNING` state may asynchronously enter a + # terminal state. After a job has reached a terminal state, no + # further state updates may be made. + # This field may be mutated by the Cloud Dataflow service; + # callers cannot mutate it. + # Corresponds to the JSON property `currentState` + # @return [String] + attr_accessor :current_state + + # The timestamp associated with the current state. + # Corresponds to the JSON property `currentStateTime` + # @return [String] + attr_accessor :current_state_time + + # Describes the environment in which a Dataflow Job runs. + # Corresponds to the JSON property `environment` + # @return [Google::Apis::DataflowV1b3::Environment] + attr_accessor :environment + + # Additional information about how a Cloud Dataflow job will be executed that + # isn't contained in the submitted job. + # Corresponds to the JSON property `executionInfo` + # @return [Google::Apis::DataflowV1b3::JobExecutionInfo] + attr_accessor :execution_info + + # The unique ID of this job. + # This field is set by the Cloud Dataflow service when the Job is + # created, and is immutable for the life of the job. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # User-defined labels for this job. + # The labels map can contain no more than 64 entries. Entries of the labels + # map are UTF8 strings that comply with the following restrictions: + # * Keys must conform to regexp: \p`Ll`\p`Lo``0,62` + # * Values must conform to regexp: [\p`Ll`\p`Lo`\p`N`_-]`0,63` + # * Both keys and values are additionally constrained to be <= 128 bytes in + # size. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # The location that contains this job. # Corresponds to the JSON property `location` # @return [String] attr_accessor :location - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @work_item_statuses = args[:work_item_statuses] if args.key?(:work_item_statuses) - @current_worker_time = args[:current_worker_time] if args.key?(:current_worker_time) - @worker_id = args[:worker_id] if args.key?(:worker_id) - @location = args[:location] if args.key?(:location) - end - end - - # A descriptive representation of submitted pipeline as well as the executed - # form. This data is provided by the Dataflow service for ease of visualizing - # the pipeline and interpretting Dataflow provided metrics. - class PipelineDescription - include Google::Apis::Core::Hashable - - # Description of each transform in the pipeline and collections between them. - # Corresponds to the JSON property `originalPipelineTransform` - # @return [Array] - attr_accessor :original_pipeline_transform - - # Pipeline level display data. - # Corresponds to the JSON property `displayData` - # @return [Array] - attr_accessor :display_data - - # Description of each stage of execution of the pipeline. - # Corresponds to the JSON property `executionPipelineStage` - # @return [Array] - attr_accessor :execution_pipeline_stage - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @original_pipeline_transform = args[:original_pipeline_transform] if args.key?(:original_pipeline_transform) - @display_data = args[:display_data] if args.key?(:display_data) - @execution_pipeline_stage = args[:execution_pipeline_stage] if args.key?(:execution_pipeline_stage) - end - end - - # A task that carries configuration information for streaming computations. - class StreamingConfigTask - include Google::Apis::Core::Hashable - - # Map from user step names to state families. - # Corresponds to the JSON property `userStepToStateFamilyNameMap` - # @return [Hash] - attr_accessor :user_step_to_state_family_name_map - - # If present, the worker must use this port to communicate with Windmill - # Service dispatchers. Only applicable when windmill_service_endpoint is - # specified. - # Corresponds to the JSON property `windmillServicePort` - # @return [Fixnum] - attr_accessor :windmill_service_port - - # Set of computation configuration information. - # Corresponds to the JSON property `streamingComputationConfigs` - # @return [Array] - attr_accessor :streaming_computation_configs - - # If present, the worker must use this endpoint to communicate with Windmill - # Service dispatchers, otherwise the worker must continue to use whatever - # endpoint it had been using. - # Corresponds to the JSON property `windmillServiceEndpoint` + # The user-specified Cloud Dataflow job name. + # Only one Job with a given name may exist in a project at any + # given time. If a caller attempts to create a Job with the same + # name as an already-existing Job, the attempt returns the + # existing Job. + # The name must match the regular expression + # `[a-z]([-a-z0-9]`0,38`[a-z0-9])?` + # Corresponds to the JSON property `name` # @return [String] - attr_accessor :windmill_service_endpoint + attr_accessor :name + + # A descriptive representation of submitted pipeline as well as the executed + # form. This data is provided by the Dataflow service for ease of visualizing + # the pipeline and interpretting Dataflow provided metrics. + # Corresponds to the JSON property `pipelineDescription` + # @return [Google::Apis::DataflowV1b3::PipelineDescription] + attr_accessor :pipeline_description + + # The ID of the Cloud Platform project that the job belongs to. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # If this job is an update of an existing job, this field is the job ID + # of the job it replaced. + # When sending a `CreateJobRequest`, you can update a job by specifying it + # here. The job named here is stopped, and its intermediate state is + # transferred to this job. + # Corresponds to the JSON property `replaceJobId` + # @return [String] + attr_accessor :replace_job_id + + # If another job is an update of this job (and thus, this job is in + # `JOB_STATE_UPDATED`), this field contains the ID of that job. + # Corresponds to the JSON property `replacedByJobId` + # @return [String] + attr_accessor :replaced_by_job_id + + # The job's requested state. + # `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and + # `JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may + # also be used to directly set a job's requested state to + # `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the + # job if it has not already reached a terminal state. + # Corresponds to the JSON property `requestedState` + # @return [String] + attr_accessor :requested_state + + # This field may be mutated by the Cloud Dataflow service; + # callers cannot mutate it. + # Corresponds to the JSON property `stageStates` + # @return [Array] + attr_accessor :stage_states + + # The top-level steps that constitute the entire job. + # Corresponds to the JSON property `steps` + # @return [Array] + attr_accessor :steps + + # A set of files the system should be aware of that are used + # for temporary storage. These temporary files will be + # removed on job completion. + # No duplicates are allowed. + # No file patterns are supported. + # The supported files are: + # Google Cloud Storage: + # storage.googleapis.com/`bucket`/`object` + # bucket.storage.googleapis.com/`object` + # Corresponds to the JSON property `tempFiles` + # @return [Array] + attr_accessor :temp_files + + # The map of transform name prefixes of the job to be replaced to the + # corresponding name prefixes of the new job. + # Corresponds to the JSON property `transformNameMapping` + # @return [Hash] + attr_accessor :transform_name_mapping + + # The type of Cloud Dataflow job. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type def initialize(**args) update!(**args) @@ -1989,10 +1630,26 @@ module Google # Update properties of this object def update!(**args) - @user_step_to_state_family_name_map = args[:user_step_to_state_family_name_map] if args.key?(:user_step_to_state_family_name_map) - @windmill_service_port = args[:windmill_service_port] if args.key?(:windmill_service_port) - @streaming_computation_configs = args[:streaming_computation_configs] if args.key?(:streaming_computation_configs) - @windmill_service_endpoint = args[:windmill_service_endpoint] if args.key?(:windmill_service_endpoint) + @client_request_id = args[:client_request_id] if args.key?(:client_request_id) + @create_time = args[:create_time] if args.key?(:create_time) + @current_state = args[:current_state] if args.key?(:current_state) + @current_state_time = args[:current_state_time] if args.key?(:current_state_time) + @environment = args[:environment] if args.key?(:environment) + @execution_info = args[:execution_info] if args.key?(:execution_info) + @id = args[:id] if args.key?(:id) + @labels = args[:labels] if args.key?(:labels) + @location = args[:location] if args.key?(:location) + @name = args[:name] if args.key?(:name) + @pipeline_description = args[:pipeline_description] if args.key?(:pipeline_description) + @project_id = args[:project_id] if args.key?(:project_id) + @replace_job_id = args[:replace_job_id] if args.key?(:replace_job_id) + @replaced_by_job_id = args[:replaced_by_job_id] if args.key?(:replaced_by_job_id) + @requested_state = args[:requested_state] if args.key?(:requested_state) + @stage_states = args[:stage_states] if args.key?(:stage_states) + @steps = args[:steps] if args.key?(:steps) + @temp_files = args[:temp_files] if args.key?(:temp_files) + @transform_name_mapping = args[:transform_name_mapping] if args.key?(:transform_name_mapping) + @type = args[:type] if args.key?(:type) end end @@ -2016,43 +1673,17 @@ module Google end end - # Defines a particular step within a Cloud Dataflow job. - # A job consists of multiple steps, each of which performs some - # specific operation as part of the overall job. Data is typically - # passed from one step to another as part of the job. - # Here's an example of a sequence of steps which together implement a - # Map-Reduce job: - # * Read a collection of data from some source, parsing the - # collection's elements. - # * Validate the elements. - # * Apply a user-defined function to map each element to some value - # and extract an element-specific key value. - # * Group elements with the same key into a single element with - # that key, transforming a multiply-keyed collection into a - # uniquely-keyed collection. - # * Write the elements out to some data sink. - # Note that the Cloud Dataflow service may be used to run many different - # types of jobs, not just Map-Reduce. - class Step + # Contains information about how a particular + # google.dataflow.v1beta3.Step will be executed. + class JobExecutionStageInfo include Google::Apis::Core::Hashable - # The name that identifies the step. This must be unique for each - # step with respect to all other steps in the Cloud Dataflow job. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The kind of step in the Cloud Dataflow job. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # Named properties associated with the step. Each kind of - # predefined step has its own required set of properties. - # Must be provided on Create. Only retrieved with JOB_VIEW_ALL. - # Corresponds to the JSON property `properties` - # @return [Hash] - attr_accessor :properties + # The steps associated with the execution stage. + # Note that stages may have several steps, and that a given step + # might be run by more than one stage. + # Corresponds to the JSON property `stepName` + # @return [Array] + attr_accessor :step_name def initialize(**args) update!(**args) @@ -2060,20 +1691,33 @@ module Google # Update properties of this object def update!(**args) - @name = args[:name] if args.key?(:name) - @kind = args[:kind] if args.key?(:kind) - @properties = args[:properties] if args.key?(:properties) + @step_name = args[:step_name] if args.key?(:step_name) end end - # Indicates which location failed to respond to a request for data. - class FailedLocation + # A particular message pertaining to a Dataflow job. + class JobMessage include Google::Apis::Core::Hashable - # The name of the failed location. - # Corresponds to the JSON property `name` + # Deprecated. + # Corresponds to the JSON property `id` # @return [String] - attr_accessor :name + attr_accessor :id + + # Importance level of the message. + # Corresponds to the JSON property `messageImportance` + # @return [String] + attr_accessor :message_importance + + # The text of the message. + # Corresponds to the JSON property `messageText` + # @return [String] + attr_accessor :message_text + + # The timestamp of the message. + # Corresponds to the JSON property `time` + # @return [String] + attr_accessor :time def initialize(**args) update!(**args) @@ -2081,43 +1725,31 @@ module Google # Update properties of this object def update!(**args) - @name = args[:name] if args.key?(:name) + @id = args[:id] if args.key?(:id) + @message_importance = args[:message_importance] if args.key?(:message_importance) + @message_text = args[:message_text] if args.key?(:message_text) + @time = args[:time] if args.key?(:time) end end - # Describes the data disk used by a workflow job. - class Disk + # JobMetrics contains a collection of metrics descibing the detailed progress + # of a Dataflow job. Metrics correspond to user-defined and system-defined + # metrics in the job. + # This resource captures only the most recent values of each metric; + # time-series data can be queried for them (under the same metric names) + # from Cloud Monitoring. + class JobMetrics include Google::Apis::Core::Hashable - # Directory in a VM where disk is mounted. - # Corresponds to the JSON property `mountPoint` + # Timestamp as of which metric values are current. + # Corresponds to the JSON property `metricTime` # @return [String] - attr_accessor :mount_point + attr_accessor :metric_time - # Disk storage type, as defined by Google Compute Engine. This - # must be a disk type appropriate to the project and zone in which - # the workers will run. If unknown or unspecified, the service - # will attempt to choose a reasonable default. - # For example, the standard persistent disk type is a resource name - # typically ending in "pd-standard". If SSD persistent disks are - # available, the resource name typically ends with "pd-ssd". The - # actual valid values are defined the Google Compute Engine API, - # not by the Cloud Dataflow API; consult the Google Compute Engine - # documentation for more information about determining the set of - # available disk types for a particular project and zone. - # Google Compute Engine Disk types are local to a particular - # project in a particular zone, and so the resource name will - # typically look something like this: - # compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard - # Corresponds to the JSON property `diskType` - # @return [String] - attr_accessor :disk_type - - # Size of disk in GB. If zero or unspecified, the service will - # attempt to choose a reasonable default. - # Corresponds to the JSON property `sizeGb` - # @return [Fixnum] - attr_accessor :size_gb + # All metrics for this job. + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics def initialize(**args) update!(**args) @@ -2125,35 +1757,35 @@ module Google # Update properties of this object def update!(**args) - @mount_point = args[:mount_point] if args.key?(:mount_point) - @disk_type = args[:disk_type] if args.key?(:disk_type) - @size_gb = args[:size_gb] if args.key?(:size_gb) + @metric_time = args[:metric_time] if args.key?(:metric_time) + @metrics = args[:metrics] if args.key?(:metrics) end end - # CounterMetadata includes all static non-name non-value counter attributes. - class CounterMetadata + # Data disk assignment information for a specific key-range of a sharded + # computation. + # Currently we only support UTF-8 character splits to simplify encoding into + # JSON. + class KeyRangeDataDiskAssignment include Google::Apis::Core::Hashable - # Human-readable description of the counter semantics. - # Corresponds to the JSON property `description` + # The name of the data disk where data for this range is stored. + # This name is local to the Google Cloud Platform project and uniquely + # identifies the disk within that project, for example + # "myproject-1014-104817-4c2-harness-0-disk-1". + # Corresponds to the JSON property `dataDisk` # @return [String] - attr_accessor :description + attr_accessor :data_disk - # Counter aggregation kind. - # Corresponds to the JSON property `kind` + # The end (exclusive) of the key range. + # Corresponds to the JSON property `end` # @return [String] - attr_accessor :kind + attr_accessor :end - # System defined Units, see above enum. - # Corresponds to the JSON property `standardUnits` + # The start (inclusive) of the key range. + # Corresponds to the JSON property `start` # @return [String] - attr_accessor :standard_units - - # A string referring to the unit type. - # Corresponds to the JSON property `otherUnits` - # @return [String] - attr_accessor :other_units + attr_accessor :start def initialize(**args) update!(**args) @@ -2161,10 +1793,179 @@ module Google # Update properties of this object def update!(**args) - @description = args[:description] if args.key?(:description) - @kind = args[:kind] if args.key?(:kind) - @standard_units = args[:standard_units] if args.key?(:standard_units) - @other_units = args[:other_units] if args.key?(:other_units) + @data_disk = args[:data_disk] if args.key?(:data_disk) + @end = args[:end] if args.key?(:end) + @start = args[:start] if args.key?(:start) + end + end + + # Location information for a specific key-range of a sharded computation. + # Currently we only support UTF-8 character splits to simplify encoding into + # JSON. + class KeyRangeLocation + include Google::Apis::Core::Hashable + + # The name of the data disk where data for this range is stored. + # This name is local to the Google Cloud Platform project and uniquely + # identifies the disk within that project, for example + # "myproject-1014-104817-4c2-harness-0-disk-1". + # Corresponds to the JSON property `dataDisk` + # @return [String] + attr_accessor :data_disk + + # The physical location of this range assignment to be used for + # streaming computation cross-worker message delivery. + # Corresponds to the JSON property `deliveryEndpoint` + # @return [String] + attr_accessor :delivery_endpoint + + # DEPRECATED. The location of the persistent state for this range, as a + # persistent directory in the worker local filesystem. + # Corresponds to the JSON property `deprecatedPersistentDirectory` + # @return [String] + attr_accessor :deprecated_persistent_directory + + # The end (exclusive) of the key range. + # Corresponds to the JSON property `end` + # @return [String] + attr_accessor :end + + # The start (inclusive) of the key range. + # Corresponds to the JSON property `start` + # @return [String] + attr_accessor :start + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_disk = args[:data_disk] if args.key?(:data_disk) + @delivery_endpoint = args[:delivery_endpoint] if args.key?(:delivery_endpoint) + @deprecated_persistent_directory = args[:deprecated_persistent_directory] if args.key?(:deprecated_persistent_directory) + @end = args[:end] if args.key?(:end) + @start = args[:start] if args.key?(:start) + end + end + + # Parameters to provide to the template being launched. + class LaunchTemplateParameters + include Google::Apis::Core::Hashable + + # The environment values to set at runtime. + # Corresponds to the JSON property `environment` + # @return [Google::Apis::DataflowV1b3::RuntimeEnvironment] + attr_accessor :environment + + # Required. The job name to use for the created job. + # Corresponds to the JSON property `jobName` + # @return [String] + attr_accessor :job_name + + # The runtime parameters to pass to the job. + # Corresponds to the JSON property `parameters` + # @return [Hash] + attr_accessor :parameters + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @environment = args[:environment] if args.key?(:environment) + @job_name = args[:job_name] if args.key?(:job_name) + @parameters = args[:parameters] if args.key?(:parameters) + end + end + + # Response to the request to launch a template. + class LaunchTemplateResponse + include Google::Apis::Core::Hashable + + # Defines a job to be run by the Cloud Dataflow service. + # Corresponds to the JSON property `job` + # @return [Google::Apis::DataflowV1b3::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 + + # Request to lease WorkItems. + class LeaseWorkItemRequest + include Google::Apis::Core::Hashable + + # The current timestamp at the worker. + # Corresponds to the JSON property `currentWorkerTime` + # @return [String] + attr_accessor :current_worker_time + + # The location which contains the WorkItem's job. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # The initial lease period. + # Corresponds to the JSON property `requestedLeaseDuration` + # @return [String] + attr_accessor :requested_lease_duration + + # Filter for WorkItem type. + # Corresponds to the JSON property `workItemTypes` + # @return [Array] + attr_accessor :work_item_types + + # Worker capabilities. WorkItems might be limited to workers with specific + # capabilities. + # Corresponds to the JSON property `workerCapabilities` + # @return [Array] + attr_accessor :worker_capabilities + + # Identifies the worker leasing work -- typically the ID of the + # virtual machine running the worker. + # Corresponds to the JSON property `workerId` + # @return [String] + attr_accessor :worker_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @current_worker_time = args[:current_worker_time] if args.key?(:current_worker_time) + @location = args[:location] if args.key?(:location) + @requested_lease_duration = args[:requested_lease_duration] if args.key?(:requested_lease_duration) + @work_item_types = args[:work_item_types] if args.key?(:work_item_types) + @worker_capabilities = args[:worker_capabilities] if args.key?(:worker_capabilities) + @worker_id = args[:worker_id] if args.key?(:worker_id) + end + end + + # Response to a request to lease WorkItems. + class LeaseWorkItemResponse + include Google::Apis::Core::Hashable + + # A list of the leased WorkItems. + # Corresponds to the JSON property `workItems` + # @return [Array] + attr_accessor :work_items + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @work_items = args[:work_items] if args.key?(:work_items) end end @@ -2172,11 +1973,6 @@ module Google class ListJobMessagesResponse include Google::Apis::Core::Hashable - # The token to obtain the next page of results if there are more. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - # Autoscaling events in ascending timestamp order. # Corresponds to the JSON property `autoscalingEvents` # @return [Array] @@ -2187,93 +1983,42 @@ module Google # @return [Array] attr_accessor :job_messages + # The token to obtain the next page of results if there are more. + # 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) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @autoscaling_events = args[:autoscaling_events] if args.key?(:autoscaling_events) @job_messages = args[:job_messages] if args.key?(:job_messages) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end end - # A progress measurement of a WorkItem by a worker. - class ApproximateReportedProgress + # Response to a request to list Cloud Dataflow jobs. This may be a partial + # response, depending on the page size in the ListJobsRequest. + class ListJobsResponse include Google::Apis::Core::Hashable - # Represents the level of parallelism in a WorkItem's input, - # reported by the worker. - # Corresponds to the JSON property `remainingParallelism` - # @return [Google::Apis::DataflowV1b3::ReportedParallelism] - attr_accessor :remaining_parallelism + # Zero or more messages describing locations that failed to respond. + # Corresponds to the JSON property `failedLocation` + # @return [Array] + attr_accessor :failed_location - # Position defines a position within a collection of data. The value - # can be either the end position, a key (used with ordered - # collections), a byte offset, or a record index. - # Corresponds to the JSON property `position` - # @return [Google::Apis::DataflowV1b3::Position] - attr_accessor :position + # A subset of the requested job information. + # Corresponds to the JSON property `jobs` + # @return [Array] + attr_accessor :jobs - # Completion as fraction of the input consumed, from 0.0 (beginning, nothing - # consumed), to 1.0 (end of the input, entire input consumed). - # Corresponds to the JSON property `fractionConsumed` - # @return [Float] - attr_accessor :fraction_consumed - - # Represents the level of parallelism in a WorkItem's input, - # reported by the worker. - # Corresponds to the JSON property `consumedParallelism` - # @return [Google::Apis::DataflowV1b3::ReportedParallelism] - attr_accessor :consumed_parallelism - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @remaining_parallelism = args[:remaining_parallelism] if args.key?(:remaining_parallelism) - @position = args[:position] if args.key?(:position) - @fraction_consumed = args[:fraction_consumed] if args.key?(:fraction_consumed) - @consumed_parallelism = args[:consumed_parallelism] if args.key?(:consumed_parallelism) - end - end - - # A metric value representing a list of integers. - class IntegerList - include Google::Apis::Core::Hashable - - # Elements of the list. - # Corresponds to the JSON property `elements` - # @return [Array] - attr_accessor :elements - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @elements = args[:elements] if args.key?(:elements) - end - end - - # State family configuration. - class StateFamilyConfig - include Google::Apis::Core::Hashable - - # The state family value. - # Corresponds to the JSON property `stateFamily` + # Set if there may be more results than fit in this response. + # Corresponds to the JSON property `nextPageToken` # @return [String] - attr_accessor :state_family - - # If true, this family corresponds to a read operation. - # Corresponds to the JSON property `isRead` - # @return [Boolean] - attr_accessor :is_read - alias_method :is_read?, :is_read + attr_accessor :next_page_token def initialize(**args) update!(**args) @@ -2281,116 +2026,96 @@ module Google # Update properties of this object def update!(**args) - @state_family = args[:state_family] if args.key?(:state_family) - @is_read = args[:is_read] if args.key?(:is_read) + @failed_location = args[:failed_location] if args.key?(:failed_location) + @jobs = args[:jobs] if args.key?(:jobs) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end end - # Service-side response to WorkerMessage reporting resource utilization. - class ResourceUtilizationReportResponse + # Bucket of values for Distribution's logarithmic histogram. + class LogBucket include Google::Apis::Core::Hashable + # Number of values in this bucket. + # Corresponds to the JSON property `count` + # @return [Fixnum] + attr_accessor :count + + # floor(log2(value)); defined to be zero for nonpositive values. + # log(-1) = 0 + # log(0) = 0 + # log(1) = 0 + # log(2) = 1 + # log(3) = 1 + # log(4) = 2 + # log(5) = 2 + # Corresponds to the JSON property `log` + # @return [Fixnum] + attr_accessor :log + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @count = args[:count] if args.key?(:count) + @log = args[:log] if args.key?(:log) end end - # The response to a SourceSplitRequest. - class SourceSplitResponse + # MapTask consists of an ordered set of instructions, each of which + # describes one particular low-level operation for the worker to + # perform in order to accomplish the MapTask's WorkItem. + # Each instruction must appear in the list before any instructions which + # depends on its output. + class MapTask include Google::Apis::Core::Hashable - # If outcome is SPLITTING_HAPPENED, then this is a list of bundles - # into which the source was split. Otherwise this field is ignored. - # This list can be empty, which means the source represents an empty input. - # Corresponds to the JSON property `bundles` - # @return [Array] - attr_accessor :bundles + # The instructions in the MapTask. + # Corresponds to the JSON property `instructions` + # @return [Array] + attr_accessor :instructions - # DEPRECATED in favor of bundles. - # Corresponds to the JSON property `shards` - # @return [Array] - attr_accessor :shards - - # Indicates whether splitting happened and produced a list of bundles. - # If this is USE_CURRENT_SOURCE_AS_IS, the current source should - # be processed "as is" without splitting. "bundles" is ignored in this case. - # If this is SPLITTING_HAPPENED, then "bundles" contains a list of - # bundles into which the source was split. - # Corresponds to the JSON property `outcome` + # System-defined name of the stage containing this MapTask. + # Unique across the workflow. + # Corresponds to the JSON property `stageName` # @return [String] - attr_accessor :outcome + attr_accessor :stage_name - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bundles = args[:bundles] if args.key?(:bundles) - @shards = args[:shards] if args.key?(:shards) - @outcome = args[:outcome] if args.key?(:outcome) - end - end - - # Describes a particular operation comprising a MapTask. - class ParallelInstruction - include Google::Apis::Core::Hashable - - # System-defined name for the operation in the original workflow graph. - # Corresponds to the JSON property `originalName` - # @return [String] - attr_accessor :original_name - - # An instruction that copies its inputs (zero or more) to its (single) output. - # Corresponds to the JSON property `flatten` - # @return [Google::Apis::DataflowV1b3::FlattenInstruction] - attr_accessor :flatten - - # An instruction that writes records. - # Takes one input, produces no outputs. - # Corresponds to the JSON property `write` - # @return [Google::Apis::DataflowV1b3::WriteInstruction] - attr_accessor :write - - # System-defined name of this operation. + # System-defined name of this MapTask. # Unique across the workflow. # Corresponds to the JSON property `systemName` # @return [String] attr_accessor :system_name - # An instruction that does a partial group-by-key. - # One input and one output. - # Corresponds to the JSON property `partialGroupByKey` - # @return [Google::Apis::DataflowV1b3::PartialGroupByKeyInstruction] - attr_accessor :partial_group_by_key + def initialize(**args) + update!(**args) + end - # Describes the outputs of the instruction. - # Corresponds to the JSON property `outputs` - # @return [Array] - attr_accessor :outputs + # Update properties of this object + def update!(**args) + @instructions = args[:instructions] if args.key?(:instructions) + @stage_name = args[:stage_name] if args.key?(:stage_name) + @system_name = args[:system_name] if args.key?(:system_name) + end + end - # User-provided name of this operation. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name + # The metric short id is returned to the user alongside an offset into + # ReportWorkItemStatusRequest + class MetricShortId + include Google::Apis::Core::Hashable - # An instruction that reads records. - # Takes no inputs, produces one output. - # Corresponds to the JSON property `read` - # @return [Google::Apis::DataflowV1b3::ReadInstruction] - attr_accessor :read + # The index of the corresponding metric in + # the ReportWorkItemStatusRequest. Required. + # Corresponds to the JSON property `metricIndex` + # @return [Fixnum] + attr_accessor :metric_index - # An instruction that does a ParDo operation. - # Takes one main input and zero or more side inputs, and produces - # zero or more outputs. - # Runs user code. - # Corresponds to the JSON property `parDo` - # @return [Google::Apis::DataflowV1b3::ParDoInstruction] - attr_accessor :par_do + # The service-generated short identifier for the metric. + # Corresponds to the JSON property `shortId` + # @return [Fixnum] + attr_accessor :short_id def initialize(**args) update!(**args) @@ -2398,15 +2123,207 @@ module Google # Update properties of this object def update!(**args) - @original_name = args[:original_name] if args.key?(:original_name) - @flatten = args[:flatten] if args.key?(:flatten) - @write = args[:write] if args.key?(:write) - @system_name = args[:system_name] if args.key?(:system_name) - @partial_group_by_key = args[:partial_group_by_key] if args.key?(:partial_group_by_key) - @outputs = args[:outputs] if args.key?(:outputs) + @metric_index = args[:metric_index] if args.key?(:metric_index) + @short_id = args[:short_id] if args.key?(:short_id) + end + end + + # Identifies a metric, by describing the source which generated the + # metric. + class MetricStructuredName + include Google::Apis::Core::Hashable + + # Zero or more labeled fields which identify the part of the job this + # metric is associated with, such as the name of a step or collection. + # For example, built-in counters associated with steps will have + # context['step'] = . Counters associated with PCollections + # in the SDK will have context['pcollection'] = . + # Corresponds to the JSON property `context` + # @return [Hash] + attr_accessor :context + + # Worker-defined metric name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Origin (namespace) of metric name. May be blank for user-define metrics; + # will be "dataflow" for metrics defined by the Dataflow service or SDK. + # Corresponds to the JSON property `origin` + # @return [String] + attr_accessor :origin + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @context = args[:context] if args.key?(:context) + @name = args[:name] if args.key?(:name) + @origin = args[:origin] if args.key?(:origin) + end + end + + # Describes the state of a metric. + class MetricUpdate + include Google::Apis::Core::Hashable + + # True if this metric is reported as the total cumulative aggregate + # value accumulated since the worker started working on this WorkItem. + # By default this is false, indicating that this metric is reported + # as a delta that is not associated with any WorkItem. + # Corresponds to the JSON property `cumulative` + # @return [Boolean] + attr_accessor :cumulative + alias_method :cumulative?, :cumulative + + # A struct value describing properties of a distribution of numeric values. + # Corresponds to the JSON property `distribution` + # @return [Object] + attr_accessor :distribution + + # Worker-computed aggregate value for internal use by the Dataflow + # service. + # Corresponds to the JSON property `internal` + # @return [Object] + attr_accessor :internal + + # Metric aggregation kind. The possible metric aggregation kinds are + # "Sum", "Max", "Min", "Mean", "Set", "And", "Or", and "Distribution". + # The specified aggregation kind is case-insensitive. + # If omitted, this is not an aggregated value but instead + # a single metric sample value. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Worker-computed aggregate value for the "Mean" aggregation kind. + # This holds the count of the aggregated values and is used in combination + # with mean_sum above to obtain the actual mean aggregate value. + # The only possible value type is Long. + # Corresponds to the JSON property `meanCount` + # @return [Object] + attr_accessor :mean_count + + # Worker-computed aggregate value for the "Mean" aggregation kind. + # This holds the sum of the aggregated values and is used in combination + # with mean_count below to obtain the actual mean aggregate value. + # The only possible value types are Long and Double. + # Corresponds to the JSON property `meanSum` + # @return [Object] + attr_accessor :mean_sum + + # Identifies a metric, by describing the source which generated the + # metric. + # Corresponds to the JSON property `name` + # @return [Google::Apis::DataflowV1b3::MetricStructuredName] + attr_accessor :name + + # Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", + # "And", and "Or". The possible value types are Long, Double, and Boolean. + # Corresponds to the JSON property `scalar` + # @return [Object] + attr_accessor :scalar + + # Worker-computed aggregate value for the "Set" aggregation kind. The only + # possible value type is a list of Values whose type can be Long, Double, + # or String, according to the metric's type. All Values in the list must + # be of the same type. + # Corresponds to the JSON property `set` + # @return [Object] + attr_accessor :set + + # Timestamp associated with the metric value. Optional when workers are + # reporting work progress; it will be filled in responses from the + # metrics API. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cumulative = args[:cumulative] if args.key?(:cumulative) + @distribution = args[:distribution] if args.key?(:distribution) + @internal = args[:internal] if args.key?(:internal) + @kind = args[:kind] if args.key?(:kind) + @mean_count = args[:mean_count] if args.key?(:mean_count) + @mean_sum = args[:mean_sum] if args.key?(:mean_sum) + @name = args[:name] if args.key?(:name) + @scalar = args[:scalar] if args.key?(:scalar) + @set = args[:set] if args.key?(:set) + @update_time = args[:update_time] if args.key?(:update_time) + end + end + + # Describes mounted data disk. + class MountedDataDisk + include Google::Apis::Core::Hashable + + # The name of the data disk. + # This name is local to the Google Cloud Platform project and uniquely + # identifies the disk within that project, for example + # "myproject-1014-104817-4c2-harness-0-disk-1". + # Corresponds to the JSON property `dataDisk` + # @return [String] + attr_accessor :data_disk + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_disk = args[:data_disk] if args.key?(:data_disk) + end + end + + # Information about an output of a multi-output DoFn. + class MultiOutputInfo + include Google::Apis::Core::Hashable + + # The id of the tag the user code will emit to this output by; this + # should correspond to the tag of some SideInputInfo. + # Corresponds to the JSON property `tag` + # @return [String] + attr_accessor :tag + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @tag = args[:tag] if args.key?(:tag) + end + end + + # Basic metadata about a counter. + class NameAndKind + include Google::Apis::Core::Hashable + + # Counter aggregation kind. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of the counter. + # 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) + @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) - @read = args[:read] if args.key?(:read) - @par_do = args[:par_do] if args.key?(:par_do) end end @@ -2445,43 +2362,6 @@ module Google end end - # Data disk assignment information for a specific key-range of a sharded - # computation. - # Currently we only support UTF-8 character splits to simplify encoding into - # JSON. - class KeyRangeDataDiskAssignment - include Google::Apis::Core::Hashable - - # The name of the data disk where data for this range is stored. - # This name is local to the Google Cloud Platform project and uniquely - # identifies the disk within that project, for example - # "myproject-1014-104817-4c2-harness-0-disk-1". - # Corresponds to the JSON property `dataDisk` - # @return [String] - attr_accessor :data_disk - - # The start (inclusive) of the key range. - # Corresponds to the JSON property `start` - # @return [String] - attr_accessor :start - - # The end (exclusive) of the key range. - # Corresponds to the JSON property `end` - # @return [String] - attr_accessor :end - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @data_disk = args[:data_disk] if args.key?(:data_disk) - @start = args[:start] if args.key?(:start) - @end = args[:end] if args.key?(:end) - end - end - # An instruction that does a ParDo operation. # Takes one main input and zero or more side inputs, and produces # zero or more outputs. @@ -2489,31 +2369,226 @@ module Google class ParDoInstruction include Google::Apis::Core::Hashable - # Zero or more side inputs. - # Corresponds to the JSON property `sideInputs` - # @return [Array] - attr_accessor :side_inputs + # An input of an instruction, as a reference to an output of a + # producer instruction. + # Corresponds to the JSON property `input` + # @return [Google::Apis::DataflowV1b3::InstructionInput] + attr_accessor :input # Information about each of the outputs, if user_fn is a MultiDoFn. # Corresponds to the JSON property `multiOutputInfos` # @return [Array] attr_accessor :multi_output_infos + # The number of outputs. + # Corresponds to the JSON property `numOutputs` + # @return [Fixnum] + attr_accessor :num_outputs + + # Zero or more side inputs. + # Corresponds to the JSON property `sideInputs` + # @return [Array] + attr_accessor :side_inputs + # The user function to invoke. # Corresponds to the JSON property `userFn` # @return [Hash] attr_accessor :user_fn + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @input = args[:input] if args.key?(:input) + @multi_output_infos = args[:multi_output_infos] if args.key?(:multi_output_infos) + @num_outputs = args[:num_outputs] if args.key?(:num_outputs) + @side_inputs = args[:side_inputs] if args.key?(:side_inputs) + @user_fn = args[:user_fn] if args.key?(:user_fn) + end + end + + # Describes a particular operation comprising a MapTask. + class ParallelInstruction + include Google::Apis::Core::Hashable + + # An instruction that copies its inputs (zero or more) to its (single) output. + # Corresponds to the JSON property `flatten` + # @return [Google::Apis::DataflowV1b3::FlattenInstruction] + attr_accessor :flatten + + # User-provided name of this operation. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # System-defined name for the operation in the original workflow graph. + # Corresponds to the JSON property `originalName` + # @return [String] + attr_accessor :original_name + + # Describes the outputs of the instruction. + # Corresponds to the JSON property `outputs` + # @return [Array] + attr_accessor :outputs + + # An instruction that does a ParDo operation. + # Takes one main input and zero or more side inputs, and produces + # zero or more outputs. + # Runs user code. + # Corresponds to the JSON property `parDo` + # @return [Google::Apis::DataflowV1b3::ParDoInstruction] + attr_accessor :par_do + + # An instruction that does a partial group-by-key. + # One input and one output. + # Corresponds to the JSON property `partialGroupByKey` + # @return [Google::Apis::DataflowV1b3::PartialGroupByKeyInstruction] + attr_accessor :partial_group_by_key + + # An instruction that reads records. + # Takes no inputs, produces one output. + # Corresponds to the JSON property `read` + # @return [Google::Apis::DataflowV1b3::ReadInstruction] + attr_accessor :read + + # System-defined name of this operation. + # Unique across the workflow. + # Corresponds to the JSON property `systemName` + # @return [String] + attr_accessor :system_name + + # An instruction that writes records. + # Takes one input, produces no outputs. + # Corresponds to the JSON property `write` + # @return [Google::Apis::DataflowV1b3::WriteInstruction] + attr_accessor :write + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @flatten = args[:flatten] if args.key?(:flatten) + @name = args[:name] if args.key?(:name) + @original_name = args[:original_name] if args.key?(:original_name) + @outputs = args[:outputs] if args.key?(:outputs) + @par_do = args[:par_do] if args.key?(:par_do) + @partial_group_by_key = args[:partial_group_by_key] if args.key?(:partial_group_by_key) + @read = args[:read] if args.key?(:read) + @system_name = args[:system_name] if args.key?(:system_name) + @write = args[:write] if args.key?(:write) + end + end + + # Structured data associated with this message. + class Parameter + include Google::Apis::Core::Hashable + + # Key or name for this parameter. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # Value for this parameter. + # Corresponds to the JSON property `value` + # @return [Object] + 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 + + # Metadata for a specific parameter. + class ParameterMetadata + include Google::Apis::Core::Hashable + + # Required. The help text to display for the parameter. + # Corresponds to the JSON property `helpText` + # @return [String] + attr_accessor :help_text + + # Optional. Whether the parameter is optional. Defaults to false. + # Corresponds to the JSON property `isOptional` + # @return [Boolean] + attr_accessor :is_optional + alias_method :is_optional?, :is_optional + + # Required. The label to display for the parameter. + # Corresponds to the JSON property `label` + # @return [String] + attr_accessor :label + + # Required. The name of the parameter. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Optional. Regexes that the parameter must match. + # Corresponds to the JSON property `regexes` + # @return [Array] + attr_accessor :regexes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @help_text = args[:help_text] if args.key?(:help_text) + @is_optional = args[:is_optional] if args.key?(:is_optional) + @label = args[:label] if args.key?(:label) + @name = args[:name] if args.key?(:name) + @regexes = args[:regexes] if args.key?(:regexes) + end + end + + # An instruction that does a partial group-by-key. + # One input and one output. + class PartialGroupByKeyInstruction + include Google::Apis::Core::Hashable + # An input of an instruction, as a reference to an output of a # producer instruction. # Corresponds to the JSON property `input` # @return [Google::Apis::DataflowV1b3::InstructionInput] attr_accessor :input - # The number of outputs. - # Corresponds to the JSON property `numOutputs` - # @return [Fixnum] - attr_accessor :num_outputs + # The codec to use for interpreting an element in the input PTable. + # Corresponds to the JSON property `inputElementCodec` + # @return [Hash] + attr_accessor :input_element_codec + + # If this instruction includes a combining function this is the name of the + # intermediate store between the GBK and the CombineValues. + # Corresponds to the JSON property `originalCombineValuesInputStoreName` + # @return [String] + attr_accessor :original_combine_values_input_store_name + + # If this instruction includes a combining function, this is the name of the + # CombineValues instruction lifted into this instruction. + # Corresponds to the JSON property `originalCombineValuesStepName` + # @return [String] + attr_accessor :original_combine_values_step_name + + # Zero or more side inputs. + # Corresponds to the JSON property `sideInputs` + # @return [Array] + attr_accessor :side_inputs + + # The value combining function to invoke. + # Corresponds to the JSON property `valueCombiningFn` + # @return [Hash] + attr_accessor :value_combining_fn def initialize(**args) update!(**args) @@ -2521,89 +2596,35 @@ module Google # Update properties of this object def update!(**args) - @side_inputs = args[:side_inputs] if args.key?(:side_inputs) - @multi_output_infos = args[:multi_output_infos] if args.key?(:multi_output_infos) - @user_fn = args[:user_fn] if args.key?(:user_fn) @input = args[:input] if args.key?(:input) - @num_outputs = args[:num_outputs] if args.key?(:num_outputs) + @input_element_codec = args[:input_element_codec] if args.key?(:input_element_codec) + @original_combine_values_input_store_name = args[:original_combine_values_input_store_name] if args.key?(:original_combine_values_input_store_name) + @original_combine_values_step_name = args[:original_combine_values_step_name] if args.key?(:original_combine_values_step_name) + @side_inputs = args[:side_inputs] if args.key?(:side_inputs) + @value_combining_fn = args[:value_combining_fn] if args.key?(:value_combining_fn) end end - # Describes the state of a metric. - class MetricUpdate + # A descriptive representation of submitted pipeline as well as the executed + # form. This data is provided by the Dataflow service for ease of visualizing + # the pipeline and interpretting Dataflow provided metrics. + class PipelineDescription include Google::Apis::Core::Hashable - # Worker-computed aggregate value for internal use by the Dataflow - # service. - # Corresponds to the JSON property `internal` - # @return [Object] - attr_accessor :internal + # Pipeline level display data. + # Corresponds to the JSON property `displayData` + # @return [Array] + attr_accessor :display_data - # True if this metric is reported as the total cumulative aggregate - # value accumulated since the worker started working on this WorkItem. - # By default this is false, indicating that this metric is reported - # as a delta that is not associated with any WorkItem. - # Corresponds to the JSON property `cumulative` - # @return [Boolean] - attr_accessor :cumulative - alias_method :cumulative?, :cumulative + # Description of each stage of execution of the pipeline. + # Corresponds to the JSON property `executionPipelineStage` + # @return [Array] + attr_accessor :execution_pipeline_stage - # Metric aggregation kind. The possible metric aggregation kinds are - # "Sum", "Max", "Min", "Mean", "Set", "And", "Or", and "Distribution". - # The specified aggregation kind is case-insensitive. - # If omitted, this is not an aggregated value but instead - # a single metric sample value. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", - # "And", and "Or". The possible value types are Long, Double, and Boolean. - # Corresponds to the JSON property `scalar` - # @return [Object] - attr_accessor :scalar - - # Worker-computed aggregate value for the "Mean" aggregation kind. - # This holds the count of the aggregated values and is used in combination - # with mean_sum above to obtain the actual mean aggregate value. - # The only possible value type is Long. - # Corresponds to the JSON property `meanCount` - # @return [Object] - attr_accessor :mean_count - - # Worker-computed aggregate value for the "Mean" aggregation kind. - # This holds the sum of the aggregated values and is used in combination - # with mean_count below to obtain the actual mean aggregate value. - # The only possible value types are Long and Double. - # Corresponds to the JSON property `meanSum` - # @return [Object] - attr_accessor :mean_sum - - # Timestamp associated with the metric value. Optional when workers are - # reporting work progress; it will be filled in responses from the - # metrics API. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time - - # Identifies a metric, by describing the source which generated the - # metric. - # Corresponds to the JSON property `name` - # @return [Google::Apis::DataflowV1b3::MetricStructuredName] - attr_accessor :name - - # A struct value describing properties of a distribution of numeric values. - # Corresponds to the JSON property `distribution` - # @return [Object] - attr_accessor :distribution - - # Worker-computed aggregate value for the "Set" aggregation kind. The only - # possible value type is a list of Values whose type can be Long, Double, - # or String, according to the metric's type. All Values in the list must - # be of the same type. - # Corresponds to the JSON property `set` - # @return [Object] - attr_accessor :set + # Description of each transform in the pipeline and collections between them. + # Corresponds to the JSON property `originalPipelineTransform` + # @return [Array] + attr_accessor :original_pipeline_transform def initialize(**args) update!(**args) @@ -2611,104 +2632,321 @@ module Google # Update properties of this object def update!(**args) - @internal = args[:internal] if args.key?(:internal) - @cumulative = args[:cumulative] if args.key?(:cumulative) - @kind = args[:kind] if args.key?(:kind) - @scalar = args[:scalar] if args.key?(:scalar) - @mean_count = args[:mean_count] if args.key?(:mean_count) - @mean_sum = args[:mean_sum] if args.key?(:mean_sum) - @update_time = args[:update_time] if args.key?(:update_time) - @name = args[:name] if args.key?(:name) - @distribution = args[:distribution] if args.key?(:distribution) - @set = args[:set] if args.key?(:set) + @display_data = args[:display_data] if args.key?(:display_data) + @execution_pipeline_stage = args[:execution_pipeline_stage] if args.key?(:execution_pipeline_stage) + @original_pipeline_transform = args[:original_pipeline_transform] if args.key?(:original_pipeline_transform) end end - # Identifies a counter within a per-job namespace. Counters whose structured - # names are the same get merged into a single value for the job. - class CounterStructuredName + # Position defines a position within a collection of data. The value + # can be either the end position, a key (used with ordered + # collections), a byte offset, or a record index. + class Position include Google::Apis::Core::Hashable - # Name of the optimized step being executed by the workers. - # Corresponds to the JSON property `componentStepName` - # @return [String] - attr_accessor :component_step_name + # Position is a byte offset. + # Corresponds to the JSON property `byteOffset` + # @return [Fixnum] + attr_accessor :byte_offset - # Portion of this counter, either key or value. - # Corresponds to the JSON property `portion` - # @return [String] - attr_accessor :portion + # A position that encapsulates an inner position and an index for the inner + # position. A ConcatPosition can be used by a reader of a source that + # encapsulates a set of other sources. + # Corresponds to the JSON property `concatPosition` + # @return [Google::Apis::DataflowV1b3::ConcatPosition] + attr_accessor :concat_position - # System generated name of the original step in the user's graph, before - # optimization. - # Corresponds to the JSON property `originalStepName` - # @return [String] - attr_accessor :original_step_name + # Position is past all other positions. Also useful for the end + # position of an unbounded range. + # Corresponds to the JSON property `end` + # @return [Boolean] + attr_accessor :end + alias_method :end?, :end - # ID of a particular worker. + # Position is a string key, ordered lexicographically. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # Position is a record index. + # Corresponds to the JSON property `recordIndex` + # @return [Fixnum] + attr_accessor :record_index + + # CloudPosition is a base64 encoded BatchShufflePosition (with FIXED + # sharding). + # Corresponds to the JSON property `shufflePosition` + # @return [String] + attr_accessor :shuffle_position + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @byte_offset = args[:byte_offset] if args.key?(:byte_offset) + @concat_position = args[:concat_position] if args.key?(:concat_position) + @end = args[:end] if args.key?(:end) + @key = args[:key] if args.key?(:key) + @record_index = args[:record_index] if args.key?(:record_index) + @shuffle_position = args[:shuffle_position] if args.key?(:shuffle_position) + end + end + + # Identifies a pubsub location to use for transferring data into or + # out of a streaming Dataflow job. + class PubsubLocation + include Google::Apis::Core::Hashable + + # Indicates whether the pipeline allows late-arriving data. + # Corresponds to the JSON property `dropLateData` + # @return [Boolean] + attr_accessor :drop_late_data + alias_method :drop_late_data?, :drop_late_data + + # If set, contains a pubsub label from which to extract record ids. + # If left empty, record deduplication will be strictly best effort. + # Corresponds to the JSON property `idLabel` + # @return [String] + attr_accessor :id_label + + # A pubsub subscription, in the form of + # "pubsub.googleapis.com/subscriptions//" + # Corresponds to the JSON property `subscription` + # @return [String] + attr_accessor :subscription + + # If set, contains a pubsub label from which to extract record timestamps. + # If left empty, record timestamps will be generated upon arrival. + # Corresponds to the JSON property `timestampLabel` + # @return [String] + attr_accessor :timestamp_label + + # A pubsub topic, in the form of + # "pubsub.googleapis.com/topics//" + # Corresponds to the JSON property `topic` + # @return [String] + attr_accessor :topic + + # If set, specifies the pubsub subscription that will be used for tracking + # custom time timestamps for watermark estimation. + # Corresponds to the JSON property `trackingSubscription` + # @return [String] + attr_accessor :tracking_subscription + + # If true, then the client has requested to get pubsub attributes. + # Corresponds to the JSON property `withAttributes` + # @return [Boolean] + attr_accessor :with_attributes + alias_method :with_attributes?, :with_attributes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @drop_late_data = args[:drop_late_data] if args.key?(:drop_late_data) + @id_label = args[:id_label] if args.key?(:id_label) + @subscription = args[:subscription] if args.key?(:subscription) + @timestamp_label = args[:timestamp_label] if args.key?(:timestamp_label) + @topic = args[:topic] if args.key?(:topic) + @tracking_subscription = args[:tracking_subscription] if args.key?(:tracking_subscription) + @with_attributes = args[:with_attributes] if args.key?(:with_attributes) + end + end + + # An instruction that reads records. + # Takes no inputs, produces one output. + class ReadInstruction + include Google::Apis::Core::Hashable + + # A source that records can be read and decoded from. + # Corresponds to the JSON property `source` + # @return [Google::Apis::DataflowV1b3::Source] + attr_accessor :source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @source = args[:source] if args.key?(:source) + end + end + + # Request to report the status of WorkItems. + class ReportWorkItemStatusRequest + include Google::Apis::Core::Hashable + + # The current timestamp at the worker. + # Corresponds to the JSON property `currentWorkerTime` + # @return [String] + attr_accessor :current_worker_time + + # The location which contains the WorkItem's job. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # The order is unimportant, except that the order of the + # WorkItemServiceState messages in the ReportWorkItemStatusResponse + # corresponds to the order of WorkItemStatus messages here. + # Corresponds to the JSON property `workItemStatuses` + # @return [Array] + attr_accessor :work_item_statuses + + # The ID of the worker reporting the WorkItem status. If this + # does not match the ID of the worker which the Dataflow service + # believes currently has the lease on the WorkItem, the report + # will be dropped (with an error response). # Corresponds to the JSON property `workerId` # @return [String] attr_accessor :worker_id - # A string containing a more specific namespace of the counter's origin. - # Corresponds to the JSON property `originNamespace` - # @return [String] - attr_accessor :origin_namespace - - # Counter name. Not necessarily globally-unique, but unique within the - # context of the other fields. - # Required. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Name of the stage. An execution step contains multiple component steps. - # Corresponds to the JSON property `executionStepName` - # @return [String] - attr_accessor :execution_step_name - - # One of the standard Origins defined above. - # Corresponds to the JSON property `origin` - # @return [String] - attr_accessor :origin - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @component_step_name = args[:component_step_name] if args.key?(:component_step_name) - @portion = args[:portion] if args.key?(:portion) - @original_step_name = args[:original_step_name] if args.key?(:original_step_name) + @current_worker_time = args[:current_worker_time] if args.key?(:current_worker_time) + @location = args[:location] if args.key?(:location) + @work_item_statuses = args[:work_item_statuses] if args.key?(:work_item_statuses) @worker_id = args[:worker_id] if args.key?(:worker_id) - @origin_namespace = args[:origin_namespace] if args.key?(:origin_namespace) - @name = args[:name] if args.key?(:name) - @execution_step_name = args[:execution_step_name] if args.key?(:execution_step_name) - @origin = args[:origin] if args.key?(:origin) end end - # Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest. - class ApproximateProgress + # Response from a request to report the status of WorkItems. + class ReportWorkItemStatusResponse include Google::Apis::Core::Hashable - # Obsolete. - # Corresponds to the JSON property `percentComplete` + # A set of messages indicating the service-side state for each + # WorkItem whose status was reported, in the same order as the + # WorkItemStatus messages in the ReportWorkItemStatusRequest which + # resulting in this response. + # Corresponds to the JSON property `workItemServiceStates` + # @return [Array] + attr_accessor :work_item_service_states + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @work_item_service_states = args[:work_item_service_states] if args.key?(:work_item_service_states) + end + end + + # Represents the level of parallelism in a WorkItem's input, + # reported by the worker. + class ReportedParallelism + include Google::Apis::Core::Hashable + + # Specifies whether the parallelism is infinite. If true, "value" is + # ignored. + # Infinite parallelism means the service will assume that the work item + # can always be split into more non-empty work items by dynamic splitting. + # This is a work-around for lack of support for infinity by the current + # JSON-based Java RPC stack. + # Corresponds to the JSON property `isInfinite` + # @return [Boolean] + attr_accessor :is_infinite + alias_method :is_infinite?, :is_infinite + + # Specifies the level of parallelism in case it is finite. + # Corresponds to the JSON property `value` # @return [Float] - attr_accessor :percent_complete + attr_accessor :value - # Obsolete. - # Corresponds to the JSON property `remainingTime` + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @is_infinite = args[:is_infinite] if args.key?(:is_infinite) + @value = args[:value] if args.key?(:value) + end + end + + # Worker metrics exported from workers. This contains resource utilization + # metrics accumulated from a variety of sources. For more information, see + # go/df-resource-signals. + class ResourceUtilizationReport + include Google::Apis::Core::Hashable + + # CPU utilization samples. + # Corresponds to the JSON property `cpuTime` + # @return [Array] + attr_accessor :cpu_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cpu_time = args[:cpu_time] if args.key?(:cpu_time) + end + end + + # Service-side response to WorkerMessage reporting resource utilization. + class ResourceUtilizationReportResponse + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # The environment values to set at runtime. + class RuntimeEnvironment + include Google::Apis::Core::Hashable + + # Whether to bypass the safety checks for the job's temporary directory. + # Use with caution. + # Corresponds to the JSON property `bypassTempDirValidation` + # @return [Boolean] + attr_accessor :bypass_temp_dir_validation + alias_method :bypass_temp_dir_validation?, :bypass_temp_dir_validation + + # The machine type to use for the job. Defaults to the value from the + # template if not specified. + # Corresponds to the JSON property `machineType` # @return [String] - attr_accessor :remaining_time + attr_accessor :machine_type - # Position defines a position within a collection of data. The value - # can be either the end position, a key (used with ordered - # collections), a byte offset, or a record index. - # Corresponds to the JSON property `position` - # @return [Google::Apis::DataflowV1b3::Position] - attr_accessor :position + # The maximum number of Google Compute Engine instances to be made + # available to your pipeline during execution, from 1 to 1000. + # Corresponds to the JSON property `maxWorkers` + # @return [Fixnum] + attr_accessor :max_workers + + # The email address of the service account to run the job as. + # Corresponds to the JSON property `serviceAccountEmail` + # @return [String] + attr_accessor :service_account_email + + # The Cloud Storage path to use for temporary files. + # Must be a valid Cloud Storage URL, beginning with `gs://`. + # Corresponds to the JSON property `tempLocation` + # @return [String] + attr_accessor :temp_location + + # The Compute Engine [availability + # zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) + # for launching worker instances to run your pipeline. + # Corresponds to the JSON property `zone` + # @return [String] + attr_accessor :zone def initialize(**args) update!(**args) @@ -2716,27 +2954,38 @@ module Google # Update properties of this object def update!(**args) - @percent_complete = args[:percent_complete] if args.key?(:percent_complete) - @remaining_time = args[:remaining_time] if args.key?(:remaining_time) - @position = args[:position] if args.key?(:position) + @bypass_temp_dir_validation = args[:bypass_temp_dir_validation] if args.key?(:bypass_temp_dir_validation) + @machine_type = args[:machine_type] if args.key?(:machine_type) + @max_workers = args[:max_workers] if args.key?(:max_workers) + @service_account_email = args[:service_account_email] if args.key?(:service_account_email) + @temp_location = args[:temp_location] if args.key?(:temp_location) + @zone = args[:zone] if args.key?(:zone) end end - # A worker_message response allows the server to pass information to the - # sender. - class WorkerMessageResponse + # Request to send encoded debug information. + class SendDebugCaptureRequest include Google::Apis::Core::Hashable - # Service-side response to WorkerMessage reporting resource utilization. - # Corresponds to the JSON property `workerMetricsResponse` - # @return [Google::Apis::DataflowV1b3::ResourceUtilizationReportResponse] - attr_accessor :worker_metrics_response + # The internal component id for which debug information is sent. + # Corresponds to the JSON property `componentId` + # @return [String] + attr_accessor :component_id - # WorkerHealthReportResponse contains information returned to the worker - # in response to a health ping. - # Corresponds to the JSON property `workerHealthReportResponse` - # @return [Google::Apis::DataflowV1b3::WorkerHealthReportResponse] - attr_accessor :worker_health_report_response + # The encoded debug information. + # Corresponds to the JSON property `data` + # @return [String] + attr_accessor :data + + # The location which contains the job specified by job_id. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # The worker id, i.e., VM hostname. + # Corresponds to the JSON property `workerId` + # @return [String] + attr_accessor :worker_id def initialize(**args) update!(**args) @@ -2744,29 +2993,106 @@ module Google # Update properties of this object def update!(**args) - @worker_metrics_response = args[:worker_metrics_response] if args.key?(:worker_metrics_response) - @worker_health_report_response = args[:worker_health_report_response] if args.key?(:worker_health_report_response) + @component_id = args[:component_id] if args.key?(:component_id) + @data = args[:data] if args.key?(:data) + @location = args[:location] if args.key?(:location) + @worker_id = args[:worker_id] if args.key?(:worker_id) end end - # Metadata describing a template. - class TemplateMetadata + # Response to a send capture request. + # nothing + class SendDebugCaptureResponse include Google::Apis::Core::Hashable - # The parameters for the template. - # Corresponds to the JSON property `parameters` - # @return [Array] - attr_accessor :parameters + def initialize(**args) + update!(**args) + end - # Required. The name of the template. + # Update properties of this object + def update!(**args) + end + end + + # A request for sending worker messages to the service. + class SendWorkerMessagesRequest + include Google::Apis::Core::Hashable + + # The location which contains the job + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # The WorkerMessages to send. + # Corresponds to the JSON property `workerMessages` + # @return [Array] + attr_accessor :worker_messages + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @location = args[:location] if args.key?(:location) + @worker_messages = args[:worker_messages] if args.key?(:worker_messages) + end + end + + # The response to the worker messages. + class SendWorkerMessagesResponse + include Google::Apis::Core::Hashable + + # The servers response to the worker messages. + # Corresponds to the JSON property `workerMessageResponses` + # @return [Array] + attr_accessor :worker_message_responses + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @worker_message_responses = args[:worker_message_responses] if args.key?(:worker_message_responses) + end + end + + # Describes a particular function to invoke. + class SeqMapTask + include Google::Apis::Core::Hashable + + # Information about each of the inputs. + # Corresponds to the JSON property `inputs` + # @return [Array] + attr_accessor :inputs + + # The user-provided name of the SeqDo operation. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Optional. A description of the template. - # Corresponds to the JSON property `description` + # Information about each of the outputs. + # Corresponds to the JSON property `outputInfos` + # @return [Array] + attr_accessor :output_infos + + # System-defined name of the stage containing the SeqDo operation. + # Unique across the workflow. + # Corresponds to the JSON property `stageName` # @return [String] - attr_accessor :description + attr_accessor :stage_name + + # System-defined name of the SeqDo operation. + # Unique across the workflow. + # Corresponds to the JSON property `systemName` + # @return [String] + attr_accessor :system_name + + # The user function to invoke. + # Corresponds to the JSON property `userFn` + # @return [Hash] + attr_accessor :user_fn def initialize(**args) update!(**args) @@ -2774,60 +3100,28 @@ module Google # Update properties of this object def update!(**args) - @parameters = args[:parameters] if args.key?(:parameters) + @inputs = args[:inputs] if args.key?(:inputs) @name = args[:name] if args.key?(:name) - @description = args[:description] if args.key?(:description) + @output_infos = args[:output_infos] if args.key?(:output_infos) + @stage_name = args[:stage_name] if args.key?(:stage_name) + @system_name = args[:system_name] if args.key?(:system_name) + @user_fn = args[:user_fn] if args.key?(:user_fn) end end - # WorkerMessage provides information to the backend about a worker. - class WorkerMessage + # Information about an output of a SeqMapTask. + class SeqMapTaskOutputInfo include Google::Apis::Core::Hashable - # WorkerHealthReport contains information about the health of a worker. - # The VM should be identified by the labels attached to the WorkerMessage that - # this health ping belongs to. - # Corresponds to the JSON property `workerHealthReport` - # @return [Google::Apis::DataflowV1b3::WorkerHealthReport] - attr_accessor :worker_health_report + # A sink that records can be encoded and written to. + # Corresponds to the JSON property `sink` + # @return [Google::Apis::DataflowV1b3::Sink] + attr_accessor :sink - # Worker metrics exported from workers. This contains resource utilization - # metrics accumulated from a variety of sources. For more information, see - # go/df-resource-signals. - # Corresponds to the JSON property `workerMetrics` - # @return [Google::Apis::DataflowV1b3::ResourceUtilizationReport] - attr_accessor :worker_metrics - - # A message code is used to report status and error messages to the service. - # The message codes are intended to be machine readable. The service will - # take care of translating these into user understandable messages if - # necessary. - # Example use cases: - # 1. Worker processes reporting successful startup. - # 2. Worker processes reporting specific errors (e.g. package staging - # failure). - # Corresponds to the JSON property `workerMessageCode` - # @return [Google::Apis::DataflowV1b3::WorkerMessageCode] - attr_accessor :worker_message_code - - # Labels are used to group WorkerMessages. - # For example, a worker_message about a particular container - # might have the labels: - # ` "JOB_ID": "2015-04-22", - # "WORKER_ID": "wordcount-vm-2015…" - # "CONTAINER_TYPE": "worker", - # "CONTAINER_ID": "ac1234def"` - # Label tags typically correspond to Label enum values. However, for ease - # of development other strings can be used as tags. LABEL_UNSPECIFIED should - # not be used here. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # The timestamp of the worker_message. - # Corresponds to the JSON property `time` + # The id of the TupleTag the user code will tag the output value by. + # Corresponds to the JSON property `tag` # @return [String] - attr_accessor :time + attr_accessor :tag def initialize(**args) update!(**args) @@ -2835,145 +3129,24 @@ module Google # Update properties of this object def update!(**args) - @worker_health_report = args[:worker_health_report] if args.key?(:worker_health_report) - @worker_metrics = args[:worker_metrics] if args.key?(:worker_metrics) - @worker_message_code = args[:worker_message_code] if args.key?(:worker_message_code) - @labels = args[:labels] if args.key?(:labels) - @time = args[:time] if args.key?(:time) + @sink = args[:sink] if args.key?(:sink) + @tag = args[:tag] if args.key?(:tag) end end - # JobMetrics contains a collection of metrics descibing the detailed progress - # of a Dataflow job. Metrics correspond to user-defined and system-defined - # metrics in the job. - # This resource captures only the most recent values of each metric; - # time-series data can be queried for them (under the same metric names) - # from Cloud Monitoring. - class JobMetrics + # A task which consists of a shell command for the worker to execute. + class ShellTask include Google::Apis::Core::Hashable - # All metrics for this job. - # Corresponds to the JSON property `metrics` - # @return [Array] - attr_accessor :metrics - - # Timestamp as of which metric values are current. - # Corresponds to the JSON property `metricTime` + # The shell command to run. + # Corresponds to the JSON property `command` # @return [String] - attr_accessor :metric_time + attr_accessor :command - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metrics = args[:metrics] if args.key?(:metrics) - @metric_time = args[:metric_time] if args.key?(:metric_time) - end - end - - # A metric value representing a list of floating point numbers. - class FloatingPointList - include Google::Apis::Core::Hashable - - # Elements of the list. - # Corresponds to the JSON property `elements` - # @return [Array] - attr_accessor :elements - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @elements = args[:elements] if args.key?(:elements) - end - end - - # An update to a Counter sent from a worker. - class CounterUpdate - include Google::Apis::Core::Hashable - - # A metric value representing a list of floating point numbers. - # Corresponds to the JSON property `floatingPointList` - # @return [Google::Apis::DataflowV1b3::FloatingPointList] - attr_accessor :floating_point_list - - # A representation of an int64, n, that is immune to precision loss when - # encoded in JSON. - # Corresponds to the JSON property `integer` - # @return [Google::Apis::DataflowV1b3::SplitInt64] - attr_accessor :integer - - # A single message which encapsulates structured name and metadata for a given - # counter. - # Corresponds to the JSON property `structuredNameAndMetadata` - # @return [Google::Apis::DataflowV1b3::CounterStructuredNameAndMetadata] - attr_accessor :structured_name_and_metadata - - # A metric value representing a list of integers. - # Corresponds to the JSON property `integerList` - # @return [Google::Apis::DataflowV1b3::IntegerList] - attr_accessor :integer_list - - # A representation of an integer mean metric contribution. - # Corresponds to the JSON property `integerMean` - # @return [Google::Apis::DataflowV1b3::IntegerMean] - attr_accessor :integer_mean - - # Floating point value for Sum, Max, Min. - # Corresponds to the JSON property `floatingPoint` - # @return [Float] - attr_accessor :floating_point - - # Value for internally-defined counters used by the Dataflow service. - # Corresponds to the JSON property `internal` - # @return [Object] - attr_accessor :internal - - # True if this counter is reported as the total cumulative aggregate - # value accumulated since the worker started working on this WorkItem. - # By default this is false, indicating that this counter is reported - # as a delta. - # Corresponds to the JSON property `cumulative` - # @return [Boolean] - attr_accessor :cumulative - alias_method :cumulative?, :cumulative - - # A representation of a floating point mean metric contribution. - # Corresponds to the JSON property `floatingPointMean` - # @return [Google::Apis::DataflowV1b3::FloatingPointMean] - attr_accessor :floating_point_mean - - # Boolean value for And, Or. - # Corresponds to the JSON property `boolean` - # @return [Boolean] - attr_accessor :boolean - alias_method :boolean?, :boolean - - # Basic metadata about a counter. - # Corresponds to the JSON property `nameAndKind` - # @return [Google::Apis::DataflowV1b3::NameAndKind] - attr_accessor :name_and_kind - - # A metric value representing a list of strings. - # Corresponds to the JSON property `stringList` - # @return [Google::Apis::DataflowV1b3::StringList] - attr_accessor :string_list - - # A metric value representing a distribution. - # Corresponds to the JSON property `distribution` - # @return [Google::Apis::DataflowV1b3::DistributionUpdate] - attr_accessor :distribution - - # The service-generated short identifier for this counter. - # The short_id -> (name, metadata) mapping is constant for the lifetime of - # a job. - # Corresponds to the JSON property `shortId` + # Exit code for the task. + # Corresponds to the JSON property `exitCode` # @return [Fixnum] - attr_accessor :short_id + attr_accessor :exit_code def initialize(**args) update!(**args) @@ -2981,20 +3154,214 @@ module Google # Update properties of this object def update!(**args) - @floating_point_list = args[:floating_point_list] if args.key?(:floating_point_list) - @integer = args[:integer] if args.key?(:integer) - @structured_name_and_metadata = args[:structured_name_and_metadata] if args.key?(:structured_name_and_metadata) - @integer_list = args[:integer_list] if args.key?(:integer_list) - @integer_mean = args[:integer_mean] if args.key?(:integer_mean) - @floating_point = args[:floating_point] if args.key?(:floating_point) - @internal = args[:internal] if args.key?(:internal) - @cumulative = args[:cumulative] if args.key?(:cumulative) - @floating_point_mean = args[:floating_point_mean] if args.key?(:floating_point_mean) - @boolean = args[:boolean] if args.key?(:boolean) - @name_and_kind = args[:name_and_kind] if args.key?(:name_and_kind) - @string_list = args[:string_list] if args.key?(:string_list) - @distribution = args[:distribution] if args.key?(:distribution) - @short_id = args[:short_id] if args.key?(:short_id) + @command = args[:command] if args.key?(:command) + @exit_code = args[:exit_code] if args.key?(:exit_code) + end + end + + # Information about a side input of a DoFn or an input of a SeqDoFn. + class SideInputInfo + include Google::Apis::Core::Hashable + + # How to interpret the source element(s) as a side input value. + # Corresponds to the JSON property `kind` + # @return [Hash] + attr_accessor :kind + + # The source(s) to read element(s) from to get the value of this side input. + # If more than one source, then the elements are taken from the + # sources, in the specified order if order matters. + # At least one source is required. + # Corresponds to the JSON property `sources` + # @return [Array] + attr_accessor :sources + + # The id of the tag the user code will access this side input by; + # this should correspond to the tag of some MultiOutputInfo. + # Corresponds to the JSON property `tag` + # @return [String] + attr_accessor :tag + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @sources = args[:sources] if args.key?(:sources) + @tag = args[:tag] if args.key?(:tag) + end + end + + # A sink that records can be encoded and written to. + class Sink + include Google::Apis::Core::Hashable + + # The codec to use to encode data written to the sink. + # Corresponds to the JSON property `codec` + # @return [Hash] + attr_accessor :codec + + # The sink to write to, plus its parameters. + # Corresponds to the JSON property `spec` + # @return [Hash] + attr_accessor :spec + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @codec = args[:codec] if args.key?(:codec) + @spec = args[:spec] if args.key?(:spec) + end + end + + # A source that records can be read and decoded from. + class Source + include Google::Apis::Core::Hashable + + # While splitting, sources may specify the produced bundles + # as differences against another source, in order to save backend-side + # memory and allow bigger jobs. For details, see SourceSplitRequest. + # To support this use case, the full set of parameters of the source + # is logically obtained by taking the latest explicitly specified value + # of each parameter in the order: + # base_specs (later items win), spec (overrides anything in base_specs). + # Corresponds to the JSON property `baseSpecs` + # @return [Array>] + attr_accessor :base_specs + + # The codec to use to decode data read from the source. + # Corresponds to the JSON property `codec` + # @return [Hash] + attr_accessor :codec + + # Setting this value to true hints to the framework that the source + # doesn't need splitting, and using SourceSplitRequest on it would + # yield SOURCE_SPLIT_OUTCOME_USE_CURRENT. + # E.g. a file splitter may set this to true when splitting a single file + # into a set of byte ranges of appropriate size, and set this + # to false when splitting a filepattern into individual files. + # However, for efficiency, a file splitter may decide to produce + # file subranges directly from the filepattern to avoid a splitting + # round-trip. + # See SourceSplitRequest for an overview of the splitting process. + # This field is meaningful only in the Source objects populated + # by the user (e.g. when filling in a DerivedSource). + # Source objects supplied by the framework to the user don't have + # this field populated. + # Corresponds to the JSON property `doesNotNeedSplitting` + # @return [Boolean] + attr_accessor :does_not_need_splitting + alias_method :does_not_need_splitting?, :does_not_need_splitting + + # Metadata about a Source useful for automatically optimizing + # and tuning the pipeline, etc. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::DataflowV1b3::SourceMetadata] + attr_accessor :metadata + + # The source to read from, plus its parameters. + # Corresponds to the JSON property `spec` + # @return [Hash] + attr_accessor :spec + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @base_specs = args[:base_specs] if args.key?(:base_specs) + @codec = args[:codec] if args.key?(:codec) + @does_not_need_splitting = args[:does_not_need_splitting] if args.key?(:does_not_need_splitting) + @metadata = args[:metadata] if args.key?(:metadata) + @spec = args[:spec] if args.key?(:spec) + end + end + + # DEPRECATED in favor of DynamicSourceSplit. + class SourceFork + include Google::Apis::Core::Hashable + + # DEPRECATED in favor of DerivedSource. + # Corresponds to the JSON property `primary` + # @return [Google::Apis::DataflowV1b3::SourceSplitShard] + attr_accessor :primary + + # Specification of one of the bundles produced as a result of splitting + # a Source (e.g. when executing a SourceSplitRequest, or when + # splitting an active task using WorkItemStatus.dynamic_source_split), + # relative to the source being split. + # Corresponds to the JSON property `primarySource` + # @return [Google::Apis::DataflowV1b3::DerivedSource] + attr_accessor :primary_source + + # DEPRECATED in favor of DerivedSource. + # Corresponds to the JSON property `residual` + # @return [Google::Apis::DataflowV1b3::SourceSplitShard] + attr_accessor :residual + + # Specification of one of the bundles produced as a result of splitting + # a Source (e.g. when executing a SourceSplitRequest, or when + # splitting an active task using WorkItemStatus.dynamic_source_split), + # relative to the source being split. + # Corresponds to the JSON property `residualSource` + # @return [Google::Apis::DataflowV1b3::DerivedSource] + attr_accessor :residual_source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @primary = args[:primary] if args.key?(:primary) + @primary_source = args[:primary_source] if args.key?(:primary_source) + @residual = args[:residual] if args.key?(:residual) + @residual_source = args[:residual_source] if args.key?(:residual_source) + end + end + + # A request to compute the SourceMetadata of a Source. + class SourceGetMetadataRequest + include Google::Apis::Core::Hashable + + # A source that records can be read and decoded from. + # Corresponds to the JSON property `source` + # @return [Google::Apis::DataflowV1b3::Source] + attr_accessor :source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @source = args[:source] if args.key?(:source) + end + end + + # The result of a SourceGetMetadataOperation. + class SourceGetMetadataResponse + include Google::Apis::Core::Hashable + + # Metadata about a Source useful for automatically optimizing + # and tuning the pipeline, etc. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::DataflowV1b3::SourceMetadata] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) end end @@ -3036,44 +3403,31 @@ module Google end end - # A metric value representing a distribution. - class DistributionUpdate + # A work item that represents the different operations that can be + # performed on a user-defined Source specification. + class SourceOperationRequest include Google::Apis::Core::Hashable - # A representation of an int64, n, that is immune to precision loss when - # encoded in JSON. - # Corresponds to the JSON property `max` - # @return [Google::Apis::DataflowV1b3::SplitInt64] - attr_accessor :max + # A request to compute the SourceMetadata of a Source. + # Corresponds to the JSON property `getMetadata` + # @return [Google::Apis::DataflowV1b3::SourceGetMetadataRequest] + attr_accessor :get_metadata - # (Optional) Logarithmic histogram of values. - # Each log may be in no more than one bucket. Order does not matter. - # Corresponds to the JSON property `logBuckets` - # @return [Array] - attr_accessor :log_buckets - - # A representation of an int64, n, that is immune to precision loss when - # encoded in JSON. - # Corresponds to the JSON property `count` - # @return [Google::Apis::DataflowV1b3::SplitInt64] - attr_accessor :count - - # A representation of an int64, n, that is immune to precision loss when - # encoded in JSON. - # Corresponds to the JSON property `min` - # @return [Google::Apis::DataflowV1b3::SplitInt64] - attr_accessor :min - - # Use a double since the sum of squares is likely to overflow int64. - # Corresponds to the JSON property `sumOfSquares` - # @return [Float] - attr_accessor :sum_of_squares - - # A representation of an int64, n, that is immune to precision loss when - # encoded in JSON. - # Corresponds to the JSON property `sum` - # @return [Google::Apis::DataflowV1b3::SplitInt64] - attr_accessor :sum + # Represents the operation to split a high-level Source specification + # into bundles (parts for parallel processing). + # At a high level, splitting of a source into bundles happens as follows: + # SourceSplitRequest is applied to the source. If it returns + # SOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting happens and the source + # is used "as is". Otherwise, splitting is applied recursively to each + # produced DerivedSource. + # As an optimization, for any Source, if its does_not_need_splitting is + # true, the framework assumes that splitting this source would return + # SOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't initiate a SourceSplitRequest. + # This applies both to the initial source being split and to bundles + # produced from it. + # Corresponds to the JSON property `split` + # @return [Google::Apis::DataflowV1b3::SourceSplitRequest] + attr_accessor :split def initialize(**args) update!(**args) @@ -3081,44 +3435,26 @@ module Google # Update properties of this object def update!(**args) - @max = args[:max] if args.key?(:max) - @log_buckets = args[:log_buckets] if args.key?(:log_buckets) - @count = args[:count] if args.key?(:count) - @min = args[:min] if args.key?(:min) - @sum_of_squares = args[:sum_of_squares] if args.key?(:sum_of_squares) - @sum = args[:sum] if args.key?(:sum) + @get_metadata = args[:get_metadata] if args.key?(:get_metadata) + @split = args[:split] if args.key?(:split) end end - # DEPRECATED in favor of DynamicSourceSplit. - class SourceFork + # The result of a SourceOperationRequest, specified in + # ReportWorkItemStatusRequest.source_operation when the work item + # is completed. + class SourceOperationResponse include Google::Apis::Core::Hashable - # Specification of one of the bundles produced as a result of splitting - # a Source (e.g. when executing a SourceSplitRequest, or when - # splitting an active task using WorkItemStatus.dynamic_source_split), - # relative to the source being split. - # Corresponds to the JSON property `primarySource` - # @return [Google::Apis::DataflowV1b3::DerivedSource] - attr_accessor :primary_source + # The result of a SourceGetMetadataOperation. + # Corresponds to the JSON property `getMetadata` + # @return [Google::Apis::DataflowV1b3::SourceGetMetadataResponse] + attr_accessor :get_metadata - # DEPRECATED in favor of DerivedSource. - # Corresponds to the JSON property `residual` - # @return [Google::Apis::DataflowV1b3::SourceSplitShard] - attr_accessor :residual - - # Specification of one of the bundles produced as a result of splitting - # a Source (e.g. when executing a SourceSplitRequest, or when - # splitting an active task using WorkItemStatus.dynamic_source_split), - # relative to the source being split. - # Corresponds to the JSON property `residualSource` - # @return [Google::Apis::DataflowV1b3::DerivedSource] - attr_accessor :residual_source - - # DEPRECATED in favor of DerivedSource. - # Corresponds to the JSON property `primary` - # @return [Google::Apis::DataflowV1b3::SourceSplitShard] - attr_accessor :primary + # The response to a SourceSplitRequest. + # Corresponds to the JSON property `split` + # @return [Google::Apis::DataflowV1b3::SourceSplitResponse] + attr_accessor :split def initialize(**args) update!(**args) @@ -3126,123 +3462,26 @@ module Google # Update properties of this object def update!(**args) - @primary_source = args[:primary_source] if args.key?(:primary_source) - @residual = args[:residual] if args.key?(:residual) - @residual_source = args[:residual_source] if args.key?(:residual_source) - @primary = args[:primary] if args.key?(:primary) + @get_metadata = args[:get_metadata] if args.key?(:get_metadata) + @split = args[:split] if args.key?(:split) end end - # WorkerHealthReportResponse contains information returned to the worker - # in response to a health ping. - class WorkerHealthReportResponse + # Hints for splitting a Source into bundles (parts for parallel + # processing) using SourceSplitRequest. + class SourceSplitOptions include Google::Apis::Core::Hashable - # A positive value indicates the worker should change its reporting interval - # to the specified value. - # The default value of zero means no change in report rate is requested by - # the server. - # Corresponds to the JSON property `reportInterval` - # @return [String] - attr_accessor :report_interval - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @report_interval = args[:report_interval] if args.key?(:report_interval) - end - end - - # Conveys a worker's progress through the work described by a WorkItem. - class WorkItemStatus - include Google::Apis::Core::Hashable - - # Worker output counters for this WorkItem. - # Corresponds to the JSON property `counterUpdates` - # @return [Array] - attr_accessor :counter_updates - - # Identifies the WorkItem. - # Corresponds to the JSON property `workItemId` - # @return [String] - attr_accessor :work_item_id - - # DEPRECATED in favor of counter_updates. - # Corresponds to the JSON property `metricUpdates` - # @return [Array] - attr_accessor :metric_updates - - # Specifies errors which occurred during processing. If errors are - # provided, and completed = true, then the WorkItem is considered - # to have failed. - # Corresponds to the JSON property `errors` - # @return [Array] - attr_accessor :errors - - # When a task splits using WorkItemStatus.dynamic_source_split, this - # message describes the two parts of the split relative to the - # description of the current task's input. - # Corresponds to the JSON property `dynamicSourceSplit` - # @return [Google::Apis::DataflowV1b3::DynamicSourceSplit] - attr_accessor :dynamic_source_split - - # The result of a SourceOperationRequest, specified in - # ReportWorkItemStatusRequest.source_operation when the work item - # is completed. - # Corresponds to the JSON property `sourceOperationResponse` - # @return [Google::Apis::DataflowV1b3::SourceOperationResponse] - attr_accessor :source_operation_response - - # Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest. - # Corresponds to the JSON property `progress` - # @return [Google::Apis::DataflowV1b3::ApproximateProgress] - attr_accessor :progress - - # Amount of time the worker requests for its lease. - # Corresponds to the JSON property `requestedLeaseDuration` - # @return [String] - attr_accessor :requested_lease_duration - - # The report index. When a WorkItem is leased, the lease will - # contain an initial report index. When a WorkItem's status is - # reported to the system, the report should be sent with - # that report index, and the response will contain the index the - # worker should use for the next report. Reports received with - # unexpected index values will be rejected by the service. - # In order to preserve idempotency, the worker should not alter the - # contents of a report, even if the worker must submit the same - # report multiple times before getting back a response. The worker - # should not submit a subsequent report until the response for the - # previous report had been received from the service. - # Corresponds to the JSON property `reportIndex` + # The source should be split into a set of bundles where the estimated size + # of each is approximately this many bytes. + # Corresponds to the JSON property `desiredBundleSizeBytes` # @return [Fixnum] - attr_accessor :report_index + attr_accessor :desired_bundle_size_bytes - # Position defines a position within a collection of data. The value - # can be either the end position, a key (used with ordered - # collections), a byte offset, or a record index. - # Corresponds to the JSON property `stopPosition` - # @return [Google::Apis::DataflowV1b3::Position] - attr_accessor :stop_position - - # True if the WorkItem was completed (successfully or unsuccessfully). - # Corresponds to the JSON property `completed` - # @return [Boolean] - attr_accessor :completed - alias_method :completed?, :completed - - # A progress measurement of a WorkItem by a worker. - # Corresponds to the JSON property `reportedProgress` - # @return [Google::Apis::DataflowV1b3::ApproximateReportedProgress] - attr_accessor :reported_progress - - # DEPRECATED in favor of DynamicSourceSplit. - # Corresponds to the JSON property `sourceFork` - # @return [Google::Apis::DataflowV1b3::SourceFork] - attr_accessor :source_fork + # DEPRECATED in favor of desired_bundle_size_bytes. + # Corresponds to the JSON property `desiredShardSizeBytes` + # @return [Fixnum] + attr_accessor :desired_shard_size_bytes def initialize(**args) update!(**args) @@ -3250,25 +3489,138 @@ module Google # Update properties of this object def update!(**args) - @counter_updates = args[:counter_updates] if args.key?(:counter_updates) - @work_item_id = args[:work_item_id] if args.key?(:work_item_id) - @metric_updates = args[:metric_updates] if args.key?(:metric_updates) - @errors = args[:errors] if args.key?(:errors) - @dynamic_source_split = args[:dynamic_source_split] if args.key?(:dynamic_source_split) - @source_operation_response = args[:source_operation_response] if args.key?(:source_operation_response) - @progress = args[:progress] if args.key?(:progress) - @requested_lease_duration = args[:requested_lease_duration] if args.key?(:requested_lease_duration) - @report_index = args[:report_index] if args.key?(:report_index) - @stop_position = args[:stop_position] if args.key?(:stop_position) - @completed = args[:completed] if args.key?(:completed) - @reported_progress = args[:reported_progress] if args.key?(:reported_progress) - @source_fork = args[:source_fork] if args.key?(:source_fork) + @desired_bundle_size_bytes = args[:desired_bundle_size_bytes] if args.key?(:desired_bundle_size_bytes) + @desired_shard_size_bytes = args[:desired_shard_size_bytes] if args.key?(:desired_shard_size_bytes) end end - # Description of an interstitial value between transforms in an execution - # stage. - class ComponentSource + # Represents the operation to split a high-level Source specification + # into bundles (parts for parallel processing). + # At a high level, splitting of a source into bundles happens as follows: + # SourceSplitRequest is applied to the source. If it returns + # SOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting happens and the source + # is used "as is". Otherwise, splitting is applied recursively to each + # produced DerivedSource. + # As an optimization, for any Source, if its does_not_need_splitting is + # true, the framework assumes that splitting this source would return + # SOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't initiate a SourceSplitRequest. + # This applies both to the initial source being split and to bundles + # produced from it. + class SourceSplitRequest + include Google::Apis::Core::Hashable + + # Hints for splitting a Source into bundles (parts for parallel + # processing) using SourceSplitRequest. + # Corresponds to the JSON property `options` + # @return [Google::Apis::DataflowV1b3::SourceSplitOptions] + attr_accessor :options + + # A source that records can be read and decoded from. + # Corresponds to the JSON property `source` + # @return [Google::Apis::DataflowV1b3::Source] + attr_accessor :source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @options = args[:options] if args.key?(:options) + @source = args[:source] if args.key?(:source) + end + end + + # The response to a SourceSplitRequest. + class SourceSplitResponse + include Google::Apis::Core::Hashable + + # If outcome is SPLITTING_HAPPENED, then this is a list of bundles + # into which the source was split. Otherwise this field is ignored. + # This list can be empty, which means the source represents an empty input. + # Corresponds to the JSON property `bundles` + # @return [Array] + attr_accessor :bundles + + # Indicates whether splitting happened and produced a list of bundles. + # If this is USE_CURRENT_SOURCE_AS_IS, the current source should + # be processed "as is" without splitting. "bundles" is ignored in this case. + # If this is SPLITTING_HAPPENED, then "bundles" contains a list of + # bundles into which the source was split. + # Corresponds to the JSON property `outcome` + # @return [String] + attr_accessor :outcome + + # DEPRECATED in favor of bundles. + # Corresponds to the JSON property `shards` + # @return [Array] + attr_accessor :shards + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bundles = args[:bundles] if args.key?(:bundles) + @outcome = args[:outcome] if args.key?(:outcome) + @shards = args[:shards] if args.key?(:shards) + end + end + + # DEPRECATED in favor of DerivedSource. + class SourceSplitShard + include Google::Apis::Core::Hashable + + # DEPRECATED + # Corresponds to the JSON property `derivationMode` + # @return [String] + attr_accessor :derivation_mode + + # A source that records can be read and decoded from. + # Corresponds to the JSON property `source` + # @return [Google::Apis::DataflowV1b3::Source] + attr_accessor :source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @derivation_mode = args[:derivation_mode] if args.key?(:derivation_mode) + @source = args[:source] if args.key?(:source) + end + end + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + class SplitInt64 + include Google::Apis::Core::Hashable + + # The high order bits, including the sign: n >> 32. + # Corresponds to the JSON property `highBits` + # @return [Fixnum] + attr_accessor :high_bits + + # The low order bits: n & 0xffffffff. + # Corresponds to the JSON property `lowBits` + # @return [Fixnum] + attr_accessor :low_bits + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @high_bits = args[:high_bits] if args.key?(:high_bits) + @low_bits = args[:low_bits] if args.key?(:low_bits) + end + end + + # Description of an input or output of an execution stage. + class StageSource include Google::Apis::Core::Hashable # Dataflow service generated name for this source. @@ -3276,17 +3628,22 @@ module Google # @return [String] attr_accessor :name - # Human-readable name for this transform; may be user or system generated. - # Corresponds to the JSON property `userName` - # @return [String] - attr_accessor :user_name - # User name for the original user transform or collection with which this # source is most closely associated. # Corresponds to the JSON property `originalTransformOrCollection` # @return [String] attr_accessor :original_transform_or_collection + # Size of the source, if measurable. + # Corresponds to the JSON property `sizeBytes` + # @return [Fixnum] + attr_accessor :size_bytes + + # Human-readable name for this source; may be user or system generated. + # Corresponds to the JSON property `userName` + # @return [String] + attr_accessor :user_name + def initialize(**args) update!(**args) end @@ -3294,8 +3651,858 @@ module Google # Update properties of this object def update!(**args) @name = args[:name] if args.key?(:name) - @user_name = args[:user_name] if args.key?(:user_name) @original_transform_or_collection = args[:original_transform_or_collection] if args.key?(:original_transform_or_collection) + @size_bytes = args[:size_bytes] if args.key?(:size_bytes) + @user_name = args[:user_name] if args.key?(:user_name) + end + end + + # State family configuration. + class StateFamilyConfig + include Google::Apis::Core::Hashable + + # If true, this family corresponds to a read operation. + # Corresponds to the JSON property `isRead` + # @return [Boolean] + attr_accessor :is_read + alias_method :is_read?, :is_read + + # The state family value. + # Corresponds to the JSON property `stateFamily` + # @return [String] + attr_accessor :state_family + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @is_read = args[:is_read] if args.key?(:is_read) + @state_family = args[:state_family] if args.key?(:state_family) + 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` that 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. + # - 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 is 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 + + # Defines a particular step within a Cloud Dataflow job. + # A job consists of multiple steps, each of which performs some + # specific operation as part of the overall job. Data is typically + # passed from one step to another as part of the job. + # Here's an example of a sequence of steps which together implement a + # Map-Reduce job: + # * Read a collection of data from some source, parsing the + # collection's elements. + # * Validate the elements. + # * Apply a user-defined function to map each element to some value + # and extract an element-specific key value. + # * Group elements with the same key into a single element with + # that key, transforming a multiply-keyed collection into a + # uniquely-keyed collection. + # * Write the elements out to some data sink. + # Note that the Cloud Dataflow service may be used to run many different + # types of jobs, not just Map-Reduce. + class Step + include Google::Apis::Core::Hashable + + # The kind of step in the Cloud Dataflow job. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The name that identifies the step. This must be unique for each + # step with respect to all other steps in the Cloud Dataflow job. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Named properties associated with the step. Each kind of + # predefined step has its own required set of properties. + # Must be provided on Create. Only retrieved with JOB_VIEW_ALL. + # 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) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @properties = args[:properties] if args.key?(:properties) + end + end + + # Describes a stream of data, either as input to be processed or as + # output of a streaming Dataflow job. + class StreamLocation + include Google::Apis::Core::Hashable + + # Identifies the location of a custom souce. + # Corresponds to the JSON property `customSourceLocation` + # @return [Google::Apis::DataflowV1b3::CustomSourceLocation] + attr_accessor :custom_source_location + + # Identifies a pubsub location to use for transferring data into or + # out of a streaming Dataflow job. + # Corresponds to the JSON property `pubsubLocation` + # @return [Google::Apis::DataflowV1b3::PubsubLocation] + attr_accessor :pubsub_location + + # Identifies the location of a streaming side input. + # Corresponds to the JSON property `sideInputLocation` + # @return [Google::Apis::DataflowV1b3::StreamingSideInputLocation] + attr_accessor :side_input_location + + # Identifies the location of a streaming computation stage, for + # stage-to-stage communication. + # Corresponds to the JSON property `streamingStageLocation` + # @return [Google::Apis::DataflowV1b3::StreamingStageLocation] + attr_accessor :streaming_stage_location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @custom_source_location = args[:custom_source_location] if args.key?(:custom_source_location) + @pubsub_location = args[:pubsub_location] if args.key?(:pubsub_location) + @side_input_location = args[:side_input_location] if args.key?(:side_input_location) + @streaming_stage_location = args[:streaming_stage_location] if args.key?(:streaming_stage_location) + end + end + + # Configuration information for a single streaming computation. + class StreamingComputationConfig + include Google::Apis::Core::Hashable + + # Unique identifier for this computation. + # Corresponds to the JSON property `computationId` + # @return [String] + attr_accessor :computation_id + + # Instructions that comprise the computation. + # Corresponds to the JSON property `instructions` + # @return [Array] + attr_accessor :instructions + + # Stage name of this computation. + # Corresponds to the JSON property `stageName` + # @return [String] + attr_accessor :stage_name + + # System defined name for this computation. + # Corresponds to the JSON property `systemName` + # @return [String] + attr_accessor :system_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @computation_id = args[:computation_id] if args.key?(:computation_id) + @instructions = args[:instructions] if args.key?(:instructions) + @stage_name = args[:stage_name] if args.key?(:stage_name) + @system_name = args[:system_name] if args.key?(:system_name) + end + end + + # Describes full or partial data disk assignment information of the computation + # ranges. + class StreamingComputationRanges + include Google::Apis::Core::Hashable + + # The ID of the computation. + # Corresponds to the JSON property `computationId` + # @return [String] + attr_accessor :computation_id + + # Data disk assignments for ranges from this computation. + # Corresponds to the JSON property `rangeAssignments` + # @return [Array] + attr_accessor :range_assignments + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @computation_id = args[:computation_id] if args.key?(:computation_id) + @range_assignments = args[:range_assignments] if args.key?(:range_assignments) + end + end + + # A task which describes what action should be performed for the specified + # streaming computation ranges. + class StreamingComputationTask + include Google::Apis::Core::Hashable + + # Contains ranges of a streaming computation this task should apply to. + # Corresponds to the JSON property `computationRanges` + # @return [Array] + attr_accessor :computation_ranges + + # Describes the set of data disks this task should apply to. + # Corresponds to the JSON property `dataDisks` + # @return [Array] + attr_accessor :data_disks + + # A type of streaming computation task. + # Corresponds to the JSON property `taskType` + # @return [String] + attr_accessor :task_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @computation_ranges = args[:computation_ranges] if args.key?(:computation_ranges) + @data_disks = args[:data_disks] if args.key?(:data_disks) + @task_type = args[:task_type] if args.key?(:task_type) + end + end + + # A task that carries configuration information for streaming computations. + class StreamingConfigTask + include Google::Apis::Core::Hashable + + # Set of computation configuration information. + # Corresponds to the JSON property `streamingComputationConfigs` + # @return [Array] + attr_accessor :streaming_computation_configs + + # Map from user step names to state families. + # Corresponds to the JSON property `userStepToStateFamilyNameMap` + # @return [Hash] + attr_accessor :user_step_to_state_family_name_map + + # If present, the worker must use this endpoint to communicate with Windmill + # Service dispatchers, otherwise the worker must continue to use whatever + # endpoint it had been using. + # Corresponds to the JSON property `windmillServiceEndpoint` + # @return [String] + attr_accessor :windmill_service_endpoint + + # If present, the worker must use this port to communicate with Windmill + # Service dispatchers. Only applicable when windmill_service_endpoint is + # specified. + # Corresponds to the JSON property `windmillServicePort` + # @return [Fixnum] + attr_accessor :windmill_service_port + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @streaming_computation_configs = args[:streaming_computation_configs] if args.key?(:streaming_computation_configs) + @user_step_to_state_family_name_map = args[:user_step_to_state_family_name_map] if args.key?(:user_step_to_state_family_name_map) + @windmill_service_endpoint = args[:windmill_service_endpoint] if args.key?(:windmill_service_endpoint) + @windmill_service_port = args[:windmill_service_port] if args.key?(:windmill_service_port) + end + end + + # A task which initializes part of a streaming Dataflow job. + class StreamingSetupTask + include Google::Apis::Core::Hashable + + # The user has requested drain. + # Corresponds to the JSON property `drain` + # @return [Boolean] + attr_accessor :drain + alias_method :drain?, :drain + + # The TCP port on which the worker should listen for messages from + # other streaming computation workers. + # Corresponds to the JSON property `receiveWorkPort` + # @return [Fixnum] + attr_accessor :receive_work_port + + # Global topology of the streaming Dataflow job, including all + # computations and their sharded locations. + # Corresponds to the JSON property `streamingComputationTopology` + # @return [Google::Apis::DataflowV1b3::TopologyConfig] + attr_accessor :streaming_computation_topology + + # The TCP port used by the worker to communicate with the Dataflow + # worker harness. + # Corresponds to the JSON property `workerHarnessPort` + # @return [Fixnum] + attr_accessor :worker_harness_port + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @drain = args[:drain] if args.key?(:drain) + @receive_work_port = args[:receive_work_port] if args.key?(:receive_work_port) + @streaming_computation_topology = args[:streaming_computation_topology] if args.key?(:streaming_computation_topology) + @worker_harness_port = args[:worker_harness_port] if args.key?(:worker_harness_port) + end + end + + # Identifies the location of a streaming side input. + class StreamingSideInputLocation + include Google::Apis::Core::Hashable + + # Identifies the state family where this side input is stored. + # Corresponds to the JSON property `stateFamily` + # @return [String] + attr_accessor :state_family + + # Identifies the particular side input within the streaming Dataflow job. + # Corresponds to the JSON property `tag` + # @return [String] + attr_accessor :tag + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @state_family = args[:state_family] if args.key?(:state_family) + @tag = args[:tag] if args.key?(:tag) + end + end + + # Identifies the location of a streaming computation stage, for + # stage-to-stage communication. + class StreamingStageLocation + include Google::Apis::Core::Hashable + + # Identifies the particular stream within the streaming Dataflow + # job. + # Corresponds to the JSON property `streamId` + # @return [String] + attr_accessor :stream_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @stream_id = args[:stream_id] if args.key?(:stream_id) + end + end + + # A metric value representing a list of strings. + class StringList + include Google::Apis::Core::Hashable + + # Elements of the list. + # Corresponds to the JSON property `elements` + # @return [Array] + attr_accessor :elements + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @elements = args[:elements] if args.key?(:elements) + end + end + + # A rich message format, including a human readable string, a key for + # identifying the message, and structured data associated with the message for + # programmatic consumption. + class StructuredMessage + include Google::Apis::Core::Hashable + + # Idenfier for this message type. Used by external systems to + # internationalize or personalize message. + # Corresponds to the JSON property `messageKey` + # @return [String] + attr_accessor :message_key + + # Human-readable version of message. + # Corresponds to the JSON property `messageText` + # @return [String] + attr_accessor :message_text + + # The structured data associated with this message. + # Corresponds to the JSON property `parameters` + # @return [Array] + attr_accessor :parameters + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @message_key = args[:message_key] if args.key?(:message_key) + @message_text = args[:message_text] if args.key?(:message_text) + @parameters = args[:parameters] if args.key?(:parameters) + end + end + + # Taskrunner configuration settings. + class TaskRunnerSettings + include Google::Apis::Core::Hashable + + # Whether to also send taskrunner log info to stderr. + # Corresponds to the JSON property `alsologtostderr` + # @return [Boolean] + attr_accessor :alsologtostderr + alias_method :alsologtostderr?, :alsologtostderr + + # The location on the worker for task-specific subdirectories. + # Corresponds to the JSON property `baseTaskDir` + # @return [String] + attr_accessor :base_task_dir + + # The base URL for the taskrunner to use when accessing Google Cloud APIs. + # When workers access Google Cloud APIs, they logically do so via + # relative URLs. If this field is specified, it supplies the base + # URL to use for resolving these relative URLs. The normative + # algorithm used is defined by RFC 1808, "Relative Uniform Resource + # Locators". + # If not specified, the default value is "http://www.googleapis.com/" + # Corresponds to the JSON property `baseUrl` + # @return [String] + attr_accessor :base_url + + # The file to store preprocessing commands in. + # Corresponds to the JSON property `commandlinesFileName` + # @return [String] + attr_accessor :commandlines_file_name + + # Whether to continue taskrunner if an exception is hit. + # Corresponds to the JSON property `continueOnException` + # @return [Boolean] + attr_accessor :continue_on_exception + alias_method :continue_on_exception?, :continue_on_exception + + # The API version of endpoint, e.g. "v1b3" + # Corresponds to the JSON property `dataflowApiVersion` + # @return [String] + attr_accessor :dataflow_api_version + + # The command to launch the worker harness. + # Corresponds to the JSON property `harnessCommand` + # @return [String] + attr_accessor :harness_command + + # The suggested backend language. + # Corresponds to the JSON property `languageHint` + # @return [String] + attr_accessor :language_hint + + # The directory on the VM to store logs. + # Corresponds to the JSON property `logDir` + # @return [String] + attr_accessor :log_dir + + # Whether to send taskrunner log info to Google Compute Engine VM serial + # console. + # Corresponds to the JSON property `logToSerialconsole` + # @return [Boolean] + attr_accessor :log_to_serialconsole + alias_method :log_to_serialconsole?, :log_to_serialconsole + + # Indicates where to put logs. If this is not specified, the logs + # will not be uploaded. + # The supported resource type is: + # Google Cloud Storage: + # storage.googleapis.com/`bucket`/`object` + # bucket.storage.googleapis.com/`object` + # Corresponds to the JSON property `logUploadLocation` + # @return [String] + attr_accessor :log_upload_location + + # The OAuth2 scopes to be requested by the taskrunner in order to + # access the Cloud Dataflow API. + # Corresponds to the JSON property `oauthScopes` + # @return [Array] + attr_accessor :oauth_scopes + + # Provides data to pass through to the worker harness. + # Corresponds to the JSON property `parallelWorkerSettings` + # @return [Google::Apis::DataflowV1b3::WorkerSettings] + attr_accessor :parallel_worker_settings + + # The streaming worker main class name. + # Corresponds to the JSON property `streamingWorkerMainClass` + # @return [String] + attr_accessor :streaming_worker_main_class + + # The UNIX group ID on the worker VM to use for tasks launched by + # taskrunner; e.g. "wheel". + # Corresponds to the JSON property `taskGroup` + # @return [String] + attr_accessor :task_group + + # The UNIX user ID on the worker VM to use for tasks launched by + # taskrunner; e.g. "root". + # Corresponds to the JSON property `taskUser` + # @return [String] + attr_accessor :task_user + + # The prefix of the resources the taskrunner should use for + # temporary storage. + # The supported resource type is: + # Google Cloud Storage: + # storage.googleapis.com/`bucket`/`object` + # bucket.storage.googleapis.com/`object` + # Corresponds to the JSON property `tempStoragePrefix` + # @return [String] + attr_accessor :temp_storage_prefix + + # The ID string of the VM. + # Corresponds to the JSON property `vmId` + # @return [String] + attr_accessor :vm_id + + # The file to store the workflow in. + # Corresponds to the JSON property `workflowFileName` + # @return [String] + attr_accessor :workflow_file_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alsologtostderr = args[:alsologtostderr] if args.key?(:alsologtostderr) + @base_task_dir = args[:base_task_dir] if args.key?(:base_task_dir) + @base_url = args[:base_url] if args.key?(:base_url) + @commandlines_file_name = args[:commandlines_file_name] if args.key?(:commandlines_file_name) + @continue_on_exception = args[:continue_on_exception] if args.key?(:continue_on_exception) + @dataflow_api_version = args[:dataflow_api_version] if args.key?(:dataflow_api_version) + @harness_command = args[:harness_command] if args.key?(:harness_command) + @language_hint = args[:language_hint] if args.key?(:language_hint) + @log_dir = args[:log_dir] if args.key?(:log_dir) + @log_to_serialconsole = args[:log_to_serialconsole] if args.key?(:log_to_serialconsole) + @log_upload_location = args[:log_upload_location] if args.key?(:log_upload_location) + @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes) + @parallel_worker_settings = args[:parallel_worker_settings] if args.key?(:parallel_worker_settings) + @streaming_worker_main_class = args[:streaming_worker_main_class] if args.key?(:streaming_worker_main_class) + @task_group = args[:task_group] if args.key?(:task_group) + @task_user = args[:task_user] if args.key?(:task_user) + @temp_storage_prefix = args[:temp_storage_prefix] if args.key?(:temp_storage_prefix) + @vm_id = args[:vm_id] if args.key?(:vm_id) + @workflow_file_name = args[:workflow_file_name] if args.key?(:workflow_file_name) + end + end + + # Metadata describing a template. + class TemplateMetadata + include Google::Apis::Core::Hashable + + # Optional. A description of the template. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Required. The name of the template. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The parameters for the template. + # Corresponds to the JSON property `parameters` + # @return [Array] + attr_accessor :parameters + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @name = args[:name] if args.key?(:name) + @parameters = args[:parameters] if args.key?(:parameters) + end + end + + # Global topology of the streaming Dataflow job, including all + # computations and their sharded locations. + class TopologyConfig + include Google::Apis::Core::Hashable + + # The computations associated with a streaming Dataflow job. + # Corresponds to the JSON property `computations` + # @return [Array] + attr_accessor :computations + + # The disks assigned to a streaming Dataflow job. + # Corresponds to the JSON property `dataDiskAssignments` + # @return [Array] + attr_accessor :data_disk_assignments + + # The size (in bits) of keys that will be assigned to source messages. + # Corresponds to the JSON property `forwardingKeyBits` + # @return [Fixnum] + attr_accessor :forwarding_key_bits + + # Version number for persistent state. + # Corresponds to the JSON property `persistentStateVersion` + # @return [Fixnum] + attr_accessor :persistent_state_version + + # Maps user stage names to stable computation names. + # Corresponds to the JSON property `userStageToComputationNameMap` + # @return [Hash] + attr_accessor :user_stage_to_computation_name_map + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @computations = args[:computations] if args.key?(:computations) + @data_disk_assignments = args[:data_disk_assignments] if args.key?(:data_disk_assignments) + @forwarding_key_bits = args[:forwarding_key_bits] if args.key?(:forwarding_key_bits) + @persistent_state_version = args[:persistent_state_version] if args.key?(:persistent_state_version) + @user_stage_to_computation_name_map = args[:user_stage_to_computation_name_map] if args.key?(:user_stage_to_computation_name_map) + end + end + + # Description of the type, names/ids, and input/outputs for a transform. + class TransformSummary + include Google::Apis::Core::Hashable + + # Transform-specific display data. + # Corresponds to the JSON property `displayData` + # @return [Array] + attr_accessor :display_data + + # SDK generated id of this transform instance. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # User names for all collection inputs to this transform. + # Corresponds to the JSON property `inputCollectionName` + # @return [Array] + attr_accessor :input_collection_name + + # Type of transform. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # User provided name for this transform instance. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # User names for all collection outputs to this transform. + # Corresponds to the JSON property `outputCollectionName` + # @return [Array] + attr_accessor :output_collection_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @display_data = args[:display_data] if args.key?(:display_data) + @id = args[:id] if args.key?(:id) + @input_collection_name = args[:input_collection_name] if args.key?(:input_collection_name) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @output_collection_name = args[:output_collection_name] if args.key?(:output_collection_name) + end + end + + # WorkItem represents basic information about a WorkItem to be executed + # in the cloud. + class WorkItem + include Google::Apis::Core::Hashable + + # Work item-specific configuration as an opaque blob. + # Corresponds to the JSON property `configuration` + # @return [String] + attr_accessor :configuration + + # Identifies this WorkItem. + # Corresponds to the JSON property `id` + # @return [Fixnum] + attr_accessor :id + + # The initial index to use when reporting the status of the WorkItem. + # Corresponds to the JSON property `initialReportIndex` + # @return [Fixnum] + attr_accessor :initial_report_index + + # Identifies the workflow job this WorkItem belongs to. + # Corresponds to the JSON property `jobId` + # @return [String] + attr_accessor :job_id + + # Time when the lease on this Work will expire. + # Corresponds to the JSON property `leaseExpireTime` + # @return [String] + attr_accessor :lease_expire_time + + # MapTask consists of an ordered set of instructions, each of which + # describes one particular low-level operation for the worker to + # perform in order to accomplish the MapTask's WorkItem. + # Each instruction must appear in the list before any instructions which + # depends on its output. + # Corresponds to the JSON property `mapTask` + # @return [Google::Apis::DataflowV1b3::MapTask] + attr_accessor :map_task + + # Any required packages that need to be fetched in order to execute + # this WorkItem. + # Corresponds to the JSON property `packages` + # @return [Array] + attr_accessor :packages + + # Identifies the cloud project this WorkItem belongs to. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # Recommended reporting interval. + # Corresponds to the JSON property `reportStatusInterval` + # @return [String] + attr_accessor :report_status_interval + + # Describes a particular function to invoke. + # Corresponds to the JSON property `seqMapTask` + # @return [Google::Apis::DataflowV1b3::SeqMapTask] + attr_accessor :seq_map_task + + # A task which consists of a shell command for the worker to execute. + # Corresponds to the JSON property `shellTask` + # @return [Google::Apis::DataflowV1b3::ShellTask] + attr_accessor :shell_task + + # A work item that represents the different operations that can be + # performed on a user-defined Source specification. + # Corresponds to the JSON property `sourceOperationTask` + # @return [Google::Apis::DataflowV1b3::SourceOperationRequest] + attr_accessor :source_operation_task + + # A task which describes what action should be performed for the specified + # streaming computation ranges. + # Corresponds to the JSON property `streamingComputationTask` + # @return [Google::Apis::DataflowV1b3::StreamingComputationTask] + attr_accessor :streaming_computation_task + + # A task that carries configuration information for streaming computations. + # Corresponds to the JSON property `streamingConfigTask` + # @return [Google::Apis::DataflowV1b3::StreamingConfigTask] + attr_accessor :streaming_config_task + + # A task which initializes part of a streaming Dataflow job. + # Corresponds to the JSON property `streamingSetupTask` + # @return [Google::Apis::DataflowV1b3::StreamingSetupTask] + attr_accessor :streaming_setup_task + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @configuration = args[:configuration] if args.key?(:configuration) + @id = args[:id] if args.key?(:id) + @initial_report_index = args[:initial_report_index] if args.key?(:initial_report_index) + @job_id = args[:job_id] if args.key?(:job_id) + @lease_expire_time = args[:lease_expire_time] if args.key?(:lease_expire_time) + @map_task = args[:map_task] if args.key?(:map_task) + @packages = args[:packages] if args.key?(:packages) + @project_id = args[:project_id] if args.key?(:project_id) + @report_status_interval = args[:report_status_interval] if args.key?(:report_status_interval) + @seq_map_task = args[:seq_map_task] if args.key?(:seq_map_task) + @shell_task = args[:shell_task] if args.key?(:shell_task) + @source_operation_task = args[:source_operation_task] if args.key?(:source_operation_task) + @streaming_computation_task = args[:streaming_computation_task] if args.key?(:streaming_computation_task) + @streaming_config_task = args[:streaming_config_task] if args.key?(:streaming_config_task) + @streaming_setup_task = args[:streaming_setup_task] if args.key?(:streaming_setup_task) end end @@ -3304,28 +4511,6 @@ module Google class WorkItemServiceState include Google::Apis::Core::Hashable - # Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest. - # Corresponds to the JSON property `suggestedStopPoint` - # @return [Google::Apis::DataflowV1b3::ApproximateProgress] - attr_accessor :suggested_stop_point - - # A suggestion by the service to the worker to dynamically split the WorkItem. - # Corresponds to the JSON property `splitRequest` - # @return [Google::Apis::DataflowV1b3::ApproximateSplitRequest] - attr_accessor :split_request - - # Position defines a position within a collection of data. The value - # can be either the end position, a key (used with ordered - # collections), a byte offset, or a record index. - # Corresponds to the JSON property `suggestedStopPosition` - # @return [Google::Apis::DataflowV1b3::Position] - attr_accessor :suggested_stop_position - - # New recommended reporting interval. - # Corresponds to the JSON property `reportStatusInterval` - # @return [String] - attr_accessor :report_status_interval - # Other data returned by the service, specific to the particular # worker harness. # Corresponds to the JSON property `harnessData` @@ -3354,47 +4539,271 @@ module Google # @return [Fixnum] attr_accessor :next_report_index + # New recommended reporting interval. + # Corresponds to the JSON property `reportStatusInterval` + # @return [String] + attr_accessor :report_status_interval + + # A suggestion by the service to the worker to dynamically split the WorkItem. + # Corresponds to the JSON property `splitRequest` + # @return [Google::Apis::DataflowV1b3::ApproximateSplitRequest] + attr_accessor :split_request + + # Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest. + # Corresponds to the JSON property `suggestedStopPoint` + # @return [Google::Apis::DataflowV1b3::ApproximateProgress] + attr_accessor :suggested_stop_point + + # Position defines a position within a collection of data. The value + # can be either the end position, a key (used with ordered + # collections), a byte offset, or a record index. + # Corresponds to the JSON property `suggestedStopPosition` + # @return [Google::Apis::DataflowV1b3::Position] + attr_accessor :suggested_stop_position + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @suggested_stop_point = args[:suggested_stop_point] if args.key?(:suggested_stop_point) - @split_request = args[:split_request] if args.key?(:split_request) - @suggested_stop_position = args[:suggested_stop_position] if args.key?(:suggested_stop_position) - @report_status_interval = args[:report_status_interval] if args.key?(:report_status_interval) @harness_data = args[:harness_data] if args.key?(:harness_data) @lease_expire_time = args[:lease_expire_time] if args.key?(:lease_expire_time) @metric_short_id = args[:metric_short_id] if args.key?(:metric_short_id) @next_report_index = args[:next_report_index] if args.key?(:next_report_index) + @report_status_interval = args[:report_status_interval] if args.key?(:report_status_interval) + @split_request = args[:split_request] if args.key?(:split_request) + @suggested_stop_point = args[:suggested_stop_point] if args.key?(:suggested_stop_point) + @suggested_stop_position = args[:suggested_stop_position] if args.key?(:suggested_stop_position) end end - # Identifies a metric, by describing the source which generated the - # metric. - class MetricStructuredName + # Conveys a worker's progress through the work described by a WorkItem. + class WorkItemStatus include Google::Apis::Core::Hashable - # Zero or more labeled fields which identify the part of the job this - # metric is associated with, such as the name of a step or collection. - # For example, built-in counters associated with steps will have - # context['step'] = . Counters associated with PCollections - # in the SDK will have context['pcollection'] = . - # Corresponds to the JSON property `context` + # True if the WorkItem was completed (successfully or unsuccessfully). + # Corresponds to the JSON property `completed` + # @return [Boolean] + attr_accessor :completed + alias_method :completed?, :completed + + # Worker output counters for this WorkItem. + # Corresponds to the JSON property `counterUpdates` + # @return [Array] + attr_accessor :counter_updates + + # When a task splits using WorkItemStatus.dynamic_source_split, this + # message describes the two parts of the split relative to the + # description of the current task's input. + # Corresponds to the JSON property `dynamicSourceSplit` + # @return [Google::Apis::DataflowV1b3::DynamicSourceSplit] + attr_accessor :dynamic_source_split + + # Specifies errors which occurred during processing. If errors are + # provided, and completed = true, then the WorkItem is considered + # to have failed. + # Corresponds to the JSON property `errors` + # @return [Array] + attr_accessor :errors + + # DEPRECATED in favor of counter_updates. + # Corresponds to the JSON property `metricUpdates` + # @return [Array] + attr_accessor :metric_updates + + # Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest. + # Corresponds to the JSON property `progress` + # @return [Google::Apis::DataflowV1b3::ApproximateProgress] + attr_accessor :progress + + # The report index. When a WorkItem is leased, the lease will + # contain an initial report index. When a WorkItem's status is + # reported to the system, the report should be sent with + # that report index, and the response will contain the index the + # worker should use for the next report. Reports received with + # unexpected index values will be rejected by the service. + # In order to preserve idempotency, the worker should not alter the + # contents of a report, even if the worker must submit the same + # report multiple times before getting back a response. The worker + # should not submit a subsequent report until the response for the + # previous report had been received from the service. + # Corresponds to the JSON property `reportIndex` + # @return [Fixnum] + attr_accessor :report_index + + # A progress measurement of a WorkItem by a worker. + # Corresponds to the JSON property `reportedProgress` + # @return [Google::Apis::DataflowV1b3::ApproximateReportedProgress] + attr_accessor :reported_progress + + # Amount of time the worker requests for its lease. + # Corresponds to the JSON property `requestedLeaseDuration` + # @return [String] + attr_accessor :requested_lease_duration + + # DEPRECATED in favor of DynamicSourceSplit. + # Corresponds to the JSON property `sourceFork` + # @return [Google::Apis::DataflowV1b3::SourceFork] + attr_accessor :source_fork + + # The result of a SourceOperationRequest, specified in + # ReportWorkItemStatusRequest.source_operation when the work item + # is completed. + # Corresponds to the JSON property `sourceOperationResponse` + # @return [Google::Apis::DataflowV1b3::SourceOperationResponse] + attr_accessor :source_operation_response + + # Position defines a position within a collection of data. The value + # can be either the end position, a key (used with ordered + # collections), a byte offset, or a record index. + # Corresponds to the JSON property `stopPosition` + # @return [Google::Apis::DataflowV1b3::Position] + attr_accessor :stop_position + + # Identifies the WorkItem. + # Corresponds to the JSON property `workItemId` + # @return [String] + attr_accessor :work_item_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @completed = args[:completed] if args.key?(:completed) + @counter_updates = args[:counter_updates] if args.key?(:counter_updates) + @dynamic_source_split = args[:dynamic_source_split] if args.key?(:dynamic_source_split) + @errors = args[:errors] if args.key?(:errors) + @metric_updates = args[:metric_updates] if args.key?(:metric_updates) + @progress = args[:progress] if args.key?(:progress) + @report_index = args[:report_index] if args.key?(:report_index) + @reported_progress = args[:reported_progress] if args.key?(:reported_progress) + @requested_lease_duration = args[:requested_lease_duration] if args.key?(:requested_lease_duration) + @source_fork = args[:source_fork] if args.key?(:source_fork) + @source_operation_response = args[:source_operation_response] if args.key?(:source_operation_response) + @stop_position = args[:stop_position] if args.key?(:stop_position) + @work_item_id = args[:work_item_id] if args.key?(:work_item_id) + end + end + + # WorkerHealthReport contains information about the health of a worker. + # The VM should be identified by the labels attached to the WorkerMessage that + # this health ping belongs to. + class WorkerHealthReport + include Google::Apis::Core::Hashable + + # The pods running on the worker. See: + # http://kubernetes.io/v1.1/docs/api-reference/v1/definitions.html#_v1_pod + # This field is used by the worker to send the status of the indvidual + # containers running on each worker. + # Corresponds to the JSON property `pods` + # @return [Array>] + attr_accessor :pods + + # The interval at which the worker is sending health reports. + # The default value of 0 should be interpreted as the field is not being + # explicitly set by the worker. + # Corresponds to the JSON property `reportInterval` + # @return [String] + attr_accessor :report_interval + + # Whether the VM is healthy. + # Corresponds to the JSON property `vmIsHealthy` + # @return [Boolean] + attr_accessor :vm_is_healthy + alias_method :vm_is_healthy?, :vm_is_healthy + + # The time the VM was booted. + # Corresponds to the JSON property `vmStartupTime` + # @return [String] + attr_accessor :vm_startup_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @pods = args[:pods] if args.key?(:pods) + @report_interval = args[:report_interval] if args.key?(:report_interval) + @vm_is_healthy = args[:vm_is_healthy] if args.key?(:vm_is_healthy) + @vm_startup_time = args[:vm_startup_time] if args.key?(:vm_startup_time) + end + end + + # WorkerHealthReportResponse contains information returned to the worker + # in response to a health ping. + class WorkerHealthReportResponse + include Google::Apis::Core::Hashable + + # A positive value indicates the worker should change its reporting interval + # to the specified value. + # The default value of zero means no change in report rate is requested by + # the server. + # Corresponds to the JSON property `reportInterval` + # @return [String] + attr_accessor :report_interval + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @report_interval = args[:report_interval] if args.key?(:report_interval) + end + end + + # WorkerMessage provides information to the backend about a worker. + class WorkerMessage + include Google::Apis::Core::Hashable + + # Labels are used to group WorkerMessages. + # For example, a worker_message about a particular container + # might have the labels: + # ` "JOB_ID": "2015-04-22", + # "WORKER_ID": "wordcount-vm-2015…" + # "CONTAINER_TYPE": "worker", + # "CONTAINER_ID": "ac1234def"` + # Label tags typically correspond to Label enum values. However, for ease + # of development other strings can be used as tags. LABEL_UNSPECIFIED should + # not be used here. + # Corresponds to the JSON property `labels` # @return [Hash] - attr_accessor :context + attr_accessor :labels - # Worker-defined metric name. - # Corresponds to the JSON property `name` + # The timestamp of the worker_message. + # Corresponds to the JSON property `time` # @return [String] - attr_accessor :name + attr_accessor :time - # Origin (namespace) of metric name. May be blank for user-define metrics; - # will be "dataflow" for metrics defined by the Dataflow service or SDK. - # Corresponds to the JSON property `origin` - # @return [String] - attr_accessor :origin + # WorkerHealthReport contains information about the health of a worker. + # The VM should be identified by the labels attached to the WorkerMessage that + # this health ping belongs to. + # Corresponds to the JSON property `workerHealthReport` + # @return [Google::Apis::DataflowV1b3::WorkerHealthReport] + attr_accessor :worker_health_report + + # A message code is used to report status and error messages to the service. + # The message codes are intended to be machine readable. The service will + # take care of translating these into user understandable messages if + # necessary. + # Example use cases: + # 1. Worker processes reporting successful startup. + # 2. Worker processes reporting specific errors (e.g. package staging + # failure). + # Corresponds to the JSON property `workerMessageCode` + # @return [Google::Apis::DataflowV1b3::WorkerMessageCode] + attr_accessor :worker_message_code + + # Worker metrics exported from workers. This contains resource utilization + # metrics accumulated from a variety of sources. For more information, see + # go/df-resource-signals. + # Corresponds to the JSON property `workerMetrics` + # @return [Google::Apis::DataflowV1b3::ResourceUtilizationReport] + attr_accessor :worker_metrics def initialize(**args) update!(**args) @@ -3402,201 +4811,11 @@ module Google # Update properties of this object def update!(**args) - @context = args[:context] if args.key?(:context) - @name = args[:name] if args.key?(:name) - @origin = args[:origin] if args.key?(:origin) - end - end - - # Information about an output of a SeqMapTask. - class SeqMapTaskOutputInfo - include Google::Apis::Core::Hashable - - # The id of the TupleTag the user code will tag the output value by. - # Corresponds to the JSON property `tag` - # @return [String] - attr_accessor :tag - - # A sink that records can be encoded and written to. - # Corresponds to the JSON property `sink` - # @return [Google::Apis::DataflowV1b3::Sink] - attr_accessor :sink - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @tag = args[:tag] if args.key?(:tag) - @sink = args[:sink] if args.key?(:sink) - end - end - - # Contains information about how a particular - # google.dataflow.v1beta3.Step will be executed. - class JobExecutionStageInfo - include Google::Apis::Core::Hashable - - # The steps associated with the execution stage. - # Note that stages may have several steps, and that a given step - # might be run by more than one stage. - # Corresponds to the JSON property `stepName` - # @return [Array] - attr_accessor :step_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @step_name = args[:step_name] if args.key?(:step_name) - end - end - - # Location information for a specific key-range of a sharded computation. - # Currently we only support UTF-8 character splits to simplify encoding into - # JSON. - class KeyRangeLocation - include Google::Apis::Core::Hashable - - # The physical location of this range assignment to be used for - # streaming computation cross-worker message delivery. - # Corresponds to the JSON property `deliveryEndpoint` - # @return [String] - attr_accessor :delivery_endpoint - - # The name of the data disk where data for this range is stored. - # This name is local to the Google Cloud Platform project and uniquely - # identifies the disk within that project, for example - # "myproject-1014-104817-4c2-harness-0-disk-1". - # Corresponds to the JSON property `dataDisk` - # @return [String] - attr_accessor :data_disk - - # The start (inclusive) of the key range. - # Corresponds to the JSON property `start` - # @return [String] - attr_accessor :start - - # The end (exclusive) of the key range. - # Corresponds to the JSON property `end` - # @return [String] - attr_accessor :end - - # DEPRECATED. The location of the persistent state for this range, as a - # persistent directory in the worker local filesystem. - # Corresponds to the JSON property `deprecatedPersistentDirectory` - # @return [String] - attr_accessor :deprecated_persistent_directory - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @delivery_endpoint = args[:delivery_endpoint] if args.key?(:delivery_endpoint) - @data_disk = args[:data_disk] if args.key?(:data_disk) - @start = args[:start] if args.key?(:start) - @end = args[:end] if args.key?(:end) - @deprecated_persistent_directory = args[:deprecated_persistent_directory] if args.key?(:deprecated_persistent_directory) - end - end - - # A request to compute the SourceMetadata of a Source. - class SourceGetMetadataRequest - include Google::Apis::Core::Hashable - - # A source that records can be read and decoded from. - # Corresponds to the JSON property `source` - # @return [Google::Apis::DataflowV1b3::Source] - attr_accessor :source - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @source = args[:source] if args.key?(:source) - end - end - - # Describes a particular function to invoke. - class SeqMapTask - include Google::Apis::Core::Hashable - - # The user-provided name of the SeqDo operation. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Information about each of the outputs. - # Corresponds to the JSON property `outputInfos` - # @return [Array] - attr_accessor :output_infos - - # Information about each of the inputs. - # Corresponds to the JSON property `inputs` - # @return [Array] - attr_accessor :inputs - - # System-defined name of the stage containing the SeqDo operation. - # Unique across the workflow. - # Corresponds to the JSON property `stageName` - # @return [String] - attr_accessor :stage_name - - # System-defined name of the SeqDo operation. - # Unique across the workflow. - # Corresponds to the JSON property `systemName` - # @return [String] - attr_accessor :system_name - - # The user function to invoke. - # Corresponds to the JSON property `userFn` - # @return [Hash] - attr_accessor :user_fn - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @output_infos = args[:output_infos] if args.key?(:output_infos) - @inputs = args[:inputs] if args.key?(:inputs) - @stage_name = args[:stage_name] if args.key?(:stage_name) - @system_name = args[:system_name] if args.key?(:system_name) - @user_fn = args[:user_fn] if args.key?(:user_fn) - end - end - - # Basic metadata about a counter. - class NameAndKind - include Google::Apis::Core::Hashable - - # Name of the counter. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Counter aggregation kind. - # 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) - @name = args[:name] if args.key?(:name) - @kind = args[:kind] if args.key?(:kind) + @labels = args[:labels] if args.key?(:labels) + @time = args[:time] if args.key?(:time) + @worker_health_report = args[:worker_health_report] if args.key?(:worker_health_report) + @worker_message_code = args[:worker_message_code] if args.key?(:worker_message_code) + @worker_metrics = args[:worker_metrics] if args.key?(:worker_metrics) end end @@ -3611,6 +4830,19 @@ module Google class WorkerMessageCode include Google::Apis::Core::Hashable + # The code is a string intended for consumption by a machine that identifies + # the type of message being sent. + # Examples: + # 1. "HARNESS_STARTED" might be used to indicate the worker harness has + # started. + # 2. "GCS_DOWNLOAD_ERROR" might be used to indicate an error downloading + # a GCS file as part of the boot process of one of the worker containers. + # This is a string and not an enum to make it easy to add new codes without + # waiting for an API change. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + # Parameters contains specific information about the code. # This is a struct to allow parameters of different types. # Examples: @@ -3631,250 +4863,32 @@ module Google # @return [Hash] attr_accessor :parameters - # The code is a string intended for consumption by a machine that identifies - # the type of message being sent. - # Examples: - # 1. "HARNESS_STARTED" might be used to indicate the worker harness has - # started. - # 2. "GCS_DOWNLOAD_ERROR" might be used to indicate an error downloading - # a GCS file as part of the boot process of one of the worker containers. - # This is a string and not an enum to make it easy to add new codes without - # waiting for an API change. - # Corresponds to the JSON property `code` - # @return [String] - attr_accessor :code - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @parameters = args[:parameters] if args.key?(:parameters) @code = args[:code] if args.key?(:code) - end - end - - # Identifies the location of a custom souce. - class CustomSourceLocation - include Google::Apis::Core::Hashable - - # Whether this source is stateful. - # Corresponds to the JSON property `stateful` - # @return [Boolean] - attr_accessor :stateful - alias_method :stateful?, :stateful - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @stateful = args[:stateful] if args.key?(:stateful) - end - end - - # MapTask consists of an ordered set of instructions, each of which - # describes one particular low-level operation for the worker to - # perform in order to accomplish the MapTask's WorkItem. - # Each instruction must appear in the list before any instructions which - # depends on its output. - class MapTask - include Google::Apis::Core::Hashable - - # System-defined name of the stage containing this MapTask. - # Unique across the workflow. - # Corresponds to the JSON property `stageName` - # @return [String] - attr_accessor :stage_name - - # System-defined name of this MapTask. - # Unique across the workflow. - # Corresponds to the JSON property `systemName` - # @return [String] - attr_accessor :system_name - - # The instructions in the MapTask. - # Corresponds to the JSON property `instructions` - # @return [Array] - attr_accessor :instructions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @stage_name = args[:stage_name] if args.key?(:stage_name) - @system_name = args[:system_name] if args.key?(:system_name) - @instructions = args[:instructions] if args.key?(:instructions) - end - end - - # A representation of a floating point mean metric contribution. - class FloatingPointMean - include Google::Apis::Core::Hashable - - # A representation of an int64, n, that is immune to precision loss when - # encoded in JSON. - # Corresponds to the JSON property `count` - # @return [Google::Apis::DataflowV1b3::SplitInt64] - attr_accessor :count - - # The sum of all values being aggregated. - # Corresponds to the JSON property `sum` - # @return [Float] - attr_accessor :sum - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @count = args[:count] if args.key?(:count) - @sum = args[:sum] if args.key?(:sum) - end - end - - # Response from a request to report the status of WorkItems. - class ReportWorkItemStatusResponse - include Google::Apis::Core::Hashable - - # A set of messages indicating the service-side state for each - # WorkItem whose status was reported, in the same order as the - # WorkItemStatus messages in the ReportWorkItemStatusRequest which - # resulting in this response. - # Corresponds to the JSON property `workItemServiceStates` - # @return [Array] - attr_accessor :work_item_service_states - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @work_item_service_states = args[:work_item_service_states] if args.key?(:work_item_service_states) - end - end - - # An output of an instruction. - class InstructionOutput - include Google::Apis::Core::Hashable - - # The codec to use to encode data being written via this output. - # Corresponds to the JSON property `codec` - # @return [Hash] - attr_accessor :codec - - # The user-provided name of this output. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # System-defined name for this output in the original workflow graph. - # Outputs that do not contribute to an original instruction do not set this. - # Corresponds to the JSON property `originalName` - # @return [String] - attr_accessor :original_name - - # System-defined name of this output. - # Unique across the workflow. - # Corresponds to the JSON property `systemName` - # @return [String] - attr_accessor :system_name - - # For system-generated byte and mean byte metrics, certain instructions - # should only report the key size. - # Corresponds to the JSON property `onlyCountKeyBytes` - # @return [Boolean] - attr_accessor :only_count_key_bytes - alias_method :only_count_key_bytes?, :only_count_key_bytes - - # For system-generated byte and mean byte metrics, certain instructions - # should only report the value size. - # Corresponds to the JSON property `onlyCountValueBytes` - # @return [Boolean] - attr_accessor :only_count_value_bytes - alias_method :only_count_value_bytes?, :only_count_value_bytes - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @codec = args[:codec] if args.key?(:codec) - @name = args[:name] if args.key?(:name) - @original_name = args[:original_name] if args.key?(:original_name) - @system_name = args[:system_name] if args.key?(:system_name) - @only_count_key_bytes = args[:only_count_key_bytes] if args.key?(:only_count_key_bytes) - @only_count_value_bytes = args[:only_count_value_bytes] if args.key?(:only_count_value_bytes) - end - end - - # A request to create a Cloud Dataflow job from a template. - class CreateJobFromTemplateRequest - include Google::Apis::Core::Hashable - - # Required. The job name to use for the created job. - # Corresponds to the JSON property `jobName` - # @return [String] - attr_accessor :job_name - - # Required. A Cloud Storage path to the template from which to - # create the job. - # Must be a valid Cloud Storage URL, beginning with `gs://`. - # Corresponds to the JSON property `gcsPath` - # @return [String] - attr_accessor :gcs_path - - # The environment values to set at runtime. - # Corresponds to the JSON property `environment` - # @return [Google::Apis::DataflowV1b3::RuntimeEnvironment] - attr_accessor :environment - - # The location to which to direct the request. - # Corresponds to the JSON property `location` - # @return [String] - attr_accessor :location - - # The runtime parameters to pass to the job. - # Corresponds to the JSON property `parameters` - # @return [Hash] - attr_accessor :parameters - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @job_name = args[:job_name] if args.key?(:job_name) - @gcs_path = args[:gcs_path] if args.key?(:gcs_path) - @environment = args[:environment] if args.key?(:environment) - @location = args[:location] if args.key?(:location) @parameters = args[:parameters] if args.key?(:parameters) end end - # A representation of an integer mean metric contribution. - class IntegerMean + # A worker_message response allows the server to pass information to the + # sender. + class WorkerMessageResponse include Google::Apis::Core::Hashable - # A representation of an int64, n, that is immune to precision loss when - # encoded in JSON. - # Corresponds to the JSON property `count` - # @return [Google::Apis::DataflowV1b3::SplitInt64] - attr_accessor :count + # WorkerHealthReportResponse contains information returned to the worker + # in response to a health ping. + # Corresponds to the JSON property `workerHealthReportResponse` + # @return [Google::Apis::DataflowV1b3::WorkerHealthReportResponse] + attr_accessor :worker_health_report_response - # A representation of an int64, n, that is immune to precision loss when - # encoded in JSON. - # Corresponds to the JSON property `sum` - # @return [Google::Apis::DataflowV1b3::SplitInt64] - attr_accessor :sum + # Service-side response to WorkerMessage reporting resource utilization. + # Corresponds to the JSON property `workerMetricsResponse` + # @return [Google::Apis::DataflowV1b3::ResourceUtilizationReportResponse] + attr_accessor :worker_metrics_response def initialize(**args) update!(**args) @@ -3882,860 +4896,217 @@ module Google # Update properties of this object def update!(**args) - @count = args[:count] if args.key?(:count) - @sum = args[:sum] if args.key?(:sum) + @worker_health_report_response = args[:worker_health_report_response] if args.key?(:worker_health_report_response) + @worker_metrics_response = args[:worker_metrics_response] if args.key?(:worker_metrics_response) end end - # Response to a request to list Cloud Dataflow jobs. This may be a partial - # response, depending on the page size in the ListJobsRequest. - class ListJobsResponse + # Describes one particular pool of Cloud Dataflow workers to be + # instantiated by the Cloud Dataflow service in order to perform the + # computations required by a job. Note that a workflow job may use + # multiple pools, in order to match the various computational + # requirements of the various stages of the job. + class WorkerPool include Google::Apis::Core::Hashable - # Zero or more messages describing locations that failed to respond. - # Corresponds to the JSON property `failedLocation` - # @return [Array] - attr_accessor :failed_location + # Settings for WorkerPool autoscaling. + # Corresponds to the JSON property `autoscalingSettings` + # @return [Google::Apis::DataflowV1b3::AutoscalingSettings] + attr_accessor :autoscaling_settings - # Set if there may be more results than fit in this response. - # Corresponds to the JSON property `nextPageToken` + # Data disks that are used by a VM in this workflow. + # Corresponds to the JSON property `dataDisks` + # @return [Array] + attr_accessor :data_disks + + # The default package set to install. This allows the service to + # select a default set of packages which are useful to worker + # harnesses written in a particular language. + # Corresponds to the JSON property `defaultPackageSet` # @return [String] - attr_accessor :next_page_token + attr_accessor :default_package_set - # A subset of the requested job information. - # Corresponds to the JSON property `jobs` - # @return [Array] - attr_accessor :jobs + # Size of root disk for VMs, in GB. If zero or unspecified, the service will + # attempt to choose a reasonable default. + # Corresponds to the JSON property `diskSizeGb` + # @return [Fixnum] + attr_accessor :disk_size_gb - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @failed_location = args[:failed_location] if args.key?(:failed_location) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @jobs = args[:jobs] if args.key?(:jobs) - end - end - - # All configuration data for a particular Computation. - class ComputationTopology - include Google::Apis::Core::Hashable - - # The system stage name. - # Corresponds to the JSON property `systemStageName` + # Fully qualified source image for disks. + # Corresponds to the JSON property `diskSourceImage` # @return [String] - attr_accessor :system_stage_name + attr_accessor :disk_source_image - # The ID of the computation. - # Corresponds to the JSON property `computationId` + # Type of root disk for VMs. If empty or unspecified, the service will + # attempt to choose a reasonable default. + # Corresponds to the JSON property `diskType` # @return [String] - attr_accessor :computation_id + attr_accessor :disk_type - # The inputs to the computation. - # Corresponds to the JSON property `inputs` - # @return [Array] - attr_accessor :inputs + # Configuration for VM IPs. + # Corresponds to the JSON property `ipConfiguration` + # @return [String] + attr_accessor :ip_configuration - # The key ranges processed by the computation. - # Corresponds to the JSON property `keyRanges` - # @return [Array] - attr_accessor :key_ranges + # The kind of the worker pool; currently only `harness` and `shuffle` + # are supported. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind - # The state family values. - # Corresponds to the JSON property `stateFamilies` - # @return [Array] - attr_accessor :state_families - - # The outputs from the computation. - # Corresponds to the JSON property `outputs` - # @return [Array] - attr_accessor :outputs - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @system_stage_name = args[:system_stage_name] if args.key?(:system_stage_name) - @computation_id = args[:computation_id] if args.key?(:computation_id) - @inputs = args[:inputs] if args.key?(:inputs) - @key_ranges = args[:key_ranges] if args.key?(:key_ranges) - @state_families = args[:state_families] if args.key?(:state_families) - @outputs = args[:outputs] if args.key?(:outputs) - end - end - - # The environment values to set at runtime. - class RuntimeEnvironment - include Google::Apis::Core::Hashable - - # The machine type to use for the job. Defaults to the value from the - # template if not specified. + # Machine type (e.g. "n1-standard-1"). If empty or unspecified, the + # service will attempt to choose a reasonable default. # Corresponds to the JSON property `machineType` # @return [String] attr_accessor :machine_type - # The Compute Engine [availability - # zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) - # for launching worker instances to run your pipeline. + # Metadata to set on the Google Compute Engine VMs. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # Network to which VMs will be assigned. If empty or unspecified, + # the service will use the network "default". + # Corresponds to the JSON property `network` + # @return [String] + attr_accessor :network + + # The number of threads per worker harness. If empty or unspecified, the + # service will choose a number of threads (according to the number of cores + # on the selected machine type for batch, or 1 by convention for streaming). + # Corresponds to the JSON property `numThreadsPerWorker` + # @return [Fixnum] + attr_accessor :num_threads_per_worker + + # Number of Google Compute Engine workers in this pool needed to + # execute the job. If zero or unspecified, the service will + # attempt to choose a reasonable default. + # Corresponds to the JSON property `numWorkers` + # @return [Fixnum] + attr_accessor :num_workers + + # The action to take on host maintenance, as defined by the Google + # Compute Engine API. + # Corresponds to the JSON property `onHostMaintenance` + # @return [String] + attr_accessor :on_host_maintenance + + # Packages to be installed on workers. + # Corresponds to the JSON property `packages` + # @return [Array] + attr_accessor :packages + + # Extra arguments for this worker pool. + # Corresponds to the JSON property `poolArgs` + # @return [Hash] + attr_accessor :pool_args + + # Subnetwork to which VMs will be assigned, if desired. Expected to be of + # the form "regions/REGION/subnetworks/SUBNETWORK". + # Corresponds to the JSON property `subnetwork` + # @return [String] + attr_accessor :subnetwork + + # Taskrunner configuration settings. + # Corresponds to the JSON property `taskrunnerSettings` + # @return [Google::Apis::DataflowV1b3::TaskRunnerSettings] + attr_accessor :taskrunner_settings + + # Sets the policy for determining when to turndown worker pool. + # Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and + # `TEARDOWN_NEVER`. + # `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether + # the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down + # if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn + # down. + # If the workers are not torn down by the service, they will + # continue to run and use Google Compute Engine VM resources in the + # user's project until they are explicitly terminated by the user. + # Because of this, Google recommends using the `TEARDOWN_ALWAYS` + # policy except for small, manually supervised test jobs. + # If unknown or unspecified, the service will attempt to choose a reasonable + # default. + # Corresponds to the JSON property `teardownPolicy` + # @return [String] + attr_accessor :teardown_policy + + # Required. Docker container image that executes the Cloud Dataflow worker + # harness, residing in Google Container Registry. + # Corresponds to the JSON property `workerHarnessContainerImage` + # @return [String] + attr_accessor :worker_harness_container_image + + # Zone to run the worker pools in. If empty or unspecified, the service + # will attempt to choose a reasonable default. # Corresponds to the JSON property `zone` # @return [String] attr_accessor :zone - # The maximum number of Google Compute Engine instances to be made - # available to your pipeline during execution, from 1 to 1000. - # Corresponds to the JSON property `maxWorkers` - # @return [Fixnum] - attr_accessor :max_workers - - # The email address of the service account to run the job as. - # Corresponds to the JSON property `serviceAccountEmail` - # @return [String] - attr_accessor :service_account_email - - # The Cloud Storage path to use for temporary files. - # Must be a valid Cloud Storage URL, beginning with `gs://`. - # Corresponds to the JSON property `tempLocation` - # @return [String] - attr_accessor :temp_location - - # Whether to bypass the safety checks for the job's temporary directory. - # Use with caution. - # Corresponds to the JSON property `bypassTempDirValidation` - # @return [Boolean] - attr_accessor :bypass_temp_dir_validation - alias_method :bypass_temp_dir_validation?, :bypass_temp_dir_validation - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @autoscaling_settings = args[:autoscaling_settings] if args.key?(:autoscaling_settings) + @data_disks = args[:data_disks] if args.key?(:data_disks) + @default_package_set = args[:default_package_set] if args.key?(:default_package_set) + @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb) + @disk_source_image = args[:disk_source_image] if args.key?(:disk_source_image) + @disk_type = args[:disk_type] if args.key?(:disk_type) + @ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration) + @kind = args[:kind] if args.key?(:kind) @machine_type = args[:machine_type] if args.key?(:machine_type) - @zone = args[:zone] if args.key?(:zone) - @max_workers = args[:max_workers] if args.key?(:max_workers) - @service_account_email = args[:service_account_email] if args.key?(:service_account_email) - @temp_location = args[:temp_location] if args.key?(:temp_location) - @bypass_temp_dir_validation = args[:bypass_temp_dir_validation] if args.key?(:bypass_temp_dir_validation) - end - end - - # Describes mounted data disk. - class MountedDataDisk - include Google::Apis::Core::Hashable - - # The name of the data disk. - # This name is local to the Google Cloud Platform project and uniquely - # identifies the disk within that project, for example - # "myproject-1014-104817-4c2-harness-0-disk-1". - # Corresponds to the JSON property `dataDisk` - # @return [String] - attr_accessor :data_disk - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @data_disk = args[:data_disk] if args.key?(:data_disk) - end - end - - # Identifies the location of a streaming side input. - class StreamingSideInputLocation - include Google::Apis::Core::Hashable - - # Identifies the particular side input within the streaming Dataflow job. - # Corresponds to the JSON property `tag` - # @return [String] - attr_accessor :tag - - # Identifies the state family where this side input is stored. - # Corresponds to the JSON property `stateFamily` - # @return [String] - attr_accessor :state_family - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @tag = args[:tag] if args.key?(:tag) - @state_family = args[:state_family] if args.key?(:state_family) - end - end - - # Response to the request to launch a template. - class LaunchTemplateResponse - include Google::Apis::Core::Hashable - - # Defines a job to be run by the Cloud Dataflow service. - # Corresponds to the JSON property `job` - # @return [Google::Apis::DataflowV1b3::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 - - # Defines a job to be run by the Cloud Dataflow service. - class Job - include Google::Apis::Core::Hashable - - # This field may be mutated by the Cloud Dataflow service; - # callers cannot mutate it. - # Corresponds to the JSON property `stageStates` - # @return [Array] - attr_accessor :stage_states - - # The ID of the Cloud Platform project that the job belongs to. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # The type of Cloud Dataflow job. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # A descriptive representation of submitted pipeline as well as the executed - # form. This data is provided by the Dataflow service for ease of visualizing - # the pipeline and interpretting Dataflow provided metrics. - # Corresponds to the JSON property `pipelineDescription` - # @return [Google::Apis::DataflowV1b3::PipelineDescription] - attr_accessor :pipeline_description - - # If this job is an update of an existing job, this field is the job ID - # of the job it replaced. - # When sending a `CreateJobRequest`, you can update a job by specifying it - # here. The job named here is stopped, and its intermediate state is - # transferred to this job. - # Corresponds to the JSON property `replaceJobId` - # @return [String] - attr_accessor :replace_job_id - - # The job's requested state. - # `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and - # `JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may - # also be used to directly set a job's requested state to - # `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the - # job if it has not already reached a terminal state. - # Corresponds to the JSON property `requestedState` - # @return [String] - attr_accessor :requested_state - - # A set of files the system should be aware of that are used - # for temporary storage. These temporary files will be - # removed on job completion. - # No duplicates are allowed. - # No file patterns are supported. - # The supported files are: - # Google Cloud Storage: - # storage.googleapis.com/`bucket`/`object` - # bucket.storage.googleapis.com/`object` - # Corresponds to the JSON property `tempFiles` - # @return [Array] - attr_accessor :temp_files - - # The client's unique identifier of the job, re-used across retried attempts. - # If this field is set, the service will ensure its uniqueness. - # The request to create a job will fail if the service has knowledge of a - # previously submitted job with the same client's ID and job name. - # The caller may use this field to ensure idempotence of job - # creation across retried attempts to create a job. - # By default, the field is empty and, in that case, the service ignores it. - # Corresponds to the JSON property `clientRequestId` - # @return [String] - attr_accessor :client_request_id - - # The user-specified Cloud Dataflow job name. - # Only one Job with a given name may exist in a project at any - # given time. If a caller attempts to create a Job with the same - # name as an already-existing Job, the attempt returns the - # existing Job. - # The name must match the regular expression - # `[a-z]([-a-z0-9]`0,38`[a-z0-9])?` - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The top-level steps that constitute the entire job. - # Corresponds to the JSON property `steps` - # @return [Array] - attr_accessor :steps - - # If another job is an update of this job (and thus, this job is in - # `JOB_STATE_UPDATED`), this field contains the ID of that job. - # Corresponds to the JSON property `replacedByJobId` - # @return [String] - attr_accessor :replaced_by_job_id - - # Additional information about how a Cloud Dataflow job will be executed that - # isn't contained in the submitted job. - # Corresponds to the JSON property `executionInfo` - # @return [Google::Apis::DataflowV1b3::JobExecutionInfo] - attr_accessor :execution_info - - # The unique ID of this job. - # This field is set by the Cloud Dataflow service when the Job is - # created, and is immutable for the life of the job. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The current state of the job. - # Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise - # specified. - # A job in the `JOB_STATE_RUNNING` state may asynchronously enter a - # terminal state. After a job has reached a terminal state, no - # further state updates may be made. - # This field may be mutated by the Cloud Dataflow service; - # callers cannot mutate it. - # Corresponds to the JSON property `currentState` - # @return [String] - attr_accessor :current_state - - # The location that contains this job. - # Corresponds to the JSON property `location` - # @return [String] - attr_accessor :location - - # The timestamp associated with the current state. - # Corresponds to the JSON property `currentStateTime` - # @return [String] - attr_accessor :current_state_time - - # The map of transform name prefixes of the job to be replaced to the - # corresponding name prefixes of the new job. - # Corresponds to the JSON property `transformNameMapping` - # @return [Hash] - attr_accessor :transform_name_mapping - - # User-defined labels for this job. - # The labels map can contain no more than 64 entries. Entries of the labels - # map are UTF8 strings that comply with the following restrictions: - # * Keys must conform to regexp: \p`Ll`\p`Lo``0,62` - # * Values must conform to regexp: [\p`Ll`\p`Lo`\p`N`_-]`0,63` - # * Both keys and values are additionally constrained to be <= 128 bytes in - # size. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # Describes the environment in which a Dataflow Job runs. - # Corresponds to the JSON property `environment` - # @return [Google::Apis::DataflowV1b3::Environment] - attr_accessor :environment - - # The timestamp when the job was initially created. Immutable and set by the - # Cloud Dataflow service. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @stage_states = args[:stage_states] if args.key?(:stage_states) - @project_id = args[:project_id] if args.key?(:project_id) - @type = args[:type] if args.key?(:type) - @pipeline_description = args[:pipeline_description] if args.key?(:pipeline_description) - @replace_job_id = args[:replace_job_id] if args.key?(:replace_job_id) - @requested_state = args[:requested_state] if args.key?(:requested_state) - @temp_files = args[:temp_files] if args.key?(:temp_files) - @client_request_id = args[:client_request_id] if args.key?(:client_request_id) - @name = args[:name] if args.key?(:name) - @steps = args[:steps] if args.key?(:steps) - @replaced_by_job_id = args[:replaced_by_job_id] if args.key?(:replaced_by_job_id) - @execution_info = args[:execution_info] if args.key?(:execution_info) - @id = args[:id] if args.key?(:id) - @current_state = args[:current_state] if args.key?(:current_state) - @location = args[:location] if args.key?(:location) - @current_state_time = args[:current_state_time] if args.key?(:current_state_time) - @transform_name_mapping = args[:transform_name_mapping] if args.key?(:transform_name_mapping) - @labels = args[:labels] if args.key?(:labels) - @environment = args[:environment] if args.key?(:environment) - @create_time = args[:create_time] if args.key?(:create_time) - end - end - - # When a task splits using WorkItemStatus.dynamic_source_split, this - # message describes the two parts of the split relative to the - # description of the current task's input. - class DynamicSourceSplit - include Google::Apis::Core::Hashable - - # Specification of one of the bundles produced as a result of splitting - # a Source (e.g. when executing a SourceSplitRequest, or when - # splitting an active task using WorkItemStatus.dynamic_source_split), - # relative to the source being split. - # Corresponds to the JSON property `residual` - # @return [Google::Apis::DataflowV1b3::DerivedSource] - attr_accessor :residual - - # Specification of one of the bundles produced as a result of splitting - # a Source (e.g. when executing a SourceSplitRequest, or when - # splitting an active task using WorkItemStatus.dynamic_source_split), - # relative to the source being split. - # Corresponds to the JSON property `primary` - # @return [Google::Apis::DataflowV1b3::DerivedSource] - attr_accessor :primary - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @residual = args[:residual] if args.key?(:residual) - @primary = args[:primary] if args.key?(:primary) - end - end - - # Specification of one of the bundles produced as a result of splitting - # a Source (e.g. when executing a SourceSplitRequest, or when - # splitting an active task using WorkItemStatus.dynamic_source_split), - # relative to the source being split. - class DerivedSource - include Google::Apis::Core::Hashable - - # A source that records can be read and decoded from. - # Corresponds to the JSON property `source` - # @return [Google::Apis::DataflowV1b3::Source] - attr_accessor :source - - # What source to base the produced source on (if any). - # Corresponds to the JSON property `derivationMode` - # @return [String] - attr_accessor :derivation_mode - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @source = args[:source] if args.key?(:source) - @derivation_mode = args[:derivation_mode] if args.key?(:derivation_mode) - end - end - - # The result of a SourceOperationRequest, specified in - # ReportWorkItemStatusRequest.source_operation when the work item - # is completed. - class SourceOperationResponse - include Google::Apis::Core::Hashable - - # The response to a SourceSplitRequest. - # Corresponds to the JSON property `split` - # @return [Google::Apis::DataflowV1b3::SourceSplitResponse] - attr_accessor :split - - # The result of a SourceGetMetadataOperation. - # Corresponds to the JSON property `getMetadata` - # @return [Google::Apis::DataflowV1b3::SourceGetMetadataResponse] - attr_accessor :get_metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @split = args[:split] if args.key?(:split) - @get_metadata = args[:get_metadata] if args.key?(:get_metadata) - end - end - - # Information about a side input of a DoFn or an input of a SeqDoFn. - class SideInputInfo - include Google::Apis::Core::Hashable - - # The id of the tag the user code will access this side input by; - # this should correspond to the tag of some MultiOutputInfo. - # Corresponds to the JSON property `tag` - # @return [String] - attr_accessor :tag - - # How to interpret the source element(s) as a side input value. - # Corresponds to the JSON property `kind` - # @return [Hash] - attr_accessor :kind - - # The source(s) to read element(s) from to get the value of this side input. - # If more than one source, then the elements are taken from the - # sources, in the specified order if order matters. - # At least one source is required. - # Corresponds to the JSON property `sources` - # @return [Array] - attr_accessor :sources - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @tag = args[:tag] if args.key?(:tag) - @kind = args[:kind] if args.key?(:kind) - @sources = args[:sources] if args.key?(:sources) - end - end - - # Response to a send capture request. - # nothing - class SendDebugCaptureResponse - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # A position that encapsulates an inner position and an index for the inner - # position. A ConcatPosition can be used by a reader of a source that - # encapsulates a set of other sources. - class ConcatPosition - include Google::Apis::Core::Hashable - - # Position defines a position within a collection of data. The value - # can be either the end position, a key (used with ordered - # collections), a byte offset, or a record index. - # Corresponds to the JSON property `position` - # @return [Google::Apis::DataflowV1b3::Position] - attr_accessor :position - - # Index of the inner source. - # Corresponds to the JSON property `index` - # @return [Fixnum] - attr_accessor :index - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @position = args[:position] if args.key?(:position) - @index = args[:index] if args.key?(:index) - end - end - - # A single message which encapsulates structured name and metadata for a given - # counter. - class CounterStructuredNameAndMetadata - include Google::Apis::Core::Hashable - - # Identifies a counter within a per-job namespace. Counters whose structured - # names are the same get merged into a single value for the job. - # Corresponds to the JSON property `name` - # @return [Google::Apis::DataflowV1b3::CounterStructuredName] - attr_accessor :name - - # CounterMetadata includes all static non-name non-value counter attributes. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::DataflowV1b3::CounterMetadata] - attr_accessor :metadata - - 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) + @network = args[:network] if args.key?(:network) + @num_threads_per_worker = args[:num_threads_per_worker] if args.key?(:num_threads_per_worker) + @num_workers = args[:num_workers] if args.key?(:num_workers) + @on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance) + @packages = args[:packages] if args.key?(:packages) + @pool_args = args[:pool_args] if args.key?(:pool_args) + @subnetwork = args[:subnetwork] if args.key?(:subnetwork) + @taskrunner_settings = args[:taskrunner_settings] if args.key?(:taskrunner_settings) + @teardown_policy = args[:teardown_policy] if args.key?(:teardown_policy) + @worker_harness_container_image = args[:worker_harness_container_image] if args.key?(:worker_harness_container_image) + @zone = args[:zone] if args.key?(:zone) end end - # An instruction that writes records. - # Takes one input, produces no outputs. - class WriteInstruction + # Provides data to pass through to the worker harness. + class WorkerSettings include Google::Apis::Core::Hashable - # A sink that records can be encoded and written to. - # Corresponds to the JSON property `sink` - # @return [Google::Apis::DataflowV1b3::Sink] - attr_accessor :sink - - # An input of an instruction, as a reference to an output of a - # producer instruction. - # Corresponds to the JSON property `input` - # @return [Google::Apis::DataflowV1b3::InstructionInput] - attr_accessor :input - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sink = args[:sink] if args.key?(:sink) - @input = args[:input] if args.key?(:input) - end - end - - # Describes full or partial data disk assignment information of the computation - # ranges. - class StreamingComputationRanges - include Google::Apis::Core::Hashable - - # Data disk assignments for ranges from this computation. - # Corresponds to the JSON property `rangeAssignments` - # @return [Array] - attr_accessor :range_assignments - - # The ID of the computation. - # Corresponds to the JSON property `computationId` + # The base URL for accessing Google Cloud APIs. + # When workers access Google Cloud APIs, they logically do so via + # relative URLs. If this field is specified, it supplies the base + # URL to use for resolving these relative URLs. The normative + # algorithm used is defined by RFC 1808, "Relative Uniform Resource + # Locators". + # If not specified, the default value is "http://www.googleapis.com/" + # Corresponds to the JSON property `baseUrl` # @return [String] - attr_accessor :computation_id + attr_accessor :base_url - def initialize(**args) - update!(**args) - end + # Whether to send work progress updates to the service. + # Corresponds to the JSON property `reportingEnabled` + # @return [Boolean] + attr_accessor :reporting_enabled + alias_method :reporting_enabled?, :reporting_enabled - # Update properties of this object - def update!(**args) - @range_assignments = args[:range_assignments] if args.key?(:range_assignments) - @computation_id = args[:computation_id] if args.key?(:computation_id) - end - end - - # Settings for WorkerPool autoscaling. - class AutoscalingSettings - include Google::Apis::Core::Hashable - - # The algorithm to use for autoscaling. - # Corresponds to the JSON property `algorithm` + # The Cloud Dataflow service path relative to the root URL, for example, + # "dataflow/v1b3/projects". + # Corresponds to the JSON property `servicePath` # @return [String] - attr_accessor :algorithm + attr_accessor :service_path - # The maximum number of workers to cap scaling at. - # Corresponds to the JSON property `maxNumWorkers` - # @return [Fixnum] - attr_accessor :max_num_workers - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @algorithm = args[:algorithm] if args.key?(:algorithm) - @max_num_workers = args[:max_num_workers] if args.key?(:max_num_workers) - end - end - - # Description of the composing transforms, names/ids, and input/outputs of a - # stage of execution. Some composing transforms and sources may have been - # generated by the Dataflow service during execution planning. - class ExecutionStageSummary - include Google::Apis::Core::Hashable - - # Collections produced and consumed by component transforms of this stage. - # Corresponds to the JSON property `componentSource` - # @return [Array] - attr_accessor :component_source - - # Type of tranform this stage is executing. - # Corresponds to the JSON property `kind` + # The Shuffle service path relative to the root URL, for example, + # "shuffle/v1beta1". + # Corresponds to the JSON property `shuffleServicePath` # @return [String] - attr_accessor :kind - - # Output sources for this stage. - # Corresponds to the JSON property `outputSource` - # @return [Array] - attr_accessor :output_source - - # Dataflow service generated name for this stage. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Input sources for this stage. - # Corresponds to the JSON property `inputSource` - # @return [Array] - attr_accessor :input_source - - # Dataflow service generated id for this stage. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Transforms that comprise this execution stage. - # Corresponds to the JSON property `componentTransform` - # @return [Array] - attr_accessor :component_transform - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @component_source = args[:component_source] if args.key?(:component_source) - @kind = args[:kind] if args.key?(:kind) - @output_source = args[:output_source] if args.key?(:output_source) - @name = args[:name] if args.key?(:name) - @input_source = args[:input_source] if args.key?(:input_source) - @id = args[:id] if args.key?(:id) - @component_transform = args[:component_transform] if args.key?(:component_transform) - end - end - - # A request for sending worker messages to the service. - class SendWorkerMessagesRequest - include Google::Apis::Core::Hashable - - # The WorkerMessages to send. - # Corresponds to the JSON property `workerMessages` - # @return [Array] - attr_accessor :worker_messages - - # The location which contains the job - # Corresponds to the JSON property `location` - # @return [String] - attr_accessor :location - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @worker_messages = args[:worker_messages] if args.key?(:worker_messages) - @location = args[:location] if args.key?(:location) - end - end - - # Bucket of values for Distribution's logarithmic histogram. - class LogBucket - include Google::Apis::Core::Hashable - - # floor(log2(value)); defined to be zero for nonpositive values. - # log(-1) = 0 - # log(0) = 0 - # log(1) = 0 - # log(2) = 1 - # log(3) = 1 - # log(4) = 2 - # log(5) = 2 - # Corresponds to the JSON property `log` - # @return [Fixnum] - attr_accessor :log - - # Number of values in this bucket. - # Corresponds to the JSON property `count` - # @return [Fixnum] - attr_accessor :count - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @log = args[:log] if args.key?(:log) - @count = args[:count] if args.key?(:count) - end - end - - # DEPRECATED in favor of DerivedSource. - class SourceSplitShard - include Google::Apis::Core::Hashable - - # DEPRECATED - # Corresponds to the JSON property `derivationMode` - # @return [String] - attr_accessor :derivation_mode - - # A source that records can be read and decoded from. - # Corresponds to the JSON property `source` - # @return [Google::Apis::DataflowV1b3::Source] - attr_accessor :source - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @derivation_mode = args[:derivation_mode] if args.key?(:derivation_mode) - @source = args[:source] if args.key?(:source) - end - end - - # Modeled after information exposed by /proc/stat. - class CpuTime - include Google::Apis::Core::Hashable - - # Total active CPU time across all cores (ie., non-idle) in milliseconds - # since start-up. - # Corresponds to the JSON property `totalMs` - # @return [Fixnum] - attr_accessor :total_ms - - # Average CPU utilization rate (% non-idle cpu / second) since previous - # sample. - # Corresponds to the JSON property `rate` - # @return [Float] - attr_accessor :rate - - # Timestamp of the measurement. - # Corresponds to the JSON property `timestamp` - # @return [String] - attr_accessor :timestamp - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @total_ms = args[:total_ms] if args.key?(:total_ms) - @rate = args[:rate] if args.key?(:rate) - @timestamp = args[:timestamp] if args.key?(:timestamp) - end - end - - # Describes the environment in which a Dataflow Job runs. - class Environment - include Google::Apis::Core::Hashable - - # The type of cluster manager API to use. If unknown or - # unspecified, the service will attempt to choose a reasonable - # default. This should be in the form of the API service name, - # e.g. "compute.googleapis.com". - # Corresponds to the JSON property `clusterManagerApiService` - # @return [String] - attr_accessor :cluster_manager_api_service + attr_accessor :shuffle_service_path # The prefix of the resources the system should use for temporary - # storage. The system will append the suffix "/temp-`JOBNAME` to - # this resource prefix, where `JOBNAME` is the value of the - # job_name field. The resulting bucket and object prefix is used - # as the prefix of the resources used to store temporary data - # needed during the job execution. NOTE: This will override the - # value in taskrunner_settings. + # storage. # The supported resource type is: # Google Cloud Storage: # storage.googleapis.com/`bucket`/`object` @@ -4744,126 +5115,7 @@ module Google # @return [String] attr_accessor :temp_storage_prefix - # The worker pools. At least one "harness" worker pool must be - # specified in order for the job to have workers. - # Corresponds to the JSON property `workerPools` - # @return [Array] - attr_accessor :worker_pools - - # The dataset for the current project where various workflow - # related tables are stored. - # The supported resource type is: - # Google BigQuery: - # bigquery.googleapis.com/`dataset` - # Corresponds to the JSON property `dataset` - # @return [String] - attr_accessor :dataset - - # The list of experiments to enable. - # Corresponds to the JSON property `experiments` - # @return [Array] - attr_accessor :experiments - - # A structure describing which components and their versions of the service - # are required in order to run the job. - # Corresponds to the JSON property `version` - # @return [Hash] - attr_accessor :version - - # Experimental settings. - # Corresponds to the JSON property `internalExperiments` - # @return [Hash] - attr_accessor :internal_experiments - - # Identity to run virtual machines as. Defaults to the default account. - # Corresponds to the JSON property `serviceAccountEmail` - # @return [String] - attr_accessor :service_account_email - - # A description of the process that generated the request. - # Corresponds to the JSON property `userAgent` - # @return [Hash] - attr_accessor :user_agent - - # The Cloud Dataflow SDK pipeline options specified by the user. These - # options are passed through the service and are used to recreate the - # SDK pipeline options on the worker in a language agnostic and platform - # independent way. - # Corresponds to the JSON property `sdkPipelineOptions` - # @return [Hash] - attr_accessor :sdk_pipeline_options - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @cluster_manager_api_service = args[:cluster_manager_api_service] if args.key?(:cluster_manager_api_service) - @temp_storage_prefix = args[:temp_storage_prefix] if args.key?(:temp_storage_prefix) - @worker_pools = args[:worker_pools] if args.key?(:worker_pools) - @dataset = args[:dataset] if args.key?(:dataset) - @experiments = args[:experiments] if args.key?(:experiments) - @version = args[:version] if args.key?(:version) - @internal_experiments = args[:internal_experiments] if args.key?(:internal_experiments) - @service_account_email = args[:service_account_email] if args.key?(:service_account_email) - @user_agent = args[:user_agent] if args.key?(:user_agent) - @sdk_pipeline_options = args[:sdk_pipeline_options] if args.key?(:sdk_pipeline_options) - end - end - - # A task which describes what action should be performed for the specified - # streaming computation ranges. - class StreamingComputationTask - include Google::Apis::Core::Hashable - - # Describes the set of data disks this task should apply to. - # Corresponds to the JSON property `dataDisks` - # @return [Array] - attr_accessor :data_disks - - # A type of streaming computation task. - # Corresponds to the JSON property `taskType` - # @return [String] - attr_accessor :task_type - - # Contains ranges of a streaming computation this task should apply to. - # Corresponds to the JSON property `computationRanges` - # @return [Array] - attr_accessor :computation_ranges - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @data_disks = args[:data_disks] if args.key?(:data_disks) - @task_type = args[:task_type] if args.key?(:task_type) - @computation_ranges = args[:computation_ranges] if args.key?(:computation_ranges) - end - end - - # Request to send encoded debug information. - class SendDebugCaptureRequest - include Google::Apis::Core::Hashable - - # The location which contains the job specified by job_id. - # Corresponds to the JSON property `location` - # @return [String] - attr_accessor :location - - # The encoded debug information. - # Corresponds to the JSON property `data` - # @return [String] - attr_accessor :data - - # The internal component id for which debug information is sent. - # Corresponds to the JSON property `componentId` - # @return [String] - attr_accessor :component_id - - # The worker id, i.e., VM hostname. + # The ID of the worker running this pipeline. # Corresponds to the JSON property `workerId` # @return [String] attr_accessor :worker_id @@ -4874,21 +5126,30 @@ module Google # Update properties of this object def update!(**args) - @location = args[:location] if args.key?(:location) - @data = args[:data] if args.key?(:data) - @component_id = args[:component_id] if args.key?(:component_id) + @base_url = args[:base_url] if args.key?(:base_url) + @reporting_enabled = args[:reporting_enabled] if args.key?(:reporting_enabled) + @service_path = args[:service_path] if args.key?(:service_path) + @shuffle_service_path = args[:shuffle_service_path] if args.key?(:shuffle_service_path) + @temp_storage_prefix = args[:temp_storage_prefix] if args.key?(:temp_storage_prefix) @worker_id = args[:worker_id] if args.key?(:worker_id) end end - # Response to a get debug configuration request. - class GetDebugConfigResponse + # An instruction that writes records. + # Takes one input, produces no outputs. + class WriteInstruction include Google::Apis::Core::Hashable - # The encoded debug configuration for the requested component. - # Corresponds to the JSON property `config` - # @return [String] - attr_accessor :config + # An input of an instruction, as a reference to an output of a + # producer instruction. + # Corresponds to the JSON property `input` + # @return [Google::Apis::DataflowV1b3::InstructionInput] + attr_accessor :input + + # A sink that records can be encoded and written to. + # Corresponds to the JSON property `sink` + # @return [Google::Apis::DataflowV1b3::Sink] + attr_accessor :sink def initialize(**args) update!(**args) @@ -4896,269 +5157,8 @@ module Google # Update properties of this object def update!(**args) - @config = args[:config] if args.key?(:config) - end - end - - # Description of a transform executed as part of an execution stage. - class ComponentTransform - include Google::Apis::Core::Hashable - - # User name for the original user transform with which this transform is - # most closely associated. - # Corresponds to the JSON property `originalTransform` - # @return [String] - attr_accessor :original_transform - - # Dataflow service generated name for this source. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Human-readable name for this transform; may be user or system generated. - # Corresponds to the JSON property `userName` - # @return [String] - attr_accessor :user_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @original_transform = args[:original_transform] if args.key?(:original_transform) - @name = args[:name] if args.key?(:name) - @user_name = args[:user_name] if args.key?(:user_name) - end - end - - # A task which initializes part of a streaming Dataflow job. - class StreamingSetupTask - include Google::Apis::Core::Hashable - - # Global topology of the streaming Dataflow job, including all - # computations and their sharded locations. - # Corresponds to the JSON property `streamingComputationTopology` - # @return [Google::Apis::DataflowV1b3::TopologyConfig] - attr_accessor :streaming_computation_topology - - # The user has requested drain. - # Corresponds to the JSON property `drain` - # @return [Boolean] - attr_accessor :drain - alias_method :drain?, :drain - - # The TCP port used by the worker to communicate with the Dataflow - # worker harness. - # Corresponds to the JSON property `workerHarnessPort` - # @return [Fixnum] - attr_accessor :worker_harness_port - - # The TCP port on which the worker should listen for messages from - # other streaming computation workers. - # Corresponds to the JSON property `receiveWorkPort` - # @return [Fixnum] - attr_accessor :receive_work_port - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @streaming_computation_topology = args[:streaming_computation_topology] if args.key?(:streaming_computation_topology) - @drain = args[:drain] if args.key?(:drain) - @worker_harness_port = args[:worker_harness_port] if args.key?(:worker_harness_port) - @receive_work_port = args[:receive_work_port] if args.key?(:receive_work_port) - end - end - - # Identifies a pubsub location to use for transferring data into or - # out of a streaming Dataflow job. - class PubsubLocation - include Google::Apis::Core::Hashable - - # A pubsub topic, in the form of - # "pubsub.googleapis.com/topics//" - # Corresponds to the JSON property `topic` - # @return [String] - attr_accessor :topic - - # If set, contains a pubsub label from which to extract record timestamps. - # If left empty, record timestamps will be generated upon arrival. - # Corresponds to the JSON property `timestampLabel` - # @return [String] - attr_accessor :timestamp_label - - # A pubsub subscription, in the form of - # "pubsub.googleapis.com/subscriptions//" - # Corresponds to the JSON property `subscription` - # @return [String] - attr_accessor :subscription - - # Indicates whether the pipeline allows late-arriving data. - # Corresponds to the JSON property `dropLateData` - # @return [Boolean] - attr_accessor :drop_late_data - alias_method :drop_late_data?, :drop_late_data - - # If set, specifies the pubsub subscription that will be used for tracking - # custom time timestamps for watermark estimation. - # Corresponds to the JSON property `trackingSubscription` - # @return [String] - attr_accessor :tracking_subscription - - # If true, then the client has requested to get pubsub attributes. - # Corresponds to the JSON property `withAttributes` - # @return [Boolean] - attr_accessor :with_attributes - alias_method :with_attributes?, :with_attributes - - # If set, contains a pubsub label from which to extract record ids. - # If left empty, record deduplication will be strictly best effort. - # Corresponds to the JSON property `idLabel` - # @return [String] - attr_accessor :id_label - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @topic = args[:topic] if args.key?(:topic) - @timestamp_label = args[:timestamp_label] if args.key?(:timestamp_label) - @subscription = args[:subscription] if args.key?(:subscription) - @drop_late_data = args[:drop_late_data] if args.key?(:drop_late_data) - @tracking_subscription = args[:tracking_subscription] if args.key?(:tracking_subscription) - @with_attributes = args[:with_attributes] if args.key?(:with_attributes) - @id_label = args[:id_label] if args.key?(:id_label) - end - end - - # WorkerHealthReport contains information about the health of a worker. - # The VM should be identified by the labels attached to the WorkerMessage that - # this health ping belongs to. - class WorkerHealthReport - include Google::Apis::Core::Hashable - - # The pods running on the worker. See: - # http://kubernetes.io/v1.1/docs/api-reference/v1/definitions.html#_v1_pod - # This field is used by the worker to send the status of the indvidual - # containers running on each worker. - # Corresponds to the JSON property `pods` - # @return [Array>] - attr_accessor :pods - - # The time the VM was booted. - # Corresponds to the JSON property `vmStartupTime` - # @return [String] - attr_accessor :vm_startup_time - - # The interval at which the worker is sending health reports. - # The default value of 0 should be interpreted as the field is not being - # explicitly set by the worker. - # Corresponds to the JSON property `reportInterval` - # @return [String] - attr_accessor :report_interval - - # Whether the VM is healthy. - # Corresponds to the JSON property `vmIsHealthy` - # @return [Boolean] - attr_accessor :vm_is_healthy - alias_method :vm_is_healthy?, :vm_is_healthy - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @pods = args[:pods] if args.key?(:pods) - @vm_startup_time = args[:vm_startup_time] if args.key?(:vm_startup_time) - @report_interval = args[:report_interval] if args.key?(:report_interval) - @vm_is_healthy = args[:vm_is_healthy] if args.key?(:vm_is_healthy) - end - end - - # A particular message pertaining to a Dataflow job. - class JobMessage - include Google::Apis::Core::Hashable - - # Deprecated. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Importance level of the message. - # Corresponds to the JSON property `messageImportance` - # @return [String] - attr_accessor :message_importance - - # The text of the message. - # Corresponds to the JSON property `messageText` - # @return [String] - attr_accessor :message_text - - # The timestamp of the message. - # Corresponds to the JSON property `time` - # @return [String] - attr_accessor :time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @message_importance = args[:message_importance] if args.key?(:message_importance) - @message_text = args[:message_text] if args.key?(:message_text) - @time = args[:time] if args.key?(:time) - end - end - - # Metadata for a specific parameter. - class ParameterMetadata - include Google::Apis::Core::Hashable - - # Optional. Regexes that the parameter must match. - # Corresponds to the JSON property `regexes` - # @return [Array] - attr_accessor :regexes - - # Required. The label to display for the parameter. - # Corresponds to the JSON property `label` - # @return [String] - attr_accessor :label - - # Required. The help text to display for the parameter. - # Corresponds to the JSON property `helpText` - # @return [String] - attr_accessor :help_text - - # Optional. Whether the parameter is optional. Defaults to false. - # Corresponds to the JSON property `isOptional` - # @return [Boolean] - attr_accessor :is_optional - alias_method :is_optional?, :is_optional - - # Required. The name of the parameter. - # 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) - @regexes = args[:regexes] if args.key?(:regexes) - @label = args[:label] if args.key?(:label) - @help_text = args[:help_text] if args.key?(:help_text) - @is_optional = args[:is_optional] if args.key?(:is_optional) - @name = args[:name] if args.key?(:name) + @input = args[:input] if args.key?(:input) + @sink = args[:sink] if args.key?(:sink) end end end diff --git a/generated/google/apis/dataflow_v1b3/representations.rb b/generated/google/apis/dataflow_v1b3/representations.rb index e2a95f2c1..01af68ce2 100644 --- a/generated/google/apis/dataflow_v1b3/representations.rb +++ b/generated/google/apis/dataflow_v1b3/representations.rb @@ -22,307 +22,7 @@ module Google module Apis module DataflowV1b3 - class MultiOutputInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceSplitRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceGetMetadataResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ShellTask - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MetricShortId - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AutoscalingEvent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TaskRunnerSettings - 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 Source - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SplitInt64 - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WorkerPool - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceOperationRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WorkItem - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StructuredMessage - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReportedParallelism - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ResourceUtilizationReport - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TopologyConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceSplitOptions - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReadInstruction - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WorkerSettings - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StreamingStageLocation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DataDiskAssignment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ApproximateSplitRequest - 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 ExecutionStageState - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StreamLocation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SendWorkerMessagesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StreamingComputationConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TransformSummary - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LeaseWorkItemResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LaunchTemplateParameters - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Sink - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FlattenInstruction - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PartialGroupByKeyInstruction - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StageSource - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class InstructionInput - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StringList - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DisplayData - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GetDebugConfigRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LeaseWorkItemRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GetTemplateResponse - 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 ReportWorkItemStatusRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PipelineDescription - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StreamingConfigTask - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class JobExecutionInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Step - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FailedLocation - 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 CounterMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListJobMessagesResponse + class ApproximateProgress class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -334,331 +34,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class IntegerList + class ApproximateSplitRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class StateFamilyConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ResourceUtilizationReportResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceSplitResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ParallelInstruction - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Package - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class KeyRangeDataDiskAssignment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ParDoInstruction - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MetricUpdate - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CounterStructuredName - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ApproximateProgress - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WorkerMessageResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TemplateMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WorkerMessage - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class JobMetrics - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FloatingPointList - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CounterUpdate - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DistributionUpdate - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceFork - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WorkerHealthReportResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WorkItemStatus - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ComponentSource - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WorkItemServiceState - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MetricStructuredName - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SeqMapTaskOutputInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class JobExecutionStageInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class KeyRangeLocation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceGetMetadataRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SeqMapTask - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class NameAndKind - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WorkerMessageCode - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CustomSourceLocation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MapTask - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FloatingPointMean - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReportWorkItemStatusResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class InstructionOutput - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreateJobFromTemplateRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class IntegerMean - 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 ComputationTopology - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RuntimeEnvironment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MountedDataDisk - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StreamingSideInputLocation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LaunchTemplateResponse - 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 DynamicSourceSplit - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DerivedSource - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceOperationResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SideInputInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SendDebugCaptureResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ConcatPosition - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CounterStructuredNameAndMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WriteInstruction - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StreamingComputationRanges + class AutoscalingEvent class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -670,55 +52,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ExecutionStageSummary - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SendWorkerMessagesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LogBucket - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceSplitShard - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class CpuTime 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 StreamingComputationTask - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SendDebugCaptureRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GetDebugConfigResponse + class ComponentSource class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -730,19 +70,187 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class StreamingSetupTask + class ComputationTopology class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class PubsubLocation + class ConcatPosition class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class WorkerHealthReport + class CounterMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CounterStructuredName + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CounterStructuredNameAndMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CounterUpdate + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateJobFromTemplateRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CustomSourceLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DataDiskAssignment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DerivedSource + 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 DisplayData + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DistributionUpdate + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DynamicSourceSplit + 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 ExecutionStageState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ExecutionStageSummary + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FailedLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FlattenInstruction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FloatingPointList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FloatingPointMean + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetDebugConfigRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetDebugConfigResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetTemplateResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InstructionInput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InstructionOutput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class IntegerList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class IntegerMean + 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 JobExecutionInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class JobExecutionStageInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -754,291 +262,775 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ParameterMetadata + class JobMetrics + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class KeyRangeDataDiskAssignment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class KeyRangeLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LaunchTemplateParameters + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LaunchTemplateResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LeaseWorkItemRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LeaseWorkItemResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListJobMessagesResponse + 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 LogBucket + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MapTask + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MetricShortId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MetricStructuredName + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MetricUpdate + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MountedDataDisk class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class MultiOutputInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :tag, as: 'tag' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class SourceSplitRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :options, as: 'options', class: Google::Apis::DataflowV1b3::SourceSplitOptions, decorator: Google::Apis::DataflowV1b3::SourceSplitOptions::Representation + class NameAndKind + class Representation < Google::Apis::Core::JsonRepresentation; end - property :source, as: 'source', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation - - end + include Google::Apis::Core::JsonObjectSupport end - class SourceGetMetadataResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::DataflowV1b3::SourceMetadata, decorator: Google::Apis::DataflowV1b3::SourceMetadata::Representation + class Package + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end - class ShellTask - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :command, as: 'command' - property :exit_code, as: 'exitCode' - end + class ParDoInstruction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class MetricShortId - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metric_index, as: 'metricIndex' - property :short_id, :numeric_string => true, as: 'shortId' - end + class ParallelInstruction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class AutoscalingEvent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :time, as: 'time' - property :description, as: 'description', class: Google::Apis::DataflowV1b3::StructuredMessage, decorator: Google::Apis::DataflowV1b3::StructuredMessage::Representation + class Parameter + class Representation < Google::Apis::Core::JsonRepresentation; end - property :event_type, as: 'eventType' - property :target_num_workers, :numeric_string => true, as: 'targetNumWorkers' - property :current_num_workers, :numeric_string => true, as: 'currentNumWorkers' - end + include Google::Apis::Core::JsonObjectSupport end - class TaskRunnerSettings - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :dataflow_api_version, as: 'dataflowApiVersion' - collection :oauth_scopes, as: 'oauthScopes' - property :streaming_worker_main_class, as: 'streamingWorkerMainClass' - property :log_upload_location, as: 'logUploadLocation' - property :workflow_file_name, as: 'workflowFileName' - property :commandlines_file_name, as: 'commandlinesFileName' - property :language_hint, as: 'languageHint' - property :base_task_dir, as: 'baseTaskDir' - property :temp_storage_prefix, as: 'tempStoragePrefix' - property :base_url, as: 'baseUrl' - property :log_to_serialconsole, as: 'logToSerialconsole' - property :continue_on_exception, as: 'continueOnException' - property :parallel_worker_settings, as: 'parallelWorkerSettings', class: Google::Apis::DataflowV1b3::WorkerSettings, decorator: Google::Apis::DataflowV1b3::WorkerSettings::Representation + class ParameterMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end - property :vm_id, as: 'vmId' - property :task_user, as: 'taskUser' - property :alsologtostderr, as: 'alsologtostderr' - property :task_group, as: 'taskGroup' - property :harness_command, as: 'harnessCommand' - property :log_dir, as: 'logDir' - end + include Google::Apis::Core::JsonObjectSupport + end + + class PartialGroupByKeyInstruction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PipelineDescription + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Position - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :record_index, :numeric_string => true, as: 'recordIndex' - property :shuffle_position, as: 'shufflePosition' - property :byte_offset, :numeric_string => true, as: 'byteOffset' - property :concat_position, as: 'concatPosition', class: Google::Apis::DataflowV1b3::ConcatPosition, decorator: Google::Apis::DataflowV1b3::ConcatPosition::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :end, as: 'end' - property :key, as: 'key' - end + include Google::Apis::Core::JsonObjectSupport end - class Source - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :spec, as: 'spec' - property :metadata, as: 'metadata', class: Google::Apis::DataflowV1b3::SourceMetadata, decorator: Google::Apis::DataflowV1b3::SourceMetadata::Representation + class PubsubLocation + class Representation < Google::Apis::Core::JsonRepresentation; end - collection :base_specs, as: 'baseSpecs' - property :does_not_need_splitting, as: 'doesNotNeedSplitting' - hash :codec, as: 'codec' - end - end - - class SplitInt64 - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :low_bits, as: 'lowBits' - property :high_bits, as: 'highBits' - end - end - - class WorkerPool - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :subnetwork, as: 'subnetwork' - property :ip_configuration, as: 'ipConfiguration' - property :taskrunner_settings, as: 'taskrunnerSettings', class: Google::Apis::DataflowV1b3::TaskRunnerSettings, decorator: Google::Apis::DataflowV1b3::TaskRunnerSettings::Representation - - property :autoscaling_settings, as: 'autoscalingSettings', class: Google::Apis::DataflowV1b3::AutoscalingSettings, decorator: Google::Apis::DataflowV1b3::AutoscalingSettings::Representation - - hash :metadata, as: 'metadata' - property :network, as: 'network' - property :default_package_set, as: 'defaultPackageSet' - property :num_threads_per_worker, as: 'numThreadsPerWorker' - property :num_workers, as: 'numWorkers' - property :zone, as: 'zone' - property :disk_source_image, as: 'diskSourceImage' - collection :packages, as: 'packages', class: Google::Apis::DataflowV1b3::Package, decorator: Google::Apis::DataflowV1b3::Package::Representation - - property :teardown_policy, as: 'teardownPolicy' - property :on_host_maintenance, as: 'onHostMaintenance' - hash :pool_args, as: 'poolArgs' - property :disk_size_gb, as: 'diskSizeGb' - property :worker_harness_container_image, as: 'workerHarnessContainerImage' - property :machine_type, as: 'machineType' - property :disk_type, as: 'diskType' - property :kind, as: 'kind' - collection :data_disks, as: 'dataDisks', class: Google::Apis::DataflowV1b3::Disk, decorator: Google::Apis::DataflowV1b3::Disk::Representation - - end - end - - class SourceOperationRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :get_metadata, as: 'getMetadata', class: Google::Apis::DataflowV1b3::SourceGetMetadataRequest, decorator: Google::Apis::DataflowV1b3::SourceGetMetadataRequest::Representation - - property :split, as: 'split', class: Google::Apis::DataflowV1b3::SourceSplitRequest, decorator: Google::Apis::DataflowV1b3::SourceSplitRequest::Representation - - end - end - - class WorkItem - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :streaming_setup_task, as: 'streamingSetupTask', class: Google::Apis::DataflowV1b3::StreamingSetupTask, decorator: Google::Apis::DataflowV1b3::StreamingSetupTask::Representation - - property :report_status_interval, as: 'reportStatusInterval' - property :source_operation_task, as: 'sourceOperationTask', class: Google::Apis::DataflowV1b3::SourceOperationRequest, decorator: Google::Apis::DataflowV1b3::SourceOperationRequest::Representation - - property :lease_expire_time, as: 'leaseExpireTime' - property :streaming_config_task, as: 'streamingConfigTask', class: Google::Apis::DataflowV1b3::StreamingConfigTask, decorator: Google::Apis::DataflowV1b3::StreamingConfigTask::Representation - - property :initial_report_index, :numeric_string => true, as: 'initialReportIndex' - property :streaming_computation_task, as: 'streamingComputationTask', class: Google::Apis::DataflowV1b3::StreamingComputationTask, decorator: Google::Apis::DataflowV1b3::StreamingComputationTask::Representation - - property :shell_task, as: 'shellTask', class: Google::Apis::DataflowV1b3::ShellTask, decorator: Google::Apis::DataflowV1b3::ShellTask::Representation - - property :job_id, as: 'jobId' - property :id, :numeric_string => true, as: 'id' - property :configuration, as: 'configuration' - property :map_task, as: 'mapTask', class: Google::Apis::DataflowV1b3::MapTask, decorator: Google::Apis::DataflowV1b3::MapTask::Representation - - property :seq_map_task, as: 'seqMapTask', class: Google::Apis::DataflowV1b3::SeqMapTask, decorator: Google::Apis::DataflowV1b3::SeqMapTask::Representation - - collection :packages, as: 'packages', class: Google::Apis::DataflowV1b3::Package, decorator: Google::Apis::DataflowV1b3::Package::Representation - - property :project_id, as: 'projectId' - end - end - - class StructuredMessage - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :message_text, as: 'messageText' - collection :parameters, as: 'parameters', class: Google::Apis::DataflowV1b3::Parameter, decorator: Google::Apis::DataflowV1b3::Parameter::Representation - - property :message_key, as: 'messageKey' - end - end - - class ReportedParallelism - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :is_infinite, as: 'isInfinite' - end - end - - class ResourceUtilizationReport - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :cpu_time, as: 'cpuTime', class: Google::Apis::DataflowV1b3::CpuTime, decorator: Google::Apis::DataflowV1b3::CpuTime::Representation - - end - end - - class TopologyConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :computations, as: 'computations', class: Google::Apis::DataflowV1b3::ComputationTopology, decorator: Google::Apis::DataflowV1b3::ComputationTopology::Representation - - property :persistent_state_version, as: 'persistentStateVersion' - collection :data_disk_assignments, as: 'dataDiskAssignments', class: Google::Apis::DataflowV1b3::DataDiskAssignment, decorator: Google::Apis::DataflowV1b3::DataDiskAssignment::Representation - - property :forwarding_key_bits, as: 'forwardingKeyBits' - hash :user_stage_to_computation_name_map, as: 'userStageToComputationNameMap' - end - end - - class SourceSplitOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :desired_bundle_size_bytes, :numeric_string => true, as: 'desiredBundleSizeBytes' - property :desired_shard_size_bytes, :numeric_string => true, as: 'desiredShardSizeBytes' - end + include Google::Apis::Core::JsonObjectSupport end class ReadInstruction - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :source, as: 'source', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end - class WorkerSettings - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :service_path, as: 'servicePath' - property :shuffle_service_path, as: 'shuffleServicePath' - property :worker_id, as: 'workerId' - property :temp_storage_prefix, as: 'tempStoragePrefix' - property :reporting_enabled, as: 'reportingEnabled' - property :base_url, as: 'baseUrl' - end + class ReportWorkItemStatusRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReportWorkItemStatusResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReportedParallelism + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ResourceUtilizationReport + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ResourceUtilizationReportResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RuntimeEnvironment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SendDebugCaptureRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SendDebugCaptureResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SendWorkerMessagesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SendWorkerMessagesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SeqMapTask + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SeqMapTaskOutputInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ShellTask + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SideInputInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Sink + 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 SourceFork + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceGetMetadataRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceGetMetadataResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceOperationRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceOperationResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceSplitOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceSplitRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceSplitResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceSplitShard + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SplitInt64 + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StageSource + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StateFamilyConfig + 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 Step + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StreamLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StreamingComputationConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StreamingComputationRanges + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StreamingComputationTask + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StreamingConfigTask + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StreamingSetupTask + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StreamingSideInputLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StreamingStageLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StringList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StructuredMessage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TaskRunnerSettings + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TemplateMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TopologyConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TransformSummary + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WorkItem + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WorkItemServiceState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WorkItemStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WorkerHealthReport + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WorkerHealthReportResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WorkerMessage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WorkerMessageCode + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WorkerMessageResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WorkerPool + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WorkerSettings + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WriteInstruction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ApproximateProgress # @private class Representation < Google::Apis::Core::JsonRepresentation - property :stream_id, as: 'streamId' + property :percent_complete, as: 'percentComplete' + property :position, as: 'position', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation + + property :remaining_time, as: 'remainingTime' end end - class DataDiskAssignment + class ApproximateReportedProgress # @private class Representation < Google::Apis::Core::JsonRepresentation - property :vm_instance, as: 'vmInstance' - collection :data_disks, as: 'dataDisks' + property :consumed_parallelism, as: 'consumedParallelism', class: Google::Apis::DataflowV1b3::ReportedParallelism, decorator: Google::Apis::DataflowV1b3::ReportedParallelism::Representation + + property :fraction_consumed, as: 'fractionConsumed' + property :position, as: 'position', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation + + property :remaining_parallelism, as: 'remainingParallelism', class: Google::Apis::DataflowV1b3::ReportedParallelism, decorator: Google::Apis::DataflowV1b3::ReportedParallelism::Representation + end end class ApproximateSplitRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :fraction_consumed, as: 'fractionConsumed' property :position, as: 'position', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation - property :fraction_consumed, as: 'fractionConsumed' end end - class Status + class AutoscalingEvent # @private class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - property :message, as: 'message' - collection :details, as: 'details' + property :current_num_workers, :numeric_string => true, as: 'currentNumWorkers' + property :description, as: 'description', class: Google::Apis::DataflowV1b3::StructuredMessage, decorator: Google::Apis::DataflowV1b3::StructuredMessage::Representation + + property :event_type, as: 'eventType' + property :target_num_workers, :numeric_string => true, as: 'targetNumWorkers' + property :time, as: 'time' + end + end + + class AutoscalingSettings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :algorithm, as: 'algorithm' + property :max_num_workers, as: 'maxNumWorkers' + end + end + + class CpuTime + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :rate, as: 'rate' + property :timestamp, as: 'timestamp' + property :total_ms, :numeric_string => true, as: 'totalMs' + end + end + + class ComponentSource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :original_transform_or_collection, as: 'originalTransformOrCollection' + property :user_name, as: 'userName' + end + end + + class ComponentTransform + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :original_transform, as: 'originalTransform' + property :user_name, as: 'userName' + end + end + + class ComputationTopology + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :computation_id, as: 'computationId' + collection :inputs, as: 'inputs', class: Google::Apis::DataflowV1b3::StreamLocation, decorator: Google::Apis::DataflowV1b3::StreamLocation::Representation + + collection :key_ranges, as: 'keyRanges', class: Google::Apis::DataflowV1b3::KeyRangeLocation, decorator: Google::Apis::DataflowV1b3::KeyRangeLocation::Representation + + collection :outputs, as: 'outputs', class: Google::Apis::DataflowV1b3::StreamLocation, decorator: Google::Apis::DataflowV1b3::StreamLocation::Representation + + collection :state_families, as: 'stateFamilies', class: Google::Apis::DataflowV1b3::StateFamilyConfig, decorator: Google::Apis::DataflowV1b3::StateFamilyConfig::Representation + + property :system_stage_name, as: 'systemStageName' + end + end + + class ConcatPosition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :index, as: 'index' + property :position, as: 'position', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation + + end + end + + class CounterMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :kind, as: 'kind' + property :other_units, as: 'otherUnits' + property :standard_units, as: 'standardUnits' + end + end + + class CounterStructuredName + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :component_step_name, as: 'componentStepName' + property :execution_step_name, as: 'executionStepName' + property :name, as: 'name' + property :origin, as: 'origin' + property :origin_namespace, as: 'originNamespace' + property :original_step_name, as: 'originalStepName' + property :portion, as: 'portion' + property :worker_id, as: 'workerId' + end + end + + class CounterStructuredNameAndMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::DataflowV1b3::CounterMetadata, decorator: Google::Apis::DataflowV1b3::CounterMetadata::Representation + + property :name, as: 'name', class: Google::Apis::DataflowV1b3::CounterStructuredName, decorator: Google::Apis::DataflowV1b3::CounterStructuredName::Representation + + end + end + + class CounterUpdate + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :boolean, as: 'boolean' + property :cumulative, as: 'cumulative' + property :distribution, as: 'distribution', class: Google::Apis::DataflowV1b3::DistributionUpdate, decorator: Google::Apis::DataflowV1b3::DistributionUpdate::Representation + + property :floating_point, as: 'floatingPoint' + property :floating_point_list, as: 'floatingPointList', class: Google::Apis::DataflowV1b3::FloatingPointList, decorator: Google::Apis::DataflowV1b3::FloatingPointList::Representation + + property :floating_point_mean, as: 'floatingPointMean', class: Google::Apis::DataflowV1b3::FloatingPointMean, decorator: Google::Apis::DataflowV1b3::FloatingPointMean::Representation + + property :integer, as: 'integer', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + property :integer_list, as: 'integerList', class: Google::Apis::DataflowV1b3::IntegerList, decorator: Google::Apis::DataflowV1b3::IntegerList::Representation + + property :integer_mean, as: 'integerMean', class: Google::Apis::DataflowV1b3::IntegerMean, decorator: Google::Apis::DataflowV1b3::IntegerMean::Representation + + property :internal, as: 'internal' + property :name_and_kind, as: 'nameAndKind', class: Google::Apis::DataflowV1b3::NameAndKind, decorator: Google::Apis::DataflowV1b3::NameAndKind::Representation + + property :short_id, :numeric_string => true, as: 'shortId' + property :string_list, as: 'stringList', class: Google::Apis::DataflowV1b3::StringList, decorator: Google::Apis::DataflowV1b3::StringList::Representation + + property :structured_name_and_metadata, as: 'structuredNameAndMetadata', class: Google::Apis::DataflowV1b3::CounterStructuredNameAndMetadata, decorator: Google::Apis::DataflowV1b3::CounterStructuredNameAndMetadata::Representation + + end + end + + class CreateJobFromTemplateRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :environment, as: 'environment', class: Google::Apis::DataflowV1b3::RuntimeEnvironment, decorator: Google::Apis::DataflowV1b3::RuntimeEnvironment::Representation + + property :gcs_path, as: 'gcsPath' + property :job_name, as: 'jobName' + property :location, as: 'location' + hash :parameters, as: 'parameters' + end + end + + class CustomSourceLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :stateful, as: 'stateful' + end + end + + class DataDiskAssignment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :data_disks, as: 'dataDisks' + property :vm_instance, as: 'vmInstance' + end + end + + class DerivedSource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :derivation_mode, as: 'derivationMode' + property :source, as: 'source', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation + + end + end + + class Disk + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :disk_type, as: 'diskType' + property :mount_point, as: 'mountPoint' + property :size_gb, as: 'sizeGb' + end + end + + class DisplayData + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bool_value, as: 'boolValue' + property :duration_value, as: 'durationValue' + property :float_value, as: 'floatValue' + property :int64_value, :numeric_string => true, as: 'int64Value' + property :java_class_value, as: 'javaClassValue' + property :key, as: 'key' + property :label, as: 'label' + property :namespace, as: 'namespace' + property :short_str_value, as: 'shortStrValue' + property :str_value, as: 'strValue' + property :timestamp_value, as: 'timestampValue' + property :url, as: 'url' + end + end + + class DistributionUpdate + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :count, as: 'count', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + collection :log_buckets, as: 'logBuckets', class: Google::Apis::DataflowV1b3::LogBucket, decorator: Google::Apis::DataflowV1b3::LogBucket::Representation + + property :max, as: 'max', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + property :min, as: 'min', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + property :sum, as: 'sum', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + property :sum_of_squares, as: 'sumOfSquares' + end + end + + class DynamicSourceSplit + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :primary, as: 'primary', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation + + property :residual, as: 'residual', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation + + end + end + + class Environment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cluster_manager_api_service, as: 'clusterManagerApiService' + property :dataset, as: 'dataset' + collection :experiments, as: 'experiments' + hash :internal_experiments, as: 'internalExperiments' + hash :sdk_pipeline_options, as: 'sdkPipelineOptions' + property :service_account_email, as: 'serviceAccountEmail' + property :temp_storage_prefix, as: 'tempStoragePrefix' + hash :user_agent, as: 'userAgent' + hash :version, as: 'version' + collection :worker_pools, as: 'workerPools', class: Google::Apis::DataflowV1b3::WorkerPool, decorator: Google::Apis::DataflowV1b3::WorkerPool::Representation + end end @@ -1046,80 +1038,32 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :current_state_time, as: 'currentStateTime' - property :execution_stage_state, as: 'executionStageState' property :execution_stage_name, as: 'executionStageName' + property :execution_stage_state, as: 'executionStageState' end end - class StreamLocation + class ExecutionStageSummary # @private class Representation < Google::Apis::Core::JsonRepresentation - property :custom_source_location, as: 'customSourceLocation', class: Google::Apis::DataflowV1b3::CustomSourceLocation, decorator: Google::Apis::DataflowV1b3::CustomSourceLocation::Representation + collection :component_source, as: 'componentSource', class: Google::Apis::DataflowV1b3::ComponentSource, decorator: Google::Apis::DataflowV1b3::ComponentSource::Representation - property :side_input_location, as: 'sideInputLocation', class: Google::Apis::DataflowV1b3::StreamingSideInputLocation, decorator: Google::Apis::DataflowV1b3::StreamingSideInputLocation::Representation + collection :component_transform, as: 'componentTransform', class: Google::Apis::DataflowV1b3::ComponentTransform, decorator: Google::Apis::DataflowV1b3::ComponentTransform::Representation - property :pubsub_location, as: 'pubsubLocation', class: Google::Apis::DataflowV1b3::PubsubLocation, decorator: Google::Apis::DataflowV1b3::PubsubLocation::Representation - - property :streaming_stage_location, as: 'streamingStageLocation', class: Google::Apis::DataflowV1b3::StreamingStageLocation, decorator: Google::Apis::DataflowV1b3::StreamingStageLocation::Representation - - end - end - - class SendWorkerMessagesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :worker_message_responses, as: 'workerMessageResponses', class: Google::Apis::DataflowV1b3::WorkerMessageResponse, decorator: Google::Apis::DataflowV1b3::WorkerMessageResponse::Representation - - end - end - - class StreamingComputationConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :computation_id, as: 'computationId' - property :stage_name, as: 'stageName' - property :system_name, as: 'systemName' - collection :instructions, as: 'instructions', class: Google::Apis::DataflowV1b3::ParallelInstruction, decorator: Google::Apis::DataflowV1b3::ParallelInstruction::Representation - - end - end - - class TransformSummary - # @private - class Representation < Google::Apis::Core::JsonRepresentation property :id, as: 'id' - collection :display_data, as: 'displayData', class: Google::Apis::DataflowV1b3::DisplayData, decorator: Google::Apis::DataflowV1b3::DisplayData::Representation + collection :input_source, as: 'inputSource', class: Google::Apis::DataflowV1b3::StageSource, decorator: Google::Apis::DataflowV1b3::StageSource::Representation - collection :output_collection_name, as: 'outputCollectionName' property :kind, as: 'kind' - collection :input_collection_name, as: 'inputCollectionName' property :name, as: 'name' - end - end - - class LeaseWorkItemResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :work_items, as: 'workItems', class: Google::Apis::DataflowV1b3::WorkItem, decorator: Google::Apis::DataflowV1b3::WorkItem::Representation + collection :output_source, as: 'outputSource', class: Google::Apis::DataflowV1b3::StageSource, decorator: Google::Apis::DataflowV1b3::StageSource::Representation end end - class LaunchTemplateParameters + class FailedLocation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :environment, as: 'environment', class: Google::Apis::DataflowV1b3::RuntimeEnvironment, decorator: Google::Apis::DataflowV1b3::RuntimeEnvironment::Representation - - hash :parameters, as: 'parameters' - property :job_name, as: 'jobName' - end - end - - class Sink - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :codec, as: 'codec' - hash :spec, as: 'spec' + property :name, as: 'name' end end @@ -1131,60 +1075,19 @@ module Google end end - class PartialGroupByKeyInstruction - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :original_combine_values_input_store_name, as: 'originalCombineValuesInputStoreName' - collection :side_inputs, as: 'sideInputs', class: Google::Apis::DataflowV1b3::SideInputInfo, decorator: Google::Apis::DataflowV1b3::SideInputInfo::Representation - - property :original_combine_values_step_name, as: 'originalCombineValuesStepName' - property :input, as: 'input', class: Google::Apis::DataflowV1b3::InstructionInput, decorator: Google::Apis::DataflowV1b3::InstructionInput::Representation - - hash :input_element_codec, as: 'inputElementCodec' - hash :value_combining_fn, as: 'valueCombiningFn' - end - end - - class StageSource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :size_bytes, :numeric_string => true, as: 'sizeBytes' - property :name, as: 'name' - property :user_name, as: 'userName' - property :original_transform_or_collection, as: 'originalTransformOrCollection' - end - end - - class InstructionInput - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :producer_instruction_index, as: 'producerInstructionIndex' - property :output_num, as: 'outputNum' - end - end - - class StringList + class FloatingPointList # @private class Representation < Google::Apis::Core::JsonRepresentation collection :elements, as: 'elements' end end - class DisplayData + class FloatingPointMean # @private class Representation < Google::Apis::Core::JsonRepresentation - property :str_value, as: 'strValue' - property :duration_value, as: 'durationValue' - property :int64_value, :numeric_string => true, as: 'int64Value' - property :namespace, as: 'namespace' - property :float_value, as: 'floatValue' - property :key, as: 'key' - property :short_str_value, as: 'shortStrValue' - property :url, as: 'url' - property :label, as: 'label' - property :timestamp_value, as: 'timestampValue' - property :java_class_value, as: 'javaClassValue' - property :bool_value, as: 'boolValue' + property :count, as: 'count', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + property :sum, as: 'sum' end end @@ -1192,20 +1095,15 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :component_id, as: 'componentId' - property :worker_id, as: 'workerId' property :location, as: 'location' + property :worker_id, as: 'workerId' end end - class LeaseWorkItemRequest + class GetDebugConfigResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :worker_capabilities, as: 'workerCapabilities' - property :worker_id, as: 'workerId' - property :requested_lease_duration, as: 'requestedLeaseDuration' - property :current_worker_time, as: 'currentWorkerTime' - property :location, as: 'location' - collection :work_item_types, as: 'workItemTypes' + property :config, as: 'config' end end @@ -1219,527 +1117,11 @@ module Google end end - class Parameter + class InstructionInput # @private class Representation < Google::Apis::Core::JsonRepresentation - property :key, as: 'key' - property :value, as: 'value' - end - end - - class ReportWorkItemStatusRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :work_item_statuses, as: 'workItemStatuses', class: Google::Apis::DataflowV1b3::WorkItemStatus, decorator: Google::Apis::DataflowV1b3::WorkItemStatus::Representation - - property :current_worker_time, as: 'currentWorkerTime' - property :worker_id, as: 'workerId' - property :location, as: 'location' - end - end - - class PipelineDescription - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :original_pipeline_transform, as: 'originalPipelineTransform', class: Google::Apis::DataflowV1b3::TransformSummary, decorator: Google::Apis::DataflowV1b3::TransformSummary::Representation - - collection :display_data, as: 'displayData', class: Google::Apis::DataflowV1b3::DisplayData, decorator: Google::Apis::DataflowV1b3::DisplayData::Representation - - collection :execution_pipeline_stage, as: 'executionPipelineStage', class: Google::Apis::DataflowV1b3::ExecutionStageSummary, decorator: Google::Apis::DataflowV1b3::ExecutionStageSummary::Representation - - end - end - - class StreamingConfigTask - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :user_step_to_state_family_name_map, as: 'userStepToStateFamilyNameMap' - property :windmill_service_port, :numeric_string => true, as: 'windmillServicePort' - collection :streaming_computation_configs, as: 'streamingComputationConfigs', class: Google::Apis::DataflowV1b3::StreamingComputationConfig, decorator: Google::Apis::DataflowV1b3::StreamingComputationConfig::Representation - - property :windmill_service_endpoint, as: 'windmillServiceEndpoint' - end - end - - class JobExecutionInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :stages, as: 'stages', class: Google::Apis::DataflowV1b3::JobExecutionStageInfo, decorator: Google::Apis::DataflowV1b3::JobExecutionStageInfo::Representation - - end - end - - class Step - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :kind, as: 'kind' - hash :properties, as: 'properties' - end - end - - class FailedLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - end - end - - class Disk - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :mount_point, as: 'mountPoint' - property :disk_type, as: 'diskType' - property :size_gb, as: 'sizeGb' - end - end - - class CounterMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :kind, as: 'kind' - property :standard_units, as: 'standardUnits' - property :other_units, as: 'otherUnits' - end - end - - class ListJobMessagesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :autoscaling_events, as: 'autoscalingEvents', class: Google::Apis::DataflowV1b3::AutoscalingEvent, decorator: Google::Apis::DataflowV1b3::AutoscalingEvent::Representation - - collection :job_messages, as: 'jobMessages', class: Google::Apis::DataflowV1b3::JobMessage, decorator: Google::Apis::DataflowV1b3::JobMessage::Representation - - end - end - - class ApproximateReportedProgress - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :remaining_parallelism, as: 'remainingParallelism', class: Google::Apis::DataflowV1b3::ReportedParallelism, decorator: Google::Apis::DataflowV1b3::ReportedParallelism::Representation - - property :position, as: 'position', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation - - property :fraction_consumed, as: 'fractionConsumed' - property :consumed_parallelism, as: 'consumedParallelism', class: Google::Apis::DataflowV1b3::ReportedParallelism, decorator: Google::Apis::DataflowV1b3::ReportedParallelism::Representation - - end - end - - class IntegerList - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :elements, as: 'elements', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation - - end - end - - class StateFamilyConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :state_family, as: 'stateFamily' - property :is_read, as: 'isRead' - end - end - - class ResourceUtilizationReportResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class SourceSplitResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :bundles, as: 'bundles', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation - - collection :shards, as: 'shards', class: Google::Apis::DataflowV1b3::SourceSplitShard, decorator: Google::Apis::DataflowV1b3::SourceSplitShard::Representation - - property :outcome, as: 'outcome' - end - end - - class ParallelInstruction - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :original_name, as: 'originalName' - property :flatten, as: 'flatten', class: Google::Apis::DataflowV1b3::FlattenInstruction, decorator: Google::Apis::DataflowV1b3::FlattenInstruction::Representation - - property :write, as: 'write', class: Google::Apis::DataflowV1b3::WriteInstruction, decorator: Google::Apis::DataflowV1b3::WriteInstruction::Representation - - property :system_name, as: 'systemName' - property :partial_group_by_key, as: 'partialGroupByKey', class: Google::Apis::DataflowV1b3::PartialGroupByKeyInstruction, decorator: Google::Apis::DataflowV1b3::PartialGroupByKeyInstruction::Representation - - collection :outputs, as: 'outputs', class: Google::Apis::DataflowV1b3::InstructionOutput, decorator: Google::Apis::DataflowV1b3::InstructionOutput::Representation - - property :name, as: 'name' - property :read, as: 'read', class: Google::Apis::DataflowV1b3::ReadInstruction, decorator: Google::Apis::DataflowV1b3::ReadInstruction::Representation - - property :par_do, as: 'parDo', class: Google::Apis::DataflowV1b3::ParDoInstruction, decorator: Google::Apis::DataflowV1b3::ParDoInstruction::Representation - - end - end - - class Package - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :location, as: 'location' - property :name, as: 'name' - end - end - - class KeyRangeDataDiskAssignment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :data_disk, as: 'dataDisk' - property :start, as: 'start' - property :end, as: 'end' - end - end - - class ParDoInstruction - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :side_inputs, as: 'sideInputs', class: Google::Apis::DataflowV1b3::SideInputInfo, decorator: Google::Apis::DataflowV1b3::SideInputInfo::Representation - - collection :multi_output_infos, as: 'multiOutputInfos', class: Google::Apis::DataflowV1b3::MultiOutputInfo, decorator: Google::Apis::DataflowV1b3::MultiOutputInfo::Representation - - hash :user_fn, as: 'userFn' - property :input, as: 'input', class: Google::Apis::DataflowV1b3::InstructionInput, decorator: Google::Apis::DataflowV1b3::InstructionInput::Representation - - property :num_outputs, as: 'numOutputs' - end - end - - class MetricUpdate - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :internal, as: 'internal' - property :cumulative, as: 'cumulative' - property :kind, as: 'kind' - property :scalar, as: 'scalar' - property :mean_count, as: 'meanCount' - property :mean_sum, as: 'meanSum' - property :update_time, as: 'updateTime' - property :name, as: 'name', class: Google::Apis::DataflowV1b3::MetricStructuredName, decorator: Google::Apis::DataflowV1b3::MetricStructuredName::Representation - - property :distribution, as: 'distribution' - property :set, as: 'set' - end - end - - class CounterStructuredName - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :component_step_name, as: 'componentStepName' - property :portion, as: 'portion' - property :original_step_name, as: 'originalStepName' - property :worker_id, as: 'workerId' - property :origin_namespace, as: 'originNamespace' - property :name, as: 'name' - property :execution_step_name, as: 'executionStepName' - property :origin, as: 'origin' - end - end - - class ApproximateProgress - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :percent_complete, as: 'percentComplete' - property :remaining_time, as: 'remainingTime' - property :position, as: 'position', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation - - end - end - - class WorkerMessageResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :worker_metrics_response, as: 'workerMetricsResponse', class: Google::Apis::DataflowV1b3::ResourceUtilizationReportResponse, decorator: Google::Apis::DataflowV1b3::ResourceUtilizationReportResponse::Representation - - property :worker_health_report_response, as: 'workerHealthReportResponse', class: Google::Apis::DataflowV1b3::WorkerHealthReportResponse, decorator: Google::Apis::DataflowV1b3::WorkerHealthReportResponse::Representation - - end - end - - class TemplateMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :parameters, as: 'parameters', class: Google::Apis::DataflowV1b3::ParameterMetadata, decorator: Google::Apis::DataflowV1b3::ParameterMetadata::Representation - - property :name, as: 'name' - property :description, as: 'description' - end - end - - class WorkerMessage - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :worker_health_report, as: 'workerHealthReport', class: Google::Apis::DataflowV1b3::WorkerHealthReport, decorator: Google::Apis::DataflowV1b3::WorkerHealthReport::Representation - - property :worker_metrics, as: 'workerMetrics', class: Google::Apis::DataflowV1b3::ResourceUtilizationReport, decorator: Google::Apis::DataflowV1b3::ResourceUtilizationReport::Representation - - property :worker_message_code, as: 'workerMessageCode', class: Google::Apis::DataflowV1b3::WorkerMessageCode, decorator: Google::Apis::DataflowV1b3::WorkerMessageCode::Representation - - hash :labels, as: 'labels' - property :time, as: 'time' - end - end - - class JobMetrics - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :metrics, as: 'metrics', class: Google::Apis::DataflowV1b3::MetricUpdate, decorator: Google::Apis::DataflowV1b3::MetricUpdate::Representation - - property :metric_time, as: 'metricTime' - end - end - - class FloatingPointList - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :elements, as: 'elements' - end - end - - class CounterUpdate - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :floating_point_list, as: 'floatingPointList', class: Google::Apis::DataflowV1b3::FloatingPointList, decorator: Google::Apis::DataflowV1b3::FloatingPointList::Representation - - property :integer, as: 'integer', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation - - property :structured_name_and_metadata, as: 'structuredNameAndMetadata', class: Google::Apis::DataflowV1b3::CounterStructuredNameAndMetadata, decorator: Google::Apis::DataflowV1b3::CounterStructuredNameAndMetadata::Representation - - property :integer_list, as: 'integerList', class: Google::Apis::DataflowV1b3::IntegerList, decorator: Google::Apis::DataflowV1b3::IntegerList::Representation - - property :integer_mean, as: 'integerMean', class: Google::Apis::DataflowV1b3::IntegerMean, decorator: Google::Apis::DataflowV1b3::IntegerMean::Representation - - property :floating_point, as: 'floatingPoint' - property :internal, as: 'internal' - property :cumulative, as: 'cumulative' - property :floating_point_mean, as: 'floatingPointMean', class: Google::Apis::DataflowV1b3::FloatingPointMean, decorator: Google::Apis::DataflowV1b3::FloatingPointMean::Representation - - property :boolean, as: 'boolean' - property :name_and_kind, as: 'nameAndKind', class: Google::Apis::DataflowV1b3::NameAndKind, decorator: Google::Apis::DataflowV1b3::NameAndKind::Representation - - property :string_list, as: 'stringList', class: Google::Apis::DataflowV1b3::StringList, decorator: Google::Apis::DataflowV1b3::StringList::Representation - - property :distribution, as: 'distribution', class: Google::Apis::DataflowV1b3::DistributionUpdate, decorator: Google::Apis::DataflowV1b3::DistributionUpdate::Representation - - property :short_id, :numeric_string => true, as: 'shortId' - end - end - - class SourceMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :estimated_size_bytes, :numeric_string => true, as: 'estimatedSizeBytes' - property :infinite, as: 'infinite' - property :produces_sorted_keys, as: 'producesSortedKeys' - end - end - - class DistributionUpdate - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :max, as: 'max', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation - - collection :log_buckets, as: 'logBuckets', class: Google::Apis::DataflowV1b3::LogBucket, decorator: Google::Apis::DataflowV1b3::LogBucket::Representation - - property :count, as: 'count', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation - - property :min, as: 'min', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation - - property :sum_of_squares, as: 'sumOfSquares' - property :sum, as: 'sum', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation - - end - end - - class SourceFork - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :primary_source, as: 'primarySource', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation - - property :residual, as: 'residual', class: Google::Apis::DataflowV1b3::SourceSplitShard, decorator: Google::Apis::DataflowV1b3::SourceSplitShard::Representation - - property :residual_source, as: 'residualSource', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation - - property :primary, as: 'primary', class: Google::Apis::DataflowV1b3::SourceSplitShard, decorator: Google::Apis::DataflowV1b3::SourceSplitShard::Representation - - end - end - - class WorkerHealthReportResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :report_interval, as: 'reportInterval' - end - end - - class WorkItemStatus - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :counter_updates, as: 'counterUpdates', class: Google::Apis::DataflowV1b3::CounterUpdate, decorator: Google::Apis::DataflowV1b3::CounterUpdate::Representation - - property :work_item_id, as: 'workItemId' - collection :metric_updates, as: 'metricUpdates', class: Google::Apis::DataflowV1b3::MetricUpdate, decorator: Google::Apis::DataflowV1b3::MetricUpdate::Representation - - collection :errors, as: 'errors', class: Google::Apis::DataflowV1b3::Status, decorator: Google::Apis::DataflowV1b3::Status::Representation - - property :dynamic_source_split, as: 'dynamicSourceSplit', class: Google::Apis::DataflowV1b3::DynamicSourceSplit, decorator: Google::Apis::DataflowV1b3::DynamicSourceSplit::Representation - - property :source_operation_response, as: 'sourceOperationResponse', class: Google::Apis::DataflowV1b3::SourceOperationResponse, decorator: Google::Apis::DataflowV1b3::SourceOperationResponse::Representation - - property :progress, as: 'progress', class: Google::Apis::DataflowV1b3::ApproximateProgress, decorator: Google::Apis::DataflowV1b3::ApproximateProgress::Representation - - property :requested_lease_duration, as: 'requestedLeaseDuration' - property :report_index, :numeric_string => true, as: 'reportIndex' - property :stop_position, as: 'stopPosition', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation - - property :completed, as: 'completed' - property :reported_progress, as: 'reportedProgress', class: Google::Apis::DataflowV1b3::ApproximateReportedProgress, decorator: Google::Apis::DataflowV1b3::ApproximateReportedProgress::Representation - - property :source_fork, as: 'sourceFork', class: Google::Apis::DataflowV1b3::SourceFork, decorator: Google::Apis::DataflowV1b3::SourceFork::Representation - - end - end - - class ComponentSource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :user_name, as: 'userName' - property :original_transform_or_collection, as: 'originalTransformOrCollection' - end - end - - class WorkItemServiceState - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :suggested_stop_point, as: 'suggestedStopPoint', class: Google::Apis::DataflowV1b3::ApproximateProgress, decorator: Google::Apis::DataflowV1b3::ApproximateProgress::Representation - - property :split_request, as: 'splitRequest', class: Google::Apis::DataflowV1b3::ApproximateSplitRequest, decorator: Google::Apis::DataflowV1b3::ApproximateSplitRequest::Representation - - property :suggested_stop_position, as: 'suggestedStopPosition', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation - - property :report_status_interval, as: 'reportStatusInterval' - hash :harness_data, as: 'harnessData' - property :lease_expire_time, as: 'leaseExpireTime' - collection :metric_short_id, as: 'metricShortId', class: Google::Apis::DataflowV1b3::MetricShortId, decorator: Google::Apis::DataflowV1b3::MetricShortId::Representation - - property :next_report_index, :numeric_string => true, as: 'nextReportIndex' - end - end - - class MetricStructuredName - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :context, as: 'context' - property :name, as: 'name' - property :origin, as: 'origin' - end - end - - class SeqMapTaskOutputInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :tag, as: 'tag' - property :sink, as: 'sink', class: Google::Apis::DataflowV1b3::Sink, decorator: Google::Apis::DataflowV1b3::Sink::Representation - - end - end - - class JobExecutionStageInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :step_name, as: 'stepName' - end - end - - class KeyRangeLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :delivery_endpoint, as: 'deliveryEndpoint' - property :data_disk, as: 'dataDisk' - property :start, as: 'start' - property :end, as: 'end' - property :deprecated_persistent_directory, as: 'deprecatedPersistentDirectory' - end - end - - class SourceGetMetadataRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :source, as: 'source', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation - - end - end - - class SeqMapTask - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - collection :output_infos, as: 'outputInfos', class: Google::Apis::DataflowV1b3::SeqMapTaskOutputInfo, decorator: Google::Apis::DataflowV1b3::SeqMapTaskOutputInfo::Representation - - collection :inputs, as: 'inputs', class: Google::Apis::DataflowV1b3::SideInputInfo, decorator: Google::Apis::DataflowV1b3::SideInputInfo::Representation - - property :stage_name, as: 'stageName' - property :system_name, as: 'systemName' - hash :user_fn, as: 'userFn' - end - end - - class NameAndKind - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :kind, as: 'kind' - end - end - - class WorkerMessageCode - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :parameters, as: 'parameters' - property :code, as: 'code' - end - end - - class CustomSourceLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :stateful, as: 'stateful' - end - end - - class MapTask - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :stage_name, as: 'stageName' - property :system_name, as: 'systemName' - collection :instructions, as: 'instructions', class: Google::Apis::DataflowV1b3::ParallelInstruction, decorator: Google::Apis::DataflowV1b3::ParallelInstruction::Representation - - end - end - - class FloatingPointMean - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :count, as: 'count', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation - - property :sum, as: 'sum' - end - end - - class ReportWorkItemStatusResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :work_item_service_states, as: 'workItemServiceStates', class: Google::Apis::DataflowV1b3::WorkItemServiceState, decorator: Google::Apis::DataflowV1b3::WorkItemServiceState::Representation - + property :output_num, as: 'outputNum' + property :producer_instruction_index, as: 'producerInstructionIndex' end end @@ -1748,22 +1130,18 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation hash :codec, as: 'codec' property :name, as: 'name' - property :original_name, as: 'originalName' - property :system_name, as: 'systemName' property :only_count_key_bytes, as: 'onlyCountKeyBytes' property :only_count_value_bytes, as: 'onlyCountValueBytes' + property :original_name, as: 'originalName' + property :system_name, as: 'systemName' end end - class CreateJobFromTemplateRequest + class IntegerList # @private class Representation < Google::Apis::Core::JsonRepresentation - property :job_name, as: 'jobName' - property :gcs_path, as: 'gcsPath' - property :environment, as: 'environment', class: Google::Apis::DataflowV1b3::RuntimeEnvironment, decorator: Google::Apis::DataflowV1b3::RuntimeEnvironment::Representation + collection :elements, as: 'elements', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation - property :location, as: 'location' - hash :parameters, as: 'parameters' end end @@ -1777,327 +1155,49 @@ module Google end end - class ListJobsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :failed_location, as: 'failedLocation', class: Google::Apis::DataflowV1b3::FailedLocation, decorator: Google::Apis::DataflowV1b3::FailedLocation::Representation - - property :next_page_token, as: 'nextPageToken' - collection :jobs, as: 'jobs', class: Google::Apis::DataflowV1b3::Job, decorator: Google::Apis::DataflowV1b3::Job::Representation - - end - end - - class ComputationTopology - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :system_stage_name, as: 'systemStageName' - property :computation_id, as: 'computationId' - collection :inputs, as: 'inputs', class: Google::Apis::DataflowV1b3::StreamLocation, decorator: Google::Apis::DataflowV1b3::StreamLocation::Representation - - collection :key_ranges, as: 'keyRanges', class: Google::Apis::DataflowV1b3::KeyRangeLocation, decorator: Google::Apis::DataflowV1b3::KeyRangeLocation::Representation - - collection :state_families, as: 'stateFamilies', class: Google::Apis::DataflowV1b3::StateFamilyConfig, decorator: Google::Apis::DataflowV1b3::StateFamilyConfig::Representation - - collection :outputs, as: 'outputs', class: Google::Apis::DataflowV1b3::StreamLocation, decorator: Google::Apis::DataflowV1b3::StreamLocation::Representation - - end - end - - class RuntimeEnvironment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :machine_type, as: 'machineType' - property :zone, as: 'zone' - property :max_workers, as: 'maxWorkers' - property :service_account_email, as: 'serviceAccountEmail' - property :temp_location, as: 'tempLocation' - property :bypass_temp_dir_validation, as: 'bypassTempDirValidation' - end - end - - class MountedDataDisk - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :data_disk, as: 'dataDisk' - end - end - - class StreamingSideInputLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :tag, as: 'tag' - property :state_family, as: 'stateFamily' - end - end - - class LaunchTemplateResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :job, as: 'job', class: Google::Apis::DataflowV1b3::Job, decorator: Google::Apis::DataflowV1b3::Job::Representation - - end - end - class Job # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :stage_states, as: 'stageStates', class: Google::Apis::DataflowV1b3::ExecutionStageState, decorator: Google::Apis::DataflowV1b3::ExecutionStageState::Representation - - property :project_id, as: 'projectId' - property :type, as: 'type' - property :pipeline_description, as: 'pipelineDescription', class: Google::Apis::DataflowV1b3::PipelineDescription, decorator: Google::Apis::DataflowV1b3::PipelineDescription::Representation - - property :replace_job_id, as: 'replaceJobId' - property :requested_state, as: 'requestedState' - collection :temp_files, as: 'tempFiles' property :client_request_id, as: 'clientRequestId' - property :name, as: 'name' - collection :steps, as: 'steps', class: Google::Apis::DataflowV1b3::Step, decorator: Google::Apis::DataflowV1b3::Step::Representation + property :create_time, as: 'createTime' + property :current_state, as: 'currentState' + property :current_state_time, as: 'currentStateTime' + property :environment, as: 'environment', class: Google::Apis::DataflowV1b3::Environment, decorator: Google::Apis::DataflowV1b3::Environment::Representation - property :replaced_by_job_id, as: 'replacedByJobId' property :execution_info, as: 'executionInfo', class: Google::Apis::DataflowV1b3::JobExecutionInfo, decorator: Google::Apis::DataflowV1b3::JobExecutionInfo::Representation property :id, as: 'id' - property :current_state, as: 'currentState' - property :location, as: 'location' - property :current_state_time, as: 'currentStateTime' - hash :transform_name_mapping, as: 'transformNameMapping' hash :labels, as: 'labels' - property :environment, as: 'environment', class: Google::Apis::DataflowV1b3::Environment, decorator: Google::Apis::DataflowV1b3::Environment::Representation - - property :create_time, as: 'createTime' - end - end - - class DynamicSourceSplit - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :residual, as: 'residual', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation - - property :primary, as: 'primary', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation - - end - end - - class DerivedSource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :source, as: 'source', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation - - property :derivation_mode, as: 'derivationMode' - end - end - - class SourceOperationResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :split, as: 'split', class: Google::Apis::DataflowV1b3::SourceSplitResponse, decorator: Google::Apis::DataflowV1b3::SourceSplitResponse::Representation - - property :get_metadata, as: 'getMetadata', class: Google::Apis::DataflowV1b3::SourceGetMetadataResponse, decorator: Google::Apis::DataflowV1b3::SourceGetMetadataResponse::Representation - - end - end - - class SideInputInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :tag, as: 'tag' - hash :kind, as: 'kind' - collection :sources, as: 'sources', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation - - end - end - - class SendDebugCaptureResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class ConcatPosition - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :position, as: 'position', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation - - property :index, as: 'index' - end - end - - class CounterStructuredNameAndMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name', class: Google::Apis::DataflowV1b3::CounterStructuredName, decorator: Google::Apis::DataflowV1b3::CounterStructuredName::Representation - - property :metadata, as: 'metadata', class: Google::Apis::DataflowV1b3::CounterMetadata, decorator: Google::Apis::DataflowV1b3::CounterMetadata::Representation - - end - end - - class WriteInstruction - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :sink, as: 'sink', class: Google::Apis::DataflowV1b3::Sink, decorator: Google::Apis::DataflowV1b3::Sink::Representation - - property :input, as: 'input', class: Google::Apis::DataflowV1b3::InstructionInput, decorator: Google::Apis::DataflowV1b3::InstructionInput::Representation - - end - end - - class StreamingComputationRanges - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :range_assignments, as: 'rangeAssignments', class: Google::Apis::DataflowV1b3::KeyRangeDataDiskAssignment, decorator: Google::Apis::DataflowV1b3::KeyRangeDataDiskAssignment::Representation - - property :computation_id, as: 'computationId' - end - end - - class AutoscalingSettings - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :algorithm, as: 'algorithm' - property :max_num_workers, as: 'maxNumWorkers' - end - end - - class ExecutionStageSummary - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :component_source, as: 'componentSource', class: Google::Apis::DataflowV1b3::ComponentSource, decorator: Google::Apis::DataflowV1b3::ComponentSource::Representation - - property :kind, as: 'kind' - collection :output_source, as: 'outputSource', class: Google::Apis::DataflowV1b3::StageSource, decorator: Google::Apis::DataflowV1b3::StageSource::Representation - - property :name, as: 'name' - collection :input_source, as: 'inputSource', class: Google::Apis::DataflowV1b3::StageSource, decorator: Google::Apis::DataflowV1b3::StageSource::Representation - - property :id, as: 'id' - collection :component_transform, as: 'componentTransform', class: Google::Apis::DataflowV1b3::ComponentTransform, decorator: Google::Apis::DataflowV1b3::ComponentTransform::Representation - - end - end - - class SendWorkerMessagesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :worker_messages, as: 'workerMessages', class: Google::Apis::DataflowV1b3::WorkerMessage, decorator: Google::Apis::DataflowV1b3::WorkerMessage::Representation - property :location, as: 'location' - end - end - - class LogBucket - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :log, as: 'log' - property :count, :numeric_string => true, as: 'count' - end - end - - class SourceSplitShard - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :derivation_mode, as: 'derivationMode' - property :source, as: 'source', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation - - end - end - - class CpuTime - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :total_ms, :numeric_string => true, as: 'totalMs' - property :rate, as: 'rate' - property :timestamp, as: 'timestamp' - end - end - - class Environment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :cluster_manager_api_service, as: 'clusterManagerApiService' - property :temp_storage_prefix, as: 'tempStoragePrefix' - collection :worker_pools, as: 'workerPools', class: Google::Apis::DataflowV1b3::WorkerPool, decorator: Google::Apis::DataflowV1b3::WorkerPool::Representation - - property :dataset, as: 'dataset' - collection :experiments, as: 'experiments' - hash :version, as: 'version' - hash :internal_experiments, as: 'internalExperiments' - property :service_account_email, as: 'serviceAccountEmail' - hash :user_agent, as: 'userAgent' - hash :sdk_pipeline_options, as: 'sdkPipelineOptions' - end - end - - class StreamingComputationTask - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :data_disks, as: 'dataDisks', class: Google::Apis::DataflowV1b3::MountedDataDisk, decorator: Google::Apis::DataflowV1b3::MountedDataDisk::Representation - - property :task_type, as: 'taskType' - collection :computation_ranges, as: 'computationRanges', class: Google::Apis::DataflowV1b3::StreamingComputationRanges, decorator: Google::Apis::DataflowV1b3::StreamingComputationRanges::Representation - - end - end - - class SendDebugCaptureRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :location, as: 'location' - property :data, as: 'data' - property :component_id, as: 'componentId' - property :worker_id, as: 'workerId' - end - end - - class GetDebugConfigResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :config, as: 'config' - end - end - - class ComponentTransform - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :original_transform, as: 'originalTransform' property :name, as: 'name' - property :user_name, as: 'userName' + property :pipeline_description, as: 'pipelineDescription', class: Google::Apis::DataflowV1b3::PipelineDescription, decorator: Google::Apis::DataflowV1b3::PipelineDescription::Representation + + property :project_id, as: 'projectId' + property :replace_job_id, as: 'replaceJobId' + property :replaced_by_job_id, as: 'replacedByJobId' + property :requested_state, as: 'requestedState' + collection :stage_states, as: 'stageStates', class: Google::Apis::DataflowV1b3::ExecutionStageState, decorator: Google::Apis::DataflowV1b3::ExecutionStageState::Representation + + collection :steps, as: 'steps', class: Google::Apis::DataflowV1b3::Step, decorator: Google::Apis::DataflowV1b3::Step::Representation + + collection :temp_files, as: 'tempFiles' + hash :transform_name_mapping, as: 'transformNameMapping' + property :type, as: 'type' end end - class StreamingSetupTask + class JobExecutionInfo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :streaming_computation_topology, as: 'streamingComputationTopology', class: Google::Apis::DataflowV1b3::TopologyConfig, decorator: Google::Apis::DataflowV1b3::TopologyConfig::Representation + hash :stages, as: 'stages', class: Google::Apis::DataflowV1b3::JobExecutionStageInfo, decorator: Google::Apis::DataflowV1b3::JobExecutionStageInfo::Representation - property :drain, as: 'drain' - property :worker_harness_port, as: 'workerHarnessPort' - property :receive_work_port, as: 'receiveWorkPort' end end - class PubsubLocation + class JobExecutionStageInfo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :topic, as: 'topic' - property :timestamp_label, as: 'timestampLabel' - property :subscription, as: 'subscription' - property :drop_late_data, as: 'dropLateData' - property :tracking_subscription, as: 'trackingSubscription' - property :with_attributes, as: 'withAttributes' - property :id_label, as: 'idLabel' - end - end - - class WorkerHealthReport - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :pods, as: 'pods' - property :vm_startup_time, as: 'vmStartupTime' - property :report_interval, as: 'reportInterval' - property :vm_is_healthy, as: 'vmIsHealthy' + collection :step_name, as: 'stepName' end end @@ -2111,14 +1211,914 @@ module Google end end + class JobMetrics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metric_time, as: 'metricTime' + collection :metrics, as: 'metrics', class: Google::Apis::DataflowV1b3::MetricUpdate, decorator: Google::Apis::DataflowV1b3::MetricUpdate::Representation + + end + end + + class KeyRangeDataDiskAssignment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_disk, as: 'dataDisk' + property :end, as: 'end' + property :start, as: 'start' + end + end + + class KeyRangeLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_disk, as: 'dataDisk' + property :delivery_endpoint, as: 'deliveryEndpoint' + property :deprecated_persistent_directory, as: 'deprecatedPersistentDirectory' + property :end, as: 'end' + property :start, as: 'start' + end + end + + class LaunchTemplateParameters + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :environment, as: 'environment', class: Google::Apis::DataflowV1b3::RuntimeEnvironment, decorator: Google::Apis::DataflowV1b3::RuntimeEnvironment::Representation + + property :job_name, as: 'jobName' + hash :parameters, as: 'parameters' + end + end + + class LaunchTemplateResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :job, as: 'job', class: Google::Apis::DataflowV1b3::Job, decorator: Google::Apis::DataflowV1b3::Job::Representation + + end + end + + class LeaseWorkItemRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :current_worker_time, as: 'currentWorkerTime' + property :location, as: 'location' + property :requested_lease_duration, as: 'requestedLeaseDuration' + collection :work_item_types, as: 'workItemTypes' + collection :worker_capabilities, as: 'workerCapabilities' + property :worker_id, as: 'workerId' + end + end + + class LeaseWorkItemResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :work_items, as: 'workItems', class: Google::Apis::DataflowV1b3::WorkItem, decorator: Google::Apis::DataflowV1b3::WorkItem::Representation + + end + end + + class ListJobMessagesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :autoscaling_events, as: 'autoscalingEvents', class: Google::Apis::DataflowV1b3::AutoscalingEvent, decorator: Google::Apis::DataflowV1b3::AutoscalingEvent::Representation + + collection :job_messages, as: 'jobMessages', class: Google::Apis::DataflowV1b3::JobMessage, decorator: Google::Apis::DataflowV1b3::JobMessage::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListJobsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :failed_location, as: 'failedLocation', class: Google::Apis::DataflowV1b3::FailedLocation, decorator: Google::Apis::DataflowV1b3::FailedLocation::Representation + + collection :jobs, as: 'jobs', class: Google::Apis::DataflowV1b3::Job, decorator: Google::Apis::DataflowV1b3::Job::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class LogBucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :count, :numeric_string => true, as: 'count' + property :log, as: 'log' + end + end + + class MapTask + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :instructions, as: 'instructions', class: Google::Apis::DataflowV1b3::ParallelInstruction, decorator: Google::Apis::DataflowV1b3::ParallelInstruction::Representation + + property :stage_name, as: 'stageName' + property :system_name, as: 'systemName' + end + end + + class MetricShortId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metric_index, as: 'metricIndex' + property :short_id, :numeric_string => true, as: 'shortId' + end + end + + class MetricStructuredName + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :context, as: 'context' + property :name, as: 'name' + property :origin, as: 'origin' + end + end + + class MetricUpdate + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cumulative, as: 'cumulative' + property :distribution, as: 'distribution' + property :internal, as: 'internal' + property :kind, as: 'kind' + property :mean_count, as: 'meanCount' + property :mean_sum, as: 'meanSum' + property :name, as: 'name', class: Google::Apis::DataflowV1b3::MetricStructuredName, decorator: Google::Apis::DataflowV1b3::MetricStructuredName::Representation + + property :scalar, as: 'scalar' + property :set, as: 'set' + property :update_time, as: 'updateTime' + end + end + + class MountedDataDisk + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_disk, as: 'dataDisk' + end + end + + class MultiOutputInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :tag, as: 'tag' + end + end + + class NameAndKind + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :name, as: 'name' + end + end + + class Package + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :location, as: 'location' + property :name, as: 'name' + end + end + + class ParDoInstruction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :input, as: 'input', class: Google::Apis::DataflowV1b3::InstructionInput, decorator: Google::Apis::DataflowV1b3::InstructionInput::Representation + + collection :multi_output_infos, as: 'multiOutputInfos', class: Google::Apis::DataflowV1b3::MultiOutputInfo, decorator: Google::Apis::DataflowV1b3::MultiOutputInfo::Representation + + property :num_outputs, as: 'numOutputs' + collection :side_inputs, as: 'sideInputs', class: Google::Apis::DataflowV1b3::SideInputInfo, decorator: Google::Apis::DataflowV1b3::SideInputInfo::Representation + + hash :user_fn, as: 'userFn' + end + end + + class ParallelInstruction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :flatten, as: 'flatten', class: Google::Apis::DataflowV1b3::FlattenInstruction, decorator: Google::Apis::DataflowV1b3::FlattenInstruction::Representation + + property :name, as: 'name' + property :original_name, as: 'originalName' + collection :outputs, as: 'outputs', class: Google::Apis::DataflowV1b3::InstructionOutput, decorator: Google::Apis::DataflowV1b3::InstructionOutput::Representation + + property :par_do, as: 'parDo', class: Google::Apis::DataflowV1b3::ParDoInstruction, decorator: Google::Apis::DataflowV1b3::ParDoInstruction::Representation + + property :partial_group_by_key, as: 'partialGroupByKey', class: Google::Apis::DataflowV1b3::PartialGroupByKeyInstruction, decorator: Google::Apis::DataflowV1b3::PartialGroupByKeyInstruction::Representation + + property :read, as: 'read', class: Google::Apis::DataflowV1b3::ReadInstruction, decorator: Google::Apis::DataflowV1b3::ReadInstruction::Representation + + property :system_name, as: 'systemName' + property :write, as: 'write', class: Google::Apis::DataflowV1b3::WriteInstruction, decorator: Google::Apis::DataflowV1b3::WriteInstruction::Representation + + end + end + + class Parameter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + class ParameterMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :regexes, as: 'regexes' - property :label, as: 'label' property :help_text, as: 'helpText' property :is_optional, as: 'isOptional' + property :label, as: 'label' property :name, as: 'name' + collection :regexes, as: 'regexes' + end + end + + class PartialGroupByKeyInstruction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :input, as: 'input', class: Google::Apis::DataflowV1b3::InstructionInput, decorator: Google::Apis::DataflowV1b3::InstructionInput::Representation + + hash :input_element_codec, as: 'inputElementCodec' + property :original_combine_values_input_store_name, as: 'originalCombineValuesInputStoreName' + property :original_combine_values_step_name, as: 'originalCombineValuesStepName' + collection :side_inputs, as: 'sideInputs', class: Google::Apis::DataflowV1b3::SideInputInfo, decorator: Google::Apis::DataflowV1b3::SideInputInfo::Representation + + hash :value_combining_fn, as: 'valueCombiningFn' + end + end + + class PipelineDescription + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :display_data, as: 'displayData', class: Google::Apis::DataflowV1b3::DisplayData, decorator: Google::Apis::DataflowV1b3::DisplayData::Representation + + collection :execution_pipeline_stage, as: 'executionPipelineStage', class: Google::Apis::DataflowV1b3::ExecutionStageSummary, decorator: Google::Apis::DataflowV1b3::ExecutionStageSummary::Representation + + collection :original_pipeline_transform, as: 'originalPipelineTransform', class: Google::Apis::DataflowV1b3::TransformSummary, decorator: Google::Apis::DataflowV1b3::TransformSummary::Representation + + end + end + + class Position + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :byte_offset, :numeric_string => true, as: 'byteOffset' + property :concat_position, as: 'concatPosition', class: Google::Apis::DataflowV1b3::ConcatPosition, decorator: Google::Apis::DataflowV1b3::ConcatPosition::Representation + + property :end, as: 'end' + property :key, as: 'key' + property :record_index, :numeric_string => true, as: 'recordIndex' + property :shuffle_position, as: 'shufflePosition' + end + end + + class PubsubLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :drop_late_data, as: 'dropLateData' + property :id_label, as: 'idLabel' + property :subscription, as: 'subscription' + property :timestamp_label, as: 'timestampLabel' + property :topic, as: 'topic' + property :tracking_subscription, as: 'trackingSubscription' + property :with_attributes, as: 'withAttributes' + end + end + + class ReadInstruction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :source, as: 'source', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation + + end + end + + class ReportWorkItemStatusRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :current_worker_time, as: 'currentWorkerTime' + property :location, as: 'location' + collection :work_item_statuses, as: 'workItemStatuses', class: Google::Apis::DataflowV1b3::WorkItemStatus, decorator: Google::Apis::DataflowV1b3::WorkItemStatus::Representation + + property :worker_id, as: 'workerId' + end + end + + class ReportWorkItemStatusResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :work_item_service_states, as: 'workItemServiceStates', class: Google::Apis::DataflowV1b3::WorkItemServiceState, decorator: Google::Apis::DataflowV1b3::WorkItemServiceState::Representation + + end + end + + class ReportedParallelism + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :is_infinite, as: 'isInfinite' + property :value, as: 'value' + end + end + + class ResourceUtilizationReport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :cpu_time, as: 'cpuTime', class: Google::Apis::DataflowV1b3::CpuTime, decorator: Google::Apis::DataflowV1b3::CpuTime::Representation + + end + end + + class ResourceUtilizationReportResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class RuntimeEnvironment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bypass_temp_dir_validation, as: 'bypassTempDirValidation' + property :machine_type, as: 'machineType' + property :max_workers, as: 'maxWorkers' + property :service_account_email, as: 'serviceAccountEmail' + property :temp_location, as: 'tempLocation' + property :zone, as: 'zone' + end + end + + class SendDebugCaptureRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :component_id, as: 'componentId' + property :data, as: 'data' + property :location, as: 'location' + property :worker_id, as: 'workerId' + end + end + + class SendDebugCaptureResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class SendWorkerMessagesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :location, as: 'location' + collection :worker_messages, as: 'workerMessages', class: Google::Apis::DataflowV1b3::WorkerMessage, decorator: Google::Apis::DataflowV1b3::WorkerMessage::Representation + + end + end + + class SendWorkerMessagesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :worker_message_responses, as: 'workerMessageResponses', class: Google::Apis::DataflowV1b3::WorkerMessageResponse, decorator: Google::Apis::DataflowV1b3::WorkerMessageResponse::Representation + + end + end + + class SeqMapTask + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :inputs, as: 'inputs', class: Google::Apis::DataflowV1b3::SideInputInfo, decorator: Google::Apis::DataflowV1b3::SideInputInfo::Representation + + property :name, as: 'name' + collection :output_infos, as: 'outputInfos', class: Google::Apis::DataflowV1b3::SeqMapTaskOutputInfo, decorator: Google::Apis::DataflowV1b3::SeqMapTaskOutputInfo::Representation + + property :stage_name, as: 'stageName' + property :system_name, as: 'systemName' + hash :user_fn, as: 'userFn' + end + end + + class SeqMapTaskOutputInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :sink, as: 'sink', class: Google::Apis::DataflowV1b3::Sink, decorator: Google::Apis::DataflowV1b3::Sink::Representation + + property :tag, as: 'tag' + end + end + + class ShellTask + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :command, as: 'command' + property :exit_code, as: 'exitCode' + end + end + + class SideInputInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :kind, as: 'kind' + collection :sources, as: 'sources', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation + + property :tag, as: 'tag' + end + end + + class Sink + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :codec, as: 'codec' + hash :spec, as: 'spec' + end + end + + class Source + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :base_specs, as: 'baseSpecs' + hash :codec, as: 'codec' + property :does_not_need_splitting, as: 'doesNotNeedSplitting' + property :metadata, as: 'metadata', class: Google::Apis::DataflowV1b3::SourceMetadata, decorator: Google::Apis::DataflowV1b3::SourceMetadata::Representation + + hash :spec, as: 'spec' + end + end + + class SourceFork + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :primary, as: 'primary', class: Google::Apis::DataflowV1b3::SourceSplitShard, decorator: Google::Apis::DataflowV1b3::SourceSplitShard::Representation + + property :primary_source, as: 'primarySource', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation + + property :residual, as: 'residual', class: Google::Apis::DataflowV1b3::SourceSplitShard, decorator: Google::Apis::DataflowV1b3::SourceSplitShard::Representation + + property :residual_source, as: 'residualSource', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation + + end + end + + class SourceGetMetadataRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :source, as: 'source', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation + + end + end + + class SourceGetMetadataResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::DataflowV1b3::SourceMetadata, decorator: Google::Apis::DataflowV1b3::SourceMetadata::Representation + + end + end + + class SourceMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :estimated_size_bytes, :numeric_string => true, as: 'estimatedSizeBytes' + property :infinite, as: 'infinite' + property :produces_sorted_keys, as: 'producesSortedKeys' + end + end + + class SourceOperationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :get_metadata, as: 'getMetadata', class: Google::Apis::DataflowV1b3::SourceGetMetadataRequest, decorator: Google::Apis::DataflowV1b3::SourceGetMetadataRequest::Representation + + property :split, as: 'split', class: Google::Apis::DataflowV1b3::SourceSplitRequest, decorator: Google::Apis::DataflowV1b3::SourceSplitRequest::Representation + + end + end + + class SourceOperationResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :get_metadata, as: 'getMetadata', class: Google::Apis::DataflowV1b3::SourceGetMetadataResponse, decorator: Google::Apis::DataflowV1b3::SourceGetMetadataResponse::Representation + + property :split, as: 'split', class: Google::Apis::DataflowV1b3::SourceSplitResponse, decorator: Google::Apis::DataflowV1b3::SourceSplitResponse::Representation + + end + end + + class SourceSplitOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :desired_bundle_size_bytes, :numeric_string => true, as: 'desiredBundleSizeBytes' + property :desired_shard_size_bytes, :numeric_string => true, as: 'desiredShardSizeBytes' + end + end + + class SourceSplitRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :options, as: 'options', class: Google::Apis::DataflowV1b3::SourceSplitOptions, decorator: Google::Apis::DataflowV1b3::SourceSplitOptions::Representation + + property :source, as: 'source', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation + + end + end + + class SourceSplitResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :bundles, as: 'bundles', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation + + property :outcome, as: 'outcome' + collection :shards, as: 'shards', class: Google::Apis::DataflowV1b3::SourceSplitShard, decorator: Google::Apis::DataflowV1b3::SourceSplitShard::Representation + + end + end + + class SourceSplitShard + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :derivation_mode, as: 'derivationMode' + property :source, as: 'source', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation + + end + end + + class SplitInt64 + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :high_bits, as: 'highBits' + property :low_bits, as: 'lowBits' + end + end + + class StageSource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :original_transform_or_collection, as: 'originalTransformOrCollection' + property :size_bytes, :numeric_string => true, as: 'sizeBytes' + property :user_name, as: 'userName' + end + end + + class StateFamilyConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :is_read, as: 'isRead' + property :state_family, as: 'stateFamily' + 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 Step + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :name, as: 'name' + hash :properties, as: 'properties' + end + end + + class StreamLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :custom_source_location, as: 'customSourceLocation', class: Google::Apis::DataflowV1b3::CustomSourceLocation, decorator: Google::Apis::DataflowV1b3::CustomSourceLocation::Representation + + property :pubsub_location, as: 'pubsubLocation', class: Google::Apis::DataflowV1b3::PubsubLocation, decorator: Google::Apis::DataflowV1b3::PubsubLocation::Representation + + property :side_input_location, as: 'sideInputLocation', class: Google::Apis::DataflowV1b3::StreamingSideInputLocation, decorator: Google::Apis::DataflowV1b3::StreamingSideInputLocation::Representation + + property :streaming_stage_location, as: 'streamingStageLocation', class: Google::Apis::DataflowV1b3::StreamingStageLocation, decorator: Google::Apis::DataflowV1b3::StreamingStageLocation::Representation + + end + end + + class StreamingComputationConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :computation_id, as: 'computationId' + collection :instructions, as: 'instructions', class: Google::Apis::DataflowV1b3::ParallelInstruction, decorator: Google::Apis::DataflowV1b3::ParallelInstruction::Representation + + property :stage_name, as: 'stageName' + property :system_name, as: 'systemName' + end + end + + class StreamingComputationRanges + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :computation_id, as: 'computationId' + collection :range_assignments, as: 'rangeAssignments', class: Google::Apis::DataflowV1b3::KeyRangeDataDiskAssignment, decorator: Google::Apis::DataflowV1b3::KeyRangeDataDiskAssignment::Representation + + end + end + + class StreamingComputationTask + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :computation_ranges, as: 'computationRanges', class: Google::Apis::DataflowV1b3::StreamingComputationRanges, decorator: Google::Apis::DataflowV1b3::StreamingComputationRanges::Representation + + collection :data_disks, as: 'dataDisks', class: Google::Apis::DataflowV1b3::MountedDataDisk, decorator: Google::Apis::DataflowV1b3::MountedDataDisk::Representation + + property :task_type, as: 'taskType' + end + end + + class StreamingConfigTask + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :streaming_computation_configs, as: 'streamingComputationConfigs', class: Google::Apis::DataflowV1b3::StreamingComputationConfig, decorator: Google::Apis::DataflowV1b3::StreamingComputationConfig::Representation + + hash :user_step_to_state_family_name_map, as: 'userStepToStateFamilyNameMap' + property :windmill_service_endpoint, as: 'windmillServiceEndpoint' + property :windmill_service_port, :numeric_string => true, as: 'windmillServicePort' + end + end + + class StreamingSetupTask + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :drain, as: 'drain' + property :receive_work_port, as: 'receiveWorkPort' + property :streaming_computation_topology, as: 'streamingComputationTopology', class: Google::Apis::DataflowV1b3::TopologyConfig, decorator: Google::Apis::DataflowV1b3::TopologyConfig::Representation + + property :worker_harness_port, as: 'workerHarnessPort' + end + end + + class StreamingSideInputLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :state_family, as: 'stateFamily' + property :tag, as: 'tag' + end + end + + class StreamingStageLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :stream_id, as: 'streamId' + end + end + + class StringList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :elements, as: 'elements' + end + end + + class StructuredMessage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :message_key, as: 'messageKey' + property :message_text, as: 'messageText' + collection :parameters, as: 'parameters', class: Google::Apis::DataflowV1b3::Parameter, decorator: Google::Apis::DataflowV1b3::Parameter::Representation + + end + end + + class TaskRunnerSettings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alsologtostderr, as: 'alsologtostderr' + property :base_task_dir, as: 'baseTaskDir' + property :base_url, as: 'baseUrl' + property :commandlines_file_name, as: 'commandlinesFileName' + property :continue_on_exception, as: 'continueOnException' + property :dataflow_api_version, as: 'dataflowApiVersion' + property :harness_command, as: 'harnessCommand' + property :language_hint, as: 'languageHint' + property :log_dir, as: 'logDir' + property :log_to_serialconsole, as: 'logToSerialconsole' + property :log_upload_location, as: 'logUploadLocation' + collection :oauth_scopes, as: 'oauthScopes' + property :parallel_worker_settings, as: 'parallelWorkerSettings', class: Google::Apis::DataflowV1b3::WorkerSettings, decorator: Google::Apis::DataflowV1b3::WorkerSettings::Representation + + property :streaming_worker_main_class, as: 'streamingWorkerMainClass' + property :task_group, as: 'taskGroup' + property :task_user, as: 'taskUser' + property :temp_storage_prefix, as: 'tempStoragePrefix' + property :vm_id, as: 'vmId' + property :workflow_file_name, as: 'workflowFileName' + end + end + + class TemplateMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :name, as: 'name' + collection :parameters, as: 'parameters', class: Google::Apis::DataflowV1b3::ParameterMetadata, decorator: Google::Apis::DataflowV1b3::ParameterMetadata::Representation + + end + end + + class TopologyConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :computations, as: 'computations', class: Google::Apis::DataflowV1b3::ComputationTopology, decorator: Google::Apis::DataflowV1b3::ComputationTopology::Representation + + collection :data_disk_assignments, as: 'dataDiskAssignments', class: Google::Apis::DataflowV1b3::DataDiskAssignment, decorator: Google::Apis::DataflowV1b3::DataDiskAssignment::Representation + + property :forwarding_key_bits, as: 'forwardingKeyBits' + property :persistent_state_version, as: 'persistentStateVersion' + hash :user_stage_to_computation_name_map, as: 'userStageToComputationNameMap' + end + end + + class TransformSummary + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :display_data, as: 'displayData', class: Google::Apis::DataflowV1b3::DisplayData, decorator: Google::Apis::DataflowV1b3::DisplayData::Representation + + property :id, as: 'id' + collection :input_collection_name, as: 'inputCollectionName' + property :kind, as: 'kind' + property :name, as: 'name' + collection :output_collection_name, as: 'outputCollectionName' + end + end + + class WorkItem + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :configuration, as: 'configuration' + property :id, :numeric_string => true, as: 'id' + property :initial_report_index, :numeric_string => true, as: 'initialReportIndex' + property :job_id, as: 'jobId' + property :lease_expire_time, as: 'leaseExpireTime' + property :map_task, as: 'mapTask', class: Google::Apis::DataflowV1b3::MapTask, decorator: Google::Apis::DataflowV1b3::MapTask::Representation + + collection :packages, as: 'packages', class: Google::Apis::DataflowV1b3::Package, decorator: Google::Apis::DataflowV1b3::Package::Representation + + property :project_id, as: 'projectId' + property :report_status_interval, as: 'reportStatusInterval' + property :seq_map_task, as: 'seqMapTask', class: Google::Apis::DataflowV1b3::SeqMapTask, decorator: Google::Apis::DataflowV1b3::SeqMapTask::Representation + + property :shell_task, as: 'shellTask', class: Google::Apis::DataflowV1b3::ShellTask, decorator: Google::Apis::DataflowV1b3::ShellTask::Representation + + property :source_operation_task, as: 'sourceOperationTask', class: Google::Apis::DataflowV1b3::SourceOperationRequest, decorator: Google::Apis::DataflowV1b3::SourceOperationRequest::Representation + + property :streaming_computation_task, as: 'streamingComputationTask', class: Google::Apis::DataflowV1b3::StreamingComputationTask, decorator: Google::Apis::DataflowV1b3::StreamingComputationTask::Representation + + property :streaming_config_task, as: 'streamingConfigTask', class: Google::Apis::DataflowV1b3::StreamingConfigTask, decorator: Google::Apis::DataflowV1b3::StreamingConfigTask::Representation + + property :streaming_setup_task, as: 'streamingSetupTask', class: Google::Apis::DataflowV1b3::StreamingSetupTask, decorator: Google::Apis::DataflowV1b3::StreamingSetupTask::Representation + + end + end + + class WorkItemServiceState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :harness_data, as: 'harnessData' + property :lease_expire_time, as: 'leaseExpireTime' + collection :metric_short_id, as: 'metricShortId', class: Google::Apis::DataflowV1b3::MetricShortId, decorator: Google::Apis::DataflowV1b3::MetricShortId::Representation + + property :next_report_index, :numeric_string => true, as: 'nextReportIndex' + property :report_status_interval, as: 'reportStatusInterval' + property :split_request, as: 'splitRequest', class: Google::Apis::DataflowV1b3::ApproximateSplitRequest, decorator: Google::Apis::DataflowV1b3::ApproximateSplitRequest::Representation + + property :suggested_stop_point, as: 'suggestedStopPoint', class: Google::Apis::DataflowV1b3::ApproximateProgress, decorator: Google::Apis::DataflowV1b3::ApproximateProgress::Representation + + property :suggested_stop_position, as: 'suggestedStopPosition', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation + + end + end + + class WorkItemStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :completed, as: 'completed' + collection :counter_updates, as: 'counterUpdates', class: Google::Apis::DataflowV1b3::CounterUpdate, decorator: Google::Apis::DataflowV1b3::CounterUpdate::Representation + + property :dynamic_source_split, as: 'dynamicSourceSplit', class: Google::Apis::DataflowV1b3::DynamicSourceSplit, decorator: Google::Apis::DataflowV1b3::DynamicSourceSplit::Representation + + collection :errors, as: 'errors', class: Google::Apis::DataflowV1b3::Status, decorator: Google::Apis::DataflowV1b3::Status::Representation + + collection :metric_updates, as: 'metricUpdates', class: Google::Apis::DataflowV1b3::MetricUpdate, decorator: Google::Apis::DataflowV1b3::MetricUpdate::Representation + + property :progress, as: 'progress', class: Google::Apis::DataflowV1b3::ApproximateProgress, decorator: Google::Apis::DataflowV1b3::ApproximateProgress::Representation + + property :report_index, :numeric_string => true, as: 'reportIndex' + property :reported_progress, as: 'reportedProgress', class: Google::Apis::DataflowV1b3::ApproximateReportedProgress, decorator: Google::Apis::DataflowV1b3::ApproximateReportedProgress::Representation + + property :requested_lease_duration, as: 'requestedLeaseDuration' + property :source_fork, as: 'sourceFork', class: Google::Apis::DataflowV1b3::SourceFork, decorator: Google::Apis::DataflowV1b3::SourceFork::Representation + + property :source_operation_response, as: 'sourceOperationResponse', class: Google::Apis::DataflowV1b3::SourceOperationResponse, decorator: Google::Apis::DataflowV1b3::SourceOperationResponse::Representation + + property :stop_position, as: 'stopPosition', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation + + property :work_item_id, as: 'workItemId' + end + end + + class WorkerHealthReport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :pods, as: 'pods' + property :report_interval, as: 'reportInterval' + property :vm_is_healthy, as: 'vmIsHealthy' + property :vm_startup_time, as: 'vmStartupTime' + end + end + + class WorkerHealthReportResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :report_interval, as: 'reportInterval' + end + end + + class WorkerMessage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :labels, as: 'labels' + property :time, as: 'time' + property :worker_health_report, as: 'workerHealthReport', class: Google::Apis::DataflowV1b3::WorkerHealthReport, decorator: Google::Apis::DataflowV1b3::WorkerHealthReport::Representation + + property :worker_message_code, as: 'workerMessageCode', class: Google::Apis::DataflowV1b3::WorkerMessageCode, decorator: Google::Apis::DataflowV1b3::WorkerMessageCode::Representation + + property :worker_metrics, as: 'workerMetrics', class: Google::Apis::DataflowV1b3::ResourceUtilizationReport, decorator: Google::Apis::DataflowV1b3::ResourceUtilizationReport::Representation + + end + end + + class WorkerMessageCode + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + hash :parameters, as: 'parameters' + end + end + + class WorkerMessageResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :worker_health_report_response, as: 'workerHealthReportResponse', class: Google::Apis::DataflowV1b3::WorkerHealthReportResponse, decorator: Google::Apis::DataflowV1b3::WorkerHealthReportResponse::Representation + + property :worker_metrics_response, as: 'workerMetricsResponse', class: Google::Apis::DataflowV1b3::ResourceUtilizationReportResponse, decorator: Google::Apis::DataflowV1b3::ResourceUtilizationReportResponse::Representation + + end + end + + class WorkerPool + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :autoscaling_settings, as: 'autoscalingSettings', class: Google::Apis::DataflowV1b3::AutoscalingSettings, decorator: Google::Apis::DataflowV1b3::AutoscalingSettings::Representation + + collection :data_disks, as: 'dataDisks', class: Google::Apis::DataflowV1b3::Disk, decorator: Google::Apis::DataflowV1b3::Disk::Representation + + property :default_package_set, as: 'defaultPackageSet' + property :disk_size_gb, as: 'diskSizeGb' + property :disk_source_image, as: 'diskSourceImage' + property :disk_type, as: 'diskType' + property :ip_configuration, as: 'ipConfiguration' + property :kind, as: 'kind' + property :machine_type, as: 'machineType' + hash :metadata, as: 'metadata' + property :network, as: 'network' + property :num_threads_per_worker, as: 'numThreadsPerWorker' + property :num_workers, as: 'numWorkers' + property :on_host_maintenance, as: 'onHostMaintenance' + collection :packages, as: 'packages', class: Google::Apis::DataflowV1b3::Package, decorator: Google::Apis::DataflowV1b3::Package::Representation + + hash :pool_args, as: 'poolArgs' + property :subnetwork, as: 'subnetwork' + property :taskrunner_settings, as: 'taskrunnerSettings', class: Google::Apis::DataflowV1b3::TaskRunnerSettings, decorator: Google::Apis::DataflowV1b3::TaskRunnerSettings::Representation + + property :teardown_policy, as: 'teardownPolicy' + property :worker_harness_container_image, as: 'workerHarnessContainerImage' + property :zone, as: 'zone' + end + end + + class WorkerSettings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :base_url, as: 'baseUrl' + property :reporting_enabled, as: 'reportingEnabled' + property :service_path, as: 'servicePath' + property :shuffle_service_path, as: 'shuffleServicePath' + property :temp_storage_prefix, as: 'tempStoragePrefix' + property :worker_id, as: 'workerId' + end + end + + class WriteInstruction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :input, as: 'input', class: Google::Apis::DataflowV1b3::InstructionInput, decorator: Google::Apis::DataflowV1b3::InstructionInput::Representation + + property :sink, as: 'sink', class: Google::Apis::DataflowV1b3::Sink, decorator: Google::Apis::DataflowV1b3::Sink::Representation + end end end diff --git a/generated/google/apis/dataflow_v1b3/service.rb b/generated/google/apis/dataflow_v1b3/service.rb index 7e6c40ec6..3965f2696 100644 --- a/generated/google/apis/dataflow_v1b3/service.rb +++ b/generated/google/apis/dataflow_v1b3/service.rb @@ -80,6 +80,463 @@ module Google execute_or_queue_command(command, &block) end + # List the jobs of a project across all regions. + # @param [String] project_id + # The project which owns the jobs. + # @param [String] filter + # The kind of filter to use. + # @param [String] location + # The location that contains this job. + # @param [Fixnum] page_size + # If there are many jobs, limit response to at most this many. + # The actual number of jobs returned will be the lesser of max_responses + # and an unspecified server-defined limit. + # @param [String] page_token + # Set this to the 'next_page_token' field of a previous response + # to request additional results in a long list. + # @param [String] view + # Level of information requested in response. Default is `JOB_VIEW_SUMMARY`. + # @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::DataflowV1b3::ListJobsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::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 aggregated_project_job(project_id, filter: nil, location: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs:aggregated', options) + command.response_representation = Google::Apis::DataflowV1b3::ListJobsResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::ListJobsResponse + command.params['projectId'] = project_id unless project_id.nil? + command.query['filter'] = filter unless filter.nil? + command.query['location'] = location unless location.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['view'] = view unless view.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a Cloud Dataflow job. + # @param [String] project_id + # The ID of the Cloud Platform project that the job belongs to. + # @param [Google::Apis::DataflowV1b3::Job] job_object + # @param [String] location + # The location that contains this job. + # @param [String] replace_job_id + # Deprecated. This field is now in the Job message. + # @param [String] view + # The level of information requested in response. + # @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::DataflowV1b3::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::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 create_project_job(project_id, job_object = nil, location: nil, replace_job_id: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs', options) + command.request_representation = Google::Apis::DataflowV1b3::Job::Representation + command.request_object = job_object + command.response_representation = Google::Apis::DataflowV1b3::Job::Representation + command.response_class = Google::Apis::DataflowV1b3::Job + command.params['projectId'] = project_id unless project_id.nil? + command.query['location'] = location unless location.nil? + command.query['replaceJobId'] = replace_job_id unless replace_job_id.nil? + command.query['view'] = view unless view.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 state of the specified Cloud Dataflow job. + # @param [String] project_id + # The ID of the Cloud Platform project that the job belongs to. + # @param [String] job_id + # The job ID. + # @param [String] location + # The location that contains this job. + # @param [String] view + # The level of information requested in response. + # @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::DataflowV1b3::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::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_project_job(project_id, job_id, location: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}', options) + command.response_representation = Google::Apis::DataflowV1b3::Job::Representation + command.response_class = Google::Apis::DataflowV1b3::Job + command.params['projectId'] = project_id unless project_id.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['location'] = location unless location.nil? + command.query['view'] = view unless view.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Request the job status. + # @param [String] project_id + # A project id. + # @param [String] job_id + # The job to get messages for. + # @param [String] location + # The location which contains the job specified by job_id. + # @param [String] start_time + # Return only metric data that has changed since this time. + # Default is to return all information about all metrics for the job. + # @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::DataflowV1b3::JobMetrics] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::JobMetrics] + # + # @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_project_job_metrics(project_id, job_id, location: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/metrics', options) + command.response_representation = Google::Apis::DataflowV1b3::JobMetrics::Representation + command.response_class = Google::Apis::DataflowV1b3::JobMetrics + command.params['projectId'] = project_id unless project_id.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['location'] = location unless location.nil? + command.query['startTime'] = start_time unless start_time.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # List the jobs of a project in a given region. + # @param [String] project_id + # The project which owns the jobs. + # @param [String] filter + # The kind of filter to use. + # @param [String] location + # The location that contains this job. + # @param [Fixnum] page_size + # If there are many jobs, limit response to at most this many. + # The actual number of jobs returned will be the lesser of max_responses + # and an unspecified server-defined limit. + # @param [String] page_token + # Set this to the 'next_page_token' field of a previous response + # to request additional results in a long list. + # @param [String] view + # Level of information requested in response. Default is `JOB_VIEW_SUMMARY`. + # @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::DataflowV1b3::ListJobsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::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_project_jobs(project_id, filter: nil, location: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs', options) + command.response_representation = Google::Apis::DataflowV1b3::ListJobsResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::ListJobsResponse + command.params['projectId'] = project_id unless project_id.nil? + command.query['filter'] = filter unless filter.nil? + command.query['location'] = location unless location.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['view'] = view unless view.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 the state of an existing Cloud Dataflow job. + # @param [String] project_id + # The ID of the Cloud Platform project that the job belongs to. + # @param [String] job_id + # The job ID. + # @param [Google::Apis::DataflowV1b3::Job] job_object + # @param [String] location + # The location that contains this job. + # @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::DataflowV1b3::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::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 update_project_job(project_id, job_id, job_object = nil, location: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v1b3/projects/{projectId}/jobs/{jobId}', options) + command.request_representation = Google::Apis::DataflowV1b3::Job::Representation + command.request_object = job_object + command.response_representation = Google::Apis::DataflowV1b3::Job::Representation + command.response_class = Google::Apis::DataflowV1b3::Job + command.params['projectId'] = project_id unless project_id.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['location'] = location unless location.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Get encoded debug configuration for component. Not cacheable. + # @param [String] project_id + # The project id. + # @param [String] job_id + # The job id. + # @param [Google::Apis::DataflowV1b3::GetDebugConfigRequest] get_debug_config_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::DataflowV1b3::GetDebugConfigResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::GetDebugConfigResponse] + # + # @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_project_job_debug_config(project_id, job_id, get_debug_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/debug/getConfig', options) + command.request_representation = Google::Apis::DataflowV1b3::GetDebugConfigRequest::Representation + command.request_object = get_debug_config_request_object + command.response_representation = Google::Apis::DataflowV1b3::GetDebugConfigResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::GetDebugConfigResponse + command.params['projectId'] = project_id unless project_id.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 + + # Send encoded debug capture data for component. + # @param [String] project_id + # The project id. + # @param [String] job_id + # The job id. + # @param [Google::Apis::DataflowV1b3::SendDebugCaptureRequest] send_debug_capture_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::DataflowV1b3::SendDebugCaptureResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::SendDebugCaptureResponse] + # + # @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 send_project_job_debug_capture(project_id, job_id, send_debug_capture_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture', options) + command.request_representation = Google::Apis::DataflowV1b3::SendDebugCaptureRequest::Representation + command.request_object = send_debug_capture_request_object + command.response_representation = Google::Apis::DataflowV1b3::SendDebugCaptureResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::SendDebugCaptureResponse + command.params['projectId'] = project_id unless project_id.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 + + # Request the job status. + # @param [String] project_id + # A project id. + # @param [String] job_id + # The job to get messages about. + # @param [String] end_time + # Return only messages with timestamps < end_time. The default is now + # (i.e. return up to the latest messages available). + # @param [String] location + # The location which contains the job specified by job_id. + # @param [String] minimum_importance + # Filter to only get messages with importance >= level + # @param [Fixnum] page_size + # If specified, determines the maximum number of messages to + # return. If unspecified, the service may choose an appropriate + # default, or may return an arbitrarily large number of results. + # @param [String] page_token + # If supplied, this should be the value of next_page_token returned + # by an earlier call. This will cause the next page of results to + # be returned. + # @param [String] start_time + # If specified, return only messages with timestamps >= start_time. + # The default is the job creation time (i.e. beginning of messages). + # @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::DataflowV1b3::ListJobMessagesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::ListJobMessagesResponse] + # + # @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_project_job_messages(project_id, job_id, end_time: nil, location: nil, minimum_importance: nil, page_size: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/messages', options) + command.response_representation = Google::Apis::DataflowV1b3::ListJobMessagesResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::ListJobMessagesResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['endTime'] = end_time unless end_time.nil? + command.query['location'] = location unless location.nil? + command.query['minimumImportance'] = minimum_importance unless minimum_importance.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['startTime'] = start_time unless start_time.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Leases a dataflow WorkItem to run. + # @param [String] project_id + # Identifies the project this worker belongs to. + # @param [String] job_id + # Identifies the workflow job this worker belongs to. + # @param [Google::Apis::DataflowV1b3::LeaseWorkItemRequest] lease_work_item_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::DataflowV1b3::LeaseWorkItemResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::LeaseWorkItemResponse] + # + # @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 lease_project_work_item(project_id, job_id, lease_work_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease', options) + command.request_representation = Google::Apis::DataflowV1b3::LeaseWorkItemRequest::Representation + command.request_object = lease_work_item_request_object + command.response_representation = Google::Apis::DataflowV1b3::LeaseWorkItemResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::LeaseWorkItemResponse + command.params['projectId'] = project_id unless project_id.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 + + # Reports the status of dataflow WorkItems leased by a worker. + # @param [String] project_id + # The project which owns the WorkItem's job. + # @param [String] job_id + # The job which the WorkItem is part of. + # @param [Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest] report_work_item_status_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::DataflowV1b3::ReportWorkItemStatusResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse] + # + # @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 report_project_job_work_item_status(project_id, job_id, report_work_item_status_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus', options) + command.request_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest::Representation + command.request_object = report_work_item_status_request_object + command.response_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse + command.params['projectId'] = project_id unless project_id.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 + # Send a worker_message to the service. # @param [String] project_id # The project to send the WorkerMessages to. @@ -116,98 +573,16 @@ module Google execute_or_queue_command(command, &block) end - # Launch a template. + # Creates a Cloud Dataflow job. # @param [String] project_id - # Required. The ID of the Cloud Platform project that the job belongs to. + # The ID of the Cloud Platform project that the job belongs to. # @param [String] location - # The location to which to direct the request. - # @param [Google::Apis::DataflowV1b3::LaunchTemplateParameters] launch_template_parameters_object - # @param [Boolean] validate_only - # If true, the request is validated but not actually executed. - # Defaults to false. - # @param [String] gcs_path - # Required. A Cloud Storage path to the template from which to create - # the job. - # Must be valid Cloud Storage URL, beginning with 'gs://'. - # @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::DataflowV1b3::LaunchTemplateResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataflowV1b3::LaunchTemplateResponse] - # - # @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 launch_project_location_template(project_id, location, launch_template_parameters_object = nil, validate_only: nil, gcs_path: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/templates:launch', options) - command.request_representation = Google::Apis::DataflowV1b3::LaunchTemplateParameters::Representation - command.request_object = launch_template_parameters_object - command.response_representation = Google::Apis::DataflowV1b3::LaunchTemplateResponse::Representation - command.response_class = Google::Apis::DataflowV1b3::LaunchTemplateResponse - command.params['projectId'] = project_id unless project_id.nil? - command.params['location'] = location unless location.nil? - command.query['validateOnly'] = validate_only unless validate_only.nil? - command.query['gcsPath'] = gcs_path unless gcs_path.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Get the template associated with a template. - # @param [String] project_id - # Required. The ID of the Cloud Platform project that the job belongs to. - # @param [String] location - # The location to which to direct the request. + # The location that contains this job. + # @param [Google::Apis::DataflowV1b3::Job] job_object + # @param [String] replace_job_id + # Deprecated. This field is now in the Job message. # @param [String] view - # The view to retrieve. Defaults to METADATA_ONLY. - # @param [String] gcs_path - # Required. A Cloud Storage path to the template from which to - # create the job. - # Must be a valid Cloud Storage URL, beginning with `gs://`. - # @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::DataflowV1b3::GetTemplateResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataflowV1b3::GetTemplateResponse] - # - # @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_project_location_template(project_id, location, view: nil, gcs_path: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/templates:get', options) - command.response_representation = Google::Apis::DataflowV1b3::GetTemplateResponse::Representation - command.response_class = Google::Apis::DataflowV1b3::GetTemplateResponse - command.params['projectId'] = project_id unless project_id.nil? - command.params['location'] = location unless location.nil? - command.query['view'] = view unless view.nil? - command.query['gcsPath'] = gcs_path unless gcs_path.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Creates a Cloud Dataflow job from a template. - # @param [String] project_id - # Required. The ID of the Cloud Platform project that the job belongs to. - # @param [String] location - # The location to which to direct the request. - # @param [Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest] create_job_from_template_request_object + # The level of information requested in response. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -225,101 +600,15 @@ 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 create_job_from_template_with_location(project_id, location, create_job_from_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/templates', options) - command.request_representation = Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest::Representation - command.request_object = create_job_from_template_request_object + def create_project_location_job(project_id, location, job_object = nil, replace_job_id: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs', options) + command.request_representation = Google::Apis::DataflowV1b3::Job::Representation + command.request_object = job_object command.response_representation = Google::Apis::DataflowV1b3::Job::Representation command.response_class = Google::Apis::DataflowV1b3::Job command.params['projectId'] = project_id unless project_id.nil? command.params['location'] = location unless location.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Request the job status. - # @param [String] project_id - # A project id. - # @param [String] location - # The location which contains the job specified by job_id. - # @param [String] job_id - # The job to get messages for. - # @param [String] start_time - # Return only metric data that has changed since this time. - # Default is to return all information about all metrics for the job. - # @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::DataflowV1b3::JobMetrics] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataflowV1b3::JobMetrics] - # - # @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_project_location_job_metrics(project_id, location, job_id, start_time: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/metrics', options) - command.response_representation = Google::Apis::DataflowV1b3::JobMetrics::Representation - command.response_class = Google::Apis::DataflowV1b3::JobMetrics - command.params['projectId'] = project_id unless project_id.nil? - command.params['location'] = location unless location.nil? - command.params['jobId'] = job_id unless job_id.nil? - command.query['startTime'] = start_time unless start_time.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # List the jobs of a project. - # @param [String] project_id - # The project which owns the jobs. - # @param [String] location - # The location that contains this job. - # @param [String] filter - # The kind of filter to use. - # @param [String] page_token - # Set this to the 'next_page_token' field of a previous response - # to request additional results in a long list. - # @param [Fixnum] page_size - # If there are many jobs, limit response to at most this many. - # The actual number of jobs returned will be the lesser of max_responses - # and an unspecified server-defined limit. - # @param [String] view - # Level of information requested in response. Default is `JOB_VIEW_SUMMARY`. - # @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::DataflowV1b3::ListJobsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataflowV1b3::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_project_location_jobs(project_id, location, filter: nil, page_token: nil, page_size: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs', options) - command.response_representation = Google::Apis::DataflowV1b3::ListJobsResponse::Representation - command.response_class = Google::Apis::DataflowV1b3::ListJobsResponse - command.params['projectId'] = project_id unless project_id.nil? - command.params['location'] = location unless location.nil? - command.query['filter'] = filter unless filter.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? + command.query['replaceJobId'] = replace_job_id unless replace_job_id.nil? command.query['view'] = view unless view.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -365,6 +654,94 @@ module Google execute_or_queue_command(command, &block) end + # Request the job status. + # @param [String] project_id + # A project id. + # @param [String] location + # The location which contains the job specified by job_id. + # @param [String] job_id + # The job to get messages for. + # @param [String] start_time + # Return only metric data that has changed since this time. + # Default is to return all information about all metrics for the job. + # @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::DataflowV1b3::JobMetrics] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::JobMetrics] + # + # @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_project_location_job_metrics(project_id, location, job_id, start_time: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/metrics', options) + command.response_representation = Google::Apis::DataflowV1b3::JobMetrics::Representation + command.response_class = Google::Apis::DataflowV1b3::JobMetrics + command.params['projectId'] = project_id unless project_id.nil? + command.params['location'] = location unless location.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['startTime'] = start_time unless start_time.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # List the jobs of a project in a given region. + # @param [String] project_id + # The project which owns the jobs. + # @param [String] location + # The location that contains this job. + # @param [String] filter + # The kind of filter to use. + # @param [Fixnum] page_size + # If there are many jobs, limit response to at most this many. + # The actual number of jobs returned will be the lesser of max_responses + # and an unspecified server-defined limit. + # @param [String] page_token + # Set this to the 'next_page_token' field of a previous response + # to request additional results in a long list. + # @param [String] view + # Level of information requested in response. Default is `JOB_VIEW_SUMMARY`. + # @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::DataflowV1b3::ListJobsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::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_project_location_jobs(project_id, location, filter: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs', options) + command.response_representation = Google::Apis::DataflowV1b3::ListJobsResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::ListJobsResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['location'] = location unless location.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['view'] = view unless view.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 the state of an existing Cloud Dataflow job. # @param [String] project_id # The ID of the Cloud Platform project that the job belongs to. @@ -404,16 +781,14 @@ module Google execute_or_queue_command(command, &block) end - # Creates a Cloud Dataflow job. + # Get encoded debug configuration for component. Not cacheable. # @param [String] project_id - # The ID of the Cloud Platform project that the job belongs to. + # The project id. # @param [String] location - # The location that contains this job. - # @param [Google::Apis::DataflowV1b3::Job] job_object - # @param [String] replace_job_id - # Deprecated. This field is now in the Job message. - # @param [String] view - # The level of information requested in response. + # The location which contains the job specified by job_id. + # @param [String] job_id + # The job id. + # @param [Google::Apis::DataflowV1b3::GetDebugConfigRequest] get_debug_config_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -423,24 +798,119 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataflowV1b3::Job] parsed result object + # @yieldparam result [Google::Apis::DataflowV1b3::GetDebugConfigResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::DataflowV1b3::Job] + # @return [Google::Apis::DataflowV1b3::GetDebugConfigResponse] # # @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_project_location_job(project_id, location, job_object = nil, replace_job_id: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs', options) - command.request_representation = Google::Apis::DataflowV1b3::Job::Representation - command.request_object = job_object - command.response_representation = Google::Apis::DataflowV1b3::Job::Representation - command.response_class = Google::Apis::DataflowV1b3::Job + def get_project_location_job_debug_config(project_id, location, job_id, get_debug_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/getConfig', options) + command.request_representation = Google::Apis::DataflowV1b3::GetDebugConfigRequest::Representation + command.request_object = get_debug_config_request_object + command.response_representation = Google::Apis::DataflowV1b3::GetDebugConfigResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::GetDebugConfigResponse command.params['projectId'] = project_id unless project_id.nil? command.params['location'] = location unless location.nil? - command.query['replaceJobId'] = replace_job_id unless replace_job_id.nil? - command.query['view'] = view unless view.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 + + # Send encoded debug capture data for component. + # @param [String] project_id + # The project id. + # @param [String] location + # The location which contains the job specified by job_id. + # @param [String] job_id + # The job id. + # @param [Google::Apis::DataflowV1b3::SendDebugCaptureRequest] send_debug_capture_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::DataflowV1b3::SendDebugCaptureResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::SendDebugCaptureResponse] + # + # @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 send_project_location_job_debug_capture(project_id, location, job_id, send_debug_capture_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/sendCapture', options) + command.request_representation = Google::Apis::DataflowV1b3::SendDebugCaptureRequest::Representation + command.request_object = send_debug_capture_request_object + command.response_representation = Google::Apis::DataflowV1b3::SendDebugCaptureResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::SendDebugCaptureResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['location'] = location unless location.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 + + # Request the job status. + # @param [String] project_id + # A project id. + # @param [String] location + # The location which contains the job specified by job_id. + # @param [String] job_id + # The job to get messages about. + # @param [String] end_time + # Return only messages with timestamps < end_time. The default is now + # (i.e. return up to the latest messages available). + # @param [String] minimum_importance + # Filter to only get messages with importance >= level + # @param [Fixnum] page_size + # If specified, determines the maximum number of messages to + # return. If unspecified, the service may choose an appropriate + # default, or may return an arbitrarily large number of results. + # @param [String] page_token + # If supplied, this should be the value of next_page_token returned + # by an earlier call. This will cause the next page of results to + # be returned. + # @param [String] start_time + # If specified, return only messages with timestamps >= start_time. + # The default is the job creation time (i.e. beginning of messages). + # @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::DataflowV1b3::ListJobMessagesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::ListJobMessagesResponse] + # + # @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_project_location_job_messages(project_id, location, job_id, end_time: nil, minimum_importance: nil, page_size: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/messages', options) + command.response_representation = Google::Apis::DataflowV1b3::ListJobMessagesResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::ListJobMessagesResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['location'] = location unless location.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['endTime'] = end_time unless end_time.nil? + command.query['minimumImportance'] = minimum_importance unless minimum_importance.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['startTime'] = start_time unless start_time.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -524,14 +994,12 @@ module Google execute_or_queue_command(command, &block) end - # Send encoded debug capture data for component. + # Creates a Cloud Dataflow job from a template. # @param [String] project_id - # The project id. + # Required. The ID of the Cloud Platform project that the job belongs to. # @param [String] location - # The location which contains the job specified by job_id. - # @param [String] job_id - # The job id. - # @param [Google::Apis::DataflowV1b3::SendDebugCaptureRequest] send_debug_capture_request_object + # The location to which to direct the request. + # @param [Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest] create_job_from_template_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -541,119 +1009,22 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataflowV1b3::SendDebugCaptureResponse] parsed result object + # @yieldparam result [Google::Apis::DataflowV1b3::Job] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::DataflowV1b3::SendDebugCaptureResponse] + # @return [Google::Apis::DataflowV1b3::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 send_project_location_job_debug_capture(project_id, location, job_id, send_debug_capture_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/sendCapture', options) - command.request_representation = Google::Apis::DataflowV1b3::SendDebugCaptureRequest::Representation - command.request_object = send_debug_capture_request_object - command.response_representation = Google::Apis::DataflowV1b3::SendDebugCaptureResponse::Representation - command.response_class = Google::Apis::DataflowV1b3::SendDebugCaptureResponse + def create_job_from_template_with_location(project_id, location, create_job_from_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/templates', options) + command.request_representation = Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest::Representation + command.request_object = create_job_from_template_request_object + command.response_representation = Google::Apis::DataflowV1b3::Job::Representation + command.response_class = Google::Apis::DataflowV1b3::Job command.params['projectId'] = project_id unless project_id.nil? command.params['location'] = location unless location.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 - - # Get encoded debug configuration for component. Not cacheable. - # @param [String] project_id - # The project id. - # @param [String] location - # The location which contains the job specified by job_id. - # @param [String] job_id - # The job id. - # @param [Google::Apis::DataflowV1b3::GetDebugConfigRequest] get_debug_config_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::DataflowV1b3::GetDebugConfigResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataflowV1b3::GetDebugConfigResponse] - # - # @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_project_location_job_debug_config(project_id, location, job_id, get_debug_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/getConfig', options) - command.request_representation = Google::Apis::DataflowV1b3::GetDebugConfigRequest::Representation - command.request_object = get_debug_config_request_object - command.response_representation = Google::Apis::DataflowV1b3::GetDebugConfigResponse::Representation - command.response_class = Google::Apis::DataflowV1b3::GetDebugConfigResponse - command.params['projectId'] = project_id unless project_id.nil? - command.params['location'] = location unless location.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 - - # Request the job status. - # @param [String] project_id - # A project id. - # @param [String] location - # The location which contains the job specified by job_id. - # @param [String] job_id - # The job to get messages about. - # @param [String] end_time - # Return only messages with timestamps < end_time. The default is now - # (i.e. return up to the latest messages available). - # @param [String] start_time - # If specified, return only messages with timestamps >= start_time. - # The default is the job creation time (i.e. beginning of messages). - # @param [String] page_token - # If supplied, this should be the value of next_page_token returned - # by an earlier call. This will cause the next page of results to - # be returned. - # @param [Fixnum] page_size - # If specified, determines the maximum number of messages to - # return. If unspecified, the service may choose an appropriate - # default, or may return an arbitrarily large number of results. - # @param [String] minimum_importance - # Filter to only get messages with importance >= level - # @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::DataflowV1b3::ListJobMessagesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataflowV1b3::ListJobMessagesResponse] - # - # @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_project_location_job_messages(project_id, location, job_id, end_time: nil, start_time: nil, page_token: nil, page_size: nil, minimum_importance: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/messages', options) - command.response_representation = Google::Apis::DataflowV1b3::ListJobMessagesResponse::Representation - command.response_class = Google::Apis::DataflowV1b3::ListJobMessagesResponse - command.params['projectId'] = project_id unless project_id.nil? - command.params['location'] = location unless location.nil? - command.params['jobId'] = job_id unless job_id.nil? - command.query['endTime'] = end_time unless end_time.nil? - command.query['startTime'] = start_time unless start_time.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['minimumImportance'] = minimum_importance unless minimum_importance.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -664,12 +1035,12 @@ module Google # Required. The ID of the Cloud Platform project that the job belongs to. # @param [String] location # The location to which to direct the request. - # @param [String] view - # The view to retrieve. Defaults to METADATA_ONLY. # @param [String] gcs_path # Required. A Cloud Storage path to the template from which to # create the job. # Must be a valid Cloud Storage URL, beginning with `gs://`. + # @param [String] view + # The view to retrieve. Defaults to METADATA_ONLY. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -687,14 +1058,59 @@ 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_project_template(project_id, location: nil, view: nil, gcs_path: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1b3/projects/{projectId}/templates:get', options) + def get_project_location_template(project_id, location, gcs_path: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/templates:get', options) command.response_representation = Google::Apis::DataflowV1b3::GetTemplateResponse::Representation command.response_class = Google::Apis::DataflowV1b3::GetTemplateResponse command.params['projectId'] = project_id unless project_id.nil? - command.query['location'] = location unless location.nil? - command.query['view'] = view unless view.nil? + command.params['location'] = location unless location.nil? command.query['gcsPath'] = gcs_path unless gcs_path.nil? + command.query['view'] = view unless view.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Launch a template. + # @param [String] project_id + # Required. The ID of the Cloud Platform project that the job belongs to. + # @param [String] location + # The location to which to direct the request. + # @param [Google::Apis::DataflowV1b3::LaunchTemplateParameters] launch_template_parameters_object + # @param [String] gcs_path + # Required. A Cloud Storage path to the template from which to create + # the job. + # Must be valid Cloud Storage URL, beginning with 'gs://'. + # @param [Boolean] validate_only + # If true, the request is validated but not actually executed. + # Defaults to false. + # @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::DataflowV1b3::LaunchTemplateResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::LaunchTemplateResponse] + # + # @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 launch_project_location_template(project_id, location, launch_template_parameters_object = nil, gcs_path: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/templates:launch', options) + command.request_representation = Google::Apis::DataflowV1b3::LaunchTemplateParameters::Representation + command.request_object = launch_template_parameters_object + command.response_representation = Google::Apis::DataflowV1b3::LaunchTemplateResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::LaunchTemplateResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['location'] = location unless location.nil? + command.query['gcsPath'] = gcs_path unless gcs_path.nil? + command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -733,19 +1149,60 @@ module Google execute_or_queue_command(command, &block) end + # Get the template associated with a template. + # @param [String] project_id + # Required. The ID of the Cloud Platform project that the job belongs to. + # @param [String] gcs_path + # Required. A Cloud Storage path to the template from which to + # create the job. + # Must be a valid Cloud Storage URL, beginning with `gs://`. + # @param [String] location + # The location to which to direct the request. + # @param [String] view + # The view to retrieve. Defaults to METADATA_ONLY. + # @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::DataflowV1b3::GetTemplateResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::GetTemplateResponse] + # + # @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_project_template(project_id, gcs_path: nil, location: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/templates:get', options) + command.response_representation = Google::Apis::DataflowV1b3::GetTemplateResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::GetTemplateResponse + command.params['projectId'] = project_id unless project_id.nil? + command.query['gcsPath'] = gcs_path unless gcs_path.nil? + command.query['location'] = location unless location.nil? + command.query['view'] = view unless view.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Launch a template. # @param [String] project_id # Required. The ID of the Cloud Platform project that the job belongs to. # @param [Google::Apis::DataflowV1b3::LaunchTemplateParameters] launch_template_parameters_object + # @param [String] gcs_path + # Required. A Cloud Storage path to the template from which to create + # the job. + # Must be valid Cloud Storage URL, beginning with 'gs://'. # @param [String] location # The location to which to direct the request. # @param [Boolean] validate_only # If true, the request is validated but not actually executed. # Defaults to false. - # @param [String] gcs_path - # Required. A Cloud Storage path to the template from which to create - # the job. - # Must be valid Cloud Storage URL, beginning with 'gs://'. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -763,425 +1220,16 @@ 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 launch_project_template(project_id, launch_template_parameters_object = nil, location: nil, validate_only: nil, gcs_path: nil, fields: nil, quota_user: nil, options: nil, &block) + def launch_project_template(project_id, launch_template_parameters_object = nil, gcs_path: nil, location: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1b3/projects/{projectId}/templates:launch', options) command.request_representation = Google::Apis::DataflowV1b3::LaunchTemplateParameters::Representation command.request_object = launch_template_parameters_object command.response_representation = Google::Apis::DataflowV1b3::LaunchTemplateResponse::Representation command.response_class = Google::Apis::DataflowV1b3::LaunchTemplateResponse command.params['projectId'] = project_id unless project_id.nil? + command.query['gcsPath'] = gcs_path unless gcs_path.nil? command.query['location'] = location unless location.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? - command.query['gcsPath'] = gcs_path unless gcs_path.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # List the jobs of a project. - # @param [String] project_id - # The project which owns the jobs. - # @param [String] filter - # The kind of filter to use. - # @param [String] location - # The location that contains this job. - # @param [String] page_token - # Set this to the 'next_page_token' field of a previous response - # to request additional results in a long list. - # @param [Fixnum] page_size - # If there are many jobs, limit response to at most this many. - # The actual number of jobs returned will be the lesser of max_responses - # and an unspecified server-defined limit. - # @param [String] view - # Level of information requested in response. Default is `JOB_VIEW_SUMMARY`. - # @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::DataflowV1b3::ListJobsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataflowV1b3::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_project_jobs(project_id, filter: nil, location: nil, page_token: nil, page_size: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs', options) - command.response_representation = Google::Apis::DataflowV1b3::ListJobsResponse::Representation - command.response_class = Google::Apis::DataflowV1b3::ListJobsResponse - command.params['projectId'] = project_id unless project_id.nil? - command.query['filter'] = filter unless filter.nil? - command.query['location'] = location unless location.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['view'] = view unless view.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 state of the specified Cloud Dataflow job. - # @param [String] project_id - # The ID of the Cloud Platform project that the job belongs to. - # @param [String] job_id - # The job ID. - # @param [String] view - # The level of information requested in response. - # @param [String] location - # The location that contains this job. - # @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::DataflowV1b3::Job] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataflowV1b3::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_project_job(project_id, job_id, view: nil, location: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}', options) - command.response_representation = Google::Apis::DataflowV1b3::Job::Representation - command.response_class = Google::Apis::DataflowV1b3::Job - command.params['projectId'] = project_id unless project_id.nil? - command.params['jobId'] = job_id unless job_id.nil? - command.query['view'] = view unless view.nil? - command.query['location'] = location unless location.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 the state of an existing Cloud Dataflow job. - # @param [String] project_id - # The ID of the Cloud Platform project that the job belongs to. - # @param [String] job_id - # The job ID. - # @param [Google::Apis::DataflowV1b3::Job] job_object - # @param [String] location - # The location that contains this job. - # @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::DataflowV1b3::Job] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataflowV1b3::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 update_project_job(project_id, job_id, job_object = nil, location: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v1b3/projects/{projectId}/jobs/{jobId}', options) - command.request_representation = Google::Apis::DataflowV1b3::Job::Representation - command.request_object = job_object - command.response_representation = Google::Apis::DataflowV1b3::Job::Representation - command.response_class = Google::Apis::DataflowV1b3::Job - command.params['projectId'] = project_id unless project_id.nil? - command.params['jobId'] = job_id unless job_id.nil? - command.query['location'] = location unless location.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Creates a Cloud Dataflow job. - # @param [String] project_id - # The ID of the Cloud Platform project that the job belongs to. - # @param [Google::Apis::DataflowV1b3::Job] job_object - # @param [String] view - # The level of information requested in response. - # @param [String] location - # The location that contains this job. - # @param [String] replace_job_id - # Deprecated. This field is now in the Job message. - # @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::DataflowV1b3::Job] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataflowV1b3::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 create_project_job(project_id, job_object = nil, view: nil, location: nil, replace_job_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs', options) - command.request_representation = Google::Apis::DataflowV1b3::Job::Representation - command.request_object = job_object - command.response_representation = Google::Apis::DataflowV1b3::Job::Representation - command.response_class = Google::Apis::DataflowV1b3::Job - command.params['projectId'] = project_id unless project_id.nil? - command.query['view'] = view unless view.nil? - command.query['location'] = location unless location.nil? - command.query['replaceJobId'] = replace_job_id unless replace_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 - - # Request the job status. - # @param [String] project_id - # A project id. - # @param [String] job_id - # The job to get messages for. - # @param [String] location - # The location which contains the job specified by job_id. - # @param [String] start_time - # Return only metric data that has changed since this time. - # Default is to return all information about all metrics for the job. - # @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::DataflowV1b3::JobMetrics] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataflowV1b3::JobMetrics] - # - # @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_project_job_metrics(project_id, job_id, location: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/metrics', options) - command.response_representation = Google::Apis::DataflowV1b3::JobMetrics::Representation - command.response_class = Google::Apis::DataflowV1b3::JobMetrics - command.params['projectId'] = project_id unless project_id.nil? - command.params['jobId'] = job_id unless job_id.nil? - command.query['location'] = location unless location.nil? - command.query['startTime'] = start_time unless start_time.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Reports the status of dataflow WorkItems leased by a worker. - # @param [String] project_id - # The project which owns the WorkItem's job. - # @param [String] job_id - # The job which the WorkItem is part of. - # @param [Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest] report_work_item_status_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::DataflowV1b3::ReportWorkItemStatusResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse] - # - # @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 report_project_job_work_item_status(project_id, job_id, report_work_item_status_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus', options) - command.request_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest::Representation - command.request_object = report_work_item_status_request_object - command.response_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse::Representation - command.response_class = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse - command.params['projectId'] = project_id unless project_id.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 - - # Leases a dataflow WorkItem to run. - # @param [String] project_id - # Identifies the project this worker belongs to. - # @param [String] job_id - # Identifies the workflow job this worker belongs to. - # @param [Google::Apis::DataflowV1b3::LeaseWorkItemRequest] lease_work_item_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::DataflowV1b3::LeaseWorkItemResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataflowV1b3::LeaseWorkItemResponse] - # - # @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 lease_project_work_item(project_id, job_id, lease_work_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease', options) - command.request_representation = Google::Apis::DataflowV1b3::LeaseWorkItemRequest::Representation - command.request_object = lease_work_item_request_object - command.response_representation = Google::Apis::DataflowV1b3::LeaseWorkItemResponse::Representation - command.response_class = Google::Apis::DataflowV1b3::LeaseWorkItemResponse - command.params['projectId'] = project_id unless project_id.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 - - # Send encoded debug capture data for component. - # @param [String] project_id - # The project id. - # @param [String] job_id - # The job id. - # @param [Google::Apis::DataflowV1b3::SendDebugCaptureRequest] send_debug_capture_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::DataflowV1b3::SendDebugCaptureResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataflowV1b3::SendDebugCaptureResponse] - # - # @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 send_project_job_debug_capture(project_id, job_id, send_debug_capture_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture', options) - command.request_representation = Google::Apis::DataflowV1b3::SendDebugCaptureRequest::Representation - command.request_object = send_debug_capture_request_object - command.response_representation = Google::Apis::DataflowV1b3::SendDebugCaptureResponse::Representation - command.response_class = Google::Apis::DataflowV1b3::SendDebugCaptureResponse - command.params['projectId'] = project_id unless project_id.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 - - # Get encoded debug configuration for component. Not cacheable. - # @param [String] project_id - # The project id. - # @param [String] job_id - # The job id. - # @param [Google::Apis::DataflowV1b3::GetDebugConfigRequest] get_debug_config_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::DataflowV1b3::GetDebugConfigResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataflowV1b3::GetDebugConfigResponse] - # - # @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_project_job_debug_config(project_id, job_id, get_debug_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/debug/getConfig', options) - command.request_representation = Google::Apis::DataflowV1b3::GetDebugConfigRequest::Representation - command.request_object = get_debug_config_request_object - command.response_representation = Google::Apis::DataflowV1b3::GetDebugConfigResponse::Representation - command.response_class = Google::Apis::DataflowV1b3::GetDebugConfigResponse - command.params['projectId'] = project_id unless project_id.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 - - # Request the job status. - # @param [String] project_id - # A project id. - # @param [String] job_id - # The job to get messages about. - # @param [String] location - # The location which contains the job specified by job_id. - # @param [String] end_time - # Return only messages with timestamps < end_time. The default is now - # (i.e. return up to the latest messages available). - # @param [String] page_token - # If supplied, this should be the value of next_page_token returned - # by an earlier call. This will cause the next page of results to - # be returned. - # @param [String] start_time - # If specified, return only messages with timestamps >= start_time. - # The default is the job creation time (i.e. beginning of messages). - # @param [Fixnum] page_size - # If specified, determines the maximum number of messages to - # return. If unspecified, the service may choose an appropriate - # default, or may return an arbitrarily large number of results. - # @param [String] minimum_importance - # Filter to only get messages with importance >= level - # @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::DataflowV1b3::ListJobMessagesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataflowV1b3::ListJobMessagesResponse] - # - # @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_project_job_messages(project_id, job_id, location: nil, end_time: nil, page_token: nil, start_time: nil, page_size: nil, minimum_importance: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/messages', options) - command.response_representation = Google::Apis::DataflowV1b3::ListJobMessagesResponse::Representation - command.response_class = Google::Apis::DataflowV1b3::ListJobMessagesResponse - command.params['projectId'] = project_id unless project_id.nil? - command.params['jobId'] = job_id unless job_id.nil? - command.query['location'] = location unless location.nil? - command.query['endTime'] = end_time unless end_time.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['startTime'] = start_time unless start_time.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['minimumImportance'] = minimum_importance unless minimum_importance.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/dataproc_v1.rb b/generated/google/apis/dataproc_v1.rb index 618d387ab..b50ca3ddd 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 = '20170707' + REVISION = '20170822' # 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 9336d5655..188373583 100644 --- a/generated/google/apis/dataproc_v1/classes.rb +++ b/generated/google/apis/dataproc_v1/classes.rb @@ -22,17 +22,1159 @@ module Google module Apis module DataprocV1 + # Specifies the type and number of accelerator cards attached to the instances + # of an instance group (see GPUs on Compute Engine). + class AcceleratorConfig + include Google::Apis::Core::Hashable + + # The number of the accelerator cards of this type exposed to this instance. + # Corresponds to the JSON property `acceleratorCount` + # @return [Fixnum] + attr_accessor :accelerator_count + + # Full URL, partial URI, or short name of the accelerator type resource to + # expose to this instance. See Google Compute Engine AcceleratorTypes( /compute/ + # docs/reference/beta/acceleratorTypes)Examples * https://www.googleapis.com/ + # compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia- + # tesla-k80 * projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia- + # tesla-k80 * nvidia-tesla-k80 + # Corresponds to the JSON property `acceleratorTypeUri` + # @return [String] + attr_accessor :accelerator_type_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count) + @accelerator_type_uri = args[:accelerator_type_uri] if args.key?(:accelerator_type_uri) + 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 + + # Describes the identifying information, config, and status of a cluster of + # Google Compute Engine instances. + class Cluster + include Google::Apis::Core::Hashable + + # 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 + + # 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 + + # The cluster config. + # Corresponds to the JSON property `config` + # @return [Google::Apis::DataprocV1::ClusterConfig] + attr_accessor :config + + # Optional. The labels to associate with this cluster. Label keys must contain 1 + # to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/ + # rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 + # characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt) + # . No more than 32 labels can be associated with a cluster. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Contains cluster daemon metrics, such as HDFS and YARN stats.Beta Feature: + # This report is available for testing purposes only. It may be changed before + # final release. + # Corresponds to the JSON property `metrics` + # @return [Google::Apis::DataprocV1::ClusterMetrics] + attr_accessor :metrics + + # Required. The Google Cloud Platform project ID that the cluster belongs to. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # 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 + + 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) + @config = args[:config] if args.key?(:config) + @labels = args[:labels] if args.key?(:labels) + @metrics = args[:metrics] if args.key?(:metrics) + @project_id = args[:project_id] if args.key?(:project_id) + @status = args[:status] if args.key?(:status) + @status_history = args[:status_history] if args.key?(:status_history) + 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 + + # 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 using curl (you can also use wget): + # ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/ + # instance/attributes/dataproc-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 + + # Optional. 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 + + # Optional. 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. 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 + + 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) + @initialization_actions = args[:initialization_actions] if args.key?(:initialization_actions) + @master_config = args[:master_config] if args.key?(:master_config) + @secondary_worker_config = args[:secondary_worker_config] if args.key?(:secondary_worker_config) + @software_config = args[:software_config] if args.key?(:software_config) + @worker_config = args[:worker_config] if args.key?(:worker_config) + end + end + + # Contains cluster daemon metrics, such as HDFS and YARN stats.Beta Feature: + # This report is available for testing purposes only. It may be changed before + # final release. + class ClusterMetrics + include Google::Apis::Core::Hashable + + # The HDFS metrics. + # Corresponds to the JSON property `hdfsMetrics` + # @return [Hash] + attr_accessor :hdfs_metrics + + # The YARN metrics. + # Corresponds to the JSON property `yarnMetrics` + # @return [Hash] + attr_accessor :yarn_metrics + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @hdfs_metrics = args[:hdfs_metrics] if args.key?(:hdfs_metrics) + @yarn_metrics = args[:yarn_metrics] if args.key?(:yarn_metrics) + end + end + + # Metadata describing the operation. + class ClusterOperationMetadata + include Google::Apis::Core::Hashable + + # Output-only. Name of the cluster for the operation. + # Corresponds to the JSON property `clusterName` + # @return [String] + attr_accessor :cluster_name + + # Output-only. Cluster UUID for the operation. + # Corresponds to the JSON property `clusterUuid` + # @return [String] + attr_accessor :cluster_uuid + + # Output-only. Short description of operation. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Output-only. Labels associated with the operation + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Output-only. The operation type. + # Corresponds to the JSON property `operationType` + # @return [String] + attr_accessor :operation_type + + # 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. Errors encountered during operation execution. + # Corresponds to the JSON property `warnings` + # @return [Array] + attr_accessor :warnings + + 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) + @description = args[:description] if args.key?(:description) + @labels = args[:labels] if args.key?(:labels) + @operation_type = args[:operation_type] if args.key?(:operation_type) + @status = args[:status] if args.key?(:status) + @status_history = args[:status_history] if args.key?(:status_history) + @warnings = args[:warnings] if args.key?(:warnings) + end + end + + # The status of the operation. + class ClusterOperationStatus + include Google::Apis::Core::Hashable + + # Output-only.A message containing any operation metadata details. + # Corresponds to the JSON property `details` + # @return [String] + attr_accessor :details + + # Output-only. A message containing the detailed operation state. + # Corresponds to the JSON property `innerState` + # @return [String] + attr_accessor :inner_state + + # Output-only. A message containing the operation state. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Output-only. 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) + @details = args[:details] if args.key?(:details) + @inner_state = args[:inner_state] if args.key?(:inner_state) + @state = args[:state] if args.key?(:state) + @state_start_time = args[:state_start_time] if args.key?(:state_start_time) + end + end + + # The status of a cluster and its instances. + class ClusterStatus + include Google::Apis::Core::Hashable + + # Output-only. Optional details of cluster's state. + # Corresponds to the JSON property `detail` + # @return [String] + attr_accessor :detail + + # Output-only. The cluster's state. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Output-only. Time when this state was entered. + # Corresponds to the JSON property `stateStartTime` + # @return [String] + attr_accessor :state_start_time + + # Output-only. Additional state information that includes status reported by the + # agent. + # Corresponds to the JSON property `substate` + # @return [String] + attr_accessor :substate + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @detail = args[:detail] if args.key?(:detail) + @state = args[:state] if args.key?(:state) + @state_start_time = args[:state_start_time] if args.key?(:state_start_time) + @substate = args[:substate] if args.key?(:substate) + 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 + + # The location of diagnostic output. + class DiagnoseClusterResults + include Google::Apis::Core::Hashable + + # Output-only. The Google Cloud Storage URI of the diagnostic output. The output + # report 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 + + # 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 (https://hadoop. + # apache.org/docs/r1.2.1/hdfs_user_guide.html) 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 + + # 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 + + # 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 + + # Optional. If true, all instances in the cluster will only have internal IP + # addresses. By default, clusters are not restricted to internal IP addresses, + # and will have ephemeral external IP addresses assigned to each instance. This + # internal_ip_only restriction can only be enabled for subnetwork enabled + # networks, and all off-cluster dependencies must be configured to be accessible + # without external IP addresses. + # Corresponds to the JSON property `internalIpOnly` + # @return [Boolean] + attr_accessor :internal_ip_only + alias_method :internal_ip_only?, :internal_ip_only + + # The Google Compute Engine metadata entries to add to all instances (see + # Project and instance metadata (https://cloud.google.com/compute/docs/storing- + # retrieving-metadata#project_and_instance_metadata)). + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # Optional. 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 Using + # Subnetworks for more information).A full URL, partial URI, or short name are + # valid. Examples: + # https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/ + # default + # projects/[project_id]/regions/global/default + # default + # Corresponds to the JSON property `networkUri` + # @return [String] + attr_accessor :network_uri + + # Optional. The service account of the instances. Defaults to the default Google + # Compute Engine service account. Custom service accounts need permissions + # equivalent to the folloing IAM roles: + # roles/logging.logWriter + # roles/storage.objectAdmin(see https://cloud.google.com/compute/docs/access/ + # service-accounts#custom_service_accounts for more information). Example: [ + # account_id]@[project_id].iam.gserviceaccount.com + # Corresponds to the JSON property `serviceAccount` + # @return [String] + attr_accessor :service_account + + # Optional. 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.writeIf no scopes are specified, 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 + + # Optional. The Google Compute Engine subnetwork to be used for machine + # communications. Cannot be specified with network_uri.A full URL, partial URI, + # or short name are valid. Examples: + # https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/ + # sub0 + # projects/[project_id]/regions/us-east1/sub0 + # sub0 + # Corresponds to the JSON property `subnetworkUri` + # @return [String] + attr_accessor :subnetwork_uri + + # The Google Compute Engine tags to add to all instances (see Tagging instances). + # Corresponds to the JSON property `tags` + # @return [Array] + attr_accessor :tags + + # Optional. The zone where the Google Compute Engine cluster will be located. On + # a create request, it is required in the "global" region. If omitted in a non- + # global Cloud Dataproc region, the service will pick a zone in the + # corresponding Compute Engine region. On a get request, zone will always be + # present.A full URL, partial URI, or short name are valid. Examples: + # https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone] + # projects/[project_id]/zones/[zone] + # us-central1-f + # Corresponds to the JSON property `zoneUri` + # @return [String] + attr_accessor :zone_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @internal_ip_only = args[:internal_ip_only] if args.key?(:internal_ip_only) + @metadata = args[:metadata] if args.key?(:metadata) + @network_uri = args[:network_uri] if args.key?(:network_uri) + @service_account = args[:service_account] if args.key?(:service_account) + @service_account_scopes = args[:service_account_scopes] if args.key?(:service_account_scopes) + @subnetwork_uri = args[:subnetwork_uri] if args.key?(:subnetwork_uri) + @tags = args[:tags] if args.key?(:tags) + @zone_uri = args[:zone_uri] if args.key?(:zone_uri) + end + end + + # A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop. + # apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/ + # MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/ + # docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html). + class HadoopJob + include Google::Apis::Core::Hashable + + # 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. 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. 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. 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 + + # The runtime logging config of the job. + # Corresponds to the JSON property `loggingConfig` + # @return [Google::Apis::DataprocV1::LoggingConfig] + attr_accessor :logging_config + + # 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 + + # 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 + + # 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 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @archive_uris = args[:archive_uris] if args.key?(:archive_uris) + @args = args[:args] if args.key?(:args) + @file_uris = args[:file_uris] if args.key?(:file_uris) + @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) + @logging_config = args[:logging_config] if args.key?(:logging_config) + @main_class = args[:main_class] if args.key?(:main_class) + @main_jar_file_uri = args[:main_jar_file_uri] if args.key?(:main_jar_file_uri) + @properties = args[:properties] if args.key?(:properties) + end + end + + # A Cloud Dataproc job for running Apache Hive (https://hive.apache.org/) + # queries on YARN. + class HiveJob + include Google::Apis::Core::Hashable + + # 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. 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 + + # 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 + + # 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. 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 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @continue_on_failure = args[:continue_on_failure] if args.key?(:continue_on_failure) + @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) + @properties = args[:properties] if args.key?(:properties) + @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) + end + end + + # Optional. 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 + + # Optional. The Google Compute Engine accelerator configuration for these + # instances.Beta Feature: This feature is still under development. It may be + # changed before final release. + # Corresponds to the JSON property `accelerators` + # @return [Array] + attr_accessor :accelerators + + # 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 + + # 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 + + # Optional. 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 + + # Optional. 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 + + # Optional. The Google Compute Engine machine type used for cluster instances.A + # full URL, partial URI, or short name are valid. Examples: + # https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/ + # machineTypes/n1-standard-2 + # projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2 + # n1-standard-2 + # Corresponds to the JSON property `machineTypeUri` + # @return [String] + attr_accessor :machine_type_uri + + # 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 + + # Optional. 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 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @accelerators = args[:accelerators] if args.key?(:accelerators) + @disk_config = args[:disk_config] if args.key?(:disk_config) + @image_uri = args[:image_uri] if args.key?(:image_uri) + @instance_names = args[:instance_names] if args.key?(:instance_names) + @is_preemptible = args[:is_preemptible] if args.key?(:is_preemptible) + @machine_type_uri = args[:machine_type_uri] if args.key?(:machine_type_uri) + @managed_group_config = args[:managed_group_config] if args.key?(:managed_group_config) + @num_instances = args[:num_instances] if args.key?(:num_instances) + end + end + + # A Cloud Dataproc job resource. + class Job + include Google::Apis::Core::Hashable + + # 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 + + # 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 + + # A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop. + # apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/ + # MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/ + # docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html). + # Corresponds to the JSON property `hadoopJob` + # @return [Google::Apis::DataprocV1::HadoopJob] + attr_accessor :hadoop_job + + # A Cloud Dataproc job for running Apache Hive (https://hive.apache.org/) + # queries on YARN. + # Corresponds to the JSON property `hiveJob` + # @return [Google::Apis::DataprocV1::HiveJob] + attr_accessor :hive_job + + # Optional. The labels to associate with this job. Label keys must contain 1 to + # 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035. + # txt). Label values may be empty, but, if present, must contain 1 to 63 + # characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt) + # . No more than 32 labels can be associated with a job. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # A Cloud Dataproc job for running Apache Pig (https://pig.apache.org/) queries + # on YARN. + # Corresponds to the JSON property `pigJob` + # @return [Google::Apis::DataprocV1::PigJob] + attr_accessor :pig_job + + # Cloud Dataproc job config. + # Corresponds to the JSON property `placement` + # @return [Google::Apis::DataprocV1::JobPlacement] + attr_accessor :placement + + # A Cloud Dataproc job for running Apache PySpark (https://spark.apache.org/docs/ + # 0.9.0/python-programming-guide.html) applications on YARN. + # Corresponds to the JSON property `pysparkJob` + # @return [Google::Apis::DataprocV1::PySparkJob] + attr_accessor :pyspark_job + + # Encapsulates the full scoping used to reference a job. + # Corresponds to the JSON property `reference` + # @return [Google::Apis::DataprocV1::JobReference] + attr_accessor :reference + + # Job scheduling options.Beta Feature: These options are available for testing + # purposes only. They may be changed before final release. + # Corresponds to the JSON property `scheduling` + # @return [Google::Apis::DataprocV1::JobScheduling] + attr_accessor :scheduling + + # A Cloud Dataproc job for running Apache Spark (http://spark.apache.org/) + # applications on YARN. + # Corresponds to the JSON property `sparkJob` + # @return [Google::Apis::DataprocV1::SparkJob] + attr_accessor :spark_job + + # A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/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. The collection of YARN applications spun up by this job.Beta + # Feature: This report is available for testing purposes only. It may be changed + # before final release. + # Corresponds to the JSON property `yarnApplications` + # @return [Array] + attr_accessor :yarn_applications + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @driver_control_files_uri = args[:driver_control_files_uri] if args.key?(:driver_control_files_uri) + @driver_output_resource_uri = args[:driver_output_resource_uri] if args.key?(:driver_output_resource_uri) + @hadoop_job = args[:hadoop_job] if args.key?(:hadoop_job) + @hive_job = args[:hive_job] if args.key?(:hive_job) + @labels = args[:labels] if args.key?(:labels) + @pig_job = args[:pig_job] if args.key?(:pig_job) + @placement = args[:placement] if args.key?(:placement) + @pyspark_job = args[:pyspark_job] if args.key?(:pyspark_job) + @reference = args[:reference] if args.key?(:reference) + @scheduling = args[:scheduling] if args.key?(:scheduling) + @spark_job = args[:spark_job] if args.key?(:spark_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) + @yarn_applications = args[:yarn_applications] if args.key?(:yarn_applications) + 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 + + # Encapsulates the full scoping used to reference a job. + class JobReference + include Google::Apis::Core::Hashable + + # Optional. 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 100 characters. + # Corresponds to the JSON property `jobId` + # @return [String] + attr_accessor :job_id + + # 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 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @job_id = args[:job_id] if args.key?(:job_id) + @project_id = args[:project_id] if args.key?(:project_id) + end + end + + # Job scheduling options.Beta Feature: These options are available for testing + # purposes only. They may be changed before final release. + class JobScheduling + include Google::Apis::Core::Hashable + + # Optional. Maximum number of times per hour a driver may be restarted as a + # result of driver terminating with non-zero code before job is reported failed. + # A job may be reported as thrashing if driver exits with non-zero code 4 times + # within 10 minute window.Maximum value is 10. + # Corresponds to the JSON property `maxFailuresPerHour` + # @return [Fixnum] + attr_accessor :max_failures_per_hour + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @max_failures_per_hour = args[:max_failures_per_hour] if args.key?(:max_failures_per_hour) + end + end + + # Cloud Dataproc job status. + class JobStatus + include Google::Apis::Core::Hashable + + # Output-only. 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. A state message specifying the overall job state. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Output-only. The time when this state was entered. + # Corresponds to the JSON property `stateStartTime` + # @return [String] + attr_accessor :state_start_time + + # Output-only. Additional state information, which includes status reported by + # the agent. + # Corresponds to the JSON property `substate` + # @return [String] + attr_accessor :substate + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @details = args[:details] if args.key?(:details) + @state = args[:state] if args.key?(:state) + @state_start_time = args[:state_start_time] if args.key?(:state_start_time) + @substate = args[:substate] if args.key?(:substate) + 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 + + # Output-only. 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 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 + + # The response message for Operations.ListOperations. + class ListOperationsResponse + include Google::Apis::Core::Hashable + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + 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) + @operations = args[:operations] if args.key?(:operations) + 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 + + # Specifies the resources used to actively manage an instance group. + class ManagedGroupConfig + include Google::Apis::Core::Hashable + + # 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 + + # 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 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instance_group_manager_name = args[:instance_group_manager_name] if args.key?(:instance_group_manager_name) + @instance_template_name = args[:instance_template_name] if args.key?(:instance_template_name) + 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 + # 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 + # 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 @@ -80,12 +1222,12 @@ module Google # @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 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 # 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. @@ -104,31 +1246,61 @@ module Google # Update properties of this object def update!(**args) - @name = args[:name] if args.key?(:name) + @done = args[:done] if args.key?(:done) @error = args[:error] if args.key?(:error) @metadata = args[:metadata] if args.key?(:metadata) - @done = args[:done] if args.key?(:done) + @name = args[:name] if args.key?(:name) @response = args[:response] if args.key?(:response) end end - # Encapsulates the full scoping used to reference a job. - class JobReference + # A Cloud Dataproc job for running Apache Pig (https://pig.apache.org/) queries + # on YARN. + class PigJob include Google::Apis::Core::Hashable - # Optional. 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 100 characters. - # Corresponds to the JSON property `jobId` - # @return [String] - attr_accessor :job_id + # 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 - # Required. The ID of the Google Cloud Platform project that the job belongs to. - # Corresponds to the JSON property `projectId` + # 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 + + # 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 + + # The HCFS URI of the script that contains the Pig queries. + # Corresponds to the JSON property `queryFileUri` # @return [String] - attr_accessor :project_id + 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 Pig + # command: name=[value]). + # Corresponds to the JSON property `scriptVariables` + # @return [Hash] + attr_accessor :script_variables def initialize(**args) update!(**args) @@ -136,19 +1308,70 @@ module Google # Update properties of this object def update!(**args) - @job_id = args[:job_id] if args.key?(:job_id) - @project_id = args[:project_id] if args.key?(:project_id) + @continue_on_failure = args[:continue_on_failure] if args.key?(:continue_on_failure) + @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) + @logging_config = args[:logging_config] if args.key?(:logging_config) + @properties = args[:properties] if args.key?(:properties) + @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) end end - # A request to submit a job. - class SubmitJobRequest + # A Cloud Dataproc job for running Apache PySpark (https://spark.apache.org/docs/ + # 0.9.0/python-programming-guide.html) applications on YARN. + class PySparkJob include Google::Apis::Core::Hashable - # A Cloud Dataproc job resource. - # Corresponds to the JSON property `job` - # @return [Google::Apis::DataprocV1::Job] - attr_accessor :job + # 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. 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 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 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 + + # The runtime logging config of the job. + # Corresponds to the JSON property `loggingConfig` + # @return [Google::Apis::DataprocV1::LoggingConfig] + attr_accessor :logging_config + + # 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. 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 + + # 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 def initialize(**args) update!(**args) @@ -156,7 +1379,208 @@ module Google # Update properties of this object def update!(**args) - @job = args[:job] if args.key?(:job) + @archive_uris = args[:archive_uris] if args.key?(:archive_uris) + @args = args[:args] if args.key?(:args) + @file_uris = args[:file_uris] if args.key?(:file_uris) + @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) + @logging_config = args[:logging_config] if args.key?(:logging_config) + @main_python_file_uri = args[:main_python_file_uri] if args.key?(:main_python_file_uri) + @properties = args[:properties] if args.key?(:properties) + @python_file_uris = args[:python_file_uris] if args.key?(:python_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 + + # 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). + # 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: + # capacity-scheduler: capacity-scheduler.xml + # core: core-site.xml + # distcp: distcp-default.xml + # hdfs: hdfs-site.xml + # hive: hive-site.xml + # mapred: mapred-site.xml + # pig: pig.properties + # spark: spark-defaults.conf + # yarn: yarn-site.xmlFor more information, see Cluster properties. + # 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 + + # A Cloud Dataproc job for running Apache Spark (http://spark.apache.org/) + # applications on YARN. + class SparkJob + include Google::Apis::Core::Hashable + + # 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. 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 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 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 + + # The runtime logging config of the job. + # Corresponds to the JSON property `loggingConfig` + # @return [Google::Apis::DataprocV1::LoggingConfig] + attr_accessor :logging_config + + # 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 + + # 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 + + # 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 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @archive_uris = args[:archive_uris] if args.key?(:archive_uris) + @args = args[:args] if args.key?(:args) + @file_uris = args[:file_uris] if args.key?(:file_uris) + @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) + @logging_config = args[:logging_config] if args.key?(:logging_config) + @main_class = args[:main_class] if args.key?(:main_class) + @main_jar_file_uri = args[:main_jar_file_uri] if args.key?(:main_jar_file_uri) + @properties = args[:properties] if args.key?(:properties) + end + end + + # A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/ + # ) queries. + class SparkSqlJob + include Google::Apis::Core::Hashable + + # 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 + + # 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 + + # 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 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) + @logging_config = args[:logging_config] if args.key?(:logging_config) + @properties = args[:properties] if args.key?(:properties) + @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) end end @@ -202,6 +1626,12 @@ module Google # @return [Fixnum] attr_accessor :code + # A list of messages that carry the error details. There is 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. @@ -209,12 +1639,6 @@ module Google # @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 @@ -222,67 +1646,19 @@ module Google # 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) - @details = args[:details] if args.key?(:details) end end - # Optional. The config settings for Google Compute Engine resources in an - # instance group, such as a master or worker group. - class InstanceGroupConfig + # A request to submit a job. + class SubmitJobRequest include Google::Apis::Core::Hashable - # 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 - - # Optional. The Google Compute Engine machine type used for cluster instances.A - # full URL, partial URI, or short name are valid. Examples: - # https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/ - # machineTypes/n1-standard-2 - # projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2 - # n1-standard-2 - # Corresponds to the JSON property `machineTypeUri` - # @return [String] - attr_accessor :machine_type_uri - - # 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 - - # 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 - - # Optional. 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 - - # Optional. 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 - - # Optional. The Google Compute Engine accelerator configuration for these - # instances.Beta Feature: This feature is still under development. It may be - # changed before final release. - # Corresponds to the JSON property `accelerators` - # @return [Array] - attr_accessor :accelerators - - # Optional. 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 + # A Cloud Dataproc job resource. + # Corresponds to the JSON property `job` + # @return [Google::Apis::DataprocV1::Job] + attr_accessor :job def initialize(**args) update!(**args) @@ -290,851 +1666,7 @@ module Google # Update properties of this object def update!(**args) - @disk_config = args[:disk_config] if args.key?(:disk_config) - @machine_type_uri = args[:machine_type_uri] if args.key?(:machine_type_uri) - @image_uri = args[:image_uri] if args.key?(:image_uri) - @managed_group_config = args[:managed_group_config] if args.key?(:managed_group_config) - @is_preemptible = args[:is_preemptible] if args.key?(:is_preemptible) - @instance_names = args[:instance_names] if args.key?(:instance_names) - @accelerators = args[:accelerators] if args.key?(:accelerators) - @num_instances = args[:num_instances] if args.key?(:num_instances) - end - end - - # Job scheduling options.Beta Feature: These options are available for testing - # purposes only. They may be changed before final release. - class JobScheduling - include Google::Apis::Core::Hashable - - # Optional. Maximum number of times per hour a driver may be restarted as a - # result of driver terminating with non-zero code before job is reported failed. - # A job may be reported as thrashing if driver exits with non-zero code 4 times - # within 10 minute window.Maximum value is 10. - # Corresponds to the JSON property `maxFailuresPerHour` - # @return [Fixnum] - attr_accessor :max_failures_per_hour - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @max_failures_per_hour = args[:max_failures_per_hour] if args.key?(:max_failures_per_hour) - 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 - - # 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 Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/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. 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 - - # 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 - - 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) - @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) - @logging_config = args[:logging_config] if args.key?(:logging_config) - @properties = args[:properties] if args.key?(:properties) - end - end - - # Describes the identifying information, config, and status of a cluster of - # Google Compute Engine instances. - class Cluster - include Google::Apis::Core::Hashable - - # Optional. The labels to associate with this cluster. Label keys must contain 1 - # to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/ - # rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 - # characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt) - # . No more than 32 labels can be associated with a cluster. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # Contains cluster daemon metrics, such as HDFS and YARN stats.Beta Feature: - # This report is available for testing purposes only. It may be changed before - # final release. - # Corresponds to the JSON property `metrics` - # @return [Google::Apis::DataprocV1::ClusterMetrics] - attr_accessor :metrics - - # 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 - - # The cluster config. - # Corresponds to the JSON property `config` - # @return [Google::Apis::DataprocV1::ClusterConfig] - attr_accessor :config - - # 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 - - # 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 - - # Required. The Google Cloud Platform project ID that the cluster belongs to. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @labels = args[:labels] if args.key?(:labels) - @metrics = args[:metrics] if args.key?(:metrics) - @status = args[:status] if args.key?(:status) - @status_history = args[:status_history] if args.key?(:status_history) - @config = args[:config] if args.key?(:config) - @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) - @cluster_name = args[:cluster_name] if args.key?(:cluster_name) - @project_id = args[:project_id] if args.key?(:project_id) - 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 - - # Cloud Dataproc job config. - class JobPlacement - include Google::Apis::Core::Hashable - - # 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 - - # Required. The name of the cluster where the job will be submitted. - # Corresponds to the JSON property `clusterName` - # @return [String] - attr_accessor :cluster_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) - @cluster_name = args[:cluster_name] if args.key?(:cluster_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). - # 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: - # capacity-scheduler: capacity-scheduler.xml - # core: core-site.xml - # distcp: distcp-default.xml - # hdfs: hdfs-site.xml - # hive: hive-site.xml - # mapred: mapred-site.xml - # pig: pig.properties - # spark: spark-defaults.conf - # yarn: yarn-site.xml - # 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 - - # The status of a cluster and its instances. - class ClusterStatus - include Google::Apis::Core::Hashable - - # Output-only. Additional state information that includes status reported by the - # agent. - # Corresponds to the JSON property `substate` - # @return [String] - attr_accessor :substate - - # Output-only. Time when this state was entered. - # Corresponds to the JSON property `stateStartTime` - # @return [String] - attr_accessor :state_start_time - - # Output-only. Optional details of cluster's state. - # Corresponds to the JSON property `detail` - # @return [String] - attr_accessor :detail - - # Output-only. The cluster's state. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @substate = args[:substate] if args.key?(:substate) - @state_start_time = args[:state_start_time] if args.key?(:state_start_time) - @detail = args[:detail] if args.key?(:detail) - @state = args[:state] if args.key?(:state) - end - end - - # A Cloud Dataproc job for running Apache Pig (https://pig.apache.org/) queries - # on YARN. - class PigJob - include Google::Apis::Core::Hashable - - # 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 - - # A list of queries to run on a cluster. - # Corresponds to the JSON property `queryList` - # @return [Google::Apis::DataprocV1::QueryList] - attr_accessor :query_list - - # The HCFS URI of the script that contains the Pig queries. - # Corresponds to the JSON property `queryFileUri` - # @return [String] - attr_accessor :query_file_uri - - # 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 - - # 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 - - # The runtime logging config of the job. - # Corresponds to the JSON property `loggingConfig` - # @return [Google::Apis::DataprocV1::LoggingConfig] - attr_accessor :logging_config - - # 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 - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @continue_on_failure = args[:continue_on_failure] if args.key?(:continue_on_failure) - @query_list = args[:query_list] if args.key?(:query_list) - @query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri) - @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) - @script_variables = args[:script_variables] if args.key?(:script_variables) - @logging_config = args[:logging_config] if args.key?(:logging_config) - @properties = args[:properties] if args.key?(:properties) - end - end - - # The list of all clusters in a project. - class ListClustersResponse - include Google::Apis::Core::Hashable - - # Output-only. 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 - - # Output-only. The clusters in the project. - # Corresponds to the JSON property `clusters` - # @return [Array] - attr_accessor :clusters - - 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) - @clusters = args[:clusters] if args.key?(:clusters) - end - end - - # A Cloud Dataproc job resource. - class Job - include Google::Apis::Core::Hashable - - # A Cloud Dataproc job for running Apache Hive (https://hive.apache.org/) - # queries on YARN. - # Corresponds to the JSON property `hiveJob` - # @return [Google::Apis::DataprocV1::HiveJob] - attr_accessor :hive_job - - # Optional. The labels to associate with this job. Label keys must contain 1 to - # 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035. - # txt). Label values may be empty, but, if present, must contain 1 to 63 - # characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt) - # . No more than 32 labels can be associated with a job. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # 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 - - # A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/ - # ) queries. - # Corresponds to the JSON property `sparkSqlJob` - # @return [Google::Apis::DataprocV1::SparkSqlJob] - attr_accessor :spark_sql_job - - # Output-only. The previous job status. - # Corresponds to the JSON property `statusHistory` - # @return [Array] - attr_accessor :status_history - - # A Cloud Dataproc job for running Apache Spark (http://spark.apache.org/) - # applications on YARN. - # Corresponds to the JSON property `sparkJob` - # @return [Google::Apis::DataprocV1::SparkJob] - attr_accessor :spark_job - - # Output-only. The collection of YARN applications spun up by this job.Beta - # Feature: This report is available for testing purposes only. It may be changed - # before final release. - # Corresponds to the JSON property `yarnApplications` - # @return [Array] - attr_accessor :yarn_applications - - # A Cloud Dataproc job for running Apache PySpark (https://spark.apache.org/docs/ - # 0.9.0/python-programming-guide.html) applications on YARN. - # Corresponds to the JSON property `pysparkJob` - # @return [Google::Apis::DataprocV1::PySparkJob] - attr_accessor :pyspark_job - - # Encapsulates the full scoping used to reference a job. - # Corresponds to the JSON property `reference` - # @return [Google::Apis::DataprocV1::JobReference] - attr_accessor :reference - - # A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop. - # apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/ - # MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/ - # docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html). - # Corresponds to the JSON property `hadoopJob` - # @return [Google::Apis::DataprocV1::HadoopJob] - attr_accessor :hadoop_job - - # Cloud Dataproc job config. - # Corresponds to the JSON property `placement` - # @return [Google::Apis::DataprocV1::JobPlacement] - attr_accessor :placement - - # Cloud Dataproc job status. - # Corresponds to the JSON property `status` - # @return [Google::Apis::DataprocV1::JobStatus] - attr_accessor :status - - # 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 - - # Job scheduling options.Beta Feature: These options are available for testing - # purposes only. They may be changed before final release. - # Corresponds to the JSON property `scheduling` - # @return [Google::Apis::DataprocV1::JobScheduling] - attr_accessor :scheduling - - # A Cloud Dataproc job for running Apache Pig (https://pig.apache.org/) queries - # on YARN. - # Corresponds to the JSON property `pigJob` - # @return [Google::Apis::DataprocV1::PigJob] - attr_accessor :pig_job - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @hive_job = args[:hive_job] if args.key?(:hive_job) - @labels = args[:labels] if args.key?(:labels) - @driver_output_resource_uri = args[:driver_output_resource_uri] if args.key?(:driver_output_resource_uri) - @spark_sql_job = args[:spark_sql_job] if args.key?(:spark_sql_job) - @status_history = args[:status_history] if args.key?(:status_history) - @spark_job = args[:spark_job] if args.key?(:spark_job) - @yarn_applications = args[:yarn_applications] if args.key?(:yarn_applications) - @pyspark_job = args[:pyspark_job] if args.key?(:pyspark_job) - @reference = args[:reference] if args.key?(:reference) - @hadoop_job = args[:hadoop_job] if args.key?(:hadoop_job) - @placement = args[:placement] if args.key?(:placement) - @status = args[:status] if args.key?(:status) - @driver_control_files_uri = args[:driver_control_files_uri] if args.key?(:driver_control_files_uri) - @scheduling = args[:scheduling] if args.key?(:scheduling) - @pig_job = args[:pig_job] if args.key?(:pig_job) - end - end - - # A Cloud Dataproc job for running Apache Spark (http://spark.apache.org/) - # applications on YARN. - class SparkJob - include Google::Apis::Core::Hashable - - # 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. 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 - - # 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 - - # 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 - - # The runtime logging config of the job. - # Corresponds to the JSON property `loggingConfig` - # @return [Google::Apis::DataprocV1::LoggingConfig] - attr_accessor :logging_config - - # 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 - - # 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 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 - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @main_class = args[:main_class] if args.key?(:main_class) - @archive_uris = args[:archive_uris] if args.key?(:archive_uris) - @main_jar_file_uri = args[:main_jar_file_uri] if args.key?(:main_jar_file_uri) - @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) - @logging_config = args[:logging_config] if args.key?(:logging_config) - @properties = args[:properties] if args.key?(:properties) - @args = args[:args] if args.key?(:args) - @file_uris = args[:file_uris] if args.key?(:file_uris) - end - end - - # Cloud Dataproc job status. - class JobStatus - include Google::Apis::Core::Hashable - - # Output-only. 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. A state message specifying the overall job state. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # Output-only. Additional state information, which includes status reported by - # the agent. - # Corresponds to the JSON property `substate` - # @return [String] - attr_accessor :substate - - # 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) - @details = args[:details] if args.key?(:details) - @state = args[:state] if args.key?(:state) - @substate = args[:substate] if args.key?(:substate) - @state_start_time = args[:state_start_time] if args.key?(:state_start_time) - 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 Group Manager for this group. - # Corresponds to the JSON property `instanceGroupManagerName` - # @return [String] - attr_accessor :instance_group_manager_name - - # 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 - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @instance_group_manager_name = args[:instance_group_manager_name] if args.key?(:instance_group_manager_name) - @instance_template_name = args[:instance_template_name] if args.key?(:instance_template_name) - end - end - - # The status of the operation. - class ClusterOperationStatus - include Google::Apis::Core::Hashable - - # Output-only.A message containing any operation metadata details. - # Corresponds to the JSON property `details` - # @return [String] - attr_accessor :details - - # Output-only. A message containing the operation state. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # Output-only. A message containing the detailed operation state. - # Corresponds to the JSON property `innerState` - # @return [String] - attr_accessor :inner_state - - # Output-only. 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) - @details = args[:details] if args.key?(:details) - @state = args[:state] if args.key?(:state) - @inner_state = args[:inner_state] if args.key?(:inner_state) - @state_start_time = args[:state_start_time] if args.key?(:state_start_time) - end - end - - # A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop. - # apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/ - # MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/ - # docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html). - class HadoopJob - include Google::Apis::Core::Hashable - - # 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 - - # The runtime logging config of the job. - # Corresponds to the JSON property `loggingConfig` - # @return [Google::Apis::DataprocV1::LoggingConfig] - attr_accessor :logging_config - - # 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 - - # 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. 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 - - # 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. 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 - - # 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 - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) - @logging_config = args[:logging_config] if args.key?(:logging_config) - @properties = args[:properties] if args.key?(:properties) - @args = args[:args] if args.key?(:args) - @file_uris = args[:file_uris] if args.key?(:file_uris) - @main_class = args[:main_class] if args.key?(:main_class) - @archive_uris = args[:archive_uris] if args.key?(:archive_uris) - @main_jar_file_uri = args[:main_jar_file_uri] if args.key?(:main_jar_file_uri) - 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) + @job = args[:job] if args.key?(:job) end end @@ -1145,16 +1677,21 @@ module Google class YarnApplication include Google::Apis::Core::Hashable - # Required. The application state. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - # Required. The application name. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name + # Required. The numerical progress of the application, from 1 to 100. + # Corresponds to the JSON property `progress` + # @return [Float] + attr_accessor :progress + + # Required. The application state. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + # Optional. The HTTP URL of the ApplicationMaster, HistoryServer, or # TimelineServer that provides application-specific information. The URL uses # the internal hostname, and requires a proxy server for resolution and, @@ -1163,553 +1700,16 @@ module Google # @return [String] attr_accessor :tracking_url - # Required. The numerical progress of the application, from 1 to 100. - # Corresponds to the JSON property `progress` - # @return [Float] - attr_accessor :progress - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @state = args[:state] if args.key?(:state) @name = args[:name] if args.key?(:name) - @tracking_url = args[:tracking_url] if args.key?(:tracking_url) @progress = args[:progress] if args.key?(:progress) - 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 - - # Specifies the config of disk options for a group of VM instances. - class DiskConfig - include Google::Apis::Core::Hashable - - # 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 (https://hadoop. - # apache.org/docs/r1.2.1/hdfs_user_guide.html) 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 - - # 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 - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @num_local_ssds = args[:num_local_ssds] if args.key?(:num_local_ssds) - @boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb) - end - end - - # Metadata describing the operation. - class ClusterOperationMetadata - include Google::Apis::Core::Hashable - - # 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. Name of the cluster for the operation. - # Corresponds to the JSON property `clusterName` - # @return [String] - attr_accessor :cluster_name - - # Output-only. Cluster UUID for the operation. - # Corresponds to the JSON property `clusterUuid` - # @return [String] - attr_accessor :cluster_uuid - - # 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 - - # Output-only. Errors encountered during operation execution. - # Corresponds to the JSON property `warnings` - # @return [Array] - attr_accessor :warnings - - # Output-only. Labels associated with the operation - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @status = args[:status] if args.key?(:status) - @status_history = args[:status_history] if args.key?(:status_history) - @cluster_name = args[:cluster_name] if args.key?(:cluster_name) - @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) - @operation_type = args[:operation_type] if args.key?(:operation_type) - @description = args[:description] if args.key?(:description) - @warnings = args[:warnings] if args.key?(:warnings) - @labels = args[:labels] if args.key?(:labels) - end - end - - # A Cloud Dataproc job for running Apache Hive (https://hive.apache.org/) - # queries on YARN. - class HiveJob - include Google::Apis::Core::Hashable - - # 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 - - # 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. 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 - - # A list of queries to run on a cluster. - # Corresponds to the JSON property `queryList` - # @return [Google::Apis::DataprocV1::QueryList] - attr_accessor :query_list - - # The HCFS URI of the script that contains Hive queries. - # Corresponds to the JSON property `queryFileUri` - # @return [String] - attr_accessor :query_file_uri - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) - @script_variables = args[:script_variables] if args.key?(:script_variables) - @properties = args[:properties] if args.key?(:properties) - @continue_on_failure = args[:continue_on_failure] if args.key?(:continue_on_failure) - @query_list = args[:query_list] if args.key?(:query_list) - @query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri) - 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 location of diagnostic output. - class DiagnoseClusterResults - include Google::Apis::Core::Hashable - - # Output-only. The Google Cloud Storage URI of the diagnostic output. The output - # report 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 - - # The cluster config. - class ClusterConfig - include Google::Apis::Core::Hashable - - # Optional. 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 - - # Optional. 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 - - # 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 using curl (you can also use wget): - # ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/ - # instance/attributes/dataproc-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 - - # 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 - - # Optional. 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 - - # 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 - - # 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 - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @master_config = args[:master_config] if args.key?(:master_config) - @secondary_worker_config = args[:secondary_worker_config] if args.key?(:secondary_worker_config) - @initialization_actions = args[:initialization_actions] if args.key?(:initialization_actions) - @config_bucket = args[:config_bucket] if args.key?(:config_bucket) - @worker_config = args[:worker_config] if args.key?(:worker_config) - @gce_cluster_config = args[:gce_cluster_config] if args.key?(:gce_cluster_config) - @software_config = args[:software_config] if args.key?(:software_config) - end - end - - # A Cloud Dataproc job for running Apache PySpark (https://spark.apache.org/docs/ - # 0.9.0/python-programming-guide.html) applications on YARN. - class PySparkJob - include Google::Apis::Core::Hashable - - # 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 - - # The runtime logging config of the job. - # Corresponds to the JSON property `loggingConfig` - # @return [Google::Apis::DataprocV1::LoggingConfig] - attr_accessor :logging_config - - # 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 - - # 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 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 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 - - # 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. 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 - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) - @logging_config = args[:logging_config] if args.key?(:logging_config) - @properties = args[:properties] if args.key?(:properties) - @args = args[:args] if args.key?(:args) - @file_uris = args[:file_uris] if args.key?(:file_uris) - @python_file_uris = args[:python_file_uris] if args.key?(:python_file_uris) - @main_python_file_uri = args[:main_python_file_uri] if args.key?(:main_python_file_uri) - @archive_uris = args[:archive_uris] if args.key?(:archive_uris) - 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 - - # The Google Compute Engine metadata entries to add to all instances (see - # Project and instance metadata (https://cloud.google.com/compute/docs/storing- - # retrieving-metadata#project_and_instance_metadata)). - # Corresponds to the JSON property `metadata` - # @return [Hash] - attr_accessor :metadata - - # Optional. If true, all instances in the cluster will only have internal IP - # addresses. By default, clusters are not restricted to internal IP addresses, - # and will have ephemeral external IP addresses assigned to each instance. This - # internal_ip_only restriction can only be enabled for subnetwork enabled - # networks, and all off-cluster dependencies must be configured to be accessible - # without external IP addresses. - # Corresponds to the JSON property `internalIpOnly` - # @return [Boolean] - attr_accessor :internal_ip_only - alias_method :internal_ip_only?, :internal_ip_only - - # Optional. 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.writeIf no scopes are specified, 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 (see Tagging instances). - # Corresponds to the JSON property `tags` - # @return [Array] - attr_accessor :tags - - # Optional. The service account of the instances. Defaults to the default Google - # Compute Engine service account. Custom service accounts need permissions - # equivalent to the folloing IAM roles: - # roles/logging.logWriter - # roles/storage.objectAdmin(see https://cloud.google.com/compute/docs/access/ - # service-accounts#custom_service_accounts for more information). Example: [ - # account_id]@[project_id].iam.gserviceaccount.com - # Corresponds to the JSON property `serviceAccount` - # @return [String] - attr_accessor :service_account - - # Optional. The Google Compute Engine subnetwork to be used for machine - # communications. Cannot be specified with network_uri.A full URL, partial URI, - # or short name are valid. Examples: - # https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/ - # sub0 - # projects/[project_id]/regions/us-east1/sub0 - # sub0 - # Corresponds to the JSON property `subnetworkUri` - # @return [String] - attr_accessor :subnetwork_uri - - # Optional. 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 Using - # Subnetworks for more information).A full URL, partial URI, or short name are - # valid. Examples: - # https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/ - # default - # projects/[project_id]/regions/global/default - # default - # Corresponds to the JSON property `networkUri` - # @return [String] - attr_accessor :network_uri - - # Optional. The zone where the Google Compute Engine cluster will be located. On - # a create request, it is required in the "global" region. If omitted in a non- - # global Cloud Dataproc region, the service will pick a zone in the - # corresponding GCE region. On a get request, zone will always be present.A full - # URL, partial URI, or short name are valid. Examples: - # https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone] - # projects/[project_id]/zones/[zone] - # us-central1-f - # Corresponds to the JSON property `zoneUri` - # @return [String] - attr_accessor :zone_uri - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @internal_ip_only = args[:internal_ip_only] if args.key?(:internal_ip_only) - @service_account_scopes = args[:service_account_scopes] if args.key?(:service_account_scopes) - @tags = args[:tags] if args.key?(:tags) - @service_account = args[:service_account] if args.key?(:service_account) - @subnetwork_uri = args[:subnetwork_uri] if args.key?(:subnetwork_uri) - @network_uri = args[:network_uri] if args.key?(:network_uri) - @zone_uri = args[:zone_uri] if args.key?(:zone_uri) - end - end - - # Contains cluster daemon metrics, such as HDFS and YARN stats.Beta Feature: - # This report is available for testing purposes only. It may be changed before - # final release. - class ClusterMetrics - include Google::Apis::Core::Hashable - - # The HDFS metrics. - # Corresponds to the JSON property `hdfsMetrics` - # @return [Hash] - attr_accessor :hdfs_metrics - - # The YARN metrics. - # Corresponds to the JSON property `yarnMetrics` - # @return [Hash] - attr_accessor :yarn_metrics - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @hdfs_metrics = args[:hdfs_metrics] if args.key?(:hdfs_metrics) - @yarn_metrics = args[:yarn_metrics] if args.key?(:yarn_metrics) - end - end - - # Specifies the type and number of accelerator cards attached to the instances - # of an instance group (see GPUs on Compute Engine). - class AcceleratorConfig - include Google::Apis::Core::Hashable - - # The number of the accelerator cards of this type exposed to this instance. - # Corresponds to the JSON property `acceleratorCount` - # @return [Fixnum] - attr_accessor :accelerator_count - - # Full URL, partial URI, or short name of the accelerator type resource to - # expose to this instance. See Google Compute Engine AcceleratorTypes( /compute/ - # docs/reference/beta/acceleratorTypes)Examples * https://www.googleapis.com/ - # compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia- - # tesla-k80 * projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia- - # tesla-k80 * nvidia-tesla-k80 - # Corresponds to the JSON property `acceleratorTypeUri` - # @return [String] - attr_accessor :accelerator_type_uri - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count) - @accelerator_type_uri = args[:accelerator_type_uri] if args.key?(:accelerator_type_uri) - 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) + @state = args[:state] if args.key?(:state) + @tracking_url = args[:tracking_url] if args.key?(:tracking_url) end end end diff --git a/generated/google/apis/dataproc_v1/representations.rb b/generated/google/apis/dataproc_v1/representations.rb index b059cf05c..0984e5474 100644 --- a/generated/google/apis/dataproc_v1/representations.rb +++ b/generated/google/apis/dataproc_v1/representations.rb @@ -22,49 +22,7 @@ module Google module Apis module DataprocV1 - class Operation - 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 SubmitJobRequest - 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 InstanceGroupConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class JobScheduling - 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 ListJobsResponse + class AcceleratorConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -76,145 +34,61 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class SparkSqlJob - 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 ListOperationsResponse - 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 SoftwareConfig - 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 PigJob - 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 Job - 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 JobStatus - 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 ClusterOperationStatus - 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 QueryList - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class YarnApplication - 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 DiskConfig - 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 HiveJob - 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 DiagnoseClusterResults - 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 PySparkJob + class ClusterMetrics + 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 ClusterStatus + 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 DiagnoseClusterResults + 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 Empty class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -226,13 +100,67 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ClusterMetrics + class HadoopJob class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class AcceleratorConfig + class HiveJob + 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 Job + 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 JobReference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class JobScheduling + 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 ListClustersResponse + 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 ListOperationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -244,81 +172,83 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Operation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :error, as: 'error', class: Google::Apis::DataprocV1::Status, decorator: Google::Apis::DataprocV1::Status::Representation + class ManagedGroupConfig + class Representation < Google::Apis::Core::JsonRepresentation; end - hash :metadata, as: 'metadata' - property :done, as: 'done' - hash :response, as: 'response' - end - end - - class JobReference - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :job_id, as: 'jobId' - property :project_id, as: 'projectId' - 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 Status - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - property :message, as: 'message' - collection :details, as: 'details' - end - end - - class InstanceGroupConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :disk_config, as: 'diskConfig', class: Google::Apis::DataprocV1::DiskConfig, decorator: Google::Apis::DataprocV1::DiskConfig::Representation - - property :machine_type_uri, as: 'machineTypeUri' - property :image_uri, as: 'imageUri' - property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1::ManagedGroupConfig, decorator: Google::Apis::DataprocV1::ManagedGroupConfig::Representation - - property :is_preemptible, as: 'isPreemptible' - collection :instance_names, as: 'instanceNames' - collection :accelerators, as: 'accelerators', class: Google::Apis::DataprocV1::AcceleratorConfig, decorator: Google::Apis::DataprocV1::AcceleratorConfig::Representation - - property :num_instances, as: 'numInstances' - end - end - - class JobScheduling - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :max_failures_per_hour, as: 'maxFailuresPerHour' - end + include Google::Apis::Core::JsonObjectSupport end class NodeInitializationAction - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :executable_file, as: 'executableFile' - property :execution_timeout, as: 'executionTimeout' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class ListJobsResponse + class Operation + 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 PySparkJob + 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 SoftwareConfig + 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 SparkSqlJob + 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 SubmitJobRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class YarnApplication + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AcceleratorConfig # @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' + property :accelerator_count, as: 'acceleratorCount' + property :accelerator_type_uri, as: 'acceleratorTypeUri' end end @@ -328,160 +258,64 @@ module Google 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' - collection :jar_file_uris, as: 'jarFileUris' - property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation - - hash :properties, as: 'properties' - end - end - class Cluster # @private class Representation < Google::Apis::Core::JsonRepresentation + property :cluster_name, as: 'clusterName' + property :cluster_uuid, as: 'clusterUuid' + property :config, as: 'config', class: Google::Apis::DataprocV1::ClusterConfig, decorator: Google::Apis::DataprocV1::ClusterConfig::Representation + hash :labels, as: 'labels' property :metrics, as: 'metrics', class: Google::Apis::DataprocV1::ClusterMetrics, decorator: Google::Apis::DataprocV1::ClusterMetrics::Representation + property :project_id, as: 'projectId' 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 :config, as: 'config', class: Google::Apis::DataprocV1::ClusterConfig, decorator: Google::Apis::DataprocV1::ClusterConfig::Representation + end + end - property :cluster_uuid, as: 'clusterUuid' + 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 + + collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1::NodeInitializationAction, decorator: Google::Apis::DataprocV1::NodeInitializationAction::Representation + + property :master_config, as: 'masterConfig', 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 + + property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation + + end + end + + class ClusterMetrics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :hdfs_metrics, as: 'hdfsMetrics' + hash :yarn_metrics, as: 'yarnMetrics' + end + end + + class ClusterOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation property :cluster_name, as: 'clusterName' - property :project_id, as: 'projectId' - 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 JobPlacement - # @private - class Representation < Google::Apis::Core::JsonRepresentation property :cluster_uuid, as: 'clusterUuid' - property :cluster_name, as: 'clusterName' - end - end - - class SoftwareConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :image_version, as: 'imageVersion' - hash :properties, as: 'properties' - end - end - - class ClusterStatus - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :substate, as: 'substate' - property :state_start_time, as: 'stateStartTime' - property :detail, as: 'detail' - property :state, as: 'state' - end - end - - class PigJob - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :continue_on_failure, as: 'continueOnFailure' - property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation - - property :query_file_uri, as: 'queryFileUri' - collection :jar_file_uris, as: 'jarFileUris' - hash :script_variables, as: 'scriptVariables' - property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation - - hash :properties, as: 'properties' - end - end - - class ListClustersResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :clusters, as: 'clusters', class: Google::Apis::DataprocV1::Cluster, decorator: Google::Apis::DataprocV1::Cluster::Representation - - end - end - - class Job - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :hive_job, as: 'hiveJob', class: Google::Apis::DataprocV1::HiveJob, decorator: Google::Apis::DataprocV1::HiveJob::Representation - + property :description, as: 'description' hash :labels, as: 'labels' - property :driver_output_resource_uri, as: 'driverOutputResourceUri' - property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1::SparkSqlJob, decorator: Google::Apis::DataprocV1::SparkSqlJob::Representation + property :operation_type, as: 'operationType' + property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation - collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation + collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation - property :spark_job, as: 'sparkJob', class: Google::Apis::DataprocV1::SparkJob, decorator: Google::Apis::DataprocV1::SparkJob::Representation - - collection :yarn_applications, as: 'yarnApplications', class: Google::Apis::DataprocV1::YarnApplication, decorator: Google::Apis::DataprocV1::YarnApplication::Representation - - property :pyspark_job, as: 'pysparkJob', class: Google::Apis::DataprocV1::PySparkJob, decorator: Google::Apis::DataprocV1::PySparkJob::Representation - - property :reference, as: 'reference', class: Google::Apis::DataprocV1::JobReference, decorator: Google::Apis::DataprocV1::JobReference::Representation - - property :hadoop_job, as: 'hadoopJob', class: Google::Apis::DataprocV1::HadoopJob, decorator: Google::Apis::DataprocV1::HadoopJob::Representation - - property :placement, as: 'placement', class: Google::Apis::DataprocV1::JobPlacement, decorator: Google::Apis::DataprocV1::JobPlacement::Representation - - property :status, as: 'status', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation - - property :driver_control_files_uri, as: 'driverControlFilesUri' - property :scheduling, as: 'scheduling', class: Google::Apis::DataprocV1::JobScheduling, decorator: Google::Apis::DataprocV1::JobScheduling::Representation - - property :pig_job, as: 'pigJob', class: Google::Apis::DataprocV1::PigJob, decorator: Google::Apis::DataprocV1::PigJob::Representation - - end - end - - class SparkJob - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :main_class, as: 'mainClass' - collection :archive_uris, as: 'archiveUris' - property :main_jar_file_uri, as: 'mainJarFileUri' - collection :jar_file_uris, as: 'jarFileUris' - property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation - - hash :properties, as: 'properties' - collection :args, as: 'args' - collection :file_uris, as: 'fileUris' - end - end - - class JobStatus - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :details, as: 'details' - property :state, as: 'state' - property :substate, as: 'substate' - property :state_start_time, as: 'stateStartTime' - end - end - - class ManagedGroupConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :instance_group_manager_name, as: 'instanceGroupManagerName' - property :instance_template_name, as: 'instanceTemplateName' + collection :warnings, as: 'warnings' end end @@ -489,41 +323,19 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :details, as: 'details' - property :state, as: 'state' property :inner_state, as: 'innerState' + property :state, as: 'state' property :state_start_time, as: 'stateStartTime' end end - class HadoopJob - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :jar_file_uris, as: 'jarFileUris' - property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation - - hash :properties, as: 'properties' - collection :args, as: 'args' - collection :file_uris, as: 'fileUris' - property :main_class, as: 'mainClass' - collection :archive_uris, as: 'archiveUris' - property :main_jar_file_uri, as: 'mainJarFileUri' - end - end - - class QueryList - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :queries, as: 'queries' - end - end - - class YarnApplication + class ClusterStatus # @private class Representation < Google::Apis::Core::JsonRepresentation + property :detail, as: 'detail' property :state, as: 'state' - property :name, as: 'name' - property :tracking_url, as: 'trackingUrl' - property :progress, as: 'progress' + property :state_start_time, as: 'stateStartTime' + property :substate, as: 'substate' end end @@ -533,49 +345,6 @@ module Google end end - class DiskConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :num_local_ssds, as: 'numLocalSsds' - property :boot_disk_size_gb, as: 'bootDiskSizeGb' - end - end - - class ClusterOperationMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - 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 :cluster_name, as: 'clusterName' - property :cluster_uuid, as: 'clusterUuid' - property :operation_type, as: 'operationType' - property :description, as: 'description' - collection :warnings, as: 'warnings' - hash :labels, as: 'labels' - end - end - - class HiveJob - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :jar_file_uris, as: 'jarFileUris' - hash :script_variables, as: 'scriptVariables' - hash :properties, as: 'properties' - property :continue_on_failure, as: 'continueOnFailure' - property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation - - property :query_file_uri, as: 'queryFileUri' - end - end - - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - class DiagnoseClusterResults # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -583,67 +352,169 @@ module Google end end - class ClusterConfig + class DiskConfig # @private class Representation < Google::Apis::Core::JsonRepresentation - property :master_config, as: 'masterConfig', 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 - - collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1::NodeInitializationAction, decorator: Google::Apis::DataprocV1::NodeInitializationAction::Representation - - property :config_bucket, as: 'configBucket' - property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation - - property :gce_cluster_config, as: 'gceClusterConfig', class: Google::Apis::DataprocV1::GceClusterConfig, decorator: Google::Apis::DataprocV1::GceClusterConfig::Representation - - property :software_config, as: 'softwareConfig', class: Google::Apis::DataprocV1::SoftwareConfig, decorator: Google::Apis::DataprocV1::SoftwareConfig::Representation - + property :boot_disk_size_gb, as: 'bootDiskSizeGb' + property :num_local_ssds, as: 'numLocalSsds' end end - class PySparkJob + class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :jar_file_uris, as: 'jarFileUris' - property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation - - hash :properties, as: 'properties' - collection :args, as: 'args' - collection :file_uris, as: 'fileUris' - collection :python_file_uris, as: 'pythonFileUris' - property :main_python_file_uri, as: 'mainPythonFileUri' - collection :archive_uris, as: 'archiveUris' end end class GceClusterConfig # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :metadata, as: 'metadata' property :internal_ip_only, as: 'internalIpOnly' - collection :service_account_scopes, as: 'serviceAccountScopes' - collection :tags, as: 'tags' - property :service_account, as: 'serviceAccount' - property :subnetwork_uri, as: 'subnetworkUri' + hash :metadata, as: 'metadata' property :network_uri, as: 'networkUri' + property :service_account, as: 'serviceAccount' + collection :service_account_scopes, as: 'serviceAccountScopes' + property :subnetwork_uri, as: 'subnetworkUri' + collection :tags, as: 'tags' property :zone_uri, as: 'zoneUri' end end - class ClusterMetrics + class HadoopJob # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :hdfs_metrics, as: 'hdfsMetrics' - hash :yarn_metrics, as: 'yarnMetrics' + collection :archive_uris, as: 'archiveUris' + collection :args, as: 'args' + collection :file_uris, as: 'fileUris' + collection :jar_file_uris, as: 'jarFileUris' + property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation + + property :main_class, as: 'mainClass' + property :main_jar_file_uri, as: 'mainJarFileUri' + hash :properties, as: 'properties' end end - class AcceleratorConfig + class HiveJob # @private class Representation < Google::Apis::Core::JsonRepresentation - property :accelerator_count, as: 'acceleratorCount' - property :accelerator_type_uri, as: 'acceleratorTypeUri' + property :continue_on_failure, as: 'continueOnFailure' + collection :jar_file_uris, as: 'jarFileUris' + hash :properties, as: 'properties' + 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' + end + end + + class InstanceGroupConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :accelerators, as: 'accelerators', class: Google::Apis::DataprocV1::AcceleratorConfig, decorator: Google::Apis::DataprocV1::AcceleratorConfig::Representation + + property :disk_config, as: 'diskConfig', class: Google::Apis::DataprocV1::DiskConfig, decorator: Google::Apis::DataprocV1::DiskConfig::Representation + + property :image_uri, as: 'imageUri' + collection :instance_names, as: 'instanceNames' + property :is_preemptible, as: 'isPreemptible' + property :machine_type_uri, as: 'machineTypeUri' + property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1::ManagedGroupConfig, decorator: Google::Apis::DataprocV1::ManagedGroupConfig::Representation + + property :num_instances, as: 'numInstances' + end + end + + class Job + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :driver_control_files_uri, as: 'driverControlFilesUri' + property :driver_output_resource_uri, as: 'driverOutputResourceUri' + property :hadoop_job, as: 'hadoopJob', class: Google::Apis::DataprocV1::HadoopJob, decorator: Google::Apis::DataprocV1::HadoopJob::Representation + + property :hive_job, as: 'hiveJob', class: Google::Apis::DataprocV1::HiveJob, decorator: Google::Apis::DataprocV1::HiveJob::Representation + + hash :labels, as: 'labels' + property :pig_job, as: 'pigJob', class: Google::Apis::DataprocV1::PigJob, decorator: Google::Apis::DataprocV1::PigJob::Representation + + property :placement, as: 'placement', class: Google::Apis::DataprocV1::JobPlacement, decorator: Google::Apis::DataprocV1::JobPlacement::Representation + + property :pyspark_job, as: 'pysparkJob', class: Google::Apis::DataprocV1::PySparkJob, decorator: Google::Apis::DataprocV1::PySparkJob::Representation + + property :reference, as: 'reference', class: Google::Apis::DataprocV1::JobReference, decorator: Google::Apis::DataprocV1::JobReference::Representation + + property :scheduling, as: 'scheduling', class: Google::Apis::DataprocV1::JobScheduling, decorator: Google::Apis::DataprocV1::JobScheduling::Representation + + property :spark_job, as: 'sparkJob', class: Google::Apis::DataprocV1::SparkJob, decorator: Google::Apis::DataprocV1::SparkJob::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 + + collection :yarn_applications, as: 'yarnApplications', class: Google::Apis::DataprocV1::YarnApplication, decorator: Google::Apis::DataprocV1::YarnApplication::Representation + + end + end + + class JobPlacement + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cluster_name, as: 'clusterName' + property :cluster_uuid, as: 'clusterUuid' + end + end + + class JobReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :job_id, as: 'jobId' + property :project_id, as: 'projectId' + end + end + + class JobScheduling + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :max_failures_per_hour, as: 'maxFailuresPerHour' + end + end + + class JobStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :details, as: 'details' + property :state, as: 'state' + property :state_start_time, as: 'stateStartTime' + property :substate, as: 'substate' + 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 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 ListOperationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :operations, as: 'operations', class: Google::Apis::DataprocV1::Operation, decorator: Google::Apis::DataprocV1::Operation::Representation + end end @@ -653,6 +524,135 @@ module Google hash :driver_log_levels, as: 'driverLogLevels' end end + + class ManagedGroupConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :instance_group_manager_name, as: 'instanceGroupManagerName' + property :instance_template_name, as: 'instanceTemplateName' + end + end + + class NodeInitializationAction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :executable_file, as: 'executableFile' + property :execution_timeout, as: 'executionTimeout' + end + end + + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::DataprocV1::Status, decorator: Google::Apis::DataprocV1::Status::Representation + + hash :metadata, as: 'metadata' + property :name, as: 'name' + hash :response, as: 'response' + end + end + + class PigJob + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :continue_on_failure, as: 'continueOnFailure' + collection :jar_file_uris, as: 'jarFileUris' + property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation + + hash :properties, as: 'properties' + 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' + end + end + + class PySparkJob + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :archive_uris, as: 'archiveUris' + collection :args, as: 'args' + collection :file_uris, as: 'fileUris' + collection :jar_file_uris, as: 'jarFileUris' + property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation + + property :main_python_file_uri, as: 'mainPythonFileUri' + hash :properties, as: 'properties' + collection :python_file_uris, as: 'pythonFileUris' + end + end + + class QueryList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :queries, as: 'queries' + end + end + + class SoftwareConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :image_version, as: 'imageVersion' + hash :properties, as: 'properties' + end + end + + class SparkJob + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :archive_uris, as: 'archiveUris' + collection :args, as: 'args' + collection :file_uris, as: 'fileUris' + collection :jar_file_uris, as: 'jarFileUris' + property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation + + property :main_class, as: 'mainClass' + property :main_jar_file_uri, as: 'mainJarFileUri' + hash :properties, as: 'properties' + end + end + + class SparkSqlJob + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :jar_file_uris, as: 'jarFileUris' + property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation + + hash :properties, as: 'properties' + 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' + 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 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 YarnApplication + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :progress, as: 'progress' + property :state, as: 'state' + property :tracking_url, as: 'trackingUrl' + end + end end end end diff --git a/generated/google/apis/dataproc_v1/service.rb b/generated/google/apis/dataproc_v1/service.rb index 6eac7e012..92d94c464 100644 --- a/generated/google/apis/dataproc_v1/service.rb +++ b/generated/google/apis/dataproc_v1/service.rb @@ -84,6 +84,84 @@ module Google 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 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 + # 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 @@ -121,6 +199,59 @@ module Google 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 [String] filter + # Optional. A filter constraining the clusters to list. Filters are case- + # sensitive and have the following syntax:field = value AND field = value ... + # where field is one of status.state, clusterName, or labels.[KEY], and [KEY] is + # a label key. value can be * to match all values. status.state can be one of + # the following: ACTIVE, INACTIVE, CREATING, RUNNING, ERROR, DELETING, or + # UPDATING. ACTIVE contains the CREATING, UPDATING, and RUNNING states. INACTIVE + # contains the DELETING and ERROR states. clusterName is the name of the cluster + # provided at creation time. Only the logical AND operator is supported; space- + # separated items are treated as having an implicit AND operator.Example filter: + # status.state = ACTIVE AND clusterName = mycluster AND labels.env = staging AND + # labels.starred = * + # @param [Fixnum] page_size + # Optional. The standard List page size. + # @param [String] page_token + # Optional. 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, filter: nil, 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['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 + # Updates a cluster in a project. # @param [String] project_id # Required. The ID of the Google Cloud Platform project the cluster belongs to. @@ -190,16 +321,143 @@ module Google execute_or_queue_command(command, &block) end - # Gets cluster diagnostic information. After the operation completes, the - # Operation.response field contains DiagnoseClusterOutputLocation. + # Starts a job cancellation request. To access the job resource after + # cancellation, call regions/`region`/jobs.list or regions/`region`/jobs.get. # @param [String] project_id - # Required. The ID of the Google Cloud Platform project that the cluster belongs - # to. + # 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 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 [String] cluster_name - # Required. The cluster name. - # @param [Google::Apis::DataprocV1::DiagnoseClusterRequest] diagnose_cluster_request_object + # Optional. If set, the returned jobs list includes only jobs that were + # submitted to the named cluster. + # @param [String] filter + # Optional. A filter constraining the jobs to list. Filters are case-sensitive + # and have the following syntax:field = value AND field = value ...where field + # is status.state or labels.[KEY], and [KEY] is a label key. value can be * to + # match all values. status.state can be either ACTIVE or INACTIVE. Only the + # logical AND operator is supported; space-separated items are treated as having + # an implicit AND operator.Example filter:status.state = ACTIVE AND labels.env = + # staging AND labels.starred = * + # @param [String] job_state_matcher + # Optional. Specifies enumerated categories of jobs to list (default = match ALL + # jobs). + # @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] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -209,36 +467,44 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::Operation] parsed result object + # @yieldparam result [Google::Apis::DataprocV1::ListJobsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::DataprocV1::Operation] + # @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 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 + def list_jobs(project_id, region, cluster_name: nil, filter: nil, job_state_matcher: nil, page_size: nil, page_token: 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.params['clusterName'] = cluster_name unless cluster_name.nil? + command.query['clusterName'] = cluster_name unless cluster_name.nil? + command.query['filter'] = filter unless filter.nil? + command.query['jobStateMatcher'] = job_state_matcher unless job_state_matcher.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 - # Deletes a cluster in a project. + # Updates a job in a project. # @param [String] project_id - # Required. The ID of the Google Cloud Platform project that the cluster belongs - # to. + # 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] cluster_name - # Required. The cluster name. + # @param [String] job_id + # Required. The job ID. + # @param [Google::Apis::DataprocV1::Job] job_object + # @param [String] update_mask + # Required. Specifies the path, relative to Job, of the field to + # update. For example, to update the labels of a Job the update_mask + # parameter would be specified as labels, and the PATCH request + # body would specify the new value. Note: Currently, + # labels 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 @@ -248,48 +514,35 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::Operation] parsed result object + # @yieldparam result [Google::Apis::DataprocV1::Job] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::DataprocV1::Operation] + # @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 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 + def patch_project_region_job(project_id, region, job_id, job_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options) + command.request_representation = Google::Apis::DataprocV1::Job::Representation + command.request_object = job_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['clusterName'] = cluster_name unless cluster_name.nil? + command.params['jobId'] = job_id unless job_id.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 - # Lists all regions/`region`/clusters in a project. + # Submits a job to a cluster. # @param [String] project_id - # Required. The ID of the Google Cloud Platform project that the cluster belongs - # to. + # 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] page_token - # Optional. The standard List page token. - # @param [Fixnum] page_size - # Optional. The standard List page size. - # @param [String] filter - # Optional. A filter constraining the clusters to list. Filters are case- - # sensitive and have the following syntax:field = value AND field = value ... - # where field is one of status.state, clusterName, or labels.[KEY], and [KEY] is - # a label key. value can be * to match all values. status.state can be one of - # the following: ACTIVE, INACTIVE, CREATING, RUNNING, ERROR, DELETING, or - # UPDATING. ACTIVE contains the CREATING, UPDATING, and RUNNING states. INACTIVE - # contains the DELETING and ERROR states. clusterName is the name of the cluster - # provided at creation time. Only the logical AND operator is supported; space- - # separated items are treated as having an implicit AND operator.Example filter: - # status.state = ACTIVE AND clusterName = mycluster AND labels.env = staging AND - # labels.starred = * + # @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 @@ -299,100 +552,22 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::ListClustersResponse] parsed result object + # @yieldparam result [Google::Apis::DataprocV1::Job] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::DataprocV1::ListClustersResponse] + # @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 list_clusters(project_id, region, page_token: nil, page_size: nil, filter: 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 + 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['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['filter'] = filter unless filter.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 - # allows API services to override the binding to use different resource name - # schemes, such as users/*/operations. To override the binding, API services can - # add a binding such as "/v1/`name=users/*`/operations" to their service - # configuration. For backwards compatibility, the default name includes the - # operations collection id, however overriding users must ensure the name - # binding is the parent resource, without the operations collection id. - # @param [String] name - # The name of the operation's parent resource. - # @param [String] filter - # The standard list filter. - # @param [String] page_token - # The standard list page token. - # @param [Fixnum] page_size - # The standard list page size. - # @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_token: nil, page_size: 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['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -468,12 +643,10 @@ module Google 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 + # 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 @@ -483,88 +656,40 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::Job] parsed result object + # @yieldparam result [Google::Apis::DataprocV1::Operation] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::DataprocV1::Job] + # @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 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? + 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 - # 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 - - # 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. + # 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 + # allows API services to override the binding to use different resource name + # schemes, such as users/*/operations. To override the binding, API services can + # add a binding such as "/v1/`name=users/*`/operations" to their service + # configuration. For backwards compatibility, the default name includes the + # operations collection id, however overriding users must ensure the name + # binding is the parent resource, without the operations collection id. + # @param [String] name + # The name of the operation's parent resource. # @param [String] filter - # Optional. A filter constraining the jobs to list. Filters are case-sensitive - # and have the following syntax:field = value AND field = value ...where field - # is status.state or labels.[KEY], and [KEY] is a label key. value can be * to - # match all values. status.state can be either ACTIVE or INACTIVE. Only the - # logical AND operator is supported; space-separated items are treated as having - # an implicit AND operator.Example filter:status.state = ACTIVE AND labels.env = - # staging AND labels.starred = * - # @param [String] job_state_matcher - # Optional. Specifies enumerated categories of jobs to list (default = match ALL - # jobs). - # @param [String] page_token - # Optional. The page token, returned by a previous call, to request the next - # page of results. + # The standard list filter. # @param [Fixnum] page_size - # Optional. The number of results to return in each response. - # @param [String] cluster_name - # Optional. If set, the returned jobs list includes only jobs that were - # submitted to the named cluster. + # 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 @@ -574,147 +699,22 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::ListJobsResponse] parsed result object + # @yieldparam result [Google::Apis::DataprocV1::ListOperationsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::DataprocV1::ListJobsResponse] + # @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_jobs(project_id, region, filter: nil, job_state_matcher: nil, page_token: nil, page_size: nil, cluster_name: 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? + 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['jobStateMatcher'] = job_state_matcher unless job_state_matcher.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['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 - - # Starts a job cancellation request. To access the job resource after - # cancellation, call regions/`region`/jobs.list or regions/`region`/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 - - # 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 - - # Updates 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 [Google::Apis::DataprocV1::Job] job_object - # @param [String] update_mask - # Required. Specifies the path, relative to Job, of the field to - # update. For example, to update the labels of a Job the update_mask - # parameter would be specified as labels, and the PATCH request - # body would specify the new value. Note: Currently, - # labels 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::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 patch_project_region_job(project_id, region, job_id, job_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options) - command.request_representation = Google::Apis::DataprocV1::Job::Representation - command.request_object = job_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['updateMask'] = update_mask unless update_mask.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) diff --git a/generated/google/apis/datastore_v1.rb b/generated/google/apis/datastore_v1.rb index 593fb7e44..438088e1b 100644 --- a/generated/google/apis/datastore_v1.rb +++ b/generated/google/apis/datastore_v1.rb @@ -26,13 +26,13 @@ module Google # @see https://cloud.google.com/datastore/ module DatastoreV1 VERSION = 'V1' - REVISION = '20170626' - - # View and manage your Google Cloud Datastore data - AUTH_DATASTORE = 'https://www.googleapis.com/auth/datastore' + REVISION = '20170811' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + + # View and manage your Google Cloud Datastore data + AUTH_DATASTORE = 'https://www.googleapis.com/auth/datastore' end end end diff --git a/generated/google/apis/datastore_v1/classes.rb b/generated/google/apis/datastore_v1/classes.rb index 330e77efd..e3fb3f2d5 100644 --- a/generated/google/apis/datastore_v1/classes.rb +++ b/generated/google/apis/datastore_v1/classes.rb @@ -22,33 +22,15 @@ module Google module Apis module DatastoreV1 - # The result of applying a mutation. - class MutationResult + # The request for Datastore.AllocateIds. + class AllocateIdsRequest include Google::Apis::Core::Hashable - # The version of the entity on the server after processing the mutation. If - # the mutation doesn't change anything on the server, then the version will - # be the version of the current entity or, if no entity is present, a version - # that is strictly greater than the version of any previous entity and less - # than the version of any possible future entity. - # Corresponds to the JSON property `version` - # @return [Fixnum] - attr_accessor :version - - # Whether a conflict was detected for this mutation. Always false when a - # conflict detection strategy field is not set in the mutation. - # Corresponds to the JSON property `conflictDetected` - # @return [Boolean] - attr_accessor :conflict_detected - alias_method :conflict_detected?, :conflict_detected - - # A unique identifier for an entity. - # If a key's partition ID or any of its path kinds or names are - # reserved/read-only, the key is reserved/read-only. - # A reserved/read-only key is forbidden in certain documented contexts. - # Corresponds to the JSON property `key` - # @return [Google::Apis::DatastoreV1::Key] - attr_accessor :key + # A list of keys with incomplete key paths for which to allocate IDs. + # No key may be reserved/read-only. + # Corresponds to the JSON property `keys` + # @return [Array] + attr_accessor :keys def initialize(**args) update!(**args) @@ -56,181 +38,7 @@ module Google # Update properties of this object def update!(**args) - @version = args[:version] if args.key?(:version) - @conflict_detected = args[:conflict_detected] if args.key?(:conflict_detected) - @key = args[:key] if args.key?(:key) - end - end - - # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). - class GqlQuery - include Google::Apis::Core::Hashable - - # Numbered binding site @1 references the first numbered parameter, - # effectively using 1-based indexing, rather than the usual 0. - # For each binding site numbered i in `query_string`, there must be an i-th - # numbered parameter. The inverse must also be true. - # Corresponds to the JSON property `positionalBindings` - # @return [Array] - attr_accessor :positional_bindings - - # For each non-reserved named binding site in the query string, there must be - # a named parameter with that name, but not necessarily the inverse. - # Key must match regex `A-Za-z_$*`, must not match regex - # `__.*__`, and must not be `""`. - # Corresponds to the JSON property `namedBindings` - # @return [Hash] - attr_accessor :named_bindings - - # When false, the query string must not contain any literals and instead must - # bind all values. For example, - # `SELECT * FROM Kind WHERE a = 'string literal'` is not allowed, while - # `SELECT * FROM Kind WHERE a = @value` is. - # Corresponds to the JSON property `allowLiterals` - # @return [Boolean] - attr_accessor :allow_literals - alias_method :allow_literals?, :allow_literals - - # A string of the format described - # [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). - # Corresponds to the JSON property `queryString` - # @return [String] - attr_accessor :query_string - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @positional_bindings = args[:positional_bindings] if args.key?(:positional_bindings) - @named_bindings = args[:named_bindings] if args.key?(:named_bindings) - @allow_literals = args[:allow_literals] if args.key?(:allow_literals) - @query_string = args[:query_string] if args.key?(:query_string) - end - end - - # A holder for any type of filter. - class Filter - include Google::Apis::Core::Hashable - - # A filter on a specific property. - # Corresponds to the JSON property `propertyFilter` - # @return [Google::Apis::DatastoreV1::PropertyFilter] - attr_accessor :property_filter - - # A filter that merges multiple other filters using the given operator. - # Corresponds to the JSON property `compositeFilter` - # @return [Google::Apis::DatastoreV1::CompositeFilter] - attr_accessor :composite_filter - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @property_filter = args[:property_filter] if args.key?(:property_filter) - @composite_filter = args[:composite_filter] if args.key?(:composite_filter) - end - end - - # The request for Datastore.RunQuery. - class RunQueryRequest - include Google::Apis::Core::Hashable - - # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). - # Corresponds to the JSON property `gqlQuery` - # @return [Google::Apis::DatastoreV1::GqlQuery] - attr_accessor :gql_query - - # A partition ID identifies a grouping of entities. The grouping is always - # by project and namespace, however the namespace ID may be empty. - # A partition ID contains several dimensions: - # project ID and namespace ID. - # Partition dimensions: - # - May be `""`. - # - Must be valid UTF-8 bytes. - # - Must have values that match regex `[A-Za-z\d\.\-_]`1,100`` - # If the value of any dimension matches regex `__.*__`, the partition is - # reserved/read-only. - # A reserved/read-only partition ID is forbidden in certain documented - # contexts. - # Foreign partition IDs (in which the project ID does - # not match the context project ID ) are discouraged. - # Reads and writes of foreign partition IDs may fail if the project is not in an - # active state. - # Corresponds to the JSON property `partitionId` - # @return [Google::Apis::DatastoreV1::PartitionId] - attr_accessor :partition_id - - # The options shared by read requests. - # Corresponds to the JSON property `readOptions` - # @return [Google::Apis::DatastoreV1::ReadOptions] - attr_accessor :read_options - - # A query for entities. - # Corresponds to the JSON property `query` - # @return [Google::Apis::DatastoreV1::Query] - attr_accessor :query - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @gql_query = args[:gql_query] if args.key?(:gql_query) - @partition_id = args[:partition_id] if args.key?(:partition_id) - @read_options = args[:read_options] if args.key?(:read_options) - @query = args[:query] if args.key?(:query) - end - end - - # The request for Datastore.Rollback. - class RollbackRequest - include Google::Apis::Core::Hashable - - # The transaction identifier, returned by a call to - # Datastore.BeginTransaction. - # Corresponds to the JSON property `transaction` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :transaction - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @transaction = args[:transaction] if args.key?(:transaction) - end - end - - # A filter that merges multiple other filters using the given operator. - class CompositeFilter - include Google::Apis::Core::Hashable - - # The list of filters to combine. - # Must contain at least one filter. - # Corresponds to the JSON property `filters` - # @return [Array] - attr_accessor :filters - - # The operator for combining multiple filters. - # Corresponds to the JSON property `op` - # @return [String] - attr_accessor :op - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @filters = args[:filters] if args.key?(:filters) - @op = args[:op] if args.key?(:op) + @keys = args[:keys] if args.key?(:keys) end end @@ -254,69 +62,16 @@ module Google end end - # A query for entities. - class Query + # An array value. + class ArrayValue include Google::Apis::Core::Hashable - # The projection to return. Defaults to returning all properties. - # Corresponds to the JSON property `projection` - # @return [Array] - attr_accessor :projection - - # An ending point for the query results. Query cursors are - # returned in query result batches and - # [can only be used to limit the same query](https://cloud.google.com/datastore/ - # docs/concepts/queries#cursors_limits_and_offsets). - # Corresponds to the JSON property `endCursor` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :end_cursor - - # A holder for any type of filter. - # Corresponds to the JSON property `filter` - # @return [Google::Apis::DatastoreV1::Filter] - attr_accessor :filter - - # The maximum number of results to return. Applies after all other - # constraints. Optional. - # Unspecified is interpreted as no limit. - # Must be >= 0 if specified. - # Corresponds to the JSON property `limit` - # @return [Fixnum] - attr_accessor :limit - - # A starting point for the query results. Query cursors are - # returned in query result batches and - # [can only be used to continue the same query](https://cloud.google.com/ - # datastore/docs/concepts/queries#cursors_limits_and_offsets). - # Corresponds to the JSON property `startCursor` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :start_cursor - - # The number of results to skip. Applies before limit, but after all other - # constraints. Optional. Must be >= 0 if specified. - # Corresponds to the JSON property `offset` - # @return [Fixnum] - attr_accessor :offset - - # The kinds to query (if empty, returns entities of all kinds). - # Currently at most 1 kind may be specified. - # Corresponds to the JSON property `kind` - # @return [Array] - attr_accessor :kind - - # The properties to make distinct. The query results will contain the first - # result for each distinct combination of values for the given properties - # (if empty, all results are returned). - # Corresponds to the JSON property `distinctOn` - # @return [Array] - attr_accessor :distinct_on - - # The order to apply to the query results (if empty, order is unspecified). - # Corresponds to the JSON property `order` - # @return [Array] - attr_accessor :order + # Values in the array. + # The order of this array may not be preserved if it contains a mix of + # indexed and unindexed values. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values def initialize(**args) update!(**args) @@ -324,37 +79,21 @@ module Google # Update properties of this object def update!(**args) - @projection = args[:projection] if args.key?(:projection) - @end_cursor = args[:end_cursor] if args.key?(:end_cursor) - @filter = args[:filter] if args.key?(:filter) - @limit = args[:limit] if args.key?(:limit) - @start_cursor = args[:start_cursor] if args.key?(:start_cursor) - @offset = args[:offset] if args.key?(:offset) - @kind = args[:kind] if args.key?(:kind) - @distinct_on = args[:distinct_on] if args.key?(:distinct_on) - @order = args[:order] if args.key?(:order) + @values = args[:values] if args.key?(:values) end end - # A filter on a specific property. - class PropertyFilter + # The request for Datastore.BeginTransaction. + class BeginTransactionRequest include Google::Apis::Core::Hashable - # A message that can hold any of the supported value types and associated - # metadata. - # Corresponds to the JSON property `value` - # @return [Google::Apis::DatastoreV1::Value] - attr_accessor :value - - # A reference to a property relative to the kind expressions. - # Corresponds to the JSON property `property` - # @return [Google::Apis::DatastoreV1::PropertyReference] - attr_accessor :property - - # The operator to filter by. - # Corresponds to the JSON property `op` - # @return [String] - attr_accessor :op + # Options for beginning a new transaction. + # Transactions can be created explicitly with calls to + # Datastore.BeginTransaction or implicitly by setting + # ReadOptions.new_transaction in read requests. + # Corresponds to the JSON property `transactionOptions` + # @return [Google::Apis::DatastoreV1::TransactionOptions] + attr_accessor :transaction_options def initialize(**args) update!(**args) @@ -362,457 +101,7 @@ module Google # Update properties of this object def update!(**args) - @value = args[:value] if args.key?(:value) - @property = args[:property] if args.key?(:property) - @op = args[:op] if args.key?(:op) - end - end - - # The result of fetching an entity from Datastore. - class EntityResult - include Google::Apis::Core::Hashable - - # A Datastore data object. - # An entity is limited to 1 megabyte when stored. That _roughly_ - # corresponds to a limit of 1 megabyte for the serialized form of this - # message. - # Corresponds to the JSON property `entity` - # @return [Google::Apis::DatastoreV1::Entity] - attr_accessor :entity - - # A cursor that points to the position after the result entity. - # Set only when the `EntityResult` is part of a `QueryResultBatch` message. - # Corresponds to the JSON property `cursor` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :cursor - - # The version of the entity, a strictly positive number that monotonically - # increases with changes to the entity. - # This field is set for `FULL` entity - # results. - # For missing entities in `LookupResponse`, this - # is the version of the snapshot that was used to look up the entity, and it - # is always set except for eventually consistent reads. - # Corresponds to the JSON property `version` - # @return [Fixnum] - attr_accessor :version - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @entity = args[:entity] if args.key?(:entity) - @cursor = args[:cursor] if args.key?(:cursor) - @version = args[:version] if args.key?(:version) - end - end - - # A message that can hold any of the supported value types and associated - # metadata. - class Value - include Google::Apis::Core::Hashable - - # A double value. - # Corresponds to the JSON property `doubleValue` - # @return [Float] - attr_accessor :double_value - - # A timestamp value. - # When stored in the Datastore, precise only to microseconds; - # any additional precision is rounded down. - # Corresponds to the JSON property `timestampValue` - # @return [String] - attr_accessor :timestamp_value - - # A null value. - # Corresponds to the JSON property `nullValue` - # @return [String] - attr_accessor :null_value - - # A boolean value. - # Corresponds to the JSON property `booleanValue` - # @return [Boolean] - attr_accessor :boolean_value - alias_method :boolean_value?, :boolean_value - - # A blob value. - # May have at most 1,000,000 bytes. - # When `exclude_from_indexes` is false, may have at most 1500 bytes. - # In JSON requests, must be base64-encoded. - # Corresponds to the JSON property `blobValue` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :blob_value - - # The `meaning` field should only be populated for backwards compatibility. - # Corresponds to the JSON property `meaning` - # @return [Fixnum] - attr_accessor :meaning - - # An array value. - # Corresponds to the JSON property `arrayValue` - # @return [Google::Apis::DatastoreV1::ArrayValue] - attr_accessor :array_value - - # A Datastore data object. - # An entity is limited to 1 megabyte when stored. That _roughly_ - # corresponds to a limit of 1 megabyte for the serialized form of this - # message. - # Corresponds to the JSON property `entityValue` - # @return [Google::Apis::DatastoreV1::Entity] - attr_accessor :entity_value - - # 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 - # [-90.0, 90.0] and [-180.0, 180.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 `geoPointValue` - # @return [Google::Apis::DatastoreV1::LatLng] - attr_accessor :geo_point_value - - # A unique identifier for an entity. - # If a key's partition ID or any of its path kinds or names are - # reserved/read-only, the key is reserved/read-only. - # A reserved/read-only key is forbidden in certain documented contexts. - # Corresponds to the JSON property `keyValue` - # @return [Google::Apis::DatastoreV1::Key] - attr_accessor :key_value - - # An integer value. - # Corresponds to the JSON property `integerValue` - # @return [Fixnum] - attr_accessor :integer_value - - # A UTF-8 encoded string value. - # When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 - # bytes. - # Otherwise, may be set to at least 1,000,000 bytes. - # Corresponds to the JSON property `stringValue` - # @return [String] - attr_accessor :string_value - - # If the value should be excluded from all indexes including those defined - # explicitly. - # Corresponds to the JSON property `excludeFromIndexes` - # @return [Boolean] - attr_accessor :exclude_from_indexes - alias_method :exclude_from_indexes?, :exclude_from_indexes - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @double_value = args[:double_value] if args.key?(:double_value) - @timestamp_value = args[:timestamp_value] if args.key?(:timestamp_value) - @null_value = args[:null_value] if args.key?(:null_value) - @boolean_value = args[:boolean_value] if args.key?(:boolean_value) - @blob_value = args[:blob_value] if args.key?(:blob_value) - @meaning = args[:meaning] if args.key?(:meaning) - @array_value = args[:array_value] if args.key?(:array_value) - @entity_value = args[:entity_value] if args.key?(:entity_value) - @geo_point_value = args[:geo_point_value] if args.key?(:geo_point_value) - @key_value = args[:key_value] if args.key?(:key_value) - @integer_value = args[:integer_value] if args.key?(:integer_value) - @string_value = args[:string_value] if args.key?(:string_value) - @exclude_from_indexes = args[:exclude_from_indexes] if args.key?(:exclude_from_indexes) - end - end - - # The response for Datastore.Commit. - class CommitResponse - include Google::Apis::Core::Hashable - - # The number of index entries updated during the commit, or zero if none were - # updated. - # Corresponds to the JSON property `indexUpdates` - # @return [Fixnum] - attr_accessor :index_updates - - # The result of performing the mutations. - # The i-th mutation result corresponds to the i-th mutation in the request. - # Corresponds to the JSON property `mutationResults` - # @return [Array] - attr_accessor :mutation_results - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @index_updates = args[:index_updates] if args.key?(:index_updates) - @mutation_results = args[:mutation_results] if args.key?(:mutation_results) - end - end - - # A partition ID identifies a grouping of entities. The grouping is always - # by project and namespace, however the namespace ID may be empty. - # A partition ID contains several dimensions: - # project ID and namespace ID. - # Partition dimensions: - # - May be `""`. - # - Must be valid UTF-8 bytes. - # - Must have values that match regex `[A-Za-z\d\.\-_]`1,100`` - # If the value of any dimension matches regex `__.*__`, the partition is - # reserved/read-only. - # A reserved/read-only partition ID is forbidden in certain documented - # contexts. - # Foreign partition IDs (in which the project ID does - # not match the context project ID ) are discouraged. - # Reads and writes of foreign partition IDs may fail if the project is not in an - # active state. - class PartitionId - include Google::Apis::Core::Hashable - - # The ID of the project to which the entities belong. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # If not empty, the ID of the namespace to which the entities belong. - # Corresponds to the JSON property `namespaceId` - # @return [String] - attr_accessor :namespace_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) - @namespace_id = args[:namespace_id] if args.key?(:namespace_id) - end - end - - # A Datastore data object. - # An entity is limited to 1 megabyte when stored. That _roughly_ - # corresponds to a limit of 1 megabyte for the serialized form of this - # message. - class Entity - include Google::Apis::Core::Hashable - - # The entity's properties. - # The map's keys are property names. - # A property name matching regex `__.*__` is reserved. - # A reserved property name is forbidden in certain documented contexts. - # The name must not contain more than 500 characters. - # The name cannot be `""`. - # Corresponds to the JSON property `properties` - # @return [Hash] - attr_accessor :properties - - # A unique identifier for an entity. - # If a key's partition ID or any of its path kinds or names are - # reserved/read-only, the key is reserved/read-only. - # A reserved/read-only key is forbidden in certain documented contexts. - # Corresponds to the JSON property `key` - # @return [Google::Apis::DatastoreV1::Key] - attr_accessor :key - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @properties = args[:properties] if args.key?(:properties) - @key = args[:key] if args.key?(:key) - end - end - - # The request for Datastore.Lookup. - class LookupRequest - include Google::Apis::Core::Hashable - - # The options shared by read requests. - # Corresponds to the JSON property `readOptions` - # @return [Google::Apis::DatastoreV1::ReadOptions] - attr_accessor :read_options - - # Keys of entities to look up. - # Corresponds to the JSON property `keys` - # @return [Array] - attr_accessor :keys - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @read_options = args[:read_options] if args.key?(:read_options) - @keys = args[:keys] if args.key?(:keys) - end - end - - # A batch of results produced by a query. - class QueryResultBatch - include Google::Apis::Core::Hashable - - # A cursor that points to the position after the last skipped result. - # Will be set when `skipped_results` != 0. - # Corresponds to the JSON property `skippedCursor` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :skipped_cursor - - # The number of results skipped, typically because of an offset. - # Corresponds to the JSON property `skippedResults` - # @return [Fixnum] - attr_accessor :skipped_results - - # The result type for every entity in `entity_results`. - # Corresponds to the JSON property `entityResultType` - # @return [String] - attr_accessor :entity_result_type - - # The results for this batch. - # Corresponds to the JSON property `entityResults` - # @return [Array] - attr_accessor :entity_results - - # The state of the query after the current batch. - # Corresponds to the JSON property `moreResults` - # @return [String] - attr_accessor :more_results - - # A cursor that points to the position after the last result in the batch. - # Corresponds to the JSON property `endCursor` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :end_cursor - - # The version number of the snapshot this batch was returned from. - # This applies to the range of results from the query's `start_cursor` (or - # the beginning of the query if no cursor was given) to this batch's - # `end_cursor` (not the query's `end_cursor`). - # In a single transaction, subsequent query result batches for the same query - # can have a greater snapshot version number. Each batch's snapshot version - # is valid for all preceding batches. - # The value will be zero for eventually consistent queries. - # Corresponds to the JSON property `snapshotVersion` - # @return [Fixnum] - attr_accessor :snapshot_version - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @skipped_cursor = args[:skipped_cursor] if args.key?(:skipped_cursor) - @skipped_results = args[:skipped_results] if args.key?(:skipped_results) - @entity_result_type = args[:entity_result_type] if args.key?(:entity_result_type) - @entity_results = args[:entity_results] if args.key?(:entity_results) - @more_results = args[:more_results] if args.key?(:more_results) - @end_cursor = args[:end_cursor] if args.key?(:end_cursor) - @snapshot_version = args[:snapshot_version] if args.key?(:snapshot_version) - end - end - - # A (kind, ID/name) pair used to construct a key path. - # If either name or ID is set, the element is complete. - # If neither is set, the element is incomplete. - class PathElement - include Google::Apis::Core::Hashable - - # The name of the entity. - # A name matching regex `__.*__` is reserved/read-only. - # A name must not be more than 1500 bytes when UTF-8 encoded. - # Cannot be `""`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The kind of the entity. - # A kind matching regex `__.*__` is reserved/read-only. - # A kind must not contain more than 1500 bytes when UTF-8 encoded. - # Cannot be `""`. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # The auto-allocated ID of the entity. - # Never equal to zero. Values less than zero are discouraged and may not - # be supported in the future. - # Corresponds to the JSON property `id` - # @return [Fixnum] - attr_accessor :id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @kind = args[:kind] if args.key?(:kind) - @id = args[:id] if args.key?(:id) - end - end - - # A binding parameter for a GQL query. - class GqlQueryParameter - include Google::Apis::Core::Hashable - - # A query cursor. Query cursors are returned in query - # result batches. - # Corresponds to the JSON property `cursor` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :cursor - - # A message that can hold any of the supported value types and associated - # metadata. - # Corresponds to the JSON property `value` - # @return [Google::Apis::DatastoreV1::Value] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @cursor = args[:cursor] if args.key?(:cursor) - @value = args[:value] if args.key?(:value) + @transaction_options = args[:transaction_options] if args.key?(:transaction_options) end end @@ -836,88 +125,6 @@ module Google end end - # The request for Datastore.AllocateIds. - class AllocateIdsRequest - include Google::Apis::Core::Hashable - - # A list of keys with incomplete key paths for which to allocate IDs. - # No key may be reserved/read-only. - # Corresponds to the JSON property `keys` - # @return [Array] - attr_accessor :keys - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @keys = args[:keys] if args.key?(:keys) - end - end - - # The response for Datastore.Lookup. - class LookupResponse - include Google::Apis::Core::Hashable - - # Entities not found as `ResultType.KEY_ONLY` entities. The order of results - # in this field is undefined and has no relation to the order of the keys - # in the input. - # Corresponds to the JSON property `missing` - # @return [Array] - attr_accessor :missing - - # Entities found as `ResultType.FULL` entities. The order of results in this - # field is undefined and has no relation to the order of the keys in the - # input. - # Corresponds to the JSON property `found` - # @return [Array] - attr_accessor :found - - # A list of keys that were not looked up due to resource constraints. The - # order of results in this field is undefined and has no relation to the - # order of the keys in the input. - # Corresponds to the JSON property `deferred` - # @return [Array] - attr_accessor :deferred - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @missing = args[:missing] if args.key?(:missing) - @found = args[:found] if args.key?(:found) - @deferred = args[:deferred] if args.key?(:deferred) - end - end - - # The response for Datastore.RunQuery. - class RunQueryResponse - include Google::Apis::Core::Hashable - - # A query for entities. - # Corresponds to the JSON property `query` - # @return [Google::Apis::DatastoreV1::Query] - attr_accessor :query - - # A batch of results produced by a query. - # Corresponds to the JSON property `batch` - # @return [Google::Apis::DatastoreV1::QueryResultBatch] - attr_accessor :batch - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @query = args[:query] if args.key?(:query) - @batch = args[:batch] if args.key?(:batch) - end - end - # The request for Datastore.Commit. class CommitRequest include Google::Apis::Core::Hashable @@ -961,32 +168,47 @@ module Google end end - # The request for Datastore.BeginTransaction. - class BeginTransactionRequest + # The response for Datastore.Commit. + class CommitResponse include Google::Apis::Core::Hashable + # The number of index entries updated during the commit, or zero if none were + # updated. + # Corresponds to the JSON property `indexUpdates` + # @return [Fixnum] + attr_accessor :index_updates + + # The result of performing the mutations. + # The i-th mutation result corresponds to the i-th mutation in the request. + # Corresponds to the JSON property `mutationResults` + # @return [Array] + attr_accessor :mutation_results + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @index_updates = args[:index_updates] if args.key?(:index_updates) + @mutation_results = args[:mutation_results] if args.key?(:mutation_results) end end - # The desired order for a specific property. - class PropertyOrder + # A filter that merges multiple other filters using the given operator. + class CompositeFilter include Google::Apis::Core::Hashable - # The direction to order by. Defaults to `ASCENDING`. - # Corresponds to the JSON property `direction` + # The list of filters to combine. + # Must contain at least one filter. + # Corresponds to the JSON property `filters` + # @return [Array] + attr_accessor :filters + + # The operator for combining multiple filters. + # Corresponds to the JSON property `op` # @return [String] - attr_accessor :direction - - # A reference to a property relative to the kind expressions. - # Corresponds to the JSON property `property` - # @return [Google::Apis::DatastoreV1::PropertyReference] - attr_accessor :property + attr_accessor :op def initialize(**args) update!(**args) @@ -994,27 +216,583 @@ module Google # Update properties of this object def update!(**args) - @direction = args[:direction] if args.key?(:direction) - @property = args[:property] if args.key?(:property) + @filters = args[:filters] if args.key?(:filters) + @op = args[:op] if args.key?(:op) end end - # A representation of a kind. - class KindExpression + # 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 - # The name of the kind. + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A Datastore data object. + # An entity is limited to 1 megabyte when stored. That _roughly_ + # corresponds to a limit of 1 megabyte for the serialized form of this + # message. + class Entity + include Google::Apis::Core::Hashable + + # A unique identifier for an entity. + # If a key's partition ID or any of its path kinds or names are + # reserved/read-only, the key is reserved/read-only. + # A reserved/read-only key is forbidden in certain documented contexts. + # Corresponds to the JSON property `key` + # @return [Google::Apis::DatastoreV1::Key] + attr_accessor :key + + # The entity's properties. + # The map's keys are property names. + # A property name matching regex `__.*__` is reserved. + # A reserved property name is forbidden in certain documented contexts. + # The name must not contain more than 500 characters. + # The name cannot be `""`. + # 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) + @key = args[:key] if args.key?(:key) + @properties = args[:properties] if args.key?(:properties) + end + end + + # The result of fetching an entity from Datastore. + class EntityResult + include Google::Apis::Core::Hashable + + # A cursor that points to the position after the result entity. + # Set only when the `EntityResult` is part of a `QueryResultBatch` message. + # Corresponds to the JSON property `cursor` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :cursor + + # A Datastore data object. + # An entity is limited to 1 megabyte when stored. That _roughly_ + # corresponds to a limit of 1 megabyte for the serialized form of this + # message. + # Corresponds to the JSON property `entity` + # @return [Google::Apis::DatastoreV1::Entity] + attr_accessor :entity + + # The version of the entity, a strictly positive number that monotonically + # increases with changes to the entity. + # This field is set for `FULL` entity + # results. + # For missing entities in `LookupResponse`, this + # is the version of the snapshot that was used to look up the entity, and it + # is always set except for eventually consistent reads. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cursor = args[:cursor] if args.key?(:cursor) + @entity = args[:entity] if args.key?(:entity) + @version = args[:version] if args.key?(:version) + end + end + + # A holder for any type of filter. + class Filter + include Google::Apis::Core::Hashable + + # A filter that merges multiple other filters using the given operator. + # Corresponds to the JSON property `compositeFilter` + # @return [Google::Apis::DatastoreV1::CompositeFilter] + attr_accessor :composite_filter + + # A filter on a specific property. + # Corresponds to the JSON property `propertyFilter` + # @return [Google::Apis::DatastoreV1::PropertyFilter] + attr_accessor :property_filter + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @composite_filter = args[:composite_filter] if args.key?(:composite_filter) + @property_filter = args[:property_filter] if args.key?(:property_filter) + end + end + + # Metadata common to all Datastore Admin operations. + class GoogleDatastoreAdminV1beta1CommonMetadata + include Google::Apis::Core::Hashable + + # The time the operation ended, either successfully or otherwise. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # The client-assigned labels which were provided when the operation was + # created. May also include additional labels. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # The type of the operation. Can be used as a filter in + # ListOperationsRequest. + # Corresponds to the JSON property `operationType` + # @return [String] + attr_accessor :operation_type + + # The time that work began on the operation. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # The current state of the Operation. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_time = args[:end_time] if args.key?(:end_time) + @labels = args[:labels] if args.key?(:labels) + @operation_type = args[:operation_type] if args.key?(:operation_type) + @start_time = args[:start_time] if args.key?(:start_time) + @state = args[:state] if args.key?(:state) + end + end + + # Identifies a subset of entities in a project. This is specified as + # combinations of kind + namespace (either or both of which may be all, as + # described in the following examples). + # Example usage: + # Entire project: + # kinds=[], namespace_ids=[] + # Kinds Foo and Bar in all namespaces: + # kinds=['Foo', 'Bar'], namespace_ids=[] + # Kinds Foo and Bar only in the default namespace: + # kinds=['Foo', 'Bar'], namespace_ids=[''] + # Kinds Foo and Bar in both the default and Baz namespaces: + # kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz'] + # The entire Baz namespace: + # kinds=[], namespace_ids=['Baz'] + class GoogleDatastoreAdminV1beta1EntityFilter + include Google::Apis::Core::Hashable + + # If empty, then this represents all kinds. + # Corresponds to the JSON property `kinds` + # @return [Array] + attr_accessor :kinds + + # An empty list represents all namespaces. This is the preferred + # usage for projects that don't use namespaces. + # An empty string element represents the default namespace. This should be + # used if the project has data in non-default namespaces, but doesn't want to + # include them. + # Each namespace in this list must be unique. + # Corresponds to the JSON property `namespaceIds` + # @return [Array] + attr_accessor :namespace_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kinds = args[:kinds] if args.key?(:kinds) + @namespace_ids = args[:namespace_ids] if args.key?(:namespace_ids) + end + end + + # Metadata for ExportEntities operations. + class GoogleDatastoreAdminV1beta1ExportEntitiesMetadata + include Google::Apis::Core::Hashable + + # Metadata common to all Datastore Admin operations. + # Corresponds to the JSON property `common` + # @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1CommonMetadata] + attr_accessor :common + + # Identifies a subset of entities in a project. This is specified as + # combinations of kind + namespace (either or both of which may be all, as + # described in the following examples). + # Example usage: + # Entire project: + # kinds=[], namespace_ids=[] + # Kinds Foo and Bar in all namespaces: + # kinds=['Foo', 'Bar'], namespace_ids=[] + # Kinds Foo and Bar only in the default namespace: + # kinds=['Foo', 'Bar'], namespace_ids=[''] + # Kinds Foo and Bar in both the default and Baz namespaces: + # kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz'] + # The entire Baz namespace: + # kinds=[], namespace_ids=['Baz'] + # Corresponds to the JSON property `entityFilter` + # @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1EntityFilter] + attr_accessor :entity_filter + + # Location for the export metadata and data files. This will be the same + # value as the + # google.datastore.admin.v1beta1.ExportEntitiesRequest.output_url_prefix + # field. The final output location is provided in + # google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url. + # Corresponds to the JSON property `outputUrlPrefix` + # @return [String] + attr_accessor :output_url_prefix + + # Measures the progress of a particular metric. + # Corresponds to the JSON property `progressBytes` + # @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress] + attr_accessor :progress_bytes + + # Measures the progress of a particular metric. + # Corresponds to the JSON property `progressEntities` + # @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress] + attr_accessor :progress_entities + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @common = args[:common] if args.key?(:common) + @entity_filter = args[:entity_filter] if args.key?(:entity_filter) + @output_url_prefix = args[:output_url_prefix] if args.key?(:output_url_prefix) + @progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes) + @progress_entities = args[:progress_entities] if args.key?(:progress_entities) + end + end + + # The response for + # google.datastore.admin.v1beta1.DatastoreAdmin.ExportEntities. + class GoogleDatastoreAdminV1beta1ExportEntitiesResponse + include Google::Apis::Core::Hashable + + # Location of the output metadata file. This can be used to begin an import + # into Cloud Datastore (this project or another project). See + # google.datastore.admin.v1beta1.ImportEntitiesRequest.input_url. + # Only present if the operation completed successfully. + # Corresponds to the JSON property `outputUrl` + # @return [String] + attr_accessor :output_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @output_url = args[:output_url] if args.key?(:output_url) + end + end + + # Metadata for ImportEntities operations. + class GoogleDatastoreAdminV1beta1ImportEntitiesMetadata + include Google::Apis::Core::Hashable + + # Metadata common to all Datastore Admin operations. + # Corresponds to the JSON property `common` + # @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1CommonMetadata] + attr_accessor :common + + # Identifies a subset of entities in a project. This is specified as + # combinations of kind + namespace (either or both of which may be all, as + # described in the following examples). + # Example usage: + # Entire project: + # kinds=[], namespace_ids=[] + # Kinds Foo and Bar in all namespaces: + # kinds=['Foo', 'Bar'], namespace_ids=[] + # Kinds Foo and Bar only in the default namespace: + # kinds=['Foo', 'Bar'], namespace_ids=[''] + # Kinds Foo and Bar in both the default and Baz namespaces: + # kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz'] + # The entire Baz namespace: + # kinds=[], namespace_ids=['Baz'] + # Corresponds to the JSON property `entityFilter` + # @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1EntityFilter] + attr_accessor :entity_filter + + # The location of the import metadata file. This will be the same value as + # the google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url + # field. + # Corresponds to the JSON property `inputUrl` + # @return [String] + attr_accessor :input_url + + # Measures the progress of a particular metric. + # Corresponds to the JSON property `progressBytes` + # @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress] + attr_accessor :progress_bytes + + # Measures the progress of a particular metric. + # Corresponds to the JSON property `progressEntities` + # @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress] + attr_accessor :progress_entities + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @common = args[:common] if args.key?(:common) + @entity_filter = args[:entity_filter] if args.key?(:entity_filter) + @input_url = args[:input_url] if args.key?(:input_url) + @progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes) + @progress_entities = args[:progress_entities] if args.key?(:progress_entities) + end + end + + # Measures the progress of a particular metric. + class GoogleDatastoreAdminV1beta1Progress + include Google::Apis::Core::Hashable + + # Note that this may be greater than work_estimated. + # Corresponds to the JSON property `workCompleted` + # @return [Fixnum] + attr_accessor :work_completed + + # An estimate of how much work needs to be performed. May be zero if the + # work estimate is unavailable. + # Corresponds to the JSON property `workEstimated` + # @return [Fixnum] + attr_accessor :work_estimated + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @work_completed = args[:work_completed] if args.key?(:work_completed) + @work_estimated = args[:work_estimated] if args.key?(:work_estimated) + end + end + + # The response message for Operations.ListOperations. + class GoogleLongrunningListOperationsResponse + include Google::Apis::Core::Hashable + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + 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) + @operations = args[:operations] if args.key?(:operations) + end + end + + # This resource represents a long-running operation that is the result of a + # network API call. + class GoogleLongrunningOperation + include Google::Apis::Core::Hashable + + # 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` that 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. + # - 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::DatastoreV1::Status] + attr_accessor :error + + # 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 + + # 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 + # 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) + @done = args[:done] if args.key?(:done) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) @name = args[:name] if args.key?(:name) + @response = args[:response] if args.key?(:response) + end + end + + # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). + class GqlQuery + include Google::Apis::Core::Hashable + + # When false, the query string must not contain any literals and instead must + # bind all values. For example, + # `SELECT * FROM Kind WHERE a = 'string literal'` is not allowed, while + # `SELECT * FROM Kind WHERE a = @value` is. + # Corresponds to the JSON property `allowLiterals` + # @return [Boolean] + attr_accessor :allow_literals + alias_method :allow_literals?, :allow_literals + + # For each non-reserved named binding site in the query string, there must be + # a named parameter with that name, but not necessarily the inverse. + # Key must match regex `A-Za-z_$*`, must not match regex + # `__.*__`, and must not be `""`. + # Corresponds to the JSON property `namedBindings` + # @return [Hash] + attr_accessor :named_bindings + + # Numbered binding site @1 references the first numbered parameter, + # effectively using 1-based indexing, rather than the usual 0. + # For each binding site numbered i in `query_string`, there must be an i-th + # numbered parameter. The inverse must also be true. + # Corresponds to the JSON property `positionalBindings` + # @return [Array] + attr_accessor :positional_bindings + + # A string of the format described + # [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). + # Corresponds to the JSON property `queryString` + # @return [String] + attr_accessor :query_string + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @allow_literals = args[:allow_literals] if args.key?(:allow_literals) + @named_bindings = args[:named_bindings] if args.key?(:named_bindings) + @positional_bindings = args[:positional_bindings] if args.key?(:positional_bindings) + @query_string = args[:query_string] if args.key?(:query_string) + end + end + + # A binding parameter for a GQL query. + class GqlQueryParameter + include Google::Apis::Core::Hashable + + # A query cursor. Query cursors are returned in query + # result batches. + # Corresponds to the JSON property `cursor` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :cursor + + # A message that can hold any of the supported value types and associated + # metadata. + # Corresponds to the JSON property `value` + # @return [Google::Apis::DatastoreV1::Value] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cursor = args[:cursor] if args.key?(:cursor) + @value = args[:value] if args.key?(:value) end end @@ -1074,6 +852,25 @@ module Google end end + # A representation of a kind. + class KindExpression + include Google::Apis::Core::Hashable + + # The name of the kind. + # 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) + @name = args[:name] if args.key?(:name) + 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 @@ -1133,15 +930,19 @@ module Google end end - # A reference to a property relative to the kind expressions. - class PropertyReference + # The request for Datastore.Lookup. + class LookupRequest include Google::Apis::Core::Hashable - # The name of the property. - # If name includes "."s, it may be interpreted as a property name path. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name + # Keys of entities to look up. + # Corresponds to the JSON property `keys` + # @return [Array] + attr_accessor :keys + + # The options shared by read requests. + # Corresponds to the JSON property `readOptions` + # @return [Google::Apis::DatastoreV1::ReadOptions] + attr_accessor :read_options def initialize(**args) update!(**args) @@ -1149,18 +950,35 @@ module Google # Update properties of this object def update!(**args) - @name = args[:name] if args.key?(:name) + @keys = args[:keys] if args.key?(:keys) + @read_options = args[:read_options] if args.key?(:read_options) end end - # A representation of a property in a projection. - class Projection + # The response for Datastore.Lookup. + class LookupResponse include Google::Apis::Core::Hashable - # A reference to a property relative to the kind expressions. - # Corresponds to the JSON property `property` - # @return [Google::Apis::DatastoreV1::PropertyReference] - attr_accessor :property + # A list of keys that were not looked up due to resource constraints. The + # order of results in this field is undefined and has no relation to the + # order of the keys in the input. + # Corresponds to the JSON property `deferred` + # @return [Array] + attr_accessor :deferred + + # Entities found as `ResultType.FULL` entities. The order of results in this + # field is undefined and has no relation to the order of the keys in the + # input. + # Corresponds to the JSON property `found` + # @return [Array] + attr_accessor :found + + # Entities not found as `ResultType.KEY_ONLY` entities. The order of results + # in this field is undefined and has no relation to the order of the keys + # in the input. + # Corresponds to the JSON property `missing` + # @return [Array] + attr_accessor :missing def initialize(**args) update!(**args) @@ -1168,28 +986,9 @@ module Google # Update properties of this object def update!(**args) - @property = args[:property] if args.key?(:property) - end - end - - # An array value. - class ArrayValue - include Google::Apis::Core::Hashable - - # Values in the array. - # The order of this array may not be preserved if it contains a mix of - # indexed and unindexed values. - # 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) - @values = args[:values] if args.key?(:values) + @deferred = args[:deferred] if args.key?(:deferred) + @found = args[:found] if args.key?(:found) + @missing = args[:missing] if args.key?(:missing) end end @@ -1203,6 +1002,14 @@ module Google # @return [Fixnum] attr_accessor :base_version + # A unique identifier for an entity. + # If a key's partition ID or any of its path kinds or names are + # reserved/read-only, the key is reserved/read-only. + # A reserved/read-only key is forbidden in certain documented contexts. + # Corresponds to the JSON property `delete` + # @return [Google::Apis::DatastoreV1::Key] + attr_accessor :delete + # A Datastore data object. # An entity is limited to 1 megabyte when stored. That _roughly_ # corresponds to a limit of 1 megabyte for the serialized form of this @@ -1227,14 +1034,6 @@ module Google # @return [Google::Apis::DatastoreV1::Entity] attr_accessor :upsert - # A unique identifier for an entity. - # If a key's partition ID or any of its path kinds or names are - # reserved/read-only, the key is reserved/read-only. - # A reserved/read-only key is forbidden in certain documented contexts. - # Corresponds to the JSON property `delete` - # @return [Google::Apis::DatastoreV1::Key] - attr_accessor :delete - def initialize(**args) update!(**args) end @@ -1242,10 +1041,387 @@ module Google # Update properties of this object def update!(**args) @base_version = args[:base_version] if args.key?(:base_version) + @delete = args[:delete] if args.key?(:delete) @insert = args[:insert] if args.key?(:insert) @update = args[:update] if args.key?(:update) @upsert = args[:upsert] if args.key?(:upsert) - @delete = args[:delete] if args.key?(:delete) + end + end + + # The result of applying a mutation. + class MutationResult + include Google::Apis::Core::Hashable + + # Whether a conflict was detected for this mutation. Always false when a + # conflict detection strategy field is not set in the mutation. + # Corresponds to the JSON property `conflictDetected` + # @return [Boolean] + attr_accessor :conflict_detected + alias_method :conflict_detected?, :conflict_detected + + # A unique identifier for an entity. + # If a key's partition ID or any of its path kinds or names are + # reserved/read-only, the key is reserved/read-only. + # A reserved/read-only key is forbidden in certain documented contexts. + # Corresponds to the JSON property `key` + # @return [Google::Apis::DatastoreV1::Key] + attr_accessor :key + + # The version of the entity on the server after processing the mutation. If + # the mutation doesn't change anything on the server, then the version will + # be the version of the current entity or, if no entity is present, a version + # that is strictly greater than the version of any previous entity and less + # than the version of any possible future entity. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @conflict_detected = args[:conflict_detected] if args.key?(:conflict_detected) + @key = args[:key] if args.key?(:key) + @version = args[:version] if args.key?(:version) + end + end + + # A partition ID identifies a grouping of entities. The grouping is always + # by project and namespace, however the namespace ID may be empty. + # A partition ID contains several dimensions: + # project ID and namespace ID. + # Partition dimensions: + # - May be `""`. + # - Must be valid UTF-8 bytes. + # - Must have values that match regex `[A-Za-z\d\.\-_]`1,100`` + # If the value of any dimension matches regex `__.*__`, the partition is + # reserved/read-only. + # A reserved/read-only partition ID is forbidden in certain documented + # contexts. + # Foreign partition IDs (in which the project ID does + # not match the context project ID ) are discouraged. + # Reads and writes of foreign partition IDs may fail if the project is not in an + # active state. + class PartitionId + include Google::Apis::Core::Hashable + + # If not empty, the ID of the namespace to which the entities belong. + # Corresponds to the JSON property `namespaceId` + # @return [String] + attr_accessor :namespace_id + + # The ID of the project to which the entities belong. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @namespace_id = args[:namespace_id] if args.key?(:namespace_id) + @project_id = args[:project_id] if args.key?(:project_id) + end + end + + # A (kind, ID/name) pair used to construct a key path. + # If either name or ID is set, the element is complete. + # If neither is set, the element is incomplete. + class PathElement + include Google::Apis::Core::Hashable + + # The auto-allocated ID of the entity. + # Never equal to zero. Values less than zero are discouraged and may not + # be supported in the future. + # Corresponds to the JSON property `id` + # @return [Fixnum] + attr_accessor :id + + # The kind of the entity. + # A kind matching regex `__.*__` is reserved/read-only. + # A kind must not contain more than 1500 bytes when UTF-8 encoded. + # Cannot be `""`. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The name of the entity. + # A name matching regex `__.*__` is reserved/read-only. + # A name must not be more than 1500 bytes when UTF-8 encoded. + # Cannot be `""`. + # 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) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + end + end + + # A representation of a property in a projection. + class Projection + include Google::Apis::Core::Hashable + + # A reference to a property relative to the kind expressions. + # Corresponds to the JSON property `property` + # @return [Google::Apis::DatastoreV1::PropertyReference] + attr_accessor :property + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @property = args[:property] if args.key?(:property) + end + end + + # A filter on a specific property. + class PropertyFilter + include Google::Apis::Core::Hashable + + # The operator to filter by. + # Corresponds to the JSON property `op` + # @return [String] + attr_accessor :op + + # A reference to a property relative to the kind expressions. + # Corresponds to the JSON property `property` + # @return [Google::Apis::DatastoreV1::PropertyReference] + attr_accessor :property + + # A message that can hold any of the supported value types and associated + # metadata. + # Corresponds to the JSON property `value` + # @return [Google::Apis::DatastoreV1::Value] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @op = args[:op] if args.key?(:op) + @property = args[:property] if args.key?(:property) + @value = args[:value] if args.key?(:value) + end + end + + # The desired order for a specific property. + class PropertyOrder + include Google::Apis::Core::Hashable + + # The direction to order by. Defaults to `ASCENDING`. + # Corresponds to the JSON property `direction` + # @return [String] + attr_accessor :direction + + # A reference to a property relative to the kind expressions. + # Corresponds to the JSON property `property` + # @return [Google::Apis::DatastoreV1::PropertyReference] + attr_accessor :property + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @direction = args[:direction] if args.key?(:direction) + @property = args[:property] if args.key?(:property) + end + end + + # A reference to a property relative to the kind expressions. + class PropertyReference + include Google::Apis::Core::Hashable + + # The name of the property. + # If name includes "."s, it may be interpreted as a property name path. + # 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) + @name = args[:name] if args.key?(:name) + end + end + + # A query for entities. + class Query + include Google::Apis::Core::Hashable + + # The properties to make distinct. The query results will contain the first + # result for each distinct combination of values for the given properties + # (if empty, all results are returned). + # Corresponds to the JSON property `distinctOn` + # @return [Array] + attr_accessor :distinct_on + + # An ending point for the query results. Query cursors are + # returned in query result batches and + # [can only be used to limit the same query](https://cloud.google.com/datastore/ + # docs/concepts/queries#cursors_limits_and_offsets). + # Corresponds to the JSON property `endCursor` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :end_cursor + + # A holder for any type of filter. + # Corresponds to the JSON property `filter` + # @return [Google::Apis::DatastoreV1::Filter] + attr_accessor :filter + + # The kinds to query (if empty, returns entities of all kinds). + # Currently at most 1 kind may be specified. + # Corresponds to the JSON property `kind` + # @return [Array] + attr_accessor :kind + + # The maximum number of results to return. Applies after all other + # constraints. Optional. + # Unspecified is interpreted as no limit. + # Must be >= 0 if specified. + # Corresponds to the JSON property `limit` + # @return [Fixnum] + attr_accessor :limit + + # The number of results to skip. Applies before limit, but after all other + # constraints. Optional. Must be >= 0 if specified. + # Corresponds to the JSON property `offset` + # @return [Fixnum] + attr_accessor :offset + + # The order to apply to the query results (if empty, order is unspecified). + # Corresponds to the JSON property `order` + # @return [Array] + attr_accessor :order + + # The projection to return. Defaults to returning all properties. + # Corresponds to the JSON property `projection` + # @return [Array] + attr_accessor :projection + + # A starting point for the query results. Query cursors are + # returned in query result batches and + # [can only be used to continue the same query](https://cloud.google.com/ + # datastore/docs/concepts/queries#cursors_limits_and_offsets). + # Corresponds to the JSON property `startCursor` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :start_cursor + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @distinct_on = args[:distinct_on] if args.key?(:distinct_on) + @end_cursor = args[:end_cursor] if args.key?(:end_cursor) + @filter = args[:filter] if args.key?(:filter) + @kind = args[:kind] if args.key?(:kind) + @limit = args[:limit] if args.key?(:limit) + @offset = args[:offset] if args.key?(:offset) + @order = args[:order] if args.key?(:order) + @projection = args[:projection] if args.key?(:projection) + @start_cursor = args[:start_cursor] if args.key?(:start_cursor) + end + end + + # A batch of results produced by a query. + class QueryResultBatch + include Google::Apis::Core::Hashable + + # A cursor that points to the position after the last result in the batch. + # Corresponds to the JSON property `endCursor` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :end_cursor + + # The result type for every entity in `entity_results`. + # Corresponds to the JSON property `entityResultType` + # @return [String] + attr_accessor :entity_result_type + + # The results for this batch. + # Corresponds to the JSON property `entityResults` + # @return [Array] + attr_accessor :entity_results + + # The state of the query after the current batch. + # Corresponds to the JSON property `moreResults` + # @return [String] + attr_accessor :more_results + + # A cursor that points to the position after the last skipped result. + # Will be set when `skipped_results` != 0. + # Corresponds to the JSON property `skippedCursor` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :skipped_cursor + + # The number of results skipped, typically because of an offset. + # Corresponds to the JSON property `skippedResults` + # @return [Fixnum] + attr_accessor :skipped_results + + # The version number of the snapshot this batch was returned from. + # This applies to the range of results from the query's `start_cursor` (or + # the beginning of the query if no cursor was given) to this batch's + # `end_cursor` (not the query's `end_cursor`). + # In a single transaction, subsequent query result batches for the same query + # can have a greater snapshot version number. Each batch's snapshot version + # is valid for all preceding batches. + # The value will be zero for eventually consistent queries. + # Corresponds to the JSON property `snapshotVersion` + # @return [Fixnum] + attr_accessor :snapshot_version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_cursor = args[:end_cursor] if args.key?(:end_cursor) + @entity_result_type = args[:entity_result_type] if args.key?(:entity_result_type) + @entity_results = args[:entity_results] if args.key?(:entity_results) + @more_results = args[:more_results] if args.key?(:more_results) + @skipped_cursor = args[:skipped_cursor] if args.key?(:skipped_cursor) + @skipped_results = args[:skipped_results] if args.key?(:skipped_results) + @snapshot_version = args[:snapshot_version] if args.key?(:snapshot_version) + end + end + + # Options specific to read-only transactions. + class ReadOnly + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) end end @@ -1253,6 +1429,12 @@ module Google class ReadOptions include Google::Apis::Core::Hashable + # The non-transactional read consistency to use. + # Cannot be set to `STRONG` for global queries. + # Corresponds to the JSON property `readConsistency` + # @return [String] + attr_accessor :read_consistency + # The identifier of the transaction in which to read. A # transaction identifier is returned by a call to # Datastore.BeginTransaction. @@ -1261,11 +1443,47 @@ module Google # @return [String] attr_accessor :transaction - # The non-transactional read consistency to use. - # Cannot be set to `STRONG` for global queries. - # Corresponds to the JSON property `readConsistency` + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @read_consistency = args[:read_consistency] if args.key?(:read_consistency) + @transaction = args[:transaction] if args.key?(:transaction) + end + end + + # Options specific to read / write transactions. + class ReadWrite + include Google::Apis::Core::Hashable + + # The transaction identifier of the transaction being retried. + # Corresponds to the JSON property `previousTransaction` + # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] - attr_accessor :read_consistency + attr_accessor :previous_transaction + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @previous_transaction = args[:previous_transaction] if args.key?(:previous_transaction) + end + end + + # The request for Datastore.Rollback. + class RollbackRequest + include Google::Apis::Core::Hashable + + # The transaction identifier, returned by a call to + # Datastore.BeginTransaction. + # Corresponds to the JSON property `transaction` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :transaction def initialize(**args) update!(**args) @@ -1274,7 +1492,6 @@ module Google # Update properties of this object def update!(**args) @transaction = args[:transaction] if args.key?(:transaction) - @read_consistency = args[:read_consistency] if args.key?(:read_consistency) end end @@ -1291,6 +1508,327 @@ module Google def update!(**args) end end + + # The request for Datastore.RunQuery. + class RunQueryRequest + include Google::Apis::Core::Hashable + + # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). + # Corresponds to the JSON property `gqlQuery` + # @return [Google::Apis::DatastoreV1::GqlQuery] + attr_accessor :gql_query + + # A partition ID identifies a grouping of entities. The grouping is always + # by project and namespace, however the namespace ID may be empty. + # A partition ID contains several dimensions: + # project ID and namespace ID. + # Partition dimensions: + # - May be `""`. + # - Must be valid UTF-8 bytes. + # - Must have values that match regex `[A-Za-z\d\.\-_]`1,100`` + # If the value of any dimension matches regex `__.*__`, the partition is + # reserved/read-only. + # A reserved/read-only partition ID is forbidden in certain documented + # contexts. + # Foreign partition IDs (in which the project ID does + # not match the context project ID ) are discouraged. + # Reads and writes of foreign partition IDs may fail if the project is not in an + # active state. + # Corresponds to the JSON property `partitionId` + # @return [Google::Apis::DatastoreV1::PartitionId] + attr_accessor :partition_id + + # A query for entities. + # Corresponds to the JSON property `query` + # @return [Google::Apis::DatastoreV1::Query] + attr_accessor :query + + # The options shared by read requests. + # Corresponds to the JSON property `readOptions` + # @return [Google::Apis::DatastoreV1::ReadOptions] + attr_accessor :read_options + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @gql_query = args[:gql_query] if args.key?(:gql_query) + @partition_id = args[:partition_id] if args.key?(:partition_id) + @query = args[:query] if args.key?(:query) + @read_options = args[:read_options] if args.key?(:read_options) + end + end + + # The response for Datastore.RunQuery. + class RunQueryResponse + include Google::Apis::Core::Hashable + + # A batch of results produced by a query. + # Corresponds to the JSON property `batch` + # @return [Google::Apis::DatastoreV1::QueryResultBatch] + attr_accessor :batch + + # A query for entities. + # Corresponds to the JSON property `query` + # @return [Google::Apis::DatastoreV1::Query] + attr_accessor :query + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @batch = args[:batch] if args.key?(:batch) + @query = args[:query] if args.key?(:query) + 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` that 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. + # - 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 is 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 + + # Options for beginning a new transaction. + # Transactions can be created explicitly with calls to + # Datastore.BeginTransaction or implicitly by setting + # ReadOptions.new_transaction in read requests. + class TransactionOptions + include Google::Apis::Core::Hashable + + # Options specific to read-only transactions. + # Corresponds to the JSON property `readOnly` + # @return [Google::Apis::DatastoreV1::ReadOnly] + attr_accessor :read_only + + # Options specific to read / write transactions. + # Corresponds to the JSON property `readWrite` + # @return [Google::Apis::DatastoreV1::ReadWrite] + attr_accessor :read_write + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @read_only = args[:read_only] if args.key?(:read_only) + @read_write = args[:read_write] if args.key?(:read_write) + end + end + + # A message that can hold any of the supported value types and associated + # metadata. + class Value + include Google::Apis::Core::Hashable + + # An array value. + # Corresponds to the JSON property `arrayValue` + # @return [Google::Apis::DatastoreV1::ArrayValue] + attr_accessor :array_value + + # A blob value. + # May have at most 1,000,000 bytes. + # When `exclude_from_indexes` is false, may have at most 1500 bytes. + # In JSON requests, must be base64-encoded. + # Corresponds to the JSON property `blobValue` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :blob_value + + # A boolean value. + # Corresponds to the JSON property `booleanValue` + # @return [Boolean] + attr_accessor :boolean_value + alias_method :boolean_value?, :boolean_value + + # A double value. + # Corresponds to the JSON property `doubleValue` + # @return [Float] + attr_accessor :double_value + + # A Datastore data object. + # An entity is limited to 1 megabyte when stored. That _roughly_ + # corresponds to a limit of 1 megabyte for the serialized form of this + # message. + # Corresponds to the JSON property `entityValue` + # @return [Google::Apis::DatastoreV1::Entity] + attr_accessor :entity_value + + # If the value should be excluded from all indexes including those defined + # explicitly. + # Corresponds to the JSON property `excludeFromIndexes` + # @return [Boolean] + attr_accessor :exclude_from_indexes + alias_method :exclude_from_indexes?, :exclude_from_indexes + + # 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 + # [-90.0, 90.0] and [-180.0, 180.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 `geoPointValue` + # @return [Google::Apis::DatastoreV1::LatLng] + attr_accessor :geo_point_value + + # An integer value. + # Corresponds to the JSON property `integerValue` + # @return [Fixnum] + attr_accessor :integer_value + + # A unique identifier for an entity. + # If a key's partition ID or any of its path kinds or names are + # reserved/read-only, the key is reserved/read-only. + # A reserved/read-only key is forbidden in certain documented contexts. + # Corresponds to the JSON property `keyValue` + # @return [Google::Apis::DatastoreV1::Key] + attr_accessor :key_value + + # The `meaning` field should only be populated for backwards compatibility. + # Corresponds to the JSON property `meaning` + # @return [Fixnum] + attr_accessor :meaning + + # A null value. + # Corresponds to the JSON property `nullValue` + # @return [String] + attr_accessor :null_value + + # A UTF-8 encoded string value. + # When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 + # bytes. + # Otherwise, may be set to at least 1,000,000 bytes. + # Corresponds to the JSON property `stringValue` + # @return [String] + attr_accessor :string_value + + # A timestamp value. + # When stored in the Datastore, precise only to microseconds; + # any additional precision is rounded down. + # Corresponds to the JSON property `timestampValue` + # @return [String] + attr_accessor :timestamp_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @array_value = args[:array_value] if args.key?(:array_value) + @blob_value = args[:blob_value] if args.key?(:blob_value) + @boolean_value = args[:boolean_value] if args.key?(:boolean_value) + @double_value = args[:double_value] if args.key?(:double_value) + @entity_value = args[:entity_value] if args.key?(:entity_value) + @exclude_from_indexes = args[:exclude_from_indexes] if args.key?(:exclude_from_indexes) + @geo_point_value = args[:geo_point_value] if args.key?(:geo_point_value) + @integer_value = args[:integer_value] if args.key?(:integer_value) + @key_value = args[:key_value] if args.key?(:key_value) + @meaning = args[:meaning] if args.key?(:meaning) + @null_value = args[:null_value] if args.key?(:null_value) + @string_value = args[:string_value] if args.key?(:string_value) + @timestamp_value = args[:timestamp_value] if args.key?(:timestamp_value) + end + end end end end diff --git a/generated/google/apis/datastore_v1/representations.rb b/generated/google/apis/datastore_v1/representations.rb index 4ea6543ac..b723dc031 100644 --- a/generated/google/apis/datastore_v1/representations.rb +++ b/generated/google/apis/datastore_v1/representations.rb @@ -22,181 +22,13 @@ module Google module Apis module DatastoreV1 - class MutationResult - 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 Filter - 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 RollbackRequest - 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 AllocateIdsResponse - 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 PropertyFilter - 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 Value - 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 PartitionId - 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 LookupRequest - 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 PathElement - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GqlQueryParameter - 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 AllocateIdsRequest 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 RunQueryResponse - 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 BeginTransactionRequest - 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 KindExpression - 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 LatLng - 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 Projection + class AllocateIdsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -208,83 +40,275 @@ module Google 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 Empty + 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 GoogleDatastoreAdminV1beta1CommonMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleDatastoreAdminV1beta1EntityFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleDatastoreAdminV1beta1ExportEntitiesMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleDatastoreAdminV1beta1ExportEntitiesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleDatastoreAdminV1beta1ImportEntitiesMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleDatastoreAdminV1beta1Progress + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleLongrunningListOperationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleLongrunningOperation + 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 GqlQueryParameter + 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 KindExpression + 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 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 PathElement + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Projection + 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 ReadOnly + 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 ReadWrite + 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 MutationResult - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :version, :numeric_string => true, as: 'version' - property :conflict_detected, as: 'conflictDetected' - property :key, as: 'key', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation - - end - end - - class GqlQuery - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :positional_bindings, as: 'positionalBindings', class: Google::Apis::DatastoreV1::GqlQueryParameter, decorator: Google::Apis::DatastoreV1::GqlQueryParameter::Representation - - hash :named_bindings, as: 'namedBindings', class: Google::Apis::DatastoreV1::GqlQueryParameter, decorator: Google::Apis::DatastoreV1::GqlQueryParameter::Representation - - property :allow_literals, as: 'allowLiterals' - property :query_string, as: 'queryString' - end - end - - class Filter - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :property_filter, as: 'propertyFilter', class: Google::Apis::DatastoreV1::PropertyFilter, decorator: Google::Apis::DatastoreV1::PropertyFilter::Representation - - property :composite_filter, as: 'compositeFilter', class: Google::Apis::DatastoreV1::CompositeFilter, decorator: Google::Apis::DatastoreV1::CompositeFilter::Representation - - end - end - class RunQueryRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :gql_query, as: 'gqlQuery', class: Google::Apis::DatastoreV1::GqlQuery, decorator: Google::Apis::DatastoreV1::GqlQuery::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1::PartitionId, decorator: Google::Apis::DatastoreV1::PartitionId::Representation - - property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1::ReadOptions, decorator: Google::Apis::DatastoreV1::ReadOptions::Representation - - property :query, as: 'query', class: Google::Apis::DatastoreV1::Query, decorator: Google::Apis::DatastoreV1::Query::Representation - - end + include Google::Apis::Core::JsonObjectSupport end - class RollbackRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :transaction, :base64 => true, as: 'transaction' - end + class RunQueryResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class CompositeFilter + class Status + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TransactionOptions + 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 # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :filters, as: 'filters', class: Google::Apis::DatastoreV1::Filter, decorator: Google::Apis::DatastoreV1::Filter::Representation + collection :keys, as: 'keys', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation - property :op, as: 'op' end end @@ -296,135 +320,18 @@ module Google end end - class Query + class ArrayValue # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :projection, as: 'projection', class: Google::Apis::DatastoreV1::Projection, decorator: Google::Apis::DatastoreV1::Projection::Representation - - property :end_cursor, :base64 => true, as: 'endCursor' - property :filter, as: 'filter', class: Google::Apis::DatastoreV1::Filter, decorator: Google::Apis::DatastoreV1::Filter::Representation - - property :limit, as: 'limit' - property :start_cursor, :base64 => true, as: 'startCursor' - property :offset, as: 'offset' - collection :kind, as: 'kind', class: Google::Apis::DatastoreV1::KindExpression, decorator: Google::Apis::DatastoreV1::KindExpression::Representation - - collection :distinct_on, as: 'distinctOn', class: Google::Apis::DatastoreV1::PropertyReference, decorator: Google::Apis::DatastoreV1::PropertyReference::Representation - - collection :order, as: 'order', class: Google::Apis::DatastoreV1::PropertyOrder, decorator: Google::Apis::DatastoreV1::PropertyOrder::Representation + collection :values, as: 'values', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation end end - class PropertyFilter + class BeginTransactionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation - - property :property, as: 'property', class: Google::Apis::DatastoreV1::PropertyReference, decorator: Google::Apis::DatastoreV1::PropertyReference::Representation - - property :op, as: 'op' - end - end - - class EntityResult - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :entity, as: 'entity', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation - - property :cursor, :base64 => true, as: 'cursor' - property :version, :numeric_string => true, as: 'version' - end - end - - class Value - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :double_value, as: 'doubleValue' - property :timestamp_value, as: 'timestampValue' - property :null_value, as: 'nullValue' - property :boolean_value, as: 'booleanValue' - property :blob_value, :base64 => true, as: 'blobValue' - property :meaning, as: 'meaning' - property :array_value, as: 'arrayValue', class: Google::Apis::DatastoreV1::ArrayValue, decorator: Google::Apis::DatastoreV1::ArrayValue::Representation - - property :entity_value, as: 'entityValue', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation - - property :geo_point_value, as: 'geoPointValue', class: Google::Apis::DatastoreV1::LatLng, decorator: Google::Apis::DatastoreV1::LatLng::Representation - - property :key_value, as: 'keyValue', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation - - property :integer_value, :numeric_string => true, as: 'integerValue' - property :string_value, as: 'stringValue' - property :exclude_from_indexes, as: 'excludeFromIndexes' - end - end - - class CommitResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :index_updates, as: 'indexUpdates' - collection :mutation_results, as: 'mutationResults', class: Google::Apis::DatastoreV1::MutationResult, decorator: Google::Apis::DatastoreV1::MutationResult::Representation - - end - end - - class PartitionId - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :project_id, as: 'projectId' - property :namespace_id, as: 'namespaceId' - end - end - - class Entity - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :properties, as: 'properties', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation - - property :key, as: 'key', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation - - end - end - - class LookupRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1::ReadOptions, decorator: Google::Apis::DatastoreV1::ReadOptions::Representation - - collection :keys, as: 'keys', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation - - end - end - - class QueryResultBatch - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :skipped_cursor, :base64 => true, as: 'skippedCursor' - property :skipped_results, as: 'skippedResults' - property :entity_result_type, as: 'entityResultType' - collection :entity_results, as: 'entityResults', class: Google::Apis::DatastoreV1::EntityResult, decorator: Google::Apis::DatastoreV1::EntityResult::Representation - - property :more_results, as: 'moreResults' - property :end_cursor, :base64 => true, as: 'endCursor' - property :snapshot_version, :numeric_string => true, as: 'snapshotVersion' - end - end - - class PathElement - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :kind, as: 'kind' - property :id, :numeric_string => true, as: 'id' - end - end - - class GqlQueryParameter - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :cursor, :base64 => true, as: 'cursor' - property :value, as: 'value', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation + property :transaction_options, as: 'transactionOptions', class: Google::Apis::DatastoreV1::TransactionOptions, decorator: Google::Apis::DatastoreV1::TransactionOptions::Representation end end @@ -436,36 +343,6 @@ module Google end end - class AllocateIdsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :keys, as: 'keys', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation - - end - end - - class LookupResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :missing, as: 'missing', class: Google::Apis::DatastoreV1::EntityResult, decorator: Google::Apis::DatastoreV1::EntityResult::Representation - - collection :found, as: 'found', class: Google::Apis::DatastoreV1::EntityResult, decorator: Google::Apis::DatastoreV1::EntityResult::Representation - - collection :deferred, as: 'deferred', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation - - end - end - - class RunQueryResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :query, as: 'query', class: Google::Apis::DatastoreV1::Query, decorator: Google::Apis::DatastoreV1::Query::Representation - - property :batch, as: 'batch', class: Google::Apis::DatastoreV1::QueryResultBatch, decorator: Google::Apis::DatastoreV1::QueryResultBatch::Representation - - end - end - class CommitRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -476,25 +353,163 @@ module Google end end - class BeginTransactionRequest + class CommitResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :index_updates, as: 'indexUpdates' + collection :mutation_results, as: 'mutationResults', class: Google::Apis::DatastoreV1::MutationResult, decorator: Google::Apis::DatastoreV1::MutationResult::Representation + + end + end + + class CompositeFilter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :filters, as: 'filters', class: Google::Apis::DatastoreV1::Filter, decorator: Google::Apis::DatastoreV1::Filter::Representation + + property :op, as: 'op' + end + end + + class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation end end - class PropertyOrder + class Entity # @private class Representation < Google::Apis::Core::JsonRepresentation - property :direction, as: 'direction' - property :property, as: 'property', class: Google::Apis::DatastoreV1::PropertyReference, decorator: Google::Apis::DatastoreV1::PropertyReference::Representation + property :key, as: 'key', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation + + hash :properties, as: 'properties', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation end end - class KindExpression + class EntityResult # @private class Representation < Google::Apis::Core::JsonRepresentation + property :cursor, :base64 => true, as: 'cursor' + property :entity, as: 'entity', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation + + property :version, :numeric_string => true, as: 'version' + end + end + + class Filter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :composite_filter, as: 'compositeFilter', class: Google::Apis::DatastoreV1::CompositeFilter, decorator: Google::Apis::DatastoreV1::CompositeFilter::Representation + + property :property_filter, as: 'propertyFilter', class: Google::Apis::DatastoreV1::PropertyFilter, decorator: Google::Apis::DatastoreV1::PropertyFilter::Representation + + end + end + + class GoogleDatastoreAdminV1beta1CommonMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_time, as: 'endTime' + hash :labels, as: 'labels' + property :operation_type, as: 'operationType' + property :start_time, as: 'startTime' + property :state, as: 'state' + end + end + + class GoogleDatastoreAdminV1beta1EntityFilter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :kinds, as: 'kinds' + collection :namespace_ids, as: 'namespaceIds' + end + end + + class GoogleDatastoreAdminV1beta1ExportEntitiesMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :common, as: 'common', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1CommonMetadata, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1CommonMetadata::Representation + + property :entity_filter, as: 'entityFilter', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1EntityFilter, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1EntityFilter::Representation + + property :output_url_prefix, as: 'outputUrlPrefix' + property :progress_bytes, as: 'progressBytes', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress::Representation + + property :progress_entities, as: 'progressEntities', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress::Representation + + end + end + + class GoogleDatastoreAdminV1beta1ExportEntitiesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :output_url, as: 'outputUrl' + end + end + + class GoogleDatastoreAdminV1beta1ImportEntitiesMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :common, as: 'common', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1CommonMetadata, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1CommonMetadata::Representation + + property :entity_filter, as: 'entityFilter', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1EntityFilter, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1EntityFilter::Representation + + property :input_url, as: 'inputUrl' + property :progress_bytes, as: 'progressBytes', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress::Representation + + property :progress_entities, as: 'progressEntities', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress::Representation + + end + end + + class GoogleDatastoreAdminV1beta1Progress + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :work_completed, :numeric_string => true, as: 'workCompleted' + property :work_estimated, :numeric_string => true, as: 'workEstimated' + end + end + + class GoogleLongrunningListOperationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :operations, as: 'operations', class: Google::Apis::DatastoreV1::GoogleLongrunningOperation, decorator: Google::Apis::DatastoreV1::GoogleLongrunningOperation::Representation + + end + end + + class GoogleLongrunningOperation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::DatastoreV1::Status, decorator: Google::Apis::DatastoreV1::Status::Representation + + hash :metadata, as: 'metadata' property :name, as: 'name' + hash :response, as: 'response' + end + end + + class GqlQuery + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :allow_literals, as: 'allowLiterals' + hash :named_bindings, as: 'namedBindings', class: Google::Apis::DatastoreV1::GqlQueryParameter, decorator: Google::Apis::DatastoreV1::GqlQueryParameter::Representation + + collection :positional_bindings, as: 'positionalBindings', class: Google::Apis::DatastoreV1::GqlQueryParameter, decorator: Google::Apis::DatastoreV1::GqlQueryParameter::Representation + + property :query_string, as: 'queryString' + end + end + + class GqlQueryParameter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cursor, :base64 => true, as: 'cursor' + property :value, as: 'value', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation + end end @@ -508,6 +523,13 @@ module Google end end + class KindExpression + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + class LatLng # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -516,9 +538,66 @@ module Google end end - class PropertyReference + class LookupRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :keys, as: 'keys', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation + + property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1::ReadOptions, decorator: Google::Apis::DatastoreV1::ReadOptions::Representation + + end + end + + class LookupResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :deferred, as: 'deferred', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation + + collection :found, as: 'found', class: Google::Apis::DatastoreV1::EntityResult, decorator: Google::Apis::DatastoreV1::EntityResult::Representation + + collection :missing, as: 'missing', class: Google::Apis::DatastoreV1::EntityResult, decorator: Google::Apis::DatastoreV1::EntityResult::Representation + + end + end + + class Mutation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :base_version, :numeric_string => true, as: 'baseVersion' + property :delete, as: 'delete', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation + + property :insert, as: 'insert', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation + + property :update, as: 'update', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation + + property :upsert, as: 'upsert', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation + + end + end + + class MutationResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :conflict_detected, as: 'conflictDetected' + property :key, as: 'key', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation + + property :version, :numeric_string => true, as: 'version' + end + end + + class PartitionId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :namespace_id, as: 'namespaceId' + property :project_id, as: 'projectId' + end + end + + class PathElement + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, :numeric_string => true, as: 'id' + property :kind, as: 'kind' property :name, as: 'name' end end @@ -531,34 +610,92 @@ module Google end end - class ArrayValue + class PropertyFilter # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :values, as: 'values', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation + property :op, as: 'op' + property :property, as: 'property', class: Google::Apis::DatastoreV1::PropertyReference, decorator: Google::Apis::DatastoreV1::PropertyReference::Representation + + property :value, as: 'value', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation end end - class Mutation + class PropertyOrder # @private class Representation < Google::Apis::Core::JsonRepresentation - property :base_version, :numeric_string => true, as: 'baseVersion' - property :insert, as: 'insert', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation + property :direction, as: 'direction' + property :property, as: 'property', class: Google::Apis::DatastoreV1::PropertyReference, decorator: Google::Apis::DatastoreV1::PropertyReference::Representation - property :update, as: 'update', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation + end + end - property :upsert, as: 'upsert', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation + class PropertyReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end - property :delete, as: 'delete', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation + class Query + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :distinct_on, as: 'distinctOn', class: Google::Apis::DatastoreV1::PropertyReference, decorator: Google::Apis::DatastoreV1::PropertyReference::Representation + property :end_cursor, :base64 => true, as: 'endCursor' + property :filter, as: 'filter', class: Google::Apis::DatastoreV1::Filter, decorator: Google::Apis::DatastoreV1::Filter::Representation + + collection :kind, as: 'kind', class: Google::Apis::DatastoreV1::KindExpression, decorator: Google::Apis::DatastoreV1::KindExpression::Representation + + property :limit, as: 'limit' + property :offset, as: 'offset' + collection :order, as: 'order', class: Google::Apis::DatastoreV1::PropertyOrder, decorator: Google::Apis::DatastoreV1::PropertyOrder::Representation + + collection :projection, as: 'projection', class: Google::Apis::DatastoreV1::Projection, decorator: Google::Apis::DatastoreV1::Projection::Representation + + property :start_cursor, :base64 => true, as: 'startCursor' + end + end + + class QueryResultBatch + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_cursor, :base64 => true, as: 'endCursor' + property :entity_result_type, as: 'entityResultType' + collection :entity_results, as: 'entityResults', class: Google::Apis::DatastoreV1::EntityResult, decorator: Google::Apis::DatastoreV1::EntityResult::Representation + + property :more_results, as: 'moreResults' + property :skipped_cursor, :base64 => true, as: 'skippedCursor' + property :skipped_results, as: 'skippedResults' + property :snapshot_version, :numeric_string => true, as: 'snapshotVersion' + end + end + + class ReadOnly + # @private + class Representation < Google::Apis::Core::JsonRepresentation end end class ReadOptions # @private class Representation < Google::Apis::Core::JsonRepresentation - property :transaction, :base64 => true, as: 'transaction' property :read_consistency, as: 'readConsistency' + property :transaction, :base64 => true, as: 'transaction' + end + end + + class ReadWrite + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :previous_transaction, :base64 => true, as: 'previousTransaction' + end + end + + class RollbackRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :transaction, :base64 => true, as: 'transaction' end end @@ -567,6 +704,72 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation end end + + class RunQueryRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :gql_query, as: 'gqlQuery', class: Google::Apis::DatastoreV1::GqlQuery, decorator: Google::Apis::DatastoreV1::GqlQuery::Representation + + property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1::PartitionId, decorator: Google::Apis::DatastoreV1::PartitionId::Representation + + property :query, as: 'query', class: Google::Apis::DatastoreV1::Query, decorator: Google::Apis::DatastoreV1::Query::Representation + + property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1::ReadOptions, decorator: Google::Apis::DatastoreV1::ReadOptions::Representation + + end + end + + class RunQueryResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :batch, as: 'batch', class: Google::Apis::DatastoreV1::QueryResultBatch, decorator: Google::Apis::DatastoreV1::QueryResultBatch::Representation + + property :query, as: 'query', class: Google::Apis::DatastoreV1::Query, decorator: Google::Apis::DatastoreV1::Query::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 TransactionOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :read_only, as: 'readOnly', class: Google::Apis::DatastoreV1::ReadOnly, decorator: Google::Apis::DatastoreV1::ReadOnly::Representation + + property :read_write, as: 'readWrite', class: Google::Apis::DatastoreV1::ReadWrite, decorator: Google::Apis::DatastoreV1::ReadWrite::Representation + + end + end + + class Value + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :array_value, as: 'arrayValue', class: Google::Apis::DatastoreV1::ArrayValue, decorator: Google::Apis::DatastoreV1::ArrayValue::Representation + + property :blob_value, :base64 => true, as: 'blobValue' + property :boolean_value, as: 'booleanValue' + property :double_value, as: 'doubleValue' + property :entity_value, as: 'entityValue', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation + + property :exclude_from_indexes, as: 'excludeFromIndexes' + property :geo_point_value, as: 'geoPointValue', class: Google::Apis::DatastoreV1::LatLng, decorator: Google::Apis::DatastoreV1::LatLng::Representation + + property :integer_value, :numeric_string => true, as: 'integerValue' + property :key_value, as: 'keyValue', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation + + property :meaning, as: 'meaning' + property :null_value, as: 'nullValue' + property :string_value, as: 'stringValue' + property :timestamp_value, as: 'timestampValue' + end + end end end end diff --git a/generated/google/apis/datastore_v1/service.rb b/generated/google/apis/datastore_v1/service.rb index 0f2bf1764..042887e14 100644 --- a/generated/google/apis/datastore_v1/service.rb +++ b/generated/google/apis/datastore_v1/service.rb @@ -48,105 +48,6 @@ module Google @batch_path = 'batch' end - # Queries for entities. - # @param [String] project_id - # The ID of the project against which to make the request. - # @param [Google::Apis::DatastoreV1::RunQueryRequest] run_query_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::DatastoreV1::RunQueryResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DatastoreV1::RunQueryResponse] - # - # @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 run_project_query(project_id, run_query_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}:runQuery', options) - command.request_representation = Google::Apis::DatastoreV1::RunQueryRequest::Representation - command.request_object = run_query_request_object - command.response_representation = Google::Apis::DatastoreV1::RunQueryResponse::Representation - command.response_class = Google::Apis::DatastoreV1::RunQueryResponse - command.params['projectId'] = project_id unless project_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 - - # Rolls back a transaction. - # @param [String] project_id - # The ID of the project against which to make the request. - # @param [Google::Apis::DatastoreV1::RollbackRequest] rollback_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::DatastoreV1::RollbackResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DatastoreV1::RollbackResponse] - # - # @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 rollback_project(project_id, rollback_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}:rollback', options) - command.request_representation = Google::Apis::DatastoreV1::RollbackRequest::Representation - command.request_object = rollback_request_object - command.response_representation = Google::Apis::DatastoreV1::RollbackResponse::Representation - command.response_class = Google::Apis::DatastoreV1::RollbackResponse - command.params['projectId'] = project_id unless project_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 - - # Looks up entities by key. - # @param [String] project_id - # The ID of the project against which to make the request. - # @param [Google::Apis::DatastoreV1::LookupRequest] lookup_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::DatastoreV1::LookupResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DatastoreV1::LookupResponse] - # - # @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 lookup_project(project_id, lookup_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}:lookup', options) - command.request_representation = Google::Apis::DatastoreV1::LookupRequest::Representation - command.request_object = lookup_request_object - command.response_representation = Google::Apis::DatastoreV1::LookupResponse::Representation - command.response_class = Google::Apis::DatastoreV1::LookupResponse - command.params['projectId'] = project_id unless project_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 - # Allocates IDs for the given keys, which is useful for referencing an entity # before it is inserted. # @param [String] project_id @@ -247,6 +148,256 @@ module Google command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end + + # Looks up entities by key. + # @param [String] project_id + # The ID of the project against which to make the request. + # @param [Google::Apis::DatastoreV1::LookupRequest] lookup_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::DatastoreV1::LookupResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatastoreV1::LookupResponse] + # + # @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 lookup_project(project_id, lookup_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}:lookup', options) + command.request_representation = Google::Apis::DatastoreV1::LookupRequest::Representation + command.request_object = lookup_request_object + command.response_representation = Google::Apis::DatastoreV1::LookupResponse::Representation + command.response_class = Google::Apis::DatastoreV1::LookupResponse + command.params['projectId'] = project_id unless project_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 + + # Rolls back a transaction. + # @param [String] project_id + # The ID of the project against which to make the request. + # @param [Google::Apis::DatastoreV1::RollbackRequest] rollback_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::DatastoreV1::RollbackResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatastoreV1::RollbackResponse] + # + # @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 rollback_project(project_id, rollback_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}:rollback', options) + command.request_representation = Google::Apis::DatastoreV1::RollbackRequest::Representation + command.request_object = rollback_request_object + command.response_representation = Google::Apis::DatastoreV1::RollbackResponse::Representation + command.response_class = Google::Apis::DatastoreV1::RollbackResponse + command.params['projectId'] = project_id unless project_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 + + # Queries for entities. + # @param [String] project_id + # The ID of the project against which to make the request. + # @param [Google::Apis::DatastoreV1::RunQueryRequest] run_query_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::DatastoreV1::RunQueryResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatastoreV1::RunQueryResponse] + # + # @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 run_project_query(project_id, run_query_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}:runQuery', options) + command.request_representation = Google::Apis::DatastoreV1::RunQueryRequest::Representation + command.request_object = run_query_request_object + command.response_representation = Google::Apis::DatastoreV1::RunQueryResponse::Representation + command.response_class = Google::Apis::DatastoreV1::RunQueryResponse + command.params['projectId'] = project_id unless project_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 + + # 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. On successful cancellation, + # the operation is not deleted; instead, it becomes an operation with + # an Operation.error value with a google.rpc.Status.code of 1, + # corresponding to `Code.CANCELLED`. + # @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::DatastoreV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatastoreV1::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_project_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:cancel', options) + command.response_representation = Google::Apis::DatastoreV1::Empty::Representation + command.response_class = Google::Apis::DatastoreV1::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::DatastoreV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatastoreV1::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_project_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::DatastoreV1::Empty::Representation + command.response_class = Google::Apis::DatastoreV1::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 + + # 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::DatastoreV1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatastoreV1::GoogleLongrunningOperation] + # + # @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_project_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::DatastoreV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DatastoreV1::GoogleLongrunningOperation + 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 allows API services to override the binding + # to use different resource name schemes, such as `users/*/operations`. To + # override the binding, API services can add a binding such as + # `"/v1/`name=users/*`/operations"` to their service configuration. + # For backwards compatibility, the default name includes the operations + # collection id, however overriding users must ensure the name binding + # is the parent resource, without the operations collection id. + # @param [String] name + # The name of the operation's parent resource. + # @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::DatastoreV1::GoogleLongrunningListOperationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatastoreV1::GoogleLongrunningListOperationsResponse] + # + # @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_project_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}/operations', options) + command.response_representation = Google::Apis::DatastoreV1::GoogleLongrunningListOperationsResponse::Representation + command.response_class = Google::Apis::DatastoreV1::GoogleLongrunningListOperationsResponse + 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 protected diff --git a/generated/google/apis/deploymentmanager_v2.rb b/generated/google/apis/deploymentmanager_v2.rb index 07289ce0f..af03ec91e 100644 --- a/generated/google/apis/deploymentmanager_v2.rb +++ b/generated/google/apis/deploymentmanager_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/deployment-manager/ module DeploymentmanagerV2 VERSION = 'V2' - REVISION = '20170615' + REVISION = '20170810' # 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/deploymentmanager_v2/classes.rb b/generated/google/apis/deploymentmanager_v2/classes.rb index 124100392..7418345fd 100644 --- a/generated/google/apis/deploymentmanager_v2/classes.rb +++ b/generated/google/apis/deploymentmanager_v2/classes.rb @@ -101,6 +101,25 @@ module Google end end + # Authorization-related information used by Cloud Audit Logging. + class AuthorizationLoggingOptions + include Google::Apis::Core::Hashable + + # The type of the permission that was checked. + # Corresponds to the JSON property `permissionType` + # @return [String] + attr_accessor :permission_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permission_type = args[:permission_type] if args.key?(:permission_type) + end + end + # Associates `members` with a `role`. class Binding include Google::Apis::Core::Hashable @@ -562,11 +581,30 @@ module Google # @return [Google::Apis::DeploymentmanagerV2::LogConfigCloudAuditOptions] attr_accessor :cloud_audit - # Options for counters + # 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 the only supported field names are - "iam_principal", corresponding + # to IAMContext.principal; - "" (empty string), resulting in one aggretated + # counter with no field. + # 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 # Corresponds to the JSON property `counter` # @return [Google::Apis::DeploymentmanagerV2::LogConfigCounterOptions] attr_accessor :counter + # Write a Data Access (Gin) log + # Corresponds to the JSON property `dataAccess` + # @return [Google::Apis::DeploymentmanagerV2::LogConfigDataAccessOptions] + attr_accessor :data_access + def initialize(**args) update!(**args) end @@ -575,6 +613,7 @@ module Google def update!(**args) @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit) @counter = args[:counter] if args.key?(:counter) + @data_access = args[:data_access] if args.key?(:data_access) end end @@ -582,6 +621,11 @@ module Google class LogConfigCloudAuditOptions include Google::Apis::Core::Hashable + # Authorization-related information used by Cloud Audit Logging. + # Corresponds to the JSON property `authorizationLoggingOptions` + # @return [Google::Apis::DeploymentmanagerV2::AuthorizationLoggingOptions] + attr_accessor :authorization_logging_options + # The log_name to populate in the Cloud Audit Record. # Corresponds to the JSON property `logName` # @return [String] @@ -593,11 +637,26 @@ module Google # Update properties of this object def update!(**args) + @authorization_logging_options = args[:authorization_logging_options] if args.key?(:authorization_logging_options) @log_name = args[:log_name] if args.key?(:log_name) end end - # Options for counters + # 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 the only supported field names are - "iam_principal", corresponding + # to IAMContext.principal; - "" (empty string), resulting in one aggretated + # counter with no field. + # 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 LogConfigCounterOptions include Google::Apis::Core::Hashable @@ -622,6 +681,26 @@ module Google end end + # Write a Data Access (Gin) log + class LogConfigDataAccessOptions + include Google::Apis::Core::Hashable + + # Whether Gin logging should happen in a fail-closed manner at the caller. This + # is relevant only in the LocalIAM implementation, for now. + # Corresponds to the JSON property `logMode` + # @return [String] + attr_accessor :log_mode + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @log_mode = args[:log_mode] if args.key?(:log_mode) + end + end + # class Manifest include Google::Apis::Core::Hashable diff --git a/generated/google/apis/deploymentmanager_v2/representations.rb b/generated/google/apis/deploymentmanager_v2/representations.rb index 8fbeb7d3f..69363e77c 100644 --- a/generated/google/apis/deploymentmanager_v2/representations.rb +++ b/generated/google/apis/deploymentmanager_v2/representations.rb @@ -34,6 +34,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AuthorizationLoggingOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Binding class Representation < Google::Apis::Core::JsonRepresentation; end @@ -124,6 +130,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class LogConfigDataAccessOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Manifest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -292,6 +304,13 @@ module Google end end + class AuthorizationLoggingOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :permission_type, as: 'permissionType' + end + end + class Binding # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -416,12 +435,16 @@ module Google property :counter, as: 'counter', class: Google::Apis::DeploymentmanagerV2::LogConfigCounterOptions, decorator: Google::Apis::DeploymentmanagerV2::LogConfigCounterOptions::Representation + property :data_access, as: 'dataAccess', class: Google::Apis::DeploymentmanagerV2::LogConfigDataAccessOptions, decorator: Google::Apis::DeploymentmanagerV2::LogConfigDataAccessOptions::Representation + end end class LogConfigCloudAuditOptions # @private class Representation < Google::Apis::Core::JsonRepresentation + property :authorization_logging_options, as: 'authorizationLoggingOptions', class: Google::Apis::DeploymentmanagerV2::AuthorizationLoggingOptions, decorator: Google::Apis::DeploymentmanagerV2::AuthorizationLoggingOptions::Representation + property :log_name, as: 'logName' end end @@ -434,6 +457,13 @@ module Google end end + class LogConfigDataAccessOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :log_mode, as: 'logMode' + end + end + class Manifest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/dfareporting_v2_8.rb b/generated/google/apis/dfareporting_v2_8.rb index f4535d0cf..39770bbe3 100644 --- a/generated/google/apis/dfareporting_v2_8.rb +++ b/generated/google/apis/dfareporting_v2_8.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/doubleclick-advertisers/ module DfareportingV2_8 VERSION = 'V2_8' - REVISION = '20170428' + REVISION = '20170818' # Manage DoubleClick Digital Marketing conversions AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions' diff --git a/generated/google/apis/dfareporting_v2_8/classes.rb b/generated/google/apis/dfareporting_v2_8/classes.rb index 6696f1778..f41208dd0 100644 --- a/generated/google/apis/dfareporting_v2_8/classes.rb +++ b/generated/google/apis/dfareporting_v2_8/classes.rb @@ -2342,9 +2342,9 @@ module Google attr_accessor :custom_variables # The alphanumeric encrypted user ID. When set, encryptionInfo should also be - # specified. This field is mutually exclusive with encryptedUserIdCandidates[] - # and mobileDeviceId. This or encryptedUserIdCandidates[] or mobileDeviceId is a - # required field. + # specified. This field is mutually exclusive with encryptedUserIdCandidates[], + # mobileDeviceId and gclid. This or encryptedUserIdCandidates[] or + # mobileDeviceId or gclid is a required field. # Corresponds to the JSON property `encryptedUserId` # @return [String] attr_accessor :encrypted_user_id @@ -2354,8 +2354,9 @@ module Google # such user ID is found then the conversion will be rejected with # NO_COOKIE_MATCH_FOUND error. When set, encryptionInfo should also be specified. # This field may only be used when calling batchinsert; it is not supported by - # batchupdate. This field is mutually exclusive with encryptedUserId and - # mobileDeviceId. This or encryptedUserId or mobileDeviceId is a required field. + # batchupdate. This field is mutually exclusive with encryptedUserId, + # mobileDeviceId and gclid. This or encryptedUserId or mobileDeviceId or gclid + # is a required field. # Corresponds to the JSON property `encryptedUserIdCandidates` # @return [Array] attr_accessor :encrypted_user_id_candidates @@ -2370,6 +2371,13 @@ module Google # @return [Fixnum] attr_accessor :floodlight_configuration_id + # The Google click ID. This field is mutually exclusive with encryptedUserId, + # encryptedUserIdCandidates[] and mobileDeviceId. This or encryptedUserId or + # encryptedUserIdCandidates[] or mobileDeviceId is a required field. + # Corresponds to the JSON property `gclid` + # @return [String] + attr_accessor :gclid + # Identifies what kind of resource this is. Value: the fixed string " # dfareporting#conversion". # Corresponds to the JSON property `kind` @@ -2383,9 +2391,9 @@ module Google attr_accessor :limit_ad_tracking alias_method :limit_ad_tracking?, :limit_ad_tracking - # The mobile device ID. This field is mutually exclusive with encryptedUserId - # and encryptedUserIdCandidates[]. This or encryptedUserId or - # encryptedUserIdCandidates[] is a required field. + # The mobile device ID. This field is mutually exclusive with encryptedUserId, + # encryptedUserIdCandidates[] and gclid. This or encryptedUserId or + # encryptedUserIdCandidates[] or gclid is a required field. # Corresponds to the JSON property `mobileDeviceId` # @return [String] attr_accessor :mobile_device_id @@ -2423,6 +2431,7 @@ module Google @encrypted_user_id_candidates = args[:encrypted_user_id_candidates] if args.key?(:encrypted_user_id_candidates) @floodlight_activity_id = args[:floodlight_activity_id] if args.key?(:floodlight_activity_id) @floodlight_configuration_id = args[:floodlight_configuration_id] if args.key?(:floodlight_configuration_id) + @gclid = args[:gclid] if args.key?(:gclid) @kind = args[:kind] if args.key?(:kind) @limit_ad_tracking = args[:limit_ad_tracking] if args.key?(:limit_ad_tracking) @mobile_device_id = args[:mobile_device_id] if args.key?(:mobile_device_id) @@ -2937,7 +2946,7 @@ module Google attr_accessor :fs_command # HTML code for the creative. This is a required field when applicable. This - # field is ignored if htmlCodeLocked is false. Applicable to the following + # field is ignored if htmlCodeLocked is true. Applicable to the following # creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA. # Corresponds to the JSON property `htmlCode` # @return [String] @@ -5223,7 +5232,7 @@ module Google alias_method :verification_tag_opt_out?, :verification_tag_opt_out # Whether this directory site has disabled active view for in-stream video - # creatives. + # creatives. This is a read-only field. # Corresponds to the JSON property `videoActiveViewOptOut` # @return [Boolean] attr_accessor :video_active_view_opt_out @@ -5985,28 +5994,8 @@ module Google attr_accessor :tag_string # List of the user-defined variables used by this conversion tag. These map to - # the "u[1-20]=" in the tags. Each of these can have a user defined type. - # Acceptable values are: - # - "U1" - # - "U2" - # - "U3" - # - "U4" - # - "U5" - # - "U6" - # - "U7" - # - "U8" - # - "U9" - # - "U10" - # - "U11" - # - "U12" - # - "U13" - # - "U14" - # - "U15" - # - "U16" - # - "U17" - # - "U18" - # - "U19" - # - "U20" + # the "u[1-100]=" in the tags. Each of these can have a user defined type. + # Acceptable values are U1 to U100, inclusive. # Corresponds to the JSON property `userDefinedVariableTypes` # @return [Array] attr_accessor :user_defined_variable_types @@ -8260,6 +8249,8 @@ module Google # VPAID adapter setting for this placement. Controls which VPAID format the # measurement adapter will use for in-stream video creatives assigned to this # placement. + # Note: Flash is no longer supported. This field now defaults to HTML5 when the + # following values are provided: FLASH, BOTH. # Corresponds to the JSON property `vpaidAdapterChoice` # @return [String] attr_accessor :vpaid_adapter_choice @@ -10701,8 +10692,9 @@ module Google # measurement adapter will use for in-stream video creatives assigned to the # placement. The publisher's specifications will typically determine this # setting. For VPAID creatives, the adapter format will match the VPAID format ( - # HTML5 VPAID creatives use the HTML5 adapter, and Flash VPAID creatives use the - # Flash adapter). + # HTML5 VPAID creatives use the HTML5 adapter). + # Note: Flash is no longer supported. This field now defaults to HTML5 when the + # following values are provided: FLASH, BOTH. # Corresponds to the JSON property `vpaidAdapterChoiceTemplate` # @return [String] attr_accessor :vpaid_adapter_choice_template diff --git a/generated/google/apis/dfareporting_v2_8/representations.rb b/generated/google/apis/dfareporting_v2_8/representations.rb index ab527bf31..39feeb872 100644 --- a/generated/google/apis/dfareporting_v2_8/representations.rb +++ b/generated/google/apis/dfareporting_v2_8/representations.rb @@ -1911,6 +1911,7 @@ module Google collection :encrypted_user_id_candidates, as: 'encryptedUserIdCandidates' property :floodlight_activity_id, :numeric_string => true, as: 'floodlightActivityId' property :floodlight_configuration_id, :numeric_string => true, as: 'floodlightConfigurationId' + property :gclid, as: 'gclid' property :kind, as: 'kind' property :limit_ad_tracking, as: 'limitAdTracking' property :mobile_device_id, as: 'mobileDeviceId' diff --git a/generated/google/apis/dfareporting_v2_8/service.rb b/generated/google/apis/dfareporting_v2_8/service.rb index 3b4eff51a..ada3fe457 100644 --- a/generated/google/apis/dfareporting_v2_8/service.rb +++ b/generated/google/apis/dfareporting_v2_8/service.rb @@ -6334,6 +6334,7 @@ module Google # Generate tags for these placements. # @param [Array, String] tag_formats # Tag formats to generate for these placements. + # Note: PLACEMENT_TAG_STANDARD can only be generated for 1x1 placements. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user diff --git a/generated/google/apis/dlp_v2beta1.rb b/generated/google/apis/dlp_v2beta1.rb new file mode 100644 index 000000000..9bd6463b8 --- /dev/null +++ b/generated/google/apis/dlp_v2beta1.rb @@ -0,0 +1,36 @@ +# 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/dlp_v2beta1/service.rb' +require 'google/apis/dlp_v2beta1/classes.rb' +require 'google/apis/dlp_v2beta1/representations.rb' + +module Google + module Apis + # DLP API + # + # The Google Data Loss Prevention API provides methods for detection of privacy- + # sensitive fragments in text, images, and Google Cloud Platform storage + # repositories. + # + # @see https://cloud.google.com/dlp/docs/ + module DlpV2beta1 + VERSION = 'V2beta1' + REVISION = '20170822' + + # 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/dlp_v2beta1/classes.rb b/generated/google/apis/dlp_v2beta1/classes.rb new file mode 100644 index 000000000..48202edf1 --- /dev/null +++ b/generated/google/apis/dlp_v2beta1/classes.rb @@ -0,0 +1,1735 @@ +# 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 DlpV2beta1 + + # The request message for Operations.CancelOperation. + class GoogleLongrunningCancelOperationRequest + 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 GoogleLongrunningListOperationsResponse + include Google::Apis::Core::Hashable + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + 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) + @operations = args[:operations] if args.key?(:operations) + end + end + + # This resource represents a long-running operation that is the result of a + # network API call. + class GoogleLongrunningOperation + include Google::Apis::Core::Hashable + + # 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` that 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. + # - 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::DlpV2beta1::GoogleRpcStatus] + attr_accessor :error + + # This field will contain an InspectOperationMetadata object. This will always + # be returned with the Operation. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # The server-assigned name, The `name` should have the format of `inspect/ + # operations/`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # This field will contain an InspectOperationResult object. + # 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) + @done = args[:done] if args.key?(:done) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + @response = args[:response] if args.key?(:response) + end + end + + # Options defining BigQuery table and row identifiers. + class GooglePrivacyDlpV2beta1BigQueryOptions + include Google::Apis::Core::Hashable + + # References to fields uniquely identifying rows within the table. + # Nested fields in the format, like `person.birthdate.year`, are allowed. + # Corresponds to the JSON property `identifyingFields` + # @return [Array] + attr_accessor :identifying_fields + + # Message defining the location of a BigQuery table. A table is uniquely + # identified by its project_id, dataset_id, and table_name. Within a query + # a table is often referenced with a string in the format of: + # `:.` or + # `..`. + # Corresponds to the JSON property `tableReference` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryTable] + attr_accessor :table_reference + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @identifying_fields = args[:identifying_fields] if args.key?(:identifying_fields) + @table_reference = args[:table_reference] if args.key?(:table_reference) + end + end + + # Message defining the location of a BigQuery table. A table is uniquely + # identified by its project_id, dataset_id, and table_name. Within a query + # a table is often referenced with a string in the format of: + # `:.` or + # `..`. + class GooglePrivacyDlpV2beta1BigQueryTable + include Google::Apis::Core::Hashable + + # Dataset ID of the table. + # Corresponds to the JSON property `datasetId` + # @return [String] + attr_accessor :dataset_id + + # The Google Cloud Platform project ID of the project containing the table. + # If omitted, project ID is inferred from the API call. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # Name of the table. + # Corresponds to the JSON property `tableId` + # @return [String] + attr_accessor :table_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dataset_id = args[:dataset_id] if args.key?(:dataset_id) + @project_id = args[:project_id] if args.key?(:project_id) + @table_id = args[:table_id] if args.key?(:table_id) + end + end + + # Info Type Category description. + class GooglePrivacyDlpV2beta1CategoryDescription + include Google::Apis::Core::Hashable + + # Human readable form of the category name. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Internal name of the category. + # 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) + @display_name = args[:display_name] if args.key?(:display_name) + @name = args[:name] if args.key?(:name) + end + end + + # Record key for a finding in a Cloud Storage file. + class GooglePrivacyDlpV2beta1CloudStorageKey + include Google::Apis::Core::Hashable + + # Path to the file. + # Corresponds to the JSON property `filePath` + # @return [String] + attr_accessor :file_path + + # Byte offset of the referenced data in the file. + # Corresponds to the JSON property `startOffset` + # @return [Fixnum] + attr_accessor :start_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file_path = args[:file_path] if args.key?(:file_path) + @start_offset = args[:start_offset] if args.key?(:start_offset) + end + end + + # Options defining a file or a set of files (path ending with *) within + # a Google Cloud Storage bucket. + class GooglePrivacyDlpV2beta1CloudStorageOptions + include Google::Apis::Core::Hashable + + # Set of files to scan. + # Corresponds to the JSON property `fileSet` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FileSet] + attr_accessor :file_set + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file_set = args[:file_set] if args.key?(:file_set) + end + end + + # A location in Cloud Storage. + class GooglePrivacyDlpV2beta1CloudStoragePath + include Google::Apis::Core::Hashable + + # The url, in the format of `gs://bucket/`. + # Corresponds to the JSON property `path` + # @return [String] + attr_accessor :path + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @path = args[:path] if args.key?(:path) + end + end + + # Represents a color in the RGB color space. + class GooglePrivacyDlpV2beta1Color + include Google::Apis::Core::Hashable + + # 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 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 red in the color as a value in the interval [0, 1]. + # Corresponds to the JSON property `red` + # @return [Float] + attr_accessor :red + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @blue = args[:blue] if args.key?(:blue) + @green = args[:green] if args.key?(:green) + @red = args[:red] if args.key?(:red) + end + end + + # Container structure for the content to inspect. + class GooglePrivacyDlpV2beta1ContentItem + include Google::Apis::Core::Hashable + + # Content data to inspect or redact. + # Corresponds to the JSON property `data` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :data + + # Structured content to inspect. Up to 50,000 `Value`s per request allowed. + # Corresponds to the JSON property `table` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Table] + attr_accessor :table + + # Type of the content, as defined in Content-Type HTTP header. + # Supported types are: all "text" types, octet streams, PNG images, + # JPEG images. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # String data to inspect or redact. + # 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) + @data = args[:data] if args.key?(:data) + @table = args[:table] if args.key?(:table) + @type = args[:type] if args.key?(:type) + @value = args[:value] if args.key?(:value) + end + end + + # Request for scheduling a scan of a data subset from a Google Platform data + # repository. + class GooglePrivacyDlpV2beta1CreateInspectOperationRequest + include Google::Apis::Core::Hashable + + # Configuration description of the scanning process. + # When used with redactContent only info_types and min_likelihood are currently + # used. + # Corresponds to the JSON property `inspectConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectConfig] + attr_accessor :inspect_config + + # Additional configuration for inspect long running operations. + # Corresponds to the JSON property `operationConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1OperationConfig] + attr_accessor :operation_config + + # Cloud repository for storing output. + # Corresponds to the JSON property `outputConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1OutputStorageConfig] + attr_accessor :output_config + + # Shared message indicating Cloud storage type. + # Corresponds to the JSON property `storageConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1StorageConfig] + attr_accessor :storage_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @inspect_config = args[:inspect_config] if args.key?(:inspect_config) + @operation_config = args[:operation_config] if args.key?(:operation_config) + @output_config = args[:output_config] if args.key?(:output_config) + @storage_config = args[:storage_config] if args.key?(:storage_config) + end + end + + # Record key for a finding in Cloud Datastore. + class GooglePrivacyDlpV2beta1DatastoreKey + include Google::Apis::Core::Hashable + + # A unique identifier for a Datastore entity. + # If a key's partition ID or any of its path kinds or names are + # reserved/read-only, the key is reserved/read-only. + # A reserved/read-only key is forbidden in certain documented contexts. + # Corresponds to the JSON property `entityKey` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Key] + attr_accessor :entity_key + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @entity_key = args[:entity_key] if args.key?(:entity_key) + end + end + + # Options defining a data set within Google Cloud Datastore. + class GooglePrivacyDlpV2beta1DatastoreOptions + include Google::Apis::Core::Hashable + + # A representation of a Datastore kind. + # Corresponds to the JSON property `kind` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KindExpression] + attr_accessor :kind + + # Datastore partition ID. + # A partition ID identifies a grouping of entities. The grouping is always + # by project and namespace, however the namespace ID may be empty. + # A partition ID contains several dimensions: + # project ID and namespace ID. + # Corresponds to the JSON property `partitionId` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PartitionId] + attr_accessor :partition_id + + # Properties to scan. If none are specified, all properties will be scanned + # by default. + # Corresponds to the JSON property `projection` + # @return [Array] + attr_accessor :projection + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @partition_id = args[:partition_id] if args.key?(:partition_id) + @projection = args[:projection] if args.key?(:projection) + end + end + + # General identifier of a data field in a storage service. + class GooglePrivacyDlpV2beta1FieldId + include Google::Apis::Core::Hashable + + # Name describing the field. + # Corresponds to the JSON property `columnName` + # @return [String] + attr_accessor :column_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @column_name = args[:column_name] if args.key?(:column_name) + end + end + + # Set of files to scan. + class GooglePrivacyDlpV2beta1FileSet + include Google::Apis::Core::Hashable + + # The url, in the format `gs:///`. Trailing wildcard in the + # path is allowed. + # 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) + @url = args[:url] if args.key?(:url) + end + end + + # Container structure describing a single finding within a string or image. + class GooglePrivacyDlpV2beta1Finding + include Google::Apis::Core::Hashable + + # Timestamp when finding was detected. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Type of information detected by the API. + # Corresponds to the JSON property `infoType` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType] + attr_accessor :info_type + + # Estimate of how likely it is that the info_type is correct. + # Corresponds to the JSON property `likelihood` + # @return [String] + attr_accessor :likelihood + + # Specifies the location of a finding within its source item. + # Corresponds to the JSON property `location` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Location] + attr_accessor :location + + # The specific string that may be potentially sensitive info. + # Corresponds to the JSON property `quote` + # @return [String] + attr_accessor :quote + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @info_type = args[:info_type] if args.key?(:info_type) + @likelihood = args[:likelihood] if args.key?(:likelihood) + @location = args[:location] if args.key?(:location) + @quote = args[:quote] if args.key?(:quote) + end + end + + # Bounding box encompassing detected text within an image. + class GooglePrivacyDlpV2beta1ImageLocation + include Google::Apis::Core::Hashable + + # Height of the bounding box in pixels. + # Corresponds to the JSON property `height` + # @return [Fixnum] + attr_accessor :height + + # Left coordinate of the bounding box. (0,0) is upper left. + # Corresponds to the JSON property `left` + # @return [Fixnum] + attr_accessor :left + + # Top coordinate of the bounding box. (0,0) is upper left. + # Corresponds to the JSON property `top` + # @return [Fixnum] + attr_accessor :top + + # Width of the bounding box in pixels. + # Corresponds to the JSON property `width` + # @return [Fixnum] + attr_accessor :width + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @height = args[:height] if args.key?(:height) + @left = args[:left] if args.key?(:left) + @top = args[:top] if args.key?(:top) + @width = args[:width] if args.key?(:width) + end + end + + # Configuration for determing how redaction of images should occur. + class GooglePrivacyDlpV2beta1ImageRedactionConfig + include Google::Apis::Core::Hashable + + # Type of information detected by the API. + # Corresponds to the JSON property `infoType` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType] + attr_accessor :info_type + + # If true, all text found in the image, regardless whether it matches an + # info_type, is redacted. + # Corresponds to the JSON property `redactAllText` + # @return [Boolean] + attr_accessor :redact_all_text + alias_method :redact_all_text?, :redact_all_text + + # Represents a color in the RGB color space. + # Corresponds to the JSON property `redactionColor` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Color] + attr_accessor :redaction_color + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @info_type = args[:info_type] if args.key?(:info_type) + @redact_all_text = args[:redact_all_text] if args.key?(:redact_all_text) + @redaction_color = args[:redaction_color] if args.key?(:redaction_color) + end + end + + # Type of information detected by the API. + class GooglePrivacyDlpV2beta1InfoType + include Google::Apis::Core::Hashable + + # Name of the information type. + # 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) + @name = args[:name] if args.key?(:name) + end + end + + # Info type description. + class GooglePrivacyDlpV2beta1InfoTypeDescription + include Google::Apis::Core::Hashable + + # List of categories this info type belongs to. + # Corresponds to the JSON property `categories` + # @return [Array] + attr_accessor :categories + + # Human readable form of the info type name. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Internal name of the info type. + # 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) + @categories = args[:categories] if args.key?(:categories) + @display_name = args[:display_name] if args.key?(:display_name) + @name = args[:name] if args.key?(:name) + end + end + + # Max findings configuration per info type, per content item or long running + # operation. + class GooglePrivacyDlpV2beta1InfoTypeLimit + include Google::Apis::Core::Hashable + + # Type of information detected by the API. + # Corresponds to the JSON property `infoType` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType] + attr_accessor :info_type + + # Max findings limit for the given infoType. + # Corresponds to the JSON property `maxFindings` + # @return [Fixnum] + attr_accessor :max_findings + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @info_type = args[:info_type] if args.key?(:info_type) + @max_findings = args[:max_findings] if args.key?(:max_findings) + end + end + + # Statistics regarding a specific InfoType. + class GooglePrivacyDlpV2beta1InfoTypeStatistics + include Google::Apis::Core::Hashable + + # Number of findings for this info type. + # Corresponds to the JSON property `count` + # @return [Fixnum] + attr_accessor :count + + # Type of information detected by the API. + # Corresponds to the JSON property `infoType` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType] + attr_accessor :info_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @count = args[:count] if args.key?(:count) + @info_type = args[:info_type] if args.key?(:info_type) + end + end + + # Configuration description of the scanning process. + # When used with redactContent only info_types and min_likelihood are currently + # used. + class GooglePrivacyDlpV2beta1InspectConfig + include Google::Apis::Core::Hashable + + # When true, excludes type information of the findings. + # Corresponds to the JSON property `excludeTypes` + # @return [Boolean] + attr_accessor :exclude_types + alias_method :exclude_types?, :exclude_types + + # When true, a contextual quote from the data that triggered a finding is + # included in the response; see Finding.quote. + # Corresponds to the JSON property `includeQuote` + # @return [Boolean] + attr_accessor :include_quote + alias_method :include_quote?, :include_quote + + # Configuration of findings limit given for specified info types. + # Corresponds to the JSON property `infoTypeLimits` + # @return [Array] + attr_accessor :info_type_limits + + # Restricts what info_types to look for. The values must correspond to + # InfoType values returned by ListInfoTypes or found in documentation. + # Empty info_types runs all enabled detectors. + # Corresponds to the JSON property `infoTypes` + # @return [Array] + attr_accessor :info_types + + # Limits the number of findings per content item or long running operation. + # Corresponds to the JSON property `maxFindings` + # @return [Fixnum] + attr_accessor :max_findings + + # Only returns findings equal or above this threshold. + # Corresponds to the JSON property `minLikelihood` + # @return [String] + attr_accessor :min_likelihood + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exclude_types = args[:exclude_types] if args.key?(:exclude_types) + @include_quote = args[:include_quote] if args.key?(:include_quote) + @info_type_limits = args[:info_type_limits] if args.key?(:info_type_limits) + @info_types = args[:info_types] if args.key?(:info_types) + @max_findings = args[:max_findings] if args.key?(:max_findings) + @min_likelihood = args[:min_likelihood] if args.key?(:min_likelihood) + end + end + + # Request to search for potentially sensitive info in a list of items. + class GooglePrivacyDlpV2beta1InspectContentRequest + include Google::Apis::Core::Hashable + + # Configuration description of the scanning process. + # When used with redactContent only info_types and min_likelihood are currently + # used. + # Corresponds to the JSON property `inspectConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectConfig] + attr_accessor :inspect_config + + # The list of items to inspect. Items in a single request are + # considered "related" unless inspect_config.independent_inputs is true. + # Up to 100 are allowed per request. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @inspect_config = args[:inspect_config] if args.key?(:inspect_config) + @items = args[:items] if args.key?(:items) + end + end + + # Results of inspecting a list of items. + class GooglePrivacyDlpV2beta1InspectContentResponse + include Google::Apis::Core::Hashable + + # Each content_item from the request has a result in this list, in the + # same order as the request. + # Corresponds to the JSON property `results` + # @return [Array] + attr_accessor :results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @results = args[:results] if args.key?(:results) + end + end + + # Metadata returned within GetOperation for an inspect request. + class GooglePrivacyDlpV2beta1InspectOperationMetadata + include Google::Apis::Core::Hashable + + # The time which this request was started. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # + # Corresponds to the JSON property `infoTypeStats` + # @return [Array] + attr_accessor :info_type_stats + + # Total size in bytes that were processed. + # Corresponds to the JSON property `processedBytes` + # @return [Fixnum] + attr_accessor :processed_bytes + + # Configuration description of the scanning process. + # When used with redactContent only info_types and min_likelihood are currently + # used. + # Corresponds to the JSON property `requestInspectConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectConfig] + attr_accessor :request_inspect_config + + # Cloud repository for storing output. + # Corresponds to the JSON property `requestOutputConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1OutputStorageConfig] + attr_accessor :request_output_config + + # Shared message indicating Cloud storage type. + # Corresponds to the JSON property `requestStorageConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1StorageConfig] + attr_accessor :request_storage_config + + # Estimate of the number of bytes to process. + # Corresponds to the JSON property `totalEstimatedBytes` + # @return [Fixnum] + attr_accessor :total_estimated_bytes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @info_type_stats = args[:info_type_stats] if args.key?(:info_type_stats) + @processed_bytes = args[:processed_bytes] if args.key?(:processed_bytes) + @request_inspect_config = args[:request_inspect_config] if args.key?(:request_inspect_config) + @request_output_config = args[:request_output_config] if args.key?(:request_output_config) + @request_storage_config = args[:request_storage_config] if args.key?(:request_storage_config) + @total_estimated_bytes = args[:total_estimated_bytes] if args.key?(:total_estimated_bytes) + end + end + + # The operational data. + class GooglePrivacyDlpV2beta1InspectOperationResult + 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 `inspect/results/`id``. + # 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) + @name = args[:name] if args.key?(:name) + end + end + + # All the findings for a single scanned item. + class GooglePrivacyDlpV2beta1InspectResult + include Google::Apis::Core::Hashable + + # List of findings for an item. + # Corresponds to the JSON property `findings` + # @return [Array] + attr_accessor :findings + + # If true, then this item might have more findings than were returned, + # and the findings returned are an arbitrary subset of all findings. + # The findings list might be truncated because the input items were too + # large, or because the server reached the maximum amount of resources + # allowed for a single API call. For best results, divide the input into + # smaller batches. + # Corresponds to the JSON property `findingsTruncated` + # @return [Boolean] + attr_accessor :findings_truncated + alias_method :findings_truncated?, :findings_truncated + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @findings = args[:findings] if args.key?(:findings) + @findings_truncated = args[:findings_truncated] if args.key?(:findings_truncated) + end + end + + # A unique identifier for a Datastore entity. + # If a key's partition ID or any of its path kinds or names are + # reserved/read-only, the key is reserved/read-only. + # A reserved/read-only key is forbidden in certain documented contexts. + class GooglePrivacyDlpV2beta1Key + include Google::Apis::Core::Hashable + + # Datastore partition ID. + # A partition ID identifies a grouping of entities. The grouping is always + # by project and namespace, however the namespace ID may be empty. + # A partition ID contains several dimensions: + # project ID and namespace ID. + # Corresponds to the JSON property `partitionId` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PartitionId] + attr_accessor :partition_id + + # The entity path. + # An entity path consists of one or more elements composed of a kind and a + # string or numerical identifier, which identify entities. The first + # element identifies a _root entity_, the second element identifies + # a _child_ of the root entity, the third element identifies a child of the + # second entity, and so forth. The entities identified by all prefixes of + # the path are called the element's _ancestors_. + # A path can never be empty, and a path can have at most 100 elements. + # Corresponds to the JSON property `path` + # @return [Array] + attr_accessor :path + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @partition_id = args[:partition_id] if args.key?(:partition_id) + @path = args[:path] if args.key?(:path) + end + end + + # A representation of a Datastore kind. + class GooglePrivacyDlpV2beta1KindExpression + include Google::Apis::Core::Hashable + + # The name of the kind. + # 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) + @name = args[:name] if args.key?(:name) + end + end + + # Response to the ListInfoTypes request. + class GooglePrivacyDlpV2beta1ListInfoTypesResponse + include Google::Apis::Core::Hashable + + # Set of sensitive info types belonging to a category. + # Corresponds to the JSON property `infoTypes` + # @return [Array] + attr_accessor :info_types + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @info_types = args[:info_types] if args.key?(:info_types) + end + end + + # Response to the ListInspectFindings request. + class GooglePrivacyDlpV2beta1ListInspectFindingsResponse + include Google::Apis::Core::Hashable + + # If not empty, indicates that there may be more results that match the + # request; this value should be passed in a new `ListInspectFindingsRequest`. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # All the findings for a single scanned item. + # Corresponds to the JSON property `result` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectResult] + attr_accessor :result + + 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) + @result = args[:result] if args.key?(:result) + end + end + + # Response for ListRootCategories request. + class GooglePrivacyDlpV2beta1ListRootCategoriesResponse + include Google::Apis::Core::Hashable + + # List of all into type categories supported by the API. + # Corresponds to the JSON property `categories` + # @return [Array] + attr_accessor :categories + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @categories = args[:categories] if args.key?(:categories) + end + end + + # Specifies the location of a finding within its source item. + class GooglePrivacyDlpV2beta1Location + include Google::Apis::Core::Hashable + + # Generic half-open interval [start, end) + # Corresponds to the JSON property `byteRange` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Range] + attr_accessor :byte_range + + # Generic half-open interval [start, end) + # Corresponds to the JSON property `codepointRange` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Range] + attr_accessor :codepoint_range + + # General identifier of a data field in a storage service. + # Corresponds to the JSON property `fieldId` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId] + attr_accessor :field_id + + # Location within an image's pixels. + # Corresponds to the JSON property `imageBoxes` + # @return [Array] + attr_accessor :image_boxes + + # Message for a unique key indicating a record that contains a finding. + # Corresponds to the JSON property `recordKey` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordKey] + attr_accessor :record_key + + # Location of a finding within a `ContentItem.Table`. + # Corresponds to the JSON property `tableLocation` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1TableLocation] + attr_accessor :table_location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @byte_range = args[:byte_range] if args.key?(:byte_range) + @codepoint_range = args[:codepoint_range] if args.key?(:codepoint_range) + @field_id = args[:field_id] if args.key?(:field_id) + @image_boxes = args[:image_boxes] if args.key?(:image_boxes) + @record_key = args[:record_key] if args.key?(:record_key) + @table_location = args[:table_location] if args.key?(:table_location) + end + end + + # Additional configuration for inspect long running operations. + class GooglePrivacyDlpV2beta1OperationConfig + include Google::Apis::Core::Hashable + + # Max number of findings per file, Datastore entity, or database row. + # Corresponds to the JSON property `maxItemFindings` + # @return [Fixnum] + attr_accessor :max_item_findings + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @max_item_findings = args[:max_item_findings] if args.key?(:max_item_findings) + end + end + + # Cloud repository for storing output. + class GooglePrivacyDlpV2beta1OutputStorageConfig + include Google::Apis::Core::Hashable + + # A location in Cloud Storage. + # Corresponds to the JSON property `storagePath` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CloudStoragePath] + attr_accessor :storage_path + + # Message defining the location of a BigQuery table. A table is uniquely + # identified by its project_id, dataset_id, and table_name. Within a query + # a table is often referenced with a string in the format of: + # `:.` or + # `..`. + # Corresponds to the JSON property `table` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryTable] + attr_accessor :table + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @storage_path = args[:storage_path] if args.key?(:storage_path) + @table = args[:table] if args.key?(:table) + end + end + + # Datastore partition ID. + # A partition ID identifies a grouping of entities. The grouping is always + # by project and namespace, however the namespace ID may be empty. + # A partition ID contains several dimensions: + # project ID and namespace ID. + class GooglePrivacyDlpV2beta1PartitionId + include Google::Apis::Core::Hashable + + # If not empty, the ID of the namespace to which the entities belong. + # Corresponds to the JSON property `namespaceId` + # @return [String] + attr_accessor :namespace_id + + # The ID of the project to which the entities belong. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @namespace_id = args[:namespace_id] if args.key?(:namespace_id) + @project_id = args[:project_id] if args.key?(:project_id) + end + end + + # A (kind, ID/name) pair used to construct a key path. + # If either name or ID is set, the element is complete. + # If neither is set, the element is incomplete. + class GooglePrivacyDlpV2beta1PathElement + include Google::Apis::Core::Hashable + + # The auto-allocated ID of the entity. + # Never equal to zero. Values less than zero are discouraged and may not + # be supported in the future. + # Corresponds to the JSON property `id` + # @return [Fixnum] + attr_accessor :id + + # The kind of the entity. + # A kind matching regex `__.*__` is reserved/read-only. + # A kind must not contain more than 1500 bytes when UTF-8 encoded. + # Cannot be `""`. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The name of the entity. + # A name matching regex `__.*__` is reserved/read-only. + # A name must not be more than 1500 bytes when UTF-8 encoded. + # Cannot be `""`. + # 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) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + end + end + + # A representation of a Datastore property in a projection. + class GooglePrivacyDlpV2beta1Projection + include Google::Apis::Core::Hashable + + # A reference to a property relative to the Datastore kind expressions. + # Corresponds to the JSON property `property` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PropertyReference] + attr_accessor :property + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @property = args[:property] if args.key?(:property) + end + end + + # A reference to a property relative to the Datastore kind expressions. + class GooglePrivacyDlpV2beta1PropertyReference + include Google::Apis::Core::Hashable + + # The name of the property. + # If name includes "."s, it may be interpreted as a property name path. + # 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) + @name = args[:name] if args.key?(:name) + end + end + + # Generic half-open interval [start, end) + class GooglePrivacyDlpV2beta1Range + include Google::Apis::Core::Hashable + + # Index of the last character of the range (exclusive). + # Corresponds to the JSON property `end` + # @return [Fixnum] + attr_accessor :end + + # Index of the first character of the range (inclusive). + # Corresponds to the JSON property `start` + # @return [Fixnum] + attr_accessor :start + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end = args[:end] if args.key?(:end) + @start = args[:start] if args.key?(:start) + end + end + + # Message for a unique key indicating a record that contains a finding. + class GooglePrivacyDlpV2beta1RecordKey + include Google::Apis::Core::Hashable + + # Record key for a finding in a Cloud Storage file. + # Corresponds to the JSON property `cloudStorageKey` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CloudStorageKey] + attr_accessor :cloud_storage_key + + # Record key for a finding in Cloud Datastore. + # Corresponds to the JSON property `datastoreKey` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DatastoreKey] + attr_accessor :datastore_key + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cloud_storage_key = args[:cloud_storage_key] if args.key?(:cloud_storage_key) + @datastore_key = args[:datastore_key] if args.key?(:datastore_key) + end + end + + # Request to search for potentially sensitive info in a list of items + # and replace it with a default or provided content. + class GooglePrivacyDlpV2beta1RedactContentRequest + include Google::Apis::Core::Hashable + + # The configuration for specifying what content to redact from images. + # Corresponds to the JSON property `imageRedactionConfigs` + # @return [Array] + attr_accessor :image_redaction_configs + + # Configuration description of the scanning process. + # When used with redactContent only info_types and min_likelihood are currently + # used. + # Corresponds to the JSON property `inspectConfig` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectConfig] + attr_accessor :inspect_config + + # The list of items to inspect. Up to 100 are allowed per request. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # The strings to replace findings text findings with. Must specify at least + # one of these or one ImageRedactionConfig if redacting images. + # Corresponds to the JSON property `replaceConfigs` + # @return [Array] + attr_accessor :replace_configs + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @image_redaction_configs = args[:image_redaction_configs] if args.key?(:image_redaction_configs) + @inspect_config = args[:inspect_config] if args.key?(:inspect_config) + @items = args[:items] if args.key?(:items) + @replace_configs = args[:replace_configs] if args.key?(:replace_configs) + end + end + + # Results of redacting a list of items. + class GooglePrivacyDlpV2beta1RedactContentResponse + include Google::Apis::Core::Hashable + + # The redacted content. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @items = args[:items] if args.key?(:items) + end + end + + # + class GooglePrivacyDlpV2beta1ReplaceConfig + include Google::Apis::Core::Hashable + + # Type of information detected by the API. + # Corresponds to the JSON property `infoType` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType] + attr_accessor :info_type + + # Content replacing sensitive information of given type. Max 256 chars. + # Corresponds to the JSON property `replaceWith` + # @return [String] + attr_accessor :replace_with + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @info_type = args[:info_type] if args.key?(:info_type) + @replace_with = args[:replace_with] if args.key?(:replace_with) + end + end + + # + class GooglePrivacyDlpV2beta1Row + include Google::Apis::Core::Hashable + + # + # 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) + @values = args[:values] if args.key?(:values) + end + end + + # Shared message indicating Cloud storage type. + class GooglePrivacyDlpV2beta1StorageConfig + include Google::Apis::Core::Hashable + + # Options defining BigQuery table and row identifiers. + # Corresponds to the JSON property `bigQueryOptions` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryOptions] + attr_accessor :big_query_options + + # Options defining a file or a set of files (path ending with *) within + # a Google Cloud Storage bucket. + # Corresponds to the JSON property `cloudStorageOptions` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CloudStorageOptions] + attr_accessor :cloud_storage_options + + # Options defining a data set within Google Cloud Datastore. + # Corresponds to the JSON property `datastoreOptions` + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DatastoreOptions] + attr_accessor :datastore_options + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @big_query_options = args[:big_query_options] if args.key?(:big_query_options) + @cloud_storage_options = args[:cloud_storage_options] if args.key?(:cloud_storage_options) + @datastore_options = args[:datastore_options] if args.key?(:datastore_options) + end + end + + # Structured content to inspect. Up to 50,000 `Value`s per request allowed. + class GooglePrivacyDlpV2beta1Table + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `headers` + # @return [Array] + attr_accessor :headers + + # + # Corresponds to the JSON property `rows` + # @return [Array] + attr_accessor :rows + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @headers = args[:headers] if args.key?(:headers) + @rows = args[:rows] if args.key?(:rows) + end + end + + # Location of a finding within a `ContentItem.Table`. + class GooglePrivacyDlpV2beta1TableLocation + include Google::Apis::Core::Hashable + + # The zero-based index of the row where the finding is located. + # Corresponds to the JSON property `rowIndex` + # @return [Fixnum] + attr_accessor :row_index + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @row_index = args[:row_index] if args.key?(:row_index) + end + end + + # Set of primitive values supported by the system. + class GooglePrivacyDlpV2beta1Value + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `booleanValue` + # @return [Boolean] + attr_accessor :boolean_value + alias_method :boolean_value?, :boolean_value + + # Represents a whole calendar date, e.g. 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. The day may be 0 to + # represent a year and month where the day is not significant, e.g. credit card + # expiration date. The year may be 0 to represent a month and day independent + # of year, e.g. anniversary date. Related types are google.type.TimeOfDay + # and `google.protobuf.Timestamp`. + # Corresponds to the JSON property `dateValue` + # @return [Google::Apis::DlpV2beta1::GoogleTypeDate] + attr_accessor :date_value + + # + # Corresponds to the JSON property `floatValue` + # @return [Float] + attr_accessor :float_value + + # + # Corresponds to the JSON property `integerValue` + # @return [Fixnum] + attr_accessor :integer_value + + # + # Corresponds to the JSON property `stringValue` + # @return [String] + attr_accessor :string_value + + # Represents a time of day. The date and time zone are either not significant + # or are specified elsewhere. An API may choose to allow leap seconds. Related + # types are google.type.Date and `google.protobuf.Timestamp`. + # Corresponds to the JSON property `timeValue` + # @return [Google::Apis::DlpV2beta1::GoogleTypeTimeOfDay] + attr_accessor :time_value + + # + # Corresponds to the JSON property `timestampValue` + # @return [String] + attr_accessor :timestamp_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @boolean_value = args[:boolean_value] if args.key?(:boolean_value) + @date_value = args[:date_value] if args.key?(:date_value) + @float_value = args[:float_value] if args.key?(:float_value) + @integer_value = args[:integer_value] if args.key?(:integer_value) + @string_value = args[:string_value] if args.key?(:string_value) + @time_value = args[:time_value] if args.key?(:time_value) + @timestamp_value = args[:timestamp_value] if args.key?(:timestamp_value) + 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 GoogleProtobufEmpty + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + 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` that 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. + # - 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 GoogleRpcStatus + 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 is 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 + + # Represents a whole calendar date, e.g. 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. The day may be 0 to + # represent a year and month where the day is not significant, e.g. credit card + # expiration date. The year may be 0 to represent a month and day independent + # of year, e.g. anniversary date. Related types are google.type.TimeOfDay + # and `google.protobuf.Timestamp`. + class GoogleTypeDate + include Google::Apis::Core::Hashable + + # 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 + + # Month of year. Must be from 1 to 12. + # Corresponds to the JSON property `month` + # @return [Fixnum] + attr_accessor :month + + # 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) + @day = args[:day] if args.key?(:day) + @month = args[:month] if args.key?(:month) + @year = args[:year] if args.key?(:year) + end + end + + # Represents a time of day. The date and time zone are either not significant + # or are specified elsewhere. An API may choose to allow leap seconds. Related + # types are google.type.Date and `google.protobuf.Timestamp`. + class GoogleTypeTimeOfDay + include Google::Apis::Core::Hashable + + # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose + # to allow the value "24:00:00" for scenarios like business closing time. + # Corresponds to the JSON property `hours` + # @return [Fixnum] + attr_accessor :hours + + # Minutes of hour of day. Must be from 0 to 59. + # Corresponds to the JSON property `minutes` + # @return [Fixnum] + attr_accessor :minutes + + # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. + # Corresponds to the JSON property `nanos` + # @return [Fixnum] + attr_accessor :nanos + + # Seconds of minutes of the time. Must normally be from 0 to 59. An API may + # allow the value 60 if it allows leap-seconds. + # Corresponds to the JSON property `seconds` + # @return [Fixnum] + attr_accessor :seconds + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @hours = args[:hours] if args.key?(:hours) + @minutes = args[:minutes] if args.key?(:minutes) + @nanos = args[:nanos] if args.key?(:nanos) + @seconds = args[:seconds] if args.key?(:seconds) + end + end + end + end +end diff --git a/generated/google/apis/dlp_v2beta1/representations.rb b/generated/google/apis/dlp_v2beta1/representations.rb new file mode 100644 index 000000000..f9bac86dc --- /dev/null +++ b/generated/google/apis/dlp_v2beta1/representations.rb @@ -0,0 +1,879 @@ +# 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 DlpV2beta1 + + class GoogleLongrunningCancelOperationRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleLongrunningListOperationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleLongrunningOperation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1BigQueryOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1BigQueryTable + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1CategoryDescription + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1CloudStorageKey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1CloudStorageOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1CloudStoragePath + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1Color + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1ContentItem + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1CreateInspectOperationRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1DatastoreKey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1DatastoreOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1FieldId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1FileSet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1Finding + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1ImageLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1ImageRedactionConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1InfoType + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1InfoTypeDescription + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1InfoTypeLimit + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1InfoTypeStatistics + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1InspectConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1InspectContentRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1InspectContentResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1InspectOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1InspectOperationResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1InspectResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1Key + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1KindExpression + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1ListInfoTypesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1ListInspectFindingsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1ListRootCategoriesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1Location + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1OperationConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1OutputStorageConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1PartitionId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1PathElement + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1Projection + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1PropertyReference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1Range + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1RecordKey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1RedactContentRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1RedactContentResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1ReplaceConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1Row + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1StorageConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1Table + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1TableLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GooglePrivacyDlpV2beta1Value + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleProtobufEmpty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleRpcStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleTypeDate + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleTypeTimeOfDay + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleLongrunningCancelOperationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GoogleLongrunningListOperationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :operations, as: 'operations', class: Google::Apis::DlpV2beta1::GoogleLongrunningOperation, decorator: Google::Apis::DlpV2beta1::GoogleLongrunningOperation::Representation + + end + end + + class GoogleLongrunningOperation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::DlpV2beta1::GoogleRpcStatus, decorator: Google::Apis::DlpV2beta1::GoogleRpcStatus::Representation + + hash :metadata, as: 'metadata' + property :name, as: 'name' + hash :response, as: 'response' + end + end + + class GooglePrivacyDlpV2beta1BigQueryOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :identifying_fields, as: 'identifyingFields', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId::Representation + + property :table_reference, as: 'tableReference', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryTable, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryTable::Representation + + end + end + + class GooglePrivacyDlpV2beta1BigQueryTable + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dataset_id, as: 'datasetId' + property :project_id, as: 'projectId' + property :table_id, as: 'tableId' + end + end + + class GooglePrivacyDlpV2beta1CategoryDescription + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :name, as: 'name' + end + end + + class GooglePrivacyDlpV2beta1CloudStorageKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :file_path, as: 'filePath' + property :start_offset, :numeric_string => true, as: 'startOffset' + end + end + + class GooglePrivacyDlpV2beta1CloudStorageOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :file_set, as: 'fileSet', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FileSet, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FileSet::Representation + + end + end + + class GooglePrivacyDlpV2beta1CloudStoragePath + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :path, as: 'path' + end + end + + class GooglePrivacyDlpV2beta1Color + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :blue, as: 'blue' + property :green, as: 'green' + property :red, as: 'red' + end + end + + class GooglePrivacyDlpV2beta1ContentItem + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data, :base64 => true, as: 'data' + property :table, as: 'table', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Table, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Table::Representation + + property :type, as: 'type' + property :value, as: 'value' + end + end + + class GooglePrivacyDlpV2beta1CreateInspectOperationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :inspect_config, as: 'inspectConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectConfig::Representation + + property :operation_config, as: 'operationConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1OperationConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1OperationConfig::Representation + + property :output_config, as: 'outputConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1OutputStorageConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1OutputStorageConfig::Representation + + property :storage_config, as: 'storageConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1StorageConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1StorageConfig::Representation + + end + end + + class GooglePrivacyDlpV2beta1DatastoreKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :entity_key, as: 'entityKey', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Key, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Key::Representation + + end + end + + class GooglePrivacyDlpV2beta1DatastoreOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KindExpression, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KindExpression::Representation + + property :partition_id, as: 'partitionId', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PartitionId, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PartitionId::Representation + + collection :projection, as: 'projection', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Projection, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Projection::Representation + + end + end + + class GooglePrivacyDlpV2beta1FieldId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :column_name, as: 'columnName' + end + end + + class GooglePrivacyDlpV2beta1FileSet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :url, as: 'url' + end + end + + class GooglePrivacyDlpV2beta1Finding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :info_type, as: 'infoType', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType::Representation + + property :likelihood, as: 'likelihood' + property :location, as: 'location', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Location, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Location::Representation + + property :quote, as: 'quote' + end + end + + class GooglePrivacyDlpV2beta1ImageLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :height, as: 'height' + property :left, as: 'left' + property :top, as: 'top' + property :width, as: 'width' + end + end + + class GooglePrivacyDlpV2beta1ImageRedactionConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :info_type, as: 'infoType', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType::Representation + + property :redact_all_text, as: 'redactAllText' + property :redaction_color, as: 'redactionColor', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Color, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Color::Representation + + end + end + + class GooglePrivacyDlpV2beta1InfoType + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class GooglePrivacyDlpV2beta1InfoTypeDescription + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :categories, as: 'categories', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CategoryDescription, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CategoryDescription::Representation + + property :display_name, as: 'displayName' + property :name, as: 'name' + end + end + + class GooglePrivacyDlpV2beta1InfoTypeLimit + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :info_type, as: 'infoType', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType::Representation + + property :max_findings, as: 'maxFindings' + end + end + + class GooglePrivacyDlpV2beta1InfoTypeStatistics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :count, :numeric_string => true, as: 'count' + property :info_type, as: 'infoType', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType::Representation + + end + end + + class GooglePrivacyDlpV2beta1InspectConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :exclude_types, as: 'excludeTypes' + property :include_quote, as: 'includeQuote' + collection :info_type_limits, as: 'infoTypeLimits', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeLimit, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeLimit::Representation + + collection :info_types, as: 'infoTypes', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType::Representation + + property :max_findings, as: 'maxFindings' + property :min_likelihood, as: 'minLikelihood' + end + end + + class GooglePrivacyDlpV2beta1InspectContentRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :inspect_config, as: 'inspectConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectConfig::Representation + + collection :items, as: 'items', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ContentItem, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ContentItem::Representation + + end + end + + class GooglePrivacyDlpV2beta1InspectContentResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :results, as: 'results', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectResult, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectResult::Representation + + end + end + + class GooglePrivacyDlpV2beta1InspectOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + collection :info_type_stats, as: 'infoTypeStats', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeStatistics, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeStatistics::Representation + + property :processed_bytes, :numeric_string => true, as: 'processedBytes' + property :request_inspect_config, as: 'requestInspectConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectConfig::Representation + + property :request_output_config, as: 'requestOutputConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1OutputStorageConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1OutputStorageConfig::Representation + + property :request_storage_config, as: 'requestStorageConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1StorageConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1StorageConfig::Representation + + property :total_estimated_bytes, :numeric_string => true, as: 'totalEstimatedBytes' + end + end + + class GooglePrivacyDlpV2beta1InspectOperationResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class GooglePrivacyDlpV2beta1InspectResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :findings, as: 'findings', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Finding, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Finding::Representation + + property :findings_truncated, as: 'findingsTruncated' + end + end + + class GooglePrivacyDlpV2beta1Key + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :partition_id, as: 'partitionId', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PartitionId, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PartitionId::Representation + + collection :path, as: 'path', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PathElement, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PathElement::Representation + + end + end + + class GooglePrivacyDlpV2beta1KindExpression + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class GooglePrivacyDlpV2beta1ListInfoTypesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :info_types, as: 'infoTypes', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeDescription, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeDescription::Representation + + end + end + + class GooglePrivacyDlpV2beta1ListInspectFindingsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + property :result, as: 'result', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectResult, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectResult::Representation + + end + end + + class GooglePrivacyDlpV2beta1ListRootCategoriesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :categories, as: 'categories', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CategoryDescription, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CategoryDescription::Representation + + end + end + + class GooglePrivacyDlpV2beta1Location + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :byte_range, as: 'byteRange', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Range, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Range::Representation + + property :codepoint_range, as: 'codepointRange', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Range, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Range::Representation + + property :field_id, as: 'fieldId', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId::Representation + + collection :image_boxes, as: 'imageBoxes', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ImageLocation, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ImageLocation::Representation + + property :record_key, as: 'recordKey', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordKey, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordKey::Representation + + property :table_location, as: 'tableLocation', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1TableLocation, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1TableLocation::Representation + + end + end + + class GooglePrivacyDlpV2beta1OperationConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :max_item_findings, :numeric_string => true, as: 'maxItemFindings' + end + end + + class GooglePrivacyDlpV2beta1OutputStorageConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :storage_path, as: 'storagePath', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CloudStoragePath, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CloudStoragePath::Representation + + property :table, as: 'table', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryTable, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryTable::Representation + + end + end + + class GooglePrivacyDlpV2beta1PartitionId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :namespace_id, as: 'namespaceId' + property :project_id, as: 'projectId' + end + end + + class GooglePrivacyDlpV2beta1PathElement + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, :numeric_string => true, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + end + end + + class GooglePrivacyDlpV2beta1Projection + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :property, as: 'property', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PropertyReference, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PropertyReference::Representation + + end + end + + class GooglePrivacyDlpV2beta1PropertyReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class GooglePrivacyDlpV2beta1Range + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end, :numeric_string => true, as: 'end' + property :start, :numeric_string => true, as: 'start' + end + end + + class GooglePrivacyDlpV2beta1RecordKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cloud_storage_key, as: 'cloudStorageKey', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CloudStorageKey, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CloudStorageKey::Representation + + property :datastore_key, as: 'datastoreKey', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DatastoreKey, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DatastoreKey::Representation + + end + end + + class GooglePrivacyDlpV2beta1RedactContentRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :image_redaction_configs, as: 'imageRedactionConfigs', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ImageRedactionConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ImageRedactionConfig::Representation + + property :inspect_config, as: 'inspectConfig', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectConfig::Representation + + collection :items, as: 'items', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ContentItem, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ContentItem::Representation + + collection :replace_configs, as: 'replaceConfigs', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ReplaceConfig, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ReplaceConfig::Representation + + end + end + + class GooglePrivacyDlpV2beta1RedactContentResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :items, as: 'items', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ContentItem, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ContentItem::Representation + + end + end + + class GooglePrivacyDlpV2beta1ReplaceConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :info_type, as: 'infoType', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType::Representation + + property :replace_with, as: 'replaceWith' + end + end + + class GooglePrivacyDlpV2beta1Row + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :values, as: 'values', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value::Representation + + end + end + + class GooglePrivacyDlpV2beta1StorageConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :big_query_options, as: 'bigQueryOptions', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryOptions, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryOptions::Representation + + property :cloud_storage_options, as: 'cloudStorageOptions', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CloudStorageOptions, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CloudStorageOptions::Representation + + property :datastore_options, as: 'datastoreOptions', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DatastoreOptions, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DatastoreOptions::Representation + + end + end + + class GooglePrivacyDlpV2beta1Table + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :headers, as: 'headers', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId::Representation + + collection :rows, as: 'rows', class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Row, decorator: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Row::Representation + + end + end + + class GooglePrivacyDlpV2beta1TableLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :row_index, :numeric_string => true, as: 'rowIndex' + end + end + + class GooglePrivacyDlpV2beta1Value + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :boolean_value, as: 'booleanValue' + property :date_value, as: 'dateValue', class: Google::Apis::DlpV2beta1::GoogleTypeDate, decorator: Google::Apis::DlpV2beta1::GoogleTypeDate::Representation + + property :float_value, as: 'floatValue' + property :integer_value, :numeric_string => true, as: 'integerValue' + property :string_value, as: 'stringValue' + property :time_value, as: 'timeValue', class: Google::Apis::DlpV2beta1::GoogleTypeTimeOfDay, decorator: Google::Apis::DlpV2beta1::GoogleTypeTimeOfDay::Representation + + property :timestamp_value, as: 'timestampValue' + end + end + + class GoogleProtobufEmpty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GoogleRpcStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :details, as: 'details' + property :message, as: 'message' + end + end + + class GoogleTypeDate + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :day, as: 'day' + property :month, as: 'month' + property :year, as: 'year' + end + end + + class GoogleTypeTimeOfDay + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :hours, as: 'hours' + property :minutes, as: 'minutes' + property :nanos, as: 'nanos' + property :seconds, as: 'seconds' + end + end + end + end +end diff --git a/generated/google/apis/dlp_v2beta1/service.rb b/generated/google/apis/dlp_v2beta1/service.rb new file mode 100644 index 000000000..3d3c0212c --- /dev/null +++ b/generated/google/apis/dlp_v2beta1/service.rb @@ -0,0 +1,406 @@ +# 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 DlpV2beta1 + # DLP API + # + # The Google Data Loss Prevention API provides methods for detection of privacy- + # sensitive fragments in text, images, and Google Cloud Platform storage + # repositories. + # + # @example + # require 'google/apis/dlp_v2beta1' + # + # Dlp = Google::Apis::DlpV2beta1 # Alias the module + # service = Dlp::DLPService.new + # + # @see https://cloud.google.com/dlp/docs/ + class DLPService < 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://dlp.googleapis.com/', '') + @batch_path = 'batch' + end + + # Finds potentially sensitive info in a list of strings. + # This method has limits on input size, processing time, and output size. + # @param [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectContentRequest] google_privacy_dlp_v2beta1_inspect_content_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::DlpV2beta1::GooglePrivacyDlpV2beta1InspectContentResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectContentResponse] + # + # @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 inspect_content(google_privacy_dlp_v2beta1_inspect_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/content:inspect', options) + command.request_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectContentRequest::Representation + command.request_object = google_privacy_dlp_v2beta1_inspect_content_request_object + command.response_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectContentResponse::Representation + command.response_class = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectContentResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Redacts potentially sensitive info from a list of strings. + # This method has limits on input size, processing time, and output size. + # @param [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RedactContentRequest] google_privacy_dlp_v2beta1_redact_content_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::DlpV2beta1::GooglePrivacyDlpV2beta1RedactContentResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RedactContentResponse] + # + # @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 redact_content(google_privacy_dlp_v2beta1_redact_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/content:redact', options) + command.request_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RedactContentRequest::Representation + command.request_object = google_privacy_dlp_v2beta1_redact_content_request_object + command.response_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RedactContentResponse::Representation + command.response_class = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RedactContentResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Cancels an operation. Use the get method 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 [Google::Apis::DlpV2beta1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_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::DlpV2beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta1::GoogleProtobufEmpty] + # + # @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_inspect_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/{+name}:cancel', options) + command.request_representation = Google::Apis::DlpV2beta1::GoogleLongrunningCancelOperationRequest::Representation + command.request_object = google_longrunning_cancel_operation_request_object + command.response_representation = Google::Apis::DlpV2beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DlpV2beta1::GoogleProtobufEmpty + 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 + + # Schedules a job scanning content in a Google Cloud Platform data + # repository. + # @param [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CreateInspectOperationRequest] google_privacy_dlp_v2beta1_create_inspect_operation_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::DlpV2beta1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta1::GoogleLongrunningOperation] + # + # @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_inspect_operation(google_privacy_dlp_v2beta1_create_inspect_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/inspect/operations', options) + command.request_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CreateInspectOperationRequest::Representation + command.request_object = google_privacy_dlp_v2beta1_create_inspect_operation_request_object + command.response_representation = Google::Apis::DlpV2beta1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DlpV2beta1::GoogleLongrunningOperation + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # This method is not supported and the server returns `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::DlpV2beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta1::GoogleProtobufEmpty] + # + # @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_inspect_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2beta1/{+name}', options) + command.response_representation = Google::Apis::DlpV2beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DlpV2beta1::GoogleProtobufEmpty + 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 + + # 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::DlpV2beta1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta1::GoogleLongrunningOperation] + # + # @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_inspect_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/{+name}', options) + command.response_representation = Google::Apis::DlpV2beta1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DlpV2beta1::GoogleLongrunningOperation + 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 + + # Fetch the list of long running operations. + # @param [String] name + # The name of the operation's parent resource. + # @param [String] filter + # This parameter supports filtering by done, ie done=true or done=false. + # @param [Fixnum] page_size + # The list page size. The max allowed value is 256 and default is 100. + # @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::DlpV2beta1::GoogleLongrunningListOperationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta1::GoogleLongrunningListOperationsResponse] + # + # @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_inspect_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/{+name}', options) + command.response_representation = Google::Apis::DlpV2beta1::GoogleLongrunningListOperationsResponse::Representation + command.response_class = Google::Apis::DlpV2beta1::GoogleLongrunningListOperationsResponse + 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 + + # Returns list of results for given inspect operation result set id. + # @param [String] name + # Identifier of the results set returned as metadata of + # the longrunning operation created by a call to CreateInspectOperation. + # Should be in the format of `inspect/results/`id``. + # @param [String] filter + # Restricts findings to items that match. Supports info_type and likelihood. + #

Examples:
+ #

  • info_type=EMAIL_ADDRESS + #
  • info_type=PHONE_NUMBER,EMAIL_ADDRESS + #
  • likelihood=VERY_LIKELY + #
  • likelihood=VERY_LIKELY,LIKELY + #
  • info_type=EMAIL_ADDRESS,likelihood=VERY_LIKELY,LIKELY + # @param [Fixnum] page_size + # Maximum number of results to return. + # If 0, the implementation selects a reasonable value. + # @param [String] page_token + # The value returned by the last `ListInspectFindingsResponse`; indicates + # that this is a continuation of a prior `ListInspectFindings` call, and that + # the system should return the next page of data. + # @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::DlpV2beta1::GooglePrivacyDlpV2beta1ListInspectFindingsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListInspectFindingsResponse] + # + # @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_inspect_result_findings(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/{+name}/findings', options) + command.response_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListInspectFindingsResponse::Representation + command.response_class = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListInspectFindingsResponse + 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 + + # Returns the list of root categories of sensitive information. + # @param [String] language_code + # Optional language code for localized friendly category names. + # If omitted or if localized strings are not available, + # en-US strings will be returned. + # @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::DlpV2beta1::GooglePrivacyDlpV2beta1ListRootCategoriesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListRootCategoriesResponse] + # + # @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_root_categories(language_code: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/rootCategories', options) + command.response_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListRootCategoriesResponse::Representation + command.response_class = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListRootCategoriesResponse + command.query['languageCode'] = language_code unless language_code.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns sensitive information types for given category. + # @param [String] category + # Category name as returned by ListRootCategories. + # @param [String] language_code + # Optional BCP-47 language code for localized info type friendly + # names. If omitted, or if localized strings are not available, + # en-US strings will be returned. + # @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::DlpV2beta1::GooglePrivacyDlpV2beta1ListInfoTypesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListInfoTypesResponse] + # + # @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_root_category_info_types(category, language_code: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/rootCategories/{+category}/infoTypes', options) + command.response_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListInfoTypesResponse::Representation + command.response_class = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListInfoTypesResponse + command.params['category'] = category unless category.nil? + command.query['languageCode'] = language_code unless language_code.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 + + 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/dns_v1.rb b/generated/google/apis/dns_v1.rb index e1bc29439..671313c41 100644 --- a/generated/google/apis/dns_v1.rb +++ b/generated/google/apis/dns_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/cloud-dns module DnsV1 VERSION = 'V1' - REVISION = '20170630' + REVISION = '20170419' # 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/doubleclicksearch_v2.rb b/generated/google/apis/doubleclicksearch_v2.rb index b36eca203..adcdbf7f9 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 = '20170705' + REVISION = '20170419' # View and manage your advertising data in DoubleClick Search AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch' diff --git a/generated/google/apis/drive_v3.rb b/generated/google/apis/drive_v3.rb index d960b079b..b6a016b08 100644 --- a/generated/google/apis/drive_v3.rb +++ b/generated/google/apis/drive_v3.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/drive/ module DriveV3 VERSION = 'V3' - REVISION = '20170623' + REVISION = '20170616' # View and manage the files in your Google Drive AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/firebasedynamiclinks_v1.rb b/generated/google/apis/firebasedynamiclinks_v1.rb index 65228577a..118678da3 100644 --- a/generated/google/apis/firebasedynamiclinks_v1.rb +++ b/generated/google/apis/firebasedynamiclinks_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://firebase.google.com/docs/dynamic-links/ module FirebasedynamiclinksV1 VERSION = 'V1' - REVISION = '20170703' + REVISION = '20170809' # View and administer all your Firebase data and settings AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase' diff --git a/generated/google/apis/firebasedynamiclinks_v1/classes.rb b/generated/google/apis/firebasedynamiclinks_v1/classes.rb index 09a73a4ce..591febd8b 100644 --- a/generated/google/apis/firebasedynamiclinks_v1/classes.rb +++ b/generated/google/apis/firebasedynamiclinks_v1/classes.rb @@ -22,20 +22,120 @@ module Google module Apis module FirebasedynamiclinksV1 + # Tracking parameters supported by Dynamic Link. + class AnalyticsInfo + include Google::Apis::Core::Hashable + + # Parameters for Google Play Campaign Measurements. + # [Learn more](https://developers.google.com/analytics/devguides/collection/ + # android/v4/campaigns#campaign-params) + # Corresponds to the JSON property `googlePlayAnalytics` + # @return [Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics] + attr_accessor :google_play_analytics + + # Parameters for iTunes Connect App Analytics. + # Corresponds to the JSON property `itunesConnectAnalytics` + # @return [Google::Apis::FirebasedynamiclinksV1::ITunesConnectAnalytics] + attr_accessor :itunes_connect_analytics + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @google_play_analytics = args[:google_play_analytics] if args.key?(:google_play_analytics) + @itunes_connect_analytics = args[:itunes_connect_analytics] if args.key?(:itunes_connect_analytics) + end + end + + # Android related attributes to the Dynamic Link. + class AndroidInfo + include Google::Apis::Core::Hashable + + # Link to open on Android if the app is not installed. + # Corresponds to the JSON property `androidFallbackLink` + # @return [String] + attr_accessor :android_fallback_link + + # If specified, this overrides the ‘link’ parameter on Android. + # Corresponds to the JSON property `androidLink` + # @return [String] + attr_accessor :android_link + + # Minimum version code for the Android app. If the installed app’s version + # code is lower, then the user is taken to the Play Store. + # Corresponds to the JSON property `androidMinPackageVersionCode` + # @return [String] + attr_accessor :android_min_package_version_code + + # Android package name of the app. + # Corresponds to the JSON property `androidPackageName` + # @return [String] + attr_accessor :android_package_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @android_fallback_link = args[:android_fallback_link] if args.key?(:android_fallback_link) + @android_link = args[:android_link] if args.key?(:android_link) + @android_min_package_version_code = args[:android_min_package_version_code] if args.key?(:android_min_package_version_code) + @android_package_name = args[:android_package_name] if args.key?(:android_package_name) + end + end + + # Request to create a short Dynamic Link. + class CreateShortDynamicLinkRequest + include Google::Apis::Core::Hashable + + # Information about a Dynamic Link. + # Corresponds to the JSON property `dynamicLinkInfo` + # @return [Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo] + attr_accessor :dynamic_link_info + + # Full long Dynamic Link URL with desired query parameters specified. + # For example, + # "https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample", + # [Learn more](https://firebase.google.com/docs/dynamic-links/android#create-a- + # dynamic-link-programmatically). + # Corresponds to the JSON property `longDynamicLink` + # @return [String] + attr_accessor :long_dynamic_link + + # Short Dynamic Link suffix. + # Corresponds to the JSON property `suffix` + # @return [Google::Apis::FirebasedynamiclinksV1::Suffix] + attr_accessor :suffix + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dynamic_link_info = args[:dynamic_link_info] if args.key?(:dynamic_link_info) + @long_dynamic_link = args[:long_dynamic_link] if args.key?(:long_dynamic_link) + @suffix = args[:suffix] if args.key?(:suffix) + end + end + # Response to create a short Dynamic Link. class CreateShortDynamicLinkResponse include Google::Apis::Core::Hashable - # Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz - # Corresponds to the JSON property `shortLink` - # @return [String] - attr_accessor :short_link - # Preivew link to show the link flow chart. # Corresponds to the JSON property `previewLink` # @return [String] attr_accessor :preview_link + # Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz + # Corresponds to the JSON property `shortLink` + # @return [String] + attr_accessor :short_link + # Information about potential warnings on link creation. # Corresponds to the JSON property `warning` # @return [Array] @@ -47,20 +147,30 @@ module Google # Update properties of this object def update!(**args) - @short_link = args[:short_link] if args.key?(:short_link) @preview_link = args[:preview_link] if args.key?(:preview_link) + @short_link = args[:short_link] if args.key?(:short_link) @warning = args[:warning] if args.key?(:warning) end end - # Short Dynamic Link suffix. - class Suffix + # Dynamic Link event stat. + class DynamicLinkEventStat include Google::Apis::Core::Hashable - # Suffix option. - # Corresponds to the JSON property `option` + # The number of times this event occurred. + # Corresponds to the JSON property `count` + # @return [Fixnum] + attr_accessor :count + + # Link event. + # Corresponds to the JSON property `event` # @return [String] - attr_accessor :option + attr_accessor :event + + # Requested platform. + # Corresponds to the JSON property `platform` + # @return [String] + attr_accessor :platform def initialize(**args) update!(**args) @@ -68,64 +178,9 @@ module Google # Update properties of this object def update!(**args) - @option = args[:option] if args.key?(:option) - end - end - - # Parameters for Google Play Campaign Measurements. - # [Learn more](https://developers.google.com/analytics/devguides/collection/ - # android/v4/campaigns#campaign-params) - class GooglePlayAnalytics - include Google::Apis::Core::Hashable - - # Campaign source; used to identify a search engine, newsletter, or other - # source. - # Corresponds to the JSON property `utmSource` - # @return [String] - attr_accessor :utm_source - - # [AdWords autotagging parameter](https://support.google.com/analytics/answer/ - # 1033981?hl=en); - # used to measure Google AdWords ads. This value is generated dynamically - # and should never be modified. - # Corresponds to the JSON property `gclid` - # @return [String] - attr_accessor :gclid - - # Campaign name; used for keyword analysis to identify a specific product - # promotion or strategic campaign. - # Corresponds to the JSON property `utmCampaign` - # @return [String] - attr_accessor :utm_campaign - - # Campaign content; used for A/B testing and content-targeted ads to - # differentiate ads or links that point to the same URL. - # Corresponds to the JSON property `utmContent` - # @return [String] - attr_accessor :utm_content - - # Campaign medium; used to identify a medium such as email or cost-per-click. - # Corresponds to the JSON property `utmMedium` - # @return [String] - attr_accessor :utm_medium - - # Campaign term; used with paid search to supply the keywords for ads. - # Corresponds to the JSON property `utmTerm` - # @return [String] - attr_accessor :utm_term - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @utm_source = args[:utm_source] if args.key?(:utm_source) - @gclid = args[:gclid] if args.key?(:gclid) - @utm_campaign = args[:utm_campaign] if args.key?(:utm_campaign) - @utm_content = args[:utm_content] if args.key?(:utm_content) - @utm_medium = args[:utm_medium] if args.key?(:utm_medium) - @utm_term = args[:utm_term] if args.key?(:utm_term) + @count = args[:count] if args.key?(:count) + @event = args[:event] if args.key?(:event) + @platform = args[:platform] if args.key?(:platform) end end @@ -133,6 +188,29 @@ module Google class DynamicLinkInfo include Google::Apis::Core::Hashable + # Tracking parameters supported by Dynamic Link. + # Corresponds to the JSON property `analyticsInfo` + # @return [Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo] + attr_accessor :analytics_info + + # Android related attributes to the Dynamic Link. + # Corresponds to the JSON property `androidInfo` + # @return [Google::Apis::FirebasedynamiclinksV1::AndroidInfo] + attr_accessor :android_info + + # Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl + # [Learn more](https://firebase.google.com/docs/dynamic-links/android/receive) + # on how to set up Dynamic Link domain associated with your Firebase project. + # Required. + # Corresponds to the JSON property `dynamicLinkDomain` + # @return [String] + attr_accessor :dynamic_link_domain + + # iOS related attributes to the Dynamic Link.. + # Corresponds to the JSON property `iosInfo` + # @return [Google::Apis::FirebasedynamiclinksV1::IosInfo] + attr_accessor :ios_info + # The link your app will open, You can specify any URL your app can handle. # This link must be a well-formatted URL, be properly URL-encoded, and use # the HTTP or HTTPS scheme. See 'link' parameters in the @@ -143,10 +221,10 @@ module Google # @return [String] attr_accessor :link - # iOS related attributes to the Dynamic Link.. - # Corresponds to the JSON property `iosInfo` - # @return [Google::Apis::FirebasedynamiclinksV1::IosInfo] - attr_accessor :ios_info + # Information of navigation behavior. + # Corresponds to the JSON property `navigationInfo` + # @return [Google::Apis::FirebasedynamiclinksV1::NavigationInfo] + attr_accessor :navigation_info # Parameters for social meta tag params. # Used to set meta tag data for link previews on social sites. @@ -154,113 +232,19 @@ module Google # @return [Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo] attr_accessor :social_meta_tag_info - # Android related attributes to the Dynamic Link. - # Corresponds to the JSON property `androidInfo` - # @return [Google::Apis::FirebasedynamiclinksV1::AndroidInfo] - attr_accessor :android_info - - # Information of navigation behavior. - # Corresponds to the JSON property `navigationInfo` - # @return [Google::Apis::FirebasedynamiclinksV1::NavigationInfo] - attr_accessor :navigation_info - - # Tracking parameters supported by Dynamic Link. - # Corresponds to the JSON property `analyticsInfo` - # @return [Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo] - attr_accessor :analytics_info - - # Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl - # [Learn more](https://firebase.google.com/docs/dynamic-links/android/receive) - # on how to set up Dynamic Link domain associated with your Firebase project. - # Required. - # Corresponds to the JSON property `dynamicLinkDomain` - # @return [String] - attr_accessor :dynamic_link_domain - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @link = args[:link] if args.key?(:link) - @ios_info = args[:ios_info] if args.key?(:ios_info) - @social_meta_tag_info = args[:social_meta_tag_info] if args.key?(:social_meta_tag_info) - @android_info = args[:android_info] if args.key?(:android_info) - @navigation_info = args[:navigation_info] if args.key?(:navigation_info) @analytics_info = args[:analytics_info] if args.key?(:analytics_info) + @android_info = args[:android_info] if args.key?(:android_info) @dynamic_link_domain = args[:dynamic_link_domain] if args.key?(:dynamic_link_domain) - end - end - - # Parameters for iTunes Connect App Analytics. - class ITunesConnectAnalytics - include Google::Apis::Core::Hashable - - # Affiliate token used to create affiliate-coded links. - # Corresponds to the JSON property `at` - # @return [String] - attr_accessor :at - - # iTune media types, including music, podcasts, audiobooks and so on. - # Corresponds to the JSON property `mt` - # @return [String] - attr_accessor :mt - - # Campaign text that developers can optionally add to any link in order to - # track sales from a specific marketing campaign. - # Corresponds to the JSON property `ct` - # @return [String] - attr_accessor :ct - - # Provider token that enables analytics for Dynamic Links from within iTunes - # Connect. - # Corresponds to the JSON property `pt` - # @return [String] - attr_accessor :pt - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @at = args[:at] if args.key?(:at) - @mt = args[:mt] if args.key?(:mt) - @ct = args[:ct] if args.key?(:ct) - @pt = args[:pt] if args.key?(:pt) - end - end - - # Parameters for social meta tag params. - # Used to set meta tag data for link previews on social sites. - class SocialMetaTagInfo - include Google::Apis::Core::Hashable - - # An image url string. Optional. - # Corresponds to the JSON property `socialImageLink` - # @return [String] - attr_accessor :social_image_link - - # Title to be displayed. Optional. - # Corresponds to the JSON property `socialTitle` - # @return [String] - attr_accessor :social_title - - # A short description of the link. Optional. - # Corresponds to the JSON property `socialDescription` - # @return [String] - attr_accessor :social_description - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @social_image_link = args[:social_image_link] if args.key?(:social_image_link) - @social_title = args[:social_title] if args.key?(:social_title) - @social_description = args[:social_description] if args.key?(:social_description) + @ios_info = args[:ios_info] if args.key?(:ios_info) + @link = args[:link] if args.key?(:link) + @navigation_info = args[:navigation_info] if args.key?(:navigation_info) + @social_meta_tag_info = args[:social_meta_tag_info] if args.key?(:social_meta_tag_info) end end @@ -287,51 +271,74 @@ module Google class DynamicLinkWarning include Google::Apis::Core::Hashable - # The warning message to help developers improve their requests. - # Corresponds to the JSON property `warningMessage` - # @return [String] - attr_accessor :warning_message - # The warning code. # Corresponds to the JSON property `warningCode` # @return [String] attr_accessor :warning_code + # The document describing the warning, and helps resolve. + # Corresponds to the JSON property `warningDocumentLink` + # @return [String] + attr_accessor :warning_document_link + + # The warning message to help developers improve their requests. + # Corresponds to the JSON property `warningMessage` + # @return [String] + attr_accessor :warning_message + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @warning_message = args[:warning_message] if args.key?(:warning_message) @warning_code = args[:warning_code] if args.key?(:warning_code) + @warning_document_link = args[:warning_document_link] if args.key?(:warning_document_link) + @warning_message = args[:warning_message] if args.key?(:warning_message) end end - # Android related attributes to the Dynamic Link. - class AndroidInfo + # Parameters for Google Play Campaign Measurements. + # [Learn more](https://developers.google.com/analytics/devguides/collection/ + # android/v4/campaigns#campaign-params) + class GooglePlayAnalytics include Google::Apis::Core::Hashable - # Link to open on Android if the app is not installed. - # Corresponds to the JSON property `androidFallbackLink` + # [AdWords autotagging parameter](https://support.google.com/analytics/answer/ + # 1033981?hl=en); + # used to measure Google AdWords ads. This value is generated dynamically + # and should never be modified. + # Corresponds to the JSON property `gclid` # @return [String] - attr_accessor :android_fallback_link + attr_accessor :gclid - # Android package name of the app. - # Corresponds to the JSON property `androidPackageName` + # Campaign name; used for keyword analysis to identify a specific product + # promotion or strategic campaign. + # Corresponds to the JSON property `utmCampaign` # @return [String] - attr_accessor :android_package_name + attr_accessor :utm_campaign - # Minimum version code for the Android app. If the installed app’s version - # code is lower, then the user is taken to the Play Store. - # Corresponds to the JSON property `androidMinPackageVersionCode` + # Campaign content; used for A/B testing and content-targeted ads to + # differentiate ads or links that point to the same URL. + # Corresponds to the JSON property `utmContent` # @return [String] - attr_accessor :android_min_package_version_code + attr_accessor :utm_content - # If specified, this overrides the ‘link’ parameter on Android. - # Corresponds to the JSON property `androidLink` + # Campaign medium; used to identify a medium such as email or cost-per-click. + # Corresponds to the JSON property `utmMedium` # @return [String] - attr_accessor :android_link + attr_accessor :utm_medium + + # Campaign source; used to identify a search engine, newsletter, or other + # source. + # Corresponds to the JSON property `utmSource` + # @return [String] + attr_accessor :utm_source + + # Campaign term; used with paid search to supply the keywords for ads. + # Corresponds to the JSON property `utmTerm` + # @return [String] + attr_accessor :utm_term def initialize(**args) update!(**args) @@ -339,10 +346,102 @@ module Google # Update properties of this object def update!(**args) - @android_fallback_link = args[:android_fallback_link] if args.key?(:android_fallback_link) - @android_package_name = args[:android_package_name] if args.key?(:android_package_name) - @android_min_package_version_code = args[:android_min_package_version_code] if args.key?(:android_min_package_version_code) - @android_link = args[:android_link] if args.key?(:android_link) + @gclid = args[:gclid] if args.key?(:gclid) + @utm_campaign = args[:utm_campaign] if args.key?(:utm_campaign) + @utm_content = args[:utm_content] if args.key?(:utm_content) + @utm_medium = args[:utm_medium] if args.key?(:utm_medium) + @utm_source = args[:utm_source] if args.key?(:utm_source) + @utm_term = args[:utm_term] if args.key?(:utm_term) + end + end + + # Parameters for iTunes Connect App Analytics. + class ITunesConnectAnalytics + include Google::Apis::Core::Hashable + + # Affiliate token used to create affiliate-coded links. + # Corresponds to the JSON property `at` + # @return [String] + attr_accessor :at + + # Campaign text that developers can optionally add to any link in order to + # track sales from a specific marketing campaign. + # Corresponds to the JSON property `ct` + # @return [String] + attr_accessor :ct + + # iTune media types, including music, podcasts, audiobooks and so on. + # Corresponds to the JSON property `mt` + # @return [String] + attr_accessor :mt + + # Provider token that enables analytics for Dynamic Links from within iTunes + # Connect. + # Corresponds to the JSON property `pt` + # @return [String] + attr_accessor :pt + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @at = args[:at] if args.key?(:at) + @ct = args[:ct] if args.key?(:ct) + @mt = args[:mt] if args.key?(:mt) + @pt = args[:pt] if args.key?(:pt) + end + end + + # iOS related attributes to the Dynamic Link.. + class IosInfo + include Google::Apis::Core::Hashable + + # iOS App Store ID. + # Corresponds to the JSON property `iosAppStoreId` + # @return [String] + attr_accessor :ios_app_store_id + + # iOS bundle ID of the app. + # Corresponds to the JSON property `iosBundleId` + # @return [String] + attr_accessor :ios_bundle_id + + # Custom (destination) scheme to use for iOS. By default, we’ll use the + # bundle ID as the custom scheme. Developer can override this behavior using + # this param. + # Corresponds to the JSON property `iosCustomScheme` + # @return [String] + attr_accessor :ios_custom_scheme + + # Link to open on iOS if the app is not installed. + # Corresponds to the JSON property `iosFallbackLink` + # @return [String] + attr_accessor :ios_fallback_link + + # iPad bundle ID of the app. + # Corresponds to the JSON property `iosIpadBundleId` + # @return [String] + attr_accessor :ios_ipad_bundle_id + + # If specified, this overrides the ios_fallback_link value on iPads. + # Corresponds to the JSON property `iosIpadFallbackLink` + # @return [String] + attr_accessor :ios_ipad_fallback_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ios_app_store_id = args[:ios_app_store_id] if args.key?(:ios_app_store_id) + @ios_bundle_id = args[:ios_bundle_id] if args.key?(:ios_bundle_id) + @ios_custom_scheme = args[:ios_custom_scheme] if args.key?(:ios_custom_scheme) + @ios_fallback_link = args[:ios_fallback_link] if args.key?(:ios_fallback_link) + @ios_ipad_bundle_id = args[:ios_ipad_bundle_id] if args.key?(:ios_ipad_bundle_id) + @ios_ipad_fallback_link = args[:ios_ipad_fallback_link] if args.key?(:ios_ipad_fallback_link) end end @@ -367,41 +466,25 @@ module Google end end - # iOS related attributes to the Dynamic Link.. - class IosInfo + # Parameters for social meta tag params. + # Used to set meta tag data for link previews on social sites. + class SocialMetaTagInfo include Google::Apis::Core::Hashable - # Link to open on iOS if the app is not installed. - # Corresponds to the JSON property `iosFallbackLink` + # A short description of the link. Optional. + # Corresponds to the JSON property `socialDescription` # @return [String] - attr_accessor :ios_fallback_link + attr_accessor :social_description - # iOS App Store ID. - # Corresponds to the JSON property `iosAppStoreId` + # An image url string. Optional. + # Corresponds to the JSON property `socialImageLink` # @return [String] - attr_accessor :ios_app_store_id + attr_accessor :social_image_link - # If specified, this overrides the ios_fallback_link value on iPads. - # Corresponds to the JSON property `iosIpadFallbackLink` + # Title to be displayed. Optional. + # Corresponds to the JSON property `socialTitle` # @return [String] - attr_accessor :ios_ipad_fallback_link - - # iPad bundle ID of the app. - # Corresponds to the JSON property `iosIpadBundleId` - # @return [String] - attr_accessor :ios_ipad_bundle_id - - # Custom (destination) scheme to use for iOS. By default, we’ll use the - # bundle ID as the custom scheme. Developer can override this behavior using - # this param. - # Corresponds to the JSON property `iosCustomScheme` - # @return [String] - attr_accessor :ios_custom_scheme - - # iOS bundle ID of the app. - # Corresponds to the JSON property `iosBundleId` - # @return [String] - attr_accessor :ios_bundle_id + attr_accessor :social_title def initialize(**args) update!(**args) @@ -409,30 +492,20 @@ module Google # Update properties of this object def update!(**args) - @ios_fallback_link = args[:ios_fallback_link] if args.key?(:ios_fallback_link) - @ios_app_store_id = args[:ios_app_store_id] if args.key?(:ios_app_store_id) - @ios_ipad_fallback_link = args[:ios_ipad_fallback_link] if args.key?(:ios_ipad_fallback_link) - @ios_ipad_bundle_id = args[:ios_ipad_bundle_id] if args.key?(:ios_ipad_bundle_id) - @ios_custom_scheme = args[:ios_custom_scheme] if args.key?(:ios_custom_scheme) - @ios_bundle_id = args[:ios_bundle_id] if args.key?(:ios_bundle_id) + @social_description = args[:social_description] if args.key?(:social_description) + @social_image_link = args[:social_image_link] if args.key?(:social_image_link) + @social_title = args[:social_title] if args.key?(:social_title) end end - # Tracking parameters supported by Dynamic Link. - class AnalyticsInfo + # Short Dynamic Link suffix. + class Suffix include Google::Apis::Core::Hashable - # Parameters for iTunes Connect App Analytics. - # Corresponds to the JSON property `itunesConnectAnalytics` - # @return [Google::Apis::FirebasedynamiclinksV1::ITunesConnectAnalytics] - attr_accessor :itunes_connect_analytics - - # Parameters for Google Play Campaign Measurements. - # [Learn more](https://developers.google.com/analytics/devguides/collection/ - # android/v4/campaigns#campaign-params) - # Corresponds to the JSON property `googlePlayAnalytics` - # @return [Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics] - attr_accessor :google_play_analytics + # Suffix option. + # Corresponds to the JSON property `option` + # @return [String] + attr_accessor :option def initialize(**args) update!(**args) @@ -440,74 +513,7 @@ module Google # Update properties of this object def update!(**args) - @itunes_connect_analytics = args[:itunes_connect_analytics] if args.key?(:itunes_connect_analytics) - @google_play_analytics = args[:google_play_analytics] if args.key?(:google_play_analytics) - end - end - - # Request to create a short Dynamic Link. - class CreateShortDynamicLinkRequest - include Google::Apis::Core::Hashable - - # Full long Dynamic Link URL with desired query parameters specified. - # For example, - # "https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample", - # [Learn more](https://firebase.google.com/docs/dynamic-links/android#create-a- - # dynamic-link-programmatically). - # Corresponds to the JSON property `longDynamicLink` - # @return [String] - attr_accessor :long_dynamic_link - - # Short Dynamic Link suffix. - # Corresponds to the JSON property `suffix` - # @return [Google::Apis::FirebasedynamiclinksV1::Suffix] - attr_accessor :suffix - - # Information about a Dynamic Link. - # Corresponds to the JSON property `dynamicLinkInfo` - # @return [Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo] - attr_accessor :dynamic_link_info - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @long_dynamic_link = args[:long_dynamic_link] if args.key?(:long_dynamic_link) - @suffix = args[:suffix] if args.key?(:suffix) - @dynamic_link_info = args[:dynamic_link_info] if args.key?(:dynamic_link_info) - end - end - - # Dynamic Link event stat. - class DynamicLinkEventStat - include Google::Apis::Core::Hashable - - # Requested platform. - # Corresponds to the JSON property `platform` - # @return [String] - attr_accessor :platform - - # The number of times this event occurred. - # Corresponds to the JSON property `count` - # @return [Fixnum] - attr_accessor :count - - # Link event. - # Corresponds to the JSON property `event` - # @return [String] - attr_accessor :event - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @platform = args[:platform] if args.key?(:platform) - @count = args[:count] if args.key?(:count) - @event = args[:event] if args.key?(:event) + @option = args[:option] if args.key?(:option) end end end diff --git a/generated/google/apis/firebasedynamiclinks_v1/representations.rb b/generated/google/apis/firebasedynamiclinks_v1/representations.rb index 9117715c3..eb269aa25 100644 --- a/generated/google/apis/firebasedynamiclinks_v1/representations.rb +++ b/generated/google/apis/firebasedynamiclinks_v1/representations.rb @@ -22,19 +22,31 @@ module Google module Apis module FirebasedynamiclinksV1 + class AnalyticsInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AndroidInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateShortDynamicLinkRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CreateShortDynamicLinkResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Suffix - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GooglePlayAnalytics + class DynamicLinkEventStat class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -46,18 +58,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ITunesConnectAnalytics - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SocialMetaTagInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class DynamicLinkStats class Representation < Google::Apis::Core::JsonRepresentation; end @@ -70,13 +70,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class AndroidInfo + class GooglePlayAnalytics class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class NavigationInfo + class ITunesConnectAnalytics class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -88,87 +88,89 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class AnalyticsInfo + class NavigationInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class SocialMetaTagInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Suffix + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AnalyticsInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :google_play_analytics, as: 'googlePlayAnalytics', class: Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics, decorator: Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics::Representation + + property :itunes_connect_analytics, as: 'itunesConnectAnalytics', class: Google::Apis::FirebasedynamiclinksV1::ITunesConnectAnalytics, decorator: Google::Apis::FirebasedynamiclinksV1::ITunesConnectAnalytics::Representation + + end + end + + class AndroidInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :android_fallback_link, as: 'androidFallbackLink' + property :android_link, as: 'androidLink' + property :android_min_package_version_code, as: 'androidMinPackageVersionCode' + property :android_package_name, as: 'androidPackageName' + end + end + class CreateShortDynamicLinkRequest - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dynamic_link_info, as: 'dynamicLinkInfo', class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo, decorator: Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo::Representation - include Google::Apis::Core::JsonObjectSupport - end + property :long_dynamic_link, as: 'longDynamicLink' + property :suffix, as: 'suffix', class: Google::Apis::FirebasedynamiclinksV1::Suffix, decorator: Google::Apis::FirebasedynamiclinksV1::Suffix::Representation - class DynamicLinkEventStat - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + end end class CreateShortDynamicLinkResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :short_link, as: 'shortLink' property :preview_link, as: 'previewLink' + property :short_link, as: 'shortLink' collection :warning, as: 'warning', class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning, decorator: Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning::Representation end end - class Suffix + class DynamicLinkEventStat # @private class Representation < Google::Apis::Core::JsonRepresentation - property :option, as: 'option' - end - end - - class GooglePlayAnalytics - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :utm_source, as: 'utmSource' - property :gclid, as: 'gclid' - property :utm_campaign, as: 'utmCampaign' - property :utm_content, as: 'utmContent' - property :utm_medium, as: 'utmMedium' - property :utm_term, as: 'utmTerm' + property :count, :numeric_string => true, as: 'count' + property :event, as: 'event' + property :platform, as: 'platform' end end class DynamicLinkInfo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :link, as: 'link' - property :ios_info, as: 'iosInfo', class: Google::Apis::FirebasedynamiclinksV1::IosInfo, decorator: Google::Apis::FirebasedynamiclinksV1::IosInfo::Representation - - property :social_meta_tag_info, as: 'socialMetaTagInfo', class: Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo, decorator: Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo::Representation + property :analytics_info, as: 'analyticsInfo', class: Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo, decorator: Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo::Representation property :android_info, as: 'androidInfo', class: Google::Apis::FirebasedynamiclinksV1::AndroidInfo, decorator: Google::Apis::FirebasedynamiclinksV1::AndroidInfo::Representation + property :dynamic_link_domain, as: 'dynamicLinkDomain' + property :ios_info, as: 'iosInfo', class: Google::Apis::FirebasedynamiclinksV1::IosInfo, decorator: Google::Apis::FirebasedynamiclinksV1::IosInfo::Representation + + property :link, as: 'link' property :navigation_info, as: 'navigationInfo', class: Google::Apis::FirebasedynamiclinksV1::NavigationInfo, decorator: Google::Apis::FirebasedynamiclinksV1::NavigationInfo::Representation - property :analytics_info, as: 'analyticsInfo', class: Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo, decorator: Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo::Representation + property :social_meta_tag_info, as: 'socialMetaTagInfo', class: Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo, decorator: Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo::Representation - property :dynamic_link_domain, as: 'dynamicLinkDomain' - end - end - - class ITunesConnectAnalytics - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :at, as: 'at' - property :mt, as: 'mt' - property :ct, as: 'ct' - property :pt, as: 'pt' - end - end - - class SocialMetaTagInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :social_image_link, as: 'socialImageLink' - property :social_title, as: 'socialTitle' - property :social_description, as: 'socialDescription' end end @@ -183,18 +185,43 @@ module Google class DynamicLinkWarning # @private class Representation < Google::Apis::Core::JsonRepresentation - property :warning_message, as: 'warningMessage' property :warning_code, as: 'warningCode' + property :warning_document_link, as: 'warningDocumentLink' + property :warning_message, as: 'warningMessage' end end - class AndroidInfo + class GooglePlayAnalytics # @private class Representation < Google::Apis::Core::JsonRepresentation - property :android_fallback_link, as: 'androidFallbackLink' - property :android_package_name, as: 'androidPackageName' - property :android_min_package_version_code, as: 'androidMinPackageVersionCode' - property :android_link, as: 'androidLink' + property :gclid, as: 'gclid' + property :utm_campaign, as: 'utmCampaign' + property :utm_content, as: 'utmContent' + property :utm_medium, as: 'utmMedium' + property :utm_source, as: 'utmSource' + property :utm_term, as: 'utmTerm' + end + end + + class ITunesConnectAnalytics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :at, as: 'at' + property :ct, as: 'ct' + property :mt, as: 'mt' + property :pt, as: 'pt' + end + end + + class IosInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ios_app_store_id, as: 'iosAppStoreId' + property :ios_bundle_id, as: 'iosBundleId' + property :ios_custom_scheme, as: 'iosCustomScheme' + property :ios_fallback_link, as: 'iosFallbackLink' + property :ios_ipad_bundle_id, as: 'iosIpadBundleId' + property :ios_ipad_fallback_link, as: 'iosIpadFallbackLink' end end @@ -205,45 +232,19 @@ module Google end end - class IosInfo + class SocialMetaTagInfo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :ios_fallback_link, as: 'iosFallbackLink' - property :ios_app_store_id, as: 'iosAppStoreId' - property :ios_ipad_fallback_link, as: 'iosIpadFallbackLink' - property :ios_ipad_bundle_id, as: 'iosIpadBundleId' - property :ios_custom_scheme, as: 'iosCustomScheme' - property :ios_bundle_id, as: 'iosBundleId' + property :social_description, as: 'socialDescription' + property :social_image_link, as: 'socialImageLink' + property :social_title, as: 'socialTitle' end end - class AnalyticsInfo + class Suffix # @private class Representation < Google::Apis::Core::JsonRepresentation - property :itunes_connect_analytics, as: 'itunesConnectAnalytics', class: Google::Apis::FirebasedynamiclinksV1::ITunesConnectAnalytics, decorator: Google::Apis::FirebasedynamiclinksV1::ITunesConnectAnalytics::Representation - - property :google_play_analytics, as: 'googlePlayAnalytics', class: Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics, decorator: Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics::Representation - - end - end - - class CreateShortDynamicLinkRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :long_dynamic_link, as: 'longDynamicLink' - property :suffix, as: 'suffix', class: Google::Apis::FirebasedynamiclinksV1::Suffix, decorator: Google::Apis::FirebasedynamiclinksV1::Suffix::Representation - - property :dynamic_link_info, as: 'dynamicLinkInfo', class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo, decorator: Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo::Representation - - end - end - - class DynamicLinkEventStat - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :platform, as: 'platform' - property :count, :numeric_string => true, as: 'count' - property :event, as: 'event' + property :option, as: 'option' end end end diff --git a/generated/google/apis/firebasedynamiclinks_v1/service.rb b/generated/google/apis/firebasedynamiclinks_v1/service.rb index 1918b80c3..ffc27acb0 100644 --- a/generated/google/apis/firebasedynamiclinks_v1/service.rb +++ b/generated/google/apis/firebasedynamiclinks_v1/service.rb @@ -43,7 +43,7 @@ module Google attr_accessor :quota_user def initialize - super('https://firebasedynamiclinks.googleapis.com/', '') + super('https://firebasedynamiclinks-ipv6.googleapis.com/', '') @batch_path = 'batch' end diff --git a/generated/google/apis/firebaserules_v1.rb b/generated/google/apis/firebaserules_v1.rb index e3fa66931..53b22270e 100644 --- a/generated/google/apis/firebaserules_v1.rb +++ b/generated/google/apis/firebaserules_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://firebase.google.com/docs/storage/security module FirebaserulesV1 VERSION = 'V1' - REVISION = '20170523' + REVISION = '20170807' # 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/firebaserules_v1/classes.rb b/generated/google/apis/firebaserules_v1/classes.rb index 7ef26dcb1..4fd385898 100644 --- a/generated/google/apis/firebaserules_v1/classes.rb +++ b/generated/google/apis/firebaserules_v1/classes.rb @@ -22,6 +22,56 @@ module Google module Apis module FirebaserulesV1 + # Arg matchers for the mock function. + class Arg + include Google::Apis::Core::Hashable + + # 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 ````. + # Corresponds to the JSON property `anyValue` + # @return [Google::Apis::FirebaserulesV1::Empty] + attr_accessor :any_value + + # Argument exactly matches value provided. + # Corresponds to the JSON property `exactValue` + # @return [Object] + attr_accessor :exact_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @any_value = args[:any_value] if args.key?(:any_value) + @exact_value = args[:exact_value] if args.key?(:exact_value) + 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 + # `File` containing source content. class File include Google::Apis::Core::Hashable @@ -80,263 +130,6 @@ module Google end end - # The response for FirebaseRulesService.ListReleases. - class ListReleasesResponse - include Google::Apis::Core::Hashable - - # List of `Release` instances. - # Corresponds to the JSON property `releases` - # @return [Array] - attr_accessor :releases - - # The pagination token to retrieve the next page of results. If the value is - # empty, no further results remain. - # 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) - @releases = args[:releases] if args.key?(:releases) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # `Release` is a named reference to a `Ruleset`. Once a `Release` refers to a - # `Ruleset`, rules-enabled services will be able to enforce the `Ruleset`. - class Release - include Google::Apis::Core::Hashable - - # Time the release was created. - # Output only. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # Time the release was updated. - # Output only. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time - - # Resource name for the `Release`. - # `Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2` - # which affords developers a great deal of flexibility in mapping the name - # to the style that best fits their existing development practices. For - # example, a name could refer to an environment, an app, a version, or some - # combination of three. - # In the table below, for the project name `projects/foo`, the following - # relative release paths show how flat and structured names might be chosen - # to match a desired development / deployment strategy. - # Use Case | Flat Name | Structured Name - # -------------|---------------------|---------------- - # Environments | releases/qa | releases/qa - # Apps | releases/app1_qa | releases/app1/qa - # Versions | releases/app1_v2_qa | releases/app1/v2/qa - # The delimiter between the release name path elements can be almost anything - # and it should work equally well with the release name list filter, but in - # many ways the structured paths provide a clearer picture of the - # relationship between `Release` instances. - # Format: `projects/`project_id`/releases/`release_id`` - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Name of the `Ruleset` referred to by this `Release`. The `Ruleset` must - # exist the `Release` to be created. - # Corresponds to the JSON property `rulesetName` - # @return [String] - attr_accessor :ruleset_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @create_time = args[:create_time] if args.key?(:create_time) - @update_time = args[:update_time] if args.key?(:update_time) - @name = args[:name] if args.key?(:name) - @ruleset_name = args[:ruleset_name] if args.key?(:ruleset_name) - end - end - - # The response for FirebaseRulesService.TestRuleset. - class TestRulesetResponse - include Google::Apis::Core::Hashable - - # The set of test results given the test cases in the `TestSuite`. - # The results will appear in the same order as the test cases appear in the - # `TestSuite`. - # Corresponds to the JSON property `testResults` - # @return [Array] - attr_accessor :test_results - - # Syntactic and semantic `Source` issues of varying severity. Issues of - # `ERROR` severity will prevent tests from executing. - # Corresponds to the JSON property `issues` - # @return [Array] - attr_accessor :issues - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @test_results = args[:test_results] if args.key?(:test_results) - @issues = args[:issues] if args.key?(:issues) - end - end - - # Test result message containing the state of the test as well as a - # description and source position for test failures. - class TestResult - include Google::Apis::Core::Hashable - - # Position in the `Source` content including its line, column number, and an - # index of the `File` in the `Source` message. Used for debug purposes. - # Corresponds to the JSON property `errorPosition` - # @return [Google::Apis::FirebaserulesV1::SourcePosition] - attr_accessor :error_position - - # The set of function calls made to service-defined methods. - # Function calls are included in the order in which they are encountered - # during evaluation, are provided for both mocked and unmocked functions, - # and included on the response regardless of the test `state`. - # Corresponds to the JSON property `functionCalls` - # @return [Array] - attr_accessor :function_calls - - # State of the test. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # Debug messages related to test execution issues encountered during - # evaluation. - # Debug messages may be related to too many or too few invocations of - # function mocks or to runtime errors that occur during evaluation. - # For example: ```Unable to read variable [name: "resource"]``` - # Corresponds to the JSON property `debugMessages` - # @return [Array] - attr_accessor :debug_messages - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @error_position = args[:error_position] if args.key?(:error_position) - @function_calls = args[:function_calls] if args.key?(:function_calls) - @state = args[:state] if args.key?(:state) - @debug_messages = args[:debug_messages] if args.key?(:debug_messages) - end - end - - # The response for FirebaseRulesService.ListRulesets. - class ListRulesetsResponse - include Google::Apis::Core::Hashable - - # The pagination token to retrieve the next page of results. If the value is - # empty, no further results remain. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # List of `Ruleset` instances. - # Corresponds to the JSON property `rulesets` - # @return [Array] - attr_accessor :rulesets - - 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) - @rulesets = args[:rulesets] if args.key?(:rulesets) - end - end - - # Arg matchers for the mock function. - class Arg - include Google::Apis::Core::Hashable - - # Argument exactly matches value provided. - # Corresponds to the JSON property `exactValue` - # @return [Object] - attr_accessor :exact_value - - # 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 ````. - # Corresponds to the JSON property `anyValue` - # @return [Google::Apis::FirebaserulesV1::Empty] - attr_accessor :any_value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @exact_value = args[:exact_value] if args.key?(:exact_value) - @any_value = args[:any_value] if args.key?(:any_value) - end - end - - # `TestSuite` is a collection of `TestCase` instances that validate the logical - # correctness of a `Ruleset`. The `TestSuite` may be referenced in-line within - # a `TestRuleset` invocation or as part of a `Release` object as a pre-release - # check. - class TestSuite - include Google::Apis::Core::Hashable - - # Collection of test cases associated with the `TestSuite`. - # Corresponds to the JSON property `testCases` - # @return [Array] - attr_accessor :test_cases - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @test_cases = args[:test_cases] if args.key?(:test_cases) - 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 - # Mock function definition. # Mocks must refer to a function declared by the target service. The type of # the function args and result will be inferred at test time. If either the @@ -378,6 +171,216 @@ module Google end end + # Issues include warnings, errors, and deprecation notices. + class Issue + include Google::Apis::Core::Hashable + + # Short error description. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The severity of the issue. + # Corresponds to the JSON property `severity` + # @return [String] + attr_accessor :severity + + # Position in the `Source` content including its line, column number, and an + # index of the `File` in the `Source` message. Used for debug purposes. + # Corresponds to the JSON property `sourcePosition` + # @return [Google::Apis::FirebaserulesV1::SourcePosition] + attr_accessor :source_position + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @severity = args[:severity] if args.key?(:severity) + @source_position = args[:source_position] if args.key?(:source_position) + end + end + + # The response for FirebaseRulesService.ListReleases. + class ListReleasesResponse + include Google::Apis::Core::Hashable + + # The pagination token to retrieve the next page of results. If the value is + # empty, no further results remain. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # List of `Release` instances. + # Corresponds to the JSON property `releases` + # @return [Array] + attr_accessor :releases + + 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) + @releases = args[:releases] if args.key?(:releases) + end + end + + # The response for FirebaseRulesService.ListRulesets. + class ListRulesetsResponse + include Google::Apis::Core::Hashable + + # The pagination token to retrieve the next page of results. If the value is + # empty, no further results remain. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # List of `Ruleset` instances. + # Corresponds to the JSON property `rulesets` + # @return [Array] + attr_accessor :rulesets + + 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) + @rulesets = args[:rulesets] if args.key?(:rulesets) + end + end + + # `Release` is a named reference to a `Ruleset`. Once a `Release` refers to a + # `Ruleset`, rules-enabled services will be able to enforce the `Ruleset`. + class Release + include Google::Apis::Core::Hashable + + # Time the release was created. + # Output only. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Resource name for the `Release`. + # `Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2` + # which affords developers a great deal of flexibility in mapping the name + # to the style that best fits their existing development practices. For + # example, a name could refer to an environment, an app, a version, or some + # combination of three. + # In the table below, for the project name `projects/foo`, the following + # relative release paths show how flat and structured names might be chosen + # to match a desired development / deployment strategy. + # Use Case | Flat Name | Structured Name + # -------------|---------------------|---------------- + # Environments | releases/qa | releases/qa + # Apps | releases/app1_qa | releases/app1/qa + # Versions | releases/app1_v2_qa | releases/app1/v2/qa + # The delimiter between the release name path elements can be almost anything + # and it should work equally well with the release name list filter, but in + # many ways the structured paths provide a clearer picture of the + # relationship between `Release` instances. + # Format: `projects/`project_id`/releases/`release_id`` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Name of the `Ruleset` referred to by this `Release`. The `Ruleset` must + # exist the `Release` to be created. + # Corresponds to the JSON property `rulesetName` + # @return [String] + attr_accessor :ruleset_name + + # Time the release was updated. + # Output only. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @name = args[:name] if args.key?(:name) + @ruleset_name = args[:ruleset_name] if args.key?(:ruleset_name) + @update_time = args[:update_time] if args.key?(:update_time) + end + end + + # Possible result values from the function mock invocation. + class Result + include Google::Apis::Core::Hashable + + # 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 ````. + # Corresponds to the JSON property `undefined` + # @return [Google::Apis::FirebaserulesV1::Empty] + attr_accessor :undefined + + # The result is an actual value. The type of the value must match that + # of the type declared by the service. + # Corresponds to the JSON property `value` + # @return [Object] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @undefined = args[:undefined] if args.key?(:undefined) + @value = args[:value] if args.key?(:value) + end + end + + # `Ruleset` is an immutable copy of `Source` with a globally unique identifier + # and a creation time. + class Ruleset + include Google::Apis::Core::Hashable + + # Time the `Ruleset` was created. + # Output only. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Name of the `Ruleset`. The ruleset_id is auto generated by the service. + # Format: `projects/`project_id`/rulesets/`ruleset_id`` + # Output only. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # `Source` is one or more `File` messages comprising a logical set of rules. + # Corresponds to the JSON property `source` + # @return [Google::Apis::FirebaserulesV1::Source] + attr_accessor :source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @name = args[:name] if args.key?(:name) + @source = args[:source] if args.key?(:source) + end + end + # `Source` is one or more `File` messages comprising a logical set of rules. class Source include Google::Apis::Core::Hashable @@ -397,48 +400,11 @@ module Google end end - # Possible result values from the function mock invocation. - class Result - include Google::Apis::Core::Hashable - - # The result is an actual value. The type of the value must match that - # of the type declared by the service. - # Corresponds to the JSON property `value` - # @return [Object] - attr_accessor :value - - # 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 ````. - # Corresponds to the JSON property `undefined` - # @return [Google::Apis::FirebaserulesV1::Empty] - attr_accessor :undefined - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @value = args[:value] if args.key?(:value) - @undefined = args[:undefined] if args.key?(:undefined) - end - end - # Position in the `Source` content including its line, column number, and an # index of the `File` in the `Source` message. Used for debug purposes. class SourcePosition include Google::Apis::Core::Hashable - # Line number of the source fragment. 1-based. - # Corresponds to the JSON property `line` - # @return [Fixnum] - attr_accessor :line - # First column on the source line associated with the source fragment. # Corresponds to the JSON property `column` # @return [Fixnum] @@ -449,15 +415,20 @@ module Google # @return [String] attr_accessor :file_name + # Line number of the source fragment. 1-based. + # Corresponds to the JSON property `line` + # @return [Fixnum] + attr_accessor :line + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @line = args[:line] if args.key?(:line) @column = args[:column] if args.key?(:column) @file_name = args[:file_name] if args.key?(:file_name) + @line = args[:line] if args.key?(:line) end end @@ -471,12 +442,10 @@ module Google class TestCase include Google::Apis::Core::Hashable - # Optional resource value as it appears in persistent storage before the - # request is fulfilled. - # The resource type depends on the `request.path` value. - # Corresponds to the JSON property `resource` - # @return [Object] - attr_accessor :resource + # Test expectation. + # Corresponds to the JSON property `expectation` + # @return [String] + attr_accessor :expectation # Optional function mocks for service-defined functions. If not set, any # service defined function is expected to return an error, which may or may @@ -485,11 +454,6 @@ module Google # @return [Array] attr_accessor :function_mocks - # Test expectation. - # Corresponds to the JSON property `expectation` - # @return [String] - attr_accessor :expectation - # Request context. # The exact format of the request context is service-dependent. See the # appropriate service documentation for information about the supported @@ -510,16 +474,69 @@ module Google # @return [Object] attr_accessor :request + # Optional resource value as it appears in persistent storage before the + # request is fulfilled. + # The resource type depends on the `request.path` value. + # Corresponds to the JSON property `resource` + # @return [Object] + attr_accessor :resource + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @resource = args[:resource] if args.key?(:resource) - @function_mocks = args[:function_mocks] if args.key?(:function_mocks) @expectation = args[:expectation] if args.key?(:expectation) + @function_mocks = args[:function_mocks] if args.key?(:function_mocks) @request = args[:request] if args.key?(:request) + @resource = args[:resource] if args.key?(:resource) + end + end + + # Test result message containing the state of the test as well as a + # description and source position for test failures. + class TestResult + include Google::Apis::Core::Hashable + + # Debug messages related to test execution issues encountered during + # evaluation. + # Debug messages may be related to too many or too few invocations of + # function mocks or to runtime errors that occur during evaluation. + # For example: ```Unable to read variable [name: "resource"]``` + # Corresponds to the JSON property `debugMessages` + # @return [Array] + attr_accessor :debug_messages + + # Position in the `Source` content including its line, column number, and an + # index of the `File` in the `Source` message. Used for debug purposes. + # Corresponds to the JSON property `errorPosition` + # @return [Google::Apis::FirebaserulesV1::SourcePosition] + attr_accessor :error_position + + # The set of function calls made to service-defined methods. + # Function calls are included in the order in which they are encountered + # during evaluation, are provided for both mocked and unmocked functions, + # and included on the response regardless of the test `state`. + # Corresponds to the JSON property `functionCalls` + # @return [Array] + attr_accessor :function_calls + + # State of the test. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @debug_messages = args[:debug_messages] if args.key?(:debug_messages) + @error_position = args[:error_position] if args.key?(:error_position) + @function_calls = args[:function_calls] if args.key?(:function_calls) + @state = args[:state] if args.key?(:state) end end @@ -551,28 +568,22 @@ module Google end end - # `Ruleset` is an immutable copy of `Source` with a globally unique identifier - # and a creation time. - class Ruleset + # The response for FirebaseRulesService.TestRuleset. + class TestRulesetResponse include Google::Apis::Core::Hashable - # Name of the `Ruleset`. The ruleset_id is auto generated by the service. - # Format: `projects/`project_id`/rulesets/`ruleset_id`` - # Output only. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name + # Syntactic and semantic `Source` issues of varying severity. Issues of + # `ERROR` severity will prevent tests from executing. + # Corresponds to the JSON property `issues` + # @return [Array] + attr_accessor :issues - # `Source` is one or more `File` messages comprising a logical set of rules. - # Corresponds to the JSON property `source` - # @return [Google::Apis::FirebaserulesV1::Source] - attr_accessor :source - - # Time the `Ruleset` was created. - # Output only. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time + # The set of test results given the test cases in the `TestSuite`. + # The results will appear in the same order as the test cases appear in the + # `TestSuite`. + # Corresponds to the JSON property `testResults` + # @return [Array] + attr_accessor :test_results def initialize(**args) update!(**args) @@ -580,31 +591,22 @@ module Google # Update properties of this object def update!(**args) - @name = args[:name] if args.key?(:name) - @source = args[:source] if args.key?(:source) - @create_time = args[:create_time] if args.key?(:create_time) + @issues = args[:issues] if args.key?(:issues) + @test_results = args[:test_results] if args.key?(:test_results) end end - # Issues include warnings, errors, and deprecation notices. - class Issue + # `TestSuite` is a collection of `TestCase` instances that validate the logical + # correctness of a `Ruleset`. The `TestSuite` may be referenced in-line within + # a `TestRuleset` invocation or as part of a `Release` object as a pre-release + # check. + class TestSuite include Google::Apis::Core::Hashable - # Short error description. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Position in the `Source` content including its line, column number, and an - # index of the `File` in the `Source` message. Used for debug purposes. - # Corresponds to the JSON property `sourcePosition` - # @return [Google::Apis::FirebaserulesV1::SourcePosition] - attr_accessor :source_position - - # The severity of the issue. - # Corresponds to the JSON property `severity` - # @return [String] - attr_accessor :severity + # Collection of test cases associated with the `TestSuite`. + # Corresponds to the JSON property `testCases` + # @return [Array] + attr_accessor :test_cases def initialize(**args) update!(**args) @@ -612,9 +614,7 @@ module Google # Update properties of this object def update!(**args) - @description = args[:description] if args.key?(:description) - @source_position = args[:source_position] if args.key?(:source_position) - @severity = args[:severity] if args.key?(:severity) + @test_cases = args[:test_cases] if args.key?(:test_cases) end end end diff --git a/generated/google/apis/firebaserules_v1/representations.rb b/generated/google/apis/firebaserules_v1/representations.rb index ce0827195..82d748aea 100644 --- a/generated/google/apis/firebaserules_v1/representations.rb +++ b/generated/google/apis/firebaserules_v1/representations.rb @@ -22,6 +22,18 @@ module Google module Apis module FirebaserulesV1 + class Arg + 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 File class Representation < Google::Apis::Core::JsonRepresentation; end @@ -34,61 +46,31 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class FunctionMock + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Issue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListReleasesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Release - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestRulesetResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestResult - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ListRulesetsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Arg - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestSuite - 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 FunctionMock - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Source + class Release class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -100,6 +82,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Ruleset + 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 SourcePosition class Representation < Google::Apis::Core::JsonRepresentation; end @@ -112,24 +106,45 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class TestResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class TestRulesetRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Ruleset + class TestRulesetResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Issue + class TestSuite class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Arg + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :any_value, as: 'anyValue', class: Google::Apis::FirebaserulesV1::Empty, decorator: Google::Apis::FirebaserulesV1::Empty::Representation + + property :exact_value, as: 'exactValue' + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class File # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -147,44 +162,33 @@ module Google end end + class FunctionMock + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :args, as: 'args', class: Google::Apis::FirebaserulesV1::Arg, decorator: Google::Apis::FirebaserulesV1::Arg::Representation + + property :function, as: 'function' + property :result, as: 'result', class: Google::Apis::FirebaserulesV1::Result, decorator: Google::Apis::FirebaserulesV1::Result::Representation + + end + end + + class Issue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :severity, as: 'severity' + property :source_position, as: 'sourcePosition', class: Google::Apis::FirebaserulesV1::SourcePosition, decorator: Google::Apis::FirebaserulesV1::SourcePosition::Representation + + end + end + class ListReleasesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' collection :releases, as: 'releases', class: Google::Apis::FirebaserulesV1::Release, decorator: Google::Apis::FirebaserulesV1::Release::Representation - property :next_page_token, as: 'nextPageToken' - end - end - - class Release - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :create_time, as: 'createTime' - property :update_time, as: 'updateTime' - property :name, as: 'name' - property :ruleset_name, as: 'rulesetName' - end - end - - class TestRulesetResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :test_results, as: 'testResults', class: Google::Apis::FirebaserulesV1::TestResult, decorator: Google::Apis::FirebaserulesV1::TestResult::Representation - - collection :issues, as: 'issues', class: Google::Apis::FirebaserulesV1::Issue, decorator: Google::Apis::FirebaserulesV1::Issue::Representation - - end - end - - class TestResult - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :error_position, as: 'errorPosition', class: Google::Apis::FirebaserulesV1::SourcePosition, decorator: Google::Apis::FirebaserulesV1::SourcePosition::Representation - - collection :function_calls, as: 'functionCalls', class: Google::Apis::FirebaserulesV1::FunctionCall, decorator: Google::Apis::FirebaserulesV1::FunctionCall::Representation - - property :state, as: 'state' - collection :debug_messages, as: 'debugMessages' end end @@ -197,36 +201,31 @@ module Google end end - class Arg + class Release # @private class Representation < Google::Apis::Core::JsonRepresentation - property :exact_value, as: 'exactValue' - property :any_value, as: 'anyValue', class: Google::Apis::FirebaserulesV1::Empty, decorator: Google::Apis::FirebaserulesV1::Empty::Representation - + property :create_time, as: 'createTime' + property :name, as: 'name' + property :ruleset_name, as: 'rulesetName' + property :update_time, as: 'updateTime' end end - class TestSuite + class Result # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :test_cases, as: 'testCases', class: Google::Apis::FirebaserulesV1::TestCase, decorator: Google::Apis::FirebaserulesV1::TestCase::Representation + property :undefined, as: 'undefined', class: Google::Apis::FirebaserulesV1::Empty, decorator: Google::Apis::FirebaserulesV1::Empty::Representation + property :value, as: 'value' end end - class Empty + class Ruleset # @private class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class FunctionMock - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :args, as: 'args', class: Google::Apis::FirebaserulesV1::Arg, decorator: Google::Apis::FirebaserulesV1::Arg::Representation - - property :function, as: 'function' - property :result, as: 'result', class: Google::Apis::FirebaserulesV1::Result, decorator: Google::Apis::FirebaserulesV1::Result::Representation + property :create_time, as: 'createTime' + property :name, as: 'name' + property :source, as: 'source', class: Google::Apis::FirebaserulesV1::Source, decorator: Google::Apis::FirebaserulesV1::Source::Representation end end @@ -239,32 +238,35 @@ module Google end end - class Result - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :undefined, as: 'undefined', class: Google::Apis::FirebaserulesV1::Empty, decorator: Google::Apis::FirebaserulesV1::Empty::Representation - - end - end - class SourcePosition # @private class Representation < Google::Apis::Core::JsonRepresentation - property :line, as: 'line' property :column, as: 'column' property :file_name, as: 'fileName' + property :line, as: 'line' end end class TestCase # @private class Representation < Google::Apis::Core::JsonRepresentation - property :resource, as: 'resource' + property :expectation, as: 'expectation' collection :function_mocks, as: 'functionMocks', class: Google::Apis::FirebaserulesV1::FunctionMock, decorator: Google::Apis::FirebaserulesV1::FunctionMock::Representation - property :expectation, as: 'expectation' property :request, as: 'request' + property :resource, as: 'resource' + end + end + + class TestResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :debug_messages, as: 'debugMessages' + property :error_position, as: 'errorPosition', class: Google::Apis::FirebaserulesV1::SourcePosition, decorator: Google::Apis::FirebaserulesV1::SourcePosition::Representation + + collection :function_calls, as: 'functionCalls', class: Google::Apis::FirebaserulesV1::FunctionCall, decorator: Google::Apis::FirebaserulesV1::FunctionCall::Representation + + property :state, as: 'state' end end @@ -278,23 +280,21 @@ module Google end end - class Ruleset + class TestRulesetResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :source, as: 'source', class: Google::Apis::FirebaserulesV1::Source, decorator: Google::Apis::FirebaserulesV1::Source::Representation + collection :issues, as: 'issues', class: Google::Apis::FirebaserulesV1::Issue, decorator: Google::Apis::FirebaserulesV1::Issue::Representation + + collection :test_results, as: 'testResults', class: Google::Apis::FirebaserulesV1::TestResult, decorator: Google::Apis::FirebaserulesV1::TestResult::Representation - property :create_time, as: 'createTime' end end - class Issue + class TestSuite # @private class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :source_position, as: 'sourcePosition', class: Google::Apis::FirebaserulesV1::SourcePosition, decorator: Google::Apis::FirebaserulesV1::SourcePosition::Representation + collection :test_cases, as: 'testCases', class: Google::Apis::FirebaserulesV1::TestCase, decorator: Google::Apis::FirebaserulesV1::TestCase::Representation - property :severity, as: 'severity' end end end diff --git a/generated/google/apis/firebaserules_v1/service.rb b/generated/google/apis/firebaserules_v1/service.rb index 5925f5ff9..d4cbc6c68 100644 --- a/generated/google/apis/firebaserules_v1/service.rb +++ b/generated/google/apis/firebaserules_v1/service.rb @@ -102,60 +102,6 @@ module Google execute_or_queue_command(command, &block) end - # Update a `Release`. - # Only updates to the `ruleset_name` and `test_suite_name` fields will be - # honored. `Release` rename is not supported. To create a `Release` use the - # CreateRelease method. - # @param [String] name - # Resource name for the `Release`. - # `Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2` - # which affords developers a great deal of flexibility in mapping the name - # to the style that best fits their existing development practices. For - # example, a name could refer to an environment, an app, a version, or some - # combination of three. - # In the table below, for the project name `projects/foo`, the following - # relative release paths show how flat and structured names might be chosen - # to match a desired development / deployment strategy. - # Use Case | Flat Name | Structured Name - # -------------|---------------------|---------------- - # Environments | releases/qa | releases/qa - # Apps | releases/app1_qa | releases/app1/qa - # Versions | releases/app1_v2_qa | releases/app1/v2/qa - # The delimiter between the release name path elements can be almost anything - # and it should work equally well with the release name list filter, but in - # many ways the structured paths provide a clearer picture of the - # relationship between `Release` instances. - # Format: `projects/`project_id`/releases/`release_id`` - # @param [Google::Apis::FirebaserulesV1::Release] release_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::FirebaserulesV1::Release] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::FirebaserulesV1::Release] - # - # @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_project_release(name, release_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v1/{+name}', options) - command.request_representation = Google::Apis::FirebaserulesV1::Release::Representation - command.request_object = release_object - command.response_representation = Google::Apis::FirebaserulesV1::Release::Representation - command.response_class = Google::Apis::FirebaserulesV1::Release - 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 - # Create a `Release`. # Release names should reflect the developer's deployment practices. For # example, the release name may include the environment name, application @@ -295,14 +241,14 @@ module Google # In the examples, the filter parameters refer to the search filters are # relative to the project. Fully qualified prefixed may also be used. e.g. # `test_suite_name=projects/foo/testsuites/uuid1` - # @param [String] page_token - # Next page token for the next batch of `Release` instances. # @param [Fixnum] page_size # Page size to load. Maximum of 100. Defaults to 10. # Note: `page_size` is just a hint and the service may choose to load fewer # than `page_size` results due to the size of the output. To traverse all of # the releases, the caller should iterate until the `page_token` on the # response is empty. + # @param [String] page_token + # Next page token for the next batch of `Release` instances. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -320,23 +266,44 @@ 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_project_releases(name, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_releases(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/releases', options) command.response_representation = Google::Apis::FirebaserulesV1::ListReleasesResponse::Representation command.response_class = Google::Apis::FirebaserulesV1::ListReleasesResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? - command.query['pageToken'] = page_token unless page_token.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 - # Get a `Ruleset` by name including the full `Source` contents. + # Update a `Release`. + # Only updates to the `ruleset_name` and `test_suite_name` fields will be + # honored. `Release` rename is not supported. To create a `Release` use the + # CreateRelease method. # @param [String] name - # Resource name for the ruleset to get. - # Format: `projects/`project_id`/rulesets/`ruleset_id`` + # Resource name for the `Release`. + # `Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2` + # which affords developers a great deal of flexibility in mapping the name + # to the style that best fits their existing development practices. For + # example, a name could refer to an environment, an app, a version, or some + # combination of three. + # In the table below, for the project name `projects/foo`, the following + # relative release paths show how flat and structured names might be chosen + # to match a desired development / deployment strategy. + # Use Case | Flat Name | Structured Name + # -------------|---------------------|---------------- + # Environments | releases/qa | releases/qa + # Apps | releases/app1_qa | releases/app1/qa + # Versions | releases/app1_v2_qa | releases/app1/v2/qa + # The delimiter between the release name path elements can be almost anything + # and it should work equally well with the release name list filter, but in + # many ways the structured paths provide a clearer picture of the + # relationship between `Release` instances. + # Format: `projects/`project_id`/releases/`release_id`` + # @param [Google::Apis::FirebaserulesV1::Release] release_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -346,74 +313,26 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::FirebaserulesV1::Ruleset] parsed result object + # @yieldparam result [Google::Apis::FirebaserulesV1::Release] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::FirebaserulesV1::Ruleset] + # @return [Google::Apis::FirebaserulesV1::Release] # # @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_project_ruleset(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::FirebaserulesV1::Ruleset::Representation - command.response_class = Google::Apis::FirebaserulesV1::Ruleset + def update_project_release(name, release_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v1/{+name}', options) + command.request_representation = Google::Apis::FirebaserulesV1::Release::Representation + command.request_object = release_object + command.response_representation = Google::Apis::FirebaserulesV1::Release::Representation + command.response_class = Google::Apis::FirebaserulesV1::Release 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 - # List `Ruleset` metadata only and optionally filter the results by `Ruleset` - # name. - # The full `Source` contents of a `Ruleset` may be retrieved with - # GetRuleset. - # @param [String] name - # Resource name for the project. - # Format: `projects/`project_id`` - # @param [String] filter - # `Ruleset` filter. The list method supports filters with restrictions on - # `Ruleset.name`. - # Filters on `Ruleset.create_time` should use the `date` function which - # parses strings that conform to the RFC 3339 date/time specifications. - # Example: `create_time > date("2017-01-01") AND name=UUID-*` - # @param [String] page_token - # Next page token for loading the next batch of `Ruleset` instances. - # @param [Fixnum] page_size - # Page size to load. Maximum of 100. Defaults to 10. - # Note: `page_size` is just a hint and the service may choose to load less - # than `page_size` due to the size of the output. To traverse all of the - # releases, caller should iterate until the `page_token` is empty. - # @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::FirebaserulesV1::ListRulesetsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::FirebaserulesV1::ListRulesetsResponse] - # - # @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_project_rulesets(name, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}/rulesets', options) - command.response_representation = Google::Apis::FirebaserulesV1::ListRulesetsResponse::Representation - command.response_class = Google::Apis::FirebaserulesV1::ListRulesetsResponse - command.params['name'] = name unless name.nil? - command.query['filter'] = filter unless filter.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Create a `Ruleset` from `Source`. # The `Ruleset` is given a unique generated name which is returned to the # caller. `Source` containing syntactic or semantics errors will result in an @@ -483,6 +402,87 @@ module Google command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end + + # Get a `Ruleset` by name including the full `Source` contents. + # @param [String] name + # Resource name for the ruleset to get. + # Format: `projects/`project_id`/rulesets/`ruleset_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::FirebaserulesV1::Ruleset] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaserulesV1::Ruleset] + # + # @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_project_ruleset(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::FirebaserulesV1::Ruleset::Representation + command.response_class = Google::Apis::FirebaserulesV1::Ruleset + 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 + + # List `Ruleset` metadata only and optionally filter the results by `Ruleset` + # name. + # The full `Source` contents of a `Ruleset` may be retrieved with + # GetRuleset. + # @param [String] name + # Resource name for the project. + # Format: `projects/`project_id`` + # @param [String] filter + # `Ruleset` filter. The list method supports filters with restrictions on + # `Ruleset.name`. + # Filters on `Ruleset.create_time` should use the `date` function which + # parses strings that conform to the RFC 3339 date/time specifications. + # Example: `create_time > date("2017-01-01") AND name=UUID-*` + # @param [Fixnum] page_size + # Page size to load. Maximum of 100. Defaults to 10. + # Note: `page_size` is just a hint and the service may choose to load less + # than `page_size` due to the size of the output. To traverse all of the + # releases, caller should iterate until the `page_token` is empty. + # @param [String] page_token + # Next page token for loading the next batch of `Ruleset` instances. + # @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::FirebaserulesV1::ListRulesetsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaserulesV1::ListRulesetsResponse] + # + # @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_project_rulesets(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}/rulesets', options) + command.response_representation = Google::Apis::FirebaserulesV1::ListRulesetsResponse::Representation + command.response_class = Google::Apis::FirebaserulesV1::ListRulesetsResponse + 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 protected diff --git a/generated/google/apis/fitness_v1.rb b/generated/google/apis/fitness_v1.rb index 2f131e71d..133090173 100644 --- a/generated/google/apis/fitness_v1.rb +++ b/generated/google/apis/fitness_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/fit/rest/ module FitnessV1 VERSION = 'V1' - REVISION = '20161128' + REVISION = '20170731' # View your activity information in Google Fit AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read' diff --git a/generated/google/apis/fitness_v1/classes.rb b/generated/google/apis/fitness_v1/classes.rb index b4bd0cac2..6ed0a6fa8 100644 --- a/generated/google/apis/fitness_v1/classes.rb +++ b/generated/google/apis/fitness_v1/classes.rb @@ -475,7 +475,7 @@ module Google # dataType.name:developer project number:device.manufacturer:device.model:device. # uid:dataStreamName # When any of the optional fields that comprise of the data stream ID are blank, - # they will be omitted from the data stream ID. The minnimum viable data stream + # they will be omitted from the data stream ID. The minimum viable data stream # ID would be: type:dataType.name:developer project number # Finally, the developer project number is obfuscated when read by any REST or # Android client that did not create the data source. Only the data source diff --git a/generated/google/apis/games_configuration_v1configuration.rb b/generated/google/apis/games_configuration_v1configuration.rb index e7effa8d1..9217662fa 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 = '20170710' + REVISION = '20170420' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/games_management_v1management.rb b/generated/google/apis/games_management_v1management.rb index b1c344dd4..35184ffe7 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 = '20170710' + REVISION = '20170420' # 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_v1.rb b/generated/google/apis/games_v1.rb index 259fcd6dc..33d55b8d8 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 = '20170710' + REVISION = '20170420' # 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/genomics_v1.rb b/generated/google/apis/genomics_v1.rb index 38161fe25..54da115dd 100644 --- a/generated/google/apis/genomics_v1.rb +++ b/generated/google/apis/genomics_v1.rb @@ -25,22 +25,22 @@ module Google # @see https://cloud.google.com/genomics module GenomicsV1 VERSION = 'V1' - REVISION = '20170712' + REVISION = '20170824' - # View Genomics data - AUTH_GENOMICS_READONLY = 'https://www.googleapis.com/auth/genomics.readonly' + # View and manage your data in Google BigQuery + AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' - # View and manage Genomics data - AUTH_GENOMICS = 'https://www.googleapis.com/auth/genomics' - # Manage your data in Google Cloud Storage AUTH_DEVSTORAGE_READ_WRITE = 'https://www.googleapis.com/auth/devstorage.read_write' - # View and manage your data in Google BigQuery - AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' + # View and manage Genomics data + AUTH_GENOMICS = 'https://www.googleapis.com/auth/genomics' + + # View Genomics data + AUTH_GENOMICS_READONLY = 'https://www.googleapis.com/auth/genomics.readonly' end end end diff --git a/generated/google/apis/genomics_v1/classes.rb b/generated/google/apis/genomics_v1/classes.rb index ebaf7a41f..b62ff109f 100644 --- a/generated/google/apis/genomics_v1/classes.rb +++ b/generated/google/apis/genomics_v1/classes.rb @@ -22,106 +22,149 @@ module Google module Apis module GenomicsV1 - # - class SearchReferencesResponse + # An annotation describes a region of reference genome. The value of an + # annotation may be one of several canonical types, supplemented by arbitrary + # info tags. An annotation is not inherently associated with a specific + # sample or individual (though a client could choose to use annotations in + # this way). Example canonical annotation types are `GENE` and + # `VARIANT`. + class Annotation include Google::Apis::Core::Hashable - # The matching references. - # Corresponds to the JSON property `references` - # @return [Array] - attr_accessor :references - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of - # results. This field will be empty if there aren't any additional results. - # Corresponds to the JSON property `nextPageToken` + # The annotation set to which this annotation belongs. + # Corresponds to the JSON property `annotationSetId` # @return [String] - attr_accessor :next_page_token + attr_accessor :annotation_set_id - def initialize(**args) - update!(**args) - end + # The end position of the range on the reference, 0-based exclusive. + # Corresponds to the JSON property `end` + # @return [Fixnum] + attr_accessor :end - # Update properties of this object - def update!(**args) - @references = args[:references] if args.key?(:references) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end + # The server-generated annotation ID, unique across all annotations. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id - # Request message for `GetIamPolicy` method. - class GetIamPolicyRequest - include Google::Apis::Core::Hashable + # A map of additional read alignment information. This must be of the form + # map (string key mapping to a list of string values). + # Corresponds to the JSON property `info` + # @return [Hash>] + attr_accessor :info - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Response message for `TestIamPermissions` method. - class TestIamPermissionsResponse - include Google::Apis::Core::Hashable - - # A subset of `TestPermissionsRequest.permissions` that the caller is - # allowed. - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - end - end - - # - class SearchAnnotationSetsRequest - include Google::Apis::Core::Hashable - - # Only return annotations sets for which a substring of the name matches this - # string (case insensitive). + # The display name of this annotation. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # If specified, only annotation sets associated with the given reference set - # are returned. + # The ID of the Google Genomics reference associated with this range. + # Corresponds to the JSON property `referenceId` + # @return [String] + attr_accessor :reference_id + + # The display name corresponding to the reference specified by + # `referenceId`, for example `chr1`, `1`, or `chrX`. + # Corresponds to the JSON property `referenceName` + # @return [String] + attr_accessor :reference_name + + # Whether this range refers to the reverse strand, as opposed to the forward + # strand. Note that regardless of this field, the start/end position of the + # range always refer to the forward strand. + # Corresponds to the JSON property `reverseStrand` + # @return [Boolean] + attr_accessor :reverse_strand + alias_method :reverse_strand?, :reverse_strand + + # The start position of the range on the reference, 0-based inclusive. + # Corresponds to the JSON property `start` + # @return [Fixnum] + attr_accessor :start + + # A transcript represents the assertion that a particular region of the + # reference genome may be transcribed as RNA. + # Corresponds to the JSON property `transcript` + # @return [Google::Apis::GenomicsV1::Transcript] + attr_accessor :transcript + + # The data type for this annotation. Must match the containing annotation + # set's type. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # A variant annotation, which describes the effect of a variant on the + # genome, the coding sequence, and/or higher level consequences at the + # organism level e.g. pathogenicity. This field is only set for annotations + # of type `VARIANT`. + # Corresponds to the JSON property `variant` + # @return [Google::Apis::GenomicsV1::VariantAnnotation] + attr_accessor :variant + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_set_id = args[:annotation_set_id] if args.key?(:annotation_set_id) + @end = args[:end] if args.key?(:end) + @id = args[:id] if args.key?(:id) + @info = args[:info] if args.key?(:info) + @name = args[:name] if args.key?(:name) + @reference_id = args[:reference_id] if args.key?(:reference_id) + @reference_name = args[:reference_name] if args.key?(:reference_name) + @reverse_strand = args[:reverse_strand] if args.key?(:reverse_strand) + @start = args[:start] if args.key?(:start) + @transcript = args[:transcript] if args.key?(:transcript) + @type = args[:type] if args.key?(:type) + @variant = args[:variant] if args.key?(:variant) + end + end + + # An annotation set is a logical grouping of annotations that share consistent + # type information and provenance. Examples of annotation sets include 'all + # genes from refseq', and 'all variant annotations from ClinVar'. + class AnnotationSet + include Google::Apis::Core::Hashable + + # The dataset to which this annotation set belongs. + # Corresponds to the JSON property `datasetId` + # @return [String] + attr_accessor :dataset_id + + # The server-generated annotation set ID, unique across all annotation sets. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A map of additional read alignment information. This must be of the form + # map (string key mapping to a list of string values). + # Corresponds to the JSON property `info` + # @return [Hash>] + attr_accessor :info + + # The display name for this annotation set. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The ID of the reference set that defines the coordinate space for this + # set's annotations. # Corresponds to the JSON property `referenceSetId` # @return [String] attr_accessor :reference_set_id - # The continuation token, which is used to page through large result sets. - # To get the next page of results, set this parameter to the value of - # `nextPageToken` from the previous response. - # Corresponds to the JSON property `pageToken` + # The source URI describing the file from which this annotation set was + # generated, if any. + # Corresponds to the JSON property `sourceUri` # @return [String] - attr_accessor :page_token + attr_accessor :source_uri - # The maximum number of results to return in a single page. If unspecified, - # defaults to 128. The maximum value is 1024. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - # Required. The dataset IDs to search within. Caller must have `READ` access - # to these datasets. - # Corresponds to the JSON property `datasetIds` - # @return [Array] - attr_accessor :dataset_ids - - # If specified, only annotation sets that have any of these types are - # returned. - # Corresponds to the JSON property `types` - # @return [Array] - attr_accessor :types + # The type of annotations contained within this set. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type def initialize(**args) update!(**args) @@ -129,77 +172,36 @@ module Google # Update properties of this object def update!(**args) + @dataset_id = args[:dataset_id] if args.key?(:dataset_id) + @id = args[:id] if args.key?(:id) + @info = args[:info] if args.key?(:info) @name = args[:name] if args.key?(:name) @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) - @page_token = args[:page_token] if args.key?(:page_token) - @page_size = args[:page_size] if args.key?(:page_size) - @dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids) - @types = args[:types] if args.key?(:types) - end - end - - # The read group set search response. - class SearchReadGroupSetsResponse - include Google::Apis::Core::Hashable - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of - # results. This field will be empty if there aren't any additional results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The list of matching read group sets. - # Corresponds to the JSON property `readGroupSets` - # @return [Array] - attr_accessor :read_group_sets - - 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) - @read_group_sets = args[:read_group_sets] if args.key?(:read_group_sets) + @source_uri = args[:source_uri] if args.key?(:source_uri) + @type = args[:type] if args.key?(:type) end end # - class SearchReferencesRequest + class BatchCreateAnnotationsRequest include Google::Apis::Core::Hashable - # If present, return references for which the - # md5checksum matches exactly. - # Corresponds to the JSON property `md5checksums` - # @return [Array] - attr_accessor :md5checksums + # The annotations to be created. At most 4096 can be specified in a single + # request. + # Corresponds to the JSON property `annotations` + # @return [Array] + attr_accessor :annotations - # The continuation token, which is used to page through large result sets. - # To get the next page of results, set this parameter to the value of - # `nextPageToken` from the previous response. - # Corresponds to the JSON property `pageToken` + # A unique request ID which enables the server to detect duplicated requests. + # If provided, duplicated requests will result in the same response; if not + # provided, duplicated requests may result in duplicated data. For a given + # annotation set, callers should not reuse `request_id`s when writing + # different batches of annotations - behavior in this case is undefined. + # A common approach is to use a UUID. For batch jobs where worker crashes are + # a possibility, consider using some unique variant of a worker or run ID. + # Corresponds to the JSON property `requestId` # @return [String] - attr_accessor :page_token - - # If present, return references for which a prefix of any of - # sourceAccessions match - # any of these strings. Accession numbers typically have a main number and a - # version, for example `GCF_000001405.26`. - # Corresponds to the JSON property `accessions` - # @return [Array] - attr_accessor :accessions - - # The maximum number of results to return in a single page. If unspecified, - # defaults to 1024. The maximum value is 4096. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - # If present, return only references which belong to this reference set. - # Corresponds to the JSON property `referenceSetId` - # @return [String] - attr_accessor :reference_set_id + attr_accessor :request_id def initialize(**args) update!(**args) @@ -207,40 +209,20 @@ module Google # Update properties of this object def update!(**args) - @md5checksums = args[:md5checksums] if args.key?(:md5checksums) - @page_token = args[:page_token] if args.key?(:page_token) - @accessions = args[:accessions] if args.key?(:accessions) - @page_size = args[:page_size] if args.key?(:page_size) - @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) + @annotations = args[:annotations] if args.key?(:annotations) + @request_id = args[:request_id] if args.key?(:request_id) end end - # A linear alignment can be represented by one CIGAR string. Describes the - # mapped position and local alignment of the read to the reference. - class LinearAlignment + # + class BatchCreateAnnotationsResponse include Google::Apis::Core::Hashable - # The mapping quality of this alignment. Represents how likely - # the read maps to this position as opposed to other locations. - # Specifically, this is -10 log10 Pr(mapping position is wrong), rounded to - # the nearest integer. - # Corresponds to the JSON property `mappingQuality` - # @return [Fixnum] - attr_accessor :mapping_quality - - # Represents the local alignment of this sequence (alignment matches, indels, - # etc) against the reference. - # Corresponds to the JSON property `cigar` - # @return [Array] - attr_accessor :cigar - - # An abstraction for referring to a genomic position, in relation to some - # already known reference. For now, represents a genomic position as a - # reference name, a base number on that reference (0-based), and a - # determination of forward or reverse strand. - # Corresponds to the JSON property `position` - # @return [Google::Apis::GenomicsV1::Position] - attr_accessor :position + # The resulting per-annotation entries, ordered consistently with the + # original request. + # Corresponds to the JSON property `entries` + # @return [Array] + attr_accessor :entries def initialize(**args) update!(**args) @@ -248,9 +230,285 @@ module Google # Update properties of this object def update!(**args) - @mapping_quality = args[:mapping_quality] if args.key?(:mapping_quality) - @cigar = args[:cigar] if args.key?(:cigar) - @position = args[:position] if args.key?(:position) + @entries = args[:entries] if args.key?(:entries) + end + end + + # Associates `members` with a `role`. + class Binding + include Google::Apis::Core::Hashable + + # Specifies the identities requesting access for a Cloud Platform resource. + # `members` can have the following values: + # * `allUsers`: A special identifier that represents anyone who is + # on the internet; with or without a Google account. + # * `allAuthenticatedUsers`: A special identifier that represents anyone + # who is authenticated with a Google account or a service account. + # * `user:`emailid``: An email address that represents a specific Google + # account. For example, `alice@gmail.com` or `joe@example.com`. + # * `serviceAccount:`emailid``: An email address that represents a service + # account. For example, `my-other-app@appspot.gserviceaccount.com`. + # * `group:`emailid``: An email address that represents a Google group. + # For example, `admins@example.com`. + # * `domain:`domain``: A Google Apps domain name that represents all the + # users of that domain. For example, `google.com` or `example.com`. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members + + # Role that is assigned to `members`. + # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + # Required + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @members = args[:members] if args.key?(:members) + @role = args[:role] if args.key?(:role) + end + end + + # A call set is a collection of variant calls, typically for one sample. It + # belongs to a variant set. + # For more genomics resource definitions, see [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + class CallSet + include Google::Apis::Core::Hashable + + # The date this call set was created in milliseconds from the epoch. + # Corresponds to the JSON property `created` + # @return [Fixnum] + attr_accessor :created + + # The server-generated call set ID, unique across all call sets. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A map of additional call set information. This must be of the form + # map (string key mapping to a list of string values). + # Corresponds to the JSON property `info` + # @return [Hash>] + attr_accessor :info + + # The call set name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The sample ID this call set corresponds to. + # Corresponds to the JSON property `sampleId` + # @return [String] + attr_accessor :sample_id + + # The IDs of the variant sets this call set belongs to. This field must + # have exactly length one, as a call set belongs to a single variant set. + # This field is repeated for compatibility with the + # [GA4GH 0.5.1 + # API](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/ + # variants.avdl#L76). + # Corresponds to the JSON property `variantSetIds` + # @return [Array] + attr_accessor :variant_set_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @created = args[:created] if args.key?(:created) + @id = args[:id] if args.key?(:id) + @info = args[:info] if args.key?(:info) + @name = args[:name] if args.key?(:name) + @sample_id = args[:sample_id] if args.key?(:sample_id) + @variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids) + end + end + + # The request message for Operations.CancelOperation. + class CancelOperationRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A single CIGAR operation. + class CigarUnit + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `operation` + # @return [String] + attr_accessor :operation + + # The number of genomic bases that the operation runs for. Required. + # Corresponds to the JSON property `operationLength` + # @return [Fixnum] + attr_accessor :operation_length + + # `referenceSequence` is only used at mismatches + # (`SEQUENCE_MISMATCH`) and deletions (`DELETE`). + # Filling this field replaces SAM's MD tag. If the relevant information is + # not available, this field is unset. + # Corresponds to the JSON property `referenceSequence` + # @return [String] + attr_accessor :reference_sequence + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @operation = args[:operation] if args.key?(:operation) + @operation_length = args[:operation_length] if args.key?(:operation_length) + @reference_sequence = args[:reference_sequence] if args.key?(:reference_sequence) + end + end + + # + class ClinicalCondition + include Google::Apis::Core::Hashable + + # The MedGen concept id associated with this gene. + # Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/ + # Corresponds to the JSON property `conceptId` + # @return [String] + attr_accessor :concept_id + + # The set of external IDs for this condition. + # Corresponds to the JSON property `externalIds` + # @return [Array] + attr_accessor :external_ids + + # A set of names for the condition. + # Corresponds to the JSON property `names` + # @return [Array] + attr_accessor :names + + # The OMIM id for this condition. + # Search for these IDs at http://omim.org/ + # Corresponds to the JSON property `omimId` + # @return [String] + attr_accessor :omim_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @concept_id = args[:concept_id] if args.key?(:concept_id) + @external_ids = args[:external_ids] if args.key?(:external_ids) + @names = args[:names] if args.key?(:names) + @omim_id = args[:omim_id] if args.key?(:omim_id) + end + end + + # + class CodingSequence + include Google::Apis::Core::Hashable + + # The end of the coding sequence on this annotation's reference sequence, + # 0-based exclusive. Note that this position is relative to the reference + # start, and *not* the containing annotation start. + # Corresponds to the JSON property `end` + # @return [Fixnum] + attr_accessor :end + + # The start of the coding sequence on this annotation's reference sequence, + # 0-based inclusive. Note that this position is relative to the reference + # start, and *not* the containing annotation start. + # Corresponds to the JSON property `start` + # @return [Fixnum] + attr_accessor :start + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end = args[:end] if args.key?(:end) + @start = args[:start] if args.key?(:start) + end + end + + # Describes a Compute Engine resource that is being managed by a running + # pipeline. + class ComputeEngine + include Google::Apis::Core::Hashable + + # The names of the disks that were created for this pipeline. + # Corresponds to the JSON property `diskNames` + # @return [Array] + attr_accessor :disk_names + + # The instance on which the operation is running. + # Corresponds to the JSON property `instanceName` + # @return [String] + attr_accessor :instance_name + + # The machine type of the instance. + # Corresponds to the JSON property `machineType` + # @return [String] + attr_accessor :machine_type + + # The availability zone in which the instance resides. + # Corresponds to the JSON property `zone` + # @return [String] + attr_accessor :zone + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @disk_names = args[:disk_names] if args.key?(:disk_names) + @instance_name = args[:instance_name] if args.key?(:instance_name) + @machine_type = args[:machine_type] if args.key?(:machine_type) + @zone = args[:zone] if args.key?(:zone) + end + end + + # A bucket over which read coverage has been precomputed. A bucket corresponds + # to a specific range of the reference sequence. + class CoverageBucket + include Google::Apis::Core::Hashable + + # The average number of reads which are aligned to each individual + # reference base in this bucket. + # Corresponds to the JSON property `meanCoverage` + # @return [Float] + attr_accessor :mean_coverage + + # A 0-based half-open genomic coordinate range for search requests. + # Corresponds to the JSON property `range` + # @return [Google::Apis::GenomicsV1::Range] + attr_accessor :range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @mean_coverage = args[:mean_coverage] if args.key?(:mean_coverage) + @range = args[:range] if args.key?(:range) end end @@ -260,227 +518,36 @@ module Google class Dataset include Google::Apis::Core::Hashable - # The Google Cloud project ID that this dataset belongs to. - # Corresponds to the JSON property `projectId` + # The time this dataset was created, in seconds from the epoch. + # Corresponds to the JSON property `createTime` # @return [String] - attr_accessor :project_id + attr_accessor :create_time # The server-generated dataset ID, unique across all datasets. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # The time this dataset was created, in seconds from the epoch. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - # The dataset name. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name + # The Google Cloud project ID that this dataset belongs to. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_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) - @id = args[:id] if args.key?(:id) @create_time = args[:create_time] if args.key?(:create_time) - @name = args[:name] if args.key?(:name) - end - end - - # The variant data import response. - class ImportVariantsResponse - include Google::Apis::Core::Hashable - - # IDs of the call sets created during the import. - # Corresponds to the JSON property `callSetIds` - # @return [Array] - attr_accessor :call_set_ids - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids) - end - end - - # A read group is all the data that's processed the same way by the sequencer. - class ReadGroup - include Google::Apis::Core::Hashable - - # The programs used to generate this read group. Programs are always - # identical for all read groups within a read group set. For this reason, - # only the first read group in a returned set will have this field - # populated. - # Corresponds to the JSON property `programs` - # @return [Array] - attr_accessor :programs - - # The predicted insert size of this read group. The insert size is the length - # the sequenced DNA fragment from end-to-end, not including the adapters. - # Corresponds to the JSON property `predictedInsertSize` - # @return [Fixnum] - attr_accessor :predicted_insert_size - - # A free-form text description of this read group. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # A client-supplied sample identifier for the reads in this read group. - # Corresponds to the JSON property `sampleId` - # @return [String] - attr_accessor :sample_id - - # The dataset to which this read group belongs. - # Corresponds to the JSON property `datasetId` - # @return [String] - attr_accessor :dataset_id - - # The experiment used to generate this read group. - # Corresponds to the JSON property `experiment` - # @return [Google::Apis::GenomicsV1::Experiment] - attr_accessor :experiment - - # The read group name. This corresponds to the @RG ID field in the SAM spec. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The reference set the reads in this read group are aligned to. - # Corresponds to the JSON property `referenceSetId` - # @return [String] - attr_accessor :reference_set_id - - # A map of additional read group information. This must be of the form - # map (string key mapping to a list of string values). - # Corresponds to the JSON property `info` - # @return [Hash>] - attr_accessor :info - - # The server-generated read group ID, unique for all read groups. - # Note: This is different than the @RG ID field in the SAM spec. For that - # value, see name. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @programs = args[:programs] if args.key?(:programs) - @predicted_insert_size = args[:predicted_insert_size] if args.key?(:predicted_insert_size) - @description = args[:description] if args.key?(:description) - @sample_id = args[:sample_id] if args.key?(:sample_id) - @dataset_id = args[:dataset_id] if args.key?(:dataset_id) - @experiment = args[:experiment] if args.key?(:experiment) - @name = args[:name] if args.key?(:name) - @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) - @info = args[:info] if args.key?(:info) @id = args[:id] if args.key?(:id) - end - end - - # A read group set is a logical collection of read groups, which are - # collections of reads produced by a sequencer. A read group set typically - # models reads corresponding to one sample, sequenced one way, and aligned one - # way. - # * A read group set belongs to one dataset. - # * A read group belongs to one read group set. - # * A read belongs to one read group. - # For more genomics resource definitions, see [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - class ReadGroupSet - include Google::Apis::Core::Hashable - - # The server-generated read group set ID, unique for all read group sets. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The dataset to which this read group set belongs. - # Corresponds to the JSON property `datasetId` - # @return [String] - attr_accessor :dataset_id - - # The filename of the original source file for this read group set, if any. - # Corresponds to the JSON property `filename` - # @return [String] - attr_accessor :filename - - # The read groups in this set. There are typically 1-10 read groups in a read - # group set. - # Corresponds to the JSON property `readGroups` - # @return [Array] - attr_accessor :read_groups - - # The read group set name. By default this will be initialized to the sample - # name of the sequenced data contained in this set. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The reference set to which the reads in this read group set are aligned. - # Corresponds to the JSON property `referenceSetId` - # @return [String] - attr_accessor :reference_set_id - - # A map of additional read group set information. - # Corresponds to the JSON property `info` - # @return [Hash>] - attr_accessor :info - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @dataset_id = args[:dataset_id] if args.key?(:dataset_id) - @filename = args[:filename] if args.key?(:filename) - @read_groups = args[:read_groups] if args.key?(:read_groups) @name = args[:name] if args.key?(:name) - @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) - @info = args[:info] if args.key?(:info) - end - end - - # The search variant sets response. - class SearchVariantSetsResponse - include Google::Apis::Core::Hashable - - # The variant sets belonging to the requested dataset. - # Corresponds to the JSON property `variantSets` - # @return [Array] - attr_accessor :variant_sets - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of - # results. This field will be empty if there aren't any additional results. - # 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) - @variant_sets = args[:variant_sets] if args.key?(:variant_sets) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @project_id = args[:project_id] if args.key?(:project_id) end end @@ -571,29 +638,39 @@ module Google end end - # An abstraction for referring to a genomic position, in relation to some - # already known reference. For now, represents a genomic position as a - # reference name, a base number on that reference (0-based), and a - # determination of forward or reverse strand. - class Position + # + class Exon include Google::Apis::Core::Hashable - # The 0-based offset from the start of the forward strand for that reference. - # Corresponds to the JSON property `position` + # The end position of the exon on this annotation's reference sequence, + # 0-based exclusive. Note that this is relative to the reference start, and + # *not* the containing annotation start. + # Corresponds to the JSON property `end` # @return [Fixnum] - attr_accessor :position + attr_accessor :end - # The name of the reference in whatever reference set is being used. - # Corresponds to the JSON property `referenceName` - # @return [String] - attr_accessor :reference_name + # The frame of this exon. Contains a value of 0, 1, or 2, which indicates + # the offset of the first coding base of the exon within the reading frame + # of the coding DNA sequence, if any. This field is dependent on the + # strandedness of this annotation (see + # Annotation.reverse_strand). + # For forward stranded annotations, this offset is relative to the + # exon.start. For reverse + # strand annotations, this offset is relative to the + # exon.end `- 1`. + # Unset if this exon does not intersect the coding sequence. Upon creation + # of a transcript, the frame must be populated for all or none of the + # coding exons. + # Corresponds to the JSON property `frame` + # @return [Fixnum] + attr_accessor :frame - # Whether this position is on the reverse strand, as opposed to the forward - # strand. - # Corresponds to the JSON property `reverseStrand` - # @return [Boolean] - attr_accessor :reverse_strand - alias_method :reverse_strand?, :reverse_strand + # The start position of the exon on this annotation's reference sequence, + # 0-based inclusive. Note that this is relative to the reference start, and + # **not** the containing annotation start. + # Corresponds to the JSON property `start` + # @return [Fixnum] + attr_accessor :start def initialize(**args) update!(**args) @@ -601,27 +678,41 @@ module Google # Update properties of this object def update!(**args) - @position = args[:position] if args.key?(:position) - @reference_name = args[:reference_name] if args.key?(:reference_name) - @reverse_strand = args[:reverse_strand] if args.key?(:reverse_strand) + @end = args[:end] if args.key?(:end) + @frame = args[:frame] if args.key?(:frame) + @start = args[:start] if args.key?(:start) end end # - class SearchReferenceSetsResponse + class Experiment include Google::Apis::Core::Hashable - # The matching references sets. - # Corresponds to the JSON property `referenceSets` - # @return [Array] - attr_accessor :reference_sets - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of - # results. This field will be empty if there aren't any additional results. - # Corresponds to the JSON property `nextPageToken` + # The instrument model used as part of this experiment. This maps to + # sequencing technology in the SAM spec. + # Corresponds to the JSON property `instrumentModel` # @return [String] - attr_accessor :next_page_token + attr_accessor :instrument_model + + # A client-supplied library identifier; a library is a collection of DNA + # fragments which have been prepared for sequencing from a sample. This + # field is important for quality control as error or bias can be introduced + # during sample preparation. + # Corresponds to the JSON property `libraryId` + # @return [String] + attr_accessor :library_id + + # The platform unit used as part of this experiment, for example + # flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the + # @RG PU field in the SAM spec. + # Corresponds to the JSON property `platformUnit` + # @return [String] + attr_accessor :platform_unit + + # The sequencing center used as part of this experiment. + # Corresponds to the JSON property `sequencingCenter` + # @return [String] + attr_accessor :sequencing_center def initialize(**args) update!(**args) @@ -629,39 +720,126 @@ module Google # Update properties of this object def update!(**args) - @reference_sets = args[:reference_sets] if args.key?(:reference_sets) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @instrument_model = args[:instrument_model] if args.key?(:instrument_model) + @library_id = args[:library_id] if args.key?(:library_id) + @platform_unit = args[:platform_unit] if args.key?(:platform_unit) + @sequencing_center = args[:sequencing_center] if args.key?(:sequencing_center) end end - # The call set search request. - class SearchCallSetsRequest + # The read group set export request. + class ExportReadGroupSetRequest include Google::Apis::Core::Hashable - # The continuation token, which is used to page through large result sets. - # To get the next page of results, set this parameter to the value of - # `nextPageToken` from the previous response. - # Corresponds to the JSON property `pageToken` + # Required. A Google Cloud Storage URI for the exported BAM file. + # The currently authenticated user must have write access to the new file. + # An error will be returned if the URI already contains data. + # Corresponds to the JSON property `exportUri` # @return [String] - attr_accessor :page_token + attr_accessor :export_uri - # Only return call sets for which a substring of the name matches this - # string. - # Corresponds to the JSON property `name` + # Required. The Google Cloud project ID that owns this + # export. The caller must have WRITE access to this project. + # Corresponds to the JSON property `projectId` # @return [String] - attr_accessor :name + attr_accessor :project_id - # The maximum number of results to return in a single page. If unspecified, - # defaults to 1024. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - # Restrict the query to call sets within the given variant sets. At least one - # ID must be provided. - # Corresponds to the JSON property `variantSetIds` + # The reference names to export. If this is not specified, all reference + # sequences, including unmapped reads, are exported. + # Use `*` to export only unmapped reads. + # Corresponds to the JSON property `referenceNames` # @return [Array] - attr_accessor :variant_set_ids + attr_accessor :reference_names + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @export_uri = args[:export_uri] if args.key?(:export_uri) + @project_id = args[:project_id] if args.key?(:project_id) + @reference_names = args[:reference_names] if args.key?(:reference_names) + end + end + + # The variant data export request. + class ExportVariantSetRequest + include Google::Apis::Core::Hashable + + # Required. The BigQuery dataset to export data to. This dataset must already + # exist. Note that this is distinct from the Genomics concept of "dataset". + # Corresponds to the JSON property `bigqueryDataset` + # @return [String] + attr_accessor :bigquery_dataset + + # Required. The BigQuery table to export data to. + # If the table doesn't exist, it will be created. If it already exists, it + # will be overwritten. + # Corresponds to the JSON property `bigqueryTable` + # @return [String] + attr_accessor :bigquery_table + + # If provided, only variant call information from the specified call sets + # will be exported. By default all variant calls are exported. + # Corresponds to the JSON property `callSetIds` + # @return [Array] + attr_accessor :call_set_ids + + # The format for the exported data. + # Corresponds to the JSON property `format` + # @return [String] + attr_accessor :format + + # Required. The Google Cloud project ID that owns the destination + # BigQuery dataset. The caller must have WRITE access to this project. This + # project will also own the resulting export job. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bigquery_dataset = args[:bigquery_dataset] if args.key?(:bigquery_dataset) + @bigquery_table = args[:bigquery_table] if args.key?(:bigquery_table) + @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids) + @format = args[:format] if args.key?(:format) + @project_id = args[:project_id] if args.key?(:project_id) + end + end + + # + class ExternalId + include Google::Apis::Core::Hashable + + # The id used by the source of this data. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The name of the source of this data. + # Corresponds to the JSON property `sourceName` + # @return [String] + attr_accessor :source_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @source_name = args[:source_name] if args.key?(:source_name) + end + end + + # Request message for `GetIamPolicy` method. + class GetIamPolicyRequest + include Google::Apis::Core::Hashable def initialize(**args) update!(**args) @@ -669,10 +847,6 @@ module Google # Update properties of this object def update!(**args) - @page_token = args[:page_token] if args.key?(:page_token) - @name = args[:name] if args.key?(:name) - @page_size = args[:page_size] if args.key?(:page_size) - @variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids) end end @@ -680,6 +854,18 @@ module Google class ImportReadGroupSetsRequest include Google::Apis::Core::Hashable + # Required. The ID of the dataset these read group sets will belong to. The + # caller must have WRITE permissions to this dataset. + # Corresponds to the JSON property `datasetId` + # @return [String] + attr_accessor :dataset_id + + # The partition strategy describes how read groups are partitioned into read + # group sets. + # Corresponds to the JSON property `partitionStrategy` + # @return [String] + attr_accessor :partition_strategy + # The reference set to which the imported read group sets are aligned to, if # any. The reference names of this reference set must be a superset of those # found in the imported file headers. If no reference set id is provided, a @@ -688,18 +874,6 @@ module Google # @return [String] attr_accessor :reference_set_id - # The partition strategy describes how read groups are partitioned into read - # group sets. - # Corresponds to the JSON property `partitionStrategy` - # @return [String] - attr_accessor :partition_strategy - - # Required. The ID of the dataset these read group sets will belong to. The - # caller must have WRITE permissions to this dataset. - # Corresponds to the JSON property `datasetId` - # @return [String] - attr_accessor :dataset_id - # A list of URIs pointing at [BAM # files](https://samtools.github.io/hts-specs/SAMv1.pdf) # in Google Cloud Storage. @@ -719,126 +893,18 @@ module Google # Update properties of this object def update!(**args) - @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) - @partition_strategy = args[:partition_strategy] if args.key?(:partition_strategy) @dataset_id = args[:dataset_id] if args.key?(:dataset_id) + @partition_strategy = args[:partition_strategy] if args.key?(:partition_strategy) + @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) @source_uris = args[:source_uris] if args.key?(:source_uris) end end - # Defines an Identity and Access Management (IAM) policy. It is used to - # specify access control policies for Cloud Platform resources. - # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of - # `members` to a `role`, where the members can be user accounts, Google groups, - # Google domains, and service 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:sean@example.com"] - # ` - # ] - # ` - # For a description of IAM and its features, see the - # [IAM developer's guide](https://cloud.google.com/iam). - class Policy + # The read group set import response. + class ImportReadGroupSetsResponse include Google::Apis::Core::Hashable - # `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 to perform policy updates in order to avoid race - # conditions: An `etag` is returned in the response to `getIamPolicy`, and - # systems are expected to put that etag in the request to `setIamPolicy` to - # ensure that their change will be applied to the same version of the policy. - # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. - # Corresponds to the JSON property `etag` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :etag - - # Version of the `Policy`. The default version is 0. - # Corresponds to the JSON property `version` - # @return [Fixnum] - attr_accessor :version - - # Associates a list of `members` to a `role`. - # `bindings` with no members will result in an error. - # Corresponds to the JSON property `bindings` - # @return [Array] - attr_accessor :bindings - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @etag = args[:etag] if args.key?(:etag) - @version = args[:version] if args.key?(:version) - @bindings = args[:bindings] if args.key?(:bindings) - end - end - - # The read search request. - class SearchReadsRequest - include Google::Apis::Core::Hashable - - # The IDs of the read groups within which to search for reads. All specified - # read groups must belong to the same read group sets. Must specify one of - # `readGroupSetIds` or `readGroupIds`. - # Corresponds to the JSON property `readGroupIds` - # @return [Array] - attr_accessor :read_group_ids - - # The end position of the range on the reference, 0-based exclusive. If - # specified, `referenceName` must also be specified. - # Corresponds to the JSON property `end` - # @return [Fixnum] - attr_accessor :end - - # The continuation token, which is used to page through large result sets. - # To get the next page of results, set this parameter to the value of - # `nextPageToken` from the previous response. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # The maximum number of results to return in a single page. If unspecified, - # defaults to 256. The maximum value is 2048. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - # The start position of the range on the reference, 0-based inclusive. If - # specified, `referenceName` must also be specified. - # Corresponds to the JSON property `start` - # @return [Fixnum] - attr_accessor :start - - # The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to - # `*`, only unmapped reads are returned. If unspecified, all reads (mapped - # and unmapped) are returned. - # Corresponds to the JSON property `referenceName` - # @return [String] - attr_accessor :reference_name - - # The IDs of the read groups sets within which to search for reads. All - # specified read group sets must be aligned against a common set of reference - # sequences; this defines the genomic coordinates for the query. Must specify - # one of `readGroupSetIds` or `readGroupIds`. + # IDs of the read group sets that were created. # Corresponds to the JSON property `readGroupSetIds` # @return [Array] attr_accessor :read_group_set_ids @@ -849,107 +915,52 @@ module Google # Update properties of this object def update!(**args) - @read_group_ids = args[:read_group_ids] if args.key?(:read_group_ids) - @end = args[:end] if args.key?(:end) - @page_token = args[:page_token] if args.key?(:page_token) - @page_size = args[:page_size] if args.key?(:page_size) - @start = args[:start] if args.key?(:start) - @reference_name = args[:reference_name] if args.key?(:reference_name) @read_group_set_ids = args[:read_group_set_ids] if args.key?(:read_group_set_ids) end end - # The request message for Operations.CancelOperation. - class CancelOperationRequest + # The variant data import request. + class ImportVariantsRequest include Google::Apis::Core::Hashable - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # An annotation describes a region of reference genome. The value of an - # annotation may be one of several canonical types, supplemented by arbitrary - # info tags. An annotation is not inherently associated with a specific - # sample or individual (though a client could choose to use annotations in - # this way). Example canonical annotation types are `GENE` and - # `VARIANT`. - class Annotation - include Google::Apis::Core::Hashable - - # The annotation set to which this annotation belongs. - # Corresponds to the JSON property `annotationSetId` + # The format of the variant data being imported. If unspecified, defaults to + # to `VCF`. + # Corresponds to the JSON property `format` # @return [String] - attr_accessor :annotation_set_id + attr_accessor :format - # The display name of this annotation. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name + # A mapping between info field keys and the InfoMergeOperations to + # be performed on them. This is plumbed down to the MergeVariantRequests + # generated by the resulting import job. + # Corresponds to the JSON property `infoMergeConfig` + # @return [Hash] + attr_accessor :info_merge_config - # A variant annotation, which describes the effect of a variant on the - # genome, the coding sequence, and/or higher level consequences at the - # organism level e.g. pathogenicity. This field is only set for annotations - # of type `VARIANT`. - # Corresponds to the JSON property `variant` - # @return [Google::Apis::GenomicsV1::VariantAnnotation] - attr_accessor :variant - - # The server-generated annotation ID, unique across all annotations. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The ID of the Google Genomics reference associated with this range. - # Corresponds to the JSON property `referenceId` - # @return [String] - attr_accessor :reference_id - - # Whether this range refers to the reverse strand, as opposed to the forward - # strand. Note that regardless of this field, the start/end position of the - # range always refer to the forward strand. - # Corresponds to the JSON property `reverseStrand` + # Convert reference names to the canonical representation. + # hg19 haploytypes (those reference names containing "_hap") + # are not modified in any way. + # All other reference names are modified according to the following rules: + # The reference name is capitalized. + # The "chr" prefix is dropped for all autosomes and sex chromsomes. + # For example "chr17" becomes "17" and "chrX" becomes "X". + # All mitochondrial chromosomes ("chrM", "chrMT", etc) become "MT". + # Corresponds to the JSON property `normalizeReferenceNames` # @return [Boolean] - attr_accessor :reverse_strand - alias_method :reverse_strand?, :reverse_strand + attr_accessor :normalize_reference_names + alias_method :normalize_reference_names?, :normalize_reference_names - # The display name corresponding to the reference specified by - # `referenceId`, for example `chr1`, `1`, or `chrX`. - # Corresponds to the JSON property `referenceName` + # A list of URIs referencing variant files in Google Cloud Storage. URIs can + # include wildcards [as described + # here](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames). + # Note that recursive wildcards ('**') are not supported. + # Corresponds to the JSON property `sourceUris` + # @return [Array] + attr_accessor :source_uris + + # Required. The variant set to which variant data should be imported. + # Corresponds to the JSON property `variantSetId` # @return [String] - attr_accessor :reference_name - - # The data type for this annotation. Must match the containing annotation - # set's type. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # A map of additional read alignment information. This must be of the form - # map (string key mapping to a list of string values). - # Corresponds to the JSON property `info` - # @return [Hash>] - attr_accessor :info - - # The end position of the range on the reference, 0-based exclusive. - # Corresponds to the JSON property `end` - # @return [Fixnum] - attr_accessor :end - - # A transcript represents the assertion that a particular region of the - # reference genome may be transcribed as RNA. - # Corresponds to the JSON property `transcript` - # @return [Google::Apis::GenomicsV1::Transcript] - attr_accessor :transcript - - # The start position of the range on the reference, 0-based inclusive. - # Corresponds to the JSON property `start` - # @return [Fixnum] - attr_accessor :start + attr_accessor :variant_set_id def initialize(**args) update!(**args) @@ -957,32 +968,22 @@ module Google # Update properties of this object def update!(**args) - @annotation_set_id = args[:annotation_set_id] if args.key?(:annotation_set_id) - @name = args[:name] if args.key?(:name) - @variant = args[:variant] if args.key?(:variant) - @id = args[:id] if args.key?(:id) - @reference_id = args[:reference_id] if args.key?(:reference_id) - @reverse_strand = args[:reverse_strand] if args.key?(:reverse_strand) - @reference_name = args[:reference_name] if args.key?(:reference_name) - @type = args[:type] if args.key?(:type) - @info = args[:info] if args.key?(:info) - @end = args[:end] if args.key?(:end) - @transcript = args[:transcript] if args.key?(:transcript) - @start = args[:start] if args.key?(:start) + @format = args[:format] if args.key?(:format) + @info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config) + @normalize_reference_names = args[:normalize_reference_names] if args.key?(:normalize_reference_names) + @source_uris = args[:source_uris] if args.key?(:source_uris) + @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id) end end - # Runtime metadata that will be populated in the - # runtimeMetadata - # field of the Operation associated with a RunPipeline execution. - class RuntimeMetadata + # The variant data import response. + class ImportVariantsResponse include Google::Apis::Core::Hashable - # Describes a Compute Engine resource that is being managed by a running - # pipeline. - # Corresponds to the JSON property `computeEngine` - # @return [Google::Apis::GenomicsV1::ComputeEngine] - attr_accessor :compute_engine + # IDs of the call sets created during the import. + # Corresponds to the JSON property `callSetIds` + # @return [Array] + attr_accessor :call_set_ids def initialize(**args) update!(**args) @@ -990,7 +991,204 @@ module Google # Update properties of this object def update!(**args) - @compute_engine = args[:compute_engine] if args.key?(:compute_engine) + @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids) + end + end + + # A linear alignment can be represented by one CIGAR string. Describes the + # mapped position and local alignment of the read to the reference. + class LinearAlignment + include Google::Apis::Core::Hashable + + # Represents the local alignment of this sequence (alignment matches, indels, + # etc) against the reference. + # Corresponds to the JSON property `cigar` + # @return [Array] + attr_accessor :cigar + + # The mapping quality of this alignment. Represents how likely + # the read maps to this position as opposed to other locations. + # Specifically, this is -10 log10 Pr(mapping position is wrong), rounded to + # the nearest integer. + # Corresponds to the JSON property `mappingQuality` + # @return [Fixnum] + attr_accessor :mapping_quality + + # An abstraction for referring to a genomic position, in relation to some + # already known reference. For now, represents a genomic position as a + # reference name, a base number on that reference (0-based), and a + # determination of forward or reverse strand. + # Corresponds to the JSON property `position` + # @return [Google::Apis::GenomicsV1::Position] + attr_accessor :position + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cigar = args[:cigar] if args.key?(:cigar) + @mapping_quality = args[:mapping_quality] if args.key?(:mapping_quality) + @position = args[:position] if args.key?(:position) + end + end + + # + class ListBasesResponse + include Google::Apis::Core::Hashable + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The offset position (0-based) of the given `sequence` from the + # start of this `Reference`. This value will differ for each page + # in a paginated request. + # Corresponds to the JSON property `offset` + # @return [Fixnum] + attr_accessor :offset + + # A substring of the bases that make up this reference. + # Corresponds to the JSON property `sequence` + # @return [String] + attr_accessor :sequence + + 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) + @offset = args[:offset] if args.key?(:offset) + @sequence = args[:sequence] if args.key?(:sequence) + end + end + + # + class ListCoverageBucketsResponse + include Google::Apis::Core::Hashable + + # The length of each coverage bucket in base pairs. Note that buckets at the + # end of a reference sequence may be shorter. This value is omitted if the + # bucket width is infinity (the default behaviour, with no range or + # `targetBucketWidth`). + # Corresponds to the JSON property `bucketWidth` + # @return [Fixnum] + attr_accessor :bucket_width + + # The coverage buckets. The list of buckets is sparse; a bucket with 0 + # overlapping reads is not returned. A bucket never crosses more than one + # reference sequence. Each bucket has width `bucketWidth`, unless + # its end is the end of the reference sequence. + # Corresponds to the JSON property `coverageBuckets` + # @return [Array] + attr_accessor :coverage_buckets + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # 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) + @bucket_width = args[:bucket_width] if args.key?(:bucket_width) + @coverage_buckets = args[:coverage_buckets] if args.key?(:coverage_buckets) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The dataset list response. + class ListDatasetsResponse + include Google::Apis::Core::Hashable + + # The list of matching Datasets. + # Corresponds to the JSON property `datasets` + # @return [Array] + attr_accessor :datasets + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # 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) + @datasets = args[:datasets] if args.key?(:datasets) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The response message for Operations.ListOperations. + class ListOperationsResponse + include Google::Apis::Core::Hashable + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + 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) + @operations = args[:operations] if args.key?(:operations) + end + end + + # + class MergeVariantsRequest + include Google::Apis::Core::Hashable + + # A mapping between info field keys and the InfoMergeOperations to + # be performed on them. + # Corresponds to the JSON property `infoMergeConfig` + # @return [Hash] + attr_accessor :info_merge_config + + # The destination variant set. + # Corresponds to the JSON property `variantSetId` + # @return [String] + attr_accessor :variant_set_id + + # The variants to be merged with existing variants. + # Corresponds to the JSON property `variants` + # @return [Array] + attr_accessor :variants + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config) + @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id) + @variants = args[:variants] if args.key?(:variants) end end @@ -999,6 +1197,14 @@ module Google class Operation include Google::Apis::Core::Hashable + # 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: @@ -1047,13 +1253,12 @@ module Google # @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 server-assigned name, which is only unique within the same service that + # originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL- + # qzoWAgEw` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name # If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If # importing Variants, an ImportVariantsResponse is returned. For pipelines and @@ -1062,388 +1267,39 @@ module Google # @return [Hash] attr_accessor :response - # The server-assigned name, which is only unique within the same service that - # originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL- - # qzoWAgEw` - # 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) + @done = args[:done] if args.key?(:done) @error = args[:error] if args.key?(:error) @metadata = args[:metadata] if args.key?(:metadata) - @done = args[:done] if args.key?(:done) - @response = args[:response] if args.key?(:response) @name = args[:name] if args.key?(:name) + @response = args[:response] if args.key?(:response) end end - # The read group set import response. - class ImportReadGroupSetsResponse + # An event that occurred during an Operation. + class OperationEvent include Google::Apis::Core::Hashable - # IDs of the read group sets that were created. - # Corresponds to the JSON property `readGroupSetIds` - # @return [Array] - attr_accessor :read_group_set_ids - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @read_group_set_ids = args[:read_group_set_ids] if args.key?(:read_group_set_ids) - end - end - - # A call represents the determination of genotype with respect to a particular - # variant. It may include associated information such as quality and phasing. - # For example, a call might assign a probability of 0.32 to the occurrence of - # a SNP named rs1234 in a call set with the name NA12345. - class VariantCall - include Google::Apis::Core::Hashable - - # A map of additional variant call information. This must be of the form - # map (string key mapping to a list of string values). - # Corresponds to the JSON property `info` - # @return [Hash>] - attr_accessor :info - - # The name of the call set this variant call belongs to. - # Corresponds to the JSON property `callSetName` - # @return [String] - attr_accessor :call_set_name - - # The genotype likelihoods for this variant call. Each array entry - # represents how likely a specific genotype is for this call. The value - # ordering is defined by the GL tag in the VCF spec. - # If Phred-scaled genotype likelihood scores (PL) are available and - # log10(P) genotype likelihood scores (GL) are not, PL scores are converted - # to GL scores. If both are available, PL scores are stored in `info`. - # Corresponds to the JSON property `genotypeLikelihood` - # @return [Array] - attr_accessor :genotype_likelihood - - # The ID of the call set this variant call belongs to. - # Corresponds to the JSON property `callSetId` - # @return [String] - attr_accessor :call_set_id - - # The genotype of this variant call. Each value represents either the value - # of the `referenceBases` field or a 1-based index into - # `alternateBases`. If a variant had a `referenceBases` - # value of `T` and an `alternateBases` - # value of `["A", "C"]`, and the `genotype` was - # `[2, 1]`, that would mean the call - # represented the heterozygous value `CA` for this variant. - # If the `genotype` was instead `[0, 1]`, the - # represented value would be `TA`. Ordering of the - # genotype values is important if the `phaseset` is present. - # If a genotype is not called (that is, a `.` is present in the - # GT string) -1 is returned. - # Corresponds to the JSON property `genotype` - # @return [Array] - attr_accessor :genotype - - # If this field is present, this variant call's genotype ordering implies - # the phase of the bases and is consistent with any other variant calls in - # the same reference sequence which have the same phaseset value. - # When importing data from VCF, if the genotype data was phased but no - # phase set was specified this field will be set to `*`. - # Corresponds to the JSON property `phaseset` - # @return [String] - attr_accessor :phaseset - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @info = args[:info] if args.key?(:info) - @call_set_name = args[:call_set_name] if args.key?(:call_set_name) - @genotype_likelihood = args[:genotype_likelihood] if args.key?(:genotype_likelihood) - @call_set_id = args[:call_set_id] if args.key?(:call_set_id) - @genotype = args[:genotype] if args.key?(:genotype) - @phaseset = args[:phaseset] if args.key?(:phaseset) - end - end - - # The variant search response. - class SearchVariantsResponse - include Google::Apis::Core::Hashable - - # The list of matching Variants. - # Corresponds to the JSON property `variants` - # @return [Array] - attr_accessor :variants - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of - # results. This field will be empty if there aren't any additional results. - # 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) - @variants = args[:variants] if args.key?(:variants) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # - class ListBasesResponse - include Google::Apis::Core::Hashable - - # A substring of the bases that make up this reference. - # Corresponds to the JSON property `sequence` - # @return [String] - attr_accessor :sequence - - # The offset position (0-based) of the given `sequence` from the - # start of this `Reference`. This value will differ for each page - # in a paginated request. - # Corresponds to the JSON property `offset` - # @return [Fixnum] - attr_accessor :offset - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of - # results. This field will be empty if there aren't any additional results. - # 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) - @sequence = args[:sequence] if args.key?(:sequence) - @offset = args[:offset] if args.key?(:offset) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - 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` that 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. - # - 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 - - # A list of messages that carry the error details. There is a common set of - # message types for APIs to use. - # Corresponds to the JSON property `details` - # @return [Array>] - attr_accessor :details - - # 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 - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @details = args[:details] if args.key?(:details) - @code = args[:code] if args.key?(:code) - @message = args[:message] if args.key?(:message) - end - end - - # Associates `members` with a `role`. - class Binding - include Google::Apis::Core::Hashable - - # Specifies the identities requesting access for a Cloud Platform resource. - # `members` can have the following values: - # * `allUsers`: A special identifier that represents anyone who is - # on the internet; with or without a Google account. - # * `allAuthenticatedUsers`: A special identifier that represents anyone - # who is authenticated with a Google account or a service account. - # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@gmail.com` or `joe@example.com`. - # * `serviceAccount:`emailid``: An email address that represents a service - # account. For example, `my-other-app@appspot.gserviceaccount.com`. - # * `group:`emailid``: An email address that represents a Google group. - # For example, `admins@example.com`. - # * `domain:`domain``: A Google Apps domain name that represents all the - # users of that domain. For example, `google.com` or `example.com`. - # Corresponds to the JSON property `members` - # @return [Array] - attr_accessor :members - - # Role that is assigned to `members`. - # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. - # Required - # Corresponds to the JSON property `role` - # @return [String] - attr_accessor :role - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @members = args[:members] if args.key?(:members) - @role = args[:role] if args.key?(:role) - end - end - - # - class UndeleteDatasetRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # A 0-based half-open genomic coordinate range for search requests. - class Range - include Google::Apis::Core::Hashable - - # The reference sequence name, for example `chr1`, - # `1`, or `chrX`. - # Corresponds to the JSON property `referenceName` - # @return [String] - attr_accessor :reference_name - - # The start position of the range on the reference, 0-based inclusive. - # Corresponds to the JSON property `start` - # @return [Fixnum] - attr_accessor :start - - # The end position of the range on the reference, 0-based exclusive. - # Corresponds to the JSON property `end` - # @return [Fixnum] - attr_accessor :end - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @reference_name = args[:reference_name] if args.key?(:reference_name) - @start = args[:start] if args.key?(:start) - @end = args[:end] if args.key?(:end) - end - end - - # A variant set is a collection of call sets and variants. It contains summary - # statistics of those contents. A variant set belongs to a dataset. - # For more genomics resource definitions, see [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - class VariantSet - include Google::Apis::Core::Hashable - - # The metadata associated with this variant set. - # Corresponds to the JSON property `metadata` - # @return [Array] - attr_accessor :metadata - - # A list of all references used by the variants in a variant set - # with associated coordinate upper bounds for each one. - # Corresponds to the JSON property `referenceBounds` - # @return [Array] - attr_accessor :reference_bounds - - # The server-generated variant set ID, unique across all variant sets. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # A textual description of this variant set. + # Required description of event. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # The dataset to which this variant set belongs. - # Corresponds to the JSON property `datasetId` + # Optional time of when event finished. An event can have a start time and no + # finish time. If an event has a finish time, there must be a start time. + # Corresponds to the JSON property `endTime` # @return [String] - attr_accessor :dataset_id + attr_accessor :end_time - # User-specified, mutable name. - # Corresponds to the JSON property `name` + # Optional time of when event started. + # Corresponds to the JSON property `startTime` # @return [String] - attr_accessor :name - - # The reference set to which the variant set is mapped. The reference set - # describes the alignment provenance of the variant set, while the - # `referenceBounds` describe the shape of the actual variant data. The - # reference set's reference names are a superset of those found in the - # `referenceBounds`. - # For example, given a variant set that is mapped to the GRCh38 reference set - # and contains a single variant on reference 'X', `referenceBounds` would - # contain only an entry for 'X', while the associated reference set - # enumerates all possible references: '1', '2', 'X', 'Y', 'MT', etc. - # Corresponds to the JSON property `referenceSetId` - # @return [String] - attr_accessor :reference_set_id + attr_accessor :start_time def initialize(**args) update!(**args) @@ -1451,301 +1307,9 @@ module Google # Update properties of this object def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @reference_bounds = args[:reference_bounds] if args.key?(:reference_bounds) - @id = args[:id] if args.key?(:id) @description = args[:description] if args.key?(:description) - @dataset_id = args[:dataset_id] if args.key?(:dataset_id) - @name = args[:name] if args.key?(:name) - @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) - end - end - - # ReferenceBound records an upper bound for the starting coordinate of - # variants in a particular reference. - class ReferenceBound - include Google::Apis::Core::Hashable - - # An upper bound (inclusive) on the starting coordinate of any - # variant in the reference sequence. - # Corresponds to the JSON property `upperBound` - # @return [Fixnum] - attr_accessor :upper_bound - - # The name of the reference associated with this reference bound. - # Corresponds to the JSON property `referenceName` - # @return [String] - attr_accessor :reference_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @upper_bound = args[:upper_bound] if args.key?(:upper_bound) - @reference_name = args[:reference_name] if args.key?(:reference_name) - end - end - - # - class BatchCreateAnnotationsResponse - include Google::Apis::Core::Hashable - - # The resulting per-annotation entries, ordered consistently with the - # original request. - # Corresponds to the JSON property `entries` - # @return [Array] - attr_accessor :entries - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @entries = args[:entries] if args.key?(:entries) - end - end - - # The call set search response. - class SearchCallSetsResponse - include Google::Apis::Core::Hashable - - # The list of matching call sets. - # Corresponds to the JSON property `callSets` - # @return [Array] - attr_accessor :call_sets - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of - # results. This field will be empty if there aren't any additional results. - # 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) - @call_sets = args[:call_sets] if args.key?(:call_sets) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # A variant represents a change in DNA sequence relative to a reference - # sequence. For example, a variant could represent a SNP or an insertion. - # Variants belong to a variant set. - # For more genomics resource definitions, see [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # Each of the calls on a variant represent a determination of genotype with - # respect to that variant. For example, a call might assign probability of 0.32 - # to the occurrence of a SNP named rs1234 in a sample named NA12345. A call - # belongs to a call set, which contains related calls typically from one - # sample. - class Variant - include Google::Apis::Core::Hashable - - # The ID of the variant set this variant belongs to. - # Corresponds to the JSON property `variantSetId` - # @return [String] - attr_accessor :variant_set_id - - # The reference on which this variant occurs. - # (such as `chr20` or `X`) - # Corresponds to the JSON property `referenceName` - # @return [String] - attr_accessor :reference_name - - # A map of additional variant information. This must be of the form - # map (string key mapping to a list of string values). - # Corresponds to the JSON property `info` - # @return [Hash>] - attr_accessor :info - - # The reference bases for this variant. They start at the given - # position. - # Corresponds to the JSON property `referenceBases` - # @return [String] - attr_accessor :reference_bases - - # Names for the variant, for example a RefSNP ID. - # Corresponds to the JSON property `names` - # @return [Array] - attr_accessor :names - - # The bases that appear instead of the reference bases. - # Corresponds to the JSON property `alternateBases` - # @return [Array] - attr_accessor :alternate_bases - - # The end position (0-based) of this variant. This corresponds to the first - # base after the last base in the reference allele. So, the length of - # the reference allele is (end - start). This is useful for variants - # that don't explicitly give alternate bases, for example large deletions. - # Corresponds to the JSON property `end` - # @return [Fixnum] - attr_accessor :end - - # A list of filters (normally quality filters) this variant has failed. - # `PASS` indicates this variant has passed all filters. - # Corresponds to the JSON property `filter` - # @return [Array] - attr_accessor :filter - - # The variant calls for this particular variant. Each one represents the - # determination of genotype with respect to this variant. - # Corresponds to the JSON property `calls` - # @return [Array] - attr_accessor :calls - - # The date this variant was created, in milliseconds from the epoch. - # Corresponds to the JSON property `created` - # @return [Fixnum] - attr_accessor :created - - # The position at which this variant occurs (0-based). - # This corresponds to the first base of the string of reference bases. - # Corresponds to the JSON property `start` - # @return [Fixnum] - attr_accessor :start - - # A measure of how likely this variant is to be real. - # A higher value is better. - # Corresponds to the JSON property `quality` - # @return [Float] - attr_accessor :quality - - # The server-generated variant ID, unique across all variants. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id) - @reference_name = args[:reference_name] if args.key?(:reference_name) - @info = args[:info] if args.key?(:info) - @reference_bases = args[:reference_bases] if args.key?(:reference_bases) - @names = args[:names] if args.key?(:names) - @alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases) - @end = args[:end] if args.key?(:end) - @filter = args[:filter] if args.key?(:filter) - @calls = args[:calls] if args.key?(:calls) - @created = args[:created] if args.key?(:created) - @start = args[:start] if args.key?(:start) - @quality = args[:quality] if args.key?(:quality) - @id = args[:id] if args.key?(:id) - end - end - - # The response message for Operations.ListOperations. - class ListOperationsResponse - include Google::Apis::Core::Hashable - - # The standard List next-page token. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # A list of operations that matches the specified filter in the request. - # Corresponds to the JSON property `operations` - # @return [Array] - attr_accessor :operations - - 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) - @operations = args[:operations] if args.key?(:operations) - end - end - - # The variant search request. - class SearchVariantsRequest - include Google::Apis::Core::Hashable - - # Only return variant calls which belong to call sets with these ids. - # Leaving this blank returns all variant calls. If a variant has no - # calls belonging to any of these call sets, it won't be returned at all. - # Corresponds to the JSON property `callSetIds` - # @return [Array] - attr_accessor :call_set_ids - - # Only return variants which have exactly this name. - # Corresponds to the JSON property `variantName` - # @return [String] - attr_accessor :variant_name - - # The beginning of the window (0-based, inclusive) for which - # overlapping variants should be returned. If unspecified, defaults to 0. - # Corresponds to the JSON property `start` - # @return [Fixnum] - attr_accessor :start - - # Required. Only return variants in this reference sequence. - # Corresponds to the JSON property `referenceName` - # @return [String] - attr_accessor :reference_name - - # At most one variant set ID must be provided. Only variants from this - # variant set will be returned. If omitted, a call set id must be included in - # the request. - # Corresponds to the JSON property `variantSetIds` - # @return [Array] - attr_accessor :variant_set_ids - - # The end of the window, 0-based exclusive. If unspecified or 0, defaults to - # the length of the reference. - # Corresponds to the JSON property `end` - # @return [Fixnum] - attr_accessor :end - - # The maximum number of calls to return in a single page. Note that this - # limit may be exceeded in the event that a matching variant contains more - # calls than the requested maximum. If unspecified, defaults to 5000. The - # maximum value is 10000. - # Corresponds to the JSON property `maxCalls` - # @return [Fixnum] - attr_accessor :max_calls - - # The continuation token, which is used to page through large result sets. - # To get the next page of results, set this parameter to the value of - # `nextPageToken` from the previous response. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # The maximum number of variants to return in a single page. If unspecified, - # defaults to 5000. The maximum value is 10000. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids) - @variant_name = args[:variant_name] if args.key?(:variant_name) - @start = args[:start] if args.key?(:start) - @reference_name = args[:reference_name] if args.key?(:reference_name) - @variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids) - @end = args[:end] if args.key?(:end) - @max_calls = args[:max_calls] if args.key?(:max_calls) - @page_token = args[:page_token] if args.key?(:page_token) - @page_size = args[:page_size] if args.key?(:page_size) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) end end @@ -1753,10 +1317,39 @@ module Google class OperationMetadata include Google::Apis::Core::Hashable - # The time at which the job began to run. - # Corresponds to the JSON property `startTime` + # This field is deprecated. Use `labels` instead. Optionally provided by the + # caller when submitting the request that creates the operation. + # Corresponds to the JSON property `clientId` # @return [String] - attr_accessor :start_time + attr_accessor :client_id + + # The time at which the job was submitted to the Genomics service. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # The time at which the job stopped running. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # Optional event messages that were generated during the job's execution. + # This also contains any warnings that were generated during import + # or export. + # Corresponds to the JSON property `events` + # @return [Array] + attr_accessor :events + + # Optionally provided by the caller when submitting the request that creates + # the operation. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # The Google Cloud Project in which the job is scoped. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id # The original request that started the operation. Note that this will be in # current version of the API. If the operation was started with v1beta2 API @@ -1770,39 +1363,10 @@ module Google # @return [Hash] attr_accessor :runtime_metadata - # Optionally provided by the caller when submitting the request that creates - # the operation. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # The time at which the job was submitted to the Genomics service. - # Corresponds to the JSON property `createTime` + # The time at which the job began to run. + # Corresponds to the JSON property `startTime` # @return [String] - attr_accessor :create_time - - # The Google Cloud Project in which the job is scoped. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # This field is deprecated. Use `labels` instead. Optionally provided by the - # caller when submitting the request that creates the operation. - # Corresponds to the JSON property `clientId` - # @return [String] - attr_accessor :client_id - - # Optional event messages that were generated during the job's execution. - # This also contains any warnings that were generated during import - # or export. - # Corresponds to the JSON property `events` - # @return [Array] - attr_accessor :events - - # The time at which the job stopped running. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time + attr_accessor :start_time def initialize(**args) update!(**args) @@ -1810,46 +1374,71 @@ module Google # Update properties of this object def update!(**args) - @start_time = args[:start_time] if args.key?(:start_time) + @client_id = args[:client_id] if args.key?(:client_id) + @create_time = args[:create_time] if args.key?(:create_time) + @end_time = args[:end_time] if args.key?(:end_time) + @events = args[:events] if args.key?(:events) + @labels = args[:labels] if args.key?(:labels) + @project_id = args[:project_id] if args.key?(:project_id) @request = args[:request] if args.key?(:request) @runtime_metadata = args[:runtime_metadata] if args.key?(:runtime_metadata) - @labels = args[:labels] if args.key?(:labels) - @create_time = args[:create_time] if args.key?(:create_time) - @project_id = args[:project_id] if args.key?(:project_id) - @client_id = args[:client_id] if args.key?(:client_id) - @events = args[:events] if args.key?(:events) - @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) end end - # The read group set search request. - class SearchReadGroupSetsRequest + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service 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:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + class Policy include Google::Apis::Core::Hashable - # The continuation token, which is used to page through large result sets. - # To get the next page of results, set this parameter to the value of - # `nextPageToken` from the previous response. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token + # Associates a list of `members` to a `role`. + # `bindings` with no members will result in an error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings - # Only return read group sets for which a substring of the name matches this - # string. - # Corresponds to the JSON property `name` + # `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 to perform policy updates in order to avoid race + # conditions: An `etag` is returned in the response to `getIamPolicy`, and + # systems are expected to put that etag in the request to `setIamPolicy` to + # ensure that their change will be applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] - attr_accessor :name + attr_accessor :etag - # The maximum number of results to return in a single page. If unspecified, - # defaults to 256. The maximum value is 1024. - # Corresponds to the JSON property `pageSize` + # Version of the `Policy`. The default version is 0. + # Corresponds to the JSON property `version` # @return [Fixnum] - attr_accessor :page_size - - # Restricts this query to read group sets within the given datasets. At least - # one ID must be provided. - # Corresponds to the JSON property `datasetIds` - # @return [Array] - attr_accessor :dataset_ids + attr_accessor :version def initialize(**args) update!(**args) @@ -1857,28 +1446,35 @@ module Google # Update properties of this object def update!(**args) - @page_token = args[:page_token] if args.key?(:page_token) - @name = args[:name] if args.key?(:name) - @page_size = args[:page_size] if args.key?(:page_size) - @dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids) + @bindings = args[:bindings] if args.key?(:bindings) + @etag = args[:etag] if args.key?(:etag) + @version = args[:version] if args.key?(:version) end end - # - class SearchAnnotationsResponse + # An abstraction for referring to a genomic position, in relation to some + # already known reference. For now, represents a genomic position as a + # reference name, a base number on that reference (0-based), and a + # determination of forward or reverse strand. + class Position include Google::Apis::Core::Hashable - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of - # results. This field will be empty if there aren't any additional results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token + # The 0-based offset from the start of the forward strand for that reference. + # Corresponds to the JSON property `position` + # @return [Fixnum] + attr_accessor :position - # The matching annotations. - # Corresponds to the JSON property `annotations` - # @return [Array] - attr_accessor :annotations + # The name of the reference in whatever reference set is being used. + # Corresponds to the JSON property `referenceName` + # @return [String] + attr_accessor :reference_name + + # Whether this position is on the reverse strand, as opposed to the forward + # strand. + # Corresponds to the JSON property `reverseStrand` + # @return [Boolean] + attr_accessor :reverse_strand + alias_method :reverse_strand?, :reverse_strand def initialize(**args) update!(**args) @@ -1886,77 +1482,9 @@ module Google # Update properties of this object def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @annotations = args[:annotations] if args.key?(:annotations) - end - end - - # - class ClinicalCondition - include Google::Apis::Core::Hashable - - # The OMIM id for this condition. - # Search for these IDs at http://omim.org/ - # Corresponds to the JSON property `omimId` - # @return [String] - attr_accessor :omim_id - - # The set of external IDs for this condition. - # Corresponds to the JSON property `externalIds` - # @return [Array] - attr_accessor :external_ids - - # The MedGen concept id associated with this gene. - # Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/ - # Corresponds to the JSON property `conceptId` - # @return [String] - attr_accessor :concept_id - - # A set of names for the condition. - # Corresponds to the JSON property `names` - # @return [Array] - attr_accessor :names - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @omim_id = args[:omim_id] if args.key?(:omim_id) - @external_ids = args[:external_ids] if args.key?(:external_ids) - @concept_id = args[:concept_id] if args.key?(:concept_id) - @names = args[:names] if args.key?(:names) - end - end - - # The read search response. - class SearchReadsResponse - include Google::Apis::Core::Hashable - - # The list of matching alignments sorted by mapped genomic coordinate, - # if any, ascending in position within the same reference. Unmapped reads, - # which have no position, are returned contiguously and are sorted in - # ascending lexicographic order by fragment name. - # Corresponds to the JSON property `alignments` - # @return [Array] - attr_accessor :alignments - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of - # results. This field will be empty if there aren't any additional results. - # 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) - @alignments = args[:alignments] if args.key?(:alignments) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @position = args[:position] if args.key?(:position) + @reference_name = args[:reference_name] if args.key?(:reference_name) + @reverse_strand = args[:reverse_strand] if args.key?(:reverse_strand) end end @@ -1964,6 +1492,17 @@ module Google class Program include Google::Apis::Core::Hashable + # The command line used to run this program. + # Corresponds to the JSON property `commandLine` + # @return [String] + attr_accessor :command_line + + # The user specified locally unique ID of the program. Used along with + # `prevProgramId` to define an ordering between programs. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + # The display name of the program. This is typically the colloquial name of # the tool used, for example 'bwa' or 'picard'. # Corresponds to the JSON property `name` @@ -1975,271 +1514,44 @@ module Google # @return [String] attr_accessor :prev_program_id - # The command line used to run this program. - # Corresponds to the JSON property `commandLine` - # @return [String] - attr_accessor :command_line - # The version of the program run. # Corresponds to the JSON property `version` # @return [String] attr_accessor :version - # The user specified locally unique ID of the program. Used along with - # `prevProgramId` to define an ordering between programs. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @command_line = args[:command_line] if args.key?(:command_line) + @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) @prev_program_id = args[:prev_program_id] if args.key?(:prev_program_id) - @command_line = args[:command_line] if args.key?(:command_line) @version = args[:version] if args.key?(:version) - @id = args[:id] if args.key?(:id) end end - # Describes a Compute Engine resource that is being managed by a running - # pipeline. - class ComputeEngine + # A 0-based half-open genomic coordinate range for search requests. + class Range include Google::Apis::Core::Hashable - # The names of the disks that were created for this pipeline. - # Corresponds to the JSON property `diskNames` - # @return [Array] - attr_accessor :disk_names - - # The machine type of the instance. - # Corresponds to the JSON property `machineType` - # @return [String] - attr_accessor :machine_type - - # The instance on which the operation is running. - # Corresponds to the JSON property `instanceName` - # @return [String] - attr_accessor :instance_name - - # The availability zone in which the instance resides. - # Corresponds to the JSON property `zone` - # @return [String] - attr_accessor :zone - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @disk_names = args[:disk_names] if args.key?(:disk_names) - @machine_type = args[:machine_type] if args.key?(:machine_type) - @instance_name = args[:instance_name] if args.key?(:instance_name) - @zone = args[:zone] if args.key?(:zone) - end - end - - # A bucket over which read coverage has been precomputed. A bucket corresponds - # to a specific range of the reference sequence. - class CoverageBucket - include Google::Apis::Core::Hashable - - # A 0-based half-open genomic coordinate range for search requests. - # Corresponds to the JSON property `range` - # @return [Google::Apis::GenomicsV1::Range] - attr_accessor :range - - # The average number of reads which are aligned to each individual - # reference base in this bucket. - # Corresponds to the JSON property `meanCoverage` - # @return [Float] - attr_accessor :mean_coverage - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @range = args[:range] if args.key?(:range) - @mean_coverage = args[:mean_coverage] if args.key?(:mean_coverage) - end - end - - # - class ExternalId - include Google::Apis::Core::Hashable - - # The id used by the source of this data. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The name of the source of this data. - # Corresponds to the JSON property `sourceName` - # @return [String] - attr_accessor :source_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @source_name = args[:source_name] if args.key?(:source_name) - end - end - - # The search variant sets request. - class SearchVariantSetsRequest - include Google::Apis::Core::Hashable - - # The continuation token, which is used to page through large result sets. - # To get the next page of results, set this parameter to the value of - # `nextPageToken` from the previous response. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # The maximum number of results to return in a single page. If unspecified, - # defaults to 1024. - # Corresponds to the JSON property `pageSize` + # The end position of the range on the reference, 0-based exclusive. + # Corresponds to the JSON property `end` # @return [Fixnum] - attr_accessor :page_size + attr_accessor :end - # Exactly one dataset ID must be provided here. Only variant sets which - # belong to this dataset will be returned. - # Corresponds to the JSON property `datasetIds` - # @return [Array] - attr_accessor :dataset_ids - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @page_token = args[:page_token] if args.key?(:page_token) - @page_size = args[:page_size] if args.key?(:page_size) - @dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids) - end - end - - # Metadata describes a single piece of variant call metadata. - # These data include a top level key and either a single value string (value) - # or a list of key-value pairs (info.) - # Value and info are mutually exclusive. - class VariantSetMetadata - include Google::Apis::Core::Hashable - - # The value field for simple metadata - # Corresponds to the JSON property `value` + # The reference sequence name, for example `chr1`, + # `1`, or `chrX`. + # Corresponds to the JSON property `referenceName` # @return [String] - attr_accessor :value + attr_accessor :reference_name - # User-provided ID field, not enforced by this API. - # Two or more pieces of structured metadata with identical - # id and key fields are considered equivalent. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The number of values that can be included in a field described by this - # metadata. - # Corresponds to the JSON property `number` - # @return [String] - attr_accessor :number - - # The top-level key. - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key - - # A textual description of this metadata. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Remaining structured metadata key-value pairs. This must be of the form - # map (string key mapping to a list of string values). - # Corresponds to the JSON property `info` - # @return [Hash>] - attr_accessor :info - - # The type of data. Possible types include: Integer, Float, - # Flag, Character, and String. - # 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) - @id = args[:id] if args.key?(:id) - @number = args[:number] if args.key?(:number) - @key = args[:key] if args.key?(:key) - @description = args[:description] if args.key?(:description) - @info = args[:info] if args.key?(:info) - @type = args[:type] if args.key?(:type) - end - end - - # A reference is a canonical assembled DNA sequence, intended to act as a - # reference coordinate space for other genomic annotations. A single reference - # might represent the human chromosome 1 or mitochandrial DNA, for instance. A - # reference belongs to one or more reference sets. - # For more genomics resource definitions, see [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - class Reference - include Google::Apis::Core::Hashable - - # The server-generated reference ID, unique across all references. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The length of this reference's sequence. - # Corresponds to the JSON property `length` + # The start position of the range on the reference, 0-based inclusive. + # Corresponds to the JSON property `start` # @return [Fixnum] - attr_accessor :length - - # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally - # with a version number, for example `GCF_000001405.26`. - # Corresponds to the JSON property `sourceAccessions` - # @return [Array] - attr_accessor :source_accessions - - # The URI from which the sequence was obtained. Typically specifies a FASTA - # format file. - # Corresponds to the JSON property `sourceUri` - # @return [String] - attr_accessor :source_uri - - # ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human. - # Corresponds to the JSON property `ncbiTaxonId` - # @return [Fixnum] - attr_accessor :ncbi_taxon_id - - # The name of this reference, for example `22`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # MD5 of the upper-case sequence excluding all whitespace characters (this - # is equivalent to SQ:M5 in SAM). This value is represented in lower case - # hexadecimal format. - # Corresponds to the JSON property `md5checksum` - # @return [String] - attr_accessor :md5checksum + attr_accessor :start def initialize(**args) update!(**args) @@ -2247,172 +1559,9 @@ module Google # Update properties of this object def update!(**args) - @id = args[:id] if args.key?(:id) - @length = args[:length] if args.key?(:length) - @source_accessions = args[:source_accessions] if args.key?(:source_accessions) - @source_uri = args[:source_uri] if args.key?(:source_uri) - @ncbi_taxon_id = args[:ncbi_taxon_id] if args.key?(:ncbi_taxon_id) - @name = args[:name] if args.key?(:name) - @md5checksum = args[:md5checksum] if args.key?(:md5checksum) - end - end - - # - class SearchReferenceSetsRequest - include Google::Apis::Core::Hashable - - # If present, return reference sets for which the - # md5checksum matches exactly. - # Corresponds to the JSON property `md5checksums` - # @return [Array] - attr_accessor :md5checksums - - # The continuation token, which is used to page through large result sets. - # To get the next page of results, set this parameter to the value of - # `nextPageToken` from the previous response. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # If present, return reference sets for which a prefix of any of - # sourceAccessions - # match any of these strings. Accession numbers typically have a main number - # and a version, for example `NC_000001.11`. - # Corresponds to the JSON property `accessions` - # @return [Array] - attr_accessor :accessions - - # The maximum number of results to return in a single page. If unspecified, - # defaults to 1024. The maximum value is 4096. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - # If present, return reference sets for which a substring of their - # `assemblyId` matches this string (case insensitive). - # Corresponds to the JSON property `assemblyId` - # @return [String] - attr_accessor :assembly_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @md5checksums = args[:md5checksums] if args.key?(:md5checksums) - @page_token = args[:page_token] if args.key?(:page_token) - @accessions = args[:accessions] if args.key?(:accessions) - @page_size = args[:page_size] if args.key?(:page_size) - @assembly_id = args[:assembly_id] if args.key?(:assembly_id) - end - end - - # Request message for `SetIamPolicy` method. - class SetIamPolicyRequest - include Google::Apis::Core::Hashable - - # Defines an Identity and Access Management (IAM) policy. It is used to - # specify access control policies for Cloud Platform resources. - # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of - # `members` to a `role`, where the members can be user accounts, Google groups, - # Google domains, and service 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: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` - # @return [Google::Apis::GenomicsV1::Policy] - attr_accessor :policy - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @policy = args[:policy] if args.key?(:policy) - end - end - - # - class MergeVariantsRequest - include Google::Apis::Core::Hashable - - # The variants to be merged with existing variants. - # Corresponds to the JSON property `variants` - # @return [Array] - attr_accessor :variants - - # A mapping between info field keys and the InfoMergeOperations to - # be performed on them. - # Corresponds to the JSON property `infoMergeConfig` - # @return [Hash] - attr_accessor :info_merge_config - - # The destination variant set. - # Corresponds to the JSON property `variantSetId` - # @return [String] - attr_accessor :variant_set_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @variants = args[:variants] if args.key?(:variants) - @info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config) - @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id) - end - end - - # - class BatchCreateAnnotationsRequest - include Google::Apis::Core::Hashable - - # The annotations to be created. At most 4096 can be specified in a single - # request. - # Corresponds to the JSON property `annotations` - # @return [Array] - attr_accessor :annotations - - # A unique request ID which enables the server to detect duplicated requests. - # If provided, duplicated requests will result in the same response; if not - # provided, duplicated requests may result in duplicated data. For a given - # annotation set, callers should not reuse `request_id`s when writing - # different batches of annotations - behavior in this case is undefined. - # A common approach is to use a UUID. For batch jobs where worker crashes are - # a possibility, consider using some unique variant of a worker or run ID. - # Corresponds to the JSON property `requestId` - # @return [String] - attr_accessor :request_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @annotations = args[:annotations] if args.key?(:annotations) - @request_id = args[:request_id] if args.key?(:request_id) + @end = args[:end] if args.key?(:end) + @reference_name = args[:reference_name] if args.key?(:reference_name) + @start = args[:start] if args.key?(:start) end end @@ -2491,17 +1640,16 @@ module Google class Read include Google::Apis::Core::Hashable - # The fragment is a PCR or optical duplicate (SAM flag 0x400). - # Corresponds to the JSON property `duplicateFragment` - # @return [Boolean] - attr_accessor :duplicate_fragment - alias_method :duplicate_fragment?, :duplicate_fragment - - # The read number in sequencing. 0-based and less than numberReads. This - # field replaces SAM flag 0x40 and 0x80. - # Corresponds to the JSON property `readNumber` - # @return [Fixnum] - attr_accessor :read_number + # The quality of the read sequence contained in this alignment record + # (equivalent to QUAL in SAM). + # `alignedSequence` and `alignedQuality` may be shorter than the full read + # sequence and quality. This will occur if the alignment is part of a + # chimeric alignment, or if the read was trimmed. When this occurs, the CIGAR + # for this read will begin/end with a hard clip operator that will indicate + # the length of the excised sequence. + # Corresponds to the JSON property `alignedQuality` + # @return [Array] + attr_accessor :aligned_quality # The bases of the read sequence contained in this alignment record, # **without CIGAR operations applied** (equivalent to SEQ in SAM). @@ -2514,13 +1662,40 @@ module Google # @return [String] attr_accessor :aligned_sequence - # The ID of the read group this read belongs to. A read belongs to exactly - # one read group. This is a server-generated ID which is distinct from SAM's - # RG tag (for that value, see - # ReadGroup.name). - # Corresponds to the JSON property `readGroupId` + # A linear alignment can be represented by one CIGAR string. Describes the + # mapped position and local alignment of the read to the reference. + # Corresponds to the JSON property `alignment` + # @return [Google::Apis::GenomicsV1::LinearAlignment] + attr_accessor :alignment + + # The fragment is a PCR or optical duplicate (SAM flag 0x400). + # Corresponds to the JSON property `duplicateFragment` + # @return [Boolean] + attr_accessor :duplicate_fragment + alias_method :duplicate_fragment?, :duplicate_fragment + + # Whether this read did not pass filters, such as platform or vendor quality + # controls (SAM flag 0x200). + # Corresponds to the JSON property `failedVendorQualityChecks` + # @return [Boolean] + attr_accessor :failed_vendor_quality_checks + alias_method :failed_vendor_quality_checks?, :failed_vendor_quality_checks + + # The observed length of the fragment, equivalent to TLEN in SAM. + # Corresponds to the JSON property `fragmentLength` + # @return [Fixnum] + attr_accessor :fragment_length + + # The fragment name. Equivalent to QNAME (query template name) in SAM. + # Corresponds to the JSON property `fragmentName` # @return [String] - attr_accessor :read_group_id + attr_accessor :fragment_name + + # The server-generated read ID, unique across all reads. This is different + # from the `fragmentName`. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id # A map of additional read alignment information. This must be of the form # map (string key mapping to a list of string values). @@ -2536,6 +1711,49 @@ module Google # @return [Google::Apis::GenomicsV1::Position] attr_accessor :next_mate_position + # The number of reads in the fragment (extension to SAM flag 0x1). + # Corresponds to the JSON property `numberReads` + # @return [Fixnum] + attr_accessor :number_reads + + # The orientation and the distance between reads from the fragment are + # consistent with the sequencing protocol (SAM flag 0x2). + # Corresponds to the JSON property `properPlacement` + # @return [Boolean] + attr_accessor :proper_placement + alias_method :proper_placement?, :proper_placement + + # The ID of the read group this read belongs to. A read belongs to exactly + # one read group. This is a server-generated ID which is distinct from SAM's + # RG tag (for that value, see + # ReadGroup.name). + # Corresponds to the JSON property `readGroupId` + # @return [String] + attr_accessor :read_group_id + + # The ID of the read group set this read belongs to. A read belongs to + # exactly one read group set. + # Corresponds to the JSON property `readGroupSetId` + # @return [String] + attr_accessor :read_group_set_id + + # The read number in sequencing. 0-based and less than numberReads. This + # field replaces SAM flag 0x40 and 0x80. + # Corresponds to the JSON property `readNumber` + # @return [Fixnum] + attr_accessor :read_number + + # Whether this alignment is secondary. Equivalent to SAM flag 0x100. + # A secondary alignment represents an alternative to the primary alignment + # for this read. Aligners may return secondary alignments if a read can map + # ambiguously to multiple coordinates in the genome. By convention, each read + # has one and only one alignment where both `secondaryAlignment` + # and `supplementaryAlignment` are false. + # Corresponds to the JSON property `secondaryAlignment` + # @return [Boolean] + attr_accessor :secondary_alignment + alias_method :secondary_alignment?, :secondary_alignment + # Whether this alignment is supplementary. Equivalent to SAM flag 0x800. # Supplementary alignments are used in the representation of a chimeric # alignment. In a chimeric alignment, a read is split into multiple @@ -2552,74 +1770,92 @@ module Google attr_accessor :supplementary_alignment alias_method :supplementary_alignment?, :supplementary_alignment - # The orientation and the distance between reads from the fragment are - # consistent with the sequencing protocol (SAM flag 0x2). - # Corresponds to the JSON property `properPlacement` - # @return [Boolean] - attr_accessor :proper_placement - alias_method :proper_placement?, :proper_placement + def initialize(**args) + update!(**args) + end - # The observed length of the fragment, equivalent to TLEN in SAM. - # Corresponds to the JSON property `fragmentLength` - # @return [Fixnum] - attr_accessor :fragment_length + # Update properties of this object + def update!(**args) + @aligned_quality = args[:aligned_quality] if args.key?(:aligned_quality) + @aligned_sequence = args[:aligned_sequence] if args.key?(:aligned_sequence) + @alignment = args[:alignment] if args.key?(:alignment) + @duplicate_fragment = args[:duplicate_fragment] if args.key?(:duplicate_fragment) + @failed_vendor_quality_checks = args[:failed_vendor_quality_checks] if args.key?(:failed_vendor_quality_checks) + @fragment_length = args[:fragment_length] if args.key?(:fragment_length) + @fragment_name = args[:fragment_name] if args.key?(:fragment_name) + @id = args[:id] if args.key?(:id) + @info = args[:info] if args.key?(:info) + @next_mate_position = args[:next_mate_position] if args.key?(:next_mate_position) + @number_reads = args[:number_reads] if args.key?(:number_reads) + @proper_placement = args[:proper_placement] if args.key?(:proper_placement) + @read_group_id = args[:read_group_id] if args.key?(:read_group_id) + @read_group_set_id = args[:read_group_set_id] if args.key?(:read_group_set_id) + @read_number = args[:read_number] if args.key?(:read_number) + @secondary_alignment = args[:secondary_alignment] if args.key?(:secondary_alignment) + @supplementary_alignment = args[:supplementary_alignment] if args.key?(:supplementary_alignment) + end + end - # Whether this read did not pass filters, such as platform or vendor quality - # controls (SAM flag 0x200). - # Corresponds to the JSON property `failedVendorQualityChecks` - # @return [Boolean] - attr_accessor :failed_vendor_quality_checks - alias_method :failed_vendor_quality_checks?, :failed_vendor_quality_checks + # A read group is all the data that's processed the same way by the sequencer. + class ReadGroup + include Google::Apis::Core::Hashable - # The quality of the read sequence contained in this alignment record - # (equivalent to QUAL in SAM). - # `alignedSequence` and `alignedQuality` may be shorter than the full read - # sequence and quality. This will occur if the alignment is part of a - # chimeric alignment, or if the read was trimmed. When this occurs, the CIGAR - # for this read will begin/end with a hard clip operator that will indicate - # the length of the excised sequence. - # Corresponds to the JSON property `alignedQuality` - # @return [Array] - attr_accessor :aligned_quality + # The dataset to which this read group belongs. + # Corresponds to the JSON property `datasetId` + # @return [String] + attr_accessor :dataset_id - # A linear alignment can be represented by one CIGAR string. Describes the - # mapped position and local alignment of the read to the reference. - # Corresponds to the JSON property `alignment` - # @return [Google::Apis::GenomicsV1::LinearAlignment] - attr_accessor :alignment + # A free-form text description of this read group. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description - # The server-generated read ID, unique across all reads. This is different - # from the `fragmentName`. + # The experiment used to generate this read group. + # Corresponds to the JSON property `experiment` + # @return [Google::Apis::GenomicsV1::Experiment] + attr_accessor :experiment + + # The server-generated read group ID, unique for all read groups. + # Note: This is different than the @RG ID field in the SAM spec. For that + # value, see name. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # The number of reads in the fragment (extension to SAM flag 0x1). - # Corresponds to the JSON property `numberReads` + # A map of additional read group information. This must be of the form + # map (string key mapping to a list of string values). + # Corresponds to the JSON property `info` + # @return [Hash>] + attr_accessor :info + + # The read group name. This corresponds to the @RG ID field in the SAM spec. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The predicted insert size of this read group. The insert size is the length + # the sequenced DNA fragment from end-to-end, not including the adapters. + # Corresponds to the JSON property `predictedInsertSize` # @return [Fixnum] - attr_accessor :number_reads + attr_accessor :predicted_insert_size - # Whether this alignment is secondary. Equivalent to SAM flag 0x100. - # A secondary alignment represents an alternative to the primary alignment - # for this read. Aligners may return secondary alignments if a read can map - # ambiguously to multiple coordinates in the genome. By convention, each read - # has one and only one alignment where both `secondaryAlignment` - # and `supplementaryAlignment` are false. - # Corresponds to the JSON property `secondaryAlignment` - # @return [Boolean] - attr_accessor :secondary_alignment - alias_method :secondary_alignment?, :secondary_alignment + # The programs used to generate this read group. Programs are always + # identical for all read groups within a read group set. For this reason, + # only the first read group in a returned set will have this field + # populated. + # Corresponds to the JSON property `programs` + # @return [Array] + attr_accessor :programs - # The fragment name. Equivalent to QNAME (query template name) in SAM. - # Corresponds to the JSON property `fragmentName` + # The reference set the reads in this read group are aligned to. + # Corresponds to the JSON property `referenceSetId` # @return [String] - attr_accessor :fragment_name + attr_accessor :reference_set_id - # The ID of the read group set this read belongs to. A read belongs to - # exactly one read group set. - # Corresponds to the JSON property `readGroupSetId` + # A client-supplied sample identifier for the reads in this read group. + # Corresponds to the JSON property `sampleId` # @return [String] - attr_accessor :read_group_set_id + attr_accessor :sample_id def initialize(**args) update!(**args) @@ -2627,23 +1863,172 @@ module Google # Update properties of this object def update!(**args) - @duplicate_fragment = args[:duplicate_fragment] if args.key?(:duplicate_fragment) - @read_number = args[:read_number] if args.key?(:read_number) - @aligned_sequence = args[:aligned_sequence] if args.key?(:aligned_sequence) - @read_group_id = args[:read_group_id] if args.key?(:read_group_id) - @info = args[:info] if args.key?(:info) - @next_mate_position = args[:next_mate_position] if args.key?(:next_mate_position) - @supplementary_alignment = args[:supplementary_alignment] if args.key?(:supplementary_alignment) - @proper_placement = args[:proper_placement] if args.key?(:proper_placement) - @fragment_length = args[:fragment_length] if args.key?(:fragment_length) - @failed_vendor_quality_checks = args[:failed_vendor_quality_checks] if args.key?(:failed_vendor_quality_checks) - @aligned_quality = args[:aligned_quality] if args.key?(:aligned_quality) - @alignment = args[:alignment] if args.key?(:alignment) + @dataset_id = args[:dataset_id] if args.key?(:dataset_id) + @description = args[:description] if args.key?(:description) + @experiment = args[:experiment] if args.key?(:experiment) @id = args[:id] if args.key?(:id) - @number_reads = args[:number_reads] if args.key?(:number_reads) - @secondary_alignment = args[:secondary_alignment] if args.key?(:secondary_alignment) - @fragment_name = args[:fragment_name] if args.key?(:fragment_name) - @read_group_set_id = args[:read_group_set_id] if args.key?(:read_group_set_id) + @info = args[:info] if args.key?(:info) + @name = args[:name] if args.key?(:name) + @predicted_insert_size = args[:predicted_insert_size] if args.key?(:predicted_insert_size) + @programs = args[:programs] if args.key?(:programs) + @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) + @sample_id = args[:sample_id] if args.key?(:sample_id) + end + end + + # A read group set is a logical collection of read groups, which are + # collections of reads produced by a sequencer. A read group set typically + # models reads corresponding to one sample, sequenced one way, and aligned one + # way. + # * A read group set belongs to one dataset. + # * A read group belongs to one read group set. + # * A read belongs to one read group. + # For more genomics resource definitions, see [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + class ReadGroupSet + include Google::Apis::Core::Hashable + + # The dataset to which this read group set belongs. + # Corresponds to the JSON property `datasetId` + # @return [String] + attr_accessor :dataset_id + + # The filename of the original source file for this read group set, if any. + # Corresponds to the JSON property `filename` + # @return [String] + attr_accessor :filename + + # The server-generated read group set ID, unique for all read group sets. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A map of additional read group set information. + # Corresponds to the JSON property `info` + # @return [Hash>] + attr_accessor :info + + # The read group set name. By default this will be initialized to the sample + # name of the sequenced data contained in this set. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The read groups in this set. There are typically 1-10 read groups in a read + # group set. + # Corresponds to the JSON property `readGroups` + # @return [Array] + attr_accessor :read_groups + + # The reference set to which the reads in this read group set are aligned. + # Corresponds to the JSON property `referenceSetId` + # @return [String] + attr_accessor :reference_set_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dataset_id = args[:dataset_id] if args.key?(:dataset_id) + @filename = args[:filename] if args.key?(:filename) + @id = args[:id] if args.key?(:id) + @info = args[:info] if args.key?(:info) + @name = args[:name] if args.key?(:name) + @read_groups = args[:read_groups] if args.key?(:read_groups) + @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) + end + end + + # A reference is a canonical assembled DNA sequence, intended to act as a + # reference coordinate space for other genomic annotations. A single reference + # might represent the human chromosome 1 or mitochandrial DNA, for instance. A + # reference belongs to one or more reference sets. + # For more genomics resource definitions, see [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + class Reference + include Google::Apis::Core::Hashable + + # The server-generated reference ID, unique across all references. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The length of this reference's sequence. + # Corresponds to the JSON property `length` + # @return [Fixnum] + attr_accessor :length + + # MD5 of the upper-case sequence excluding all whitespace characters (this + # is equivalent to SQ:M5 in SAM). This value is represented in lower case + # hexadecimal format. + # Corresponds to the JSON property `md5checksum` + # @return [String] + attr_accessor :md5checksum + + # The name of this reference, for example `22`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human. + # Corresponds to the JSON property `ncbiTaxonId` + # @return [Fixnum] + attr_accessor :ncbi_taxon_id + + # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally + # with a version number, for example `GCF_000001405.26`. + # Corresponds to the JSON property `sourceAccessions` + # @return [Array] + attr_accessor :source_accessions + + # The URI from which the sequence was obtained. Typically specifies a FASTA + # format file. + # Corresponds to the JSON property `sourceUri` + # @return [String] + attr_accessor :source_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @length = args[:length] if args.key?(:length) + @md5checksum = args[:md5checksum] if args.key?(:md5checksum) + @name = args[:name] if args.key?(:name) + @ncbi_taxon_id = args[:ncbi_taxon_id] if args.key?(:ncbi_taxon_id) + @source_accessions = args[:source_accessions] if args.key?(:source_accessions) + @source_uri = args[:source_uri] if args.key?(:source_uri) + end + end + + # ReferenceBound records an upper bound for the starting coordinate of + # variants in a particular reference. + class ReferenceBound + include Google::Apis::Core::Hashable + + # The name of the reference associated with this reference bound. + # Corresponds to the JSON property `referenceName` + # @return [String] + attr_accessor :reference_name + + # An upper bound (inclusive) on the starting coordinate of any + # variant in the reference sequence. + # Corresponds to the JSON property `upperBound` + # @return [Fixnum] + attr_accessor :upper_bound + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @reference_name = args[:reference_name] if args.key?(:reference_name) + @upper_bound = args[:upper_bound] if args.key?(:upper_bound) end end @@ -2657,26 +2042,29 @@ module Google class ReferenceSet include Google::Apis::Core::Hashable - # The server-generated reference set ID, unique across all reference sets. - # Corresponds to the JSON property `id` + # Public id of this reference set, such as `GRCh37`. + # Corresponds to the JSON property `assemblyId` # @return [String] - attr_accessor :id - - # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally - # with a version number, for example `NC_000001.11`. - # Corresponds to the JSON property `sourceAccessions` - # @return [Array] - attr_accessor :source_accessions + attr_accessor :assembly_id # Free text description of this reference set. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # The URI from which the references were obtained. - # Corresponds to the JSON property `sourceUri` + # The server-generated reference set ID, unique across all reference sets. + # Corresponds to the JSON property `id` # @return [String] - attr_accessor :source_uri + attr_accessor :id + + # Order-independent MD5 checksum which identifies this reference set. The + # checksum is computed by sorting all lower case hexidecimal string + # `reference.md5checksum` (for all reference in this set) in + # ascending lexicographic order, concatenating, and taking the MD5 of that + # value. The resulting value is represented in lower case hexadecimal format. + # Corresponds to the JSON property `md5checksum` + # @return [String] + attr_accessor :md5checksum # ID from http://www.ncbi.nlm.nih.gov/taxonomy (for example, 9606 for human) # indicating the species which this reference set is intended to model. Note @@ -2693,171 +2081,45 @@ module Google # @return [Array] attr_accessor :reference_ids - # Public id of this reference set, such as `GRCh37`. - # Corresponds to the JSON property `assemblyId` - # @return [String] - attr_accessor :assembly_id + # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally + # with a version number, for example `NC_000001.11`. + # Corresponds to the JSON property `sourceAccessions` + # @return [Array] + attr_accessor :source_accessions - # Order-independent MD5 checksum which identifies this reference set. The - # checksum is computed by sorting all lower case hexidecimal string - # `reference.md5checksum` (for all reference in this set) in - # ascending lexicographic order, concatenating, and taking the MD5 of that - # value. The resulting value is represented in lower case hexadecimal format. - # Corresponds to the JSON property `md5checksum` - # @return [String] - attr_accessor :md5checksum - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @source_accessions = args[:source_accessions] if args.key?(:source_accessions) - @description = args[:description] if args.key?(:description) - @source_uri = args[:source_uri] if args.key?(:source_uri) - @ncbi_taxon_id = args[:ncbi_taxon_id] if args.key?(:ncbi_taxon_id) - @reference_ids = args[:reference_ids] if args.key?(:reference_ids) - @assembly_id = args[:assembly_id] if args.key?(:assembly_id) - @md5checksum = args[:md5checksum] if args.key?(:md5checksum) - end - end - - # A single CIGAR operation. - class CigarUnit - include Google::Apis::Core::Hashable - - # The number of genomic bases that the operation runs for. Required. - # Corresponds to the JSON property `operationLength` - # @return [Fixnum] - attr_accessor :operation_length - - # - # Corresponds to the JSON property `operation` - # @return [String] - attr_accessor :operation - - # `referenceSequence` is only used at mismatches - # (`SEQUENCE_MISMATCH`) and deletions (`DELETE`). - # Filling this field replaces SAM's MD tag. If the relevant information is - # not available, this field is unset. - # Corresponds to the JSON property `referenceSequence` - # @return [String] - attr_accessor :reference_sequence - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @operation_length = args[:operation_length] if args.key?(:operation_length) - @operation = args[:operation] if args.key?(:operation) - @reference_sequence = args[:reference_sequence] if args.key?(:reference_sequence) - end - end - - # An annotation set is a logical grouping of annotations that share consistent - # type information and provenance. Examples of annotation sets include 'all - # genes from refseq', and 'all variant annotations from ClinVar'. - class AnnotationSet - include Google::Apis::Core::Hashable - - # The dataset to which this annotation set belongs. - # Corresponds to the JSON property `datasetId` - # @return [String] - attr_accessor :dataset_id - - # The source URI describing the file from which this annotation set was - # generated, if any. + # The URI from which the references were obtained. # Corresponds to the JSON property `sourceUri` # @return [String] attr_accessor :source_uri - # The display name for this annotation set. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The ID of the reference set that defines the coordinate space for this - # set's annotations. - # Corresponds to the JSON property `referenceSetId` - # @return [String] - attr_accessor :reference_set_id - - # A map of additional read alignment information. This must be of the form - # map (string key mapping to a list of string values). - # Corresponds to the JSON property `info` - # @return [Hash>] - attr_accessor :info - - # The type of annotations contained within this set. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The server-generated annotation set ID, unique across all annotation sets. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @dataset_id = args[:dataset_id] if args.key?(:dataset_id) - @source_uri = args[:source_uri] if args.key?(:source_uri) - @name = args[:name] if args.key?(:name) - @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) - @info = args[:info] if args.key?(:info) - @type = args[:type] if args.key?(:type) + @assembly_id = args[:assembly_id] if args.key?(:assembly_id) + @description = args[:description] if args.key?(:description) @id = args[:id] if args.key?(:id) + @md5checksum = args[:md5checksum] if args.key?(:md5checksum) + @ncbi_taxon_id = args[:ncbi_taxon_id] if args.key?(:ncbi_taxon_id) + @reference_ids = args[:reference_ids] if args.key?(:reference_ids) + @source_accessions = args[:source_accessions] if args.key?(:source_accessions) + @source_uri = args[:source_uri] if args.key?(:source_uri) end end - # A transcript represents the assertion that a particular region of the - # reference genome may be transcribed as RNA. - class Transcript + # Runtime metadata that will be populated in the + # runtimeMetadata + # field of the Operation associated with a RunPipeline execution. + class RuntimeMetadata include Google::Apis::Core::Hashable - # The annotation ID of the gene from which this transcript is transcribed. - # Corresponds to the JSON property `geneId` - # @return [String] - attr_accessor :gene_id - - # The exons that compose - # this transcript. This field should be unset for genomes where transcript - # splicing does not occur, for example prokaryotes. - # Introns are regions of the transcript that are not included in the - # spliced RNA product. Though not explicitly modeled here, intron ranges can - # be deduced; all regions of this transcript that are not exons are introns. - # Exonic sequences do not necessarily code for a translational product - # (amino acids). Only the regions of exons bounded by the - # codingSequence correspond - # to coding DNA sequence. - # Exons are ordered by start position and may not overlap. - # Corresponds to the JSON property `exons` - # @return [Array] - attr_accessor :exons - - # The range of the coding sequence for this transcript, if any. To determine - # the exact ranges of coding sequence, intersect this range with those of the - # exons, if any. If there are any - # exons, the - # codingSequence must start - # and end within them. - # Note that in some cases, the reference genome will not exactly match the - # observed mRNA transcript e.g. due to variance in the source genome from - # reference. In these cases, - # exon.frame will not necessarily - # match the expected reference reading frame and coding exon reference bases - # cannot necessarily be concatenated to produce the original transcript mRNA. - # Corresponds to the JSON property `codingSequence` - # @return [Google::Apis::GenomicsV1::CodingSequence] - attr_accessor :coding_sequence + # Describes a Compute Engine resource that is being managed by a running + # pipeline. + # Corresponds to the JSON property `computeEngine` + # @return [Google::Apis::GenomicsV1::ComputeEngine] + attr_accessor :compute_engine def initialize(**args) update!(**args) @@ -2865,41 +2127,50 @@ module Google # Update properties of this object def update!(**args) - @gene_id = args[:gene_id] if args.key?(:gene_id) - @exons = args[:exons] if args.key?(:exons) - @coding_sequence = args[:coding_sequence] if args.key?(:coding_sequence) + @compute_engine = args[:compute_engine] if args.key?(:compute_engine) end end # - class Experiment + class SearchAnnotationSetsRequest include Google::Apis::Core::Hashable - # The platform unit used as part of this experiment, for example - # flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the - # @RG PU field in the SAM spec. - # Corresponds to the JSON property `platformUnit` - # @return [String] - attr_accessor :platform_unit + # Required. The dataset IDs to search within. Caller must have `READ` access + # to these datasets. + # Corresponds to the JSON property `datasetIds` + # @return [Array] + attr_accessor :dataset_ids - # The instrument model used as part of this experiment. This maps to - # sequencing technology in the SAM spec. - # Corresponds to the JSON property `instrumentModel` + # Only return annotations sets for which a substring of the name matches this + # string (case insensitive). + # Corresponds to the JSON property `name` # @return [String] - attr_accessor :instrument_model + attr_accessor :name - # A client-supplied library identifier; a library is a collection of DNA - # fragments which have been prepared for sequencing from a sample. This - # field is important for quality control as error or bias can be introduced - # during sample preparation. - # Corresponds to the JSON property `libraryId` - # @return [String] - attr_accessor :library_id + # The maximum number of results to return in a single page. If unspecified, + # defaults to 128. The maximum value is 1024. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size - # The sequencing center used as part of this experiment. - # Corresponds to the JSON property `sequencingCenter` + # The continuation token, which is used to page through large result sets. + # To get the next page of results, set this parameter to the value of + # `nextPageToken` from the previous response. + # Corresponds to the JSON property `pageToken` # @return [String] - attr_accessor :sequencing_center + attr_accessor :page_token + + # If specified, only annotation sets associated with the given reference set + # are returned. + # Corresponds to the JSON property `referenceSetId` + # @return [String] + attr_accessor :reference_set_id + + # If specified, only annotation sets that have any of these types are + # returned. + # Corresponds to the JSON property `types` + # @return [Array] + attr_accessor :types def initialize(**args) update!(**args) @@ -2907,15 +2178,250 @@ module Google # Update properties of this object def update!(**args) - @platform_unit = args[:platform_unit] if args.key?(:platform_unit) - @instrument_model = args[:instrument_model] if args.key?(:instrument_model) - @library_id = args[:library_id] if args.key?(:library_id) - @sequencing_center = args[:sequencing_center] if args.key?(:sequencing_center) + @dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids) + @name = args[:name] if args.key?(:name) + @page_size = args[:page_size] if args.key?(:page_size) + @page_token = args[:page_token] if args.key?(:page_token) + @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) + @types = args[:types] if args.key?(:types) end end - # The dataset list response. - class ListDatasetsResponse + # + class SearchAnnotationSetsResponse + include Google::Apis::Core::Hashable + + # The matching annotation sets. + # Corresponds to the JSON property `annotationSets` + # @return [Array] + attr_accessor :annotation_sets + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # 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) + @annotation_sets = args[:annotation_sets] if args.key?(:annotation_sets) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # + class SearchAnnotationsRequest + include Google::Apis::Core::Hashable + + # Required. The annotation sets to search within. The caller must have + # `READ` access to these annotation sets. + # All queried annotation sets must have the same type. + # Corresponds to the JSON property `annotationSetIds` + # @return [Array] + attr_accessor :annotation_set_ids + + # The end position of the range on the reference, 0-based exclusive. If + # referenceId or + # referenceName + # must be specified, Defaults to the length of the reference. + # Corresponds to the JSON property `end` + # @return [Fixnum] + attr_accessor :end + + # The maximum number of results to return in a single page. If unspecified, + # defaults to 256. The maximum value is 2048. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # The continuation token, which is used to page through large result sets. + # To get the next page of results, set this parameter to the value of + # `nextPageToken` from the previous response. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # The ID of the reference to query. + # Corresponds to the JSON property `referenceId` + # @return [String] + attr_accessor :reference_id + + # The name of the reference to query, within the reference set associated + # with this query. + # Corresponds to the JSON property `referenceName` + # @return [String] + attr_accessor :reference_name + + # The start position of the range on the reference, 0-based inclusive. If + # specified, + # referenceId or + # referenceName + # must be specified. Defaults to 0. + # Corresponds to the JSON property `start` + # @return [Fixnum] + attr_accessor :start + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_set_ids = args[:annotation_set_ids] if args.key?(:annotation_set_ids) + @end = args[:end] if args.key?(:end) + @page_size = args[:page_size] if args.key?(:page_size) + @page_token = args[:page_token] if args.key?(:page_token) + @reference_id = args[:reference_id] if args.key?(:reference_id) + @reference_name = args[:reference_name] if args.key?(:reference_name) + @start = args[:start] if args.key?(:start) + end + end + + # + class SearchAnnotationsResponse + include Google::Apis::Core::Hashable + + # The matching annotations. + # Corresponds to the JSON property `annotations` + # @return [Array] + attr_accessor :annotations + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # 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) + @annotations = args[:annotations] if args.key?(:annotations) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The call set search request. + class SearchCallSetsRequest + include Google::Apis::Core::Hashable + + # Only return call sets for which a substring of the name matches this + # string. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The maximum number of results to return in a single page. If unspecified, + # defaults to 1024. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # The continuation token, which is used to page through large result sets. + # To get the next page of results, set this parameter to the value of + # `nextPageToken` from the previous response. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # Restrict the query to call sets within the given variant sets. At least one + # ID must be provided. + # Corresponds to the JSON property `variantSetIds` + # @return [Array] + attr_accessor :variant_set_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @page_size = args[:page_size] if args.key?(:page_size) + @page_token = args[:page_token] if args.key?(:page_token) + @variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids) + end + end + + # The call set search response. + class SearchCallSetsResponse + include Google::Apis::Core::Hashable + + # The list of matching call sets. + # Corresponds to the JSON property `callSets` + # @return [Array] + attr_accessor :call_sets + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # 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) + @call_sets = args[:call_sets] if args.key?(:call_sets) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The read group set search request. + class SearchReadGroupSetsRequest + include Google::Apis::Core::Hashable + + # Restricts this query to read group sets within the given datasets. At least + # one ID must be provided. + # Corresponds to the JSON property `datasetIds` + # @return [Array] + attr_accessor :dataset_ids + + # Only return read group sets for which a substring of the name matches this + # string. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The maximum number of results to return in a single page. If unspecified, + # defaults to 256. The maximum value is 1024. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # The continuation token, which is used to page through large result sets. + # To get the next page of results, set this parameter to the value of + # `nextPageToken` from the previous response. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids) + @name = args[:name] if args.key?(:name) + @page_size = args[:page_size] if args.key?(:page_size) + @page_token = args[:page_token] if args.key?(:page_token) + end + end + + # The read group set search response. + class SearchReadGroupSetsResponse include Google::Apis::Core::Hashable # The continuation token, which is used to page through large result sets. @@ -2925,10 +2431,10 @@ module Google # @return [String] attr_accessor :next_page_token - # The list of matching Datasets. - # Corresponds to the JSON property `datasets` - # @return [Array] - attr_accessor :datasets + # The list of matching read group sets. + # Corresponds to the JSON property `readGroupSets` + # @return [Array] + attr_accessor :read_group_sets def initialize(**args) update!(**args) @@ -2937,7 +2443,543 @@ module Google # Update properties of this object def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @datasets = args[:datasets] if args.key?(:datasets) + @read_group_sets = args[:read_group_sets] if args.key?(:read_group_sets) + end + end + + # The read search request. + class SearchReadsRequest + include Google::Apis::Core::Hashable + + # The end position of the range on the reference, 0-based exclusive. If + # specified, `referenceName` must also be specified. + # Corresponds to the JSON property `end` + # @return [Fixnum] + attr_accessor :end + + # The maximum number of results to return in a single page. If unspecified, + # defaults to 256. The maximum value is 2048. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # The continuation token, which is used to page through large result sets. + # To get the next page of results, set this parameter to the value of + # `nextPageToken` from the previous response. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # The IDs of the read groups within which to search for reads. All specified + # read groups must belong to the same read group sets. Must specify one of + # `readGroupSetIds` or `readGroupIds`. + # Corresponds to the JSON property `readGroupIds` + # @return [Array] + attr_accessor :read_group_ids + + # The IDs of the read groups sets within which to search for reads. All + # specified read group sets must be aligned against a common set of reference + # sequences; this defines the genomic coordinates for the query. Must specify + # one of `readGroupSetIds` or `readGroupIds`. + # Corresponds to the JSON property `readGroupSetIds` + # @return [Array] + attr_accessor :read_group_set_ids + + # The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to + # `*`, only unmapped reads are returned. If unspecified, all reads (mapped + # and unmapped) are returned. + # Corresponds to the JSON property `referenceName` + # @return [String] + attr_accessor :reference_name + + # The start position of the range on the reference, 0-based inclusive. If + # specified, `referenceName` must also be specified. + # Corresponds to the JSON property `start` + # @return [Fixnum] + attr_accessor :start + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end = args[:end] if args.key?(:end) + @page_size = args[:page_size] if args.key?(:page_size) + @page_token = args[:page_token] if args.key?(:page_token) + @read_group_ids = args[:read_group_ids] if args.key?(:read_group_ids) + @read_group_set_ids = args[:read_group_set_ids] if args.key?(:read_group_set_ids) + @reference_name = args[:reference_name] if args.key?(:reference_name) + @start = args[:start] if args.key?(:start) + end + end + + # The read search response. + class SearchReadsResponse + include Google::Apis::Core::Hashable + + # The list of matching alignments sorted by mapped genomic coordinate, + # if any, ascending in position within the same reference. Unmapped reads, + # which have no position, are returned contiguously and are sorted in + # ascending lexicographic order by fragment name. + # Corresponds to the JSON property `alignments` + # @return [Array] + attr_accessor :alignments + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # 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) + @alignments = args[:alignments] if args.key?(:alignments) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # + class SearchReferenceSetsRequest + include Google::Apis::Core::Hashable + + # If present, return reference sets for which a prefix of any of + # sourceAccessions + # match any of these strings. Accession numbers typically have a main number + # and a version, for example `NC_000001.11`. + # Corresponds to the JSON property `accessions` + # @return [Array] + attr_accessor :accessions + + # If present, return reference sets for which a substring of their + # `assemblyId` matches this string (case insensitive). + # Corresponds to the JSON property `assemblyId` + # @return [String] + attr_accessor :assembly_id + + # If present, return reference sets for which the + # md5checksum matches exactly. + # Corresponds to the JSON property `md5checksums` + # @return [Array] + attr_accessor :md5checksums + + # The maximum number of results to return in a single page. If unspecified, + # defaults to 1024. The maximum value is 4096. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # The continuation token, which is used to page through large result sets. + # To get the next page of results, set this parameter to the value of + # `nextPageToken` from the previous response. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @accessions = args[:accessions] if args.key?(:accessions) + @assembly_id = args[:assembly_id] if args.key?(:assembly_id) + @md5checksums = args[:md5checksums] if args.key?(:md5checksums) + @page_size = args[:page_size] if args.key?(:page_size) + @page_token = args[:page_token] if args.key?(:page_token) + end + end + + # + class SearchReferenceSetsResponse + include Google::Apis::Core::Hashable + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The matching references sets. + # Corresponds to the JSON property `referenceSets` + # @return [Array] + attr_accessor :reference_sets + + 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) + @reference_sets = args[:reference_sets] if args.key?(:reference_sets) + end + end + + # + class SearchReferencesRequest + include Google::Apis::Core::Hashable + + # If present, return references for which a prefix of any of + # sourceAccessions match + # any of these strings. Accession numbers typically have a main number and a + # version, for example `GCF_000001405.26`. + # Corresponds to the JSON property `accessions` + # @return [Array] + attr_accessor :accessions + + # If present, return references for which the + # md5checksum matches exactly. + # Corresponds to the JSON property `md5checksums` + # @return [Array] + attr_accessor :md5checksums + + # The maximum number of results to return in a single page. If unspecified, + # defaults to 1024. The maximum value is 4096. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # The continuation token, which is used to page through large result sets. + # To get the next page of results, set this parameter to the value of + # `nextPageToken` from the previous response. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # If present, return only references which belong to this reference set. + # Corresponds to the JSON property `referenceSetId` + # @return [String] + attr_accessor :reference_set_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @accessions = args[:accessions] if args.key?(:accessions) + @md5checksums = args[:md5checksums] if args.key?(:md5checksums) + @page_size = args[:page_size] if args.key?(:page_size) + @page_token = args[:page_token] if args.key?(:page_token) + @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) + end + end + + # + class SearchReferencesResponse + include Google::Apis::Core::Hashable + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The matching references. + # Corresponds to the JSON property `references` + # @return [Array] + attr_accessor :references + + 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) + @references = args[:references] if args.key?(:references) + end + end + + # The search variant sets request. + class SearchVariantSetsRequest + include Google::Apis::Core::Hashable + + # Exactly one dataset ID must be provided here. Only variant sets which + # belong to this dataset will be returned. + # Corresponds to the JSON property `datasetIds` + # @return [Array] + attr_accessor :dataset_ids + + # The maximum number of results to return in a single page. If unspecified, + # defaults to 1024. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # The continuation token, which is used to page through large result sets. + # To get the next page of results, set this parameter to the value of + # `nextPageToken` from the previous response. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids) + @page_size = args[:page_size] if args.key?(:page_size) + @page_token = args[:page_token] if args.key?(:page_token) + end + end + + # The search variant sets response. + class SearchVariantSetsResponse + include Google::Apis::Core::Hashable + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The variant sets belonging to the requested dataset. + # Corresponds to the JSON property `variantSets` + # @return [Array] + attr_accessor :variant_sets + + 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) + @variant_sets = args[:variant_sets] if args.key?(:variant_sets) + end + end + + # The variant search request. + class SearchVariantsRequest + include Google::Apis::Core::Hashable + + # Only return variant calls which belong to call sets with these ids. + # Leaving this blank returns all variant calls. If a variant has no + # calls belonging to any of these call sets, it won't be returned at all. + # Corresponds to the JSON property `callSetIds` + # @return [Array] + attr_accessor :call_set_ids + + # The end of the window, 0-based exclusive. If unspecified or 0, defaults to + # the length of the reference. + # Corresponds to the JSON property `end` + # @return [Fixnum] + attr_accessor :end + + # The maximum number of calls to return in a single page. Note that this + # limit may be exceeded in the event that a matching variant contains more + # calls than the requested maximum. If unspecified, defaults to 5000. The + # maximum value is 10000. + # Corresponds to the JSON property `maxCalls` + # @return [Fixnum] + attr_accessor :max_calls + + # The maximum number of variants to return in a single page. If unspecified, + # defaults to 5000. The maximum value is 10000. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # The continuation token, which is used to page through large result sets. + # To get the next page of results, set this parameter to the value of + # `nextPageToken` from the previous response. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # Required. Only return variants in this reference sequence. + # Corresponds to the JSON property `referenceName` + # @return [String] + attr_accessor :reference_name + + # The beginning of the window (0-based, inclusive) for which + # overlapping variants should be returned. If unspecified, defaults to 0. + # Corresponds to the JSON property `start` + # @return [Fixnum] + attr_accessor :start + + # Only return variants which have exactly this name. + # Corresponds to the JSON property `variantName` + # @return [String] + attr_accessor :variant_name + + # At most one variant set ID must be provided. Only variants from this + # variant set will be returned. If omitted, a call set id must be included in + # the request. + # Corresponds to the JSON property `variantSetIds` + # @return [Array] + attr_accessor :variant_set_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids) + @end = args[:end] if args.key?(:end) + @max_calls = args[:max_calls] if args.key?(:max_calls) + @page_size = args[:page_size] if args.key?(:page_size) + @page_token = args[:page_token] if args.key?(:page_token) + @reference_name = args[:reference_name] if args.key?(:reference_name) + @start = args[:start] if args.key?(:start) + @variant_name = args[:variant_name] if args.key?(:variant_name) + @variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids) + end + end + + # The variant search response. + class SearchVariantsResponse + include Google::Apis::Core::Hashable + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of matching Variants. + # Corresponds to the JSON property `variants` + # @return [Array] + attr_accessor :variants + + 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) + @variants = args[:variants] if args.key?(:variants) + end + end + + # Request message for `SetIamPolicy` method. + class SetIamPolicyRequest + include Google::Apis::Core::Hashable + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service 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: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` + # @return [Google::Apis::GenomicsV1::Policy] + attr_accessor :policy + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy = args[:policy] if args.key?(:policy) + 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` that 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. + # - 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 is 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 @@ -2969,227 +3011,199 @@ module Google end end - # - class Exon + # Response message for `TestIamPermissions` method. + class TestIamPermissionsResponse include Google::Apis::Core::Hashable - # The start position of the exon on this annotation's reference sequence, - # 0-based inclusive. Note that this is relative to the reference start, and - # **not** the containing annotation start. - # Corresponds to the JSON property `start` - # @return [Fixnum] - attr_accessor :start + # A subset of `TestPermissionsRequest.permissions` that the caller is + # allowed. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions - # The frame of this exon. Contains a value of 0, 1, or 2, which indicates - # the offset of the first coding base of the exon within the reading frame - # of the coding DNA sequence, if any. This field is dependent on the - # strandedness of this annotation (see - # Annotation.reverse_strand). - # For forward stranded annotations, this offset is relative to the - # exon.start. For reverse - # strand annotations, this offset is relative to the - # exon.end `- 1`. - # Unset if this exon does not intersect the coding sequence. Upon creation - # of a transcript, the frame must be populated for all or none of the - # coding exons. - # Corresponds to the JSON property `frame` - # @return [Fixnum] - attr_accessor :frame + def initialize(**args) + update!(**args) + end - # The end position of the exon on this annotation's reference sequence, - # 0-based exclusive. Note that this is relative to the reference start, and - # *not* the containing annotation start. + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # A transcript represents the assertion that a particular region of the + # reference genome may be transcribed as RNA. + class Transcript + include Google::Apis::Core::Hashable + + # The range of the coding sequence for this transcript, if any. To determine + # the exact ranges of coding sequence, intersect this range with those of the + # exons, if any. If there are any + # exons, the + # codingSequence must start + # and end within them. + # Note that in some cases, the reference genome will not exactly match the + # observed mRNA transcript e.g. due to variance in the source genome from + # reference. In these cases, + # exon.frame will not necessarily + # match the expected reference reading frame and coding exon reference bases + # cannot necessarily be concatenated to produce the original transcript mRNA. + # Corresponds to the JSON property `codingSequence` + # @return [Google::Apis::GenomicsV1::CodingSequence] + attr_accessor :coding_sequence + + # The exons that compose + # this transcript. This field should be unset for genomes where transcript + # splicing does not occur, for example prokaryotes. + # Introns are regions of the transcript that are not included in the + # spliced RNA product. Though not explicitly modeled here, intron ranges can + # be deduced; all regions of this transcript that are not exons are introns. + # Exonic sequences do not necessarily code for a translational product + # (amino acids). Only the regions of exons bounded by the + # codingSequence correspond + # to coding DNA sequence. + # Exons are ordered by start position and may not overlap. + # Corresponds to the JSON property `exons` + # @return [Array] + attr_accessor :exons + + # The annotation ID of the gene from which this transcript is transcribed. + # Corresponds to the JSON property `geneId` + # @return [String] + attr_accessor :gene_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @coding_sequence = args[:coding_sequence] if args.key?(:coding_sequence) + @exons = args[:exons] if args.key?(:exons) + @gene_id = args[:gene_id] if args.key?(:gene_id) + end + end + + # + class UndeleteDatasetRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A variant represents a change in DNA sequence relative to a reference + # sequence. For example, a variant could represent a SNP or an insertion. + # Variants belong to a variant set. + # For more genomics resource definitions, see [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Each of the calls on a variant represent a determination of genotype with + # respect to that variant. For example, a call might assign probability of 0.32 + # to the occurrence of a SNP named rs1234 in a sample named NA12345. A call + # belongs to a call set, which contains related calls typically from one + # sample. + class Variant + include Google::Apis::Core::Hashable + + # The bases that appear instead of the reference bases. + # Corresponds to the JSON property `alternateBases` + # @return [Array] + attr_accessor :alternate_bases + + # The variant calls for this particular variant. Each one represents the + # determination of genotype with respect to this variant. + # Corresponds to the JSON property `calls` + # @return [Array] + attr_accessor :calls + + # The date this variant was created, in milliseconds from the epoch. + # Corresponds to the JSON property `created` + # @return [Fixnum] + attr_accessor :created + + # The end position (0-based) of this variant. This corresponds to the first + # base after the last base in the reference allele. So, the length of + # the reference allele is (end - start). This is useful for variants + # that don't explicitly give alternate bases, for example large deletions. # Corresponds to the JSON property `end` # @return [Fixnum] attr_accessor :end - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @start = args[:start] if args.key?(:start) - @frame = args[:frame] if args.key?(:frame) - @end = args[:end] if args.key?(:end) - end - end - - # The read group set export request. - class ExportReadGroupSetRequest - include Google::Apis::Core::Hashable - - # The reference names to export. If this is not specified, all reference - # sequences, including unmapped reads, are exported. - # Use `*` to export only unmapped reads. - # Corresponds to the JSON property `referenceNames` + # A list of filters (normally quality filters) this variant has failed. + # `PASS` indicates this variant has passed all filters. + # Corresponds to the JSON property `filter` # @return [Array] - attr_accessor :reference_names + attr_accessor :filter - # Required. A Google Cloud Storage URI for the exported BAM file. - # The currently authenticated user must have write access to the new file. - # An error will be returned if the URI already contains data. - # Corresponds to the JSON property `exportUri` + # The server-generated variant ID, unique across all variants. + # Corresponds to the JSON property `id` # @return [String] - attr_accessor :export_uri + attr_accessor :id - # Required. The Google Cloud project ID that owns this - # export. The caller must have WRITE access to this project. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @reference_names = args[:reference_names] if args.key?(:reference_names) - @export_uri = args[:export_uri] if args.key?(:export_uri) - @project_id = args[:project_id] if args.key?(:project_id) - end - end - - # A call set is a collection of variant calls, typically for one sample. It - # belongs to a variant set. - # For more genomics resource definitions, see [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - class CallSet - include Google::Apis::Core::Hashable - - # The sample ID this call set corresponds to. - # Corresponds to the JSON property `sampleId` - # @return [String] - attr_accessor :sample_id - - # The call set name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # A map of additional call set information. This must be of the form + # A map of additional variant information. This must be of the form # map (string key mapping to a list of string values). # Corresponds to the JSON property `info` # @return [Hash>] attr_accessor :info - # The IDs of the variant sets this call set belongs to. This field must - # have exactly length one, as a call set belongs to a single variant set. - # This field is repeated for compatibility with the - # [GA4GH 0.5.1 - # API](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/ - # variants.avdl#L76). - # Corresponds to the JSON property `variantSetIds` + # Names for the variant, for example a RefSNP ID. + # Corresponds to the JSON property `names` # @return [Array] - attr_accessor :variant_set_ids + attr_accessor :names - # The server-generated call set ID, unique across all call sets. - # Corresponds to the JSON property `id` + # A measure of how likely this variant is to be real. + # A higher value is better. + # Corresponds to the JSON property `quality` + # @return [Float] + attr_accessor :quality + + # The reference bases for this variant. They start at the given + # position. + # Corresponds to the JSON property `referenceBases` # @return [String] - attr_accessor :id + attr_accessor :reference_bases - # The date this call set was created in milliseconds from the epoch. - # Corresponds to the JSON property `created` + # The reference on which this variant occurs. + # (such as `chr20` or `X`) + # Corresponds to the JSON property `referenceName` + # @return [String] + attr_accessor :reference_name + + # The position at which this variant occurs (0-based). + # This corresponds to the first base of the string of reference bases. + # Corresponds to the JSON property `start` # @return [Fixnum] - attr_accessor :created + attr_accessor :start - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sample_id = args[:sample_id] if args.key?(:sample_id) - @name = args[:name] if args.key?(:name) - @info = args[:info] if args.key?(:info) - @variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids) - @id = args[:id] if args.key?(:id) - @created = args[:created] if args.key?(:created) - end - end - - # - class SearchAnnotationSetsResponse - include Google::Apis::Core::Hashable - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of - # results. This field will be empty if there aren't any additional results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The matching annotation sets. - # Corresponds to the JSON property `annotationSets` - # @return [Array] - attr_accessor :annotation_sets - - 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) - @annotation_sets = args[:annotation_sets] if args.key?(:annotation_sets) - end - end - - # The variant data import request. - class ImportVariantsRequest - include Google::Apis::Core::Hashable - - # The format of the variant data being imported. If unspecified, defaults to - # to `VCF`. - # Corresponds to the JSON property `format` - # @return [String] - attr_accessor :format - - # A mapping between info field keys and the InfoMergeOperations to - # be performed on them. This is plumbed down to the MergeVariantRequests - # generated by the resulting import job. - # Corresponds to the JSON property `infoMergeConfig` - # @return [Hash] - attr_accessor :info_merge_config - - # A list of URIs referencing variant files in Google Cloud Storage. URIs can - # include wildcards [as described - # here](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames). - # Note that recursive wildcards ('**') are not supported. - # Corresponds to the JSON property `sourceUris` - # @return [Array] - attr_accessor :source_uris - - # Required. The variant set to which variant data should be imported. + # The ID of the variant set this variant belongs to. # Corresponds to the JSON property `variantSetId` # @return [String] attr_accessor :variant_set_id - # Convert reference names to the canonical representation. - # hg19 haploytypes (those reference names containing "_hap") - # are not modified in any way. - # All other reference names are modified according to the following rules: - # The reference name is capitalized. - # The "chr" prefix is dropped for all autosomes and sex chromsomes. - # For example "chr17" becomes "17" and "chrX" becomes "X". - # All mitochondrial chromosomes ("chrM", "chrMT", etc) become "MT". - # Corresponds to the JSON property `normalizeReferenceNames` - # @return [Boolean] - attr_accessor :normalize_reference_names - alias_method :normalize_reference_names?, :normalize_reference_names - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @format = args[:format] if args.key?(:format) - @info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config) - @source_uris = args[:source_uris] if args.key?(:source_uris) + @alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases) + @calls = args[:calls] if args.key?(:calls) + @created = args[:created] if args.key?(:created) + @end = args[:end] if args.key?(:end) + @filter = args[:filter] if args.key?(:filter) + @id = args[:id] if args.key?(:id) + @info = args[:info] if args.key?(:info) + @names = args[:names] if args.key?(:names) + @quality = args[:quality] if args.key?(:quality) + @reference_bases = args[:reference_bases] if args.key?(:reference_bases) + @reference_name = args[:reference_name] if args.key?(:reference_name) + @start = args[:start] if args.key?(:start) @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id) - @normalize_reference_names = args[:normalize_reference_names] if args.key?(:normalize_reference_names) end end @@ -3197,6 +3211,21 @@ module Google class VariantAnnotation include Google::Apis::Core::Hashable + # The alternate allele for this variant. If multiple alternate alleles + # exist at this location, create a separate variant for each one, as they + # may represent distinct conditions. + # Corresponds to the JSON property `alternateBases` + # @return [String] + attr_accessor :alternate_bases + + # Describes the clinical significance of a variant. + # It is adapted from the ClinVar controlled vocabulary for clinical + # significance described at: + # http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/ + # Corresponds to the JSON property `clinicalSignificance` + # @return [String] + attr_accessor :clinical_significance + # The set of conditions associated with this variant. # A condition describes the way a variant influences human health. # Corresponds to the JSON property `conditions` @@ -3208,6 +3237,12 @@ module Google # @return [String] attr_accessor :effect + # Google annotation ID of the gene affected by this variant. This should + # be provided when the variant is created. + # Corresponds to the JSON property `geneId` + # @return [String] + attr_accessor :gene_id + # Google annotation IDs of the transcripts affected by this variant. These # should be provided when the variant is created. # Corresponds to the JSON property `transcriptIds` @@ -3219,69 +3254,79 @@ module Google # @return [String] attr_accessor :type - # The alternate allele for this variant. If multiple alternate alleles - # exist at this location, create a separate variant for each one, as they - # may represent distinct conditions. - # Corresponds to the JSON property `alternateBases` - # @return [String] - attr_accessor :alternate_bases - - # Google annotation ID of the gene affected by this variant. This should - # be provided when the variant is created. - # Corresponds to the JSON property `geneId` - # @return [String] - attr_accessor :gene_id - - # Describes the clinical significance of a variant. - # It is adapted from the ClinVar controlled vocabulary for clinical - # significance described at: - # http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/ - # Corresponds to the JSON property `clinicalSignificance` - # @return [String] - attr_accessor :clinical_significance - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases) + @clinical_significance = args[:clinical_significance] if args.key?(:clinical_significance) @conditions = args[:conditions] if args.key?(:conditions) @effect = args[:effect] if args.key?(:effect) + @gene_id = args[:gene_id] if args.key?(:gene_id) @transcript_ids = args[:transcript_ids] if args.key?(:transcript_ids) @type = args[:type] if args.key?(:type) - @alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases) - @gene_id = args[:gene_id] if args.key?(:gene_id) - @clinical_significance = args[:clinical_significance] if args.key?(:clinical_significance) end end - # - class ListCoverageBucketsResponse + # A call represents the determination of genotype with respect to a particular + # variant. It may include associated information such as quality and phasing. + # For example, a call might assign a probability of 0.32 to the occurrence of + # a SNP named rs1234 in a call set with the name NA12345. + class VariantCall include Google::Apis::Core::Hashable - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of - # results. This field will be empty if there aren't any additional results. - # Corresponds to the JSON property `nextPageToken` + # The ID of the call set this variant call belongs to. + # Corresponds to the JSON property `callSetId` # @return [String] - attr_accessor :next_page_token + attr_accessor :call_set_id - # The length of each coverage bucket in base pairs. Note that buckets at the - # end of a reference sequence may be shorter. This value is omitted if the - # bucket width is infinity (the default behaviour, with no range or - # `targetBucketWidth`). - # Corresponds to the JSON property `bucketWidth` - # @return [Fixnum] - attr_accessor :bucket_width + # The name of the call set this variant call belongs to. + # Corresponds to the JSON property `callSetName` + # @return [String] + attr_accessor :call_set_name - # The coverage buckets. The list of buckets is sparse; a bucket with 0 - # overlapping reads is not returned. A bucket never crosses more than one - # reference sequence. Each bucket has width `bucketWidth`, unless - # its end is the end of the reference sequence. - # Corresponds to the JSON property `coverageBuckets` - # @return [Array] - attr_accessor :coverage_buckets + # The genotype of this variant call. Each value represents either the value + # of the `referenceBases` field or a 1-based index into + # `alternateBases`. If a variant had a `referenceBases` + # value of `T` and an `alternateBases` + # value of `["A", "C"]`, and the `genotype` was + # `[2, 1]`, that would mean the call + # represented the heterozygous value `CA` for this variant. + # If the `genotype` was instead `[0, 1]`, the + # represented value would be `TA`. Ordering of the + # genotype values is important if the `phaseset` is present. + # If a genotype is not called (that is, a `.` is present in the + # GT string) -1 is returned. + # Corresponds to the JSON property `genotype` + # @return [Array] + attr_accessor :genotype + + # The genotype likelihoods for this variant call. Each array entry + # represents how likely a specific genotype is for this call. The value + # ordering is defined by the GL tag in the VCF spec. + # If Phred-scaled genotype likelihood scores (PL) are available and + # log10(P) genotype likelihood scores (GL) are not, PL scores are converted + # to GL scores. If both are available, PL scores are stored in `info`. + # Corresponds to the JSON property `genotypeLikelihood` + # @return [Array] + attr_accessor :genotype_likelihood + + # A map of additional variant call information. This must be of the form + # map (string key mapping to a list of string values). + # Corresponds to the JSON property `info` + # @return [Hash>] + attr_accessor :info + + # If this field is present, this variant call's genotype ordering implies + # the phase of the bases and is consistent with any other variant calls in + # the same reference sequence which have the same phaseset value. + # When importing data from VCF, if the genotype data was phased but no + # phase set was specified this field will be set to `*`. + # Corresponds to the JSON property `phaseset` + # @return [String] + attr_accessor :phaseset def initialize(**args) update!(**args) @@ -3289,178 +3334,128 @@ module Google # Update properties of this object def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @bucket_width = args[:bucket_width] if args.key?(:bucket_width) - @coverage_buckets = args[:coverage_buckets] if args.key?(:coverage_buckets) + @call_set_id = args[:call_set_id] if args.key?(:call_set_id) + @call_set_name = args[:call_set_name] if args.key?(:call_set_name) + @genotype = args[:genotype] if args.key?(:genotype) + @genotype_likelihood = args[:genotype_likelihood] if args.key?(:genotype_likelihood) + @info = args[:info] if args.key?(:info) + @phaseset = args[:phaseset] if args.key?(:phaseset) end end - # The variant data export request. - class ExportVariantSetRequest + # A variant set is a collection of call sets and variants. It contains summary + # statistics of those contents. A variant set belongs to a dataset. + # For more genomics resource definitions, see [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + class VariantSet include Google::Apis::Core::Hashable - # Required. The BigQuery table to export data to. - # If the table doesn't exist, it will be created. If it already exists, it - # will be overwritten. - # Corresponds to the JSON property `bigqueryTable` + # The dataset to which this variant set belongs. + # Corresponds to the JSON property `datasetId` # @return [String] - attr_accessor :bigquery_table + attr_accessor :dataset_id - # Required. The BigQuery dataset to export data to. This dataset must already - # exist. Note that this is distinct from the Genomics concept of "dataset". - # Corresponds to the JSON property `bigqueryDataset` - # @return [String] - attr_accessor :bigquery_dataset - - # The format for the exported data. - # Corresponds to the JSON property `format` - # @return [String] - attr_accessor :format - - # Required. The Google Cloud project ID that owns the destination - # BigQuery dataset. The caller must have WRITE access to this project. This - # project will also own the resulting export job. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # If provided, only variant call information from the specified call sets - # will be exported. By default all variant calls are exported. - # Corresponds to the JSON property `callSetIds` - # @return [Array] - attr_accessor :call_set_ids - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bigquery_table = args[:bigquery_table] if args.key?(:bigquery_table) - @bigquery_dataset = args[:bigquery_dataset] if args.key?(:bigquery_dataset) - @format = args[:format] if args.key?(:format) - @project_id = args[:project_id] if args.key?(:project_id) - @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids) - end - end - - # - class SearchAnnotationsRequest - include Google::Apis::Core::Hashable - - # The start position of the range on the reference, 0-based inclusive. If - # specified, - # referenceId or - # referenceName - # must be specified. Defaults to 0. - # Corresponds to the JSON property `start` - # @return [Fixnum] - attr_accessor :start - - # Required. The annotation sets to search within. The caller must have - # `READ` access to these annotation sets. - # All queried annotation sets must have the same type. - # Corresponds to the JSON property `annotationSetIds` - # @return [Array] - attr_accessor :annotation_set_ids - - # The name of the reference to query, within the reference set associated - # with this query. - # Corresponds to the JSON property `referenceName` - # @return [String] - attr_accessor :reference_name - - # The ID of the reference to query. - # Corresponds to the JSON property `referenceId` - # @return [String] - attr_accessor :reference_id - - # The end position of the range on the reference, 0-based exclusive. If - # referenceId or - # referenceName - # must be specified, Defaults to the length of the reference. - # Corresponds to the JSON property `end` - # @return [Fixnum] - attr_accessor :end - - # The continuation token, which is used to page through large result sets. - # To get the next page of results, set this parameter to the value of - # `nextPageToken` from the previous response. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # The maximum number of results to return in a single page. If unspecified, - # defaults to 256. The maximum value is 2048. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @start = args[:start] if args.key?(:start) - @annotation_set_ids = args[:annotation_set_ids] if args.key?(:annotation_set_ids) - @reference_name = args[:reference_name] if args.key?(:reference_name) - @reference_id = args[:reference_id] if args.key?(:reference_id) - @end = args[:end] if args.key?(:end) - @page_token = args[:page_token] if args.key?(:page_token) - @page_size = args[:page_size] if args.key?(:page_size) - end - end - - # An event that occurred during an Operation. - class OperationEvent - include Google::Apis::Core::Hashable - - # Optional time of when event finished. An event can have a start time and no - # finish time. If an event has a finish time, there must be a start time. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # Optional time of when event started. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # Required description of event. + # A textual description of this variant set. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description + # The server-generated variant set ID, unique across all variant sets. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The metadata associated with this variant set. + # Corresponds to the JSON property `metadata` + # @return [Array] + attr_accessor :metadata + + # User-specified, mutable name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # A list of all references used by the variants in a variant set + # with associated coordinate upper bounds for each one. + # Corresponds to the JSON property `referenceBounds` + # @return [Array] + attr_accessor :reference_bounds + + # The reference set to which the variant set is mapped. The reference set + # describes the alignment provenance of the variant set, while the + # `referenceBounds` describe the shape of the actual variant data. The + # reference set's reference names are a superset of those found in the + # `referenceBounds`. + # For example, given a variant set that is mapped to the GRCh38 reference set + # and contains a single variant on reference 'X', `referenceBounds` would + # contain only an entry for 'X', while the associated reference set + # enumerates all possible references: '1', '2', 'X', 'Y', 'MT', etc. + # Corresponds to the JSON property `referenceSetId` + # @return [String] + attr_accessor :reference_set_id + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @end_time = args[:end_time] if args.key?(:end_time) - @start_time = args[:start_time] if args.key?(:start_time) + @dataset_id = args[:dataset_id] if args.key?(:dataset_id) @description = args[:description] if args.key?(:description) + @id = args[:id] if args.key?(:id) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + @reference_bounds = args[:reference_bounds] if args.key?(:reference_bounds) + @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) end end - # - class CodingSequence + # Metadata describes a single piece of variant call metadata. + # These data include a top level key and either a single value string (value) + # or a list of key-value pairs (info.) + # Value and info are mutually exclusive. + class VariantSetMetadata include Google::Apis::Core::Hashable - # The end of the coding sequence on this annotation's reference sequence, - # 0-based exclusive. Note that this position is relative to the reference - # start, and *not* the containing annotation start. - # Corresponds to the JSON property `end` - # @return [Fixnum] - attr_accessor :end + # A textual description of this metadata. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description - # The start of the coding sequence on this annotation's reference sequence, - # 0-based inclusive. Note that this position is relative to the reference - # start, and *not* the containing annotation start. - # Corresponds to the JSON property `start` - # @return [Fixnum] - attr_accessor :start + # User-provided ID field, not enforced by this API. + # Two or more pieces of structured metadata with identical + # id and key fields are considered equivalent. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Remaining structured metadata key-value pairs. This must be of the form + # map (string key mapping to a list of string values). + # Corresponds to the JSON property `info` + # @return [Hash>] + attr_accessor :info + + # The top-level key. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # The number of values that can be included in a field described by this + # metadata. + # Corresponds to the JSON property `number` + # @return [String] + attr_accessor :number + + # The type of data. Possible types include: Integer, Float, + # Flag, Character, and String. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The value field for simple metadata + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value def initialize(**args) update!(**args) @@ -3468,8 +3463,13 @@ module Google # Update properties of this object def update!(**args) - @end = args[:end] if args.key?(:end) - @start = args[:start] if args.key?(:start) + @description = args[:description] if args.key?(:description) + @id = args[:id] if args.key?(:id) + @info = args[:info] if args.key?(:info) + @key = args[:key] if args.key?(:key) + @number = args[:number] if args.key?(:number) + @type = args[:type] if args.key?(:type) + @value = args[:value] if args.key?(:value) end end end diff --git a/generated/google/apis/genomics_v1/representations.rb b/generated/google/apis/genomics_v1/representations.rb index c31aeea58..49663d14b 100644 --- a/generated/google/apis/genomics_v1/representations.rb +++ b/generated/google/apis/genomics_v1/representations.rb @@ -22,205 +22,19 @@ module Google module Apis module GenomicsV1 - class SearchReferencesResponse - 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 TestIamPermissionsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SearchAnnotationSetsRequest - 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 SearchReferencesRequest - 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 Dataset - 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 ReadGroup - 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 SearchVariantSetsResponse - 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 Entry - 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 SearchReferenceSetsResponse - 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 ImportReadGroupSetsRequest - 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 SearchReadsRequest - 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 Annotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class RuntimeMetadata + class AnnotationSet 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 ImportReadGroupSetsResponse - 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 SearchVariantsResponse - 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 Status - 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 UndeleteDatasetRequest - 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 VariantSet - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReferenceBound + class BatchCreateAnnotationsRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -232,43 +46,25 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class SearchCallSetsResponse + class Binding class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Variant + class CallSet class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListOperationsResponse + class CancelOperationRequest 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 OperationMetadata - 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 SearchAnnotationsResponse + class CigarUnit class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -280,13 +76,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class SearchReadsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Program + class CodingSequence class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -304,97 +94,19 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ExternalId + class Dataset class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class SearchVariantSetsRequest + class Empty 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 Reference - 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 SetIamPolicyRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MergeVariantsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BatchCreateAnnotationsRequest - 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 ReferenceSet - 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 AnnotationSet - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Transcript - 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 ListDatasetsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestIamPermissionsRequest + class Entry class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -406,49 +118,97 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Experiment + 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 CallSet - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SearchAnnotationSetsResponse - 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 VariantAnnotation - 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 ExportVariantSetRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class SearchAnnotationsRequest + class ExternalId + 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 ImportReadGroupSetsRequest + 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 ImportVariantsRequest + 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 LinearAlignment + 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 ListCoverageBucketsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListDatasetsResponse + 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 MergeVariantsRequest + 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 @@ -460,73 +220,383 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class CodingSequence + class OperationMetadata + 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 Position + 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 Range + 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 ReadGroup + 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 Reference + 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 ReferenceSet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RuntimeMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchAnnotationSetsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchAnnotationSetsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchAnnotationsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchAnnotationsResponse + 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 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 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 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 SearchReferencesRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SearchReferencesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :references, as: 'references', class: Google::Apis::GenomicsV1::Reference, decorator: Google::Apis::GenomicsV1::Reference::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :next_page_token, as: 'nextPageToken' - end + include Google::Apis::Core::JsonObjectSupport end - class GetIamPolicyRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - 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 SetIamPolicyRequest + 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 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 Transcript + 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 Variant + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VariantAnnotation + 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 VariantSet + 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 Annotation # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions' + property :annotation_set_id, as: 'annotationSetId' + property :end, :numeric_string => true, as: 'end' + property :id, as: 'id' + hash :info, as: 'info', :class => Array do + include Representable::JSON::Collection + items + end + + property :name, as: 'name' + property :reference_id, as: 'referenceId' + property :reference_name, as: 'referenceName' + property :reverse_strand, as: 'reverseStrand' + property :start, :numeric_string => true, as: 'start' + property :transcript, as: 'transcript', class: Google::Apis::GenomicsV1::Transcript, decorator: Google::Apis::GenomicsV1::Transcript::Representation + + property :type, as: 'type' + property :variant, as: 'variant', class: Google::Apis::GenomicsV1::VariantAnnotation, decorator: Google::Apis::GenomicsV1::VariantAnnotation::Representation + end end - class SearchAnnotationSetsRequest + class AnnotationSet # @private class Representation < Google::Apis::Core::JsonRepresentation + property :dataset_id, as: 'datasetId' + property :id, as: 'id' + hash :info, as: 'info', :class => Array do + include Representable::JSON::Collection + items + end + property :name, as: 'name' property :reference_set_id, as: 'referenceSetId' - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' - collection :dataset_ids, as: 'datasetIds' - collection :types, as: 'types' + property :source_uri, as: 'sourceUri' + property :type, as: 'type' end end - class SearchReadGroupSetsResponse + class BatchCreateAnnotationsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :read_group_sets, as: 'readGroupSets', class: Google::Apis::GenomicsV1::ReadGroupSet, decorator: Google::Apis::GenomicsV1::ReadGroupSet::Representation + collection :annotations, as: 'annotations', class: Google::Apis::GenomicsV1::Annotation, decorator: Google::Apis::GenomicsV1::Annotation::Representation + + property :request_id, as: 'requestId' + end + end + + class BatchCreateAnnotationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :entries, as: 'entries', class: Google::Apis::GenomicsV1::Entry, decorator: Google::Apis::GenomicsV1::Entry::Representation end end - class SearchReferencesRequest + class Binding # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :md5checksums, as: 'md5checksums' - property :page_token, as: 'pageToken' - collection :accessions, as: 'accessions' - property :page_size, as: 'pageSize' - property :reference_set_id, as: 'referenceSetId' + collection :members, as: 'members' + property :role, as: 'role' end end - class LinearAlignment + class CallSet # @private class Representation < Google::Apis::Core::JsonRepresentation - property :mapping_quality, as: 'mappingQuality' - collection :cigar, as: 'cigar', class: Google::Apis::GenomicsV1::CigarUnit, decorator: Google::Apis::GenomicsV1::CigarUnit::Representation + property :created, :numeric_string => true, as: 'created' + property :id, as: 'id' + hash :info, as: 'info', :class => Array do + include Representable::JSON::Collection + items + end - property :position, as: 'position', class: Google::Apis::GenomicsV1::Position, decorator: Google::Apis::GenomicsV1::Position::Representation + property :name, as: 'name' + property :sample_id, as: 'sampleId' + collection :variant_set_ids, as: 'variantSetIds' + end + end + + class CancelOperationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class CigarUnit + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :operation, as: 'operation' + property :operation_length, :numeric_string => true, as: 'operationLength' + property :reference_sequence, as: 'referenceSequence' + end + end + + class ClinicalCondition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :concept_id, as: 'conceptId' + collection :external_ids, as: 'externalIds', class: Google::Apis::GenomicsV1::ExternalId, decorator: Google::Apis::GenomicsV1::ExternalId::Representation + + collection :names, as: 'names' + property :omim_id, as: 'omimId' + end + end + + class CodingSequence + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end, :numeric_string => true, as: 'end' + property :start, :numeric_string => true, as: 'start' + end + end + + class ComputeEngine + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :disk_names, as: 'diskNames' + property :instance_name, as: 'instanceName' + property :machine_type, as: 'machineType' + property :zone, as: 'zone' + end + end + + class CoverageBucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :mean_coverage, as: 'meanCoverage' + property :range, as: 'range', class: Google::Apis::GenomicsV1::Range, decorator: Google::Apis::GenomicsV1::Range::Representation end end @@ -534,66 +604,10 @@ module Google class Dataset # @private class Representation < Google::Apis::Core::JsonRepresentation - property :project_id, as: 'projectId' - property :id, as: 'id' property :create_time, as: 'createTime' - property :name, as: 'name' - end - end - - class ImportVariantsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :call_set_ids, as: 'callSetIds' - end - end - - class ReadGroup - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :programs, as: 'programs', class: Google::Apis::GenomicsV1::Program, decorator: Google::Apis::GenomicsV1::Program::Representation - - property :predicted_insert_size, as: 'predictedInsertSize' - property :description, as: 'description' - property :sample_id, as: 'sampleId' - property :dataset_id, as: 'datasetId' - property :experiment, as: 'experiment', class: Google::Apis::GenomicsV1::Experiment, decorator: Google::Apis::GenomicsV1::Experiment::Representation - - property :name, as: 'name' - property :reference_set_id, as: 'referenceSetId' - hash :info, as: 'info', :class => Array do - include Representable::JSON::Collection - items - end - property :id, as: 'id' - end - end - - class ReadGroupSet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :dataset_id, as: 'datasetId' - property :filename, as: 'filename' - collection :read_groups, as: 'readGroups', class: Google::Apis::GenomicsV1::ReadGroup, decorator: Google::Apis::GenomicsV1::ReadGroup::Representation - property :name, as: 'name' - property :reference_set_id, as: 'referenceSetId' - hash :info, as: 'info', :class => Array do - include Representable::JSON::Collection - items - end - - end - end - - class SearchVariantSetsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :variant_sets, as: 'variantSets', class: Google::Apis::GenomicsV1::VariantSet, decorator: Google::Apis::GenomicsV1::VariantSet::Representation - - property :next_page_token, as: 'nextPageToken' + property :project_id, as: 'projectId' end end @@ -613,117 +627,69 @@ module Google end end - class Position + class Exon # @private class Representation < Google::Apis::Core::JsonRepresentation - property :position, :numeric_string => true, as: 'position' - property :reference_name, as: 'referenceName' - property :reverse_strand, as: 'reverseStrand' + property :end, :numeric_string => true, as: 'end' + property :frame, as: 'frame' + property :start, :numeric_string => true, as: 'start' end end - class SearchReferenceSetsResponse + class Experiment # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :reference_sets, as: 'referenceSets', class: Google::Apis::GenomicsV1::ReferenceSet, decorator: Google::Apis::GenomicsV1::ReferenceSet::Representation - - property :next_page_token, as: 'nextPageToken' + property :instrument_model, as: 'instrumentModel' + property :library_id, as: 'libraryId' + property :platform_unit, as: 'platformUnit' + property :sequencing_center, as: 'sequencingCenter' end end - class SearchCallSetsRequest + class ExportReadGroupSetRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :export_uri, as: 'exportUri' + property :project_id, as: 'projectId' + collection :reference_names, as: 'referenceNames' + end + end + + class ExportVariantSetRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bigquery_dataset, as: 'bigqueryDataset' + property :bigquery_table, as: 'bigqueryTable' + collection :call_set_ids, as: 'callSetIds' + property :format, as: 'format' + property :project_id, as: 'projectId' + end + end + + class ExternalId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :source_name, as: 'sourceName' + end + end + + class GetIamPolicyRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :page_token, as: 'pageToken' - property :name, as: 'name' - property :page_size, as: 'pageSize' - collection :variant_set_ids, as: 'variantSetIds' end end class ImportReadGroupSetsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :reference_set_id, as: 'referenceSetId' - property :partition_strategy, as: 'partitionStrategy' property :dataset_id, as: 'datasetId' + property :partition_strategy, as: 'partitionStrategy' + property :reference_set_id, as: 'referenceSetId' collection :source_uris, as: 'sourceUris' end end - class Policy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :etag, :base64 => true, as: 'etag' - property :version, as: 'version' - collection :bindings, as: 'bindings', class: Google::Apis::GenomicsV1::Binding, decorator: Google::Apis::GenomicsV1::Binding::Representation - - end - end - - class SearchReadsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :read_group_ids, as: 'readGroupIds' - property :end, :numeric_string => true, as: 'end' - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' - property :start, :numeric_string => true, as: 'start' - property :reference_name, as: 'referenceName' - collection :read_group_set_ids, as: 'readGroupSetIds' - end - end - - class CancelOperationRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class Annotation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :annotation_set_id, as: 'annotationSetId' - property :name, as: 'name' - property :variant, as: 'variant', class: Google::Apis::GenomicsV1::VariantAnnotation, decorator: Google::Apis::GenomicsV1::VariantAnnotation::Representation - - property :id, as: 'id' - property :reference_id, as: 'referenceId' - property :reverse_strand, as: 'reverseStrand' - property :reference_name, as: 'referenceName' - property :type, as: 'type' - hash :info, as: 'info', :class => Array do - include Representable::JSON::Collection - items - end - - property :end, :numeric_string => true, as: 'end' - property :transcript, as: 'transcript', class: Google::Apis::GenomicsV1::Transcript, decorator: Google::Apis::GenomicsV1::Transcript::Representation - - property :start, :numeric_string => true, as: 'start' - end - end - - class RuntimeMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :compute_engine, as: 'computeEngine', class: Google::Apis::GenomicsV1::ComputeEngine, decorator: Google::Apis::GenomicsV1::ComputeEngine::Representation - - end - end - - class Operation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :error, as: 'error', class: Google::Apis::GenomicsV1::Status, decorator: Google::Apis::GenomicsV1::Status::Representation - - hash :metadata, as: 'metadata' - property :done, as: 'done' - hash :response, as: 'response' - property :name, as: 'name' - end - end - class ImportReadGroupSetsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -731,133 +697,60 @@ module Google end end - class VariantCall + class ImportVariantsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :info, as: 'info', :class => Array do - include Representable::JSON::Collection - items - end - - property :call_set_name, as: 'callSetName' - collection :genotype_likelihood, as: 'genotypeLikelihood' - property :call_set_id, as: 'callSetId' - collection :genotype, as: 'genotype' - property :phaseset, as: 'phaseset' + property :format, as: 'format' + hash :info_merge_config, as: 'infoMergeConfig' + property :normalize_reference_names, as: 'normalizeReferenceNames' + collection :source_uris, as: 'sourceUris' + property :variant_set_id, as: 'variantSetId' end end - class SearchVariantsResponse + class ImportVariantsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :variants, as: 'variants', class: Google::Apis::GenomicsV1::Variant, decorator: Google::Apis::GenomicsV1::Variant::Representation + collection :call_set_ids, as: 'callSetIds' + end + end + + class LinearAlignment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :cigar, as: 'cigar', class: Google::Apis::GenomicsV1::CigarUnit, decorator: Google::Apis::GenomicsV1::CigarUnit::Representation + + property :mapping_quality, as: 'mappingQuality' + property :position, as: 'position', class: Google::Apis::GenomicsV1::Position, decorator: Google::Apis::GenomicsV1::Position::Representation - property :next_page_token, as: 'nextPageToken' end end class ListBasesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :sequence, as: 'sequence' + property :next_page_token, as: 'nextPageToken' property :offset, :numeric_string => true, as: 'offset' - property :next_page_token, as: 'nextPageToken' + property :sequence, as: 'sequence' end end - class Status + class ListCoverageBucketsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :details, as: 'details' - property :code, as: 'code' - property :message, as: 'message' - end - end - - class Binding - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :members, as: 'members' - property :role, as: 'role' - end - end - - class UndeleteDatasetRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class Range - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :reference_name, as: 'referenceName' - property :start, :numeric_string => true, as: 'start' - property :end, :numeric_string => true, as: 'end' - end - end - - class VariantSet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :metadata, as: 'metadata', class: Google::Apis::GenomicsV1::VariantSetMetadata, decorator: Google::Apis::GenomicsV1::VariantSetMetadata::Representation - - collection :reference_bounds, as: 'referenceBounds', class: Google::Apis::GenomicsV1::ReferenceBound, decorator: Google::Apis::GenomicsV1::ReferenceBound::Representation - - property :id, as: 'id' - property :description, as: 'description' - property :dataset_id, as: 'datasetId' - property :name, as: 'name' - property :reference_set_id, as: 'referenceSetId' - end - end - - class ReferenceBound - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :upper_bound, :numeric_string => true, as: 'upperBound' - property :reference_name, as: 'referenceName' - end - end - - class BatchCreateAnnotationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :entries, as: 'entries', class: Google::Apis::GenomicsV1::Entry, decorator: Google::Apis::GenomicsV1::Entry::Representation - - end - end - - class SearchCallSetsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :call_sets, as: 'callSets', class: Google::Apis::GenomicsV1::CallSet, decorator: Google::Apis::GenomicsV1::CallSet::Representation + property :bucket_width, :numeric_string => true, as: 'bucketWidth' + collection :coverage_buckets, as: 'coverageBuckets', class: Google::Apis::GenomicsV1::CoverageBucket, decorator: Google::Apis::GenomicsV1::CoverageBucket::Representation property :next_page_token, as: 'nextPageToken' end end - class Variant + class ListDatasetsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :variant_set_id, as: 'variantSetId' - property :reference_name, as: 'referenceName' - hash :info, as: 'info', :class => Array do - include Representable::JSON::Collection - items - end + collection :datasets, as: 'datasets', class: Google::Apis::GenomicsV1::Dataset, decorator: Google::Apis::GenomicsV1::Dataset::Representation - property :reference_bases, as: 'referenceBases' - collection :names, as: 'names' - collection :alternate_bases, as: 'alternateBases' - property :end, :numeric_string => true, as: 'end' - collection :filter, as: 'filter' - collection :calls, as: 'calls', class: Google::Apis::GenomicsV1::VariantCall, decorator: Google::Apis::GenomicsV1::VariantCall::Representation - - property :created, :numeric_string => true, as: 'created' - property :start, :numeric_string => true, as: 'start' - property :quality, as: 'quality' - property :id, as: 'id' + property :next_page_token, as: 'nextPageToken' end end @@ -870,64 +763,295 @@ module Google end end - class SearchVariantsRequest + class MergeVariantsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :call_set_ids, as: 'callSetIds' - property :variant_name, as: 'variantName' - property :start, :numeric_string => true, as: 'start' - property :reference_name, as: 'referenceName' - collection :variant_set_ids, as: 'variantSetIds' - property :end, :numeric_string => true, as: 'end' - property :max_calls, as: 'maxCalls' - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' + hash :info_merge_config, as: 'infoMergeConfig' + property :variant_set_id, as: 'variantSetId' + collection :variants, as: 'variants', class: Google::Apis::GenomicsV1::Variant, decorator: Google::Apis::GenomicsV1::Variant::Representation + + end + end + + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::GenomicsV1::Status, decorator: Google::Apis::GenomicsV1::Status::Representation + + hash :metadata, as: 'metadata' + property :name, as: 'name' + hash :response, as: 'response' + end + end + + class OperationEvent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :end_time, as: 'endTime' + property :start_time, as: 'startTime' end end class OperationMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation - property :start_time, as: 'startTime' - hash :request, as: 'request' - hash :runtime_metadata, as: 'runtimeMetadata' - hash :labels, as: 'labels' - property :create_time, as: 'createTime' - property :project_id, as: 'projectId' property :client_id, as: 'clientId' + property :create_time, as: 'createTime' + property :end_time, as: 'endTime' collection :events, as: 'events', class: Google::Apis::GenomicsV1::OperationEvent, decorator: Google::Apis::GenomicsV1::OperationEvent::Representation - property :end_time, as: 'endTime' + hash :labels, as: 'labels' + property :project_id, as: 'projectId' + hash :request, as: 'request' + hash :runtime_metadata, as: 'runtimeMetadata' + property :start_time, as: 'startTime' end end - class SearchReadGroupSetsRequest + class Policy # @private class Representation < Google::Apis::Core::JsonRepresentation - property :page_token, as: 'pageToken' + collection :bindings, as: 'bindings', class: Google::Apis::GenomicsV1::Binding, decorator: Google::Apis::GenomicsV1::Binding::Representation + + property :etag, :base64 => true, as: 'etag' + property :version, as: 'version' + end + end + + class Position + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :position, :numeric_string => true, as: 'position' + property :reference_name, as: 'referenceName' + property :reverse_strand, as: 'reverseStrand' + end + end + + class Program + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :command_line, as: 'commandLine' + property :id, as: 'id' + property :name, as: 'name' + property :prev_program_id, as: 'prevProgramId' + property :version, as: 'version' + end + end + + class Range + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end, :numeric_string => true, as: 'end' + property :reference_name, as: 'referenceName' + property :start, :numeric_string => true, as: 'start' + end + end + + class Read + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :aligned_quality, as: 'alignedQuality' + property :aligned_sequence, as: 'alignedSequence' + property :alignment, as: 'alignment', class: Google::Apis::GenomicsV1::LinearAlignment, decorator: Google::Apis::GenomicsV1::LinearAlignment::Representation + + property :duplicate_fragment, as: 'duplicateFragment' + property :failed_vendor_quality_checks, as: 'failedVendorQualityChecks' + property :fragment_length, as: 'fragmentLength' + property :fragment_name, as: 'fragmentName' + property :id, as: 'id' + hash :info, as: 'info', :class => Array do + include Representable::JSON::Collection + items + end + + property :next_mate_position, as: 'nextMatePosition', class: Google::Apis::GenomicsV1::Position, decorator: Google::Apis::GenomicsV1::Position::Representation + + property :number_reads, as: 'numberReads' + property :proper_placement, as: 'properPlacement' + property :read_group_id, as: 'readGroupId' + property :read_group_set_id, as: 'readGroupSetId' + property :read_number, as: 'readNumber' + property :secondary_alignment, as: 'secondaryAlignment' + property :supplementary_alignment, as: 'supplementaryAlignment' + end + end + + class ReadGroup + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dataset_id, as: 'datasetId' + property :description, as: 'description' + property :experiment, as: 'experiment', class: Google::Apis::GenomicsV1::Experiment, decorator: Google::Apis::GenomicsV1::Experiment::Representation + + property :id, as: 'id' + hash :info, as: 'info', :class => Array do + include Representable::JSON::Collection + items + end + + property :name, as: 'name' + property :predicted_insert_size, as: 'predictedInsertSize' + collection :programs, as: 'programs', class: Google::Apis::GenomicsV1::Program, decorator: Google::Apis::GenomicsV1::Program::Representation + + property :reference_set_id, as: 'referenceSetId' + property :sample_id, as: 'sampleId' + end + end + + class ReadGroupSet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dataset_id, as: 'datasetId' + property :filename, as: 'filename' + property :id, as: 'id' + hash :info, as: 'info', :class => Array do + include Representable::JSON::Collection + items + end + + property :name, as: 'name' + collection :read_groups, as: 'readGroups', class: Google::Apis::GenomicsV1::ReadGroup, decorator: Google::Apis::GenomicsV1::ReadGroup::Representation + + property :reference_set_id, as: 'referenceSetId' + end + end + + class Reference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :length, :numeric_string => true, as: 'length' + property :md5checksum, as: 'md5checksum' + property :name, as: 'name' + property :ncbi_taxon_id, as: 'ncbiTaxonId' + collection :source_accessions, as: 'sourceAccessions' + property :source_uri, as: 'sourceUri' + end + end + + class ReferenceBound + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :reference_name, as: 'referenceName' + property :upper_bound, :numeric_string => true, as: 'upperBound' + end + end + + class ReferenceSet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :assembly_id, as: 'assemblyId' + property :description, as: 'description' + property :id, as: 'id' + property :md5checksum, as: 'md5checksum' + property :ncbi_taxon_id, as: 'ncbiTaxonId' + collection :reference_ids, as: 'referenceIds' + collection :source_accessions, as: 'sourceAccessions' + property :source_uri, as: 'sourceUri' + end + end + + class RuntimeMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :compute_engine, as: 'computeEngine', class: Google::Apis::GenomicsV1::ComputeEngine, decorator: Google::Apis::GenomicsV1::ComputeEngine::Representation + + end + end + + class SearchAnnotationSetsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :dataset_ids, as: 'datasetIds' property :name, as: 'name' property :page_size, as: 'pageSize' - collection :dataset_ids, as: 'datasetIds' + property :page_token, as: 'pageToken' + property :reference_set_id, as: 'referenceSetId' + collection :types, as: 'types' + end + end + + class SearchAnnotationSetsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :annotation_sets, as: 'annotationSets', class: Google::Apis::GenomicsV1::AnnotationSet, decorator: Google::Apis::GenomicsV1::AnnotationSet::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class SearchAnnotationsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :annotation_set_ids, as: 'annotationSetIds' + property :end, :numeric_string => true, as: 'end' + property :page_size, as: 'pageSize' + property :page_token, as: 'pageToken' + property :reference_id, as: 'referenceId' + property :reference_name, as: 'referenceName' + property :start, :numeric_string => true, as: 'start' end end class SearchAnnotationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' collection :annotations, as: 'annotations', class: Google::Apis::GenomicsV1::Annotation, decorator: Google::Apis::GenomicsV1::Annotation::Representation + property :next_page_token, as: 'nextPageToken' + end + end + + class SearchCallSetsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :page_size, as: 'pageSize' + property :page_token, as: 'pageToken' + collection :variant_set_ids, as: 'variantSetIds' + end + end + + class SearchCallSetsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :call_sets, as: 'callSets', class: Google::Apis::GenomicsV1::CallSet, decorator: Google::Apis::GenomicsV1::CallSet::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class SearchReadGroupSetsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :dataset_ids, as: 'datasetIds' + property :name, as: 'name' + property :page_size, as: 'pageSize' + property :page_token, as: 'pageToken' + end + end + + class SearchReadGroupSetsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :read_group_sets, as: 'readGroupSets', class: Google::Apis::GenomicsV1::ReadGroupSet, decorator: Google::Apis::GenomicsV1::ReadGroupSet::Representation + end end - class ClinicalCondition + class SearchReadsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :omim_id, as: 'omimId' - collection :external_ids, as: 'externalIds', class: Google::Apis::GenomicsV1::ExternalId, decorator: Google::Apis::GenomicsV1::ExternalId::Representation - - property :concept_id, as: 'conceptId' - collection :names, as: 'names' + property :end, :numeric_string => true, as: 'end' + property :page_size, as: 'pageSize' + property :page_token, as: 'pageToken' + collection :read_group_ids, as: 'readGroupIds' + collection :read_group_set_ids, as: 'readGroupSetIds' + property :reference_name, as: 'referenceName' + property :start, :numeric_string => true, as: 'start' end end @@ -940,91 +1064,85 @@ module Google end end - class Program + class SearchReferenceSetsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :prev_program_id, as: 'prevProgramId' - property :command_line, as: 'commandLine' - property :version, as: 'version' - property :id, as: 'id' + collection :accessions, as: 'accessions' + property :assembly_id, as: 'assemblyId' + collection :md5checksums, as: 'md5checksums' + property :page_size, as: 'pageSize' + property :page_token, as: 'pageToken' end end - class ComputeEngine + class SearchReferenceSetsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :disk_names, as: 'diskNames' - property :machine_type, as: 'machineType' - property :instance_name, as: 'instanceName' - property :zone, as: 'zone' + property :next_page_token, as: 'nextPageToken' + collection :reference_sets, as: 'referenceSets', class: Google::Apis::GenomicsV1::ReferenceSet, decorator: Google::Apis::GenomicsV1::ReferenceSet::Representation + end end - class CoverageBucket + class SearchReferencesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :range, as: 'range', class: Google::Apis::GenomicsV1::Range, decorator: Google::Apis::GenomicsV1::Range::Representation - - property :mean_coverage, as: 'meanCoverage' + collection :accessions, as: 'accessions' + collection :md5checksums, as: 'md5checksums' + property :page_size, as: 'pageSize' + property :page_token, as: 'pageToken' + property :reference_set_id, as: 'referenceSetId' end end - class ExternalId + class SearchReferencesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :source_name, as: 'sourceName' + property :next_page_token, as: 'nextPageToken' + collection :references, as: 'references', class: Google::Apis::GenomicsV1::Reference, decorator: Google::Apis::GenomicsV1::Reference::Representation + end end class SearchVariantSetsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' collection :dataset_ids, as: 'datasetIds' - end - end - - class VariantSetMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :id, as: 'id' - property :number, as: 'number' - property :key, as: 'key' - property :description, as: 'description' - hash :info, as: 'info', :class => Array do - include Representable::JSON::Collection - items - end - - property :type, as: 'type' - end - end - - class Reference - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :length, :numeric_string => true, as: 'length' - collection :source_accessions, as: 'sourceAccessions' - property :source_uri, as: 'sourceUri' - property :ncbi_taxon_id, as: 'ncbiTaxonId' - property :name, as: 'name' - property :md5checksum, as: 'md5checksum' - end - end - - class SearchReferenceSetsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :md5checksums, as: 'md5checksums' - property :page_token, as: 'pageToken' - collection :accessions, as: 'accessions' property :page_size, as: 'pageSize' - property :assembly_id, as: 'assemblyId' + property :page_token, as: 'pageToken' + end + end + + class SearchVariantSetsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :variant_sets, as: 'variantSets', class: Google::Apis::GenomicsV1::VariantSet, decorator: Google::Apis::GenomicsV1::VariantSet::Representation + + end + end + + class SearchVariantsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :call_set_ids, as: 'callSetIds' + property :end, :numeric_string => true, as: 'end' + property :max_calls, as: 'maxCalls' + property :page_size, as: 'pageSize' + property :page_token, as: 'pageToken' + property :reference_name, as: 'referenceName' + property :start, :numeric_string => true, as: 'start' + property :variant_name, as: 'variantName' + collection :variant_set_ids, as: 'variantSetIds' + end + end + + class SearchVariantsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :variants, as: 'variants', class: Google::Apis::GenomicsV1::Variant, decorator: Google::Apis::GenomicsV1::Variant::Representation + end end @@ -1036,121 +1154,12 @@ module Google end end - class MergeVariantsRequest + class Status # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :variants, as: 'variants', class: Google::Apis::GenomicsV1::Variant, decorator: Google::Apis::GenomicsV1::Variant::Representation - - hash :info_merge_config, as: 'infoMergeConfig' - property :variant_set_id, as: 'variantSetId' - end - end - - class BatchCreateAnnotationsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :annotations, as: 'annotations', class: Google::Apis::GenomicsV1::Annotation, decorator: Google::Apis::GenomicsV1::Annotation::Representation - - property :request_id, as: 'requestId' - end - end - - class Read - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :duplicate_fragment, as: 'duplicateFragment' - property :read_number, as: 'readNumber' - property :aligned_sequence, as: 'alignedSequence' - property :read_group_id, as: 'readGroupId' - hash :info, as: 'info', :class => Array do - include Representable::JSON::Collection - items - end - - property :next_mate_position, as: 'nextMatePosition', class: Google::Apis::GenomicsV1::Position, decorator: Google::Apis::GenomicsV1::Position::Representation - - property :supplementary_alignment, as: 'supplementaryAlignment' - property :proper_placement, as: 'properPlacement' - property :fragment_length, as: 'fragmentLength' - property :failed_vendor_quality_checks, as: 'failedVendorQualityChecks' - collection :aligned_quality, as: 'alignedQuality' - property :alignment, as: 'alignment', class: Google::Apis::GenomicsV1::LinearAlignment, decorator: Google::Apis::GenomicsV1::LinearAlignment::Representation - - property :id, as: 'id' - property :number_reads, as: 'numberReads' - property :secondary_alignment, as: 'secondaryAlignment' - property :fragment_name, as: 'fragmentName' - property :read_group_set_id, as: 'readGroupSetId' - end - end - - class ReferenceSet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - collection :source_accessions, as: 'sourceAccessions' - property :description, as: 'description' - property :source_uri, as: 'sourceUri' - property :ncbi_taxon_id, as: 'ncbiTaxonId' - collection :reference_ids, as: 'referenceIds' - property :assembly_id, as: 'assemblyId' - property :md5checksum, as: 'md5checksum' - end - end - - class CigarUnit - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :operation_length, :numeric_string => true, as: 'operationLength' - property :operation, as: 'operation' - property :reference_sequence, as: 'referenceSequence' - end - end - - class AnnotationSet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :dataset_id, as: 'datasetId' - property :source_uri, as: 'sourceUri' - property :name, as: 'name' - property :reference_set_id, as: 'referenceSetId' - hash :info, as: 'info', :class => Array do - include Representable::JSON::Collection - items - end - - property :type, as: 'type' - property :id, as: 'id' - end - end - - class Transcript - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :gene_id, as: 'geneId' - collection :exons, as: 'exons', class: Google::Apis::GenomicsV1::Exon, decorator: Google::Apis::GenomicsV1::Exon::Representation - - property :coding_sequence, as: 'codingSequence', class: Google::Apis::GenomicsV1::CodingSequence, decorator: Google::Apis::GenomicsV1::CodingSequence::Representation - - end - end - - class Experiment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :platform_unit, as: 'platformUnit' - property :instrument_model, as: 'instrumentModel' - property :library_id, as: 'libraryId' - property :sequencing_center, as: 'sequencingCenter' - end - end - - class ListDatasetsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :datasets, as: 'datasets', class: Google::Apis::GenomicsV1::Dataset, decorator: Google::Apis::GenomicsV1::Dataset::Representation - + property :code, as: 'code' + collection :details, as: 'details' + property :message, as: 'message' end end @@ -1161,122 +1170,113 @@ module Google end end - class Exon + class TestIamPermissionsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :start, :numeric_string => true, as: 'start' - property :frame, as: 'frame' + collection :permissions, as: 'permissions' + end + end + + class Transcript + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :coding_sequence, as: 'codingSequence', class: Google::Apis::GenomicsV1::CodingSequence, decorator: Google::Apis::GenomicsV1::CodingSequence::Representation + + collection :exons, as: 'exons', class: Google::Apis::GenomicsV1::Exon, decorator: Google::Apis::GenomicsV1::Exon::Representation + + property :gene_id, as: 'geneId' + end + end + + class UndeleteDatasetRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Variant + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :alternate_bases, as: 'alternateBases' + collection :calls, as: 'calls', class: Google::Apis::GenomicsV1::VariantCall, decorator: Google::Apis::GenomicsV1::VariantCall::Representation + + property :created, :numeric_string => true, as: 'created' property :end, :numeric_string => true, as: 'end' - end - end - - class ExportReadGroupSetRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :reference_names, as: 'referenceNames' - property :export_uri, as: 'exportUri' - property :project_id, as: 'projectId' - end - end - - class CallSet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :sample_id, as: 'sampleId' - property :name, as: 'name' + collection :filter, as: 'filter' + property :id, as: 'id' hash :info, as: 'info', :class => Array do include Representable::JSON::Collection items end - collection :variant_set_ids, as: 'variantSetIds' - property :id, as: 'id' - property :created, :numeric_string => true, as: 'created' - end - end - - class SearchAnnotationSetsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :annotation_sets, as: 'annotationSets', class: Google::Apis::GenomicsV1::AnnotationSet, decorator: Google::Apis::GenomicsV1::AnnotationSet::Representation - - end - end - - class ImportVariantsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :format, as: 'format' - hash :info_merge_config, as: 'infoMergeConfig' - collection :source_uris, as: 'sourceUris' + collection :names, as: 'names' + property :quality, as: 'quality' + property :reference_bases, as: 'referenceBases' + property :reference_name, as: 'referenceName' + property :start, :numeric_string => true, as: 'start' property :variant_set_id, as: 'variantSetId' - property :normalize_reference_names, as: 'normalizeReferenceNames' end end class VariantAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation + property :alternate_bases, as: 'alternateBases' + property :clinical_significance, as: 'clinicalSignificance' collection :conditions, as: 'conditions', class: Google::Apis::GenomicsV1::ClinicalCondition, decorator: Google::Apis::GenomicsV1::ClinicalCondition::Representation property :effect, as: 'effect' + property :gene_id, as: 'geneId' collection :transcript_ids, as: 'transcriptIds' property :type, as: 'type' - property :alternate_bases, as: 'alternateBases' - property :gene_id, as: 'geneId' - property :clinical_significance, as: 'clinicalSignificance' end end - class ListCoverageBucketsResponse + class VariantCall # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - property :bucket_width, :numeric_string => true, as: 'bucketWidth' - collection :coverage_buckets, as: 'coverageBuckets', class: Google::Apis::GenomicsV1::CoverageBucket, decorator: Google::Apis::GenomicsV1::CoverageBucket::Representation + property :call_set_id, as: 'callSetId' + property :call_set_name, as: 'callSetName' + collection :genotype, as: 'genotype' + collection :genotype_likelihood, as: 'genotypeLikelihood' + hash :info, as: 'info', :class => Array do + include Representable::JSON::Collection + items + end + property :phaseset, as: 'phaseset' end end - class ExportVariantSetRequest + class VariantSet # @private class Representation < Google::Apis::Core::JsonRepresentation - property :bigquery_table, as: 'bigqueryTable' - property :bigquery_dataset, as: 'bigqueryDataset' - property :format, as: 'format' - property :project_id, as: 'projectId' - collection :call_set_ids, as: 'callSetIds' - end - end - - class SearchAnnotationsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :start, :numeric_string => true, as: 'start' - collection :annotation_set_ids, as: 'annotationSetIds' - property :reference_name, as: 'referenceName' - property :reference_id, as: 'referenceId' - property :end, :numeric_string => true, as: 'end' - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' - end - end - - class OperationEvent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :end_time, as: 'endTime' - property :start_time, as: 'startTime' + property :dataset_id, as: 'datasetId' property :description, as: 'description' + property :id, as: 'id' + collection :metadata, as: 'metadata', class: Google::Apis::GenomicsV1::VariantSetMetadata, decorator: Google::Apis::GenomicsV1::VariantSetMetadata::Representation + + property :name, as: 'name' + collection :reference_bounds, as: 'referenceBounds', class: Google::Apis::GenomicsV1::ReferenceBound, decorator: Google::Apis::GenomicsV1::ReferenceBound::Representation + + property :reference_set_id, as: 'referenceSetId' end end - class CodingSequence + class VariantSetMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation - property :end, :numeric_string => true, as: 'end' - property :start, :numeric_string => true, as: 'start' + property :description, as: 'description' + property :id, as: 'id' + hash :info, as: 'info', :class => Array do + include Representable::JSON::Collection + items + end + + property :key, as: 'key' + property :number, as: 'number' + property :type, as: 'type' + property :value, as: 'value' end end end diff --git a/generated/google/apis/genomics_v1/service.rb b/generated/google/apis/genomics_v1/service.rb index a1e60547a..4eca1629b 100644 --- a/generated/google/apis/genomics_v1/service.rb +++ b/generated/google/apis/genomics_v1/service.rb @@ -47,10 +47,19 @@ module Google @batch_path = 'batch' end - # Deletes an annotation. Caller must have WRITE permission for - # the associated annotation set. - # @param [String] annotation_id - # The ID of the annotation to be deleted. + # Creates one or more new annotations atomically. All annotations must + # belong to the same annotation set. Caller must have WRITE + # permission for this annotation set. For optimal performance, batch + # positionally adjacent annotations together. + # If the request has a systemic issue, such as an attempt to write to + # an inaccessible annotation set, the entire RPC will fail accordingly. For + # lesser data issues, when possible an error will be isolated to the + # corresponding batch entry in the response; the remaining well formed + # annotations will be created normally. + # For details on the requirements for each individual annotation resource, + # see + # CreateAnnotation. + # @param [Google::Apis::GenomicsV1::BatchCreateAnnotationsRequest] batch_create_annotations_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -60,19 +69,20 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::Empty] + # @return [Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse] # # @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_annotation(annotation_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/annotations/{annotationId}', options) - command.response_representation = Google::Apis::GenomicsV1::Empty::Representation - command.response_class = Google::Apis::GenomicsV1::Empty - command.params['annotationId'] = annotation_id unless annotation_id.nil? + def batch_create_annotations(batch_create_annotations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/annotations:batchCreate', options) + command.request_representation = Google::Apis::GenomicsV1::BatchCreateAnnotationsRequest::Representation + command.request_object = batch_create_annotations_request_object + command.response_representation = Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse::Representation + command.response_class = Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -123,19 +133,10 @@ module Google execute_or_queue_command(command, &block) end - # Creates one or more new annotations atomically. All annotations must - # belong to the same annotation set. Caller must have WRITE - # permission for this annotation set. For optimal performance, batch - # positionally adjacent annotations together. - # If the request has a systemic issue, such as an attempt to write to - # an inaccessible annotation set, the entire RPC will fail accordingly. For - # lesser data issues, when possible an error will be isolated to the - # corresponding batch entry in the response; the remaining well formed - # annotations will be created normally. - # For details on the requirements for each individual annotation resource, - # see - # CreateAnnotation. - # @param [Google::Apis::GenomicsV1::BatchCreateAnnotationsRequest] batch_create_annotations_request_object + # Deletes an annotation. Caller must have WRITE permission for + # the associated annotation set. + # @param [String] annotation_id + # The ID of the annotation to be deleted. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -145,20 +146,50 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse] + # @return [Google::Apis::GenomicsV1::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 batch_create_annotations(batch_create_annotations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/annotations:batchCreate', options) - command.request_representation = Google::Apis::GenomicsV1::BatchCreateAnnotationsRequest::Representation - command.request_object = batch_create_annotations_request_object - command.response_representation = Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse + def delete_annotation(annotation_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/annotations/{annotationId}', options) + command.response_representation = Google::Apis::GenomicsV1::Empty::Representation + command.response_class = Google::Apis::GenomicsV1::Empty + command.params['annotationId'] = annotation_id unless annotation_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 an annotation. Caller must have READ permission + # for the associated annotation set. + # @param [String] annotation_id + # The ID of the annotation to be retrieved. + # @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::GenomicsV1::Annotation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Annotation] + # + # @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_annotation(annotation_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/annotations/{annotationId}', options) + command.response_representation = Google::Apis::GenomicsV1::Annotation::Representation + command.response_class = Google::Apis::GenomicsV1::Annotation + command.params['annotationId'] = annotation_id unless annotation_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -200,37 +231,6 @@ module Google execute_or_queue_command(command, &block) end - # Gets an annotation. Caller must have READ permission - # for the associated annotation set. - # @param [String] annotation_id - # The ID of the annotation to be retrieved. - # @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::GenomicsV1::Annotation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Annotation] - # - # @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_annotation(annotation_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/annotations/{annotationId}', options) - command.response_representation = Google::Apis::GenomicsV1::Annotation::Representation - command.response_class = Google::Apis::GenomicsV1::Annotation - command.params['annotationId'] = annotation_id unless annotation_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 - # Updates an annotation. Caller must have # WRITE permission for the associated dataset. # @param [String] annotation_id @@ -273,13 +273,46 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a variant set including all variants, call sets, and calls within. - # This is not reversible. - # For the definitions of variant sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [String] variant_set_id - # The ID of the variant set to be deleted. + # Creates a new annotation set. Caller must have WRITE permission for the + # associated dataset. + # The following fields are required: + # * datasetId + # * referenceSetId + # All other fields may be optionally specified, unless documented as being + # server-generated (for example, the `id` field). + # @param [Google::Apis::GenomicsV1::AnnotationSet] annotation_set_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::GenomicsV1::AnnotationSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::AnnotationSet] + # + # @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_annotation_set(annotation_set_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/annotationsets', options) + command.request_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation + command.request_object = annotation_set_object + command.response_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation + command.response_class = Google::Apis::GenomicsV1::AnnotationSet + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an annotation set. Caller must have WRITE permission + # for the associated annotation set. + # @param [String] annotation_set_id + # The ID of the annotation set to be deleted. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -297,24 +330,20 @@ 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 delete_variantset(variant_set_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/variantsets/{variantSetId}', options) + def delete_annotationset(annotation_set_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/annotationsets/{annotationSetId}', options) command.response_representation = Google::Apis::GenomicsV1::Empty::Representation command.response_class = Google::Apis::GenomicsV1::Empty - command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? + command.params['annotationSetId'] = annotation_set_id unless annotation_set_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 - # Creates a new variant set. - # For the definitions of variant sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # The provided variant set must have a valid `datasetId` set - all other - # fields are optional. Note that the `id` field will be ignored, as this is - # assigned by the server. - # @param [Google::Apis::GenomicsV1::VariantSet] variant_set_object + # Gets an annotation set. Caller must have READ permission for + # the associated dataset. + # @param [String] annotation_set_id + # The ID of the annotation set to be retrieved. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -324,33 +353,30 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::VariantSet] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::AnnotationSet] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::VariantSet] + # @return [Google::Apis::GenomicsV1::AnnotationSet] # # @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_variantset(variant_set_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/variantsets', options) - command.request_representation = Google::Apis::GenomicsV1::VariantSet::Representation - command.request_object = variant_set_object - command.response_representation = Google::Apis::GenomicsV1::VariantSet::Representation - command.response_class = Google::Apis::GenomicsV1::VariantSet + def get_annotation_set(annotation_set_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/annotationsets/{annotationSetId}', options) + command.response_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation + command.response_class = Google::Apis::GenomicsV1::AnnotationSet + command.params['annotationSetId'] = annotation_set_id unless annotation_set_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 - # Exports variant set data to an external destination. - # For the definitions of variant sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [String] variant_set_id - # Required. The ID of the variant set that contains variant data which - # should be exported. The caller must have READ access to this variant set. - # @param [Google::Apis::GenomicsV1::ExportVariantSetRequest] export_variant_set_request_object + # Searches for annotation sets that match the given criteria. Annotation sets + # are returned in an unspecified order. This order is consistent, such that + # two queries for the same content (regardless of page size) yield annotation + # sets in the same order across their respective streams of paginated + # responses. Caller must have READ permission for the queried datasets. + # @param [Google::Apis::GenomicsV1::SearchAnnotationSetsRequest] search_annotation_sets_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -360,109 +386,37 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Operation] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::SearchAnnotationSetsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::Operation] + # @return [Google::Apis::GenomicsV1::SearchAnnotationSetsResponse] # # @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 export_variant_set(variant_set_id, export_variant_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/variantsets/{variantSetId}:export', options) - command.request_representation = Google::Apis::GenomicsV1::ExportVariantSetRequest::Representation - command.request_object = export_variant_set_request_object - command.response_representation = Google::Apis::GenomicsV1::Operation::Representation - command.response_class = Google::Apis::GenomicsV1::Operation - command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? + def search_annotationset_annotation_sets(search_annotation_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/annotationsets/search', options) + command.request_representation = Google::Apis::GenomicsV1::SearchAnnotationSetsRequest::Representation + command.request_object = search_annotation_sets_request_object + command.response_representation = Google::Apis::GenomicsV1::SearchAnnotationSetsResponse::Representation + command.response_class = Google::Apis::GenomicsV1::SearchAnnotationSetsResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Returns a list of all variant sets matching search criteria. - # For the definitions of variant sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # Implements - # [GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob/v0. - # 5.1/src/main/resources/avro/variantmethods.avdl#L49). - # @param [Google::Apis::GenomicsV1::SearchVariantSetsRequest] search_variant_sets_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::GenomicsV1::SearchVariantSetsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::SearchVariantSetsResponse] - # - # @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 search_variant_sets(search_variant_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/variantsets/search', options) - command.request_representation = Google::Apis::GenomicsV1::SearchVariantSetsRequest::Representation - command.request_object = search_variant_sets_request_object - command.response_representation = Google::Apis::GenomicsV1::SearchVariantSetsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::SearchVariantSetsResponse - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets a variant set by ID. - # For the definitions of variant sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [String] variant_set_id - # Required. The ID of the variant set. - # @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::GenomicsV1::VariantSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::VariantSet] - # - # @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_variantset(variant_set_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/variantsets/{variantSetId}', options) - command.response_representation = Google::Apis::GenomicsV1::VariantSet::Representation - command.response_class = Google::Apis::GenomicsV1::VariantSet - command.params['variantSetId'] = variant_set_id unless variant_set_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 - - # Updates a variant set using patch semantics. - # For the definitions of variant sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [String] variant_set_id - # The ID of the variant to be updated (must already exist). - # @param [Google::Apis::GenomicsV1::VariantSet] variant_set_object + # Updates an annotation set. The update must respect all mutability + # restrictions and other invariants described on the annotation set resource. + # Caller must have WRITE permission for the associated dataset. + # @param [String] annotation_set_id + # The ID of the annotation set to be updated. + # @param [Google::Apis::GenomicsV1::AnnotationSet] annotation_set_object # @param [String] update_mask - # An optional mask specifying which fields to update. Supported fields: - # * metadata. - # * name. - # * description. - # Leaving `updateMask` unset is equivalent to specifying all mutable - # fields. + # An optional mask specifying which fields to update. Mutable fields are + # name, + # source_uri, and + # info. If unspecified, all + # mutable fields will be updated. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -472,34 +426,66 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::VariantSet] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::AnnotationSet] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::VariantSet] + # @return [Google::Apis::GenomicsV1::AnnotationSet] # # @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_variantset(variant_set_id, variant_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/variantsets/{variantSetId}', options) - command.request_representation = Google::Apis::GenomicsV1::VariantSet::Representation - command.request_object = variant_set_object - command.response_representation = Google::Apis::GenomicsV1::VariantSet::Representation - command.response_class = Google::Apis::GenomicsV1::VariantSet - command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? + def update_annotationset(annotation_set_id, annotation_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v1/annotationsets/{annotationSetId}', options) + command.request_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation + command.request_object = annotation_set_object + command.response_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation + command.response_class = Google::Apis::GenomicsV1::AnnotationSet + command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.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 - # Starts asynchronous cancellation on a long-running operation. The server makes - # a best effort to cancel the operation, but success is not guaranteed. Clients - # may use Operations.GetOperation or Operations.ListOperations to check whether - # the cancellation succeeded or the operation completed despite cancellation. - # @param [String] name - # The name of the operation resource to be cancelled. - # @param [Google::Apis::GenomicsV1::CancelOperationRequest] cancel_operation_request_object + # Creates a new call set. + # For the definitions of call sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [Google::Apis::GenomicsV1::CallSet] call_set_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::GenomicsV1::CallSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::CallSet] + # + # @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_call_set(call_set_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/callsets', options) + command.request_representation = Google::Apis::GenomicsV1::CallSet::Representation + command.request_object = call_set_object + command.response_representation = Google::Apis::GenomicsV1::CallSet::Representation + command.response_class = Google::Apis::GenomicsV1::CallSet + 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 call set. + # For the definitions of call sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] call_set_id + # The ID of the call set to be deleted. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -517,524 +503,11 @@ 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 cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:cancel', options) - command.request_representation = Google::Apis::GenomicsV1::CancelOperationRequest::Representation - command.request_object = cancel_operation_request_object + def delete_call_set(call_set_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/callsets/{callSetId}', options) command.response_representation = Google::Apis::GenomicsV1::Empty::Representation command.response_class = Google::Apis::GenomicsV1::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 - - # 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::GenomicsV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::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::GenomicsV1::Operation::Representation - command.response_class = Google::Apis::GenomicsV1::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. - # @param [String] name - # The name of the operation's parent resource. - # @param [String] page_token - # The standard list page token. - # @param [Fixnum] page_size - # The maximum number of results to return. If unspecified, defaults to - # 256. The maximum value is 2048. - # @param [String] filter - # A string for filtering Operations. - # The following filter fields are supported: - # * projectId: Required. Corresponds to - # OperationMetadata.projectId. - # * createTime: The time this job was created, in seconds from the - # [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `>=` and/or `<=` - # operators. - # * status: Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only - # one status may be specified. - # * labels.key where key is a label key. - # Examples: - # * `projectId = my-project AND createTime >= 1432140000` - # * `projectId = my-project AND createTime >= 1432140000 AND createTime <= - # 1432150000 AND status = RUNNING` - # * `projectId = my-project AND labels.color = *` - # * `projectId = my-project AND labels.color = red` - # @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::GenomicsV1::ListOperationsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::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, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::GenomicsV1::ListOperationsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::ListOperationsResponse - command.params['name'] = name unless name.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['filter'] = filter unless filter.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Searches for reference sets which match the given criteria. - # For the definitions of references and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # Implements - # [GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/ - # v0.5.1/src/main/resources/avro/referencemethods.avdl#L71) - # @param [Google::Apis::GenomicsV1::SearchReferenceSetsRequest] search_reference_sets_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::GenomicsV1::SearchReferenceSetsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::SearchReferenceSetsResponse] - # - # @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 search_reference_sets(search_reference_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/referencesets/search', options) - command.request_representation = Google::Apis::GenomicsV1::SearchReferenceSetsRequest::Representation - command.request_object = search_reference_sets_request_object - command.response_representation = Google::Apis::GenomicsV1::SearchReferenceSetsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::SearchReferenceSetsResponse - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets a reference set. - # For the definitions of references and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # Implements - # [GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5. - # 1/src/main/resources/avro/referencemethods.avdl#L83). - # @param [String] reference_set_id - # The ID of the reference set. - # @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::GenomicsV1::ReferenceSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::ReferenceSet] - # - # @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_reference_set(reference_set_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/referencesets/{referenceSetId}', options) - command.response_representation = Google::Apis::GenomicsV1::ReferenceSet::Representation - command.response_class = Google::Apis::GenomicsV1::ReferenceSet - command.params['referenceSetId'] = reference_set_id unless reference_set_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 - - # Searches for read group sets matching the criteria. - # For the definitions of read group sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # Implements - # [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/ - # v0.5.1/src/main/resources/avro/readmethods.avdl#L135). - # @param [Google::Apis::GenomicsV1::SearchReadGroupSetsRequest] search_read_group_sets_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::GenomicsV1::SearchReadGroupSetsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::SearchReadGroupSetsResponse] - # - # @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 search_read_group_sets(search_read_group_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/readgroupsets/search', options) - command.request_representation = Google::Apis::GenomicsV1::SearchReadGroupSetsRequest::Representation - command.request_object = search_read_group_sets_request_object - command.response_representation = Google::Apis::GenomicsV1::SearchReadGroupSetsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::SearchReadGroupSetsResponse - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets a read group set by ID. - # For the definitions of read group sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [String] read_group_set_id - # The ID of the read group set. - # @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::GenomicsV1::ReadGroupSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::ReadGroupSet] - # - # @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_read_group_set(read_group_set_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/readgroupsets/{readGroupSetId}', options) - command.response_representation = Google::Apis::GenomicsV1::ReadGroupSet::Representation - command.response_class = Google::Apis::GenomicsV1::ReadGroupSet - command.params['readGroupSetId'] = read_group_set_id unless read_group_set_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 - - # Updates a read group set. - # For the definitions of read group sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # This method supports patch semantics. - # @param [String] read_group_set_id - # The ID of the read group set to be updated. The caller must have WRITE - # permissions to the dataset associated with this read group set. - # @param [Google::Apis::GenomicsV1::ReadGroupSet] read_group_set_object - # @param [String] update_mask - # An optional mask specifying which fields to update. Supported fields: - # * name. - # * referenceSetId. - # Leaving `updateMask` unset is equivalent to specifying all mutable - # fields. - # @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::GenomicsV1::ReadGroupSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::ReadGroupSet] - # - # @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_read_group_set(read_group_set_id, read_group_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/readgroupsets/{readGroupSetId}', options) - command.request_representation = Google::Apis::GenomicsV1::ReadGroupSet::Representation - command.request_object = read_group_set_object - command.response_representation = Google::Apis::GenomicsV1::ReadGroupSet::Representation - command.response_class = Google::Apis::GenomicsV1::ReadGroupSet - command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.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 - - # Creates read group sets by asynchronously importing the provided - # information. - # For the definitions of read group sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # The caller must have WRITE permissions to the dataset. - # ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import - # - Tags will be converted to strings - tag types are not preserved - # - Comments (`@CO`) in the input file header will not be preserved - # - Original header order of references (`@SQ`) will not be preserved - # - Any reverse stranded unmapped reads will be reverse complemented, and - # their qualities (also the "BQ" and "OQ" tags, if any) will be reversed - # - Unmapped reads will be stripped of positional information (reference name - # and position) - # @param [Google::Apis::GenomicsV1::ImportReadGroupSetsRequest] import_read_group_sets_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::GenomicsV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::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 import_read_group_sets(import_read_group_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/readgroupsets:import', options) - command.request_representation = Google::Apis::GenomicsV1::ImportReadGroupSetsRequest::Representation - command.request_object = import_read_group_sets_request_object - command.response_representation = Google::Apis::GenomicsV1::Operation::Representation - command.response_class = Google::Apis::GenomicsV1::Operation - 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 read group set. - # For the definitions of read group sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [String] read_group_set_id - # The ID of the read group set to be deleted. The caller must have WRITE - # permissions to the dataset associated with this read group set. - # @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::GenomicsV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::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_read_group_set(read_group_set_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/readgroupsets/{readGroupSetId}', options) - command.response_representation = Google::Apis::GenomicsV1::Empty::Representation - command.response_class = Google::Apis::GenomicsV1::Empty - command.params['readGroupSetId'] = read_group_set_id unless read_group_set_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 - - # Exports a read group set to a BAM file in Google Cloud Storage. - # For the definitions of read group sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # Note that currently there may be some differences between exported BAM - # files and the original BAM file at the time of import. See - # ImportReadGroupSets - # for caveats. - # @param [String] read_group_set_id - # Required. The ID of the read group set to export. The caller must have - # READ access to this read group set. - # @param [Google::Apis::GenomicsV1::ExportReadGroupSetRequest] export_read_group_set_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::GenomicsV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::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 export_read_group_sets(read_group_set_id, export_read_group_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/readgroupsets/{readGroupSetId}:export', options) - command.request_representation = Google::Apis::GenomicsV1::ExportReadGroupSetRequest::Representation - command.request_object = export_read_group_set_request_object - command.response_representation = Google::Apis::GenomicsV1::Operation::Representation - command.response_class = Google::Apis::GenomicsV1::Operation - command.params['readGroupSetId'] = read_group_set_id unless read_group_set_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 fixed width coverage buckets for a read group set, each of which - # correspond to a range of a reference sequence. Each bucket summarizes - # coverage information across its corresponding genomic range. - # For the definitions of read group sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # Coverage is defined as the number of reads which are aligned to a given - # base in the reference sequence. Coverage buckets are available at several - # precomputed bucket widths, enabling retrieval of various coverage 'zoom - # levels'. The caller must have READ permissions for the target read group - # set. - # @param [String] read_group_set_id - # Required. The ID of the read group set over which coverage is requested. - # @param [Fixnum] end_ - # The end position of the range on the reference, 0-based exclusive. If - # specified, `referenceName` must also be specified. If unset or 0, defaults - # to the length of the reference. - # @param [String] page_token - # The continuation token, which is used to page through large result sets. - # To get the next page of results, set this parameter to the value of - # `nextPageToken` from the previous response. - # @param [Fixnum] page_size - # The maximum number of results to return in a single page. If unspecified, - # defaults to 1024. The maximum value is 2048. - # @param [Fixnum] start - # The start position of the range on the reference, 0-based inclusive. If - # specified, `referenceName` must also be specified. Defaults to 0. - # @param [Fixnum] target_bucket_width - # The desired width of each reported coverage bucket in base pairs. This - # will be rounded down to the nearest precomputed bucket width; the value - # of which is returned as `bucketWidth` in the response. Defaults - # to infinity (each bucket spans an entire reference sequence) or the length - # of the target range, if specified. The smallest precomputed - # `bucketWidth` is currently 2048 base pairs; this is subject to - # change. - # @param [String] reference_name - # The name of the reference to query, within the reference set associated - # with this query. Optional. - # @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::GenomicsV1::ListCoverageBucketsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::ListCoverageBucketsResponse] - # - # @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_coverage_buckets(read_group_set_id, end_: nil, page_token: nil, page_size: nil, start: nil, target_bucket_width: nil, reference_name: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/readgroupsets/{readGroupSetId}/coveragebuckets', options) - command.response_representation = Google::Apis::GenomicsV1::ListCoverageBucketsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::ListCoverageBucketsResponse - command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil? - command.query['end'] = end_ unless end_.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['start'] = start unless start.nil? - command.query['targetBucketWidth'] = target_bucket_width unless target_bucket_width.nil? - command.query['referenceName'] = reference_name unless reference_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 a list of reads for one or more read group sets. - # For the definitions of read group sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # Reads search operates over a genomic coordinate space of reference sequence - # & position defined over the reference sequences to which the requested - # read group sets are aligned. - # If a target positional range is specified, search returns all reads whose - # alignment to the reference genome overlap the range. A query which - # specifies only read group set IDs yields all reads in those read group - # sets, including unmapped reads. - # All reads returned (including reads on subsequent pages) are ordered by - # genomic coordinate (by reference sequence, then position). Reads with - # equivalent genomic coordinates are returned in an unspecified order. This - # order is consistent, such that two queries for the same content (regardless - # of page size) yield reads in the same order across their respective streams - # of paginated responses. - # Implements - # [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/ - # src/main/resources/avro/readmethods.avdl#L85). - # @param [Google::Apis::GenomicsV1::SearchReadsRequest] search_reads_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::GenomicsV1::SearchReadsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::SearchReadsResponse] - # - # @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 search_reads(search_reads_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/reads/search', options) - command.request_representation = Google::Apis::GenomicsV1::SearchReadsRequest::Representation - command.request_object = search_reads_request_object - command.response_representation = Google::Apis::GenomicsV1::SearchReadsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::SearchReadsResponse + command.params['callSetId'] = call_set_id unless call_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -1116,72 +589,6 @@ module Google execute_or_queue_command(command, &block) end - # Creates a new call set. - # For the definitions of call sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [Google::Apis::GenomicsV1::CallSet] call_set_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::GenomicsV1::CallSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::CallSet] - # - # @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_call_set(call_set_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/callsets', options) - command.request_representation = Google::Apis::GenomicsV1::CallSet::Representation - command.request_object = call_set_object - command.response_representation = Google::Apis::GenomicsV1::CallSet::Representation - command.response_class = Google::Apis::GenomicsV1::CallSet - 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 call set. - # For the definitions of call sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [String] call_set_id - # The ID of the call set 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::GenomicsV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::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_call_set(call_set_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/callsets/{callSetId}', options) - command.response_representation = Google::Apis::GenomicsV1::Empty::Representation - command.response_class = Google::Apis::GenomicsV1::Empty - command.params['callSetId'] = call_set_id unless call_set_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 a list of call sets matching the criteria. # For the definitions of call sets and other genomics resources, see # [Fundamentals of Google @@ -1218,10 +625,50 @@ module Google execute_or_queue_command(command, &block) end - # Deletes an annotation set. Caller must have WRITE permission - # for the associated annotation set. - # @param [String] annotation_set_id - # The ID of the annotation set to be deleted. + # Creates a new dataset. + # For the definitions of datasets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [Google::Apis::GenomicsV1::Dataset] dataset_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::GenomicsV1::Dataset] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Dataset] + # + # @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_dataset(dataset_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/datasets', options) + command.request_representation = Google::Apis::GenomicsV1::Dataset::Representation + command.request_object = dataset_object + command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation + command.response_class = Google::Apis::GenomicsV1::Dataset + 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 dataset and all of its contents (all read group sets, + # reference sets, variant sets, call sets, annotation sets, etc.) + # This is reversible (up to one week after the deletion) via + # the + # datasets.undelete + # operation. + # For the definitions of datasets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] dataset_id + # The ID of the dataset to be deleted. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1239,22 +686,22 @@ 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 delete_annotationset(annotation_set_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/annotationsets/{annotationSetId}', options) + def delete_dataset(dataset_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/datasets/{datasetId}', options) command.response_representation = Google::Apis::GenomicsV1::Empty::Representation command.response_class = Google::Apis::GenomicsV1::Empty - command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil? + command.params['datasetId'] = dataset_id unless dataset_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 - # Searches for annotation sets that match the given criteria. Annotation sets - # are returned in an unspecified order. This order is consistent, such that - # two queries for the same content (regardless of page size) yield annotation - # sets in the same order across their respective streams of paginated - # responses. Caller must have READ permission for the queried datasets. - # @param [Google::Apis::GenomicsV1::SearchAnnotationSetsRequest] search_annotation_sets_request_object + # Gets a dataset by ID. + # For the definitions of datasets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] dataset_id + # The ID of the dataset. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1264,29 +711,35 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::SearchAnnotationSetsResponse] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::Dataset] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::SearchAnnotationSetsResponse] + # @return [Google::Apis::GenomicsV1::Dataset] # # @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 search_annotationset_annotation_sets(search_annotation_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/annotationsets/search', options) - command.request_representation = Google::Apis::GenomicsV1::SearchAnnotationSetsRequest::Representation - command.request_object = search_annotation_sets_request_object - command.response_representation = Google::Apis::GenomicsV1::SearchAnnotationSetsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::SearchAnnotationSetsResponse + def get_dataset(dataset_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/datasets/{datasetId}', options) + command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation + command.response_class = Google::Apis::GenomicsV1::Dataset + command.params['datasetId'] = dataset_id unless dataset_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 an annotation set. Caller must have READ permission for - # the associated dataset. - # @param [String] annotation_set_id - # The ID of the annotation set to be retrieved. + # Gets the access control policy for the dataset. This is empty if the + # policy or resource does not exist. + # See Getting a + # Policy for more information. + # For the definitions of datasets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] resource + # REQUIRED: The resource for which policy is being specified. Format is + # `datasets/`. + # @param [Google::Apis::GenomicsV1::GetIamPolicyRequest] get_iam_policy_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1296,36 +749,81 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::AnnotationSet] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::Policy] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::AnnotationSet] + # @return [Google::Apis::GenomicsV1::Policy] # # @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_annotation_set(annotation_set_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/annotationsets/{annotationSetId}', options) - command.response_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation - command.response_class = Google::Apis::GenomicsV1::AnnotationSet - command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil? + def get_dataset_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options) + command.request_representation = Google::Apis::GenomicsV1::GetIamPolicyRequest::Representation + command.request_object = get_iam_policy_request_object + command.response_representation = Google::Apis::GenomicsV1::Policy::Representation + command.response_class = Google::Apis::GenomicsV1::Policy + command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Updates an annotation set. The update must respect all mutability - # restrictions and other invariants described on the annotation set resource. - # Caller must have WRITE permission for the associated dataset. - # @param [String] annotation_set_id - # The ID of the annotation set to be updated. - # @param [Google::Apis::GenomicsV1::AnnotationSet] annotation_set_object + # Lists datasets within a project. + # For the definitions of datasets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [Fixnum] page_size + # The maximum number of results to return in a single page. If unspecified, + # defaults to 50. The maximum value is 1024. + # @param [String] page_token + # The continuation token, which is used to page through large result sets. + # To get the next page of results, set this parameter to the value of + # `nextPageToken` from the previous response. + # @param [String] project_id + # Required. The Google Cloud project ID to list datasets 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::ListDatasetsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::ListDatasetsResponse] + # + # @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_datasets(page_size: nil, page_token: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/datasets', options) + command.response_representation = Google::Apis::GenomicsV1::ListDatasetsResponse::Representation + command.response_class = Google::Apis::GenomicsV1::ListDatasetsResponse + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['projectId'] = project_id unless project_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 + + # Updates a dataset. + # For the definitions of datasets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # This method supports patch semantics. + # @param [String] dataset_id + # The ID of the dataset to be updated. + # @param [Google::Apis::GenomicsV1::Dataset] dataset_object # @param [String] update_mask - # An optional mask specifying which fields to update. Mutable fields are - # name, - # source_uri, and - # info. If unspecified, all - # mutable fields will be updated. + # An optional mask specifying which fields to update. At this time, the only + # mutable field is name. The only + # acceptable value is "name". If unspecified, all mutable fields will be + # updated. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1335,35 +833,38 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::AnnotationSet] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::Dataset] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::AnnotationSet] + # @return [Google::Apis::GenomicsV1::Dataset] # # @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_annotationset(annotation_set_id, annotation_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v1/annotationsets/{annotationSetId}', options) - command.request_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation - command.request_object = annotation_set_object - command.response_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation - command.response_class = Google::Apis::GenomicsV1::AnnotationSet - command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil? + def patch_dataset(dataset_id, dataset_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/datasets/{datasetId}', options) + command.request_representation = Google::Apis::GenomicsV1::Dataset::Representation + command.request_object = dataset_object + command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation + command.response_class = Google::Apis::GenomicsV1::Dataset + command.params['datasetId'] = dataset_id unless dataset_id.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 - # Creates a new annotation set. Caller must have WRITE permission for the - # associated dataset. - # The following fields are required: - # * datasetId - # * referenceSetId - # All other fields may be optionally specified, unless documented as being - # server-generated (for example, the `id` field). - # @param [Google::Apis::GenomicsV1::AnnotationSet] annotation_set_object + # Sets the access control policy on the specified dataset. Replaces any + # existing policy. + # For the definitions of datasets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # See Setting a + # Policy for more information. + # @param [String] resource + # REQUIRED: The resource for which policy is being specified. Format is + # `datasets/`. + # @param [Google::Apis::GenomicsV1::SetIamPolicyRequest] set_iam_policy_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1373,20 +874,835 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::AnnotationSet] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::Policy] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::AnnotationSet] + # @return [Google::Apis::GenomicsV1::Policy] # # @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_annotation_set(annotation_set_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/annotationsets', options) - command.request_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation - command.request_object = annotation_set_object - command.response_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation - command.response_class = Google::Apis::GenomicsV1::AnnotationSet + def set_dataset_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::GenomicsV1::SetIamPolicyRequest::Representation + command.request_object = set_iam_policy_request_object + command.response_representation = Google::Apis::GenomicsV1::Policy::Representation + command.response_class = Google::Apis::GenomicsV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified resource. + # See Testing + # Permissions for more information. + # For the definitions of datasets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] resource + # REQUIRED: The resource for which policy is being specified. Format is + # `datasets/`. + # @param [Google::Apis::GenomicsV1::TestIamPermissionsRequest] test_iam_permissions_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::GenomicsV1::TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::TestIamPermissionsResponse] + # + # @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 test_dataset_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) + command.request_representation = Google::Apis::GenomicsV1::TestIamPermissionsRequest::Representation + command.request_object = test_iam_permissions_request_object + command.response_representation = Google::Apis::GenomicsV1::TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::GenomicsV1::TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Undeletes a dataset by restoring a dataset which was deleted via this API. + # For the definitions of datasets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # This operation is only possible for a week after the deletion occurred. + # @param [String] dataset_id + # The ID of the dataset to be undeleted. + # @param [Google::Apis::GenomicsV1::UndeleteDatasetRequest] undelete_dataset_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::GenomicsV1::Dataset] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Dataset] + # + # @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_dataset(dataset_id, undelete_dataset_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/datasets/{datasetId}:undelete', options) + command.request_representation = Google::Apis::GenomicsV1::UndeleteDatasetRequest::Representation + command.request_object = undelete_dataset_request_object + command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation + command.response_class = Google::Apis::GenomicsV1::Dataset + command.params['datasetId'] = dataset_id unless dataset_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 + + # Starts asynchronous cancellation on a long-running operation. The server makes + # a best effort to cancel the operation, but success is not guaranteed. Clients + # may use Operations.GetOperation or Operations.ListOperations to check whether + # the cancellation succeeded or the operation completed despite cancellation. + # @param [String] name + # The name of the operation resource to be cancelled. + # @param [Google::Apis::GenomicsV1::CancelOperationRequest] cancel_operation_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::GenomicsV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::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, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:cancel', options) + command.request_representation = Google::Apis::GenomicsV1::CancelOperationRequest::Representation + command.request_object = cancel_operation_request_object + command.response_representation = Google::Apis::GenomicsV1::Empty::Representation + command.response_class = Google::Apis::GenomicsV1::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 + + # 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::GenomicsV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::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::GenomicsV1::Operation::Representation + command.response_class = Google::Apis::GenomicsV1::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. + # @param [String] name + # The name of the operation's parent resource. + # @param [String] filter + # A string for filtering Operations. + # The following filter fields are supported: + # * projectId: Required. Corresponds to + # OperationMetadata.projectId. + # * createTime: The time this job was created, in seconds from the + # [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `>=` and/or `<=` + # operators. + # * status: Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only + # one status may be specified. + # * labels.key where key is a label key. + # Examples: + # * `projectId = my-project AND createTime >= 1432140000` + # * `projectId = my-project AND createTime >= 1432140000 AND createTime <= + # 1432150000 AND status = RUNNING` + # * `projectId = my-project AND labels.color = *` + # * `projectId = my-project AND labels.color = red` + # @param [Fixnum] page_size + # The maximum number of results to return. If unspecified, defaults to + # 256. The maximum value is 2048. + # @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::GenomicsV1::ListOperationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::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::GenomicsV1::ListOperationsResponse::Representation + command.response_class = Google::Apis::GenomicsV1::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 + + # Deletes a read group set. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] read_group_set_id + # The ID of the read group set to be deleted. The caller must have WRITE + # permissions to the dataset associated with this read group set. + # @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::GenomicsV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::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_read_group_set(read_group_set_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/readgroupsets/{readGroupSetId}', options) + command.response_representation = Google::Apis::GenomicsV1::Empty::Representation + command.response_class = Google::Apis::GenomicsV1::Empty + command.params['readGroupSetId'] = read_group_set_id unless read_group_set_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 + + # Exports a read group set to a BAM file in Google Cloud Storage. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Note that currently there may be some differences between exported BAM + # files and the original BAM file at the time of import. See + # ImportReadGroupSets + # for caveats. + # @param [String] read_group_set_id + # Required. The ID of the read group set to export. The caller must have + # READ access to this read group set. + # @param [Google::Apis::GenomicsV1::ExportReadGroupSetRequest] export_read_group_set_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::GenomicsV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::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 export_read_group_sets(read_group_set_id, export_read_group_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/readgroupsets/{readGroupSetId}:export', options) + command.request_representation = Google::Apis::GenomicsV1::ExportReadGroupSetRequest::Representation + command.request_object = export_read_group_set_request_object + command.response_representation = Google::Apis::GenomicsV1::Operation::Representation + command.response_class = Google::Apis::GenomicsV1::Operation + command.params['readGroupSetId'] = read_group_set_id unless read_group_set_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 a read group set by ID. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] read_group_set_id + # The ID of the read group set. + # @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::GenomicsV1::ReadGroupSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::ReadGroupSet] + # + # @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_read_group_set(read_group_set_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/readgroupsets/{readGroupSetId}', options) + command.response_representation = Google::Apis::GenomicsV1::ReadGroupSet::Representation + command.response_class = Google::Apis::GenomicsV1::ReadGroupSet + command.params['readGroupSetId'] = read_group_set_id unless read_group_set_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 + + # Creates read group sets by asynchronously importing the provided + # information. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # The caller must have WRITE permissions to the dataset. + # ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import + # - Tags will be converted to strings - tag types are not preserved + # - Comments (`@CO`) in the input file header will not be preserved + # - Original header order of references (`@SQ`) will not be preserved + # - Any reverse stranded unmapped reads will be reverse complemented, and + # their qualities (also the "BQ" and "OQ" tags, if any) will be reversed + # - Unmapped reads will be stripped of positional information (reference name + # and position) + # @param [Google::Apis::GenomicsV1::ImportReadGroupSetsRequest] import_read_group_sets_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::GenomicsV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::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 import_read_group_sets(import_read_group_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/readgroupsets:import', options) + command.request_representation = Google::Apis::GenomicsV1::ImportReadGroupSetsRequest::Representation + command.request_object = import_read_group_sets_request_object + command.response_representation = Google::Apis::GenomicsV1::Operation::Representation + command.response_class = Google::Apis::GenomicsV1::Operation + 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 read group set. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # This method supports patch semantics. + # @param [String] read_group_set_id + # The ID of the read group set to be updated. The caller must have WRITE + # permissions to the dataset associated with this read group set. + # @param [Google::Apis::GenomicsV1::ReadGroupSet] read_group_set_object + # @param [String] update_mask + # An optional mask specifying which fields to update. Supported fields: + # * name. + # * referenceSetId. + # Leaving `updateMask` unset is equivalent to specifying all mutable + # fields. + # @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::GenomicsV1::ReadGroupSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::ReadGroupSet] + # + # @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_read_group_set(read_group_set_id, read_group_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/readgroupsets/{readGroupSetId}', options) + command.request_representation = Google::Apis::GenomicsV1::ReadGroupSet::Representation + command.request_object = read_group_set_object + command.response_representation = Google::Apis::GenomicsV1::ReadGroupSet::Representation + command.response_class = Google::Apis::GenomicsV1::ReadGroupSet + command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.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 + + # Searches for read group sets matching the criteria. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Implements + # [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/ + # v0.5.1/src/main/resources/avro/readmethods.avdl#L135). + # @param [Google::Apis::GenomicsV1::SearchReadGroupSetsRequest] search_read_group_sets_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::GenomicsV1::SearchReadGroupSetsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::SearchReadGroupSetsResponse] + # + # @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 search_read_group_sets(search_read_group_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/readgroupsets/search', options) + command.request_representation = Google::Apis::GenomicsV1::SearchReadGroupSetsRequest::Representation + command.request_object = search_read_group_sets_request_object + command.response_representation = Google::Apis::GenomicsV1::SearchReadGroupSetsResponse::Representation + command.response_class = Google::Apis::GenomicsV1::SearchReadGroupSetsResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists fixed width coverage buckets for a read group set, each of which + # correspond to a range of a reference sequence. Each bucket summarizes + # coverage information across its corresponding genomic range. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Coverage is defined as the number of reads which are aligned to a given + # base in the reference sequence. Coverage buckets are available at several + # precomputed bucket widths, enabling retrieval of various coverage 'zoom + # levels'. The caller must have READ permissions for the target read group + # set. + # @param [String] read_group_set_id + # Required. The ID of the read group set over which coverage is requested. + # @param [Fixnum] end_ + # The end position of the range on the reference, 0-based exclusive. If + # specified, `referenceName` must also be specified. If unset or 0, defaults + # to the length of the reference. + # @param [Fixnum] page_size + # The maximum number of results to return in a single page. If unspecified, + # defaults to 1024. The maximum value is 2048. + # @param [String] page_token + # The continuation token, which is used to page through large result sets. + # To get the next page of results, set this parameter to the value of + # `nextPageToken` from the previous response. + # @param [String] reference_name + # The name of the reference to query, within the reference set associated + # with this query. Optional. + # @param [Fixnum] start + # The start position of the range on the reference, 0-based inclusive. If + # specified, `referenceName` must also be specified. Defaults to 0. + # @param [Fixnum] target_bucket_width + # The desired width of each reported coverage bucket in base pairs. This + # will be rounded down to the nearest precomputed bucket width; the value + # of which is returned as `bucketWidth` in the response. Defaults + # to infinity (each bucket spans an entire reference sequence) or the length + # of the target range, if specified. The smallest precomputed + # `bucketWidth` is currently 2048 base pairs; this is subject to + # change. + # @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::GenomicsV1::ListCoverageBucketsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::ListCoverageBucketsResponse] + # + # @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_coverage_buckets(read_group_set_id, end_: nil, page_size: nil, page_token: nil, reference_name: nil, start: nil, target_bucket_width: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/readgroupsets/{readGroupSetId}/coveragebuckets', options) + command.response_representation = Google::Apis::GenomicsV1::ListCoverageBucketsResponse::Representation + command.response_class = Google::Apis::GenomicsV1::ListCoverageBucketsResponse + command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil? + command.query['end'] = end_ unless end_.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['referenceName'] = reference_name unless reference_name.nil? + command.query['start'] = start unless start.nil? + command.query['targetBucketWidth'] = target_bucket_width unless target_bucket_width.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 a list of reads for one or more read group sets. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Reads search operates over a genomic coordinate space of reference sequence + # & position defined over the reference sequences to which the requested + # read group sets are aligned. + # If a target positional range is specified, search returns all reads whose + # alignment to the reference genome overlap the range. A query which + # specifies only read group set IDs yields all reads in those read group + # sets, including unmapped reads. + # All reads returned (including reads on subsequent pages) are ordered by + # genomic coordinate (by reference sequence, then position). Reads with + # equivalent genomic coordinates are returned in an unspecified order. This + # order is consistent, such that two queries for the same content (regardless + # of page size) yield reads in the same order across their respective streams + # of paginated responses. + # Implements + # [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/ + # src/main/resources/avro/readmethods.avdl#L85). + # @param [Google::Apis::GenomicsV1::SearchReadsRequest] search_reads_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::GenomicsV1::SearchReadsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::SearchReadsResponse] + # + # @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 search_reads(search_reads_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/reads/search', options) + command.request_representation = Google::Apis::GenomicsV1::SearchReadsRequest::Representation + command.request_object = search_reads_request_object + command.response_representation = Google::Apis::GenomicsV1::SearchReadsResponse::Representation + command.response_class = Google::Apis::GenomicsV1::SearchReadsResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a reference. + # For the definitions of references and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Implements + # [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/ + # src/main/resources/avro/referencemethods.avdl#L158). + # @param [String] reference_id + # The ID of the reference. + # @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::GenomicsV1::Reference] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Reference] + # + # @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_reference(reference_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/references/{referenceId}', options) + command.response_representation = Google::Apis::GenomicsV1::Reference::Representation + command.response_class = Google::Apis::GenomicsV1::Reference + command.params['referenceId'] = reference_id unless reference_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 + + # Searches for references which match the given criteria. + # For the definitions of references and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Implements + # [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0. + # 5.1/src/main/resources/avro/referencemethods.avdl#L146). + # @param [Google::Apis::GenomicsV1::SearchReferencesRequest] search_references_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::GenomicsV1::SearchReferencesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::SearchReferencesResponse] + # + # @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 search_references(search_references_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/references/search', options) + command.request_representation = Google::Apis::GenomicsV1::SearchReferencesRequest::Representation + command.request_object = search_references_request_object + command.response_representation = Google::Apis::GenomicsV1::SearchReferencesResponse::Representation + command.response_class = Google::Apis::GenomicsV1::SearchReferencesResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists the bases in a reference, optionally restricted to a range. + # For the definitions of references and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Implements + # [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob/v0. + # 5.1/src/main/resources/avro/referencemethods.avdl#L221). + # @param [String] reference_id + # The ID of the reference. + # @param [Fixnum] end_position + # The end position (0-based, exclusive) of this query. Defaults to the length + # of this reference. + # @param [Fixnum] page_size + # The maximum number of bases to return in a single page. If unspecified, + # defaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base + # pairs). + # @param [String] page_token + # The continuation token, which is used to page through large result sets. + # To get the next page of results, set this parameter to the value of + # `nextPageToken` from the previous response. + # @param [Fixnum] start_position + # The start position (0-based) of this query. Defaults to 0. + # @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::GenomicsV1::ListBasesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::ListBasesResponse] + # + # @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_reference_bases(reference_id, end_position: nil, page_size: nil, page_token: nil, start_position: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/references/{referenceId}/bases', options) + command.response_representation = Google::Apis::GenomicsV1::ListBasesResponse::Representation + command.response_class = Google::Apis::GenomicsV1::ListBasesResponse + command.params['referenceId'] = reference_id unless reference_id.nil? + command.query['end'] = end_position unless end_position.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['start'] = start_position unless start_position.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 a reference set. + # For the definitions of references and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Implements + # [GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5. + # 1/src/main/resources/avro/referencemethods.avdl#L83). + # @param [String] reference_set_id + # The ID of the reference set. + # @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::GenomicsV1::ReferenceSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::ReferenceSet] + # + # @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_reference_set(reference_set_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/referencesets/{referenceSetId}', options) + command.response_representation = Google::Apis::GenomicsV1::ReferenceSet::Representation + command.response_class = Google::Apis::GenomicsV1::ReferenceSet + command.params['referenceSetId'] = reference_set_id unless reference_set_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 + + # Searches for reference sets which match the given criteria. + # For the definitions of references and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Implements + # [GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/ + # v0.5.1/src/main/resources/avro/referencemethods.avdl#L71) + # @param [Google::Apis::GenomicsV1::SearchReferenceSetsRequest] search_reference_sets_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::GenomicsV1::SearchReferenceSetsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::SearchReferenceSetsResponse] + # + # @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 search_reference_sets(search_reference_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/referencesets/search', options) + command.request_representation = Google::Apis::GenomicsV1::SearchReferenceSetsRequest::Representation + command.request_object = search_reference_sets_request_object + command.response_representation = Google::Apis::GenomicsV1::SearchReferenceSetsResponse::Representation + command.response_class = Google::Apis::GenomicsV1::SearchReferenceSetsResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a new variant. + # For the definitions of variants and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [Google::Apis::GenomicsV1::Variant] variant_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::GenomicsV1::Variant] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Variant] + # + # @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_variant(variant_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/variants', options) + command.request_representation = Google::Apis::GenomicsV1::Variant::Representation + command.request_object = variant_object + command.response_representation = Google::Apis::GenomicsV1::Variant::Representation + command.response_class = Google::Apis::GenomicsV1::Variant + 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 variant. + # For the definitions of variants and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] variant_id + # The ID of the variant 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::GenomicsV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::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_variant(variant_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/variants/{variantId}', options) + command.response_representation = Google::Apis::GenomicsV1::Empty::Representation + command.response_class = Google::Apis::GenomicsV1::Empty + command.params['variantId'] = variant_id unless variant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -1425,20 +1741,22 @@ module Google execute_or_queue_command(command, &block) end - # Updates a variant. - # For the definitions of variants and other genomics resources, see + # Creates variant data by asynchronously importing the provided information. + # For the definitions of variant sets and other genomics resources, see # [Fundamentals of Google # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # This method supports patch semantics. Returns the modified variant without - # its calls. - # @param [String] variant_id - # The ID of the variant to be updated. - # @param [Google::Apis::GenomicsV1::Variant] variant_object - # @param [String] update_mask - # An optional mask specifying which fields to update. At this time, mutable - # fields are names and - # info. Acceptable values are "names" and - # "info". If unspecified, all mutable fields will be updated. + # The variants for import will be merged with any existing variant that + # matches its reference sequence, start, end, reference bases, and + # alternative bases. If no such variant exists, a new one will be created. + # When variants are merged, the call information from the new variant + # is added to the existing variant, and Variant info fields are merged + # as specified in + # infoMergeConfig. + # As a special case, for single-sample VCF files, QUAL and FILTER fields will + # be moved to the call level; these are sometimes interpreted in a + # call-specific context. + # Imported VCF headers are appended to the metadata already in a variant set. + # @param [Google::Apis::GenomicsV1::ImportVariantsRequest] import_variants_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1448,22 +1766,20 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Variant] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::Operation] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::Variant] + # @return [Google::Apis::GenomicsV1::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_variant(variant_id, variant_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/variants/{variantId}', options) - command.request_representation = Google::Apis::GenomicsV1::Variant::Representation - command.request_object = variant_object - command.response_representation = Google::Apis::GenomicsV1::Variant::Representation - command.response_class = Google::Apis::GenomicsV1::Variant - command.params['variantId'] = variant_id unless variant_id.nil? - command.query['updateMask'] = update_mask unless update_mask.nil? + def import_variants(import_variants_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/variants:import', options) + command.request_representation = Google::Apis::GenomicsV1::ImportVariantsRequest::Representation + command.request_object = import_variants_request_object + command.response_representation = Google::Apis::GenomicsV1::Operation::Representation + command.response_class = Google::Apis::GenomicsV1::Operation command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -1580,88 +1896,20 @@ module Google execute_or_queue_command(command, &block) end - # Creates variant data by asynchronously importing the provided information. - # For the definitions of variant sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # The variants for import will be merged with any existing variant that - # matches its reference sequence, start, end, reference bases, and - # alternative bases. If no such variant exists, a new one will be created. - # When variants are merged, the call information from the new variant - # is added to the existing variant, and Variant info fields are merged - # as specified in - # infoMergeConfig. - # As a special case, for single-sample VCF files, QUAL and FILTER fields will - # be moved to the call level; these are sometimes interpreted in a - # call-specific context. - # Imported VCF headers are appended to the metadata already in a variant set. - # @param [Google::Apis::GenomicsV1::ImportVariantsRequest] import_variants_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::GenomicsV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::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 import_variants(import_variants_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/variants:import', options) - command.request_representation = Google::Apis::GenomicsV1::ImportVariantsRequest::Representation - command.request_object = import_variants_request_object - command.response_representation = Google::Apis::GenomicsV1::Operation::Representation - command.response_class = Google::Apis::GenomicsV1::Operation - 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 variant. + # Updates a variant. # For the definitions of variants and other genomics resources, see # [Fundamentals of Google # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # This method supports patch semantics. Returns the modified variant without + # its calls. # @param [String] variant_id - # The ID of the variant 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::GenomicsV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::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_variant(variant_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/variants/{variantId}', options) - command.response_representation = Google::Apis::GenomicsV1::Empty::Representation - command.response_class = Google::Apis::GenomicsV1::Empty - command.params['variantId'] = variant_id unless variant_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 - - # Creates a new variant. - # For the definitions of variants and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # The ID of the variant to be updated. # @param [Google::Apis::GenomicsV1::Variant] variant_object + # @param [String] update_mask + # An optional mask specifying which fields to update. At this time, mutable + # fields are names and + # info. Acceptable values are "names" and + # "info". If unspecified, all mutable fields will be updated. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1679,12 +1927,14 @@ 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 create_variant(variant_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/variants', options) + def patch_variant(variant_id, variant_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/variants/{variantId}', options) command.request_representation = Google::Apis::GenomicsV1::Variant::Representation command.request_object = variant_object command.response_representation = Google::Apis::GenomicsV1::Variant::Representation command.response_class = Google::Apis::GenomicsV1::Variant + command.params['variantId'] = variant_id unless variant_id.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) @@ -1726,14 +1976,14 @@ module Google execute_or_queue_command(command, &block) end - # Searches for references which match the given criteria. - # For the definitions of references and other genomics resources, see + # Creates a new variant set. + # For the definitions of variant sets and other genomics resources, see # [Fundamentals of Google # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # Implements - # [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0. - # 5.1/src/main/resources/avro/referencemethods.avdl#L146). - # @param [Google::Apis::GenomicsV1::SearchReferencesRequest] search_references_request_object + # The provided variant set must have a valid `datasetId` set - all other + # fields are optional. Note that the `id` field will be ignored, as this is + # assigned by the server. + # @param [Google::Apis::GenomicsV1::VariantSet] variant_set_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1743,317 +1993,32 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::SearchReferencesResponse] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::VariantSet] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::SearchReferencesResponse] + # @return [Google::Apis::GenomicsV1::VariantSet] # # @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 search_references(search_references_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/references/search', options) - command.request_representation = Google::Apis::GenomicsV1::SearchReferencesRequest::Representation - command.request_object = search_references_request_object - command.response_representation = Google::Apis::GenomicsV1::SearchReferencesResponse::Representation - command.response_class = Google::Apis::GenomicsV1::SearchReferencesResponse + def create_variantset(variant_set_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/variantsets', options) + command.request_representation = Google::Apis::GenomicsV1::VariantSet::Representation + command.request_object = variant_set_object + command.response_representation = Google::Apis::GenomicsV1::VariantSet::Representation + command.response_class = Google::Apis::GenomicsV1::VariantSet command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Gets a reference. - # For the definitions of references and other genomics resources, see + # Deletes a variant set including all variants, call sets, and calls within. + # This is not reversible. + # For the definitions of variant sets and other genomics resources, see # [Fundamentals of Google # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # Implements - # [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/ - # src/main/resources/avro/referencemethods.avdl#L158). - # @param [String] reference_id - # The ID of the reference. - # @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::GenomicsV1::Reference] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Reference] - # - # @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_reference(reference_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/references/{referenceId}', options) - command.response_representation = Google::Apis::GenomicsV1::Reference::Representation - command.response_class = Google::Apis::GenomicsV1::Reference - command.params['referenceId'] = reference_id unless reference_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 the bases in a reference, optionally restricted to a range. - # For the definitions of references and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # Implements - # [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob/v0. - # 5.1/src/main/resources/avro/referencemethods.avdl#L221). - # @param [String] reference_id - # The ID of the reference. - # @param [Fixnum] end_position - # The end position (0-based, exclusive) of this query. Defaults to the length - # of this reference. - # @param [String] page_token - # The continuation token, which is used to page through large result sets. - # To get the next page of results, set this parameter to the value of - # `nextPageToken` from the previous response. - # @param [Fixnum] page_size - # The maximum number of bases to return in a single page. If unspecified, - # defaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base - # pairs). - # @param [Fixnum] start_position - # The start position (0-based) of this query. Defaults to 0. - # @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::GenomicsV1::ListBasesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::ListBasesResponse] - # - # @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_reference_bases(reference_id, end_position: nil, page_token: nil, page_size: nil, start_position: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/references/{referenceId}/bases', options) - command.response_representation = Google::Apis::GenomicsV1::ListBasesResponse::Representation - command.response_class = Google::Apis::GenomicsV1::ListBasesResponse - command.params['referenceId'] = reference_id unless reference_id.nil? - command.query['end'] = end_position unless end_position.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['start'] = start_position unless start_position.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 access control policy for the dataset. This is empty if the - # policy or resource does not exist. - # See Getting a - # Policy for more information. - # For the definitions of datasets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [String] resource - # REQUIRED: The resource for which policy is being specified. Format is - # `datasets/`. - # @param [Google::Apis::GenomicsV1::GetIamPolicyRequest] get_iam_policy_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::GenomicsV1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Policy] - # - # @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_dataset_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options) - command.request_representation = Google::Apis::GenomicsV1::GetIamPolicyRequest::Representation - command.request_object = get_iam_policy_request_object - command.response_representation = Google::Apis::GenomicsV1::Policy::Representation - command.response_class = Google::Apis::GenomicsV1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Undeletes a dataset by restoring a dataset which was deleted via this API. - # For the definitions of datasets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # This operation is only possible for a week after the deletion occurred. - # @param [String] dataset_id - # The ID of the dataset to be undeleted. - # @param [Google::Apis::GenomicsV1::UndeleteDatasetRequest] undelete_dataset_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::GenomicsV1::Dataset] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Dataset] - # - # @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_dataset(dataset_id, undelete_dataset_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/datasets/{datasetId}:undelete', options) - command.request_representation = Google::Apis::GenomicsV1::UndeleteDatasetRequest::Representation - command.request_object = undelete_dataset_request_object - command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation - command.response_class = Google::Apis::GenomicsV1::Dataset - command.params['datasetId'] = dataset_id unless dataset_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 a dataset by ID. - # For the definitions of datasets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [String] dataset_id - # The ID of the dataset. - # @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::GenomicsV1::Dataset] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Dataset] - # - # @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_dataset(dataset_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/datasets/{datasetId}', options) - command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation - command.response_class = Google::Apis::GenomicsV1::Dataset - command.params['datasetId'] = dataset_id unless dataset_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 - - # Updates a dataset. - # For the definitions of datasets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # This method supports patch semantics. - # @param [String] dataset_id - # The ID of the dataset to be updated. - # @param [Google::Apis::GenomicsV1::Dataset] dataset_object - # @param [String] update_mask - # An optional mask specifying which fields to update. At this time, the only - # mutable field is name. The only - # acceptable value is "name". If unspecified, all mutable fields will 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::GenomicsV1::Dataset] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Dataset] - # - # @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_dataset(dataset_id, dataset_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/datasets/{datasetId}', options) - command.request_representation = Google::Apis::GenomicsV1::Dataset::Representation - command.request_object = dataset_object - command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation - command.response_class = Google::Apis::GenomicsV1::Dataset - command.params['datasetId'] = dataset_id unless dataset_id.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 - - # Returns permissions that a caller has on the specified resource. - # See Testing - # Permissions for more information. - # For the definitions of datasets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [String] resource - # REQUIRED: The resource for which policy is being specified. Format is - # `datasets/`. - # @param [Google::Apis::GenomicsV1::TestIamPermissionsRequest] test_iam_permissions_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::GenomicsV1::TestIamPermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::TestIamPermissionsResponse] - # - # @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 test_dataset_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) - command.request_representation = Google::Apis::GenomicsV1::TestIamPermissionsRequest::Representation - command.request_object = test_iam_permissions_request_object - command.response_representation = Google::Apis::GenomicsV1::TestIamPermissionsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::TestIamPermissionsResponse - command.params['resource'] = resource unless resource.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 dataset and all of its contents (all read group sets, - # reference sets, variant sets, call sets, annotation sets, etc.) - # This is reversible (up to one week after the deletion) via - # the - # datasets.undelete - # operation. - # For the definitions of datasets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [String] dataset_id - # The ID of the dataset to be deleted. + # @param [String] variant_set_id + # The ID of the variant set to be deleted. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2071,29 +2036,24 @@ 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 delete_dataset(dataset_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/datasets/{datasetId}', options) + def delete_variantset(variant_set_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/variantsets/{variantSetId}', options) command.response_representation = Google::Apis::GenomicsV1::Empty::Representation command.response_class = Google::Apis::GenomicsV1::Empty - command.params['datasetId'] = dataset_id unless dataset_id.nil? + command.params['variantSetId'] = variant_set_id unless variant_set_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 datasets within a project. - # For the definitions of datasets and other genomics resources, see + # Exports variant set data to an external destination. + # For the definitions of variant sets and other genomics resources, see # [Fundamentals of Google # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [String] page_token - # The continuation token, which is used to page through large result sets. - # To get the next page of results, set this parameter to the value of - # `nextPageToken` from the previous response. - # @param [Fixnum] page_size - # The maximum number of results to return in a single page. If unspecified, - # defaults to 50. The maximum value is 1024. - # @param [String] project_id - # Required. The Google Cloud project ID to list datasets for. + # @param [String] variant_set_id + # Required. The ID of the variant set that contains variant data which + # should be exported. The caller must have READ access to this variant set. + # @param [Google::Apis::GenomicsV1::ExportVariantSetRequest] export_variant_set_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2103,37 +2063,32 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::ListDatasetsResponse] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::Operation] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::ListDatasetsResponse] + # @return [Google::Apis::GenomicsV1::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 list_datasets(page_token: nil, page_size: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/datasets', options) - command.response_representation = Google::Apis::GenomicsV1::ListDatasetsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::ListDatasetsResponse - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['projectId'] = project_id unless project_id.nil? + def export_variant_set(variant_set_id, export_variant_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/variantsets/{variantSetId}:export', options) + command.request_representation = Google::Apis::GenomicsV1::ExportVariantSetRequest::Representation + command.request_object = export_variant_set_request_object + command.response_representation = Google::Apis::GenomicsV1::Operation::Representation + command.response_class = Google::Apis::GenomicsV1::Operation + command.params['variantSetId'] = variant_set_id unless variant_set_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 - # Sets the access control policy on the specified dataset. Replaces any - # existing policy. - # For the definitions of datasets and other genomics resources, see + # Gets a variant set by ID. + # For the definitions of variant sets and other genomics resources, see # [Fundamentals of Google # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # See Setting a - # Policy for more information. - # @param [String] resource - # REQUIRED: The resource for which policy is being specified. Format is - # `datasets/`. - # @param [Google::Apis::GenomicsV1::SetIamPolicyRequest] set_iam_policy_request_object + # @param [String] variant_set_id + # Required. The ID of the variant set. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2143,31 +2098,38 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Policy] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::VariantSet] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::Policy] + # @return [Google::Apis::GenomicsV1::VariantSet] # # @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 set_dataset_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) - command.request_representation = Google::Apis::GenomicsV1::SetIamPolicyRequest::Representation - command.request_object = set_iam_policy_request_object - command.response_representation = Google::Apis::GenomicsV1::Policy::Representation - command.response_class = Google::Apis::GenomicsV1::Policy - command.params['resource'] = resource unless resource.nil? + def get_variantset(variant_set_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/variantsets/{variantSetId}', options) + command.response_representation = Google::Apis::GenomicsV1::VariantSet::Representation + command.response_class = Google::Apis::GenomicsV1::VariantSet + command.params['variantSetId'] = variant_set_id unless variant_set_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 - # Creates a new dataset. - # For the definitions of datasets and other genomics resources, see + # Updates a variant set using patch semantics. + # For the definitions of variant sets and other genomics resources, see # [Fundamentals of Google # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [Google::Apis::GenomicsV1::Dataset] dataset_object + # @param [String] variant_set_id + # The ID of the variant to be updated (must already exist). + # @param [Google::Apis::GenomicsV1::VariantSet] variant_set_object + # @param [String] update_mask + # An optional mask specifying which fields to update. Supported fields: + # * metadata. + # * name. + # * description. + # Leaving `updateMask` unset is equivalent to specifying all mutable + # fields. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2177,20 +2139,58 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Dataset] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::VariantSet] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::Dataset] + # @return [Google::Apis::GenomicsV1::VariantSet] # # @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_dataset(dataset_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/datasets', options) - command.request_representation = Google::Apis::GenomicsV1::Dataset::Representation - command.request_object = dataset_object - command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation - command.response_class = Google::Apis::GenomicsV1::Dataset + def patch_variantset(variant_set_id, variant_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/variantsets/{variantSetId}', options) + command.request_representation = Google::Apis::GenomicsV1::VariantSet::Representation + command.request_object = variant_set_object + command.response_representation = Google::Apis::GenomicsV1::VariantSet::Representation + command.response_class = Google::Apis::GenomicsV1::VariantSet + command.params['variantSetId'] = variant_set_id unless variant_set_id.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 + + # Returns a list of all variant sets matching search criteria. + # For the definitions of variant sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Implements + # [GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob/v0. + # 5.1/src/main/resources/avro/variantmethods.avdl#L49). + # @param [Google::Apis::GenomicsV1::SearchVariantSetsRequest] search_variant_sets_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::GenomicsV1::SearchVariantSetsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::SearchVariantSetsResponse] + # + # @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 search_variant_sets(search_variant_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/variantsets/search', options) + command.request_representation = Google::Apis::GenomicsV1::SearchVariantSetsRequest::Representation + command.request_object = search_variant_sets_request_object + command.response_representation = Google::Apis::GenomicsV1::SearchVariantSetsResponse::Representation + command.response_class = Google::Apis::GenomicsV1::SearchVariantSetsResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/gmail_v1.rb b/generated/google/apis/gmail_v1.rb index 0b76f50b6..246a74a95 100644 --- a/generated/google/apis/gmail_v1.rb +++ b/generated/google/apis/gmail_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/gmail/api/ module GmailV1 VERSION = 'V1' - REVISION = '20170626' + REVISION = '20170620' # Read, send, delete, and manage your email AUTH_SCOPE = 'https://mail.google.com/' diff --git a/generated/google/apis/iam_v1.rb b/generated/google/apis/iam_v1.rb index 66ad73ee0..bda91dc8f 100644 --- a/generated/google/apis/iam_v1.rb +++ b/generated/google/apis/iam_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/iam/ module IamV1 VERSION = 'V1' - REVISION = '20170622' + REVISION = '20170811' # 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/iam_v1/classes.rb b/generated/google/apis/iam_v1/classes.rb index 79d800b98..fd3c94fe6 100644 --- a/generated/google/apis/iam_v1/classes.rb +++ b/generated/google/apis/iam_v1/classes.rb @@ -22,6 +22,166 @@ module Google module Apis module IamV1 + # Audit log information specific to Cloud IAM. This message is serialized + # as an `Any` type in the `ServiceData` message of an + # `AuditLog` message. + class AuditData + include Google::Apis::Core::Hashable + + # The difference delta between two policies. + # Corresponds to the JSON property `policyDelta` + # @return [Google::Apis::IamV1::PolicyDelta] + attr_accessor :policy_delta + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy_delta = args[:policy_delta] if args.key?(:policy_delta) + end + end + + # Associates `members` with a `role`. + class Binding + include Google::Apis::Core::Hashable + + # Specifies the identities requesting access for a Cloud Platform resource. + # `members` can have the following values: + # * `allUsers`: A special identifier that represents anyone who is + # on the internet; with or without a Google account. + # * `allAuthenticatedUsers`: A special identifier that represents anyone + # who is authenticated with a Google account or a service account. + # * `user:`emailid``: An email address that represents a specific Google + # account. For example, `alice@gmail.com` or `joe@example.com`. + # * `serviceAccount:`emailid``: An email address that represents a service + # account. For example, `my-other-app@appspot.gserviceaccount.com`. + # * `group:`emailid``: An email address that represents a Google group. + # For example, `admins@example.com`. + # * `domain:`domain``: A Google Apps domain name that represents all the + # users of that domain. For example, `google.com` or `example.com`. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members + + # Role that is assigned to `members`. + # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + # Required + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @members = args[:members] if args.key?(:members) + @role = args[:role] if args.key?(:role) + end + end + + # One delta entry for Binding. Each individual change (only one member in each + # entry) to a binding will be a separate entry. + class BindingDelta + include Google::Apis::Core::Hashable + + # The action that was performed on a Binding. + # Required + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # Represents an expression text. Example: + # title: "User account presence" + # description: "Determines whether the request has a user account" + # expression: "size(request.user) > 0" + # Corresponds to the JSON property `condition` + # @return [Google::Apis::IamV1::Expr] + attr_accessor :condition + + # A single identity requesting access for a Cloud Platform resource. + # Follows the same format of Binding.members. + # Required + # Corresponds to the JSON property `member` + # @return [String] + attr_accessor :member + + # Role that is assigned to `members`. + # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + # Required + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @action = args[:action] if args.key?(:action) + @condition = args[:condition] if args.key?(:condition) + @member = args[:member] if args.key?(:member) + @role = args[:role] if args.key?(:role) + end + end + + # The request to create a new role. + class CreateRoleRequest + include Google::Apis::Core::Hashable + + # A role in the Identity and Access Management API. + # Corresponds to the JSON property `role` + # @return [Google::Apis::IamV1::Role] + attr_accessor :role + + # The role id to use for this role. + # Corresponds to the JSON property `roleId` + # @return [String] + attr_accessor :role_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @role = args[:role] if args.key?(:role) + @role_id = args[:role_id] if args.key?(:role_id) + end + end + + # The service account key create request. + class CreateServiceAccountKeyRequest + include Google::Apis::Core::Hashable + + # Which type of key and algorithm to use for the key. + # The default is currently a 2K RSA key. However this may change in the + # future. + # Corresponds to the JSON property `keyAlgorithm` + # @return [String] + attr_accessor :key_algorithm + + # The output format of the private key. `GOOGLE_CREDENTIALS_FILE` is the + # default output format. + # Corresponds to the JSON property `privateKeyType` + # @return [String] + attr_accessor :private_key_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm) + @private_key_type = args[:private_key_type] if args.key?(:private_key_type) + end + end + # The service account create request. class CreateServiceAccountRequest include Google::Apis::Core::Hashable @@ -63,21 +223,86 @@ module Google end end - # The service account list response. - class ListServiceAccountsResponse + # 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 + + # Represents an expression text. Example: + # title: "User account presence" + # description: "Determines whether the request has a user account" + # expression: "size(request.user) > 0" + class Expr + include Google::Apis::Core::Hashable + + # An optional description of the expression. This is a longer text which + # describes the expression, e.g. when hovered over it in a UI. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Textual representation of an expression in + # Common Expression Language syntax. + # The application context of the containing message determines which + # well-known feature set of CEL is supported. + # Corresponds to the JSON property `expression` + # @return [String] + attr_accessor :expression + + # An optional string indicating the location of the expression for error + # reporting, e.g. a file name and a position in the file. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # An optional title for the expression, i.e. a short string describing + # its purpose. This can be used e.g. in UIs which allow to enter the + # expression. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @expression = args[:expression] if args.key?(:expression) + @location = args[:location] if args.key?(:location) + @title = args[:title] if args.key?(:title) + end + end + + # The response containing the roles defined under a resource. + class ListRolesResponse include Google::Apis::Core::Hashable # To retrieve the next page of results, set - # ListServiceAccountsRequest.page_token - # to this value. + # `ListRolesRequest.page_token` to this value. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token - # The list of matching service accounts. - # Corresponds to the JSON property `accounts` - # @return [Array] - attr_accessor :accounts + # The Roles defined on this resource. + # Corresponds to the JSON property `roles` + # @return [Array] + attr_accessor :roles def initialize(**args) update!(**args) @@ -86,7 +311,229 @@ module Google # Update properties of this object def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @roles = args[:roles] if args.key?(:roles) + end + end + + # The service account keys list response. + class ListServiceAccountKeysResponse + include Google::Apis::Core::Hashable + + # The public keys for the service account. + # Corresponds to the JSON property `keys` + # @return [Array] + attr_accessor :keys + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @keys = args[:keys] if args.key?(:keys) + end + end + + # The service account list response. + class ListServiceAccountsResponse + include Google::Apis::Core::Hashable + + # The list of matching service accounts. + # Corresponds to the JSON property `accounts` + # @return [Array] + attr_accessor :accounts + + # To retrieve the next page of results, set + # ListServiceAccountsRequest.page_token + # to this value. + # 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) @accounts = args[:accounts] if args.key?(:accounts) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # A permission which can be included by a role. + class Permission + include Google::Apis::Core::Hashable + + # The current custom role support level. + # Corresponds to the JSON property `customRolesSupportLevel` + # @return [String] + attr_accessor :custom_roles_support_level + + # A brief description of what this Permission is used for. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The name of this Permission. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # This permission can ONLY be used in predefined roles. + # Corresponds to the JSON property `onlyInPredefinedRoles` + # @return [Boolean] + attr_accessor :only_in_predefined_roles + alias_method :only_in_predefined_roles?, :only_in_predefined_roles + + # The current launch stage of the permission. + # Corresponds to the JSON property `stage` + # @return [String] + attr_accessor :stage + + # The title of this Permission. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @custom_roles_support_level = args[:custom_roles_support_level] if args.key?(:custom_roles_support_level) + @description = args[:description] if args.key?(:description) + @name = args[:name] if args.key?(:name) + @only_in_predefined_roles = args[:only_in_predefined_roles] if args.key?(:only_in_predefined_roles) + @stage = args[:stage] if args.key?(:stage) + @title = args[:title] if args.key?(:title) + end + end + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service 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:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + class Policy + include Google::Apis::Core::Hashable + + # Associates a list of `members` to a `role`. + # `bindings` with no members will result in an error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + + # `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 to perform policy updates in order to avoid race + # conditions: An `etag` is returned in the response to `getIamPolicy`, and + # systems are expected to put that etag in the request to `setIamPolicy` to + # ensure that their change will be applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :etag + + # Version of the `Policy`. The default version is 0. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bindings = args[:bindings] if args.key?(:bindings) + @etag = args[:etag] if args.key?(:etag) + @version = args[:version] if args.key?(:version) + end + end + + # The difference delta between two policies. + class PolicyDelta + include Google::Apis::Core::Hashable + + # The delta for Bindings between two policies. + # Corresponds to the JSON property `bindingDeltas` + # @return [Array] + attr_accessor :binding_deltas + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @binding_deltas = args[:binding_deltas] if args.key?(:binding_deltas) + end + end + + # The grantable role query request. + class QueryGrantableRolesRequest + include Google::Apis::Core::Hashable + + # Required. The full resource name to query from the list of grantable roles. + # The name follows the Google Cloud Platform resource format. + # For example, a Cloud Platform project with id `my-project` will be named + # `//cloudresourcemanager.googleapis.com/projects/my-project`. + # Corresponds to the JSON property `fullResourceName` + # @return [String] + attr_accessor :full_resource_name + + # Optional limit on the number of roles to include in the response. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # Optional pagination token returned in an earlier + # QueryGrantableRolesResponse. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # + # Corresponds to the JSON property `view` + # @return [String] + attr_accessor :view + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name) + @page_size = args[:page_size] if args.key?(:page_size) + @page_token = args[:page_token] if args.key?(:page_token) + @view = args[:view] if args.key?(:view) end end @@ -116,15 +563,29 @@ module Google end end - # The service account sign blob request. - class SignBlobRequest + # A request to get permissions which can be tested on a resource. + class QueryTestablePermissionsRequest include Google::Apis::Core::Hashable - # The bytes to sign. - # Corresponds to the JSON property `bytesToSign` - # NOTE: Values are automatically base64 encoded/decoded in the client library. + # Required. The full resource name to query from the list of testable + # permissions. + # The name follows the Google Cloud Platform resource format. + # For example, a Cloud Platform project with id `my-project` will be named + # `//cloudresourcemanager.googleapis.com/projects/my-project`. + # Corresponds to the JSON property `fullResourceName` # @return [String] - attr_accessor :bytes_to_sign + attr_accessor :full_resource_name + + # Optional limit on the number of permissions to include in the response. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # Optional pagination token returned in an earlier + # QueryTestablePermissionsRequest. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token def initialize(**args) update!(**args) @@ -132,7 +593,35 @@ module Google # Update properties of this object def update!(**args) - @bytes_to_sign = args[:bytes_to_sign] if args.key?(:bytes_to_sign) + @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name) + @page_size = args[:page_size] if args.key?(:page_size) + @page_token = args[:page_token] if args.key?(:page_token) + end + end + + # The response containing permissions which can be tested on a resource. + class QueryTestablePermissionsResponse + include Google::Apis::Core::Hashable + + # To retrieve the next page of results, set + # `QueryTestableRolesRequest.page_token` to this value. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The Permissions testable on the requested resource. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + 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) + @permissions = args[:permissions] if args.key?(:permissions) end end @@ -140,11 +629,28 @@ module Google class Role include Google::Apis::Core::Hashable - # Optional. A human-readable title for the role. Typically this - # is limited to 100 UTF-8 bytes. - # Corresponds to the JSON property `title` + # The current deleted state of the role. This field is read only. + # It will be ignored in calls to CreateRole and UpdateRole. + # Corresponds to the JSON property `deleted` + # @return [Boolean] + attr_accessor :deleted + alias_method :deleted?, :deleted + + # Optional. A human-readable description for the role. + # Corresponds to the JSON property `description` # @return [String] - attr_accessor :title + attr_accessor :description + + # Used to perform a consistent read-modify-write. + # Corresponds to the JSON property `etag` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :etag + + # The names of the permissions this role grants when bound in an IAM policy. + # Corresponds to the JSON property `includedPermissions` + # @return [Array] + attr_accessor :included_permissions # The name of the role. # When Role is used in CreateRole, the role name must not be set. @@ -155,10 +661,16 @@ module Google # @return [String] attr_accessor :name - # Optional. A human-readable description for the role. - # Corresponds to the JSON property `description` + # The current launch stage of the role. + # Corresponds to the JSON property `stage` # @return [String] - attr_accessor :description + attr_accessor :stage + + # Optional. A human-readable title for the role. Typically this + # is limited to 100 UTF-8 bytes. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title def initialize(**args) update!(**args) @@ -166,9 +678,170 @@ module Google # Update properties of this object def update!(**args) - @title = args[:title] if args.key?(:title) - @name = args[:name] if args.key?(:name) + @deleted = args[:deleted] if args.key?(:deleted) @description = args[:description] if args.key?(:description) + @etag = args[:etag] if args.key?(:etag) + @included_permissions = args[:included_permissions] if args.key?(:included_permissions) + @name = args[:name] if args.key?(:name) + @stage = args[:stage] if args.key?(:stage) + @title = args[:title] if args.key?(:title) + end + end + + # A service account in the Identity and Access Management API. + # To create a service account, specify the `project_id` and the `account_id` + # for the account. The `account_id` is unique within the project, and is used + # to generate the service account email address and a stable + # `unique_id`. + # If the account already exists, the account's resource name is returned + # in util::Status's ResourceInfo.resource_name in the format of + # projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL`. The caller can + # use the name in other methods to access the account. + # All other methods can identify the service account using the format + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. + # Using `-` as a wildcard for the project will infer the project from + # the account. The `account` value can be the `email` address or the + # `unique_id` of the service account. + class ServiceAccount + include Google::Apis::Core::Hashable + + # Optional. A user-specified description of the service account. Must be + # fewer than 100 UTF-8 bytes. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # @OutputOnly The email address of the service account. + # Corresponds to the JSON property `email` + # @return [String] + attr_accessor :email + + # Used to perform a consistent read-modify-write. + # Corresponds to the JSON property `etag` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :etag + + # The resource name of the service account in the following format: + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. + # Requests using `-` as a wildcard for the project will infer the project + # from the `account` and the `account` value can be the `email` address or + # the `unique_id` of the service account. + # In responses the resource name will always be in the format + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # @OutputOnly. The OAuth2 client id for the service account. + # This is used in conjunction with the OAuth2 clientconfig API to make + # three legged OAuth2 (3LO) flows to access the data of Google users. + # Corresponds to the JSON property `oauth2ClientId` + # @return [String] + attr_accessor :oauth2_client_id + + # @OutputOnly The id of the project that owns the service account. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # @OutputOnly The unique and stable id of the service account. + # Corresponds to the JSON property `uniqueId` + # @return [String] + attr_accessor :unique_id + + 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) + @etag = args[:etag] if args.key?(:etag) + @name = args[:name] if args.key?(:name) + @oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id) + @project_id = args[:project_id] if args.key?(:project_id) + @unique_id = args[:unique_id] if args.key?(:unique_id) + end + end + + # Represents a service account key. + # A service account has two sets of key-pairs: user-managed, and + # system-managed. + # User-managed key-pairs can be created and deleted by users. Users are + # responsible for rotating these keys periodically to ensure security of + # their service accounts. Users retain the private key of these key-pairs, + # and Google retains ONLY the public key. + # System-managed key-pairs are managed automatically by Google, and rotated + # daily without user intervention. The private key never leaves Google's + # servers to maximize security. + # Public keys for all service accounts are also published at the OAuth2 + # Service Account API. + class ServiceAccountKey + include Google::Apis::Core::Hashable + + # Specifies the algorithm (and possibly key size) for the key. + # Corresponds to the JSON property `keyAlgorithm` + # @return [String] + attr_accessor :key_algorithm + + # The resource name of the service account key in the following format + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL`/keys/`key``. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The private key data. Only provided in `CreateServiceAccountKey` + # responses. Make sure to keep the private key data secure because it + # allows for the assertion of the service account identity. + # When decoded, the private key data can be used to authenticate with + # Google API client libraries and with + # gcloud + # auth activate-service-account. + # Corresponds to the JSON property `privateKeyData` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :private_key_data + + # The output format for the private key. + # Only provided in `CreateServiceAccountKey` responses, not + # in `GetServiceAccountKey` or `ListServiceAccountKey` responses. + # Google never exposes system-managed private keys, and never retains + # user-managed private keys. + # Corresponds to the JSON property `privateKeyType` + # @return [String] + attr_accessor :private_key_type + + # The public key data. Only provided in `GetServiceAccountKey` responses. + # Corresponds to the JSON property `publicKeyData` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :public_key_data + + # The key can be used after this timestamp. + # Corresponds to the JSON property `validAfterTime` + # @return [String] + attr_accessor :valid_after_time + + # The key can be used before this timestamp. + # Corresponds to the JSON property `validBeforeTime` + # @return [String] + attr_accessor :valid_before_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm) + @name = args[:name] if args.key?(:name) + @private_key_data = args[:private_key_data] if args.key?(:private_key_data) + @private_key_type = args[:private_key_type] if args.key?(:private_key_type) + @public_key_data = args[:public_key_data] if args.key?(:public_key_data) + @valid_after_time = args[:valid_after_time] if args.key?(:valid_after_time) + @valid_before_time = args[:valid_before_time] if args.key?(:valid_before_time) end end @@ -216,107 +889,15 @@ module Google end end - # Associates `members` with a `role`. - class Binding + # The service account sign blob request. + class SignBlobRequest include Google::Apis::Core::Hashable - # Specifies the identities requesting access for a Cloud Platform resource. - # `members` can have the following values: - # * `allUsers`: A special identifier that represents anyone who is - # on the internet; with or without a Google account. - # * `allAuthenticatedUsers`: A special identifier that represents anyone - # who is authenticated with a Google account or a service account. - # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@gmail.com` or `joe@example.com`. - # * `serviceAccount:`emailid``: An email address that represents a service - # account. For example, `my-other-app@appspot.gserviceaccount.com`. - # * `group:`emailid``: An email address that represents a Google group. - # For example, `admins@example.com`. - # * `domain:`domain``: A Google Apps domain name that represents all the - # users of that domain. For example, `google.com` or `example.com`. - # Corresponds to the JSON property `members` - # @return [Array] - attr_accessor :members - - # Role that is assigned to `members`. - # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. - # Required - # Corresponds to the JSON property `role` - # @return [String] - attr_accessor :role - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @members = args[:members] if args.key?(:members) - @role = args[:role] if args.key?(:role) - end - end - - # A service account in the Identity and Access Management API. - # To create a service account, specify the `project_id` and the `account_id` - # for the account. The `account_id` is unique within the project, and is used - # to generate the service account email address and a stable - # `unique_id`. - # If the account already exists, the account's resource name is returned - # in util::Status's ResourceInfo.resource_name in the format of - # projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL`. The caller can - # use the name in other methods to access the account. - # All other methods can identify the service account using the format - # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. - # Using `-` as a wildcard for the project will infer the project from - # the account. The `account` value can be the `email` address or the - # `unique_id` of the service account. - class ServiceAccount - include Google::Apis::Core::Hashable - - # @OutputOnly The unique and stable id of the service account. - # Corresponds to the JSON property `uniqueId` - # @return [String] - attr_accessor :unique_id - - # @OutputOnly. The OAuth2 client id for the service account. - # This is used in conjunction with the OAuth2 clientconfig API to make - # three legged OAuth2 (3LO) flows to access the data of Google users. - # Corresponds to the JSON property `oauth2ClientId` - # @return [String] - attr_accessor :oauth2_client_id - - # Optional. A user-specified description of the service account. Must be - # fewer than 100 UTF-8 bytes. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Used to perform a consistent read-modify-write. - # Corresponds to the JSON property `etag` + # The bytes to sign. + # Corresponds to the JSON property `bytesToSign` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] - attr_accessor :etag - - # @OutputOnly The email address of the service account. - # Corresponds to the JSON property `email` - # @return [String] - attr_accessor :email - - # The resource name of the service account in the following format: - # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. - # Requests using `-` as a wildcard for the project will infer the project - # from the `account` and the `account` value can be the `email` address or - # the `unique_id` of the service account. - # In responses the resource name will always be in the format - # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # @OutputOnly The id of the project that owns the service account. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id + attr_accessor :bytes_to_sign def initialize(**args) update!(**args) @@ -324,238 +905,7 @@ module Google # Update properties of this object def update!(**args) - @unique_id = args[:unique_id] if args.key?(:unique_id) - @oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id) - @display_name = args[:display_name] if args.key?(:display_name) - @etag = args[:etag] if args.key?(:etag) - @email = args[:email] if args.key?(:email) - @name = args[:name] if args.key?(:name) - @project_id = args[:project_id] if args.key?(:project_id) - 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 grantable role query request. - class QueryGrantableRolesRequest - include Google::Apis::Core::Hashable - - # Required. The full resource name to query from the list of grantable roles. - # The name follows the Google Cloud Platform resource format. - # For example, a Cloud Platform project with id `my-project` will be named - # `//cloudresourcemanager.googleapis.com/projects/my-project`. - # Corresponds to the JSON property `fullResourceName` - # @return [String] - attr_accessor :full_resource_name - - # Optional pagination token returned in an earlier - # QueryGrantableRolesResponse. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # Optional limit on the number of roles to include in the response. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name) - @page_token = args[:page_token] if args.key?(:page_token) - @page_size = args[:page_size] if args.key?(:page_size) - end - end - - # The service account keys list response. - class ListServiceAccountKeysResponse - include Google::Apis::Core::Hashable - - # The public keys for the service account. - # Corresponds to the JSON property `keys` - # @return [Array] - attr_accessor :keys - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @keys = args[:keys] if args.key?(:keys) - end - end - - # Response message for `TestIamPermissions` method. - class TestIamPermissionsResponse - include Google::Apis::Core::Hashable - - # A subset of `TestPermissionsRequest.permissions` that the caller is - # allowed. - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - end - end - - # Represents a service account key. - # A service account has two sets of key-pairs: user-managed, and - # system-managed. - # User-managed key-pairs can be created and deleted by users. Users are - # responsible for rotating these keys periodically to ensure security of - # their service accounts. Users retain the private key of these key-pairs, - # and Google retains ONLY the public key. - # System-managed key-pairs are managed automatically by Google, and rotated - # daily without user intervention. The private key never leaves Google's - # servers to maximize security. - # Public keys for all service accounts are also published at the OAuth2 - # Service Account API. - class ServiceAccountKey - include Google::Apis::Core::Hashable - - # The public key data. Only provided in `GetServiceAccountKey` responses. - # Corresponds to the JSON property `publicKeyData` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :public_key_data - - # The resource name of the service account key in the following format - # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL`/keys/`key``. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The key can be used before this timestamp. - # Corresponds to the JSON property `validBeforeTime` - # @return [String] - attr_accessor :valid_before_time - - # Specifies the algorithm (and possibly key size) for the key. - # Corresponds to the JSON property `keyAlgorithm` - # @return [String] - attr_accessor :key_algorithm - - # The key can be used after this timestamp. - # Corresponds to the JSON property `validAfterTime` - # @return [String] - attr_accessor :valid_after_time - - # The output format for the private key. - # Only provided in `CreateServiceAccountKey` responses, not - # in `GetServiceAccountKey` or `ListServiceAccountKey` responses. - # Google never exposes system-managed private keys, and never retains - # user-managed private keys. - # Corresponds to the JSON property `privateKeyType` - # @return [String] - attr_accessor :private_key_type - - # The private key data. Only provided in `CreateServiceAccountKey` - # responses. Make sure to keep the private key data secure because it - # allows for the assertion of the service account identity. - # Corresponds to the JSON property `privateKeyData` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :private_key_data - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @public_key_data = args[:public_key_data] if args.key?(:public_key_data) - @name = args[:name] if args.key?(:name) - @valid_before_time = args[:valid_before_time] if args.key?(:valid_before_time) - @key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm) - @valid_after_time = args[:valid_after_time] if args.key?(:valid_after_time) - @private_key_type = args[:private_key_type] if args.key?(:private_key_type) - @private_key_data = args[:private_key_data] if args.key?(:private_key_data) - end - end - - # The service account key create request. - class CreateServiceAccountKeyRequest - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `includePublicKeyData` - # @return [Boolean] - attr_accessor :include_public_key_data - alias_method :include_public_key_data?, :include_public_key_data - - # Which type of key and algorithm to use for the key. - # The default is currently a 2K RSA key. However this may change in the - # future. - # Corresponds to the JSON property `keyAlgorithm` - # @return [String] - attr_accessor :key_algorithm - - # The output format of the private key. `GOOGLE_CREDENTIALS_FILE` is the - # default output format. - # Corresponds to the JSON property `privateKeyType` - # @return [String] - attr_accessor :private_key_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @include_public_key_data = args[:include_public_key_data] if args.key?(:include_public_key_data) - @key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm) - @private_key_type = args[:private_key_type] if args.key?(:private_key_type) - end - end - - # Request message for `TestIamPermissions` method. - class TestIamPermissionsRequest - include Google::Apis::Core::Hashable - - # The set of permissions to check for the `resource`. Permissions with - # wildcards (such as '*' or 'storage.*') are not allowed. For more - # information see - # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) + @bytes_to_sign = args[:bytes_to_sign] if args.key?(:bytes_to_sign) end end @@ -585,97 +935,6 @@ module Google end end - # The service account sign JWT response. - class SignJwtResponse - include Google::Apis::Core::Hashable - - # The signed JWT. - # Corresponds to the JSON property `signedJwt` - # @return [String] - attr_accessor :signed_jwt - - # The id of the key used to sign the JWT. - # Corresponds to the JSON property `keyId` - # @return [String] - attr_accessor :key_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @signed_jwt = args[:signed_jwt] if args.key?(:signed_jwt) - @key_id = args[:key_id] if args.key?(:key_id) - end - end - - # Defines an Identity and Access Management (IAM) policy. It is used to - # specify access control policies for Cloud Platform resources. - # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of - # `members` to a `role`, where the members can be user accounts, Google groups, - # Google domains, and service 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:sean@example.com"] - # ` - # ] - # ` - # For a description of IAM and its features, see the - # [IAM developer's guide](https://cloud.google.com/iam). - class Policy - include Google::Apis::Core::Hashable - - # `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 to perform policy updates in order to avoid race - # conditions: An `etag` is returned in the response to `getIamPolicy`, and - # systems are expected to put that etag in the request to `setIamPolicy` to - # ensure that their change will be applied to the same version of the policy. - # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. - # Corresponds to the JSON property `etag` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :etag - - # Version of the `Policy`. The default version is 0. - # Corresponds to the JSON property `version` - # @return [Fixnum] - attr_accessor :version - - # Associates a list of `members` to a `role`. - # `bindings` with no members will result in an error. - # Corresponds to the JSON property `bindings` - # @return [Array] - attr_accessor :bindings - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @etag = args[:etag] if args.key?(:etag) - @version = args[:version] if args.key?(:version) - @bindings = args[:bindings] if args.key?(:bindings) - end - end - # The service account sign JWT request. class SignJwtRequest include Google::Apis::Core::Hashable @@ -695,16 +954,19 @@ module Google end end - # Audit log information specific to Cloud IAM. This message is serialized - # as an `Any` type in the `ServiceData` message of an - # `AuditLog` message. - class AuditData + # The service account sign JWT response. + class SignJwtResponse include Google::Apis::Core::Hashable - # The difference delta between two policies. - # Corresponds to the JSON property `policyDelta` - # @return [Google::Apis::IamV1::PolicyDelta] - attr_accessor :policy_delta + # The id of the key used to sign the JWT. + # Corresponds to the JSON property `keyId` + # @return [String] + attr_accessor :key_id + + # The signed JWT. + # Corresponds to the JSON property `signedJwt` + # @return [String] + attr_accessor :signed_jwt def initialize(**args) update!(**args) @@ -712,34 +974,22 @@ module Google # Update properties of this object def update!(**args) - @policy_delta = args[:policy_delta] if args.key?(:policy_delta) + @key_id = args[:key_id] if args.key?(:key_id) + @signed_jwt = args[:signed_jwt] if args.key?(:signed_jwt) end end - # One delta entry for Binding. Each individual change (only one member in each - # entry) to a binding will be a separate entry. - class BindingDelta + # Request message for `TestIamPermissions` method. + class TestIamPermissionsRequest include Google::Apis::Core::Hashable - # A single identity requesting access for a Cloud Platform resource. - # Follows the same format of Binding.members. - # Required - # Corresponds to the JSON property `member` - # @return [String] - attr_accessor :member - - # Role that is assigned to `members`. - # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. - # Required - # Corresponds to the JSON property `role` - # @return [String] - attr_accessor :role - - # The action that was performed on a Binding. - # Required - # Corresponds to the JSON property `action` - # @return [String] - attr_accessor :action + # The set of permissions to check for the `resource`. Permissions with + # wildcards (such as '*' or 'storage.*') are not allowed. For more + # information see + # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions def initialize(**args) update!(**args) @@ -747,20 +997,19 @@ module Google # Update properties of this object def update!(**args) - @member = args[:member] if args.key?(:member) - @role = args[:role] if args.key?(:role) - @action = args[:action] if args.key?(:action) + @permissions = args[:permissions] if args.key?(:permissions) end end - # The difference delta between two policies. - class PolicyDelta + # Response message for `TestIamPermissions` method. + class TestIamPermissionsResponse include Google::Apis::Core::Hashable - # The delta for Bindings between two policies. - # Corresponds to the JSON property `bindingDeltas` - # @return [Array] - attr_accessor :binding_deltas + # A subset of `TestPermissionsRequest.permissions` that the caller is + # allowed. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions def initialize(**args) update!(**args) @@ -768,7 +1017,27 @@ module Google # Update properties of this object def update!(**args) - @binding_deltas = args[:binding_deltas] if args.key?(:binding_deltas) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # The request to undelete an existing role. + class UndeleteRoleRequest + include Google::Apis::Core::Hashable + + # Used to perform a consistent read-modify-write. + # Corresponds to the JSON property `etag` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :etag + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @etag = args[:etag] if args.key?(:etag) end end end diff --git a/generated/google/apis/iam_v1/representations.rb b/generated/google/apis/iam_v1/representations.rb index a2c48e906..e0ada1594 100644 --- a/generated/google/apis/iam_v1/representations.rb +++ b/generated/google/apis/iam_v1/representations.rb @@ -22,37 +22,7 @@ module Google module Apis module IamV1 - class CreateServiceAccountRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListServiceAccountsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class QueryGrantableRolesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SignBlobRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Role - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SetIamPolicyRequest + class AuditData class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -64,37 +34,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ServiceAccount + class BindingDelta 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 QueryGrantableRolesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListServiceAccountKeysResponse - 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 ServiceAccountKey + class CreateRoleRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -106,19 +52,43 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class TestIamPermissionsRequest + class CreateServiceAccountRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class SignBlobResponse + class Empty class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class SignJwtResponse + class Expr + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListRolesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListServiceAccountKeysResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListServiceAccountsResponse + 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 @@ -130,77 +100,106 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class SignJwtRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AuditData - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BindingDelta - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class PolicyDelta class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CreateServiceAccountRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :service_account, as: 'serviceAccount', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation + class QueryGrantableRolesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end - end - end - - class ListServiceAccountsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :accounts, as: 'accounts', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class QueryGrantableRolesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :roles, as: 'roles', class: Google::Apis::IamV1::Role, decorator: Google::Apis::IamV1::Role::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end - class SignBlobRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :bytes_to_sign, :base64 => true, as: 'bytesToSign' - end + class QueryTestablePermissionsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class QueryTestablePermissionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Role - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :title, as: 'title' - property :name, as: 'name' - property :description, as: 'description' - end + 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 ServiceAccountKey + 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 SignBlobRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SignBlobResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SignJwtRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SignJwtResponse + 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 UndeleteRoleRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AuditData # @private class Representation < Google::Apis::Core::JsonRepresentation - property :policy, as: 'policy', class: Google::Apis::IamV1::Policy, decorator: Google::Apis::IamV1::Policy::Representation + property :policy_delta, as: 'policyDelta', class: Google::Apis::IamV1::PolicyDelta, decorator: Google::Apis::IamV1::PolicyDelta::Representation end end @@ -213,16 +212,40 @@ module Google end end - class ServiceAccount + class BindingDelta # @private class Representation < Google::Apis::Core::JsonRepresentation - property :unique_id, as: 'uniqueId' - property :oauth2_client_id, as: 'oauth2ClientId' - property :display_name, as: 'displayName' - property :etag, :base64 => true, as: 'etag' - property :email, as: 'email' - property :name, as: 'name' - property :project_id, as: 'projectId' + property :action, as: 'action' + property :condition, as: 'condition', class: Google::Apis::IamV1::Expr, decorator: Google::Apis::IamV1::Expr::Representation + + property :member, as: 'member' + property :role, as: 'role' + end + end + + class CreateRoleRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :role, as: 'role', class: Google::Apis::IamV1::Role, decorator: Google::Apis::IamV1::Role::Representation + + property :role_id, as: 'roleId' + end + end + + class CreateServiceAccountKeyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key_algorithm, as: 'keyAlgorithm' + property :private_key_type, as: 'privateKeyType' + end + end + + class CreateServiceAccountRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :service_account, as: 'serviceAccount', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation + end end @@ -232,12 +255,22 @@ module Google end end - class QueryGrantableRolesRequest + class Expr # @private class Representation < Google::Apis::Core::JsonRepresentation - property :full_resource_name, as: 'fullResourceName' - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' + property :description, as: 'description' + property :expression, as: 'expression' + property :location, as: 'location' + property :title, as: 'title' + end + end + + class ListRolesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :roles, as: 'roles', class: Google::Apis::IamV1::Role, decorator: Google::Apis::IamV1::Role::Representation + end end @@ -249,39 +282,133 @@ module Google end end - class TestIamPermissionsResponse + class ListServiceAccountsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions' + collection :accounts, as: 'accounts', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class Permission + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :custom_roles_support_level, as: 'customRolesSupportLevel' + property :description, as: 'description' + property :name, as: 'name' + property :only_in_predefined_roles, as: 'onlyInPredefinedRoles' + property :stage, as: 'stage' + property :title, as: 'title' + end + end + + class Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :bindings, as: 'bindings', class: Google::Apis::IamV1::Binding, decorator: Google::Apis::IamV1::Binding::Representation + + property :etag, :base64 => true, as: 'etag' + property :version, as: 'version' + end + end + + class PolicyDelta + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :binding_deltas, as: 'bindingDeltas', class: Google::Apis::IamV1::BindingDelta, decorator: Google::Apis::IamV1::BindingDelta::Representation + + end + end + + class QueryGrantableRolesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :full_resource_name, as: 'fullResourceName' + property :page_size, as: 'pageSize' + property :page_token, as: 'pageToken' + property :view, as: 'view' + end + end + + class QueryGrantableRolesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :roles, as: 'roles', class: Google::Apis::IamV1::Role, decorator: Google::Apis::IamV1::Role::Representation + + end + end + + class QueryTestablePermissionsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :full_resource_name, as: 'fullResourceName' + property :page_size, as: 'pageSize' + property :page_token, as: 'pageToken' + end + end + + class QueryTestablePermissionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :permissions, as: 'permissions', class: Google::Apis::IamV1::Permission, decorator: Google::Apis::IamV1::Permission::Representation + + end + end + + class Role + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :deleted, as: 'deleted' + property :description, as: 'description' + property :etag, :base64 => true, as: 'etag' + collection :included_permissions, as: 'includedPermissions' + property :name, as: 'name' + property :stage, as: 'stage' + property :title, as: 'title' + end + end + + class ServiceAccount + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :email, as: 'email' + property :etag, :base64 => true, as: 'etag' + property :name, as: 'name' + property :oauth2_client_id, as: 'oauth2ClientId' + property :project_id, as: 'projectId' + property :unique_id, as: 'uniqueId' end end class ServiceAccountKey # @private class Representation < Google::Apis::Core::JsonRepresentation - property :public_key_data, :base64 => true, as: 'publicKeyData' + property :key_algorithm, as: 'keyAlgorithm' property :name, as: 'name' - property :valid_before_time, as: 'validBeforeTime' - property :key_algorithm, as: 'keyAlgorithm' - property :valid_after_time, as: 'validAfterTime' - property :private_key_type, as: 'privateKeyType' property :private_key_data, :base64 => true, as: 'privateKeyData' - end - end - - class CreateServiceAccountKeyRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :include_public_key_data, as: 'includePublicKeyData' - property :key_algorithm, as: 'keyAlgorithm' property :private_key_type, as: 'privateKeyType' + property :public_key_data, :base64 => true, as: 'publicKeyData' + property :valid_after_time, as: 'validAfterTime' + property :valid_before_time, as: 'validBeforeTime' end end - class TestIamPermissionsRequest + class SetIamPolicyRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions' + property :policy, as: 'policy', class: Google::Apis::IamV1::Policy, decorator: Google::Apis::IamV1::Policy::Representation + + end + end + + class SignBlobRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bytes_to_sign, :base64 => true, as: 'bytesToSign' end end @@ -293,24 +420,6 @@ module Google end end - class SignJwtResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :signed_jwt, as: 'signedJwt' - property :key_id, as: 'keyId' - end - end - - class Policy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :etag, :base64 => true, as: 'etag' - property :version, as: 'version' - collection :bindings, as: 'bindings', class: Google::Apis::IamV1::Binding, decorator: Google::Apis::IamV1::Binding::Representation - - end - end - class SignJwtRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -318,28 +427,32 @@ module Google end end - class AuditData + class SignJwtResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :policy_delta, as: 'policyDelta', class: Google::Apis::IamV1::PolicyDelta, decorator: Google::Apis::IamV1::PolicyDelta::Representation - + property :key_id, as: 'keyId' + property :signed_jwt, as: 'signedJwt' end end - class BindingDelta + class TestIamPermissionsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :member, as: 'member' - property :role, as: 'role' - property :action, as: 'action' + collection :permissions, as: 'permissions' end end - class PolicyDelta + class TestIamPermissionsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :binding_deltas, as: 'bindingDeltas', class: Google::Apis::IamV1::BindingDelta, decorator: Google::Apis::IamV1::BindingDelta::Representation + collection :permissions, as: 'permissions' + end + end + class UndeleteRoleRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :etag, :base64 => true, as: 'etag' end end end diff --git a/generated/google/apis/iam_v1/service.rb b/generated/google/apis/iam_v1/service.rb index 3a9cd999f..5813ce451 100644 --- a/generated/google/apis/iam_v1/service.rb +++ b/generated/google/apis/iam_v1/service.rb @@ -49,19 +49,12 @@ module Google @batch_path = 'batch' end - # Updates a ServiceAccount. - # Currently, only the following fields are updatable: - # `display_name` . - # The `etag` is mandatory. - # @param [String] name - # The resource name of the service account in the following format: - # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. - # Requests using `-` as a wildcard for the project will infer the project - # from the `account` and the `account` value can be the `email` address or - # the `unique_id` of the service account. - # In responses the resource name will always be in the format - # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. - # @param [Google::Apis::IamV1::ServiceAccount] service_account_object + # Creates a new Role. + # @param [String] parent + # The resource name of the parent resource in one of the following formats: + # `organizations/`ORGANIZATION_ID`` + # `projects/`PROJECT_ID`` + # @param [Google::Apis::IamV1::CreateRoleRequest] create_role_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -71,68 +64,39 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IamV1::ServiceAccount] parsed result object + # @yieldparam result [Google::Apis::IamV1::Role] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IamV1::ServiceAccount] + # @return [Google::Apis::IamV1::Role] # # @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_project_service_account(name, service_account_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v1/{+name}', options) - command.request_representation = Google::Apis::IamV1::ServiceAccount::Representation - command.request_object = service_account_object - command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation - command.response_class = Google::Apis::IamV1::ServiceAccount - command.params['name'] = name unless name.nil? + def create_organization_role(parent, create_role_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/roles', options) + command.request_representation = Google::Apis::IamV1::CreateRoleRequest::Representation + command.request_object = create_role_request_object + command.response_representation = Google::Apis::IamV1::Role::Representation + command.response_class = Google::Apis::IamV1::Role + command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Tests the specified permissions against the IAM access control policy - # for a ServiceAccount. - # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. - # See the operation documentation for the appropriate value for this field. - # @param [Google::Apis::IamV1::TestIamPermissionsRequest] test_iam_permissions_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::IamV1::TestIamPermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::IamV1::TestIamPermissionsResponse] - # - # @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 test_service_account_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) - command.request_representation = Google::Apis::IamV1::TestIamPermissionsRequest::Representation - command.request_object = test_iam_permissions_request_object - command.response_representation = Google::Apis::IamV1::TestIamPermissionsResponse::Representation - command.response_class = Google::Apis::IamV1::TestIamPermissionsResponse - command.params['resource'] = resource unless resource.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 ServiceAccount. + # Soft deletes a role. The role is suspended and cannot be used to create new + # IAM Policy Bindings. + # The Role will not be included in `ListRoles()` unless `show_deleted` is set + # in the `ListRolesRequest`. The Role contains the deleted boolean set. + # Existing Bindings remains, but are inactive. The Role can be undeleted + # within 7 days. After 7 days the Role is deleted and all Bindings associated + # with the role are removed. # @param [String] name - # The resource name of the service account in the following format: - # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. - # Using `-` as a wildcard for the project will infer the project from - # the account. The `account` value can be the `email` address or the - # `unique_id` of the service account. + # The resource name of the role in one of the following formats: + # `organizations/`ORGANIZATION_ID`/roles/`ROLE_NAME`` + # `projects/`PROJECT_ID`/roles/`ROLE_NAME`` + # @param [String] etag + # Used to perform a consistent read-modify-write. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -142,32 +106,31 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IamV1::Empty] parsed result object + # @yieldparam result [Google::Apis::IamV1::Role] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IamV1::Empty] + # @return [Google::Apis::IamV1::Role] # # @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_project_service_account(name, fields: nil, quota_user: nil, options: nil, &block) + def delete_organization_role(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', options) - command.response_representation = Google::Apis::IamV1::Empty::Representation - command.response_class = Google::Apis::IamV1::Empty + command.response_representation = Google::Apis::IamV1::Role::Representation + command.response_class = Google::Apis::IamV1::Role command.params['name'] = name unless name.nil? + command.query['etag'] = etag unless etag.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Signs a blob using a service account's system-managed private key. + # Gets a Role definition. # @param [String] name - # The resource name of the service account in the following format: - # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. - # Using `-` as a wildcard for the project will infer the project from - # the account. The `account` value can be the `email` address or the - # `unique_id` of the service account. - # @param [Google::Apis::IamV1::SignBlobRequest] sign_blob_request_object + # The resource name of the role in one of the following formats: + # `roles/`ROLE_NAME`` + # `organizations/`ORGANIZATION_ID`/roles/`ROLE_NAME`` + # `projects/`PROJECT_ID`/roles/`ROLE_NAME`` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -177,38 +140,38 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IamV1::SignBlobResponse] parsed result object + # @yieldparam result [Google::Apis::IamV1::Role] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IamV1::SignBlobResponse] + # @return [Google::Apis::IamV1::Role] # # @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 sign_service_account_blob(name, sign_blob_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:signBlob', options) - command.request_representation = Google::Apis::IamV1::SignBlobRequest::Representation - command.request_object = sign_blob_request_object - command.response_representation = Google::Apis::IamV1::SignBlobResponse::Representation - command.response_class = Google::Apis::IamV1::SignBlobResponse + def get_organization_role(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::IamV1::Role::Representation + command.response_class = Google::Apis::IamV1::Role 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 ServiceAccounts for a project. - # @param [String] name - # Required. The resource name of the project associated with the service - # accounts, such as `projects/my-project-123`. - # @param [String] page_token - # Optional pagination token returned in an earlier - # ListServiceAccountsResponse.next_page_token. + # Lists the Roles defined on a resource. + # @param [String] parent + # The resource name of the parent resource in one of the following formats: + # `` (empty string) -- this refers to curated roles. + # `organizations/`ORGANIZATION_ID`` + # `projects/`PROJECT_ID`` # @param [Fixnum] page_size - # Optional limit on the number of service accounts to include in the - # response. Further accounts can subsequently be obtained by including the - # ListServiceAccountsResponse.next_page_token - # in a subsequent request. + # Optional limit on the number of roles to include in the response. + # @param [String] page_token + # Optional pagination token returned in an earlier ListRolesResponse. + # @param [Boolean] show_deleted + # Include Roles that have been deleted. + # @param [String] view + # Optional view for the returned Role objects. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -218,21 +181,356 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IamV1::ListServiceAccountsResponse] parsed result object + # @yieldparam result [Google::Apis::IamV1::ListRolesResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IamV1::ListServiceAccountsResponse] + # @return [Google::Apis::IamV1::ListRolesResponse] # # @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_project_service_accounts(name, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}/serviceAccounts', options) - command.response_representation = Google::Apis::IamV1::ListServiceAccountsResponse::Representation - command.response_class = Google::Apis::IamV1::ListServiceAccountsResponse - command.params['name'] = name unless name.nil? - command.query['pageToken'] = page_token unless page_token.nil? + def list_organization_roles(parent, page_size: nil, page_token: nil, show_deleted: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/roles', options) + command.response_representation = Google::Apis::IamV1::ListRolesResponse::Representation + command.response_class = Google::Apis::IamV1::ListRolesResponse + command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['showDeleted'] = show_deleted unless show_deleted.nil? + command.query['view'] = view unless view.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 Role definition. + # @param [String] name + # The resource name of the role in one of the following formats: + # `roles/`ROLE_NAME`` + # `organizations/`ORGANIZATION_ID`/roles/`ROLE_NAME`` + # `projects/`PROJECT_ID`/roles/`ROLE_NAME`` + # @param [Google::Apis::IamV1::Role] role_object + # @param [String] update_mask + # A mask describing which fields in the Role have changed. + # @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::IamV1::Role] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::Role] + # + # @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_organization_role(name, role_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/{+name}', options) + command.request_representation = Google::Apis::IamV1::Role::Representation + command.request_object = role_object + command.response_representation = Google::Apis::IamV1::Role::Representation + command.response_class = Google::Apis::IamV1::Role + command.params['name'] = name unless 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 + + # Undelete a Role, bringing it back in its previous state. + # @param [String] name + # The resource name of the role in one of the following formats: + # `organizations/`ORGANIZATION_ID`/roles/`ROLE_NAME`` + # `projects/`PROJECT_ID`/roles/`ROLE_NAME`` + # @param [Google::Apis::IamV1::UndeleteRoleRequest] undelete_role_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::IamV1::Role] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::Role] + # + # @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_organization_role(name, undelete_role_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:undelete', options) + command.request_representation = Google::Apis::IamV1::UndeleteRoleRequest::Representation + command.request_object = undelete_role_request_object + command.response_representation = Google::Apis::IamV1::Role::Representation + command.response_class = Google::Apis::IamV1::Role + 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 the permissions testable on a resource. + # A permission is testable if it can be tested for an identity on a resource. + # @param [Google::Apis::IamV1::QueryTestablePermissionsRequest] query_testable_permissions_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::IamV1::QueryTestablePermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::QueryTestablePermissionsResponse] + # + # @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 query_testable_permissions(query_testable_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/permissions:queryTestablePermissions', options) + command.request_representation = Google::Apis::IamV1::QueryTestablePermissionsRequest::Representation + command.request_object = query_testable_permissions_request_object + command.response_representation = Google::Apis::IamV1::QueryTestablePermissionsResponse::Representation + command.response_class = Google::Apis::IamV1::QueryTestablePermissionsResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a new Role. + # @param [String] parent + # The resource name of the parent resource in one of the following formats: + # `organizations/`ORGANIZATION_ID`` + # `projects/`PROJECT_ID`` + # @param [Google::Apis::IamV1::CreateRoleRequest] create_role_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::IamV1::Role] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::Role] + # + # @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_project_role(parent, create_role_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/roles', options) + command.request_representation = Google::Apis::IamV1::CreateRoleRequest::Representation + command.request_object = create_role_request_object + command.response_representation = Google::Apis::IamV1::Role::Representation + command.response_class = Google::Apis::IamV1::Role + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Soft deletes a role. The role is suspended and cannot be used to create new + # IAM Policy Bindings. + # The Role will not be included in `ListRoles()` unless `show_deleted` is set + # in the `ListRolesRequest`. The Role contains the deleted boolean set. + # Existing Bindings remains, but are inactive. The Role can be undeleted + # within 7 days. After 7 days the Role is deleted and all Bindings associated + # with the role are removed. + # @param [String] name + # The resource name of the role in one of the following formats: + # `organizations/`ORGANIZATION_ID`/roles/`ROLE_NAME`` + # `projects/`PROJECT_ID`/roles/`ROLE_NAME`` + # @param [String] etag + # Used to perform a consistent read-modify-write. + # @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::IamV1::Role] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::Role] + # + # @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_project_role(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::IamV1::Role::Representation + command.response_class = Google::Apis::IamV1::Role + command.params['name'] = name unless name.nil? + command.query['etag'] = etag unless etag.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 a Role definition. + # @param [String] name + # The resource name of the role in one of the following formats: + # `roles/`ROLE_NAME`` + # `organizations/`ORGANIZATION_ID`/roles/`ROLE_NAME`` + # `projects/`PROJECT_ID`/roles/`ROLE_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::IamV1::Role] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::Role] + # + # @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_project_role(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::IamV1::Role::Representation + command.response_class = Google::Apis::IamV1::Role + 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 the Roles defined on a resource. + # @param [String] parent + # The resource name of the parent resource in one of the following formats: + # `` (empty string) -- this refers to curated roles. + # `organizations/`ORGANIZATION_ID`` + # `projects/`PROJECT_ID`` + # @param [Fixnum] page_size + # Optional limit on the number of roles to include in the response. + # @param [String] page_token + # Optional pagination token returned in an earlier ListRolesResponse. + # @param [Boolean] show_deleted + # Include Roles that have been deleted. + # @param [String] view + # Optional view for the returned Role objects. + # @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::IamV1::ListRolesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::ListRolesResponse] + # + # @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_project_roles(parent, page_size: nil, page_token: nil, show_deleted: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/roles', options) + command.response_representation = Google::Apis::IamV1::ListRolesResponse::Representation + command.response_class = Google::Apis::IamV1::ListRolesResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['showDeleted'] = show_deleted unless show_deleted.nil? + command.query['view'] = view unless view.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 Role definition. + # @param [String] name + # The resource name of the role in one of the following formats: + # `roles/`ROLE_NAME`` + # `organizations/`ORGANIZATION_ID`/roles/`ROLE_NAME`` + # `projects/`PROJECT_ID`/roles/`ROLE_NAME`` + # @param [Google::Apis::IamV1::Role] role_object + # @param [String] update_mask + # A mask describing which fields in the Role have changed. + # @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::IamV1::Role] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::Role] + # + # @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_project_role(name, role_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/{+name}', options) + command.request_representation = Google::Apis::IamV1::Role::Representation + command.request_object = role_object + command.response_representation = Google::Apis::IamV1::Role::Representation + command.response_class = Google::Apis::IamV1::Role + command.params['name'] = name unless 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 + + # Undelete a Role, bringing it back in its previous state. + # @param [String] name + # The resource name of the role in one of the following formats: + # `organizations/`ORGANIZATION_ID`/roles/`ROLE_NAME`` + # `projects/`PROJECT_ID`/roles/`ROLE_NAME`` + # @param [Google::Apis::IamV1::UndeleteRoleRequest] undelete_role_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::IamV1::Role] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::Role] + # + # @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_role(name, undelete_role_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:undelete', options) + command.request_representation = Google::Apis::IamV1::UndeleteRoleRequest::Representation + command.request_object = undelete_role_request_object + command.response_representation = Google::Apis::IamV1::Role::Representation + command.response_class = Google::Apis::IamV1::Role + 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) @@ -273,6 +571,147 @@ module Google execute_or_queue_command(command, &block) end + # Deletes a ServiceAccount. + # @param [String] name + # The resource name of the service account in the following format: + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. + # Using `-` as a wildcard for the project will infer the project from + # the account. The `account` value can be the `email` address or the + # `unique_id` of the service account. + # @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::IamV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::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_project_service_account(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::IamV1::Empty::Representation + command.response_class = Google::Apis::IamV1::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 + + # Gets a ServiceAccount. + # @param [String] name + # The resource name of the service account in the following format: + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. + # Using `-` as a wildcard for the project will infer the project from + # the account. The `account` value can be the `email` address or the + # `unique_id` of the service account. + # @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::IamV1::ServiceAccount] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::ServiceAccount] + # + # @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_project_service_account(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation + command.response_class = Google::Apis::IamV1::ServiceAccount + 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 + + # Returns the IAM access control policy for a + # ServiceAccount. + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. + # See the operation documentation for the appropriate value for this field. + # @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::IamV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::Policy] + # + # @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_project_service_account_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options) + command.response_representation = Google::Apis::IamV1::Policy::Representation + command.response_class = Google::Apis::IamV1::Policy + command.params['resource'] = resource unless resource.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 ServiceAccounts for a project. + # @param [String] name + # Required. The resource name of the project associated with the service + # accounts, such as `projects/my-project-123`. + # @param [Fixnum] page_size + # Optional limit on the number of service accounts to include in the + # response. Further accounts can subsequently be obtained by including the + # ListServiceAccountsResponse.next_page_token + # in a subsequent request. + # @param [String] page_token + # Optional pagination token returned in an earlier + # ListServiceAccountsResponse.next_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::IamV1::ListServiceAccountsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::ListServiceAccountsResponse] + # + # @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_project_service_accounts(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}/serviceAccounts', options) + command.response_representation = Google::Apis::IamV1::ListServiceAccountsResponse::Representation + command.response_class = Google::Apis::IamV1::ListServiceAccountsResponse + command.params['name'] = name unless name.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 + # Sets the IAM access control policy for a # ServiceAccount. # @param [String] resource @@ -308,6 +747,43 @@ module Google execute_or_queue_command(command, &block) end + # Signs a blob using a service account's system-managed private key. + # @param [String] name + # The resource name of the service account in the following format: + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. + # Using `-` as a wildcard for the project will infer the project from + # the account. The `account` value can be the `email` address or the + # `unique_id` of the service account. + # @param [Google::Apis::IamV1::SignBlobRequest] sign_blob_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::IamV1::SignBlobResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::SignBlobResponse] + # + # @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 sign_service_account_blob(name, sign_blob_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:signBlob', options) + command.request_representation = Google::Apis::IamV1::SignBlobRequest::Representation + command.request_object = sign_blob_request_object + command.response_representation = Google::Apis::IamV1::SignBlobResponse::Representation + command.response_class = Google::Apis::IamV1::SignBlobResponse + 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 + # Signs a JWT using a service account's system-managed private key. # If no expiry time (`exp`) is provided in the `SignJwtRequest`, IAM sets an # an expiry time of one hour by default. If you request an expiry time of @@ -348,11 +824,12 @@ module Google execute_or_queue_command(command, &block) end - # Returns the IAM access control policy for a - # ServiceAccount. + # Tests the specified permissions against the IAM access control policy + # for a ServiceAccount. # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. + # REQUIRED: The resource for which the policy detail is being requested. # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::IamV1::TestIamPermissionsRequest] test_iam_permissions_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -362,31 +839,39 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IamV1::Policy] parsed result object + # @yieldparam result [Google::Apis::IamV1::TestIamPermissionsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IamV1::Policy] + # @return [Google::Apis::IamV1::TestIamPermissionsResponse] # # @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_project_service_account_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options) - command.response_representation = Google::Apis::IamV1::Policy::Representation - command.response_class = Google::Apis::IamV1::Policy + def test_service_account_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) + command.request_representation = Google::Apis::IamV1::TestIamPermissionsRequest::Representation + command.request_object = test_iam_permissions_request_object + command.response_representation = Google::Apis::IamV1::TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::IamV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.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 a ServiceAccount. + # Updates a ServiceAccount. + # Currently, only the following fields are updatable: + # `display_name` . + # The `etag` is mandatory. # @param [String] name # The resource name of the service account in the following format: # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. - # Using `-` as a wildcard for the project will infer the project from - # the account. The `account` value can be the `email` address or the - # `unique_id` of the service account. + # Requests using `-` as a wildcard for the project will infer the project + # from the `account` and the `account` value can be the `email` address or + # the `unique_id` of the service account. + # In responses the resource name will always be in the format + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. + # @param [Google::Apis::IamV1::ServiceAccount] service_account_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -404,8 +889,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 get_project_service_account(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) + def update_project_service_account(name, service_account_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v1/{+name}', options) + command.request_representation = Google::Apis::IamV1::ServiceAccount::Representation + command.request_object = service_account_object command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation command.response_class = Google::Apis::IamV1::ServiceAccount command.params['name'] = name unless name.nil? @@ -564,6 +1051,84 @@ module Google execute_or_queue_command(command, &block) end + # Gets a Role definition. + # @param [String] name + # The resource name of the role in one of the following formats: + # `roles/`ROLE_NAME`` + # `organizations/`ORGANIZATION_ID`/roles/`ROLE_NAME`` + # `projects/`PROJECT_ID`/roles/`ROLE_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::IamV1::Role] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::Role] + # + # @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_role(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::IamV1::Role::Representation + command.response_class = Google::Apis::IamV1::Role + 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 the Roles defined on a resource. + # @param [Fixnum] page_size + # Optional limit on the number of roles to include in the response. + # @param [String] page_token + # Optional pagination token returned in an earlier ListRolesResponse. + # @param [String] parent + # The resource name of the parent resource in one of the following formats: + # `` (empty string) -- this refers to curated roles. + # `organizations/`ORGANIZATION_ID`` + # `projects/`PROJECT_ID`` + # @param [Boolean] show_deleted + # Include Roles that have been deleted. + # @param [String] view + # Optional view for the returned Role objects. + # @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::IamV1::ListRolesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::ListRolesResponse] + # + # @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_roles(page_size: nil, page_token: nil, parent: nil, show_deleted: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/roles', options) + command.response_representation = Google::Apis::IamV1::ListRolesResponse::Representation + command.response_class = Google::Apis::IamV1::ListRolesResponse + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['parent'] = parent unless parent.nil? + command.query['showDeleted'] = show_deleted unless show_deleted.nil? + command.query['view'] = view unless view.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Queries roles that can be granted on a particular resource. # A role is grantable if it can be used as the role in a binding for a policy # for that resource. diff --git a/generated/google/apis/identitytoolkit_v3.rb b/generated/google/apis/identitytoolkit_v3.rb index dd42f6dfb..86dce961d 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 = '20170710' + REVISION = '20170614' # 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/kgsearch_v1/classes.rb b/generated/google/apis/kgsearch_v1/classes.rb index 45cfb9991..dd4d43760 100644 --- a/generated/google/apis/kgsearch_v1/classes.rb +++ b/generated/google/apis/kgsearch_v1/classes.rb @@ -27,6 +27,12 @@ module Google class SearchResponse include Google::Apis::Core::Hashable + # The local context applicable for the response. See more details at + # http://www.w3.org/TR/json-ld/#context-definitions. + # Corresponds to the JSON property `@context` + # @return [Object] + attr_accessor :_context + # The schema type of top-level JSON-LD object, e.g. ItemList. # Corresponds to the JSON property `@type` # @return [Object] @@ -37,21 +43,15 @@ module Google # @return [Array] attr_accessor :item_list_element - # The local context applicable for the response. See more details at - # http://www.w3.org/TR/json-ld/#context-definitions. - # Corresponds to the JSON property `@context` - # @return [Object] - attr_accessor :_context - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @_context = args[:_context] if args.key?(:_context) @_type = args[:_type] if args.key?(:_type) @item_list_element = args[:item_list_element] if args.key?(:item_list_element) - @_context = args[:_context] if args.key?(:_context) end end end diff --git a/generated/google/apis/kgsearch_v1/representations.rb b/generated/google/apis/kgsearch_v1/representations.rb index d5fad41e3..55b47cfb3 100644 --- a/generated/google/apis/kgsearch_v1/representations.rb +++ b/generated/google/apis/kgsearch_v1/representations.rb @@ -31,9 +31,9 @@ module Google class SearchResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :_context, as: '@context' property :_type, as: '@type' collection :item_list_element, as: 'itemListElement' - property :_context, as: '@context' end end end diff --git a/generated/google/apis/kgsearch_v1/service.rb b/generated/google/apis/kgsearch_v1/service.rb index 16a5455b2..1c55c3211 100644 --- a/generated/google/apis/kgsearch_v1/service.rb +++ b/generated/google/apis/kgsearch_v1/service.rb @@ -50,13 +50,15 @@ module Google # Searches Knowledge Graph for entities that match the constraints. # A list of matched entities will be returned in response, which will be in # JSON-LD format and compatible with http://schema.org - # @param [Array, String] languages - # The list of language codes (defined in ISO 693) to run the query with, - # e.g. 'en'. # @param [Array, String] ids # The list of entity id to be used for search instead of query string. # To specify multiple ids in the HTTP request, repeat the parameter in the # URL as in ...?ids=A&ids=B + # @param [Boolean] indent + # Enables indenting of json results. + # @param [Array, String] languages + # The list of language codes (defined in ISO 693) to run the query with, + # e.g. 'en'. # @param [Fixnum] limit # Limits the number of entities to be returned. # @param [Boolean] prefix @@ -67,8 +69,6 @@ module Google # Restricts returned entities with these types, e.g. Person # (as defined in http://schema.org/Person). If multiple types are specified, # returned entities will contain one or more of these types. - # @param [Boolean] indent - # Enables indenting of json results. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -86,17 +86,17 @@ 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 search_entities(languages: nil, ids: nil, limit: nil, prefix: nil, query: nil, types: nil, indent: nil, fields: nil, quota_user: nil, options: nil, &block) + def search_entities(ids: nil, indent: nil, languages: nil, limit: nil, prefix: nil, query: nil, types: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/entities:search', options) command.response_representation = Google::Apis::KgsearchV1::SearchResponse::Representation command.response_class = Google::Apis::KgsearchV1::SearchResponse - command.query['languages'] = languages unless languages.nil? command.query['ids'] = ids unless ids.nil? + command.query['indent'] = indent unless indent.nil? + command.query['languages'] = languages unless languages.nil? command.query['limit'] = limit unless limit.nil? command.query['prefix'] = prefix unless prefix.nil? command.query['query'] = query unless query.nil? command.query['types'] = types unless types.nil? - command.query['indent'] = indent unless indent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/language_v1.rb b/generated/google/apis/language_v1.rb index 473c988e6..703baca3e 100644 --- a/generated/google/apis/language_v1.rb +++ b/generated/google/apis/language_v1.rb @@ -27,7 +27,10 @@ module Google # @see https://cloud.google.com/natural-language/ module LanguageV1 VERSION = 'V1' - REVISION = '20170619' + REVISION = '20170809' + + # Apply machine learning models to reveal the structure and meaning of text + AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language' # 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/language_v1/classes.rb b/generated/google/apis/language_v1/classes.rb index f40f8025c..eebd854a9 100644 --- a/generated/google/apis/language_v1/classes.rb +++ b/generated/google/apis/language_v1/classes.rb @@ -22,116 +22,82 @@ module Google module Apis module LanguageV1 - # Represents part of speech information for a token. Parts of speech - # are as defined in - # http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf - class PartOfSpeech + # The entity analysis request message. + class AnalyzeEntitiesRequest include Google::Apis::Core::Hashable - # The grammatical aspect. - # Corresponds to the JSON property `aspect` - # @return [String] - attr_accessor :aspect - - # The grammatical mood. - # Corresponds to the JSON property `mood` - # @return [String] - attr_accessor :mood - - # The part of speech tag. - # Corresponds to the JSON property `tag` - # @return [String] - attr_accessor :tag - - # The grammatical gender. - # Corresponds to the JSON property `gender` - # @return [String] - attr_accessor :gender - - # The grammatical person. - # Corresponds to the JSON property `person` - # @return [String] - attr_accessor :person - - # The grammatical properness. - # Corresponds to the JSON property `proper` - # @return [String] - attr_accessor :proper - - # The grammatical case. - # Corresponds to the JSON property `case` - # @return [String] - attr_accessor :case - - # The grammatical tense. - # Corresponds to the JSON property `tense` - # @return [String] - attr_accessor :tense - - # The grammatical reciprocity. - # Corresponds to the JSON property `reciprocity` - # @return [String] - attr_accessor :reciprocity - - # The grammatical form. - # Corresponds to the JSON property `form` - # @return [String] - attr_accessor :form - - # The grammatical number. - # Corresponds to the JSON property `number` - # @return [String] - attr_accessor :number - - # The grammatical voice. - # Corresponds to the JSON property `voice` - # @return [String] - attr_accessor :voice - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @aspect = args[:aspect] if args.key?(:aspect) - @mood = args[:mood] if args.key?(:mood) - @tag = args[:tag] if args.key?(:tag) - @gender = args[:gender] if args.key?(:gender) - @person = args[:person] if args.key?(:person) - @proper = args[:proper] if args.key?(:proper) - @case = args[:case] if args.key?(:case) - @tense = args[:tense] if args.key?(:tense) - @reciprocity = args[:reciprocity] if args.key?(:reciprocity) - @form = args[:form] if args.key?(:form) - @number = args[:number] if args.key?(:number) - @voice = args[:voice] if args.key?(:voice) - end - end - - # The syntax analysis request message. - class AnalyzeSyntaxRequest - include Google::Apis::Core::Hashable - - # The encoding type used by the API to calculate offsets. - # Corresponds to the JSON property `encodingType` - # @return [String] - attr_accessor :encoding_type - # ################################################################ # # Represents the input to API methods. # Corresponds to the JSON property `document` # @return [Google::Apis::LanguageV1::Document] attr_accessor :document + # The encoding type used by the API to calculate offsets. + # Corresponds to the JSON property `encodingType` + # @return [String] + attr_accessor :encoding_type + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @encoding_type = args[:encoding_type] if args.key?(:encoding_type) @document = args[:document] if args.key?(:document) + @encoding_type = args[:encoding_type] if args.key?(:encoding_type) + end + end + + # The entity analysis response message. + class AnalyzeEntitiesResponse + include Google::Apis::Core::Hashable + + # The recognized entities in the input document. + # Corresponds to the JSON property `entities` + # @return [Array] + attr_accessor :entities + + # The language of the text, which will be the same as the language specified + # in the request or, if not specified, the automatically-detected language. + # See Document.language field for more details. + # Corresponds to the JSON property `language` + # @return [String] + attr_accessor :language + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @entities = args[:entities] if args.key?(:entities) + @language = args[:language] if args.key?(:language) + end + end + + # The sentiment analysis request message. + class AnalyzeSentimentRequest + include Google::Apis::Core::Hashable + + # ################################################################ # + # Represents the input to API methods. + # Corresponds to the JSON property `document` + # @return [Google::Apis::LanguageV1::Document] + attr_accessor :document + + # The encoding type used by the API to calculate sentence offsets. + # Corresponds to the JSON property `encodingType` + # @return [String] + attr_accessor :encoding_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @document = args[:document] if args.key?(:document) + @encoding_type = args[:encoding_type] if args.key?(:encoding_type) end end @@ -169,21 +135,20 @@ module Google end end - # The entity analysis response message. - class AnalyzeEntitiesResponse + # The syntax analysis request message. + class AnalyzeSyntaxRequest include Google::Apis::Core::Hashable - # The language of the text, which will be the same as the language specified - # in the request or, if not specified, the automatically-detected language. - # See Document.language field for more details. - # Corresponds to the JSON property `language` - # @return [String] - attr_accessor :language + # ################################################################ # + # Represents the input to API methods. + # Corresponds to the JSON property `document` + # @return [Google::Apis::LanguageV1::Document] + attr_accessor :document - # The recognized entities in the input document. - # Corresponds to the JSON property `entities` - # @return [Array] - attr_accessor :entities + # The encoding type used by the API to calculate offsets. + # Corresponds to the JSON property `encodingType` + # @return [String] + attr_accessor :encoding_type def initialize(**args) update!(**args) @@ -191,8 +156,8 @@ module Google # Update properties of this object def update!(**args) - @language = args[:language] if args.key?(:language) - @entities = args[:entities] if args.key?(:entities) + @document = args[:document] if args.key?(:document) + @encoding_type = args[:encoding_type] if args.key?(:encoding_type) end end @@ -200,11 +165,6 @@ module Google class AnalyzeSyntaxResponse include Google::Apis::Core::Hashable - # Tokens, along with their syntactic information, in the input document. - # Corresponds to the JSON property `tokens` - # @return [Array] - attr_accessor :tokens - # The language of the text, which will be the same as the language specified # in the request or, if not specified, the automatically-detected language. # See Document.language field for more details. @@ -217,67 +177,20 @@ module Google # @return [Array] attr_accessor :sentences + # Tokens, along with their syntactic information, in the input document. + # Corresponds to the JSON property `tokens` + # @return [Array] + attr_accessor :tokens + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @tokens = args[:tokens] if args.key?(:tokens) @language = args[:language] if args.key?(:language) @sentences = args[:sentences] if args.key?(:sentences) - end - end - - # Represents a phrase in the text that is a known entity, such as - # a person, an organization, or location. The API associates information, such - # as salience and mentions, with entities. - class Entity - include Google::Apis::Core::Hashable - - # The salience score associated with the entity in the [0, 1.0] range. - # The salience score for an entity provides information about the - # importance or centrality of that entity to the entire document text. - # Scores closer to 0 are less salient, while scores closer to 1.0 are highly - # salient. - # Corresponds to the JSON property `salience` - # @return [Float] - attr_accessor :salience - - # Metadata associated with the entity. - # Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if - # available. The associated keys are "wikipedia_url" and "mid", respectively. - # Corresponds to the JSON property `metadata` - # @return [Hash] - attr_accessor :metadata - - # The entity type. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The mentions of this entity in the input document. The API currently - # supports proper noun mentions. - # Corresponds to the JSON property `mentions` - # @return [Array] - attr_accessor :mentions - - # The representative name for the entity. - # 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) - @salience = args[:salience] if args.key?(:salience) - @metadata = args[:metadata] if args.key?(:metadata) - @type = args[:type] if args.key?(:type) - @mentions = args[:mentions] if args.key?(:mentions) - @name = args[:name] if args.key?(:name) + @tokens = args[:tokens] if args.key?(:tokens) end end @@ -286,22 +199,22 @@ module Google class AnnotateTextRequest include Google::Apis::Core::Hashable - # All available features for sentiment, syntax, and semantic analysis. - # Setting each one to true will enable that specific analysis for the input. - # Corresponds to the JSON property `features` - # @return [Google::Apis::LanguageV1::Features] - attr_accessor :features + # ################################################################ # + # Represents the input to API methods. + # Corresponds to the JSON property `document` + # @return [Google::Apis::LanguageV1::Document] + attr_accessor :document # The encoding type used by the API to calculate offsets. # Corresponds to the JSON property `encodingType` # @return [String] attr_accessor :encoding_type - # ################################################################ # - # Represents the input to API methods. - # Corresponds to the JSON property `document` - # @return [Google::Apis::LanguageV1::Document] - attr_accessor :document + # All available features for sentiment, syntax, and semantic analysis. + # Setting each one to true will enable that specific analysis for the input. + # Corresponds to the JSON property `features` + # @return [Google::Apis::LanguageV1::Features] + attr_accessor :features def initialize(**args) update!(**args) @@ -309,9 +222,9 @@ module Google # Update properties of this object def update!(**args) - @features = args[:features] if args.key?(:features) - @encoding_type = args[:encoding_type] if args.key?(:encoding_type) @document = args[:document] if args.key?(:document) + @encoding_type = args[:encoding_type] if args.key?(:encoding_type) + @features = args[:features] if args.key?(:features) end end @@ -319,6 +232,26 @@ module Google class AnnotateTextResponse include Google::Apis::Core::Hashable + # Represents the feeling associated with the entire text or entities in + # the text. + # Corresponds to the JSON property `documentSentiment` + # @return [Google::Apis::LanguageV1::Sentiment] + attr_accessor :document_sentiment + + # Entities, along with their semantic information, in the input document. + # Populated if the user enables + # AnnotateTextRequest.Features.extract_entities. + # Corresponds to the JSON property `entities` + # @return [Array] + attr_accessor :entities + + # The language of the text, which will be the same as the language specified + # in the request or, if not specified, the automatically-detected language. + # See Document.language field for more details. + # Corresponds to the JSON property `language` + # @return [String] + attr_accessor :language + # Sentences in the input document. Populated if the user enables # AnnotateTextRequest.Features.extract_syntax. # Corresponds to the JSON property `sentences` @@ -332,63 +265,17 @@ module Google # @return [Array] attr_accessor :tokens - # Entities, along with their semantic information, in the input document. - # Populated if the user enables - # AnnotateTextRequest.Features.extract_entities. - # Corresponds to the JSON property `entities` - # @return [Array] - attr_accessor :entities - - # Represents the feeling associated with the entire text or entities in - # the text. - # Corresponds to the JSON property `documentSentiment` - # @return [Google::Apis::LanguageV1::Sentiment] - attr_accessor :document_sentiment - - # The language of the text, which will be the same as the language specified - # in the request or, if not specified, the automatically-detected language. - # See Document.language field for more details. - # Corresponds to the JSON property `language` - # @return [String] - attr_accessor :language - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @document_sentiment = args[:document_sentiment] if args.key?(:document_sentiment) + @entities = args[:entities] if args.key?(:entities) + @language = args[:language] if args.key?(:language) @sentences = args[:sentences] if args.key?(:sentences) @tokens = args[:tokens] if args.key?(:tokens) - @entities = args[:entities] if args.key?(:entities) - @document_sentiment = args[:document_sentiment] if args.key?(:document_sentiment) - @language = args[:language] if args.key?(:language) - end - end - - # The sentiment analysis request message. - class AnalyzeSentimentRequest - include Google::Apis::Core::Hashable - - # The encoding type used by the API to calculate sentence offsets. - # Corresponds to the JSON property `encodingType` - # @return [String] - attr_accessor :encoding_type - - # ################################################################ # - # Represents the input to API methods. - # Corresponds to the JSON property `document` - # @return [Google::Apis::LanguageV1::Document] - attr_accessor :document - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @encoding_type = args[:encoding_type] if args.key?(:encoding_type) - @document = args[:document] if args.key?(:document) end end @@ -398,11 +285,6 @@ module Google class DependencyEdge include Google::Apis::Core::Hashable - # The parse label for the token. - # Corresponds to the JSON property `label` - # @return [String] - attr_accessor :label - # Represents the head of this token in the dependency tree. # This is the index of the token which has an arc going to this token. # The index is the position of the token in the array of tokens returned @@ -412,31 +294,57 @@ module Google # @return [Fixnum] attr_accessor :head_token_index + # The parse label for the token. + # Corresponds to the JSON property `label` + # @return [String] + attr_accessor :label + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @label = args[:label] if args.key?(:label) @head_token_index = args[:head_token_index] if args.key?(:head_token_index) + @label = args[:label] if args.key?(:label) end end - # Represents an output piece of text. - class TextSpan + # ################################################################ # + # Represents the input to API methods. + class Document include Google::Apis::Core::Hashable - # The content of the output text. + # The content of the input in string format. # Corresponds to the JSON property `content` # @return [String] attr_accessor :content - # The API calculates the beginning offset of the content in the original - # document according to the EncodingType specified in the API request. - # Corresponds to the JSON property `beginOffset` - # @return [Fixnum] - attr_accessor :begin_offset + # The Google Cloud Storage URI where the file content is located. + # This URI must be of the form: gs://bucket_name/object_name. For more + # details, see https://cloud.google.com/storage/docs/reference-uris. + # NOTE: Cloud Storage object versioning is not supported. + # Corresponds to the JSON property `gcsContentUri` + # @return [String] + attr_accessor :gcs_content_uri + + # The language of the document (if not specified, the language is + # automatically detected). Both ISO and BCP-47 language codes are + # accepted.
    + # [Language Support](/natural-language/docs/languages) + # lists currently supported languages for each API method. + # If the language (either specified by the caller or automatically detected) + # is not supported by the called API method, an `INVALID_ARGUMENT` error + # is returned. + # Corresponds to the JSON property `language` + # @return [String] + attr_accessor :language + + # Required. If the type is not set or is `TYPE_UNSPECIFIED`, + # returns an `INVALID_ARGUMENT` error. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type def initialize(**args) update!(**args) @@ -445,37 +353,78 @@ module Google # Update properties of this object def update!(**args) @content = args[:content] if args.key?(:content) - @begin_offset = args[:begin_offset] if args.key?(:begin_offset) + @gcs_content_uri = args[:gcs_content_uri] if args.key?(:gcs_content_uri) + @language = args[:language] if args.key?(:language) + @type = args[:type] if args.key?(:type) end end - # Represents the smallest syntactic building block of the text. - class Token + # Represents a phrase in the text that is a known entity, such as + # a person, an organization, or location. The API associates information, such + # as salience and mentions, with entities. + class Entity include Google::Apis::Core::Hashable - # Represents part of speech information for a token. Parts of speech - # are as defined in - # http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf - # Corresponds to the JSON property `partOfSpeech` - # @return [Google::Apis::LanguageV1::PartOfSpeech] - attr_accessor :part_of_speech + # The mentions of this entity in the input document. The API currently + # supports proper noun mentions. + # Corresponds to the JSON property `mentions` + # @return [Array] + attr_accessor :mentions - # Represents dependency parse tree information for a token. (For more - # information on dependency labels, see - # http://www.aclweb.org/anthology/P13-2017 - # Corresponds to the JSON property `dependencyEdge` - # @return [Google::Apis::LanguageV1::DependencyEdge] - attr_accessor :dependency_edge + # Metadata associated with the entity. + # Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if + # available. The associated keys are "wikipedia_url" and "mid", respectively. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata - # Represents an output piece of text. - # Corresponds to the JSON property `text` - # @return [Google::Apis::LanguageV1::TextSpan] - attr_accessor :text - - # [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token. - # Corresponds to the JSON property `lemma` + # The representative name for the entity. + # Corresponds to the JSON property `name` # @return [String] - attr_accessor :lemma + attr_accessor :name + + # The salience score associated with the entity in the [0, 1.0] range. + # The salience score for an entity provides information about the + # importance or centrality of that entity to the entire document text. + # Scores closer to 0 are less salient, while scores closer to 1.0 are highly + # salient. + # Corresponds to the JSON property `salience` + # @return [Float] + attr_accessor :salience + + # The entity 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) + @mentions = args[:mentions] if args.key?(:mentions) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + @salience = args[:salience] if args.key?(:salience) + @type = args[:type] if args.key?(:type) + end + end + + # Represents a mention for an entity in the text. Currently, proper noun + # mentions are supported. + class EntityMention + include Google::Apis::Core::Hashable + + # Represents an output piece of text. + # Corresponds to the JSON property `text` + # @return [Google::Apis::LanguageV1::TextSpan] + attr_accessor :text + + # The type of the entity mention. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type def initialize(**args) update!(**args) @@ -483,10 +432,185 @@ module Google # Update properties of this object def update!(**args) - @part_of_speech = args[:part_of_speech] if args.key?(:part_of_speech) - @dependency_edge = args[:dependency_edge] if args.key?(:dependency_edge) @text = args[:text] if args.key?(:text) - @lemma = args[:lemma] if args.key?(:lemma) + @type = args[:type] if args.key?(:type) + end + end + + # All available features for sentiment, syntax, and semantic analysis. + # Setting each one to true will enable that specific analysis for the input. + class Features + include Google::Apis::Core::Hashable + + # Extract document-level sentiment. + # Corresponds to the JSON property `extractDocumentSentiment` + # @return [Boolean] + attr_accessor :extract_document_sentiment + alias_method :extract_document_sentiment?, :extract_document_sentiment + + # Extract entities. + # Corresponds to the JSON property `extractEntities` + # @return [Boolean] + attr_accessor :extract_entities + alias_method :extract_entities?, :extract_entities + + # Extract syntax information. + # Corresponds to the JSON property `extractSyntax` + # @return [Boolean] + attr_accessor :extract_syntax + alias_method :extract_syntax?, :extract_syntax + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @extract_document_sentiment = args[:extract_document_sentiment] if args.key?(:extract_document_sentiment) + @extract_entities = args[:extract_entities] if args.key?(:extract_entities) + @extract_syntax = args[:extract_syntax] if args.key?(:extract_syntax) + end + end + + # Represents part of speech information for a token. Parts of speech + # are as defined in + # http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf + class PartOfSpeech + include Google::Apis::Core::Hashable + + # The grammatical aspect. + # Corresponds to the JSON property `aspect` + # @return [String] + attr_accessor :aspect + + # The grammatical case. + # Corresponds to the JSON property `case` + # @return [String] + attr_accessor :case + + # The grammatical form. + # Corresponds to the JSON property `form` + # @return [String] + attr_accessor :form + + # The grammatical gender. + # Corresponds to the JSON property `gender` + # @return [String] + attr_accessor :gender + + # The grammatical mood. + # Corresponds to the JSON property `mood` + # @return [String] + attr_accessor :mood + + # The grammatical number. + # Corresponds to the JSON property `number` + # @return [String] + attr_accessor :number + + # The grammatical person. + # Corresponds to the JSON property `person` + # @return [String] + attr_accessor :person + + # The grammatical properness. + # Corresponds to the JSON property `proper` + # @return [String] + attr_accessor :proper + + # The grammatical reciprocity. + # Corresponds to the JSON property `reciprocity` + # @return [String] + attr_accessor :reciprocity + + # The part of speech tag. + # Corresponds to the JSON property `tag` + # @return [String] + attr_accessor :tag + + # The grammatical tense. + # Corresponds to the JSON property `tense` + # @return [String] + attr_accessor :tense + + # The grammatical voice. + # Corresponds to the JSON property `voice` + # @return [String] + attr_accessor :voice + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @aspect = args[:aspect] if args.key?(:aspect) + @case = args[:case] if args.key?(:case) + @form = args[:form] if args.key?(:form) + @gender = args[:gender] if args.key?(:gender) + @mood = args[:mood] if args.key?(:mood) + @number = args[:number] if args.key?(:number) + @person = args[:person] if args.key?(:person) + @proper = args[:proper] if args.key?(:proper) + @reciprocity = args[:reciprocity] if args.key?(:reciprocity) + @tag = args[:tag] if args.key?(:tag) + @tense = args[:tense] if args.key?(:tense) + @voice = args[:voice] if args.key?(:voice) + end + end + + # Represents a sentence in the input document. + class Sentence + include Google::Apis::Core::Hashable + + # Represents the feeling associated with the entire text or entities in + # the text. + # Corresponds to the JSON property `sentiment` + # @return [Google::Apis::LanguageV1::Sentiment] + attr_accessor :sentiment + + # Represents an output piece of text. + # Corresponds to the JSON property `text` + # @return [Google::Apis::LanguageV1::TextSpan] + attr_accessor :text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sentiment = args[:sentiment] if args.key?(:sentiment) + @text = args[:text] if args.key?(:text) + end + end + + # Represents the feeling associated with the entire text or entities in + # the text. + class Sentiment + include Google::Apis::Core::Hashable + + # A non-negative number in the [0, +inf) range, which represents + # the absolute magnitude of sentiment regardless of score (positive or + # negative). + # Corresponds to the JSON property `magnitude` + # @return [Float] + attr_accessor :magnitude + + # Sentiment score between -1.0 (negative sentiment) and 1.0 + # (positive sentiment). + # 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) + @magnitude = args[:magnitude] if args.key?(:magnitude) + @score = args[:score] if args.key?(:score) end end @@ -537,6 +661,12 @@ module Google # @return [Fixnum] attr_accessor :code + # A list of messages that carry the error details. There is 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. @@ -544,12 +674,6 @@ module Google # @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 @@ -557,199 +681,75 @@ module Google # 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) + @message = args[:message] if args.key?(:message) end end - # Represents a mention for an entity in the text. Currently, proper noun - # mentions are supported. - class EntityMention + # Represents an output piece of text. + class TextSpan include Google::Apis::Core::Hashable - # The type of the entity mention. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type + # The API calculates the beginning offset of the content in the original + # document according to the EncodingType specified in the API request. + # Corresponds to the JSON property `beginOffset` + # @return [Fixnum] + attr_accessor :begin_offset - # Represents an output piece of text. - # Corresponds to the JSON property `text` - # @return [Google::Apis::LanguageV1::TextSpan] - attr_accessor :text - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @type = args[:type] if args.key?(:type) - @text = args[:text] if args.key?(:text) - end - end - - # All available features for sentiment, syntax, and semantic analysis. - # Setting each one to true will enable that specific analysis for the input. - class Features - include Google::Apis::Core::Hashable - - # Extract entities. - # Corresponds to the JSON property `extractEntities` - # @return [Boolean] - attr_accessor :extract_entities - alias_method :extract_entities?, :extract_entities - - # Extract document-level sentiment. - # Corresponds to the JSON property `extractDocumentSentiment` - # @return [Boolean] - attr_accessor :extract_document_sentiment - alias_method :extract_document_sentiment?, :extract_document_sentiment - - # Extract syntax information. - # Corresponds to the JSON property `extractSyntax` - # @return [Boolean] - attr_accessor :extract_syntax - alias_method :extract_syntax?, :extract_syntax - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @extract_entities = args[:extract_entities] if args.key?(:extract_entities) - @extract_document_sentiment = args[:extract_document_sentiment] if args.key?(:extract_document_sentiment) - @extract_syntax = args[:extract_syntax] if args.key?(:extract_syntax) - end - end - - # ################################################################ # - # Represents the input to API methods. - class Document - include Google::Apis::Core::Hashable - - # The language of the document (if not specified, the language is - # automatically detected). Both ISO and BCP-47 language codes are - # accepted.
    - # [Language Support](/natural-language/docs/languages) - # lists currently supported languages for each API method. - # If the language (either specified by the caller or automatically detected) - # is not supported by the called API method, an `INVALID_ARGUMENT` error - # is returned. - # Corresponds to the JSON property `language` - # @return [String] - attr_accessor :language - - # The content of the input in string format. + # The content of the output text. # Corresponds to the JSON property `content` # @return [String] attr_accessor :content - # Required. If the type is not set or is `TYPE_UNSPECIFIED`, - # returns an `INVALID_ARGUMENT` error. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The Google Cloud Storage URI where the file content is located. - # This URI must be of the form: gs://bucket_name/object_name. For more - # details, see https://cloud.google.com/storage/docs/reference-uris. - # NOTE: Cloud Storage object versioning is not supported. - # Corresponds to the JSON property `gcsContentUri` - # @return [String] - attr_accessor :gcs_content_uri - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @language = args[:language] if args.key?(:language) + @begin_offset = args[:begin_offset] if args.key?(:begin_offset) @content = args[:content] if args.key?(:content) - @type = args[:type] if args.key?(:type) - @gcs_content_uri = args[:gcs_content_uri] if args.key?(:gcs_content_uri) end end - # Represents a sentence in the input document. - class Sentence + # Represents the smallest syntactic building block of the text. + class Token include Google::Apis::Core::Hashable + # Represents dependency parse tree information for a token. (For more + # information on dependency labels, see + # http://www.aclweb.org/anthology/P13-2017 + # Corresponds to the JSON property `dependencyEdge` + # @return [Google::Apis::LanguageV1::DependencyEdge] + attr_accessor :dependency_edge + + # [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token. + # Corresponds to the JSON property `lemma` + # @return [String] + attr_accessor :lemma + + # Represents part of speech information for a token. Parts of speech + # are as defined in + # http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf + # Corresponds to the JSON property `partOfSpeech` + # @return [Google::Apis::LanguageV1::PartOfSpeech] + attr_accessor :part_of_speech + # Represents an output piece of text. # Corresponds to the JSON property `text` # @return [Google::Apis::LanguageV1::TextSpan] attr_accessor :text - # Represents the feeling associated with the entire text or entities in - # the text. - # Corresponds to the JSON property `sentiment` - # @return [Google::Apis::LanguageV1::Sentiment] - attr_accessor :sentiment - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @dependency_edge = args[:dependency_edge] if args.key?(:dependency_edge) + @lemma = args[:lemma] if args.key?(:lemma) + @part_of_speech = args[:part_of_speech] if args.key?(:part_of_speech) @text = args[:text] if args.key?(:text) - @sentiment = args[:sentiment] if args.key?(:sentiment) - end - end - - # The entity analysis request message. - class AnalyzeEntitiesRequest - include Google::Apis::Core::Hashable - - # The encoding type used by the API to calculate offsets. - # Corresponds to the JSON property `encodingType` - # @return [String] - attr_accessor :encoding_type - - # ################################################################ # - # Represents the input to API methods. - # Corresponds to the JSON property `document` - # @return [Google::Apis::LanguageV1::Document] - attr_accessor :document - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @encoding_type = args[:encoding_type] if args.key?(:encoding_type) - @document = args[:document] if args.key?(:document) - end - end - - # Represents the feeling associated with the entire text or entities in - # the text. - class Sentiment - include Google::Apis::Core::Hashable - - # Sentiment score between -1.0 (negative sentiment) and 1.0 - # (positive sentiment). - # Corresponds to the JSON property `score` - # @return [Float] - attr_accessor :score - - # A non-negative number in the [0, +inf) range, which represents - # the absolute magnitude of sentiment regardless of score (positive or - # negative). - # Corresponds to the JSON property `magnitude` - # @return [Float] - attr_accessor :magnitude - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @score = args[:score] if args.key?(:score) - @magnitude = args[:magnitude] if args.key?(:magnitude) end end end diff --git a/generated/google/apis/language_v1/representations.rb b/generated/google/apis/language_v1/representations.rb index efc6fba94..0001bef2c 100644 --- a/generated/google/apis/language_v1/representations.rb +++ b/generated/google/apis/language_v1/representations.rb @@ -22,19 +22,7 @@ module Google module Apis module LanguageV1 - class PartOfSpeech - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AnalyzeSyntaxRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AnalyzeSentimentResponse + class AnalyzeEntitiesRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -46,13 +34,25 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class AnalyzeSyntaxResponse + class AnalyzeSentimentRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Entity + class AnalyzeSentimentResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AnalyzeSyntaxRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AnalyzeSyntaxResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -70,31 +70,19 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class AnalyzeSentimentRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class DependencyEdge class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class TextSpan + class Document 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 Status + class Entity class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -112,7 +100,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Document + class PartOfSpeech class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -124,42 +112,54 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class AnalyzeEntitiesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Sentiment class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class PartOfSpeech + class Status + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextSpan + 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 AnalyzeEntitiesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :aspect, as: 'aspect' - property :mood, as: 'mood' - property :tag, as: 'tag' - property :gender, as: 'gender' - property :person, as: 'person' - property :proper, as: 'proper' - property :case, as: 'case' - property :tense, as: 'tense' - property :reciprocity, as: 'reciprocity' - property :form, as: 'form' - property :number, as: 'number' - property :voice, as: 'voice' + property :document, as: 'document', class: Google::Apis::LanguageV1::Document, decorator: Google::Apis::LanguageV1::Document::Representation + + property :encoding_type, as: 'encodingType' end end - class AnalyzeSyntaxRequest + class AnalyzeEntitiesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :entities, as: 'entities', class: Google::Apis::LanguageV1::Entity, decorator: Google::Apis::LanguageV1::Entity::Representation + + property :language, as: 'language' + end + end + + class AnalyzeSentimentRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :encoding_type, as: 'encodingType' property :document, as: 'document', class: Google::Apis::LanguageV1::Document, decorator: Google::Apis::LanguageV1::Document::Representation + property :encoding_type, as: 'encodingType' end end @@ -174,45 +174,33 @@ module Google end end - class AnalyzeEntitiesResponse + class AnalyzeSyntaxRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :language, as: 'language' - collection :entities, as: 'entities', class: Google::Apis::LanguageV1::Entity, decorator: Google::Apis::LanguageV1::Entity::Representation + property :document, as: 'document', class: Google::Apis::LanguageV1::Document, decorator: Google::Apis::LanguageV1::Document::Representation + property :encoding_type, as: 'encodingType' end end class AnalyzeSyntaxResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :tokens, as: 'tokens', class: Google::Apis::LanguageV1::Token, decorator: Google::Apis::LanguageV1::Token::Representation - property :language, as: 'language' collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1::Sentence, decorator: Google::Apis::LanguageV1::Sentence::Representation - end - end + collection :tokens, as: 'tokens', class: Google::Apis::LanguageV1::Token, decorator: Google::Apis::LanguageV1::Token::Representation - class Entity - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :salience, as: 'salience' - hash :metadata, as: 'metadata' - property :type, as: 'type' - collection :mentions, as: 'mentions', class: Google::Apis::LanguageV1::EntityMention, decorator: Google::Apis::LanguageV1::EntityMention::Representation - - property :name, as: 'name' end end class AnnotateTextRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :features, as: 'features', class: Google::Apis::LanguageV1::Features, decorator: Google::Apis::LanguageV1::Features::Representation + property :document, as: 'document', class: Google::Apis::LanguageV1::Document, decorator: Google::Apis::LanguageV1::Document::Representation property :encoding_type, as: 'encodingType' - property :document, as: 'document', class: Google::Apis::LanguageV1::Document, decorator: Google::Apis::LanguageV1::Document::Representation + property :features, as: 'features', class: Google::Apis::LanguageV1::Features, decorator: Google::Apis::LanguageV1::Features::Representation end end @@ -220,23 +208,14 @@ module Google class AnnotateTextResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1::Sentence, decorator: Google::Apis::LanguageV1::Sentence::Representation - - collection :tokens, as: 'tokens', class: Google::Apis::LanguageV1::Token, decorator: Google::Apis::LanguageV1::Token::Representation + property :document_sentiment, as: 'documentSentiment', class: Google::Apis::LanguageV1::Sentiment, decorator: Google::Apis::LanguageV1::Sentiment::Representation collection :entities, as: 'entities', class: Google::Apis::LanguageV1::Entity, decorator: Google::Apis::LanguageV1::Entity::Representation - property :document_sentiment, as: 'documentSentiment', class: Google::Apis::LanguageV1::Sentiment, decorator: Google::Apis::LanguageV1::Sentiment::Representation - property :language, as: 'language' - end - end + collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1::Sentence, decorator: Google::Apis::LanguageV1::Sentence::Representation - class AnalyzeSentimentRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :encoding_type, as: 'encodingType' - property :document, as: 'document', class: Google::Apis::LanguageV1::Document, decorator: Google::Apis::LanguageV1::Document::Representation + collection :tokens, as: 'tokens', class: Google::Apis::LanguageV1::Token, decorator: Google::Apis::LanguageV1::Token::Representation end end @@ -244,29 +223,84 @@ module Google class DependencyEdge # @private class Representation < Google::Apis::Core::JsonRepresentation - property :label, as: 'label' property :head_token_index, as: 'headTokenIndex' + property :label, as: 'label' end end - class TextSpan + class Document # @private class Representation < Google::Apis::Core::JsonRepresentation property :content, as: 'content' - property :begin_offset, as: 'beginOffset' + property :gcs_content_uri, as: 'gcsContentUri' + property :language, as: 'language' + property :type, as: 'type' end end - class Token + class Entity # @private class Representation < Google::Apis::Core::JsonRepresentation - property :part_of_speech, as: 'partOfSpeech', class: Google::Apis::LanguageV1::PartOfSpeech, decorator: Google::Apis::LanguageV1::PartOfSpeech::Representation + collection :mentions, as: 'mentions', class: Google::Apis::LanguageV1::EntityMention, decorator: Google::Apis::LanguageV1::EntityMention::Representation - property :dependency_edge, as: 'dependencyEdge', class: Google::Apis::LanguageV1::DependencyEdge, decorator: Google::Apis::LanguageV1::DependencyEdge::Representation + hash :metadata, as: 'metadata' + property :name, as: 'name' + property :salience, as: 'salience' + property :type, as: 'type' + end + end + + class EntityMention + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :text, as: 'text', class: Google::Apis::LanguageV1::TextSpan, decorator: Google::Apis::LanguageV1::TextSpan::Representation + + property :type, as: 'type' + end + end + + class Features + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :extract_document_sentiment, as: 'extractDocumentSentiment' + property :extract_entities, as: 'extractEntities' + property :extract_syntax, as: 'extractSyntax' + end + end + + class PartOfSpeech + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :aspect, as: 'aspect' + property :case, as: 'case' + property :form, as: 'form' + property :gender, as: 'gender' + property :mood, as: 'mood' + property :number, as: 'number' + property :person, as: 'person' + property :proper, as: 'proper' + property :reciprocity, as: 'reciprocity' + property :tag, as: 'tag' + property :tense, as: 'tense' + property :voice, as: 'voice' + end + end + + class Sentence + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :sentiment, as: 'sentiment', class: Google::Apis::LanguageV1::Sentiment, decorator: Google::Apis::LanguageV1::Sentiment::Representation property :text, as: 'text', class: Google::Apis::LanguageV1::TextSpan, decorator: Google::Apis::LanguageV1::TextSpan::Representation - property :lemma, as: 'lemma' + end + end + + class Sentiment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :magnitude, as: 'magnitude' + property :score, as: 'score' end end @@ -274,63 +308,29 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :code, as: 'code' - property :message, as: 'message' collection :details, as: 'details' + property :message, as: 'message' end end - class EntityMention + class TextSpan # @private class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :text, as: 'text', class: Google::Apis::LanguageV1::TextSpan, decorator: Google::Apis::LanguageV1::TextSpan::Representation - - end - end - - class Features - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :extract_entities, as: 'extractEntities' - property :extract_document_sentiment, as: 'extractDocumentSentiment' - property :extract_syntax, as: 'extractSyntax' - end - end - - class Document - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :language, as: 'language' + property :begin_offset, as: 'beginOffset' property :content, as: 'content' - property :type, as: 'type' - property :gcs_content_uri, as: 'gcsContentUri' end end - class Sentence + class Token # @private class Representation < Google::Apis::Core::JsonRepresentation + property :dependency_edge, as: 'dependencyEdge', class: Google::Apis::LanguageV1::DependencyEdge, decorator: Google::Apis::LanguageV1::DependencyEdge::Representation + + property :lemma, as: 'lemma' + property :part_of_speech, as: 'partOfSpeech', class: Google::Apis::LanguageV1::PartOfSpeech, decorator: Google::Apis::LanguageV1::PartOfSpeech::Representation + property :text, as: 'text', class: Google::Apis::LanguageV1::TextSpan, decorator: Google::Apis::LanguageV1::TextSpan::Representation - property :sentiment, as: 'sentiment', class: Google::Apis::LanguageV1::Sentiment, decorator: Google::Apis::LanguageV1::Sentiment::Representation - - end - end - - class AnalyzeEntitiesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :encoding_type, as: 'encodingType' - property :document, as: 'document', class: Google::Apis::LanguageV1::Document, decorator: Google::Apis::LanguageV1::Document::Representation - - end - end - - class Sentiment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :score, as: 'score' - property :magnitude, as: 'magnitude' end end end diff --git a/generated/google/apis/language_v1/service.rb b/generated/google/apis/language_v1/service.rb index cd9073e01..dd7ebac7c 100644 --- a/generated/google/apis/language_v1/service.rb +++ b/generated/google/apis/language_v1/service.rb @@ -34,16 +34,16 @@ module Google # # @see https://cloud.google.com/natural-language/ class CloudNaturalLanguageService < Google::Apis::Core::BaseService - # @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 - # @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://language.googleapis.com/', '') @batch_path = 'batch' @@ -53,11 +53,11 @@ module Google # along with entity types, salience, mentions for each entity, and # other properties. # @param [Google::Apis::LanguageV1::AnalyzeEntitiesRequest] analyze_entities_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -70,56 +70,24 @@ 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 analyze_document_entities(analyze_entities_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def analyze_document_entities(analyze_entities_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/documents:analyzeEntities', options) command.request_representation = Google::Apis::LanguageV1::AnalyzeEntitiesRequest::Representation command.request_object = analyze_entities_request_object command.response_representation = Google::Apis::LanguageV1::AnalyzeEntitiesResponse::Representation command.response_class = Google::Apis::LanguageV1::AnalyzeEntitiesResponse - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Analyzes the syntax of the text and provides sentence boundaries and - # tokenization along with part of speech tags, dependency trees, and other - # properties. - # @param [Google::Apis::LanguageV1::AnalyzeSyntaxRequest] analyze_syntax_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::LanguageV1::AnalyzeSyntaxResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LanguageV1::AnalyzeSyntaxResponse] - # - # @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 analyze_document_syntax(analyze_syntax_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/documents:analyzeSyntax', options) - command.request_representation = Google::Apis::LanguageV1::AnalyzeSyntaxRequest::Representation - command.request_object = analyze_syntax_request_object - command.response_representation = Google::Apis::LanguageV1::AnalyzeSyntaxResponse::Representation - command.response_class = Google::Apis::LanguageV1::AnalyzeSyntaxResponse command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end # Analyzes the sentiment of the provided text. # @param [Google::Apis::LanguageV1::AnalyzeSentimentRequest] analyze_sentiment_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -132,25 +100,57 @@ 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 analyze_document_sentiment(analyze_sentiment_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def analyze_document_sentiment(analyze_sentiment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/documents:analyzeSentiment', options) command.request_representation = Google::Apis::LanguageV1::AnalyzeSentimentRequest::Representation command.request_object = analyze_sentiment_request_object command.response_representation = Google::Apis::LanguageV1::AnalyzeSentimentResponse::Representation command.response_class = Google::Apis::LanguageV1::AnalyzeSentimentResponse - 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 + + # Analyzes the syntax of the text and provides sentence boundaries and + # tokenization along with part of speech tags, dependency trees, and other + # properties. + # @param [Google::Apis::LanguageV1::AnalyzeSyntaxRequest] analyze_syntax_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::LanguageV1::AnalyzeSyntaxResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LanguageV1::AnalyzeSyntaxResponse] + # + # @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 analyze_document_syntax(analyze_syntax_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/documents:analyzeSyntax', options) + command.request_representation = Google::Apis::LanguageV1::AnalyzeSyntaxRequest::Representation + command.request_object = analyze_syntax_request_object + command.response_representation = Google::Apis::LanguageV1::AnalyzeSyntaxResponse::Representation + command.response_class = Google::Apis::LanguageV1::AnalyzeSyntaxResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # A convenience method that provides all the features that analyzeSentiment, # analyzeEntities, and analyzeSyntax provide in one call. # @param [Google::Apis::LanguageV1::AnnotateTextRequest] annotate_text_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -163,22 +163,22 @@ 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 annotate_document_text(annotate_text_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def annotate_document_text(annotate_text_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/documents:annotateText', options) command.request_representation = Google::Apis::LanguageV1::AnnotateTextRequest::Representation command.request_object = annotate_text_request_object command.response_representation = Google::Apis::LanguageV1::AnnotateTextResponse::Representation command.response_class = Google::Apis::LanguageV1::AnnotateTextResponse - 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 protected def apply_command_defaults(command) - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? end end end diff --git a/generated/google/apis/logging_v2.rb b/generated/google/apis/logging_v2.rb index f7c879aad..1c3962959 100644 --- a/generated/google/apis/logging_v2.rb +++ b/generated/google/apis/logging_v2.rb @@ -25,22 +25,22 @@ module Google # @see https://cloud.google.com/logging/docs/ module LoggingV2 VERSION = 'V2' - REVISION = '20170710' + REVISION = '20170821' - # Submit log data for your projects - AUTH_LOGGING_WRITE = 'https://www.googleapis.com/auth/logging.write' - - # View log data for your projects - AUTH_LOGGING_READ = 'https://www.googleapis.com/auth/logging.read' - - # Administrate log data for your projects - AUTH_LOGGING_ADMIN = 'https://www.googleapis.com/auth/logging.admin' + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' # View your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' - # View and manage your data across Google Cloud Platform services - AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + # Administrate log data for your projects + AUTH_LOGGING_ADMIN = 'https://www.googleapis.com/auth/logging.admin' + + # View log data for your projects + AUTH_LOGGING_READ = 'https://www.googleapis.com/auth/logging.read' + + # Submit log data for your projects + AUTH_LOGGING_WRITE = 'https://www.googleapis.com/auth/logging.write' end end end diff --git a/generated/google/apis/logging_v2/classes.rb b/generated/google/apis/logging_v2/classes.rb index 41bba587e..a488b3e46 100644 --- a/generated/google/apis/logging_v2/classes.rb +++ b/generated/google/apis/logging_v2/classes.rb @@ -22,6 +22,281 @@ module Google module Apis module LoggingV2 + # 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 + + # A common proto for logging HTTP requests. Only contains semantics defined by + # the HTTP specification. Product-specific logging information MUST be defined + # in a separate message. + class HttpRequest + include Google::Apis::Core::Hashable + + # The number of HTTP response bytes inserted into cache. Set only when a cache + # fill was attempted. + # Corresponds to the JSON property `cacheFillBytes` + # @return [Fixnum] + attr_accessor :cache_fill_bytes + + # Whether or not an entity was served from cache (with or without validation). + # Corresponds to the JSON property `cacheHit` + # @return [Boolean] + attr_accessor :cache_hit + alias_method :cache_hit?, :cache_hit + + # Whether or not a cache lookup was attempted. + # Corresponds to the JSON property `cacheLookup` + # @return [Boolean] + attr_accessor :cache_lookup + alias_method :cache_lookup?, :cache_lookup + + # Whether or not the response was validated with the origin server before being + # served from cache. This field is only meaningful if cache_hit is True. + # Corresponds to the JSON property `cacheValidatedWithOriginServer` + # @return [Boolean] + attr_accessor :cache_validated_with_origin_server + alias_method :cache_validated_with_origin_server?, :cache_validated_with_origin_server + + # The request processing latency on the server, from the time the request was + # received until the response was sent. + # Corresponds to the JSON property `latency` + # @return [String] + attr_accessor :latency + + # Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket" + # Corresponds to the JSON property `protocol` + # @return [String] + attr_accessor :protocol + + # The referer URL of the request, as defined in HTTP/1.1 Header Field + # Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). + # Corresponds to the JSON property `referer` + # @return [String] + attr_accessor :referer + + # The IP address (IPv4 or IPv6) of the client that issued the HTTP request. + # Examples: "192.168.1.1", "FE80::0202:B3FF:FE1E:8329". + # Corresponds to the JSON property `remoteIp` + # @return [String] + attr_accessor :remote_ip + + # The request method. Examples: "GET", "HEAD", "PUT", "POST". + # Corresponds to the JSON property `requestMethod` + # @return [String] + attr_accessor :request_method + + # The size of the HTTP request message in bytes, including the request headers + # and the request body. + # Corresponds to the JSON property `requestSize` + # @return [Fixnum] + attr_accessor :request_size + + # The scheme (http, https), the host name, the path and the query portion of the + # URL that was requested. Example: "http://example.com/some/info?color=red". + # Corresponds to the JSON property `requestUrl` + # @return [String] + attr_accessor :request_url + + # The size of the HTTP response message sent back to the client, in bytes, + # including the response headers and the response body. + # Corresponds to the JSON property `responseSize` + # @return [Fixnum] + attr_accessor :response_size + + # The IP address (IPv4 or IPv6) of the origin server that the request was sent + # to. + # Corresponds to the JSON property `serverIp` + # @return [String] + attr_accessor :server_ip + + # The response code indicating the status of response. Examples: 200, 404. + # Corresponds to the JSON property `status` + # @return [Fixnum] + attr_accessor :status + + # The user agent sent by the client. Example: "Mozilla/4.0 (compatible; MSIE 6.0; + # Windows 98; Q312461; .NET CLR 1.0.3705)". + # Corresponds to the JSON property `userAgent` + # @return [String] + attr_accessor :user_agent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes) + @cache_hit = args[:cache_hit] if args.key?(:cache_hit) + @cache_lookup = args[:cache_lookup] if args.key?(:cache_lookup) + @cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server) + @latency = args[:latency] if args.key?(:latency) + @protocol = args[:protocol] if args.key?(:protocol) + @referer = args[:referer] if args.key?(:referer) + @remote_ip = args[:remote_ip] if args.key?(:remote_ip) + @request_method = args[:request_method] if args.key?(:request_method) + @request_size = args[:request_size] if args.key?(:request_size) + @request_url = args[:request_url] if args.key?(:request_url) + @response_size = args[:response_size] if args.key?(:response_size) + @server_ip = args[:server_ip] if args.key?(:server_ip) + @status = args[:status] if args.key?(:status) + @user_agent = args[:user_agent] if args.key?(:user_agent) + end + end + + # A description of a label. + class LabelDescriptor + include Google::Apis::Core::Hashable + + # A human-readable description for the label. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The label key. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # The type of data that can be assigned to the label. + # Corresponds to the JSON property `valueType` + # @return [String] + attr_accessor :value_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @key = args[:key] if args.key?(:key) + @value_type = args[:value_type] if args.key?(:value_type) + end + end + + # The parameters to ListLogEntries. + class ListLogEntriesRequest + include Google::Apis::Core::Hashable + + # Optional. A filter that chooses which log entries to return. See Advanced Logs + # Filters. Only log entries that match the filter are returned. An empty filter + # matches all log entries in the resources listed in resource_names. Referencing + # a parent resource that is not listed in resource_names will cause the filter + # to return no results. The maximum length of the filter is 20000 characters. + # Corresponds to the JSON property `filter` + # @return [String] + attr_accessor :filter + + # Optional. How the results should be sorted. Presently, the only permitted + # values are "timestamp asc" (default) and "timestamp desc". The first option + # returns entries in order of increasing values of LogEntry.timestamp (oldest + # first), and the second option returns entries in order of decreasing + # timestamps (newest first). Entries with equal timestamps are returned in order + # of their insert_id values. + # Corresponds to the JSON property `orderBy` + # @return [String] + attr_accessor :order_by + + # Optional. The maximum number of results to return from this request. Non- + # positive values are ignored. The presence of next_page_token in the response + # indicates that more results might be available. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # Optional. If present, then retrieve the next batch of results from the + # preceding call to this method. page_token must be the value of next_page_token + # from the previous response. The values of other method parameters should be + # identical to those in the previous call. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # Deprecated. Use resource_names instead. One or more project identifiers or + # project numbers from which to retrieve log entries. Example: "my-project-1A". + # If present, these project identifiers are converted to resource name format + # and added to the list of resources in resource_names. + # Corresponds to the JSON property `projectIds` + # @return [Array] + attr_accessor :project_ids + + # Required. Names of one or more parent resources from which to retrieve log + # entries: + # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" + # Projects listed in the project_ids field are added to this list. + # Corresponds to the JSON property `resourceNames` + # @return [Array] + attr_accessor :resource_names + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @filter = args[:filter] if args.key?(:filter) + @order_by = args[:order_by] if args.key?(:order_by) + @page_size = args[:page_size] if args.key?(:page_size) + @page_token = args[:page_token] if args.key?(:page_token) + @project_ids = args[:project_ids] if args.key?(:project_ids) + @resource_names = args[:resource_names] if args.key?(:resource_names) + end + end + + # Result returned from ListLogEntries. + class ListLogEntriesResponse + include Google::Apis::Core::Hashable + + # A list of log entries. If entries is empty, nextPageToken may still be + # returned, indicating that more entries may exist. See nextPageToken for more + # information. + # Corresponds to the JSON property `entries` + # @return [Array] + attr_accessor :entries + + # If there might be more results than those appearing in this response, then + # nextPageToken is included. To get the next set of results, call this method + # again using the value of nextPageToken as pageToken.If a value for + # next_page_token appears and the entries field is empty, it means that the + # search found no log entries so far but it did not have time to search all the + # possible log entries. Retry the method with this value for page_token to + # continue the search. Alternatively, consider speeding up the search by + # changing your filter to specify a single log name or resource type, or to + # narrow the time range of the search. + # 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) + @entries = args[:entries] if args.key?(:entries) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # Result returned from ListLogMetrics. class ListLogMetricsResponse include Google::Apis::Core::Hashable @@ -49,881 +324,6 @@ module Google end end - # An individual entry in a log. - class LogEntry - include Google::Apis::Core::Hashable - - # Optional. The time the event described by the log entry occurred. If omitted - # in a new log entry, Stackdriver Logging will insert the time the log entry is - # received. Stackdriver Logging might reject log entries whose time stamps are - # more than a couple of hours in the future. Log entries with time stamps in the - # past are accepted. - # Corresponds to the JSON property `timestamp` - # @return [String] - attr_accessor :timestamp - - # Output only. The time the log entry was received by Stackdriver Logging. - # Corresponds to the JSON property `receiveTimestamp` - # @return [String] - attr_accessor :receive_timestamp - - # Required. The resource name of the log to which this log entry belongs: - # "projects/[PROJECT_ID]/logs/[LOG_ID]" - # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" - # "folders/[FOLDER_ID]/logs/[LOG_ID]" - # [LOG_ID] must be URL-encoded within log_name. Example: "organizations/ - # 1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity". [LOG_ID] must - # be less than 512 characters long and can only include the following characters: - # upper and lower case alphanumeric characters, forward-slash, underscore, - # hyphen, and period.For backward compatibility, if log_name begins with a - # forward-slash, such as /projects/..., then the log entry is ingested as usual - # but the forward-slash is removed. Listing the log entry will not show the - # leading slash and filtering for a log name with a leading slash will never - # return any results. - # Corresponds to the JSON property `logName` - # @return [String] - attr_accessor :log_name - - # An object representing a resource that can be used for monitoring, logging, - # billing, or other purposes. Examples include virtual machine instances, - # databases, and storage devices such as disks. The type field identifies a - # MonitoredResourceDescriptor object that describes the resource's schema. - # Information in the labels field identifies the actual resource and its - # attributes according to the schema. For example, a particular Compute Engine - # VM instance could be represented by the following object, because the - # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and " - # zone": - # ` "type": "gce_instance", - # "labels": ` "instance_id": "12345678901234", - # "zone": "us-central1-a" `` - # Corresponds to the JSON property `resource` - # @return [Google::Apis::LoggingV2::MonitoredResource] - attr_accessor :resource - - # A common proto for logging HTTP requests. Only contains semantics defined by - # the HTTP specification. Product-specific logging information MUST be defined - # in a separate message. - # Corresponds to the JSON property `httpRequest` - # @return [Google::Apis::LoggingV2::HttpRequest] - attr_accessor :http_request - - # The log entry payload, represented as a structure that is expressed as a JSON - # object. - # Corresponds to the JSON property `jsonPayload` - # @return [Hash] - attr_accessor :json_payload - - # Additional information about a potentially long-running operation with which a - # log entry is associated. - # Corresponds to the JSON property `operation` - # @return [Google::Apis::LoggingV2::LogEntryOperation] - attr_accessor :operation - - # Optional. A unique identifier for the log entry. If you provide a value, then - # Stackdriver Logging considers other log entries in the same project, with the - # same timestamp, and with the same insert_id to be duplicates which can be - # removed. If omitted in new log entries, then Stackdriver Logging will insert - # its own unique identifier. The insert_id is used to order log entries that - # have the same timestamp value. - # Corresponds to the JSON property `insertId` - # @return [String] - attr_accessor :insert_id - - # The log entry payload, represented as a Unicode string (UTF-8). - # Corresponds to the JSON property `textPayload` - # @return [String] - attr_accessor :text_payload - - # The log entry payload, represented as a protocol buffer. Some Google Cloud - # Platform services use this field for their log entry payloads. - # Corresponds to the JSON property `protoPayload` - # @return [Hash] - attr_accessor :proto_payload - - # Optional. Resource name of the trace associated with the log entry, if any. If - # it contains a relative resource name, the name is assumed to be relative to // - # tracing.googleapis.com. Example: projects/my-projectid/traces/ - # 06796866738c859f2f19b7cfb3214824 - # Corresponds to the JSON property `trace` - # @return [String] - attr_accessor :trace - - # Optional. A set of user-defined (key, value) data that provides additional - # information about the log entry. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # Optional. The severity of the log entry. The default value is LogSeverity. - # DEFAULT. - # Corresponds to the JSON property `severity` - # @return [String] - attr_accessor :severity - - # Additional information about the source code location that produced the log - # entry. - # Corresponds to the JSON property `sourceLocation` - # @return [Google::Apis::LoggingV2::LogEntrySourceLocation] - attr_accessor :source_location - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @timestamp = args[:timestamp] if args.key?(:timestamp) - @receive_timestamp = args[:receive_timestamp] if args.key?(:receive_timestamp) - @log_name = args[:log_name] if args.key?(:log_name) - @resource = args[:resource] if args.key?(:resource) - @http_request = args[:http_request] if args.key?(:http_request) - @json_payload = args[:json_payload] if args.key?(:json_payload) - @operation = args[:operation] if args.key?(:operation) - @insert_id = args[:insert_id] if args.key?(:insert_id) - @text_payload = args[:text_payload] if args.key?(:text_payload) - @proto_payload = args[:proto_payload] if args.key?(:proto_payload) - @trace = args[:trace] if args.key?(:trace) - @labels = args[:labels] if args.key?(:labels) - @severity = args[:severity] if args.key?(:severity) - @source_location = args[:source_location] if args.key?(:source_location) - 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 - - # Specifies a location in a source code file. - class SourceLocation - include Google::Apis::Core::Hashable - - # Source file name. Depending on the runtime environment, this might be a simple - # name or a fully-qualified name. - # Corresponds to the JSON property `file` - # @return [String] - attr_accessor :file - - # Human-readable name of the function or method being invoked, with optional - # context such as the class or package name. This information is used in - # contexts such as the logs viewer, where a file and line number are less - # meaningful. The format can vary by language. For example: qual.if.ied.Class. - # method (Java), dir/package.func (Go), function (Python). - # Corresponds to the JSON property `functionName` - # @return [String] - attr_accessor :function_name - - # Line within the source file. - # Corresponds to the JSON property `line` - # @return [Fixnum] - attr_accessor :line - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @file = args[:file] if args.key?(:file) - @function_name = args[:function_name] if args.key?(:function_name) - @line = args[:line] if args.key?(:line) - end - end - - # The parameters to ListLogEntries. - class ListLogEntriesRequest - include Google::Apis::Core::Hashable - - # Optional. How the results should be sorted. Presently, the only permitted - # values are "timestamp asc" (default) and "timestamp desc". The first option - # returns entries in order of increasing values of LogEntry.timestamp (oldest - # first), and the second option returns entries in order of decreasing - # timestamps (newest first). Entries with equal timestamps are returned in order - # of their insert_id values. - # Corresponds to the JSON property `orderBy` - # @return [String] - attr_accessor :order_by - - # Required. Names of one or more parent resources from which to retrieve log - # entries: - # "projects/[PROJECT_ID]" - # "organizations/[ORGANIZATION_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]" - # "folders/[FOLDER_ID]" - # Projects listed in the project_ids field are added to this list. - # Corresponds to the JSON property `resourceNames` - # @return [Array] - attr_accessor :resource_names - - # Optional. A filter that chooses which log entries to return. See Advanced Logs - # Filters. Only log entries that match the filter are returned. An empty filter - # matches all log entries in the resources listed in resource_names. Referencing - # a parent resource that is not listed in resource_names will cause the filter - # to return no results. The maximum length of the filter is 20000 characters. - # Corresponds to the JSON property `filter` - # @return [String] - attr_accessor :filter - - # Deprecated. Use resource_names instead. One or more project identifiers or - # project numbers from which to retrieve log entries. Example: "my-project-1A". - # If present, these project identifiers are converted to resource name format - # and added to the list of resources in resource_names. - # Corresponds to the JSON property `projectIds` - # @return [Array] - attr_accessor :project_ids - - # Optional. If present, then retrieve the next batch of results from the - # preceding call to this method. page_token must be the value of next_page_token - # from the previous response. The values of other method parameters should be - # identical to those in the previous call. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # Optional. The maximum number of results to return from this request. Non- - # positive values are ignored. The presence of next_page_token in the response - # indicates that more results might be available. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @order_by = args[:order_by] if args.key?(:order_by) - @resource_names = args[:resource_names] if args.key?(:resource_names) - @filter = args[:filter] if args.key?(:filter) - @project_ids = args[:project_ids] if args.key?(:project_ids) - @page_token = args[:page_token] if args.key?(:page_token) - @page_size = args[:page_size] if args.key?(:page_size) - end - end - - # Complete log information about a single HTTP request to an App Engine - # application. - class RequestLog - include Google::Apis::Core::Hashable - - # Latency of the request. - # Corresponds to the JSON property `latency` - # @return [String] - attr_accessor :latency - - # Origin IP address. - # Corresponds to the JSON property `ip` - # @return [String] - attr_accessor :ip - - # Application that handled this request. - # Corresponds to the JSON property `appId` - # @return [String] - attr_accessor :app_id - - # App Engine release version. - # Corresponds to the JSON property `appEngineRelease` - # @return [String] - attr_accessor :app_engine_release - - # Request method. Example: "GET", "HEAD", "PUT", "POST", "DELETE". - # Corresponds to the JSON property `method` - # @return [String] - attr_accessor :method_prop - - # An indication of the relative cost of serving this request. - # Corresponds to the JSON property `cost` - # @return [Float] - attr_accessor :cost - - # An identifier for the instance that handled the request. - # Corresponds to the JSON property `instanceId` - # @return [String] - attr_accessor :instance_id - - # Number of CPU megacycles used to process request. - # Corresponds to the JSON property `megaCycles` - # @return [Fixnum] - attr_accessor :mega_cycles - - # Whether this is the first RequestLog entry for this request. If an active - # request has several RequestLog entries written to Stackdriver Logging, then - # this field will be set for one of them. - # Corresponds to the JSON property `first` - # @return [Boolean] - attr_accessor :first - alias_method :first?, :first - - # Version of the application that handled this request. - # Corresponds to the JSON property `versionId` - # @return [String] - attr_accessor :version_id - - # Module of the application that handled this request. - # Corresponds to the JSON property `moduleId` - # @return [String] - attr_accessor :module_id - - # Time when the request finished. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # User agent that made the request. - # Corresponds to the JSON property `userAgent` - # @return [String] - attr_accessor :user_agent - - # Whether this was a loading request for the instance. - # Corresponds to the JSON property `wasLoadingRequest` - # @return [Boolean] - attr_accessor :was_loading_request - alias_method :was_loading_request?, :was_loading_request - - # Source code for the application that handled this request. There can be more - # than one source reference per deployed application if source code is - # distributed among multiple repositories. - # Corresponds to the JSON property `sourceReference` - # @return [Array] - attr_accessor :source_reference - - # Size in bytes sent back to client by request. - # Corresponds to the JSON property `responseSize` - # @return [Fixnum] - attr_accessor :response_size - - # Stackdriver Trace identifier for this request. - # Corresponds to the JSON property `traceId` - # @return [String] - attr_accessor :trace_id - - # A list of log lines emitted by the application while serving this request. - # Corresponds to the JSON property `line` - # @return [Array] - attr_accessor :line - - # Queue name of the request, in the case of an offline request. - # Corresponds to the JSON property `taskQueueName` - # @return [String] - attr_accessor :task_queue_name - - # Referrer URL of request. - # Corresponds to the JSON property `referrer` - # @return [String] - attr_accessor :referrer - - # Globally unique identifier for a request, which is based on the request start - # time. Request IDs for requests which started later will compare greater as - # strings than those for requests which started earlier. - # Corresponds to the JSON property `requestId` - # @return [String] - attr_accessor :request_id - - # The logged-in user who made the request.Most likely, this is the part of the - # user's email before the @ sign. The field value is the same for different - # requests from the same user, but different users can have similar names. This - # information is also available to the application via the App Engine Users API. - # This field will be populated starting with App Engine 1.9.21. - # Corresponds to the JSON property `nickname` - # @return [String] - attr_accessor :nickname - - # Time this request spent in the pending request queue. - # Corresponds to the JSON property `pendingTime` - # @return [String] - attr_accessor :pending_time - - # Contains the path and query portion of the URL that was requested. For example, - # if the URL was "http://example.com/app?name=val", the resource would be "/app? - # name=val". The fragment identifier, which is identified by the # character, is - # not included. - # Corresponds to the JSON property `resource` - # @return [String] - attr_accessor :resource - - # HTTP response status code. Example: 200, 404. - # Corresponds to the JSON property `status` - # @return [Fixnum] - attr_accessor :status - - # Task name of the request, in the case of an offline request. - # Corresponds to the JSON property `taskName` - # @return [String] - attr_accessor :task_name - - # File or class that handled the request. - # Corresponds to the JSON property `urlMapEntry` - # @return [String] - attr_accessor :url_map_entry - - # If the instance processing this request belongs to a manually scaled module, - # then this is the 0-based index of the instance. Otherwise, this value is -1. - # Corresponds to the JSON property `instanceIndex` - # @return [Fixnum] - attr_accessor :instance_index - - # Whether this request is finished or active. - # Corresponds to the JSON property `finished` - # @return [Boolean] - attr_accessor :finished - alias_method :finished?, :finished - - # Internet host and port number of the resource being requested. - # Corresponds to the JSON property `host` - # @return [String] - attr_accessor :host - - # HTTP version of request. Example: "HTTP/1.1". - # Corresponds to the JSON property `httpVersion` - # @return [String] - attr_accessor :http_version - - # Time when the request started. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @latency = args[:latency] if args.key?(:latency) - @ip = args[:ip] if args.key?(:ip) - @app_id = args[:app_id] if args.key?(:app_id) - @app_engine_release = args[:app_engine_release] if args.key?(:app_engine_release) - @method_prop = args[:method_prop] if args.key?(:method_prop) - @cost = args[:cost] if args.key?(:cost) - @instance_id = args[:instance_id] if args.key?(:instance_id) - @mega_cycles = args[:mega_cycles] if args.key?(:mega_cycles) - @first = args[:first] if args.key?(:first) - @version_id = args[:version_id] if args.key?(:version_id) - @module_id = args[:module_id] if args.key?(:module_id) - @end_time = args[:end_time] if args.key?(:end_time) - @user_agent = args[:user_agent] if args.key?(:user_agent) - @was_loading_request = args[:was_loading_request] if args.key?(:was_loading_request) - @source_reference = args[:source_reference] if args.key?(:source_reference) - @response_size = args[:response_size] if args.key?(:response_size) - @trace_id = args[:trace_id] if args.key?(:trace_id) - @line = args[:line] if args.key?(:line) - @task_queue_name = args[:task_queue_name] if args.key?(:task_queue_name) - @referrer = args[:referrer] if args.key?(:referrer) - @request_id = args[:request_id] if args.key?(:request_id) - @nickname = args[:nickname] if args.key?(:nickname) - @pending_time = args[:pending_time] if args.key?(:pending_time) - @resource = args[:resource] if args.key?(:resource) - @status = args[:status] if args.key?(:status) - @task_name = args[:task_name] if args.key?(:task_name) - @url_map_entry = args[:url_map_entry] if args.key?(:url_map_entry) - @instance_index = args[:instance_index] if args.key?(:instance_index) - @finished = args[:finished] if args.key?(:finished) - @host = args[:host] if args.key?(:host) - @http_version = args[:http_version] if args.key?(:http_version) - @start_time = args[:start_time] if args.key?(:start_time) - end - end - - # Result returned from ListMonitoredResourceDescriptors. - class ListMonitoredResourceDescriptorsResponse - include Google::Apis::Core::Hashable - - # A list of resource descriptors. - # Corresponds to the JSON property `resourceDescriptors` - # @return [Array] - attr_accessor :resource_descriptors - - # If there might be more results than those appearing in this response, then - # nextPageToken is included. To get the next set of results, call this method - # again using the value of nextPageToken as pageToken. - # 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) - @resource_descriptors = args[:resource_descriptors] if args.key?(:resource_descriptors) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # A reference to a particular snapshot of the source tree used to build and - # deploy an application. - class SourceReference - include Google::Apis::Core::Hashable - - # Optional. A URI string identifying the repository. Example: "https://github. - # com/GoogleCloudPlatform/kubernetes.git" - # Corresponds to the JSON property `repository` - # @return [String] - attr_accessor :repository - - # The canonical and persistent identifier of the deployed revision. Example (git) - # : "0035781c50ec7aa23385dc841529ce8a4b70db1b" - # Corresponds to the JSON property `revisionId` - # @return [String] - attr_accessor :revision_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @repository = args[:repository] if args.key?(:repository) - @revision_id = args[:revision_id] if args.key?(:revision_id) - end - end - - # Result returned from WriteLogEntries. empty - class WriteLogEntriesResponse - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Additional information about a potentially long-running operation with which a - # log entry is associated. - class LogEntryOperation - include Google::Apis::Core::Hashable - - # Optional. An arbitrary operation identifier. Log entries with the same - # identifier are assumed to be part of the same operation. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Optional. Set this to True if this is the first log entry in the operation. - # Corresponds to the JSON property `first` - # @return [Boolean] - attr_accessor :first - alias_method :first?, :first - - # Optional. An arbitrary producer identifier. The combination of id and producer - # must be globally unique. Examples for producer: "MyDivision.MyBigCompany.com", - # "github.com/MyProject/MyApplication". - # Corresponds to the JSON property `producer` - # @return [String] - attr_accessor :producer - - # Optional. Set this to True if this is the last log entry in the operation. - # Corresponds to the JSON property `last` - # @return [Boolean] - attr_accessor :last - alias_method :last?, :last - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @first = args[:first] if args.key?(:first) - @producer = args[:producer] if args.key?(:producer) - @last = args[:last] if args.key?(:last) - end - end - - # Describes a logs-based metric. The value of the metric is the number of log - # entries that match a logs filter in a given time interval. - class LogMetric - include Google::Apis::Core::Hashable - - # Output only. The API version that created or updated this metric. The version - # also dictates the syntax of the filter expression. When a value for this field - # is missing, the default value of V2 should be assumed. - # Corresponds to the JSON property `version` - # @return [String] - attr_accessor :version - - # Required. An advanced logs filter which is used to match log entries. Example: - # "resource.type=gae_app AND severity>=ERROR" - # The maximum length of the filter is 20000 characters. - # Corresponds to the JSON property `filter` - # @return [String] - attr_accessor :filter - - # Required. The client-assigned metric identifier. Examples: "error_count", " - # nginx/requests".Metric identifiers are limited to 100 characters and can - # include only the following characters: A-Z, a-z, 0-9, and the special - # characters _-.,+!*',()%/. The forward-slash character (/) denotes a hierarchy - # of name pieces, and it cannot be the first character of the name.The metric - # identifier in this field must not be URL-encoded (https://en.wikipedia.org/ - # wiki/Percent-encoding). However, when the metric identifier appears as the [ - # METRIC_ID] part of a metric_name API parameter, then the metric identifier - # must be URL-encoded. Example: "projects/my-project/metrics/nginx%2Frequests". - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Optional. A description of this metric, which is used in documentation. - # 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) - @version = args[:version] if args.key?(:version) - @filter = args[:filter] if args.key?(:filter) - @name = args[:name] if args.key?(:name) - @description = args[:description] if args.key?(:description) - end - end - - # An object representing a resource that can be used for monitoring, logging, - # billing, or other purposes. Examples include virtual machine instances, - # databases, and storage devices such as disks. The type field identifies a - # MonitoredResourceDescriptor object that describes the resource's schema. - # Information in the labels field identifies the actual resource and its - # attributes according to the schema. For example, a particular Compute Engine - # VM instance could be represented by the following object, because the - # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and " - # zone": - # ` "type": "gce_instance", - # "labels": ` "instance_id": "12345678901234", - # "zone": "us-central1-a" `` - class MonitoredResource - include Google::Apis::Core::Hashable - - # Required. The monitored resource type. This field must match the type field of - # a MonitoredResourceDescriptor object. For example, the type of a Compute - # Engine VM instance is gce_instance. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # Required. Values for all of the labels listed in the associated monitored - # resource descriptor. For example, Compute Engine VM instances use the labels " - # project_id", "instance_id", and "zone". - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @type = args[:type] if args.key?(:type) - @labels = args[:labels] if args.key?(:labels) - end - end - - # Describes a sink used to export log entries to one of the following - # destinations in any project: a Cloud Storage bucket, a BigQuery dataset, or a - # Cloud Pub/Sub topic. A logs filter controls which log entries are exported. - # The sink must be created within a project, organization, billing account, or - # folder. - class LogSink - include Google::Apis::Core::Hashable - - # Optional. The log entry format to use for this sink's exported log entries. - # The v2 format is used by default. The v1 format is deprecated and should be - # used only as part of a migration effort to v2. See Migration to the v2 API. - # Corresponds to the JSON property `outputVersionFormat` - # @return [String] - attr_accessor :output_version_format - - # Required. The client-assigned sink identifier, unique within the project. - # Example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 - # characters and can include only the following characters: upper and lower-case - # alphanumeric characters, underscores, hyphens, and periods. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Optional. This field applies only to sinks owned by organizations and folders. - # If the field is false, the default, only the logs owned by the sink's parent - # resource are available for export. If the field is true, then logs from all - # the projects, folders, and billing accounts contained in the sink's parent - # resource are also available for export. Whether a particular log entry from - # the children is exported depends on the sink's filter expression. For example, - # if this field is true, then the filter resource.type=gce_instance would export - # all Compute Engine VM instance log entries from all projects in the sink's - # parent. To only export entries from certain child projects, filter on the - # project part of the log name: - # logName:("projects/test-project1/" OR "projects/test-project2/") AND - # resource.type=gce_instance - # Corresponds to the JSON property `includeChildren` - # @return [Boolean] - attr_accessor :include_children - alias_method :include_children?, :include_children - - # Required. The export destination: - # "storage.googleapis.com/[GCS_BUCKET]" - # "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" - # "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" - # The sink's writer_identity, set when the sink is created, must have permission - # to write to the destination or else the log entries are not exported. For more - # information, see Exporting Logs With Sinks. - # Corresponds to the JSON property `destination` - # @return [String] - attr_accessor :destination - - # Optional. An advanced logs filter. The only exported log entries are those - # that are in the resource owning the sink and that match the filter. The filter - # must use the log entry format specified by the output_version_format parameter. - # For example, in the v2 format: - # logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR - # Corresponds to the JSON property `filter` - # @return [String] - attr_accessor :filter - - # Optional. The time at which this sink will stop exporting log entries. Log - # entries are exported only if their timestamp is earlier than the end time. If - # this field is not supplied, there is no end time. If both a start time and an - # end time are provided, then the end time must be later than the start time. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # Optional. The time at which this sink will begin exporting log entries. Log - # entries are exported only if their timestamp is not earlier than the start - # time. The default value of this field is the time the sink is created or - # updated. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # Output only. An IAM identity—a service account or group—under - # which Stackdriver Logging writes the exported log entries to the sink's - # destination. This field is set by sinks.create and sinks.update, based on the - # setting of unique_writer_identity in those methods.Until you grant this - # identity write-access to the destination, log entry exports from this sink - # will fail. For more information, see Granting access for a resource. Consult - # the destination service's documentation to determine the appropriate IAM roles - # to assign to the identity. - # Corresponds to the JSON property `writerIdentity` - # @return [String] - attr_accessor :writer_identity - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @output_version_format = args[:output_version_format] if args.key?(:output_version_format) - @name = args[:name] if args.key?(:name) - @include_children = args[:include_children] if args.key?(:include_children) - @destination = args[:destination] if args.key?(:destination) - @filter = args[:filter] if args.key?(:filter) - @end_time = args[:end_time] if args.key?(:end_time) - @start_time = args[:start_time] if args.key?(:start_time) - @writer_identity = args[:writer_identity] if args.key?(:writer_identity) - end - end - - # The parameters to WriteLogEntries. - class WriteLogEntriesRequest - include Google::Apis::Core::Hashable - - # Required. The log entries to write. Values supplied for the fields log_name, - # resource, and labels in this entries.write request are inserted into those log - # entries in this list that do not provide their own values.Stackdriver Logging - # also creates and inserts values for timestamp and insert_id if the entries do - # not provide them. The created insert_id for the N'th entry in this list will - # be greater than earlier entries and less than later entries. Otherwise, the - # order of log entries in this list does not matter.To improve throughput and to - # avoid exceeding the quota limit for calls to entries.write, you should write - # multiple log entries at once rather than calling this method for each - # individual log entry. - # Corresponds to the JSON property `entries` - # @return [Array] - attr_accessor :entries - - # Optional. A default log resource name that is assigned to all log entries in - # entries that do not specify a value for log_name: - # "projects/[PROJECT_ID]/logs/[LOG_ID]" - # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" - # "folders/[FOLDER_ID]/logs/[LOG_ID]" - # [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog" - # or "organizations/1234567890/logs/cloudresourcemanager.googleapis.com% - # 2Factivity". For more information about log names, see LogEntry. - # Corresponds to the JSON property `logName` - # @return [String] - attr_accessor :log_name - - # Optional. Whether valid entries should be written even if some other entries - # fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any entry is not - # written, then the response status is the error associated with one of the - # failed entries and the response includes error details keyed by the entries' - # zero-based index in the entries.write method. - # Corresponds to the JSON property `partialSuccess` - # @return [Boolean] - attr_accessor :partial_success - alias_method :partial_success?, :partial_success - - # Optional. Default labels that are added to the labels field of all log entries - # in entries. If a log entry already has a label with the same key as a label in - # this parameter, then the log entry's label is not changed. See LogEntry. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # An object representing a resource that can be used for monitoring, logging, - # billing, or other purposes. Examples include virtual machine instances, - # databases, and storage devices such as disks. The type field identifies a - # MonitoredResourceDescriptor object that describes the resource's schema. - # Information in the labels field identifies the actual resource and its - # attributes according to the schema. For example, a particular Compute Engine - # VM instance could be represented by the following object, because the - # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and " - # zone": - # ` "type": "gce_instance", - # "labels": ` "instance_id": "12345678901234", - # "zone": "us-central1-a" `` - # Corresponds to the JSON property `resource` - # @return [Google::Apis::LoggingV2::MonitoredResource] - attr_accessor :resource - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @entries = args[:entries] if args.key?(:entries) - @log_name = args[:log_name] if args.key?(:log_name) - @partial_success = args[:partial_success] if args.key?(:partial_success) - @labels = args[:labels] if args.key?(:labels) - @resource = args[:resource] if args.key?(:resource) - end - end - # Result returned from ListLogs. class ListLogsResponse include Google::Apis::Core::Hashable @@ -952,6 +352,33 @@ module Google end end + # Result returned from ListMonitoredResourceDescriptors. + class ListMonitoredResourceDescriptorsResponse + include Google::Apis::Core::Hashable + + # If there might be more results than those appearing in this response, then + # nextPageToken is included. To get the next set of results, call this method + # again using the value of nextPageToken as pageToken. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of resource descriptors. + # Corresponds to the JSON property `resourceDescriptors` + # @return [Array] + attr_accessor :resource_descriptors + + 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) + @resource_descriptors = args[:resource_descriptors] if args.key?(:resource_descriptors) + end + end + # Result returned from ListSinks. class ListSinksResponse include Google::Apis::Core::Hashable @@ -979,195 +406,123 @@ module Google end end - # A common proto for logging HTTP requests. Only contains semantics defined by - # the HTTP specification. Product-specific logging information MUST be defined - # in a separate message. - class HttpRequest + # An individual entry in a log. + class LogEntry include Google::Apis::Core::Hashable - # The request method. Examples: "GET", "HEAD", "PUT", "POST". - # Corresponds to the JSON property `requestMethod` + # A common proto for logging HTTP requests. Only contains semantics defined by + # the HTTP specification. Product-specific logging information MUST be defined + # in a separate message. + # Corresponds to the JSON property `httpRequest` + # @return [Google::Apis::LoggingV2::HttpRequest] + attr_accessor :http_request + + # Optional. A unique identifier for the log entry. If you provide a value, then + # Stackdriver Logging considers other log entries in the same project, with the + # same timestamp, and with the same insert_id to be duplicates which can be + # removed. If omitted in new log entries, then Stackdriver Logging will insert + # its own unique identifier. The insert_id is used to order log entries that + # have the same timestamp value. + # Corresponds to the JSON property `insertId` # @return [String] - attr_accessor :request_method + attr_accessor :insert_id - # The size of the HTTP request message in bytes, including the request headers - # and the request body. - # Corresponds to the JSON property `requestSize` - # @return [Fixnum] - attr_accessor :request_size + # The log entry payload, represented as a structure that is expressed as a JSON + # object. + # Corresponds to the JSON property `jsonPayload` + # @return [Hash] + attr_accessor :json_payload - # The size of the HTTP response message sent back to the client, in bytes, - # including the response headers and the response body. - # Corresponds to the JSON property `responseSize` - # @return [Fixnum] - attr_accessor :response_size - - # The scheme (http, https), the host name, the path and the query portion of the - # URL that was requested. Example: "http://example.com/some/info?color=red". - # Corresponds to the JSON property `requestUrl` - # @return [String] - attr_accessor :request_url - - # The IP address (IPv4 or IPv6) of the origin server that the request was sent - # to. - # Corresponds to the JSON property `serverIp` - # @return [String] - attr_accessor :server_ip - - # The IP address (IPv4 or IPv6) of the client that issued the HTTP request. - # Examples: "192.168.1.1", "FE80::0202:B3FF:FE1E:8329". - # Corresponds to the JSON property `remoteIp` - # @return [String] - attr_accessor :remote_ip - - # Whether or not a cache lookup was attempted. - # Corresponds to the JSON property `cacheLookup` - # @return [Boolean] - attr_accessor :cache_lookup - alias_method :cache_lookup?, :cache_lookup - - # Whether or not an entity was served from cache (with or without validation). - # Corresponds to the JSON property `cacheHit` - # @return [Boolean] - attr_accessor :cache_hit - alias_method :cache_hit?, :cache_hit - - # Whether or not the response was validated with the origin server before being - # served from cache. This field is only meaningful if cache_hit is True. - # Corresponds to the JSON property `cacheValidatedWithOriginServer` - # @return [Boolean] - attr_accessor :cache_validated_with_origin_server - alias_method :cache_validated_with_origin_server?, :cache_validated_with_origin_server - - # The response code indicating the status of response. Examples: 200, 404. - # Corresponds to the JSON property `status` - # @return [Fixnum] - attr_accessor :status - - # The referer URL of the request, as defined in HTTP/1.1 Header Field - # Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). - # Corresponds to the JSON property `referer` - # @return [String] - attr_accessor :referer - - # The request processing latency on the server, from the time the request was - # received until the response was sent. - # Corresponds to the JSON property `latency` - # @return [String] - attr_accessor :latency - - # The user agent sent by the client. Example: "Mozilla/4.0 (compatible; MSIE 6.0; - # Windows 98; Q312461; .NET CLR 1.0.3705)". - # Corresponds to the JSON property `userAgent` - # @return [String] - attr_accessor :user_agent - - # The number of HTTP response bytes inserted into cache. Set only when a cache - # fill was attempted. - # Corresponds to the JSON property `cacheFillBytes` - # @return [Fixnum] - attr_accessor :cache_fill_bytes - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @request_method = args[:request_method] if args.key?(:request_method) - @request_size = args[:request_size] if args.key?(:request_size) - @response_size = args[:response_size] if args.key?(:response_size) - @request_url = args[:request_url] if args.key?(:request_url) - @server_ip = args[:server_ip] if args.key?(:server_ip) - @remote_ip = args[:remote_ip] if args.key?(:remote_ip) - @cache_lookup = args[:cache_lookup] if args.key?(:cache_lookup) - @cache_hit = args[:cache_hit] if args.key?(:cache_hit) - @cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server) - @status = args[:status] if args.key?(:status) - @referer = args[:referer] if args.key?(:referer) - @latency = args[:latency] if args.key?(:latency) - @user_agent = args[:user_agent] if args.key?(:user_agent) - @cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes) - end - end - - # A description of a label. - class LabelDescriptor - include Google::Apis::Core::Hashable - - # The label key. - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key - - # A human-readable description for the label. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # The type of data that can be assigned to the label. - # Corresponds to the JSON property `valueType` - # @return [String] - attr_accessor :value_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @key = args[:key] if args.key?(:key) - @description = args[:description] if args.key?(:description) - @value_type = args[:value_type] if args.key?(:value_type) - end - end - - # An object that describes the schema of a MonitoredResource object using a type - # name and a set of labels. For example, the monitored resource descriptor for - # Google Compute Engine VM instances has a type of "gce_instance" and specifies - # the use of the labels "instance_id" and "zone" to identify particular VM - # instances.Different APIs can support different monitored resource types. APIs - # generally provide a list method that returns the monitored resource - # descriptors used by the API. - class MonitoredResourceDescriptor - include Google::Apis::Core::Hashable - - # Required. A set of labels used to describe instances of this monitored - # resource type. For example, an individual Google Cloud SQL database is - # identified by values for the labels "database_id" and "zone". + # Optional. A set of user-defined (key, value) data that provides additional + # information about the log entry. # Corresponds to the JSON property `labels` - # @return [Array] + # @return [Hash] attr_accessor :labels - # Optional. The resource name of the monitored resource descriptor: "projects/` - # project_id`/monitoredResourceDescriptors/`type`" where `type` is the value of - # the type field in this object and `project_id` is a project ID that provides - # API-specific context for accessing the type. APIs that do not use project - # information can use the resource name format "monitoredResourceDescriptors/` - # type`". - # Corresponds to the JSON property `name` + # Required. The resource name of the log to which this log entry belongs: + # "projects/[PROJECT_ID]/logs/[LOG_ID]" + # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + # "folders/[FOLDER_ID]/logs/[LOG_ID]" + # [LOG_ID] must be URL-encoded within log_name. Example: "organizations/ + # 1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity". [LOG_ID] must + # be less than 512 characters long and can only include the following characters: + # upper and lower case alphanumeric characters, forward-slash, underscore, + # hyphen, and period.For backward compatibility, if log_name begins with a + # forward-slash, such as /projects/..., then the log entry is ingested as usual + # but the forward-slash is removed. Listing the log entry will not show the + # leading slash and filtering for a log name with a leading slash will never + # return any results. + # Corresponds to the JSON property `logName` # @return [String] - attr_accessor :name + attr_accessor :log_name - # Optional. A detailed description of the monitored resource type that might be - # used in documentation. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description + # Additional information about a potentially long-running operation with which a + # log entry is associated. + # Corresponds to the JSON property `operation` + # @return [Google::Apis::LoggingV2::LogEntryOperation] + attr_accessor :operation - # Optional. A concise name for the monitored resource type that might be - # displayed in user interfaces. It should be a Title Cased Noun Phrase, without - # any article or other determiners. For example, "Google Cloud SQL Database". - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name + # The log entry payload, represented as a protocol buffer. Some Google Cloud + # Platform services use this field for their log entry payloads. + # Corresponds to the JSON property `protoPayload` + # @return [Hash] + attr_accessor :proto_payload - # Required. The monitored resource type. For example, the type " - # cloudsql_database" represents databases in Google Cloud SQL. The maximum - # length of this value is 256 characters. - # Corresponds to the JSON property `type` + # Output only. The time the log entry was received by Stackdriver Logging. + # Corresponds to the JSON property `receiveTimestamp` # @return [String] - attr_accessor :type + attr_accessor :receive_timestamp + + # An object representing a resource that can be used for monitoring, logging, + # billing, or other purposes. Examples include virtual machine instances, + # databases, and storage devices such as disks. The type field identifies a + # MonitoredResourceDescriptor object that describes the resource's schema. + # Information in the labels field identifies the actual resource and its + # attributes according to the schema. For example, a particular Compute Engine + # VM instance could be represented by the following object, because the + # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and " + # zone": + # ` "type": "gce_instance", + # "labels": ` "instance_id": "12345678901234", + # "zone": "us-central1-a" `` + # Corresponds to the JSON property `resource` + # @return [Google::Apis::LoggingV2::MonitoredResource] + attr_accessor :resource + + # Optional. The severity of the log entry. The default value is LogSeverity. + # DEFAULT. + # Corresponds to the JSON property `severity` + # @return [String] + attr_accessor :severity + + # Additional information about the source code location that produced the log + # entry. + # Corresponds to the JSON property `sourceLocation` + # @return [Google::Apis::LoggingV2::LogEntrySourceLocation] + attr_accessor :source_location + + # The log entry payload, represented as a Unicode string (UTF-8). + # Corresponds to the JSON property `textPayload` + # @return [String] + attr_accessor :text_payload + + # Optional. The time the event described by the log entry occurred. If omitted + # in a new log entry, Stackdriver Logging will insert the time the log entry is + # received. Stackdriver Logging might reject log entries whose time stamps are + # more than a couple of hours in the future. Log entries with time stamps in the + # past are accepted. + # Corresponds to the JSON property `timestamp` + # @return [String] + attr_accessor :timestamp + + # Optional. Resource name of the trace associated with the log entry, if any. If + # it contains a relative resource name, the name is assumed to be relative to // + # tracing.googleapis.com. Example: projects/my-projectid/traces/ + # 06796866738c859f2f19b7cfb3214824 + # Corresponds to the JSON property `trace` + # @return [String] + attr_accessor :trace def initialize(**args) update!(**args) @@ -1175,11 +530,63 @@ module Google # Update properties of this object def update!(**args) + @http_request = args[:http_request] if args.key?(:http_request) + @insert_id = args[:insert_id] if args.key?(:insert_id) + @json_payload = args[:json_payload] if args.key?(:json_payload) @labels = args[:labels] if args.key?(:labels) - @name = args[:name] if args.key?(:name) - @description = args[:description] if args.key?(:description) - @display_name = args[:display_name] if args.key?(:display_name) - @type = args[:type] if args.key?(:type) + @log_name = args[:log_name] if args.key?(:log_name) + @operation = args[:operation] if args.key?(:operation) + @proto_payload = args[:proto_payload] if args.key?(:proto_payload) + @receive_timestamp = args[:receive_timestamp] if args.key?(:receive_timestamp) + @resource = args[:resource] if args.key?(:resource) + @severity = args[:severity] if args.key?(:severity) + @source_location = args[:source_location] if args.key?(:source_location) + @text_payload = args[:text_payload] if args.key?(:text_payload) + @timestamp = args[:timestamp] if args.key?(:timestamp) + @trace = args[:trace] if args.key?(:trace) + end + end + + # Additional information about a potentially long-running operation with which a + # log entry is associated. + class LogEntryOperation + include Google::Apis::Core::Hashable + + # Optional. Set this to True if this is the first log entry in the operation. + # Corresponds to the JSON property `first` + # @return [Boolean] + attr_accessor :first + alias_method :first?, :first + + # Optional. An arbitrary operation identifier. Log entries with the same + # identifier are assumed to be part of the same operation. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Optional. Set this to True if this is the last log entry in the operation. + # Corresponds to the JSON property `last` + # @return [Boolean] + attr_accessor :last + alias_method :last?, :last + + # Optional. An arbitrary producer identifier. The combination of id and producer + # must be globally unique. Examples for producer: "MyDivision.MyBigCompany.com", + # "github.com/MyProject/MyApplication". + # Corresponds to the JSON property `producer` + # @return [String] + attr_accessor :producer + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @first = args[:first] if args.key?(:first) + @id = args[:id] if args.key?(:id) + @last = args[:last] if args.key?(:last) + @producer = args[:producer] if args.key?(:producer) end end @@ -1221,39 +628,6 @@ module Google end end - # Result returned from ListLogEntries. - class ListLogEntriesResponse - include Google::Apis::Core::Hashable - - # If there might be more results than those appearing in this response, then - # nextPageToken is included. To get the next set of results, call this method - # again using the value of nextPageToken as pageToken.If a value for - # next_page_token appears and the entries field is empty, it means that the - # search found no log entries so far but it did not have time to search all the - # possible log entries. Retry the method with this value for page_token to - # continue the search. Alternatively, consider speeding up the search by - # changing your filter to specify a single log name or resource type, or to - # narrow the time range of the search. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # A list of log entries. - # Corresponds to the JSON property `entries` - # @return [Array] - attr_accessor :entries - - 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) - @entries = args[:entries] if args.key?(:entries) - end - end - # Application log line emitted while processing a request. class LogLine include Google::Apis::Core::Hashable @@ -1290,6 +664,638 @@ module Google @time = args[:time] if args.key?(:time) end end + + # Describes a logs-based metric. The value of the metric is the number of log + # entries that match a logs filter in a given time interval. + class LogMetric + include Google::Apis::Core::Hashable + + # Optional. A description of this metric, which is used in documentation. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Required. An advanced logs filter which is used to match log entries. Example: + # "resource.type=gae_app AND severity>=ERROR" + # The maximum length of the filter is 20000 characters. + # Corresponds to the JSON property `filter` + # @return [String] + attr_accessor :filter + + # Required. The client-assigned metric identifier. Examples: "error_count", " + # nginx/requests".Metric identifiers are limited to 100 characters and can + # include only the following characters: A-Z, a-z, 0-9, and the special + # characters _-.,+!*',()%/. The forward-slash character (/) denotes a hierarchy + # of name pieces, and it cannot be the first character of the name.The metric + # identifier in this field must not be URL-encoded (https://en.wikipedia.org/ + # wiki/Percent-encoding). However, when the metric identifier appears as the [ + # METRIC_ID] part of a metric_name API parameter, then the metric identifier + # must be URL-encoded. Example: "projects/my-project/metrics/nginx%2Frequests". + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Deprecated. The API version that created or updated this metric. The v2 format + # is used by default and cannot be changed. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @filter = args[:filter] if args.key?(:filter) + @name = args[:name] if args.key?(:name) + @version = args[:version] if args.key?(:version) + end + end + + # Describes a sink used to export log entries to one of the following + # destinations in any project: a Cloud Storage bucket, a BigQuery dataset, or a + # Cloud Pub/Sub topic. A logs filter controls which log entries are exported. + # The sink must be created within a project, organization, billing account, or + # folder. + class LogSink + include Google::Apis::Core::Hashable + + # Required. The export destination: + # "storage.googleapis.com/[GCS_BUCKET]" + # "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" + # "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" + # The sink's writer_identity, set when the sink is created, must have permission + # to write to the destination or else the log entries are not exported. For more + # information, see Exporting Logs With Sinks. + # Corresponds to the JSON property `destination` + # @return [String] + attr_accessor :destination + + # Optional. The time at which this sink will stop exporting log entries. Log + # entries are exported only if their timestamp is earlier than the end time. If + # this field is not supplied, there is no end time. If both a start time and an + # end time are provided, then the end time must be later than the start time. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # Optional. An advanced logs filter. The only exported log entries are those + # that are in the resource owning the sink and that match the filter. The filter + # must use the log entry format specified by the output_version_format parameter. + # For example, in the v2 format: + # logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR + # Corresponds to the JSON property `filter` + # @return [String] + attr_accessor :filter + + # Optional. This field applies only to sinks owned by organizations and folders. + # If the field is false, the default, only the logs owned by the sink's parent + # resource are available for export. If the field is true, then logs from all + # the projects, folders, and billing accounts contained in the sink's parent + # resource are also available for export. Whether a particular log entry from + # the children is exported depends on the sink's filter expression. For example, + # if this field is true, then the filter resource.type=gce_instance would export + # all Compute Engine VM instance log entries from all projects in the sink's + # parent. To only export entries from certain child projects, filter on the + # project part of the log name: + # logName:("projects/test-project1/" OR "projects/test-project2/") AND + # resource.type=gce_instance + # Corresponds to the JSON property `includeChildren` + # @return [Boolean] + attr_accessor :include_children + alias_method :include_children?, :include_children + + # Required. The client-assigned sink identifier, unique within the project. + # Example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 + # characters and can include only the following characters: upper and lower-case + # alphanumeric characters, underscores, hyphens, and periods. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Deprecated. The log entry format to use for this sink's exported log entries. + # The v2 format is used by default and cannot be changed. + # Corresponds to the JSON property `outputVersionFormat` + # @return [String] + attr_accessor :output_version_format + + # Optional. The time at which this sink will begin exporting log entries. Log + # entries are exported only if their timestamp is not earlier than the start + # time. The default value of this field is the time the sink is created or + # updated. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Output only. An IAM identity—a service account or group—under + # which Stackdriver Logging writes the exported log entries to the sink's + # destination. This field is set by sinks.create and sinks.update, based on the + # setting of unique_writer_identity in those methods.Until you grant this + # identity write-access to the destination, log entry exports from this sink + # will fail. For more information, see Granting access for a resource. Consult + # the destination service's documentation to determine the appropriate IAM roles + # to assign to the identity. + # Corresponds to the JSON property `writerIdentity` + # @return [String] + attr_accessor :writer_identity + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @destination = args[:destination] if args.key?(:destination) + @end_time = args[:end_time] if args.key?(:end_time) + @filter = args[:filter] if args.key?(:filter) + @include_children = args[:include_children] if args.key?(:include_children) + @name = args[:name] if args.key?(:name) + @output_version_format = args[:output_version_format] if args.key?(:output_version_format) + @start_time = args[:start_time] if args.key?(:start_time) + @writer_identity = args[:writer_identity] if args.key?(:writer_identity) + end + end + + # An object representing a resource that can be used for monitoring, logging, + # billing, or other purposes. Examples include virtual machine instances, + # databases, and storage devices such as disks. The type field identifies a + # MonitoredResourceDescriptor object that describes the resource's schema. + # Information in the labels field identifies the actual resource and its + # attributes according to the schema. For example, a particular Compute Engine + # VM instance could be represented by the following object, because the + # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and " + # zone": + # ` "type": "gce_instance", + # "labels": ` "instance_id": "12345678901234", + # "zone": "us-central1-a" `` + class MonitoredResource + include Google::Apis::Core::Hashable + + # Required. Values for all of the labels listed in the associated monitored + # resource descriptor. For example, Compute Engine VM instances use the labels " + # project_id", "instance_id", and "zone". + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Required. The monitored resource type. This field must match the type field of + # a MonitoredResourceDescriptor object. For example, the type of a Compute + # Engine VM instance is gce_instance. + # 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) + @labels = args[:labels] if args.key?(:labels) + @type = args[:type] if args.key?(:type) + end + end + + # An object that describes the schema of a MonitoredResource object using a type + # name and a set of labels. For example, the monitored resource descriptor for + # Google Compute Engine VM instances has a type of "gce_instance" and specifies + # the use of the labels "instance_id" and "zone" to identify particular VM + # instances.Different APIs can support different monitored resource types. APIs + # generally provide a list method that returns the monitored resource + # descriptors used by the API. + class MonitoredResourceDescriptor + include Google::Apis::Core::Hashable + + # Optional. A detailed description of the monitored resource type that might be + # used in documentation. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Optional. A concise name for the monitored resource type that might be + # displayed in user interfaces. It should be a Title Cased Noun Phrase, without + # any article or other determiners. For example, "Google Cloud SQL Database". + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Required. A set of labels used to describe instances of this monitored + # resource type. For example, an individual Google Cloud SQL database is + # identified by values for the labels "database_id" and "zone". + # Corresponds to the JSON property `labels` + # @return [Array] + attr_accessor :labels + + # Optional. The resource name of the monitored resource descriptor: "projects/` + # project_id`/monitoredResourceDescriptors/`type`" where `type` is the value of + # the type field in this object and `project_id` is a project ID that provides + # API-specific context for accessing the type. APIs that do not use project + # information can use the resource name format "monitoredResourceDescriptors/` + # type`". + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Required. The monitored resource type. For example, the type " + # cloudsql_database" represents databases in Google Cloud SQL. The maximum + # length of this value is 256 characters. + # 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) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @labels = args[:labels] if args.key?(:labels) + @name = args[:name] if args.key?(:name) + @type = args[:type] if args.key?(:type) + end + end + + # Complete log information about a single HTTP request to an App Engine + # application. + class RequestLog + include Google::Apis::Core::Hashable + + # App Engine release version. + # Corresponds to the JSON property `appEngineRelease` + # @return [String] + attr_accessor :app_engine_release + + # Application that handled this request. + # Corresponds to the JSON property `appId` + # @return [String] + attr_accessor :app_id + + # An indication of the relative cost of serving this request. + # Corresponds to the JSON property `cost` + # @return [Float] + attr_accessor :cost + + # Time when the request finished. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # Whether this request is finished or active. + # Corresponds to the JSON property `finished` + # @return [Boolean] + attr_accessor :finished + alias_method :finished?, :finished + + # Whether this is the first RequestLog entry for this request. If an active + # request has several RequestLog entries written to Stackdriver Logging, then + # this field will be set for one of them. + # Corresponds to the JSON property `first` + # @return [Boolean] + attr_accessor :first + alias_method :first?, :first + + # Internet host and port number of the resource being requested. + # Corresponds to the JSON property `host` + # @return [String] + attr_accessor :host + + # HTTP version of request. Example: "HTTP/1.1". + # Corresponds to the JSON property `httpVersion` + # @return [String] + attr_accessor :http_version + + # An identifier for the instance that handled the request. + # Corresponds to the JSON property `instanceId` + # @return [String] + attr_accessor :instance_id + + # If the instance processing this request belongs to a manually scaled module, + # then this is the 0-based index of the instance. Otherwise, this value is -1. + # Corresponds to the JSON property `instanceIndex` + # @return [Fixnum] + attr_accessor :instance_index + + # Origin IP address. + # Corresponds to the JSON property `ip` + # @return [String] + attr_accessor :ip + + # Latency of the request. + # Corresponds to the JSON property `latency` + # @return [String] + attr_accessor :latency + + # A list of log lines emitted by the application while serving this request. + # Corresponds to the JSON property `line` + # @return [Array] + attr_accessor :line + + # Number of CPU megacycles used to process request. + # Corresponds to the JSON property `megaCycles` + # @return [Fixnum] + attr_accessor :mega_cycles + + # Request method. Example: "GET", "HEAD", "PUT", "POST", "DELETE". + # Corresponds to the JSON property `method` + # @return [String] + attr_accessor :method_prop + + # Module of the application that handled this request. + # Corresponds to the JSON property `moduleId` + # @return [String] + attr_accessor :module_id + + # The logged-in user who made the request.Most likely, this is the part of the + # user's email before the @ sign. The field value is the same for different + # requests from the same user, but different users can have similar names. This + # information is also available to the application via the App Engine Users API. + # This field will be populated starting with App Engine 1.9.21. + # Corresponds to the JSON property `nickname` + # @return [String] + attr_accessor :nickname + + # Time this request spent in the pending request queue. + # Corresponds to the JSON property `pendingTime` + # @return [String] + attr_accessor :pending_time + + # Referrer URL of request. + # Corresponds to the JSON property `referrer` + # @return [String] + attr_accessor :referrer + + # Globally unique identifier for a request, which is based on the request start + # time. Request IDs for requests which started later will compare greater as + # strings than those for requests which started earlier. + # Corresponds to the JSON property `requestId` + # @return [String] + attr_accessor :request_id + + # Contains the path and query portion of the URL that was requested. For example, + # if the URL was "http://example.com/app?name=val", the resource would be "/app? + # name=val". The fragment identifier, which is identified by the # character, is + # not included. + # Corresponds to the JSON property `resource` + # @return [String] + attr_accessor :resource + + # Size in bytes sent back to client by request. + # Corresponds to the JSON property `responseSize` + # @return [Fixnum] + attr_accessor :response_size + + # Source code for the application that handled this request. There can be more + # than one source reference per deployed application if source code is + # distributed among multiple repositories. + # Corresponds to the JSON property `sourceReference` + # @return [Array] + attr_accessor :source_reference + + # Time when the request started. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # HTTP response status code. Example: 200, 404. + # Corresponds to the JSON property `status` + # @return [Fixnum] + attr_accessor :status + + # Task name of the request, in the case of an offline request. + # Corresponds to the JSON property `taskName` + # @return [String] + attr_accessor :task_name + + # Queue name of the request, in the case of an offline request. + # Corresponds to the JSON property `taskQueueName` + # @return [String] + attr_accessor :task_queue_name + + # Stackdriver Trace identifier for this request. + # Corresponds to the JSON property `traceId` + # @return [String] + attr_accessor :trace_id + + # File or class that handled the request. + # Corresponds to the JSON property `urlMapEntry` + # @return [String] + attr_accessor :url_map_entry + + # User agent that made the request. + # Corresponds to the JSON property `userAgent` + # @return [String] + attr_accessor :user_agent + + # Version of the application that handled this request. + # Corresponds to the JSON property `versionId` + # @return [String] + attr_accessor :version_id + + # Whether this was a loading request for the instance. + # Corresponds to the JSON property `wasLoadingRequest` + # @return [Boolean] + attr_accessor :was_loading_request + alias_method :was_loading_request?, :was_loading_request + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @app_engine_release = args[:app_engine_release] if args.key?(:app_engine_release) + @app_id = args[:app_id] if args.key?(:app_id) + @cost = args[:cost] if args.key?(:cost) + @end_time = args[:end_time] if args.key?(:end_time) + @finished = args[:finished] if args.key?(:finished) + @first = args[:first] if args.key?(:first) + @host = args[:host] if args.key?(:host) + @http_version = args[:http_version] if args.key?(:http_version) + @instance_id = args[:instance_id] if args.key?(:instance_id) + @instance_index = args[:instance_index] if args.key?(:instance_index) + @ip = args[:ip] if args.key?(:ip) + @latency = args[:latency] if args.key?(:latency) + @line = args[:line] if args.key?(:line) + @mega_cycles = args[:mega_cycles] if args.key?(:mega_cycles) + @method_prop = args[:method_prop] if args.key?(:method_prop) + @module_id = args[:module_id] if args.key?(:module_id) + @nickname = args[:nickname] if args.key?(:nickname) + @pending_time = args[:pending_time] if args.key?(:pending_time) + @referrer = args[:referrer] if args.key?(:referrer) + @request_id = args[:request_id] if args.key?(:request_id) + @resource = args[:resource] if args.key?(:resource) + @response_size = args[:response_size] if args.key?(:response_size) + @source_reference = args[:source_reference] if args.key?(:source_reference) + @start_time = args[:start_time] if args.key?(:start_time) + @status = args[:status] if args.key?(:status) + @task_name = args[:task_name] if args.key?(:task_name) + @task_queue_name = args[:task_queue_name] if args.key?(:task_queue_name) + @trace_id = args[:trace_id] if args.key?(:trace_id) + @url_map_entry = args[:url_map_entry] if args.key?(:url_map_entry) + @user_agent = args[:user_agent] if args.key?(:user_agent) + @version_id = args[:version_id] if args.key?(:version_id) + @was_loading_request = args[:was_loading_request] if args.key?(:was_loading_request) + end + end + + # Specifies a location in a source code file. + class SourceLocation + include Google::Apis::Core::Hashable + + # Source file name. Depending on the runtime environment, this might be a simple + # name or a fully-qualified name. + # Corresponds to the JSON property `file` + # @return [String] + attr_accessor :file + + # Human-readable name of the function or method being invoked, with optional + # context such as the class or package name. This information is used in + # contexts such as the logs viewer, where a file and line number are less + # meaningful. The format can vary by language. For example: qual.if.ied.Class. + # method (Java), dir/package.func (Go), function (Python). + # Corresponds to the JSON property `functionName` + # @return [String] + attr_accessor :function_name + + # Line within the source file. + # Corresponds to the JSON property `line` + # @return [Fixnum] + attr_accessor :line + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file = args[:file] if args.key?(:file) + @function_name = args[:function_name] if args.key?(:function_name) + @line = args[:line] if args.key?(:line) + end + end + + # A reference to a particular snapshot of the source tree used to build and + # deploy an application. + class SourceReference + include Google::Apis::Core::Hashable + + # Optional. A URI string identifying the repository. Example: "https://github. + # com/GoogleCloudPlatform/kubernetes.git" + # Corresponds to the JSON property `repository` + # @return [String] + attr_accessor :repository + + # The canonical and persistent identifier of the deployed revision. Example (git) + # : "0035781c50ec7aa23385dc841529ce8a4b70db1b" + # Corresponds to the JSON property `revisionId` + # @return [String] + attr_accessor :revision_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @repository = args[:repository] if args.key?(:repository) + @revision_id = args[:revision_id] if args.key?(:revision_id) + end + end + + # The parameters to WriteLogEntries. + class WriteLogEntriesRequest + include Google::Apis::Core::Hashable + + # Required. The log entries to write. Values supplied for the fields log_name, + # resource, and labels in this entries.write request are inserted into those log + # entries in this list that do not provide their own values.Stackdriver Logging + # also creates and inserts values for timestamp and insert_id if the entries do + # not provide them. The created insert_id for the N'th entry in this list will + # be greater than earlier entries and less than later entries. Otherwise, the + # order of log entries in this list does not matter.To improve throughput and to + # avoid exceeding the quota limit for calls to entries.write, you should write + # multiple log entries at once rather than calling this method for each + # individual log entry. + # Corresponds to the JSON property `entries` + # @return [Array] + attr_accessor :entries + + # Optional. Default labels that are added to the labels field of all log entries + # in entries. If a log entry already has a label with the same key as a label in + # this parameter, then the log entry's label is not changed. See LogEntry. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Optional. A default log resource name that is assigned to all log entries in + # entries that do not specify a value for log_name: + # "projects/[PROJECT_ID]/logs/[LOG_ID]" + # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + # "folders/[FOLDER_ID]/logs/[LOG_ID]" + # [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog" + # or "organizations/1234567890/logs/cloudresourcemanager.googleapis.com% + # 2Factivity". For more information about log names, see LogEntry. + # Corresponds to the JSON property `logName` + # @return [String] + attr_accessor :log_name + + # Optional. Whether valid entries should be written even if some other entries + # fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any entry is not + # written, then the response status is the error associated with one of the + # failed entries and the response includes error details keyed by the entries' + # zero-based index in the entries.write method. + # Corresponds to the JSON property `partialSuccess` + # @return [Boolean] + attr_accessor :partial_success + alias_method :partial_success?, :partial_success + + # An object representing a resource that can be used for monitoring, logging, + # billing, or other purposes. Examples include virtual machine instances, + # databases, and storage devices such as disks. The type field identifies a + # MonitoredResourceDescriptor object that describes the resource's schema. + # Information in the labels field identifies the actual resource and its + # attributes according to the schema. For example, a particular Compute Engine + # VM instance could be represented by the following object, because the + # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and " + # zone": + # ` "type": "gce_instance", + # "labels": ` "instance_id": "12345678901234", + # "zone": "us-central1-a" `` + # Corresponds to the JSON property `resource` + # @return [Google::Apis::LoggingV2::MonitoredResource] + attr_accessor :resource + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @entries = args[:entries] if args.key?(:entries) + @labels = args[:labels] if args.key?(:labels) + @log_name = args[:log_name] if args.key?(:log_name) + @partial_success = args[:partial_success] if args.key?(:partial_success) + @resource = args[:resource] if args.key?(:resource) + end + end + + # Result returned from WriteLogEntries. empty + class WriteLogEntriesResponse + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end end end end diff --git a/generated/google/apis/logging_v2/representations.rb b/generated/google/apis/logging_v2/representations.rb index 3108fa20b..6515fe69b 100644 --- a/generated/google/apis/logging_v2/representations.rb +++ b/generated/google/apis/logging_v2/representations.rb @@ -22,102 +22,12 @@ module Google module Apis module LoggingV2 - class ListLogMetricsResponse - 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 Empty 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 ListLogEntriesRequest - 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 ListMonitoredResourceDescriptorsResponse - 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 WriteLogEntriesResponse - 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 LogMetric - 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 LogSink - 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 ListLogsResponse - 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 HttpRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -130,13 +40,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class MonitoredResourceDescriptor - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LogEntrySourceLocation + class ListLogEntriesRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -148,12 +52,165 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ListLogMetricsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListLogsResponse + 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 ListSinksResponse + 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 LogEntryOperation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LogEntrySourceLocation + 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 LogMetric + 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 MonitoredResource + 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 RequestLog + 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 WriteLogEntriesRequest + 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 Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class HttpRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cache_fill_bytes, :numeric_string => true, as: 'cacheFillBytes' + property :cache_hit, as: 'cacheHit' + property :cache_lookup, as: 'cacheLookup' + property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer' + property :latency, as: 'latency' + property :protocol, as: 'protocol' + property :referer, as: 'referer' + property :remote_ip, as: 'remoteIp' + property :request_method, as: 'requestMethod' + property :request_size, :numeric_string => true, as: 'requestSize' + property :request_url, as: 'requestUrl' + property :response_size, :numeric_string => true, as: 'responseSize' + property :server_ip, as: 'serverIp' + property :status, as: 'status' + property :user_agent, as: 'userAgent' + end + end + + class LabelDescriptor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :key, as: 'key' + property :value_type, as: 'valueType' + end + end + + class ListLogEntriesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :filter, as: 'filter' + property :order_by, as: 'orderBy' + property :page_size, as: 'pageSize' + property :page_token, as: 'pageToken' + collection :project_ids, as: 'projectIds' + collection :resource_names, as: 'resourceNames' + end + end + + class ListLogEntriesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :entries, as: 'entries', class: Google::Apis::LoggingV2::LogEntry, decorator: Google::Apis::LoggingV2::LogEntry::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + class ListLogMetricsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -163,180 +220,20 @@ module Google end end - class LogEntry + class ListLogsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :timestamp, as: 'timestamp' - property :receive_timestamp, as: 'receiveTimestamp' - property :log_name, as: 'logName' - property :resource, as: 'resource', class: Google::Apis::LoggingV2::MonitoredResource, decorator: Google::Apis::LoggingV2::MonitoredResource::Representation - - property :http_request, as: 'httpRequest', class: Google::Apis::LoggingV2::HttpRequest, decorator: Google::Apis::LoggingV2::HttpRequest::Representation - - hash :json_payload, as: 'jsonPayload' - property :operation, as: 'operation', class: Google::Apis::LoggingV2::LogEntryOperation, decorator: Google::Apis::LoggingV2::LogEntryOperation::Representation - - property :insert_id, as: 'insertId' - property :text_payload, as: 'textPayload' - hash :proto_payload, as: 'protoPayload' - property :trace, as: 'trace' - hash :labels, as: 'labels' - property :severity, as: 'severity' - property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2::LogEntrySourceLocation, decorator: Google::Apis::LoggingV2::LogEntrySourceLocation::Representation - - end - end - - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class SourceLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :file, as: 'file' - property :function_name, as: 'functionName' - property :line, :numeric_string => true, as: 'line' - end - end - - class ListLogEntriesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :order_by, as: 'orderBy' - collection :resource_names, as: 'resourceNames' - property :filter, as: 'filter' - collection :project_ids, as: 'projectIds' - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' - end - end - - class RequestLog - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :latency, as: 'latency' - property :ip, as: 'ip' - property :app_id, as: 'appId' - property :app_engine_release, as: 'appEngineRelease' - property :method_prop, as: 'method' - property :cost, as: 'cost' - property :instance_id, as: 'instanceId' - property :mega_cycles, :numeric_string => true, as: 'megaCycles' - property :first, as: 'first' - property :version_id, as: 'versionId' - property :module_id, as: 'moduleId' - property :end_time, as: 'endTime' - property :user_agent, as: 'userAgent' - property :was_loading_request, as: 'wasLoadingRequest' - collection :source_reference, as: 'sourceReference', class: Google::Apis::LoggingV2::SourceReference, decorator: Google::Apis::LoggingV2::SourceReference::Representation - - property :response_size, :numeric_string => true, as: 'responseSize' - property :trace_id, as: 'traceId' - collection :line, as: 'line', class: Google::Apis::LoggingV2::LogLine, decorator: Google::Apis::LoggingV2::LogLine::Representation - - property :task_queue_name, as: 'taskQueueName' - property :referrer, as: 'referrer' - property :request_id, as: 'requestId' - property :nickname, as: 'nickname' - property :pending_time, as: 'pendingTime' - property :resource, as: 'resource' - property :status, as: 'status' - property :task_name, as: 'taskName' - property :url_map_entry, as: 'urlMapEntry' - property :instance_index, as: 'instanceIndex' - property :finished, as: 'finished' - property :host, as: 'host' - property :http_version, as: 'httpVersion' - property :start_time, as: 'startTime' + collection :log_names, as: 'logNames' + property :next_page_token, as: 'nextPageToken' end end class ListMonitoredResourceDescriptorsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' collection :resource_descriptors, as: 'resourceDescriptors', class: Google::Apis::LoggingV2::MonitoredResourceDescriptor, decorator: Google::Apis::LoggingV2::MonitoredResourceDescriptor::Representation - property :next_page_token, as: 'nextPageToken' - end - end - - class SourceReference - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :repository, as: 'repository' - property :revision_id, as: 'revisionId' - end - end - - class WriteLogEntriesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class LogEntryOperation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :first, as: 'first' - property :producer, as: 'producer' - property :last, as: 'last' - end - end - - class LogMetric - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :version, as: 'version' - property :filter, as: 'filter' - property :name, as: 'name' - property :description, as: 'description' - end - end - - class MonitoredResource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - hash :labels, as: 'labels' - end - end - - class LogSink - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :output_version_format, as: 'outputVersionFormat' - property :name, as: 'name' - property :include_children, as: 'includeChildren' - property :destination, as: 'destination' - property :filter, as: 'filter' - property :end_time, as: 'endTime' - property :start_time, as: 'startTime' - property :writer_identity, as: 'writerIdentity' - end - end - - class WriteLogEntriesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :entries, as: 'entries', class: Google::Apis::LoggingV2::LogEntry, decorator: Google::Apis::LoggingV2::LogEntry::Representation - - property :log_name, as: 'logName' - property :partial_success, as: 'partialSuccess' - hash :labels, as: 'labels' - property :resource, as: 'resource', class: Google::Apis::LoggingV2::MonitoredResource, decorator: Google::Apis::LoggingV2::MonitoredResource::Representation - - end - end - - class ListLogsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :log_names, as: 'logNames' - property :next_page_token, as: 'nextPageToken' end end @@ -349,44 +246,37 @@ module Google end end - class HttpRequest + class LogEntry # @private class Representation < Google::Apis::Core::JsonRepresentation - property :request_method, as: 'requestMethod' - property :request_size, :numeric_string => true, as: 'requestSize' - property :response_size, :numeric_string => true, as: 'responseSize' - property :request_url, as: 'requestUrl' - property :server_ip, as: 'serverIp' - property :remote_ip, as: 'remoteIp' - property :cache_lookup, as: 'cacheLookup' - property :cache_hit, as: 'cacheHit' - property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer' - property :status, as: 'status' - property :referer, as: 'referer' - property :latency, as: 'latency' - property :user_agent, as: 'userAgent' - property :cache_fill_bytes, :numeric_string => true, as: 'cacheFillBytes' + property :http_request, as: 'httpRequest', class: Google::Apis::LoggingV2::HttpRequest, decorator: Google::Apis::LoggingV2::HttpRequest::Representation + + property :insert_id, as: 'insertId' + hash :json_payload, as: 'jsonPayload' + hash :labels, as: 'labels' + property :log_name, as: 'logName' + property :operation, as: 'operation', class: Google::Apis::LoggingV2::LogEntryOperation, decorator: Google::Apis::LoggingV2::LogEntryOperation::Representation + + hash :proto_payload, as: 'protoPayload' + property :receive_timestamp, as: 'receiveTimestamp' + property :resource, as: 'resource', class: Google::Apis::LoggingV2::MonitoredResource, decorator: Google::Apis::LoggingV2::MonitoredResource::Representation + + property :severity, as: 'severity' + property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2::LogEntrySourceLocation, decorator: Google::Apis::LoggingV2::LogEntrySourceLocation::Representation + + property :text_payload, as: 'textPayload' + property :timestamp, as: 'timestamp' + property :trace, as: 'trace' end end - class LabelDescriptor + class LogEntryOperation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :key, as: 'key' - property :description, as: 'description' - property :value_type, as: 'valueType' - end - end - - class MonitoredResourceDescriptor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :labels, as: 'labels', class: Google::Apis::LoggingV2::LabelDescriptor, decorator: Google::Apis::LoggingV2::LabelDescriptor::Representation - - property :name, as: 'name' - property :description, as: 'description' - property :display_name, as: 'displayName' - property :type, as: 'type' + property :first, as: 'first' + property :id, as: 'id' + property :last, as: 'last' + property :producer, as: 'producer' end end @@ -399,15 +289,6 @@ module Google end end - class ListLogEntriesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :entries, as: 'entries', class: Google::Apis::LoggingV2::LogEntry, decorator: Google::Apis::LoggingV2::LogEntry::Representation - - end - end - class LogLine # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -418,6 +299,126 @@ module Google property :time, as: 'time' end end + + class LogMetric + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :filter, as: 'filter' + property :name, as: 'name' + property :version, as: 'version' + end + end + + class LogSink + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :destination, as: 'destination' + property :end_time, as: 'endTime' + property :filter, as: 'filter' + property :include_children, as: 'includeChildren' + property :name, as: 'name' + property :output_version_format, as: 'outputVersionFormat' + property :start_time, as: 'startTime' + property :writer_identity, as: 'writerIdentity' + end + end + + class MonitoredResource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :labels, as: 'labels' + property :type, as: 'type' + end + end + + class MonitoredResourceDescriptor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :display_name, as: 'displayName' + collection :labels, as: 'labels', class: Google::Apis::LoggingV2::LabelDescriptor, decorator: Google::Apis::LoggingV2::LabelDescriptor::Representation + + property :name, as: 'name' + property :type, as: 'type' + end + end + + class RequestLog + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :app_engine_release, as: 'appEngineRelease' + property :app_id, as: 'appId' + property :cost, as: 'cost' + property :end_time, as: 'endTime' + property :finished, as: 'finished' + property :first, as: 'first' + property :host, as: 'host' + property :http_version, as: 'httpVersion' + property :instance_id, as: 'instanceId' + property :instance_index, as: 'instanceIndex' + property :ip, as: 'ip' + property :latency, as: 'latency' + collection :line, as: 'line', class: Google::Apis::LoggingV2::LogLine, decorator: Google::Apis::LoggingV2::LogLine::Representation + + property :mega_cycles, :numeric_string => true, as: 'megaCycles' + property :method_prop, as: 'method' + property :module_id, as: 'moduleId' + property :nickname, as: 'nickname' + property :pending_time, as: 'pendingTime' + property :referrer, as: 'referrer' + property :request_id, as: 'requestId' + property :resource, as: 'resource' + property :response_size, :numeric_string => true, as: 'responseSize' + collection :source_reference, as: 'sourceReference', class: Google::Apis::LoggingV2::SourceReference, decorator: Google::Apis::LoggingV2::SourceReference::Representation + + property :start_time, as: 'startTime' + property :status, as: 'status' + property :task_name, as: 'taskName' + property :task_queue_name, as: 'taskQueueName' + property :trace_id, as: 'traceId' + property :url_map_entry, as: 'urlMapEntry' + property :user_agent, as: 'userAgent' + property :version_id, as: 'versionId' + property :was_loading_request, as: 'wasLoadingRequest' + end + end + + class SourceLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :file, as: 'file' + property :function_name, as: 'functionName' + property :line, :numeric_string => true, as: 'line' + end + end + + class SourceReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :repository, as: 'repository' + property :revision_id, as: 'revisionId' + end + end + + class WriteLogEntriesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :entries, as: 'entries', class: Google::Apis::LoggingV2::LogEntry, decorator: Google::Apis::LoggingV2::LogEntry::Representation + + hash :labels, as: 'labels' + property :log_name, as: 'logName' + property :partial_success, as: 'partialSuccess' + property :resource, as: 'resource', class: Google::Apis::LoggingV2::MonitoredResource, decorator: Google::Apis::LoggingV2::MonitoredResource::Representation + + end + end + + class WriteLogEntriesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end end end end diff --git a/generated/google/apis/logging_v2/service.rb b/generated/google/apis/logging_v2/service.rb index a82f80e02..49f797666 100644 --- a/generated/google/apis/logging_v2/service.rb +++ b/generated/google/apis/logging_v2/service.rb @@ -47,231 +47,6 @@ module Google @batch_path = 'batch' end - # Gets a sink. - # @param [String] sink_name - # Required. The resource name of the sink: - # "projects/[PROJECT_ID]/sinks/[SINK_ID]" - # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" - # "folders/[FOLDER_ID]/sinks/[SINK_ID]" - # Example: "projects/my-project-id/sinks/my-sink-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::LoggingV2::LogSink] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::LogSink] - # - # @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_project_sink(sink_name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+sinkName}', options) - command.response_representation = Google::Apis::LoggingV2::LogSink::Representation - command.response_class = Google::Apis::LoggingV2::LogSink - command.params['sinkName'] = sink_name unless sink_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 sinks. - # @param [String] parent - # Required. The parent resource whose sinks are to be listed: - # "projects/[PROJECT_ID]" - # "organizations/[ORGANIZATION_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]" - # "folders/[FOLDER_ID]" - # @param [String] page_token - # Optional. If present, then retrieve the next batch of results from the - # preceding call to this method. pageToken must be the value of nextPageToken - # from the previous response. The values of other method parameters should be - # identical to those in the previous call. - # @param [Fixnum] page_size - # Optional. The maximum number of results to return from this request. Non- - # positive values are ignored. The presence of nextPageToken in the response - # indicates that more results might be available. - # @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::LoggingV2::ListSinksResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::ListSinksResponse] - # - # @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_project_sinks(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+parent}/sinks', options) - command.response_representation = Google::Apis::LoggingV2::ListSinksResponse::Representation - command.response_class = Google::Apis::LoggingV2::ListSinksResponse - command.params['parent'] = parent unless parent.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.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 sink. If the named sink doesn't exist, then this method is identical - # to sinks.create. If the named sink does exist, then this method replaces the - # following fields in the existing sink with values from the new sink: - # destination, filter, output_version_format, start_time, and end_time. The - # updated filter might also have a new writer_identity; see the - # unique_writer_identity field. - # @param [String] sink_name - # Required. The full resource name of the sink to update, including the parent - # resource and the sink identifier: - # "projects/[PROJECT_ID]/sinks/[SINK_ID]" - # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" - # "folders/[FOLDER_ID]/sinks/[SINK_ID]" - # Example: "projects/my-project-id/sinks/my-sink-id". - # @param [Google::Apis::LoggingV2::LogSink] log_sink_object - # @param [Boolean] unique_writer_identity - # Optional. See sinks.create for a description of this field. When updating a - # sink, the effect of this field on the value of writer_identity in the updated - # sink depends on both the old and new values of this field: - # If the old and new values of this field are both false or both true, then - # there is no change to the sink's writer_identity. - # If the old value is false and the new value is true, then writer_identity is - # changed to a unique service account. - # It is an error if the old value is true and the new value is set to false or - # defaulted to false. - # @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::LoggingV2::LogSink] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::LogSink] - # - # @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_project_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v2/{+sinkName}', options) - command.request_representation = Google::Apis::LoggingV2::LogSink::Representation - command.request_object = log_sink_object - command.response_representation = Google::Apis::LoggingV2::LogSink::Representation - command.response_class = Google::Apis::LoggingV2::LogSink - command.params['sinkName'] = sink_name unless sink_name.nil? - command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Creates a sink that exports specified log entries to a destination. The export - # of newly-ingested log entries begins immediately, unless the current time is - # outside the sink's start and end times or the sink's writer_identity is not - # permitted to write to the destination. A sink can export log entries only from - # the resource owning the sink. - # @param [String] parent - # Required. The resource in which to create the sink: - # "projects/[PROJECT_ID]" - # "organizations/[ORGANIZATION_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]" - # "folders/[FOLDER_ID]" - # Examples: "projects/my-logging-project", "organizations/123456789". - # @param [Google::Apis::LoggingV2::LogSink] log_sink_object - # @param [Boolean] unique_writer_identity - # Optional. Determines the kind of IAM identity returned as writer_identity in - # the new sink. If this value is omitted or set to false, and if the sink's - # parent is a project, then the value returned as writer_identity is the same - # group or service account used by Stackdriver Logging before the addition of - # writer identities to this API. The sink's destination must be in the same - # project as the sink itself.If this field is set to true, or if the sink is - # owned by a non-project resource such as an organization, then the value of - # writer_identity will be a unique service account used only for exports from - # the new sink. For more information, see writer_identity in LogSink. - # @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::LoggingV2::LogSink] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::LogSink] - # - # @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_project_sink(parent, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/{+parent}/sinks', options) - command.request_representation = Google::Apis::LoggingV2::LogSink::Representation - command.request_object = log_sink_object - command.response_representation = Google::Apis::LoggingV2::LogSink::Representation - command.response_class = Google::Apis::LoggingV2::LogSink - command.params['parent'] = parent unless parent.nil? - command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.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 sink. If the sink has a unique writer_identity, then that service - # account is also deleted. - # @param [String] sink_name - # Required. The full resource name of the sink to delete, including the parent - # resource and the sink identifier: - # "projects/[PROJECT_ID]/sinks/[SINK_ID]" - # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" - # "folders/[FOLDER_ID]/sinks/[SINK_ID]" - # Example: "projects/my-project-id/sinks/my-sink-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::LoggingV2::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::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_project_sink(sink_name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v2/{+sinkName}', options) - command.response_representation = Google::Apis::LoggingV2::Empty::Representation - command.response_class = Google::Apis::LoggingV2::Empty - command.params['sinkName'] = sink_name unless sink_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 all the log entries in a log. The log reappears if it receives new # entries. Log entries written shortly before the delete operation might not be # deleted. @@ -301,7 +76,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 delete_project_log(log_name, fields: nil, quota_user: nil, options: nil, &block) + def delete_billing_account_log(log_name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+logName}', options) command.response_representation = Google::Apis::LoggingV2::Empty::Representation command.response_class = Google::Apis::LoggingV2::Empty @@ -319,15 +94,15 @@ module Google # "organizations/[ORGANIZATION_ID]" # "billingAccounts/[BILLING_ACCOUNT_ID]" # "folders/[FOLDER_ID]" + # @param [Fixnum] page_size + # Optional. The maximum number of results to return from this request. Non- + # positive values are ignored. The presence of nextPageToken in the response + # indicates that more results might be available. # @param [String] page_token # Optional. If present, then retrieve the next batch of results from the # preceding call to this method. pageToken must be the value of nextPageToken # from the previous response. The values of other method parameters should be # identical to those in the previous call. - # @param [Fixnum] page_size - # Optional. The maximum number of results to return from this request. Non- - # positive values are ignored. The presence of nextPageToken in the response - # indicates that more results might be available. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -345,324 +120,13 @@ 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_project_logs(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_billing_account_logs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/logs', options) command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation command.response_class = Google::Apis::LoggingV2::ListLogsResponse command.params['parent'] = parent unless parent.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.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 logs-based metric. - # @param [String] metric_name - # The resource name of the metric to delete: - # "projects/[PROJECT_ID]/metrics/[METRIC_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::LoggingV2::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::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_project_metric(metric_name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v2/{+metricName}', options) - command.response_representation = Google::Apis::LoggingV2::Empty::Representation - command.response_class = Google::Apis::LoggingV2::Empty - command.params['metricName'] = metric_name unless metric_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 a logs-based metric. - # @param [String] metric_name - # The resource name of the desired metric: - # "projects/[PROJECT_ID]/metrics/[METRIC_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::LoggingV2::LogMetric] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::LogMetric] - # - # @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_project_metric(metric_name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+metricName}', options) - command.response_representation = Google::Apis::LoggingV2::LogMetric::Representation - command.response_class = Google::Apis::LoggingV2::LogMetric - command.params['metricName'] = metric_name unless metric_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 logs-based metrics. - # @param [String] parent - # Required. The name of the project containing the metrics: - # "projects/[PROJECT_ID]" - # @param [String] page_token - # Optional. If present, then retrieve the next batch of results from the - # preceding call to this method. pageToken must be the value of nextPageToken - # from the previous response. The values of other method parameters should be - # identical to those in the previous call. - # @param [Fixnum] page_size - # Optional. The maximum number of results to return from this request. Non- - # positive values are ignored. The presence of nextPageToken in the response - # indicates that more results might be available. - # @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::LoggingV2::ListLogMetricsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::ListLogMetricsResponse] - # - # @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_project_metrics(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+parent}/metrics', options) - command.response_representation = Google::Apis::LoggingV2::ListLogMetricsResponse::Representation - command.response_class = Google::Apis::LoggingV2::ListLogMetricsResponse - command.params['parent'] = parent unless parent.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Creates or updates a logs-based metric. - # @param [String] metric_name - # The resource name of the metric to update: - # "projects/[PROJECT_ID]/metrics/[METRIC_ID]" - # The updated metric must be provided in the request and it's name field must be - # the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a - # new metric is created. - # @param [Google::Apis::LoggingV2::LogMetric] log_metric_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::LoggingV2::LogMetric] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::LogMetric] - # - # @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_project_metric(metric_name, log_metric_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v2/{+metricName}', options) - command.request_representation = Google::Apis::LoggingV2::LogMetric::Representation - command.request_object = log_metric_object - command.response_representation = Google::Apis::LoggingV2::LogMetric::Representation - command.response_class = Google::Apis::LoggingV2::LogMetric - command.params['metricName'] = metric_name unless metric_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 - - # Creates a logs-based metric. - # @param [String] parent - # The resource name of the project in which to create the metric: - # "projects/[PROJECT_ID]" - # The new metric must be provided in the request. - # @param [Google::Apis::LoggingV2::LogMetric] log_metric_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::LoggingV2::LogMetric] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::LogMetric] - # - # @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_project_metric(parent, log_metric_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/{+parent}/metrics', options) - command.request_representation = Google::Apis::LoggingV2::LogMetric::Representation - command.request_object = log_metric_object - command.response_representation = Google::Apis::LoggingV2::LogMetric::Representation - command.response_class = Google::Apis::LoggingV2::LogMetric - command.params['parent'] = parent unless parent.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 a sink. - # @param [String] sink_name - # Required. The resource name of the sink: - # "projects/[PROJECT_ID]/sinks/[SINK_ID]" - # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" - # "folders/[FOLDER_ID]/sinks/[SINK_ID]" - # Example: "projects/my-project-id/sinks/my-sink-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::LoggingV2::LogSink] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::LogSink] - # - # @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_billing_account_sink(sink_name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+sinkName}', options) - command.response_representation = Google::Apis::LoggingV2::LogSink::Representation - command.response_class = Google::Apis::LoggingV2::LogSink - command.params['sinkName'] = sink_name unless sink_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 sinks. - # @param [String] parent - # Required. The parent resource whose sinks are to be listed: - # "projects/[PROJECT_ID]" - # "organizations/[ORGANIZATION_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]" - # "folders/[FOLDER_ID]" - # @param [String] page_token - # Optional. If present, then retrieve the next batch of results from the - # preceding call to this method. pageToken must be the value of nextPageToken - # from the previous response. The values of other method parameters should be - # identical to those in the previous call. - # @param [Fixnum] page_size - # Optional. The maximum number of results to return from this request. Non- - # positive values are ignored. The presence of nextPageToken in the response - # indicates that more results might be available. - # @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::LoggingV2::ListSinksResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::ListSinksResponse] - # - # @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_billing_account_sinks(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+parent}/sinks', options) - command.response_representation = Google::Apis::LoggingV2::ListSinksResponse::Representation - command.response_class = Google::Apis::LoggingV2::ListSinksResponse - command.params['parent'] = parent unless parent.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.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 sink. If the named sink doesn't exist, then this method is identical - # to sinks.create. If the named sink does exist, then this method replaces the - # following fields in the existing sink with values from the new sink: - # destination, filter, output_version_format, start_time, and end_time. The - # updated filter might also have a new writer_identity; see the - # unique_writer_identity field. - # @param [String] sink_name - # Required. The full resource name of the sink to update, including the parent - # resource and the sink identifier: - # "projects/[PROJECT_ID]/sinks/[SINK_ID]" - # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" - # "folders/[FOLDER_ID]/sinks/[SINK_ID]" - # Example: "projects/my-project-id/sinks/my-sink-id". - # @param [Google::Apis::LoggingV2::LogSink] log_sink_object - # @param [Boolean] unique_writer_identity - # Optional. See sinks.create for a description of this field. When updating a - # sink, the effect of this field on the value of writer_identity in the updated - # sink depends on both the old and new values of this field: - # If the old and new values of this field are both false or both true, then - # there is no change to the sink's writer_identity. - # If the old value is false and the new value is true, then writer_identity is - # changed to a unique service account. - # It is an error if the old value is true and the new value is set to false or - # defaulted to false. - # @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::LoggingV2::LogSink] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::LogSink] - # - # @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_billing_account_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v2/{+sinkName}', options) - command.request_representation = Google::Apis::LoggingV2::LogSink::Representation - command.request_object = log_sink_object - command.response_representation = Google::Apis::LoggingV2::LogSink::Representation - command.response_class = Google::Apis::LoggingV2::LogSink - command.params['sinkName'] = sink_name unless sink_name.nil? - command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -758,23 +222,14 @@ module Google execute_or_queue_command(command, &block) end - # Lists the logs in projects, organizations, folders, or billing accounts. Only - # logs that have entries are listed. - # @param [String] parent - # Required. The resource name that owns the logs: - # "projects/[PROJECT_ID]" - # "organizations/[ORGANIZATION_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]" - # "folders/[FOLDER_ID]" - # @param [String] page_token - # Optional. If present, then retrieve the next batch of results from the - # preceding call to this method. pageToken must be the value of nextPageToken - # from the previous response. The values of other method parameters should be - # identical to those in the previous call. - # @param [Fixnum] page_size - # Optional. The maximum number of results to return from this request. Non- - # positive values are ignored. The presence of nextPageToken in the response - # indicates that more results might be available. + # Gets a sink. + # @param [String] sink_name + # Required. The resource name of the sink: + # "projects/[PROJECT_ID]/sinks/[SINK_ID]" + # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + # "folders/[FOLDER_ID]/sinks/[SINK_ID]" + # Example: "projects/my-project-id/sinks/my-sink-id". # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -784,21 +239,231 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::ListLogsResponse] parsed result object + # @yieldparam result [Google::Apis::LoggingV2::LogSink] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::LoggingV2::ListLogsResponse] + # @return [Google::Apis::LoggingV2::LogSink] # # @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_billing_account_logs(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+parent}/logs', options) - command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation - command.response_class = Google::Apis::LoggingV2::ListLogsResponse + def get_billing_account_sink(sink_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+sinkName}', options) + command.response_representation = Google::Apis::LoggingV2::LogSink::Representation + command.response_class = Google::Apis::LoggingV2::LogSink + command.params['sinkName'] = sink_name unless sink_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 sinks. + # @param [String] parent + # Required. The parent resource whose sinks are to be listed: + # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" + # @param [Fixnum] page_size + # Optional. The maximum number of results to return from this request. Non- + # positive values are ignored. The presence of nextPageToken in the response + # indicates that more results might be available. + # @param [String] page_token + # Optional. If present, then retrieve the next batch of results from the + # preceding call to this method. pageToken must be the value of nextPageToken + # from the previous response. The values of other method parameters should be + # identical to those in the previous call. + # @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::LoggingV2::ListSinksResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::ListSinksResponse] + # + # @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_billing_account_sinks(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+parent}/sinks', options) + command.response_representation = Google::Apis::LoggingV2::ListSinksResponse::Representation + command.response_class = Google::Apis::LoggingV2::ListSinksResponse command.params['parent'] = parent unless parent.nil? - command.query['pageToken'] = page_token unless page_token.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 + + # Updates a sink. This method replaces the following fields in the existing sink + # with values from the new sink: destination, filter, output_version_format, + # start_time, and end_time. The updated sink might also have a new + # writer_identity; see the unique_writer_identity field. + # @param [String] sink_name + # Required. The full resource name of the sink to update, including the parent + # resource and the sink identifier: + # "projects/[PROJECT_ID]/sinks/[SINK_ID]" + # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + # "folders/[FOLDER_ID]/sinks/[SINK_ID]" + # Example: "projects/my-project-id/sinks/my-sink-id". + # @param [Google::Apis::LoggingV2::LogSink] log_sink_object + # @param [Boolean] unique_writer_identity + # Optional. See sinks.create for a description of this field. When updating a + # sink, the effect of this field on the value of writer_identity in the updated + # sink depends on both the old and new values of this field: + # If the old and new values of this field are both false or both true, then + # there is no change to the sink's writer_identity. + # If the old value is false and the new value is true, then writer_identity is + # changed to a unique service account. + # It is an error if the old value is true and the new value is set to false or + # defaulted to false. + # @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::LoggingV2::LogSink] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::LogSink] + # + # @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_billing_account_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v2/{+sinkName}', options) + command.request_representation = Google::Apis::LoggingV2::LogSink::Representation + command.request_object = log_sink_object + command.response_representation = Google::Apis::LoggingV2::LogSink::Representation + command.response_class = Google::Apis::LoggingV2::LogSink + command.params['sinkName'] = sink_name unless sink_name.nil? + command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.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 sink. This method replaces the following fields in the existing sink + # with values from the new sink: destination, filter, output_version_format, + # start_time, and end_time. The updated sink might also have a new + # writer_identity; see the unique_writer_identity field. + # @param [String] sink_name + # Required. The full resource name of the sink to update, including the parent + # resource and the sink identifier: + # "projects/[PROJECT_ID]/sinks/[SINK_ID]" + # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + # "folders/[FOLDER_ID]/sinks/[SINK_ID]" + # Example: "projects/my-project-id/sinks/my-sink-id". + # @param [Google::Apis::LoggingV2::LogSink] log_sink_object + # @param [Boolean] unique_writer_identity + # Optional. See sinks.create for a description of this field. When updating a + # sink, the effect of this field on the value of writer_identity in the updated + # sink depends on both the old and new values of this field: + # If the old and new values of this field are both false or both true, then + # there is no change to the sink's writer_identity. + # If the old value is false and the new value is true, then writer_identity is + # changed to a unique service account. + # It is an error if the old value is true and the new value is set to false or + # defaulted to false. + # @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::LoggingV2::LogSink] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::LogSink] + # + # @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_billing_account_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v2/{+sinkName}', options) + command.request_representation = Google::Apis::LoggingV2::LogSink::Representation + command.request_object = log_sink_object + command.response_representation = Google::Apis::LoggingV2::LogSink::Representation + command.response_class = Google::Apis::LoggingV2::LogSink + command.params['sinkName'] = sink_name unless sink_name.nil? + command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.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 log entries. Use this method to retrieve log entries from Stackdriver + # Logging. For ways to export log entries, see Exporting Logs. + # @param [Google::Apis::LoggingV2::ListLogEntriesRequest] list_log_entries_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::LoggingV2::ListLogEntriesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::ListLogEntriesResponse] + # + # @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_entry_log_entries(list_log_entries_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/entries:list', options) + command.request_representation = Google::Apis::LoggingV2::ListLogEntriesRequest::Representation + command.request_object = list_log_entries_request_object + command.response_representation = Google::Apis::LoggingV2::ListLogEntriesResponse::Representation + command.response_class = Google::Apis::LoggingV2::ListLogEntriesResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Writes log entries to Stackdriver Logging. + # @param [Google::Apis::LoggingV2::WriteLogEntriesRequest] write_log_entries_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::LoggingV2::WriteLogEntriesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::WriteLogEntriesResponse] + # + # @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 write_entry_log_entries(write_log_entries_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/entries:write', options) + command.request_representation = Google::Apis::LoggingV2::WriteLogEntriesRequest::Representation + command.request_object = write_log_entries_request_object + command.response_representation = Google::Apis::LoggingV2::WriteLogEntriesResponse::Representation + command.response_class = Google::Apis::LoggingV2::WriteLogEntriesResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -833,7 +498,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 delete_billing_account_log(log_name, fields: nil, quota_user: nil, options: nil, &block) + def delete_folder_log(log_name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/{+logName}', options) command.response_representation = Google::Apis::LoggingV2::Empty::Representation command.response_class = Google::Apis::LoggingV2::Empty @@ -843,6 +508,105 @@ module Google execute_or_queue_command(command, &block) end + # Lists the logs in projects, organizations, folders, or billing accounts. Only + # logs that have entries are listed. + # @param [String] parent + # Required. The resource name that owns the logs: + # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" + # @param [Fixnum] page_size + # Optional. The maximum number of results to return from this request. Non- + # positive values are ignored. The presence of nextPageToken in the response + # indicates that more results might be available. + # @param [String] page_token + # Optional. If present, then retrieve the next batch of results from the + # preceding call to this method. pageToken must be the value of nextPageToken + # from the previous response. The values of other method parameters should be + # identical to those in the previous call. + # @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::LoggingV2::ListLogsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::ListLogsResponse] + # + # @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_folder_logs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+parent}/logs', options) + command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation + command.response_class = Google::Apis::LoggingV2::ListLogsResponse + command.params['parent'] = parent unless parent.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 + + # Creates a sink that exports specified log entries to a destination. The export + # of newly-ingested log entries begins immediately, unless the current time is + # outside the sink's start and end times or the sink's writer_identity is not + # permitted to write to the destination. A sink can export log entries only from + # the resource owning the sink. + # @param [String] parent + # Required. The resource in which to create the sink: + # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" + # Examples: "projects/my-logging-project", "organizations/123456789". + # @param [Google::Apis::LoggingV2::LogSink] log_sink_object + # @param [Boolean] unique_writer_identity + # Optional. Determines the kind of IAM identity returned as writer_identity in + # the new sink. If this value is omitted or set to false, and if the sink's + # parent is a project, then the value returned as writer_identity is the same + # group or service account used by Stackdriver Logging before the addition of + # writer identities to this API. The sink's destination must be in the same + # project as the sink itself.If this field is set to true, or if the sink is + # owned by a non-project resource such as an organization, then the value of + # writer_identity will be a unique service account used only for exports from + # the new sink. For more information, see writer_identity in LogSink. + # @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::LoggingV2::LogSink] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::LogSink] + # + # @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_folder_sink(parent, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/{+parent}/sinks', options) + command.request_representation = Google::Apis::LoggingV2::LogSink::Representation + command.request_object = log_sink_object + command.response_representation = Google::Apis::LoggingV2::LogSink::Representation + command.response_class = Google::Apis::LoggingV2::LogSink + command.params['parent'] = parent unless parent.nil? + command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.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 sink. If the sink has a unique writer_identity, then that service # account is also deleted. # @param [String] sink_name @@ -960,12 +724,63 @@ module Google execute_or_queue_command(command, &block) end - # Updates a sink. If the named sink doesn't exist, then this method is identical - # to sinks.create. If the named sink does exist, then this method replaces the - # following fields in the existing sink with values from the new sink: - # destination, filter, output_version_format, start_time, and end_time. The - # updated filter might also have a new writer_identity; see the - # unique_writer_identity field. + # Updates a sink. This method replaces the following fields in the existing sink + # with values from the new sink: destination, filter, output_version_format, + # start_time, and end_time. The updated sink might also have a new + # writer_identity; see the unique_writer_identity field. + # @param [String] sink_name + # Required. The full resource name of the sink to update, including the parent + # resource and the sink identifier: + # "projects/[PROJECT_ID]/sinks/[SINK_ID]" + # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + # "folders/[FOLDER_ID]/sinks/[SINK_ID]" + # Example: "projects/my-project-id/sinks/my-sink-id". + # @param [Google::Apis::LoggingV2::LogSink] log_sink_object + # @param [Boolean] unique_writer_identity + # Optional. See sinks.create for a description of this field. When updating a + # sink, the effect of this field on the value of writer_identity in the updated + # sink depends on both the old and new values of this field: + # If the old and new values of this field are both false or both true, then + # there is no change to the sink's writer_identity. + # If the old value is false and the new value is true, then writer_identity is + # changed to a unique service account. + # It is an error if the old value is true and the new value is set to false or + # defaulted to false. + # @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::LoggingV2::LogSink] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::LogSink] + # + # @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_folder_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v2/{+sinkName}', options) + command.request_representation = Google::Apis::LoggingV2::LogSink::Representation + command.request_object = log_sink_object + command.response_representation = Google::Apis::LoggingV2::LogSink::Representation + command.response_class = Google::Apis::LoggingV2::LogSink + command.params['sinkName'] = sink_name unless sink_name.nil? + command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.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 sink. This method replaces the following fields in the existing sink + # with values from the new sink: destination, filter, output_version_format, + # start_time, and end_time. The updated sink might also have a new + # writer_identity; see the unique_writer_identity field. # @param [String] sink_name # Required. The full resource name of the sink to update, including the parent # resource and the sink identifier: @@ -1015,6 +830,129 @@ module Google execute_or_queue_command(command, &block) end + # Lists the descriptors for monitored resource types used by Stackdriver Logging. + # @param [Fixnum] page_size + # Optional. The maximum number of results to return from this request. Non- + # positive values are ignored. The presence of nextPageToken in the response + # indicates that more results might be available. + # @param [String] page_token + # Optional. If present, then retrieve the next batch of results from the + # preceding call to this method. pageToken must be the value of nextPageToken + # from the previous response. The values of other method parameters should be + # identical to those in the previous call. + # @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::LoggingV2::ListMonitoredResourceDescriptorsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::ListMonitoredResourceDescriptorsResponse] + # + # @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_monitored_resource_descriptors(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/monitoredResourceDescriptors', options) + command.response_representation = Google::Apis::LoggingV2::ListMonitoredResourceDescriptorsResponse::Representation + command.response_class = Google::Apis::LoggingV2::ListMonitoredResourceDescriptorsResponse + 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 + + # Deletes all the log entries in a log. The log reappears if it receives new + # entries. Log entries written shortly before the delete operation might not be + # deleted. + # @param [String] log_name + # Required. The resource name of the log to delete: + # "projects/[PROJECT_ID]/logs/[LOG_ID]" + # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + # "folders/[FOLDER_ID]/logs/[LOG_ID]" + # [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog" + # , "organizations/1234567890/logs/cloudresourcemanager.googleapis.com% + # 2Factivity". For more information about log names, see LogEntry. + # @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::LoggingV2::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::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_organization_log(log_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2/{+logName}', options) + command.response_representation = Google::Apis::LoggingV2::Empty::Representation + command.response_class = Google::Apis::LoggingV2::Empty + command.params['logName'] = log_name unless log_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 the logs in projects, organizations, folders, or billing accounts. Only + # logs that have entries are listed. + # @param [String] parent + # Required. The resource name that owns the logs: + # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" + # @param [Fixnum] page_size + # Optional. The maximum number of results to return from this request. Non- + # positive values are ignored. The presence of nextPageToken in the response + # indicates that more results might be available. + # @param [String] page_token + # Optional. If present, then retrieve the next batch of results from the + # preceding call to this method. pageToken must be the value of nextPageToken + # from the previous response. The values of other method parameters should be + # identical to those in the previous call. + # @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::LoggingV2::ListLogsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::ListLogsResponse] + # + # @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_organization_logs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+parent}/logs', options) + command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation + command.response_class = Google::Apis::LoggingV2::ListLogsResponse + command.params['parent'] = parent unless parent.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 + # Creates a sink that exports specified log entries to a destination. The export # of newly-ingested log entries begins immediately, unless the current time is # outside the sink's start and end times or the sink's writer_identity is not @@ -1055,7 +993,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 create_folder_sink(parent, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) + def create_organization_sink(parent, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/sinks', options) command.request_representation = Google::Apis::LoggingV2::LogSink::Representation command.request_object = log_sink_object @@ -1068,129 +1006,6 @@ module Google execute_or_queue_command(command, &block) end - # Deletes all the log entries in a log. The log reappears if it receives new - # entries. Log entries written shortly before the delete operation might not be - # deleted. - # @param [String] log_name - # Required. The resource name of the log to delete: - # "projects/[PROJECT_ID]/logs/[LOG_ID]" - # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" - # "folders/[FOLDER_ID]/logs/[LOG_ID]" - # [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog" - # , "organizations/1234567890/logs/cloudresourcemanager.googleapis.com% - # 2Factivity". For more information about log names, see LogEntry. - # @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::LoggingV2::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::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_folder_log(log_name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v2/{+logName}', options) - command.response_representation = Google::Apis::LoggingV2::Empty::Representation - command.response_class = Google::Apis::LoggingV2::Empty - command.params['logName'] = log_name unless log_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 the logs in projects, organizations, folders, or billing accounts. Only - # logs that have entries are listed. - # @param [String] parent - # Required. The resource name that owns the logs: - # "projects/[PROJECT_ID]" - # "organizations/[ORGANIZATION_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]" - # "folders/[FOLDER_ID]" - # @param [String] page_token - # Optional. If present, then retrieve the next batch of results from the - # preceding call to this method. pageToken must be the value of nextPageToken - # from the previous response. The values of other method parameters should be - # identical to those in the previous call. - # @param [Fixnum] page_size - # Optional. The maximum number of results to return from this request. Non- - # positive values are ignored. The presence of nextPageToken in the response - # indicates that more results might be available. - # @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::LoggingV2::ListLogsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::ListLogsResponse] - # - # @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_folder_logs(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+parent}/logs', options) - command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation - command.response_class = Google::Apis::LoggingV2::ListLogsResponse - command.params['parent'] = parent unless parent.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.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 the descriptors for monitored resource types used by Stackdriver Logging. - # @param [String] page_token - # Optional. If present, then retrieve the next batch of results from the - # preceding call to this method. pageToken must be the value of nextPageToken - # from the previous response. The values of other method parameters should be - # identical to those in the previous call. - # @param [Fixnum] page_size - # Optional. The maximum number of results to return from this request. Non- - # positive values are ignored. The presence of nextPageToken in the response - # indicates that more results might be available. - # @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::LoggingV2::ListMonitoredResourceDescriptorsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::ListMonitoredResourceDescriptorsResponse] - # - # @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_monitored_resource_descriptors(page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/monitoredResourceDescriptors', options) - command.response_representation = Google::Apis::LoggingV2::ListMonitoredResourceDescriptorsResponse::Representation - command.response_class = Google::Apis::LoggingV2::ListMonitoredResourceDescriptorsResponse - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.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 sink. If the sink has a unique writer_identity, then that service # account is also deleted. # @param [String] sink_name @@ -1308,12 +1123,63 @@ module Google execute_or_queue_command(command, &block) end - # Updates a sink. If the named sink doesn't exist, then this method is identical - # to sinks.create. If the named sink does exist, then this method replaces the - # following fields in the existing sink with values from the new sink: - # destination, filter, output_version_format, start_time, and end_time. The - # updated filter might also have a new writer_identity; see the - # unique_writer_identity field. + # Updates a sink. This method replaces the following fields in the existing sink + # with values from the new sink: destination, filter, output_version_format, + # start_time, and end_time. The updated sink might also have a new + # writer_identity; see the unique_writer_identity field. + # @param [String] sink_name + # Required. The full resource name of the sink to update, including the parent + # resource and the sink identifier: + # "projects/[PROJECT_ID]/sinks/[SINK_ID]" + # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + # "folders/[FOLDER_ID]/sinks/[SINK_ID]" + # Example: "projects/my-project-id/sinks/my-sink-id". + # @param [Google::Apis::LoggingV2::LogSink] log_sink_object + # @param [Boolean] unique_writer_identity + # Optional. See sinks.create for a description of this field. When updating a + # sink, the effect of this field on the value of writer_identity in the updated + # sink depends on both the old and new values of this field: + # If the old and new values of this field are both false or both true, then + # there is no change to the sink's writer_identity. + # If the old value is false and the new value is true, then writer_identity is + # changed to a unique service account. + # It is an error if the old value is true and the new value is set to false or + # defaulted to false. + # @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::LoggingV2::LogSink] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::LogSink] + # + # @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_organization_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v2/{+sinkName}', options) + command.request_representation = Google::Apis::LoggingV2::LogSink::Representation + command.request_object = log_sink_object + command.response_representation = Google::Apis::LoggingV2::LogSink::Representation + command.response_class = Google::Apis::LoggingV2::LogSink + command.params['sinkName'] = sink_name unless sink_name.nil? + command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.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 sink. This method replaces the following fields in the existing sink + # with values from the new sink: destination, filter, output_version_format, + # start_time, and end_time. The updated sink might also have a new + # writer_identity; see the unique_writer_identity field. # @param [String] sink_name # Required. The full resource name of the sink to update, including the parent # resource and the sink identifier: @@ -1363,6 +1229,267 @@ module Google execute_or_queue_command(command, &block) end + # Deletes all the log entries in a log. The log reappears if it receives new + # entries. Log entries written shortly before the delete operation might not be + # deleted. + # @param [String] log_name + # Required. The resource name of the log to delete: + # "projects/[PROJECT_ID]/logs/[LOG_ID]" + # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + # "folders/[FOLDER_ID]/logs/[LOG_ID]" + # [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog" + # , "organizations/1234567890/logs/cloudresourcemanager.googleapis.com% + # 2Factivity". For more information about log names, see LogEntry. + # @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::LoggingV2::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::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_project_log(log_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2/{+logName}', options) + command.response_representation = Google::Apis::LoggingV2::Empty::Representation + command.response_class = Google::Apis::LoggingV2::Empty + command.params['logName'] = log_name unless log_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 the logs in projects, organizations, folders, or billing accounts. Only + # logs that have entries are listed. + # @param [String] parent + # Required. The resource name that owns the logs: + # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" + # @param [Fixnum] page_size + # Optional. The maximum number of results to return from this request. Non- + # positive values are ignored. The presence of nextPageToken in the response + # indicates that more results might be available. + # @param [String] page_token + # Optional. If present, then retrieve the next batch of results from the + # preceding call to this method. pageToken must be the value of nextPageToken + # from the previous response. The values of other method parameters should be + # identical to those in the previous call. + # @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::LoggingV2::ListLogsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::ListLogsResponse] + # + # @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_project_logs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+parent}/logs', options) + command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation + command.response_class = Google::Apis::LoggingV2::ListLogsResponse + command.params['parent'] = parent unless parent.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 + + # Creates a logs-based metric. + # @param [String] parent + # The resource name of the project in which to create the metric: + # "projects/[PROJECT_ID]" + # The new metric must be provided in the request. + # @param [Google::Apis::LoggingV2::LogMetric] log_metric_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::LoggingV2::LogMetric] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::LogMetric] + # + # @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_project_metric(parent, log_metric_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/{+parent}/metrics', options) + command.request_representation = Google::Apis::LoggingV2::LogMetric::Representation + command.request_object = log_metric_object + command.response_representation = Google::Apis::LoggingV2::LogMetric::Representation + command.response_class = Google::Apis::LoggingV2::LogMetric + command.params['parent'] = parent unless parent.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 logs-based metric. + # @param [String] metric_name + # The resource name of the metric to delete: + # "projects/[PROJECT_ID]/metrics/[METRIC_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::LoggingV2::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::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_project_metric(metric_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2/{+metricName}', options) + command.response_representation = Google::Apis::LoggingV2::Empty::Representation + command.response_class = Google::Apis::LoggingV2::Empty + command.params['metricName'] = metric_name unless metric_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 a logs-based metric. + # @param [String] metric_name + # The resource name of the desired metric: + # "projects/[PROJECT_ID]/metrics/[METRIC_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::LoggingV2::LogMetric] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::LogMetric] + # + # @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_project_metric(metric_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+metricName}', options) + command.response_representation = Google::Apis::LoggingV2::LogMetric::Representation + command.response_class = Google::Apis::LoggingV2::LogMetric + command.params['metricName'] = metric_name unless metric_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 logs-based metrics. + # @param [String] parent + # Required. The name of the project containing the metrics: + # "projects/[PROJECT_ID]" + # @param [Fixnum] page_size + # Optional. The maximum number of results to return from this request. Non- + # positive values are ignored. The presence of nextPageToken in the response + # indicates that more results might be available. + # @param [String] page_token + # Optional. If present, then retrieve the next batch of results from the + # preceding call to this method. pageToken must be the value of nextPageToken + # from the previous response. The values of other method parameters should be + # identical to those in the previous call. + # @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::LoggingV2::ListLogMetricsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::ListLogMetricsResponse] + # + # @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_project_metrics(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+parent}/metrics', options) + command.response_representation = Google::Apis::LoggingV2::ListLogMetricsResponse::Representation + command.response_class = Google::Apis::LoggingV2::ListLogMetricsResponse + command.params['parent'] = parent unless parent.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 + + # Creates or updates a logs-based metric. + # @param [String] metric_name + # The resource name of the metric to update: + # "projects/[PROJECT_ID]/metrics/[METRIC_ID]" + # The updated metric must be provided in the request and it's name field must be + # the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a + # new metric is created. + # @param [Google::Apis::LoggingV2::LogMetric] log_metric_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::LoggingV2::LogMetric] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::LogMetric] + # + # @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_project_metric(metric_name, log_metric_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v2/{+metricName}', options) + command.request_representation = Google::Apis::LoggingV2::LogMetric::Representation + command.request_object = log_metric_object + command.response_representation = Google::Apis::LoggingV2::LogMetric::Representation + command.response_class = Google::Apis::LoggingV2::LogMetric + command.params['metricName'] = metric_name unless metric_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 + # Creates a sink that exports specified log entries to a destination. The export # of newly-ingested log entries begins immediately, unless the current time is # outside the sink's start and end times or the sink's writer_identity is not @@ -1403,7 +1530,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 create_organization_sink(parent, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) + def create_project_sink(parent, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/{+parent}/sinks', options) command.request_representation = Google::Apis::LoggingV2::LogSink::Representation command.request_object = log_sink_object @@ -1416,18 +1543,16 @@ module Google execute_or_queue_command(command, &block) end - # Deletes all the log entries in a log. The log reappears if it receives new - # entries. Log entries written shortly before the delete operation might not be - # deleted. - # @param [String] log_name - # Required. The resource name of the log to delete: - # "projects/[PROJECT_ID]/logs/[LOG_ID]" - # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" - # "folders/[FOLDER_ID]/logs/[LOG_ID]" - # [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog" - # , "organizations/1234567890/logs/cloudresourcemanager.googleapis.com% - # 2Factivity". For more information about log names, see LogEntry. + # Deletes a sink. If the sink has a unique writer_identity, then that service + # account is also deleted. + # @param [String] sink_name + # Required. The full resource name of the sink to delete, including the parent + # resource and the sink identifier: + # "projects/[PROJECT_ID]/sinks/[SINK_ID]" + # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + # "folders/[FOLDER_ID]/sinks/[SINK_ID]" + # Example: "projects/my-project-id/sinks/my-sink-id". # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1445,33 +1570,67 @@ 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 delete_organization_log(log_name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v2/{+logName}', options) + def delete_project_sink(sink_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2/{+sinkName}', options) command.response_representation = Google::Apis::LoggingV2::Empty::Representation command.response_class = Google::Apis::LoggingV2::Empty - command.params['logName'] = log_name unless log_name.nil? + command.params['sinkName'] = sink_name unless sink_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 the logs in projects, organizations, folders, or billing accounts. Only - # logs that have entries are listed. + # Gets a sink. + # @param [String] sink_name + # Required. The resource name of the sink: + # "projects/[PROJECT_ID]/sinks/[SINK_ID]" + # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + # "folders/[FOLDER_ID]/sinks/[SINK_ID]" + # Example: "projects/my-project-id/sinks/my-sink-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::LoggingV2::LogSink] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::LogSink] + # + # @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_project_sink(sink_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+sinkName}', options) + command.response_representation = Google::Apis::LoggingV2::LogSink::Representation + command.response_class = Google::Apis::LoggingV2::LogSink + command.params['sinkName'] = sink_name unless sink_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 sinks. # @param [String] parent - # Required. The resource name that owns the logs: + # Required. The parent resource whose sinks are to be listed: # "projects/[PROJECT_ID]" # "organizations/[ORGANIZATION_ID]" # "billingAccounts/[BILLING_ACCOUNT_ID]" # "folders/[FOLDER_ID]" + # @param [Fixnum] page_size + # Optional. The maximum number of results to return from this request. Non- + # positive values are ignored. The presence of nextPageToken in the response + # indicates that more results might be available. # @param [String] page_token # Optional. If present, then retrieve the next batch of results from the # preceding call to this method. pageToken must be the value of nextPageToken # from the previous response. The values of other method parameters should be # identical to those in the previous call. - # @param [Fixnum] page_size - # Optional. The maximum number of results to return from this request. Non- - # positive values are ignored. The presence of nextPageToken in the response - # indicates that more results might be available. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1481,29 +1640,49 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::ListLogsResponse] parsed result object + # @yieldparam result [Google::Apis::LoggingV2::ListSinksResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::LoggingV2::ListLogsResponse] + # @return [Google::Apis::LoggingV2::ListSinksResponse] # # @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_organization_logs(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+parent}/logs', options) - command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation - command.response_class = Google::Apis::LoggingV2::ListLogsResponse + def list_project_sinks(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+parent}/sinks', options) + command.response_representation = Google::Apis::LoggingV2::ListSinksResponse::Representation + command.response_class = Google::Apis::LoggingV2::ListSinksResponse command.params['parent'] = parent unless parent.nil? - command.query['pageToken'] = page_token unless page_token.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 - # Lists log entries. Use this method to retrieve log entries from Stackdriver - # Logging. For ways to export log entries, see Exporting Logs. - # @param [Google::Apis::LoggingV2::ListLogEntriesRequest] list_log_entries_request_object + # Updates a sink. This method replaces the following fields in the existing sink + # with values from the new sink: destination, filter, output_version_format, + # start_time, and end_time. The updated sink might also have a new + # writer_identity; see the unique_writer_identity field. + # @param [String] sink_name + # Required. The full resource name of the sink to update, including the parent + # resource and the sink identifier: + # "projects/[PROJECT_ID]/sinks/[SINK_ID]" + # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + # "folders/[FOLDER_ID]/sinks/[SINK_ID]" + # Example: "projects/my-project-id/sinks/my-sink-id". + # @param [Google::Apis::LoggingV2::LogSink] log_sink_object + # @param [Boolean] unique_writer_identity + # Optional. See sinks.create for a description of this field. When updating a + # sink, the effect of this field on the value of writer_identity in the updated + # sink depends on both the old and new values of this field: + # If the old and new values of this field are both false or both true, then + # there is no change to the sink's writer_identity. + # If the old value is false and the new value is true, then writer_identity is + # changed to a unique service account. + # It is an error if the old value is true and the new value is set to false or + # defaulted to false. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1513,27 +1692,50 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::ListLogEntriesResponse] parsed result object + # @yieldparam result [Google::Apis::LoggingV2::LogSink] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::LoggingV2::ListLogEntriesResponse] + # @return [Google::Apis::LoggingV2::LogSink] # # @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_entry_log_entries(list_log_entries_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/entries:list', options) - command.request_representation = Google::Apis::LoggingV2::ListLogEntriesRequest::Representation - command.request_object = list_log_entries_request_object - command.response_representation = Google::Apis::LoggingV2::ListLogEntriesResponse::Representation - command.response_class = Google::Apis::LoggingV2::ListLogEntriesResponse + def patch_project_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v2/{+sinkName}', options) + command.request_representation = Google::Apis::LoggingV2::LogSink::Representation + command.request_object = log_sink_object + command.response_representation = Google::Apis::LoggingV2::LogSink::Representation + command.response_class = Google::Apis::LoggingV2::LogSink + command.params['sinkName'] = sink_name unless sink_name.nil? + command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Writes log entries to Stackdriver Logging. - # @param [Google::Apis::LoggingV2::WriteLogEntriesRequest] write_log_entries_request_object + # Updates a sink. This method replaces the following fields in the existing sink + # with values from the new sink: destination, filter, output_version_format, + # start_time, and end_time. The updated sink might also have a new + # writer_identity; see the unique_writer_identity field. + # @param [String] sink_name + # Required. The full resource name of the sink to update, including the parent + # resource and the sink identifier: + # "projects/[PROJECT_ID]/sinks/[SINK_ID]" + # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + # "folders/[FOLDER_ID]/sinks/[SINK_ID]" + # Example: "projects/my-project-id/sinks/my-sink-id". + # @param [Google::Apis::LoggingV2::LogSink] log_sink_object + # @param [Boolean] unique_writer_identity + # Optional. See sinks.create for a description of this field. When updating a + # sink, the effect of this field on the value of writer_identity in the updated + # sink depends on both the old and new values of this field: + # If the old and new values of this field are both false or both true, then + # there is no change to the sink's writer_identity. + # If the old value is false and the new value is true, then writer_identity is + # changed to a unique service account. + # It is an error if the old value is true and the new value is set to false or + # defaulted to false. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1543,20 +1745,22 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::WriteLogEntriesResponse] parsed result object + # @yieldparam result [Google::Apis::LoggingV2::LogSink] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::LoggingV2::WriteLogEntriesResponse] + # @return [Google::Apis::LoggingV2::LogSink] # # @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 write_entry_log_entries(write_log_entries_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/entries:write', options) - command.request_representation = Google::Apis::LoggingV2::WriteLogEntriesRequest::Representation - command.request_object = write_log_entries_request_object - command.response_representation = Google::Apis::LoggingV2::WriteLogEntriesResponse::Representation - command.response_class = Google::Apis::LoggingV2::WriteLogEntriesResponse + def update_project_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v2/{+sinkName}', options) + command.request_representation = Google::Apis::LoggingV2::LogSink::Representation + command.request_object = log_sink_object + command.response_representation = Google::Apis::LoggingV2::LogSink::Representation + command.response_class = Google::Apis::LoggingV2::LogSink + command.params['sinkName'] = sink_name unless sink_name.nil? + command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/manufacturers_v1.rb b/generated/google/apis/manufacturers_v1.rb index 9a7abcab5..6ced34ff2 100644 --- a/generated/google/apis/manufacturers_v1.rb +++ b/generated/google/apis/manufacturers_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/manufacturers/ module ManufacturersV1 VERSION = 'V1' - REVISION = '20170703' + REVISION = '20170808' # Manage your product listings for Google Manufacturer Center AUTH_MANUFACTURERCENTER = 'https://www.googleapis.com/auth/manufacturercenter' diff --git a/generated/google/apis/manufacturers_v1/classes.rb b/generated/google/apis/manufacturers_v1/classes.rb index 03df0e89f..39c1a3e26 100644 --- a/generated/google/apis/manufacturers_v1/classes.rb +++ b/generated/google/apis/manufacturers_v1/classes.rb @@ -22,6 +22,250 @@ module Google module Apis module ManufacturersV1 + # Attributes of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116. + class Attributes + include Google::Apis::Core::Hashable + + # The additional images of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#addlimage. + # Corresponds to the JSON property `additionalImageLink` + # @return [Array] + attr_accessor :additional_image_link + + # The target age group of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#agegroup. + # Corresponds to the JSON property `ageGroup` + # @return [String] + attr_accessor :age_group + + # The brand name of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#brand. + # Corresponds to the JSON property `brand` + # @return [String] + attr_accessor :brand + + # The capacity of a product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#capacity. + # Corresponds to the JSON property `capacity` + # @return [Google::Apis::ManufacturersV1::Capacity] + attr_accessor :capacity + + # The color of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#color. + # Corresponds to the JSON property `color` + # @return [String] + attr_accessor :color + + # The number of products in a single package. For more information, see + # https://support.google.com/manufacturers/answer/6124116#count. + # Corresponds to the JSON property `count` + # @return [Google::Apis::ManufacturersV1::Count] + attr_accessor :count + + # The description of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#description. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The disclosure date of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#disclosure. + # Corresponds to the JSON property `disclosureDate` + # @return [String] + attr_accessor :disclosure_date + + # The rich format description of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#featuredesc. + # Corresponds to the JSON property `featureDescription` + # @return [Array] + attr_accessor :feature_description + + # The flavor of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#flavor. + # Corresponds to the JSON property `flavor` + # @return [String] + attr_accessor :flavor + + # The format of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#format. + # Corresponds to the JSON property `format` + # @return [String] + attr_accessor :format + + # The target gender of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#gender. + # Corresponds to the JSON property `gender` + # @return [String] + attr_accessor :gender + + # The Global Trade Item Number (GTIN) of the product. For more information, + # see https://support.google.com/manufacturers/answer/6124116#gtin. + # Corresponds to the JSON property `gtin` + # @return [Array] + attr_accessor :gtin + + # An image. + # Corresponds to the JSON property `imageLink` + # @return [Google::Apis::ManufacturersV1::Image] + attr_accessor :image_link + + # The item group id of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#itemgroupid. + # Corresponds to the JSON property `itemGroupId` + # @return [String] + attr_accessor :item_group_id + + # The material of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#material. + # Corresponds to the JSON property `material` + # @return [String] + attr_accessor :material + + # The Manufacturer Part Number (MPN) of the product. For more information, + # see https://support.google.com/manufacturers/answer/6124116#mpn. + # Corresponds to the JSON property `mpn` + # @return [String] + attr_accessor :mpn + + # The pattern of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#pattern. + # Corresponds to the JSON property `pattern` + # @return [String] + attr_accessor :pattern + + # The details of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#productdetail. + # Corresponds to the JSON property `productDetail` + # @return [Array] + attr_accessor :product_detail + + # The name of the group of products related to the product. For more + # information, see + # https://support.google.com/manufacturers/answer/6124116#productline. + # Corresponds to the JSON property `productLine` + # @return [String] + attr_accessor :product_line + + # The canonical name of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#productname. + # Corresponds to the JSON property `productName` + # @return [String] + attr_accessor :product_name + + # The URL of the detail page of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#productpage. + # Corresponds to the JSON property `productPageUrl` + # @return [String] + attr_accessor :product_page_url + + # The category of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#producttype. + # Corresponds to the JSON property `productType` + # @return [Array] + attr_accessor :product_type + + # The release date of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#release. + # Corresponds to the JSON property `releaseDate` + # @return [String] + attr_accessor :release_date + + # The scent of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#scent. + # Corresponds to the JSON property `scent` + # @return [String] + attr_accessor :scent + + # The size of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#size. + # Corresponds to the JSON property `size` + # @return [String] + attr_accessor :size + + # The size system of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#sizesystem. + # Corresponds to the JSON property `sizeSystem` + # @return [String] + attr_accessor :size_system + + # The size type of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#sizetype. + # Corresponds to the JSON property `sizeType` + # @return [String] + attr_accessor :size_type + + # A price. + # Corresponds to the JSON property `suggestedRetailPrice` + # @return [Google::Apis::ManufacturersV1::Price] + attr_accessor :suggested_retail_price + + # The target account id. Should only be used in the accounts of the data + # partners. + # Corresponds to the JSON property `targetAccountId` + # @return [Fixnum] + attr_accessor :target_account_id + + # The theme of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#theme. + # Corresponds to the JSON property `theme` + # @return [String] + attr_accessor :theme + + # The title of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#title. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # The videos of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#video. + # Corresponds to the JSON property `videoLink` + # @return [Array] + attr_accessor :video_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @additional_image_link = args[:additional_image_link] if args.key?(:additional_image_link) + @age_group = args[:age_group] if args.key?(:age_group) + @brand = args[:brand] if args.key?(:brand) + @capacity = args[:capacity] if args.key?(:capacity) + @color = args[:color] if args.key?(:color) + @count = args[:count] if args.key?(:count) + @description = args[:description] if args.key?(:description) + @disclosure_date = args[:disclosure_date] if args.key?(:disclosure_date) + @feature_description = args[:feature_description] if args.key?(:feature_description) + @flavor = args[:flavor] if args.key?(:flavor) + @format = args[:format] if args.key?(:format) + @gender = args[:gender] if args.key?(:gender) + @gtin = args[:gtin] if args.key?(:gtin) + @image_link = args[:image_link] if args.key?(:image_link) + @item_group_id = args[:item_group_id] if args.key?(:item_group_id) + @material = args[:material] if args.key?(:material) + @mpn = args[:mpn] if args.key?(:mpn) + @pattern = args[:pattern] if args.key?(:pattern) + @product_detail = args[:product_detail] if args.key?(:product_detail) + @product_line = args[:product_line] if args.key?(:product_line) + @product_name = args[:product_name] if args.key?(:product_name) + @product_page_url = args[:product_page_url] if args.key?(:product_page_url) + @product_type = args[:product_type] if args.key?(:product_type) + @release_date = args[:release_date] if args.key?(:release_date) + @scent = args[:scent] if args.key?(:scent) + @size = args[:size] if args.key?(:size) + @size_system = args[:size_system] if args.key?(:size_system) + @size_type = args[:size_type] if args.key?(:size_type) + @suggested_retail_price = args[:suggested_retail_price] if args.key?(:suggested_retail_price) + @target_account_id = args[:target_account_id] if args.key?(:target_account_id) + @theme = args[:theme] if args.key?(:theme) + @title = args[:title] if args.key?(:title) + @video_link = args[:video_link] if args.key?(:video_link) + end + end + # The capacity of a product. For more information, see # https://support.google.com/manufacturers/answer/6124116#capacity. class Capacity @@ -48,457 +292,6 @@ module Google end end - # - class ListProductsResponse - include Google::Apis::Core::Hashable - - # The token for the retrieval of the next page of product statuses. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # List of the products. - # Corresponds to the JSON property `products` - # @return [Array] - attr_accessor :products - - 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) - @products = args[:products] if args.key?(:products) - end - end - - # A product detail of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#productdetail. - class ProductDetail - include Google::Apis::Core::Hashable - - # A short section name that can be reused between multiple product details. - # Corresponds to the JSON property `sectionName` - # @return [String] - attr_accessor :section_name - - # The name of the attribute. - # Corresponds to the JSON property `attributeName` - # @return [String] - attr_accessor :attribute_name - - # The value of the attribute. - # Corresponds to the JSON property `attributeValue` - # @return [String] - attr_accessor :attribute_value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @section_name = args[:section_name] if args.key?(:section_name) - @attribute_name = args[:attribute_name] if args.key?(:attribute_name) - @attribute_value = args[:attribute_value] if args.key?(:attribute_value) - end - end - - # A feature description of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#featuredesc. - class FeatureDescription - include Google::Apis::Core::Hashable - - # An image. - # Corresponds to the JSON property `image` - # @return [Google::Apis::ManufacturersV1::Image] - attr_accessor :image - - # A short description of the feature. - # Corresponds to the JSON property `headline` - # @return [String] - attr_accessor :headline - - # A detailed description of the feature. - # 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) - @image = args[:image] if args.key?(:image) - @headline = args[:headline] if args.key?(:headline) - @text = args[:text] if args.key?(:text) - end - end - - # Product issue. - class Issue - include Google::Apis::Core::Hashable - - # The server-generated type of the issue, for example, - # “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # If present, the attribute that triggered the issue. For more information - # about attributes, see - # https://support.google.com/manufacturers/answer/6124116. - # Corresponds to the JSON property `attribute` - # @return [String] - attr_accessor :attribute - - # The timestamp when this issue appeared. - # Corresponds to the JSON property `timestamp` - # @return [String] - attr_accessor :timestamp - - # The severity of the issue. - # Corresponds to the JSON property `severity` - # @return [String] - attr_accessor :severity - - # Description of the issue. - # 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) - @type = args[:type] if args.key?(:type) - @attribute = args[:attribute] if args.key?(:attribute) - @timestamp = args[:timestamp] if args.key?(:timestamp) - @severity = args[:severity] if args.key?(:severity) - @description = args[:description] if args.key?(:description) - 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 - - # A price. - class Price - include Google::Apis::Core::Hashable - - # The numeric value of the price. - # Corresponds to the JSON property `amount` - # @return [String] - attr_accessor :amount - - # The currency in which the price is denoted. - # Corresponds to the JSON property `currency` - # @return [String] - attr_accessor :currency - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @amount = args[:amount] if args.key?(:amount) - @currency = args[:currency] if args.key?(:currency) - end - end - - # An image. - class Image - include Google::Apis::Core::Hashable - - # The status of the image. - # @OutputOnly - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - # The type of the image, i.e., crawled or uploaded. - # @OutputOnly - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The URL of the image. For crawled images, this is the provided URL. For - # uploaded images, this is a serving URL from Google if the image has been - # processed successfully. - # Corresponds to the JSON property `imageUrl` - # @return [String] - attr_accessor :image_url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @status = args[:status] if args.key?(:status) - @type = args[:type] if args.key?(:type) - @image_url = args[:image_url] if args.key?(:image_url) - end - end - - # Attributes of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116. - class Attributes - include Google::Apis::Core::Hashable - - # The color of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#color. - # Corresponds to the JSON property `color` - # @return [String] - attr_accessor :color - - # The canonical name of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#productname. - # Corresponds to the JSON property `productName` - # @return [String] - attr_accessor :product_name - - # The size type of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#sizetype. - # Corresponds to the JSON property `sizeType` - # @return [String] - attr_accessor :size_type - - # A price. - # Corresponds to the JSON property `suggestedRetailPrice` - # @return [Google::Apis::ManufacturersV1::Price] - attr_accessor :suggested_retail_price - - # The rich format description of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#featuredesc. - # Corresponds to the JSON property `featureDescription` - # @return [Array] - attr_accessor :feature_description - - # The size of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#size. - # Corresponds to the JSON property `size` - # @return [String] - attr_accessor :size - - # The title of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#title. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # The number of products in a single package. For more information, see - # https://support.google.com/manufacturers/answer/6124116#count. - # Corresponds to the JSON property `count` - # @return [Google::Apis::ManufacturersV1::Count] - attr_accessor :count - - # The brand name of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#brand. - # Corresponds to the JSON property `brand` - # @return [String] - attr_accessor :brand - - # The disclosure date of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#disclosure. - # Corresponds to the JSON property `disclosureDate` - # @return [String] - attr_accessor :disclosure_date - - # The material of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#material. - # Corresponds to the JSON property `material` - # @return [String] - attr_accessor :material - - # The scent of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#scent. - # Corresponds to the JSON property `scent` - # @return [String] - attr_accessor :scent - - # The flavor of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#flavor. - # Corresponds to the JSON property `flavor` - # @return [String] - attr_accessor :flavor - - # The details of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#productdetail. - # Corresponds to the JSON property `productDetail` - # @return [Array] - attr_accessor :product_detail - - # The target age group of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#agegroup. - # Corresponds to the JSON property `ageGroup` - # @return [String] - attr_accessor :age_group - - # The Manufacturer Part Number (MPN) of the product. For more information, - # see https://support.google.com/manufacturers/answer/6124116#mpn. - # Corresponds to the JSON property `mpn` - # @return [String] - attr_accessor :mpn - - # The URL of the detail page of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#productpage. - # Corresponds to the JSON property `productPageUrl` - # @return [String] - attr_accessor :product_page_url - - # The release date of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#release. - # Corresponds to the JSON property `releaseDate` - # @return [String] - attr_accessor :release_date - - # The item group id of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#itemgroupid. - # Corresponds to the JSON property `itemGroupId` - # @return [String] - attr_accessor :item_group_id - - # The Global Trade Item Number (GTIN) of the product. For more information, - # see https://support.google.com/manufacturers/answer/6124116#gtin. - # Corresponds to the JSON property `gtin` - # @return [Array] - attr_accessor :gtin - - # The name of the group of products related to the product. For more - # information, see - # https://support.google.com/manufacturers/answer/6124116#productline. - # Corresponds to the JSON property `productLine` - # @return [String] - attr_accessor :product_line - - # The capacity of a product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#capacity. - # Corresponds to the JSON property `capacity` - # @return [Google::Apis::ManufacturersV1::Capacity] - attr_accessor :capacity - - # The description of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#description. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # The target gender of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#gender. - # Corresponds to the JSON property `gender` - # @return [String] - attr_accessor :gender - - # The size system of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#sizesystem. - # Corresponds to the JSON property `sizeSystem` - # @return [String] - attr_accessor :size_system - - # The theme of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#theme. - # Corresponds to the JSON property `theme` - # @return [String] - attr_accessor :theme - - # The pattern of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#pattern. - # Corresponds to the JSON property `pattern` - # @return [String] - attr_accessor :pattern - - # An image. - # Corresponds to the JSON property `imageLink` - # @return [Google::Apis::ManufacturersV1::Image] - attr_accessor :image_link - - # The category of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#producttype. - # Corresponds to the JSON property `productType` - # @return [Array] - attr_accessor :product_type - - # The format of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#format. - # Corresponds to the JSON property `format` - # @return [String] - attr_accessor :format - - # The additional images of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#addlimage. - # Corresponds to the JSON property `additionalImageLink` - # @return [Array] - attr_accessor :additional_image_link - - # The videos of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#video. - # Corresponds to the JSON property `videoLink` - # @return [Array] - attr_accessor :video_link - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @color = args[:color] if args.key?(:color) - @product_name = args[:product_name] if args.key?(:product_name) - @size_type = args[:size_type] if args.key?(:size_type) - @suggested_retail_price = args[:suggested_retail_price] if args.key?(:suggested_retail_price) - @feature_description = args[:feature_description] if args.key?(:feature_description) - @size = args[:size] if args.key?(:size) - @title = args[:title] if args.key?(:title) - @count = args[:count] if args.key?(:count) - @brand = args[:brand] if args.key?(:brand) - @disclosure_date = args[:disclosure_date] if args.key?(:disclosure_date) - @material = args[:material] if args.key?(:material) - @scent = args[:scent] if args.key?(:scent) - @flavor = args[:flavor] if args.key?(:flavor) - @product_detail = args[:product_detail] if args.key?(:product_detail) - @age_group = args[:age_group] if args.key?(:age_group) - @mpn = args[:mpn] if args.key?(:mpn) - @product_page_url = args[:product_page_url] if args.key?(:product_page_url) - @release_date = args[:release_date] if args.key?(:release_date) - @item_group_id = args[:item_group_id] if args.key?(:item_group_id) - @gtin = args[:gtin] if args.key?(:gtin) - @product_line = args[:product_line] if args.key?(:product_line) - @capacity = args[:capacity] if args.key?(:capacity) - @description = args[:description] if args.key?(:description) - @gender = args[:gender] if args.key?(:gender) - @size_system = args[:size_system] if args.key?(:size_system) - @theme = args[:theme] if args.key?(:theme) - @pattern = args[:pattern] if args.key?(:pattern) - @image_link = args[:image_link] if args.key?(:image_link) - @product_type = args[:product_type] if args.key?(:product_type) - @format = args[:format] if args.key?(:format) - @additional_image_link = args[:additional_image_link] if args.key?(:additional_image_link) - @video_link = args[:video_link] if args.key?(:video_link) - end - end - # The number of products in a single package. For more information, see # https://support.google.com/manufacturers/answer/6124116#count. class Count @@ -525,49 +318,192 @@ module Google 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 + + # A feature description of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#featuredesc. + class FeatureDescription + include Google::Apis::Core::Hashable + + # A short description of the feature. + # Corresponds to the JSON property `headline` + # @return [String] + attr_accessor :headline + + # An image. + # Corresponds to the JSON property `image` + # @return [Google::Apis::ManufacturersV1::Image] + attr_accessor :image + + # A detailed description of the feature. + # 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) + @headline = args[:headline] if args.key?(:headline) + @image = args[:image] if args.key?(:image) + @text = args[:text] if args.key?(:text) + end + end + + # An image. + class Image + include Google::Apis::Core::Hashable + + # The URL of the image. For crawled images, this is the provided URL. For + # uploaded images, this is a serving URL from Google if the image has been + # processed successfully. + # Corresponds to the JSON property `imageUrl` + # @return [String] + attr_accessor :image_url + + # The status of the image. + # @OutputOnly + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # The type of the image, i.e., crawled or uploaded. + # @OutputOnly + # 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) + @image_url = args[:image_url] if args.key?(:image_url) + @status = args[:status] if args.key?(:status) + @type = args[:type] if args.key?(:type) + end + end + + # Product issue. + class Issue + include Google::Apis::Core::Hashable + + # If present, the attribute that triggered the issue. For more information + # about attributes, see + # https://support.google.com/manufacturers/answer/6124116. + # Corresponds to the JSON property `attribute` + # @return [String] + attr_accessor :attribute + + # Description of the issue. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The severity of the issue. + # Corresponds to the JSON property `severity` + # @return [String] + attr_accessor :severity + + # The timestamp when this issue appeared. + # Corresponds to the JSON property `timestamp` + # @return [String] + attr_accessor :timestamp + + # The server-generated type of the issue, for example, + # “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc. + # 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) + @attribute = args[:attribute] if args.key?(:attribute) + @description = args[:description] if args.key?(:description) + @severity = args[:severity] if args.key?(:severity) + @timestamp = args[:timestamp] if args.key?(:timestamp) + @type = args[:type] if args.key?(:type) + end + end + + # + class ListProductsResponse + include Google::Apis::Core::Hashable + + # The token for the retrieval of the next page of product statuses. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # List of the products. + # Corresponds to the JSON property `products` + # @return [Array] + attr_accessor :products + + 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) + @products = args[:products] if args.key?(:products) + end + end + + # A price. + class Price + include Google::Apis::Core::Hashable + + # The numeric value of the price. + # Corresponds to the JSON property `amount` + # @return [String] + attr_accessor :amount + + # The currency in which the price is denoted. + # Corresponds to the JSON property `currency` + # @return [String] + attr_accessor :currency + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @amount = args[:amount] if args.key?(:amount) + @currency = args[:currency] if args.key?(:currency) + end + end + # Product data. class Product include Google::Apis::Core::Hashable - # Attributes of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116. - # Corresponds to the JSON property `finalAttributes` - # @return [Google::Apis::ManufacturersV1::Attributes] - attr_accessor :final_attributes - - # The ID of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#id. - # @OutputOnly - # Corresponds to the JSON property `productId` - # @return [String] - attr_accessor :product_id - - # Attributes of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116. - # Corresponds to the JSON property `uploadedAttributes` - # @return [Google::Apis::ManufacturersV1::Attributes] - attr_accessor :uploaded_attributes - - # Parent ID in the format `accounts/`account_id``. - # `account_id` - The ID of the Manufacturer Center account. - # @OutputOnly - # Corresponds to the JSON property `parent` - # @return [String] - attr_accessor :parent - - # Attributes of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116. - # Corresponds to the JSON property `manuallyProvidedAttributes` - # @return [Google::Apis::ManufacturersV1::Attributes] - attr_accessor :manually_provided_attributes - - # The target country of the product as a CLDR territory code (for example, - # US). - # @OutputOnly - # Corresponds to the JSON property `targetCountry` - # @return [String] - attr_accessor :target_country - # The content language of the product as a two-letter ISO 639-1 language code # (for example, en). # @OutputOnly @@ -575,18 +511,11 @@ module Google # @return [String] attr_accessor :content_language - # Name in the format ``target_country`:`content_language`:`product_id``. - # `target_country` - The target country of the product as a CLDR territory - # code (for example, US). - # `content_language` - The content language of the product as a two-letter - # ISO 639-1 language code (for example, en). - # `product_id` - The ID of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116# - # id. - # @OutputOnly - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name + # Attributes of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116. + # Corresponds to the JSON property `finalAttributes` + # @return [Google::Apis::ManufacturersV1::Attributes] + attr_accessor :final_attributes # A server-generated list of issues associated with the product. # @OutputOnly @@ -601,22 +530,100 @@ module Google # @return [Array] attr_accessor :manually_deleted_attributes + # Attributes of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116. + # Corresponds to the JSON property `manuallyProvidedAttributes` + # @return [Google::Apis::ManufacturersV1::Attributes] + attr_accessor :manually_provided_attributes + + # Name in the format ``target_country`:`content_language`:`product_id``. + # `target_country` - The target country of the product as a CLDR territory + # code (for example, US). + # `content_language` - The content language of the product as a two-letter + # ISO 639-1 language code (for example, en). + # `product_id` - The ID of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116# + # id. + # @OutputOnly + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Parent ID in the format `accounts/`account_id``. + # `account_id` - The ID of the Manufacturer Center account. + # @OutputOnly + # Corresponds to the JSON property `parent` + # @return [String] + attr_accessor :parent + + # The ID of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#id. + # @OutputOnly + # Corresponds to the JSON property `productId` + # @return [String] + attr_accessor :product_id + + # The target country of the product as a CLDR territory code (for example, + # US). + # @OutputOnly + # Corresponds to the JSON property `targetCountry` + # @return [String] + attr_accessor :target_country + + # Attributes of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116. + # Corresponds to the JSON property `uploadedAttributes` + # @return [Google::Apis::ManufacturersV1::Attributes] + attr_accessor :uploaded_attributes + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @final_attributes = args[:final_attributes] if args.key?(:final_attributes) - @product_id = args[:product_id] if args.key?(:product_id) - @uploaded_attributes = args[:uploaded_attributes] if args.key?(:uploaded_attributes) - @parent = args[:parent] if args.key?(:parent) - @manually_provided_attributes = args[:manually_provided_attributes] if args.key?(:manually_provided_attributes) - @target_country = args[:target_country] if args.key?(:target_country) @content_language = args[:content_language] if args.key?(:content_language) - @name = args[:name] if args.key?(:name) + @final_attributes = args[:final_attributes] if args.key?(:final_attributes) @issues = args[:issues] if args.key?(:issues) @manually_deleted_attributes = args[:manually_deleted_attributes] if args.key?(:manually_deleted_attributes) + @manually_provided_attributes = args[:manually_provided_attributes] if args.key?(:manually_provided_attributes) + @name = args[:name] if args.key?(:name) + @parent = args[:parent] if args.key?(:parent) + @product_id = args[:product_id] if args.key?(:product_id) + @target_country = args[:target_country] if args.key?(:target_country) + @uploaded_attributes = args[:uploaded_attributes] if args.key?(:uploaded_attributes) + end + end + + # A product detail of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#productdetail. + class ProductDetail + include Google::Apis::Core::Hashable + + # The name of the attribute. + # Corresponds to the JSON property `attributeName` + # @return [String] + attr_accessor :attribute_name + + # The value of the attribute. + # Corresponds to the JSON property `attributeValue` + # @return [String] + attr_accessor :attribute_value + + # A short section name that can be reused between multiple product details. + # Corresponds to the JSON property `sectionName` + # @return [String] + attr_accessor :section_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attribute_name = args[:attribute_name] if args.key?(:attribute_name) + @attribute_value = args[:attribute_value] if args.key?(:attribute_value) + @section_name = args[:section_name] if args.key?(:section_name) end end end diff --git a/generated/google/apis/manufacturers_v1/representations.rb b/generated/google/apis/manufacturers_v1/representations.rb index 1e67ced67..532ee7eb9 100644 --- a/generated/google/apis/manufacturers_v1/representations.rb +++ b/generated/google/apis/manufacturers_v1/representations.rb @@ -22,72 +22,118 @@ module Google module Apis module ManufacturersV1 - class Capacity - 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 ProductDetail - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FeatureDescription - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Issue - 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 Price - 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 Attributes class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Capacity + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Count 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 FeatureDescription + 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 Issue + 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 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 ProductDetail + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Attributes + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :additional_image_link, as: 'additionalImageLink', class: Google::Apis::ManufacturersV1::Image, decorator: Google::Apis::ManufacturersV1::Image::Representation + + property :age_group, as: 'ageGroup' + property :brand, as: 'brand' + property :capacity, as: 'capacity', class: Google::Apis::ManufacturersV1::Capacity, decorator: Google::Apis::ManufacturersV1::Capacity::Representation + + property :color, as: 'color' + property :count, as: 'count', class: Google::Apis::ManufacturersV1::Count, decorator: Google::Apis::ManufacturersV1::Count::Representation + + property :description, as: 'description' + property :disclosure_date, as: 'disclosureDate' + collection :feature_description, as: 'featureDescription', class: Google::Apis::ManufacturersV1::FeatureDescription, decorator: Google::Apis::ManufacturersV1::FeatureDescription::Representation + + property :flavor, as: 'flavor' + property :format, as: 'format' + property :gender, as: 'gender' + collection :gtin, as: 'gtin' + property :image_link, as: 'imageLink', class: Google::Apis::ManufacturersV1::Image, decorator: Google::Apis::ManufacturersV1::Image::Representation + + property :item_group_id, as: 'itemGroupId' + property :material, as: 'material' + property :mpn, as: 'mpn' + property :pattern, as: 'pattern' + collection :product_detail, as: 'productDetail', class: Google::Apis::ManufacturersV1::ProductDetail, decorator: Google::Apis::ManufacturersV1::ProductDetail::Representation + + property :product_line, as: 'productLine' + property :product_name, as: 'productName' + property :product_page_url, as: 'productPageUrl' + collection :product_type, as: 'productType' + property :release_date, as: 'releaseDate' + property :scent, as: 'scent' + property :size, as: 'size' + property :size_system, as: 'sizeSystem' + property :size_type, as: 'sizeType' + property :suggested_retail_price, as: 'suggestedRetailPrice', class: Google::Apis::ManufacturersV1::Price, decorator: Google::Apis::ManufacturersV1::Price::Representation + + property :target_account_id, :numeric_string => true, as: 'targetAccountId' + property :theme, as: 'theme' + property :title, as: 'title' + collection :video_link, as: 'videoLink' + end + end + class Capacity # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -96,6 +142,50 @@ module Google end end + class Count + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :unit, as: 'unit' + property :value, :numeric_string => true, as: 'value' + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class FeatureDescription + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :headline, as: 'headline' + property :image, as: 'image', class: Google::Apis::ManufacturersV1::Image, decorator: Google::Apis::ManufacturersV1::Image::Representation + + property :text, as: 'text' + end + end + + class Image + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :image_url, as: 'imageUrl' + property :status, as: 'status' + property :type, as: 'type' + end + end + + class Issue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :attribute, as: 'attribute' + property :description, as: 'description' + property :severity, as: 'severity' + property :timestamp, as: 'timestamp' + property :type, as: 'type' + end + end + class ListProductsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -105,42 +195,6 @@ module Google end end - class ProductDetail - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :section_name, as: 'sectionName' - property :attribute_name, as: 'attributeName' - property :attribute_value, as: 'attributeValue' - end - end - - class FeatureDescription - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :image, as: 'image', class: Google::Apis::ManufacturersV1::Image, decorator: Google::Apis::ManufacturersV1::Image::Representation - - property :headline, as: 'headline' - property :text, as: 'text' - end - end - - class Issue - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :attribute, as: 'attribute' - property :timestamp, as: 'timestamp' - property :severity, as: 'severity' - property :description, as: 'description' - end - end - - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - class Price # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -149,85 +203,32 @@ module Google end end - class Image - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :status, as: 'status' - property :type, as: 'type' - property :image_url, as: 'imageUrl' - end - end - - class Attributes - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :color, as: 'color' - property :product_name, as: 'productName' - property :size_type, as: 'sizeType' - property :suggested_retail_price, as: 'suggestedRetailPrice', class: Google::Apis::ManufacturersV1::Price, decorator: Google::Apis::ManufacturersV1::Price::Representation - - collection :feature_description, as: 'featureDescription', class: Google::Apis::ManufacturersV1::FeatureDescription, decorator: Google::Apis::ManufacturersV1::FeatureDescription::Representation - - property :size, as: 'size' - property :title, as: 'title' - property :count, as: 'count', class: Google::Apis::ManufacturersV1::Count, decorator: Google::Apis::ManufacturersV1::Count::Representation - - property :brand, as: 'brand' - property :disclosure_date, as: 'disclosureDate' - property :material, as: 'material' - property :scent, as: 'scent' - property :flavor, as: 'flavor' - collection :product_detail, as: 'productDetail', class: Google::Apis::ManufacturersV1::ProductDetail, decorator: Google::Apis::ManufacturersV1::ProductDetail::Representation - - property :age_group, as: 'ageGroup' - property :mpn, as: 'mpn' - property :product_page_url, as: 'productPageUrl' - property :release_date, as: 'releaseDate' - property :item_group_id, as: 'itemGroupId' - collection :gtin, as: 'gtin' - property :product_line, as: 'productLine' - property :capacity, as: 'capacity', class: Google::Apis::ManufacturersV1::Capacity, decorator: Google::Apis::ManufacturersV1::Capacity::Representation - - property :description, as: 'description' - property :gender, as: 'gender' - property :size_system, as: 'sizeSystem' - property :theme, as: 'theme' - property :pattern, as: 'pattern' - property :image_link, as: 'imageLink', class: Google::Apis::ManufacturersV1::Image, decorator: Google::Apis::ManufacturersV1::Image::Representation - - collection :product_type, as: 'productType' - property :format, as: 'format' - collection :additional_image_link, as: 'additionalImageLink', class: Google::Apis::ManufacturersV1::Image, decorator: Google::Apis::ManufacturersV1::Image::Representation - - collection :video_link, as: 'videoLink' - end - end - - class Count - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :unit, as: 'unit' - property :value, :numeric_string => true, as: 'value' - end - end - class Product # @private class Representation < Google::Apis::Core::JsonRepresentation + property :content_language, as: 'contentLanguage' property :final_attributes, as: 'finalAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation - property :product_id, as: 'productId' - property :uploaded_attributes, as: 'uploadedAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation - - property :parent, as: 'parent' - property :manually_provided_attributes, as: 'manuallyProvidedAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation - - property :target_country, as: 'targetCountry' - property :content_language, as: 'contentLanguage' - property :name, as: 'name' collection :issues, as: 'issues', class: Google::Apis::ManufacturersV1::Issue, decorator: Google::Apis::ManufacturersV1::Issue::Representation collection :manually_deleted_attributes, as: 'manuallyDeletedAttributes' + property :manually_provided_attributes, as: 'manuallyProvidedAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation + + property :name, as: 'name' + property :parent, as: 'parent' + property :product_id, as: 'productId' + property :target_country, as: 'targetCountry' + property :uploaded_attributes, as: 'uploadedAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation + + end + end + + class ProductDetail + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :attribute_name, as: 'attributeName' + property :attribute_value, as: 'attributeValue' + property :section_name, as: 'sectionName' end end end diff --git a/generated/google/apis/manufacturers_v1/service.rb b/generated/google/apis/manufacturers_v1/service.rb index 03c28c793..4f9542cd6 100644 --- a/generated/google/apis/manufacturers_v1/service.rb +++ b/generated/google/apis/manufacturers_v1/service.rb @@ -90,9 +90,10 @@ module Google # Gets the product from a Manufacturer Center account, including product # issues. - # A recently updated product takes some time to be processed before any - # changes are visible. While some issues may be available once the product - # has been processed, other issues may take days to appear. + # A recently updated product takes around 15 minutes to process. Changes are + # only visible after it has been processed. While some issues may be + # available once the product has been processed, other issues may take days + # to appear. # @param [String] parent # Parent ID in the format `accounts/`account_id``. # `account_id` - The ID of the Manufacturer Center account. @@ -137,11 +138,11 @@ module Google # @param [String] parent # Parent ID in the format `accounts/`account_id``. # `account_id` - The ID of the Manufacturer Center account. - # @param [String] page_token - # The token returned by the previous request. # @param [Fixnum] page_size # Maximum number of product statuses to return in the response, used for # paging. + # @param [String] page_token + # The token returned by the previous request. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -159,13 +160,13 @@ 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_account_products(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_account_products(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/products', options) command.response_representation = Google::Apis::ManufacturersV1::ListProductsResponse::Representation command.response_class = Google::Apis::ManufacturersV1::ListProductsResponse command.params['parent'] = parent unless parent.nil? - command.query['pageToken'] = page_token unless page_token.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) diff --git a/generated/google/apis/ml_v1.rb b/generated/google/apis/ml_v1.rb index c2c05b3aa..4233f3c90 100644 --- a/generated/google/apis/ml_v1.rb +++ b/generated/google/apis/ml_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/ml/ module MlV1 VERSION = 'V1' - REVISION = '20170707' + REVISION = '20170819' # 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/ml_v1/classes.rb b/generated/google/apis/ml_v1/classes.rb index aaf3edec4..111e18e46 100644 --- a/generated/google/apis/ml_v1/classes.rb +++ b/generated/google/apis/ml_v1/classes.rb @@ -22,64 +22,53 @@ module Google module Apis module MlV1 - # Options for manually scaling a model. - class GoogleCloudMlV1ManualScaling + # Message that represents an arbitrary HTTP body. It should only be used for + # payload formats that can't be represented as JSON, such as raw binary or + # an HTML page. + # This message can be used both in streaming and non-streaming API methods in + # the request as well as the response. + # It can be used as a top-level request field, which is convenient if one + # wants to extract parameters from either the URL or HTTP template into the + # request fields and also want access to the raw HTTP body. + # Example: + # message GetResourceRequest ` + # // A unique request id. + # string request_id = 1; + # // The raw HTTP body is bound to this field. + # google.api.HttpBody http_body = 2; + # ` + # service ResourceService ` + # rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); + # rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); + # ` + # Example with streaming methods: + # service CaldavService ` + # rpc GetCalendar(stream google.api.HttpBody) + # returns (stream google.api.HttpBody); + # rpc UpdateCalendar(stream google.api.HttpBody) + # returns (stream google.api.HttpBody); + # ` + # Use of this type only changes how the request and response bodies are + # handled, all other features will continue to work unchanged. + class GoogleApiHttpBody include Google::Apis::Core::Hashable - # The number of nodes to allocate for this model. These nodes are always up, - # starting from the time the model is deployed, so the cost of operating - # this model will be proportional to `nodes` * number of hours since - # last billing cycle plus the cost for each prediction performed. - # Corresponds to the JSON property `nodes` - # @return [Fixnum] - attr_accessor :nodes - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @nodes = args[:nodes] if args.key?(:nodes) - end - end - - # Associates `members` with a `role`. - class GoogleIamV1Binding - include Google::Apis::Core::Hashable - - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" - # Corresponds to the JSON property `condition` - # @return [Google::Apis::MlV1::GoogleTypeExpr] - attr_accessor :condition - - # Specifies the identities requesting access for a Cloud Platform resource. - # `members` can have the following values: - # * `allUsers`: A special identifier that represents anyone who is - # on the internet; with or without a Google account. - # * `allAuthenticatedUsers`: A special identifier that represents anyone - # who is authenticated with a Google account or a service account. - # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@gmail.com` or `joe@example.com`. - # * `serviceAccount:`emailid``: An email address that represents a service - # account. For example, `my-other-app@appspot.gserviceaccount.com`. - # * `group:`emailid``: An email address that represents a Google group. - # For example, `admins@example.com`. - # * `domain:`domain``: A Google Apps domain name that represents all the - # users of that domain. For example, `google.com` or `example.com`. - # Corresponds to the JSON property `members` - # @return [Array] - attr_accessor :members - - # Role that is assigned to `members`. - # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. - # Required - # Corresponds to the JSON property `role` + # The HTTP Content-Type string representing the content type of the body. + # Corresponds to the JSON property `contentType` # @return [String] - attr_accessor :role + attr_accessor :content_type + + # HTTP body binary data. + # Corresponds to the JSON property `data` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :data + + # Application specific response metadata. Must be set in the first response + # for streaming APIs. + # Corresponds to the JSON property `extensions` + # @return [Array>] + attr_accessor :extensions def initialize(**args) update!(**args) @@ -87,38 +76,25 @@ module Google # Update properties of this object def update!(**args) - @condition = args[:condition] if args.key?(:condition) - @members = args[:members] if args.key?(:members) - @role = args[:role] if args.key?(:role) + @content_type = args[:content_type] if args.key?(:content_type) + @data = args[:data] if args.key?(:data) + @extensions = args[:extensions] if args.key?(:extensions) end end - # Represents results of a training job. Output only. - class GoogleCloudMlV1TrainingOutput + # An observed value of a metric. + class GoogleCloudMlV1HyperparameterOutputHyperparameterMetric include Google::Apis::Core::Hashable - # Results for individual Hyperparameter trials. - # Only set for hyperparameter tuning jobs. - # Corresponds to the JSON property `trials` - # @return [Array] - attr_accessor :trials - - # The number of hyperparameter tuning trials that completed successfully. - # Only set for hyperparameter tuning jobs. - # Corresponds to the JSON property `completedTrialCount` - # @return [Fixnum] - attr_accessor :completed_trial_count - - # Whether this job is a hyperparameter tuning job. - # Corresponds to the JSON property `isHyperparameterTuningJob` - # @return [Boolean] - attr_accessor :is_hyperparameter_tuning_job - alias_method :is_hyperparameter_tuning_job?, :is_hyperparameter_tuning_job - - # The amount of ML units consumed by the job. - # Corresponds to the JSON property `consumedMLUnits` + # The objective value at this training step. + # Corresponds to the JSON property `objectiveValue` # @return [Float] - attr_accessor :consumed_ml_units + attr_accessor :objective_value + + # The global training step for this metric. + # Corresponds to the JSON property `trainingStep` + # @return [Fixnum] + attr_accessor :training_step def initialize(**args) update!(**args) @@ -126,15 +102,13 @@ module Google # Update properties of this object def update!(**args) - @trials = args[:trials] if args.key?(:trials) - @completed_trial_count = args[:completed_trial_count] if args.key?(:completed_trial_count) - @is_hyperparameter_tuning_job = args[:is_hyperparameter_tuning_job] if args.key?(:is_hyperparameter_tuning_job) - @consumed_ml_units = args[:consumed_ml_units] if args.key?(:consumed_ml_units) + @objective_value = args[:objective_value] if args.key?(:objective_value) + @training_step = args[:training_step] if args.key?(:training_step) end end # Options for automatically scaling a model. - class GoogleCloudMlV1beta1AutoScaling + class GoogleCloudMlV1AutoScaling include Google::Apis::Core::Hashable # Optional. The minimum number of nodes to allocate for this model. These @@ -167,51 +141,365 @@ module Google end end - # A rule to be applied in a Policy. - class GoogleIamV1Rule + # Request message for the CancelJob method. + class GoogleCloudMlV1CancelJobRequest include Google::Apis::Core::Hashable - # Human-readable description of the rule. + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Returns service account information associated with a project. + class GoogleCloudMlV1GetConfigResponse + include Google::Apis::Core::Hashable + + # The service account Cloud ML uses to access resources in the project. + # Corresponds to the JSON property `serviceAccount` + # @return [String] + attr_accessor :service_account + + # The project number for `service_account`. + # Corresponds to the JSON property `serviceAccountProject` + # @return [Fixnum] + attr_accessor :service_account_project + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @service_account = args[:service_account] if args.key?(:service_account) + @service_account_project = args[:service_account_project] if args.key?(:service_account_project) + end + end + + # Represents the result of a single hyperparameter tuning trial from a + # training job. The TrainingOutput object that is returned on successful + # completion of a training job with hyperparameter tuning includes a list + # of HyperparameterOutput objects, one for each successful trial. + class GoogleCloudMlV1HyperparameterOutput + include Google::Apis::Core::Hashable + + # All recorded object metrics for this trial. + # Corresponds to the JSON property `allMetrics` + # @return [Array] + attr_accessor :all_metrics + + # An observed value of a metric. + # Corresponds to the JSON property `finalMetric` + # @return [Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric] + attr_accessor :final_metric + + # The hyperparameters given to this trial. + # Corresponds to the JSON property `hyperparameters` + # @return [Hash] + attr_accessor :hyperparameters + + # The trial id for these results. + # Corresponds to the JSON property `trialId` + # @return [String] + attr_accessor :trial_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @all_metrics = args[:all_metrics] if args.key?(:all_metrics) + @final_metric = args[:final_metric] if args.key?(:final_metric) + @hyperparameters = args[:hyperparameters] if args.key?(:hyperparameters) + @trial_id = args[:trial_id] if args.key?(:trial_id) + end + end + + # Represents a set of hyperparameters to optimize. + class GoogleCloudMlV1HyperparameterSpec + include Google::Apis::Core::Hashable + + # Required. The type of goal to use for tuning. Available types are + # `MAXIMIZE` and `MINIMIZE`. + # Defaults to `MAXIMIZE`. + # Corresponds to the JSON property `goal` + # @return [String] + attr_accessor :goal + + # Optional. The Tensorflow summary tag name to use for optimizing trials. For + # current versions of Tensorflow, this tag name should exactly match what is + # shown in Tensorboard, including all scopes. For versions of Tensorflow + # prior to 0.12, this should be only the tag passed to tf.Summary. + # By default, "training/hptuning/metric" will be used. + # Corresponds to the JSON property `hyperparameterMetricTag` + # @return [String] + attr_accessor :hyperparameter_metric_tag + + # Optional. The number of training trials to run concurrently. + # You can reduce the time it takes to perform hyperparameter tuning by adding + # trials in parallel. However, each trail only benefits from the information + # gained in completed trials. That means that a trial does not get access to + # the results of trials running at the same time, which could reduce the + # quality of the overall optimization. + # Each trial will use the same scale tier and machine types. + # Defaults to one. + # Corresponds to the JSON property `maxParallelTrials` + # @return [Fixnum] + attr_accessor :max_parallel_trials + + # Optional. How many training trials should be attempted to optimize + # the specified hyperparameters. + # Defaults to one. + # Corresponds to the JSON property `maxTrials` + # @return [Fixnum] + attr_accessor :max_trials + + # Required. The set of parameters to tune. + # Corresponds to the JSON property `params` + # @return [Array] + attr_accessor :params + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @goal = args[:goal] if args.key?(:goal) + @hyperparameter_metric_tag = args[:hyperparameter_metric_tag] if args.key?(:hyperparameter_metric_tag) + @max_parallel_trials = args[:max_parallel_trials] if args.key?(:max_parallel_trials) + @max_trials = args[:max_trials] if args.key?(:max_trials) + @params = args[:params] if args.key?(:params) + end + end + + # Represents a training or prediction job. + # Next ID: 16 + class GoogleCloudMlV1Job + include Google::Apis::Core::Hashable + + # Output only. When the job was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. When the job processing was completed. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # Output only. The details of a failure or a cancellation. + # Corresponds to the JSON property `errorMessage` + # @return [String] + attr_accessor :error_message + + # Required. The user-specified id of the job. + # Corresponds to the JSON property `jobId` + # @return [String] + attr_accessor :job_id + + # Represents input parameters for a prediction job. + # Corresponds to the JSON property `predictionInput` + # @return [Google::Apis::MlV1::GoogleCloudMlV1PredictionInput] + attr_accessor :prediction_input + + # Represents results of a prediction job. + # Corresponds to the JSON property `predictionOutput` + # @return [Google::Apis::MlV1::GoogleCloudMlV1PredictionOutput] + attr_accessor :prediction_output + + # Output only. When the job processing was started. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Output only. The detailed state of a job. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Represents input parameters for a training job. + # Corresponds to the JSON property `trainingInput` + # @return [Google::Apis::MlV1::GoogleCloudMlV1TrainingInput] + attr_accessor :training_input + + # Represents results of a training job. Output only. + # Corresponds to the JSON property `trainingOutput` + # @return [Google::Apis::MlV1::GoogleCloudMlV1TrainingOutput] + attr_accessor :training_output + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @end_time = args[:end_time] if args.key?(:end_time) + @error_message = args[:error_message] if args.key?(:error_message) + @job_id = args[:job_id] if args.key?(:job_id) + @prediction_input = args[:prediction_input] if args.key?(:prediction_input) + @prediction_output = args[:prediction_output] if args.key?(:prediction_output) + @start_time = args[:start_time] if args.key?(:start_time) + @state = args[:state] if args.key?(:state) + @training_input = args[:training_input] if args.key?(:training_input) + @training_output = args[:training_output] if args.key?(:training_output) + end + end + + # Response message for the ListJobs method. + class GoogleCloudMlV1ListJobsResponse + include Google::Apis::Core::Hashable + + # The list of jobs. + # Corresponds to the JSON property `jobs` + # @return [Array] + attr_accessor :jobs + + # Optional. Pass this token as the `page_token` field of the request for a + # subsequent call. + # 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 + + # Response message for the ListModels method. + class GoogleCloudMlV1ListModelsResponse + include Google::Apis::Core::Hashable + + # The list of models. + # Corresponds to the JSON property `models` + # @return [Array] + attr_accessor :models + + # Optional. Pass this token as the `page_token` field of the request for a + # subsequent call. + # 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) + @models = args[:models] if args.key?(:models) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Response message for the ListVersions method. + class GoogleCloudMlV1ListVersionsResponse + include Google::Apis::Core::Hashable + + # Optional. Pass this token as the `page_token` field of the request for a + # subsequent call. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of versions. + # Corresponds to the JSON property `versions` + # @return [Array] + attr_accessor :versions + + 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) + @versions = args[:versions] if args.key?(:versions) + end + end + + # Options for manually scaling a model. + class GoogleCloudMlV1ManualScaling + include Google::Apis::Core::Hashable + + # The number of nodes to allocate for this model. These nodes are always up, + # starting from the time the model is deployed, so the cost of operating + # this model will be proportional to `nodes` * number of hours since + # last billing cycle plus the cost for each prediction performed. + # Corresponds to the JSON property `nodes` + # @return [Fixnum] + attr_accessor :nodes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @nodes = args[:nodes] if args.key?(:nodes) + end + end + + # Represents a machine learning solution. + # A model can have multiple versions, each of which is a deployed, trained + # model ready to receive prediction requests. The model itself is just a + # container. + # Next ID: 8 + class GoogleCloudMlV1Model + include Google::Apis::Core::Hashable + + # Represents a version of the model. + # Each version is a trained model deployed in the cloud, ready to handle + # prediction requests. A model can have multiple versions. You can get + # information about all of the versions of a given model by calling + # [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models. + # versions/list). + # Next ID: 18 + # Corresponds to the JSON property `defaultVersion` + # @return [Google::Apis::MlV1::GoogleCloudMlV1Version] + attr_accessor :default_version + + # Optional. The description specified for the model when it was created. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # 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 - - # If one or more 'in' clauses are specified, the rule matches if - # the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. - # Corresponds to the JSON property `in` - # @return [Array] - attr_accessor :in - - # 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` + # Required. The name specified for the model when it was created. + # The model name must be unique within the project it is created in. + # Corresponds to the JSON property `name` # @return [String] - attr_accessor :action + attr_accessor :name - # If one or more 'not_in' clauses are specified, the rule matches - # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the 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` + # Optional. If true, enables StackDriver Logging for online prediction. + # Default is false. + # Corresponds to the JSON property `onlinePredictionLogging` + # @return [Boolean] + attr_accessor :online_prediction_logging + alias_method :online_prediction_logging?, :online_prediction_logging + + # Optional. The list of regions where the model is going to be deployed. + # Currently only one region per model is supported. + # Defaults to 'us-central1' if nothing is set. + # Note: + # * No matter where a model is deployed, it can always be accessed by + # users from anywhere, both for online and batch prediction. + # * The region for a batch prediction job is set by the region field when + # submitting the batch prediction job and does not take its value from + # this field. + # Corresponds to the JSON property `regions` # @return [Array] - attr_accessor :not_in + attr_accessor :regions def initialize(**args) update!(**args) @@ -219,29 +507,60 @@ module Google # Update properties of this object def update!(**args) + @default_version = args[:default_version] if args.key?(:default_version) @description = args[:description] if args.key?(:description) - @conditions = args[:conditions] if args.key?(:conditions) - @log_config = args[:log_config] if args.key?(:log_config) - @in = args[:in] if args.key?(:in) - @permissions = args[:permissions] if args.key?(:permissions) - @action = args[:action] if args.key?(:action) - @not_in = args[:not_in] if args.key?(:not_in) + @name = args[:name] if args.key?(:name) + @online_prediction_logging = args[:online_prediction_logging] if args.key?(:online_prediction_logging) + @regions = args[:regions] if args.key?(:regions) end end - # Options for counters - class GoogleIamV1LogConfigCounterOptions + # Represents the metadata of the long-running operation. + # Next ID: 9 + class GoogleCloudMlV1OperationMetadata include Google::Apis::Core::Hashable - # The field value to attribute. - # Corresponds to the JSON property `field` + # The time the operation was submitted. + # Corresponds to the JSON property `createTime` # @return [String] - attr_accessor :field + attr_accessor :create_time - # The metric to update. - # Corresponds to the JSON property `metric` + # The time operation processing completed. + # Corresponds to the JSON property `endTime` # @return [String] - attr_accessor :metric + attr_accessor :end_time + + # Indicates whether a request to cancel this operation has been made. + # Corresponds to the JSON property `isCancellationRequested` + # @return [Boolean] + attr_accessor :is_cancellation_requested + alias_method :is_cancellation_requested?, :is_cancellation_requested + + # Contains the name of the model associated with the operation. + # Corresponds to the JSON property `modelName` + # @return [String] + attr_accessor :model_name + + # The operation type. + # Corresponds to the JSON property `operationType` + # @return [String] + attr_accessor :operation_type + + # The time operation processing started. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Represents a version of the model. + # Each version is a trained model deployed in the cloud, ready to handle + # prediction requests. A model can have multiple versions. You can get + # information about all of the versions of a given model by calling + # [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models. + # versions/list). + # Next ID: 18 + # Corresponds to the JSON property `version` + # @return [Google::Apis::MlV1::GoogleCloudMlV1Version] + attr_accessor :version def initialize(**args) update!(**args) @@ -249,8 +568,80 @@ module Google # Update properties of this object def update!(**args) - @field = args[:field] if args.key?(:field) - @metric = args[:metric] if args.key?(:metric) + @create_time = args[:create_time] if args.key?(:create_time) + @end_time = args[:end_time] if args.key?(:end_time) + @is_cancellation_requested = args[:is_cancellation_requested] if args.key?(:is_cancellation_requested) + @model_name = args[:model_name] if args.key?(:model_name) + @operation_type = args[:operation_type] if args.key?(:operation_type) + @start_time = args[:start_time] if args.key?(:start_time) + @version = args[:version] if args.key?(:version) + end + end + + # Represents a single hyperparameter to optimize. + class GoogleCloudMlV1ParameterSpec + include Google::Apis::Core::Hashable + + # Required if type is `CATEGORICAL`. The list of possible categories. + # Corresponds to the JSON property `categoricalValues` + # @return [Array] + attr_accessor :categorical_values + + # Required if type is `DISCRETE`. + # A list of feasible points. + # The list should be in strictly increasing order. For instance, this + # parameter might have possible settings of 1.5, 2.5, and 4.0. This list + # should not contain more than 1,000 values. + # Corresponds to the JSON property `discreteValues` + # @return [Array] + attr_accessor :discrete_values + + # Required if typeis `DOUBLE` or `INTEGER`. This field + # should be unset if type is `CATEGORICAL`. This value should be integers if + # type is `INTEGER`. + # Corresponds to the JSON property `maxValue` + # @return [Float] + attr_accessor :max_value + + # Required if type is `DOUBLE` or `INTEGER`. This field + # should be unset if type is `CATEGORICAL`. This value should be integers if + # type is INTEGER. + # Corresponds to the JSON property `minValue` + # @return [Float] + attr_accessor :min_value + + # Required. The parameter name must be unique amongst all ParameterConfigs in + # a HyperparameterSpec message. E.g., "learning_rate". + # Corresponds to the JSON property `parameterName` + # @return [String] + attr_accessor :parameter_name + + # Optional. How the parameter should be scaled to the hypercube. + # Leave unset for categorical parameters. + # Some kind of scaling is strongly recommended for real or integral + # parameters (e.g., `UNIT_LINEAR_SCALE`). + # Corresponds to the JSON property `scaleType` + # @return [String] + attr_accessor :scale_type + + # Required. The type of the parameter. + # 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) + @categorical_values = args[:categorical_values] if args.key?(:categorical_values) + @discrete_values = args[:discrete_values] if args.key?(:discrete_values) + @max_value = args[:max_value] if args.key?(:max_value) + @min_value = args[:min_value] if args.key?(:min_value) + @parameter_name = args[:parameter_name] if args.key?(:parameter_name) + @scale_type = args[:scale_type] if args.key?(:scale_type) + @type = args[:type] if args.key?(:type) end end @@ -477,19 +868,75 @@ module Google end end - # An observed value of a metric. - class GoogleCloudMlV1HyperparameterOutputHyperparameterMetric + # Represents input parameters for a prediction job. + class GoogleCloudMlV1PredictionInput include Google::Apis::Core::Hashable - # The objective value at this training step. - # Corresponds to the JSON property `objectiveValue` - # @return [Float] - attr_accessor :objective_value - - # The global training step for this metric. - # Corresponds to the JSON property `trainingStep` + # Optional. Number of records per batch, defaults to 64. + # The service will buffer batch_size number of records in memory before + # invoking one Tensorflow prediction call internally. So take the record + # size and memory available into consideration when setting this parameter. + # Corresponds to the JSON property `batchSize` # @return [Fixnum] - attr_accessor :training_step + attr_accessor :batch_size + + # Required. The format of the input data files. + # Corresponds to the JSON property `dataFormat` + # @return [String] + attr_accessor :data_format + + # Required. The Google Cloud Storage location of the input data files. + # May contain wildcards. + # Corresponds to the JSON property `inputPaths` + # @return [Array] + attr_accessor :input_paths + + # Optional. The maximum number of workers to be used for parallel processing. + # Defaults to 10 if not specified. + # Corresponds to the JSON property `maxWorkerCount` + # @return [Fixnum] + attr_accessor :max_worker_count + + # Use this field if you want to use the default version for the specified + # model. The string must use the following format: + # `"projects/[YOUR_PROJECT]/models/[YOUR_MODEL]"` + # Corresponds to the JSON property `modelName` + # @return [String] + attr_accessor :model_name + + # Required. The output Google Cloud Storage location. + # Corresponds to the JSON property `outputPath` + # @return [String] + attr_accessor :output_path + + # Required. The Google Compute Engine region to run the prediction job in. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + + # Optional. The Google Cloud ML runtime version to use for this batch + # prediction. If not set, Google Cloud ML will pick the runtime version used + # during the CreateVersion request for this model version, or choose the + # latest stable version when model version information is not available + # such as when the model is specified by uri. + # Corresponds to the JSON property `runtimeVersion` + # @return [String] + attr_accessor :runtime_version + + # Use this field if you want to specify a Google Cloud Storage path for + # the model to use. + # Corresponds to the JSON property `uri` + # @return [String] + attr_accessor :uri + + # Use this field if you want to specify a version of the model to use. The + # string is formatted the same way as `model_version`, with the addition + # of the version information: + # `"projects/[YOUR_PROJECT]/models/YOUR_MODEL/versions/[ + # YOUR_VERSION]"` + # Corresponds to the JSON property `versionName` + # @return [String] + attr_accessor :version_name def initialize(**args) update!(**args) @@ -497,25 +944,42 @@ module Google # Update properties of this object def update!(**args) - @objective_value = args[:objective_value] if args.key?(:objective_value) - @training_step = args[:training_step] if args.key?(:training_step) + @batch_size = args[:batch_size] if args.key?(:batch_size) + @data_format = args[:data_format] if args.key?(:data_format) + @input_paths = args[:input_paths] if args.key?(:input_paths) + @max_worker_count = args[:max_worker_count] if args.key?(:max_worker_count) + @model_name = args[:model_name] if args.key?(:model_name) + @output_path = args[:output_path] if args.key?(:output_path) + @region = args[:region] if args.key?(:region) + @runtime_version = args[:runtime_version] if args.key?(:runtime_version) + @uri = args[:uri] if args.key?(:uri) + @version_name = args[:version_name] if args.key?(:version_name) end end - # Write a Cloud Audit log - class GoogleIamV1LogConfigCloudAuditOptions + # Represents results of a prediction job. + class GoogleCloudMlV1PredictionOutput include Google::Apis::Core::Hashable - # The log_name to populate in the Cloud Audit Record. - # Corresponds to the JSON property `logName` - # @return [String] - attr_accessor :log_name + # The number of data instances which resulted in errors. + # Corresponds to the JSON property `errorCount` + # @return [Fixnum] + attr_accessor :error_count - # True if the log is for a permission of type DATA_READ or ADMIN_READ. - # Corresponds to the JSON property `isReadPermissionType` - # @return [Boolean] - attr_accessor :is_read_permission_type - alias_method :is_read_permission_type?, :is_read_permission_type + # Node hours used by the batch prediction job. + # Corresponds to the JSON property `nodeHours` + # @return [Float] + attr_accessor :node_hours + + # The output Google Cloud Storage location provided at the job creation time. + # Corresponds to the JSON property `outputPath` + # @return [String] + attr_accessor :output_path + + # The number of generated predictions. + # Corresponds to the JSON property `predictionCount` + # @return [Fixnum] + attr_accessor :prediction_count def initialize(**args) update!(**args) @@ -523,8 +987,223 @@ module Google # Update properties of this object def update!(**args) - @log_name = args[:log_name] if args.key?(:log_name) - @is_read_permission_type = args[:is_read_permission_type] if args.key?(:is_read_permission_type) + @error_count = args[:error_count] if args.key?(:error_count) + @node_hours = args[:node_hours] if args.key?(:node_hours) + @output_path = args[:output_path] if args.key?(:output_path) + @prediction_count = args[:prediction_count] if args.key?(:prediction_count) + end + end + + # Request message for the SetDefaultVersion request. + class GoogleCloudMlV1SetDefaultVersionRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Represents input parameters for a training job. + class GoogleCloudMlV1TrainingInput + include Google::Apis::Core::Hashable + + # Optional. Command line arguments to pass to the program. + # Corresponds to the JSON property `args` + # @return [Array] + attr_accessor :args + + # Represents a set of hyperparameters to optimize. + # Corresponds to the JSON property `hyperparameters` + # @return [Google::Apis::MlV1::GoogleCloudMlV1HyperparameterSpec] + attr_accessor :hyperparameters + + # Optional. A Google Cloud Storage path in which to store training outputs + # and other data needed for training. This path is passed to your TensorFlow + # program as the 'job_dir' command-line argument. The benefit of specifying + # this field is that Cloud ML validates the path for use in training. + # Corresponds to the JSON property `jobDir` + # @return [String] + attr_accessor :job_dir + + # Optional. Specifies the type of virtual machine to use for your training + # job's master worker. + # The following types are supported: + #
    + #
    standard
    + #
    + # A basic machine configuration suitable for training simple models with + # small to moderate datasets. + #
    + #
    large_model
    + #
    + # A machine with a lot of memory, specially suited for parameter servers + # when your model is large (having many hidden layers or layers with very + # large numbers of nodes). + #
    + #
    complex_model_s
    + #
    + # A machine suitable for the master and workers of the cluster when your + # model requires more computation than the standard machine can handle + # satisfactorily. + #
    + #
    complex_model_m
    + #
    + # A machine with roughly twice the number of cores and roughly double the + # memory of complex_model_s. + #
    + #
    complex_model_l
    + #
    + # A machine with roughly twice the number of cores and roughly double the + # memory of complex_model_m. + #
    + #
    standard_gpu
    + #
    + # A machine equivalent to standard that + # also includes a + # + # GPU that you can use in your trainer. + #
    + #
    complex_model_m_gpu
    + #
    + # A machine equivalent to + # complex_model_m that also includes + # four GPUs. + #
    + #
    + # You must set this value when `scaleTier` is set to `CUSTOM`. + # Corresponds to the JSON property `masterType` + # @return [String] + attr_accessor :master_type + + # Required. The Google Cloud Storage location of the packages with + # the training program and any additional dependencies. + # The maximum number of package URIs is 100. + # Corresponds to the JSON property `packageUris` + # @return [Array] + attr_accessor :package_uris + + # Optional. The number of parameter server replicas to use for the training + # job. Each replica in the cluster will be of the type specified in + # `parameter_server_type`. + # This value can only be used when `scale_tier` is set to `CUSTOM`.If you + # set this value, you must also set `parameter_server_type`. + # Corresponds to the JSON property `parameterServerCount` + # @return [Fixnum] + attr_accessor :parameter_server_count + + # Optional. Specifies the type of virtual machine to use for your training + # job's parameter server. + # The supported values are the same as those described in the entry for + # `master_type`. + # This value must be present when `scaleTier` is set to `CUSTOM` and + # `parameter_server_count` is greater than zero. + # Corresponds to the JSON property `parameterServerType` + # @return [String] + attr_accessor :parameter_server_type + + # Required. The Python module name to run after installing the packages. + # Corresponds to the JSON property `pythonModule` + # @return [String] + attr_accessor :python_module + + # Required. The Google Compute Engine region to run the training job in. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + + # Optional. The Google Cloud ML runtime version to use for training. If not + # set, Google Cloud ML will choose the latest stable version. + # Corresponds to the JSON property `runtimeVersion` + # @return [String] + attr_accessor :runtime_version + + # Required. Specifies the machine types, the number of replicas for workers + # and parameter servers. + # Corresponds to the JSON property `scaleTier` + # @return [String] + attr_accessor :scale_tier + + # Optional. The number of worker replicas to use for the training job. Each + # replica in the cluster will be of the type specified in `worker_type`. + # This value can only be used when `scale_tier` is set to `CUSTOM`. If you + # set this value, you must also set `worker_type`. + # Corresponds to the JSON property `workerCount` + # @return [Fixnum] + attr_accessor :worker_count + + # Optional. Specifies the type of virtual machine to use for your training + # job's worker nodes. + # The supported values are the same as those described in the entry for + # `masterType`. + # This value must be present when `scaleTier` is set to `CUSTOM` and + # `workerCount` is greater than zero. + # Corresponds to the JSON property `workerType` + # @return [String] + attr_accessor :worker_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @args = args[:args] if args.key?(:args) + @hyperparameters = args[:hyperparameters] if args.key?(:hyperparameters) + @job_dir = args[:job_dir] if args.key?(:job_dir) + @master_type = args[:master_type] if args.key?(:master_type) + @package_uris = args[:package_uris] if args.key?(:package_uris) + @parameter_server_count = args[:parameter_server_count] if args.key?(:parameter_server_count) + @parameter_server_type = args[:parameter_server_type] if args.key?(:parameter_server_type) + @python_module = args[:python_module] if args.key?(:python_module) + @region = args[:region] if args.key?(:region) + @runtime_version = args[:runtime_version] if args.key?(:runtime_version) + @scale_tier = args[:scale_tier] if args.key?(:scale_tier) + @worker_count = args[:worker_count] if args.key?(:worker_count) + @worker_type = args[:worker_type] if args.key?(:worker_type) + end + end + + # Represents results of a training job. Output only. + class GoogleCloudMlV1TrainingOutput + include Google::Apis::Core::Hashable + + # The number of hyperparameter tuning trials that completed successfully. + # Only set for hyperparameter tuning jobs. + # Corresponds to the JSON property `completedTrialCount` + # @return [Fixnum] + attr_accessor :completed_trial_count + + # The amount of ML units consumed by the job. + # Corresponds to the JSON property `consumedMLUnits` + # @return [Float] + attr_accessor :consumed_ml_units + + # Whether this job is a hyperparameter tuning job. + # Corresponds to the JSON property `isHyperparameterTuningJob` + # @return [Boolean] + attr_accessor :is_hyperparameter_tuning_job + alias_method :is_hyperparameter_tuning_job?, :is_hyperparameter_tuning_job + + # Results for individual Hyperparameter trials. + # Only set for hyperparameter tuning jobs. + # Corresponds to the JSON property `trials` + # @return [Array] + attr_accessor :trials + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @completed_trial_count = args[:completed_trial_count] if args.key?(:completed_trial_count) + @consumed_ml_units = args[:consumed_ml_units] if args.key?(:consumed_ml_units) + @is_hyperparameter_tuning_job = args[:is_hyperparameter_tuning_job] if args.key?(:is_hyperparameter_tuning_job) + @trials = args[:trials] if args.key?(:trials) end end @@ -534,24 +1213,19 @@ module Google # information about all of the versions of a given model by calling # [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models. # versions/list). + # Next ID: 18 class GoogleCloudMlV1Version include Google::Apis::Core::Hashable - # Optional. The Google Cloud ML runtime version to use for this deployment. - # If not set, Google Cloud ML will choose a version. - # Corresponds to the JSON property `runtimeVersion` - # @return [String] - attr_accessor :runtime_version + # Options for automatically scaling a model. + # Corresponds to the JSON property `autoScaling` + # @return [Google::Apis::MlV1::GoogleCloudMlV1AutoScaling] + attr_accessor :auto_scaling - # Output only. The time the version was last used for prediction. - # Corresponds to the JSON property `lastUseTime` + # Output only. The time the version was created. + # Corresponds to the JSON property `createTime` # @return [String] - attr_accessor :last_use_time - - # Optional. The description specified for the version when it was created. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description + attr_accessor :create_time # Required. The Google Cloud Storage location of the trained model used to # create the version. See the @@ -569,10 +1243,15 @@ module Google # @return [String] attr_accessor :deployment_uri - # Options for automatically scaling a model. - # Corresponds to the JSON property `autoScaling` - # @return [Google::Apis::MlV1::GoogleCloudMlV1AutoScaling] - attr_accessor :auto_scaling + # Optional. The description specified for the version when it was created. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Output only. The details of a failure or a cancellation. + # Corresponds to the JSON property `errorMessage` + # @return [String] + attr_accessor :error_message # Output only. If true, this version will be used to handle prediction # requests that do not specify a version. @@ -584,15 +1263,10 @@ module Google attr_accessor :is_default alias_method :is_default?, :is_default - # Output only. The time the version was created. - # Corresponds to the JSON property `createTime` + # Output only. The time the version was last used for prediction. + # Corresponds to the JSON property `lastUseTime` # @return [String] - attr_accessor :create_time - - # Output only. The state of a version. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state + attr_accessor :last_use_time # Options for manually scaling a model. # Corresponds to the JSON property `manualScaling` @@ -605,10 +1279,16 @@ module Google # @return [String] attr_accessor :name - # Output only. The details of a failure or a cancellation. - # Corresponds to the JSON property `errorMessage` + # Optional. The Google Cloud ML runtime version to use for this deployment. + # If not set, Google Cloud ML will choose a version. + # Corresponds to the JSON property `runtimeVersion` # @return [String] - attr_accessor :error_message + attr_accessor :runtime_version + + # Output only. The state of a version. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state def initialize(**args) update!(**args) @@ -616,70 +1296,28 @@ module Google # Update properties of this object def update!(**args) - @runtime_version = args[:runtime_version] if args.key?(:runtime_version) - @last_use_time = args[:last_use_time] if args.key?(:last_use_time) - @description = args[:description] if args.key?(:description) - @deployment_uri = args[:deployment_uri] if args.key?(:deployment_uri) @auto_scaling = args[:auto_scaling] if args.key?(:auto_scaling) - @is_default = args[:is_default] if args.key?(:is_default) @create_time = args[:create_time] if args.key?(:create_time) - @state = args[:state] if args.key?(:state) + @deployment_uri = args[:deployment_uri] if args.key?(:deployment_uri) + @description = args[:description] if args.key?(:description) + @error_message = args[:error_message] if args.key?(:error_message) + @is_default = args[:is_default] if args.key?(:is_default) + @last_use_time = args[:last_use_time] if args.key?(:last_use_time) @manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling) @name = args[:name] if args.key?(:name) - @error_message = args[:error_message] if args.key?(:error_message) + @runtime_version = args[:runtime_version] if args.key?(:runtime_version) + @state = args[:state] if args.key?(:state) end end - # Represents a single hyperparameter to optimize. - class GoogleCloudMlV1ParameterSpec + # Write a Cloud Audit log + class GoogleIamV1LogConfigCloudAuditOptions include Google::Apis::Core::Hashable - # Required if type is `CATEGORICAL`. The list of possible categories. - # Corresponds to the JSON property `categoricalValues` - # @return [Array] - attr_accessor :categorical_values - - # Required. The parameter name must be unique amongst all ParameterConfigs in - # a HyperparameterSpec message. E.g., "learning_rate". - # Corresponds to the JSON property `parameterName` + # The log_name to populate in the Cloud Audit Record. + # Corresponds to the JSON property `logName` # @return [String] - attr_accessor :parameter_name - - # Required if type is `DOUBLE` or `INTEGER`. This field - # should be unset if type is `CATEGORICAL`. This value should be integers if - # type is INTEGER. - # Corresponds to the JSON property `minValue` - # @return [Float] - attr_accessor :min_value - - # Required if type is `DISCRETE`. - # A list of feasible points. - # The list should be in strictly increasing order. For instance, this - # parameter might have possible settings of 1.5, 2.5, and 4.0. This list - # should not contain more than 1,000 values. - # Corresponds to the JSON property `discreteValues` - # @return [Array] - attr_accessor :discrete_values - - # Required if typeis `DOUBLE` or `INTEGER`. This field - # should be unset if type is `CATEGORICAL`. This value should be integers if - # type is `INTEGER`. - # Corresponds to the JSON property `maxValue` - # @return [Float] - attr_accessor :max_value - - # Optional. How the parameter should be scaled to the hypercube. - # Leave unset for categorical parameters. - # Some kind of scaling is strongly recommended for real or integral - # parameters (e.g., `UNIT_LINEAR_SCALE`). - # Corresponds to the JSON property `scaleType` - # @return [String] - attr_accessor :scale_type - - # Required. The type of the parameter. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type + attr_accessor :log_name def initialize(**args) update!(**args) @@ -687,13 +1325,48 @@ module Google # Update properties of this object def update!(**args) - @categorical_values = args[:categorical_values] if args.key?(:categorical_values) - @parameter_name = args[:parameter_name] if args.key?(:parameter_name) - @min_value = args[:min_value] if args.key?(:min_value) - @discrete_values = args[:discrete_values] if args.key?(:discrete_values) - @max_value = args[:max_value] if args.key?(:max_value) - @scale_type = args[:scale_type] if args.key?(:scale_type) - @type = args[:type] if args.key?(:type) + @log_name = args[:log_name] if args.key?(:log_name) + end + end + + # 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 the only supported field names are + # - "iam_principal", corresponding to IAMContext.principal; + # - "" (empty string), resulting in one aggretated counter with no field. + # 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 GoogleIamV1LogConfigCounterOptions + include Google::Apis::Core::Hashable + + # The field value to attribute. + # Corresponds to the JSON property `field` + # @return [String] + attr_accessor :field + + # The metric to update. + # Corresponds to the JSON property `metric` + # @return [String] + attr_accessor :metric + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field = args[:field] if args.key?(:field) + @metric = args[:metric] if args.key?(:metric) end end @@ -701,76 +1374,11 @@ module Google class GoogleIamV1LogConfigDataAccessOptions include Google::Apis::Core::Hashable - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Represents input parameters for a prediction job. - class GoogleCloudMlV1PredictionInput - include Google::Apis::Core::Hashable - - # Required. The Google Compute Engine region to run the prediction job in. - # Corresponds to the JSON property `region` + # Whether Gin logging should happen in a fail-closed manner at the caller. + # This is relevant only in the LocalIAM implementation, for now. + # Corresponds to the JSON property `logMode` # @return [String] - attr_accessor :region - - # Use this field if you want to specify a version of the model to use. The - # string is formatted the same way as `model_version`, with the addition - # of the version information: - # `"projects/[YOUR_PROJECT]/models/YOUR_MODEL/versions/[ - # YOUR_VERSION]"` - # Corresponds to the JSON property `versionName` - # @return [String] - attr_accessor :version_name - - # Use this field if you want to use the default version for the specified - # model. The string must use the following format: - # `"projects/[YOUR_PROJECT]/models/[YOUR_MODEL]"` - # Corresponds to the JSON property `modelName` - # @return [String] - attr_accessor :model_name - - # Required. The output Google Cloud Storage location. - # Corresponds to the JSON property `outputPath` - # @return [String] - attr_accessor :output_path - - # Optional. The maximum number of workers to be used for parallel processing. - # Defaults to 10 if not specified. - # Corresponds to the JSON property `maxWorkerCount` - # @return [Fixnum] - attr_accessor :max_worker_count - - # Use this field if you want to specify a Google Cloud Storage path for - # the model to use. - # Corresponds to the JSON property `uri` - # @return [String] - attr_accessor :uri - - # Required. The format of the input data files. - # Corresponds to the JSON property `dataFormat` - # @return [String] - attr_accessor :data_format - - # Optional. The Google Cloud ML runtime version to use for this batch - # prediction. If not set, Google Cloud ML will pick the runtime version used - # during the CreateVersion request for this model version, or choose the - # latest stable version when model version information is not available - # such as when the model is specified by uri. - # Corresponds to the JSON property `runtimeVersion` - # @return [String] - attr_accessor :runtime_version - - # Required. The Google Cloud Storage location of the input data files. - # May contain wildcards. - # Corresponds to the JSON property `inputPaths` - # @return [Array] - attr_accessor :input_paths + attr_accessor :log_mode def initialize(**args) update!(**args) @@ -778,483 +1386,7 @@ module Google # Update properties of this object def update!(**args) - @region = args[:region] if args.key?(:region) - @version_name = args[:version_name] if args.key?(:version_name) - @model_name = args[:model_name] if args.key?(:model_name) - @output_path = args[:output_path] if args.key?(:output_path) - @max_worker_count = args[:max_worker_count] if args.key?(:max_worker_count) - @uri = args[:uri] if args.key?(:uri) - @data_format = args[:data_format] if args.key?(:data_format) - @runtime_version = args[:runtime_version] if args.key?(:runtime_version) - @input_paths = args[:input_paths] if args.key?(:input_paths) - end - end - - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" - class GoogleTypeExpr - include Google::Apis::Core::Hashable - - # Textual representation of an expression in - # Common Expression Language syntax. - # The application context of the containing message determines which - # well-known feature set of CEL is supported. - # Corresponds to the JSON property `expression` - # @return [String] - attr_accessor :expression - - # An optional string indicating the location of the expression for error - # reporting, e.g. a file name and a position in the file. - # Corresponds to the JSON property `location` - # @return [String] - attr_accessor :location - - # An optional title for the expression, i.e. a short string describing - # its purpose. This can be used e.g. in UIs which allow to enter the - # expression. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # An optional description of the expression. This is a longer text which - # describes the expression, e.g. when hovered over it in a UI. - # 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) - @expression = args[:expression] if args.key?(:expression) - @location = args[:location] if args.key?(:location) - @title = args[:title] if args.key?(:title) - @description = args[:description] if args.key?(:description) - end - end - - # Provides the configuration for logging a type of permissions. - # Example: - # ` - # "audit_log_configs": [ - # ` - # "log_type": "DATA_READ", - # "exempted_members": [ - # "user:foo@gmail.com" - # ] - # `, - # ` - # "log_type": "DATA_WRITE", - # ` - # ] - # ` - # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting - # foo@gmail.com from DATA_READ logging. - class GoogleIamV1AuditLogConfig - include Google::Apis::Core::Hashable - - # Specifies the identities that do not cause logging for this type of - # permission. - # Follows the same format of Binding.members. - # Corresponds to the JSON property `exemptedMembers` - # @return [Array] - attr_accessor :exempted_members - - # The log type that this config enables. - # Corresponds to the JSON property `logType` - # @return [String] - attr_accessor :log_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @exempted_members = args[:exempted_members] if args.key?(:exempted_members) - @log_type = args[:log_type] if args.key?(:log_type) - end - end - - # Represents the metadata of the long-running operation. - class GoogleCloudMlV1OperationMetadata - include Google::Apis::Core::Hashable - - # The time operation processing completed. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # The operation type. - # Corresponds to the JSON property `operationType` - # @return [String] - attr_accessor :operation_type - - # The time operation processing started. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # Indicates whether a request to cancel this operation has been made. - # Corresponds to the JSON property `isCancellationRequested` - # @return [Boolean] - attr_accessor :is_cancellation_requested - alias_method :is_cancellation_requested?, :is_cancellation_requested - - # The time the operation was submitted. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # Contains the name of the model associated with the operation. - # Corresponds to the JSON property `modelName` - # @return [String] - attr_accessor :model_name - - # Represents a version of the model. - # Each version is a trained model deployed in the cloud, ready to handle - # prediction requests. A model can have multiple versions. You can get - # information about all of the versions of a given model by calling - # [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models. - # versions/list). - # Corresponds to the JSON property `version` - # @return [Google::Apis::MlV1::GoogleCloudMlV1Version] - attr_accessor :version - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @end_time = args[:end_time] if args.key?(:end_time) - @operation_type = args[:operation_type] if args.key?(:operation_type) - @start_time = args[:start_time] if args.key?(:start_time) - @is_cancellation_requested = args[:is_cancellation_requested] if args.key?(:is_cancellation_requested) - @create_time = args[:create_time] if args.key?(:create_time) - @model_name = args[:model_name] if args.key?(:model_name) - @version = args[:version] if args.key?(:version) - end - end - - # Represents the metadata of the long-running operation. - class GoogleCloudMlV1beta1OperationMetadata - include Google::Apis::Core::Hashable - - # Contains the name of the model associated with the operation. - # Corresponds to the JSON property `modelName` - # @return [String] - attr_accessor :model_name - - # Represents a version of the model. - # Each version is a trained model deployed in the cloud, ready to handle - # prediction requests. A model can have multiple versions. You can get - # information about all of the versions of a given model by calling - # [projects.models.versions.list](/ml-engine/reference/rest/v1beta1/projects. - # models.versions/list). - # Corresponds to the JSON property `version` - # @return [Google::Apis::MlV1::GoogleCloudMlV1beta1Version] - attr_accessor :version - - # The time operation processing completed. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # The operation type. - # Corresponds to the JSON property `operationType` - # @return [String] - attr_accessor :operation_type - - # The time operation processing started. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # Indicates whether a request to cancel this operation has been made. - # Corresponds to the JSON property `isCancellationRequested` - # @return [Boolean] - attr_accessor :is_cancellation_requested - alias_method :is_cancellation_requested?, :is_cancellation_requested - - # The time the operation was submitted. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @model_name = args[:model_name] if args.key?(:model_name) - @version = args[:version] if args.key?(:version) - @end_time = args[:end_time] if args.key?(:end_time) - @operation_type = args[:operation_type] if args.key?(:operation_type) - @start_time = args[:start_time] if args.key?(:start_time) - @is_cancellation_requested = args[:is_cancellation_requested] if args.key?(:is_cancellation_requested) - @create_time = args[:create_time] if args.key?(:create_time) - end - end - - # Represents a set of hyperparameters to optimize. - class GoogleCloudMlV1HyperparameterSpec - include Google::Apis::Core::Hashable - - # Optional. How many training trials should be attempted to optimize - # the specified hyperparameters. - # Defaults to one. - # Corresponds to the JSON property `maxTrials` - # @return [Fixnum] - attr_accessor :max_trials - - # Required. The set of parameters to tune. - # Corresponds to the JSON property `params` - # @return [Array] - attr_accessor :params - - # Optional. The number of training trials to run concurrently. - # You can reduce the time it takes to perform hyperparameter tuning by adding - # trials in parallel. However, each trail only benefits from the information - # gained in completed trials. That means that a trial does not get access to - # the results of trials running at the same time, which could reduce the - # quality of the overall optimization. - # Each trial will use the same scale tier and machine types. - # Defaults to one. - # Corresponds to the JSON property `maxParallelTrials` - # @return [Fixnum] - attr_accessor :max_parallel_trials - - # Optional. The Tensorflow summary tag name to use for optimizing trials. For - # current versions of Tensorflow, this tag name should exactly match what is - # shown in Tensorboard, including all scopes. For versions of Tensorflow - # prior to 0.12, this should be only the tag passed to tf.Summary. - # By default, "training/hptuning/metric" will be used. - # Corresponds to the JSON property `hyperparameterMetricTag` - # @return [String] - attr_accessor :hyperparameter_metric_tag - - # Required. The type of goal to use for tuning. Available types are - # `MAXIMIZE` and `MINIMIZE`. - # Defaults to `MAXIMIZE`. - # Corresponds to the JSON property `goal` - # @return [String] - attr_accessor :goal - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @max_trials = args[:max_trials] if args.key?(:max_trials) - @params = args[:params] if args.key?(:params) - @max_parallel_trials = args[:max_parallel_trials] if args.key?(:max_parallel_trials) - @hyperparameter_metric_tag = args[:hyperparameter_metric_tag] if args.key?(:hyperparameter_metric_tag) - @goal = args[:goal] if args.key?(:goal) - end - end - - # Response message for the ListJobs method. - class GoogleCloudMlV1ListJobsResponse - include Google::Apis::Core::Hashable - - # Optional. Pass this token as the `page_token` field of the request for a - # subsequent call. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The list of jobs. - # Corresponds to the JSON property `jobs` - # @return [Array] - attr_accessor :jobs - - 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) - @jobs = args[:jobs] if args.key?(:jobs) - end - end - - # Request message for the SetDefaultVersion request. - class GoogleCloudMlV1SetDefaultVersionRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # This resource represents a long-running operation that is the result of a - # network API call. - class GoogleLongrunningOperation - include Google::Apis::Core::Hashable - - # 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 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 - - # 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 - - # 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` that 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. - # - 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::MlV1::GoogleRpcStatus] - attr_accessor :error - - # 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 - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @done = args[:done] if args.key?(:done) - @response = args[:response] if args.key?(:response) - @name = args[:name] if args.key?(:name) - @error = args[:error] if args.key?(:error) - @metadata = args[:metadata] if args.key?(:metadata) - end - end - - # Represents a machine learning solution. - # A model can have multiple versions, each of which is a deployed, trained - # model ready to receive prediction requests. The model itself is just a - # container. - class GoogleCloudMlV1Model - include Google::Apis::Core::Hashable - - # Optional. The list of regions where the model is going to be deployed. - # Currently only one region per model is supported. - # Defaults to 'us-central1' if nothing is set. - # Note: - # * No matter where a model is deployed, it can always be accessed by - # users from anywhere, both for online and batch prediction. - # * The region for a batch prediction job is set by the region field when - # submitting the batch prediction job and does not take its value from - # this field. - # Corresponds to the JSON property `regions` - # @return [Array] - attr_accessor :regions - - # Required. The name specified for the model when it was created. - # The model name must be unique within the project it is created in. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Optional. The description specified for the model when it was created. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Optional. If true, enables StackDriver Logging for online prediction. - # Default is false. - # Corresponds to the JSON property `onlinePredictionLogging` - # @return [Boolean] - attr_accessor :online_prediction_logging - alias_method :online_prediction_logging?, :online_prediction_logging - - # Represents a version of the model. - # Each version is a trained model deployed in the cloud, ready to handle - # prediction requests. A model can have multiple versions. You can get - # information about all of the versions of a given model by calling - # [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models. - # versions/list). - # Corresponds to the JSON property `defaultVersion` - # @return [Google::Apis::MlV1::GoogleCloudMlV1Version] - attr_accessor :default_version - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @regions = args[:regions] if args.key?(:regions) - @name = args[:name] if args.key?(:name) - @description = args[:description] if args.key?(:description) - @online_prediction_logging = args[:online_prediction_logging] if args.key?(:online_prediction_logging) - @default_version = args[:default_version] if args.key?(:default_version) + @log_mode = args[:log_mode] if args.key?(:log_mode) end end @@ -1308,6 +1440,12 @@ module Google class GoogleIamV1AuditConfig include Google::Apis::Core::Hashable + # The configuration for logging of each type of permission. + # Next ID: 4 + # Corresponds to the JSON property `auditLogConfigs` + # @return [Array] + attr_accessor :audit_log_configs + # # Corresponds to the JSON property `exemptedMembers` # @return [Array] @@ -1320,11 +1458,49 @@ module Google # @return [String] attr_accessor :service - # The configuration for logging of each type of permission. - # Next ID: 4 - # Corresponds to the JSON property `auditLogConfigs` - # @return [Array] - attr_accessor :audit_log_configs + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs) + @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @service = args[:service] if args.key?(:service) + end + end + + # Provides the configuration for logging a type of permissions. + # Example: + # ` + # "audit_log_configs": [ + # ` + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:foo@gmail.com" + # ] + # `, + # ` + # "log_type": "DATA_WRITE", + # ` + # ] + # ` + # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting + # foo@gmail.com from DATA_READ logging. + class GoogleIamV1AuditLogConfig + include Google::Apis::Core::Hashable + + # Specifies the identities that do not cause logging for this type of + # permission. + # Follows the same format of Binding.members. + # Corresponds to the JSON property `exemptedMembers` + # @return [Array] + attr_accessor :exempted_members + + # The log type that this config enables. + # Corresponds to the JSON property `logType` + # @return [String] + attr_accessor :log_type def initialize(**args) update!(**args) @@ -1333,44 +1509,46 @@ module Google # Update properties of this object def update!(**args) @exempted_members = args[:exempted_members] if args.key?(:exempted_members) - @service = args[:service] if args.key?(:service) - @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs) + @log_type = args[:log_type] if args.key?(:log_type) 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 GoogleProtobufEmpty + # Associates `members` with a `role`. + class GoogleIamV1Binding include Google::Apis::Core::Hashable - def initialize(**args) - update!(**args) - end + # Represents an expression text. Example: + # title: "User account presence" + # description: "Determines whether the request has a user account" + # expression: "size(request.user) > 0" + # Corresponds to the JSON property `condition` + # @return [Google::Apis::MlV1::GoogleTypeExpr] + attr_accessor :condition - # Update properties of this object - def update!(**args) - end - end + # Specifies the identities requesting access for a Cloud Platform resource. + # `members` can have the following values: + # * `allUsers`: A special identifier that represents anyone who is + # on the internet; with or without a Google account. + # * `allAuthenticatedUsers`: A special identifier that represents anyone + # who is authenticated with a Google account or a service account. + # * `user:`emailid``: An email address that represents a specific Google + # account. For example, `alice@gmail.com` or `joe@example.com`. + # * `serviceAccount:`emailid``: An email address that represents a service + # account. For example, `my-other-app@appspot.gserviceaccount.com`. + # * `group:`emailid``: An email address that represents a Google group. + # For example, `admins@example.com`. + # * `domain:`domain``: A Google Apps domain name that represents all the + # users of that domain. For example, `google.com` or `example.com`. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members - # Response message for the ListVersions method. - class GoogleCloudMlV1ListVersionsResponse - include Google::Apis::Core::Hashable - - # Optional. Pass this token as the `page_token` field of the request for a - # subsequent call. - # Corresponds to the JSON property `nextPageToken` + # Role that is assigned to `members`. + # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + # Required + # Corresponds to the JSON property `role` # @return [String] - attr_accessor :next_page_token - - # The list of versions. - # Corresponds to the JSON property `versions` - # @return [Array] - attr_accessor :versions + attr_accessor :role def initialize(**args) update!(**args) @@ -1378,21 +1556,315 @@ module Google # Update properties of this object def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @versions = args[:versions] if args.key?(:versions) + @condition = args[:condition] if args.key?(:condition) + @members = args[:members] if args.key?(:members) + @role = args[:role] if args.key?(:role) end end - # Request message for the CancelJob method. - class GoogleCloudMlV1CancelJobRequest + # A condition to be met. + class GoogleIamV1Condition include Google::Apis::Core::Hashable + # Trusted attributes supplied by the IAM system. + # Corresponds to the JSON property `iam` + # @return [String] + attr_accessor :iam + + # An operator to apply the subject with. + # Corresponds to the JSON property `op` + # @return [String] + attr_accessor :op + + # Trusted attributes discharged by the service. + # Corresponds to the JSON property `svc` + # @return [String] + attr_accessor :svc + + # 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 + + # DEPRECATED. Use 'values' instead. + # 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) + @op = args[:op] if args.key?(:op) + @svc = args[:svc] if args.key?(:svc) + @sys = args[:sys] if args.key?(:sys) + @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 + class GoogleIamV1LogConfig + include Google::Apis::Core::Hashable + + # Write a Cloud Audit log + # Corresponds to the JSON property `cloudAudit` + # @return [Google::Apis::MlV1::GoogleIamV1LogConfigCloudAuditOptions] + attr_accessor :cloud_audit + + # 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 the only supported field names are + # - "iam_principal", corresponding to IAMContext.principal; + # - "" (empty string), resulting in one aggretated counter with no field. + # 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 + # Corresponds to the JSON property `counter` + # @return [Google::Apis::MlV1::GoogleIamV1LogConfigCounterOptions] + attr_accessor :counter + + # Write a Data Access (Gin) log + # Corresponds to the JSON property `dataAccess` + # @return [Google::Apis::MlV1::GoogleIamV1LogConfigDataAccessOptions] + attr_accessor :data_access + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit) + @counter = args[:counter] if args.key?(:counter) + @data_access = args[:data_access] if args.key?(:data_access) + end + end + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service 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:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + class GoogleIamV1Policy + include Google::Apis::Core::Hashable + + # Specifies cloud audit logging configuration for this policy. + # Corresponds to the JSON property `auditConfigs` + # @return [Array] + attr_accessor :audit_configs + + # Associates a list of `members` to a `role`. + # `bindings` with no members will result in an error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + + # `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 to perform policy updates in order to avoid race + # conditions: An `etag` is returned in the response to `getIamPolicy`, and + # systems are expected to put that etag in the request to `setIamPolicy` to + # ensure that their change will be applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :etag + + # + # Corresponds to the JSON property `iamOwned` + # @return [Boolean] + attr_accessor :iam_owned + alias_method :iam_owned?, :iam_owned + + # If more than one rule is specified, the rules are applied in the following + # manner: + # - All matching LOG rules are always applied. + # - If any DENY/DENY_WITH_LOG rule matches, permission is denied. + # Logging will be applied if one or more matching rule requires logging. + # - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is + # granted. + # Logging will be applied if one or more matching rule requires logging. + # - Otherwise, if no rule applies, permission is denied. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + # Version of the `Policy`. The default version is 0. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audit_configs = args[:audit_configs] if args.key?(:audit_configs) + @bindings = args[:bindings] if args.key?(:bindings) + @etag = args[:etag] if args.key?(:etag) + @iam_owned = args[:iam_owned] if args.key?(:iam_owned) + @rules = args[:rules] if args.key?(:rules) + @version = args[:version] if args.key?(:version) + end + end + + # A rule to be applied in a Policy. + class GoogleIamV1Rule + include Google::Apis::Core::Hashable + + # Required + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # Additional restrictions that must be met + # Corresponds to the JSON property `conditions` + # @return [Array] + attr_accessor :conditions + + # Human-readable description of the rule. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # If one or more 'in' clauses are specified, the rule matches if + # the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. + # Corresponds to the JSON property `in` + # @return [Array] + attr_accessor :in + + # 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 + + # If one or more 'not_in' clauses are specified, the rule matches + # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the 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 + + # 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 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @action = args[:action] if args.key?(:action) + @conditions = args[:conditions] if args.key?(:conditions) + @description = args[:description] if args.key?(:description) + @in = args[:in] if args.key?(:in) + @log_config = args[:log_config] if args.key?(:log_config) + @not_in = args[:not_in] if args.key?(:not_in) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # Request message for `SetIamPolicy` method. + class GoogleIamV1SetIamPolicyRequest + include Google::Apis::Core::Hashable + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service 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: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` + # @return [Google::Apis::MlV1::GoogleIamV1Policy] + attr_accessor :policy + + # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only + # the fields in the mask will be modified. If no mask is provided, the + # following default mask is used: + # paths: "bindings, etag" + # This field is only used by Cloud IAM. + # Corresponds to the JSON property `updateMask` + # @return [String] + attr_accessor :update_mask + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy = args[:policy] if args.key?(:policy) + @update_mask = args[:update_mask] if args.key?(:update_mask) end end @@ -1418,17 +1890,15 @@ module Google end end - # Options for manually scaling a model. - class GoogleCloudMlV1beta1ManualScaling + # Response message for `TestIamPermissions` method. + class GoogleIamV1TestIamPermissionsResponse include Google::Apis::Core::Hashable - # The number of nodes to allocate for this model. These nodes are always up, - # starting from the time the model is deployed, so the cost of operating - # this model will be proportional to `nodes` * number of hours since - # last billing cycle plus the cost for each prediction performed. - # Corresponds to the JSON property `nodes` - # @return [Fixnum] - attr_accessor :nodes + # A subset of `TestPermissionsRequest.permissions` that the caller is + # allowed. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions def initialize(**args) update!(**args) @@ -1436,45 +1906,23 @@ module Google # Update properties of this object def update!(**args) - @nodes = args[:nodes] if args.key?(:nodes) + @permissions = args[:permissions] if args.key?(:permissions) 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 the only supported field names are - # - "iam_principal", corresponding to IAMContext.principal; - # - "" (empty string), resulting in one aggretated counter with no field. - # 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 GoogleIamV1LogConfig + # The response message for Operations.ListOperations. + class GoogleLongrunningListOperationsResponse include Google::Apis::Core::Hashable - # Write a Data Access (Gin) log - # Corresponds to the JSON property `dataAccess` - # @return [Google::Apis::MlV1::GoogleIamV1LogConfigDataAccessOptions] - attr_accessor :data_access + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token - # Write a Cloud Audit log - # Corresponds to the JSON property `cloudAudit` - # @return [Google::Apis::MlV1::GoogleIamV1LogConfigCloudAuditOptions] - attr_accessor :cloud_audit - - # Options for counters - # Corresponds to the JSON property `counter` - # @return [Google::Apis::MlV1::GoogleIamV1LogConfigCounterOptions] - attr_accessor :counter + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations def initialize(**args) update!(**args) @@ -1482,35 +1930,117 @@ module Google # Update properties of this object def update!(**args) - @data_access = args[:data_access] if args.key?(:data_access) - @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit) - @counter = args[:counter] if args.key?(:counter) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @operations = args[:operations] if args.key?(:operations) end end - # Options for automatically scaling a model. - class GoogleCloudMlV1AutoScaling + # This resource represents a long-running operation that is the result of a + # network API call. + class GoogleLongrunningOperation include Google::Apis::Core::Hashable - # Optional. The minimum number of nodes to allocate for this model. These - # nodes are always up, starting from the time the model is deployed, so the - # cost of operating this model will be at least - # `rate` * `min_nodes` * number of hours since last billing cycle, - # where `rate` is the cost per node-hour as documented in - # [pricing](https://cloud.google.com/ml-engine/pricing#prediction_pricing), - # even if no predictions are performed. There is additional cost for each - # prediction performed. - # Unlike manual scaling, if the load gets too heavy for the nodes - # that are up, the service will automatically add nodes to handle the - # increased load as well as scale back as traffic drops, always maintaining - # at least `min_nodes`. You will be charged for the time in which additional - # nodes are used. - # If not specified, `min_nodes` defaults to 0, in which case, when traffic - # to a model stops (and after a cool-down period), nodes will be shut down - # and no charges will be incurred until traffic to the model resumes. - # Corresponds to the JSON property `minNodes` - # @return [Fixnum] - attr_accessor :min_nodes + # 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` that 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. + # - 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::MlV1::GoogleRpcStatus] + attr_accessor :error + + # 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 + + # 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 + + # 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) + @done = args[:done] if args.key?(:done) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + @response = args[:response] if args.key?(:response) + 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 GoogleProtobufEmpty + include Google::Apis::Core::Hashable def initialize(**args) update!(**args) @@ -1518,7 +2048,6 @@ module Google # Update properties of this object def update!(**args) - @min_nodes = args[:min_nodes] if args.key?(:min_nodes) end end @@ -1569,6 +2098,12 @@ module Google # @return [Fixnum] attr_accessor :code + # A list of messages that carry the error details. There is 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. @@ -1576,12 +2111,6 @@ module Google # @return [String] attr_accessor :message - # A list of messages that carry the error details. There is 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 @@ -1589,411 +2118,44 @@ module Google # 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) + @message = args[:message] if args.key?(:message) end end - # Response message for the ListModels method. - class GoogleCloudMlV1ListModelsResponse + # Represents an expression text. Example: + # title: "User account presence" + # description: "Determines whether the request has a user account" + # expression: "size(request.user) > 0" + class GoogleTypeExpr include Google::Apis::Core::Hashable - # The list of models. - # Corresponds to the JSON property `models` - # @return [Array] - attr_accessor :models - - # Optional. Pass this token as the `page_token` field of the request for a - # subsequent call. - # 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) - @models = args[:models] if args.key?(:models) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # Represents input parameters for a training job. - class GoogleCloudMlV1TrainingInput - include Google::Apis::Core::Hashable - - # Required. The Google Compute Engine region to run the training job in. - # Corresponds to the JSON property `region` - # @return [String] - attr_accessor :region - - # Optional. Specifies the type of virtual machine to use for your training - # job's worker nodes. - # The supported values are the same as those described in the entry for - # `masterType`. - # This value must be present when `scaleTier` is set to `CUSTOM` and - # `workerCount` is greater than zero. - # Corresponds to the JSON property `workerType` - # @return [String] - attr_accessor :worker_type - - # Optional. Command line arguments to pass to the program. - # Corresponds to the JSON property `args` - # @return [Array] - attr_accessor :args - - # Optional. Specifies the type of virtual machine to use for your training - # job's parameter server. - # The supported values are the same as those described in the entry for - # `master_type`. - # This value must be present when `scaleTier` is set to `CUSTOM` and - # `parameter_server_count` is greater than zero. - # Corresponds to the JSON property `parameterServerType` - # @return [String] - attr_accessor :parameter_server_type - - # Required. Specifies the machine types, the number of replicas for workers - # and parameter servers. - # Corresponds to the JSON property `scaleTier` - # @return [String] - attr_accessor :scale_tier - - # Optional. A Google Cloud Storage path in which to store training outputs - # and other data needed for training. This path is passed to your TensorFlow - # program as the 'job_dir' command-line argument. The benefit of specifying - # this field is that Cloud ML validates the path for use in training. - # Corresponds to the JSON property `jobDir` - # @return [String] - attr_accessor :job_dir - - # Represents a set of hyperparameters to optimize. - # Corresponds to the JSON property `hyperparameters` - # @return [Google::Apis::MlV1::GoogleCloudMlV1HyperparameterSpec] - attr_accessor :hyperparameters - - # Optional. The number of parameter server replicas to use for the training - # job. Each replica in the cluster will be of the type specified in - # `parameter_server_type`. - # This value can only be used when `scale_tier` is set to `CUSTOM`.If you - # set this value, you must also set `parameter_server_type`. - # Corresponds to the JSON property `parameterServerCount` - # @return [Fixnum] - attr_accessor :parameter_server_count - - # Required. The Google Cloud Storage location of the packages with - # the training program and any additional dependencies. - # The maximum number of package URIs is 100. - # Corresponds to the JSON property `packageUris` - # @return [Array] - attr_accessor :package_uris - - # Optional. The number of worker replicas to use for the training job. Each - # replica in the cluster will be of the type specified in `worker_type`. - # This value can only be used when `scale_tier` is set to `CUSTOM`. If you - # set this value, you must also set `worker_type`. - # Corresponds to the JSON property `workerCount` - # @return [Fixnum] - attr_accessor :worker_count - - # Optional. Specifies the type of virtual machine to use for your training - # job's master worker. - # The following types are supported: - #
    - #
    standard
    - #
    - # A basic machine configuration suitable for training simple models with - # small to moderate datasets. - #
    - #
    large_model
    - #
    - # A machine with a lot of memory, specially suited for parameter servers - # when your model is large (having many hidden layers or layers with very - # large numbers of nodes). - #
    - #
    complex_model_s
    - #
    - # A machine suitable for the master and workers of the cluster when your - # model requires more computation than the standard machine can handle - # satisfactorily. - #
    - #
    complex_model_m
    - #
    - # A machine with roughly twice the number of cores and roughly double the - # memory of complex_model_s. - #
    - #
    complex_model_l
    - #
    - # A machine with roughly twice the number of cores and roughly double the - # memory of complex_model_m. - #
    - #
    standard_gpu
    - #
    - # A machine equivalent to standard that - # also includes a - # - # GPU that you can use in your trainer. - #
    - #
    complex_model_m_gpu
    - #
    - # A machine equivalent to - # complex_model_m that also includes - # four GPUs. - #
    - #
    - # You must set this value when `scaleTier` is set to `CUSTOM`. - # Corresponds to the JSON property `masterType` - # @return [String] - attr_accessor :master_type - - # Optional. The Google Cloud ML runtime version to use for training. If not - # set, Google Cloud ML will choose the latest stable version. - # Corresponds to the JSON property `runtimeVersion` - # @return [String] - attr_accessor :runtime_version - - # Required. The Python module name to run after installing the packages. - # Corresponds to the JSON property `pythonModule` - # @return [String] - attr_accessor :python_module - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @region = args[:region] if args.key?(:region) - @worker_type = args[:worker_type] if args.key?(:worker_type) - @args = args[:args] if args.key?(:args) - @parameter_server_type = args[:parameter_server_type] if args.key?(:parameter_server_type) - @scale_tier = args[:scale_tier] if args.key?(:scale_tier) - @job_dir = args[:job_dir] if args.key?(:job_dir) - @hyperparameters = args[:hyperparameters] if args.key?(:hyperparameters) - @parameter_server_count = args[:parameter_server_count] if args.key?(:parameter_server_count) - @package_uris = args[:package_uris] if args.key?(:package_uris) - @worker_count = args[:worker_count] if args.key?(:worker_count) - @master_type = args[:master_type] if args.key?(:master_type) - @runtime_version = args[:runtime_version] if args.key?(:runtime_version) - @python_module = args[:python_module] if args.key?(:python_module) - end - end - - # Represents a training or prediction job. - class GoogleCloudMlV1Job - include Google::Apis::Core::Hashable - - # Output only. The detailed state of a job. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # Represents input parameters for a prediction job. - # Corresponds to the JSON property `predictionInput` - # @return [Google::Apis::MlV1::GoogleCloudMlV1PredictionInput] - attr_accessor :prediction_input - - # Output only. The details of a failure or a cancellation. - # Corresponds to the JSON property `errorMessage` - # @return [String] - attr_accessor :error_message - - # Required. The user-specified id of the job. - # Corresponds to the JSON property `jobId` - # @return [String] - attr_accessor :job_id - - # Output only. When the job processing was completed. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # Output only. When the job processing was started. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # Represents results of a prediction job. - # Corresponds to the JSON property `predictionOutput` - # @return [Google::Apis::MlV1::GoogleCloudMlV1PredictionOutput] - attr_accessor :prediction_output - - # Represents results of a training job. Output only. - # Corresponds to the JSON property `trainingOutput` - # @return [Google::Apis::MlV1::GoogleCloudMlV1TrainingOutput] - attr_accessor :training_output - - # Output only. When the job was created. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # Represents input parameters for a training job. - # Corresponds to the JSON property `trainingInput` - # @return [Google::Apis::MlV1::GoogleCloudMlV1TrainingInput] - attr_accessor :training_input - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @state = args[:state] if args.key?(:state) - @prediction_input = args[:prediction_input] if args.key?(:prediction_input) - @error_message = args[:error_message] if args.key?(:error_message) - @job_id = args[:job_id] if args.key?(:job_id) - @end_time = args[:end_time] if args.key?(:end_time) - @start_time = args[:start_time] if args.key?(:start_time) - @prediction_output = args[:prediction_output] if args.key?(:prediction_output) - @training_output = args[:training_output] if args.key?(:training_output) - @create_time = args[:create_time] if args.key?(:create_time) - @training_input = args[:training_input] if args.key?(:training_input) - end - end - - # Message that represents an arbitrary HTTP body. It should only be used for - # payload formats that can't be represented as JSON, such as raw binary or - # an HTML page. - # This message can be used both in streaming and non-streaming API methods in - # the request as well as the response. - # It can be used as a top-level request field, which is convenient if one - # wants to extract parameters from either the URL or HTTP template into the - # request fields and also want access to the raw HTTP body. - # Example: - # message GetResourceRequest ` - # // A unique request id. - # string request_id = 1; - # // The raw HTTP body is bound to this field. - # google.api.HttpBody http_body = 2; - # ` - # service ResourceService ` - # rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); - # rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); - # ` - # Example with streaming methods: - # service CaldavService ` - # rpc GetCalendar(stream google.api.HttpBody) - # returns (stream google.api.HttpBody); - # rpc UpdateCalendar(stream google.api.HttpBody) - # returns (stream google.api.HttpBody); - # ` - # Use of this type only changes how the request and response bodies are - # handled, all other features will continue to work unchanged. - class GoogleApiHttpBody - include Google::Apis::Core::Hashable - - # HTTP body binary data. - # Corresponds to the JSON property `data` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :data - - # The HTTP Content-Type string representing the content type of the body. - # Corresponds to the JSON property `contentType` - # @return [String] - attr_accessor :content_type - - # Application specific response metadata. Must be set in the first response - # for streaming APIs. - # Corresponds to the JSON property `extensions` - # @return [Array>] - attr_accessor :extensions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @data = args[:data] if args.key?(:data) - @content_type = args[:content_type] if args.key?(:content_type) - @extensions = args[:extensions] if args.key?(:extensions) - end - end - - # Represents a version of the model. - # Each version is a trained model deployed in the cloud, ready to handle - # prediction requests. A model can have multiple versions. You can get - # information about all of the versions of a given model by calling - # [projects.models.versions.list](/ml-engine/reference/rest/v1beta1/projects. - # models.versions/list). - class GoogleCloudMlV1beta1Version - include Google::Apis::Core::Hashable - - # Optional. The description specified for the version when it was created. + # An optional description of the expression. This is a longer text which + # describes the expression, e.g. when hovered over it in a UI. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # Required. The Google Cloud Storage location of the trained model used to - # create the version. See the - # [overview of model - # deployment](/ml-engine/docs/concepts/deployment-overview) for more - # information. - # When passing Version to - # [projects.models.versions.create](/ml-engine/reference/rest/v1beta1/projects. - # models.versions/create) - # the model service uses the specified location as the source of the model. - # Once deployed, the model version is hosted by the prediction service, so - # this location is useful only as a historical record. - # The total number of model files can't exceed 1000. - # Corresponds to the JSON property `deploymentUri` + # Textual representation of an expression in + # Common Expression Language syntax. + # The application context of the containing message determines which + # well-known feature set of CEL is supported. + # Corresponds to the JSON property `expression` # @return [String] - attr_accessor :deployment_uri + attr_accessor :expression - # Options for automatically scaling a model. - # Corresponds to the JSON property `autoScaling` - # @return [Google::Apis::MlV1::GoogleCloudMlV1beta1AutoScaling] - attr_accessor :auto_scaling - - # Output only. If true, this version will be used to handle prediction - # requests that do not specify a version. - # You can change the default version by calling - # [projects.methods.versions.setDefault](/ml-engine/reference/rest/v1beta1/ - # projects.models.versions/setDefault). - # Corresponds to the JSON property `isDefault` - # @return [Boolean] - attr_accessor :is_default - alias_method :is_default?, :is_default - - # Output only. The time the version was created. - # Corresponds to the JSON property `createTime` + # An optional string indicating the location of the expression for error + # reporting, e.g. a file name and a position in the file. + # Corresponds to the JSON property `location` # @return [String] - attr_accessor :create_time + attr_accessor :location - # Output only. The state of a version. - # Corresponds to the JSON property `state` + # An optional title for the expression, i.e. a short string describing + # its purpose. This can be used e.g. in UIs which allow to enter the + # expression. + # Corresponds to the JSON property `title` # @return [String] - attr_accessor :state - - # Options for manually scaling a model. - # Corresponds to the JSON property `manualScaling` - # @return [Google::Apis::MlV1::GoogleCloudMlV1beta1ManualScaling] - attr_accessor :manual_scaling - - # Required.The name specified for the version when it was created. - # The version name must be unique within the model it is created in. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Output only. The details of a failure or a cancellation. - # Corresponds to the JSON property `errorMessage` - # @return [String] - attr_accessor :error_message - - # Optional. The Google Cloud ML runtime version to use for this deployment. - # If not set, Google Cloud ML will choose a version. - # Corresponds to the JSON property `runtimeVersion` - # @return [String] - attr_accessor :runtime_version - - # Output only. The time the version was last used for prediction. - # Corresponds to the JSON property `lastUseTime` - # @return [String] - attr_accessor :last_use_time + attr_accessor :title def initialize(**args) update!(**args) @@ -2002,360 +2164,9 @@ module Google # Update properties of this object def update!(**args) @description = args[:description] if args.key?(:description) - @deployment_uri = args[:deployment_uri] if args.key?(:deployment_uri) - @auto_scaling = args[:auto_scaling] if args.key?(:auto_scaling) - @is_default = args[:is_default] if args.key?(:is_default) - @create_time = args[:create_time] if args.key?(:create_time) - @state = args[:state] if args.key?(:state) - @manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling) - @name = args[:name] if args.key?(:name) - @error_message = args[:error_message] if args.key?(:error_message) - @runtime_version = args[:runtime_version] if args.key?(:runtime_version) - @last_use_time = args[:last_use_time] if args.key?(:last_use_time) - end - end - - # Returns service account information associated with a project. - class GoogleCloudMlV1GetConfigResponse - include Google::Apis::Core::Hashable - - # The project number for `service_account`. - # Corresponds to the JSON property `serviceAccountProject` - # @return [Fixnum] - attr_accessor :service_account_project - - # The service account Cloud ML uses to access resources in the project. - # Corresponds to the JSON property `serviceAccount` - # @return [String] - attr_accessor :service_account - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @service_account_project = args[:service_account_project] if args.key?(:service_account_project) - @service_account = args[:service_account] if args.key?(:service_account) - end - end - - # Response message for `TestIamPermissions` method. - class GoogleIamV1TestIamPermissionsResponse - include Google::Apis::Core::Hashable - - # A subset of `TestPermissionsRequest.permissions` that the caller is - # allowed. - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - end - end - - # Represents the result of a single hyperparameter tuning trial from a - # training job. The TrainingOutput object that is returned on successful - # completion of a training job with hyperparameter tuning includes a list - # of HyperparameterOutput objects, one for each successful trial. - class GoogleCloudMlV1HyperparameterOutput - include Google::Apis::Core::Hashable - - # The hyperparameters given to this trial. - # Corresponds to the JSON property `hyperparameters` - # @return [Hash] - attr_accessor :hyperparameters - - # The trial id for these results. - # Corresponds to the JSON property `trialId` - # @return [String] - attr_accessor :trial_id - - # All recorded object metrics for this trial. - # Corresponds to the JSON property `allMetrics` - # @return [Array] - attr_accessor :all_metrics - - # An observed value of a metric. - # Corresponds to the JSON property `finalMetric` - # @return [Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric] - attr_accessor :final_metric - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @hyperparameters = args[:hyperparameters] if args.key?(:hyperparameters) - @trial_id = args[:trial_id] if args.key?(:trial_id) - @all_metrics = args[:all_metrics] if args.key?(:all_metrics) - @final_metric = args[:final_metric] if args.key?(:final_metric) - end - end - - # Request message for `SetIamPolicy` method. - class GoogleIamV1SetIamPolicyRequest - include Google::Apis::Core::Hashable - - # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only - # the fields in the mask will be modified. If no mask is provided, the - # following default mask is used: - # paths: "bindings, etag" - # This field is only used by Cloud IAM. - # Corresponds to the JSON property `updateMask` - # @return [String] - attr_accessor :update_mask - - # Defines an Identity and Access Management (IAM) policy. It is used to - # specify access control policies for Cloud Platform resources. - # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of - # `members` to a `role`, where the members can be user accounts, Google groups, - # Google domains, and service 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: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` - # @return [Google::Apis::MlV1::GoogleIamV1Policy] - attr_accessor :policy - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @update_mask = args[:update_mask] if args.key?(:update_mask) - @policy = args[:policy] if args.key?(:policy) - end - end - - # Represents results of a prediction job. - class GoogleCloudMlV1PredictionOutput - include Google::Apis::Core::Hashable - - # Node hours used by the batch prediction job. - # Corresponds to the JSON property `nodeHours` - # @return [Float] - attr_accessor :node_hours - - # The output Google Cloud Storage location provided at the job creation time. - # Corresponds to the JSON property `outputPath` - # @return [String] - attr_accessor :output_path - - # The number of generated predictions. - # Corresponds to the JSON property `predictionCount` - # @return [Fixnum] - attr_accessor :prediction_count - - # The number of data instances which resulted in errors. - # Corresponds to the JSON property `errorCount` - # @return [Fixnum] - attr_accessor :error_count - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @node_hours = args[:node_hours] if args.key?(:node_hours) - @output_path = args[:output_path] if args.key?(:output_path) - @prediction_count = args[:prediction_count] if args.key?(:prediction_count) - @error_count = args[:error_count] if args.key?(:error_count) - end - end - - # Defines an Identity and Access Management (IAM) policy. It is used to - # specify access control policies for Cloud Platform resources. - # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of - # `members` to a `role`, where the members can be user accounts, Google groups, - # Google domains, and service 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:sean@example.com"] - # ` - # ] - # ` - # For a description of IAM and its features, see the - # [IAM developer's guide](https://cloud.google.com/iam). - class GoogleIamV1Policy - include Google::Apis::Core::Hashable - - # Version of the `Policy`. The default version is 0. - # Corresponds to the JSON property `version` - # @return [Fixnum] - attr_accessor :version - - # Specifies cloud audit logging configuration for this policy. - # Corresponds to the JSON property `auditConfigs` - # @return [Array] - attr_accessor :audit_configs - - # Associates a list of `members` to a `role`. - # `bindings` with no members will result in an error. - # Corresponds to the JSON property `bindings` - # @return [Array] - attr_accessor :bindings - - # `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 to perform policy updates in order to avoid race - # conditions: An `etag` is returned in the response to `getIamPolicy`, and - # systems are expected to put that etag in the request to `setIamPolicy` to - # ensure that their change will be applied to the same version of the policy. - # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. - # Corresponds to the JSON property `etag` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :etag - - # - # Corresponds to the JSON property `iamOwned` - # @return [Boolean] - attr_accessor :iam_owned - alias_method :iam_owned?, :iam_owned - - # If more than one rule is specified, the rules are applied in the following - # manner: - # - All matching LOG rules are always applied. - # - If any DENY/DENY_WITH_LOG rule matches, permission is denied. - # Logging will be applied if one or more matching rule requires logging. - # - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is - # granted. - # Logging will be applied if one or more matching rule requires logging. - # - Otherwise, if no rule applies, permission is denied. - # Corresponds to the JSON property `rules` - # @return [Array] - attr_accessor :rules - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @version = args[:version] if args.key?(:version) - @audit_configs = args[:audit_configs] if args.key?(:audit_configs) - @bindings = args[:bindings] if args.key?(:bindings) - @etag = args[:etag] if args.key?(:etag) - @iam_owned = args[:iam_owned] if args.key?(:iam_owned) - @rules = args[:rules] if args.key?(:rules) - end - end - - # The response message for Operations.ListOperations. - class GoogleLongrunningListOperationsResponse - include Google::Apis::Core::Hashable - - # The standard List next-page token. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # A list of operations that matches the specified filter in the request. - # Corresponds to the JSON property `operations` - # @return [Array] - attr_accessor :operations - - 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) - @operations = args[:operations] if args.key?(:operations) - end - end - - # A condition to be met. - class GoogleIamV1Condition - include Google::Apis::Core::Hashable - - # An operator to apply the subject with. - # Corresponds to the JSON property `op` - # @return [String] - attr_accessor :op - - # Trusted attributes discharged by the service. - # Corresponds to the JSON property `svc` - # @return [String] - attr_accessor :svc - - # 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 - - # DEPRECATED. Use 'values' instead. - # 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 - - # Trusted attributes supplied by the IAM system. - # Corresponds to the JSON property `iam` - # @return [String] - attr_accessor :iam - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @op = args[:op] if args.key?(:op) - @svc = args[:svc] if args.key?(:svc) - @sys = args[:sys] if args.key?(:sys) - @value = args[:value] if args.key?(:value) - @values = args[:values] if args.key?(:values) - @iam = args[:iam] if args.key?(:iam) + @expression = args[:expression] if args.key?(:expression) + @location = args[:location] if args.key?(:location) + @title = args[:title] if args.key?(:title) end end end diff --git a/generated/google/apis/ml_v1/representations.rb b/generated/google/apis/ml_v1/representations.rb index 7983a94e0..a775a02ee 100644 --- a/generated/google/apis/ml_v1/representations.rb +++ b/generated/google/apis/ml_v1/representations.rb @@ -22,43 +22,7 @@ module Google module Apis module MlV1 - class GoogleCloudMlV1ManualScaling - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleIamV1Binding - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudMlV1TrainingOutput - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudMlV1beta1AutoScaling - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleIamV1Rule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleIamV1LogConfigCounterOptions - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudMlV1PredictRequest + class GoogleApiHttpBody class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -70,103 +34,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class GoogleIamV1LogConfigCloudAuditOptions - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudMlV1Version - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudMlV1ParameterSpec - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleIamV1LogConfigDataAccessOptions - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudMlV1PredictionInput - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleTypeExpr - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleIamV1AuditLogConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudMlV1OperationMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudMlV1beta1OperationMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudMlV1HyperparameterSpec - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudMlV1ListJobsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudMlV1SetDefaultVersionRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleLongrunningOperation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudMlV1Model - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleIamV1AuditConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleProtobufEmpty - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudMlV1ListVersionsResponse + class GoogleCloudMlV1AutoScaling class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -178,85 +46,79 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class GoogleIamV1TestIamPermissionsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudMlV1beta1ManualScaling - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleIamV1LogConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudMlV1AutoScaling - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleRpcStatus - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudMlV1ListModelsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudMlV1TrainingInput - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudMlV1Job - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleApiHttpBody - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudMlV1beta1Version - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleCloudMlV1GetConfigResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleIamV1TestIamPermissionsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleCloudMlV1HyperparameterOutput class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleIamV1SetIamPolicyRequest + class GoogleCloudMlV1HyperparameterSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1Job + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1ListJobsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1ListModelsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1ListVersionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1ManualScaling + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1Model + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1OperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1ParameterSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1PredictRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1PredictionInput class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -268,13 +130,61 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class GoogleIamV1Policy + class GoogleCloudMlV1SetDefaultVersionRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleLongrunningListOperationsResponse + class GoogleCloudMlV1TrainingInput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1TrainingOutput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1Version + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleIamV1LogConfigCloudAuditOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleIamV1LogConfigCounterOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleIamV1LogConfigDataAccessOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleIamV1AuditConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleIamV1AuditLogConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleIamV1Binding class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -286,6 +196,181 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleIamV1LogConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleIamV1Policy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleIamV1Rule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleIamV1SetIamPolicyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleIamV1TestIamPermissionsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleIamV1TestIamPermissionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleLongrunningListOperationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleLongrunningOperation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleProtobufEmpty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleRpcStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleTypeExpr + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleApiHttpBody + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content_type, as: 'contentType' + property :data, :base64 => true, as: 'data' + collection :extensions, as: 'extensions' + end + end + + class GoogleCloudMlV1HyperparameterOutputHyperparameterMetric + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :objective_value, as: 'objectiveValue' + property :training_step, :numeric_string => true, as: 'trainingStep' + end + end + + class GoogleCloudMlV1AutoScaling + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :min_nodes, as: 'minNodes' + end + end + + class GoogleCloudMlV1CancelJobRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GoogleCloudMlV1GetConfigResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :service_account, as: 'serviceAccount' + property :service_account_project, :numeric_string => true, as: 'serviceAccountProject' + end + end + + class GoogleCloudMlV1HyperparameterOutput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :all_metrics, as: 'allMetrics', class: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric, decorator: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric::Representation + + property :final_metric, as: 'finalMetric', class: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric, decorator: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric::Representation + + hash :hyperparameters, as: 'hyperparameters' + property :trial_id, as: 'trialId' + end + end + + class GoogleCloudMlV1HyperparameterSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :goal, as: 'goal' + property :hyperparameter_metric_tag, as: 'hyperparameterMetricTag' + property :max_parallel_trials, as: 'maxParallelTrials' + property :max_trials, as: 'maxTrials' + collection :params, as: 'params', class: Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec, decorator: Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec::Representation + + end + end + + class GoogleCloudMlV1Job + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :end_time, as: 'endTime' + property :error_message, as: 'errorMessage' + property :job_id, as: 'jobId' + property :prediction_input, as: 'predictionInput', class: Google::Apis::MlV1::GoogleCloudMlV1PredictionInput, decorator: Google::Apis::MlV1::GoogleCloudMlV1PredictionInput::Representation + + property :prediction_output, as: 'predictionOutput', class: Google::Apis::MlV1::GoogleCloudMlV1PredictionOutput, decorator: Google::Apis::MlV1::GoogleCloudMlV1PredictionOutput::Representation + + property :start_time, as: 'startTime' + property :state, as: 'state' + property :training_input, as: 'trainingInput', class: Google::Apis::MlV1::GoogleCloudMlV1TrainingInput, decorator: Google::Apis::MlV1::GoogleCloudMlV1TrainingInput::Representation + + property :training_output, as: 'trainingOutput', class: Google::Apis::MlV1::GoogleCloudMlV1TrainingOutput, decorator: Google::Apis::MlV1::GoogleCloudMlV1TrainingOutput::Representation + + end + end + + class GoogleCloudMlV1ListJobsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :jobs, as: 'jobs', class: Google::Apis::MlV1::GoogleCloudMlV1Job, decorator: Google::Apis::MlV1::GoogleCloudMlV1Job::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudMlV1ListModelsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :models, as: 'models', class: Google::Apis::MlV1::GoogleCloudMlV1Model, decorator: Google::Apis::MlV1::GoogleCloudMlV1Model::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudMlV1ListVersionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :versions, as: 'versions', class: Google::Apis::MlV1::GoogleCloudMlV1Version, decorator: Google::Apis::MlV1::GoogleCloudMlV1Version::Representation + + end + end + class GoogleCloudMlV1ManualScaling # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -293,6 +378,175 @@ module Google end end + class GoogleCloudMlV1Model + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :default_version, as: 'defaultVersion', class: Google::Apis::MlV1::GoogleCloudMlV1Version, decorator: Google::Apis::MlV1::GoogleCloudMlV1Version::Representation + + property :description, as: 'description' + property :name, as: 'name' + property :online_prediction_logging, as: 'onlinePredictionLogging' + collection :regions, as: 'regions' + end + end + + class GoogleCloudMlV1OperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :end_time, as: 'endTime' + property :is_cancellation_requested, as: 'isCancellationRequested' + property :model_name, as: 'modelName' + property :operation_type, as: 'operationType' + property :start_time, as: 'startTime' + property :version, as: 'version', class: Google::Apis::MlV1::GoogleCloudMlV1Version, decorator: Google::Apis::MlV1::GoogleCloudMlV1Version::Representation + + end + end + + class GoogleCloudMlV1ParameterSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :categorical_values, as: 'categoricalValues' + collection :discrete_values, as: 'discreteValues' + property :max_value, as: 'maxValue' + property :min_value, as: 'minValue' + property :parameter_name, as: 'parameterName' + property :scale_type, as: 'scaleType' + property :type, as: 'type' + end + end + + class GoogleCloudMlV1PredictRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :http_body, as: 'httpBody', class: Google::Apis::MlV1::GoogleApiHttpBody, decorator: Google::Apis::MlV1::GoogleApiHttpBody::Representation + + end + end + + class GoogleCloudMlV1PredictionInput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :batch_size, :numeric_string => true, as: 'batchSize' + property :data_format, as: 'dataFormat' + collection :input_paths, as: 'inputPaths' + property :max_worker_count, :numeric_string => true, as: 'maxWorkerCount' + property :model_name, as: 'modelName' + property :output_path, as: 'outputPath' + property :region, as: 'region' + property :runtime_version, as: 'runtimeVersion' + property :uri, as: 'uri' + property :version_name, as: 'versionName' + end + end + + class GoogleCloudMlV1PredictionOutput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :error_count, :numeric_string => true, as: 'errorCount' + property :node_hours, as: 'nodeHours' + property :output_path, as: 'outputPath' + property :prediction_count, :numeric_string => true, as: 'predictionCount' + end + end + + class GoogleCloudMlV1SetDefaultVersionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GoogleCloudMlV1TrainingInput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :args, as: 'args' + property :hyperparameters, as: 'hyperparameters', class: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterSpec, decorator: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterSpec::Representation + + property :job_dir, as: 'jobDir' + property :master_type, as: 'masterType' + collection :package_uris, as: 'packageUris' + property :parameter_server_count, :numeric_string => true, as: 'parameterServerCount' + property :parameter_server_type, as: 'parameterServerType' + property :python_module, as: 'pythonModule' + property :region, as: 'region' + property :runtime_version, as: 'runtimeVersion' + property :scale_tier, as: 'scaleTier' + property :worker_count, :numeric_string => true, as: 'workerCount' + property :worker_type, as: 'workerType' + end + end + + class GoogleCloudMlV1TrainingOutput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :completed_trial_count, :numeric_string => true, as: 'completedTrialCount' + property :consumed_ml_units, as: 'consumedMLUnits' + property :is_hyperparameter_tuning_job, as: 'isHyperparameterTuningJob' + collection :trials, as: 'trials', class: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutput, decorator: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutput::Representation + + end + end + + class GoogleCloudMlV1Version + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :auto_scaling, as: 'autoScaling', class: Google::Apis::MlV1::GoogleCloudMlV1AutoScaling, decorator: Google::Apis::MlV1::GoogleCloudMlV1AutoScaling::Representation + + property :create_time, as: 'createTime' + property :deployment_uri, as: 'deploymentUri' + property :description, as: 'description' + property :error_message, as: 'errorMessage' + property :is_default, as: 'isDefault' + property :last_use_time, as: 'lastUseTime' + property :manual_scaling, as: 'manualScaling', class: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling, decorator: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling::Representation + + property :name, as: 'name' + property :runtime_version, as: 'runtimeVersion' + property :state, as: 'state' + end + end + + class GoogleIamV1LogConfigCloudAuditOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :log_name, as: 'logName' + end + end + + class GoogleIamV1LogConfigCounterOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field, as: 'field' + property :metric, as: 'metric' + end + end + + class GoogleIamV1LogConfigDataAccessOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :log_mode, as: 'logMode' + end + end + + class GoogleIamV1AuditConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::MlV1::GoogleIamV1AuditLogConfig, decorator: Google::Apis::MlV1::GoogleIamV1AuditLogConfig::Representation + + collection :exempted_members, as: 'exemptedMembers' + property :service, as: 'service' + end + end + + class GoogleIamV1AuditLogConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :exempted_members, as: 'exemptedMembers' + property :log_type, as: 'logType' + end + end + class GoogleIamV1Binding # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -303,249 +557,66 @@ module Google end end - class GoogleCloudMlV1TrainingOutput + class GoogleIamV1Condition # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :trials, as: 'trials', class: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutput, decorator: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutput::Representation - - property :completed_trial_count, :numeric_string => true, as: 'completedTrialCount' - property :is_hyperparameter_tuning_job, as: 'isHyperparameterTuningJob' - property :consumed_ml_units, as: 'consumedMLUnits' + property :iam, as: 'iam' + property :op, as: 'op' + property :svc, as: 'svc' + property :sys, as: 'sys' + property :value, as: 'value' + collection :values, as: 'values' end end - class GoogleCloudMlV1beta1AutoScaling + class GoogleIamV1LogConfig # @private class Representation < Google::Apis::Core::JsonRepresentation - property :min_nodes, as: 'minNodes' + property :cloud_audit, as: 'cloudAudit', class: Google::Apis::MlV1::GoogleIamV1LogConfigCloudAuditOptions, decorator: Google::Apis::MlV1::GoogleIamV1LogConfigCloudAuditOptions::Representation + + property :counter, as: 'counter', class: Google::Apis::MlV1::GoogleIamV1LogConfigCounterOptions, decorator: Google::Apis::MlV1::GoogleIamV1LogConfigCounterOptions::Representation + + property :data_access, as: 'dataAccess', class: Google::Apis::MlV1::GoogleIamV1LogConfigDataAccessOptions, decorator: Google::Apis::MlV1::GoogleIamV1LogConfigDataAccessOptions::Representation + + end + end + + class GoogleIamV1Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :audit_configs, as: 'auditConfigs', class: Google::Apis::MlV1::GoogleIamV1AuditConfig, decorator: Google::Apis::MlV1::GoogleIamV1AuditConfig::Representation + + collection :bindings, as: 'bindings', class: Google::Apis::MlV1::GoogleIamV1Binding, decorator: Google::Apis::MlV1::GoogleIamV1Binding::Representation + + property :etag, :base64 => true, as: 'etag' + property :iam_owned, as: 'iamOwned' + collection :rules, as: 'rules', class: Google::Apis::MlV1::GoogleIamV1Rule, decorator: Google::Apis::MlV1::GoogleIamV1Rule::Representation + + property :version, as: 'version' end end class GoogleIamV1Rule # @private class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' + property :action, as: 'action' collection :conditions, as: 'conditions', class: Google::Apis::MlV1::GoogleIamV1Condition, decorator: Google::Apis::MlV1::GoogleIamV1Condition::Representation + property :description, as: 'description' + collection :in, as: 'in' collection :log_config, as: 'logConfig', class: Google::Apis::MlV1::GoogleIamV1LogConfig, decorator: Google::Apis::MlV1::GoogleIamV1LogConfig::Representation - collection :in, as: 'in' - collection :permissions, as: 'permissions' - property :action, as: 'action' collection :not_in, as: 'notIn' + collection :permissions, as: 'permissions' end end - class GoogleIamV1LogConfigCounterOptions + class GoogleIamV1SetIamPolicyRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :field, as: 'field' - property :metric, as: 'metric' - end - end + property :policy, as: 'policy', class: Google::Apis::MlV1::GoogleIamV1Policy, decorator: Google::Apis::MlV1::GoogleIamV1Policy::Representation - class GoogleCloudMlV1PredictRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :http_body, as: 'httpBody', class: Google::Apis::MlV1::GoogleApiHttpBody, decorator: Google::Apis::MlV1::GoogleApiHttpBody::Representation - - end - end - - class GoogleCloudMlV1HyperparameterOutputHyperparameterMetric - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :objective_value, as: 'objectiveValue' - property :training_step, :numeric_string => true, as: 'trainingStep' - end - end - - class GoogleIamV1LogConfigCloudAuditOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :log_name, as: 'logName' - property :is_read_permission_type, as: 'isReadPermissionType' - end - end - - class GoogleCloudMlV1Version - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :runtime_version, as: 'runtimeVersion' - property :last_use_time, as: 'lastUseTime' - property :description, as: 'description' - property :deployment_uri, as: 'deploymentUri' - property :auto_scaling, as: 'autoScaling', class: Google::Apis::MlV1::GoogleCloudMlV1AutoScaling, decorator: Google::Apis::MlV1::GoogleCloudMlV1AutoScaling::Representation - - property :is_default, as: 'isDefault' - property :create_time, as: 'createTime' - property :state, as: 'state' - property :manual_scaling, as: 'manualScaling', class: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling, decorator: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling::Representation - - property :name, as: 'name' - property :error_message, as: 'errorMessage' - end - end - - class GoogleCloudMlV1ParameterSpec - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :categorical_values, as: 'categoricalValues' - property :parameter_name, as: 'parameterName' - property :min_value, as: 'minValue' - collection :discrete_values, as: 'discreteValues' - property :max_value, as: 'maxValue' - property :scale_type, as: 'scaleType' - property :type, as: 'type' - end - end - - class GoogleIamV1LogConfigDataAccessOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class GoogleCloudMlV1PredictionInput - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :region, as: 'region' - property :version_name, as: 'versionName' - property :model_name, as: 'modelName' - property :output_path, as: 'outputPath' - property :max_worker_count, :numeric_string => true, as: 'maxWorkerCount' - property :uri, as: 'uri' - property :data_format, as: 'dataFormat' - property :runtime_version, as: 'runtimeVersion' - collection :input_paths, as: 'inputPaths' - end - end - - class GoogleTypeExpr - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :expression, as: 'expression' - property :location, as: 'location' - property :title, as: 'title' - property :description, as: 'description' - end - end - - class GoogleIamV1AuditLogConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :exempted_members, as: 'exemptedMembers' - property :log_type, as: 'logType' - end - end - - class GoogleCloudMlV1OperationMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :end_time, as: 'endTime' - property :operation_type, as: 'operationType' - property :start_time, as: 'startTime' - property :is_cancellation_requested, as: 'isCancellationRequested' - property :create_time, as: 'createTime' - property :model_name, as: 'modelName' - property :version, as: 'version', class: Google::Apis::MlV1::GoogleCloudMlV1Version, decorator: Google::Apis::MlV1::GoogleCloudMlV1Version::Representation - - end - end - - class GoogleCloudMlV1beta1OperationMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :model_name, as: 'modelName' - property :version, as: 'version', class: Google::Apis::MlV1::GoogleCloudMlV1beta1Version, decorator: Google::Apis::MlV1::GoogleCloudMlV1beta1Version::Representation - - property :end_time, as: 'endTime' - property :operation_type, as: 'operationType' - property :start_time, as: 'startTime' - property :is_cancellation_requested, as: 'isCancellationRequested' - property :create_time, as: 'createTime' - end - end - - class GoogleCloudMlV1HyperparameterSpec - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :max_trials, as: 'maxTrials' - collection :params, as: 'params', class: Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec, decorator: Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec::Representation - - property :max_parallel_trials, as: 'maxParallelTrials' - property :hyperparameter_metric_tag, as: 'hyperparameterMetricTag' - property :goal, as: 'goal' - end - end - - class GoogleCloudMlV1ListJobsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :jobs, as: 'jobs', class: Google::Apis::MlV1::GoogleCloudMlV1Job, decorator: Google::Apis::MlV1::GoogleCloudMlV1Job::Representation - - end - end - - class GoogleCloudMlV1SetDefaultVersionRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class GoogleLongrunningOperation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :done, as: 'done' - hash :response, as: 'response' - property :name, as: 'name' - property :error, as: 'error', class: Google::Apis::MlV1::GoogleRpcStatus, decorator: Google::Apis::MlV1::GoogleRpcStatus::Representation - - hash :metadata, as: 'metadata' - end - end - - class GoogleCloudMlV1Model - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :regions, as: 'regions' - property :name, as: 'name' - property :description, as: 'description' - property :online_prediction_logging, as: 'onlinePredictionLogging' - property :default_version, as: 'defaultVersion', class: Google::Apis::MlV1::GoogleCloudMlV1Version, decorator: Google::Apis::MlV1::GoogleCloudMlV1Version::Representation - - end - end - - class GoogleIamV1AuditConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :exempted_members, as: 'exemptedMembers' - property :service, as: 'service' - collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::MlV1::GoogleIamV1AuditLogConfig, decorator: Google::Apis::MlV1::GoogleIamV1AuditLogConfig::Representation - - end - end - - class GoogleProtobufEmpty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class GoogleCloudMlV1ListVersionsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :versions, as: 'versions', class: Google::Apis::MlV1::GoogleCloudMlV1Version, decorator: Google::Apis::MlV1::GoogleCloudMlV1Version::Representation - - end - end - - class GoogleCloudMlV1CancelJobRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation + property :update_mask, as: 'updateMask' end end @@ -556,126 +627,6 @@ module Google end end - class GoogleCloudMlV1beta1ManualScaling - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :nodes, as: 'nodes' - end - end - - class GoogleIamV1LogConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :data_access, as: 'dataAccess', class: Google::Apis::MlV1::GoogleIamV1LogConfigDataAccessOptions, decorator: Google::Apis::MlV1::GoogleIamV1LogConfigDataAccessOptions::Representation - - property :cloud_audit, as: 'cloudAudit', class: Google::Apis::MlV1::GoogleIamV1LogConfigCloudAuditOptions, decorator: Google::Apis::MlV1::GoogleIamV1LogConfigCloudAuditOptions::Representation - - property :counter, as: 'counter', class: Google::Apis::MlV1::GoogleIamV1LogConfigCounterOptions, decorator: Google::Apis::MlV1::GoogleIamV1LogConfigCounterOptions::Representation - - end - end - - class GoogleCloudMlV1AutoScaling - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :min_nodes, as: 'minNodes' - end - end - - class GoogleRpcStatus - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - property :message, as: 'message' - collection :details, as: 'details' - end - end - - class GoogleCloudMlV1ListModelsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :models, as: 'models', class: Google::Apis::MlV1::GoogleCloudMlV1Model, decorator: Google::Apis::MlV1::GoogleCloudMlV1Model::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class GoogleCloudMlV1TrainingInput - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :region, as: 'region' - property :worker_type, as: 'workerType' - collection :args, as: 'args' - property :parameter_server_type, as: 'parameterServerType' - property :scale_tier, as: 'scaleTier' - property :job_dir, as: 'jobDir' - property :hyperparameters, as: 'hyperparameters', class: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterSpec, decorator: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterSpec::Representation - - property :parameter_server_count, :numeric_string => true, as: 'parameterServerCount' - collection :package_uris, as: 'packageUris' - property :worker_count, :numeric_string => true, as: 'workerCount' - property :master_type, as: 'masterType' - property :runtime_version, as: 'runtimeVersion' - property :python_module, as: 'pythonModule' - end - end - - class GoogleCloudMlV1Job - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :state, as: 'state' - property :prediction_input, as: 'predictionInput', class: Google::Apis::MlV1::GoogleCloudMlV1PredictionInput, decorator: Google::Apis::MlV1::GoogleCloudMlV1PredictionInput::Representation - - property :error_message, as: 'errorMessage' - property :job_id, as: 'jobId' - property :end_time, as: 'endTime' - property :start_time, as: 'startTime' - property :prediction_output, as: 'predictionOutput', class: Google::Apis::MlV1::GoogleCloudMlV1PredictionOutput, decorator: Google::Apis::MlV1::GoogleCloudMlV1PredictionOutput::Representation - - property :training_output, as: 'trainingOutput', class: Google::Apis::MlV1::GoogleCloudMlV1TrainingOutput, decorator: Google::Apis::MlV1::GoogleCloudMlV1TrainingOutput::Representation - - property :create_time, as: 'createTime' - property :training_input, as: 'trainingInput', class: Google::Apis::MlV1::GoogleCloudMlV1TrainingInput, decorator: Google::Apis::MlV1::GoogleCloudMlV1TrainingInput::Representation - - end - end - - class GoogleApiHttpBody - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :data, :base64 => true, as: 'data' - property :content_type, as: 'contentType' - collection :extensions, as: 'extensions' - end - end - - class GoogleCloudMlV1beta1Version - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :deployment_uri, as: 'deploymentUri' - property :auto_scaling, as: 'autoScaling', class: Google::Apis::MlV1::GoogleCloudMlV1beta1AutoScaling, decorator: Google::Apis::MlV1::GoogleCloudMlV1beta1AutoScaling::Representation - - property :is_default, as: 'isDefault' - property :create_time, as: 'createTime' - property :state, as: 'state' - property :manual_scaling, as: 'manualScaling', class: Google::Apis::MlV1::GoogleCloudMlV1beta1ManualScaling, decorator: Google::Apis::MlV1::GoogleCloudMlV1beta1ManualScaling::Representation - - property :name, as: 'name' - property :error_message, as: 'errorMessage' - property :runtime_version, as: 'runtimeVersion' - property :last_use_time, as: 'lastUseTime' - end - end - - class GoogleCloudMlV1GetConfigResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :service_account_project, :numeric_string => true, as: 'serviceAccountProject' - property :service_account, as: 'serviceAccount' - end - end - class GoogleIamV1TestIamPermissionsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -683,52 +634,6 @@ module Google end end - class GoogleCloudMlV1HyperparameterOutput - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :hyperparameters, as: 'hyperparameters' - property :trial_id, as: 'trialId' - collection :all_metrics, as: 'allMetrics', class: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric, decorator: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric::Representation - - property :final_metric, as: 'finalMetric', class: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric, decorator: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric::Representation - - end - end - - class GoogleIamV1SetIamPolicyRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :update_mask, as: 'updateMask' - property :policy, as: 'policy', class: Google::Apis::MlV1::GoogleIamV1Policy, decorator: Google::Apis::MlV1::GoogleIamV1Policy::Representation - - end - end - - class GoogleCloudMlV1PredictionOutput - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :node_hours, as: 'nodeHours' - property :output_path, as: 'outputPath' - property :prediction_count, :numeric_string => true, as: 'predictionCount' - property :error_count, :numeric_string => true, as: 'errorCount' - end - end - - class GoogleIamV1Policy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :version, as: 'version' - collection :audit_configs, as: 'auditConfigs', class: Google::Apis::MlV1::GoogleIamV1AuditConfig, decorator: Google::Apis::MlV1::GoogleIamV1AuditConfig::Representation - - collection :bindings, as: 'bindings', class: Google::Apis::MlV1::GoogleIamV1Binding, decorator: Google::Apis::MlV1::GoogleIamV1Binding::Representation - - property :etag, :base64 => true, as: 'etag' - property :iam_owned, as: 'iamOwned' - collection :rules, as: 'rules', class: Google::Apis::MlV1::GoogleIamV1Rule, decorator: Google::Apis::MlV1::GoogleIamV1Rule::Representation - - end - end - class GoogleLongrunningListOperationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -738,15 +643,40 @@ module Google end end - class GoogleIamV1Condition + class GoogleLongrunningOperation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :op, as: 'op' - property :svc, as: 'svc' - property :sys, as: 'sys' - property :value, as: 'value' - collection :values, as: 'values' - property :iam, as: 'iam' + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::MlV1::GoogleRpcStatus, decorator: Google::Apis::MlV1::GoogleRpcStatus::Representation + + hash :metadata, as: 'metadata' + property :name, as: 'name' + hash :response, as: 'response' + end + end + + class GoogleProtobufEmpty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GoogleRpcStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :details, as: 'details' + property :message, as: 'message' + end + end + + class GoogleTypeExpr + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :expression, as: 'expression' + property :location, as: 'location' + property :title, as: 'title' end end end diff --git a/generated/google/apis/ml_v1/service.rb b/generated/google/apis/ml_v1/service.rb index e70b70bdb..bac62f918 100644 --- a/generated/google/apis/ml_v1/service.rb +++ b/generated/google/apis/ml_v1/service.rb @@ -115,20 +115,10 @@ module Google execute_or_queue_command(command, &block) end - # Lists the models in a project. - # Each project can contain multiple models, and each model can have multiple - # versions. - # @param [String] parent - # Required. The name of the project whose models are to be listed. - # @param [String] page_token - # Optional. A page token to request the next page of results. - # You get the token from the `next_page_token` field of the response from - # the previous call. - # @param [Fixnum] page_size - # Optional. The number of models to retrieve per "page" of results. If there - # are more remaining results than this number, the response message will - # contain a valid value in the `next_page_token` field. - # The default value is 20, and the maximum page size is 100. + # Cancels a running job. + # @param [String] name + # Required. The name of the job to cancel. + # @param [Google::Apis::MlV1::GoogleCloudMlV1CancelJobRequest] google_cloud_ml_v1__cancel_job_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -138,21 +128,161 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1ListModelsResponse] parsed result object + # @yieldparam result [Google::Apis::MlV1::GoogleProtobufEmpty] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::MlV1::GoogleCloudMlV1ListModelsResponse] + # @return [Google::Apis::MlV1::GoogleProtobufEmpty] # # @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_project_models(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+parent}/models', options) - command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1ListModelsResponse::Representation - command.response_class = Google::Apis::MlV1::GoogleCloudMlV1ListModelsResponse + def cancel_project_job(name, google_cloud_ml_v1__cancel_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:cancel', options) + command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1CancelJobRequest::Representation + command.request_object = google_cloud_ml_v1__cancel_job_request_object + command.response_representation = Google::Apis::MlV1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::MlV1::GoogleProtobufEmpty + 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 + + # Creates a training or a batch prediction job. + # @param [String] parent + # Required. The project name. + # @param [Google::Apis::MlV1::GoogleCloudMlV1Job] google_cloud_ml_v1__job_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::MlV1::GoogleCloudMlV1Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MlV1::GoogleCloudMlV1Job] + # + # @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_project_job(parent, google_cloud_ml_v1__job_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/jobs', options) + command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1Job::Representation + command.request_object = google_cloud_ml_v1__job_object + command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Job::Representation + command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Job command.params['parent'] = parent unless parent.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 + + # Describes a job. + # @param [String] name + # Required. The name of the job to get the description of. + # @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::MlV1::GoogleCloudMlV1Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MlV1::GoogleCloudMlV1Job] + # + # @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_project_job(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Job::Representation + command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Job + 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 + + # Gets the access control policy for a resource. + # Returns an empty policy if the resource exists and does not have a policy + # set. + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. + # See the operation documentation for the appropriate value for this field. + # @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::MlV1::GoogleIamV1Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MlV1::GoogleIamV1Policy] + # + # @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_project_job_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) + command.response_representation = Google::Apis::MlV1::GoogleIamV1Policy::Representation + command.response_class = Google::Apis::MlV1::GoogleIamV1Policy + command.params['resource'] = resource unless resource.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 the jobs in the project. + # @param [String] parent + # Required. The name of the project for which to list jobs. + # @param [String] filter + # Optional. Specifies the subset of jobs to retrieve. + # @param [Fixnum] page_size + # Optional. The number of jobs to retrieve per "page" of results. If there + # are more remaining results than this number, the response message will + # contain a valid value in the `next_page_token` field. + # The default value is 20, and the maximum page size is 100. + # @param [String] page_token + # Optional. A page token to request the next page of results. + # You get the token from the `next_page_token` field of the response from + # the previous call. + # @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::MlV1::GoogleCloudMlV1ListJobsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse] + # + # @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_project_jobs(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/jobs', options) + command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse::Representation + command.response_class = Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse + command.params['parent'] = parent unless parent.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) @@ -181,7 +311,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 set_project_model_iam_policy(resource, google_iam_v1__set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def set_project_job_iam_policy(resource, google_iam_v1__set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) command.request_representation = Google::Apis::MlV1::GoogleIamV1SetIamPolicyRequest::Representation command.request_object = google_iam_v1__set_iam_policy_request_object @@ -193,6 +323,45 @@ module Google execute_or_queue_command(command, &block) end + # Returns permissions that a caller has on the specified resource. + # If the resource does not exist, this will return an empty set of + # permissions, not a NOT_FOUND error. + # Note: This operation is designed to be used for building permission-aware + # UIs and command-line tools, not for authorization checking. This operation + # may "fail open" without warning. + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::MlV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1__test_iam_permissions_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::MlV1::GoogleIamV1TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MlV1::GoogleIamV1TestIamPermissionsResponse] + # + # @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 test_project_job_iam_permissions(resource, google_iam_v1__test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) + command.request_representation = Google::Apis::MlV1::GoogleIamV1TestIamPermissionsRequest::Representation + command.request_object = google_iam_v1__test_iam_permissions_request_object + command.response_representation = Google::Apis::MlV1::GoogleIamV1TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::MlV1::GoogleIamV1TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Creates a model which will later contain one or more versions. # You must add at least one version before you can request predictions from # the model. Add versions by calling @@ -230,6 +399,72 @@ module Google execute_or_queue_command(command, &block) end + # Deletes a model. + # You can only delete a model if there are no versions in it. You can delete + # versions by calling + # [projects.models.versions.delete](/ml-engine/reference/rest/v1/projects.models. + # versions/delete). + # @param [String] name + # Required. The name of the model. + # @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::MlV1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MlV1::GoogleLongrunningOperation] + # + # @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_project_model(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::MlV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::MlV1::GoogleLongrunningOperation + 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 + + # Gets information about a model, including its name, the description (if + # set), and the default version (if at least one version of the model has + # been deployed). + # @param [String] name + # Required. The name of the model. + # @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::MlV1::GoogleCloudMlV1Model] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MlV1::GoogleCloudMlV1Model] + # + # @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_project_model(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Model::Representation + command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Model + 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 + # Gets the access control policy for a resource. # Returns an empty policy if the resource exists and does not have a policy # set. @@ -263,11 +498,20 @@ module Google execute_or_queue_command(command, &block) end - # Gets information about a model, including its name, the description (if - # set), and the default version (if at least one version of the model has - # been deployed). - # @param [String] name - # Required. The name of the model. + # Lists the models in a project. + # Each project can contain multiple models, and each model can have multiple + # versions. + # @param [String] parent + # Required. The name of the project whose models are to be listed. + # @param [Fixnum] page_size + # Optional. The number of models to retrieve per "page" of results. If there + # are more remaining results than this number, the response message will + # contain a valid value in the `next_page_token` field. + # The default value is 20, and the maximum page size is 100. + # @param [String] page_token + # Optional. A page token to request the next page of results. + # You get the token from the `next_page_token` field of the response from + # the previous call. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -277,19 +521,56 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Model] parsed result object + # @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1ListModelsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::MlV1::GoogleCloudMlV1Model] + # @return [Google::Apis::MlV1::GoogleCloudMlV1ListModelsResponse] # # @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_project_model(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Model::Representation - command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Model - command.params['name'] = name unless name.nil? + def list_project_models(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/models', options) + command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1ListModelsResponse::Representation + command.response_class = Google::Apis::MlV1::GoogleCloudMlV1ListModelsResponse + command.params['parent'] = parent unless parent.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 + + # Sets the access control policy on the specified resource. Replaces any + # existing policy. + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::MlV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1__set_iam_policy_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::MlV1::GoogleIamV1Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MlV1::GoogleIamV1Policy] + # + # @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 set_project_model_iam_policy(resource, google_iam_v1__set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::MlV1::GoogleIamV1SetIamPolicyRequest::Representation + command.request_object = google_iam_v1__set_iam_policy_request_object + command.response_representation = Google::Apis::MlV1::GoogleIamV1Policy::Representation + command.response_class = Google::Apis::MlV1::GoogleIamV1Policy + command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -334,40 +615,6 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a model. - # You can only delete a model if there are no versions in it. You can delete - # versions by calling - # [projects.models.versions.delete](/ml-engine/reference/rest/v1/projects.models. - # versions/delete). - # @param [String] name - # Required. The name of the model. - # @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::MlV1::GoogleLongrunningOperation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MlV1::GoogleLongrunningOperation] - # - # @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_project_model(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+name}', options) - command.response_representation = Google::Apis::MlV1::GoogleLongrunningOperation::Representation - command.response_class = Google::Apis::MlV1::GoogleLongrunningOperation - 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 - # Creates a new version of a model from a trained TensorFlow model. # If the version created in the cloud by this call is the first deployed # version of the specified model, it will be made the default version of the @@ -408,48 +655,6 @@ module Google execute_or_queue_command(command, &block) end - # Designates a version to be the default for the model. - # The default version is used for prediction requests made against the model - # that don't specify a version. - # The first version to be created for a model is automatically set as the - # default. You must make any subsequent changes to the default version - # setting manually using this method. - # @param [String] name - # Required. The name of the version to make the default for the model. You - # can get the names of all the versions of a model by calling - # [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models. - # versions/list). - # Authorization: `ml.models.update` permission is required on the parent model. - # @param [Google::Apis::MlV1::GoogleCloudMlV1SetDefaultVersionRequest] google_cloud_ml_v1__set_default_version_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::MlV1::GoogleCloudMlV1Version] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MlV1::GoogleCloudMlV1Version] - # - # @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 set_project_model_version_default(name, google_cloud_ml_v1__set_default_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:setDefault', options) - command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1SetDefaultVersionRequest::Representation - command.request_object = google_cloud_ml_v1__set_default_version_request_object - command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Version::Representation - command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Version - 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 model version. # Each model can have multiple versions deployed and in use at any given # time. Use this method to remove a single version. @@ -566,11 +771,18 @@ module Google 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. + # Designates a version to be the default for the model. + # The default version is used for prediction requests made against the model + # that don't specify a version. + # The first version to be created for a model is automatically set as the + # default. You must make any subsequent changes to the default version + # setting manually using this method. # @param [String] name - # The name of the operation resource. + # Required. The name of the version to make the default for the model. You + # can get the names of all the versions of a model by calling + # [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models. + # versions/list). + # @param [Google::Apis::MlV1::GoogleCloudMlV1SetDefaultVersionRequest] google_cloud_ml_v1__set_default_version_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -580,71 +792,26 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MlV1::GoogleLongrunningOperation] parsed result object + # @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Version] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::MlV1::GoogleLongrunningOperation] + # @return [Google::Apis::MlV1::GoogleCloudMlV1Version] # # @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_project_operation(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::MlV1::GoogleLongrunningOperation::Representation - command.response_class = Google::Apis::MlV1::GoogleLongrunningOperation + def set_project_model_version_default(name, google_cloud_ml_v1__set_default_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:setDefault', options) + command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1SetDefaultVersionRequest::Representation + command.request_object = google_cloud_ml_v1__set_default_version_request_object + command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Version::Representation + command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Version 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 allows API services to override the binding - # to use different resource name schemes, such as `users/*/operations`. To - # override the binding, API services can add a binding such as - # `"/v1/`name=users/*`/operations"` to their service configuration. - # For backwards compatibility, the default name includes the operations - # collection id, however overriding users must ensure the name binding - # is the parent resource, without the operations collection id. - # @param [String] name - # The name of the operation's parent resource. - # @param [Fixnum] page_size - # The standard list page size. - # @param [String] filter - # The standard list filter. - # @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::MlV1::GoogleLongrunningListOperationsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MlV1::GoogleLongrunningListOperationsResponse] - # - # @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_project_operations(name, page_size: nil, filter: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}/operations', options) - command.response_representation = Google::Apis::MlV1::GoogleLongrunningListOperationsResponse::Representation - command.response_class = Google::Apis::MlV1::GoogleLongrunningListOperationsResponse - command.params['name'] = name unless name.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['filter'] = filter unless filter.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 @@ -717,43 +884,11 @@ module Google execute_or_queue_command(command, &block) end - # Creates a training or a batch prediction job. - # @param [String] parent - # Required. The project name. - # @param [Google::Apis::MlV1::GoogleCloudMlV1Job] google_cloud_ml_v1__job_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::MlV1::GoogleCloudMlV1Job] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MlV1::GoogleCloudMlV1Job] - # - # @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_project_job(parent, google_cloud_ml_v1__job_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+parent}/jobs', options) - command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1Job::Representation - command.request_object = google_cloud_ml_v1__job_object - command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Job::Representation - command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Job - command.params['parent'] = parent unless parent.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Cancels a running job. + # 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 - # Required. The name of the job to cancel. - # @param [Google::Apis::MlV1::GoogleCloudMlV1CancelJobRequest] google_cloud_ml_v1__cancel_job_request_object + # The name of the operation resource. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -763,70 +898,41 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MlV1::GoogleProtobufEmpty] parsed result object + # @yieldparam result [Google::Apis::MlV1::GoogleLongrunningOperation] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::MlV1::GoogleProtobufEmpty] + # @return [Google::Apis::MlV1::GoogleLongrunningOperation] # # @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_project_job(name, google_cloud_ml_v1__cancel_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:cancel', options) - command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1CancelJobRequest::Representation - command.request_object = google_cloud_ml_v1__cancel_job_request_object - command.response_representation = Google::Apis::MlV1::GoogleProtobufEmpty::Representation - command.response_class = Google::Apis::MlV1::GoogleProtobufEmpty - 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 - - # Describes a job. - # @param [String] name - # Required. The name of the job to get the description of. - # @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::MlV1::GoogleCloudMlV1Job] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MlV1::GoogleCloudMlV1Job] - # - # @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_project_job(name, fields: nil, quota_user: nil, options: nil, &block) + def get_project_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Job::Representation - command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Job + command.response_representation = Google::Apis::MlV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::MlV1::GoogleLongrunningOperation 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 the jobs in the project. - # @param [String] parent - # Required. The name of the project for which to list jobs. - # @param [String] page_token - # Optional. A page token to request the next page of results. - # You get the token from the `next_page_token` field of the response from - # the previous call. - # @param [Fixnum] page_size - # Optional. The number of jobs to retrieve per "page" of results. If there - # are more remaining results than this number, the response message will - # contain a valid value in the `next_page_token` field. - # The default value is 20, and the maximum page size is 100. + # 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 allows API services to override the binding + # to use different resource name schemes, such as `users/*/operations`. To + # override the binding, API services can add a binding such as + # `"/v1/`name=users/*`/operations"` to their service configuration. + # For backwards compatibility, the default name includes the operations + # collection id, however overriding users must ensure the name binding + # is the parent resource, without the operations collection id. + # @param [String] name + # The name of the operation's parent resource. # @param [String] filter - # Optional. Specifies the subset of jobs to retrieve. + # 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 @@ -836,22 +942,22 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse] parsed result object + # @yieldparam result [Google::Apis::MlV1::GoogleLongrunningListOperationsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse] + # @return [Google::Apis::MlV1::GoogleLongrunningListOperationsResponse] # # @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_project_jobs(parent, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+parent}/jobs', options) - command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse::Representation - command.response_class = Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse - command.params['parent'] = parent unless parent.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? + def list_project_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}/operations', options) + command.response_representation = Google::Apis::MlV1::GoogleLongrunningListOperationsResponse::Representation + command.response_class = Google::Apis::MlV1::GoogleLongrunningListOperationsResponse + 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) diff --git a/generated/google/apis/monitoring_v3.rb b/generated/google/apis/monitoring_v3.rb index 7606b8f71..dd875a5fc 100644 --- a/generated/google/apis/monitoring_v3.rb +++ b/generated/google/apis/monitoring_v3.rb @@ -27,19 +27,19 @@ module Google # @see https://cloud.google.com/monitoring/api/ module MonitoringV3 VERSION = 'V3' - REVISION = '20170710' + REVISION = '20170806' + + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' # View and write monitoring data for all of your Google and third-party Cloud and API projects AUTH_MONITORING = 'https://www.googleapis.com/auth/monitoring' - # Publish metric data to your Google Cloud projects - AUTH_MONITORING_WRITE = 'https://www.googleapis.com/auth/monitoring.write' - # View monitoring data for all of your Google Cloud and third-party projects AUTH_MONITORING_READ = 'https://www.googleapis.com/auth/monitoring.read' - # View and manage your data across Google Cloud Platform services - AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + # Publish metric data to your Google Cloud projects + AUTH_MONITORING_WRITE = 'https://www.googleapis.com/auth/monitoring.write' end end end diff --git a/generated/google/apis/monitoring_v3/classes.rb b/generated/google/apis/monitoring_v3/classes.rb index e8748463a..90c170b26 100644 --- a/generated/google/apis/monitoring_v3/classes.rb +++ b/generated/google/apis/monitoring_v3/classes.rb @@ -22,19 +22,51 @@ module Google module Apis module MonitoringV3 - # The range of the population values. - class Range + # BucketOptions describes the bucket boundaries used to create a histogram for + # the distribution. The buckets can be in a linear sequence, an exponential + # sequence, or each bucket can be specified explicitly. BucketOptions does not + # include the number of values in each bucket.A bucket has an inclusive lower + # bound and exclusive upper bound for the values that are counted for that + # bucket. The upper bound of a bucket must be strictly greater than the lower + # bound. The sequence of N buckets for a distribution consists of an underflow + # bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an + # overflow bucket (number N - 1). The buckets are contiguous: the lower bound of + # bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets + # span the whole range of finite values: lower bound of the underflow bucket is - + # infinity and the upper bound of the overflow bucket is +infinity. The finite + # buckets are so-called because both bounds are finite. + class BucketOptions include Google::Apis::Core::Hashable - # The minimum of the population values. - # Corresponds to the JSON property `min` - # @return [Float] - attr_accessor :min + # Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (= + # N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): + # boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at + # least one element. If bounds has only one element, then there are no finite + # buckets, and that single element is the common boundary of the overflow and + # underflow buckets. + # Corresponds to the JSON property `explicitBuckets` + # @return [Google::Apis::MonitoringV3::Explicit] + attr_accessor :explicit_buckets - # The maximum of the population values. - # Corresponds to the JSON property `max` - # @return [Float] - attr_accessor :max + # Specifies an exponential sequence of buckets that have a width that is + # proportional to the value of the lower bound. Each bucket represents a + # constant relative uncertainty on a specific value in the bucket.There are + # num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries: + # Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i < + # N): scale * (growth_factor ^ (i - 1)). + # Corresponds to the JSON property `exponentialBuckets` + # @return [Google::Apis::MonitoringV3::Exponential] + attr_accessor :exponential_buckets + + # Specifies a linear sequence of buckets that all have the same width (except + # overflow and underflow). Each bucket represents a constant absolute + # uncertainty on the specific value in the bucket.There are num_finite_buckets + + # 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N- + # 1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1)) + # . + # Corresponds to the JSON property `linearBuckets` + # @return [Google::Apis::MonitoringV3::Linear] + attr_accessor :linear_buckets def initialize(**args) update!(**args) @@ -42,26 +74,57 @@ module Google # Update properties of this object def update!(**args) - @min = args[:min] if args.key?(:min) - @max = args[:max] if args.key?(:max) + @explicit_buckets = args[:explicit_buckets] if args.key?(:explicit_buckets) + @exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets) + @linear_buckets = args[:linear_buckets] if args.key?(:linear_buckets) end end - # The ListGroups response. - class ListGroupsResponse + # A collection of data points sent from a collectd-based plugin. See the + # collectd documentation for more information. + class CollectdPayload include Google::Apis::Core::Hashable - # The groups that match the specified filters. - # Corresponds to the JSON property `group` - # @return [Array] - attr_accessor :group - - # If there are more results than have been returned, then this field is set to a - # non-empty value. To see the additional results, use that value as pageToken in - # the next call to this method. - # Corresponds to the JSON property `nextPageToken` + # The end time of the interval. + # Corresponds to the JSON property `endTime` # @return [String] - attr_accessor :next_page_token + attr_accessor :end_time + + # The measurement metadata. Example: "process_id" -> 12345 + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # The name of the plugin. Example: "disk". + # Corresponds to the JSON property `plugin` + # @return [String] + attr_accessor :plugin + + # The instance name of the plugin Example: "hdcl". + # Corresponds to the JSON property `pluginInstance` + # @return [String] + attr_accessor :plugin_instance + + # The start time of the interval. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # The measurement type. Example: "memory". + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The measurement type instance. Example: "used". + # Corresponds to the JSON property `typeInstance` + # @return [String] + attr_accessor :type_instance + + # The measured values during this time interval. Each value must have a + # different dataSourceName. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values def initialize(**args) update!(**args) @@ -69,8 +132,46 @@ module Google # Update properties of this object def update!(**args) - @group = args[:group] if args.key?(:group) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @end_time = args[:end_time] if args.key?(:end_time) + @metadata = args[:metadata] if args.key?(:metadata) + @plugin = args[:plugin] if args.key?(:plugin) + @plugin_instance = args[:plugin_instance] if args.key?(:plugin_instance) + @start_time = args[:start_time] if args.key?(:start_time) + @type = args[:type] if args.key?(:type) + @type_instance = args[:type_instance] if args.key?(:type_instance) + @values = args[:values] if args.key?(:values) + end + end + + # A single data point from a collectd-based plugin. + class CollectdValue + include Google::Apis::Core::Hashable + + # The data source for the collectd value. For example there are two data sources + # for network measurements: "rx" and "tx". + # Corresponds to the JSON property `dataSourceName` + # @return [String] + attr_accessor :data_source_name + + # The type of measurement. + # Corresponds to the JSON property `dataSourceType` + # @return [String] + attr_accessor :data_source_type + + # A single strongly-typed value. + # Corresponds to the JSON property `value` + # @return [Google::Apis::MonitoringV3::TypedValue] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_source_name = args[:data_source_name] if args.key?(:data_source_name) + @data_source_type = args[:data_source_type] if args.key?(:data_source_type) + @value = args[:value] if args.key?(:value) end end @@ -78,11 +179,6 @@ module Google class CreateCollectdTimeSeriesRequest include Google::Apis::Core::Hashable - # The version of collectd that collected the data. Example: "5.3.0-192.el6". - # Corresponds to the JSON property `collectdVersion` - # @return [String] - attr_accessor :collectd_version - # The collectd payloads representing the time series data. You must not include # more than a single point for each time series, so no two payloads can have the # same values for all of the fields plugin, plugin_instance, type, and @@ -91,6 +187,11 @@ module Google # @return [Array] attr_accessor :collectd_payloads + # The version of collectd that collected the data. Example: "5.3.0-192.el6". + # Corresponds to the JSON property `collectdVersion` + # @return [String] + attr_accessor :collectd_version + # An object representing a resource that can be used for monitoring, logging, # billing, or other purposes. Examples include virtual machine instances, # databases, and storage devices such as disks. The type field identifies a @@ -113,146 +214,12 @@ module Google # Update properties of this object def update!(**args) - @collectd_version = args[:collectd_version] if args.key?(:collectd_version) @collectd_payloads = args[:collectd_payloads] if args.key?(:collectd_payloads) + @collectd_version = args[:collectd_version] if args.key?(:collectd_version) @resource = args[:resource] if args.key?(:resource) end end - # The ListGroupMembers response. - class ListGroupMembersResponse - include Google::Apis::Core::Hashable - - # A set of monitored resources in the group. - # Corresponds to the JSON property `members` - # @return [Array] - attr_accessor :members - - # If there are more results than have been returned, then this field is set to a - # non-empty value. To see the additional results, use that value as pageToken in - # the next call to this method. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The total number of elements matching this request. - # Corresponds to the JSON property `totalSize` - # @return [Fixnum] - attr_accessor :total_size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @members = args[:members] if args.key?(:members) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @total_size = args[:total_size] if args.key?(:total_size) - end - end - - # The ListMonitoredResourceDescriptors response. - class ListMonitoredResourceDescriptorsResponse - include Google::Apis::Core::Hashable - - # If there are more results than have been returned, then this field is set to a - # non-empty value. To see the additional results, use that value as pageToken in - # the next call to this method. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The monitored resource descriptors that are available to this project and that - # match filter, if present. - # Corresponds to the JSON property `resourceDescriptors` - # @return [Array] - attr_accessor :resource_descriptors - - 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) - @resource_descriptors = args[:resource_descriptors] if args.key?(:resource_descriptors) - end - end - - # A collection of data points that describes the time-varying values of a metric. - # A time series is identified by a combination of a fully-specified monitored - # resource and a fully-specified metric. This type is used for both listing and - # creating time series. - class TimeSeries - include Google::Apis::Core::Hashable - - # An object representing a resource that can be used for monitoring, logging, - # billing, or other purposes. Examples include virtual machine instances, - # databases, and storage devices such as disks. The type field identifies a - # MonitoredResourceDescriptor object that describes the resource's schema. - # Information in the labels field identifies the actual resource and its - # attributes according to the schema. For example, a particular Compute Engine - # VM instance could be represented by the following object, because the - # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and " - # zone": - # ` "type": "gce_instance", - # "labels": ` "instance_id": "12345678901234", - # "zone": "us-central1-a" `` - # Corresponds to the JSON property `resource` - # @return [Google::Apis::MonitoringV3::MonitoredResource] - attr_accessor :resource - - # The metric kind of the time series. When listing time series, this metric kind - # might be different from the metric kind of the associated metric if this time - # series is an alignment or reduction of other time series.When creating a time - # series, this field is optional. If present, it must be the same as the metric - # kind of the associated metric. If the associated metric's descriptor must be - # auto-created, then this field specifies the metric kind of the new descriptor - # and must be either GAUGE (the default) or CUMULATIVE. - # Corresponds to the JSON property `metricKind` - # @return [String] - attr_accessor :metric_kind - - # The data points of this time series. When listing time series, the order of - # the points is specified by the list method.When creating a time series, this - # field must contain exactly one point and the point's type must be the same as - # the value type of the associated metric. If the associated metric's descriptor - # must be auto-created, then the value type of the descriptor is determined by - # the point's type, which must be BOOL, INT64, DOUBLE, or DISTRIBUTION. - # Corresponds to the JSON property `points` - # @return [Array] - attr_accessor :points - - # A specific metric, identified by specifying values for all of the labels of a - # MetricDescriptor. - # Corresponds to the JSON property `metric` - # @return [Google::Apis::MonitoringV3::Metric] - attr_accessor :metric - - # The value type of the time series. When listing time series, this value type - # might be different from the value type of the associated metric if this time - # series is an alignment or reduction of other time series.When creating a time - # series, this field is optional. If present, it must be the same as the type of - # the data in the points field. - # Corresponds to the JSON property `valueType` - # @return [String] - attr_accessor :value_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @resource = args[:resource] if args.key?(:resource) - @metric_kind = args[:metric_kind] if args.key?(:metric_kind) - @points = args[:points] if args.key?(:points) - @metric = args[:metric] if args.key?(:metric) - @value_type = args[:value_type] if args.key?(:value_type) - end - end - # The CreateTimeSeries request. class CreateTimeSeriesRequest include Google::Apis::Core::Hashable @@ -319,21 +286,6 @@ module Google # @return [Google::Apis::MonitoringV3::BucketOptions] attr_accessor :bucket_options - # The sum of squared deviations from the mean of the values in the population. - # For values x_i this is: - # Sum[i=1..n]((x_i - mean)^2) - # Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition - # describes Welford's method for accumulating this sum in one pass.If count is - # zero then this field must be zero. - # Corresponds to the JSON property `sumOfSquaredDeviation` - # @return [Float] - attr_accessor :sum_of_squared_deviation - - # The range of the population values. - # Corresponds to the JSON property `range` - # @return [Google::Apis::MonitoringV3::Range] - attr_accessor :range - # The number of values in the population. Must be non-negative. This value must # equal the sum of the values in bucket_counts if a histogram is provided. # Corresponds to the JSON property `count` @@ -346,6 +298,21 @@ module Google # @return [Float] attr_accessor :mean + # The range of the population values. + # Corresponds to the JSON property `range` + # @return [Google::Apis::MonitoringV3::Range] + attr_accessor :range + + # The sum of squared deviations from the mean of the values in the population. + # For values x_i this is: + # Sum[i=1..n]((x_i - mean)^2) + # Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition + # describes Welford's method for accumulating this sum in one pass.If count is + # zero then this field must be zero. + # Corresponds to the JSON property `sumOfSquaredDeviation` + # @return [Float] + attr_accessor :sum_of_squared_deviation + def initialize(**args) update!(**args) end @@ -354,294 +321,10 @@ module Google def update!(**args) @bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts) @bucket_options = args[:bucket_options] if args.key?(:bucket_options) - @sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation) - @range = args[:range] if args.key?(:range) @count = args[:count] if args.key?(:count) @mean = args[:mean] if args.key?(:mean) - end - end - - # An object representing a resource that can be used for monitoring, logging, - # billing, or other purposes. Examples include virtual machine instances, - # databases, and storage devices such as disks. The type field identifies a - # MonitoredResourceDescriptor object that describes the resource's schema. - # Information in the labels field identifies the actual resource and its - # attributes according to the schema. For example, a particular Compute Engine - # VM instance could be represented by the following object, because the - # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and " - # zone": - # ` "type": "gce_instance", - # "labels": ` "instance_id": "12345678901234", - # "zone": "us-central1-a" `` - class MonitoredResource - include Google::Apis::Core::Hashable - - # Required. Values for all of the labels listed in the associated monitored - # resource descriptor. For example, Compute Engine VM instances use the labels " - # project_id", "instance_id", and "zone". - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # Required. The monitored resource type. This field must match the type field of - # a MonitoredResourceDescriptor object. For example, the type of a Compute - # Engine VM instance is gce_instance. - # 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) - @labels = args[:labels] if args.key?(:labels) - @type = args[:type] if args.key?(:type) - end - end - - # The ListMetricDescriptors response. - class ListMetricDescriptorsResponse - include Google::Apis::Core::Hashable - - # If there are more results than have been returned, then this field is set to a - # non-empty value. To see the additional results, use that value as pageToken in - # the next call to this method. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The metric descriptors that are available to the project and that match the - # value of filter, if present. - # Corresponds to the JSON property `metricDescriptors` - # @return [Array] - attr_accessor :metric_descriptors - - 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) - @metric_descriptors = args[:metric_descriptors] if args.key?(:metric_descriptors) - end - end - - # An object that describes the schema of a MonitoredResource object using a type - # name and a set of labels. For example, the monitored resource descriptor for - # Google Compute Engine VM instances has a type of "gce_instance" and specifies - # the use of the labels "instance_id" and "zone" to identify particular VM - # instances.Different APIs can support different monitored resource types. APIs - # generally provide a list method that returns the monitored resource - # descriptors used by the API. - class MonitoredResourceDescriptor - include Google::Apis::Core::Hashable - - # Required. The monitored resource type. For example, the type " - # cloudsql_database" represents databases in Google Cloud SQL. The maximum - # length of this value is 256 characters. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # Required. A set of labels used to describe instances of this monitored - # resource type. For example, an individual Google Cloud SQL database is - # identified by values for the labels "database_id" and "zone". - # Corresponds to the JSON property `labels` - # @return [Array] - attr_accessor :labels - - # Optional. The resource name of the monitored resource descriptor: "projects/` - # project_id`/monitoredResourceDescriptors/`type`" where `type` is the value of - # the type field in this object and `project_id` is a project ID that provides - # API-specific context for accessing the type. APIs that do not use project - # information can use the resource name format "monitoredResourceDescriptors/` - # type`". - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Optional. A detailed description of the monitored resource type that might be - # used in documentation. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Optional. A concise name for the monitored resource type that might be - # displayed in user interfaces. It should be a Title Cased Noun Phrase, without - # any article or other determiners. For example, "Google Cloud SQL Database". - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @type = args[:type] if args.key?(:type) - @labels = args[:labels] if args.key?(:labels) - @name = args[:name] if args.key?(:name) - @description = args[:description] if args.key?(:description) - @display_name = args[:display_name] if args.key?(:display_name) - end - end - - # A single strongly-typed value. - class TypedValue - include Google::Apis::Core::Hashable - - # A 64-bit double-precision floating-point number. Its magnitude is - # approximately ±10±300 and it has 16 significant - # digits of precision. - # Corresponds to the JSON property `doubleValue` - # @return [Float] - attr_accessor :double_value - - # A 64-bit integer. Its range is approximately ±9.2x1018. - # Corresponds to the JSON property `int64Value` - # @return [Fixnum] - attr_accessor :int64_value - - # Distribution contains summary statistics for a population of values. It - # optionally contains a histogram representing the distribution of those values - # across a set of buckets.The summary statistics are the count, mean, sum of the - # squared deviation from the mean, the minimum, and the maximum of the set of - # population of values. The histogram is based on a sequence of buckets and - # gives a count of values that fall into each bucket. The boundaries of the - # buckets are given either explicitly or by formulas for buckets of fixed or - # exponentially increasing widths.Although it is not forbidden, it is generally - # a bad idea to include non-finite values (infinities or NaNs) in the population - # of values, as this will render the mean and sum_of_squared_deviation fields - # meaningless. - # Corresponds to the JSON property `distributionValue` - # @return [Google::Apis::MonitoringV3::Distribution] - attr_accessor :distribution_value - - # A variable-length string value. - # Corresponds to the JSON property `stringValue` - # @return [String] - attr_accessor :string_value - - # A Boolean value: true or false. - # Corresponds to the JSON property `boolValue` - # @return [Boolean] - attr_accessor :bool_value - alias_method :bool_value?, :bool_value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @double_value = args[:double_value] if args.key?(:double_value) - @int64_value = args[:int64_value] if args.key?(:int64_value) - @distribution_value = args[:distribution_value] if args.key?(:distribution_value) - @string_value = args[:string_value] if args.key?(:string_value) - @bool_value = args[:bool_value] if args.key?(:bool_value) - end - end - - # A collection of data points sent from a collectd-based plugin. See the - # collectd documentation for more information. - class CollectdPayload - include Google::Apis::Core::Hashable - - # The measurement type instance. Example: "used". - # Corresponds to the JSON property `typeInstance` - # @return [String] - attr_accessor :type_instance - - # The measurement type. Example: "memory". - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The measurement metadata. Example: "process_id" -> 12345 - # Corresponds to the JSON property `metadata` - # @return [Hash] - attr_accessor :metadata - - # The name of the plugin. Example: "disk". - # Corresponds to the JSON property `plugin` - # @return [String] - attr_accessor :plugin - - # The instance name of the plugin Example: "hdcl". - # Corresponds to the JSON property `pluginInstance` - # @return [String] - attr_accessor :plugin_instance - - # The end time of the interval. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # The start time of the interval. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # The measured values during this time interval. Each value must have a - # different dataSourceName. - # 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) - @type_instance = args[:type_instance] if args.key?(:type_instance) - @type = args[:type] if args.key?(:type) - @metadata = args[:metadata] if args.key?(:metadata) - @plugin = args[:plugin] if args.key?(:plugin) - @plugin_instance = args[:plugin_instance] if args.key?(:plugin_instance) - @end_time = args[:end_time] if args.key?(:end_time) - @start_time = args[:start_time] if args.key?(:start_time) - @values = args[:values] if args.key?(:values) - end - end - - # Specifies a linear sequence of buckets that all have the same width (except - # overflow and underflow). Each bucket represents a constant absolute - # uncertainty on the specific value in the bucket.There are num_finite_buckets + - # 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N- - # 1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1)) - # . - class Linear - include Google::Apis::Core::Hashable - - # Must be greater than 0. - # Corresponds to the JSON property `numFiniteBuckets` - # @return [Fixnum] - attr_accessor :num_finite_buckets - - # Must be greater than 0. - # Corresponds to the JSON property `width` - # @return [Float] - attr_accessor :width - - # Lower bound of the first bucket. - # Corresponds to the JSON property `offset` - # @return [Float] - attr_accessor :offset - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) - @width = args[:width] if args.key?(:width) - @offset = args[:offset] if args.key?(:offset) + @range = args[:range] if args.key?(:range) + @sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation) end end @@ -664,38 +347,6 @@ module Google end end - # A protocol buffer option, which can be attached to a message, field, - # enumeration, etc. - class Option - include Google::Apis::Core::Hashable - - # The option's value packed in an Any message. If the value is a primitive, the - # corresponding wrapper type defined in google/protobuf/wrappers.proto should be - # used. If the value is an enum, it should be stored as an int32 value using the - # google.protobuf.Int32Value type. - # Corresponds to the JSON property `value` - # @return [Hash] - attr_accessor :value - - # The option's name. For protobuf built-in options (options defined in - # descriptor.proto), this is the short name. For example, "map_entry". For - # custom options, it should be the fully-qualified name. For example, "google. - # api.http". - # 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 - # Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (= # N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): # boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at @@ -720,34 +371,6 @@ module Google end end - # A time interval extending just after a start time through an end time. If the - # start time is the same as the end time, then the interval represents a single - # point in time. - class TimeInterval - include Google::Apis::Core::Hashable - - # Optional. The beginning of the time interval. The default value for the start - # time is the end time. The start time must not be later than the end time. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # Required. The end of the time interval. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @start_time = args[:start_time] if args.key?(:start_time) - @end_time = args[:end_time] if args.key?(:end_time) - end - end - # Specifies an exponential sequence of buckets that have a width that is # proportional to the value of the lower bound. Each bucket represents a # constant relative uncertainty on a specific value in the bucket.There are @@ -757,20 +380,20 @@ module Google class Exponential include Google::Apis::Core::Hashable - # Must be greater than 0. - # Corresponds to the JSON property `scale` + # Must be greater than 1. + # Corresponds to the JSON property `growthFactor` # @return [Float] - attr_accessor :scale + attr_accessor :growth_factor # Must be greater than 0. # Corresponds to the JSON property `numFiniteBuckets` # @return [Fixnum] attr_accessor :num_finite_buckets - # Must be greater than 1. - # Corresponds to the JSON property `growthFactor` + # Must be greater than 0. + # Corresponds to the JSON property `scale` # @return [Float] - attr_accessor :growth_factor + attr_accessor :scale def initialize(**args) update!(**args) @@ -778,27 +401,68 @@ module Google # Update properties of this object def update!(**args) - @scale = args[:scale] if args.key?(:scale) - @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) @growth_factor = args[:growth_factor] if args.key?(:growth_factor) + @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) + @scale = args[:scale] if args.key?(:scale) end end - # A single data point in a time series. - class Point + # A single field of a message type. + class Field include Google::Apis::Core::Hashable - # A time interval extending just after a start time through an end time. If the - # start time is the same as the end time, then the interval represents a single - # point in time. - # Corresponds to the JSON property `interval` - # @return [Google::Apis::MonitoringV3::TimeInterval] - attr_accessor :interval + # The field cardinality. + # Corresponds to the JSON property `cardinality` + # @return [String] + attr_accessor :cardinality - # A single strongly-typed value. - # Corresponds to the JSON property `value` - # @return [Google::Apis::MonitoringV3::TypedValue] - attr_accessor :value + # The string value of the default value of this field. Proto2 syntax only. + # Corresponds to the JSON property `defaultValue` + # @return [String] + attr_accessor :default_value + + # The field JSON name. + # Corresponds to the JSON property `jsonName` + # @return [String] + attr_accessor :json_name + + # The field type. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The field name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The field number. + # Corresponds to the JSON property `number` + # @return [Fixnum] + attr_accessor :number + + # The index of the field type in Type.oneofs, for message or enumeration types. + # The first type has index 1; zero means the type is not in the list. + # Corresponds to the JSON property `oneofIndex` + # @return [Fixnum] + attr_accessor :oneof_index + + # The protocol buffer options. + # Corresponds to the JSON property `options` + # @return [Array] + attr_accessor :options + + # Whether to use alternative packed wire representation. + # Corresponds to the JSON property `packed` + # @return [Boolean] + attr_accessor :packed + alias_method :packed?, :packed + + # The field type URL, without the scheme, for message or enumeration types. + # Example: "type.googleapis.com/google.protobuf.Timestamp". + # Corresponds to the JSON property `typeUrl` + # @return [String] + attr_accessor :type_url def initialize(**args) update!(**args) @@ -806,8 +470,295 @@ module Google # Update properties of this object def update!(**args) - @interval = args[:interval] if args.key?(:interval) - @value = args[:value] if args.key?(:value) + @cardinality = args[:cardinality] if args.key?(:cardinality) + @default_value = args[:default_value] if args.key?(:default_value) + @json_name = args[:json_name] if args.key?(:json_name) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @number = args[:number] if args.key?(:number) + @oneof_index = args[:oneof_index] if args.key?(:oneof_index) + @options = args[:options] if args.key?(:options) + @packed = args[:packed] if args.key?(:packed) + @type_url = args[:type_url] if args.key?(:type_url) + end + end + + # The description of a dynamic collection of monitored resources. Each group has + # a filter that is matched against monitored resources and their associated + # metadata. If a group's filter matches an available monitored resource, then + # that resource is a member of that group. Groups can contain any number of + # monitored resources, and each monitored resource can be a member of any number + # of groups.Groups can be nested in parent-child hierarchies. The parentName + # field identifies an optional parent for each group. If a group has a parent, + # then the only monitored resources available to be matched by the group's + # filter are the resources contained in the parent group. In other words, a + # group contains the monitored resources that match its filter and the filters + # of all the group's ancestors. A group without a parent can contain any + # monitored resource.For example, consider an infrastructure running a set of + # instances with two user-defined tags: "environment" and "role". A parent group + # has a filter, environment="production". A child of that parent group has a + # filter, role="transcoder". The parent group contains all instances in the + # production environment, regardless of their roles. The child group contains + # instances that have the transcoder role and are in the production environment. + # The monitored resources contained in a group can change at any moment, + # depending on what resources exist and what filters are associated with the + # group and its ancestors. + class Group + include Google::Apis::Core::Hashable + + # A user-assigned name for this group, used only for display purposes. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The filter used to determine which monitored resources belong to this group. + # Corresponds to the JSON property `filter` + # @return [String] + attr_accessor :filter + + # If true, the members of this group are considered to be a cluster. The system + # can perform additional analysis on groups that are clusters. + # Corresponds to the JSON property `isCluster` + # @return [Boolean] + attr_accessor :is_cluster + alias_method :is_cluster?, :is_cluster + + # Output only. The name of this group. The format is "projects/` + # project_id_or_number`/groups/`group_id`". When creating a group, this field is + # ignored and a new name is created consisting of the project specified in the + # call to CreateGroup and a unique `group_id` that is generated automatically. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The name of the group's parent, if it has one. The format is "projects/` + # project_id_or_number`/groups/`group_id`". For groups with no parent, + # parentName is the empty string, "". + # Corresponds to the JSON property `parentName` + # @return [String] + attr_accessor :parent_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) + @filter = args[:filter] if args.key?(:filter) + @is_cluster = args[:is_cluster] if args.key?(:is_cluster) + @name = args[:name] if args.key?(:name) + @parent_name = args[:parent_name] if args.key?(:parent_name) + end + end + + # A description of a label. + class LabelDescriptor + include Google::Apis::Core::Hashable + + # A human-readable description for the label. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The label key. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # The type of data that can be assigned to the label. + # Corresponds to the JSON property `valueType` + # @return [String] + attr_accessor :value_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @key = args[:key] if args.key?(:key) + @value_type = args[:value_type] if args.key?(:value_type) + end + end + + # Specifies a linear sequence of buckets that all have the same width (except + # overflow and underflow). Each bucket represents a constant absolute + # uncertainty on the specific value in the bucket.There are num_finite_buckets + + # 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N- + # 1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1)) + # . + class Linear + include Google::Apis::Core::Hashable + + # Must be greater than 0. + # Corresponds to the JSON property `numFiniteBuckets` + # @return [Fixnum] + attr_accessor :num_finite_buckets + + # Lower bound of the first bucket. + # Corresponds to the JSON property `offset` + # @return [Float] + attr_accessor :offset + + # Must be greater than 0. + # Corresponds to the JSON property `width` + # @return [Float] + attr_accessor :width + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) + @offset = args[:offset] if args.key?(:offset) + @width = args[:width] if args.key?(:width) + end + end + + # The ListGroupMembers response. + class ListGroupMembersResponse + include Google::Apis::Core::Hashable + + # A set of monitored resources in the group. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members + + # If there are more results than have been returned, then this field is set to a + # non-empty value. To see the additional results, use that value as pageToken in + # the next call to this method. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The total number of elements matching this request. + # Corresponds to the JSON property `totalSize` + # @return [Fixnum] + attr_accessor :total_size + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @members = args[:members] if args.key?(:members) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @total_size = args[:total_size] if args.key?(:total_size) + end + end + + # The ListGroups response. + class ListGroupsResponse + include Google::Apis::Core::Hashable + + # The groups that match the specified filters. + # Corresponds to the JSON property `group` + # @return [Array] + attr_accessor :group + + # If there are more results than have been returned, then this field is set to a + # non-empty value. To see the additional results, use that value as pageToken in + # the next call to this method. + # 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) + @group = args[:group] if args.key?(:group) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The ListMetricDescriptors response. + class ListMetricDescriptorsResponse + include Google::Apis::Core::Hashable + + # The metric descriptors that are available to the project and that match the + # value of filter, if present. + # Corresponds to the JSON property `metricDescriptors` + # @return [Array] + attr_accessor :metric_descriptors + + # If there are more results than have been returned, then this field is set to a + # non-empty value. To see the additional results, use that value as pageToken in + # the next call to this method. + # 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) + @metric_descriptors = args[:metric_descriptors] if args.key?(:metric_descriptors) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The ListMonitoredResourceDescriptors response. + class ListMonitoredResourceDescriptorsResponse + include Google::Apis::Core::Hashable + + # If there are more results than have been returned, then this field is set to a + # non-empty value. To see the additional results, use that value as pageToken in + # the next call to this method. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The monitored resource descriptors that are available to this project and that + # match filter, if present. + # Corresponds to the JSON property `resourceDescriptors` + # @return [Array] + attr_accessor :resource_descriptors + + 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) + @resource_descriptors = args[:resource_descriptors] if args.key?(:resource_descriptors) + end + end + + # The ListTimeSeries response. + class ListTimeSeriesResponse + include Google::Apis::Core::Hashable + + # If there are more results than have been returned, then this field is set to a + # non-empty value. To see the additional results, use that value as pageToken in + # the next call to this method. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # One or more time series that match the filter included in the request. + # Corresponds to the JSON property `timeSeries` + # @return [Array] + attr_accessor :time_series + + 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) + @time_series = args[:time_series] if args.key?(:time_series) end end @@ -839,381 +790,16 @@ module Google end end - # A single field of a message type. - class Field - include Google::Apis::Core::Hashable - - # The field type. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # The field JSON name. - # Corresponds to the JSON property `jsonName` - # @return [String] - attr_accessor :json_name - - # The protocol buffer options. - # Corresponds to the JSON property `options` - # @return [Array] - attr_accessor :options - - # The index of the field type in Type.oneofs, for message or enumeration types. - # The first type has index 1; zero means the type is not in the list. - # Corresponds to the JSON property `oneofIndex` - # @return [Fixnum] - attr_accessor :oneof_index - - # The field cardinality. - # Corresponds to the JSON property `cardinality` - # @return [String] - attr_accessor :cardinality - - # Whether to use alternative packed wire representation. - # Corresponds to the JSON property `packed` - # @return [Boolean] - attr_accessor :packed - alias_method :packed?, :packed - - # The string value of the default value of this field. Proto2 syntax only. - # Corresponds to the JSON property `defaultValue` - # @return [String] - attr_accessor :default_value - - # The field name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The field type URL, without the scheme, for message or enumeration types. - # Example: "type.googleapis.com/google.protobuf.Timestamp". - # Corresponds to the JSON property `typeUrl` - # @return [String] - attr_accessor :type_url - - # The field number. - # Corresponds to the JSON property `number` - # @return [Fixnum] - attr_accessor :number - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @kind = args[:kind] if args.key?(:kind) - @json_name = args[:json_name] if args.key?(:json_name) - @options = args[:options] if args.key?(:options) - @oneof_index = args[:oneof_index] if args.key?(:oneof_index) - @cardinality = args[:cardinality] if args.key?(:cardinality) - @packed = args[:packed] if args.key?(:packed) - @default_value = args[:default_value] if args.key?(:default_value) - @name = args[:name] if args.key?(:name) - @type_url = args[:type_url] if args.key?(:type_url) - @number = args[:number] if args.key?(:number) - end - end - - # A description of a label. - class LabelDescriptor - include Google::Apis::Core::Hashable - - # A human-readable description for the label. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # The type of data that can be assigned to the label. - # Corresponds to the JSON property `valueType` - # @return [String] - attr_accessor :value_type - - # The label key. - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @description = args[:description] if args.key?(:description) - @value_type = args[:value_type] if args.key?(:value_type) - @key = args[:key] if args.key?(:key) - end - end - - # The ListTimeSeries response. - class ListTimeSeriesResponse - include Google::Apis::Core::Hashable - - # One or more time series that match the filter included in the request. - # Corresponds to the JSON property `timeSeries` - # @return [Array] - attr_accessor :time_series - - # If there are more results than have been returned, then this field is set to a - # non-empty value. To see the additional results, use that value as pageToken in - # the next call to this method. - # 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) - @time_series = args[:time_series] if args.key?(:time_series) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # The description of a dynamic collection of monitored resources. Each group has - # a filter that is matched against monitored resources and their associated - # metadata. If a group's filter matches an available monitored resource, then - # that resource is a member of that group. Groups can contain any number of - # monitored resources, and each monitored resource can be a member of any number - # of groups.Groups can be nested in parent-child hierarchies. The parentName - # field identifies an optional parent for each group. If a group has a parent, - # then the only monitored resources available to be matched by the group's - # filter are the resources contained in the parent group. In other words, a - # group contains the monitored resources that match its filter and the filters - # of all the group's ancestors. A group without a parent can contain any - # monitored resource.For example, consider an infrastructure running a set of - # instances with two user-defined tags: "environment" and "role". A parent group - # has a filter, environment="production". A child of that parent group has a - # filter, role="transcoder". The parent group contains all instances in the - # production environment, regardless of their roles. The child group contains - # instances that have the transcoder role and are in the production environment. - # The monitored resources contained in a group can change at any moment, - # depending on what resources exist and what filters are associated with the - # group and its ancestors. - class Group - include Google::Apis::Core::Hashable - - # The name of the group's parent, if it has one. The format is "projects/` - # project_id_or_number`/groups/`group_id`". For groups with no parent, - # parentName is the empty string, "". - # Corresponds to the JSON property `parentName` - # @return [String] - attr_accessor :parent_name - - # Output only. The name of this group. The format is "projects/` - # project_id_or_number`/groups/`group_id`". When creating a group, this field is - # ignored and a new name is created consisting of the project specified in the - # call to CreateGroup and a unique `group_id` that is generated automatically. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # A user-assigned name for this group, used only for display purposes. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # If true, the members of this group are considered to be a cluster. The system - # can perform additional analysis on groups that are clusters. - # Corresponds to the JSON property `isCluster` - # @return [Boolean] - attr_accessor :is_cluster - alias_method :is_cluster?, :is_cluster - - # The filter used to determine which monitored resources belong to this group. - # Corresponds to the JSON property `filter` - # @return [String] - attr_accessor :filter - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @parent_name = args[:parent_name] if args.key?(:parent_name) - @name = args[:name] if args.key?(:name) - @display_name = args[:display_name] if args.key?(:display_name) - @is_cluster = args[:is_cluster] if args.key?(:is_cluster) - @filter = args[:filter] if args.key?(:filter) - end - end - - # A protocol buffer message type. - class Type - include Google::Apis::Core::Hashable - - # The protocol buffer options. - # Corresponds to the JSON property `options` - # @return [Array] - attr_accessor :options - - # The list of fields. - # Corresponds to the JSON property `fields` - # @return [Array] - attr_accessor :fields - - # The fully qualified message name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The list of types appearing in oneof definitions in this type. - # Corresponds to the JSON property `oneofs` - # @return [Array] - attr_accessor :oneofs - - # SourceContext represents information about the source of a protobuf element, - # like the file in which it is defined. - # Corresponds to the JSON property `sourceContext` - # @return [Google::Apis::MonitoringV3::SourceContext] - attr_accessor :source_context - - # The source syntax. - # Corresponds to the JSON property `syntax` - # @return [String] - attr_accessor :syntax - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @options = args[:options] if args.key?(:options) - @fields = args[:fields] if args.key?(:fields) - @name = args[:name] if args.key?(:name) - @oneofs = args[:oneofs] if args.key?(:oneofs) - @source_context = args[:source_context] if args.key?(:source_context) - @syntax = args[:syntax] if args.key?(:syntax) - end - end - - # BucketOptions describes the bucket boundaries used to create a histogram for - # the distribution. The buckets can be in a linear sequence, an exponential - # sequence, or each bucket can be specified explicitly. BucketOptions does not - # include the number of values in each bucket.A bucket has an inclusive lower - # bound and exclusive upper bound for the values that are counted for that - # bucket. The upper bound of a bucket must be strictly greater than the lower - # bound. The sequence of N buckets for a distribution consists of an underflow - # bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an - # overflow bucket (number N - 1). The buckets are contiguous: the lower bound of - # bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets - # span the whole range of finite values: lower bound of the underflow bucket is - - # infinity and the upper bound of the overflow bucket is +infinity. The finite - # buckets are so-called because both bounds are finite. - class BucketOptions - include Google::Apis::Core::Hashable - - # Specifies an exponential sequence of buckets that have a width that is - # proportional to the value of the lower bound. Each bucket represents a - # constant relative uncertainty on a specific value in the bucket.There are - # num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries: - # Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i < - # N): scale * (growth_factor ^ (i - 1)). - # Corresponds to the JSON property `exponentialBuckets` - # @return [Google::Apis::MonitoringV3::Exponential] - attr_accessor :exponential_buckets - - # Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (= - # N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): - # boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at - # least one element. If bounds has only one element, then there are no finite - # buckets, and that single element is the common boundary of the overflow and - # underflow buckets. - # Corresponds to the JSON property `explicitBuckets` - # @return [Google::Apis::MonitoringV3::Explicit] - attr_accessor :explicit_buckets - - # Specifies a linear sequence of buckets that all have the same width (except - # overflow and underflow). Each bucket represents a constant absolute - # uncertainty on the specific value in the bucket.There are num_finite_buckets + - # 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N- - # 1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1)) - # . - # Corresponds to the JSON property `linearBuckets` - # @return [Google::Apis::MonitoringV3::Linear] - attr_accessor :linear_buckets - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets) - @explicit_buckets = args[:explicit_buckets] if args.key?(:explicit_buckets) - @linear_buckets = args[:linear_buckets] if args.key?(:linear_buckets) - end - end - - # A single data point from a collectd-based plugin. - class CollectdValue - include Google::Apis::Core::Hashable - - # The type of measurement. - # Corresponds to the JSON property `dataSourceType` - # @return [String] - attr_accessor :data_source_type - - # The data source for the collectd value. For example there are two data sources - # for network measurements: "rx" and "tx". - # Corresponds to the JSON property `dataSourceName` - # @return [String] - attr_accessor :data_source_name - - # A single strongly-typed value. - # Corresponds to the JSON property `value` - # @return [Google::Apis::MonitoringV3::TypedValue] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @data_source_type = args[:data_source_type] if args.key?(:data_source_type) - @data_source_name = args[:data_source_name] if args.key?(:data_source_name) - @value = args[:value] if args.key?(:value) - end - end - - # SourceContext represents information about the source of a protobuf element, - # like the file in which it is defined. - class SourceContext - include Google::Apis::Core::Hashable - - # The path-qualified name of the .proto file that contained the associated - # protobuf element. For example: "google/protobuf/source_context.proto". - # Corresponds to the JSON property `fileName` - # @return [String] - attr_accessor :file_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @file_name = args[:file_name] if args.key?(:file_name) - end - end - # Defines a metric type and its schema. Once a metric descriptor is created, # deleting or altering it stops data collection and makes the metric type's # existing data unusable. class MetricDescriptor include Google::Apis::Core::Hashable - # Whether the metric records instantaneous values, changes to a value, etc. Some - # combinations of metric_kind and value_type might not be supported. - # Corresponds to the JSON property `metricKind` + # A detailed description of the metric, which can be used in documentation. + # Corresponds to the JSON property `description` # @return [String] - attr_accessor :metric_kind + attr_accessor :description # A concise name for the metric, which can be displayed in user interfaces. Use # sentence case without an ending period, for example "Request count". @@ -1221,10 +807,41 @@ module Google # @return [String] attr_accessor :display_name - # A detailed description of the metric, which can be used in documentation. - # Corresponds to the JSON property `description` + # The set of labels that can be used to describe a specific instance of this + # metric type. For example, the appengine.googleapis.com/http/server/ + # response_latencies metric type has a label for the HTTP response code, + # response_code, so you can look at latencies for successful responses or just + # for responses that failed. + # Corresponds to the JSON property `labels` + # @return [Array] + attr_accessor :labels + + # Whether the metric records instantaneous values, changes to a value, etc. Some + # combinations of metric_kind and value_type might not be supported. + # Corresponds to the JSON property `metricKind` # @return [String] - attr_accessor :description + attr_accessor :metric_kind + + # The resource name of the metric descriptor. Depending on the implementation, + # the name typically includes: (1) the parent resource name that defines the + # scope of the metric type or of its data; and (2) the metric's URL-encoded type, + # which also appears in the type field of this descriptor. For example, + # following is the resource name of a custom metric within the GCP project my- + # project-id: + # "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice% + # 2Fpaid%2Famount" + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The metric type, including its DNS name prefix. The type is not URL-encoded. + # All user-defined custom metric types have the DNS name custom.googleapis.com. + # Metric types should use a natural hierarchical grouping. For example: + # "custom.googleapis.com/invoice/paid/amount" + # "appengine.googleapis.com/http/server/response_latencies" + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type # The unit in which the metric value is reported. It is only applicable if the # value_type is INT64, DOUBLE, or DISTRIBUTION. The supported units are a subset @@ -1276,36 +893,6 @@ module Google # @return [String] attr_accessor :unit - # The set of labels that can be used to describe a specific instance of this - # metric type. For example, the appengine.googleapis.com/http/server/ - # response_latencies metric type has a label for the HTTP response code, - # response_code, so you can look at latencies for successful responses or just - # for responses that failed. - # Corresponds to the JSON property `labels` - # @return [Array] - attr_accessor :labels - - # The resource name of the metric descriptor. Depending on the implementation, - # the name typically includes: (1) the parent resource name that defines the - # scope of the metric type or of its data; and (2) the metric's URL-encoded type, - # which also appears in the type field of this descriptor. For example, - # following is the resource name of a custom metric within the GCP project my- - # project-id: - # "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice% - # 2Fpaid%2Famount" - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The metric type, including its DNS name prefix. The type is not URL-encoded. - # All user-defined custom metric types have the DNS name custom.googleapis.com. - # Metric types should use a natural hierarchical grouping. For example: - # "custom.googleapis.com/invoice/paid/amount" - # "appengine.googleapis.com/http/server/response_latencies" - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - # Whether the measurement is an integer, a floating-point number, etc. Some # combinations of metric_kind and value_type might not be supported. # Corresponds to the JSON property `valueType` @@ -1318,16 +905,429 @@ module Google # Update properties of this object def update!(**args) - @metric_kind = args[:metric_kind] if args.key?(:metric_kind) - @display_name = args[:display_name] if args.key?(:display_name) @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @labels = args[:labels] if args.key?(:labels) + @metric_kind = args[:metric_kind] if args.key?(:metric_kind) + @name = args[:name] if args.key?(:name) + @type = args[:type] if args.key?(:type) @unit = args[:unit] if args.key?(:unit) + @value_type = args[:value_type] if args.key?(:value_type) + end + end + + # An object representing a resource that can be used for monitoring, logging, + # billing, or other purposes. Examples include virtual machine instances, + # databases, and storage devices such as disks. The type field identifies a + # MonitoredResourceDescriptor object that describes the resource's schema. + # Information in the labels field identifies the actual resource and its + # attributes according to the schema. For example, a particular Compute Engine + # VM instance could be represented by the following object, because the + # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and " + # zone": + # ` "type": "gce_instance", + # "labels": ` "instance_id": "12345678901234", + # "zone": "us-central1-a" `` + class MonitoredResource + include Google::Apis::Core::Hashable + + # Required. Values for all of the labels listed in the associated monitored + # resource descriptor. For example, Compute Engine VM instances use the labels " + # project_id", "instance_id", and "zone". + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Required. The monitored resource type. This field must match the type field of + # a MonitoredResourceDescriptor object. For example, the type of a Compute + # Engine VM instance is gce_instance. + # 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) + @labels = args[:labels] if args.key?(:labels) + @type = args[:type] if args.key?(:type) + end + end + + # An object that describes the schema of a MonitoredResource object using a type + # name and a set of labels. For example, the monitored resource descriptor for + # Google Compute Engine VM instances has a type of "gce_instance" and specifies + # the use of the labels "instance_id" and "zone" to identify particular VM + # instances.Different APIs can support different monitored resource types. APIs + # generally provide a list method that returns the monitored resource + # descriptors used by the API. + class MonitoredResourceDescriptor + include Google::Apis::Core::Hashable + + # Optional. A detailed description of the monitored resource type that might be + # used in documentation. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Optional. A concise name for the monitored resource type that might be + # displayed in user interfaces. It should be a Title Cased Noun Phrase, without + # any article or other determiners. For example, "Google Cloud SQL Database". + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Required. A set of labels used to describe instances of this monitored + # resource type. For example, an individual Google Cloud SQL database is + # identified by values for the labels "database_id" and "zone". + # Corresponds to the JSON property `labels` + # @return [Array] + attr_accessor :labels + + # Optional. The resource name of the monitored resource descriptor: "projects/` + # project_id`/monitoredResourceDescriptors/`type`" where `type` is the value of + # the type field in this object and `project_id` is a project ID that provides + # API-specific context for accessing the type. APIs that do not use project + # information can use the resource name format "monitoredResourceDescriptors/` + # type`". + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Required. The monitored resource type. For example, the type " + # cloudsql_database" represents databases in Google Cloud SQL. The maximum + # length of this value is 256 characters. + # 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) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) + end + end + + # A protocol buffer option, which can be attached to a message, field, + # enumeration, etc. + class Option + include Google::Apis::Core::Hashable + + # The option's name. For protobuf built-in options (options defined in + # descriptor.proto), this is the short name. For example, "map_entry". For + # custom options, it should be the fully-qualified name. For example, "google. + # api.http". + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The option's value packed in an Any message. If the value is a primitive, the + # corresponding wrapper type defined in google/protobuf/wrappers.proto should be + # used. If the value is an enum, it should be stored as an int32 value using the + # google.protobuf.Int32Value type. + # Corresponds to the JSON property `value` + # @return [Hash] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @value = args[:value] if args.key?(:value) + end + end + + # A single data point in a time series. + class Point + include Google::Apis::Core::Hashable + + # A time interval extending just after a start time through an end time. If the + # start time is the same as the end time, then the interval represents a single + # point in time. + # Corresponds to the JSON property `interval` + # @return [Google::Apis::MonitoringV3::TimeInterval] + attr_accessor :interval + + # A single strongly-typed value. + # Corresponds to the JSON property `value` + # @return [Google::Apis::MonitoringV3::TypedValue] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @interval = args[:interval] if args.key?(:interval) + @value = args[:value] if args.key?(:value) + end + end + + # The range of the population values. + class Range + include Google::Apis::Core::Hashable + + # The maximum of the population values. + # Corresponds to the JSON property `max` + # @return [Float] + attr_accessor :max + + # The minimum of the population values. + # Corresponds to the JSON property `min` + # @return [Float] + attr_accessor :min + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @max = args[:max] if args.key?(:max) + @min = args[:min] if args.key?(:min) + end + end + + # SourceContext represents information about the source of a protobuf element, + # like the file in which it is defined. + class SourceContext + include Google::Apis::Core::Hashable + + # The path-qualified name of the .proto file that contained the associated + # protobuf element. For example: "google/protobuf/source_context.proto". + # Corresponds to the JSON property `fileName` + # @return [String] + attr_accessor :file_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file_name = args[:file_name] if args.key?(:file_name) + end + end + + # A time interval extending just after a start time through an end time. If the + # start time is the same as the end time, then the interval represents a single + # point in time. + class TimeInterval + include Google::Apis::Core::Hashable + + # Required. The end of the time interval. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # Optional. The beginning of the time interval. The default value for the start + # time is the end time. The start time must not be later than the end time. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) + end + end + + # A collection of data points that describes the time-varying values of a metric. + # A time series is identified by a combination of a fully-specified monitored + # resource and a fully-specified metric. This type is used for both listing and + # creating time series. + class TimeSeries + include Google::Apis::Core::Hashable + + # A specific metric, identified by specifying values for all of the labels of a + # MetricDescriptor. + # Corresponds to the JSON property `metric` + # @return [Google::Apis::MonitoringV3::Metric] + attr_accessor :metric + + # The metric kind of the time series. When listing time series, this metric kind + # might be different from the metric kind of the associated metric if this time + # series is an alignment or reduction of other time series.When creating a time + # series, this field is optional. If present, it must be the same as the metric + # kind of the associated metric. If the associated metric's descriptor must be + # auto-created, then this field specifies the metric kind of the new descriptor + # and must be either GAUGE (the default) or CUMULATIVE. + # Corresponds to the JSON property `metricKind` + # @return [String] + attr_accessor :metric_kind + + # The data points of this time series. When listing time series, the order of + # the points is specified by the list method.When creating a time series, this + # field must contain exactly one point and the point's type must be the same as + # the value type of the associated metric. If the associated metric's descriptor + # must be auto-created, then the value type of the descriptor is determined by + # the point's type, which must be BOOL, INT64, DOUBLE, or DISTRIBUTION. + # Corresponds to the JSON property `points` + # @return [Array] + attr_accessor :points + + # An object representing a resource that can be used for monitoring, logging, + # billing, or other purposes. Examples include virtual machine instances, + # databases, and storage devices such as disks. The type field identifies a + # MonitoredResourceDescriptor object that describes the resource's schema. + # Information in the labels field identifies the actual resource and its + # attributes according to the schema. For example, a particular Compute Engine + # VM instance could be represented by the following object, because the + # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and " + # zone": + # ` "type": "gce_instance", + # "labels": ` "instance_id": "12345678901234", + # "zone": "us-central1-a" `` + # Corresponds to the JSON property `resource` + # @return [Google::Apis::MonitoringV3::MonitoredResource] + attr_accessor :resource + + # The value type of the time series. When listing time series, this value type + # might be different from the value type of the associated metric if this time + # series is an alignment or reduction of other time series.When creating a time + # series, this field is optional. If present, it must be the same as the type of + # the data in the points field. + # Corresponds to the JSON property `valueType` + # @return [String] + attr_accessor :value_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metric = args[:metric] if args.key?(:metric) + @metric_kind = args[:metric_kind] if args.key?(:metric_kind) + @points = args[:points] if args.key?(:points) + @resource = args[:resource] if args.key?(:resource) @value_type = args[:value_type] if args.key?(:value_type) end end + + # A protocol buffer message type. + class Type + include Google::Apis::Core::Hashable + + # The list of fields. + # Corresponds to the JSON property `fields` + # @return [Array] + attr_accessor :fields + + # The fully qualified message name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The list of types appearing in oneof definitions in this type. + # Corresponds to the JSON property `oneofs` + # @return [Array] + attr_accessor :oneofs + + # The protocol buffer options. + # Corresponds to the JSON property `options` + # @return [Array] + attr_accessor :options + + # SourceContext represents information about the source of a protobuf element, + # like the file in which it is defined. + # Corresponds to the JSON property `sourceContext` + # @return [Google::Apis::MonitoringV3::SourceContext] + attr_accessor :source_context + + # The source syntax. + # Corresponds to the JSON property `syntax` + # @return [String] + attr_accessor :syntax + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fields = args[:fields] if args.key?(:fields) + @name = args[:name] if args.key?(:name) + @oneofs = args[:oneofs] if args.key?(:oneofs) + @options = args[:options] if args.key?(:options) + @source_context = args[:source_context] if args.key?(:source_context) + @syntax = args[:syntax] if args.key?(:syntax) + end + end + + # A single strongly-typed value. + class TypedValue + include Google::Apis::Core::Hashable + + # A Boolean value: true or false. + # Corresponds to the JSON property `boolValue` + # @return [Boolean] + attr_accessor :bool_value + alias_method :bool_value?, :bool_value + + # Distribution contains summary statistics for a population of values. It + # optionally contains a histogram representing the distribution of those values + # across a set of buckets.The summary statistics are the count, mean, sum of the + # squared deviation from the mean, the minimum, and the maximum of the set of + # population of values. The histogram is based on a sequence of buckets and + # gives a count of values that fall into each bucket. The boundaries of the + # buckets are given either explicitly or by formulas for buckets of fixed or + # exponentially increasing widths.Although it is not forbidden, it is generally + # a bad idea to include non-finite values (infinities or NaNs) in the population + # of values, as this will render the mean and sum_of_squared_deviation fields + # meaningless. + # Corresponds to the JSON property `distributionValue` + # @return [Google::Apis::MonitoringV3::Distribution] + attr_accessor :distribution_value + + # A 64-bit double-precision floating-point number. Its magnitude is + # approximately ±10±300 and it has 16 significant + # digits of precision. + # Corresponds to the JSON property `doubleValue` + # @return [Float] + attr_accessor :double_value + + # A 64-bit integer. Its range is approximately ±9.2x1018. + # Corresponds to the JSON property `int64Value` + # @return [Fixnum] + attr_accessor :int64_value + + # A variable-length string value. + # Corresponds to the JSON property `stringValue` + # @return [String] + attr_accessor :string_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bool_value = args[:bool_value] if args.key?(:bool_value) + @distribution_value = args[:distribution_value] if args.key?(:distribution_value) + @double_value = args[:double_value] if args.key?(:double_value) + @int64_value = args[:int64_value] if args.key?(:int64_value) + @string_value = args[:string_value] if args.key?(:string_value) + end + end end end end diff --git a/generated/google/apis/monitoring_v3/representations.rb b/generated/google/apis/monitoring_v3/representations.rb index a8360cf54..e0767a01e 100644 --- a/generated/google/apis/monitoring_v3/representations.rb +++ b/generated/google/apis/monitoring_v3/representations.rb @@ -22,13 +22,19 @@ module Google module Apis module MonitoringV3 - class Range + class BucketOptions class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListGroupsResponse + class CollectdPayload + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CollectdValue class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -40,24 +46,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ListGroupMembersResponse - 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 TimeSeries - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class CreateTimeSeriesRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -70,127 +58,79 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class MonitoredResource - 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 MonitoredResourceDescriptor - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TypedValue - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CollectdPayload - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Linear - 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 Option - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Explicit class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class TimeInterval - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Exponential 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 Metric - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Field 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 LabelDescriptor class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Linear + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListGroupMembersResponse + 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 ListMetricDescriptorsResponse + 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 ListTimeSeriesResponse 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 Type - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BucketOptions - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CollectdValue - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceContext + class Metric class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -202,67 +142,115 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class MonitoredResource + 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 Option + 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 Range + 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 TimeInterval + 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 Type + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TypedValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BucketOptions # @private class Representation < Google::Apis::Core::JsonRepresentation - property :min, as: 'min' - property :max, as: 'max' + property :explicit_buckets, as: 'explicitBuckets', class: Google::Apis::MonitoringV3::Explicit, decorator: Google::Apis::MonitoringV3::Explicit::Representation + + property :exponential_buckets, as: 'exponentialBuckets', class: Google::Apis::MonitoringV3::Exponential, decorator: Google::Apis::MonitoringV3::Exponential::Representation + + property :linear_buckets, as: 'linearBuckets', class: Google::Apis::MonitoringV3::Linear, decorator: Google::Apis::MonitoringV3::Linear::Representation + end end - class ListGroupsResponse + class CollectdPayload # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :group, as: 'group', class: Google::Apis::MonitoringV3::Group, decorator: Google::Apis::MonitoringV3::Group::Representation + property :end_time, as: 'endTime' + hash :metadata, as: 'metadata', class: Google::Apis::MonitoringV3::TypedValue, decorator: Google::Apis::MonitoringV3::TypedValue::Representation + + property :plugin, as: 'plugin' + property :plugin_instance, as: 'pluginInstance' + property :start_time, as: 'startTime' + property :type, as: 'type' + property :type_instance, as: 'typeInstance' + collection :values, as: 'values', class: Google::Apis::MonitoringV3::CollectdValue, decorator: Google::Apis::MonitoringV3::CollectdValue::Representation + + end + end + + class CollectdValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_source_name, as: 'dataSourceName' + property :data_source_type, as: 'dataSourceType' + property :value, as: 'value', class: Google::Apis::MonitoringV3::TypedValue, decorator: Google::Apis::MonitoringV3::TypedValue::Representation - property :next_page_token, as: 'nextPageToken' end end class CreateCollectdTimeSeriesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :collectd_version, as: 'collectdVersion' collection :collectd_payloads, as: 'collectdPayloads', class: Google::Apis::MonitoringV3::CollectdPayload, decorator: Google::Apis::MonitoringV3::CollectdPayload::Representation + property :collectd_version, as: 'collectdVersion' property :resource, as: 'resource', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation end end - class ListGroupMembersResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :members, as: 'members', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation - - property :next_page_token, as: 'nextPageToken' - property :total_size, as: 'totalSize' - end - end - - class ListMonitoredResourceDescriptorsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :resource_descriptors, as: 'resourceDescriptors', class: Google::Apis::MonitoringV3::MonitoredResourceDescriptor, decorator: Google::Apis::MonitoringV3::MonitoredResourceDescriptor::Representation - - end - end - - class TimeSeries - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :resource, as: 'resource', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation - - property :metric_kind, as: 'metricKind' - collection :points, as: 'points', class: Google::Apis::MonitoringV3::Point, decorator: Google::Apis::MonitoringV3::Point::Representation - - property :metric, as: 'metric', class: Google::Apis::MonitoringV3::Metric, decorator: Google::Apis::MonitoringV3::Metric::Representation - - property :value_type, as: 'valueType' - end - end - class CreateTimeSeriesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -277,11 +265,148 @@ module Google collection :bucket_counts, as: 'bucketCounts' property :bucket_options, as: 'bucketOptions', class: Google::Apis::MonitoringV3::BucketOptions, decorator: Google::Apis::MonitoringV3::BucketOptions::Representation - property :sum_of_squared_deviation, as: 'sumOfSquaredDeviation' - property :range, as: 'range', class: Google::Apis::MonitoringV3::Range, decorator: Google::Apis::MonitoringV3::Range::Representation - property :count, :numeric_string => true, as: 'count' property :mean, as: 'mean' + property :range, as: 'range', class: Google::Apis::MonitoringV3::Range, decorator: Google::Apis::MonitoringV3::Range::Representation + + property :sum_of_squared_deviation, as: 'sumOfSquaredDeviation' + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Explicit + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :bounds, as: 'bounds' + end + end + + class Exponential + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :growth_factor, as: 'growthFactor' + property :num_finite_buckets, as: 'numFiniteBuckets' + property :scale, as: 'scale' + end + end + + class Field + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cardinality, as: 'cardinality' + property :default_value, as: 'defaultValue' + property :json_name, as: 'jsonName' + property :kind, as: 'kind' + property :name, as: 'name' + property :number, as: 'number' + property :oneof_index, as: 'oneofIndex' + collection :options, as: 'options', class: Google::Apis::MonitoringV3::Option, decorator: Google::Apis::MonitoringV3::Option::Representation + + property :packed, as: 'packed' + property :type_url, as: 'typeUrl' + end + end + + class Group + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :filter, as: 'filter' + property :is_cluster, as: 'isCluster' + property :name, as: 'name' + property :parent_name, as: 'parentName' + end + end + + class LabelDescriptor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :key, as: 'key' + property :value_type, as: 'valueType' + end + end + + class Linear + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :num_finite_buckets, as: 'numFiniteBuckets' + property :offset, as: 'offset' + property :width, as: 'width' + end + end + + class ListGroupMembersResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :members, as: 'members', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation + + property :next_page_token, as: 'nextPageToken' + property :total_size, as: 'totalSize' + end + end + + class ListGroupsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :group, as: 'group', class: Google::Apis::MonitoringV3::Group, decorator: Google::Apis::MonitoringV3::Group::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListMetricDescriptorsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :metric_descriptors, as: 'metricDescriptors', class: Google::Apis::MonitoringV3::MetricDescriptor, decorator: Google::Apis::MonitoringV3::MetricDescriptor::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListMonitoredResourceDescriptorsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :resource_descriptors, as: 'resourceDescriptors', class: Google::Apis::MonitoringV3::MonitoredResourceDescriptor, decorator: Google::Apis::MonitoringV3::MonitoredResourceDescriptor::Representation + + end + end + + class ListTimeSeriesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :time_series, as: 'timeSeries', class: Google::Apis::MonitoringV3::TimeSeries, decorator: Google::Apis::MonitoringV3::TimeSeries::Representation + + end + end + + class Metric + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :labels, as: 'labels' + property :type, as: 'type' + end + end + + class MetricDescriptor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :display_name, as: 'displayName' + collection :labels, as: 'labels', class: Google::Apis::MonitoringV3::LabelDescriptor, decorator: Google::Apis::MonitoringV3::LabelDescriptor::Representation + + property :metric_kind, as: 'metricKind' + property :name, as: 'name' + property :type, as: 'type' + property :unit, as: 'unit' + property :value_type, as: 'valueType' end end @@ -293,99 +418,23 @@ module Google end end - class ListMetricDescriptorsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :metric_descriptors, as: 'metricDescriptors', class: Google::Apis::MonitoringV3::MetricDescriptor, decorator: Google::Apis::MonitoringV3::MetricDescriptor::Representation - - end - end - class MonitoredResourceDescriptor # @private class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' + property :description, as: 'description' + property :display_name, as: 'displayName' collection :labels, as: 'labels', class: Google::Apis::MonitoringV3::LabelDescriptor, decorator: Google::Apis::MonitoringV3::LabelDescriptor::Representation property :name, as: 'name' - property :description, as: 'description' - property :display_name, as: 'displayName' - end - end - - class TypedValue - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :double_value, as: 'doubleValue' - property :int64_value, :numeric_string => true, as: 'int64Value' - property :distribution_value, as: 'distributionValue', class: Google::Apis::MonitoringV3::Distribution, decorator: Google::Apis::MonitoringV3::Distribution::Representation - - property :string_value, as: 'stringValue' - property :bool_value, as: 'boolValue' - end - end - - class CollectdPayload - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type_instance, as: 'typeInstance' property :type, as: 'type' - hash :metadata, as: 'metadata', class: Google::Apis::MonitoringV3::TypedValue, decorator: Google::Apis::MonitoringV3::TypedValue::Representation - - property :plugin, as: 'plugin' - property :plugin_instance, as: 'pluginInstance' - property :end_time, as: 'endTime' - property :start_time, as: 'startTime' - collection :values, as: 'values', class: Google::Apis::MonitoringV3::CollectdValue, decorator: Google::Apis::MonitoringV3::CollectdValue::Representation - - end - end - - class Linear - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :num_finite_buckets, as: 'numFiniteBuckets' - property :width, as: 'width' - property :offset, as: 'offset' - end - end - - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation end end class Option # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :value, as: 'value' property :name, as: 'name' - end - end - - class Explicit - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :bounds, as: 'bounds' - end - end - - class TimeInterval - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :start_time, as: 'startTime' - property :end_time, as: 'endTime' - end - end - - class Exponential - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :scale, as: 'scale' - property :num_finite_buckets, as: 'numFiniteBuckets' - property :growth_factor, as: 'growthFactor' + hash :value, as: 'value' end end @@ -399,94 +448,11 @@ module Google end end - class Metric + class Range # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :labels, as: 'labels' - property :type, as: 'type' - end - end - - class Field - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :kind, as: 'kind' - property :json_name, as: 'jsonName' - collection :options, as: 'options', class: Google::Apis::MonitoringV3::Option, decorator: Google::Apis::MonitoringV3::Option::Representation - - property :oneof_index, as: 'oneofIndex' - property :cardinality, as: 'cardinality' - property :packed, as: 'packed' - property :default_value, as: 'defaultValue' - property :name, as: 'name' - property :type_url, as: 'typeUrl' - property :number, as: 'number' - end - end - - class LabelDescriptor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :value_type, as: 'valueType' - property :key, as: 'key' - end - end - - class ListTimeSeriesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :time_series, as: 'timeSeries', class: Google::Apis::MonitoringV3::TimeSeries, decorator: Google::Apis::MonitoringV3::TimeSeries::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class Group - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :parent_name, as: 'parentName' - property :name, as: 'name' - property :display_name, as: 'displayName' - property :is_cluster, as: 'isCluster' - property :filter, as: 'filter' - end - end - - class Type - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :options, as: 'options', class: Google::Apis::MonitoringV3::Option, decorator: Google::Apis::MonitoringV3::Option::Representation - - collection :fields, as: 'fields', class: Google::Apis::MonitoringV3::Field, decorator: Google::Apis::MonitoringV3::Field::Representation - - property :name, as: 'name' - collection :oneofs, as: 'oneofs' - property :source_context, as: 'sourceContext', class: Google::Apis::MonitoringV3::SourceContext, decorator: Google::Apis::MonitoringV3::SourceContext::Representation - - property :syntax, as: 'syntax' - end - end - - class BucketOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :exponential_buckets, as: 'exponentialBuckets', class: Google::Apis::MonitoringV3::Exponential, decorator: Google::Apis::MonitoringV3::Exponential::Representation - - property :explicit_buckets, as: 'explicitBuckets', class: Google::Apis::MonitoringV3::Explicit, decorator: Google::Apis::MonitoringV3::Explicit::Representation - - property :linear_buckets, as: 'linearBuckets', class: Google::Apis::MonitoringV3::Linear, decorator: Google::Apis::MonitoringV3::Linear::Representation - - end - end - - class CollectdValue - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :data_source_type, as: 'dataSourceType' - property :data_source_name, as: 'dataSourceName' - property :value, as: 'value', class: Google::Apis::MonitoringV3::TypedValue, decorator: Google::Apis::MonitoringV3::TypedValue::Representation - + property :max, as: 'max' + property :min, as: 'min' end end @@ -497,18 +463,52 @@ module Google end end - class MetricDescriptor + class TimeInterval # @private class Representation < Google::Apis::Core::JsonRepresentation + property :end_time, as: 'endTime' + property :start_time, as: 'startTime' + end + end + + class TimeSeries + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metric, as: 'metric', class: Google::Apis::MonitoringV3::Metric, decorator: Google::Apis::MonitoringV3::Metric::Representation + property :metric_kind, as: 'metricKind' - property :display_name, as: 'displayName' - property :description, as: 'description' - property :unit, as: 'unit' - collection :labels, as: 'labels', class: Google::Apis::MonitoringV3::LabelDescriptor, decorator: Google::Apis::MonitoringV3::LabelDescriptor::Representation + collection :points, as: 'points', class: Google::Apis::MonitoringV3::Point, decorator: Google::Apis::MonitoringV3::Point::Representation + + property :resource, as: 'resource', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation + + property :value_type, as: 'valueType' + end + end + + class Type + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :fields, as: 'fields', class: Google::Apis::MonitoringV3::Field, decorator: Google::Apis::MonitoringV3::Field::Representation property :name, as: 'name' - property :type, as: 'type' - property :value_type, as: 'valueType' + collection :oneofs, as: 'oneofs' + collection :options, as: 'options', class: Google::Apis::MonitoringV3::Option, decorator: Google::Apis::MonitoringV3::Option::Representation + + property :source_context, as: 'sourceContext', class: Google::Apis::MonitoringV3::SourceContext, decorator: Google::Apis::MonitoringV3::SourceContext::Representation + + property :syntax, as: 'syntax' + end + end + + class TypedValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bool_value, as: 'boolValue' + property :distribution_value, as: 'distributionValue', class: Google::Apis::MonitoringV3::Distribution, decorator: Google::Apis::MonitoringV3::Distribution::Representation + + property :double_value, as: 'doubleValue' + property :int64_value, :numeric_string => true, as: 'int64Value' + property :string_value, as: 'stringValue' end end end diff --git a/generated/google/apis/monitoring_v3/service.rb b/generated/google/apis/monitoring_v3/service.rb index 83ed09433..2b41e5d02 100644 --- a/generated/google/apis/monitoring_v3/service.rb +++ b/generated/google/apis/monitoring_v3/service.rb @@ -56,11 +56,11 @@ module Google # The project in which to create the time series. The format is "projects/ # PROJECT_ID_OR_NUMBER". # @param [Google::Apis::MonitoringV3::CreateCollectdTimeSeriesRequest] create_collectd_time_series_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -73,421 +73,30 @@ 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 create_collectd_time_series(name, create_collectd_time_series_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def create_collectd_time_series(name, create_collectd_time_series_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/{+name}/collectdTimeSeries', options) command.request_representation = Google::Apis::MonitoringV3::CreateCollectdTimeSeriesRequest::Representation command.request_object = create_collectd_time_series_request_object command.response_representation = Google::Apis::MonitoringV3::Empty::Representation command.response_class = Google::Apis::MonitoringV3::Empty command.params['name'] = name unless name.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 - # Lists time series that match a filter. This method does not require a - # Stackdriver account. + # Creates a new group. # @param [String] name - # The project on which to execute the request. The format is "projects/` + # The project in which to create the group. The format is "projects/` # project_id_or_number`". - # @param [String] aggregation_cross_series_reducer - # The approach to be used to combine time series. Not all reducer functions may - # be applied to all time series, depending on the metric type and the value type - # of the original time series. Reduction may change the metric type of value - # type of the time series.Time series data must be aligned in order to perform - # cross-time series reduction. If crossSeriesReducer is specified, then - # perSeriesAligner must be specified and not equal ALIGN_NONE and - # alignmentPeriod must be specified; otherwise, an error is returned. - # @param [String] filter - # A monitoring filter that specifies which time series should be returned. The - # filter must specify a single metric type, and can additionally specify metric - # labels and other information. For example: - # metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND - # metric.label.instance_name = "my-instance-name" - # @param [String] aggregation_per_series_aligner - # The approach to be used to align individual time series. Not all alignment - # functions may be applied to all time series, depending on the metric type and - # value type of the original time series. Alignment may change the metric type - # or the value type of the time series.Time series data must be aligned in order - # to perform cross-time series reduction. If crossSeriesReducer is specified, - # then perSeriesAligner must be specified and not equal ALIGN_NONE and - # alignmentPeriod must be specified; otherwise, an error is returned. - # @param [String] page_token - # If this field is not empty then it must contain the nextPageToken value - # returned by a previous call to this method. Using this field causes the method - # to return additional results from the previous method call. - # @param [String] interval_start_time - # Optional. The beginning of the time interval. The default value for the start - # time is the end time. The start time must not be later than the end time. - # @param [String] view - # Specifies which information is returned about the time series. - # @param [Array, String] aggregation_group_by_fields - # The set of fields to preserve when crossSeriesReducer is specified. The - # groupByFields determine how the time series are partitioned into subsets prior - # to applying the aggregation function. Each subset contains time series that - # have the same value for each of the grouping fields. Each individual time - # series is a member of exactly one subset. The crossSeriesReducer is applied to - # each subset of time series. It is not possible to reduce across different - # resource types, so this field implicitly contains resource.type. Fields not - # specified in groupByFields are aggregated away. If groupByFields is not - # specified and all the time series have the same resource type, then the time - # series are aggregated into a single output time series. If crossSeriesReducer - # is not defined, this field is ignored. - # @param [String] interval_end_time - # Required. The end of the time interval. - # @param [String] aggregation_alignment_period - # The alignment period for per-time series alignment. If present, - # alignmentPeriod must be at least 60 seconds. After per-time series alignment, - # each time series will contain data points only on the period boundaries. If - # perSeriesAligner is not specified or equals ALIGN_NONE, then this field is - # ignored. If perSeriesAligner is specified and does not equal ALIGN_NONE, then - # this field must be defined; otherwise an error is returned. - # @param [Fixnum] page_size - # A positive number that is the maximum number of results to return. When view - # field sets to FULL, it limits the number of Points server will return; if view - # field is HEADERS, it limits the number of TimeSeries server will return. - # @param [String] order_by - # Specifies the order in which the points of the time series should be returned. - # By default, results are not ordered. Currently, this field must be left blank. + # @param [Google::Apis::MonitoringV3::Group] group_object + # @param [Boolean] validate_only + # If true, validate this request but do not create the group. + # @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 - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MonitoringV3::ListTimeSeriesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::ListTimeSeriesResponse] - # - # @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_project_time_series(name, aggregation_cross_series_reducer: nil, filter: nil, aggregation_per_series_aligner: nil, page_token: nil, interval_start_time: nil, view: nil, aggregation_group_by_fields: nil, interval_end_time: nil, aggregation_alignment_period: nil, page_size: nil, order_by: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v3/{+name}/timeSeries', options) - command.response_representation = Google::Apis::MonitoringV3::ListTimeSeriesResponse::Representation - command.response_class = Google::Apis::MonitoringV3::ListTimeSeriesResponse - command.params['name'] = name unless name.nil? - command.query['aggregation.crossSeriesReducer'] = aggregation_cross_series_reducer unless aggregation_cross_series_reducer.nil? - command.query['filter'] = filter unless filter.nil? - command.query['aggregation.perSeriesAligner'] = aggregation_per_series_aligner unless aggregation_per_series_aligner.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['interval.startTime'] = interval_start_time unless interval_start_time.nil? - command.query['view'] = view unless view.nil? - command.query['aggregation.groupByFields'] = aggregation_group_by_fields unless aggregation_group_by_fields.nil? - command.query['interval.endTime'] = interval_end_time unless interval_end_time.nil? - command.query['aggregation.alignmentPeriod'] = aggregation_alignment_period unless aggregation_alignment_period.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['orderBy'] = order_by unless order_by.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates or adds data to one or more time series. The response is empty if all - # time series in the request were written. If any time series could not be - # written, a corresponding failure message is included in the error response. - # @param [String] name - # The project on which to execute the request. The format is "projects/` - # project_id_or_number`". - # @param [Google::Apis::MonitoringV3::CreateTimeSeriesRequest] create_time_series_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::MonitoringV3::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::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 create_time_series(name, create_time_series_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v3/{+name}/timeSeries', options) - command.request_representation = Google::Apis::MonitoringV3::CreateTimeSeriesRequest::Representation - command.request_object = create_time_series_request_object - command.response_representation = Google::Apis::MonitoringV3::Empty::Representation - command.response_class = Google::Apis::MonitoringV3::Empty - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates a new metric descriptor. User-created metric descriptors define custom - # metrics. - # @param [String] name - # The project on which to execute the request. The format is "projects/` - # project_id_or_number`". - # @param [Google::Apis::MonitoringV3::MetricDescriptor] metric_descriptor_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::MonitoringV3::MetricDescriptor] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::MetricDescriptor] - # - # @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_project_metric_descriptor(name, metric_descriptor_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v3/{+name}/metricDescriptors', options) - command.request_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation - command.request_object = metric_descriptor_object - command.response_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation - command.response_class = Google::Apis::MonitoringV3::MetricDescriptor - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Deletes a metric descriptor. Only user-created custom metrics can be deleted. - # @param [String] name - # The metric descriptor on which to execute the request. The format is "projects/ - # `project_id_or_number`/metricDescriptors/`metric_id`". An example of ` - # metric_id` is: "custom.googleapis.com/my_test_metric". - # @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::MonitoringV3::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::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_project_metric_descriptor(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v3/{+name}', options) - command.response_representation = Google::Apis::MonitoringV3::Empty::Representation - command.response_class = Google::Apis::MonitoringV3::Empty - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets a single metric descriptor. This method does not require a Stackdriver - # account. - # @param [String] name - # The metric descriptor on which to execute the request. The format is "projects/ - # `project_id_or_number`/metricDescriptors/`metric_id`". An example value of ` - # metric_id` is "compute.googleapis.com/instance/disk/read_bytes_count". - # @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::MonitoringV3::MetricDescriptor] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::MetricDescriptor] - # - # @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_project_metric_descriptor(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v3/{+name}', options) - command.response_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation - command.response_class = Google::Apis::MonitoringV3::MetricDescriptor - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists metric descriptors that match a filter. This method does not require a - # Stackdriver account. - # @param [String] name - # The project on which to execute the request. The format is "projects/` - # project_id_or_number`". - # @param [String] page_token - # If this field is not empty then it must contain the nextPageToken value - # returned by a previous call to this method. Using this field causes the method - # to return additional results from the previous method call. - # @param [Fixnum] page_size - # A positive number that is the maximum number of results to return. - # @param [String] filter - # If this field is empty, all custom and system-defined metric descriptors are - # returned. Otherwise, the filter specifies which metric descriptors are to be - # returned. For example, the following filter matches all custom metrics: - # metric.type = starts_with("custom.googleapis.com/") - # @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::MonitoringV3::ListMetricDescriptorsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::ListMetricDescriptorsResponse] - # - # @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_project_metric_descriptors(name, page_token: nil, page_size: nil, filter: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v3/{+name}/metricDescriptors', options) - command.response_representation = Google::Apis::MonitoringV3::ListMetricDescriptorsResponse::Representation - command.response_class = Google::Apis::MonitoringV3::ListMetricDescriptorsResponse - command.params['name'] = name unless name.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['filter'] = filter unless filter.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets a single monitored resource descriptor. This method does not require a - # Stackdriver account. - # @param [String] name - # The monitored resource descriptor to get. The format is "projects/` - # project_id_or_number`/monitoredResourceDescriptors/`resource_type`". The ` - # resource_type` is a predefined type, such as cloudsql_database. - # @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::MonitoringV3::MonitoredResourceDescriptor] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::MonitoredResourceDescriptor] - # - # @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_project_monitored_resource_descriptor(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v3/{+name}', options) - command.response_representation = Google::Apis::MonitoringV3::MonitoredResourceDescriptor::Representation - command.response_class = Google::Apis::MonitoringV3::MonitoredResourceDescriptor - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists monitored resource descriptors that match a filter. This method does not - # require a Stackdriver account. - # @param [String] name - # The project on which to execute the request. The format is "projects/` - # project_id_or_number`". - # @param [String] page_token - # If this field is not empty then it must contain the nextPageToken value - # returned by a previous call to this method. Using this field causes the method - # to return additional results from the previous method call. - # @param [Fixnum] page_size - # A positive number that is the maximum number of results to return. - # @param [String] filter - # An optional filter describing the descriptors to be returned. The filter can - # reference the descriptor's type and labels. For example, the following filter - # returns only Google Compute Engine descriptors that have an id label: - # resource.type = starts_with("gce_") AND resource.label:id - # @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::MonitoringV3::ListMonitoredResourceDescriptorsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse] - # - # @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_project_monitored_resource_descriptors(name, page_token: nil, page_size: nil, filter: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v3/{+name}/monitoredResourceDescriptors', options) - command.response_representation = Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse::Representation - command.response_class = Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse - command.params['name'] = name unless name.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['filter'] = filter unless filter.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Deletes an existing group. - # @param [String] name - # The group to delete. The format is "projects/`project_id_or_number`/groups/` - # group_id`". - # @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::MonitoringV3::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::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_project_group(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v3/{+name}', options) - command.response_representation = Google::Apis::MonitoringV3::Empty::Representation - command.response_class = Google::Apis::MonitoringV3::Empty - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets a single group. - # @param [String] name - # The group to retrieve. The format is "projects/`project_id_or_number`/groups/` - # group_id`". - # @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 # @@ -500,13 +109,78 @@ 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_project_group(name, quota_user: nil, fields: nil, options: nil, &block) + def create_project_group(name, group_object = nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3/{+name}/groups', options) + command.request_representation = Google::Apis::MonitoringV3::Group::Representation + command.request_object = group_object + command.response_representation = Google::Apis::MonitoringV3::Group::Representation + command.response_class = Google::Apis::MonitoringV3::Group + command.params['name'] = name unless name.nil? + command.query['validateOnly'] = validate_only unless validate_only.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 an existing group. + # @param [String] name + # The group to delete. The format is "projects/`project_id_or_number`/groups/` + # group_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::MonitoringV3::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::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_project_group(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v3/{+name}', options) + command.response_representation = Google::Apis::MonitoringV3::Empty::Representation + command.response_class = Google::Apis::MonitoringV3::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 + + # Gets a single group. + # @param [String] name + # The group to retrieve. The format is "projects/`project_id_or_number`/groups/` + # group_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::MonitoringV3::Group] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::Group] + # + # @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_project_group(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/{+name}', options) command.response_representation = Google::Apis::MonitoringV3::Group::Representation command.response_class = Google::Apis::MonitoringV3::Group command.params['name'] = name unless name.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 @@ -514,6 +188,12 @@ module Google # @param [String] name # The project whose groups are to be listed. The format is "projects/` # project_id_or_number`". + # @param [String] ancestors_of_group + # A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns + # groups that are ancestors of the specified group. The groups are returned in + # order, starting with the immediate parent and ending with the most distant + # ancestor. If the specified group has no immediate parent, the results are + # empty. # @param [String] children_of_group # A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns # groups whose parentName field contains the group name. If no groups have this @@ -522,23 +202,17 @@ module Google # A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns the # descendants of the specified group. This is a superset of the results returned # by the childrenOfGroup filter, and includes children-of-children, and so forth. + # @param [Fixnum] page_size + # A positive number that is the maximum number of results to return. # @param [String] page_token # If this field is not empty then it must contain the nextPageToken value # returned by a previous call to this method. Using this field causes the method # to return additional results from the previous method call. - # @param [Fixnum] page_size - # A positive number that is the maximum number of results to return. - # @param [String] ancestors_of_group - # A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns - # groups that are ancestors of the specified group. The groups are returned in - # order, starting with the immediate parent and ending with the most distant - # ancestor. If the specified group has no immediate parent, the results are - # empty. + # @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 # @@ -551,18 +225,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_project_groups(name, children_of_group: nil, descendants_of_group: nil, page_token: nil, page_size: nil, ancestors_of_group: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_project_groups(name, ancestors_of_group: nil, children_of_group: nil, descendants_of_group: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/{+name}/groups', options) command.response_representation = Google::Apis::MonitoringV3::ListGroupsResponse::Representation command.response_class = Google::Apis::MonitoringV3::ListGroupsResponse command.params['name'] = name unless name.nil? + command.query['ancestorsOfGroup'] = ancestors_of_group unless ancestors_of_group.nil? command.query['childrenOfGroup'] = children_of_group unless children_of_group.nil? command.query['descendantsOfGroup'] = descendants_of_group unless descendants_of_group.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['ancestorsOfGroup'] = ancestors_of_group unless ancestors_of_group.nil? - command.query['quotaUser'] = quota_user unless quota_user.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 @@ -575,11 +249,11 @@ module Google # @param [Google::Apis::MonitoringV3::Group] group_object # @param [Boolean] validate_only # If true, validate this request but do not update the existing group. + # @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 # @@ -592,7 +266,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 update_project_group(name, group_object = nil, validate_only: nil, quota_user: nil, fields: nil, options: nil, &block) + def update_project_group(name, group_object = nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v3/{+name}', options) command.request_representation = Google::Apis::MonitoringV3::Group::Representation command.request_object = group_object @@ -600,45 +274,8 @@ module Google command.response_class = Google::Apis::MonitoringV3::Group command.params['name'] = name unless name.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates a new group. - # @param [String] name - # The project in which to create the group. The format is "projects/` - # project_id_or_number`". - # @param [Google::Apis::MonitoringV3::Group] group_object - # @param [Boolean] validate_only - # If true, validate this request but do not create the group. - # @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::MonitoringV3::Group] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::Group] - # - # @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_project_group(name, group_object = nil, validate_only: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v3/{+name}/groups', options) - command.request_representation = Google::Apis::MonitoringV3::Group::Representation - command.request_object = group_object - command.response_representation = Google::Apis::MonitoringV3::Group::Representation - command.response_class = Google::Apis::MonitoringV3::Group - command.params['name'] = name unless name.nil? - command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -646,28 +283,28 @@ module Google # @param [String] name # The group whose members are listed. The format is "projects/` # project_id_or_number`/groups/`group_id`". - # @param [String] interval_end_time - # Required. The end of the time interval. # @param [String] filter # An optional list filter describing the members to be returned. The filter may # reference the type, labels, and metadata of monitored resources that comprise # the group. For example, to return only resources representing Compute Engine # VM instances, use this filter: # resource.type = "gce_instance" + # @param [String] interval_end_time + # Required. The end of the time interval. + # @param [String] interval_start_time + # Optional. The beginning of the time interval. The default value for the start + # time is the end time. The start time must not be later than the end time. + # @param [Fixnum] page_size + # A positive number that is the maximum number of results to return. # @param [String] page_token # If this field is not empty then it must contain the nextPageToken value # returned by a previous call to this method. Using this field causes the method # to return additional results from the previous method call. - # @param [Fixnum] page_size - # A positive number that is the maximum number of results to return. - # @param [String] interval_start_time - # Optional. The beginning of the time interval. The default value for the start - # time is the end time. The start time must not be later than the end time. + # @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 # @@ -680,18 +317,381 @@ 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_project_group_members(name, interval_end_time: nil, filter: nil, page_token: nil, page_size: nil, interval_start_time: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_project_group_members(name, filter: nil, interval_end_time: nil, interval_start_time: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/{+name}/members', options) command.response_representation = Google::Apis::MonitoringV3::ListGroupMembersResponse::Representation command.response_class = Google::Apis::MonitoringV3::ListGroupMembersResponse command.params['name'] = name unless name.nil? - command.query['interval.endTime'] = interval_end_time unless interval_end_time.nil? command.query['filter'] = filter unless filter.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? + command.query['interval.endTime'] = interval_end_time unless interval_end_time.nil? command.query['interval.startTime'] = interval_start_time unless interval_start_time.nil? - command.query['quotaUser'] = quota_user unless quota_user.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 + + # Creates a new metric descriptor. User-created metric descriptors define custom + # metrics. + # @param [String] name + # The project on which to execute the request. The format is "projects/` + # project_id_or_number`". + # @param [Google::Apis::MonitoringV3::MetricDescriptor] metric_descriptor_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::MonitoringV3::MetricDescriptor] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::MetricDescriptor] + # + # @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_project_metric_descriptor(name, metric_descriptor_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3/{+name}/metricDescriptors', options) + command.request_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation + command.request_object = metric_descriptor_object + command.response_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation + command.response_class = Google::Apis::MonitoringV3::MetricDescriptor + 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 metric descriptor. Only user-created custom metrics can be deleted. + # @param [String] name + # The metric descriptor on which to execute the request. The format is "projects/ + # `project_id_or_number`/metricDescriptors/`metric_id`". An example of ` + # metric_id` is: "custom.googleapis.com/my_test_metric". + # @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::MonitoringV3::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::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_project_metric_descriptor(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v3/{+name}', options) + command.response_representation = Google::Apis::MonitoringV3::Empty::Representation + command.response_class = Google::Apis::MonitoringV3::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 + + # Gets a single metric descriptor. This method does not require a Stackdriver + # account. + # @param [String] name + # The metric descriptor on which to execute the request. The format is "projects/ + # `project_id_or_number`/metricDescriptors/`metric_id`". An example value of ` + # metric_id` is "compute.googleapis.com/instance/disk/read_bytes_count". + # @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::MonitoringV3::MetricDescriptor] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::MetricDescriptor] + # + # @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_project_metric_descriptor(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+name}', options) + command.response_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation + command.response_class = Google::Apis::MonitoringV3::MetricDescriptor + 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 metric descriptors that match a filter. This method does not require a + # Stackdriver account. + # @param [String] name + # The project on which to execute the request. The format is "projects/` + # project_id_or_number`". + # @param [String] filter + # If this field is empty, all custom and system-defined metric descriptors are + # returned. Otherwise, the filter specifies which metric descriptors are to be + # returned. For example, the following filter matches all custom metrics: + # metric.type = starts_with("custom.googleapis.com/") + # @param [Fixnum] page_size + # A positive number that is the maximum number of results to return. + # @param [String] page_token + # If this field is not empty then it must contain the nextPageToken value + # returned by a previous call to this method. Using this field causes the method + # to return additional results from the previous method call. + # @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::MonitoringV3::ListMetricDescriptorsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::ListMetricDescriptorsResponse] + # + # @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_project_metric_descriptors(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+name}/metricDescriptors', options) + command.response_representation = Google::Apis::MonitoringV3::ListMetricDescriptorsResponse::Representation + command.response_class = Google::Apis::MonitoringV3::ListMetricDescriptorsResponse + 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 + + # Gets a single monitored resource descriptor. This method does not require a + # Stackdriver account. + # @param [String] name + # The monitored resource descriptor to get. The format is "projects/` + # project_id_or_number`/monitoredResourceDescriptors/`resource_type`". The ` + # resource_type` is a predefined type, such as cloudsql_database. + # @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::MonitoringV3::MonitoredResourceDescriptor] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::MonitoredResourceDescriptor] + # + # @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_project_monitored_resource_descriptor(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+name}', options) + command.response_representation = Google::Apis::MonitoringV3::MonitoredResourceDescriptor::Representation + command.response_class = Google::Apis::MonitoringV3::MonitoredResourceDescriptor + 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 monitored resource descriptors that match a filter. This method does not + # require a Stackdriver account. + # @param [String] name + # The project on which to execute the request. The format is "projects/` + # project_id_or_number`". + # @param [String] filter + # An optional filter describing the descriptors to be returned. The filter can + # reference the descriptor's type and labels. For example, the following filter + # returns only Google Compute Engine descriptors that have an id label: + # resource.type = starts_with("gce_") AND resource.label:id + # @param [Fixnum] page_size + # A positive number that is the maximum number of results to return. + # @param [String] page_token + # If this field is not empty then it must contain the nextPageToken value + # returned by a previous call to this method. Using this field causes the method + # to return additional results from the previous method call. + # @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::MonitoringV3::ListMonitoredResourceDescriptorsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse] + # + # @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_project_monitored_resource_descriptors(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+name}/monitoredResourceDescriptors', options) + command.response_representation = Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse::Representation + command.response_class = Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse + 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 + + # Creates or adds data to one or more time series. The response is empty if all + # time series in the request were written. If any time series could not be + # written, a corresponding failure message is included in the error response. + # @param [String] name + # The project on which to execute the request. The format is "projects/` + # project_id_or_number`". + # @param [Google::Apis::MonitoringV3::CreateTimeSeriesRequest] create_time_series_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::MonitoringV3::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::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 create_time_series(name, create_time_series_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3/{+name}/timeSeries', options) + command.request_representation = Google::Apis::MonitoringV3::CreateTimeSeriesRequest::Representation + command.request_object = create_time_series_request_object + command.response_representation = Google::Apis::MonitoringV3::Empty::Representation + command.response_class = Google::Apis::MonitoringV3::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 + + # Lists time series that match a filter. This method does not require a + # Stackdriver account. + # @param [String] name + # The project on which to execute the request. The format is "projects/` + # project_id_or_number`". + # @param [String] aggregation_alignment_period + # The alignment period for per-time series alignment. If present, + # alignmentPeriod must be at least 60 seconds. After per-time series alignment, + # each time series will contain data points only on the period boundaries. If + # perSeriesAligner is not specified or equals ALIGN_NONE, then this field is + # ignored. If perSeriesAligner is specified and does not equal ALIGN_NONE, then + # this field must be defined; otherwise an error is returned. + # @param [String] aggregation_cross_series_reducer + # The approach to be used to combine time series. Not all reducer functions may + # be applied to all time series, depending on the metric type and the value type + # of the original time series. Reduction may change the metric type of value + # type of the time series.Time series data must be aligned in order to perform + # cross-time series reduction. If crossSeriesReducer is specified, then + # perSeriesAligner must be specified and not equal ALIGN_NONE and + # alignmentPeriod must be specified; otherwise, an error is returned. + # @param [Array, String] aggregation_group_by_fields + # The set of fields to preserve when crossSeriesReducer is specified. The + # groupByFields determine how the time series are partitioned into subsets prior + # to applying the aggregation function. Each subset contains time series that + # have the same value for each of the grouping fields. Each individual time + # series is a member of exactly one subset. The crossSeriesReducer is applied to + # each subset of time series. It is not possible to reduce across different + # resource types, so this field implicitly contains resource.type. Fields not + # specified in groupByFields are aggregated away. If groupByFields is not + # specified and all the time series have the same resource type, then the time + # series are aggregated into a single output time series. If crossSeriesReducer + # is not defined, this field is ignored. + # @param [String] aggregation_per_series_aligner + # The approach to be used to align individual time series. Not all alignment + # functions may be applied to all time series, depending on the metric type and + # value type of the original time series. Alignment may change the metric type + # or the value type of the time series.Time series data must be aligned in order + # to perform cross-time series reduction. If crossSeriesReducer is specified, + # then perSeriesAligner must be specified and not equal ALIGN_NONE and + # alignmentPeriod must be specified; otherwise, an error is returned. + # @param [String] filter + # A monitoring filter that specifies which time series should be returned. The + # filter must specify a single metric type, and can additionally specify metric + # labels and other information. For example: + # metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND + # metric.label.instance_name = "my-instance-name" + # @param [String] interval_end_time + # Required. The end of the time interval. + # @param [String] interval_start_time + # Optional. The beginning of the time interval. The default value for the start + # time is the end time. The start time must not be later than the end time. + # @param [String] order_by + # Specifies the order in which the points of the time series should be returned. + # By default, results are not ordered. Currently, this field must be left blank. + # @param [Fixnum] page_size + # A positive number that is the maximum number of results to return. When view + # field sets to FULL, it limits the number of Points server will return; if view + # field is HEADERS, it limits the number of TimeSeries server will return. + # @param [String] page_token + # If this field is not empty then it must contain the nextPageToken value + # returned by a previous call to this method. Using this field causes the method + # to return additional results from the previous method call. + # @param [String] view + # Specifies which information is returned about the time series. + # @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::MonitoringV3::ListTimeSeriesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::ListTimeSeriesResponse] + # + # @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_project_time_series(name, aggregation_alignment_period: nil, aggregation_cross_series_reducer: nil, aggregation_group_by_fields: nil, aggregation_per_series_aligner: nil, filter: nil, interval_end_time: nil, interval_start_time: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+name}/timeSeries', options) + command.response_representation = Google::Apis::MonitoringV3::ListTimeSeriesResponse::Representation + command.response_class = Google::Apis::MonitoringV3::ListTimeSeriesResponse + command.params['name'] = name unless name.nil? + command.query['aggregation.alignmentPeriod'] = aggregation_alignment_period unless aggregation_alignment_period.nil? + command.query['aggregation.crossSeriesReducer'] = aggregation_cross_series_reducer unless aggregation_cross_series_reducer.nil? + command.query['aggregation.groupByFields'] = aggregation_group_by_fields unless aggregation_group_by_fields.nil? + command.query['aggregation.perSeriesAligner'] = aggregation_per_series_aligner unless aggregation_per_series_aligner.nil? + command.query['filter'] = filter unless filter.nil? + command.query['interval.endTime'] = interval_end_time unless interval_end_time.nil? + command.query['interval.startTime'] = interval_start_time unless interval_start_time.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['view'] = view unless view.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/mybusiness_v3/classes.rb b/generated/google/apis/mybusiness_v3/classes.rb index d2916df0d..0c282a83a 100644 --- a/generated/google/apis/mybusiness_v3/classes.rb +++ b/generated/google/apis/mybusiness_v3/classes.rb @@ -22,34 +22,6 @@ module Google module Apis module MybusinessV3 - # - class ListAccountsResponse - include Google::Apis::Core::Hashable - - # A collection of accounts to which the user has access. - # Corresponds to the JSON property `accounts` - # @return [Array] - attr_accessor :accounts - - # If the number of accounts exceeds the requested page size, this field is - # populated with a token to fetch the next page of accounts on a - # subsequent call to `accounts.list`. If there are no more accounts, this field - # is not present in the response. - # 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) - @accounts = args[:accounts] if args.key?(:accounts) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - # An account is a container for your business's locations. If you are the only # user who manages locations for your business, you can use your personal # Google Account. To share management of locations with multiple users, @@ -58,11 +30,6 @@ module Google class Account include Google::Apis::Core::Hashable - # The resource name, in the format `accounts/`account_id``. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - # The name of the account. Note: For an account with AccountType `PERSONAL`, # this is the first # and last name of the user account. @@ -70,12 +37,10 @@ module Google # @return [String] attr_accessor :account_name - # Specifies the AccountType - # of this account. - # @OutputOnly - # Corresponds to the JSON property `type` + # The resource name, in the format `accounts/`account_id``. + # Corresponds to the JSON property `name` # @return [String] - attr_accessor :type + attr_accessor :name # Specifies the AccountRole # the caller has for this account. @@ -90,17 +55,24 @@ module Google # @return [Google::Apis::MybusinessV3::AccountState] attr_accessor :state + # Specifies the AccountType + # of this account. + # @OutputOnly + # 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) - @name = args[:name] if args.key?(:name) @account_name = args[:account_name] if args.key?(:account_name) - @type = args[:type] if args.key?(:type) + @name = args[:name] if args.key?(:name) @role = args[:role] if args.key?(:role) @state = args[:state] if args.key?(:state) + @type = args[:type] if args.key?(:type) end end @@ -126,14 +98,15 @@ module Google end end - # - class ListAccountAdminsResponse + # Additional information that is surfaced in AdWords. + class AdWordsLocationExtensions include Google::Apis::Core::Hashable - # A collection of Admin instances. - # Corresponds to the JSON property `admins` - # @return [Array] - attr_accessor :admins + # An alternate phone number to display on AdWords location extensions + # instead of the location's primary phone number. + # Corresponds to the JSON property `adPhone` + # @return [String] + attr_accessor :ad_phone def initialize(**args) update!(**args) @@ -141,338 +114,7 @@ module Google # Update properties of this object def update!(**args) - @admins = args[:admins] if args.key?(:admins) - end - end - - # An administrator of an Account, or a - # Location. - class Admin - include Google::Apis::Core::Hashable - - # The resource name. For account admins, this is in the form: - # `accounts/`account_id`/admins/`admin_id`` - # For location admins, this is in the form: - # `accounts/`account_id`/locations/`location_id`/admins/`admin_id`` - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The name of the admin. When making the initial invitation, this is the - # invitee's email address. On `GET` calls, the user's email address is - # returned if the invitation is still pending. Otherwise, it contains - # the user's first and last names. - # Corresponds to the JSON property `adminName` - # @return [String] - attr_accessor :admin_name - - # Specifies the AdminRole that this - # admin uses with the specified Account - # or Location resource. - # Corresponds to the JSON property `role` - # @return [String] - attr_accessor :role - - # Indicates whether this admin has a pending invitation for the specified - # resource. - # @OutputOnly - # Corresponds to the JSON property `pendingInvitation` - # @return [Boolean] - attr_accessor :pending_invitation - alias_method :pending_invitation?, :pending_invitation - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @admin_name = args[:admin_name] if args.key?(:admin_name) - @role = args[:role] if args.key?(:role) - @pending_invitation = args[:pending_invitation] if args.key?(:pending_invitation) - 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 - - # - class ListLocationsResponse - include Google::Apis::Core::Hashable - - # The locations - # Corresponds to the JSON property `locations` - # @return [Array] - attr_accessor :locations - - # If the number of locations exceeded the requested page size, this field - # is populated with a token to fetch the next page of locations on a - # subsequent call to ListLocations. If there are no more locations, this - # field is not be present in the response. - # 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) - @locations = args[:locations] if args.key?(:locations) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # A location. - # See the [help center article] - # (https://support.google.com/business/answer/3038177) for a detailed - # description of these fields, or the [category - # list](/my-business/content/categories] for a list of valid business - # categories. - class Location - include Google::Apis::Core::Hashable - - # Google identifier for this location in the form: - # `accounts/`account_id`/locations/`location_id`` - # In the context of matches, this field will not be populated. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # External identifier for this location, which must be unique inside a given - # account. This is a means of associating the location with your own records. - # Corresponds to the JSON property `storeCode` - # @return [String] - attr_accessor :store_code - - # Location name should reflect your business's real-world name, as used - # consistently on your storefront, website, and stationery, and as known to - # customers. - # Any additional information, when relevant, can be included in other - # fields of the resource (for example, `Address`, `Categories`). - # Do not add unnecessary information to your name (for example, prefer "Google" - # over - # "Google Inc. - Mountain View Corporate Headquarters"). - # It is NOT permitted to include marketing taglines, store codes, special - # characters, hours or - # closed/open status, phone numbers, website URLs, service/product - # information, location/address or directions, or containment information - # (for example, "Chase ATM in Duane Reade"). - # Corresponds to the JSON property `locationName` - # @return [String] - attr_accessor :location_name - - # A phone number that connects to your individual business location - # as directly as possible. Use a local phone number instead of a central, - # call center helpline number whenever possible. - # Corresponds to the JSON property `primaryPhone` - # @return [String] - attr_accessor :primary_phone - - # Up to two phone numbers (mobile or landline, no fax) at which your business - # can be called, in addition to your primary phone number. - # Corresponds to the JSON property `additionalPhones` - # @return [Array] - attr_accessor :additional_phones - - # Represents the physical location of the business. - # Example addresses: - # address_lines: "1600 Amphitheatre Parkway" - # locality: Mountain View - # administrative_area: CA - # country: US - # postal_code: 94043 - # address_lines: "A-205, Natasha Apartments", "2, Inner Ring Road" - # sub_locality: Domlur - # locality: Bangalore - # administrative_area: Karnataka - # country: IN - # postal_code: 560071 - # Corresponds to the JSON property `address` - # @return [Google::Apis::MybusinessV3::Address] - attr_accessor :address - - # A category describing what this business is (not what it does). For a list of - # valid category IDs, and the mappings to their human readable names, see - # the [category list](/my-business/content/categories). - # Corresponds to the JSON property `primaryCategory` - # @return [Google::Apis::MybusinessV3::Category] - attr_accessor :primary_category - - # Additional categories to describe your business. - # Categories help your customers find accurate, specific results for services - # they're interested in. In order to keep your business information accurate - # and live, make sure that you use as few categories as possible to describe - # your overall core business. - # Choose categories that are as specific as possible, but representative of - # your main business. - # Corresponds to the JSON property `additionalCategories` - # @return [Array] - attr_accessor :additional_categories - - # A URL for this business. If possible, use a URL that represents this - # individual business location instead of a generic website/URL that represents - # all locations, or the brand. - # Corresponds to the JSON property `websiteUrl` - # @return [String] - attr_accessor :website_url - - # Represents the time periods that this location is open for business. - # Holds a collection of TimePeriod - # instances. - # Corresponds to the JSON property `regularHours` - # @return [Google::Apis::MybusinessV3::BusinessHours] - attr_accessor :regular_hours - - # Represents a set of time periods when a location's operational hours differ - # from its normal business hours. - # Corresponds to the JSON property `specialHours` - # @return [Google::Apis::MybusinessV3::SpecialHours] - attr_accessor :special_hours - - # Service area businesses provide their service at the customer's location (for - # example a locksmith or plumber). - # Corresponds to the JSON property `serviceArea` - # @return [Google::Apis::MybusinessV3::ServiceAreaBusiness] - attr_accessor :service_area - - # Alternate / surrogate key references for a location. - # Corresponds to the JSON property `locationKey` - # @return [Google::Apis::MybusinessV3::LocationKey] - attr_accessor :location_key - - # A collection of free-form strings to allow you to tag your business. These - # labels are NOT user facing, and are only be seen by you. - # Limited to 255 characters (per label). - # Corresponds to the JSON property `labels` - # @return [Array] - attr_accessor :labels - - # Additional information that is surfaced in AdWords. - # Corresponds to the JSON property `adWordsLocationExtensions` - # @return [Google::Apis::MybusinessV3::AdWordsLocationExtensions] - attr_accessor :ad_words_location_extensions - - # A collection of photos representing the business, categorized by photo type. - # The URL for each photo should point to a publicly accessible image. - # Photos should be supplied in either JPG or PNG format unless specified - # otherwise. If the photo was added by using Google My Business Locations or - # this API, the user-provided URL is used. If the photo was uploaded via the - # Google My Business Photos App, the photo uses a generated URL hosted by - # Google. Exceptions: `profile_photo_url` and `cover_photo_url` are always - # under a Google domain. - # With the exception of profile_photo_url and cover_photo_url, all photos - # must measure a minimum of 250px on the short edge, with a file size of at - # least 10240 bytes. - # Corresponds to the JSON property `photos` - # @return [Google::Apis::MybusinessV3::Photos] - attr_accessor :photos - - # 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 - # [-90.0, 90.0] and [-180.0, 180.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::MybusinessV3::LatLng] - attr_accessor :latlng - - # Indicates whether the location is currently open for business. - # All locations are open by default, unless updated to be closed. - # Corresponds to the JSON property `openInfo` - # @return [Google::Apis::MybusinessV3::OpenInfo] - attr_accessor :open_info - - # Contains a set of booleans that reflect the state of a Location. - # Corresponds to the JSON property `locationState` - # @return [Google::Apis::MybusinessV3::LocationState] - attr_accessor :location_state - - # Attributes for this location. - # Corresponds to the JSON property `attributes` - # @return [Array] - attr_accessor :attributes - - # Additional non-user-editable information about the location. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::MybusinessV3::Metadata] - attr_accessor :metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @store_code = args[:store_code] if args.key?(:store_code) - @location_name = args[:location_name] if args.key?(:location_name) - @primary_phone = args[:primary_phone] if args.key?(:primary_phone) - @additional_phones = args[:additional_phones] if args.key?(:additional_phones) - @address = args[:address] if args.key?(:address) - @primary_category = args[:primary_category] if args.key?(:primary_category) - @additional_categories = args[:additional_categories] if args.key?(:additional_categories) - @website_url = args[:website_url] if args.key?(:website_url) - @regular_hours = args[:regular_hours] if args.key?(:regular_hours) - @special_hours = args[:special_hours] if args.key?(:special_hours) - @service_area = args[:service_area] if args.key?(:service_area) - @location_key = args[:location_key] if args.key?(:location_key) - @labels = args[:labels] if args.key?(:labels) - @ad_words_location_extensions = args[:ad_words_location_extensions] if args.key?(:ad_words_location_extensions) - @photos = args[:photos] if args.key?(:photos) - @latlng = args[:latlng] if args.key?(:latlng) - @open_info = args[:open_info] if args.key?(:open_info) - @location_state = args[:location_state] if args.key?(:location_state) - @attributes = args[:attributes] if args.key?(:attributes) - @metadata = args[:metadata] if args.key?(:metadata) + @ad_phone = args[:ad_phone] if args.key?(:ad_phone) end end @@ -502,29 +144,6 @@ module Google # @return [Array] attr_accessor :address_lines - # The suburb where the business is located. This is the division just smaller - # than a locality (city). Previously referred to in Google My Business - # Locations as "district". Maximum 80 characters. - # Also known as: "district" (South Korea), "neighborhood" (Brazil, Mexico), - # "village / township" (Malaysia). - # Examples: - # Manhattan (United States), - # Centro (Mexico), - # Songpa District (South Korea.) - # Corresponds to the JSON property `subLocality` - # @return [String] - attr_accessor :sub_locality - - # The city or town where the business is located. - # Also known as: - # "district" (Hong Kong, Turkey), "post town" (United Kingdom). - # Examples: - # Chicago (United States), Berlin (Germany), London (United Kingdom). - # Maximum 80 characters. - # Corresponds to the JSON property `locality` - # @return [String] - attr_accessor :locality - # The state or province where the business is located. Using the common # abbreviation is generally preferred, such as CA for California or NSW # for New South Wales. @@ -549,6 +168,16 @@ module Google # @return [String] attr_accessor :country + # The city or town where the business is located. + # Also known as: + # "district" (Hong Kong, Turkey), "post town" (United Kingdom). + # Examples: + # Chicago (United States), Berlin (Germany), London (United Kingdom). + # Maximum 80 characters. + # Corresponds to the JSON property `locality` + # @return [String] + attr_accessor :locality + # The postal code of the business. If the postal code begins with zero, make # sure that your formatting does not remove the zero as the first digit. # Also known as: "zip code" (United States), "PIN code" (India). @@ -556,6 +185,19 @@ module Google # @return [String] attr_accessor :postal_code + # The suburb where the business is located. This is the division just smaller + # than a locality (city). Previously referred to in Google My Business + # Locations as "district". Maximum 80 characters. + # Also known as: "district" (South Korea), "neighborhood" (Brazil, Mexico), + # "village / township" (Malaysia). + # Examples: + # Manhattan (United States), + # Centro (Mexico), + # Songpa District (South Korea.) + # Corresponds to the JSON property `subLocality` + # @return [String] + attr_accessor :sub_locality + def initialize(**args) update!(**args) end @@ -563,35 +205,49 @@ module Google # Update properties of this object def update!(**args) @address_lines = args[:address_lines] if args.key?(:address_lines) - @sub_locality = args[:sub_locality] if args.key?(:sub_locality) - @locality = args[:locality] if args.key?(:locality) @administrative_area = args[:administrative_area] if args.key?(:administrative_area) @country = args[:country] if args.key?(:country) + @locality = args[:locality] if args.key?(:locality) @postal_code = args[:postal_code] if args.key?(:postal_code) + @sub_locality = args[:sub_locality] if args.key?(:sub_locality) end end - # A category describing what this business is (not what it does). For a list of - # valid category IDs, and the mappings to their human readable names, see - # the [category list](/my-business/content/categories). - class Category + # An administrator of an Account, or a + # Location. + class Admin include Google::Apis::Core::Hashable - # The human-readable name of the category. + # The name of the admin. When making the initial invitation, this is the + # invitee's email address. On `GET` calls, the user's email address is + # returned if the invitation is still pending. Otherwise, it contains + # the user's first and last names. + # Corresponds to the JSON property `adminName` + # @return [String] + attr_accessor :admin_name + + # The resource name. For account admins, this is in the form: + # `accounts/`account_id`/admins/`admin_id`` + # For location admins, this is in the form: + # `accounts/`account_id`/locations/`location_id`/admins/`admin_id`` # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # A stable ID (provided by Google) for this category. While it is possible - # to populate only the `name` field in a category, setting the `category_id` - # field is - # preferred. - # If both fields are populated, the `category_id` takes precedence, and - # the supplied `name` field is ignored, and populated based on the - # value of this field. - # Corresponds to the JSON property `categoryId` + # Indicates whether this admin has a pending invitation for the specified + # resource. + # @OutputOnly + # Corresponds to the JSON property `pendingInvitation` + # @return [Boolean] + attr_accessor :pending_invitation + alias_method :pending_invitation?, :pending_invitation + + # Specifies the AdminRole that this + # admin uses with the specified Account + # or Location resource. + # Corresponds to the JSON property `role` # @return [String] - attr_accessor :category_id + attr_accessor :role def initialize(**args) update!(**args) @@ -599,8 +255,193 @@ module Google # Update properties of this object def update!(**args) + @admin_name = args[:admin_name] if args.key?(:admin_name) @name = args[:name] if args.key?(:name) - @category_id = args[:category_id] if args.key?(:category_id) + @pending_invitation = args[:pending_invitation] if args.key?(:pending_invitation) + @role = args[:role] if args.key?(:role) + end + end + + # Request message for MyBusiness.AssociateLocationRequest to associate a + # location to a place or indicate no match. + class AssociateLocationRequest + include Google::Apis::Core::Hashable + + # The association to establish. If not set, it indicates no match. + # Corresponds to the JSON property `placeId` + # @return [String] + attr_accessor :place_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @place_id = args[:place_id] if args.key?(:place_id) + end + end + + # A location attribute. Attributes provide additional, information about a + # location. The attributes that can be set on a location may vary based on + # the properties of that location (e.g. category). Available attributes are + # determined by Google and may be added and removed without API changes. + class Attribute + include Google::Apis::Core::Hashable + + # The id of the attribute. Attribute ids are provided by Google. + # Corresponds to the JSON property `attributeId` + # @return [String] + attr_accessor :attribute_id + + # The type of value that this attribute contains. This should be used to + # determine how to interpret the value. + # @OutputOnly + # Corresponds to the JSON property `valueType` + # @return [String] + attr_accessor :value_type + + # The values for this attribute. The type of the values supplied must match + # that expected for that attribute, see AttributeValueType. This is a + # repeated field where multiple attribute values may be provided. Current + # attribute types only support one value, but future types may support + # multiple values. + # 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) + @attribute_id = args[:attribute_id] if args.key?(:attribute_id) + @value_type = args[:value_type] if args.key?(:value_type) + @values = args[:values] if args.key?(:values) + end + end + + # Metadata for an attribute. Contains display information for the attribute, + # including a localised name and a heading for grouping related attributes + # together. + class AttributeMetadata + include Google::Apis::Core::Hashable + + # The id of the attribute. + # Corresponds to the JSON property `attributeId` + # @return [String] + attr_accessor :attribute_id + + # The localised display name for the attribute, if available, otherwise + # the English display name. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The localised display name of the group that contains this attribute, if + # available, otherwise the English group name. Related attributes are + # collected into group and should be displayed together under the heading + # given here. + # Corresponds to the JSON property `groupDisplayName` + # @return [String] + attr_accessor :group_display_name + + # If true, the attribute supports multiple values. If false only a single + # value should be provided. + # Corresponds to the JSON property `isRepeatable` + # @return [Boolean] + attr_accessor :is_repeatable + alias_method :is_repeatable?, :is_repeatable + + # For some types of attributes (e.g. enums) a list of supported values and + # corresponding display names for those values is provided. + # Corresponds to the JSON property `valueMetadata` + # @return [Array] + attr_accessor :value_metadata + + # The value type for the attribute. Values set and retrieved should be + # expected to be of this type. + # Corresponds to the JSON property `valueType` + # @return [String] + attr_accessor :value_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attribute_id = args[:attribute_id] if args.key?(:attribute_id) + @display_name = args[:display_name] if args.key?(:display_name) + @group_display_name = args[:group_display_name] if args.key?(:group_display_name) + @is_repeatable = args[:is_repeatable] if args.key?(:is_repeatable) + @value_metadata = args[:value_metadata] if args.key?(:value_metadata) + @value_type = args[:value_type] if args.key?(:value_type) + end + end + + # Metadata for supported attribute values + class AttributeValueMetadata + include Google::Apis::Core::Hashable + + # The display name for this value, localised where available otherwise in + # English. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The attribute value + # Corresponds to the JSON property `value` + # @return [Object] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) + @value = args[:value] if args.key?(:value) + end + end + + # + class BatchGetLocationsRequest + include Google::Apis::Core::Hashable + + # A collection of locations to fetch, specified by their names. + # Corresponds to the JSON property `locationNames` + # @return [Array] + attr_accessor :location_names + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @location_names = args[:location_names] if args.key?(:location_names) + end + end + + # + class BatchGetLocationsResponse + include Google::Apis::Core::Hashable + + # A collection of locations. + # Corresponds to the JSON property `locations` + # @return [Array] + attr_accessor :locations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @locations = args[:locations] if args.key?(:locations) end end @@ -626,38 +467,27 @@ module Google end end - # Represents a span of time that the business is open, starting on the - # specified open - # day/time and closing on the specified close day/time. - # The closing time must occur after the opening time, for example later in the - # same day, or on a subsequent day. - class TimePeriod + # A category describing what this business is (not what it does). For a list of + # valid category IDs, and the mappings to their human readable names, see + # the [category list](/my-business/content/categories). + class Category include Google::Apis::Core::Hashable - # Indicates the day of the week this period starts - # on. - # Corresponds to the JSON property `openDay` + # A stable ID (provided by Google) for this category. While it is possible + # to populate only the `name` field in a category, setting the `category_id` + # field is + # preferred. + # If both fields are populated, the `category_id` takes precedence, and + # the supplied `name` field is ignored, and populated based on the + # value of this field. + # Corresponds to the JSON property `categoryId` # @return [String] - attr_accessor :open_day + attr_accessor :category_id - # Time in 24hr ISO 8601 extended format (hh:mm). Valid values are 00:00-24:00, - # where 24:00 represents midnight at the end of the specified day field. - # Corresponds to the JSON property `openTime` + # The human-readable name of the category. + # Corresponds to the JSON property `name` # @return [String] - attr_accessor :open_time - - # Indicates the day of the week this period ends - # on. - # Corresponds to the JSON property `closeDay` - # @return [String] - attr_accessor :close_day - - # Time in 24hr ISO 8601 extended format (hh:mm). Valid values are - # 00:00-24:00, where 24:00 represents midnight at the end of the specified day - # field. - # Corresponds to the JSON property `closeTime` - # @return [String] - attr_accessor :close_time + attr_accessor :name def initialize(**args) update!(**args) @@ -665,111 +495,22 @@ module Google # Update properties of this object def update!(**args) - @open_day = args[:open_day] if args.key?(:open_day) - @open_time = args[:open_time] if args.key?(:open_time) - @close_day = args[:close_day] if args.key?(:close_day) - @close_time = args[:close_time] if args.key?(:close_time) + @category_id = args[:category_id] if args.key?(:category_id) + @name = args[:name] if args.key?(:name) end end - # Represents a set of time periods when a location's operational hours differ - # from its normal business hours. - class SpecialHours + # Request message for MyBusiness.ClearLocationAssociationRequest to clear + # the association between a location to its place ID. + class ClearLocationAssociationRequest include Google::Apis::Core::Hashable - # A list of exceptions to the business's regular hours. - # Corresponds to the JSON property `specialHourPeriods` - # @return [Array] - attr_accessor :special_hour_periods - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @special_hour_periods = args[:special_hour_periods] if args.key?(:special_hour_periods) - end - end - - # Represents a single time period when a location's operational hours differ - # from its normal business hours. - # A special hour period must represent a range of less than 24 hours. - # The `open_time` and `start_date` must predate the `close_time` and `end_date`. - # The `close_time` and `end_date` can extend to 11:59 a.m. on the day after - # the specified `start_date`. - # For example, the following inputs are valid: - # start_date=2015-11-23, open_time=08:00, close_time=18:00 - # start_date=2015-11-23, end_date=2015-11-23, open_time=08:00, close_time=18: - # 00 - # start_date=2015-11-23, end_date=2015-11-24, open_time=13:00, close_time=11: - # 59 - # The following inputs are NOT valid: - # start_date=2015-11-23, open_time=13:00, close_time=11:59 - # start_date=2015-11-23, end_date=2015-11-24, open_time=13:00, close_time=12: - # 00 - # start_date=2015-11-23, end_date=2015-11-25, open_time=08:00, close_time=18: - # 00 - class SpecialHourPeriod - include Google::Apis::Core::Hashable - - # Represents a whole calendar date, e.g. 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. The day may be 0 to - # represent a year and month where the day is not significant, e.g. credit card - # expiration date. The year may be 0 to represent a month and day independent - # of year, e.g. anniversary date. Related types are google.type.TimeOfDay - # and `google.protobuf.Timestamp`. - # Corresponds to the JSON property `startDate` - # @return [Google::Apis::MybusinessV3::Date] - attr_accessor :start_date - - # The wall time on `start_date` when a location opens, expressed in - # 24hr ISO 8601 extended format. (hh:mm) Valid values are 00:00-24:00, - # where 24:00 represents midnight at the end of the specified day field. - # Must be specified if `is_closed` is false. - # Corresponds to the JSON property `openTime` - # @return [String] - attr_accessor :open_time - - # Represents a whole calendar date, e.g. 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. The day may be 0 to - # represent a year and month where the day is not significant, e.g. credit card - # expiration date. The year may be 0 to represent a month and day independent - # of year, e.g. anniversary date. Related types are google.type.TimeOfDay - # and `google.protobuf.Timestamp`. - # Corresponds to the JSON property `endDate` - # @return [Google::Apis::MybusinessV3::Date] - attr_accessor :end_date - - # The wall time on end_date when a location closes, expressed in - # 24hr ISO 8601 extended format. (hh:mm) Valid values are 00:00-24:00, - # where 24:00 represents midnight at the end of the specified day field. - # Must be specified if is_closed is false. - # Corresponds to the JSON property `closeTime` - # @return [String] - attr_accessor :close_time - - # If true, end_date, open_time, and close_time are ignored, - # and the date specified in start_date is treated as the location being - # closed for the entire day. - # Corresponds to the JSON property `isClosed` - # @return [Boolean] - attr_accessor :is_closed - alias_method :is_closed?, :is_closed - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @start_date = args[:start_date] if args.key?(:start_date) - @open_time = args[:open_time] if args.key?(:open_time) - @end_date = args[:end_date] if args.key?(:end_date) - @close_time = args[:close_time] if args.key?(:close_time) - @is_closed = args[:is_closed] if args.key?(:is_closed) end end @@ -783,55 +524,51 @@ module Google 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 + # Month of year. Must be from 1 to 12. + # Corresponds to the JSON property `month` + # @return [Fixnum] + attr_accessor :month + + # 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) - @year = args[:year] if args.key?(:year) - @month = args[:month] if args.key?(:month) @day = args[:day] if args.key?(:day) + @month = args[:month] if args.key?(:month) + @year = args[:year] if args.key?(:year) end end - # Service area businesses provide their service at the customer's location (for - # example a locksmith or plumber). - class ServiceAreaBusiness + # Information about the location that this location duplicates. + class Duplicate include Google::Apis::Core::Hashable - # Indicates the type of the service area - # business. - # Corresponds to the JSON property `businessType` + # The resource name of the location that this duplicates. Only populated + # if the authenticated user has access rights to that location and that + # location is not deleted. + # Corresponds to the JSON property `locationName` # @return [String] - attr_accessor :business_type + attr_accessor :location_name - # A radius around a particular point (latitude/longitude). - # Corresponds to the JSON property `radius` - # @return [Google::Apis::MybusinessV3::PointRadius] - attr_accessor :radius - - # Defines the union of areas represented by a set of places. - # Corresponds to the JSON property `places` - # @return [Google::Apis::MybusinessV3::Places] - attr_accessor :places + # Indicates the ownership status between this location and the location + # that it duplicates. + # Corresponds to the JSON property `ownership` + # @return [String] + attr_accessor :ownership def initialize(**args) update!(**args) @@ -839,68 +576,120 @@ module Google # Update properties of this object def update!(**args) - @business_type = args[:business_type] if args.key?(:business_type) - @radius = args[:radius] if args.key?(:radius) - @places = args[:places] if args.key?(:places) + @location_name = args[:location_name] if args.key?(:location_name) + @ownership = args[:ownership] if args.key?(:ownership) end end - # A radius around a particular point (latitude/longitude). - class PointRadius + # 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 - # 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 - # [-90.0, 90.0] and [-180.0, 180.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::MybusinessV3::LatLng] - attr_accessor :latlng - - # The distance in kilometers of the area around the point. - # Corresponds to the JSON property `radiusKm` - # @return [Float] - attr_accessor :radius_km - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @latlng = args[:latlng] if args.key?(:latlng) - @radius_km = args[:radius_km] if args.key?(:radius_km) + end + end + + # Request message for MyBusiness.FindMatchingLocations. + class FindMatchingLocationsRequest + include Google::Apis::Core::Hashable + + # The preferred language for the matching location. + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + # Indicates the duration of acceptable cache-age. If omitted, will always + # return the cached data (if available). If the cache is older than the + # provided duration, or if a cached value is not available, results will be + # re-calculated and re-cached. + # Corresponds to the JSON property `maxCacheDuration` + # @return [String] + attr_accessor :max_cache_duration + + # The number of matches to return. The default value is 3, with a maximum + # of 10. Note that latency may increase if more are requested. There is no + # pagination. This field is only respected if the cache needs to be updated. + # Corresponds to the JSON property `numResults` + # @return [Fixnum] + attr_accessor :num_results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @language_code = args[:language_code] if args.key?(:language_code) + @max_cache_duration = args[:max_cache_duration] if args.key?(:max_cache_duration) + @num_results = args[:num_results] if args.key?(:num_results) + end + end + + # Response message for MyBusiness.FindMatchingLocations + class FindMatchingLocationsResponse + include Google::Apis::Core::Hashable + + # When the matching algorithm was last executed for this location. + # Corresponds to the JSON property `matchTime` + # @return [String] + attr_accessor :match_time + + # A collection of locations that are potential matches to the specified + # location, listed in order from best to least match. If there is an exact + # match, it will be in the first position. + # Corresponds to the JSON property `matchedLocations` + # @return [Array] + attr_accessor :matched_locations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @match_time = args[:match_time] if args.key?(:match_time) + @matched_locations = args[:matched_locations] if args.key?(:matched_locations) + end + end + + # Represents a location that was modified by Google. + class GoogleUpdatedLocation + include Google::Apis::Core::Hashable + + # The fields that Google updated. + # Corresponds to the JSON property `diffMask` + # @return [String] + attr_accessor :diff_mask + + # A location. + # See the [help center article] + # (https://support.google.com/business/answer/3038177) for a detailed + # description of these fields, or the [category + # list](/my-business/content/categories] for a list of valid business + # categories. + # Corresponds to the JSON property `location` + # @return [Google::Apis::MybusinessV3::Location] + attr_accessor :location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @diff_mask = args[:diff_mask] if args.key?(:diff_mask) + @location = args[:location] if args.key?(:location) end end @@ -963,14 +752,14 @@ module Google end end - # Defines the union of areas represented by a set of places. - class Places + # + class ListAccountAdminsResponse include Google::Apis::Core::Hashable - # The areas represented by place IDs. - # Corresponds to the JSON property `placeInfos` - # @return [Array] - attr_accessor :place_infos + # A collection of Admin instances. + # Corresponds to the JSON property `admins` + # @return [Array] + attr_accessor :admins def initialize(**args) update!(**args) @@ -978,7 +767,682 @@ module Google # Update properties of this object def update!(**args) - @place_infos = args[:place_infos] if args.key?(:place_infos) + @admins = args[:admins] if args.key?(:admins) + end + end + + # + class ListAccountsResponse + include Google::Apis::Core::Hashable + + # A collection of accounts to which the user has access. + # Corresponds to the JSON property `accounts` + # @return [Array] + attr_accessor :accounts + + # If the number of accounts exceeds the requested page size, this field is + # populated with a token to fetch the next page of accounts on a + # subsequent call to `accounts.list`. If there are no more accounts, this field + # is not present in the response. + # 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) + @accounts = args[:accounts] if args.key?(:accounts) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # + class ListLocationAdminsResponse + include Google::Apis::Core::Hashable + + # A collection of Admin instances. + # Corresponds to the JSON property `admins` + # @return [Array] + attr_accessor :admins + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @admins = args[:admins] if args.key?(:admins) + end + end + + # + class ListLocationAttributeMetadataResponse + include Google::Apis::Core::Hashable + + # A collection of attribute metadata for the available attributes. + # Corresponds to the JSON property `attributes` + # @return [Array] + attr_accessor :attributes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attributes = args[:attributes] if args.key?(:attributes) + end + end + + # + class ListLocationsResponse + include Google::Apis::Core::Hashable + + # The locations + # Corresponds to the JSON property `locations` + # @return [Array] + attr_accessor :locations + + # If the number of locations exceeded the requested page size, this field + # is populated with a token to fetch the next page of locations on a + # subsequent call to ListLocations. If there are no more locations, this + # field is not be present in the response. + # 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) + @locations = args[:locations] if args.key?(:locations) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Response message for MyBusiness.ListReviews. + class ListReviewsResponse + include Google::Apis::Core::Hashable + + # The average star rating of all reviews for this location + # on a scale of 1 to 5. + # Corresponds to the JSON property `averageRating` + # @return [Float] + attr_accessor :average_rating + + # If the number of reviews exceeded the requested page size, this field + # is populated with a token to fetch the next page of reviews on a + # subsequent call to ListReviews. If there are no more reviews, this + # field is not be present in the response. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The reviews. + # Corresponds to the JSON property `reviews` + # @return [Array] + attr_accessor :reviews + + # The total number of reviews for this location. + # Corresponds to the JSON property `totalReviewCount` + # @return [Fixnum] + attr_accessor :total_review_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @average_rating = args[:average_rating] if args.key?(:average_rating) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @reviews = args[:reviews] if args.key?(:reviews) + @total_review_count = args[:total_review_count] if args.key?(:total_review_count) + end + end + + # A location. + # See the [help center article] + # (https://support.google.com/business/answer/3038177) for a detailed + # description of these fields, or the [category + # list](/my-business/content/categories] for a list of valid business + # categories. + class Location + include Google::Apis::Core::Hashable + + # Additional information that is surfaced in AdWords. + # Corresponds to the JSON property `adWordsLocationExtensions` + # @return [Google::Apis::MybusinessV3::AdWordsLocationExtensions] + attr_accessor :ad_words_location_extensions + + # Additional categories to describe your business. + # Categories help your customers find accurate, specific results for services + # they're interested in. In order to keep your business information accurate + # and live, make sure that you use as few categories as possible to describe + # your overall core business. + # Choose categories that are as specific as possible, but representative of + # your main business. + # Corresponds to the JSON property `additionalCategories` + # @return [Array] + attr_accessor :additional_categories + + # Up to two phone numbers (mobile or landline, no fax) at which your business + # can be called, in addition to your primary phone number. + # Corresponds to the JSON property `additionalPhones` + # @return [Array] + attr_accessor :additional_phones + + # Represents the physical location of the business. + # Example addresses: + # address_lines: "1600 Amphitheatre Parkway" + # locality: Mountain View + # administrative_area: CA + # country: US + # postal_code: 94043 + # address_lines: "A-205, Natasha Apartments", "2, Inner Ring Road" + # sub_locality: Domlur + # locality: Bangalore + # administrative_area: Karnataka + # country: IN + # postal_code: 560071 + # Corresponds to the JSON property `address` + # @return [Google::Apis::MybusinessV3::Address] + attr_accessor :address + + # Attributes for this location. + # Corresponds to the JSON property `attributes` + # @return [Array] + attr_accessor :attributes + + # A collection of free-form strings to allow you to tag your business. These + # labels are NOT user facing, and are only be seen by you. + # Limited to 255 characters (per label). + # Corresponds to the JSON property `labels` + # @return [Array] + attr_accessor :labels + + # 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 + # [-90.0, 90.0] and [-180.0, 180.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::MybusinessV3::LatLng] + attr_accessor :latlng + + # Alternate / surrogate key references for a location. + # Corresponds to the JSON property `locationKey` + # @return [Google::Apis::MybusinessV3::LocationKey] + attr_accessor :location_key + + # Location name should reflect your business's real-world name, as used + # consistently on your storefront, website, and stationery, and as known to + # customers. + # Any additional information, when relevant, can be included in other + # fields of the resource (for example, `Address`, `Categories`). + # Do not add unnecessary information to your name (for example, prefer "Google" + # over + # "Google Inc. - Mountain View Corporate Headquarters"). + # It is NOT permitted to include marketing taglines, store codes, special + # characters, hours or + # closed/open status, phone numbers, website URLs, service/product + # information, location/address or directions, or containment information + # (for example, "Chase ATM in Duane Reade"). + # Corresponds to the JSON property `locationName` + # @return [String] + attr_accessor :location_name + + # Contains a set of booleans that reflect the state of a Location. + # Corresponds to the JSON property `locationState` + # @return [Google::Apis::MybusinessV3::LocationState] + attr_accessor :location_state + + # Additional non-user-editable information about the location. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::MybusinessV3::Metadata] + attr_accessor :metadata + + # Google identifier for this location in the form: + # `accounts/`account_id`/locations/`location_id`` + # In the context of matches, this field will not be populated. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Indicates whether the location is currently open for business. + # All locations are open by default, unless updated to be closed. + # Corresponds to the JSON property `openInfo` + # @return [Google::Apis::MybusinessV3::OpenInfo] + attr_accessor :open_info + + # A collection of photos representing the business, categorized by photo type. + # The URL for each photo should point to a publicly accessible image. + # Photos should be supplied in either JPG or PNG format unless specified + # otherwise. If the photo was added by using Google My Business Locations or + # this API, the user-provided URL is used. If the photo was uploaded via the + # Google My Business Photos App, the photo uses a generated URL hosted by + # Google. Exceptions: `profile_photo_url` and `cover_photo_url` are always + # under a Google domain. + # With the exception of profile_photo_url and cover_photo_url, all photos + # must measure a minimum of 250px on the short edge, with a file size of at + # least 10240 bytes. + # Corresponds to the JSON property `photos` + # @return [Google::Apis::MybusinessV3::Photos] + attr_accessor :photos + + # A category describing what this business is (not what it does). For a list of + # valid category IDs, and the mappings to their human readable names, see + # the [category list](/my-business/content/categories). + # Corresponds to the JSON property `primaryCategory` + # @return [Google::Apis::MybusinessV3::Category] + attr_accessor :primary_category + + # A phone number that connects to your individual business location + # as directly as possible. Use a local phone number instead of a central, + # call center helpline number whenever possible. + # Corresponds to the JSON property `primaryPhone` + # @return [String] + attr_accessor :primary_phone + + # Represents the time periods that this location is open for business. + # Holds a collection of TimePeriod + # instances. + # Corresponds to the JSON property `regularHours` + # @return [Google::Apis::MybusinessV3::BusinessHours] + attr_accessor :regular_hours + + # Service area businesses provide their service at the customer's location (for + # example a locksmith or plumber). + # Corresponds to the JSON property `serviceArea` + # @return [Google::Apis::MybusinessV3::ServiceAreaBusiness] + attr_accessor :service_area + + # Represents a set of time periods when a location's operational hours differ + # from its normal business hours. + # Corresponds to the JSON property `specialHours` + # @return [Google::Apis::MybusinessV3::SpecialHours] + attr_accessor :special_hours + + # External identifier for this location, which must be unique inside a given + # account. This is a means of associating the location with your own records. + # Corresponds to the JSON property `storeCode` + # @return [String] + attr_accessor :store_code + + # A URL for this business. If possible, use a URL that represents this + # individual business location instead of a generic website/URL that represents + # all locations, or the brand. + # Corresponds to the JSON property `websiteUrl` + # @return [String] + attr_accessor :website_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ad_words_location_extensions = args[:ad_words_location_extensions] if args.key?(:ad_words_location_extensions) + @additional_categories = args[:additional_categories] if args.key?(:additional_categories) + @additional_phones = args[:additional_phones] if args.key?(:additional_phones) + @address = args[:address] if args.key?(:address) + @attributes = args[:attributes] if args.key?(:attributes) + @labels = args[:labels] if args.key?(:labels) + @latlng = args[:latlng] if args.key?(:latlng) + @location_key = args[:location_key] if args.key?(:location_key) + @location_name = args[:location_name] if args.key?(:location_name) + @location_state = args[:location_state] if args.key?(:location_state) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + @open_info = args[:open_info] if args.key?(:open_info) + @photos = args[:photos] if args.key?(:photos) + @primary_category = args[:primary_category] if args.key?(:primary_category) + @primary_phone = args[:primary_phone] if args.key?(:primary_phone) + @regular_hours = args[:regular_hours] if args.key?(:regular_hours) + @service_area = args[:service_area] if args.key?(:service_area) + @special_hours = args[:special_hours] if args.key?(:special_hours) + @store_code = args[:store_code] if args.key?(:store_code) + @website_url = args[:website_url] if args.key?(:website_url) + end + end + + # Alternate / surrogate key references for a location. + class LocationKey + include Google::Apis::Core::Hashable + + # A value of true indicates that an unset place ID is deliberate, + # which is different from no association being made yet. + # @OutputOnly + # Corresponds to the JSON property `explicitNoPlaceId` + # @return [Boolean] + attr_accessor :explicit_no_place_id + alias_method :explicit_no_place_id?, :explicit_no_place_id + + # If this location has been verified and is connected to/appears on Google + # Maps, this field is populated with the place ID for the location. + # This ID can be used in various Places APIs. + # If this location is unverified, this field may be populated if the location + # has been associated with a place that appears on Google Maps. + # This field can be set during Create calls, but not for Update. + # The additional explicit_no_place_id bool qualifies whether an unset + # place ID is deliberate or not. + # Corresponds to the JSON property `placeId` + # @return [String] + attr_accessor :place_id + + # If this location has a Google+ page associated with it, this is + # populated with the Google+ page ID for this location. + # @OutputOnly + # Corresponds to the JSON property `plusPageId` + # @return [String] + attr_accessor :plus_page_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @explicit_no_place_id = args[:explicit_no_place_id] if args.key?(:explicit_no_place_id) + @place_id = args[:place_id] if args.key?(:place_id) + @plus_page_id = args[:plus_page_id] if args.key?(:plus_page_id) + end + end + + # Contains a set of booleans that reflect the state of a Location. + class LocationState + include Google::Apis::Core::Hashable + + # Indicates whether the location can be deleted using the Google My Business + # UI. + # @OutputOnly + # Corresponds to the JSON property `canDelete` + # @return [Boolean] + attr_accessor :can_delete + alias_method :can_delete?, :can_delete + + # Indicates whether the location can be updated. + # @OutputOnly + # Corresponds to the JSON property `canUpdate` + # @return [Boolean] + attr_accessor :can_update + alias_method :can_update?, :can_update + + # Indicates whether the location is a duplicate of another location. + # See metadata.duplicate for more information. + # @OutputOnly + # Corresponds to the JSON property `isDuplicate` + # @return [Boolean] + attr_accessor :is_duplicate + alias_method :is_duplicate?, :is_duplicate + + # Indicates whether the place ID associated with this location has updates. + # @OutputOnly + # Corresponds to the JSON property `isGoogleUpdated` + # @return [Boolean] + attr_accessor :is_google_updated + alias_method :is_google_updated?, :is_google_updated + + # Indicates whether the location is suspended. + # Suspended locations are not visible to end users in Google products. + # If you believe this was a mistake, see the [help center article] + # (https://support.google.com/business/answer/4569145). + # @OutputOnly + # Corresponds to the JSON property `isSuspended` + # @return [Boolean] + attr_accessor :is_suspended + alias_method :is_suspended?, :is_suspended + + # Indicates whether the location is verified. + # @OutputOnly + # Corresponds to the JSON property `isVerified` + # @return [Boolean] + attr_accessor :is_verified + alias_method :is_verified?, :is_verified + + # Indicates whether the location requires reverification. + # @OutputOnly + # Corresponds to the JSON property `needsReverification` + # @return [Boolean] + attr_accessor :needs_reverification + alias_method :needs_reverification?, :needs_reverification + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @can_delete = args[:can_delete] if args.key?(:can_delete) + @can_update = args[:can_update] if args.key?(:can_update) + @is_duplicate = args[:is_duplicate] if args.key?(:is_duplicate) + @is_google_updated = args[:is_google_updated] if args.key?(:is_google_updated) + @is_suspended = args[:is_suspended] if args.key?(:is_suspended) + @is_verified = args[:is_verified] if args.key?(:is_verified) + @needs_reverification = args[:needs_reverification] if args.key?(:needs_reverification) + end + end + + # Represents a possible match to a location. + class MatchedLocation + include Google::Apis::Core::Hashable + + # Is this an exact match? + # Corresponds to the JSON property `isExactMatch` + # @return [Boolean] + attr_accessor :is_exact_match + alias_method :is_exact_match?, :is_exact_match + + # A location. + # See the [help center article] + # (https://support.google.com/business/answer/3038177) for a detailed + # description of these fields, or the [category + # list](/my-business/content/categories] for a list of valid business + # categories. + # Corresponds to the JSON property `location` + # @return [Google::Apis::MybusinessV3::Location] + attr_accessor :location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @is_exact_match = args[:is_exact_match] if args.key?(:is_exact_match) + @location = args[:location] if args.key?(:location) + end + end + + # Additional non-user-editable information about the location. + class Metadata + include Google::Apis::Core::Hashable + + # Information about the location that this location duplicates. + # Corresponds to the JSON property `duplicate` + # @return [Google::Apis::MybusinessV3::Duplicate] + attr_accessor :duplicate + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @duplicate = args[:duplicate] if args.key?(:duplicate) + end + end + + # Indicates whether the location is currently open for business. + # All locations are open by default, unless updated to be closed. + class OpenInfo + include Google::Apis::Core::Hashable + + # Indicates the Location OpenForBusiness status. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @status = args[:status] if args.key?(:status) + end + end + + # A collection of photos representing the business, categorized by photo type. + # The URL for each photo should point to a publicly accessible image. + # Photos should be supplied in either JPG or PNG format unless specified + # otherwise. If the photo was added by using Google My Business Locations or + # this API, the user-provided URL is used. If the photo was uploaded via the + # Google My Business Photos App, the photo uses a generated URL hosted by + # Google. Exceptions: `profile_photo_url` and `cover_photo_url` are always + # under a Google domain. + # With the exception of profile_photo_url and cover_photo_url, all photos + # must measure a minimum of 250px on the short edge, with a file size of at + # least 10240 bytes. + class Photos + include Google::Apis::Core::Hashable + + # Use the additional photos category for images that don't fit in any of the + # other categories. + # Corresponds to the JSON property `additionalPhotoUrls` + # @return [Array] + attr_accessor :additional_photo_urls + + # Common area photos show customers the common areas of your business + # location. + # Corresponds to the JSON property `commonAreasPhotoUrls` + # @return [Array] + attr_accessor :common_areas_photo_urls + + # The cover photo showcases the personality of your business. + # Cover photos must have a 16:9 aspect ratio, with a minimum size of 480px + # x 270px, and a maximum size of 2120px x 1192px. + # Corresponds to the JSON property `coverPhotoUrl` + # @return [String] + attr_accessor :cover_photo_url + + # Exterior photos help customers to recognize your business as they approach + # from different directions. + # Corresponds to the JSON property `exteriorPhotoUrls` + # @return [Array] + attr_accessor :exterior_photo_urls + + # Food and drink photos display the food and drink items served by your + # business. + # Corresponds to the JSON property `foodAndDrinkPhotoUrls` + # @return [Array] + attr_accessor :food_and_drink_photo_urls + + # Interior photos show customers what your business location looks like + # inside. + # Corresponds to the JSON property `interiorPhotoUrls` + # @return [Array] + attr_accessor :interior_photo_urls + + # The logo photo helps customers to recognize your brand. Upon upload, logo + # images are fitted into a square (transparent vertical or horizontal lines + # are added on two sides of the image if the original image is not square). + # Corresponds to the JSON property `logoPhotoUrl` + # @return [String] + attr_accessor :logo_photo_url + + # Menu photos show customers what your food menu looks like. + # Corresponds to the JSON property `menuPhotoUrls` + # @return [Array] + attr_accessor :menu_photo_urls + + # At work photos show you and your employees serving your customers. + # Corresponds to the JSON property `photosAtWorkUrls` + # @return [Array] + attr_accessor :photos_at_work_urls + + # Indicate which photo should be shown first in Google Maps and Search. + # Corresponds to the JSON property `preferredPhoto` + # @return [String] + attr_accessor :preferred_photo + + # Product photos showcase the products sold by your business. + # Corresponds to the JSON property `productPhotoUrls` + # @return [Array] + attr_accessor :product_photo_urls + + # The profile photo helps people recognize your business across Google. + # Profile photos must be square, with a minimum size of 250px and a maximum + # size of 500px. Allowed formats are JPG, PNG, and GIF. + # Corresponds to the JSON property `profilePhotoUrl` + # @return [String] + attr_accessor :profile_photo_url + + # Room photos show customers the inside of your guest rooms. + # Corresponds to the JSON property `roomsPhotoUrls` + # @return [Array] + attr_accessor :rooms_photo_urls + + # Team photos show your management team and your employees. + # Corresponds to the JSON property `teamPhotoUrls` + # @return [Array] + attr_accessor :team_photo_urls + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @additional_photo_urls = args[:additional_photo_urls] if args.key?(:additional_photo_urls) + @common_areas_photo_urls = args[:common_areas_photo_urls] if args.key?(:common_areas_photo_urls) + @cover_photo_url = args[:cover_photo_url] if args.key?(:cover_photo_url) + @exterior_photo_urls = args[:exterior_photo_urls] if args.key?(:exterior_photo_urls) + @food_and_drink_photo_urls = args[:food_and_drink_photo_urls] if args.key?(:food_and_drink_photo_urls) + @interior_photo_urls = args[:interior_photo_urls] if args.key?(:interior_photo_urls) + @logo_photo_url = args[:logo_photo_url] if args.key?(:logo_photo_url) + @menu_photo_urls = args[:menu_photo_urls] if args.key?(:menu_photo_urls) + @photos_at_work_urls = args[:photos_at_work_urls] if args.key?(:photos_at_work_urls) + @preferred_photo = args[:preferred_photo] if args.key?(:preferred_photo) + @product_photo_urls = args[:product_photo_urls] if args.key?(:product_photo_urls) + @profile_photo_url = args[:profile_photo_url] if args.key?(:profile_photo_url) + @rooms_photo_urls = args[:rooms_photo_urls] if args.key?(:rooms_photo_urls) + @team_photo_urls = args[:team_photo_urls] if args.key?(:team_photo_urls) end end @@ -1007,36 +1471,14 @@ module Google end end - # Alternate / surrogate key references for a location. - class LocationKey + # Defines the union of areas represented by a set of places. + class Places include Google::Apis::Core::Hashable - # If this location has a Google+ page associated with it, this is - # populated with the Google+ page ID for this location. - # @OutputOnly - # Corresponds to the JSON property `plusPageId` - # @return [String] - attr_accessor :plus_page_id - - # If this location has been verified and is connected to/appears on Google - # Maps, this field is populated with the place ID for the location. - # This ID can be used in various Places APIs. - # If this location is unverified, this field may be populated if the location - # has been associated with a place that appears on Google Maps. - # This field can be set during Create calls, but not for Update. - # The additional explicit_no_place_id bool qualifies whether an unset - # place ID is deliberate or not. - # Corresponds to the JSON property `placeId` - # @return [String] - attr_accessor :place_id - - # A value of true indicates that an unset place ID is deliberate, - # which is different from no association being made yet. - # @OutputOnly - # Corresponds to the JSON property `explicitNoPlaceId` - # @return [Boolean] - attr_accessor :explicit_no_place_id - alias_method :explicit_no_place_id?, :explicit_no_place_id + # The areas represented by place IDs. + # Corresponds to the JSON property `placeInfos` + # @return [Array] + attr_accessor :place_infos def initialize(**args) update!(**args) @@ -1044,594 +1486,57 @@ module Google # Update properties of this object def update!(**args) - @plus_page_id = args[:plus_page_id] if args.key?(:plus_page_id) - @place_id = args[:place_id] if args.key?(:place_id) - @explicit_no_place_id = args[:explicit_no_place_id] if args.key?(:explicit_no_place_id) + @place_infos = args[:place_infos] if args.key?(:place_infos) end end - # Additional information that is surfaced in AdWords. - class AdWordsLocationExtensions + # A radius around a particular point (latitude/longitude). + class PointRadius include Google::Apis::Core::Hashable - # An alternate phone number to display on AdWords location extensions - # instead of the location's primary phone number. - # Corresponds to the JSON property `adPhone` - # @return [String] - attr_accessor :ad_phone - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ad_phone = args[:ad_phone] if args.key?(:ad_phone) - end - end - - # A collection of photos representing the business, categorized by photo type. - # The URL for each photo should point to a publicly accessible image. - # Photos should be supplied in either JPG or PNG format unless specified - # otherwise. If the photo was added by using Google My Business Locations or - # this API, the user-provided URL is used. If the photo was uploaded via the - # Google My Business Photos App, the photo uses a generated URL hosted by - # Google. Exceptions: `profile_photo_url` and `cover_photo_url` are always - # under a Google domain. - # With the exception of profile_photo_url and cover_photo_url, all photos - # must measure a minimum of 250px on the short edge, with a file size of at - # least 10240 bytes. - class Photos - include Google::Apis::Core::Hashable - - # The profile photo helps people recognize your business across Google. - # Profile photos must be square, with a minimum size of 250px and a maximum - # size of 500px. Allowed formats are JPG, PNG, and GIF. - # Corresponds to the JSON property `profilePhotoUrl` - # @return [String] - attr_accessor :profile_photo_url - - # The cover photo showcases the personality of your business. - # Cover photos must have a 16:9 aspect ratio, with a minimum size of 480px - # x 270px, and a maximum size of 2120px x 1192px. - # Corresponds to the JSON property `coverPhotoUrl` - # @return [String] - attr_accessor :cover_photo_url - - # The logo photo helps customers to recognize your brand. Upon upload, logo - # images are fitted into a square (transparent vertical or horizontal lines - # are added on two sides of the image if the original image is not square). - # Corresponds to the JSON property `logoPhotoUrl` - # @return [String] - attr_accessor :logo_photo_url - - # Exterior photos help customers to recognize your business as they approach - # from different directions. - # Corresponds to the JSON property `exteriorPhotoUrls` - # @return [Array] - attr_accessor :exterior_photo_urls - - # Interior photos show customers what your business location looks like - # inside. - # Corresponds to the JSON property `interiorPhotoUrls` - # @return [Array] - attr_accessor :interior_photo_urls - - # Product photos showcase the products sold by your business. - # Corresponds to the JSON property `productPhotoUrls` - # @return [Array] - attr_accessor :product_photo_urls - - # At work photos show you and your employees serving your customers. - # Corresponds to the JSON property `photosAtWorkUrls` - # @return [Array] - attr_accessor :photos_at_work_urls - - # Food and drink photos display the food and drink items served by your - # business. - # Corresponds to the JSON property `foodAndDrinkPhotoUrls` - # @return [Array] - attr_accessor :food_and_drink_photo_urls - - # Menu photos show customers what your food menu looks like. - # Corresponds to the JSON property `menuPhotoUrls` - # @return [Array] - attr_accessor :menu_photo_urls - - # Common area photos show customers the common areas of your business - # location. - # Corresponds to the JSON property `commonAreasPhotoUrls` - # @return [Array] - attr_accessor :common_areas_photo_urls - - # Room photos show customers the inside of your guest rooms. - # Corresponds to the JSON property `roomsPhotoUrls` - # @return [Array] - attr_accessor :rooms_photo_urls - - # Team photos show your management team and your employees. - # Corresponds to the JSON property `teamPhotoUrls` - # @return [Array] - attr_accessor :team_photo_urls - - # Use the additional photos category for images that don't fit in any of the - # other categories. - # Corresponds to the JSON property `additionalPhotoUrls` - # @return [Array] - attr_accessor :additional_photo_urls - - # Indicate which photo should be shown first in Google Maps and Search. - # Corresponds to the JSON property `preferredPhoto` - # @return [String] - attr_accessor :preferred_photo - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @profile_photo_url = args[:profile_photo_url] if args.key?(:profile_photo_url) - @cover_photo_url = args[:cover_photo_url] if args.key?(:cover_photo_url) - @logo_photo_url = args[:logo_photo_url] if args.key?(:logo_photo_url) - @exterior_photo_urls = args[:exterior_photo_urls] if args.key?(:exterior_photo_urls) - @interior_photo_urls = args[:interior_photo_urls] if args.key?(:interior_photo_urls) - @product_photo_urls = args[:product_photo_urls] if args.key?(:product_photo_urls) - @photos_at_work_urls = args[:photos_at_work_urls] if args.key?(:photos_at_work_urls) - @food_and_drink_photo_urls = args[:food_and_drink_photo_urls] if args.key?(:food_and_drink_photo_urls) - @menu_photo_urls = args[:menu_photo_urls] if args.key?(:menu_photo_urls) - @common_areas_photo_urls = args[:common_areas_photo_urls] if args.key?(:common_areas_photo_urls) - @rooms_photo_urls = args[:rooms_photo_urls] if args.key?(:rooms_photo_urls) - @team_photo_urls = args[:team_photo_urls] if args.key?(:team_photo_urls) - @additional_photo_urls = args[:additional_photo_urls] if args.key?(:additional_photo_urls) - @preferred_photo = args[:preferred_photo] if args.key?(:preferred_photo) - end - end - - # Indicates whether the location is currently open for business. - # All locations are open by default, unless updated to be closed. - class OpenInfo - include Google::Apis::Core::Hashable - - # Indicates the Location OpenForBusiness status. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @status = args[:status] if args.key?(:status) - end - end - - # Contains a set of booleans that reflect the state of a Location. - class LocationState - include Google::Apis::Core::Hashable - - # Indicates whether the place ID associated with this location has updates. - # @OutputOnly - # Corresponds to the JSON property `isGoogleUpdated` - # @return [Boolean] - attr_accessor :is_google_updated - alias_method :is_google_updated?, :is_google_updated - - # Indicates whether the location is a duplicate of another location. - # See metadata.duplicate for more information. - # @OutputOnly - # Corresponds to the JSON property `isDuplicate` - # @return [Boolean] - attr_accessor :is_duplicate - alias_method :is_duplicate?, :is_duplicate - - # Indicates whether the location is suspended. - # Suspended locations are not visible to end users in Google products. - # If you believe this was a mistake, see the [help center article] - # (https://support.google.com/business/answer/4569145). - # @OutputOnly - # Corresponds to the JSON property `isSuspended` - # @return [Boolean] - attr_accessor :is_suspended - alias_method :is_suspended?, :is_suspended - - # Indicates whether the location can be updated. - # @OutputOnly - # Corresponds to the JSON property `canUpdate` - # @return [Boolean] - attr_accessor :can_update - alias_method :can_update?, :can_update - - # Indicates whether the location can be deleted using the Google My Business - # UI. - # @OutputOnly - # Corresponds to the JSON property `canDelete` - # @return [Boolean] - attr_accessor :can_delete - alias_method :can_delete?, :can_delete - - # Indicates whether the location is verified. - # @OutputOnly - # Corresponds to the JSON property `isVerified` - # @return [Boolean] - attr_accessor :is_verified - alias_method :is_verified?, :is_verified - - # Indicates whether the location requires reverification. - # @OutputOnly - # Corresponds to the JSON property `needsReverification` - # @return [Boolean] - attr_accessor :needs_reverification - alias_method :needs_reverification?, :needs_reverification - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @is_google_updated = args[:is_google_updated] if args.key?(:is_google_updated) - @is_duplicate = args[:is_duplicate] if args.key?(:is_duplicate) - @is_suspended = args[:is_suspended] if args.key?(:is_suspended) - @can_update = args[:can_update] if args.key?(:can_update) - @can_delete = args[:can_delete] if args.key?(:can_delete) - @is_verified = args[:is_verified] if args.key?(:is_verified) - @needs_reverification = args[:needs_reverification] if args.key?(:needs_reverification) - end - end - - # A location attribute. Attributes provide additional, information about a - # location. The attributes that can be set on a location may vary based on - # the properties of that location (e.g. category). Available attributes are - # determined by Google and may be added and removed without API changes. - class Attribute - include Google::Apis::Core::Hashable - - # The id of the attribute. Attribute ids are provided by Google. - # Corresponds to the JSON property `attributeId` - # @return [String] - attr_accessor :attribute_id - - # The type of value that this attribute contains. This should be used to - # determine how to interpret the value. - # @OutputOnly - # Corresponds to the JSON property `valueType` - # @return [String] - attr_accessor :value_type - - # The values for this attribute. The type of the values supplied must match - # that expected for that attribute, see AttributeValueType. This is a - # repeated field where multiple attribute values may be provided. Current - # attribute types only support one value, but future types may support - # multiple values. - # 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) - @attribute_id = args[:attribute_id] if args.key?(:attribute_id) - @value_type = args[:value_type] if args.key?(:value_type) - @values = args[:values] if args.key?(:values) - end - end - - # Additional non-user-editable information about the location. - class Metadata - include Google::Apis::Core::Hashable - - # Information about the location that this location duplicates. - # Corresponds to the JSON property `duplicate` - # @return [Google::Apis::MybusinessV3::Duplicate] - attr_accessor :duplicate - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @duplicate = args[:duplicate] if args.key?(:duplicate) - end - end - - # Information about the location that this location duplicates. - class Duplicate - include Google::Apis::Core::Hashable - - # The resource name of the location that this duplicates. Only populated - # if the authenticated user has access rights to that location and that - # location is not deleted. - # Corresponds to the JSON property `locationName` - # @return [String] - attr_accessor :location_name - - # Indicates the ownership status between this location and the location - # that it duplicates. - # Corresponds to the JSON property `ownership` - # @return [String] - attr_accessor :ownership - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @location_name = args[:location_name] if args.key?(:location_name) - @ownership = args[:ownership] if args.key?(:ownership) - end - end - - # - class BatchGetLocationsRequest - include Google::Apis::Core::Hashable - - # A collection of locations to fetch, specified by their names. - # Corresponds to the JSON property `locationNames` - # @return [Array] - attr_accessor :location_names - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @location_names = args[:location_names] if args.key?(:location_names) - end - end - - # - class BatchGetLocationsResponse - include Google::Apis::Core::Hashable - - # A collection of locations. - # Corresponds to the JSON property `locations` - # @return [Array] - attr_accessor :locations - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @locations = args[:locations] if args.key?(:locations) - end - end - - # Represents a location that was modified by Google. - class GoogleUpdatedLocation - include Google::Apis::Core::Hashable - - # A location. - # See the [help center article] - # (https://support.google.com/business/answer/3038177) for a detailed - # description of these fields, or the [category - # list](/my-business/content/categories] for a list of valid business - # categories. - # Corresponds to the JSON property `location` - # @return [Google::Apis::MybusinessV3::Location] - attr_accessor :location - - # The fields that Google updated. - # Corresponds to the JSON property `diffMask` - # @return [String] - attr_accessor :diff_mask - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @location = args[:location] if args.key?(:location) - @diff_mask = args[:diff_mask] if args.key?(:diff_mask) - end - end - - # - class ListLocationAdminsResponse - include Google::Apis::Core::Hashable - - # A collection of Admin instances. - # Corresponds to the JSON property `admins` - # @return [Array] - attr_accessor :admins - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @admins = args[:admins] if args.key?(:admins) - end - end - - # Request message for MyBusiness.FindMatchingLocations. - class FindMatchingLocationsRequest - include Google::Apis::Core::Hashable - - # The preferred language for the matching location. - # Corresponds to the JSON property `languageCode` - # @return [String] - attr_accessor :language_code - - # The number of matches to return. The default value is 3, with a maximum - # of 10. Note that latency may increase if more are requested. There is no - # pagination. This field is only respected if the cache needs to be updated. - # Corresponds to the JSON property `numResults` - # @return [Fixnum] - attr_accessor :num_results - - # Indicates the duration of acceptable cache-age. If omitted, will always - # return the cached data (if available). If the cache is older than the - # provided duration, or if a cached value is not available, results will be - # re-calculated and re-cached. - # Corresponds to the JSON property `maxCacheDuration` - # @return [String] - attr_accessor :max_cache_duration - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @language_code = args[:language_code] if args.key?(:language_code) - @num_results = args[:num_results] if args.key?(:num_results) - @max_cache_duration = args[:max_cache_duration] if args.key?(:max_cache_duration) - end - end - - # Response message for MyBusiness.FindMatchingLocations - class FindMatchingLocationsResponse - include Google::Apis::Core::Hashable - - # A collection of locations that are potential matches to the specified - # location, listed in order from best to least match. If there is an exact - # match, it will be in the first position. - # Corresponds to the JSON property `matchedLocations` - # @return [Array] - attr_accessor :matched_locations - - # When the matching algorithm was last executed for this location. - # Corresponds to the JSON property `matchTime` - # @return [String] - attr_accessor :match_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @matched_locations = args[:matched_locations] if args.key?(:matched_locations) - @match_time = args[:match_time] if args.key?(:match_time) - end - end - - # Represents a possible match to a location. - class MatchedLocation - include Google::Apis::Core::Hashable - - # A location. - # See the [help center article] - # (https://support.google.com/business/answer/3038177) for a detailed - # description of these fields, or the [category - # list](/my-business/content/categories] for a list of valid business - # categories. - # Corresponds to the JSON property `location` - # @return [Google::Apis::MybusinessV3::Location] - attr_accessor :location - - # Is this an exact match? - # Corresponds to the JSON property `isExactMatch` - # @return [Boolean] - attr_accessor :is_exact_match - alias_method :is_exact_match?, :is_exact_match - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @location = args[:location] if args.key?(:location) - @is_exact_match = args[:is_exact_match] if args.key?(:is_exact_match) - end - end - - # Request message for MyBusiness.AssociateLocationRequest to associate a - # location to a place or indicate no match. - class AssociateLocationRequest - include Google::Apis::Core::Hashable - - # The association to establish. If not set, it indicates no match. - # Corresponds to the JSON property `placeId` - # @return [String] - attr_accessor :place_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @place_id = args[:place_id] if args.key?(:place_id) - end - end - - # Request message for MyBusiness.ClearLocationAssociationRequest to clear - # the association between a location to its place ID. - class ClearLocationAssociationRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Request message for MyBusiness.TransferLocation to transfer a location from - # its current account to another. - class TransferLocationRequest - include Google::Apis::Core::Hashable - - # Name of the account resource to transfer the location to (e.g. - # "accounts/8675309") - # Corresponds to the JSON property `toAccount` - # @return [String] - attr_accessor :to_account - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @to_account = args[:to_account] if args.key?(:to_account) - end - end - - # Response message for MyBusiness.ListReviews. - class ListReviewsResponse - include Google::Apis::Core::Hashable - - # The reviews. - # Corresponds to the JSON property `reviews` - # @return [Array] - attr_accessor :reviews - - # The average star rating of all reviews for this location - # on a scale of 1 to 5. - # Corresponds to the JSON property `averageRating` + # 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 + # [-90.0, 90.0] and [-180.0, 180.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::MybusinessV3::LatLng] + attr_accessor :latlng + + # The distance in kilometers of the area around the point. + # Corresponds to the JSON property `radiusKm` # @return [Float] - attr_accessor :average_rating - - # The total number of reviews for this location. - # Corresponds to the JSON property `totalReviewCount` - # @return [Fixnum] - attr_accessor :total_review_count - - # If the number of reviews exceeded the requested page size, this field - # is populated with a token to fetch the next page of reviews on a - # subsequent call to ListReviews. If there are no more reviews, this - # field is not be present in the response. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token + attr_accessor :radius_km def initialize(**args) update!(**args) @@ -1639,10 +1544,8 @@ module Google # Update properties of this object def update!(**args) - @reviews = args[:reviews] if args.key?(:reviews) - @average_rating = args[:average_rating] if args.key?(:average_rating) - @total_review_count = args[:total_review_count] if args.key?(:total_review_count) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @latlng = args[:latlng] if args.key?(:latlng) + @radius_km = args[:radius_km] if args.key?(:radius_km) end end @@ -1651,21 +1554,6 @@ module Google class Review include Google::Apis::Core::Hashable - # The encrypted unique identifier. - # Corresponds to the JSON property `reviewId` - # @return [String] - attr_accessor :review_id - - # Represents the author of reviews. - # Corresponds to the JSON property `reviewer` - # @return [Google::Apis::MybusinessV3::Reviewer] - attr_accessor :reviewer - - # Star rating of the review. - # Corresponds to the JSON property `starRating` - # @return [String] - attr_accessor :star_rating - # The body of the review as plain text with markups. # Corresponds to the JSON property `comment` # @return [String] @@ -1676,56 +1564,44 @@ module Google # @return [String] attr_accessor :create_time - # The timestamp for when the review was last modified. - # Corresponds to the JSON property `updateTime` + # The encrypted unique identifier. + # Corresponds to the JSON property `reviewId` # @return [String] - attr_accessor :update_time + attr_accessor :review_id # Represents the location owner/manager's reply to a review # Corresponds to the JSON property `reviewReply` # @return [Google::Apis::MybusinessV3::ReviewReply] attr_accessor :review_reply + # Represents the author of reviews. + # Corresponds to the JSON property `reviewer` + # @return [Google::Apis::MybusinessV3::Reviewer] + attr_accessor :reviewer + + # Star rating of the review. + # Corresponds to the JSON property `starRating` + # @return [String] + attr_accessor :star_rating + + # The timestamp for when the review was last modified. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @review_id = args[:review_id] if args.key?(:review_id) - @reviewer = args[:reviewer] if args.key?(:reviewer) - @star_rating = args[:star_rating] if args.key?(:star_rating) @comment = args[:comment] if args.key?(:comment) @create_time = args[:create_time] if args.key?(:create_time) - @update_time = args[:update_time] if args.key?(:update_time) + @review_id = args[:review_id] if args.key?(:review_id) @review_reply = args[:review_reply] if args.key?(:review_reply) - end - end - - # Represents the author of reviews. - class Reviewer - include Google::Apis::Core::Hashable - - # The name of the reviewer. - # Only populated with the reviewer's real name if is_anonymous is false. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Indicates whether the reviewer has opted to remain anonymous. - # Corresponds to the JSON property `isAnonymous` - # @return [Boolean] - attr_accessor :is_anonymous - alias_method :is_anonymous?, :is_anonymous - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @display_name = args[:display_name] if args.key?(:display_name) - @is_anonymous = args[:is_anonymous] if args.key?(:is_anonymous) + @reviewer = args[:reviewer] if args.key?(:reviewer) + @star_rating = args[:star_rating] if args.key?(:star_rating) + @update_time = args[:update_time] if args.key?(:update_time) end end @@ -1756,68 +1632,21 @@ module Google end end - # - class ListLocationAttributeMetadataResponse + # Represents the author of reviews. + class Reviewer include Google::Apis::Core::Hashable - # A collection of attribute metadata for the available attributes. - # Corresponds to the JSON property `attributes` - # @return [Array] - attr_accessor :attributes - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @attributes = args[:attributes] if args.key?(:attributes) - end - end - - # Metadata for an attribute. Contains display information for the attribute, - # including a localised name and a heading for grouping related attributes - # together. - class AttributeMetadata - include Google::Apis::Core::Hashable - - # The id of the attribute. - # Corresponds to the JSON property `attributeId` - # @return [String] - attr_accessor :attribute_id - - # The value type for the attribute. Values set and retrieved should be - # expected to be of this type. - # Corresponds to the JSON property `valueType` - # @return [String] - attr_accessor :value_type - - # The localised display name for the attribute, if available, otherwise - # the English display name. + # The name of the reviewer. + # Only populated with the reviewer's real name if is_anonymous is false. # Corresponds to the JSON property `displayName` # @return [String] attr_accessor :display_name - # The localised display name of the group that contains this attribute, if - # available, otherwise the English group name. Related attributes are - # collected into group and should be displayed together under the heading - # given here. - # Corresponds to the JSON property `groupDisplayName` - # @return [String] - attr_accessor :group_display_name - - # If true, the attribute supports multiple values. If false only a single - # value should be provided. - # Corresponds to the JSON property `isRepeatable` + # Indicates whether the reviewer has opted to remain anonymous. + # Corresponds to the JSON property `isAnonymous` # @return [Boolean] - attr_accessor :is_repeatable - alias_method :is_repeatable?, :is_repeatable - - # For some types of attributes (e.g. enums) a list of supported values and - # corresponding display names for those values is provided. - # Corresponds to the JSON property `valueMetadata` - # @return [Array] - attr_accessor :value_metadata + attr_accessor :is_anonymous + alias_method :is_anonymous?, :is_anonymous def initialize(**args) update!(**args) @@ -1825,29 +1654,31 @@ module Google # Update properties of this object def update!(**args) - @attribute_id = args[:attribute_id] if args.key?(:attribute_id) - @value_type = args[:value_type] if args.key?(:value_type) @display_name = args[:display_name] if args.key?(:display_name) - @group_display_name = args[:group_display_name] if args.key?(:group_display_name) - @is_repeatable = args[:is_repeatable] if args.key?(:is_repeatable) - @value_metadata = args[:value_metadata] if args.key?(:value_metadata) + @is_anonymous = args[:is_anonymous] if args.key?(:is_anonymous) end end - # Metadata for supported attribute values - class AttributeValueMetadata + # Service area businesses provide their service at the customer's location (for + # example a locksmith or plumber). + class ServiceAreaBusiness include Google::Apis::Core::Hashable - # The attribute value - # Corresponds to the JSON property `value` - # @return [Object] - attr_accessor :value - - # The display name for this value, localised where available otherwise in - # English. - # Corresponds to the JSON property `displayName` + # Indicates the type of the service area + # business. + # Corresponds to the JSON property `businessType` # @return [String] - attr_accessor :display_name + attr_accessor :business_type + + # Defines the union of areas represented by a set of places. + # Corresponds to the JSON property `places` + # @return [Google::Apis::MybusinessV3::Places] + attr_accessor :places + + # A radius around a particular point (latitude/longitude). + # Corresponds to the JSON property `radius` + # @return [Google::Apis::MybusinessV3::PointRadius] + attr_accessor :radius def initialize(**args) update!(**args) @@ -1855,8 +1686,177 @@ module Google # Update properties of this object def update!(**args) - @value = args[:value] if args.key?(:value) - @display_name = args[:display_name] if args.key?(:display_name) + @business_type = args[:business_type] if args.key?(:business_type) + @places = args[:places] if args.key?(:places) + @radius = args[:radius] if args.key?(:radius) + end + end + + # Represents a single time period when a location's operational hours differ + # from its normal business hours. + # A special hour period must represent a range of less than 24 hours. + # The `open_time` and `start_date` must predate the `close_time` and `end_date`. + # The `close_time` and `end_date` can extend to 11:59 a.m. on the day after + # the specified `start_date`. + # For example, the following inputs are valid: + # start_date=2015-11-23, open_time=08:00, close_time=18:00 + # start_date=2015-11-23, end_date=2015-11-23, open_time=08:00, close_time=18: + # 00 + # start_date=2015-11-23, end_date=2015-11-24, open_time=13:00, close_time=11: + # 59 + # The following inputs are NOT valid: + # start_date=2015-11-23, open_time=13:00, close_time=11:59 + # start_date=2015-11-23, end_date=2015-11-24, open_time=13:00, close_time=12: + # 00 + # start_date=2015-11-23, end_date=2015-11-25, open_time=08:00, close_time=18: + # 00 + class SpecialHourPeriod + include Google::Apis::Core::Hashable + + # The wall time on end_date when a location closes, expressed in + # 24hr ISO 8601 extended format. (hh:mm) Valid values are 00:00-24:00, + # where 24:00 represents midnight at the end of the specified day field. + # Must be specified if is_closed is false. + # Corresponds to the JSON property `closeTime` + # @return [String] + attr_accessor :close_time + + # Represents a whole calendar date, e.g. 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. The day may be 0 to + # represent a year and month where the day is not significant, e.g. credit card + # expiration date. The year may be 0 to represent a month and day independent + # of year, e.g. anniversary date. Related types are google.type.TimeOfDay + # and `google.protobuf.Timestamp`. + # Corresponds to the JSON property `endDate` + # @return [Google::Apis::MybusinessV3::Date] + attr_accessor :end_date + + # If true, end_date, open_time, and close_time are ignored, + # and the date specified in start_date is treated as the location being + # closed for the entire day. + # Corresponds to the JSON property `isClosed` + # @return [Boolean] + attr_accessor :is_closed + alias_method :is_closed?, :is_closed + + # The wall time on `start_date` when a location opens, expressed in + # 24hr ISO 8601 extended format. (hh:mm) Valid values are 00:00-24:00, + # where 24:00 represents midnight at the end of the specified day field. + # Must be specified if `is_closed` is false. + # Corresponds to the JSON property `openTime` + # @return [String] + attr_accessor :open_time + + # Represents a whole calendar date, e.g. 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. The day may be 0 to + # represent a year and month where the day is not significant, e.g. credit card + # expiration date. The year may be 0 to represent a month and day independent + # of year, e.g. anniversary date. Related types are google.type.TimeOfDay + # and `google.protobuf.Timestamp`. + # Corresponds to the JSON property `startDate` + # @return [Google::Apis::MybusinessV3::Date] + attr_accessor :start_date + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @close_time = args[:close_time] if args.key?(:close_time) + @end_date = args[:end_date] if args.key?(:end_date) + @is_closed = args[:is_closed] if args.key?(:is_closed) + @open_time = args[:open_time] if args.key?(:open_time) + @start_date = args[:start_date] if args.key?(:start_date) + end + end + + # Represents a set of time periods when a location's operational hours differ + # from its normal business hours. + class SpecialHours + include Google::Apis::Core::Hashable + + # A list of exceptions to the business's regular hours. + # Corresponds to the JSON property `specialHourPeriods` + # @return [Array] + attr_accessor :special_hour_periods + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @special_hour_periods = args[:special_hour_periods] if args.key?(:special_hour_periods) + end + end + + # Represents a span of time that the business is open, starting on the + # specified open + # day/time and closing on the specified close day/time. + # The closing time must occur after the opening time, for example later in the + # same day, or on a subsequent day. + class TimePeriod + include Google::Apis::Core::Hashable + + # Indicates the day of the week this period ends + # on. + # Corresponds to the JSON property `closeDay` + # @return [String] + attr_accessor :close_day + + # Time in 24hr ISO 8601 extended format (hh:mm). Valid values are + # 00:00-24:00, where 24:00 represents midnight at the end of the specified day + # field. + # Corresponds to the JSON property `closeTime` + # @return [String] + attr_accessor :close_time + + # Indicates the day of the week this period starts + # on. + # Corresponds to the JSON property `openDay` + # @return [String] + attr_accessor :open_day + + # Time in 24hr ISO 8601 extended format (hh:mm). Valid values are 00:00-24:00, + # where 24:00 represents midnight at the end of the specified day field. + # Corresponds to the JSON property `openTime` + # @return [String] + attr_accessor :open_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @close_day = args[:close_day] if args.key?(:close_day) + @close_time = args[:close_time] if args.key?(:close_time) + @open_day = args[:open_day] if args.key?(:open_day) + @open_time = args[:open_time] if args.key?(:open_time) + end + end + + # Request message for MyBusiness.TransferLocation to transfer a location from + # its current account to another. + class TransferLocationRequest + include Google::Apis::Core::Hashable + + # Name of the account resource to transfer the location to (e.g. + # "accounts/8675309") + # Corresponds to the JSON property `toAccount` + # @return [String] + attr_accessor :to_account + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @to_account = args[:to_account] if args.key?(:to_account) end end end diff --git a/generated/google/apis/mybusiness_v3/representations.rb b/generated/google/apis/mybusiness_v3/representations.rb index 7d6f08e72..ae5deef20 100644 --- a/generated/google/apis/mybusiness_v3/representations.rb +++ b/generated/google/apis/mybusiness_v3/representations.rb @@ -22,12 +22,6 @@ module Google module Apis module MybusinessV3 - class ListAccountsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Account class Representation < Google::Apis::Core::JsonRepresentation; end @@ -40,31 +34,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ListAccountAdminsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Admin - 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 ListLocationsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Location + class AdWordsLocationExtensions class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -76,157 +46,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Category - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BusinessHours - 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 SpecialHours - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SpecialHourPeriod - 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 ServiceAreaBusiness - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PointRadius - 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 Places - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PlaceInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LocationKey - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AdWordsLocationExtensions - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Photos - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class OpenInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LocationState - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Attribute - 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 Duplicate - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BatchGetLocationsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BatchGetLocationsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleUpdatedLocation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListLocationAdminsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FindMatchingLocationsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FindMatchingLocationsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MatchedLocation + class Admin class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -238,43 +58,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ClearLocationAssociationRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TransferLocationRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListReviewsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Review - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Reviewer - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReviewReply - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListLocationAttributeMetadataResponse + class Attribute class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -292,24 +76,231 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ListAccountsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :accounts, as: 'accounts', class: Google::Apis::MybusinessV3::Account, decorator: Google::Apis::MybusinessV3::Account::Representation + class BatchGetLocationsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end - property :next_page_token, as: 'nextPageToken' - end + include Google::Apis::Core::JsonObjectSupport + end + + class BatchGetLocationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BusinessHours + 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 ClearLocationAssociationRequest + 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 Duplicate + 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 FindMatchingLocationsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FindMatchingLocationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleUpdatedLocation + 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 ListAccountAdminsResponse + 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 ListLocationAdminsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListLocationAttributeMetadataResponse + 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 ListReviewsResponse + 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 LocationKey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LocationState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MatchedLocation + 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 OpenInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Photos + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PlaceInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Places + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PointRadius + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Review + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReviewReply + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Reviewer + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ServiceAreaBusiness + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SpecialHourPeriod + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SpecialHours + 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 TransferLocationRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Account # @private class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' property :account_name, as: 'accountName' - property :type, as: 'type' + property :name, as: 'name' property :role, as: 'role' property :state, as: 'state', class: Google::Apis::MybusinessV3::AccountState, decorator: Google::Apis::MybusinessV3::AccountState::Representation + property :type, as: 'type' end end @@ -320,201 +311,6 @@ module Google end end - class ListAccountAdminsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :admins, as: 'admins', class: Google::Apis::MybusinessV3::Admin, decorator: Google::Apis::MybusinessV3::Admin::Representation - - end - end - - class Admin - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :admin_name, as: 'adminName' - property :role, as: 'role' - property :pending_invitation, as: 'pendingInvitation' - end - end - - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class ListLocationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :locations, as: 'locations', class: Google::Apis::MybusinessV3::Location, decorator: Google::Apis::MybusinessV3::Location::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class Location - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :store_code, as: 'storeCode' - property :location_name, as: 'locationName' - property :primary_phone, as: 'primaryPhone' - collection :additional_phones, as: 'additionalPhones' - property :address, as: 'address', class: Google::Apis::MybusinessV3::Address, decorator: Google::Apis::MybusinessV3::Address::Representation - - property :primary_category, as: 'primaryCategory', class: Google::Apis::MybusinessV3::Category, decorator: Google::Apis::MybusinessV3::Category::Representation - - collection :additional_categories, as: 'additionalCategories', class: Google::Apis::MybusinessV3::Category, decorator: Google::Apis::MybusinessV3::Category::Representation - - property :website_url, as: 'websiteUrl' - property :regular_hours, as: 'regularHours', class: Google::Apis::MybusinessV3::BusinessHours, decorator: Google::Apis::MybusinessV3::BusinessHours::Representation - - property :special_hours, as: 'specialHours', class: Google::Apis::MybusinessV3::SpecialHours, decorator: Google::Apis::MybusinessV3::SpecialHours::Representation - - property :service_area, as: 'serviceArea', class: Google::Apis::MybusinessV3::ServiceAreaBusiness, decorator: Google::Apis::MybusinessV3::ServiceAreaBusiness::Representation - - property :location_key, as: 'locationKey', class: Google::Apis::MybusinessV3::LocationKey, decorator: Google::Apis::MybusinessV3::LocationKey::Representation - - collection :labels, as: 'labels' - property :ad_words_location_extensions, as: 'adWordsLocationExtensions', class: Google::Apis::MybusinessV3::AdWordsLocationExtensions, decorator: Google::Apis::MybusinessV3::AdWordsLocationExtensions::Representation - - property :photos, as: 'photos', class: Google::Apis::MybusinessV3::Photos, decorator: Google::Apis::MybusinessV3::Photos::Representation - - property :latlng, as: 'latlng', class: Google::Apis::MybusinessV3::LatLng, decorator: Google::Apis::MybusinessV3::LatLng::Representation - - property :open_info, as: 'openInfo', class: Google::Apis::MybusinessV3::OpenInfo, decorator: Google::Apis::MybusinessV3::OpenInfo::Representation - - property :location_state, as: 'locationState', class: Google::Apis::MybusinessV3::LocationState, decorator: Google::Apis::MybusinessV3::LocationState::Representation - - collection :attributes, as: 'attributes', class: Google::Apis::MybusinessV3::Attribute, decorator: Google::Apis::MybusinessV3::Attribute::Representation - - property :metadata, as: 'metadata', class: Google::Apis::MybusinessV3::Metadata, decorator: Google::Apis::MybusinessV3::Metadata::Representation - - end - end - - class Address - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :address_lines, as: 'addressLines' - property :sub_locality, as: 'subLocality' - property :locality, as: 'locality' - property :administrative_area, as: 'administrativeArea' - property :country, as: 'country' - property :postal_code, as: 'postalCode' - end - end - - class Category - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :category_id, as: 'categoryId' - end - end - - class BusinessHours - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :periods, as: 'periods', class: Google::Apis::MybusinessV3::TimePeriod, decorator: Google::Apis::MybusinessV3::TimePeriod::Representation - - end - end - - class TimePeriod - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :open_day, as: 'openDay' - property :open_time, as: 'openTime' - property :close_day, as: 'closeDay' - property :close_time, as: 'closeTime' - end - end - - class SpecialHours - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :special_hour_periods, as: 'specialHourPeriods', class: Google::Apis::MybusinessV3::SpecialHourPeriod, decorator: Google::Apis::MybusinessV3::SpecialHourPeriod::Representation - - end - end - - class SpecialHourPeriod - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :start_date, as: 'startDate', class: Google::Apis::MybusinessV3::Date, decorator: Google::Apis::MybusinessV3::Date::Representation - - property :open_time, as: 'openTime' - property :end_date, as: 'endDate', class: Google::Apis::MybusinessV3::Date, decorator: Google::Apis::MybusinessV3::Date::Representation - - property :close_time, as: 'closeTime' - property :is_closed, as: 'isClosed' - 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 ServiceAreaBusiness - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :business_type, as: 'businessType' - property :radius, as: 'radius', class: Google::Apis::MybusinessV3::PointRadius, decorator: Google::Apis::MybusinessV3::PointRadius::Representation - - property :places, as: 'places', class: Google::Apis::MybusinessV3::Places, decorator: Google::Apis::MybusinessV3::Places::Representation - - end - end - - class PointRadius - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :latlng, as: 'latlng', class: Google::Apis::MybusinessV3::LatLng, decorator: Google::Apis::MybusinessV3::LatLng::Representation - - property :radius_km, as: 'radiusKm' - end - end - - class LatLng - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :latitude, as: 'latitude' - property :longitude, as: 'longitude' - end - end - - class Places - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :place_infos, as: 'placeInfos', class: Google::Apis::MybusinessV3::PlaceInfo, decorator: Google::Apis::MybusinessV3::PlaceInfo::Representation - - end - end - - class PlaceInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :place_id, as: 'placeId' - end - end - - class LocationKey - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :plus_page_id, as: 'plusPageId' - property :place_id, as: 'placeId' - property :explicit_no_place_id, as: 'explicitNoPlaceId' - end - end - class AdWordsLocationExtensions # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -522,43 +318,32 @@ module Google end end - class Photos + class Address # @private class Representation < Google::Apis::Core::JsonRepresentation - property :profile_photo_url, as: 'profilePhotoUrl' - property :cover_photo_url, as: 'coverPhotoUrl' - property :logo_photo_url, as: 'logoPhotoUrl' - collection :exterior_photo_urls, as: 'exteriorPhotoUrls' - collection :interior_photo_urls, as: 'interiorPhotoUrls' - collection :product_photo_urls, as: 'productPhotoUrls' - collection :photos_at_work_urls, as: 'photosAtWorkUrls' - collection :food_and_drink_photo_urls, as: 'foodAndDrinkPhotoUrls' - collection :menu_photo_urls, as: 'menuPhotoUrls' - collection :common_areas_photo_urls, as: 'commonAreasPhotoUrls' - collection :rooms_photo_urls, as: 'roomsPhotoUrls' - collection :team_photo_urls, as: 'teamPhotoUrls' - collection :additional_photo_urls, as: 'additionalPhotoUrls' - property :preferred_photo, as: 'preferredPhoto' + collection :address_lines, as: 'addressLines' + property :administrative_area, as: 'administrativeArea' + property :country, as: 'country' + property :locality, as: 'locality' + property :postal_code, as: 'postalCode' + property :sub_locality, as: 'subLocality' end end - class OpenInfo + class Admin # @private class Representation < Google::Apis::Core::JsonRepresentation - property :status, as: 'status' + property :admin_name, as: 'adminName' + property :name, as: 'name' + property :pending_invitation, as: 'pendingInvitation' + property :role, as: 'role' end end - class LocationState + class AssociateLocationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :is_google_updated, as: 'isGoogleUpdated' - property :is_duplicate, as: 'isDuplicate' - property :is_suspended, as: 'isSuspended' - property :can_update, as: 'canUpdate' - property :can_delete, as: 'canDelete' - property :is_verified, as: 'isVerified' - property :needs_reverification, as: 'needsReverification' + property :place_id, as: 'placeId' end end @@ -571,19 +356,24 @@ module Google end end - class Metadata + class AttributeMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation - property :duplicate, as: 'duplicate', class: Google::Apis::MybusinessV3::Duplicate, decorator: Google::Apis::MybusinessV3::Duplicate::Representation + property :attribute_id, as: 'attributeId' + property :display_name, as: 'displayName' + property :group_display_name, as: 'groupDisplayName' + property :is_repeatable, as: 'isRepeatable' + collection :value_metadata, as: 'valueMetadata', class: Google::Apis::MybusinessV3::AttributeValueMetadata, decorator: Google::Apis::MybusinessV3::AttributeValueMetadata::Representation + property :value_type, as: 'valueType' end end - class Duplicate + class AttributeValueMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation - property :location_name, as: 'locationName' - property :ownership, as: 'ownership' + property :display_name, as: 'displayName' + property :value, as: 'value' end end @@ -602,12 +392,100 @@ module Google end end + class BusinessHours + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :periods, as: 'periods', class: Google::Apis::MybusinessV3::TimePeriod, decorator: Google::Apis::MybusinessV3::TimePeriod::Representation + + end + end + + class Category + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :category_id, as: 'categoryId' + property :name, as: 'name' + end + end + + class ClearLocationAssociationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Date + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :day, as: 'day' + property :month, as: 'month' + property :year, as: 'year' + end + end + + class Duplicate + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :location_name, as: 'locationName' + property :ownership, as: 'ownership' + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class FindMatchingLocationsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :language_code, as: 'languageCode' + property :max_cache_duration, as: 'maxCacheDuration' + property :num_results, as: 'numResults' + end + end + + class FindMatchingLocationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :match_time, as: 'matchTime' + collection :matched_locations, as: 'matchedLocations', class: Google::Apis::MybusinessV3::MatchedLocation, decorator: Google::Apis::MybusinessV3::MatchedLocation::Representation + + end + end + class GoogleUpdatedLocation # @private class Representation < Google::Apis::Core::JsonRepresentation + property :diff_mask, as: 'diffMask' property :location, as: 'location', class: Google::Apis::MybusinessV3::Location, decorator: Google::Apis::MybusinessV3::Location::Representation - property :diff_mask, as: 'diffMask' + end + end + + class LatLng + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :latitude, as: 'latitude' + property :longitude, as: 'longitude' + end + end + + class ListAccountAdminsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :admins, as: 'admins', class: Google::Apis::MybusinessV3::Admin, decorator: Google::Apis::MybusinessV3::Admin::Representation + + end + end + + class ListAccountsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :accounts, as: 'accounts', class: Google::Apis::MybusinessV3::Account, decorator: Google::Apis::MybusinessV3::Account::Representation + + property :next_page_token, as: 'nextPageToken' end end @@ -619,84 +497,178 @@ module Google end end - class FindMatchingLocationsRequest + class ListLocationAttributeMetadataResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :language_code, as: 'languageCode' - property :num_results, as: 'numResults' - property :max_cache_duration, as: 'maxCacheDuration' + collection :attributes, as: 'attributes', class: Google::Apis::MybusinessV3::AttributeMetadata, decorator: Google::Apis::MybusinessV3::AttributeMetadata::Representation + end end - class FindMatchingLocationsResponse + class ListLocationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :matched_locations, as: 'matchedLocations', class: Google::Apis::MybusinessV3::MatchedLocation, decorator: Google::Apis::MybusinessV3::MatchedLocation::Representation + collection :locations, as: 'locations', class: Google::Apis::MybusinessV3::Location, decorator: Google::Apis::MybusinessV3::Location::Representation - property :match_time, as: 'matchTime' - end - end - - class MatchedLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :location, as: 'location', class: Google::Apis::MybusinessV3::Location, decorator: Google::Apis::MybusinessV3::Location::Representation - - property :is_exact_match, as: 'isExactMatch' - end - end - - class AssociateLocationRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :place_id, as: 'placeId' - end - end - - class ClearLocationAssociationRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class TransferLocationRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :to_account, as: 'toAccount' + property :next_page_token, as: 'nextPageToken' end end class ListReviewsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :average_rating, as: 'averageRating' + property :next_page_token, as: 'nextPageToken' collection :reviews, as: 'reviews', class: Google::Apis::MybusinessV3::Review, decorator: Google::Apis::MybusinessV3::Review::Representation - property :average_rating, as: 'averageRating' property :total_review_count, as: 'totalReviewCount' - property :next_page_token, as: 'nextPageToken' + end + end + + class Location + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ad_words_location_extensions, as: 'adWordsLocationExtensions', class: Google::Apis::MybusinessV3::AdWordsLocationExtensions, decorator: Google::Apis::MybusinessV3::AdWordsLocationExtensions::Representation + + collection :additional_categories, as: 'additionalCategories', class: Google::Apis::MybusinessV3::Category, decorator: Google::Apis::MybusinessV3::Category::Representation + + collection :additional_phones, as: 'additionalPhones' + property :address, as: 'address', class: Google::Apis::MybusinessV3::Address, decorator: Google::Apis::MybusinessV3::Address::Representation + + collection :attributes, as: 'attributes', class: Google::Apis::MybusinessV3::Attribute, decorator: Google::Apis::MybusinessV3::Attribute::Representation + + collection :labels, as: 'labels' + property :latlng, as: 'latlng', class: Google::Apis::MybusinessV3::LatLng, decorator: Google::Apis::MybusinessV3::LatLng::Representation + + property :location_key, as: 'locationKey', class: Google::Apis::MybusinessV3::LocationKey, decorator: Google::Apis::MybusinessV3::LocationKey::Representation + + property :location_name, as: 'locationName' + property :location_state, as: 'locationState', class: Google::Apis::MybusinessV3::LocationState, decorator: Google::Apis::MybusinessV3::LocationState::Representation + + property :metadata, as: 'metadata', class: Google::Apis::MybusinessV3::Metadata, decorator: Google::Apis::MybusinessV3::Metadata::Representation + + property :name, as: 'name' + property :open_info, as: 'openInfo', class: Google::Apis::MybusinessV3::OpenInfo, decorator: Google::Apis::MybusinessV3::OpenInfo::Representation + + property :photos, as: 'photos', class: Google::Apis::MybusinessV3::Photos, decorator: Google::Apis::MybusinessV3::Photos::Representation + + property :primary_category, as: 'primaryCategory', class: Google::Apis::MybusinessV3::Category, decorator: Google::Apis::MybusinessV3::Category::Representation + + property :primary_phone, as: 'primaryPhone' + property :regular_hours, as: 'regularHours', class: Google::Apis::MybusinessV3::BusinessHours, decorator: Google::Apis::MybusinessV3::BusinessHours::Representation + + property :service_area, as: 'serviceArea', class: Google::Apis::MybusinessV3::ServiceAreaBusiness, decorator: Google::Apis::MybusinessV3::ServiceAreaBusiness::Representation + + property :special_hours, as: 'specialHours', class: Google::Apis::MybusinessV3::SpecialHours, decorator: Google::Apis::MybusinessV3::SpecialHours::Representation + + property :store_code, as: 'storeCode' + property :website_url, as: 'websiteUrl' + end + end + + class LocationKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :explicit_no_place_id, as: 'explicitNoPlaceId' + property :place_id, as: 'placeId' + property :plus_page_id, as: 'plusPageId' + end + end + + class LocationState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :can_delete, as: 'canDelete' + property :can_update, as: 'canUpdate' + property :is_duplicate, as: 'isDuplicate' + property :is_google_updated, as: 'isGoogleUpdated' + property :is_suspended, as: 'isSuspended' + property :is_verified, as: 'isVerified' + property :needs_reverification, as: 'needsReverification' + end + end + + class MatchedLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :is_exact_match, as: 'isExactMatch' + property :location, as: 'location', class: Google::Apis::MybusinessV3::Location, decorator: Google::Apis::MybusinessV3::Location::Representation + + end + end + + class Metadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :duplicate, as: 'duplicate', class: Google::Apis::MybusinessV3::Duplicate, decorator: Google::Apis::MybusinessV3::Duplicate::Representation + + end + end + + class OpenInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :status, as: 'status' + end + end + + class Photos + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :additional_photo_urls, as: 'additionalPhotoUrls' + collection :common_areas_photo_urls, as: 'commonAreasPhotoUrls' + property :cover_photo_url, as: 'coverPhotoUrl' + collection :exterior_photo_urls, as: 'exteriorPhotoUrls' + collection :food_and_drink_photo_urls, as: 'foodAndDrinkPhotoUrls' + collection :interior_photo_urls, as: 'interiorPhotoUrls' + property :logo_photo_url, as: 'logoPhotoUrl' + collection :menu_photo_urls, as: 'menuPhotoUrls' + collection :photos_at_work_urls, as: 'photosAtWorkUrls' + property :preferred_photo, as: 'preferredPhoto' + collection :product_photo_urls, as: 'productPhotoUrls' + property :profile_photo_url, as: 'profilePhotoUrl' + collection :rooms_photo_urls, as: 'roomsPhotoUrls' + collection :team_photo_urls, as: 'teamPhotoUrls' + end + end + + class PlaceInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :place_id, as: 'placeId' + end + end + + class Places + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :place_infos, as: 'placeInfos', class: Google::Apis::MybusinessV3::PlaceInfo, decorator: Google::Apis::MybusinessV3::PlaceInfo::Representation + + end + end + + class PointRadius + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :latlng, as: 'latlng', class: Google::Apis::MybusinessV3::LatLng, decorator: Google::Apis::MybusinessV3::LatLng::Representation + + property :radius_km, as: 'radiusKm' end end class Review # @private class Representation < Google::Apis::Core::JsonRepresentation + property :comment, as: 'comment' + property :create_time, as: 'createTime' property :review_id, as: 'reviewId' + property :review_reply, as: 'reviewReply', class: Google::Apis::MybusinessV3::ReviewReply, decorator: Google::Apis::MybusinessV3::ReviewReply::Representation + property :reviewer, as: 'reviewer', class: Google::Apis::MybusinessV3::Reviewer, decorator: Google::Apis::MybusinessV3::Reviewer::Representation property :star_rating, as: 'starRating' - property :comment, as: 'comment' - property :create_time, as: 'createTime' property :update_time, as: 'updateTime' - property :review_reply, as: 'reviewReply', class: Google::Apis::MybusinessV3::ReviewReply, decorator: Google::Apis::MybusinessV3::ReviewReply::Representation - - end - end - - class Reviewer - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :display_name, as: 'displayName' - property :is_anonymous, as: 'isAnonymous' end end @@ -708,32 +680,60 @@ module Google end end - class ListLocationAttributeMetadataResponse + class Reviewer # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :attributes, as: 'attributes', class: Google::Apis::MybusinessV3::AttributeMetadata, decorator: Google::Apis::MybusinessV3::AttributeMetadata::Representation + property :display_name, as: 'displayName' + property :is_anonymous, as: 'isAnonymous' + end + end + + class ServiceAreaBusiness + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :business_type, as: 'businessType' + property :places, as: 'places', class: Google::Apis::MybusinessV3::Places, decorator: Google::Apis::MybusinessV3::Places::Representation + + property :radius, as: 'radius', class: Google::Apis::MybusinessV3::PointRadius, decorator: Google::Apis::MybusinessV3::PointRadius::Representation end end - class AttributeMetadata + class SpecialHourPeriod # @private class Representation < Google::Apis::Core::JsonRepresentation - property :attribute_id, as: 'attributeId' - property :value_type, as: 'valueType' - property :display_name, as: 'displayName' - property :group_display_name, as: 'groupDisplayName' - property :is_repeatable, as: 'isRepeatable' - collection :value_metadata, as: 'valueMetadata', class: Google::Apis::MybusinessV3::AttributeValueMetadata, decorator: Google::Apis::MybusinessV3::AttributeValueMetadata::Representation + property :close_time, as: 'closeTime' + property :end_date, as: 'endDate', class: Google::Apis::MybusinessV3::Date, decorator: Google::Apis::MybusinessV3::Date::Representation + + property :is_closed, as: 'isClosed' + property :open_time, as: 'openTime' + property :start_date, as: 'startDate', class: Google::Apis::MybusinessV3::Date, decorator: Google::Apis::MybusinessV3::Date::Representation end end - class AttributeValueMetadata + class SpecialHours # @private class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :display_name, as: 'displayName' + collection :special_hour_periods, as: 'specialHourPeriods', class: Google::Apis::MybusinessV3::SpecialHourPeriod, decorator: Google::Apis::MybusinessV3::SpecialHourPeriod::Representation + + end + end + + class TimePeriod + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :close_day, as: 'closeDay' + property :close_time, as: 'closeTime' + property :open_day, as: 'openDay' + property :open_time, as: 'openTime' + end + end + + class TransferLocationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :to_account, as: 'toAccount' end end end diff --git a/generated/google/apis/mybusiness_v3/service.rb b/generated/google/apis/mybusiness_v3/service.rb index 121640de5..7cb636ee3 100644 --- a/generated/google/apis/mybusiness_v3/service.rb +++ b/generated/google/apis/mybusiness_v3/service.rb @@ -48,6 +48,37 @@ module Google @batch_path = 'batch' end + # Gets the specified account. Returns `NOT_FOUND` if the + # account does not exist or if the caller does not have access rights to it. + # @param [String] name + # The name of the account to fetch. + # @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::MybusinessV3::Account] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MybusinessV3::Account] + # + # @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(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+name}', options) + command.response_representation = Google::Apis::MybusinessV3::Account::Representation + command.response_class = Google::Apis::MybusinessV3::Account + 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 all of the accounts for the authenticated user. This includes all # accounts that the user owns, as well as any accounts for which the user # has management rights. @@ -86,37 +117,6 @@ module Google execute_or_queue_command(command, &block) end - # Gets the specified account. Returns `NOT_FOUND` if the - # account does not exist or if the caller does not have access rights to it. - # @param [String] name - # The name of the account to fetch. - # @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::MybusinessV3::Account] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MybusinessV3::Account] - # - # @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(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v3/{+name}', options) - command.response_representation = Google::Apis::MybusinessV3::Account::Representation - command.response_class = Google::Apis::MybusinessV3::Account - 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 - # Updates the specified business account. Personal accounts cannot be # updated using this method. # Note: At this time the only editable field for an account is @@ -161,36 +161,6 @@ module Google execute_or_queue_command(command, &block) end - # Lists the admins for the specified account. - # @param [String] name - # The name of the account from which to retrieve a list of admins. - # @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::MybusinessV3::ListAccountAdminsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MybusinessV3::ListAccountAdminsResponse] - # - # @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_admins(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v3/{+name}/admins', options) - command.response_representation = Google::Apis::MybusinessV3::ListAccountAdminsResponse::Representation - command.response_class = Google::Apis::MybusinessV3::ListAccountAdminsResponse - 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 - # Invites the specified user to become an administrator on the specified # account. The invitee must accept the invitation in order to be granted # access to the account. @@ -259,25 +229,9 @@ module Google execute_or_queue_command(command, &block) end - # Lists the locations for the specified account. + # Lists the admins for the specified account. # @param [String] name - # The name of the account to fetch locations from. - # @param [Fixnum] page_size - # How many locations to fetch per page. Default is 100, - # minimum is 1, and maximum page size is 100. - # @param [String] page_token - # If specified, it fetches the next `page` of locations. The page token - # is returned by previous calls to ListLocations when there were more - # locations than could fit in the requested page size. - # @param [String] filter - # A filter constraining the locations to return. The response includes - # only entries that match the filter. If `filter` is empty, then - # constraints are applied and all locations (paginated) are retrieved for - # the requested account. - # Further information on valid filter fields and example usage is available - # [here](https://developers.google.com/my-business/content/location-data# - # filter_results_when_listing_locations) - # . + # The name of the account from which to retrieve a list of admins. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -287,31 +241,31 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MybusinessV3::ListLocationsResponse] parsed result object + # @yieldparam result [Google::Apis::MybusinessV3::ListAccountAdminsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::MybusinessV3::ListLocationsResponse] + # @return [Google::Apis::MybusinessV3::ListAccountAdminsResponse] # # @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_locations(name, page_size: nil, page_token: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v3/{+name}/locations', options) - command.response_representation = Google::Apis::MybusinessV3::ListLocationsResponse::Representation - command.response_class = Google::Apis::MybusinessV3::ListLocationsResponse + def list_account_admins(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+name}/admins', options) + command.response_representation = Google::Apis::MybusinessV3::ListAccountAdminsResponse::Representation + command.response_class = Google::Apis::MybusinessV3::ListAccountAdminsResponse command.params['name'] = name unless name.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['filter'] = filter unless filter.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 specified location. Returns `NOT_FOUND` if the - # location does not exist. + # Associates a location to a place ID. Any previous association is + # overwritten. This operation is only valid if the location is unverified. + # The association must be valid, i.e. appear in the list of + # FindMatchingLocations. # @param [String] name - # The name of the location to fetch. + # The resource name of the location to associate. + # @param [Google::Apis::MybusinessV3::AssociateLocationRequest] associate_location_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -321,18 +275,20 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MybusinessV3::Location] parsed result object + # @yieldparam result [Google::Apis::MybusinessV3::Empty] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::MybusinessV3::Location] + # @return [Google::Apis::MybusinessV3::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 get_account_location(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v3/{+name}', options) - command.response_representation = Google::Apis::MybusinessV3::Location::Representation - command.response_class = Google::Apis::MybusinessV3::Location + def associate_location(name, associate_location_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3/{+name}:associate', options) + command.request_representation = Google::Apis::MybusinessV3::AssociateLocationRequest::Representation + command.request_object = associate_location_request_object + command.response_representation = Google::Apis::MybusinessV3::Empty::Representation + command.response_class = Google::Apis::MybusinessV3::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -372,10 +328,11 @@ module Google execute_or_queue_command(command, &block) end - # Gets the Google updated version of the specified location. - # Returns `NOT_FOUND` if the location does not exist. + # Clears an assocation between a location and its place ID. This + # operation is only valid if the location is unverified. # @param [String] name - # The name of the location to fetch. + # The resource name of the location to disassociate. + # @param [Google::Apis::MybusinessV3::ClearLocationAssociationRequest] clear_location_association_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -385,18 +342,20 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MybusinessV3::GoogleUpdatedLocation] parsed result object + # @yieldparam result [Google::Apis::MybusinessV3::Empty] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::MybusinessV3::GoogleUpdatedLocation] + # @return [Google::Apis::MybusinessV3::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 get_google_updated_account_location(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v3/{+name}:googleUpdated', options) - command.response_representation = Google::Apis::MybusinessV3::GoogleUpdatedLocation::Representation - command.response_class = Google::Apis::MybusinessV3::GoogleUpdatedLocation + def clear_account_location_association(name, clear_location_association_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3/{+name}:clearAssociation', options) + command.request_representation = Google::Apis::MybusinessV3::ClearLocationAssociationRequest::Representation + command.request_object = clear_location_association_request_object + command.response_representation = Google::Apis::MybusinessV3::Empty::Representation + command.response_class = Google::Apis::MybusinessV3::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -411,11 +370,11 @@ module Google # @param [String] language_code # The language of the location update. Currently this is used to disambiguate # what localized categories are valid for this create request. - # @param [Boolean] validate_only - # If true, the request is validated without actually creating the location. # @param [String] request_id # A unique request ID for the server to detect duplicated requests. UUIDs are # recommended. Max length is 50 characters. + # @param [Boolean] validate_only + # If true, the request is validated without actually creating the location. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -433,7 +392,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 create_account_location(name, location_object = nil, language_code: nil, validate_only: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) + def create_account_location(name, location_object = nil, language_code: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/{+name}/locations', options) command.request_representation = Google::Apis::MybusinessV3::Location::Representation command.request_object = location_object @@ -441,54 +400,7 @@ module Google command.response_class = Google::Apis::MybusinessV3::Location command.params['name'] = name unless name.nil? command.query['languageCode'] = language_code unless language_code.nil? - command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['requestId'] = request_id unless request_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 - - # Updates the specified location. - # Photos are only allowed on a location that has a Google+ page. - # Returns `NOT_FOUND` if the location does not exist. - # @param [String] name - # The name of the location to update. - # @param [Google::Apis::MybusinessV3::Location] location_object - # @param [String] language_code - # The language of the location update. Currently this is used to disambiguate - # what localized categories are valid for this update request. - # @param [String] field_mask - # The specific fields to update. If no mask is specified, then this is - # treated as a full update and all fields are set to the values passed - # in, which may include unsetting empty fields in the request. - # @param [Boolean] validate_only - # If true, the request is validated without actually updating the location. - # @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::MybusinessV3::Location] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MybusinessV3::Location] - # - # @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_location(name, location_object = nil, language_code: nil, field_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v3/{+name}', options) - command.request_representation = Google::Apis::MybusinessV3::Location::Representation - command.request_object = location_object - command.response_representation = Google::Apis::MybusinessV3::Location::Representation - command.response_class = Google::Apis::MybusinessV3::Location - command.params['name'] = name unless name.nil? - command.query['languageCode'] = language_code unless language_code.nil? - command.query['fieldMask'] = field_mask unless field_mask.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -564,13 +476,10 @@ module Google execute_or_queue_command(command, &block) end - # Associates a location to a place ID. Any previous association is - # overwritten. This operation is only valid if the location is unverified. - # The association must be valid, i.e. appear in the list of - # FindMatchingLocations. + # Gets the specified location. Returns `NOT_FOUND` if the + # location does not exist. # @param [String] name - # The resource name of the location to associate. - # @param [Google::Apis::MybusinessV3::AssociateLocationRequest] associate_location_request_object + # The name of the location to fetch. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -580,31 +489,28 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MybusinessV3::Empty] parsed result object + # @yieldparam result [Google::Apis::MybusinessV3::Location] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::MybusinessV3::Empty] + # @return [Google::Apis::MybusinessV3::Location] # # @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 associate_location(name, associate_location_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v3/{+name}:associate', options) - command.request_representation = Google::Apis::MybusinessV3::AssociateLocationRequest::Representation - command.request_object = associate_location_request_object - command.response_representation = Google::Apis::MybusinessV3::Empty::Representation - command.response_class = Google::Apis::MybusinessV3::Empty + def get_account_location(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+name}', options) + command.response_representation = Google::Apis::MybusinessV3::Location::Representation + command.response_class = Google::Apis::MybusinessV3::Location 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 - # Clears an assocation between a location and its place ID. This - # operation is only valid if the location is unverified. + # Gets the Google updated version of the specified location. + # Returns `NOT_FOUND` if the location does not exist. # @param [String] name - # The resource name of the location to disassociate. - # @param [Google::Apis::MybusinessV3::ClearLocationAssociationRequest] clear_location_association_request_object + # The name of the location to fetch. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -614,26 +520,120 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MybusinessV3::Empty] parsed result object + # @yieldparam result [Google::Apis::MybusinessV3::GoogleUpdatedLocation] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::MybusinessV3::Empty] + # @return [Google::Apis::MybusinessV3::GoogleUpdatedLocation] # # @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 clear_account_location_association(name, clear_location_association_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v3/{+name}:clearAssociation', options) - command.request_representation = Google::Apis::MybusinessV3::ClearLocationAssociationRequest::Representation - command.request_object = clear_location_association_request_object - command.response_representation = Google::Apis::MybusinessV3::Empty::Representation - command.response_class = Google::Apis::MybusinessV3::Empty + def get_google_updated_account_location(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+name}:googleUpdated', options) + command.response_representation = Google::Apis::MybusinessV3::GoogleUpdatedLocation::Representation + command.response_class = Google::Apis::MybusinessV3::GoogleUpdatedLocation 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 the locations for the specified account. + # @param [String] name + # The name of the account to fetch locations from. + # @param [String] filter + # A filter constraining the locations to return. The response includes + # only entries that match the filter. If `filter` is empty, then + # constraints are applied and all locations (paginated) are retrieved for + # the requested account. + # Further information on valid filter fields and example usage is available + # [here](https://developers.google.com/my-business/content/location-data# + # filter_results_when_listing_locations) + # . + # @param [Fixnum] page_size + # How many locations to fetch per page. Default is 100, + # minimum is 1, and maximum page size is 100. + # @param [String] page_token + # If specified, it fetches the next `page` of locations. The page token + # is returned by previous calls to ListLocations when there were more + # locations than could fit in the requested page size. + # @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::MybusinessV3::ListLocationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MybusinessV3::ListLocationsResponse] + # + # @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_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+name}/locations', options) + command.response_representation = Google::Apis::MybusinessV3::ListLocationsResponse::Representation + command.response_class = Google::Apis::MybusinessV3::ListLocationsResponse + 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 + + # Updates the specified location. + # Photos are only allowed on a location that has a Google+ page. + # Returns `NOT_FOUND` if the location does not exist. + # @param [String] name + # The name of the location to update. + # @param [Google::Apis::MybusinessV3::Location] location_object + # @param [String] field_mask + # The specific fields to update. If no mask is specified, then this is + # treated as a full update and all fields are set to the values passed + # in, which may include unsetting empty fields in the request. + # @param [String] language_code + # The language of the location update. Currently this is used to disambiguate + # what localized categories are valid for this update request. + # @param [Boolean] validate_only + # If true, the request is validated without actually updating the location. + # @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::MybusinessV3::Location] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MybusinessV3::Location] + # + # @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_location(name, location_object = nil, field_mask: nil, language_code: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v3/{+name}', options) + command.request_representation = Google::Apis::MybusinessV3::Location::Representation + command.request_object = location_object + command.response_representation = Google::Apis::MybusinessV3::Location::Representation + command.response_class = Google::Apis::MybusinessV3::Location + command.params['name'] = name unless name.nil? + command.query['fieldMask'] = field_mask unless field_mask.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['validateOnly'] = validate_only unless validate_only.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Transfer a location from one account to another. The current account that # the location is associated with and the destination account must have the # same ultimate owner. Returns the Location with its new resource name. @@ -669,36 +669,6 @@ module Google execute_or_queue_command(command, &block) end - # Lists all of the admins for the specified location. - # @param [String] name - # The name of the location to list admins of. - # @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::MybusinessV3::ListLocationAdminsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MybusinessV3::ListLocationAdminsResponse] - # - # @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_location_admins(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v3/{+name}/admins', options) - command.response_representation = Google::Apis::MybusinessV3::ListLocationAdminsResponse::Representation - command.response_class = Google::Apis::MybusinessV3::ListLocationAdminsResponse - 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 - # Invites the specified user to become an administrator on the specified # location. The invitee must accept the invitation in order to be granted # access to the location. @@ -767,19 +737,9 @@ module Google execute_or_queue_command(command, &block) end - # Returns the paginated list of reviews for the specified location. - # This operation is only valid if the specified location is verified. + # Lists all of the admins for the specified location. # @param [String] name - # The name of the location to fetch reviews for. - # @param [Fixnum] page_size - # How many reviews to fetch per page. The maximum page_size is 200. - # @param [String] page_token - # If specified, it fetches the next ‘page’ of reviews. - # @param [String] order_by - # Specifies the field to sort reviews by. - # If unspecified, the order of reviews returned will - # default to "update_timedesc". - # Valid orders to sort by are `rating` and `ratingdesc` and `update_timedesc`. + # The name of the location to list admins of. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -789,22 +749,50 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MybusinessV3::ListReviewsResponse] parsed result object + # @yieldparam result [Google::Apis::MybusinessV3::ListLocationAdminsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::MybusinessV3::ListReviewsResponse] + # @return [Google::Apis::MybusinessV3::ListLocationAdminsResponse] # # @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_reviews(name, page_size: nil, page_token: nil, order_by: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v3/{+name}/reviews', options) - command.response_representation = Google::Apis::MybusinessV3::ListReviewsResponse::Representation - command.response_class = Google::Apis::MybusinessV3::ListReviewsResponse + def list_account_location_admins(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+name}/admins', options) + command.response_representation = Google::Apis::MybusinessV3::ListLocationAdminsResponse::Representation + command.response_class = Google::Apis::MybusinessV3::ListLocationAdminsResponse + 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 the response to the specified review. + # This operation is only valid if the specified location is verified. + # @param [String] name + # The name of the review reply 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MybusinessV3::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MybusinessV3::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_reply(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v3/{+name}/reply', options) + command.response_representation = Google::Apis::MybusinessV3::Empty::Representation + command.response_class = Google::Apis::MybusinessV3::Empty command.params['name'] = name unless name.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['orderBy'] = order_by unless order_by.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -842,6 +830,49 @@ module Google execute_or_queue_command(command, &block) end + # Returns the paginated list of reviews for the specified location. + # This operation is only valid if the specified location is verified. + # @param [String] name + # The name of the location to fetch reviews for. + # @param [String] order_by + # Specifies the field to sort reviews by. + # If unspecified, the order of reviews returned will + # default to "update_timedesc". + # Valid orders to sort by are `rating` and `ratingdesc` and `update_timedesc`. + # @param [Fixnum] page_size + # How many reviews to fetch per page. The maximum page_size is 200. + # @param [String] page_token + # If specified, it fetches the next ‘page’ of reviews. + # @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::MybusinessV3::ListReviewsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MybusinessV3::ListReviewsResponse] + # + # @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_reviews(name, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+name}/reviews', options) + command.response_representation = Google::Apis::MybusinessV3::ListReviewsResponse::Representation + command.response_class = Google::Apis::MybusinessV3::ListReviewsResponse + command.params['name'] = name unless name.nil? + command.query['orderBy'] = order_by unless order_by.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 + # Updates the reply to the specified review. # A reply is created if one does not exist. # This operation is only valid if the specified location is verified. @@ -877,41 +908,8 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the response to the specified review. - # This operation is only valid if the specified location is verified. - # @param [String] name - # The name of the review reply 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MybusinessV3::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MybusinessV3::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_reply(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v3/{+name}/reply', options) - command.response_representation = Google::Apis::MybusinessV3::Empty::Representation - command.response_class = Google::Apis::MybusinessV3::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 - # Returns the list of available attributes that would be available for a # location with the given primary category and country. - # @param [String] name - # Resource name of the location to lookup available attributes. # @param [String] category_id # The primary category stable id to find available attributes. # @param [String] country @@ -919,6 +917,8 @@ module Google # @param [String] language_code # The BCP 47 code of language to get attribute display names in. If this # language is not available, they will be provided in English. + # @param [String] name + # Resource name of the location to lookup available attributes. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -936,14 +936,14 @@ 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_attributes(name: nil, category_id: nil, country: nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_attributes(category_id: nil, country: nil, language_code: nil, name: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/attributes', options) command.response_representation = Google::Apis::MybusinessV3::ListLocationAttributeMetadataResponse::Representation command.response_class = Google::Apis::MybusinessV3::ListLocationAttributeMetadataResponse - command.query['name'] = name unless name.nil? command.query['categoryId'] = category_id unless category_id.nil? command.query['country'] = country unless country.nil? command.query['languageCode'] = language_code unless language_code.nil? + command.query['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) diff --git a/generated/google/apis/oauth2_v2.rb b/generated/google/apis/oauth2_v2.rb index 1fab49d18..071a38f70 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 = '20170509' + REVISION = '20161103' # 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/oslogin_v1alpha.rb b/generated/google/apis/oslogin_v1alpha.rb new file mode 100644 index 000000000..63610025d --- /dev/null +++ b/generated/google/apis/oslogin_v1alpha.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/oslogin_v1alpha/service.rb' +require 'google/apis/oslogin_v1alpha/classes.rb' +require 'google/apis/oslogin_v1alpha/representations.rb' + +module Google + module Apis + # Google Cloud OS Login API + # + # Manages OS login configuration for Directory API users. + # + # @see https://cloud.google.com/compute/docs/oslogin/rest/ + module OsloginV1alpha + VERSION = 'V1alpha' + REVISION = '20170811' + + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + + # View your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' + end + end +end diff --git a/generated/google/apis/oslogin_v1alpha/classes.rb b/generated/google/apis/oslogin_v1alpha/classes.rb new file mode 100644 index 000000000..a932adce8 --- /dev/null +++ b/generated/google/apis/oslogin_v1alpha/classes.rb @@ -0,0 +1,200 @@ +# 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 OsloginV1alpha + + # 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 + + # A response message for importing an SSH public key. + class ImportSshPublicKeyResponse + include Google::Apis::Core::Hashable + + # The Directory API profile information used for logging in to a virtual + # machine on Google Compute Engine. + # Corresponds to the JSON property `loginProfile` + # @return [Google::Apis::OsloginV1alpha::LoginProfile] + attr_accessor :login_profile + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @login_profile = args[:login_profile] if args.key?(:login_profile) + end + end + + # The Directory API profile information used for logging in to a virtual + # machine on Google Compute Engine. + class LoginProfile + include Google::Apis::Core::Hashable + + # A unique user ID for identifying the user. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The list of POSIX accounts associated with the Directory API user. + # Corresponds to the JSON property `posixAccounts` + # @return [Array] + attr_accessor :posix_accounts + + # A map from SSH public key fingerprint to the associated key object. + # Corresponds to the JSON property `sshPublicKeys` + # @return [Hash] + attr_accessor :ssh_public_keys + + # Indicates if the user is suspended. + # Corresponds to the JSON property `suspended` + # @return [Boolean] + attr_accessor :suspended + alias_method :suspended?, :suspended + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @posix_accounts = args[:posix_accounts] if args.key?(:posix_accounts) + @ssh_public_keys = args[:ssh_public_keys] if args.key?(:ssh_public_keys) + @suspended = args[:suspended] if args.key?(:suspended) + end + end + + # The POSIX account information associated with a Directory API User. + class PosixAccount + include Google::Apis::Core::Hashable + + # The GECOS (user information) entry for this account. + # Corresponds to the JSON property `gecos` + # @return [String] + attr_accessor :gecos + + # The default group ID. + # Corresponds to the JSON property `gid` + # @return [Fixnum] + attr_accessor :gid + + # The path to the home directory for this account. + # Corresponds to the JSON property `homeDirectory` + # @return [String] + attr_accessor :home_directory + + # Only one POSIX account can be marked as primary. + # Corresponds to the JSON property `primary` + # @return [Boolean] + attr_accessor :primary + alias_method :primary?, :primary + + # The path to the logic shell for this account. + # Corresponds to the JSON property `shell` + # @return [String] + attr_accessor :shell + + # System identifier for which account the username or uid applies to. + # By default, the empty value is used. + # Corresponds to the JSON property `systemId` + # @return [String] + attr_accessor :system_id + + # The user ID. + # Corresponds to the JSON property `uid` + # @return [Fixnum] + attr_accessor :uid + + # The username of the POSIX account. + # Corresponds to the JSON property `username` + # @return [String] + attr_accessor :username + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @gecos = args[:gecos] if args.key?(:gecos) + @gid = args[:gid] if args.key?(:gid) + @home_directory = args[:home_directory] if args.key?(:home_directory) + @primary = args[:primary] if args.key?(:primary) + @shell = args[:shell] if args.key?(:shell) + @system_id = args[:system_id] if args.key?(:system_id) + @uid = args[:uid] if args.key?(:uid) + @username = args[:username] if args.key?(:username) + end + end + + # The SSH public key information associated with a Directory API User. + class SshPublicKey + include Google::Apis::Core::Hashable + + # An expiration time in microseconds since epoch. + # Corresponds to the JSON property `expirationTimeUsec` + # @return [Fixnum] + attr_accessor :expiration_time_usec + + # [Output Only] The SHA-256 fingerprint of the SSH public key. + # Corresponds to the JSON property `fingerprint` + # @return [String] + attr_accessor :fingerprint + + # Public key text in SSH format, defined by + # RFC4253 + # section 6.6. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @expiration_time_usec = args[:expiration_time_usec] if args.key?(:expiration_time_usec) + @fingerprint = args[:fingerprint] if args.key?(:fingerprint) + @key = args[:key] if args.key?(:key) + end + end + end + end +end diff --git a/generated/google/apis/oslogin_v1alpha/representations.rb b/generated/google/apis/oslogin_v1alpha/representations.rb new file mode 100644 index 000000000..266a26a55 --- /dev/null +++ b/generated/google/apis/oslogin_v1alpha/representations.rb @@ -0,0 +1,105 @@ +# 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 OsloginV1alpha + + class Empty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ImportSshPublicKeyResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LoginProfile + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PosixAccount + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SshPublicKey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class ImportSshPublicKeyResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :login_profile, as: 'loginProfile', class: Google::Apis::OsloginV1alpha::LoginProfile, decorator: Google::Apis::OsloginV1alpha::LoginProfile::Representation + + end + end + + class LoginProfile + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + collection :posix_accounts, as: 'posixAccounts', class: Google::Apis::OsloginV1alpha::PosixAccount, decorator: Google::Apis::OsloginV1alpha::PosixAccount::Representation + + hash :ssh_public_keys, as: 'sshPublicKeys', class: Google::Apis::OsloginV1alpha::SshPublicKey, decorator: Google::Apis::OsloginV1alpha::SshPublicKey::Representation + + property :suspended, as: 'suspended' + end + end + + class PosixAccount + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :gecos, as: 'gecos' + property :gid, as: 'gid' + property :home_directory, as: 'homeDirectory' + property :primary, as: 'primary' + property :shell, as: 'shell' + property :system_id, as: 'systemId' + property :uid, as: 'uid' + property :username, as: 'username' + end + end + + class SshPublicKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :expiration_time_usec, :numeric_string => true, as: 'expirationTimeUsec' + property :fingerprint, as: 'fingerprint' + property :key, as: 'key' + end + end + end + end +end diff --git a/generated/google/apis/oslogin_v1alpha/service.rb b/generated/google/apis/oslogin_v1alpha/service.rb new file mode 100644 index 000000000..4e50b745d --- /dev/null +++ b/generated/google/apis/oslogin_v1alpha/service.rb @@ -0,0 +1,228 @@ +# 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 OsloginV1alpha + # Google Cloud OS Login API + # + # Manages OS login configuration for Directory API users. + # + # @example + # require 'google/apis/oslogin_v1alpha' + # + # Oslogin = Google::Apis::OsloginV1alpha # Alias the module + # service = Oslogin::CloudOSLoginService.new + # + # @see https://cloud.google.com/compute/docs/oslogin/rest/ + class CloudOSLoginService < 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://oslogin.googleapis.com/', '') + @batch_path = 'batch' + end + + # Retrieves the profile information used for logging in to a virtual machine + # on Google Compute Engine. + # @param [String] name + # The unique ID for the user in format `users/`user``. + # @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::OsloginV1alpha::LoginProfile] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::OsloginV1alpha::LoginProfile] + # + # @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_user_login_profile(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1alpha/{+name}/loginProfile', options) + command.response_representation = Google::Apis::OsloginV1alpha::LoginProfile::Representation + command.response_class = Google::Apis::OsloginV1alpha::LoginProfile + 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 + + # Adds an SSH public key and returns the profile information. Default POSIX + # account information is set when no username and UID exist as part of the + # login profile. + # @param [String] parent + # The unique ID for the user in format `users/`user``. + # @param [Google::Apis::OsloginV1alpha::SshPublicKey] ssh_public_key_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::OsloginV1alpha::ImportSshPublicKeyResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::OsloginV1alpha::ImportSshPublicKeyResponse] + # + # @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 import_user_ssh_public_key(parent, ssh_public_key_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1alpha/{+parent}:importSshPublicKey', options) + command.request_representation = Google::Apis::OsloginV1alpha::SshPublicKey::Representation + command.request_object = ssh_public_key_object + command.response_representation = Google::Apis::OsloginV1alpha::ImportSshPublicKeyResponse::Representation + command.response_class = Google::Apis::OsloginV1alpha::ImportSshPublicKeyResponse + command.params['parent'] = parent unless parent.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 an SSH public key. + # @param [String] name + # The fingerprint of the public key to update. Public keys are identified by + # their SHA-256 fingerprint. The fingerprint of the public key is in format + # `users/`user`/sshPublicKeys/`fingerprint``. + # @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::OsloginV1alpha::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::OsloginV1alpha::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_user_ssh_public_key(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1alpha/{+name}', options) + command.response_representation = Google::Apis::OsloginV1alpha::Empty::Representation + command.response_class = Google::Apis::OsloginV1alpha::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 + + # Retrieves an SSH public key. + # @param [String] name + # The fingerprint of the public key to retrieve. Public keys are identified + # by their SHA-256 fingerprint. The fingerprint of the public key is in + # format `users/`user`/sshPublicKeys/`fingerprint``. + # @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::OsloginV1alpha::SshPublicKey] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::OsloginV1alpha::SshPublicKey] + # + # @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_user_ssh_public_key(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1alpha/{+name}', options) + command.response_representation = Google::Apis::OsloginV1alpha::SshPublicKey::Representation + command.response_class = Google::Apis::OsloginV1alpha::SshPublicKey + 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 + + # Updates an SSH public key and returns the profile information. This method + # supports patch semantics. + # @param [String] name + # The fingerprint of the public key to update. Public keys are identified by + # their SHA-256 fingerprint. The fingerprint of the public key is in format + # `users/`user`/sshPublicKeys/`fingerprint``. + # @param [Google::Apis::OsloginV1alpha::SshPublicKey] ssh_public_key_object + # @param [String] update_mask + # Mask to control which fields get updated. Updates all if not present. + # @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::OsloginV1alpha::SshPublicKey] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::OsloginV1alpha::SshPublicKey] + # + # @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_user_ssh_public_key(name, ssh_public_key_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1alpha/{+name}', options) + command.request_representation = Google::Apis::OsloginV1alpha::SshPublicKey::Representation + command.request_object = ssh_public_key_object + command.response_representation = Google::Apis::OsloginV1alpha::SshPublicKey::Representation + command.response_class = Google::Apis::OsloginV1alpha::SshPublicKey + command.params['name'] = name unless 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 + + 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/partners_v2.rb b/generated/google/apis/partners_v2.rb index e2ebd4c5a..930f156d6 100644 --- a/generated/google/apis/partners_v2.rb +++ b/generated/google/apis/partners_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/partners/ module PartnersV2 VERSION = 'V2' - REVISION = '20170707' + REVISION = '20170812' end end end diff --git a/generated/google/apis/partners_v2/classes.rb b/generated/google/apis/partners_v2/classes.rb index 629b8b75c..4aa4a832f 100644 --- a/generated/google/apis/partners_v2/classes.rb +++ b/generated/google/apis/partners_v2/classes.rb @@ -22,46 +22,20 @@ module Google module Apis module PartnersV2 - # Request message for - # LogUserEvent. - class LogUserEventRequest + # Information about a particular AdWords Manager Account. + # Read more at https://support.google.com/adwords/answer/6139186 + class AdWordsManagerAccountInfo include Google::Apis::Core::Hashable - # List of event data for the event. - # Corresponds to the JSON property `eventDatas` - # @return [Array] - attr_accessor :event_datas - - # The scope of the event. - # Corresponds to the JSON property `eventScope` + # Name of the customer this account represents. + # Corresponds to the JSON property `customerName` # @return [String] - attr_accessor :event_scope + attr_accessor :customer_name - # The category the action belongs to. - # Corresponds to the JSON property `eventCategory` - # @return [String] - attr_accessor :event_category - - # A lead resource that represents an advertiser contact for a `Company`. These - # are usually generated via Google Partner Search (the advertiser portal). - # Corresponds to the JSON property `lead` - # @return [Google::Apis::PartnersV2::Lead] - attr_accessor :lead - - # The action that occurred. - # Corresponds to the JSON property `eventAction` - # @return [String] - attr_accessor :event_action - - # The URL where the event occurred. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # Common data that is in each API request. - # Corresponds to the JSON property `requestMetadata` - # @return [Google::Apis::PartnersV2::RequestMetadata] - attr_accessor :request_metadata + # The AdWords Manager Account id. + # Corresponds to the JSON property `id` + # @return [Fixnum] + attr_accessor :id def initialize(**args) update!(**args) @@ -69,30 +43,40 @@ module Google # Update properties of this object def update!(**args) - @event_datas = args[:event_datas] if args.key?(:event_datas) - @event_scope = args[:event_scope] if args.key?(:event_scope) - @event_category = args[:event_category] if args.key?(:event_category) - @lead = args[:lead] if args.key?(:lead) - @event_action = args[:event_action] if args.key?(:event_action) - @url = args[:url] if args.key?(:url) - @request_metadata = args[:request_metadata] if args.key?(:request_metadata) + @customer_name = args[:customer_name] if args.key?(:customer_name) + @id = args[:id] if args.key?(:id) end end - # Values to use instead of the user's respective defaults. These are only - # honored by whitelisted products. - class UserOverrides + # Analytics data for a `Company` within a single day. + class Analytics include Google::Apis::Core::Hashable - # Logged-in user ID to impersonate instead of the user's ID. - # Corresponds to the JSON property `userId` - # @return [String] - attr_accessor :user_id + # Details of the analytics events for a `Company` within a single day. + # Corresponds to the JSON property `contacts` + # @return [Google::Apis::PartnersV2::AnalyticsDataPoint] + attr_accessor :contacts - # IP address to use instead of the user's geo-located IP address. - # Corresponds to the JSON property `ipAddress` - # @return [String] - attr_accessor :ip_address + # Represents a whole calendar date, e.g. 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. The day may be 0 to + # represent a year and month where the day is not significant, e.g. credit card + # expiration date. The year may be 0 to represent a month and day independent + # of year, e.g. anniversary date. Related types are google.type.TimeOfDay + # and `google.protobuf.Timestamp`. + # Corresponds to the JSON property `eventDate` + # @return [Google::Apis::PartnersV2::Date] + attr_accessor :event_date + + # Details of the analytics events for a `Company` within a single day. + # Corresponds to the JSON property `profileViews` + # @return [Google::Apis::PartnersV2::AnalyticsDataPoint] + attr_accessor :profile_views + + # Details of the analytics events for a `Company` within a single day. + # Corresponds to the JSON property `searchViews` + # @return [Google::Apis::PartnersV2::AnalyticsDataPoint] + attr_accessor :search_views def initialize(**args) update!(**args) @@ -100,8 +84,10 @@ module Google # Update properties of this object def update!(**args) - @user_id = args[:user_id] if args.key?(:user_id) - @ip_address = args[:ip_address] if args.key?(:ip_address) + @contacts = args[:contacts] if args.key?(:contacts) + @event_date = args[:event_date] if args.key?(:event_date) + @profile_views = args[:profile_views] if args.key?(:profile_views) + @search_views = args[:search_views] if args.key?(:search_views) end end @@ -131,63 +117,26 @@ module Google end end - # Analytics data for a `Company` within a single day. - class Analytics + # Analytics aggregated data for a `Company` for a given date range. + class AnalyticsSummary include Google::Apis::Core::Hashable - # Details of the analytics events for a `Company` within a single day. - # Corresponds to the JSON property `searchViews` - # @return [Google::Apis::PartnersV2::AnalyticsDataPoint] - attr_accessor :search_views - - # Details of the analytics events for a `Company` within a single day. - # Corresponds to the JSON property `profileViews` - # @return [Google::Apis::PartnersV2::AnalyticsDataPoint] - attr_accessor :profile_views - - # Represents a whole calendar date, e.g. 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. The day may be 0 to - # represent a year and month where the day is not significant, e.g. credit card - # expiration date. The year may be 0 to represent a month and day independent - # of year, e.g. anniversary date. Related types are google.type.TimeOfDay - # and `google.protobuf.Timestamp`. - # Corresponds to the JSON property `eventDate` - # @return [Google::Apis::PartnersV2::Date] - attr_accessor :event_date - - # Details of the analytics events for a `Company` within a single day. - # Corresponds to the JSON property `contacts` - # @return [Google::Apis::PartnersV2::AnalyticsDataPoint] - attr_accessor :contacts - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @search_views = args[:search_views] if args.key?(:search_views) - @profile_views = args[:profile_views] if args.key?(:profile_views) - @event_date = args[:event_date] if args.key?(:event_date) - @contacts = args[:contacts] if args.key?(:contacts) - end - end - - # Information about a particular AdWords Manager Account. - # Read more at https://support.google.com/adwords/answer/6139186 - class AdWordsManagerAccountInfo - include Google::Apis::Core::Hashable - - # Name of the customer this account represents. - # Corresponds to the JSON property `customerName` - # @return [String] - attr_accessor :customer_name - - # The AdWords Manager Account id. - # Corresponds to the JSON property `id` + # Aggregated number of times users contacted the `Company` + # for given date range. + # Corresponds to the JSON property `contactsCount` # @return [Fixnum] - attr_accessor :id + attr_accessor :contacts_count + + # Aggregated number of profile views for the `Company` for given date range. + # Corresponds to the JSON property `profileViewsCount` + # @return [Fixnum] + attr_accessor :profile_views_count + + # Aggregated number of times users saw the `Company` + # in Google Partners Search results for given date range. + # Corresponds to the JSON property `searchViewsCount` + # @return [Fixnum] + attr_accessor :search_views_count def initialize(**args) update!(**args) @@ -195,95 +144,9 @@ module Google # Update properties of this object def update!(**args) - @customer_name = args[:customer_name] if args.key?(:customer_name) - @id = args[:id] if args.key?(:id) - end - end - - # Basic information from a public profile. - class PublicProfile - include Google::Apis::Core::Hashable - - # The URL of the public profile. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # The ID which can be used to retrieve more details about the public profile. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The URL to the main profile image of the public profile. - # Corresponds to the JSON property `profileImage` - # @return [String] - attr_accessor :profile_image - - # The URL to the main display image of the public profile. Being deprecated. - # Corresponds to the JSON property `displayImageUrl` - # @return [String] - attr_accessor :display_image_url - - # The display name of the public profile. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @url = args[:url] if args.key?(:url) - @id = args[:id] if args.key?(:id) - @profile_image = args[:profile_image] if args.key?(:profile_image) - @display_image_url = args[:display_image_url] if args.key?(:display_image_url) - @display_name = args[:display_name] if args.key?(:display_name) - end - end - - # Common data that is in each API response. - class ResponseMetadata - include Google::Apis::Core::Hashable - - # Debug information about this request. - # Corresponds to the JSON property `debugInfo` - # @return [Google::Apis::PartnersV2::DebugInfo] - attr_accessor :debug_info - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @debug_info = args[:debug_info] if args.key?(:debug_info) - end - end - - # reCaptcha challenge info. - class RecaptchaChallenge - include Google::Apis::Core::Hashable - - # The ID of the reCaptcha challenge. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The response to the reCaptcha challenge. - # Corresponds to the JSON property `response` - # @return [String] - attr_accessor :response - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @response = args[:response] if args.key?(:response) + @contacts_count = args[:contacts_count] if args.key?(:contacts_count) + @profile_views_count = args[:profile_views_count] if args.key?(:profile_views_count) + @search_views_count = args[:search_views_count] if args.key?(:search_views_count) end end @@ -291,67 +154,67 @@ module Google class AvailableOffer include Google::Apis::Core::Hashable - # Terms of the offer. - # Corresponds to the JSON property `terms` - # @return [String] - attr_accessor :terms - - # Should special text be shown on the offers page. - # Corresponds to the JSON property `showSpecialOfferCopy` - # @return [Boolean] - attr_accessor :show_special_offer_copy - alias_method :show_special_offer_copy?, :show_special_offer_copy - # The number of codes for this offer that are available for distribution. # Corresponds to the JSON property `available` # @return [Fixnum] attr_accessor :available + # Offer info by country. + # Corresponds to the JSON property `countryOfferInfos` + # @return [Array] + attr_accessor :country_offer_infos + # Description of the offer. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # Level of this offer. - # Corresponds to the JSON property `offerLevel` - # @return [String] - attr_accessor :offer_level + # ID of this offer. + # Corresponds to the JSON property `id` + # @return [Fixnum] + attr_accessor :id + + # The maximum age of an account [in days] to be eligible. + # Corresponds to the JSON property `maxAccountAge` + # @return [Fixnum] + attr_accessor :max_account_age # Name of the offer. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name + # Level of this offer. + # Corresponds to the JSON property `offerLevel` + # @return [String] + attr_accessor :offer_level + + # Type of offer. + # Corresponds to the JSON property `offerType` + # @return [String] + attr_accessor :offer_type + + # Customers who qualify for this offer. + # Corresponds to the JSON property `qualifiedCustomer` + # @return [Array] + attr_accessor :qualified_customer + # Whether or not the list of qualified customers is definitely complete. # Corresponds to the JSON property `qualifiedCustomersComplete` # @return [Boolean] attr_accessor :qualified_customers_complete alias_method :qualified_customers_complete?, :qualified_customers_complete - # ID of this offer. - # Corresponds to the JSON property `id` - # @return [Fixnum] - attr_accessor :id + # Should special text be shown on the offers page. + # Corresponds to the JSON property `showSpecialOfferCopy` + # @return [Boolean] + attr_accessor :show_special_offer_copy + alias_method :show_special_offer_copy?, :show_special_offer_copy - # Offer info by country. - # Corresponds to the JSON property `countryOfferInfos` - # @return [Array] - attr_accessor :country_offer_infos - - # Type of offer. - # Corresponds to the JSON property `offerType` + # Terms of the offer. + # Corresponds to the JSON property `terms` # @return [String] - attr_accessor :offer_type - - # The maximum age of an account [in days] to be eligible. - # Corresponds to the JSON property `maxAccountAge` - # @return [Fixnum] - attr_accessor :max_account_age - - # Customers who qualify for this offer. - # Corresponds to the JSON property `qualifiedCustomer` - # @return [Array] - attr_accessor :qualified_customer + attr_accessor :terms def initialize(**args) update!(**args) @@ -359,18 +222,840 @@ module Google # Update properties of this object def update!(**args) - @terms = args[:terms] if args.key?(:terms) - @show_special_offer_copy = args[:show_special_offer_copy] if args.key?(:show_special_offer_copy) @available = args[:available] if args.key?(:available) - @description = args[:description] if args.key?(:description) - @offer_level = args[:offer_level] if args.key?(:offer_level) - @name = args[:name] if args.key?(:name) - @qualified_customers_complete = args[:qualified_customers_complete] if args.key?(:qualified_customers_complete) - @id = args[:id] if args.key?(:id) @country_offer_infos = args[:country_offer_infos] if args.key?(:country_offer_infos) - @offer_type = args[:offer_type] if args.key?(:offer_type) + @description = args[:description] if args.key?(:description) + @id = args[:id] if args.key?(:id) @max_account_age = args[:max_account_age] if args.key?(:max_account_age) + @name = args[:name] if args.key?(:name) + @offer_level = args[:offer_level] if args.key?(:offer_level) + @offer_type = args[:offer_type] if args.key?(:offer_type) @qualified_customer = args[:qualified_customer] if args.key?(:qualified_customer) + @qualified_customers_complete = args[:qualified_customers_complete] if args.key?(:qualified_customers_complete) + @show_special_offer_copy = args[:show_special_offer_copy] if args.key?(:show_special_offer_copy) + @terms = args[:terms] if args.key?(:terms) + end + end + + # A user's information on a specific certification. + class Certification + include Google::Apis::Core::Hashable + + # Whether this certification has been achieved. + # Corresponds to the JSON property `achieved` + # @return [Boolean] + attr_accessor :achieved + alias_method :achieved?, :achieved + + # The type of certification, the area of expertise. + # Corresponds to the JSON property `certificationType` + # @return [String] + attr_accessor :certification_type + + # Date this certification is due to expire. + # Corresponds to the JSON property `expiration` + # @return [String] + attr_accessor :expiration + + # The date the user last achieved certification. + # Corresponds to the JSON property `lastAchieved` + # @return [String] + attr_accessor :last_achieved + + # Whether this certification is in the state of warning. + # Corresponds to the JSON property `warning` + # @return [Boolean] + attr_accessor :warning + alias_method :warning?, :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @achieved = args[:achieved] if args.key?(:achieved) + @certification_type = args[:certification_type] if args.key?(:certification_type) + @expiration = args[:expiration] if args.key?(:expiration) + @last_achieved = args[:last_achieved] if args.key?(:last_achieved) + @warning = args[:warning] if args.key?(:warning) + end + end + + # Status for a Google Partners certification exam. + class CertificationExamStatus + include Google::Apis::Core::Hashable + + # The number of people who have passed the certification exam. + # Corresponds to the JSON property `numberUsersPass` + # @return [Fixnum] + attr_accessor :number_users_pass + + # The type of certification exam. + # 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) + @number_users_pass = args[:number_users_pass] if args.key?(:number_users_pass) + @type = args[:type] if args.key?(:type) + end + end + + # Google Partners certification status. + class CertificationStatus + include Google::Apis::Core::Hashable + + # List of certification exam statuses. + # Corresponds to the JSON property `examStatuses` + # @return [Array] + attr_accessor :exam_statuses + + # Whether certification is passing. + # Corresponds to the JSON property `isCertified` + # @return [Boolean] + attr_accessor :is_certified + alias_method :is_certified?, :is_certified + + # The type of the certification. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # Number of people who are certified, + # Corresponds to the JSON property `userCount` + # @return [Fixnum] + attr_accessor :user_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exam_statuses = args[:exam_statuses] if args.key?(:exam_statuses) + @is_certified = args[:is_certified] if args.key?(:is_certified) + @type = args[:type] if args.key?(:type) + @user_count = args[:user_count] if args.key?(:user_count) + end + end + + # A company resource in the Google Partners API. Once certified, it qualifies + # for being searched by advertisers. + class Company + include Google::Apis::Core::Hashable + + # URL of the company's additional websites used to verify the dynamic badges. + # These are stored as full URLs as entered by the user, but only the TLD will + # be used for the actual verification. + # Corresponds to the JSON property `additionalWebsites` + # @return [Array] + attr_accessor :additional_websites + + # Email domains that allow users with a matching email address to get + # auto-approved for associating with this company. + # Corresponds to the JSON property `autoApprovalEmailDomains` + # @return [Array] + attr_accessor :auto_approval_email_domains + + # Partner badge tier + # Corresponds to the JSON property `badgeTier` + # @return [String] + attr_accessor :badge_tier + + # The list of Google Partners certification statuses for the company. + # Corresponds to the JSON property `certificationStatuses` + # @return [Array] + attr_accessor :certification_statuses + + # Company type labels listed on the company's profile. + # Corresponds to the JSON property `companyTypes` + # @return [Array] + attr_accessor :company_types + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `convertedMinMonthlyBudget` + # @return [Google::Apis::PartnersV2::Money] + attr_accessor :converted_min_monthly_budget + + # The ID of the company. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Industries the company can help with. + # Corresponds to the JSON property `industries` + # @return [Array] + attr_accessor :industries + + # The list of localized info for the company. + # Corresponds to the JSON property `localizedInfos` + # @return [Array] + attr_accessor :localized_infos + + # The list of all company locations. + # If set, must include the + # primary_location + # in the list. + # Corresponds to the JSON property `locations` + # @return [Array] + attr_accessor :locations + + # The name of the company. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `originalMinMonthlyBudget` + # @return [Google::Apis::PartnersV2::Money] + attr_accessor :original_min_monthly_budget + + # The Primary AdWords Manager Account id. + # Corresponds to the JSON property `primaryAdwordsManagerAccountId` + # @return [Fixnum] + attr_accessor :primary_adwords_manager_account_id + + # The primary language code of the company, as defined by + # BCP 47 + # (IETF BCP 47, "Tags for Identifying Languages"). + # Corresponds to the JSON property `primaryLanguageCode` + # @return [String] + attr_accessor :primary_language_code + + # A location with address and geographic coordinates. May optionally contain a + # detailed (multi-field) version of the address. + # Corresponds to the JSON property `primaryLocation` + # @return [Google::Apis::PartnersV2::Location] + attr_accessor :primary_location + + # The public viewability status of the company's profile. + # Corresponds to the JSON property `profileStatus` + # @return [String] + attr_accessor :profile_status + + # Basic information from a public profile. + # Corresponds to the JSON property `publicProfile` + # @return [Google::Apis::PartnersV2::PublicProfile] + attr_accessor :public_profile + + # Information related to the ranking of the company within the list of + # companies. + # Corresponds to the JSON property `ranks` + # @return [Array] + attr_accessor :ranks + + # Services the company can help with. + # Corresponds to the JSON property `services` + # @return [Array] + attr_accessor :services + + # The list of Google Partners specialization statuses for the company. + # Corresponds to the JSON property `specializationStatus` + # @return [Array] + attr_accessor :specialization_status + + # URL of the company's website. + # Corresponds to the JSON property `websiteUrl` + # @return [String] + attr_accessor :website_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @additional_websites = args[:additional_websites] if args.key?(:additional_websites) + @auto_approval_email_domains = args[:auto_approval_email_domains] if args.key?(:auto_approval_email_domains) + @badge_tier = args[:badge_tier] if args.key?(:badge_tier) + @certification_statuses = args[:certification_statuses] if args.key?(:certification_statuses) + @company_types = args[:company_types] if args.key?(:company_types) + @converted_min_monthly_budget = args[:converted_min_monthly_budget] if args.key?(:converted_min_monthly_budget) + @id = args[:id] if args.key?(:id) + @industries = args[:industries] if args.key?(:industries) + @localized_infos = args[:localized_infos] if args.key?(:localized_infos) + @locations = args[:locations] if args.key?(:locations) + @name = args[:name] if args.key?(:name) + @original_min_monthly_budget = args[:original_min_monthly_budget] if args.key?(:original_min_monthly_budget) + @primary_adwords_manager_account_id = args[:primary_adwords_manager_account_id] if args.key?(:primary_adwords_manager_account_id) + @primary_language_code = args[:primary_language_code] if args.key?(:primary_language_code) + @primary_location = args[:primary_location] if args.key?(:primary_location) + @profile_status = args[:profile_status] if args.key?(:profile_status) + @public_profile = args[:public_profile] if args.key?(:public_profile) + @ranks = args[:ranks] if args.key?(:ranks) + @services = args[:services] if args.key?(:services) + @specialization_status = args[:specialization_status] if args.key?(:specialization_status) + @website_url = args[:website_url] if args.key?(:website_url) + end + end + + # A CompanyRelation resource representing information about a user's + # affiliation and standing with a company in Partners. + class CompanyRelation + include Google::Apis::Core::Hashable + + # The primary address for this company. + # Corresponds to the JSON property `address` + # @return [String] + attr_accessor :address + + # Whether the company is a Partner. + # Corresponds to the JSON property `badgeTier` + # @return [String] + attr_accessor :badge_tier + + # Indicates if the user is an admin for this company. + # Corresponds to the JSON property `companyAdmin` + # @return [Boolean] + attr_accessor :company_admin + alias_method :company_admin?, :company_admin + + # The ID of the company. There may be no id if this is a + # pending company.5 + # Corresponds to the JSON property `companyId` + # @return [String] + attr_accessor :company_id + + # The timestamp of when affiliation was requested. + # @OutputOnly + # Corresponds to the JSON property `creationTime` + # @return [String] + attr_accessor :creation_time + + # The internal company ID. + # Only available for a whitelisted set of api clients. + # Corresponds to the JSON property `internalCompanyId` + # @return [String] + attr_accessor :internal_company_id + + # The flag that indicates if the company is pending verification. + # Corresponds to the JSON property `isPending` + # @return [Boolean] + attr_accessor :is_pending + alias_method :is_pending?, :is_pending + + # A URL to a profile photo, e.g. a G+ profile photo. + # Corresponds to the JSON property `logoUrl` + # @return [String] + attr_accessor :logo_url + + # The AdWords manager account # associated this company. + # Corresponds to the JSON property `managerAccount` + # @return [Fixnum] + attr_accessor :manager_account + + # The name (in the company's primary language) for the company. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The phone number for the company's primary address. + # Corresponds to the JSON property `phoneNumber` + # @return [String] + attr_accessor :phone_number + + # A location with address and geographic coordinates. May optionally contain a + # detailed (multi-field) version of the address. + # Corresponds to the JSON property `primaryAddress` + # @return [Google::Apis::PartnersV2::Location] + attr_accessor :primary_address + + # The primary country code of the company. + # Corresponds to the JSON property `primaryCountryCode` + # @return [String] + attr_accessor :primary_country_code + + # The primary language code of the company. + # Corresponds to the JSON property `primaryLanguageCode` + # @return [String] + attr_accessor :primary_language_code + + # The timestamp when the user was approved. + # @OutputOnly + # Corresponds to the JSON property `resolvedTimestamp` + # @return [String] + attr_accessor :resolved_timestamp + + # The segment the company is classified as. + # Corresponds to the JSON property `segment` + # @return [Array] + attr_accessor :segment + + # The list of Google Partners specialization statuses for the company. + # Corresponds to the JSON property `specializationStatus` + # @return [Array] + attr_accessor :specialization_status + + # The state of relationship, in terms of approvals. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # The website URL for this company. + # Corresponds to the JSON property `website` + # @return [String] + attr_accessor :website + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @address = args[:address] if args.key?(:address) + @badge_tier = args[:badge_tier] if args.key?(:badge_tier) + @company_admin = args[:company_admin] if args.key?(:company_admin) + @company_id = args[:company_id] if args.key?(:company_id) + @creation_time = args[:creation_time] if args.key?(:creation_time) + @internal_company_id = args[:internal_company_id] if args.key?(:internal_company_id) + @is_pending = args[:is_pending] if args.key?(:is_pending) + @logo_url = args[:logo_url] if args.key?(:logo_url) + @manager_account = args[:manager_account] if args.key?(:manager_account) + @name = args[:name] if args.key?(:name) + @phone_number = args[:phone_number] if args.key?(:phone_number) + @primary_address = args[:primary_address] if args.key?(:primary_address) + @primary_country_code = args[:primary_country_code] if args.key?(:primary_country_code) + @primary_language_code = args[:primary_language_code] if args.key?(:primary_language_code) + @resolved_timestamp = args[:resolved_timestamp] if args.key?(:resolved_timestamp) + @segment = args[:segment] if args.key?(:segment) + @specialization_status = args[:specialization_status] if args.key?(:specialization_status) + @state = args[:state] if args.key?(:state) + @website = args[:website] if args.key?(:website) + end + end + + # Offer info by country. + class CountryOfferInfo + include Google::Apis::Core::Hashable + + # (localized) Get Y amount for that country's offer. + # Corresponds to the JSON property `getYAmount` + # @return [String] + attr_accessor :get_y_amount + + # Country code for which offer codes may be requested. + # Corresponds to the JSON property `offerCountryCode` + # @return [String] + attr_accessor :offer_country_code + + # Type of offer country is eligible for. + # Corresponds to the JSON property `offerType` + # @return [String] + attr_accessor :offer_type + + # (localized) Spend X amount for that country's offer. + # Corresponds to the JSON property `spendXAmount` + # @return [String] + attr_accessor :spend_x_amount + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @get_y_amount = args[:get_y_amount] if args.key?(:get_y_amount) + @offer_country_code = args[:offer_country_code] if args.key?(:offer_country_code) + @offer_type = args[:offer_type] if args.key?(:offer_type) + @spend_x_amount = args[:spend_x_amount] if args.key?(:spend_x_amount) + end + end + + # Request message for CreateLead. + class CreateLeadRequest + include Google::Apis::Core::Hashable + + # A lead resource that represents an advertiser contact for a `Company`. These + # are usually generated via Google Partner Search (the advertiser portal). + # Corresponds to the JSON property `lead` + # @return [Google::Apis::PartnersV2::Lead] + attr_accessor :lead + + # reCaptcha challenge info. + # Corresponds to the JSON property `recaptchaChallenge` + # @return [Google::Apis::PartnersV2::RecaptchaChallenge] + attr_accessor :recaptcha_challenge + + # Common data that is in each API request. + # Corresponds to the JSON property `requestMetadata` + # @return [Google::Apis::PartnersV2::RequestMetadata] + attr_accessor :request_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @lead = args[:lead] if args.key?(:lead) + @recaptcha_challenge = args[:recaptcha_challenge] if args.key?(:recaptcha_challenge) + @request_metadata = args[:request_metadata] if args.key?(:request_metadata) + end + end + + # Response message for CreateLead. + class CreateLeadResponse + include Google::Apis::Core::Hashable + + # A lead resource that represents an advertiser contact for a `Company`. These + # are usually generated via Google Partner Search (the advertiser portal). + # Corresponds to the JSON property `lead` + # @return [Google::Apis::PartnersV2::Lead] + attr_accessor :lead + + # The outcome of reCaptcha + # validation. + # Corresponds to the JSON property `recaptchaStatus` + # @return [String] + attr_accessor :recaptcha_status + + # Common data that is in each API response. + # Corresponds to the JSON property `responseMetadata` + # @return [Google::Apis::PartnersV2::ResponseMetadata] + attr_accessor :response_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @lead = args[:lead] if args.key?(:lead) + @recaptcha_status = args[:recaptcha_status] if args.key?(:recaptcha_status) + @response_metadata = args[:response_metadata] if args.key?(:response_metadata) + end + end + + # Represents a whole calendar date, e.g. 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. The day may be 0 to + # represent a year and month where the day is not significant, e.g. credit card + # expiration date. The year may be 0 to represent a month and day independent + # of year, e.g. anniversary date. Related types are google.type.TimeOfDay + # and `google.protobuf.Timestamp`. + class Date + include Google::Apis::Core::Hashable + + # 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 + + # Month of year. Must be from 1 to 12. + # Corresponds to the JSON property `month` + # @return [Fixnum] + attr_accessor :month + + # 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) + @day = args[:day] if args.key?(:day) + @month = args[:month] if args.key?(:month) + @year = args[:year] if args.key?(:year) + end + end + + # Debug information about this request. + class DebugInfo + include Google::Apis::Core::Hashable + + # Info about the server that serviced this request. + # Corresponds to the JSON property `serverInfo` + # @return [String] + attr_accessor :server_info + + # Server-side debug stack trace. + # Corresponds to the JSON property `serverTraceInfo` + # @return [String] + attr_accessor :server_trace_info + + # URL of the service that handled this request. + # Corresponds to the JSON property `serviceUrl` + # @return [String] + attr_accessor :service_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @server_info = args[:server_info] if args.key?(:server_info) + @server_trace_info = args[:server_trace_info] if args.key?(:server_trace_info) + @service_url = args[:service_url] if args.key?(:service_url) + 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 + + # Key value data pair for an event. + class EventData + include Google::Apis::Core::Hashable + + # Data type. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # Data values. + # 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) + @key = args[:key] if args.key?(:key) + @values = args[:values] if args.key?(:values) + end + end + + # A user's information on a specific exam. + class ExamStatus + include Google::Apis::Core::Hashable + + # The type of the exam. + # Corresponds to the JSON property `examType` + # @return [String] + attr_accessor :exam_type + + # Date this exam is due to expire. + # Corresponds to the JSON property `expiration` + # @return [String] + attr_accessor :expiration + + # The date the user last passed this exam. + # Corresponds to the JSON property `lastPassed` + # @return [String] + attr_accessor :last_passed + + # Whether this exam has been passed and not expired. + # Corresponds to the JSON property `passed` + # @return [Boolean] + attr_accessor :passed + alias_method :passed?, :passed + + # The date the user last taken this exam. + # Corresponds to the JSON property `taken` + # @return [String] + attr_accessor :taken + + # Whether this exam is in the state of warning. + # Corresponds to the JSON property `warning` + # @return [Boolean] + attr_accessor :warning + alias_method :warning?, :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exam_type = args[:exam_type] if args.key?(:exam_type) + @expiration = args[:expiration] if args.key?(:expiration) + @last_passed = args[:last_passed] if args.key?(:last_passed) + @passed = args[:passed] if args.key?(:passed) + @taken = args[:taken] if args.key?(:taken) + @warning = args[:warning] if args.key?(:warning) + end + end + + # A token that allows a user to take an exam. + class ExamToken + include Google::Apis::Core::Hashable + + # The id of the exam the token is for. + # Corresponds to the JSON property `examId` + # @return [Fixnum] + attr_accessor :exam_id + + # The type of the exam the token belongs to. + # Corresponds to the JSON property `examType` + # @return [String] + attr_accessor :exam_type + + # The token, only present if the user has access to the exam. + # Corresponds to the JSON property `token` + # @return [String] + attr_accessor :token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exam_id = args[:exam_id] if args.key?(:exam_id) + @exam_type = args[:exam_type] if args.key?(:exam_type) + @token = args[:token] if args.key?(:token) + end + end + + # Response message for GetCompany. + class GetCompanyResponse + include Google::Apis::Core::Hashable + + # A company resource in the Google Partners API. Once certified, it qualifies + # for being searched by advertisers. + # Corresponds to the JSON property `company` + # @return [Google::Apis::PartnersV2::Company] + attr_accessor :company + + # Common data that is in each API response. + # Corresponds to the JSON property `responseMetadata` + # @return [Google::Apis::PartnersV2::ResponseMetadata] + attr_accessor :response_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @company = args[:company] if args.key?(:company) + @response_metadata = args[:response_metadata] if args.key?(:response_metadata) + end + end + + # Response message for + # GetPartnersStatus. + class GetPartnersStatusResponse + include Google::Apis::Core::Hashable + + # Common data that is in each API response. + # Corresponds to the JSON property `responseMetadata` + # @return [Google::Apis::PartnersV2::ResponseMetadata] + attr_accessor :response_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @response_metadata = args[:response_metadata] if args.key?(:response_metadata) + end + end + + # Historical information about a Google Partners Offer. + class HistoricalOffer + include Google::Apis::Core::Hashable + + # Client's AdWords page URL. + # Corresponds to the JSON property `adwordsUrl` + # @return [String] + attr_accessor :adwords_url + + # Email address for client. + # Corresponds to the JSON property `clientEmail` + # @return [String] + attr_accessor :client_email + + # ID of client. + # Corresponds to the JSON property `clientId` + # @return [Fixnum] + attr_accessor :client_id + + # Name of the client. + # Corresponds to the JSON property `clientName` + # @return [String] + attr_accessor :client_name + + # Time offer was first created. + # Corresponds to the JSON property `creationTime` + # @return [String] + attr_accessor :creation_time + + # Time this offer expires. + # Corresponds to the JSON property `expirationTime` + # @return [String] + attr_accessor :expiration_time + + # Time last action was taken. + # Corresponds to the JSON property `lastModifiedTime` + # @return [String] + attr_accessor :last_modified_time + + # Offer code. + # Corresponds to the JSON property `offerCode` + # @return [String] + attr_accessor :offer_code + + # Country Code for the offer country. + # Corresponds to the JSON property `offerCountryCode` + # @return [String] + attr_accessor :offer_country_code + + # Type of offer. + # Corresponds to the JSON property `offerType` + # @return [String] + attr_accessor :offer_type + + # Name (First + Last) of the partners user to whom the incentive is allocated. + # Corresponds to the JSON property `senderName` + # @return [String] + attr_accessor :sender_name + + # Status of the offer. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @adwords_url = args[:adwords_url] if args.key?(:adwords_url) + @client_email = args[:client_email] if args.key?(:client_email) + @client_id = args[:client_id] if args.key?(:client_id) + @client_name = args[:client_name] if args.key?(:client_name) + @creation_time = args[:creation_time] if args.key?(:creation_time) + @expiration_time = args[:expiration_time] if args.key?(:expiration_time) + @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) + @offer_code = args[:offer_code] if args.key?(:offer_code) + @offer_country_code = args[:offer_country_code] if args.key?(:offer_country_code) + @offer_type = args[:offer_type] if args.key?(:offer_type) + @sender_name = args[:sender_name] if args.key?(:sender_name) + @status = args[:status] if args.key?(:status) end end @@ -433,201 +1118,51 @@ module Google end end - # Represents an amount of money with its currency type. - class Money - include Google::Apis::Core::Hashable - - # Number of nano (10^-9) units of the amount. - # The value must be between -999,999,999 and +999,999,999 inclusive. - # If `units` is positive, `nanos` must be positive or zero. - # If `units` is zero, `nanos` can be positive, zero, or negative. - # If `units` is negative, `nanos` must be negative or zero. - # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. - # Corresponds to the JSON property `nanos` - # @return [Fixnum] - attr_accessor :nanos - - # The whole units of the amount. - # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. - # Corresponds to the JSON property `units` - # @return [Fixnum] - attr_accessor :units - - # The 3-letter currency code defined in ISO 4217. - # Corresponds to the JSON property `currencyCode` - # @return [String] - attr_accessor :currency_code - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @nanos = args[:nanos] if args.key?(:nanos) - @units = args[:units] if args.key?(:units) - @currency_code = args[:currency_code] if args.key?(:currency_code) - end - end - - # Analytics aggregated data for a `Company` for a given date range. - class AnalyticsSummary - include Google::Apis::Core::Hashable - - # Aggregated number of profile views for the `Company` for given date range. - # Corresponds to the JSON property `profileViewsCount` - # @return [Fixnum] - attr_accessor :profile_views_count - - # Aggregated number of times users saw the `Company` - # in Google Partners Search results for given date range. - # Corresponds to the JSON property `searchViewsCount` - # @return [Fixnum] - attr_accessor :search_views_count - - # Aggregated number of times users contacted the `Company` - # for given date range. - # Corresponds to the JSON property `contactsCount` - # @return [Fixnum] - attr_accessor :contacts_count - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @profile_views_count = args[:profile_views_count] if args.key?(:profile_views_count) - @search_views_count = args[:search_views_count] if args.key?(:search_views_count) - @contacts_count = args[:contacts_count] if args.key?(:contacts_count) - end - end - - # Request message for - # LogClientMessage. - class LogMessageRequest - include Google::Apis::Core::Hashable - - # Map of client info, such as URL, browser navigator, browser platform, etc. - # Corresponds to the JSON property `clientInfo` - # @return [Hash] - attr_accessor :client_info - - # Common data that is in each API request. - # Corresponds to the JSON property `requestMetadata` - # @return [Google::Apis::PartnersV2::RequestMetadata] - attr_accessor :request_metadata - - # Message level of client message. - # Corresponds to the JSON property `level` - # @return [String] - attr_accessor :level - - # Details about the client message. - # Corresponds to the JSON property `details` - # @return [String] - attr_accessor :details - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @client_info = args[:client_info] if args.key?(:client_info) - @request_metadata = args[:request_metadata] if args.key?(:request_metadata) - @level = args[:level] if args.key?(:level) - @details = args[:details] if args.key?(:details) - end - end - - # Debug information about this request. - class DebugInfo - include Google::Apis::Core::Hashable - - # Server-side debug stack trace. - # Corresponds to the JSON property `serverTraceInfo` - # @return [String] - attr_accessor :server_trace_info - - # Info about the server that serviced this request. - # Corresponds to the JSON property `serverInfo` - # @return [String] - attr_accessor :server_info - - # URL of the service that handled this request. - # Corresponds to the JSON property `serviceUrl` - # @return [String] - attr_accessor :service_url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @server_trace_info = args[:server_trace_info] if args.key?(:server_trace_info) - @server_info = args[:server_info] if args.key?(:server_info) - @service_url = args[:service_url] if args.key?(:service_url) - end - end - # A lead resource that represents an advertiser contact for a `Company`. These # are usually generated via Google Partner Search (the advertiser portal). class Lead include Google::Apis::Core::Hashable - # Last name of lead source. - # Corresponds to the JSON property `familyName` - # @return [String] - attr_accessor :family_name - - # Comments lead source gave. - # Corresponds to the JSON property `comments` - # @return [String] - attr_accessor :comments - - # ID of the lead. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - # The AdWords Customer ID of the lead. # Corresponds to the JSON property `adwordsCustomerId` # @return [Fixnum] attr_accessor :adwords_customer_id - # Phone number of lead source. - # Corresponds to the JSON property `phoneNumber` + # Comments lead source gave. + # Corresponds to the JSON property `comments` # @return [String] - attr_accessor :phone_number + attr_accessor :comments # Timestamp of when this lead was created. # Corresponds to the JSON property `createTime` # @return [String] attr_accessor :create_time - # Whether or not the lead signed up for marketing emails - # Corresponds to the JSON property `marketingOptIn` - # @return [Boolean] - attr_accessor :marketing_opt_in - alias_method :marketing_opt_in?, :marketing_opt_in - - # Type of lead. - # Corresponds to the JSON property `type` + # Email address of lead source. + # Corresponds to the JSON property `email` # @return [String] - attr_accessor :type + attr_accessor :email - # Represents an amount of money with its currency type. - # Corresponds to the JSON property `minMonthlyBudget` - # @return [Google::Apis::PartnersV2::Money] - attr_accessor :min_monthly_budget + # Last name of lead source. + # Corresponds to the JSON property `familyName` + # @return [String] + attr_accessor :family_name # First name of lead source. # Corresponds to the JSON property `givenName` # @return [String] attr_accessor :given_name + # List of reasons for using Google Partner Search and creating a lead. + # Corresponds to the JSON property `gpsMotivations` + # @return [Array] + attr_accessor :gps_motivations + + # ID of the lead. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + # Language code of the lead's language preference, as defined by # BCP 47 # (IETF BCP 47, "Tags for Identifying Languages"). @@ -635,25 +1170,36 @@ module Google # @return [String] attr_accessor :language_code - # Website URL of lead source. - # Corresponds to the JSON property `websiteUrl` + # Whether or not the lead signed up for marketing emails + # Corresponds to the JSON property `marketingOptIn` + # @return [Boolean] + attr_accessor :marketing_opt_in + alias_method :marketing_opt_in?, :marketing_opt_in + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `minMonthlyBudget` + # @return [Google::Apis::PartnersV2::Money] + attr_accessor :min_monthly_budget + + # Phone number of lead source. + # Corresponds to the JSON property `phoneNumber` # @return [String] - attr_accessor :website_url + attr_accessor :phone_number # The lead's state in relation to the company. # Corresponds to the JSON property `state` # @return [String] attr_accessor :state - # List of reasons for using Google Partner Search and creating a lead. - # Corresponds to the JSON property `gpsMotivations` - # @return [Array] - attr_accessor :gps_motivations - - # Email address of lead source. - # Corresponds to the JSON property `email` + # Type of lead. + # Corresponds to the JSON property `type` # @return [String] - attr_accessor :email + attr_accessor :type + + # Website URL of lead source. + # Corresponds to the JSON property `websiteUrl` + # @return [String] + attr_accessor :website_url def initialize(**args) update!(**args) @@ -661,21 +1207,224 @@ module Google # Update properties of this object def update!(**args) - @family_name = args[:family_name] if args.key?(:family_name) - @comments = args[:comments] if args.key?(:comments) - @id = args[:id] if args.key?(:id) @adwords_customer_id = args[:adwords_customer_id] if args.key?(:adwords_customer_id) - @phone_number = args[:phone_number] if args.key?(:phone_number) + @comments = args[:comments] if args.key?(:comments) @create_time = args[:create_time] if args.key?(:create_time) - @marketing_opt_in = args[:marketing_opt_in] if args.key?(:marketing_opt_in) - @type = args[:type] if args.key?(:type) - @min_monthly_budget = args[:min_monthly_budget] if args.key?(:min_monthly_budget) - @given_name = args[:given_name] if args.key?(:given_name) - @language_code = args[:language_code] if args.key?(:language_code) - @website_url = args[:website_url] if args.key?(:website_url) - @state = args[:state] if args.key?(:state) - @gps_motivations = args[:gps_motivations] if args.key?(:gps_motivations) @email = args[:email] if args.key?(:email) + @family_name = args[:family_name] if args.key?(:family_name) + @given_name = args[:given_name] if args.key?(:given_name) + @gps_motivations = args[:gps_motivations] if args.key?(:gps_motivations) + @id = args[:id] if args.key?(:id) + @language_code = args[:language_code] if args.key?(:language_code) + @marketing_opt_in = args[:marketing_opt_in] if args.key?(:marketing_opt_in) + @min_monthly_budget = args[:min_monthly_budget] if args.key?(:min_monthly_budget) + @phone_number = args[:phone_number] if args.key?(:phone_number) + @state = args[:state] if args.key?(:state) + @type = args[:type] if args.key?(:type) + @website_url = args[:website_url] if args.key?(:website_url) + end + end + + # Response message for + # ListAnalytics. + class ListAnalyticsResponse + include Google::Apis::Core::Hashable + + # The list of analytics. + # Sorted in ascending order of + # Analytics.event_date. + # Corresponds to the JSON property `analytics` + # @return [Array] + attr_accessor :analytics + + # Analytics aggregated data for a `Company` for a given date range. + # Corresponds to the JSON property `analyticsSummary` + # @return [Google::Apis::PartnersV2::AnalyticsSummary] + attr_accessor :analytics_summary + + # A token to retrieve next page of results. + # Pass this value in the `ListAnalyticsRequest.page_token` field in the + # subsequent call to + # ListAnalytics to retrieve the + # next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Common data that is in each API response. + # Corresponds to the JSON property `responseMetadata` + # @return [Google::Apis::PartnersV2::ResponseMetadata] + attr_accessor :response_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @analytics = args[:analytics] if args.key?(:analytics) + @analytics_summary = args[:analytics_summary] if args.key?(:analytics_summary) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @response_metadata = args[:response_metadata] if args.key?(:response_metadata) + end + end + + # Response message for + # ListCompanies. + class ListCompaniesResponse + include Google::Apis::Core::Hashable + + # The list of companies. + # Corresponds to the JSON property `companies` + # @return [Array] + attr_accessor :companies + + # A token to retrieve next page of results. + # Pass this value in the `ListCompaniesRequest.page_token` field in the + # subsequent call to + # ListCompanies to retrieve the + # next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Common data that is in each API response. + # Corresponds to the JSON property `responseMetadata` + # @return [Google::Apis::PartnersV2::ResponseMetadata] + attr_accessor :response_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @companies = args[:companies] if args.key?(:companies) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @response_metadata = args[:response_metadata] if args.key?(:response_metadata) + end + end + + # Response message for ListLeads. + class ListLeadsResponse + include Google::Apis::Core::Hashable + + # The list of leads. + # Corresponds to the JSON property `leads` + # @return [Array] + attr_accessor :leads + + # A token to retrieve next page of results. + # Pass this value in the `ListLeadsRequest.page_token` field in the + # subsequent call to + # ListLeads to retrieve the + # next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Common data that is in each API response. + # Corresponds to the JSON property `responseMetadata` + # @return [Google::Apis::PartnersV2::ResponseMetadata] + attr_accessor :response_metadata + + # The total count of leads for the given company. + # Corresponds to the JSON property `totalSize` + # @return [Fixnum] + attr_accessor :total_size + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @leads = args[:leads] if args.key?(:leads) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @response_metadata = args[:response_metadata] if args.key?(:response_metadata) + @total_size = args[:total_size] if args.key?(:total_size) + end + end + + # Response for ListOfferHistory. + class ListOffersHistoryResponse + include Google::Apis::Core::Hashable + + # True if the user has the option to show entire company history. + # Corresponds to the JSON property `canShowEntireCompany` + # @return [Boolean] + attr_accessor :can_show_entire_company + alias_method :can_show_entire_company?, :can_show_entire_company + + # Supply this token in a ListOffersHistoryRequest to retrieve the next page. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Historical offers meeting request. + # Corresponds to the JSON property `offers` + # @return [Array] + attr_accessor :offers + + # Common data that is in each API response. + # Corresponds to the JSON property `responseMetadata` + # @return [Google::Apis::PartnersV2::ResponseMetadata] + attr_accessor :response_metadata + + # True if this response is showing entire company history. + # Corresponds to the JSON property `showingEntireCompany` + # @return [Boolean] + attr_accessor :showing_entire_company + alias_method :showing_entire_company?, :showing_entire_company + + # Number of results across all pages. + # Corresponds to the JSON property `totalResults` + # @return [Fixnum] + attr_accessor :total_results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @can_show_entire_company = args[:can_show_entire_company] if args.key?(:can_show_entire_company) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @offers = args[:offers] if args.key?(:offers) + @response_metadata = args[:response_metadata] if args.key?(:response_metadata) + @showing_entire_company = args[:showing_entire_company] if args.key?(:showing_entire_company) + @total_results = args[:total_results] if args.key?(:total_results) + end + end + + # Response for ListOffer. + class ListOffersResponse + include Google::Apis::Core::Hashable + + # Available Offers to be distributed. + # Corresponds to the JSON property `availableOffers` + # @return [Array] + attr_accessor :available_offers + + # Reason why no Offers are available. + # Corresponds to the JSON property `noOfferReason` + # @return [String] + attr_accessor :no_offer_reason + + # Common data that is in each API response. + # Corresponds to the JSON property `responseMetadata` + # @return [Google::Apis::PartnersV2::ResponseMetadata] + attr_accessor :response_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @available_offers = args[:available_offers] if args.key?(:available_offers) + @no_offer_reason = args[:no_offer_reason] if args.key?(:no_offer_reason) + @response_metadata = args[:response_metadata] if args.key?(:response_metadata) end end @@ -705,593 +1454,15 @@ module Google end end - # A CompanyRelation resource representing information about a user's - # affiliation and standing with a company in Partners. - class CompanyRelation - include Google::Apis::Core::Hashable - - # A URL to a profile photo, e.g. a G+ profile photo. - # Corresponds to the JSON property `logoUrl` - # @return [String] - attr_accessor :logo_url - - # The timestamp when the user was approved. - # @OutputOnly - # Corresponds to the JSON property `resolvedTimestamp` - # @return [String] - attr_accessor :resolved_timestamp - - # Indicates if the user is an admin for this company. - # Corresponds to the JSON property `companyAdmin` - # @return [Boolean] - attr_accessor :company_admin - alias_method :company_admin?, :company_admin - - # The flag that indicates if the company is pending verification. - # Corresponds to the JSON property `isPending` - # @return [Boolean] - attr_accessor :is_pending - alias_method :is_pending?, :is_pending - - # The primary address for this company. - # Corresponds to the JSON property `address` - # @return [String] - attr_accessor :address - - # The timestamp of when affiliation was requested. - # @OutputOnly - # Corresponds to the JSON property `creationTime` - # @return [String] - attr_accessor :creation_time - - # A location with address and geographic coordinates. May optionally contain a - # detailed (multi-field) version of the address. - # Corresponds to the JSON property `primaryAddress` - # @return [Google::Apis::PartnersV2::Location] - attr_accessor :primary_address - - # The state of relationship, in terms of approvals. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # The name (in the company's primary language) for the company. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The AdWords manager account # associated this company. - # Corresponds to the JSON property `managerAccount` - # @return [Fixnum] - attr_accessor :manager_account - - # The segment the company is classified as. - # Corresponds to the JSON property `segment` - # @return [Array] - attr_accessor :segment - - # The internal company ID. - # Only available for a whitelisted set of api clients. - # Corresponds to the JSON property `internalCompanyId` - # @return [String] - attr_accessor :internal_company_id - - # The list of Google Partners specialization statuses for the company. - # Corresponds to the JSON property `specializationStatus` - # @return [Array] - attr_accessor :specialization_status - - # Whether the company is a Partner. - # Corresponds to the JSON property `badgeTier` - # @return [String] - attr_accessor :badge_tier - - # The website URL for this company. - # Corresponds to the JSON property `website` - # @return [String] - attr_accessor :website - - # The phone number for the company's primary address. - # Corresponds to the JSON property `phoneNumber` - # @return [String] - attr_accessor :phone_number - - # The primary country code of the company. - # Corresponds to the JSON property `primaryCountryCode` - # @return [String] - attr_accessor :primary_country_code - - # The ID of the company. There may be no id if this is a - # pending company.5 - # Corresponds to the JSON property `companyId` - # @return [String] - attr_accessor :company_id - - # The primary language code of the company. - # Corresponds to the JSON property `primaryLanguageCode` - # @return [String] - attr_accessor :primary_language_code - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @logo_url = args[:logo_url] if args.key?(:logo_url) - @resolved_timestamp = args[:resolved_timestamp] if args.key?(:resolved_timestamp) - @company_admin = args[:company_admin] if args.key?(:company_admin) - @is_pending = args[:is_pending] if args.key?(:is_pending) - @address = args[:address] if args.key?(:address) - @creation_time = args[:creation_time] if args.key?(:creation_time) - @primary_address = args[:primary_address] if args.key?(:primary_address) - @state = args[:state] if args.key?(:state) - @name = args[:name] if args.key?(:name) - @manager_account = args[:manager_account] if args.key?(:manager_account) - @segment = args[:segment] if args.key?(:segment) - @internal_company_id = args[:internal_company_id] if args.key?(:internal_company_id) - @specialization_status = args[:specialization_status] if args.key?(:specialization_status) - @badge_tier = args[:badge_tier] if args.key?(:badge_tier) - @website = args[:website] if args.key?(:website) - @phone_number = args[:phone_number] if args.key?(:phone_number) - @primary_country_code = args[:primary_country_code] if args.key?(:primary_country_code) - @company_id = args[:company_id] if args.key?(:company_id) - @primary_language_code = args[:primary_language_code] if args.key?(:primary_language_code) - end - end - - # Represents a whole calendar date, e.g. 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. The day may be 0 to - # represent a year and month where the day is not significant, e.g. credit card - # expiration date. The year may be 0 to represent a month and day independent - # of year, e.g. anniversary date. Related types are google.type.TimeOfDay - # and `google.protobuf.Timestamp`. - class Date - include Google::Apis::Core::Hashable - - # 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 - - # Month of year. Must be from 1 to 12. - # Corresponds to the JSON property `month` - # @return [Fixnum] - attr_accessor :month - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @day = args[:day] if args.key?(:day) - @year = args[:year] if args.key?(:year) - @month = args[:month] if args.key?(:month) - 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 - - # Source of traffic for the current request. - class TrafficSource - include Google::Apis::Core::Hashable - - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # Corresponds to the JSON property `trafficSourceId` - # @return [String] - attr_accessor :traffic_source_id - - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # Corresponds to the JSON property `trafficSubId` - # @return [String] - attr_accessor :traffic_sub_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @traffic_source_id = args[:traffic_source_id] if args.key?(:traffic_source_id) - @traffic_sub_id = args[:traffic_sub_id] if args.key?(:traffic_sub_id) - end - end - - # Common data that is in each API request. - class RequestMetadata - include Google::Apis::Core::Hashable - - # Locale to use for the current request. - # Corresponds to the JSON property `locale` - # @return [String] - attr_accessor :locale - - # Google Partners session ID. - # Corresponds to the JSON property `partnersSessionId` - # @return [String] - attr_accessor :partners_session_id - - # Values to use instead of the user's respective defaults. These are only - # honored by whitelisted products. - # Corresponds to the JSON property `userOverrides` - # @return [Google::Apis::PartnersV2::UserOverrides] - attr_accessor :user_overrides - - # Source of traffic for the current request. - # Corresponds to the JSON property `trafficSource` - # @return [Google::Apis::PartnersV2::TrafficSource] - attr_accessor :traffic_source - - # Experiment IDs the current request belongs to. - # Corresponds to the JSON property `experimentIds` - # @return [Array] - attr_accessor :experiment_ids - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @locale = args[:locale] if args.key?(:locale) - @partners_session_id = args[:partners_session_id] if args.key?(:partners_session_id) - @user_overrides = args[:user_overrides] if args.key?(:user_overrides) - @traffic_source = args[:traffic_source] if args.key?(:traffic_source) - @experiment_ids = args[:experiment_ids] if args.key?(:experiment_ids) - end - end - - # Request message for CreateLead. - class CreateLeadRequest - include Google::Apis::Core::Hashable - - # Common data that is in each API request. - # Corresponds to the JSON property `requestMetadata` - # @return [Google::Apis::PartnersV2::RequestMetadata] - attr_accessor :request_metadata - - # reCaptcha challenge info. - # Corresponds to the JSON property `recaptchaChallenge` - # @return [Google::Apis::PartnersV2::RecaptchaChallenge] - attr_accessor :recaptcha_challenge - - # A lead resource that represents an advertiser contact for a `Company`. These - # are usually generated via Google Partner Search (the advertiser portal). - # Corresponds to the JSON property `lead` - # @return [Google::Apis::PartnersV2::Lead] - attr_accessor :lead - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @request_metadata = args[:request_metadata] if args.key?(:request_metadata) - @recaptcha_challenge = args[:recaptcha_challenge] if args.key?(:recaptcha_challenge) - @lead = args[:lead] if args.key?(:lead) - end - end - - # Key value data pair for an event. - class EventData - include Google::Apis::Core::Hashable - - # Data values. - # Corresponds to the JSON property `values` - # @return [Array] - attr_accessor :values - - # Data type. - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @values = args[:values] if args.key?(:values) - @key = args[:key] if args.key?(:key) - end - end - - # A user's information on a specific exam. - class ExamStatus - include Google::Apis::Core::Hashable - - # The date the user last taken this exam. - # Corresponds to the JSON property `taken` - # @return [String] - attr_accessor :taken - - # Whether this exam has been passed and not expired. - # Corresponds to the JSON property `passed` - # @return [Boolean] - attr_accessor :passed - alias_method :passed?, :passed - - # Whether this exam is in the state of warning. - # Corresponds to the JSON property `warning` - # @return [Boolean] - attr_accessor :warning - alias_method :warning?, :warning - - # Date this exam is due to expire. - # Corresponds to the JSON property `expiration` - # @return [String] - attr_accessor :expiration - - # The date the user last passed this exam. - # Corresponds to the JSON property `lastPassed` - # @return [String] - attr_accessor :last_passed - - # The type of the exam. - # Corresponds to the JSON property `examType` - # @return [String] - attr_accessor :exam_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @taken = args[:taken] if args.key?(:taken) - @passed = args[:passed] if args.key?(:passed) - @warning = args[:warning] if args.key?(:warning) - @expiration = args[:expiration] if args.key?(:expiration) - @last_passed = args[:last_passed] if args.key?(:last_passed) - @exam_type = args[:exam_type] if args.key?(:exam_type) - end - end - - # Response for ListOffer. - class ListOffersResponse - include Google::Apis::Core::Hashable - - # Common data that is in each API response. - # Corresponds to the JSON property `responseMetadata` - # @return [Google::Apis::PartnersV2::ResponseMetadata] - attr_accessor :response_metadata - - # Reason why no Offers are available. - # Corresponds to the JSON property `noOfferReason` - # @return [String] - attr_accessor :no_offer_reason - - # Available Offers to be distributed. - # Corresponds to the JSON property `availableOffers` - # @return [Array] - attr_accessor :available_offers - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @response_metadata = args[:response_metadata] if args.key?(:response_metadata) - @no_offer_reason = args[:no_offer_reason] if args.key?(:no_offer_reason) - @available_offers = args[:available_offers] if args.key?(:available_offers) - end - end - - # Offer info by country. - class CountryOfferInfo - include Google::Apis::Core::Hashable - - # Type of offer country is eligible for. - # Corresponds to the JSON property `offerType` - # @return [String] - attr_accessor :offer_type - - # (localized) Get Y amount for that country's offer. - # Corresponds to the JSON property `getYAmount` - # @return [String] - attr_accessor :get_y_amount - - # (localized) Spend X amount for that country's offer. - # Corresponds to the JSON property `spendXAmount` - # @return [String] - attr_accessor :spend_x_amount - - # Country code for which offer codes may be requested. - # Corresponds to the JSON property `offerCountryCode` - # @return [String] - attr_accessor :offer_country_code - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @offer_type = args[:offer_type] if args.key?(:offer_type) - @get_y_amount = args[:get_y_amount] if args.key?(:get_y_amount) - @spend_x_amount = args[:spend_x_amount] if args.key?(:spend_x_amount) - @offer_country_code = args[:offer_country_code] if args.key?(:offer_country_code) - end - end - - # Response message for - # ListCompanies. - class ListCompaniesResponse - include Google::Apis::Core::Hashable - - # A token to retrieve next page of results. - # Pass this value in the `ListCompaniesRequest.page_token` field in the - # subsequent call to - # ListCompanies to retrieve the - # next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Common data that is in each API response. - # Corresponds to the JSON property `responseMetadata` - # @return [Google::Apis::PartnersV2::ResponseMetadata] - attr_accessor :response_metadata - - # The list of companies. - # Corresponds to the JSON property `companies` - # @return [Array] - attr_accessor :companies - - 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) - @response_metadata = args[:response_metadata] if args.key?(:response_metadata) - @companies = args[:companies] if args.key?(:companies) - end - end - - # Customers qualified for an offer. - class OfferCustomer - include Google::Apis::Core::Hashable - - # URL to the customer's AdWords page. - # Corresponds to the JSON property `adwordsUrl` - # @return [String] - attr_accessor :adwords_url - - # Days the customer is still eligible. - # Corresponds to the JSON property `eligibilityDaysLeft` - # @return [Fixnum] - attr_accessor :eligibility_days_left - - # Time the customer was created. - # Corresponds to the JSON property `creationTime` - # @return [String] - attr_accessor :creation_time - - # Country code of the customer. - # Corresponds to the JSON property `countryCode` - # @return [String] - attr_accessor :country_code - - # External CID for the customer. - # Corresponds to the JSON property `externalCid` - # @return [Fixnum] - attr_accessor :external_cid - - # Type of the offer - # Corresponds to the JSON property `offerType` - # @return [String] - attr_accessor :offer_type - - # Formatted Get Y amount with currency code. - # Corresponds to the JSON property `getYAmount` - # @return [String] - attr_accessor :get_y_amount - - # Name of the customer. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Formatted Spend X amount with currency code. - # Corresponds to the JSON property `spendXAmount` - # @return [String] - attr_accessor :spend_x_amount - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @adwords_url = args[:adwords_url] if args.key?(:adwords_url) - @eligibility_days_left = args[:eligibility_days_left] if args.key?(:eligibility_days_left) - @creation_time = args[:creation_time] if args.key?(:creation_time) - @country_code = args[:country_code] if args.key?(:country_code) - @external_cid = args[:external_cid] if args.key?(:external_cid) - @offer_type = args[:offer_type] if args.key?(:offer_type) - @get_y_amount = args[:get_y_amount] if args.key?(:get_y_amount) - @name = args[:name] if args.key?(:name) - @spend_x_amount = args[:spend_x_amount] if args.key?(:spend_x_amount) - end - end - - # Google Partners certification status. - class CertificationStatus - include Google::Apis::Core::Hashable - - # The type of the certification. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # Number of people who are certified, - # Corresponds to the JSON property `userCount` - # @return [Fixnum] - attr_accessor :user_count - - # Whether certification is passing. - # Corresponds to the JSON property `isCertified` - # @return [Boolean] - attr_accessor :is_certified - alias_method :is_certified?, :is_certified - - # List of certification exam statuses. - # Corresponds to the JSON property `examStatuses` - # @return [Array] - attr_accessor :exam_statuses - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @type = args[:type] if args.key?(:type) - @user_count = args[:user_count] if args.key?(:user_count) - @is_certified = args[:is_certified] if args.key?(:is_certified) - @exam_statuses = args[:exam_statuses] if args.key?(:exam_statuses) - end - end - # The localized company information. class LocalizedCompanyInfo include Google::Apis::Core::Hashable + # List of country codes for the localized company info. + # Corresponds to the JSON property `countryCodes` + # @return [Array] + attr_accessor :country_codes + # Localized display name. # Corresponds to the JSON property `displayName` # @return [String] @@ -1304,11 +1475,6 @@ module Google # @return [String] attr_accessor :language_code - # List of country codes for the localized company info. - # Corresponds to the JSON property `countryCodes` - # @return [Array] - attr_accessor :country_codes - # Localized brief description that the company uses to advertise themselves. # Corresponds to the JSON property `overview` # @return [String] @@ -1320,573 +1486,44 @@ module Google # Update properties of this object def update!(**args) + @country_codes = args[:country_codes] if args.key?(:country_codes) @display_name = args[:display_name] if args.key?(:display_name) @language_code = args[:language_code] if args.key?(:language_code) - @country_codes = args[:country_codes] if args.key?(:country_codes) @overview = args[:overview] if args.key?(:overview) end end - # Response message for - # LogUserEvent. - class LogUserEventResponse - include Google::Apis::Core::Hashable - - # Common data that is in each API response. - # Corresponds to the JSON property `responseMetadata` - # @return [Google::Apis::PartnersV2::ResponseMetadata] - attr_accessor :response_metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @response_metadata = args[:response_metadata] if args.key?(:response_metadata) - end - end - - # Response for ListOfferHistory. - class ListOffersHistoryResponse - include Google::Apis::Core::Hashable - - # Supply this token in a ListOffersHistoryRequest to retrieve the next page. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Common data that is in each API response. - # Corresponds to the JSON property `responseMetadata` - # @return [Google::Apis::PartnersV2::ResponseMetadata] - attr_accessor :response_metadata - - # True if the user has the option to show entire company history. - # Corresponds to the JSON property `canShowEntireCompany` - # @return [Boolean] - attr_accessor :can_show_entire_company - alias_method :can_show_entire_company?, :can_show_entire_company - - # Number of results across all pages. - # Corresponds to the JSON property `totalResults` - # @return [Fixnum] - attr_accessor :total_results - - # True if this response is showing entire company history. - # Corresponds to the JSON property `showingEntireCompany` - # @return [Boolean] - attr_accessor :showing_entire_company - alias_method :showing_entire_company?, :showing_entire_company - - # Historical offers meeting request. - # Corresponds to the JSON property `offers` - # @return [Array] - attr_accessor :offers - - 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) - @response_metadata = args[:response_metadata] if args.key?(:response_metadata) - @can_show_entire_company = args[:can_show_entire_company] if args.key?(:can_show_entire_company) - @total_results = args[:total_results] if args.key?(:total_results) - @showing_entire_company = args[:showing_entire_company] if args.key?(:showing_entire_company) - @offers = args[:offers] if args.key?(:offers) - end - end - - # Response message for - # LogClientMessage. - class LogMessageResponse - include Google::Apis::Core::Hashable - - # Common data that is in each API response. - # Corresponds to the JSON property `responseMetadata` - # @return [Google::Apis::PartnersV2::ResponseMetadata] - attr_accessor :response_metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @response_metadata = args[:response_metadata] if args.key?(:response_metadata) - end - end - - # Agency specialization status - class SpecializationStatus - include Google::Apis::Core::Hashable - - # The specialization this status is for. - # Corresponds to the JSON property `badgeSpecialization` - # @return [String] - attr_accessor :badge_specialization - - # State of agency specialization. - # Corresponds to the JSON property `badgeSpecializationState` - # @return [String] - attr_accessor :badge_specialization_state - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @badge_specialization = args[:badge_specialization] if args.key?(:badge_specialization) - @badge_specialization_state = args[:badge_specialization_state] if args.key?(:badge_specialization_state) - end - end - - # A user's information on a specific certification. - class Certification - include Google::Apis::Core::Hashable - - # The date the user last achieved certification. - # Corresponds to the JSON property `lastAchieved` - # @return [String] - attr_accessor :last_achieved - - # Whether this certification is in the state of warning. - # Corresponds to the JSON property `warning` - # @return [Boolean] - attr_accessor :warning - alias_method :warning?, :warning - - # Date this certification is due to expire. - # Corresponds to the JSON property `expiration` - # @return [String] - attr_accessor :expiration - - # Whether this certification has been achieved. - # Corresponds to the JSON property `achieved` - # @return [Boolean] - attr_accessor :achieved - alias_method :achieved?, :achieved - - # The type of certification, the area of expertise. - # Corresponds to the JSON property `certificationType` - # @return [String] - attr_accessor :certification_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @last_achieved = args[:last_achieved] if args.key?(:last_achieved) - @warning = args[:warning] if args.key?(:warning) - @expiration = args[:expiration] if args.key?(:expiration) - @achieved = args[:achieved] if args.key?(:achieved) - @certification_type = args[:certification_type] if args.key?(:certification_type) - end - end - - # A resource representing a user of the Partners platform. - class User - include Google::Apis::Core::Hashable - - # The list of emails the user has access to/can select as primary. - # @OutputOnly - # Corresponds to the JSON property `primaryEmails` - # @return [Array] - attr_accessor :primary_emails - - # This is the list of AdWords Manager Accounts the user has edit access to. - # If the user has edit access to multiple accounts, the user can choose the - # preferred account and we use this when a personal account is needed. Can - # be empty meaning the user has access to no accounts. - # @OutputOnly - # Corresponds to the JSON property `availableAdwordsManagerAccounts` - # @return [Array] - attr_accessor :available_adwords_manager_accounts - - # The internal user ID. - # Only available for a whitelisted set of api clients. - # Corresponds to the JSON property `internalId` - # @return [String] - attr_accessor :internal_id - - # The list of exams the user ever taken. For each type of exam, only one - # entry is listed. - # Corresponds to the JSON property `examStatus` - # @return [Array] - attr_accessor :exam_status - - # The ID of the user. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Basic information from a public profile. - # Corresponds to the JSON property `publicProfile` - # @return [Google::Apis::PartnersV2::PublicProfile] - attr_accessor :public_profile - - # The email address used by the user used for company verification. - # @OutputOnly - # Corresponds to the JSON property `companyVerificationEmail` - # @return [String] - attr_accessor :company_verification_email - - # The list of achieved certifications. These are calculated based on exam - # results and other requirements. - # @OutputOnly - # Corresponds to the JSON property `certificationStatus` - # @return [Array] - attr_accessor :certification_status - - # The profile information of a Partners user. - # Corresponds to the JSON property `profile` - # @return [Google::Apis::PartnersV2::UserProfile] - attr_accessor :profile - - # A CompanyRelation resource representing information about a user's - # affiliation and standing with a company in Partners. - # Corresponds to the JSON property `company` - # @return [Google::Apis::PartnersV2::CompanyRelation] - attr_accessor :company - - # The most recent time the user interacted with the Partners site. - # @OutputOnly - # Corresponds to the JSON property `lastAccessTime` - # @return [String] - attr_accessor :last_access_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @primary_emails = args[:primary_emails] if args.key?(:primary_emails) - @available_adwords_manager_accounts = args[:available_adwords_manager_accounts] if args.key?(:available_adwords_manager_accounts) - @internal_id = args[:internal_id] if args.key?(:internal_id) - @exam_status = args[:exam_status] if args.key?(:exam_status) - @id = args[:id] if args.key?(:id) - @public_profile = args[:public_profile] if args.key?(:public_profile) - @company_verification_email = args[:company_verification_email] if args.key?(:company_verification_email) - @certification_status = args[:certification_status] if args.key?(:certification_status) - @profile = args[:profile] if args.key?(:profile) - @company = args[:company] if args.key?(:company) - @last_access_time = args[:last_access_time] if args.key?(:last_access_time) - end - end - - # Response message for - # ListAnalytics. - class ListAnalyticsResponse - include Google::Apis::Core::Hashable - - # A token to retrieve next page of results. - # Pass this value in the `ListAnalyticsRequest.page_token` field in the - # subsequent call to - # ListAnalytics to retrieve the - # next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Analytics aggregated data for a `Company` for a given date range. - # Corresponds to the JSON property `analyticsSummary` - # @return [Google::Apis::PartnersV2::AnalyticsSummary] - attr_accessor :analytics_summary - - # Common data that is in each API response. - # Corresponds to the JSON property `responseMetadata` - # @return [Google::Apis::PartnersV2::ResponseMetadata] - attr_accessor :response_metadata - - # The list of analytics. - # Sorted in ascending order of - # Analytics.event_date. - # Corresponds to the JSON property `analytics` - # @return [Array] - attr_accessor :analytics - - 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) - @analytics_summary = args[:analytics_summary] if args.key?(:analytics_summary) - @response_metadata = args[:response_metadata] if args.key?(:response_metadata) - @analytics = args[:analytics] if args.key?(:analytics) - end - end - - # Response message for ListLeads. - class ListLeadsResponse - include Google::Apis::Core::Hashable - - # A token to retrieve next page of results. - # Pass this value in the `ListLeadsRequest.page_token` field in the - # subsequent call to - # ListLeads to retrieve the - # next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The total count of leads for the given company. - # Corresponds to the JSON property `totalSize` - # @return [Fixnum] - attr_accessor :total_size - - # Common data that is in each API response. - # Corresponds to the JSON property `responseMetadata` - # @return [Google::Apis::PartnersV2::ResponseMetadata] - attr_accessor :response_metadata - - # The list of leads. - # Corresponds to the JSON property `leads` - # @return [Array] - attr_accessor :leads - - 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) - @total_size = args[:total_size] if args.key?(:total_size) - @response_metadata = args[:response_metadata] if args.key?(:response_metadata) - @leads = args[:leads] if args.key?(:leads) - end - end - - # A company resource in the Google Partners API. Once certified, it qualifies - # for being searched by advertisers. - class Company - include Google::Apis::Core::Hashable - - # The list of all company locations. - # If set, must include the - # primary_location - # in the list. - # Corresponds to the JSON property `locations` - # @return [Array] - attr_accessor :locations - - # Represents an amount of money with its currency type. - # Corresponds to the JSON property `convertedMinMonthlyBudget` - # @return [Google::Apis::PartnersV2::Money] - attr_accessor :converted_min_monthly_budget - - # Industries the company can help with. - # Corresponds to the JSON property `industries` - # @return [Array] - attr_accessor :industries - - # URL of the company's additional websites used to verify the dynamic badges. - # These are stored as full URLs as entered by the user, but only the TLD will - # be used for the actual verification. - # Corresponds to the JSON property `additionalWebsites` - # @return [Array] - attr_accessor :additional_websites - - # URL of the company's website. - # Corresponds to the JSON property `websiteUrl` - # @return [String] - attr_accessor :website_url - - # The Primary AdWords Manager Account id. - # Corresponds to the JSON property `primaryAdwordsManagerAccountId` - # @return [Fixnum] - attr_accessor :primary_adwords_manager_account_id - - # The name of the company. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The list of localized info for the company. - # Corresponds to the JSON property `localizedInfos` - # @return [Array] - attr_accessor :localized_infos - - # The list of Google Partners certification statuses for the company. - # Corresponds to the JSON property `certificationStatuses` - # @return [Array] - attr_accessor :certification_statuses - - # The ID of the company. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Represents an amount of money with its currency type. - # Corresponds to the JSON property `originalMinMonthlyBudget` - # @return [Google::Apis::PartnersV2::Money] - attr_accessor :original_min_monthly_budget - - # Basic information from a public profile. - # Corresponds to the JSON property `publicProfile` - # @return [Google::Apis::PartnersV2::PublicProfile] - attr_accessor :public_profile - - # Services the company can help with. - # Corresponds to the JSON property `services` - # @return [Array] - attr_accessor :services - - # A location with address and geographic coordinates. May optionally contain a - # detailed (multi-field) version of the address. - # Corresponds to the JSON property `primaryLocation` - # @return [Google::Apis::PartnersV2::Location] - attr_accessor :primary_location - - # Information related to the ranking of the company within the list of - # companies. - # Corresponds to the JSON property `ranks` - # @return [Array] - attr_accessor :ranks - - # Partner badge tier - # Corresponds to the JSON property `badgeTier` - # @return [String] - attr_accessor :badge_tier - - # The list of Google Partners specialization statuses for the company. - # Corresponds to the JSON property `specializationStatus` - # @return [Array] - attr_accessor :specialization_status - - # Email domains that allow users with a matching email address to get - # auto-approved for associating with this company. - # Corresponds to the JSON property `autoApprovalEmailDomains` - # @return [Array] - attr_accessor :auto_approval_email_domains - - # Company type labels listed on the company's profile. - # Corresponds to the JSON property `companyTypes` - # @return [Array] - attr_accessor :company_types - - # The public viewability status of the company's profile. - # Corresponds to the JSON property `profileStatus` - # @return [String] - attr_accessor :profile_status - - # The primary language code of the company, as defined by - # BCP 47 - # (IETF BCP 47, "Tags for Identifying Languages"). - # Corresponds to the JSON property `primaryLanguageCode` - # @return [String] - attr_accessor :primary_language_code - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @locations = args[:locations] if args.key?(:locations) - @converted_min_monthly_budget = args[:converted_min_monthly_budget] if args.key?(:converted_min_monthly_budget) - @industries = args[:industries] if args.key?(:industries) - @additional_websites = args[:additional_websites] if args.key?(:additional_websites) - @website_url = args[:website_url] if args.key?(:website_url) - @primary_adwords_manager_account_id = args[:primary_adwords_manager_account_id] if args.key?(:primary_adwords_manager_account_id) - @name = args[:name] if args.key?(:name) - @localized_infos = args[:localized_infos] if args.key?(:localized_infos) - @certification_statuses = args[:certification_statuses] if args.key?(:certification_statuses) - @id = args[:id] if args.key?(:id) - @original_min_monthly_budget = args[:original_min_monthly_budget] if args.key?(:original_min_monthly_budget) - @public_profile = args[:public_profile] if args.key?(:public_profile) - @services = args[:services] if args.key?(:services) - @primary_location = args[:primary_location] if args.key?(:primary_location) - @ranks = args[:ranks] if args.key?(:ranks) - @badge_tier = args[:badge_tier] if args.key?(:badge_tier) - @specialization_status = args[:specialization_status] if args.key?(:specialization_status) - @auto_approval_email_domains = args[:auto_approval_email_domains] if args.key?(:auto_approval_email_domains) - @company_types = args[:company_types] if args.key?(:company_types) - @profile_status = args[:profile_status] if args.key?(:profile_status) - @primary_language_code = args[:primary_language_code] if args.key?(:primary_language_code) - end - end - - # Response message for CreateLead. - class CreateLeadResponse - include Google::Apis::Core::Hashable - - # Common data that is in each API response. - # Corresponds to the JSON property `responseMetadata` - # @return [Google::Apis::PartnersV2::ResponseMetadata] - attr_accessor :response_metadata - - # The outcome of reCaptcha - # validation. - # Corresponds to the JSON property `recaptchaStatus` - # @return [String] - attr_accessor :recaptcha_status - - # A lead resource that represents an advertiser contact for a `Company`. These - # are usually generated via Google Partner Search (the advertiser portal). - # Corresponds to the JSON property `lead` - # @return [Google::Apis::PartnersV2::Lead] - attr_accessor :lead - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @response_metadata = args[:response_metadata] if args.key?(:response_metadata) - @recaptcha_status = args[:recaptcha_status] if args.key?(:recaptcha_status) - @lead = args[:lead] if args.key?(:lead) - end - end - - # Response message for GetCompany. - class GetCompanyResponse - include Google::Apis::Core::Hashable - - # Common data that is in each API response. - # Corresponds to the JSON property `responseMetadata` - # @return [Google::Apis::PartnersV2::ResponseMetadata] - attr_accessor :response_metadata - - # A company resource in the Google Partners API. Once certified, it qualifies - # for being searched by advertisers. - # Corresponds to the JSON property `company` - # @return [Google::Apis::PartnersV2::Company] - attr_accessor :company - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @response_metadata = args[:response_metadata] if args.key?(:response_metadata) - @company = args[:company] if args.key?(:company) - end - end - # A location with address and geographic coordinates. May optionally contain a # detailed (multi-field) version of the address. class Location include Google::Apis::Core::Hashable + # The single string version of the address. + # Corresponds to the JSON property `address` + # @return [String] + attr_accessor :address + + # The following address lines represent the most specific part of any + # address. + # Corresponds to the JSON property `addressLine` + # @return [Array] + attr_accessor :address_line + # Top-level administrative subdivision of this country. # Corresponds to the JSON property `administrativeArea` # @return [String] attr_accessor :administrative_area - # Generally refers to the city/town portion of an address. - # Corresponds to the JSON property `locality` + # Dependent locality or sublocality. Used for UK dependent localities, or + # neighborhoods or boroughs in other locations. + # Corresponds to the JSON property `dependentLocality` # @return [String] - attr_accessor :locality + attr_accessor :dependent_locality + + # Language code of the address. Should be in BCP 47 format. + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code # An object representing a latitude/longitude pair. This is expressed as a pair # of doubles representing degrees latitude and degrees longitude. Unless @@ -1927,31 +1564,20 @@ module Google # @return [Google::Apis::PartnersV2::LatLng] attr_accessor :lat_lng - # The single string version of the address. - # Corresponds to the JSON property `address` + # Generally refers to the city/town portion of an address. + # Corresponds to the JSON property `locality` # @return [String] - attr_accessor :address - - # CLDR (Common Locale Data Repository) region code . - # Corresponds to the JSON property `regionCode` - # @return [String] - attr_accessor :region_code - - # Dependent locality or sublocality. Used for UK dependent localities, or - # neighborhoods or boroughs in other locations. - # Corresponds to the JSON property `dependentLocality` - # @return [String] - attr_accessor :dependent_locality + attr_accessor :locality # Values are frequently alphanumeric. # Corresponds to the JSON property `postalCode` # @return [String] attr_accessor :postal_code - # Language code of the address. Should be in BCP 47 format. - # Corresponds to the JSON property `languageCode` + # CLDR (Common Locale Data Repository) region code . + # Corresponds to the JSON property `regionCode` # @return [String] - attr_accessor :language_code + attr_accessor :region_code # Use of this code is very country-specific, but will refer to a secondary # classification code for sorting mail. @@ -1959,44 +1585,49 @@ module Google # @return [String] attr_accessor :sorting_code - # The following address lines represent the most specific part of any - # address. - # Corresponds to the JSON property `addressLine` - # @return [Array] - attr_accessor :address_line - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @administrative_area = args[:administrative_area] if args.key?(:administrative_area) - @locality = args[:locality] if args.key?(:locality) - @lat_lng = args[:lat_lng] if args.key?(:lat_lng) @address = args[:address] if args.key?(:address) - @region_code = args[:region_code] if args.key?(:region_code) - @dependent_locality = args[:dependent_locality] if args.key?(:dependent_locality) - @postal_code = args[:postal_code] if args.key?(:postal_code) - @language_code = args[:language_code] if args.key?(:language_code) - @sorting_code = args[:sorting_code] if args.key?(:sorting_code) @address_line = args[:address_line] if args.key?(:address_line) + @administrative_area = args[:administrative_area] if args.key?(:administrative_area) + @dependent_locality = args[:dependent_locality] if args.key?(:dependent_locality) + @language_code = args[:language_code] if args.key?(:language_code) + @lat_lng = args[:lat_lng] if args.key?(:lat_lng) + @locality = args[:locality] if args.key?(:locality) + @postal_code = args[:postal_code] if args.key?(:postal_code) + @region_code = args[:region_code] if args.key?(:region_code) + @sorting_code = args[:sorting_code] if args.key?(:sorting_code) end end - # Status for a Google Partners certification exam. - class CertificationExamStatus + # Request message for + # LogClientMessage. + class LogMessageRequest include Google::Apis::Core::Hashable - # The number of people who have passed the certification exam. - # Corresponds to the JSON property `numberUsersPass` - # @return [Fixnum] - attr_accessor :number_users_pass + # Map of client info, such as URL, browser navigator, browser platform, etc. + # Corresponds to the JSON property `clientInfo` + # @return [Hash] + attr_accessor :client_info - # The type of certification exam. - # Corresponds to the JSON property `type` + # Details about the client message. + # Corresponds to the JSON property `details` # @return [String] - attr_accessor :type + attr_accessor :details + + # Message level of client message. + # Corresponds to the JSON property `level` + # @return [String] + attr_accessor :level + + # Common data that is in each API request. + # Corresponds to the JSON property `requestMetadata` + # @return [Google::Apis::PartnersV2::RequestMetadata] + attr_accessor :request_metadata def initialize(**args) update!(**args) @@ -2004,29 +1635,22 @@ module Google # Update properties of this object def update!(**args) - @number_users_pass = args[:number_users_pass] if args.key?(:number_users_pass) - @type = args[:type] if args.key?(:type) + @client_info = args[:client_info] if args.key?(:client_info) + @details = args[:details] if args.key?(:details) + @level = args[:level] if args.key?(:level) + @request_metadata = args[:request_metadata] if args.key?(:request_metadata) end end - # A token that allows a user to take an exam. - class ExamToken + # Response message for + # LogClientMessage. + class LogMessageResponse include Google::Apis::Core::Hashable - # The id of the exam the token is for. - # Corresponds to the JSON property `examId` - # @return [Fixnum] - attr_accessor :exam_id - - # The token, only present if the user has access to the exam. - # Corresponds to the JSON property `token` - # @return [String] - attr_accessor :token - - # The type of the exam the token belongs to. - # Corresponds to the JSON property `examType` - # @return [String] - attr_accessor :exam_type + # Common data that is in each API response. + # Corresponds to the JSON property `responseMetadata` + # @return [Google::Apis::PartnersV2::ResponseMetadata] + attr_accessor :response_metadata def initialize(**args) update!(**args) @@ -2034,9 +1658,188 @@ module Google # Update properties of this object def update!(**args) - @exam_id = args[:exam_id] if args.key?(:exam_id) - @token = args[:token] if args.key?(:token) - @exam_type = args[:exam_type] if args.key?(:exam_type) + @response_metadata = args[:response_metadata] if args.key?(:response_metadata) + end + end + + # Request message for + # LogUserEvent. + class LogUserEventRequest + include Google::Apis::Core::Hashable + + # The action that occurred. + # Corresponds to the JSON property `eventAction` + # @return [String] + attr_accessor :event_action + + # The category the action belongs to. + # Corresponds to the JSON property `eventCategory` + # @return [String] + attr_accessor :event_category + + # List of event data for the event. + # Corresponds to the JSON property `eventDatas` + # @return [Array] + attr_accessor :event_datas + + # The scope of the event. + # Corresponds to the JSON property `eventScope` + # @return [String] + attr_accessor :event_scope + + # A lead resource that represents an advertiser contact for a `Company`. These + # are usually generated via Google Partner Search (the advertiser portal). + # Corresponds to the JSON property `lead` + # @return [Google::Apis::PartnersV2::Lead] + attr_accessor :lead + + # Common data that is in each API request. + # Corresponds to the JSON property `requestMetadata` + # @return [Google::Apis::PartnersV2::RequestMetadata] + attr_accessor :request_metadata + + # The URL where the event occurred. + # 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) + @event_action = args[:event_action] if args.key?(:event_action) + @event_category = args[:event_category] if args.key?(:event_category) + @event_datas = args[:event_datas] if args.key?(:event_datas) + @event_scope = args[:event_scope] if args.key?(:event_scope) + @lead = args[:lead] if args.key?(:lead) + @request_metadata = args[:request_metadata] if args.key?(:request_metadata) + @url = args[:url] if args.key?(:url) + end + end + + # Response message for + # LogUserEvent. + class LogUserEventResponse + include Google::Apis::Core::Hashable + + # Common data that is in each API response. + # Corresponds to the JSON property `responseMetadata` + # @return [Google::Apis::PartnersV2::ResponseMetadata] + attr_accessor :response_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @response_metadata = args[:response_metadata] if args.key?(:response_metadata) + end + end + + # Represents an amount of money with its currency type. + class Money + include Google::Apis::Core::Hashable + + # The 3-letter currency code defined in ISO 4217. + # Corresponds to the JSON property `currencyCode` + # @return [String] + attr_accessor :currency_code + + # Number of nano (10^-9) units of the amount. + # The value must be between -999,999,999 and +999,999,999 inclusive. + # If `units` is positive, `nanos` must be positive or zero. + # If `units` is zero, `nanos` can be positive, zero, or negative. + # If `units` is negative, `nanos` must be negative or zero. + # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. + # Corresponds to the JSON property `nanos` + # @return [Fixnum] + attr_accessor :nanos + + # The whole units of the amount. + # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + # Corresponds to the JSON property `units` + # @return [Fixnum] + attr_accessor :units + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @currency_code = args[:currency_code] if args.key?(:currency_code) + @nanos = args[:nanos] if args.key?(:nanos) + @units = args[:units] if args.key?(:units) + end + end + + # Customers qualified for an offer. + class OfferCustomer + include Google::Apis::Core::Hashable + + # URL to the customer's AdWords page. + # Corresponds to the JSON property `adwordsUrl` + # @return [String] + attr_accessor :adwords_url + + # Country code of the customer. + # Corresponds to the JSON property `countryCode` + # @return [String] + attr_accessor :country_code + + # Time the customer was created. + # Corresponds to the JSON property `creationTime` + # @return [String] + attr_accessor :creation_time + + # Days the customer is still eligible. + # Corresponds to the JSON property `eligibilityDaysLeft` + # @return [Fixnum] + attr_accessor :eligibility_days_left + + # External CID for the customer. + # Corresponds to the JSON property `externalCid` + # @return [Fixnum] + attr_accessor :external_cid + + # Formatted Get Y amount with currency code. + # Corresponds to the JSON property `getYAmount` + # @return [String] + attr_accessor :get_y_amount + + # Name of the customer. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Type of the offer + # Corresponds to the JSON property `offerType` + # @return [String] + attr_accessor :offer_type + + # Formatted Spend X amount with currency code. + # Corresponds to the JSON property `spendXAmount` + # @return [String] + attr_accessor :spend_x_amount + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @adwords_url = args[:adwords_url] if args.key?(:adwords_url) + @country_code = args[:country_code] if args.key?(:country_code) + @creation_time = args[:creation_time] if args.key?(:creation_time) + @eligibility_days_left = args[:eligibility_days_left] if args.key?(:eligibility_days_left) + @external_cid = args[:external_cid] if args.key?(:external_cid) + @get_y_amount = args[:get_y_amount] if args.key?(:get_y_amount) + @name = args[:name] if args.key?(:name) + @offer_type = args[:offer_type] if args.key?(:offer_type) + @spend_x_amount = args[:spend_x_amount] if args.key?(:spend_x_amount) end end @@ -2051,12 +1854,6 @@ module Google attr_accessor :market_comm alias_method :market_comm?, :market_comm - # An opt-in about receiving email regarding new features and products. - # Corresponds to the JSON property `specialOffers` - # @return [Boolean] - attr_accessor :special_offers - alias_method :special_offers?, :special_offers - # An opt-in about receiving email with customized AdWords campaign management # tips. # Corresponds to the JSON property `performanceSuggestions` @@ -2076,6 +1873,12 @@ module Google attr_accessor :physical_mail alias_method :physical_mail?, :physical_mail + # An opt-in about receiving email regarding new features and products. + # Corresponds to the JSON property `specialOffers` + # @return [Boolean] + attr_accessor :special_offers + alias_method :special_offers?, :special_offers + def initialize(**args) update!(**args) end @@ -2083,26 +1886,69 @@ module Google # Update properties of this object def update!(**args) @market_comm = args[:market_comm] if args.key?(:market_comm) - @special_offers = args[:special_offers] if args.key?(:special_offers) @performance_suggestions = args[:performance_suggestions] if args.key?(:performance_suggestions) @phone_contact = args[:phone_contact] if args.key?(:phone_contact) @physical_mail = args[:physical_mail] if args.key?(:physical_mail) + @special_offers = args[:special_offers] if args.key?(:special_offers) end end - # Information related to ranking of results. - class Rank + # Basic information from a public profile. + class PublicProfile include Google::Apis::Core::Hashable - # The numerical value of the rank. - # Corresponds to the JSON property `value` - # @return [Float] - attr_accessor :value - - # The type of rank. - # Corresponds to the JSON property `type` + # The URL to the main display image of the public profile. Being deprecated. + # Corresponds to the JSON property `displayImageUrl` # @return [String] - attr_accessor :type + attr_accessor :display_image_url + + # The display name of the public profile. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The ID which can be used to retrieve more details about the public profile. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The URL to the main profile image of the public profile. + # Corresponds to the JSON property `profileImage` + # @return [String] + attr_accessor :profile_image + + # The URL of the public profile. + # 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) + @display_image_url = args[:display_image_url] if args.key?(:display_image_url) + @display_name = args[:display_name] if args.key?(:display_name) + @id = args[:id] if args.key?(:id) + @profile_image = args[:profile_image] if args.key?(:profile_image) + @url = args[:url] if args.key?(:url) + end + end + + # Information related to ranking of results. + class Rank + include Google::Apis::Core::Hashable + + # The type of rank. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The numerical value of the rank. + # Corresponds to the JSON property `value` + # @return [Float] + attr_accessor :value def initialize(**args) update!(**args) @@ -2110,8 +1956,267 @@ module Google # Update properties of this object def update!(**args) - @value = args[:value] if args.key?(:value) @type = args[:type] if args.key?(:type) + @value = args[:value] if args.key?(:value) + end + end + + # reCaptcha challenge info. + class RecaptchaChallenge + include Google::Apis::Core::Hashable + + # The ID of the reCaptcha challenge. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The response to the reCaptcha challenge. + # Corresponds to the JSON property `response` + # @return [String] + attr_accessor :response + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @response = args[:response] if args.key?(:response) + end + end + + # Common data that is in each API request. + class RequestMetadata + include Google::Apis::Core::Hashable + + # Experiment IDs the current request belongs to. + # Corresponds to the JSON property `experimentIds` + # @return [Array] + attr_accessor :experiment_ids + + # Locale to use for the current request. + # Corresponds to the JSON property `locale` + # @return [String] + attr_accessor :locale + + # Google Partners session ID. + # Corresponds to the JSON property `partnersSessionId` + # @return [String] + attr_accessor :partners_session_id + + # Source of traffic for the current request. + # Corresponds to the JSON property `trafficSource` + # @return [Google::Apis::PartnersV2::TrafficSource] + attr_accessor :traffic_source + + # Values to use instead of the user's respective defaults. These are only + # honored by whitelisted products. + # Corresponds to the JSON property `userOverrides` + # @return [Google::Apis::PartnersV2::UserOverrides] + attr_accessor :user_overrides + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @experiment_ids = args[:experiment_ids] if args.key?(:experiment_ids) + @locale = args[:locale] if args.key?(:locale) + @partners_session_id = args[:partners_session_id] if args.key?(:partners_session_id) + @traffic_source = args[:traffic_source] if args.key?(:traffic_source) + @user_overrides = args[:user_overrides] if args.key?(:user_overrides) + end + end + + # Common data that is in each API response. + class ResponseMetadata + include Google::Apis::Core::Hashable + + # Debug information about this request. + # Corresponds to the JSON property `debugInfo` + # @return [Google::Apis::PartnersV2::DebugInfo] + attr_accessor :debug_info + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @debug_info = args[:debug_info] if args.key?(:debug_info) + end + end + + # Agency specialization status + class SpecializationStatus + include Google::Apis::Core::Hashable + + # The specialization this status is for. + # Corresponds to the JSON property `badgeSpecialization` + # @return [String] + attr_accessor :badge_specialization + + # State of agency specialization. + # Corresponds to the JSON property `badgeSpecializationState` + # @return [String] + attr_accessor :badge_specialization_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @badge_specialization = args[:badge_specialization] if args.key?(:badge_specialization) + @badge_specialization_state = args[:badge_specialization_state] if args.key?(:badge_specialization_state) + end + end + + # Source of traffic for the current request. + class TrafficSource + include Google::Apis::Core::Hashable + + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # Corresponds to the JSON property `trafficSourceId` + # @return [String] + attr_accessor :traffic_source_id + + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # Corresponds to the JSON property `trafficSubId` + # @return [String] + attr_accessor :traffic_sub_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @traffic_source_id = args[:traffic_source_id] if args.key?(:traffic_source_id) + @traffic_sub_id = args[:traffic_sub_id] if args.key?(:traffic_sub_id) + end + end + + # A resource representing a user of the Partners platform. + class User + include Google::Apis::Core::Hashable + + # This is the list of AdWords Manager Accounts the user has edit access to. + # If the user has edit access to multiple accounts, the user can choose the + # preferred account and we use this when a personal account is needed. Can + # be empty meaning the user has access to no accounts. + # @OutputOnly + # Corresponds to the JSON property `availableAdwordsManagerAccounts` + # @return [Array] + attr_accessor :available_adwords_manager_accounts + + # The list of achieved certifications. These are calculated based on exam + # results and other requirements. + # @OutputOnly + # Corresponds to the JSON property `certificationStatus` + # @return [Array] + attr_accessor :certification_status + + # A CompanyRelation resource representing information about a user's + # affiliation and standing with a company in Partners. + # Corresponds to the JSON property `company` + # @return [Google::Apis::PartnersV2::CompanyRelation] + attr_accessor :company + + # The email address used by the user used for company verification. + # @OutputOnly + # Corresponds to the JSON property `companyVerificationEmail` + # @return [String] + attr_accessor :company_verification_email + + # The list of exams the user ever taken. For each type of exam, only one + # entry is listed. + # Corresponds to the JSON property `examStatus` + # @return [Array] + attr_accessor :exam_status + + # The ID of the user. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The internal user ID. + # Only available for a whitelisted set of api clients. + # Corresponds to the JSON property `internalId` + # @return [String] + attr_accessor :internal_id + + # The most recent time the user interacted with the Partners site. + # @OutputOnly + # Corresponds to the JSON property `lastAccessTime` + # @return [String] + attr_accessor :last_access_time + + # The list of emails the user has access to/can select as primary. + # @OutputOnly + # Corresponds to the JSON property `primaryEmails` + # @return [Array] + attr_accessor :primary_emails + + # The profile information of a Partners user. + # Corresponds to the JSON property `profile` + # @return [Google::Apis::PartnersV2::UserProfile] + attr_accessor :profile + + # Basic information from a public profile. + # Corresponds to the JSON property `publicProfile` + # @return [Google::Apis::PartnersV2::PublicProfile] + attr_accessor :public_profile + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @available_adwords_manager_accounts = args[:available_adwords_manager_accounts] if args.key?(:available_adwords_manager_accounts) + @certification_status = args[:certification_status] if args.key?(:certification_status) + @company = args[:company] if args.key?(:company) + @company_verification_email = args[:company_verification_email] if args.key?(:company_verification_email) + @exam_status = args[:exam_status] if args.key?(:exam_status) + @id = args[:id] if args.key?(:id) + @internal_id = args[:internal_id] if args.key?(:internal_id) + @last_access_time = args[:last_access_time] if args.key?(:last_access_time) + @primary_emails = args[:primary_emails] if args.key?(:primary_emails) + @profile = args[:profile] if args.key?(:profile) + @public_profile = args[:public_profile] if args.key?(:public_profile) + end + end + + # Values to use instead of the user's respective defaults. These are only + # honored by whitelisted products. + class UserOverrides + include Google::Apis::Core::Hashable + + # IP address to use instead of the user's geo-located IP address. + # Corresponds to the JSON property `ipAddress` + # @return [String] + attr_accessor :ip_address + + # Logged-in user ID to impersonate instead of the user's ID. + # Corresponds to the JSON property `userId` + # @return [String] + attr_accessor :user_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ip_address = args[:ip_address] if args.key?(:ip_address) + @user_id = args[:user_id] if args.key?(:user_id) end end @@ -2119,20 +2224,58 @@ module Google class UserProfile include Google::Apis::Core::Hashable - # The list of languages this user understands. - # Corresponds to the JSON property `languages` + # A location with address and geographic coordinates. May optionally contain a + # detailed (multi-field) version of the address. + # Corresponds to the JSON property `address` + # @return [Google::Apis::PartnersV2::Location] + attr_accessor :address + + # If the user has edit access to multiple accounts, the user can choose the + # preferred account and it is used when a personal account is needed. Can + # be empty. + # Corresponds to the JSON property `adwordsManagerAccount` + # @return [Fixnum] + attr_accessor :adwords_manager_account + + # A list of ids representing which channels the user selected they were in. + # Corresponds to the JSON property `channels` # @return [Array] - attr_accessor :languages + attr_accessor :channels + + # The email address the user has selected on the Partners site as primary. + # Corresponds to the JSON property `emailAddress` + # @return [String] + attr_accessor :email_address + + # A set of opt-ins for a user. + # Corresponds to the JSON property `emailOptIns` + # @return [Google::Apis::PartnersV2::OptIns] + attr_accessor :email_opt_ins # The user's family name. # Corresponds to the JSON property `familyName` # @return [String] attr_accessor :family_name - # A set of opt-ins for a user. - # Corresponds to the JSON property `emailOptIns` - # @return [Google::Apis::PartnersV2::OptIns] - attr_accessor :email_opt_ins + # The user's given name. + # Corresponds to the JSON property `givenName` + # @return [String] + attr_accessor :given_name + + # A list of ids representing which industries the user selected. + # Corresponds to the JSON property `industries` + # @return [Array] + attr_accessor :industries + + # A list of ids represnting which job categories the user selected. + # Corresponds to the JSON property `jobFunctions` + # @return [Array] + attr_accessor :job_functions + + # The list of languages this user understands. + # Corresponds to the JSON property `languages` + # @return [Array] + attr_accessor :languages # A list of ids representing which markets the user was interested in. # Corresponds to the JSON property `markets` @@ -2144,180 +2287,37 @@ module Google # @return [String] attr_accessor :phone_number - # If the user has edit access to multiple accounts, the user can choose the - # preferred account and it is used when a personal account is needed. Can - # be empty. - # Corresponds to the JSON property `adwordsManagerAccount` - # @return [Fixnum] - attr_accessor :adwords_manager_account - # The user's primary country, an ISO 2-character code. # Corresponds to the JSON property `primaryCountryCode` # @return [String] attr_accessor :primary_country_code - # The email address the user has selected on the Partners site as primary. - # Corresponds to the JSON property `emailAddress` - # @return [String] - attr_accessor :email_address - - # A list of ids representing which channels the user selected they were in. - # Corresponds to the JSON property `channels` - # @return [Array] - attr_accessor :channels - # Whether the user's public profile is visible to anyone with the URL. # Corresponds to the JSON property `profilePublic` # @return [Boolean] attr_accessor :profile_public alias_method :profile_public?, :profile_public - # A list of ids represnting which job categories the user selected. - # Corresponds to the JSON property `jobFunctions` - # @return [Array] - attr_accessor :job_functions - - # The user's given name. - # Corresponds to the JSON property `givenName` - # @return [String] - attr_accessor :given_name - - # A location with address and geographic coordinates. May optionally contain a - # detailed (multi-field) version of the address. - # Corresponds to the JSON property `address` - # @return [Google::Apis::PartnersV2::Location] - attr_accessor :address - - # A list of ids representing which industries the user selected. - # Corresponds to the JSON property `industries` - # @return [Array] - attr_accessor :industries - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @languages = args[:languages] if args.key?(:languages) - @family_name = args[:family_name] if args.key?(:family_name) + @address = args[:address] if args.key?(:address) + @adwords_manager_account = args[:adwords_manager_account] if args.key?(:adwords_manager_account) + @channels = args[:channels] if args.key?(:channels) + @email_address = args[:email_address] if args.key?(:email_address) @email_opt_ins = args[:email_opt_ins] if args.key?(:email_opt_ins) + @family_name = args[:family_name] if args.key?(:family_name) + @given_name = args[:given_name] if args.key?(:given_name) + @industries = args[:industries] if args.key?(:industries) + @job_functions = args[:job_functions] if args.key?(:job_functions) + @languages = args[:languages] if args.key?(:languages) @markets = args[:markets] if args.key?(:markets) @phone_number = args[:phone_number] if args.key?(:phone_number) - @adwords_manager_account = args[:adwords_manager_account] if args.key?(:adwords_manager_account) @primary_country_code = args[:primary_country_code] if args.key?(:primary_country_code) - @email_address = args[:email_address] if args.key?(:email_address) - @channels = args[:channels] if args.key?(:channels) @profile_public = args[:profile_public] if args.key?(:profile_public) - @job_functions = args[:job_functions] if args.key?(:job_functions) - @given_name = args[:given_name] if args.key?(:given_name) - @address = args[:address] if args.key?(:address) - @industries = args[:industries] if args.key?(:industries) - end - end - - # Response message for - # GetPartnersStatus. - class GetPartnersStatusResponse - include Google::Apis::Core::Hashable - - # Common data that is in each API response. - # Corresponds to the JSON property `responseMetadata` - # @return [Google::Apis::PartnersV2::ResponseMetadata] - attr_accessor :response_metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @response_metadata = args[:response_metadata] if args.key?(:response_metadata) - end - end - - # Historical information about a Google Partners Offer. - class HistoricalOffer - include Google::Apis::Core::Hashable - - # Time this offer expires. - # Corresponds to the JSON property `expirationTime` - # @return [String] - attr_accessor :expiration_time - - # Offer code. - # Corresponds to the JSON property `offerCode` - # @return [String] - attr_accessor :offer_code - - # Time offer was first created. - # Corresponds to the JSON property `creationTime` - # @return [String] - attr_accessor :creation_time - - # Status of the offer. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - # Email address for client. - # Corresponds to the JSON property `clientEmail` - # @return [String] - attr_accessor :client_email - - # ID of client. - # Corresponds to the JSON property `clientId` - # @return [Fixnum] - attr_accessor :client_id - - # Name of the client. - # Corresponds to the JSON property `clientName` - # @return [String] - attr_accessor :client_name - - # Time last action was taken. - # Corresponds to the JSON property `lastModifiedTime` - # @return [String] - attr_accessor :last_modified_time - - # Client's AdWords page URL. - # Corresponds to the JSON property `adwordsUrl` - # @return [String] - attr_accessor :adwords_url - - # Type of offer. - # Corresponds to the JSON property `offerType` - # @return [String] - attr_accessor :offer_type - - # Name (First + Last) of the partners user to whom the incentive is allocated. - # Corresponds to the JSON property `senderName` - # @return [String] - attr_accessor :sender_name - - # Country Code for the offer country. - # Corresponds to the JSON property `offerCountryCode` - # @return [String] - attr_accessor :offer_country_code - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @expiration_time = args[:expiration_time] if args.key?(:expiration_time) - @offer_code = args[:offer_code] if args.key?(:offer_code) - @creation_time = args[:creation_time] if args.key?(:creation_time) - @status = args[:status] if args.key?(:status) - @client_email = args[:client_email] if args.key?(:client_email) - @client_id = args[:client_id] if args.key?(:client_id) - @client_name = args[:client_name] if args.key?(:client_name) - @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) - @adwords_url = args[:adwords_url] if args.key?(:adwords_url) - @offer_type = args[:offer_type] if args.key?(:offer_type) - @sender_name = args[:sender_name] if args.key?(:sender_name) - @offer_country_code = args[:offer_country_code] if args.key?(:offer_country_code) end end end diff --git a/generated/google/apis/partners_v2/representations.rb b/generated/google/apis/partners_v2/representations.rb index 1b3dfef86..ab9f50626 100644 --- a/generated/google/apis/partners_v2/representations.rb +++ b/generated/google/apis/partners_v2/representations.rb @@ -22,19 +22,7 @@ module Google module Apis module PartnersV2 - class LogUserEventRequest - 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 AnalyticsDataPoint + class AdWordsManagerAccountInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -46,43 +34,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class AdWordsManagerAccountInfo - 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 ResponseMetadata - 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 AvailableOffer - 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 Money + class AnalyticsDataPoint class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -94,25 +46,31 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class LogMessageRequest + class AvailableOffer class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class DebugInfo + class Certification class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Lead + class CertificationExamStatus class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListUserStatesResponse + class CertificationStatus + 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 @@ -124,25 +82,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Date - 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 TrafficSource - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RequestMetadata + class CountryOfferInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -154,6 +94,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class CreateLeadResponse + 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 DebugInfo + 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 EventData class Representation < Google::Apis::Core::JsonRepresentation; end @@ -166,139 +130,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ListOffersResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CountryOfferInfo - 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 OfferCustomer - 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 LocalizedCompanyInfo - 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 ListOffersHistoryResponse - 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 SpecializationStatus - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Certification - 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 ListAnalyticsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListLeadsResponse - 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 CreateLeadResponse - 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 Location - 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 ExamToken class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class OptIns - 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 UserProfile + class GetCompanyResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -316,27 +154,187 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class LatLng + 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 ListAnalyticsResponse + 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 ListLeadsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListOffersHistoryResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListOffersResponse + 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 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 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 LogUserEventRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :event_datas, as: 'eventDatas', class: Google::Apis::PartnersV2::EventData, decorator: Google::Apis::PartnersV2::EventData::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :event_scope, as: 'eventScope' - property :event_category, as: 'eventCategory' - property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation + include Google::Apis::Core::JsonObjectSupport + end - property :event_action, as: 'eventAction' - property :url, as: 'url' - property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation + class LogUserEventResponse + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport + end + + class Money + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OfferCustomer + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OptIns + 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 Rank + 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 RequestMetadata + 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 SpecializationStatus + 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 User + 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 UserProfile + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AdWordsManagerAccountInfo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :user_id, as: 'userId' - property :ip_address, as: 'ipAddress' + property :customer_name, as: 'customerName' + property :id, :numeric_string => true, as: 'id' + end + end + + class Analytics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :contacts, as: 'contacts', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation + + property :event_date, as: 'eventDate', class: Google::Apis::PartnersV2::Date, decorator: Google::Apis::PartnersV2::Date::Representation + + property :profile_views, as: 'profileViews', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation + + property :search_views, as: 'searchViews', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation + end end @@ -349,483 +347,43 @@ module Google end end - class Analytics + class AnalyticsSummary # @private class Representation < Google::Apis::Core::JsonRepresentation - property :search_views, as: 'searchViews', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation - - property :profile_views, as: 'profileViews', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation - - property :event_date, as: 'eventDate', class: Google::Apis::PartnersV2::Date, decorator: Google::Apis::PartnersV2::Date::Representation - - property :contacts, as: 'contacts', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation - - end - end - - class AdWordsManagerAccountInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :customer_name, as: 'customerName' - property :id, :numeric_string => true, as: 'id' - end - end - - class PublicProfile - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' - property :id, as: 'id' - property :profile_image, as: 'profileImage' - property :display_image_url, as: 'displayImageUrl' - property :display_name, as: 'displayName' - end - end - - class ResponseMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :debug_info, as: 'debugInfo', class: Google::Apis::PartnersV2::DebugInfo, decorator: Google::Apis::PartnersV2::DebugInfo::Representation - - end - end - - class RecaptchaChallenge - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :response, as: 'response' + property :contacts_count, as: 'contactsCount' + property :profile_views_count, as: 'profileViewsCount' + property :search_views_count, as: 'searchViewsCount' end end class AvailableOffer # @private class Representation < Google::Apis::Core::JsonRepresentation - property :terms, as: 'terms' - property :show_special_offer_copy, as: 'showSpecialOfferCopy' property :available, as: 'available' - property :description, as: 'description' - property :offer_level, as: 'offerLevel' - property :name, as: 'name' - property :qualified_customers_complete, as: 'qualifiedCustomersComplete' - property :id, :numeric_string => true, as: 'id' collection :country_offer_infos, as: 'countryOfferInfos', class: Google::Apis::PartnersV2::CountryOfferInfo, decorator: Google::Apis::PartnersV2::CountryOfferInfo::Representation - property :offer_type, as: 'offerType' + property :description, as: 'description' + property :id, :numeric_string => true, as: 'id' property :max_account_age, as: 'maxAccountAge' + property :name, as: 'name' + property :offer_level, as: 'offerLevel' + property :offer_type, as: 'offerType' collection :qualified_customer, as: 'qualifiedCustomer', class: Google::Apis::PartnersV2::OfferCustomer, decorator: Google::Apis::PartnersV2::OfferCustomer::Representation - end - end - - class LatLng - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :latitude, as: 'latitude' - property :longitude, as: 'longitude' - end - end - - class Money - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :nanos, as: 'nanos' - property :units, :numeric_string => true, as: 'units' - property :currency_code, as: 'currencyCode' - end - end - - class AnalyticsSummary - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :profile_views_count, as: 'profileViewsCount' - property :search_views_count, as: 'searchViewsCount' - property :contacts_count, as: 'contactsCount' - end - end - - class LogMessageRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :client_info, as: 'clientInfo' - property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation - - property :level, as: 'level' - property :details, as: 'details' - end - end - - class DebugInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :server_trace_info, as: 'serverTraceInfo' - property :server_info, as: 'serverInfo' - property :service_url, as: 'serviceUrl' - end - end - - class Lead - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :family_name, as: 'familyName' - property :comments, as: 'comments' - property :id, as: 'id' - property :adwords_customer_id, :numeric_string => true, as: 'adwordsCustomerId' - property :phone_number, as: 'phoneNumber' - property :create_time, as: 'createTime' - property :marketing_opt_in, as: 'marketingOptIn' - property :type, as: 'type' - property :min_monthly_budget, as: 'minMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation - - property :given_name, as: 'givenName' - property :language_code, as: 'languageCode' - property :website_url, as: 'websiteUrl' - property :state, as: 'state' - collection :gps_motivations, as: 'gpsMotivations' - property :email, as: 'email' - end - end - - class ListUserStatesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation - - collection :user_states, as: 'userStates' - end - end - - class CompanyRelation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :logo_url, as: 'logoUrl' - property :resolved_timestamp, as: 'resolvedTimestamp' - property :company_admin, as: 'companyAdmin' - property :is_pending, as: 'isPending' - property :address, as: 'address' - property :creation_time, as: 'creationTime' - property :primary_address, as: 'primaryAddress', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation - - property :state, as: 'state' - property :name, as: 'name' - property :manager_account, :numeric_string => true, as: 'managerAccount' - collection :segment, as: 'segment' - property :internal_company_id, as: 'internalCompanyId' - collection :specialization_status, as: 'specializationStatus', class: Google::Apis::PartnersV2::SpecializationStatus, decorator: Google::Apis::PartnersV2::SpecializationStatus::Representation - - property :badge_tier, as: 'badgeTier' - property :website, as: 'website' - property :phone_number, as: 'phoneNumber' - property :primary_country_code, as: 'primaryCountryCode' - property :company_id, as: 'companyId' - property :primary_language_code, as: 'primaryLanguageCode' - end - end - - class Date - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :day, as: 'day' - property :year, as: 'year' - property :month, as: 'month' - end - end - - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class TrafficSource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :traffic_source_id, as: 'trafficSourceId' - property :traffic_sub_id, as: 'trafficSubId' - end - end - - class RequestMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :locale, as: 'locale' - property :partners_session_id, as: 'partnersSessionId' - property :user_overrides, as: 'userOverrides', class: Google::Apis::PartnersV2::UserOverrides, decorator: Google::Apis::PartnersV2::UserOverrides::Representation - - property :traffic_source, as: 'trafficSource', class: Google::Apis::PartnersV2::TrafficSource, decorator: Google::Apis::PartnersV2::TrafficSource::Representation - - collection :experiment_ids, as: 'experimentIds' - end - end - - class CreateLeadRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation - - property :recaptcha_challenge, as: 'recaptchaChallenge', class: Google::Apis::PartnersV2::RecaptchaChallenge, decorator: Google::Apis::PartnersV2::RecaptchaChallenge::Representation - - property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation - - end - end - - class EventData - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :values, as: 'values' - property :key, as: 'key' - end - end - - class ExamStatus - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :taken, as: 'taken' - property :passed, as: 'passed' - property :warning, as: 'warning' - property :expiration, as: 'expiration' - property :last_passed, as: 'lastPassed' - property :exam_type, as: 'examType' - end - end - - class ListOffersResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation - - property :no_offer_reason, as: 'noOfferReason' - collection :available_offers, as: 'availableOffers', class: Google::Apis::PartnersV2::AvailableOffer, decorator: Google::Apis::PartnersV2::AvailableOffer::Representation - - end - end - - class CountryOfferInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :offer_type, as: 'offerType' - property :get_y_amount, as: 'getYAmount' - property :spend_x_amount, as: 'spendXAmount' - property :offer_country_code, as: 'offerCountryCode' - end - end - - class ListCompaniesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation - - collection :companies, as: 'companies', class: Google::Apis::PartnersV2::Company, decorator: Google::Apis::PartnersV2::Company::Representation - - end - end - - class OfferCustomer - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :adwords_url, as: 'adwordsUrl' - property :eligibility_days_left, as: 'eligibilityDaysLeft' - property :creation_time, as: 'creationTime' - property :country_code, as: 'countryCode' - property :external_cid, :numeric_string => true, as: 'externalCid' - property :offer_type, as: 'offerType' - property :get_y_amount, as: 'getYAmount' - property :name, as: 'name' - property :spend_x_amount, as: 'spendXAmount' - end - end - - class CertificationStatus - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :user_count, as: 'userCount' - property :is_certified, as: 'isCertified' - collection :exam_statuses, as: 'examStatuses', class: Google::Apis::PartnersV2::CertificationExamStatus, decorator: Google::Apis::PartnersV2::CertificationExamStatus::Representation - - end - end - - class LocalizedCompanyInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :display_name, as: 'displayName' - property :language_code, as: 'languageCode' - collection :country_codes, as: 'countryCodes' - property :overview, as: 'overview' - end - end - - class LogUserEventResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation - - end - end - - class ListOffersHistoryResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation - - property :can_show_entire_company, as: 'canShowEntireCompany' - property :total_results, as: 'totalResults' - property :showing_entire_company, as: 'showingEntireCompany' - collection :offers, as: 'offers', class: Google::Apis::PartnersV2::HistoricalOffer, decorator: Google::Apis::PartnersV2::HistoricalOffer::Representation - - end - end - - class LogMessageResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation - - end - end - - class SpecializationStatus - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :badge_specialization, as: 'badgeSpecialization' - property :badge_specialization_state, as: 'badgeSpecializationState' + property :qualified_customers_complete, as: 'qualifiedCustomersComplete' + property :show_special_offer_copy, as: 'showSpecialOfferCopy' + property :terms, as: 'terms' end end class Certification # @private class Representation < Google::Apis::Core::JsonRepresentation - property :last_achieved, as: 'lastAchieved' - property :warning, as: 'warning' - property :expiration, as: 'expiration' property :achieved, as: 'achieved' property :certification_type, as: 'certificationType' - end - end - - class User - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :primary_emails, as: 'primaryEmails' - collection :available_adwords_manager_accounts, as: 'availableAdwordsManagerAccounts', class: Google::Apis::PartnersV2::AdWordsManagerAccountInfo, decorator: Google::Apis::PartnersV2::AdWordsManagerAccountInfo::Representation - - property :internal_id, as: 'internalId' - collection :exam_status, as: 'examStatus', class: Google::Apis::PartnersV2::ExamStatus, decorator: Google::Apis::PartnersV2::ExamStatus::Representation - - property :id, as: 'id' - property :public_profile, as: 'publicProfile', class: Google::Apis::PartnersV2::PublicProfile, decorator: Google::Apis::PartnersV2::PublicProfile::Representation - - property :company_verification_email, as: 'companyVerificationEmail' - collection :certification_status, as: 'certificationStatus', class: Google::Apis::PartnersV2::Certification, decorator: Google::Apis::PartnersV2::Certification::Representation - - property :profile, as: 'profile', class: Google::Apis::PartnersV2::UserProfile, decorator: Google::Apis::PartnersV2::UserProfile::Representation - - property :company, as: 'company', class: Google::Apis::PartnersV2::CompanyRelation, decorator: Google::Apis::PartnersV2::CompanyRelation::Representation - - property :last_access_time, as: 'lastAccessTime' - end - end - - class ListAnalyticsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - property :analytics_summary, as: 'analyticsSummary', class: Google::Apis::PartnersV2::AnalyticsSummary, decorator: Google::Apis::PartnersV2::AnalyticsSummary::Representation - - property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation - - collection :analytics, as: 'analytics', class: Google::Apis::PartnersV2::Analytics, decorator: Google::Apis::PartnersV2::Analytics::Representation - - end - end - - class ListLeadsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - property :total_size, as: 'totalSize' - property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation - - collection :leads, as: 'leads', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation - - end - end - - class Company - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :locations, as: 'locations', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation - - property :converted_min_monthly_budget, as: 'convertedMinMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation - - collection :industries, as: 'industries' - collection :additional_websites, as: 'additionalWebsites' - property :website_url, as: 'websiteUrl' - property :primary_adwords_manager_account_id, :numeric_string => true, as: 'primaryAdwordsManagerAccountId' - property :name, as: 'name' - collection :localized_infos, as: 'localizedInfos', class: Google::Apis::PartnersV2::LocalizedCompanyInfo, decorator: Google::Apis::PartnersV2::LocalizedCompanyInfo::Representation - - collection :certification_statuses, as: 'certificationStatuses', class: Google::Apis::PartnersV2::CertificationStatus, decorator: Google::Apis::PartnersV2::CertificationStatus::Representation - - property :id, as: 'id' - property :original_min_monthly_budget, as: 'originalMinMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation - - property :public_profile, as: 'publicProfile', class: Google::Apis::PartnersV2::PublicProfile, decorator: Google::Apis::PartnersV2::PublicProfile::Representation - - collection :services, as: 'services' - property :primary_location, as: 'primaryLocation', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation - - collection :ranks, as: 'ranks', class: Google::Apis::PartnersV2::Rank, decorator: Google::Apis::PartnersV2::Rank::Representation - - property :badge_tier, as: 'badgeTier' - collection :specialization_status, as: 'specializationStatus', class: Google::Apis::PartnersV2::SpecializationStatus, decorator: Google::Apis::PartnersV2::SpecializationStatus::Representation - - collection :auto_approval_email_domains, as: 'autoApprovalEmailDomains' - collection :company_types, as: 'companyTypes' - property :profile_status, as: 'profileStatus' - property :primary_language_code, as: 'primaryLanguageCode' - end - end - - class CreateLeadResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation - - property :recaptcha_status, as: 'recaptchaStatus' - property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation - - end - end - - class GetCompanyResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation - - property :company, as: 'company', class: Google::Apis::PartnersV2::Company, decorator: Google::Apis::PartnersV2::Company::Representation - - end - end - - class Location - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :administrative_area, as: 'administrativeArea' - property :locality, as: 'locality' - property :lat_lng, as: 'latLng', class: Google::Apis::PartnersV2::LatLng, decorator: Google::Apis::PartnersV2::LatLng::Representation - - property :address, as: 'address' - property :region_code, as: 'regionCode' - property :dependent_locality, as: 'dependentLocality' - property :postal_code, as: 'postalCode' - property :language_code, as: 'languageCode' - property :sorting_code, as: 'sortingCode' - collection :address_line, as: 'addressLine' + property :expiration, as: 'expiration' + property :last_achieved, as: 'lastAchieved' + property :warning, as: 'warning' end end @@ -837,53 +395,173 @@ module Google end end + class CertificationStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :exam_statuses, as: 'examStatuses', class: Google::Apis::PartnersV2::CertificationExamStatus, decorator: Google::Apis::PartnersV2::CertificationExamStatus::Representation + + property :is_certified, as: 'isCertified' + property :type, as: 'type' + property :user_count, as: 'userCount' + end + end + + class Company + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :additional_websites, as: 'additionalWebsites' + collection :auto_approval_email_domains, as: 'autoApprovalEmailDomains' + property :badge_tier, as: 'badgeTier' + collection :certification_statuses, as: 'certificationStatuses', class: Google::Apis::PartnersV2::CertificationStatus, decorator: Google::Apis::PartnersV2::CertificationStatus::Representation + + collection :company_types, as: 'companyTypes' + property :converted_min_monthly_budget, as: 'convertedMinMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation + + property :id, as: 'id' + collection :industries, as: 'industries' + collection :localized_infos, as: 'localizedInfos', class: Google::Apis::PartnersV2::LocalizedCompanyInfo, decorator: Google::Apis::PartnersV2::LocalizedCompanyInfo::Representation + + collection :locations, as: 'locations', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation + + property :name, as: 'name' + property :original_min_monthly_budget, as: 'originalMinMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation + + property :primary_adwords_manager_account_id, :numeric_string => true, as: 'primaryAdwordsManagerAccountId' + property :primary_language_code, as: 'primaryLanguageCode' + property :primary_location, as: 'primaryLocation', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation + + property :profile_status, as: 'profileStatus' + property :public_profile, as: 'publicProfile', class: Google::Apis::PartnersV2::PublicProfile, decorator: Google::Apis::PartnersV2::PublicProfile::Representation + + collection :ranks, as: 'ranks', class: Google::Apis::PartnersV2::Rank, decorator: Google::Apis::PartnersV2::Rank::Representation + + collection :services, as: 'services' + collection :specialization_status, as: 'specializationStatus', class: Google::Apis::PartnersV2::SpecializationStatus, decorator: Google::Apis::PartnersV2::SpecializationStatus::Representation + + property :website_url, as: 'websiteUrl' + end + end + + class CompanyRelation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :address, as: 'address' + property :badge_tier, as: 'badgeTier' + property :company_admin, as: 'companyAdmin' + property :company_id, as: 'companyId' + property :creation_time, as: 'creationTime' + property :internal_company_id, as: 'internalCompanyId' + property :is_pending, as: 'isPending' + property :logo_url, as: 'logoUrl' + property :manager_account, :numeric_string => true, as: 'managerAccount' + property :name, as: 'name' + property :phone_number, as: 'phoneNumber' + property :primary_address, as: 'primaryAddress', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation + + property :primary_country_code, as: 'primaryCountryCode' + property :primary_language_code, as: 'primaryLanguageCode' + property :resolved_timestamp, as: 'resolvedTimestamp' + collection :segment, as: 'segment' + collection :specialization_status, as: 'specializationStatus', class: Google::Apis::PartnersV2::SpecializationStatus, decorator: Google::Apis::PartnersV2::SpecializationStatus::Representation + + property :state, as: 'state' + property :website, as: 'website' + end + end + + class CountryOfferInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :get_y_amount, as: 'getYAmount' + property :offer_country_code, as: 'offerCountryCode' + property :offer_type, as: 'offerType' + property :spend_x_amount, as: 'spendXAmount' + end + end + + class CreateLeadRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation + + property :recaptcha_challenge, as: 'recaptchaChallenge', class: Google::Apis::PartnersV2::RecaptchaChallenge, decorator: Google::Apis::PartnersV2::RecaptchaChallenge::Representation + + property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation + + end + end + + class CreateLeadResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation + + property :recaptcha_status, as: 'recaptchaStatus' + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + + end + end + + class Date + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :day, as: 'day' + property :month, as: 'month' + property :year, as: 'year' + end + end + + class DebugInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :server_info, as: 'serverInfo' + property :server_trace_info, as: 'serverTraceInfo' + property :service_url, as: 'serviceUrl' + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class EventData + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + collection :values, as: 'values' + end + end + + class ExamStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :exam_type, as: 'examType' + property :expiration, as: 'expiration' + property :last_passed, as: 'lastPassed' + property :passed, as: 'passed' + property :taken, as: 'taken' + property :warning, as: 'warning' + end + end + class ExamToken # @private class Representation < Google::Apis::Core::JsonRepresentation property :exam_id, :numeric_string => true, as: 'examId' - property :token, as: 'token' property :exam_type, as: 'examType' + property :token, as: 'token' end end - class OptIns + class GetCompanyResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :market_comm, as: 'marketComm' - property :special_offers, as: 'specialOffers' - property :performance_suggestions, as: 'performanceSuggestions' - property :phone_contact, as: 'phoneContact' - property :physical_mail, as: 'physicalMail' - end - end + property :company, as: 'company', class: Google::Apis::PartnersV2::Company, decorator: Google::Apis::PartnersV2::Company::Representation - class Rank - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :type, as: 'type' - end - end + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation - class UserProfile - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :languages, as: 'languages' - property :family_name, as: 'familyName' - property :email_opt_ins, as: 'emailOptIns', class: Google::Apis::PartnersV2::OptIns, decorator: Google::Apis::PartnersV2::OptIns::Representation - - collection :markets, as: 'markets' - property :phone_number, as: 'phoneNumber' - property :adwords_manager_account, :numeric_string => true, as: 'adwordsManagerAccount' - property :primary_country_code, as: 'primaryCountryCode' - property :email_address, as: 'emailAddress' - collection :channels, as: 'channels' - property :profile_public, as: 'profilePublic' - collection :job_functions, as: 'jobFunctions' - property :given_name, as: 'givenName' - property :address, as: 'address', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation - - collection :industries, as: 'industries' end end @@ -898,18 +576,340 @@ module Google class HistoricalOffer # @private class Representation < Google::Apis::Core::JsonRepresentation - property :expiration_time, as: 'expirationTime' - property :offer_code, as: 'offerCode' - property :creation_time, as: 'creationTime' - property :status, as: 'status' + property :adwords_url, as: 'adwordsUrl' property :client_email, as: 'clientEmail' property :client_id, :numeric_string => true, as: 'clientId' property :client_name, as: 'clientName' + property :creation_time, as: 'creationTime' + property :expiration_time, as: 'expirationTime' property :last_modified_time, as: 'lastModifiedTime' - property :adwords_url, as: 'adwordsUrl' + property :offer_code, as: 'offerCode' + property :offer_country_code, as: 'offerCountryCode' property :offer_type, as: 'offerType' property :sender_name, as: 'senderName' - property :offer_country_code, as: 'offerCountryCode' + property :status, as: 'status' + end + end + + class LatLng + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :latitude, as: 'latitude' + property :longitude, as: 'longitude' + end + end + + class Lead + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :adwords_customer_id, :numeric_string => true, as: 'adwordsCustomerId' + property :comments, as: 'comments' + property :create_time, as: 'createTime' + property :email, as: 'email' + property :family_name, as: 'familyName' + property :given_name, as: 'givenName' + collection :gps_motivations, as: 'gpsMotivations' + property :id, as: 'id' + property :language_code, as: 'languageCode' + property :marketing_opt_in, as: 'marketingOptIn' + property :min_monthly_budget, as: 'minMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation + + property :phone_number, as: 'phoneNumber' + property :state, as: 'state' + property :type, as: 'type' + property :website_url, as: 'websiteUrl' + end + end + + class ListAnalyticsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :analytics, as: 'analytics', class: Google::Apis::PartnersV2::Analytics, decorator: Google::Apis::PartnersV2::Analytics::Representation + + property :analytics_summary, as: 'analyticsSummary', class: Google::Apis::PartnersV2::AnalyticsSummary, decorator: Google::Apis::PartnersV2::AnalyticsSummary::Representation + + property :next_page_token, as: 'nextPageToken' + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + + end + end + + class ListCompaniesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :companies, as: 'companies', class: Google::Apis::PartnersV2::Company, decorator: Google::Apis::PartnersV2::Company::Representation + + property :next_page_token, as: 'nextPageToken' + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + + end + end + + class ListLeadsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :leads, as: 'leads', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation + + property :next_page_token, as: 'nextPageToken' + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + + property :total_size, as: 'totalSize' + end + end + + class ListOffersHistoryResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :can_show_entire_company, as: 'canShowEntireCompany' + property :next_page_token, as: 'nextPageToken' + collection :offers, as: 'offers', class: Google::Apis::PartnersV2::HistoricalOffer, decorator: Google::Apis::PartnersV2::HistoricalOffer::Representation + + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + + property :showing_entire_company, as: 'showingEntireCompany' + property :total_results, as: 'totalResults' + end + end + + class ListOffersResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :available_offers, as: 'availableOffers', class: Google::Apis::PartnersV2::AvailableOffer, decorator: Google::Apis::PartnersV2::AvailableOffer::Representation + + property :no_offer_reason, as: 'noOfferReason' + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + + end + end + + class ListUserStatesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + + collection :user_states, as: 'userStates' + end + end + + class LocalizedCompanyInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :country_codes, as: 'countryCodes' + property :display_name, as: 'displayName' + property :language_code, as: 'languageCode' + property :overview, as: 'overview' + end + end + + class Location + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :address, as: 'address' + collection :address_line, as: 'addressLine' + property :administrative_area, as: 'administrativeArea' + property :dependent_locality, as: 'dependentLocality' + property :language_code, as: 'languageCode' + property :lat_lng, as: 'latLng', class: Google::Apis::PartnersV2::LatLng, decorator: Google::Apis::PartnersV2::LatLng::Representation + + property :locality, as: 'locality' + property :postal_code, as: 'postalCode' + property :region_code, as: 'regionCode' + property :sorting_code, as: 'sortingCode' + end + end + + class LogMessageRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :client_info, as: 'clientInfo' + property :details, as: 'details' + property :level, as: 'level' + property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation + + end + end + + class LogMessageResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + + end + end + + class LogUserEventRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :event_action, as: 'eventAction' + property :event_category, as: 'eventCategory' + collection :event_datas, as: 'eventDatas', class: Google::Apis::PartnersV2::EventData, decorator: Google::Apis::PartnersV2::EventData::Representation + + property :event_scope, as: 'eventScope' + property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation + + property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation + + property :url, as: 'url' + end + end + + class LogUserEventResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + + end + end + + class Money + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :currency_code, as: 'currencyCode' + property :nanos, as: 'nanos' + property :units, :numeric_string => true, as: 'units' + end + end + + class OfferCustomer + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :adwords_url, as: 'adwordsUrl' + property :country_code, as: 'countryCode' + property :creation_time, as: 'creationTime' + property :eligibility_days_left, as: 'eligibilityDaysLeft' + property :external_cid, :numeric_string => true, as: 'externalCid' + property :get_y_amount, as: 'getYAmount' + property :name, as: 'name' + property :offer_type, as: 'offerType' + property :spend_x_amount, as: 'spendXAmount' + end + end + + class OptIns + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :market_comm, as: 'marketComm' + property :performance_suggestions, as: 'performanceSuggestions' + property :phone_contact, as: 'phoneContact' + property :physical_mail, as: 'physicalMail' + property :special_offers, as: 'specialOffers' + end + end + + class PublicProfile + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_image_url, as: 'displayImageUrl' + property :display_name, as: 'displayName' + property :id, as: 'id' + property :profile_image, as: 'profileImage' + property :url, as: 'url' + end + end + + class Rank + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :type, as: 'type' + property :value, as: 'value' + end + end + + class RecaptchaChallenge + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :response, as: 'response' + end + end + + class RequestMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :experiment_ids, as: 'experimentIds' + property :locale, as: 'locale' + property :partners_session_id, as: 'partnersSessionId' + property :traffic_source, as: 'trafficSource', class: Google::Apis::PartnersV2::TrafficSource, decorator: Google::Apis::PartnersV2::TrafficSource::Representation + + property :user_overrides, as: 'userOverrides', class: Google::Apis::PartnersV2::UserOverrides, decorator: Google::Apis::PartnersV2::UserOverrides::Representation + + end + end + + class ResponseMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :debug_info, as: 'debugInfo', class: Google::Apis::PartnersV2::DebugInfo, decorator: Google::Apis::PartnersV2::DebugInfo::Representation + + end + end + + class SpecializationStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :badge_specialization, as: 'badgeSpecialization' + property :badge_specialization_state, as: 'badgeSpecializationState' + end + end + + class TrafficSource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :traffic_source_id, as: 'trafficSourceId' + property :traffic_sub_id, as: 'trafficSubId' + end + end + + class User + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :available_adwords_manager_accounts, as: 'availableAdwordsManagerAccounts', class: Google::Apis::PartnersV2::AdWordsManagerAccountInfo, decorator: Google::Apis::PartnersV2::AdWordsManagerAccountInfo::Representation + + collection :certification_status, as: 'certificationStatus', class: Google::Apis::PartnersV2::Certification, decorator: Google::Apis::PartnersV2::Certification::Representation + + property :company, as: 'company', class: Google::Apis::PartnersV2::CompanyRelation, decorator: Google::Apis::PartnersV2::CompanyRelation::Representation + + property :company_verification_email, as: 'companyVerificationEmail' + collection :exam_status, as: 'examStatus', class: Google::Apis::PartnersV2::ExamStatus, decorator: Google::Apis::PartnersV2::ExamStatus::Representation + + property :id, as: 'id' + property :internal_id, as: 'internalId' + property :last_access_time, as: 'lastAccessTime' + collection :primary_emails, as: 'primaryEmails' + property :profile, as: 'profile', class: Google::Apis::PartnersV2::UserProfile, decorator: Google::Apis::PartnersV2::UserProfile::Representation + + property :public_profile, as: 'publicProfile', class: Google::Apis::PartnersV2::PublicProfile, decorator: Google::Apis::PartnersV2::PublicProfile::Representation + + end + end + + class UserOverrides + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ip_address, as: 'ipAddress' + property :user_id, as: 'userId' + end + end + + class UserProfile + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :address, as: 'address', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation + + property :adwords_manager_account, :numeric_string => true, as: 'adwordsManagerAccount' + collection :channels, as: 'channels' + property :email_address, as: 'emailAddress' + property :email_opt_ins, as: 'emailOptIns', class: Google::Apis::PartnersV2::OptIns, decorator: Google::Apis::PartnersV2::OptIns::Representation + + property :family_name, as: 'familyName' + property :given_name, as: 'givenName' + collection :industries, as: 'industries' + collection :job_functions, as: 'jobFunctions' + collection :languages, as: 'languages' + collection :markets, as: 'markets' + property :phone_number, as: 'phoneNumber' + property :primary_country_code, as: 'primaryCountryCode' + property :profile_public, as: 'profilePublic' end end end diff --git a/generated/google/apis/partners_v2/service.rb b/generated/google/apis/partners_v2/service.rb index a3dbdb951..21d649f55 100644 --- a/generated/google/apis/partners_v2/service.rb +++ b/generated/google/apis/partners_v2/service.rb @@ -48,354 +48,8 @@ module Google @batch_path = 'batch' end - # Logs a generic message from the client, such as - # `Failed to render component`, `Profile page is running slow`, - # `More than 500 users have accessed this result.`, etc. - # @param [Google::Apis::PartnersV2::LogMessageRequest] log_message_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::PartnersV2::LogMessageResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PartnersV2::LogMessageResponse] - # - # @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 log_client_message_message(log_message_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/clientMessages:log', options) - command.request_representation = Google::Apis::PartnersV2::LogMessageRequest::Representation - command.request_object = log_message_request_object - command.response_representation = Google::Apis::PartnersV2::LogMessageResponse::Representation - command.response_class = Google::Apis::PartnersV2::LogMessageResponse - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets an Exam Token for a Partner's user to take an exam in the Exams System - # @param [String] exam_type - # The exam type we are requesting a token for. - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @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::PartnersV2::ExamToken] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PartnersV2::ExamToken] - # - # @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_exam_token(exam_type, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_partners_session_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/exams/{examType}/token', options) - command.response_representation = Google::Apis::PartnersV2::ExamToken::Representation - command.response_class = Google::Apis::PartnersV2::ExamToken - command.params['examType'] = exam_type unless exam_type.nil? - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists advertiser leads for a user's associated company. - # Should only be called within the context of an authorized logged in user. - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] order_by - # How to order Leads. Currently, only `create_time` - # and `create_time desc` are supported - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] page_token - # A token identifying a page of results that the server returns. - # Typically, this is the value of `ListLeadsResponse.next_page_token` - # returned from the previous call to - # ListLeads. - # @param [Fixnum] page_size - # Requested page size. Server may return fewer leads than requested. - # If unspecified, server picks an appropriate default. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @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::PartnersV2::ListLeadsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PartnersV2::ListLeadsResponse] - # - # @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_leads(request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, order_by: nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, page_token: nil, page_size: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/leads', options) - command.response_representation = Google::Apis::PartnersV2::ListLeadsResponse::Representation - command.response_class = Google::Apis::PartnersV2::ListLeadsResponse - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['orderBy'] = order_by unless order_by.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists the Offers available for the current user - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @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::PartnersV2::ListOffersResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PartnersV2::ListOffersResponse] - # - # @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_offers(request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/offers', options) - command.response_representation = Google::Apis::PartnersV2::ListOffersResponse::Representation - command.response_class = Google::Apis::PartnersV2::ListOffersResponse - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists the Historical Offers for the current user (or user's entire company) - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @param [Boolean] entire_company - # if true, show history for the entire company. Requires user to be admin. - # @param [String] order_by - # Comma-separated list of fields to order by, e.g.: "foo,bar,baz". - # Use "foo desc" to sort descending. - # List of valid field names is: name, offer_code, expiration_time, status, - # last_modified_time, sender_name, creation_time, country_code, - # offer_type. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] page_token - # Token to retrieve a specific page. - # @param [Fixnum] page_size - # Maximum number of rows to return per page. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @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::PartnersV2::ListOffersHistoryResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PartnersV2::ListOffersHistoryResponse] - # - # @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_offer_histories(request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, entire_company: nil, order_by: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_partners_session_id: nil, request_metadata_user_overrides_user_id: nil, page_token: nil, page_size: nil, request_metadata_traffic_source_traffic_source_id: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/offers/history', options) - command.response_representation = Google::Apis::PartnersV2::ListOffersHistoryResponse::Representation - command.response_class = Google::Apis::PartnersV2::ListOffersHistoryResponse - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['entireCompany'] = entire_company unless entire_company.nil? - command.query['orderBy'] = order_by unless order_by.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists states for current user. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @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::PartnersV2::ListUserStatesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PartnersV2::ListUserStatesResponse] - # - # @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_user_states(request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/userStates', options) - command.response_representation = Google::Apis::PartnersV2::ListUserStatesResponse::Representation - command.response_class = Google::Apis::PartnersV2::ListUserStatesResponse - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - # Lists analytics data for a user's associated company. # Should only be called within the context of an authorized logged in user. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] page_token - # A token identifying a page of results that the server returns. - # Typically, this is the value of `ListAnalyticsResponse.next_page_token` - # returned from the previous call to - # ListAnalytics. - # Will be a date string in `YYYY-MM-DD` format representing the end date - # of the date range of results to return. - # If unspecified or set to "", default value is the current date. # @param [Fixnum] page_size # Requested page size. Server may return fewer analytics than requested. # If unspecified or set to 0, default value is 30. @@ -404,17 +58,37 @@ module Google # and the start date is calculated using the `page_size` as the number # of days BEFORE the end date. # Must be a non-negative integer. + # @param [String] page_token + # A token identifying a page of results that the server returns. + # Typically, this is the value of `ListAnalyticsResponse.next_page_token` + # returned from the previous call to + # ListAnalytics. + # Will be a date string in `YYYY-MM-DD` format representing the end date + # of the date range of results to return. + # If unspecified or set to "", default value is the current date. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. # @param [String] request_metadata_traffic_source_traffic_source_id # Identifier to indicate where the traffic comes from. # An identifier has multiple letters created by a team which redirected the # traffic to us. - # @param [String] request_metadata_locale - # Locale to use for the current request. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's 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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -427,603 +101,97 @@ 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_analytics(request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, page_token: nil, page_size: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_analytics(page_size: nil, page_token: nil, request_metadata_experiment_ids: nil, request_metadata_locale: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_user_overrides_user_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/analytics', options) command.response_representation = Google::Apis::PartnersV2::ListAnalyticsResponse::Representation command.response_class = Google::Apis::PartnersV2::ListAnalyticsResponse - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets Partners Status of the logged in user's agency. - # Should only be called if the logged in user is the admin of the agency. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @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::PartnersV2::GetPartnersStatusResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PartnersV2::GetPartnersStatusResponse] - # - # @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_partnersstatus(request_metadata_partners_session_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/partnersstatus', options) - command.response_representation = Google::Apis::PartnersV2::GetPartnersStatusResponse::Representation - command.response_class = Google::Apis::PartnersV2::GetPartnersStatusResponse - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Updates the specified lead. - # @param [Google::Apis::PartnersV2::Lead] lead_object - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @param [String] update_mask - # Standard field mask for the set of fields to be updated. - # Required with at least 1 value in FieldMask's paths. - # Only `state` and `adwords_customer_id` are currently supported. - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @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::PartnersV2::Lead] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PartnersV2::Lead] - # - # @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_leads(lead_object = nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, update_mask: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_partners_session_id: nil, request_metadata_user_overrides_user_id: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:patch, 'v2/leads', options) - command.request_representation = Google::Apis::PartnersV2::Lead::Representation - command.request_object = lead_object - command.response_representation = Google::Apis::PartnersV2::Lead::Representation - command.response_class = Google::Apis::PartnersV2::Lead - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['updateMask'] = update_mask unless update_mask.nil? - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Update company. - # Should only be called within the context of an authorized logged in user. - # @param [Google::Apis::PartnersV2::Company] company_object - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @param [String] update_mask - # Standard field mask for the set of fields to be updated. - # Required with at least 1 value in FieldMask's paths. - # @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::PartnersV2::Company] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PartnersV2::Company] - # - # @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_companies(company_object = nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, update_mask: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:patch, 'v2/companies', options) - command.request_representation = Google::Apis::PartnersV2::Company::Representation - command.request_object = company_object - command.response_representation = Google::Apis::PartnersV2::Company::Representation - command.response_class = Google::Apis::PartnersV2::Company - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['updateMask'] = update_mask unless update_mask.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Deletes a user's company relation. Unaffiliaites the user from a company. - # @param [String] user_id - # The ID of the user. Can be set to me to mean - # the currently authenticated user. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @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::PartnersV2::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PartnersV2::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_user_company_relation(user_id, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v2/users/{userId}/companyRelation', options) - command.response_representation = Google::Apis::PartnersV2::Empty::Representation - command.response_class = Google::Apis::PartnersV2::Empty - command.params['userId'] = user_id unless user_id.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates a user's company relation. Affiliates the user to a company. - # @param [String] user_id - # The ID of the user. Can be set to me to mean - # the currently authenticated user. - # @param [Google::Apis::PartnersV2::CompanyRelation] company_relation_object - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @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::PartnersV2::CompanyRelation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PartnersV2::CompanyRelation] - # - # @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_user_company_relation(user_id, company_relation_object = nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_partners_session_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:put, 'v2/users/{userId}/companyRelation', options) - command.request_representation = Google::Apis::PartnersV2::CompanyRelation::Representation - command.request_object = company_relation_object - command.response_representation = Google::Apis::PartnersV2::CompanyRelation::Representation - command.response_class = Google::Apis::PartnersV2::CompanyRelation - command.params['userId'] = user_id unless user_id.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets a user. - # @param [String] user_id - # Identifier of the user. Can be set to me to mean the currently - # authenticated user. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] user_view - # Specifies what parts of the user information to return. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @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::PartnersV2::User] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PartnersV2::User] - # - # @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_user(user_id, request_metadata_partners_session_id: nil, request_metadata_user_overrides_user_id: nil, user_view: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/users/{userId}', options) - command.response_representation = Google::Apis::PartnersV2::User::Representation - command.response_class = Google::Apis::PartnersV2::User - command.params['userId'] = user_id unless user_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['userView'] = user_view unless user_view.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Updates a user's profile. A user can only update their own profile and - # should only be called within the context of a logged in user. - # @param [Google::Apis::PartnersV2::UserProfile] user_profile_object - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @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::PartnersV2::UserProfile] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PartnersV2::UserProfile] - # - # @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_user_profile(user_profile_object = nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:patch, 'v2/users/profile', options) - command.request_representation = Google::Apis::PartnersV2::UserProfile::Representation - command.request_object = user_profile_object - command.response_representation = Google::Apis::PartnersV2::UserProfile::Representation - command.response_class = Google::Apis::PartnersV2::UserProfile - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists companies. - # @param [String] max_monthly_budget_currency_code - # The 3-letter currency code defined in ISO 4217. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] min_monthly_budget_currency_code - # The 3-letter currency code defined in ISO 4217. - # @param [String] view - # The view of the `Company` resource to be returned. This must not be - # `COMPANY_VIEW_UNSPECIFIED`. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] address - # The address to use when searching for companies. - # If not given, the geo-located address of the request is used. - # @param [Fixnum] min_monthly_budget_units - # The whole units of the amount. - # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. - # @param [Fixnum] max_monthly_budget_nanos - # Number of nano (10^-9) units of the amount. - # The value must be between -999,999,999 and +999,999,999 inclusive. - # If `units` is positive, `nanos` must be positive or zero. - # If `units` is zero, `nanos` can be positive, zero, or negative. - # If `units` is negative, `nanos` must be negative or zero. - # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. - # @param [Array, String] services - # List of services that the returned agencies should provide. If this is - # not empty, any returned agency must have at least one of these services, - # or one of the specializations in the "specializations" field. - # @param [Fixnum] max_monthly_budget_units - # The whole units of the amount. - # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [Fixnum] min_monthly_budget_nanos - # Number of nano (10^-9) units of the amount. - # The value must be between -999,999,999 and +999,999,999 inclusive. - # If `units` is positive, `nanos` must be positive or zero. - # If `units` is zero, `nanos` can be positive, zero, or negative. - # If `units` is negative, `nanos` must be negative or zero. - # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] page_token - # A token identifying a page of results that the server returns. - # Typically, this is the value of `ListCompaniesResponse.next_page_token` - # returned from the previous call to - # ListCompanies. - # @param [String] company_name - # Company name to search for. - # @param [Array, String] industries - # List of industries the company can help with. - # @param [String] website_url - # Website URL that will help to find a better matched company. - # . - # @param [Array, String] gps_motivations - # List of reasons for using Google Partner Search to get companies. - # @param [Array, String] language_codes - # List of language codes that company can support. Only primary language - # subtags are accepted as defined by - # BCP 47 - # (IETF BCP 47, "Tags for Identifying Languages"). - # @param [Fixnum] page_size - # Requested page size. Server may return fewer companies than requested. - # If unspecified, server picks an appropriate default. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @param [String] order_by - # How to order addresses within the returned companies. Currently, only - # `address` and `address desc` is supported which will sorted by closest to - # farthest in distance from given address and farthest to closest distance - # from given address respectively. - # @param [Array, String] specializations - # List of specializations that the returned agencies should provide. If this - # is not empty, any returned agency must have at least one of these - # specializations, or one of the services in the "services" field. - # @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::PartnersV2::ListCompaniesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PartnersV2::ListCompaniesResponse] - # - # @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_companies(max_monthly_budget_currency_code: nil, request_metadata_user_overrides_user_id: nil, min_monthly_budget_currency_code: nil, view: nil, request_metadata_locale: nil, address: nil, min_monthly_budget_units: nil, max_monthly_budget_nanos: nil, services: nil, max_monthly_budget_units: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_traffic_source_traffic_sub_id: nil, min_monthly_budget_nanos: nil, request_metadata_partners_session_id: nil, page_token: nil, company_name: nil, industries: nil, website_url: nil, gps_motivations: nil, language_codes: nil, page_size: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, order_by: nil, specializations: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/companies', options) - command.response_representation = Google::Apis::PartnersV2::ListCompaniesResponse::Representation - command.response_class = Google::Apis::PartnersV2::ListCompaniesResponse - command.query['maxMonthlyBudget.currencyCode'] = max_monthly_budget_currency_code unless max_monthly_budget_currency_code.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['minMonthlyBudget.currencyCode'] = min_monthly_budget_currency_code unless min_monthly_budget_currency_code.nil? - command.query['view'] = view unless view.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['address'] = address unless address.nil? - command.query['minMonthlyBudget.units'] = min_monthly_budget_units unless min_monthly_budget_units.nil? - command.query['maxMonthlyBudget.nanos'] = max_monthly_budget_nanos unless max_monthly_budget_nanos.nil? - command.query['services'] = services unless services.nil? - command.query['maxMonthlyBudget.units'] = max_monthly_budget_units unless max_monthly_budget_units.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['minMonthlyBudget.nanos'] = min_monthly_budget_nanos unless min_monthly_budget_nanos.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['companyName'] = company_name unless company_name.nil? - command.query['industries'] = industries unless industries.nil? - command.query['websiteUrl'] = website_url unless website_url.nil? - command.query['gpsMotivations'] = gps_motivations unless gps_motivations.nil? - command.query['languageCodes'] = language_codes unless language_codes.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['orderBy'] = order_by unless order_by.nil? - command.query['specializations'] = specializations unless specializations.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_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 + + # Logs a generic message from the client, such as + # `Failed to render component`, `Profile page is running slow`, + # `More than 500 users have accessed this result.`, etc. + # @param [Google::Apis::PartnersV2::LogMessageRequest] log_message_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::PartnersV2::LogMessageResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::LogMessageResponse] + # + # @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 log_client_message_message(log_message_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/clientMessages:log', options) + command.request_representation = Google::Apis::PartnersV2::LogMessageRequest::Representation + command.request_object = log_message_request_object + command.response_representation = Google::Apis::PartnersV2::LogMessageResponse::Representation + command.response_class = Google::Apis::PartnersV2::LogMessageResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Gets a company. # @param [String] company_id # The ID of the company to retrieve. - # @param [String] view - # The view of `Company` resource to be returned. This must not be - # `COMPANY_VIEW_UNSPECIFIED`. # @param [String] address # The address to use for sorting the company's addresses by proximity. # If not given, the geo-located address of the request is used. # Used when order_by is set. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. # @param [String] currency_code # If the company's budget is in a different currency code than this one, then # the converted budget is converted to this currency code. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. # @param [String] order_by # How to order addresses within the returned company. Currently, only # `address` and `address desc` is supported which will sorted by closest to # farthest in distance from given address and farthest to closest distance # from given address respectively. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_locale + # Locale to use for the current request. # @param [String] request_metadata_partners_session_id # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. # @param [String] request_metadata_user_overrides_user_id # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] view + # The view of `Company` resource to be returned. This must not be + # `COMPANY_VIEW_UNSPECIFIED`. + # @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 # @@ -1036,24 +204,159 @@ 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_company(company_id, view: nil, address: nil, request_metadata_locale: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, currency_code: nil, request_metadata_traffic_source_traffic_sub_id: nil, order_by: nil, request_metadata_partners_session_id: nil, request_metadata_user_overrides_user_id: nil, quota_user: nil, fields: nil, options: nil, &block) + def get_company(company_id, address: nil, currency_code: nil, order_by: nil, request_metadata_experiment_ids: nil, request_metadata_locale: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_user_overrides_user_id: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/companies/{companyId}', options) command.response_representation = Google::Apis::PartnersV2::GetCompanyResponse::Representation command.response_class = Google::Apis::PartnersV2::GetCompanyResponse command.params['companyId'] = company_id unless company_id.nil? - command.query['view'] = view unless view.nil? command.query['address'] = address unless address.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? command.query['currencyCode'] = currency_code unless currency_code.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? command.query['orderBy'] = order_by unless order_by.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['view'] = view unless view.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 companies. + # @param [String] address + # The address to use when searching for companies. + # If not given, the geo-located address of the request is used. + # @param [String] company_name + # Company name to search for. + # @param [Array, String] gps_motivations + # List of reasons for using Google Partner Search to get companies. + # @param [Array, String] industries + # List of industries the company can help with. + # @param [Array, String] language_codes + # List of language codes that company can support. Only primary language + # subtags are accepted as defined by + # BCP 47 + # (IETF BCP 47, "Tags for Identifying Languages"). + # @param [String] max_monthly_budget_currency_code + # The 3-letter currency code defined in ISO 4217. + # @param [Fixnum] max_monthly_budget_nanos + # Number of nano (10^-9) units of the amount. + # The value must be between -999,999,999 and +999,999,999 inclusive. + # If `units` is positive, `nanos` must be positive or zero. + # If `units` is zero, `nanos` can be positive, zero, or negative. + # If `units` is negative, `nanos` must be negative or zero. + # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. + # @param [Fixnum] max_monthly_budget_units + # The whole units of the amount. + # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + # @param [String] min_monthly_budget_currency_code + # The 3-letter currency code defined in ISO 4217. + # @param [Fixnum] min_monthly_budget_nanos + # Number of nano (10^-9) units of the amount. + # The value must be between -999,999,999 and +999,999,999 inclusive. + # If `units` is positive, `nanos` must be positive or zero. + # If `units` is zero, `nanos` can be positive, zero, or negative. + # If `units` is negative, `nanos` must be negative or zero. + # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. + # @param [Fixnum] min_monthly_budget_units + # The whole units of the amount. + # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + # @param [String] order_by + # How to order addresses within the returned companies. Currently, only + # `address` and `address desc` is supported which will sorted by closest to + # farthest in distance from given address and farthest to closest distance + # from given address respectively. + # @param [Fixnum] page_size + # Requested page size. Server may return fewer companies than requested. + # If unspecified, server picks an appropriate default. + # @param [String] page_token + # A token identifying a page of results that the server returns. + # Typically, this is the value of `ListCompaniesResponse.next_page_token` + # returned from the previous call to + # ListCompanies. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [Array, String] services + # List of services that the returned agencies should provide. If this is + # not empty, any returned agency must have at least one of these services, + # or one of the specializations in the "specializations" field. + # @param [Array, String] specializations + # List of specializations that the returned agencies should provide. If this + # is not empty, any returned agency must have at least one of these + # specializations, or one of the services in the "services" field. + # @param [String] view + # The view of the `Company` resource to be returned. This must not be + # `COMPANY_VIEW_UNSPECIFIED`. + # @param [String] website_url + # Website URL that will help to find a better matched company. + # . + # @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::PartnersV2::ListCompaniesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::ListCompaniesResponse] + # + # @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_companies(address: nil, company_name: nil, gps_motivations: nil, industries: nil, language_codes: nil, max_monthly_budget_currency_code: nil, max_monthly_budget_nanos: nil, max_monthly_budget_units: nil, min_monthly_budget_currency_code: nil, min_monthly_budget_nanos: nil, min_monthly_budget_units: nil, order_by: nil, page_size: nil, page_token: nil, request_metadata_experiment_ids: nil, request_metadata_locale: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_user_overrides_user_id: nil, services: nil, specializations: nil, view: nil, website_url: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/companies', options) + command.response_representation = Google::Apis::PartnersV2::ListCompaniesResponse::Representation + command.response_class = Google::Apis::PartnersV2::ListCompaniesResponse + command.query['address'] = address unless address.nil? + command.query['companyName'] = company_name unless company_name.nil? + command.query['gpsMotivations'] = gps_motivations unless gps_motivations.nil? + command.query['industries'] = industries unless industries.nil? + command.query['languageCodes'] = language_codes unless language_codes.nil? + command.query['maxMonthlyBudget.currencyCode'] = max_monthly_budget_currency_code unless max_monthly_budget_currency_code.nil? + command.query['maxMonthlyBudget.nanos'] = max_monthly_budget_nanos unless max_monthly_budget_nanos.nil? + command.query['maxMonthlyBudget.units'] = max_monthly_budget_units unless max_monthly_budget_units.nil? + command.query['minMonthlyBudget.currencyCode'] = min_monthly_budget_currency_code unless min_monthly_budget_currency_code.nil? + command.query['minMonthlyBudget.nanos'] = min_monthly_budget_nanos unless min_monthly_budget_nanos.nil? + command.query['minMonthlyBudget.units'] = min_monthly_budget_units unless min_monthly_budget_units.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['services'] = services unless services.nil? + command.query['specializations'] = specializations unless specializations.nil? + command.query['view'] = view unless view.nil? + command.query['websiteUrl'] = website_url unless website_url.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1061,11 +364,11 @@ module Google # @param [String] company_id # The ID of the company to contact. # @param [Google::Apis::PartnersV2::CreateLeadRequest] create_lead_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1078,25 +381,267 @@ 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 create_lead(company_id, create_lead_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def create_lead(company_id, create_lead_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/companies/{companyId}/leads', options) command.request_representation = Google::Apis::PartnersV2::CreateLeadRequest::Representation command.request_object = create_lead_request_object command.response_representation = Google::Apis::PartnersV2::CreateLeadResponse::Representation command.response_class = Google::Apis::PartnersV2::CreateLeadResponse command.params['companyId'] = company_id unless company_id.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 + + # Gets an Exam Token for a Partner's user to take an exam in the Exams System + # @param [String] exam_type + # The exam type we are requesting a token for. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's 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::PartnersV2::ExamToken] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::ExamToken] + # + # @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_exam_token(exam_type, request_metadata_experiment_ids: nil, request_metadata_locale: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_user_overrides_user_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/exams/{examType}/token', options) + command.response_representation = Google::Apis::PartnersV2::ExamToken::Representation + command.response_class = Google::Apis::PartnersV2::ExamToken + command.params['examType'] = exam_type unless exam_type.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_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 advertiser leads for a user's associated company. + # Should only be called within the context of an authorized logged in user. + # @param [String] order_by + # How to order Leads. Currently, only `create_time` + # and `create_time desc` are supported + # @param [Fixnum] page_size + # Requested page size. Server may return fewer leads than requested. + # If unspecified, server picks an appropriate default. + # @param [String] page_token + # A token identifying a page of results that the server returns. + # Typically, this is the value of `ListLeadsResponse.next_page_token` + # returned from the previous call to + # ListLeads. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's 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::PartnersV2::ListLeadsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::ListLeadsResponse] + # + # @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_leads(order_by: nil, page_size: nil, page_token: nil, request_metadata_experiment_ids: nil, request_metadata_locale: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_user_overrides_user_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/leads', options) + command.response_representation = Google::Apis::PartnersV2::ListLeadsResponse::Representation + command.response_class = Google::Apis::PartnersV2::ListLeadsResponse + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_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 the Offers available for the current user + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's 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::PartnersV2::ListOffersResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::ListOffersResponse] + # + # @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_offers(request_metadata_experiment_ids: nil, request_metadata_locale: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_user_overrides_user_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/offers', options) + command.response_representation = Google::Apis::PartnersV2::ListOffersResponse::Representation + command.response_class = Google::Apis::PartnersV2::ListOffersResponse + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_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 the Historical Offers for the current user (or user's entire company) + # @param [Boolean] entire_company + # if true, show history for the entire company. Requires user to be admin. + # @param [String] order_by + # Comma-separated list of fields to order by, e.g.: "foo,bar,baz". + # Use "foo desc" to sort descending. + # List of valid field names is: name, offer_code, expiration_time, status, + # last_modified_time, sender_name, creation_time, country_code, + # offer_type. + # @param [Fixnum] page_size + # Maximum number of rows to return per page. + # @param [String] page_token + # Token to retrieve a specific page. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's 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::PartnersV2::ListOffersHistoryResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::ListOffersHistoryResponse] + # + # @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_offer_histories(entire_company: nil, order_by: nil, page_size: nil, page_token: nil, request_metadata_experiment_ids: nil, request_metadata_locale: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_user_overrides_user_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/offers/history', options) + command.response_representation = Google::Apis::PartnersV2::ListOffersHistoryResponse::Representation + command.response_class = Google::Apis::PartnersV2::ListOffersHistoryResponse + command.query['entireCompany'] = entire_company unless entire_company.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_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 # Logs a user event. # @param [Google::Apis::PartnersV2::LogUserEventRequest] log_user_event_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1109,14 +654,469 @@ 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 log_user_event(log_user_event_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def log_user_event(log_user_event_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/userEvents:log', options) command.request_representation = Google::Apis::PartnersV2::LogUserEventRequest::Representation command.request_object = log_user_event_request_object command.response_representation = Google::Apis::PartnersV2::LogUserEventResponse::Representation command.response_class = Google::Apis::PartnersV2::LogUserEventResponse - 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 + + # Lists states for current user. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's 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::PartnersV2::ListUserStatesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::ListUserStatesResponse] + # + # @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_user_states(request_metadata_experiment_ids: nil, request_metadata_locale: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_user_overrides_user_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/userStates', options) + command.response_representation = Google::Apis::PartnersV2::ListUserStatesResponse::Representation + command.response_class = Google::Apis::PartnersV2::ListUserStatesResponse + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_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 + + # Creates a user's company relation. Affiliates the user to a company. + # @param [String] user_id + # The ID of the user. Can be set to me to mean + # the currently authenticated user. + # @param [Google::Apis::PartnersV2::CompanyRelation] company_relation_object + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's 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::PartnersV2::CompanyRelation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::CompanyRelation] + # + # @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_user_company_relation(user_id, company_relation_object = nil, request_metadata_experiment_ids: nil, request_metadata_locale: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_user_overrides_user_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v2/users/{userId}/companyRelation', options) + command.request_representation = Google::Apis::PartnersV2::CompanyRelation::Representation + command.request_object = company_relation_object + command.response_representation = Google::Apis::PartnersV2::CompanyRelation::Representation + command.response_class = Google::Apis::PartnersV2::CompanyRelation + command.params['userId'] = user_id unless user_id.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_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 a user's company relation. Unaffiliaites the user from a company. + # @param [String] user_id + # The ID of the user. Can be set to me to mean + # the currently authenticated user. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's 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::PartnersV2::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::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_user_company_relation(user_id, request_metadata_experiment_ids: nil, request_metadata_locale: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_user_overrides_user_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2/users/{userId}/companyRelation', options) + command.response_representation = Google::Apis::PartnersV2::Empty::Representation + command.response_class = Google::Apis::PartnersV2::Empty + command.params['userId'] = user_id unless user_id.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_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 a user. + # @param [String] user_id + # Identifier of the user. Can be set to me to mean the currently + # authenticated user. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] user_view + # Specifies what parts of the user information 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PartnersV2::User] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::User] + # + # @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_user(user_id, request_metadata_experiment_ids: nil, request_metadata_locale: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_user_overrides_user_id: nil, user_view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/users/{userId}', options) + command.response_representation = Google::Apis::PartnersV2::User::Representation + command.response_class = Google::Apis::PartnersV2::User + command.params['userId'] = user_id unless user_id.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['userView'] = user_view unless user_view.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 user's profile. A user can only update their own profile and + # should only be called within the context of a logged in user. + # @param [Google::Apis::PartnersV2::UserProfile] user_profile_object + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's 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::PartnersV2::UserProfile] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::UserProfile] + # + # @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_user_profile(user_profile_object = nil, request_metadata_experiment_ids: nil, request_metadata_locale: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_user_overrides_user_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v2/users/profile', options) + command.request_representation = Google::Apis::PartnersV2::UserProfile::Representation + command.request_object = user_profile_object + command.response_representation = Google::Apis::PartnersV2::UserProfile::Representation + command.response_class = Google::Apis::PartnersV2::UserProfile + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_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 Partners Status of the logged in user's agency. + # Should only be called if the logged in user is the admin of the agency. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's 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::PartnersV2::GetPartnersStatusResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::GetPartnersStatusResponse] + # + # @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_partnersstatus(request_metadata_experiment_ids: nil, request_metadata_locale: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_user_overrides_user_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/partnersstatus', options) + command.response_representation = Google::Apis::PartnersV2::GetPartnersStatusResponse::Representation + command.response_class = Google::Apis::PartnersV2::GetPartnersStatusResponse + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_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 + + # Update company. + # Should only be called within the context of an authorized logged in user. + # @param [Google::Apis::PartnersV2::Company] company_object + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] update_mask + # Standard field mask for the set of fields to be updated. + # Required with at least 1 value in FieldMask's paths. + # @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::PartnersV2::Company] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::Company] + # + # @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_companies(company_object = nil, request_metadata_experiment_ids: nil, request_metadata_locale: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_user_overrides_user_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v2/companies', options) + command.request_representation = Google::Apis::PartnersV2::Company::Representation + command.request_object = company_object + command.response_representation = Google::Apis::PartnersV2::Company::Representation + command.response_class = Google::Apis::PartnersV2::Company + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.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 + + # Updates the specified lead. + # @param [Google::Apis::PartnersV2::Lead] lead_object + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] update_mask + # Standard field mask for the set of fields to be updated. + # Required with at least 1 value in FieldMask's paths. + # Only `state` and `adwords_customer_id` are currently supported. + # @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::PartnersV2::Lead] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::Lead] + # + # @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_leads(lead_object = nil, request_metadata_experiment_ids: nil, request_metadata_locale: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_user_overrides_user_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v2/leads', options) + command.request_representation = Google::Apis::PartnersV2::Lead::Representation + command.request_object = lead_object + command.response_representation = Google::Apis::PartnersV2::Lead::Representation + command.response_class = Google::Apis::PartnersV2::Lead + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.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 diff --git a/generated/google/apis/people_v1.rb b/generated/google/apis/people_v1.rb index 04626f3f6..d6165bce3 100644 --- a/generated/google/apis/people_v1.rb +++ b/generated/google/apis/people_v1.rb @@ -25,34 +25,34 @@ module Google # @see https://developers.google.com/people/ module PeopleV1 VERSION = 'V1' - REVISION = '20170711' - - # View your basic profile info - AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile' - - # View your email addresses - AUTH_USER_EMAILS_READ = 'https://www.googleapis.com/auth/user.emails.read' + REVISION = '20170823' # 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 the list of people in your circles, your age range, and language + AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' + # 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 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 address AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' - # View your contacts - AUTH_CONTACTS_READONLY = 'https://www.googleapis.com/auth/contacts.readonly' - - # View your complete date of birth - AUTH_USER_BIRTHDAY_READ = 'https://www.googleapis.com/auth/user.birthday.read' - - # Know the list of people in your circles, your age range, and language - AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' + # View your basic profile info + AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile' end end end diff --git a/generated/google/apis/people_v1/classes.rb b/generated/google/apis/people_v1/classes.rb index 2bef09061..fdd0bc2d0 100644 --- a/generated/google/apis/people_v1/classes.rb +++ b/generated/google/apis/people_v1/classes.rb @@ -22,189 +22,96 @@ module Google module Apis module PeopleV1 - # A person's read-only relationship status. - class RelationshipStatus + # A person's physical address. May be a P.O. box or street address. All fields + # are optional. + class Address 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` + # The city of the address. + # Corresponds to the JSON property `city` # @return [String] - attr_accessor :value + attr_accessor :city - # 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` + # The country of the address. + # Corresponds to the JSON property `country` # @return [String] - attr_accessor :formatted_value + attr_accessor :country - 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 bragging rights. - class BraggingRights - include Google::Apis::Core::Hashable - - # The bragging rights; for example, `climbed mount everest`. - # Corresponds to the JSON property `value` + # 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 :value + attr_accessor :country_code - # 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 past or current organization. Overlapping date ranges are - # permitted. - class Organization - include Google::Apis::Core::Hashable - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The location of the organization office the person works at. - # Corresponds to the JSON property `location` + # The extended address of the address; for example, the apartment number. + # Corresponds to the JSON property `extendedAddress` # @return [String] - attr_accessor :location + attr_accessor :extended_address - # The person's job title at the organization. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # 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 - - # 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 read-only type of the organization translated and formatted in the - # viewer's account locale or the `Accept-Language` HTTP header locale. + # 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 domain name associated with the organization; for example, `google.com`. - # Corresponds to the JSON property `domain` + # The unstructured value of the address. If this is not set by the user it + # will be automatically constructed from structured values. + # Corresponds to the JSON property `formattedValue` # @return [String] - attr_accessor :domain + attr_accessor :formatted_value - # The person's department at the organization. - # Corresponds to the JSON property `department` + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The P.O. box of the address. + # Corresponds to the JSON property `poBox` # @return [String] - attr_accessor :department + attr_accessor :po_box - # The type of the organization. The type can be custom or predefined. + # The postal code of the address. + # Corresponds to the JSON property `postalCode` + # @return [String] + attr_accessor :postal_code + + # The region of the address; for example, the state or province. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + + # The street address. + # Corresponds to the JSON property `streetAddress` + # @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` - # * `school` + # * `other` # Corresponds to the JSON property `type` # @return [String] attr_accessor :type - # The phonetic name of the organization. - # Corresponds to the JSON property `phoneticName` - # @return [String] - attr_accessor :phonetic_name - - # The person's job description at the organization. - # Corresponds to the JSON property `jobDescription` - # @return [String] - attr_accessor :job_description - - # 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 - - # The symbol associated with the organization; for example, a stock ticker - # symbol, abbreviation, or acronym. - # Corresponds to the JSON property `symbol` - # @return [String] - attr_accessor :symbol - - # The name of the organization. - # 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) - @metadata = args[:metadata] if args.key?(:metadata) - @location = args[:location] if args.key?(:location) - @title = args[:title] if args.key?(:title) - @current = args[:current] if args.key?(:current) - @start_date = args[:start_date] if args.key?(:start_date) + @city = args[:city] if args.key?(:city) + @country = args[:country] if args.key?(:country) + @country_code = args[:country_code] if args.key?(:country_code) + @extended_address = args[:extended_address] if args.key?(:extended_address) @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - @domain = args[:domain] if args.key?(:domain) - @department = args[:department] if args.key?(:department) + @formatted_value = args[:formatted_value] if args.key?(:formatted_value) + @metadata = args[:metadata] if args.key?(:metadata) + @po_box = args[:po_box] if args.key?(:po_box) + @postal_code = args[:postal_code] if args.key?(:postal_code) + @region = args[:region] if args.key?(:region) + @street_address = args[:street_address] if args.key?(:street_address) @type = args[:type] if args.key?(:type) - @phonetic_name = args[:phonetic_name] if args.key?(:phonetic_name) - @job_description = args[:job_description] if args.key?(:job_description) - @end_date = args[:end_date] if args.key?(:end_date) - @symbol = args[:symbol] if args.key?(:symbol) - @name = args[:name] if args.key?(:name) end end @@ -233,30 +140,14 @@ module Google end end - # The response to a list contact groups request. - class ListContactGroupsResponse + # The response to a batch get contact groups request. + class BatchGetContactGroupsResponse include Google::Apis::Core::Hashable - # 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 total number of items in the list without pagination. - # Corresponds to the JSON property `totalItems` - # @return [Fixnum] - attr_accessor :total_items - - # The list of contact groups. Members of the contact groups are not - # populated. - # Corresponds to the JSON property `contactGroups` - # @return [Array] - attr_accessor :contact_groups - - # 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 list of responses for each requested contact group resource. + # Corresponds to the JSON property `responses` + # @return [Array] + attr_accessor :responses def initialize(**args) update!(**args) @@ -264,25 +155,241 @@ module Google # Update properties of this object def update!(**args) - @next_sync_token = args[:next_sync_token] if args.key?(:next_sync_token) - @total_items = args[:total_items] if args.key?(:total_items) - @contact_groups = args[:contact_groups] if args.key?(:contact_groups) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @responses = args[:responses] if args.key?(:responses) end end - # The response for a single person - class PersonResponse + # A person's short biography. + class Biography include Google::Apis::Core::Hashable - # Information about a person merged from various data sources such as the - # authenticated user's contacts and profile data. - # 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 content type of the biography. + # Corresponds to the JSON property `contentType` + # @return [String] + attr_accessor :content_type + + # 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) + @content_type = args[:content_type] if args.key?(:content_type) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) + end + end + + # 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 + + # 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 + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # 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) + @date = args[:date] if args.key?(:date) + @metadata = args[:metadata] if args.key?(:metadata) + @text = args[:text] if args.key?(:text) + 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 contact group. + class ContactGroup + include Google::Apis::Core::Hashable + + # 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 read-only name translated and formatted in the viewer's account locale + # or the `Accept-Language` HTTP header locale for system groups names. + # Group names set by the owner are the same as name. + # Corresponds to the JSON property `formattedName` + # @return [String] + attr_accessor :formatted_name + + # The read-only contact group type. + # Corresponds to the JSON property `groupType` + # @return [String] + attr_accessor :group_type + + # The total number of contacts in the group irrespective of max members in + # specified in the request. + # Corresponds to the JSON property `memberCount` + # @return [Fixnum] + attr_accessor :member_count + + # The list of contact person resource names that are members of the contact + # group. The field is not populated for LIST requests and can only be updated + # through the + # [ModifyContactGroupMembers](/people/api/rest/v1/contactgroups/members/modify). + # Corresponds to the JSON property `memberResourceNames` + # @return [Array] + attr_accessor :member_resource_names + + # The read-only metadata about a contact group. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::ContactGroupMetadata] + attr_accessor :metadata + + # The contact group name set by the group owner or a system provided name + # for system groups. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The resource name for the contact group, assigned by the server. An ASCII + # string, in the form of `contactGroups/`contact_group_id. + # Corresponds to the JSON property `resourceName` + # @return [String] + attr_accessor :resource_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @etag = args[:etag] if args.key?(:etag) + @formatted_name = args[:formatted_name] if args.key?(:formatted_name) + @group_type = args[:group_type] if args.key?(:group_type) + @member_count = args[:member_count] if args.key?(:member_count) + @member_resource_names = args[:member_resource_names] if args.key?(:member_resource_names) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + @resource_name = args[:resource_name] if args.key?(:resource_name) + 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. + # Corresponds to the JSON property `contactGroupId` + # @return [String] + attr_accessor :contact_group_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @contact_group_id = args[:contact_group_id] if args.key?(:contact_group_id) + end + end + + # The read-only metadata about a contact group. + class ContactGroupMetadata + include Google::Apis::Core::Hashable + + # True if the contact group resource has been deleted. Populated only for + # [`ListContactGroups`](/people/api/rest/v1/contactgroups/list) requests + # that include a sync token. + # Corresponds to the JSON property `deleted` + # @return [Boolean] + attr_accessor :deleted + alias_method :deleted?, :deleted + + # The time the group was last updated. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @deleted = args[:deleted] if args.key?(:deleted) + @update_time = args[:update_time] if args.key?(:update_time) + end + end + + # The response for a specific contact group. + class ContactGroupResponse + include Google::Apis::Core::Hashable + + # A contact group. + # Corresponds to the JSON property `contactGroup` + # @return [Google::Apis::PeopleV1::ContactGroup] + attr_accessor :contact_group + + # The original requested resource name. + # Corresponds to the JSON property `requestedResourceName` + # @return [String] + attr_accessor :requested_resource_name # 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 @@ -327,102 +434,39 @@ module Google # @return [Google::Apis::PeopleV1::Status] attr_accessor :status - # **DEPRECATED** (Please use status instead) - # [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 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 - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @person = args[:person] if args.key?(:person) - @status = args[:status] if args.key?(:status) - @http_status_code = args[:http_status_code] if args.key?(:http_status_code) + @contact_group = args[:contact_group] if args.key?(:contact_group) @requested_resource_name = args[:requested_resource_name] if args.key?(:requested_resource_name) + @status = args[:status] if args.key?(:status) end end - # A person's relation to another person. - class Relation + # A person's read-only 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 - # 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 - - # 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 + # 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 # 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) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - @person = args[:person] if args.key?(:person) - @type = args[:type] if args.key?(:type) - @metadata = args[:metadata] if args.key?(:metadata) - end - end - - # A person's occupation. - class Occupation - include Google::Apis::Core::Hashable - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The occupation; for example, `carpenter`. - # Corresponds to the JSON property `value` + # The URL of the cover photo. + # Corresponds to the JSON property `url` # @return [String] - attr_accessor :value + attr_accessor :url def initialize(**args) update!(**args) @@ -430,283 +474,14 @@ module Google # Update properties of this object def update!(**args) + @default = args[:default] if args.key?(:default) @metadata = args[:metadata] if args.key?(:metadata) - @value = args[:value] if args.key?(:value) + @url = args[:url] if args.key?(:url) end end - # A contact group. - class ContactGroup - include Google::Apis::Core::Hashable - - # The resource name for the contact group, assigned by the server. An ASCII - # string, in the form of `contactGroups/`. - # Corresponds to the JSON property `resourceName` - # @return [String] - attr_accessor :resource_name - - # 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 read-only contact group type. - # Corresponds to the JSON property `groupType` - # @return [String] - attr_accessor :group_type - - # The read-only name translated and formatted in the viewer's account locale - # or the `Accept-Language` HTTP header locale for system groups names. - # Group names set by the owner are the same as name. - # Corresponds to the JSON property `formattedName` - # @return [String] - attr_accessor :formatted_name - - # The list of contact person resource names that are members of the contact - # group. The field is not populated for LIST requests and can only be updated - # through the - # [ModifyContactGroupMembers](/people/api/rest/v1/contactgroups/members/modify). - # Corresponds to the JSON property `memberResourceNames` - # @return [Array] - attr_accessor :member_resource_names - - # The contact group name set by the group owner or a system provided name - # for system groups. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The read-only metadata about a contact group. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::ContactGroupMetadata] - attr_accessor :metadata - - # The total number of contacts in the group irrespective of max members in - # specified in the request. - # Corresponds to the JSON property `memberCount` - # @return [Fixnum] - attr_accessor :member_count - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @resource_name = args[:resource_name] if args.key?(:resource_name) - @etag = args[:etag] if args.key?(:etag) - @group_type = args[:group_type] if args.key?(:group_type) - @formatted_name = args[:formatted_name] if args.key?(:formatted_name) - @member_resource_names = args[:member_resource_names] if args.key?(:member_resource_names) - @name = args[:name] if args.key?(:name) - @metadata = args[:metadata] if args.key?(:metadata) - @member_count = args[:member_count] if args.key?(:member_count) - end - end - - # Information about a person merged from various data sources such as the - # authenticated user's contacts and profile data. - # 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 names. - # Corresponds to the JSON property `names` - # @return [Array] - attr_accessor :names - - # The person's relations. - # Corresponds to the JSON property `relations` - # @return [Array] - attr_accessor :relations - - # The person's occupations. - # Corresponds to the JSON property `occupations` - # @return [Array] - attr_accessor :occupations - - # The person's email addresses. - # Corresponds to the JSON property `emailAddresses` - # @return [Array] - attr_accessor :email_addresses - - # The person's past or current organizations. - # Corresponds to the JSON property `organizations` - # @return [Array] - attr_accessor :organizations - - # 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 bragging rights. - # Corresponds to the JSON property `braggingRights` - # @return [Array] - attr_accessor :bragging_rights - - # The read-only metadata about a person. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::PersonMetadata] - attr_accessor :metadata - - # The person's residences. - # Corresponds to the JSON property `residences` - # @return [Array] - attr_accessor :residences - - # The person's genders. - # Corresponds to the JSON property `genders` - # @return [Array] - attr_accessor :genders - - # The person's interests. - # Corresponds to the JSON property `interests` - # @return [Array] - attr_accessor :interests - - # The resource name for the person, assigned by the server. An ASCII string - # with a max length of 27 characters, in the form of `people/`. - # Corresponds to the JSON property `resourceName` - # @return [String] - attr_accessor :resource_name - - # The person's biographies. - # Corresponds to the JSON property `biographies` - # @return [Array] - attr_accessor :biographies - - # The person's skills. - # Corresponds to the JSON property `skills` - # @return [Array] - attr_accessor :skills - - # The person's read-only relationship statuses. - # Corresponds to the JSON property `relationshipStatuses` - # @return [Array] - attr_accessor :relationship_statuses - - # The person's read-only photos. - # Corresponds to the JSON property `photos` - # @return [Array] - attr_accessor :photos - - # **DEPRECATED** (Please use `person.ageRanges` instead)** - # The person's read-only age range. - # Corresponds to the JSON property `ageRange` - # @return [String] - attr_accessor :age_range - - # The person's read-only taglines. - # Corresponds to the JSON property `taglines` - # @return [Array] - attr_accessor :taglines - - # The person's read-only age ranges. - # Corresponds to the JSON property `ageRanges` - # @return [Array] - attr_accessor :age_ranges - - # The person's street addresses. - # Corresponds to the JSON property `addresses` - # @return [Array] - attr_accessor :addresses - - # The person's events. - # Corresponds to the JSON property `events` - # @return [Array] - attr_accessor :events - - # The person's read-only group memberships. - # Corresponds to the JSON property `memberships` - # @return [Array] - attr_accessor :memberships - - # The person's phone numbers. - # Corresponds to the JSON property `phoneNumbers` - # @return [Array] - attr_accessor :phone_numbers - - # The person's read-only cover photos. - # Corresponds to the JSON property `coverPhotos` - # @return [Array] - attr_accessor :cover_photos - - # The person's instant messaging clients. - # Corresponds to the JSON property `imClients` - # @return [Array] - attr_accessor :im_clients - - # The person's birthdays. - # Corresponds to the JSON property `birthdays` - # @return [Array] - attr_accessor :birthdays - - # The person's locale preferences. - # Corresponds to the JSON property `locales` - # @return [Array] - attr_accessor :locales - - # The person's read-only relationship interests. - # Corresponds to the JSON property `relationshipInterests` - # @return [Array] - attr_accessor :relationship_interests - - # The person's associated URLs. - # Corresponds to the JSON property `urls` - # @return [Array] - attr_accessor :urls - - # The person's nicknames. - # Corresponds to the JSON property `nicknames` - # @return [Array] - attr_accessor :nicknames - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @names = args[:names] if args.key?(:names) - @relations = args[:relations] if args.key?(:relations) - @occupations = args[:occupations] if args.key?(:occupations) - @email_addresses = args[:email_addresses] if args.key?(:email_addresses) - @organizations = args[:organizations] if args.key?(:organizations) - @etag = args[:etag] if args.key?(:etag) - @bragging_rights = args[:bragging_rights] if args.key?(:bragging_rights) - @metadata = args[:metadata] if args.key?(:metadata) - @residences = args[:residences] if args.key?(:residences) - @genders = args[:genders] if args.key?(:genders) - @interests = args[:interests] if args.key?(:interests) - @resource_name = args[:resource_name] if args.key?(:resource_name) - @biographies = args[:biographies] if args.key?(:biographies) - @skills = args[:skills] if args.key?(:skills) - @relationship_statuses = args[:relationship_statuses] if args.key?(:relationship_statuses) - @photos = args[:photos] if args.key?(:photos) - @age_range = args[:age_range] if args.key?(:age_range) - @taglines = args[:taglines] if args.key?(:taglines) - @age_ranges = args[:age_ranges] if args.key?(:age_ranges) - @addresses = args[:addresses] if args.key?(:addresses) - @events = args[:events] if args.key?(:events) - @memberships = args[:memberships] if args.key?(:memberships) - @phone_numbers = args[:phone_numbers] if args.key?(:phone_numbers) - @cover_photos = args[:cover_photos] if args.key?(:cover_photos) - @im_clients = args[:im_clients] if args.key?(:im_clients) - @birthdays = args[:birthdays] if args.key?(:birthdays) - @locales = args[:locales] if args.key?(:locales) - @relationship_interests = args[:relationship_interests] if args.key?(:relationship_interests) - @urls = args[:urls] if args.key?(:urls) - @nicknames = args[:nicknames] if args.key?(:nicknames) - end - end - - # A request to update an existing contact group. Only the name can be updated. - class UpdateContactGroupRequest + # A request to create a new contact group. + class CreateContactGroupRequest include Google::Apis::Core::Hashable # A contact group. @@ -724,22 +499,33 @@ module Google end end - # The read-only metadata about a contact group. - class ContactGroupMetadata + # 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 - # True if the contact group resource has been deleted. Populated only for - # [`ListContactGroups`](/people/api/rest/v1/contactgroups/list) requests - # that include a sync token. - # Corresponds to the JSON property `deleted` - # @return [Boolean] - attr_accessor :deleted - alias_method :deleted?, :deleted + # 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 - # The time the group was last updated. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time + # Month of year. Must be from 1 to 12. + # Corresponds to the JSON property `month` + # @return [Fixnum] + attr_accessor :month + + # 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) @@ -747,28 +533,62 @@ module Google # Update properties of this object def update!(**args) - @deleted = args[:deleted] if args.key?(:deleted) - @update_time = args[:update_time] if args.key?(:update_time) + @day = args[:day] if args.key?(:day) + @month = args[:month] if args.key?(:month) + @year = args[:year] if args.key?(:year) end end - # A person's past or current residence. - class Residence + # A Google Apps Domain membership. + class DomainMembership include Google::Apis::Core::Hashable - # 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 is in the viewer's Google Apps domain. + # Corresponds to the JSON property `inViewerDomain` # @return [Boolean] - attr_accessor :current - alias_method :current?, :current + attr_accessor :in_viewer_domain + alias_method :in_viewer_domain?, :in_viewer_domain + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @in_viewer_domain = args[:in_viewer_domain] if args.key?(:in_viewer_domain) + end + end + + # A person's email address. + class EmailAddress + include Google::Apis::Core::Hashable + + # The display name of the email. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # 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 address of the residence. + # 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 email address. # Corresponds to the JSON property `value` # @return [String] attr_accessor :value @@ -779,12 +599,33 @@ module Google # Update properties of this object def update!(**args) - @current = args[:current] if args.key?(:current) + @display_name = args[:display_name] if args.key?(:display_name) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) @value = args[:value] if args.key?(:value) 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 + # An event related to the person. class Event include Google::Apis::Core::Hashable @@ -807,6 +648,11 @@ module Google # @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` @@ -815,11 +661,6 @@ module Google # @return [String] attr_accessor :type - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - def initialize(**args) update!(**args) end @@ -828,19 +669,34 @@ module Google def update!(**args) @date = args[:date] if args.key?(:date) @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - @type = args[:type] if args.key?(:type) @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) end end - # The response to a modify contact group members request. - class ModifyContactGroupMembersResponse + # Metadata about a field. + class FieldMetadata include Google::Apis::Core::Hashable - # The contact people resource names that were not found. - # Corresponds to the JSON property `notFoundResourceNames` - # @return [Array] - attr_accessor :not_found_resource_names + # 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 + + # The source of a field. + # Corresponds to the JSON property `source` + # @return [Google::Apis::PeopleV1::Source] + attr_accessor :source + + # 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 def initialize(**args) update!(**args) @@ -848,32 +704,9 @@ module Google # Update properties of this object def update!(**args) - @not_found_resource_names = args[:not_found_resource_names] if args.key?(:not_found_resource_names) - end - end - - # The read-only metadata about a profile. - class ProfileMetadata - include Google::Apis::Core::Hashable - - # The user types. - # Corresponds to the JSON property `userTypes` - # @return [Array] - attr_accessor :user_types - - # The profile object type. - # Corresponds to the JSON property `objectType` - # @return [String] - attr_accessor :object_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @user_types = args[:user_types] if args.key?(:user_types) - @object_type = args[:object_type] if args.key?(:object_type) + @primary = args[:primary] if args.key?(:primary) + @source = args[:source] if args.key?(:source) + @verified = args[:verified] if args.key?(:verified) end end @@ -915,27 +748,14 @@ module Google end end - # A person's read-only cover photo. A large image shown on the person's - # profile page that represents who they are or what they care about. - class CoverPhoto + # + class GetPeopleResponse 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 - - # 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 + # The response for each requested resource name. + # Corresponds to the JSON property `responses` + # @return [Array] + attr_accessor :responses def initialize(**args) update!(**args) @@ -943,9 +763,72 @@ module Google # Update properties of this object def update!(**args) - @default = args[:default] if args.key?(:default) + @responses = args[:responses] if args.key?(:responses) + end + end + + # A person's instant messaging client. + class ImClient + include Google::Apis::Core::Hashable + + # 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 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 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 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 user name used in the IM client. + # Corresponds to the JSON property `username` + # @return [String] + attr_accessor :username + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @formatted_protocol = args[:formatted_protocol] if args.key?(:formatted_protocol) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) @metadata = args[:metadata] if args.key?(:metadata) - @url = args[:url] if args.key?(:url) + @protocol = args[:protocol] if args.key?(:protocol) + @type = args[:type] if args.key?(:type) + @username = args[:username] if args.key?(:username) end end @@ -974,137 +857,35 @@ module Google end end - # A person's nickname. - class Nickname + # + class ListConnectionsResponse include Google::Apis::Core::Hashable - # The type of the nickname. - # Corresponds to the JSON property `type` + # The list of people that the requestor is connected to. + # Corresponds to the JSON property `connections` + # @return [Array] + attr_accessor :connections + + # The token that can be used to retrieve the next page of results. + # Corresponds to the JSON property `nextPageToken` # @return [String] - attr_accessor :type + attr_accessor :next_page_token - # 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` + # The token that can be used to retrieve changes since the last request. + # Corresponds to the JSON property `nextSyncToken` # @return [String] - attr_accessor :value + attr_accessor :next_sync_token - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @type = args[:type] if args.key?(:type) - @metadata = args[:metadata] if args.key?(:metadata) - @value = args[:value] if args.key?(:value) - end - end - - # A person's email address. - class EmailAddress - include Google::Apis::Core::Hashable - - # The display name of the email. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # 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 - - # 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 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) - @display_name = args[:display_name] if args.key?(:display_name) - @type = args[:type] if args.key?(:type) - @metadata = args[:metadata] if args.key?(:metadata) - @value = args[:value] if args.key?(:value) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - 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 - - # 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 - - # 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` + # The total number of items in the list without pagination. + # Corresponds to the JSON property `totalItems` # @return [Fixnum] - attr_accessor :day + attr_accessor :total_items - # Year of date. Must be from 1 to 9999, or 0 if specifying a date without - # a year. - # Corresponds to the JSON property `year` + # **DEPRECATED** (Please use totalItems) + # The total number of people in the list without pagination. + # Corresponds to the JSON property `totalPeople` # @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 + attr_accessor :total_people def initialize(**args) update!(**args) @@ -1112,25 +893,38 @@ module Google # Update properties of this object def update!(**args) - @day = args[:day] if args.key?(:day) - @year = args[:year] if args.key?(:year) - @month = args[:month] if args.key?(:month) + @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) + @total_items = args[:total_items] if args.key?(:total_items) + @total_people = args[:total_people] if args.key?(:total_people) end end - # A read-only brief one-line description of the person. - class Tagline + # The response to a list contact groups request. + class ListContactGroupsResponse include Google::Apis::Core::Hashable - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata + # The list of contact groups. Members of the contact groups are not + # populated. + # Corresponds to the JSON property `contactGroups` + # @return [Array] + attr_accessor :contact_groups - # The tagline. - # Corresponds to the JSON property `value` + # The token that can be used to retrieve the next page of results. + # Corresponds to the JSON property `nextPageToken` # @return [String] - attr_accessor :value + 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 total number of items in the list without pagination. + # Corresponds to the JSON property `totalItems` + # @return [Fixnum] + attr_accessor :total_items def initialize(**args) update!(**args) @@ -1138,108 +932,10 @@ module Google # 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 name. If the name is a mononym, the family name is empty. - class Name - include Google::Apis::Core::Hashable - - # The full name spelled as it sounds. - # Corresponds to the JSON property `phoneticFullName` - # @return [String] - attr_accessor :phonetic_full_name - - # The read-only display name with the last name first formatted according to - # the locale specified by the viewer's account or the - # Accept-Language HTTP header. - # Corresponds to the JSON property `displayNameLastFirst` - # @return [String] - attr_accessor :display_name_last_first - - # The read-only 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 - - # The honorific prefixes, such as `Mrs.` or `Dr.` - # Corresponds to the JSON property `honorificPrefix` - # @return [String] - attr_accessor :honorific_prefix - - # The honorific suffixes spelled as they sound. - # Corresponds to the JSON property `phoneticHonorificSuffix` - # @return [String] - attr_accessor :phonetic_honorific_suffix - - # 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 spelled as they sound. - # Corresponds to the JSON property `phoneticHonorificPrefix` - # @return [String] - attr_accessor :phonetic_honorific_prefix - - # The given name spelled as it sounds. - # Corresponds to the JSON property `phoneticGivenName` - # @return [String] - attr_accessor :phonetic_given_name - - # The family name spelled as it sounds. - # Corresponds to the JSON property `phoneticFamilyName` - # @return [String] - attr_accessor :phonetic_family_name - - # The family name. - # Corresponds to the JSON property `familyName` - # @return [String] - attr_accessor :family_name - - # The middle name(s) spelled as they sound. - # Corresponds to the JSON property `phoneticMiddleName` - # @return [String] - attr_accessor :phonetic_middle_name - - # 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) - @phonetic_full_name = args[:phonetic_full_name] if args.key?(:phonetic_full_name) - @display_name_last_first = args[:display_name_last_first] if args.key?(:display_name_last_first) - @display_name = args[:display_name] if args.key?(:display_name) - @honorific_suffix = args[:honorific_suffix] if args.key?(:honorific_suffix) - @honorific_prefix = args[:honorific_prefix] if args.key?(:honorific_prefix) - @phonetic_honorific_suffix = args[:phonetic_honorific_suffix] if args.key?(:phonetic_honorific_suffix) - @given_name = args[:given_name] if args.key?(:given_name) - @middle_name = args[:middle_name] if args.key?(:middle_name) - @phonetic_honorific_prefix = args[:phonetic_honorific_prefix] if args.key?(:phonetic_honorific_prefix) - @phonetic_given_name = args[:phonetic_given_name] if args.key?(:phonetic_given_name) - @phonetic_family_name = args[:phonetic_family_name] if args.key?(:phonetic_family_name) - @family_name = args[:family_name] if args.key?(:family_name) - @phonetic_middle_name = args[:phonetic_middle_name] if args.key?(:phonetic_middle_name) - @metadata = args[:metadata] if args.key?(:metadata) + @contact_groups = args[:contact_groups] if args.key?(:contact_groups) + @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) + @total_items = args[:total_items] if args.key?(:total_items) end end @@ -1269,38 +965,19 @@ module Google 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 + # A person's read-only membership in a group. + class Membership include Google::Apis::Core::Hashable - def initialize(**args) - update!(**args) - end + # A Google contact group membership. + # Corresponds to the JSON property `contactGroupMembership` + # @return [Google::Apis::PeopleV1::ContactGroupMembership] + attr_accessor :contact_group_membership - # Update properties of this object - def update!(**args) - 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 - - # The content type of the biography. - # Corresponds to the JSON property `contentType` - # @return [String] - attr_accessor :content_type + # A Google Apps Domain membership. + # Corresponds to the JSON property `domainMembership` + # @return [Google::Apis::PeopleV1::DomainMembership] + attr_accessor :domain_membership # Metadata about a field. # Corresponds to the JSON property `metadata` @@ -1313,35 +990,27 @@ module Google # Update properties of this object def update!(**args) - @value = args[:value] if args.key?(:value) - @content_type = args[:content_type] if args.key?(:content_type) + @contact_group_membership = args[:contact_group_membership] if args.key?(:contact_group_membership) + @domain_membership = args[:domain_membership] if args.key?(:domain_membership) @metadata = args[:metadata] if args.key?(:metadata) end end - # Metadata about a field. - class FieldMetadata + # A request to modify an existing contact group's members. + class ModifyContactGroupMembersRequest include Google::Apis::Core::Hashable - # The source of a field. - # Corresponds to the JSON property `source` - # @return [Google::Apis::PeopleV1::Source] - attr_accessor :source + # The resource names of the contact people to add in the form of in the form + # `people/`person_id. + # Corresponds to the JSON property `resourceNamesToAdd` + # @return [Array] + attr_accessor :resource_names_to_add - # 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 - - # 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 + # The resource names of the contact people to remove in the form of in the + # form of `people/`person_id. + # Corresponds to the JSON property `resourceNamesToRemove` + # @return [Array] + attr_accessor :resource_names_to_remove def initialize(**args) update!(**args) @@ -1349,9 +1018,808 @@ module Google # Update properties of this object def update!(**args) - @source = args[:source] if args.key?(:source) - @verified = args[:verified] if args.key?(:verified) - @primary = args[:primary] if args.key?(:primary) + @resource_names_to_add = args[:resource_names_to_add] if args.key?(:resource_names_to_add) + @resource_names_to_remove = args[:resource_names_to_remove] if args.key?(:resource_names_to_remove) + end + end + + # The response to a modify contact group members request. + class ModifyContactGroupMembersResponse + include Google::Apis::Core::Hashable + + # The contact people resource names that were not found. + # Corresponds to the JSON property `notFoundResourceNames` + # @return [Array] + attr_accessor :not_found_resource_names + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @not_found_resource_names = args[:not_found_resource_names] if args.key?(:not_found_resource_names) + end + end + + # A person's name. If the name is a mononym, the family name is empty. + class Name + include Google::Apis::Core::Hashable + + # The read-only 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 read-only display name with the last name first formatted according to + # the locale specified by the viewer's account or the + # `Accept-Language` HTTP header. + # Corresponds to the JSON property `displayNameLastFirst` + # @return [String] + attr_accessor :display_name_last_first + + # 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 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 + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The middle name(s). + # Corresponds to the JSON property `middleName` + # @return [String] + attr_accessor :middle_name + + # The family name spelled as it sounds. + # Corresponds to the JSON property `phoneticFamilyName` + # @return [String] + attr_accessor :phonetic_family_name + + # The full name spelled as it sounds. + # Corresponds to the JSON property `phoneticFullName` + # @return [String] + attr_accessor :phonetic_full_name + + # The given name spelled as it sounds. + # Corresponds to the JSON property `phoneticGivenName` + # @return [String] + attr_accessor :phonetic_given_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 + + # The middle name(s) spelled as they sound. + # Corresponds to the JSON property `phoneticMiddleName` + # @return [String] + attr_accessor :phonetic_middle_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) + @display_name_last_first = args[:display_name_last_first] if args.key?(:display_name_last_first) + @family_name = args[:family_name] if args.key?(:family_name) + @given_name = args[:given_name] if args.key?(:given_name) + @honorific_prefix = args[:honorific_prefix] if args.key?(:honorific_prefix) + @honorific_suffix = args[:honorific_suffix] if args.key?(:honorific_suffix) + @metadata = args[:metadata] if args.key?(:metadata) + @middle_name = args[:middle_name] if args.key?(:middle_name) + @phonetic_family_name = args[:phonetic_family_name] if args.key?(:phonetic_family_name) + @phonetic_full_name = args[:phonetic_full_name] if args.key?(:phonetic_full_name) + @phonetic_given_name = args[:phonetic_given_name] if args.key?(:phonetic_given_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) + @phonetic_middle_name = args[:phonetic_middle_name] if args.key?(:phonetic_middle_name) + 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 type of the nickname. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The nickname. + # 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) + @type = args[:type] if args.key?(:type) + @value = args[:value] if args.key?(:value) + end + end + + # A person's occupation. + class Occupation + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # 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 + + # A person's past or current organization. Overlapping date ranges are + # permitted. + class Organization + include Google::Apis::Core::Hashable + + # 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 person's department at the organization. + # Corresponds to the JSON property `department` + # @return [String] + attr_accessor :department + + # The domain name associated with the organization; for example, `google.com`. + # Corresponds to the JSON property `domain` + # @return [String] + attr_accessor :domain + + # 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 + + # 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] + attr_accessor :job_description + + # The location of the organization office the person works at. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # 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 + + # 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 symbol associated with the organization; for example, a stock ticker + # symbol, abbreviation, or acronym. + # Corresponds to the JSON property `symbol` + # @return [String] + attr_accessor :symbol + + # The person's job title at the organization. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # 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 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @current = args[:current] if args.key?(:current) + @department = args[:department] if args.key?(:department) + @domain = args[:domain] if args.key?(:domain) + @end_date = args[:end_date] if args.key?(:end_date) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @job_description = args[:job_description] if args.key?(:job_description) + @location = args[:location] if args.key?(:location) + @metadata = args[:metadata] if args.key?(:metadata) + @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) + @symbol = args[:symbol] if args.key?(:symbol) + @title = args[:title] if args.key?(:title) + @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. + # 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 street addresses. + # Corresponds to the JSON property `addresses` + # @return [Array] + attr_accessor :addresses + + # **DEPRECATED** (Please use `person.ageRanges` instead)** + # The person's read-only age range. + # Corresponds to the JSON property `ageRange` + # @return [String] + attr_accessor :age_range + + # The person's read-only age ranges. + # Corresponds to the JSON property `ageRanges` + # @return [Array] + attr_accessor :age_ranges + + # The person's biographies. + # Corresponds to the JSON property `biographies` + # @return [Array] + attr_accessor :biographies + + # The person's birthdays. + # Corresponds to the JSON property `birthdays` + # @return [Array] + attr_accessor :birthdays + + # The person's bragging rights. + # Corresponds to the JSON property `braggingRights` + # @return [Array] + attr_accessor :bragging_rights + + # The person's read-only cover photos. + # Corresponds to the JSON property `coverPhotos` + # @return [Array] + attr_accessor :cover_photos + + # The person's email addresses. + # Corresponds to the JSON property `emailAddresses` + # @return [Array] + attr_accessor :email_addresses + + # 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 events. + # Corresponds to the JSON property `events` + # @return [Array] + attr_accessor :events + + # The person's genders. + # Corresponds to the JSON property `genders` + # @return [Array] + attr_accessor :genders + + # The person's instant messaging clients. + # Corresponds to the JSON property `imClients` + # @return [Array] + attr_accessor :im_clients + + # The person's interests. + # Corresponds to the JSON property `interests` + # @return [Array] + attr_accessor :interests + + # The person's locale preferences. + # Corresponds to the JSON property `locales` + # @return [Array] + attr_accessor :locales + + # The person's read-only group memberships. + # Corresponds to the JSON property `memberships` + # @return [Array] + attr_accessor :memberships + + # The read-only metadata about a person. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::PersonMetadata] + attr_accessor :metadata + + # 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 occupations. + # Corresponds to the JSON property `occupations` + # @return [Array] + attr_accessor :occupations + + # The person's past or current organizations. + # Corresponds to the JSON property `organizations` + # @return [Array] + attr_accessor :organizations + + # The person's phone numbers. + # Corresponds to the JSON property `phoneNumbers` + # @return [Array] + attr_accessor :phone_numbers + + # The person's read-only photos. + # Corresponds to the JSON property `photos` + # @return [Array] + attr_accessor :photos + + # The person's relations. + # Corresponds to the JSON property `relations` + # @return [Array] + attr_accessor :relations + + # The person's read-only relationship interests. + # Corresponds to the JSON property `relationshipInterests` + # @return [Array] + attr_accessor :relationship_interests + + # The person's read-only relationship statuses. + # Corresponds to the JSON property `relationshipStatuses` + # @return [Array] + attr_accessor :relationship_statuses + + # The person's residences. + # Corresponds to the JSON property `residences` + # @return [Array] + attr_accessor :residences + + # The resource name for the person, assigned by the server. An ASCII string + # with a max length of 27 characters, in the form of + # `people/`person_id. + # Corresponds to the JSON property `resourceName` + # @return [String] + attr_accessor :resource_name + + # The person's skills. + # Corresponds to the JSON property `skills` + # @return [Array] + attr_accessor :skills + + # The person's read-only taglines. + # Corresponds to the JSON property `taglines` + # @return [Array] + attr_accessor :taglines + + # The person's associated URLs. + # Corresponds to the JSON property `urls` + # @return [Array] + attr_accessor :urls + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @addresses = args[:addresses] if args.key?(:addresses) + @age_range = args[:age_range] if args.key?(:age_range) + @age_ranges = args[:age_ranges] if args.key?(:age_ranges) + @biographies = args[:biographies] if args.key?(:biographies) + @birthdays = args[:birthdays] if args.key?(:birthdays) + @bragging_rights = args[:bragging_rights] if args.key?(:bragging_rights) + @cover_photos = args[:cover_photos] if args.key?(:cover_photos) + @email_addresses = args[:email_addresses] if args.key?(:email_addresses) + @etag = args[:etag] if args.key?(:etag) + @events = args[:events] if args.key?(:events) + @genders = args[:genders] if args.key?(:genders) + @im_clients = args[:im_clients] if args.key?(:im_clients) + @interests = args[:interests] if args.key?(:interests) + @locales = args[:locales] if args.key?(:locales) + @memberships = args[:memberships] if args.key?(:memberships) + @metadata = args[:metadata] if args.key?(:metadata) + @names = args[:names] if args.key?(:names) + @nicknames = args[:nicknames] if args.key?(:nicknames) + @occupations = args[:occupations] if args.key?(:occupations) + @organizations = args[:organizations] if args.key?(:organizations) + @phone_numbers = args[:phone_numbers] if args.key?(:phone_numbers) + @photos = args[:photos] if args.key?(:photos) + @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) + @residences = args[:residences] if args.key?(:residences) + @resource_name = args[:resource_name] if args.key?(:resource_name) + @skills = args[:skills] if args.key?(:skills) + @taglines = args[:taglines] if args.key?(:taglines) + @urls = args[:urls] if args.key?(:urls) + end + end + + # The read-only metadata about a person. + class PersonMetadata + include Google::Apis::Core::Hashable + + # 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 + + # Resource names of people linked to this resource. + # Corresponds to the JSON property `linkedPeopleResourceNames` + # @return [Array] + attr_accessor :linked_people_resource_names + + # **DEPRECATED** (Please use + # `person.metadata.sources.profileMetadata.objectType` instead) + # 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 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @deleted = args[:deleted] if args.key?(:deleted) + @linked_people_resource_names = args[:linked_people_resource_names] if args.key?(:linked_people_resource_names) + @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) + end + end + + # The response for a single person + class PersonResponse + include Google::Apis::Core::Hashable + + # **DEPRECATED** (Please use status instead) + # [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 + + # Information about a person merged from various data sources such as the + # authenticated user's contacts and profile data. + # 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 + + # 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` that 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. + # - 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 `status` + # @return [Google::Apis::PeopleV1::Status] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @http_status_code = args[:http_status_code] if args.key?(:http_status_code) + @person = args[:person] if args.key?(:person) + @requested_resource_name = args[:requested_resource_name] if args.key?(:requested_resource_name) + @status = args[:status] if args.key?(:status) + end + end + + # A person's phone number. + class PhoneNumber + include Google::Apis::Core::Hashable + + # 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 read-only type of the phone number 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 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 phone number. + # 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) + @canonical_form = args[:canonical_form] if args.key?(:canonical_form) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) + @value = args[:value] if args.key?(:value) + end + end + + # A person's read-only 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. You can change the desired size by appending a query + # parameter `sz=`size at the end of the url. Example: + # `https://lh3.googleusercontent.com/-T_wVWLlmg7w/AAAAAAAAAAI/AAAAAAAABa8/ + # 00gzXvDBYqw/s100/photo.jpg?sz=50` + # 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 + + # The read-only metadata about a profile. + class ProfileMetadata + include Google::Apis::Core::Hashable + + # The profile object type. + # Corresponds to the JSON property `objectType` + # @return [String] + attr_accessor :object_type + + # The user types. + # Corresponds to the JSON property `userTypes` + # @return [Array] + attr_accessor :user_types + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_type = args[:object_type] if args.key?(:object_type) + @user_types = args[:user_types] if args.key?(:user_types) + end + end + + # A person's relation to another person. + class Relation + 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 + + # 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 + + 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) + @person = args[:person] if args.key?(:person) + @type = args[:type] if args.key?(:type) end end @@ -1394,15 +1862,110 @@ module Google end end + # A person's read-only relationship status. + class RelationshipStatus + include Google::Apis::Core::Hashable + + # 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 + + # 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 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @formatted_value = args[:formatted_value] if args.key?(:formatted_value) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) + end + end + + # A person's past or current residence. + class Residence + include Google::Apis::Core::Hashable + + # 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 + + # 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 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @current = args[:current] if args.key?(:current) + @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 + # The source of a field. class Source include Google::Apis::Core::Hashable - # The source type. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - # **Only populated in `person.metadata.sources`.** # The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the # source. Used for web cache validation. @@ -1420,6 +1983,11 @@ module Google # @return [Google::Apis::PeopleV1::ProfileMetadata] attr_accessor :profile_metadata + # The source type. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + # **Only populated in `person.metadata.sources`.** # Last update timestamp of this source. # Corresponds to the JSON property `updateTime` @@ -1432,341 +2000,14 @@ module Google # Update properties of this object def update!(**args) - @type = args[:type] if args.key?(:type) @etag = args[:etag] if args.key?(:etag) @id = args[:id] if args.key?(:id) @profile_metadata = args[:profile_metadata] if args.key?(:profile_metadata) + @type = args[:type] if args.key?(:type) @update_time = args[:update_time] if args.key?(:update_time) 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 - - # A person's read-only 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. You can change the desired size by appending a query - # parameter `sz=` at the end of the url. Example: - # `https://lh3.googleusercontent.com/-T_wVWLlmg7w/AAAAAAAAAAI/AAAAAAAABa8/ - # 00gzXvDBYqw/s100/photo.jpg?sz=50` - # 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 phone number. - class PhoneNumber - include Google::Apis::Core::Hashable - - # The read-only type of the phone number 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 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 - - # 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 - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - @canonical_form = args[:canonical_form] if args.key?(:canonical_form) - @type = args[:type] if args.key?(:type) - @metadata = args[:metadata] if args.key?(:metadata) - @value = args[:value] if args.key?(:value) - 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 total number of items in the list without pagination. - # Corresponds to the JSON property `totalItems` - # @return [Fixnum] - attr_accessor :total_items - - # 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 - - # **DEPRECATED** (Please use totalItems) - # The total number of people in the list without pagination. - # Corresponds to the JSON property `totalPeople` - # @return [Fixnum] - attr_accessor :total_people - - 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) - @total_items = args[:total_items] if args.key?(:total_items) - @next_sync_token = args[:next_sync_token] if args.key?(:next_sync_token) - @connections = args[:connections] if args.key?(:connections) - @total_people = args[:total_people] if args.key?(:total_people) - end - end - - # 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 - - # A free-form string representing the user's birthday. - # Corresponds to the JSON property `text` - # @return [String] - attr_accessor :text - - # 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 - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @text = args[:text] if args.key?(:text) - @metadata = args[:metadata] if args.key?(:metadata) - @date = args[:date] if args.key?(:date) - end - end - - # A request to create a new contact group. - class CreateContactGroupRequest - include Google::Apis::Core::Hashable - - # A contact group. - # Corresponds to the JSON property `contactGroup` - # @return [Google::Apis::PeopleV1::ContactGroup] - attr_accessor :contact_group - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @contact_group = args[:contact_group] if args.key?(:contact_group) - end - end - - # A person's physical address. May be a P.O. box or street address. All fields - # are optional. - 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 - - # The region of the address; for example, the state or province. - # Corresponds to the JSON property `region` - # @return [String] - attr_accessor :region - - # The street address. - # Corresponds to the JSON property `streetAddress` - # @return [String] - attr_accessor :street_address - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # 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 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 city of the address. - # Corresponds to the JSON property `city` - # @return [String] - attr_accessor :city - - # The unstructured value of the address. If this is not set by the user it - # will be automatically constructed from structured values. - # Corresponds to the JSON property `formattedValue` - # @return [String] - attr_accessor :formatted_value - - # The country of the address. - # Corresponds to the JSON property `country` - # @return [String] - attr_accessor :country - - # 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 extended address of the address; for example, the apartment number. - # Corresponds to the JSON property `extendedAddress` - # @return [String] - attr_accessor :extended_address - - # The P.O. box of the address. - # Corresponds to the JSON property `poBox` - # @return [String] - attr_accessor :po_box - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @postal_code = args[:postal_code] if args.key?(:postal_code) - @region = args[:region] if args.key?(:region) - @street_address = args[:street_address] if args.key?(:street_address) - @metadata = args[:metadata] if args.key?(:metadata) - @country_code = args[:country_code] if args.key?(:country_code) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - @city = args[:city] if args.key?(:city) - @formatted_value = args[:formatted_value] if args.key?(:formatted_value) - @country = args[:country] if args.key?(:country) - @type = args[:type] if args.key?(:type) - @extended_address = args[:extended_address] if args.key?(:extended_address) - @po_box = args[:po_box] if args.key?(:po_box) - 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. - # Corresponds to the JSON property `contactGroupId` - # @return [String] - attr_accessor :contact_group_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @contact_group_id = args[:contact_group_id] if args.key?(:contact_group_id) - 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: @@ -1809,12 +2050,10 @@ module Google class Status include Google::Apis::Core::Hashable - # 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 + # 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 is a common set of # message types for APIs to use. @@ -1822,10 +2061,12 @@ module Google # @return [Array>] attr_accessor :details - # 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 def initialize(**args) update!(**args) @@ -1833,50 +2074,25 @@ module Google # Update properties of this object def update!(**args) - @message = args[:message] if args.key?(:message) - @details = args[:details] if args.key?(:details) @code = args[:code] if args.key?(:code) + @details = args[:details] if args.key?(:details) + @message = args[:message] if args.key?(:message) end end - # The read-only metadata about a person. - class PersonMetadata + # A read-only brief one-line description of the person. + class Tagline include Google::Apis::Core::Hashable - # 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 + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata - # 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 - - # **DEPRECATED** (Please use - # `person.metadata.sources.profileMetadata.objectType` instead) - # The type of the person object. - # Corresponds to the JSON property `objectType` + # The tagline. + # Corresponds to the JSON property `value` # @return [String] - attr_accessor :object_type - - # Resource names of people linked to this resource. - # Corresponds to the JSON property `linkedPeopleResourceNames` - # @return [Array] - attr_accessor :linked_people_resource_names + attr_accessor :value def initialize(**args) update!(**args) @@ -1884,93 +2100,15 @@ module Google # Update properties of this object def update!(**args) - @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) - @object_type = args[:object_type] if args.key?(:object_type) - @linked_people_resource_names = args[:linked_people_resource_names] if args.key?(:linked_people_resource_names) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) end end - # A request to modify an existing contact group's members. - class ModifyContactGroupMembersRequest + # A request to update an existing contact group. Only the name can be updated. + class UpdateContactGroupRequest include Google::Apis::Core::Hashable - # The resource names of the contact people to add in the form of in the form - # `people/`. - # Corresponds to the JSON property `resourceNamesToAdd` - # @return [Array] - attr_accessor :resource_names_to_add - - # The resource names of the contact people to remove in the form of in the - # form of `people/`. - # Corresponds to the JSON property `resourceNamesToRemove` - # @return [Array] - attr_accessor :resource_names_to_remove - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @resource_names_to_add = args[:resource_names_to_add] if args.key?(:resource_names_to_add) - @resource_names_to_remove = args[:resource_names_to_remove] if args.key?(:resource_names_to_remove) - end - end - - # The response for a specific contact group. - class ContactGroupResponse - include Google::Apis::Core::Hashable - - # 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` that 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. - # - 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 `status` - # @return [Google::Apis::PeopleV1::Status] - attr_accessor :status - - # The original requested resource name. - # Corresponds to the JSON property `requestedResourceName` - # @return [String] - attr_accessor :requested_resource_name - # A contact group. # Corresponds to the JSON property `contactGroup` # @return [Google::Apis::PeopleV1::ContactGroup] @@ -1982,8 +2120,6 @@ module Google # Update properties of this object def update!(**args) - @status = args[:status] if args.key?(:status) - @requested_resource_name = args[:requested_resource_name] if args.key?(:requested_resource_name) @contact_group = args[:contact_group] if args.key?(:contact_group) end end @@ -1992,6 +2128,17 @@ module Google class Url include Google::Apis::Core::Hashable + # 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` @@ -2007,167 +2154,21 @@ module Google # @return [String] attr_accessor :type - # 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 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) - @type = args[:type] if args.key?(:type) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) @value = args[:value] if args.key?(:value) - @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 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 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 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 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 - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @type = args[:type] if args.key?(:type) - @protocol = args[:protocol] if args.key?(:protocol) - @username = args[:username] if args.key?(:username) - @formatted_protocol = args[:formatted_protocol] if args.key?(:formatted_protocol) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - end - end - - # A Google Apps Domain membership. - class DomainMembership - include Google::Apis::Core::Hashable - - # True if the person is in the viewer's Google Apps domain. - # Corresponds to the JSON property `inViewerDomain` - # @return [Boolean] - attr_accessor :in_viewer_domain - alias_method :in_viewer_domain?, :in_viewer_domain - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @in_viewer_domain = args[:in_viewer_domain] if args.key?(:in_viewer_domain) - end - end - - # The response to a batch get contact groups request. - class BatchGetContactGroupsResponse - include Google::Apis::Core::Hashable - - # The list of responses for each requested contact group resource. - # 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 - - # A person's read-only 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 Apps Domain membership. - # Corresponds to the JSON property `domainMembership` - # @return [Google::Apis::PeopleV1::DomainMembership] - attr_accessor :domain_membership - - # A Google contact group membership. - # Corresponds to the JSON property `contactGroupMembership` - # @return [Google::Apis::PeopleV1::ContactGroupMembership] - attr_accessor :contact_group_membership - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @domain_membership = args[:domain_membership] if args.key?(:domain_membership) - @contact_group_membership = args[:contact_group_membership] if args.key?(:contact_group_membership) end end end diff --git a/generated/google/apis/people_v1/representations.rb b/generated/google/apis/people_v1/representations.rb index e7285491a..1f7a85800 100644 --- a/generated/google/apis/people_v1/representations.rb +++ b/generated/google/apis/people_v1/representations.rb @@ -22,277 +22,13 @@ module Google module Apis module PeopleV1 - class RelationshipStatus - 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 Organization - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AgeRangeType - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListContactGroupsResponse - 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 Relation - 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 ContactGroup - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Person - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateContactGroupRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ContactGroupMetadata - 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 Event - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ModifyContactGroupMembersResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ProfileMetadata - 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 CoverPhoto - 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 Nickname - 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 Skill - 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 Tagline - 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 Locale - 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 Biography - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FieldMetadata - 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 Source - 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 Photo - 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 ListConnectionsResponse - 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 CreateContactGroupRequest - 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 ContactGroupMembership - 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 PersonMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ModifyContactGroupMembersRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ContactGroupResponse - 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 ImClient - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DomainMembership + class AgeRangeType class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -304,51 +40,292 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Biography + 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 BraggingRights + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ContactGroup + 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 ContactGroupMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ContactGroupResponse + 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 + + class CreateContactGroupRequest + 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 DomainMembership + 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 Empty + 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 FieldMetadata + 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 GetPeopleResponse + 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 Interest + 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 ListContactGroupsResponse + 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 + class Membership class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class RelationshipStatus - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + class ModifyContactGroupMembersRequest + class Representation < Google::Apis::Core::JsonRepresentation; end - property :value, as: 'value' - property :formatted_value, as: 'formattedValue' - end + include Google::Apis::Core::JsonObjectSupport 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 + class ModifyContactGroupMembersResponse + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport + end + + class Name + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Nickname + 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 Organization + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Person + 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 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 Photo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ProfileMetadata + 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 Residence + 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 Source + 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 Tagline + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateContactGroupRequest + 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 Address # @private class Representation < Google::Apis::Core::JsonRepresentation + property :city, as: 'city' + property :country, as: 'country' + property :country_code, as: 'countryCode' + property :extended_address, as: 'extendedAddress' + property :formatted_type, as: 'formattedType' + property :formatted_value, as: 'formattedValue' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - property :location, as: 'location' - property :title, as: 'title' - property :current, as: 'current' - property :start_date, as: 'startDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation - - property :formatted_type, as: 'formattedType' - property :domain, as: 'domain' - property :department, as: 'department' + property :po_box, as: 'poBox' + property :postal_code, as: 'postalCode' + property :region, as: 'region' + property :street_address, as: 'streetAddress' property :type, as: 'type' - property :phonetic_name, as: 'phoneticName' - property :job_description, as: 'jobDescription' - property :end_date, as: 'endDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation - - property :symbol, as: 'symbol' - property :name, as: 'name' end end @@ -361,41 +338,36 @@ module Google end end - class ListContactGroupsResponse + class BatchGetContactGroupsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_sync_token, as: 'nextSyncToken' - property :total_items, as: 'totalItems' - collection :contact_groups, as: 'contactGroups', class: Google::Apis::PeopleV1::ContactGroup, decorator: Google::Apis::PeopleV1::ContactGroup::Representation + collection :responses, as: 'responses', class: Google::Apis::PeopleV1::ContactGroupResponse, decorator: Google::Apis::PeopleV1::ContactGroupResponse::Representation - property :next_page_token, as: 'nextPageToken' end end - class PersonResponse + class Biography # @private class Representation < Google::Apis::Core::JsonRepresentation - property :person, as: 'person', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation - - property :status, as: 'status', class: Google::Apis::PeopleV1::Status, decorator: Google::Apis::PeopleV1::Status::Representation - - property :http_status_code, as: 'httpStatusCode' - property :requested_resource_name, as: 'requestedResourceName' - end - end - - class Relation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :formatted_type, as: 'formattedType' - property :person, as: 'person' - property :type, as: 'type' + property :content_type, as: 'contentType' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + property :value, as: 'value' end end - class Occupation + class Birthday + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation + + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :text, as: 'text' + 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 @@ -407,86 +379,22 @@ module Google class ContactGroup # @private class Representation < Google::Apis::Core::JsonRepresentation - property :resource_name, as: 'resourceName' property :etag, as: 'etag' - property :group_type, as: 'groupType' property :formatted_name, as: 'formattedName' + property :group_type, as: 'groupType' + property :member_count, as: 'memberCount' collection :member_resource_names, as: 'memberResourceNames' - property :name, as: 'name' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::ContactGroupMetadata, decorator: Google::Apis::PeopleV1::ContactGroupMetadata::Representation - property :member_count, as: 'memberCount' - end - end - - class Person - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :names, as: 'names', class: Google::Apis::PeopleV1::Name, decorator: Google::Apis::PeopleV1::Name::Representation - - collection :relations, as: 'relations', class: Google::Apis::PeopleV1::Relation, decorator: Google::Apis::PeopleV1::Relation::Representation - - collection :occupations, as: 'occupations', class: Google::Apis::PeopleV1::Occupation, decorator: Google::Apis::PeopleV1::Occupation::Representation - - collection :email_addresses, as: 'emailAddresses', class: Google::Apis::PeopleV1::EmailAddress, decorator: Google::Apis::PeopleV1::EmailAddress::Representation - - collection :organizations, as: 'organizations', class: Google::Apis::PeopleV1::Organization, decorator: Google::Apis::PeopleV1::Organization::Representation - - property :etag, as: 'etag' - collection :bragging_rights, as: 'braggingRights', class: Google::Apis::PeopleV1::BraggingRights, decorator: Google::Apis::PeopleV1::BraggingRights::Representation - - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::PersonMetadata, decorator: Google::Apis::PeopleV1::PersonMetadata::Representation - - collection :residences, as: 'residences', class: Google::Apis::PeopleV1::Residence, decorator: Google::Apis::PeopleV1::Residence::Representation - - collection :genders, as: 'genders', class: Google::Apis::PeopleV1::Gender, decorator: Google::Apis::PeopleV1::Gender::Representation - - collection :interests, as: 'interests', class: Google::Apis::PeopleV1::Interest, decorator: Google::Apis::PeopleV1::Interest::Representation - + property :name, as: 'name' property :resource_name, as: 'resourceName' - collection :biographies, as: 'biographies', class: Google::Apis::PeopleV1::Biography, decorator: Google::Apis::PeopleV1::Biography::Representation - - collection :skills, as: 'skills', class: Google::Apis::PeopleV1::Skill, decorator: Google::Apis::PeopleV1::Skill::Representation - - collection :relationship_statuses, as: 'relationshipStatuses', class: Google::Apis::PeopleV1::RelationshipStatus, decorator: Google::Apis::PeopleV1::RelationshipStatus::Representation - - collection :photos, as: 'photos', class: Google::Apis::PeopleV1::Photo, decorator: Google::Apis::PeopleV1::Photo::Representation - - property :age_range, as: 'ageRange' - collection :taglines, as: 'taglines', class: Google::Apis::PeopleV1::Tagline, decorator: Google::Apis::PeopleV1::Tagline::Representation - - collection :age_ranges, as: 'ageRanges', class: Google::Apis::PeopleV1::AgeRangeType, decorator: Google::Apis::PeopleV1::AgeRangeType::Representation - - collection :addresses, as: 'addresses', class: Google::Apis::PeopleV1::Address, decorator: Google::Apis::PeopleV1::Address::Representation - - collection :events, as: 'events', class: Google::Apis::PeopleV1::Event, decorator: Google::Apis::PeopleV1::Event::Representation - - collection :memberships, as: 'memberships', class: Google::Apis::PeopleV1::Membership, decorator: Google::Apis::PeopleV1::Membership::Representation - - collection :phone_numbers, as: 'phoneNumbers', class: Google::Apis::PeopleV1::PhoneNumber, decorator: Google::Apis::PeopleV1::PhoneNumber::Representation - - collection :cover_photos, as: 'coverPhotos', class: Google::Apis::PeopleV1::CoverPhoto, decorator: Google::Apis::PeopleV1::CoverPhoto::Representation - - collection :im_clients, as: 'imClients', class: Google::Apis::PeopleV1::ImClient, decorator: Google::Apis::PeopleV1::ImClient::Representation - - collection :birthdays, as: 'birthdays', class: Google::Apis::PeopleV1::Birthday, decorator: Google::Apis::PeopleV1::Birthday::Representation - - collection :locales, as: 'locales', class: Google::Apis::PeopleV1::Locale, decorator: Google::Apis::PeopleV1::Locale::Representation - - collection :relationship_interests, as: 'relationshipInterests', class: Google::Apis::PeopleV1::RelationshipInterest, decorator: Google::Apis::PeopleV1::RelationshipInterest::Representation - - collection :urls, as: 'urls', class: Google::Apis::PeopleV1::Url, decorator: Google::Apis::PeopleV1::Url::Representation - - collection :nicknames, as: 'nicknames', class: Google::Apis::PeopleV1::Nickname, decorator: Google::Apis::PeopleV1::Nickname::Representation - end end - class UpdateContactGroupRequest + class ContactGroupMembership # @private class Representation < Google::Apis::Core::JsonRepresentation - property :contact_group, as: 'contactGroup', class: Google::Apis::PeopleV1::ContactGroup, decorator: Google::Apis::PeopleV1::ContactGroup::Representation - + property :contact_group_id, as: 'contactGroupId' end end @@ -498,50 +406,14 @@ module Google end end - class Residence + class ContactGroupResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :current, as: 'current' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + property :contact_group, as: 'contactGroup', class: Google::Apis::PeopleV1::ContactGroup, decorator: Google::Apis::PeopleV1::ContactGroup::Representation - property :value, as: 'value' - end - end + property :requested_resource_name, as: 'requestedResourceName' + property :status, as: 'status', class: Google::Apis::PeopleV1::Status, decorator: Google::Apis::PeopleV1::Status::Representation - class Event - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation - - property :formatted_type, as: 'formattedType' - property :type, as: 'type' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - end - end - - class ModifyContactGroupMembersResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :not_found_resource_names, as: 'notFoundResourceNames' - end - end - - class ProfileMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :user_types, as: 'userTypes' - property :object_type, as: 'objectType' - end - end - - class Gender - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :formatted_value, as: 'formattedValue' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :value, as: 'value' end end @@ -555,6 +427,101 @@ module Google end end + class CreateContactGroupRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :contact_group, as: 'contactGroup', class: Google::Apis::PeopleV1::ContactGroup, decorator: Google::Apis::PeopleV1::ContactGroup::Representation + + end + end + + class Date + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :day, as: 'day' + property :month, as: 'month' + property :year, as: 'year' + end + end + + class DomainMembership + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :in_viewer_domain, as: 'inViewerDomain' + end + end + + class EmailAddress + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + 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 :value, as: 'value' + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Event + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation + + 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 FieldMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :primary, as: 'primary' + property :source, as: 'source', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation + + property :verified, as: 'verified' + end + end + + class Gender + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :formatted_value, as: 'formattedValue' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :value, as: 'value' + end + end + + class GetPeopleResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :responses, as: 'responses', class: Google::Apis::PeopleV1::PersonResponse, decorator: Google::Apis::PeopleV1::PersonResponse::Representation + + end + end + + class ImClient + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :formatted_protocol, as: 'formattedProtocol' + property :formatted_type, as: 'formattedType' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :protocol, as: 'protocol' + property :type, as: 'type' + property :username, as: 'username' + end + end + class Interest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -564,73 +531,26 @@ module Google end end - class Nickname + class ListConnectionsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + collection :connections, as: 'connections', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation - property :value, as: 'value' + property :next_page_token, as: 'nextPageToken' + property :next_sync_token, as: 'nextSyncToken' + property :total_items, as: 'totalItems' + property :total_people, as: 'totalPeople' end end - class EmailAddress + class ListContactGroupsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :display_name, as: 'displayName' - property :type, as: 'type' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :value, as: 'value' - property :formatted_type, as: 'formattedType' - 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 Date - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :day, as: 'day' - property :year, as: 'year' - property :month, as: 'month' - 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 Name - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :phonetic_full_name, as: 'phoneticFullName' - property :display_name_last_first, as: 'displayNameLastFirst' - property :display_name, as: 'displayName' - property :honorific_suffix, as: 'honorificSuffix' - property :honorific_prefix, as: 'honorificPrefix' - property :phonetic_honorific_suffix, as: 'phoneticHonorificSuffix' - property :given_name, as: 'givenName' - property :middle_name, as: 'middleName' - property :phonetic_honorific_prefix, as: 'phoneticHonorificPrefix' - property :phonetic_given_name, as: 'phoneticGivenName' - property :phonetic_family_name, as: 'phoneticFamilyName' - property :family_name, as: 'familyName' - property :phonetic_middle_name, as: 'phoneticMiddleName' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + collection :contact_groups, as: 'contactGroups', class: Google::Apis::PeopleV1::ContactGroup, decorator: Google::Apis::PeopleV1::ContactGroup::Representation + property :next_page_token, as: 'nextPageToken' + property :next_sync_token, as: 'nextSyncToken' + property :total_items, as: 'totalItems' end end @@ -643,29 +563,220 @@ module Google end end - class Empty + class Membership # @private class Representation < Google::Apis::Core::JsonRepresentation - end - end + 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 - class Biography - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :content_type, as: 'contentType' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation end end - class FieldMetadata + class ModifyContactGroupMembersRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :source, as: 'source', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation + collection :resource_names_to_add, as: 'resourceNamesToAdd' + collection :resource_names_to_remove, as: 'resourceNamesToRemove' + end + end - property :verified, as: 'verified' - property :primary, as: 'primary' + class ModifyContactGroupMembersResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :not_found_resource_names, as: 'notFoundResourceNames' + end + end + + class Name + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :display_name_last_first, as: 'displayNameLastFirst' + property :family_name, as: 'familyName' + property :given_name, as: 'givenName' + property :honorific_prefix, as: 'honorificPrefix' + property :honorific_suffix, as: 'honorificSuffix' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :middle_name, as: 'middleName' + property :phonetic_family_name, as: 'phoneticFamilyName' + property :phonetic_full_name, as: 'phoneticFullName' + property :phonetic_given_name, as: 'phoneticGivenName' + property :phonetic_honorific_prefix, as: 'phoneticHonorificPrefix' + property :phonetic_honorific_suffix, as: 'phoneticHonorificSuffix' + property :phonetic_middle_name, as: 'phoneticMiddleName' + 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 :type, as: 'type' + property :value, as: 'value' + 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 Organization + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :current, as: 'current' + property :department, as: 'department' + property :domain, as: 'domain' + property :end_date, as: 'endDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation + + property :formatted_type, as: 'formattedType' + property :job_description, as: 'jobDescription' + property :location, as: 'location' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + 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 :symbol, as: 'symbol' + property :title, as: 'title' + property :type, as: 'type' + end + end + + class Person + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :addresses, as: 'addresses', class: Google::Apis::PeopleV1::Address, decorator: Google::Apis::PeopleV1::Address::Representation + + property :age_range, as: 'ageRange' + collection :age_ranges, as: 'ageRanges', class: Google::Apis::PeopleV1::AgeRangeType, decorator: Google::Apis::PeopleV1::AgeRangeType::Representation + + collection :biographies, as: 'biographies', class: Google::Apis::PeopleV1::Biography, decorator: Google::Apis::PeopleV1::Biography::Representation + + collection :birthdays, as: 'birthdays', class: Google::Apis::PeopleV1::Birthday, decorator: Google::Apis::PeopleV1::Birthday::Representation + + collection :bragging_rights, as: 'braggingRights', class: Google::Apis::PeopleV1::BraggingRights, decorator: Google::Apis::PeopleV1::BraggingRights::Representation + + collection :cover_photos, as: 'coverPhotos', class: Google::Apis::PeopleV1::CoverPhoto, decorator: Google::Apis::PeopleV1::CoverPhoto::Representation + + collection :email_addresses, as: 'emailAddresses', class: Google::Apis::PeopleV1::EmailAddress, decorator: Google::Apis::PeopleV1::EmailAddress::Representation + + property :etag, as: 'etag' + collection :events, as: 'events', class: Google::Apis::PeopleV1::Event, decorator: Google::Apis::PeopleV1::Event::Representation + + collection :genders, as: 'genders', class: Google::Apis::PeopleV1::Gender, decorator: Google::Apis::PeopleV1::Gender::Representation + + collection :im_clients, as: 'imClients', class: Google::Apis::PeopleV1::ImClient, decorator: Google::Apis::PeopleV1::ImClient::Representation + + collection :interests, as: 'interests', class: Google::Apis::PeopleV1::Interest, decorator: Google::Apis::PeopleV1::Interest::Representation + + collection :locales, as: 'locales', class: Google::Apis::PeopleV1::Locale, decorator: Google::Apis::PeopleV1::Locale::Representation + + 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 :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 :occupations, as: 'occupations', class: Google::Apis::PeopleV1::Occupation, decorator: Google::Apis::PeopleV1::Occupation::Representation + + collection :organizations, as: 'organizations', class: Google::Apis::PeopleV1::Organization, decorator: Google::Apis::PeopleV1::Organization::Representation + + collection :phone_numbers, as: 'phoneNumbers', class: Google::Apis::PeopleV1::PhoneNumber, decorator: Google::Apis::PeopleV1::PhoneNumber::Representation + + collection :photos, as: 'photos', class: Google::Apis::PeopleV1::Photo, decorator: Google::Apis::PeopleV1::Photo::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 :residences, as: 'residences', class: Google::Apis::PeopleV1::Residence, decorator: Google::Apis::PeopleV1::Residence::Representation + + property :resource_name, as: 'resourceName' + collection :skills, as: 'skills', class: Google::Apis::PeopleV1::Skill, decorator: Google::Apis::PeopleV1::Skill::Representation + + collection :taglines, as: 'taglines', class: Google::Apis::PeopleV1::Tagline, decorator: Google::Apis::PeopleV1::Tagline::Representation + + collection :urls, as: 'urls', class: Google::Apis::PeopleV1::Url, decorator: Google::Apis::PeopleV1::Url::Representation + + end + end + + class PersonMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :deleted, as: 'deleted' + collection :linked_people_resource_names, as: 'linkedPeopleResourceNames' + 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 + + 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 :status, as: 'status', class: Google::Apis::PeopleV1::Status, decorator: Google::Apis::PeopleV1::Status::Representation + + end + end + + class PhoneNumber + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :canonical_form, as: 'canonicalForm' + 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 :value, as: 'value' + 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 ProfileMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_type, as: 'objectType' + collection :user_types, as: 'userTypes' + end + end + + class Relation + # @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 :person, as: 'person' + property :type, as: 'type' end end @@ -679,139 +790,68 @@ module Google end end - class Source + class RelationshipStatus # @private class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :etag, as: 'etag' - property :id, as: 'id' - property :profile_metadata, as: 'profileMetadata', class: Google::Apis::PeopleV1::ProfileMetadata, decorator: Google::Apis::PeopleV1::ProfileMetadata::Representation - - property :update_time, as: 'updateTime' - end - end - - class GetPeopleResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :responses, as: 'responses', class: Google::Apis::PeopleV1::PersonResponse, decorator: Google::Apis::PeopleV1::PersonResponse::Representation - - 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 PhoneNumber - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :formatted_type, as: 'formattedType' - property :canonical_form, as: 'canonicalForm' - property :type, as: 'type' + property :formatted_value, as: 'formattedValue' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation property :value, as: 'value' end end - class ListConnectionsResponse + class Residence # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - property :total_items, as: 'totalItems' - property :next_sync_token, as: 'nextSyncToken' - collection :connections, as: 'connections', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation - - property :total_people, as: 'totalPeople' - end - end - - class Birthday - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :text, as: 'text' + property :current, as: 'current' 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 :value, as: 'value' end end - class CreateContactGroupRequest + class Skill # @private class Representation < Google::Apis::Core::JsonRepresentation - property :contact_group, as: 'contactGroup', class: Google::Apis::PeopleV1::ContactGroup, decorator: Google::Apis::PeopleV1::ContactGroup::Representation - - end - end - - class Address - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :postal_code, as: 'postalCode' - property :region, as: 'region' - property :street_address, as: 'streetAddress' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - property :country_code, as: 'countryCode' - property :formatted_type, as: 'formattedType' - property :city, as: 'city' - property :formatted_value, as: 'formattedValue' - property :country, as: 'country' + property :value, as: 'value' + end + end + + class Source + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :etag, as: 'etag' + property :id, as: 'id' + property :profile_metadata, as: 'profileMetadata', class: Google::Apis::PeopleV1::ProfileMetadata, decorator: Google::Apis::PeopleV1::ProfileMetadata::Representation + property :type, as: 'type' - property :extended_address, as: 'extendedAddress' - property :po_box, as: 'poBox' - end - end - - class ContactGroupMembership - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :contact_group_id, as: 'contactGroupId' + property :update_time, as: 'updateTime' end end class Status # @private class Representation < Google::Apis::Core::JsonRepresentation - property :message, as: 'message' - collection :details, as: 'details' property :code, as: 'code' + collection :details, as: 'details' + property :message, as: 'message' end end - class PersonMetadata + class Tagline # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :previous_resource_names, as: 'previousResourceNames' - collection :sources, as: 'sources', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - property :deleted, as: 'deleted' - property :object_type, as: 'objectType' - collection :linked_people_resource_names, as: 'linkedPeopleResourceNames' + property :value, as: 'value' end end - class ModifyContactGroupMembersRequest + class UpdateContactGroupRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :resource_names_to_add, as: 'resourceNamesToAdd' - collection :resource_names_to_remove, as: 'resourceNamesToRemove' - end - end - - class ContactGroupResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :status, as: 'status', class: Google::Apis::PeopleV1::Status, decorator: Google::Apis::PeopleV1::Status::Representation - - property :requested_resource_name, as: 'requestedResourceName' property :contact_group, as: 'contactGroup', class: Google::Apis::PeopleV1::ContactGroup, decorator: Google::Apis::PeopleV1::ContactGroup::Representation end @@ -820,51 +860,11 @@ module Google class Url # @private class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' + 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 :value, as: 'value' - 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 :type, as: 'type' - property :protocol, as: 'protocol' - property :username, as: 'username' - property :formatted_protocol, as: 'formattedProtocol' - property :formatted_type, as: 'formattedType' - end - end - - class DomainMembership - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :in_viewer_domain, as: 'inViewerDomain' - end - end - - class BatchGetContactGroupsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :responses, as: 'responses', class: Google::Apis::PeopleV1::ContactGroupResponse, decorator: Google::Apis::PeopleV1::ContactGroupResponse::Representation - - 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 :domain_membership, as: 'domainMembership', class: Google::Apis::PeopleV1::DomainMembership, decorator: Google::Apis::PeopleV1::DomainMembership::Representation - - property :contact_group_membership, as: 'contactGroupMembership', class: Google::Apis::PeopleV1::ContactGroupMembership, decorator: Google::Apis::PeopleV1::ContactGroupMembership::Representation - end end end diff --git a/generated/google/apis/people_v1/service.rb b/generated/google/apis/people_v1/service.rb index ed2fcabab..b7dabfed5 100644 --- a/generated/google/apis/people_v1/service.rb +++ b/generated/google/apis/people_v1/service.rb @@ -32,66 +32,32 @@ module Google # # @see https://developers.google.com/people/ class PeopleServiceService < Google::Apis::Core::BaseService - # @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 - # @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://people.googleapis.com/', '') @batch_path = 'batch' end - # Delete an existing contact group owned by the authenticated user by - # specifying a contact group resource name. - # @param [String] resource_name - # The resource name of the contact group to delete. - # @param [Boolean] delete_contacts - # Set to true to also delete the contacts in the specified group. - # @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::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PeopleV1::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_contact_group(resource_name, delete_contacts: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+resourceName}', options) - command.response_representation = Google::Apis::PeopleV1::Empty::Representation - command.response_class = Google::Apis::PeopleV1::Empty - command.params['resourceName'] = resource_name unless resource_name.nil? - command.query['deleteContacts'] = delete_contacts unless delete_contacts.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - # Get a list of contact groups owned by the authenticated user by specifying # a list of contact group resource names. - # @param [Array, String] resource_names - # The resource names of the contact groups to get. # @param [Fixnum] max_members # Specifies the maximum number of members to return for each group. + # @param [Array, String] resource_names + # The resource names of the contact groups to get. + # @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 # @@ -104,64 +70,24 @@ 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 batch_contact_group_get(resource_names: nil, max_members: nil, quota_user: nil, fields: nil, options: nil, &block) + def batch_contact_group_get(max_members: nil, resource_names: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/contactGroups:batchGet', options) command.response_representation = Google::Apis::PeopleV1::BatchGetContactGroupsResponse::Representation command.response_class = Google::Apis::PeopleV1::BatchGetContactGroupsResponse - command.query['resourceNames'] = resource_names unless resource_names.nil? command.query['maxMembers'] = max_members unless max_members.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['resourceNames'] = resource_names unless resource_names.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # List all contact groups owned by the authenticated user. Members of the - # contact groups are not populated. - # @param [String] sync_token - # A sync token, returned by a previous call to `contactgroups.list`. - # Only resources changed since the sync token was created will be returned. - # @param [String] page_token - # The next_page_token value returned from a previous call to - # [ListContactGroups](/people/api/rest/v1/contactgroups/list). - # Requests the next page of resources. - # @param [Fixnum] page_size - # The maximum number of resources to return. - # @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::ListContactGroupsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PeopleV1::ListContactGroupsResponse] - # - # @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_contact_groups(sync_token: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/contactGroups', options) - command.response_representation = Google::Apis::PeopleV1::ListContactGroupsResponse::Representation - command.response_class = Google::Apis::PeopleV1::ListContactGroupsResponse - command.query['syncToken'] = sync_token unless sync_token.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end # Create a new contact group owned by the authenticated user. # @param [Google::Apis::PeopleV1::CreateContactGroupRequest] create_contact_group_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -174,127 +100,28 @@ 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 create_contact_group(create_contact_group_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def create_contact_group(create_contact_group_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/contactGroups', options) command.request_representation = Google::Apis::PeopleV1::CreateContactGroupRequest::Representation command.request_object = create_contact_group_request_object command.response_representation = Google::Apis::PeopleV1::ContactGroup::Representation command.response_class = Google::Apis::PeopleV1::ContactGroup - 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 - # Get a specific contact group owned by the authenticated user by specifying - # a contact group resource name. + # Delete an existing contact group owned by the authenticated user by + # specifying a contact group resource name. # @param [String] resource_name - # The resource name of the contact group to get. - # @param [Fixnum] max_members - # Specifies the maximum number of members to return. + # The resource name of the contact group to delete. + # @param [Boolean] delete_contacts + # Set to true to also delete the contacts in the specified group. + # @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 - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PeopleV1::ContactGroup] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PeopleV1::ContactGroup] - # - # @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_contact_group(resource_name, max_members: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+resourceName}', options) - command.response_representation = Google::Apis::PeopleV1::ContactGroup::Representation - command.response_class = Google::Apis::PeopleV1::ContactGroup - command.params['resourceName'] = resource_name unless resource_name.nil? - command.query['maxMembers'] = max_members unless max_members.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Update the name of an existing contact group owned by the authenticated - # user. - # @param [String] resource_name - # The resource name for the contact group, assigned by the server. An ASCII - # string, in the form of `contactGroups/`. - # @param [Google::Apis::PeopleV1::UpdateContactGroupRequest] update_contact_group_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::PeopleV1::ContactGroup] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PeopleV1::ContactGroup] - # - # @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_contact_group(resource_name, update_contact_group_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:put, 'v1/{+resourceName}', options) - command.request_representation = Google::Apis::PeopleV1::UpdateContactGroupRequest::Representation - command.request_object = update_contact_group_request_object - command.response_representation = Google::Apis::PeopleV1::ContactGroup::Representation - command.response_class = Google::Apis::PeopleV1::ContactGroup - command.params['resourceName'] = resource_name unless resource_name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Modify the members of a contact group owned by the authenticated user. - # @param [String] resource_name - # The resource name of the contact group to modify. - # @param [Google::Apis::PeopleV1::ModifyContactGroupMembersRequest] modify_contact_group_members_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::PeopleV1::ModifyContactGroupMembersResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PeopleV1::ModifyContactGroupMembersResponse] - # - # @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 modify_contact_group_members(resource_name, modify_contact_group_members_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resourceName}/members:modify', options) - command.request_representation = Google::Apis::PeopleV1::ModifyContactGroupMembersRequest::Representation - command.request_object = modify_contact_group_members_request_object - command.response_representation = Google::Apis::PeopleV1::ModifyContactGroupMembersResponse::Representation - command.response_class = Google::Apis::PeopleV1::ModifyContactGroupMembersResponse - command.params['resourceName'] = resource_name unless resource_name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Delete a contact person. Any non-contact data will not be deleted. - # @param [String] resource_name - # The resource name of the contact to delete. - # @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 # @@ -307,86 +134,219 @@ 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 delete_person_contact(resource_name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+resourceName}:deleteContact', options) + def delete_contact_group(resource_name, delete_contacts: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+resourceName}', options) command.response_representation = Google::Apis::PeopleV1::Empty::Representation command.response_class = Google::Apis::PeopleV1::Empty command.params['resourceName'] = resource_name unless resource_name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['deleteContacts'] = delete_contacts unless delete_contacts.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 information about a list of specific people by specifying a list - # of requested resource names. Use `people/me` to indicate the authenticated - # user. - #
    - # The request throws a 400 error if 'personFields' is not specified. - # @param [String] request_mask_include_field - # **Required.** Comma-separated list of person fields to be included in the - # response. 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] person_fields - # **Required.** A field mask to restrict which fields on each person are - # returned. Valid values are: - # * addresses - # * ageRanges - # * biographies - # * birthdays - # * braggingRights - # * coverPhotos - # * emailAddresses - # * events - # * genders - # * imClients - # * interests - # * locales - # * memberships - # * metadata - # * names - # * nicknames - # * occupations - # * organizations - # * phoneNumbers - # * photos - # * relations - # * relationshipInterests - # * relationshipStatuses - # * residences - # * skills - # * taglines - # * urls + # Get a specific contact group owned by the authenticated user by specifying + # a contact group resource name. + # @param [String] resource_name + # The resource name of the contact group to get. + # @param [Fixnum] max_members + # Specifies the maximum number of members 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. - # @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 result [Google::Apis::PeopleV1::ContactGroup] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::PeopleV1::GetPeopleResponse] + # @return [Google::Apis::PeopleV1::ContactGroup] # # @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, person_fields: 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['personFields'] = person_fields unless person_fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + def get_contact_group(resource_name, max_members: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+resourceName}', options) + command.response_representation = Google::Apis::PeopleV1::ContactGroup::Representation + command.response_class = Google::Apis::PeopleV1::ContactGroup + command.params['resourceName'] = resource_name unless resource_name.nil? + command.query['maxMembers'] = max_members unless max_members.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # List all contact groups owned by the authenticated user. Members of the + # contact groups are not populated. + # @param [Fixnum] page_size + # The maximum number of resources to return. + # @param [String] page_token + # The next_page_token value returned from a previous call to + # [ListContactGroups](/people/api/rest/v1/contactgroups/list). + # Requests the next page of resources. + # @param [String] sync_token + # A sync token, returned by a previous call to `contactgroups.list`. + # Only resources changed since the sync token was created will be returned. + # @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::ListContactGroupsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PeopleV1::ListContactGroupsResponse] + # + # @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_contact_groups(page_size: nil, page_token: nil, sync_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/contactGroups', options) + command.response_representation = Google::Apis::PeopleV1::ListContactGroupsResponse::Representation + command.response_class = Google::Apis::PeopleV1::ListContactGroupsResponse + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['syncToken'] = sync_token unless sync_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 + + # Update the name of an existing contact group owned by the authenticated + # user. + # @param [String] resource_name + # The resource name for the contact group, assigned by the server. An ASCII + # string, in the form of `contactGroups/`contact_group_id. + # @param [Google::Apis::PeopleV1::UpdateContactGroupRequest] update_contact_group_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::PeopleV1::ContactGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PeopleV1::ContactGroup] + # + # @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_contact_group(resource_name, update_contact_group_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v1/{+resourceName}', options) + command.request_representation = Google::Apis::PeopleV1::UpdateContactGroupRequest::Representation + command.request_object = update_contact_group_request_object + command.response_representation = Google::Apis::PeopleV1::ContactGroup::Representation + command.response_class = Google::Apis::PeopleV1::ContactGroup + command.params['resourceName'] = resource_name unless resource_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 + + # Modify the members of a contact group owned by the authenticated user. + # @param [String] resource_name + # The resource name of the contact group to modify. + # @param [Google::Apis::PeopleV1::ModifyContactGroupMembersRequest] modify_contact_group_members_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::PeopleV1::ModifyContactGroupMembersResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PeopleV1::ModifyContactGroupMembersResponse] + # + # @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 modify_contact_group_members(resource_name, modify_contact_group_members_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resourceName}/members:modify', options) + command.request_representation = Google::Apis::PeopleV1::ModifyContactGroupMembersRequest::Representation + command.request_object = modify_contact_group_members_request_object + command.response_representation = Google::Apis::PeopleV1::ModifyContactGroupMembersResponse::Representation + command.response_class = Google::Apis::PeopleV1::ModifyContactGroupMembersResponse + command.params['resourceName'] = resource_name unless resource_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 + + # Create a new contact and return the person resource for that contact. + # @param [Google::Apis::PeopleV1::Person] person_object + # @param [String] parent + # The resource name of the owning person 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::PeopleV1::Person] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PeopleV1::Person] + # + # @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_person_contact(person_object = nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/people:createContact', options) + command.request_representation = Google::Apis::PeopleV1::Person::Representation + command.request_object = person_object + command.response_representation = Google::Apis::PeopleV1::Person::Representation + command.response_class = Google::Apis::PeopleV1::Person + command.query['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Delete a contact person. Any non-contact data will not be deleted. + # @param [String] resource_name + # The resource name of the contact 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PeopleV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PeopleV1::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_person_contact(resource_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+resourceName}:deleteContact', options) + command.response_representation = Google::Apis::PeopleV1::Empty::Representation + command.response_class = Google::Apis::PeopleV1::Empty + command.params['resourceName'] = resource_name unless resource_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 @@ -397,7 +357,8 @@ module Google # @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 a google account, specify `people/`. + # - To get information about a google account, specify + # `people/`account_id. # - To get information about a contact, specify the resource name that # identifies the contact as returned by # [`people.connections.list`](/people/api/rest/v1/people.connections/list). @@ -435,11 +396,11 @@ module Google # **Required.** Comma-separated list of person fields to be included in the # response. 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 # @@ -452,127 +413,23 @@ 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, person_fields: nil, request_mask_include_field: nil, quota_user: nil, fields: nil, options: nil, &block) + def get_person(resource_name, person_fields: nil, 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['personFields'] = person_fields unless person_fields.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 - # Update contact data for an existing contact person. Any non-contact data - # will not be modified. - # The request throws a 400 error if `updatePersonFields` is not specified. - #
    - # The request throws a 400 error if `person.metadata.sources` is not - # specified for the contact to be updated. - #
    - # The request throws a 412 error if `person.metadata.sources.etag` is - # different than the contact's etag, which indicates the contact has changed - # since its data was read. Clients should get the latest person and re-apply - # their updates to the latest person. - # @param [String] resource_name - # The resource name for the person, assigned by the server. An ASCII string - # with a max length of 27 characters, in the form of `people/`. - # @param [Google::Apis::PeopleV1::Person] person_object - # @param [String] update_person_fields - # **Required.** A field mask to restrict which fields on the person are - # updated. Valid values are: - # * addresses - # * biographies - # * birthdays - # * braggingRights - # * emailAddresses - # * events - # * genders - # * imClients - # * interests - # * locales - # * names - # * nicknames - # * occupations - # * organizations - # * phoneNumbers - # * relations - # * residences - # * skills - # * urls - # @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::Person] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PeopleV1::Person] - # - # @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_person_contact(resource_name, person_object = nil, update_person_fields: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/{+resourceName}:updateContact', options) - command.request_representation = Google::Apis::PeopleV1::Person::Representation - command.request_object = person_object - 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['updatePersonFields'] = update_person_fields unless update_person_fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Create a new contact and return the person resource for that contact. - # @param [Google::Apis::PeopleV1::Person] person_object - # @param [String] parent - # The resource name of the owning person resource. - # @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::Person] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PeopleV1::Person] - # - # @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_person_contact(person_object = nil, parent: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/people:createContact', options) - command.request_representation = Google::Apis::PeopleV1::Person::Representation - command.request_object = person_object - command.response_representation = Google::Apis::PeopleV1::Person::Representation - command.response_class = Google::Apis::PeopleV1::Person - command.query['parent'] = parent unless parent.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 a list of the authenticated user's contacts merged with any - # connected profiles. + # Provides information about a list of specific people by specifying a list + # of requested resource names. Use `people/me` to indicate the authenticated + # user. #
    # The request throws a 400 error if 'personFields' is not specified. - # @param [String] resource_name - # The resource name to return connections for. Only `people/me` is valid. - # @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 will be returned. # @param [String] person_fields # **Required.** A field mask to restrict which fields on each person are # returned. Valid values are: @@ -603,26 +460,175 @@ module Google # * skills # * taglines # * urls - # @param [String] sort_order - # The order in which the connections should be sorted. Defaults to - # `LAST_MODIFIED_ASCENDING`. - # @param [Boolean] request_sync_token - # Whether the response should include a sync token, which can be used to get - # all changes since the last request. - # @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 2000, inclusive. Defaults to 100. # @param [String] request_mask_include_field # **Required.** Comma-separated list of person fields to be included in the # response. Each path should start with `person.`: for example, # `person.names` or `person.photos`. + # @param [Array, String] resource_names + # The resource names of the people to provide information about. + # - To get information about the authenticated user, specify `people/me`. + # - To get information about a google account, specify + # `people/`account_id. + # - To get information about a contact, specify the resource name that + # identifies the contact as returned by + # [`people.connections.list`](/people/api/rest/v1/people.connections/list). + # You can include up to 50 resource names in one request. + # @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(person_fields: nil, request_mask_include_field: nil, resource_names: 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['personFields'] = person_fields unless person_fields.nil? + 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['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Update contact data for an existing contact person. Any non-contact data + # will not be modified. + # The request throws a 400 error if `updatePersonFields` is not specified. + #
    + # The request throws a 400 error if `person.metadata.sources` is not + # specified for the contact to be updated. + #
    + # The request throws a 412 error if `person.metadata.sources.etag` is + # different than the contact's etag, which indicates the contact has changed + # since its data was read. Clients should get the latest person and re-apply + # their updates to the latest person. + # @param [String] resource_name + # The resource name for the person, assigned by the server. An ASCII string + # with a max length of 27 characters, in the form of + # `people/`person_id. + # @param [Google::Apis::PeopleV1::Person] person_object + # @param [String] update_person_fields + # **Required.** A field mask to restrict which fields on the person are + # updated. Valid values are: + # * addresses + # * biographies + # * birthdays + # * braggingRights + # * emailAddresses + # * events + # * genders + # * imClients + # * interests + # * locales + # * names + # * nicknames + # * occupations + # * organizations + # * phoneNumbers + # * relations + # * residences + # * skills + # * urls # @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::Person] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PeopleV1::Person] + # + # @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_person_contact(resource_name, person_object = nil, update_person_fields: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/{+resourceName}:updateContact', options) + command.request_representation = Google::Apis::PeopleV1::Person::Representation + command.request_object = person_object + 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['updatePersonFields'] = update_person_fields unless update_person_fields.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 + # connected profiles. + #
    + # The request throws a 400 error if 'personFields' is not specified. + # @param [String] resource_name + # The resource name to return connections for. Only `people/me` is valid. + # @param [Fixnum] page_size + # The number of connections to include in the response. Valid values are + # between 1 and 2000, inclusive. Defaults to 100. + # @param [String] page_token + # The token of the page to be returned. + # @param [String] person_fields + # **Required.** A field mask to restrict which fields on each person are + # returned. Valid values are: + # * addresses + # * ageRanges + # * biographies + # * birthdays + # * braggingRights + # * coverPhotos + # * emailAddresses + # * events + # * genders + # * imClients + # * interests + # * locales + # * memberships + # * metadata + # * names + # * nicknames + # * occupations + # * organizations + # * phoneNumbers + # * photos + # * relations + # * relationshipInterests + # * relationshipStatuses + # * residences + # * skills + # * taglines + # * urls + # @param [String] request_mask_include_field + # **Required.** Comma-separated list of person fields to be included in the + # response. Each path should start with `person.`: for example, + # `person.names` or `person.photos`. + # @param [Boolean] request_sync_token + # Whether the response should include a sync token, which can be used to get + # all changes since the last request. + # @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 will be returned. + # @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 # @@ -635,28 +641,28 @@ 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, sync_token: nil, person_fields: nil, sort_order: nil, request_sync_token: nil, page_token: nil, page_size: nil, request_mask_include_field: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_person_connections(resource_name, page_size: nil, page_token: nil, person_fields: nil, request_mask_include_field: nil, request_sync_token: nil, sort_order: nil, sync_token: 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['syncToken'] = sync_token unless sync_token.nil? - command.query['personFields'] = person_fields unless person_fields.nil? - command.query['sortOrder'] = sort_order unless sort_order.nil? - command.query['requestSyncToken'] = request_sync_token unless request_sync_token.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['personFields'] = person_fields unless person_fields.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['requestSyncToken'] = request_sync_token unless request_sync_token.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['syncToken'] = sync_token unless sync_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 protected def apply_command_defaults(command) - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? end end end diff --git a/generated/google/apis/playcustomapp_v1.rb b/generated/google/apis/playcustomapp_v1.rb new file mode 100644 index 000000000..3d46f6c93 --- /dev/null +++ b/generated/google/apis/playcustomapp_v1.rb @@ -0,0 +1,34 @@ +# 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/playcustomapp_v1/service.rb' +require 'google/apis/playcustomapp_v1/classes.rb' +require 'google/apis/playcustomapp_v1/representations.rb' + +module Google + module Apis + # Google Play Custom App Publishing API + # + # An API to publish custom Android apps. + # + # @see https://developers.google.com/android/work/play/custom-app-api + module PlaycustomappV1 + VERSION = 'V1' + REVISION = '20170622' + + # View and manage your Google Play Developer account + AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' + end + end +end diff --git a/generated/google/apis/playcustomapp_v1/classes.rb b/generated/google/apis/playcustomapp_v1/classes.rb new file mode 100644 index 000000000..019b784bc --- /dev/null +++ b/generated/google/apis/playcustomapp_v1/classes.rb @@ -0,0 +1,51 @@ +# 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 PlaycustomappV1 + + # This resource represents a custom app. + class CustomApp + include Google::Apis::Core::Hashable + + # Default listing language in BCP 47 format. + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + # Title for the Android app. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @language_code = args[:language_code] if args.key?(:language_code) + @title = args[:title] if args.key?(:title) + end + end + end + end +end diff --git a/generated/google/apis/playcustomapp_v1/representations.rb b/generated/google/apis/playcustomapp_v1/representations.rb new file mode 100644 index 000000000..b11364b1c --- /dev/null +++ b/generated/google/apis/playcustomapp_v1/representations.rb @@ -0,0 +1,40 @@ +# 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 PlaycustomappV1 + + class CustomApp + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CustomApp + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :language_code, as: 'languageCode' + property :title, as: 'title' + end + end + end + end +end diff --git a/generated/google/apis/playcustomapp_v1/service.rb b/generated/google/apis/playcustomapp_v1/service.rb new file mode 100644 index 000000000..045951807 --- /dev/null +++ b/generated/google/apis/playcustomapp_v1/service.rb @@ -0,0 +1,114 @@ +# 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 PlaycustomappV1 + # Google Play Custom App Publishing API + # + # An API to publish custom Android apps. + # + # @example + # require 'google/apis/playcustomapp_v1' + # + # Playcustomapp = Google::Apis::PlaycustomappV1 # Alias the module + # service = Playcustomapp::PlaycustomappService.new + # + # @see https://developers.google.com/android/work/play/custom-app-api + class PlaycustomappService < 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. + # Overrides userIp if both are provided. + attr_accessor :quota_user + + # @return [String] + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + attr_accessor :user_ip + + def initialize + super('https://www.googleapis.com/', 'playcustomapp/v1/accounts/') + @batch_path = 'batch' + end + + # Create and publish a new custom app. + # @param [Fixnum] account + # Developer account ID. + # @param [Google::Apis::PlaycustomappV1::CustomApp] custom_app_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 [IO, String] upload_source + # IO stream or filename containing content to upload + # @param [String] content_type + # Content type of the uploaded content. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PlaycustomappV1::CustomApp] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PlaycustomappV1::CustomApp] + # + # @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_custom_app(account, custom_app_object = nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) + if upload_source.nil? + command = make_simple_command(:post, '{account}/customApps', options) + else + command = make_upload_command(:post, '{account}/customApps', options) + command.upload_source = upload_source + command.upload_content_type = content_type + end + command.request_representation = Google::Apis::PlaycustomappV1::CustomApp::Representation + command.request_object = custom_app_object + command.response_representation = Google::Apis::PlaycustomappV1::CustomApp::Representation + command.response_class = Google::Apis::PlaycustomappV1::CustomApp + command.params['account'] = account unless account.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 + + def apply_command_defaults(command) + command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + end + end + end + end +end diff --git a/generated/google/apis/playmoviespartner_v1.rb b/generated/google/apis/playmoviespartner_v1.rb new file mode 100644 index 000000000..fff288845 --- /dev/null +++ b/generated/google/apis/playmoviespartner_v1.rb @@ -0,0 +1,34 @@ +# 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/playmoviespartner_v1/service.rb' +require 'google/apis/playmoviespartner_v1/classes.rb' +require 'google/apis/playmoviespartner_v1/representations.rb' + +module Google + module Apis + # Google Play Movies Partner API + # + # Gets the delivery status of titles for Google Play Movies Partners. + # + # @see https://developers.google.com/playmoviespartner/ + module PlaymoviespartnerV1 + VERSION = 'V1' + REVISION = '20170418' + + # View the digital assets you publish on Google Play Movies and TV + AUTH_PLAYMOVIES_PARTNER_READONLY = 'https://www.googleapis.com/auth/playmovies_partner.readonly' + end + end +end diff --git a/generated/google/apis/playmoviespartner_v1/classes.rb b/generated/google/apis/playmoviespartner_v1/classes.rb new file mode 100644 index 000000000..9fe45f6bd --- /dev/null +++ b/generated/google/apis/playmoviespartner_v1/classes.rb @@ -0,0 +1,782 @@ +# 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 PlaymoviespartnerV1 + + # An Avail describes the Availability Window of a specific Edit in a given + # country, which means the period Google is allowed to sell or rent the Edit. + # Avails are exposed in EMA format Version 1.6b (available at + # http://www.movielabs.com/md/avails/) + # Studios can see the Avails for the Titles they own. + # Post-production houses cannot see any Avails. + class Avail + include Google::Apis::Core::Hashable + + # Other identifier referring to the Edit, as defined by partner. + # Example: "GOOGLER_2006" + # Corresponds to the JSON property `altId` + # @return [String] + attr_accessor :alt_id + + # ID internally generated by Google to uniquely identify an Avail. + # Not part of EMA Specs. + # Corresponds to the JSON property `availId` + # @return [String] + attr_accessor :avail_id + + # Communicating an exempt category as defined by FCC regulations. + # It is not required for non-US Avails. + # Example: "1" + # Corresponds to the JSON property `captionExemption` + # @return [String] + attr_accessor :caption_exemption + + # Communicating if caption file will be delivered. + # Corresponds to the JSON property `captionIncluded` + # @return [Boolean] + attr_accessor :caption_included + alias_method :caption_included?, :caption_included + + # Title Identifier. This should be the Title Level EIDR. + # Example: "10.5240/1489-49A2-3956-4B2D-FE16-5". + # Corresponds to the JSON property `contentId` + # @return [String] + attr_accessor :content_id + + # The name of the studio that owns the Edit referred in the Avail. + # This is the equivalent of `studio_name` in other resources, but it follows + # the EMA nomenclature. + # Example: "Google Films". + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Manifestation Identifier. This should be the Manifestation + # Level EIDR. + # Example: "10.2340/1489-49A2-3956-4B2D-FE16-7" + # Corresponds to the JSON property `encodeId` + # @return [String] + attr_accessor :encode_id + + # End of term in YYYY-MM-DD format in the timezone of the country + # of the Avail. + # "Open" if no end date is available. + # Example: "2019-02-17" + # Corresponds to the JSON property `end` + # @return [String] + attr_accessor :end + + # Other identifier referring to the episode, as defined by partner. + # Only available on TV avails. + # Example: "rs_googlers_s1_3". + # Corresponds to the JSON property `episodeAltId` + # @return [String] + attr_accessor :episode_alt_id + + # The number assigned to the episode within a season. + # Only available on TV Avails. + # Example: "3". + # Corresponds to the JSON property `episodeNumber` + # @return [String] + attr_accessor :episode_number + + # OPTIONAL.TV Only. Title used by involved parties to refer to this episode. + # Only available on TV Avails. + # Example: "Coding at Google". + # Corresponds to the JSON property `episodeTitleInternalAlias` + # @return [String] + attr_accessor :episode_title_internal_alias + + # Indicates the format profile covered by the transaction. + # Corresponds to the JSON property `formatProfile` + # @return [String] + attr_accessor :format_profile + + # Type of transaction. + # Corresponds to the JSON property `licenseType` + # @return [String] + attr_accessor :license_type + + # Name of the post-production houses that manage the Avail. + # Not part of EMA Specs. + # Corresponds to the JSON property `pphNames` + # @return [Array] + attr_accessor :pph_names + + # Type of pricing that should be applied to this Avail + # based on how the partner classify them. + # Example: "Tier", "WSP", "SRP", or "Category". + # Corresponds to the JSON property `priceType` + # @return [String] + attr_accessor :price_type + + # Value to be applied to the pricing type. + # Example: "4" or "2.99" + # Corresponds to the JSON property `priceValue` + # @return [String] + attr_accessor :price_value + + # Edit Identifier. This should be the Edit Level EIDR. + # Example: "10.2340/1489-49A2-3956-4B2D-FE16-6" + # Corresponds to the JSON property `productId` + # @return [String] + attr_accessor :product_id + + # Value representing the rating reason. + # Rating reasons should be formatted as per + # [EMA ratings spec](http://www.movielabs.com/md/ratings/) + # and comma-separated for inclusion of multiple reasons. + # Example: "L, S, V" + # Corresponds to the JSON property `ratingReason` + # @return [String] + attr_accessor :rating_reason + + # Rating system applied to the version of title within territory + # of Avail. + # Rating systems should be formatted as per + # [EMA ratings spec](http://www.movielabs.com/md/ratings/) + # Example: "MPAA" + # Corresponds to the JSON property `ratingSystem` + # @return [String] + attr_accessor :rating_system + + # Value representing the rating. + # Ratings should be formatted as per http://www.movielabs.com/md/ratings/ + # Example: "PG" + # Corresponds to the JSON property `ratingValue` + # @return [String] + attr_accessor :rating_value + + # Release date of the Title in earliest released territory. + # Typically it is just the year, but it is free-form as per EMA spec. + # Examples: "1979", "Oct 2014" + # Corresponds to the JSON property `releaseDate` + # @return [String] + attr_accessor :release_date + + # Other identifier referring to the season, as defined by partner. + # Only available on TV avails. + # Example: "rs_googlers_s1". + # Corresponds to the JSON property `seasonAltId` + # @return [String] + attr_accessor :season_alt_id + + # The number assigned to the season within a series. + # Only available on TV Avails. + # Example: "1". + # Corresponds to the JSON property `seasonNumber` + # @return [String] + attr_accessor :season_number + + # Title used by involved parties to refer to this season. + # Only available on TV Avails. + # Example: "Googlers, The". + # Corresponds to the JSON property `seasonTitleInternalAlias` + # @return [String] + attr_accessor :season_title_internal_alias + + # Other identifier referring to the series, as defined by partner. + # Only available on TV avails. + # Example: "rs_googlers". + # Corresponds to the JSON property `seriesAltId` + # @return [String] + attr_accessor :series_alt_id + + # Title used by involved parties to refer to this series. + # Only available on TV Avails. + # Example: "Googlers, The". + # Corresponds to the JSON property `seriesTitleInternalAlias` + # @return [String] + attr_accessor :series_title_internal_alias + + # Start of term in YYYY-MM-DD format in the timezone of the + # country of the Avail. + # Example: "2013-05-14". + # Corresponds to the JSON property `start` + # @return [String] + attr_accessor :start + + # Spoken language of the intended audience. + # Language shall be encoded in accordance with RFC 5646. + # Example: "fr". + # Corresponds to the JSON property `storeLanguage` + # @return [String] + attr_accessor :store_language + + # First date an Edit could be publically announced as becoming + # available at a specific future date in territory of Avail. + # *Not* the Avail start date or pre-order start date. + # Format is YYYY-MM-DD. + # Only available for pre-orders. + # Example: "2012-12-10" + # Corresponds to the JSON property `suppressionLiftDate` + # @return [String] + attr_accessor :suppression_lift_date + + # ISO 3166-1 alpha-2 country code for the country or territory + # of this Avail. + # For Avails, we use Territory in lieu of Country to comply with + # EMA specifications. + # But please note that Territory and Country identify the same thing. + # Example: "US". + # Corresponds to the JSON property `territory` + # @return [String] + attr_accessor :territory + + # Title used by involved parties to refer to this content. + # Example: "Googlers, The". + # Only available on Movie Avails. + # Corresponds to the JSON property `titleInternalAlias` + # @return [String] + attr_accessor :title_internal_alias + + # Google-generated ID identifying the video linked to this Avail, once + # delivered. + # Not part of EMA Specs. + # Example: 'gtry456_xc' + # Corresponds to the JSON property `videoId` + # @return [String] + attr_accessor :video_id + + # Work type as enumerated in EMA. + # Corresponds to the JSON property `workType` + # @return [String] + attr_accessor :work_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alt_id = args[:alt_id] if args.key?(:alt_id) + @avail_id = args[:avail_id] if args.key?(:avail_id) + @caption_exemption = args[:caption_exemption] if args.key?(:caption_exemption) + @caption_included = args[:caption_included] if args.key?(:caption_included) + @content_id = args[:content_id] if args.key?(:content_id) + @display_name = args[:display_name] if args.key?(:display_name) + @encode_id = args[:encode_id] if args.key?(:encode_id) + @end = args[:end] if args.key?(:end) + @episode_alt_id = args[:episode_alt_id] if args.key?(:episode_alt_id) + @episode_number = args[:episode_number] if args.key?(:episode_number) + @episode_title_internal_alias = args[:episode_title_internal_alias] if args.key?(:episode_title_internal_alias) + @format_profile = args[:format_profile] if args.key?(:format_profile) + @license_type = args[:license_type] if args.key?(:license_type) + @pph_names = args[:pph_names] if args.key?(:pph_names) + @price_type = args[:price_type] if args.key?(:price_type) + @price_value = args[:price_value] if args.key?(:price_value) + @product_id = args[:product_id] if args.key?(:product_id) + @rating_reason = args[:rating_reason] if args.key?(:rating_reason) + @rating_system = args[:rating_system] if args.key?(:rating_system) + @rating_value = args[:rating_value] if args.key?(:rating_value) + @release_date = args[:release_date] if args.key?(:release_date) + @season_alt_id = args[:season_alt_id] if args.key?(:season_alt_id) + @season_number = args[:season_number] if args.key?(:season_number) + @season_title_internal_alias = args[:season_title_internal_alias] if args.key?(:season_title_internal_alias) + @series_alt_id = args[:series_alt_id] if args.key?(:series_alt_id) + @series_title_internal_alias = args[:series_title_internal_alias] if args.key?(:series_title_internal_alias) + @start = args[:start] if args.key?(:start) + @store_language = args[:store_language] if args.key?(:store_language) + @suppression_lift_date = args[:suppression_lift_date] if args.key?(:suppression_lift_date) + @territory = args[:territory] if args.key?(:territory) + @title_internal_alias = args[:title_internal_alias] if args.key?(:title_internal_alias) + @video_id = args[:video_id] if args.key?(:video_id) + @work_type = args[:work_type] if args.key?(:work_type) + end + end + + # Response to the 'ListAvails' method. + class ListAvailsResponse + include Google::Apis::Core::Hashable + + # List of Avails that match the request criteria. + # Corresponds to the JSON property `avails` + # @return [Array] + attr_accessor :avails + + # See _List methods rules_ for info about this field. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # See _List methods rules_ for more information about this field. + # Corresponds to the JSON property `totalSize` + # @return [Fixnum] + attr_accessor :total_size + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @avails = args[:avails] if args.key?(:avails) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @total_size = args[:total_size] if args.key?(:total_size) + end + end + + # Response to the 'ListOrders' method. + class ListOrdersResponse + include Google::Apis::Core::Hashable + + # See _List methods rules_ for info about this field. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # List of Orders that match the request criteria. + # Corresponds to the JSON property `orders` + # @return [Array] + attr_accessor :orders + + # See _List methods rules_ for more information about this field. + # Corresponds to the JSON property `totalSize` + # @return [Fixnum] + attr_accessor :total_size + + 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) + @orders = args[:orders] if args.key?(:orders) + @total_size = args[:total_size] if args.key?(:total_size) + end + end + + # Response to the 'ListStoreInfos' method. + class ListStoreInfosResponse + include Google::Apis::Core::Hashable + + # See 'List methods rules' for info about this field. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # List of StoreInfos that match the request criteria. + # Corresponds to the JSON property `storeInfos` + # @return [Array] + attr_accessor :store_infos + + # See _List methods rules_ for more information about this field. + # Corresponds to the JSON property `totalSize` + # @return [Fixnum] + attr_accessor :total_size + + 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) + @store_infos = args[:store_infos] if args.key?(:store_infos) + @total_size = args[:total_size] if args.key?(:total_size) + end + end + + # An Order tracks the fulfillment of an Edit when delivered using the + # legacy, non-component-based delivery. + # Each Order is uniquely identified by an `order_id`, which is generated + # by Google. + # Externally, Orders can also be identified by partners using its `custom_id` + # (when provided). + class Order + include Google::Apis::Core::Hashable + + # Timestamp when the Order was approved. + # Corresponds to the JSON property `approvedTime` + # @return [String] + attr_accessor :approved_time + + # YouTube Channel ID that should be used to fulfill the Order. + # Example: "UCRG64darCZhb". + # Corresponds to the JSON property `channelId` + # @return [String] + attr_accessor :channel_id + + # YouTube Channel Name that should be used to fulfill the Order. + # Example: "Google_channel". + # Corresponds to the JSON property `channelName` + # @return [String] + attr_accessor :channel_name + + # Countries where the Order is available, + # using the "ISO 3166-1 alpha-2" format (example: "US"). + # Corresponds to the JSON property `countries` + # @return [Array] + attr_accessor :countries + + # ID that can be used to externally identify an Order. + # This ID is provided by partners when submitting the Avails. + # Example: 'GOOGLER_2006' + # Corresponds to the JSON property `customId` + # @return [String] + attr_accessor :custom_id + + # Timestamp of the earliest start date of the Avails + # linked to this Order. + # Corresponds to the JSON property `earliestAvailStartTime` + # @return [String] + attr_accessor :earliest_avail_start_time + + # Default Episode name, + # usually in the language of the country of origin. + # Only available for TV Edits + # Example: "Googlers, The - Pilot". + # Corresponds to the JSON property `episodeName` + # @return [String] + attr_accessor :episode_name + + # Legacy Order priority, as defined by Google. + # Example: 'P0' + # Corresponds to the JSON property `legacyPriority` + # @return [String] + attr_accessor :legacy_priority + + # Default Edit name, + # usually in the language of the country of origin. + # Example: "Googlers, The". + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # A simpler representation of the priority. + # Corresponds to the JSON property `normalizedPriority` + # @return [String] + attr_accessor :normalized_priority + + # ID internally generated by Google to uniquely identify an Order. + # Example: 'abcde12_x' + # Corresponds to the JSON property `orderId` + # @return [String] + attr_accessor :order_id + + # Timestamp when the Order was created. + # Corresponds to the JSON property `orderedTime` + # @return [String] + attr_accessor :ordered_time + + # Name of the post-production house that manages the Edit ordered. + # Corresponds to the JSON property `pphName` + # @return [String] + attr_accessor :pph_name + + # Order priority, as defined by Google. + # The higher the value, the higher the priority. + # Example: 90 + # Corresponds to the JSON property `priority` + # @return [Float] + attr_accessor :priority + + # Timestamp when the Order was fulfilled. + # Corresponds to the JSON property `receivedTime` + # @return [String] + attr_accessor :received_time + + # Field explaining why an Order has been rejected. + # Example: "Trailer audio is 2ch mono, please re-deliver in stereo". + # Corresponds to the JSON property `rejectionNote` + # @return [String] + attr_accessor :rejection_note + + # Default Season name, + # usually in the language of the country of origin. + # Only available for TV Edits + # Example: "Googlers, The - A Brave New World". + # Corresponds to the JSON property `seasonName` + # @return [String] + attr_accessor :season_name + + # Default Show name, + # usually in the language of the country of origin. + # Only available for TV Edits + # Example: "Googlers, The". + # Corresponds to the JSON property `showName` + # @return [String] + attr_accessor :show_name + + # High-level status of the order. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # Detailed status of the order + # Corresponds to the JSON property `statusDetail` + # @return [String] + attr_accessor :status_detail + + # Name of the studio that owns the Edit ordered. + # Corresponds to the JSON property `studioName` + # @return [String] + attr_accessor :studio_name + + # Type of the Edit linked to the Order. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # Google-generated ID identifying the video linked to this Order, once + # delivered. + # Example: 'gtry456_xc'. + # Corresponds to the JSON property `videoId` + # @return [String] + attr_accessor :video_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @approved_time = args[:approved_time] if args.key?(:approved_time) + @channel_id = args[:channel_id] if args.key?(:channel_id) + @channel_name = args[:channel_name] if args.key?(:channel_name) + @countries = args[:countries] if args.key?(:countries) + @custom_id = args[:custom_id] if args.key?(:custom_id) + @earliest_avail_start_time = args[:earliest_avail_start_time] if args.key?(:earliest_avail_start_time) + @episode_name = args[:episode_name] if args.key?(:episode_name) + @legacy_priority = args[:legacy_priority] if args.key?(:legacy_priority) + @name = args[:name] if args.key?(:name) + @normalized_priority = args[:normalized_priority] if args.key?(:normalized_priority) + @order_id = args[:order_id] if args.key?(:order_id) + @ordered_time = args[:ordered_time] if args.key?(:ordered_time) + @pph_name = args[:pph_name] if args.key?(:pph_name) + @priority = args[:priority] if args.key?(:priority) + @received_time = args[:received_time] if args.key?(:received_time) + @rejection_note = args[:rejection_note] if args.key?(:rejection_note) + @season_name = args[:season_name] if args.key?(:season_name) + @show_name = args[:show_name] if args.key?(:show_name) + @status = args[:status] if args.key?(:status) + @status_detail = args[:status_detail] if args.key?(:status_detail) + @studio_name = args[:studio_name] if args.key?(:studio_name) + @type = args[:type] if args.key?(:type) + @video_id = args[:video_id] if args.key?(:video_id) + end + end + + # Information about a playable sequence (video) associated with an Edit + # and available at the Google Play Store. + # Internally, each StoreInfo is uniquely identified by a `video_id` + # and `country`. + # Externally, Title-level EIDR or Edit-level EIDR, if provided, + # can also be used to identify a specific title or edit in a country. + class StoreInfo + include Google::Apis::Core::Hashable + + # Audio tracks available for this Edit. + # Corresponds to the JSON property `audioTracks` + # @return [Array] + attr_accessor :audio_tracks + + # Country where Edit is available in ISO 3166-1 alpha-2 country + # code. + # Example: "US". + # Corresponds to the JSON property `country` + # @return [String] + attr_accessor :country + + # Edit-level EIDR ID. + # Example: "10.5240/1489-49A2-3956-4B2D-FE16-6". + # Corresponds to the JSON property `editLevelEidr` + # @return [String] + attr_accessor :edit_level_eidr + + # The number assigned to the episode within a season. + # Only available on TV Edits. + # Example: "1". + # Corresponds to the JSON property `episodeNumber` + # @return [String] + attr_accessor :episode_number + + # Whether the Edit has a 5.1 channel audio track. + # Corresponds to the JSON property `hasAudio51` + # @return [Boolean] + attr_accessor :has_audio51 + alias_method :has_audio51?, :has_audio51 + + # Whether the Edit has a EST offer. + # Corresponds to the JSON property `hasEstOffer` + # @return [Boolean] + attr_accessor :has_est_offer + alias_method :has_est_offer?, :has_est_offer + + # Whether the Edit has a HD offer. + # Corresponds to the JSON property `hasHdOffer` + # @return [Boolean] + attr_accessor :has_hd_offer + alias_method :has_hd_offer?, :has_hd_offer + + # Whether the Edit has info cards. + # Corresponds to the JSON property `hasInfoCards` + # @return [Boolean] + attr_accessor :has_info_cards + alias_method :has_info_cards?, :has_info_cards + + # Whether the Edit has a SD offer. + # Corresponds to the JSON property `hasSdOffer` + # @return [Boolean] + attr_accessor :has_sd_offer + alias_method :has_sd_offer?, :has_sd_offer + + # Whether the Edit has a VOD offer. + # Corresponds to the JSON property `hasVodOffer` + # @return [Boolean] + attr_accessor :has_vod_offer + alias_method :has_vod_offer?, :has_vod_offer + + # Timestamp when the Edit went live on the Store. + # Corresponds to the JSON property `liveTime` + # @return [String] + attr_accessor :live_time + + # Knowledge Graph ID associated to this Edit, if available. + # This ID links the Edit to its knowledge entity, externally accessible + # at http://freebase.com. + # In the absense of Title EIDR or Edit EIDR, this ID helps link together + # multiple Edits across countries. + # Example: '/m/0ffx29' + # Corresponds to the JSON property `mid` + # @return [String] + attr_accessor :mid + + # Default Edit name, usually in the language of the country of + # origin. + # Example: "Googlers, The". + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Name of the post-production houses that manage the Edit. + # Corresponds to the JSON property `pphNames` + # @return [Array] + attr_accessor :pph_names + + # Google-generated ID identifying the season linked to the Edit. + # Only available for TV Edits. + # Example: 'ster23ex' + # Corresponds to the JSON property `seasonId` + # @return [String] + attr_accessor :season_id + + # Default Season name, usually in the language of the country of + # origin. + # Only available for TV Edits + # Example: "Googlers, The - A Brave New World". + # Corresponds to the JSON property `seasonName` + # @return [String] + attr_accessor :season_name + + # The number assigned to the season within a show. + # Only available on TV Edits. + # Example: "1". + # Corresponds to the JSON property `seasonNumber` + # @return [String] + attr_accessor :season_number + + # Google-generated ID identifying the show linked to the Edit. + # Only available for TV Edits. + # Example: 'et2hsue_x' + # Corresponds to the JSON property `showId` + # @return [String] + attr_accessor :show_id + + # Default Show name, usually in the language of the country of + # origin. + # Only available for TV Edits + # Example: "Googlers, The". + # Corresponds to the JSON property `showName` + # @return [String] + attr_accessor :show_name + + # Name of the studio that owns the Edit ordered. + # Corresponds to the JSON property `studioName` + # @return [String] + attr_accessor :studio_name + + # Subtitles available for this Edit. + # Corresponds to the JSON property `subtitles` + # @return [Array] + attr_accessor :subtitles + + # Title-level EIDR ID. + # Example: "10.5240/1489-49A2-3956-4B2D-FE16-5". + # Corresponds to the JSON property `titleLevelEidr` + # @return [String] + attr_accessor :title_level_eidr + + # Google-generated ID identifying the trailer linked to the Edit. + # Example: 'bhd_4e_cx' + # Corresponds to the JSON property `trailerId` + # @return [String] + attr_accessor :trailer_id + + # Edit type, like Movie, Episode or Season. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # Google-generated ID identifying the video linked to the Edit. + # Example: 'gtry456_xc' + # Corresponds to the JSON property `videoId` + # @return [String] + attr_accessor :video_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audio_tracks = args[:audio_tracks] if args.key?(:audio_tracks) + @country = args[:country] if args.key?(:country) + @edit_level_eidr = args[:edit_level_eidr] if args.key?(:edit_level_eidr) + @episode_number = args[:episode_number] if args.key?(:episode_number) + @has_audio51 = args[:has_audio51] if args.key?(:has_audio51) + @has_est_offer = args[:has_est_offer] if args.key?(:has_est_offer) + @has_hd_offer = args[:has_hd_offer] if args.key?(:has_hd_offer) + @has_info_cards = args[:has_info_cards] if args.key?(:has_info_cards) + @has_sd_offer = args[:has_sd_offer] if args.key?(:has_sd_offer) + @has_vod_offer = args[:has_vod_offer] if args.key?(:has_vod_offer) + @live_time = args[:live_time] if args.key?(:live_time) + @mid = args[:mid] if args.key?(:mid) + @name = args[:name] if args.key?(:name) + @pph_names = args[:pph_names] if args.key?(:pph_names) + @season_id = args[:season_id] if args.key?(:season_id) + @season_name = args[:season_name] if args.key?(:season_name) + @season_number = args[:season_number] if args.key?(:season_number) + @show_id = args[:show_id] if args.key?(:show_id) + @show_name = args[:show_name] if args.key?(:show_name) + @studio_name = args[:studio_name] if args.key?(:studio_name) + @subtitles = args[:subtitles] if args.key?(:subtitles) + @title_level_eidr = args[:title_level_eidr] if args.key?(:title_level_eidr) + @trailer_id = args[:trailer_id] if args.key?(:trailer_id) + @type = args[:type] if args.key?(:type) + @video_id = args[:video_id] if args.key?(:video_id) + end + end + end + end +end diff --git a/generated/google/apis/playmoviespartner_v1/representations.rb b/generated/google/apis/playmoviespartner_v1/representations.rb new file mode 100644 index 000000000..42d536803 --- /dev/null +++ b/generated/google/apis/playmoviespartner_v1/representations.rb @@ -0,0 +1,191 @@ +# 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 PlaymoviespartnerV1 + + class Avail + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListAvailsResponse + 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 ListStoreInfosResponse + 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 StoreInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Avail + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alt_id, as: 'altId' + property :avail_id, as: 'availId' + property :caption_exemption, as: 'captionExemption' + property :caption_included, as: 'captionIncluded' + property :content_id, as: 'contentId' + property :display_name, as: 'displayName' + property :encode_id, as: 'encodeId' + property :end, as: 'end' + property :episode_alt_id, as: 'episodeAltId' + property :episode_number, as: 'episodeNumber' + property :episode_title_internal_alias, as: 'episodeTitleInternalAlias' + property :format_profile, as: 'formatProfile' + property :license_type, as: 'licenseType' + collection :pph_names, as: 'pphNames' + property :price_type, as: 'priceType' + property :price_value, as: 'priceValue' + property :product_id, as: 'productId' + property :rating_reason, as: 'ratingReason' + property :rating_system, as: 'ratingSystem' + property :rating_value, as: 'ratingValue' + property :release_date, as: 'releaseDate' + property :season_alt_id, as: 'seasonAltId' + property :season_number, as: 'seasonNumber' + property :season_title_internal_alias, as: 'seasonTitleInternalAlias' + property :series_alt_id, as: 'seriesAltId' + property :series_title_internal_alias, as: 'seriesTitleInternalAlias' + property :start, as: 'start' + property :store_language, as: 'storeLanguage' + property :suppression_lift_date, as: 'suppressionLiftDate' + property :territory, as: 'territory' + property :title_internal_alias, as: 'titleInternalAlias' + property :video_id, as: 'videoId' + property :work_type, as: 'workType' + end + end + + class ListAvailsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :avails, as: 'avails', class: Google::Apis::PlaymoviespartnerV1::Avail, decorator: Google::Apis::PlaymoviespartnerV1::Avail::Representation + + property :next_page_token, as: 'nextPageToken' + property :total_size, as: 'totalSize' + end + end + + class ListOrdersResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :orders, as: 'orders', class: Google::Apis::PlaymoviespartnerV1::Order, decorator: Google::Apis::PlaymoviespartnerV1::Order::Representation + + property :total_size, as: 'totalSize' + end + end + + class ListStoreInfosResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :store_infos, as: 'storeInfos', class: Google::Apis::PlaymoviespartnerV1::StoreInfo, decorator: Google::Apis::PlaymoviespartnerV1::StoreInfo::Representation + + property :total_size, as: 'totalSize' + end + end + + class Order + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :approved_time, as: 'approvedTime' + property :channel_id, as: 'channelId' + property :channel_name, as: 'channelName' + collection :countries, as: 'countries' + property :custom_id, as: 'customId' + property :earliest_avail_start_time, as: 'earliestAvailStartTime' + property :episode_name, as: 'episodeName' + property :legacy_priority, as: 'legacyPriority' + property :name, as: 'name' + property :normalized_priority, as: 'normalizedPriority' + property :order_id, as: 'orderId' + property :ordered_time, as: 'orderedTime' + property :pph_name, as: 'pphName' + property :priority, as: 'priority' + property :received_time, as: 'receivedTime' + property :rejection_note, as: 'rejectionNote' + property :season_name, as: 'seasonName' + property :show_name, as: 'showName' + property :status, as: 'status' + property :status_detail, as: 'statusDetail' + property :studio_name, as: 'studioName' + property :type, as: 'type' + property :video_id, as: 'videoId' + end + end + + class StoreInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :audio_tracks, as: 'audioTracks' + property :country, as: 'country' + property :edit_level_eidr, as: 'editLevelEidr' + property :episode_number, as: 'episodeNumber' + property :has_audio51, as: 'hasAudio51' + property :has_est_offer, as: 'hasEstOffer' + property :has_hd_offer, as: 'hasHdOffer' + property :has_info_cards, as: 'hasInfoCards' + property :has_sd_offer, as: 'hasSdOffer' + property :has_vod_offer, as: 'hasVodOffer' + property :live_time, as: 'liveTime' + property :mid, as: 'mid' + property :name, as: 'name' + collection :pph_names, as: 'pphNames' + property :season_id, as: 'seasonId' + property :season_name, as: 'seasonName' + property :season_number, as: 'seasonNumber' + property :show_id, as: 'showId' + property :show_name, as: 'showName' + property :studio_name, as: 'studioName' + collection :subtitles, as: 'subtitles' + property :title_level_eidr, as: 'titleLevelEidr' + property :trailer_id, as: 'trailerId' + property :type, as: 'type' + property :video_id, as: 'videoId' + end + end + end + end +end diff --git a/generated/google/apis/playmoviespartner_v1/service.rb b/generated/google/apis/playmoviespartner_v1/service.rb new file mode 100644 index 000000000..a87545986 --- /dev/null +++ b/generated/google/apis/playmoviespartner_v1/service.rb @@ -0,0 +1,354 @@ +# 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 PlaymoviespartnerV1 + # Google Play Movies Partner API + # + # Gets the delivery status of titles for Google Play Movies Partners. + # + # @example + # require 'google/apis/playmoviespartner_v1' + # + # Playmoviespartner = Google::Apis::PlaymoviespartnerV1 # Alias the module + # service = Playmoviespartner::PlayMoviesService.new + # + # @see https://developers.google.com/playmoviespartner/ + class PlayMoviesService < 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://playmoviespartner.googleapis.com/', '') + @batch_path = 'batch' + end + + # Get an Avail given its avail group id and avail id. + # @param [String] account_id + # REQUIRED. See _General rules_ for more information about this field. + # @param [String] avail_id + # REQUIRED. Avail 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::PlaymoviespartnerV1::Avail] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PlaymoviespartnerV1::Avail] + # + # @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_avail(account_id, avail_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/accounts/{accountId}/avails/{availId}', options) + command.response_representation = Google::Apis::PlaymoviespartnerV1::Avail::Representation + command.response_class = Google::Apis::PlaymoviespartnerV1::Avail + command.params['accountId'] = account_id unless account_id.nil? + command.params['availId'] = avail_id unless avail_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 + + # List Avails owned or managed by the partner. + # See _Authentication and Authorization rules_ and + # _List methods rules_ for more information about this method. + # @param [String] account_id + # REQUIRED. See _General rules_ for more information about this field. + # @param [String] alt_id + # Filter Avails that match a case-insensitive, partner-specific custom id. + # NOTE: this field is deprecated and will be removed on V2; `alt_ids` + # should be used instead. + # @param [Array, String] alt_ids + # Filter Avails that match (case-insensitive) any of the given partner-specific + # custom ids. + # @param [Fixnum] page_size + # See _List methods rules_ for info about this field. + # @param [String] page_token + # See _List methods rules_ for info about this field. + # @param [Array, String] pph_names + # See _List methods rules_ for info about this field. + # @param [Array, String] studio_names + # See _List methods rules_ for info about this field. + # @param [Array, String] territories + # Filter Avails that match (case-insensitive) any of the given country codes, + # using the "ISO 3166-1 alpha-2" format (examples: "US", "us", "Us"). + # @param [String] title + # Filter that matches Avails with a `title_internal_alias`, + # `series_title_internal_alias`, `season_title_internal_alias`, + # or `episode_title_internal_alias` that contains the given + # case-insensitive title. + # @param [Array, String] video_ids + # Filter Avails that match any of the given `video_id`s. + # @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::PlaymoviespartnerV1::ListAvailsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PlaymoviespartnerV1::ListAvailsResponse] + # + # @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_avails(account_id, alt_id: nil, alt_ids: nil, page_size: nil, page_token: nil, pph_names: nil, studio_names: nil, territories: nil, title: nil, video_ids: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/accounts/{accountId}/avails', options) + command.response_representation = Google::Apis::PlaymoviespartnerV1::ListAvailsResponse::Representation + command.response_class = Google::Apis::PlaymoviespartnerV1::ListAvailsResponse + command.params['accountId'] = account_id unless account_id.nil? + command.query['altId'] = alt_id unless alt_id.nil? + command.query['altIds'] = alt_ids unless alt_ids.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pphNames'] = pph_names unless pph_names.nil? + command.query['studioNames'] = studio_names unless studio_names.nil? + command.query['territories'] = territories unless territories.nil? + command.query['title'] = title unless title.nil? + command.query['videoIds'] = video_ids unless video_ids.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Get an Order given its id. + # See _Authentication and Authorization rules_ and + # _Get methods rules_ for more information about this method. + # @param [String] account_id + # REQUIRED. See _General rules_ for more information about this field. + # @param [String] order_id + # REQUIRED. Order 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::PlaymoviespartnerV1::Order] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PlaymoviespartnerV1::Order] + # + # @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_order(account_id, order_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/accounts/{accountId}/orders/{orderId}', options) + command.response_representation = Google::Apis::PlaymoviespartnerV1::Order::Representation + command.response_class = Google::Apis::PlaymoviespartnerV1::Order + command.params['accountId'] = account_id unless account_id.nil? + command.params['orderId'] = order_id unless order_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 + + # List Orders owned or managed by the partner. + # See _Authentication and Authorization rules_ and + # _List methods rules_ for more information about this method. + # @param [String] account_id + # REQUIRED. See _General rules_ for more information about this field. + # @param [String] custom_id + # Filter Orders that match a case-insensitive, partner-specific custom id. + # @param [String] name + # Filter that matches Orders with a `name`, `show`, `season` or `episode` + # that contains the given case-insensitive name. + # @param [Fixnum] page_size + # See _List methods rules_ for info about this field. + # @param [String] page_token + # See _List methods rules_ for info about this field. + # @param [Array, String] pph_names + # See _List methods rules_ for info about this field. + # @param [Array, String] status + # Filter Orders that match one of the given status. + # @param [Array, String] studio_names + # See _List methods rules_ for info about this field. + # @param [Array, String] video_ids + # Filter Orders that match any of the given `video_id`s. + # @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::PlaymoviespartnerV1::ListOrdersResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PlaymoviespartnerV1::ListOrdersResponse] + # + # @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_orders(account_id, custom_id: nil, name: nil, page_size: nil, page_token: nil, pph_names: nil, status: nil, studio_names: nil, video_ids: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/accounts/{accountId}/orders', options) + command.response_representation = Google::Apis::PlaymoviespartnerV1::ListOrdersResponse::Representation + command.response_class = Google::Apis::PlaymoviespartnerV1::ListOrdersResponse + command.params['accountId'] = account_id unless account_id.nil? + command.query['customId'] = custom_id unless custom_id.nil? + command.query['name'] = name unless name.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pphNames'] = pph_names unless pph_names.nil? + command.query['status'] = status unless status.nil? + command.query['studioNames'] = studio_names unless studio_names.nil? + command.query['videoIds'] = video_ids unless video_ids.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # List StoreInfos owned or managed by the partner. + # See _Authentication and Authorization rules_ and + # _List methods rules_ for more information about this method. + # @param [String] account_id + # REQUIRED. See _General rules_ for more information about this field. + # @param [Array, String] countries + # Filter StoreInfos that match (case-insensitive) any of the given country + # codes, using the "ISO 3166-1 alpha-2" format (examples: "US", "us", "Us"). + # @param [Array, String] mids + # Filter StoreInfos that match any of the given `mid`s. + # @param [String] name + # Filter that matches StoreInfos with a `name` or `show_name` + # that contains the given case-insensitive name. + # @param [Fixnum] page_size + # See _List methods rules_ for info about this field. + # @param [String] page_token + # See _List methods rules_ for info about this field. + # @param [Array, String] pph_names + # See _List methods rules_ for info about this field. + # @param [Array, String] season_ids + # Filter StoreInfos that match any of the given `season_id`s. + # @param [Array, String] studio_names + # See _List methods rules_ for info about this field. + # @param [String] video_id + # Filter StoreInfos that match a given `video_id`. + # NOTE: this field is deprecated and will be removed on V2; `video_ids` + # should be used instead. + # @param [Array, String] video_ids + # Filter StoreInfos that match any of the given `video_id`s. + # @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::PlaymoviespartnerV1::ListStoreInfosResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PlaymoviespartnerV1::ListStoreInfosResponse] + # + # @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_store_infos(account_id, countries: nil, mids: nil, name: nil, page_size: nil, page_token: nil, pph_names: nil, season_ids: nil, studio_names: nil, video_id: nil, video_ids: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/accounts/{accountId}/storeInfos', options) + command.response_representation = Google::Apis::PlaymoviespartnerV1::ListStoreInfosResponse::Representation + command.response_class = Google::Apis::PlaymoviespartnerV1::ListStoreInfosResponse + command.params['accountId'] = account_id unless account_id.nil? + command.query['countries'] = countries unless countries.nil? + command.query['mids'] = mids unless mids.nil? + command.query['name'] = name unless name.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pphNames'] = pph_names unless pph_names.nil? + command.query['seasonIds'] = season_ids unless season_ids.nil? + command.query['studioNames'] = studio_names unless studio_names.nil? + command.query['videoId'] = video_id unless video_id.nil? + command.query['videoIds'] = video_ids unless video_ids.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Get a StoreInfo given its video id and country. + # See _Authentication and Authorization rules_ and + # _Get methods rules_ for more information about this method. + # @param [String] account_id + # REQUIRED. See _General rules_ for more information about this field. + # @param [String] video_id + # REQUIRED. Video ID. + # @param [String] country + # REQUIRED. Edit country. + # @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::PlaymoviespartnerV1::StoreInfo] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PlaymoviespartnerV1::StoreInfo] + # + # @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_store_info_country(account_id, video_id, country, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/accounts/{accountId}/storeInfos/{videoId}/country/{country}', options) + command.response_representation = Google::Apis::PlaymoviespartnerV1::StoreInfo::Representation + command.response_class = Google::Apis::PlaymoviespartnerV1::StoreInfo + command.params['accountId'] = account_id unless account_id.nil? + command.params['videoId'] = video_id unless video_id.nil? + command.params['country'] = country unless country.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 + + 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/plus_domains_v1.rb b/generated/google/apis/plus_domains_v1.rb index c2faa0182..e55a85189 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 = '20170704' + REVISION = '20170410' # 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_v1.rb b/generated/google/apis/plus_v1.rb index cebc288a4..62570829d 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 = '20170704' + REVISION = '20170410' # 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/proximitybeacon_v1beta1.rb b/generated/google/apis/proximitybeacon_v1beta1.rb index 0c990a443..9caef16ef 100644 --- a/generated/google/apis/proximitybeacon_v1beta1.rb +++ b/generated/google/apis/proximitybeacon_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/beacons/proximity/ module ProximitybeaconV1beta1 VERSION = 'V1beta1' - REVISION = '20170711' + REVISION = '20170815' # View and modify your beacons AUTH_USERLOCATION_BEACON_REGISTRY = 'https://www.googleapis.com/auth/userlocation.beacon.registry' diff --git a/generated/google/apis/proximitybeacon_v1beta1/classes.rb b/generated/google/apis/proximitybeacon_v1beta1/classes.rb index ef36b636c..ee8fb29fa 100644 --- a/generated/google/apis/proximitybeacon_v1beta1/classes.rb +++ b/generated/google/apis/proximitybeacon_v1beta1/classes.rb @@ -22,181 +22,26 @@ module Google module Apis module ProximitybeaconV1beta1 - # Response to ListNamespacesRequest that contains all the project's namespaces. - class ListNamespacesResponse + # Defines a unique identifier of a beacon as broadcast by the device. + class AdvertisedId include Google::Apis::Core::Hashable - # The attachments that corresponded to the request params. - # Corresponds to the JSON property `namespaces` - # @return [Array] - attr_accessor :namespaces - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @namespaces = args[:namespaces] if args.key?(:namespaces) - end - end - - # Diagnostics for a single beacon. - class Diagnostics - include Google::Apis::Core::Hashable - - # Represents a whole calendar date, e.g. 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. The day may be 0 to - # represent a year and month where the day is not significant, e.g. credit card - # expiration date. The year may be 0 to represent a month and day independent - # of year, e.g. anniversary date. Related types are google.type.TimeOfDay - # and `google.protobuf.Timestamp`. - # Corresponds to the JSON property `estimatedLowBatteryDate` - # @return [Google::Apis::ProximitybeaconV1beta1::Date] - attr_accessor :estimated_low_battery_date - - # Resource name of the beacon. For Eddystone-EID beacons, this may - # be the beacon's current EID, or the beacon's "stable" Eddystone-UID. - # Corresponds to the JSON property `beaconName` - # @return [String] - attr_accessor :beacon_name - - # An unordered list of Alerts that the beacon has. - # Corresponds to the JSON property `alerts` - # @return [Array] - attr_accessor :alerts - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @estimated_low_battery_date = args[:estimated_low_battery_date] if args.key?(:estimated_low_battery_date) - @beacon_name = args[:beacon_name] if args.key?(:beacon_name) - @alerts = args[:alerts] if args.key?(:alerts) - end - end - - # Response that contains list beacon results and pagination help. - class ListBeaconsResponse - include Google::Apis::Core::Hashable - - # An opaque pagination token that the client may provide in their next - # request to retrieve the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Estimate of the total number of beacons matched by the query. Higher - # values may be less accurate. - # Corresponds to the JSON property `totalCount` - # @return [Fixnum] - attr_accessor :total_count - - # The beacons that matched the search criteria. - # Corresponds to the JSON property `beacons` - # @return [Array] - attr_accessor :beacons - - 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) - @total_count = args[:total_count] if args.key?(:total_count) - @beacons = args[:beacons] if args.key?(:beacons) - end - end - - # Request for beacon and attachment information about beacons that - # a mobile client has encountered "in the wild". - class GetInfoForObservedBeaconsRequest - include Google::Apis::Core::Hashable - - # The beacons that the client has encountered. - # At least one must be given. - # Corresponds to the JSON property `observations` - # @return [Array] - attr_accessor :observations - - # Specifies what kind of attachments to include in the response. - # When given, the response will include only attachments of the given types. - # When empty, no attachments will be returned. Must be in the format - # namespace/type. Accepts `*` to specify all types in - # all namespaces owned by the client. - # Optional. - # Corresponds to the JSON property `namespacedTypes` - # @return [Array] - attr_accessor :namespaced_types - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @observations = args[:observations] if args.key?(:observations) - @namespaced_types = args[:namespaced_types] if args.key?(:namespaced_types) - 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 - - # Project-specific data associated with a beacon. - class BeaconAttachment - include Google::Apis::Core::Hashable - - # The UTC time when this attachment was created, in milliseconds since the - # UNIX epoch. - # Corresponds to the JSON property `creationTimeMs` - # @return [String] - attr_accessor :creation_time_ms - - # Resource name of this attachment. Attachment names have the format: - # beacons/beacon_id/attachments/attachment_id. - # Leave this empty on creation. - # Corresponds to the JSON property `attachmentName` - # @return [String] - attr_accessor :attachment_name - - # Specifies what kind of attachment this is. Tells a client how to - # interpret the `data` field. Format is namespace/type. Namespace - # provides type separation between clients. Type describes the type of - # `data`, for use by the client when parsing the `data` field. - # Required. - # Corresponds to the JSON property `namespacedType` - # @return [String] - attr_accessor :namespaced_type - - # An opaque data container for client-provided data. Must be + # The actual beacon identifier, as broadcast by the beacon hardware. Must be # [base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP - # requests, and will be so encoded (with padding) in responses. + # requests, and will be so encoded (with padding) in responses. The base64 + # encoding should be of the binary byte-stream and not any textual (such as + # hex) representation thereof. # Required. - # Corresponds to the JSON property `data` + # Corresponds to the JSON property `id` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] - attr_accessor :data + attr_accessor :id + + # Specifies the identifier type. + # Required. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type def initialize(**args) update!(**args) @@ -204,209 +49,8 @@ module Google # Update properties of this object def update!(**args) - @creation_time_ms = args[:creation_time_ms] if args.key?(:creation_time_ms) - @attachment_name = args[:attachment_name] if args.key?(:attachment_name) - @namespaced_type = args[:namespaced_type] if args.key?(:namespaced_type) - @data = args[:data] if args.key?(:data) - end - end - - # Write-only registration parameters for beacons using Eddystone-EID format. - # Two ways of securely registering an Eddystone-EID beacon with the service - # are supported: - # 1. Perform an ECDH key exchange via this API, including a previous call - # to `GET /v1beta1/eidparams`. In this case the fields - # `beacon_ecdh_public_key` and `service_ecdh_public_key` should be - # populated and `beacon_identity_key` should not be populated. This - # method ensures that only the two parties in the ECDH key exchange can - # compute the identity key, which becomes a secret between them. - # 2. Derive or obtain the beacon's identity key via other secure means - # (perhaps an ECDH key exchange between the beacon and a mobile device - # or any other secure method), and then submit the resulting identity key - # to the service. In this case `beacon_identity_key` field should be - # populated, and neither of `beacon_ecdh_public_key` nor - # `service_ecdh_public_key` fields should be. The security of this method - # depends on how securely the parties involved (in particular the - # bluetooth client) handle the identity key, and obviously on how - # securely the identity key was generated. - # See [the Eddystone specification](https://github.com/google/eddystone/tree/ - # master/eddystone-eid) at GitHub. - class EphemeralIdRegistration - include Google::Apis::Core::Hashable - - # The initial clock value of the beacon. The beacon's clock must have - # begun counting at this value immediately prior to transmitting this - # value to the resolving service. Significant delay in transmitting this - # value to the service risks registration or resolution failures. If a - # value is not provided, the default is zero. - # Corresponds to the JSON property `initialClockValue` - # @return [Fixnum] - attr_accessor :initial_clock_value - - # The beacon's public key used for the Elliptic curve Diffie-Hellman - # key exchange. When this field is populated, `service_ecdh_public_key` - # must also be populated, and `beacon_identity_key` must not be. - # Corresponds to the JSON property `beaconEcdhPublicKey` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :beacon_ecdh_public_key - - # Indicates the nominal period between each rotation of the beacon's - # ephemeral ID. "Nominal" because the beacon should randomize the - # actual interval. See [the spec at github](https://github.com/google/eddystone/ - # tree/master/eddystone-eid) - # for details. This value corresponds to a power-of-two scaler on the - # beacon's clock: when the scaler value is K, the beacon will begin - # broadcasting a new ephemeral ID on average every 2^K seconds. - # Corresponds to the JSON property `rotationPeriodExponent` - # @return [Fixnum] - attr_accessor :rotation_period_exponent - - # The service's public key used for the Elliptic curve Diffie-Hellman - # key exchange. When this field is populated, `beacon_ecdh_public_key` - # must also be populated, and `beacon_identity_key` must not be. - # Corresponds to the JSON property `serviceEcdhPublicKey` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :service_ecdh_public_key - - # The private key of the beacon. If this field is populated, - # `beacon_ecdh_public_key` and `service_ecdh_public_key` must not be - # populated. - # Corresponds to the JSON property `beaconIdentityKey` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :beacon_identity_key - - # An initial ephemeral ID calculated using the clock value submitted as - # `initial_clock_value`, and the secret key generated by the - # Diffie-Hellman key exchange using `service_ecdh_public_key` and - # `service_ecdh_public_key`. This initial EID value will be used by the - # service to confirm that the key exchange process was successful. - # Corresponds to the JSON property `initialEid` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :initial_eid - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @initial_clock_value = args[:initial_clock_value] if args.key?(:initial_clock_value) - @beacon_ecdh_public_key = args[:beacon_ecdh_public_key] if args.key?(:beacon_ecdh_public_key) - @rotation_period_exponent = args[:rotation_period_exponent] if args.key?(:rotation_period_exponent) - @service_ecdh_public_key = args[:service_ecdh_public_key] if args.key?(:service_ecdh_public_key) - @beacon_identity_key = args[:beacon_identity_key] if args.key?(:beacon_identity_key) - @initial_eid = args[:initial_eid] if args.key?(:initial_eid) - 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 - # [-90.0, 90.0] and [-180.0, 180.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 - - # Response to `ListBeaconAttachments` that contains the requested attachments. - class ListBeaconAttachmentsResponse - include Google::Apis::Core::Hashable - - # The attachments that corresponded to the request params. - # Corresponds to the JSON property `attachments` - # @return [Array] - attr_accessor :attachments - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @attachments = args[:attachments] if args.key?(:attachments) - end - end - - # An attachment namespace defines read and write access for all the attachments - # created under it. Each namespace is globally unique, and owned by one - # project which is the only project that can create attachments under it. - class Namespace - include Google::Apis::Core::Hashable - - # Resource name of this namespace. Namespaces names have the format: - # namespaces/namespace. - # Corresponds to the JSON property `namespaceName` - # @return [String] - attr_accessor :namespace_name - - # Specifies what clients may receive attachments under this namespace - # via `beaconinfo.getforobserved`. - # Corresponds to the JSON property `servingVisibility` - # @return [String] - attr_accessor :serving_visibility - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @namespace_name = args[:namespace_name] if args.key?(:namespace_name) - @serving_visibility = args[:serving_visibility] if args.key?(:serving_visibility) + @id = args[:id] if args.key?(:id) + @type = args[:type] if args.key?(:type) end end @@ -440,193 +84,14 @@ module Google end end - # A subset of beacon information served via the `beaconinfo.getforobserved` - # method, which you call when users of your app encounter your beacons. - class BeaconInfo - include Google::Apis::Core::Hashable - - # The name under which the beacon is registered. - # Corresponds to the JSON property `beaconName` - # @return [String] - attr_accessor :beacon_name - - # Attachments matching the type(s) requested. - # May be empty if no attachment types were requested. - # Corresponds to the JSON property `attachments` - # @return [Array] - attr_accessor :attachments - - # Defines a unique identifier of a beacon as broadcast by the device. - # Corresponds to the JSON property `advertisedId` - # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId] - attr_accessor :advertised_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @beacon_name = args[:beacon_name] if args.key?(:beacon_name) - @attachments = args[:attachments] if args.key?(:attachments) - @advertised_id = args[:advertised_id] if args.key?(:advertised_id) - end - end - - # Information a client needs to provision and register beacons that - # broadcast Eddystone-EID format beacon IDs, using Elliptic curve - # Diffie-Hellman key exchange. See - # [the Eddystone specification](https://github.com/google/eddystone/tree/master/ - # eddystone-eid) at GitHub. - class EphemeralIdRegistrationParams - include Google::Apis::Core::Hashable - - # Indicates the maximum rotation period supported by the service. - # See EddystoneEidRegistration.rotation_period_exponent - # Corresponds to the JSON property `maxRotationPeriodExponent` - # @return [Fixnum] - attr_accessor :max_rotation_period_exponent - - # Indicates the minimum rotation period supported by the service. - # See EddystoneEidRegistration.rotation_period_exponent - # Corresponds to the JSON property `minRotationPeriodExponent` - # @return [Fixnum] - attr_accessor :min_rotation_period_exponent - - # The beacon service's public key for use by a beacon to derive its - # Identity Key using Elliptic Curve Diffie-Hellman key exchange. - # Corresponds to the JSON property `serviceEcdhPublicKey` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :service_ecdh_public_key - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @max_rotation_period_exponent = args[:max_rotation_period_exponent] if args.key?(:max_rotation_period_exponent) - @min_rotation_period_exponent = args[:min_rotation_period_exponent] if args.key?(:min_rotation_period_exponent) - @service_ecdh_public_key = args[:service_ecdh_public_key] if args.key?(:service_ecdh_public_key) - end - end - - # Response for a request to delete attachments. - class DeleteAttachmentsResponse - include Google::Apis::Core::Hashable - - # The number of attachments that were deleted. - # Corresponds to the JSON property `numDeleted` - # @return [Fixnum] - attr_accessor :num_deleted - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @num_deleted = args[:num_deleted] if args.key?(:num_deleted) - end - end - - # Represents one beacon observed once. - class Observation - include Google::Apis::Core::Hashable - - # Time when the beacon was observed. - # Corresponds to the JSON property `timestampMs` - # @return [String] - attr_accessor :timestamp_ms - - # Defines a unique identifier of a beacon as broadcast by the device. - # Corresponds to the JSON property `advertisedId` - # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId] - attr_accessor :advertised_id - - # The array of telemetry bytes received from the beacon. The server is - # responsible for parsing it. This field may frequently be empty, as - # with a beacon that transmits telemetry only occasionally. - # Corresponds to the JSON property `telemetry` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :telemetry - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @timestamp_ms = args[:timestamp_ms] if args.key?(:timestamp_ms) - @advertised_id = args[:advertised_id] if args.key?(:advertised_id) - @telemetry = args[:telemetry] if args.key?(:telemetry) - end - end - - # Response that contains the requested diagnostics. - class ListDiagnosticsResponse - include Google::Apis::Core::Hashable - - # The diagnostics matching the given request. - # Corresponds to the JSON property `diagnostics` - # @return [Array] - attr_accessor :diagnostics - - # Token that can be used for pagination. Returned only if the - # request matches more beacons than can be returned in this response. - # 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) - @diagnostics = args[:diagnostics] if args.key?(:diagnostics) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # Information about the requested beacons, optionally including attachment - # data. - class GetInfoForObservedBeaconsResponse - include Google::Apis::Core::Hashable - - # Public information about beacons. - # May be empty if the request matched no beacons. - # Corresponds to the JSON property `beacons` - # @return [Array] - attr_accessor :beacons - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @beacons = args[:beacons] if args.key?(:beacons) - end - end - # Details of a beacon device. class Beacon include Google::Apis::Core::Hashable - # Current status of the beacon. - # Required. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - # Indoor level, a human-readable string as returned by Google Maps APIs, - # useful to indicate which floor of a building a beacon is located on. - # Corresponds to the JSON property `indoorLevel` - # @return [Google::Apis::ProximitybeaconV1beta1::IndoorLevel] - attr_accessor :indoor_level + # Defines a unique identifier of a beacon as broadcast by the device. + # Corresponds to the JSON property `advertisedId` + # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId] + attr_accessor :advertised_id # Resource name of this beacon. A beacon name has the format # "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by @@ -638,30 +103,12 @@ module Google # @return [String] attr_accessor :beacon_name - # Expected location stability. This is set when the beacon is registered or - # updated, not automatically detected in any way. + # Free text used to identify and describe the beacon. Maximum length 140 + # characters. # Optional. - # Corresponds to the JSON property `expectedStability` + # Corresponds to the JSON property `description` # @return [String] - attr_accessor :expected_stability - - # Defines a unique identifier of a beacon as broadcast by the device. - # Corresponds to the JSON property `advertisedId` - # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId] - attr_accessor :advertised_id - - # Some beacons may require a user to provide an authorization key before - # changing any of its configuration (e.g. broadcast frames, transmit power). - # This field provides a place to store and control access to that key. - # This field is populated in responses to `GET /v1beta1/beacons/3!beaconId` - # from users with write access to the given beacon. That is to say: If the - # user is authorized to write the beacon's confidential data in the service, - # the service considers them authorized to configure the beacon. Note - # that this key grants nothing on the service, only on the beacon itself. - # Corresponds to the JSON property `provisioningKey` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :provisioning_key + attr_accessor :description # Write-only registration parameters for beacons using Eddystone-EID format. # Two ways of securely registering an Eddystone-EID beacon with the service @@ -687,6 +134,19 @@ module Google # @return [Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration] attr_accessor :ephemeral_id_registration + # Expected location stability. This is set when the beacon is registered or + # updated, not automatically detected in any way. + # Optional. + # Corresponds to the JSON property `expectedStability` + # @return [String] + attr_accessor :expected_stability + + # Indoor level, a human-readable string as returned by Google Maps APIs, + # useful to indicate which floor of a building a beacon is located on. + # Corresponds to the JSON property `indoorLevel` + # @return [Google::Apis::ProximitybeaconV1beta1::IndoorLevel] + attr_accessor :indoor_level + # 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 @@ -734,13 +194,6 @@ module Google # @return [String] attr_accessor :place_id - # Free text used to identify and describe the beacon. Maximum length 140 - # characters. - # Optional. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - # Properties of the beacon device, for example battery type or firmware # version. # Optional. @@ -748,46 +201,79 @@ module Google # @return [Hash] attr_accessor :properties + # Some beacons may require a user to provide an authorization key before + # changing any of its configuration (e.g. broadcast frames, transmit power). + # This field provides a place to store and control access to that key. + # This field is populated in responses to `GET /v1beta1/beacons/3!beaconId` + # from users with write access to the given beacon. That is to say: If the + # user is authorized to write the beacon's confidential data in the service, + # the service considers them authorized to configure the beacon. Note + # that this key grants nothing on the service, only on the beacon itself. + # Corresponds to the JSON property `provisioningKey` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :provisioning_key + + # Current status of the beacon. + # Required. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @status = args[:status] if args.key?(:status) - @indoor_level = args[:indoor_level] if args.key?(:indoor_level) - @beacon_name = args[:beacon_name] if args.key?(:beacon_name) - @expected_stability = args[:expected_stability] if args.key?(:expected_stability) @advertised_id = args[:advertised_id] if args.key?(:advertised_id) - @provisioning_key = args[:provisioning_key] if args.key?(:provisioning_key) + @beacon_name = args[:beacon_name] if args.key?(:beacon_name) + @description = args[:description] if args.key?(:description) @ephemeral_id_registration = args[:ephemeral_id_registration] if args.key?(:ephemeral_id_registration) + @expected_stability = args[:expected_stability] if args.key?(:expected_stability) + @indoor_level = args[:indoor_level] if args.key?(:indoor_level) @lat_lng = args[:lat_lng] if args.key?(:lat_lng) @place_id = args[:place_id] if args.key?(:place_id) - @description = args[:description] if args.key?(:description) @properties = args[:properties] if args.key?(:properties) + @provisioning_key = args[:provisioning_key] if args.key?(:provisioning_key) + @status = args[:status] if args.key?(:status) end end - # Defines a unique identifier of a beacon as broadcast by the device. - class AdvertisedId + # Project-specific data associated with a beacon. + class BeaconAttachment include Google::Apis::Core::Hashable - # The actual beacon identifier, as broadcast by the beacon hardware. Must be + # Resource name of this attachment. Attachment names have the format: + # beacons/beacon_id/attachments/attachment_id. + # Leave this empty on creation. + # Corresponds to the JSON property `attachmentName` + # @return [String] + attr_accessor :attachment_name + + # The UTC time when this attachment was created, in milliseconds since the + # UNIX epoch. + # Corresponds to the JSON property `creationTimeMs` + # @return [String] + attr_accessor :creation_time_ms + + # An opaque data container for client-provided data. Must be # [base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP - # requests, and will be so encoded (with padding) in responses. The base64 - # encoding should be of the binary byte-stream and not any textual (such as - # hex) representation thereof. + # requests, and will be so encoded (with padding) in responses. # Required. - # Corresponds to the JSON property `id` + # Corresponds to the JSON property `data` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] - attr_accessor :id + attr_accessor :data - # Specifies the identifier type. + # Specifies what kind of attachment this is. Tells a client how to + # interpret the `data` field. Format is namespace/type. Namespace + # provides type separation between clients. Type describes the type of + # `data`, for use by the client when parsing the `data` field. # Required. - # Corresponds to the JSON property `type` + # Corresponds to the JSON property `namespacedType` # @return [String] - attr_accessor :type + attr_accessor :namespaced_type def initialize(**args) update!(**args) @@ -795,8 +281,43 @@ module Google # Update properties of this object def update!(**args) - @id = args[:id] if args.key?(:id) - @type = args[:type] if args.key?(:type) + @attachment_name = args[:attachment_name] if args.key?(:attachment_name) + @creation_time_ms = args[:creation_time_ms] if args.key?(:creation_time_ms) + @data = args[:data] if args.key?(:data) + @namespaced_type = args[:namespaced_type] if args.key?(:namespaced_type) + end + end + + # A subset of beacon information served via the `beaconinfo.getforobserved` + # method, which you call when users of your app encounter your beacons. + class BeaconInfo + include Google::Apis::Core::Hashable + + # Defines a unique identifier of a beacon as broadcast by the device. + # Corresponds to the JSON property `advertisedId` + # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId] + attr_accessor :advertised_id + + # Attachments matching the type(s) requested. + # May be empty if no attachment types were requested. + # Corresponds to the JSON property `attachments` + # @return [Array] + attr_accessor :attachments + + # The name under which the beacon is registered. + # Corresponds to the JSON property `beaconName` + # @return [String] + attr_accessor :beacon_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @advertised_id = args[:advertised_id] if args.key?(:advertised_id) + @attachments = args[:attachments] if args.key?(:attachments) + @beacon_name = args[:beacon_name] if args.key?(:beacon_name) end end @@ -816,17 +337,17 @@ module Google # @return [Fixnum] attr_accessor :day + # Month of year. Must be from 1 to 12. + # Corresponds to the JSON property `month` + # @return [Fixnum] + attr_accessor :month + # 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 - def initialize(**args) update!(**args) end @@ -834,8 +355,268 @@ module Google # Update properties of this object def update!(**args) @day = args[:day] if args.key?(:day) - @year = args[:year] if args.key?(:year) @month = args[:month] if args.key?(:month) + @year = args[:year] if args.key?(:year) + end + end + + # Response for a request to delete attachments. + class DeleteAttachmentsResponse + include Google::Apis::Core::Hashable + + # The number of attachments that were deleted. + # Corresponds to the JSON property `numDeleted` + # @return [Fixnum] + attr_accessor :num_deleted + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @num_deleted = args[:num_deleted] if args.key?(:num_deleted) + end + end + + # Diagnostics for a single beacon. + class Diagnostics + include Google::Apis::Core::Hashable + + # An unordered list of Alerts that the beacon has. + # Corresponds to the JSON property `alerts` + # @return [Array] + attr_accessor :alerts + + # Resource name of the beacon. For Eddystone-EID beacons, this may + # be the beacon's current EID, or the beacon's "stable" Eddystone-UID. + # Corresponds to the JSON property `beaconName` + # @return [String] + attr_accessor :beacon_name + + # Represents a whole calendar date, e.g. 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. The day may be 0 to + # represent a year and month where the day is not significant, e.g. credit card + # expiration date. The year may be 0 to represent a month and day independent + # of year, e.g. anniversary date. Related types are google.type.TimeOfDay + # and `google.protobuf.Timestamp`. + # Corresponds to the JSON property `estimatedLowBatteryDate` + # @return [Google::Apis::ProximitybeaconV1beta1::Date] + attr_accessor :estimated_low_battery_date + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alerts = args[:alerts] if args.key?(:alerts) + @beacon_name = args[:beacon_name] if args.key?(:beacon_name) + @estimated_low_battery_date = args[:estimated_low_battery_date] if args.key?(:estimated_low_battery_date) + 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 + + # Write-only registration parameters for beacons using Eddystone-EID format. + # Two ways of securely registering an Eddystone-EID beacon with the service + # are supported: + # 1. Perform an ECDH key exchange via this API, including a previous call + # to `GET /v1beta1/eidparams`. In this case the fields + # `beacon_ecdh_public_key` and `service_ecdh_public_key` should be + # populated and `beacon_identity_key` should not be populated. This + # method ensures that only the two parties in the ECDH key exchange can + # compute the identity key, which becomes a secret between them. + # 2. Derive or obtain the beacon's identity key via other secure means + # (perhaps an ECDH key exchange between the beacon and a mobile device + # or any other secure method), and then submit the resulting identity key + # to the service. In this case `beacon_identity_key` field should be + # populated, and neither of `beacon_ecdh_public_key` nor + # `service_ecdh_public_key` fields should be. The security of this method + # depends on how securely the parties involved (in particular the + # bluetooth client) handle the identity key, and obviously on how + # securely the identity key was generated. + # See [the Eddystone specification](https://github.com/google/eddystone/tree/ + # master/eddystone-eid) at GitHub. + class EphemeralIdRegistration + include Google::Apis::Core::Hashable + + # The beacon's public key used for the Elliptic curve Diffie-Hellman + # key exchange. When this field is populated, `service_ecdh_public_key` + # must also be populated, and `beacon_identity_key` must not be. + # Corresponds to the JSON property `beaconEcdhPublicKey` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :beacon_ecdh_public_key + + # The private key of the beacon. If this field is populated, + # `beacon_ecdh_public_key` and `service_ecdh_public_key` must not be + # populated. + # Corresponds to the JSON property `beaconIdentityKey` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :beacon_identity_key + + # The initial clock value of the beacon. The beacon's clock must have + # begun counting at this value immediately prior to transmitting this + # value to the resolving service. Significant delay in transmitting this + # value to the service risks registration or resolution failures. If a + # value is not provided, the default is zero. + # Corresponds to the JSON property `initialClockValue` + # @return [Fixnum] + attr_accessor :initial_clock_value + + # An initial ephemeral ID calculated using the clock value submitted as + # `initial_clock_value`, and the secret key generated by the + # Diffie-Hellman key exchange using `service_ecdh_public_key` and + # `service_ecdh_public_key`. This initial EID value will be used by the + # service to confirm that the key exchange process was successful. + # Corresponds to the JSON property `initialEid` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :initial_eid + + # Indicates the nominal period between each rotation of the beacon's + # ephemeral ID. "Nominal" because the beacon should randomize the + # actual interval. See [the spec at github](https://github.com/google/eddystone/ + # tree/master/eddystone-eid) + # for details. This value corresponds to a power-of-two scaler on the + # beacon's clock: when the scaler value is K, the beacon will begin + # broadcasting a new ephemeral ID on average every 2^K seconds. + # Corresponds to the JSON property `rotationPeriodExponent` + # @return [Fixnum] + attr_accessor :rotation_period_exponent + + # The service's public key used for the Elliptic curve Diffie-Hellman + # key exchange. When this field is populated, `beacon_ecdh_public_key` + # must also be populated, and `beacon_identity_key` must not be. + # Corresponds to the JSON property `serviceEcdhPublicKey` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :service_ecdh_public_key + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @beacon_ecdh_public_key = args[:beacon_ecdh_public_key] if args.key?(:beacon_ecdh_public_key) + @beacon_identity_key = args[:beacon_identity_key] if args.key?(:beacon_identity_key) + @initial_clock_value = args[:initial_clock_value] if args.key?(:initial_clock_value) + @initial_eid = args[:initial_eid] if args.key?(:initial_eid) + @rotation_period_exponent = args[:rotation_period_exponent] if args.key?(:rotation_period_exponent) + @service_ecdh_public_key = args[:service_ecdh_public_key] if args.key?(:service_ecdh_public_key) + end + end + + # Information a client needs to provision and register beacons that + # broadcast Eddystone-EID format beacon IDs, using Elliptic curve + # Diffie-Hellman key exchange. See + # [the Eddystone specification](https://github.com/google/eddystone/tree/master/ + # eddystone-eid) at GitHub. + class EphemeralIdRegistrationParams + include Google::Apis::Core::Hashable + + # Indicates the maximum rotation period supported by the service. + # See EddystoneEidRegistration.rotation_period_exponent + # Corresponds to the JSON property `maxRotationPeriodExponent` + # @return [Fixnum] + attr_accessor :max_rotation_period_exponent + + # Indicates the minimum rotation period supported by the service. + # See EddystoneEidRegistration.rotation_period_exponent + # Corresponds to the JSON property `minRotationPeriodExponent` + # @return [Fixnum] + attr_accessor :min_rotation_period_exponent + + # The beacon service's public key for use by a beacon to derive its + # Identity Key using Elliptic Curve Diffie-Hellman key exchange. + # Corresponds to the JSON property `serviceEcdhPublicKey` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :service_ecdh_public_key + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @max_rotation_period_exponent = args[:max_rotation_period_exponent] if args.key?(:max_rotation_period_exponent) + @min_rotation_period_exponent = args[:min_rotation_period_exponent] if args.key?(:min_rotation_period_exponent) + @service_ecdh_public_key = args[:service_ecdh_public_key] if args.key?(:service_ecdh_public_key) + end + end + + # Request for beacon and attachment information about beacons that + # a mobile client has encountered "in the wild". + class GetInfoForObservedBeaconsRequest + include Google::Apis::Core::Hashable + + # Specifies what kind of attachments to include in the response. + # When given, the response will include only attachments of the given types. + # When empty, no attachments will be returned. Must be in the format + # namespace/type. Accepts `*` to specify all types in + # all namespaces owned by the client. + # Optional. + # Corresponds to the JSON property `namespacedTypes` + # @return [Array] + attr_accessor :namespaced_types + + # The beacons that the client has encountered. + # At least one must be given. + # Corresponds to the JSON property `observations` + # @return [Array] + attr_accessor :observations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @namespaced_types = args[:namespaced_types] if args.key?(:namespaced_types) + @observations = args[:observations] if args.key?(:observations) + end + end + + # Information about the requested beacons, optionally including attachment + # data. + class GetInfoForObservedBeaconsResponse + include Google::Apis::Core::Hashable + + # Public information about beacons. + # May be empty if the request matched no beacons. + # Corresponds to the JSON property `beacons` + # @return [Array] + attr_accessor :beacons + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @beacons = args[:beacons] if args.key?(:beacons) end end @@ -858,6 +639,225 @@ module Google @name = args[:name] if args.key?(:name) 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 + # [-90.0, 90.0] and [-180.0, 180.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 latitude in degrees. It must be in the range [-90.0, +90.0]. + # Corresponds to the JSON property `latitude` + # @return [Float] + attr_accessor :latitude + + # 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 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @latitude = args[:latitude] if args.key?(:latitude) + @longitude = args[:longitude] if args.key?(:longitude) + end + end + + # Response to `ListBeaconAttachments` that contains the requested attachments. + class ListBeaconAttachmentsResponse + include Google::Apis::Core::Hashable + + # The attachments that corresponded to the request params. + # Corresponds to the JSON property `attachments` + # @return [Array] + attr_accessor :attachments + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attachments = args[:attachments] if args.key?(:attachments) + end + end + + # Response that contains list beacon results and pagination help. + class ListBeaconsResponse + include Google::Apis::Core::Hashable + + # The beacons that matched the search criteria. + # Corresponds to the JSON property `beacons` + # @return [Array] + attr_accessor :beacons + + # An opaque pagination token that the client may provide in their next + # request to retrieve the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Estimate of the total number of beacons matched by the query. Higher + # values may be less accurate. + # Corresponds to the JSON property `totalCount` + # @return [Fixnum] + attr_accessor :total_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @beacons = args[:beacons] if args.key?(:beacons) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @total_count = args[:total_count] if args.key?(:total_count) + end + end + + # Response that contains the requested diagnostics. + class ListDiagnosticsResponse + include Google::Apis::Core::Hashable + + # The diagnostics matching the given request. + # Corresponds to the JSON property `diagnostics` + # @return [Array] + attr_accessor :diagnostics + + # Token that can be used for pagination. Returned only if the + # request matches more beacons than can be returned in this response. + # 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) + @diagnostics = args[:diagnostics] if args.key?(:diagnostics) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Response to ListNamespacesRequest that contains all the project's namespaces. + class ListNamespacesResponse + include Google::Apis::Core::Hashable + + # The attachments that corresponded to the request params. + # Corresponds to the JSON property `namespaces` + # @return [Array] + attr_accessor :namespaces + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @namespaces = args[:namespaces] if args.key?(:namespaces) + end + end + + # An attachment namespace defines read and write access for all the attachments + # created under it. Each namespace is globally unique, and owned by one + # project which is the only project that can create attachments under it. + class Namespace + include Google::Apis::Core::Hashable + + # Resource name of this namespace. Namespaces names have the format: + # namespaces/namespace. + # Corresponds to the JSON property `namespaceName` + # @return [String] + attr_accessor :namespace_name + + # Specifies what clients may receive attachments under this namespace + # via `beaconinfo.getforobserved`. + # Corresponds to the JSON property `servingVisibility` + # @return [String] + attr_accessor :serving_visibility + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @namespace_name = args[:namespace_name] if args.key?(:namespace_name) + @serving_visibility = args[:serving_visibility] if args.key?(:serving_visibility) + end + end + + # Represents one beacon observed once. + class Observation + include Google::Apis::Core::Hashable + + # Defines a unique identifier of a beacon as broadcast by the device. + # Corresponds to the JSON property `advertisedId` + # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId] + attr_accessor :advertised_id + + # The array of telemetry bytes received from the beacon. The server is + # responsible for parsing it. This field may frequently be empty, as + # with a beacon that transmits telemetry only occasionally. + # Corresponds to the JSON property `telemetry` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :telemetry + + # Time when the beacon was observed. + # Corresponds to the JSON property `timestampMs` + # @return [String] + attr_accessor :timestamp_ms + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @advertised_id = args[:advertised_id] if args.key?(:advertised_id) + @telemetry = args[:telemetry] if args.key?(:telemetry) + @timestamp_ms = args[:timestamp_ms] if args.key?(:timestamp_ms) + end + end end end end diff --git a/generated/google/apis/proximitybeacon_v1beta1/representations.rb b/generated/google/apis/proximitybeacon_v1beta1/representations.rb index 361d21c15..5388dc894 100644 --- a/generated/google/apis/proximitybeacon_v1beta1/representations.rb +++ b/generated/google/apis/proximitybeacon_v1beta1/representations.rb @@ -22,61 +22,7 @@ module Google module Apis module ProximitybeaconV1beta1 - class ListNamespacesResponse - 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 ListBeaconsResponse - 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 Empty - 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 EphemeralIdRegistration - 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 ListBeaconAttachmentsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Namespace + class AdvertisedId class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -88,49 +34,19 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class BeaconInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class EphemeralIdRegistrationParams - 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 Observation - 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 GetInfoForObservedBeaconsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Beacon class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class AdvertisedId + class BeaconAttachment + 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 @@ -142,98 +58,101 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class DeleteAttachmentsResponse + 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 Empty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EphemeralIdRegistration + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EphemeralIdRegistrationParams + 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 GetInfoForObservedBeaconsResponse + 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 ListNamespacesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :namespaces, as: 'namespaces', class: Google::Apis::ProximitybeaconV1beta1::Namespace, decorator: Google::Apis::ProximitybeaconV1beta1::Namespace::Representation - - end - end - - class Diagnostics - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :estimated_low_battery_date, as: 'estimatedLowBatteryDate', class: Google::Apis::ProximitybeaconV1beta1::Date, decorator: Google::Apis::ProximitybeaconV1beta1::Date::Representation - - property :beacon_name, as: 'beaconName' - collection :alerts, as: 'alerts' - end - end - - class ListBeaconsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - property :total_count, :numeric_string => true, as: 'totalCount' - collection :beacons, as: 'beacons', class: Google::Apis::ProximitybeaconV1beta1::Beacon, decorator: Google::Apis::ProximitybeaconV1beta1::Beacon::Representation - - end - end - - class GetInfoForObservedBeaconsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :observations, as: 'observations', class: Google::Apis::ProximitybeaconV1beta1::Observation, decorator: Google::Apis::ProximitybeaconV1beta1::Observation::Representation - - collection :namespaced_types, as: 'namespacedTypes' - end - end - - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class BeaconAttachment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :creation_time_ms, as: 'creationTimeMs' - property :attachment_name, as: 'attachmentName' - property :namespaced_type, as: 'namespacedType' - property :data, :base64 => true, as: 'data' - end - end - - class EphemeralIdRegistration - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :initial_clock_value, :numeric_string => true, as: 'initialClockValue' - property :beacon_ecdh_public_key, :base64 => true, as: 'beaconEcdhPublicKey' - property :rotation_period_exponent, as: 'rotationPeriodExponent' - property :service_ecdh_public_key, :base64 => true, as: 'serviceEcdhPublicKey' - property :beacon_identity_key, :base64 => true, as: 'beaconIdentityKey' - property :initial_eid, :base64 => true, as: 'initialEid' - end - end - class LatLng - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :longitude, as: 'longitude' - property :latitude, as: 'latitude' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListBeaconAttachmentsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :attachments, as: 'attachments', class: Google::Apis::ProximitybeaconV1beta1::BeaconAttachment, decorator: Google::Apis::ProximitybeaconV1beta1::BeaconAttachment::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport + end + + class ListBeaconsResponse + 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 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 Observation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AdvertisedId # @private class Representation < Google::Apis::Core::JsonRepresentation - property :namespace_name, as: 'namespaceName' - property :serving_visibility, as: 'servingVisibility' + property :id, :base64 => true, as: 'id' + property :type, as: 'type' end end @@ -245,14 +164,89 @@ module Google end end + class Beacon + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation + + property :beacon_name, as: 'beaconName' + property :description, as: 'description' + property :ephemeral_id_registration, as: 'ephemeralIdRegistration', class: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration, decorator: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration::Representation + + property :expected_stability, as: 'expectedStability' + property :indoor_level, as: 'indoorLevel', class: Google::Apis::ProximitybeaconV1beta1::IndoorLevel, decorator: Google::Apis::ProximitybeaconV1beta1::IndoorLevel::Representation + + property :lat_lng, as: 'latLng', class: Google::Apis::ProximitybeaconV1beta1::LatLng, decorator: Google::Apis::ProximitybeaconV1beta1::LatLng::Representation + + property :place_id, as: 'placeId' + hash :properties, as: 'properties' + property :provisioning_key, :base64 => true, as: 'provisioningKey' + property :status, as: 'status' + end + end + + class BeaconAttachment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :attachment_name, as: 'attachmentName' + property :creation_time_ms, as: 'creationTimeMs' + property :data, :base64 => true, as: 'data' + property :namespaced_type, as: 'namespacedType' + end + end + class BeaconInfo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :beacon_name, as: 'beaconName' - collection :attachments, as: 'attachments', class: Google::Apis::ProximitybeaconV1beta1::AttachmentInfo, decorator: Google::Apis::ProximitybeaconV1beta1::AttachmentInfo::Representation - property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation + collection :attachments, as: 'attachments', class: Google::Apis::ProximitybeaconV1beta1::AttachmentInfo, decorator: Google::Apis::ProximitybeaconV1beta1::AttachmentInfo::Representation + + property :beacon_name, as: 'beaconName' + end + end + + class Date + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :day, as: 'day' + property :month, as: 'month' + property :year, as: 'year' + end + end + + class DeleteAttachmentsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :num_deleted, as: 'numDeleted' + end + end + + class Diagnostics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :alerts, as: 'alerts' + property :beacon_name, as: 'beaconName' + property :estimated_low_battery_date, as: 'estimatedLowBatteryDate', class: Google::Apis::ProximitybeaconV1beta1::Date, decorator: Google::Apis::ProximitybeaconV1beta1::Date::Representation + + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class EphemeralIdRegistration + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :beacon_ecdh_public_key, :base64 => true, as: 'beaconEcdhPublicKey' + property :beacon_identity_key, :base64 => true, as: 'beaconIdentityKey' + property :initial_clock_value, :numeric_string => true, as: 'initialClockValue' + property :initial_eid, :base64 => true, as: 'initialEid' + property :rotation_period_exponent, as: 'rotationPeriodExponent' + property :service_ecdh_public_key, :base64 => true, as: 'serviceEcdhPublicKey' end end @@ -265,20 +259,53 @@ module Google end end - class DeleteAttachmentsResponse + class GetInfoForObservedBeaconsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :num_deleted, as: 'numDeleted' + collection :namespaced_types, as: 'namespacedTypes' + collection :observations, as: 'observations', class: Google::Apis::ProximitybeaconV1beta1::Observation, decorator: Google::Apis::ProximitybeaconV1beta1::Observation::Representation + end end - class Observation + class GetInfoForObservedBeaconsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :timestamp_ms, as: 'timestampMs' - property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation + collection :beacons, as: 'beacons', class: Google::Apis::ProximitybeaconV1beta1::BeaconInfo, decorator: Google::Apis::ProximitybeaconV1beta1::BeaconInfo::Representation - property :telemetry, :base64 => true, as: 'telemetry' + end + end + + class IndoorLevel + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class LatLng + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :latitude, as: 'latitude' + property :longitude, as: 'longitude' + end + end + + class ListBeaconAttachmentsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :attachments, as: 'attachments', class: Google::Apis::ProximitybeaconV1beta1::BeaconAttachment, decorator: Google::Apis::ProximitybeaconV1beta1::BeaconAttachment::Representation + + end + end + + class ListBeaconsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :beacons, as: 'beacons', class: Google::Apis::ProximitybeaconV1beta1::Beacon, decorator: Google::Apis::ProximitybeaconV1beta1::Beacon::Representation + + property :next_page_token, as: 'nextPageToken' + property :total_count, :numeric_string => true, as: 'totalCount' end end @@ -291,56 +318,29 @@ module Google end end - class GetInfoForObservedBeaconsResponse + class ListNamespacesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :beacons, as: 'beacons', class: Google::Apis::ProximitybeaconV1beta1::BeaconInfo, decorator: Google::Apis::ProximitybeaconV1beta1::BeaconInfo::Representation + collection :namespaces, as: 'namespaces', class: Google::Apis::ProximitybeaconV1beta1::Namespace, decorator: Google::Apis::ProximitybeaconV1beta1::Namespace::Representation end end - class Beacon + class Namespace # @private class Representation < Google::Apis::Core::JsonRepresentation - property :status, as: 'status' - property :indoor_level, as: 'indoorLevel', class: Google::Apis::ProximitybeaconV1beta1::IndoorLevel, decorator: Google::Apis::ProximitybeaconV1beta1::IndoorLevel::Representation + property :namespace_name, as: 'namespaceName' + property :serving_visibility, as: 'servingVisibility' + end + end - property :beacon_name, as: 'beaconName' - property :expected_stability, as: 'expectedStability' + class Observation + # @private + class Representation < Google::Apis::Core::JsonRepresentation property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation - property :provisioning_key, :base64 => true, as: 'provisioningKey' - property :ephemeral_id_registration, as: 'ephemeralIdRegistration', class: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration, decorator: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration::Representation - - property :lat_lng, as: 'latLng', class: Google::Apis::ProximitybeaconV1beta1::LatLng, decorator: Google::Apis::ProximitybeaconV1beta1::LatLng::Representation - - property :place_id, as: 'placeId' - property :description, as: 'description' - hash :properties, as: 'properties' - end - end - - class AdvertisedId - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, :base64 => true, as: 'id' - property :type, as: 'type' - end - end - - class Date - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :day, as: 'day' - property :year, as: 'year' - property :month, as: 'month' - end - end - - class IndoorLevel - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' + property :telemetry, :base64 => true, as: 'telemetry' + property :timestamp_ms, as: 'timestampMs' end end end diff --git a/generated/google/apis/proximitybeacon_v1beta1/service.rb b/generated/google/apis/proximitybeacon_v1beta1/service.rb index 1ff03767d..e82fb423c 100644 --- a/generated/google/apis/proximitybeacon_v1beta1/service.rb +++ b/generated/google/apis/proximitybeacon_v1beta1/service.rb @@ -81,117 +81,6 @@ module Google execute_or_queue_command(command, &block) end - # Lists all attachment namespaces owned by your Google Developers Console - # project. Attachment data associated with a beacon must include a - # namespaced type, and the namespace must be owned by your project. - # Authenticate using an [OAuth access token](https://developers.google.com/ - # identity/protocols/OAuth2) - # from a signed-in user with **viewer**, **Is owner** or **Can edit** - # permissions in the Google Developers Console project. - # @param [String] project_id - # The project id to list namespaces under. - # Optional. - # @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::ProximitybeaconV1beta1::ListNamespacesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse] - # - # @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_namespaces(project_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta1/namespaces', options) - command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse - command.query['projectId'] = project_id unless project_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 - - # Updates the information about the specified namespace. Only the namespace - # visibility can be updated. - # @param [String] namespace_name - # Resource name of this namespace. Namespaces names have the format: - # namespaces/namespace. - # @param [Google::Apis::ProximitybeaconV1beta1::Namespace] namespace_object - # @param [String] project_id - # The project id of the namespace to update. If the project id is not - # specified then the project making the request is used. The project id - # must match the project that owns the beacon. - # Optional. - # @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::ProximitybeaconV1beta1::Namespace] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProximitybeaconV1beta1::Namespace] - # - # @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_namespace(namespace_name, namespace_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v1beta1/{+namespaceName}', options) - command.request_representation = Google::Apis::ProximitybeaconV1beta1::Namespace::Representation - command.request_object = namespace_object - command.response_representation = Google::Apis::ProximitybeaconV1beta1::Namespace::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::Namespace - command.params['namespaceName'] = namespace_name unless namespace_name.nil? - command.query['projectId'] = project_id unless project_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 Proximity Beacon API's current public key and associated - # parameters used to initiate the Diffie-Hellman key exchange required to - # register a beacon that broadcasts the Eddystone-EID format. This key - # changes periodically; clients may cache it and re-use the same public key - # to provision and register multiple beacons. However, clients should be - # prepared to refresh this key when they encounter an error registering an - # Eddystone-EID beacon. - # @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::ProximitybeaconV1beta1::EphemeralIdRegistrationParams] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams] - # - # @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_eidparams(fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta1/eidparams', options) - command.response_representation = Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Activates a beacon. A beacon that is active will return information # and attachment data when queried via `beaconinfo.getforobserved`. # Calling this method on an already active beacon will do nothing (but @@ -241,18 +130,16 @@ module Google execute_or_queue_command(command, &block) end - # Returns detailed information about the specified beacon. + # Deactivates a beacon. Once deactivated, the API will not return + # information nor attachment data for the beacon when queried via + # `beaconinfo.getforobserved`. Calling this method on an already inactive + # beacon will do nothing (but will return a successful response code). # Authenticate using an [OAuth access token](https://developers.google.com/ # identity/protocols/OAuth2) - # from a signed-in user with **viewer**, **Is owner** or **Can edit** - # permissions in the Google Developers Console project. - # Requests may supply an Eddystone-EID beacon name in the form: - # `beacons/4!beaconId` where the `beaconId` is the base16 ephemeral ID - # broadcast by the beacon. The returned `Beacon` object will contain the - # beacon's stable Eddystone-UID. Clients not authorized to resolve the - # beacon's ephemeral Eddystone-EID broadcast will receive an error. + # from a signed-in user with **Is owner** or **Can edit** permissions in the + # Google Developers Console project. # @param [String] beacon_name - # Resource name of this beacon. A beacon name has the format + # Beacon that should be deactivated. A beacon name has the format # "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by # the beacon and N is a code for the beacon's type. Possible values are # `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` @@ -260,9 +147,9 @@ module Google # current EID or the beacon's "stable" UID. # Required. # @param [String] project_id - # The project id of the beacon to request. If the project id is not specified - # then the project making the request is used. The project id must match the - # project that owns the beacon. + # The project id of the beacon to deactivate. If the project id is not + # specified then the project making the request is used. The project id must + # match the project that owns the beacon. # Optional. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -273,72 +160,18 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Beacon] parsed result object + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Empty] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::ProximitybeaconV1beta1::Beacon] + # @return [Google::Apis::ProximitybeaconV1beta1::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 get_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta1/{+beaconName}', options) - command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon - command.params['beaconName'] = beacon_name unless beacon_name.nil? - command.query['projectId'] = project_id unless project_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 - - # Updates the information about the specified beacon. **Any field that you do - # not populate in the submitted beacon will be permanently erased**, so you - # should follow the "read, modify, write" pattern to avoid inadvertently - # destroying data. - # Changes to the beacon status via this method will be silently ignored. - # To update beacon status, use the separate methods on this API for - # activation, deactivation, and decommissioning. - # Authenticate using an [OAuth access token](https://developers.google.com/ - # identity/protocols/OAuth2) - # from a signed-in user with **Is owner** or **Can edit** permissions in the - # Google Developers Console project. - # @param [String] beacon_name - # Resource name of this beacon. A beacon name has the format - # "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by - # the beacon and N is a code for the beacon's type. Possible values are - # `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon. - # This field must be left empty when registering. After reading a beacon, - # clients can use the name for future operations. - # @param [Google::Apis::ProximitybeaconV1beta1::Beacon] beacon_object - # @param [String] project_id - # The project id of the beacon to update. If the project id is not - # specified then the project making the request is used. The project id - # must match the project that owns the beacon. - # Optional. - # @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::ProximitybeaconV1beta1::Beacon] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProximitybeaconV1beta1::Beacon] - # - # @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_beacon(beacon_name, beacon_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v1beta1/{+beaconName}', options) - command.request_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation - command.request_object = beacon_object - command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon + def deactivate_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+beaconName}:deactivate', options) + command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty command.params['beaconName'] = beacon_name unless beacon_name.nil? command.query['projectId'] = project_id unless project_id.nil? command.query['fields'] = fields unless fields.nil? @@ -442,16 +275,18 @@ module Google execute_or_queue_command(command, &block) end - # Deactivates a beacon. Once deactivated, the API will not return - # information nor attachment data for the beacon when queried via - # `beaconinfo.getforobserved`. Calling this method on an already inactive - # beacon will do nothing (but will return a successful response code). + # Returns detailed information about the specified beacon. # Authenticate using an [OAuth access token](https://developers.google.com/ # identity/protocols/OAuth2) - # from a signed-in user with **Is owner** or **Can edit** permissions in the - # Google Developers Console project. + # from a signed-in user with **viewer**, **Is owner** or **Can edit** + # permissions in the Google Developers Console project. + # Requests may supply an Eddystone-EID beacon name in the form: + # `beacons/4!beaconId` where the `beaconId` is the base16 ephemeral ID + # broadcast by the beacon. The returned `Beacon` object will contain the + # beacon's stable Eddystone-UID. Clients not authorized to resolve the + # beacon's ephemeral Eddystone-EID broadcast will receive an error. # @param [String] beacon_name - # Beacon that should be deactivated. A beacon name has the format + # Resource name of this beacon. A beacon name has the format # "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by # the beacon and N is a code for the beacon's type. Possible values are # `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` @@ -459,49 +294,9 @@ module Google # current EID or the beacon's "stable" UID. # Required. # @param [String] project_id - # The project id of the beacon to deactivate. If the project id is not - # specified then the project making the request is used. The project id must - # match the project that owns the beacon. - # Optional. - # @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::ProximitybeaconV1beta1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProximitybeaconV1beta1::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 deactivate_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/{+beaconName}:deactivate', options) - command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty - command.params['beaconName'] = beacon_name unless beacon_name.nil? - command.query['projectId'] = project_id unless project_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 - - # Registers a previously unregistered beacon given its `advertisedId`. - # These IDs are unique within the system. An ID can be registered only once. - # Authenticate using an [OAuth access token](https://developers.google.com/ - # identity/protocols/OAuth2) - # from a signed-in user with **Is owner** or **Can edit** permissions in the - # Google Developers Console project. - # @param [Google::Apis::ProximitybeaconV1beta1::Beacon] beacon_object - # @param [String] project_id - # The project id of the project the beacon will be registered to. If - # the project id is not specified then the project making the request - # is used. + # The project id of the beacon to request. If the project id is not specified + # then the project making the request is used. The project id must match the + # project that owns the beacon. # Optional. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -520,12 +315,11 @@ 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 register_beacon(beacon_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/beacons:register', options) - command.request_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation - command.request_object = beacon_object + def get_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+beaconName}', options) command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon + command.params['beaconName'] = beacon_name unless beacon_name.nil? command.query['projectId'] = project_id unless project_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -539,11 +333,15 @@ module Google # identity/protocols/OAuth2) # from a signed-in user with **viewer**, **Is owner** or **Can edit** # permissions in the Google Developers Console project. - # @param [String] page_token - # A pagination token obtained from a previous request to list beacons. # @param [Fixnum] page_size # The maximum number of records to return for this request, up to a # server-defined upper limit. + # @param [String] page_token + # A pagination token obtained from a previous request to list beacons. + # @param [String] project_id + # The project id to list beacons under. If not present then the project + # credential that made the request is used as the project. + # Optional. # @param [String] q # Filter query string that supports the following field filters: # * **description:`""`** @@ -608,10 +406,6 @@ module Google # be URL-encoded. # Example REST request: # `GET /v1beta1/beacons?q=status:active%20lat:51.123%20lng:-1.095%20radius:1000` - # @param [String] project_id - # The project id to list beacons under. If not present then the project - # credential that made the request is used as the project. - # Optional. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -629,38 +423,30 @@ 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_beacons(page_token: nil, page_size: nil, q: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_beacons(page_size: nil, page_token: nil, project_id: nil, q: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/beacons', options) command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse::Representation command.response_class = Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['q'] = q unless q.nil? + command.query['pageToken'] = page_token unless page_token.nil? command.query['projectId'] = project_id unless project_id.nil? + command.query['q'] = q unless q.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 specified attachment for the given beacon. Each attachment has - # a unique attachment name (`attachmentName`) which is returned when you - # fetch the attachment data via this API. You specify this with the delete - # request to control which attachment is removed. This operation cannot be - # undone. + # Registers a previously unregistered beacon given its `advertisedId`. + # These IDs are unique within the system. An ID can be registered only once. # Authenticate using an [OAuth access token](https://developers.google.com/ # identity/protocols/OAuth2) # from a signed-in user with **Is owner** or **Can edit** permissions in the # Google Developers Console project. - # @param [String] attachment_name - # The attachment name (`attachmentName`) of - # the attachment to remove. For example: - # `beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738`. For - # Eddystone-EID beacons, the beacon ID portion (`3!893737abc9`) may be the - # beacon's current EID, or its "stable" Eddystone-UID. - # Required. + # @param [Google::Apis::ProximitybeaconV1beta1::Beacon] beacon_object # @param [String] project_id - # The project id of the attachment to delete. If not provided, the project - # that is making the request is used. + # The project id of the project the beacon will be registered to. If + # the project id is not specified then the project making the request + # is used. # Optional. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -671,53 +457,49 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Empty] parsed result object + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Beacon] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::ProximitybeaconV1beta1::Empty] + # @return [Google::Apis::ProximitybeaconV1beta1::Beacon] # # @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_beacon_attachment(attachment_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1beta1/{+attachmentName}', options) - command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty - command.params['attachmentName'] = attachment_name unless attachment_name.nil? + def register_beacon(beacon_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/beacons:register', options) + command.request_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation + command.request_object = beacon_object + command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon command.query['projectId'] = project_id unless project_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 - # Returns the attachments for the specified beacon that match the specified - # namespaced-type pattern. - # To control which namespaced types are returned, you add the - # `namespacedType` query parameter to the request. You must either use - # `*/*`, to return all attachments, or the namespace must be one of - # the ones returned from the `namespaces` endpoint. + # Updates the information about the specified beacon. **Any field that you do + # not populate in the submitted beacon will be permanently erased**, so you + # should follow the "read, modify, write" pattern to avoid inadvertently + # destroying data. + # Changes to the beacon status via this method will be silently ignored. + # To update beacon status, use the separate methods on this API for + # activation, deactivation, and decommissioning. # Authenticate using an [OAuth access token](https://developers.google.com/ # identity/protocols/OAuth2) - # from a signed-in user with **viewer**, **Is owner** or **Can edit** - # permissions in the Google Developers Console project. + # from a signed-in user with **Is owner** or **Can edit** permissions in the + # Google Developers Console project. # @param [String] beacon_name - # Beacon whose attachments should be fetched. A beacon name has the - # format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast - # by the beacon and N is a code for the beacon's type. Possible values are - # `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` - # for AltBeacon. For Eddystone-EID beacons, you may use either the - # current EID or the beacon's "stable" UID. - # Required. - # @param [String] namespaced_type - # Specifies the namespace and type of attachment to include in response in - # namespace/type format. Accepts `*/*` to specify - # "all types in all namespaces". + # Resource name of this beacon. A beacon name has the format + # "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by + # the beacon and N is a code for the beacon's type. Possible values are + # `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon. + # This field must be left empty when registering. After reading a beacon, + # clients can use the name for future operations. + # @param [Google::Apis::ProximitybeaconV1beta1::Beacon] beacon_object # @param [String] project_id - # The project id to list beacon attachments under. This field can be - # used when "*" is specified to mean all attachment namespaces. Projects - # may have multiple attachments with multiple namespaces. If "*" is - # specified and the projectId string is empty, then the project - # making the request is used. + # The project id of the beacon to update. If the project id is not + # specified then the project making the request is used. The project id + # must match the project that owns the beacon. # Optional. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -728,20 +510,21 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse] parsed result object + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Beacon] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse] + # @return [Google::Apis::ProximitybeaconV1beta1::Beacon] # # @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_beacon_attachments(beacon_name, namespaced_type: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta1/{+beaconName}/attachments', options) - command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse + def update_beacon(beacon_name, beacon_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v1beta1/{+beaconName}', options) + command.request_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation + command.request_object = beacon_object + command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon command.params['beaconName'] = beacon_name unless beacon_name.nil? - command.query['namespacedType'] = namespaced_type unless namespaced_type.nil? command.query['projectId'] = project_id unless project_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -866,6 +649,112 @@ module Google execute_or_queue_command(command, &block) end + # Deletes the specified attachment for the given beacon. Each attachment has + # a unique attachment name (`attachmentName`) which is returned when you + # fetch the attachment data via this API. You specify this with the delete + # request to control which attachment is removed. This operation cannot be + # undone. + # Authenticate using an [OAuth access token](https://developers.google.com/ + # identity/protocols/OAuth2) + # from a signed-in user with **Is owner** or **Can edit** permissions in the + # Google Developers Console project. + # @param [String] attachment_name + # The attachment name (`attachmentName`) of + # the attachment to remove. For example: + # `beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738`. For + # Eddystone-EID beacons, the beacon ID portion (`3!893737abc9`) may be the + # beacon's current EID, or its "stable" Eddystone-UID. + # Required. + # @param [String] project_id + # The project id of the attachment to delete. If not provided, the project + # that is making the request is used. + # Optional. + # @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::ProximitybeaconV1beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::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_beacon_attachment(attachment_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1beta1/{+attachmentName}', options) + command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty + command.params['attachmentName'] = attachment_name unless attachment_name.nil? + command.query['projectId'] = project_id unless project_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 + + # Returns the attachments for the specified beacon that match the specified + # namespaced-type pattern. + # To control which namespaced types are returned, you add the + # `namespacedType` query parameter to the request. You must either use + # `*/*`, to return all attachments, or the namespace must be one of + # the ones returned from the `namespaces` endpoint. + # Authenticate using an [OAuth access token](https://developers.google.com/ + # identity/protocols/OAuth2) + # from a signed-in user with **viewer**, **Is owner** or **Can edit** + # permissions in the Google Developers Console project. + # @param [String] beacon_name + # Beacon whose attachments should be fetched. A beacon name has the + # format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast + # by the beacon and N is a code for the beacon's type. Possible values are + # `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` + # for AltBeacon. For Eddystone-EID beacons, you may use either the + # current EID or the beacon's "stable" UID. + # Required. + # @param [String] namespaced_type + # Specifies the namespace and type of attachment to include in response in + # namespace/type format. Accepts `*/*` to specify + # "all types in all namespaces". + # @param [String] project_id + # The project id to list beacon attachments under. This field can be + # used when "*" is specified to mean all attachment namespaces. Projects + # may have multiple attachments with multiple namespaces. If "*" is + # specified and the projectId string is empty, then the project + # making the request is used. + # Optional. + # @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::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse] + # + # @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_beacon_attachments(beacon_name, namespaced_type: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+beaconName}/attachments', options) + command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse + command.params['beaconName'] = beacon_name unless beacon_name.nil? + command.query['namespacedType'] = namespaced_type unless namespaced_type.nil? + command.query['projectId'] = project_id unless project_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 + # List the diagnostics for a single beacon. You can also list diagnostics for # all the beacons owned by your Google Developers Console project by using # the beacon name `beacons/-`. @@ -881,13 +770,13 @@ module Google # @param [Fixnum] page_size # Specifies the maximum number of results to return. Defaults to # 10. Maximum 1000. Optional. + # @param [String] page_token + # Requests results that occur after the `page_token`, obtained from the + # response to a previous request. Optional. # @param [String] project_id # Requests only diagnostic records for the given project id. If not set, # then the project making the request will be used for looking up # diagnostic records. Optional. - # @param [String] page_token - # Requests results that occur after the `page_token`, obtained from the - # response to a previous request. Optional. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -905,15 +794,126 @@ 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_beacon_diagnostics(beacon_name, alert_filter: nil, page_size: nil, project_id: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_beacon_diagnostics(beacon_name, alert_filter: nil, page_size: nil, page_token: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+beaconName}/diagnostics', options) command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse::Representation command.response_class = Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse command.params['beaconName'] = beacon_name unless beacon_name.nil? command.query['alertFilter'] = alert_filter unless alert_filter.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['projectId'] = project_id unless project_id.nil? command.query['pageToken'] = page_token unless page_token.nil? + command.query['projectId'] = project_id unless project_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 all attachment namespaces owned by your Google Developers Console + # project. Attachment data associated with a beacon must include a + # namespaced type, and the namespace must be owned by your project. + # Authenticate using an [OAuth access token](https://developers.google.com/ + # identity/protocols/OAuth2) + # from a signed-in user with **viewer**, **Is owner** or **Can edit** + # permissions in the Google Developers Console project. + # @param [String] project_id + # The project id to list namespaces under. + # Optional. + # @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::ProximitybeaconV1beta1::ListNamespacesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse] + # + # @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_namespaces(project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/namespaces', options) + command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse + command.query['projectId'] = project_id unless project_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 + + # Updates the information about the specified namespace. Only the namespace + # visibility can be updated. + # @param [String] namespace_name + # Resource name of this namespace. Namespaces names have the format: + # namespaces/namespace. + # @param [Google::Apis::ProximitybeaconV1beta1::Namespace] namespace_object + # @param [String] project_id + # The project id of the namespace to update. If the project id is not + # specified then the project making the request is used. The project id + # must match the project that owns the beacon. + # Optional. + # @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::ProximitybeaconV1beta1::Namespace] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::Namespace] + # + # @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_namespace(namespace_name, namespace_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v1beta1/{+namespaceName}', options) + command.request_representation = Google::Apis::ProximitybeaconV1beta1::Namespace::Representation + command.request_object = namespace_object + command.response_representation = Google::Apis::ProximitybeaconV1beta1::Namespace::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::Namespace + command.params['namespaceName'] = namespace_name unless namespace_name.nil? + command.query['projectId'] = project_id unless project_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 Proximity Beacon API's current public key and associated + # parameters used to initiate the Diffie-Hellman key exchange required to + # register a beacon that broadcasts the Eddystone-EID format. This key + # changes periodically; clients may cache it and re-use the same public key + # to provision and register multiple beacons. However, clients should be + # prepared to refresh this key when they encounter an error registering an + # Eddystone-EID beacon. + # @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::ProximitybeaconV1beta1::EphemeralIdRegistrationParams] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams] + # + # @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_eidparams(fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/eidparams', options) + command.response_representation = Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/pubsub_v1.rb b/generated/google/apis/pubsub_v1.rb index e9cecc8db..89bc4dbc0 100644 --- a/generated/google/apis/pubsub_v1.rb +++ b/generated/google/apis/pubsub_v1.rb @@ -25,13 +25,13 @@ module Google # @see https://cloud.google.com/pubsub/docs module PubsubV1 VERSION = 'V1' - REVISION = '20170622' - - # View and manage Pub/Sub topics and subscriptions - AUTH_PUBSUB = 'https://www.googleapis.com/auth/pubsub' + REVISION = '20170607' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + + # View and manage Pub/Sub topics and subscriptions + AUTH_PUBSUB = 'https://www.googleapis.com/auth/pubsub' end end end diff --git a/generated/google/apis/pubsub_v1/classes.rb b/generated/google/apis/pubsub_v1/classes.rb index 90a0a9c9a..05a1ea058 100644 --- a/generated/google/apis/pubsub_v1/classes.rb +++ b/generated/google/apis/pubsub_v1/classes.rb @@ -22,16 +22,15 @@ module Google module Apis module PubsubV1 - # Response for the `Publish` method. - class PublishResponse + # Request for the Acknowledge method. + class AcknowledgeRequest include Google::Apis::Core::Hashable - # The server-assigned ID of each published message, in the same order as - # the messages in the request. IDs are guaranteed to be unique within - # the topic. - # Corresponds to the JSON property `messageIds` + # The acknowledgment ID for the messages being acknowledged that was returned + # by the Pub/Sub system in the `Pull` response. Must not be empty. + # Corresponds to the JSON property `ackIds` # @return [Array] - attr_accessor :message_ids + attr_accessor :ack_ids def initialize(**args) update!(**args) @@ -39,89 +38,196 @@ module Google # Update properties of this object def update!(**args) - @message_ids = args[:message_ids] if args.key?(:message_ids) + @ack_ids = args[:ack_ids] if args.key?(:ack_ids) end end - # A subscription resource. - class Subscription + # Associates `members` with a `role`. + class Binding include Google::Apis::Core::Hashable - # The name of the topic from which this subscription is receiving messages. - # Format is `projects/`project`/topics/`topic``. - # The value of this field will be `_deleted-topic_` if the topic has been - # deleted. - # Corresponds to the JSON property `topic` + # Specifies the identities requesting access for a Cloud Platform resource. + # `members` can have the following values: + # * `allUsers`: A special identifier that represents anyone who is + # on the internet; with or without a Google account. + # * `allAuthenticatedUsers`: A special identifier that represents anyone + # who is authenticated with a Google account or a service account. + # * `user:`emailid``: An email address that represents a specific Google + # account. For example, `alice@gmail.com` or `joe@example.com`. + # * `serviceAccount:`emailid``: An email address that represents a service + # account. For example, `my-other-app@appspot.gserviceaccount.com`. + # * `group:`emailid``: An email address that represents a Google group. + # For example, `admins@example.com`. + # * `domain:`domain``: A Google Apps domain name that represents all the + # users of that domain. For example, `google.com` or `example.com`. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members + + # Role that is assigned to `members`. + # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + # Required + # Corresponds to the JSON property `role` # @return [String] - attr_accessor :topic + attr_accessor :role + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @members = args[:members] if args.key?(:members) + @role = args[:role] if args.key?(:role) + 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 + + # Response for the `ListSubscriptions` method. + class ListSubscriptionsResponse + include Google::Apis::Core::Hashable + + # If not empty, indicates that there may be more subscriptions that match + # the request; this value should be passed in a new + # `ListSubscriptionsRequest` to get more subscriptions. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The subscriptions that match the request. + # Corresponds to the JSON property `subscriptions` + # @return [Array] + attr_accessor :subscriptions + + 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) + @subscriptions = args[:subscriptions] if args.key?(:subscriptions) + end + end + + # Response for the `ListTopicSubscriptions` method. + class ListTopicSubscriptionsResponse + include Google::Apis::Core::Hashable + + # If not empty, indicates that there may be more subscriptions that match + # the request; this value should be passed in a new + # `ListTopicSubscriptionsRequest` to get more subscriptions. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The names of the subscriptions that match the request. + # Corresponds to the JSON property `subscriptions` + # @return [Array] + attr_accessor :subscriptions + + 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) + @subscriptions = args[:subscriptions] if args.key?(:subscriptions) + end + end + + # Response for the `ListTopics` method. + class ListTopicsResponse + include Google::Apis::Core::Hashable + + # If not empty, indicates that there may be more topics that match the + # request; this value should be passed in a new `ListTopicsRequest`. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The resulting topics. + # Corresponds to the JSON property `topics` + # @return [Array] + attr_accessor :topics + + 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) + @topics = args[:topics] if args.key?(:topics) + end + end + + # Request for the ModifyAckDeadline method. + class ModifyAckDeadlineRequest + include Google::Apis::Core::Hashable + + # The new ack deadline with respect to the time this request was sent to + # the Pub/Sub system. For example, if the value is 10, the new + # ack deadline will expire 10 seconds after the `ModifyAckDeadline` call + # was made. Specifying zero may immediately make the message available for + # another pull request. + # The minimum deadline you can specify is 0 seconds. + # The maximum deadline you can specify is 600 seconds (10 minutes). + # Corresponds to the JSON property `ackDeadlineSeconds` + # @return [Fixnum] + attr_accessor :ack_deadline_seconds + + # List of acknowledgment IDs. + # Corresponds to the JSON property `ackIds` + # @return [Array] + attr_accessor :ack_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds) + @ack_ids = args[:ack_ids] if args.key?(:ack_ids) + end + end + + # Request for the ModifyPushConfig method. + class ModifyPushConfigRequest + include Google::Apis::Core::Hashable # Configuration for a push delivery endpoint. # Corresponds to the JSON property `pushConfig` # @return [Google::Apis::PubsubV1::PushConfig] attr_accessor :push_config - # This value is the maximum time after a subscriber receives a message - # before the subscriber should acknowledge the message. After message - # delivery but before the ack deadline expires and before the message is - # acknowledged, it is an outstanding message and will not be delivered - # again during that time (on a best-effort basis). - # For pull subscriptions, this value is used as the initial value for the ack - # deadline. To override this value for a given message, call - # `ModifyAckDeadline` with the corresponding `ack_id` if using - # pull. - # The minimum custom deadline you can specify is 10 seconds. - # The maximum custom deadline you can specify is 600 seconds (10 minutes). - # If this parameter is 0, a default value of 10 seconds is used. - # For push delivery, this value is also used to set the request timeout for - # the call to the push endpoint. - # If the subscriber never acknowledges the message, the Pub/Sub - # system will eventually redeliver the message. - # Corresponds to the JSON property `ackDeadlineSeconds` - # @return [Fixnum] - attr_accessor :ack_deadline_seconds - - # The name of the subscription. It must have the format - # `"projects/`project`/subscriptions/`subscription`"`. ``subscription`` must - # start with a letter, and contain only letters (`[A-Za-z]`), numbers - # (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), - # plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters - # in length, and it must not start with `"goog"`. - # 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) - @topic = args[:topic] if args.key?(:topic) @push_config = args[:push_config] if args.key?(:push_config) - @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds) - @name = args[:name] if args.key?(:name) - end - end - - # Request message for `TestIamPermissions` method. - class TestIamPermissionsRequest - include Google::Apis::Core::Hashable - - # The set of permissions to check for the `resource`. Permissions with - # wildcards (such as '*' or 'storage.*') are not allowed. For more - # information see - # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) end end @@ -154,6 +260,12 @@ module Google class Policy include Google::Apis::Core::Hashable + # Associates a list of `members` to a `role`. + # `bindings` with no members will result in an error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + # `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 @@ -173,37 +285,26 @@ module Google # @return [Fixnum] attr_accessor :version - # Associates a list of `members` to a `role`. - # `bindings` with no members will result in an error. - # Corresponds to the JSON property `bindings` - # @return [Array] - attr_accessor :bindings - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @bindings = args[:bindings] if args.key?(:bindings) @etag = args[:etag] if args.key?(:etag) @version = args[:version] if args.key?(:version) - @bindings = args[:bindings] if args.key?(:bindings) end end - # A topic resource. - class Topic + # Request for the Publish method. + class PublishRequest include Google::Apis::Core::Hashable - # The name of the topic. It must have the format - # `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter, - # and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), - # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent - # signs (`%`). It must be between 3 and 255 characters in length, and it - # must not start with `"goog"`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name + # The messages to publish. + # Corresponds to the JSON property `messages` + # @return [Array] + attr_accessor :messages def initialize(**args) update!(**args) @@ -211,29 +312,20 @@ module Google # Update properties of this object def update!(**args) - @name = args[:name] if args.key?(:name) + @messages = args[:messages] if args.key?(:messages) end end - # Request for the ModifyAckDeadline method. - class ModifyAckDeadlineRequest + # Response for the `Publish` method. + class PublishResponse include Google::Apis::Core::Hashable - # The new ack deadline with respect to the time this request was sent to - # the Pub/Sub system. For example, if the value is 10, the new - # ack deadline will expire 10 seconds after the `ModifyAckDeadline` call - # was made. Specifying zero may immediately make the message available for - # another pull request. - # The minimum deadline you can specify is 0 seconds. - # The maximum deadline you can specify is 600 seconds (10 minutes). - # Corresponds to the JSON property `ackDeadlineSeconds` - # @return [Fixnum] - attr_accessor :ack_deadline_seconds - - # List of acknowledgment IDs. - # Corresponds to the JSON property `ackIds` + # The server-assigned ID of each published message, in the same order as + # the messages in the request. IDs are guaranteed to be unique within + # the topic. + # Corresponds to the JSON property `messageIds` # @return [Array] - attr_accessor :ack_ids + attr_accessor :message_ids def initialize(**args) update!(**args) @@ -241,8 +333,172 @@ module Google # Update properties of this object def update!(**args) - @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds) - @ack_ids = args[:ack_ids] if args.key?(:ack_ids) + @message_ids = args[:message_ids] if args.key?(:message_ids) + end + end + + # A message data and its attributes. The message payload must not be empty; + # it must contain either a non-empty data field, or at least one attribute. + class Message + include Google::Apis::Core::Hashable + + # Optional attributes for this message. + # Corresponds to the JSON property `attributes` + # @return [Hash] + attr_accessor :attributes + + # The message payload. + # Corresponds to the JSON property `data` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :data + + # ID of this message, assigned by the server when the message is published. + # Guaranteed to be unique within the topic. This value may be read by a + # subscriber that receives a `PubsubMessage` via a `Pull` call or a push + # delivery. It must not be populated by the publisher in a `Publish` call. + # Corresponds to the JSON property `messageId` + # @return [String] + attr_accessor :message_id + + # The time at which the message was published, populated by the server when + # it receives the `Publish` call. It must not be populated by the + # publisher in a `Publish` call. + # Corresponds to the JSON property `publishTime` + # @return [String] + attr_accessor :publish_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attributes = args[:attributes] if args.key?(:attributes) + @data = args[:data] if args.key?(:data) + @message_id = args[:message_id] if args.key?(:message_id) + @publish_time = args[:publish_time] if args.key?(:publish_time) + end + end + + # Request for the `Pull` method. + class PullRequest + include Google::Apis::Core::Hashable + + # The maximum number of messages returned for this request. The Pub/Sub + # system may return fewer than the number specified. + # Corresponds to the JSON property `maxMessages` + # @return [Fixnum] + attr_accessor :max_messages + + # If this field set to true, the system will respond immediately even if + # it there are no messages available to return in the `Pull` response. + # Otherwise, the system may wait (for a bounded amount of time) until at + # least one message is available, rather than returning no messages. The + # client may cancel the request if it does not wish to wait any longer for + # the response. + # Corresponds to the JSON property `returnImmediately` + # @return [Boolean] + attr_accessor :return_immediately + alias_method :return_immediately?, :return_immediately + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @max_messages = args[:max_messages] if args.key?(:max_messages) + @return_immediately = args[:return_immediately] if args.key?(:return_immediately) + end + end + + # Response for the `Pull` method. + class PullResponse + include Google::Apis::Core::Hashable + + # Received Pub/Sub messages. The Pub/Sub system will return zero messages if + # there are no more available in the backlog. The Pub/Sub system may return + # fewer than the `maxMessages` requested even if there are more messages + # available in the backlog. + # Corresponds to the JSON property `receivedMessages` + # @return [Array] + attr_accessor :received_messages + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @received_messages = args[:received_messages] if args.key?(:received_messages) + end + end + + # Configuration for a push delivery endpoint. + class PushConfig + include Google::Apis::Core::Hashable + + # Endpoint configuration attributes. + # Every endpoint has a set of API supported attributes that can be used to + # control different aspects of the message delivery. + # The currently supported attribute is `x-goog-version`, which you can + # use to change the format of the pushed message. This attribute + # indicates the version of the data expected by the endpoint. This + # controls the shape of the pushed message (i.e., its fields and metadata). + # The endpoint version is based on the version of the Pub/Sub API. + # If not present during the `CreateSubscription` call, it will default to + # the version of the API used to make such call. If not present during a + # `ModifyPushConfig` call, its value will not be changed. `GetSubscription` + # calls will always return a valid version, even if the subscription was + # created without this attribute. + # The possible values for this attribute are: + # * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. + # * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API. + # Corresponds to the JSON property `attributes` + # @return [Hash] + attr_accessor :attributes + + # A URL locating the endpoint to which messages should be pushed. + # For example, a Webhook endpoint might use "https://example.com/push". + # Corresponds to the JSON property `pushEndpoint` + # @return [String] + attr_accessor :push_endpoint + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attributes = args[:attributes] if args.key?(:attributes) + @push_endpoint = args[:push_endpoint] if args.key?(:push_endpoint) + end + end + + # A message and its corresponding acknowledgment ID. + class ReceivedMessage + include Google::Apis::Core::Hashable + + # This ID can be used to acknowledge the received message. + # Corresponds to the JSON property `ackId` + # @return [String] + attr_accessor :ack_id + + # A message data and its attributes. The message payload must not be empty; + # it must contain either a non-empty data field, or at least one attribute. + # Corresponds to the JSON property `message` + # @return [Google::Apis::PubsubV1::Message] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ack_id = args[:ack_id] if args.key?(:ack_id) + @message = args[:message] if args.key?(:message) end end @@ -290,97 +546,77 @@ module Google end end - # Request for the ModifyPushConfig method. - class ModifyPushConfigRequest + # A subscription resource. + class Subscription include Google::Apis::Core::Hashable + # This value is the maximum time after a subscriber receives a message + # before the subscriber should acknowledge the message. After message + # delivery but before the ack deadline expires and before the message is + # acknowledged, it is an outstanding message and will not be delivered + # again during that time (on a best-effort basis). + # For pull subscriptions, this value is used as the initial value for the ack + # deadline. To override this value for a given message, call + # `ModifyAckDeadline` with the corresponding `ack_id` if using + # pull. + # The minimum custom deadline you can specify is 10 seconds. + # The maximum custom deadline you can specify is 600 seconds (10 minutes). + # If this parameter is 0, a default value of 10 seconds is used. + # For push delivery, this value is also used to set the request timeout for + # the call to the push endpoint. + # If the subscriber never acknowledges the message, the Pub/Sub + # system will eventually redeliver the message. + # Corresponds to the JSON property `ackDeadlineSeconds` + # @return [Fixnum] + attr_accessor :ack_deadline_seconds + + # The name of the subscription. It must have the format + # `"projects/`project`/subscriptions/`subscription`"`. ``subscription`` must + # start with a letter, and contain only letters (`[A-Za-z]`), numbers + # (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), + # plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters + # in length, and it must not start with `"goog"`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + # Configuration for a push delivery endpoint. # Corresponds to the JSON property `pushConfig` # @return [Google::Apis::PubsubV1::PushConfig] attr_accessor :push_config + # The name of the topic from which this subscription is receiving messages. + # Format is `projects/`project`/topics/`topic``. + # The value of this field will be `_deleted-topic_` if the topic has been + # deleted. + # Corresponds to the JSON property `topic` + # @return [String] + attr_accessor :topic + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds) + @name = args[:name] if args.key?(:name) @push_config = args[:push_config] if args.key?(:push_config) + @topic = args[:topic] if args.key?(:topic) end end - # A message data and its attributes. The message payload must not be empty; - # it must contain either a non-empty data field, or at least one attribute. - class Message + # Request message for `TestIamPermissions` method. + class TestIamPermissionsRequest include Google::Apis::Core::Hashable - # ID of this message, assigned by the server when the message is published. - # Guaranteed to be unique within the topic. This value may be read by a - # subscriber that receives a `PubsubMessage` via a `Pull` call or a push - # delivery. It must not be populated by the publisher in a `Publish` call. - # Corresponds to the JSON property `messageId` - # @return [String] - attr_accessor :message_id - - # Optional attributes for this message. - # Corresponds to the JSON property `attributes` - # @return [Hash] - attr_accessor :attributes - - # The time at which the message was published, populated by the server when - # it receives the `Publish` call. It must not be populated by the - # publisher in a `Publish` call. - # Corresponds to the JSON property `publishTime` - # @return [String] - attr_accessor :publish_time - - # The message payload. - # Corresponds to the JSON property `data` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :data - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @message_id = args[:message_id] if args.key?(:message_id) - @attributes = args[:attributes] if args.key?(:attributes) - @publish_time = args[:publish_time] if args.key?(:publish_time) - @data = args[:data] if args.key?(:data) - end - end - - # Associates `members` with a `role`. - class Binding - include Google::Apis::Core::Hashable - - # Role that is assigned to `members`. - # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. - # Required - # Corresponds to the JSON property `role` - # @return [String] - attr_accessor :role - - # Specifies the identities requesting access for a Cloud Platform resource. - # `members` can have the following values: - # * `allUsers`: A special identifier that represents anyone who is - # on the internet; with or without a Google account. - # * `allAuthenticatedUsers`: A special identifier that represents anyone - # who is authenticated with a Google account or a service account. - # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@gmail.com` or `joe@example.com`. - # * `serviceAccount:`emailid``: An email address that represents a service - # account. For example, `my-other-app@appspot.gserviceaccount.com`. - # * `group:`emailid``: An email address that represents a Google group. - # For example, `admins@example.com`. - # * `domain:`domain``: A Google Apps domain name that represents all the - # users of that domain. For example, `google.com` or `example.com`. - # Corresponds to the JSON property `members` + # The set of permissions to check for the `resource`. Permissions with + # wildcards (such as '*' or 'storage.*') are not allowed. For more + # information see + # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + # Corresponds to the JSON property `permissions` # @return [Array] - attr_accessor :members + attr_accessor :permissions def initialize(**args) update!(**args) @@ -388,189 +624,7 @@ module Google # Update properties of this object def update!(**args) - @role = args[:role] if args.key?(:role) - @members = args[:members] if args.key?(:members) - 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 - - # Request for the Acknowledge method. - class AcknowledgeRequest - include Google::Apis::Core::Hashable - - # The acknowledgment ID for the messages being acknowledged that was returned - # by the Pub/Sub system in the `Pull` response. Must not be empty. - # Corresponds to the JSON property `ackIds` - # @return [Array] - attr_accessor :ack_ids - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ack_ids = args[:ack_ids] if args.key?(:ack_ids) - end - end - - # Response for the `ListTopics` method. - class ListTopicsResponse - include Google::Apis::Core::Hashable - - # If not empty, indicates that there may be more topics that match the - # request; this value should be passed in a new `ListTopicsRequest`. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The resulting topics. - # Corresponds to the JSON property `topics` - # @return [Array] - attr_accessor :topics - - 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) - @topics = args[:topics] if args.key?(:topics) - end - end - - # Response for the `ListTopicSubscriptions` method. - class ListTopicSubscriptionsResponse - include Google::Apis::Core::Hashable - - # If not empty, indicates that there may be more subscriptions that match - # the request; this value should be passed in a new - # `ListTopicSubscriptionsRequest` to get more subscriptions. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The names of the subscriptions that match the request. - # Corresponds to the JSON property `subscriptions` - # @return [Array] - attr_accessor :subscriptions - - 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) - @subscriptions = args[:subscriptions] if args.key?(:subscriptions) - end - end - - # Response for the `Pull` method. - class PullResponse - include Google::Apis::Core::Hashable - - # Received Pub/Sub messages. The Pub/Sub system will return zero messages if - # there are no more available in the backlog. The Pub/Sub system may return - # fewer than the `maxMessages` requested even if there are more messages - # available in the backlog. - # Corresponds to the JSON property `receivedMessages` - # @return [Array] - attr_accessor :received_messages - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @received_messages = args[:received_messages] if args.key?(:received_messages) - end - end - - # A message and its corresponding acknowledgment ID. - class ReceivedMessage - include Google::Apis::Core::Hashable - - # This ID can be used to acknowledge the received message. - # Corresponds to the JSON property `ackId` - # @return [String] - attr_accessor :ack_id - - # A message data and its attributes. The message payload must not be empty; - # it must contain either a non-empty data field, or at least one attribute. - # Corresponds to the JSON property `message` - # @return [Google::Apis::PubsubV1::Message] - attr_accessor :message - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ack_id = args[:ack_id] if args.key?(:ack_id) - @message = args[:message] if args.key?(:message) - end - end - - # Configuration for a push delivery endpoint. - class PushConfig - include Google::Apis::Core::Hashable - - # Endpoint configuration attributes. - # Every endpoint has a set of API supported attributes that can be used to - # control different aspects of the message delivery. - # The currently supported attribute is `x-goog-version`, which you can - # use to change the format of the pushed message. This attribute - # indicates the version of the data expected by the endpoint. This - # controls the shape of the pushed message (i.e., its fields and metadata). - # The endpoint version is based on the version of the Pub/Sub API. - # If not present during the `CreateSubscription` call, it will default to - # the version of the API used to make such call. If not present during a - # `ModifyPushConfig` call, its value will not be changed. `GetSubscription` - # calls will always return a valid version, even if the subscription was - # created without this attribute. - # The possible values for this attribute are: - # * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. - # * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API. - # Corresponds to the JSON property `attributes` - # @return [Hash] - attr_accessor :attributes - - # A URL locating the endpoint to which messages should be pushed. - # For example, a Webhook endpoint might use "https://example.com/push". - # Corresponds to the JSON property `pushEndpoint` - # @return [String] - attr_accessor :push_endpoint - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @attributes = args[:attributes] if args.key?(:attributes) - @push_endpoint = args[:push_endpoint] if args.key?(:push_endpoint) + @permissions = args[:permissions] if args.key?(:permissions) end end @@ -594,53 +648,19 @@ module Google end end - # Request for the `Pull` method. - class PullRequest + # A topic resource. + class Topic include Google::Apis::Core::Hashable - # If this field set to true, the system will respond immediately even if - # it there are no messages available to return in the `Pull` response. - # Otherwise, the system may wait (for a bounded amount of time) until at - # least one message is available, rather than returning no messages. The - # client may cancel the request if it does not wish to wait any longer for - # the response. - # Corresponds to the JSON property `returnImmediately` - # @return [Boolean] - attr_accessor :return_immediately - alias_method :return_immediately?, :return_immediately - - # The maximum number of messages returned for this request. The Pub/Sub - # system may return fewer than the number specified. - # Corresponds to the JSON property `maxMessages` - # @return [Fixnum] - attr_accessor :max_messages - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @return_immediately = args[:return_immediately] if args.key?(:return_immediately) - @max_messages = args[:max_messages] if args.key?(:max_messages) - end - end - - # Response for the `ListSubscriptions` method. - class ListSubscriptionsResponse - include Google::Apis::Core::Hashable - - # If not empty, indicates that there may be more subscriptions that match - # the request; this value should be passed in a new - # `ListSubscriptionsRequest` to get more subscriptions. - # Corresponds to the JSON property `nextPageToken` + # The name of the topic. It must have the format + # `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter, + # and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), + # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent + # signs (`%`). It must be between 3 and 255 characters in length, and it + # must not start with `"goog"`. + # Corresponds to the JSON property `name` # @return [String] - attr_accessor :next_page_token - - # The subscriptions that match the request. - # Corresponds to the JSON property `subscriptions` - # @return [Array] - attr_accessor :subscriptions + attr_accessor :name def initialize(**args) update!(**args) @@ -648,27 +668,7 @@ module Google # Update properties of this object def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @subscriptions = args[:subscriptions] if args.key?(:subscriptions) - end - end - - # Request for the Publish method. - class PublishRequest - include Google::Apis::Core::Hashable - - # The messages to publish. - # Corresponds to the JSON property `messages` - # @return [Array] - attr_accessor :messages - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @messages = args[:messages] if args.key?(:messages) + @name = args[:name] if args.key?(:name) end end end diff --git a/generated/google/apis/pubsub_v1/representations.rb b/generated/google/apis/pubsub_v1/representations.rb index 7b559a736..67fd67f7f 100644 --- a/generated/google/apis/pubsub_v1/representations.rb +++ b/generated/google/apis/pubsub_v1/representations.rb @@ -22,55 +22,7 @@ module Google module Apis module PubsubV1 - class PublishResponse - 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 TestIamPermissionsRequest - 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 Topic - 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 SetIamPolicyRequest - 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 Message + class AcknowledgeRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -88,13 +40,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class AcknowledgeRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListTopicsResponse + class ListSubscriptionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -106,37 +52,25 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class PullResponse + class ListTopicsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ReceivedMessage + class ModifyAckDeadlineRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class PushConfig + class ModifyPushConfigRequest 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 PullRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListSubscriptionsResponse + class Policy class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -149,93 +83,69 @@ module Google end class PublishResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :message_ids, as: 'messageIds' - end - end + class Representation < Google::Apis::Core::JsonRepresentation; end - class Subscription - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :topic, as: 'topic' - property :push_config, as: 'pushConfig', class: Google::Apis::PubsubV1::PushConfig, decorator: Google::Apis::PubsubV1::PushConfig::Representation - - property :ack_deadline_seconds, as: 'ackDeadlineSeconds' - property :name, as: 'name' - end - end - - class TestIamPermissionsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions' - end - end - - class Policy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :etag, :base64 => true, as: 'etag' - property :version, as: 'version' - collection :bindings, as: 'bindings', class: Google::Apis::PubsubV1::Binding, decorator: Google::Apis::PubsubV1::Binding::Representation - - end - end - - class Topic - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - end - end - - class ModifyAckDeadlineRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :ack_deadline_seconds, as: 'ackDeadlineSeconds' - collection :ack_ids, as: 'ackIds' - end - end - - class SetIamPolicyRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :policy, as: 'policy', class: Google::Apis::PubsubV1::Policy, decorator: Google::Apis::PubsubV1::Policy::Representation - - end - end - - class ModifyPushConfigRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :push_config, as: 'pushConfig', class: Google::Apis::PubsubV1::PushConfig, decorator: Google::Apis::PubsubV1::PushConfig::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class Message - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :message_id, as: 'messageId' - hash :attributes, as: 'attributes' - property :publish_time, as: 'publishTime' - property :data, :base64 => true, as: 'data' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class Binding - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :role, as: 'role' - collection :members, as: 'members' - end + class PullRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end + class PullResponse + 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 ReceivedMessage + 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 Subscription + 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 AcknowledgeRequest @@ -245,60 +155,17 @@ module Google end end - class ListTopicsResponse + class Binding # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :topics, as: 'topics', class: Google::Apis::PubsubV1::Topic, decorator: Google::Apis::PubsubV1::Topic::Representation - + collection :members, as: 'members' + property :role, as: 'role' end end - class ListTopicSubscriptionsResponse + class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :subscriptions, as: 'subscriptions' - end - end - - class PullResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :received_messages, as: 'receivedMessages', class: Google::Apis::PubsubV1::ReceivedMessage, decorator: Google::Apis::PubsubV1::ReceivedMessage::Representation - - end - end - - class ReceivedMessage - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :ack_id, as: 'ackId' - property :message, as: 'message', class: Google::Apis::PubsubV1::Message, decorator: Google::Apis::PubsubV1::Message::Representation - - end - end - - class PushConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :attributes, as: 'attributes' - property :push_endpoint, as: 'pushEndpoint' - end - end - - class TestIamPermissionsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions' - end - end - - class PullRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :return_immediately, as: 'returnImmediately' - property :max_messages, as: 'maxMessages' end end @@ -311,6 +178,49 @@ module Google end end + class ListTopicSubscriptionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :subscriptions, as: 'subscriptions' + end + end + + class ListTopicsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :topics, as: 'topics', class: Google::Apis::PubsubV1::Topic, decorator: Google::Apis::PubsubV1::Topic::Representation + + end + end + + class ModifyAckDeadlineRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ack_deadline_seconds, as: 'ackDeadlineSeconds' + collection :ack_ids, as: 'ackIds' + end + end + + class ModifyPushConfigRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :push_config, as: 'pushConfig', class: Google::Apis::PubsubV1::PushConfig, decorator: Google::Apis::PubsubV1::PushConfig::Representation + + end + end + + class Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :bindings, as: 'bindings', class: Google::Apis::PubsubV1::Binding, decorator: Google::Apis::PubsubV1::Binding::Representation + + property :etag, :base64 => true, as: 'etag' + property :version, as: 'version' + end + end + class PublishRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -318,6 +228,96 @@ module Google end end + + class PublishResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :message_ids, as: 'messageIds' + end + end + + class Message + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :attributes, as: 'attributes' + property :data, :base64 => true, as: 'data' + property :message_id, as: 'messageId' + property :publish_time, as: 'publishTime' + end + end + + class PullRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :max_messages, as: 'maxMessages' + property :return_immediately, as: 'returnImmediately' + end + end + + class PullResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :received_messages, as: 'receivedMessages', class: Google::Apis::PubsubV1::ReceivedMessage, decorator: Google::Apis::PubsubV1::ReceivedMessage::Representation + + end + end + + class PushConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :attributes, as: 'attributes' + property :push_endpoint, as: 'pushEndpoint' + end + end + + class ReceivedMessage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ack_id, as: 'ackId' + property :message, as: 'message', class: Google::Apis::PubsubV1::Message, decorator: Google::Apis::PubsubV1::Message::Representation + + end + end + + class SetIamPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :policy, as: 'policy', class: Google::Apis::PubsubV1::Policy, decorator: Google::Apis::PubsubV1::Policy::Representation + + end + end + + class Subscription + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ack_deadline_seconds, as: 'ackDeadlineSeconds' + property :name, as: 'name' + property :push_config, as: 'pushConfig', class: Google::Apis::PubsubV1::PushConfig, decorator: Google::Apis::PubsubV1::PushConfig::Representation + + property :topic, as: 'topic' + end + end + + class TestIamPermissionsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' + end + end + + class TestIamPermissionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' + end + end + + class Topic + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end end end end diff --git a/generated/google/apis/pubsub_v1/service.rb b/generated/google/apis/pubsub_v1/service.rb index d61cac4b0..cda3153ab 100644 --- a/generated/google/apis/pubsub_v1/service.rb +++ b/generated/google/apis/pubsub_v1/service.rb @@ -47,17 +47,17 @@ module Google @batch_path = 'batch' end - # Sets the access control policy on the specified resource. Replaces any - # existing policy. + # Gets the access control policy for a resource. + # Returns an empty policy if the resource exists and does not have a policy + # set. # @param [String] resource - # REQUIRED: The resource for which the policy is being specified. + # REQUIRED: The resource for which the policy is being requested. # See the operation documentation for the appropriate value for this field. - # @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -70,15 +70,48 @@ 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 set_snapshot_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def get_project_snapshot_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) + command.response_representation = Google::Apis::PubsubV1::Policy::Representation + command.response_class = Google::Apis::PubsubV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Sets the access control policy on the specified resource. Replaces any + # existing policy. + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_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::PubsubV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Policy] + # + # @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 set_snapshot_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) command.request_representation = Google::Apis::PubsubV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::PubsubV1::Policy::Representation command.response_class = Google::Apis::PubsubV1::Policy command.params['resource'] = resource unless resource.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 @@ -92,11 +125,11 @@ module Google # REQUIRED: The resource for which the policy detail is being requested. # See the operation documentation for the appropriate value for this field. # @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -109,64 +142,33 @@ 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 test_snapshot_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def test_snapshot_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) command.request_representation = Google::Apis::PubsubV1::TestIamPermissionsRequest::Representation command.request_object = test_iam_permissions_request_object command.response_representation = Google::Apis::PubsubV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::PubsubV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.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 - # Gets the access control policy for a resource. - # Returns an empty policy if the resource exists and does not have a policy - # set. - # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. - # See the operation documentation for the appropriate value for this field. - # @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::PubsubV1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::Policy] - # - # @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_project_snapshot_iam_policy(resource, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) - command.response_representation = Google::Apis::PubsubV1::Policy::Representation - command.response_class = Google::Apis::PubsubV1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Deletes an existing subscription. All messages retained in the subscription - # are immediately dropped. Calls to `Pull` after deletion will return - # `NOT_FOUND`. After a subscription is deleted, a new one may be created with - # the same name, but the new one has no association with the old - # subscription or its topic unless the same topic is specified. + # Acknowledges the messages associated with the `ack_ids` in the + # `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages + # from the subscription. + # Acknowledging a message whose ack deadline has expired may succeed, + # but such a message may be redelivered later. Acknowledging a message more + # than once will not result in an error. # @param [String] subscription - # The subscription to delete. + # The subscription whose message is being acknowledged. # Format is `projects/`project`/subscriptions/`sub``. + # @param [Google::Apis::PubsubV1::AcknowledgeRequest] acknowledge_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -179,124 +181,15 @@ 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 delete_subscription(subscription, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+subscription}', options) + def acknowledge_subscription(subscription, acknowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+subscription}:acknowledge', options) + command.request_representation = Google::Apis::PubsubV1::AcknowledgeRequest::Representation + command.request_object = acknowledge_request_object command.response_representation = Google::Apis::PubsubV1::Empty::Representation command.response_class = Google::Apis::PubsubV1::Empty command.params['subscription'] = subscription unless subscription.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Pulls messages from the server. Returns an empty list if there are no - # messages available in the backlog. The server may return `UNAVAILABLE` if - # there are too many concurrent pull requests pending for the given - # subscription. - # @param [String] subscription - # The subscription from which messages should be pulled. - # Format is `projects/`project`/subscriptions/`sub``. - # @param [Google::Apis::PubsubV1::PullRequest] pull_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::PubsubV1::PullResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::PullResponse] - # - # @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 pull_subscription(subscription, pull_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+subscription}:pull', options) - command.request_representation = Google::Apis::PubsubV1::PullRequest::Representation - command.request_object = pull_request_object - command.response_representation = Google::Apis::PubsubV1::PullResponse::Representation - command.response_class = Google::Apis::PubsubV1::PullResponse - command.params['subscription'] = subscription unless subscription.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists matching subscriptions. - # @param [String] project - # The name of the cloud project that subscriptions belong to. - # Format is `projects/`project``. - # @param [String] page_token - # The value returned by the last `ListSubscriptionsResponse`; indicates that - # this is a continuation of a prior `ListSubscriptions` call, and that the - # system should return the next page of data. - # @param [Fixnum] page_size - # Maximum number of subscriptions to return. - # @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::PubsubV1::ListSubscriptionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::ListSubscriptionsResponse] - # - # @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_subscriptions(project, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+project}/subscriptions', options) - command.response_representation = Google::Apis::PubsubV1::ListSubscriptionsResponse::Representation - command.response_class = Google::Apis::PubsubV1::ListSubscriptionsResponse - command.params['project'] = project unless project.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Sets the access control policy on the specified resource. Replaces any - # existing policy. - # @param [String] resource - # REQUIRED: The resource for which the policy is being specified. - # See the operation documentation for the appropriate value for this field. - # @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_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::PubsubV1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::Policy] - # - # @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 set_subscription_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) - command.request_representation = Google::Apis::PubsubV1::SetIamPolicyRequest::Representation - command.request_object = set_iam_policy_request_object - command.response_representation = Google::Apis::PubsubV1::Policy::Representation - command.response_class = Google::Apis::PubsubV1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -317,11 +210,11 @@ module Google # plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters # in length, and it must not start with `"goog"`. # @param [Google::Apis::PubsubV1::Subscription] subscription_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -334,15 +227,81 @@ 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 create_subscription(name, subscription_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def create_subscription(name, subscription_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v1/{+name}', options) command.request_representation = Google::Apis::PubsubV1::Subscription::Representation command.request_object = subscription_object command.response_representation = Google::Apis::PubsubV1::Subscription::Representation command.response_class = Google::Apis::PubsubV1::Subscription command.params['name'] = name unless name.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 + + # Deletes an existing subscription. All messages retained in the subscription + # are immediately dropped. Calls to `Pull` after deletion will return + # `NOT_FOUND`. After a subscription is deleted, a new one may be created with + # the same name, but the new one has no association with the old + # subscription or its topic unless the same topic is specified. + # @param [String] subscription + # The subscription to delete. + # Format is `projects/`project`/subscriptions/`sub``. + # @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::PubsubV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::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_subscription(subscription, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+subscription}', options) + command.response_representation = Google::Apis::PubsubV1::Empty::Representation + command.response_class = Google::Apis::PubsubV1::Empty + command.params['subscription'] = subscription unless subscription.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 configuration details of a subscription. + # @param [String] subscription + # The name of the subscription to get. + # Format is `projects/`project`/subscriptions/`sub``. + # @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::PubsubV1::Subscription] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Subscription] + # + # @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_subscription(subscription, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+subscription}', options) + command.response_representation = Google::Apis::PubsubV1::Subscription::Representation + command.response_class = Google::Apis::PubsubV1::Subscription + command.params['subscription'] = subscription unless subscription.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -352,11 +311,11 @@ module Google # @param [String] resource # REQUIRED: The resource for which the policy is being requested. # See the operation documentation for the appropriate value for this field. + # @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 # @@ -369,13 +328,52 @@ 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_project_subscription_iam_policy(resource, quota_user: nil, fields: nil, options: nil, &block) + def get_project_subscription_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) command.response_representation = Google::Apis::PubsubV1::Policy::Representation command.response_class = Google::Apis::PubsubV1::Policy command.params['resource'] = resource unless resource.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 + + # Lists matching subscriptions. + # @param [String] project + # The name of the cloud project that subscriptions belong to. + # Format is `projects/`project``. + # @param [Fixnum] page_size + # Maximum number of subscriptions to return. + # @param [String] page_token + # The value returned by the last `ListSubscriptionsResponse`; indicates that + # this is a continuation of a prior `ListSubscriptions` call, and that the + # system should return the next page of data. + # @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::PubsubV1::ListSubscriptionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::ListSubscriptionsResponse] + # + # @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_subscriptions(project, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+project}/subscriptions', options) + command.response_representation = Google::Apis::PubsubV1::ListSubscriptionsResponse::Representation + command.response_class = Google::Apis::PubsubV1::ListSubscriptionsResponse + command.params['project'] = project unless project.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 @@ -388,11 +386,11 @@ module Google # The name of the subscription. # Format is `projects/`project`/subscriptions/`sub``. # @param [Google::Apis::PubsubV1::ModifyAckDeadlineRequest] modify_ack_deadline_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -405,124 +403,15 @@ 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 modify_subscription_ack_deadline(subscription, modify_ack_deadline_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def modify_subscription_ack_deadline(subscription, modify_ack_deadline_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+subscription}:modifyAckDeadline', options) command.request_representation = Google::Apis::PubsubV1::ModifyAckDeadlineRequest::Representation command.request_object = modify_ack_deadline_request_object command.response_representation = Google::Apis::PubsubV1::Empty::Representation command.response_class = Google::Apis::PubsubV1::Empty command.params['subscription'] = subscription unless subscription.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Acknowledges the messages associated with the `ack_ids` in the - # `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages - # from the subscription. - # Acknowledging a message whose ack deadline has expired may succeed, - # but such a message may be redelivered later. Acknowledging a message more - # than once will not result in an error. - # @param [String] subscription - # The subscription whose message is being acknowledged. - # Format is `projects/`project`/subscriptions/`sub``. - # @param [Google::Apis::PubsubV1::AcknowledgeRequest] acknowledge_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::PubsubV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::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 acknowledge_subscription(subscription, acknowledge_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+subscription}:acknowledge', options) - command.request_representation = Google::Apis::PubsubV1::AcknowledgeRequest::Representation - command.request_object = acknowledge_request_object - command.response_representation = Google::Apis::PubsubV1::Empty::Representation - command.response_class = Google::Apis::PubsubV1::Empty - command.params['subscription'] = subscription unless subscription.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets the configuration details of a subscription. - # @param [String] subscription - # The name of the subscription to get. - # Format is `projects/`project`/subscriptions/`sub``. - # @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::PubsubV1::Subscription] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::Subscription] - # - # @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_subscription(subscription, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+subscription}', options) - command.response_representation = Google::Apis::PubsubV1::Subscription::Representation - command.response_class = Google::Apis::PubsubV1::Subscription - command.params['subscription'] = subscription unless subscription.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Returns permissions that a caller has on the specified resource. - # If the resource does not exist, this will return an empty set of - # permissions, not a NOT_FOUND error. - # Note: This operation is designed to be used for building permission-aware - # UIs and command-line tools, not for authorization checking. This operation - # may "fail open" without warning. - # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. - # See the operation documentation for the appropriate value for this field. - # @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_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::PubsubV1::TestIamPermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::TestIamPermissionsResponse] - # - # @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 test_subscription_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) - command.request_representation = Google::Apis::PubsubV1::TestIamPermissionsRequest::Representation - command.request_object = test_iam_permissions_request_object - command.response_representation = Google::Apis::PubsubV1::TestIamPermissionsResponse::Representation - command.response_class = Google::Apis::PubsubV1::TestIamPermissionsResponse - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -535,11 +424,11 @@ module Google # The name of the subscription. # Format is `projects/`project`/subscriptions/`sub``. # @param [Google::Apis::PubsubV1::ModifyPushConfigRequest] modify_push_config_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -552,92 +441,52 @@ 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 modify_subscription_push_config(subscription, modify_push_config_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def modify_subscription_push_config(subscription, modify_push_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+subscription}:modifyPushConfig', options) command.request_representation = Google::Apis::PubsubV1::ModifyPushConfigRequest::Representation command.request_object = modify_push_config_request_object command.response_representation = Google::Apis::PubsubV1::Empty::Representation command.response_class = Google::Apis::PubsubV1::Empty command.params['subscription'] = subscription unless subscription.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 - # Lists matching topics. - # @param [String] project - # The name of the cloud project that topics belong to. - # Format is `projects/`project``. - # @param [String] page_token - # The value returned by the last `ListTopicsResponse`; indicates that this is - # a continuation of a prior `ListTopics` call, and that the system should - # return the next page of data. - # @param [Fixnum] page_size - # Maximum number of topics to return. + # Pulls messages from the server. Returns an empty list if there are no + # messages available in the backlog. The server may return `UNAVAILABLE` if + # there are too many concurrent pull requests pending for the given + # subscription. + # @param [String] subscription + # The subscription from which messages should be pulled. + # Format is `projects/`project`/subscriptions/`sub``. + # @param [Google::Apis::PubsubV1::PullRequest] pull_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 [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::PubsubV1::ListTopicsResponse] parsed result object + # @yieldparam result [Google::Apis::PubsubV1::PullResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::PubsubV1::ListTopicsResponse] + # @return [Google::Apis::PubsubV1::PullResponse] # # @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_topics(project, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+project}/topics', options) - command.response_representation = Google::Apis::PubsubV1::ListTopicsResponse::Representation - command.response_class = Google::Apis::PubsubV1::ListTopicsResponse - command.params['project'] = project unless project.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + def pull_subscription(subscription, pull_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+subscription}:pull', options) + command.request_representation = Google::Apis::PubsubV1::PullRequest::Representation + command.request_object = pull_request_object + command.response_representation = Google::Apis::PubsubV1::PullResponse::Representation + command.response_class = Google::Apis::PubsubV1::PullResponse + command.params['subscription'] = subscription unless subscription.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates the given topic with the given name. - # @param [String] name - # The name of the topic. It must have the format - # `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter, - # and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), - # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent - # signs (`%`). It must be between 3 and 255 characters in length, and it - # must not start with `"goog"`. - # @param [Google::Apis::PubsubV1::Topic] topic_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::PubsubV1::Topic] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::Topic] - # - # @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_topic(name, topic_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:put, 'v1/{+name}', options) - command.request_representation = Google::Apis::PubsubV1::Topic::Representation - command.request_object = topic_object - command.response_representation = Google::Apis::PubsubV1::Topic::Representation - command.response_class = Google::Apis::PubsubV1::Topic - command.params['name'] = name unless name.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -647,11 +496,11 @@ module Google # REQUIRED: The resource for which the policy is being specified. # See the operation documentation for the appropriate value for this field. # @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -664,115 +513,15 @@ 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 set_topic_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def set_subscription_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) command.request_representation = Google::Apis::PubsubV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::PubsubV1::Policy::Representation command.response_class = Google::Apis::PubsubV1::Policy command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets the access control policy for a resource. - # Returns an empty policy if the resource exists and does not have a policy - # set. - # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. - # See the operation documentation for the appropriate value for this field. - # @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::PubsubV1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::Policy] - # - # @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_project_topic_iam_policy(resource, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) - command.response_representation = Google::Apis::PubsubV1::Policy::Representation - command.response_class = Google::Apis::PubsubV1::Policy - command.params['resource'] = resource unless resource.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets the configuration of a topic. - # @param [String] topic - # The name of the topic to get. - # Format is `projects/`project`/topics/`topic``. - # @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::PubsubV1::Topic] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::Topic] - # - # @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_topic(topic, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+topic}', options) - command.response_representation = Google::Apis::PubsubV1::Topic::Representation - command.response_class = Google::Apis::PubsubV1::Topic - command.params['topic'] = topic unless topic.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic - # does not exist. The message payload must not be empty; it must contain - # either a non-empty data field, or at least one attribute. - # @param [String] topic - # The messages in the request will be published on this topic. - # Format is `projects/`project`/topics/`topic``. - # @param [Google::Apis::PubsubV1::PublishRequest] publish_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::PubsubV1::PublishResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::PublishResponse] - # - # @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 publish_topic(topic, publish_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+topic}:publish', options) - command.request_representation = Google::Apis::PubsubV1::PublishRequest::Representation - command.request_object = publish_request_object - command.response_representation = Google::Apis::PubsubV1::PublishResponse::Representation - command.response_class = Google::Apis::PubsubV1::PublishResponse - command.params['topic'] = topic unless topic.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -786,11 +535,11 @@ module Google # REQUIRED: The resource for which the policy detail is being requested. # See the operation documentation for the appropriate value for this field. # @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -803,15 +552,53 @@ 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 test_topic_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def test_subscription_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) command.request_representation = Google::Apis::PubsubV1::TestIamPermissionsRequest::Representation command.request_object = test_iam_permissions_request_object command.response_representation = Google::Apis::PubsubV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::PubsubV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.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 + + # Creates the given topic with the given name. + # @param [String] name + # The name of the topic. It must have the format + # `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter, + # and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), + # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent + # signs (`%`). It must be between 3 and 255 characters in length, and it + # must not start with `"goog"`. + # @param [Google::Apis::PubsubV1::Topic] topic_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::PubsubV1::Topic] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Topic] + # + # @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_topic(name, topic_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v1/{+name}', options) + command.request_representation = Google::Apis::PubsubV1::Topic::Representation + command.request_object = topic_object + command.response_representation = Google::Apis::PubsubV1::Topic::Representation + command.response_class = Google::Apis::PubsubV1::Topic + 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 @@ -823,11 +610,11 @@ module Google # @param [String] topic # Name of the topic to delete. # Format is `projects/`project`/topics/`topic``. + # @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 # @@ -840,13 +627,226 @@ 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 delete_topic(topic, quota_user: nil, fields: nil, options: nil, &block) + def delete_topic(topic, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+topic}', options) command.response_representation = Google::Apis::PubsubV1::Empty::Representation command.response_class = Google::Apis::PubsubV1::Empty command.params['topic'] = topic unless topic.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 + + # Gets the configuration of a topic. + # @param [String] topic + # The name of the topic to get. + # Format is `projects/`project`/topics/`topic``. + # @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::PubsubV1::Topic] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Topic] + # + # @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_topic(topic, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+topic}', options) + command.response_representation = Google::Apis::PubsubV1::Topic::Representation + command.response_class = Google::Apis::PubsubV1::Topic + command.params['topic'] = topic unless topic.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 access control policy for a resource. + # Returns an empty policy if the resource exists and does not have a policy + # set. + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. + # See the operation documentation for the appropriate value for this field. + # @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::PubsubV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Policy] + # + # @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_project_topic_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) + command.response_representation = Google::Apis::PubsubV1::Policy::Representation + command.response_class = Google::Apis::PubsubV1::Policy + command.params['resource'] = resource unless resource.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 matching topics. + # @param [String] project + # The name of the cloud project that topics belong to. + # Format is `projects/`project``. + # @param [Fixnum] page_size + # Maximum number of topics to return. + # @param [String] page_token + # The value returned by the last `ListTopicsResponse`; indicates that this is + # a continuation of a prior `ListTopics` call, and that the system should + # return the next page of data. + # @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::PubsubV1::ListTopicsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::ListTopicsResponse] + # + # @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_topics(project, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+project}/topics', options) + command.response_representation = Google::Apis::PubsubV1::ListTopicsResponse::Representation + command.response_class = Google::Apis::PubsubV1::ListTopicsResponse + command.params['project'] = project unless project.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 + + # Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic + # does not exist. The message payload must not be empty; it must contain + # either a non-empty data field, or at least one attribute. + # @param [String] topic + # The messages in the request will be published on this topic. + # Format is `projects/`project`/topics/`topic``. + # @param [Google::Apis::PubsubV1::PublishRequest] publish_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::PubsubV1::PublishResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::PublishResponse] + # + # @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 publish_topic(topic, publish_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+topic}:publish', options) + command.request_representation = Google::Apis::PubsubV1::PublishRequest::Representation + command.request_object = publish_request_object + command.response_representation = Google::Apis::PubsubV1::PublishResponse::Representation + command.response_class = Google::Apis::PubsubV1::PublishResponse + command.params['topic'] = topic unless topic.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Sets the access control policy on the specified resource. Replaces any + # existing policy. + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_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::PubsubV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Policy] + # + # @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 set_topic_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::PubsubV1::SetIamPolicyRequest::Representation + command.request_object = set_iam_policy_request_object + command.response_representation = Google::Apis::PubsubV1::Policy::Representation + command.response_class = Google::Apis::PubsubV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified resource. + # If the resource does not exist, this will return an empty set of + # permissions, not a NOT_FOUND error. + # Note: This operation is designed to be used for building permission-aware + # UIs and command-line tools, not for authorization checking. This operation + # may "fail open" without warning. + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_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::PubsubV1::TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::TestIamPermissionsResponse] + # + # @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 test_topic_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) + command.request_representation = Google::Apis::PubsubV1::TestIamPermissionsRequest::Representation + command.request_object = test_iam_permissions_request_object + command.response_representation = Google::Apis::PubsubV1::TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::PubsubV1::TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -854,17 +854,17 @@ module Google # @param [String] topic # The name of the topic that subscriptions are attached to. # Format is `projects/`project`/topics/`topic``. + # @param [Fixnum] page_size + # Maximum number of subscription names to return. # @param [String] page_token # The value returned by the last `ListTopicSubscriptionsResponse`; indicates # that this is a continuation of a prior `ListTopicSubscriptions` call, and # that the system should return the next page of data. - # @param [Fixnum] page_size - # Maximum number of subscription names 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -877,15 +877,15 @@ 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_topic_subscriptions(topic, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_topic_subscriptions(topic, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+topic}/subscriptions', options) command.response_representation = Google::Apis::PubsubV1::ListTopicSubscriptionsResponse::Representation command.response_class = Google::Apis::PubsubV1::ListTopicSubscriptionsResponse command.params['topic'] = topic unless topic.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.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 diff --git a/generated/google/apis/runtimeconfig_v1.rb b/generated/google/apis/runtimeconfig_v1.rb index 870c3a683..c2c4420f4 100644 --- a/generated/google/apis/runtimeconfig_v1.rb +++ b/generated/google/apis/runtimeconfig_v1.rb @@ -28,13 +28,13 @@ module Google # @see https://cloud.google.com/deployment-manager/runtime-configurator/ module RuntimeconfigV1 VERSION = 'V1' - REVISION = '20170620' - - # Manage your Google Cloud Platform services' runtime configuration - AUTH_CLOUDRUNTIMECONFIG = 'https://www.googleapis.com/auth/cloudruntimeconfig' + REVISION = '20170808' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + + # Manage your Google Cloud Platform services' runtime configuration + AUTH_CLOUDRUNTIMECONFIG = 'https://www.googleapis.com/auth/cloudruntimeconfig' end end end diff --git a/generated/google/apis/runtimeconfig_v1/classes.rb b/generated/google/apis/runtimeconfig_v1/classes.rb index efe013caf..7f66bd597 100644 --- a/generated/google/apis/runtimeconfig_v1/classes.rb +++ b/generated/google/apis/runtimeconfig_v1/classes.rb @@ -35,6 +35,147 @@ module Google 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 + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + 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) + @operations = args[:operations] if args.key?(:operations) + 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 + + # 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` that 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. + # - 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::RuntimeconfigV1::Status] + attr_accessor :error + + # 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 + + # 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 + + # 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) + @done = args[:done] if args.key?(:done) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + @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: @@ -77,6 +218,17 @@ module Google 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 is 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. @@ -84,167 +236,15 @@ module Google # @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 - - # The status code, which should be an enum value of google.rpc.Code. - # Corresponds to the JSON property `code` - # @return [Fixnum] - attr_accessor :code - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @message = args[:message] if args.key?(:message) - @details = args[:details] if args.key?(:details) @code = args[:code] if args.key?(:code) - 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 - - # 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 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 - - # 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 - - # 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` that 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. - # - 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::RuntimeconfigV1::Status] - attr_accessor :error - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @done = args[:done] if args.key?(:done) - @response = args[:response] if args.key?(:response) - @name = args[:name] if args.key?(:name) - @error = args[:error] if args.key?(:error) - end - end - - # The response message for Operations.ListOperations. - class ListOperationsResponse - include Google::Apis::Core::Hashable - - # The standard List next-page token. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # A list of operations that matches the specified filter in the request. - # Corresponds to the JSON property `operations` - # @return [Array] - attr_accessor :operations - - 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) - @operations = args[:operations] if args.key?(:operations) - 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) + @details = args[:details] if args.key?(:details) + @message = args[:message] if args.key?(:message) end end end diff --git a/generated/google/apis/runtimeconfig_v1/representations.rb b/generated/google/apis/runtimeconfig_v1/representations.rb index d473f02d3..c9c6289e3 100644 --- a/generated/google/apis/runtimeconfig_v1/representations.rb +++ b/generated/google/apis/runtimeconfig_v1/representations.rb @@ -28,13 +28,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Status - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Operation + class Empty class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -46,7 +40,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Empty + 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 @@ -58,24 +58,9 @@ module Google end end - class Status + class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation - property :message, as: 'message' - collection :details, as: 'details' - property :code, as: 'code' - end - end - - class Operation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :metadata, as: 'metadata' - property :done, as: 'done' - hash :response, as: 'response' - property :name, as: 'name' - property :error, as: 'error', class: Google::Apis::RuntimeconfigV1::Status, decorator: Google::Apis::RuntimeconfigV1::Status::Representation - end end @@ -88,9 +73,24 @@ module Google end end - class Empty + class Operation # @private class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::RuntimeconfigV1::Status, decorator: Google::Apis::RuntimeconfigV1::Status::Representation + + hash :metadata, as: 'metadata' + property :name, as: 'name' + hash :response, as: 'response' + 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 end diff --git a/generated/google/apis/runtimeconfig_v1/service.rb b/generated/google/apis/runtimeconfig_v1/service.rb index df4638e7b..950e652ba 100644 --- a/generated/google/apis/runtimeconfig_v1/service.rb +++ b/generated/google/apis/runtimeconfig_v1/service.rb @@ -35,16 +35,16 @@ module Google # # @see https://cloud.google.com/deployment-manager/runtime-configurator/ class CloudRuntimeConfigService < Google::Apis::Core::BaseService - # @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 - # @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://runtimeconfig.googleapis.com/', '') @batch_path = 'batch' @@ -63,11 +63,11 @@ module Google # @param [String] name # The name of the operation resource to be cancelled. # @param [Google::Apis::RuntimeconfigV1::CancelOperationRequest] cancel_operation_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -80,15 +80,15 @@ 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 cancel_operation(name, cancel_operation_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:cancel', options) command.request_representation = Google::Apis::RuntimeconfigV1::CancelOperationRequest::Representation command.request_object = cancel_operation_request_object command.response_representation = Google::Apis::RuntimeconfigV1::Empty::Representation command.response_class = Google::Apis::RuntimeconfigV1::Empty command.params['name'] = name unless name.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 @@ -98,11 +98,11 @@ module Google # `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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -115,13 +115,13 @@ 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 delete_operation(name, quota_user: nil, fields: nil, options: nil, &block) + 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::RuntimeconfigV1::Empty::Representation command.response_class = Google::Apis::RuntimeconfigV1::Empty command.params['name'] = name unless name.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 @@ -136,17 +136,17 @@ module Google # is the parent resource, without the operations collection id. # @param [String] name # The name of the operation's parent resource. - # @param [Fixnum] page_size - # The standard list page size. # @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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -159,24 +159,24 @@ 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_operations(name, page_size: nil, filter: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) + 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::RuntimeconfigV1::ListOperationsResponse::Representation command.response_class = Google::Apis::RuntimeconfigV1::ListOperationsResponse command.params['name'] = name unless name.nil? - command.query['pageSize'] = page_size unless page_size.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['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 protected def apply_command_defaults(command) - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? end end end diff --git a/generated/google/apis/safebrowsing_v4.rb b/generated/google/apis/safebrowsing_v4.rb new file mode 100644 index 000000000..9b4d65eee --- /dev/null +++ b/generated/google/apis/safebrowsing_v4.rb @@ -0,0 +1,32 @@ +# 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/safebrowsing_v4/service.rb' +require 'google/apis/safebrowsing_v4/classes.rb' +require 'google/apis/safebrowsing_v4/representations.rb' + +module Google + module Apis + # Google Safe Browsing API + # + # Enables client applications to check web resources (most commonly URLs) + # against Google-generated lists of unsafe web resources. + # + # @see https://developers.google.com/safe-browsing/ + module SafebrowsingV4 + VERSION = 'V4' + REVISION = '20170809' + end + end +end diff --git a/generated/google/apis/safebrowsing_v4/classes.rb b/generated/google/apis/safebrowsing_v4/classes.rb new file mode 100644 index 000000000..66bc71067 --- /dev/null +++ b/generated/google/apis/safebrowsing_v4/classes.rb @@ -0,0 +1,771 @@ +# 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 SafebrowsingV4 + + # The expected state of a client's local database. + class Checksum + include Google::Apis::Core::Hashable + + # The SHA256 hash of the client state; that is, of the sorted list of all + # hashes present in the database. + # Corresponds to the JSON property `sha256` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :sha256 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sha256 = args[:sha256] if args.key?(:sha256) + end + end + + # The client metadata associated with Safe Browsing API requests. + class ClientInfo + include Google::Apis::Core::Hashable + + # A client ID that (hopefully) uniquely identifies the client implementation + # of the Safe Browsing API. + # Corresponds to the JSON property `clientId` + # @return [String] + attr_accessor :client_id + + # The version of the client implementation. + # Corresponds to the JSON property `clientVersion` + # @return [String] + attr_accessor :client_version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @client_id = args[:client_id] if args.key?(:client_id) + @client_version = args[:client_version] if args.key?(:client_version) + end + end + + # The constraints for this update. + class Constraints + include Google::Apis::Core::Hashable + + # Sets the maximum number of entries that the client is willing to have + # in the local database. This should be a power of 2 between 2**10 and + # 2**20. If zero, no database size limit is set. + # Corresponds to the JSON property `maxDatabaseEntries` + # @return [Fixnum] + attr_accessor :max_database_entries + + # The maximum size in number of entries. The update will not contain more + # entries than this value. This should be a power of 2 between 2**10 and + # 2**20. If zero, no update size limit is set. + # Corresponds to the JSON property `maxUpdateEntries` + # @return [Fixnum] + attr_accessor :max_update_entries + + # Requests the list for a specific geographic location. If not set the + # server may pick that value based on the user's IP address. Expects ISO + # 3166-1 alpha-2 format. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + + # The compression types supported by the client. + # Corresponds to the JSON property `supportedCompressions` + # @return [Array] + attr_accessor :supported_compressions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @max_database_entries = args[:max_database_entries] if args.key?(:max_database_entries) + @max_update_entries = args[:max_update_entries] if args.key?(:max_update_entries) + @region = args[:region] if args.key?(:region) + @supported_compressions = args[:supported_compressions] if args.key?(:supported_compressions) + end + end + + # Describes a Safe Browsing API update request. Clients can request updates for + # multiple lists in a single request. + # NOTE: Field index 2 is unused. + # NEXT: 5 + class FetchThreatListUpdatesRequest + include Google::Apis::Core::Hashable + + # The client metadata associated with Safe Browsing API requests. + # Corresponds to the JSON property `client` + # @return [Google::Apis::SafebrowsingV4::ClientInfo] + attr_accessor :client + + # The requested threat list updates. + # Corresponds to the JSON property `listUpdateRequests` + # @return [Array] + attr_accessor :list_update_requests + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @client = args[:client] if args.key?(:client) + @list_update_requests = args[:list_update_requests] if args.key?(:list_update_requests) + end + end + + # + class FetchThreatListUpdatesResponse + include Google::Apis::Core::Hashable + + # The list updates requested by the clients. + # Corresponds to the JSON property `listUpdateResponses` + # @return [Array] + attr_accessor :list_update_responses + + # The minimum duration the client must wait before issuing any update + # request. If this field is not set clients may update as soon as they want. + # Corresponds to the JSON property `minimumWaitDuration` + # @return [String] + attr_accessor :minimum_wait_duration + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @list_update_responses = args[:list_update_responses] if args.key?(:list_update_responses) + @minimum_wait_duration = args[:minimum_wait_duration] if args.key?(:minimum_wait_duration) + end + end + + # Request to return full hashes matched by the provided hash prefixes. + class FindFullHashesRequest + include Google::Apis::Core::Hashable + + # The client metadata associated with Safe Browsing API requests. + # Corresponds to the JSON property `apiClient` + # @return [Google::Apis::SafebrowsingV4::ClientInfo] + attr_accessor :api_client + + # The client metadata associated with Safe Browsing API requests. + # Corresponds to the JSON property `client` + # @return [Google::Apis::SafebrowsingV4::ClientInfo] + attr_accessor :client + + # The current client states for each of the client's local threat lists. + # Corresponds to the JSON property `clientStates` + # @return [Array] + attr_accessor :client_states + + # The information regarding one or more threats that a client submits when + # checking for matches in threat lists. + # Corresponds to the JSON property `threatInfo` + # @return [Google::Apis::SafebrowsingV4::ThreatInfo] + attr_accessor :threat_info + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @api_client = args[:api_client] if args.key?(:api_client) + @client = args[:client] if args.key?(:client) + @client_states = args[:client_states] if args.key?(:client_states) + @threat_info = args[:threat_info] if args.key?(:threat_info) + end + end + + # + class FindFullHashesResponse + include Google::Apis::Core::Hashable + + # The full hashes that matched the requested prefixes. + # Corresponds to the JSON property `matches` + # @return [Array] + attr_accessor :matches + + # The minimum duration the client must wait before issuing any find hashes + # request. If this field is not set, clients can issue a request as soon as + # they want. + # Corresponds to the JSON property `minimumWaitDuration` + # @return [String] + attr_accessor :minimum_wait_duration + + # For requested entities that did not match the threat list, how long to + # cache the response. + # Corresponds to the JSON property `negativeCacheDuration` + # @return [String] + attr_accessor :negative_cache_duration + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @matches = args[:matches] if args.key?(:matches) + @minimum_wait_duration = args[:minimum_wait_duration] if args.key?(:minimum_wait_duration) + @negative_cache_duration = args[:negative_cache_duration] if args.key?(:negative_cache_duration) + end + end + + # Request to check entries against lists. + class FindThreatMatchesRequest + include Google::Apis::Core::Hashable + + # The client metadata associated with Safe Browsing API requests. + # Corresponds to the JSON property `client` + # @return [Google::Apis::SafebrowsingV4::ClientInfo] + attr_accessor :client + + # The information regarding one or more threats that a client submits when + # checking for matches in threat lists. + # Corresponds to the JSON property `threatInfo` + # @return [Google::Apis::SafebrowsingV4::ThreatInfo] + attr_accessor :threat_info + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @client = args[:client] if args.key?(:client) + @threat_info = args[:threat_info] if args.key?(:threat_info) + end + end + + # + class FindThreatMatchesResponse + include Google::Apis::Core::Hashable + + # The threat list matches. + # Corresponds to the JSON property `matches` + # @return [Array] + attr_accessor :matches + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @matches = args[:matches] if args.key?(:matches) + end + end + + # + class ListThreatListsResponse + include Google::Apis::Core::Hashable + + # The lists available for download by the client. + # Corresponds to the JSON property `threatLists` + # @return [Array] + attr_accessor :threat_lists + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @threat_lists = args[:threat_lists] if args.key?(:threat_lists) + end + end + + # A single list update request. + class ListUpdateRequest + include Google::Apis::Core::Hashable + + # The constraints for this update. + # Corresponds to the JSON property `constraints` + # @return [Google::Apis::SafebrowsingV4::Constraints] + attr_accessor :constraints + + # The type of platform at risk by entries present in the list. + # Corresponds to the JSON property `platformType` + # @return [String] + attr_accessor :platform_type + + # The current state of the client for the requested list (the encrypted + # client state that was received from the last successful list update). + # Corresponds to the JSON property `state` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :state + + # The types of entries present in the list. + # Corresponds to the JSON property `threatEntryType` + # @return [String] + attr_accessor :threat_entry_type + + # The type of threat posed by entries present in the list. + # Corresponds to the JSON property `threatType` + # @return [String] + attr_accessor :threat_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @constraints = args[:constraints] if args.key?(:constraints) + @platform_type = args[:platform_type] if args.key?(:platform_type) + @state = args[:state] if args.key?(:state) + @threat_entry_type = args[:threat_entry_type] if args.key?(:threat_entry_type) + @threat_type = args[:threat_type] if args.key?(:threat_type) + end + end + + # An update to an individual list. + class ListUpdateResponse + include Google::Apis::Core::Hashable + + # A set of entries to add to a local threat type's list. Repeated to allow + # for a combination of compressed and raw data to be sent in a single + # response. + # Corresponds to the JSON property `additions` + # @return [Array] + attr_accessor :additions + + # The expected state of a client's local database. + # Corresponds to the JSON property `checksum` + # @return [Google::Apis::SafebrowsingV4::Checksum] + attr_accessor :checksum + + # The new client state, in encrypted format. Opaque to clients. + # Corresponds to the JSON property `newClientState` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :new_client_state + + # The platform type for which data is returned. + # Corresponds to the JSON property `platformType` + # @return [String] + attr_accessor :platform_type + + # A set of entries to remove from a local threat type's list. In practice, + # this field is empty or contains exactly one ThreatEntrySet. + # Corresponds to the JSON property `removals` + # @return [Array] + attr_accessor :removals + + # The type of response. This may indicate that an action is required by the + # client when the response is received. + # Corresponds to the JSON property `responseType` + # @return [String] + attr_accessor :response_type + + # The format of the threats. + # Corresponds to the JSON property `threatEntryType` + # @return [String] + attr_accessor :threat_entry_type + + # The threat type for which data is returned. + # Corresponds to the JSON property `threatType` + # @return [String] + attr_accessor :threat_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @additions = args[:additions] if args.key?(:additions) + @checksum = args[:checksum] if args.key?(:checksum) + @new_client_state = args[:new_client_state] if args.key?(:new_client_state) + @platform_type = args[:platform_type] if args.key?(:platform_type) + @removals = args[:removals] if args.key?(:removals) + @response_type = args[:response_type] if args.key?(:response_type) + @threat_entry_type = args[:threat_entry_type] if args.key?(:threat_entry_type) + @threat_type = args[:threat_type] if args.key?(:threat_type) + end + end + + # A single metadata entry. + class MetadataEntry + include Google::Apis::Core::Hashable + + # The metadata entry key. For JSON requests, the key is base64-encoded. + # Corresponds to the JSON property `key` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :key + + # The metadata entry value. For JSON requests, the value is base64-encoded. + # Corresponds to the JSON property `value` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @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 + + # The uncompressed threat entries in hash format of a particular prefix length. + # Hashes can be anywhere from 4 to 32 bytes in size. A large majority are 4 + # bytes, but some hashes are lengthened if they collide with the hash of a + # popular URL. + # Used for sending ThreatEntrySet to clients that do not support compression, + # or when sending non-4-byte hashes to clients that do support compression. + class RawHashes + include Google::Apis::Core::Hashable + + # The number of bytes for each prefix encoded below. This field can be + # anywhere from 4 (shortest prefix) to 32 (full SHA256 hash). + # Corresponds to the JSON property `prefixSize` + # @return [Fixnum] + attr_accessor :prefix_size + + # The hashes, in binary format, concatenated into one long string. Hashes are + # sorted in lexicographic order. For JSON API users, hashes are + # base64-encoded. + # Corresponds to the JSON property `rawHashes` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :raw_hashes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @prefix_size = args[:prefix_size] if args.key?(:prefix_size) + @raw_hashes = args[:raw_hashes] if args.key?(:raw_hashes) + end + end + + # A set of raw indices to remove from a local list. + class RawIndices + include Google::Apis::Core::Hashable + + # The indices to remove from a lexicographically-sorted local list. + # Corresponds to the JSON property `indices` + # @return [Array] + attr_accessor :indices + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @indices = args[:indices] if args.key?(:indices) + end + end + + # The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or + # compressed removal indices. + class RiceDeltaEncoding + include Google::Apis::Core::Hashable + + # The encoded deltas that are encoded using the Golomb-Rice coder. + # Corresponds to the JSON property `encodedData` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :encoded_data + + # The offset of the first entry in the encoded data, or, if only a single + # integer was encoded, that single integer's value. + # Corresponds to the JSON property `firstValue` + # @return [Fixnum] + attr_accessor :first_value + + # The number of entries that are delta encoded in the encoded data. If only a + # single integer was encoded, this will be zero and the single value will be + # stored in `first_value`. + # Corresponds to the JSON property `numEntries` + # @return [Fixnum] + attr_accessor :num_entries + + # The Golomb-Rice parameter, which is a number between 2 and 28. This field + # is missing (that is, zero) if `num_entries` is zero. + # Corresponds to the JSON property `riceParameter` + # @return [Fixnum] + attr_accessor :rice_parameter + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @encoded_data = args[:encoded_data] if args.key?(:encoded_data) + @first_value = args[:first_value] if args.key?(:first_value) + @num_entries = args[:num_entries] if args.key?(:num_entries) + @rice_parameter = args[:rice_parameter] if args.key?(:rice_parameter) + end + end + + # An individual threat; for example, a malicious URL or its hash + # representation. Only one of these fields should be set. + class ThreatEntry + include Google::Apis::Core::Hashable + + # The digest of an executable in SHA256 format. The API supports both + # binary and hex digests. For JSON requests, digests are base64-encoded. + # Corresponds to the JSON property `digest` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :digest + + # A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 + # hash. This field is in binary format. For JSON requests, hashes are + # base64-encoded. + # Corresponds to the JSON property `hash` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :hash_prop + + # A URL. + # 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) + @digest = args[:digest] if args.key?(:digest) + @hash_prop = args[:hash_prop] if args.key?(:hash_prop) + @url = args[:url] if args.key?(:url) + end + end + + # The metadata associated with a specific threat entry. The client is expected + # to know the metadata key/value pairs associated with each threat type. + class ThreatEntryMetadata + include Google::Apis::Core::Hashable + + # The metadata entries. + # Corresponds to the JSON property `entries` + # @return [Array] + attr_accessor :entries + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @entries = args[:entries] if args.key?(:entries) + end + end + + # A set of threats that should be added or removed from a client's local + # database. + class ThreatEntrySet + include Google::Apis::Core::Hashable + + # The compression type for the entries in this set. + # Corresponds to the JSON property `compressionType` + # @return [String] + attr_accessor :compression_type + + # The uncompressed threat entries in hash format of a particular prefix length. + # Hashes can be anywhere from 4 to 32 bytes in size. A large majority are 4 + # bytes, but some hashes are lengthened if they collide with the hash of a + # popular URL. + # Used for sending ThreatEntrySet to clients that do not support compression, + # or when sending non-4-byte hashes to clients that do support compression. + # Corresponds to the JSON property `rawHashes` + # @return [Google::Apis::SafebrowsingV4::RawHashes] + attr_accessor :raw_hashes + + # A set of raw indices to remove from a local list. + # Corresponds to the JSON property `rawIndices` + # @return [Google::Apis::SafebrowsingV4::RawIndices] + attr_accessor :raw_indices + + # The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or + # compressed removal indices. + # Corresponds to the JSON property `riceHashes` + # @return [Google::Apis::SafebrowsingV4::RiceDeltaEncoding] + attr_accessor :rice_hashes + + # The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or + # compressed removal indices. + # Corresponds to the JSON property `riceIndices` + # @return [Google::Apis::SafebrowsingV4::RiceDeltaEncoding] + attr_accessor :rice_indices + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @compression_type = args[:compression_type] if args.key?(:compression_type) + @raw_hashes = args[:raw_hashes] if args.key?(:raw_hashes) + @raw_indices = args[:raw_indices] if args.key?(:raw_indices) + @rice_hashes = args[:rice_hashes] if args.key?(:rice_hashes) + @rice_indices = args[:rice_indices] if args.key?(:rice_indices) + end + end + + # The information regarding one or more threats that a client submits when + # checking for matches in threat lists. + class ThreatInfo + include Google::Apis::Core::Hashable + + # The platform types to be checked. + # Corresponds to the JSON property `platformTypes` + # @return [Array] + attr_accessor :platform_types + + # The threat entries to be checked. + # Corresponds to the JSON property `threatEntries` + # @return [Array] + attr_accessor :threat_entries + + # The entry types to be checked. + # Corresponds to the JSON property `threatEntryTypes` + # @return [Array] + attr_accessor :threat_entry_types + + # The threat types to be checked. + # Corresponds to the JSON property `threatTypes` + # @return [Array] + attr_accessor :threat_types + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @platform_types = args[:platform_types] if args.key?(:platform_types) + @threat_entries = args[:threat_entries] if args.key?(:threat_entries) + @threat_entry_types = args[:threat_entry_types] if args.key?(:threat_entry_types) + @threat_types = args[:threat_types] if args.key?(:threat_types) + end + end + + # Describes an individual threat list. A list is defined by three parameters: + # the type of threat posed, the type of platform targeted by the threat, and + # the type of entries in the list. + class ThreatListDescriptor + include Google::Apis::Core::Hashable + + # The platform type targeted by the list's entries. + # Corresponds to the JSON property `platformType` + # @return [String] + attr_accessor :platform_type + + # The entry types contained in the list. + # Corresponds to the JSON property `threatEntryType` + # @return [String] + attr_accessor :threat_entry_type + + # The threat type posed by the list's entries. + # Corresponds to the JSON property `threatType` + # @return [String] + attr_accessor :threat_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @platform_type = args[:platform_type] if args.key?(:platform_type) + @threat_entry_type = args[:threat_entry_type] if args.key?(:threat_entry_type) + @threat_type = args[:threat_type] if args.key?(:threat_type) + end + end + + # A match when checking a threat entry in the Safe Browsing threat lists. + class ThreatMatch + include Google::Apis::Core::Hashable + + # The cache lifetime for the returned match. Clients must not cache this + # response for more than this duration to avoid false positives. + # Corresponds to the JSON property `cacheDuration` + # @return [String] + attr_accessor :cache_duration + + # The platform type matching this threat. + # Corresponds to the JSON property `platformType` + # @return [String] + attr_accessor :platform_type + + # An individual threat; for example, a malicious URL or its hash + # representation. Only one of these fields should be set. + # Corresponds to the JSON property `threat` + # @return [Google::Apis::SafebrowsingV4::ThreatEntry] + attr_accessor :threat + + # The metadata associated with a specific threat entry. The client is expected + # to know the metadata key/value pairs associated with each threat type. + # Corresponds to the JSON property `threatEntryMetadata` + # @return [Google::Apis::SafebrowsingV4::ThreatEntryMetadata] + attr_accessor :threat_entry_metadata + + # The threat entry type matching this threat. + # Corresponds to the JSON property `threatEntryType` + # @return [String] + attr_accessor :threat_entry_type + + # The threat type matching this threat. + # Corresponds to the JSON property `threatType` + # @return [String] + attr_accessor :threat_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cache_duration = args[:cache_duration] if args.key?(:cache_duration) + @platform_type = args[:platform_type] if args.key?(:platform_type) + @threat = args[:threat] if args.key?(:threat) + @threat_entry_metadata = args[:threat_entry_metadata] if args.key?(:threat_entry_metadata) + @threat_entry_type = args[:threat_entry_type] if args.key?(:threat_entry_type) + @threat_type = args[:threat_type] if args.key?(:threat_type) + end + end + end + end +end diff --git a/generated/google/apis/safebrowsing_v4/representations.rb b/generated/google/apis/safebrowsing_v4/representations.rb new file mode 100644 index 000000000..3f7572b37 --- /dev/null +++ b/generated/google/apis/safebrowsing_v4/representations.rb @@ -0,0 +1,379 @@ +# 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 SafebrowsingV4 + + class Checksum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ClientInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Constraints + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FetchThreatListUpdatesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FetchThreatListUpdatesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FindFullHashesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FindFullHashesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FindThreatMatchesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FindThreatMatchesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListThreatListsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListUpdateRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListUpdateResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MetadataEntry + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RawHashes + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RawIndices + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RiceDeltaEncoding + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ThreatEntry + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ThreatEntryMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ThreatEntrySet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ThreatInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ThreatListDescriptor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ThreatMatch + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Checksum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :sha256, :base64 => true, as: 'sha256' + end + end + + class ClientInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :client_id, as: 'clientId' + property :client_version, as: 'clientVersion' + end + end + + class Constraints + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :max_database_entries, as: 'maxDatabaseEntries' + property :max_update_entries, as: 'maxUpdateEntries' + property :region, as: 'region' + collection :supported_compressions, as: 'supportedCompressions' + end + end + + class FetchThreatListUpdatesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :client, as: 'client', class: Google::Apis::SafebrowsingV4::ClientInfo, decorator: Google::Apis::SafebrowsingV4::ClientInfo::Representation + + collection :list_update_requests, as: 'listUpdateRequests', class: Google::Apis::SafebrowsingV4::ListUpdateRequest, decorator: Google::Apis::SafebrowsingV4::ListUpdateRequest::Representation + + end + end + + class FetchThreatListUpdatesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :list_update_responses, as: 'listUpdateResponses', class: Google::Apis::SafebrowsingV4::ListUpdateResponse, decorator: Google::Apis::SafebrowsingV4::ListUpdateResponse::Representation + + property :minimum_wait_duration, as: 'minimumWaitDuration' + end + end + + class FindFullHashesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :api_client, as: 'apiClient', class: Google::Apis::SafebrowsingV4::ClientInfo, decorator: Google::Apis::SafebrowsingV4::ClientInfo::Representation + + property :client, as: 'client', class: Google::Apis::SafebrowsingV4::ClientInfo, decorator: Google::Apis::SafebrowsingV4::ClientInfo::Representation + + collection :client_states, as: 'clientStates' + property :threat_info, as: 'threatInfo', class: Google::Apis::SafebrowsingV4::ThreatInfo, decorator: Google::Apis::SafebrowsingV4::ThreatInfo::Representation + + end + end + + class FindFullHashesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :matches, as: 'matches', class: Google::Apis::SafebrowsingV4::ThreatMatch, decorator: Google::Apis::SafebrowsingV4::ThreatMatch::Representation + + property :minimum_wait_duration, as: 'minimumWaitDuration' + property :negative_cache_duration, as: 'negativeCacheDuration' + end + end + + class FindThreatMatchesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :client, as: 'client', class: Google::Apis::SafebrowsingV4::ClientInfo, decorator: Google::Apis::SafebrowsingV4::ClientInfo::Representation + + property :threat_info, as: 'threatInfo', class: Google::Apis::SafebrowsingV4::ThreatInfo, decorator: Google::Apis::SafebrowsingV4::ThreatInfo::Representation + + end + end + + class FindThreatMatchesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :matches, as: 'matches', class: Google::Apis::SafebrowsingV4::ThreatMatch, decorator: Google::Apis::SafebrowsingV4::ThreatMatch::Representation + + end + end + + class ListThreatListsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :threat_lists, as: 'threatLists', class: Google::Apis::SafebrowsingV4::ThreatListDescriptor, decorator: Google::Apis::SafebrowsingV4::ThreatListDescriptor::Representation + + end + end + + class ListUpdateRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :constraints, as: 'constraints', class: Google::Apis::SafebrowsingV4::Constraints, decorator: Google::Apis::SafebrowsingV4::Constraints::Representation + + property :platform_type, as: 'platformType' + property :state, :base64 => true, as: 'state' + property :threat_entry_type, as: 'threatEntryType' + property :threat_type, as: 'threatType' + end + end + + class ListUpdateResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :additions, as: 'additions', class: Google::Apis::SafebrowsingV4::ThreatEntrySet, decorator: Google::Apis::SafebrowsingV4::ThreatEntrySet::Representation + + property :checksum, as: 'checksum', class: Google::Apis::SafebrowsingV4::Checksum, decorator: Google::Apis::SafebrowsingV4::Checksum::Representation + + property :new_client_state, :base64 => true, as: 'newClientState' + property :platform_type, as: 'platformType' + collection :removals, as: 'removals', class: Google::Apis::SafebrowsingV4::ThreatEntrySet, decorator: Google::Apis::SafebrowsingV4::ThreatEntrySet::Representation + + property :response_type, as: 'responseType' + property :threat_entry_type, as: 'threatEntryType' + property :threat_type, as: 'threatType' + end + end + + class MetadataEntry + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, :base64 => true, as: 'key' + property :value, :base64 => true, as: 'value' + end + end + + class RawHashes + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :prefix_size, as: 'prefixSize' + property :raw_hashes, :base64 => true, as: 'rawHashes' + end + end + + class RawIndices + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :indices, as: 'indices' + end + end + + class RiceDeltaEncoding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :encoded_data, :base64 => true, as: 'encodedData' + property :first_value, :numeric_string => true, as: 'firstValue' + property :num_entries, as: 'numEntries' + property :rice_parameter, as: 'riceParameter' + end + end + + class ThreatEntry + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :digest, :base64 => true, as: 'digest' + property :hash_prop, :base64 => true, as: 'hash' + property :url, as: 'url' + end + end + + class ThreatEntryMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :entries, as: 'entries', class: Google::Apis::SafebrowsingV4::MetadataEntry, decorator: Google::Apis::SafebrowsingV4::MetadataEntry::Representation + + end + end + + class ThreatEntrySet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :compression_type, as: 'compressionType' + property :raw_hashes, as: 'rawHashes', class: Google::Apis::SafebrowsingV4::RawHashes, decorator: Google::Apis::SafebrowsingV4::RawHashes::Representation + + property :raw_indices, as: 'rawIndices', class: Google::Apis::SafebrowsingV4::RawIndices, decorator: Google::Apis::SafebrowsingV4::RawIndices::Representation + + property :rice_hashes, as: 'riceHashes', class: Google::Apis::SafebrowsingV4::RiceDeltaEncoding, decorator: Google::Apis::SafebrowsingV4::RiceDeltaEncoding::Representation + + property :rice_indices, as: 'riceIndices', class: Google::Apis::SafebrowsingV4::RiceDeltaEncoding, decorator: Google::Apis::SafebrowsingV4::RiceDeltaEncoding::Representation + + end + end + + class ThreatInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :platform_types, as: 'platformTypes' + collection :threat_entries, as: 'threatEntries', class: Google::Apis::SafebrowsingV4::ThreatEntry, decorator: Google::Apis::SafebrowsingV4::ThreatEntry::Representation + + collection :threat_entry_types, as: 'threatEntryTypes' + collection :threat_types, as: 'threatTypes' + end + end + + class ThreatListDescriptor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :platform_type, as: 'platformType' + property :threat_entry_type, as: 'threatEntryType' + property :threat_type, as: 'threatType' + end + end + + class ThreatMatch + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cache_duration, as: 'cacheDuration' + property :platform_type, as: 'platformType' + property :threat, as: 'threat', class: Google::Apis::SafebrowsingV4::ThreatEntry, decorator: Google::Apis::SafebrowsingV4::ThreatEntry::Representation + + property :threat_entry_metadata, as: 'threatEntryMetadata', class: Google::Apis::SafebrowsingV4::ThreatEntryMetadata, decorator: Google::Apis::SafebrowsingV4::ThreatEntryMetadata::Representation + + property :threat_entry_type, as: 'threatEntryType' + property :threat_type, as: 'threatType' + end + end + end + end +end diff --git a/generated/google/apis/safebrowsing_v4/service.rb b/generated/google/apis/safebrowsing_v4/service.rb new file mode 100644 index 000000000..7bea79666 --- /dev/null +++ b/generated/google/apis/safebrowsing_v4/service.rb @@ -0,0 +1,252 @@ +# 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 SafebrowsingV4 + # Google Safe Browsing API + # + # Enables client applications to check web resources (most commonly URLs) + # against Google-generated lists of unsafe web resources. + # + # @example + # require 'google/apis/safebrowsing_v4' + # + # Safebrowsing = Google::Apis::SafebrowsingV4 # Alias the module + # service = Safebrowsing::SafebrowsingService.new + # + # @see https://developers.google.com/safe-browsing/ + class SafebrowsingService < 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://safebrowsing.googleapis.com/', '') + @batch_path = 'batch' + end + + # + # @param [String] encoded_request + # A serialized FindFullHashesRequest proto. + # @param [String] client_id + # A client ID that (hopefully) uniquely identifies the client implementation + # of the Safe Browsing API. + # @param [String] client_version + # The version of the client implementation. + # @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::SafebrowsingV4::FindFullHashesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SafebrowsingV4::FindFullHashesResponse] + # + # @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_encoded_full_hash(encoded_request, client_id: nil, client_version: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v4/encodedFullHashes/{encodedRequest}', options) + command.response_representation = Google::Apis::SafebrowsingV4::FindFullHashesResponse::Representation + command.response_class = Google::Apis::SafebrowsingV4::FindFullHashesResponse + command.params['encodedRequest'] = encoded_request unless encoded_request.nil? + command.query['clientId'] = client_id unless client_id.nil? + command.query['clientVersion'] = client_version unless client_version.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # + # @param [String] encoded_request + # A serialized FetchThreatListUpdatesRequest proto. + # @param [String] client_id + # A client ID that uniquely identifies the client implementation of the Safe + # Browsing API. + # @param [String] client_version + # The version of the client implementation. + # @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::SafebrowsingV4::FetchThreatListUpdatesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SafebrowsingV4::FetchThreatListUpdatesResponse] + # + # @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_encoded_update(encoded_request, client_id: nil, client_version: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v4/encodedUpdates/{encodedRequest}', options) + command.response_representation = Google::Apis::SafebrowsingV4::FetchThreatListUpdatesResponse::Representation + command.response_class = Google::Apis::SafebrowsingV4::FetchThreatListUpdatesResponse + command.params['encodedRequest'] = encoded_request unless encoded_request.nil? + command.query['clientId'] = client_id unless client_id.nil? + command.query['clientVersion'] = client_version unless client_version.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Finds the full hashes that match the requested hash prefixes. + # @param [Google::Apis::SafebrowsingV4::FindFullHashesRequest] find_full_hashes_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::SafebrowsingV4::FindFullHashesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SafebrowsingV4::FindFullHashesResponse] + # + # @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 find_full_hashes(find_full_hashes_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v4/fullHashes:find', options) + command.request_representation = Google::Apis::SafebrowsingV4::FindFullHashesRequest::Representation + command.request_object = find_full_hashes_request_object + command.response_representation = Google::Apis::SafebrowsingV4::FindFullHashesResponse::Representation + command.response_class = Google::Apis::SafebrowsingV4::FindFullHashesResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Fetches the most recent threat list updates. A client can request updates + # for multiple lists at once. + # @param [Google::Apis::SafebrowsingV4::FetchThreatListUpdatesRequest] fetch_threat_list_updates_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::SafebrowsingV4::FetchThreatListUpdatesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SafebrowsingV4::FetchThreatListUpdatesResponse] + # + # @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 fetch_threat_list_updates(fetch_threat_list_updates_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v4/threatListUpdates:fetch', options) + command.request_representation = Google::Apis::SafebrowsingV4::FetchThreatListUpdatesRequest::Representation + command.request_object = fetch_threat_list_updates_request_object + command.response_representation = Google::Apis::SafebrowsingV4::FetchThreatListUpdatesResponse::Representation + command.response_class = Google::Apis::SafebrowsingV4::FetchThreatListUpdatesResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists the Safe Browsing threat lists available for download. + # @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::SafebrowsingV4::ListThreatListsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SafebrowsingV4::ListThreatListsResponse] + # + # @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_threat_lists(fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v4/threatLists', options) + command.response_representation = Google::Apis::SafebrowsingV4::ListThreatListsResponse::Representation + command.response_class = Google::Apis::SafebrowsingV4::ListThreatListsResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Finds the threat entries that match the Safe Browsing lists. + # @param [Google::Apis::SafebrowsingV4::FindThreatMatchesRequest] find_threat_matches_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::SafebrowsingV4::FindThreatMatchesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SafebrowsingV4::FindThreatMatchesResponse] + # + # @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 find_threat_matches(find_threat_matches_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v4/threatMatches:find', options) + command.request_representation = Google::Apis::SafebrowsingV4::FindThreatMatchesRequest::Representation + command.request_object = find_threat_matches_request_object + command.response_representation = Google::Apis::SafebrowsingV4::FindThreatMatchesResponse::Representation + command.response_class = Google::Apis::SafebrowsingV4::FindThreatMatchesResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.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/script_v1.rb b/generated/google/apis/script_v1.rb index 89f773cf5..0a42e46f9 100644 --- a/generated/google/apis/script_v1.rb +++ b/generated/google/apis/script_v1.rb @@ -20,45 +20,45 @@ module Google module Apis # Google Apps Script Execution API # - # Executes Google Apps Script projects. + # Executes functions in Google Apps Script projects. # # @see https://developers.google.com/apps-script/execution/rest/v1/scripts/run module ScriptV1 VERSION = 'V1' - REVISION = '20170705' - - # View your email address - AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' - - # Manage your calendars - CALENDAR_FEEDS = 'https://www.google.com/calendar/feeds' - - # View and manage your Google Groups - AUTH_GROUPS = 'https://www.googleapis.com/auth/groups' - - # View and manage forms that this application has been installed in - AUTH_FORMS_CURRENTONLY = 'https://www.googleapis.com/auth/forms.currentonly' - - # View and manage the files in your Google Drive - AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' - - # View and manage the provisioning of users on your domain - AUTH_ADMIN_DIRECTORY_USER = 'https://www.googleapis.com/auth/admin.directory.user' - - # View and manage the provisioning of groups on your domain - AUTH_ADMIN_DIRECTORY_GROUP = 'https://www.googleapis.com/auth/admin.directory.group' + REVISION = '20170823' # Read, send, delete, and manage your email AUTH_SCOPE = 'https://mail.google.com/' - # View and manage your spreadsheets in Google Drive - AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets' + # Manage your calendars + CALENDAR_FEEDS = 'https://www.google.com/calendar/feeds' + + # Manage your contacts + M8_FEEDS = 'https://www.google.com/m8/feeds' + + # View and manage the provisioning of groups on your domain + AUTH_ADMIN_DIRECTORY_GROUP = 'https://www.googleapis.com/auth/admin.directory.group' + + # View and manage the provisioning of users on your domain + AUTH_ADMIN_DIRECTORY_USER = 'https://www.googleapis.com/auth/admin.directory.user' + + # View and manage the files in your Google Drive + AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' # View and manage your forms in Google Drive AUTH_FORMS = 'https://www.googleapis.com/auth/forms' - # Manage your contacts - M8_FEEDS = 'https://www.google.com/m8/feeds' + # View and manage forms that this application has been installed in + AUTH_FORMS_CURRENTONLY = 'https://www.googleapis.com/auth/forms.currentonly' + + # View and manage your Google Groups + AUTH_GROUPS = 'https://www.googleapis.com/auth/groups' + + # View and manage your spreadsheets in Google Drive + AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets' + + # View your email address + AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' end end end diff --git a/generated/google/apis/script_v1/classes.rb b/generated/google/apis/script_v1/classes.rb index a18386901..37d09c8a5 100644 --- a/generated/google/apis/script_v1/classes.rb +++ b/generated/google/apis/script_v1/classes.rb @@ -22,175 +22,6 @@ module Google module Apis module ScriptV1 - # A request to retrieve the results from a collection of requests, - # specified by the operation resource names. - class JoinAsyncRequest - include Google::Apis::Core::Hashable - - # Timeout for information retrieval in milliseconds. - # Corresponds to the JSON property `timeout` - # @return [String] - attr_accessor :timeout - - # The script id which specifies the script which all processes in the names - # field must be from. - # Corresponds to the JSON property `scriptId` - # @return [String] - attr_accessor :script_id - - # List of operation resource names that we want to join, - # as returned from a call to RunAsync. - # Corresponds to the JSON property `names` - # @return [Array] - attr_accessor :names - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @timeout = args[:timeout] if args.key?(:timeout) - @script_id = args[:script_id] if args.key?(:script_id) - @names = args[:names] if args.key?(:names) - end - end - - # An object that provides the return value of a function executed through the - # Apps Script Execution API. If a - # `run` call succeeds and the - # script function returns successfully, the response body's - # `response` field contains this - # `ExecutionResponse` object. - class ExecutionResponse - include Google::Apis::Core::Hashable - - # The return value of the script function. The type matches the object type - # returned in Apps Script. Functions called through the Execution API cannot - # return Apps Script-specific objects (such as a `Document` or a `Calendar`); - # they can only return primitive types such as a `string`, `number`, `array`, - # `object`, or `boolean`. - # Corresponds to the JSON property `result` - # @return [Object] - attr_accessor :result - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @result = args[:result] if args.key?(:result) - end - end - - # An object that provides the return value for the JoinAsync method. - class JoinAsyncResponse - include Google::Apis::Core::Hashable - - # The return values for each script function, in a map of operation resource - # names to the Operation containing the result of the process. The response - # will contain either an error or the result of the script function. - # Corresponds to the JSON property `results` - # @return [Hash] - attr_accessor :results - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @results = args[:results] if args.key?(:results) - end - end - - # The response will not arrive until the function finishes executing. The - # maximum runtime is listed in the guide to [limitations in Apps Script](https:// - # developers.google.com/apps-script/guides/services/quotas#current_limitations). - #

    If the script function returns successfully, the `response` field will - # contain an `ExecutionResponse` object with the function's return value in the - # object's `result` field.

    - #

    If the script function (or Apps Script itself) throws an exception, the ` - # error` field will contain a `Status` object. The `Status` object's `details` - # field will contain an array with a single `ExecutionError` object that - # provides information about the nature of the error.

    - #

    If the `run` call itself fails (for example, because of a malformed request - # or an authorization error), the method will return an HTTP response code in - # the 4XX range with a different format for the response body. Client libraries - # will automatically convert a 4XX response into an exception class.

    - class Operation - include Google::Apis::Core::Hashable - - # This field is not used. - # Corresponds to the JSON property `done` - # @return [Boolean] - attr_accessor :done - alias_method :done?, :done - - # If the script function returns successfully, this field will contain an ` - # ExecutionResponse` object with the function's return value as the object's ` - # result` field. - # Corresponds to the JSON property `response` - # @return [Hash] - attr_accessor :response - - # This field is not used. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # If a `run` call succeeds but the script function (or Apps Script itself) - # throws an exception, the response body's `error` field will contain this ` - # Status` object. - # Corresponds to the JSON property `error` - # @return [Google::Apis::ScriptV1::Status] - attr_accessor :error - - # This field is not used. - # 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) - @done = args[:done] if args.key?(:done) - @response = args[:response] if args.key?(:response) - @name = args[:name] if args.key?(:name) - @error = args[:error] if args.key?(:error) - @metadata = args[:metadata] if args.key?(:metadata) - end - end - - # A stack trace through the script that shows where the execution failed. - class ScriptStackTraceElement - include Google::Apis::Core::Hashable - - # The name of the function that failed. - # Corresponds to the JSON property `function` - # @return [String] - attr_accessor :function - - # The line number where the script failed. - # Corresponds to the JSON property `lineNumber` - # @return [Fixnum] - attr_accessor :line_number - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @function = args[:function] if args.key?(:function) - @line_number = args[:line_number] if args.key?(:line_number) - end - end - # An object that provides information about the nature of an error in the Apps # Script Execution API. If an # `run` call succeeds but the @@ -201,18 +32,18 @@ module Google class ExecutionError include Google::Apis::Core::Hashable - # The error type, for example `TypeError` or `ReferenceError`. If the error - # type is unavailable, this field is not included. - # Corresponds to the JSON property `errorType` - # @return [String] - attr_accessor :error_type - # The error message thrown by Apps Script, usually localized into the user's # language. # Corresponds to the JSON property `errorMessage` # @return [String] attr_accessor :error_message + # The error type, for example `TypeError` or `ReferenceError`. If the error + # type is unavailable, this field is not included. + # Corresponds to the JSON property `errorType` + # @return [String] + attr_accessor :error_type + # An array of objects that provide a stack trace through the script to show # where the execution failed, with the deepest call first. # Corresponds to the JSON property `scriptStackTraceElements` @@ -225,49 +56,12 @@ module Google # Update properties of this object def update!(**args) - @error_type = args[:error_type] if args.key?(:error_type) @error_message = args[:error_message] if args.key?(:error_message) + @error_type = args[:error_type] if args.key?(:error_type) @script_stack_trace_elements = args[:script_stack_trace_elements] if args.key?(:script_stack_trace_elements) end end - # If a `run` call succeeds but the script function (or Apps Script itself) - # throws an exception, the response body's `error` field will contain this ` - # Status` object. - class Status - include Google::Apis::Core::Hashable - - # An array that contains a single `ExecutionError` object that provides - # information about the nature of the error. - # Corresponds to the JSON property `details` - # @return [Array>] - attr_accessor :details - - # The status code. For this API, this value will always be 3, corresponding to - # an INVALID_ARGUMENT error. - # Corresponds to the JSON property `code` - # @return [Fixnum] - attr_accessor :code - - # A developer-facing error message, which is in English. Any user-facing error - # message is localized and sent in the [`google.rpc.Status.details`](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) - @details = args[:details] if args.key?(:details) - @code = args[:code] if args.key?(:code) - @message = args[:message] if args.key?(:message) - end - end - # A request to run the function in a script. The script is identified by the # specified `script_id`. Executing a function on a script returns results # based on the implementation of the script. @@ -323,6 +117,154 @@ module Google @session_state = args[:session_state] if args.key?(:session_state) end end + + # An object that provides the return value of a function executed through the + # Apps Script Execution API. If a + # `run` call succeeds and the + # script function returns successfully, the response body's + # `response` field contains this + # `ExecutionResponse` object. + class ExecutionResponse + include Google::Apis::Core::Hashable + + # The return value of the script function. The type matches the object type + # returned in Apps Script. Functions called through the Execution API cannot + # return Apps Script-specific objects (such as a `Document` or a `Calendar`); + # they can only return primitive types such as a `string`, `number`, `array`, + # `object`, or `boolean`. + # Corresponds to the JSON property `result` + # @return [Object] + attr_accessor :result + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @result = args[:result] if args.key?(:result) + end + end + + # The response will not arrive until the function finishes executing. The + # maximum runtime is listed in the guide to [limitations in Apps Script](https:// + # developers.google.com/apps-script/guides/services/quotas#current_limitations). + #

    If the script function returns successfully, the `response` field will + # contain an `ExecutionResponse` object with the function's return value in the + # object's `result` field.

    + #

    If the script function (or Apps Script itself) throws an exception, the ` + # error` field will contain a `Status` object. The `Status` object's `details` + # field will contain an array with a single `ExecutionError` object that + # provides information about the nature of the error.

    + #

    If the `run` call itself fails (for example, because of a malformed request + # or an authorization error), the method will return an HTTP response code in + # the 4XX range with a different format for the response body. Client libraries + # will automatically convert a 4XX response into an exception class.

    + class Operation + include Google::Apis::Core::Hashable + + # This field is only used with asynchronous executions and indicates whether or + # not the script execution has completed. A completed execution has a populated + # response field containing the `ExecutionResponse` from function that was + # executed. + # Corresponds to the JSON property `done` + # @return [Boolean] + attr_accessor :done + alias_method :done?, :done + + # If a `run` call succeeds but the script function (or Apps Script itself) + # throws an exception, the response body's `error` field will contain this ` + # Status` object. + # Corresponds to the JSON property `error` + # @return [Google::Apis::ScriptV1::Status] + attr_accessor :error + + # This field is not used. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # If the script function returns successfully, this field will contain an ` + # ExecutionResponse` object with the function's return value as the object's ` + # result` field. + # 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) + @done = args[:done] if args.key?(:done) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + @response = args[:response] if args.key?(:response) + end + end + + # A stack trace through the script that shows where the execution failed. + class ScriptStackTraceElement + include Google::Apis::Core::Hashable + + # The name of the function that failed. + # Corresponds to the JSON property `function` + # @return [String] + attr_accessor :function + + # The line number where the script failed. + # Corresponds to the JSON property `lineNumber` + # @return [Fixnum] + attr_accessor :line_number + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @function = args[:function] if args.key?(:function) + @line_number = args[:line_number] if args.key?(:line_number) + end + end + + # If a `run` call succeeds but the script function (or Apps Script itself) + # throws an exception, the response body's `error` field will contain this ` + # Status` object. + class Status + include Google::Apis::Core::Hashable + + # The status code. For this API, this value will always be 3, corresponding to + # an INVALID_ARGUMENT error. + # Corresponds to the JSON property `code` + # @return [Fixnum] + attr_accessor :code + + # An array that contains a single `ExecutionError` object that provides + # information about the nature of the error. + # Corresponds to the JSON property `details` + # @return [Array>] + attr_accessor :details + + # A developer-facing error message, which is in English. Any user-facing error + # message is localized and sent in the [`google.rpc.Status.details`](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 end end end diff --git a/generated/google/apis/script_v1/representations.rb b/generated/google/apis/script_v1/representations.rb index 0e2bfc52b..80fbe8b62 100644 --- a/generated/google/apis/script_v1/representations.rb +++ b/generated/google/apis/script_v1/representations.rb @@ -22,117 +22,52 @@ module Google module Apis module ScriptV1 - class JoinAsyncRequest - 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 JoinAsyncResponse - 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 ScriptStackTraceElement - 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 Status - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ExecutionRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class JoinAsyncRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :timeout, as: 'timeout' - property :script_id, as: 'scriptId' - collection :names, as: 'names' - end - end - class ExecutionResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :result, as: 'result' - end - end + class Representation < Google::Apis::Core::JsonRepresentation; end - class JoinAsyncResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :results, as: 'results', class: Google::Apis::ScriptV1::Operation, decorator: Google::Apis::ScriptV1::Operation::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class Operation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :done, as: 'done' - hash :response, as: 'response' - property :name, as: 'name' - property :error, as: 'error', class: Google::Apis::ScriptV1::Status, decorator: Google::Apis::ScriptV1::Status::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - hash :metadata, as: 'metadata' - end + include Google::Apis::Core::JsonObjectSupport end class ScriptStackTraceElement - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :function, as: 'function' - property :line_number, as: 'lineNumber' - end + 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 # @private class Representation < Google::Apis::Core::JsonRepresentation - property :error_type, as: 'errorType' property :error_message, as: 'errorMessage' + property :error_type, as: 'errorType' collection :script_stack_trace_elements, as: 'scriptStackTraceElements', class: Google::Apis::ScriptV1::ScriptStackTraceElement, decorator: Google::Apis::ScriptV1::ScriptStackTraceElement::Representation end end - class Status - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :details, as: 'details' - property :code, as: 'code' - property :message, as: 'message' - end - end - class ExecutionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -142,6 +77,41 @@ module Google property :session_state, as: 'sessionState' end end + + class ExecutionResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :result, as: 'result' + end + end + + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::ScriptV1::Status, decorator: Google::Apis::ScriptV1::Status::Representation + + hash :metadata, as: 'metadata' + hash :response, as: 'response' + end + end + + class ScriptStackTraceElement + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :function, as: 'function' + property :line_number, as: 'lineNumber' + 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 end end end diff --git a/generated/google/apis/script_v1/service.rb b/generated/google/apis/script_v1/service.rb index b35bbdb0e..4ed04b2cb 100644 --- a/generated/google/apis/script_v1/service.rb +++ b/generated/google/apis/script_v1/service.rb @@ -22,7 +22,7 @@ module Google module ScriptV1 # Google Apps Script Execution API # - # Executes Google Apps Script projects. + # Executes functions in Google Apps Script projects. # # @example # require 'google/apis/script_v1' @@ -32,16 +32,16 @@ module Google # # @see https://developers.google.com/apps-script/execution/rest/v1/scripts/run class ScriptService < Google::Apis::Core::BaseService - # @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 - # @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://script.googleapis.com/', '') @batch_path = 'batch' @@ -56,14 +56,14 @@ module Google # authentication token, open the project in the script editor, then select # **File > Project properties** and click the **Scopes** tab. # @param [String] script_id - # The project key of the script to be executed. To find the project key, open + # The script ID of the script to be executed. To find the script ID, open # the project in the script editor and select **File > Project properties**. # @param [Google::Apis::ScriptV1::ExecutionRequest] execution_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -76,23 +76,23 @@ 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 run_script(script_id, execution_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def run_script(script_id, execution_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/scripts/{scriptId}:run', options) command.request_representation = Google::Apis::ScriptV1::ExecutionRequest::Representation command.request_object = execution_request_object command.response_representation = Google::Apis::ScriptV1::Operation::Representation command.response_class = Google::Apis::ScriptV1::Operation command.params['scriptId'] = script_id unless script_id.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 protected def apply_command_defaults(command) - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? end end end diff --git a/generated/google/apis/searchconsole_v1.rb b/generated/google/apis/searchconsole_v1.rb index e29385241..6edf3a1f4 100644 --- a/generated/google/apis/searchconsole_v1.rb +++ b/generated/google/apis/searchconsole_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/webmaster-tools/search-console-api/ module SearchconsoleV1 VERSION = 'V1' - REVISION = '20170711' + REVISION = '20170805' end end end diff --git a/generated/google/apis/searchconsole_v1/classes.rb b/generated/google/apis/searchconsole_v1/classes.rb index 3bb7042cf..8812645d8 100644 --- a/generated/google/apis/searchconsole_v1/classes.rb +++ b/generated/google/apis/searchconsole_v1/classes.rb @@ -22,88 +22,6 @@ module Google module Apis module SearchconsoleV1 - # Mobile-friendly issue. - class MobileFriendlyIssue - include Google::Apis::Core::Hashable - - # Rule violated. - # Corresponds to the JSON property `rule` - # @return [String] - attr_accessor :rule - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @rule = args[:rule] if args.key?(:rule) - end - end - - # Mobile-friendly test response, including mobile-friendly issues and resource - # issues. - class RunMobileFriendlyTestResponse - include Google::Apis::Core::Hashable - - # Information about embedded resources issues. - # Corresponds to the JSON property `resourceIssues` - # @return [Array] - attr_accessor :resource_issues - - # Final state of the test, including error details if necessary. - # Corresponds to the JSON property `testStatus` - # @return [Google::Apis::SearchconsoleV1::TestStatus] - attr_accessor :test_status - - # Test verdict, whether the page is mobile friendly or not. - # Corresponds to the JSON property `mobileFriendliness` - # @return [String] - attr_accessor :mobile_friendliness - - # List of mobile-usability issues. - # Corresponds to the JSON property `mobileFriendlyIssues` - # @return [Array] - attr_accessor :mobile_friendly_issues - - # Describe image data. - # Corresponds to the JSON property `screenshot` - # @return [Google::Apis::SearchconsoleV1::Image] - attr_accessor :screenshot - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @resource_issues = args[:resource_issues] if args.key?(:resource_issues) - @test_status = args[:test_status] if args.key?(:test_status) - @mobile_friendliness = args[:mobile_friendliness] if args.key?(:mobile_friendliness) - @mobile_friendly_issues = args[:mobile_friendly_issues] if args.key?(:mobile_friendly_issues) - @screenshot = args[:screenshot] if args.key?(:screenshot) - end - end - - # Information about a resource with issue. - class ResourceIssue - include Google::Apis::Core::Hashable - - # Blocked resource. - # Corresponds to the JSON property `blockedResource` - # @return [Google::Apis::SearchconsoleV1::BlockedResource] - attr_accessor :blocked_resource - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @blocked_resource = args[:blocked_resource] if args.key?(:blocked_resource) - end - end - # Blocked resource. class BlockedResource include Google::Apis::Core::Hashable @@ -123,40 +41,10 @@ module Google end end - # Final state of the test, including error details if necessary. - class TestStatus - include Google::Apis::Core::Hashable - - # Status of the test. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - # Error details if applicable. - # Corresponds to the JSON property `details` - # @return [String] - attr_accessor :details - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @status = args[:status] if args.key?(:status) - @details = args[:details] if args.key?(:details) - end - end - # Describe image data. class Image include Google::Apis::Core::Hashable - # The mime-type of the image data. - # Corresponds to the JSON property `mimeType` - # @return [String] - attr_accessor :mime_type - # Image data in format determined by the mime type. Currently, the format # will always be "image/png", but this might change in the future. # Corresponds to the JSON property `data` @@ -164,14 +52,57 @@ module Google # @return [String] attr_accessor :data + # The mime-type of the image data. + # Corresponds to the JSON property `mimeType` + # @return [String] + attr_accessor :mime_type + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @mime_type = args[:mime_type] if args.key?(:mime_type) @data = args[:data] if args.key?(:data) + @mime_type = args[:mime_type] if args.key?(:mime_type) + end + end + + # Mobile-friendly issue. + class MobileFriendlyIssue + include Google::Apis::Core::Hashable + + # Rule violated. + # Corresponds to the JSON property `rule` + # @return [String] + attr_accessor :rule + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @rule = args[:rule] if args.key?(:rule) + end + end + + # Information about a resource with issue. + class ResourceIssue + include Google::Apis::Core::Hashable + + # Blocked resource. + # Corresponds to the JSON property `blockedResource` + # @return [Google::Apis::SearchconsoleV1::BlockedResource] + attr_accessor :blocked_resource + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @blocked_resource = args[:blocked_resource] if args.key?(:blocked_resource) end end @@ -200,6 +131,75 @@ module Google @url = args[:url] if args.key?(:url) end end + + # Mobile-friendly test response, including mobile-friendly issues and resource + # issues. + class RunMobileFriendlyTestResponse + include Google::Apis::Core::Hashable + + # Test verdict, whether the page is mobile friendly or not. + # Corresponds to the JSON property `mobileFriendliness` + # @return [String] + attr_accessor :mobile_friendliness + + # List of mobile-usability issues. + # Corresponds to the JSON property `mobileFriendlyIssues` + # @return [Array] + attr_accessor :mobile_friendly_issues + + # Information about embedded resources issues. + # Corresponds to the JSON property `resourceIssues` + # @return [Array] + attr_accessor :resource_issues + + # Describe image data. + # Corresponds to the JSON property `screenshot` + # @return [Google::Apis::SearchconsoleV1::Image] + attr_accessor :screenshot + + # Final state of the test, including error details if necessary. + # Corresponds to the JSON property `testStatus` + # @return [Google::Apis::SearchconsoleV1::TestStatus] + attr_accessor :test_status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @mobile_friendliness = args[:mobile_friendliness] if args.key?(:mobile_friendliness) + @mobile_friendly_issues = args[:mobile_friendly_issues] if args.key?(:mobile_friendly_issues) + @resource_issues = args[:resource_issues] if args.key?(:resource_issues) + @screenshot = args[:screenshot] if args.key?(:screenshot) + @test_status = args[:test_status] if args.key?(:test_status) + end + end + + # Final state of the test, including error details if necessary. + class TestStatus + include Google::Apis::Core::Hashable + + # Error details if applicable. + # Corresponds to the JSON property `details` + # @return [String] + attr_accessor :details + + # Status of the test. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @details = args[:details] if args.key?(:details) + @status = args[:status] if args.key?(:status) + end + end end end end diff --git a/generated/google/apis/searchconsole_v1/representations.rb b/generated/google/apis/searchconsole_v1/representations.rb index b400b15e2..449923323 100644 --- a/generated/google/apis/searchconsole_v1/representations.rb +++ b/generated/google/apis/searchconsole_v1/representations.rb @@ -22,48 +22,63 @@ module Google module Apis module SearchconsoleV1 - class MobileFriendlyIssue - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RunMobileFriendlyTestResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ResourceIssue - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class BlockedResource class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class TestStatus - 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 MobileFriendlyIssue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ResourceIssue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class RunMobileFriendlyTestRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class RunMobileFriendlyTestResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TestStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BlockedResource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :url, as: 'url' + end + end + + class Image + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data, :base64 => true, as: 'data' + property :mime_type, as: 'mimeType' + end + end + class MobileFriendlyIssue # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -71,21 +86,6 @@ module Google end end - class RunMobileFriendlyTestResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :resource_issues, as: 'resourceIssues', class: Google::Apis::SearchconsoleV1::ResourceIssue, decorator: Google::Apis::SearchconsoleV1::ResourceIssue::Representation - - property :test_status, as: 'testStatus', class: Google::Apis::SearchconsoleV1::TestStatus, decorator: Google::Apis::SearchconsoleV1::TestStatus::Representation - - property :mobile_friendliness, as: 'mobileFriendliness' - collection :mobile_friendly_issues, as: 'mobileFriendlyIssues', class: Google::Apis::SearchconsoleV1::MobileFriendlyIssue, decorator: Google::Apis::SearchconsoleV1::MobileFriendlyIssue::Representation - - property :screenshot, as: 'screenshot', class: Google::Apis::SearchconsoleV1::Image, decorator: Google::Apis::SearchconsoleV1::Image::Representation - - end - end - class ResourceIssue # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -94,29 +94,6 @@ module Google end end - class BlockedResource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' - end - end - - class TestStatus - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :status, as: 'status' - property :details, as: 'details' - end - end - - class Image - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :mime_type, as: 'mimeType' - property :data, :base64 => true, as: 'data' - end - end - class RunMobileFriendlyTestRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -124,6 +101,29 @@ module Google property :url, as: 'url' end end + + class RunMobileFriendlyTestResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :mobile_friendliness, as: 'mobileFriendliness' + collection :mobile_friendly_issues, as: 'mobileFriendlyIssues', class: Google::Apis::SearchconsoleV1::MobileFriendlyIssue, decorator: Google::Apis::SearchconsoleV1::MobileFriendlyIssue::Representation + + collection :resource_issues, as: 'resourceIssues', class: Google::Apis::SearchconsoleV1::ResourceIssue, decorator: Google::Apis::SearchconsoleV1::ResourceIssue::Representation + + property :screenshot, as: 'screenshot', class: Google::Apis::SearchconsoleV1::Image, decorator: Google::Apis::SearchconsoleV1::Image::Representation + + property :test_status, as: 'testStatus', class: Google::Apis::SearchconsoleV1::TestStatus, decorator: Google::Apis::SearchconsoleV1::TestStatus::Representation + + end + end + + class TestStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :details, as: 'details' + property :status, as: 'status' + end + end end end end diff --git a/generated/google/apis/servicecontrol_v1.rb b/generated/google/apis/servicecontrol_v1.rb index 96a67ec76..01abb9ab4 100644 --- a/generated/google/apis/servicecontrol_v1.rb +++ b/generated/google/apis/servicecontrol_v1.rb @@ -26,13 +26,13 @@ module Google # @see https://cloud.google.com/service-control/ module ServicecontrolV1 VERSION = 'V1' - REVISION = '20170626' - - # Manage your Google Service Control data - AUTH_SERVICECONTROL = 'https://www.googleapis.com/auth/servicecontrol' + REVISION = '20170819' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + + # Manage your Google Service Control data + AUTH_SERVICECONTROL = 'https://www.googleapis.com/auth/servicecontrol' end end end diff --git a/generated/google/apis/servicecontrol_v1/classes.rb b/generated/google/apis/servicecontrol_v1/classes.rb index af38b8903..a02e966ef 100644 --- a/generated/google/apis/servicecontrol_v1/classes.rb +++ b/generated/google/apis/servicecontrol_v1/classes.rb @@ -22,123 +22,24 @@ module Google module Apis module ServicecontrolV1 - # Represents a single metric value. - class MetricValue + # Request message for the AllocateQuota method. + class AllocateQuotaRequest include Google::Apis::Core::Hashable - # Distribution represents a frequency distribution of double-valued sample - # points. It contains the size of the population of sample points plus - # additional optional information: - # - the arithmetic mean of the samples - # - the minimum and maximum of the samples - # - the sum-squared-deviation of the samples, used to compute variance - # - a histogram of the values of the sample points - # Corresponds to the JSON property `distributionValue` - # @return [Google::Apis::ServicecontrolV1::Distribution] - attr_accessor :distribution_value + # Represents information regarding a quota operation. + # Corresponds to the JSON property `allocateOperation` + # @return [Google::Apis::ServicecontrolV1::QuotaOperation] + attr_accessor :allocate_operation - # A boolean value. - # Corresponds to the JSON property `boolValue` - # @return [Boolean] - attr_accessor :bool_value - alias_method :bool_value?, :bool_value - - # The end of the time period over which this metric value's measurement - # applies. - # Corresponds to the JSON property `endTime` + # Allocation mode for this operation. + # Deprecated: use QuotaMode inside the QuotaOperation. + # Corresponds to the JSON property `allocationMode` # @return [String] - attr_accessor :end_time + attr_accessor :allocation_mode - # The start of the time period over which this metric value's measurement - # applies. The time period has different semantics for different metric - # types (cumulative, delta, and gauge). See the metric definition - # documentation in the service configuration for details. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # Represents an amount of money with its currency type. - # Corresponds to the JSON property `moneyValue` - # @return [Google::Apis::ServicecontrolV1::Money] - attr_accessor :money_value - - # The labels describing the metric value. - # See comments on google.api.servicecontrol.v1.Operation.labels for - # the overriding relationship. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # A text string value. - # Corresponds to the JSON property `stringValue` - # @return [String] - attr_accessor :string_value - - # A double precision floating point value. - # Corresponds to the JSON property `doubleValue` - # @return [Float] - attr_accessor :double_value - - # A signed 64-bit integer value. - # Corresponds to the JSON property `int64Value` - # @return [Fixnum] - attr_accessor :int64_value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @distribution_value = args[:distribution_value] if args.key?(:distribution_value) - @bool_value = args[:bool_value] if args.key?(:bool_value) - @end_time = args[:end_time] if args.key?(:end_time) - @start_time = args[:start_time] if args.key?(:start_time) - @money_value = args[:money_value] if args.key?(:money_value) - @labels = args[:labels] if args.key?(:labels) - @string_value = args[:string_value] if args.key?(:string_value) - @double_value = args[:double_value] if args.key?(:double_value) - @int64_value = args[:int64_value] if args.key?(:int64_value) - end - end - - # - class EndReconciliationResponse - include Google::Apis::Core::Hashable - - # Metric values as tracked by One Platform before the adjustment was made. - # The following metrics will be included: - # 1. Per quota metric total usage will be specified using the following gauge - # metric: - # "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" - # 2. Value for each quota limit associated with the metrics will be specified - # using the following gauge metric: - # "serviceruntime.googleapis.com/quota/limit" - # 3. Delta value of the usage after the reconciliation for limits associated - # with the metrics will be specified using the following metric: - # "serviceruntime.googleapis.com/allocation/reconciliation_delta" - # The delta value is defined as: - # new_usage_from_client - existing_value_in_spanner. - # This metric is not defined in serviceruntime.yaml or in Cloud Monarch. - # This metric is meant for callers' use only. Since this metric is not - # defined in the monitoring backend, reporting on this metric will result in - # an error. - # Corresponds to the JSON property `quotaMetrics` - # @return [Array] - attr_accessor :quota_metrics - - # Indicates the decision of the reconciliation end. - # Corresponds to the JSON property `reconciliationErrors` - # @return [Array] - attr_accessor :reconciliation_errors - - # The same operation_id value used in the EndReconciliationRequest. Used for - # logging and diagnostics purposes. - # Corresponds to the JSON property `operationId` - # @return [String] - attr_accessor :operation_id - - # ID of the actual config used to process the request. + # Specifies which version of service configuration should be used to process + # the request. If unspecified or no matching version can be found, the latest + # one will be used. # Corresponds to the JSON property `serviceConfigId` # @return [String] attr_accessor :service_config_id @@ -149,383 +50,12 @@ module Google # Update properties of this object def update!(**args) - @quota_metrics = args[:quota_metrics] if args.key?(:quota_metrics) - @reconciliation_errors = args[:reconciliation_errors] if args.key?(:reconciliation_errors) - @operation_id = args[:operation_id] if args.key?(:operation_id) + @allocate_operation = args[:allocate_operation] if args.key?(:allocate_operation) + @allocation_mode = args[:allocation_mode] if args.key?(:allocation_mode) @service_config_id = args[:service_config_id] if args.key?(:service_config_id) end end - # Represents an amount of money with its currency type. - class Money - include Google::Apis::Core::Hashable - - # The 3-letter currency code defined in ISO 4217. - # Corresponds to the JSON property `currencyCode` - # @return [String] - attr_accessor :currency_code - - # Number of nano (10^-9) units of the amount. - # The value must be between -999,999,999 and +999,999,999 inclusive. - # If `units` is positive, `nanos` must be positive or zero. - # If `units` is zero, `nanos` can be positive, zero, or negative. - # If `units` is negative, `nanos` must be negative or zero. - # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. - # Corresponds to the JSON property `nanos` - # @return [Fixnum] - attr_accessor :nanos - - # The whole units of the amount. - # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. - # Corresponds to the JSON property `units` - # @return [Fixnum] - attr_accessor :units - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @currency_code = args[:currency_code] if args.key?(:currency_code) - @nanos = args[:nanos] if args.key?(:nanos) - @units = args[:units] if args.key?(:units) - end - end - - # Distribution represents a frequency distribution of double-valued sample - # points. It contains the size of the population of sample points plus - # additional optional information: - # - the arithmetic mean of the samples - # - the minimum and maximum of the samples - # - the sum-squared-deviation of the samples, used to compute variance - # - a histogram of the values of the sample points - class Distribution - include Google::Apis::Core::Hashable - - # The total number of samples in the distribution. Must be >= 0. - # Corresponds to the JSON property `count` - # @return [Fixnum] - attr_accessor :count - - # The arithmetic mean of the samples in the distribution. If `count` is - # zero then this field must be zero. - # Corresponds to the JSON property `mean` - # @return [Float] - attr_accessor :mean - - # The number of samples in each histogram bucket. `bucket_counts` are - # optional. If present, they must sum to the `count` value. - # The buckets are defined below in `bucket_option`. There are N buckets. - # `bucket_counts[0]` is the number of samples in the underflow bucket. - # `bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples - # in each of the finite buckets. And `bucket_counts[N] is the number - # of samples in the overflow bucket. See the comments of `bucket_option` - # below for more details. - # Any suffix of trailing zeros may be omitted. - # Corresponds to the JSON property `bucketCounts` - # @return [Array] - attr_accessor :bucket_counts - - # Describing buckets with arbitrary user-provided width. - # Corresponds to the JSON property `explicitBuckets` - # @return [Google::Apis::ServicecontrolV1::ExplicitBuckets] - attr_accessor :explicit_buckets - - # The maximum of the population of values. Ignored if `count` is zero. - # Corresponds to the JSON property `maximum` - # @return [Float] - attr_accessor :maximum - - # The sum of squared deviations from the mean: - # Sum[i=1..count]((x_i - mean)^2) - # where each x_i is a sample values. If `count` is zero then this field - # must be zero, otherwise validation of the request fails. - # Corresponds to the JSON property `sumOfSquaredDeviation` - # @return [Float] - attr_accessor :sum_of_squared_deviation - - # Describing buckets with exponentially growing width. - # Corresponds to the JSON property `exponentialBuckets` - # @return [Google::Apis::ServicecontrolV1::ExponentialBuckets] - attr_accessor :exponential_buckets - - # The minimum of the population of values. Ignored if `count` is zero. - # Corresponds to the JSON property `minimum` - # @return [Float] - attr_accessor :minimum - - # Describing buckets with constant width. - # Corresponds to the JSON property `linearBuckets` - # @return [Google::Apis::ServicecontrolV1::LinearBuckets] - attr_accessor :linear_buckets - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @count = args[:count] if args.key?(:count) - @mean = args[:mean] if args.key?(:mean) - @bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts) - @explicit_buckets = args[:explicit_buckets] if args.key?(:explicit_buckets) - @maximum = args[:maximum] if args.key?(:maximum) - @sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation) - @exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets) - @minimum = args[:minimum] if args.key?(:minimum) - @linear_buckets = args[:linear_buckets] if args.key?(:linear_buckets) - end - end - - # Describing buckets with arbitrary user-provided width. - class ExplicitBuckets - include Google::Apis::Core::Hashable - - # 'bound' is a list of strictly increasing boundaries between - # buckets. Note that a list of length N-1 defines N buckets because - # of fenceposting. See comments on `bucket_options` for details. - # The i'th finite bucket covers the interval - # [bound[i-1], bound[i]) - # where i ranges from 1 to bound_size() - 1. Note that there are no - # finite buckets at all if 'bound' only contains a single element; in - # that special case the single bound defines the boundary between the - # underflow and overflow buckets. - # bucket number lower bound upper bound - # i == 0 (underflow) -inf bound[i] - # 0 < i < bound_size() bound[i-1] bound[i] - # i == bound_size() (overflow) bound[i-1] +inf - # Corresponds to the JSON property `bounds` - # @return [Array] - attr_accessor :bounds - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bounds = args[:bounds] if args.key?(:bounds) - end - end - - # Describing buckets with exponentially growing width. - class ExponentialBuckets - include Google::Apis::Core::Hashable - - # The number of finite buckets. With the underflow and overflow buckets, - # the total number of buckets is `num_finite_buckets` + 2. - # See comments on `bucket_options` for details. - # Corresponds to the JSON property `numFiniteBuckets` - # @return [Fixnum] - attr_accessor :num_finite_buckets - - # The i'th exponential bucket covers the interval - # [scale * growth_factor^(i-1), scale * growth_factor^i) - # where i ranges from 1 to num_finite_buckets inclusive. - # Must be larger than 1.0. - # Corresponds to the JSON property `growthFactor` - # @return [Float] - attr_accessor :growth_factor - - # The i'th exponential bucket covers the interval - # [scale * growth_factor^(i-1), scale * growth_factor^i) - # where i ranges from 1 to num_finite_buckets inclusive. - # Must be > 0. - # Corresponds to the JSON property `scale` - # @return [Float] - attr_accessor :scale - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) - @growth_factor = args[:growth_factor] if args.key?(:growth_factor) - @scale = args[:scale] if args.key?(:scale) - end - end - - # Authorization information for the operation. - class AuthorizationInfo - include Google::Apis::Core::Hashable - - # The required IAM permission. - # Corresponds to the JSON property `permission` - # @return [String] - attr_accessor :permission - - # The resource being accessed, as a REST-style string. For example: - # bigquery.googlapis.com/projects/PROJECTID/datasets/DATASETID - # Corresponds to the JSON property `resource` - # @return [String] - attr_accessor :resource - - # Whether or not authorization for `resource` and `permission` - # was granted. - # Corresponds to the JSON property `granted` - # @return [Boolean] - attr_accessor :granted - alias_method :granted?, :granted - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permission = args[:permission] if args.key?(:permission) - @resource = args[:resource] if args.key?(:resource) - @granted = args[:granted] if args.key?(:granted) - end - end - - # - class StartReconciliationResponse - include Google::Apis::Core::Hashable - - # Metric values as tracked by One Platform before the start of - # reconciliation. The following metrics will be included: - # 1. Per quota metric total usage will be specified using the following gauge - # metric: - # "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" - # 2. Value for each quota limit associated with the metrics will be specified - # using the following gauge metric: - # "serviceruntime.googleapis.com/quota/limit" - # Corresponds to the JSON property `quotaMetrics` - # @return [Array] - attr_accessor :quota_metrics - - # Indicates the decision of the reconciliation start. - # Corresponds to the JSON property `reconciliationErrors` - # @return [Array] - attr_accessor :reconciliation_errors - - # The same operation_id value used in the StartReconciliationRequest. Used - # for logging and diagnostics purposes. - # Corresponds to the JSON property `operationId` - # @return [String] - attr_accessor :operation_id - - # ID of the actual config used to process the request. - # Corresponds to the JSON property `serviceConfigId` - # @return [String] - attr_accessor :service_config_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @quota_metrics = args[:quota_metrics] if args.key?(:quota_metrics) - @reconciliation_errors = args[:reconciliation_errors] if args.key?(:reconciliation_errors) - @operation_id = args[:operation_id] if args.key?(:operation_id) - @service_config_id = args[:service_config_id] if args.key?(:service_config_id) - end - end - - # Represents the properties needed for quota operations. - class QuotaProperties - include Google::Apis::Core::Hashable - - # LimitType IDs that should be used for checking quota. Key in this map - # should be a valid LimitType string, and the value is the ID to be used. For - # example, an entry will cause all user quota limits to use 123 - # as the user ID. See google/api/quota.proto for the definition of LimitType. - # CLIENT_PROJECT: Not supported. - # USER: Value of this entry will be used for enforcing user-level quota - # limits. If none specified, caller IP passed in the - # servicecontrol.googleapis.com/caller_ip label will be used instead. - # If the server cannot resolve a value for this LimitType, an error - # will be thrown. No validation will be performed on this ID. - # Deprecated: use servicecontrol.googleapis.com/user label to send user ID. - # Corresponds to the JSON property `limitByIds` - # @return [Hash] - attr_accessor :limit_by_ids - - # Quota mode for this operation. - # Corresponds to the JSON property `quotaMode` - # @return [String] - attr_accessor :quota_mode - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @limit_by_ids = args[:limit_by_ids] if args.key?(:limit_by_ids) - @quota_mode = args[:quota_mode] if args.key?(:quota_mode) - end - end - - # Describing buckets with constant width. - class LinearBuckets - include Google::Apis::Core::Hashable - - # The i'th linear bucket covers the interval - # [offset + (i-1) * width, offset + i * width) - # where i ranges from 1 to num_finite_buckets, inclusive. - # Must be strictly positive. - # Corresponds to the JSON property `width` - # @return [Float] - attr_accessor :width - - # The i'th linear bucket covers the interval - # [offset + (i-1) * width, offset + i * width) - # where i ranges from 1 to num_finite_buckets, inclusive. - # Corresponds to the JSON property `offset` - # @return [Float] - attr_accessor :offset - - # The number of finite buckets. With the underflow and overflow buckets, - # the total number of buckets is `num_finite_buckets` + 2. - # See comments on `bucket_options` for details. - # Corresponds to the JSON property `numFiniteBuckets` - # @return [Fixnum] - attr_accessor :num_finite_buckets - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @width = args[:width] if args.key?(:width) - @offset = args[:offset] if args.key?(:offset) - @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) - end - end - - # Authentication information for the operation. - class AuthenticationInfo - include Google::Apis::Core::Hashable - - # The email address of the authenticated user making the request. - # Corresponds to the JSON property `principalEmail` - # @return [String] - attr_accessor :principal_email - - # The authority selector specified by the requestor, if any. - # It is not guaranteed that the principal was allowed to use this authority. - # Corresponds to the JSON property `authoritySelector` - # @return [String] - attr_accessor :authority_selector - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @principal_email = args[:principal_email] if args.key?(:principal_email) - @authority_selector = args[:authority_selector] if args.key?(:authority_selector) - end - end - # Response message for the AllocateQuota method. class AllocateQuotaResponse include Google::Apis::Core::Hashable @@ -535,6 +65,12 @@ module Google # @return [Array] attr_accessor :allocate_errors + # The same operation_id value used in the AllocateQuotaRequest. Used for + # logging and diagnostics purposes. + # Corresponds to the JSON property `operationId` + # @return [String] + attr_accessor :operation_id + # Quota metrics to indicate the result of allocation. Depending on the # request, one or more of the following metrics will be included: # 1. For rate quota, per quota group or per quota metric incremental usage @@ -553,12 +89,6 @@ module Google # @return [Array] attr_accessor :quota_metrics - # The same operation_id value used in the AllocateQuotaRequest. Used for - # logging and diagnostics purposes. - # Corresponds to the JSON property `operationId` - # @return [String] - attr_accessor :operation_id - # ID of the actual config used to process the request. # Corresponds to the JSON property `serviceConfigId` # @return [String] @@ -571,240 +101,88 @@ module Google # Update properties of this object def update!(**args) @allocate_errors = args[:allocate_errors] if args.key?(:allocate_errors) - @quota_metrics = args[:quota_metrics] if args.key?(:quota_metrics) @operation_id = args[:operation_id] if args.key?(:operation_id) + @quota_metrics = args[:quota_metrics] if args.key?(:quota_metrics) @service_config_id = args[:service_config_id] if args.key?(:service_config_id) end end - # Request message for the ReleaseQuota method. - class ReleaseQuotaRequest + # Common audit log format for Google Cloud Platform API operations. + class AuditLog include Google::Apis::Core::Hashable - # Specifies which version of service configuration should be used to process - # the request. If unspecified or no matching version can be found, the latest - # one will be used. - # Corresponds to the JSON property `serviceConfigId` + # Authentication information for the operation. + # Corresponds to the JSON property `authenticationInfo` + # @return [Google::Apis::ServicecontrolV1::AuthenticationInfo] + attr_accessor :authentication_info + + # Authorization information. If there are multiple + # resources or permissions involved, then there is + # one AuthorizationInfo element for each `resource, permission` tuple. + # Corresponds to the JSON property `authorizationInfo` + # @return [Array] + attr_accessor :authorization_info + + # The name of the service method or operation. + # For API calls, this should be the name of the API method. + # For example, + # "google.datastore.v1.Datastore.RunQuery" + # "google.logging.v1.LoggingService.DeleteLog" + # Corresponds to the JSON property `methodName` # @return [String] - attr_accessor :service_config_id + attr_accessor :method_name - # Represents information regarding a quota operation. - # Corresponds to the JSON property `releaseOperation` - # @return [Google::Apis::ServicecontrolV1::QuotaOperation] - attr_accessor :release_operation + # The number of items returned from a List or Query API method, + # if applicable. + # Corresponds to the JSON property `numResponseItems` + # @return [Fixnum] + attr_accessor :num_response_items - def initialize(**args) - update!(**args) - end + # The operation request. This may not include all request parameters, + # such as those that are too large, privacy-sensitive, or duplicated + # elsewhere in the log record. + # It should never include user-generated data, such as file contents. + # When the JSON object represented here has a proto equivalent, the proto + # name will be indicated in the `@type` property. + # Corresponds to the JSON property `request` + # @return [Hash] + attr_accessor :request - # Update properties of this object - def update!(**args) - @service_config_id = args[:service_config_id] if args.key?(:service_config_id) - @release_operation = args[:release_operation] if args.key?(:release_operation) - end - end + # Metadata about the request. + # Corresponds to the JSON property `requestMetadata` + # @return [Google::Apis::ServicecontrolV1::RequestMetadata] + attr_accessor :request_metadata - # - class QuotaError - include Google::Apis::Core::Hashable - - # Free-form text that provides details on the cause of the error. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Subject to whom this error applies. See the specific enum for more details - # on this field. For example, "clientip:" or - # "project:". - # Corresponds to the JSON property `subject` - # @return [String] - attr_accessor :subject - - # Error code. - # Corresponds to the JSON property `code` - # @return [String] - attr_accessor :code - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @description = args[:description] if args.key?(:description) - @subject = args[:subject] if args.key?(:subject) - @code = args[:code] if args.key?(:code) - end - end - - # Metadata about the request. - class RequestMetadata - include Google::Apis::Core::Hashable - - # The IP address of the caller. - # Corresponds to the JSON property `callerIp` - # @return [String] - attr_accessor :caller_ip - - # The user agent of the caller. - # This information is not authenticated and should be treated accordingly. + # The resource or collection that is the target of the operation. + # The name is a scheme-less URI, not including the API service name. # For example: - # + `google-api-python-client/1.4.0`: - # The request was made by the Google API client for Python. - # + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: - # The request was made by the Google Cloud SDK CLI (gcloud). - # + `AppEngine-Google; (+http://code.google.com/appengine; appid: s~my-project` - # : - # The request was made from the `my-project` App Engine app. - # NOLINT - # Corresponds to the JSON property `callerSuppliedUserAgent` + # "shelves/SHELF_ID/books" + # "shelves/SHELF_ID/books/BOOK_ID" + # Corresponds to the JSON property `resourceName` # @return [String] - attr_accessor :caller_supplied_user_agent + attr_accessor :resource_name - def initialize(**args) - update!(**args) - end + # The operation response. This may not include all response elements, + # such as those that are too large, privacy-sensitive, or duplicated + # elsewhere in the log record. + # It should never include user-generated data, such as file contents. + # When the JSON object represented here has a proto equivalent, the proto + # name will be indicated in the `@type` property. + # Corresponds to the JSON property `response` + # @return [Hash] + attr_accessor :response - # Update properties of this object - def update!(**args) - @caller_ip = args[:caller_ip] if args.key?(:caller_ip) - @caller_supplied_user_agent = args[:caller_supplied_user_agent] if args.key?(:caller_supplied_user_agent) - end - end + # Other service-specific data about the request, response, and other + # activities. + # Corresponds to the JSON property `serviceData` + # @return [Hash] + attr_accessor :service_data - # - class CheckInfo - include Google::Apis::Core::Hashable - - # A list of fields and label keys that are ignored by the server. - # The client doesn't need to send them for following requests to improve - # performance and allow better aggregation. - # Corresponds to the JSON property `unusedArguments` - # @return [Array] - attr_accessor :unused_arguments - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @unused_arguments = args[:unused_arguments] if args.key?(:unused_arguments) - end - end - - # Response message for the ReleaseQuota method. - class ReleaseQuotaResponse - include Google::Apis::Core::Hashable - - # Indicates the decision of the release. - # Corresponds to the JSON property `releaseErrors` - # @return [Array] - attr_accessor :release_errors - - # Quota metrics to indicate the result of release. Depending on the - # request, one or more of the following metrics will be included: - # 1. For rate quota, per quota group or per quota metric released amount - # will be specified using the following delta metric: - # "serviceruntime.googleapis.com/api/consumer/quota_refund_count" - # 2. For allocation quota, per quota metric total usage will be specified - # using the following gauge metric: - # "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" - # 3. For allocation quota, value for each quota limit associated with - # the metrics will be specified using the following gauge metric: - # "serviceruntime.googleapis.com/quota/limit" - # Corresponds to the JSON property `quotaMetrics` - # @return [Array] - attr_accessor :quota_metrics - - # The same operation_id value used in the ReleaseQuotaRequest. Used for - # logging and diagnostics purposes. - # Corresponds to the JSON property `operationId` + # The name of the API service performing the operation. For example, + # `"datastore.googleapis.com"`. + # Corresponds to the JSON property `serviceName` # @return [String] - attr_accessor :operation_id - - # ID of the actual config used to process the request. - # Corresponds to the JSON property `serviceConfigId` - # @return [String] - attr_accessor :service_config_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @release_errors = args[:release_errors] if args.key?(:release_errors) - @quota_metrics = args[:quota_metrics] if args.key?(:quota_metrics) - @operation_id = args[:operation_id] if args.key?(:operation_id) - @service_config_id = args[:service_config_id] if args.key?(:service_config_id) - end - end - - # Request message for the AllocateQuota method. - class AllocateQuotaRequest - include Google::Apis::Core::Hashable - - # Specifies which version of service configuration should be used to process - # the request. If unspecified or no matching version can be found, the latest - # one will be used. - # Corresponds to the JSON property `serviceConfigId` - # @return [String] - attr_accessor :service_config_id - - # Represents information regarding a quota operation. - # Corresponds to the JSON property `allocateOperation` - # @return [Google::Apis::ServicecontrolV1::QuotaOperation] - attr_accessor :allocate_operation - - # Allocation mode for this operation. - # Deprecated: use QuotaMode inside the QuotaOperation. - # Corresponds to the JSON property `allocationMode` - # @return [String] - attr_accessor :allocation_mode - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @service_config_id = args[:service_config_id] if args.key?(:service_config_id) - @allocate_operation = args[:allocate_operation] if args.key?(:allocate_operation) - @allocation_mode = args[:allocation_mode] if args.key?(:allocation_mode) - end - end - - # Represents a set of metric values in the same metric. - # Each metric value in the set should have a unique combination of start time, - # end time, and label values. - class MetricValueSet - include Google::Apis::Core::Hashable - - # The values in this metric. - # Corresponds to the JSON property `metricValues` - # @return [Array] - attr_accessor :metric_values - - # The metric name defined in the service configuration. - # Corresponds to the JSON property `metricName` - # @return [String] - attr_accessor :metric_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metric_values = args[:metric_values] if args.key?(:metric_values) - @metric_name = args[:metric_name] if args.key?(:metric_name) - end - end - - # Represents the processing error of one `Operation` in the request. - class ReportError - include Google::Apis::Core::Hashable + attr_accessor :service_name # 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 @@ -849,37 +227,42 @@ module Google # @return [Google::Apis::ServicecontrolV1::Status] attr_accessor :status - # The Operation.operation_id value from the request. - # Corresponds to the JSON property `operationId` - # @return [String] - attr_accessor :operation_id - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @authentication_info = args[:authentication_info] if args.key?(:authentication_info) + @authorization_info = args[:authorization_info] if args.key?(:authorization_info) + @method_name = args[:method_name] if args.key?(:method_name) + @num_response_items = args[:num_response_items] if args.key?(:num_response_items) + @request = args[:request] if args.key?(:request) + @request_metadata = args[:request_metadata] if args.key?(:request_metadata) + @resource_name = args[:resource_name] if args.key?(:resource_name) + @response = args[:response] if args.key?(:response) + @service_data = args[:service_data] if args.key?(:service_data) + @service_name = args[:service_name] if args.key?(:service_name) @status = args[:status] if args.key?(:status) - @operation_id = args[:operation_id] if args.key?(:operation_id) end end - # - class StartReconciliationRequest + # Authentication information for the operation. + class AuthenticationInfo include Google::Apis::Core::Hashable - # Represents information regarding a quota operation. - # Corresponds to the JSON property `reconciliationOperation` - # @return [Google::Apis::ServicecontrolV1::QuotaOperation] - attr_accessor :reconciliation_operation - - # Specifies which version of service configuration should be used to process - # the request. If unspecified or no matching version can be found, the latest - # one will be used. - # Corresponds to the JSON property `serviceConfigId` + # The authority selector specified by the requestor, if any. + # It is not guaranteed that the principal was allowed to use this authority. + # Corresponds to the JSON property `authoritySelector` # @return [String] - attr_accessor :service_config_id + attr_accessor :authority_selector + + # The email address of the authenticated user making the request. + # For privacy reasons, the principal email address is redacted for all + # read-only operations that fail with a "permission denied" error. + # Corresponds to the JSON property `principalEmail` + # @return [String] + attr_accessor :principal_email def initialize(**args) update!(**args) @@ -887,8 +270,42 @@ module Google # Update properties of this object def update!(**args) - @reconciliation_operation = args[:reconciliation_operation] if args.key?(:reconciliation_operation) - @service_config_id = args[:service_config_id] if args.key?(:service_config_id) + @authority_selector = args[:authority_selector] if args.key?(:authority_selector) + @principal_email = args[:principal_email] if args.key?(:principal_email) + end + end + + # Authorization information for the operation. + class AuthorizationInfo + include Google::Apis::Core::Hashable + + # Whether or not authorization for `resource` and `permission` + # was granted. + # Corresponds to the JSON property `granted` + # @return [Boolean] + attr_accessor :granted + alias_method :granted?, :granted + + # The required IAM permission. + # Corresponds to the JSON property `permission` + # @return [String] + attr_accessor :permission + + # The resource being accessed, as a REST-style string. For example: + # bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID + # Corresponds to the JSON property `resource` + # @return [String] + attr_accessor :resource + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @granted = args[:granted] if args.key?(:granted) + @permission = args[:permission] if args.key?(:permission) + @resource = args[:resource] if args.key?(:resource) end end @@ -897,62 +314,42 @@ module Google class CheckError include Google::Apis::Core::Hashable - # Free-form text providing details on the error cause of the error. - # Corresponds to the JSON property `detail` - # @return [String] - attr_accessor :detail - # The error code. # Corresponds to the JSON property `code` # @return [String] attr_accessor :code + # Free-form text providing details on the error cause of the error. + # Corresponds to the JSON property `detail` + # @return [String] + attr_accessor :detail + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @detail = args[:detail] if args.key?(:detail) @code = args[:code] if args.key?(:code) + @detail = args[:detail] if args.key?(:detail) end end - # Contains the quota information for a quota check response. - class QuotaInfo + # + class CheckInfo include Google::Apis::Core::Hashable - # Map of quota group name to the actual number of tokens consumed. If the - # quota check was not successful, then this will not be populated due to no - # quota consumption. - # Deprecated: Use quota_metrics to get per quota group usage. - # Corresponds to the JSON property `quotaConsumed` - # @return [Hash] - attr_accessor :quota_consumed + # `ConsumerInfo` provides information about the consumer project. + # Corresponds to the JSON property `consumerInfo` + # @return [Google::Apis::ServicecontrolV1::ConsumerInfo] + attr_accessor :consumer_info - # Quota metrics to indicate the usage. Depending on the check request, one or - # more of the following metrics will be included: - # 1. For rate quota, per quota group or per quota metric incremental usage - # will be specified using the following delta metric: - # "serviceruntime.googleapis.com/api/consumer/quota_used_count" - # 2. For allocation quota, per quota metric total usage will be specified - # using the following gauge metric: - # "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" - # 3. For both rate quota and allocation quota, the quota limit reached - # condition will be specified using the following boolean metric: - # "serviceruntime.googleapis.com/quota/exceeded" - # Corresponds to the JSON property `quotaMetrics` - # @return [Array] - attr_accessor :quota_metrics - - # Quota Metrics that have exceeded quota limits. - # For QuotaGroup-based quota, this is QuotaGroup.name - # For QuotaLimit-based quota, this is QuotaLimit.name - # See: google.api.Quota - # Deprecated: Use quota_metrics to get per quota group limit exceeded status. - # Corresponds to the JSON property `limitExceeded` + # A list of fields and label keys that are ignored by the server. + # The client doesn't need to send them for following requests to improve + # performance and allow better aggregation. + # Corresponds to the JSON property `unusedArguments` # @return [Array] - attr_accessor :limit_exceeded + attr_accessor :unused_arguments def initialize(**args) update!(**args) @@ -960,9 +357,8 @@ module Google # Update properties of this object def update!(**args) - @quota_consumed = args[:quota_consumed] if args.key?(:quota_consumed) - @quota_metrics = args[:quota_metrics] if args.key?(:quota_metrics) - @limit_exceeded = args[:limit_exceeded] if args.key?(:limit_exceeded) + @consumer_info = args[:consumer_info] if args.key?(:consumer_info) + @unused_arguments = args[:unused_arguments] if args.key?(:unused_arguments) end end @@ -970,12 +366,10 @@ module Google class CheckRequest include Google::Apis::Core::Hashable - # Indicates if service activation check should be skipped for this request. - # Default behavior is to perform the check and apply relevant quota. - # Corresponds to the JSON property `skipActivationCheck` - # @return [Boolean] - attr_accessor :skip_activation_check - alias_method :skip_activation_check?, :skip_activation_check + # Represents information regarding an operation. + # Corresponds to the JSON property `operation` + # @return [Google::Apis::ServicecontrolV1::Operation] + attr_accessor :operation # Requests the project settings to be returned as part of the check response. # Corresponds to the JSON property `requestProjectSettings` @@ -983,11 +377,6 @@ module Google attr_accessor :request_project_settings alias_method :request_project_settings?, :request_project_settings - # Represents information regarding an operation. - # Corresponds to the JSON property `operation` - # @return [Google::Apis::ServicecontrolV1::Operation] - attr_accessor :operation - # Specifies which version of service configuration should be used to process # the request. # If unspecified or no matching version can be found, the @@ -996,76 +385,58 @@ module Google # @return [String] attr_accessor :service_config_id + # Indicates if service activation check should be skipped for this request. + # Default behavior is to perform the check and apply relevant quota. + # Corresponds to the JSON property `skipActivationCheck` + # @return [Boolean] + attr_accessor :skip_activation_check + alias_method :skip_activation_check?, :skip_activation_check + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @skip_activation_check = args[:skip_activation_check] if args.key?(:skip_activation_check) - @request_project_settings = args[:request_project_settings] if args.key?(:request_project_settings) @operation = args[:operation] if args.key?(:operation) + @request_project_settings = args[:request_project_settings] if args.key?(:request_project_settings) @service_config_id = args[:service_config_id] if args.key?(:service_config_id) + @skip_activation_check = args[:skip_activation_check] if args.key?(:skip_activation_check) end end - # Represents information regarding a quota operation. - class QuotaOperation + # Response message for the Check method. + class CheckResponse include Google::Apis::Core::Hashable - # Represents information about this operation. Each MetricValueSet - # corresponds to a metric defined in the service configuration. - # The data type used in the MetricValueSet must agree with - # the data type specified in the metric definition. - # Within a single operation, it is not allowed to have more than one - # MetricValue instances that have the same metric names and identical - # label value combinations. If a request has such duplicated MetricValue - # instances, the entire request is rejected with - # an invalid argument error. - # Corresponds to the JSON property `quotaMetrics` - # @return [Array] - attr_accessor :quota_metrics + # Indicate the decision of the check. + # If no check errors are present, the service should process the operation. + # Otherwise the service should use the list of errors to determine the + # appropriate action. + # Corresponds to the JSON property `checkErrors` + # @return [Array] + attr_accessor :check_errors - # Labels describing the operation. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels + # Feedback data returned from the server during processing a Check request. + # Corresponds to the JSON property `checkInfo` + # @return [Google::Apis::ServicecontrolV1::CheckInfo] + attr_accessor :check_info - # Identity of the consumer for whom this quota operation is being performed. - # This can be in one of the following formats: - # project:, - # project_number:, - # api_key:. - # Corresponds to the JSON property `consumerId` - # @return [String] - attr_accessor :consumer_id - - # Identity of the operation. This must be unique within the scope of the - # service that generated the operation. If the service calls AllocateQuota - # and ReleaseQuota on the same operation, the two calls should carry the - # same ID. - # UUID version 4 is recommended, though not required. In scenarios where an - # operation is computed from existing information and an idempotent id is - # desirable for deduplication purpose, UUID version 5 is recommended. See - # RFC 4122 for details. + # The same operation_id value used in the CheckRequest. + # Used for logging and diagnostics purposes. # Corresponds to the JSON property `operationId` # @return [String] attr_accessor :operation_id - # Quota mode for this operation. - # Corresponds to the JSON property `quotaMode` - # @return [String] - attr_accessor :quota_mode + # Contains the quota information for a quota check response. + # Corresponds to the JSON property `quotaInfo` + # @return [Google::Apis::ServicecontrolV1::QuotaInfo] + attr_accessor :quota_info - # Fully qualified name of the API method for which this quota operation is - # requested. This name is used for matching quota rules or metric rules and - # billing status rules defined in service configuration. This field is not - # required if the quota operation is performed on non-API resources. - # Example of an RPC method name: - # google.example.library.v1.LibraryService.CreateShelf - # Corresponds to the JSON property `methodName` + # The actual config id used to process the request. + # Corresponds to the JSON property `serviceConfigId` # @return [String] - attr_accessor :method_name + attr_accessor :service_config_id def initialize(**args) update!(**args) @@ -1073,12 +444,116 @@ module Google # Update properties of this object def update!(**args) - @quota_metrics = args[:quota_metrics] if args.key?(:quota_metrics) - @labels = args[:labels] if args.key?(:labels) - @consumer_id = args[:consumer_id] if args.key?(:consumer_id) + @check_errors = args[:check_errors] if args.key?(:check_errors) + @check_info = args[:check_info] if args.key?(:check_info) @operation_id = args[:operation_id] if args.key?(:operation_id) - @quota_mode = args[:quota_mode] if args.key?(:quota_mode) - @method_name = args[:method_name] if args.key?(:method_name) + @quota_info = args[:quota_info] if args.key?(:quota_info) + @service_config_id = args[:service_config_id] if args.key?(:service_config_id) + end + end + + # `ConsumerInfo` provides information about the consumer project. + class ConsumerInfo + include Google::Apis::Core::Hashable + + # The Google cloud project number, e.g. 1234567890. A value of 0 indicates + # no project number is found. + # Corresponds to the JSON property `projectNumber` + # @return [Fixnum] + attr_accessor :project_number + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @project_number = args[:project_number] if args.key?(:project_number) + end + end + + # Distribution represents a frequency distribution of double-valued sample + # points. It contains the size of the population of sample points plus + # additional optional information: + # - the arithmetic mean of the samples + # - the minimum and maximum of the samples + # - the sum-squared-deviation of the samples, used to compute variance + # - a histogram of the values of the sample points + class Distribution + include Google::Apis::Core::Hashable + + # The number of samples in each histogram bucket. `bucket_counts` are + # optional. If present, they must sum to the `count` value. + # The buckets are defined below in `bucket_option`. There are N buckets. + # `bucket_counts[0]` is the number of samples in the underflow bucket. + # `bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples + # in each of the finite buckets. And `bucket_counts[N] is the number + # of samples in the overflow bucket. See the comments of `bucket_option` + # below for more details. + # Any suffix of trailing zeros may be omitted. + # Corresponds to the JSON property `bucketCounts` + # @return [Array] + attr_accessor :bucket_counts + + # The total number of samples in the distribution. Must be >= 0. + # Corresponds to the JSON property `count` + # @return [Fixnum] + attr_accessor :count + + # Describing buckets with arbitrary user-provided width. + # Corresponds to the JSON property `explicitBuckets` + # @return [Google::Apis::ServicecontrolV1::ExplicitBuckets] + attr_accessor :explicit_buckets + + # Describing buckets with exponentially growing width. + # Corresponds to the JSON property `exponentialBuckets` + # @return [Google::Apis::ServicecontrolV1::ExponentialBuckets] + attr_accessor :exponential_buckets + + # Describing buckets with constant width. + # Corresponds to the JSON property `linearBuckets` + # @return [Google::Apis::ServicecontrolV1::LinearBuckets] + attr_accessor :linear_buckets + + # The maximum of the population of values. Ignored if `count` is zero. + # Corresponds to the JSON property `maximum` + # @return [Float] + attr_accessor :maximum + + # The arithmetic mean of the samples in the distribution. If `count` is + # zero then this field must be zero. + # Corresponds to the JSON property `mean` + # @return [Float] + attr_accessor :mean + + # The minimum of the population of values. Ignored if `count` is zero. + # Corresponds to the JSON property `minimum` + # @return [Float] + attr_accessor :minimum + + # The sum of squared deviations from the mean: + # Sum[i=1..count]((x_i - mean)^2) + # where each x_i is a sample values. If `count` is zero then this field + # must be zero, otherwise validation of the request fails. + # Corresponds to the JSON property `sumOfSquaredDeviation` + # @return [Float] + attr_accessor :sum_of_squared_deviation + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts) + @count = args[:count] if args.key?(:count) + @explicit_buckets = args[:explicit_buckets] if args.key?(:explicit_buckets) + @exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets) + @linear_buckets = args[:linear_buckets] if args.key?(:linear_buckets) + @maximum = args[:maximum] if args.key?(:maximum) + @mean = args[:mean] if args.key?(:mean) + @minimum = args[:minimum] if args.key?(:minimum) + @sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation) end end @@ -1110,18 +585,45 @@ module Google end # - class ReportInfo + class EndReconciliationResponse include Google::Apis::Core::Hashable - # The Operation.operation_id value from the request. + # The same operation_id value used in the EndReconciliationRequest. Used for + # logging and diagnostics purposes. # Corresponds to the JSON property `operationId` # @return [String] attr_accessor :operation_id - # Contains the quota information for a quota check response. - # Corresponds to the JSON property `quotaInfo` - # @return [Google::Apis::ServicecontrolV1::QuotaInfo] - attr_accessor :quota_info + # Metric values as tracked by One Platform before the adjustment was made. + # The following metrics will be included: + # 1. Per quota metric total usage will be specified using the following gauge + # metric: + # "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" + # 2. Value for each quota limit associated with the metrics will be specified + # using the following gauge metric: + # "serviceruntime.googleapis.com/quota/limit" + # 3. Delta value of the usage after the reconciliation for limits associated + # with the metrics will be specified using the following metric: + # "serviceruntime.googleapis.com/allocation/reconciliation_delta" + # The delta value is defined as: + # new_usage_from_client - existing_value_in_spanner. + # This metric is not defined in serviceruntime.yaml or in Cloud Monarch. + # This metric is meant for callers' use only. Since this metric is not + # defined in the monitoring backend, reporting on this metric will result in + # an error. + # Corresponds to the JSON property `quotaMetrics` + # @return [Array] + attr_accessor :quota_metrics + + # Indicates the decision of the reconciliation end. + # Corresponds to the JSON property `reconciliationErrors` + # @return [Array] + attr_accessor :reconciliation_errors + + # ID of the actual config used to process the request. + # Corresponds to the JSON property `serviceConfigId` + # @return [String] + attr_accessor :service_config_id def initialize(**args) update!(**args) @@ -1130,7 +632,330 @@ module Google # Update properties of this object def update!(**args) @operation_id = args[:operation_id] if args.key?(:operation_id) - @quota_info = args[:quota_info] if args.key?(:quota_info) + @quota_metrics = args[:quota_metrics] if args.key?(:quota_metrics) + @reconciliation_errors = args[:reconciliation_errors] if args.key?(:reconciliation_errors) + @service_config_id = args[:service_config_id] if args.key?(:service_config_id) + end + end + + # Describing buckets with arbitrary user-provided width. + class ExplicitBuckets + include Google::Apis::Core::Hashable + + # 'bound' is a list of strictly increasing boundaries between + # buckets. Note that a list of length N-1 defines N buckets because + # of fenceposting. See comments on `bucket_options` for details. + # The i'th finite bucket covers the interval + # [bound[i-1], bound[i]) + # where i ranges from 1 to bound_size() - 1. Note that there are no + # finite buckets at all if 'bound' only contains a single element; in + # that special case the single bound defines the boundary between the + # underflow and overflow buckets. + # bucket number lower bound upper bound + # i == 0 (underflow) -inf bound[i] + # 0 < i < bound_size() bound[i-1] bound[i] + # i == bound_size() (overflow) bound[i-1] +inf + # Corresponds to the JSON property `bounds` + # @return [Array] + attr_accessor :bounds + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bounds = args[:bounds] if args.key?(:bounds) + end + end + + # Describing buckets with exponentially growing width. + class ExponentialBuckets + include Google::Apis::Core::Hashable + + # The i'th exponential bucket covers the interval + # [scale * growth_factor^(i-1), scale * growth_factor^i) + # where i ranges from 1 to num_finite_buckets inclusive. + # Must be larger than 1.0. + # Corresponds to the JSON property `growthFactor` + # @return [Float] + attr_accessor :growth_factor + + # The number of finite buckets. With the underflow and overflow buckets, + # the total number of buckets is `num_finite_buckets` + 2. + # See comments on `bucket_options` for details. + # Corresponds to the JSON property `numFiniteBuckets` + # @return [Fixnum] + attr_accessor :num_finite_buckets + + # The i'th exponential bucket covers the interval + # [scale * growth_factor^(i-1), scale * growth_factor^i) + # where i ranges from 1 to num_finite_buckets inclusive. + # Must be > 0. + # Corresponds to the JSON property `scale` + # @return [Float] + attr_accessor :scale + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @growth_factor = args[:growth_factor] if args.key?(:growth_factor) + @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) + @scale = args[:scale] if args.key?(:scale) + end + end + + # Describing buckets with constant width. + class LinearBuckets + include Google::Apis::Core::Hashable + + # The number of finite buckets. With the underflow and overflow buckets, + # the total number of buckets is `num_finite_buckets` + 2. + # See comments on `bucket_options` for details. + # Corresponds to the JSON property `numFiniteBuckets` + # @return [Fixnum] + attr_accessor :num_finite_buckets + + # The i'th linear bucket covers the interval + # [offset + (i-1) * width, offset + i * width) + # where i ranges from 1 to num_finite_buckets, inclusive. + # Corresponds to the JSON property `offset` + # @return [Float] + attr_accessor :offset + + # The i'th linear bucket covers the interval + # [offset + (i-1) * width, offset + i * width) + # where i ranges from 1 to num_finite_buckets, inclusive. + # Must be strictly positive. + # Corresponds to the JSON property `width` + # @return [Float] + attr_accessor :width + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) + @offset = args[:offset] if args.key?(:offset) + @width = args[:width] if args.key?(:width) + end + end + + # An individual log entry. + class LogEntry + include Google::Apis::Core::Hashable + + # A unique ID for the log entry used for deduplication. If omitted, + # the implementation will generate one based on operation_id. + # Corresponds to the JSON property `insertId` + # @return [String] + attr_accessor :insert_id + + # A set of user-defined (key, value) data that provides additional + # information about the log entry. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Required. The log to which this log entry belongs. Examples: `"syslog"`, + # `"book_log"`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The log entry payload, represented as a protocol buffer that is + # expressed as a JSON object. The only accepted type currently is + # AuditLog. + # Corresponds to the JSON property `protoPayload` + # @return [Hash] + attr_accessor :proto_payload + + # The severity of the log entry. The default value is + # `LogSeverity.DEFAULT`. + # Corresponds to the JSON property `severity` + # @return [String] + attr_accessor :severity + + # The log entry payload, represented as a structure that + # is expressed as a JSON object. + # Corresponds to the JSON property `structPayload` + # @return [Hash] + attr_accessor :struct_payload + + # The log entry payload, represented as a Unicode string (UTF-8). + # Corresponds to the JSON property `textPayload` + # @return [String] + attr_accessor :text_payload + + # The time the event described by the log entry occurred. If + # omitted, defaults to operation start time. + # Corresponds to the JSON property `timestamp` + # @return [String] + attr_accessor :timestamp + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @insert_id = args[:insert_id] if args.key?(:insert_id) + @labels = args[:labels] if args.key?(:labels) + @name = args[:name] if args.key?(:name) + @proto_payload = args[:proto_payload] if args.key?(:proto_payload) + @severity = args[:severity] if args.key?(:severity) + @struct_payload = args[:struct_payload] if args.key?(:struct_payload) + @text_payload = args[:text_payload] if args.key?(:text_payload) + @timestamp = args[:timestamp] if args.key?(:timestamp) + end + end + + # Represents a single metric value. + class MetricValue + include Google::Apis::Core::Hashable + + # A boolean value. + # Corresponds to the JSON property `boolValue` + # @return [Boolean] + attr_accessor :bool_value + alias_method :bool_value?, :bool_value + + # Distribution represents a frequency distribution of double-valued sample + # points. It contains the size of the population of sample points plus + # additional optional information: + # - the arithmetic mean of the samples + # - the minimum and maximum of the samples + # - the sum-squared-deviation of the samples, used to compute variance + # - a histogram of the values of the sample points + # Corresponds to the JSON property `distributionValue` + # @return [Google::Apis::ServicecontrolV1::Distribution] + attr_accessor :distribution_value + + # A double precision floating point value. + # Corresponds to the JSON property `doubleValue` + # @return [Float] + attr_accessor :double_value + + # The end of the time period over which this metric value's measurement + # applies. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # A signed 64-bit integer value. + # Corresponds to the JSON property `int64Value` + # @return [Fixnum] + attr_accessor :int64_value + + # The labels describing the metric value. + # See comments on google.api.servicecontrol.v1.Operation.labels for + # the overriding relationship. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `moneyValue` + # @return [Google::Apis::ServicecontrolV1::Money] + attr_accessor :money_value + + # The start of the time period over which this metric value's measurement + # applies. The time period has different semantics for different metric + # types (cumulative, delta, and gauge). See the metric definition + # documentation in the service configuration for details. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # A text string value. + # Corresponds to the JSON property `stringValue` + # @return [String] + attr_accessor :string_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bool_value = args[:bool_value] if args.key?(:bool_value) + @distribution_value = args[:distribution_value] if args.key?(:distribution_value) + @double_value = args[:double_value] if args.key?(:double_value) + @end_time = args[:end_time] if args.key?(:end_time) + @int64_value = args[:int64_value] if args.key?(:int64_value) + @labels = args[:labels] if args.key?(:labels) + @money_value = args[:money_value] if args.key?(:money_value) + @start_time = args[:start_time] if args.key?(:start_time) + @string_value = args[:string_value] if args.key?(:string_value) + end + end + + # Represents a set of metric values in the same metric. + # Each metric value in the set should have a unique combination of start time, + # end time, and label values. + class MetricValueSet + include Google::Apis::Core::Hashable + + # The metric name defined in the service configuration. + # Corresponds to the JSON property `metricName` + # @return [String] + attr_accessor :metric_name + + # The values in this metric. + # Corresponds to the JSON property `metricValues` + # @return [Array] + attr_accessor :metric_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metric_name = args[:metric_name] if args.key?(:metric_name) + @metric_values = args[:metric_values] if args.key?(:metric_values) + end + end + + # Represents an amount of money with its currency type. + class Money + include Google::Apis::Core::Hashable + + # The 3-letter currency code defined in ISO 4217. + # Corresponds to the JSON property `currencyCode` + # @return [String] + attr_accessor :currency_code + + # Number of nano (10^-9) units of the amount. + # The value must be between -999,999,999 and +999,999,999 inclusive. + # If `units` is positive, `nanos` must be positive or zero. + # If `units` is zero, `nanos` can be positive, zero, or negative. + # If `units` is negative, `nanos` must be negative or zero. + # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. + # Corresponds to the JSON property `nanos` + # @return [Fixnum] + attr_accessor :nanos + + # The whole units of the amount. + # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + # Corresponds to the JSON property `units` + # @return [Fixnum] + attr_accessor :units + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @currency_code = args[:currency_code] if args.key?(:currency_code) + @nanos = args[:nanos] if args.key?(:nanos) + @units = args[:units] if args.key?(:units) end end @@ -1138,20 +963,30 @@ module Google class Operation include Google::Apis::Core::Hashable + # Identity of the consumer who is using the service. + # This field should be filled in for the operations initiated by a + # consumer, but not for service-initiated operations that are + # not related to a specific consumer. + # This can be in one of the following formats: + # project:, + # project_number:, + # api_key:. + # Corresponds to the JSON property `consumerId` + # @return [String] + attr_accessor :consumer_id + + # End time of the operation. + # Required when the operation is used in ServiceController.Report, + # but optional when the operation is used in ServiceController.Check. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + # DO NOT USE. This is an experimental field. # Corresponds to the JSON property `importance` # @return [String] attr_accessor :importance - # The resource name of the parent of a resource in the resource hierarchy. - # This can be in one of the following formats: - # - “projects/” - # - “folders/” - # - “organizations/” - # Corresponds to the JSON property `resourceContainer` - # @return [String] - attr_accessor :resource_container - # Labels describing the operation. Only the following labels are allowed: # - Labels describing monitored resources as defined in # the service configuration. @@ -1175,12 +1010,6 @@ module Google # @return [Array] attr_accessor :log_entries - # User defined labels for the resource that this operation is associated - # with. - # Corresponds to the JSON property `userLabels` - # @return [Hash] - attr_accessor :user_labels - # Represents information about this operation. Each MetricValueSet # corresponds to a metric defined in the service configuration. # The data type used in the MetricValueSet must agree with @@ -1194,23 +1023,6 @@ module Google # @return [Array] attr_accessor :metric_value_sets - # Represents the properties needed for quota operations. - # Corresponds to the JSON property `quotaProperties` - # @return [Google::Apis::ServicecontrolV1::QuotaProperties] - attr_accessor :quota_properties - - # Identity of the consumer who is using the service. - # This field should be filled in for the operations initiated by a - # consumer, but not for service-initiated operations that are - # not related to a specific consumer. - # This can be in one of the following formats: - # project:, - # project_number:, - # api_key:. - # Corresponds to the JSON property `consumerId` - # @return [String] - attr_accessor :consumer_id - # Identity of the operation. This must be unique within the scope of the # service that generated the operation. If the service calls # Check() and Report() on the same operation, the two calls should carry @@ -1223,41 +1035,450 @@ module Google # @return [String] attr_accessor :operation_id - # End time of the operation. - # Required when the operation is used in ServiceController.Report, - # but optional when the operation is used in ServiceController.Check. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - # Fully qualified name of the operation. Reserved for future use. # Corresponds to the JSON property `operationName` # @return [String] attr_accessor :operation_name + # Represents the properties needed for quota operations. + # Corresponds to the JSON property `quotaProperties` + # @return [Google::Apis::ServicecontrolV1::QuotaProperties] + attr_accessor :quota_properties + + # The resource name of the parent of a resource in the resource hierarchy. + # This can be in one of the following formats: + # - “projects/” + # - “folders/” + # - “organizations/” + # Corresponds to the JSON property `resourceContainer` + # @return [String] + attr_accessor :resource_container + + # DO NOT USE. + # This field is not ready for use yet. + # Corresponds to the JSON property `resourceContainers` + # @return [Array] + attr_accessor :resource_containers + # Required. Start time of the operation. # Corresponds to the JSON property `startTime` # @return [String] attr_accessor :start_time + # User defined labels for the resource that this operation is associated + # with. + # Corresponds to the JSON property `userLabels` + # @return [Hash] + attr_accessor :user_labels + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @consumer_id = args[:consumer_id] if args.key?(:consumer_id) + @end_time = args[:end_time] if args.key?(:end_time) @importance = args[:importance] if args.key?(:importance) - @resource_container = args[:resource_container] if args.key?(:resource_container) @labels = args[:labels] if args.key?(:labels) @log_entries = args[:log_entries] if args.key?(:log_entries) - @user_labels = args[:user_labels] if args.key?(:user_labels) @metric_value_sets = args[:metric_value_sets] if args.key?(:metric_value_sets) - @quota_properties = args[:quota_properties] if args.key?(:quota_properties) - @consumer_id = args[:consumer_id] if args.key?(:consumer_id) @operation_id = args[:operation_id] if args.key?(:operation_id) - @end_time = args[:end_time] if args.key?(:end_time) @operation_name = args[:operation_name] if args.key?(:operation_name) + @quota_properties = args[:quota_properties] if args.key?(:quota_properties) + @resource_container = args[:resource_container] if args.key?(:resource_container) + @resource_containers = args[:resource_containers] if args.key?(:resource_containers) @start_time = args[:start_time] if args.key?(:start_time) + @user_labels = args[:user_labels] if args.key?(:user_labels) + end + end + + # + class QuotaError + include Google::Apis::Core::Hashable + + # Error code. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # Free-form text that provides details on the cause of the error. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Subject to whom this error applies. See the specific enum for more details + # on this field. For example, "clientip:" or + # "project:". + # Corresponds to the JSON property `subject` + # @return [String] + attr_accessor :subject + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @description = args[:description] if args.key?(:description) + @subject = args[:subject] if args.key?(:subject) + end + end + + # Contains the quota information for a quota check response. + class QuotaInfo + include Google::Apis::Core::Hashable + + # Quota Metrics that have exceeded quota limits. + # For QuotaGroup-based quota, this is QuotaGroup.name + # For QuotaLimit-based quota, this is QuotaLimit.name + # See: google.api.Quota + # Deprecated: Use quota_metrics to get per quota group limit exceeded status. + # Corresponds to the JSON property `limitExceeded` + # @return [Array] + attr_accessor :limit_exceeded + + # Map of quota group name to the actual number of tokens consumed. If the + # quota check was not successful, then this will not be populated due to no + # quota consumption. + # We are not merging this field with 'quota_metrics' field because of the + # complexity of scaling in Chemist client code base. For simplicity, we will + # keep this field for Castor (that scales quota usage) and 'quota_metrics' + # for SuperQuota (that doesn't scale quota usage). + # Corresponds to the JSON property `quotaConsumed` + # @return [Hash] + attr_accessor :quota_consumed + + # Quota metrics to indicate the usage. Depending on the check request, one or + # more of the following metrics will be included: + # 1. For rate quota, per quota group or per quota metric incremental usage + # will be specified using the following delta metric: + # "serviceruntime.googleapis.com/api/consumer/quota_used_count" + # 2. For allocation quota, per quota metric total usage will be specified + # using the following gauge metric: + # "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" + # 3. For both rate quota and allocation quota, the quota limit reached + # condition will be specified using the following boolean metric: + # "serviceruntime.googleapis.com/quota/exceeded" + # Corresponds to the JSON property `quotaMetrics` + # @return [Array] + attr_accessor :quota_metrics + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @limit_exceeded = args[:limit_exceeded] if args.key?(:limit_exceeded) + @quota_consumed = args[:quota_consumed] if args.key?(:quota_consumed) + @quota_metrics = args[:quota_metrics] if args.key?(:quota_metrics) + end + end + + # Represents information regarding a quota operation. + class QuotaOperation + include Google::Apis::Core::Hashable + + # Identity of the consumer for whom this quota operation is being performed. + # This can be in one of the following formats: + # project:, + # project_number:, + # api_key:. + # Corresponds to the JSON property `consumerId` + # @return [String] + attr_accessor :consumer_id + + # Labels describing the operation. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Fully qualified name of the API method for which this quota operation is + # requested. This name is used for matching quota rules or metric rules and + # billing status rules defined in service configuration. This field is not + # required if the quota operation is performed on non-API resources. + # Example of an RPC method name: + # google.example.library.v1.LibraryService.CreateShelf + # Corresponds to the JSON property `methodName` + # @return [String] + attr_accessor :method_name + + # Identity of the operation. This is expected to be unique within the scope + # of the service that generated the operation, and guarantees idempotency in + # case of retries. + # UUID version 4 is recommended, though not required. In scenarios where an + # operation is computed from existing information and an idempotent id is + # desirable for deduplication purpose, UUID version 5 is recommended. See + # RFC 4122 for details. + # Corresponds to the JSON property `operationId` + # @return [String] + attr_accessor :operation_id + + # Represents information about this operation. Each MetricValueSet + # corresponds to a metric defined in the service configuration. + # The data type used in the MetricValueSet must agree with + # the data type specified in the metric definition. + # Within a single operation, it is not allowed to have more than one + # MetricValue instances that have the same metric names and identical + # label value combinations. If a request has such duplicated MetricValue + # instances, the entire request is rejected with + # an invalid argument error. + # Corresponds to the JSON property `quotaMetrics` + # @return [Array] + attr_accessor :quota_metrics + + # Quota mode for this operation. + # Corresponds to the JSON property `quotaMode` + # @return [String] + attr_accessor :quota_mode + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @consumer_id = args[:consumer_id] if args.key?(:consumer_id) + @labels = args[:labels] if args.key?(:labels) + @method_name = args[:method_name] if args.key?(:method_name) + @operation_id = args[:operation_id] if args.key?(:operation_id) + @quota_metrics = args[:quota_metrics] if args.key?(:quota_metrics) + @quota_mode = args[:quota_mode] if args.key?(:quota_mode) + end + end + + # Represents the properties needed for quota operations. + class QuotaProperties + include Google::Apis::Core::Hashable + + # LimitType IDs that should be used for checking quota. Key in this map + # should be a valid LimitType string, and the value is the ID to be used. For + # example, an entry will cause all user quota limits to use 123 + # as the user ID. See google/api/quota.proto for the definition of LimitType. + # CLIENT_PROJECT: Not supported. + # USER: Value of this entry will be used for enforcing user-level quota + # limits. If none specified, caller IP passed in the + # servicecontrol.googleapis.com/caller_ip label will be used instead. + # If the server cannot resolve a value for this LimitType, an error + # will be thrown. No validation will be performed on this ID. + # Deprecated: use servicecontrol.googleapis.com/user label to send user ID. + # Corresponds to the JSON property `limitByIds` + # @return [Hash] + attr_accessor :limit_by_ids + + # Quota mode for this operation. + # Corresponds to the JSON property `quotaMode` + # @return [String] + attr_accessor :quota_mode + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @limit_by_ids = args[:limit_by_ids] if args.key?(:limit_by_ids) + @quota_mode = args[:quota_mode] if args.key?(:quota_mode) + end + end + + # Request message for the ReleaseQuota method. + class ReleaseQuotaRequest + include Google::Apis::Core::Hashable + + # Represents information regarding a quota operation. + # Corresponds to the JSON property `releaseOperation` + # @return [Google::Apis::ServicecontrolV1::QuotaOperation] + attr_accessor :release_operation + + # Specifies which version of service configuration should be used to process + # the request. If unspecified or no matching version can be found, the latest + # one will be used. + # Corresponds to the JSON property `serviceConfigId` + # @return [String] + attr_accessor :service_config_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @release_operation = args[:release_operation] if args.key?(:release_operation) + @service_config_id = args[:service_config_id] if args.key?(:service_config_id) + end + end + + # Response message for the ReleaseQuota method. + class ReleaseQuotaResponse + include Google::Apis::Core::Hashable + + # The same operation_id value used in the ReleaseQuotaRequest. Used for + # logging and diagnostics purposes. + # Corresponds to the JSON property `operationId` + # @return [String] + attr_accessor :operation_id + + # Quota metrics to indicate the result of release. Depending on the + # request, one or more of the following metrics will be included: + # 1. For rate quota, per quota group or per quota metric released amount + # will be specified using the following delta metric: + # "serviceruntime.googleapis.com/api/consumer/quota_refund_count" + # 2. For allocation quota, per quota metric total usage will be specified + # using the following gauge metric: + # "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" + # 3. For allocation quota, value for each quota limit associated with + # the metrics will be specified using the following gauge metric: + # "serviceruntime.googleapis.com/quota/limit" + # Corresponds to the JSON property `quotaMetrics` + # @return [Array] + attr_accessor :quota_metrics + + # Indicates the decision of the release. + # Corresponds to the JSON property `releaseErrors` + # @return [Array] + attr_accessor :release_errors + + # ID of the actual config used to process the request. + # Corresponds to the JSON property `serviceConfigId` + # @return [String] + attr_accessor :service_config_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @operation_id = args[:operation_id] if args.key?(:operation_id) + @quota_metrics = args[:quota_metrics] if args.key?(:quota_metrics) + @release_errors = args[:release_errors] if args.key?(:release_errors) + @service_config_id = args[:service_config_id] if args.key?(:service_config_id) + end + end + + # Represents the processing error of one Operation in the request. + class ReportError + include Google::Apis::Core::Hashable + + # The Operation.operation_id value from the request. + # Corresponds to the JSON property `operationId` + # @return [String] + attr_accessor :operation_id + + # 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` that 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. + # - 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 `status` + # @return [Google::Apis::ServicecontrolV1::Status] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @operation_id = args[:operation_id] if args.key?(:operation_id) + @status = args[:status] if args.key?(:status) + end + end + + # + class ReportInfo + include Google::Apis::Core::Hashable + + # The Operation.operation_id value from the request. + # Corresponds to the JSON property `operationId` + # @return [String] + attr_accessor :operation_id + + # Contains the quota information for a quota check response. + # Corresponds to the JSON property `quotaInfo` + # @return [Google::Apis::ServicecontrolV1::QuotaInfo] + attr_accessor :quota_info + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @operation_id = args[:operation_id] if args.key?(:operation_id) + @quota_info = args[:quota_info] if args.key?(:quota_info) + end + end + + # Request message for the Report method. + class ReportRequest + include Google::Apis::Core::Hashable + + # Operations to be reported. + # Typically the service should report one operation per request. + # Putting multiple operations into a single request is allowed, but should + # be used only when multiple operations are natually available at the time + # of the report. + # If multiple operations are in a single request, the total request size + # should be no larger than 1MB. See ReportResponse.report_errors for + # partial failure behavior. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + # Specifies which version of service config should be used to process the + # request. + # If unspecified or no matching version can be found, the + # latest one will be used. + # Corresponds to the JSON property `serviceConfigId` + # @return [String] + attr_accessor :service_config_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @operations = args[:operations] if args.key?(:operations) + @service_config_id = args[:service_config_id] if args.key?(:service_config_id) end end @@ -1265,11 +1486,6 @@ module Google class ReportResponse include Google::Apis::Core::Hashable - # The actual config id used to process the request. - # Corresponds to the JSON property `serviceConfigId` - # @return [String] - attr_accessor :service_config_id - # Partial failures, one for each `Operation` in the request that failed # processing. There are three possible combinations of the RPC status: # 1. The combination of a successful RPC status and an empty `report_errors` @@ -1297,50 +1513,53 @@ module Google # @return [Array] attr_accessor :report_infos - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @service_config_id = args[:service_config_id] if args.key?(:service_config_id) - @report_errors = args[:report_errors] if args.key?(:report_errors) - @report_infos = args[:report_infos] if args.key?(:report_infos) - end - end - - # Response message for the Check method. - class CheckResponse - include Google::Apis::Core::Hashable - - # Feedback data returned from the server during processing a Check request. - # Corresponds to the JSON property `checkInfo` - # @return [Google::Apis::ServicecontrolV1::CheckInfo] - attr_accessor :check_info - - # Indicate the decision of the check. - # If no check errors are present, the service should process the operation. - # Otherwise the service should use the list of errors to determine the - # appropriate action. - # Corresponds to the JSON property `checkErrors` - # @return [Array] - attr_accessor :check_errors - - # The same operation_id value used in the CheckRequest. - # Used for logging and diagnostics purposes. - # Corresponds to the JSON property `operationId` - # @return [String] - attr_accessor :operation_id - # The actual config id used to process the request. # Corresponds to the JSON property `serviceConfigId` # @return [String] attr_accessor :service_config_id - # Contains the quota information for a quota check response. - # Corresponds to the JSON property `quotaInfo` - # @return [Google::Apis::ServicecontrolV1::QuotaInfo] - attr_accessor :quota_info + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @report_errors = args[:report_errors] if args.key?(:report_errors) + @report_infos = args[:report_infos] if args.key?(:report_infos) + @service_config_id = args[:service_config_id] if args.key?(:service_config_id) + end + end + + # Metadata about the request. + class RequestMetadata + include Google::Apis::Core::Hashable + + # The IP address of the caller. + # For caller from internet, this will be public IPv4 or IPv6 address. + # For caller from GCE VM with external IP address, this will be the VM's + # external IP address. For caller from GCE VM without external IP address, if + # the VM is in the same GCP organization (or project) as the accessed + # resource, `caller_ip` will be the GCE VM's internal IPv4 address, otherwise + # it will be redacted to "gce-internal-ip". + # See https://cloud.google.com/compute/docs/vpc/ for more information. + # Corresponds to the JSON property `callerIp` + # @return [String] + attr_accessor :caller_ip + + # The user agent of the caller. + # This information is not authenticated and should be treated accordingly. + # For example: + # + `google-api-python-client/1.4.0`: + # The request was made by the Google API client for Python. + # + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: + # The request was made by the Google Cloud SDK CLI (gcloud). + # + `AppEngine-Google; (+http://code.google.com/appengine; appid: s~my-project` + # : + # The request was made from the `my-project` App Engine app. + # NOLINT + # Corresponds to the JSON property `callerSuppliedUserAgent` + # @return [String] + attr_accessor :caller_supplied_user_agent def initialize(**args) update!(**args) @@ -1348,37 +1567,69 @@ module Google # Update properties of this object def update!(**args) - @check_info = args[:check_info] if args.key?(:check_info) - @check_errors = args[:check_errors] if args.key?(:check_errors) - @operation_id = args[:operation_id] if args.key?(:operation_id) - @service_config_id = args[:service_config_id] if args.key?(:service_config_id) - @quota_info = args[:quota_info] if args.key?(:quota_info) + @caller_ip = args[:caller_ip] if args.key?(:caller_ip) + @caller_supplied_user_agent = args[:caller_supplied_user_agent] if args.key?(:caller_supplied_user_agent) end end - # Request message for the Report method. - class ReportRequest + # + class StartReconciliationRequest include Google::Apis::Core::Hashable - # Specifies which version of service config should be used to process the - # request. - # If unspecified or no matching version can be found, the - # latest one will be used. + # Represents information regarding a quota operation. + # Corresponds to the JSON property `reconciliationOperation` + # @return [Google::Apis::ServicecontrolV1::QuotaOperation] + attr_accessor :reconciliation_operation + + # Specifies which version of service configuration should be used to process + # the request. If unspecified or no matching version can be found, the latest + # one will be used. # Corresponds to the JSON property `serviceConfigId` # @return [String] attr_accessor :service_config_id - # Operations to be reported. - # Typically the service should report one operation per request. - # Putting multiple operations into a single request is allowed, but should - # be used only when multiple operations are natually available at the time - # of the report. - # If multiple operations are in a single request, the total request size - # should be no larger than 1MB. See ReportResponse.report_errors for - # partial failure behavior. - # Corresponds to the JSON property `operations` - # @return [Array] - attr_accessor :operations + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @reconciliation_operation = args[:reconciliation_operation] if args.key?(:reconciliation_operation) + @service_config_id = args[:service_config_id] if args.key?(:service_config_id) + end + end + + # + class StartReconciliationResponse + include Google::Apis::Core::Hashable + + # The same operation_id value used in the StartReconciliationRequest. Used + # for logging and diagnostics purposes. + # Corresponds to the JSON property `operationId` + # @return [String] + attr_accessor :operation_id + + # Metric values as tracked by One Platform before the start of + # reconciliation. The following metrics will be included: + # 1. Per quota metric total usage will be specified using the following gauge + # metric: + # "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" + # 2. Value for each quota limit associated with the metrics will be specified + # using the following gauge metric: + # "serviceruntime.googleapis.com/quota/limit" + # Corresponds to the JSON property `quotaMetrics` + # @return [Array] + attr_accessor :quota_metrics + + # Indicates the decision of the reconciliation start. + # Corresponds to the JSON property `reconciliationErrors` + # @return [Array] + attr_accessor :reconciliation_errors + + # ID of the actual config used to process the request. + # Corresponds to the JSON property `serviceConfigId` + # @return [String] + attr_accessor :service_config_id def initialize(**args) update!(**args) @@ -1386,8 +1637,10 @@ module Google # Update properties of this object def update!(**args) + @operation_id = args[:operation_id] if args.key?(:operation_id) + @quota_metrics = args[:quota_metrics] if args.key?(:quota_metrics) + @reconciliation_errors = args[:reconciliation_errors] if args.key?(:reconciliation_errors) @service_config_id = args[:service_config_id] if args.key?(:service_config_id) - @operations = args[:operations] if args.key?(:operations) end end @@ -1433,6 +1686,17 @@ module Google 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 is 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. @@ -1440,235 +1704,15 @@ module Google # @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 - - # The status code, which should be an enum value of google.rpc.Code. - # Corresponds to the JSON property `code` - # @return [Fixnum] - attr_accessor :code - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @message = args[:message] if args.key?(:message) - @details = args[:details] if args.key?(:details) @code = args[:code] if args.key?(:code) - end - end - - # An individual log entry. - class LogEntry - include Google::Apis::Core::Hashable - - # The log entry payload, represented as a Unicode string (UTF-8). - # Corresponds to the JSON property `textPayload` - # @return [String] - attr_accessor :text_payload - - # The log entry payload, represented as a protocol buffer that is - # expressed as a JSON object. You can only pass `protoPayload` - # values that belong to a set of approved types. - # Corresponds to the JSON property `protoPayload` - # @return [Hash] - attr_accessor :proto_payload - - # The time the event described by the log entry occurred. If - # omitted, defaults to operation start time. - # Corresponds to the JSON property `timestamp` - # @return [String] - attr_accessor :timestamp - - # A set of user-defined (key, value) data that provides additional - # information about the log entry. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # The severity of the log entry. The default value is - # `LogSeverity.DEFAULT`. - # Corresponds to the JSON property `severity` - # @return [String] - attr_accessor :severity - - # A unique ID for the log entry used for deduplication. If omitted, - # the implementation will generate one based on operation_id. - # Corresponds to the JSON property `insertId` - # @return [String] - attr_accessor :insert_id - - # Required. The log to which this log entry belongs. Examples: `"syslog"`, - # `"book_log"`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The log entry payload, represented as a structure that - # is expressed as a JSON object. - # Corresponds to the JSON property `structPayload` - # @return [Hash] - attr_accessor :struct_payload - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @text_payload = args[:text_payload] if args.key?(:text_payload) - @proto_payload = args[:proto_payload] if args.key?(:proto_payload) - @timestamp = args[:timestamp] if args.key?(:timestamp) - @labels = args[:labels] if args.key?(:labels) - @severity = args[:severity] if args.key?(:severity) - @insert_id = args[:insert_id] if args.key?(:insert_id) - @name = args[:name] if args.key?(:name) - @struct_payload = args[:struct_payload] if args.key?(:struct_payload) - end - end - - # Common audit log format for Google Cloud Platform API operations. - class AuditLog - include Google::Apis::Core::Hashable - - # Authorization information. If there are multiple - # resources or permissions involved, then there is - # one AuthorizationInfo element for each `resource, permission` tuple. - # Corresponds to the JSON property `authorizationInfo` - # @return [Array] - attr_accessor :authorization_info - - # The resource or collection that is the target of the operation. - # The name is a scheme-less URI, not including the API service name. - # For example: - # "shelves/SHELF_ID/books" - # "shelves/SHELF_ID/books/BOOK_ID" - # Corresponds to the JSON property `resourceName` - # @return [String] - attr_accessor :resource_name - - # The operation request. This may not include all request parameters, - # such as those that are too large, privacy-sensitive, or duplicated - # elsewhere in the log record. - # It should never include user-generated data, such as file contents. - # When the JSON object represented here has a proto equivalent, the proto - # name will be indicated in the `@type` property. - # Corresponds to the JSON property `request` - # @return [Hash] - attr_accessor :request - - # Metadata about the request. - # Corresponds to the JSON property `requestMetadata` - # @return [Google::Apis::ServicecontrolV1::RequestMetadata] - attr_accessor :request_metadata - - # Other service-specific data about the request, response, and other - # activities. - # Corresponds to the JSON property `serviceData` - # @return [Hash] - attr_accessor :service_data - - # The number of items returned from a List or Query API method, - # if applicable. - # Corresponds to the JSON property `numResponseItems` - # @return [Fixnum] - attr_accessor :num_response_items - - # Authentication information for the operation. - # Corresponds to the JSON property `authenticationInfo` - # @return [Google::Apis::ServicecontrolV1::AuthenticationInfo] - attr_accessor :authentication_info - - # 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` that 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. - # - 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 `status` - # @return [Google::Apis::ServicecontrolV1::Status] - attr_accessor :status - - # The name of the API service performing the operation. For example, - # `"datastore.googleapis.com"`. - # Corresponds to the JSON property `serviceName` - # @return [String] - attr_accessor :service_name - - # The operation response. This may not include all response elements, - # such as those that are too large, privacy-sensitive, or duplicated - # elsewhere in the log record. - # It should never include user-generated data, such as file contents. - # When the JSON object represented here has a proto equivalent, the proto - # name will be indicated in the `@type` property. - # Corresponds to the JSON property `response` - # @return [Hash] - attr_accessor :response - - # The name of the service method or operation. - # For API calls, this should be the name of the API method. - # For example, - # "google.datastore.v1.Datastore.RunQuery" - # "google.logging.v1.LoggingService.DeleteLog" - # Corresponds to the JSON property `methodName` - # @return [String] - attr_accessor :method_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @authorization_info = args[:authorization_info] if args.key?(:authorization_info) - @resource_name = args[:resource_name] if args.key?(:resource_name) - @request = args[:request] if args.key?(:request) - @request_metadata = args[:request_metadata] if args.key?(:request_metadata) - @service_data = args[:service_data] if args.key?(:service_data) - @num_response_items = args[:num_response_items] if args.key?(:num_response_items) - @authentication_info = args[:authentication_info] if args.key?(:authentication_info) - @status = args[:status] if args.key?(:status) - @service_name = args[:service_name] if args.key?(:service_name) - @response = args[:response] if args.key?(:response) - @method_name = args[:method_name] if args.key?(:method_name) + @details = args[:details] if args.key?(:details) + @message = args[:message] if args.key?(:message) end end end diff --git a/generated/google/apis/servicecontrol_v1/representations.rb b/generated/google/apis/servicecontrol_v1/representations.rb index 72f687b49..a52f73d82 100644 --- a/generated/google/apis/servicecontrol_v1/representations.rb +++ b/generated/google/apis/servicecontrol_v1/representations.rb @@ -22,19 +22,61 @@ module Google module Apis module ServicecontrolV1 - class MetricValue + class AllocateQuotaRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class EndReconciliationResponse + class AllocateQuotaResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Money + class AuditLog + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AuthenticationInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AuthorizationInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CheckError + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CheckInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CheckRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CheckResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ConsumerInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -46,6 +88,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class EndReconciliationRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EndReconciliationResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ExplicitBuckets class Representation < Google::Apis::Core::JsonRepresentation; end @@ -58,227 +112,271 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class AuthorizationInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StartReconciliationResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class QuotaProperties - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class LinearBuckets class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class AuthenticationInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AllocateQuotaResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReleaseQuotaRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class QuotaError - 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 CheckInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReleaseQuotaResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AllocateQuotaRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MetricValueSet - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReportError - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StartReconciliationRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CheckError - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class QuotaInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CheckRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class QuotaOperation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class EndReconciliationRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReportInfo - 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 ReportResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CheckResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReportRequest - 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 LogEntry class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class AuditLog + class MetricValue class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class MetricValue - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :distribution_value, as: 'distributionValue', class: Google::Apis::ServicecontrolV1::Distribution, decorator: Google::Apis::ServicecontrolV1::Distribution::Representation + class MetricValueSet + class Representation < Google::Apis::Core::JsonRepresentation; end - property :bool_value, as: 'boolValue' - property :end_time, as: 'endTime' - property :start_time, as: 'startTime' - property :money_value, as: 'moneyValue', class: Google::Apis::ServicecontrolV1::Money, decorator: Google::Apis::ServicecontrolV1::Money::Representation - - hash :labels, as: 'labels' - property :string_value, as: 'stringValue' - property :double_value, as: 'doubleValue' - property :int64_value, :numeric_string => true, as: 'int64Value' - end + include Google::Apis::Core::JsonObjectSupport end - class EndReconciliationResponse + class Money + 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 QuotaError + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class QuotaInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class QuotaOperation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class QuotaProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReleaseQuotaRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReleaseQuotaResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReportError + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReportInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReportRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReportResponse + 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 StartReconciliationRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StartReconciliationResponse + 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 AllocateQuotaRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :quota_metrics, as: 'quotaMetrics', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation + property :allocate_operation, as: 'allocateOperation', class: Google::Apis::ServicecontrolV1::QuotaOperation, decorator: Google::Apis::ServicecontrolV1::QuotaOperation::Representation - collection :reconciliation_errors, as: 'reconciliationErrors', class: Google::Apis::ServicecontrolV1::QuotaError, decorator: Google::Apis::ServicecontrolV1::QuotaError::Representation - - property :operation_id, as: 'operationId' + property :allocation_mode, as: 'allocationMode' property :service_config_id, as: 'serviceConfigId' end end - class Money + class AllocateQuotaResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :currency_code, as: 'currencyCode' - property :nanos, as: 'nanos' - property :units, :numeric_string => true, as: 'units' + collection :allocate_errors, as: 'allocateErrors', class: Google::Apis::ServicecontrolV1::QuotaError, decorator: Google::Apis::ServicecontrolV1::QuotaError::Representation + + property :operation_id, as: 'operationId' + collection :quota_metrics, as: 'quotaMetrics', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation + + property :service_config_id, as: 'serviceConfigId' + end + end + + class AuditLog + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :authentication_info, as: 'authenticationInfo', class: Google::Apis::ServicecontrolV1::AuthenticationInfo, decorator: Google::Apis::ServicecontrolV1::AuthenticationInfo::Representation + + collection :authorization_info, as: 'authorizationInfo', class: Google::Apis::ServicecontrolV1::AuthorizationInfo, decorator: Google::Apis::ServicecontrolV1::AuthorizationInfo::Representation + + property :method_name, as: 'methodName' + property :num_response_items, :numeric_string => true, as: 'numResponseItems' + hash :request, as: 'request' + property :request_metadata, as: 'requestMetadata', class: Google::Apis::ServicecontrolV1::RequestMetadata, decorator: Google::Apis::ServicecontrolV1::RequestMetadata::Representation + + property :resource_name, as: 'resourceName' + hash :response, as: 'response' + hash :service_data, as: 'serviceData' + property :service_name, as: 'serviceName' + property :status, as: 'status', class: Google::Apis::ServicecontrolV1::Status, decorator: Google::Apis::ServicecontrolV1::Status::Representation + + end + end + + class AuthenticationInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :authority_selector, as: 'authoritySelector' + property :principal_email, as: 'principalEmail' + end + end + + class AuthorizationInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :granted, as: 'granted' + property :permission, as: 'permission' + property :resource, as: 'resource' + end + end + + class CheckError + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + property :detail, as: 'detail' + end + end + + class CheckInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :consumer_info, as: 'consumerInfo', class: Google::Apis::ServicecontrolV1::ConsumerInfo, decorator: Google::Apis::ServicecontrolV1::ConsumerInfo::Representation + + collection :unused_arguments, as: 'unusedArguments' + end + end + + class CheckRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :operation, as: 'operation', class: Google::Apis::ServicecontrolV1::Operation, decorator: Google::Apis::ServicecontrolV1::Operation::Representation + + property :request_project_settings, as: 'requestProjectSettings' + property :service_config_id, as: 'serviceConfigId' + property :skip_activation_check, as: 'skipActivationCheck' + end + end + + class CheckResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :check_errors, as: 'checkErrors', class: Google::Apis::ServicecontrolV1::CheckError, decorator: Google::Apis::ServicecontrolV1::CheckError::Representation + + property :check_info, as: 'checkInfo', class: Google::Apis::ServicecontrolV1::CheckInfo, decorator: Google::Apis::ServicecontrolV1::CheckInfo::Representation + + property :operation_id, as: 'operationId' + property :quota_info, as: 'quotaInfo', class: Google::Apis::ServicecontrolV1::QuotaInfo, decorator: Google::Apis::ServicecontrolV1::QuotaInfo::Representation + + property :service_config_id, as: 'serviceConfigId' + end + end + + class ConsumerInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :project_number, :numeric_string => true, as: 'projectNumber' end end class Distribution # @private class Representation < Google::Apis::Core::JsonRepresentation - property :count, :numeric_string => true, as: 'count' - property :mean, as: 'mean' collection :bucket_counts, as: 'bucketCounts' + property :count, :numeric_string => true, as: 'count' property :explicit_buckets, as: 'explicitBuckets', class: Google::Apis::ServicecontrolV1::ExplicitBuckets, decorator: Google::Apis::ServicecontrolV1::ExplicitBuckets::Representation - property :maximum, as: 'maximum' - property :sum_of_squared_deviation, as: 'sumOfSquaredDeviation' property :exponential_buckets, as: 'exponentialBuckets', class: Google::Apis::ServicecontrolV1::ExponentialBuckets, decorator: Google::Apis::ServicecontrolV1::ExponentialBuckets::Representation - property :minimum, as: 'minimum' property :linear_buckets, as: 'linearBuckets', class: Google::Apis::ServicecontrolV1::LinearBuckets, decorator: Google::Apis::ServicecontrolV1::LinearBuckets::Representation + property :maximum, as: 'maximum' + property :mean, as: 'mean' + property :minimum, as: 'minimum' + property :sum_of_squared_deviation, as: 'sumOfSquaredDeviation' + end + end + + class EndReconciliationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :reconciliation_operation, as: 'reconciliationOperation', class: Google::Apis::ServicecontrolV1::QuotaOperation, decorator: Google::Apis::ServicecontrolV1::QuotaOperation::Representation + + property :service_config_id, as: 'serviceConfigId' + end + end + + class EndReconciliationResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :operation_id, as: 'operationId' + collection :quota_metrics, as: 'quotaMetrics', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation + + collection :reconciliation_errors, as: 'reconciliationErrors', class: Google::Apis::ServicecontrolV1::QuotaError, decorator: Google::Apis::ServicecontrolV1::QuotaError::Representation + + property :service_config_id, as: 'serviceConfigId' end end @@ -292,30 +390,121 @@ module Google class ExponentialBuckets # @private class Representation < Google::Apis::Core::JsonRepresentation - property :num_finite_buckets, as: 'numFiniteBuckets' property :growth_factor, as: 'growthFactor' + property :num_finite_buckets, as: 'numFiniteBuckets' property :scale, as: 'scale' end end - class AuthorizationInfo + class LinearBuckets # @private class Representation < Google::Apis::Core::JsonRepresentation - property :permission, as: 'permission' - property :resource, as: 'resource' - property :granted, as: 'granted' + property :num_finite_buckets, as: 'numFiniteBuckets' + property :offset, as: 'offset' + property :width, as: 'width' end end - class StartReconciliationResponse + class LogEntry # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :quota_metrics, as: 'quotaMetrics', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation + property :insert_id, as: 'insertId' + hash :labels, as: 'labels' + property :name, as: 'name' + hash :proto_payload, as: 'protoPayload' + property :severity, as: 'severity' + hash :struct_payload, as: 'structPayload' + property :text_payload, as: 'textPayload' + property :timestamp, as: 'timestamp' + end + end - collection :reconciliation_errors, as: 'reconciliationErrors', class: Google::Apis::ServicecontrolV1::QuotaError, decorator: Google::Apis::ServicecontrolV1::QuotaError::Representation + class MetricValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bool_value, as: 'boolValue' + property :distribution_value, as: 'distributionValue', class: Google::Apis::ServicecontrolV1::Distribution, decorator: Google::Apis::ServicecontrolV1::Distribution::Representation + + property :double_value, as: 'doubleValue' + property :end_time, as: 'endTime' + property :int64_value, :numeric_string => true, as: 'int64Value' + hash :labels, as: 'labels' + property :money_value, as: 'moneyValue', class: Google::Apis::ServicecontrolV1::Money, decorator: Google::Apis::ServicecontrolV1::Money::Representation + + property :start_time, as: 'startTime' + property :string_value, as: 'stringValue' + end + end + + class MetricValueSet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metric_name, as: 'metricName' + collection :metric_values, as: 'metricValues', class: Google::Apis::ServicecontrolV1::MetricValue, decorator: Google::Apis::ServicecontrolV1::MetricValue::Representation + + end + end + + class Money + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :currency_code, as: 'currencyCode' + property :nanos, as: 'nanos' + property :units, :numeric_string => true, as: 'units' + end + end + + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :consumer_id, as: 'consumerId' + property :end_time, as: 'endTime' + property :importance, as: 'importance' + hash :labels, as: 'labels' + collection :log_entries, as: 'logEntries', class: Google::Apis::ServicecontrolV1::LogEntry, decorator: Google::Apis::ServicecontrolV1::LogEntry::Representation + + collection :metric_value_sets, as: 'metricValueSets', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation property :operation_id, as: 'operationId' - property :service_config_id, as: 'serviceConfigId' + property :operation_name, as: 'operationName' + property :quota_properties, as: 'quotaProperties', class: Google::Apis::ServicecontrolV1::QuotaProperties, decorator: Google::Apis::ServicecontrolV1::QuotaProperties::Representation + + property :resource_container, as: 'resourceContainer' + collection :resource_containers, as: 'resourceContainers' + property :start_time, as: 'startTime' + hash :user_labels, as: 'userLabels' + end + end + + class QuotaError + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + property :description, as: 'description' + property :subject, as: 'subject' + end + end + + class QuotaInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :limit_exceeded, as: 'limitExceeded' + hash :quota_consumed, as: 'quotaConsumed' + collection :quota_metrics, as: 'quotaMetrics', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation + + end + end + + class QuotaOperation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :consumer_id, as: 'consumerId' + hash :labels, as: 'labels' + property :method_name, as: 'methodName' + property :operation_id, as: 'operationId' + collection :quota_metrics, as: 'quotaMetrics', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation + + property :quota_mode, as: 'quotaMode' end end @@ -327,165 +516,33 @@ module Google end end - class LinearBuckets - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :width, as: 'width' - property :offset, as: 'offset' - property :num_finite_buckets, as: 'numFiniteBuckets' - end - end - - class AuthenticationInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :principal_email, as: 'principalEmail' - property :authority_selector, as: 'authoritySelector' - end - end - - class AllocateQuotaResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :allocate_errors, as: 'allocateErrors', class: Google::Apis::ServicecontrolV1::QuotaError, decorator: Google::Apis::ServicecontrolV1::QuotaError::Representation - - collection :quota_metrics, as: 'quotaMetrics', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation - - property :operation_id, as: 'operationId' - property :service_config_id, as: 'serviceConfigId' - end - end - class ReleaseQuotaRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :service_config_id, as: 'serviceConfigId' property :release_operation, as: 'releaseOperation', class: Google::Apis::ServicecontrolV1::QuotaOperation, decorator: Google::Apis::ServicecontrolV1::QuotaOperation::Representation - end - end - - class QuotaError - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :subject, as: 'subject' - property :code, as: 'code' - end - end - - class RequestMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :caller_ip, as: 'callerIp' - property :caller_supplied_user_agent, as: 'callerSuppliedUserAgent' - end - end - - class CheckInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :unused_arguments, as: 'unusedArguments' + property :service_config_id, as: 'serviceConfigId' end end class ReleaseQuotaResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :release_errors, as: 'releaseErrors', class: Google::Apis::ServicecontrolV1::QuotaError, decorator: Google::Apis::ServicecontrolV1::QuotaError::Representation - + property :operation_id, as: 'operationId' collection :quota_metrics, as: 'quotaMetrics', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation - property :operation_id, as: 'operationId' + collection :release_errors, as: 'releaseErrors', class: Google::Apis::ServicecontrolV1::QuotaError, decorator: Google::Apis::ServicecontrolV1::QuotaError::Representation + property :service_config_id, as: 'serviceConfigId' end end - class AllocateQuotaRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :service_config_id, as: 'serviceConfigId' - property :allocate_operation, as: 'allocateOperation', class: Google::Apis::ServicecontrolV1::QuotaOperation, decorator: Google::Apis::ServicecontrolV1::QuotaOperation::Representation - - property :allocation_mode, as: 'allocationMode' - end - end - - class MetricValueSet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :metric_values, as: 'metricValues', class: Google::Apis::ServicecontrolV1::MetricValue, decorator: Google::Apis::ServicecontrolV1::MetricValue::Representation - - property :metric_name, as: 'metricName' - end - end - class ReportError # @private class Representation < Google::Apis::Core::JsonRepresentation + property :operation_id, as: 'operationId' property :status, as: 'status', class: Google::Apis::ServicecontrolV1::Status, decorator: Google::Apis::ServicecontrolV1::Status::Representation - property :operation_id, as: 'operationId' - end - end - - class StartReconciliationRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :reconciliation_operation, as: 'reconciliationOperation', class: Google::Apis::ServicecontrolV1::QuotaOperation, decorator: Google::Apis::ServicecontrolV1::QuotaOperation::Representation - - property :service_config_id, as: 'serviceConfigId' - end - end - - class CheckError - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :detail, as: 'detail' - property :code, as: 'code' - end - end - - class QuotaInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :quota_consumed, as: 'quotaConsumed' - collection :quota_metrics, as: 'quotaMetrics', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation - - collection :limit_exceeded, as: 'limitExceeded' - end - end - - class CheckRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :skip_activation_check, as: 'skipActivationCheck' - property :request_project_settings, as: 'requestProjectSettings' - property :operation, as: 'operation', class: Google::Apis::ServicecontrolV1::Operation, decorator: Google::Apis::ServicecontrolV1::Operation::Representation - - property :service_config_id, as: 'serviceConfigId' - end - end - - class QuotaOperation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :quota_metrics, as: 'quotaMetrics', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation - - hash :labels, as: 'labels' - property :consumer_id, as: 'consumerId' - property :operation_id, as: 'operationId' - property :quota_mode, as: 'quotaMode' - property :method_name, as: 'methodName' - end - end - - class EndReconciliationRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :reconciliation_operation, as: 'reconciliationOperation', class: Google::Apis::ServicecontrolV1::QuotaOperation, decorator: Google::Apis::ServicecontrolV1::QuotaOperation::Representation - - property :service_config_id, as: 'serviceConfigId' end end @@ -498,102 +555,61 @@ module Google end end - class Operation + class ReportRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :importance, as: 'importance' - property :resource_container, as: 'resourceContainer' - hash :labels, as: 'labels' - collection :log_entries, as: 'logEntries', class: Google::Apis::ServicecontrolV1::LogEntry, decorator: Google::Apis::ServicecontrolV1::LogEntry::Representation + collection :operations, as: 'operations', class: Google::Apis::ServicecontrolV1::Operation, decorator: Google::Apis::ServicecontrolV1::Operation::Representation - hash :user_labels, as: 'userLabels' - collection :metric_value_sets, as: 'metricValueSets', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation - - property :quota_properties, as: 'quotaProperties', class: Google::Apis::ServicecontrolV1::QuotaProperties, decorator: Google::Apis::ServicecontrolV1::QuotaProperties::Representation - - property :consumer_id, as: 'consumerId' - property :operation_id, as: 'operationId' - property :end_time, as: 'endTime' - property :operation_name, as: 'operationName' - property :start_time, as: 'startTime' + property :service_config_id, as: 'serviceConfigId' end end class ReportResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :service_config_id, as: 'serviceConfigId' collection :report_errors, as: 'reportErrors', class: Google::Apis::ServicecontrolV1::ReportError, decorator: Google::Apis::ServicecontrolV1::ReportError::Representation collection :report_infos, as: 'reportInfos', class: Google::Apis::ServicecontrolV1::ReportInfo, decorator: Google::Apis::ServicecontrolV1::ReportInfo::Representation + property :service_config_id, as: 'serviceConfigId' end end - class CheckResponse + class RequestMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation - property :check_info, as: 'checkInfo', class: Google::Apis::ServicecontrolV1::CheckInfo, decorator: Google::Apis::ServicecontrolV1::CheckInfo::Representation + property :caller_ip, as: 'callerIp' + property :caller_supplied_user_agent, as: 'callerSuppliedUserAgent' + end + end - collection :check_errors, as: 'checkErrors', class: Google::Apis::ServicecontrolV1::CheckError, decorator: Google::Apis::ServicecontrolV1::CheckError::Representation + class StartReconciliationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :reconciliation_operation, as: 'reconciliationOperation', class: Google::Apis::ServicecontrolV1::QuotaOperation, decorator: Google::Apis::ServicecontrolV1::QuotaOperation::Representation + property :service_config_id, as: 'serviceConfigId' + end + end + + class StartReconciliationResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation property :operation_id, as: 'operationId' + collection :quota_metrics, as: 'quotaMetrics', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation + + collection :reconciliation_errors, as: 'reconciliationErrors', class: Google::Apis::ServicecontrolV1::QuotaError, decorator: Google::Apis::ServicecontrolV1::QuotaError::Representation + property :service_config_id, as: 'serviceConfigId' - property :quota_info, as: 'quotaInfo', class: Google::Apis::ServicecontrolV1::QuotaInfo, decorator: Google::Apis::ServicecontrolV1::QuotaInfo::Representation - - end - end - - class ReportRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :service_config_id, as: 'serviceConfigId' - collection :operations, as: 'operations', class: Google::Apis::ServicecontrolV1::Operation, decorator: Google::Apis::ServicecontrolV1::Operation::Representation - end end class Status # @private class Representation < Google::Apis::Core::JsonRepresentation - property :message, as: 'message' - collection :details, as: 'details' property :code, as: 'code' - end - end - - class LogEntry - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :text_payload, as: 'textPayload' - hash :proto_payload, as: 'protoPayload' - property :timestamp, as: 'timestamp' - hash :labels, as: 'labels' - property :severity, as: 'severity' - property :insert_id, as: 'insertId' - property :name, as: 'name' - hash :struct_payload, as: 'structPayload' - end - end - - class AuditLog - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :authorization_info, as: 'authorizationInfo', class: Google::Apis::ServicecontrolV1::AuthorizationInfo, decorator: Google::Apis::ServicecontrolV1::AuthorizationInfo::Representation - - property :resource_name, as: 'resourceName' - hash :request, as: 'request' - property :request_metadata, as: 'requestMetadata', class: Google::Apis::ServicecontrolV1::RequestMetadata, decorator: Google::Apis::ServicecontrolV1::RequestMetadata::Representation - - hash :service_data, as: 'serviceData' - property :num_response_items, :numeric_string => true, as: 'numResponseItems' - property :authentication_info, as: 'authenticationInfo', class: Google::Apis::ServicecontrolV1::AuthenticationInfo, decorator: Google::Apis::ServicecontrolV1::AuthenticationInfo::Representation - - property :status, as: 'status', class: Google::Apis::ServicecontrolV1::Status, decorator: Google::Apis::ServicecontrolV1::Status::Representation - - property :service_name, as: 'serviceName' - hash :response, as: 'response' - property :method_name, as: 'methodName' + collection :details, as: 'details' + property :message, as: 'message' end end end diff --git a/generated/google/apis/servicecontrol_v1/service.rb b/generated/google/apis/servicecontrol_v1/service.rb index 675bdff55..ff16d7f4b 100644 --- a/generated/google/apis/servicecontrol_v1/service.rb +++ b/generated/google/apis/servicecontrol_v1/service.rb @@ -48,90 +48,6 @@ module Google @batch_path = 'batch' end - # Signals the quota controller that service ends the ongoing usage - # reconciliation. - # This method requires the `servicemanagement.services.quota` - # permission on the specified service. For more information, see - # [Google Cloud IAM](https://cloud.google.com/iam). - # @param [String] service_name - # Name of the service as specified in the service configuration. For example, - # `"pubsub.googleapis.com"`. - # See google.api.Service for the definition of a service name. - # @param [Google::Apis::ServicecontrolV1::EndReconciliationRequest] end_reconciliation_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::ServicecontrolV1::EndReconciliationResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServicecontrolV1::EndReconciliationResponse] - # - # @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 end_service_reconciliation(service_name, end_reconciliation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/services/{serviceName}:endReconciliation', options) - command.request_representation = Google::Apis::ServicecontrolV1::EndReconciliationRequest::Representation - command.request_object = end_reconciliation_request_object - command.response_representation = Google::Apis::ServicecontrolV1::EndReconciliationResponse::Representation - command.response_class = Google::Apis::ServicecontrolV1::EndReconciliationResponse - command.params['serviceName'] = service_name unless service_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 - - # Reports operation results to Google Service Control, such as logs and - # metrics. It should be called after an operation is completed. - # If feasible, the client should aggregate reporting data for up to 5 - # seconds to reduce API traffic. Limiting aggregation to 5 seconds is to - # reduce data loss during client crashes. Clients should carefully choose - # the aggregation time window to avoid data loss risk more than 0.01% - # for business and compliance reasons. - # NOTE: the `ReportRequest` has the size limit of 1MB. - # This method requires the `servicemanagement.services.report` permission - # on the specified service. For more information, see - # [Google Cloud IAM](https://cloud.google.com/iam). - # @param [String] service_name - # The service name as specified in its service configuration. For example, - # `"pubsub.googleapis.com"`. - # See google.api.Service for the definition of a service name. - # @param [Google::Apis::ServicecontrolV1::ReportRequest] report_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::ServicecontrolV1::ReportResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServicecontrolV1::ReportResponse] - # - # @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 report_service(service_name, report_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/services/{serviceName}:report', options) - command.request_representation = Google::Apis::ServicecontrolV1::ReportRequest::Representation - command.request_object = report_request_object - command.response_representation = Google::Apis::ServicecontrolV1::ReportResponse::Representation - command.response_class = Google::Apis::ServicecontrolV1::ReportResponse - command.params['serviceName'] = service_name unless service_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 - # Attempts to allocate quota for the specified consumer. It should be called # before the operation is executed. # This method requires the `servicemanagement.services.quota` @@ -179,6 +95,186 @@ module Google execute_or_queue_command(command, &block) end + # Checks an operation with Google Service Control to decide whether + # the given operation should proceed. It should be called before the + # operation is executed. + # If feasible, the client should cache the check results and reuse them for + # 60 seconds. In case of server errors, the client can rely on the cached + # results for longer time. + # NOTE: the CheckRequest has the size limit of 64KB. + # This method requires the `servicemanagement.services.check` permission + # on the specified service. For more information, see + # [Google Cloud IAM](https://cloud.google.com/iam). + # @param [String] service_name + # The service name as specified in its service configuration. For example, + # `"pubsub.googleapis.com"`. + # See + # [google.api.Service](https://cloud.google.com/service-management/reference/rpc/ + # google.api#google.api.Service) + # for the definition of a service name. + # @param [Google::Apis::ServicecontrolV1::CheckRequest] check_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::ServicecontrolV1::CheckResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ServicecontrolV1::CheckResponse] + # + # @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 check_service(service_name, check_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/services/{serviceName}:check', options) + command.request_representation = Google::Apis::ServicecontrolV1::CheckRequest::Representation + command.request_object = check_request_object + command.response_representation = Google::Apis::ServicecontrolV1::CheckResponse::Representation + command.response_class = Google::Apis::ServicecontrolV1::CheckResponse + command.params['serviceName'] = service_name unless service_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 + + # Signals the quota controller that service ends the ongoing usage + # reconciliation. + # This method requires the `servicemanagement.services.quota` + # permission on the specified service. For more information, see + # [Google Cloud IAM](https://cloud.google.com/iam). + # @param [String] service_name + # Name of the service as specified in the service configuration. For example, + # `"pubsub.googleapis.com"`. + # See google.api.Service for the definition of a service name. + # @param [Google::Apis::ServicecontrolV1::EndReconciliationRequest] end_reconciliation_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::ServicecontrolV1::EndReconciliationResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ServicecontrolV1::EndReconciliationResponse] + # + # @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 end_service_reconciliation(service_name, end_reconciliation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/services/{serviceName}:endReconciliation', options) + command.request_representation = Google::Apis::ServicecontrolV1::EndReconciliationRequest::Representation + command.request_object = end_reconciliation_request_object + command.response_representation = Google::Apis::ServicecontrolV1::EndReconciliationResponse::Representation + command.response_class = Google::Apis::ServicecontrolV1::EndReconciliationResponse + command.params['serviceName'] = service_name unless service_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 + + # Releases previously allocated quota done through AllocateQuota method. + # This method requires the `servicemanagement.services.quota` + # permission on the specified service. For more information, see + # [Google Cloud IAM](https://cloud.google.com/iam). + # **NOTE:** the client code **must** fail-open if the server returns one + # of the following quota errors: + # - `PROJECT_STATUS_UNAVAILABLE` + # - `SERVICE_STATUS_UNAVAILABLE` + # - `BILLING_STATUS_UNAVAILABLE` + # - `QUOTA_SYSTEM_UNAVAILABLE` + # The server may inject above errors to prohibit any hard dependency + # on the quota system. + # @param [String] service_name + # Name of the service as specified in the service configuration. For example, + # `"pubsub.googleapis.com"`. + # See google.api.Service for the definition of a service name. + # @param [Google::Apis::ServicecontrolV1::ReleaseQuotaRequest] release_quota_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::ServicecontrolV1::ReleaseQuotaResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ServicecontrolV1::ReleaseQuotaResponse] + # + # @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 release_service_quota(service_name, release_quota_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/services/{serviceName}:releaseQuota', options) + command.request_representation = Google::Apis::ServicecontrolV1::ReleaseQuotaRequest::Representation + command.request_object = release_quota_request_object + command.response_representation = Google::Apis::ServicecontrolV1::ReleaseQuotaResponse::Representation + command.response_class = Google::Apis::ServicecontrolV1::ReleaseQuotaResponse + command.params['serviceName'] = service_name unless service_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 + + # Reports operation results to Google Service Control, such as logs and + # metrics. It should be called after an operation is completed. + # If feasible, the client should aggregate reporting data for up to 5 + # seconds to reduce API traffic. Limiting aggregation to 5 seconds is to + # reduce data loss during client crashes. Clients should carefully choose + # the aggregation time window to avoid data loss risk more than 0.01% + # for business and compliance reasons. + # NOTE: the ReportRequest has the size limit of 1MB. + # This method requires the `servicemanagement.services.report` permission + # on the specified service. For more information, see + # [Google Cloud IAM](https://cloud.google.com/iam). + # @param [String] service_name + # The service name as specified in its service configuration. For example, + # `"pubsub.googleapis.com"`. + # See + # [google.api.Service](https://cloud.google.com/service-management/reference/rpc/ + # google.api#google.api.Service) + # for the definition of a service name. + # @param [Google::Apis::ServicecontrolV1::ReportRequest] report_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::ServicecontrolV1::ReportResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ServicecontrolV1::ReportResponse] + # + # @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 report_service(service_name, report_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/services/{serviceName}:report', options) + command.request_representation = Google::Apis::ServicecontrolV1::ReportRequest::Representation + command.request_object = report_request_object + command.response_representation = Google::Apis::ServicecontrolV1::ReportResponse::Representation + command.response_class = Google::Apis::ServicecontrolV1::ReportResponse + command.params['serviceName'] = service_name unless service_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 + # Unlike rate quota, allocation quota does not get refilled periodically. # So, it is possible that the quota usage as seen by the service differs from # what the One Platform considers the usage is. This is expected to happen @@ -235,96 +331,6 @@ module Google command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - - # Checks an operation with Google Service Control to decide whether - # the given operation should proceed. It should be called before the - # operation is executed. - # If feasible, the client should cache the check results and reuse them for - # 60 seconds. In case of server errors, the client can rely on the cached - # results for longer time. - # NOTE: the `CheckRequest` has the size limit of 64KB. - # This method requires the `servicemanagement.services.check` permission - # on the specified service. For more information, see - # [Google Cloud IAM](https://cloud.google.com/iam). - # @param [String] service_name - # The service name as specified in its service configuration. For example, - # `"pubsub.googleapis.com"`. - # See google.api.Service for the definition of a service name. - # @param [Google::Apis::ServicecontrolV1::CheckRequest] check_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::ServicecontrolV1::CheckResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServicecontrolV1::CheckResponse] - # - # @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 check_service(service_name, check_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/services/{serviceName}:check', options) - command.request_representation = Google::Apis::ServicecontrolV1::CheckRequest::Representation - command.request_object = check_request_object - command.response_representation = Google::Apis::ServicecontrolV1::CheckResponse::Representation - command.response_class = Google::Apis::ServicecontrolV1::CheckResponse - command.params['serviceName'] = service_name unless service_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 - - # Releases previously allocated quota done through AllocateQuota method. - # This method requires the `servicemanagement.services.quota` - # permission on the specified service. For more information, see - # [Google Cloud IAM](https://cloud.google.com/iam). - # **NOTE:** the client code **must** fail-open if the server returns one - # of the following quota errors: - # - `PROJECT_STATUS_UNAVAILABLE` - # - `SERVICE_STATUS_UNAVAILABLE` - # - `BILLING_STATUS_UNAVAILABLE` - # - `QUOTA_SYSTEM_UNAVAILABLE` - # The server may inject above errors to prohibit any hard dependency - # on the quota system. - # @param [String] service_name - # Name of the service as specified in the service configuration. For example, - # `"pubsub.googleapis.com"`. - # See google.api.Service for the definition of a service name. - # @param [Google::Apis::ServicecontrolV1::ReleaseQuotaRequest] release_quota_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::ServicecontrolV1::ReleaseQuotaResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServicecontrolV1::ReleaseQuotaResponse] - # - # @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 release_service_quota(service_name, release_quota_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/services/{serviceName}:releaseQuota', options) - command.request_representation = Google::Apis::ServicecontrolV1::ReleaseQuotaRequest::Representation - command.request_object = release_quota_request_object - command.response_representation = Google::Apis::ServicecontrolV1::ReleaseQuotaResponse::Representation - command.response_class = Google::Apis::ServicecontrolV1::ReleaseQuotaResponse - command.params['serviceName'] = service_name unless service_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/servicemanagement_v1.rb b/generated/google/apis/servicemanagement_v1.rb index a1625d408..228d9bca8 100644 --- a/generated/google/apis/servicemanagement_v1.rb +++ b/generated/google/apis/servicemanagement_v1.rb @@ -27,19 +27,19 @@ module Google # @see https://cloud.google.com/service-management/ module ServicemanagementV1 VERSION = 'V1' - REVISION = '20170630' + REVISION = '20170728' + + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + + # View your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' # Manage your Google API service configuration AUTH_SERVICE_MANAGEMENT = 'https://www.googleapis.com/auth/service.management' # View your Google API service configuration AUTH_SERVICE_MANAGEMENT_READONLY = 'https://www.googleapis.com/auth/service.management.readonly' - - # View your data across Google Cloud Platform services - AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' - - # 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/servicemanagement_v1/classes.rb b/generated/google/apis/servicemanagement_v1/classes.rb index 67a3f1ae4..775f8aa61 100644 --- a/generated/google/apis/servicemanagement_v1/classes.rb +++ b/generated/google/apis/servicemanagement_v1/classes.rb @@ -22,374 +22,13 @@ module Google module Apis module ServicemanagementV1 - # Output generated from semantically comparing two versions of a service - # configuration. - # Includes detailed information about a field that have changed with - # applicable advice about potential consequences for the change, such as - # backwards-incompatibility. - class ConfigChange + # Generated advice about this change, used for providing more + # information about how a change will affect the existing service. + class Advice include Google::Apis::Core::Hashable - # The type for this change, either ADDED, REMOVED, or MODIFIED. - # Corresponds to the JSON property `changeType` - # @return [String] - attr_accessor :change_type - - # Object hierarchy path to the change, with levels separated by a '.' - # character. For repeated fields, an applicable unique identifier field is - # used for the index (usually selector, name, or id). For maps, the term - # 'key' is used. If the field has no unique identifier, the numeric index - # is used. - # Examples: - # - visibility.rules[selector=="google.LibraryService.CreateBook"].restriction - # - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value - # - logging.producer_destinations[0] - # Corresponds to the JSON property `element` - # @return [String] - attr_accessor :element - - # Collection of advice provided for this change, useful for determining the - # possible impact of this change. - # Corresponds to the JSON property `advices` - # @return [Array] - attr_accessor :advices - - # Value of the changed object in the old Service configuration, - # in JSON format. This field will not be populated if ChangeType == ADDED. - # Corresponds to the JSON property `oldValue` - # @return [String] - attr_accessor :old_value - - # Value of the changed object in the new Service configuration, - # in JSON format. This field will not be populated if ChangeType == REMOVED. - # Corresponds to the JSON property `newValue` - # @return [String] - attr_accessor :new_value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @change_type = args[:change_type] if args.key?(:change_type) - @element = args[:element] if args.key?(:element) - @advices = args[:advices] if args.key?(:advices) - @old_value = args[:old_value] if args.key?(:old_value) - @new_value = args[:new_value] if args.key?(:new_value) - end - end - - # ### System parameter configuration - # A system parameter is a special kind of parameter defined by the API - # system, not by an individual API. It is typically mapped to an HTTP header - # and/or a URL query parameter. This configuration specifies which methods - # change the names of the system parameters. - class SystemParameters - include Google::Apis::Core::Hashable - - # Define system parameters. - # The parameters defined here will override the default parameters - # implemented by the system. If this field is missing from the service - # config, default system parameters will be used. Default system parameters - # and names is implementation-dependent. - # Example: define api key for all methods - # system_parameters - # rules: - # - selector: "*" - # parameters: - # - name: api_key - # url_query_parameter: api_key - # Example: define 2 api key names for a specific method. - # system_parameters - # rules: - # - selector: "/ListShelves" - # parameters: - # - name: api_key - # http_header: Api-Key1 - # - name: api_key - # http_header: Api-Key2 - # **NOTE:** All service configuration rules follow "last one wins" order. - # Corresponds to the JSON property `rules` - # @return [Array] - attr_accessor :rules - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @rules = args[:rules] if args.key?(:rules) - end - end - - # A rollout resource that defines how service configuration versions are pushed - # to control plane systems. Typically, you create a new version of the - # service config, and then create a Rollout to push the service config. - class Rollout - include Google::Apis::Core::Hashable - - # The status of this rollout. Readonly. In case of a failed rollout, - # the system will automatically rollback to the current Rollout - # version. Readonly. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - # The name of the service associated with this Rollout. - # Corresponds to the JSON property `serviceName` - # @return [String] - attr_accessor :service_name - - # The user who created the Rollout. Readonly. - # Corresponds to the JSON property `createdBy` - # @return [String] - attr_accessor :created_by - - # Strategy that specifies how clients of Google Service Controller want to - # send traffic to use different config versions. This is generally - # used by API proxy to split traffic based on your configured precentage for - # each config version. - # One example of how to gradually rollout a new service configuration using - # this - # strategy: - # Day 1 - # Rollout ` - # id: "example.googleapis.com/rollout_20160206" - # traffic_percent_strategy ` - # percentages: ` - # "example.googleapis.com/20160201": 70.00 - # "example.googleapis.com/20160206": 30.00 - # ` - # ` - # ` - # Day 2 - # Rollout ` - # id: "example.googleapis.com/rollout_20160207" - # traffic_percent_strategy: ` - # percentages: ` - # "example.googleapis.com/20160206": 100.00 - # ` - # ` - # ` - # Corresponds to the JSON property `trafficPercentStrategy` - # @return [Google::Apis::ServicemanagementV1::TrafficPercentStrategy] - attr_accessor :traffic_percent_strategy - - # Optional unique identifier of this Rollout. Only lower case letters, digits - # and '-' are allowed. - # If not specified by client, the server will generate one. The generated id - # will have the form of , where "date" is the create - # date in ISO 8601 format. "revision number" is a monotonically increasing - # positive number that is reset every day for each service. - # An example of the generated rollout_id is '2016-02-16r1' - # Corresponds to the JSON property `rolloutId` - # @return [String] - attr_accessor :rollout_id - - # Strategy used to delete a service. This strategy is a placeholder only - # used by the system generated rollout to delete a service. - # Corresponds to the JSON property `deleteServiceStrategy` - # @return [Google::Apis::ServicemanagementV1::DeleteServiceStrategy] - attr_accessor :delete_service_strategy - - # Creation time of the rollout. Readonly. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @status = args[:status] if args.key?(:status) - @service_name = args[:service_name] if args.key?(:service_name) - @created_by = args[:created_by] if args.key?(:created_by) - @traffic_percent_strategy = args[:traffic_percent_strategy] if args.key?(:traffic_percent_strategy) - @rollout_id = args[:rollout_id] if args.key?(:rollout_id) - @delete_service_strategy = args[:delete_service_strategy] if args.key?(:delete_service_strategy) - @create_time = args[:create_time] if args.key?(:create_time) - end - end - - # Quota configuration helps to achieve fairness and budgeting in service - # usage. - # The quota configuration works this way: - # - The service configuration defines a set of metrics. - # - For API calls, the quota.metric_rules maps methods to metrics with - # corresponding costs. - # - The quota.limits defines limits on the metrics, which will be used for - # quota checks at runtime. - # An example quota configuration in yaml format: - # quota: - # - name: apiWriteQpsPerProject - # metric: library.googleapis.com/write_calls - # unit: "1/min/`project`" # rate limit for consumer projects - # values: - # STANDARD: 10000 - # # The metric rules bind all methods to the read_calls metric, - # # except for the UpdateBook and DeleteBook methods. These two methods - # # are mapped to the write_calls metric, with the UpdateBook method - # # consuming at twice rate as the DeleteBook method. - # metric_rules: - # - selector: "*" - # metric_costs: - # library.googleapis.com/read_calls: 1 - # - selector: google.example.library.v1.LibraryService.UpdateBook - # metric_costs: - # library.googleapis.com/write_calls: 2 - # - selector: google.example.library.v1.LibraryService.DeleteBook - # metric_costs: - # library.googleapis.com/write_calls: 1 - # Corresponding Metric definition: - # metrics: - # - name: library.googleapis.com/read_calls - # display_name: Read requests - # metric_kind: DELTA - # value_type: INT64 - # - name: library.googleapis.com/write_calls - # display_name: Write requests - # metric_kind: DELTA - # value_type: INT64 - class Quota - include Google::Apis::Core::Hashable - - # List of `QuotaLimit` definitions for the service. - # Corresponds to the JSON property `limits` - # @return [Array] - attr_accessor :limits - - # List of `MetricRule` definitions, each one mapping a selected method to one - # or more metrics. - # Corresponds to the JSON property `metricRules` - # @return [Array] - attr_accessor :metric_rules - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @limits = args[:limits] if args.key?(:limits) - @metric_rules = args[:metric_rules] if args.key?(:metric_rules) - end - end - - # Request message for GenerateConfigReport method. - class GenerateConfigReportRequest - include Google::Apis::Core::Hashable - - # Service configuration against which the comparison will be done. - # For this version of API, the supported types are - # google.api.servicemanagement.v1.ConfigRef, - # google.api.servicemanagement.v1.ConfigSource, - # and google.api.Service - # Corresponds to the JSON property `oldConfig` - # @return [Hash] - attr_accessor :old_config - - # Service configuration for which we want to generate the report. - # For this version of API, the supported types are - # google.api.servicemanagement.v1.ConfigRef, - # google.api.servicemanagement.v1.ConfigSource, - # and google.api.Service - # Corresponds to the JSON property `newConfig` - # @return [Hash] - attr_accessor :new_config - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @old_config = args[:old_config] if args.key?(:old_config) - @new_config = args[:new_config] if args.key?(:new_config) - end - end - - # Request message for `SetIamPolicy` method. - class SetIamPolicyRequest - include Google::Apis::Core::Hashable - - # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only - # the fields in the mask will be modified. If no mask is provided, the - # following default mask is used: - # paths: "bindings, etag" - # This field is only used by Cloud IAM. - # Corresponds to the JSON property `updateMask` - # @return [String] - attr_accessor :update_mask - - # Defines an Identity and Access Management (IAM) policy. It is used to - # specify access control policies for Cloud Platform resources. - # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of - # `members` to a `role`, where the members can be user accounts, Google groups, - # Google domains, and service 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: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` - # @return [Google::Apis::ServicemanagementV1::Policy] - attr_accessor :policy - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @update_mask = args[:update_mask] if args.key?(:update_mask) - @policy = args[:policy] if args.key?(:policy) - end - end - - # Strategy used to delete a service. This strategy is a placeholder only - # used by the system generated rollout to delete a service. - class DeleteServiceStrategy - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Represents the status of one operation step. - class Step - include Google::Apis::Core::Hashable - - # The status code. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - # The short description of the step. + # Useful description for why this advice was applied and what actions should + # be taken to mitigate any implied risks. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description @@ -400,995 +39,73 @@ module Google # Update properties of this object def update!(**args) - @status = args[:status] if args.key?(:status) @description = args[:description] if args.key?(:description) end end - # Configuration of a specific logging destination (the producer project - # or the consumer project). - class LoggingDestination + # Api is a light-weight descriptor for an API Interface. + # Interfaces are also described as "protocol buffer services" in some contexts, + # such as by the "service" keyword in a .proto file, but they are different + # from API Services, which represent a concrete implementation of an interface + # as opposed to simply a description of methods and bindings. They are also + # sometimes simply referred to as "APIs" in other contexts, such as the name of + # this message itself. See https://cloud.google.com/apis/design/glossary for + # detailed terminology. + class Api include Google::Apis::Core::Hashable - # Names of the logs to be sent to this destination. Each name must - # be defined in the Service.logs section. If the log name is - # not a domain scoped name, it will be automatically prefixed with - # the service name followed by "/". - # Corresponds to the JSON property `logs` - # @return [Array] - attr_accessor :logs + # The methods of this interface, in unspecified order. + # Corresponds to the JSON property `methods` + # @return [Array] + attr_accessor :methods_prop - # The monitored resource type. The type must be defined in the - # Service.monitored_resources section. - # Corresponds to the JSON property `monitoredResource` - # @return [String] - attr_accessor :monitored_resource + # Included interfaces. See Mixin. + # Corresponds to the JSON property `mixins` + # @return [Array] + attr_accessor :mixins - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @logs = args[:logs] if args.key?(:logs) - @monitored_resource = args[:monitored_resource] if args.key?(:monitored_resource) - end - end - - # A protocol buffer option, which can be attached to a message, field, - # enumeration, etc. - class Option - include Google::Apis::Core::Hashable - - # The option's value packed in an Any message. If the value is a primitive, - # the corresponding wrapper type defined in google/protobuf/wrappers.proto - # should be used. If the value is an enum, it should be stored as an int32 - # value using the google.protobuf.Int32Value type. - # Corresponds to the JSON property `value` - # @return [Hash] - attr_accessor :value - - # The option's name. For protobuf built-in options (options defined in - # descriptor.proto), this is the short name. For example, `"map_entry"`. - # For custom options, it should be the fully-qualified name. For example, - # `"google.api.http"`. + # The fully qualified name of this interface, including package name + # followed by the interface's simple name. # 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 - - # Logging configuration of the service. - # The following example shows how to configure logs to be sent to the - # producer and consumer projects. In the example, the `activity_history` - # log is sent to both the producer and consumer projects, whereas the - # `purchase_history` log is only sent to the producer project. - # monitored_resources: - # - type: library.googleapis.com/branch - # labels: - # - key: /city - # description: The city where the library branch is located in. - # - key: /name - # description: The name of the branch. - # logs: - # - name: activity_history - # labels: - # - key: /customer_id - # - name: purchase_history - # logging: - # producer_destinations: - # - monitored_resource: library.googleapis.com/branch - # logs: - # - activity_history - # - purchase_history - # consumer_destinations: - # - monitored_resource: library.googleapis.com/branch - # logs: - # - activity_history - class Logging - include Google::Apis::Core::Hashable - - # Logging configurations for sending logs to the consumer project. - # There can be multiple consumer destinations, each one must have a - # different monitored resource type. A log can be used in at most - # one consumer destination. - # Corresponds to the JSON property `consumerDestinations` - # @return [Array] - attr_accessor :consumer_destinations - - # Logging configurations for sending logs to the producer project. - # There can be multiple producer destinations, each one must have a - # different monitored resource type. A log can be used in at most - # one producer destination. - # Corresponds to the JSON property `producerDestinations` - # @return [Array] - attr_accessor :producer_destinations - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @consumer_destinations = args[:consumer_destinations] if args.key?(:consumer_destinations) - @producer_destinations = args[:producer_destinations] if args.key?(:producer_destinations) - end - end - - # Method represents a method of an api. - class MethodProp - include Google::Apis::Core::Hashable - - # If true, the response is streamed. - # Corresponds to the JSON property `responseStreaming` - # @return [Boolean] - attr_accessor :response_streaming - alias_method :response_streaming?, :response_streaming - - # The simple name of this method. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # A URL of the input message type. - # Corresponds to the JSON property `requestTypeUrl` - # @return [String] - attr_accessor :request_type_url - - # If true, the request is streamed. - # Corresponds to the JSON property `requestStreaming` - # @return [Boolean] - attr_accessor :request_streaming - alias_method :request_streaming?, :request_streaming - - # The source syntax of this method. - # Corresponds to the JSON property `syntax` - # @return [String] - attr_accessor :syntax - - # The URL of the output message type. - # Corresponds to the JSON property `responseTypeUrl` - # @return [String] - attr_accessor :response_type_url - - # Any metadata attached to the method. + # Any metadata attached to the interface. # Corresponds to the JSON property `options` # @return [Array] attr_accessor :options - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @response_streaming = args[:response_streaming] if args.key?(:response_streaming) - @name = args[:name] if args.key?(:name) - @request_type_url = args[:request_type_url] if args.key?(:request_type_url) - @request_streaming = args[:request_streaming] if args.key?(:request_streaming) - @syntax = args[:syntax] if args.key?(:syntax) - @response_type_url = args[:response_type_url] if args.key?(:response_type_url) - @options = args[:options] if args.key?(:options) - end - end - - # `QuotaLimit` defines a specific limit that applies over a specified duration - # for a limit type. There can be at most one limit for a duration and limit - # type combination defined within a `QuotaGroup`. - class QuotaLimit - include Google::Apis::Core::Hashable - - # Specify the unit of the quota limit. It uses the same syntax as - # Metric.unit. The supported unit kinds are determined by the quota - # backend system. - # The [Google Service Control](https://cloud.google.com/service-control) - # supports the following unit components: - # * One of the time intevals: - # * "/min" for quota every minute. - # * "/d" for quota every 24 hours, starting 00:00 US Pacific Time. - # * Otherwise the quota won't be reset by time, such as storage limit. - # * One and only one of the granted containers: - # * "/`project`" quota for a project - # Here are some examples: - # * "1/min/`project`" for quota per minute per project. - # Note: the order of unit components is insignificant. - # The "1" at the beginning is required to follow the metric unit syntax. - # Used by metric-based quotas only. - # Corresponds to the JSON property `unit` - # @return [String] - attr_accessor :unit - - # Maximum number of tokens that can be consumed during the specified - # duration. Client application developers can override the default limit up - # to this maximum. If specified, this value cannot be set to a value less - # than the default limit. If not specified, it is set to the default limit. - # To allow clients to apply overrides with no upper bound, set this to -1, - # indicating unlimited maximum quota. - # Used by group-based quotas only. - # Corresponds to the JSON property `maxLimit` - # @return [Fixnum] - attr_accessor :max_limit - - # Name of the quota limit. The name is used to refer to the limit when - # overriding the default limit on per-consumer basis. - # For metric-based quota limits, the name must be provided, and it must be - # unique within the service. The name can only include alphanumeric - # characters as well as '-'. - # The maximum length of the limit name is 64 characters. - # The name of a limit is used as a unique identifier for this limit. - # Therefore, once a limit has been put into use, its name should be - # immutable. You can use the display_name field to provide a user-friendly - # name for the limit. The display name can be evolved over time without - # affecting the identity of the limit. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Duration of this limit in textual notation. Example: "100s", "24h", "1d". - # For duration longer than a day, only multiple of days is supported. We - # support only "100s" and "1d" for now. Additional support will be added in - # the future. "0" indicates indefinite duration. - # Used by group-based quotas only. - # Corresponds to the JSON property `duration` - # @return [String] - attr_accessor :duration - - # Free tier value displayed in the Developers Console for this limit. - # The free tier is the number of tokens that will be subtracted from the - # billed amount when billing is enabled. - # This field can only be set on a limit with duration "1d", in a billable - # group; it is invalid on any other limit. If this field is not set, it - # defaults to 0, indicating that there is no free tier for this service. - # Used by group-based quotas only. - # Corresponds to the JSON property `freeTier` - # @return [Fixnum] - attr_accessor :free_tier - - # Default number of tokens that can be consumed during the specified - # duration. This is the number of tokens assigned when a client - # application developer activates the service for his/her project. - # Specifying a value of 0 will block all requests. This can be used if you - # are provisioning quota to selected consumers and blocking others. - # Similarly, a value of -1 will indicate an unlimited quota. No other - # negative values are allowed. - # Used by group-based quotas only. - # Corresponds to the JSON property `defaultLimit` - # @return [Fixnum] - attr_accessor :default_limit - - # User-visible display name for this limit. - # Optional. If not set, the UI will provide a default display name based on - # the quota configuration. This field can be used to override the default - # display name generated from the configuration. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Optional. User-visible, extended description for this quota limit. - # Should be used only when more context is needed to understand this limit - # than provided by the limit's display name (see: `display_name`). - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # The name of the metric this quota limit applies to. The quota limits with - # the same metric will be checked together during runtime. The metric must be - # defined within the service config. - # Used by metric-based quotas only. - # Corresponds to the JSON property `metric` - # @return [String] - attr_accessor :metric - - # Tiered limit values, currently only STANDARD is supported. - # Corresponds to the JSON property `values` - # @return [Hash] - attr_accessor :values - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @unit = args[:unit] if args.key?(:unit) - @max_limit = args[:max_limit] if args.key?(:max_limit) - @name = args[:name] if args.key?(:name) - @duration = args[:duration] if args.key?(:duration) - @free_tier = args[:free_tier] if args.key?(:free_tier) - @default_limit = args[:default_limit] if args.key?(:default_limit) - @display_name = args[:display_name] if args.key?(:display_name) - @description = args[:description] if args.key?(:description) - @metric = args[:metric] if args.key?(:metric) - @values = args[:values] if args.key?(:values) - end - end - - # Represents a service configuration with its name and id. - class ConfigRef - include Google::Apis::Core::Hashable - - # Resource name of a service config. It must have the following - # format: "services/`service name`/configs/`config id`". - # 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) - @name = args[:name] if args.key?(:name) - end - end - - # Response message for ListServiceRollouts method. - class ListServiceRolloutsResponse - include Google::Apis::Core::Hashable - - # The token of the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The list of rollout resources. - # Corresponds to the JSON property `rollouts` - # @return [Array] - attr_accessor :rollouts - - 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) - @rollouts = args[:rollouts] if args.key?(:rollouts) - end - end - - # Declares an API to be included in this API. The including API must - # redeclare all the methods from the included API, but documentation - # and options are inherited as follows: - # - If after comment and whitespace stripping, the documentation - # string of the redeclared method is empty, it will be inherited - # from the original method. - # - Each annotation belonging to the service config (http, - # visibility) which is not set in the redeclared method will be - # inherited. - # - If an http annotation is inherited, the path pattern will be - # modified as follows. Any version prefix will be replaced by the - # version of the including API plus the root path if specified. - # Example of a simple mixin: - # package google.acl.v1; - # service AccessControl ` - # // Get the underlying ACL object. - # rpc GetAcl(GetAclRequest) returns (Acl) ` - # option (google.api.http).get = "/v1/`resource=**`:getAcl"; - # ` - # ` - # package google.storage.v2; - # service Storage ` - # // rpc GetAcl(GetAclRequest) returns (Acl); - # // Get a data record. - # rpc GetData(GetDataRequest) returns (Data) ` - # option (google.api.http).get = "/v2/`resource=**`"; - # ` - # ` - # Example of a mixin configuration: - # apis: - # - name: google.storage.v2.Storage - # mixins: - # - name: google.acl.v1.AccessControl - # The mixin construct implies that all methods in `AccessControl` are - # also declared with same name and request/response types in - # `Storage`. A documentation generator or annotation processor will - # see the effective `Storage.GetAcl` method after inherting - # documentation and annotations as follows: - # service Storage ` - # // Get the underlying ACL object. - # rpc GetAcl(GetAclRequest) returns (Acl) ` - # option (google.api.http).get = "/v2/`resource=**`:getAcl"; - # ` - # ... - # ` - # Note how the version in the path pattern changed from `v1` to `v2`. - # If the `root` field in the mixin is specified, it should be a - # relative path under which inherited HTTP paths are placed. Example: - # apis: - # - name: google.storage.v2.Storage - # mixins: - # - name: google.acl.v1.AccessControl - # root: acls - # This implies the following inherited HTTP annotation: - # service Storage ` - # // Get the underlying ACL object. - # rpc GetAcl(GetAclRequest) returns (Acl) ` - # option (google.api.http).get = "/v2/acls/`resource=**`:getAcl"; - # ` - # ... - # ` - class Mixin - include Google::Apis::Core::Hashable - - # The fully qualified name of the API which is included. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # If non-empty specifies a path under which inherited HTTP paths - # are rooted. - # Corresponds to the JSON property `root` - # @return [String] - attr_accessor :root - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @root = args[:root] if args.key?(:root) - end - end - - # The metadata associated with a long running operation resource. - class FlowOperationMetadata - include Google::Apis::Core::Hashable - - # Deadline for the flow to complete, to prevent orphaned Operations. - # If the flow has not completed by this time, it may be terminated by - # the engine, or force-failed by Operation lookup. - # Note that this is not a hard deadline after which the Flow will - # definitely be failed, rather it is a deadline after which it is reasonable - # to suspect a problem and other parts of the system may kill operation - # to ensure we don't have orphans. - # see also: go/prevent-orphaned-operations - # Corresponds to the JSON property `deadline` - # @return [String] - attr_accessor :deadline - - # The state of the operation with respect to cancellation. - # Corresponds to the JSON property `cancelState` - # @return [String] - attr_accessor :cancel_state - - # The start time of the operation. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # The full name of the resources that this flow is directly associated with. - # Corresponds to the JSON property `resourceNames` - # @return [Array] - attr_accessor :resource_names - - # The name of the top-level flow corresponding to this operation. - # Must be equal to the "name" field for a FlowName enum. - # Corresponds to the JSON property `flowName` - # @return [String] - attr_accessor :flow_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @deadline = args[:deadline] if args.key?(:deadline) - @cancel_state = args[:cancel_state] if args.key?(:cancel_state) - @start_time = args[:start_time] if args.key?(:start_time) - @resource_names = args[:resource_names] if args.key?(:resource_names) - @flow_name = args[:flow_name] if args.key?(:flow_name) - end - end - - # Customize service error responses. For example, list any service - # specific protobuf types that can appear in error detail lists of - # error responses. - # Example: - # custom_error: - # types: - # - google.foo.v1.CustomError - # - google.foo.v1.AnotherError - class CustomError - include Google::Apis::Core::Hashable - - # The list of custom error rules that apply to individual API messages. - # **NOTE:** All service configuration rules follow "last one wins" order. - # Corresponds to the JSON property `rules` - # @return [Array] - attr_accessor :rules - - # The list of custom error detail types, e.g. 'google.foo.v1.CustomError'. - # Corresponds to the JSON property `types` - # @return [Array] - attr_accessor :types - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @rules = args[:rules] if args.key?(:rules) - @types = args[:types] if args.key?(:types) - end - end - - # Options for counters - class CounterOptions - include Google::Apis::Core::Hashable - - # The field value to attribute. - # Corresponds to the JSON property `field` - # @return [String] - attr_accessor :field - - # The metric to update. - # Corresponds to the JSON property `metric` - # @return [String] - attr_accessor :metric - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @field = args[:field] if args.key?(:field) - @metric = args[:metric] if args.key?(:metric) - end - end - - # Defines the HTTP configuration for an API service. It contains a list of - # HttpRule, each specifying the mapping of an RPC method - # to one or more HTTP REST API methods. - class Http - include Google::Apis::Core::Hashable - - # A list of HTTP configuration rules that apply to individual API methods. - # **NOTE:** All service configuration rules follow "last one wins" order. - # Corresponds to the JSON property `rules` - # @return [Array] - attr_accessor :rules - - # When set to true, URL path parmeters will be fully URI-decoded except in - # cases of single segment matches in reserved expansion, where "%2F" will be - # left encoded. - # The default behavior is to not decode RFC 6570 reserved characters in multi - # segment matches. - # Corresponds to the JSON property `fullyDecodeReservedExpansion` - # @return [Boolean] - attr_accessor :fully_decode_reserved_expansion - alias_method :fully_decode_reserved_expansion?, :fully_decode_reserved_expansion - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @rules = args[:rules] if args.key?(:rules) - @fully_decode_reserved_expansion = args[:fully_decode_reserved_expansion] if args.key?(:fully_decode_reserved_expansion) - end - end - - # Source information used to create a Service Config - class SourceInfo - include Google::Apis::Core::Hashable - - # All files used during config generation. - # Corresponds to the JSON property `sourceFiles` - # @return [Array>] - attr_accessor :source_files - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @source_files = args[:source_files] if args.key?(:source_files) - end - end - - # Selects and configures the service controller used by the service. The - # service controller handles features like abuse, quota, billing, logging, - # monitoring, etc. - class Control - include Google::Apis::Core::Hashable - - # The service control environment to use. If empty, no control plane - # feature (like quota and billing) will be enabled. - # Corresponds to the JSON property `environment` - # @return [String] - attr_accessor :environment - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @environment = args[:environment] if args.key?(:environment) - end - end - - # Define a parameter's name and location. The parameter may be passed as either - # an HTTP header or a URL query parameter, and if both are passed the behavior - # is implementation-dependent. - class SystemParameter - include Google::Apis::Core::Hashable - - # Define the URL query parameter name to use for the parameter. It is case - # sensitive. - # Corresponds to the JSON property `urlQueryParameter` - # @return [String] - attr_accessor :url_query_parameter - - # Define the HTTP header name to use for the parameter. It is case - # insensitive. - # Corresponds to the JSON property `httpHeader` - # @return [String] - attr_accessor :http_header - - # Define the name of the parameter, such as "api_key" . It is case sensitive. - # 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) - @url_query_parameter = args[:url_query_parameter] if args.key?(:url_query_parameter) - @http_header = args[:http_header] if args.key?(:http_header) - @name = args[:name] if args.key?(:name) - end - end - - # Monitoring configuration of the service. - # The example below shows how to configure monitored resources and metrics - # for monitoring. In the example, a monitored resource and two metrics are - # defined. The `library.googleapis.com/book/returned_count` metric is sent - # to both producer and consumer projects, whereas the - # `library.googleapis.com/book/overdue_count` metric is only sent to the - # consumer project. - # monitored_resources: - # - type: library.googleapis.com/branch - # labels: - # - key: /city - # description: The city where the library branch is located in. - # - key: /name - # description: The name of the branch. - # metrics: - # - name: library.googleapis.com/book/returned_count - # metric_kind: DELTA - # value_type: INT64 - # labels: - # - key: /customer_id - # - name: library.googleapis.com/book/overdue_count - # metric_kind: GAUGE - # value_type: INT64 - # labels: - # - key: /customer_id - # monitoring: - # producer_destinations: - # - monitored_resource: library.googleapis.com/branch - # metrics: - # - library.googleapis.com/book/returned_count - # consumer_destinations: - # - monitored_resource: library.googleapis.com/branch - # metrics: - # - library.googleapis.com/book/returned_count - # - library.googleapis.com/book/overdue_count - class Monitoring - include Google::Apis::Core::Hashable - - # Monitoring configurations for sending metrics to the consumer project. - # There can be multiple consumer destinations, each one must have a - # different monitored resource type. A metric can be used in at most - # one consumer destination. - # Corresponds to the JSON property `consumerDestinations` - # @return [Array] - attr_accessor :consumer_destinations - - # Monitoring configurations for sending metrics to the producer project. - # There can be multiple producer destinations, each one must have a - # different monitored resource type. A metric can be used in at most - # one producer destination. - # Corresponds to the JSON property `producerDestinations` - # @return [Array] - attr_accessor :producer_destinations - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @consumer_destinations = args[:consumer_destinations] if args.key?(:consumer_destinations) - @producer_destinations = args[:producer_destinations] if args.key?(:producer_destinations) - end - end - - # A single field of a message type. - class Field - include Google::Apis::Core::Hashable - - # The field number. - # Corresponds to the JSON property `number` - # @return [Fixnum] - attr_accessor :number - - # The field type. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # The field JSON name. - # Corresponds to the JSON property `jsonName` - # @return [String] - attr_accessor :json_name - - # The protocol buffer options. - # Corresponds to the JSON property `options` - # @return [Array] - attr_accessor :options - - # The index of the field type in `Type.oneofs`, for message or enumeration - # types. The first type has index 1; zero means the type is not in the list. - # Corresponds to the JSON property `oneofIndex` - # @return [Fixnum] - attr_accessor :oneof_index - - # Whether to use alternative packed wire representation. - # Corresponds to the JSON property `packed` - # @return [Boolean] - attr_accessor :packed - alias_method :packed?, :packed - - # The field cardinality. - # Corresponds to the JSON property `cardinality` - # @return [String] - attr_accessor :cardinality - - # The string value of the default value of this field. Proto2 syntax only. - # Corresponds to the JSON property `defaultValue` - # @return [String] - attr_accessor :default_value - - # The field name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The field type URL, without the scheme, for message or enumeration - # types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. - # Corresponds to the JSON property `typeUrl` - # @return [String] - attr_accessor :type_url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @number = args[:number] if args.key?(:number) - @kind = args[:kind] if args.key?(:kind) - @json_name = args[:json_name] if args.key?(:json_name) - @options = args[:options] if args.key?(:options) - @oneof_index = args[:oneof_index] if args.key?(:oneof_index) - @packed = args[:packed] if args.key?(:packed) - @cardinality = args[:cardinality] if args.key?(:cardinality) - @default_value = args[:default_value] if args.key?(:default_value) - @name = args[:name] if args.key?(:name) - @type_url = args[:type_url] if args.key?(:type_url) - end - end - - # Request message for `TestIamPermissions` method. - class TestIamPermissionsRequest - include Google::Apis::Core::Hashable - - # The set of permissions to check for the `resource`. Permissions with - # wildcards (such as '*' or 'storage.*') are not allowed. For more - # information see - # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - end - end - - # Enum type definition. - class Enum - include Google::Apis::Core::Hashable - - # Protocol buffer options. - # Corresponds to the JSON property `options` - # @return [Array] - attr_accessor :options - - # The source syntax. - # Corresponds to the JSON property `syntax` - # @return [String] - attr_accessor :syntax - # `SourceContext` represents information about the source of a # protobuf element, like the file in which it is defined. # Corresponds to the JSON property `sourceContext` # @return [Google::Apis::ServicemanagementV1::SourceContext] attr_accessor :source_context - # Enum value definitions. - # Corresponds to the JSON property `enumvalue` - # @return [Array] - attr_accessor :enumvalue - - # Enum type name. - # 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) - @options = args[:options] if args.key?(:options) - @syntax = args[:syntax] if args.key?(:syntax) - @source_context = args[:source_context] if args.key?(:source_context) - @enumvalue = args[:enumvalue] if args.key?(:enumvalue) - @name = args[:name] if args.key?(:name) - end - end - - # A description of a label. - class LabelDescriptor - include Google::Apis::Core::Hashable - - # The type of data that can be assigned to the label. - # Corresponds to the JSON property `valueType` - # @return [String] - attr_accessor :value_type - - # The label key. - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key - - # A human-readable description for the label. - # 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) - @value_type = args[:value_type] if args.key?(:value_type) - @key = args[:key] if args.key?(:key) - @description = args[:description] if args.key?(:description) - end - end - - # Represents a diagnostic message (error or warning) - class Diagnostic - include Google::Apis::Core::Hashable - - # The kind of diagnostic information provided. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # Message describing the error or warning. - # Corresponds to the JSON property `message` - # @return [String] - attr_accessor :message - - # File name and line number of the error or warning. - # Corresponds to the JSON property `location` - # @return [String] - attr_accessor :location - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @kind = args[:kind] if args.key?(:kind) - @message = args[:message] if args.key?(:message) - @location = args[:location] if args.key?(:location) - end - end - - # Request message for EnableService method. - class EnableServiceRequest - include Google::Apis::Core::Hashable - - # The identity of consumer resource which service enablement will be - # applied to. - # The Google Service Management implementation accepts the following - # forms: - # - "project:" - # Note: this is made compatible with - # google.api.servicecontrol.v1.Operation.consumer_id. - # Corresponds to the JSON property `consumerId` - # @return [String] - attr_accessor :consumer_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @consumer_id = args[:consumer_id] if args.key?(:consumer_id) - end - end - - # A protocol buffer message type. - class Type - include Google::Apis::Core::Hashable - - # The list of fields. - # Corresponds to the JSON property `fields` - # @return [Array] - attr_accessor :fields - - # The fully qualified message name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The list of types appearing in `oneof` definitions in this type. - # Corresponds to the JSON property `oneofs` - # @return [Array] - attr_accessor :oneofs - - # The source syntax. + # The source syntax of the service. # Corresponds to the JSON property `syntax` # @return [String] attr_accessor :syntax - # `SourceContext` represents information about the source of a - # protobuf element, like the file in which it is defined. - # Corresponds to the JSON property `sourceContext` - # @return [Google::Apis::ServicemanagementV1::SourceContext] - attr_accessor :source_context - - # The protocol buffer options. - # Corresponds to the JSON property `options` - # @return [Array] - attr_accessor :options + # A version string for this interface. If specified, must have the form + # `major-version.minor-version`, as in `1.10`. If the minor version is + # omitted, it defaults to zero. If the entire version field is empty, the + # major version is derived from the package name, as outlined below. If the + # field is not empty, the version in the package name will be verified to be + # consistent with what is provided here. + # The versioning schema uses [semantic + # versioning](http://semver.org) where the major version number + # indicates a breaking change and the minor version an additive, + # non-breaking change. Both version numbers are signals to users + # what to expect from different versions, and should be carefully + # chosen based on the product plan. + # The major version is also reflected in the package name of the + # interface, which must end in `v`, as in + # `google.feature.v1`. For major versions 0 and 1, the suffix can + # be omitted. Zero major versions must only be used for + # experimental, non-GA interfaces. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version def initialize(**args) update!(**args) @@ -1396,123 +113,13 @@ module Google # Update properties of this object def update!(**args) - @fields = args[:fields] if args.key?(:fields) + @methods_prop = args[:methods_prop] if args.key?(:methods_prop) + @mixins = args[:mixins] if args.key?(:mixins) @name = args[:name] if args.key?(:name) - @oneofs = args[:oneofs] if args.key?(:oneofs) - @syntax = args[:syntax] if args.key?(:syntax) - @source_context = args[:source_context] if args.key?(:source_context) @options = args[:options] if args.key?(:options) - end - end - - # Response message for GenerateConfigReport method. - class GenerateConfigReportResponse - include Google::Apis::Core::Hashable - - # Errors / Linter warnings associated with the service definition this - # report - # belongs to. - # Corresponds to the JSON property `diagnostics` - # @return [Array] - attr_accessor :diagnostics - - # Name of the service this report belongs to. - # Corresponds to the JSON property `serviceName` - # @return [String] - attr_accessor :service_name - - # list of ChangeReport, each corresponding to comparison between two - # service configurations. - # Corresponds to the JSON property `changeReports` - # @return [Array] - attr_accessor :change_reports - - # ID of the service configuration this report belongs to. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @diagnostics = args[:diagnostics] if args.key?(:diagnostics) - @service_name = args[:service_name] if args.key?(:service_name) - @change_reports = args[:change_reports] if args.key?(:change_reports) - @id = args[:id] if args.key?(:id) - end - end - - # Response message for ListServiceConfigs method. - class ListServiceConfigsResponse - include Google::Apis::Core::Hashable - - # The list of service configuration resources. - # Corresponds to the JSON property `serviceConfigs` - # @return [Array] - attr_accessor :service_configs - - # The token of the next page of results. - # 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) - @service_configs = args[:service_configs] if args.key?(:service_configs) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # Experimental service configuration. These configuration options can - # only be used by whitelisted users. - class Experimental - include Google::Apis::Core::Hashable - - # Configuration of authorization. - # This section determines the authorization provider, if unspecified, then no - # authorization check will be done. - # Example: - # experimental: - # authorization: - # provider: firebaserules.googleapis.com - # Corresponds to the JSON property `authorization` - # @return [Google::Apis::ServicemanagementV1::AuthorizationConfig] - attr_accessor :authorization - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @authorization = args[:authorization] if args.key?(:authorization) - end - end - - # `Backend` defines the backend configuration for a service. - class Backend - include Google::Apis::Core::Hashable - - # A list of API backend rules that apply to individual API methods. - # **NOTE:** All service configuration rules follow "last one wins" order. - # Corresponds to the JSON property `rules` - # @return [Array] - attr_accessor :rules - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @rules = args[:rules] if args.key?(:rules) + @source_context = args[:source_context] if args.key?(:source_context) + @syntax = args[:syntax] if args.key?(:syntax) + @version = args[:version] if args.key?(:version) end end @@ -1566,6 +173,12 @@ module Google class AuditConfig include Google::Apis::Core::Hashable + # The configuration for logging of each type of permission. + # Next ID: 4 + # Corresponds to the JSON property `auditLogConfigs` + # @return [Array] + attr_accessor :audit_log_configs + # # Corresponds to the JSON property `exemptedMembers` # @return [Array] @@ -1578,11 +191,49 @@ module Google # @return [String] attr_accessor :service - # The configuration for logging of each type of permission. - # Next ID: 4 - # Corresponds to the JSON property `auditLogConfigs` - # @return [Array] - attr_accessor :audit_log_configs + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs) + @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @service = args[:service] if args.key?(:service) + end + end + + # Provides the configuration for logging a type of permissions. + # Example: + # ` + # "audit_log_configs": [ + # ` + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:foo@gmail.com" + # ] + # `, + # ` + # "log_type": "DATA_WRITE", + # ` + # ] + # ` + # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting + # foo@gmail.com from DATA_READ logging. + class AuditLogConfig + include Google::Apis::Core::Hashable + + # Specifies the identities that do not cause logging for this type of + # permission. + # Follows the same format of Binding.members. + # Corresponds to the JSON property `exemptedMembers` + # @return [Array] + attr_accessor :exempted_members + + # The log type that this config enables. + # Corresponds to the JSON property `logType` + # @return [String] + attr_accessor :log_type def initialize(**args) update!(**args) @@ -1591,489 +242,69 @@ module Google # Update properties of this object def update!(**args) @exempted_members = args[:exempted_members] if args.key?(:exempted_members) - @service = args[:service] if args.key?(:service) - @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs) + @log_type = args[:log_type] if args.key?(:log_type) end end - # Request message for SubmitConfigSource method. - class SubmitConfigSourceRequest + # Configuration for an anthentication provider, including support for + # [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web- + # token-32). + class AuthProvider include Google::Apis::Core::Hashable - # Represents a source file which is used to generate the service configuration - # defined by `google.api.Service`. - # Corresponds to the JSON property `configSource` - # @return [Google::Apis::ServicemanagementV1::ConfigSource] - attr_accessor :config_source - - # Optional. If set, this will result in the generation of a - # `google.api.Service` configuration based on the `ConfigSource` provided, - # but the generated config and the sources will NOT be persisted. - # Corresponds to the JSON property `validateOnly` - # @return [Boolean] - attr_accessor :validate_only - alias_method :validate_only?, :validate_only - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @config_source = args[:config_source] if args.key?(:config_source) - @validate_only = args[:validate_only] if args.key?(:validate_only) - end - end - - # A documentation rule provides information about individual API elements. - class DocumentationRule - include Google::Apis::Core::Hashable - - # Deprecation description of the selected element(s). It can be provided if an - # element is marked as `deprecated`. - # Corresponds to the JSON property `deprecationDescription` - # @return [String] - attr_accessor :deprecation_description - - # The selector is a comma-separated list of patterns. Each pattern is a - # qualified name of the element which may end in "*", indicating a wildcard. - # Wildcards are only allowed at the end and for a whole component of the - # qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To - # specify a default for all applicable elements, the whole pattern "*" - # is used. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector - - # Description of the selected API(s). - # 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) - @deprecation_description = args[:deprecation_description] if args.key?(:deprecation_description) - @selector = args[:selector] if args.key?(:selector) - @description = args[:description] if args.key?(:description) - end - end - - # Configuration of authorization. - # This section determines the authorization provider, if unspecified, then no - # authorization check will be done. - # Example: - # experimental: - # authorization: - # provider: firebaserules.googleapis.com - class AuthorizationConfig - include Google::Apis::Core::Hashable - - # The name of the authorization provider, such as - # firebaserules.googleapis.com. - # Corresponds to the JSON property `provider` - # @return [String] - attr_accessor :provider - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @provider = args[:provider] if args.key?(:provider) - end - end - - # Write a Cloud Audit log - class CloudAuditOptions - include Google::Apis::Core::Hashable - - # The log_name to populate in the Cloud Audit Record. - # Corresponds to the JSON property `logName` - # @return [String] - attr_accessor :log_name - - # True if the log is for a permission of type DATA_READ or ADMIN_READ. - # Corresponds to the JSON property `isReadPermissionType` - # @return [Boolean] - attr_accessor :is_read_permission_type - alias_method :is_read_permission_type?, :is_read_permission_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @log_name = args[:log_name] if args.key?(:log_name) - @is_read_permission_type = args[:is_read_permission_type] if args.key?(:is_read_permission_type) - end - end - - # A context rule provides information about the context for an individual API - # element. - class ContextRule - include Google::Apis::Core::Hashable - - # Selects the methods to which this rule applies. - # Refer to selector for syntax details. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector - - # A list of full type names of provided contexts. - # Corresponds to the JSON property `provided` - # @return [Array] - attr_accessor :provided - - # A list of full type names of requested contexts. - # Corresponds to the JSON property `requested` - # @return [Array] - attr_accessor :requested - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @selector = args[:selector] if args.key?(:selector) - @provided = args[:provided] if args.key?(:provided) - @requested = args[:requested] if args.key?(:requested) - end - end - - # Defines a metric type and its schema. Once a metric descriptor is created, - # deleting or altering it stops data collection and makes the metric type's - # existing data unusable. - class MetricDescriptor - include Google::Apis::Core::Hashable - - # The unit in which the metric value is reported. It is only applicable - # if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The - # supported units are a subset of [The Unified Code for Units of - # Measure](http://unitsofmeasure.org/ucum.html) standard: - # **Basic units (UNIT)** - # * `bit` bit - # * `By` byte - # * `s` second - # * `min` minute - # * `h` hour - # * `d` day - # **Prefixes (PREFIX)** - # * `k` kilo (10**3) - # * `M` mega (10**6) - # * `G` giga (10**9) - # * `T` tera (10**12) - # * `P` peta (10**15) - # * `E` exa (10**18) - # * `Z` zetta (10**21) - # * `Y` yotta (10**24) - # * `m` milli (10**-3) - # * `u` micro (10**-6) - # * `n` nano (10**-9) - # * `p` pico (10**-12) - # * `f` femto (10**-15) - # * `a` atto (10**-18) - # * `z` zepto (10**-21) - # * `y` yocto (10**-24) - # * `Ki` kibi (2**10) - # * `Mi` mebi (2**20) - # * `Gi` gibi (2**30) - # * `Ti` tebi (2**40) - # **Grammar** - # The grammar includes the dimensionless unit `1`, such as `1/s`. - # The grammar also includes these connectors: - # * `/` division (as an infix operator, e.g. `1/s`). - # * `.` multiplication (as an infix operator, e.g. `GBy.d`) - # The grammar for a unit is as follows: - # Expression = Component ` "." Component ` ` "/" Component ` ; - # Component = [ PREFIX ] UNIT [ Annotation ] - # | Annotation - # | "1" - # ; - # Annotation = "`" NAME "`" ; - # Notes: - # * `Annotation` is just a comment if it follows a `UNIT` and is - # equivalent to `1` if it is used alone. For examples, - # ``requests`/s == 1/s`, `By`transmitted`/s == By/s`. - # * `NAME` is a sequence of non-blank printable ASCII characters not - # containing '`' or '`'. - # Corresponds to the JSON property `unit` - # @return [String] - attr_accessor :unit - - # The set of labels that can be used to describe a specific - # instance of this metric type. For example, the - # `appengine.googleapis.com/http/server/response_latencies` metric - # type has a label for the HTTP response code, `response_code`, so - # you can look at latencies for successful responses or just - # for responses that failed. - # Corresponds to the JSON property `labels` - # @return [Array] - attr_accessor :labels - - # The resource name of the metric descriptor. Depending on the - # implementation, the name typically includes: (1) the parent resource name - # that defines the scope of the metric type or of its data; and (2) the - # metric's URL-encoded type, which also appears in the `type` field of this - # descriptor. For example, following is the resource name of a custom - # metric within the GCP project `my-project-id`: - # "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice% - # 2Fpaid%2Famount" - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The metric type, including its DNS name prefix. The type is not - # URL-encoded. All user-defined custom metric types have the DNS name - # `custom.googleapis.com`. Metric types should use a natural hierarchical - # grouping. For example: - # "custom.googleapis.com/invoice/paid/amount" - # "appengine.googleapis.com/http/server/response_latencies" - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # Whether the measurement is an integer, a floating-point number, etc. - # Some combinations of `metric_kind` and `value_type` might not be supported. - # Corresponds to the JSON property `valueType` - # @return [String] - attr_accessor :value_type - - # Whether the metric records instantaneous values, changes to a value, etc. - # Some combinations of `metric_kind` and `value_type` might not be supported. - # Corresponds to the JSON property `metricKind` - # @return [String] - attr_accessor :metric_kind - - # A detailed description of the metric, which can be used in documentation. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # A concise name for the metric, which can be displayed in user interfaces. - # Use sentence case without an ending period, for example "Request count". - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @unit = args[:unit] if args.key?(:unit) - @labels = args[:labels] if args.key?(:labels) - @name = args[:name] if args.key?(:name) - @type = args[:type] if args.key?(:type) - @value_type = args[:value_type] if args.key?(:value_type) - @metric_kind = args[:metric_kind] if args.key?(:metric_kind) - @description = args[:description] if args.key?(:description) - @display_name = args[:display_name] if args.key?(:display_name) - end - end - - # `SourceContext` represents information about the source of a - # protobuf element, like the file in which it is defined. - class SourceContext - include Google::Apis::Core::Hashable - - # The path-qualified name of the .proto file that contained the associated - # protobuf element. For example: `"google/protobuf/source_context.proto"`. - # Corresponds to the JSON property `fileName` - # @return [String] - attr_accessor :file_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @file_name = args[:file_name] if args.key?(:file_name) - end - end - - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" - class Expr - include Google::Apis::Core::Hashable - - # An optional description of the expression. This is a longer text which - # describes the expression, e.g. when hovered over it in a UI. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Textual representation of an expression in - # Common Expression Language syntax. - # The application context of the containing message determines which - # well-known feature set of CEL is supported. - # Corresponds to the JSON property `expression` - # @return [String] - attr_accessor :expression - - # An optional string indicating the location of the expression for error - # reporting, e.g. a file name and a position in the file. - # Corresponds to the JSON property `location` - # @return [String] - attr_accessor :location - - # An optional title for the expression, i.e. a short string describing - # its purpose. This can be used e.g. in UIs which allow to enter the - # expression. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @description = args[:description] if args.key?(:description) - @expression = args[:expression] if args.key?(:expression) - @location = args[:location] if args.key?(:location) - @title = args[:title] if args.key?(:title) - end - end - - # Response message for `ListServices` method. - class ListServicesResponse - include Google::Apis::Core::Hashable - - # Token that can be passed to `ListServices` to resume a paginated query. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The returned services will only have the name field set. - # Corresponds to the JSON property `services` - # @return [Array] - attr_accessor :services - - 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) - @services = args[:services] if args.key?(:services) - end - end - - # `Endpoint` describes a network endpoint that serves a set of APIs. - # A service may expose any number of endpoints, and all endpoints share the - # same service configuration, such as quota configuration and monitoring - # configuration. - # Example service configuration: - # name: library-example.googleapis.com - # endpoints: - # # Below entry makes 'google.example.library.v1.Library' - # # API be served from endpoint address library-example.googleapis.com. - # # It also allows HTTP OPTIONS calls to be passed to the backend, for - # # it to decide whether the subsequent cross-origin request is - # # allowed to proceed. - # - name: library-example.googleapis.com - # allow_cors: true - class Endpoint - include Google::Apis::Core::Hashable - - # The list of features enabled on this endpoint. - # Corresponds to the JSON property `features` - # @return [Array] - attr_accessor :features - - # The list of APIs served by this endpoint. - # If no APIs are specified this translates to "all APIs" exported by the - # service, as defined in the top-level service configuration. - # Corresponds to the JSON property `apis` - # @return [Array] - attr_accessor :apis - - # DEPRECATED: This field is no longer supported. Instead of using aliases, - # please specify multiple google.api.Endpoint for each of the intented - # alias. - # Additional names that this endpoint will be hosted on. - # Corresponds to the JSON property `aliases` - # @return [Array] - attr_accessor :aliases - - # Allowing - # [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka - # cross-domain traffic, would allow the backends served from this endpoint to - # receive and respond to HTTP OPTIONS requests. The response will be used by - # the browser to determine whether the subsequent cross-origin request is - # allowed to proceed. - # Corresponds to the JSON property `allowCors` - # @return [Boolean] - attr_accessor :allow_cors - alias_method :allow_cors?, :allow_cors - - # The canonical name of this endpoint. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The specification of an Internet routable address of API frontend that will - # handle requests to this [API Endpoint](https://cloud.google.com/apis/design/ - # glossary). - # It should be either a valid IPv4 address or a fully-qualified domain name. - # For example, "8.8.8.8" or "myservice.appspot.com". - # Corresponds to the JSON property `target` - # @return [String] - attr_accessor :target - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @features = args[:features] if args.key?(:features) - @apis = args[:apis] if args.key?(:apis) - @aliases = args[:aliases] if args.key?(:aliases) - @allow_cors = args[:allow_cors] if args.key?(:allow_cors) - @name = args[:name] if args.key?(:name) - @target = args[:target] if args.key?(:target) - end - end - - # OAuth scopes are a way to define data and permissions on data. For example, - # there are scopes defined for "Read-only access to Google Calendar" and - # "Access to Cloud Platform". Users can consent to a scope for an application, - # giving it permission to access that data on their behalf. - # OAuth scope specifications should be fairly coarse grained; a user will need - # to see and understand the text description of what your scope means. - # In most cases: use one or at most two OAuth scopes for an entire family of - # products. If your product has multiple APIs, you should probably be sharing - # the OAuth scope across all of those APIs. - # When you need finer grained OAuth consent screens: talk with your product - # management about how developers will use them in practice. - # Please note that even though each of the canonical scopes is enough for a - # request to be accepted and passed to the backend, a request can still fail - # due to the backend requiring additional scopes or permissions. - class OAuthRequirements - include Google::Apis::Core::Hashable - - # The list of publicly documented OAuth scopes that are allowed access. An - # OAuth token containing any of these scopes will be accepted. + # The list of JWT + # [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32# + # section-4.1.3). + # that are allowed to access. A JWT containing any of these audiences will + # be accepted. When this setting is absent, only JWTs with audience + # "https://Service_name/API_name" + # will be accepted. For example, if no audiences are in the setting, + # LibraryService API will only accept JWTs with the following audience + # "https://library-example.googleapis.com/google.example.library.v1. + # LibraryService". # Example: - # canonical_scopes: https://www.googleapis.com/auth/calendar, - # https://www.googleapis.com/auth/calendar.read - # Corresponds to the JSON property `canonicalScopes` + # audiences: bookstore_android.apps.googleusercontent.com, + # bookstore_web.apps.googleusercontent.com + # Corresponds to the JSON property `audiences` # @return [String] - attr_accessor :canonical_scopes + attr_accessor :audiences + + # Redirect URL if JWT token is required but no present or is expired. + # Implement authorizationUrl of securityDefinitions in OpenAPI spec. + # Corresponds to the JSON property `authorizationUrl` + # @return [String] + attr_accessor :authorization_url + + # The unique identifier of the auth provider. It will be referred to by + # `AuthRequirement.provider_id`. + # Example: "bookstore_auth". + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies the principal that issued the JWT. See + # https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 + # Usually a URL or an email address. + # Example: https://securetoken.google.com + # Example: 1234567-compute@developer.gserviceaccount.com + # Corresponds to the JSON property `issuer` + # @return [String] + attr_accessor :issuer + + # URL of the provider's public key set to validate signature of the JWT. See + # [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html# + # ProviderMetadata). + # Optional if the key set document: + # - can be retrieved from + # [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0. + # html + # of the issuer. + # - can be inferred from the email domain of the issuer (e.g. a Google service + # account). + # Example: https://www.googleapis.com/oauth2/v1/certs + # Corresponds to the JSON property `jwksUri` + # @return [String] + attr_accessor :jwks_uri def initialize(**args) update!(**args) @@ -2081,784 +312,11 @@ module Google # Update properties of this object def update!(**args) - @canonical_scopes = args[:canonical_scopes] if args.key?(:canonical_scopes) - end - end - - # Configuration controlling usage of a service. - class Usage - include Google::Apis::Core::Hashable - - # Requirements that must be satisfied before a consumer project can use the - # service. Each requirement is of the form /; - # for example 'serviceusage.googleapis.com/billing-enabled'. - # Corresponds to the JSON property `requirements` - # @return [Array] - attr_accessor :requirements - - # The full resource name of a channel used for sending notifications to the - # service producer. - # Google Service Management currently only supports - # [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification - # channel. To use Google Cloud Pub/Sub as the channel, this must be the name - # of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format - # documented in https://cloud.google.com/pubsub/docs/overview. - # Corresponds to the JSON property `producerNotificationChannel` - # @return [String] - attr_accessor :producer_notification_channel - - # A list of usage rules that apply to individual API methods. - # **NOTE:** All service configuration rules follow "last one wins" order. - # Corresponds to the JSON property `rules` - # @return [Array] - attr_accessor :rules - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @requirements = args[:requirements] if args.key?(:requirements) - @producer_notification_channel = args[:producer_notification_channel] if args.key?(:producer_notification_channel) - @rules = args[:rules] if args.key?(:rules) - end - end - - # Request message for `GetIamPolicy` method. - class GetIamPolicyRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Response message for `TestIamPermissions` method. - class TestIamPermissionsResponse - include Google::Apis::Core::Hashable - - # A subset of `TestPermissionsRequest.permissions` that the caller is - # allowed. - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - end - end - - # `Context` defines which contexts an API requests. - # Example: - # context: - # rules: - # - selector: "*" - # requested: - # - google.rpc.context.ProjectContext - # - google.rpc.context.OriginContext - # The above specifies that all methods in the API request - # `google.rpc.context.ProjectContext` and - # `google.rpc.context.OriginContext`. - # Available context types are defined in package - # `google.rpc.context`. - class Context - include Google::Apis::Core::Hashable - - # A list of RPC context rules that apply to individual API methods. - # **NOTE:** All service configuration rules follow "last one wins" order. - # Corresponds to the JSON property `rules` - # @return [Array] - attr_accessor :rules - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @rules = args[:rules] if args.key?(:rules) - end - end - - # A rule to be applied in a Policy. - class Rule - include Google::Apis::Core::Hashable - - # If one or more 'not_in' clauses are specified, the rule matches - # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the 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 - - # Human-readable description of the rule. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # 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 - - # If one or more 'in' clauses are specified, the rule matches if - # the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. - # Corresponds to the JSON property `in` - # @return [Array] - attr_accessor :in - - # 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 - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @not_in = args[:not_in] if args.key?(:not_in) - @description = args[:description] if args.key?(:description) - @conditions = args[:conditions] if args.key?(:conditions) - @log_config = args[:log_config] if args.key?(:log_config) - @in = args[:in] if args.key?(:in) - @permissions = args[:permissions] if args.key?(:permissions) - @action = args[:action] if args.key?(:action) - 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 the only supported field names are - # - "iam_principal", corresponding to IAMContext.principal; - # - "" (empty string), resulting in one aggretated counter with no field. - # 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::ServicemanagementV1::CounterOptions] - attr_accessor :counter - - # Write a Data Access (Gin) log - # Corresponds to the JSON property `dataAccess` - # @return [Google::Apis::ServicemanagementV1::DataAccessOptions] - attr_accessor :data_access - - # Write a Cloud Audit log - # Corresponds to the JSON property `cloudAudit` - # @return [Google::Apis::ServicemanagementV1::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 - - # A description of a log type. Example in YAML format: - # - name: library.googleapis.com/activity_history - # description: The history of borrowing and returning library items. - # display_name: Activity - # labels: - # - key: /customer_id - # description: Identifier of a library customer - class LogDescriptor - include Google::Apis::Core::Hashable - - # The set of labels that are available to describe a specific log entry. - # Runtime requests that contain labels not specified here are - # considered invalid. - # Corresponds to the JSON property `labels` - # @return [Array] - attr_accessor :labels - - # The name of the log. It must be less than 512 characters long and can - # include the following characters: upper- and lower-case alphanumeric - # characters [A-Za-z0-9], and punctuation characters including - # slash, underscore, hyphen, period [/_-.]. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The human-readable name for this log. This information appears on - # the user interface and should be concise. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # A human-readable description of this log. This information appears in - # the documentation and can contain details. - # 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) - @labels = args[:labels] if args.key?(:labels) - @name = args[:name] if args.key?(:name) - @display_name = args[:display_name] if args.key?(:display_name) - @description = args[:description] if args.key?(:description) - end - end - - # Generic specification of a source configuration file - class ConfigFile - include Google::Apis::Core::Hashable - - # The type of configuration file this represents. - # Corresponds to the JSON property `fileType` - # @return [String] - attr_accessor :file_type - - # The bytes that constitute the file. - # Corresponds to the JSON property `fileContents` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :file_contents - - # The file name of the configuration file (full or relative path). - # Corresponds to the JSON property `filePath` - # @return [String] - attr_accessor :file_path - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @file_type = args[:file_type] if args.key?(:file_type) - @file_contents = args[:file_contents] if args.key?(:file_contents) - @file_path = args[:file_path] if args.key?(:file_path) - end - end - - # A custom error rule. - class CustomErrorRule - include Google::Apis::Core::Hashable - - # Mark this message as possible payload in error response. Otherwise, - # objects of this type will be filtered when they appear in error payload. - # Corresponds to the JSON property `isErrorType` - # @return [Boolean] - attr_accessor :is_error_type - alias_method :is_error_type?, :is_error_type - - # Selects messages to which this rule applies. - # Refer to selector for syntax details. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @is_error_type = args[:is_error_type] if args.key?(:is_error_type) - @selector = args[:selector] if args.key?(:selector) - end - end - - # An object that describes the schema of a MonitoredResource object using a - # type name and a set of labels. For example, the monitored resource - # descriptor for Google Compute Engine VM instances has a type of - # `"gce_instance"` and specifies the use of the labels `"instance_id"` and - # `"zone"` to identify particular VM instances. - # Different APIs can support different monitored resource types. APIs generally - # provide a `list` method that returns the monitored resource descriptors used - # by the API. - class MonitoredResourceDescriptor - include Google::Apis::Core::Hashable - - # Required. A set of labels used to describe instances of this monitored - # resource type. For example, an individual Google Cloud SQL database is - # identified by values for the labels `"database_id"` and `"zone"`. - # Corresponds to the JSON property `labels` - # @return [Array] - attr_accessor :labels - - # Optional. The resource name of the monitored resource descriptor: - # `"projects/`project_id`/monitoredResourceDescriptors/`type`"` where - # `type` is the value of the `type` field in this object and - # `project_id` is a project ID that provides API-specific context for - # accessing the type. APIs that do not use project information can use the - # resource name format `"monitoredResourceDescriptors/`type`"`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Optional. A detailed description of the monitored resource type that might - # be used in documentation. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Optional. A concise name for the monitored resource type that might be - # displayed in user interfaces. It should be a Title Cased Noun Phrase, - # without any article or other determiners. For example, - # `"Google Cloud SQL Database"`. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Required. The monitored resource type. For example, the type - # `"cloudsql_database"` represents databases in Google Cloud SQL. - # The maximum length of this value is 256 characters. - # 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) - @labels = args[:labels] if args.key?(:labels) - @name = args[:name] if args.key?(:name) - @description = args[:description] if args.key?(:description) - @display_name = args[:display_name] if args.key?(:display_name) - @type = args[:type] if args.key?(:type) - end - end - - # Configuration for a custom authentication provider. - class CustomAuthRequirements - include Google::Apis::Core::Hashable - - # A configuration string containing connection information for the - # authentication provider, typically formatted as a SmartService string - # (go/smartservice). - # Corresponds to the JSON property `provider` - # @return [String] - attr_accessor :provider - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @provider = args[:provider] if args.key?(:provider) - end - end - - # Defines the Media configuration for a service in case of a download. - # Use this only for Scotty Requests. Do not use this for media support using - # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to - # your configuration for Bytestream methods. - class MediaDownload - include Google::Apis::Core::Hashable - - # Whether download is enabled. - # Corresponds to the JSON property `enabled` - # @return [Boolean] - attr_accessor :enabled - alias_method :enabled?, :enabled - - # DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED. - # Specify name of the download service if one is used for download. - # Corresponds to the JSON property `downloadService` - # @return [String] - attr_accessor :download_service - - # A boolean that determines whether a notification for the completion of a - # download should be sent to the backend. - # Corresponds to the JSON property `completeNotification` - # @return [Boolean] - attr_accessor :complete_notification - alias_method :complete_notification?, :complete_notification - - # Name of the Scotty dropzone to use for the current API. - # Corresponds to the JSON property `dropzone` - # @return [String] - attr_accessor :dropzone - - # Optional maximum acceptable size for direct download. - # The size is specified in bytes. - # Corresponds to the JSON property `maxDirectDownloadSize` - # @return [Fixnum] - attr_accessor :max_direct_download_size - - # A boolean that determines if direct download from ESF should be used for - # download of this media. - # Corresponds to the JSON property `useDirectDownload` - # @return [Boolean] - attr_accessor :use_direct_download - alias_method :use_direct_download?, :use_direct_download - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @enabled = args[:enabled] if args.key?(:enabled) - @download_service = args[:download_service] if args.key?(:download_service) - @complete_notification = args[:complete_notification] if args.key?(:complete_notification) - @dropzone = args[:dropzone] if args.key?(:dropzone) - @max_direct_download_size = args[:max_direct_download_size] if args.key?(:max_direct_download_size) - @use_direct_download = args[:use_direct_download] if args.key?(:use_direct_download) - end - end - - # Change report associated with a particular service configuration. - # It contains a list of ConfigChanges based on the comparison between - # two service configurations. - class ChangeReport - include Google::Apis::Core::Hashable - - # List of changes between two service configurations. - # The changes will be alphabetically sorted based on the identifier - # of each change. - # A ConfigChange identifier is a dot separated path to the configuration. - # Example: visibility.rules[selector='LibraryService.CreateBook'].restriction - # Corresponds to the JSON property `configChanges` - # @return [Array] - attr_accessor :config_changes - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @config_changes = args[:config_changes] if args.key?(:config_changes) - end - end - - # Request message for DisableService method. - class DisableServiceRequest - include Google::Apis::Core::Hashable - - # The identity of consumer resource which service disablement will be - # applied to. - # The Google Service Management implementation accepts the following - # forms: - # - "project:" - # Note: this is made compatible with - # google.api.servicecontrol.v1.Operation.consumer_id. - # Corresponds to the JSON property `consumerId` - # @return [String] - attr_accessor :consumer_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @consumer_id = args[:consumer_id] if args.key?(:consumer_id) - end - end - - # Response message for SubmitConfigSource method. - class SubmitConfigSourceResponse - include Google::Apis::Core::Hashable - - # `Service` is the root object of Google service configuration schema. It - # describes basic information about a service, such as the name and the - # title, and delegates other aspects to sub-sections. Each sub-section is - # either a proto message or a repeated proto message that configures a - # specific aspect, such as auth. See each proto message definition for details. - # Example: - # type: google.api.Service - # config_version: 3 - # name: calendar.googleapis.com - # title: Google Calendar API - # apis: - # - name: google.calendar.v3.Calendar - # authentication: - # providers: - # - id: google_calendar_auth - # jwks_uri: https://www.googleapis.com/oauth2/v1/certs - # issuer: https://securetoken.google.com - # rules: - # - selector: "*" - # requirements: - # provider_id: google_calendar_auth - # Corresponds to the JSON property `serviceConfig` - # @return [Google::Apis::ServicemanagementV1::Service] - attr_accessor :service_config - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @service_config = args[:service_config] if args.key?(:service_config) - end - end - - # Defines the Media configuration for a service in case of an upload. - # Use this only for Scotty Requests. Do not use this for media support using - # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to - # your configuration for Bytestream methods. - class MediaUpload - include Google::Apis::Core::Hashable - - # Whether to receive a notification on the start of media upload. - # Corresponds to the JSON property `startNotification` - # @return [Boolean] - attr_accessor :start_notification - alias_method :start_notification?, :start_notification - - # DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED. - # Specify name of the upload service if one is used for upload. - # Corresponds to the JSON property `uploadService` - # @return [String] - attr_accessor :upload_service - - # An array of mimetype patterns. Esf will only accept uploads that match one - # of the given patterns. - # Corresponds to the JSON property `mimeTypes` - # @return [Array] - attr_accessor :mime_types - - # Optional maximum acceptable size for an upload. - # The size is specified in bytes. - # Corresponds to the JSON property `maxSize` - # @return [Fixnum] - attr_accessor :max_size - - # A boolean that determines whether a notification for the completion of an - # upload should be sent to the backend. These notifications will not be seen - # by the client and will not consume quota. - # Corresponds to the JSON property `completeNotification` - # @return [Boolean] - attr_accessor :complete_notification - alias_method :complete_notification?, :complete_notification - - # Whether to receive a notification for progress changes of media upload. - # Corresponds to the JSON property `progressNotification` - # @return [Boolean] - attr_accessor :progress_notification - alias_method :progress_notification?, :progress_notification - - # Whether upload is enabled. - # Corresponds to the JSON property `enabled` - # @return [Boolean] - attr_accessor :enabled - alias_method :enabled?, :enabled - - # Name of the Scotty dropzone to use for the current API. - # Corresponds to the JSON property `dropzone` - # @return [String] - attr_accessor :dropzone - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @start_notification = args[:start_notification] if args.key?(:start_notification) - @upload_service = args[:upload_service] if args.key?(:upload_service) - @mime_types = args[:mime_types] if args.key?(:mime_types) - @max_size = args[:max_size] if args.key?(:max_size) - @complete_notification = args[:complete_notification] if args.key?(:complete_notification) - @progress_notification = args[:progress_notification] if args.key?(:progress_notification) - @enabled = args[:enabled] if args.key?(:enabled) - @dropzone = args[:dropzone] if args.key?(:dropzone) - end - end - - # Generated advice about this change, used for providing more - # information about how a change will affect the existing service. - class Advice - include Google::Apis::Core::Hashable - - # Useful description for why this advice was applied and what actions should - # be taken to mitigate any implied risks. - # 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) - @description = args[:description] if args.key?(:description) - end - end - - # The full representation of a Service that is managed by - # Google Service Management. - class ManagedService - include Google::Apis::Core::Hashable - - # The name of the service. See the [overview](/service-management/overview) - # for naming requirements. - # Corresponds to the JSON property `serviceName` - # @return [String] - attr_accessor :service_name - - # ID of the project that produces and owns this service. - # Corresponds to the JSON property `producerProjectId` - # @return [String] - attr_accessor :producer_project_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @service_name = args[:service_name] if args.key?(:service_name) - @producer_project_id = args[:producer_project_id] if args.key?(:producer_project_id) - end - end - - # Usage configuration rules for the service. - # NOTE: Under development. - # Use this rule to configure unregistered calls for the service. Unregistered - # calls are calls that do not contain consumer project identity. - # (Example: calls that do not contain an API key). - # By default, API methods do not allow unregistered calls, and each method call - # must be identified by a consumer project identity. Use this rule to - # allow/disallow unregistered calls. - # Example of an API that wants to allow unregistered calls for entire service. - # usage: - # rules: - # - selector: "*" - # allow_unregistered_calls: true - # Example of a method that wants to allow unregistered calls. - # usage: - # rules: - # - selector: "google.example.library.v1.LibraryService.CreateBook" - # allow_unregistered_calls: true - class UsageRule - include Google::Apis::Core::Hashable - - # True, if the method allows unregistered calls; false otherwise. - # Corresponds to the JSON property `allowUnregisteredCalls` - # @return [Boolean] - attr_accessor :allow_unregistered_calls - alias_method :allow_unregistered_calls?, :allow_unregistered_calls - - # Selects the methods to which this rule applies. Use '*' to indicate all - # methods in all APIs. - # Refer to selector for syntax details. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector - - # True, if the method should skip service control. If so, no control plane - # feature (like quota and billing) will be enabled. - # Corresponds to the JSON property `skipServiceControl` - # @return [Boolean] - attr_accessor :skip_service_control - alias_method :skip_service_control?, :skip_service_control - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @allow_unregistered_calls = args[:allow_unregistered_calls] if args.key?(:allow_unregistered_calls) - @selector = args[:selector] if args.key?(:selector) - @skip_service_control = args[:skip_service_control] if args.key?(:skip_service_control) - end - end - - # Strategy that specifies how clients of Google Service Controller want to - # send traffic to use different config versions. This is generally - # used by API proxy to split traffic based on your configured precentage for - # each config version. - # One example of how to gradually rollout a new service configuration using - # this - # strategy: - # Day 1 - # Rollout ` - # id: "example.googleapis.com/rollout_20160206" - # traffic_percent_strategy ` - # percentages: ` - # "example.googleapis.com/20160201": 70.00 - # "example.googleapis.com/20160206": 30.00 - # ` - # ` - # ` - # Day 2 - # Rollout ` - # id: "example.googleapis.com/rollout_20160207" - # traffic_percent_strategy: ` - # percentages: ` - # "example.googleapis.com/20160206": 100.00 - # ` - # ` - # ` - class TrafficPercentStrategy - include Google::Apis::Core::Hashable - - # Maps service configuration IDs to their corresponding traffic percentage. - # Key is the service configuration ID, Value is the traffic percentage - # which must be greater than 0.0 and the sum must equal to 100.0. - # Corresponds to the JSON property `percentages` - # @return [Hash] - attr_accessor :percentages - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @percentages = args[:percentages] if args.key?(:percentages) + @audiences = args[:audiences] if args.key?(:audiences) + @authorization_url = args[:authorization_url] if args.key?(:authorization_url) + @id = args[:id] if args.key?(:id) + @issuer = args[:issuer] if args.key?(:issuer) + @jwks_uri = args[:jwks_uri] if args.key?(:jwks_uri) end end @@ -2905,31 +363,300 @@ module Google end end + # `Authentication` defines the authentication configuration for an API. + # Example for an API targeted for external use: + # name: calendar.googleapis.com + # authentication: + # providers: + # - id: google_calendar_auth + # jwks_uri: https://www.googleapis.com/oauth2/v1/certs + # issuer: https://securetoken.google.com + # rules: + # - selector: "*" + # requirements: + # provider_id: google_calendar_auth + class Authentication + include Google::Apis::Core::Hashable + + # Defines a set of authentication providers that a service supports. + # Corresponds to the JSON property `providers` + # @return [Array] + attr_accessor :providers + + # A list of authentication rules that apply to individual API methods. + # **NOTE:** All service configuration rules follow "last one wins" order. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @providers = args[:providers] if args.key?(:providers) + @rules = args[:rules] if args.key?(:rules) + end + end + + # Authentication rules for the service. + # By default, if a method has any authentication requirements, every request + # must include a valid credential matching one of the requirements. + # It's an error to include more than one kind of credential in a single + # request. + # If a method doesn't have any auth requirements, request credentials will be + # ignored. + class AuthenticationRule + include Google::Apis::Core::Hashable + + # Whether to allow requests without a credential. The credential can be + # an OAuth token, Google cookies (first-party auth) or EndUserCreds. + # For requests without credentials, if the service control environment is + # specified, each incoming request **must** be associated with a service + # consumer. This can be done by passing an API key that belongs to a consumer + # project. + # Corresponds to the JSON property `allowWithoutCredential` + # @return [Boolean] + attr_accessor :allow_without_credential + alias_method :allow_without_credential?, :allow_without_credential + + # Configuration for a custom authentication provider. + # Corresponds to the JSON property `customAuth` + # @return [Google::Apis::ServicemanagementV1::CustomAuthRequirements] + attr_accessor :custom_auth + + # OAuth scopes are a way to define data and permissions on data. For example, + # there are scopes defined for "Read-only access to Google Calendar" and + # "Access to Cloud Platform". Users can consent to a scope for an application, + # giving it permission to access that data on their behalf. + # OAuth scope specifications should be fairly coarse grained; a user will need + # to see and understand the text description of what your scope means. + # In most cases: use one or at most two OAuth scopes for an entire family of + # products. If your product has multiple APIs, you should probably be sharing + # the OAuth scope across all of those APIs. + # When you need finer grained OAuth consent screens: talk with your product + # management about how developers will use them in practice. + # Please note that even though each of the canonical scopes is enough for a + # request to be accepted and passed to the backend, a request can still fail + # due to the backend requiring additional scopes or permissions. + # Corresponds to the JSON property `oauth` + # @return [Google::Apis::ServicemanagementV1::OAuthRequirements] + attr_accessor :oauth + + # Requirements for additional authentication providers. + # Corresponds to the JSON property `requirements` + # @return [Array] + attr_accessor :requirements + + # Selects the methods to which this rule applies. + # Refer to selector for syntax details. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @allow_without_credential = args[:allow_without_credential] if args.key?(:allow_without_credential) + @custom_auth = args[:custom_auth] if args.key?(:custom_auth) + @oauth = args[:oauth] if args.key?(:oauth) + @requirements = args[:requirements] if args.key?(:requirements) + @selector = args[:selector] if args.key?(:selector) + end + end + + # Configuration of authorization. + # This section determines the authorization provider, if unspecified, then no + # authorization check will be done. + # Example: + # experimental: + # authorization: + # provider: firebaserules.googleapis.com + class AuthorizationConfig + include Google::Apis::Core::Hashable + + # The name of the authorization provider, such as + # firebaserules.googleapis.com. + # Corresponds to the JSON property `provider` + # @return [String] + attr_accessor :provider + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @provider = args[:provider] if args.key?(:provider) + end + end + + # `Backend` defines the backend configuration for a service. + class Backend + include Google::Apis::Core::Hashable + + # A list of API backend rules that apply to individual API methods. + # **NOTE:** All service configuration rules follow "last one wins" order. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @rules = args[:rules] if args.key?(:rules) + end + end + + # A backend rule provides configuration for an individual API element. + class BackendRule + include Google::Apis::Core::Hashable + + # The address of the API backend. + # Corresponds to the JSON property `address` + # @return [String] + attr_accessor :address + + # The number of seconds to wait for a response from a request. The + # default depends on the deployment context. + # Corresponds to the JSON property `deadline` + # @return [Float] + attr_accessor :deadline + + # Minimum deadline in seconds needed for this method. Calls having deadline + # value lower than this will be rejected. + # Corresponds to the JSON property `minDeadline` + # @return [Float] + attr_accessor :min_deadline + + # Selects the methods to which this rule applies. + # Refer to selector for syntax details. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @address = args[:address] if args.key?(:address) + @deadline = args[:deadline] if args.key?(:deadline) + @min_deadline = args[:min_deadline] if args.key?(:min_deadline) + @selector = args[:selector] if args.key?(:selector) + end + end + + # Associates `members` with a `role`. + class Binding + include Google::Apis::Core::Hashable + + # Represents an expression text. Example: + # title: "User account presence" + # description: "Determines whether the request has a user account" + # expression: "size(request.user) > 0" + # Corresponds to the JSON property `condition` + # @return [Google::Apis::ServicemanagementV1::Expr] + attr_accessor :condition + + # Specifies the identities requesting access for a Cloud Platform resource. + # `members` can have the following values: + # * `allUsers`: A special identifier that represents anyone who is + # on the internet; with or without a Google account. + # * `allAuthenticatedUsers`: A special identifier that represents anyone + # who is authenticated with a Google account or a service account. + # * `user:`emailid``: An email address that represents a specific Google + # account. For example, `alice@gmail.com` or `joe@example.com`. + # * `serviceAccount:`emailid``: An email address that represents a service + # account. For example, `my-other-app@appspot.gserviceaccount.com`. + # * `group:`emailid``: An email address that represents a Google group. + # For example, `admins@example.com`. + # * `domain:`domain``: A Google Apps domain name that represents all the + # users of that domain. For example, `google.com` or `example.com`. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members + + # Role that is assigned to `members`. + # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + # Required + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @condition = args[:condition] if args.key?(:condition) + @members = args[:members] if args.key?(:members) + @role = args[:role] if args.key?(:role) + end + end + + # Change report associated with a particular service configuration. + # It contains a list of ConfigChanges based on the comparison between + # two service configurations. + class ChangeReport + include Google::Apis::Core::Hashable + + # List of changes between two service configurations. + # The changes will be alphabetically sorted based on the identifier + # of each change. + # A ConfigChange identifier is a dot separated path to the configuration. + # Example: visibility.rules[selector='LibraryService.CreateBook'].restriction + # Corresponds to the JSON property `configChanges` + # @return [Array] + attr_accessor :config_changes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @config_changes = args[:config_changes] if args.key?(:config_changes) + end + end + + # Write a Cloud Audit log + class CloudAuditOptions + include Google::Apis::Core::Hashable + + # The log_name to populate in the Cloud Audit Record. + # Corresponds to the JSON property `logName` + # @return [String] + attr_accessor :log_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @log_name = args[:log_name] if args.key?(:log_name) + end + end + # A condition to be met. class Condition include Google::Apis::Core::Hashable - # DEPRECATED. Use 'values' instead. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # 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 supplied by the IAM system. # Corresponds to the JSON property `iam` # @return [String] attr_accessor :iam - # The objects of the condition. This is mutually exclusive with 'value'. - # Corresponds to the JSON property `values` - # @return [Array] - attr_accessor :values - # An operator to apply the subject with. # Corresponds to the JSON property `op` # @return [String] @@ -2940,18 +667,498 @@ module Google # @return [String] attr_accessor :svc + # 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 + + # DEPRECATED. Use 'values' instead. + # 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) - @value = args[:value] if args.key?(:value) - @sys = args[:sys] if args.key?(:sys) @iam = args[:iam] if args.key?(:iam) - @values = args[:values] if args.key?(:values) @op = args[:op] if args.key?(:op) @svc = args[:svc] if args.key?(:svc) + @sys = args[:sys] if args.key?(:sys) + @value = args[:value] if args.key?(:value) + @values = args[:values] if args.key?(:values) + end + end + + # Output generated from semantically comparing two versions of a service + # configuration. + # Includes detailed information about a field that have changed with + # applicable advice about potential consequences for the change, such as + # backwards-incompatibility. + class ConfigChange + include Google::Apis::Core::Hashable + + # Collection of advice provided for this change, useful for determining the + # possible impact of this change. + # Corresponds to the JSON property `advices` + # @return [Array] + attr_accessor :advices + + # The type for this change, either ADDED, REMOVED, or MODIFIED. + # Corresponds to the JSON property `changeType` + # @return [String] + attr_accessor :change_type + + # Object hierarchy path to the change, with levels separated by a '.' + # character. For repeated fields, an applicable unique identifier field is + # used for the index (usually selector, name, or id). For maps, the term + # 'key' is used. If the field has no unique identifier, the numeric index + # is used. + # Examples: + # - visibility.rules[selector=="google.LibraryService.CreateBook"].restriction + # - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value + # - logging.producer_destinations[0] + # Corresponds to the JSON property `element` + # @return [String] + attr_accessor :element + + # Value of the changed object in the new Service configuration, + # in JSON format. This field will not be populated if ChangeType == REMOVED. + # Corresponds to the JSON property `newValue` + # @return [String] + attr_accessor :new_value + + # Value of the changed object in the old Service configuration, + # in JSON format. This field will not be populated if ChangeType == ADDED. + # Corresponds to the JSON property `oldValue` + # @return [String] + attr_accessor :old_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @advices = args[:advices] if args.key?(:advices) + @change_type = args[:change_type] if args.key?(:change_type) + @element = args[:element] if args.key?(:element) + @new_value = args[:new_value] if args.key?(:new_value) + @old_value = args[:old_value] if args.key?(:old_value) + end + end + + # Generic specification of a source configuration file + class ConfigFile + include Google::Apis::Core::Hashable + + # The bytes that constitute the file. + # Corresponds to the JSON property `fileContents` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :file_contents + + # The file name of the configuration file (full or relative path). + # Corresponds to the JSON property `filePath` + # @return [String] + attr_accessor :file_path + + # The type of configuration file this represents. + # Corresponds to the JSON property `fileType` + # @return [String] + attr_accessor :file_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file_contents = args[:file_contents] if args.key?(:file_contents) + @file_path = args[:file_path] if args.key?(:file_path) + @file_type = args[:file_type] if args.key?(:file_type) + end + end + + # Represents a service configuration with its name and id. + class ConfigRef + include Google::Apis::Core::Hashable + + # Resource name of a service config. It must have the following + # format: "services/`service name`/configs/`config id`". + # 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) + @name = args[:name] if args.key?(:name) + end + end + + # Represents a source file which is used to generate the service configuration + # defined by `google.api.Service`. + class ConfigSource + include Google::Apis::Core::Hashable + + # Set of source configuration files that are used to generate a service + # configuration (`google.api.Service`). + # Corresponds to the JSON property `files` + # @return [Array] + attr_accessor :files + + # A unique ID for a specific instance of this message, typically assigned + # by the client for tracking purpose. If empty, the server may choose to + # generate one instead. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @files = args[:files] if args.key?(:files) + @id = args[:id] if args.key?(:id) + end + end + + # `Context` defines which contexts an API requests. + # Example: + # context: + # rules: + # - selector: "*" + # requested: + # - google.rpc.context.ProjectContext + # - google.rpc.context.OriginContext + # The above specifies that all methods in the API request + # `google.rpc.context.ProjectContext` and + # `google.rpc.context.OriginContext`. + # Available context types are defined in package + # `google.rpc.context`. + class Context + include Google::Apis::Core::Hashable + + # A list of RPC context rules that apply to individual API methods. + # **NOTE:** All service configuration rules follow "last one wins" order. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @rules = args[:rules] if args.key?(:rules) + end + end + + # A context rule provides information about the context for an individual API + # element. + class ContextRule + include Google::Apis::Core::Hashable + + # A list of full type names of provided contexts. + # Corresponds to the JSON property `provided` + # @return [Array] + attr_accessor :provided + + # A list of full type names of requested contexts. + # Corresponds to the JSON property `requested` + # @return [Array] + attr_accessor :requested + + # Selects the methods to which this rule applies. + # Refer to selector for syntax details. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @provided = args[:provided] if args.key?(:provided) + @requested = args[:requested] if args.key?(:requested) + @selector = args[:selector] if args.key?(:selector) + end + end + + # Selects and configures the service controller used by the service. The + # service controller handles features like abuse, quota, billing, logging, + # monitoring, etc. + class Control + include Google::Apis::Core::Hashable + + # The service control environment to use. If empty, no control plane + # feature (like quota and billing) will be enabled. + # Corresponds to the JSON property `environment` + # @return [String] + attr_accessor :environment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @environment = args[:environment] if args.key?(:environment) + end + end + + # 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 the only supported field names are + # - "iam_principal", corresponding to IAMContext.principal; + # - "" (empty string), resulting in one aggretated counter with no field. + # 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 CounterOptions + include Google::Apis::Core::Hashable + + # The field value to attribute. + # Corresponds to the JSON property `field` + # @return [String] + attr_accessor :field + + # The metric to update. + # Corresponds to the JSON property `metric` + # @return [String] + attr_accessor :metric + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field = args[:field] if args.key?(:field) + @metric = args[:metric] if args.key?(:metric) + end + end + + # Configuration for a custom authentication provider. + class CustomAuthRequirements + include Google::Apis::Core::Hashable + + # A configuration string containing connection information for the + # authentication provider, typically formatted as a SmartService string + # (go/smartservice). + # Corresponds to the JSON property `provider` + # @return [String] + attr_accessor :provider + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @provider = args[:provider] if args.key?(:provider) + end + end + + # Customize service error responses. For example, list any service + # specific protobuf types that can appear in error detail lists of + # error responses. + # Example: + # custom_error: + # types: + # - google.foo.v1.CustomError + # - google.foo.v1.AnotherError + class CustomError + include Google::Apis::Core::Hashable + + # The list of custom error rules that apply to individual API messages. + # **NOTE:** All service configuration rules follow "last one wins" order. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + # The list of custom error detail types, e.g. 'google.foo.v1.CustomError'. + # Corresponds to the JSON property `types` + # @return [Array] + attr_accessor :types + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @rules = args[:rules] if args.key?(:rules) + @types = args[:types] if args.key?(:types) + end + end + + # A custom error rule. + class CustomErrorRule + include Google::Apis::Core::Hashable + + # Mark this message as possible payload in error response. Otherwise, + # objects of this type will be filtered when they appear in error payload. + # Corresponds to the JSON property `isErrorType` + # @return [Boolean] + attr_accessor :is_error_type + alias_method :is_error_type?, :is_error_type + + # Selects messages to which this rule applies. + # Refer to selector for syntax details. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @is_error_type = args[:is_error_type] if args.key?(:is_error_type) + @selector = args[:selector] if args.key?(:selector) + end + end + + # A custom pattern is used for defining custom HTTP verb. + class CustomHttpPattern + include Google::Apis::Core::Hashable + + # The name of this custom HTTP verb. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The path matched by this custom verb. + # Corresponds to the JSON property `path` + # @return [String] + attr_accessor :path + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @path = args[:path] if args.key?(:path) + end + end + + # Write a Data Access (Gin) log + class DataAccessOptions + include Google::Apis::Core::Hashable + + # Whether Gin logging should happen in a fail-closed manner at the caller. + # This is relevant only in the LocalIAM implementation, for now. + # Corresponds to the JSON property `logMode` + # @return [String] + attr_accessor :log_mode + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @log_mode = args[:log_mode] if args.key?(:log_mode) + end + end + + # Strategy used to delete a service. This strategy is a placeholder only + # used by the system generated rollout to delete a service. + class DeleteServiceStrategy + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Represents a diagnostic message (error or warning) + class Diagnostic + include Google::Apis::Core::Hashable + + # The kind of diagnostic information provided. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # File name and line number of the error or warning. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # Message describing the error or warning. + # 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) + @kind = args[:kind] if args.key?(:kind) + @location = args[:location] if args.key?(:location) + @message = args[:message] if args.key?(:message) + end + end + + # Request message for DisableService method. + class DisableServiceRequest + include Google::Apis::Core::Hashable + + # The identity of consumer resource which service disablement will be + # applied to. + # The Google Service Management implementation accepts the following + # forms: + # - "project:" + # Note: this is made compatible with + # google.api.servicecontrol.v1.Operation.consumer_id. + # Corresponds to the JSON property `consumerId` + # @return [String] + attr_accessor :consumer_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @consumer_id = args[:consumer_id] if args.key?(:consumer_id) end end @@ -3011,12 +1218,6 @@ module Google class Documentation include Google::Apis::Core::Hashable - # A short summary of what the service does. Can only be provided by - # plain text. - # Corresponds to the JSON property `summary` - # @return [String] - attr_accessor :summary - # The URL to the root of documentation. # Corresponds to the JSON property `documentationRootUrl` # @return [String] @@ -3039,16 +1240,22 @@ module Google # @return [String] attr_accessor :overview + # The top level pages for the documentation set. + # Corresponds to the JSON property `pages` + # @return [Array] + attr_accessor :pages + # A list of documentation rules that apply to individual API elements. # **NOTE:** All service configuration rules follow "last one wins" order. # Corresponds to the JSON property `rules` # @return [Array] attr_accessor :rules - # The top level pages for the documentation set. - # Corresponds to the JSON property `pages` - # @return [Array] - attr_accessor :pages + # A short summary of what the service does. Can only be provided by + # plain text. + # Corresponds to the JSON property `summary` + # @return [String] + attr_accessor :summary def initialize(**args) update!(**args) @@ -3056,316 +1263,171 @@ module Google # Update properties of this object def update!(**args) - @summary = args[:summary] if args.key?(:summary) @documentation_root_url = args[:documentation_root_url] if args.key?(:documentation_root_url) @overview = args[:overview] if args.key?(:overview) - @rules = args[:rules] if args.key?(:rules) @pages = args[:pages] if args.key?(:pages) - end - end - - # Provides the configuration for logging a type of permissions. - # Example: - # ` - # "audit_log_configs": [ - # ` - # "log_type": "DATA_READ", - # "exempted_members": [ - # "user:foo@gmail.com" - # ] - # `, - # ` - # "log_type": "DATA_WRITE", - # ` - # ] - # ` - # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting - # foo@gmail.com from DATA_READ logging. - class AuditLogConfig - include Google::Apis::Core::Hashable - - # The log type that this config enables. - # Corresponds to the JSON property `logType` - # @return [String] - attr_accessor :log_type - - # Specifies the identities that do not cause logging for this type of - # permission. - # Follows the same format of Binding.members. - # Corresponds to the JSON property `exemptedMembers` - # @return [Array] - attr_accessor :exempted_members - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @log_type = args[:log_type] if args.key?(:log_type) - @exempted_members = args[:exempted_members] if args.key?(:exempted_members) - end - end - - # Represents a source file which is used to generate the service configuration - # defined by `google.api.Service`. - class ConfigSource - include Google::Apis::Core::Hashable - - # A unique ID for a specific instance of this message, typically assigned - # by the client for tracking purpose. If empty, the server may choose to - # generate one instead. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Set of source configuration files that are used to generate a service - # configuration (`google.api.Service`). - # Corresponds to the JSON property `files` - # @return [Array] - attr_accessor :files - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @files = args[:files] if args.key?(:files) - end - end - - # A backend rule provides configuration for an individual API element. - class BackendRule - include Google::Apis::Core::Hashable - - # Minimum deadline in seconds needed for this method. Calls having deadline - # value lower than this will be rejected. - # Corresponds to the JSON property `minDeadline` - # @return [Float] - attr_accessor :min_deadline - - # The address of the API backend. - # Corresponds to the JSON property `address` - # @return [String] - attr_accessor :address - - # Selects the methods to which this rule applies. - # Refer to selector for syntax details. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector - - # The number of seconds to wait for a response from a request. The - # default depends on the deployment context. - # Corresponds to the JSON property `deadline` - # @return [Float] - attr_accessor :deadline - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @min_deadline = args[:min_deadline] if args.key?(:min_deadline) - @address = args[:address] if args.key?(:address) - @selector = args[:selector] if args.key?(:selector) - @deadline = args[:deadline] if args.key?(:deadline) - end - end - - # Authentication rules for the service. - # By default, if a method has any authentication requirements, every request - # must include a valid credential matching one of the requirements. - # It's an error to include more than one kind of credential in a single - # request. - # If a method doesn't have any auth requirements, request credentials will be - # ignored. - class AuthenticationRule - include Google::Apis::Core::Hashable - - # Requirements for additional authentication providers. - # Corresponds to the JSON property `requirements` - # @return [Array] - attr_accessor :requirements - - # Whether to allow requests without a credential. The credential can be - # an OAuth token, Google cookies (first-party auth) or EndUserCreds. - # For requests without credentials, if the service control environment is - # specified, each incoming request **must** be associated with a service - # consumer. This can be done by passing an API key that belongs to a consumer - # project. - # Corresponds to the JSON property `allowWithoutCredential` - # @return [Boolean] - attr_accessor :allow_without_credential - alias_method :allow_without_credential?, :allow_without_credential - - # Selects the methods to which this rule applies. - # Refer to selector for syntax details. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector - - # Configuration for a custom authentication provider. - # Corresponds to the JSON property `customAuth` - # @return [Google::Apis::ServicemanagementV1::CustomAuthRequirements] - attr_accessor :custom_auth - - # OAuth scopes are a way to define data and permissions on data. For example, - # there are scopes defined for "Read-only access to Google Calendar" and - # "Access to Cloud Platform". Users can consent to a scope for an application, - # giving it permission to access that data on their behalf. - # OAuth scope specifications should be fairly coarse grained; a user will need - # to see and understand the text description of what your scope means. - # In most cases: use one or at most two OAuth scopes for an entire family of - # products. If your product has multiple APIs, you should probably be sharing - # the OAuth scope across all of those APIs. - # When you need finer grained OAuth consent screens: talk with your product - # management about how developers will use them in practice. - # Please note that even though each of the canonical scopes is enough for a - # request to be accepted and passed to the backend, a request can still fail - # due to the backend requiring additional scopes or permissions. - # Corresponds to the JSON property `oauth` - # @return [Google::Apis::ServicemanagementV1::OAuthRequirements] - attr_accessor :oauth - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @requirements = args[:requirements] if args.key?(:requirements) - @allow_without_credential = args[:allow_without_credential] if args.key?(:allow_without_credential) - @selector = args[:selector] if args.key?(:selector) - @custom_auth = args[:custom_auth] if args.key?(:custom_auth) - @oauth = args[:oauth] if args.key?(:oauth) - end - end - - # Response message for UndeleteService method. - class UndeleteServiceResponse - include Google::Apis::Core::Hashable - - # The full representation of a Service that is managed by - # Google Service Management. - # Corresponds to the JSON property `service` - # @return [Google::Apis::ServicemanagementV1::ManagedService] - attr_accessor :service - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @service = args[:service] if args.key?(:service) - end - end - - # Defines an Identity and Access Management (IAM) policy. It is used to - # specify access control policies for Cloud Platform resources. - # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of - # `members` to a `role`, where the members can be user accounts, Google groups, - # Google domains, and service 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:sean@example.com"] - # ` - # ] - # ` - # For a description of IAM and its features, see the - # [IAM developer's guide](https://cloud.google.com/iam). - class Policy - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `iamOwned` - # @return [Boolean] - attr_accessor :iam_owned - alias_method :iam_owned?, :iam_owned - - # If more than one rule is specified, the rules are applied in the following - # manner: - # - All matching LOG rules are always applied. - # - If any DENY/DENY_WITH_LOG rule matches, permission is denied. - # Logging will be applied if one or more matching rule requires logging. - # - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is - # granted. - # Logging will be applied if one or more matching rule requires logging. - # - Otherwise, if no rule applies, permission is denied. - # Corresponds to the JSON property `rules` - # @return [Array] - attr_accessor :rules - - # Version of the `Policy`. The default version is 0. - # Corresponds to the JSON property `version` - # @return [Fixnum] - attr_accessor :version - - # Specifies cloud audit logging configuration for this policy. - # Corresponds to the JSON property `auditConfigs` - # @return [Array] - attr_accessor :audit_configs - - # Associates a list of `members` to a `role`. - # `bindings` with no members will result in an error. - # Corresponds to the JSON property `bindings` - # @return [Array] - attr_accessor :bindings - - # `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 to perform policy updates in order to avoid race - # conditions: An `etag` is returned in the response to `getIamPolicy`, and - # systems are expected to put that etag in the request to `setIamPolicy` to - # ensure that their change will be applied to the same version of the policy. - # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. - # Corresponds to the JSON property `etag` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :etag - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @iam_owned = args[:iam_owned] if args.key?(:iam_owned) @rules = args[:rules] if args.key?(:rules) - @version = args[:version] if args.key?(:version) - @audit_configs = args[:audit_configs] if args.key?(:audit_configs) - @bindings = args[:bindings] if args.key?(:bindings) - @etag = args[:etag] if args.key?(:etag) + @summary = args[:summary] if args.key?(:summary) end end - # Api is a light-weight descriptor for a protocol buffer service. - class Api + # A documentation rule provides information about individual API elements. + class DocumentationRule include Google::Apis::Core::Hashable - # The source syntax of the service. - # Corresponds to the JSON property `syntax` + # Deprecation description of the selected element(s). It can be provided if an + # element is marked as `deprecated`. + # Corresponds to the JSON property `deprecationDescription` # @return [String] - attr_accessor :syntax + attr_accessor :deprecation_description + + # Description of the selected API(s). + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The selector is a comma-separated list of patterns. Each pattern is a + # qualified name of the element which may end in "*", indicating a wildcard. + # Wildcards are only allowed at the end and for a whole component of the + # qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To + # specify a default for all applicable elements, the whole pattern "*" + # is used. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @deprecation_description = args[:deprecation_description] if args.key?(:deprecation_description) + @description = args[:description] if args.key?(:description) + @selector = args[:selector] if args.key?(:selector) + end + end + + # Request message for EnableService method. + class EnableServiceRequest + include Google::Apis::Core::Hashable + + # The identity of consumer resource which service enablement will be + # applied to. + # The Google Service Management implementation accepts the following + # forms: + # - "project:" + # Note: this is made compatible with + # google.api.servicecontrol.v1.Operation.consumer_id. + # Corresponds to the JSON property `consumerId` + # @return [String] + attr_accessor :consumer_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @consumer_id = args[:consumer_id] if args.key?(:consumer_id) + end + end + + # `Endpoint` describes a network endpoint that serves a set of APIs. + # A service may expose any number of endpoints, and all endpoints share the + # same service configuration, such as quota configuration and monitoring + # configuration. + # Example service configuration: + # name: library-example.googleapis.com + # endpoints: + # # Below entry makes 'google.example.library.v1.Library' + # # API be served from endpoint address library-example.googleapis.com. + # # It also allows HTTP OPTIONS calls to be passed to the backend, for + # # it to decide whether the subsequent cross-origin request is + # # allowed to proceed. + # - name: library-example.googleapis.com + # allow_cors: true + class Endpoint + include Google::Apis::Core::Hashable + + # DEPRECATED: This field is no longer supported. Instead of using aliases, + # please specify multiple google.api.Endpoint for each of the intented + # alias. + # Additional names that this endpoint will be hosted on. + # Corresponds to the JSON property `aliases` + # @return [Array] + attr_accessor :aliases + + # Allowing + # [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka + # cross-domain traffic, would allow the backends served from this endpoint to + # receive and respond to HTTP OPTIONS requests. The response will be used by + # the browser to determine whether the subsequent cross-origin request is + # allowed to proceed. + # Corresponds to the JSON property `allowCors` + # @return [Boolean] + attr_accessor :allow_cors + alias_method :allow_cors?, :allow_cors + + # The list of APIs served by this endpoint. + # If no APIs are specified this translates to "all APIs" exported by the + # service, as defined in the top-level service configuration. + # Corresponds to the JSON property `apis` + # @return [Array] + attr_accessor :apis + + # The list of features enabled on this endpoint. + # Corresponds to the JSON property `features` + # @return [Array] + attr_accessor :features + + # The canonical name of this endpoint. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The specification of an Internet routable address of API frontend that will + # handle requests to this [API Endpoint](https://cloud.google.com/apis/design/ + # glossary). + # It should be either a valid IPv4 address or a fully-qualified domain name. + # For example, "8.8.8.8" or "myservice.appspot.com". + # Corresponds to the JSON property `target` + # @return [String] + attr_accessor :target + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @aliases = args[:aliases] if args.key?(:aliases) + @allow_cors = args[:allow_cors] if args.key?(:allow_cors) + @apis = args[:apis] if args.key?(:apis) + @features = args[:features] if args.key?(:features) + @name = args[:name] if args.key?(:name) + @target = args[:target] if args.key?(:target) + end + end + + # Enum type definition. + class Enum + include Google::Apis::Core::Hashable + + # Enum value definitions. + # Corresponds to the JSON property `enumvalue` + # @return [Array] + attr_accessor :enumvalue + + # Enum type name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Protocol buffer options. + # Corresponds to the JSON property `options` + # @return [Array] + attr_accessor :options # `SourceContext` represents information about the source of a # protobuf element, like the file in which it is defined. @@ -3373,48 +1435,10 @@ module Google # @return [Google::Apis::ServicemanagementV1::SourceContext] attr_accessor :source_context - # A version string for this api. If specified, must have the form - # `major-version.minor-version`, as in `1.10`. If the minor version - # is omitted, it defaults to zero. If the entire version field is - # empty, the major version is derived from the package name, as - # outlined below. If the field is not empty, the version in the - # package name will be verified to be consistent with what is - # provided here. - # The versioning schema uses [semantic - # versioning](http://semver.org) where the major version number - # indicates a breaking change and the minor version an additive, - # non-breaking change. Both version numbers are signals to users - # what to expect from different versions, and should be carefully - # chosen based on the product plan. - # The major version is also reflected in the package name of the - # API, which must end in `v`, as in - # `google.feature.v1`. For major versions 0 and 1, the suffix can - # be omitted. Zero major versions must only be used for - # experimental, none-GA apis. - # Corresponds to the JSON property `version` + # The source syntax. + # Corresponds to the JSON property `syntax` # @return [String] - attr_accessor :version - - # Included APIs. See Mixin. - # Corresponds to the JSON property `mixins` - # @return [Array] - attr_accessor :mixins - - # Any metadata attached to the API. - # Corresponds to the JSON property `options` - # @return [Array] - attr_accessor :options - - # The methods of this api, in unspecified order. - # Corresponds to the JSON property `methods` - # @return [Array] - attr_accessor :methods_prop - - # The fully qualified name of this api, including package name - # followed by the api's simple name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name + attr_accessor :syntax def initialize(**args) update!(**args) @@ -3422,427 +1446,11 @@ module Google # Update properties of this object def update!(**args) - @syntax = args[:syntax] if args.key?(:syntax) - @source_context = args[:source_context] if args.key?(:source_context) - @version = args[:version] if args.key?(:version) - @mixins = args[:mixins] if args.key?(:mixins) + @enumvalue = args[:enumvalue] if args.key?(:enumvalue) + @name = args[:name] if args.key?(:name) @options = args[:options] if args.key?(:options) - @methods_prop = args[:methods_prop] if args.key?(:methods_prop) - @name = args[:name] if args.key?(:name) - 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 - - # Bind API methods to metrics. Binding a method to a metric causes that - # metric's configured quota behaviors to apply to the method call. - class MetricRule - include Google::Apis::Core::Hashable - - # Metrics to update when the selected methods are called, and the associated - # cost applied to each metric. - # The key of the map is the metric name, and the values are the amount - # increased for the metric against which the quota limits are defined. - # The value must not be negative. - # Corresponds to the JSON property `metricCosts` - # @return [Hash] - attr_accessor :metric_costs - - # Selects the methods to which this rule applies. - # Refer to selector for syntax details. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metric_costs = args[:metric_costs] if args.key?(:metric_costs) - @selector = args[:selector] if args.key?(:selector) - end - end - - # `Authentication` defines the authentication configuration for an API. - # Example for an API targeted for external use: - # name: calendar.googleapis.com - # authentication: - # providers: - # - id: google_calendar_auth - # jwks_uri: https://www.googleapis.com/oauth2/v1/certs - # issuer: https://securetoken.google.com - # rules: - # - selector: "*" - # requirements: - # provider_id: google_calendar_auth - class Authentication - include Google::Apis::Core::Hashable - - # A list of authentication rules that apply to individual API methods. - # **NOTE:** All service configuration rules follow "last one wins" order. - # Corresponds to the JSON property `rules` - # @return [Array] - attr_accessor :rules - - # Defines a set of authentication providers that a service supports. - # Corresponds to the JSON property `providers` - # @return [Array] - attr_accessor :providers - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @rules = args[:rules] if args.key?(:rules) - @providers = args[:providers] if args.key?(:providers) - 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 - - # 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` that 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. - # - 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::ServicemanagementV1::Status] - attr_accessor :error - - # 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 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) - @error = args[:error] if args.key?(:error) - @metadata = args[:metadata] if args.key?(:metadata) - @done = args[:done] if args.key?(:done) - @response = args[:response] if args.key?(:response) - end - end - - # Represents a documentation page. A page can contain subpages to represent - # nested documentation set structure. - class Page - include Google::Apis::Core::Hashable - - # The name of the page. It will be used as an identity of the page to - # generate URI of the page, text of the link to this page in navigation, - # etc. The full page name (start from the root page name to this page - # concatenated with `.`) can be used as reference to the page in your - # documentation. For example: - #
    pages:
    -        # - name: Tutorial
    -        # content: (== include tutorial.md ==)
    -        # subpages:
    -        # - name: Java
    -        # content: (== include tutorial_java.md ==)
    -        # 
    - # You can reference `Java` page using Markdown reference link syntax: - # `Java`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The Markdown content of the page. You can use (== include `path` ==&# - # 41; - # to include content from a Markdown file. - # Corresponds to the JSON property `content` - # @return [String] - attr_accessor :content - - # Subpages of this page. The order of subpages specified here will be - # honored in the generated docset. - # Corresponds to the JSON property `subpages` - # @return [Array] - attr_accessor :subpages - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @content = args[:content] if args.key?(:content) - @subpages = args[:subpages] if args.key?(:subpages) - 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` that 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. - # - 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 - - # 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 - - # 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 - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @details = args[:details] if args.key?(:details) - @code = args[:code] if args.key?(:code) - @message = args[:message] if args.key?(:message) - end - end - - # Associates `members` with a `role`. - class Binding - include Google::Apis::Core::Hashable - - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" - # Corresponds to the JSON property `condition` - # @return [Google::Apis::ServicemanagementV1::Expr] - attr_accessor :condition - - # Specifies the identities requesting access for a Cloud Platform resource. - # `members` can have the following values: - # * `allUsers`: A special identifier that represents anyone who is - # on the internet; with or without a Google account. - # * `allAuthenticatedUsers`: A special identifier that represents anyone - # who is authenticated with a Google account or a service account. - # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@gmail.com` or `joe@example.com`. - # * `serviceAccount:`emailid``: An email address that represents a service - # account. For example, `my-other-app@appspot.gserviceaccount.com`. - # * `group:`emailid``: An email address that represents a Google group. - # For example, `admins@example.com`. - # * `domain:`domain``: A Google Apps domain name that represents all the - # users of that domain. For example, `google.com` or `example.com`. - # Corresponds to the JSON property `members` - # @return [Array] - attr_accessor :members - - # Role that is assigned to `members`. - # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. - # Required - # Corresponds to the JSON property `role` - # @return [String] - attr_accessor :role - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @condition = args[:condition] if args.key?(:condition) - @members = args[:members] if args.key?(:members) - @role = args[:role] if args.key?(:role) - end - end - - # Configuration for an anthentication provider, including support for - # [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web- - # token-32). - class AuthProvider - include Google::Apis::Core::Hashable - - # The list of JWT - # [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32# - # section-4.1.3). - # that are allowed to access. A JWT containing any of these audiences will - # be accepted. When this setting is absent, only JWTs with audience - # "https://Service_name/API_name" - # will be accepted. For example, if no audiences are in the setting, - # LibraryService API will only accept JWTs with the following audience - # "https://library-example.googleapis.com/google.example.library.v1. - # LibraryService". - # Example: - # audiences: bookstore_android.apps.googleusercontent.com, - # bookstore_web.apps.googleusercontent.com - # Corresponds to the JSON property `audiences` - # @return [String] - attr_accessor :audiences - - # Identifies the principal that issued the JWT. See - # https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 - # Usually a URL or an email address. - # Example: https://securetoken.google.com - # Example: 1234567-compute@developer.gserviceaccount.com - # Corresponds to the JSON property `issuer` - # @return [String] - attr_accessor :issuer - - # The unique identifier of the auth provider. It will be referred to by - # `AuthRequirement.provider_id`. - # Example: "bookstore_auth". - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # URL of the provider's public key set to validate signature of the JWT. See - # [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html# - # ProviderMetadata). - # Optional if the key set document: - # - can be retrieved from - # [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0. - # html - # of the issuer. - # - can be inferred from the email domain of the issuer (e.g. a Google service - # account). - # Example: https://www.googleapis.com/oauth2/v1/certs - # Corresponds to the JSON property `jwksUri` - # @return [String] - attr_accessor :jwks_uri - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @audiences = args[:audiences] if args.key?(:audiences) - @issuer = args[:issuer] if args.key?(:issuer) - @id = args[:id] if args.key?(:id) - @jwks_uri = args[:jwks_uri] if args.key?(:jwks_uri) + @source_context = args[:source_context] if args.key?(:source_context) + @syntax = args[:syntax] if args.key?(:syntax) end end @@ -3855,16 +1463,16 @@ module Google # @return [String] attr_accessor :name - # Protocol buffer options. - # Corresponds to the JSON property `options` - # @return [Array] - attr_accessor :options - # Enum value number. # Corresponds to the JSON property `number` # @return [Fixnum] attr_accessor :number + # Protocol buffer options. + # Corresponds to the JSON property `options` + # @return [Array] + attr_accessor :options + def initialize(**args) update!(**args) end @@ -3872,458 +1480,140 @@ module Google # Update properties of this object def update!(**args) @name = args[:name] if args.key?(:name) - @options = args[:options] if args.key?(:options) @number = args[:number] if args.key?(:number) + @options = args[:options] if args.key?(:options) end end - # `Service` is the root object of Google service configuration schema. It - # describes basic information about a service, such as the name and the - # title, and delegates other aspects to sub-sections. Each sub-section is - # either a proto message or a repeated proto message that configures a - # specific aspect, such as auth. See each proto message definition for details. - # Example: - # type: google.api.Service - # config_version: 3 - # name: calendar.googleapis.com - # title: Google Calendar API - # apis: - # - name: google.calendar.v3.Calendar - # authentication: - # providers: - # - id: google_calendar_auth - # jwks_uri: https://www.googleapis.com/oauth2/v1/certs - # issuer: https://securetoken.google.com - # rules: - # - selector: "*" - # requirements: - # provider_id: google_calendar_auth - class Service + # Experimental service configuration. These configuration options can + # only be used by whitelisted users. + class Experimental include Google::Apis::Core::Hashable - # A list of all proto message types included in this API service. - # Types referenced directly or indirectly by the `apis` are - # automatically included. Messages which are not referenced but - # shall be included, such as types used by the `google.protobuf.Any` type, - # should be listed here by name. Example: - # types: - # - name: google.protobuf.Int32 - # Corresponds to the JSON property `types` - # @return [Array] - attr_accessor :types - - # Source information used to create a Service Config - # Corresponds to the JSON property `sourceInfo` - # @return [Google::Apis::ServicemanagementV1::SourceInfo] - attr_accessor :source_info - - # Defines the HTTP configuration for an API service. It contains a list of - # HttpRule, each specifying the mapping of an RPC method - # to one or more HTTP REST API methods. - # Corresponds to the JSON property `http` - # @return [Google::Apis::ServicemanagementV1::Http] - attr_accessor :http - - # `Backend` defines the backend configuration for a service. - # Corresponds to the JSON property `backend` - # @return [Google::Apis::ServicemanagementV1::Backend] - attr_accessor :backend - - # ### System parameter configuration - # A system parameter is a special kind of parameter defined by the API - # system, not by an individual API. It is typically mapped to an HTTP header - # and/or a URL query parameter. This configuration specifies which methods - # change the names of the system parameters. - # Corresponds to the JSON property `systemParameters` - # @return [Google::Apis::ServicemanagementV1::SystemParameters] - attr_accessor :system_parameters - - # `Documentation` provides the information for describing a service. + # Configuration of authorization. + # This section determines the authorization provider, if unspecified, then no + # authorization check will be done. # Example: - #
    documentation:
    -        # summary: >
    -        # The Google Calendar API gives access
    -        # to most calendar features.
    -        # pages:
    -        # - name: Overview
    -        # content: (== include google/foo/overview.md ==)
    -        # - name: Tutorial
    -        # content: (== include google/foo/tutorial.md ==)
    -        # subpages;
    -        # - name: Java
    -        # content: (== include google/foo/tutorial_java.md ==)
    -        # rules:
    -        # - selector: google.calendar.Calendar.Get
    -        # description: >
    -        # ...
    -        # - selector: google.calendar.Calendar.Put
    -        # description: >
    -        # ...
    -        # 
    - # Documentation is provided in markdown syntax. In addition to - # standard markdown features, definition lists, tables and fenced - # code blocks are supported. Section headers can be provided and are - # interpreted relative to the section nesting of the context where - # a documentation fragment is embedded. - # Documentation from the IDL is merged with documentation defined - # via the config at normalization time, where documentation provided - # by config rules overrides IDL provided. - # A number of constructs specific to the API platform are supported - # in documentation text. - # In order to reference a proto element, the following - # notation can be used: - #
    [fully.qualified.proto.name][]
    - # To override the display text used for the link, this can be used: - #
    [display text][fully.qualified.proto.name]
    - # Text can be excluded from doc using the following notation: - #
    (-- internal comment --)
    - # Comments can be made conditional using a visibility label. The below - # text will be only rendered if the `BETA` label is available: - #
    (--BETA: comment for BETA users --)
    - # A few directives are available in documentation. Note that - # directives must appear on a single line to be properly - # identified. The `include` directive includes a markdown file from - # an external source: - #
    (== include path/to/file ==)
    - # The `resource_for` directive marks a message to be the resource of - # a collection in REST view. If it is not specified, tools attempt - # to infer the resource from the operations in a collection: - #
    (== resource_for v1.shelves.books ==)
    - # The directive `suppress_warning` does not directly affect documentation - # and is documented together with service config validation. - # Corresponds to the JSON property `documentation` - # @return [Google::Apis::ServicemanagementV1::Documentation] - attr_accessor :documentation + # experimental: + # authorization: + # provider: firebaserules.googleapis.com + # Corresponds to the JSON property `authorization` + # @return [Google::Apis::ServicemanagementV1::AuthorizationConfig] + attr_accessor :authorization - # Logging configuration of the service. - # The following example shows how to configure logs to be sent to the - # producer and consumer projects. In the example, the `activity_history` - # log is sent to both the producer and consumer projects, whereas the - # `purchase_history` log is only sent to the producer project. - # monitored_resources: - # - type: library.googleapis.com/branch - # labels: - # - key: /city - # description: The city where the library branch is located in. - # - key: /name - # description: The name of the branch. - # logs: - # - name: activity_history - # labels: - # - key: /customer_id - # - name: purchase_history - # logging: - # producer_destinations: - # - monitored_resource: library.googleapis.com/branch - # logs: - # - activity_history - # - purchase_history - # consumer_destinations: - # - monitored_resource: library.googleapis.com/branch - # logs: - # - activity_history - # Corresponds to the JSON property `logging` - # @return [Google::Apis::ServicemanagementV1::Logging] - attr_accessor :logging + def initialize(**args) + update!(**args) + end - # Defines the monitored resources used by this service. This is required - # by the Service.monitoring and Service.logging configurations. - # Corresponds to the JSON property `monitoredResources` - # @return [Array] - attr_accessor :monitored_resources + # Update properties of this object + def update!(**args) + @authorization = args[:authorization] if args.key?(:authorization) + end + end - # `Context` defines which contexts an API requests. - # Example: - # context: - # rules: - # - selector: "*" - # requested: - # - google.rpc.context.ProjectContext - # - google.rpc.context.OriginContext - # The above specifies that all methods in the API request - # `google.rpc.context.ProjectContext` and - # `google.rpc.context.OriginContext`. - # Available context types are defined in package - # `google.rpc.context`. - # Corresponds to the JSON property `context` - # @return [Google::Apis::ServicemanagementV1::Context] - attr_accessor :context + # Represents an expression text. Example: + # title: "User account presence" + # description: "Determines whether the request has a user account" + # expression: "size(request.user) > 0" + class Expr + include Google::Apis::Core::Hashable - # A list of all enum types included in this API service. Enums - # referenced directly or indirectly by the `apis` are automatically - # included. Enums which are not referenced but shall be included - # should be listed here by name. Example: - # enums: - # - name: google.someapi.v1.SomeEnum - # Corresponds to the JSON property `enums` - # @return [Array] - attr_accessor :enums - - # A unique ID for a specific instance of this message, typically assigned - # by the client for tracking purpose. If empty, the server may choose to - # generate one instead. - # Corresponds to the JSON property `id` + # An optional description of the expression. This is a longer text which + # describes the expression, e.g. when hovered over it in a UI. + # Corresponds to the JSON property `description` # @return [String] - attr_accessor :id + attr_accessor :description - # Configuration controlling usage of a service. - # Corresponds to the JSON property `usage` - # @return [Google::Apis::ServicemanagementV1::Usage] - attr_accessor :usage - - # Defines the metrics used by this service. - # Corresponds to the JSON property `metrics` - # @return [Array] - attr_accessor :metrics - - # `Authentication` defines the authentication configuration for an API. - # Example for an API targeted for external use: - # name: calendar.googleapis.com - # authentication: - # providers: - # - id: google_calendar_auth - # jwks_uri: https://www.googleapis.com/oauth2/v1/certs - # issuer: https://securetoken.google.com - # rules: - # - selector: "*" - # requirements: - # provider_id: google_calendar_auth - # Corresponds to the JSON property `authentication` - # @return [Google::Apis::ServicemanagementV1::Authentication] - attr_accessor :authentication - - # Experimental service configuration. These configuration options can - # only be used by whitelisted users. - # Corresponds to the JSON property `experimental` - # @return [Google::Apis::ServicemanagementV1::Experimental] - attr_accessor :experimental - - # Selects and configures the service controller used by the service. The - # service controller handles features like abuse, quota, billing, logging, - # monitoring, etc. - # Corresponds to the JSON property `control` - # @return [Google::Apis::ServicemanagementV1::Control] - attr_accessor :control - - # The version of the service configuration. The config version may - # influence interpretation of the configuration, for example, to - # determine defaults. This is documented together with applicable - # options. The current default for the config version itself is `3`. - # Corresponds to the JSON property `configVersion` - # @return [Fixnum] - attr_accessor :config_version - - # Monitoring configuration of the service. - # The example below shows how to configure monitored resources and metrics - # for monitoring. In the example, a monitored resource and two metrics are - # defined. The `library.googleapis.com/book/returned_count` metric is sent - # to both producer and consumer projects, whereas the - # `library.googleapis.com/book/overdue_count` metric is only sent to the - # consumer project. - # monitored_resources: - # - type: library.googleapis.com/branch - # labels: - # - key: /city - # description: The city where the library branch is located in. - # - key: /name - # description: The name of the branch. - # metrics: - # - name: library.googleapis.com/book/returned_count - # metric_kind: DELTA - # value_type: INT64 - # labels: - # - key: /customer_id - # - name: library.googleapis.com/book/overdue_count - # metric_kind: GAUGE - # value_type: INT64 - # labels: - # - key: /customer_id - # monitoring: - # producer_destinations: - # - monitored_resource: library.googleapis.com/branch - # metrics: - # - library.googleapis.com/book/returned_count - # consumer_destinations: - # - monitored_resource: library.googleapis.com/branch - # metrics: - # - library.googleapis.com/book/returned_count - # - library.googleapis.com/book/overdue_count - # Corresponds to the JSON property `monitoring` - # @return [Google::Apis::ServicemanagementV1::Monitoring] - attr_accessor :monitoring - - # A list of all proto message types included in this API service. - # It serves similar purpose as [google.api.Service.types], except that - # these types are not needed by user-defined APIs. Therefore, they will not - # show up in the generated discovery doc. This field should only be used - # to define system APIs in ESF. - # Corresponds to the JSON property `systemTypes` - # @return [Array] - attr_accessor :system_types - - # The Google project that owns this service. - # Corresponds to the JSON property `producerProjectId` + # Textual representation of an expression in + # Common Expression Language syntax. + # The application context of the containing message determines which + # well-known feature set of CEL is supported. + # Corresponds to the JSON property `expression` # @return [String] - attr_accessor :producer_project_id + attr_accessor :expression - # `Visibility` defines restrictions for the visibility of service - # elements. Restrictions are specified using visibility labels - # (e.g., TRUSTED_TESTER) that are elsewhere linked to users and projects. - # Users and projects can have access to more than one visibility label. The - # effective visibility for multiple labels is the union of each label's - # elements, plus any unrestricted elements. - # If an element and its parents have no restrictions, visibility is - # unconditionally granted. - # Example: - # visibility: - # rules: - # - selector: google.calendar.Calendar.EnhancedSearch - # restriction: TRUSTED_TESTER - # - selector: google.calendar.Calendar.Delegate - # restriction: GOOGLE_INTERNAL - # Here, all methods are publicly visible except for the restricted methods - # EnhancedSearch and Delegate. - # Corresponds to the JSON property `visibility` - # @return [Google::Apis::ServicemanagementV1::Visibility] - attr_accessor :visibility - - # Quota configuration helps to achieve fairness and budgeting in service - # usage. - # The quota configuration works this way: - # - The service configuration defines a set of metrics. - # - For API calls, the quota.metric_rules maps methods to metrics with - # corresponding costs. - # - The quota.limits defines limits on the metrics, which will be used for - # quota checks at runtime. - # An example quota configuration in yaml format: - # quota: - # - name: apiWriteQpsPerProject - # metric: library.googleapis.com/write_calls - # unit: "1/min/`project`" # rate limit for consumer projects - # values: - # STANDARD: 10000 - # # The metric rules bind all methods to the read_calls metric, - # # except for the UpdateBook and DeleteBook methods. These two methods - # # are mapped to the write_calls metric, with the UpdateBook method - # # consuming at twice rate as the DeleteBook method. - # metric_rules: - # - selector: "*" - # metric_costs: - # library.googleapis.com/read_calls: 1 - # - selector: google.example.library.v1.LibraryService.UpdateBook - # metric_costs: - # library.googleapis.com/write_calls: 2 - # - selector: google.example.library.v1.LibraryService.DeleteBook - # metric_costs: - # library.googleapis.com/write_calls: 1 - # Corresponding Metric definition: - # metrics: - # - name: library.googleapis.com/read_calls - # display_name: Read requests - # metric_kind: DELTA - # value_type: INT64 - # - name: library.googleapis.com/write_calls - # display_name: Write requests - # metric_kind: DELTA - # value_type: INT64 - # Corresponds to the JSON property `quota` - # @return [Google::Apis::ServicemanagementV1::Quota] - attr_accessor :quota - - # The DNS address at which this service is available, - # e.g. `calendar.googleapis.com`. - # Corresponds to the JSON property `name` + # An optional string indicating the location of the expression for error + # reporting, e.g. a file name and a position in the file. + # Corresponds to the JSON property `location` # @return [String] - attr_accessor :name + attr_accessor :location - # Customize service error responses. For example, list any service - # specific protobuf types that can appear in error detail lists of - # error responses. - # Example: - # custom_error: - # types: - # - google.foo.v1.CustomError - # - google.foo.v1.AnotherError - # Corresponds to the JSON property `customError` - # @return [Google::Apis::ServicemanagementV1::CustomError] - attr_accessor :custom_error - - # The product title for this service. + # An optional title for the expression, i.e. a short string describing + # its purpose. This can be used e.g. in UIs which allow to enter the + # expression. # Corresponds to the JSON property `title` # @return [String] attr_accessor :title - # Configuration for network endpoints. If this is empty, then an endpoint - # with the same name as the service is automatically generated to service all - # defined APIs. - # Corresponds to the JSON property `endpoints` - # @return [Array] - attr_accessor :endpoints - - # Defines the logs used by this service. - # Corresponds to the JSON property `logs` - # @return [Array] - attr_accessor :logs - - # A list of API interfaces exported by this service. Only the `name` field - # of the google.protobuf.Api needs to be provided by the configuration - # author, as the remaining fields will be derived from the IDL during the - # normalization process. It is an error to specify an API interface here - # which cannot be resolved against the associated IDL files. - # Corresponds to the JSON property `apis` - # @return [Array] - attr_accessor :apis - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @types = args[:types] if args.key?(:types) - @source_info = args[:source_info] if args.key?(:source_info) - @http = args[:http] if args.key?(:http) - @backend = args[:backend] if args.key?(:backend) - @system_parameters = args[:system_parameters] if args.key?(:system_parameters) - @documentation = args[:documentation] if args.key?(:documentation) - @logging = args[:logging] if args.key?(:logging) - @monitored_resources = args[:monitored_resources] if args.key?(:monitored_resources) - @context = args[:context] if args.key?(:context) - @enums = args[:enums] if args.key?(:enums) - @id = args[:id] if args.key?(:id) - @usage = args[:usage] if args.key?(:usage) - @metrics = args[:metrics] if args.key?(:metrics) - @authentication = args[:authentication] if args.key?(:authentication) - @experimental = args[:experimental] if args.key?(:experimental) - @control = args[:control] if args.key?(:control) - @config_version = args[:config_version] if args.key?(:config_version) - @monitoring = args[:monitoring] if args.key?(:monitoring) - @system_types = args[:system_types] if args.key?(:system_types) - @producer_project_id = args[:producer_project_id] if args.key?(:producer_project_id) - @visibility = args[:visibility] if args.key?(:visibility) - @quota = args[:quota] if args.key?(:quota) - @name = args[:name] if args.key?(:name) - @custom_error = args[:custom_error] if args.key?(:custom_error) + @description = args[:description] if args.key?(:description) + @expression = args[:expression] if args.key?(:expression) + @location = args[:location] if args.key?(:location) @title = args[:title] if args.key?(:title) - @endpoints = args[:endpoints] if args.key?(:endpoints) - @logs = args[:logs] if args.key?(:logs) - @apis = args[:apis] if args.key?(:apis) end end - # The response message for Operations.ListOperations. - class ListOperationsResponse + # A single field of a message type. + class Field 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` + # The field cardinality. + # Corresponds to the JSON property `cardinality` # @return [String] - attr_accessor :next_page_token + attr_accessor :cardinality + + # The string value of the default value of this field. Proto2 syntax only. + # Corresponds to the JSON property `defaultValue` + # @return [String] + attr_accessor :default_value + + # The field JSON name. + # Corresponds to the JSON property `jsonName` + # @return [String] + attr_accessor :json_name + + # The field type. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The field name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The field number. + # Corresponds to the JSON property `number` + # @return [Fixnum] + attr_accessor :number + + # The index of the field type in `Type.oneofs`, for message or enumeration + # types. The first type has index 1; zero means the type is not in the list. + # Corresponds to the JSON property `oneofIndex` + # @return [Fixnum] + attr_accessor :oneof_index + + # The protocol buffer options. + # Corresponds to the JSON property `options` + # @return [Array] + attr_accessor :options + + # Whether to use alternative packed wire representation. + # Corresponds to the JSON property `packed` + # @return [Boolean] + attr_accessor :packed + alias_method :packed?, :packed + + # The field type URL, without the scheme, for message or enumeration + # types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. + # Corresponds to the JSON property `typeUrl` + # @return [String] + attr_accessor :type_url def initialize(**args) update!(**args) @@ -4331,62 +1621,91 @@ module Google # 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) + @cardinality = args[:cardinality] if args.key?(:cardinality) + @default_value = args[:default_value] if args.key?(:default_value) + @json_name = args[:json_name] if args.key?(:json_name) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @number = args[:number] if args.key?(:number) + @oneof_index = args[:oneof_index] if args.key?(:oneof_index) + @options = args[:options] if args.key?(:options) + @packed = args[:packed] if args.key?(:packed) + @type_url = args[:type_url] if args.key?(:type_url) end end # The metadata associated with a long running operation resource. - class OperationMetadata + class FlowOperationMetadata include Google::Apis::Core::Hashable - # Percentage of completion of this operation, ranging from 0 to 100. - # Corresponds to the JSON property `progressPercentage` - # @return [Fixnum] - attr_accessor :progress_percentage + # The state of the operation with respect to cancellation. + # Corresponds to the JSON property `cancelState` + # @return [String] + attr_accessor :cancel_state + + # Deadline for the flow to complete, to prevent orphaned Operations. + # If the flow has not completed by this time, it may be terminated by + # the engine, or force-failed by Operation lookup. + # Note that this is not a hard deadline after which the Flow will + # definitely be failed, rather it is a deadline after which it is reasonable + # to suspect a problem and other parts of the system may kill operation + # to ensure we don't have orphans. + # see also: go/prevent-orphaned-operations + # Corresponds to the JSON property `deadline` + # @return [String] + attr_accessor :deadline + + # The name of the top-level flow corresponding to this operation. + # Must be equal to the "name" field for a FlowName enum. + # Corresponds to the JSON property `flowName` + # @return [String] + attr_accessor :flow_name + + # The full name of the resources that this flow is directly associated with. + # Corresponds to the JSON property `resourceNames` + # @return [Array] + attr_accessor :resource_names # The start time of the operation. # Corresponds to the JSON property `startTime` # @return [String] attr_accessor :start_time - # Detailed status information for each step. The order is undetermined. - # Corresponds to the JSON property `steps` - # @return [Array] - attr_accessor :steps - - # The full name of the resources that this operation is directly - # associated with. - # Corresponds to the JSON property `resourceNames` - # @return [Array] - attr_accessor :resource_names - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage) - @start_time = args[:start_time] if args.key?(:start_time) - @steps = args[:steps] if args.key?(:steps) + @cancel_state = args[:cancel_state] if args.key?(:cancel_state) + @deadline = args[:deadline] if args.key?(:deadline) + @flow_name = args[:flow_name] if args.key?(:flow_name) @resource_names = args[:resource_names] if args.key?(:resource_names) + @start_time = args[:start_time] if args.key?(:start_time) end end - # A custom pattern is used for defining custom HTTP verb. - class CustomHttpPattern + # Request message for GenerateConfigReport method. + class GenerateConfigReportRequest include Google::Apis::Core::Hashable - # The name of this custom HTTP verb. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind + # Service configuration for which we want to generate the report. + # For this version of API, the supported types are + # google.api.servicemanagement.v1.ConfigRef, + # google.api.servicemanagement.v1.ConfigSource, + # and google.api.Service + # Corresponds to the JSON property `newConfig` + # @return [Hash] + attr_accessor :new_config - # The path matched by this custom verb. - # Corresponds to the JSON property `path` - # @return [String] - attr_accessor :path + # Service configuration against which the comparison will be done. + # For this version of API, the supported types are + # google.api.servicemanagement.v1.ConfigRef, + # google.api.servicemanagement.v1.ConfigSource, + # and google.api.Service + # Corresponds to the JSON property `oldConfig` + # @return [Hash] + attr_accessor :old_config def initialize(**args) update!(**args) @@ -4394,31 +1713,37 @@ module Google # Update properties of this object def update!(**args) - @kind = args[:kind] if args.key?(:kind) - @path = args[:path] if args.key?(:path) + @new_config = args[:new_config] if args.key?(:new_config) + @old_config = args[:old_config] if args.key?(:old_config) end end - # Define a system parameter rule mapping system parameter definitions to - # methods. - class SystemParameterRule + # Response message for GenerateConfigReport method. + class GenerateConfigReportResponse include Google::Apis::Core::Hashable - # Selects the methods to which this rule applies. Use '*' to indicate all - # methods in all APIs. - # Refer to selector for syntax details. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector + # list of ChangeReport, each corresponding to comparison between two + # service configurations. + # Corresponds to the JSON property `changeReports` + # @return [Array] + attr_accessor :change_reports - # Define parameters. Multiple names may be defined for a parameter. - # For a given method call, only one of them should be used. If multiple - # names are used the behavior is implementation-dependent. - # If none of the specified names are present the behavior is - # parameter-dependent. - # Corresponds to the JSON property `parameters` - # @return [Array] - attr_accessor :parameters + # Errors / Linter warnings associated with the service definition this + # report + # belongs to. + # Corresponds to the JSON property `diagnostics` + # @return [Array] + attr_accessor :diagnostics + + # ID of the service configuration this report belongs to. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Name of the service this report belongs to. + # Corresponds to the JSON property `serviceName` + # @return [String] + attr_accessor :service_name def initialize(**args) update!(**args) @@ -4426,45 +1751,56 @@ module Google # Update properties of this object def update!(**args) - @selector = args[:selector] if args.key?(:selector) - @parameters = args[:parameters] if args.key?(:parameters) + @change_reports = args[:change_reports] if args.key?(:change_reports) + @diagnostics = args[:diagnostics] if args.key?(:diagnostics) + @id = args[:id] if args.key?(:id) + @service_name = args[:service_name] if args.key?(:service_name) end end - # A visibility rule provides visibility configuration for an individual API - # element. - class VisibilityRule + # Request message for `GetIamPolicy` method. + class GetIamPolicyRequest include Google::Apis::Core::Hashable - # A comma-separated list of visibility labels that apply to the `selector`. - # Any of the listed labels can be used to grant the visibility. - # If a rule has multiple labels, removing one of the labels but not all of - # them can break clients. - # Example: - # visibility: - # rules: - # - selector: google.calendar.Calendar.EnhancedSearch - # restriction: GOOGLE_INTERNAL, TRUSTED_TESTER - # Removing GOOGLE_INTERNAL from this restriction will break clients that - # rely on this method and only had access to it through GOOGLE_INTERNAL. - # Corresponds to the JSON property `restriction` - # @return [String] - attr_accessor :restriction - - # Selects methods, messages, fields, enums, etc. to which this rule applies. - # Refer to selector for syntax details. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @restriction = args[:restriction] if args.key?(:restriction) - @selector = args[:selector] if args.key?(:selector) + end + end + + # Defines the HTTP configuration for an API service. It contains a list of + # HttpRule, each specifying the mapping of an RPC method + # to one or more HTTP REST API methods. + class Http + include Google::Apis::Core::Hashable + + # When set to true, URL path parmeters will be fully URI-decoded except in + # cases of single segment matches in reserved expansion, where "%2F" will be + # left encoded. + # The default behavior is to not decode RFC 6570 reserved characters in multi + # segment matches. + # Corresponds to the JSON property `fullyDecodeReservedExpansion` + # @return [Boolean] + attr_accessor :fully_decode_reserved_expansion + alias_method :fully_decode_reserved_expansion?, :fully_decode_reserved_expansion + + # A list of HTTP configuration rules that apply to individual API methods. + # **NOTE:** All service configuration rules follow "last one wins" order. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fully_decode_reserved_expansion = args[:fully_decode_reserved_expansion] if args.key?(:fully_decode_reserved_expansion) + @rules = args[:rules] if args.key?(:rules) end end @@ -4651,44 +1987,12 @@ module Google class HttpRule include Google::Apis::Core::Hashable - # Defines the Media configuration for a service in case of an upload. - # Use this only for Scotty Requests. Do not use this for media support using - # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to - # your configuration for Bytestream methods. - # Corresponds to the JSON property `mediaUpload` - # @return [Google::Apis::ServicemanagementV1::MediaUpload] - attr_accessor :media_upload - - # Selects methods to which this rule applies. - # Refer to selector for syntax details. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector - - # A custom pattern is used for defining custom HTTP verb. - # Corresponds to the JSON property `custom` - # @return [Google::Apis::ServicemanagementV1::CustomHttpPattern] - attr_accessor :custom - - # Used for listing and getting information about resources. - # Corresponds to the JSON property `get` - # @return [String] - attr_accessor :get - - # Used for updating a resource. - # Corresponds to the JSON property `patch` - # @return [String] - attr_accessor :patch - - # Used for updating a resource. - # Corresponds to the JSON property `put` - # @return [String] - attr_accessor :put - - # Used for deleting a resource. - # Corresponds to the JSON property `delete` - # @return [String] - attr_accessor :delete + # Additional HTTP bindings for the selector. Nested bindings must + # not contain an `additional_bindings` field themselves (that is, + # the nesting may only be one level deep). + # Corresponds to the JSON property `additionalBindings` + # @return [Array] + attr_accessor :additional_bindings # The name of the request field whose value is mapped to the HTTP body, or # `*` for mapping all fields not captured by the path pattern to the HTTP @@ -4698,6 +2002,21 @@ module Google # @return [String] attr_accessor :body + # A custom pattern is used for defining custom HTTP verb. + # Corresponds to the JSON property `custom` + # @return [Google::Apis::ServicemanagementV1::CustomHttpPattern] + attr_accessor :custom + + # Used for deleting a resource. + # Corresponds to the JSON property `delete` + # @return [String] + attr_accessor :delete + + # Used for listing and getting information about resources. + # Corresponds to the JSON property `get` + # @return [String] + attr_accessor :get + # Defines the Media configuration for a service in case of a download. # Use this only for Scotty Requests. Do not use this for media support using # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to @@ -4706,34 +2025,28 @@ module Google # @return [Google::Apis::ServicemanagementV1::MediaDownload] attr_accessor :media_download + # Defines the Media configuration for a service in case of an upload. + # Use this only for Scotty Requests. Do not use this for media support using + # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to + # your configuration for Bytestream methods. + # Corresponds to the JSON property `mediaUpload` + # @return [Google::Apis::ServicemanagementV1::MediaUpload] + attr_accessor :media_upload + + # Used for updating a resource. + # Corresponds to the JSON property `patch` + # @return [String] + attr_accessor :patch + # Used for creating a resource. # Corresponds to the JSON property `post` # @return [String] attr_accessor :post - # Optional. The rest method name is by default derived from the URL - # pattern. If specified, this field overrides the default method name. - # Example: - # rpc CreateResource(CreateResourceRequest) - # returns (CreateResourceResponse) ` - # option (google.api.http) = ` - # post: "/v1/resources", - # body: "resource", - # rest_method_name: "insert" - # `; - # ` - # This method has the automatically derived rest method name "create", but - # for backwards compatability with apiary, it is specified as insert. - # Corresponds to the JSON property `restMethodName` + # Used for updating a resource. + # Corresponds to the JSON property `put` # @return [String] - attr_accessor :rest_method_name - - # Additional HTTP bindings for the selector. Nested bindings must - # not contain an `additional_bindings` field themselves (that is, - # the nesting may only be one level deep). - # Corresponds to the JSON property `additionalBindings` - # @return [Array] - attr_accessor :additional_bindings + attr_accessor :put # The name of the response field whose value is mapped to the HTTP body of # response. Other response fields are ignored. This field is optional. When @@ -4744,23 +2057,11 @@ module Google # @return [String] attr_accessor :response_body - # Optional. The REST collection name is by default derived from the URL - # pattern. If specified, this field overrides the default collection name. - # Example: - # rpc AddressesAggregatedList(AddressesAggregatedListRequest) - # returns (AddressesAggregatedListResponse) ` - # option (google.api.http) = ` - # get: "/v1/projects/`project_id`/aggregated/addresses" - # rest_collection: "projects.addresses" - # `; - # ` - # This method has the automatically derived collection name - # "projects.aggregated". Because, semantically, this rpc is actually an - # operation on the "projects.addresses" collection, the `rest_collection` - # field is configured to override the derived collection name. - # Corresponds to the JSON property `restCollection` + # Selects methods to which this rule applies. + # Refer to selector for syntax details. + # Corresponds to the JSON property `selector` # @return [String] - attr_accessor :rest_collection + attr_accessor :selector def initialize(**args) update!(**args) @@ -4768,20 +2069,927 @@ module Google # Update properties of this object def update!(**args) - @media_upload = args[:media_upload] if args.key?(:media_upload) - @selector = args[:selector] if args.key?(:selector) - @custom = args[:custom] if args.key?(:custom) - @get = args[:get] if args.key?(:get) - @patch = args[:patch] if args.key?(:patch) - @put = args[:put] if args.key?(:put) - @delete = args[:delete] if args.key?(:delete) - @body = args[:body] if args.key?(:body) - @media_download = args[:media_download] if args.key?(:media_download) - @post = args[:post] if args.key?(:post) - @rest_method_name = args[:rest_method_name] if args.key?(:rest_method_name) @additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings) + @body = args[:body] if args.key?(:body) + @custom = args[:custom] if args.key?(:custom) + @delete = args[:delete] if args.key?(:delete) + @get = args[:get] if args.key?(:get) + @media_download = args[:media_download] if args.key?(:media_download) + @media_upload = args[:media_upload] if args.key?(:media_upload) + @patch = args[:patch] if args.key?(:patch) + @post = args[:post] if args.key?(:post) + @put = args[:put] if args.key?(:put) @response_body = args[:response_body] if args.key?(:response_body) - @rest_collection = args[:rest_collection] if args.key?(:rest_collection) + @selector = args[:selector] if args.key?(:selector) + end + end + + # A description of a label. + class LabelDescriptor + include Google::Apis::Core::Hashable + + # A human-readable description for the label. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The label key. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # The type of data that can be assigned to the label. + # Corresponds to the JSON property `valueType` + # @return [String] + attr_accessor :value_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @key = args[:key] if args.key?(:key) + @value_type = args[:value_type] if args.key?(:value_type) + end + end + + # The response message for Operations.ListOperations. + class ListOperationsResponse + include Google::Apis::Core::Hashable + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + 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) + @operations = args[:operations] if args.key?(:operations) + end + end + + # Response message for ListServiceConfigs method. + class ListServiceConfigsResponse + include Google::Apis::Core::Hashable + + # The token of the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of service configuration resources. + # Corresponds to the JSON property `serviceConfigs` + # @return [Array] + attr_accessor :service_configs + + 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) + @service_configs = args[:service_configs] if args.key?(:service_configs) + end + end + + # Response message for ListServiceRollouts method. + class ListServiceRolloutsResponse + include Google::Apis::Core::Hashable + + # The token of the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of rollout resources. + # Corresponds to the JSON property `rollouts` + # @return [Array] + attr_accessor :rollouts + + 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) + @rollouts = args[:rollouts] if args.key?(:rollouts) + end + end + + # Response message for `ListServices` method. + class ListServicesResponse + include Google::Apis::Core::Hashable + + # Token that can be passed to `ListServices` to resume a paginated query. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The returned services will only have the name field set. + # Corresponds to the JSON property `services` + # @return [Array] + attr_accessor :services + + 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) + @services = args[:services] if args.key?(:services) + end + end + + # Specifies what kind of log the caller must write + class LogConfig + include Google::Apis::Core::Hashable + + # Write a Cloud Audit log + # Corresponds to the JSON property `cloudAudit` + # @return [Google::Apis::ServicemanagementV1::CloudAuditOptions] + attr_accessor :cloud_audit + + # 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 the only supported field names are + # - "iam_principal", corresponding to IAMContext.principal; + # - "" (empty string), resulting in one aggretated counter with no field. + # 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 + # Corresponds to the JSON property `counter` + # @return [Google::Apis::ServicemanagementV1::CounterOptions] + attr_accessor :counter + + # Write a Data Access (Gin) log + # Corresponds to the JSON property `dataAccess` + # @return [Google::Apis::ServicemanagementV1::DataAccessOptions] + attr_accessor :data_access + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit) + @counter = args[:counter] if args.key?(:counter) + @data_access = args[:data_access] if args.key?(:data_access) + end + end + + # A description of a log type. Example in YAML format: + # - name: library.googleapis.com/activity_history + # description: The history of borrowing and returning library items. + # display_name: Activity + # labels: + # - key: /customer_id + # description: Identifier of a library customer + class LogDescriptor + include Google::Apis::Core::Hashable + + # A human-readable description of this log. This information appears in + # the documentation and can contain details. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The human-readable name for this log. This information appears on + # the user interface and should be concise. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The set of labels that are available to describe a specific log entry. + # Runtime requests that contain labels not specified here are + # considered invalid. + # Corresponds to the JSON property `labels` + # @return [Array] + attr_accessor :labels + + # The name of the log. It must be less than 512 characters long and can + # include the following characters: upper- and lower-case alphanumeric + # characters [A-Za-z0-9], and punctuation characters including + # slash, underscore, hyphen, period [/_-.]. + # 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) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @labels = args[:labels] if args.key?(:labels) + @name = args[:name] if args.key?(:name) + end + end + + # Logging configuration of the service. + # The following example shows how to configure logs to be sent to the + # producer and consumer projects. In the example, the `activity_history` + # log is sent to both the producer and consumer projects, whereas the + # `purchase_history` log is only sent to the producer project. + # monitored_resources: + # - type: library.googleapis.com/branch + # labels: + # - key: /city + # description: The city where the library branch is located in. + # - key: /name + # description: The name of the branch. + # logs: + # - name: activity_history + # labels: + # - key: /customer_id + # - name: purchase_history + # logging: + # producer_destinations: + # - monitored_resource: library.googleapis.com/branch + # logs: + # - activity_history + # - purchase_history + # consumer_destinations: + # - monitored_resource: library.googleapis.com/branch + # logs: + # - activity_history + class Logging + include Google::Apis::Core::Hashable + + # Logging configurations for sending logs to the consumer project. + # There can be multiple consumer destinations, each one must have a + # different monitored resource type. A log can be used in at most + # one consumer destination. + # Corresponds to the JSON property `consumerDestinations` + # @return [Array] + attr_accessor :consumer_destinations + + # Logging configurations for sending logs to the producer project. + # There can be multiple producer destinations, each one must have a + # different monitored resource type. A log can be used in at most + # one producer destination. + # Corresponds to the JSON property `producerDestinations` + # @return [Array] + attr_accessor :producer_destinations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @consumer_destinations = args[:consumer_destinations] if args.key?(:consumer_destinations) + @producer_destinations = args[:producer_destinations] if args.key?(:producer_destinations) + end + end + + # Configuration of a specific logging destination (the producer project + # or the consumer project). + class LoggingDestination + include Google::Apis::Core::Hashable + + # Names of the logs to be sent to this destination. Each name must + # be defined in the Service.logs section. If the log name is + # not a domain scoped name, it will be automatically prefixed with + # the service name followed by "/". + # Corresponds to the JSON property `logs` + # @return [Array] + attr_accessor :logs + + # The monitored resource type. The type must be defined in the + # Service.monitored_resources section. + # Corresponds to the JSON property `monitoredResource` + # @return [String] + attr_accessor :monitored_resource + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @logs = args[:logs] if args.key?(:logs) + @monitored_resource = args[:monitored_resource] if args.key?(:monitored_resource) + end + end + + # The full representation of a Service that is managed by + # Google Service Management. + class ManagedService + include Google::Apis::Core::Hashable + + # ID of the project that produces and owns this service. + # Corresponds to the JSON property `producerProjectId` + # @return [String] + attr_accessor :producer_project_id + + # The name of the service. See the [overview](/service-management/overview) + # for naming requirements. + # Corresponds to the JSON property `serviceName` + # @return [String] + attr_accessor :service_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @producer_project_id = args[:producer_project_id] if args.key?(:producer_project_id) + @service_name = args[:service_name] if args.key?(:service_name) + end + end + + # Defines the Media configuration for a service in case of a download. + # Use this only for Scotty Requests. Do not use this for media support using + # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to + # your configuration for Bytestream methods. + class MediaDownload + include Google::Apis::Core::Hashable + + # A boolean that determines whether a notification for the completion of a + # download should be sent to the backend. + # Corresponds to the JSON property `completeNotification` + # @return [Boolean] + attr_accessor :complete_notification + alias_method :complete_notification?, :complete_notification + + # DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED. + # Specify name of the download service if one is used for download. + # Corresponds to the JSON property `downloadService` + # @return [String] + attr_accessor :download_service + + # Name of the Scotty dropzone to use for the current API. + # Corresponds to the JSON property `dropzone` + # @return [String] + attr_accessor :dropzone + + # Whether download is enabled. + # Corresponds to the JSON property `enabled` + # @return [Boolean] + attr_accessor :enabled + alias_method :enabled?, :enabled + + # Optional maximum acceptable size for direct download. + # The size is specified in bytes. + # Corresponds to the JSON property `maxDirectDownloadSize` + # @return [Fixnum] + attr_accessor :max_direct_download_size + + # A boolean that determines if direct download from ESF should be used for + # download of this media. + # Corresponds to the JSON property `useDirectDownload` + # @return [Boolean] + attr_accessor :use_direct_download + alias_method :use_direct_download?, :use_direct_download + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @complete_notification = args[:complete_notification] if args.key?(:complete_notification) + @download_service = args[:download_service] if args.key?(:download_service) + @dropzone = args[:dropzone] if args.key?(:dropzone) + @enabled = args[:enabled] if args.key?(:enabled) + @max_direct_download_size = args[:max_direct_download_size] if args.key?(:max_direct_download_size) + @use_direct_download = args[:use_direct_download] if args.key?(:use_direct_download) + end + end + + # Defines the Media configuration for a service in case of an upload. + # Use this only for Scotty Requests. Do not use this for media support using + # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to + # your configuration for Bytestream methods. + class MediaUpload + include Google::Apis::Core::Hashable + + # A boolean that determines whether a notification for the completion of an + # upload should be sent to the backend. These notifications will not be seen + # by the client and will not consume quota. + # Corresponds to the JSON property `completeNotification` + # @return [Boolean] + attr_accessor :complete_notification + alias_method :complete_notification?, :complete_notification + + # Name of the Scotty dropzone to use for the current API. + # Corresponds to the JSON property `dropzone` + # @return [String] + attr_accessor :dropzone + + # Whether upload is enabled. + # Corresponds to the JSON property `enabled` + # @return [Boolean] + attr_accessor :enabled + alias_method :enabled?, :enabled + + # Optional maximum acceptable size for an upload. + # The size is specified in bytes. + # Corresponds to the JSON property `maxSize` + # @return [Fixnum] + attr_accessor :max_size + + # An array of mimetype patterns. Esf will only accept uploads that match one + # of the given patterns. + # Corresponds to the JSON property `mimeTypes` + # @return [Array] + attr_accessor :mime_types + + # Whether to receive a notification for progress changes of media upload. + # Corresponds to the JSON property `progressNotification` + # @return [Boolean] + attr_accessor :progress_notification + alias_method :progress_notification?, :progress_notification + + # Whether to receive a notification on the start of media upload. + # Corresponds to the JSON property `startNotification` + # @return [Boolean] + attr_accessor :start_notification + alias_method :start_notification?, :start_notification + + # DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED. + # Specify name of the upload service if one is used for upload. + # Corresponds to the JSON property `uploadService` + # @return [String] + attr_accessor :upload_service + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @complete_notification = args[:complete_notification] if args.key?(:complete_notification) + @dropzone = args[:dropzone] if args.key?(:dropzone) + @enabled = args[:enabled] if args.key?(:enabled) + @max_size = args[:max_size] if args.key?(:max_size) + @mime_types = args[:mime_types] if args.key?(:mime_types) + @progress_notification = args[:progress_notification] if args.key?(:progress_notification) + @start_notification = args[:start_notification] if args.key?(:start_notification) + @upload_service = args[:upload_service] if args.key?(:upload_service) + end + end + + # Method represents a method of an API interface. + class MethodProp + include Google::Apis::Core::Hashable + + # The simple name of this method. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Any metadata attached to the method. + # Corresponds to the JSON property `options` + # @return [Array] + attr_accessor :options + + # If true, the request is streamed. + # Corresponds to the JSON property `requestStreaming` + # @return [Boolean] + attr_accessor :request_streaming + alias_method :request_streaming?, :request_streaming + + # A URL of the input message type. + # Corresponds to the JSON property `requestTypeUrl` + # @return [String] + attr_accessor :request_type_url + + # If true, the response is streamed. + # Corresponds to the JSON property `responseStreaming` + # @return [Boolean] + attr_accessor :response_streaming + alias_method :response_streaming?, :response_streaming + + # The URL of the output message type. + # Corresponds to the JSON property `responseTypeUrl` + # @return [String] + attr_accessor :response_type_url + + # The source syntax of this method. + # Corresponds to the JSON property `syntax` + # @return [String] + attr_accessor :syntax + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @options = args[:options] if args.key?(:options) + @request_streaming = args[:request_streaming] if args.key?(:request_streaming) + @request_type_url = args[:request_type_url] if args.key?(:request_type_url) + @response_streaming = args[:response_streaming] if args.key?(:response_streaming) + @response_type_url = args[:response_type_url] if args.key?(:response_type_url) + @syntax = args[:syntax] if args.key?(:syntax) + end + end + + # Defines a metric type and its schema. Once a metric descriptor is created, + # deleting or altering it stops data collection and makes the metric type's + # existing data unusable. + class MetricDescriptor + include Google::Apis::Core::Hashable + + # A detailed description of the metric, which can be used in documentation. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # A concise name for the metric, which can be displayed in user interfaces. + # Use sentence case without an ending period, for example "Request count". + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The set of labels that can be used to describe a specific + # instance of this metric type. For example, the + # `appengine.googleapis.com/http/server/response_latencies` metric + # type has a label for the HTTP response code, `response_code`, so + # you can look at latencies for successful responses or just + # for responses that failed. + # Corresponds to the JSON property `labels` + # @return [Array] + attr_accessor :labels + + # Whether the metric records instantaneous values, changes to a value, etc. + # Some combinations of `metric_kind` and `value_type` might not be supported. + # Corresponds to the JSON property `metricKind` + # @return [String] + attr_accessor :metric_kind + + # The resource name of the metric descriptor. Depending on the + # implementation, the name typically includes: (1) the parent resource name + # that defines the scope of the metric type or of its data; and (2) the + # metric's URL-encoded type, which also appears in the `type` field of this + # descriptor. For example, following is the resource name of a custom + # metric within the GCP project `my-project-id`: + # "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice% + # 2Fpaid%2Famount" + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The metric type, including its DNS name prefix. The type is not + # URL-encoded. All user-defined custom metric types have the DNS name + # `custom.googleapis.com`. Metric types should use a natural hierarchical + # grouping. For example: + # "custom.googleapis.com/invoice/paid/amount" + # "appengine.googleapis.com/http/server/response_latencies" + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The unit in which the metric value is reported. It is only applicable + # if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The + # supported units are a subset of [The Unified Code for Units of + # Measure](http://unitsofmeasure.org/ucum.html) standard: + # **Basic units (UNIT)** + # * `bit` bit + # * `By` byte + # * `s` second + # * `min` minute + # * `h` hour + # * `d` day + # **Prefixes (PREFIX)** + # * `k` kilo (10**3) + # * `M` mega (10**6) + # * `G` giga (10**9) + # * `T` tera (10**12) + # * `P` peta (10**15) + # * `E` exa (10**18) + # * `Z` zetta (10**21) + # * `Y` yotta (10**24) + # * `m` milli (10**-3) + # * `u` micro (10**-6) + # * `n` nano (10**-9) + # * `p` pico (10**-12) + # * `f` femto (10**-15) + # * `a` atto (10**-18) + # * `z` zepto (10**-21) + # * `y` yocto (10**-24) + # * `Ki` kibi (2**10) + # * `Mi` mebi (2**20) + # * `Gi` gibi (2**30) + # * `Ti` tebi (2**40) + # **Grammar** + # The grammar includes the dimensionless unit `1`, such as `1/s`. + # The grammar also includes these connectors: + # * `/` division (as an infix operator, e.g. `1/s`). + # * `.` multiplication (as an infix operator, e.g. `GBy.d`) + # The grammar for a unit is as follows: + # Expression = Component ` "." Component ` ` "/" Component ` ; + # Component = [ PREFIX ] UNIT [ Annotation ] + # | Annotation + # | "1" + # ; + # Annotation = "`" NAME "`" ; + # Notes: + # * `Annotation` is just a comment if it follows a `UNIT` and is + # equivalent to `1` if it is used alone. For examples, + # ``requests`/s == 1/s`, `By`transmitted`/s == By/s`. + # * `NAME` is a sequence of non-blank printable ASCII characters not + # containing '`' or '`'. + # Corresponds to the JSON property `unit` + # @return [String] + attr_accessor :unit + + # Whether the measurement is an integer, a floating-point number, etc. + # Some combinations of `metric_kind` and `value_type` might not be supported. + # Corresponds to the JSON property `valueType` + # @return [String] + attr_accessor :value_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @labels = args[:labels] if args.key?(:labels) + @metric_kind = args[:metric_kind] if args.key?(:metric_kind) + @name = args[:name] if args.key?(:name) + @type = args[:type] if args.key?(:type) + @unit = args[:unit] if args.key?(:unit) + @value_type = args[:value_type] if args.key?(:value_type) + end + end + + # Bind API methods to metrics. Binding a method to a metric causes that + # metric's configured quota behaviors to apply to the method call. + class MetricRule + include Google::Apis::Core::Hashable + + # Metrics to update when the selected methods are called, and the associated + # cost applied to each metric. + # The key of the map is the metric name, and the values are the amount + # increased for the metric against which the quota limits are defined. + # The value must not be negative. + # Corresponds to the JSON property `metricCosts` + # @return [Hash] + attr_accessor :metric_costs + + # Selects the methods to which this rule applies. + # Refer to selector for syntax details. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metric_costs = args[:metric_costs] if args.key?(:metric_costs) + @selector = args[:selector] if args.key?(:selector) + end + end + + # Declares an API Interface to be included in this interface. The including + # interface must redeclare all the methods from the included interface, but + # documentation and options are inherited as follows: + # - If after comment and whitespace stripping, the documentation + # string of the redeclared method is empty, it will be inherited + # from the original method. + # - Each annotation belonging to the service config (http, + # visibility) which is not set in the redeclared method will be + # inherited. + # - If an http annotation is inherited, the path pattern will be + # modified as follows. Any version prefix will be replaced by the + # version of the including interface plus the root path if + # specified. + # Example of a simple mixin: + # package google.acl.v1; + # service AccessControl ` + # // Get the underlying ACL object. + # rpc GetAcl(GetAclRequest) returns (Acl) ` + # option (google.api.http).get = "/v1/`resource=**`:getAcl"; + # ` + # ` + # package google.storage.v2; + # service Storage ` + # // rpc GetAcl(GetAclRequest) returns (Acl); + # // Get a data record. + # rpc GetData(GetDataRequest) returns (Data) ` + # option (google.api.http).get = "/v2/`resource=**`"; + # ` + # ` + # Example of a mixin configuration: + # apis: + # - name: google.storage.v2.Storage + # mixins: + # - name: google.acl.v1.AccessControl + # The mixin construct implies that all methods in `AccessControl` are + # also declared with same name and request/response types in + # `Storage`. A documentation generator or annotation processor will + # see the effective `Storage.GetAcl` method after inherting + # documentation and annotations as follows: + # service Storage ` + # // Get the underlying ACL object. + # rpc GetAcl(GetAclRequest) returns (Acl) ` + # option (google.api.http).get = "/v2/`resource=**`:getAcl"; + # ` + # ... + # ` + # Note how the version in the path pattern changed from `v1` to `v2`. + # If the `root` field in the mixin is specified, it should be a + # relative path under which inherited HTTP paths are placed. Example: + # apis: + # - name: google.storage.v2.Storage + # mixins: + # - name: google.acl.v1.AccessControl + # root: acls + # This implies the following inherited HTTP annotation: + # service Storage ` + # // Get the underlying ACL object. + # rpc GetAcl(GetAclRequest) returns (Acl) ` + # option (google.api.http).get = "/v2/acls/`resource=**`:getAcl"; + # ` + # ... + # ` + class Mixin + include Google::Apis::Core::Hashable + + # The fully qualified name of the interface which is included. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # If non-empty specifies a path under which inherited HTTP paths + # are rooted. + # Corresponds to the JSON property `root` + # @return [String] + attr_accessor :root + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @root = args[:root] if args.key?(:root) + end + end + + # An object that describes the schema of a MonitoredResource object using a + # type name and a set of labels. For example, the monitored resource + # descriptor for Google Compute Engine VM instances has a type of + # `"gce_instance"` and specifies the use of the labels `"instance_id"` and + # `"zone"` to identify particular VM instances. + # Different APIs can support different monitored resource types. APIs generally + # provide a `list` method that returns the monitored resource descriptors used + # by the API. + class MonitoredResourceDescriptor + include Google::Apis::Core::Hashable + + # Optional. A detailed description of the monitored resource type that might + # be used in documentation. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Optional. A concise name for the monitored resource type that might be + # displayed in user interfaces. It should be a Title Cased Noun Phrase, + # without any article or other determiners. For example, + # `"Google Cloud SQL Database"`. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Required. A set of labels used to describe instances of this monitored + # resource type. For example, an individual Google Cloud SQL database is + # identified by values for the labels `"database_id"` and `"zone"`. + # Corresponds to the JSON property `labels` + # @return [Array] + attr_accessor :labels + + # Optional. The resource name of the monitored resource descriptor: + # `"projects/`project_id`/monitoredResourceDescriptors/`type`"` where + # `type` is the value of the `type` field in this object and + # `project_id` is a project ID that provides API-specific context for + # accessing the type. APIs that do not use project information can use the + # resource name format `"monitoredResourceDescriptors/`type`"`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Required. The monitored resource type. For example, the type + # `"cloudsql_database"` represents databases in Google Cloud SQL. + # The maximum length of this value is 256 characters. + # 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) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @labels = args[:labels] if args.key?(:labels) + @name = args[:name] if args.key?(:name) + @type = args[:type] if args.key?(:type) + end + end + + # Monitoring configuration of the service. + # The example below shows how to configure monitored resources and metrics + # for monitoring. In the example, a monitored resource and two metrics are + # defined. The `library.googleapis.com/book/returned_count` metric is sent + # to both producer and consumer projects, whereas the + # `library.googleapis.com/book/overdue_count` metric is only sent to the + # consumer project. + # monitored_resources: + # - type: library.googleapis.com/branch + # labels: + # - key: /city + # description: The city where the library branch is located in. + # - key: /name + # description: The name of the branch. + # metrics: + # - name: library.googleapis.com/book/returned_count + # metric_kind: DELTA + # value_type: INT64 + # labels: + # - key: /customer_id + # - name: library.googleapis.com/book/overdue_count + # metric_kind: GAUGE + # value_type: INT64 + # labels: + # - key: /customer_id + # monitoring: + # producer_destinations: + # - monitored_resource: library.googleapis.com/branch + # metrics: + # - library.googleapis.com/book/returned_count + # consumer_destinations: + # - monitored_resource: library.googleapis.com/branch + # metrics: + # - library.googleapis.com/book/returned_count + # - library.googleapis.com/book/overdue_count + class Monitoring + include Google::Apis::Core::Hashable + + # Monitoring configurations for sending metrics to the consumer project. + # There can be multiple consumer destinations, each one must have a + # different monitored resource type. A metric can be used in at most + # one consumer destination. + # Corresponds to the JSON property `consumerDestinations` + # @return [Array] + attr_accessor :consumer_destinations + + # Monitoring configurations for sending metrics to the producer project. + # There can be multiple producer destinations, each one must have a + # different monitored resource type. A metric can be used in at most + # one producer destination. + # Corresponds to the JSON property `producerDestinations` + # @return [Array] + attr_accessor :producer_destinations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @consumer_destinations = args[:consumer_destinations] if args.key?(:consumer_destinations) + @producer_destinations = args[:producer_destinations] if args.key?(:producer_destinations) end end @@ -4813,6 +3021,1753 @@ module Google end end + # OAuth scopes are a way to define data and permissions on data. For example, + # there are scopes defined for "Read-only access to Google Calendar" and + # "Access to Cloud Platform". Users can consent to a scope for an application, + # giving it permission to access that data on their behalf. + # OAuth scope specifications should be fairly coarse grained; a user will need + # to see and understand the text description of what your scope means. + # In most cases: use one or at most two OAuth scopes for an entire family of + # products. If your product has multiple APIs, you should probably be sharing + # the OAuth scope across all of those APIs. + # When you need finer grained OAuth consent screens: talk with your product + # management about how developers will use them in practice. + # Please note that even though each of the canonical scopes is enough for a + # request to be accepted and passed to the backend, a request can still fail + # due to the backend requiring additional scopes or permissions. + class OAuthRequirements + include Google::Apis::Core::Hashable + + # The list of publicly documented OAuth scopes that are allowed access. An + # OAuth token containing any of these scopes will be accepted. + # Example: + # canonical_scopes: https://www.googleapis.com/auth/calendar, + # https://www.googleapis.com/auth/calendar.read + # Corresponds to the JSON property `canonicalScopes` + # @return [String] + attr_accessor :canonical_scopes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @canonical_scopes = args[:canonical_scopes] if args.key?(:canonical_scopes) + 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 + + # 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` that 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. + # - 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::ServicemanagementV1::Status] + attr_accessor :error + + # 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 + + # 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 + + # 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) + @done = args[:done] if args.key?(:done) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + @response = args[:response] if args.key?(:response) + end + end + + # The metadata associated with a long running operation resource. + class OperationMetadata + include Google::Apis::Core::Hashable + + # Percentage of completion of this operation, ranging from 0 to 100. + # Corresponds to the JSON property `progressPercentage` + # @return [Fixnum] + attr_accessor :progress_percentage + + # The full name of the resources that this operation is directly + # associated with. + # Corresponds to the JSON property `resourceNames` + # @return [Array] + attr_accessor :resource_names + + # The start time of the operation. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Detailed status information for each step. The order is undetermined. + # Corresponds to the JSON property `steps` + # @return [Array] + attr_accessor :steps + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage) + @resource_names = args[:resource_names] if args.key?(:resource_names) + @start_time = args[:start_time] if args.key?(:start_time) + @steps = args[:steps] if args.key?(:steps) + end + end + + # A protocol buffer option, which can be attached to a message, field, + # enumeration, etc. + class Option + include Google::Apis::Core::Hashable + + # The option's name. For protobuf built-in options (options defined in + # descriptor.proto), this is the short name. For example, `"map_entry"`. + # For custom options, it should be the fully-qualified name. For example, + # `"google.api.http"`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The option's value packed in an Any message. If the value is a primitive, + # the corresponding wrapper type defined in google/protobuf/wrappers.proto + # should be used. If the value is an enum, it should be stored as an int32 + # value using the google.protobuf.Int32Value type. + # Corresponds to the JSON property `value` + # @return [Hash] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @value = args[:value] if args.key?(:value) + end + end + + # Represents a documentation page. A page can contain subpages to represent + # nested documentation set structure. + class Page + include Google::Apis::Core::Hashable + + # The Markdown content of the page. You can use (== include `path` ==&# + # 41; + # to include content from a Markdown file. + # Corresponds to the JSON property `content` + # @return [String] + attr_accessor :content + + # The name of the page. It will be used as an identity of the page to + # generate URI of the page, text of the link to this page in navigation, + # etc. The full page name (start from the root page name to this page + # concatenated with `.`) can be used as reference to the page in your + # documentation. For example: + #
    pages:
    +        # - name: Tutorial
    +        # content: (== include tutorial.md ==)
    +        # subpages:
    +        # - name: Java
    +        # content: (== include tutorial_java.md ==)
    +        # 
    + # You can reference `Java` page using Markdown reference link syntax: + # `Java`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Subpages of this page. The order of subpages specified here will be + # honored in the generated docset. + # Corresponds to the JSON property `subpages` + # @return [Array] + attr_accessor :subpages + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content = args[:content] if args.key?(:content) + @name = args[:name] if args.key?(:name) + @subpages = args[:subpages] if args.key?(:subpages) + end + end + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service 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:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + class Policy + include Google::Apis::Core::Hashable + + # Specifies cloud audit logging configuration for this policy. + # Corresponds to the JSON property `auditConfigs` + # @return [Array] + attr_accessor :audit_configs + + # Associates a list of `members` to a `role`. + # `bindings` with no members will result in an error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + + # `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 to perform policy updates in order to avoid race + # conditions: An `etag` is returned in the response to `getIamPolicy`, and + # systems are expected to put that etag in the request to `setIamPolicy` to + # ensure that their change will be applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :etag + + # + # Corresponds to the JSON property `iamOwned` + # @return [Boolean] + attr_accessor :iam_owned + alias_method :iam_owned?, :iam_owned + + # If more than one rule is specified, the rules are applied in the following + # manner: + # - All matching LOG rules are always applied. + # - If any DENY/DENY_WITH_LOG rule matches, permission is denied. + # Logging will be applied if one or more matching rule requires logging. + # - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is + # granted. + # Logging will be applied if one or more matching rule requires logging. + # - Otherwise, if no rule applies, permission is denied. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + # Version of the `Policy`. The default version is 0. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audit_configs = args[:audit_configs] if args.key?(:audit_configs) + @bindings = args[:bindings] if args.key?(:bindings) + @etag = args[:etag] if args.key?(:etag) + @iam_owned = args[:iam_owned] if args.key?(:iam_owned) + @rules = args[:rules] if args.key?(:rules) + @version = args[:version] if args.key?(:version) + end + end + + # Quota configuration helps to achieve fairness and budgeting in service + # usage. + # The quota configuration works this way: + # - The service configuration defines a set of metrics. + # - For API calls, the quota.metric_rules maps methods to metrics with + # corresponding costs. + # - The quota.limits defines limits on the metrics, which will be used for + # quota checks at runtime. + # An example quota configuration in yaml format: + # quota: + # - name: apiWriteQpsPerProject + # metric: library.googleapis.com/write_calls + # unit: "1/min/`project`" # rate limit for consumer projects + # values: + # STANDARD: 10000 + # # The metric rules bind all methods to the read_calls metric, + # # except for the UpdateBook and DeleteBook methods. These two methods + # # are mapped to the write_calls metric, with the UpdateBook method + # # consuming at twice rate as the DeleteBook method. + # metric_rules: + # - selector: "*" + # metric_costs: + # library.googleapis.com/read_calls: 1 + # - selector: google.example.library.v1.LibraryService.UpdateBook + # metric_costs: + # library.googleapis.com/write_calls: 2 + # - selector: google.example.library.v1.LibraryService.DeleteBook + # metric_costs: + # library.googleapis.com/write_calls: 1 + # Corresponding Metric definition: + # metrics: + # - name: library.googleapis.com/read_calls + # display_name: Read requests + # metric_kind: DELTA + # value_type: INT64 + # - name: library.googleapis.com/write_calls + # display_name: Write requests + # metric_kind: DELTA + # value_type: INT64 + class Quota + include Google::Apis::Core::Hashable + + # List of `QuotaLimit` definitions for the service. + # Corresponds to the JSON property `limits` + # @return [Array] + attr_accessor :limits + + # List of `MetricRule` definitions, each one mapping a selected method to one + # or more metrics. + # Corresponds to the JSON property `metricRules` + # @return [Array] + attr_accessor :metric_rules + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @limits = args[:limits] if args.key?(:limits) + @metric_rules = args[:metric_rules] if args.key?(:metric_rules) + end + end + + # `QuotaLimit` defines a specific limit that applies over a specified duration + # for a limit type. There can be at most one limit for a duration and limit + # type combination defined within a `QuotaGroup`. + class QuotaLimit + include Google::Apis::Core::Hashable + + # Default number of tokens that can be consumed during the specified + # duration. This is the number of tokens assigned when a client + # application developer activates the service for his/her project. + # Specifying a value of 0 will block all requests. This can be used if you + # are provisioning quota to selected consumers and blocking others. + # Similarly, a value of -1 will indicate an unlimited quota. No other + # negative values are allowed. + # Used by group-based quotas only. + # Corresponds to the JSON property `defaultLimit` + # @return [Fixnum] + attr_accessor :default_limit + + # Optional. User-visible, extended description for this quota limit. + # Should be used only when more context is needed to understand this limit + # than provided by the limit's display name (see: `display_name`). + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # User-visible display name for this limit. + # Optional. If not set, the UI will provide a default display name based on + # the quota configuration. This field can be used to override the default + # display name generated from the configuration. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Duration of this limit in textual notation. Example: "100s", "24h", "1d". + # For duration longer than a day, only multiple of days is supported. We + # support only "100s" and "1d" for now. Additional support will be added in + # the future. "0" indicates indefinite duration. + # Used by group-based quotas only. + # Corresponds to the JSON property `duration` + # @return [String] + attr_accessor :duration + + # Free tier value displayed in the Developers Console for this limit. + # The free tier is the number of tokens that will be subtracted from the + # billed amount when billing is enabled. + # This field can only be set on a limit with duration "1d", in a billable + # group; it is invalid on any other limit. If this field is not set, it + # defaults to 0, indicating that there is no free tier for this service. + # Used by group-based quotas only. + # Corresponds to the JSON property `freeTier` + # @return [Fixnum] + attr_accessor :free_tier + + # Maximum number of tokens that can be consumed during the specified + # duration. Client application developers can override the default limit up + # to this maximum. If specified, this value cannot be set to a value less + # than the default limit. If not specified, it is set to the default limit. + # To allow clients to apply overrides with no upper bound, set this to -1, + # indicating unlimited maximum quota. + # Used by group-based quotas only. + # Corresponds to the JSON property `maxLimit` + # @return [Fixnum] + attr_accessor :max_limit + + # The name of the metric this quota limit applies to. The quota limits with + # the same metric will be checked together during runtime. The metric must be + # defined within the service config. + # Used by metric-based quotas only. + # Corresponds to the JSON property `metric` + # @return [String] + attr_accessor :metric + + # Name of the quota limit. The name is used to refer to the limit when + # overriding the default limit on per-consumer basis. + # For metric-based quota limits, the name must be provided, and it must be + # unique within the service. The name can only include alphanumeric + # characters as well as '-'. + # The maximum length of the limit name is 64 characters. + # The name of a limit is used as a unique identifier for this limit. + # Therefore, once a limit has been put into use, its name should be + # immutable. You can use the display_name field to provide a user-friendly + # name for the limit. The display name can be evolved over time without + # affecting the identity of the limit. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Specify the unit of the quota limit. It uses the same syntax as + # Metric.unit. The supported unit kinds are determined by the quota + # backend system. + # The [Google Service Control](https://cloud.google.com/service-control) + # supports the following unit components: + # * One of the time intevals: + # * "/min" for quota every minute. + # * "/d" for quota every 24 hours, starting 00:00 US Pacific Time. + # * Otherwise the quota won't be reset by time, such as storage limit. + # * One and only one of the granted containers: + # * "/`project`" quota for a project + # Here are some examples: + # * "1/min/`project`" for quota per minute per project. + # Note: the order of unit components is insignificant. + # The "1" at the beginning is required to follow the metric unit syntax. + # Used by metric-based quotas only. + # Corresponds to the JSON property `unit` + # @return [String] + attr_accessor :unit + + # Tiered limit values, currently only STANDARD is supported. + # Corresponds to the JSON property `values` + # @return [Hash] + attr_accessor :values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @default_limit = args[:default_limit] if args.key?(:default_limit) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @duration = args[:duration] if args.key?(:duration) + @free_tier = args[:free_tier] if args.key?(:free_tier) + @max_limit = args[:max_limit] if args.key?(:max_limit) + @metric = args[:metric] if args.key?(:metric) + @name = args[:name] if args.key?(:name) + @unit = args[:unit] if args.key?(:unit) + @values = args[:values] if args.key?(:values) + end + end + + # A rollout resource that defines how service configuration versions are pushed + # to control plane systems. Typically, you create a new version of the + # service config, and then create a Rollout to push the service config. + class Rollout + include Google::Apis::Core::Hashable + + # Creation time of the rollout. Readonly. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # The user who created the Rollout. Readonly. + # Corresponds to the JSON property `createdBy` + # @return [String] + attr_accessor :created_by + + # Strategy used to delete a service. This strategy is a placeholder only + # used by the system generated rollout to delete a service. + # Corresponds to the JSON property `deleteServiceStrategy` + # @return [Google::Apis::ServicemanagementV1::DeleteServiceStrategy] + attr_accessor :delete_service_strategy + + # Optional unique identifier of this Rollout. Only lower case letters, digits + # and '-' are allowed. + # If not specified by client, the server will generate one. The generated id + # will have the form of , where "date" is the create + # date in ISO 8601 format. "revision number" is a monotonically increasing + # positive number that is reset every day for each service. + # An example of the generated rollout_id is '2016-02-16r1' + # Corresponds to the JSON property `rolloutId` + # @return [String] + attr_accessor :rollout_id + + # The name of the service associated with this Rollout. + # Corresponds to the JSON property `serviceName` + # @return [String] + attr_accessor :service_name + + # The status of this rollout. Readonly. In case of a failed rollout, + # the system will automatically rollback to the current Rollout + # version. Readonly. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # Strategy that specifies how clients of Google Service Controller want to + # send traffic to use different config versions. This is generally + # used by API proxy to split traffic based on your configured precentage for + # each config version. + # One example of how to gradually rollout a new service configuration using + # this + # strategy: + # Day 1 + # Rollout ` + # id: "example.googleapis.com/rollout_20160206" + # traffic_percent_strategy ` + # percentages: ` + # "example.googleapis.com/20160201": 70.00 + # "example.googleapis.com/20160206": 30.00 + # ` + # ` + # ` + # Day 2 + # Rollout ` + # id: "example.googleapis.com/rollout_20160207" + # traffic_percent_strategy: ` + # percentages: ` + # "example.googleapis.com/20160206": 100.00 + # ` + # ` + # ` + # Corresponds to the JSON property `trafficPercentStrategy` + # @return [Google::Apis::ServicemanagementV1::TrafficPercentStrategy] + attr_accessor :traffic_percent_strategy + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @created_by = args[:created_by] if args.key?(:created_by) + @delete_service_strategy = args[:delete_service_strategy] if args.key?(:delete_service_strategy) + @rollout_id = args[:rollout_id] if args.key?(:rollout_id) + @service_name = args[:service_name] if args.key?(:service_name) + @status = args[:status] if args.key?(:status) + @traffic_percent_strategy = args[:traffic_percent_strategy] if args.key?(:traffic_percent_strategy) + end + end + + # A rule to be applied in a Policy. + class Rule + include Google::Apis::Core::Hashable + + # Required + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # Additional restrictions that must be met + # Corresponds to the JSON property `conditions` + # @return [Array] + attr_accessor :conditions + + # Human-readable description of the rule. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # If one or more 'in' clauses are specified, the rule matches if + # the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. + # Corresponds to the JSON property `in` + # @return [Array] + attr_accessor :in + + # 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 + + # If one or more 'not_in' clauses are specified, the rule matches + # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the 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 + + # 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 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @action = args[:action] if args.key?(:action) + @conditions = args[:conditions] if args.key?(:conditions) + @description = args[:description] if args.key?(:description) + @in = args[:in] if args.key?(:in) + @log_config = args[:log_config] if args.key?(:log_config) + @not_in = args[:not_in] if args.key?(:not_in) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # `Service` is the root object of Google service configuration schema. It + # describes basic information about a service, such as the name and the + # title, and delegates other aspects to sub-sections. Each sub-section is + # either a proto message or a repeated proto message that configures a + # specific aspect, such as auth. See each proto message definition for details. + # Example: + # type: google.api.Service + # config_version: 3 + # name: calendar.googleapis.com + # title: Google Calendar API + # apis: + # - name: google.calendar.v3.Calendar + # authentication: + # providers: + # - id: google_calendar_auth + # jwks_uri: https://www.googleapis.com/oauth2/v1/certs + # issuer: https://securetoken.google.com + # rules: + # - selector: "*" + # requirements: + # provider_id: google_calendar_auth + class Service + include Google::Apis::Core::Hashable + + # A list of API interfaces exported by this service. Only the `name` field + # of the google.protobuf.Api needs to be provided by the configuration + # author, as the remaining fields will be derived from the IDL during the + # normalization process. It is an error to specify an API interface here + # which cannot be resolved against the associated IDL files. + # Corresponds to the JSON property `apis` + # @return [Array] + attr_accessor :apis + + # `Authentication` defines the authentication configuration for an API. + # Example for an API targeted for external use: + # name: calendar.googleapis.com + # authentication: + # providers: + # - id: google_calendar_auth + # jwks_uri: https://www.googleapis.com/oauth2/v1/certs + # issuer: https://securetoken.google.com + # rules: + # - selector: "*" + # requirements: + # provider_id: google_calendar_auth + # Corresponds to the JSON property `authentication` + # @return [Google::Apis::ServicemanagementV1::Authentication] + attr_accessor :authentication + + # `Backend` defines the backend configuration for a service. + # Corresponds to the JSON property `backend` + # @return [Google::Apis::ServicemanagementV1::Backend] + attr_accessor :backend + + # The semantic version of the service configuration. The config version + # affects the interpretation of the service configuration. For example, + # certain features are enabled by default for certain config versions. + # The latest config version is `3`. + # Corresponds to the JSON property `configVersion` + # @return [Fixnum] + attr_accessor :config_version + + # `Context` defines which contexts an API requests. + # Example: + # context: + # rules: + # - selector: "*" + # requested: + # - google.rpc.context.ProjectContext + # - google.rpc.context.OriginContext + # The above specifies that all methods in the API request + # `google.rpc.context.ProjectContext` and + # `google.rpc.context.OriginContext`. + # Available context types are defined in package + # `google.rpc.context`. + # Corresponds to the JSON property `context` + # @return [Google::Apis::ServicemanagementV1::Context] + attr_accessor :context + + # Selects and configures the service controller used by the service. The + # service controller handles features like abuse, quota, billing, logging, + # monitoring, etc. + # Corresponds to the JSON property `control` + # @return [Google::Apis::ServicemanagementV1::Control] + attr_accessor :control + + # Customize service error responses. For example, list any service + # specific protobuf types that can appear in error detail lists of + # error responses. + # Example: + # custom_error: + # types: + # - google.foo.v1.CustomError + # - google.foo.v1.AnotherError + # Corresponds to the JSON property `customError` + # @return [Google::Apis::ServicemanagementV1::CustomError] + attr_accessor :custom_error + + # `Documentation` provides the information for describing a service. + # Example: + #
    documentation:
    +        # summary: >
    +        # The Google Calendar API gives access
    +        # to most calendar features.
    +        # pages:
    +        # - name: Overview
    +        # content: (== include google/foo/overview.md ==)
    +        # - name: Tutorial
    +        # content: (== include google/foo/tutorial.md ==)
    +        # subpages;
    +        # - name: Java
    +        # content: (== include google/foo/tutorial_java.md ==)
    +        # rules:
    +        # - selector: google.calendar.Calendar.Get
    +        # description: >
    +        # ...
    +        # - selector: google.calendar.Calendar.Put
    +        # description: >
    +        # ...
    +        # 
    + # Documentation is provided in markdown syntax. In addition to + # standard markdown features, definition lists, tables and fenced + # code blocks are supported. Section headers can be provided and are + # interpreted relative to the section nesting of the context where + # a documentation fragment is embedded. + # Documentation from the IDL is merged with documentation defined + # via the config at normalization time, where documentation provided + # by config rules overrides IDL provided. + # A number of constructs specific to the API platform are supported + # in documentation text. + # In order to reference a proto element, the following + # notation can be used: + #
    [fully.qualified.proto.name][]
    + # To override the display text used for the link, this can be used: + #
    [display text][fully.qualified.proto.name]
    + # Text can be excluded from doc using the following notation: + #
    (-- internal comment --)
    + # Comments can be made conditional using a visibility label. The below + # text will be only rendered if the `BETA` label is available: + #
    (--BETA: comment for BETA users --)
    + # A few directives are available in documentation. Note that + # directives must appear on a single line to be properly + # identified. The `include` directive includes a markdown file from + # an external source: + #
    (== include path/to/file ==)
    + # The `resource_for` directive marks a message to be the resource of + # a collection in REST view. If it is not specified, tools attempt + # to infer the resource from the operations in a collection: + #
    (== resource_for v1.shelves.books ==)
    + # The directive `suppress_warning` does not directly affect documentation + # and is documented together with service config validation. + # Corresponds to the JSON property `documentation` + # @return [Google::Apis::ServicemanagementV1::Documentation] + attr_accessor :documentation + + # Configuration for network endpoints. If this is empty, then an endpoint + # with the same name as the service is automatically generated to service all + # defined APIs. + # Corresponds to the JSON property `endpoints` + # @return [Array] + attr_accessor :endpoints + + # A list of all enum types included in this API service. Enums + # referenced directly or indirectly by the `apis` are automatically + # included. Enums which are not referenced but shall be included + # should be listed here by name. Example: + # enums: + # - name: google.someapi.v1.SomeEnum + # Corresponds to the JSON property `enums` + # @return [Array] + attr_accessor :enums + + # Experimental service configuration. These configuration options can + # only be used by whitelisted users. + # Corresponds to the JSON property `experimental` + # @return [Google::Apis::ServicemanagementV1::Experimental] + attr_accessor :experimental + + # Defines the HTTP configuration for an API service. It contains a list of + # HttpRule, each specifying the mapping of an RPC method + # to one or more HTTP REST API methods. + # Corresponds to the JSON property `http` + # @return [Google::Apis::ServicemanagementV1::Http] + attr_accessor :http + + # A unique ID for a specific instance of this message, typically assigned + # by the client for tracking purpose. If empty, the server may choose to + # generate one instead. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Logging configuration of the service. + # The following example shows how to configure logs to be sent to the + # producer and consumer projects. In the example, the `activity_history` + # log is sent to both the producer and consumer projects, whereas the + # `purchase_history` log is only sent to the producer project. + # monitored_resources: + # - type: library.googleapis.com/branch + # labels: + # - key: /city + # description: The city where the library branch is located in. + # - key: /name + # description: The name of the branch. + # logs: + # - name: activity_history + # labels: + # - key: /customer_id + # - name: purchase_history + # logging: + # producer_destinations: + # - monitored_resource: library.googleapis.com/branch + # logs: + # - activity_history + # - purchase_history + # consumer_destinations: + # - monitored_resource: library.googleapis.com/branch + # logs: + # - activity_history + # Corresponds to the JSON property `logging` + # @return [Google::Apis::ServicemanagementV1::Logging] + attr_accessor :logging + + # Defines the logs used by this service. + # Corresponds to the JSON property `logs` + # @return [Array] + attr_accessor :logs + + # Defines the metrics used by this service. + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics + + # Defines the monitored resources used by this service. This is required + # by the Service.monitoring and Service.logging configurations. + # Corresponds to the JSON property `monitoredResources` + # @return [Array] + attr_accessor :monitored_resources + + # Monitoring configuration of the service. + # The example below shows how to configure monitored resources and metrics + # for monitoring. In the example, a monitored resource and two metrics are + # defined. The `library.googleapis.com/book/returned_count` metric is sent + # to both producer and consumer projects, whereas the + # `library.googleapis.com/book/overdue_count` metric is only sent to the + # consumer project. + # monitored_resources: + # - type: library.googleapis.com/branch + # labels: + # - key: /city + # description: The city where the library branch is located in. + # - key: /name + # description: The name of the branch. + # metrics: + # - name: library.googleapis.com/book/returned_count + # metric_kind: DELTA + # value_type: INT64 + # labels: + # - key: /customer_id + # - name: library.googleapis.com/book/overdue_count + # metric_kind: GAUGE + # value_type: INT64 + # labels: + # - key: /customer_id + # monitoring: + # producer_destinations: + # - monitored_resource: library.googleapis.com/branch + # metrics: + # - library.googleapis.com/book/returned_count + # consumer_destinations: + # - monitored_resource: library.googleapis.com/branch + # metrics: + # - library.googleapis.com/book/returned_count + # - library.googleapis.com/book/overdue_count + # Corresponds to the JSON property `monitoring` + # @return [Google::Apis::ServicemanagementV1::Monitoring] + attr_accessor :monitoring + + # The DNS address at which this service is available, + # e.g. `calendar.googleapis.com`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The Google project that owns this service. + # Corresponds to the JSON property `producerProjectId` + # @return [String] + attr_accessor :producer_project_id + + # Quota configuration helps to achieve fairness and budgeting in service + # usage. + # The quota configuration works this way: + # - The service configuration defines a set of metrics. + # - For API calls, the quota.metric_rules maps methods to metrics with + # corresponding costs. + # - The quota.limits defines limits on the metrics, which will be used for + # quota checks at runtime. + # An example quota configuration in yaml format: + # quota: + # - name: apiWriteQpsPerProject + # metric: library.googleapis.com/write_calls + # unit: "1/min/`project`" # rate limit for consumer projects + # values: + # STANDARD: 10000 + # # The metric rules bind all methods to the read_calls metric, + # # except for the UpdateBook and DeleteBook methods. These two methods + # # are mapped to the write_calls metric, with the UpdateBook method + # # consuming at twice rate as the DeleteBook method. + # metric_rules: + # - selector: "*" + # metric_costs: + # library.googleapis.com/read_calls: 1 + # - selector: google.example.library.v1.LibraryService.UpdateBook + # metric_costs: + # library.googleapis.com/write_calls: 2 + # - selector: google.example.library.v1.LibraryService.DeleteBook + # metric_costs: + # library.googleapis.com/write_calls: 1 + # Corresponding Metric definition: + # metrics: + # - name: library.googleapis.com/read_calls + # display_name: Read requests + # metric_kind: DELTA + # value_type: INT64 + # - name: library.googleapis.com/write_calls + # display_name: Write requests + # metric_kind: DELTA + # value_type: INT64 + # Corresponds to the JSON property `quota` + # @return [Google::Apis::ServicemanagementV1::Quota] + attr_accessor :quota + + # Source information used to create a Service Config + # Corresponds to the JSON property `sourceInfo` + # @return [Google::Apis::ServicemanagementV1::SourceInfo] + attr_accessor :source_info + + # ### System parameter configuration + # A system parameter is a special kind of parameter defined by the API + # system, not by an individual API. It is typically mapped to an HTTP header + # and/or a URL query parameter. This configuration specifies which methods + # change the names of the system parameters. + # Corresponds to the JSON property `systemParameters` + # @return [Google::Apis::ServicemanagementV1::SystemParameters] + attr_accessor :system_parameters + + # A list of all proto message types included in this API service. + # It serves similar purpose as [google.api.Service.types], except that + # these types are not needed by user-defined APIs. Therefore, they will not + # show up in the generated discovery doc. This field should only be used + # to define system APIs in ESF. + # Corresponds to the JSON property `systemTypes` + # @return [Array] + attr_accessor :system_types + + # The product title for this service. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # A list of all proto message types included in this API service. + # Types referenced directly or indirectly by the `apis` are + # automatically included. Messages which are not referenced but + # shall be included, such as types used by the `google.protobuf.Any` type, + # should be listed here by name. Example: + # types: + # - name: google.protobuf.Int32 + # Corresponds to the JSON property `types` + # @return [Array] + attr_accessor :types + + # Configuration controlling usage of a service. + # Corresponds to the JSON property `usage` + # @return [Google::Apis::ServicemanagementV1::Usage] + attr_accessor :usage + + # `Visibility` defines restrictions for the visibility of service + # elements. Restrictions are specified using visibility labels + # (e.g., TRUSTED_TESTER) that are elsewhere linked to users and projects. + # Users and projects can have access to more than one visibility label. The + # effective visibility for multiple labels is the union of each label's + # elements, plus any unrestricted elements. + # If an element and its parents have no restrictions, visibility is + # unconditionally granted. + # Example: + # visibility: + # rules: + # - selector: google.calendar.Calendar.EnhancedSearch + # restriction: TRUSTED_TESTER + # - selector: google.calendar.Calendar.Delegate + # restriction: GOOGLE_INTERNAL + # Here, all methods are publicly visible except for the restricted methods + # EnhancedSearch and Delegate. + # Corresponds to the JSON property `visibility` + # @return [Google::Apis::ServicemanagementV1::Visibility] + attr_accessor :visibility + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @apis = args[:apis] if args.key?(:apis) + @authentication = args[:authentication] if args.key?(:authentication) + @backend = args[:backend] if args.key?(:backend) + @config_version = args[:config_version] if args.key?(:config_version) + @context = args[:context] if args.key?(:context) + @control = args[:control] if args.key?(:control) + @custom_error = args[:custom_error] if args.key?(:custom_error) + @documentation = args[:documentation] if args.key?(:documentation) + @endpoints = args[:endpoints] if args.key?(:endpoints) + @enums = args[:enums] if args.key?(:enums) + @experimental = args[:experimental] if args.key?(:experimental) + @http = args[:http] if args.key?(:http) + @id = args[:id] if args.key?(:id) + @logging = args[:logging] if args.key?(:logging) + @logs = args[:logs] if args.key?(:logs) + @metrics = args[:metrics] if args.key?(:metrics) + @monitored_resources = args[:monitored_resources] if args.key?(:monitored_resources) + @monitoring = args[:monitoring] if args.key?(:monitoring) + @name = args[:name] if args.key?(:name) + @producer_project_id = args[:producer_project_id] if args.key?(:producer_project_id) + @quota = args[:quota] if args.key?(:quota) + @source_info = args[:source_info] if args.key?(:source_info) + @system_parameters = args[:system_parameters] if args.key?(:system_parameters) + @system_types = args[:system_types] if args.key?(:system_types) + @title = args[:title] if args.key?(:title) + @types = args[:types] if args.key?(:types) + @usage = args[:usage] if args.key?(:usage) + @visibility = args[:visibility] if args.key?(:visibility) + end + end + + # Request message for `SetIamPolicy` method. + class SetIamPolicyRequest + include Google::Apis::Core::Hashable + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service 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: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` + # @return [Google::Apis::ServicemanagementV1::Policy] + attr_accessor :policy + + # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only + # the fields in the mask will be modified. If no mask is provided, the + # following default mask is used: + # paths: "bindings, etag" + # This field is only used by Cloud IAM. + # Corresponds to the JSON property `updateMask` + # @return [String] + attr_accessor :update_mask + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy = args[:policy] if args.key?(:policy) + @update_mask = args[:update_mask] if args.key?(:update_mask) + end + end + + # `SourceContext` represents information about the source of a + # protobuf element, like the file in which it is defined. + class SourceContext + include Google::Apis::Core::Hashable + + # The path-qualified name of the .proto file that contained the associated + # protobuf element. For example: `"google/protobuf/source_context.proto"`. + # Corresponds to the JSON property `fileName` + # @return [String] + attr_accessor :file_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file_name = args[:file_name] if args.key?(:file_name) + end + end + + # Source information used to create a Service Config + class SourceInfo + include Google::Apis::Core::Hashable + + # All files used during config generation. + # Corresponds to the JSON property `sourceFiles` + # @return [Array>] + attr_accessor :source_files + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @source_files = args[:source_files] if args.key?(:source_files) + 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` that 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. + # - 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 is 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 + + # Represents the status of one operation step. + class Step + include Google::Apis::Core::Hashable + + # The short description of the step. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The status code. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @status = args[:status] if args.key?(:status) + end + end + + # Request message for SubmitConfigSource method. + class SubmitConfigSourceRequest + include Google::Apis::Core::Hashable + + # Represents a source file which is used to generate the service configuration + # defined by `google.api.Service`. + # Corresponds to the JSON property `configSource` + # @return [Google::Apis::ServicemanagementV1::ConfigSource] + attr_accessor :config_source + + # Optional. If set, this will result in the generation of a + # `google.api.Service` configuration based on the `ConfigSource` provided, + # but the generated config and the sources will NOT be persisted. + # Corresponds to the JSON property `validateOnly` + # @return [Boolean] + attr_accessor :validate_only + alias_method :validate_only?, :validate_only + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @config_source = args[:config_source] if args.key?(:config_source) + @validate_only = args[:validate_only] if args.key?(:validate_only) + end + end + + # Response message for SubmitConfigSource method. + class SubmitConfigSourceResponse + include Google::Apis::Core::Hashable + + # `Service` is the root object of Google service configuration schema. It + # describes basic information about a service, such as the name and the + # title, and delegates other aspects to sub-sections. Each sub-section is + # either a proto message or a repeated proto message that configures a + # specific aspect, such as auth. See each proto message definition for details. + # Example: + # type: google.api.Service + # config_version: 3 + # name: calendar.googleapis.com + # title: Google Calendar API + # apis: + # - name: google.calendar.v3.Calendar + # authentication: + # providers: + # - id: google_calendar_auth + # jwks_uri: https://www.googleapis.com/oauth2/v1/certs + # issuer: https://securetoken.google.com + # rules: + # - selector: "*" + # requirements: + # provider_id: google_calendar_auth + # Corresponds to the JSON property `serviceConfig` + # @return [Google::Apis::ServicemanagementV1::Service] + attr_accessor :service_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @service_config = args[:service_config] if args.key?(:service_config) + end + end + + # Define a parameter's name and location. The parameter may be passed as either + # an HTTP header or a URL query parameter, and if both are passed the behavior + # is implementation-dependent. + class SystemParameter + include Google::Apis::Core::Hashable + + # Define the HTTP header name to use for the parameter. It is case + # insensitive. + # Corresponds to the JSON property `httpHeader` + # @return [String] + attr_accessor :http_header + + # Define the name of the parameter, such as "api_key" . It is case sensitive. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Define the URL query parameter name to use for the parameter. It is case + # sensitive. + # Corresponds to the JSON property `urlQueryParameter` + # @return [String] + attr_accessor :url_query_parameter + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @http_header = args[:http_header] if args.key?(:http_header) + @name = args[:name] if args.key?(:name) + @url_query_parameter = args[:url_query_parameter] if args.key?(:url_query_parameter) + end + end + + # Define a system parameter rule mapping system parameter definitions to + # methods. + class SystemParameterRule + include Google::Apis::Core::Hashable + + # Define parameters. Multiple names may be defined for a parameter. + # For a given method call, only one of them should be used. If multiple + # names are used the behavior is implementation-dependent. + # If none of the specified names are present the behavior is + # parameter-dependent. + # Corresponds to the JSON property `parameters` + # @return [Array] + attr_accessor :parameters + + # Selects the methods to which this rule applies. Use '*' to indicate all + # methods in all APIs. + # Refer to selector for syntax details. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @parameters = args[:parameters] if args.key?(:parameters) + @selector = args[:selector] if args.key?(:selector) + end + end + + # ### System parameter configuration + # A system parameter is a special kind of parameter defined by the API + # system, not by an individual API. It is typically mapped to an HTTP header + # and/or a URL query parameter. This configuration specifies which methods + # change the names of the system parameters. + class SystemParameters + include Google::Apis::Core::Hashable + + # Define system parameters. + # The parameters defined here will override the default parameters + # implemented by the system. If this field is missing from the service + # config, default system parameters will be used. Default system parameters + # and names is implementation-dependent. + # Example: define api key for all methods + # system_parameters + # rules: + # - selector: "*" + # parameters: + # - name: api_key + # url_query_parameter: api_key + # Example: define 2 api key names for a specific method. + # system_parameters + # rules: + # - selector: "/ListShelves" + # parameters: + # - name: api_key + # http_header: Api-Key1 + # - name: api_key + # http_header: Api-Key2 + # **NOTE:** All service configuration rules follow "last one wins" order. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @rules = args[:rules] if args.key?(:rules) + end + end + + # Request message for `TestIamPermissions` method. + class TestIamPermissionsRequest + include Google::Apis::Core::Hashable + + # The set of permissions to check for the `resource`. Permissions with + # wildcards (such as '*' or 'storage.*') are not allowed. For more + # information see + # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # Response message for `TestIamPermissions` method. + class TestIamPermissionsResponse + include Google::Apis::Core::Hashable + + # A subset of `TestPermissionsRequest.permissions` that the caller is + # allowed. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # Strategy that specifies how clients of Google Service Controller want to + # send traffic to use different config versions. This is generally + # used by API proxy to split traffic based on your configured precentage for + # each config version. + # One example of how to gradually rollout a new service configuration using + # this + # strategy: + # Day 1 + # Rollout ` + # id: "example.googleapis.com/rollout_20160206" + # traffic_percent_strategy ` + # percentages: ` + # "example.googleapis.com/20160201": 70.00 + # "example.googleapis.com/20160206": 30.00 + # ` + # ` + # ` + # Day 2 + # Rollout ` + # id: "example.googleapis.com/rollout_20160207" + # traffic_percent_strategy: ` + # percentages: ` + # "example.googleapis.com/20160206": 100.00 + # ` + # ` + # ` + class TrafficPercentStrategy + include Google::Apis::Core::Hashable + + # Maps service configuration IDs to their corresponding traffic percentage. + # Key is the service configuration ID, Value is the traffic percentage + # which must be greater than 0.0 and the sum must equal to 100.0. + # Corresponds to the JSON property `percentages` + # @return [Hash] + attr_accessor :percentages + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @percentages = args[:percentages] if args.key?(:percentages) + end + end + + # A protocol buffer message type. + class Type + include Google::Apis::Core::Hashable + + # The list of fields. + # Corresponds to the JSON property `fields` + # @return [Array] + attr_accessor :fields + + # The fully qualified message name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The list of types appearing in `oneof` definitions in this type. + # Corresponds to the JSON property `oneofs` + # @return [Array] + attr_accessor :oneofs + + # The protocol buffer options. + # Corresponds to the JSON property `options` + # @return [Array] + attr_accessor :options + + # `SourceContext` represents information about the source of a + # protobuf element, like the file in which it is defined. + # Corresponds to the JSON property `sourceContext` + # @return [Google::Apis::ServicemanagementV1::SourceContext] + attr_accessor :source_context + + # The source syntax. + # Corresponds to the JSON property `syntax` + # @return [String] + attr_accessor :syntax + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fields = args[:fields] if args.key?(:fields) + @name = args[:name] if args.key?(:name) + @oneofs = args[:oneofs] if args.key?(:oneofs) + @options = args[:options] if args.key?(:options) + @source_context = args[:source_context] if args.key?(:source_context) + @syntax = args[:syntax] if args.key?(:syntax) + end + end + + # Response message for UndeleteService method. + class UndeleteServiceResponse + include Google::Apis::Core::Hashable + + # The full representation of a Service that is managed by + # Google Service Management. + # Corresponds to the JSON property `service` + # @return [Google::Apis::ServicemanagementV1::ManagedService] + attr_accessor :service + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @service = args[:service] if args.key?(:service) + end + end + + # Configuration controlling usage of a service. + class Usage + include Google::Apis::Core::Hashable + + # The full resource name of a channel used for sending notifications to the + # service producer. + # Google Service Management currently only supports + # [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification + # channel. To use Google Cloud Pub/Sub as the channel, this must be the name + # of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format + # documented in https://cloud.google.com/pubsub/docs/overview. + # Corresponds to the JSON property `producerNotificationChannel` + # @return [String] + attr_accessor :producer_notification_channel + + # Requirements that must be satisfied before a consumer project can use the + # service. Each requirement is of the form /; + # for example 'serviceusage.googleapis.com/billing-enabled'. + # Corresponds to the JSON property `requirements` + # @return [Array] + attr_accessor :requirements + + # A list of usage rules that apply to individual API methods. + # **NOTE:** All service configuration rules follow "last one wins" order. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @producer_notification_channel = args[:producer_notification_channel] if args.key?(:producer_notification_channel) + @requirements = args[:requirements] if args.key?(:requirements) + @rules = args[:rules] if args.key?(:rules) + end + end + + # Usage configuration rules for the service. + # NOTE: Under development. + # Use this rule to configure unregistered calls for the service. Unregistered + # calls are calls that do not contain consumer project identity. + # (Example: calls that do not contain an API key). + # By default, API methods do not allow unregistered calls, and each method call + # must be identified by a consumer project identity. Use this rule to + # allow/disallow unregistered calls. + # Example of an API that wants to allow unregistered calls for entire service. + # usage: + # rules: + # - selector: "*" + # allow_unregistered_calls: true + # Example of a method that wants to allow unregistered calls. + # usage: + # rules: + # - selector: "google.example.library.v1.LibraryService.CreateBook" + # allow_unregistered_calls: true + class UsageRule + include Google::Apis::Core::Hashable + + # True, if the method allows unregistered calls; false otherwise. + # Corresponds to the JSON property `allowUnregisteredCalls` + # @return [Boolean] + attr_accessor :allow_unregistered_calls + alias_method :allow_unregistered_calls?, :allow_unregistered_calls + + # Selects the methods to which this rule applies. Use '*' to indicate all + # methods in all APIs. + # Refer to selector for syntax details. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector + + # True, if the method should skip service control. If so, no control plane + # feature (like quota and billing) will be enabled. + # Corresponds to the JSON property `skipServiceControl` + # @return [Boolean] + attr_accessor :skip_service_control + alias_method :skip_service_control?, :skip_service_control + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @allow_unregistered_calls = args[:allow_unregistered_calls] if args.key?(:allow_unregistered_calls) + @selector = args[:selector] if args.key?(:selector) + @skip_service_control = args[:skip_service_control] if args.key?(:skip_service_control) + end + end + # `Visibility` defines restrictions for the visibility of service # elements. Restrictions are specified using visibility labels # (e.g., TRUSTED_TESTER) that are elsewhere linked to users and projects. @@ -4848,6 +4803,43 @@ module Google @rules = args[:rules] if args.key?(:rules) end end + + # A visibility rule provides visibility configuration for an individual API + # element. + class VisibilityRule + include Google::Apis::Core::Hashable + + # A comma-separated list of visibility labels that apply to the `selector`. + # Any of the listed labels can be used to grant the visibility. + # If a rule has multiple labels, removing one of the labels but not all of + # them can break clients. + # Example: + # visibility: + # rules: + # - selector: google.calendar.Calendar.EnhancedSearch + # restriction: GOOGLE_INTERNAL, TRUSTED_TESTER + # Removing GOOGLE_INTERNAL from this restriction will break clients that + # rely on this method and only had access to it through GOOGLE_INTERNAL. + # Corresponds to the JSON property `restriction` + # @return [String] + attr_accessor :restriction + + # Selects methods, messages, fields, enums, etc. to which this rule applies. + # Refer to selector for syntax details. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @restriction = args[:restriction] if args.key?(:restriction) + @selector = args[:selector] if args.key?(:selector) + end + end end end end diff --git a/generated/google/apis/servicemanagement_v1/representations.rb b/generated/google/apis/servicemanagement_v1/representations.rb index dfd73d3bf..b976b96c6 100644 --- a/generated/google/apis/servicemanagement_v1/representations.rb +++ b/generated/google/apis/servicemanagement_v1/representations.rb @@ -22,211 +22,13 @@ module Google module Apis module ServicemanagementV1 - class ConfigChange + class Advice class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class SystemParameters - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Rollout - 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 GenerateConfigReportRequest - 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 DeleteServiceStrategy - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Step - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LoggingDestination - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Option - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Logging - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MethodProp - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class QuotaLimit - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ConfigRef - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListServiceRolloutsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Mixin - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FlowOperationMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CustomError - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CounterOptions - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Http - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Control - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SystemParameter - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Monitoring - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Field - 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 Enum - 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 Diagnostic - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class EnableServiceRequest - 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 GenerateConfigReportResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListServiceConfigsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Experimental - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Backend + class Api class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -238,13 +40,31 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class SubmitConfigSourceRequest + class AuditLogConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class DocumentationRule + class AuthProvider + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AuthRequirement + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Authentication + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AuthenticationRule class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -256,67 +76,61 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Backend + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BackendRule + 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 ChangeReport + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CloudAuditOptions class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ContextRule + class Condition class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class MetricDescriptor + class ConfigChange class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class SourceContext + class ConfigFile class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Expr + class ConfigRef 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 Endpoint - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class OAuthRequirements - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Usage - 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 TestIamPermissionsResponse + class ConfigSource class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -328,7 +142,187 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Rule + class ContextRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Control + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CounterOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CustomAuthRequirements + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CustomError + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CustomErrorRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CustomHttpPattern + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DataAccessOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteServiceStrategy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Diagnostic + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DisableServiceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Documentation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DocumentationRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EnableServiceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Endpoint + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Enum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EnumValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Experimental + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Expr + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Field + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FlowOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GenerateConfigReportRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GenerateConfigReportResponse + 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 Http + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HttpRule + 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 ListOperationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListServiceConfigsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListServiceRolloutsResponse + 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 @@ -346,61 +340,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ConfigFile + class Logging class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CustomErrorRule - 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 CustomAuthRequirements - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MediaDownload - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ChangeReport - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DisableServiceRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SubmitConfigSourceResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MediaUpload - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Advice + class LoggingDestination class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -412,79 +358,25 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class UsageRule + class MediaDownload class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class TrafficPercentStrategy + class MediaUpload class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class AuthRequirement + class MethodProp 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 Documentation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AuditLogConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ConfigSource - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BackendRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AuthenticationRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UndeleteServiceResponse - 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 Api - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DataAccessOptions + class MetricDescriptor class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -496,85 +388,19 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Authentication + class Mixin class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Operation + class MonitoredResourceDescriptor class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Page - 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 Binding - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AuthProvider - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class EnumValue - 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 ListOperationsResponse - 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 CustomHttpPattern - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SystemParameterRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class VisibilityRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class HttpRule + class Monitoring class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -586,71 +412,438 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class OAuthRequirements + 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 OperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Option + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Page + 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 Quota + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class QuotaLimit + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Rollout + 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 Service + 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 SourceContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceInfo + 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 Step + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SubmitConfigSourceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SubmitConfigSourceResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SystemParameter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SystemParameterRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SystemParameters + 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 TrafficPercentStrategy + 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 UndeleteServiceResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Usage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UsageRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Visibility class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class VisibilityRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Advice + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + end + end + + class Api + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :methods_prop, as: 'methods', class: Google::Apis::ServicemanagementV1::MethodProp, decorator: Google::Apis::ServicemanagementV1::MethodProp::Representation + + collection :mixins, as: 'mixins', class: Google::Apis::ServicemanagementV1::Mixin, decorator: Google::Apis::ServicemanagementV1::Mixin::Representation + + property :name, as: 'name' + collection :options, as: 'options', class: Google::Apis::ServicemanagementV1::Option, decorator: Google::Apis::ServicemanagementV1::Option::Representation + + property :source_context, as: 'sourceContext', class: Google::Apis::ServicemanagementV1::SourceContext, decorator: Google::Apis::ServicemanagementV1::SourceContext::Representation + + property :syntax, as: 'syntax' + property :version, as: 'version' + end + end + + class AuditConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::ServicemanagementV1::AuditLogConfig, decorator: Google::Apis::ServicemanagementV1::AuditLogConfig::Representation + + collection :exempted_members, as: 'exemptedMembers' + property :service, as: 'service' + end + end + + class AuditLogConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :exempted_members, as: 'exemptedMembers' + property :log_type, as: 'logType' + end + end + + class AuthProvider + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :audiences, as: 'audiences' + property :authorization_url, as: 'authorizationUrl' + property :id, as: 'id' + property :issuer, as: 'issuer' + property :jwks_uri, as: 'jwksUri' + end + end + + class AuthRequirement + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :audiences, as: 'audiences' + property :provider_id, as: 'providerId' + end + end + + class Authentication + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :providers, as: 'providers', class: Google::Apis::ServicemanagementV1::AuthProvider, decorator: Google::Apis::ServicemanagementV1::AuthProvider::Representation + + collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::AuthenticationRule, decorator: Google::Apis::ServicemanagementV1::AuthenticationRule::Representation + + end + end + + class AuthenticationRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :allow_without_credential, as: 'allowWithoutCredential' + property :custom_auth, as: 'customAuth', class: Google::Apis::ServicemanagementV1::CustomAuthRequirements, decorator: Google::Apis::ServicemanagementV1::CustomAuthRequirements::Representation + + property :oauth, as: 'oauth', class: Google::Apis::ServicemanagementV1::OAuthRequirements, decorator: Google::Apis::ServicemanagementV1::OAuthRequirements::Representation + + collection :requirements, as: 'requirements', class: Google::Apis::ServicemanagementV1::AuthRequirement, decorator: Google::Apis::ServicemanagementV1::AuthRequirement::Representation + + property :selector, as: 'selector' + end + end + + class AuthorizationConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :provider, as: 'provider' + end + end + + class Backend + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::BackendRule, decorator: Google::Apis::ServicemanagementV1::BackendRule::Representation + + end + end + + class BackendRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :address, as: 'address' + property :deadline, as: 'deadline' + property :min_deadline, as: 'minDeadline' + property :selector, as: 'selector' + end + end + + class Binding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :condition, as: 'condition', class: Google::Apis::ServicemanagementV1::Expr, decorator: Google::Apis::ServicemanagementV1::Expr::Representation + + collection :members, as: 'members' + property :role, as: 'role' + end + end + + class ChangeReport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :config_changes, as: 'configChanges', class: Google::Apis::ServicemanagementV1::ConfigChange, decorator: Google::Apis::ServicemanagementV1::ConfigChange::Representation + + end + end + + class CloudAuditOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :log_name, as: 'logName' + end + end + + class Condition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :iam, as: 'iam' + property :op, as: 'op' + property :svc, as: 'svc' + property :sys, as: 'sys' + property :value, as: 'value' + collection :values, as: 'values' + end + end + class ConfigChange # @private class Representation < Google::Apis::Core::JsonRepresentation - property :change_type, as: 'changeType' - property :element, as: 'element' collection :advices, as: 'advices', class: Google::Apis::ServicemanagementV1::Advice, decorator: Google::Apis::ServicemanagementV1::Advice::Representation - property :old_value, as: 'oldValue' + property :change_type, as: 'changeType' + property :element, as: 'element' property :new_value, as: 'newValue' + property :old_value, as: 'oldValue' end end - class SystemParameters + class ConfigFile # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::SystemParameterRule, decorator: Google::Apis::ServicemanagementV1::SystemParameterRule::Representation + property :file_contents, :base64 => true, as: 'fileContents' + property :file_path, as: 'filePath' + property :file_type, as: 'fileType' + end + end + + class ConfigRef + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class ConfigSource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :files, as: 'files', class: Google::Apis::ServicemanagementV1::ConfigFile, decorator: Google::Apis::ServicemanagementV1::ConfigFile::Representation + + property :id, as: 'id' + end + end + + class Context + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::ContextRule, decorator: Google::Apis::ServicemanagementV1::ContextRule::Representation end end - class Rollout + class ContextRule # @private class Representation < Google::Apis::Core::JsonRepresentation - property :status, as: 'status' - property :service_name, as: 'serviceName' - property :created_by, as: 'createdBy' - property :traffic_percent_strategy, as: 'trafficPercentStrategy', class: Google::Apis::ServicemanagementV1::TrafficPercentStrategy, decorator: Google::Apis::ServicemanagementV1::TrafficPercentStrategy::Representation - - property :rollout_id, as: 'rolloutId' - property :delete_service_strategy, as: 'deleteServiceStrategy', class: Google::Apis::ServicemanagementV1::DeleteServiceStrategy, decorator: Google::Apis::ServicemanagementV1::DeleteServiceStrategy::Representation - - property :create_time, as: 'createTime' + collection :provided, as: 'provided' + collection :requested, as: 'requested' + property :selector, as: 'selector' end end - class Quota + class Control # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :limits, as: 'limits', class: Google::Apis::ServicemanagementV1::QuotaLimit, decorator: Google::Apis::ServicemanagementV1::QuotaLimit::Representation - - collection :metric_rules, as: 'metricRules', class: Google::Apis::ServicemanagementV1::MetricRule, decorator: Google::Apis::ServicemanagementV1::MetricRule::Representation - + property :environment, as: 'environment' end end - class GenerateConfigReportRequest + class CounterOptions # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :old_config, as: 'oldConfig' - hash :new_config, as: 'newConfig' + property :field, as: 'field' + property :metric, as: 'metric' end end - class SetIamPolicyRequest + class CustomAuthRequirements # @private class Representation < Google::Apis::Core::JsonRepresentation - property :update_mask, as: 'updateMask' - property :policy, as: 'policy', class: Google::Apis::ServicemanagementV1::Policy, decorator: Google::Apis::ServicemanagementV1::Policy::Representation + property :provider, as: 'provider' + end + end + class CustomError + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::CustomErrorRule, decorator: Google::Apis::ServicemanagementV1::CustomErrorRule::Representation + + collection :types, as: 'types' + end + end + + class CustomErrorRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :is_error_type, as: 'isErrorType' + property :selector, as: 'selector' + end + end + + class CustomHttpPattern + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :path, as: 'path' + end + end + + class DataAccessOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :log_mode, as: 'logMode' end end @@ -660,26 +853,254 @@ module Google end end - class Step + class Diagnostic # @private class Representation < Google::Apis::Core::JsonRepresentation - property :status, as: 'status' + property :kind, as: 'kind' + property :location, as: 'location' + property :message, as: 'message' + end + end + + class DisableServiceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :consumer_id, as: 'consumerId' + end + end + + class Documentation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :documentation_root_url, as: 'documentationRootUrl' + property :overview, as: 'overview' + collection :pages, as: 'pages', class: Google::Apis::ServicemanagementV1::Page, decorator: Google::Apis::ServicemanagementV1::Page::Representation + + collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::DocumentationRule, decorator: Google::Apis::ServicemanagementV1::DocumentationRule::Representation + + property :summary, as: 'summary' + end + end + + class DocumentationRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :deprecation_description, as: 'deprecationDescription' property :description, as: 'description' + property :selector, as: 'selector' end end - class LoggingDestination + class EnableServiceRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :logs, as: 'logs' - property :monitored_resource, as: 'monitoredResource' + property :consumer_id, as: 'consumerId' end end - class Option + class Endpoint # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :value, as: 'value' + collection :aliases, as: 'aliases' + property :allow_cors, as: 'allowCors' + collection :apis, as: 'apis' + collection :features, as: 'features' + property :name, as: 'name' + property :target, as: 'target' + end + end + + class Enum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :enumvalue, as: 'enumvalue', class: Google::Apis::ServicemanagementV1::EnumValue, decorator: Google::Apis::ServicemanagementV1::EnumValue::Representation + + property :name, as: 'name' + collection :options, as: 'options', class: Google::Apis::ServicemanagementV1::Option, decorator: Google::Apis::ServicemanagementV1::Option::Representation + + property :source_context, as: 'sourceContext', class: Google::Apis::ServicemanagementV1::SourceContext, decorator: Google::Apis::ServicemanagementV1::SourceContext::Representation + + property :syntax, as: 'syntax' + end + end + + class EnumValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :number, as: 'number' + collection :options, as: 'options', class: Google::Apis::ServicemanagementV1::Option, decorator: Google::Apis::ServicemanagementV1::Option::Representation + + end + end + + class Experimental + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :authorization, as: 'authorization', class: Google::Apis::ServicemanagementV1::AuthorizationConfig, decorator: Google::Apis::ServicemanagementV1::AuthorizationConfig::Representation + + end + end + + class Expr + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :expression, as: 'expression' + property :location, as: 'location' + property :title, as: 'title' + end + end + + class Field + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cardinality, as: 'cardinality' + property :default_value, as: 'defaultValue' + property :json_name, as: 'jsonName' + property :kind, as: 'kind' + property :name, as: 'name' + property :number, as: 'number' + property :oneof_index, as: 'oneofIndex' + collection :options, as: 'options', class: Google::Apis::ServicemanagementV1::Option, decorator: Google::Apis::ServicemanagementV1::Option::Representation + + property :packed, as: 'packed' + property :type_url, as: 'typeUrl' + end + end + + class FlowOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cancel_state, as: 'cancelState' + property :deadline, as: 'deadline' + property :flow_name, as: 'flowName' + collection :resource_names, as: 'resourceNames' + property :start_time, as: 'startTime' + end + end + + class GenerateConfigReportRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :new_config, as: 'newConfig' + hash :old_config, as: 'oldConfig' + end + end + + class GenerateConfigReportResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :change_reports, as: 'changeReports', class: Google::Apis::ServicemanagementV1::ChangeReport, decorator: Google::Apis::ServicemanagementV1::ChangeReport::Representation + + collection :diagnostics, as: 'diagnostics', class: Google::Apis::ServicemanagementV1::Diagnostic, decorator: Google::Apis::ServicemanagementV1::Diagnostic::Representation + + property :id, as: 'id' + property :service_name, as: 'serviceName' + end + end + + class GetIamPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Http + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fully_decode_reserved_expansion, as: 'fullyDecodeReservedExpansion' + collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::HttpRule, decorator: Google::Apis::ServicemanagementV1::HttpRule::Representation + + end + end + + class HttpRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServicemanagementV1::HttpRule, decorator: Google::Apis::ServicemanagementV1::HttpRule::Representation + + property :body, as: 'body' + property :custom, as: 'custom', class: Google::Apis::ServicemanagementV1::CustomHttpPattern, decorator: Google::Apis::ServicemanagementV1::CustomHttpPattern::Representation + + property :delete, as: 'delete' + property :get, as: 'get' + property :media_download, as: 'mediaDownload', class: Google::Apis::ServicemanagementV1::MediaDownload, decorator: Google::Apis::ServicemanagementV1::MediaDownload::Representation + + property :media_upload, as: 'mediaUpload', class: Google::Apis::ServicemanagementV1::MediaUpload, decorator: Google::Apis::ServicemanagementV1::MediaUpload::Representation + + property :patch, as: 'patch' + property :post, as: 'post' + property :put, as: 'put' + property :response_body, as: 'responseBody' + property :selector, as: 'selector' + end + end + + class LabelDescriptor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :key, as: 'key' + property :value_type, as: 'valueType' + end + end + + class ListOperationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :operations, as: 'operations', class: Google::Apis::ServicemanagementV1::Operation, decorator: Google::Apis::ServicemanagementV1::Operation::Representation + + end + end + + class ListServiceConfigsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :service_configs, as: 'serviceConfigs', class: Google::Apis::ServicemanagementV1::Service, decorator: Google::Apis::ServicemanagementV1::Service::Representation + + end + end + + class ListServiceRolloutsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :rollouts, as: 'rollouts', class: Google::Apis::ServicemanagementV1::Rollout, decorator: Google::Apis::ServicemanagementV1::Rollout::Representation + + end + end + + class ListServicesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :services, as: 'services', class: Google::Apis::ServicemanagementV1::ManagedService, decorator: Google::Apis::ServicemanagementV1::ManagedService::Representation + + end + end + + class LogConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cloud_audit, as: 'cloudAudit', class: Google::Apis::ServicemanagementV1::CloudAuditOptions, decorator: Google::Apis::ServicemanagementV1::CloudAuditOptions::Representation + + property :counter, as: 'counter', class: Google::Apis::ServicemanagementV1::CounterOptions, decorator: Google::Apis::ServicemanagementV1::CounterOptions::Representation + + property :data_access, as: 'dataAccess', class: Google::Apis::ServicemanagementV1::DataAccessOptions, decorator: Google::Apis::ServicemanagementV1::DataAccessOptions::Representation + + end + end + + class LogDescriptor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :display_name, as: 'displayName' + collection :labels, as: 'labels', class: Google::Apis::ServicemanagementV1::LabelDescriptor, decorator: Google::Apis::ServicemanagementV1::LabelDescriptor::Representation + property :name, as: 'name' end end @@ -694,49 +1115,82 @@ module Google end end + class LoggingDestination + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :logs, as: 'logs' + property :monitored_resource, as: 'monitoredResource' + end + end + + class ManagedService + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :producer_project_id, as: 'producerProjectId' + property :service_name, as: 'serviceName' + end + end + + class MediaDownload + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :complete_notification, as: 'completeNotification' + property :download_service, as: 'downloadService' + property :dropzone, as: 'dropzone' + property :enabled, as: 'enabled' + property :max_direct_download_size, :numeric_string => true, as: 'maxDirectDownloadSize' + property :use_direct_download, as: 'useDirectDownload' + end + end + + class MediaUpload + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :complete_notification, as: 'completeNotification' + property :dropzone, as: 'dropzone' + property :enabled, as: 'enabled' + property :max_size, :numeric_string => true, as: 'maxSize' + collection :mime_types, as: 'mimeTypes' + property :progress_notification, as: 'progressNotification' + property :start_notification, as: 'startNotification' + property :upload_service, as: 'uploadService' + end + end + class MethodProp # @private class Representation < Google::Apis::Core::JsonRepresentation - property :response_streaming, as: 'responseStreaming' property :name, as: 'name' - property :request_type_url, as: 'requestTypeUrl' - property :request_streaming, as: 'requestStreaming' - property :syntax, as: 'syntax' - property :response_type_url, as: 'responseTypeUrl' collection :options, as: 'options', class: Google::Apis::ServicemanagementV1::Option, decorator: Google::Apis::ServicemanagementV1::Option::Representation + property :request_streaming, as: 'requestStreaming' + property :request_type_url, as: 'requestTypeUrl' + property :response_streaming, as: 'responseStreaming' + property :response_type_url, as: 'responseTypeUrl' + property :syntax, as: 'syntax' end end - class QuotaLimit + class MetricDescriptor # @private class Representation < Google::Apis::Core::JsonRepresentation - property :unit, as: 'unit' - property :max_limit, :numeric_string => true, as: 'maxLimit' - property :name, as: 'name' - property :duration, as: 'duration' - property :free_tier, :numeric_string => true, as: 'freeTier' - property :default_limit, :numeric_string => true, as: 'defaultLimit' - property :display_name, as: 'displayName' property :description, as: 'description' - property :metric, as: 'metric' - hash :values, as: 'values' - end - end + property :display_name, as: 'displayName' + collection :labels, as: 'labels', class: Google::Apis::ServicemanagementV1::LabelDescriptor, decorator: Google::Apis::ServicemanagementV1::LabelDescriptor::Representation - class ConfigRef - # @private - class Representation < Google::Apis::Core::JsonRepresentation + property :metric_kind, as: 'metricKind' property :name, as: 'name' + property :type, as: 'type' + property :unit, as: 'unit' + property :value_type, as: 'valueType' end end - class ListServiceRolloutsResponse + class MetricRule # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :rollouts, as: 'rollouts', class: Google::Apis::ServicemanagementV1::Rollout, decorator: Google::Apis::ServicemanagementV1::Rollout::Representation - + hash :metric_costs, as: 'metricCosts' + property :selector, as: 'selector' end end @@ -748,63 +1202,15 @@ module Google end end - class FlowOperationMetadata + class MonitoredResourceDescriptor # @private class Representation < Google::Apis::Core::JsonRepresentation - property :deadline, as: 'deadline' - property :cancel_state, as: 'cancelState' - property :start_time, as: 'startTime' - collection :resource_names, as: 'resourceNames' - property :flow_name, as: 'flowName' - end - end + property :description, as: 'description' + property :display_name, as: 'displayName' + collection :labels, as: 'labels', class: Google::Apis::ServicemanagementV1::LabelDescriptor, decorator: Google::Apis::ServicemanagementV1::LabelDescriptor::Representation - class CustomError - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::CustomErrorRule, decorator: Google::Apis::ServicemanagementV1::CustomErrorRule::Representation - - collection :types, as: 'types' - end - end - - class CounterOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :field, as: 'field' - property :metric, as: 'metric' - end - end - - class Http - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::HttpRule, decorator: Google::Apis::ServicemanagementV1::HttpRule::Representation - - property :fully_decode_reserved_expansion, as: 'fullyDecodeReservedExpansion' - end - end - - class SourceInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :source_files, as: 'sourceFiles' - end - end - - class Control - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :environment, as: 'environment' - end - end - - class SystemParameter - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :url_query_parameter, as: 'urlQueryParameter' - property :http_header, as: 'httpHeader' property :name, as: 'name' + property :type, as: 'type' end end @@ -818,128 +1224,227 @@ module Google end end - class Field + class MonitoringDestination # @private class Representation < Google::Apis::Core::JsonRepresentation - property :number, as: 'number' - property :kind, as: 'kind' - property :json_name, as: 'jsonName' - collection :options, as: 'options', class: Google::Apis::ServicemanagementV1::Option, decorator: Google::Apis::ServicemanagementV1::Option::Representation - - property :oneof_index, as: 'oneofIndex' - property :packed, as: 'packed' - property :cardinality, as: 'cardinality' - property :default_value, as: 'defaultValue' - property :name, as: 'name' - property :type_url, as: 'typeUrl' + collection :metrics, as: 'metrics' + property :monitored_resource, as: 'monitoredResource' end end - class TestIamPermissionsRequest + class OAuthRequirements # @private class Representation < Google::Apis::Core::JsonRepresentation + property :canonical_scopes, as: 'canonicalScopes' + end + end + + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::ServicemanagementV1::Status, decorator: Google::Apis::ServicemanagementV1::Status::Representation + + hash :metadata, as: 'metadata' + property :name, as: 'name' + hash :response, as: 'response' + end + end + + class OperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :progress_percentage, as: 'progressPercentage' + collection :resource_names, as: 'resourceNames' + property :start_time, as: 'startTime' + collection :steps, as: 'steps', class: Google::Apis::ServicemanagementV1::Step, decorator: Google::Apis::ServicemanagementV1::Step::Representation + + end + end + + class Option + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + hash :value, as: 'value' + end + end + + class Page + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content, as: 'content' + property :name, as: 'name' + collection :subpages, as: 'subpages', class: Google::Apis::ServicemanagementV1::Page, decorator: Google::Apis::ServicemanagementV1::Page::Representation + + end + end + + class Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :audit_configs, as: 'auditConfigs', class: Google::Apis::ServicemanagementV1::AuditConfig, decorator: Google::Apis::ServicemanagementV1::AuditConfig::Representation + + collection :bindings, as: 'bindings', class: Google::Apis::ServicemanagementV1::Binding, decorator: Google::Apis::ServicemanagementV1::Binding::Representation + + property :etag, :base64 => true, as: 'etag' + property :iam_owned, as: 'iamOwned' + collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::Rule, decorator: Google::Apis::ServicemanagementV1::Rule::Representation + + property :version, as: 'version' + end + end + + class Quota + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :limits, as: 'limits', class: Google::Apis::ServicemanagementV1::QuotaLimit, decorator: Google::Apis::ServicemanagementV1::QuotaLimit::Representation + + collection :metric_rules, as: 'metricRules', class: Google::Apis::ServicemanagementV1::MetricRule, decorator: Google::Apis::ServicemanagementV1::MetricRule::Representation + + end + end + + class QuotaLimit + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :default_limit, :numeric_string => true, as: 'defaultLimit' + property :description, as: 'description' + property :display_name, as: 'displayName' + property :duration, as: 'duration' + property :free_tier, :numeric_string => true, as: 'freeTier' + property :max_limit, :numeric_string => true, as: 'maxLimit' + property :metric, as: 'metric' + property :name, as: 'name' + property :unit, as: 'unit' + hash :values, as: 'values' + end + end + + class Rollout + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :created_by, as: 'createdBy' + property :delete_service_strategy, as: 'deleteServiceStrategy', class: Google::Apis::ServicemanagementV1::DeleteServiceStrategy, decorator: Google::Apis::ServicemanagementV1::DeleteServiceStrategy::Representation + + property :rollout_id, as: 'rolloutId' + property :service_name, as: 'serviceName' + property :status, as: 'status' + property :traffic_percent_strategy, as: 'trafficPercentStrategy', class: Google::Apis::ServicemanagementV1::TrafficPercentStrategy, decorator: Google::Apis::ServicemanagementV1::TrafficPercentStrategy::Representation + + end + end + + class Rule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :action, as: 'action' + collection :conditions, as: 'conditions', class: Google::Apis::ServicemanagementV1::Condition, decorator: Google::Apis::ServicemanagementV1::Condition::Representation + + property :description, as: 'description' + collection :in, as: 'in' + collection :log_config, as: 'logConfig', class: Google::Apis::ServicemanagementV1::LogConfig, decorator: Google::Apis::ServicemanagementV1::LogConfig::Representation + + collection :not_in, as: 'notIn' collection :permissions, as: 'permissions' end end - class Enum + class Service # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :options, as: 'options', class: Google::Apis::ServicemanagementV1::Option, decorator: Google::Apis::ServicemanagementV1::Option::Representation + collection :apis, as: 'apis', class: Google::Apis::ServicemanagementV1::Api, decorator: Google::Apis::ServicemanagementV1::Api::Representation - property :syntax, as: 'syntax' - property :source_context, as: 'sourceContext', class: Google::Apis::ServicemanagementV1::SourceContext, decorator: Google::Apis::ServicemanagementV1::SourceContext::Representation + property :authentication, as: 'authentication', class: Google::Apis::ServicemanagementV1::Authentication, decorator: Google::Apis::ServicemanagementV1::Authentication::Representation - collection :enumvalue, as: 'enumvalue', class: Google::Apis::ServicemanagementV1::EnumValue, decorator: Google::Apis::ServicemanagementV1::EnumValue::Representation + property :backend, as: 'backend', class: Google::Apis::ServicemanagementV1::Backend, decorator: Google::Apis::ServicemanagementV1::Backend::Representation - property :name, as: 'name' - end - end + property :config_version, as: 'configVersion' + property :context, as: 'context', class: Google::Apis::ServicemanagementV1::Context, decorator: Google::Apis::ServicemanagementV1::Context::Representation - class LabelDescriptor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value_type, as: 'valueType' - property :key, as: 'key' - property :description, as: 'description' - end - end + property :control, as: 'control', class: Google::Apis::ServicemanagementV1::Control, decorator: Google::Apis::ServicemanagementV1::Control::Representation - class Diagnostic - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :kind, as: 'kind' - property :message, as: 'message' - property :location, as: 'location' - end - end + property :custom_error, as: 'customError', class: Google::Apis::ServicemanagementV1::CustomError, decorator: Google::Apis::ServicemanagementV1::CustomError::Representation - class EnableServiceRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :consumer_id, as: 'consumerId' - end - end + property :documentation, as: 'documentation', class: Google::Apis::ServicemanagementV1::Documentation, decorator: Google::Apis::ServicemanagementV1::Documentation::Representation - class Type - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :fields, as: 'fields', class: Google::Apis::ServicemanagementV1::Field, decorator: Google::Apis::ServicemanagementV1::Field::Representation + collection :endpoints, as: 'endpoints', class: Google::Apis::ServicemanagementV1::Endpoint, decorator: Google::Apis::ServicemanagementV1::Endpoint::Representation - property :name, as: 'name' - collection :oneofs, as: 'oneofs' - property :syntax, as: 'syntax' - property :source_context, as: 'sourceContext', class: Google::Apis::ServicemanagementV1::SourceContext, decorator: Google::Apis::ServicemanagementV1::SourceContext::Representation + collection :enums, as: 'enums', class: Google::Apis::ServicemanagementV1::Enum, decorator: Google::Apis::ServicemanagementV1::Enum::Representation - collection :options, as: 'options', class: Google::Apis::ServicemanagementV1::Option, decorator: Google::Apis::ServicemanagementV1::Option::Representation + property :experimental, as: 'experimental', class: Google::Apis::ServicemanagementV1::Experimental, decorator: Google::Apis::ServicemanagementV1::Experimental::Representation - end - end - - class GenerateConfigReportResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :diagnostics, as: 'diagnostics', class: Google::Apis::ServicemanagementV1::Diagnostic, decorator: Google::Apis::ServicemanagementV1::Diagnostic::Representation - - property :service_name, as: 'serviceName' - collection :change_reports, as: 'changeReports', class: Google::Apis::ServicemanagementV1::ChangeReport, decorator: Google::Apis::ServicemanagementV1::ChangeReport::Representation + property :http, as: 'http', class: Google::Apis::ServicemanagementV1::Http, decorator: Google::Apis::ServicemanagementV1::Http::Representation property :id, as: 'id' - end - end + property :logging, as: 'logging', class: Google::Apis::ServicemanagementV1::Logging, decorator: Google::Apis::ServicemanagementV1::Logging::Representation - class ListServiceConfigsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :service_configs, as: 'serviceConfigs', class: Google::Apis::ServicemanagementV1::Service, decorator: Google::Apis::ServicemanagementV1::Service::Representation + collection :logs, as: 'logs', class: Google::Apis::ServicemanagementV1::LogDescriptor, decorator: Google::Apis::ServicemanagementV1::LogDescriptor::Representation - property :next_page_token, as: 'nextPageToken' - end - end + collection :metrics, as: 'metrics', class: Google::Apis::ServicemanagementV1::MetricDescriptor, decorator: Google::Apis::ServicemanagementV1::MetricDescriptor::Representation - class Experimental - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :authorization, as: 'authorization', class: Google::Apis::ServicemanagementV1::AuthorizationConfig, decorator: Google::Apis::ServicemanagementV1::AuthorizationConfig::Representation + collection :monitored_resources, as: 'monitoredResources', class: Google::Apis::ServicemanagementV1::MonitoredResourceDescriptor, decorator: Google::Apis::ServicemanagementV1::MonitoredResourceDescriptor::Representation + + property :monitoring, as: 'monitoring', class: Google::Apis::ServicemanagementV1::Monitoring, decorator: Google::Apis::ServicemanagementV1::Monitoring::Representation + + property :name, as: 'name' + property :producer_project_id, as: 'producerProjectId' + property :quota, as: 'quota', class: Google::Apis::ServicemanagementV1::Quota, decorator: Google::Apis::ServicemanagementV1::Quota::Representation + + property :source_info, as: 'sourceInfo', class: Google::Apis::ServicemanagementV1::SourceInfo, decorator: Google::Apis::ServicemanagementV1::SourceInfo::Representation + + property :system_parameters, as: 'systemParameters', class: Google::Apis::ServicemanagementV1::SystemParameters, decorator: Google::Apis::ServicemanagementV1::SystemParameters::Representation + + collection :system_types, as: 'systemTypes', class: Google::Apis::ServicemanagementV1::Type, decorator: Google::Apis::ServicemanagementV1::Type::Representation + + property :title, as: 'title' + collection :types, as: 'types', class: Google::Apis::ServicemanagementV1::Type, decorator: Google::Apis::ServicemanagementV1::Type::Representation + + property :usage, as: 'usage', class: Google::Apis::ServicemanagementV1::Usage, decorator: Google::Apis::ServicemanagementV1::Usage::Representation + + property :visibility, as: 'visibility', class: Google::Apis::ServicemanagementV1::Visibility, decorator: Google::Apis::ServicemanagementV1::Visibility::Representation end end - class Backend + class SetIamPolicyRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::BackendRule, decorator: Google::Apis::ServicemanagementV1::BackendRule::Representation + property :policy, as: 'policy', class: Google::Apis::ServicemanagementV1::Policy, decorator: Google::Apis::ServicemanagementV1::Policy::Representation + property :update_mask, as: 'updateMask' end end - class AuditConfig + class SourceContext # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :exempted_members, as: 'exemptedMembers' - property :service, as: 'service' - collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::ServicemanagementV1::AuditLogConfig, decorator: Google::Apis::ServicemanagementV1::AuditLogConfig::Representation + property :file_name, as: 'fileName' + end + end + class SourceInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :source_files, as: 'sourceFiles' + 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 Step + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :status, as: 'status' end end @@ -952,112 +1457,44 @@ module Google end end - class DocumentationRule + class SubmitConfigSourceResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :deprecation_description, as: 'deprecationDescription' - property :selector, as: 'selector' - property :description, as: 'description' + property :service_config, as: 'serviceConfig', class: Google::Apis::ServicemanagementV1::Service, decorator: Google::Apis::ServicemanagementV1::Service::Representation + end end - class AuthorizationConfig + class SystemParameter # @private class Representation < Google::Apis::Core::JsonRepresentation - property :provider, as: 'provider' - end - end - - class CloudAuditOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :log_name, as: 'logName' - property :is_read_permission_type, as: 'isReadPermissionType' - end - end - - class ContextRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :selector, as: 'selector' - collection :provided, as: 'provided' - collection :requested, as: 'requested' - end - end - - class MetricDescriptor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :unit, as: 'unit' - collection :labels, as: 'labels', class: Google::Apis::ServicemanagementV1::LabelDescriptor, decorator: Google::Apis::ServicemanagementV1::LabelDescriptor::Representation - + property :http_header, as: 'httpHeader' property :name, as: 'name' - property :type, as: 'type' - property :value_type, as: 'valueType' - property :metric_kind, as: 'metricKind' - property :description, as: 'description' - property :display_name, as: 'displayName' + property :url_query_parameter, as: 'urlQueryParameter' end end - class SourceContext + class SystemParameterRule # @private class Representation < Google::Apis::Core::JsonRepresentation - property :file_name, as: 'fileName' + collection :parameters, as: 'parameters', class: Google::Apis::ServicemanagementV1::SystemParameter, decorator: Google::Apis::ServicemanagementV1::SystemParameter::Representation + + property :selector, as: 'selector' end end - class Expr + class SystemParameters # @private class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :expression, as: 'expression' - property :location, as: 'location' - property :title, as: 'title' - end - end - - class ListServicesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :services, as: 'services', class: Google::Apis::ServicemanagementV1::ManagedService, decorator: Google::Apis::ServicemanagementV1::ManagedService::Representation + collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::SystemParameterRule, decorator: Google::Apis::ServicemanagementV1::SystemParameterRule::Representation end end - class Endpoint - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :features, as: 'features' - collection :apis, as: 'apis' - collection :aliases, as: 'aliases' - property :allow_cors, as: 'allowCors' - property :name, as: 'name' - property :target, as: 'target' - end - end - - class OAuthRequirements - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :canonical_scopes, as: 'canonicalScopes' - end - end - - class Usage - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :requirements, as: 'requirements' - property :producer_notification_channel, as: 'producerNotificationChannel' - collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::UsageRule, decorator: Google::Apis::ServicemanagementV1::UsageRule::Representation - - end - end - - class GetIamPolicyRequest + class TestIamPermissionsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' end end @@ -1068,149 +1505,43 @@ module Google end end - class Context + class TrafficPercentStrategy # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::ContextRule, decorator: Google::Apis::ServicemanagementV1::ContextRule::Representation - + hash :percentages, as: 'percentages' end end - class Rule + class Type # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :not_in, as: 'notIn' - property :description, as: 'description' - collection :conditions, as: 'conditions', class: Google::Apis::ServicemanagementV1::Condition, decorator: Google::Apis::ServicemanagementV1::Condition::Representation - - collection :log_config, as: 'logConfig', class: Google::Apis::ServicemanagementV1::LogConfig, decorator: Google::Apis::ServicemanagementV1::LogConfig::Representation - - collection :in, as: 'in' - collection :permissions, as: 'permissions' - property :action, as: 'action' - end - end - - class LogConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :counter, as: 'counter', class: Google::Apis::ServicemanagementV1::CounterOptions, decorator: Google::Apis::ServicemanagementV1::CounterOptions::Representation - - property :data_access, as: 'dataAccess', class: Google::Apis::ServicemanagementV1::DataAccessOptions, decorator: Google::Apis::ServicemanagementV1::DataAccessOptions::Representation - - property :cloud_audit, as: 'cloudAudit', class: Google::Apis::ServicemanagementV1::CloudAuditOptions, decorator: Google::Apis::ServicemanagementV1::CloudAuditOptions::Representation - - end - end - - class LogDescriptor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :labels, as: 'labels', class: Google::Apis::ServicemanagementV1::LabelDescriptor, decorator: Google::Apis::ServicemanagementV1::LabelDescriptor::Representation + collection :fields, as: 'fields', class: Google::Apis::ServicemanagementV1::Field, decorator: Google::Apis::ServicemanagementV1::Field::Representation property :name, as: 'name' - property :display_name, as: 'displayName' - property :description, as: 'description' + collection :oneofs, as: 'oneofs' + collection :options, as: 'options', class: Google::Apis::ServicemanagementV1::Option, decorator: Google::Apis::ServicemanagementV1::Option::Representation + + property :source_context, as: 'sourceContext', class: Google::Apis::ServicemanagementV1::SourceContext, decorator: Google::Apis::ServicemanagementV1::SourceContext::Representation + + property :syntax, as: 'syntax' end end - class ConfigFile + class UndeleteServiceResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :file_type, as: 'fileType' - property :file_contents, :base64 => true, as: 'fileContents' - property :file_path, as: 'filePath' - end - end - - class CustomErrorRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :is_error_type, as: 'isErrorType' - property :selector, as: 'selector' - end - end - - class MonitoredResourceDescriptor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :labels, as: 'labels', class: Google::Apis::ServicemanagementV1::LabelDescriptor, decorator: Google::Apis::ServicemanagementV1::LabelDescriptor::Representation - - property :name, as: 'name' - property :description, as: 'description' - property :display_name, as: 'displayName' - property :type, as: 'type' - end - end - - class CustomAuthRequirements - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :provider, as: 'provider' - end - end - - class MediaDownload - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :enabled, as: 'enabled' - property :download_service, as: 'downloadService' - property :complete_notification, as: 'completeNotification' - property :dropzone, as: 'dropzone' - property :max_direct_download_size, :numeric_string => true, as: 'maxDirectDownloadSize' - property :use_direct_download, as: 'useDirectDownload' - end - end - - class ChangeReport - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :config_changes, as: 'configChanges', class: Google::Apis::ServicemanagementV1::ConfigChange, decorator: Google::Apis::ServicemanagementV1::ConfigChange::Representation + property :service, as: 'service', class: Google::Apis::ServicemanagementV1::ManagedService, decorator: Google::Apis::ServicemanagementV1::ManagedService::Representation end end - class DisableServiceRequest + class Usage # @private class Representation < Google::Apis::Core::JsonRepresentation - property :consumer_id, as: 'consumerId' - end - end + property :producer_notification_channel, as: 'producerNotificationChannel' + collection :requirements, as: 'requirements' + collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::UsageRule, decorator: Google::Apis::ServicemanagementV1::UsageRule::Representation - class SubmitConfigSourceResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :service_config, as: 'serviceConfig', class: Google::Apis::ServicemanagementV1::Service, decorator: Google::Apis::ServicemanagementV1::Service::Representation - - end - end - - class MediaUpload - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :start_notification, as: 'startNotification' - property :upload_service, as: 'uploadService' - collection :mime_types, as: 'mimeTypes' - property :max_size, :numeric_string => true, as: 'maxSize' - property :complete_notification, as: 'completeNotification' - property :progress_notification, as: 'progressNotification' - property :enabled, as: 'enabled' - property :dropzone, as: 'dropzone' - end - end - - class Advice - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - end - end - - class ManagedService - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :service_name, as: 'serviceName' - property :producer_project_id, as: 'producerProjectId' end end @@ -1223,302 +1554,10 @@ module Google end end - class TrafficPercentStrategy + class Visibility # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :percentages, as: 'percentages' - end - end - - class AuthRequirement - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :audiences, as: 'audiences' - property :provider_id, as: 'providerId' - end - end - - class Condition - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :sys, as: 'sys' - property :iam, as: 'iam' - collection :values, as: 'values' - property :op, as: 'op' - property :svc, as: 'svc' - end - end - - class Documentation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :summary, as: 'summary' - property :documentation_root_url, as: 'documentationRootUrl' - property :overview, as: 'overview' - collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::DocumentationRule, decorator: Google::Apis::ServicemanagementV1::DocumentationRule::Representation - - collection :pages, as: 'pages', class: Google::Apis::ServicemanagementV1::Page, decorator: Google::Apis::ServicemanagementV1::Page::Representation - - end - end - - class AuditLogConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :log_type, as: 'logType' - collection :exempted_members, as: 'exemptedMembers' - end - end - - class ConfigSource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - collection :files, as: 'files', class: Google::Apis::ServicemanagementV1::ConfigFile, decorator: Google::Apis::ServicemanagementV1::ConfigFile::Representation - - end - end - - class BackendRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :min_deadline, as: 'minDeadline' - property :address, as: 'address' - property :selector, as: 'selector' - property :deadline, as: 'deadline' - end - end - - class AuthenticationRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :requirements, as: 'requirements', class: Google::Apis::ServicemanagementV1::AuthRequirement, decorator: Google::Apis::ServicemanagementV1::AuthRequirement::Representation - - property :allow_without_credential, as: 'allowWithoutCredential' - property :selector, as: 'selector' - property :custom_auth, as: 'customAuth', class: Google::Apis::ServicemanagementV1::CustomAuthRequirements, decorator: Google::Apis::ServicemanagementV1::CustomAuthRequirements::Representation - - property :oauth, as: 'oauth', class: Google::Apis::ServicemanagementV1::OAuthRequirements, decorator: Google::Apis::ServicemanagementV1::OAuthRequirements::Representation - - end - end - - class UndeleteServiceResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :service, as: 'service', class: Google::Apis::ServicemanagementV1::ManagedService, decorator: Google::Apis::ServicemanagementV1::ManagedService::Representation - - end - end - - class Policy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :iam_owned, as: 'iamOwned' - collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::Rule, decorator: Google::Apis::ServicemanagementV1::Rule::Representation - - property :version, as: 'version' - collection :audit_configs, as: 'auditConfigs', class: Google::Apis::ServicemanagementV1::AuditConfig, decorator: Google::Apis::ServicemanagementV1::AuditConfig::Representation - - collection :bindings, as: 'bindings', class: Google::Apis::ServicemanagementV1::Binding, decorator: Google::Apis::ServicemanagementV1::Binding::Representation - - property :etag, :base64 => true, as: 'etag' - end - end - - class Api - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :syntax, as: 'syntax' - property :source_context, as: 'sourceContext', class: Google::Apis::ServicemanagementV1::SourceContext, decorator: Google::Apis::ServicemanagementV1::SourceContext::Representation - - property :version, as: 'version' - collection :mixins, as: 'mixins', class: Google::Apis::ServicemanagementV1::Mixin, decorator: Google::Apis::ServicemanagementV1::Mixin::Representation - - collection :options, as: 'options', class: Google::Apis::ServicemanagementV1::Option, decorator: Google::Apis::ServicemanagementV1::Option::Representation - - collection :methods_prop, as: 'methods', class: Google::Apis::ServicemanagementV1::MethodProp, decorator: Google::Apis::ServicemanagementV1::MethodProp::Representation - - property :name, as: 'name' - end - end - - class DataAccessOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class MetricRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :metric_costs, as: 'metricCosts' - property :selector, as: 'selector' - end - end - - class Authentication - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::AuthenticationRule, decorator: Google::Apis::ServicemanagementV1::AuthenticationRule::Representation - - collection :providers, as: 'providers', class: Google::Apis::ServicemanagementV1::AuthProvider, decorator: Google::Apis::ServicemanagementV1::AuthProvider::Representation - - end - end - - class Operation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :error, as: 'error', class: Google::Apis::ServicemanagementV1::Status, decorator: Google::Apis::ServicemanagementV1::Status::Representation - - hash :metadata, as: 'metadata' - property :done, as: 'done' - hash :response, as: 'response' - end - end - - class Page - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :content, as: 'content' - collection :subpages, as: 'subpages', class: Google::Apis::ServicemanagementV1::Page, decorator: Google::Apis::ServicemanagementV1::Page::Representation - - end - end - - class Status - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :details, as: 'details' - property :code, as: 'code' - property :message, as: 'message' - end - end - - class Binding - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :condition, as: 'condition', class: Google::Apis::ServicemanagementV1::Expr, decorator: Google::Apis::ServicemanagementV1::Expr::Representation - - collection :members, as: 'members' - property :role, as: 'role' - end - end - - class AuthProvider - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :audiences, as: 'audiences' - property :issuer, as: 'issuer' - property :id, as: 'id' - property :jwks_uri, as: 'jwksUri' - end - end - - class EnumValue - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - collection :options, as: 'options', class: Google::Apis::ServicemanagementV1::Option, decorator: Google::Apis::ServicemanagementV1::Option::Representation - - property :number, as: 'number' - end - end - - class Service - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :types, as: 'types', class: Google::Apis::ServicemanagementV1::Type, decorator: Google::Apis::ServicemanagementV1::Type::Representation - - property :source_info, as: 'sourceInfo', class: Google::Apis::ServicemanagementV1::SourceInfo, decorator: Google::Apis::ServicemanagementV1::SourceInfo::Representation - - property :http, as: 'http', class: Google::Apis::ServicemanagementV1::Http, decorator: Google::Apis::ServicemanagementV1::Http::Representation - - property :backend, as: 'backend', class: Google::Apis::ServicemanagementV1::Backend, decorator: Google::Apis::ServicemanagementV1::Backend::Representation - - property :system_parameters, as: 'systemParameters', class: Google::Apis::ServicemanagementV1::SystemParameters, decorator: Google::Apis::ServicemanagementV1::SystemParameters::Representation - - property :documentation, as: 'documentation', class: Google::Apis::ServicemanagementV1::Documentation, decorator: Google::Apis::ServicemanagementV1::Documentation::Representation - - property :logging, as: 'logging', class: Google::Apis::ServicemanagementV1::Logging, decorator: Google::Apis::ServicemanagementV1::Logging::Representation - - collection :monitored_resources, as: 'monitoredResources', class: Google::Apis::ServicemanagementV1::MonitoredResourceDescriptor, decorator: Google::Apis::ServicemanagementV1::MonitoredResourceDescriptor::Representation - - property :context, as: 'context', class: Google::Apis::ServicemanagementV1::Context, decorator: Google::Apis::ServicemanagementV1::Context::Representation - - collection :enums, as: 'enums', class: Google::Apis::ServicemanagementV1::Enum, decorator: Google::Apis::ServicemanagementV1::Enum::Representation - - property :id, as: 'id' - property :usage, as: 'usage', class: Google::Apis::ServicemanagementV1::Usage, decorator: Google::Apis::ServicemanagementV1::Usage::Representation - - collection :metrics, as: 'metrics', class: Google::Apis::ServicemanagementV1::MetricDescriptor, decorator: Google::Apis::ServicemanagementV1::MetricDescriptor::Representation - - property :authentication, as: 'authentication', class: Google::Apis::ServicemanagementV1::Authentication, decorator: Google::Apis::ServicemanagementV1::Authentication::Representation - - property :experimental, as: 'experimental', class: Google::Apis::ServicemanagementV1::Experimental, decorator: Google::Apis::ServicemanagementV1::Experimental::Representation - - property :control, as: 'control', class: Google::Apis::ServicemanagementV1::Control, decorator: Google::Apis::ServicemanagementV1::Control::Representation - - property :config_version, as: 'configVersion' - property :monitoring, as: 'monitoring', class: Google::Apis::ServicemanagementV1::Monitoring, decorator: Google::Apis::ServicemanagementV1::Monitoring::Representation - - collection :system_types, as: 'systemTypes', class: Google::Apis::ServicemanagementV1::Type, decorator: Google::Apis::ServicemanagementV1::Type::Representation - - property :producer_project_id, as: 'producerProjectId' - property :visibility, as: 'visibility', class: Google::Apis::ServicemanagementV1::Visibility, decorator: Google::Apis::ServicemanagementV1::Visibility::Representation - - property :quota, as: 'quota', class: Google::Apis::ServicemanagementV1::Quota, decorator: Google::Apis::ServicemanagementV1::Quota::Representation - - property :name, as: 'name' - property :custom_error, as: 'customError', class: Google::Apis::ServicemanagementV1::CustomError, decorator: Google::Apis::ServicemanagementV1::CustomError::Representation - - property :title, as: 'title' - collection :endpoints, as: 'endpoints', class: Google::Apis::ServicemanagementV1::Endpoint, decorator: Google::Apis::ServicemanagementV1::Endpoint::Representation - - collection :logs, as: 'logs', class: Google::Apis::ServicemanagementV1::LogDescriptor, decorator: Google::Apis::ServicemanagementV1::LogDescriptor::Representation - - collection :apis, as: 'apis', class: Google::Apis::ServicemanagementV1::Api, decorator: Google::Apis::ServicemanagementV1::Api::Representation - - end - end - - class ListOperationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :operations, as: 'operations', class: Google::Apis::ServicemanagementV1::Operation, decorator: Google::Apis::ServicemanagementV1::Operation::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class OperationMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :progress_percentage, as: 'progressPercentage' - property :start_time, as: 'startTime' - collection :steps, as: 'steps', class: Google::Apis::ServicemanagementV1::Step, decorator: Google::Apis::ServicemanagementV1::Step::Representation - - collection :resource_names, as: 'resourceNames' - end - end - - class CustomHttpPattern - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :kind, as: 'kind' - property :path, as: 'path' - end - end - - class SystemParameterRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :selector, as: 'selector' - collection :parameters, as: 'parameters', class: Google::Apis::ServicemanagementV1::SystemParameter, decorator: Google::Apis::ServicemanagementV1::SystemParameter::Representation + collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::VisibilityRule, decorator: Google::Apis::ServicemanagementV1::VisibilityRule::Representation end end @@ -1530,46 +1569,6 @@ module Google property :selector, as: 'selector' end end - - class HttpRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :media_upload, as: 'mediaUpload', class: Google::Apis::ServicemanagementV1::MediaUpload, decorator: Google::Apis::ServicemanagementV1::MediaUpload::Representation - - property :selector, as: 'selector' - property :custom, as: 'custom', class: Google::Apis::ServicemanagementV1::CustomHttpPattern, decorator: Google::Apis::ServicemanagementV1::CustomHttpPattern::Representation - - property :get, as: 'get' - property :patch, as: 'patch' - property :put, as: 'put' - property :delete, as: 'delete' - property :body, as: 'body' - property :media_download, as: 'mediaDownload', class: Google::Apis::ServicemanagementV1::MediaDownload, decorator: Google::Apis::ServicemanagementV1::MediaDownload::Representation - - property :post, as: 'post' - property :rest_method_name, as: 'restMethodName' - collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServicemanagementV1::HttpRule, decorator: Google::Apis::ServicemanagementV1::HttpRule::Representation - - property :response_body, as: 'responseBody' - property :rest_collection, as: 'restCollection' - end - end - - class MonitoringDestination - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :metrics, as: 'metrics' - property :monitored_resource, as: 'monitoredResource' - end - end - - class Visibility - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::VisibilityRule, decorator: Google::Apis::ServicemanagementV1::VisibilityRule::Representation - - end - end end end end diff --git a/generated/google/apis/servicemanagement_v1/service.rb b/generated/google/apis/servicemanagement_v1/service.rb index 7b15b52fe..2da33a38f 100644 --- a/generated/google/apis/servicemanagement_v1/service.rb +++ b/generated/google/apis/servicemanagement_v1/service.rb @@ -54,11 +54,11 @@ module Google # 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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -71,13 +71,13 @@ 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_operation(name, quota_user: nil, fields: nil, options: nil, &block) + 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::ServicemanagementV1::Operation::Representation command.response_class = Google::Apis::ServicemanagementV1::Operation command.params['name'] = name unless name.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 @@ -100,18 +100,18 @@ module Google # * `serviceName=`some-service`.googleapis.com AND status=done` # * `serviceName=`some-service`.googleapis.com AND (status=done OR startTime>=" # 2017-02-01")` - # @param [String] page_token - # The standard list page token. # @param [String] name # Not used. # @param [Fixnum] page_size # The maximum number of operations to return. If unspecified, defaults to # 50. The maximum value is 100. + # @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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -124,136 +124,16 @@ 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_operations(filter: nil, page_token: nil, name: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/operations', options) command.response_representation = Google::Apis::ServicemanagementV1::ListOperationsResponse::Representation command.response_class = Google::Apis::ServicemanagementV1::ListOperationsResponse command.query['filter'] = filter unless filter.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['name'] = name unless name.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets the access control policy for a resource. - # Returns an empty policy if the resource exists and does not have a policy - # set. - # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. - # See the operation documentation for the appropriate value for this field. - # @param [Google::Apis::ServicemanagementV1::GetIamPolicyRequest] get_iam_policy_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::ServicemanagementV1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServicemanagementV1::Policy] - # - # @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_service_iam_policy(resource, get_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options) - command.request_representation = Google::Apis::ServicemanagementV1::GetIamPolicyRequest::Representation - command.request_object = get_iam_policy_request_object - command.response_representation = Google::Apis::ServicemanagementV1::Policy::Representation - command.response_class = Google::Apis::ServicemanagementV1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Revives a previously deleted managed service. The method restores the - # service using the configuration at the time the service was deleted. - # The target service must exist and must have been deleted within the - # last 30 days. - # Operation - # @param [String] service_name - # The name of the service. See the [overview](/service-management/overview) - # for naming requirements. For example: `example.googleapis.com`. - # @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::ServicemanagementV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServicemanagementV1::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 undelete_service(service_name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/services/{serviceName}:undelete', options) - command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation - command.response_class = Google::Apis::ServicemanagementV1::Operation - command.params['serviceName'] = service_name unless service_name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists managed services. - # Returns all public services. For authenticated users, also returns all - # services the calling user has "servicemanagement.services.get" permission - # for. - # **BETA:** If the caller specifies the `consumer_id`, it returns only the - # services enabled on the consumer. The `consumer_id` must have the format - # of "project:`PROJECT-ID`". - # @param [Fixnum] page_size - # Requested size of the next page of data. - # @param [String] producer_project_id - # Include services produced by the specified project. - # @param [String] consumer_id - # Include services consumed by the specified consumer. - # The Google Service Management implementation accepts the following - # forms: - # - project: - # @param [String] page_token - # Token identifying which result to start with; returned by a previous list - # call. - # @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::ServicemanagementV1::ListServicesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServicemanagementV1::ListServicesResponse] - # - # @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_services(page_size: nil, producer_project_id: nil, consumer_id: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/services', options) - command.response_representation = Google::Apis::ServicemanagementV1::ListServicesResponse::Representation - command.response_class = Google::Apis::ServicemanagementV1::ListServicesResponse - command.query['pageSize'] = page_size unless page_size.nil? - command.query['producerProjectId'] = producer_project_id unless producer_project_id.nil? - command.query['consumerId'] = consumer_id unless consumer_id.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 @@ -261,11 +141,11 @@ module Google # Please note one producer project can own no more than 20 services. # Operation # @param [Google::Apis::ServicemanagementV1::ManagedService] managed_service_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -278,14 +158,124 @@ 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 create_service(managed_service_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def create_service(managed_service_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/services', options) command.request_representation = Google::Apis::ServicemanagementV1::ManagedService::Representation command.request_object = managed_service_object command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation command.response_class = Google::Apis::ServicemanagementV1::Operation - 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 + + # Deletes a managed service. This method will change the service to the + # `Soft-Delete` state for 30 days. Within this period, service producers may + # call UndeleteService to restore the service. + # After 30 days, the service will be permanently deleted. + # Operation + # @param [String] service_name + # The name of the service. See the [overview](/service-management/overview) + # for naming requirements. For example: `example.googleapis.com`. + # @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::ServicemanagementV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ServicemanagementV1::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_service(service_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/services/{serviceName}', options) + command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation + command.response_class = Google::Apis::ServicemanagementV1::Operation + command.params['serviceName'] = service_name unless service_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 + + # Disables a service for a project, so it can no longer be + # be used for the project. It prevents accidental usage that may cause + # unexpected billing charges or security leaks. + # Operation + # @param [String] service_name + # Name of the service to disable. Specifying an unknown service name + # will cause the request to fail. + # @param [Google::Apis::ServicemanagementV1::DisableServiceRequest] disable_service_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::ServicemanagementV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ServicemanagementV1::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 disable_service(service_name, disable_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/services/{serviceName}:disable', options) + command.request_representation = Google::Apis::ServicemanagementV1::DisableServiceRequest::Representation + command.request_object = disable_service_request_object + command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation + command.response_class = Google::Apis::ServicemanagementV1::Operation + command.params['serviceName'] = service_name unless service_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 + + # Enables a service for a project, so it can be used + # for the project. See + # [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for + # more information. + # Operation + # @param [String] service_name + # Name of the service to enable. Specifying an unknown service name will + # cause the request to fail. + # @param [Google::Apis::ServicemanagementV1::EnableServiceRequest] enable_service_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::ServicemanagementV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ServicemanagementV1::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 enable_service(service_name, enable_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/services/{serviceName}:enable', options) + command.request_representation = Google::Apis::ServicemanagementV1::EnableServiceRequest::Representation + command.request_object = enable_service_request_object + command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation + command.response_class = Google::Apis::ServicemanagementV1::Operation + command.params['serviceName'] = service_name unless service_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 @@ -300,11 +290,11 @@ module Google # will compare GenerateConfigReportRequest.new_value with the last pushed # service configuration. # @param [Google::Apis::ServicemanagementV1::GenerateConfigReportRequest] generate_config_report_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -317,14 +307,14 @@ 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 generate_service_config_report(generate_config_report_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def generate_service_config_report(generate_config_report_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/services:generateConfigReport', options) command.request_representation = Google::Apis::ServicemanagementV1::GenerateConfigReportRequest::Representation command.request_object = generate_config_report_request_object command.response_representation = Google::Apis::ServicemanagementV1::GenerateConfigReportResponse::Representation command.response_class = Google::Apis::ServicemanagementV1::GenerateConfigReportResponse - 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 @@ -333,11 +323,11 @@ module Google # @param [String] service_name # The name of the service. See the `ServiceManager` overview for naming # requirements. For example: `example.googleapis.com`. + # @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 # @@ -350,52 +340,13 @@ 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_service(service_name, quota_user: nil, fields: nil, options: nil, &block) + def get_service(service_name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/services/{serviceName}', options) command.response_representation = Google::Apis::ServicemanagementV1::ManagedService::Representation command.response_class = Google::Apis::ServicemanagementV1::ManagedService command.params['serviceName'] = service_name unless service_name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Returns permissions that a caller has on the specified resource. - # If the resource does not exist, this will return an empty set of - # permissions, not a NOT_FOUND error. - # Note: This operation is designed to be used for building permission-aware - # UIs and command-line tools, not for authorization checking. This operation - # may "fail open" without warning. - # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. - # See the operation documentation for the appropriate value for this field. - # @param [Google::Apis::ServicemanagementV1::TestIamPermissionsRequest] test_iam_permissions_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::ServicemanagementV1::TestIamPermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServicemanagementV1::TestIamPermissionsResponse] - # - # @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 test_service_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) - command.request_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsRequest::Representation - command.request_object = test_iam_permissions_request_object - command.response_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse::Representation - command.response_class = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse - command.params['resource'] = resource unless resource.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -408,11 +359,11 @@ module Google # @param [String] view # Specifies which parts of the Service Config should be returned in the # response. + # @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 # @@ -425,102 +376,30 @@ 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_service_configuration(service_name, config_id: nil, view: nil, quota_user: nil, fields: nil, options: nil, &block) + def get_service_configuration(service_name, config_id: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/services/{serviceName}/config', options) command.response_representation = Google::Apis::ServicemanagementV1::Service::Representation command.response_class = Google::Apis::ServicemanagementV1::Service command.params['serviceName'] = service_name unless service_name.nil? command.query['configId'] = config_id unless config_id.nil? command.query['view'] = view unless view.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 - # Deletes a managed service. This method will change the service to the - # `Soft-Delete` state for 30 days. Within this period, service producers may - # call UndeleteService to restore the service. - # After 30 days, the service will be permanently deleted. - # Operation - # @param [String] service_name - # The name of the service. See the [overview](/service-management/overview) - # for naming requirements. For example: `example.googleapis.com`. - # @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::ServicemanagementV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServicemanagementV1::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_service(service_name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/services/{serviceName}', options) - command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation - command.response_class = Google::Apis::ServicemanagementV1::Operation - command.params['serviceName'] = service_name unless service_name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Enables a service for a project, so it can be used - # for the project. See - # [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for - # more information. - # Operation - # @param [String] service_name - # Name of the service to enable. Specifying an unknown service name will - # cause the request to fail. - # @param [Google::Apis::ServicemanagementV1::EnableServiceRequest] enable_service_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::ServicemanagementV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServicemanagementV1::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 enable_service(service_name, enable_service_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/services/{serviceName}:enable', options) - command.request_representation = Google::Apis::ServicemanagementV1::EnableServiceRequest::Representation - command.request_object = enable_service_request_object - command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation - command.response_class = Google::Apis::ServicemanagementV1::Operation - command.params['serviceName'] = service_name unless service_name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Sets the access control policy on the specified resource. Replaces any - # existing policy. + # Gets the access control policy for a resource. + # Returns an empty policy if the resource exists and does not have a policy + # set. # @param [String] resource - # REQUIRED: The resource for which the policy is being specified. + # REQUIRED: The resource for which the policy is being requested. # See the operation documentation for the appropriate value for this field. - # @param [Google::Apis::ServicemanagementV1::SetIamPolicyRequest] set_iam_policy_request_object + # @param [Google::Apis::ServicemanagementV1::GetIamPolicyRequest] get_iam_policy_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -533,52 +412,99 @@ 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 set_service_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def get_service_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options) + command.request_representation = Google::Apis::ServicemanagementV1::GetIamPolicyRequest::Representation + command.request_object = get_iam_policy_request_object + command.response_representation = Google::Apis::ServicemanagementV1::Policy::Representation + command.response_class = Google::Apis::ServicemanagementV1::Policy + command.params['resource'] = resource unless resource.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 managed services. + # Returns all public services. For authenticated users, also returns all + # services the calling user has "servicemanagement.services.get" permission + # for. + # **BETA:** If the caller specifies the `consumer_id`, it returns only the + # services enabled on the consumer. The `consumer_id` must have the format + # of "project:`PROJECT-ID`". + # @param [String] consumer_id + # Include services consumed by the specified consumer. + # The Google Service Management implementation accepts the following + # forms: + # - project: + # @param [Fixnum] page_size + # Requested size of the next page of data. + # @param [String] page_token + # Token identifying which result to start with; returned by a previous list + # call. + # @param [String] producer_project_id + # Include services produced by the specified project. + # @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::ServicemanagementV1::ListServicesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ServicemanagementV1::ListServicesResponse] + # + # @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_services(consumer_id: nil, page_size: nil, page_token: nil, producer_project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/services', options) + command.response_representation = Google::Apis::ServicemanagementV1::ListServicesResponse::Representation + command.response_class = Google::Apis::ServicemanagementV1::ListServicesResponse + command.query['consumerId'] = consumer_id unless consumer_id.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['producerProjectId'] = producer_project_id unless producer_project_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 + + # Sets the access control policy on the specified resource. Replaces any + # existing policy. + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::ServicemanagementV1::SetIamPolicyRequest] set_iam_policy_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::ServicemanagementV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ServicemanagementV1::Policy] + # + # @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 set_service_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) command.request_representation = Google::Apis::ServicemanagementV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::ServicemanagementV1::Policy::Representation command.response_class = Google::Apis::ServicemanagementV1::Policy command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Disables a service for a project, so it can no longer be - # be used for the project. It prevents accidental usage that may cause - # unexpected billing charges or security leaks. - # Operation - # @param [String] service_name - # Name of the service to disable. Specifying an unknown service name - # will cause the request to fail. - # @param [Google::Apis::ServicemanagementV1::DisableServiceRequest] disable_service_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::ServicemanagementV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServicemanagementV1::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 disable_service(service_name, disable_service_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/services/{serviceName}:disable', options) - command.request_representation = Google::Apis::ServicemanagementV1::DisableServiceRequest::Representation - command.request_object = disable_service_request_object - command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation - command.response_class = Google::Apis::ServicemanagementV1::Operation - command.params['serviceName'] = service_name unless service_name.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -592,11 +518,11 @@ module Google # REQUIRED: The resource for which the policy detail is being requested. # See the operation documentation for the appropriate value for this field. # @param [Google::Apis::ServicemanagementV1::TestIamPermissionsRequest] test_iam_permissions_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -609,15 +535,204 @@ 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 test_consumer_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def test_service_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) command.request_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsRequest::Representation command.request_object = test_iam_permissions_request_object command.response_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.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 + + # Revives a previously deleted managed service. The method restores the + # service using the configuration at the time the service was deleted. + # The target service must exist and must have been deleted within the + # last 30 days. + # Operation + # @param [String] service_name + # The name of the service. See the [overview](/service-management/overview) + # for naming requirements. For example: `example.googleapis.com`. + # @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::ServicemanagementV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ServicemanagementV1::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 undelete_service(service_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/services/{serviceName}:undelete', options) + command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation + command.response_class = Google::Apis::ServicemanagementV1::Operation + command.params['serviceName'] = service_name unless service_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 + + # Creates a new service configuration (version) for a managed service. + # This method only stores the service configuration. To roll out the service + # configuration to backend systems please call + # CreateServiceRollout. + # @param [String] service_name + # The name of the service. See the [overview](/service-management/overview) + # for naming requirements. For example: `example.googleapis.com`. + # @param [Google::Apis::ServicemanagementV1::Service] service_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::ServicemanagementV1::Service] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ServicemanagementV1::Service] + # + # @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_service_config(service_name, service_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/services/{serviceName}/configs', options) + command.request_representation = Google::Apis::ServicemanagementV1::Service::Representation + command.request_object = service_object + command.response_representation = Google::Apis::ServicemanagementV1::Service::Representation + command.response_class = Google::Apis::ServicemanagementV1::Service + command.params['serviceName'] = service_name unless service_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 a service configuration (version) for a managed service. + # @param [String] service_name + # The name of the service. See the [overview](/service-management/overview) + # for naming requirements. For example: `example.googleapis.com`. + # @param [String] config_id + # The id of the service configuration resource. + # @param [String] view + # Specifies which parts of the Service Config should be returned in the + # response. + # @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::ServicemanagementV1::Service] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ServicemanagementV1::Service] + # + # @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_service_config(service_name, config_id, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/services/{serviceName}/configs/{configId}', options) + command.response_representation = Google::Apis::ServicemanagementV1::Service::Representation + command.response_class = Google::Apis::ServicemanagementV1::Service + command.params['serviceName'] = service_name unless service_name.nil? + command.params['configId'] = config_id unless config_id.nil? + command.query['view'] = view unless view.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 the history of the service configuration for a managed service, + # from the newest to the oldest. + # @param [String] service_name + # The name of the service. See the [overview](/service-management/overview) + # for naming requirements. For example: `example.googleapis.com`. + # @param [Fixnum] page_size + # The max number of items to include in the response list. + # @param [String] page_token + # The token of the page to retrieve. + # @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::ServicemanagementV1::ListServiceConfigsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ServicemanagementV1::ListServiceConfigsResponse] + # + # @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_service_configs(service_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/services/{serviceName}/configs', options) + command.response_representation = Google::Apis::ServicemanagementV1::ListServiceConfigsResponse::Representation + command.response_class = Google::Apis::ServicemanagementV1::ListServiceConfigsResponse + command.params['serviceName'] = service_name unless service_name.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 + + # Creates a new service configuration (version) for a managed service based + # on + # user-supplied configuration source files (for example: OpenAPI + # Specification). This method stores the source configurations as well as the + # generated service configuration. To rollout the service configuration to + # other services, + # please call CreateServiceRollout. + # Operation + # @param [String] service_name + # The name of the service. See the [overview](/service-management/overview) + # for naming requirements. For example: `example.googleapis.com`. + # @param [Google::Apis::ServicemanagementV1::SubmitConfigSourceRequest] submit_config_source_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::ServicemanagementV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ServicemanagementV1::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 submit_config_source(service_name, submit_config_source_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/services/{serviceName}/configs:submit', options) + command.request_representation = Google::Apis::ServicemanagementV1::SubmitConfigSourceRequest::Representation + command.request_object = submit_config_source_request_object + command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation + command.response_class = Google::Apis::ServicemanagementV1::Operation + command.params['serviceName'] = service_name unless service_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 @@ -628,11 +743,11 @@ module Google # REQUIRED: The resource for which the policy is being requested. # See the operation documentation for the appropriate value for this field. # @param [Google::Apis::ServicemanagementV1::GetIamPolicyRequest] get_iam_policy_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -645,15 +760,15 @@ 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_consumer_iam_policy(resource, get_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def get_consumer_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options) command.request_representation = Google::Apis::ServicemanagementV1::GetIamPolicyRequest::Representation command.request_object = get_iam_policy_request_object command.response_representation = Google::Apis::ServicemanagementV1::Policy::Representation command.response_class = Google::Apis::ServicemanagementV1::Policy command.params['resource'] = resource unless resource.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 @@ -663,11 +778,11 @@ module Google # REQUIRED: The resource for which the policy is being specified. # See the operation documentation for the appropriate value for this field. # @param [Google::Apis::ServicemanagementV1::SetIamPolicyRequest] set_iam_policy_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -680,15 +795,95 @@ 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 set_consumer_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def set_consumer_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) command.request_representation = Google::Apis::ServicemanagementV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::ServicemanagementV1::Policy::Representation command.response_class = Google::Apis::ServicemanagementV1::Policy command.params['resource'] = resource unless resource.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 + + # Returns permissions that a caller has on the specified resource. + # If the resource does not exist, this will return an empty set of + # permissions, not a NOT_FOUND error. + # Note: This operation is designed to be used for building permission-aware + # UIs and command-line tools, not for authorization checking. This operation + # may "fail open" without warning. + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::ServicemanagementV1::TestIamPermissionsRequest] test_iam_permissions_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::ServicemanagementV1::TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ServicemanagementV1::TestIamPermissionsResponse] + # + # @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 test_consumer_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) + command.request_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsRequest::Representation + command.request_object = test_iam_permissions_request_object + command.response_representation = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::ServicemanagementV1::TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a new service configuration rollout. Based on rollout, the + # Google Service Management will roll out the service configurations to + # different backend services. For example, the logging configuration will be + # pushed to Google Cloud Logging. + # Please note that any previous pending and running Rollouts and associated + # Operations will be automatically cancelled so that the latest Rollout will + # not be blocked by previous Rollouts. + # Operation + # @param [String] service_name + # The name of the service. See the [overview](/service-management/overview) + # for naming requirements. For example: `example.googleapis.com`. + # @param [Google::Apis::ServicemanagementV1::Rollout] rollout_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::ServicemanagementV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ServicemanagementV1::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_service_rollout(service_name, rollout_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/services/{serviceName}/rollouts', options) + command.request_representation = Google::Apis::ServicemanagementV1::Rollout::Representation + command.request_object = rollout_object + command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation + command.response_class = Google::Apis::ServicemanagementV1::Operation + command.params['serviceName'] = service_name unless service_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 @@ -698,11 +893,11 @@ module Google # for naming requirements. For example: `example.googleapis.com`. # @param [String] rollout_id # The id of the rollout 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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -715,14 +910,14 @@ 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_service_rollout(service_name, rollout_id, quota_user: nil, fields: nil, options: nil, &block) + def get_service_rollout(service_name, rollout_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/services/{serviceName}/rollouts/{rolloutId}', options) command.response_representation = Google::Apis::ServicemanagementV1::Rollout::Representation command.response_class = Google::Apis::ServicemanagementV1::Rollout command.params['serviceName'] = service_name unless service_name.nil? command.params['rolloutId'] = rollout_id unless rollout_id.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 @@ -740,15 +935,15 @@ module Google # -- To limit the results to those in # [status](google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED' # or 'FAILED', use filter='status=CANCELLED OR status=FAILED' - # @param [String] page_token - # The token of the page to retrieve. # @param [Fixnum] page_size # The max number of items to include in the response list. + # @param [String] page_token + # The token of the page to retrieve. + # @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 # @@ -761,211 +956,16 @@ 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_service_rollouts(service_name, filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_service_rollouts(service_name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/services/{serviceName}/rollouts', options) command.response_representation = Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse::Representation command.response_class = Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse command.params['serviceName'] = service_name unless service_name.nil? command.query['filter'] = filter unless filter.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates a new service configuration rollout. Based on rollout, the - # Google Service Management will roll out the service configurations to - # different backend services. For example, the logging configuration will be - # pushed to Google Cloud Logging. - # Please note that any previous pending and running Rollouts and associated - # Operations will be automatically cancelled so that the latest Rollout will - # not be blocked by previous Rollouts. - # Operation - # @param [String] service_name - # The name of the service. See the [overview](/service-management/overview) - # for naming requirements. For example: `example.googleapis.com`. - # @param [Google::Apis::ServicemanagementV1::Rollout] rollout_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::ServicemanagementV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServicemanagementV1::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_service_rollout(service_name, rollout_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/services/{serviceName}/rollouts', options) - command.request_representation = Google::Apis::ServicemanagementV1::Rollout::Representation - command.request_object = rollout_object - command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation - command.response_class = Google::Apis::ServicemanagementV1::Operation - command.params['serviceName'] = service_name unless service_name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets a service configuration (version) for a managed service. - # @param [String] service_name - # The name of the service. See the [overview](/service-management/overview) - # for naming requirements. For example: `example.googleapis.com`. - # @param [String] config_id - # The id of the service configuration resource. - # @param [String] view - # Specifies which parts of the Service Config should be returned in the - # 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 - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ServicemanagementV1::Service] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServicemanagementV1::Service] - # - # @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_service_config(service_name, config_id, view: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/services/{serviceName}/configs/{configId}', options) - command.response_representation = Google::Apis::ServicemanagementV1::Service::Representation - command.response_class = Google::Apis::ServicemanagementV1::Service - command.params['serviceName'] = service_name unless service_name.nil? - command.params['configId'] = config_id unless config_id.nil? - command.query['view'] = view unless view.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists the history of the service configuration for a managed service, - # from the newest to the oldest. - # @param [String] service_name - # The name of the service. See the [overview](/service-management/overview) - # for naming requirements. For example: `example.googleapis.com`. - # @param [String] page_token - # The token of the page to retrieve. - # @param [Fixnum] page_size - # The max number of items to include in the response list. - # @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::ServicemanagementV1::ListServiceConfigsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServicemanagementV1::ListServiceConfigsResponse] - # - # @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_service_configs(service_name, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/services/{serviceName}/configs', options) - command.response_representation = Google::Apis::ServicemanagementV1::ListServiceConfigsResponse::Representation - command.response_class = Google::Apis::ServicemanagementV1::ListServiceConfigsResponse - command.params['serviceName'] = service_name unless service_name.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates a new service configuration (version) for a managed service. - # This method only stores the service configuration. To roll out the service - # configuration to backend systems please call - # CreateServiceRollout. - # @param [String] service_name - # The name of the service. See the [overview](/service-management/overview) - # for naming requirements. For example: `example.googleapis.com`. - # @param [Google::Apis::ServicemanagementV1::Service] service_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::ServicemanagementV1::Service] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServicemanagementV1::Service] - # - # @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_service_config(service_name, service_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/services/{serviceName}/configs', options) - command.request_representation = Google::Apis::ServicemanagementV1::Service::Representation - command.request_object = service_object - command.response_representation = Google::Apis::ServicemanagementV1::Service::Representation - command.response_class = Google::Apis::ServicemanagementV1::Service - command.params['serviceName'] = service_name unless service_name.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates a new service configuration (version) for a managed service based - # on - # user-supplied configuration source files (for example: OpenAPI - # Specification). This method stores the source configurations as well as the - # generated service configuration. To rollout the service configuration to - # other services, - # please call CreateServiceRollout. - # Operation - # @param [String] service_name - # The name of the service. See the [overview](/service-management/overview) - # for naming requirements. For example: `example.googleapis.com`. - # @param [Google::Apis::ServicemanagementV1::SubmitConfigSourceRequest] submit_config_source_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::ServicemanagementV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServicemanagementV1::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 submit_config_source(service_name, submit_config_source_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/services/{serviceName}/configs:submit', options) - command.request_representation = Google::Apis::ServicemanagementV1::SubmitConfigSourceRequest::Representation - command.request_object = submit_config_source_request_object - command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation - command.response_class = Google::Apis::ServicemanagementV1::Operation - command.params['serviceName'] = service_name unless service_name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end diff --git a/generated/google/apis/serviceuser_v1.rb b/generated/google/apis/serviceuser_v1.rb index eaa351dde..90ca9e675 100644 --- a/generated/google/apis/serviceuser_v1.rb +++ b/generated/google/apis/serviceuser_v1.rb @@ -27,16 +27,16 @@ module Google # @see https://cloud.google.com/service-management/ module ServiceuserV1 VERSION = 'V1' - REVISION = '20170630' + REVISION = '20170811' - # Manage your Google API service configuration - AUTH_SERVICE_MANAGEMENT = 'https://www.googleapis.com/auth/service.management' + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' # View your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' - # View and manage your data across Google Cloud Platform services - AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + # Manage your Google API service configuration + AUTH_SERVICE_MANAGEMENT = 'https://www.googleapis.com/auth/service.management' end end end diff --git a/generated/google/apis/serviceuser_v1/classes.rb b/generated/google/apis/serviceuser_v1/classes.rb index 5090e3463..cedf67e8f 100644 --- a/generated/google/apis/serviceuser_v1/classes.rb +++ b/generated/google/apis/serviceuser_v1/classes.rb @@ -22,93 +22,69 @@ module Google module Apis module ServiceuserV1 - # Response message for `ListEnabledServices` method. - class ListEnabledServicesResponse + # Api is a light-weight descriptor for an API Interface. + # Interfaces are also described as "protocol buffer services" in some contexts, + # such as by the "service" keyword in a .proto file, but they are different + # from API Services, which represent a concrete implementation of an interface + # as opposed to simply a description of methods and bindings. They are also + # sometimes simply referred to as "APIs" in other contexts, such as the name of + # this message itself. See https://cloud.google.com/apis/design/glossary for + # detailed terminology. + class Api include Google::Apis::Core::Hashable - # Token that can be passed to `ListEnabledServices` to resume a paginated - # query. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token + # The methods of this interface, in unspecified order. + # Corresponds to the JSON property `methods` + # @return [Array] + attr_accessor :methods_prop - # Services enabled for the specified parent. - # Corresponds to the JSON property `services` - # @return [Array] - attr_accessor :services + # Included interfaces. See Mixin. + # Corresponds to the JSON property `mixins` + # @return [Array] + attr_accessor :mixins - 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) - @services = args[:services] if args.key?(:services) - end - end - - # `Endpoint` describes a network endpoint that serves a set of APIs. - # A service may expose any number of endpoints, and all endpoints share the - # same service configuration, such as quota configuration and monitoring - # configuration. - # Example service configuration: - # name: library-example.googleapis.com - # endpoints: - # # Below entry makes 'google.example.library.v1.Library' - # # API be served from endpoint address library-example.googleapis.com. - # # It also allows HTTP OPTIONS calls to be passed to the backend, for - # # it to decide whether the subsequent cross-origin request is - # # allowed to proceed. - # - name: library-example.googleapis.com - # allow_cors: true - class Endpoint - include Google::Apis::Core::Hashable - - # The list of features enabled on this endpoint. - # Corresponds to the JSON property `features` - # @return [Array] - attr_accessor :features - - # The list of APIs served by this endpoint. - # If no APIs are specified this translates to "all APIs" exported by the - # service, as defined in the top-level service configuration. - # Corresponds to the JSON property `apis` - # @return [Array] - attr_accessor :apis - - # Allowing - # [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka - # cross-domain traffic, would allow the backends served from this endpoint to - # receive and respond to HTTP OPTIONS requests. The response will be used by - # the browser to determine whether the subsequent cross-origin request is - # allowed to proceed. - # Corresponds to the JSON property `allowCors` - # @return [Boolean] - attr_accessor :allow_cors - alias_method :allow_cors?, :allow_cors - - # DEPRECATED: This field is no longer supported. Instead of using aliases, - # please specify multiple google.api.Endpoint for each of the intented - # alias. - # Additional names that this endpoint will be hosted on. - # Corresponds to the JSON property `aliases` - # @return [Array] - attr_accessor :aliases - - # The canonical name of this endpoint. + # The fully qualified name of this interface, including package name + # followed by the interface's simple name. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # The specification of an Internet routable address of API frontend that will - # handle requests to this [API Endpoint](https://cloud.google.com/apis/design/ - # glossary). - # It should be either a valid IPv4 address or a fully-qualified domain name. - # For example, "8.8.8.8" or "myservice.appspot.com". - # Corresponds to the JSON property `target` + # Any metadata attached to the interface. + # Corresponds to the JSON property `options` + # @return [Array] + attr_accessor :options + + # `SourceContext` represents information about the source of a + # protobuf element, like the file in which it is defined. + # Corresponds to the JSON property `sourceContext` + # @return [Google::Apis::ServiceuserV1::SourceContext] + attr_accessor :source_context + + # The source syntax of the service. + # Corresponds to the JSON property `syntax` # @return [String] - attr_accessor :target + attr_accessor :syntax + + # A version string for this interface. If specified, must have the form + # `major-version.minor-version`, as in `1.10`. If the minor version is + # omitted, it defaults to zero. If the entire version field is empty, the + # major version is derived from the package name, as outlined below. If the + # field is not empty, the version in the package name will be verified to be + # consistent with what is provided here. + # The versioning schema uses [semantic + # versioning](http://semver.org) where the major version number + # indicates a breaking change and the minor version an additive, + # non-breaking change. Both version numbers are signals to users + # what to expect from different versions, and should be carefully + # chosen based on the product plan. + # The major version is also reflected in the package name of the + # interface, which must end in `v`, as in + # `google.feature.v1`. For major versions 0 and 1, the suffix can + # be omitted. Zero major versions must only be used for + # experimental, non-GA interfaces. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version def initialize(**args) update!(**args) @@ -116,40 +92,75 @@ module Google # Update properties of this object def update!(**args) - @features = args[:features] if args.key?(:features) - @apis = args[:apis] if args.key?(:apis) - @allow_cors = args[:allow_cors] if args.key?(:allow_cors) - @aliases = args[:aliases] if args.key?(:aliases) + @methods_prop = args[:methods_prop] if args.key?(:methods_prop) + @mixins = args[:mixins] if args.key?(:mixins) @name = args[:name] if args.key?(:name) - @target = args[:target] if args.key?(:target) + @options = args[:options] if args.key?(:options) + @source_context = args[:source_context] if args.key?(:source_context) + @syntax = args[:syntax] if args.key?(:syntax) + @version = args[:version] if args.key?(:version) end end - # OAuth scopes are a way to define data and permissions on data. For example, - # there are scopes defined for "Read-only access to Google Calendar" and - # "Access to Cloud Platform". Users can consent to a scope for an application, - # giving it permission to access that data on their behalf. - # OAuth scope specifications should be fairly coarse grained; a user will need - # to see and understand the text description of what your scope means. - # In most cases: use one or at most two OAuth scopes for an entire family of - # products. If your product has multiple APIs, you should probably be sharing - # the OAuth scope across all of those APIs. - # When you need finer grained OAuth consent screens: talk with your product - # management about how developers will use them in practice. - # Please note that even though each of the canonical scopes is enough for a - # request to be accepted and passed to the backend, a request can still fail - # due to the backend requiring additional scopes or permissions. - class OAuthRequirements + # Configuration for an anthentication provider, including support for + # [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web- + # token-32). + class AuthProvider include Google::Apis::Core::Hashable - # The list of publicly documented OAuth scopes that are allowed access. An - # OAuth token containing any of these scopes will be accepted. + # The list of JWT + # [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32# + # section-4.1.3). + # that are allowed to access. A JWT containing any of these audiences will + # be accepted. When this setting is absent, only JWTs with audience + # "https://Service_name/API_name" + # will be accepted. For example, if no audiences are in the setting, + # LibraryService API will only accept JWTs with the following audience + # "https://library-example.googleapis.com/google.example.library.v1. + # LibraryService". # Example: - # canonical_scopes: https://www.googleapis.com/auth/calendar, - # https://www.googleapis.com/auth/calendar.read - # Corresponds to the JSON property `canonicalScopes` + # audiences: bookstore_android.apps.googleusercontent.com, + # bookstore_web.apps.googleusercontent.com + # Corresponds to the JSON property `audiences` # @return [String] - attr_accessor :canonical_scopes + attr_accessor :audiences + + # Redirect URL if JWT token is required but no present or is expired. + # Implement authorizationUrl of securityDefinitions in OpenAPI spec. + # Corresponds to the JSON property `authorizationUrl` + # @return [String] + attr_accessor :authorization_url + + # The unique identifier of the auth provider. It will be referred to by + # `AuthRequirement.provider_id`. + # Example: "bookstore_auth". + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies the principal that issued the JWT. See + # https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 + # Usually a URL or an email address. + # Example: https://securetoken.google.com + # Example: 1234567-compute@developer.gserviceaccount.com + # Corresponds to the JSON property `issuer` + # @return [String] + attr_accessor :issuer + + # URL of the provider's public key set to validate signature of the JWT. See + # [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html# + # ProviderMetadata). + # Optional if the key set document: + # - can be retrieved from + # [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0. + # html + # of the issuer. + # - can be inferred from the email domain of the issuer (e.g. a Google service + # account). + # Example: https://www.googleapis.com/oauth2/v1/certs + # Corresponds to the JSON property `jwksUri` + # @return [String] + attr_accessor :jwks_uri def initialize(**args) update!(**args) @@ -157,465 +168,11 @@ module Google # Update properties of this object def update!(**args) - @canonical_scopes = args[:canonical_scopes] if args.key?(:canonical_scopes) - end - end - - # Configuration controlling usage of a service. - class Usage - include Google::Apis::Core::Hashable - - # Requirements that must be satisfied before a consumer project can use the - # service. Each requirement is of the form /; - # for example 'serviceusage.googleapis.com/billing-enabled'. - # Corresponds to the JSON property `requirements` - # @return [Array] - attr_accessor :requirements - - # The full resource name of a channel used for sending notifications to the - # service producer. - # Google Service Management currently only supports - # [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification - # channel. To use Google Cloud Pub/Sub as the channel, this must be the name - # of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format - # documented in https://cloud.google.com/pubsub/docs/overview. - # Corresponds to the JSON property `producerNotificationChannel` - # @return [String] - attr_accessor :producer_notification_channel - - # A list of usage rules that apply to individual API methods. - # **NOTE:** All service configuration rules follow "last one wins" order. - # Corresponds to the JSON property `rules` - # @return [Array] - attr_accessor :rules - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @requirements = args[:requirements] if args.key?(:requirements) - @producer_notification_channel = args[:producer_notification_channel] if args.key?(:producer_notification_channel) - @rules = args[:rules] if args.key?(:rules) - end - end - - # `Context` defines which contexts an API requests. - # Example: - # context: - # rules: - # - selector: "*" - # requested: - # - google.rpc.context.ProjectContext - # - google.rpc.context.OriginContext - # The above specifies that all methods in the API request - # `google.rpc.context.ProjectContext` and - # `google.rpc.context.OriginContext`. - # Available context types are defined in package - # `google.rpc.context`. - class Context - include Google::Apis::Core::Hashable - - # A list of RPC context rules that apply to individual API methods. - # **NOTE:** All service configuration rules follow "last one wins" order. - # Corresponds to the JSON property `rules` - # @return [Array] - attr_accessor :rules - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @rules = args[:rules] if args.key?(:rules) - end - end - - # A description of a log type. Example in YAML format: - # - name: library.googleapis.com/activity_history - # description: The history of borrowing and returning library items. - # display_name: Activity - # labels: - # - key: /customer_id - # description: Identifier of a library customer - class LogDescriptor - include Google::Apis::Core::Hashable - - # The set of labels that are available to describe a specific log entry. - # Runtime requests that contain labels not specified here are - # considered invalid. - # Corresponds to the JSON property `labels` - # @return [Array] - attr_accessor :labels - - # The name of the log. It must be less than 512 characters long and can - # include the following characters: upper- and lower-case alphanumeric - # characters [A-Za-z0-9], and punctuation characters including - # slash, underscore, hyphen, period [/_-.]. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The human-readable name for this log. This information appears on - # the user interface and should be concise. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # A human-readable description of this log. This information appears in - # the documentation and can contain details. - # 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) - @labels = args[:labels] if args.key?(:labels) - @name = args[:name] if args.key?(:name) - @display_name = args[:display_name] if args.key?(:display_name) - @description = args[:description] if args.key?(:description) - end - end - - # An object that describes the schema of a MonitoredResource object using a - # type name and a set of labels. For example, the monitored resource - # descriptor for Google Compute Engine VM instances has a type of - # `"gce_instance"` and specifies the use of the labels `"instance_id"` and - # `"zone"` to identify particular VM instances. - # Different APIs can support different monitored resource types. APIs generally - # provide a `list` method that returns the monitored resource descriptors used - # by the API. - class MonitoredResourceDescriptor - include Google::Apis::Core::Hashable - - # Optional. The resource name of the monitored resource descriptor: - # `"projects/`project_id`/monitoredResourceDescriptors/`type`"` where - # `type` is the value of the `type` field in this object and - # `project_id` is a project ID that provides API-specific context for - # accessing the type. APIs that do not use project information can use the - # resource name format `"monitoredResourceDescriptors/`type`"`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Optional. A detailed description of the monitored resource type that might - # be used in documentation. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Optional. A concise name for the monitored resource type that might be - # displayed in user interfaces. It should be a Title Cased Noun Phrase, - # without any article or other determiners. For example, - # `"Google Cloud SQL Database"`. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Required. The monitored resource type. For example, the type - # `"cloudsql_database"` represents databases in Google Cloud SQL. - # The maximum length of this value is 256 characters. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # Required. A set of labels used to describe instances of this monitored - # resource type. For example, an individual Google Cloud SQL database is - # identified by values for the labels `"database_id"` and `"zone"`. - # Corresponds to the JSON property `labels` - # @return [Array] - attr_accessor :labels - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @description = args[:description] if args.key?(:description) - @display_name = args[:display_name] if args.key?(:display_name) - @type = args[:type] if args.key?(:type) - @labels = args[:labels] if args.key?(:labels) - end - end - - # A custom error rule. - class CustomErrorRule - include Google::Apis::Core::Hashable - - # Mark this message as possible payload in error response. Otherwise, - # objects of this type will be filtered when they appear in error payload. - # Corresponds to the JSON property `isErrorType` - # @return [Boolean] - attr_accessor :is_error_type - alias_method :is_error_type?, :is_error_type - - # Selects messages to which this rule applies. - # Refer to selector for syntax details. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @is_error_type = args[:is_error_type] if args.key?(:is_error_type) - @selector = args[:selector] if args.key?(:selector) - end - end - - # Configuration for a custom authentication provider. - class CustomAuthRequirements - include Google::Apis::Core::Hashable - - # A configuration string containing connection information for the - # authentication provider, typically formatted as a SmartService string - # (go/smartservice). - # Corresponds to the JSON property `provider` - # @return [String] - attr_accessor :provider - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @provider = args[:provider] if args.key?(:provider) - end - end - - # Defines the Media configuration for a service in case of a download. - # Use this only for Scotty Requests. Do not use this for media support using - # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to - # your configuration for Bytestream methods. - class MediaDownload - include Google::Apis::Core::Hashable - - # A boolean that determines whether a notification for the completion of a - # download should be sent to the backend. - # Corresponds to the JSON property `completeNotification` - # @return [Boolean] - attr_accessor :complete_notification - alias_method :complete_notification?, :complete_notification - - # Whether download is enabled. - # Corresponds to the JSON property `enabled` - # @return [Boolean] - attr_accessor :enabled - alias_method :enabled?, :enabled - - # DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED. - # Specify name of the download service if one is used for download. - # Corresponds to the JSON property `downloadService` - # @return [String] - attr_accessor :download_service - - # Optional maximum acceptable size for direct download. - # The size is specified in bytes. - # Corresponds to the JSON property `maxDirectDownloadSize` - # @return [Fixnum] - attr_accessor :max_direct_download_size - - # Name of the Scotty dropzone to use for the current API. - # Corresponds to the JSON property `dropzone` - # @return [String] - attr_accessor :dropzone - - # A boolean that determines if direct download from ESF should be used for - # download of this media. - # Corresponds to the JSON property `useDirectDownload` - # @return [Boolean] - attr_accessor :use_direct_download - alias_method :use_direct_download?, :use_direct_download - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @complete_notification = args[:complete_notification] if args.key?(:complete_notification) - @enabled = args[:enabled] if args.key?(:enabled) - @download_service = args[:download_service] if args.key?(:download_service) - @max_direct_download_size = args[:max_direct_download_size] if args.key?(:max_direct_download_size) - @dropzone = args[:dropzone] if args.key?(:dropzone) - @use_direct_download = args[:use_direct_download] if args.key?(:use_direct_download) - end - end - - # Request message for DisableService method. - class DisableServiceRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Response message for SearchServices method. - class SearchServicesResponse - include Google::Apis::Core::Hashable - - # Token that can be passed to `ListAvailableServices` to resume a paginated - # query. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Services available publicly or available to the authenticated caller. - # Corresponds to the JSON property `services` - # @return [Array] - attr_accessor :services - - 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) - @services = args[:services] if args.key?(:services) - end - end - - # Defines the Media configuration for a service in case of an upload. - # Use this only for Scotty Requests. Do not use this for media support using - # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to - # your configuration for Bytestream methods. - class MediaUpload - include Google::Apis::Core::Hashable - - # DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED. - # Specify name of the upload service if one is used for upload. - # Corresponds to the JSON property `uploadService` - # @return [String] - attr_accessor :upload_service - - # Optional maximum acceptable size for an upload. - # The size is specified in bytes. - # Corresponds to the JSON property `maxSize` - # @return [Fixnum] - attr_accessor :max_size - - # An array of mimetype patterns. Esf will only accept uploads that match one - # of the given patterns. - # Corresponds to the JSON property `mimeTypes` - # @return [Array] - attr_accessor :mime_types - - # Whether upload is enabled. - # Corresponds to the JSON property `enabled` - # @return [Boolean] - attr_accessor :enabled - alias_method :enabled?, :enabled - - # Whether to receive a notification for progress changes of media upload. - # Corresponds to the JSON property `progressNotification` - # @return [Boolean] - attr_accessor :progress_notification - alias_method :progress_notification?, :progress_notification - - # A boolean that determines whether a notification for the completion of an - # upload should be sent to the backend. These notifications will not be seen - # by the client and will not consume quota. - # Corresponds to the JSON property `completeNotification` - # @return [Boolean] - attr_accessor :complete_notification - alias_method :complete_notification?, :complete_notification - - # Name of the Scotty dropzone to use for the current API. - # Corresponds to the JSON property `dropzone` - # @return [String] - attr_accessor :dropzone - - # Whether to receive a notification on the start of media upload. - # Corresponds to the JSON property `startNotification` - # @return [Boolean] - attr_accessor :start_notification - alias_method :start_notification?, :start_notification - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @upload_service = args[:upload_service] if args.key?(:upload_service) - @max_size = args[:max_size] if args.key?(:max_size) - @mime_types = args[:mime_types] if args.key?(:mime_types) - @enabled = args[:enabled] if args.key?(:enabled) - @progress_notification = args[:progress_notification] if args.key?(:progress_notification) - @complete_notification = args[:complete_notification] if args.key?(:complete_notification) - @dropzone = args[:dropzone] if args.key?(:dropzone) - @start_notification = args[:start_notification] if args.key?(:start_notification) - end - end - - # Usage configuration rules for the service. - # NOTE: Under development. - # Use this rule to configure unregistered calls for the service. Unregistered - # calls are calls that do not contain consumer project identity. - # (Example: calls that do not contain an API key). - # By default, API methods do not allow unregistered calls, and each method call - # must be identified by a consumer project identity. Use this rule to - # allow/disallow unregistered calls. - # Example of an API that wants to allow unregistered calls for entire service. - # usage: - # rules: - # - selector: "*" - # allow_unregistered_calls: true - # Example of a method that wants to allow unregistered calls. - # usage: - # rules: - # - selector: "google.example.library.v1.LibraryService.CreateBook" - # allow_unregistered_calls: true - class UsageRule - include Google::Apis::Core::Hashable - - # True, if the method allows unregistered calls; false otherwise. - # Corresponds to the JSON property `allowUnregisteredCalls` - # @return [Boolean] - attr_accessor :allow_unregistered_calls - alias_method :allow_unregistered_calls?, :allow_unregistered_calls - - # Selects the methods to which this rule applies. Use '*' to indicate all - # methods in all APIs. - # Refer to selector for syntax details. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector - - # True, if the method should skip service control. If so, no control plane - # feature (like quota and billing) will be enabled. - # Corresponds to the JSON property `skipServiceControl` - # @return [Boolean] - attr_accessor :skip_service_control - alias_method :skip_service_control?, :skip_service_control - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @allow_unregistered_calls = args[:allow_unregistered_calls] if args.key?(:allow_unregistered_calls) - @selector = args[:selector] if args.key?(:selector) - @skip_service_control = args[:skip_service_control] if args.key?(:skip_service_control) + @audiences = args[:audiences] if args.key?(:audiences) + @authorization_url = args[:authorization_url] if args.key?(:authorization_url) + @id = args[:id] if args.key?(:id) + @issuer = args[:issuer] if args.key?(:issuer) + @jwks_uri = args[:jwks_uri] if args.key?(:jwks_uri) end end @@ -662,6 +219,448 @@ module Google end end + # `Authentication` defines the authentication configuration for an API. + # Example for an API targeted for external use: + # name: calendar.googleapis.com + # authentication: + # providers: + # - id: google_calendar_auth + # jwks_uri: https://www.googleapis.com/oauth2/v1/certs + # issuer: https://securetoken.google.com + # rules: + # - selector: "*" + # requirements: + # provider_id: google_calendar_auth + class Authentication + include Google::Apis::Core::Hashable + + # Defines a set of authentication providers that a service supports. + # Corresponds to the JSON property `providers` + # @return [Array] + attr_accessor :providers + + # A list of authentication rules that apply to individual API methods. + # **NOTE:** All service configuration rules follow "last one wins" order. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @providers = args[:providers] if args.key?(:providers) + @rules = args[:rules] if args.key?(:rules) + end + end + + # Authentication rules for the service. + # By default, if a method has any authentication requirements, every request + # must include a valid credential matching one of the requirements. + # It's an error to include more than one kind of credential in a single + # request. + # If a method doesn't have any auth requirements, request credentials will be + # ignored. + class AuthenticationRule + include Google::Apis::Core::Hashable + + # Whether to allow requests without a credential. The credential can be + # an OAuth token, Google cookies (first-party auth) or EndUserCreds. + # For requests without credentials, if the service control environment is + # specified, each incoming request **must** be associated with a service + # consumer. This can be done by passing an API key that belongs to a consumer + # project. + # Corresponds to the JSON property `allowWithoutCredential` + # @return [Boolean] + attr_accessor :allow_without_credential + alias_method :allow_without_credential?, :allow_without_credential + + # Configuration for a custom authentication provider. + # Corresponds to the JSON property `customAuth` + # @return [Google::Apis::ServiceuserV1::CustomAuthRequirements] + attr_accessor :custom_auth + + # OAuth scopes are a way to define data and permissions on data. For example, + # there are scopes defined for "Read-only access to Google Calendar" and + # "Access to Cloud Platform". Users can consent to a scope for an application, + # giving it permission to access that data on their behalf. + # OAuth scope specifications should be fairly coarse grained; a user will need + # to see and understand the text description of what your scope means. + # In most cases: use one or at most two OAuth scopes for an entire family of + # products. If your product has multiple APIs, you should probably be sharing + # the OAuth scope across all of those APIs. + # When you need finer grained OAuth consent screens: talk with your product + # management about how developers will use them in practice. + # Please note that even though each of the canonical scopes is enough for a + # request to be accepted and passed to the backend, a request can still fail + # due to the backend requiring additional scopes or permissions. + # Corresponds to the JSON property `oauth` + # @return [Google::Apis::ServiceuserV1::OAuthRequirements] + attr_accessor :oauth + + # Requirements for additional authentication providers. + # Corresponds to the JSON property `requirements` + # @return [Array] + attr_accessor :requirements + + # Selects the methods to which this rule applies. + # Refer to selector for syntax details. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @allow_without_credential = args[:allow_without_credential] if args.key?(:allow_without_credential) + @custom_auth = args[:custom_auth] if args.key?(:custom_auth) + @oauth = args[:oauth] if args.key?(:oauth) + @requirements = args[:requirements] if args.key?(:requirements) + @selector = args[:selector] if args.key?(:selector) + end + end + + # Configuration of authorization. + # This section determines the authorization provider, if unspecified, then no + # authorization check will be done. + # Example: + # experimental: + # authorization: + # provider: firebaserules.googleapis.com + class AuthorizationConfig + include Google::Apis::Core::Hashable + + # The name of the authorization provider, such as + # firebaserules.googleapis.com. + # Corresponds to the JSON property `provider` + # @return [String] + attr_accessor :provider + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @provider = args[:provider] if args.key?(:provider) + end + end + + # Authorization rule for API services. + # It specifies the permission(s) required for an API element for the overall + # API request to succeed. It is typically used to mark request message fields + # that contain the name of the resource and indicates the permissions that + # will be checked on that resource. + # For example: + # package google.storage.v1; + # message CopyObjectRequest ` + # string source = 1 [ + # (google.api.authz).permissions = "storage.objects.get"]; + # string destination = 2 [ + # (google.api.authz).permissions = + # "storage.objects.create,storage.objects.update"]; + # ` + class AuthorizationRule + include Google::Apis::Core::Hashable + + # The required permissions. The acceptable values vary depend on the + # authorization system used. For Google APIs, it should be a comma-separated + # Google IAM permission values. When multiple permissions are listed, the + # semantics is not defined by the system. Additional documentation must + # be provided manually. + # Corresponds to the JSON property `permissions` + # @return [String] + attr_accessor :permissions + + # Selects the API elements to which this rule applies. + # Refer to selector for syntax details. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + @selector = args[:selector] if args.key?(:selector) + end + end + + # `Backend` defines the backend configuration for a service. + class Backend + include Google::Apis::Core::Hashable + + # A list of API backend rules that apply to individual API methods. + # **NOTE:** All service configuration rules follow "last one wins" order. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @rules = args[:rules] if args.key?(:rules) + end + end + + # A backend rule provides configuration for an individual API element. + class BackendRule + include Google::Apis::Core::Hashable + + # The address of the API backend. + # Corresponds to the JSON property `address` + # @return [String] + attr_accessor :address + + # The number of seconds to wait for a response from a request. The + # default depends on the deployment context. + # Corresponds to the JSON property `deadline` + # @return [Float] + attr_accessor :deadline + + # Minimum deadline in seconds needed for this method. Calls having deadline + # value lower than this will be rejected. + # Corresponds to the JSON property `minDeadline` + # @return [Float] + attr_accessor :min_deadline + + # Selects the methods to which this rule applies. + # Refer to selector for syntax details. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @address = args[:address] if args.key?(:address) + @deadline = args[:deadline] if args.key?(:deadline) + @min_deadline = args[:min_deadline] if args.key?(:min_deadline) + @selector = args[:selector] if args.key?(:selector) + end + end + + # `Context` defines which contexts an API requests. + # Example: + # context: + # rules: + # - selector: "*" + # requested: + # - google.rpc.context.ProjectContext + # - google.rpc.context.OriginContext + # The above specifies that all methods in the API request + # `google.rpc.context.ProjectContext` and + # `google.rpc.context.OriginContext`. + # Available context types are defined in package + # `google.rpc.context`. + class Context + include Google::Apis::Core::Hashable + + # A list of RPC context rules that apply to individual API methods. + # **NOTE:** All service configuration rules follow "last one wins" order. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @rules = args[:rules] if args.key?(:rules) + end + end + + # A context rule provides information about the context for an individual API + # element. + class ContextRule + include Google::Apis::Core::Hashable + + # A list of full type names of provided contexts. + # Corresponds to the JSON property `provided` + # @return [Array] + attr_accessor :provided + + # A list of full type names of requested contexts. + # Corresponds to the JSON property `requested` + # @return [Array] + attr_accessor :requested + + # Selects the methods to which this rule applies. + # Refer to selector for syntax details. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @provided = args[:provided] if args.key?(:provided) + @requested = args[:requested] if args.key?(:requested) + @selector = args[:selector] if args.key?(:selector) + end + end + + # Selects and configures the service controller used by the service. The + # service controller handles features like abuse, quota, billing, logging, + # monitoring, etc. + class Control + include Google::Apis::Core::Hashable + + # The service control environment to use. If empty, no control plane + # feature (like quota and billing) will be enabled. + # Corresponds to the JSON property `environment` + # @return [String] + attr_accessor :environment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @environment = args[:environment] if args.key?(:environment) + end + end + + # Configuration for a custom authentication provider. + class CustomAuthRequirements + include Google::Apis::Core::Hashable + + # A configuration string containing connection information for the + # authentication provider, typically formatted as a SmartService string + # (go/smartservice). + # Corresponds to the JSON property `provider` + # @return [String] + attr_accessor :provider + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @provider = args[:provider] if args.key?(:provider) + end + end + + # Customize service error responses. For example, list any service + # specific protobuf types that can appear in error detail lists of + # error responses. + # Example: + # custom_error: + # types: + # - google.foo.v1.CustomError + # - google.foo.v1.AnotherError + class CustomError + include Google::Apis::Core::Hashable + + # The list of custom error rules that apply to individual API messages. + # **NOTE:** All service configuration rules follow "last one wins" order. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + # The list of custom error detail types, e.g. 'google.foo.v1.CustomError'. + # Corresponds to the JSON property `types` + # @return [Array] + attr_accessor :types + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @rules = args[:rules] if args.key?(:rules) + @types = args[:types] if args.key?(:types) + end + end + + # A custom error rule. + class CustomErrorRule + include Google::Apis::Core::Hashable + + # Mark this message as possible payload in error response. Otherwise, + # objects of this type will be filtered when they appear in error payload. + # Corresponds to the JSON property `isErrorType` + # @return [Boolean] + attr_accessor :is_error_type + alias_method :is_error_type?, :is_error_type + + # Selects messages to which this rule applies. + # Refer to selector for syntax details. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @is_error_type = args[:is_error_type] if args.key?(:is_error_type) + @selector = args[:selector] if args.key?(:selector) + end + end + + # A custom pattern is used for defining custom HTTP verb. + class CustomHttpPattern + include Google::Apis::Core::Hashable + + # The name of this custom HTTP verb. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The path matched by this custom verb. + # Corresponds to the JSON property `path` + # @return [String] + attr_accessor :path + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @path = args[:path] if args.key?(:path) + end + end + + # Request message for DisableService method. + class DisableServiceRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # `Documentation` provides the information for describing a service. # Example: #
    documentation:
    @@ -718,12 +717,6 @@ module Google
           class Documentation
             include Google::Apis::Core::Hashable
           
    -        # A short summary of what the service does. Can only be provided by
    -        # plain text.
    -        # Corresponds to the JSON property `summary`
    -        # @return [String]
    -        attr_accessor :summary
    -      
             # The URL to the root of documentation.
             # Corresponds to the JSON property `documentationRootUrl`
             # @return [String]
    @@ -746,16 +739,22 @@ module Google
             # @return [String]
             attr_accessor :overview
           
    +        # The top level pages for the documentation set.
    +        # Corresponds to the JSON property `pages`
    +        # @return [Array]
    +        attr_accessor :pages
    +      
             # A list of documentation rules that apply to individual API elements.
             # **NOTE:** All service configuration rules follow "last one wins" order.
             # Corresponds to the JSON property `rules`
             # @return [Array]
             attr_accessor :rules
           
    -        # The top level pages for the documentation set.
    -        # Corresponds to the JSON property `pages`
    -        # @return [Array]
    -        attr_accessor :pages
    +        # A short summary of what the service does. Can only be provided by
    +        # plain text.
    +        # Corresponds to the JSON property `summary`
    +        # @return [String]
    +        attr_accessor :summary
           
             def initialize(**args)
                update!(**args)
    @@ -763,546 +762,182 @@ module Google
           
             # Update properties of this object
             def update!(**args)
    -          @summary = args[:summary] if args.key?(:summary)
               @documentation_root_url = args[:documentation_root_url] if args.key?(:documentation_root_url)
               @overview = args[:overview] if args.key?(:overview)
    -          @rules = args[:rules] if args.key?(:rules)
               @pages = args[:pages] if args.key?(:pages)
    +          @rules = args[:rules] if args.key?(:rules)
    +          @summary = args[:summary] if args.key?(:summary)
             end
           end
           
    -      # Authentication rules for the service.
    -      # By default, if a method has any authentication requirements, every request
    -      # must include a valid credential matching one of the requirements.
    -      # It's an error to include more than one kind of credential in a single
    -      # request.
    -      # If a method doesn't have any auth requirements, request credentials will be
    -      # ignored.
    -      class AuthenticationRule
    +      # A documentation rule provides information about individual API elements.
    +      class DocumentationRule
             include Google::Apis::Core::Hashable
           
    -        # Configuration for a custom authentication provider.
    -        # Corresponds to the JSON property `customAuth`
    -        # @return [Google::Apis::ServiceuserV1::CustomAuthRequirements]
    -        attr_accessor :custom_auth
    +        # Deprecation description of the selected element(s). It can be provided if an
    +        # element is marked as `deprecated`.
    +        # Corresponds to the JSON property `deprecationDescription`
    +        # @return [String]
    +        attr_accessor :deprecation_description
           
    -        # OAuth scopes are a way to define data and permissions on data. For example,
    -        # there are scopes defined for "Read-only access to Google Calendar" and
    -        # "Access to Cloud Platform". Users can consent to a scope for an application,
    -        # giving it permission to access that data on their behalf.
    -        # OAuth scope specifications should be fairly coarse grained; a user will need
    -        # to see and understand the text description of what your scope means.
    -        # In most cases: use one or at most two OAuth scopes for an entire family of
    -        # products. If your product has multiple APIs, you should probably be sharing
    -        # the OAuth scope across all of those APIs.
    -        # When you need finer grained OAuth consent screens: talk with your product
    -        # management about how developers will use them in practice.
    -        # Please note that even though each of the canonical scopes is enough for a
    -        # request to be accepted and passed to the backend, a request can still fail
    -        # due to the backend requiring additional scopes or permissions.
    -        # Corresponds to the JSON property `oauth`
    -        # @return [Google::Apis::ServiceuserV1::OAuthRequirements]
    -        attr_accessor :oauth
    +        # Description of the selected API(s).
    +        # Corresponds to the JSON property `description`
    +        # @return [String]
    +        attr_accessor :description
           
    -        # Requirements for additional authentication providers.
    -        # Corresponds to the JSON property `requirements`
    -        # @return [Array]
    -        attr_accessor :requirements
    +        # The selector is a comma-separated list of patterns. Each pattern is a
    +        # qualified name of the element which may end in "*", indicating a wildcard.
    +        # Wildcards are only allowed at the end and for a whole component of the
    +        # qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To
    +        # specify a default for all applicable elements, the whole pattern "*"
    +        # is used.
    +        # Corresponds to the JSON property `selector`
    +        # @return [String]
    +        attr_accessor :selector
           
    -        # Whether to allow requests without a credential. The credential can be
    -        # an OAuth token, Google cookies (first-party auth) or EndUserCreds.
    -        # For requests without credentials, if the service control environment is
    -        # specified, each incoming request **must** be associated with a service
    -        # consumer. This can be done by passing an API key that belongs to a consumer
    -        # project.
    -        # Corresponds to the JSON property `allowWithoutCredential`
    +        def initialize(**args)
    +           update!(**args)
    +        end
    +      
    +        # Update properties of this object
    +        def update!(**args)
    +          @deprecation_description = args[:deprecation_description] if args.key?(:deprecation_description)
    +          @description = args[:description] if args.key?(:description)
    +          @selector = args[:selector] if args.key?(:selector)
    +        end
    +      end
    +      
    +      # Request message for EnableService method.
    +      class EnableServiceRequest
    +        include Google::Apis::Core::Hashable
    +      
    +        def initialize(**args)
    +           update!(**args)
    +        end
    +      
    +        # Update properties of this object
    +        def update!(**args)
    +        end
    +      end
    +      
    +      # `Endpoint` describes a network endpoint that serves a set of APIs.
    +      # A service may expose any number of endpoints, and all endpoints share the
    +      # same service configuration, such as quota configuration and monitoring
    +      # configuration.
    +      # Example service configuration:
    +      # name: library-example.googleapis.com
    +      # endpoints:
    +      # # Below entry makes 'google.example.library.v1.Library'
    +      # # API be served from endpoint address library-example.googleapis.com.
    +      # # It also allows HTTP OPTIONS calls to be passed to the backend, for
    +      # # it to decide whether the subsequent cross-origin request is
    +      # # allowed to proceed.
    +      # - name: library-example.googleapis.com
    +      # allow_cors: true
    +      class Endpoint
    +        include Google::Apis::Core::Hashable
    +      
    +        # DEPRECATED: This field is no longer supported. Instead of using aliases,
    +        # please specify multiple google.api.Endpoint for each of the intented
    +        # alias.
    +        # Additional names that this endpoint will be hosted on.
    +        # Corresponds to the JSON property `aliases`
    +        # @return [Array]
    +        attr_accessor :aliases
    +      
    +        # Allowing
    +        # [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka
    +        # cross-domain traffic, would allow the backends served from this endpoint to
    +        # receive and respond to HTTP OPTIONS requests. The response will be used by
    +        # the browser to determine whether the subsequent cross-origin request is
    +        # allowed to proceed.
    +        # Corresponds to the JSON property `allowCors`
             # @return [Boolean]
    -        attr_accessor :allow_without_credential
    -        alias_method :allow_without_credential?, :allow_without_credential
    +        attr_accessor :allow_cors
    +        alias_method :allow_cors?, :allow_cors
           
    -        # Selects the methods to which this rule applies.
    -        # Refer to selector for syntax details.
    -        # Corresponds to the JSON property `selector`
    -        # @return [String]
    -        attr_accessor :selector
    +        # The list of APIs served by this endpoint.
    +        # If no APIs are specified this translates to "all APIs" exported by the
    +        # service, as defined in the top-level service configuration.
    +        # Corresponds to the JSON property `apis`
    +        # @return [Array]
    +        attr_accessor :apis
           
    -        def initialize(**args)
    -           update!(**args)
    -        end
    +        # The list of features enabled on this endpoint.
    +        # Corresponds to the JSON property `features`
    +        # @return [Array]
    +        attr_accessor :features
           
    -        # Update properties of this object
    -        def update!(**args)
    -          @custom_auth = args[:custom_auth] if args.key?(:custom_auth)
    -          @oauth = args[:oauth] if args.key?(:oauth)
    -          @requirements = args[:requirements] if args.key?(:requirements)
    -          @allow_without_credential = args[:allow_without_credential] if args.key?(:allow_without_credential)
    -          @selector = args[:selector] if args.key?(:selector)
    -        end
    -      end
    -      
    -      # A backend rule provides configuration for an individual API element.
    -      class BackendRule
    -        include Google::Apis::Core::Hashable
    -      
    -        # The address of the API backend.
    -        # Corresponds to the JSON property `address`
    -        # @return [String]
    -        attr_accessor :address
    -      
    -        # Selects the methods to which this rule applies.
    -        # Refer to selector for syntax details.
    -        # Corresponds to the JSON property `selector`
    -        # @return [String]
    -        attr_accessor :selector
    -      
    -        # The number of seconds to wait for a response from a request.  The
    -        # default depends on the deployment context.
    -        # Corresponds to the JSON property `deadline`
    -        # @return [Float]
    -        attr_accessor :deadline
    -      
    -        # Minimum deadline in seconds needed for this method. Calls having deadline
    -        # value lower than this will be rejected.
    -        # Corresponds to the JSON property `minDeadline`
    -        # @return [Float]
    -        attr_accessor :min_deadline
    -      
    -        def initialize(**args)
    -           update!(**args)
    -        end
    -      
    -        # Update properties of this object
    -        def update!(**args)
    -          @address = args[:address] if args.key?(:address)
    -          @selector = args[:selector] if args.key?(:selector)
    -          @deadline = args[:deadline] if args.key?(:deadline)
    -          @min_deadline = args[:min_deadline] if args.key?(:min_deadline)
    -        end
    -      end
    -      
    -      # Api is a light-weight descriptor for a protocol buffer service.
    -      class Api
    -        include Google::Apis::Core::Hashable
    -      
    -        # Any metadata attached to the API.
    -        # Corresponds to the JSON property `options`
    -        # @return [Array]
    -        attr_accessor :options
    -      
    -        # The methods of this api, in unspecified order.
    -        # Corresponds to the JSON property `methods`
    -        # @return [Array]
    -        attr_accessor :methods_prop
    -      
    -        # The fully qualified name of this api, including package name
    -        # followed by the api's simple name.
    +        # The canonical name of this endpoint.
             # Corresponds to the JSON property `name`
             # @return [String]
             attr_accessor :name
           
    +        # The specification of an Internet routable address of API frontend that will
    +        # handle requests to this [API Endpoint](https://cloud.google.com/apis/design/
    +        # glossary).
    +        # It should be either a valid IPv4 address or a fully-qualified domain name.
    +        # For example, "8.8.8.8" or "myservice.appspot.com".
    +        # Corresponds to the JSON property `target`
    +        # @return [String]
    +        attr_accessor :target
    +      
    +        def initialize(**args)
    +           update!(**args)
    +        end
    +      
    +        # Update properties of this object
    +        def update!(**args)
    +          @aliases = args[:aliases] if args.key?(:aliases)
    +          @allow_cors = args[:allow_cors] if args.key?(:allow_cors)
    +          @apis = args[:apis] if args.key?(:apis)
    +          @features = args[:features] if args.key?(:features)
    +          @name = args[:name] if args.key?(:name)
    +          @target = args[:target] if args.key?(:target)
    +        end
    +      end
    +      
    +      # Enum type definition.
    +      class Enum
    +        include Google::Apis::Core::Hashable
    +      
    +        # Enum value definitions.
    +        # Corresponds to the JSON property `enumvalue`
    +        # @return [Array]
    +        attr_accessor :enumvalue
    +      
    +        # Enum type name.
    +        # Corresponds to the JSON property `name`
    +        # @return [String]
    +        attr_accessor :name
    +      
    +        # Protocol buffer options.
    +        # Corresponds to the JSON property `options`
    +        # @return [Array]
    +        attr_accessor :options
    +      
             # `SourceContext` represents information about the source of a
             # protobuf element, like the file in which it is defined.
             # Corresponds to the JSON property `sourceContext`
             # @return [Google::Apis::ServiceuserV1::SourceContext]
             attr_accessor :source_context
           
    -        # The source syntax of the service.
    +        # The source syntax.
             # Corresponds to the JSON property `syntax`
             # @return [String]
             attr_accessor :syntax
           
    -        # A version string for this api. If specified, must have the form
    -        # `major-version.minor-version`, as in `1.10`. If the minor version
    -        # is omitted, it defaults to zero. If the entire version field is
    -        # empty, the major version is derived from the package name, as
    -        # outlined below. If the field is not empty, the version in the
    -        # package name will be verified to be consistent with what is
    -        # provided here.
    -        # The versioning schema uses [semantic
    -        # versioning](http://semver.org) where the major version number
    -        # indicates a breaking change and the minor version an additive,
    -        # non-breaking change. Both version numbers are signals to users
    -        # what to expect from different versions, and should be carefully
    -        # chosen based on the product plan.
    -        # The major version is also reflected in the package name of the
    -        # API, which must end in `v`, as in
    -        # `google.feature.v1`. For major versions 0 and 1, the suffix can
    -        # be omitted. Zero major versions must only be used for
    -        # experimental, none-GA apis.
    -        # Corresponds to the JSON property `version`
    -        # @return [String]
    -        attr_accessor :version
    -      
    -        # Included APIs. See Mixin.
    -        # Corresponds to the JSON property `mixins`
    -        # @return [Array]
    -        attr_accessor :mixins
    -      
             def initialize(**args)
                update!(**args)
             end
           
             # Update properties of this object
             def update!(**args)
    -          @options = args[:options] if args.key?(:options)
    -          @methods_prop = args[:methods_prop] if args.key?(:methods_prop)
    +          @enumvalue = args[:enumvalue] if args.key?(:enumvalue)
               @name = args[:name] if args.key?(:name)
    +          @options = args[:options] if args.key?(:options)
               @source_context = args[:source_context] if args.key?(:source_context)
               @syntax = args[:syntax] if args.key?(:syntax)
    -          @version = args[:version] if args.key?(:version)
    -          @mixins = args[:mixins] if args.key?(:mixins)
    -        end
    -      end
    -      
    -      # Bind API methods to metrics. Binding a method to a metric causes that
    -      # metric's configured quota behaviors to apply to the method call.
    -      class MetricRule
    -        include Google::Apis::Core::Hashable
    -      
    -        # Metrics to update when the selected methods are called, and the associated
    -        # cost applied to each metric.
    -        # The key of the map is the metric name, and the values are the amount
    -        # increased for the metric against which the quota limits are defined.
    -        # The value must not be negative.
    -        # Corresponds to the JSON property `metricCosts`
    -        # @return [Hash]
    -        attr_accessor :metric_costs
    -      
    -        # Selects the methods to which this rule applies.
    -        # Refer to selector for syntax details.
    -        # Corresponds to the JSON property `selector`
    -        # @return [String]
    -        attr_accessor :selector
    -      
    -        def initialize(**args)
    -           update!(**args)
    -        end
    -      
    -        # Update properties of this object
    -        def update!(**args)
    -          @metric_costs = args[:metric_costs] if args.key?(:metric_costs)
    -          @selector = args[:selector] if args.key?(:selector)
    -        end
    -      end
    -      
    -      # `Authentication` defines the authentication configuration for an API.
    -      # Example for an API targeted for external use:
    -      # name: calendar.googleapis.com
    -      # authentication:
    -      # providers:
    -      # - id: google_calendar_auth
    -      # jwks_uri: https://www.googleapis.com/oauth2/v1/certs
    -      # issuer: https://securetoken.google.com
    -      # rules:
    -      # - selector: "*"
    -      # requirements:
    -      # provider_id: google_calendar_auth
    -      class Authentication
    -        include Google::Apis::Core::Hashable
    -      
    -        # A list of authentication rules that apply to individual API methods.
    -        # **NOTE:** All service configuration rules follow "last one wins" order.
    -        # Corresponds to the JSON property `rules`
    -        # @return [Array]
    -        attr_accessor :rules
    -      
    -        # Defines a set of authentication providers that a service supports.
    -        # Corresponds to the JSON property `providers`
    -        # @return [Array]
    -        attr_accessor :providers
    -      
    -        def initialize(**args)
    -           update!(**args)
    -        end
    -      
    -        # Update properties of this object
    -        def update!(**args)
    -          @rules = args[:rules] if args.key?(:rules)
    -          @providers = args[:providers] if args.key?(:providers)
    -        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
    -      
    -        # 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 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
    -      
    -        # 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
    -      
    -        # 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` that 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.
    -        # - 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::ServiceuserV1::Status]
    -        attr_accessor :error
    -      
    -        def initialize(**args)
    -           update!(**args)
    -        end
    -      
    -        # Update properties of this object
    -        def update!(**args)
    -          @metadata = args[:metadata] if args.key?(:metadata)
    -          @done = args[:done] if args.key?(:done)
    -          @response = args[:response] if args.key?(:response)
    -          @name = args[:name] if args.key?(:name)
    -          @error = args[:error] if args.key?(:error)
    -        end
    -      end
    -      
    -      # Represents a documentation page. A page can contain subpages to represent
    -      # nested documentation set structure.
    -      class Page
    -        include Google::Apis::Core::Hashable
    -      
    -        # The name of the page. It will be used as an identity of the page to
    -        # generate URI of the page, text of the link to this page in navigation,
    -        # etc. The full page name (start from the root page name to this page
    -        # concatenated with `.`) can be used as reference to the page in your
    -        # documentation. For example:
    -        # 
    pages:
    -        # - name: Tutorial
    -        # content: (== include tutorial.md ==)
    -        # subpages:
    -        # - name: Java
    -        # content: (== include tutorial_java.md ==)
    -        # 
    - # You can reference `Java` page using Markdown reference link syntax: - # `Java`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The Markdown content of the page. You can use (== include `path` ==&# - # 41; - # to include content from a Markdown file. - # Corresponds to the JSON property `content` - # @return [String] - attr_accessor :content - - # Subpages of this page. The order of subpages specified here will be - # honored in the generated docset. - # Corresponds to the JSON property `subpages` - # @return [Array] - attr_accessor :subpages - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @content = args[:content] if args.key?(:content) - @subpages = args[:subpages] if args.key?(:subpages) - 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` that 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. - # - 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 - - # Configuration for an anthentication provider, including support for - # [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web- - # token-32). - class AuthProvider - include Google::Apis::Core::Hashable - - # URL of the provider's public key set to validate signature of the JWT. See - # [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html# - # ProviderMetadata). - # Optional if the key set document: - # - can be retrieved from - # [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0. - # html - # of the issuer. - # - can be inferred from the email domain of the issuer (e.g. a Google service - # account). - # Example: https://www.googleapis.com/oauth2/v1/certs - # Corresponds to the JSON property `jwksUri` - # @return [String] - attr_accessor :jwks_uri - - # The list of JWT - # [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32# - # section-4.1.3). - # that are allowed to access. A JWT containing any of these audiences will - # be accepted. When this setting is absent, only JWTs with audience - # "https://Service_name/API_name" - # will be accepted. For example, if no audiences are in the setting, - # LibraryService API will only accept JWTs with the following audience - # "https://library-example.googleapis.com/google.example.library.v1. - # LibraryService". - # Example: - # audiences: bookstore_android.apps.googleusercontent.com, - # bookstore_web.apps.googleusercontent.com - # Corresponds to the JSON property `audiences` - # @return [String] - attr_accessor :audiences - - # Identifies the principal that issued the JWT. See - # https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 - # Usually a URL or an email address. - # Example: https://securetoken.google.com - # Example: 1234567-compute@developer.gserviceaccount.com - # Corresponds to the JSON property `issuer` - # @return [String] - attr_accessor :issuer - - # The unique identifier of the auth provider. It will be referred to by - # `AuthRequirement.provider_id`. - # Example: "bookstore_auth". - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @jwks_uri = args[:jwks_uri] if args.key?(:jwks_uri) - @audiences = args[:audiences] if args.key?(:audiences) - @issuer = args[:issuer] if args.key?(:issuer) - @id = args[:id] if args.key?(:id) end end @@ -1310,20 +945,20 @@ module Google class EnumValue include Google::Apis::Core::Hashable - # Protocol buffer options. - # Corresponds to the JSON property `options` - # @return [Array] - attr_accessor :options + # Enum value name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name # Enum value number. # Corresponds to the JSON property `number` # @return [Fixnum] attr_accessor :number - # Enum value name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name + # Protocol buffer options. + # Corresponds to the JSON property `options` + # @return [Array] + attr_accessor :options def initialize(**args) update!(**args) @@ -1331,408 +966,27 @@ module Google # Update properties of this object def update!(**args) - @options = args[:options] if args.key?(:options) + @name = args[:name] if args.key?(:name) @number = args[:number] if args.key?(:number) - @name = args[:name] if args.key?(:name) + @options = args[:options] if args.key?(:options) end end - # `Service` is the root object of Google service configuration schema. It - # describes basic information about a service, such as the name and the - # title, and delegates other aspects to sub-sections. Each sub-section is - # either a proto message or a repeated proto message that configures a - # specific aspect, such as auth. See each proto message definition for details. - # Example: - # type: google.api.Service - # config_version: 3 - # name: calendar.googleapis.com - # title: Google Calendar API - # apis: - # - name: google.calendar.v3.Calendar - # authentication: - # providers: - # - id: google_calendar_auth - # jwks_uri: https://www.googleapis.com/oauth2/v1/certs - # issuer: https://securetoken.google.com - # rules: - # - selector: "*" - # requirements: - # provider_id: google_calendar_auth - class Service + # Experimental service configuration. These configuration options can + # only be used by whitelisted users. + class Experimental include Google::Apis::Core::Hashable - # Defines the logs used by this service. - # Corresponds to the JSON property `logs` - # @return [Array] - attr_accessor :logs - - # A list of API interfaces exported by this service. Only the `name` field - # of the google.protobuf.Api needs to be provided by the configuration - # author, as the remaining fields will be derived from the IDL during the - # normalization process. It is an error to specify an API interface here - # which cannot be resolved against the associated IDL files. - # Corresponds to the JSON property `apis` - # @return [Array] - attr_accessor :apis - - # A list of all proto message types included in this API service. - # Types referenced directly or indirectly by the `apis` are - # automatically included. Messages which are not referenced but - # shall be included, such as types used by the `google.protobuf.Any` type, - # should be listed here by name. Example: - # types: - # - name: google.protobuf.Int32 - # Corresponds to the JSON property `types` - # @return [Array] - attr_accessor :types - - # Source information used to create a Service Config - # Corresponds to the JSON property `sourceInfo` - # @return [Google::Apis::ServiceuserV1::SourceInfo] - attr_accessor :source_info - - # Defines the HTTP configuration for an API service. It contains a list of - # HttpRule, each specifying the mapping of an RPC method - # to one or more HTTP REST API methods. - # Corresponds to the JSON property `http` - # @return [Google::Apis::ServiceuserV1::Http] - attr_accessor :http - - # `Backend` defines the backend configuration for a service. - # Corresponds to the JSON property `backend` - # @return [Google::Apis::ServiceuserV1::Backend] - attr_accessor :backend - - # ### System parameter configuration - # A system parameter is a special kind of parameter defined by the API - # system, not by an individual API. It is typically mapped to an HTTP header - # and/or a URL query parameter. This configuration specifies which methods - # change the names of the system parameters. - # Corresponds to the JSON property `systemParameters` - # @return [Google::Apis::ServiceuserV1::SystemParameters] - attr_accessor :system_parameters - - # `Documentation` provides the information for describing a service. + # Configuration of authorization. + # This section determines the authorization provider, if unspecified, then no + # authorization check will be done. # Example: - #
    documentation:
    -        # summary: >
    -        # The Google Calendar API gives access
    -        # to most calendar features.
    -        # pages:
    -        # - name: Overview
    -        # content: (== include google/foo/overview.md ==)
    -        # - name: Tutorial
    -        # content: (== include google/foo/tutorial.md ==)
    -        # subpages;
    -        # - name: Java
    -        # content: (== include google/foo/tutorial_java.md ==)
    -        # rules:
    -        # - selector: google.calendar.Calendar.Get
    -        # description: >
    -        # ...
    -        # - selector: google.calendar.Calendar.Put
    -        # description: >
    -        # ...
    -        # 
    - # Documentation is provided in markdown syntax. In addition to - # standard markdown features, definition lists, tables and fenced - # code blocks are supported. Section headers can be provided and are - # interpreted relative to the section nesting of the context where - # a documentation fragment is embedded. - # Documentation from the IDL is merged with documentation defined - # via the config at normalization time, where documentation provided - # by config rules overrides IDL provided. - # A number of constructs specific to the API platform are supported - # in documentation text. - # In order to reference a proto element, the following - # notation can be used: - #
    [fully.qualified.proto.name][]
    - # To override the display text used for the link, this can be used: - #
    [display text][fully.qualified.proto.name]
    - # Text can be excluded from doc using the following notation: - #
    (-- internal comment --)
    - # Comments can be made conditional using a visibility label. The below - # text will be only rendered if the `BETA` label is available: - #
    (--BETA: comment for BETA users --)
    - # A few directives are available in documentation. Note that - # directives must appear on a single line to be properly - # identified. The `include` directive includes a markdown file from - # an external source: - #
    (== include path/to/file ==)
    - # The `resource_for` directive marks a message to be the resource of - # a collection in REST view. If it is not specified, tools attempt - # to infer the resource from the operations in a collection: - #
    (== resource_for v1.shelves.books ==)
    - # The directive `suppress_warning` does not directly affect documentation - # and is documented together with service config validation. - # Corresponds to the JSON property `documentation` - # @return [Google::Apis::ServiceuserV1::Documentation] - attr_accessor :documentation - - # Defines the monitored resources used by this service. This is required - # by the Service.monitoring and Service.logging configurations. - # Corresponds to the JSON property `monitoredResources` - # @return [Array] - attr_accessor :monitored_resources - - # Logging configuration of the service. - # The following example shows how to configure logs to be sent to the - # producer and consumer projects. In the example, the `activity_history` - # log is sent to both the producer and consumer projects, whereas the - # `purchase_history` log is only sent to the producer project. - # monitored_resources: - # - type: library.googleapis.com/branch - # labels: - # - key: /city - # description: The city where the library branch is located in. - # - key: /name - # description: The name of the branch. - # logs: - # - name: activity_history - # labels: - # - key: /customer_id - # - name: purchase_history - # logging: - # producer_destinations: - # - monitored_resource: library.googleapis.com/branch - # logs: - # - activity_history - # - purchase_history - # consumer_destinations: - # - monitored_resource: library.googleapis.com/branch - # logs: - # - activity_history - # Corresponds to the JSON property `logging` - # @return [Google::Apis::ServiceuserV1::Logging] - attr_accessor :logging - - # A list of all enum types included in this API service. Enums - # referenced directly or indirectly by the `apis` are automatically - # included. Enums which are not referenced but shall be included - # should be listed here by name. Example: - # enums: - # - name: google.someapi.v1.SomeEnum - # Corresponds to the JSON property `enums` - # @return [Array] - attr_accessor :enums - - # `Context` defines which contexts an API requests. - # Example: - # context: - # rules: - # - selector: "*" - # requested: - # - google.rpc.context.ProjectContext - # - google.rpc.context.OriginContext - # The above specifies that all methods in the API request - # `google.rpc.context.ProjectContext` and - # `google.rpc.context.OriginContext`. - # Available context types are defined in package - # `google.rpc.context`. - # Corresponds to the JSON property `context` - # @return [Google::Apis::ServiceuserV1::Context] - attr_accessor :context - - # A unique ID for a specific instance of this message, typically assigned - # by the client for tracking purpose. If empty, the server may choose to - # generate one instead. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Configuration controlling usage of a service. - # Corresponds to the JSON property `usage` - # @return [Google::Apis::ServiceuserV1::Usage] - attr_accessor :usage - - # Defines the metrics used by this service. - # Corresponds to the JSON property `metrics` - # @return [Array] - attr_accessor :metrics - - # `Authentication` defines the authentication configuration for an API. - # Example for an API targeted for external use: - # name: calendar.googleapis.com - # authentication: - # providers: - # - id: google_calendar_auth - # jwks_uri: https://www.googleapis.com/oauth2/v1/certs - # issuer: https://securetoken.google.com - # rules: - # - selector: "*" - # requirements: - # provider_id: google_calendar_auth - # Corresponds to the JSON property `authentication` - # @return [Google::Apis::ServiceuserV1::Authentication] - attr_accessor :authentication - - # Experimental service configuration. These configuration options can - # only be used by whitelisted users. - # Corresponds to the JSON property `experimental` - # @return [Google::Apis::ServiceuserV1::Experimental] - attr_accessor :experimental - - # Selects and configures the service controller used by the service. The - # service controller handles features like abuse, quota, billing, logging, - # monitoring, etc. - # Corresponds to the JSON property `control` - # @return [Google::Apis::ServiceuserV1::Control] - attr_accessor :control - - # The version of the service configuration. The config version may - # influence interpretation of the configuration, for example, to - # determine defaults. This is documented together with applicable - # options. The current default for the config version itself is `3`. - # Corresponds to the JSON property `configVersion` - # @return [Fixnum] - attr_accessor :config_version - - # Monitoring configuration of the service. - # The example below shows how to configure monitored resources and metrics - # for monitoring. In the example, a monitored resource and two metrics are - # defined. The `library.googleapis.com/book/returned_count` metric is sent - # to both producer and consumer projects, whereas the - # `library.googleapis.com/book/overdue_count` metric is only sent to the - # consumer project. - # monitored_resources: - # - type: library.googleapis.com/branch - # labels: - # - key: /city - # description: The city where the library branch is located in. - # - key: /name - # description: The name of the branch. - # metrics: - # - name: library.googleapis.com/book/returned_count - # metric_kind: DELTA - # value_type: INT64 - # labels: - # - key: /customer_id - # - name: library.googleapis.com/book/overdue_count - # metric_kind: GAUGE - # value_type: INT64 - # labels: - # - key: /customer_id - # monitoring: - # producer_destinations: - # - monitored_resource: library.googleapis.com/branch - # metrics: - # - library.googleapis.com/book/returned_count - # consumer_destinations: - # - monitored_resource: library.googleapis.com/branch - # metrics: - # - library.googleapis.com/book/returned_count - # - library.googleapis.com/book/overdue_count - # Corresponds to the JSON property `monitoring` - # @return [Google::Apis::ServiceuserV1::Monitoring] - attr_accessor :monitoring - - # A list of all proto message types included in this API service. - # It serves similar purpose as [google.api.Service.types], except that - # these types are not needed by user-defined APIs. Therefore, they will not - # show up in the generated discovery doc. This field should only be used - # to define system APIs in ESF. - # Corresponds to the JSON property `systemTypes` - # @return [Array] - attr_accessor :system_types - - # The Google project that owns this service. - # Corresponds to the JSON property `producerProjectId` - # @return [String] - attr_accessor :producer_project_id - - # `Visibility` defines restrictions for the visibility of service - # elements. Restrictions are specified using visibility labels - # (e.g., TRUSTED_TESTER) that are elsewhere linked to users and projects. - # Users and projects can have access to more than one visibility label. The - # effective visibility for multiple labels is the union of each label's - # elements, plus any unrestricted elements. - # If an element and its parents have no restrictions, visibility is - # unconditionally granted. - # Example: - # visibility: - # rules: - # - selector: google.calendar.Calendar.EnhancedSearch - # restriction: TRUSTED_TESTER - # - selector: google.calendar.Calendar.Delegate - # restriction: GOOGLE_INTERNAL - # Here, all methods are publicly visible except for the restricted methods - # EnhancedSearch and Delegate. - # Corresponds to the JSON property `visibility` - # @return [Google::Apis::ServiceuserV1::Visibility] - attr_accessor :visibility - - # Quota configuration helps to achieve fairness and budgeting in service - # usage. - # The quota configuration works this way: - # - The service configuration defines a set of metrics. - # - For API calls, the quota.metric_rules maps methods to metrics with - # corresponding costs. - # - The quota.limits defines limits on the metrics, which will be used for - # quota checks at runtime. - # An example quota configuration in yaml format: - # quota: - # - name: apiWriteQpsPerProject - # metric: library.googleapis.com/write_calls - # unit: "1/min/`project`" # rate limit for consumer projects - # values: - # STANDARD: 10000 - # # The metric rules bind all methods to the read_calls metric, - # # except for the UpdateBook and DeleteBook methods. These two methods - # # are mapped to the write_calls metric, with the UpdateBook method - # # consuming at twice rate as the DeleteBook method. - # metric_rules: - # - selector: "*" - # metric_costs: - # library.googleapis.com/read_calls: 1 - # - selector: google.example.library.v1.LibraryService.UpdateBook - # metric_costs: - # library.googleapis.com/write_calls: 2 - # - selector: google.example.library.v1.LibraryService.DeleteBook - # metric_costs: - # library.googleapis.com/write_calls: 1 - # Corresponding Metric definition: - # metrics: - # - name: library.googleapis.com/read_calls - # display_name: Read requests - # metric_kind: DELTA - # value_type: INT64 - # - name: library.googleapis.com/write_calls - # display_name: Write requests - # metric_kind: DELTA - # value_type: INT64 - # Corresponds to the JSON property `quota` - # @return [Google::Apis::ServiceuserV1::Quota] - attr_accessor :quota - - # The DNS address at which this service is available, - # e.g. `calendar.googleapis.com`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Customize service error responses. For example, list any service - # specific protobuf types that can appear in error detail lists of - # error responses. - # Example: - # custom_error: - # types: - # - google.foo.v1.CustomError - # - google.foo.v1.AnotherError - # Corresponds to the JSON property `customError` - # @return [Google::Apis::ServiceuserV1::CustomError] - attr_accessor :custom_error - - # The product title for this service. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # Configuration for network endpoints. If this is empty, then an endpoint - # with the same name as the service is automatically generated to service all - # defined APIs. - # Corresponds to the JSON property `endpoints` - # @return [Array] - attr_accessor :endpoints + # experimental: + # authorization: + # provider: firebaserules.googleapis.com + # Corresponds to the JSON property `authorization` + # @return [Google::Apis::ServiceuserV1::AuthorizationConfig] + attr_accessor :authorization def initialize(**args) update!(**args) @@ -1740,177 +994,116 @@ module Google # Update properties of this object def update!(**args) - @logs = args[:logs] if args.key?(:logs) - @apis = args[:apis] if args.key?(:apis) - @types = args[:types] if args.key?(:types) - @source_info = args[:source_info] if args.key?(:source_info) - @http = args[:http] if args.key?(:http) - @backend = args[:backend] if args.key?(:backend) - @system_parameters = args[:system_parameters] if args.key?(:system_parameters) - @documentation = args[:documentation] if args.key?(:documentation) - @monitored_resources = args[:monitored_resources] if args.key?(:monitored_resources) - @logging = args[:logging] if args.key?(:logging) - @enums = args[:enums] if args.key?(:enums) - @context = args[:context] if args.key?(:context) - @id = args[:id] if args.key?(:id) - @usage = args[:usage] if args.key?(:usage) - @metrics = args[:metrics] if args.key?(:metrics) - @authentication = args[:authentication] if args.key?(:authentication) - @experimental = args[:experimental] if args.key?(:experimental) - @control = args[:control] if args.key?(:control) - @config_version = args[:config_version] if args.key?(:config_version) - @monitoring = args[:monitoring] if args.key?(:monitoring) - @system_types = args[:system_types] if args.key?(:system_types) - @producer_project_id = args[:producer_project_id] if args.key?(:producer_project_id) - @visibility = args[:visibility] if args.key?(:visibility) - @quota = args[:quota] if args.key?(:quota) - @name = args[:name] if args.key?(:name) - @custom_error = args[:custom_error] if args.key?(:custom_error) - @title = args[:title] if args.key?(:title) - @endpoints = args[:endpoints] if args.key?(:endpoints) + @authorization = args[:authorization] if args.key?(:authorization) end end - # The metadata associated with a long running operation resource. - class OperationMetadata + # A single field of a message type. + class Field include Google::Apis::Core::Hashable - # Detailed status information for each step. The order is undetermined. - # Corresponds to the JSON property `steps` - # @return [Array] - attr_accessor :steps - - # The full name of the resources that this operation is directly - # associated with. - # Corresponds to the JSON property `resourceNames` - # @return [Array] - attr_accessor :resource_names - - # Percentage of completion of this operation, ranging from 0 to 100. - # Corresponds to the JSON property `progressPercentage` - # @return [Fixnum] - attr_accessor :progress_percentage - - # The start time of the operation. - # Corresponds to the JSON property `startTime` + # The field cardinality. + # Corresponds to the JSON property `cardinality` # @return [String] - attr_accessor :start_time + attr_accessor :cardinality - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @steps = args[:steps] if args.key?(:steps) - @resource_names = args[:resource_names] if args.key?(:resource_names) - @progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage) - @start_time = args[:start_time] if args.key?(:start_time) - end - end - - # A custom pattern is used for defining custom HTTP verb. - class CustomHttpPattern - include Google::Apis::Core::Hashable - - # The path matched by this custom verb. - # Corresponds to the JSON property `path` + # The string value of the default value of this field. Proto2 syntax only. + # Corresponds to the JSON property `defaultValue` # @return [String] - attr_accessor :path + attr_accessor :default_value - # The name of this custom HTTP verb. + # The field JSON name. + # Corresponds to the JSON property `jsonName` + # @return [String] + attr_accessor :json_name + + # The field type. # 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) - @path = args[:path] if args.key?(:path) - @kind = args[:kind] if args.key?(:kind) - end - end - - # Define a system parameter rule mapping system parameter definitions to - # methods. - class SystemParameterRule - include Google::Apis::Core::Hashable - - # Selects the methods to which this rule applies. Use '*' to indicate all - # methods in all APIs. - # Refer to selector for syntax details. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector - - # Define parameters. Multiple names may be defined for a parameter. - # For a given method call, only one of them should be used. If multiple - # names are used the behavior is implementation-dependent. - # If none of the specified names are present the behavior is - # parameter-dependent. - # Corresponds to the JSON property `parameters` - # @return [Array] - attr_accessor :parameters - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @selector = args[:selector] if args.key?(:selector) - @parameters = args[:parameters] if args.key?(:parameters) - end - end - - # The published version of a Service that is managed by - # Google Service Management. - class PublishedService - include Google::Apis::Core::Hashable - - # `Service` is the root object of Google service configuration schema. It - # describes basic information about a service, such as the name and the - # title, and delegates other aspects to sub-sections. Each sub-section is - # either a proto message or a repeated proto message that configures a - # specific aspect, such as auth. See each proto message definition for details. - # Example: - # type: google.api.Service - # config_version: 3 - # name: calendar.googleapis.com - # title: Google Calendar API - # apis: - # - name: google.calendar.v3.Calendar - # authentication: - # providers: - # - id: google_calendar_auth - # jwks_uri: https://www.googleapis.com/oauth2/v1/certs - # issuer: https://securetoken.google.com - # rules: - # - selector: "*" - # requirements: - # provider_id: google_calendar_auth - # Corresponds to the JSON property `service` - # @return [Google::Apis::ServiceuserV1::Service] - attr_accessor :service - - # The resource name of the service. - # A valid name would be: - # - services/serviceuser.googleapis.com + # The field name. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name + # The field number. + # Corresponds to the JSON property `number` + # @return [Fixnum] + attr_accessor :number + + # The index of the field type in `Type.oneofs`, for message or enumeration + # types. The first type has index 1; zero means the type is not in the list. + # Corresponds to the JSON property `oneofIndex` + # @return [Fixnum] + attr_accessor :oneof_index + + # The protocol buffer options. + # Corresponds to the JSON property `options` + # @return [Array] + attr_accessor :options + + # Whether to use alternative packed wire representation. + # Corresponds to the JSON property `packed` + # @return [Boolean] + attr_accessor :packed + alias_method :packed?, :packed + + # The field type URL, without the scheme, for message or enumeration + # types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. + # Corresponds to the JSON property `typeUrl` + # @return [String] + attr_accessor :type_url + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @service = args[:service] if args.key?(:service) + @cardinality = args[:cardinality] if args.key?(:cardinality) + @default_value = args[:default_value] if args.key?(:default_value) + @json_name = args[:json_name] if args.key?(:json_name) + @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) + @number = args[:number] if args.key?(:number) + @oneof_index = args[:oneof_index] if args.key?(:oneof_index) + @options = args[:options] if args.key?(:options) + @packed = args[:packed] if args.key?(:packed) + @type_url = args[:type_url] if args.key?(:type_url) + end + end + + # Defines the HTTP configuration for an API service. It contains a list of + # HttpRule, each specifying the mapping of an RPC method + # to one or more HTTP REST API methods. + class Http + include Google::Apis::Core::Hashable + + # When set to true, URL path parmeters will be fully URI-decoded except in + # cases of single segment matches in reserved expansion, where "%2F" will be + # left encoded. + # The default behavior is to not decode RFC 6570 reserved characters in multi + # segment matches. + # Corresponds to the JSON property `fullyDecodeReservedExpansion` + # @return [Boolean] + attr_accessor :fully_decode_reserved_expansion + alias_method :fully_decode_reserved_expansion?, :fully_decode_reserved_expansion + + # A list of HTTP configuration rules that apply to individual API methods. + # **NOTE:** All service configuration rules follow "last one wins" order. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fully_decode_reserved_expansion = args[:fully_decode_reserved_expansion] if args.key?(:fully_decode_reserved_expansion) + @rules = args[:rules] if args.key?(:rules) end end @@ -2097,36 +1290,20 @@ module Google class HttpRule include Google::Apis::Core::Hashable - # Selects methods to which this rule applies. - # Refer to selector for syntax details. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector + # Additional HTTP bindings for the selector. Nested bindings must + # not contain an `additional_bindings` field themselves (that is, + # the nesting may only be one level deep). + # Corresponds to the JSON property `additionalBindings` + # @return [Array] + attr_accessor :additional_bindings - # A custom pattern is used for defining custom HTTP verb. - # Corresponds to the JSON property `custom` - # @return [Google::Apis::ServiceuserV1::CustomHttpPattern] - attr_accessor :custom - - # Used for listing and getting information about resources. - # Corresponds to the JSON property `get` - # @return [String] - attr_accessor :get - - # Used for updating a resource. - # Corresponds to the JSON property `patch` - # @return [String] - attr_accessor :patch - - # Used for updating a resource. - # Corresponds to the JSON property `put` - # @return [String] - attr_accessor :put - - # Used for deleting a resource. - # Corresponds to the JSON property `delete` - # @return [String] - attr_accessor :delete + # Specifies the permission(s) required for an API element for the overall + # API request to succeed. It is typically used to mark request message fields + # that contain the name of the resource and indicates the permissions that + # will be checked on that resource. + # Corresponds to the JSON property `authorizations` + # @return [Array] + attr_accessor :authorizations # The name of the request field whose value is mapped to the HTTP body, or # `*` for mapping all fields not captured by the path pattern to the HTTP @@ -2136,6 +1313,21 @@ module Google # @return [String] attr_accessor :body + # A custom pattern is used for defining custom HTTP verb. + # Corresponds to the JSON property `custom` + # @return [Google::Apis::ServiceuserV1::CustomHttpPattern] + attr_accessor :custom + + # Used for deleting a resource. + # Corresponds to the JSON property `delete` + # @return [String] + attr_accessor :delete + + # Used for listing and getting information about resources. + # Corresponds to the JSON property `get` + # @return [String] + attr_accessor :get + # Defines the Media configuration for a service in case of a download. # Use this only for Scotty Requests. Do not use this for media support using # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to @@ -2144,34 +1336,28 @@ module Google # @return [Google::Apis::ServiceuserV1::MediaDownload] attr_accessor :media_download + # Defines the Media configuration for a service in case of an upload. + # Use this only for Scotty Requests. Do not use this for media support using + # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to + # your configuration for Bytestream methods. + # Corresponds to the JSON property `mediaUpload` + # @return [Google::Apis::ServiceuserV1::MediaUpload] + attr_accessor :media_upload + + # Used for updating a resource. + # Corresponds to the JSON property `patch` + # @return [String] + attr_accessor :patch + # Used for creating a resource. # Corresponds to the JSON property `post` # @return [String] attr_accessor :post - # Optional. The rest method name is by default derived from the URL - # pattern. If specified, this field overrides the default method name. - # Example: - # rpc CreateResource(CreateResourceRequest) - # returns (CreateResourceResponse) ` - # option (google.api.http) = ` - # post: "/v1/resources", - # body: "resource", - # rest_method_name: "insert" - # `; - # ` - # This method has the automatically derived rest method name "create", but - # for backwards compatability with apiary, it is specified as insert. - # Corresponds to the JSON property `restMethodName` + # Used for updating a resource. + # Corresponds to the JSON property `put` # @return [String] - attr_accessor :rest_method_name - - # Additional HTTP bindings for the selector. Nested bindings must - # not contain an `additional_bindings` field themselves (that is, - # the nesting may only be one level deep). - # Corresponds to the JSON property `additionalBindings` - # @return [Array] - attr_accessor :additional_bindings + attr_accessor :put # The name of the response field whose value is mapped to the HTTP body of # response. Other response fields are ignored. This field is optional. When @@ -2182,6 +1368,7 @@ module Google # @return [String] attr_accessor :response_body + # DO NOT USE. This is an experimental field. # Optional. The REST collection name is by default derived from the URL # pattern. If specified, this field overrides the default collection name. # Example: @@ -2200,58 +1387,26 @@ module Google # @return [String] attr_accessor :rest_collection - # Defines the Media configuration for a service in case of an upload. - # Use this only for Scotty Requests. Do not use this for media support using - # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to - # your configuration for Bytestream methods. - # Corresponds to the JSON property `mediaUpload` - # @return [Google::Apis::ServiceuserV1::MediaUpload] - attr_accessor :media_upload - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @selector = args[:selector] if args.key?(:selector) - @custom = args[:custom] if args.key?(:custom) - @get = args[:get] if args.key?(:get) - @patch = args[:patch] if args.key?(:patch) - @put = args[:put] if args.key?(:put) - @delete = args[:delete] if args.key?(:delete) - @body = args[:body] if args.key?(:body) - @media_download = args[:media_download] if args.key?(:media_download) - @post = args[:post] if args.key?(:post) - @rest_method_name = args[:rest_method_name] if args.key?(:rest_method_name) - @additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings) - @response_body = args[:response_body] if args.key?(:response_body) - @rest_collection = args[:rest_collection] if args.key?(:rest_collection) - @media_upload = args[:media_upload] if args.key?(:media_upload) - end - end - - # A visibility rule provides visibility configuration for an individual API - # element. - class VisibilityRule - include Google::Apis::Core::Hashable - - # A comma-separated list of visibility labels that apply to the `selector`. - # Any of the listed labels can be used to grant the visibility. - # If a rule has multiple labels, removing one of the labels but not all of - # them can break clients. + # DO NOT USE. This is an experimental field. + # Optional. The rest method name is by default derived from the URL + # pattern. If specified, this field overrides the default method name. # Example: - # visibility: - # rules: - # - selector: google.calendar.Calendar.EnhancedSearch - # restriction: GOOGLE_INTERNAL, TRUSTED_TESTER - # Removing GOOGLE_INTERNAL from this restriction will break clients that - # rely on this method and only had access to it through GOOGLE_INTERNAL. - # Corresponds to the JSON property `restriction` + # rpc CreateResource(CreateResourceRequest) + # returns (CreateResourceResponse) ` + # option (google.api.http) = ` + # post: "/v1/resources", + # body: "resource", + # rest_method_name: "insert" + # `; + # ` + # This method has the automatically derived rest method name + # "create", but for backwards compatibility with apiary, it is specified as + # insert. + # Corresponds to the JSON property `restMethodName` # @return [String] - attr_accessor :restriction + attr_accessor :rest_method_name - # Selects methods, messages, fields, enums, etc. to which this rule applies. + # Selects methods to which this rule applies. # Refer to selector for syntax details. # Corresponds to the JSON property `selector` # @return [String] @@ -2263,64 +1418,838 @@ module Google # Update properties of this object def update!(**args) - @restriction = args[:restriction] if args.key?(:restriction) + @additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings) + @authorizations = args[:authorizations] if args.key?(:authorizations) + @body = args[:body] if args.key?(:body) + @custom = args[:custom] if args.key?(:custom) + @delete = args[:delete] if args.key?(:delete) + @get = args[:get] if args.key?(:get) + @media_download = args[:media_download] if args.key?(:media_download) + @media_upload = args[:media_upload] if args.key?(:media_upload) + @patch = args[:patch] if args.key?(:patch) + @post = args[:post] if args.key?(:post) + @put = args[:put] if args.key?(:put) + @response_body = args[:response_body] if args.key?(:response_body) + @rest_collection = args[:rest_collection] if args.key?(:rest_collection) + @rest_method_name = args[:rest_method_name] if args.key?(:rest_method_name) @selector = args[:selector] if args.key?(:selector) end end + # A description of a label. + class LabelDescriptor + include Google::Apis::Core::Hashable + + # A human-readable description for the label. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The label key. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # The type of data that can be assigned to the label. + # Corresponds to the JSON property `valueType` + # @return [String] + attr_accessor :value_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @key = args[:key] if args.key?(:key) + @value_type = args[:value_type] if args.key?(:value_type) + end + end + + # Response message for `ListEnabledServices` method. + class ListEnabledServicesResponse + include Google::Apis::Core::Hashable + + # Token that can be passed to `ListEnabledServices` to resume a paginated + # query. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Services enabled for the specified parent. + # Corresponds to the JSON property `services` + # @return [Array] + attr_accessor :services + + 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) + @services = args[:services] if args.key?(:services) + end + end + + # A description of a log type. Example in YAML format: + # - name: library.googleapis.com/activity_history + # description: The history of borrowing and returning library items. + # display_name: Activity + # labels: + # - key: /customer_id + # description: Identifier of a library customer + class LogDescriptor + include Google::Apis::Core::Hashable + + # A human-readable description of this log. This information appears in + # the documentation and can contain details. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The human-readable name for this log. This information appears on + # the user interface and should be concise. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The set of labels that are available to describe a specific log entry. + # Runtime requests that contain labels not specified here are + # considered invalid. + # Corresponds to the JSON property `labels` + # @return [Array] + attr_accessor :labels + + # The name of the log. It must be less than 512 characters long and can + # include the following characters: upper- and lower-case alphanumeric + # characters [A-Za-z0-9], and punctuation characters including + # slash, underscore, hyphen, period [/_-.]. + # 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) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @labels = args[:labels] if args.key?(:labels) + @name = args[:name] if args.key?(:name) + end + end + + # Logging configuration of the service. + # The following example shows how to configure logs to be sent to the + # producer and consumer projects. In the example, the `activity_history` + # log is sent to both the producer and consumer projects, whereas the + # `purchase_history` log is only sent to the producer project. + # monitored_resources: + # - type: library.googleapis.com/branch + # labels: + # - key: /city + # description: The city where the library branch is located in. + # - key: /name + # description: The name of the branch. + # logs: + # - name: activity_history + # labels: + # - key: /customer_id + # - name: purchase_history + # logging: + # producer_destinations: + # - monitored_resource: library.googleapis.com/branch + # logs: + # - activity_history + # - purchase_history + # consumer_destinations: + # - monitored_resource: library.googleapis.com/branch + # logs: + # - activity_history + class Logging + include Google::Apis::Core::Hashable + + # Logging configurations for sending logs to the consumer project. + # There can be multiple consumer destinations, each one must have a + # different monitored resource type. A log can be used in at most + # one consumer destination. + # Corresponds to the JSON property `consumerDestinations` + # @return [Array] + attr_accessor :consumer_destinations + + # Logging configurations for sending logs to the producer project. + # There can be multiple producer destinations, each one must have a + # different monitored resource type. A log can be used in at most + # one producer destination. + # Corresponds to the JSON property `producerDestinations` + # @return [Array] + attr_accessor :producer_destinations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @consumer_destinations = args[:consumer_destinations] if args.key?(:consumer_destinations) + @producer_destinations = args[:producer_destinations] if args.key?(:producer_destinations) + end + end + + # Configuration of a specific logging destination (the producer project + # or the consumer project). + class LoggingDestination + include Google::Apis::Core::Hashable + + # Names of the logs to be sent to this destination. Each name must + # be defined in the Service.logs section. If the log name is + # not a domain scoped name, it will be automatically prefixed with + # the service name followed by "/". + # Corresponds to the JSON property `logs` + # @return [Array] + attr_accessor :logs + + # The monitored resource type. The type must be defined in the + # Service.monitored_resources section. + # Corresponds to the JSON property `monitoredResource` + # @return [String] + attr_accessor :monitored_resource + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @logs = args[:logs] if args.key?(:logs) + @monitored_resource = args[:monitored_resource] if args.key?(:monitored_resource) + end + end + + # Defines the Media configuration for a service in case of a download. + # Use this only for Scotty Requests. Do not use this for media support using + # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to + # your configuration for Bytestream methods. + class MediaDownload + include Google::Apis::Core::Hashable + + # A boolean that determines whether a notification for the completion of a + # download should be sent to the backend. + # Corresponds to the JSON property `completeNotification` + # @return [Boolean] + attr_accessor :complete_notification + alias_method :complete_notification?, :complete_notification + + # DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED. + # Specify name of the download service if one is used for download. + # Corresponds to the JSON property `downloadService` + # @return [String] + attr_accessor :download_service + + # Name of the Scotty dropzone to use for the current API. + # Corresponds to the JSON property `dropzone` + # @return [String] + attr_accessor :dropzone + + # Whether download is enabled. + # Corresponds to the JSON property `enabled` + # @return [Boolean] + attr_accessor :enabled + alias_method :enabled?, :enabled + + # Optional maximum acceptable size for direct download. + # The size is specified in bytes. + # Corresponds to the JSON property `maxDirectDownloadSize` + # @return [Fixnum] + attr_accessor :max_direct_download_size + + # A boolean that determines if direct download from ESF should be used for + # download of this media. + # Corresponds to the JSON property `useDirectDownload` + # @return [Boolean] + attr_accessor :use_direct_download + alias_method :use_direct_download?, :use_direct_download + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @complete_notification = args[:complete_notification] if args.key?(:complete_notification) + @download_service = args[:download_service] if args.key?(:download_service) + @dropzone = args[:dropzone] if args.key?(:dropzone) + @enabled = args[:enabled] if args.key?(:enabled) + @max_direct_download_size = args[:max_direct_download_size] if args.key?(:max_direct_download_size) + @use_direct_download = args[:use_direct_download] if args.key?(:use_direct_download) + end + end + + # Defines the Media configuration for a service in case of an upload. + # Use this only for Scotty Requests. Do not use this for media support using + # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to + # your configuration for Bytestream methods. + class MediaUpload + include Google::Apis::Core::Hashable + + # A boolean that determines whether a notification for the completion of an + # upload should be sent to the backend. These notifications will not be seen + # by the client and will not consume quota. + # Corresponds to the JSON property `completeNotification` + # @return [Boolean] + attr_accessor :complete_notification + alias_method :complete_notification?, :complete_notification + + # Name of the Scotty dropzone to use for the current API. + # Corresponds to the JSON property `dropzone` + # @return [String] + attr_accessor :dropzone + + # Whether upload is enabled. + # Corresponds to the JSON property `enabled` + # @return [Boolean] + attr_accessor :enabled + alias_method :enabled?, :enabled + + # Optional maximum acceptable size for an upload. + # The size is specified in bytes. + # Corresponds to the JSON property `maxSize` + # @return [Fixnum] + attr_accessor :max_size + + # An array of mimetype patterns. Esf will only accept uploads that match one + # of the given patterns. + # Corresponds to the JSON property `mimeTypes` + # @return [Array] + attr_accessor :mime_types + + # Whether to receive a notification for progress changes of media upload. + # Corresponds to the JSON property `progressNotification` + # @return [Boolean] + attr_accessor :progress_notification + alias_method :progress_notification?, :progress_notification + + # Whether to receive a notification on the start of media upload. + # Corresponds to the JSON property `startNotification` + # @return [Boolean] + attr_accessor :start_notification + alias_method :start_notification?, :start_notification + + # DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED. + # Specify name of the upload service if one is used for upload. + # Corresponds to the JSON property `uploadService` + # @return [String] + attr_accessor :upload_service + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @complete_notification = args[:complete_notification] if args.key?(:complete_notification) + @dropzone = args[:dropzone] if args.key?(:dropzone) + @enabled = args[:enabled] if args.key?(:enabled) + @max_size = args[:max_size] if args.key?(:max_size) + @mime_types = args[:mime_types] if args.key?(:mime_types) + @progress_notification = args[:progress_notification] if args.key?(:progress_notification) + @start_notification = args[:start_notification] if args.key?(:start_notification) + @upload_service = args[:upload_service] if args.key?(:upload_service) + end + end + + # Method represents a method of an API interface. + class MethodProp + include Google::Apis::Core::Hashable + + # The simple name of this method. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Any metadata attached to the method. + # Corresponds to the JSON property `options` + # @return [Array] + attr_accessor :options + + # If true, the request is streamed. + # Corresponds to the JSON property `requestStreaming` + # @return [Boolean] + attr_accessor :request_streaming + alias_method :request_streaming?, :request_streaming + + # A URL of the input message type. + # Corresponds to the JSON property `requestTypeUrl` + # @return [String] + attr_accessor :request_type_url + + # If true, the response is streamed. + # Corresponds to the JSON property `responseStreaming` + # @return [Boolean] + attr_accessor :response_streaming + alias_method :response_streaming?, :response_streaming + + # The URL of the output message type. + # Corresponds to the JSON property `responseTypeUrl` + # @return [String] + attr_accessor :response_type_url + + # The source syntax of this method. + # Corresponds to the JSON property `syntax` + # @return [String] + attr_accessor :syntax + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @options = args[:options] if args.key?(:options) + @request_streaming = args[:request_streaming] if args.key?(:request_streaming) + @request_type_url = args[:request_type_url] if args.key?(:request_type_url) + @response_streaming = args[:response_streaming] if args.key?(:response_streaming) + @response_type_url = args[:response_type_url] if args.key?(:response_type_url) + @syntax = args[:syntax] if args.key?(:syntax) + end + end + + # Defines a metric type and its schema. Once a metric descriptor is created, + # deleting or altering it stops data collection and makes the metric type's + # existing data unusable. + class MetricDescriptor + include Google::Apis::Core::Hashable + + # A detailed description of the metric, which can be used in documentation. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # A concise name for the metric, which can be displayed in user interfaces. + # Use sentence case without an ending period, for example "Request count". + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The set of labels that can be used to describe a specific + # instance of this metric type. For example, the + # `appengine.googleapis.com/http/server/response_latencies` metric + # type has a label for the HTTP response code, `response_code`, so + # you can look at latencies for successful responses or just + # for responses that failed. + # Corresponds to the JSON property `labels` + # @return [Array] + attr_accessor :labels + + # Whether the metric records instantaneous values, changes to a value, etc. + # Some combinations of `metric_kind` and `value_type` might not be supported. + # Corresponds to the JSON property `metricKind` + # @return [String] + attr_accessor :metric_kind + + # The resource name of the metric descriptor. Depending on the + # implementation, the name typically includes: (1) the parent resource name + # that defines the scope of the metric type or of its data; and (2) the + # metric's URL-encoded type, which also appears in the `type` field of this + # descriptor. For example, following is the resource name of a custom + # metric within the GCP project `my-project-id`: + # "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice% + # 2Fpaid%2Famount" + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The metric type, including its DNS name prefix. The type is not + # URL-encoded. All user-defined custom metric types have the DNS name + # `custom.googleapis.com`. Metric types should use a natural hierarchical + # grouping. For example: + # "custom.googleapis.com/invoice/paid/amount" + # "appengine.googleapis.com/http/server/response_latencies" + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The unit in which the metric value is reported. It is only applicable + # if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The + # supported units are a subset of [The Unified Code for Units of + # Measure](http://unitsofmeasure.org/ucum.html) standard: + # **Basic units (UNIT)** + # * `bit` bit + # * `By` byte + # * `s` second + # * `min` minute + # * `h` hour + # * `d` day + # **Prefixes (PREFIX)** + # * `k` kilo (10**3) + # * `M` mega (10**6) + # * `G` giga (10**9) + # * `T` tera (10**12) + # * `P` peta (10**15) + # * `E` exa (10**18) + # * `Z` zetta (10**21) + # * `Y` yotta (10**24) + # * `m` milli (10**-3) + # * `u` micro (10**-6) + # * `n` nano (10**-9) + # * `p` pico (10**-12) + # * `f` femto (10**-15) + # * `a` atto (10**-18) + # * `z` zepto (10**-21) + # * `y` yocto (10**-24) + # * `Ki` kibi (2**10) + # * `Mi` mebi (2**20) + # * `Gi` gibi (2**30) + # * `Ti` tebi (2**40) + # **Grammar** + # The grammar includes the dimensionless unit `1`, such as `1/s`. + # The grammar also includes these connectors: + # * `/` division (as an infix operator, e.g. `1/s`). + # * `.` multiplication (as an infix operator, e.g. `GBy.d`) + # The grammar for a unit is as follows: + # Expression = Component ` "." Component ` ` "/" Component ` ; + # Component = [ PREFIX ] UNIT [ Annotation ] + # | Annotation + # | "1" + # ; + # Annotation = "`" NAME "`" ; + # Notes: + # * `Annotation` is just a comment if it follows a `UNIT` and is + # equivalent to `1` if it is used alone. For examples, + # ``requests`/s == 1/s`, `By`transmitted`/s == By/s`. + # * `NAME` is a sequence of non-blank printable ASCII characters not + # containing '`' or '`'. + # Corresponds to the JSON property `unit` + # @return [String] + attr_accessor :unit + + # Whether the measurement is an integer, a floating-point number, etc. + # Some combinations of `metric_kind` and `value_type` might not be supported. + # Corresponds to the JSON property `valueType` + # @return [String] + attr_accessor :value_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @labels = args[:labels] if args.key?(:labels) + @metric_kind = args[:metric_kind] if args.key?(:metric_kind) + @name = args[:name] if args.key?(:name) + @type = args[:type] if args.key?(:type) + @unit = args[:unit] if args.key?(:unit) + @value_type = args[:value_type] if args.key?(:value_type) + end + end + + # Bind API methods to metrics. Binding a method to a metric causes that + # metric's configured quota behaviors to apply to the method call. + class MetricRule + include Google::Apis::Core::Hashable + + # Metrics to update when the selected methods are called, and the associated + # cost applied to each metric. + # The key of the map is the metric name, and the values are the amount + # increased for the metric against which the quota limits are defined. + # The value must not be negative. + # Corresponds to the JSON property `metricCosts` + # @return [Hash] + attr_accessor :metric_costs + + # Selects the methods to which this rule applies. + # Refer to selector for syntax details. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metric_costs = args[:metric_costs] if args.key?(:metric_costs) + @selector = args[:selector] if args.key?(:selector) + end + end + + # Declares an API Interface to be included in this interface. The including + # interface must redeclare all the methods from the included interface, but + # documentation and options are inherited as follows: + # - If after comment and whitespace stripping, the documentation + # string of the redeclared method is empty, it will be inherited + # from the original method. + # - Each annotation belonging to the service config (http, + # visibility) which is not set in the redeclared method will be + # inherited. + # - If an http annotation is inherited, the path pattern will be + # modified as follows. Any version prefix will be replaced by the + # version of the including interface plus the root path if + # specified. + # Example of a simple mixin: + # package google.acl.v1; + # service AccessControl ` + # // Get the underlying ACL object. + # rpc GetAcl(GetAclRequest) returns (Acl) ` + # option (google.api.http).get = "/v1/`resource=**`:getAcl"; + # ` + # ` + # package google.storage.v2; + # service Storage ` + # // rpc GetAcl(GetAclRequest) returns (Acl); + # // Get a data record. + # rpc GetData(GetDataRequest) returns (Data) ` + # option (google.api.http).get = "/v2/`resource=**`"; + # ` + # ` + # Example of a mixin configuration: + # apis: + # - name: google.storage.v2.Storage + # mixins: + # - name: google.acl.v1.AccessControl + # The mixin construct implies that all methods in `AccessControl` are + # also declared with same name and request/response types in + # `Storage`. A documentation generator or annotation processor will + # see the effective `Storage.GetAcl` method after inherting + # documentation and annotations as follows: + # service Storage ` + # // Get the underlying ACL object. + # rpc GetAcl(GetAclRequest) returns (Acl) ` + # option (google.api.http).get = "/v2/`resource=**`:getAcl"; + # ` + # ... + # ` + # Note how the version in the path pattern changed from `v1` to `v2`. + # If the `root` field in the mixin is specified, it should be a + # relative path under which inherited HTTP paths are placed. Example: + # apis: + # - name: google.storage.v2.Storage + # mixins: + # - name: google.acl.v1.AccessControl + # root: acls + # This implies the following inherited HTTP annotation: + # service Storage ` + # // Get the underlying ACL object. + # rpc GetAcl(GetAclRequest) returns (Acl) ` + # option (google.api.http).get = "/v2/acls/`resource=**`:getAcl"; + # ` + # ... + # ` + class Mixin + include Google::Apis::Core::Hashable + + # The fully qualified name of the interface which is included. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # If non-empty specifies a path under which inherited HTTP paths + # are rooted. + # Corresponds to the JSON property `root` + # @return [String] + attr_accessor :root + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @root = args[:root] if args.key?(:root) + end + end + + # An object that describes the schema of a MonitoredResource object using a + # type name and a set of labels. For example, the monitored resource + # descriptor for Google Compute Engine VM instances has a type of + # `"gce_instance"` and specifies the use of the labels `"instance_id"` and + # `"zone"` to identify particular VM instances. + # Different APIs can support different monitored resource types. APIs generally + # provide a `list` method that returns the monitored resource descriptors used + # by the API. + class MonitoredResourceDescriptor + include Google::Apis::Core::Hashable + + # Optional. A detailed description of the monitored resource type that might + # be used in documentation. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Optional. A concise name for the monitored resource type that might be + # displayed in user interfaces. It should be a Title Cased Noun Phrase, + # without any article or other determiners. For example, + # `"Google Cloud SQL Database"`. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Required. A set of labels used to describe instances of this monitored + # resource type. For example, an individual Google Cloud SQL database is + # identified by values for the labels `"database_id"` and `"zone"`. + # Corresponds to the JSON property `labels` + # @return [Array] + attr_accessor :labels + + # Optional. The resource name of the monitored resource descriptor: + # `"projects/`project_id`/monitoredResourceDescriptors/`type`"` where + # `type` is the value of the `type` field in this object and + # `project_id` is a project ID that provides API-specific context for + # accessing the type. APIs that do not use project information can use the + # resource name format `"monitoredResourceDescriptors/`type`"`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Required. The monitored resource type. For example, the type + # `"cloudsql_database"` represents databases in Google Cloud SQL. + # The maximum length of this value is 256 characters. + # 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) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @labels = args[:labels] if args.key?(:labels) + @name = args[:name] if args.key?(:name) + @type = args[:type] if args.key?(:type) + end + end + + # Monitoring configuration of the service. + # The example below shows how to configure monitored resources and metrics + # for monitoring. In the example, a monitored resource and two metrics are + # defined. The `library.googleapis.com/book/returned_count` metric is sent + # to both producer and consumer projects, whereas the + # `library.googleapis.com/book/overdue_count` metric is only sent to the + # consumer project. + # monitored_resources: + # - type: library.googleapis.com/branch + # labels: + # - key: /city + # description: The city where the library branch is located in. + # - key: /name + # description: The name of the branch. + # metrics: + # - name: library.googleapis.com/book/returned_count + # metric_kind: DELTA + # value_type: INT64 + # labels: + # - key: /customer_id + # - name: library.googleapis.com/book/overdue_count + # metric_kind: GAUGE + # value_type: INT64 + # labels: + # - key: /customer_id + # monitoring: + # producer_destinations: + # - monitored_resource: library.googleapis.com/branch + # metrics: + # - library.googleapis.com/book/returned_count + # consumer_destinations: + # - monitored_resource: library.googleapis.com/branch + # metrics: + # - library.googleapis.com/book/returned_count + # - library.googleapis.com/book/overdue_count + class Monitoring + include Google::Apis::Core::Hashable + + # Monitoring configurations for sending metrics to the consumer project. + # There can be multiple consumer destinations, each one must have a + # different monitored resource type. A metric can be used in at most + # one consumer destination. + # Corresponds to the JSON property `consumerDestinations` + # @return [Array] + attr_accessor :consumer_destinations + + # Monitoring configurations for sending metrics to the producer project. + # There can be multiple producer destinations, each one must have a + # different monitored resource type. A metric can be used in at most + # one producer destination. + # Corresponds to the JSON property `producerDestinations` + # @return [Array] + attr_accessor :producer_destinations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @consumer_destinations = args[:consumer_destinations] if args.key?(:consumer_destinations) + @producer_destinations = args[:producer_destinations] if args.key?(:producer_destinations) + end + end + # Configuration of a specific monitoring destination (the producer project # or the consumer project). class MonitoringDestination include Google::Apis::Core::Hashable - # The monitored resource type. The type must be defined in - # Service.monitored_resources section. - # Corresponds to the JSON property `monitoredResource` - # @return [String] - attr_accessor :monitored_resource - # Names of the metrics to report to this monitoring destination. # Each name must be defined in Service.metrics section. # Corresponds to the JSON property `metrics` # @return [Array] attr_accessor :metrics + # The monitored resource type. The type must be defined in + # Service.monitored_resources section. + # Corresponds to the JSON property `monitoredResource` + # @return [String] + attr_accessor :monitored_resource + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @monitored_resource = args[:monitored_resource] if args.key?(:monitored_resource) @metrics = args[:metrics] if args.key?(:metrics) + @monitored_resource = args[:monitored_resource] if args.key?(:monitored_resource) end end - # `Visibility` defines restrictions for the visibility of service - # elements. Restrictions are specified using visibility labels - # (e.g., TRUSTED_TESTER) that are elsewhere linked to users and projects. - # Users and projects can have access to more than one visibility label. The - # effective visibility for multiple labels is the union of each label's - # elements, plus any unrestricted elements. - # If an element and its parents have no restrictions, visibility is - # unconditionally granted. - # Example: - # visibility: - # rules: - # - selector: google.calendar.Calendar.EnhancedSearch - # restriction: TRUSTED_TESTER - # - selector: google.calendar.Calendar.Delegate - # restriction: GOOGLE_INTERNAL - # Here, all methods are publicly visible except for the restricted methods - # EnhancedSearch and Delegate. - class Visibility + # OAuth scopes are a way to define data and permissions on data. For example, + # there are scopes defined for "Read-only access to Google Calendar" and + # "Access to Cloud Platform". Users can consent to a scope for an application, + # giving it permission to access that data on their behalf. + # OAuth scope specifications should be fairly coarse grained; a user will need + # to see and understand the text description of what your scope means. + # In most cases: use one or at most two OAuth scopes for an entire family of + # products. If your product has multiple APIs, you should probably be sharing + # the OAuth scope across all of those APIs. + # When you need finer grained OAuth consent screens: talk with your product + # management about how developers will use them in practice. + # Please note that even though each of the canonical scopes is enough for a + # request to be accepted and passed to the backend, a request can still fail + # due to the backend requiring additional scopes or permissions. + class OAuthRequirements include Google::Apis::Core::Hashable - # A list of visibility rules that apply to individual API elements. - # **NOTE:** All service configuration rules follow "last one wins" order. - # Corresponds to the JSON property `rules` - # @return [Array] - attr_accessor :rules + # The list of publicly documented OAuth scopes that are allowed access. An + # OAuth token containing any of these scopes will be accepted. + # Example: + # canonical_scopes: https://www.googleapis.com/auth/calendar, + # https://www.googleapis.com/auth/calendar.read + # Corresponds to the JSON property `canonicalScopes` + # @return [String] + attr_accessor :canonical_scopes def initialize(**args) update!(**args) @@ -2328,43 +2257,261 @@ module Google # Update properties of this object def update!(**args) - @rules = args[:rules] if args.key?(:rules) + @canonical_scopes = args[:canonical_scopes] if args.key?(:canonical_scopes) end end - # ### System parameter configuration - # A system parameter is a special kind of parameter defined by the API - # system, not by an individual API. It is typically mapped to an HTTP header - # and/or a URL query parameter. This configuration specifies which methods - # change the names of the system parameters. - class SystemParameters + # This resource represents a long-running operation that is the result of a + # network API call. + class Operation include Google::Apis::Core::Hashable - # Define system parameters. - # The parameters defined here will override the default parameters - # implemented by the system. If this field is missing from the service - # config, default system parameters will be used. Default system parameters - # and names is implementation-dependent. - # Example: define api key for all methods - # system_parameters + # 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` that 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. + # - 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::ServiceuserV1::Status] + attr_accessor :error + + # 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 + + # 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 + + # 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) + @done = args[:done] if args.key?(:done) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + @response = args[:response] if args.key?(:response) + end + end + + # The metadata associated with a long running operation resource. + class OperationMetadata + include Google::Apis::Core::Hashable + + # Percentage of completion of this operation, ranging from 0 to 100. + # Corresponds to the JSON property `progressPercentage` + # @return [Fixnum] + attr_accessor :progress_percentage + + # The full name of the resources that this operation is directly + # associated with. + # Corresponds to the JSON property `resourceNames` + # @return [Array] + attr_accessor :resource_names + + # The start time of the operation. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Detailed status information for each step. The order is undetermined. + # Corresponds to the JSON property `steps` + # @return [Array] + attr_accessor :steps + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage) + @resource_names = args[:resource_names] if args.key?(:resource_names) + @start_time = args[:start_time] if args.key?(:start_time) + @steps = args[:steps] if args.key?(:steps) + end + end + + # A protocol buffer option, which can be attached to a message, field, + # enumeration, etc. + class Option + include Google::Apis::Core::Hashable + + # The option's name. For protobuf built-in options (options defined in + # descriptor.proto), this is the short name. For example, `"map_entry"`. + # For custom options, it should be the fully-qualified name. For example, + # `"google.api.http"`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The option's value packed in an Any message. If the value is a primitive, + # the corresponding wrapper type defined in google/protobuf/wrappers.proto + # should be used. If the value is an enum, it should be stored as an int32 + # value using the google.protobuf.Int32Value type. + # Corresponds to the JSON property `value` + # @return [Hash] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @value = args[:value] if args.key?(:value) + end + end + + # Represents a documentation page. A page can contain subpages to represent + # nested documentation set structure. + class Page + include Google::Apis::Core::Hashable + + # The Markdown content of the page. You can use (== include `path` ==&# + # 41; + # to include content from a Markdown file. + # Corresponds to the JSON property `content` + # @return [String] + attr_accessor :content + + # The name of the page. It will be used as an identity of the page to + # generate URI of the page, text of the link to this page in navigation, + # etc. The full page name (start from the root page name to this page + # concatenated with `.`) can be used as reference to the page in your + # documentation. For example: + #
    pages:
    +        # - name: Tutorial
    +        # content: (== include tutorial.md ==)
    +        # subpages:
    +        # - name: Java
    +        # content: (== include tutorial_java.md ==)
    +        # 
    + # You can reference `Java` page using Markdown reference link syntax: + # `Java`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Subpages of this page. The order of subpages specified here will be + # honored in the generated docset. + # Corresponds to the JSON property `subpages` + # @return [Array] + attr_accessor :subpages + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content = args[:content] if args.key?(:content) + @name = args[:name] if args.key?(:name) + @subpages = args[:subpages] if args.key?(:subpages) + end + end + + # The published version of a Service that is managed by + # Google Service Management. + class PublishedService + include Google::Apis::Core::Hashable + + # The resource name of the service. + # A valid name would be: + # - services/serviceuser.googleapis.com + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # `Service` is the root object of Google service configuration schema. It + # describes basic information about a service, such as the name and the + # title, and delegates other aspects to sub-sections. Each sub-section is + # either a proto message or a repeated proto message that configures a + # specific aspect, such as auth. See each proto message definition for details. + # Example: + # type: google.api.Service + # config_version: 3 + # name: calendar.googleapis.com + # title: Google Calendar API + # apis: + # - name: google.calendar.v3.Calendar + # authentication: + # providers: + # - id: google_calendar_auth + # jwks_uri: https://www.googleapis.com/oauth2/v1/certs + # issuer: https://securetoken.google.com # rules: # - selector: "*" - # parameters: - # - name: api_key - # url_query_parameter: api_key - # Example: define 2 api key names for a specific method. - # system_parameters - # rules: - # - selector: "/ListShelves" - # parameters: - # - name: api_key - # http_header: Api-Key1 - # - name: api_key - # http_header: Api-Key2 - # **NOTE:** All service configuration rules follow "last one wins" order. - # Corresponds to the JSON property `rules` - # @return [Array] - attr_accessor :rules + # requirements: + # provider_id: google_calendar_auth + # Corresponds to the JSON property `service` + # @return [Google::Apis::ServiceuserV1::Service] + attr_accessor :service def initialize(**args) update!(**args) @@ -2372,7 +2519,8 @@ module Google # Update properties of this object def update!(**args) - @rules = args[:rules] if args.key?(:rules) + @name = args[:name] if args.key?(:name) + @service = args[:service] if args.key?(:service) end end @@ -2440,176 +2588,12 @@ module Google end end - # Represents the status of one operation step. - class Step - include Google::Apis::Core::Hashable - - # The status code. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - # The short description of the step. - # 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) - @status = args[:status] if args.key?(:status) - @description = args[:description] if args.key?(:description) - end - end - - # Configuration of a specific logging destination (the producer project - # or the consumer project). - class LoggingDestination - include Google::Apis::Core::Hashable - - # Names of the logs to be sent to this destination. Each name must - # be defined in the Service.logs section. If the log name is - # not a domain scoped name, it will be automatically prefixed with - # the service name followed by "/". - # Corresponds to the JSON property `logs` - # @return [Array] - attr_accessor :logs - - # The monitored resource type. The type must be defined in the - # Service.monitored_resources section. - # Corresponds to the JSON property `monitoredResource` - # @return [String] - attr_accessor :monitored_resource - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @logs = args[:logs] if args.key?(:logs) - @monitored_resource = args[:monitored_resource] if args.key?(:monitored_resource) - end - end - - # A protocol buffer option, which can be attached to a message, field, - # enumeration, etc. - class Option - include Google::Apis::Core::Hashable - - # The option's name. For protobuf built-in options (options defined in - # descriptor.proto), this is the short name. For example, `"map_entry"`. - # For custom options, it should be the fully-qualified name. For example, - # `"google.api.http"`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The option's value packed in an Any message. If the value is a primitive, - # the corresponding wrapper type defined in google/protobuf/wrappers.proto - # should be used. If the value is an enum, it should be stored as an int32 - # value using the google.protobuf.Int32Value type. - # Corresponds to the JSON property `value` - # @return [Hash] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @value = args[:value] if args.key?(:value) - end - end - - # Logging configuration of the service. - # The following example shows how to configure logs to be sent to the - # producer and consumer projects. In the example, the `activity_history` - # log is sent to both the producer and consumer projects, whereas the - # `purchase_history` log is only sent to the producer project. - # monitored_resources: - # - type: library.googleapis.com/branch - # labels: - # - key: /city - # description: The city where the library branch is located in. - # - key: /name - # description: The name of the branch. - # logs: - # - name: activity_history - # labels: - # - key: /customer_id - # - name: purchase_history - # logging: - # producer_destinations: - # - monitored_resource: library.googleapis.com/branch - # logs: - # - activity_history - # - purchase_history - # consumer_destinations: - # - monitored_resource: library.googleapis.com/branch - # logs: - # - activity_history - class Logging - include Google::Apis::Core::Hashable - - # Logging configurations for sending logs to the consumer project. - # There can be multiple consumer destinations, each one must have a - # different monitored resource type. A log can be used in at most - # one consumer destination. - # Corresponds to the JSON property `consumerDestinations` - # @return [Array] - attr_accessor :consumer_destinations - - # Logging configurations for sending logs to the producer project. - # There can be multiple producer destinations, each one must have a - # different monitored resource type. A log can be used in at most - # one producer destination. - # Corresponds to the JSON property `producerDestinations` - # @return [Array] - attr_accessor :producer_destinations - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @consumer_destinations = args[:consumer_destinations] if args.key?(:consumer_destinations) - @producer_destinations = args[:producer_destinations] if args.key?(:producer_destinations) - end - end - # `QuotaLimit` defines a specific limit that applies over a specified duration # for a limit type. There can be at most one limit for a duration and limit # type combination defined within a `QuotaGroup`. class QuotaLimit include Google::Apis::Core::Hashable - # Free tier value displayed in the Developers Console for this limit. - # The free tier is the number of tokens that will be subtracted from the - # billed amount when billing is enabled. - # This field can only be set on a limit with duration "1d", in a billable - # group; it is invalid on any other limit. If this field is not set, it - # defaults to 0, indicating that there is no free tier for this service. - # Used by group-based quotas only. - # Corresponds to the JSON property `freeTier` - # @return [Fixnum] - attr_accessor :free_tier - - # Duration of this limit in textual notation. Example: "100s", "24h", "1d". - # For duration longer than a day, only multiple of days is supported. We - # support only "100s" and "1d" for now. Additional support will be added in - # the future. "0" indicates indefinite duration. - # Used by group-based quotas only. - # Corresponds to the JSON property `duration` - # @return [String] - attr_accessor :duration - # Default number of tokens that can be consumed during the specified # duration. This is the number of tokens assigned when a client # application developer activates the service for his/her project. @@ -2622,6 +2606,13 @@ module Google # @return [Fixnum] attr_accessor :default_limit + # Optional. User-visible, extended description for this quota limit. + # Should be used only when more context is needed to understand this limit + # than provided by the limit's display name (see: `display_name`). + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + # User-visible display name for this limit. # Optional. If not set, the UI will provide a default display name based on # the quota configuration. This field can be used to override the default @@ -2630,6 +2621,37 @@ module Google # @return [String] attr_accessor :display_name + # Duration of this limit in textual notation. Example: "100s", "24h", "1d". + # For duration longer than a day, only multiple of days is supported. We + # support only "100s" and "1d" for now. Additional support will be added in + # the future. "0" indicates indefinite duration. + # Used by group-based quotas only. + # Corresponds to the JSON property `duration` + # @return [String] + attr_accessor :duration + + # Free tier value displayed in the Developers Console for this limit. + # The free tier is the number of tokens that will be subtracted from the + # billed amount when billing is enabled. + # This field can only be set on a limit with duration "1d", in a billable + # group; it is invalid on any other limit. If this field is not set, it + # defaults to 0, indicating that there is no free tier for this service. + # Used by group-based quotas only. + # Corresponds to the JSON property `freeTier` + # @return [Fixnum] + attr_accessor :free_tier + + # Maximum number of tokens that can be consumed during the specified + # duration. Client application developers can override the default limit up + # to this maximum. If specified, this value cannot be set to a value less + # than the default limit. If not specified, it is set to the default limit. + # To allow clients to apply overrides with no upper bound, set this to -1, + # indicating unlimited maximum quota. + # Used by group-based quotas only. + # Corresponds to the JSON property `maxLimit` + # @return [Fixnum] + attr_accessor :max_limit + # The name of the metric this quota limit applies to. The quota limits with # the same metric will be checked together during runtime. The metric must be # defined within the service config. @@ -2638,17 +2660,20 @@ module Google # @return [String] attr_accessor :metric - # Optional. User-visible, extended description for this quota limit. - # Should be used only when more context is needed to understand this limit - # than provided by the limit's display name (see: `display_name`). - # Corresponds to the JSON property `description` + # Name of the quota limit. The name is used to refer to the limit when + # overriding the default limit on per-consumer basis. + # For metric-based quota limits, the name must be provided, and it must be + # unique within the service. The name can only include alphanumeric + # characters as well as '-'. + # The maximum length of the limit name is 64 characters. + # The name of a limit is used as a unique identifier for this limit. + # Therefore, once a limit has been put into use, its name should be + # immutable. You can use the display_name field to provide a user-friendly + # name for the limit. The display name can be evolved over time without + # affecting the identity of the limit. + # Corresponds to the JSON property `name` # @return [String] - attr_accessor :description - - # Tiered limit values, currently only STANDARD is supported. - # Corresponds to the JSON property `values` - # @return [Hash] - attr_accessor :values + attr_accessor :name # Specify the unit of the quota limit. It uses the same syntax as # Metric.unit. The supported unit kinds are determined by the quota @@ -2670,31 +2695,10 @@ module Google # @return [String] attr_accessor :unit - # Maximum number of tokens that can be consumed during the specified - # duration. Client application developers can override the default limit up - # to this maximum. If specified, this value cannot be set to a value less - # than the default limit. If not specified, it is set to the default limit. - # To allow clients to apply overrides with no upper bound, set this to -1, - # indicating unlimited maximum quota. - # Used by group-based quotas only. - # Corresponds to the JSON property `maxLimit` - # @return [Fixnum] - attr_accessor :max_limit - - # Name of the quota limit. The name is used to refer to the limit when - # overriding the default limit on per-consumer basis. - # For metric-based quota limits, the name must be provided, and it must be - # unique within the service. The name can only include alphanumeric - # characters as well as '-'. - # The maximum length of the limit name is 64 characters. - # The name of a limit is used as a unique identifier for this limit. - # Therefore, once a limit has been put into use, its name should be - # immutable. You can use the display_name field to provide a user-friendly - # name for the limit. The display name can be evolved over time without - # affecting the identity of the limit. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name + # Tiered limit values, currently only STANDARD is supported. + # Corresponds to the JSON property `values` + # @return [Hash] + attr_accessor :values def initialize(**args) update!(**args) @@ -2702,59 +2706,33 @@ module Google # Update properties of this object def update!(**args) - @free_tier = args[:free_tier] if args.key?(:free_tier) - @duration = args[:duration] if args.key?(:duration) @default_limit = args[:default_limit] if args.key?(:default_limit) - @display_name = args[:display_name] if args.key?(:display_name) - @metric = args[:metric] if args.key?(:metric) @description = args[:description] if args.key?(:description) - @values = args[:values] if args.key?(:values) - @unit = args[:unit] if args.key?(:unit) + @display_name = args[:display_name] if args.key?(:display_name) + @duration = args[:duration] if args.key?(:duration) + @free_tier = args[:free_tier] if args.key?(:free_tier) @max_limit = args[:max_limit] if args.key?(:max_limit) + @metric = args[:metric] if args.key?(:metric) @name = args[:name] if args.key?(:name) + @unit = args[:unit] if args.key?(:unit) + @values = args[:values] if args.key?(:values) end end - # Method represents a method of an api. - class MethodProp + # Response message for SearchServices method. + class SearchServicesResponse include Google::Apis::Core::Hashable - # The simple name of this method. - # Corresponds to the JSON property `name` + # Token that can be passed to `ListAvailableServices` to resume a paginated + # query. + # Corresponds to the JSON property `nextPageToken` # @return [String] - attr_accessor :name + attr_accessor :next_page_token - # A URL of the input message type. - # Corresponds to the JSON property `requestTypeUrl` - # @return [String] - attr_accessor :request_type_url - - # If true, the request is streamed. - # Corresponds to the JSON property `requestStreaming` - # @return [Boolean] - attr_accessor :request_streaming - alias_method :request_streaming?, :request_streaming - - # The source syntax of this method. - # Corresponds to the JSON property `syntax` - # @return [String] - attr_accessor :syntax - - # The URL of the output message type. - # Corresponds to the JSON property `responseTypeUrl` - # @return [String] - attr_accessor :response_type_url - - # Any metadata attached to the method. - # Corresponds to the JSON property `options` - # @return [Array] - attr_accessor :options - - # If true, the response is streamed. - # Corresponds to the JSON property `responseStreaming` - # @return [Boolean] - attr_accessor :response_streaming - alias_method :response_streaming?, :response_streaming + # Services available publicly or available to the authenticated caller. + # Corresponds to the JSON property `services` + # @return [Array] + attr_accessor :services def initialize(**args) update!(**args) @@ -2762,156 +2740,455 @@ module Google # Update properties of this object def update!(**args) - @name = args[:name] if args.key?(:name) - @request_type_url = args[:request_type_url] if args.key?(:request_type_url) - @request_streaming = args[:request_streaming] if args.key?(:request_streaming) - @syntax = args[:syntax] if args.key?(:syntax) - @response_type_url = args[:response_type_url] if args.key?(:response_type_url) - @options = args[:options] if args.key?(:options) - @response_streaming = args[:response_streaming] if args.key?(:response_streaming) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @services = args[:services] if args.key?(:services) end end - # Declares an API to be included in this API. The including API must - # redeclare all the methods from the included API, but documentation - # and options are inherited as follows: - # - If after comment and whitespace stripping, the documentation - # string of the redeclared method is empty, it will be inherited - # from the original method. - # - Each annotation belonging to the service config (http, - # visibility) which is not set in the redeclared method will be - # inherited. - # - If an http annotation is inherited, the path pattern will be - # modified as follows. Any version prefix will be replaced by the - # version of the including API plus the root path if specified. - # Example of a simple mixin: - # package google.acl.v1; - # service AccessControl ` - # // Get the underlying ACL object. - # rpc GetAcl(GetAclRequest) returns (Acl) ` - # option (google.api.http).get = "/v1/`resource=**`:getAcl"; - # ` - # ` - # package google.storage.v2; - # service Storage ` - # // rpc GetAcl(GetAclRequest) returns (Acl); - # // Get a data record. - # rpc GetData(GetDataRequest) returns (Data) ` - # option (google.api.http).get = "/v2/`resource=**`"; - # ` - # ` - # Example of a mixin configuration: - # apis: - # - name: google.storage.v2.Storage - # mixins: - # - name: google.acl.v1.AccessControl - # The mixin construct implies that all methods in `AccessControl` are - # also declared with same name and request/response types in - # `Storage`. A documentation generator or annotation processor will - # see the effective `Storage.GetAcl` method after inherting - # documentation and annotations as follows: - # service Storage ` - # // Get the underlying ACL object. - # rpc GetAcl(GetAclRequest) returns (Acl) ` - # option (google.api.http).get = "/v2/`resource=**`:getAcl"; - # ` - # ... - # ` - # Note how the version in the path pattern changed from `v1` to `v2`. - # If the `root` field in the mixin is specified, it should be a - # relative path under which inherited HTTP paths are placed. Example: - # apis: - # - name: google.storage.v2.Storage - # mixins: - # - name: google.acl.v1.AccessControl - # root: acls - # This implies the following inherited HTTP annotation: - # service Storage ` - # // Get the underlying ACL object. - # rpc GetAcl(GetAclRequest) returns (Acl) ` - # option (google.api.http).get = "/v2/acls/`resource=**`:getAcl"; - # ` - # ... - # ` - class Mixin - include Google::Apis::Core::Hashable - - # If non-empty specifies a path under which inherited HTTP paths - # are rooted. - # Corresponds to the JSON property `root` - # @return [String] - attr_accessor :root - - # The fully qualified name of the API which is included. - # 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) - @root = args[:root] if args.key?(:root) - @name = args[:name] if args.key?(:name) - end - end - - # Customize service error responses. For example, list any service - # specific protobuf types that can appear in error detail lists of - # error responses. + # `Service` is the root object of Google service configuration schema. It + # describes basic information about a service, such as the name and the + # title, and delegates other aspects to sub-sections. Each sub-section is + # either a proto message or a repeated proto message that configures a + # specific aspect, such as auth. See each proto message definition for details. # Example: - # custom_error: - # types: - # - google.foo.v1.CustomError - # - google.foo.v1.AnotherError - class CustomError + # type: google.api.Service + # config_version: 3 + # name: calendar.googleapis.com + # title: Google Calendar API + # apis: + # - name: google.calendar.v3.Calendar + # authentication: + # providers: + # - id: google_calendar_auth + # jwks_uri: https://www.googleapis.com/oauth2/v1/certs + # issuer: https://securetoken.google.com + # rules: + # - selector: "*" + # requirements: + # provider_id: google_calendar_auth + class Service include Google::Apis::Core::Hashable - # The list of custom error rules that apply to individual API messages. - # **NOTE:** All service configuration rules follow "last one wins" order. - # Corresponds to the JSON property `rules` - # @return [Array] - attr_accessor :rules + # A list of API interfaces exported by this service. Only the `name` field + # of the google.protobuf.Api needs to be provided by the configuration + # author, as the remaining fields will be derived from the IDL during the + # normalization process. It is an error to specify an API interface here + # which cannot be resolved against the associated IDL files. + # Corresponds to the JSON property `apis` + # @return [Array] + attr_accessor :apis - # The list of custom error detail types, e.g. 'google.foo.v1.CustomError'. + # `Authentication` defines the authentication configuration for an API. + # Example for an API targeted for external use: + # name: calendar.googleapis.com + # authentication: + # providers: + # - id: google_calendar_auth + # jwks_uri: https://www.googleapis.com/oauth2/v1/certs + # issuer: https://securetoken.google.com + # rules: + # - selector: "*" + # requirements: + # provider_id: google_calendar_auth + # Corresponds to the JSON property `authentication` + # @return [Google::Apis::ServiceuserV1::Authentication] + attr_accessor :authentication + + # `Backend` defines the backend configuration for a service. + # Corresponds to the JSON property `backend` + # @return [Google::Apis::ServiceuserV1::Backend] + attr_accessor :backend + + # The semantic version of the service configuration. The config version + # affects the interpretation of the service configuration. For example, + # certain features are enabled by default for certain config versions. + # The latest config version is `3`. + # Corresponds to the JSON property `configVersion` + # @return [Fixnum] + attr_accessor :config_version + + # `Context` defines which contexts an API requests. + # Example: + # context: + # rules: + # - selector: "*" + # requested: + # - google.rpc.context.ProjectContext + # - google.rpc.context.OriginContext + # The above specifies that all methods in the API request + # `google.rpc.context.ProjectContext` and + # `google.rpc.context.OriginContext`. + # Available context types are defined in package + # `google.rpc.context`. + # Corresponds to the JSON property `context` + # @return [Google::Apis::ServiceuserV1::Context] + attr_accessor :context + + # Selects and configures the service controller used by the service. The + # service controller handles features like abuse, quota, billing, logging, + # monitoring, etc. + # Corresponds to the JSON property `control` + # @return [Google::Apis::ServiceuserV1::Control] + attr_accessor :control + + # Customize service error responses. For example, list any service + # specific protobuf types that can appear in error detail lists of + # error responses. + # Example: + # custom_error: + # types: + # - google.foo.v1.CustomError + # - google.foo.v1.AnotherError + # Corresponds to the JSON property `customError` + # @return [Google::Apis::ServiceuserV1::CustomError] + attr_accessor :custom_error + + # `Documentation` provides the information for describing a service. + # Example: + #
    documentation:
    +        # summary: >
    +        # The Google Calendar API gives access
    +        # to most calendar features.
    +        # pages:
    +        # - name: Overview
    +        # content: (== include google/foo/overview.md ==)
    +        # - name: Tutorial
    +        # content: (== include google/foo/tutorial.md ==)
    +        # subpages;
    +        # - name: Java
    +        # content: (== include google/foo/tutorial_java.md ==)
    +        # rules:
    +        # - selector: google.calendar.Calendar.Get
    +        # description: >
    +        # ...
    +        # - selector: google.calendar.Calendar.Put
    +        # description: >
    +        # ...
    +        # 
    + # Documentation is provided in markdown syntax. In addition to + # standard markdown features, definition lists, tables and fenced + # code blocks are supported. Section headers can be provided and are + # interpreted relative to the section nesting of the context where + # a documentation fragment is embedded. + # Documentation from the IDL is merged with documentation defined + # via the config at normalization time, where documentation provided + # by config rules overrides IDL provided. + # A number of constructs specific to the API platform are supported + # in documentation text. + # In order to reference a proto element, the following + # notation can be used: + #
    [fully.qualified.proto.name][]
    + # To override the display text used for the link, this can be used: + #
    [display text][fully.qualified.proto.name]
    + # Text can be excluded from doc using the following notation: + #
    (-- internal comment --)
    + # Comments can be made conditional using a visibility label. The below + # text will be only rendered if the `BETA` label is available: + #
    (--BETA: comment for BETA users --)
    + # A few directives are available in documentation. Note that + # directives must appear on a single line to be properly + # identified. The `include` directive includes a markdown file from + # an external source: + #
    (== include path/to/file ==)
    + # The `resource_for` directive marks a message to be the resource of + # a collection in REST view. If it is not specified, tools attempt + # to infer the resource from the operations in a collection: + #
    (== resource_for v1.shelves.books ==)
    + # The directive `suppress_warning` does not directly affect documentation + # and is documented together with service config validation. + # Corresponds to the JSON property `documentation` + # @return [Google::Apis::ServiceuserV1::Documentation] + attr_accessor :documentation + + # Configuration for network endpoints. If this is empty, then an endpoint + # with the same name as the service is automatically generated to service all + # defined APIs. + # Corresponds to the JSON property `endpoints` + # @return [Array] + attr_accessor :endpoints + + # A list of all enum types included in this API service. Enums + # referenced directly or indirectly by the `apis` are automatically + # included. Enums which are not referenced but shall be included + # should be listed here by name. Example: + # enums: + # - name: google.someapi.v1.SomeEnum + # Corresponds to the JSON property `enums` + # @return [Array] + attr_accessor :enums + + # Experimental service configuration. These configuration options can + # only be used by whitelisted users. + # Corresponds to the JSON property `experimental` + # @return [Google::Apis::ServiceuserV1::Experimental] + attr_accessor :experimental + + # Defines the HTTP configuration for an API service. It contains a list of + # HttpRule, each specifying the mapping of an RPC method + # to one or more HTTP REST API methods. + # Corresponds to the JSON property `http` + # @return [Google::Apis::ServiceuserV1::Http] + attr_accessor :http + + # A unique ID for a specific instance of this message, typically assigned + # by the client for tracking purpose. If empty, the server may choose to + # generate one instead. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Logging configuration of the service. + # The following example shows how to configure logs to be sent to the + # producer and consumer projects. In the example, the `activity_history` + # log is sent to both the producer and consumer projects, whereas the + # `purchase_history` log is only sent to the producer project. + # monitored_resources: + # - type: library.googleapis.com/branch + # labels: + # - key: /city + # description: The city where the library branch is located in. + # - key: /name + # description: The name of the branch. + # logs: + # - name: activity_history + # labels: + # - key: /customer_id + # - name: purchase_history + # logging: + # producer_destinations: + # - monitored_resource: library.googleapis.com/branch + # logs: + # - activity_history + # - purchase_history + # consumer_destinations: + # - monitored_resource: library.googleapis.com/branch + # logs: + # - activity_history + # Corresponds to the JSON property `logging` + # @return [Google::Apis::ServiceuserV1::Logging] + attr_accessor :logging + + # Defines the logs used by this service. + # Corresponds to the JSON property `logs` + # @return [Array] + attr_accessor :logs + + # Defines the metrics used by this service. + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics + + # Defines the monitored resources used by this service. This is required + # by the Service.monitoring and Service.logging configurations. + # Corresponds to the JSON property `monitoredResources` + # @return [Array] + attr_accessor :monitored_resources + + # Monitoring configuration of the service. + # The example below shows how to configure monitored resources and metrics + # for monitoring. In the example, a monitored resource and two metrics are + # defined. The `library.googleapis.com/book/returned_count` metric is sent + # to both producer and consumer projects, whereas the + # `library.googleapis.com/book/overdue_count` metric is only sent to the + # consumer project. + # monitored_resources: + # - type: library.googleapis.com/branch + # labels: + # - key: /city + # description: The city where the library branch is located in. + # - key: /name + # description: The name of the branch. + # metrics: + # - name: library.googleapis.com/book/returned_count + # metric_kind: DELTA + # value_type: INT64 + # labels: + # - key: /customer_id + # - name: library.googleapis.com/book/overdue_count + # metric_kind: GAUGE + # value_type: INT64 + # labels: + # - key: /customer_id + # monitoring: + # producer_destinations: + # - monitored_resource: library.googleapis.com/branch + # metrics: + # - library.googleapis.com/book/returned_count + # consumer_destinations: + # - monitored_resource: library.googleapis.com/branch + # metrics: + # - library.googleapis.com/book/returned_count + # - library.googleapis.com/book/overdue_count + # Corresponds to the JSON property `monitoring` + # @return [Google::Apis::ServiceuserV1::Monitoring] + attr_accessor :monitoring + + # The DNS address at which this service is available, + # e.g. `calendar.googleapis.com`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The Google project that owns this service. + # Corresponds to the JSON property `producerProjectId` + # @return [String] + attr_accessor :producer_project_id + + # Quota configuration helps to achieve fairness and budgeting in service + # usage. + # The quota configuration works this way: + # - The service configuration defines a set of metrics. + # - For API calls, the quota.metric_rules maps methods to metrics with + # corresponding costs. + # - The quota.limits defines limits on the metrics, which will be used for + # quota checks at runtime. + # An example quota configuration in yaml format: + # quota: + # - name: apiWriteQpsPerProject + # metric: library.googleapis.com/write_calls + # unit: "1/min/`project`" # rate limit for consumer projects + # values: + # STANDARD: 10000 + # # The metric rules bind all methods to the read_calls metric, + # # except for the UpdateBook and DeleteBook methods. These two methods + # # are mapped to the write_calls metric, with the UpdateBook method + # # consuming at twice rate as the DeleteBook method. + # metric_rules: + # - selector: "*" + # metric_costs: + # library.googleapis.com/read_calls: 1 + # - selector: google.example.library.v1.LibraryService.UpdateBook + # metric_costs: + # library.googleapis.com/write_calls: 2 + # - selector: google.example.library.v1.LibraryService.DeleteBook + # metric_costs: + # library.googleapis.com/write_calls: 1 + # Corresponding Metric definition: + # metrics: + # - name: library.googleapis.com/read_calls + # display_name: Read requests + # metric_kind: DELTA + # value_type: INT64 + # - name: library.googleapis.com/write_calls + # display_name: Write requests + # metric_kind: DELTA + # value_type: INT64 + # Corresponds to the JSON property `quota` + # @return [Google::Apis::ServiceuserV1::Quota] + attr_accessor :quota + + # Source information used to create a Service Config + # Corresponds to the JSON property `sourceInfo` + # @return [Google::Apis::ServiceuserV1::SourceInfo] + attr_accessor :source_info + + # ### System parameter configuration + # A system parameter is a special kind of parameter defined by the API + # system, not by an individual API. It is typically mapped to an HTTP header + # and/or a URL query parameter. This configuration specifies which methods + # change the names of the system parameters. + # Corresponds to the JSON property `systemParameters` + # @return [Google::Apis::ServiceuserV1::SystemParameters] + attr_accessor :system_parameters + + # A list of all proto message types included in this API service. + # It serves similar purpose as [google.api.Service.types], except that + # these types are not needed by user-defined APIs. Therefore, they will not + # show up in the generated discovery doc. This field should only be used + # to define system APIs in ESF. + # Corresponds to the JSON property `systemTypes` + # @return [Array] + attr_accessor :system_types + + # The product title for this service. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # A list of all proto message types included in this API service. + # Types referenced directly or indirectly by the `apis` are + # automatically included. Messages which are not referenced but + # shall be included, such as types used by the `google.protobuf.Any` type, + # should be listed here by name. Example: + # types: + # - name: google.protobuf.Int32 # Corresponds to the JSON property `types` - # @return [Array] + # @return [Array] attr_accessor :types + # Configuration controlling usage of a service. + # Corresponds to the JSON property `usage` + # @return [Google::Apis::ServiceuserV1::Usage] + attr_accessor :usage + + # `Visibility` defines restrictions for the visibility of service + # elements. Restrictions are specified using visibility labels + # (e.g., TRUSTED_TESTER) that are elsewhere linked to users and projects. + # Users and projects can have access to more than one visibility label. The + # effective visibility for multiple labels is the union of each label's + # elements, plus any unrestricted elements. + # If an element and its parents have no restrictions, visibility is + # unconditionally granted. + # Example: + # visibility: + # rules: + # - selector: google.calendar.Calendar.EnhancedSearch + # restriction: TRUSTED_TESTER + # - selector: google.calendar.Calendar.Delegate + # restriction: GOOGLE_INTERNAL + # Here, all methods are publicly visible except for the restricted methods + # EnhancedSearch and Delegate. + # Corresponds to the JSON property `visibility` + # @return [Google::Apis::ServiceuserV1::Visibility] + attr_accessor :visibility + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @rules = args[:rules] if args.key?(:rules) + @apis = args[:apis] if args.key?(:apis) + @authentication = args[:authentication] if args.key?(:authentication) + @backend = args[:backend] if args.key?(:backend) + @config_version = args[:config_version] if args.key?(:config_version) + @context = args[:context] if args.key?(:context) + @control = args[:control] if args.key?(:control) + @custom_error = args[:custom_error] if args.key?(:custom_error) + @documentation = args[:documentation] if args.key?(:documentation) + @endpoints = args[:endpoints] if args.key?(:endpoints) + @enums = args[:enums] if args.key?(:enums) + @experimental = args[:experimental] if args.key?(:experimental) + @http = args[:http] if args.key?(:http) + @id = args[:id] if args.key?(:id) + @logging = args[:logging] if args.key?(:logging) + @logs = args[:logs] if args.key?(:logs) + @metrics = args[:metrics] if args.key?(:metrics) + @monitored_resources = args[:monitored_resources] if args.key?(:monitored_resources) + @monitoring = args[:monitoring] if args.key?(:monitoring) + @name = args[:name] if args.key?(:name) + @producer_project_id = args[:producer_project_id] if args.key?(:producer_project_id) + @quota = args[:quota] if args.key?(:quota) + @source_info = args[:source_info] if args.key?(:source_info) + @system_parameters = args[:system_parameters] if args.key?(:system_parameters) + @system_types = args[:system_types] if args.key?(:system_types) + @title = args[:title] if args.key?(:title) @types = args[:types] if args.key?(:types) + @usage = args[:usage] if args.key?(:usage) + @visibility = args[:visibility] if args.key?(:visibility) end end - # Defines the HTTP configuration for an API service. It contains a list of - # HttpRule, each specifying the mapping of an RPC method - # to one or more HTTP REST API methods. - class Http + # `SourceContext` represents information about the source of a + # protobuf element, like the file in which it is defined. + class SourceContext include Google::Apis::Core::Hashable - # A list of HTTP configuration rules that apply to individual API methods. - # **NOTE:** All service configuration rules follow "last one wins" order. - # Corresponds to the JSON property `rules` - # @return [Array] - attr_accessor :rules - - # When set to true, URL path parmeters will be fully URI-decoded except in - # cases of single segment matches in reserved expansion, where "%2F" will be - # left encoded. - # The default behavior is to not decode RFC 6570 reserved characters in multi - # segment matches. - # Corresponds to the JSON property `fullyDecodeReservedExpansion` - # @return [Boolean] - attr_accessor :fully_decode_reserved_expansion - alias_method :fully_decode_reserved_expansion?, :fully_decode_reserved_expansion + # The path-qualified name of the .proto file that contained the associated + # protobuf element. For example: `"google/protobuf/source_context.proto"`. + # Corresponds to the JSON property `fileName` + # @return [String] + attr_accessor :file_name def initialize(**args) update!(**args) @@ -2919,8 +3196,7 @@ module Google # Update properties of this object def update!(**args) - @rules = args[:rules] if args.key?(:rules) - @fully_decode_reserved_expansion = args[:fully_decode_reserved_expansion] if args.key?(:fully_decode_reserved_expansion) + @file_name = args[:file_name] if args.key?(:file_name) end end @@ -2943,17 +3219,65 @@ module Google end end - # Selects and configures the service controller used by the service. The - # service controller handles features like abuse, quota, billing, logging, - # monitoring, etc. - class Control + # 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` that 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. + # - 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 service control environment to use. If empty, no control plane - # feature (like quota and billing) will be enabled. - # Corresponds to the JSON property `environment` + # 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 is 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 :environment + attr_accessor :message def initialize(**args) update!(**args) @@ -2961,7 +3285,34 @@ module Google # Update properties of this object def update!(**args) - @environment = args[:environment] if args.key?(:environment) + @code = args[:code] if args.key?(:code) + @details = args[:details] if args.key?(:details) + @message = args[:message] if args.key?(:message) + end + end + + # Represents the status of one operation step. + class Step + include Google::Apis::Core::Hashable + + # The short description of the step. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The status code. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @status = args[:status] if args.key?(:status) end end @@ -3000,59 +3351,26 @@ module Google end end - # Monitoring configuration of the service. - # The example below shows how to configure monitored resources and metrics - # for monitoring. In the example, a monitored resource and two metrics are - # defined. The `library.googleapis.com/book/returned_count` metric is sent - # to both producer and consumer projects, whereas the - # `library.googleapis.com/book/overdue_count` metric is only sent to the - # consumer project. - # monitored_resources: - # - type: library.googleapis.com/branch - # labels: - # - key: /city - # description: The city where the library branch is located in. - # - key: /name - # description: The name of the branch. - # metrics: - # - name: library.googleapis.com/book/returned_count - # metric_kind: DELTA - # value_type: INT64 - # labels: - # - key: /customer_id - # - name: library.googleapis.com/book/overdue_count - # metric_kind: GAUGE - # value_type: INT64 - # labels: - # - key: /customer_id - # monitoring: - # producer_destinations: - # - monitored_resource: library.googleapis.com/branch - # metrics: - # - library.googleapis.com/book/returned_count - # consumer_destinations: - # - monitored_resource: library.googleapis.com/branch - # metrics: - # - library.googleapis.com/book/returned_count - # - library.googleapis.com/book/overdue_count - class Monitoring + # Define a system parameter rule mapping system parameter definitions to + # methods. + class SystemParameterRule include Google::Apis::Core::Hashable - # Monitoring configurations for sending metrics to the producer project. - # There can be multiple producer destinations, each one must have a - # different monitored resource type. A metric can be used in at most - # one producer destination. - # Corresponds to the JSON property `producerDestinations` - # @return [Array] - attr_accessor :producer_destinations + # Define parameters. Multiple names may be defined for a parameter. + # For a given method call, only one of them should be used. If multiple + # names are used the behavior is implementation-dependent. + # If none of the specified names are present the behavior is + # parameter-dependent. + # Corresponds to the JSON property `parameters` + # @return [Array] + attr_accessor :parameters - # Monitoring configurations for sending metrics to the consumer project. - # There can be multiple consumer destinations, each one must have a - # different monitored resource type. A metric can be used in at most - # one consumer destination. - # Corresponds to the JSON property `consumerDestinations` - # @return [Array] - attr_accessor :consumer_destinations + # Selects the methods to which this rule applies. Use '*' to indicate all + # methods in all APIs. + # Refer to selector for syntax details. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector def initialize(**args) update!(**args) @@ -3060,67 +3378,44 @@ module Google # Update properties of this object def update!(**args) - @producer_destinations = args[:producer_destinations] if args.key?(:producer_destinations) - @consumer_destinations = args[:consumer_destinations] if args.key?(:consumer_destinations) + @parameters = args[:parameters] if args.key?(:parameters) + @selector = args[:selector] if args.key?(:selector) end end - # A single field of a message type. - class Field + # ### System parameter configuration + # A system parameter is a special kind of parameter defined by the API + # system, not by an individual API. It is typically mapped to an HTTP header + # and/or a URL query parameter. This configuration specifies which methods + # change the names of the system parameters. + class SystemParameters include Google::Apis::Core::Hashable - # The protocol buffer options. - # Corresponds to the JSON property `options` - # @return [Array] - attr_accessor :options - - # The index of the field type in `Type.oneofs`, for message or enumeration - # types. The first type has index 1; zero means the type is not in the list. - # Corresponds to the JSON property `oneofIndex` - # @return [Fixnum] - attr_accessor :oneof_index - - # Whether to use alternative packed wire representation. - # Corresponds to the JSON property `packed` - # @return [Boolean] - attr_accessor :packed - alias_method :packed?, :packed - - # The field cardinality. - # Corresponds to the JSON property `cardinality` - # @return [String] - attr_accessor :cardinality - - # The string value of the default value of this field. Proto2 syntax only. - # Corresponds to the JSON property `defaultValue` - # @return [String] - attr_accessor :default_value - - # The field name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The field type URL, without the scheme, for message or enumeration - # types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. - # Corresponds to the JSON property `typeUrl` - # @return [String] - attr_accessor :type_url - - # The field number. - # Corresponds to the JSON property `number` - # @return [Fixnum] - attr_accessor :number - - # The field JSON name. - # Corresponds to the JSON property `jsonName` - # @return [String] - attr_accessor :json_name - - # The field type. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind + # Define system parameters. + # The parameters defined here will override the default parameters + # implemented by the system. If this field is missing from the service + # config, default system parameters will be used. Default system parameters + # and names is implementation-dependent. + # Example: define api key for all methods + # system_parameters + # rules: + # - selector: "*" + # parameters: + # - name: api_key + # url_query_parameter: api_key + # Example: define 2 api key names for a specific method. + # system_parameters + # rules: + # - selector: "/ListShelves" + # parameters: + # - name: api_key + # http_header: Api-Key1 + # - name: api_key + # http_header: Api-Key2 + # **NOTE:** All service configuration rules follow "last one wins" order. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules def initialize(**args) update!(**args) @@ -3128,104 +3423,7 @@ module Google # Update properties of this object def update!(**args) - @options = args[:options] if args.key?(:options) - @oneof_index = args[:oneof_index] if args.key?(:oneof_index) - @packed = args[:packed] if args.key?(:packed) - @cardinality = args[:cardinality] if args.key?(:cardinality) - @default_value = args[:default_value] if args.key?(:default_value) - @name = args[:name] if args.key?(:name) - @type_url = args[:type_url] if args.key?(:type_url) - @number = args[:number] if args.key?(:number) - @json_name = args[:json_name] if args.key?(:json_name) - @kind = args[:kind] if args.key?(:kind) - end - end - - # Enum type definition. - class Enum - include Google::Apis::Core::Hashable - - # Protocol buffer options. - # Corresponds to the JSON property `options` - # @return [Array] - attr_accessor :options - - # The source syntax. - # Corresponds to the JSON property `syntax` - # @return [String] - attr_accessor :syntax - - # `SourceContext` represents information about the source of a - # protobuf element, like the file in which it is defined. - # Corresponds to the JSON property `sourceContext` - # @return [Google::Apis::ServiceuserV1::SourceContext] - attr_accessor :source_context - - # Enum value definitions. - # Corresponds to the JSON property `enumvalue` - # @return [Array] - attr_accessor :enumvalue - - # Enum type name. - # 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) - @options = args[:options] if args.key?(:options) - @syntax = args[:syntax] if args.key?(:syntax) - @source_context = args[:source_context] if args.key?(:source_context) - @enumvalue = args[:enumvalue] if args.key?(:enumvalue) - @name = args[:name] if args.key?(:name) - end - end - - # Request message for EnableService method. - class EnableServiceRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # A description of a label. - class LabelDescriptor - include Google::Apis::Core::Hashable - - # The type of data that can be assigned to the label. - # Corresponds to the JSON property `valueType` - # @return [String] - attr_accessor :value_type - - # The label key. - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key - - # A human-readable description for the label. - # 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) - @value_type = args[:value_type] if args.key?(:value_type) - @key = args[:key] if args.key?(:key) - @description = args[:description] if args.key?(:description) + @rules = args[:rules] if args.key?(:rules) end end @@ -3248,6 +3446,11 @@ module Google # @return [Array] attr_accessor :oneofs + # The protocol buffer options. + # Corresponds to the JSON property `options` + # @return [Array] + attr_accessor :options + # `SourceContext` represents information about the source of a # protobuf element, like the file in which it is defined. # Corresponds to the JSON property `sourceContext` @@ -3259,11 +3462,6 @@ module Google # @return [String] attr_accessor :syntax - # The protocol buffer options. - # Corresponds to the JSON property `options` - # @return [Array] - attr_accessor :options - def initialize(**args) update!(**args) end @@ -3273,27 +3471,39 @@ module Google @fields = args[:fields] if args.key?(:fields) @name = args[:name] if args.key?(:name) @oneofs = args[:oneofs] if args.key?(:oneofs) + @options = args[:options] if args.key?(:options) @source_context = args[:source_context] if args.key?(:source_context) @syntax = args[:syntax] if args.key?(:syntax) - @options = args[:options] if args.key?(:options) end end - # Experimental service configuration. These configuration options can - # only be used by whitelisted users. - class Experimental + # Configuration controlling usage of a service. + class Usage include Google::Apis::Core::Hashable - # Configuration of authorization. - # This section determines the authorization provider, if unspecified, then no - # authorization check will be done. - # Example: - # experimental: - # authorization: - # provider: firebaserules.googleapis.com - # Corresponds to the JSON property `authorization` - # @return [Google::Apis::ServiceuserV1::AuthorizationConfig] - attr_accessor :authorization + # The full resource name of a channel used for sending notifications to the + # service producer. + # Google Service Management currently only supports + # [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification + # channel. To use Google Cloud Pub/Sub as the channel, this must be the name + # of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format + # documented in https://cloud.google.com/pubsub/docs/overview. + # Corresponds to the JSON property `producerNotificationChannel` + # @return [String] + attr_accessor :producer_notification_channel + + # Requirements that must be satisfied before a consumer project can use the + # service. Each requirement is of the form /; + # for example 'serviceusage.googleapis.com/billing-enabled'. + # Corresponds to the JSON property `requirements` + # @return [Array] + attr_accessor :requirements + + # A list of usage rules that apply to individual API methods. + # **NOTE:** All service configuration rules follow "last one wins" order. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules def initialize(**args) update!(**args) @@ -3301,18 +3511,89 @@ module Google # Update properties of this object def update!(**args) - @authorization = args[:authorization] if args.key?(:authorization) + @producer_notification_channel = args[:producer_notification_channel] if args.key?(:producer_notification_channel) + @requirements = args[:requirements] if args.key?(:requirements) + @rules = args[:rules] if args.key?(:rules) end end - # `Backend` defines the backend configuration for a service. - class Backend + # Usage configuration rules for the service. + # NOTE: Under development. + # Use this rule to configure unregistered calls for the service. Unregistered + # calls are calls that do not contain consumer project identity. + # (Example: calls that do not contain an API key). + # By default, API methods do not allow unregistered calls, and each method call + # must be identified by a consumer project identity. Use this rule to + # allow/disallow unregistered calls. + # Example of an API that wants to allow unregistered calls for entire service. + # usage: + # rules: + # - selector: "*" + # allow_unregistered_calls: true + # Example of a method that wants to allow unregistered calls. + # usage: + # rules: + # - selector: "google.example.library.v1.LibraryService.CreateBook" + # allow_unregistered_calls: true + class UsageRule include Google::Apis::Core::Hashable - # A list of API backend rules that apply to individual API methods. + # True, if the method allows unregistered calls; false otherwise. + # Corresponds to the JSON property `allowUnregisteredCalls` + # @return [Boolean] + attr_accessor :allow_unregistered_calls + alias_method :allow_unregistered_calls?, :allow_unregistered_calls + + # Selects the methods to which this rule applies. Use '*' to indicate all + # methods in all APIs. + # Refer to selector for syntax details. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector + + # True, if the method should skip service control. If so, no control plane + # feature (like quota and billing) will be enabled. + # Corresponds to the JSON property `skipServiceControl` + # @return [Boolean] + attr_accessor :skip_service_control + alias_method :skip_service_control?, :skip_service_control + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @allow_unregistered_calls = args[:allow_unregistered_calls] if args.key?(:allow_unregistered_calls) + @selector = args[:selector] if args.key?(:selector) + @skip_service_control = args[:skip_service_control] if args.key?(:skip_service_control) + end + end + + # `Visibility` defines restrictions for the visibility of service + # elements. Restrictions are specified using visibility labels + # (e.g., TRUSTED_TESTER) that are elsewhere linked to users and projects. + # Users and projects can have access to more than one visibility label. The + # effective visibility for multiple labels is the union of each label's + # elements, plus any unrestricted elements. + # If an element and its parents have no restrictions, visibility is + # unconditionally granted. + # Example: + # visibility: + # rules: + # - selector: google.calendar.Calendar.EnhancedSearch + # restriction: TRUSTED_TESTER + # - selector: google.calendar.Calendar.Delegate + # restriction: GOOGLE_INTERNAL + # Here, all methods are publicly visible except for the restricted methods + # EnhancedSearch and Delegate. + class Visibility + include Google::Apis::Core::Hashable + + # A list of visibility rules that apply to individual API elements. # **NOTE:** All service configuration rules follow "last one wins" order. # Corresponds to the JSON property `rules` - # @return [Array] + # @return [Array] attr_accessor :rules def initialize(**args) @@ -3325,252 +3606,40 @@ module Google end end - # A documentation rule provides information about individual API elements. - class DocumentationRule - include Google::Apis::Core::Hashable - - # Description of the selected API(s). - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Deprecation description of the selected element(s). It can be provided if an - # element is marked as `deprecated`. - # Corresponds to the JSON property `deprecationDescription` - # @return [String] - attr_accessor :deprecation_description - - # The selector is a comma-separated list of patterns. Each pattern is a - # qualified name of the element which may end in "*", indicating a wildcard. - # Wildcards are only allowed at the end and for a whole component of the - # qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To - # specify a default for all applicable elements, the whole pattern "*" - # is used. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @description = args[:description] if args.key?(:description) - @deprecation_description = args[:deprecation_description] if args.key?(:deprecation_description) - @selector = args[:selector] if args.key?(:selector) - end - end - - # Configuration of authorization. - # This section determines the authorization provider, if unspecified, then no - # authorization check will be done. - # Example: - # experimental: - # authorization: - # provider: firebaserules.googleapis.com - class AuthorizationConfig - include Google::Apis::Core::Hashable - - # The name of the authorization provider, such as - # firebaserules.googleapis.com. - # Corresponds to the JSON property `provider` - # @return [String] - attr_accessor :provider - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @provider = args[:provider] if args.key?(:provider) - end - end - - # A context rule provides information about the context for an individual API + # A visibility rule provides visibility configuration for an individual API # element. - class ContextRule + class VisibilityRule include Google::Apis::Core::Hashable - # Selects the methods to which this rule applies. + # A comma-separated list of visibility labels that apply to the `selector`. + # Any of the listed labels can be used to grant the visibility. + # If a rule has multiple labels, removing one of the labels but not all of + # them can break clients. + # Example: + # visibility: + # rules: + # - selector: google.calendar.Calendar.EnhancedSearch + # restriction: GOOGLE_INTERNAL, TRUSTED_TESTER + # Removing GOOGLE_INTERNAL from this restriction will break clients that + # rely on this method and only had access to it through GOOGLE_INTERNAL. + # Corresponds to the JSON property `restriction` + # @return [String] + attr_accessor :restriction + + # Selects methods, messages, fields, enums, etc. to which this rule applies. # Refer to selector for syntax details. # Corresponds to the JSON property `selector` # @return [String] attr_accessor :selector - # A list of full type names of provided contexts. - # Corresponds to the JSON property `provided` - # @return [Array] - attr_accessor :provided - - # A list of full type names of requested contexts. - # Corresponds to the JSON property `requested` - # @return [Array] - attr_accessor :requested - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @restriction = args[:restriction] if args.key?(:restriction) @selector = args[:selector] if args.key?(:selector) - @provided = args[:provided] if args.key?(:provided) - @requested = args[:requested] if args.key?(:requested) - end - end - - # Defines a metric type and its schema. Once a metric descriptor is created, - # deleting or altering it stops data collection and makes the metric type's - # existing data unusable. - class MetricDescriptor - include Google::Apis::Core::Hashable - - # Whether the metric records instantaneous values, changes to a value, etc. - # Some combinations of `metric_kind` and `value_type` might not be supported. - # Corresponds to the JSON property `metricKind` - # @return [String] - attr_accessor :metric_kind - - # A concise name for the metric, which can be displayed in user interfaces. - # Use sentence case without an ending period, for example "Request count". - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # A detailed description of the metric, which can be used in documentation. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # The unit in which the metric value is reported. It is only applicable - # if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The - # supported units are a subset of [The Unified Code for Units of - # Measure](http://unitsofmeasure.org/ucum.html) standard: - # **Basic units (UNIT)** - # * `bit` bit - # * `By` byte - # * `s` second - # * `min` minute - # * `h` hour - # * `d` day - # **Prefixes (PREFIX)** - # * `k` kilo (10**3) - # * `M` mega (10**6) - # * `G` giga (10**9) - # * `T` tera (10**12) - # * `P` peta (10**15) - # * `E` exa (10**18) - # * `Z` zetta (10**21) - # * `Y` yotta (10**24) - # * `m` milli (10**-3) - # * `u` micro (10**-6) - # * `n` nano (10**-9) - # * `p` pico (10**-12) - # * `f` femto (10**-15) - # * `a` atto (10**-18) - # * `z` zepto (10**-21) - # * `y` yocto (10**-24) - # * `Ki` kibi (2**10) - # * `Mi` mebi (2**20) - # * `Gi` gibi (2**30) - # * `Ti` tebi (2**40) - # **Grammar** - # The grammar includes the dimensionless unit `1`, such as `1/s`. - # The grammar also includes these connectors: - # * `/` division (as an infix operator, e.g. `1/s`). - # * `.` multiplication (as an infix operator, e.g. `GBy.d`) - # The grammar for a unit is as follows: - # Expression = Component ` "." Component ` ` "/" Component ` ; - # Component = [ PREFIX ] UNIT [ Annotation ] - # | Annotation - # | "1" - # ; - # Annotation = "`" NAME "`" ; - # Notes: - # * `Annotation` is just a comment if it follows a `UNIT` and is - # equivalent to `1` if it is used alone. For examples, - # ``requests`/s == 1/s`, `By`transmitted`/s == By/s`. - # * `NAME` is a sequence of non-blank printable ASCII characters not - # containing '`' or '`'. - # Corresponds to the JSON property `unit` - # @return [String] - attr_accessor :unit - - # The set of labels that can be used to describe a specific - # instance of this metric type. For example, the - # `appengine.googleapis.com/http/server/response_latencies` metric - # type has a label for the HTTP response code, `response_code`, so - # you can look at latencies for successful responses or just - # for responses that failed. - # Corresponds to the JSON property `labels` - # @return [Array] - attr_accessor :labels - - # The resource name of the metric descriptor. Depending on the - # implementation, the name typically includes: (1) the parent resource name - # that defines the scope of the metric type or of its data; and (2) the - # metric's URL-encoded type, which also appears in the `type` field of this - # descriptor. For example, following is the resource name of a custom - # metric within the GCP project `my-project-id`: - # "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice% - # 2Fpaid%2Famount" - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The metric type, including its DNS name prefix. The type is not - # URL-encoded. All user-defined custom metric types have the DNS name - # `custom.googleapis.com`. Metric types should use a natural hierarchical - # grouping. For example: - # "custom.googleapis.com/invoice/paid/amount" - # "appengine.googleapis.com/http/server/response_latencies" - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # Whether the measurement is an integer, a floating-point number, etc. - # Some combinations of `metric_kind` and `value_type` might not be supported. - # Corresponds to the JSON property `valueType` - # @return [String] - attr_accessor :value_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metric_kind = args[:metric_kind] if args.key?(:metric_kind) - @display_name = args[:display_name] if args.key?(:display_name) - @description = args[:description] if args.key?(:description) - @unit = args[:unit] if args.key?(:unit) - @labels = args[:labels] if args.key?(:labels) - @name = args[:name] if args.key?(:name) - @type = args[:type] if args.key?(:type) - @value_type = args[:value_type] if args.key?(:value_type) - end - end - - # `SourceContext` represents information about the source of a - # protobuf element, like the file in which it is defined. - class SourceContext - include Google::Apis::Core::Hashable - - # The path-qualified name of the .proto file that contained the associated - # protobuf element. For example: `"google/protobuf/source_context.proto"`. - # Corresponds to the JSON property `fileName` - # @return [String] - attr_accessor :file_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @file_name = args[:file_name] if args.key?(:file_name) end end end diff --git a/generated/google/apis/serviceuser_v1/representations.rb b/generated/google/apis/serviceuser_v1/representations.rb index fe753193a..3b8a5dc54 100644 --- a/generated/google/apis/serviceuser_v1/representations.rb +++ b/generated/google/apis/serviceuser_v1/representations.rb @@ -22,349 +22,31 @@ module Google module Apis module ServiceuserV1 - class ListEnabledServicesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Endpoint - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class OAuthRequirements - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Usage - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Context - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LogDescriptor - 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 CustomErrorRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CustomAuthRequirements - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MediaDownload - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DisableServiceRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SearchServicesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MediaUpload - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UsageRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AuthRequirement - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Documentation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AuthenticationRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BackendRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Api class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class MetricRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Authentication - 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 Page - 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 AuthProvider class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class EnumValue + class AuthRequirement class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Service + class Authentication 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 CustomHttpPattern - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SystemParameterRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PublishedService - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class HttpRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class VisibilityRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MonitoringDestination - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Visibility - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SystemParameters - 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 Step - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LoggingDestination - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Option - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Logging - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class QuotaLimit - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MethodProp - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Mixin - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CustomError - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Http - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Control - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SystemParameter - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Monitoring - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Field - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Enum - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class EnableServiceRequest - 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 Type - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Experimental - 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 DocumentationRule + class AuthenticationRule class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -376,155 +58,373 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AuthorizationRule + 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 BackendRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Context + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ContextRule class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Control + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CustomAuthRequirements + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CustomError + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CustomErrorRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CustomHttpPattern + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DisableServiceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Documentation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DocumentationRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EnableServiceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Endpoint + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Enum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EnumValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Experimental + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Field + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Http + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HttpRule + 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 ListEnabledServicesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LogDescriptor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Logging + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LoggingDestination + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MediaDownload + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MediaUpload + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MethodProp + 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 MetricRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Mixin + 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 Monitoring + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MonitoringDestination + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OAuthRequirements + 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 OperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Option + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Page + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PublishedService + 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 QuotaLimit + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchServicesResponse + 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 SourceContext class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListEnabledServicesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :services, as: 'services', class: Google::Apis::ServiceuserV1::PublishedService, decorator: Google::Apis::ServiceuserV1::PublishedService::Representation + class SourceInfo + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end - class Endpoint - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :features, as: 'features' - collection :apis, as: 'apis' - property :allow_cors, as: 'allowCors' - collection :aliases, as: 'aliases' - property :name, as: 'name' - property :target, as: 'target' - end + class Status + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class OAuthRequirements - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :canonical_scopes, as: 'canonicalScopes' - end + class Step + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SystemParameter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SystemParameterRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SystemParameters + 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 Usage - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :requirements, as: 'requirements' - property :producer_notification_channel, as: 'producerNotificationChannel' - collection :rules, as: 'rules', class: Google::Apis::ServiceuserV1::UsageRule, decorator: Google::Apis::ServiceuserV1::UsageRule::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end - end - - class Context - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :rules, as: 'rules', class: Google::Apis::ServiceuserV1::ContextRule, decorator: Google::Apis::ServiceuserV1::ContextRule::Representation - - end - end - - class LogDescriptor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :labels, as: 'labels', class: Google::Apis::ServiceuserV1::LabelDescriptor, decorator: Google::Apis::ServiceuserV1::LabelDescriptor::Representation - - property :name, as: 'name' - property :display_name, as: 'displayName' - property :description, as: 'description' - end - end - - class MonitoredResourceDescriptor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :description, as: 'description' - property :display_name, as: 'displayName' - property :type, as: 'type' - collection :labels, as: 'labels', class: Google::Apis::ServiceuserV1::LabelDescriptor, decorator: Google::Apis::ServiceuserV1::LabelDescriptor::Representation - - end - end - - class CustomErrorRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :is_error_type, as: 'isErrorType' - property :selector, as: 'selector' - end - end - - class CustomAuthRequirements - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :provider, as: 'provider' - end - end - - class MediaDownload - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :complete_notification, as: 'completeNotification' - property :enabled, as: 'enabled' - property :download_service, as: 'downloadService' - property :max_direct_download_size, :numeric_string => true, as: 'maxDirectDownloadSize' - property :dropzone, as: 'dropzone' - property :use_direct_download, as: 'useDirectDownload' - end - end - - class DisableServiceRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class SearchServicesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :services, as: 'services', class: Google::Apis::ServiceuserV1::PublishedService, decorator: Google::Apis::ServiceuserV1::PublishedService::Representation - - end - end - - class MediaUpload - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :upload_service, as: 'uploadService' - property :max_size, :numeric_string => true, as: 'maxSize' - collection :mime_types, as: 'mimeTypes' - property :enabled, as: 'enabled' - property :progress_notification, as: 'progressNotification' - property :complete_notification, as: 'completeNotification' - property :dropzone, as: 'dropzone' - property :start_notification, as: 'startNotification' - end + include Google::Apis::Core::JsonObjectSupport end class UsageRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Visibility + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VisibilityRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Api # @private class Representation < Google::Apis::Core::JsonRepresentation - property :allow_unregistered_calls, as: 'allowUnregisteredCalls' - property :selector, as: 'selector' - property :skip_service_control, as: 'skipServiceControl' + collection :methods_prop, as: 'methods', class: Google::Apis::ServiceuserV1::MethodProp, decorator: Google::Apis::ServiceuserV1::MethodProp::Representation + + collection :mixins, as: 'mixins', class: Google::Apis::ServiceuserV1::Mixin, decorator: Google::Apis::ServiceuserV1::Mixin::Representation + + property :name, as: 'name' + collection :options, as: 'options', class: Google::Apis::ServiceuserV1::Option, decorator: Google::Apis::ServiceuserV1::Option::Representation + + property :source_context, as: 'sourceContext', class: Google::Apis::ServiceuserV1::SourceContext, decorator: Google::Apis::ServiceuserV1::SourceContext::Representation + + property :syntax, as: 'syntax' + property :version, as: 'version' + end + end + + class AuthProvider + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :audiences, as: 'audiences' + property :authorization_url, as: 'authorizationUrl' + property :id, as: 'id' + property :issuer, as: 'issuer' + property :jwks_uri, as: 'jwksUri' end end @@ -536,15 +436,12 @@ module Google end end - class Documentation + class Authentication # @private class Representation < Google::Apis::Core::JsonRepresentation - property :summary, as: 'summary' - property :documentation_root_url, as: 'documentationRootUrl' - property :overview, as: 'overview' - collection :rules, as: 'rules', class: Google::Apis::ServiceuserV1::DocumentationRule, decorator: Google::Apis::ServiceuserV1::DocumentationRule::Representation + collection :providers, as: 'providers', class: Google::Apis::ServiceuserV1::AuthProvider, decorator: Google::Apis::ServiceuserV1::AuthProvider::Representation - collection :pages, as: 'pages', class: Google::Apis::ServiceuserV1::Page, decorator: Google::Apis::ServiceuserV1::Page::Representation + collection :rules, as: 'rules', class: Google::Apis::ServiceuserV1::AuthenticationRule, decorator: Google::Apis::ServiceuserV1::AuthenticationRule::Representation end end @@ -552,41 +449,335 @@ module Google class AuthenticationRule # @private class Representation < Google::Apis::Core::JsonRepresentation + property :allow_without_credential, as: 'allowWithoutCredential' property :custom_auth, as: 'customAuth', class: Google::Apis::ServiceuserV1::CustomAuthRequirements, decorator: Google::Apis::ServiceuserV1::CustomAuthRequirements::Representation property :oauth, as: 'oauth', class: Google::Apis::ServiceuserV1::OAuthRequirements, decorator: Google::Apis::ServiceuserV1::OAuthRequirements::Representation collection :requirements, as: 'requirements', class: Google::Apis::ServiceuserV1::AuthRequirement, decorator: Google::Apis::ServiceuserV1::AuthRequirement::Representation - property :allow_without_credential, as: 'allowWithoutCredential' property :selector, as: 'selector' end end + class AuthorizationConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :provider, as: 'provider' + end + end + + class AuthorizationRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :permissions, as: 'permissions' + property :selector, as: 'selector' + end + end + + class Backend + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :rules, as: 'rules', class: Google::Apis::ServiceuserV1::BackendRule, decorator: Google::Apis::ServiceuserV1::BackendRule::Representation + + end + end + class BackendRule # @private class Representation < Google::Apis::Core::JsonRepresentation property :address, as: 'address' - property :selector, as: 'selector' property :deadline, as: 'deadline' property :min_deadline, as: 'minDeadline' + property :selector, as: 'selector' end end - class Api + class Context # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :options, as: 'options', class: Google::Apis::ServiceuserV1::Option, decorator: Google::Apis::ServiceuserV1::Option::Representation + collection :rules, as: 'rules', class: Google::Apis::ServiceuserV1::ContextRule, decorator: Google::Apis::ServiceuserV1::ContextRule::Representation - collection :methods_prop, as: 'methods', class: Google::Apis::ServiceuserV1::MethodProp, decorator: Google::Apis::ServiceuserV1::MethodProp::Representation + end + end + + class ContextRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :provided, as: 'provided' + collection :requested, as: 'requested' + property :selector, as: 'selector' + end + end + + class Control + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :environment, as: 'environment' + end + end + + class CustomAuthRequirements + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :provider, as: 'provider' + end + end + + class CustomError + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :rules, as: 'rules', class: Google::Apis::ServiceuserV1::CustomErrorRule, decorator: Google::Apis::ServiceuserV1::CustomErrorRule::Representation + + collection :types, as: 'types' + end + end + + class CustomErrorRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :is_error_type, as: 'isErrorType' + property :selector, as: 'selector' + end + end + + class CustomHttpPattern + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :path, as: 'path' + end + end + + class DisableServiceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Documentation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :documentation_root_url, as: 'documentationRootUrl' + property :overview, as: 'overview' + collection :pages, as: 'pages', class: Google::Apis::ServiceuserV1::Page, decorator: Google::Apis::ServiceuserV1::Page::Representation + + collection :rules, as: 'rules', class: Google::Apis::ServiceuserV1::DocumentationRule, decorator: Google::Apis::ServiceuserV1::DocumentationRule::Representation + + property :summary, as: 'summary' + end + end + + class DocumentationRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :deprecation_description, as: 'deprecationDescription' + property :description, as: 'description' + property :selector, as: 'selector' + end + end + + class EnableServiceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Endpoint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :aliases, as: 'aliases' + property :allow_cors, as: 'allowCors' + collection :apis, as: 'apis' + collection :features, as: 'features' + property :name, as: 'name' + property :target, as: 'target' + end + end + + class Enum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :enumvalue, as: 'enumvalue', class: Google::Apis::ServiceuserV1::EnumValue, decorator: Google::Apis::ServiceuserV1::EnumValue::Representation property :name, as: 'name' + collection :options, as: 'options', class: Google::Apis::ServiceuserV1::Option, decorator: Google::Apis::ServiceuserV1::Option::Representation + property :source_context, as: 'sourceContext', class: Google::Apis::ServiceuserV1::SourceContext, decorator: Google::Apis::ServiceuserV1::SourceContext::Representation property :syntax, as: 'syntax' - property :version, as: 'version' - collection :mixins, as: 'mixins', class: Google::Apis::ServiceuserV1::Mixin, decorator: Google::Apis::ServiceuserV1::Mixin::Representation + end + end + class EnumValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :number, as: 'number' + collection :options, as: 'options', class: Google::Apis::ServiceuserV1::Option, decorator: Google::Apis::ServiceuserV1::Option::Representation + + end + end + + class Experimental + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :authorization, as: 'authorization', class: Google::Apis::ServiceuserV1::AuthorizationConfig, decorator: Google::Apis::ServiceuserV1::AuthorizationConfig::Representation + + end + end + + class Field + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cardinality, as: 'cardinality' + property :default_value, as: 'defaultValue' + property :json_name, as: 'jsonName' + property :kind, as: 'kind' + property :name, as: 'name' + property :number, as: 'number' + property :oneof_index, as: 'oneofIndex' + collection :options, as: 'options', class: Google::Apis::ServiceuserV1::Option, decorator: Google::Apis::ServiceuserV1::Option::Representation + + property :packed, as: 'packed' + property :type_url, as: 'typeUrl' + end + end + + class Http + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fully_decode_reserved_expansion, as: 'fullyDecodeReservedExpansion' + collection :rules, as: 'rules', class: Google::Apis::ServiceuserV1::HttpRule, decorator: Google::Apis::ServiceuserV1::HttpRule::Representation + + end + end + + class HttpRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServiceuserV1::HttpRule, decorator: Google::Apis::ServiceuserV1::HttpRule::Representation + + collection :authorizations, as: 'authorizations', class: Google::Apis::ServiceuserV1::AuthorizationRule, decorator: Google::Apis::ServiceuserV1::AuthorizationRule::Representation + + property :body, as: 'body' + property :custom, as: 'custom', class: Google::Apis::ServiceuserV1::CustomHttpPattern, decorator: Google::Apis::ServiceuserV1::CustomHttpPattern::Representation + + property :delete, as: 'delete' + property :get, as: 'get' + property :media_download, as: 'mediaDownload', class: Google::Apis::ServiceuserV1::MediaDownload, decorator: Google::Apis::ServiceuserV1::MediaDownload::Representation + + property :media_upload, as: 'mediaUpload', class: Google::Apis::ServiceuserV1::MediaUpload, decorator: Google::Apis::ServiceuserV1::MediaUpload::Representation + + property :patch, as: 'patch' + property :post, as: 'post' + property :put, as: 'put' + property :response_body, as: 'responseBody' + property :rest_collection, as: 'restCollection' + property :rest_method_name, as: 'restMethodName' + property :selector, as: 'selector' + end + end + + class LabelDescriptor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :key, as: 'key' + property :value_type, as: 'valueType' + end + end + + class ListEnabledServicesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :services, as: 'services', class: Google::Apis::ServiceuserV1::PublishedService, decorator: Google::Apis::ServiceuserV1::PublishedService::Representation + + end + end + + class LogDescriptor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :display_name, as: 'displayName' + collection :labels, as: 'labels', class: Google::Apis::ServiceuserV1::LabelDescriptor, decorator: Google::Apis::ServiceuserV1::LabelDescriptor::Representation + + property :name, as: 'name' + end + end + + class Logging + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :consumer_destinations, as: 'consumerDestinations', class: Google::Apis::ServiceuserV1::LoggingDestination, decorator: Google::Apis::ServiceuserV1::LoggingDestination::Representation + + collection :producer_destinations, as: 'producerDestinations', class: Google::Apis::ServiceuserV1::LoggingDestination, decorator: Google::Apis::ServiceuserV1::LoggingDestination::Representation + + end + end + + class LoggingDestination + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :logs, as: 'logs' + property :monitored_resource, as: 'monitoredResource' + end + end + + class MediaDownload + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :complete_notification, as: 'completeNotification' + property :download_service, as: 'downloadService' + property :dropzone, as: 'dropzone' + property :enabled, as: 'enabled' + property :max_direct_download_size, :numeric_string => true, as: 'maxDirectDownloadSize' + property :use_direct_download, as: 'useDirectDownload' + end + end + + class MediaUpload + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :complete_notification, as: 'completeNotification' + property :dropzone, as: 'dropzone' + property :enabled, as: 'enabled' + property :max_size, :numeric_string => true, as: 'maxSize' + collection :mime_types, as: 'mimeTypes' + property :progress_notification, as: 'progressNotification' + property :start_notification, as: 'startNotification' + property :upload_service, as: 'uploadService' + end + end + + class MethodProp + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + collection :options, as: 'options', class: Google::Apis::ServiceuserV1::Option, decorator: Google::Apis::ServiceuserV1::Option::Representation + + property :request_streaming, as: 'requestStreaming' + property :request_type_url, as: 'requestTypeUrl' + property :response_streaming, as: 'responseStreaming' + property :response_type_url, as: 'responseTypeUrl' + property :syntax, as: 'syntax' + end + end + + class MetricDescriptor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :display_name, as: 'displayName' + collection :labels, as: 'labels', class: Google::Apis::ServiceuserV1::LabelDescriptor, decorator: Google::Apis::ServiceuserV1::LabelDescriptor::Representation + + property :metric_kind, as: 'metricKind' + property :name, as: 'name' + property :type, as: 'type' + property :unit, as: 'unit' + property :value_type, as: 'valueType' end end @@ -598,148 +789,88 @@ module Google end end - class Authentication + class Mixin # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :rules, as: 'rules', class: Google::Apis::ServiceuserV1::AuthenticationRule, decorator: Google::Apis::ServiceuserV1::AuthenticationRule::Representation + property :name, as: 'name' + property :root, as: 'root' + end + end - collection :providers, as: 'providers', class: Google::Apis::ServiceuserV1::AuthProvider, decorator: Google::Apis::ServiceuserV1::AuthProvider::Representation + class MonitoredResourceDescriptor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :display_name, as: 'displayName' + collection :labels, as: 'labels', class: Google::Apis::ServiceuserV1::LabelDescriptor, decorator: Google::Apis::ServiceuserV1::LabelDescriptor::Representation + property :name, as: 'name' + property :type, as: 'type' + end + end + + class Monitoring + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :consumer_destinations, as: 'consumerDestinations', class: Google::Apis::ServiceuserV1::MonitoringDestination, decorator: Google::Apis::ServiceuserV1::MonitoringDestination::Representation + + collection :producer_destinations, as: 'producerDestinations', class: Google::Apis::ServiceuserV1::MonitoringDestination, decorator: Google::Apis::ServiceuserV1::MonitoringDestination::Representation + + end + end + + class MonitoringDestination + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :metrics, as: 'metrics' + property :monitored_resource, as: 'monitoredResource' + end + end + + class OAuthRequirements + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :canonical_scopes, as: 'canonicalScopes' end end class Operation # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :metadata, as: 'metadata' property :done, as: 'done' - hash :response, as: 'response' - property :name, as: 'name' property :error, as: 'error', class: Google::Apis::ServiceuserV1::Status, decorator: Google::Apis::ServiceuserV1::Status::Representation - end - end - - class Page - # @private - class Representation < Google::Apis::Core::JsonRepresentation + hash :metadata, as: 'metadata' property :name, as: 'name' - property :content, as: 'content' - collection :subpages, as: 'subpages', class: Google::Apis::ServiceuserV1::Page, decorator: Google::Apis::ServiceuserV1::Page::Representation - - 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 AuthProvider - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :jwks_uri, as: 'jwksUri' - property :audiences, as: 'audiences' - property :issuer, as: 'issuer' - property :id, as: 'id' - end - end - - class EnumValue - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :options, as: 'options', class: Google::Apis::ServiceuserV1::Option, decorator: Google::Apis::ServiceuserV1::Option::Representation - - property :number, as: 'number' - property :name, as: 'name' - end - end - - class Service - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :logs, as: 'logs', class: Google::Apis::ServiceuserV1::LogDescriptor, decorator: Google::Apis::ServiceuserV1::LogDescriptor::Representation - - collection :apis, as: 'apis', class: Google::Apis::ServiceuserV1::Api, decorator: Google::Apis::ServiceuserV1::Api::Representation - - collection :types, as: 'types', class: Google::Apis::ServiceuserV1::Type, decorator: Google::Apis::ServiceuserV1::Type::Representation - - property :source_info, as: 'sourceInfo', class: Google::Apis::ServiceuserV1::SourceInfo, decorator: Google::Apis::ServiceuserV1::SourceInfo::Representation - - property :http, as: 'http', class: Google::Apis::ServiceuserV1::Http, decorator: Google::Apis::ServiceuserV1::Http::Representation - - property :backend, as: 'backend', class: Google::Apis::ServiceuserV1::Backend, decorator: Google::Apis::ServiceuserV1::Backend::Representation - - property :system_parameters, as: 'systemParameters', class: Google::Apis::ServiceuserV1::SystemParameters, decorator: Google::Apis::ServiceuserV1::SystemParameters::Representation - - property :documentation, as: 'documentation', class: Google::Apis::ServiceuserV1::Documentation, decorator: Google::Apis::ServiceuserV1::Documentation::Representation - - collection :monitored_resources, as: 'monitoredResources', class: Google::Apis::ServiceuserV1::MonitoredResourceDescriptor, decorator: Google::Apis::ServiceuserV1::MonitoredResourceDescriptor::Representation - - property :logging, as: 'logging', class: Google::Apis::ServiceuserV1::Logging, decorator: Google::Apis::ServiceuserV1::Logging::Representation - - collection :enums, as: 'enums', class: Google::Apis::ServiceuserV1::Enum, decorator: Google::Apis::ServiceuserV1::Enum::Representation - - property :context, as: 'context', class: Google::Apis::ServiceuserV1::Context, decorator: Google::Apis::ServiceuserV1::Context::Representation - - property :id, as: 'id' - property :usage, as: 'usage', class: Google::Apis::ServiceuserV1::Usage, decorator: Google::Apis::ServiceuserV1::Usage::Representation - - collection :metrics, as: 'metrics', class: Google::Apis::ServiceuserV1::MetricDescriptor, decorator: Google::Apis::ServiceuserV1::MetricDescriptor::Representation - - property :authentication, as: 'authentication', class: Google::Apis::ServiceuserV1::Authentication, decorator: Google::Apis::ServiceuserV1::Authentication::Representation - - property :experimental, as: 'experimental', class: Google::Apis::ServiceuserV1::Experimental, decorator: Google::Apis::ServiceuserV1::Experimental::Representation - - property :control, as: 'control', class: Google::Apis::ServiceuserV1::Control, decorator: Google::Apis::ServiceuserV1::Control::Representation - - property :config_version, as: 'configVersion' - property :monitoring, as: 'monitoring', class: Google::Apis::ServiceuserV1::Monitoring, decorator: Google::Apis::ServiceuserV1::Monitoring::Representation - - collection :system_types, as: 'systemTypes', class: Google::Apis::ServiceuserV1::Type, decorator: Google::Apis::ServiceuserV1::Type::Representation - - property :producer_project_id, as: 'producerProjectId' - property :visibility, as: 'visibility', class: Google::Apis::ServiceuserV1::Visibility, decorator: Google::Apis::ServiceuserV1::Visibility::Representation - - property :quota, as: 'quota', class: Google::Apis::ServiceuserV1::Quota, decorator: Google::Apis::ServiceuserV1::Quota::Representation - - property :name, as: 'name' - property :custom_error, as: 'customError', class: Google::Apis::ServiceuserV1::CustomError, decorator: Google::Apis::ServiceuserV1::CustomError::Representation - - property :title, as: 'title' - collection :endpoints, as: 'endpoints', class: Google::Apis::ServiceuserV1::Endpoint, decorator: Google::Apis::ServiceuserV1::Endpoint::Representation - + hash :response, as: 'response' end end class OperationMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation + property :progress_percentage, as: 'progressPercentage' + collection :resource_names, as: 'resourceNames' + property :start_time, as: 'startTime' collection :steps, as: 'steps', class: Google::Apis::ServiceuserV1::Step, decorator: Google::Apis::ServiceuserV1::Step::Representation - collection :resource_names, as: 'resourceNames' - property :progress_percentage, as: 'progressPercentage' - property :start_time, as: 'startTime' end end - class CustomHttpPattern + class Option # @private class Representation < Google::Apis::Core::JsonRepresentation - property :path, as: 'path' - property :kind, as: 'kind' + property :name, as: 'name' + hash :value, as: 'value' end end - class SystemParameterRule + class Page # @private class Representation < Google::Apis::Core::JsonRepresentation - property :selector, as: 'selector' - collection :parameters, as: 'parameters', class: Google::Apis::ServiceuserV1::SystemParameter, decorator: Google::Apis::ServiceuserV1::SystemParameter::Representation + property :content, as: 'content' + property :name, as: 'name' + collection :subpages, as: 'subpages', class: Google::Apis::ServiceuserV1::Page, decorator: Google::Apis::ServiceuserV1::Page::Representation end end @@ -747,64 +878,8 @@ module Google class PublishedService # @private class Representation < Google::Apis::Core::JsonRepresentation - property :service, as: 'service', class: Google::Apis::ServiceuserV1::Service, decorator: Google::Apis::ServiceuserV1::Service::Representation - property :name, as: 'name' - end - end - - class HttpRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :selector, as: 'selector' - property :custom, as: 'custom', class: Google::Apis::ServiceuserV1::CustomHttpPattern, decorator: Google::Apis::ServiceuserV1::CustomHttpPattern::Representation - - property :get, as: 'get' - property :patch, as: 'patch' - property :put, as: 'put' - property :delete, as: 'delete' - property :body, as: 'body' - property :media_download, as: 'mediaDownload', class: Google::Apis::ServiceuserV1::MediaDownload, decorator: Google::Apis::ServiceuserV1::MediaDownload::Representation - - property :post, as: 'post' - property :rest_method_name, as: 'restMethodName' - collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServiceuserV1::HttpRule, decorator: Google::Apis::ServiceuserV1::HttpRule::Representation - - property :response_body, as: 'responseBody' - property :rest_collection, as: 'restCollection' - property :media_upload, as: 'mediaUpload', class: Google::Apis::ServiceuserV1::MediaUpload, decorator: Google::Apis::ServiceuserV1::MediaUpload::Representation - - end - end - - class VisibilityRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :restriction, as: 'restriction' - property :selector, as: 'selector' - end - end - - class MonitoringDestination - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :monitored_resource, as: 'monitoredResource' - collection :metrics, as: 'metrics' - end - end - - class Visibility - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :rules, as: 'rules', class: Google::Apis::ServiceuserV1::VisibilityRule, decorator: Google::Apis::ServiceuserV1::VisibilityRule::Representation - - end - end - - class SystemParameters - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :rules, as: 'rules', class: Google::Apis::ServiceuserV1::SystemParameterRule, decorator: Google::Apis::ServiceuserV1::SystemParameterRule::Representation + property :service, as: 'service', class: Google::Apis::ServiceuserV1::Service, decorator: Google::Apis::ServiceuserV1::Service::Representation end end @@ -819,93 +894,92 @@ module Google end end - class Step - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :status, as: 'status' - property :description, as: 'description' - end - end - - class LoggingDestination - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :logs, as: 'logs' - property :monitored_resource, as: 'monitoredResource' - end - end - - class Option - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - hash :value, as: 'value' - end - end - - class Logging - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :consumer_destinations, as: 'consumerDestinations', class: Google::Apis::ServiceuserV1::LoggingDestination, decorator: Google::Apis::ServiceuserV1::LoggingDestination::Representation - - collection :producer_destinations, as: 'producerDestinations', class: Google::Apis::ServiceuserV1::LoggingDestination, decorator: Google::Apis::ServiceuserV1::LoggingDestination::Representation - - end - end - class QuotaLimit # @private class Representation < Google::Apis::Core::JsonRepresentation - property :free_tier, :numeric_string => true, as: 'freeTier' - property :duration, as: 'duration' property :default_limit, :numeric_string => true, as: 'defaultLimit' - property :display_name, as: 'displayName' - property :metric, as: 'metric' property :description, as: 'description' - hash :values, as: 'values' - property :unit, as: 'unit' + property :display_name, as: 'displayName' + property :duration, as: 'duration' + property :free_tier, :numeric_string => true, as: 'freeTier' property :max_limit, :numeric_string => true, as: 'maxLimit' + property :metric, as: 'metric' property :name, as: 'name' + property :unit, as: 'unit' + hash :values, as: 'values' end end - class MethodProp + class SearchServicesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :services, as: 'services', class: Google::Apis::ServiceuserV1::PublishedService, decorator: Google::Apis::ServiceuserV1::PublishedService::Representation + + end + end + + class Service + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :apis, as: 'apis', class: Google::Apis::ServiceuserV1::Api, decorator: Google::Apis::ServiceuserV1::Api::Representation + + property :authentication, as: 'authentication', class: Google::Apis::ServiceuserV1::Authentication, decorator: Google::Apis::ServiceuserV1::Authentication::Representation + + property :backend, as: 'backend', class: Google::Apis::ServiceuserV1::Backend, decorator: Google::Apis::ServiceuserV1::Backend::Representation + + property :config_version, as: 'configVersion' + property :context, as: 'context', class: Google::Apis::ServiceuserV1::Context, decorator: Google::Apis::ServiceuserV1::Context::Representation + + property :control, as: 'control', class: Google::Apis::ServiceuserV1::Control, decorator: Google::Apis::ServiceuserV1::Control::Representation + + property :custom_error, as: 'customError', class: Google::Apis::ServiceuserV1::CustomError, decorator: Google::Apis::ServiceuserV1::CustomError::Representation + + property :documentation, as: 'documentation', class: Google::Apis::ServiceuserV1::Documentation, decorator: Google::Apis::ServiceuserV1::Documentation::Representation + + collection :endpoints, as: 'endpoints', class: Google::Apis::ServiceuserV1::Endpoint, decorator: Google::Apis::ServiceuserV1::Endpoint::Representation + + collection :enums, as: 'enums', class: Google::Apis::ServiceuserV1::Enum, decorator: Google::Apis::ServiceuserV1::Enum::Representation + + property :experimental, as: 'experimental', class: Google::Apis::ServiceuserV1::Experimental, decorator: Google::Apis::ServiceuserV1::Experimental::Representation + + property :http, as: 'http', class: Google::Apis::ServiceuserV1::Http, decorator: Google::Apis::ServiceuserV1::Http::Representation + + property :id, as: 'id' + property :logging, as: 'logging', class: Google::Apis::ServiceuserV1::Logging, decorator: Google::Apis::ServiceuserV1::Logging::Representation + + collection :logs, as: 'logs', class: Google::Apis::ServiceuserV1::LogDescriptor, decorator: Google::Apis::ServiceuserV1::LogDescriptor::Representation + + collection :metrics, as: 'metrics', class: Google::Apis::ServiceuserV1::MetricDescriptor, decorator: Google::Apis::ServiceuserV1::MetricDescriptor::Representation + + collection :monitored_resources, as: 'monitoredResources', class: Google::Apis::ServiceuserV1::MonitoredResourceDescriptor, decorator: Google::Apis::ServiceuserV1::MonitoredResourceDescriptor::Representation + + property :monitoring, as: 'monitoring', class: Google::Apis::ServiceuserV1::Monitoring, decorator: Google::Apis::ServiceuserV1::Monitoring::Representation + property :name, as: 'name' - property :request_type_url, as: 'requestTypeUrl' - property :request_streaming, as: 'requestStreaming' - property :syntax, as: 'syntax' - property :response_type_url, as: 'responseTypeUrl' - collection :options, as: 'options', class: Google::Apis::ServiceuserV1::Option, decorator: Google::Apis::ServiceuserV1::Option::Representation + property :producer_project_id, as: 'producerProjectId' + property :quota, as: 'quota', class: Google::Apis::ServiceuserV1::Quota, decorator: Google::Apis::ServiceuserV1::Quota::Representation + + property :source_info, as: 'sourceInfo', class: Google::Apis::ServiceuserV1::SourceInfo, decorator: Google::Apis::ServiceuserV1::SourceInfo::Representation + + property :system_parameters, as: 'systemParameters', class: Google::Apis::ServiceuserV1::SystemParameters, decorator: Google::Apis::ServiceuserV1::SystemParameters::Representation + + collection :system_types, as: 'systemTypes', class: Google::Apis::ServiceuserV1::Type, decorator: Google::Apis::ServiceuserV1::Type::Representation + + property :title, as: 'title' + collection :types, as: 'types', class: Google::Apis::ServiceuserV1::Type, decorator: Google::Apis::ServiceuserV1::Type::Representation + + property :usage, as: 'usage', class: Google::Apis::ServiceuserV1::Usage, decorator: Google::Apis::ServiceuserV1::Usage::Representation + + property :visibility, as: 'visibility', class: Google::Apis::ServiceuserV1::Visibility, decorator: Google::Apis::ServiceuserV1::Visibility::Representation - property :response_streaming, as: 'responseStreaming' end end - class Mixin + class SourceContext # @private class Representation < Google::Apis::Core::JsonRepresentation - property :root, as: 'root' - property :name, as: 'name' - end - end - - class CustomError - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :rules, as: 'rules', class: Google::Apis::ServiceuserV1::CustomErrorRule, decorator: Google::Apis::ServiceuserV1::CustomErrorRule::Representation - - collection :types, as: 'types' - end - end - - class Http - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :rules, as: 'rules', class: Google::Apis::ServiceuserV1::HttpRule, decorator: Google::Apis::ServiceuserV1::HttpRule::Representation - - property :fully_decode_reserved_expansion, as: 'fullyDecodeReservedExpansion' + property :file_name, as: 'fileName' end end @@ -916,10 +990,20 @@ module Google end end - class Control + class Status # @private class Representation < Google::Apis::Core::JsonRepresentation - property :environment, as: 'environment' + property :code, as: 'code' + collection :details, as: 'details' + property :message, as: 'message' + end + end + + class Step + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :status, as: 'status' end end @@ -932,59 +1016,20 @@ module Google end end - class Monitoring + class SystemParameterRule # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :producer_destinations, as: 'producerDestinations', class: Google::Apis::ServiceuserV1::MonitoringDestination, decorator: Google::Apis::ServiceuserV1::MonitoringDestination::Representation - - collection :consumer_destinations, as: 'consumerDestinations', class: Google::Apis::ServiceuserV1::MonitoringDestination, decorator: Google::Apis::ServiceuserV1::MonitoringDestination::Representation + collection :parameters, as: 'parameters', class: Google::Apis::ServiceuserV1::SystemParameter, decorator: Google::Apis::ServiceuserV1::SystemParameter::Representation + property :selector, as: 'selector' end end - class Field + class SystemParameters # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :options, as: 'options', class: Google::Apis::ServiceuserV1::Option, decorator: Google::Apis::ServiceuserV1::Option::Representation + collection :rules, as: 'rules', class: Google::Apis::ServiceuserV1::SystemParameterRule, decorator: Google::Apis::ServiceuserV1::SystemParameterRule::Representation - property :oneof_index, as: 'oneofIndex' - property :packed, as: 'packed' - property :cardinality, as: 'cardinality' - property :default_value, as: 'defaultValue' - property :name, as: 'name' - property :type_url, as: 'typeUrl' - property :number, as: 'number' - property :json_name, as: 'jsonName' - property :kind, as: 'kind' - end - end - - class Enum - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :options, as: 'options', class: Google::Apis::ServiceuserV1::Option, decorator: Google::Apis::ServiceuserV1::Option::Representation - - property :syntax, as: 'syntax' - property :source_context, as: 'sourceContext', class: Google::Apis::ServiceuserV1::SourceContext, decorator: Google::Apis::ServiceuserV1::SourceContext::Representation - - collection :enumvalue, as: 'enumvalue', class: Google::Apis::ServiceuserV1::EnumValue, decorator: Google::Apis::ServiceuserV1::EnumValue::Representation - - property :name, as: 'name' - end - end - - class EnableServiceRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class LabelDescriptor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value_type, as: 'valueType' - property :key, as: 'key' - property :description, as: 'description' end end @@ -995,74 +1040,46 @@ module Google property :name, as: 'name' collection :oneofs, as: 'oneofs' + collection :options, as: 'options', class: Google::Apis::ServiceuserV1::Option, decorator: Google::Apis::ServiceuserV1::Option::Representation + property :source_context, as: 'sourceContext', class: Google::Apis::ServiceuserV1::SourceContext, decorator: Google::Apis::ServiceuserV1::SourceContext::Representation property :syntax, as: 'syntax' - collection :options, as: 'options', class: Google::Apis::ServiceuserV1::Option, decorator: Google::Apis::ServiceuserV1::Option::Representation + end + end + + class Usage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :producer_notification_channel, as: 'producerNotificationChannel' + collection :requirements, as: 'requirements' + collection :rules, as: 'rules', class: Google::Apis::ServiceuserV1::UsageRule, decorator: Google::Apis::ServiceuserV1::UsageRule::Representation end end - class Experimental + class UsageRule # @private class Representation < Google::Apis::Core::JsonRepresentation - property :authorization, as: 'authorization', class: Google::Apis::ServiceuserV1::AuthorizationConfig, decorator: Google::Apis::ServiceuserV1::AuthorizationConfig::Representation - - end - end - - class Backend - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :rules, as: 'rules', class: Google::Apis::ServiceuserV1::BackendRule, decorator: Google::Apis::ServiceuserV1::BackendRule::Representation - - end - end - - class DocumentationRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :deprecation_description, as: 'deprecationDescription' + property :allow_unregistered_calls, as: 'allowUnregisteredCalls' property :selector, as: 'selector' + property :skip_service_control, as: 'skipServiceControl' end end - class AuthorizationConfig + class Visibility # @private class Representation < Google::Apis::Core::JsonRepresentation - property :provider, as: 'provider' + collection :rules, as: 'rules', class: Google::Apis::ServiceuserV1::VisibilityRule, decorator: Google::Apis::ServiceuserV1::VisibilityRule::Representation + end end - class ContextRule + class VisibilityRule # @private class Representation < Google::Apis::Core::JsonRepresentation + property :restriction, as: 'restriction' property :selector, as: 'selector' - collection :provided, as: 'provided' - collection :requested, as: 'requested' - end - end - - class MetricDescriptor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metric_kind, as: 'metricKind' - property :display_name, as: 'displayName' - property :description, as: 'description' - property :unit, as: 'unit' - collection :labels, as: 'labels', class: Google::Apis::ServiceuserV1::LabelDescriptor, decorator: Google::Apis::ServiceuserV1::LabelDescriptor::Representation - - property :name, as: 'name' - property :type, as: 'type' - property :value_type, as: 'valueType' - end - end - - class SourceContext - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :file_name, as: 'fileName' end end end diff --git a/generated/google/apis/serviceuser_v1/service.rb b/generated/google/apis/serviceuser_v1/service.rb index 91a5483c2..60b2fa53b 100644 --- a/generated/google/apis/serviceuser_v1/service.rb +++ b/generated/google/apis/serviceuser_v1/service.rb @@ -49,45 +49,6 @@ module Google @batch_path = 'batch' end - # List enabled services for the specified consumer. - # @param [String] parent - # List enabled services for the specified parent. - # An example valid parent would be: - # - projects/my-project - # @param [String] page_token - # Token identifying which result to start with; returned by a previous list - # call. - # @param [Fixnum] page_size - # Requested size of the next page of data. - # @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::ServiceuserV1::ListEnabledServicesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServiceuserV1::ListEnabledServicesResponse] - # - # @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_project_services(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+parent}/services', options) - command.response_representation = Google::Apis::ServiceuserV1::ListEnabledServicesResponse::Representation - command.response_class = Google::Apis::ServiceuserV1::ListEnabledServicesResponse - command.params['parent'] = parent unless parent.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Disable a service so it can no longer be used with a # project. This prevents unintended usage that may cause unexpected billing # charges or security leaks. @@ -166,15 +127,54 @@ module Google execute_or_queue_command(command, &block) end + # List enabled services for the specified consumer. + # @param [String] parent + # List enabled services for the specified parent. + # An example valid parent would be: + # - projects/my-project + # @param [Fixnum] page_size + # Requested size of the next page of data. + # @param [String] page_token + # Token identifying which result to start with; returned by a previous list + # call. + # @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::ServiceuserV1::ListEnabledServicesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ServiceuserV1::ListEnabledServicesResponse] + # + # @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_project_services(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/services', options) + command.response_representation = Google::Apis::ServiceuserV1::ListEnabledServicesResponse::Representation + command.response_class = Google::Apis::ServiceuserV1::ListEnabledServicesResponse + command.params['parent'] = parent unless parent.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 + # Search available services. # When no filter is specified, returns all accessible services. For # authenticated users, also returns all services the calling user has # "servicemanagement.services.bind" permission for. + # @param [Fixnum] page_size + # Requested size of the next page of data. # @param [String] page_token # Token identifying which result to start with; returned by a previous list # call. - # @param [Fixnum] page_size - # Requested size of the next page of data. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -192,12 +192,12 @@ 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 search_services(page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + def search_services(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/services:search', options) command.response_representation = Google::Apis::ServiceuserV1::SearchServicesResponse::Representation command.response_class = Google::Apis::ServiceuserV1::SearchServicesResponse - command.query['pageToken'] = page_token unless page_token.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) diff --git a/generated/google/apis/sheets_v4.rb b/generated/google/apis/sheets_v4.rb index 3de8dda79..d1fcfc261 100644 --- a/generated/google/apis/sheets_v4.rb +++ b/generated/google/apis/sheets_v4.rb @@ -25,22 +25,22 @@ module Google # @see https://developers.google.com/sheets/ module SheetsV4 VERSION = 'V4' - REVISION = '20170707' - - # View and manage Google Drive files and folders that you have opened or created with this app - AUTH_DRIVE_FILE = 'https://www.googleapis.com/auth/drive.file' - - # View your Google Spreadsheets - AUTH_SPREADSHEETS_READONLY = 'https://www.googleapis.com/auth/spreadsheets.readonly' - - # View the files in your Google Drive - AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly' + REVISION = '20170817' # View and manage the files in your Google Drive AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' + # View and manage Google Drive files and folders that you have opened or created with this app + AUTH_DRIVE_FILE = 'https://www.googleapis.com/auth/drive.file' + + # View the files in your Google Drive + AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly' + # View and manage your spreadsheets in Google Drive AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets' + + # View your Google Spreadsheets + AUTH_SPREADSHEETS_READONLY = 'https://www.googleapis.com/auth/spreadsheets.readonly' end end end diff --git a/generated/google/apis/sheets_v4/classes.rb b/generated/google/apis/sheets_v4/classes.rb index 15e00d6ba..c9844c7bc 100644 --- a/generated/google/apis/sheets_v4/classes.rb +++ b/generated/google/apis/sheets_v4/classes.rb @@ -22,14 +22,14 @@ module Google module Apis module SheetsV4 - # The result of adding a filter view. - class AddFilterViewResponse + # Adds a new banded range to the spreadsheet. + class AddBandingRequest include Google::Apis::Core::Hashable - # A filter view. - # Corresponds to the JSON property `filter` - # @return [Google::Apis::SheetsV4::FilterView] - attr_accessor :filter + # A banded (alternating colors) range in a sheet. + # Corresponds to the JSON property `bandedRange` + # @return [Google::Apis::SheetsV4::BandedRange] + attr_accessor :banded_range def initialize(**args) update!(**args) @@ -37,1061 +37,7 @@ module Google # Update properties of this object def update!(**args) - @filter = args[:filter] if args.key?(:filter) - end - end - - # Settings to control how circular dependencies are resolved with iterative - # calculation. - class IterativeCalculationSettings - include Google::Apis::Core::Hashable - - # When iterative calculation is enabled and successive results differ by - # less than this threshold value, the calculation rounds stop. - # Corresponds to the JSON property `convergenceThreshold` - # @return [Float] - attr_accessor :convergence_threshold - - # When iterative calculation is enabled, the maximum number of calculation - # rounds to perform. - # Corresponds to the JSON property `maxIterations` - # @return [Fixnum] - attr_accessor :max_iterations - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @convergence_threshold = args[:convergence_threshold] if args.key?(:convergence_threshold) - @max_iterations = args[:max_iterations] if args.key?(:max_iterations) - end - end - - # Properties of a spreadsheet. - class SpreadsheetProperties - include Google::Apis::Core::Hashable - - # The title of the spreadsheet. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # The time zone of the spreadsheet, in CLDR format such as - # `America/New_York`. If the time zone isn't recognized, this may - # be a custom time zone such as `GMT-07:00`. - # Corresponds to the JSON property `timeZone` - # @return [String] - attr_accessor :time_zone - - # The locale of the spreadsheet in one of the following formats: - # * an ISO 639-1 language code such as `en` - # * an ISO 639-2 language code such as `fil`, if no 639-1 code exists - # * a combination of the ISO language code and country code, such as `en_US` - # Note: when updating this field, not all locales/languages are supported. - # Corresponds to the JSON property `locale` - # @return [String] - attr_accessor :locale - - # Settings to control how circular dependencies are resolved with iterative - # calculation. - # Corresponds to the JSON property `iterativeCalculationSettings` - # @return [Google::Apis::SheetsV4::IterativeCalculationSettings] - attr_accessor :iterative_calculation_settings - - # The amount of time to wait before volatile functions are recalculated. - # Corresponds to the JSON property `autoRecalc` - # @return [String] - attr_accessor :auto_recalc - - # The format of a cell. - # Corresponds to the JSON property `defaultFormat` - # @return [Google::Apis::SheetsV4::CellFormat] - attr_accessor :default_format - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @title = args[:title] if args.key?(:title) - @time_zone = args[:time_zone] if args.key?(:time_zone) - @locale = args[:locale] if args.key?(:locale) - @iterative_calculation_settings = args[:iterative_calculation_settings] if args.key?(:iterative_calculation_settings) - @auto_recalc = args[:auto_recalc] if args.key?(:auto_recalc) - @default_format = args[:default_format] if args.key?(:default_format) - end - end - - # The location an object is overlaid on top of a grid. - class OverlayPosition - include Google::Apis::Core::Hashable - - # The width of the object, in pixels. Defaults to 600. - # Corresponds to the JSON property `widthPixels` - # @return [Fixnum] - attr_accessor :width_pixels - - # The horizontal offset, in pixels, that the object is offset - # from the anchor cell. - # Corresponds to the JSON property `offsetXPixels` - # @return [Fixnum] - attr_accessor :offset_x_pixels - - # A coordinate in a sheet. - # All indexes are zero-based. - # Corresponds to the JSON property `anchorCell` - # @return [Google::Apis::SheetsV4::GridCoordinate] - attr_accessor :anchor_cell - - # The height of the object, in pixels. Defaults to 371. - # Corresponds to the JSON property `heightPixels` - # @return [Fixnum] - attr_accessor :height_pixels - - # The vertical offset, in pixels, that the object is offset - # from the anchor cell. - # Corresponds to the JSON property `offsetYPixels` - # @return [Fixnum] - attr_accessor :offset_y_pixels - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @width_pixels = args[:width_pixels] if args.key?(:width_pixels) - @offset_x_pixels = args[:offset_x_pixels] if args.key?(:offset_x_pixels) - @anchor_cell = args[:anchor_cell] if args.key?(:anchor_cell) - @height_pixels = args[:height_pixels] if args.key?(:height_pixels) - @offset_y_pixels = args[:offset_y_pixels] if args.key?(:offset_y_pixels) - end - end - - # Updates all cells in the range to the values in the given Cell object. - # Only the fields listed in the fields field are updated; others are - # unchanged. - # If writing a cell with a formula, the formula's ranges will automatically - # increment for each field in the range. - # For example, if writing a cell with formula `=A1` into range B2:C4, - # B2 would be `=A1`, B3 would be `=A2`, B4 would be `=A3`, - # C2 would be `=B1`, C3 would be `=B2`, C4 would be `=B3`. - # To keep the formula's ranges static, use the `$` indicator. - # For example, use the formula `=$A$1` to prevent both the row and the - # column from incrementing. - class RepeatCellRequest - include Google::Apis::Core::Hashable - - # The fields that should be updated. At least one field must be specified. - # The root `cell` is implied and should not be specified. - # A single `"*"` can be used as short-hand for listing every field. - # Corresponds to the JSON property `fields` - # @return [String] - attr_accessor :fields - - # Data about a specific cell. - # Corresponds to the JSON property `cell` - # @return [Google::Apis::SheetsV4::CellData] - attr_accessor :cell - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @fields = args[:fields] if args.key?(:fields) - @cell = args[:cell] if args.key?(:cell) - @range = args[:range] if args.key?(:range) - end - end - - # The result of adding a chart to a spreadsheet. - class AddChartResponse - include Google::Apis::Core::Hashable - - # A chart embedded in a sheet. - # Corresponds to the JSON property `chart` - # @return [Google::Apis::SheetsV4::EmbeddedChart] - attr_accessor :chart - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @chart = args[:chart] if args.key?(:chart) - end - end - - # Inserts rows or columns in a sheet at a particular index. - class InsertDimensionRequest - include Google::Apis::Core::Hashable - - # A range along a single dimension on a sheet. - # All indexes are zero-based. - # Indexes are half open: the start index is inclusive - # and the end index is exclusive. - # Missing indexes indicate the range is unbounded on that side. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::DimensionRange] - attr_accessor :range - - # Whether dimension properties should be extended from the dimensions - # before or after the newly inserted dimensions. - # True to inherit from the dimensions before (in which case the start - # index must be greater than 0), and false to inherit from the dimensions - # after. - # For example, if row index 0 has red background and row index 1 - # has a green background, then inserting 2 rows at index 1 can inherit - # either the green or red background. If `inheritFromBefore` is true, - # the two new rows will be red (because the row before the insertion point - # was red), whereas if `inheritFromBefore` is false, the two new rows will - # be green (because the row after the insertion point was green). - # Corresponds to the JSON property `inheritFromBefore` - # @return [Boolean] - attr_accessor :inherit_from_before - alias_method :inherit_from_before?, :inherit_from_before - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @range = args[:range] if args.key?(:range) - @inherit_from_before = args[:inherit_from_before] if args.key?(:inherit_from_before) - end - end - - # Updates properties of a spreadsheet. - class UpdateSpreadsheetPropertiesRequest - include Google::Apis::Core::Hashable - - # The fields that should be updated. At least one field must be specified. - # The root 'properties' is implied and should not be specified. - # A single `"*"` can be used as short-hand for listing every field. - # Corresponds to the JSON property `fields` - # @return [String] - attr_accessor :fields - - # Properties of a spreadsheet. - # Corresponds to the JSON property `properties` - # @return [Google::Apis::SheetsV4::SpreadsheetProperties] - attr_accessor :properties - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @fields = args[:fields] if args.key?(:fields) - @properties = args[:properties] if args.key?(:properties) - end - end - - # A protected range. - class ProtectedRange - include Google::Apis::Core::Hashable - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :range - - # The editors of a protected range. - # Corresponds to the JSON property `editors` - # @return [Google::Apis::SheetsV4::Editors] - attr_accessor :editors - - # The description of this protected range. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # The list of unprotected ranges within a protected sheet. - # Unprotected ranges are only supported on protected sheets. - # Corresponds to the JSON property `unprotectedRanges` - # @return [Array] - attr_accessor :unprotected_ranges - - # The named range this protected range is backed by, if any. - # When writing, only one of range or named_range_id - # may be set. - # Corresponds to the JSON property `namedRangeId` - # @return [String] - attr_accessor :named_range_id - - # The ID of the protected range. - # This field is read-only. - # Corresponds to the JSON property `protectedRangeId` - # @return [Fixnum] - attr_accessor :protected_range_id - - # True if this protected range will show a warning when editing. - # Warning-based protection means that every user can edit data in the - # protected range, except editing will prompt a warning asking the user - # to confirm the edit. - # When writing: if this field is true, then editors is ignored. - # Additionally, if this field is changed from true to false and the - # `editors` field is not set (nor included in the field mask), then - # the editors will be set to all the editors in the document. - # Corresponds to the JSON property `warningOnly` - # @return [Boolean] - attr_accessor :warning_only - alias_method :warning_only?, :warning_only - - # True if the user who requested this protected range can edit the - # protected area. - # This field is read-only. - # Corresponds to the JSON property `requestingUserCanEdit` - # @return [Boolean] - attr_accessor :requesting_user_can_edit - alias_method :requesting_user_can_edit?, :requesting_user_can_edit - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @range = args[:range] if args.key?(:range) - @editors = args[:editors] if args.key?(:editors) - @description = args[:description] if args.key?(:description) - @unprotected_ranges = args[:unprotected_ranges] if args.key?(:unprotected_ranges) - @named_range_id = args[:named_range_id] if args.key?(:named_range_id) - @protected_range_id = args[:protected_range_id] if args.key?(:protected_range_id) - @warning_only = args[:warning_only] if args.key?(:warning_only) - @requesting_user_can_edit = args[:requesting_user_can_edit] if args.key?(:requesting_user_can_edit) - end - end - - # The request for updating more than one range of values in a spreadsheet. - class BatchUpdateValuesRequest - include Google::Apis::Core::Hashable - - # Determines how values in the response should be rendered. - # The default render option is ValueRenderOption.FORMATTED_VALUE. - # Corresponds to the JSON property `responseValueRenderOption` - # @return [String] - attr_accessor :response_value_render_option - - # Determines if the update response should include the values - # of the cells that were updated. By default, responses - # do not include the updated values. The `updatedData` field within - # each of the BatchUpdateValuesResponse.responses will contain - # the updated values. If the range to write was larger than than the range - # actually written, the response will include all values in the requested - # range (excluding trailing empty rows and columns). - # Corresponds to the JSON property `includeValuesInResponse` - # @return [Boolean] - attr_accessor :include_values_in_response - alias_method :include_values_in_response?, :include_values_in_response - - # The new values to apply to the spreadsheet. - # Corresponds to the JSON property `data` - # @return [Array] - attr_accessor :data - - # How the input data should be interpreted. - # Corresponds to the JSON property `valueInputOption` - # @return [String] - attr_accessor :value_input_option - - # Determines how dates, times, and durations in the response should be - # rendered. This is ignored if response_value_render_option is - # FORMATTED_VALUE. - # The default dateTime render option is - # DateTimeRenderOption.SERIAL_NUMBER. - # Corresponds to the JSON property `responseDateTimeRenderOption` - # @return [String] - attr_accessor :response_date_time_render_option - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @response_value_render_option = args[:response_value_render_option] if args.key?(:response_value_render_option) - @include_values_in_response = args[:include_values_in_response] if args.key?(:include_values_in_response) - @data = args[:data] if args.key?(:data) - @value_input_option = args[:value_input_option] if args.key?(:value_input_option) - @response_date_time_render_option = args[:response_date_time_render_option] if args.key?(:response_date_time_render_option) - end - end - - # Properties about a dimension. - class DimensionProperties - include Google::Apis::Core::Hashable - - # The height (if a row) or width (if a column) of the dimension in pixels. - # Corresponds to the JSON property `pixelSize` - # @return [Fixnum] - attr_accessor :pixel_size - - # True if this dimension is explicitly hidden. - # Corresponds to the JSON property `hiddenByUser` - # @return [Boolean] - attr_accessor :hidden_by_user - alias_method :hidden_by_user?, :hidden_by_user - - # True if this dimension is being filtered. - # This field is read-only. - # Corresponds to the JSON property `hiddenByFilter` - # @return [Boolean] - attr_accessor :hidden_by_filter - alias_method :hidden_by_filter?, :hidden_by_filter - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @pixel_size = args[:pixel_size] if args.key?(:pixel_size) - @hidden_by_user = args[:hidden_by_user] if args.key?(:hidden_by_user) - @hidden_by_filter = args[:hidden_by_filter] if args.key?(:hidden_by_filter) - end - end - - # A named range. - class NamedRange - include Google::Apis::Core::Hashable - - # The ID of the named range. - # Corresponds to the JSON property `namedRangeId` - # @return [String] - attr_accessor :named_range_id - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :range - - # The name of the named range. - # 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) - @named_range_id = args[:named_range_id] if args.key?(:named_range_id) - @range = args[:range] if args.key?(:range) - @name = args[:name] if args.key?(:name) - end - end - - # A range along a single dimension on a sheet. - # All indexes are zero-based. - # Indexes are half open: the start index is inclusive - # and the end index is exclusive. - # Missing indexes indicate the range is unbounded on that side. - class DimensionRange - include Google::Apis::Core::Hashable - - # The dimension of the span. - # Corresponds to the JSON property `dimension` - # @return [String] - attr_accessor :dimension - - # The end (exclusive) of the span, or not set if unbounded. - # Corresponds to the JSON property `endIndex` - # @return [Fixnum] - attr_accessor :end_index - - # The start (inclusive) of the span, or not set if unbounded. - # Corresponds to the JSON property `startIndex` - # @return [Fixnum] - attr_accessor :start_index - - # The sheet this span is on. - # Corresponds to the JSON property `sheetId` - # @return [Fixnum] - attr_accessor :sheet_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @dimension = args[:dimension] if args.key?(:dimension) - @end_index = args[:end_index] if args.key?(:end_index) - @start_index = args[:start_index] if args.key?(:start_index) - @sheet_id = args[:sheet_id] if args.key?(:sheet_id) - end - end - - # Moves data from the source to the destination. - class CutPasteRequest - include Google::Apis::Core::Hashable - - # A coordinate in a sheet. - # All indexes are zero-based. - # Corresponds to the JSON property `destination` - # @return [Google::Apis::SheetsV4::GridCoordinate] - attr_accessor :destination - - # What kind of data to paste. All the source data will be cut, regardless - # of what is pasted. - # Corresponds to the JSON property `pasteType` - # @return [String] - attr_accessor :paste_type - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `source` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :source - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @destination = args[:destination] if args.key?(:destination) - @paste_type = args[:paste_type] if args.key?(:paste_type) - @source = args[:source] if args.key?(:source) - end - end - - # The borders of the cell. - class Borders - include Google::Apis::Core::Hashable - - # A border along a cell. - # Corresponds to the JSON property `right` - # @return [Google::Apis::SheetsV4::Border] - attr_accessor :right - - # A border along a cell. - # Corresponds to the JSON property `bottom` - # @return [Google::Apis::SheetsV4::Border] - attr_accessor :bottom - - # A border along a cell. - # Corresponds to the JSON property `top` - # @return [Google::Apis::SheetsV4::Border] - attr_accessor :top - - # A border along a cell. - # Corresponds to the JSON property `left` - # @return [Google::Apis::SheetsV4::Border] - attr_accessor :left - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @right = args[:right] if args.key?(:right) - @bottom = args[:bottom] if args.key?(:bottom) - @top = args[:top] if args.key?(:top) - @left = args[:left] if args.key?(:left) - end - end - - # A single series of data in a chart. - # For example, if charting stock prices over time, multiple series may exist, - # one for the "Open Price", "High Price", "Low Price" and "Close Price". - class BasicChartSeries - include Google::Apis::Core::Hashable - - # The minor axis that will specify the range of values for this series. - # For example, if charting stocks over time, the "Volume" series - # may want to be pinned to the right with the prices pinned to the left, - # because the scale of trading volume is different than the scale of - # prices. - # It is an error to specify an axis that isn't a valid minor axis - # for the chart's type. - # Corresponds to the JSON property `targetAxis` - # @return [String] - attr_accessor :target_axis - - # The type of this series. Valid only if the - # chartType is - # COMBO. - # Different types will change the way the series is visualized. - # Only LINE, AREA, - # and COLUMN are supported. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The data included in a domain or series. - # Corresponds to the JSON property `series` - # @return [Google::Apis::SheetsV4::ChartData] - attr_accessor :series - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @target_axis = args[:target_axis] if args.key?(:target_axis) - @type = args[:type] if args.key?(:type) - @series = args[:series] if args.key?(:series) - end - end - - # Automatically resizes one or more dimensions based on the contents - # of the cells in that dimension. - class AutoResizeDimensionsRequest - include Google::Apis::Core::Hashable - - # A range along a single dimension on a sheet. - # All indexes are zero-based. - # Indexes are half open: the start index is inclusive - # and the end index is exclusive. - # Missing indexes indicate the range is unbounded on that side. - # Corresponds to the JSON property `dimensions` - # @return [Google::Apis::SheetsV4::DimensionRange] - attr_accessor :dimensions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @dimensions = args[:dimensions] if args.key?(:dimensions) - end - end - - # Updates the borders of a range. - # If a field is not set in the request, that means the border remains as-is. - # For example, with two subsequent UpdateBordersRequest: - # 1. range: A1:A5 `` top: RED, bottom: WHITE `` - # 2. range: A1:A5 `` left: BLUE `` - # That would result in A1:A5 having a borders of - # `` top: RED, bottom: WHITE, left: BLUE ``. - # If you want to clear a border, explicitly set the style to - # NONE. - class UpdateBordersRequest - include Google::Apis::Core::Hashable - - # A border along a cell. - # Corresponds to the JSON property `innerVertical` - # @return [Google::Apis::SheetsV4::Border] - attr_accessor :inner_vertical - - # A border along a cell. - # Corresponds to the JSON property `right` - # @return [Google::Apis::SheetsV4::Border] - attr_accessor :right - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :range - - # A border along a cell. - # Corresponds to the JSON property `innerHorizontal` - # @return [Google::Apis::SheetsV4::Border] - attr_accessor :inner_horizontal - - # A border along a cell. - # Corresponds to the JSON property `top` - # @return [Google::Apis::SheetsV4::Border] - attr_accessor :top - - # A border along a cell. - # Corresponds to the JSON property `left` - # @return [Google::Apis::SheetsV4::Border] - attr_accessor :left - - # A border along a cell. - # Corresponds to the JSON property `bottom` - # @return [Google::Apis::SheetsV4::Border] - attr_accessor :bottom - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @inner_vertical = args[:inner_vertical] if args.key?(:inner_vertical) - @right = args[:right] if args.key?(:right) - @range = args[:range] if args.key?(:range) - @inner_horizontal = args[:inner_horizontal] if args.key?(:inner_horizontal) - @top = args[:top] if args.key?(:top) - @left = args[:left] if args.key?(:left) - @bottom = args[:bottom] if args.key?(:bottom) - end - end - - # The format of a cell. - class CellFormat - include Google::Apis::Core::Hashable - - # The number format of a cell. - # Corresponds to the JSON property `numberFormat` - # @return [Google::Apis::SheetsV4::NumberFormat] - attr_accessor :number_format - - # How a hyperlink, if it exists, should be displayed in the cell. - # Corresponds to the JSON property `hyperlinkDisplayType` - # @return [String] - attr_accessor :hyperlink_display_type - - # The horizontal alignment of the value in the cell. - # Corresponds to the JSON property `horizontalAlignment` - # @return [String] - attr_accessor :horizontal_alignment - - # The format of a run of text in a cell. - # Absent values indicate that the field isn't specified. - # Corresponds to the JSON property `textFormat` - # @return [Google::Apis::SheetsV4::TextFormat] - attr_accessor :text_format - - # 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 `backgroundColor` - # @return [Google::Apis::SheetsV4::Color] - attr_accessor :background_color - - # The vertical alignment of the value in the cell. - # Corresponds to the JSON property `verticalAlignment` - # @return [String] - attr_accessor :vertical_alignment - - # The amount of padding around the cell, in pixels. - # When updating padding, every field must be specified. - # Corresponds to the JSON property `padding` - # @return [Google::Apis::SheetsV4::Padding] - attr_accessor :padding - - # The direction of the text in the cell. - # Corresponds to the JSON property `textDirection` - # @return [String] - attr_accessor :text_direction - - # The borders of the cell. - # Corresponds to the JSON property `borders` - # @return [Google::Apis::SheetsV4::Borders] - attr_accessor :borders - - # The rotation applied to text in a cell. - # Corresponds to the JSON property `textRotation` - # @return [Google::Apis::SheetsV4::TextRotation] - attr_accessor :text_rotation - - # The wrap strategy for the value in the cell. - # Corresponds to the JSON property `wrapStrategy` - # @return [String] - attr_accessor :wrap_strategy - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @number_format = args[:number_format] if args.key?(:number_format) - @hyperlink_display_type = args[:hyperlink_display_type] if args.key?(:hyperlink_display_type) - @horizontal_alignment = args[:horizontal_alignment] if args.key?(:horizontal_alignment) - @text_format = args[:text_format] if args.key?(:text_format) - @background_color = args[:background_color] if args.key?(:background_color) - @vertical_alignment = args[:vertical_alignment] if args.key?(:vertical_alignment) - @padding = args[:padding] if args.key?(:padding) - @text_direction = args[:text_direction] if args.key?(:text_direction) - @borders = args[:borders] if args.key?(:borders) - @text_rotation = args[:text_rotation] if args.key?(:text_rotation) - @wrap_strategy = args[:wrap_strategy] if args.key?(:wrap_strategy) - end - end - - # The response when clearing a range of values in a spreadsheet. - class ClearValuesResponse - include Google::Apis::Core::Hashable - - # The spreadsheet the updates were applied to. - # Corresponds to the JSON property `spreadsheetId` - # @return [String] - attr_accessor :spreadsheet_id - - # The range (in A1 notation) that was cleared. - # (If the request was for an unbounded range or a ranger larger - # than the bounds of the sheet, this will be the actual range - # that was cleared, bounded to the sheet's limits.) - # Corresponds to the JSON property `clearedRange` - # @return [String] - attr_accessor :cleared_range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) - @cleared_range = args[:cleared_range] if args.key?(:cleared_range) - end - end - - # Deletes a conditional format rule at the given index. - # All subsequent rules' indexes are decremented. - class DeleteConditionalFormatRuleRequest - include Google::Apis::Core::Hashable - - # The zero-based index of the rule to be deleted. - # Corresponds to the JSON property `index` - # @return [Fixnum] - attr_accessor :index - - # The sheet the rule is being deleted from. - # Corresponds to the JSON property `sheetId` - # @return [Fixnum] - attr_accessor :sheet_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @index = args[:index] if args.key?(:index) - @sheet_id = args[:sheet_id] if args.key?(:sheet_id) - end - end - - # Removes the named range with the given ID from the spreadsheet. - class DeleteNamedRangeRequest - include Google::Apis::Core::Hashable - - # The ID of the named range to delete. - # Corresponds to the JSON property `namedRangeId` - # @return [String] - attr_accessor :named_range_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @named_range_id = args[:named_range_id] if args.key?(:named_range_id) + @banded_range = args[:banded_range] if args.key?(:banded_range) end end @@ -1114,14 +60,14 @@ module Google end end - # The data included in a domain or series. - class ChartData + # Adds a chart to a sheet in the spreadsheet. + class AddChartRequest include Google::Apis::Core::Hashable - # Source ranges for a chart. - # Corresponds to the JSON property `sourceRange` - # @return [Google::Apis::SheetsV4::ChartSourceRange] - attr_accessor :source_range + # A chart embedded in a sheet. + # Corresponds to the JSON property `chart` + # @return [Google::Apis::SheetsV4::EmbeddedChart] + attr_accessor :chart def initialize(**args) update!(**args) @@ -1129,24 +75,18 @@ module Google # Update properties of this object def update!(**args) - @source_range = args[:source_range] if args.key?(:source_range) + @chart = args[:chart] if args.key?(:chart) end end - # The response when retrieving more than one range of values in a spreadsheet. - class BatchGetValuesResponse + # The result of adding a chart to a spreadsheet. + class AddChartResponse include Google::Apis::Core::Hashable - # The ID of the spreadsheet the data was retrieved from. - # Corresponds to the JSON property `spreadsheetId` - # @return [String] - attr_accessor :spreadsheet_id - - # The requested values. The order of the ValueRanges is the same as the - # order of the requested ranges. - # Corresponds to the JSON property `valueRanges` - # @return [Array] - attr_accessor :value_ranges + # A chart embedded in a sheet. + # Corresponds to the JSON property `chart` + # @return [Google::Apis::SheetsV4::EmbeddedChart] + attr_accessor :chart def initialize(**args) update!(**args) @@ -1154,213 +94,24 @@ module Google # Update properties of this object def update!(**args) - @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) - @value_ranges = args[:value_ranges] if args.key?(:value_ranges) + @chart = args[:chart] if args.key?(:chart) end end - # Updates properties of the supplied banded range. - class UpdateBandingRequest + # Adds a new conditional format rule at the given index. + # All subsequent rules' indexes are incremented. + class AddConditionalFormatRuleRequest include Google::Apis::Core::Hashable - # The fields that should be updated. At least one field must be specified. - # The root `bandedRange` is implied and should not be specified. - # A single `"*"` can be used as short-hand for listing every field. - # Corresponds to the JSON property `fields` - # @return [String] - attr_accessor :fields - - # A banded (alternating colors) range in a sheet. - # Corresponds to the JSON property `bandedRange` - # @return [Google::Apis::SheetsV4::BandedRange] - attr_accessor :banded_range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @fields = args[:fields] if args.key?(:fields) - @banded_range = args[:banded_range] if args.key?(:banded_range) - 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 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 - - # 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 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 red in the color as a value in the interval [0, 1]. - # Corresponds to the JSON property `red` - # @return [Float] - attr_accessor :red - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @alpha = args[:alpha] if args.key?(:alpha) - @blue = args[:blue] if args.key?(:blue) - @green = args[:green] if args.key?(:green) - @red = args[:red] if args.key?(:red) - end - end - - # A single grouping (either row or column) in a pivot table. - class PivotGroup - include Google::Apis::Core::Hashable - - # Information about which values in a pivot group should be used for sorting. - # Corresponds to the JSON property `valueBucket` - # @return [Google::Apis::SheetsV4::PivotGroupSortValueBucket] - attr_accessor :value_bucket - - # Metadata about values in the grouping. - # Corresponds to the JSON property `valueMetadata` - # @return [Array] - attr_accessor :value_metadata - - # True if the pivot table should include the totals for this grouping. - # Corresponds to the JSON property `showTotals` - # @return [Boolean] - attr_accessor :show_totals - alias_method :show_totals?, :show_totals - - # The column offset of the source range that this grouping is based on. - # For example, if the source was `C10:E15`, a `sourceColumnOffset` of `0` - # means this group refers to column `C`, whereas the offset `1` would refer - # to column `D`. - # Corresponds to the JSON property `sourceColumnOffset` + # The zero-based index where the rule should be inserted. + # Corresponds to the JSON property `index` # @return [Fixnum] - attr_accessor :source_column_offset + attr_accessor :index - # The order the values in this group should be sorted. - # Corresponds to the JSON property `sortOrder` - # @return [String] - attr_accessor :sort_order + # A rule describing a conditional format. + # Corresponds to the JSON property `rule` + # @return [Google::Apis::SheetsV4::ConditionalFormatRule] + attr_accessor :rule def initialize(**args) update!(**args) @@ -1368,74 +119,19 @@ module Google # Update properties of this object def update!(**args) - @value_bucket = args[:value_bucket] if args.key?(:value_bucket) - @value_metadata = args[:value_metadata] if args.key?(:value_metadata) - @show_totals = args[:show_totals] if args.key?(:show_totals) - @source_column_offset = args[:source_column_offset] if args.key?(:source_column_offset) - @sort_order = args[:sort_order] if args.key?(:sort_order) + @index = args[:index] if args.key?(:index) + @rule = args[:rule] if args.key?(:rule) end end - # A pivot table. - class PivotTable + # Adds a filter view. + class AddFilterViewRequest include Google::Apis::Core::Hashable - # An optional mapping of filters per source column offset. - # The filters will be applied before aggregating data into the pivot table. - # The map's key is the column offset of the source range that you want to - # filter, and the value is the criteria for that column. - # For example, if the source was `C10:E15`, a key of `0` will have the filter - # for column `C`, whereas the key `1` is for column `D`. - # Corresponds to the JSON property `criteria` - # @return [Hash] - attr_accessor :criteria - - # Each row grouping in the pivot table. - # Corresponds to the JSON property `rows` - # @return [Array] - attr_accessor :rows - - # Whether values should be listed horizontally (as columns) - # or vertically (as rows). - # Corresponds to the JSON property `valueLayout` - # @return [String] - attr_accessor :value_layout - - # Each column grouping in the pivot table. - # Corresponds to the JSON property `columns` - # @return [Array] - attr_accessor :columns - - # A list of values to include in the pivot table. - # Corresponds to the JSON property `values` - # @return [Array] - attr_accessor :values - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `source` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :source + # A filter view. + # Corresponds to the JSON property `filter` + # @return [Google::Apis::SheetsV4::FilterView] + attr_accessor :filter def initialize(**args) update!(**args) @@ -1443,36 +139,18 @@ module Google # Update properties of this object def update!(**args) - @criteria = args[:criteria] if args.key?(:criteria) - @rows = args[:rows] if args.key?(:rows) - @value_layout = args[:value_layout] if args.key?(:value_layout) - @columns = args[:columns] if args.key?(:columns) - @values = args[:values] if args.key?(:values) - @source = args[:source] if args.key?(:source) + @filter = args[:filter] if args.key?(:filter) end end - # Source ranges for a chart. - class ChartSourceRange + # The result of adding a filter view. + class AddFilterViewResponse include Google::Apis::Core::Hashable - # The ranges of data for a series or domain. - # Exactly one dimension must have a length of 1, - # and all sources in the list must have the same dimension - # with length 1. - # The domain (if it exists) & all series must have the same number - # of source ranges. If using more than one source range, then the source - # range at a given offset must be contiguous across the domain and series. - # For example, these are valid configurations: - # domain sources: A1:A5 - # series1 sources: B1:B5 - # series2 sources: D6:D10 - # domain sources: A1:A5, C10:C12 - # series1 sources: B1:B5, D10:D12 - # series2 sources: C1:C5, E10:E12 - # Corresponds to the JSON property `sources` - # @return [Array] - attr_accessor :sources + # A filter view. + # Corresponds to the JSON property `filter` + # @return [Google::Apis::SheetsV4::FilterView] + attr_accessor :filter def initialize(**args) update!(**args) @@ -1480,48 +158,18 @@ module Google # Update properties of this object def update!(**args) - @sources = args[:sources] if args.key?(:sources) + @filter = args[:filter] if args.key?(:filter) end end - # Data within a range of the spreadsheet. - class ValueRange + # Adds a named range to the spreadsheet. + class AddNamedRangeRequest include Google::Apis::Core::Hashable - # The range the values cover, in A1 notation. - # For output, this range indicates the entire requested range, - # even though the values will exclude trailing rows and columns. - # When appending values, this field represents the range to search for a - # table, after which values will be appended. - # Corresponds to the JSON property `range` - # @return [String] - attr_accessor :range - - # The data that was read or to be written. This is an array of arrays, - # the outer array representing all the data and each inner array - # representing a major dimension. Each item in the inner array - # corresponds with one cell. - # For output, empty trailing rows and columns will not be included. - # For input, supported value types are: bool, string, and double. - # Null values will be skipped. - # To set a cell to an empty value, set the string value to an empty string. - # Corresponds to the JSON property `values` - # @return [Array>] - attr_accessor :values - - # The major dimension of the values. - # For output, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, - # then requesting `range=A1:B2,majorDimension=ROWS` will return - # `[[1,2],[3,4]]`, - # whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return - # `[[1,3],[2,4]]`. - # For input, with `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]` - # will set `A1=1,B1=2,A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS` - # then `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`. - # When writing, if this field is not set, it defaults to ROWS. - # Corresponds to the JSON property `majorDimension` - # @return [String] - attr_accessor :major_dimension + # A named range. + # Corresponds to the JSON property `namedRange` + # @return [Google::Apis::SheetsV4::NamedRange] + attr_accessor :named_range def initialize(**args) update!(**args) @@ -1529,9 +177,107 @@ module Google # Update properties of this object def update!(**args) - @range = args[:range] if args.key?(:range) - @values = args[:values] if args.key?(:values) - @major_dimension = args[:major_dimension] if args.key?(:major_dimension) + @named_range = args[:named_range] if args.key?(:named_range) + end + end + + # The result of adding a named range. + class AddNamedRangeResponse + include Google::Apis::Core::Hashable + + # A named range. + # Corresponds to the JSON property `namedRange` + # @return [Google::Apis::SheetsV4::NamedRange] + attr_accessor :named_range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @named_range = args[:named_range] if args.key?(:named_range) + end + end + + # Adds a new protected range. + class AddProtectedRangeRequest + include Google::Apis::Core::Hashable + + # A protected range. + # Corresponds to the JSON property `protectedRange` + # @return [Google::Apis::SheetsV4::ProtectedRange] + attr_accessor :protected_range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @protected_range = args[:protected_range] if args.key?(:protected_range) + end + end + + # The result of adding a new protected range. + class AddProtectedRangeResponse + include Google::Apis::Core::Hashable + + # A protected range. + # Corresponds to the JSON property `protectedRange` + # @return [Google::Apis::SheetsV4::ProtectedRange] + attr_accessor :protected_range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @protected_range = args[:protected_range] if args.key?(:protected_range) + end + end + + # Adds a new sheet. + # When a sheet is added at a given index, + # all subsequent sheets' indexes are incremented. + # To add an object sheet, use AddChartRequest instead and specify + # EmbeddedObjectPosition.sheetId or + # EmbeddedObjectPosition.newSheet. + class AddSheetRequest + include Google::Apis::Core::Hashable + + # Properties of a sheet. + # Corresponds to the JSON property `properties` + # @return [Google::Apis::SheetsV4::SheetProperties] + attr_accessor :properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @properties = args[:properties] if args.key?(:properties) + end + end + + # The result of adding a sheet. + class AddSheetResponse + include Google::Apis::Core::Hashable + + # Properties of a sheet. + # Corresponds to the JSON property `properties` + # @return [Google::Apis::SheetsV4::SheetProperties] + attr_accessor :properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @properties = args[:properties] if args.key?(:properties) end end @@ -1570,1284 +316,6 @@ module Google end end - # Adds a new banded range to the spreadsheet. - class AddBandingRequest - include Google::Apis::Core::Hashable - - # A banded (alternating colors) range in a sheet. - # Corresponds to the JSON property `bandedRange` - # @return [Google::Apis::SheetsV4::BandedRange] - attr_accessor :banded_range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @banded_range = args[:banded_range] if args.key?(:banded_range) - end - end - - # A single response from an update. - class Response - include Google::Apis::Core::Hashable - - # The result of adding a filter view. - # Corresponds to the JSON property `addFilterView` - # @return [Google::Apis::SheetsV4::AddFilterViewResponse] - attr_accessor :add_filter_view - - # The result of adding a banded range. - # Corresponds to the JSON property `addBanding` - # @return [Google::Apis::SheetsV4::AddBandingResponse] - attr_accessor :add_banding - - # The result of adding a new protected range. - # Corresponds to the JSON property `addProtectedRange` - # @return [Google::Apis::SheetsV4::AddProtectedRangeResponse] - attr_accessor :add_protected_range - - # The result of duplicating a sheet. - # Corresponds to the JSON property `duplicateSheet` - # @return [Google::Apis::SheetsV4::DuplicateSheetResponse] - attr_accessor :duplicate_sheet - - # The result of updating an embedded object's position. - # Corresponds to the JSON property `updateEmbeddedObjectPosition` - # @return [Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse] - attr_accessor :update_embedded_object_position - - # The result of deleting a conditional format rule. - # Corresponds to the JSON property `deleteConditionalFormatRule` - # @return [Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse] - attr_accessor :delete_conditional_format_rule - - # The result of a filter view being duplicated. - # Corresponds to the JSON property `duplicateFilterView` - # @return [Google::Apis::SheetsV4::DuplicateFilterViewResponse] - attr_accessor :duplicate_filter_view - - # The result of adding a chart to a spreadsheet. - # Corresponds to the JSON property `addChart` - # @return [Google::Apis::SheetsV4::AddChartResponse] - attr_accessor :add_chart - - # The result of the find/replace. - # Corresponds to the JSON property `findReplace` - # @return [Google::Apis::SheetsV4::FindReplaceResponse] - attr_accessor :find_replace - - # The result of adding a sheet. - # Corresponds to the JSON property `addSheet` - # @return [Google::Apis::SheetsV4::AddSheetResponse] - attr_accessor :add_sheet - - # The result of updating a conditional format rule. - # Corresponds to the JSON property `updateConditionalFormatRule` - # @return [Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse] - attr_accessor :update_conditional_format_rule - - # The result of adding a named range. - # Corresponds to the JSON property `addNamedRange` - # @return [Google::Apis::SheetsV4::AddNamedRangeResponse] - attr_accessor :add_named_range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @add_filter_view = args[:add_filter_view] if args.key?(:add_filter_view) - @add_banding = args[:add_banding] if args.key?(:add_banding) - @add_protected_range = args[:add_protected_range] if args.key?(:add_protected_range) - @duplicate_sheet = args[:duplicate_sheet] if args.key?(:duplicate_sheet) - @update_embedded_object_position = args[:update_embedded_object_position] if args.key?(:update_embedded_object_position) - @delete_conditional_format_rule = args[:delete_conditional_format_rule] if args.key?(:delete_conditional_format_rule) - @duplicate_filter_view = args[:duplicate_filter_view] if args.key?(:duplicate_filter_view) - @add_chart = args[:add_chart] if args.key?(:add_chart) - @find_replace = args[:find_replace] if args.key?(:find_replace) - @add_sheet = args[:add_sheet] if args.key?(:add_sheet) - @update_conditional_format_rule = args[:update_conditional_format_rule] if args.key?(:update_conditional_format_rule) - @add_named_range = args[:add_named_range] if args.key?(:add_named_range) - end - end - - # Inserts cells into a range, shifting the existing cells over or down. - class InsertRangeRequest - include Google::Apis::Core::Hashable - - # The dimension which will be shifted when inserting cells. - # If ROWS, existing cells will be shifted down. - # If COLUMNS, existing cells will be shifted right. - # Corresponds to the JSON property `shiftDimension` - # @return [String] - attr_accessor :shift_dimension - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @shift_dimension = args[:shift_dimension] if args.key?(:shift_dimension) - @range = args[:range] if args.key?(:range) - end - end - - # A run of a text format. The format of this run continues until the start - # index of the next run. - # When updating, all fields must be set. - class TextFormatRun - include Google::Apis::Core::Hashable - - # The format of a run of text in a cell. - # Absent values indicate that the field isn't specified. - # Corresponds to the JSON property `format` - # @return [Google::Apis::SheetsV4::TextFormat] - attr_accessor :format - - # The character index where this run starts. - # Corresponds to the JSON property `startIndex` - # @return [Fixnum] - attr_accessor :start_index - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @format = args[:format] if args.key?(:format) - @start_index = args[:start_index] if args.key?(:start_index) - end - end - - # A chart embedded in a sheet. - class EmbeddedChart - include Google::Apis::Core::Hashable - - # The specifications of a chart. - # Corresponds to the JSON property `spec` - # @return [Google::Apis::SheetsV4::ChartSpec] - attr_accessor :spec - - # The ID of the chart. - # Corresponds to the JSON property `chartId` - # @return [Fixnum] - attr_accessor :chart_id - - # The position of an embedded object such as a chart. - # Corresponds to the JSON property `position` - # @return [Google::Apis::SheetsV4::EmbeddedObjectPosition] - attr_accessor :position - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @spec = args[:spec] if args.key?(:spec) - @chart_id = args[:chart_id] if args.key?(:chart_id) - @position = args[:position] if args.key?(:position) - end - end - - # The result of adding a named range. - class AddNamedRangeResponse - include Google::Apis::Core::Hashable - - # A named range. - # Corresponds to the JSON property `namedRange` - # @return [Google::Apis::SheetsV4::NamedRange] - attr_accessor :named_range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @named_range = args[:named_range] if args.key?(:named_range) - end - end - - # Data about each cell in a row. - class RowData - include Google::Apis::Core::Hashable - - # The values in the row, one per column. - # 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) - @values = args[:values] if args.key?(:values) - end - end - - # A border along a cell. - class Border - include Google::Apis::Core::Hashable - - # The width of the border, in pixels. - # Deprecated; the width is determined by the "style" field. - # Corresponds to the JSON property `width` - # @return [Fixnum] - attr_accessor :width - - # The style of the border. - # Corresponds to the JSON property `style` - # @return [String] - attr_accessor :style - - # 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::SheetsV4::Color] - attr_accessor :color - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @width = args[:width] if args.key?(:width) - @style = args[:style] if args.key?(:style) - @color = args[:color] if args.key?(:color) - end - end - - # Data in the grid, as well as metadata about the dimensions. - class GridData - include Google::Apis::Core::Hashable - - # The data in the grid, one entry per row, - # starting with the row in startRow. - # The values in RowData will correspond to columns starting - # at start_column. - # Corresponds to the JSON property `rowData` - # @return [Array] - attr_accessor :row_data - - # The first row this GridData refers to, zero-based. - # Corresponds to the JSON property `startRow` - # @return [Fixnum] - attr_accessor :start_row - - # Metadata about the requested columns in the grid, starting with the column - # in start_column. - # Corresponds to the JSON property `columnMetadata` - # @return [Array] - attr_accessor :column_metadata - - # The first column this GridData refers to, zero-based. - # Corresponds to the JSON property `startColumn` - # @return [Fixnum] - attr_accessor :start_column - - # Metadata about the requested rows in the grid, starting with the row - # in start_row. - # Corresponds to the JSON property `rowMetadata` - # @return [Array] - attr_accessor :row_metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @row_data = args[:row_data] if args.key?(:row_data) - @start_row = args[:start_row] if args.key?(:start_row) - @column_metadata = args[:column_metadata] if args.key?(:column_metadata) - @start_column = args[:start_column] if args.key?(:start_column) - @row_metadata = args[:row_metadata] if args.key?(:row_metadata) - end - end - - # Updates properties of the named range with the specified - # namedRangeId. - class UpdateNamedRangeRequest - include Google::Apis::Core::Hashable - - # A named range. - # Corresponds to the JSON property `namedRange` - # @return [Google::Apis::SheetsV4::NamedRange] - attr_accessor :named_range - - # The fields that should be updated. At least one field must be specified. - # The root `namedRange` is implied and should not be specified. - # A single `"*"` can be used as short-hand for listing every field. - # Corresponds to the JSON property `fields` - # @return [String] - attr_accessor :fields - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @named_range = args[:named_range] if args.key?(:named_range) - @fields = args[:fields] if args.key?(:fields) - end - end - - # Finds and replaces data in cells over a range, sheet, or all sheets. - class FindReplaceRequest - include Google::Apis::Core::Hashable - - # The value to use as the replacement. - # Corresponds to the JSON property `replacement` - # @return [String] - attr_accessor :replacement - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :range - - # The sheet to find/replace over. - # Corresponds to the JSON property `sheetId` - # @return [Fixnum] - attr_accessor :sheet_id - - # True if the search is case sensitive. - # Corresponds to the JSON property `matchCase` - # @return [Boolean] - attr_accessor :match_case - alias_method :match_case?, :match_case - - # True to find/replace over all sheets. - # Corresponds to the JSON property `allSheets` - # @return [Boolean] - attr_accessor :all_sheets - alias_method :all_sheets?, :all_sheets - - # True if the search should include cells with formulas. - # False to skip cells with formulas. - # Corresponds to the JSON property `includeFormulas` - # @return [Boolean] - attr_accessor :include_formulas - alias_method :include_formulas?, :include_formulas - - # True if the find value should match the entire cell. - # Corresponds to the JSON property `matchEntireCell` - # @return [Boolean] - attr_accessor :match_entire_cell - alias_method :match_entire_cell?, :match_entire_cell - - # True if the find value is a regex. - # The regular expression and replacement should follow Java regex rules - # at https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html. - # The replacement string is allowed to refer to capturing groups. - # For example, if one cell has the contents `"Google Sheets"` and another - # has `"Google Docs"`, then searching for `"o.* (.*)"` with a replacement of - # `"$1 Rocks"` would change the contents of the cells to - # `"GSheets Rocks"` and `"GDocs Rocks"` respectively. - # Corresponds to the JSON property `searchByRegex` - # @return [Boolean] - attr_accessor :search_by_regex - alias_method :search_by_regex?, :search_by_regex - - # The value to search. - # Corresponds to the JSON property `find` - # @return [String] - attr_accessor :find - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @replacement = args[:replacement] if args.key?(:replacement) - @range = args[:range] if args.key?(:range) - @sheet_id = args[:sheet_id] if args.key?(:sheet_id) - @match_case = args[:match_case] if args.key?(:match_case) - @all_sheets = args[:all_sheets] if args.key?(:all_sheets) - @include_formulas = args[:include_formulas] if args.key?(:include_formulas) - @match_entire_cell = args[:match_entire_cell] if args.key?(:match_entire_cell) - @search_by_regex = args[:search_by_regex] if args.key?(:search_by_regex) - @find = args[:find] if args.key?(:find) - end - end - - # Adds a new sheet. - # When a sheet is added at a given index, - # all subsequent sheets' indexes are incremented. - # To add an object sheet, use AddChartRequest instead and specify - # EmbeddedObjectPosition.sheetId or - # EmbeddedObjectPosition.newSheet. - class AddSheetRequest - include Google::Apis::Core::Hashable - - # Properties of a sheet. - # Corresponds to the JSON property `properties` - # @return [Google::Apis::SheetsV4::SheetProperties] - attr_accessor :properties - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @properties = args[:properties] if args.key?(:properties) - end - end - - # Updates all cells in a range with new data. - class UpdateCellsRequest - include Google::Apis::Core::Hashable - - # A coordinate in a sheet. - # All indexes are zero-based. - # Corresponds to the JSON property `start` - # @return [Google::Apis::SheetsV4::GridCoordinate] - attr_accessor :start - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :range - - # The fields of CellData that should be updated. - # At least one field must be specified. - # The root is the CellData; 'row.values.' should not be specified. - # A single `"*"` can be used as short-hand for listing every field. - # Corresponds to the JSON property `fields` - # @return [String] - attr_accessor :fields - - # The data to write. - # Corresponds to the JSON property `rows` - # @return [Array] - attr_accessor :rows - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @start = args[:start] if args.key?(:start) - @range = args[:range] if args.key?(:range) - @fields = args[:fields] if args.key?(:fields) - @rows = args[:rows] if args.key?(:rows) - end - end - - # Randomizes the order of the rows in a range. - class RandomizeRangeRequest - include Google::Apis::Core::Hashable - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @range = args[:range] if args.key?(:range) - end - end - - # The result of deleting a conditional format rule. - class DeleteConditionalFormatRuleResponse - include Google::Apis::Core::Hashable - - # A rule describing a conditional format. - # Corresponds to the JSON property `rule` - # @return [Google::Apis::SheetsV4::ConditionalFormatRule] - attr_accessor :rule - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @rule = args[:rule] if args.key?(:rule) - end - end - - # Deletes a range of cells, shifting other cells into the deleted area. - class DeleteRangeRequest - include Google::Apis::Core::Hashable - - # The dimension from which deleted cells will be replaced with. - # If ROWS, existing cells will be shifted upward to - # replace the deleted cells. If COLUMNS, existing cells - # will be shifted left to replace the deleted cells. - # Corresponds to the JSON property `shiftDimension` - # @return [String] - attr_accessor :shift_dimension - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @shift_dimension = args[:shift_dimension] if args.key?(:shift_dimension) - @range = args[:range] if args.key?(:range) - end - end - - # A coordinate in a sheet. - # All indexes are zero-based. - class GridCoordinate - include Google::Apis::Core::Hashable - - # The column index of the coordinate. - # Corresponds to the JSON property `columnIndex` - # @return [Fixnum] - attr_accessor :column_index - - # The row index of the coordinate. - # Corresponds to the JSON property `rowIndex` - # @return [Fixnum] - attr_accessor :row_index - - # The sheet this coordinate is on. - # Corresponds to the JSON property `sheetId` - # @return [Fixnum] - attr_accessor :sheet_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @column_index = args[:column_index] if args.key?(:column_index) - @row_index = args[:row_index] if args.key?(:row_index) - @sheet_id = args[:sheet_id] if args.key?(:sheet_id) - end - end - - # Updates properties of the sheet with the specified - # sheetId. - class UpdateSheetPropertiesRequest - include Google::Apis::Core::Hashable - - # The fields that should be updated. At least one field must be specified. - # The root `properties` is implied and should not be specified. - # A single `"*"` can be used as short-hand for listing every field. - # Corresponds to the JSON property `fields` - # @return [String] - attr_accessor :fields - - # Properties of a sheet. - # Corresponds to the JSON property `properties` - # @return [Google::Apis::SheetsV4::SheetProperties] - attr_accessor :properties - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @fields = args[:fields] if args.key?(:fields) - @properties = args[:properties] if args.key?(:properties) - end - end - - # Properties of a grid. - class GridProperties - include Google::Apis::Core::Hashable - - # The number of rows in the grid. - # Corresponds to the JSON property `rowCount` - # @return [Fixnum] - attr_accessor :row_count - - # True if the grid isn't showing gridlines in the UI. - # Corresponds to the JSON property `hideGridlines` - # @return [Boolean] - attr_accessor :hide_gridlines - alias_method :hide_gridlines?, :hide_gridlines - - # The number of rows that are frozen in the grid. - # Corresponds to the JSON property `frozenRowCount` - # @return [Fixnum] - attr_accessor :frozen_row_count - - # The number of columns that are frozen in the grid. - # Corresponds to the JSON property `frozenColumnCount` - # @return [Fixnum] - attr_accessor :frozen_column_count - - # The number of columns in the grid. - # Corresponds to the JSON property `columnCount` - # @return [Fixnum] - attr_accessor :column_count - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @row_count = args[:row_count] if args.key?(:row_count) - @hide_gridlines = args[:hide_gridlines] if args.key?(:hide_gridlines) - @frozen_row_count = args[:frozen_row_count] if args.key?(:frozen_row_count) - @frozen_column_count = args[:frozen_column_count] if args.key?(:frozen_column_count) - @column_count = args[:column_count] if args.key?(:column_count) - end - end - - # Unmerges cells in the given range. - class UnmergeCellsRequest - include Google::Apis::Core::Hashable - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @range = args[:range] if args.key?(:range) - end - end - - # A sort order associated with a specific column or row. - class SortSpec - include Google::Apis::Core::Hashable - - # The dimension the sort should be applied to. - # Corresponds to the JSON property `dimensionIndex` - # @return [Fixnum] - attr_accessor :dimension_index - - # The order data should be sorted. - # Corresponds to the JSON property `sortOrder` - # @return [String] - attr_accessor :sort_order - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @dimension_index = args[:dimension_index] if args.key?(:dimension_index) - @sort_order = args[:sort_order] if args.key?(:sort_order) - end - end - - # A sheet in a spreadsheet. - class Sheet - include Google::Apis::Core::Hashable - - # The filter views in this sheet. - # Corresponds to the JSON property `filterViews` - # @return [Array] - attr_accessor :filter_views - - # The protected ranges in this sheet. - # Corresponds to the JSON property `protectedRanges` - # @return [Array] - attr_accessor :protected_ranges - - # The conditional format rules in this sheet. - # Corresponds to the JSON property `conditionalFormats` - # @return [Array] - attr_accessor :conditional_formats - - # The default filter associated with a sheet. - # Corresponds to the JSON property `basicFilter` - # @return [Google::Apis::SheetsV4::BasicFilter] - attr_accessor :basic_filter - - # The ranges that are merged together. - # Corresponds to the JSON property `merges` - # @return [Array] - attr_accessor :merges - - # Data in the grid, if this is a grid sheet. - # The number of GridData objects returned is dependent on the number of - # ranges requested on this sheet. For example, if this is representing - # `Sheet1`, and the spreadsheet was requested with ranges - # `Sheet1!A1:C10` and `Sheet1!D15:E20`, then the first GridData will have a - # startRow/startColumn of `0`, - # while the second one will have `startRow 14` (zero-based row 15), - # and `startColumn 3` (zero-based column D). - # Corresponds to the JSON property `data` - # @return [Array] - attr_accessor :data - - # The banded (i.e. alternating colors) ranges on this sheet. - # Corresponds to the JSON property `bandedRanges` - # @return [Array] - attr_accessor :banded_ranges - - # Properties of a sheet. - # Corresponds to the JSON property `properties` - # @return [Google::Apis::SheetsV4::SheetProperties] - attr_accessor :properties - - # The specifications of every chart on this sheet. - # Corresponds to the JSON property `charts` - # @return [Array] - attr_accessor :charts - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @filter_views = args[:filter_views] if args.key?(:filter_views) - @protected_ranges = args[:protected_ranges] if args.key?(:protected_ranges) - @conditional_formats = args[:conditional_formats] if args.key?(:conditional_formats) - @basic_filter = args[:basic_filter] if args.key?(:basic_filter) - @merges = args[:merges] if args.key?(:merges) - @data = args[:data] if args.key?(:data) - @banded_ranges = args[:banded_ranges] if args.key?(:banded_ranges) - @properties = args[:properties] if args.key?(:properties) - @charts = args[:charts] if args.key?(:charts) - end - end - - # The result of updating an embedded object's position. - class UpdateEmbeddedObjectPositionResponse - include Google::Apis::Core::Hashable - - # The position of an embedded object such as a chart. - # Corresponds to the JSON property `position` - # @return [Google::Apis::SheetsV4::EmbeddedObjectPosition] - attr_accessor :position - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @position = args[:position] if args.key?(:position) - end - end - - # A rule that may or may not match, depending on the condition. - class BooleanRule - include Google::Apis::Core::Hashable - - # A condition that can evaluate to true or false. - # BooleanConditions are used by conditional formatting, - # data validation, and the criteria in filters. - # Corresponds to the JSON property `condition` - # @return [Google::Apis::SheetsV4::BooleanCondition] - attr_accessor :condition - - # The format of a cell. - # Corresponds to the JSON property `format` - # @return [Google::Apis::SheetsV4::CellFormat] - attr_accessor :format - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @condition = args[:condition] if args.key?(:condition) - @format = args[:format] if args.key?(:format) - end - end - - # Criteria for showing/hiding rows in a filter or filter view. - class FilterCriteria - include Google::Apis::Core::Hashable - - # A condition that can evaluate to true or false. - # BooleanConditions are used by conditional formatting, - # data validation, and the criteria in filters. - # Corresponds to the JSON property `condition` - # @return [Google::Apis::SheetsV4::BooleanCondition] - attr_accessor :condition - - # Values that should be hidden. - # Corresponds to the JSON property `hiddenValues` - # @return [Array] - attr_accessor :hidden_values - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @condition = args[:condition] if args.key?(:condition) - @hidden_values = args[:hidden_values] if args.key?(:hidden_values) - end - end - - # Metadata about a value in a pivot grouping. - class PivotGroupValueMetadata - include Google::Apis::Core::Hashable - - # The kinds of value that a cell in a spreadsheet can have. - # Corresponds to the JSON property `value` - # @return [Google::Apis::SheetsV4::ExtendedValue] - attr_accessor :value - - # True if the data corresponding to the value is collapsed. - # Corresponds to the JSON property `collapsed` - # @return [Boolean] - attr_accessor :collapsed - alias_method :collapsed?, :collapsed - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @value = args[:value] if args.key?(:value) - @collapsed = args[:collapsed] if args.key?(:collapsed) - end - end - - # The editors of a protected range. - class Editors - include Google::Apis::Core::Hashable - - # The email addresses of users with edit access to the protected range. - # Corresponds to the JSON property `users` - # @return [Array] - attr_accessor :users - - # True if anyone in the document's domain has edit access to the protected - # range. Domain protection is only supported on documents within a domain. - # Corresponds to the JSON property `domainUsersCanEdit` - # @return [Boolean] - attr_accessor :domain_users_can_edit - alias_method :domain_users_can_edit?, :domain_users_can_edit - - # The email addresses of groups with edit access to the protected range. - # Corresponds to the JSON property `groups` - # @return [Array] - attr_accessor :groups - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @users = args[:users] if args.key?(:users) - @domain_users_can_edit = args[:domain_users_can_edit] if args.key?(:domain_users_can_edit) - @groups = args[:groups] if args.key?(:groups) - end - end - - # Updates a conditional format rule at the given index, - # or moves a conditional format rule to another index. - class UpdateConditionalFormatRuleRequest - include Google::Apis::Core::Hashable - - # The zero-based new index the rule should end up at. - # Corresponds to the JSON property `newIndex` - # @return [Fixnum] - attr_accessor :new_index - - # A rule describing a conditional format. - # Corresponds to the JSON property `rule` - # @return [Google::Apis::SheetsV4::ConditionalFormatRule] - attr_accessor :rule - - # The zero-based index of the rule that should be replaced or moved. - # Corresponds to the JSON property `index` - # @return [Fixnum] - attr_accessor :index - - # The sheet of the rule to move. Required if new_index is set, - # unused otherwise. - # Corresponds to the JSON property `sheetId` - # @return [Fixnum] - attr_accessor :sheet_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @new_index = args[:new_index] if args.key?(:new_index) - @rule = args[:rule] if args.key?(:rule) - @index = args[:index] if args.key?(:index) - @sheet_id = args[:sheet_id] if args.key?(:sheet_id) - end - end - - # The domain of a chart. - # For example, if charting stock prices over time, this would be the date. - class BasicChartDomain - include Google::Apis::Core::Hashable - - # The data included in a domain or series. - # Corresponds to the JSON property `domain` - # @return [Google::Apis::SheetsV4::ChartData] - attr_accessor :domain - - # True to reverse the order of the domain values (horizontal axis). - # Corresponds to the JSON property `reversed` - # @return [Boolean] - attr_accessor :reversed - alias_method :reversed?, :reversed - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @domain = args[:domain] if args.key?(:domain) - @reversed = args[:reversed] if args.key?(:reversed) - end - end - - # A data validation rule. - class DataValidationRule - include Google::Apis::Core::Hashable - - # A condition that can evaluate to true or false. - # BooleanConditions are used by conditional formatting, - # data validation, and the criteria in filters. - # Corresponds to the JSON property `condition` - # @return [Google::Apis::SheetsV4::BooleanCondition] - attr_accessor :condition - - # True if the UI should be customized based on the kind of condition. - # If true, "List" conditions will show a dropdown. - # Corresponds to the JSON property `showCustomUi` - # @return [Boolean] - attr_accessor :show_custom_ui - alias_method :show_custom_ui?, :show_custom_ui - - # True if invalid data should be rejected. - # Corresponds to the JSON property `strict` - # @return [Boolean] - attr_accessor :strict - alias_method :strict?, :strict - - # A message to show the user when adding data to the cell. - # Corresponds to the JSON property `inputMessage` - # @return [String] - attr_accessor :input_message - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @condition = args[:condition] if args.key?(:condition) - @show_custom_ui = args[:show_custom_ui] if args.key?(:show_custom_ui) - @strict = args[:strict] if args.key?(:strict) - @input_message = args[:input_message] if args.key?(:input_message) - end - end - - # Inserts data into the spreadsheet starting at the specified coordinate. - class PasteDataRequest - include Google::Apis::Core::Hashable - - # A coordinate in a sheet. - # All indexes are zero-based. - # Corresponds to the JSON property `coordinate` - # @return [Google::Apis::SheetsV4::GridCoordinate] - attr_accessor :coordinate - - # The delimiter in the data. - # Corresponds to the JSON property `delimiter` - # @return [String] - attr_accessor :delimiter - - # The data to insert. - # Corresponds to the JSON property `data` - # @return [String] - attr_accessor :data - - # How the data should be pasted. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # True if the data is HTML. - # Corresponds to the JSON property `html` - # @return [Boolean] - attr_accessor :html - alias_method :html?, :html - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @coordinate = args[:coordinate] if args.key?(:coordinate) - @delimiter = args[:delimiter] if args.key?(:delimiter) - @data = args[:data] if args.key?(:data) - @type = args[:type] if args.key?(:type) - @html = args[:html] if args.key?(:html) - end - end - # Appends rows or columns to the end of a sheet. class AppendDimensionRequest include Google::Apis::Core::Hashable @@ -2879,1672 +347,14 @@ module Google end end - # Adds a named range to the spreadsheet. - class AddNamedRangeRequest - include Google::Apis::Core::Hashable - - # A named range. - # Corresponds to the JSON property `namedRange` - # @return [Google::Apis::SheetsV4::NamedRange] - attr_accessor :named_range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @named_range = args[:named_range] if args.key?(:named_range) - end - end - - # Update an embedded object's position (such as a moving or resizing a - # chart or image). - class UpdateEmbeddedObjectPositionRequest - include Google::Apis::Core::Hashable - - # The position of an embedded object such as a chart. - # Corresponds to the JSON property `newPosition` - # @return [Google::Apis::SheetsV4::EmbeddedObjectPosition] - attr_accessor :new_position - - # The fields of OverlayPosition - # that should be updated when setting a new position. Used only if - # newPosition.overlayPosition - # is set, in which case at least one field must - # be specified. The root `newPosition.overlayPosition` is implied and - # should not be specified. - # A single `"*"` can be used as short-hand for listing every field. - # Corresponds to the JSON property `fields` - # @return [String] - attr_accessor :fields - - # The ID of the object to moved. - # Corresponds to the JSON property `objectId` - # @return [Fixnum] - attr_accessor :object_id_prop - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @new_position = args[:new_position] if args.key?(:new_position) - @fields = args[:fields] if args.key?(:fields) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - end - end - - # The rotation applied to text in a cell. - class TextRotation - include Google::Apis::Core::Hashable - - # The angle between the standard orientation and the desired orientation. - # Measured in degrees. Valid values are between -90 and 90. Positive - # angles are angled upwards, negative are angled downwards. - # Note: For LTR text direction positive angles are in the counterclockwise - # direction, whereas for RTL they are in the clockwise direction - # Corresponds to the JSON property `angle` - # @return [Fixnum] - attr_accessor :angle - - # If true, text reads top to bottom, but the orientation of individual - # characters is unchanged. - # For example: - # | V | - # | e | - # | r | - # | t | - # | i | - # | c | - # | a | - # | l | - # Corresponds to the JSON property `vertical` - # @return [Boolean] - attr_accessor :vertical - alias_method :vertical?, :vertical - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @angle = args[:angle] if args.key?(:angle) - @vertical = args[:vertical] if args.key?(:vertical) - end - end - - # A pie chart. - class PieChartSpec - include Google::Apis::Core::Hashable - - # The data included in a domain or series. - # Corresponds to the JSON property `series` - # @return [Google::Apis::SheetsV4::ChartData] - attr_accessor :series - - # The size of the hole in the pie chart. - # Corresponds to the JSON property `pieHole` - # @return [Float] - attr_accessor :pie_hole - - # Where the legend of the pie chart should be drawn. - # Corresponds to the JSON property `legendPosition` - # @return [String] - attr_accessor :legend_position - - # True if the pie is three dimensional. - # Corresponds to the JSON property `threeDimensional` - # @return [Boolean] - attr_accessor :three_dimensional - alias_method :three_dimensional?, :three_dimensional - - # The data included in a domain or series. - # Corresponds to the JSON property `domain` - # @return [Google::Apis::SheetsV4::ChartData] - attr_accessor :domain - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @series = args[:series] if args.key?(:series) - @pie_hole = args[:pie_hole] if args.key?(:pie_hole) - @legend_position = args[:legend_position] if args.key?(:legend_position) - @three_dimensional = args[:three_dimensional] if args.key?(:three_dimensional) - @domain = args[:domain] if args.key?(:domain) - end - end - - # Updates properties of the filter view. - class UpdateFilterViewRequest - include Google::Apis::Core::Hashable - - # A filter view. - # Corresponds to the JSON property `filter` - # @return [Google::Apis::SheetsV4::FilterView] - attr_accessor :filter - - # The fields that should be updated. At least one field must be specified. - # The root `filter` is implied and should not be specified. - # A single `"*"` can be used as short-hand for listing every field. - # Corresponds to the JSON property `fields` - # @return [String] - attr_accessor :fields - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @filter = args[:filter] if args.key?(:filter) - @fields = args[:fields] if args.key?(:fields) - end - end - - # A rule describing a conditional format. - class ConditionalFormatRule - include Google::Apis::Core::Hashable - - # The ranges that will be formatted if the condition is true. - # All the ranges must be on the same grid. - # Corresponds to the JSON property `ranges` - # @return [Array] - attr_accessor :ranges - - # A rule that applies a gradient color scale format, based on - # the interpolation points listed. The format of a cell will vary - # based on its contents as compared to the values of the interpolation - # points. - # Corresponds to the JSON property `gradientRule` - # @return [Google::Apis::SheetsV4::GradientRule] - attr_accessor :gradient_rule - - # A rule that may or may not match, depending on the condition. - # Corresponds to the JSON property `booleanRule` - # @return [Google::Apis::SheetsV4::BooleanRule] - attr_accessor :boolean_rule - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ranges = args[:ranges] if args.key?(:ranges) - @gradient_rule = args[:gradient_rule] if args.key?(:gradient_rule) - @boolean_rule = args[:boolean_rule] if args.key?(:boolean_rule) - end - end - - # Copies data from the source to the destination. - class CopyPasteRequest - include Google::Apis::Core::Hashable - - # What kind of data to paste. - # Corresponds to the JSON property `pasteType` - # @return [String] - attr_accessor :paste_type - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `source` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :source - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `destination` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :destination - - # How that data should be oriented when pasting. - # Corresponds to the JSON property `pasteOrientation` - # @return [String] - attr_accessor :paste_orientation - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @paste_type = args[:paste_type] if args.key?(:paste_type) - @source = args[:source] if args.key?(:source) - @destination = args[:destination] if args.key?(:destination) - @paste_orientation = args[:paste_orientation] if args.key?(:paste_orientation) - end - end - - # A single kind of update to apply to a spreadsheet. - class Request - include Google::Apis::Core::Hashable - - # Sorts data in rows based on a sort order per column. - # Corresponds to the JSON property `sortRange` - # @return [Google::Apis::SheetsV4::SortRangeRequest] - attr_accessor :sort_range - - # Deletes the protected range with the given ID. - # Corresponds to the JSON property `deleteProtectedRange` - # @return [Google::Apis::SheetsV4::DeleteProtectedRangeRequest] - attr_accessor :delete_protected_range - - # Duplicates a particular filter view. - # Corresponds to the JSON property `duplicateFilterView` - # @return [Google::Apis::SheetsV4::DuplicateFilterViewRequest] - attr_accessor :duplicate_filter_view - - # Adds a chart to a sheet in the spreadsheet. - # Corresponds to the JSON property `addChart` - # @return [Google::Apis::SheetsV4::AddChartRequest] - attr_accessor :add_chart - - # Finds and replaces data in cells over a range, sheet, or all sheets. - # Corresponds to the JSON property `findReplace` - # @return [Google::Apis::SheetsV4::FindReplaceRequest] - attr_accessor :find_replace - - # Splits a column of text into multiple columns, - # based on a delimiter in each cell. - # Corresponds to the JSON property `textToColumns` - # @return [Google::Apis::SheetsV4::TextToColumnsRequest] - attr_accessor :text_to_columns - - # Updates a chart's specifications. - # (This does not move or resize a chart. To move or resize a chart, use - # UpdateEmbeddedObjectPositionRequest.) - # Corresponds to the JSON property `updateChartSpec` - # @return [Google::Apis::SheetsV4::UpdateChartSpecRequest] - attr_accessor :update_chart_spec - - # Adds a new sheet. - # When a sheet is added at a given index, - # all subsequent sheets' indexes are incremented. - # To add an object sheet, use AddChartRequest instead and specify - # EmbeddedObjectPosition.sheetId or - # EmbeddedObjectPosition.newSheet. - # Corresponds to the JSON property `addSheet` - # @return [Google::Apis::SheetsV4::AddSheetRequest] - attr_accessor :add_sheet - - # Updates an existing protected range with the specified - # protectedRangeId. - # Corresponds to the JSON property `updateProtectedRange` - # @return [Google::Apis::SheetsV4::UpdateProtectedRangeRequest] - attr_accessor :update_protected_range - - # Deletes a particular filter view. - # Corresponds to the JSON property `deleteFilterView` - # @return [Google::Apis::SheetsV4::DeleteFilterViewRequest] - attr_accessor :delete_filter_view - - # Copies data from the source to the destination. - # Corresponds to the JSON property `copyPaste` - # @return [Google::Apis::SheetsV4::CopyPasteRequest] - attr_accessor :copy_paste - - # Inserts rows or columns in a sheet at a particular index. - # Corresponds to the JSON property `insertDimension` - # @return [Google::Apis::SheetsV4::InsertDimensionRequest] - attr_accessor :insert_dimension - - # Deletes a range of cells, shifting other cells into the deleted area. - # Corresponds to the JSON property `deleteRange` - # @return [Google::Apis::SheetsV4::DeleteRangeRequest] - attr_accessor :delete_range - - # Removes the banded range with the given ID from the spreadsheet. - # Corresponds to the JSON property `deleteBanding` - # @return [Google::Apis::SheetsV4::DeleteBandingRequest] - attr_accessor :delete_banding - - # Adds a filter view. - # Corresponds to the JSON property `addFilterView` - # @return [Google::Apis::SheetsV4::AddFilterViewRequest] - attr_accessor :add_filter_view - - # Sets a data validation rule to every cell in the range. - # To clear validation in a range, call this with no rule specified. - # Corresponds to the JSON property `setDataValidation` - # @return [Google::Apis::SheetsV4::SetDataValidationRequest] - attr_accessor :set_data_validation - - # Updates the borders of a range. - # If a field is not set in the request, that means the border remains as-is. - # For example, with two subsequent UpdateBordersRequest: - # 1. range: A1:A5 `` top: RED, bottom: WHITE `` - # 2. range: A1:A5 `` left: BLUE `` - # That would result in A1:A5 having a borders of - # `` top: RED, bottom: WHITE, left: BLUE ``. - # If you want to clear a border, explicitly set the style to - # NONE. - # Corresponds to the JSON property `updateBorders` - # @return [Google::Apis::SheetsV4::UpdateBordersRequest] - attr_accessor :update_borders - - # Deletes a conditional format rule at the given index. - # All subsequent rules' indexes are decremented. - # Corresponds to the JSON property `deleteConditionalFormatRule` - # @return [Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest] - attr_accessor :delete_conditional_format_rule - - # Updates all cells in the range to the values in the given Cell object. - # Only the fields listed in the fields field are updated; others are - # unchanged. - # If writing a cell with a formula, the formula's ranges will automatically - # increment for each field in the range. - # For example, if writing a cell with formula `=A1` into range B2:C4, - # B2 would be `=A1`, B3 would be `=A2`, B4 would be `=A3`, - # C2 would be `=B1`, C3 would be `=B2`, C4 would be `=B3`. - # To keep the formula's ranges static, use the `$` indicator. - # For example, use the formula `=$A$1` to prevent both the row and the - # column from incrementing. - # Corresponds to the JSON property `repeatCell` - # @return [Google::Apis::SheetsV4::RepeatCellRequest] - attr_accessor :repeat_cell - - # Clears the basic filter, if any exists on the sheet. - # Corresponds to the JSON property `clearBasicFilter` - # @return [Google::Apis::SheetsV4::ClearBasicFilterRequest] - attr_accessor :clear_basic_filter - - # Appends rows or columns to the end of a sheet. - # Corresponds to the JSON property `appendDimension` - # @return [Google::Apis::SheetsV4::AppendDimensionRequest] - attr_accessor :append_dimension - - # Updates a conditional format rule at the given index, - # or moves a conditional format rule to another index. - # Corresponds to the JSON property `updateConditionalFormatRule` - # @return [Google::Apis::SheetsV4::UpdateConditionalFormatRuleRequest] - attr_accessor :update_conditional_format_rule - - # Inserts cells into a range, shifting the existing cells over or down. - # Corresponds to the JSON property `insertRange` - # @return [Google::Apis::SheetsV4::InsertRangeRequest] - attr_accessor :insert_range - - # Moves one or more rows or columns. - # Corresponds to the JSON property `moveDimension` - # @return [Google::Apis::SheetsV4::MoveDimensionRequest] - attr_accessor :move_dimension - - # Randomizes the order of the rows in a range. - # Corresponds to the JSON property `randomizeRange` - # @return [Google::Apis::SheetsV4::RandomizeRangeRequest] - attr_accessor :randomize_range - - # Updates properties of the supplied banded range. - # Corresponds to the JSON property `updateBanding` - # @return [Google::Apis::SheetsV4::UpdateBandingRequest] - attr_accessor :update_banding - - # Removes the named range with the given ID from the spreadsheet. - # Corresponds to the JSON property `deleteNamedRange` - # @return [Google::Apis::SheetsV4::DeleteNamedRangeRequest] - attr_accessor :delete_named_range - - # Adds a new protected range. - # Corresponds to the JSON property `addProtectedRange` - # @return [Google::Apis::SheetsV4::AddProtectedRangeRequest] - attr_accessor :add_protected_range - - # Duplicates the contents of a sheet. - # Corresponds to the JSON property `duplicateSheet` - # @return [Google::Apis::SheetsV4::DuplicateSheetRequest] - attr_accessor :duplicate_sheet - - # Deletes the requested sheet. - # Corresponds to the JSON property `deleteSheet` - # @return [Google::Apis::SheetsV4::DeleteSheetRequest] - attr_accessor :delete_sheet - - # Unmerges cells in the given range. - # Corresponds to the JSON property `unmergeCells` - # @return [Google::Apis::SheetsV4::UnmergeCellsRequest] - attr_accessor :unmerge_cells - - # Update an embedded object's position (such as a moving or resizing a - # chart or image). - # Corresponds to the JSON property `updateEmbeddedObjectPosition` - # @return [Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest] - attr_accessor :update_embedded_object_position - - # Updates properties of dimensions within the specified range. - # Corresponds to the JSON property `updateDimensionProperties` - # @return [Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest] - attr_accessor :update_dimension_properties - - # Inserts data into the spreadsheet starting at the specified coordinate. - # Corresponds to the JSON property `pasteData` - # @return [Google::Apis::SheetsV4::PasteDataRequest] - attr_accessor :paste_data - - # Sets the basic filter associated with a sheet. - # Corresponds to the JSON property `setBasicFilter` - # @return [Google::Apis::SheetsV4::SetBasicFilterRequest] - attr_accessor :set_basic_filter - - # Adds a new conditional format rule at the given index. - # All subsequent rules' indexes are incremented. - # Corresponds to the JSON property `addConditionalFormatRule` - # @return [Google::Apis::SheetsV4::AddConditionalFormatRuleRequest] - attr_accessor :add_conditional_format_rule - - # Updates all cells in a range with new data. - # Corresponds to the JSON property `updateCells` - # @return [Google::Apis::SheetsV4::UpdateCellsRequest] - attr_accessor :update_cells - - # Adds a named range to the spreadsheet. - # Corresponds to the JSON property `addNamedRange` - # @return [Google::Apis::SheetsV4::AddNamedRangeRequest] - attr_accessor :add_named_range - - # Updates properties of a spreadsheet. - # Corresponds to the JSON property `updateSpreadsheetProperties` - # @return [Google::Apis::SheetsV4::UpdateSpreadsheetPropertiesRequest] - attr_accessor :update_spreadsheet_properties - - # Deletes the embedded object with the given ID. - # Corresponds to the JSON property `deleteEmbeddedObject` - # @return [Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest] - attr_accessor :delete_embedded_object - - # Updates properties of the filter view. - # Corresponds to the JSON property `updateFilterView` - # @return [Google::Apis::SheetsV4::UpdateFilterViewRequest] - attr_accessor :update_filter_view - - # Adds a new banded range to the spreadsheet. - # Corresponds to the JSON property `addBanding` - # @return [Google::Apis::SheetsV4::AddBandingRequest] - attr_accessor :add_banding - - # Automatically resizes one or more dimensions based on the contents - # of the cells in that dimension. - # Corresponds to the JSON property `autoResizeDimensions` - # @return [Google::Apis::SheetsV4::AutoResizeDimensionsRequest] - attr_accessor :auto_resize_dimensions - - # Adds new cells after the last row with data in a sheet, - # inserting new rows into the sheet if necessary. - # Corresponds to the JSON property `appendCells` - # @return [Google::Apis::SheetsV4::AppendCellsRequest] - attr_accessor :append_cells - - # Moves data from the source to the destination. - # Corresponds to the JSON property `cutPaste` - # @return [Google::Apis::SheetsV4::CutPasteRequest] - attr_accessor :cut_paste - - # Merges all cells in the range. - # Corresponds to the JSON property `mergeCells` - # @return [Google::Apis::SheetsV4::MergeCellsRequest] - attr_accessor :merge_cells - - # Updates properties of the named range with the specified - # namedRangeId. - # Corresponds to the JSON property `updateNamedRange` - # @return [Google::Apis::SheetsV4::UpdateNamedRangeRequest] - attr_accessor :update_named_range - - # Updates properties of the sheet with the specified - # sheetId. - # Corresponds to the JSON property `updateSheetProperties` - # @return [Google::Apis::SheetsV4::UpdateSheetPropertiesRequest] - attr_accessor :update_sheet_properties - - # Deletes the dimensions from the sheet. - # Corresponds to the JSON property `deleteDimension` - # @return [Google::Apis::SheetsV4::DeleteDimensionRequest] - attr_accessor :delete_dimension - - # Fills in more data based on existing data. - # Corresponds to the JSON property `autoFill` - # @return [Google::Apis::SheetsV4::AutoFillRequest] - attr_accessor :auto_fill - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sort_range = args[:sort_range] if args.key?(:sort_range) - @delete_protected_range = args[:delete_protected_range] if args.key?(:delete_protected_range) - @duplicate_filter_view = args[:duplicate_filter_view] if args.key?(:duplicate_filter_view) - @add_chart = args[:add_chart] if args.key?(:add_chart) - @find_replace = args[:find_replace] if args.key?(:find_replace) - @text_to_columns = args[:text_to_columns] if args.key?(:text_to_columns) - @update_chart_spec = args[:update_chart_spec] if args.key?(:update_chart_spec) - @add_sheet = args[:add_sheet] if args.key?(:add_sheet) - @update_protected_range = args[:update_protected_range] if args.key?(:update_protected_range) - @delete_filter_view = args[:delete_filter_view] if args.key?(:delete_filter_view) - @copy_paste = args[:copy_paste] if args.key?(:copy_paste) - @insert_dimension = args[:insert_dimension] if args.key?(:insert_dimension) - @delete_range = args[:delete_range] if args.key?(:delete_range) - @delete_banding = args[:delete_banding] if args.key?(:delete_banding) - @add_filter_view = args[:add_filter_view] if args.key?(:add_filter_view) - @set_data_validation = args[:set_data_validation] if args.key?(:set_data_validation) - @update_borders = args[:update_borders] if args.key?(:update_borders) - @delete_conditional_format_rule = args[:delete_conditional_format_rule] if args.key?(:delete_conditional_format_rule) - @repeat_cell = args[:repeat_cell] if args.key?(:repeat_cell) - @clear_basic_filter = args[:clear_basic_filter] if args.key?(:clear_basic_filter) - @append_dimension = args[:append_dimension] if args.key?(:append_dimension) - @update_conditional_format_rule = args[:update_conditional_format_rule] if args.key?(:update_conditional_format_rule) - @insert_range = args[:insert_range] if args.key?(:insert_range) - @move_dimension = args[:move_dimension] if args.key?(:move_dimension) - @randomize_range = args[:randomize_range] if args.key?(:randomize_range) - @update_banding = args[:update_banding] if args.key?(:update_banding) - @delete_named_range = args[:delete_named_range] if args.key?(:delete_named_range) - @add_protected_range = args[:add_protected_range] if args.key?(:add_protected_range) - @duplicate_sheet = args[:duplicate_sheet] if args.key?(:duplicate_sheet) - @delete_sheet = args[:delete_sheet] if args.key?(:delete_sheet) - @unmerge_cells = args[:unmerge_cells] if args.key?(:unmerge_cells) - @update_embedded_object_position = args[:update_embedded_object_position] if args.key?(:update_embedded_object_position) - @update_dimension_properties = args[:update_dimension_properties] if args.key?(:update_dimension_properties) - @paste_data = args[:paste_data] if args.key?(:paste_data) - @set_basic_filter = args[:set_basic_filter] if args.key?(:set_basic_filter) - @add_conditional_format_rule = args[:add_conditional_format_rule] if args.key?(:add_conditional_format_rule) - @update_cells = args[:update_cells] if args.key?(:update_cells) - @add_named_range = args[:add_named_range] if args.key?(:add_named_range) - @update_spreadsheet_properties = args[:update_spreadsheet_properties] if args.key?(:update_spreadsheet_properties) - @delete_embedded_object = args[:delete_embedded_object] if args.key?(:delete_embedded_object) - @update_filter_view = args[:update_filter_view] if args.key?(:update_filter_view) - @add_banding = args[:add_banding] if args.key?(:add_banding) - @auto_resize_dimensions = args[:auto_resize_dimensions] if args.key?(:auto_resize_dimensions) - @append_cells = args[:append_cells] if args.key?(:append_cells) - @cut_paste = args[:cut_paste] if args.key?(:cut_paste) - @merge_cells = args[:merge_cells] if args.key?(:merge_cells) - @update_named_range = args[:update_named_range] if args.key?(:update_named_range) - @update_sheet_properties = args[:update_sheet_properties] if args.key?(:update_sheet_properties) - @delete_dimension = args[:delete_dimension] if args.key?(:delete_dimension) - @auto_fill = args[:auto_fill] if args.key?(:auto_fill) - end - end - - # A condition that can evaluate to true or false. - # BooleanConditions are used by conditional formatting, - # data validation, and the criteria in filters. - class BooleanCondition - include Google::Apis::Core::Hashable - - # The values of the condition. The number of supported values depends - # on the condition type. Some support zero values, - # others one or two values, - # and ConditionType.ONE_OF_LIST supports an arbitrary number of values. - # Corresponds to the JSON property `values` - # @return [Array] - attr_accessor :values - - # The type of condition. - # 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) - @values = args[:values] if args.key?(:values) - @type = args[:type] if args.key?(:type) - end - end - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - class GridRange - include Google::Apis::Core::Hashable - - # The sheet this range is on. - # Corresponds to the JSON property `sheetId` - # @return [Fixnum] - attr_accessor :sheet_id - - # The end column (exclusive) of the range, or not set if unbounded. - # Corresponds to the JSON property `endColumnIndex` - # @return [Fixnum] - attr_accessor :end_column_index - - # The end row (exclusive) of the range, or not set if unbounded. - # Corresponds to the JSON property `endRowIndex` - # @return [Fixnum] - attr_accessor :end_row_index - - # The start row (inclusive) of the range, or not set if unbounded. - # Corresponds to the JSON property `startRowIndex` - # @return [Fixnum] - attr_accessor :start_row_index - - # The start column (inclusive) of the range, or not set if unbounded. - # Corresponds to the JSON property `startColumnIndex` - # @return [Fixnum] - attr_accessor :start_column_index - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sheet_id = args[:sheet_id] if args.key?(:sheet_id) - @end_column_index = args[:end_column_index] if args.key?(:end_column_index) - @end_row_index = args[:end_row_index] if args.key?(:end_row_index) - @start_row_index = args[:start_row_index] if args.key?(:start_row_index) - @start_column_index = args[:start_column_index] if args.key?(:start_column_index) - end - end - - # The specification for a basic chart. See BasicChartType for the list - # of charts this supports. - class BasicChartSpec - include Google::Apis::Core::Hashable - - # Gets whether all lines should be rendered smooth or straight by default. - # Applies to Line charts. - # Corresponds to the JSON property `lineSmoothing` - # @return [Boolean] - attr_accessor :line_smoothing - alias_method :line_smoothing?, :line_smoothing - - # The number of rows or columns in the data that are "headers". - # If not set, Google Sheets will guess how many rows are headers based - # on the data. - # (Note that BasicChartAxis.title may override the axis title - # inferred from the header values.) - # Corresponds to the JSON property `headerCount` - # @return [Fixnum] - attr_accessor :header_count - - # The stacked type for charts that support vertical stacking. - # Applies to Area, Bar, Column, and Stepped Area charts. - # Corresponds to the JSON property `stackedType` - # @return [String] - attr_accessor :stacked_type - - # The axis on the chart. - # Corresponds to the JSON property `axis` - # @return [Array] - attr_accessor :axis - - # True to make the chart 3D. - # Applies to Bar and Column charts. - # Corresponds to the JSON property `threeDimensional` - # @return [Boolean] - attr_accessor :three_dimensional - alias_method :three_dimensional?, :three_dimensional - - # If some values in a series are missing, gaps may appear in the chart (e.g, - # segments of lines in a line chart will be missing). To eliminate these - # gaps set this to true. - # Applies to Line, Area, and Combo charts. - # Corresponds to the JSON property `interpolateNulls` - # @return [Boolean] - attr_accessor :interpolate_nulls - alias_method :interpolate_nulls?, :interpolate_nulls - - # The type of the chart. - # Corresponds to the JSON property `chartType` - # @return [String] - attr_accessor :chart_type - - # The data this chart is visualizing. - # Corresponds to the JSON property `series` - # @return [Array] - attr_accessor :series - - # The position of the chart legend. - # Corresponds to the JSON property `legendPosition` - # @return [String] - attr_accessor :legend_position - - # The domain of data this is charting. - # Only a single domain is supported. - # Corresponds to the JSON property `domains` - # @return [Array] - attr_accessor :domains - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @line_smoothing = args[:line_smoothing] if args.key?(:line_smoothing) - @header_count = args[:header_count] if args.key?(:header_count) - @stacked_type = args[:stacked_type] if args.key?(:stacked_type) - @axis = args[:axis] if args.key?(:axis) - @three_dimensional = args[:three_dimensional] if args.key?(:three_dimensional) - @interpolate_nulls = args[:interpolate_nulls] if args.key?(:interpolate_nulls) - @chart_type = args[:chart_type] if args.key?(:chart_type) - @series = args[:series] if args.key?(:series) - @legend_position = args[:legend_position] if args.key?(:legend_position) - @domains = args[:domains] if args.key?(:domains) - end - end - - # Sets a data validation rule to every cell in the range. - # To clear validation in a range, call this with no rule specified. - class SetDataValidationRequest - include Google::Apis::Core::Hashable - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :range - - # A data validation rule. - # Corresponds to the JSON property `rule` - # @return [Google::Apis::SheetsV4::DataValidationRule] - attr_accessor :rule - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @range = args[:range] if args.key?(:range) - @rule = args[:rule] if args.key?(:rule) - end - end - - # A bubble chart. - class BubbleChartSpec - include Google::Apis::Core::Hashable - - # The max radius size of the bubbles, in pixels. - # If specified, the field must be a positive value. - # Corresponds to the JSON property `bubbleMaxRadiusSize` - # @return [Fixnum] - attr_accessor :bubble_max_radius_size - - # The data included in a domain or series. - # Corresponds to the JSON property `series` - # @return [Google::Apis::SheetsV4::ChartData] - attr_accessor :series - - # Where the legend of the chart should be drawn. - # Corresponds to the JSON property `legendPosition` - # @return [String] - attr_accessor :legend_position - - # The data included in a domain or series. - # Corresponds to the JSON property `bubbleSizes` - # @return [Google::Apis::SheetsV4::ChartData] - attr_accessor :bubble_sizes - - # The data included in a domain or series. - # Corresponds to the JSON property `domain` - # @return [Google::Apis::SheetsV4::ChartData] - attr_accessor :domain - - # The opacity of the bubbles between 0 and 1.0. - # 0 is fully transparent and 1 is fully opaque. - # Corresponds to the JSON property `bubbleOpacity` - # @return [Float] - attr_accessor :bubble_opacity - - # The format of a run of text in a cell. - # Absent values indicate that the field isn't specified. - # Corresponds to the JSON property `bubbleTextStyle` - # @return [Google::Apis::SheetsV4::TextFormat] - attr_accessor :bubble_text_style - - # 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 `bubbleBorderColor` - # @return [Google::Apis::SheetsV4::Color] - attr_accessor :bubble_border_color - - # The data included in a domain or series. - # Corresponds to the JSON property `groupIds` - # @return [Google::Apis::SheetsV4::ChartData] - attr_accessor :group_ids - - # The data included in a domain or series. - # Corresponds to the JSON property `bubbleLabels` - # @return [Google::Apis::SheetsV4::ChartData] - attr_accessor :bubble_labels - - # The minimum radius size of the bubbles, in pixels. - # If specific, the field must be a positive value. - # Corresponds to the JSON property `bubbleMinRadiusSize` - # @return [Fixnum] - attr_accessor :bubble_min_radius_size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bubble_max_radius_size = args[:bubble_max_radius_size] if args.key?(:bubble_max_radius_size) - @series = args[:series] if args.key?(:series) - @legend_position = args[:legend_position] if args.key?(:legend_position) - @bubble_sizes = args[:bubble_sizes] if args.key?(:bubble_sizes) - @domain = args[:domain] if args.key?(:domain) - @bubble_opacity = args[:bubble_opacity] if args.key?(:bubble_opacity) - @bubble_text_style = args[:bubble_text_style] if args.key?(:bubble_text_style) - @bubble_border_color = args[:bubble_border_color] if args.key?(:bubble_border_color) - @group_ids = args[:group_ids] if args.key?(:group_ids) - @bubble_labels = args[:bubble_labels] if args.key?(:bubble_labels) - @bubble_min_radius_size = args[:bubble_min_radius_size] if args.key?(:bubble_min_radius_size) - end - end - - # Data about a specific cell. - class CellData - include Google::Apis::Core::Hashable - - # A pivot table. - # Corresponds to the JSON property `pivotTable` - # @return [Google::Apis::SheetsV4::PivotTable] - attr_accessor :pivot_table - - # The format of a cell. - # Corresponds to the JSON property `userEnteredFormat` - # @return [Google::Apis::SheetsV4::CellFormat] - attr_accessor :user_entered_format - - # Any note on the cell. - # Corresponds to the JSON property `note` - # @return [String] - attr_accessor :note - - # The format of a cell. - # Corresponds to the JSON property `effectiveFormat` - # @return [Google::Apis::SheetsV4::CellFormat] - attr_accessor :effective_format - - # A data validation rule. - # Corresponds to the JSON property `dataValidation` - # @return [Google::Apis::SheetsV4::DataValidationRule] - attr_accessor :data_validation - - # The kinds of value that a cell in a spreadsheet can have. - # Corresponds to the JSON property `userEnteredValue` - # @return [Google::Apis::SheetsV4::ExtendedValue] - attr_accessor :user_entered_value - - # The kinds of value that a cell in a spreadsheet can have. - # Corresponds to the JSON property `effectiveValue` - # @return [Google::Apis::SheetsV4::ExtendedValue] - attr_accessor :effective_value - - # Runs of rich text applied to subsections of the cell. Runs are only valid - # on user entered strings, not formulas, bools, or numbers. - # Runs start at specific indexes in the text and continue until the next - # run. Properties of a run will continue unless explicitly changed - # in a subsequent run (and properties of the first run will continue - # the properties of the cell unless explicitly changed). - # When writing, the new runs will overwrite any prior runs. When writing a - # new user_entered_value, previous runs will be erased. - # Corresponds to the JSON property `textFormatRuns` - # @return [Array] - attr_accessor :text_format_runs - - # The formatted value of the cell. - # This is the value as it's shown to the user. - # This field is read-only. - # Corresponds to the JSON property `formattedValue` - # @return [String] - attr_accessor :formatted_value - - # A hyperlink this cell points to, if any. - # This field is read-only. (To set it, use a `=HYPERLINK` formula - # in the userEnteredValue.formulaValue - # field.) - # Corresponds to the JSON property `hyperlink` - # @return [String] - attr_accessor :hyperlink - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @pivot_table = args[:pivot_table] if args.key?(:pivot_table) - @user_entered_format = args[:user_entered_format] if args.key?(:user_entered_format) - @note = args[:note] if args.key?(:note) - @effective_format = args[:effective_format] if args.key?(:effective_format) - @data_validation = args[:data_validation] if args.key?(:data_validation) - @user_entered_value = args[:user_entered_value] if args.key?(:user_entered_value) - @effective_value = args[:effective_value] if args.key?(:effective_value) - @text_format_runs = args[:text_format_runs] if args.key?(:text_format_runs) - @formatted_value = args[:formatted_value] if args.key?(:formatted_value) - @hyperlink = args[:hyperlink] if args.key?(:hyperlink) - end - end - - # The request for updating any aspect of a spreadsheet. - class BatchUpdateSpreadsheetRequest - include Google::Apis::Core::Hashable - - # True if grid data should be returned. Meaningful only if - # if include_spreadsheet_response is 'true'. - # This parameter is ignored if a field mask was set in the request. - # Corresponds to the JSON property `responseIncludeGridData` - # @return [Boolean] - attr_accessor :response_include_grid_data - alias_method :response_include_grid_data?, :response_include_grid_data - - # Limits the ranges included in the response spreadsheet. - # Meaningful only if include_spreadsheet_response is 'true'. - # Corresponds to the JSON property `responseRanges` - # @return [Array] - attr_accessor :response_ranges - - # Determines if the update response should include the spreadsheet - # resource. - # Corresponds to the JSON property `includeSpreadsheetInResponse` - # @return [Boolean] - attr_accessor :include_spreadsheet_in_response - alias_method :include_spreadsheet_in_response?, :include_spreadsheet_in_response - - # A list of updates to apply to the spreadsheet. - # Requests will be applied in the order they are specified. - # If any request is not valid, no requests will be applied. - # 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) - @response_include_grid_data = args[:response_include_grid_data] if args.key?(:response_include_grid_data) - @response_ranges = args[:response_ranges] if args.key?(:response_ranges) - @include_spreadsheet_in_response = args[:include_spreadsheet_in_response] if args.key?(:include_spreadsheet_in_response) - @requests = args[:requests] if args.key?(:requests) - end - end - - # The amount of padding around the cell, in pixels. - # When updating padding, every field must be specified. - class Padding - include Google::Apis::Core::Hashable - - # The right padding of the cell. - # Corresponds to the JSON property `right` - # @return [Fixnum] - attr_accessor :right - - # The bottom padding of the cell. - # Corresponds to the JSON property `bottom` - # @return [Fixnum] - attr_accessor :bottom - - # The top padding of the cell. - # Corresponds to the JSON property `top` - # @return [Fixnum] - attr_accessor :top - - # The left padding of the cell. - # Corresponds to the JSON property `left` - # @return [Fixnum] - attr_accessor :left - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @right = args[:right] if args.key?(:right) - @bottom = args[:bottom] if args.key?(:bottom) - @top = args[:top] if args.key?(:top) - @left = args[:left] if args.key?(:left) - end - end - - # An axis of the chart. - # A chart may not have more than one axis per - # axis position. - class BasicChartAxis - include Google::Apis::Core::Hashable - - # The format of a run of text in a cell. - # Absent values indicate that the field isn't specified. - # Corresponds to the JSON property `format` - # @return [Google::Apis::SheetsV4::TextFormat] - attr_accessor :format - - # The title of this axis. If set, this overrides any title inferred - # from headers of the data. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # The position of this axis. - # Corresponds to the JSON property `position` - # @return [String] - attr_accessor :position - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @format = args[:format] if args.key?(:format) - @title = args[:title] if args.key?(:title) - @position = args[:position] if args.key?(:position) - end - end - - # Deletes the dimensions from the sheet. - class DeleteDimensionRequest - include Google::Apis::Core::Hashable - - # A range along a single dimension on a sheet. - # All indexes are zero-based. - # Indexes are half open: the start index is inclusive - # and the end index is exclusive. - # Missing indexes indicate the range is unbounded on that side. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::DimensionRange] - attr_accessor :range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @range = args[:range] if args.key?(:range) - end - end - - # Updates a chart's specifications. - # (This does not move or resize a chart. To move or resize a chart, use - # UpdateEmbeddedObjectPositionRequest.) - class UpdateChartSpecRequest - include Google::Apis::Core::Hashable - - # The specifications of a chart. - # Corresponds to the JSON property `spec` - # @return [Google::Apis::SheetsV4::ChartSpec] - attr_accessor :spec - - # The ID of the chart to update. - # Corresponds to the JSON property `chartId` - # @return [Fixnum] - attr_accessor :chart_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @spec = args[:spec] if args.key?(:spec) - @chart_id = args[:chart_id] if args.key?(:chart_id) - end - end - - # Deletes a particular filter view. - class DeleteFilterViewRequest - include Google::Apis::Core::Hashable - - # The ID of the filter to delete. - # Corresponds to the JSON property `filterId` - # @return [Fixnum] - attr_accessor :filter_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @filter_id = args[:filter_id] if args.key?(:filter_id) - end - end - - # The response when updating a range of values in a spreadsheet. - class BatchUpdateValuesResponse - include Google::Apis::Core::Hashable - - # The spreadsheet the updates were applied to. - # Corresponds to the JSON property `spreadsheetId` - # @return [String] - attr_accessor :spreadsheet_id - - # The total number of rows where at least one cell in the row was updated. - # Corresponds to the JSON property `totalUpdatedRows` - # @return [Fixnum] - attr_accessor :total_updated_rows - - # One UpdateValuesResponse per requested range, in the same order as - # the requests appeared. - # Corresponds to the JSON property `responses` - # @return [Array] - attr_accessor :responses - - # The total number of sheets where at least one cell in the sheet was - # updated. - # Corresponds to the JSON property `totalUpdatedSheets` - # @return [Fixnum] - attr_accessor :total_updated_sheets - - # The total number of cells updated. - # Corresponds to the JSON property `totalUpdatedCells` - # @return [Fixnum] - attr_accessor :total_updated_cells - - # The total number of columns where at least one cell in the column was - # updated. - # Corresponds to the JSON property `totalUpdatedColumns` - # @return [Fixnum] - attr_accessor :total_updated_columns - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) - @total_updated_rows = args[:total_updated_rows] if args.key?(:total_updated_rows) - @responses = args[:responses] if args.key?(:responses) - @total_updated_sheets = args[:total_updated_sheets] if args.key?(:total_updated_sheets) - @total_updated_cells = args[:total_updated_cells] if args.key?(:total_updated_cells) - @total_updated_columns = args[:total_updated_columns] if args.key?(:total_updated_columns) - end - end - - # Sorts data in rows based on a sort order per column. - class SortRangeRequest - include Google::Apis::Core::Hashable - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :range - - # The sort order per column. Later specifications are used when values - # are equal in the earlier specifications. - # Corresponds to the JSON property `sortSpecs` - # @return [Array] - attr_accessor :sort_specs - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @range = args[:range] if args.key?(:range) - @sort_specs = args[:sort_specs] if args.key?(:sort_specs) - end - end - - # Merges all cells in the range. - class MergeCellsRequest - include Google::Apis::Core::Hashable - - # How the cells should be merged. - # Corresponds to the JSON property `mergeType` - # @return [String] - attr_accessor :merge_type - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @merge_type = args[:merge_type] if args.key?(:merge_type) - @range = args[:range] if args.key?(:range) - end - end - - # Adds a new protected range. - class AddProtectedRangeRequest - include Google::Apis::Core::Hashable - - # A protected range. - # Corresponds to the JSON property `protectedRange` - # @return [Google::Apis::SheetsV4::ProtectedRange] - attr_accessor :protected_range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @protected_range = args[:protected_range] if args.key?(:protected_range) - end - end - - # The request for clearing more than one range of values in a spreadsheet. - class BatchClearValuesRequest - include Google::Apis::Core::Hashable - - # The ranges to clear, in A1 notation. - # Corresponds to the JSON property `ranges` - # @return [Array] - attr_accessor :ranges - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ranges = args[:ranges] if args.key?(:ranges) - end - end - - # The result of a filter view being duplicated. - class DuplicateFilterViewResponse - include Google::Apis::Core::Hashable - - # A filter view. - # Corresponds to the JSON property `filter` - # @return [Google::Apis::SheetsV4::FilterView] - attr_accessor :filter - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @filter = args[:filter] if args.key?(:filter) - end - end - - # The result of duplicating a sheet. - class DuplicateSheetResponse - include Google::Apis::Core::Hashable - - # Properties of a sheet. - # Corresponds to the JSON property `properties` - # @return [Google::Apis::SheetsV4::SheetProperties] - attr_accessor :properties - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @properties = args[:properties] if args.key?(:properties) - end - end - - # Splits a column of text into multiple columns, - # based on a delimiter in each cell. - class TextToColumnsRequest - include Google::Apis::Core::Hashable - - # The delimiter to use. Used only if delimiterType is - # CUSTOM. - # Corresponds to the JSON property `delimiter` - # @return [String] - attr_accessor :delimiter - - # The delimiter type to use. - # Corresponds to the JSON property `delimiterType` - # @return [String] - attr_accessor :delimiter_type - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `source` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :source - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @delimiter = args[:delimiter] if args.key?(:delimiter) - @delimiter_type = args[:delimiter_type] if args.key?(:delimiter_type) - @source = args[:source] if args.key?(:source) - end - end - - # Clears the basic filter, if any exists on the sheet. - class ClearBasicFilterRequest - include Google::Apis::Core::Hashable - - # The sheet ID on which the basic filter should be cleared. - # Corresponds to the JSON property `sheetId` - # @return [Fixnum] - attr_accessor :sheet_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sheet_id = args[:sheet_id] if args.key?(:sheet_id) - end - end - - # The reply for batch updating a spreadsheet. - class BatchUpdateSpreadsheetResponse - include Google::Apis::Core::Hashable - - # Resource that represents a spreadsheet. - # Corresponds to the JSON property `updatedSpreadsheet` - # @return [Google::Apis::SheetsV4::Spreadsheet] - attr_accessor :updated_spreadsheet - - # The reply of the updates. This maps 1:1 with the updates, although - # replies to some requests may be empty. - # Corresponds to the JSON property `replies` - # @return [Array] - attr_accessor :replies - - # The spreadsheet the updates were applied to. - # Corresponds to the JSON property `spreadsheetId` - # @return [String] - attr_accessor :spreadsheet_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @updated_spreadsheet = args[:updated_spreadsheet] if args.key?(:updated_spreadsheet) - @replies = args[:replies] if args.key?(:replies) - @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) - end - end - - # Removes the banded range with the given ID from the spreadsheet. - class DeleteBandingRequest - include Google::Apis::Core::Hashable - - # The ID of the banded range to delete. - # Corresponds to the JSON property `bandedRangeId` - # @return [Fixnum] - attr_accessor :banded_range_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @banded_range_id = args[:banded_range_id] if args.key?(:banded_range_id) - end - end - # The response when updating a range of values in a spreadsheet. class AppendValuesResponse include Google::Apis::Core::Hashable - # The response when updating a range of values in a spreadsheet. - # Corresponds to the JSON property `updates` - # @return [Google::Apis::SheetsV4::UpdateValuesResponse] - attr_accessor :updates + # The spreadsheet the updates were applied to. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id # The range (in A1 notation) of the table that values are being appended to # (before the values were appended). @@ -4553,10 +363,10 @@ module Google # @return [String] attr_accessor :table_range - # The spreadsheet the updates were applied to. - # Corresponds to the JSON property `spreadsheetId` - # @return [String] - attr_accessor :spreadsheet_id + # The response when updating a range of values in a spreadsheet. + # Corresponds to the JSON property `updates` + # @return [Google::Apis::SheetsV4::UpdateValuesResponse] + attr_accessor :updates def initialize(**args) update!(**args) @@ -4564,921 +374,16 @@ module Google # Update properties of this object def update!(**args) - @updates = args[:updates] if args.key?(:updates) - @table_range = args[:table_range] if args.key?(:table_range) @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + @table_range = args[:table_range] if args.key?(:table_range) + @updates = args[:updates] if args.key?(:updates) end end - # Moves one or more rows or columns. - class MoveDimensionRequest + # Fills in more data based on existing data. + class AutoFillRequest include Google::Apis::Core::Hashable - # The zero-based start index of where to move the source data to, - # based on the coordinates *before* the source data is removed - # from the grid. Existing data will be shifted down or right - # (depending on the dimension) to make room for the moved dimensions. - # The source dimensions are removed from the grid, so the - # the data may end up in a different index than specified. - # For example, given `A1..A5` of `0, 1, 2, 3, 4` and wanting to move - # `"1"` and `"2"` to between `"3"` and `"4"`, the source would be - # `ROWS [1..3)`,and the destination index would be `"4"` - # (the zero-based index of row 5). - # The end result would be `A1..A5` of `0, 3, 1, 2, 4`. - # Corresponds to the JSON property `destinationIndex` - # @return [Fixnum] - attr_accessor :destination_index - - # A range along a single dimension on a sheet. - # All indexes are zero-based. - # Indexes are half open: the start index is inclusive - # and the end index is exclusive. - # Missing indexes indicate the range is unbounded on that side. - # Corresponds to the JSON property `source` - # @return [Google::Apis::SheetsV4::DimensionRange] - attr_accessor :source - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @destination_index = args[:destination_index] if args.key?(:destination_index) - @source = args[:source] if args.key?(:source) - end - end - - # Criteria for showing/hiding rows in a pivot table. - class PivotFilterCriteria - include Google::Apis::Core::Hashable - - # Values that should be included. Values not listed here are excluded. - # Corresponds to the JSON property `visibleValues` - # @return [Array] - attr_accessor :visible_values - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @visible_values = args[:visible_values] if args.key?(:visible_values) - end - end - - # Adds a filter view. - class AddFilterViewRequest - include Google::Apis::Core::Hashable - - # A filter view. - # Corresponds to the JSON property `filter` - # @return [Google::Apis::SheetsV4::FilterView] - attr_accessor :filter - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @filter = args[:filter] if args.key?(:filter) - end - end - - # Adds a new conditional format rule at the given index. - # All subsequent rules' indexes are incremented. - class AddConditionalFormatRuleRequest - include Google::Apis::Core::Hashable - - # A rule describing a conditional format. - # Corresponds to the JSON property `rule` - # @return [Google::Apis::SheetsV4::ConditionalFormatRule] - attr_accessor :rule - - # The zero-based index where the rule should be inserted. - # Corresponds to the JSON property `index` - # @return [Fixnum] - attr_accessor :index - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @rule = args[:rule] if args.key?(:rule) - @index = args[:index] if args.key?(:index) - end - end - - # The specifications of a chart. - class ChartSpec - include Google::Apis::Core::Hashable - - # The title of the chart. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # A histogram chart. - # A histogram chart groups data items into bins, displaying each bin as a - # column of stacked items. Histograms are used to display the distribution - # of a dataset. Each column of items represents a range into which those - # items fall. The number of bins can be chosen automatically or specified - # explicitly. - # Corresponds to the JSON property `histogramChart` - # @return [Google::Apis::SheetsV4::HistogramChartSpec] - attr_accessor :histogram_chart - - # A candlestick chart< - # /a>. - # Corresponds to the JSON property `candlestickChart` - # @return [Google::Apis::SheetsV4::CandlestickChartSpec] - attr_accessor :candlestick_chart - - # A bubble chart. - # Corresponds to the JSON property `bubbleChart` - # @return [Google::Apis::SheetsV4::BubbleChartSpec] - attr_accessor :bubble_chart - - # The name of the font to use by default for all chart text (e.g. title, - # axis labels, legend). If a font is specified for a specific part of the - # chart it will override this font name. - # Corresponds to the JSON property `fontName` - # @return [String] - attr_accessor :font_name - - # True to make a chart fill the entire space in which it's rendered with - # minimum padding. False to use the default padding. - # (Not applicable to Geo and Org charts.) - # Corresponds to the JSON property `maximized` - # @return [Boolean] - attr_accessor :maximized - alias_method :maximized?, :maximized - - # Determines how the charts will use hidden rows or columns. - # Corresponds to the JSON property `hiddenDimensionStrategy` - # @return [String] - attr_accessor :hidden_dimension_strategy - - # 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 `backgroundColor` - # @return [Google::Apis::SheetsV4::Color] - attr_accessor :background_color - - # The specification for a basic chart. See BasicChartType for the list - # of charts this supports. - # Corresponds to the JSON property `basicChart` - # @return [Google::Apis::SheetsV4::BasicChartSpec] - attr_accessor :basic_chart - - # An org chart. - # Org charts require a unique set of labels in labels and may - # optionally include parent_labels and tooltips. - # parent_labels contain, for each node, the label identifying the parent - # node. tooltips contain, for each node, an optional tooltip. - # For example, to describe an OrgChart with Alice as the CEO, Bob as the - # President (reporting to Alice) and Cathy as VP of Sales (also reporting to - # Alice), have labels contain "Alice", "Bob", "Cathy", - # parent_labels contain "", "Alice", "Alice" and tooltips contain - # "CEO", "President", "VP Sales". - # Corresponds to the JSON property `orgChart` - # @return [Google::Apis::SheetsV4::OrgChartSpec] - attr_accessor :org_chart - - # A pie chart. - # Corresponds to the JSON property `pieChart` - # @return [Google::Apis::SheetsV4::PieChartSpec] - attr_accessor :pie_chart - - # The format of a run of text in a cell. - # Absent values indicate that the field isn't specified. - # Corresponds to the JSON property `titleTextFormat` - # @return [Google::Apis::SheetsV4::TextFormat] - attr_accessor :title_text_format - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @title = args[:title] if args.key?(:title) - @histogram_chart = args[:histogram_chart] if args.key?(:histogram_chart) - @candlestick_chart = args[:candlestick_chart] if args.key?(:candlestick_chart) - @bubble_chart = args[:bubble_chart] if args.key?(:bubble_chart) - @font_name = args[:font_name] if args.key?(:font_name) - @maximized = args[:maximized] if args.key?(:maximized) - @hidden_dimension_strategy = args[:hidden_dimension_strategy] if args.key?(:hidden_dimension_strategy) - @background_color = args[:background_color] if args.key?(:background_color) - @basic_chart = args[:basic_chart] if args.key?(:basic_chart) - @org_chart = args[:org_chart] if args.key?(:org_chart) - @pie_chart = args[:pie_chart] if args.key?(:pie_chart) - @title_text_format = args[:title_text_format] if args.key?(:title_text_format) - end - end - - # The number format of a cell. - class NumberFormat - include Google::Apis::Core::Hashable - - # Pattern string used for formatting. If not set, a default pattern based on - # the user's locale will be used if necessary for the given type. - # See the [Date and Number Formats guide](/sheets/api/guides/formats) for more - # information about the supported patterns. - # Corresponds to the JSON property `pattern` - # @return [String] - attr_accessor :pattern - - # The type of the number format. - # When writing, this field must be set. - # 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) - @pattern = args[:pattern] if args.key?(:pattern) - @type = args[:type] if args.key?(:type) - end - end - - # The domain of a CandlestickChart. - class CandlestickDomain - include Google::Apis::Core::Hashable - - # True to reverse the order of the domain values (horizontal axis). - # Corresponds to the JSON property `reversed` - # @return [Boolean] - attr_accessor :reversed - alias_method :reversed?, :reversed - - # The data included in a domain or series. - # Corresponds to the JSON property `data` - # @return [Google::Apis::SheetsV4::ChartData] - attr_accessor :data - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @reversed = args[:reversed] if args.key?(:reversed) - @data = args[:data] if args.key?(:data) - end - end - - # Properties of a sheet. - class SheetProperties - include Google::Apis::Core::Hashable - - # 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 `tabColor` - # @return [Google::Apis::SheetsV4::Color] - attr_accessor :tab_color - - # The index of the sheet within the spreadsheet. - # When adding or updating sheet properties, if this field - # is excluded then the sheet will be added or moved to the end - # of the sheet list. When updating sheet indices or inserting - # sheets, movement is considered in "before the move" indexes. - # For example, if there were 3 sheets (S1, S2, S3) in order to - # move S1 ahead of S2 the index would have to be set to 2. A sheet - # index update request will be ignored if the requested index is - # identical to the sheets current index or if the requested new - # index is equal to the current sheet index + 1. - # Corresponds to the JSON property `index` - # @return [Fixnum] - attr_accessor :index - - # The ID of the sheet. Must be non-negative. - # This field cannot be changed once set. - # Corresponds to the JSON property `sheetId` - # @return [Fixnum] - attr_accessor :sheet_id - - # True if the sheet is an RTL sheet instead of an LTR sheet. - # Corresponds to the JSON property `rightToLeft` - # @return [Boolean] - attr_accessor :right_to_left - alias_method :right_to_left?, :right_to_left - - # True if the sheet is hidden in the UI, false if it's visible. - # Corresponds to the JSON property `hidden` - # @return [Boolean] - attr_accessor :hidden - alias_method :hidden?, :hidden - - # The type of sheet. Defaults to GRID. - # This field cannot be changed once set. - # Corresponds to the JSON property `sheetType` - # @return [String] - attr_accessor :sheet_type - - # Properties of a grid. - # Corresponds to the JSON property `gridProperties` - # @return [Google::Apis::SheetsV4::GridProperties] - attr_accessor :grid_properties - - # The name of the sheet. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @tab_color = args[:tab_color] if args.key?(:tab_color) - @index = args[:index] if args.key?(:index) - @sheet_id = args[:sheet_id] if args.key?(:sheet_id) - @right_to_left = args[:right_to_left] if args.key?(:right_to_left) - @hidden = args[:hidden] if args.key?(:hidden) - @sheet_type = args[:sheet_type] if args.key?(:sheet_type) - @grid_properties = args[:grid_properties] if args.key?(:grid_properties) - @title = args[:title] if args.key?(:title) - end - end - - # Updates properties of dimensions within the specified range. - class UpdateDimensionPropertiesRequest - include Google::Apis::Core::Hashable - - # Properties about a dimension. - # Corresponds to the JSON property `properties` - # @return [Google::Apis::SheetsV4::DimensionProperties] - attr_accessor :properties - - # A range along a single dimension on a sheet. - # All indexes are zero-based. - # Indexes are half open: the start index is inclusive - # and the end index is exclusive. - # Missing indexes indicate the range is unbounded on that side. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::DimensionRange] - attr_accessor :range - - # The fields that should be updated. At least one field must be specified. - # The root `properties` is implied and should not be specified. - # A single `"*"` can be used as short-hand for listing every field. - # Corresponds to the JSON property `fields` - # @return [String] - attr_accessor :fields - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @properties = args[:properties] if args.key?(:properties) - @range = args[:range] if args.key?(:range) - @fields = args[:fields] if args.key?(:fields) - end - end - - # A combination of a source range and how to extend that source. - class SourceAndDestination - include Google::Apis::Core::Hashable - - # The number of rows or columns that data should be filled into. - # Positive numbers expand beyond the last row or last column - # of the source. Negative numbers expand before the first row - # or first column of the source. - # Corresponds to the JSON property `fillLength` - # @return [Fixnum] - attr_accessor :fill_length - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `source` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :source - - # The dimension that data should be filled into. - # Corresponds to the JSON property `dimension` - # @return [String] - attr_accessor :dimension - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @fill_length = args[:fill_length] if args.key?(:fill_length) - @source = args[:source] if args.key?(:source) - @dimension = args[:dimension] if args.key?(:dimension) - end - end - - # An org chart. - # Org charts require a unique set of labels in labels and may - # optionally include parent_labels and tooltips. - # parent_labels contain, for each node, the label identifying the parent - # node. tooltips contain, for each node, an optional tooltip. - # For example, to describe an OrgChart with Alice as the CEO, Bob as the - # President (reporting to Alice) and Cathy as VP of Sales (also reporting to - # Alice), have labels contain "Alice", "Bob", "Cathy", - # parent_labels contain "", "Alice", "Alice" and tooltips contain - # "CEO", "President", "VP Sales". - class OrgChartSpec - include Google::Apis::Core::Hashable - - # 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 `nodeColor` - # @return [Google::Apis::SheetsV4::Color] - attr_accessor :node_color - - # The data included in a domain or series. - # Corresponds to the JSON property `tooltips` - # @return [Google::Apis::SheetsV4::ChartData] - attr_accessor :tooltips - - # 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 `selectedNodeColor` - # @return [Google::Apis::SheetsV4::Color] - attr_accessor :selected_node_color - - # The data included in a domain or series. - # Corresponds to the JSON property `parentLabels` - # @return [Google::Apis::SheetsV4::ChartData] - attr_accessor :parent_labels - - # The data included in a domain or series. - # Corresponds to the JSON property `labels` - # @return [Google::Apis::SheetsV4::ChartData] - attr_accessor :labels - - # The size of the org chart nodes. - # Corresponds to the JSON property `nodeSize` - # @return [String] - attr_accessor :node_size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @node_color = args[:node_color] if args.key?(:node_color) - @tooltips = args[:tooltips] if args.key?(:tooltips) - @selected_node_color = args[:selected_node_color] if args.key?(:selected_node_color) - @parent_labels = args[:parent_labels] if args.key?(:parent_labels) - @labels = args[:labels] if args.key?(:labels) - @node_size = args[:node_size] if args.key?(:node_size) - end - end - - # A filter view. - class FilterView - include Google::Apis::Core::Hashable - - # The named range this filter view is backed by, if any. - # When writing, only one of range or named_range_id - # may be set. - # Corresponds to the JSON property `namedRangeId` - # @return [String] - attr_accessor :named_range_id - - # The ID of the filter view. - # Corresponds to the JSON property `filterViewId` - # @return [Fixnum] - attr_accessor :filter_view_id - - # The criteria for showing/hiding values per column. - # The map's key is the column index, and the value is the criteria for - # that column. - # Corresponds to the JSON property `criteria` - # @return [Hash] - attr_accessor :criteria - - # The name of the filter view. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - # A range on a sheet. # All indexes are zero-based. # Indexes are half open, e.g the start index is inclusive @@ -5505,11 +410,17 @@ module Google # @return [Google::Apis::SheetsV4::GridRange] attr_accessor :range - # The sort order per column. Later specifications are used when values - # are equal in the earlier specifications. - # Corresponds to the JSON property `sortSpecs` - # @return [Array] - attr_accessor :sort_specs + # A combination of a source range and how to extend that source. + # Corresponds to the JSON property `sourceAndDestination` + # @return [Google::Apis::SheetsV4::SourceAndDestination] + attr_accessor :source_and_destination + + # True if we should generate data with the "alternate" series. + # This differs based on the type and amount of source data. + # Corresponds to the JSON property `useAlternateSeries` + # @return [Boolean] + attr_accessor :use_alternate_series + alias_method :use_alternate_series?, :use_alternate_series def initialize(**args) update!(**args) @@ -5517,12 +428,111 @@ module Google # Update properties of this object def update!(**args) - @named_range_id = args[:named_range_id] if args.key?(:named_range_id) - @filter_view_id = args[:filter_view_id] if args.key?(:filter_view_id) - @criteria = args[:criteria] if args.key?(:criteria) - @title = args[:title] if args.key?(:title) @range = args[:range] if args.key?(:range) - @sort_specs = args[:sort_specs] if args.key?(:sort_specs) + @source_and_destination = args[:source_and_destination] if args.key?(:source_and_destination) + @use_alternate_series = args[:use_alternate_series] if args.key?(:use_alternate_series) + end + end + + # Automatically resizes one or more dimensions based on the contents + # of the cells in that dimension. + class AutoResizeDimensionsRequest + include Google::Apis::Core::Hashable + + # A range along a single dimension on a sheet. + # All indexes are zero-based. + # Indexes are half open: the start index is inclusive + # and the end index is exclusive. + # Missing indexes indicate the range is unbounded on that side. + # Corresponds to the JSON property `dimensions` + # @return [Google::Apis::SheetsV4::DimensionRange] + attr_accessor :dimensions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dimensions = args[:dimensions] if args.key?(:dimensions) + end + end + + # A banded (alternating colors) range in a sheet. + class BandedRange + include Google::Apis::Core::Hashable + + # The id of the banded range. + # Corresponds to the JSON property `bandedRangeId` + # @return [Fixnum] + attr_accessor :banded_range_id + + # Properties referring a single dimension (either row or column). If both + # BandedRange.row_properties and BandedRange.column_properties are + # set, the fill colors are applied to cells according to the following rules: + # * header_color and footer_color take priority over band colors. + # * first_band_color takes priority over second_band_color. + # * row_properties takes priority over column_properties. + # For example, the first row color takes priority over the first column + # color, but the first column color takes priority over the second row color. + # Similarly, the row header takes priority over the column header in the + # top left cell, but the column header takes priority over the first row + # color if the row header is not set. + # Corresponds to the JSON property `columnProperties` + # @return [Google::Apis::SheetsV4::BandingProperties] + attr_accessor :column_properties + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + # Properties referring a single dimension (either row or column). If both + # BandedRange.row_properties and BandedRange.column_properties are + # set, the fill colors are applied to cells according to the following rules: + # * header_color and footer_color take priority over band colors. + # * first_band_color takes priority over second_band_color. + # * row_properties takes priority over column_properties. + # For example, the first row color takes priority over the first column + # color, but the first column color takes priority over the second row color. + # Similarly, the row header takes priority over the column header in the + # top left cell, but the column header takes priority over the first row + # color if the row header is not set. + # Corresponds to the JSON property `rowProperties` + # @return [Google::Apis::SheetsV4::BandingProperties] + attr_accessor :row_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @banded_range_id = args[:banded_range_id] if args.key?(:banded_range_id) + @column_properties = args[:column_properties] if args.key?(:column_properties) + @range = args[:range] if args.key?(:range) + @row_properties = args[:row_properties] if args.key?(:row_properties) end end @@ -5639,9 +649,9 @@ module Google # return resultBuilder.join(''); # `; # // ... - # Corresponds to the JSON property `secondBandColor` + # Corresponds to the JSON property `firstBandColor` # @return [Google::Apis::SheetsV4::Color] - attr_accessor :second_band_color + attr_accessor :first_band_color # Represents a color in the RGBA color space. This representation is designed # for simplicity of conversion to/from color representations in various @@ -5948,9 +958,9 @@ module Google # return resultBuilder.join(''); # `; # // ... - # Corresponds to the JSON property `firstBandColor` + # Corresponds to the JSON property `secondBandColor` # @return [Google::Apis::SheetsV4::Color] - attr_accessor :first_band_color + attr_accessor :second_band_color def initialize(**args) update!(**args) @@ -5958,21 +968,35 @@ module Google # Update properties of this object def update!(**args) - @second_band_color = args[:second_band_color] if args.key?(:second_band_color) + @first_band_color = args[:first_band_color] if args.key?(:first_band_color) @footer_color = args[:footer_color] if args.key?(:footer_color) @header_color = args[:header_color] if args.key?(:header_color) - @first_band_color = args[:first_band_color] if args.key?(:first_band_color) + @second_band_color = args[:second_band_color] if args.key?(:second_band_color) end end - # The series of a CandlestickData. - class CandlestickSeries + # An axis of the chart. + # A chart may not have more than one axis per + # axis position. + class BasicChartAxis include Google::Apis::Core::Hashable - # The data included in a domain or series. - # Corresponds to the JSON property `data` - # @return [Google::Apis::SheetsV4::ChartData] - attr_accessor :data + # The format of a run of text in a cell. + # Absent values indicate that the field isn't specified. + # Corresponds to the JSON property `format` + # @return [Google::Apis::SheetsV4::TextFormat] + attr_accessor :format + + # The position of this axis. + # Corresponds to the JSON property `position` + # @return [String] + attr_accessor :position + + # The title of this axis. If set, this overrides any title inferred + # from headers of the data. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title def initialize(**args) update!(**args) @@ -5980,7 +1004,168 @@ module Google # Update properties of this object def update!(**args) - @data = args[:data] if args.key?(:data) + @format = args[:format] if args.key?(:format) + @position = args[:position] if args.key?(:position) + @title = args[:title] if args.key?(:title) + end + end + + # The domain of a chart. + # For example, if charting stock prices over time, this would be the date. + class BasicChartDomain + include Google::Apis::Core::Hashable + + # The data included in a domain or series. + # Corresponds to the JSON property `domain` + # @return [Google::Apis::SheetsV4::ChartData] + attr_accessor :domain + + # True to reverse the order of the domain values (horizontal axis). + # Corresponds to the JSON property `reversed` + # @return [Boolean] + attr_accessor :reversed + alias_method :reversed?, :reversed + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @domain = args[:domain] if args.key?(:domain) + @reversed = args[:reversed] if args.key?(:reversed) + end + end + + # A single series of data in a chart. + # For example, if charting stock prices over time, multiple series may exist, + # one for the "Open Price", "High Price", "Low Price" and "Close Price". + class BasicChartSeries + include Google::Apis::Core::Hashable + + # The data included in a domain or series. + # Corresponds to the JSON property `series` + # @return [Google::Apis::SheetsV4::ChartData] + attr_accessor :series + + # The minor axis that will specify the range of values for this series. + # For example, if charting stocks over time, the "Volume" series + # may want to be pinned to the right with the prices pinned to the left, + # because the scale of trading volume is different than the scale of + # prices. + # It is an error to specify an axis that isn't a valid minor axis + # for the chart's type. + # Corresponds to the JSON property `targetAxis` + # @return [String] + attr_accessor :target_axis + + # The type of this series. Valid only if the + # chartType is + # COMBO. + # Different types will change the way the series is visualized. + # Only LINE, AREA, + # and COLUMN are supported. + # 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) + @series = args[:series] if args.key?(:series) + @target_axis = args[:target_axis] if args.key?(:target_axis) + @type = args[:type] if args.key?(:type) + end + end + + # The specification for a basic chart. See BasicChartType for the list + # of charts this supports. + class BasicChartSpec + include Google::Apis::Core::Hashable + + # The axis on the chart. + # Corresponds to the JSON property `axis` + # @return [Array] + attr_accessor :axis + + # The type of the chart. + # Corresponds to the JSON property `chartType` + # @return [String] + attr_accessor :chart_type + + # The domain of data this is charting. + # Only a single domain is supported. + # Corresponds to the JSON property `domains` + # @return [Array] + attr_accessor :domains + + # The number of rows or columns in the data that are "headers". + # If not set, Google Sheets will guess how many rows are headers based + # on the data. + # (Note that BasicChartAxis.title may override the axis title + # inferred from the header values.) + # Corresponds to the JSON property `headerCount` + # @return [Fixnum] + attr_accessor :header_count + + # If some values in a series are missing, gaps may appear in the chart (e.g, + # segments of lines in a line chart will be missing). To eliminate these + # gaps set this to true. + # Applies to Line, Area, and Combo charts. + # Corresponds to the JSON property `interpolateNulls` + # @return [Boolean] + attr_accessor :interpolate_nulls + alias_method :interpolate_nulls?, :interpolate_nulls + + # The position of the chart legend. + # Corresponds to the JSON property `legendPosition` + # @return [String] + attr_accessor :legend_position + + # Gets whether all lines should be rendered smooth or straight by default. + # Applies to Line charts. + # Corresponds to the JSON property `lineSmoothing` + # @return [Boolean] + attr_accessor :line_smoothing + alias_method :line_smoothing?, :line_smoothing + + # The data this chart is visualizing. + # Corresponds to the JSON property `series` + # @return [Array] + attr_accessor :series + + # The stacked type for charts that support vertical stacking. + # Applies to Area, Bar, Column, and Stepped Area charts. + # Corresponds to the JSON property `stackedType` + # @return [String] + attr_accessor :stacked_type + + # True to make the chart 3D. + # Applies to Bar and Column charts. + # Corresponds to the JSON property `threeDimensional` + # @return [Boolean] + attr_accessor :three_dimensional + alias_method :three_dimensional?, :three_dimensional + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @axis = args[:axis] if args.key?(:axis) + @chart_type = args[:chart_type] if args.key?(:chart_type) + @domains = args[:domains] if args.key?(:domains) + @header_count = args[:header_count] if args.key?(:header_count) + @interpolate_nulls = args[:interpolate_nulls] if args.key?(:interpolate_nulls) + @legend_position = args[:legend_position] if args.key?(:legend_position) + @line_smoothing = args[:line_smoothing] if args.key?(:line_smoothing) + @series = args[:series] if args.key?(:series) + @stacked_type = args[:stacked_type] if args.key?(:stacked_type) + @three_dimensional = args[:three_dimensional] if args.key?(:three_dimensional) end end @@ -5988,12 +1173,6 @@ module Google class BasicFilter include Google::Apis::Core::Hashable - # The sort order per column. Later specifications are used when values - # are equal in the earlier specifications. - # Corresponds to the JSON property `sortSpecs` - # @return [Array] - attr_accessor :sort_specs - # The criteria for showing/hiding values per column. # The map's key is the column index, and the value is the criteria for # that column. @@ -6027,26 +1206,32 @@ module Google # @return [Google::Apis::SheetsV4::GridRange] attr_accessor :range + # The sort order per column. Later specifications are used when values + # are equal in the earlier specifications. + # Corresponds to the JSON property `sortSpecs` + # @return [Array] + attr_accessor :sort_specs + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @sort_specs = args[:sort_specs] if args.key?(:sort_specs) @criteria = args[:criteria] if args.key?(:criteria) @range = args[:range] if args.key?(:range) + @sort_specs = args[:sort_specs] if args.key?(:sort_specs) end end - # The result of adding a new protected range. - class AddProtectedRangeResponse + # The request for clearing more than one range of values in a spreadsheet. + class BatchClearValuesRequest include Google::Apis::Core::Hashable - # A protected range. - # Corresponds to the JSON property `protectedRange` - # @return [Google::Apis::SheetsV4::ProtectedRange] - attr_accessor :protected_range + # The ranges to clear, in A1 notation. + # Corresponds to the JSON property `ranges` + # @return [Array] + attr_accessor :ranges def initialize(**args) update!(**args) @@ -6054,104 +1239,52 @@ module Google # Update properties of this object def update!(**args) - @protected_range = args[:protected_range] if args.key?(:protected_range) + @ranges = args[:ranges] if args.key?(:ranges) end end - # A histogram chart. - # A histogram chart groups data items into bins, displaying each bin as a - # column of stacked items. Histograms are used to display the distribution - # of a dataset. Each column of items represents a range into which those - # items fall. The number of bins can be chosen automatically or specified - # explicitly. - class HistogramChartSpec + # The response when clearing a range of values in a spreadsheet. + class BatchClearValuesResponse include Google::Apis::Core::Hashable - # The outlier percentile is used to ensure that outliers do not adversely - # affect the calculation of bucket sizes. For example, setting an outlier - # percentile of 0.05 indicates that the top and bottom 5% of values when - # calculating buckets. The values are still included in the chart, they will - # be added to the first or last buckets instead of their own buckets. - # Must be between 0.0 and 0.5. - # Corresponds to the JSON property `outlierPercentile` - # @return [Float] - attr_accessor :outlier_percentile - - # Whether horizontal divider lines should be displayed between items in each - # column. - # Corresponds to the JSON property `showItemDividers` - # @return [Boolean] - attr_accessor :show_item_dividers - alias_method :show_item_dividers?, :show_item_dividers - - # The series for a histogram may be either a single series of values to be - # bucketed or multiple series, each of the same length, containing the name - # of the series followed by the values to be bucketed for that series. - # Corresponds to the JSON property `series` - # @return [Array] - attr_accessor :series - - # The position of the chart legend. - # Corresponds to the JSON property `legendPosition` - # @return [String] - attr_accessor :legend_position - - # By default the bucket size (the range of values stacked in a single - # column) is chosen automatically, but it may be overridden here. - # E.g., A bucket size of 1.5 results in buckets from 0 - 1.5, 1.5 - 3.0, etc. - # Cannot be negative. - # This field is optional. - # Corresponds to the JSON property `bucketSize` - # @return [Float] - attr_accessor :bucket_size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @outlier_percentile = args[:outlier_percentile] if args.key?(:outlier_percentile) - @show_item_dividers = args[:show_item_dividers] if args.key?(:show_item_dividers) - @series = args[:series] if args.key?(:series) - @legend_position = args[:legend_position] if args.key?(:legend_position) - @bucket_size = args[:bucket_size] if args.key?(:bucket_size) - end - end - - # The response when updating a range of values in a spreadsheet. - class UpdateValuesResponse - include Google::Apis::Core::Hashable - - # Data within a range of the spreadsheet. - # Corresponds to the JSON property `updatedData` - # @return [Google::Apis::SheetsV4::ValueRange] - attr_accessor :updated_data - - # The number of rows where at least one cell in the row was updated. - # Corresponds to the JSON property `updatedRows` - # @return [Fixnum] - attr_accessor :updated_rows - - # The number of columns where at least one cell in the column was updated. - # Corresponds to the JSON property `updatedColumns` - # @return [Fixnum] - attr_accessor :updated_columns + # The ranges that were cleared, in A1 notation. + # (If the requests were for an unbounded range or a ranger larger + # than the bounds of the sheet, this will be the actual ranges + # that were cleared, bounded to the sheet's limits.) + # Corresponds to the JSON property `clearedRanges` + # @return [Array] + attr_accessor :cleared_ranges # The spreadsheet the updates were applied to. # Corresponds to the JSON property `spreadsheetId` # @return [String] attr_accessor :spreadsheet_id - # The range (in A1 notation) that updates were applied to. - # Corresponds to the JSON property `updatedRange` - # @return [String] - attr_accessor :updated_range + def initialize(**args) + update!(**args) + end - # The number of cells updated. - # Corresponds to the JSON property `updatedCells` - # @return [Fixnum] - attr_accessor :updated_cells + # Update properties of this object + def update!(**args) + @cleared_ranges = args[:cleared_ranges] if args.key?(:cleared_ranges) + @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + end + end + + # The response when retrieving more than one range of values in a spreadsheet. + class BatchGetValuesResponse + include Google::Apis::Core::Hashable + + # The ID of the spreadsheet the data was retrieved from. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id + + # The requested values. The order of the ValueRanges is the same as the + # order of the requested ranges. + # Corresponds to the JSON property `valueRanges` + # @return [Array] + attr_accessor :value_ranges def initialize(**args) update!(**args) @@ -6159,74 +1292,369 @@ module Google # Update properties of this object def update!(**args) - @updated_data = args[:updated_data] if args.key?(:updated_data) - @updated_rows = args[:updated_rows] if args.key?(:updated_rows) - @updated_columns = args[:updated_columns] if args.key?(:updated_columns) @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) - @updated_range = args[:updated_range] if args.key?(:updated_range) - @updated_cells = args[:updated_cells] if args.key?(:updated_cells) + @value_ranges = args[:value_ranges] if args.key?(:value_ranges) end end - # An error in a cell. - class ErrorValue + # The request for updating any aspect of a spreadsheet. + class BatchUpdateSpreadsheetRequest include Google::Apis::Core::Hashable - # A message with more information about the error - # (in the spreadsheet's locale). - # Corresponds to the JSON property `message` - # @return [String] - attr_accessor :message + # Determines if the update response should include the spreadsheet + # resource. + # Corresponds to the JSON property `includeSpreadsheetInResponse` + # @return [Boolean] + attr_accessor :include_spreadsheet_in_response + alias_method :include_spreadsheet_in_response?, :include_spreadsheet_in_response - # The type of error. + # A list of updates to apply to the spreadsheet. + # Requests will be applied in the order they are specified. + # If any request is not valid, no requests will be applied. + # Corresponds to the JSON property `requests` + # @return [Array] + attr_accessor :requests + + # True if grid data should be returned. Meaningful only if + # if include_spreadsheet_response is 'true'. + # This parameter is ignored if a field mask was set in the request. + # Corresponds to the JSON property `responseIncludeGridData` + # @return [Boolean] + attr_accessor :response_include_grid_data + alias_method :response_include_grid_data?, :response_include_grid_data + + # Limits the ranges included in the response spreadsheet. + # Meaningful only if include_spreadsheet_response is 'true'. + # Corresponds to the JSON property `responseRanges` + # @return [Array] + attr_accessor :response_ranges + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @include_spreadsheet_in_response = args[:include_spreadsheet_in_response] if args.key?(:include_spreadsheet_in_response) + @requests = args[:requests] if args.key?(:requests) + @response_include_grid_data = args[:response_include_grid_data] if args.key?(:response_include_grid_data) + @response_ranges = args[:response_ranges] if args.key?(:response_ranges) + end + end + + # The reply for batch updating a spreadsheet. + class BatchUpdateSpreadsheetResponse + include Google::Apis::Core::Hashable + + # The reply of the updates. This maps 1:1 with the updates, although + # replies to some requests may be empty. + # Corresponds to the JSON property `replies` + # @return [Array] + attr_accessor :replies + + # The spreadsheet the updates were applied to. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id + + # Resource that represents a spreadsheet. + # Corresponds to the JSON property `updatedSpreadsheet` + # @return [Google::Apis::SheetsV4::Spreadsheet] + attr_accessor :updated_spreadsheet + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @replies = args[:replies] if args.key?(:replies) + @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + @updated_spreadsheet = args[:updated_spreadsheet] if args.key?(:updated_spreadsheet) + end + end + + # The request for updating more than one range of values in a spreadsheet. + class BatchUpdateValuesRequest + include Google::Apis::Core::Hashable + + # The new values to apply to the spreadsheet. + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # Determines if the update response should include the values + # of the cells that were updated. By default, responses + # do not include the updated values. The `updatedData` field within + # each of the BatchUpdateValuesResponse.responses will contain + # the updated values. If the range to write was larger than than the range + # actually written, the response will include all values in the requested + # range (excluding trailing empty rows and columns). + # Corresponds to the JSON property `includeValuesInResponse` + # @return [Boolean] + attr_accessor :include_values_in_response + alias_method :include_values_in_response?, :include_values_in_response + + # Determines how dates, times, and durations in the response should be + # rendered. This is ignored if response_value_render_option is + # FORMATTED_VALUE. + # The default dateTime render option is + # DateTimeRenderOption.SERIAL_NUMBER. + # Corresponds to the JSON property `responseDateTimeRenderOption` + # @return [String] + attr_accessor :response_date_time_render_option + + # Determines how values in the response should be rendered. + # The default render option is ValueRenderOption.FORMATTED_VALUE. + # Corresponds to the JSON property `responseValueRenderOption` + # @return [String] + attr_accessor :response_value_render_option + + # How the input data should be interpreted. + # Corresponds to the JSON property `valueInputOption` + # @return [String] + attr_accessor :value_input_option + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data = args[:data] if args.key?(:data) + @include_values_in_response = args[:include_values_in_response] if args.key?(:include_values_in_response) + @response_date_time_render_option = args[:response_date_time_render_option] if args.key?(:response_date_time_render_option) + @response_value_render_option = args[:response_value_render_option] if args.key?(:response_value_render_option) + @value_input_option = args[:value_input_option] if args.key?(:value_input_option) + end + end + + # The response when updating a range of values in a spreadsheet. + class BatchUpdateValuesResponse + include Google::Apis::Core::Hashable + + # One UpdateValuesResponse per requested range, in the same order as + # the requests appeared. + # Corresponds to the JSON property `responses` + # @return [Array] + attr_accessor :responses + + # The spreadsheet the updates were applied to. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id + + # The total number of cells updated. + # Corresponds to the JSON property `totalUpdatedCells` + # @return [Fixnum] + attr_accessor :total_updated_cells + + # The total number of columns where at least one cell in the column was + # updated. + # Corresponds to the JSON property `totalUpdatedColumns` + # @return [Fixnum] + attr_accessor :total_updated_columns + + # The total number of rows where at least one cell in the row was updated. + # Corresponds to the JSON property `totalUpdatedRows` + # @return [Fixnum] + attr_accessor :total_updated_rows + + # The total number of sheets where at least one cell in the sheet was + # updated. + # Corresponds to the JSON property `totalUpdatedSheets` + # @return [Fixnum] + attr_accessor :total_updated_sheets + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @responses = args[:responses] if args.key?(:responses) + @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + @total_updated_cells = args[:total_updated_cells] if args.key?(:total_updated_cells) + @total_updated_columns = args[:total_updated_columns] if args.key?(:total_updated_columns) + @total_updated_rows = args[:total_updated_rows] if args.key?(:total_updated_rows) + @total_updated_sheets = args[:total_updated_sheets] if args.key?(:total_updated_sheets) + end + end + + # A condition that can evaluate to true or false. + # BooleanConditions are used by conditional formatting, + # data validation, and the criteria in filters. + class BooleanCondition + include Google::Apis::Core::Hashable + + # The type of condition. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type + # The values of the condition. The number of supported values depends + # on the condition type. Some support zero values, + # others one or two values, + # and ConditionType.ONE_OF_LIST supports an arbitrary number of values. + # 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) - @message = args[:message] if args.key?(:message) @type = args[:type] if args.key?(:type) + @values = args[:values] if args.key?(:values) end end - # The definition of how a value in a pivot table should be calculated. - class PivotValue + # A rule that may or may not match, depending on the condition. + class BooleanRule include Google::Apis::Core::Hashable - # A custom formula to calculate the value. The formula must start - # with an `=` character. - # Corresponds to the JSON property `formula` - # @return [String] - attr_accessor :formula + # A condition that can evaluate to true or false. + # BooleanConditions are used by conditional formatting, + # data validation, and the criteria in filters. + # Corresponds to the JSON property `condition` + # @return [Google::Apis::SheetsV4::BooleanCondition] + attr_accessor :condition - # A function to summarize the value. - # If formula is set, the only supported values are - # SUM and - # CUSTOM. - # If sourceColumnOffset is set, then `CUSTOM` - # is not supported. - # Corresponds to the JSON property `summarizeFunction` - # @return [String] - attr_accessor :summarize_function + # The format of a cell. + # Corresponds to the JSON property `format` + # @return [Google::Apis::SheetsV4::CellFormat] + attr_accessor :format - # The column offset of the source range that this value reads from. - # For example, if the source was `C10:E15`, a `sourceColumnOffset` of `0` - # means this value refers to column `C`, whereas the offset `1` would - # refer to column `D`. - # Corresponds to the JSON property `sourceColumnOffset` + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @condition = args[:condition] if args.key?(:condition) + @format = args[:format] if args.key?(:format) + end + end + + # A border along a cell. + class Border + include Google::Apis::Core::Hashable + + # 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::SheetsV4::Color] + attr_accessor :color + + # The style of the border. + # Corresponds to the JSON property `style` + # @return [String] + attr_accessor :style + + # The width of the border, in pixels. + # Deprecated; the width is determined by the "style" field. + # Corresponds to the JSON property `width` # @return [Fixnum] - attr_accessor :source_column_offset - - # A name to use for the value. This is only used if formula was set. - # Otherwise, the column name is used. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name + attr_accessor :width def initialize(**args) update!(**args) @@ -6234,21 +1662,35 @@ module Google # Update properties of this object def update!(**args) - @formula = args[:formula] if args.key?(:formula) - @summarize_function = args[:summarize_function] if args.key?(:summarize_function) - @source_column_offset = args[:source_column_offset] if args.key?(:source_column_offset) - @name = args[:name] if args.key?(:name) + @color = args[:color] if args.key?(:color) + @style = args[:style] if args.key?(:style) + @width = args[:width] if args.key?(:width) end end - # The request to copy a sheet across spreadsheets. - class CopySheetToAnotherSpreadsheetRequest + # The borders of the cell. + class Borders include Google::Apis::Core::Hashable - # The ID of the spreadsheet to copy the sheet to. - # Corresponds to the JSON property `destinationSpreadsheetId` - # @return [String] - attr_accessor :destination_spreadsheet_id + # A border along a cell. + # Corresponds to the JSON property `bottom` + # @return [Google::Apis::SheetsV4::Border] + attr_accessor :bottom + + # A border along a cell. + # Corresponds to the JSON property `left` + # @return [Google::Apis::SheetsV4::Border] + attr_accessor :left + + # A border along a cell. + # Corresponds to the JSON property `right` + # @return [Google::Apis::SheetsV4::Border] + attr_accessor :right + + # A border along a cell. + # Corresponds to the JSON property `top` + # @return [Google::Apis::SheetsV4::Border] + attr_accessor :top def initialize(**args) update!(**args) @@ -6256,31 +1698,173 @@ module Google # Update properties of this object def update!(**args) - @destination_spreadsheet_id = args[:destination_spreadsheet_id] if args.key?(:destination_spreadsheet_id) + @bottom = args[:bottom] if args.key?(:bottom) + @left = args[:left] if args.key?(:left) + @right = args[:right] if args.key?(:right) + @top = args[:top] if args.key?(:top) end end - # Information about which values in a pivot group should be used for sorting. - class PivotGroupSortValueBucket + # A bubble chart. + class BubbleChartSpec include Google::Apis::Core::Hashable - # Determines the bucket from which values are chosen to sort. - # For example, in a pivot table with one row group & two column groups, - # the row group can list up to two values. The first value corresponds - # to a value within the first column group, and the second value - # corresponds to a value in the second column group. If no values - # are listed, this would indicate that the row should be sorted according - # to the "Grand Total" over the column groups. If a single value is listed, - # this would correspond to using the "Total" of that bucket. - # Corresponds to the JSON property `buckets` - # @return [Array] - attr_accessor :buckets + # 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 `bubbleBorderColor` + # @return [Google::Apis::SheetsV4::Color] + attr_accessor :bubble_border_color - # The offset in the PivotTable.values list which the values in this - # grouping should be sorted by. - # Corresponds to the JSON property `valuesIndex` + # The data included in a domain or series. + # Corresponds to the JSON property `bubbleLabels` + # @return [Google::Apis::SheetsV4::ChartData] + attr_accessor :bubble_labels + + # The max radius size of the bubbles, in pixels. + # If specified, the field must be a positive value. + # Corresponds to the JSON property `bubbleMaxRadiusSize` # @return [Fixnum] - attr_accessor :values_index + attr_accessor :bubble_max_radius_size + + # The minimum radius size of the bubbles, in pixels. + # If specific, the field must be a positive value. + # Corresponds to the JSON property `bubbleMinRadiusSize` + # @return [Fixnum] + attr_accessor :bubble_min_radius_size + + # The opacity of the bubbles between 0 and 1.0. + # 0 is fully transparent and 1 is fully opaque. + # Corresponds to the JSON property `bubbleOpacity` + # @return [Float] + attr_accessor :bubble_opacity + + # The data included in a domain or series. + # Corresponds to the JSON property `bubbleSizes` + # @return [Google::Apis::SheetsV4::ChartData] + attr_accessor :bubble_sizes + + # The format of a run of text in a cell. + # Absent values indicate that the field isn't specified. + # Corresponds to the JSON property `bubbleTextStyle` + # @return [Google::Apis::SheetsV4::TextFormat] + attr_accessor :bubble_text_style + + # The data included in a domain or series. + # Corresponds to the JSON property `domain` + # @return [Google::Apis::SheetsV4::ChartData] + attr_accessor :domain + + # The data included in a domain or series. + # Corresponds to the JSON property `groupIds` + # @return [Google::Apis::SheetsV4::ChartData] + attr_accessor :group_ids + + # Where the legend of the chart should be drawn. + # Corresponds to the JSON property `legendPosition` + # @return [String] + attr_accessor :legend_position + + # The data included in a domain or series. + # Corresponds to the JSON property `series` + # @return [Google::Apis::SheetsV4::ChartData] + attr_accessor :series def initialize(**args) update!(**args) @@ -6288,8 +1872,17 @@ module Google # Update properties of this object def update!(**args) - @buckets = args[:buckets] if args.key?(:buckets) - @values_index = args[:values_index] if args.key?(:values_index) + @bubble_border_color = args[:bubble_border_color] if args.key?(:bubble_border_color) + @bubble_labels = args[:bubble_labels] if args.key?(:bubble_labels) + @bubble_max_radius_size = args[:bubble_max_radius_size] if args.key?(:bubble_max_radius_size) + @bubble_min_radius_size = args[:bubble_min_radius_size] if args.key?(:bubble_min_radius_size) + @bubble_opacity = args[:bubble_opacity] if args.key?(:bubble_opacity) + @bubble_sizes = args[:bubble_sizes] if args.key?(:bubble_sizes) + @bubble_text_style = args[:bubble_text_style] if args.key?(:bubble_text_style) + @domain = args[:domain] if args.key?(:domain) + @group_ids = args[:group_ids] if args.key?(:group_ids) + @legend_position = args[:legend_position] if args.key?(:legend_position) + @series = args[:series] if args.key?(:series) end end @@ -6330,6 +1923,11 @@ module Google # @return [Google::Apis::SheetsV4::CandlestickSeries] attr_accessor :close_series + # The series of a CandlestickData. + # Corresponds to the JSON property `highSeries` + # @return [Google::Apis::SheetsV4::CandlestickSeries] + attr_accessor :high_series + # The series of a CandlestickData. # Corresponds to the JSON property `lowSeries` # @return [Google::Apis::SheetsV4::CandlestickSeries] @@ -6340,11 +1938,6 @@ module Google # @return [Google::Apis::SheetsV4::CandlestickSeries] attr_accessor :open_series - # The series of a CandlestickData. - # Corresponds to the JSON property `highSeries` - # @return [Google::Apis::SheetsV4::CandlestickSeries] - attr_accessor :high_series - def initialize(**args) update!(**args) end @@ -6352,9 +1945,1515 @@ module Google # Update properties of this object def update!(**args) @close_series = args[:close_series] if args.key?(:close_series) + @high_series = args[:high_series] if args.key?(:high_series) @low_series = args[:low_series] if args.key?(:low_series) @open_series = args[:open_series] if args.key?(:open_series) - @high_series = args[:high_series] if args.key?(:high_series) + end + end + + # The domain of a CandlestickChart. + class CandlestickDomain + include Google::Apis::Core::Hashable + + # The data included in a domain or series. + # Corresponds to the JSON property `data` + # @return [Google::Apis::SheetsV4::ChartData] + attr_accessor :data + + # True to reverse the order of the domain values (horizontal axis). + # Corresponds to the JSON property `reversed` + # @return [Boolean] + attr_accessor :reversed + alias_method :reversed?, :reversed + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data = args[:data] if args.key?(:data) + @reversed = args[:reversed] if args.key?(:reversed) + end + end + + # The series of a CandlestickData. + class CandlestickSeries + include Google::Apis::Core::Hashable + + # The data included in a domain or series. + # Corresponds to the JSON property `data` + # @return [Google::Apis::SheetsV4::ChartData] + attr_accessor :data + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data = args[:data] if args.key?(:data) + end + end + + # Data about a specific cell. + class CellData + include Google::Apis::Core::Hashable + + # A data validation rule. + # Corresponds to the JSON property `dataValidation` + # @return [Google::Apis::SheetsV4::DataValidationRule] + attr_accessor :data_validation + + # The format of a cell. + # Corresponds to the JSON property `effectiveFormat` + # @return [Google::Apis::SheetsV4::CellFormat] + attr_accessor :effective_format + + # The kinds of value that a cell in a spreadsheet can have. + # Corresponds to the JSON property `effectiveValue` + # @return [Google::Apis::SheetsV4::ExtendedValue] + attr_accessor :effective_value + + # The formatted value of the cell. + # This is the value as it's shown to the user. + # This field is read-only. + # Corresponds to the JSON property `formattedValue` + # @return [String] + attr_accessor :formatted_value + + # A hyperlink this cell points to, if any. + # This field is read-only. (To set it, use a `=HYPERLINK` formula + # in the userEnteredValue.formulaValue + # field.) + # Corresponds to the JSON property `hyperlink` + # @return [String] + attr_accessor :hyperlink + + # Any note on the cell. + # Corresponds to the JSON property `note` + # @return [String] + attr_accessor :note + + # A pivot table. + # Corresponds to the JSON property `pivotTable` + # @return [Google::Apis::SheetsV4::PivotTable] + attr_accessor :pivot_table + + # Runs of rich text applied to subsections of the cell. Runs are only valid + # on user entered strings, not formulas, bools, or numbers. + # Runs start at specific indexes in the text and continue until the next + # run. Properties of a run will continue unless explicitly changed + # in a subsequent run (and properties of the first run will continue + # the properties of the cell unless explicitly changed). + # When writing, the new runs will overwrite any prior runs. When writing a + # new user_entered_value, previous runs will be erased. + # Corresponds to the JSON property `textFormatRuns` + # @return [Array] + attr_accessor :text_format_runs + + # The format of a cell. + # Corresponds to the JSON property `userEnteredFormat` + # @return [Google::Apis::SheetsV4::CellFormat] + attr_accessor :user_entered_format + + # The kinds of value that a cell in a spreadsheet can have. + # Corresponds to the JSON property `userEnteredValue` + # @return [Google::Apis::SheetsV4::ExtendedValue] + attr_accessor :user_entered_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_validation = args[:data_validation] if args.key?(:data_validation) + @effective_format = args[:effective_format] if args.key?(:effective_format) + @effective_value = args[:effective_value] if args.key?(:effective_value) + @formatted_value = args[:formatted_value] if args.key?(:formatted_value) + @hyperlink = args[:hyperlink] if args.key?(:hyperlink) + @note = args[:note] if args.key?(:note) + @pivot_table = args[:pivot_table] if args.key?(:pivot_table) + @text_format_runs = args[:text_format_runs] if args.key?(:text_format_runs) + @user_entered_format = args[:user_entered_format] if args.key?(:user_entered_format) + @user_entered_value = args[:user_entered_value] if args.key?(:user_entered_value) + end + end + + # The format of a cell. + class CellFormat + include Google::Apis::Core::Hashable + + # 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 `backgroundColor` + # @return [Google::Apis::SheetsV4::Color] + attr_accessor :background_color + + # The borders of the cell. + # Corresponds to the JSON property `borders` + # @return [Google::Apis::SheetsV4::Borders] + attr_accessor :borders + + # The horizontal alignment of the value in the cell. + # Corresponds to the JSON property `horizontalAlignment` + # @return [String] + attr_accessor :horizontal_alignment + + # How a hyperlink, if it exists, should be displayed in the cell. + # Corresponds to the JSON property `hyperlinkDisplayType` + # @return [String] + attr_accessor :hyperlink_display_type + + # The number format of a cell. + # Corresponds to the JSON property `numberFormat` + # @return [Google::Apis::SheetsV4::NumberFormat] + attr_accessor :number_format + + # The amount of padding around the cell, in pixels. + # When updating padding, every field must be specified. + # Corresponds to the JSON property `padding` + # @return [Google::Apis::SheetsV4::Padding] + attr_accessor :padding + + # The direction of the text in the cell. + # Corresponds to the JSON property `textDirection` + # @return [String] + attr_accessor :text_direction + + # The format of a run of text in a cell. + # Absent values indicate that the field isn't specified. + # Corresponds to the JSON property `textFormat` + # @return [Google::Apis::SheetsV4::TextFormat] + attr_accessor :text_format + + # The rotation applied to text in a cell. + # Corresponds to the JSON property `textRotation` + # @return [Google::Apis::SheetsV4::TextRotation] + attr_accessor :text_rotation + + # The vertical alignment of the value in the cell. + # Corresponds to the JSON property `verticalAlignment` + # @return [String] + attr_accessor :vertical_alignment + + # The wrap strategy for the value in the cell. + # Corresponds to the JSON property `wrapStrategy` + # @return [String] + attr_accessor :wrap_strategy + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @background_color = args[:background_color] if args.key?(:background_color) + @borders = args[:borders] if args.key?(:borders) + @horizontal_alignment = args[:horizontal_alignment] if args.key?(:horizontal_alignment) + @hyperlink_display_type = args[:hyperlink_display_type] if args.key?(:hyperlink_display_type) + @number_format = args[:number_format] if args.key?(:number_format) + @padding = args[:padding] if args.key?(:padding) + @text_direction = args[:text_direction] if args.key?(:text_direction) + @text_format = args[:text_format] if args.key?(:text_format) + @text_rotation = args[:text_rotation] if args.key?(:text_rotation) + @vertical_alignment = args[:vertical_alignment] if args.key?(:vertical_alignment) + @wrap_strategy = args[:wrap_strategy] if args.key?(:wrap_strategy) + end + end + + # The data included in a domain or series. + class ChartData + include Google::Apis::Core::Hashable + + # Source ranges for a chart. + # Corresponds to the JSON property `sourceRange` + # @return [Google::Apis::SheetsV4::ChartSourceRange] + attr_accessor :source_range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @source_range = args[:source_range] if args.key?(:source_range) + end + end + + # Source ranges for a chart. + class ChartSourceRange + include Google::Apis::Core::Hashable + + # The ranges of data for a series or domain. + # Exactly one dimension must have a length of 1, + # and all sources in the list must have the same dimension + # with length 1. + # The domain (if it exists) & all series must have the same number + # of source ranges. If using more than one source range, then the source + # range at a given offset must be contiguous across the domain and series. + # For example, these are valid configurations: + # domain sources: A1:A5 + # series1 sources: B1:B5 + # series2 sources: D6:D10 + # domain sources: A1:A5, C10:C12 + # series1 sources: B1:B5, D10:D12 + # series2 sources: C1:C5, E10:E12 + # Corresponds to the JSON property `sources` + # @return [Array] + attr_accessor :sources + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sources = args[:sources] if args.key?(:sources) + end + end + + # The specifications of a chart. + class ChartSpec + include Google::Apis::Core::Hashable + + # The alternative text that describes the chart. This is often used + # for accessibility. + # Corresponds to the JSON property `altText` + # @return [String] + attr_accessor :alt_text + + # 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 `backgroundColor` + # @return [Google::Apis::SheetsV4::Color] + attr_accessor :background_color + + # The specification for a basic chart. See BasicChartType for the list + # of charts this supports. + # Corresponds to the JSON property `basicChart` + # @return [Google::Apis::SheetsV4::BasicChartSpec] + attr_accessor :basic_chart + + # A bubble chart. + # Corresponds to the JSON property `bubbleChart` + # @return [Google::Apis::SheetsV4::BubbleChartSpec] + attr_accessor :bubble_chart + + # A candlestick chart< + # /a>. + # Corresponds to the JSON property `candlestickChart` + # @return [Google::Apis::SheetsV4::CandlestickChartSpec] + attr_accessor :candlestick_chart + + # The name of the font to use by default for all chart text (e.g. title, + # axis labels, legend). If a font is specified for a specific part of the + # chart it will override this font name. + # Corresponds to the JSON property `fontName` + # @return [String] + attr_accessor :font_name + + # Determines how the charts will use hidden rows or columns. + # Corresponds to the JSON property `hiddenDimensionStrategy` + # @return [String] + attr_accessor :hidden_dimension_strategy + + # A histogram chart. + # A histogram chart groups data items into bins, displaying each bin as a + # column of stacked items. Histograms are used to display the distribution + # of a dataset. Each column of items represents a range into which those + # items fall. The number of bins can be chosen automatically or specified + # explicitly. + # Corresponds to the JSON property `histogramChart` + # @return [Google::Apis::SheetsV4::HistogramChartSpec] + attr_accessor :histogram_chart + + # True to make a chart fill the entire space in which it's rendered with + # minimum padding. False to use the default padding. + # (Not applicable to Geo and Org charts.) + # Corresponds to the JSON property `maximized` + # @return [Boolean] + attr_accessor :maximized + alias_method :maximized?, :maximized + + # An org chart. + # Org charts require a unique set of labels in labels and may + # optionally include parent_labels and tooltips. + # parent_labels contain, for each node, the label identifying the parent + # node. tooltips contain, for each node, an optional tooltip. + # For example, to describe an OrgChart with Alice as the CEO, Bob as the + # President (reporting to Alice) and Cathy as VP of Sales (also reporting to + # Alice), have labels contain "Alice", "Bob", "Cathy", + # parent_labels contain "", "Alice", "Alice" and tooltips contain + # "CEO", "President", "VP Sales". + # Corresponds to the JSON property `orgChart` + # @return [Google::Apis::SheetsV4::OrgChartSpec] + attr_accessor :org_chart + + # A pie chart. + # Corresponds to the JSON property `pieChart` + # @return [Google::Apis::SheetsV4::PieChartSpec] + attr_accessor :pie_chart + + # The title of the chart. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # The format of a run of text in a cell. + # Absent values indicate that the field isn't specified. + # Corresponds to the JSON property `titleTextFormat` + # @return [Google::Apis::SheetsV4::TextFormat] + attr_accessor :title_text_format + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alt_text = args[:alt_text] if args.key?(:alt_text) + @background_color = args[:background_color] if args.key?(:background_color) + @basic_chart = args[:basic_chart] if args.key?(:basic_chart) + @bubble_chart = args[:bubble_chart] if args.key?(:bubble_chart) + @candlestick_chart = args[:candlestick_chart] if args.key?(:candlestick_chart) + @font_name = args[:font_name] if args.key?(:font_name) + @hidden_dimension_strategy = args[:hidden_dimension_strategy] if args.key?(:hidden_dimension_strategy) + @histogram_chart = args[:histogram_chart] if args.key?(:histogram_chart) + @maximized = args[:maximized] if args.key?(:maximized) + @org_chart = args[:org_chart] if args.key?(:org_chart) + @pie_chart = args[:pie_chart] if args.key?(:pie_chart) + @title = args[:title] if args.key?(:title) + @title_text_format = args[:title_text_format] if args.key?(:title_text_format) + end + end + + # Clears the basic filter, if any exists on the sheet. + class ClearBasicFilterRequest + include Google::Apis::Core::Hashable + + # The sheet ID on which the basic filter should be cleared. + # Corresponds to the JSON property `sheetId` + # @return [Fixnum] + attr_accessor :sheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sheet_id = args[:sheet_id] if args.key?(:sheet_id) + end + end + + # The request for clearing a range of values in a spreadsheet. + class ClearValuesRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # The response when clearing a range of values in a spreadsheet. + class ClearValuesResponse + include Google::Apis::Core::Hashable + + # The range (in A1 notation) that was cleared. + # (If the request was for an unbounded range or a ranger larger + # than the bounds of the sheet, this will be the actual range + # that was cleared, bounded to the sheet's limits.) + # Corresponds to the JSON property `clearedRange` + # @return [String] + attr_accessor :cleared_range + + # The spreadsheet the updates were applied to. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cleared_range = args[:cleared_range] if args.key?(:cleared_range) + @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + 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 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 + + # 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 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 red in the color as a value in the interval [0, 1]. + # Corresponds to the JSON property `red` + # @return [Float] + attr_accessor :red + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alpha = args[:alpha] if args.key?(:alpha) + @blue = args[:blue] if args.key?(:blue) + @green = args[:green] if args.key?(:green) + @red = args[:red] if args.key?(:red) + end + end + + # The value of the condition. + class ConditionValue + include Google::Apis::Core::Hashable + + # A relative date (based on the current date). + # Valid only if the type is + # DATE_BEFORE, + # DATE_AFTER, + # DATE_ON_OR_BEFORE or + # DATE_ON_OR_AFTER. + # Relative dates are not supported in data validation. + # They are supported only in conditional formatting and + # conditional filters. + # Corresponds to the JSON property `relativeDate` + # @return [String] + attr_accessor :relative_date + + # A value the condition is based on. + # The value will be parsed as if the user typed into a cell. + # Formulas are supported (and must begin with an `=`). + # Corresponds to the JSON property `userEnteredValue` + # @return [String] + attr_accessor :user_entered_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @relative_date = args[:relative_date] if args.key?(:relative_date) + @user_entered_value = args[:user_entered_value] if args.key?(:user_entered_value) + end + end + + # A rule describing a conditional format. + class ConditionalFormatRule + include Google::Apis::Core::Hashable + + # A rule that may or may not match, depending on the condition. + # Corresponds to the JSON property `booleanRule` + # @return [Google::Apis::SheetsV4::BooleanRule] + attr_accessor :boolean_rule + + # A rule that applies a gradient color scale format, based on + # the interpolation points listed. The format of a cell will vary + # based on its contents as compared to the values of the interpolation + # points. + # Corresponds to the JSON property `gradientRule` + # @return [Google::Apis::SheetsV4::GradientRule] + attr_accessor :gradient_rule + + # The ranges that will be formatted if the condition is true. + # All the ranges must be on the same grid. + # Corresponds to the JSON property `ranges` + # @return [Array] + attr_accessor :ranges + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @boolean_rule = args[:boolean_rule] if args.key?(:boolean_rule) + @gradient_rule = args[:gradient_rule] if args.key?(:gradient_rule) + @ranges = args[:ranges] if args.key?(:ranges) + end + end + + # Copies data from the source to the destination. + class CopyPasteRequest + include Google::Apis::Core::Hashable + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `destination` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :destination + + # How that data should be oriented when pasting. + # Corresponds to the JSON property `pasteOrientation` + # @return [String] + attr_accessor :paste_orientation + + # What kind of data to paste. + # Corresponds to the JSON property `pasteType` + # @return [String] + attr_accessor :paste_type + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `source` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @destination = args[:destination] if args.key?(:destination) + @paste_orientation = args[:paste_orientation] if args.key?(:paste_orientation) + @paste_type = args[:paste_type] if args.key?(:paste_type) + @source = args[:source] if args.key?(:source) + end + end + + # The request to copy a sheet across spreadsheets. + class CopySheetToAnotherSpreadsheetRequest + include Google::Apis::Core::Hashable + + # The ID of the spreadsheet to copy the sheet to. + # Corresponds to the JSON property `destinationSpreadsheetId` + # @return [String] + attr_accessor :destination_spreadsheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @destination_spreadsheet_id = args[:destination_spreadsheet_id] if args.key?(:destination_spreadsheet_id) + end + end + + # Moves data from the source to the destination. + class CutPasteRequest + include Google::Apis::Core::Hashable + + # A coordinate in a sheet. + # All indexes are zero-based. + # Corresponds to the JSON property `destination` + # @return [Google::Apis::SheetsV4::GridCoordinate] + attr_accessor :destination + + # What kind of data to paste. All the source data will be cut, regardless + # of what is pasted. + # Corresponds to the JSON property `pasteType` + # @return [String] + attr_accessor :paste_type + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `source` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @destination = args[:destination] if args.key?(:destination) + @paste_type = args[:paste_type] if args.key?(:paste_type) + @source = args[:source] if args.key?(:source) + end + end + + # A data validation rule. + class DataValidationRule + include Google::Apis::Core::Hashable + + # A condition that can evaluate to true or false. + # BooleanConditions are used by conditional formatting, + # data validation, and the criteria in filters. + # Corresponds to the JSON property `condition` + # @return [Google::Apis::SheetsV4::BooleanCondition] + attr_accessor :condition + + # A message to show the user when adding data to the cell. + # Corresponds to the JSON property `inputMessage` + # @return [String] + attr_accessor :input_message + + # True if the UI should be customized based on the kind of condition. + # If true, "List" conditions will show a dropdown. + # Corresponds to the JSON property `showCustomUi` + # @return [Boolean] + attr_accessor :show_custom_ui + alias_method :show_custom_ui?, :show_custom_ui + + # True if invalid data should be rejected. + # Corresponds to the JSON property `strict` + # @return [Boolean] + attr_accessor :strict + alias_method :strict?, :strict + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @condition = args[:condition] if args.key?(:condition) + @input_message = args[:input_message] if args.key?(:input_message) + @show_custom_ui = args[:show_custom_ui] if args.key?(:show_custom_ui) + @strict = args[:strict] if args.key?(:strict) + end + end + + # Removes the banded range with the given ID from the spreadsheet. + class DeleteBandingRequest + include Google::Apis::Core::Hashable + + # The ID of the banded range to delete. + # Corresponds to the JSON property `bandedRangeId` + # @return [Fixnum] + attr_accessor :banded_range_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @banded_range_id = args[:banded_range_id] if args.key?(:banded_range_id) + end + end + + # Deletes a conditional format rule at the given index. + # All subsequent rules' indexes are decremented. + class DeleteConditionalFormatRuleRequest + include Google::Apis::Core::Hashable + + # The zero-based index of the rule to be deleted. + # Corresponds to the JSON property `index` + # @return [Fixnum] + attr_accessor :index + + # The sheet the rule is being deleted from. + # Corresponds to the JSON property `sheetId` + # @return [Fixnum] + attr_accessor :sheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @index = args[:index] if args.key?(:index) + @sheet_id = args[:sheet_id] if args.key?(:sheet_id) + end + end + + # The result of deleting a conditional format rule. + class DeleteConditionalFormatRuleResponse + include Google::Apis::Core::Hashable + + # A rule describing a conditional format. + # Corresponds to the JSON property `rule` + # @return [Google::Apis::SheetsV4::ConditionalFormatRule] + attr_accessor :rule + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @rule = args[:rule] if args.key?(:rule) + end + end + + # Deletes the dimensions from the sheet. + class DeleteDimensionRequest + include Google::Apis::Core::Hashable + + # A range along a single dimension on a sheet. + # All indexes are zero-based. + # Indexes are half open: the start index is inclusive + # and the end index is exclusive. + # Missing indexes indicate the range is unbounded on that side. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::DimensionRange] + attr_accessor :range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @range = args[:range] if args.key?(:range) + end + end + + # Deletes the embedded object with the given ID. + class DeleteEmbeddedObjectRequest + include Google::Apis::Core::Hashable + + # The ID of the embedded object to delete. + # Corresponds to the JSON property `objectId` + # @return [Fixnum] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # Deletes a particular filter view. + class DeleteFilterViewRequest + include Google::Apis::Core::Hashable + + # The ID of the filter to delete. + # Corresponds to the JSON property `filterId` + # @return [Fixnum] + attr_accessor :filter_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @filter_id = args[:filter_id] if args.key?(:filter_id) + end + end + + # Removes the named range with the given ID from the spreadsheet. + class DeleteNamedRangeRequest + include Google::Apis::Core::Hashable + + # The ID of the named range to delete. + # Corresponds to the JSON property `namedRangeId` + # @return [String] + attr_accessor :named_range_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @named_range_id = args[:named_range_id] if args.key?(:named_range_id) + end + end + + # Deletes the protected range with the given ID. + class DeleteProtectedRangeRequest + include Google::Apis::Core::Hashable + + # The ID of the protected range to delete. + # Corresponds to the JSON property `protectedRangeId` + # @return [Fixnum] + attr_accessor :protected_range_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @protected_range_id = args[:protected_range_id] if args.key?(:protected_range_id) + end + end + + # Deletes a range of cells, shifting other cells into the deleted area. + class DeleteRangeRequest + include Google::Apis::Core::Hashable + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + # The dimension from which deleted cells will be replaced with. + # If ROWS, existing cells will be shifted upward to + # replace the deleted cells. If COLUMNS, existing cells + # will be shifted left to replace the deleted cells. + # Corresponds to the JSON property `shiftDimension` + # @return [String] + attr_accessor :shift_dimension + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @range = args[:range] if args.key?(:range) + @shift_dimension = args[:shift_dimension] if args.key?(:shift_dimension) + end + end + + # Deletes the requested sheet. + class DeleteSheetRequest + include Google::Apis::Core::Hashable + + # The ID of the sheet to delete. + # Corresponds to the JSON property `sheetId` + # @return [Fixnum] + attr_accessor :sheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sheet_id = args[:sheet_id] if args.key?(:sheet_id) + end + end + + # Properties about a dimension. + class DimensionProperties + include Google::Apis::Core::Hashable + + # True if this dimension is being filtered. + # This field is read-only. + # Corresponds to the JSON property `hiddenByFilter` + # @return [Boolean] + attr_accessor :hidden_by_filter + alias_method :hidden_by_filter?, :hidden_by_filter + + # True if this dimension is explicitly hidden. + # Corresponds to the JSON property `hiddenByUser` + # @return [Boolean] + attr_accessor :hidden_by_user + alias_method :hidden_by_user?, :hidden_by_user + + # The height (if a row) or width (if a column) of the dimension in pixels. + # Corresponds to the JSON property `pixelSize` + # @return [Fixnum] + attr_accessor :pixel_size + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @hidden_by_filter = args[:hidden_by_filter] if args.key?(:hidden_by_filter) + @hidden_by_user = args[:hidden_by_user] if args.key?(:hidden_by_user) + @pixel_size = args[:pixel_size] if args.key?(:pixel_size) + end + end + + # A range along a single dimension on a sheet. + # All indexes are zero-based. + # Indexes are half open: the start index is inclusive + # and the end index is exclusive. + # Missing indexes indicate the range is unbounded on that side. + class DimensionRange + include Google::Apis::Core::Hashable + + # The dimension of the span. + # Corresponds to the JSON property `dimension` + # @return [String] + attr_accessor :dimension + + # The end (exclusive) of the span, or not set if unbounded. + # Corresponds to the JSON property `endIndex` + # @return [Fixnum] + attr_accessor :end_index + + # The sheet this span is on. + # Corresponds to the JSON property `sheetId` + # @return [Fixnum] + attr_accessor :sheet_id + + # The start (inclusive) of the span, or not set if unbounded. + # Corresponds to the JSON property `startIndex` + # @return [Fixnum] + attr_accessor :start_index + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dimension = args[:dimension] if args.key?(:dimension) + @end_index = args[:end_index] if args.key?(:end_index) + @sheet_id = args[:sheet_id] if args.key?(:sheet_id) + @start_index = args[:start_index] if args.key?(:start_index) + end + end + + # Duplicates a particular filter view. + class DuplicateFilterViewRequest + include Google::Apis::Core::Hashable + + # The ID of the filter being duplicated. + # Corresponds to the JSON property `filterId` + # @return [Fixnum] + attr_accessor :filter_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @filter_id = args[:filter_id] if args.key?(:filter_id) + end + end + + # The result of a filter view being duplicated. + class DuplicateFilterViewResponse + include Google::Apis::Core::Hashable + + # A filter view. + # Corresponds to the JSON property `filter` + # @return [Google::Apis::SheetsV4::FilterView] + attr_accessor :filter + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @filter = args[:filter] if args.key?(:filter) + end + end + + # Duplicates the contents of a sheet. + class DuplicateSheetRequest + include Google::Apis::Core::Hashable + + # The zero-based index where the new sheet should be inserted. + # The index of all sheets after this are incremented. + # Corresponds to the JSON property `insertSheetIndex` + # @return [Fixnum] + attr_accessor :insert_sheet_index + + # If set, the ID of the new sheet. If not set, an ID is chosen. + # If set, the ID must not conflict with any existing sheet ID. + # If set, it must be non-negative. + # Corresponds to the JSON property `newSheetId` + # @return [Fixnum] + attr_accessor :new_sheet_id + + # The name of the new sheet. If empty, a new name is chosen for you. + # Corresponds to the JSON property `newSheetName` + # @return [String] + attr_accessor :new_sheet_name + + # The sheet to duplicate. + # Corresponds to the JSON property `sourceSheetId` + # @return [Fixnum] + attr_accessor :source_sheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @insert_sheet_index = args[:insert_sheet_index] if args.key?(:insert_sheet_index) + @new_sheet_id = args[:new_sheet_id] if args.key?(:new_sheet_id) + @new_sheet_name = args[:new_sheet_name] if args.key?(:new_sheet_name) + @source_sheet_id = args[:source_sheet_id] if args.key?(:source_sheet_id) + end + end + + # The result of duplicating a sheet. + class DuplicateSheetResponse + include Google::Apis::Core::Hashable + + # Properties of a sheet. + # Corresponds to the JSON property `properties` + # @return [Google::Apis::SheetsV4::SheetProperties] + attr_accessor :properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @properties = args[:properties] if args.key?(:properties) + end + end + + # The editors of a protected range. + class Editors + include Google::Apis::Core::Hashable + + # True if anyone in the document's domain has edit access to the protected + # range. Domain protection is only supported on documents within a domain. + # Corresponds to the JSON property `domainUsersCanEdit` + # @return [Boolean] + attr_accessor :domain_users_can_edit + alias_method :domain_users_can_edit?, :domain_users_can_edit + + # The email addresses of groups with edit access to the protected range. + # Corresponds to the JSON property `groups` + # @return [Array] + attr_accessor :groups + + # The email addresses of users with edit access to the protected range. + # Corresponds to the JSON property `users` + # @return [Array] + attr_accessor :users + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @domain_users_can_edit = args[:domain_users_can_edit] if args.key?(:domain_users_can_edit) + @groups = args[:groups] if args.key?(:groups) + @users = args[:users] if args.key?(:users) + end + end + + # A chart embedded in a sheet. + class EmbeddedChart + include Google::Apis::Core::Hashable + + # The ID of the chart. + # Corresponds to the JSON property `chartId` + # @return [Fixnum] + attr_accessor :chart_id + + # The position of an embedded object such as a chart. + # Corresponds to the JSON property `position` + # @return [Google::Apis::SheetsV4::EmbeddedObjectPosition] + attr_accessor :position + + # The specifications of a chart. + # Corresponds to the JSON property `spec` + # @return [Google::Apis::SheetsV4::ChartSpec] + attr_accessor :spec + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @chart_id = args[:chart_id] if args.key?(:chart_id) + @position = args[:position] if args.key?(:position) + @spec = args[:spec] if args.key?(:spec) end end @@ -6392,14 +3491,20 @@ module Google end end - # Deletes the protected range with the given ID. - class DeleteProtectedRangeRequest + # An error in a cell. + class ErrorValue include Google::Apis::Core::Hashable - # The ID of the protected range to delete. - # Corresponds to the JSON property `protectedRangeId` - # @return [Fixnum] - attr_accessor :protected_range_id + # A message with more information about the error + # (in the spreadsheet's locale). + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + # The type of error. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type def initialize(**args) update!(**args) @@ -6407,25 +3512,109 @@ module Google # Update properties of this object def update!(**args) - @protected_range_id = args[:protected_range_id] if args.key?(:protected_range_id) + @message = args[:message] if args.key?(:message) + @type = args[:type] if args.key?(:type) end end - # Fills in more data based on existing data. - class AutoFillRequest + # The kinds of value that a cell in a spreadsheet can have. + class ExtendedValue include Google::Apis::Core::Hashable - # True if we should generate data with the "alternate" series. - # This differs based on the type and amount of source data. - # Corresponds to the JSON property `useAlternateSeries` + # Represents a boolean value. + # Corresponds to the JSON property `boolValue` # @return [Boolean] - attr_accessor :use_alternate_series - alias_method :use_alternate_series?, :use_alternate_series + attr_accessor :bool_value + alias_method :bool_value?, :bool_value - # A combination of a source range and how to extend that source. - # Corresponds to the JSON property `sourceAndDestination` - # @return [Google::Apis::SheetsV4::SourceAndDestination] - attr_accessor :source_and_destination + # An error in a cell. + # Corresponds to the JSON property `errorValue` + # @return [Google::Apis::SheetsV4::ErrorValue] + attr_accessor :error_value + + # Represents a formula. + # Corresponds to the JSON property `formulaValue` + # @return [String] + attr_accessor :formula_value + + # Represents a double value. + # Note: Dates, Times and DateTimes are represented as doubles in + # "serial number" format. + # Corresponds to the JSON property `numberValue` + # @return [Float] + attr_accessor :number_value + + # Represents a string value. + # Leading single quotes are not included. For example, if the user typed + # `'123` into the UI, this would be represented as a `stringValue` of + # `"123"`. + # Corresponds to the JSON property `stringValue` + # @return [String] + attr_accessor :string_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bool_value = args[:bool_value] if args.key?(:bool_value) + @error_value = args[:error_value] if args.key?(:error_value) + @formula_value = args[:formula_value] if args.key?(:formula_value) + @number_value = args[:number_value] if args.key?(:number_value) + @string_value = args[:string_value] if args.key?(:string_value) + end + end + + # Criteria for showing/hiding rows in a filter or filter view. + class FilterCriteria + include Google::Apis::Core::Hashable + + # A condition that can evaluate to true or false. + # BooleanConditions are used by conditional formatting, + # data validation, and the criteria in filters. + # Corresponds to the JSON property `condition` + # @return [Google::Apis::SheetsV4::BooleanCondition] + attr_accessor :condition + + # Values that should be hidden. + # Corresponds to the JSON property `hiddenValues` + # @return [Array] + attr_accessor :hidden_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @condition = args[:condition] if args.key?(:condition) + @hidden_values = args[:hidden_values] if args.key?(:hidden_values) + end + end + + # A filter view. + class FilterView + include Google::Apis::Core::Hashable + + # The criteria for showing/hiding values per column. + # The map's key is the column index, and the value is the criteria for + # that column. + # Corresponds to the JSON property `criteria` + # @return [Hash] + attr_accessor :criteria + + # The ID of the filter view. + # Corresponds to the JSON property `filterViewId` + # @return [Fixnum] + attr_accessor :filter_view_id + + # The named range this filter view is backed by, if any. + # When writing, only one of range or named_range_id + # may be set. + # Corresponds to the JSON property `namedRangeId` + # @return [String] + attr_accessor :named_range_id # A range on a sheet. # All indexes are zero-based. @@ -6453,15 +3642,175 @@ module Google # @return [Google::Apis::SheetsV4::GridRange] attr_accessor :range + # The sort order per column. Later specifications are used when values + # are equal in the earlier specifications. + # Corresponds to the JSON property `sortSpecs` + # @return [Array] + attr_accessor :sort_specs + + # The name of the filter view. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @use_alternate_series = args[:use_alternate_series] if args.key?(:use_alternate_series) - @source_and_destination = args[:source_and_destination] if args.key?(:source_and_destination) + @criteria = args[:criteria] if args.key?(:criteria) + @filter_view_id = args[:filter_view_id] if args.key?(:filter_view_id) + @named_range_id = args[:named_range_id] if args.key?(:named_range_id) @range = args[:range] if args.key?(:range) + @sort_specs = args[:sort_specs] if args.key?(:sort_specs) + @title = args[:title] if args.key?(:title) + end + end + + # Finds and replaces data in cells over a range, sheet, or all sheets. + class FindReplaceRequest + include Google::Apis::Core::Hashable + + # True to find/replace over all sheets. + # Corresponds to the JSON property `allSheets` + # @return [Boolean] + attr_accessor :all_sheets + alias_method :all_sheets?, :all_sheets + + # The value to search. + # Corresponds to the JSON property `find` + # @return [String] + attr_accessor :find + + # True if the search should include cells with formulas. + # False to skip cells with formulas. + # Corresponds to the JSON property `includeFormulas` + # @return [Boolean] + attr_accessor :include_formulas + alias_method :include_formulas?, :include_formulas + + # True if the search is case sensitive. + # Corresponds to the JSON property `matchCase` + # @return [Boolean] + attr_accessor :match_case + alias_method :match_case?, :match_case + + # True if the find value should match the entire cell. + # Corresponds to the JSON property `matchEntireCell` + # @return [Boolean] + attr_accessor :match_entire_cell + alias_method :match_entire_cell?, :match_entire_cell + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + # The value to use as the replacement. + # Corresponds to the JSON property `replacement` + # @return [String] + attr_accessor :replacement + + # True if the find value is a regex. + # The regular expression and replacement should follow Java regex rules + # at https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html. + # The replacement string is allowed to refer to capturing groups. + # For example, if one cell has the contents `"Google Sheets"` and another + # has `"Google Docs"`, then searching for `"o.* (.*)"` with a replacement of + # `"$1 Rocks"` would change the contents of the cells to + # `"GSheets Rocks"` and `"GDocs Rocks"` respectively. + # Corresponds to the JSON property `searchByRegex` + # @return [Boolean] + attr_accessor :search_by_regex + alias_method :search_by_regex?, :search_by_regex + + # The sheet to find/replace over. + # Corresponds to the JSON property `sheetId` + # @return [Fixnum] + attr_accessor :sheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @all_sheets = args[:all_sheets] if args.key?(:all_sheets) + @find = args[:find] if args.key?(:find) + @include_formulas = args[:include_formulas] if args.key?(:include_formulas) + @match_case = args[:match_case] if args.key?(:match_case) + @match_entire_cell = args[:match_entire_cell] if args.key?(:match_entire_cell) + @range = args[:range] if args.key?(:range) + @replacement = args[:replacement] if args.key?(:replacement) + @search_by_regex = args[:search_by_regex] if args.key?(:search_by_regex) + @sheet_id = args[:sheet_id] if args.key?(:sheet_id) + end + end + + # The result of the find/replace. + class FindReplaceResponse + include Google::Apis::Core::Hashable + + # The number of formula cells changed. + # Corresponds to the JSON property `formulasChanged` + # @return [Fixnum] + attr_accessor :formulas_changed + + # The number of occurrences (possibly multiple within a cell) changed. + # For example, if replacing `"e"` with `"o"` in `"Google Sheets"`, this would + # be `"3"` because `"Google Sheets"` -> `"Googlo Shoots"`. + # Corresponds to the JSON property `occurrencesChanged` + # @return [Fixnum] + attr_accessor :occurrences_changed + + # The number of rows changed. + # Corresponds to the JSON property `rowsChanged` + # @return [Fixnum] + attr_accessor :rows_changed + + # The number of sheets changed. + # Corresponds to the JSON property `sheetsChanged` + # @return [Fixnum] + attr_accessor :sheets_changed + + # The number of non-formula cells changed. + # Corresponds to the JSON property `valuesChanged` + # @return [Fixnum] + attr_accessor :values_changed + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @formulas_changed = args[:formulas_changed] if args.key?(:formulas_changed) + @occurrences_changed = args[:occurrences_changed] if args.key?(:occurrences_changed) + @rows_changed = args[:rows_changed] if args.key?(:rows_changed) + @sheets_changed = args[:sheets_changed] if args.key?(:sheets_changed) + @values_changed = args[:values_changed] if args.key?(:values_changed) end end @@ -6475,16 +3824,16 @@ module Google # A single interpolation point on a gradient conditional format. # These pin the gradient color scale according to the color, # type and value chosen. - # Corresponds to the JSON property `midpoint` + # Corresponds to the JSON property `maxpoint` # @return [Google::Apis::SheetsV4::InterpolationPoint] - attr_accessor :midpoint + attr_accessor :maxpoint # A single interpolation point on a gradient conditional format. # These pin the gradient color scale according to the color, # type and value chosen. - # Corresponds to the JSON property `maxpoint` + # Corresponds to the JSON property `midpoint` # @return [Google::Apis::SheetsV4::InterpolationPoint] - attr_accessor :maxpoint + attr_accessor :midpoint # A single interpolation point on a gradient conditional format. # These pin the gradient color scale according to the color, @@ -6499,20 +3848,31 @@ module Google # Update properties of this object def update!(**args) - @midpoint = args[:midpoint] if args.key?(:midpoint) @maxpoint = args[:maxpoint] if args.key?(:maxpoint) + @midpoint = args[:midpoint] if args.key?(:midpoint) @minpoint = args[:minpoint] if args.key?(:minpoint) end end - # Sets the basic filter associated with a sheet. - class SetBasicFilterRequest + # A coordinate in a sheet. + # All indexes are zero-based. + class GridCoordinate include Google::Apis::Core::Hashable - # The default filter associated with a sheet. - # Corresponds to the JSON property `filter` - # @return [Google::Apis::SheetsV4::BasicFilter] - attr_accessor :filter + # The column index of the coordinate. + # Corresponds to the JSON property `columnIndex` + # @return [Fixnum] + attr_accessor :column_index + + # The row index of the coordinate. + # Corresponds to the JSON property `rowIndex` + # @return [Fixnum] + attr_accessor :row_index + + # The sheet this coordinate is on. + # Corresponds to the JSON property `sheetId` + # @return [Fixnum] + attr_accessor :sheet_id def initialize(**args) update!(**args) @@ -6520,20 +3880,437 @@ module Google # Update properties of this object def update!(**args) - @filter = args[:filter] if args.key?(:filter) + @column_index = args[:column_index] if args.key?(:column_index) + @row_index = args[:row_index] if args.key?(:row_index) + @sheet_id = args[:sheet_id] if args.key?(:sheet_id) end end - # The request for clearing a range of values in a spreadsheet. - class ClearValuesRequest + # Data in the grid, as well as metadata about the dimensions. + class GridData include Google::Apis::Core::Hashable + # Metadata about the requested columns in the grid, starting with the column + # in start_column. + # Corresponds to the JSON property `columnMetadata` + # @return [Array] + attr_accessor :column_metadata + + # The data in the grid, one entry per row, + # starting with the row in startRow. + # The values in RowData will correspond to columns starting + # at start_column. + # Corresponds to the JSON property `rowData` + # @return [Array] + attr_accessor :row_data + + # Metadata about the requested rows in the grid, starting with the row + # in start_row. + # Corresponds to the JSON property `rowMetadata` + # @return [Array] + attr_accessor :row_metadata + + # The first column this GridData refers to, zero-based. + # Corresponds to the JSON property `startColumn` + # @return [Fixnum] + attr_accessor :start_column + + # The first row this GridData refers to, zero-based. + # Corresponds to the JSON property `startRow` + # @return [Fixnum] + attr_accessor :start_row + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @column_metadata = args[:column_metadata] if args.key?(:column_metadata) + @row_data = args[:row_data] if args.key?(:row_data) + @row_metadata = args[:row_metadata] if args.key?(:row_metadata) + @start_column = args[:start_column] if args.key?(:start_column) + @start_row = args[:start_row] if args.key?(:start_row) + end + end + + # Properties of a grid. + class GridProperties + include Google::Apis::Core::Hashable + + # The number of columns in the grid. + # Corresponds to the JSON property `columnCount` + # @return [Fixnum] + attr_accessor :column_count + + # The number of columns that are frozen in the grid. + # Corresponds to the JSON property `frozenColumnCount` + # @return [Fixnum] + attr_accessor :frozen_column_count + + # The number of rows that are frozen in the grid. + # Corresponds to the JSON property `frozenRowCount` + # @return [Fixnum] + attr_accessor :frozen_row_count + + # True if the grid isn't showing gridlines in the UI. + # Corresponds to the JSON property `hideGridlines` + # @return [Boolean] + attr_accessor :hide_gridlines + alias_method :hide_gridlines?, :hide_gridlines + + # The number of rows in the grid. + # Corresponds to the JSON property `rowCount` + # @return [Fixnum] + attr_accessor :row_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @column_count = args[:column_count] if args.key?(:column_count) + @frozen_column_count = args[:frozen_column_count] if args.key?(:frozen_column_count) + @frozen_row_count = args[:frozen_row_count] if args.key?(:frozen_row_count) + @hide_gridlines = args[:hide_gridlines] if args.key?(:hide_gridlines) + @row_count = args[:row_count] if args.key?(:row_count) + end + end + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + class GridRange + include Google::Apis::Core::Hashable + + # The end column (exclusive) of the range, or not set if unbounded. + # Corresponds to the JSON property `endColumnIndex` + # @return [Fixnum] + attr_accessor :end_column_index + + # The end row (exclusive) of the range, or not set if unbounded. + # Corresponds to the JSON property `endRowIndex` + # @return [Fixnum] + attr_accessor :end_row_index + + # The sheet this range is on. + # Corresponds to the JSON property `sheetId` + # @return [Fixnum] + attr_accessor :sheet_id + + # The start column (inclusive) of the range, or not set if unbounded. + # Corresponds to the JSON property `startColumnIndex` + # @return [Fixnum] + attr_accessor :start_column_index + + # The start row (inclusive) of the range, or not set if unbounded. + # Corresponds to the JSON property `startRowIndex` + # @return [Fixnum] + attr_accessor :start_row_index + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_column_index = args[:end_column_index] if args.key?(:end_column_index) + @end_row_index = args[:end_row_index] if args.key?(:end_row_index) + @sheet_id = args[:sheet_id] if args.key?(:sheet_id) + @start_column_index = args[:start_column_index] if args.key?(:start_column_index) + @start_row_index = args[:start_row_index] if args.key?(:start_row_index) + end + end + + # A histogram chart. + # A histogram chart groups data items into bins, displaying each bin as a + # column of stacked items. Histograms are used to display the distribution + # of a dataset. Each column of items represents a range into which those + # items fall. The number of bins can be chosen automatically or specified + # explicitly. + class HistogramChartSpec + include Google::Apis::Core::Hashable + + # By default the bucket size (the range of values stacked in a single + # column) is chosen automatically, but it may be overridden here. + # E.g., A bucket size of 1.5 results in buckets from 0 - 1.5, 1.5 - 3.0, etc. + # Cannot be negative. + # This field is optional. + # Corresponds to the JSON property `bucketSize` + # @return [Float] + attr_accessor :bucket_size + + # The position of the chart legend. + # Corresponds to the JSON property `legendPosition` + # @return [String] + attr_accessor :legend_position + + # The outlier percentile is used to ensure that outliers do not adversely + # affect the calculation of bucket sizes. For example, setting an outlier + # percentile of 0.05 indicates that the top and bottom 5% of values when + # calculating buckets. The values are still included in the chart, they will + # be added to the first or last buckets instead of their own buckets. + # Must be between 0.0 and 0.5. + # Corresponds to the JSON property `outlierPercentile` + # @return [Float] + attr_accessor :outlier_percentile + + # The series for a histogram may be either a single series of values to be + # bucketed or multiple series, each of the same length, containing the name + # of the series followed by the values to be bucketed for that series. + # Corresponds to the JSON property `series` + # @return [Array] + attr_accessor :series + + # Whether horizontal divider lines should be displayed between items in each + # column. + # Corresponds to the JSON property `showItemDividers` + # @return [Boolean] + attr_accessor :show_item_dividers + alias_method :show_item_dividers?, :show_item_dividers + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucket_size = args[:bucket_size] if args.key?(:bucket_size) + @legend_position = args[:legend_position] if args.key?(:legend_position) + @outlier_percentile = args[:outlier_percentile] if args.key?(:outlier_percentile) + @series = args[:series] if args.key?(:series) + @show_item_dividers = args[:show_item_dividers] if args.key?(:show_item_dividers) + end + end + + # A histogram series containing the series color and data. + class HistogramSeries + include Google::Apis::Core::Hashable + + # 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 `barColor` + # @return [Google::Apis::SheetsV4::Color] + attr_accessor :bar_color + + # The data included in a domain or series. + # Corresponds to the JSON property `data` + # @return [Google::Apis::SheetsV4::ChartData] + attr_accessor :data + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bar_color = args[:bar_color] if args.key?(:bar_color) + @data = args[:data] if args.key?(:data) + end + end + + # Inserts rows or columns in a sheet at a particular index. + class InsertDimensionRequest + include Google::Apis::Core::Hashable + + # Whether dimension properties should be extended from the dimensions + # before or after the newly inserted dimensions. + # True to inherit from the dimensions before (in which case the start + # index must be greater than 0), and false to inherit from the dimensions + # after. + # For example, if row index 0 has red background and row index 1 + # has a green background, then inserting 2 rows at index 1 can inherit + # either the green or red background. If `inheritFromBefore` is true, + # the two new rows will be red (because the row before the insertion point + # was red), whereas if `inheritFromBefore` is false, the two new rows will + # be green (because the row after the insertion point was green). + # Corresponds to the JSON property `inheritFromBefore` + # @return [Boolean] + attr_accessor :inherit_from_before + alias_method :inherit_from_before?, :inherit_from_before + + # A range along a single dimension on a sheet. + # All indexes are zero-based. + # Indexes are half open: the start index is inclusive + # and the end index is exclusive. + # Missing indexes indicate the range is unbounded on that side. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::DimensionRange] + attr_accessor :range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @inherit_from_before = args[:inherit_from_before] if args.key?(:inherit_from_before) + @range = args[:range] if args.key?(:range) + end + end + + # Inserts cells into a range, shifting the existing cells over or down. + class InsertRangeRequest + include Google::Apis::Core::Hashable + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + # The dimension which will be shifted when inserting cells. + # If ROWS, existing cells will be shifted down. + # If COLUMNS, existing cells will be shifted right. + # Corresponds to the JSON property `shiftDimension` + # @return [String] + attr_accessor :shift_dimension + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @range = args[:range] if args.key?(:range) + @shift_dimension = args[:shift_dimension] if args.key?(:shift_dimension) end end @@ -6670,255 +4447,22 @@ module Google end end - # The result of the find/replace. - class FindReplaceResponse + # Settings to control how circular dependencies are resolved with iterative + # calculation. + class IterativeCalculationSettings include Google::Apis::Core::Hashable - # The number of sheets changed. - # Corresponds to the JSON property `sheetsChanged` - # @return [Fixnum] - attr_accessor :sheets_changed - - # The number of formula cells changed. - # Corresponds to the JSON property `formulasChanged` - # @return [Fixnum] - attr_accessor :formulas_changed - - # The number of non-formula cells changed. - # Corresponds to the JSON property `valuesChanged` - # @return [Fixnum] - attr_accessor :values_changed - - # The number of occurrences (possibly multiple within a cell) changed. - # For example, if replacing `"e"` with `"o"` in `"Google Sheets"`, this would - # be `"3"` because `"Google Sheets"` -> `"Googlo Shoots"`. - # Corresponds to the JSON property `occurrencesChanged` - # @return [Fixnum] - attr_accessor :occurrences_changed - - # The number of rows changed. - # Corresponds to the JSON property `rowsChanged` - # @return [Fixnum] - attr_accessor :rows_changed - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sheets_changed = args[:sheets_changed] if args.key?(:sheets_changed) - @formulas_changed = args[:formulas_changed] if args.key?(:formulas_changed) - @values_changed = args[:values_changed] if args.key?(:values_changed) - @occurrences_changed = args[:occurrences_changed] if args.key?(:occurrences_changed) - @rows_changed = args[:rows_changed] if args.key?(:rows_changed) - end - end - - # Deletes the embedded object with the given ID. - class DeleteEmbeddedObjectRequest - include Google::Apis::Core::Hashable - - # The ID of the embedded object to delete. - # Corresponds to the JSON property `objectId` - # @return [Fixnum] - attr_accessor :object_id_prop - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - end - end - - # Duplicates a particular filter view. - class DuplicateFilterViewRequest - include Google::Apis::Core::Hashable - - # The ID of the filter being duplicated. - # Corresponds to the JSON property `filterId` - # @return [Fixnum] - attr_accessor :filter_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @filter_id = args[:filter_id] if args.key?(:filter_id) - end - end - - # Deletes the requested sheet. - class DeleteSheetRequest - include Google::Apis::Core::Hashable - - # The ID of the sheet to delete. - # Corresponds to the JSON property `sheetId` - # @return [Fixnum] - attr_accessor :sheet_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sheet_id = args[:sheet_id] if args.key?(:sheet_id) - end - end - - # The result of updating a conditional format rule. - class UpdateConditionalFormatRuleResponse - include Google::Apis::Core::Hashable - - # A rule describing a conditional format. - # Corresponds to the JSON property `oldRule` - # @return [Google::Apis::SheetsV4::ConditionalFormatRule] - attr_accessor :old_rule - - # The index of the new rule. - # Corresponds to the JSON property `newIndex` - # @return [Fixnum] - attr_accessor :new_index - - # A rule describing a conditional format. - # Corresponds to the JSON property `newRule` - # @return [Google::Apis::SheetsV4::ConditionalFormatRule] - attr_accessor :new_rule - - # The old index of the rule. Not set if a rule was replaced - # (because it is the same as new_index). - # Corresponds to the JSON property `oldIndex` - # @return [Fixnum] - attr_accessor :old_index - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @old_rule = args[:old_rule] if args.key?(:old_rule) - @new_index = args[:new_index] if args.key?(:new_index) - @new_rule = args[:new_rule] if args.key?(:new_rule) - @old_index = args[:old_index] if args.key?(:old_index) - end - end - - # Duplicates the contents of a sheet. - class DuplicateSheetRequest - include Google::Apis::Core::Hashable - - # The sheet to duplicate. - # Corresponds to the JSON property `sourceSheetId` - # @return [Fixnum] - attr_accessor :source_sheet_id - - # If set, the ID of the new sheet. If not set, an ID is chosen. - # If set, the ID must not conflict with any existing sheet ID. - # If set, it must be non-negative. - # Corresponds to the JSON property `newSheetId` - # @return [Fixnum] - attr_accessor :new_sheet_id - - # The zero-based index where the new sheet should be inserted. - # The index of all sheets after this are incremented. - # Corresponds to the JSON property `insertSheetIndex` - # @return [Fixnum] - attr_accessor :insert_sheet_index - - # The name of the new sheet. If empty, a new name is chosen for you. - # Corresponds to the JSON property `newSheetName` - # @return [String] - attr_accessor :new_sheet_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @source_sheet_id = args[:source_sheet_id] if args.key?(:source_sheet_id) - @new_sheet_id = args[:new_sheet_id] if args.key?(:new_sheet_id) - @insert_sheet_index = args[:insert_sheet_index] if args.key?(:insert_sheet_index) - @new_sheet_name = args[:new_sheet_name] if args.key?(:new_sheet_name) - end - end - - # The value of the condition. - class ConditionValue - include Google::Apis::Core::Hashable - - # A value the condition is based on. - # The value will be parsed as if the user typed into a cell. - # Formulas are supported (and must begin with an `=`). - # Corresponds to the JSON property `userEnteredValue` - # @return [String] - attr_accessor :user_entered_value - - # A relative date (based on the current date). - # Valid only if the type is - # DATE_BEFORE, - # DATE_AFTER, - # DATE_ON_OR_BEFORE or - # DATE_ON_OR_AFTER. - # Relative dates are not supported in data validation. - # They are supported only in conditional formatting and - # conditional filters. - # Corresponds to the JSON property `relativeDate` - # @return [String] - attr_accessor :relative_date - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @user_entered_value = args[:user_entered_value] if args.key?(:user_entered_value) - @relative_date = args[:relative_date] if args.key?(:relative_date) - end - end - - # The kinds of value that a cell in a spreadsheet can have. - class ExtendedValue - include Google::Apis::Core::Hashable - - # An error in a cell. - # Corresponds to the JSON property `errorValue` - # @return [Google::Apis::SheetsV4::ErrorValue] - attr_accessor :error_value - - # Represents a formula. - # Corresponds to the JSON property `formulaValue` - # @return [String] - attr_accessor :formula_value - - # Represents a boolean value. - # Corresponds to the JSON property `boolValue` - # @return [Boolean] - attr_accessor :bool_value - alias_method :bool_value?, :bool_value - - # Represents a string value. - # Leading single quotes are not included. For example, if the user typed - # `'123` into the UI, this would be represented as a `stringValue` of - # `"123"`. - # Corresponds to the JSON property `stringValue` - # @return [String] - attr_accessor :string_value - - # Represents a double value. - # Note: Dates, Times and DateTimes are represented as doubles in - # "serial number" format. - # Corresponds to the JSON property `numberValue` + # When iterative calculation is enabled and successive results differ by + # less than this threshold value, the calculation rounds stop. + # Corresponds to the JSON property `convergenceThreshold` # @return [Float] - attr_accessor :number_value + attr_accessor :convergence_threshold + + # When iterative calculation is enabled, the maximum number of calculation + # rounds to perform. + # Corresponds to the JSON property `maxIterations` + # @return [Fixnum] + attr_accessor :max_iterations def initialize(**args) update!(**args) @@ -6926,63 +4470,45 @@ module Google # Update properties of this object def update!(**args) - @error_value = args[:error_value] if args.key?(:error_value) - @formula_value = args[:formula_value] if args.key?(:formula_value) - @bool_value = args[:bool_value] if args.key?(:bool_value) - @string_value = args[:string_value] if args.key?(:string_value) - @number_value = args[:number_value] if args.key?(:number_value) + @convergence_threshold = args[:convergence_threshold] if args.key?(:convergence_threshold) + @max_iterations = args[:max_iterations] if args.key?(:max_iterations) end end - # Adds a chart to a sheet in the spreadsheet. - class AddChartRequest + # Merges all cells in the range. + class MergeCellsRequest include Google::Apis::Core::Hashable - # A chart embedded in a sheet. - # Corresponds to the JSON property `chart` - # @return [Google::Apis::SheetsV4::EmbeddedChart] - attr_accessor :chart - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @chart = args[:chart] if args.key?(:chart) - end - end - - # Resource that represents a spreadsheet. - class Spreadsheet - include Google::Apis::Core::Hashable - - # The named ranges defined in a spreadsheet. - # Corresponds to the JSON property `namedRanges` - # @return [Array] - attr_accessor :named_ranges - - # The sheets that are part of a spreadsheet. - # Corresponds to the JSON property `sheets` - # @return [Array] - attr_accessor :sheets - - # The ID of the spreadsheet. - # This field is read-only. - # Corresponds to the JSON property `spreadsheetId` + # How the cells should be merged. + # Corresponds to the JSON property `mergeType` # @return [String] - attr_accessor :spreadsheet_id + attr_accessor :merge_type - # The url of the spreadsheet. - # This field is read-only. - # Corresponds to the JSON property `spreadsheetUrl` - # @return [String] - attr_accessor :spreadsheet_url - - # Properties of a spreadsheet. - # Corresponds to the JSON property `properties` - # @return [Google::Apis::SheetsV4::SpreadsheetProperties] - attr_accessor :properties + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range def initialize(**args) update!(**args) @@ -6990,30 +4516,38 @@ module Google # Update properties of this object def update!(**args) - @named_ranges = args[:named_ranges] if args.key?(:named_ranges) - @sheets = args[:sheets] if args.key?(:sheets) - @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) - @spreadsheet_url = args[:spreadsheet_url] if args.key?(:spreadsheet_url) - @properties = args[:properties] if args.key?(:properties) + @merge_type = args[:merge_type] if args.key?(:merge_type) + @range = args[:range] if args.key?(:range) end end - # The response when clearing a range of values in a spreadsheet. - class BatchClearValuesResponse + # Moves one or more rows or columns. + class MoveDimensionRequest include Google::Apis::Core::Hashable - # The ranges that were cleared, in A1 notation. - # (If the requests were for an unbounded range or a ranger larger - # than the bounds of the sheet, this will be the actual ranges - # that were cleared, bounded to the sheet's limits.) - # Corresponds to the JSON property `clearedRanges` - # @return [Array] - attr_accessor :cleared_ranges + # The zero-based start index of where to move the source data to, + # based on the coordinates *before* the source data is removed + # from the grid. Existing data will be shifted down or right + # (depending on the dimension) to make room for the moved dimensions. + # The source dimensions are removed from the grid, so the + # the data may end up in a different index than specified. + # For example, given `A1..A5` of `0, 1, 2, 3, 4` and wanting to move + # `"1"` and `"2"` to between `"3"` and `"4"`, the source would be + # `ROWS [1..3)`,and the destination index would be `"4"` + # (the zero-based index of row 5). + # The end result would be `A1..A5` of `0, 3, 1, 2, 4`. + # Corresponds to the JSON property `destinationIndex` + # @return [Fixnum] + attr_accessor :destination_index - # The spreadsheet the updates were applied to. - # Corresponds to the JSON property `spreadsheetId` - # @return [String] - attr_accessor :spreadsheet_id + # A range along a single dimension on a sheet. + # All indexes are zero-based. + # Indexes are half open: the start index is inclusive + # and the end index is exclusive. + # Missing indexes indicate the range is unbounded on that side. + # Corresponds to the JSON property `source` + # @return [Google::Apis::SheetsV4::DimensionRange] + attr_accessor :source def initialize(**args) update!(**args) @@ -7021,15 +4555,110 @@ module Google # Update properties of this object def update!(**args) - @cleared_ranges = args[:cleared_ranges] if args.key?(:cleared_ranges) - @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + @destination_index = args[:destination_index] if args.key?(:destination_index) + @source = args[:source] if args.key?(:source) end end - # A histogram series containing the series color and data. - class HistogramSeries + # A named range. + class NamedRange include Google::Apis::Core::Hashable + # The name of the named range. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The ID of the named range. + # Corresponds to the JSON property `namedRangeId` + # @return [String] + attr_accessor :named_range_id + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @named_range_id = args[:named_range_id] if args.key?(:named_range_id) + @range = args[:range] if args.key?(:range) + end + end + + # The number format of a cell. + class NumberFormat + include Google::Apis::Core::Hashable + + # Pattern string used for formatting. If not set, a default pattern based on + # the user's locale will be used if necessary for the given type. + # See the [Date and Number Formats guide](/sheets/api/guides/formats) for more + # information about the supported patterns. + # Corresponds to the JSON property `pattern` + # @return [String] + attr_accessor :pattern + + # The type of the number format. + # When writing, this field must be set. + # 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) + @pattern = args[:pattern] if args.key?(:pattern) + @type = args[:type] if args.key?(:type) + end + end + + # An org chart. + # Org charts require a unique set of labels in labels and may + # optionally include parent_labels and tooltips. + # parent_labels contain, for each node, the label identifying the parent + # node. tooltips contain, for each node, an optional tooltip. + # For example, to describe an OrgChart with Alice as the CEO, Bob as the + # President (reporting to Alice) and Cathy as VP of Sales (also reporting to + # Alice), have labels contain "Alice", "Bob", "Cathy", + # parent_labels contain "", "Alice", "Alice" and tooltips contain + # "CEO", "President", "VP Sales". + class OrgChartSpec + include Google::Apis::Core::Hashable + + # The data included in a domain or series. + # Corresponds to the JSON property `labels` + # @return [Google::Apis::SheetsV4::ChartData] + attr_accessor :labels + # 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 @@ -7129,14 +4758,127 @@ module Google # return resultBuilder.join(''); # `; # // ... - # Corresponds to the JSON property `barColor` + # Corresponds to the JSON property `nodeColor` # @return [Google::Apis::SheetsV4::Color] - attr_accessor :bar_color + attr_accessor :node_color + + # The size of the org chart nodes. + # Corresponds to the JSON property `nodeSize` + # @return [String] + attr_accessor :node_size # The data included in a domain or series. - # Corresponds to the JSON property `data` + # Corresponds to the JSON property `parentLabels` # @return [Google::Apis::SheetsV4::ChartData] - attr_accessor :data + attr_accessor :parent_labels + + # 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 `selectedNodeColor` + # @return [Google::Apis::SheetsV4::Color] + attr_accessor :selected_node_color + + # The data included in a domain or series. + # Corresponds to the JSON property `tooltips` + # @return [Google::Apis::SheetsV4::ChartData] + attr_accessor :tooltips def initialize(**args) update!(**args) @@ -7144,44 +4886,462 @@ module Google # Update properties of this object def update!(**args) - @bar_color = args[:bar_color] if args.key?(:bar_color) - @data = args[:data] if args.key?(:data) + @labels = args[:labels] if args.key?(:labels) + @node_color = args[:node_color] if args.key?(:node_color) + @node_size = args[:node_size] if args.key?(:node_size) + @parent_labels = args[:parent_labels] if args.key?(:parent_labels) + @selected_node_color = args[:selected_node_color] if args.key?(:selected_node_color) + @tooltips = args[:tooltips] if args.key?(:tooltips) end end - # A banded (alternating colors) range in a sheet. - class BandedRange + # The location an object is overlaid on top of a grid. + class OverlayPosition include Google::Apis::Core::Hashable - # Properties referring a single dimension (either row or column). If both - # BandedRange.row_properties and BandedRange.column_properties are - # set, the fill colors are applied to cells according to the following rules: - # * header_color and footer_color take priority over band colors. - # * first_band_color takes priority over second_band_color. - # * row_properties takes priority over column_properties. - # For example, the first row color takes priority over the first column - # color, but the first column color takes priority over the second row color. - # Similarly, the row header takes priority over the column header in the - # top left cell, but the column header takes priority over the first row - # color if the row header is not set. - # Corresponds to the JSON property `columnProperties` - # @return [Google::Apis::SheetsV4::BandingProperties] - attr_accessor :column_properties + # A coordinate in a sheet. + # All indexes are zero-based. + # Corresponds to the JSON property `anchorCell` + # @return [Google::Apis::SheetsV4::GridCoordinate] + attr_accessor :anchor_cell - # Properties referring a single dimension (either row or column). If both - # BandedRange.row_properties and BandedRange.column_properties are - # set, the fill colors are applied to cells according to the following rules: - # * header_color and footer_color take priority over band colors. - # * first_band_color takes priority over second_band_color. - # * row_properties takes priority over column_properties. - # For example, the first row color takes priority over the first column - # color, but the first column color takes priority over the second row color. - # Similarly, the row header takes priority over the column header in the - # top left cell, but the column header takes priority over the first row - # color if the row header is not set. - # Corresponds to the JSON property `rowProperties` - # @return [Google::Apis::SheetsV4::BandingProperties] - attr_accessor :row_properties + # The height of the object, in pixels. Defaults to 371. + # Corresponds to the JSON property `heightPixels` + # @return [Fixnum] + attr_accessor :height_pixels + + # The horizontal offset, in pixels, that the object is offset + # from the anchor cell. + # Corresponds to the JSON property `offsetXPixels` + # @return [Fixnum] + attr_accessor :offset_x_pixels + + # The vertical offset, in pixels, that the object is offset + # from the anchor cell. + # Corresponds to the JSON property `offsetYPixels` + # @return [Fixnum] + attr_accessor :offset_y_pixels + + # The width of the object, in pixels. Defaults to 600. + # Corresponds to the JSON property `widthPixels` + # @return [Fixnum] + attr_accessor :width_pixels + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @anchor_cell = args[:anchor_cell] if args.key?(:anchor_cell) + @height_pixels = args[:height_pixels] if args.key?(:height_pixels) + @offset_x_pixels = args[:offset_x_pixels] if args.key?(:offset_x_pixels) + @offset_y_pixels = args[:offset_y_pixels] if args.key?(:offset_y_pixels) + @width_pixels = args[:width_pixels] if args.key?(:width_pixels) + end + end + + # The amount of padding around the cell, in pixels. + # When updating padding, every field must be specified. + class Padding + include Google::Apis::Core::Hashable + + # The bottom padding of the cell. + # Corresponds to the JSON property `bottom` + # @return [Fixnum] + attr_accessor :bottom + + # The left padding of the cell. + # Corresponds to the JSON property `left` + # @return [Fixnum] + attr_accessor :left + + # The right padding of the cell. + # Corresponds to the JSON property `right` + # @return [Fixnum] + attr_accessor :right + + # The top padding of the cell. + # Corresponds to the JSON property `top` + # @return [Fixnum] + attr_accessor :top + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bottom = args[:bottom] if args.key?(:bottom) + @left = args[:left] if args.key?(:left) + @right = args[:right] if args.key?(:right) + @top = args[:top] if args.key?(:top) + end + end + + # Inserts data into the spreadsheet starting at the specified coordinate. + class PasteDataRequest + include Google::Apis::Core::Hashable + + # A coordinate in a sheet. + # All indexes are zero-based. + # Corresponds to the JSON property `coordinate` + # @return [Google::Apis::SheetsV4::GridCoordinate] + attr_accessor :coordinate + + # The data to insert. + # Corresponds to the JSON property `data` + # @return [String] + attr_accessor :data + + # The delimiter in the data. + # Corresponds to the JSON property `delimiter` + # @return [String] + attr_accessor :delimiter + + # True if the data is HTML. + # Corresponds to the JSON property `html` + # @return [Boolean] + attr_accessor :html + alias_method :html?, :html + + # How the data should be pasted. + # 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) + @coordinate = args[:coordinate] if args.key?(:coordinate) + @data = args[:data] if args.key?(:data) + @delimiter = args[:delimiter] if args.key?(:delimiter) + @html = args[:html] if args.key?(:html) + @type = args[:type] if args.key?(:type) + end + end + + # A pie chart. + class PieChartSpec + include Google::Apis::Core::Hashable + + # The data included in a domain or series. + # Corresponds to the JSON property `domain` + # @return [Google::Apis::SheetsV4::ChartData] + attr_accessor :domain + + # Where the legend of the pie chart should be drawn. + # Corresponds to the JSON property `legendPosition` + # @return [String] + attr_accessor :legend_position + + # The size of the hole in the pie chart. + # Corresponds to the JSON property `pieHole` + # @return [Float] + attr_accessor :pie_hole + + # The data included in a domain or series. + # Corresponds to the JSON property `series` + # @return [Google::Apis::SheetsV4::ChartData] + attr_accessor :series + + # True if the pie is three dimensional. + # Corresponds to the JSON property `threeDimensional` + # @return [Boolean] + attr_accessor :three_dimensional + alias_method :three_dimensional?, :three_dimensional + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @domain = args[:domain] if args.key?(:domain) + @legend_position = args[:legend_position] if args.key?(:legend_position) + @pie_hole = args[:pie_hole] if args.key?(:pie_hole) + @series = args[:series] if args.key?(:series) + @three_dimensional = args[:three_dimensional] if args.key?(:three_dimensional) + end + end + + # Criteria for showing/hiding rows in a pivot table. + class PivotFilterCriteria + include Google::Apis::Core::Hashable + + # Values that should be included. Values not listed here are excluded. + # Corresponds to the JSON property `visibleValues` + # @return [Array] + attr_accessor :visible_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @visible_values = args[:visible_values] if args.key?(:visible_values) + end + end + + # A single grouping (either row or column) in a pivot table. + class PivotGroup + include Google::Apis::Core::Hashable + + # True if the pivot table should include the totals for this grouping. + # Corresponds to the JSON property `showTotals` + # @return [Boolean] + attr_accessor :show_totals + alias_method :show_totals?, :show_totals + + # The order the values in this group should be sorted. + # Corresponds to the JSON property `sortOrder` + # @return [String] + attr_accessor :sort_order + + # The column offset of the source range that this grouping is based on. + # For example, if the source was `C10:E15`, a `sourceColumnOffset` of `0` + # means this group refers to column `C`, whereas the offset `1` would refer + # to column `D`. + # Corresponds to the JSON property `sourceColumnOffset` + # @return [Fixnum] + attr_accessor :source_column_offset + + # Information about which values in a pivot group should be used for sorting. + # Corresponds to the JSON property `valueBucket` + # @return [Google::Apis::SheetsV4::PivotGroupSortValueBucket] + attr_accessor :value_bucket + + # Metadata about values in the grouping. + # Corresponds to the JSON property `valueMetadata` + # @return [Array] + attr_accessor :value_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @show_totals = args[:show_totals] if args.key?(:show_totals) + @sort_order = args[:sort_order] if args.key?(:sort_order) + @source_column_offset = args[:source_column_offset] if args.key?(:source_column_offset) + @value_bucket = args[:value_bucket] if args.key?(:value_bucket) + @value_metadata = args[:value_metadata] if args.key?(:value_metadata) + end + end + + # Information about which values in a pivot group should be used for sorting. + class PivotGroupSortValueBucket + include Google::Apis::Core::Hashable + + # Determines the bucket from which values are chosen to sort. + # For example, in a pivot table with one row group & two column groups, + # the row group can list up to two values. The first value corresponds + # to a value within the first column group, and the second value + # corresponds to a value in the second column group. If no values + # are listed, this would indicate that the row should be sorted according + # to the "Grand Total" over the column groups. If a single value is listed, + # this would correspond to using the "Total" of that bucket. + # Corresponds to the JSON property `buckets` + # @return [Array] + attr_accessor :buckets + + # The offset in the PivotTable.values list which the values in this + # grouping should be sorted by. + # Corresponds to the JSON property `valuesIndex` + # @return [Fixnum] + attr_accessor :values_index + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @buckets = args[:buckets] if args.key?(:buckets) + @values_index = args[:values_index] if args.key?(:values_index) + end + end + + # Metadata about a value in a pivot grouping. + class PivotGroupValueMetadata + include Google::Apis::Core::Hashable + + # True if the data corresponding to the value is collapsed. + # Corresponds to the JSON property `collapsed` + # @return [Boolean] + attr_accessor :collapsed + alias_method :collapsed?, :collapsed + + # The kinds of value that a cell in a spreadsheet can have. + # Corresponds to the JSON property `value` + # @return [Google::Apis::SheetsV4::ExtendedValue] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @collapsed = args[:collapsed] if args.key?(:collapsed) + @value = args[:value] if args.key?(:value) + end + end + + # A pivot table. + class PivotTable + include Google::Apis::Core::Hashable + + # Each column grouping in the pivot table. + # Corresponds to the JSON property `columns` + # @return [Array] + attr_accessor :columns + + # An optional mapping of filters per source column offset. + # The filters will be applied before aggregating data into the pivot table. + # The map's key is the column offset of the source range that you want to + # filter, and the value is the criteria for that column. + # For example, if the source was `C10:E15`, a key of `0` will have the filter + # for column `C`, whereas the key `1` is for column `D`. + # Corresponds to the JSON property `criteria` + # @return [Hash] + attr_accessor :criteria + + # Each row grouping in the pivot table. + # Corresponds to the JSON property `rows` + # @return [Array] + attr_accessor :rows + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `source` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :source + + # Whether values should be listed horizontally (as columns) + # or vertically (as rows). + # Corresponds to the JSON property `valueLayout` + # @return [String] + attr_accessor :value_layout + + # A list of values to include in the pivot table. + # 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) + @columns = args[:columns] if args.key?(:columns) + @criteria = args[:criteria] if args.key?(:criteria) + @rows = args[:rows] if args.key?(:rows) + @source = args[:source] if args.key?(:source) + @value_layout = args[:value_layout] if args.key?(:value_layout) + @values = args[:values] if args.key?(:values) + end + end + + # The definition of how a value in a pivot table should be calculated. + class PivotValue + include Google::Apis::Core::Hashable + + # A custom formula to calculate the value. The formula must start + # with an `=` character. + # Corresponds to the JSON property `formula` + # @return [String] + attr_accessor :formula + + # A name to use for the value. This is only used if formula was set. + # Otherwise, the column name is used. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The column offset of the source range that this value reads from. + # For example, if the source was `C10:E15`, a `sourceColumnOffset` of `0` + # means this value refers to column `C`, whereas the offset `1` would + # refer to column `D`. + # Corresponds to the JSON property `sourceColumnOffset` + # @return [Fixnum] + attr_accessor :source_column_offset + + # A function to summarize the value. + # If formula is set, the only supported values are + # SUM and + # CUSTOM. + # If sourceColumnOffset is set, then `CUSTOM` + # is not supported. + # Corresponds to the JSON property `summarizeFunction` + # @return [String] + attr_accessor :summarize_function + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @formula = args[:formula] if args.key?(:formula) + @name = args[:name] if args.key?(:name) + @source_column_offset = args[:source_column_offset] if args.key?(:source_column_offset) + @summarize_function = args[:summarize_function] if args.key?(:summarize_function) + end + end + + # A protected range. + class ProtectedRange + include Google::Apis::Core::Hashable + + # The description of this protected range. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The editors of a protected range. + # Corresponds to the JSON property `editors` + # @return [Google::Apis::SheetsV4::Editors] + attr_accessor :editors + + # The named range this protected range is backed by, if any. + # When writing, only one of range or named_range_id + # may be set. + # Corresponds to the JSON property `namedRangeId` + # @return [String] + attr_accessor :named_range_id + + # The ID of the protected range. + # This field is read-only. + # Corresponds to the JSON property `protectedRangeId` + # @return [Fixnum] + attr_accessor :protected_range_id # A range on a sheet. # All indexes are zero-based. @@ -7209,10 +5369,32 @@ module Google # @return [Google::Apis::SheetsV4::GridRange] attr_accessor :range - # The id of the banded range. - # Corresponds to the JSON property `bandedRangeId` - # @return [Fixnum] - attr_accessor :banded_range_id + # True if the user who requested this protected range can edit the + # protected area. + # This field is read-only. + # Corresponds to the JSON property `requestingUserCanEdit` + # @return [Boolean] + attr_accessor :requesting_user_can_edit + alias_method :requesting_user_can_edit?, :requesting_user_can_edit + + # The list of unprotected ranges within a protected sheet. + # Unprotected ranges are only supported on protected sheets. + # Corresponds to the JSON property `unprotectedRanges` + # @return [Array] + attr_accessor :unprotected_ranges + + # True if this protected range will show a warning when editing. + # Warning-based protection means that every user can edit data in the + # protected range, except editing will prompt a warning asking the user + # to confirm the edit. + # When writing: if this field is true, then editors is ignored. + # Additionally, if this field is changed from true to false and the + # `editors` field is not set (nor included in the field mask), then + # the editors will be set to all the editors in the document. + # Corresponds to the JSON property `warningOnly` + # @return [Boolean] + attr_accessor :warning_only + alias_method :warning_only?, :warning_only def initialize(**args) update!(**args) @@ -7220,29 +5402,108 @@ module Google # Update properties of this object def update!(**args) - @column_properties = args[:column_properties] if args.key?(:column_properties) - @row_properties = args[:row_properties] if args.key?(:row_properties) + @description = args[:description] if args.key?(:description) + @editors = args[:editors] if args.key?(:editors) + @named_range_id = args[:named_range_id] if args.key?(:named_range_id) + @protected_range_id = args[:protected_range_id] if args.key?(:protected_range_id) @range = args[:range] if args.key?(:range) - @banded_range_id = args[:banded_range_id] if args.key?(:banded_range_id) + @requesting_user_can_edit = args[:requesting_user_can_edit] if args.key?(:requesting_user_can_edit) + @unprotected_ranges = args[:unprotected_ranges] if args.key?(:unprotected_ranges) + @warning_only = args[:warning_only] if args.key?(:warning_only) end end - # Updates an existing protected range with the specified - # protectedRangeId. - class UpdateProtectedRangeRequest + # Randomizes the order of the rows in a range. + class RandomizeRangeRequest include Google::Apis::Core::Hashable + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @range = args[:range] if args.key?(:range) + end + end + + # Updates all cells in the range to the values in the given Cell object. + # Only the fields listed in the fields field are updated; others are + # unchanged. + # If writing a cell with a formula, the formula's ranges will automatically + # increment for each field in the range. + # For example, if writing a cell with formula `=A1` into range B2:C4, + # B2 would be `=A1`, B3 would be `=A2`, B4 would be `=A3`, + # C2 would be `=B1`, C3 would be `=B2`, C4 would be `=B3`. + # To keep the formula's ranges static, use the `$` indicator. + # For example, use the formula `=$A$1` to prevent both the row and the + # column from incrementing. + class RepeatCellRequest + include Google::Apis::Core::Hashable + + # Data about a specific cell. + # Corresponds to the JSON property `cell` + # @return [Google::Apis::SheetsV4::CellData] + attr_accessor :cell + # The fields that should be updated. At least one field must be specified. - # The root `protectedRange` is implied and should not be specified. + # The root `cell` is implied and should not be specified. # A single `"*"` can be used as short-hand for listing every field. # Corresponds to the JSON property `fields` # @return [String] attr_accessor :fields - # A protected range. - # Corresponds to the JSON property `protectedRange` - # @return [Google::Apis::SheetsV4::ProtectedRange] - attr_accessor :protected_range + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range def initialize(**args) update!(**args) @@ -7250,8 +5511,1002 @@ module Google # Update properties of this object def update!(**args) + @cell = args[:cell] if args.key?(:cell) @fields = args[:fields] if args.key?(:fields) - @protected_range = args[:protected_range] if args.key?(:protected_range) + @range = args[:range] if args.key?(:range) + end + end + + # A single kind of update to apply to a spreadsheet. + class Request + include Google::Apis::Core::Hashable + + # Adds a new banded range to the spreadsheet. + # Corresponds to the JSON property `addBanding` + # @return [Google::Apis::SheetsV4::AddBandingRequest] + attr_accessor :add_banding + + # Adds a chart to a sheet in the spreadsheet. + # Corresponds to the JSON property `addChart` + # @return [Google::Apis::SheetsV4::AddChartRequest] + attr_accessor :add_chart + + # Adds a new conditional format rule at the given index. + # All subsequent rules' indexes are incremented. + # Corresponds to the JSON property `addConditionalFormatRule` + # @return [Google::Apis::SheetsV4::AddConditionalFormatRuleRequest] + attr_accessor :add_conditional_format_rule + + # Adds a filter view. + # Corresponds to the JSON property `addFilterView` + # @return [Google::Apis::SheetsV4::AddFilterViewRequest] + attr_accessor :add_filter_view + + # Adds a named range to the spreadsheet. + # Corresponds to the JSON property `addNamedRange` + # @return [Google::Apis::SheetsV4::AddNamedRangeRequest] + attr_accessor :add_named_range + + # Adds a new protected range. + # Corresponds to the JSON property `addProtectedRange` + # @return [Google::Apis::SheetsV4::AddProtectedRangeRequest] + attr_accessor :add_protected_range + + # Adds a new sheet. + # When a sheet is added at a given index, + # all subsequent sheets' indexes are incremented. + # To add an object sheet, use AddChartRequest instead and specify + # EmbeddedObjectPosition.sheetId or + # EmbeddedObjectPosition.newSheet. + # Corresponds to the JSON property `addSheet` + # @return [Google::Apis::SheetsV4::AddSheetRequest] + attr_accessor :add_sheet + + # Adds new cells after the last row with data in a sheet, + # inserting new rows into the sheet if necessary. + # Corresponds to the JSON property `appendCells` + # @return [Google::Apis::SheetsV4::AppendCellsRequest] + attr_accessor :append_cells + + # Appends rows or columns to the end of a sheet. + # Corresponds to the JSON property `appendDimension` + # @return [Google::Apis::SheetsV4::AppendDimensionRequest] + attr_accessor :append_dimension + + # Fills in more data based on existing data. + # Corresponds to the JSON property `autoFill` + # @return [Google::Apis::SheetsV4::AutoFillRequest] + attr_accessor :auto_fill + + # Automatically resizes one or more dimensions based on the contents + # of the cells in that dimension. + # Corresponds to the JSON property `autoResizeDimensions` + # @return [Google::Apis::SheetsV4::AutoResizeDimensionsRequest] + attr_accessor :auto_resize_dimensions + + # Clears the basic filter, if any exists on the sheet. + # Corresponds to the JSON property `clearBasicFilter` + # @return [Google::Apis::SheetsV4::ClearBasicFilterRequest] + attr_accessor :clear_basic_filter + + # Copies data from the source to the destination. + # Corresponds to the JSON property `copyPaste` + # @return [Google::Apis::SheetsV4::CopyPasteRequest] + attr_accessor :copy_paste + + # Moves data from the source to the destination. + # Corresponds to the JSON property `cutPaste` + # @return [Google::Apis::SheetsV4::CutPasteRequest] + attr_accessor :cut_paste + + # Removes the banded range with the given ID from the spreadsheet. + # Corresponds to the JSON property `deleteBanding` + # @return [Google::Apis::SheetsV4::DeleteBandingRequest] + attr_accessor :delete_banding + + # Deletes a conditional format rule at the given index. + # All subsequent rules' indexes are decremented. + # Corresponds to the JSON property `deleteConditionalFormatRule` + # @return [Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest] + attr_accessor :delete_conditional_format_rule + + # Deletes the dimensions from the sheet. + # Corresponds to the JSON property `deleteDimension` + # @return [Google::Apis::SheetsV4::DeleteDimensionRequest] + attr_accessor :delete_dimension + + # Deletes the embedded object with the given ID. + # Corresponds to the JSON property `deleteEmbeddedObject` + # @return [Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest] + attr_accessor :delete_embedded_object + + # Deletes a particular filter view. + # Corresponds to the JSON property `deleteFilterView` + # @return [Google::Apis::SheetsV4::DeleteFilterViewRequest] + attr_accessor :delete_filter_view + + # Removes the named range with the given ID from the spreadsheet. + # Corresponds to the JSON property `deleteNamedRange` + # @return [Google::Apis::SheetsV4::DeleteNamedRangeRequest] + attr_accessor :delete_named_range + + # Deletes the protected range with the given ID. + # Corresponds to the JSON property `deleteProtectedRange` + # @return [Google::Apis::SheetsV4::DeleteProtectedRangeRequest] + attr_accessor :delete_protected_range + + # Deletes a range of cells, shifting other cells into the deleted area. + # Corresponds to the JSON property `deleteRange` + # @return [Google::Apis::SheetsV4::DeleteRangeRequest] + attr_accessor :delete_range + + # Deletes the requested sheet. + # Corresponds to the JSON property `deleteSheet` + # @return [Google::Apis::SheetsV4::DeleteSheetRequest] + attr_accessor :delete_sheet + + # Duplicates a particular filter view. + # Corresponds to the JSON property `duplicateFilterView` + # @return [Google::Apis::SheetsV4::DuplicateFilterViewRequest] + attr_accessor :duplicate_filter_view + + # Duplicates the contents of a sheet. + # Corresponds to the JSON property `duplicateSheet` + # @return [Google::Apis::SheetsV4::DuplicateSheetRequest] + attr_accessor :duplicate_sheet + + # Finds and replaces data in cells over a range, sheet, or all sheets. + # Corresponds to the JSON property `findReplace` + # @return [Google::Apis::SheetsV4::FindReplaceRequest] + attr_accessor :find_replace + + # Inserts rows or columns in a sheet at a particular index. + # Corresponds to the JSON property `insertDimension` + # @return [Google::Apis::SheetsV4::InsertDimensionRequest] + attr_accessor :insert_dimension + + # Inserts cells into a range, shifting the existing cells over or down. + # Corresponds to the JSON property `insertRange` + # @return [Google::Apis::SheetsV4::InsertRangeRequest] + attr_accessor :insert_range + + # Merges all cells in the range. + # Corresponds to the JSON property `mergeCells` + # @return [Google::Apis::SheetsV4::MergeCellsRequest] + attr_accessor :merge_cells + + # Moves one or more rows or columns. + # Corresponds to the JSON property `moveDimension` + # @return [Google::Apis::SheetsV4::MoveDimensionRequest] + attr_accessor :move_dimension + + # Inserts data into the spreadsheet starting at the specified coordinate. + # Corresponds to the JSON property `pasteData` + # @return [Google::Apis::SheetsV4::PasteDataRequest] + attr_accessor :paste_data + + # Randomizes the order of the rows in a range. + # Corresponds to the JSON property `randomizeRange` + # @return [Google::Apis::SheetsV4::RandomizeRangeRequest] + attr_accessor :randomize_range + + # Updates all cells in the range to the values in the given Cell object. + # Only the fields listed in the fields field are updated; others are + # unchanged. + # If writing a cell with a formula, the formula's ranges will automatically + # increment for each field in the range. + # For example, if writing a cell with formula `=A1` into range B2:C4, + # B2 would be `=A1`, B3 would be `=A2`, B4 would be `=A3`, + # C2 would be `=B1`, C3 would be `=B2`, C4 would be `=B3`. + # To keep the formula's ranges static, use the `$` indicator. + # For example, use the formula `=$A$1` to prevent both the row and the + # column from incrementing. + # Corresponds to the JSON property `repeatCell` + # @return [Google::Apis::SheetsV4::RepeatCellRequest] + attr_accessor :repeat_cell + + # Sets the basic filter associated with a sheet. + # Corresponds to the JSON property `setBasicFilter` + # @return [Google::Apis::SheetsV4::SetBasicFilterRequest] + attr_accessor :set_basic_filter + + # Sets a data validation rule to every cell in the range. + # To clear validation in a range, call this with no rule specified. + # Corresponds to the JSON property `setDataValidation` + # @return [Google::Apis::SheetsV4::SetDataValidationRequest] + attr_accessor :set_data_validation + + # Sorts data in rows based on a sort order per column. + # Corresponds to the JSON property `sortRange` + # @return [Google::Apis::SheetsV4::SortRangeRequest] + attr_accessor :sort_range + + # Splits a column of text into multiple columns, + # based on a delimiter in each cell. + # Corresponds to the JSON property `textToColumns` + # @return [Google::Apis::SheetsV4::TextToColumnsRequest] + attr_accessor :text_to_columns + + # Unmerges cells in the given range. + # Corresponds to the JSON property `unmergeCells` + # @return [Google::Apis::SheetsV4::UnmergeCellsRequest] + attr_accessor :unmerge_cells + + # Updates properties of the supplied banded range. + # Corresponds to the JSON property `updateBanding` + # @return [Google::Apis::SheetsV4::UpdateBandingRequest] + attr_accessor :update_banding + + # Updates the borders of a range. + # If a field is not set in the request, that means the border remains as-is. + # For example, with two subsequent UpdateBordersRequest: + # 1. range: A1:A5 `` top: RED, bottom: WHITE `` + # 2. range: A1:A5 `` left: BLUE `` + # That would result in A1:A5 having a borders of + # `` top: RED, bottom: WHITE, left: BLUE ``. + # If you want to clear a border, explicitly set the style to + # NONE. + # Corresponds to the JSON property `updateBorders` + # @return [Google::Apis::SheetsV4::UpdateBordersRequest] + attr_accessor :update_borders + + # Updates all cells in a range with new data. + # Corresponds to the JSON property `updateCells` + # @return [Google::Apis::SheetsV4::UpdateCellsRequest] + attr_accessor :update_cells + + # Updates a chart's specifications. + # (This does not move or resize a chart. To move or resize a chart, use + # UpdateEmbeddedObjectPositionRequest.) + # Corresponds to the JSON property `updateChartSpec` + # @return [Google::Apis::SheetsV4::UpdateChartSpecRequest] + attr_accessor :update_chart_spec + + # Updates a conditional format rule at the given index, + # or moves a conditional format rule to another index. + # Corresponds to the JSON property `updateConditionalFormatRule` + # @return [Google::Apis::SheetsV4::UpdateConditionalFormatRuleRequest] + attr_accessor :update_conditional_format_rule + + # Updates properties of dimensions within the specified range. + # Corresponds to the JSON property `updateDimensionProperties` + # @return [Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest] + attr_accessor :update_dimension_properties + + # Update an embedded object's position (such as a moving or resizing a + # chart or image). + # Corresponds to the JSON property `updateEmbeddedObjectPosition` + # @return [Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest] + attr_accessor :update_embedded_object_position + + # Updates properties of the filter view. + # Corresponds to the JSON property `updateFilterView` + # @return [Google::Apis::SheetsV4::UpdateFilterViewRequest] + attr_accessor :update_filter_view + + # Updates properties of the named range with the specified + # namedRangeId. + # Corresponds to the JSON property `updateNamedRange` + # @return [Google::Apis::SheetsV4::UpdateNamedRangeRequest] + attr_accessor :update_named_range + + # Updates an existing protected range with the specified + # protectedRangeId. + # Corresponds to the JSON property `updateProtectedRange` + # @return [Google::Apis::SheetsV4::UpdateProtectedRangeRequest] + attr_accessor :update_protected_range + + # Updates properties of the sheet with the specified + # sheetId. + # Corresponds to the JSON property `updateSheetProperties` + # @return [Google::Apis::SheetsV4::UpdateSheetPropertiesRequest] + attr_accessor :update_sheet_properties + + # Updates properties of a spreadsheet. + # Corresponds to the JSON property `updateSpreadsheetProperties` + # @return [Google::Apis::SheetsV4::UpdateSpreadsheetPropertiesRequest] + attr_accessor :update_spreadsheet_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @add_banding = args[:add_banding] if args.key?(:add_banding) + @add_chart = args[:add_chart] if args.key?(:add_chart) + @add_conditional_format_rule = args[:add_conditional_format_rule] if args.key?(:add_conditional_format_rule) + @add_filter_view = args[:add_filter_view] if args.key?(:add_filter_view) + @add_named_range = args[:add_named_range] if args.key?(:add_named_range) + @add_protected_range = args[:add_protected_range] if args.key?(:add_protected_range) + @add_sheet = args[:add_sheet] if args.key?(:add_sheet) + @append_cells = args[:append_cells] if args.key?(:append_cells) + @append_dimension = args[:append_dimension] if args.key?(:append_dimension) + @auto_fill = args[:auto_fill] if args.key?(:auto_fill) + @auto_resize_dimensions = args[:auto_resize_dimensions] if args.key?(:auto_resize_dimensions) + @clear_basic_filter = args[:clear_basic_filter] if args.key?(:clear_basic_filter) + @copy_paste = args[:copy_paste] if args.key?(:copy_paste) + @cut_paste = args[:cut_paste] if args.key?(:cut_paste) + @delete_banding = args[:delete_banding] if args.key?(:delete_banding) + @delete_conditional_format_rule = args[:delete_conditional_format_rule] if args.key?(:delete_conditional_format_rule) + @delete_dimension = args[:delete_dimension] if args.key?(:delete_dimension) + @delete_embedded_object = args[:delete_embedded_object] if args.key?(:delete_embedded_object) + @delete_filter_view = args[:delete_filter_view] if args.key?(:delete_filter_view) + @delete_named_range = args[:delete_named_range] if args.key?(:delete_named_range) + @delete_protected_range = args[:delete_protected_range] if args.key?(:delete_protected_range) + @delete_range = args[:delete_range] if args.key?(:delete_range) + @delete_sheet = args[:delete_sheet] if args.key?(:delete_sheet) + @duplicate_filter_view = args[:duplicate_filter_view] if args.key?(:duplicate_filter_view) + @duplicate_sheet = args[:duplicate_sheet] if args.key?(:duplicate_sheet) + @find_replace = args[:find_replace] if args.key?(:find_replace) + @insert_dimension = args[:insert_dimension] if args.key?(:insert_dimension) + @insert_range = args[:insert_range] if args.key?(:insert_range) + @merge_cells = args[:merge_cells] if args.key?(:merge_cells) + @move_dimension = args[:move_dimension] if args.key?(:move_dimension) + @paste_data = args[:paste_data] if args.key?(:paste_data) + @randomize_range = args[:randomize_range] if args.key?(:randomize_range) + @repeat_cell = args[:repeat_cell] if args.key?(:repeat_cell) + @set_basic_filter = args[:set_basic_filter] if args.key?(:set_basic_filter) + @set_data_validation = args[:set_data_validation] if args.key?(:set_data_validation) + @sort_range = args[:sort_range] if args.key?(:sort_range) + @text_to_columns = args[:text_to_columns] if args.key?(:text_to_columns) + @unmerge_cells = args[:unmerge_cells] if args.key?(:unmerge_cells) + @update_banding = args[:update_banding] if args.key?(:update_banding) + @update_borders = args[:update_borders] if args.key?(:update_borders) + @update_cells = args[:update_cells] if args.key?(:update_cells) + @update_chart_spec = args[:update_chart_spec] if args.key?(:update_chart_spec) + @update_conditional_format_rule = args[:update_conditional_format_rule] if args.key?(:update_conditional_format_rule) + @update_dimension_properties = args[:update_dimension_properties] if args.key?(:update_dimension_properties) + @update_embedded_object_position = args[:update_embedded_object_position] if args.key?(:update_embedded_object_position) + @update_filter_view = args[:update_filter_view] if args.key?(:update_filter_view) + @update_named_range = args[:update_named_range] if args.key?(:update_named_range) + @update_protected_range = args[:update_protected_range] if args.key?(:update_protected_range) + @update_sheet_properties = args[:update_sheet_properties] if args.key?(:update_sheet_properties) + @update_spreadsheet_properties = args[:update_spreadsheet_properties] if args.key?(:update_spreadsheet_properties) + end + end + + # A single response from an update. + class Response + include Google::Apis::Core::Hashable + + # The result of adding a banded range. + # Corresponds to the JSON property `addBanding` + # @return [Google::Apis::SheetsV4::AddBandingResponse] + attr_accessor :add_banding + + # The result of adding a chart to a spreadsheet. + # Corresponds to the JSON property `addChart` + # @return [Google::Apis::SheetsV4::AddChartResponse] + attr_accessor :add_chart + + # The result of adding a filter view. + # Corresponds to the JSON property `addFilterView` + # @return [Google::Apis::SheetsV4::AddFilterViewResponse] + attr_accessor :add_filter_view + + # The result of adding a named range. + # Corresponds to the JSON property `addNamedRange` + # @return [Google::Apis::SheetsV4::AddNamedRangeResponse] + attr_accessor :add_named_range + + # The result of adding a new protected range. + # Corresponds to the JSON property `addProtectedRange` + # @return [Google::Apis::SheetsV4::AddProtectedRangeResponse] + attr_accessor :add_protected_range + + # The result of adding a sheet. + # Corresponds to the JSON property `addSheet` + # @return [Google::Apis::SheetsV4::AddSheetResponse] + attr_accessor :add_sheet + + # The result of deleting a conditional format rule. + # Corresponds to the JSON property `deleteConditionalFormatRule` + # @return [Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse] + attr_accessor :delete_conditional_format_rule + + # The result of a filter view being duplicated. + # Corresponds to the JSON property `duplicateFilterView` + # @return [Google::Apis::SheetsV4::DuplicateFilterViewResponse] + attr_accessor :duplicate_filter_view + + # The result of duplicating a sheet. + # Corresponds to the JSON property `duplicateSheet` + # @return [Google::Apis::SheetsV4::DuplicateSheetResponse] + attr_accessor :duplicate_sheet + + # The result of the find/replace. + # Corresponds to the JSON property `findReplace` + # @return [Google::Apis::SheetsV4::FindReplaceResponse] + attr_accessor :find_replace + + # The result of updating a conditional format rule. + # Corresponds to the JSON property `updateConditionalFormatRule` + # @return [Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse] + attr_accessor :update_conditional_format_rule + + # The result of updating an embedded object's position. + # Corresponds to the JSON property `updateEmbeddedObjectPosition` + # @return [Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse] + attr_accessor :update_embedded_object_position + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @add_banding = args[:add_banding] if args.key?(:add_banding) + @add_chart = args[:add_chart] if args.key?(:add_chart) + @add_filter_view = args[:add_filter_view] if args.key?(:add_filter_view) + @add_named_range = args[:add_named_range] if args.key?(:add_named_range) + @add_protected_range = args[:add_protected_range] if args.key?(:add_protected_range) + @add_sheet = args[:add_sheet] if args.key?(:add_sheet) + @delete_conditional_format_rule = args[:delete_conditional_format_rule] if args.key?(:delete_conditional_format_rule) + @duplicate_filter_view = args[:duplicate_filter_view] if args.key?(:duplicate_filter_view) + @duplicate_sheet = args[:duplicate_sheet] if args.key?(:duplicate_sheet) + @find_replace = args[:find_replace] if args.key?(:find_replace) + @update_conditional_format_rule = args[:update_conditional_format_rule] if args.key?(:update_conditional_format_rule) + @update_embedded_object_position = args[:update_embedded_object_position] if args.key?(:update_embedded_object_position) + end + end + + # Data about each cell in a row. + class RowData + include Google::Apis::Core::Hashable + + # The values in the row, one per column. + # 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) + @values = args[:values] if args.key?(:values) + end + end + + # Sets the basic filter associated with a sheet. + class SetBasicFilterRequest + include Google::Apis::Core::Hashable + + # The default filter associated with a sheet. + # Corresponds to the JSON property `filter` + # @return [Google::Apis::SheetsV4::BasicFilter] + attr_accessor :filter + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @filter = args[:filter] if args.key?(:filter) + end + end + + # Sets a data validation rule to every cell in the range. + # To clear validation in a range, call this with no rule specified. + class SetDataValidationRequest + include Google::Apis::Core::Hashable + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + # A data validation rule. + # Corresponds to the JSON property `rule` + # @return [Google::Apis::SheetsV4::DataValidationRule] + attr_accessor :rule + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @range = args[:range] if args.key?(:range) + @rule = args[:rule] if args.key?(:rule) + end + end + + # A sheet in a spreadsheet. + class Sheet + include Google::Apis::Core::Hashable + + # The banded (i.e. alternating colors) ranges on this sheet. + # Corresponds to the JSON property `bandedRanges` + # @return [Array] + attr_accessor :banded_ranges + + # The default filter associated with a sheet. + # Corresponds to the JSON property `basicFilter` + # @return [Google::Apis::SheetsV4::BasicFilter] + attr_accessor :basic_filter + + # The specifications of every chart on this sheet. + # Corresponds to the JSON property `charts` + # @return [Array] + attr_accessor :charts + + # The conditional format rules in this sheet. + # Corresponds to the JSON property `conditionalFormats` + # @return [Array] + attr_accessor :conditional_formats + + # Data in the grid, if this is a grid sheet. + # The number of GridData objects returned is dependent on the number of + # ranges requested on this sheet. For example, if this is representing + # `Sheet1`, and the spreadsheet was requested with ranges + # `Sheet1!A1:C10` and `Sheet1!D15:E20`, then the first GridData will have a + # startRow/startColumn of `0`, + # while the second one will have `startRow 14` (zero-based row 15), + # and `startColumn 3` (zero-based column D). + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # The filter views in this sheet. + # Corresponds to the JSON property `filterViews` + # @return [Array] + attr_accessor :filter_views + + # The ranges that are merged together. + # Corresponds to the JSON property `merges` + # @return [Array] + attr_accessor :merges + + # Properties of a sheet. + # Corresponds to the JSON property `properties` + # @return [Google::Apis::SheetsV4::SheetProperties] + attr_accessor :properties + + # The protected ranges in this sheet. + # Corresponds to the JSON property `protectedRanges` + # @return [Array] + attr_accessor :protected_ranges + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @banded_ranges = args[:banded_ranges] if args.key?(:banded_ranges) + @basic_filter = args[:basic_filter] if args.key?(:basic_filter) + @charts = args[:charts] if args.key?(:charts) + @conditional_formats = args[:conditional_formats] if args.key?(:conditional_formats) + @data = args[:data] if args.key?(:data) + @filter_views = args[:filter_views] if args.key?(:filter_views) + @merges = args[:merges] if args.key?(:merges) + @properties = args[:properties] if args.key?(:properties) + @protected_ranges = args[:protected_ranges] if args.key?(:protected_ranges) + end + end + + # Properties of a sheet. + class SheetProperties + include Google::Apis::Core::Hashable + + # Properties of a grid. + # Corresponds to the JSON property `gridProperties` + # @return [Google::Apis::SheetsV4::GridProperties] + attr_accessor :grid_properties + + # True if the sheet is hidden in the UI, false if it's visible. + # Corresponds to the JSON property `hidden` + # @return [Boolean] + attr_accessor :hidden + alias_method :hidden?, :hidden + + # The index of the sheet within the spreadsheet. + # When adding or updating sheet properties, if this field + # is excluded then the sheet will be added or moved to the end + # of the sheet list. When updating sheet indices or inserting + # sheets, movement is considered in "before the move" indexes. + # For example, if there were 3 sheets (S1, S2, S3) in order to + # move S1 ahead of S2 the index would have to be set to 2. A sheet + # index update request will be ignored if the requested index is + # identical to the sheets current index or if the requested new + # index is equal to the current sheet index + 1. + # Corresponds to the JSON property `index` + # @return [Fixnum] + attr_accessor :index + + # True if the sheet is an RTL sheet instead of an LTR sheet. + # Corresponds to the JSON property `rightToLeft` + # @return [Boolean] + attr_accessor :right_to_left + alias_method :right_to_left?, :right_to_left + + # The ID of the sheet. Must be non-negative. + # This field cannot be changed once set. + # Corresponds to the JSON property `sheetId` + # @return [Fixnum] + attr_accessor :sheet_id + + # The type of sheet. Defaults to GRID. + # This field cannot be changed once set. + # Corresponds to the JSON property `sheetType` + # @return [String] + attr_accessor :sheet_type + + # 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 `tabColor` + # @return [Google::Apis::SheetsV4::Color] + attr_accessor :tab_color + + # The name of the sheet. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @grid_properties = args[:grid_properties] if args.key?(:grid_properties) + @hidden = args[:hidden] if args.key?(:hidden) + @index = args[:index] if args.key?(:index) + @right_to_left = args[:right_to_left] if args.key?(:right_to_left) + @sheet_id = args[:sheet_id] if args.key?(:sheet_id) + @sheet_type = args[:sheet_type] if args.key?(:sheet_type) + @tab_color = args[:tab_color] if args.key?(:tab_color) + @title = args[:title] if args.key?(:title) + end + end + + # Sorts data in rows based on a sort order per column. + class SortRangeRequest + include Google::Apis::Core::Hashable + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + # The sort order per column. Later specifications are used when values + # are equal in the earlier specifications. + # Corresponds to the JSON property `sortSpecs` + # @return [Array] + attr_accessor :sort_specs + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @range = args[:range] if args.key?(:range) + @sort_specs = args[:sort_specs] if args.key?(:sort_specs) + end + end + + # A sort order associated with a specific column or row. + class SortSpec + include Google::Apis::Core::Hashable + + # The dimension the sort should be applied to. + # Corresponds to the JSON property `dimensionIndex` + # @return [Fixnum] + attr_accessor :dimension_index + + # The order data should be sorted. + # Corresponds to the JSON property `sortOrder` + # @return [String] + attr_accessor :sort_order + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dimension_index = args[:dimension_index] if args.key?(:dimension_index) + @sort_order = args[:sort_order] if args.key?(:sort_order) + end + end + + # A combination of a source range and how to extend that source. + class SourceAndDestination + include Google::Apis::Core::Hashable + + # The dimension that data should be filled into. + # Corresponds to the JSON property `dimension` + # @return [String] + attr_accessor :dimension + + # The number of rows or columns that data should be filled into. + # Positive numbers expand beyond the last row or last column + # of the source. Negative numbers expand before the first row + # or first column of the source. + # Corresponds to the JSON property `fillLength` + # @return [Fixnum] + attr_accessor :fill_length + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `source` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dimension = args[:dimension] if args.key?(:dimension) + @fill_length = args[:fill_length] if args.key?(:fill_length) + @source = args[:source] if args.key?(:source) + end + end + + # Resource that represents a spreadsheet. + class Spreadsheet + include Google::Apis::Core::Hashable + + # The named ranges defined in a spreadsheet. + # Corresponds to the JSON property `namedRanges` + # @return [Array] + attr_accessor :named_ranges + + # Properties of a spreadsheet. + # Corresponds to the JSON property `properties` + # @return [Google::Apis::SheetsV4::SpreadsheetProperties] + attr_accessor :properties + + # The sheets that are part of a spreadsheet. + # Corresponds to the JSON property `sheets` + # @return [Array] + attr_accessor :sheets + + # The ID of the spreadsheet. + # This field is read-only. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id + + # The url of the spreadsheet. + # This field is read-only. + # Corresponds to the JSON property `spreadsheetUrl` + # @return [String] + attr_accessor :spreadsheet_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @named_ranges = args[:named_ranges] if args.key?(:named_ranges) + @properties = args[:properties] if args.key?(:properties) + @sheets = args[:sheets] if args.key?(:sheets) + @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + @spreadsheet_url = args[:spreadsheet_url] if args.key?(:spreadsheet_url) + end + end + + # Properties of a spreadsheet. + class SpreadsheetProperties + include Google::Apis::Core::Hashable + + # The amount of time to wait before volatile functions are recalculated. + # Corresponds to the JSON property `autoRecalc` + # @return [String] + attr_accessor :auto_recalc + + # The format of a cell. + # Corresponds to the JSON property `defaultFormat` + # @return [Google::Apis::SheetsV4::CellFormat] + attr_accessor :default_format + + # Settings to control how circular dependencies are resolved with iterative + # calculation. + # Corresponds to the JSON property `iterativeCalculationSettings` + # @return [Google::Apis::SheetsV4::IterativeCalculationSettings] + attr_accessor :iterative_calculation_settings + + # The locale of the spreadsheet in one of the following formats: + # * an ISO 639-1 language code such as `en` + # * an ISO 639-2 language code such as `fil`, if no 639-1 code exists + # * a combination of the ISO language code and country code, such as `en_US` + # Note: when updating this field, not all locales/languages are supported. + # Corresponds to the JSON property `locale` + # @return [String] + attr_accessor :locale + + # The time zone of the spreadsheet, in CLDR format such as + # `America/New_York`. If the time zone isn't recognized, this may + # be a custom time zone such as `GMT-07:00`. + # Corresponds to the JSON property `timeZone` + # @return [String] + attr_accessor :time_zone + + # The title of the spreadsheet. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @auto_recalc = args[:auto_recalc] if args.key?(:auto_recalc) + @default_format = args[:default_format] if args.key?(:default_format) + @iterative_calculation_settings = args[:iterative_calculation_settings] if args.key?(:iterative_calculation_settings) + @locale = args[:locale] if args.key?(:locale) + @time_zone = args[:time_zone] if args.key?(:time_zone) + @title = args[:title] if args.key?(:title) end end @@ -7260,17 +6515,22 @@ module Google class TextFormat include Google::Apis::Core::Hashable + # True if the text is bold. + # Corresponds to the JSON property `bold` + # @return [Boolean] + attr_accessor :bold + alias_method :bold?, :bold + + # The font family. + # Corresponds to the JSON property `fontFamily` + # @return [String] + attr_accessor :font_family + # The size of the font. # Corresponds to the JSON property `fontSize` # @return [Fixnum] attr_accessor :font_size - # True if the text is underlined. - # Corresponds to the JSON property `underline` - # @return [Boolean] - attr_accessor :underline - alias_method :underline?, :underline - # 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 @@ -7374,16 +6634,11 @@ module Google # @return [Google::Apis::SheetsV4::Color] attr_accessor :foreground_color - # True if the text is bold. - # Corresponds to the JSON property `bold` + # True if the text is italicized. + # Corresponds to the JSON property `italic` # @return [Boolean] - attr_accessor :bold - alias_method :bold?, :bold - - # The font family. - # Corresponds to the JSON property `fontFamily` - # @return [String] - attr_accessor :font_family + attr_accessor :italic + alias_method :italic?, :italic # True if the text has a strikethrough. # Corresponds to the JSON property `strikethrough` @@ -7391,11 +6646,11 @@ module Google attr_accessor :strikethrough alias_method :strikethrough?, :strikethrough - # True if the text is italicized. - # Corresponds to the JSON property `italic` + # True if the text is underlined. + # Corresponds to the JSON property `underline` # @return [Boolean] - attr_accessor :italic - alias_method :italic?, :italic + attr_accessor :underline + alias_method :underline?, :underline def initialize(**args) update!(**args) @@ -7403,20 +6658,644 @@ module Google # Update properties of this object def update!(**args) - @font_size = args[:font_size] if args.key?(:font_size) - @underline = args[:underline] if args.key?(:underline) - @foreground_color = args[:foreground_color] if args.key?(:foreground_color) @bold = args[:bold] if args.key?(:bold) @font_family = args[:font_family] if args.key?(:font_family) - @strikethrough = args[:strikethrough] if args.key?(:strikethrough) + @font_size = args[:font_size] if args.key?(:font_size) + @foreground_color = args[:foreground_color] if args.key?(:foreground_color) @italic = args[:italic] if args.key?(:italic) + @strikethrough = args[:strikethrough] if args.key?(:strikethrough) + @underline = args[:underline] if args.key?(:underline) end end - # The result of adding a sheet. - class AddSheetResponse + # A run of a text format. The format of this run continues until the start + # index of the next run. + # When updating, all fields must be set. + class TextFormatRun include Google::Apis::Core::Hashable + # The format of a run of text in a cell. + # Absent values indicate that the field isn't specified. + # Corresponds to the JSON property `format` + # @return [Google::Apis::SheetsV4::TextFormat] + attr_accessor :format + + # The character index where this run starts. + # Corresponds to the JSON property `startIndex` + # @return [Fixnum] + attr_accessor :start_index + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @format = args[:format] if args.key?(:format) + @start_index = args[:start_index] if args.key?(:start_index) + end + end + + # The rotation applied to text in a cell. + class TextRotation + include Google::Apis::Core::Hashable + + # The angle between the standard orientation and the desired orientation. + # Measured in degrees. Valid values are between -90 and 90. Positive + # angles are angled upwards, negative are angled downwards. + # Note: For LTR text direction positive angles are in the counterclockwise + # direction, whereas for RTL they are in the clockwise direction + # Corresponds to the JSON property `angle` + # @return [Fixnum] + attr_accessor :angle + + # If true, text reads top to bottom, but the orientation of individual + # characters is unchanged. + # For example: + # | V | + # | e | + # | r | + # | t | + # | i | + # | c | + # | a | + # | l | + # Corresponds to the JSON property `vertical` + # @return [Boolean] + attr_accessor :vertical + alias_method :vertical?, :vertical + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @angle = args[:angle] if args.key?(:angle) + @vertical = args[:vertical] if args.key?(:vertical) + end + end + + # Splits a column of text into multiple columns, + # based on a delimiter in each cell. + class TextToColumnsRequest + include Google::Apis::Core::Hashable + + # The delimiter to use. Used only if delimiterType is + # CUSTOM. + # Corresponds to the JSON property `delimiter` + # @return [String] + attr_accessor :delimiter + + # The delimiter type to use. + # Corresponds to the JSON property `delimiterType` + # @return [String] + attr_accessor :delimiter_type + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `source` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @delimiter = args[:delimiter] if args.key?(:delimiter) + @delimiter_type = args[:delimiter_type] if args.key?(:delimiter_type) + @source = args[:source] if args.key?(:source) + end + end + + # Unmerges cells in the given range. + class UnmergeCellsRequest + include Google::Apis::Core::Hashable + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @range = args[:range] if args.key?(:range) + end + end + + # Updates properties of the supplied banded range. + class UpdateBandingRequest + include Google::Apis::Core::Hashable + + # A banded (alternating colors) range in a sheet. + # Corresponds to the JSON property `bandedRange` + # @return [Google::Apis::SheetsV4::BandedRange] + attr_accessor :banded_range + + # The fields that should be updated. At least one field must be specified. + # The root `bandedRange` is implied and should not be specified. + # A single `"*"` can be used as short-hand for listing every field. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @banded_range = args[:banded_range] if args.key?(:banded_range) + @fields = args[:fields] if args.key?(:fields) + end + end + + # Updates the borders of a range. + # If a field is not set in the request, that means the border remains as-is. + # For example, with two subsequent UpdateBordersRequest: + # 1. range: A1:A5 `` top: RED, bottom: WHITE `` + # 2. range: A1:A5 `` left: BLUE `` + # That would result in A1:A5 having a borders of + # `` top: RED, bottom: WHITE, left: BLUE ``. + # If you want to clear a border, explicitly set the style to + # NONE. + class UpdateBordersRequest + include Google::Apis::Core::Hashable + + # A border along a cell. + # Corresponds to the JSON property `bottom` + # @return [Google::Apis::SheetsV4::Border] + attr_accessor :bottom + + # A border along a cell. + # Corresponds to the JSON property `innerHorizontal` + # @return [Google::Apis::SheetsV4::Border] + attr_accessor :inner_horizontal + + # A border along a cell. + # Corresponds to the JSON property `innerVertical` + # @return [Google::Apis::SheetsV4::Border] + attr_accessor :inner_vertical + + # A border along a cell. + # Corresponds to the JSON property `left` + # @return [Google::Apis::SheetsV4::Border] + attr_accessor :left + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + # A border along a cell. + # Corresponds to the JSON property `right` + # @return [Google::Apis::SheetsV4::Border] + attr_accessor :right + + # A border along a cell. + # Corresponds to the JSON property `top` + # @return [Google::Apis::SheetsV4::Border] + attr_accessor :top + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bottom = args[:bottom] if args.key?(:bottom) + @inner_horizontal = args[:inner_horizontal] if args.key?(:inner_horizontal) + @inner_vertical = args[:inner_vertical] if args.key?(:inner_vertical) + @left = args[:left] if args.key?(:left) + @range = args[:range] if args.key?(:range) + @right = args[:right] if args.key?(:right) + @top = args[:top] if args.key?(:top) + end + end + + # Updates all cells in a range with new data. + class UpdateCellsRequest + include Google::Apis::Core::Hashable + + # The fields of CellData that should be updated. + # At least one field must be specified. + # The root is the CellData; 'row.values.' should not be specified. + # A single `"*"` can be used as short-hand for listing every field. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + # The data to write. + # Corresponds to the JSON property `rows` + # @return [Array] + attr_accessor :rows + + # A coordinate in a sheet. + # All indexes are zero-based. + # Corresponds to the JSON property `start` + # @return [Google::Apis::SheetsV4::GridCoordinate] + attr_accessor :start + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fields = args[:fields] if args.key?(:fields) + @range = args[:range] if args.key?(:range) + @rows = args[:rows] if args.key?(:rows) + @start = args[:start] if args.key?(:start) + end + end + + # Updates a chart's specifications. + # (This does not move or resize a chart. To move or resize a chart, use + # UpdateEmbeddedObjectPositionRequest.) + class UpdateChartSpecRequest + include Google::Apis::Core::Hashable + + # The ID of the chart to update. + # Corresponds to the JSON property `chartId` + # @return [Fixnum] + attr_accessor :chart_id + + # The specifications of a chart. + # Corresponds to the JSON property `spec` + # @return [Google::Apis::SheetsV4::ChartSpec] + attr_accessor :spec + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @chart_id = args[:chart_id] if args.key?(:chart_id) + @spec = args[:spec] if args.key?(:spec) + end + end + + # Updates a conditional format rule at the given index, + # or moves a conditional format rule to another index. + class UpdateConditionalFormatRuleRequest + include Google::Apis::Core::Hashable + + # The zero-based index of the rule that should be replaced or moved. + # Corresponds to the JSON property `index` + # @return [Fixnum] + attr_accessor :index + + # The zero-based new index the rule should end up at. + # Corresponds to the JSON property `newIndex` + # @return [Fixnum] + attr_accessor :new_index + + # A rule describing a conditional format. + # Corresponds to the JSON property `rule` + # @return [Google::Apis::SheetsV4::ConditionalFormatRule] + attr_accessor :rule + + # The sheet of the rule to move. Required if new_index is set, + # unused otherwise. + # Corresponds to the JSON property `sheetId` + # @return [Fixnum] + attr_accessor :sheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @index = args[:index] if args.key?(:index) + @new_index = args[:new_index] if args.key?(:new_index) + @rule = args[:rule] if args.key?(:rule) + @sheet_id = args[:sheet_id] if args.key?(:sheet_id) + end + end + + # The result of updating a conditional format rule. + class UpdateConditionalFormatRuleResponse + include Google::Apis::Core::Hashable + + # The index of the new rule. + # Corresponds to the JSON property `newIndex` + # @return [Fixnum] + attr_accessor :new_index + + # A rule describing a conditional format. + # Corresponds to the JSON property `newRule` + # @return [Google::Apis::SheetsV4::ConditionalFormatRule] + attr_accessor :new_rule + + # The old index of the rule. Not set if a rule was replaced + # (because it is the same as new_index). + # Corresponds to the JSON property `oldIndex` + # @return [Fixnum] + attr_accessor :old_index + + # A rule describing a conditional format. + # Corresponds to the JSON property `oldRule` + # @return [Google::Apis::SheetsV4::ConditionalFormatRule] + attr_accessor :old_rule + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @new_index = args[:new_index] if args.key?(:new_index) + @new_rule = args[:new_rule] if args.key?(:new_rule) + @old_index = args[:old_index] if args.key?(:old_index) + @old_rule = args[:old_rule] if args.key?(:old_rule) + end + end + + # Updates properties of dimensions within the specified range. + class UpdateDimensionPropertiesRequest + include Google::Apis::Core::Hashable + + # The fields that should be updated. At least one field must be specified. + # The root `properties` is implied and should not be specified. + # A single `"*"` can be used as short-hand for listing every field. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # Properties about a dimension. + # Corresponds to the JSON property `properties` + # @return [Google::Apis::SheetsV4::DimensionProperties] + attr_accessor :properties + + # A range along a single dimension on a sheet. + # All indexes are zero-based. + # Indexes are half open: the start index is inclusive + # and the end index is exclusive. + # Missing indexes indicate the range is unbounded on that side. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::DimensionRange] + attr_accessor :range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fields = args[:fields] if args.key?(:fields) + @properties = args[:properties] if args.key?(:properties) + @range = args[:range] if args.key?(:range) + end + end + + # Update an embedded object's position (such as a moving or resizing a + # chart or image). + class UpdateEmbeddedObjectPositionRequest + include Google::Apis::Core::Hashable + + # The fields of OverlayPosition + # that should be updated when setting a new position. Used only if + # newPosition.overlayPosition + # is set, in which case at least one field must + # be specified. The root `newPosition.overlayPosition` is implied and + # should not be specified. + # A single `"*"` can be used as short-hand for listing every field. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # The position of an embedded object such as a chart. + # Corresponds to the JSON property `newPosition` + # @return [Google::Apis::SheetsV4::EmbeddedObjectPosition] + attr_accessor :new_position + + # The ID of the object to moved. + # Corresponds to the JSON property `objectId` + # @return [Fixnum] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fields = args[:fields] if args.key?(:fields) + @new_position = args[:new_position] if args.key?(:new_position) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # The result of updating an embedded object's position. + class UpdateEmbeddedObjectPositionResponse + include Google::Apis::Core::Hashable + + # The position of an embedded object such as a chart. + # Corresponds to the JSON property `position` + # @return [Google::Apis::SheetsV4::EmbeddedObjectPosition] + attr_accessor :position + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @position = args[:position] if args.key?(:position) + end + end + + # Updates properties of the filter view. + class UpdateFilterViewRequest + include Google::Apis::Core::Hashable + + # The fields that should be updated. At least one field must be specified. + # The root `filter` is implied and should not be specified. + # A single `"*"` can be used as short-hand for listing every field. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # A filter view. + # Corresponds to the JSON property `filter` + # @return [Google::Apis::SheetsV4::FilterView] + attr_accessor :filter + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fields = args[:fields] if args.key?(:fields) + @filter = args[:filter] if args.key?(:filter) + end + end + + # Updates properties of the named range with the specified + # namedRangeId. + class UpdateNamedRangeRequest + include Google::Apis::Core::Hashable + + # The fields that should be updated. At least one field must be specified. + # The root `namedRange` is implied and should not be specified. + # A single `"*"` can be used as short-hand for listing every field. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # A named range. + # Corresponds to the JSON property `namedRange` + # @return [Google::Apis::SheetsV4::NamedRange] + attr_accessor :named_range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fields = args[:fields] if args.key?(:fields) + @named_range = args[:named_range] if args.key?(:named_range) + end + end + + # Updates an existing protected range with the specified + # protectedRangeId. + class UpdateProtectedRangeRequest + include Google::Apis::Core::Hashable + + # The fields that should be updated. At least one field must be specified. + # The root `protectedRange` is implied and should not be specified. + # A single `"*"` can be used as short-hand for listing every field. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # A protected range. + # Corresponds to the JSON property `protectedRange` + # @return [Google::Apis::SheetsV4::ProtectedRange] + attr_accessor :protected_range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fields = args[:fields] if args.key?(:fields) + @protected_range = args[:protected_range] if args.key?(:protected_range) + end + end + + # Updates properties of the sheet with the specified + # sheetId. + class UpdateSheetPropertiesRequest + include Google::Apis::Core::Hashable + + # The fields that should be updated. At least one field must be specified. + # The root `properties` is implied and should not be specified. + # A single `"*"` can be used as short-hand for listing every field. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + # Properties of a sheet. # Corresponds to the JSON property `properties` # @return [Google::Apis::SheetsV4::SheetProperties] @@ -7428,9 +7307,137 @@ module Google # Update properties of this object def update!(**args) + @fields = args[:fields] if args.key?(:fields) @properties = args[:properties] if args.key?(:properties) end end + + # Updates properties of a spreadsheet. + class UpdateSpreadsheetPropertiesRequest + include Google::Apis::Core::Hashable + + # The fields that should be updated. At least one field must be specified. + # The root 'properties' is implied and should not be specified. + # A single `"*"` can be used as short-hand for listing every field. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # Properties of a spreadsheet. + # Corresponds to the JSON property `properties` + # @return [Google::Apis::SheetsV4::SpreadsheetProperties] + attr_accessor :properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fields = args[:fields] if args.key?(:fields) + @properties = args[:properties] if args.key?(:properties) + end + end + + # The response when updating a range of values in a spreadsheet. + class UpdateValuesResponse + include Google::Apis::Core::Hashable + + # The spreadsheet the updates were applied to. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id + + # The number of cells updated. + # Corresponds to the JSON property `updatedCells` + # @return [Fixnum] + attr_accessor :updated_cells + + # The number of columns where at least one cell in the column was updated. + # Corresponds to the JSON property `updatedColumns` + # @return [Fixnum] + attr_accessor :updated_columns + + # Data within a range of the spreadsheet. + # Corresponds to the JSON property `updatedData` + # @return [Google::Apis::SheetsV4::ValueRange] + attr_accessor :updated_data + + # The range (in A1 notation) that updates were applied to. + # Corresponds to the JSON property `updatedRange` + # @return [String] + attr_accessor :updated_range + + # The number of rows where at least one cell in the row was updated. + # Corresponds to the JSON property `updatedRows` + # @return [Fixnum] + attr_accessor :updated_rows + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + @updated_cells = args[:updated_cells] if args.key?(:updated_cells) + @updated_columns = args[:updated_columns] if args.key?(:updated_columns) + @updated_data = args[:updated_data] if args.key?(:updated_data) + @updated_range = args[:updated_range] if args.key?(:updated_range) + @updated_rows = args[:updated_rows] if args.key?(:updated_rows) + end + end + + # Data within a range of the spreadsheet. + class ValueRange + include Google::Apis::Core::Hashable + + # The major dimension of the values. + # For output, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, + # then requesting `range=A1:B2,majorDimension=ROWS` will return + # `[[1,2],[3,4]]`, + # whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return + # `[[1,3],[2,4]]`. + # For input, with `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]` + # will set `A1=1,B1=2,A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS` + # then `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`. + # When writing, if this field is not set, it defaults to ROWS. + # Corresponds to the JSON property `majorDimension` + # @return [String] + attr_accessor :major_dimension + + # The range the values cover, in A1 notation. + # For output, this range indicates the entire requested range, + # even though the values will exclude trailing rows and columns. + # When appending values, this field represents the range to search for a + # table, after which values will be appended. + # Corresponds to the JSON property `range` + # @return [String] + attr_accessor :range + + # The data that was read or to be written. This is an array of arrays, + # the outer array representing all the data and each inner array + # representing a major dimension. Each item in the inner array + # corresponds with one cell. + # For output, empty trailing rows and columns will not be included. + # For input, supported value types are: bool, string, and double. + # Null values will be skipped. + # To set a cell to an empty value, set the string value to an empty string. + # 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) + @major_dimension = args[:major_dimension] if args.key?(:major_dimension) + @range = args[:range] if args.key?(:range) + @values = args[:values] if args.key?(:values) + end + end end end end diff --git a/generated/google/apis/sheets_v4/representations.rb b/generated/google/apis/sheets_v4/representations.rb index bf9cd8087..f502046b4 100644 --- a/generated/google/apis/sheets_v4/representations.rb +++ b/generated/google/apis/sheets_v4/representations.rb @@ -22,133 +22,7 @@ module Google module Apis module SheetsV4 - class AddFilterViewResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class IterativeCalculationSettings - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SpreadsheetProperties - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class OverlayPosition - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RepeatCellRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AddChartResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class InsertDimensionRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateSpreadsheetPropertiesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ProtectedRange - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BatchUpdateValuesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DimensionProperties - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class NamedRange - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DimensionRange - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CutPasteRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Borders - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BasicChartSeries - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AutoResizeDimensionsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateBordersRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CellFormat - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ClearValuesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DeleteConditionalFormatRuleRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DeleteNamedRangeRequest + class AddBandingRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -160,457 +34,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ChartData + class AddChartRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class BatchGetValuesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateBandingRequest - 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 PivotGroup - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PivotTable - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ChartSourceRange - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ValueRange - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AppendCellsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AddBandingRequest - 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 - - class InsertRangeRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TextFormatRun - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class EmbeddedChart - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AddNamedRangeResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RowData - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Border - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GridData - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateNamedRangeRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FindReplaceRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AddSheetRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateCellsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RandomizeRangeRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DeleteConditionalFormatRuleResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DeleteRangeRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GridCoordinate - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateSheetPropertiesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GridProperties - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UnmergeCellsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SortSpec - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Sheet - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateEmbeddedObjectPositionResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BooleanRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FilterCriteria - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PivotGroupValueMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Editors - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateConditionalFormatRuleRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BasicChartDomain - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DataValidationRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PasteDataRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AppendDimensionRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AddNamedRangeRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateEmbeddedObjectPositionRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TextRotation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PieChartSpec - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateFilterViewRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ConditionalFormatRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CopyPasteRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Request - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BooleanCondition - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GridRange - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BasicChartSpec - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SetDataValidationRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BubbleChartSpec - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CellData - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BatchUpdateSpreadsheetRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Padding - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BasicChartAxis - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DeleteDimensionRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateChartSpecRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DeleteFilterViewRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BatchUpdateValuesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SortRangeRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MergeCellsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AddProtectedRangeRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BatchClearValuesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DuplicateFilterViewResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DuplicateSheetResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TextToColumnsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ClearBasicFilterRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BatchUpdateSpreadsheetResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DeleteBandingRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AppendValuesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MoveDimensionRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PivotFilterCriteria - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AddFilterViewRequest + class AddChartResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -622,67 +52,31 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ChartSpec + class AddFilterViewRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class NumberFormat + class AddFilterViewResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CandlestickDomain + class AddNamedRangeRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class SheetProperties + class AddNamedRangeResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class UpdateDimensionPropertiesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceAndDestination - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class OrgChartSpec - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FilterView - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BandingProperties - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CandlestickSeries - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BasicFilter + class AddProtectedRangeRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -694,37 +88,157 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class HistogramChartSpec + class AddSheetRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class UpdateValuesResponse + class AddSheetResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ErrorValue + class AppendCellsRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class PivotValue + class AppendDimensionRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CopySheetToAnotherSpreadsheetRequest + class AppendValuesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class PivotGroupSortValueBucket + class AutoFillRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AutoResizeDimensionsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BandedRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BandingProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BasicChartAxis + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BasicChartDomain + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BasicChartSeries + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BasicChartSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BasicFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchClearValuesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchClearValuesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchGetValuesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchUpdateSpreadsheetRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchUpdateSpreadsheetResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchUpdateValuesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchUpdateValuesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BooleanCondition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BooleanRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Border + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Borders + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BubbleChartSpec class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -742,31 +256,49 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class EmbeddedObjectPosition + class CandlestickDomain class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class DeleteProtectedRangeRequest + class CandlestickSeries class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class AutoFillRequest + class CellData class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GradientRule + class CellFormat class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class SetBasicFilterRequest + class ChartData + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ChartSourceRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ChartSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ClearBasicFilterRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -778,43 +310,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class InterpolationPoint + class ClearValuesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class FindReplaceResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DeleteEmbeddedObjectRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DuplicateFilterViewRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DeleteSheetRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateConditionalFormatRuleResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DuplicateSheetRequest + class Color class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -826,25 +328,217 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ConditionalFormatRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CopyPasteRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CopySheetToAnotherSpreadsheetRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CutPasteRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DataValidationRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteBandingRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteConditionalFormatRuleRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteConditionalFormatRuleResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteDimensionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteEmbeddedObjectRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteFilterViewRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteNamedRangeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteProtectedRangeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteRangeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteSheetRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DimensionProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DimensionRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DuplicateFilterViewRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DuplicateFilterViewResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DuplicateSheetRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DuplicateSheetResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Editors + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EmbeddedChart + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EmbeddedObjectPosition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ErrorValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ExtendedValue class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class AddChartRequest + class FilterCriteria class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Spreadsheet + class FilterView class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class BatchClearValuesResponse + class FindReplaceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FindReplaceResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GradientRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GridCoordinate + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GridData + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GridProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GridRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HistogramChartSpec class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -856,13 +550,205 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class BandedRange + class InsertDimensionRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class UpdateProtectedRangeRequest + class InsertRangeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InterpolationPoint + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class IterativeCalculationSettings + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MergeCellsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MoveDimensionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NamedRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NumberFormat + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OrgChartSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OverlayPosition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Padding + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PasteDataRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PieChartSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PivotFilterCriteria + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PivotGroup + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PivotGroupSortValueBucket + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PivotGroupValueMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PivotTable + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PivotValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ProtectedRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RandomizeRangeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RepeatCellRequest + class Representation < Google::Apis::Core::JsonRepresentation; 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 + + class RowData + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetBasicFilterRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetDataValidationRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Sheet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SheetProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SortRangeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SortSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceAndDestination + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Spreadsheet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SpreadsheetProperties class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -874,61 +760,146 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class AddSheetResponse + class TextFormatRun class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class AddFilterViewResponse + class TextRotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextToColumnsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UnmergeCellsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateBandingRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateBordersRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateCellsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateChartSpecRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateConditionalFormatRuleRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateConditionalFormatRuleResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateDimensionPropertiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateEmbeddedObjectPositionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateEmbeddedObjectPositionResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateFilterViewRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateNamedRangeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateProtectedRangeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateSheetPropertiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateSpreadsheetPropertiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateValuesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ValueRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AddBandingRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :filter, as: 'filter', class: Google::Apis::SheetsV4::FilterView, decorator: Google::Apis::SheetsV4::FilterView::Representation + property :banded_range, as: 'bandedRange', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation end end - class IterativeCalculationSettings + class AddBandingResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :convergence_threshold, as: 'convergenceThreshold' - property :max_iterations, as: 'maxIterations' - end - end - - class SpreadsheetProperties - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :title, as: 'title' - property :time_zone, as: 'timeZone' - property :locale, as: 'locale' - property :iterative_calculation_settings, as: 'iterativeCalculationSettings', class: Google::Apis::SheetsV4::IterativeCalculationSettings, decorator: Google::Apis::SheetsV4::IterativeCalculationSettings::Representation - - property :auto_recalc, as: 'autoRecalc' - property :default_format, as: 'defaultFormat', class: Google::Apis::SheetsV4::CellFormat, decorator: Google::Apis::SheetsV4::CellFormat::Representation + property :banded_range, as: 'bandedRange', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation end end - class OverlayPosition + class AddChartRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :width_pixels, as: 'widthPixels' - property :offset_x_pixels, as: 'offsetXPixels' - property :anchor_cell, as: 'anchorCell', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation - - property :height_pixels, as: 'heightPixels' - property :offset_y_pixels, as: 'offsetYPixels' - end - end - - class RepeatCellRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :fields, as: 'fields' - property :cell, as: 'cell', class: Google::Apis::SheetsV4::CellData, decorator: Google::Apis::SheetsV4::CellData::Representation - - property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + property :chart, as: 'chart', class: Google::Apis::SheetsV4::EmbeddedChart, decorator: Google::Apis::SheetsV4::EmbeddedChart::Representation end end @@ -941,283 +912,76 @@ module Google end end - class InsertDimensionRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :range, as: 'range', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation - - property :inherit_from_before, as: 'inheritFromBefore' - end - end - - class UpdateSpreadsheetPropertiesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :fields, as: 'fields' - property :properties, as: 'properties', class: Google::Apis::SheetsV4::SpreadsheetProperties, decorator: Google::Apis::SheetsV4::SpreadsheetProperties::Representation - - end - end - - class ProtectedRange - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - property :editors, as: 'editors', class: Google::Apis::SheetsV4::Editors, decorator: Google::Apis::SheetsV4::Editors::Representation - - property :description, as: 'description' - collection :unprotected_ranges, as: 'unprotectedRanges', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - property :named_range_id, as: 'namedRangeId' - property :protected_range_id, as: 'protectedRangeId' - property :warning_only, as: 'warningOnly' - property :requesting_user_can_edit, as: 'requestingUserCanEdit' - end - end - - class BatchUpdateValuesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :response_value_render_option, as: 'responseValueRenderOption' - property :include_values_in_response, as: 'includeValuesInResponse' - collection :data, as: 'data', class: Google::Apis::SheetsV4::ValueRange, decorator: Google::Apis::SheetsV4::ValueRange::Representation - - property :value_input_option, as: 'valueInputOption' - property :response_date_time_render_option, as: 'responseDateTimeRenderOption' - end - end - - class DimensionProperties - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :pixel_size, as: 'pixelSize' - property :hidden_by_user, as: 'hiddenByUser' - property :hidden_by_filter, as: 'hiddenByFilter' - end - end - - class NamedRange - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :named_range_id, as: 'namedRangeId' - property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - property :name, as: 'name' - end - end - - class DimensionRange - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :dimension, as: 'dimension' - property :end_index, as: 'endIndex' - property :start_index, as: 'startIndex' - property :sheet_id, as: 'sheetId' - end - end - - class CutPasteRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :destination, as: 'destination', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation - - property :paste_type, as: 'pasteType' - property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - end - end - - class Borders - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :right, as: 'right', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation - - property :bottom, as: 'bottom', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation - - property :top, as: 'top', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation - - property :left, as: 'left', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation - - end - end - - class BasicChartSeries - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :target_axis, as: 'targetAxis' - property :type, as: 'type' - property :series, as: 'series', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation - - end - end - - class AutoResizeDimensionsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :dimensions, as: 'dimensions', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation - - end - end - - class UpdateBordersRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :inner_vertical, as: 'innerVertical', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation - - property :right, as: 'right', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation - - property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - property :inner_horizontal, as: 'innerHorizontal', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation - - property :top, as: 'top', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation - - property :left, as: 'left', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation - - property :bottom, as: 'bottom', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation - - end - end - - class CellFormat - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :number_format, as: 'numberFormat', class: Google::Apis::SheetsV4::NumberFormat, decorator: Google::Apis::SheetsV4::NumberFormat::Representation - - property :hyperlink_display_type, as: 'hyperlinkDisplayType' - property :horizontal_alignment, as: 'horizontalAlignment' - property :text_format, as: 'textFormat', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation - - property :background_color, as: 'backgroundColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation - - property :vertical_alignment, as: 'verticalAlignment' - property :padding, as: 'padding', class: Google::Apis::SheetsV4::Padding, decorator: Google::Apis::SheetsV4::Padding::Representation - - property :text_direction, as: 'textDirection' - property :borders, as: 'borders', class: Google::Apis::SheetsV4::Borders, decorator: Google::Apis::SheetsV4::Borders::Representation - - property :text_rotation, as: 'textRotation', class: Google::Apis::SheetsV4::TextRotation, decorator: Google::Apis::SheetsV4::TextRotation::Representation - - property :wrap_strategy, as: 'wrapStrategy' - end - end - - class ClearValuesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :spreadsheet_id, as: 'spreadsheetId' - property :cleared_range, as: 'clearedRange' - end - end - - class DeleteConditionalFormatRuleRequest + class AddConditionalFormatRuleRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :index, as: 'index' - property :sheet_id, as: 'sheetId' - end - end - - class DeleteNamedRangeRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :named_range_id, as: 'namedRangeId' - end - end - - class AddBandingResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :banded_range, as: 'bandedRange', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation + property :rule, as: 'rule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation end end - class ChartData + class AddFilterViewRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :source_range, as: 'sourceRange', class: Google::Apis::SheetsV4::ChartSourceRange, decorator: Google::Apis::SheetsV4::ChartSourceRange::Representation + property :filter, as: 'filter', class: Google::Apis::SheetsV4::FilterView, decorator: Google::Apis::SheetsV4::FilterView::Representation end end - class BatchGetValuesResponse + class AddFilterViewResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :spreadsheet_id, as: 'spreadsheetId' - collection :value_ranges, as: 'valueRanges', class: Google::Apis::SheetsV4::ValueRange, decorator: Google::Apis::SheetsV4::ValueRange::Representation + property :filter, as: 'filter', class: Google::Apis::SheetsV4::FilterView, decorator: Google::Apis::SheetsV4::FilterView::Representation end end - class UpdateBandingRequest + class AddNamedRangeRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :fields, as: 'fields' - property :banded_range, as: 'bandedRange', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation + property :named_range, as: 'namedRange', class: Google::Apis::SheetsV4::NamedRange, decorator: Google::Apis::SheetsV4::NamedRange::Representation end end - class Color + class AddNamedRangeResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :alpha, as: 'alpha' - property :blue, as: 'blue' - property :green, as: 'green' - property :red, as: 'red' - end - end - - class PivotGroup - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value_bucket, as: 'valueBucket', class: Google::Apis::SheetsV4::PivotGroupSortValueBucket, decorator: Google::Apis::SheetsV4::PivotGroupSortValueBucket::Representation - - collection :value_metadata, as: 'valueMetadata', class: Google::Apis::SheetsV4::PivotGroupValueMetadata, decorator: Google::Apis::SheetsV4::PivotGroupValueMetadata::Representation - - property :show_totals, as: 'showTotals' - property :source_column_offset, as: 'sourceColumnOffset' - property :sort_order, as: 'sortOrder' - end - end - - class PivotTable - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :criteria, as: 'criteria', class: Google::Apis::SheetsV4::PivotFilterCriteria, decorator: Google::Apis::SheetsV4::PivotFilterCriteria::Representation - - collection :rows, as: 'rows', class: Google::Apis::SheetsV4::PivotGroup, decorator: Google::Apis::SheetsV4::PivotGroup::Representation - - property :value_layout, as: 'valueLayout' - collection :columns, as: 'columns', class: Google::Apis::SheetsV4::PivotGroup, decorator: Google::Apis::SheetsV4::PivotGroup::Representation - - collection :values, as: 'values', class: Google::Apis::SheetsV4::PivotValue, decorator: Google::Apis::SheetsV4::PivotValue::Representation - - property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + property :named_range, as: 'namedRange', class: Google::Apis::SheetsV4::NamedRange, decorator: Google::Apis::SheetsV4::NamedRange::Representation end end - class ChartSourceRange + class AddProtectedRangeRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :sources, as: 'sources', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + property :protected_range, as: 'protectedRange', class: Google::Apis::SheetsV4::ProtectedRange, decorator: Google::Apis::SheetsV4::ProtectedRange::Representation end end - class ValueRange + class AddProtectedRangeResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :range, as: 'range' - collection :values, as: 'values', :class => Array do - include Representable::JSON::Collection - items + property :protected_range, as: 'protectedRange', class: Google::Apis::SheetsV4::ProtectedRange, decorator: Google::Apis::SheetsV4::ProtectedRange::Representation + + end end - property :major_dimension, as: 'majorDimension' + class AddSheetRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :properties, as: 'properties', class: Google::Apis::SheetsV4::SheetProperties, decorator: Google::Apis::SheetsV4::SheetProperties::Representation + + end + end + + class AddSheetResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :properties, as: 'properties', class: Google::Apis::SheetsV4::SheetProperties, decorator: Google::Apis::SheetsV4::SheetProperties::Representation + end end @@ -1231,257 +995,207 @@ module Google end end - class AddBandingRequest + class AppendDimensionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :banded_range, as: 'bandedRange', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation + property :dimension, as: 'dimension' + property :length, as: 'length' + property :sheet_id, as: 'sheetId' + end + end + + class AppendValuesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :spreadsheet_id, as: 'spreadsheetId' + property :table_range, as: 'tableRange' + property :updates, as: 'updates', class: Google::Apis::SheetsV4::UpdateValuesResponse, decorator: Google::Apis::SheetsV4::UpdateValuesResponse::Representation end end - class Response + class AutoFillRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :add_filter_view, as: 'addFilterView', class: Google::Apis::SheetsV4::AddFilterViewResponse, decorator: Google::Apis::SheetsV4::AddFilterViewResponse::Representation - - property :add_banding, as: 'addBanding', class: Google::Apis::SheetsV4::AddBandingResponse, decorator: Google::Apis::SheetsV4::AddBandingResponse::Representation - - property :add_protected_range, as: 'addProtectedRange', class: Google::Apis::SheetsV4::AddProtectedRangeResponse, decorator: Google::Apis::SheetsV4::AddProtectedRangeResponse::Representation - - property :duplicate_sheet, as: 'duplicateSheet', class: Google::Apis::SheetsV4::DuplicateSheetResponse, decorator: Google::Apis::SheetsV4::DuplicateSheetResponse::Representation - - property :update_embedded_object_position, as: 'updateEmbeddedObjectPosition', class: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse, decorator: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse::Representation - - property :delete_conditional_format_rule, as: 'deleteConditionalFormatRule', class: Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse, decorator: Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse::Representation - - property :duplicate_filter_view, as: 'duplicateFilterView', class: Google::Apis::SheetsV4::DuplicateFilterViewResponse, decorator: Google::Apis::SheetsV4::DuplicateFilterViewResponse::Representation - - property :add_chart, as: 'addChart', class: Google::Apis::SheetsV4::AddChartResponse, decorator: Google::Apis::SheetsV4::AddChartResponse::Representation - - property :find_replace, as: 'findReplace', class: Google::Apis::SheetsV4::FindReplaceResponse, decorator: Google::Apis::SheetsV4::FindReplaceResponse::Representation - - property :add_sheet, as: 'addSheet', class: Google::Apis::SheetsV4::AddSheetResponse, decorator: Google::Apis::SheetsV4::AddSheetResponse::Representation - - property :update_conditional_format_rule, as: 'updateConditionalFormatRule', class: Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse, decorator: Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse::Representation - - property :add_named_range, as: 'addNamedRange', class: Google::Apis::SheetsV4::AddNamedRangeResponse, decorator: Google::Apis::SheetsV4::AddNamedRangeResponse::Representation - - end - end - - class InsertRangeRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :shift_dimension, as: 'shiftDimension' property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + property :source_and_destination, as: 'sourceAndDestination', class: Google::Apis::SheetsV4::SourceAndDestination, decorator: Google::Apis::SheetsV4::SourceAndDestination::Representation + + property :use_alternate_series, as: 'useAlternateSeries' end end - class TextFormatRun + class AutoResizeDimensionsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dimensions, as: 'dimensions', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation + + end + end + + class BandedRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :banded_range_id, as: 'bandedRangeId' + property :column_properties, as: 'columnProperties', class: Google::Apis::SheetsV4::BandingProperties, decorator: Google::Apis::SheetsV4::BandingProperties::Representation + + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + property :row_properties, as: 'rowProperties', class: Google::Apis::SheetsV4::BandingProperties, decorator: Google::Apis::SheetsV4::BandingProperties::Representation + + end + end + + class BandingProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :first_band_color, as: 'firstBandColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + + property :footer_color, as: 'footerColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + + property :header_color, as: 'headerColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + + property :second_band_color, as: 'secondBandColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + + end + end + + class BasicChartAxis # @private class Representation < Google::Apis::Core::JsonRepresentation property :format, as: 'format', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation - property :start_index, as: 'startIndex' + property :position, as: 'position' + property :title, as: 'title' end end - class EmbeddedChart + class BasicChartDomain # @private class Representation < Google::Apis::Core::JsonRepresentation - property :spec, as: 'spec', class: Google::Apis::SheetsV4::ChartSpec, decorator: Google::Apis::SheetsV4::ChartSpec::Representation - - property :chart_id, as: 'chartId' - property :position, as: 'position', class: Google::Apis::SheetsV4::EmbeddedObjectPosition, decorator: Google::Apis::SheetsV4::EmbeddedObjectPosition::Representation + property :domain, as: 'domain', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation + property :reversed, as: 'reversed' end end - class AddNamedRangeResponse + class BasicChartSeries # @private class Representation < Google::Apis::Core::JsonRepresentation - property :named_range, as: 'namedRange', class: Google::Apis::SheetsV4::NamedRange, decorator: Google::Apis::SheetsV4::NamedRange::Representation + property :series, as: 'series', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation + property :target_axis, as: 'targetAxis' + property :type, as: 'type' end end - class RowData + class BasicChartSpec # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :values, as: 'values', class: Google::Apis::SheetsV4::CellData, decorator: Google::Apis::SheetsV4::CellData::Representation + collection :axis, as: 'axis', class: Google::Apis::SheetsV4::BasicChartAxis, decorator: Google::Apis::SheetsV4::BasicChartAxis::Representation + property :chart_type, as: 'chartType' + collection :domains, as: 'domains', class: Google::Apis::SheetsV4::BasicChartDomain, decorator: Google::Apis::SheetsV4::BasicChartDomain::Representation + + property :header_count, as: 'headerCount' + property :interpolate_nulls, as: 'interpolateNulls' + property :legend_position, as: 'legendPosition' + property :line_smoothing, as: 'lineSmoothing' + collection :series, as: 'series', class: Google::Apis::SheetsV4::BasicChartSeries, decorator: Google::Apis::SheetsV4::BasicChartSeries::Representation + + property :stacked_type, as: 'stackedType' + property :three_dimensional, as: 'threeDimensional' end end - class Border + class BasicFilter # @private class Representation < Google::Apis::Core::JsonRepresentation - property :width, as: 'width' - property :style, as: 'style' - property :color, as: 'color', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation - - end - end - - class GridData - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :row_data, as: 'rowData', class: Google::Apis::SheetsV4::RowData, decorator: Google::Apis::SheetsV4::RowData::Representation - - property :start_row, as: 'startRow' - collection :column_metadata, as: 'columnMetadata', class: Google::Apis::SheetsV4::DimensionProperties, decorator: Google::Apis::SheetsV4::DimensionProperties::Representation - - property :start_column, as: 'startColumn' - collection :row_metadata, as: 'rowMetadata', class: Google::Apis::SheetsV4::DimensionProperties, decorator: Google::Apis::SheetsV4::DimensionProperties::Representation - - end - end - - class UpdateNamedRangeRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :named_range, as: 'namedRange', class: Google::Apis::SheetsV4::NamedRange, decorator: Google::Apis::SheetsV4::NamedRange::Representation - - property :fields, as: 'fields' - end - end - - class FindReplaceRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :replacement, as: 'replacement' - property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - property :sheet_id, as: 'sheetId' - property :match_case, as: 'matchCase' - property :all_sheets, as: 'allSheets' - property :include_formulas, as: 'includeFormulas' - property :match_entire_cell, as: 'matchEntireCell' - property :search_by_regex, as: 'searchByRegex' - property :find, as: 'find' - end - end - - class AddSheetRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :properties, as: 'properties', class: Google::Apis::SheetsV4::SheetProperties, decorator: Google::Apis::SheetsV4::SheetProperties::Representation - - end - end - - class UpdateCellsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :start, as: 'start', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation + hash :criteria, as: 'criteria', class: Google::Apis::SheetsV4::FilterCriteria, decorator: Google::Apis::SheetsV4::FilterCriteria::Representation property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - property :fields, as: 'fields' - collection :rows, as: 'rows', class: Google::Apis::SheetsV4::RowData, decorator: Google::Apis::SheetsV4::RowData::Representation + collection :sort_specs, as: 'sortSpecs', class: Google::Apis::SheetsV4::SortSpec, decorator: Google::Apis::SheetsV4::SortSpec::Representation end end - class RandomizeRangeRequest + class BatchClearValuesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + collection :ranges, as: 'ranges' + end + end + + class BatchClearValuesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :cleared_ranges, as: 'clearedRanges' + property :spreadsheet_id, as: 'spreadsheetId' + end + end + + class BatchGetValuesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :spreadsheet_id, as: 'spreadsheetId' + collection :value_ranges, as: 'valueRanges', class: Google::Apis::SheetsV4::ValueRange, decorator: Google::Apis::SheetsV4::ValueRange::Representation end end - class DeleteConditionalFormatRuleResponse + class BatchUpdateSpreadsheetRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :rule, as: 'rule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation + property :include_spreadsheet_in_response, as: 'includeSpreadsheetInResponse' + collection :requests, as: 'requests', class: Google::Apis::SheetsV4::Request, decorator: Google::Apis::SheetsV4::Request::Representation + + property :response_include_grid_data, as: 'responseIncludeGridData' + collection :response_ranges, as: 'responseRanges' + end + end + + class BatchUpdateSpreadsheetResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :replies, as: 'replies', class: Google::Apis::SheetsV4::Response, decorator: Google::Apis::SheetsV4::Response::Representation + + property :spreadsheet_id, as: 'spreadsheetId' + property :updated_spreadsheet, as: 'updatedSpreadsheet', class: Google::Apis::SheetsV4::Spreadsheet, decorator: Google::Apis::SheetsV4::Spreadsheet::Representation end end - class DeleteRangeRequest + class BatchUpdateValuesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :shift_dimension, as: 'shiftDimension' - property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + collection :data, as: 'data', class: Google::Apis::SheetsV4::ValueRange, decorator: Google::Apis::SheetsV4::ValueRange::Representation + property :include_values_in_response, as: 'includeValuesInResponse' + property :response_date_time_render_option, as: 'responseDateTimeRenderOption' + property :response_value_render_option, as: 'responseValueRenderOption' + property :value_input_option, as: 'valueInputOption' end end - class GridCoordinate + class BatchUpdateValuesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :column_index, as: 'columnIndex' - property :row_index, as: 'rowIndex' - property :sheet_id, as: 'sheetId' + collection :responses, as: 'responses', class: Google::Apis::SheetsV4::UpdateValuesResponse, decorator: Google::Apis::SheetsV4::UpdateValuesResponse::Representation + + property :spreadsheet_id, as: 'spreadsheetId' + property :total_updated_cells, as: 'totalUpdatedCells' + property :total_updated_columns, as: 'totalUpdatedColumns' + property :total_updated_rows, as: 'totalUpdatedRows' + property :total_updated_sheets, as: 'totalUpdatedSheets' end end - class UpdateSheetPropertiesRequest + class BooleanCondition # @private class Representation < Google::Apis::Core::JsonRepresentation - property :fields, as: 'fields' - property :properties, as: 'properties', class: Google::Apis::SheetsV4::SheetProperties, decorator: Google::Apis::SheetsV4::SheetProperties::Representation - - end - end - - class GridProperties - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :row_count, as: 'rowCount' - property :hide_gridlines, as: 'hideGridlines' - property :frozen_row_count, as: 'frozenRowCount' - property :frozen_column_count, as: 'frozenColumnCount' - property :column_count, as: 'columnCount' - end - end - - class UnmergeCellsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - end - end - - class SortSpec - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :dimension_index, as: 'dimensionIndex' - property :sort_order, as: 'sortOrder' - end - end - - class Sheet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :filter_views, as: 'filterViews', class: Google::Apis::SheetsV4::FilterView, decorator: Google::Apis::SheetsV4::FilterView::Representation - - collection :protected_ranges, as: 'protectedRanges', class: Google::Apis::SheetsV4::ProtectedRange, decorator: Google::Apis::SheetsV4::ProtectedRange::Representation - - collection :conditional_formats, as: 'conditionalFormats', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation - - property :basic_filter, as: 'basicFilter', class: Google::Apis::SheetsV4::BasicFilter, decorator: Google::Apis::SheetsV4::BasicFilter::Representation - - collection :merges, as: 'merges', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - collection :data, as: 'data', class: Google::Apis::SheetsV4::GridData, decorator: Google::Apis::SheetsV4::GridData::Representation - - collection :banded_ranges, as: 'bandedRanges', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation - - property :properties, as: 'properties', class: Google::Apis::SheetsV4::SheetProperties, decorator: Google::Apis::SheetsV4::SheetProperties::Representation - - collection :charts, as: 'charts', class: Google::Apis::SheetsV4::EmbeddedChart, decorator: Google::Apis::SheetsV4::EmbeddedChart::Representation - - end - end - - class UpdateEmbeddedObjectPositionResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :position, as: 'position', class: Google::Apis::SheetsV4::EmbeddedObjectPosition, decorator: Google::Apis::SheetsV4::EmbeddedObjectPosition::Representation + property :type, as: 'type' + collection :values, as: 'values', class: Google::Apis::SheetsV4::ConditionValue, decorator: Google::Apis::SheetsV4::ConditionValue::Representation end end @@ -1496,308 +1210,26 @@ module Google end end - class FilterCriteria + class Border # @private class Representation < Google::Apis::Core::JsonRepresentation - property :condition, as: 'condition', class: Google::Apis::SheetsV4::BooleanCondition, decorator: Google::Apis::SheetsV4::BooleanCondition::Representation + property :color, as: 'color', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation - collection :hidden_values, as: 'hiddenValues' + property :style, as: 'style' + property :width, as: 'width' end end - class PivotGroupValueMetadata + class Borders # @private class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value', class: Google::Apis::SheetsV4::ExtendedValue, decorator: Google::Apis::SheetsV4::ExtendedValue::Representation + property :bottom, as: 'bottom', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation - property :collapsed, as: 'collapsed' - end - end + property :left, as: 'left', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation - class Editors - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :users, as: 'users' - property :domain_users_can_edit, as: 'domainUsersCanEdit' - collection :groups, as: 'groups' - end - end + property :right, as: 'right', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation - class UpdateConditionalFormatRuleRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :new_index, as: 'newIndex' - property :rule, as: 'rule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation - - property :index, as: 'index' - property :sheet_id, as: 'sheetId' - end - end - - class BasicChartDomain - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :domain, as: 'domain', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation - - property :reversed, as: 'reversed' - end - end - - class DataValidationRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :condition, as: 'condition', class: Google::Apis::SheetsV4::BooleanCondition, decorator: Google::Apis::SheetsV4::BooleanCondition::Representation - - property :show_custom_ui, as: 'showCustomUi' - property :strict, as: 'strict' - property :input_message, as: 'inputMessage' - end - end - - class PasteDataRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :coordinate, as: 'coordinate', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation - - property :delimiter, as: 'delimiter' - property :data, as: 'data' - property :type, as: 'type' - property :html, as: 'html' - end - end - - class AppendDimensionRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :dimension, as: 'dimension' - property :length, as: 'length' - property :sheet_id, as: 'sheetId' - end - end - - class AddNamedRangeRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :named_range, as: 'namedRange', class: Google::Apis::SheetsV4::NamedRange, decorator: Google::Apis::SheetsV4::NamedRange::Representation - - end - end - - class UpdateEmbeddedObjectPositionRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :new_position, as: 'newPosition', class: Google::Apis::SheetsV4::EmbeddedObjectPosition, decorator: Google::Apis::SheetsV4::EmbeddedObjectPosition::Representation - - property :fields, as: 'fields' - property :object_id_prop, as: 'objectId' - end - end - - class TextRotation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :angle, as: 'angle' - property :vertical, as: 'vertical' - end - end - - class PieChartSpec - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :series, as: 'series', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation - - property :pie_hole, as: 'pieHole' - property :legend_position, as: 'legendPosition' - property :three_dimensional, as: 'threeDimensional' - property :domain, as: 'domain', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation - - end - end - - class UpdateFilterViewRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :filter, as: 'filter', class: Google::Apis::SheetsV4::FilterView, decorator: Google::Apis::SheetsV4::FilterView::Representation - - property :fields, as: 'fields' - end - end - - class ConditionalFormatRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :ranges, as: 'ranges', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - property :gradient_rule, as: 'gradientRule', class: Google::Apis::SheetsV4::GradientRule, decorator: Google::Apis::SheetsV4::GradientRule::Representation - - property :boolean_rule, as: 'booleanRule', class: Google::Apis::SheetsV4::BooleanRule, decorator: Google::Apis::SheetsV4::BooleanRule::Representation - - end - end - - class CopyPasteRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :paste_type, as: 'pasteType' - property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - property :destination, as: 'destination', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - property :paste_orientation, as: 'pasteOrientation' - end - end - - class Request - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :sort_range, as: 'sortRange', class: Google::Apis::SheetsV4::SortRangeRequest, decorator: Google::Apis::SheetsV4::SortRangeRequest::Representation - - property :delete_protected_range, as: 'deleteProtectedRange', class: Google::Apis::SheetsV4::DeleteProtectedRangeRequest, decorator: Google::Apis::SheetsV4::DeleteProtectedRangeRequest::Representation - - property :duplicate_filter_view, as: 'duplicateFilterView', class: Google::Apis::SheetsV4::DuplicateFilterViewRequest, decorator: Google::Apis::SheetsV4::DuplicateFilterViewRequest::Representation - - property :add_chart, as: 'addChart', class: Google::Apis::SheetsV4::AddChartRequest, decorator: Google::Apis::SheetsV4::AddChartRequest::Representation - - property :find_replace, as: 'findReplace', class: Google::Apis::SheetsV4::FindReplaceRequest, decorator: Google::Apis::SheetsV4::FindReplaceRequest::Representation - - property :text_to_columns, as: 'textToColumns', class: Google::Apis::SheetsV4::TextToColumnsRequest, decorator: Google::Apis::SheetsV4::TextToColumnsRequest::Representation - - property :update_chart_spec, as: 'updateChartSpec', class: Google::Apis::SheetsV4::UpdateChartSpecRequest, decorator: Google::Apis::SheetsV4::UpdateChartSpecRequest::Representation - - property :add_sheet, as: 'addSheet', class: Google::Apis::SheetsV4::AddSheetRequest, decorator: Google::Apis::SheetsV4::AddSheetRequest::Representation - - property :update_protected_range, as: 'updateProtectedRange', class: Google::Apis::SheetsV4::UpdateProtectedRangeRequest, decorator: Google::Apis::SheetsV4::UpdateProtectedRangeRequest::Representation - - property :delete_filter_view, as: 'deleteFilterView', class: Google::Apis::SheetsV4::DeleteFilterViewRequest, decorator: Google::Apis::SheetsV4::DeleteFilterViewRequest::Representation - - property :copy_paste, as: 'copyPaste', class: Google::Apis::SheetsV4::CopyPasteRequest, decorator: Google::Apis::SheetsV4::CopyPasteRequest::Representation - - property :insert_dimension, as: 'insertDimension', class: Google::Apis::SheetsV4::InsertDimensionRequest, decorator: Google::Apis::SheetsV4::InsertDimensionRequest::Representation - - property :delete_range, as: 'deleteRange', class: Google::Apis::SheetsV4::DeleteRangeRequest, decorator: Google::Apis::SheetsV4::DeleteRangeRequest::Representation - - property :delete_banding, as: 'deleteBanding', class: Google::Apis::SheetsV4::DeleteBandingRequest, decorator: Google::Apis::SheetsV4::DeleteBandingRequest::Representation - - property :add_filter_view, as: 'addFilterView', class: Google::Apis::SheetsV4::AddFilterViewRequest, decorator: Google::Apis::SheetsV4::AddFilterViewRequest::Representation - - property :set_data_validation, as: 'setDataValidation', class: Google::Apis::SheetsV4::SetDataValidationRequest, decorator: Google::Apis::SheetsV4::SetDataValidationRequest::Representation - - property :update_borders, as: 'updateBorders', class: Google::Apis::SheetsV4::UpdateBordersRequest, decorator: Google::Apis::SheetsV4::UpdateBordersRequest::Representation - - property :delete_conditional_format_rule, as: 'deleteConditionalFormatRule', class: Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest::Representation - - property :repeat_cell, as: 'repeatCell', class: Google::Apis::SheetsV4::RepeatCellRequest, decorator: Google::Apis::SheetsV4::RepeatCellRequest::Representation - - property :clear_basic_filter, as: 'clearBasicFilter', class: Google::Apis::SheetsV4::ClearBasicFilterRequest, decorator: Google::Apis::SheetsV4::ClearBasicFilterRequest::Representation - - property :append_dimension, as: 'appendDimension', class: Google::Apis::SheetsV4::AppendDimensionRequest, decorator: Google::Apis::SheetsV4::AppendDimensionRequest::Representation - - property :update_conditional_format_rule, as: 'updateConditionalFormatRule', class: Google::Apis::SheetsV4::UpdateConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::UpdateConditionalFormatRuleRequest::Representation - - property :insert_range, as: 'insertRange', class: Google::Apis::SheetsV4::InsertRangeRequest, decorator: Google::Apis::SheetsV4::InsertRangeRequest::Representation - - property :move_dimension, as: 'moveDimension', class: Google::Apis::SheetsV4::MoveDimensionRequest, decorator: Google::Apis::SheetsV4::MoveDimensionRequest::Representation - - property :randomize_range, as: 'randomizeRange', class: Google::Apis::SheetsV4::RandomizeRangeRequest, decorator: Google::Apis::SheetsV4::RandomizeRangeRequest::Representation - - property :update_banding, as: 'updateBanding', class: Google::Apis::SheetsV4::UpdateBandingRequest, decorator: Google::Apis::SheetsV4::UpdateBandingRequest::Representation - - property :delete_named_range, as: 'deleteNamedRange', class: Google::Apis::SheetsV4::DeleteNamedRangeRequest, decorator: Google::Apis::SheetsV4::DeleteNamedRangeRequest::Representation - - property :add_protected_range, as: 'addProtectedRange', class: Google::Apis::SheetsV4::AddProtectedRangeRequest, decorator: Google::Apis::SheetsV4::AddProtectedRangeRequest::Representation - - property :duplicate_sheet, as: 'duplicateSheet', class: Google::Apis::SheetsV4::DuplicateSheetRequest, decorator: Google::Apis::SheetsV4::DuplicateSheetRequest::Representation - - property :delete_sheet, as: 'deleteSheet', class: Google::Apis::SheetsV4::DeleteSheetRequest, decorator: Google::Apis::SheetsV4::DeleteSheetRequest::Representation - - property :unmerge_cells, as: 'unmergeCells', class: Google::Apis::SheetsV4::UnmergeCellsRequest, decorator: Google::Apis::SheetsV4::UnmergeCellsRequest::Representation - - property :update_embedded_object_position, as: 'updateEmbeddedObjectPosition', class: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest, decorator: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest::Representation - - property :update_dimension_properties, as: 'updateDimensionProperties', class: Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest, decorator: Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest::Representation - - property :paste_data, as: 'pasteData', class: Google::Apis::SheetsV4::PasteDataRequest, decorator: Google::Apis::SheetsV4::PasteDataRequest::Representation - - property :set_basic_filter, as: 'setBasicFilter', class: Google::Apis::SheetsV4::SetBasicFilterRequest, decorator: Google::Apis::SheetsV4::SetBasicFilterRequest::Representation - - property :add_conditional_format_rule, as: 'addConditionalFormatRule', class: Google::Apis::SheetsV4::AddConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::AddConditionalFormatRuleRequest::Representation - - property :update_cells, as: 'updateCells', class: Google::Apis::SheetsV4::UpdateCellsRequest, decorator: Google::Apis::SheetsV4::UpdateCellsRequest::Representation - - property :add_named_range, as: 'addNamedRange', class: Google::Apis::SheetsV4::AddNamedRangeRequest, decorator: Google::Apis::SheetsV4::AddNamedRangeRequest::Representation - - property :update_spreadsheet_properties, as: 'updateSpreadsheetProperties', class: Google::Apis::SheetsV4::UpdateSpreadsheetPropertiesRequest, decorator: Google::Apis::SheetsV4::UpdateSpreadsheetPropertiesRequest::Representation - - property :delete_embedded_object, as: 'deleteEmbeddedObject', class: Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest, decorator: Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest::Representation - - property :update_filter_view, as: 'updateFilterView', class: Google::Apis::SheetsV4::UpdateFilterViewRequest, decorator: Google::Apis::SheetsV4::UpdateFilterViewRequest::Representation - - property :add_banding, as: 'addBanding', class: Google::Apis::SheetsV4::AddBandingRequest, decorator: Google::Apis::SheetsV4::AddBandingRequest::Representation - - property :auto_resize_dimensions, as: 'autoResizeDimensions', class: Google::Apis::SheetsV4::AutoResizeDimensionsRequest, decorator: Google::Apis::SheetsV4::AutoResizeDimensionsRequest::Representation - - property :append_cells, as: 'appendCells', class: Google::Apis::SheetsV4::AppendCellsRequest, decorator: Google::Apis::SheetsV4::AppendCellsRequest::Representation - - property :cut_paste, as: 'cutPaste', class: Google::Apis::SheetsV4::CutPasteRequest, decorator: Google::Apis::SheetsV4::CutPasteRequest::Representation - - property :merge_cells, as: 'mergeCells', class: Google::Apis::SheetsV4::MergeCellsRequest, decorator: Google::Apis::SheetsV4::MergeCellsRequest::Representation - - property :update_named_range, as: 'updateNamedRange', class: Google::Apis::SheetsV4::UpdateNamedRangeRequest, decorator: Google::Apis::SheetsV4::UpdateNamedRangeRequest::Representation - - property :update_sheet_properties, as: 'updateSheetProperties', class: Google::Apis::SheetsV4::UpdateSheetPropertiesRequest, decorator: Google::Apis::SheetsV4::UpdateSheetPropertiesRequest::Representation - - property :delete_dimension, as: 'deleteDimension', class: Google::Apis::SheetsV4::DeleteDimensionRequest, decorator: Google::Apis::SheetsV4::DeleteDimensionRequest::Representation - - property :auto_fill, as: 'autoFill', class: Google::Apis::SheetsV4::AutoFillRequest, decorator: Google::Apis::SheetsV4::AutoFillRequest::Representation - - end - end - - class BooleanCondition - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :values, as: 'values', class: Google::Apis::SheetsV4::ConditionValue, decorator: Google::Apis::SheetsV4::ConditionValue::Representation - - property :type, as: 'type' - end - end - - class GridRange - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :sheet_id, as: 'sheetId' - property :end_column_index, as: 'endColumnIndex' - property :end_row_index, as: 'endRowIndex' - property :start_row_index, as: 'startRowIndex' - property :start_column_index, as: 'startColumnIndex' - end - end - - class BasicChartSpec - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :line_smoothing, as: 'lineSmoothing' - property :header_count, as: 'headerCount' - property :stacked_type, as: 'stackedType' - collection :axis, as: 'axis', class: Google::Apis::SheetsV4::BasicChartAxis, decorator: Google::Apis::SheetsV4::BasicChartAxis::Representation - - property :three_dimensional, as: 'threeDimensional' - property :interpolate_nulls, as: 'interpolateNulls' - property :chart_type, as: 'chartType' - collection :series, as: 'series', class: Google::Apis::SheetsV4::BasicChartSeries, decorator: Google::Apis::SheetsV4::BasicChartSeries::Representation - - property :legend_position, as: 'legendPosition' - collection :domains, as: 'domains', class: Google::Apis::SheetsV4::BasicChartDomain, decorator: Google::Apis::SheetsV4::BasicChartDomain::Representation - - end - end - - class SetDataValidationRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - property :rule, as: 'rule', class: Google::Apis::SheetsV4::DataValidationRule, decorator: Google::Apis::SheetsV4::DataValidationRule::Representation + property :top, as: 'top', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation end end @@ -1805,456 +1237,24 @@ module Google class BubbleChartSpec # @private class Representation < Google::Apis::Core::JsonRepresentation - property :bubble_max_radius_size, as: 'bubbleMaxRadiusSize' - property :series, as: 'series', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation - - property :legend_position, as: 'legendPosition' - property :bubble_sizes, as: 'bubbleSizes', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation - - property :domain, as: 'domain', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation - - property :bubble_opacity, as: 'bubbleOpacity' - property :bubble_text_style, as: 'bubbleTextStyle', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation - property :bubble_border_color, as: 'bubbleBorderColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation - property :group_ids, as: 'groupIds', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation - property :bubble_labels, as: 'bubbleLabels', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation + property :bubble_max_radius_size, as: 'bubbleMaxRadiusSize' property :bubble_min_radius_size, as: 'bubbleMinRadiusSize' - end - end + property :bubble_opacity, as: 'bubbleOpacity' + property :bubble_sizes, as: 'bubbleSizes', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation - class CellData - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :pivot_table, as: 'pivotTable', class: Google::Apis::SheetsV4::PivotTable, decorator: Google::Apis::SheetsV4::PivotTable::Representation + property :bubble_text_style, as: 'bubbleTextStyle', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation - property :user_entered_format, as: 'userEnteredFormat', class: Google::Apis::SheetsV4::CellFormat, decorator: Google::Apis::SheetsV4::CellFormat::Representation + property :domain, as: 'domain', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation - property :note, as: 'note' - property :effective_format, as: 'effectiveFormat', class: Google::Apis::SheetsV4::CellFormat, decorator: Google::Apis::SheetsV4::CellFormat::Representation - - property :data_validation, as: 'dataValidation', class: Google::Apis::SheetsV4::DataValidationRule, decorator: Google::Apis::SheetsV4::DataValidationRule::Representation - - property :user_entered_value, as: 'userEnteredValue', class: Google::Apis::SheetsV4::ExtendedValue, decorator: Google::Apis::SheetsV4::ExtendedValue::Representation - - property :effective_value, as: 'effectiveValue', class: Google::Apis::SheetsV4::ExtendedValue, decorator: Google::Apis::SheetsV4::ExtendedValue::Representation - - collection :text_format_runs, as: 'textFormatRuns', class: Google::Apis::SheetsV4::TextFormatRun, decorator: Google::Apis::SheetsV4::TextFormatRun::Representation - - property :formatted_value, as: 'formattedValue' - property :hyperlink, as: 'hyperlink' - end - end - - class BatchUpdateSpreadsheetRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :response_include_grid_data, as: 'responseIncludeGridData' - collection :response_ranges, as: 'responseRanges' - property :include_spreadsheet_in_response, as: 'includeSpreadsheetInResponse' - collection :requests, as: 'requests', class: Google::Apis::SheetsV4::Request, decorator: Google::Apis::SheetsV4::Request::Representation - - end - end - - class Padding - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :right, as: 'right' - property :bottom, as: 'bottom' - property :top, as: 'top' - property :left, as: 'left' - end - end - - class BasicChartAxis - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :format, as: 'format', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation - - property :title, as: 'title' - property :position, as: 'position' - end - end - - class DeleteDimensionRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :range, as: 'range', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation - - end - end - - class UpdateChartSpecRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :spec, as: 'spec', class: Google::Apis::SheetsV4::ChartSpec, decorator: Google::Apis::SheetsV4::ChartSpec::Representation - - property :chart_id, as: 'chartId' - end - end - - class DeleteFilterViewRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :filter_id, as: 'filterId' - end - end - - class BatchUpdateValuesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :spreadsheet_id, as: 'spreadsheetId' - property :total_updated_rows, as: 'totalUpdatedRows' - collection :responses, as: 'responses', class: Google::Apis::SheetsV4::UpdateValuesResponse, decorator: Google::Apis::SheetsV4::UpdateValuesResponse::Representation - - property :total_updated_sheets, as: 'totalUpdatedSheets' - property :total_updated_cells, as: 'totalUpdatedCells' - property :total_updated_columns, as: 'totalUpdatedColumns' - end - end - - class SortRangeRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - collection :sort_specs, as: 'sortSpecs', class: Google::Apis::SheetsV4::SortSpec, decorator: Google::Apis::SheetsV4::SortSpec::Representation - - end - end - - class MergeCellsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :merge_type, as: 'mergeType' - property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - end - end - - class AddProtectedRangeRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :protected_range, as: 'protectedRange', class: Google::Apis::SheetsV4::ProtectedRange, decorator: Google::Apis::SheetsV4::ProtectedRange::Representation - - end - end - - class BatchClearValuesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :ranges, as: 'ranges' - end - end - - class DuplicateFilterViewResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :filter, as: 'filter', class: Google::Apis::SheetsV4::FilterView, decorator: Google::Apis::SheetsV4::FilterView::Representation - - end - end - - class DuplicateSheetResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :properties, as: 'properties', class: Google::Apis::SheetsV4::SheetProperties, decorator: Google::Apis::SheetsV4::SheetProperties::Representation - - end - end - - class TextToColumnsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :delimiter, as: 'delimiter' - property :delimiter_type, as: 'delimiterType' - property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - end - end - - class ClearBasicFilterRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :sheet_id, as: 'sheetId' - end - end - - class BatchUpdateSpreadsheetResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :updated_spreadsheet, as: 'updatedSpreadsheet', class: Google::Apis::SheetsV4::Spreadsheet, decorator: Google::Apis::SheetsV4::Spreadsheet::Representation - - collection :replies, as: 'replies', class: Google::Apis::SheetsV4::Response, decorator: Google::Apis::SheetsV4::Response::Representation - - property :spreadsheet_id, as: 'spreadsheetId' - end - end - - class DeleteBandingRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :banded_range_id, as: 'bandedRangeId' - end - end - - class AppendValuesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :updates, as: 'updates', class: Google::Apis::SheetsV4::UpdateValuesResponse, decorator: Google::Apis::SheetsV4::UpdateValuesResponse::Representation - - property :table_range, as: 'tableRange' - property :spreadsheet_id, as: 'spreadsheetId' - end - end - - class MoveDimensionRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :destination_index, as: 'destinationIndex' - property :source, as: 'source', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation - - end - end - - class PivotFilterCriteria - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :visible_values, as: 'visibleValues' - end - end - - class AddFilterViewRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :filter, as: 'filter', class: Google::Apis::SheetsV4::FilterView, decorator: Google::Apis::SheetsV4::FilterView::Representation - - end - end - - class AddConditionalFormatRuleRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :rule, as: 'rule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation - - property :index, as: 'index' - end - end - - class ChartSpec - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :title, as: 'title' - property :histogram_chart, as: 'histogramChart', class: Google::Apis::SheetsV4::HistogramChartSpec, decorator: Google::Apis::SheetsV4::HistogramChartSpec::Representation - - property :candlestick_chart, as: 'candlestickChart', class: Google::Apis::SheetsV4::CandlestickChartSpec, decorator: Google::Apis::SheetsV4::CandlestickChartSpec::Representation - - property :bubble_chart, as: 'bubbleChart', class: Google::Apis::SheetsV4::BubbleChartSpec, decorator: Google::Apis::SheetsV4::BubbleChartSpec::Representation - - property :font_name, as: 'fontName' - property :maximized, as: 'maximized' - property :hidden_dimension_strategy, as: 'hiddenDimensionStrategy' - property :background_color, as: 'backgroundColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation - - property :basic_chart, as: 'basicChart', class: Google::Apis::SheetsV4::BasicChartSpec, decorator: Google::Apis::SheetsV4::BasicChartSpec::Representation - - property :org_chart, as: 'orgChart', class: Google::Apis::SheetsV4::OrgChartSpec, decorator: Google::Apis::SheetsV4::OrgChartSpec::Representation - - property :pie_chart, as: 'pieChart', class: Google::Apis::SheetsV4::PieChartSpec, decorator: Google::Apis::SheetsV4::PieChartSpec::Representation - - property :title_text_format, as: 'titleTextFormat', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation - - end - end - - class NumberFormat - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :pattern, as: 'pattern' - property :type, as: 'type' - end - end - - class CandlestickDomain - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :reversed, as: 'reversed' - property :data, as: 'data', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation - - end - end - - class SheetProperties - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :tab_color, as: 'tabColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation - - property :index, as: 'index' - property :sheet_id, as: 'sheetId' - property :right_to_left, as: 'rightToLeft' - property :hidden, as: 'hidden' - property :sheet_type, as: 'sheetType' - property :grid_properties, as: 'gridProperties', class: Google::Apis::SheetsV4::GridProperties, decorator: Google::Apis::SheetsV4::GridProperties::Representation - - property :title, as: 'title' - end - end - - class UpdateDimensionPropertiesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :properties, as: 'properties', class: Google::Apis::SheetsV4::DimensionProperties, decorator: Google::Apis::SheetsV4::DimensionProperties::Representation - - property :range, as: 'range', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation - - property :fields, as: 'fields' - end - end - - class SourceAndDestination - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :fill_length, as: 'fillLength' - property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - property :dimension, as: 'dimension' - end - end - - class OrgChartSpec - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :node_color, as: 'nodeColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation - - property :tooltips, as: 'tooltips', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation - - property :selected_node_color, as: 'selectedNodeColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation - - property :parent_labels, as: 'parentLabels', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation - - property :labels, as: 'labels', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation - - property :node_size, as: 'nodeSize' - end - end - - class FilterView - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :named_range_id, as: 'namedRangeId' - property :filter_view_id, as: 'filterViewId' - hash :criteria, as: 'criteria', class: Google::Apis::SheetsV4::FilterCriteria, decorator: Google::Apis::SheetsV4::FilterCriteria::Representation - - property :title, as: 'title' - property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - collection :sort_specs, as: 'sortSpecs', class: Google::Apis::SheetsV4::SortSpec, decorator: Google::Apis::SheetsV4::SortSpec::Representation - - end - end - - class BandingProperties - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :second_band_color, as: 'secondBandColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation - - property :footer_color, as: 'footerColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation - - property :header_color, as: 'headerColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation - - property :first_band_color, as: 'firstBandColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation - - end - end - - class CandlestickSeries - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :data, as: 'data', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation - - end - end - - class BasicFilter - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :sort_specs, as: 'sortSpecs', class: Google::Apis::SheetsV4::SortSpec, decorator: Google::Apis::SheetsV4::SortSpec::Representation - - hash :criteria, as: 'criteria', class: Google::Apis::SheetsV4::FilterCriteria, decorator: Google::Apis::SheetsV4::FilterCriteria::Representation - - property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - end - end - - class AddProtectedRangeResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :protected_range, as: 'protectedRange', class: Google::Apis::SheetsV4::ProtectedRange, decorator: Google::Apis::SheetsV4::ProtectedRange::Representation - - end - end - - class HistogramChartSpec - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :outlier_percentile, as: 'outlierPercentile' - property :show_item_dividers, as: 'showItemDividers' - collection :series, as: 'series', class: Google::Apis::SheetsV4::HistogramSeries, decorator: Google::Apis::SheetsV4::HistogramSeries::Representation + property :group_ids, as: 'groupIds', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation property :legend_position, as: 'legendPosition' - property :bucket_size, as: 'bucketSize' - end - end + property :series, as: 'series', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation - class UpdateValuesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :updated_data, as: 'updatedData', class: Google::Apis::SheetsV4::ValueRange, decorator: Google::Apis::SheetsV4::ValueRange::Representation - - property :updated_rows, as: 'updatedRows' - property :updated_columns, as: 'updatedColumns' - property :spreadsheet_id, as: 'spreadsheetId' - property :updated_range, as: 'updatedRange' - property :updated_cells, as: 'updatedCells' - end - end - - class ErrorValue - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :message, as: 'message' - property :type, as: 'type' - end - end - - class PivotValue - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :formula, as: 'formula' - property :summarize_function, as: 'summarizeFunction' - property :source_column_offset, as: 'sourceColumnOffset' - property :name, as: 'name' - end - end - - class CopySheetToAnotherSpreadsheetRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :destination_spreadsheet_id, as: 'destinationSpreadsheetId' - end - end - - class PivotGroupSortValueBucket - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :buckets, as: 'buckets', class: Google::Apis::SheetsV4::ExtendedValue, decorator: Google::Apis::SheetsV4::ExtendedValue::Representation - - property :values_index, as: 'valuesIndex' end end @@ -2273,11 +1273,356 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :close_series, as: 'closeSeries', class: Google::Apis::SheetsV4::CandlestickSeries, decorator: Google::Apis::SheetsV4::CandlestickSeries::Representation + property :high_series, as: 'highSeries', class: Google::Apis::SheetsV4::CandlestickSeries, decorator: Google::Apis::SheetsV4::CandlestickSeries::Representation + property :low_series, as: 'lowSeries', class: Google::Apis::SheetsV4::CandlestickSeries, decorator: Google::Apis::SheetsV4::CandlestickSeries::Representation property :open_series, as: 'openSeries', class: Google::Apis::SheetsV4::CandlestickSeries, decorator: Google::Apis::SheetsV4::CandlestickSeries::Representation - property :high_series, as: 'highSeries', class: Google::Apis::SheetsV4::CandlestickSeries, decorator: Google::Apis::SheetsV4::CandlestickSeries::Representation + end + end + + class CandlestickDomain + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data, as: 'data', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation + + property :reversed, as: 'reversed' + end + end + + class CandlestickSeries + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data, as: 'data', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation + + end + end + + class CellData + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_validation, as: 'dataValidation', class: Google::Apis::SheetsV4::DataValidationRule, decorator: Google::Apis::SheetsV4::DataValidationRule::Representation + + property :effective_format, as: 'effectiveFormat', class: Google::Apis::SheetsV4::CellFormat, decorator: Google::Apis::SheetsV4::CellFormat::Representation + + property :effective_value, as: 'effectiveValue', class: Google::Apis::SheetsV4::ExtendedValue, decorator: Google::Apis::SheetsV4::ExtendedValue::Representation + + property :formatted_value, as: 'formattedValue' + property :hyperlink, as: 'hyperlink' + property :note, as: 'note' + property :pivot_table, as: 'pivotTable', class: Google::Apis::SheetsV4::PivotTable, decorator: Google::Apis::SheetsV4::PivotTable::Representation + + collection :text_format_runs, as: 'textFormatRuns', class: Google::Apis::SheetsV4::TextFormatRun, decorator: Google::Apis::SheetsV4::TextFormatRun::Representation + + property :user_entered_format, as: 'userEnteredFormat', class: Google::Apis::SheetsV4::CellFormat, decorator: Google::Apis::SheetsV4::CellFormat::Representation + + property :user_entered_value, as: 'userEnteredValue', class: Google::Apis::SheetsV4::ExtendedValue, decorator: Google::Apis::SheetsV4::ExtendedValue::Representation + + end + end + + class CellFormat + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :background_color, as: 'backgroundColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + + property :borders, as: 'borders', class: Google::Apis::SheetsV4::Borders, decorator: Google::Apis::SheetsV4::Borders::Representation + + property :horizontal_alignment, as: 'horizontalAlignment' + property :hyperlink_display_type, as: 'hyperlinkDisplayType' + property :number_format, as: 'numberFormat', class: Google::Apis::SheetsV4::NumberFormat, decorator: Google::Apis::SheetsV4::NumberFormat::Representation + + property :padding, as: 'padding', class: Google::Apis::SheetsV4::Padding, decorator: Google::Apis::SheetsV4::Padding::Representation + + property :text_direction, as: 'textDirection' + property :text_format, as: 'textFormat', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation + + property :text_rotation, as: 'textRotation', class: Google::Apis::SheetsV4::TextRotation, decorator: Google::Apis::SheetsV4::TextRotation::Representation + + property :vertical_alignment, as: 'verticalAlignment' + property :wrap_strategy, as: 'wrapStrategy' + end + end + + class ChartData + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :source_range, as: 'sourceRange', class: Google::Apis::SheetsV4::ChartSourceRange, decorator: Google::Apis::SheetsV4::ChartSourceRange::Representation + + end + end + + class ChartSourceRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :sources, as: 'sources', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + end + end + + class ChartSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alt_text, as: 'altText' + property :background_color, as: 'backgroundColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + + property :basic_chart, as: 'basicChart', class: Google::Apis::SheetsV4::BasicChartSpec, decorator: Google::Apis::SheetsV4::BasicChartSpec::Representation + + property :bubble_chart, as: 'bubbleChart', class: Google::Apis::SheetsV4::BubbleChartSpec, decorator: Google::Apis::SheetsV4::BubbleChartSpec::Representation + + property :candlestick_chart, as: 'candlestickChart', class: Google::Apis::SheetsV4::CandlestickChartSpec, decorator: Google::Apis::SheetsV4::CandlestickChartSpec::Representation + + property :font_name, as: 'fontName' + property :hidden_dimension_strategy, as: 'hiddenDimensionStrategy' + property :histogram_chart, as: 'histogramChart', class: Google::Apis::SheetsV4::HistogramChartSpec, decorator: Google::Apis::SheetsV4::HistogramChartSpec::Representation + + property :maximized, as: 'maximized' + property :org_chart, as: 'orgChart', class: Google::Apis::SheetsV4::OrgChartSpec, decorator: Google::Apis::SheetsV4::OrgChartSpec::Representation + + property :pie_chart, as: 'pieChart', class: Google::Apis::SheetsV4::PieChartSpec, decorator: Google::Apis::SheetsV4::PieChartSpec::Representation + + property :title, as: 'title' + property :title_text_format, as: 'titleTextFormat', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation + + end + end + + class ClearBasicFilterRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :sheet_id, as: 'sheetId' + end + end + + class ClearValuesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class ClearValuesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cleared_range, as: 'clearedRange' + property :spreadsheet_id, as: 'spreadsheetId' + end + end + + class Color + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alpha, as: 'alpha' + property :blue, as: 'blue' + property :green, as: 'green' + property :red, as: 'red' + end + end + + class ConditionValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :relative_date, as: 'relativeDate' + property :user_entered_value, as: 'userEnteredValue' + end + end + + class ConditionalFormatRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :boolean_rule, as: 'booleanRule', class: Google::Apis::SheetsV4::BooleanRule, decorator: Google::Apis::SheetsV4::BooleanRule::Representation + + property :gradient_rule, as: 'gradientRule', class: Google::Apis::SheetsV4::GradientRule, decorator: Google::Apis::SheetsV4::GradientRule::Representation + + collection :ranges, as: 'ranges', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + end + end + + class CopyPasteRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :destination, as: 'destination', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + property :paste_orientation, as: 'pasteOrientation' + property :paste_type, as: 'pasteType' + property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + end + end + + class CopySheetToAnotherSpreadsheetRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :destination_spreadsheet_id, as: 'destinationSpreadsheetId' + end + end + + class CutPasteRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :destination, as: 'destination', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation + + property :paste_type, as: 'pasteType' + property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + end + end + + class DataValidationRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :condition, as: 'condition', class: Google::Apis::SheetsV4::BooleanCondition, decorator: Google::Apis::SheetsV4::BooleanCondition::Representation + + property :input_message, as: 'inputMessage' + property :show_custom_ui, as: 'showCustomUi' + property :strict, as: 'strict' + end + end + + class DeleteBandingRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :banded_range_id, as: 'bandedRangeId' + end + end + + class DeleteConditionalFormatRuleRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :index, as: 'index' + property :sheet_id, as: 'sheetId' + end + end + + class DeleteConditionalFormatRuleResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :rule, as: 'rule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation + + end + end + + class DeleteDimensionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :range, as: 'range', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation + + end + end + + class DeleteEmbeddedObjectRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class DeleteFilterViewRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :filter_id, as: 'filterId' + end + end + + class DeleteNamedRangeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :named_range_id, as: 'namedRangeId' + end + end + + class DeleteProtectedRangeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :protected_range_id, as: 'protectedRangeId' + end + end + + class DeleteRangeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + property :shift_dimension, as: 'shiftDimension' + end + end + + class DeleteSheetRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :sheet_id, as: 'sheetId' + end + end + + class DimensionProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :hidden_by_filter, as: 'hiddenByFilter' + property :hidden_by_user, as: 'hiddenByUser' + property :pixel_size, as: 'pixelSize' + end + end + + class DimensionRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dimension, as: 'dimension' + property :end_index, as: 'endIndex' + property :sheet_id, as: 'sheetId' + property :start_index, as: 'startIndex' + end + end + + class DuplicateFilterViewRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :filter_id, as: 'filterId' + end + end + + class DuplicateFilterViewResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :filter, as: 'filter', class: Google::Apis::SheetsV4::FilterView, decorator: Google::Apis::SheetsV4::FilterView::Representation + + end + end + + class DuplicateSheetRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :insert_sheet_index, as: 'insertSheetIndex' + property :new_sheet_id, as: 'newSheetId' + property :new_sheet_name, as: 'newSheetName' + property :source_sheet_id, as: 'sourceSheetId' + end + end + + class DuplicateSheetResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :properties, as: 'properties', class: Google::Apis::SheetsV4::SheetProperties, decorator: Google::Apis::SheetsV4::SheetProperties::Representation + + end + end + + class Editors + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :domain_users_can_edit, as: 'domainUsersCanEdit' + collection :groups, as: 'groups' + collection :users, as: 'users' + end + end + + class EmbeddedChart + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :chart_id, as: 'chartId' + property :position, as: 'position', class: Google::Apis::SheetsV4::EmbeddedObjectPosition, decorator: Google::Apis::SheetsV4::EmbeddedObjectPosition::Representation + + property :spec, as: 'spec', class: Google::Apis::SheetsV4::ChartSpec, decorator: Google::Apis::SheetsV4::ChartSpec::Representation end end @@ -2292,161 +1637,143 @@ module Google end end - class DeleteProtectedRangeRequest + class ErrorValue # @private class Representation < Google::Apis::Core::JsonRepresentation - property :protected_range_id, as: 'protectedRangeId' - end - end - - class AutoFillRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :use_alternate_series, as: 'useAlternateSeries' - property :source_and_destination, as: 'sourceAndDestination', class: Google::Apis::SheetsV4::SourceAndDestination, decorator: Google::Apis::SheetsV4::SourceAndDestination::Representation - - property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - end - end - - class GradientRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :midpoint, as: 'midpoint', class: Google::Apis::SheetsV4::InterpolationPoint, decorator: Google::Apis::SheetsV4::InterpolationPoint::Representation - - property :maxpoint, as: 'maxpoint', class: Google::Apis::SheetsV4::InterpolationPoint, decorator: Google::Apis::SheetsV4::InterpolationPoint::Representation - - property :minpoint, as: 'minpoint', class: Google::Apis::SheetsV4::InterpolationPoint, decorator: Google::Apis::SheetsV4::InterpolationPoint::Representation - - end - end - - class SetBasicFilterRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :filter, as: 'filter', class: Google::Apis::SheetsV4::BasicFilter, decorator: Google::Apis::SheetsV4::BasicFilter::Representation - - end - end - - class ClearValuesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class InterpolationPoint - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :color, as: 'color', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation - + property :message, as: 'message' property :type, as: 'type' - property :value, as: 'value' - end - end - - class FindReplaceResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :sheets_changed, as: 'sheetsChanged' - property :formulas_changed, as: 'formulasChanged' - property :values_changed, as: 'valuesChanged' - property :occurrences_changed, as: 'occurrencesChanged' - property :rows_changed, as: 'rowsChanged' - end - end - - class DeleteEmbeddedObjectRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :object_id_prop, as: 'objectId' - end - end - - class DuplicateFilterViewRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :filter_id, as: 'filterId' - end - end - - class DeleteSheetRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :sheet_id, as: 'sheetId' - end - end - - class UpdateConditionalFormatRuleResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :old_rule, as: 'oldRule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation - - property :new_index, as: 'newIndex' - property :new_rule, as: 'newRule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation - - property :old_index, as: 'oldIndex' - end - end - - class DuplicateSheetRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :source_sheet_id, as: 'sourceSheetId' - property :new_sheet_id, as: 'newSheetId' - property :insert_sheet_index, as: 'insertSheetIndex' - property :new_sheet_name, as: 'newSheetName' - end - end - - class ConditionValue - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :user_entered_value, as: 'userEnteredValue' - property :relative_date, as: 'relativeDate' end end class ExtendedValue # @private class Representation < Google::Apis::Core::JsonRepresentation + property :bool_value, as: 'boolValue' property :error_value, as: 'errorValue', class: Google::Apis::SheetsV4::ErrorValue, decorator: Google::Apis::SheetsV4::ErrorValue::Representation property :formula_value, as: 'formulaValue' - property :bool_value, as: 'boolValue' - property :string_value, as: 'stringValue' property :number_value, as: 'numberValue' + property :string_value, as: 'stringValue' end end - class AddChartRequest + class FilterCriteria # @private class Representation < Google::Apis::Core::JsonRepresentation - property :chart, as: 'chart', class: Google::Apis::SheetsV4::EmbeddedChart, decorator: Google::Apis::SheetsV4::EmbeddedChart::Representation + property :condition, as: 'condition', class: Google::Apis::SheetsV4::BooleanCondition, decorator: Google::Apis::SheetsV4::BooleanCondition::Representation + + collection :hidden_values, as: 'hiddenValues' + end + end + + class FilterView + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :criteria, as: 'criteria', class: Google::Apis::SheetsV4::FilterCriteria, decorator: Google::Apis::SheetsV4::FilterCriteria::Representation + + property :filter_view_id, as: 'filterViewId' + property :named_range_id, as: 'namedRangeId' + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + collection :sort_specs, as: 'sortSpecs', class: Google::Apis::SheetsV4::SortSpec, decorator: Google::Apis::SheetsV4::SortSpec::Representation + + property :title, as: 'title' + end + end + + class FindReplaceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :all_sheets, as: 'allSheets' + property :find, as: 'find' + property :include_formulas, as: 'includeFormulas' + property :match_case, as: 'matchCase' + property :match_entire_cell, as: 'matchEntireCell' + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + property :replacement, as: 'replacement' + property :search_by_regex, as: 'searchByRegex' + property :sheet_id, as: 'sheetId' + end + end + + class FindReplaceResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :formulas_changed, as: 'formulasChanged' + property :occurrences_changed, as: 'occurrencesChanged' + property :rows_changed, as: 'rowsChanged' + property :sheets_changed, as: 'sheetsChanged' + property :values_changed, as: 'valuesChanged' + end + end + + class GradientRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :maxpoint, as: 'maxpoint', class: Google::Apis::SheetsV4::InterpolationPoint, decorator: Google::Apis::SheetsV4::InterpolationPoint::Representation + + property :midpoint, as: 'midpoint', class: Google::Apis::SheetsV4::InterpolationPoint, decorator: Google::Apis::SheetsV4::InterpolationPoint::Representation + + property :minpoint, as: 'minpoint', class: Google::Apis::SheetsV4::InterpolationPoint, decorator: Google::Apis::SheetsV4::InterpolationPoint::Representation end end - class Spreadsheet + class GridCoordinate # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :named_ranges, as: 'namedRanges', class: Google::Apis::SheetsV4::NamedRange, decorator: Google::Apis::SheetsV4::NamedRange::Representation - - collection :sheets, as: 'sheets', class: Google::Apis::SheetsV4::Sheet, decorator: Google::Apis::SheetsV4::Sheet::Representation - - property :spreadsheet_id, as: 'spreadsheetId' - property :spreadsheet_url, as: 'spreadsheetUrl' - property :properties, as: 'properties', class: Google::Apis::SheetsV4::SpreadsheetProperties, decorator: Google::Apis::SheetsV4::SpreadsheetProperties::Representation - + property :column_index, as: 'columnIndex' + property :row_index, as: 'rowIndex' + property :sheet_id, as: 'sheetId' end end - class BatchClearValuesResponse + class GridData # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :cleared_ranges, as: 'clearedRanges' - property :spreadsheet_id, as: 'spreadsheetId' + collection :column_metadata, as: 'columnMetadata', class: Google::Apis::SheetsV4::DimensionProperties, decorator: Google::Apis::SheetsV4::DimensionProperties::Representation + + collection :row_data, as: 'rowData', class: Google::Apis::SheetsV4::RowData, decorator: Google::Apis::SheetsV4::RowData::Representation + + collection :row_metadata, as: 'rowMetadata', class: Google::Apis::SheetsV4::DimensionProperties, decorator: Google::Apis::SheetsV4::DimensionProperties::Representation + + property :start_column, as: 'startColumn' + property :start_row, as: 'startRow' + end + end + + class GridProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :column_count, as: 'columnCount' + property :frozen_column_count, as: 'frozenColumnCount' + property :frozen_row_count, as: 'frozenRowCount' + property :hide_gridlines, as: 'hideGridlines' + property :row_count, as: 'rowCount' + end + end + + class GridRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_column_index, as: 'endColumnIndex' + property :end_row_index, as: 'endRowIndex' + property :sheet_id, as: 'sheetId' + property :start_column_index, as: 'startColumnIndex' + property :start_row_index, as: 'startRowIndex' + end + end + + class HistogramChartSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bucket_size, as: 'bucketSize' + property :legend_position, as: 'legendPosition' + property :outlier_percentile, as: 'outlierPercentile' + collection :series, as: 'series', class: Google::Apis::SheetsV4::HistogramSeries, decorator: Google::Apis::SheetsV4::HistogramSeries::Representation + + property :show_item_dividers, as: 'showItemDividers' end end @@ -2460,16 +1787,668 @@ module Google end end - class BandedRange + class InsertDimensionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :column_properties, as: 'columnProperties', class: Google::Apis::SheetsV4::BandingProperties, decorator: Google::Apis::SheetsV4::BandingProperties::Representation + property :inherit_from_before, as: 'inheritFromBefore' + property :range, as: 'range', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation - property :row_properties, as: 'rowProperties', class: Google::Apis::SheetsV4::BandingProperties, decorator: Google::Apis::SheetsV4::BandingProperties::Representation + end + end + + class InsertRangeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + property :shift_dimension, as: 'shiftDimension' + end + end + + class InterpolationPoint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :color, as: 'color', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + + property :type, as: 'type' + property :value, as: 'value' + end + end + + class IterativeCalculationSettings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :convergence_threshold, as: 'convergenceThreshold' + property :max_iterations, as: 'maxIterations' + end + end + + class MergeCellsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :merge_type, as: 'mergeType' + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + end + end + + class MoveDimensionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :destination_index, as: 'destinationIndex' + property :source, as: 'source', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation + + end + end + + class NamedRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :named_range_id, as: 'namedRangeId' + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + end + end + + class NumberFormat + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :pattern, as: 'pattern' + property :type, as: 'type' + end + end + + class OrgChartSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :labels, as: 'labels', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation + + property :node_color, as: 'nodeColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + + property :node_size, as: 'nodeSize' + property :parent_labels, as: 'parentLabels', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation + + property :selected_node_color, as: 'selectedNodeColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + + property :tooltips, as: 'tooltips', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation + + end + end + + class OverlayPosition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :anchor_cell, as: 'anchorCell', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation + + property :height_pixels, as: 'heightPixels' + property :offset_x_pixels, as: 'offsetXPixels' + property :offset_y_pixels, as: 'offsetYPixels' + property :width_pixels, as: 'widthPixels' + end + end + + class Padding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bottom, as: 'bottom' + property :left, as: 'left' + property :right, as: 'right' + property :top, as: 'top' + end + end + + class PasteDataRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :coordinate, as: 'coordinate', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation + + property :data, as: 'data' + property :delimiter, as: 'delimiter' + property :html, as: 'html' + property :type, as: 'type' + end + end + + class PieChartSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :domain, as: 'domain', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation + + property :legend_position, as: 'legendPosition' + property :pie_hole, as: 'pieHole' + property :series, as: 'series', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation + + property :three_dimensional, as: 'threeDimensional' + end + end + + class PivotFilterCriteria + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :visible_values, as: 'visibleValues' + end + end + + class PivotGroup + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :show_totals, as: 'showTotals' + property :sort_order, as: 'sortOrder' + property :source_column_offset, as: 'sourceColumnOffset' + property :value_bucket, as: 'valueBucket', class: Google::Apis::SheetsV4::PivotGroupSortValueBucket, decorator: Google::Apis::SheetsV4::PivotGroupSortValueBucket::Representation + + collection :value_metadata, as: 'valueMetadata', class: Google::Apis::SheetsV4::PivotGroupValueMetadata, decorator: Google::Apis::SheetsV4::PivotGroupValueMetadata::Representation + + end + end + + class PivotGroupSortValueBucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :buckets, as: 'buckets', class: Google::Apis::SheetsV4::ExtendedValue, decorator: Google::Apis::SheetsV4::ExtendedValue::Representation + + property :values_index, as: 'valuesIndex' + end + end + + class PivotGroupValueMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :collapsed, as: 'collapsed' + property :value, as: 'value', class: Google::Apis::SheetsV4::ExtendedValue, decorator: Google::Apis::SheetsV4::ExtendedValue::Representation + + end + end + + class PivotTable + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :columns, as: 'columns', class: Google::Apis::SheetsV4::PivotGroup, decorator: Google::Apis::SheetsV4::PivotGroup::Representation + + hash :criteria, as: 'criteria', class: Google::Apis::SheetsV4::PivotFilterCriteria, decorator: Google::Apis::SheetsV4::PivotFilterCriteria::Representation + + collection :rows, as: 'rows', class: Google::Apis::SheetsV4::PivotGroup, decorator: Google::Apis::SheetsV4::PivotGroup::Representation + + property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + property :value_layout, as: 'valueLayout' + collection :values, as: 'values', class: Google::Apis::SheetsV4::PivotValue, decorator: Google::Apis::SheetsV4::PivotValue::Representation + + end + end + + class PivotValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :formula, as: 'formula' + property :name, as: 'name' + property :source_column_offset, as: 'sourceColumnOffset' + property :summarize_function, as: 'summarizeFunction' + end + end + + class ProtectedRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :editors, as: 'editors', class: Google::Apis::SheetsV4::Editors, decorator: Google::Apis::SheetsV4::Editors::Representation + + property :named_range_id, as: 'namedRangeId' + property :protected_range_id, as: 'protectedRangeId' + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + property :requesting_user_can_edit, as: 'requestingUserCanEdit' + collection :unprotected_ranges, as: 'unprotectedRanges', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + property :warning_only, as: 'warningOnly' + end + end + + class RandomizeRangeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + end + end + + class RepeatCellRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cell, as: 'cell', class: Google::Apis::SheetsV4::CellData, decorator: Google::Apis::SheetsV4::CellData::Representation + + property :fields, as: 'fields' + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + end + end + + class Request + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :add_banding, as: 'addBanding', class: Google::Apis::SheetsV4::AddBandingRequest, decorator: Google::Apis::SheetsV4::AddBandingRequest::Representation + + property :add_chart, as: 'addChart', class: Google::Apis::SheetsV4::AddChartRequest, decorator: Google::Apis::SheetsV4::AddChartRequest::Representation + + property :add_conditional_format_rule, as: 'addConditionalFormatRule', class: Google::Apis::SheetsV4::AddConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::AddConditionalFormatRuleRequest::Representation + + property :add_filter_view, as: 'addFilterView', class: Google::Apis::SheetsV4::AddFilterViewRequest, decorator: Google::Apis::SheetsV4::AddFilterViewRequest::Representation + + property :add_named_range, as: 'addNamedRange', class: Google::Apis::SheetsV4::AddNamedRangeRequest, decorator: Google::Apis::SheetsV4::AddNamedRangeRequest::Representation + + property :add_protected_range, as: 'addProtectedRange', class: Google::Apis::SheetsV4::AddProtectedRangeRequest, decorator: Google::Apis::SheetsV4::AddProtectedRangeRequest::Representation + + property :add_sheet, as: 'addSheet', class: Google::Apis::SheetsV4::AddSheetRequest, decorator: Google::Apis::SheetsV4::AddSheetRequest::Representation + + property :append_cells, as: 'appendCells', class: Google::Apis::SheetsV4::AppendCellsRequest, decorator: Google::Apis::SheetsV4::AppendCellsRequest::Representation + + property :append_dimension, as: 'appendDimension', class: Google::Apis::SheetsV4::AppendDimensionRequest, decorator: Google::Apis::SheetsV4::AppendDimensionRequest::Representation + + property :auto_fill, as: 'autoFill', class: Google::Apis::SheetsV4::AutoFillRequest, decorator: Google::Apis::SheetsV4::AutoFillRequest::Representation + + property :auto_resize_dimensions, as: 'autoResizeDimensions', class: Google::Apis::SheetsV4::AutoResizeDimensionsRequest, decorator: Google::Apis::SheetsV4::AutoResizeDimensionsRequest::Representation + + property :clear_basic_filter, as: 'clearBasicFilter', class: Google::Apis::SheetsV4::ClearBasicFilterRequest, decorator: Google::Apis::SheetsV4::ClearBasicFilterRequest::Representation + + property :copy_paste, as: 'copyPaste', class: Google::Apis::SheetsV4::CopyPasteRequest, decorator: Google::Apis::SheetsV4::CopyPasteRequest::Representation + + property :cut_paste, as: 'cutPaste', class: Google::Apis::SheetsV4::CutPasteRequest, decorator: Google::Apis::SheetsV4::CutPasteRequest::Representation + + property :delete_banding, as: 'deleteBanding', class: Google::Apis::SheetsV4::DeleteBandingRequest, decorator: Google::Apis::SheetsV4::DeleteBandingRequest::Representation + + property :delete_conditional_format_rule, as: 'deleteConditionalFormatRule', class: Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest::Representation + + property :delete_dimension, as: 'deleteDimension', class: Google::Apis::SheetsV4::DeleteDimensionRequest, decorator: Google::Apis::SheetsV4::DeleteDimensionRequest::Representation + + property :delete_embedded_object, as: 'deleteEmbeddedObject', class: Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest, decorator: Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest::Representation + + property :delete_filter_view, as: 'deleteFilterView', class: Google::Apis::SheetsV4::DeleteFilterViewRequest, decorator: Google::Apis::SheetsV4::DeleteFilterViewRequest::Representation + + property :delete_named_range, as: 'deleteNamedRange', class: Google::Apis::SheetsV4::DeleteNamedRangeRequest, decorator: Google::Apis::SheetsV4::DeleteNamedRangeRequest::Representation + + property :delete_protected_range, as: 'deleteProtectedRange', class: Google::Apis::SheetsV4::DeleteProtectedRangeRequest, decorator: Google::Apis::SheetsV4::DeleteProtectedRangeRequest::Representation + + property :delete_range, as: 'deleteRange', class: Google::Apis::SheetsV4::DeleteRangeRequest, decorator: Google::Apis::SheetsV4::DeleteRangeRequest::Representation + + property :delete_sheet, as: 'deleteSheet', class: Google::Apis::SheetsV4::DeleteSheetRequest, decorator: Google::Apis::SheetsV4::DeleteSheetRequest::Representation + + property :duplicate_filter_view, as: 'duplicateFilterView', class: Google::Apis::SheetsV4::DuplicateFilterViewRequest, decorator: Google::Apis::SheetsV4::DuplicateFilterViewRequest::Representation + + property :duplicate_sheet, as: 'duplicateSheet', class: Google::Apis::SheetsV4::DuplicateSheetRequest, decorator: Google::Apis::SheetsV4::DuplicateSheetRequest::Representation + + property :find_replace, as: 'findReplace', class: Google::Apis::SheetsV4::FindReplaceRequest, decorator: Google::Apis::SheetsV4::FindReplaceRequest::Representation + + property :insert_dimension, as: 'insertDimension', class: Google::Apis::SheetsV4::InsertDimensionRequest, decorator: Google::Apis::SheetsV4::InsertDimensionRequest::Representation + + property :insert_range, as: 'insertRange', class: Google::Apis::SheetsV4::InsertRangeRequest, decorator: Google::Apis::SheetsV4::InsertRangeRequest::Representation + + property :merge_cells, as: 'mergeCells', class: Google::Apis::SheetsV4::MergeCellsRequest, decorator: Google::Apis::SheetsV4::MergeCellsRequest::Representation + + property :move_dimension, as: 'moveDimension', class: Google::Apis::SheetsV4::MoveDimensionRequest, decorator: Google::Apis::SheetsV4::MoveDimensionRequest::Representation + + property :paste_data, as: 'pasteData', class: Google::Apis::SheetsV4::PasteDataRequest, decorator: Google::Apis::SheetsV4::PasteDataRequest::Representation + + property :randomize_range, as: 'randomizeRange', class: Google::Apis::SheetsV4::RandomizeRangeRequest, decorator: Google::Apis::SheetsV4::RandomizeRangeRequest::Representation + + property :repeat_cell, as: 'repeatCell', class: Google::Apis::SheetsV4::RepeatCellRequest, decorator: Google::Apis::SheetsV4::RepeatCellRequest::Representation + + property :set_basic_filter, as: 'setBasicFilter', class: Google::Apis::SheetsV4::SetBasicFilterRequest, decorator: Google::Apis::SheetsV4::SetBasicFilterRequest::Representation + + property :set_data_validation, as: 'setDataValidation', class: Google::Apis::SheetsV4::SetDataValidationRequest, decorator: Google::Apis::SheetsV4::SetDataValidationRequest::Representation + + property :sort_range, as: 'sortRange', class: Google::Apis::SheetsV4::SortRangeRequest, decorator: Google::Apis::SheetsV4::SortRangeRequest::Representation + + property :text_to_columns, as: 'textToColumns', class: Google::Apis::SheetsV4::TextToColumnsRequest, decorator: Google::Apis::SheetsV4::TextToColumnsRequest::Representation + + property :unmerge_cells, as: 'unmergeCells', class: Google::Apis::SheetsV4::UnmergeCellsRequest, decorator: Google::Apis::SheetsV4::UnmergeCellsRequest::Representation + + property :update_banding, as: 'updateBanding', class: Google::Apis::SheetsV4::UpdateBandingRequest, decorator: Google::Apis::SheetsV4::UpdateBandingRequest::Representation + + property :update_borders, as: 'updateBorders', class: Google::Apis::SheetsV4::UpdateBordersRequest, decorator: Google::Apis::SheetsV4::UpdateBordersRequest::Representation + + property :update_cells, as: 'updateCells', class: Google::Apis::SheetsV4::UpdateCellsRequest, decorator: Google::Apis::SheetsV4::UpdateCellsRequest::Representation + + property :update_chart_spec, as: 'updateChartSpec', class: Google::Apis::SheetsV4::UpdateChartSpecRequest, decorator: Google::Apis::SheetsV4::UpdateChartSpecRequest::Representation + + property :update_conditional_format_rule, as: 'updateConditionalFormatRule', class: Google::Apis::SheetsV4::UpdateConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::UpdateConditionalFormatRuleRequest::Representation + + property :update_dimension_properties, as: 'updateDimensionProperties', class: Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest, decorator: Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest::Representation + + property :update_embedded_object_position, as: 'updateEmbeddedObjectPosition', class: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest, decorator: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest::Representation + + property :update_filter_view, as: 'updateFilterView', class: Google::Apis::SheetsV4::UpdateFilterViewRequest, decorator: Google::Apis::SheetsV4::UpdateFilterViewRequest::Representation + + property :update_named_range, as: 'updateNamedRange', class: Google::Apis::SheetsV4::UpdateNamedRangeRequest, decorator: Google::Apis::SheetsV4::UpdateNamedRangeRequest::Representation + + property :update_protected_range, as: 'updateProtectedRange', class: Google::Apis::SheetsV4::UpdateProtectedRangeRequest, decorator: Google::Apis::SheetsV4::UpdateProtectedRangeRequest::Representation + + property :update_sheet_properties, as: 'updateSheetProperties', class: Google::Apis::SheetsV4::UpdateSheetPropertiesRequest, decorator: Google::Apis::SheetsV4::UpdateSheetPropertiesRequest::Representation + + property :update_spreadsheet_properties, as: 'updateSpreadsheetProperties', class: Google::Apis::SheetsV4::UpdateSpreadsheetPropertiesRequest, decorator: Google::Apis::SheetsV4::UpdateSpreadsheetPropertiesRequest::Representation + + end + end + + class Response + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :add_banding, as: 'addBanding', class: Google::Apis::SheetsV4::AddBandingResponse, decorator: Google::Apis::SheetsV4::AddBandingResponse::Representation + + property :add_chart, as: 'addChart', class: Google::Apis::SheetsV4::AddChartResponse, decorator: Google::Apis::SheetsV4::AddChartResponse::Representation + + property :add_filter_view, as: 'addFilterView', class: Google::Apis::SheetsV4::AddFilterViewResponse, decorator: Google::Apis::SheetsV4::AddFilterViewResponse::Representation + + property :add_named_range, as: 'addNamedRange', class: Google::Apis::SheetsV4::AddNamedRangeResponse, decorator: Google::Apis::SheetsV4::AddNamedRangeResponse::Representation + + property :add_protected_range, as: 'addProtectedRange', class: Google::Apis::SheetsV4::AddProtectedRangeResponse, decorator: Google::Apis::SheetsV4::AddProtectedRangeResponse::Representation + + property :add_sheet, as: 'addSheet', class: Google::Apis::SheetsV4::AddSheetResponse, decorator: Google::Apis::SheetsV4::AddSheetResponse::Representation + + property :delete_conditional_format_rule, as: 'deleteConditionalFormatRule', class: Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse, decorator: Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse::Representation + + property :duplicate_filter_view, as: 'duplicateFilterView', class: Google::Apis::SheetsV4::DuplicateFilterViewResponse, decorator: Google::Apis::SheetsV4::DuplicateFilterViewResponse::Representation + + property :duplicate_sheet, as: 'duplicateSheet', class: Google::Apis::SheetsV4::DuplicateSheetResponse, decorator: Google::Apis::SheetsV4::DuplicateSheetResponse::Representation + + property :find_replace, as: 'findReplace', class: Google::Apis::SheetsV4::FindReplaceResponse, decorator: Google::Apis::SheetsV4::FindReplaceResponse::Representation + + property :update_conditional_format_rule, as: 'updateConditionalFormatRule', class: Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse, decorator: Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse::Representation + + property :update_embedded_object_position, as: 'updateEmbeddedObjectPosition', class: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse, decorator: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse::Representation + + end + end + + class RowData + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :values, as: 'values', class: Google::Apis::SheetsV4::CellData, decorator: Google::Apis::SheetsV4::CellData::Representation + + end + end + + class SetBasicFilterRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :filter, as: 'filter', class: Google::Apis::SheetsV4::BasicFilter, decorator: Google::Apis::SheetsV4::BasicFilter::Representation + + end + end + + class SetDataValidationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + property :rule, as: 'rule', class: Google::Apis::SheetsV4::DataValidationRule, decorator: Google::Apis::SheetsV4::DataValidationRule::Representation + + end + end + + class Sheet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :banded_ranges, as: 'bandedRanges', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation + + property :basic_filter, as: 'basicFilter', class: Google::Apis::SheetsV4::BasicFilter, decorator: Google::Apis::SheetsV4::BasicFilter::Representation + + collection :charts, as: 'charts', class: Google::Apis::SheetsV4::EmbeddedChart, decorator: Google::Apis::SheetsV4::EmbeddedChart::Representation + + collection :conditional_formats, as: 'conditionalFormats', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation + + collection :data, as: 'data', class: Google::Apis::SheetsV4::GridData, decorator: Google::Apis::SheetsV4::GridData::Representation + + collection :filter_views, as: 'filterViews', class: Google::Apis::SheetsV4::FilterView, decorator: Google::Apis::SheetsV4::FilterView::Representation + + collection :merges, as: 'merges', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + property :properties, as: 'properties', class: Google::Apis::SheetsV4::SheetProperties, decorator: Google::Apis::SheetsV4::SheetProperties::Representation + + collection :protected_ranges, as: 'protectedRanges', class: Google::Apis::SheetsV4::ProtectedRange, decorator: Google::Apis::SheetsV4::ProtectedRange::Representation + + end + end + + class SheetProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :grid_properties, as: 'gridProperties', class: Google::Apis::SheetsV4::GridProperties, decorator: Google::Apis::SheetsV4::GridProperties::Representation + + property :hidden, as: 'hidden' + property :index, as: 'index' + property :right_to_left, as: 'rightToLeft' + property :sheet_id, as: 'sheetId' + property :sheet_type, as: 'sheetType' + property :tab_color, as: 'tabColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + + property :title, as: 'title' + end + end + + class SortRangeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + collection :sort_specs, as: 'sortSpecs', class: Google::Apis::SheetsV4::SortSpec, decorator: Google::Apis::SheetsV4::SortSpec::Representation + + end + end + + class SortSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dimension_index, as: 'dimensionIndex' + property :sort_order, as: 'sortOrder' + end + end + + class SourceAndDestination + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dimension, as: 'dimension' + property :fill_length, as: 'fillLength' + property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + end + end + + class Spreadsheet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :named_ranges, as: 'namedRanges', class: Google::Apis::SheetsV4::NamedRange, decorator: Google::Apis::SheetsV4::NamedRange::Representation + + property :properties, as: 'properties', class: Google::Apis::SheetsV4::SpreadsheetProperties, decorator: Google::Apis::SheetsV4::SpreadsheetProperties::Representation + + collection :sheets, as: 'sheets', class: Google::Apis::SheetsV4::Sheet, decorator: Google::Apis::SheetsV4::Sheet::Representation + + property :spreadsheet_id, as: 'spreadsheetId' + property :spreadsheet_url, as: 'spreadsheetUrl' + end + end + + class SpreadsheetProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :auto_recalc, as: 'autoRecalc' + property :default_format, as: 'defaultFormat', class: Google::Apis::SheetsV4::CellFormat, decorator: Google::Apis::SheetsV4::CellFormat::Representation + + property :iterative_calculation_settings, as: 'iterativeCalculationSettings', class: Google::Apis::SheetsV4::IterativeCalculationSettings, decorator: Google::Apis::SheetsV4::IterativeCalculationSettings::Representation + + property :locale, as: 'locale' + property :time_zone, as: 'timeZone' + property :title, as: 'title' + end + end + + class TextFormat + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bold, as: 'bold' + property :font_family, as: 'fontFamily' + property :font_size, as: 'fontSize' + property :foreground_color, as: 'foregroundColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + + property :italic, as: 'italic' + property :strikethrough, as: 'strikethrough' + property :underline, as: 'underline' + end + end + + class TextFormatRun + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :format, as: 'format', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation + + property :start_index, as: 'startIndex' + end + end + + class TextRotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :angle, as: 'angle' + property :vertical, as: 'vertical' + end + end + + class TextToColumnsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :delimiter, as: 'delimiter' + property :delimiter_type, as: 'delimiterType' + property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + end + end + + class UnmergeCellsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + end + end + + class UpdateBandingRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :banded_range, as: 'bandedRange', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation + + property :fields, as: 'fields' + end + end + + class UpdateBordersRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bottom, as: 'bottom', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation + + property :inner_horizontal, as: 'innerHorizontal', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation + + property :inner_vertical, as: 'innerVertical', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation + + property :left, as: 'left', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - property :banded_range_id, as: 'bandedRangeId' + property :right, as: 'right', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation + + property :top, as: 'top', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation + + end + end + + class UpdateCellsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fields, as: 'fields' + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + collection :rows, as: 'rows', class: Google::Apis::SheetsV4::RowData, decorator: Google::Apis::SheetsV4::RowData::Representation + + property :start, as: 'start', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation + + end + end + + class UpdateChartSpecRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :chart_id, as: 'chartId' + property :spec, as: 'spec', class: Google::Apis::SheetsV4::ChartSpec, decorator: Google::Apis::SheetsV4::ChartSpec::Representation + + end + end + + class UpdateConditionalFormatRuleRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :index, as: 'index' + property :new_index, as: 'newIndex' + property :rule, as: 'rule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation + + property :sheet_id, as: 'sheetId' + end + end + + class UpdateConditionalFormatRuleResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :new_index, as: 'newIndex' + property :new_rule, as: 'newRule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation + + property :old_index, as: 'oldIndex' + property :old_rule, as: 'oldRule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation + + end + end + + class UpdateDimensionPropertiesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fields, as: 'fields' + property :properties, as: 'properties', class: Google::Apis::SheetsV4::DimensionProperties, decorator: Google::Apis::SheetsV4::DimensionProperties::Representation + + property :range, as: 'range', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation + + end + end + + class UpdateEmbeddedObjectPositionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fields, as: 'fields' + property :new_position, as: 'newPosition', class: Google::Apis::SheetsV4::EmbeddedObjectPosition, decorator: Google::Apis::SheetsV4::EmbeddedObjectPosition::Representation + + property :object_id_prop, as: 'objectId' + end + end + + class UpdateEmbeddedObjectPositionResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :position, as: 'position', class: Google::Apis::SheetsV4::EmbeddedObjectPosition, decorator: Google::Apis::SheetsV4::EmbeddedObjectPosition::Representation + + end + end + + class UpdateFilterViewRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fields, as: 'fields' + property :filter, as: 'filter', class: Google::Apis::SheetsV4::FilterView, decorator: Google::Apis::SheetsV4::FilterView::Representation + + end + end + + class UpdateNamedRangeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fields, as: 'fields' + property :named_range, as: 'namedRange', class: Google::Apis::SheetsV4::NamedRange, decorator: Google::Apis::SheetsV4::NamedRange::Representation + end end @@ -2482,24 +2461,46 @@ module Google end end - class TextFormat + class UpdateSheetPropertiesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :font_size, as: 'fontSize' - property :underline, as: 'underline' - property :foreground_color, as: 'foregroundColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + property :fields, as: 'fields' + property :properties, as: 'properties', class: Google::Apis::SheetsV4::SheetProperties, decorator: Google::Apis::SheetsV4::SheetProperties::Representation - property :bold, as: 'bold' - property :font_family, as: 'fontFamily' - property :strikethrough, as: 'strikethrough' - property :italic, as: 'italic' end end - class AddSheetResponse + class UpdateSpreadsheetPropertiesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :properties, as: 'properties', class: Google::Apis::SheetsV4::SheetProperties, decorator: Google::Apis::SheetsV4::SheetProperties::Representation + property :fields, as: 'fields' + property :properties, as: 'properties', class: Google::Apis::SheetsV4::SpreadsheetProperties, decorator: Google::Apis::SheetsV4::SpreadsheetProperties::Representation + + end + end + + class UpdateValuesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :spreadsheet_id, as: 'spreadsheetId' + property :updated_cells, as: 'updatedCells' + property :updated_columns, as: 'updatedColumns' + property :updated_data, as: 'updatedData', class: Google::Apis::SheetsV4::ValueRange, decorator: Google::Apis::SheetsV4::ValueRange::Representation + + property :updated_range, as: 'updatedRange' + property :updated_rows, as: 'updatedRows' + end + end + + class ValueRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :major_dimension, as: 'majorDimension' + property :range, as: 'range' + collection :values, as: 'values', :class => Array do + include Representable::JSON::Collection + items + end end end diff --git a/generated/google/apis/sheets_v4/service.rb b/generated/google/apis/sheets_v4/service.rb index 5ef99439e..dcf55e844 100644 --- a/generated/google/apis/sheets_v4/service.rb +++ b/generated/google/apis/sheets_v4/service.rb @@ -47,6 +47,84 @@ module Google @batch_path = 'batch' end + # Applies one or more updates to the spreadsheet. + # Each request is validated before + # being applied. If any request is not valid then the entire request will + # fail and nothing will be applied. + # Some requests have replies to + # give you some information about how + # they are applied. The replies will mirror the requests. For example, + # if you applied 4 updates and the 3rd one had a reply, then the + # response will have 2 empty replies, the actual reply, and another empty + # reply, in that order. + # Due to the collaborative nature of spreadsheets, it is not guaranteed that + # the spreadsheet will reflect exactly your changes after this completes, + # however it is guaranteed that the updates in the request will be + # applied together atomically. Your changes may be altered with respect to + # collaborator changes. If there are no collaborators, the spreadsheet + # should reflect your changes. + # @param [String] spreadsheet_id + # The spreadsheet to apply the updates to. + # @param [Google::Apis::SheetsV4::BatchUpdateSpreadsheetRequest] batch_update_spreadsheet_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::SheetsV4::BatchUpdateSpreadsheetResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SheetsV4::BatchUpdateSpreadsheetResponse] + # + # @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 batch_update_spreadsheet(spreadsheet_id, batch_update_spreadsheet_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}:batchUpdate', options) + command.request_representation = Google::Apis::SheetsV4::BatchUpdateSpreadsheetRequest::Representation + command.request_object = batch_update_spreadsheet_request_object + command.response_representation = Google::Apis::SheetsV4::BatchUpdateSpreadsheetResponse::Representation + command.response_class = Google::Apis::SheetsV4::BatchUpdateSpreadsheetResponse + command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_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 + + # Creates a spreadsheet, returning the newly created spreadsheet. + # @param [Google::Apis::SheetsV4::Spreadsheet] spreadsheet_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::SheetsV4::Spreadsheet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SheetsV4::Spreadsheet] + # + # @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_spreadsheet(spreadsheet_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v4/spreadsheets', options) + command.request_representation = Google::Apis::SheetsV4::Spreadsheet::Representation + command.request_object = spreadsheet_object + command.response_representation = Google::Apis::SheetsV4::Spreadsheet::Representation + command.response_class = Google::Apis::SheetsV4::Spreadsheet + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Returns the spreadsheet at the given ID. # The caller must specify the spreadsheet ID. # By default, data within grids will not be returned. @@ -70,11 +148,11 @@ module Google # This parameter is ignored if a field mask was set in the request. # @param [Array, String] ranges # The ranges to retrieve from the spreadsheet. + # @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 # @@ -87,331 +165,52 @@ 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_spreadsheet(spreadsheet_id, include_grid_data: nil, ranges: nil, quota_user: nil, fields: nil, options: nil, &block) + def get_spreadsheet(spreadsheet_id, include_grid_data: nil, ranges: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v4/spreadsheets/{spreadsheetId}', options) command.response_representation = Google::Apis::SheetsV4::Spreadsheet::Representation command.response_class = Google::Apis::SheetsV4::Spreadsheet command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? command.query['includeGridData'] = include_grid_data unless include_grid_data.nil? command.query['ranges'] = ranges unless ranges.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 - # Applies one or more updates to the spreadsheet. - # Each request is validated before - # being applied. If any request is not valid then the entire request will - # fail and nothing will be applied. - # Some requests have replies to - # give you some information about how - # they are applied. The replies will mirror the requests. For example, - # if you applied 4 updates and the 3rd one had a reply, then the - # response will have 2 empty replies, the actual reply, and another empty - # reply, in that order. - # Due to the collaborative nature of spreadsheets, it is not guaranteed that - # the spreadsheet will reflect exactly your changes after this completes, - # however it is guaranteed that the updates in the request will be - # applied together atomically. Your changes may be altered with respect to - # collaborator changes. If there are no collaborators, the spreadsheet - # should reflect your changes. + # Copies a single sheet from a spreadsheet to another spreadsheet. + # Returns the properties of the newly created sheet. # @param [String] spreadsheet_id - # The spreadsheet to apply the updates to. - # @param [Google::Apis::SheetsV4::BatchUpdateSpreadsheetRequest] batch_update_spreadsheet_request_object + # The ID of the spreadsheet containing the sheet to copy. + # @param [Fixnum] sheet_id + # The ID of the sheet to copy. + # @param [Google::Apis::SheetsV4::CopySheetToAnotherSpreadsheetRequest] copy_sheet_to_another_spreadsheet_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 [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::SheetsV4::BatchUpdateSpreadsheetResponse] parsed result object + # @yieldparam result [Google::Apis::SheetsV4::SheetProperties] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::SheetsV4::BatchUpdateSpreadsheetResponse] + # @return [Google::Apis::SheetsV4::SheetProperties] # # @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 batch_update_spreadsheet(spreadsheet_id, batch_update_spreadsheet_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}:batchUpdate', options) - command.request_representation = Google::Apis::SheetsV4::BatchUpdateSpreadsheetRequest::Representation - command.request_object = batch_update_spreadsheet_request_object - command.response_representation = Google::Apis::SheetsV4::BatchUpdateSpreadsheetResponse::Representation - command.response_class = Google::Apis::SheetsV4::BatchUpdateSpreadsheetResponse + def copy_spreadsheet(spreadsheet_id, sheet_id, copy_sheet_to_another_spreadsheet_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo', options) + command.request_representation = Google::Apis::SheetsV4::CopySheetToAnotherSpreadsheetRequest::Representation + command.request_object = copy_sheet_to_another_spreadsheet_request_object + command.response_representation = Google::Apis::SheetsV4::SheetProperties::Representation + command.response_class = Google::Apis::SheetsV4::SheetProperties command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.params['sheetId'] = sheet_id unless sheet_id.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates a spreadsheet, returning the newly created spreadsheet. - # @param [Google::Apis::SheetsV4::Spreadsheet] spreadsheet_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::SheetsV4::Spreadsheet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SheetsV4::Spreadsheet] - # - # @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_spreadsheet(spreadsheet_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v4/spreadsheets', options) - command.request_representation = Google::Apis::SheetsV4::Spreadsheet::Representation - command.request_object = spreadsheet_object - command.response_representation = Google::Apis::SheetsV4::Spreadsheet::Representation - command.response_class = Google::Apis::SheetsV4::Spreadsheet command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Returns a range of values from a spreadsheet. - # The caller must specify the spreadsheet ID and a range. - # @param [String] spreadsheet_id - # The ID of the spreadsheet to retrieve data from. - # @param [String] range - # The A1 notation of the values to retrieve. - # @param [String] major_dimension - # The major dimension that results should use. - # For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, - # then requesting `range=A1:B2,majorDimension=ROWS` will return - # `[[1,2],[3,4]]`, - # whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return - # `[[1,3],[2,4]]`. - # @param [String] date_time_render_option - # How dates, times, and durations should be represented in the output. - # This is ignored if value_render_option is - # FORMATTED_VALUE. - # The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. - # @param [String] value_render_option - # How values should be represented in the output. - # The default render option is ValueRenderOption.FORMATTED_VALUE. - # @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::SheetsV4::ValueRange] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SheetsV4::ValueRange] - # - # @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_spreadsheet_values(spreadsheet_id, range, major_dimension: nil, date_time_render_option: nil, value_render_option: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v4/spreadsheets/{spreadsheetId}/values/{range}', options) - command.response_representation = Google::Apis::SheetsV4::ValueRange::Representation - command.response_class = Google::Apis::SheetsV4::ValueRange - command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? - command.params['range'] = range unless range.nil? - command.query['majorDimension'] = major_dimension unless major_dimension.nil? - command.query['dateTimeRenderOption'] = date_time_render_option unless date_time_render_option.nil? - command.query['valueRenderOption'] = value_render_option unless value_render_option.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Sets values in a range of a spreadsheet. - # The caller must specify the spreadsheet ID, range, and - # a valueInputOption. - # @param [String] spreadsheet_id - # The ID of the spreadsheet to update. - # @param [String] range - # The A1 notation of the values to update. - # @param [Google::Apis::SheetsV4::ValueRange] value_range_object - # @param [String] response_value_render_option - # Determines how values in the response should be rendered. - # The default render option is ValueRenderOption.FORMATTED_VALUE. - # @param [String] value_input_option - # How the input data should be interpreted. - # @param [String] response_date_time_render_option - # Determines how dates, times, and durations in the response should be - # rendered. This is ignored if response_value_render_option is - # FORMATTED_VALUE. - # The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. - # @param [Boolean] include_values_in_response - # Determines if the update response should include the values - # of the cells that were updated. By default, responses - # do not include the updated values. - # If the range to write was larger than than the range actually written, - # the response will include all values in the requested range (excluding - # trailing empty rows and columns). - # @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::SheetsV4::UpdateValuesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SheetsV4::UpdateValuesResponse] - # - # @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_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, response_value_render_option: nil, value_input_option: nil, response_date_time_render_option: nil, include_values_in_response: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:put, 'v4/spreadsheets/{spreadsheetId}/values/{range}', options) - command.request_representation = Google::Apis::SheetsV4::ValueRange::Representation - command.request_object = value_range_object - command.response_representation = Google::Apis::SheetsV4::UpdateValuesResponse::Representation - command.response_class = Google::Apis::SheetsV4::UpdateValuesResponse - command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? - command.params['range'] = range unless range.nil? - command.query['responseValueRenderOption'] = response_value_render_option unless response_value_render_option.nil? - command.query['valueInputOption'] = value_input_option unless value_input_option.nil? - command.query['responseDateTimeRenderOption'] = response_date_time_render_option unless response_date_time_render_option.nil? - command.query['includeValuesInResponse'] = include_values_in_response unless include_values_in_response.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Sets values in one or more ranges of a spreadsheet. - # The caller must specify the spreadsheet ID, - # a valueInputOption, and one or more - # ValueRanges. - # @param [String] spreadsheet_id - # The ID of the spreadsheet to update. - # @param [Google::Apis::SheetsV4::BatchUpdateValuesRequest] batch_update_values_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::SheetsV4::BatchUpdateValuesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SheetsV4::BatchUpdateValuesResponse] - # - # @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 batch_update_values(spreadsheet_id, batch_update_values_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values:batchUpdate', options) - command.request_representation = Google::Apis::SheetsV4::BatchUpdateValuesRequest::Representation - command.request_object = batch_update_values_request_object - command.response_representation = Google::Apis::SheetsV4::BatchUpdateValuesResponse::Representation - command.response_class = Google::Apis::SheetsV4::BatchUpdateValuesResponse - command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Returns one or more ranges of values from a spreadsheet. - # The caller must specify the spreadsheet ID and one or more ranges. - # @param [String] spreadsheet_id - # The ID of the spreadsheet to retrieve data from. - # @param [String] major_dimension - # The major dimension that results should use. - # For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, - # then requesting `range=A1:B2,majorDimension=ROWS` will return - # `[[1,2],[3,4]]`, - # whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return - # `[[1,3],[2,4]]`. - # @param [Array, String] ranges - # The A1 notation of the values to retrieve. - # @param [String] date_time_render_option - # How dates, times, and durations should be represented in the output. - # This is ignored if value_render_option is - # FORMATTED_VALUE. - # The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. - # @param [String] value_render_option - # How values should be represented in the output. - # The default render option is ValueRenderOption.FORMATTED_VALUE. - # @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::SheetsV4::BatchGetValuesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SheetsV4::BatchGetValuesResponse] - # - # @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 batch_get_spreadsheet_values(spreadsheet_id, major_dimension: nil, ranges: nil, date_time_render_option: nil, value_render_option: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v4/spreadsheets/{spreadsheetId}/values:batchGet', options) - command.response_representation = Google::Apis::SheetsV4::BatchGetValuesResponse::Representation - command.response_class = Google::Apis::SheetsV4::BatchGetValuesResponse - command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? - command.query['majorDimension'] = major_dimension unless major_dimension.nil? - command.query['ranges'] = ranges unless ranges.nil? - command.query['dateTimeRenderOption'] = date_time_render_option unless date_time_render_option.nil? - command.query['valueRenderOption'] = value_render_option unless value_render_option.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Clears values from a spreadsheet. - # The caller must specify the spreadsheet ID and range. - # Only values are cleared -- all other properties of the cell (such as - # formatting, data validation, etc..) are kept. - # @param [String] spreadsheet_id - # The ID of the spreadsheet to update. - # @param [String] range - # The A1 notation of the values to clear. - # @param [Google::Apis::SheetsV4::ClearValuesRequest] clear_values_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::SheetsV4::ClearValuesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SheetsV4::ClearValuesResponse] - # - # @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 clear_values(spreadsheet_id, range, clear_values_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values/{range}:clear', options) - command.request_representation = Google::Apis::SheetsV4::ClearValuesRequest::Representation - command.request_object = clear_values_request_object - command.response_representation = Google::Apis::SheetsV4::ClearValuesResponse::Representation - command.response_class = Google::Apis::SheetsV4::ClearValuesResponse - command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? - command.params['range'] = range unless range.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -434,27 +233,27 @@ module Google # The A1 notation of a range to search for a logical table of data. # Values will be appended after the last row of the table. # @param [Google::Apis::SheetsV4::ValueRange] value_range_object - # @param [String] response_value_render_option - # Determines how values in the response should be rendered. - # The default render option is ValueRenderOption.FORMATTED_VALUE. + # @param [Boolean] include_values_in_response + # Determines if the update response should include the values + # of the cells that were appended. By default, responses + # do not include the updated values. # @param [String] insert_data_option # How the input data should be inserted. - # @param [String] value_input_option - # How the input data should be interpreted. # @param [String] response_date_time_render_option # Determines how dates, times, and durations in the response should be # rendered. This is ignored if response_value_render_option is # FORMATTED_VALUE. # The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. - # @param [Boolean] include_values_in_response - # Determines if the update response should include the values - # of the cells that were appended. By default, responses - # do not include the updated values. + # @param [String] response_value_render_option + # Determines how values in the response should be rendered. + # The default render option is ValueRenderOption.FORMATTED_VALUE. + # @param [String] value_input_option + # How the input data should be interpreted. + # @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 # @@ -467,7 +266,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 append_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, response_value_render_option: nil, insert_data_option: nil, value_input_option: nil, response_date_time_render_option: nil, include_values_in_response: nil, quota_user: nil, fields: nil, options: nil, &block) + def append_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, include_values_in_response: nil, insert_data_option: nil, response_date_time_render_option: nil, response_value_render_option: nil, value_input_option: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values/{range}:append', options) command.request_representation = Google::Apis::SheetsV4::ValueRange::Representation command.request_object = value_range_object @@ -475,13 +274,13 @@ module Google command.response_class = Google::Apis::SheetsV4::AppendValuesResponse command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? command.params['range'] = range unless range.nil? - command.query['responseValueRenderOption'] = response_value_render_option unless response_value_render_option.nil? - command.query['insertDataOption'] = insert_data_option unless insert_data_option.nil? - command.query['valueInputOption'] = value_input_option unless value_input_option.nil? - command.query['responseDateTimeRenderOption'] = response_date_time_render_option unless response_date_time_render_option.nil? command.query['includeValuesInResponse'] = include_values_in_response unless include_values_in_response.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['insertDataOption'] = insert_data_option unless insert_data_option.nil? + command.query['responseDateTimeRenderOption'] = response_date_time_render_option unless response_date_time_render_option.nil? + command.query['responseValueRenderOption'] = response_value_render_option unless response_value_render_option.nil? + command.query['valueInputOption'] = value_input_option unless value_input_option.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -492,11 +291,11 @@ module Google # @param [String] spreadsheet_id # The ID of the spreadsheet to update. # @param [Google::Apis::SheetsV4::BatchClearValuesRequest] batch_clear_values_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -509,52 +308,253 @@ 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 batch_clear_values(spreadsheet_id, batch_clear_values_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def batch_clear_values(spreadsheet_id, batch_clear_values_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values:batchClear', options) command.request_representation = Google::Apis::SheetsV4::BatchClearValuesRequest::Representation command.request_object = batch_clear_values_request_object command.response_representation = Google::Apis::SheetsV4::BatchClearValuesResponse::Representation command.response_class = Google::Apis::SheetsV4::BatchClearValuesResponse command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.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 - # Copies a single sheet from a spreadsheet to another spreadsheet. - # Returns the properties of the newly created sheet. + # Returns one or more ranges of values from a spreadsheet. + # The caller must specify the spreadsheet ID and one or more ranges. # @param [String] spreadsheet_id - # The ID of the spreadsheet containing the sheet to copy. - # @param [Fixnum] sheet_id - # The ID of the sheet to copy. - # @param [Google::Apis::SheetsV4::CopySheetToAnotherSpreadsheetRequest] copy_sheet_to_another_spreadsheet_request_object + # The ID of the spreadsheet to retrieve data from. + # @param [String] date_time_render_option + # How dates, times, and durations should be represented in the output. + # This is ignored if value_render_option is + # FORMATTED_VALUE. + # The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. + # @param [String] major_dimension + # The major dimension that results should use. + # For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, + # then requesting `range=A1:B2,majorDimension=ROWS` will return + # `[[1,2],[3,4]]`, + # whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return + # `[[1,3],[2,4]]`. + # @param [Array, String] ranges + # The A1 notation of the values to retrieve. + # @param [String] value_render_option + # How values should be represented in the output. + # The default render option is ValueRenderOption.FORMATTED_VALUE. + # @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 # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::SheetsV4::SheetProperties] parsed result object + # @yieldparam result [Google::Apis::SheetsV4::BatchGetValuesResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::SheetsV4::SheetProperties] + # @return [Google::Apis::SheetsV4::BatchGetValuesResponse] # # @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 copy_spreadsheet(spreadsheet_id, sheet_id, copy_sheet_to_another_spreadsheet_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo', options) - command.request_representation = Google::Apis::SheetsV4::CopySheetToAnotherSpreadsheetRequest::Representation - command.request_object = copy_sheet_to_another_spreadsheet_request_object - command.response_representation = Google::Apis::SheetsV4::SheetProperties::Representation - command.response_class = Google::Apis::SheetsV4::SheetProperties + def batch_get_spreadsheet_values(spreadsheet_id, date_time_render_option: nil, major_dimension: nil, ranges: nil, value_render_option: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v4/spreadsheets/{spreadsheetId}/values:batchGet', options) + command.response_representation = Google::Apis::SheetsV4::BatchGetValuesResponse::Representation + command.response_class = Google::Apis::SheetsV4::BatchGetValuesResponse command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? - command.params['sheetId'] = sheet_id unless sheet_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['dateTimeRenderOption'] = date_time_render_option unless date_time_render_option.nil? + command.query['majorDimension'] = major_dimension unless major_dimension.nil? + command.query['ranges'] = ranges unless ranges.nil? + command.query['valueRenderOption'] = value_render_option unless value_render_option.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Sets values in one or more ranges of a spreadsheet. + # The caller must specify the spreadsheet ID, + # a valueInputOption, and one or more + # ValueRanges. + # @param [String] spreadsheet_id + # The ID of the spreadsheet to update. + # @param [Google::Apis::SheetsV4::BatchUpdateValuesRequest] batch_update_values_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::SheetsV4::BatchUpdateValuesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SheetsV4::BatchUpdateValuesResponse] + # + # @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 batch_update_values(spreadsheet_id, batch_update_values_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values:batchUpdate', options) + command.request_representation = Google::Apis::SheetsV4::BatchUpdateValuesRequest::Representation + command.request_object = batch_update_values_request_object + command.response_representation = Google::Apis::SheetsV4::BatchUpdateValuesResponse::Representation + command.response_class = Google::Apis::SheetsV4::BatchUpdateValuesResponse + command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_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 + + # Clears values from a spreadsheet. + # The caller must specify the spreadsheet ID and range. + # Only values are cleared -- all other properties of the cell (such as + # formatting, data validation, etc..) are kept. + # @param [String] spreadsheet_id + # The ID of the spreadsheet to update. + # @param [String] range + # The A1 notation of the values to clear. + # @param [Google::Apis::SheetsV4::ClearValuesRequest] clear_values_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::SheetsV4::ClearValuesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SheetsV4::ClearValuesResponse] + # + # @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 clear_values(spreadsheet_id, range, clear_values_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values/{range}:clear', options) + command.request_representation = Google::Apis::SheetsV4::ClearValuesRequest::Representation + command.request_object = clear_values_request_object + command.response_representation = Google::Apis::SheetsV4::ClearValuesResponse::Representation + command.response_class = Google::Apis::SheetsV4::ClearValuesResponse + command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? + command.params['range'] = range unless range.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns a range of values from a spreadsheet. + # The caller must specify the spreadsheet ID and a range. + # @param [String] spreadsheet_id + # The ID of the spreadsheet to retrieve data from. + # @param [String] range + # The A1 notation of the values to retrieve. + # @param [String] date_time_render_option + # How dates, times, and durations should be represented in the output. + # This is ignored if value_render_option is + # FORMATTED_VALUE. + # The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. + # @param [String] major_dimension + # The major dimension that results should use. + # For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, + # then requesting `range=A1:B2,majorDimension=ROWS` will return + # `[[1,2],[3,4]]`, + # whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return + # `[[1,3],[2,4]]`. + # @param [String] value_render_option + # How values should be represented in the output. + # The default render option is ValueRenderOption.FORMATTED_VALUE. + # @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::SheetsV4::ValueRange] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SheetsV4::ValueRange] + # + # @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_spreadsheet_values(spreadsheet_id, range, date_time_render_option: nil, major_dimension: nil, value_render_option: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v4/spreadsheets/{spreadsheetId}/values/{range}', options) + command.response_representation = Google::Apis::SheetsV4::ValueRange::Representation + command.response_class = Google::Apis::SheetsV4::ValueRange + command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? + command.params['range'] = range unless range.nil? + command.query['dateTimeRenderOption'] = date_time_render_option unless date_time_render_option.nil? + command.query['majorDimension'] = major_dimension unless major_dimension.nil? + command.query['valueRenderOption'] = value_render_option unless value_render_option.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Sets values in a range of a spreadsheet. + # The caller must specify the spreadsheet ID, range, and + # a valueInputOption. + # @param [String] spreadsheet_id + # The ID of the spreadsheet to update. + # @param [String] range + # The A1 notation of the values to update. + # @param [Google::Apis::SheetsV4::ValueRange] value_range_object + # @param [Boolean] include_values_in_response + # Determines if the update response should include the values + # of the cells that were updated. By default, responses + # do not include the updated values. + # If the range to write was larger than than the range actually written, + # the response will include all values in the requested range (excluding + # trailing empty rows and columns). + # @param [String] response_date_time_render_option + # Determines how dates, times, and durations in the response should be + # rendered. This is ignored if response_value_render_option is + # FORMATTED_VALUE. + # The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. + # @param [String] response_value_render_option + # Determines how values in the response should be rendered. + # The default render option is ValueRenderOption.FORMATTED_VALUE. + # @param [String] value_input_option + # How the input data should be interpreted. + # @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::SheetsV4::UpdateValuesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SheetsV4::UpdateValuesResponse] + # + # @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_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, include_values_in_response: nil, response_date_time_render_option: nil, response_value_render_option: nil, value_input_option: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v4/spreadsheets/{spreadsheetId}/values/{range}', options) + command.request_representation = Google::Apis::SheetsV4::ValueRange::Representation + command.request_object = value_range_object + command.response_representation = Google::Apis::SheetsV4::UpdateValuesResponse::Representation + command.response_class = Google::Apis::SheetsV4::UpdateValuesResponse + command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? + command.params['range'] = range unless range.nil? + command.query['includeValuesInResponse'] = include_values_in_response unless include_values_in_response.nil? + command.query['responseDateTimeRenderOption'] = response_date_time_render_option unless response_date_time_render_option.nil? + command.query['responseValueRenderOption'] = response_value_render_option unless response_value_render_option.nil? + command.query['valueInputOption'] = value_input_option unless value_input_option.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/slides_v1.rb b/generated/google/apis/slides_v1.rb index 42883aad6..b7a6d72b0 100644 --- a/generated/google/apis/slides_v1.rb +++ b/generated/google/apis/slides_v1.rb @@ -25,16 +25,7 @@ module Google # @see https://developers.google.com/slides/ module SlidesV1 VERSION = 'V1' - REVISION = '20170710' - - # View and manage your Google Slides presentations - AUTH_PRESENTATIONS = 'https://www.googleapis.com/auth/presentations' - - # View your Google Slides presentations - AUTH_PRESENTATIONS_READONLY = 'https://www.googleapis.com/auth/presentations.readonly' - - # View your Google Spreadsheets - AUTH_SPREADSHEETS_READONLY = 'https://www.googleapis.com/auth/spreadsheets.readonly' + REVISION = '20170811' # View and manage the files in your Google Drive AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' @@ -42,8 +33,17 @@ module Google # View the files in your Google Drive AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly' + # View and manage your Google Slides presentations + AUTH_PRESENTATIONS = 'https://www.googleapis.com/auth/presentations' + + # View your Google Slides presentations + AUTH_PRESENTATIONS_READONLY = 'https://www.googleapis.com/auth/presentations.readonly' + # View and manage your spreadsheets in Google Drive AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets' + + # View your Google Spreadsheets + AUTH_SPREADSHEETS_READONLY = 'https://www.googleapis.com/auth/spreadsheets.readonly' end end end diff --git a/generated/google/apis/slides_v1/classes.rb b/generated/google/apis/slides_v1/classes.rb index b650ac20d..a9a581ce2 100644 --- a/generated/google/apis/slides_v1/classes.rb +++ b/generated/google/apis/slides_v1/classes.rb @@ -22,6 +22,1451 @@ module Google module Apis module SlidesV1 + # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] + # to transform source coordinates (x,y) into destination coordinates (x', y') + # according to: + # x' x = shear_y scale_y translate_y + # 1 [ 1 ] + # After transformation, + # x' = scale_x * x + shear_x * y + translate_x; + # y' = scale_y * y + shear_y * x + translate_y; + # This message is therefore composed of these six matrix elements. + class AffineTransform + include Google::Apis::Core::Hashable + + # The X coordinate scaling element. + # Corresponds to the JSON property `scaleX` + # @return [Float] + attr_accessor :scale_x + + # The Y coordinate scaling element. + # Corresponds to the JSON property `scaleY` + # @return [Float] + attr_accessor :scale_y + + # The X coordinate shearing element. + # Corresponds to the JSON property `shearX` + # @return [Float] + attr_accessor :shear_x + + # The Y coordinate shearing element. + # Corresponds to the JSON property `shearY` + # @return [Float] + attr_accessor :shear_y + + # The X coordinate translation element. + # Corresponds to the JSON property `translateX` + # @return [Float] + attr_accessor :translate_x + + # The Y coordinate translation element. + # Corresponds to the JSON property `translateY` + # @return [Float] + attr_accessor :translate_y + + # The units for translate elements. + # Corresponds to the JSON property `unit` + # @return [String] + attr_accessor :unit + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @scale_x = args[:scale_x] if args.key?(:scale_x) + @scale_y = args[:scale_y] if args.key?(:scale_y) + @shear_x = args[:shear_x] if args.key?(:shear_x) + @shear_y = args[:shear_y] if args.key?(:shear_y) + @translate_x = args[:translate_x] if args.key?(:translate_x) + @translate_y = args[:translate_y] if args.key?(:translate_y) + @unit = args[:unit] if args.key?(:unit) + end + end + + # A TextElement kind that represents auto text. + class AutoText + include Google::Apis::Core::Hashable + + # The rendered content of this auto text, if available. + # Corresponds to the JSON property `content` + # @return [String] + attr_accessor :content + + # Represents the styling that can be applied to a TextRun. + # If this text is contained in a shape with a parent placeholder, then these + # text styles may be + # inherited from the parent. Which text styles are inherited depend on the + # nesting level of lists: + # * A text run in a paragraph that is not in a list will inherit its text style + # from the the newline character in the paragraph at the 0 nesting level of + # the list inside the parent placeholder. + # * A text run in a paragraph that is in a list will inherit its text style + # from the newline character in the paragraph at its corresponding nesting + # level of the list inside the parent placeholder. + # Inherited text styles are represented as unset fields in this message. If + # text is contained in a shape without a parent placeholder, unsetting these + # fields will revert the style to a value matching the defaults in the Slides + # editor. + # Corresponds to the JSON property `style` + # @return [Google::Apis::SlidesV1::TextStyle] + attr_accessor :style + + # The type of this auto text. + # 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) + @content = args[:content] if args.key?(:content) + @style = args[:style] if args.key?(:style) + @type = args[:type] if args.key?(:type) + end + end + + # Request message for PresentationsService.BatchUpdatePresentation. + class BatchUpdatePresentationRequest + include Google::Apis::Core::Hashable + + # A list of updates to apply to the presentation. + # Corresponds to the JSON property `requests` + # @return [Array] + attr_accessor :requests + + # Provides control over how write requests are executed. + # Corresponds to the JSON property `writeControl` + # @return [Google::Apis::SlidesV1::WriteControl] + attr_accessor :write_control + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @requests = args[:requests] if args.key?(:requests) + @write_control = args[:write_control] if args.key?(:write_control) + end + end + + # Response message from a batch update. + class BatchUpdatePresentationResponse + include Google::Apis::Core::Hashable + + # The presentation the updates were applied to. + # Corresponds to the JSON property `presentationId` + # @return [String] + attr_accessor :presentation_id + + # The reply of the updates. This maps 1:1 with the updates, although + # replies to some requests may be empty. + # Corresponds to the JSON property `replies` + # @return [Array] + attr_accessor :replies + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @presentation_id = args[:presentation_id] if args.key?(:presentation_id) + @replies = args[:replies] if args.key?(:replies) + end + end + + # Describes the bullet of a paragraph. + class Bullet + include Google::Apis::Core::Hashable + + # Represents the styling that can be applied to a TextRun. + # If this text is contained in a shape with a parent placeholder, then these + # text styles may be + # inherited from the parent. Which text styles are inherited depend on the + # nesting level of lists: + # * A text run in a paragraph that is not in a list will inherit its text style + # from the the newline character in the paragraph at the 0 nesting level of + # the list inside the parent placeholder. + # * A text run in a paragraph that is in a list will inherit its text style + # from the newline character in the paragraph at its corresponding nesting + # level of the list inside the parent placeholder. + # Inherited text styles are represented as unset fields in this message. If + # text is contained in a shape without a parent placeholder, unsetting these + # fields will revert the style to a value matching the defaults in the Slides + # editor. + # Corresponds to the JSON property `bulletStyle` + # @return [Google::Apis::SlidesV1::TextStyle] + attr_accessor :bullet_style + + # The rendered bullet glyph for this paragraph. + # Corresponds to the JSON property `glyph` + # @return [String] + attr_accessor :glyph + + # The ID of the list this paragraph belongs to. + # Corresponds to the JSON property `listId` + # @return [String] + attr_accessor :list_id + + # The nesting level of this paragraph in the list. + # Corresponds to the JSON property `nestingLevel` + # @return [Fixnum] + attr_accessor :nesting_level + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bullet_style = args[:bullet_style] if args.key?(:bullet_style) + @glyph = args[:glyph] if args.key?(:glyph) + @list_id = args[:list_id] if args.key?(:list_id) + @nesting_level = args[:nesting_level] if args.key?(:nesting_level) + end + end + + # The palette of predefined colors for a page. + class ColorScheme + include Google::Apis::Core::Hashable + + # The ThemeColorType and corresponding concrete color pairs. + # 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 + + # A color and position in a gradient band. + class ColorStop + include Google::Apis::Core::Hashable + + # The alpha value of this color in the gradient band. Defaults to 1.0, + # fully opaque. + # Corresponds to the JSON property `alpha` + # @return [Float] + attr_accessor :alpha + + # A themeable solid color value. + # Corresponds to the JSON property `color` + # @return [Google::Apis::SlidesV1::OpaqueColor] + attr_accessor :color + + # The relative position of the color stop in the gradient band measured + # in percentage. The value should be in the interval [0.0, 1.0]. + # Corresponds to the JSON property `position` + # @return [Float] + attr_accessor :position + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alpha = args[:alpha] if args.key?(:alpha) + @color = args[:color] if args.key?(:color) + @position = args[:position] if args.key?(:position) + end + end + + # Creates an image. + class CreateImageRequest + include Google::Apis::Core::Hashable + + # Common properties for a page element. + # Note: When you initially create a + # PageElement, the API may modify + # the values of both `size` and `transform`, but the + # visual size will be unchanged. + # Corresponds to the JSON property `elementProperties` + # @return [Google::Apis::SlidesV1::PageElementProperties] + attr_accessor :element_properties + + # A user-supplied object ID. + # If you specify an ID, it must be unique among all pages and page elements + # in the presentation. The ID must start with an alphanumeric character or an + # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + # may include those as well as a hyphen or colon (matches regex + # `[a-zA-Z0-9_-:]`). + # The length of the ID must not be less than 5 or greater than 50. + # If you don't specify an ID, a unique one is generated. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The image URL. + # The image is fetched once at insertion time and a copy is stored for + # display inside the presentation. Images must be less than 50MB in size, + # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF + # format. + # 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) + @element_properties = args[:element_properties] if args.key?(:element_properties) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @url = args[:url] if args.key?(:url) + end + end + + # The result of creating an image. + class CreateImageResponse + include Google::Apis::Core::Hashable + + # The object ID of the created image. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # Creates a line. + class CreateLineRequest + include Google::Apis::Core::Hashable + + # Common properties for a page element. + # Note: When you initially create a + # PageElement, the API may modify + # the values of both `size` and `transform`, but the + # visual size will be unchanged. + # Corresponds to the JSON property `elementProperties` + # @return [Google::Apis::SlidesV1::PageElementProperties] + attr_accessor :element_properties + + # The category of line to be created. + # Corresponds to the JSON property `lineCategory` + # @return [String] + attr_accessor :line_category + + # A user-supplied object ID. + # If you specify an ID, it must be unique among all pages and page elements + # in the presentation. The ID must start with an alphanumeric character or an + # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + # may include those as well as a hyphen or colon (matches regex + # `[a-zA-Z0-9_-:]`). + # The length of the ID must not be less than 5 or greater than 50. + # If you don't specify an ID, a unique one is generated. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @element_properties = args[:element_properties] if args.key?(:element_properties) + @line_category = args[:line_category] if args.key?(:line_category) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # The result of creating a line. + class CreateLineResponse + include Google::Apis::Core::Hashable + + # The object ID of the created line. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # Creates bullets for all of the paragraphs that overlap with the given + # text index range. + # The nesting level of each paragraph will be determined by counting leading + # tabs in front of each paragraph. To avoid excess space between the bullet and + # the corresponding paragraph, these leading tabs are removed by this request. + # This may change the indices of parts of the text. + # If the paragraph immediately before paragraphs being updated is in a list + # with a matching preset, the paragraphs being updated are added to that + # preceding list. + class CreateParagraphBulletsRequest + include Google::Apis::Core::Hashable + + # The kinds of bullet glyphs to be used. Defaults to the + # `BULLET_DISC_CIRCLE_SQUARE` preset. + # Corresponds to the JSON property `bulletPreset` + # @return [String] + attr_accessor :bullet_preset + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + # The object ID of the shape or table containing the text to add bullets to. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # Specifies a contiguous range of an indexed collection, such as characters in + # text. + # Corresponds to the JSON property `textRange` + # @return [Google::Apis::SlidesV1::Range] + attr_accessor :text_range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bullet_preset = args[:bullet_preset] if args.key?(:bullet_preset) + @cell_location = args[:cell_location] if args.key?(:cell_location) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @text_range = args[:text_range] if args.key?(:text_range) + end + end + + # Creates a new shape. + class CreateShapeRequest + include Google::Apis::Core::Hashable + + # Common properties for a page element. + # Note: When you initially create a + # PageElement, the API may modify + # the values of both `size` and `transform`, but the + # visual size will be unchanged. + # Corresponds to the JSON property `elementProperties` + # @return [Google::Apis::SlidesV1::PageElementProperties] + attr_accessor :element_properties + + # A user-supplied object ID. + # If you specify an ID, it must be unique among all pages and page elements + # in the presentation. The ID must start with an alphanumeric character or an + # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + # may include those as well as a hyphen or colon (matches regex + # `[a-zA-Z0-9_-:]`). + # The length of the ID must not be less than 5 or greater than 50. + # If empty, a unique identifier will be generated. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The shape type. + # Corresponds to the JSON property `shapeType` + # @return [String] + attr_accessor :shape_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @element_properties = args[:element_properties] if args.key?(:element_properties) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @shape_type = args[:shape_type] if args.key?(:shape_type) + end + end + + # The result of creating a shape. + class CreateShapeResponse + include Google::Apis::Core::Hashable + + # The object ID of the created shape. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # Creates an embedded Google Sheets chart. + # NOTE: Chart creation requires at least one of the spreadsheets.readonly, + # spreadsheets, drive.readonly, or drive OAuth scopes. + class CreateSheetsChartRequest + include Google::Apis::Core::Hashable + + # The ID of the specific chart in the Google Sheets spreadsheet. + # Corresponds to the JSON property `chartId` + # @return [Fixnum] + attr_accessor :chart_id + + # Common properties for a page element. + # Note: When you initially create a + # PageElement, the API may modify + # the values of both `size` and `transform`, but the + # visual size will be unchanged. + # Corresponds to the JSON property `elementProperties` + # @return [Google::Apis::SlidesV1::PageElementProperties] + attr_accessor :element_properties + + # The mode with which the chart is linked to the source spreadsheet. When + # not specified, the chart will be an image that is not linked. + # Corresponds to the JSON property `linkingMode` + # @return [String] + attr_accessor :linking_mode + + # A user-supplied object ID. + # If specified, the ID must be unique among all pages and page elements in + # the presentation. The ID should start with a word character [a-zA-Z0-9_] + # and then followed by any number of the following characters [a-zA-Z0-9_-:]. + # The length of the ID should not be less than 5 or greater than 50. + # If empty, a unique identifier will be generated. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The ID of the Google Sheets spreadsheet that contains the chart. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @chart_id = args[:chart_id] if args.key?(:chart_id) + @element_properties = args[:element_properties] if args.key?(:element_properties) + @linking_mode = args[:linking_mode] if args.key?(:linking_mode) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + end + end + + # The result of creating an embedded Google Sheets chart. + class CreateSheetsChartResponse + include Google::Apis::Core::Hashable + + # The object ID of the created chart. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # Creates a new slide. + class CreateSlideRequest + include Google::Apis::Core::Hashable + + # The optional zero-based index indicating where to insert the slides. + # If you don't specify an index, the new slide is created at the end. + # Corresponds to the JSON property `insertionIndex` + # @return [Fixnum] + attr_accessor :insertion_index + + # A user-supplied object ID. + # If you specify an ID, it must be unique among all pages and page elements + # in the presentation. The ID must start with an alphanumeric character or an + # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + # may include those as well as a hyphen or colon (matches regex + # `[a-zA-Z0-9_-:]`). + # The length of the ID must not be less than 5 or greater than 50. + # If you don't specify an ID, a unique one is generated. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # An optional list of object ID mappings from the placeholder(s) on the layout + # to the placeholder(s) + # that will be created on the new slide from that specified layout. Can only + # be used when `slide_layout_reference` is specified. + # Corresponds to the JSON property `placeholderIdMappings` + # @return [Array] + attr_accessor :placeholder_id_mappings + + # Slide layout reference. This may reference either: + # - A predefined layout + # - One of the layouts in the presentation. + # Corresponds to the JSON property `slideLayoutReference` + # @return [Google::Apis::SlidesV1::LayoutReference] + attr_accessor :slide_layout_reference + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @insertion_index = args[:insertion_index] if args.key?(:insertion_index) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @placeholder_id_mappings = args[:placeholder_id_mappings] if args.key?(:placeholder_id_mappings) + @slide_layout_reference = args[:slide_layout_reference] if args.key?(:slide_layout_reference) + end + end + + # The result of creating a slide. + class CreateSlideResponse + include Google::Apis::Core::Hashable + + # The object ID of the created slide. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # Creates a new table. + class CreateTableRequest + include Google::Apis::Core::Hashable + + # Number of columns in the table. + # Corresponds to the JSON property `columns` + # @return [Fixnum] + attr_accessor :columns + + # Common properties for a page element. + # Note: When you initially create a + # PageElement, the API may modify + # the values of both `size` and `transform`, but the + # visual size will be unchanged. + # Corresponds to the JSON property `elementProperties` + # @return [Google::Apis::SlidesV1::PageElementProperties] + attr_accessor :element_properties + + # A user-supplied object ID. + # If you specify an ID, it must be unique among all pages and page elements + # in the presentation. The ID must start with an alphanumeric character or an + # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + # may include those as well as a hyphen or colon (matches regex + # `[a-zA-Z0-9_-:]`). + # The length of the ID must not be less than 5 or greater than 50. + # If you don't specify an ID, a unique one is generated. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # Number of rows in the table. + # Corresponds to the JSON property `rows` + # @return [Fixnum] + attr_accessor :rows + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @columns = args[:columns] if args.key?(:columns) + @element_properties = args[:element_properties] if args.key?(:element_properties) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @rows = args[:rows] if args.key?(:rows) + end + end + + # The result of creating a table. + class CreateTableResponse + include Google::Apis::Core::Hashable + + # The object ID of the created table. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # Creates a video. + class CreateVideoRequest + include Google::Apis::Core::Hashable + + # Common properties for a page element. + # Note: When you initially create a + # PageElement, the API may modify + # the values of both `size` and `transform`, but the + # visual size will be unchanged. + # Corresponds to the JSON property `elementProperties` + # @return [Google::Apis::SlidesV1::PageElementProperties] + attr_accessor :element_properties + + # The video source's unique identifier for this video. + # e.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0, + # the ID is 7U3axjORYZ0. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A user-supplied object ID. + # If you specify an ID, it must be unique among all pages and page elements + # in the presentation. The ID must start with an alphanumeric character or an + # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + # may include those as well as a hyphen or colon (matches regex + # `[a-zA-Z0-9_-:]`). + # The length of the ID must not be less than 5 or greater than 50. + # If you don't specify an ID, a unique one is generated. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The video source. + # Corresponds to the JSON property `source` + # @return [String] + attr_accessor :source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @element_properties = args[:element_properties] if args.key?(:element_properties) + @id = args[:id] if args.key?(:id) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @source = args[:source] if args.key?(:source) + end + end + + # The result of creating a video. + class CreateVideoResponse + include Google::Apis::Core::Hashable + + # The object ID of the created video. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # The crop properties of an object enclosed in a container. For example, an + # Image. + # The crop properties is represented by the offsets of four edges which define + # a crop rectangle. The offsets are measured in percentage from the + # corresponding edges of the object's original bounding rectangle towards + # inside, relative to the object's original dimensions. + # - If the offset is in the interval (0, 1), the corresponding edge of crop + # rectangle is positioned inside of the object's original bounding rectangle. + # - If the offset is negative or greater than 1, the corresponding edge of crop + # rectangle is positioned outside of the object's original bounding rectangle. + # - If the left edge of the crop rectangle is on the right side of its right + # edge, the object will be flipped horizontally. + # - If the top edge of the crop rectangle is below its bottom edge, the object + # will be flipped vertically. + # - If all offsets and rotation angle is 0, the object is not cropped. + # After cropping, the content in the crop rectangle will be stretched to fit + # its container. + class CropProperties + include Google::Apis::Core::Hashable + + # The rotation angle of the crop window around its center, in radians. + # Rotation angle is applied after the offset. + # Corresponds to the JSON property `angle` + # @return [Float] + attr_accessor :angle + + # The offset specifies the bottom edge of the crop rectangle that is located + # above the original bounding rectangle bottom edge, relative to the object's + # original height. + # Corresponds to the JSON property `bottomOffset` + # @return [Float] + attr_accessor :bottom_offset + + # The offset specifies the left edge of the crop rectangle that is located to + # the right of the original bounding rectangle left edge, relative to the + # object's original width. + # Corresponds to the JSON property `leftOffset` + # @return [Float] + attr_accessor :left_offset + + # The offset specifies the right edge of the crop rectangle that is located + # to the left of the original bounding rectangle right edge, relative to the + # object's original width. + # Corresponds to the JSON property `rightOffset` + # @return [Float] + attr_accessor :right_offset + + # The offset specifies the top edge of the crop rectangle that is located + # below the original bounding rectangle top edge, relative to the object's + # original height. + # Corresponds to the JSON property `topOffset` + # @return [Float] + attr_accessor :top_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @angle = args[:angle] if args.key?(:angle) + @bottom_offset = args[:bottom_offset] if args.key?(:bottom_offset) + @left_offset = args[:left_offset] if args.key?(:left_offset) + @right_offset = args[:right_offset] if args.key?(:right_offset) + @top_offset = args[:top_offset] if args.key?(:top_offset) + end + end + + # Deletes an object, either pages or + # page elements, from the + # presentation. + class DeleteObjectRequest + include Google::Apis::Core::Hashable + + # The object ID of the page or page element to delete. + # If after a delete operation a group contains + # only 1 or no page elements, the group is also deleted. + # If a placeholder is deleted on a layout, any empty inheriting shapes are + # also deleted. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # Deletes bullets from all of the paragraphs that overlap with the given text + # index range. + # The nesting level of each paragraph will be visually preserved by adding + # indent to the start of the corresponding paragraph. + class DeleteParagraphBulletsRequest + include Google::Apis::Core::Hashable + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + # The object ID of the shape or table containing the text to delete bullets + # from. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # Specifies a contiguous range of an indexed collection, such as characters in + # text. + # Corresponds to the JSON property `textRange` + # @return [Google::Apis::SlidesV1::Range] + attr_accessor :text_range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cell_location = args[:cell_location] if args.key?(:cell_location) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @text_range = args[:text_range] if args.key?(:text_range) + end + end + + # Deletes a column from a table. + class DeleteTableColumnRequest + include Google::Apis::Core::Hashable + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + # The table to delete columns from. + # Corresponds to the JSON property `tableObjectId` + # @return [String] + attr_accessor :table_object_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cell_location = args[:cell_location] if args.key?(:cell_location) + @table_object_id = args[:table_object_id] if args.key?(:table_object_id) + end + end + + # Deletes a row from a table. + class DeleteTableRowRequest + include Google::Apis::Core::Hashable + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + # The table to delete rows from. + # Corresponds to the JSON property `tableObjectId` + # @return [String] + attr_accessor :table_object_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cell_location = args[:cell_location] if args.key?(:cell_location) + @table_object_id = args[:table_object_id] if args.key?(:table_object_id) + end + end + + # Deletes text from a shape or a table cell. + class DeleteTextRequest + include Google::Apis::Core::Hashable + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + # The object ID of the shape or table from which the text will be deleted. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # Specifies a contiguous range of an indexed collection, such as characters in + # text. + # Corresponds to the JSON property `textRange` + # @return [Google::Apis::SlidesV1::Range] + attr_accessor :text_range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cell_location = args[:cell_location] if args.key?(:cell_location) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @text_range = args[:text_range] if args.key?(:text_range) + end + end + + # A magnitude in a single direction in the specified units. + class Dimension + include Google::Apis::Core::Hashable + + # The magnitude. + # Corresponds to the JSON property `magnitude` + # @return [Float] + attr_accessor :magnitude + + # The units for magnitude. + # Corresponds to the JSON property `unit` + # @return [String] + attr_accessor :unit + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @magnitude = args[:magnitude] if args.key?(:magnitude) + @unit = args[:unit] if args.key?(:unit) + end + end + + # Duplicates a slide or page element. + # When duplicating a slide, the duplicate slide will be created immediately + # following the specified slide. When duplicating a page element, the duplicate + # will be placed on the same page at the same position as the original. + class DuplicateObjectRequest + include Google::Apis::Core::Hashable + + # The ID of the object to duplicate. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The object being duplicated may contain other objects, for example when + # duplicating a slide or a group page element. This map defines how the IDs + # of duplicated objects are generated: the keys are the IDs of the original + # objects and its values are the IDs that will be assigned to the + # corresponding duplicate object. The ID of the source object's duplicate + # may be specified in this map as well, using the same value of the + # `object_id` field as a key and the newly desired ID as the value. + # All keys must correspond to existing IDs in the presentation. All values + # must be unique in the presentation and must start with an alphanumeric + # character or an underscore (matches regex `[a-zA-Z0-9_]`); remaining + # characters may include those as well as a hyphen or colon (matches regex + # `[a-zA-Z0-9_-:]`). The length of the new ID must not be less than 5 or + # greater than 50. + # If any IDs of source objects are omitted from the map, a new random ID will + # be assigned. If the map is empty or unset, all duplicate objects will + # receive a new random ID. + # Corresponds to the JSON property `objectIds` + # @return [Hash] + attr_accessor :object_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @object_ids = args[:object_ids] if args.key?(:object_ids) + end + end + + # The response of duplicating an object. + class DuplicateObjectResponse + include Google::Apis::Core::Hashable + + # The ID of the new duplicate object. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # A PageElement kind representing a + # joined collection of PageElements. + class Group + include Google::Apis::Core::Hashable + + # The collection of elements in the group. The minimum size of a group is 2. + # Corresponds to the JSON property `children` + # @return [Array] + attr_accessor :children + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @children = args[:children] if args.key?(:children) + end + end + + # A PageElement kind representing an + # image. + class Image + include Google::Apis::Core::Hashable + + # An URL to an image with a default lifetime of 30 minutes. + # This URL is tagged with the account of the requester. Anyone with the URL + # effectively accesses the image as the original requester. Access to the + # image may be lost if the presentation's sharing settings change. + # Corresponds to the JSON property `contentUrl` + # @return [String] + attr_accessor :content_url + + # The properties of the Image. + # Corresponds to the JSON property `imageProperties` + # @return [Google::Apis::SlidesV1::ImageProperties] + attr_accessor :image_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content_url = args[:content_url] if args.key?(:content_url) + @image_properties = args[:image_properties] if args.key?(:image_properties) + end + end + + # The properties of the Image. + class ImageProperties + include Google::Apis::Core::Hashable + + # The brightness effect of the image. The value should be in the interval + # [-1.0, 1.0], where 0 means no effect. This property is read-only. + # Corresponds to the JSON property `brightness` + # @return [Float] + attr_accessor :brightness + + # The contrast effect of the image. The value should be in the interval + # [-1.0, 1.0], where 0 means no effect. This property is read-only. + # Corresponds to the JSON property `contrast` + # @return [Float] + attr_accessor :contrast + + # The crop properties of an object enclosed in a container. For example, an + # Image. + # The crop properties is represented by the offsets of four edges which define + # a crop rectangle. The offsets are measured in percentage from the + # corresponding edges of the object's original bounding rectangle towards + # inside, relative to the object's original dimensions. + # - If the offset is in the interval (0, 1), the corresponding edge of crop + # rectangle is positioned inside of the object's original bounding rectangle. + # - If the offset is negative or greater than 1, the corresponding edge of crop + # rectangle is positioned outside of the object's original bounding rectangle. + # - If the left edge of the crop rectangle is on the right side of its right + # edge, the object will be flipped horizontally. + # - If the top edge of the crop rectangle is below its bottom edge, the object + # will be flipped vertically. + # - If all offsets and rotation angle is 0, the object is not cropped. + # After cropping, the content in the crop rectangle will be stretched to fit + # its container. + # Corresponds to the JSON property `cropProperties` + # @return [Google::Apis::SlidesV1::CropProperties] + attr_accessor :crop_properties + + # A hypertext link. + # Corresponds to the JSON property `link` + # @return [Google::Apis::SlidesV1::Link] + attr_accessor :link + + # The outline of a PageElement. + # If these fields are unset, they may be inherited from a parent placeholder + # if it exists. If there is no parent, the fields will default to the value + # used for new page elements created in the Slides editor, which may depend on + # the page element kind. + # Corresponds to the JSON property `outline` + # @return [Google::Apis::SlidesV1::Outline] + attr_accessor :outline + + # A recolor effect applied on an image. + # Corresponds to the JSON property `recolor` + # @return [Google::Apis::SlidesV1::Recolor] + attr_accessor :recolor + + # The shadow properties of a page element. + # If these fields are unset, they may be inherited from a parent placeholder + # if it exists. If there is no parent, the fields will default to the value + # used for new page elements created in the Slides editor, which may depend on + # the page element kind. + # Corresponds to the JSON property `shadow` + # @return [Google::Apis::SlidesV1::Shadow] + attr_accessor :shadow + + # The transparency effect of the image. The value should be in the interval + # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. + # This property is read-only. + # Corresponds to the JSON property `transparency` + # @return [Float] + attr_accessor :transparency + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @brightness = args[:brightness] if args.key?(:brightness) + @contrast = args[:contrast] if args.key?(:contrast) + @crop_properties = args[:crop_properties] if args.key?(:crop_properties) + @link = args[:link] if args.key?(:link) + @outline = args[:outline] if args.key?(:outline) + @recolor = args[:recolor] if args.key?(:recolor) + @shadow = args[:shadow] if args.key?(:shadow) + @transparency = args[:transparency] if args.key?(:transparency) + end + end + + # Inserts columns into a table. + # Other columns in the table will be resized to fit the new column. + class InsertTableColumnsRequest + include Google::Apis::Core::Hashable + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + # Whether to insert new columns to the right of the reference cell location. + # - `True`: insert to the right. + # - `False`: insert to the left. + # Corresponds to the JSON property `insertRight` + # @return [Boolean] + attr_accessor :insert_right + alias_method :insert_right?, :insert_right + + # The number of columns to be inserted. Maximum 20 per request. + # Corresponds to the JSON property `number` + # @return [Fixnum] + attr_accessor :number + + # The table to insert columns into. + # Corresponds to the JSON property `tableObjectId` + # @return [String] + attr_accessor :table_object_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cell_location = args[:cell_location] if args.key?(:cell_location) + @insert_right = args[:insert_right] if args.key?(:insert_right) + @number = args[:number] if args.key?(:number) + @table_object_id = args[:table_object_id] if args.key?(:table_object_id) + end + end + + # Inserts rows into a table. + class InsertTableRowsRequest + include Google::Apis::Core::Hashable + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + # Whether to insert new rows below the reference cell location. + # - `True`: insert below the cell. + # - `False`: insert above the cell. + # Corresponds to the JSON property `insertBelow` + # @return [Boolean] + attr_accessor :insert_below + alias_method :insert_below?, :insert_below + + # The number of rows to be inserted. Maximum 20 per request. + # Corresponds to the JSON property `number` + # @return [Fixnum] + attr_accessor :number + + # The table to insert rows into. + # Corresponds to the JSON property `tableObjectId` + # @return [String] + attr_accessor :table_object_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cell_location = args[:cell_location] if args.key?(:cell_location) + @insert_below = args[:insert_below] if args.key?(:insert_below) + @number = args[:number] if args.key?(:number) + @table_object_id = args[:table_object_id] if args.key?(:table_object_id) + end + end + + # Inserts text into a shape or a table cell. + class InsertTextRequest + include Google::Apis::Core::Hashable + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + # The index where the text will be inserted, in Unicode code units, based + # on TextElement indexes. + # The index is zero-based and is computed from the start of the string. + # The index may be adjusted to prevent insertions inside Unicode grapheme + # clusters. In these cases, the text will be inserted immediately after the + # grapheme cluster. + # Corresponds to the JSON property `insertionIndex` + # @return [Fixnum] + attr_accessor :insertion_index + + # The object ID of the shape or table where the text will be inserted. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The text to be inserted. + # Inserting a newline character will implicitly create a new + # ParagraphMarker at that index. + # The paragraph style of the new paragraph will be copied from the paragraph + # at the current insertion index, including lists and bullets. + # Text styles for inserted text will be determined automatically, generally + # preserving the styling of neighboring text. In most cases, the text will be + # added to the TextRun that exists at the + # insertion index. + # Some control characters (U+0000-U+0008, U+000C-U+001F) and characters + # from the Unicode Basic Multilingual Plane Private Use Area (U+E000-U+F8FF) + # will be stripped out of the inserted text. + # 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) + @cell_location = args[:cell_location] if args.key?(:cell_location) + @insertion_index = args[:insertion_index] if args.key?(:insertion_index) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @text = args[:text] if args.key?(:text) + end + end + + # The user-specified ID mapping for a placeholder that will be created on a + # slide from a specified layout. + class LayoutPlaceholderIdMapping + include Google::Apis::Core::Hashable + + # The placeholder information that uniquely identifies a placeholder shape. + # Corresponds to the JSON property `layoutPlaceholder` + # @return [Google::Apis::SlidesV1::Placeholder] + attr_accessor :layout_placeholder + + # The object ID of the placeholder on a layout that will be applied + # to a slide. + # Corresponds to the JSON property `layoutPlaceholderObjectId` + # @return [String] + attr_accessor :layout_placeholder_object_id + + # A user-supplied object ID for the placeholder identified above that to be + # created onto a slide. + # If you specify an ID, it must be unique among all pages and page elements + # in the presentation. The ID must start with an alphanumeric character or an + # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + # may include those as well as a hyphen or colon (matches regex + # `[a-zA-Z0-9_-:]`). + # The length of the ID must not be less than 5 or greater than 50. + # If you don't specify an ID, a unique one is generated. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @layout_placeholder = args[:layout_placeholder] if args.key?(:layout_placeholder) + @layout_placeholder_object_id = args[:layout_placeholder_object_id] if args.key?(:layout_placeholder_object_id) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # The properties of Page are only + # relevant for pages with page_type LAYOUT. + class LayoutProperties + include Google::Apis::Core::Hashable + + # The human-readable name of the layout. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The object ID of the master that this layout is based on. + # Corresponds to the JSON property `masterObjectId` + # @return [String] + attr_accessor :master_object_id + + # The name of the layout. + # 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) + @display_name = args[:display_name] if args.key?(:display_name) + @master_object_id = args[:master_object_id] if args.key?(:master_object_id) + @name = args[:name] if args.key?(:name) + end + end + + # Slide layout reference. This may reference either: + # - A predefined layout + # - One of the layouts in the presentation. + class LayoutReference + include Google::Apis::Core::Hashable + + # Layout ID: the object ID of one of the layouts in the presentation. + # Corresponds to the JSON property `layoutId` + # @return [String] + attr_accessor :layout_id + + # Predefined layout. + # Corresponds to the JSON property `predefinedLayout` + # @return [String] + attr_accessor :predefined_layout + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @layout_id = args[:layout_id] if args.key?(:layout_id) + @predefined_layout = args[:predefined_layout] if args.key?(:predefined_layout) + end + end + # A PageElement kind representing a # line, curved connector, or bent connector. class Line @@ -50,20 +1495,17 @@ module Google end end - # Response message from a batch update. - class BatchUpdatePresentationResponse + # The fill of the line. + class LineFill include Google::Apis::Core::Hashable - # The reply of the updates. This maps 1:1 with the updates, although - # replies to some requests may be empty. - # Corresponds to the JSON property `replies` - # @return [Array] - attr_accessor :replies - - # The presentation the updates were applied to. - # Corresponds to the JSON property `presentationId` - # @return [String] - attr_accessor :presentation_id + # A solid color fill. The page or page element is filled entirely with the + # specified color value. + # If any field is unset, its value may be inherited from a parent placeholder + # if it exists. + # Corresponds to the JSON property `solidFill` + # @return [Google::Apis::SlidesV1::SolidFill] + attr_accessor :solid_fill def initialize(**args) update!(**args) @@ -71,51 +1513,87 @@ module Google # Update properties of this object def update!(**args) - @replies = args[:replies] if args.key?(:replies) - @presentation_id = args[:presentation_id] if args.key?(:presentation_id) + @solid_fill = args[:solid_fill] if args.key?(:solid_fill) end end - # Creates an embedded Google Sheets chart. - # NOTE: Chart creation requires at least one of the spreadsheets.readonly, - # spreadsheets, drive.readonly, or drive OAuth scopes. - class CreateSheetsChartRequest + # The properties of the Line. + # When unset, these fields default to values that match the appearance of + # new lines created in the Slides editor. + class LineProperties include Google::Apis::Core::Hashable - # A user-supplied object ID. - # If specified, the ID must be unique among all pages and page elements in - # the presentation. The ID should start with a word character [a-zA-Z0-9_] - # and then followed by any number of the following characters [a-zA-Z0-9_-:]. - # The length of the ID should not be less than 5 or greater than 50. - # If empty, a unique identifier will be generated. - # Corresponds to the JSON property `objectId` + # The dash style of the line. + # Corresponds to the JSON property `dashStyle` # @return [String] - attr_accessor :object_id_prop + attr_accessor :dash_style - # Common properties for a page element. - # Note: When you initially create a - # PageElement, the API may modify - # the values of both `size` and `transform`, but the - # visual size will be unchanged. - # Corresponds to the JSON property `elementProperties` - # @return [Google::Apis::SlidesV1::PageElementProperties] - attr_accessor :element_properties - - # The mode with which the chart is linked to the source spreadsheet. When - # not specified, the chart will be an image that is not linked. - # Corresponds to the JSON property `linkingMode` + # The style of the arrow at the end of the line. + # Corresponds to the JSON property `endArrow` # @return [String] - attr_accessor :linking_mode + attr_accessor :end_arrow - # The ID of the Google Sheets spreadsheet that contains the chart. - # Corresponds to the JSON property `spreadsheetId` + # The fill of the line. + # Corresponds to the JSON property `lineFill` + # @return [Google::Apis::SlidesV1::LineFill] + attr_accessor :line_fill + + # A hypertext link. + # Corresponds to the JSON property `link` + # @return [Google::Apis::SlidesV1::Link] + attr_accessor :link + + # The style of the arrow at the beginning of the line. + # Corresponds to the JSON property `startArrow` # @return [String] - attr_accessor :spreadsheet_id + attr_accessor :start_arrow - # The ID of the specific chart in the Google Sheets spreadsheet. - # Corresponds to the JSON property `chartId` + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `weight` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :weight + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dash_style = args[:dash_style] if args.key?(:dash_style) + @end_arrow = args[:end_arrow] if args.key?(:end_arrow) + @line_fill = args[:line_fill] if args.key?(:line_fill) + @link = args[:link] if args.key?(:link) + @start_arrow = args[:start_arrow] if args.key?(:start_arrow) + @weight = args[:weight] if args.key?(:weight) + end + end + + # A hypertext link. + class Link + include Google::Apis::Core::Hashable + + # If set, indicates this is a link to the specific page in this + # presentation with this ID. A page with this ID may not exist. + # Corresponds to the JSON property `pageObjectId` + # @return [String] + attr_accessor :page_object_id + + # If set, indicates this is a link to a slide in this presentation, + # addressed by its position. + # Corresponds to the JSON property `relativeLink` + # @return [String] + attr_accessor :relative_link + + # If set, indicates this is a link to the slide at this zero-based index + # in the presentation. There may not be a slide at this index. + # Corresponds to the JSON property `slideIndex` # @return [Fixnum] - attr_accessor :chart_id + attr_accessor :slide_index + + # If set, indicates this is a link to the external web page at this URL. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url def initialize(**args) update!(**args) @@ -123,22 +1601,30 @@ module Google # Update properties of this object def update!(**args) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - @element_properties = args[:element_properties] if args.key?(:element_properties) - @linking_mode = args[:linking_mode] if args.key?(:linking_mode) - @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) - @chart_id = args[:chart_id] if args.key?(:chart_id) + @page_object_id = args[:page_object_id] if args.key?(:page_object_id) + @relative_link = args[:relative_link] if args.key?(:relative_link) + @slide_index = args[:slide_index] if args.key?(:slide_index) + @url = args[:url] if args.key?(:url) end end - # The result of creating an image. - class CreateImageResponse + # A List describes the look and feel of bullets belonging to paragraphs + # associated with a list. A paragraph that is part of a list has an implicit + # reference to that list's ID. + class List include Google::Apis::Core::Hashable - # The object ID of the created image. - # Corresponds to the JSON property `objectId` + # The ID of the list. + # Corresponds to the JSON property `listId` # @return [String] - attr_accessor :object_id_prop + attr_accessor :list_id + + # A map of nesting levels to the properties of bullets at the associated + # level. A list has at most nine levels of nesting, so the possible values + # for the keys of this map are 0 through 8, inclusive. + # Corresponds to the JSON property `nestingLevel` + # @return [Hash] + attr_accessor :nesting_level def initialize(**args) update!(**args) @@ -146,118 +1632,8 @@ module Google # Update properties of this object def update!(**args) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - end - end - - # The properties of Page that are only - # relevant for pages with page_type SLIDE. - class SlideProperties - include Google::Apis::Core::Hashable - - # A page in a presentation. - # Corresponds to the JSON property `notesPage` - # @return [Google::Apis::SlidesV1::Page] - attr_accessor :notes_page - - # The object ID of the master that this slide is based on. - # Corresponds to the JSON property `masterObjectId` - # @return [String] - attr_accessor :master_object_id - - # The object ID of the layout that this slide is based on. - # Corresponds to the JSON property `layoutObjectId` - # @return [String] - attr_accessor :layout_object_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @notes_page = args[:notes_page] if args.key?(:notes_page) - @master_object_id = args[:master_object_id] if args.key?(:master_object_id) - @layout_object_id = args[:layout_object_id] if args.key?(:layout_object_id) - end - end - - # A single response from an update. - class Response - include Google::Apis::Core::Hashable - - # The result of replacing text. - # Corresponds to the JSON property `replaceAllText` - # @return [Google::Apis::SlidesV1::ReplaceAllTextResponse] - attr_accessor :replace_all_text - - # The result of creating a slide. - # Corresponds to the JSON property `createSlide` - # @return [Google::Apis::SlidesV1::CreateSlideResponse] - attr_accessor :create_slide - - # The result of creating a shape. - # Corresponds to the JSON property `createShape` - # @return [Google::Apis::SlidesV1::CreateShapeResponse] - attr_accessor :create_shape - - # The response of duplicating an object. - # Corresponds to the JSON property `duplicateObject` - # @return [Google::Apis::SlidesV1::DuplicateObjectResponse] - attr_accessor :duplicate_object - - # The result of creating a line. - # Corresponds to the JSON property `createLine` - # @return [Google::Apis::SlidesV1::CreateLineResponse] - attr_accessor :create_line - - # The result of creating an image. - # Corresponds to the JSON property `createImage` - # @return [Google::Apis::SlidesV1::CreateImageResponse] - attr_accessor :create_image - - # The result of creating a video. - # Corresponds to the JSON property `createVideo` - # @return [Google::Apis::SlidesV1::CreateVideoResponse] - attr_accessor :create_video - - # The result of creating an embedded Google Sheets chart. - # Corresponds to the JSON property `createSheetsChart` - # @return [Google::Apis::SlidesV1::CreateSheetsChartResponse] - attr_accessor :create_sheets_chart - - # The result of replacing shapes with a Google Sheets chart. - # Corresponds to the JSON property `replaceAllShapesWithSheetsChart` - # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartResponse] - attr_accessor :replace_all_shapes_with_sheets_chart - - # The result of replacing shapes with an image. - # Corresponds to the JSON property `replaceAllShapesWithImage` - # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse] - attr_accessor :replace_all_shapes_with_image - - # The result of creating a table. - # Corresponds to the JSON property `createTable` - # @return [Google::Apis::SlidesV1::CreateTableResponse] - attr_accessor :create_table - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text) - @create_slide = args[:create_slide] if args.key?(:create_slide) - @create_shape = args[:create_shape] if args.key?(:create_shape) - @duplicate_object = args[:duplicate_object] if args.key?(:duplicate_object) - @create_line = args[:create_line] if args.key?(:create_line) - @create_image = args[:create_image] if args.key?(:create_image) - @create_video = args[:create_video] if args.key?(:create_video) - @create_sheets_chart = args[:create_sheets_chart] if args.key?(:create_sheets_chart) - @replace_all_shapes_with_sheets_chart = args[:replace_all_shapes_with_sheets_chart] if args.key?(:replace_all_shapes_with_sheets_chart) - @replace_all_shapes_with_image = args[:replace_all_shapes_with_image] if args.key?(:replace_all_shapes_with_image) - @create_table = args[:create_table] if args.key?(:create_table) + @list_id = args[:list_id] if args.key?(:list_id) + @nesting_level = args[:nesting_level] if args.key?(:nesting_level) end end @@ -281,6 +1657,2077 @@ module Google end end + # Contains properties describing the look and feel of a list bullet at a given + # level of nesting. + class NestingLevel + include Google::Apis::Core::Hashable + + # Represents the styling that can be applied to a TextRun. + # If this text is contained in a shape with a parent placeholder, then these + # text styles may be + # inherited from the parent. Which text styles are inherited depend on the + # nesting level of lists: + # * A text run in a paragraph that is not in a list will inherit its text style + # from the the newline character in the paragraph at the 0 nesting level of + # the list inside the parent placeholder. + # * A text run in a paragraph that is in a list will inherit its text style + # from the newline character in the paragraph at its corresponding nesting + # level of the list inside the parent placeholder. + # Inherited text styles are represented as unset fields in this message. If + # text is contained in a shape without a parent placeholder, unsetting these + # fields will revert the style to a value matching the defaults in the Slides + # editor. + # Corresponds to the JSON property `bulletStyle` + # @return [Google::Apis::SlidesV1::TextStyle] + attr_accessor :bullet_style + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bullet_style = args[:bullet_style] if args.key?(:bullet_style) + end + end + + # The properties of Page that are only + # relevant for pages with page_type NOTES. + class NotesProperties + include Google::Apis::Core::Hashable + + # The object ID of the shape on this notes page that contains the speaker + # notes for the corresponding slide. + # The actual shape may not always exist on the notes page. Inserting text + # using this object ID will automatically create the shape. In this case, the + # actual shape may have different object ID. The `GetPresentation` or + # `GetPage` action will always return the latest object ID. + # Corresponds to the JSON property `speakerNotesObjectId` + # @return [String] + attr_accessor :speaker_notes_object_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @speaker_notes_object_id = args[:speaker_notes_object_id] if args.key?(:speaker_notes_object_id) + end + end + + # A themeable solid color value. + class OpaqueColor + include Google::Apis::Core::Hashable + + # An RGB color. + # Corresponds to the JSON property `rgbColor` + # @return [Google::Apis::SlidesV1::RgbColor] + attr_accessor :rgb_color + + # An opaque theme color. + # Corresponds to the JSON property `themeColor` + # @return [String] + attr_accessor :theme_color + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @rgb_color = args[:rgb_color] if args.key?(:rgb_color) + @theme_color = args[:theme_color] if args.key?(:theme_color) + end + end + + # A color that can either be fully opaque or fully transparent. + class OptionalColor + include Google::Apis::Core::Hashable + + # A themeable solid color value. + # Corresponds to the JSON property `opaqueColor` + # @return [Google::Apis::SlidesV1::OpaqueColor] + attr_accessor :opaque_color + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @opaque_color = args[:opaque_color] if args.key?(:opaque_color) + end + end + + # The outline of a PageElement. + # If these fields are unset, they may be inherited from a parent placeholder + # if it exists. If there is no parent, the fields will default to the value + # used for new page elements created in the Slides editor, which may depend on + # the page element kind. + class Outline + include Google::Apis::Core::Hashable + + # The dash style of the outline. + # Corresponds to the JSON property `dashStyle` + # @return [String] + attr_accessor :dash_style + + # The fill of the outline. + # Corresponds to the JSON property `outlineFill` + # @return [Google::Apis::SlidesV1::OutlineFill] + attr_accessor :outline_fill + + # The outline property state. + # Updating the the outline on a page element will implicitly update this + # field to`RENDERED`, unless another value is specified in the same request. + # To have no outline on a page element, set this field to `NOT_RENDERED`. In + # this case, any other outline fields set in the same request will be + # ignored. + # Corresponds to the JSON property `propertyState` + # @return [String] + attr_accessor :property_state + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `weight` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :weight + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dash_style = args[:dash_style] if args.key?(:dash_style) + @outline_fill = args[:outline_fill] if args.key?(:outline_fill) + @property_state = args[:property_state] if args.key?(:property_state) + @weight = args[:weight] if args.key?(:weight) + end + end + + # The fill of the outline. + class OutlineFill + include Google::Apis::Core::Hashable + + # A solid color fill. The page or page element is filled entirely with the + # specified color value. + # If any field is unset, its value may be inherited from a parent placeholder + # if it exists. + # Corresponds to the JSON property `solidFill` + # @return [Google::Apis::SlidesV1::SolidFill] + attr_accessor :solid_fill + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @solid_fill = args[:solid_fill] if args.key?(:solid_fill) + end + end + + # A page in a presentation. + class Page + include Google::Apis::Core::Hashable + + # The properties of Page are only + # relevant for pages with page_type LAYOUT. + # Corresponds to the JSON property `layoutProperties` + # @return [Google::Apis::SlidesV1::LayoutProperties] + attr_accessor :layout_properties + + # The properties of Page that are only + # relevant for pages with page_type MASTER. + # Corresponds to the JSON property `masterProperties` + # @return [Google::Apis::SlidesV1::MasterProperties] + attr_accessor :master_properties + + # The properties of Page that are only + # relevant for pages with page_type NOTES. + # Corresponds to the JSON property `notesProperties` + # @return [Google::Apis::SlidesV1::NotesProperties] + attr_accessor :notes_properties + + # The object ID for this page. Object IDs used by + # Page and + # PageElement share the same namespace. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The page elements rendered on the page. + # Corresponds to the JSON property `pageElements` + # @return [Array] + attr_accessor :page_elements + + # The properties of the Page. + # The page will inherit properties from the parent page. Depending on the page + # type the hierarchy is defined in either + # SlideProperties or + # LayoutProperties. + # Corresponds to the JSON property `pageProperties` + # @return [Google::Apis::SlidesV1::PageProperties] + attr_accessor :page_properties + + # The type of the page. + # Corresponds to the JSON property `pageType` + # @return [String] + attr_accessor :page_type + + # The revision ID of the presentation containing this page. Can be used in + # update requests to assert that the presentation revision hasn't changed + # since the last read operation. Only populated if the user has edit access + # to the presentation. + # The format of the revision ID may change over time, so it should be treated + # opaquely. A returned revision ID is only guaranteed to be valid for 24 + # hours after it has been returned and cannot be shared across users. If the + # revision ID is unchanged between calls, then the presentation has not + # changed. Conversely, a changed ID (for the same presentation and user) + # usually means the presentation has been updated; however, a changed ID can + # also be due to internal factors such as ID format changes. + # Corresponds to the JSON property `revisionId` + # @return [String] + attr_accessor :revision_id + + # The properties of Page that are only + # relevant for pages with page_type SLIDE. + # Corresponds to the JSON property `slideProperties` + # @return [Google::Apis::SlidesV1::SlideProperties] + attr_accessor :slide_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @layout_properties = args[:layout_properties] if args.key?(:layout_properties) + @master_properties = args[:master_properties] if args.key?(:master_properties) + @notes_properties = args[:notes_properties] if args.key?(:notes_properties) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @page_elements = args[:page_elements] if args.key?(:page_elements) + @page_properties = args[:page_properties] if args.key?(:page_properties) + @page_type = args[:page_type] if args.key?(:page_type) + @revision_id = args[:revision_id] if args.key?(:revision_id) + @slide_properties = args[:slide_properties] if args.key?(:slide_properties) + end + end + + # The page background fill. + class PageBackgroundFill + include Google::Apis::Core::Hashable + + # The background fill property state. + # Updating the the fill on a page will implicitly update this field to + # `RENDERED`, unless another value is specified in the same request. To + # have no fill on a page, set this field to `NOT_RENDERED`. In this case, + # any other fill fields set in the same request will be ignored. + # Corresponds to the JSON property `propertyState` + # @return [String] + attr_accessor :property_state + + # A solid color fill. The page or page element is filled entirely with the + # specified color value. + # If any field is unset, its value may be inherited from a parent placeholder + # if it exists. + # Corresponds to the JSON property `solidFill` + # @return [Google::Apis::SlidesV1::SolidFill] + attr_accessor :solid_fill + + # The stretched picture fill. The page or page element is filled entirely with + # the specified picture. The picture is stretched to fit its container. + # Corresponds to the JSON property `stretchedPictureFill` + # @return [Google::Apis::SlidesV1::StretchedPictureFill] + attr_accessor :stretched_picture_fill + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @property_state = args[:property_state] if args.key?(:property_state) + @solid_fill = args[:solid_fill] if args.key?(:solid_fill) + @stretched_picture_fill = args[:stretched_picture_fill] if args.key?(:stretched_picture_fill) + end + end + + # A visual element rendered on a page. + class PageElement + include Google::Apis::Core::Hashable + + # The description of the page element. Combined with title to display alt + # text. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # A PageElement kind representing a + # joined collection of PageElements. + # Corresponds to the JSON property `elementGroup` + # @return [Google::Apis::SlidesV1::Group] + attr_accessor :element_group + + # A PageElement kind representing an + # image. + # Corresponds to the JSON property `image` + # @return [Google::Apis::SlidesV1::Image] + attr_accessor :image + + # A PageElement kind representing a + # line, curved connector, or bent connector. + # Corresponds to the JSON property `line` + # @return [Google::Apis::SlidesV1::Line] + attr_accessor :line + + # The object ID for this page element. Object IDs used by + # google.apps.slides.v1.Page and + # google.apps.slides.v1.PageElement share the same namespace. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # A PageElement kind representing a + # generic shape that does not have a more specific classification. + # Corresponds to the JSON property `shape` + # @return [Google::Apis::SlidesV1::Shape] + attr_accessor :shape + + # A PageElement kind representing + # a linked chart embedded from Google Sheets. + # Corresponds to the JSON property `sheetsChart` + # @return [Google::Apis::SlidesV1::SheetsChart] + attr_accessor :sheets_chart + + # A width and height. + # Corresponds to the JSON property `size` + # @return [Google::Apis::SlidesV1::Size] + attr_accessor :size + + # A PageElement kind representing a + # table. + # Corresponds to the JSON property `table` + # @return [Google::Apis::SlidesV1::Table] + attr_accessor :table + + # The title of the page element. Combined with description to display alt + # text. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] + # to transform source coordinates (x,y) into destination coordinates (x', y') + # according to: + # x' x = shear_y scale_y translate_y + # 1 [ 1 ] + # After transformation, + # x' = scale_x * x + shear_x * y + translate_x; + # y' = scale_y * y + shear_y * x + translate_y; + # This message is therefore composed of these six matrix elements. + # Corresponds to the JSON property `transform` + # @return [Google::Apis::SlidesV1::AffineTransform] + attr_accessor :transform + + # A PageElement kind representing a + # video. + # Corresponds to the JSON property `video` + # @return [Google::Apis::SlidesV1::Video] + attr_accessor :video + + # A PageElement kind representing + # word art. + # Corresponds to the JSON property `wordArt` + # @return [Google::Apis::SlidesV1::WordArt] + attr_accessor :word_art + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @element_group = args[:element_group] if args.key?(:element_group) + @image = args[:image] if args.key?(:image) + @line = args[:line] if args.key?(:line) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @shape = args[:shape] if args.key?(:shape) + @sheets_chart = args[:sheets_chart] if args.key?(:sheets_chart) + @size = args[:size] if args.key?(:size) + @table = args[:table] if args.key?(:table) + @title = args[:title] if args.key?(:title) + @transform = args[:transform] if args.key?(:transform) + @video = args[:video] if args.key?(:video) + @word_art = args[:word_art] if args.key?(:word_art) + end + end + + # Common properties for a page element. + # Note: When you initially create a + # PageElement, the API may modify + # the values of both `size` and `transform`, but the + # visual size will be unchanged. + class PageElementProperties + include Google::Apis::Core::Hashable + + # The object ID of the page where the element is located. + # Corresponds to the JSON property `pageObjectId` + # @return [String] + attr_accessor :page_object_id + + # A width and height. + # Corresponds to the JSON property `size` + # @return [Google::Apis::SlidesV1::Size] + attr_accessor :size + + # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] + # to transform source coordinates (x,y) into destination coordinates (x', y') + # according to: + # x' x = shear_y scale_y translate_y + # 1 [ 1 ] + # After transformation, + # x' = scale_x * x + shear_x * y + translate_x; + # y' = scale_y * y + shear_y * x + translate_y; + # This message is therefore composed of these six matrix elements. + # Corresponds to the JSON property `transform` + # @return [Google::Apis::SlidesV1::AffineTransform] + attr_accessor :transform + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @page_object_id = args[:page_object_id] if args.key?(:page_object_id) + @size = args[:size] if args.key?(:size) + @transform = args[:transform] if args.key?(:transform) + end + end + + # The properties of the Page. + # The page will inherit properties from the parent page. Depending on the page + # type the hierarchy is defined in either + # SlideProperties or + # LayoutProperties. + class PageProperties + include Google::Apis::Core::Hashable + + # The palette of predefined colors for a page. + # Corresponds to the JSON property `colorScheme` + # @return [Google::Apis::SlidesV1::ColorScheme] + attr_accessor :color_scheme + + # The page background fill. + # Corresponds to the JSON property `pageBackgroundFill` + # @return [Google::Apis::SlidesV1::PageBackgroundFill] + attr_accessor :page_background_fill + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @color_scheme = args[:color_scheme] if args.key?(:color_scheme) + @page_background_fill = args[:page_background_fill] if args.key?(:page_background_fill) + end + end + + # A TextElement kind that represents the beginning of a new paragraph. + class ParagraphMarker + include Google::Apis::Core::Hashable + + # Describes the bullet of a paragraph. + # Corresponds to the JSON property `bullet` + # @return [Google::Apis::SlidesV1::Bullet] + attr_accessor :bullet + + # Styles that apply to a whole paragraph. + # If this text is contained in a shape with a parent placeholder, then these + # paragraph styles may be + # inherited from the parent. Which paragraph styles are inherited depend on the + # nesting level of lists: + # * A paragraph not in a list will inherit its paragraph style from the + # paragraph at the 0 nesting level of the list inside the parent placeholder. + # * A paragraph in a list will inherit its paragraph style from the paragraph + # at its corresponding nesting level of the list inside the parent + # placeholder. + # Inherited paragraph styles are represented as unset fields in this message. + # Corresponds to the JSON property `style` + # @return [Google::Apis::SlidesV1::ParagraphStyle] + attr_accessor :style + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bullet = args[:bullet] if args.key?(:bullet) + @style = args[:style] if args.key?(:style) + end + end + + # Styles that apply to a whole paragraph. + # If this text is contained in a shape with a parent placeholder, then these + # paragraph styles may be + # inherited from the parent. Which paragraph styles are inherited depend on the + # nesting level of lists: + # * A paragraph not in a list will inherit its paragraph style from the + # paragraph at the 0 nesting level of the list inside the parent placeholder. + # * A paragraph in a list will inherit its paragraph style from the paragraph + # at its corresponding nesting level of the list inside the parent + # placeholder. + # Inherited paragraph styles are represented as unset fields in this message. + class ParagraphStyle + include Google::Apis::Core::Hashable + + # The text alignment for this paragraph. + # Corresponds to the JSON property `alignment` + # @return [String] + attr_accessor :alignment + + # The text direction of this paragraph. If unset, the value defaults to + # LEFT_TO_RIGHT since + # text direction is not inherited. + # Corresponds to the JSON property `direction` + # @return [String] + attr_accessor :direction + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `indentEnd` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :indent_end + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `indentFirstLine` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :indent_first_line + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `indentStart` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :indent_start + + # The amount of space between lines, as a percentage of normal, where normal + # is represented as 100.0. If unset, the value is inherited from the parent. + # Corresponds to the JSON property `lineSpacing` + # @return [Float] + attr_accessor :line_spacing + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `spaceAbove` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :space_above + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `spaceBelow` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :space_below + + # The spacing mode for the paragraph. + # Corresponds to the JSON property `spacingMode` + # @return [String] + attr_accessor :spacing_mode + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alignment = args[:alignment] if args.key?(:alignment) + @direction = args[:direction] if args.key?(:direction) + @indent_end = args[:indent_end] if args.key?(:indent_end) + @indent_first_line = args[:indent_first_line] if args.key?(:indent_first_line) + @indent_start = args[:indent_start] if args.key?(:indent_start) + @line_spacing = args[:line_spacing] if args.key?(:line_spacing) + @space_above = args[:space_above] if args.key?(:space_above) + @space_below = args[:space_below] if args.key?(:space_below) + @spacing_mode = args[:spacing_mode] if args.key?(:spacing_mode) + end + end + + # The placeholder information that uniquely identifies a placeholder shape. + class Placeholder + include Google::Apis::Core::Hashable + + # The index of the placeholder. If the same placeholder types are present in + # the same page, they would have different index values. + # Corresponds to the JSON property `index` + # @return [Fixnum] + attr_accessor :index + + # The object ID of this shape's parent placeholder. + # If unset, the parent placeholder shape does not exist, so the shape does + # not inherit properties from any other shape. + # Corresponds to the JSON property `parentObjectId` + # @return [String] + attr_accessor :parent_object_id + + # The type of the placeholder. + # 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) + @index = args[:index] if args.key?(:index) + @parent_object_id = args[:parent_object_id] if args.key?(:parent_object_id) + @type = args[:type] if args.key?(:type) + end + end + + # A Google Slides presentation. + class Presentation + include Google::Apis::Core::Hashable + + # The layouts in the presentation. A layout is a template that determines + # how content is arranged and styled on the slides that inherit from that + # layout. + # Corresponds to the JSON property `layouts` + # @return [Array] + attr_accessor :layouts + + # The locale of the presentation, as an IETF BCP 47 language tag. + # Corresponds to the JSON property `locale` + # @return [String] + attr_accessor :locale + + # The slide masters in the presentation. A slide master contains all common + # page elements and the common properties for a set of layouts. They serve + # three purposes: + # - Placeholder shapes on a master contain the default text styles and shape + # properties of all placeholder shapes on pages that use that master. + # - The master page properties define the common page properties inherited by + # its layouts. + # - Any other shapes on the master slide will appear on all slides using that + # master, regardless of their layout. + # Corresponds to the JSON property `masters` + # @return [Array] + attr_accessor :masters + + # A page in a presentation. + # Corresponds to the JSON property `notesMaster` + # @return [Google::Apis::SlidesV1::Page] + attr_accessor :notes_master + + # A width and height. + # Corresponds to the JSON property `pageSize` + # @return [Google::Apis::SlidesV1::Size] + attr_accessor :page_size + + # The ID of the presentation. + # Corresponds to the JSON property `presentationId` + # @return [String] + attr_accessor :presentation_id + + # The revision ID of the presentation. Can be used in update requests + # to assert that the presentation revision hasn't changed since the last + # read operation. Only populated if the user has edit access to the + # presentation. + # The format of the revision ID may change over time, so it should be treated + # opaquely. A returned revision ID is only guaranteed to be valid for 24 + # hours after it has been returned and cannot be shared across users. If the + # revision ID is unchanged between calls, then the presentation has not + # changed. Conversely, a changed ID (for the same presentation and user) + # usually means the presentation has been updated; however, a changed ID can + # also be due to internal factors such as ID format changes. + # Corresponds to the JSON property `revisionId` + # @return [String] + attr_accessor :revision_id + + # The slides in the presentation. + # A slide inherits properties from a slide layout. + # Corresponds to the JSON property `slides` + # @return [Array] + attr_accessor :slides + + # The title of the presentation. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @layouts = args[:layouts] if args.key?(:layouts) + @locale = args[:locale] if args.key?(:locale) + @masters = args[:masters] if args.key?(:masters) + @notes_master = args[:notes_master] if args.key?(:notes_master) + @page_size = args[:page_size] if args.key?(:page_size) + @presentation_id = args[:presentation_id] if args.key?(:presentation_id) + @revision_id = args[:revision_id] if args.key?(:revision_id) + @slides = args[:slides] if args.key?(:slides) + @title = args[:title] if args.key?(:title) + end + end + + # Specifies a contiguous range of an indexed collection, such as characters in + # text. + class Range + include Google::Apis::Core::Hashable + + # The optional zero-based index of the end of the collection. + # Required for `FIXED_RANGE` ranges. + # Corresponds to the JSON property `endIndex` + # @return [Fixnum] + attr_accessor :end_index + + # The optional zero-based index of the beginning of the collection. + # Required for `FIXED_RANGE` and `FROM_START_INDEX` ranges. + # Corresponds to the JSON property `startIndex` + # @return [Fixnum] + attr_accessor :start_index + + # The type of range. + # 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) + @end_index = args[:end_index] if args.key?(:end_index) + @start_index = args[:start_index] if args.key?(:start_index) + @type = args[:type] if args.key?(:type) + end + end + + # A recolor effect applied on an image. + class Recolor + include Google::Apis::Core::Hashable + + # The name of the recolor effect. + # The name is determined from the `recolor_stops` by matching the gradient + # against the colors in the page's current color scheme. This property is + # read-only. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The recolor effect is represented by a gradient, which is a list of color + # stops. + # The colors in the gradient will replace the corresponding colors at + # the same position in the color palette and apply to the image. This + # property is read-only. + # Corresponds to the JSON property `recolorStops` + # @return [Array] + attr_accessor :recolor_stops + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @recolor_stops = args[:recolor_stops] if args.key?(:recolor_stops) + end + end + + # Refreshes an embedded Google Sheets chart by replacing it with the latest + # version of the chart from Google Sheets. + # NOTE: Refreshing charts requires at least one of the spreadsheets.readonly, + # spreadsheets, drive.readonly, or drive OAuth scopes. + class RefreshSheetsChartRequest + include Google::Apis::Core::Hashable + + # The object ID of the chart to refresh. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # Replaces all shapes that match the given criteria with the provided image. + class ReplaceAllShapesWithImageRequest + include Google::Apis::Core::Hashable + + # A criteria that matches a specific string of text in a shape or table. + # Corresponds to the JSON property `containsText` + # @return [Google::Apis::SlidesV1::SubstringMatchCriteria] + attr_accessor :contains_text + + # The image URL. + # The image is fetched once at insertion time and a copy is stored for + # display inside the presentation. Images must be less than 50MB in size, + # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF + # format. + # Corresponds to the JSON property `imageUrl` + # @return [String] + attr_accessor :image_url + + # If non-empty, limits the matches to page elements only on the given pages. + # Returns a 400 bad request error if given the page object ID of a + # notes page or a + # notes master, or if a + # page with that object ID doesn't exist in the presentation. + # Corresponds to the JSON property `pageObjectIds` + # @return [Array] + attr_accessor :page_object_ids + + # The replace method. + # Corresponds to the JSON property `replaceMethod` + # @return [String] + attr_accessor :replace_method + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @contains_text = args[:contains_text] if args.key?(:contains_text) + @image_url = args[:image_url] if args.key?(:image_url) + @page_object_ids = args[:page_object_ids] if args.key?(:page_object_ids) + @replace_method = args[:replace_method] if args.key?(:replace_method) + end + end + + # The result of replacing shapes with an image. + class ReplaceAllShapesWithImageResponse + include Google::Apis::Core::Hashable + + # The number of shapes replaced with images. + # Corresponds to the JSON property `occurrencesChanged` + # @return [Fixnum] + attr_accessor :occurrences_changed + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @occurrences_changed = args[:occurrences_changed] if args.key?(:occurrences_changed) + end + end + + # Replaces all shapes that match the given criteria with the provided Google + # Sheets chart. The chart will be scaled and centered to fit within the bounds + # of the original shape. + # NOTE: Replacing shapes with a chart requires at least one of the + # spreadsheets.readonly, spreadsheets, drive.readonly, or drive OAuth scopes. + class ReplaceAllShapesWithSheetsChartRequest + include Google::Apis::Core::Hashable + + # The ID of the specific chart in the Google Sheets spreadsheet. + # Corresponds to the JSON property `chartId` + # @return [Fixnum] + attr_accessor :chart_id + + # A criteria that matches a specific string of text in a shape or table. + # Corresponds to the JSON property `containsText` + # @return [Google::Apis::SlidesV1::SubstringMatchCriteria] + attr_accessor :contains_text + + # The mode with which the chart is linked to the source spreadsheet. When + # not specified, the chart will be an image that is not linked. + # Corresponds to the JSON property `linkingMode` + # @return [String] + attr_accessor :linking_mode + + # If non-empty, limits the matches to page elements only on the given pages. + # Returns a 400 bad request error if given the page object ID of a + # notes page or a + # notes master, or if a + # page with that object ID doesn't exist in the presentation. + # Corresponds to the JSON property `pageObjectIds` + # @return [Array] + attr_accessor :page_object_ids + + # The ID of the Google Sheets spreadsheet that contains the chart. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @chart_id = args[:chart_id] if args.key?(:chart_id) + @contains_text = args[:contains_text] if args.key?(:contains_text) + @linking_mode = args[:linking_mode] if args.key?(:linking_mode) + @page_object_ids = args[:page_object_ids] if args.key?(:page_object_ids) + @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + end + end + + # The result of replacing shapes with a Google Sheets chart. + class ReplaceAllShapesWithSheetsChartResponse + include Google::Apis::Core::Hashable + + # The number of shapes replaced with charts. + # Corresponds to the JSON property `occurrencesChanged` + # @return [Fixnum] + attr_accessor :occurrences_changed + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @occurrences_changed = args[:occurrences_changed] if args.key?(:occurrences_changed) + end + end + + # Replaces all instances of text matching a criteria with replace text. + class ReplaceAllTextRequest + include Google::Apis::Core::Hashable + + # A criteria that matches a specific string of text in a shape or table. + # Corresponds to the JSON property `containsText` + # @return [Google::Apis::SlidesV1::SubstringMatchCriteria] + attr_accessor :contains_text + + # If non-empty, limits the matches to page elements only on the given pages. + # Returns a 400 bad request error if given the page object ID of a + # notes master, + # or if a page with that object ID doesn't exist in the presentation. + # Corresponds to the JSON property `pageObjectIds` + # @return [Array] + attr_accessor :page_object_ids + + # The text that will replace the matched text. + # Corresponds to the JSON property `replaceText` + # @return [String] + attr_accessor :replace_text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @contains_text = args[:contains_text] if args.key?(:contains_text) + @page_object_ids = args[:page_object_ids] if args.key?(:page_object_ids) + @replace_text = args[:replace_text] if args.key?(:replace_text) + end + end + + # The result of replacing text. + class ReplaceAllTextResponse + include Google::Apis::Core::Hashable + + # The number of occurrences changed by replacing all text. + # Corresponds to the JSON property `occurrencesChanged` + # @return [Fixnum] + attr_accessor :occurrences_changed + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @occurrences_changed = args[:occurrences_changed] if args.key?(:occurrences_changed) + end + end + + # A single kind of update to apply to a presentation. + class Request + include Google::Apis::Core::Hashable + + # Creates an image. + # Corresponds to the JSON property `createImage` + # @return [Google::Apis::SlidesV1::CreateImageRequest] + attr_accessor :create_image + + # Creates a line. + # Corresponds to the JSON property `createLine` + # @return [Google::Apis::SlidesV1::CreateLineRequest] + attr_accessor :create_line + + # Creates bullets for all of the paragraphs that overlap with the given + # text index range. + # The nesting level of each paragraph will be determined by counting leading + # tabs in front of each paragraph. To avoid excess space between the bullet and + # the corresponding paragraph, these leading tabs are removed by this request. + # This may change the indices of parts of the text. + # If the paragraph immediately before paragraphs being updated is in a list + # with a matching preset, the paragraphs being updated are added to that + # preceding list. + # Corresponds to the JSON property `createParagraphBullets` + # @return [Google::Apis::SlidesV1::CreateParagraphBulletsRequest] + attr_accessor :create_paragraph_bullets + + # Creates a new shape. + # Corresponds to the JSON property `createShape` + # @return [Google::Apis::SlidesV1::CreateShapeRequest] + attr_accessor :create_shape + + # Creates an embedded Google Sheets chart. + # NOTE: Chart creation requires at least one of the spreadsheets.readonly, + # spreadsheets, drive.readonly, or drive OAuth scopes. + # Corresponds to the JSON property `createSheetsChart` + # @return [Google::Apis::SlidesV1::CreateSheetsChartRequest] + attr_accessor :create_sheets_chart + + # Creates a new slide. + # Corresponds to the JSON property `createSlide` + # @return [Google::Apis::SlidesV1::CreateSlideRequest] + attr_accessor :create_slide + + # Creates a new table. + # Corresponds to the JSON property `createTable` + # @return [Google::Apis::SlidesV1::CreateTableRequest] + attr_accessor :create_table + + # Creates a video. + # Corresponds to the JSON property `createVideo` + # @return [Google::Apis::SlidesV1::CreateVideoRequest] + attr_accessor :create_video + + # Deletes an object, either pages or + # page elements, from the + # presentation. + # Corresponds to the JSON property `deleteObject` + # @return [Google::Apis::SlidesV1::DeleteObjectRequest] + attr_accessor :delete_object + + # Deletes bullets from all of the paragraphs that overlap with the given text + # index range. + # The nesting level of each paragraph will be visually preserved by adding + # indent to the start of the corresponding paragraph. + # Corresponds to the JSON property `deleteParagraphBullets` + # @return [Google::Apis::SlidesV1::DeleteParagraphBulletsRequest] + attr_accessor :delete_paragraph_bullets + + # Deletes a column from a table. + # Corresponds to the JSON property `deleteTableColumn` + # @return [Google::Apis::SlidesV1::DeleteTableColumnRequest] + attr_accessor :delete_table_column + + # Deletes a row from a table. + # Corresponds to the JSON property `deleteTableRow` + # @return [Google::Apis::SlidesV1::DeleteTableRowRequest] + attr_accessor :delete_table_row + + # Deletes text from a shape or a table cell. + # Corresponds to the JSON property `deleteText` + # @return [Google::Apis::SlidesV1::DeleteTextRequest] + attr_accessor :delete_text + + # Duplicates a slide or page element. + # When duplicating a slide, the duplicate slide will be created immediately + # following the specified slide. When duplicating a page element, the duplicate + # will be placed on the same page at the same position as the original. + # Corresponds to the JSON property `duplicateObject` + # @return [Google::Apis::SlidesV1::DuplicateObjectRequest] + attr_accessor :duplicate_object + + # Inserts columns into a table. + # Other columns in the table will be resized to fit the new column. + # Corresponds to the JSON property `insertTableColumns` + # @return [Google::Apis::SlidesV1::InsertTableColumnsRequest] + attr_accessor :insert_table_columns + + # Inserts rows into a table. + # Corresponds to the JSON property `insertTableRows` + # @return [Google::Apis::SlidesV1::InsertTableRowsRequest] + attr_accessor :insert_table_rows + + # Inserts text into a shape or a table cell. + # Corresponds to the JSON property `insertText` + # @return [Google::Apis::SlidesV1::InsertTextRequest] + attr_accessor :insert_text + + # Refreshes an embedded Google Sheets chart by replacing it with the latest + # version of the chart from Google Sheets. + # NOTE: Refreshing charts requires at least one of the spreadsheets.readonly, + # spreadsheets, drive.readonly, or drive OAuth scopes. + # Corresponds to the JSON property `refreshSheetsChart` + # @return [Google::Apis::SlidesV1::RefreshSheetsChartRequest] + attr_accessor :refresh_sheets_chart + + # Replaces all shapes that match the given criteria with the provided image. + # Corresponds to the JSON property `replaceAllShapesWithImage` + # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithImageRequest] + attr_accessor :replace_all_shapes_with_image + + # Replaces all shapes that match the given criteria with the provided Google + # Sheets chart. The chart will be scaled and centered to fit within the bounds + # of the original shape. + # NOTE: Replacing shapes with a chart requires at least one of the + # spreadsheets.readonly, spreadsheets, drive.readonly, or drive OAuth scopes. + # Corresponds to the JSON property `replaceAllShapesWithSheetsChart` + # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartRequest] + attr_accessor :replace_all_shapes_with_sheets_chart + + # Replaces all instances of text matching a criteria with replace text. + # Corresponds to the JSON property `replaceAllText` + # @return [Google::Apis::SlidesV1::ReplaceAllTextRequest] + attr_accessor :replace_all_text + + # Update the properties of an Image. + # Corresponds to the JSON property `updateImageProperties` + # @return [Google::Apis::SlidesV1::UpdateImagePropertiesRequest] + attr_accessor :update_image_properties + + # Updates the properties of a Line. + # Corresponds to the JSON property `updateLineProperties` + # @return [Google::Apis::SlidesV1::UpdateLinePropertiesRequest] + attr_accessor :update_line_properties + + # Updates the transform of a page element. + # Corresponds to the JSON property `updatePageElementTransform` + # @return [Google::Apis::SlidesV1::UpdatePageElementTransformRequest] + attr_accessor :update_page_element_transform + + # Updates the properties of a Page. + # Corresponds to the JSON property `updatePageProperties` + # @return [Google::Apis::SlidesV1::UpdatePagePropertiesRequest] + attr_accessor :update_page_properties + + # Updates the styling for all of the paragraphs within a Shape or Table that + # overlap with the given text index range. + # Corresponds to the JSON property `updateParagraphStyle` + # @return [Google::Apis::SlidesV1::UpdateParagraphStyleRequest] + attr_accessor :update_paragraph_style + + # Update the properties of a Shape. + # Corresponds to the JSON property `updateShapeProperties` + # @return [Google::Apis::SlidesV1::UpdateShapePropertiesRequest] + attr_accessor :update_shape_properties + + # Updates the position of slides in the presentation. + # Corresponds to the JSON property `updateSlidesPosition` + # @return [Google::Apis::SlidesV1::UpdateSlidesPositionRequest] + attr_accessor :update_slides_position + + # Update the properties of a TableCell. + # Corresponds to the JSON property `updateTableCellProperties` + # @return [Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest] + attr_accessor :update_table_cell_properties + + # Update the styling of text in a Shape or + # Table. + # Corresponds to the JSON property `updateTextStyle` + # @return [Google::Apis::SlidesV1::UpdateTextStyleRequest] + attr_accessor :update_text_style + + # Update the properties of a Video. + # Corresponds to the JSON property `updateVideoProperties` + # @return [Google::Apis::SlidesV1::UpdateVideoPropertiesRequest] + attr_accessor :update_video_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_image = args[:create_image] if args.key?(:create_image) + @create_line = args[:create_line] if args.key?(:create_line) + @create_paragraph_bullets = args[:create_paragraph_bullets] if args.key?(:create_paragraph_bullets) + @create_shape = args[:create_shape] if args.key?(:create_shape) + @create_sheets_chart = args[:create_sheets_chart] if args.key?(:create_sheets_chart) + @create_slide = args[:create_slide] if args.key?(:create_slide) + @create_table = args[:create_table] if args.key?(:create_table) + @create_video = args[:create_video] if args.key?(:create_video) + @delete_object = args[:delete_object] if args.key?(:delete_object) + @delete_paragraph_bullets = args[:delete_paragraph_bullets] if args.key?(:delete_paragraph_bullets) + @delete_table_column = args[:delete_table_column] if args.key?(:delete_table_column) + @delete_table_row = args[:delete_table_row] if args.key?(:delete_table_row) + @delete_text = args[:delete_text] if args.key?(:delete_text) + @duplicate_object = args[:duplicate_object] if args.key?(:duplicate_object) + @insert_table_columns = args[:insert_table_columns] if args.key?(:insert_table_columns) + @insert_table_rows = args[:insert_table_rows] if args.key?(:insert_table_rows) + @insert_text = args[:insert_text] if args.key?(:insert_text) + @refresh_sheets_chart = args[:refresh_sheets_chart] if args.key?(:refresh_sheets_chart) + @replace_all_shapes_with_image = args[:replace_all_shapes_with_image] if args.key?(:replace_all_shapes_with_image) + @replace_all_shapes_with_sheets_chart = args[:replace_all_shapes_with_sheets_chart] if args.key?(:replace_all_shapes_with_sheets_chart) + @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text) + @update_image_properties = args[:update_image_properties] if args.key?(:update_image_properties) + @update_line_properties = args[:update_line_properties] if args.key?(:update_line_properties) + @update_page_element_transform = args[:update_page_element_transform] if args.key?(:update_page_element_transform) + @update_page_properties = args[:update_page_properties] if args.key?(:update_page_properties) + @update_paragraph_style = args[:update_paragraph_style] if args.key?(:update_paragraph_style) + @update_shape_properties = args[:update_shape_properties] if args.key?(:update_shape_properties) + @update_slides_position = args[:update_slides_position] if args.key?(:update_slides_position) + @update_table_cell_properties = args[:update_table_cell_properties] if args.key?(:update_table_cell_properties) + @update_text_style = args[:update_text_style] if args.key?(:update_text_style) + @update_video_properties = args[:update_video_properties] if args.key?(:update_video_properties) + end + end + + # A single response from an update. + class Response + include Google::Apis::Core::Hashable + + # The result of creating an image. + # Corresponds to the JSON property `createImage` + # @return [Google::Apis::SlidesV1::CreateImageResponse] + attr_accessor :create_image + + # The result of creating a line. + # Corresponds to the JSON property `createLine` + # @return [Google::Apis::SlidesV1::CreateLineResponse] + attr_accessor :create_line + + # The result of creating a shape. + # Corresponds to the JSON property `createShape` + # @return [Google::Apis::SlidesV1::CreateShapeResponse] + attr_accessor :create_shape + + # The result of creating an embedded Google Sheets chart. + # Corresponds to the JSON property `createSheetsChart` + # @return [Google::Apis::SlidesV1::CreateSheetsChartResponse] + attr_accessor :create_sheets_chart + + # The result of creating a slide. + # Corresponds to the JSON property `createSlide` + # @return [Google::Apis::SlidesV1::CreateSlideResponse] + attr_accessor :create_slide + + # The result of creating a table. + # Corresponds to the JSON property `createTable` + # @return [Google::Apis::SlidesV1::CreateTableResponse] + attr_accessor :create_table + + # The result of creating a video. + # Corresponds to the JSON property `createVideo` + # @return [Google::Apis::SlidesV1::CreateVideoResponse] + attr_accessor :create_video + + # The response of duplicating an object. + # Corresponds to the JSON property `duplicateObject` + # @return [Google::Apis::SlidesV1::DuplicateObjectResponse] + attr_accessor :duplicate_object + + # The result of replacing shapes with an image. + # Corresponds to the JSON property `replaceAllShapesWithImage` + # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse] + attr_accessor :replace_all_shapes_with_image + + # The result of replacing shapes with a Google Sheets chart. + # Corresponds to the JSON property `replaceAllShapesWithSheetsChart` + # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartResponse] + attr_accessor :replace_all_shapes_with_sheets_chart + + # The result of replacing text. + # Corresponds to the JSON property `replaceAllText` + # @return [Google::Apis::SlidesV1::ReplaceAllTextResponse] + attr_accessor :replace_all_text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_image = args[:create_image] if args.key?(:create_image) + @create_line = args[:create_line] if args.key?(:create_line) + @create_shape = args[:create_shape] if args.key?(:create_shape) + @create_sheets_chart = args[:create_sheets_chart] if args.key?(:create_sheets_chart) + @create_slide = args[:create_slide] if args.key?(:create_slide) + @create_table = args[:create_table] if args.key?(:create_table) + @create_video = args[:create_video] if args.key?(:create_video) + @duplicate_object = args[:duplicate_object] if args.key?(:duplicate_object) + @replace_all_shapes_with_image = args[:replace_all_shapes_with_image] if args.key?(:replace_all_shapes_with_image) + @replace_all_shapes_with_sheets_chart = args[:replace_all_shapes_with_sheets_chart] if args.key?(:replace_all_shapes_with_sheets_chart) + @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text) + end + end + + # An RGB color. + class RgbColor + include Google::Apis::Core::Hashable + + # The blue component of the color, from 0.0 to 1.0. + # Corresponds to the JSON property `blue` + # @return [Float] + attr_accessor :blue + + # The green component of the color, from 0.0 to 1.0. + # Corresponds to the JSON property `green` + # @return [Float] + attr_accessor :green + + # The red component of the color, from 0.0 to 1.0. + # Corresponds to the JSON property `red` + # @return [Float] + attr_accessor :red + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @blue = args[:blue] if args.key?(:blue) + @green = args[:green] if args.key?(:green) + @red = args[:red] if args.key?(:red) + end + end + + # The shadow properties of a page element. + # If these fields are unset, they may be inherited from a parent placeholder + # if it exists. If there is no parent, the fields will default to the value + # used for new page elements created in the Slides editor, which may depend on + # the page element kind. + class Shadow + include Google::Apis::Core::Hashable + + # The alignment point of the shadow, that sets the origin for translate, + # scale and skew of the shadow. + # Corresponds to the JSON property `alignment` + # @return [String] + attr_accessor :alignment + + # The alpha of the shadow's color, from 0.0 to 1.0. + # Corresponds to the JSON property `alpha` + # @return [Float] + attr_accessor :alpha + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `blurRadius` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :blur_radius + + # A themeable solid color value. + # Corresponds to the JSON property `color` + # @return [Google::Apis::SlidesV1::OpaqueColor] + attr_accessor :color + + # The shadow property state. + # Updating the the shadow on a page element will implicitly update this field + # to `RENDERED`, unless another value is specified in the same request. To + # have no shadow on a page element, set this field to `NOT_RENDERED`. In this + # case, any other shadow fields set in the same request will be ignored. + # Corresponds to the JSON property `propertyState` + # @return [String] + attr_accessor :property_state + + # Whether the shadow should rotate with the shape. + # Corresponds to the JSON property `rotateWithShape` + # @return [Boolean] + attr_accessor :rotate_with_shape + alias_method :rotate_with_shape?, :rotate_with_shape + + # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] + # to transform source coordinates (x,y) into destination coordinates (x', y') + # according to: + # x' x = shear_y scale_y translate_y + # 1 [ 1 ] + # After transformation, + # x' = scale_x * x + shear_x * y + translate_x; + # y' = scale_y * y + shear_y * x + translate_y; + # This message is therefore composed of these six matrix elements. + # Corresponds to the JSON property `transform` + # @return [Google::Apis::SlidesV1::AffineTransform] + attr_accessor :transform + + # The type of the shadow. + # 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) + @alignment = args[:alignment] if args.key?(:alignment) + @alpha = args[:alpha] if args.key?(:alpha) + @blur_radius = args[:blur_radius] if args.key?(:blur_radius) + @color = args[:color] if args.key?(:color) + @property_state = args[:property_state] if args.key?(:property_state) + @rotate_with_shape = args[:rotate_with_shape] if args.key?(:rotate_with_shape) + @transform = args[:transform] if args.key?(:transform) + @type = args[:type] if args.key?(:type) + end + end + + # A PageElement kind representing a + # generic shape that does not have a more specific classification. + class Shape + include Google::Apis::Core::Hashable + + # The placeholder information that uniquely identifies a placeholder shape. + # Corresponds to the JSON property `placeholder` + # @return [Google::Apis::SlidesV1::Placeholder] + attr_accessor :placeholder + + # The properties of a Shape. + # If the shape is a placeholder shape as determined by the + # placeholder field, then these + # properties may be inherited from a parent placeholder shape. + # Determining the rendered value of the property depends on the corresponding + # property_state field value. + # Corresponds to the JSON property `shapeProperties` + # @return [Google::Apis::SlidesV1::ShapeProperties] + attr_accessor :shape_properties + + # The type of the shape. + # Corresponds to the JSON property `shapeType` + # @return [String] + attr_accessor :shape_type + + # The general text content. The text must reside in a compatible shape (e.g. + # text box or rectangle) or a table cell in a page. + # Corresponds to the JSON property `text` + # @return [Google::Apis::SlidesV1::TextContent] + attr_accessor :text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @placeholder = args[:placeholder] if args.key?(:placeholder) + @shape_properties = args[:shape_properties] if args.key?(:shape_properties) + @shape_type = args[:shape_type] if args.key?(:shape_type) + @text = args[:text] if args.key?(:text) + end + end + + # The shape background fill. + class ShapeBackgroundFill + include Google::Apis::Core::Hashable + + # The background fill property state. + # Updating the the fill on a shape will implicitly update this field to + # `RENDERED`, unless another value is specified in the same request. To + # have no fill on a shape, set this field to `NOT_RENDERED`. In this case, + # any other fill fields set in the same request will be ignored. + # Corresponds to the JSON property `propertyState` + # @return [String] + attr_accessor :property_state + + # A solid color fill. The page or page element is filled entirely with the + # specified color value. + # If any field is unset, its value may be inherited from a parent placeholder + # if it exists. + # Corresponds to the JSON property `solidFill` + # @return [Google::Apis::SlidesV1::SolidFill] + attr_accessor :solid_fill + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @property_state = args[:property_state] if args.key?(:property_state) + @solid_fill = args[:solid_fill] if args.key?(:solid_fill) + end + end + + # The properties of a Shape. + # If the shape is a placeholder shape as determined by the + # placeholder field, then these + # properties may be inherited from a parent placeholder shape. + # Determining the rendered value of the property depends on the corresponding + # property_state field value. + class ShapeProperties + include Google::Apis::Core::Hashable + + # A hypertext link. + # Corresponds to the JSON property `link` + # @return [Google::Apis::SlidesV1::Link] + attr_accessor :link + + # The outline of a PageElement. + # If these fields are unset, they may be inherited from a parent placeholder + # if it exists. If there is no parent, the fields will default to the value + # used for new page elements created in the Slides editor, which may depend on + # the page element kind. + # Corresponds to the JSON property `outline` + # @return [Google::Apis::SlidesV1::Outline] + attr_accessor :outline + + # The shadow properties of a page element. + # If these fields are unset, they may be inherited from a parent placeholder + # if it exists. If there is no parent, the fields will default to the value + # used for new page elements created in the Slides editor, which may depend on + # the page element kind. + # Corresponds to the JSON property `shadow` + # @return [Google::Apis::SlidesV1::Shadow] + attr_accessor :shadow + + # The shape background fill. + # Corresponds to the JSON property `shapeBackgroundFill` + # @return [Google::Apis::SlidesV1::ShapeBackgroundFill] + attr_accessor :shape_background_fill + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @link = args[:link] if args.key?(:link) + @outline = args[:outline] if args.key?(:outline) + @shadow = args[:shadow] if args.key?(:shadow) + @shape_background_fill = args[:shape_background_fill] if args.key?(:shape_background_fill) + end + end + + # A PageElement kind representing + # a linked chart embedded from Google Sheets. + class SheetsChart + include Google::Apis::Core::Hashable + + # The ID of the specific chart in the Google Sheets spreadsheet that is + # embedded. + # Corresponds to the JSON property `chartId` + # @return [Fixnum] + attr_accessor :chart_id + + # The URL of an image of the embedded chart, with a default lifetime of 30 + # minutes. This URL is tagged with the account of the requester. Anyone with + # the URL effectively accesses the image as the original requester. Access to + # the image may be lost if the presentation's sharing settings change. + # Corresponds to the JSON property `contentUrl` + # @return [String] + attr_accessor :content_url + + # The properties of the SheetsChart. + # Corresponds to the JSON property `sheetsChartProperties` + # @return [Google::Apis::SlidesV1::SheetsChartProperties] + attr_accessor :sheets_chart_properties + + # The ID of the Google Sheets spreadsheet that contains the source chart. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @chart_id = args[:chart_id] if args.key?(:chart_id) + @content_url = args[:content_url] if args.key?(:content_url) + @sheets_chart_properties = args[:sheets_chart_properties] if args.key?(:sheets_chart_properties) + @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + end + end + + # The properties of the SheetsChart. + class SheetsChartProperties + include Google::Apis::Core::Hashable + + # The properties of the Image. + # Corresponds to the JSON property `chartImageProperties` + # @return [Google::Apis::SlidesV1::ImageProperties] + attr_accessor :chart_image_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @chart_image_properties = args[:chart_image_properties] if args.key?(:chart_image_properties) + end + end + + # A width and height. + class Size + include Google::Apis::Core::Hashable + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `height` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :height + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `width` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :width + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @height = args[:height] if args.key?(:height) + @width = args[:width] if args.key?(:width) + end + end + + # The properties of Page that are only + # relevant for pages with page_type SLIDE. + class SlideProperties + include Google::Apis::Core::Hashable + + # The object ID of the layout that this slide is based on. + # Corresponds to the JSON property `layoutObjectId` + # @return [String] + attr_accessor :layout_object_id + + # The object ID of the master that this slide is based on. + # Corresponds to the JSON property `masterObjectId` + # @return [String] + attr_accessor :master_object_id + + # A page in a presentation. + # Corresponds to the JSON property `notesPage` + # @return [Google::Apis::SlidesV1::Page] + attr_accessor :notes_page + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @layout_object_id = args[:layout_object_id] if args.key?(:layout_object_id) + @master_object_id = args[:master_object_id] if args.key?(:master_object_id) + @notes_page = args[:notes_page] if args.key?(:notes_page) + end + end + + # A solid color fill. The page or page element is filled entirely with the + # specified color value. + # If any field is unset, its value may be inherited from a parent placeholder + # if it exists. + class SolidFill + include Google::Apis::Core::Hashable + + # 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 * (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. + # Corresponds to the JSON property `alpha` + # @return [Float] + attr_accessor :alpha + + # A themeable solid color value. + # Corresponds to the JSON property `color` + # @return [Google::Apis::SlidesV1::OpaqueColor] + attr_accessor :color + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alpha = args[:alpha] if args.key?(:alpha) + @color = args[:color] if args.key?(:color) + end + end + + # The stretched picture fill. The page or page element is filled entirely with + # the specified picture. The picture is stretched to fit its container. + class StretchedPictureFill + include Google::Apis::Core::Hashable + + # Reading the content_url: + # An URL to a picture with a default lifetime of 30 minutes. + # This URL is tagged with the account of the requester. Anyone with the URL + # effectively accesses the picture as the original requester. Access to the + # picture may be lost if the presentation's sharing settings change. + # Writing the content_url: + # The picture is fetched once at insertion time and a copy is stored for + # display inside the presentation. Pictures must be less than 50MB in size, + # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF + # format. + # Corresponds to the JSON property `contentUrl` + # @return [String] + attr_accessor :content_url + + # A width and height. + # Corresponds to the JSON property `size` + # @return [Google::Apis::SlidesV1::Size] + attr_accessor :size + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content_url = args[:content_url] if args.key?(:content_url) + @size = args[:size] if args.key?(:size) + end + end + + # A criteria that matches a specific string of text in a shape or table. + class SubstringMatchCriteria + include Google::Apis::Core::Hashable + + # Indicates whether the search should respect case: + # - `True`: the search is case sensitive. + # - `False`: the search is case insensitive. + # Corresponds to the JSON property `matchCase` + # @return [Boolean] + attr_accessor :match_case + alias_method :match_case?, :match_case + + # The text to search for in the shape or table. + # 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) + @match_case = args[:match_case] if args.key?(:match_case) + @text = args[:text] if args.key?(:text) + end + end + + # A PageElement kind representing a + # table. + class Table + include Google::Apis::Core::Hashable + + # Number of columns in the table. + # Corresponds to the JSON property `columns` + # @return [Fixnum] + attr_accessor :columns + + # Number of rows in the table. + # Corresponds to the JSON property `rows` + # @return [Fixnum] + attr_accessor :rows + + # Properties of each column. + # Corresponds to the JSON property `tableColumns` + # @return [Array] + attr_accessor :table_columns + + # Properties and contents of each row. + # Cells that span multiple rows are contained in only one of these rows and + # have a row_span greater + # than 1. + # Corresponds to the JSON property `tableRows` + # @return [Array] + attr_accessor :table_rows + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @columns = args[:columns] if args.key?(:columns) + @rows = args[:rows] if args.key?(:rows) + @table_columns = args[:table_columns] if args.key?(:table_columns) + @table_rows = args[:table_rows] if args.key?(:table_rows) + end + end + + # Properties and contents of each table cell. + class TableCell + include Google::Apis::Core::Hashable + + # Column span of the cell. + # Corresponds to the JSON property `columnSpan` + # @return [Fixnum] + attr_accessor :column_span + + # A location of a single table cell within a table. + # Corresponds to the JSON property `location` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :location + + # Row span of the cell. + # Corresponds to the JSON property `rowSpan` + # @return [Fixnum] + attr_accessor :row_span + + # The properties of the TableCell. + # Corresponds to the JSON property `tableCellProperties` + # @return [Google::Apis::SlidesV1::TableCellProperties] + attr_accessor :table_cell_properties + + # The general text content. The text must reside in a compatible shape (e.g. + # text box or rectangle) or a table cell in a page. + # Corresponds to the JSON property `text` + # @return [Google::Apis::SlidesV1::TextContent] + attr_accessor :text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @column_span = args[:column_span] if args.key?(:column_span) + @location = args[:location] if args.key?(:location) + @row_span = args[:row_span] if args.key?(:row_span) + @table_cell_properties = args[:table_cell_properties] if args.key?(:table_cell_properties) + @text = args[:text] if args.key?(:text) + end + end + + # The table cell background fill. + class TableCellBackgroundFill + include Google::Apis::Core::Hashable + + # The background fill property state. + # Updating the the fill on a table cell will implicitly update this field + # to `RENDERED`, unless another value is specified in the same request. To + # have no fill on a table cell, set this field to `NOT_RENDERED`. In this + # case, any other fill fields set in the same request will be ignored. + # Corresponds to the JSON property `propertyState` + # @return [String] + attr_accessor :property_state + + # A solid color fill. The page or page element is filled entirely with the + # specified color value. + # If any field is unset, its value may be inherited from a parent placeholder + # if it exists. + # Corresponds to the JSON property `solidFill` + # @return [Google::Apis::SlidesV1::SolidFill] + attr_accessor :solid_fill + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @property_state = args[:property_state] if args.key?(:property_state) + @solid_fill = args[:solid_fill] if args.key?(:solid_fill) + end + end + + # A location of a single table cell within a table. + class TableCellLocation + include Google::Apis::Core::Hashable + + # The 0-based column index. + # Corresponds to the JSON property `columnIndex` + # @return [Fixnum] + attr_accessor :column_index + + # The 0-based row index. + # Corresponds to the JSON property `rowIndex` + # @return [Fixnum] + attr_accessor :row_index + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @column_index = args[:column_index] if args.key?(:column_index) + @row_index = args[:row_index] if args.key?(:row_index) + end + end + + # The properties of the TableCell. + class TableCellProperties + include Google::Apis::Core::Hashable + + # The table cell background fill. + # Corresponds to the JSON property `tableCellBackgroundFill` + # @return [Google::Apis::SlidesV1::TableCellBackgroundFill] + attr_accessor :table_cell_background_fill + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @table_cell_background_fill = args[:table_cell_background_fill] if args.key?(:table_cell_background_fill) + end + end + + # Properties of each column in a table. + class TableColumnProperties + include Google::Apis::Core::Hashable + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `columnWidth` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :column_width + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @column_width = args[:column_width] if args.key?(:column_width) + end + end + + # A table range represents a reference to a subset of a table. + # It's important to note that the cells specified by a table range do not + # necessarily form a rectangle. For example, let's say we have a 3 x 3 table + # where all the cells of the last row are merged together. The table looks + # like this: + # + # [ ] + # A table range with location = (0, 0), row span = 3 and column span = 2 + # specifies the following cells: + # x x + # [ x ] + class TableRange + include Google::Apis::Core::Hashable + + # The column span of the table range. + # Corresponds to the JSON property `columnSpan` + # @return [Fixnum] + attr_accessor :column_span + + # A location of a single table cell within a table. + # Corresponds to the JSON property `location` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :location + + # The row span of the table range. + # Corresponds to the JSON property `rowSpan` + # @return [Fixnum] + attr_accessor :row_span + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @column_span = args[:column_span] if args.key?(:column_span) + @location = args[:location] if args.key?(:location) + @row_span = args[:row_span] if args.key?(:row_span) + end + end + + # Properties and contents of each row in a table. + class TableRow + include Google::Apis::Core::Hashable + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `rowHeight` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :row_height + + # Properties and contents of each cell. + # Cells that span multiple columns are represented only once with a + # column_span greater + # than 1. As a result, the length of this collection does not always match + # the number of columns of the entire table. + # Corresponds to the JSON property `tableCells` + # @return [Array] + attr_accessor :table_cells + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @row_height = args[:row_height] if args.key?(:row_height) + @table_cells = args[:table_cells] if args.key?(:table_cells) + end + end + + # The general text content. The text must reside in a compatible shape (e.g. + # text box or rectangle) or a table cell in a page. + class TextContent + include Google::Apis::Core::Hashable + + # The bulleted lists contained in this text, keyed by list ID. + # Corresponds to the JSON property `lists` + # @return [Hash] + attr_accessor :lists + + # The text contents broken down into its component parts, including styling + # information. This property is read-only. + # Corresponds to the JSON property `textElements` + # @return [Array] + attr_accessor :text_elements + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @lists = args[:lists] if args.key?(:lists) + @text_elements = args[:text_elements] if args.key?(:text_elements) + end + end + + # A TextElement describes the content of a range of indices in the text content + # of a Shape or TableCell. + class TextElement + include Google::Apis::Core::Hashable + + # A TextElement kind that represents auto text. + # Corresponds to the JSON property `autoText` + # @return [Google::Apis::SlidesV1::AutoText] + attr_accessor :auto_text + + # The zero-based end index of this text element, exclusive, in Unicode code + # units. + # Corresponds to the JSON property `endIndex` + # @return [Fixnum] + attr_accessor :end_index + + # A TextElement kind that represents the beginning of a new paragraph. + # Corresponds to the JSON property `paragraphMarker` + # @return [Google::Apis::SlidesV1::ParagraphMarker] + attr_accessor :paragraph_marker + + # The zero-based start index of this text element, in Unicode code units. + # Corresponds to the JSON property `startIndex` + # @return [Fixnum] + attr_accessor :start_index + + # A TextElement kind that represents a run of text that all has the same + # styling. + # Corresponds to the JSON property `textRun` + # @return [Google::Apis::SlidesV1::TextRun] + attr_accessor :text_run + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @auto_text = args[:auto_text] if args.key?(:auto_text) + @end_index = args[:end_index] if args.key?(:end_index) + @paragraph_marker = args[:paragraph_marker] if args.key?(:paragraph_marker) + @start_index = args[:start_index] if args.key?(:start_index) + @text_run = args[:text_run] if args.key?(:text_run) + end + end + # A TextElement kind that represents a run of text that all has the same # styling. class TextRun @@ -321,110 +3768,97 @@ module Google end end - # Slide layout reference. This may reference either: - # - A predefined layout - # - One of the layouts in the presentation. - class LayoutReference + # Represents the styling that can be applied to a TextRun. + # If this text is contained in a shape with a parent placeholder, then these + # text styles may be + # inherited from the parent. Which text styles are inherited depend on the + # nesting level of lists: + # * A text run in a paragraph that is not in a list will inherit its text style + # from the the newline character in the paragraph at the 0 nesting level of + # the list inside the parent placeholder. + # * A text run in a paragraph that is in a list will inherit its text style + # from the newline character in the paragraph at its corresponding nesting + # level of the list inside the parent placeholder. + # Inherited text styles are represented as unset fields in this message. If + # text is contained in a shape without a parent placeholder, unsetting these + # fields will revert the style to a value matching the defaults in the Slides + # editor. + class TextStyle include Google::Apis::Core::Hashable - # Predefined layout. - # Corresponds to the JSON property `predefinedLayout` + # A color that can either be fully opaque or fully transparent. + # Corresponds to the JSON property `backgroundColor` + # @return [Google::Apis::SlidesV1::OptionalColor] + attr_accessor :background_color + + # The text's vertical offset from its normal position. + # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically + # rendered in a smaller font size, computed based on the `font_size` field. + # The `font_size` itself is not affected by changes in this field. + # Corresponds to the JSON property `baselineOffset` # @return [String] - attr_accessor :predefined_layout + attr_accessor :baseline_offset - # Layout ID: the object ID of one of the layouts in the presentation. - # Corresponds to the JSON property `layoutId` - # @return [String] - attr_accessor :layout_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @predefined_layout = args[:predefined_layout] if args.key?(:predefined_layout) - @layout_id = args[:layout_id] if args.key?(:layout_id) - end - end - - # A criteria that matches a specific string of text in a shape or table. - class SubstringMatchCriteria - include Google::Apis::Core::Hashable - - # The text to search for in the shape or table. - # Corresponds to the JSON property `text` - # @return [String] - attr_accessor :text - - # Indicates whether the search should respect case: - # - `True`: the search is case sensitive. - # - `False`: the search is case insensitive. - # Corresponds to the JSON property `matchCase` + # Whether or not the text is rendered as bold. + # Corresponds to the JSON property `bold` # @return [Boolean] - attr_accessor :match_case - alias_method :match_case?, :match_case + attr_accessor :bold + alias_method :bold?, :bold - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @text = args[:text] if args.key?(:text) - @match_case = args[:match_case] if args.key?(:match_case) - end - end - - # A table range represents a reference to a subset of a table. - # It's important to note that the cells specified by a table range do not - # necessarily form a rectangle. For example, let's say we have a 3 x 3 table - # where all the cells of the last row are merged together. The table looks - # like this: - # - # [ ] - # A table range with location = (0, 0), row span = 3 and column span = 2 - # specifies the following cells: - # x x - # [ x ] - class TableRange - include Google::Apis::Core::Hashable - - # The row span of the table range. - # Corresponds to the JSON property `rowSpan` - # @return [Fixnum] - attr_accessor :row_span - - # A location of a single table cell within a table. - # Corresponds to the JSON property `location` - # @return [Google::Apis::SlidesV1::TableCellLocation] - attr_accessor :location - - # The column span of the table range. - # Corresponds to the JSON property `columnSpan` - # @return [Fixnum] - attr_accessor :column_span - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @row_span = args[:row_span] if args.key?(:row_span) - @location = args[:location] if args.key?(:location) - @column_span = args[:column_span] if args.key?(:column_span) - end - end - - # The result of creating a table. - class CreateTableResponse - include Google::Apis::Core::Hashable - - # The object ID of the created table. - # Corresponds to the JSON property `objectId` + # The font family of the text. + # The font family can be any font from the Font menu in Slides or from + # [Google Fonts] (https://fonts.google.com/). If the font name is + # unrecognized, the text is rendered in `Arial`. + # Some fonts can affect the weight of the text. If an update request + # specifies values for both `font_family` and `bold`, the explicitly-set + # `bold` value is used. + # Corresponds to the JSON property `fontFamily` # @return [String] - attr_accessor :object_id_prop + attr_accessor :font_family + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `fontSize` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :font_size + + # A color that can either be fully opaque or fully transparent. + # Corresponds to the JSON property `foregroundColor` + # @return [Google::Apis::SlidesV1::OptionalColor] + attr_accessor :foreground_color + + # Whether or not the text is italicized. + # Corresponds to the JSON property `italic` + # @return [Boolean] + attr_accessor :italic + alias_method :italic?, :italic + + # A hypertext link. + # Corresponds to the JSON property `link` + # @return [Google::Apis::SlidesV1::Link] + attr_accessor :link + + # Whether or not the text is in small capital letters. + # Corresponds to the JSON property `smallCaps` + # @return [Boolean] + attr_accessor :small_caps + alias_method :small_caps?, :small_caps + + # Whether or not the text is struck through. + # Corresponds to the JSON property `strikethrough` + # @return [Boolean] + attr_accessor :strikethrough + alias_method :strikethrough?, :strikethrough + + # Whether or not the text is underlined. + # Corresponds to the JSON property `underline` + # @return [Boolean] + attr_accessor :underline + alias_method :underline?, :underline + + # Represents a font family and weight used to style a TextRun. + # Corresponds to the JSON property `weightedFontFamily` + # @return [Google::Apis::SlidesV1::WeightedFontFamily] + attr_accessor :weighted_font_family def initialize(**args) update!(**args) @@ -432,209 +3866,18 @@ module Google # Update properties of this object def update!(**args) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - end - end - - # Creates a new table. - class CreateTableRequest - include Google::Apis::Core::Hashable - - # Number of columns in the table. - # Corresponds to the JSON property `columns` - # @return [Fixnum] - attr_accessor :columns - - # A user-supplied object ID. - # If you specify an ID, it must be unique among all pages and page elements - # in the presentation. The ID must start with an alphanumeric character or an - # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters - # may include those as well as a hyphen or colon (matches regex - # `[a-zA-Z0-9_-:]`). - # The length of the ID must not be less than 5 or greater than 50. - # If you don't specify an ID, a unique one is generated. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - # Common properties for a page element. - # Note: When you initially create a - # PageElement, the API may modify - # the values of both `size` and `transform`, but the - # visual size will be unchanged. - # Corresponds to the JSON property `elementProperties` - # @return [Google::Apis::SlidesV1::PageElementProperties] - attr_accessor :element_properties - - # Number of rows in the table. - # Corresponds to the JSON property `rows` - # @return [Fixnum] - attr_accessor :rows - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @columns = args[:columns] if args.key?(:columns) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - @element_properties = args[:element_properties] if args.key?(:element_properties) - @rows = args[:rows] if args.key?(:rows) - end - end - - # A PageElement kind representing a - # table. - class Table - include Google::Apis::Core::Hashable - - # Number of rows in the table. - # Corresponds to the JSON property `rows` - # @return [Fixnum] - attr_accessor :rows - - # Properties of each column. - # Corresponds to the JSON property `tableColumns` - # @return [Array] - attr_accessor :table_columns - - # Number of columns in the table. - # Corresponds to the JSON property `columns` - # @return [Fixnum] - attr_accessor :columns - - # Properties and contents of each row. - # Cells that span multiple rows are contained in only one of these rows and - # have a row_span greater - # than 1. - # Corresponds to the JSON property `tableRows` - # @return [Array] - attr_accessor :table_rows - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @rows = args[:rows] if args.key?(:rows) - @table_columns = args[:table_columns] if args.key?(:table_columns) - @columns = args[:columns] if args.key?(:columns) - @table_rows = args[:table_rows] if args.key?(:table_rows) - end - end - - # The page background fill. - class PageBackgroundFill - include Google::Apis::Core::Hashable - - # The stretched picture fill. The page or page element is filled entirely with - # the specified picture. The picture is stretched to fit its container. - # Corresponds to the JSON property `stretchedPictureFill` - # @return [Google::Apis::SlidesV1::StretchedPictureFill] - attr_accessor :stretched_picture_fill - - # A solid color fill. The page or page element is filled entirely with the - # specified color value. - # If any field is unset, its value may be inherited from a parent placeholder - # if it exists. - # Corresponds to the JSON property `solidFill` - # @return [Google::Apis::SlidesV1::SolidFill] - attr_accessor :solid_fill - - # The background fill property state. - # Updating the the fill on a page will implicitly update this field to - # `RENDERED`, unless another value is specified in the same request. To - # have no fill on a page, set this field to `NOT_RENDERED`. In this case, - # any other fill fields set in the same request will be ignored. - # Corresponds to the JSON property `propertyState` - # @return [String] - attr_accessor :property_state - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @stretched_picture_fill = args[:stretched_picture_fill] if args.key?(:stretched_picture_fill) - @solid_fill = args[:solid_fill] if args.key?(:solid_fill) - @property_state = args[:property_state] if args.key?(:property_state) - end - end - - # A PageElement kind representing - # a linked chart embedded from Google Sheets. - class SheetsChart - include Google::Apis::Core::Hashable - - # The properties of the SheetsChart. - # Corresponds to the JSON property `sheetsChartProperties` - # @return [Google::Apis::SlidesV1::SheetsChartProperties] - attr_accessor :sheets_chart_properties - - # The URL of an image of the embedded chart, with a default lifetime of 30 - # minutes. This URL is tagged with the account of the requester. Anyone with - # the URL effectively accesses the image as the original requester. Access to - # the image may be lost if the presentation's sharing settings change. - # Corresponds to the JSON property `contentUrl` - # @return [String] - attr_accessor :content_url - - # The ID of the Google Sheets spreadsheet that contains the source chart. - # Corresponds to the JSON property `spreadsheetId` - # @return [String] - attr_accessor :spreadsheet_id - - # The ID of the specific chart in the Google Sheets spreadsheet that is - # embedded. - # Corresponds to the JSON property `chartId` - # @return [Fixnum] - attr_accessor :chart_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sheets_chart_properties = args[:sheets_chart_properties] if args.key?(:sheets_chart_properties) - @content_url = args[:content_url] if args.key?(:content_url) - @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) - @chart_id = args[:chart_id] if args.key?(:chart_id) - end - end - - # A solid color fill. The page or page element is filled entirely with the - # specified color value. - # If any field is unset, its value may be inherited from a parent placeholder - # if it exists. - class SolidFill - include Google::Apis::Core::Hashable - - # 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 * (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. - # Corresponds to the JSON property `alpha` - # @return [Float] - attr_accessor :alpha - - # A themeable solid color value. - # Corresponds to the JSON property `color` - # @return [Google::Apis::SlidesV1::OpaqueColor] - attr_accessor :color - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @alpha = args[:alpha] if args.key?(:alpha) - @color = args[:color] if args.key?(:color) + @background_color = args[:background_color] if args.key?(:background_color) + @baseline_offset = args[:baseline_offset] if args.key?(:baseline_offset) + @bold = args[:bold] if args.key?(:bold) + @font_family = args[:font_family] if args.key?(:font_family) + @font_size = args[:font_size] if args.key?(:font_size) + @foreground_color = args[:foreground_color] if args.key?(:foreground_color) + @italic = args[:italic] if args.key?(:italic) + @link = args[:link] if args.key?(:link) + @small_caps = args[:small_caps] if args.key?(:small_caps) + @strikethrough = args[:strikethrough] if args.key?(:strikethrough) + @underline = args[:underline] if args.key?(:underline) + @weighted_font_family = args[:weighted_font_family] if args.key?(:weighted_font_family) end end @@ -663,492 +3906,29 @@ module Google end end - # A color that can either be fully opaque or fully transparent. - class OptionalColor + # The thumbnail of a page. + class Thumbnail include Google::Apis::Core::Hashable - # A themeable solid color value. - # Corresponds to the JSON property `opaqueColor` - # @return [Google::Apis::SlidesV1::OpaqueColor] - attr_accessor :opaque_color - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @opaque_color = args[:opaque_color] if args.key?(:opaque_color) - end - end - - # Common properties for a page element. - # Note: When you initially create a - # PageElement, the API may modify - # the values of both `size` and `transform`, but the - # visual size will be unchanged. - class PageElementProperties - include Google::Apis::Core::Hashable - - # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] - # to transform source coordinates (x,y) into destination coordinates (x', y') - # according to: - # x' x = shear_y scale_y translate_y - # 1 [ 1 ] - # After transformation, - # x' = scale_x * x + shear_x * y + translate_x; - # y' = scale_y * y + shear_y * x + translate_y; - # This message is therefore composed of these six matrix elements. - # Corresponds to the JSON property `transform` - # @return [Google::Apis::SlidesV1::AffineTransform] - attr_accessor :transform - - # The object ID of the page where the element is located. - # Corresponds to the JSON property `pageObjectId` - # @return [String] - attr_accessor :page_object_id - - # A width and height. - # Corresponds to the JSON property `size` - # @return [Google::Apis::SlidesV1::Size] - attr_accessor :size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @transform = args[:transform] if args.key?(:transform) - @page_object_id = args[:page_object_id] if args.key?(:page_object_id) - @size = args[:size] if args.key?(:size) - end - end - - # The properties of the SheetsChart. - class SheetsChartProperties - include Google::Apis::Core::Hashable - - # The properties of the Image. - # Corresponds to the JSON property `chartImageProperties` - # @return [Google::Apis::SlidesV1::ImageProperties] - attr_accessor :chart_image_properties - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @chart_image_properties = args[:chart_image_properties] if args.key?(:chart_image_properties) - end - end - - # The stretched picture fill. The page or page element is filled entirely with - # the specified picture. The picture is stretched to fit its container. - class StretchedPictureFill - include Google::Apis::Core::Hashable - - # Reading the content_url: - # An URL to a picture with a default lifetime of 30 minutes. + # The content URL of the thumbnail image. + # The URL to the image has a default lifetime of 30 minutes. # This URL is tagged with the account of the requester. Anyone with the URL - # effectively accesses the picture as the original requester. Access to the - # picture may be lost if the presentation's sharing settings change. - # Writing the content_url: - # The picture is fetched once at insertion time and a copy is stored for - # display inside the presentation. Pictures must be less than 50MB in size, - # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF - # format. + # effectively accesses the image as the original requester. Access to the + # image may be lost if the presentation's sharing settings change. + # The mime type of the thumbnail image is the same as specified in the + # `GetPageThumbnailRequest`. # Corresponds to the JSON property `contentUrl` # @return [String] attr_accessor :content_url - # A width and height. - # Corresponds to the JSON property `size` - # @return [Google::Apis::SlidesV1::Size] - attr_accessor :size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @content_url = args[:content_url] if args.key?(:content_url) - @size = args[:size] if args.key?(:size) - end - end - - # Deletes a column from a table. - class DeleteTableColumnRequest - include Google::Apis::Core::Hashable - - # A location of a single table cell within a table. - # Corresponds to the JSON property `cellLocation` - # @return [Google::Apis::SlidesV1::TableCellLocation] - attr_accessor :cell_location - - # The table to delete columns from. - # Corresponds to the JSON property `tableObjectId` - # @return [String] - attr_accessor :table_object_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @cell_location = args[:cell_location] if args.key?(:cell_location) - @table_object_id = args[:table_object_id] if args.key?(:table_object_id) - end - end - - # Update the styling of text in a Shape or - # Table. - class UpdateTextStyleRequest - include Google::Apis::Core::Hashable - - # The fields that should be updated. - # At least one field must be specified. The root `style` is implied and - # should not be specified. A single `"*"` can be used as short-hand for - # listing every field. - # For example, to update the text style to bold, set `fields` to `"bold"`. - # To reset a property to its default value, include its field name in the - # field mask but leave the field itself unset. - # Corresponds to the JSON property `fields` - # @return [String] - attr_accessor :fields - - # Specifies a contiguous range of an indexed collection, such as characters in - # text. - # Corresponds to the JSON property `textRange` - # @return [Google::Apis::SlidesV1::Range] - attr_accessor :text_range - - # The object ID of the shape or table with the text to be styled. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - # Represents the styling that can be applied to a TextRun. - # If this text is contained in a shape with a parent placeholder, then these - # text styles may be - # inherited from the parent. Which text styles are inherited depend on the - # nesting level of lists: - # * A text run in a paragraph that is not in a list will inherit its text style - # from the the newline character in the paragraph at the 0 nesting level of - # the list inside the parent placeholder. - # * A text run in a paragraph that is in a list will inherit its text style - # from the newline character in the paragraph at its corresponding nesting - # level of the list inside the parent placeholder. - # Inherited text styles are represented as unset fields in this message. If - # text is contained in a shape without a parent placeholder, unsetting these - # fields will revert the style to a value matching the defaults in the Slides - # editor. - # Corresponds to the JSON property `style` - # @return [Google::Apis::SlidesV1::TextStyle] - attr_accessor :style - - # A location of a single table cell within a table. - # Corresponds to the JSON property `cellLocation` - # @return [Google::Apis::SlidesV1::TableCellLocation] - attr_accessor :cell_location - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @fields = args[:fields] if args.key?(:fields) - @text_range = args[:text_range] if args.key?(:text_range) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - @style = args[:style] if args.key?(:style) - @cell_location = args[:cell_location] if args.key?(:cell_location) - end - end - - # A List describes the look and feel of bullets belonging to paragraphs - # associated with a list. A paragraph that is part of a list has an implicit - # reference to that list's ID. - class List - include Google::Apis::Core::Hashable - - # A map of nesting levels to the properties of bullets at the associated - # level. A list has at most nine levels of nesting, so the possible values - # for the keys of this map are 0 through 8, inclusive. - # Corresponds to the JSON property `nestingLevel` - # @return [Hash] - attr_accessor :nesting_level - - # The ID of the list. - # Corresponds to the JSON property `listId` - # @return [String] - attr_accessor :list_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @nesting_level = args[:nesting_level] if args.key?(:nesting_level) - @list_id = args[:list_id] if args.key?(:list_id) - end - end - - # Represents a font family and weight used to style a TextRun. - class WeightedFontFamily - include Google::Apis::Core::Hashable - - # The rendered weight of the text. This field can have any value that is a - # multiple of `100` between `100` and `900`, inclusive. This range - # corresponds to the numerical values described in the CSS 2.1 - # Specification, [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font- - # boldness), - # with non-numerical values disallowed. Weights greater than or equal to - # `700` are considered bold, and weights less than `700`are not bold. The - # default value is `400` ("normal"). - # Corresponds to the JSON property `weight` - # @return [Fixnum] - attr_accessor :weight - - # The font family of the text. - # The font family can be any font from the Font menu in Slides or from - # [Google Fonts] (https://fonts.google.com/). If the font name is - # unrecognized, the text is rendered in `Arial`. - # Corresponds to the JSON property `fontFamily` - # @return [String] - attr_accessor :font_family - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @weight = args[:weight] if args.key?(:weight) - @font_family = args[:font_family] if args.key?(:font_family) - end - end - - # A visual element rendered on a page. - class PageElement - include Google::Apis::Core::Hashable - - # A PageElement kind representing a - # line, curved connector, or bent connector. - # Corresponds to the JSON property `line` - # @return [Google::Apis::SlidesV1::Line] - attr_accessor :line - - # The description of the page element. Combined with title to display alt - # text. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # A PageElement kind representing a - # joined collection of PageElements. - # Corresponds to the JSON property `elementGroup` - # @return [Google::Apis::SlidesV1::Group] - attr_accessor :element_group - - # A PageElement kind representing an - # image. - # Corresponds to the JSON property `image` - # @return [Google::Apis::SlidesV1::Image] - attr_accessor :image - - # A width and height. - # Corresponds to the JSON property `size` - # @return [Google::Apis::SlidesV1::Size] - attr_accessor :size - - # The title of the page element. Combined with description to display alt - # text. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # A PageElement kind representing - # a linked chart embedded from Google Sheets. - # Corresponds to the JSON property `sheetsChart` - # @return [Google::Apis::SlidesV1::SheetsChart] - attr_accessor :sheets_chart - - # A PageElement kind representing a - # video. - # Corresponds to the JSON property `video` - # @return [Google::Apis::SlidesV1::Video] - attr_accessor :video - - # A PageElement kind representing - # word art. - # Corresponds to the JSON property `wordArt` - # @return [Google::Apis::SlidesV1::WordArt] - attr_accessor :word_art - - # A PageElement kind representing a - # table. - # Corresponds to the JSON property `table` - # @return [Google::Apis::SlidesV1::Table] - attr_accessor :table - - # The object ID for this page element. Object IDs used by - # google.apps.slides.v1.Page and - # google.apps.slides.v1.PageElement share the same namespace. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] - # to transform source coordinates (x,y) into destination coordinates (x', y') - # according to: - # x' x = shear_y scale_y translate_y - # 1 [ 1 ] - # After transformation, - # x' = scale_x * x + shear_x * y + translate_x; - # y' = scale_y * y + shear_y * x + translate_y; - # This message is therefore composed of these six matrix elements. - # Corresponds to the JSON property `transform` - # @return [Google::Apis::SlidesV1::AffineTransform] - attr_accessor :transform - - # A PageElement kind representing a - # generic shape that does not have a more specific classification. - # Corresponds to the JSON property `shape` - # @return [Google::Apis::SlidesV1::Shape] - attr_accessor :shape - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @line = args[:line] if args.key?(:line) - @description = args[:description] if args.key?(:description) - @element_group = args[:element_group] if args.key?(:element_group) - @image = args[:image] if args.key?(:image) - @size = args[:size] if args.key?(:size) - @title = args[:title] if args.key?(:title) - @sheets_chart = args[:sheets_chart] if args.key?(:sheets_chart) - @video = args[:video] if args.key?(:video) - @word_art = args[:word_art] if args.key?(:word_art) - @table = args[:table] if args.key?(:table) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - @transform = args[:transform] if args.key?(:transform) - @shape = args[:shape] if args.key?(:shape) - end - end - - # Creates an image. - class CreateImageRequest - include Google::Apis::Core::Hashable - - # A user-supplied object ID. - # If you specify an ID, it must be unique among all pages and page elements - # in the presentation. The ID must start with an alphanumeric character or an - # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters - # may include those as well as a hyphen or colon (matches regex - # `[a-zA-Z0-9_-:]`). - # The length of the ID must not be less than 5 or greater than 50. - # If you don't specify an ID, a unique one is generated. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - # Common properties for a page element. - # Note: When you initially create a - # PageElement, the API may modify - # the values of both `size` and `transform`, but the - # visual size will be unchanged. - # Corresponds to the JSON property `elementProperties` - # @return [Google::Apis::SlidesV1::PageElementProperties] - attr_accessor :element_properties - - # The image URL. - # The image is fetched once at insertion time and a copy is stored for - # display inside the presentation. Images must be less than 50MB in size, - # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF - # format. - # 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) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - @element_properties = args[:element_properties] if args.key?(:element_properties) - @url = args[:url] if args.key?(:url) - end - end - - # Creates bullets for all of the paragraphs that overlap with the given - # text index range. - # The nesting level of each paragraph will be determined by counting leading - # tabs in front of each paragraph. To avoid excess space between the bullet and - # the corresponding paragraph, these leading tabs are removed by this request. - # This may change the indices of parts of the text. - # If the paragraph immediately before paragraphs being updated is in a list - # with a matching preset, the paragraphs being updated are added to that - # preceding list. - class CreateParagraphBulletsRequest - include Google::Apis::Core::Hashable - - # Specifies a contiguous range of an indexed collection, such as characters in - # text. - # Corresponds to the JSON property `textRange` - # @return [Google::Apis::SlidesV1::Range] - attr_accessor :text_range - - # The object ID of the shape or table containing the text to add bullets to. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - # The kinds of bullet glyphs to be used. Defaults to the - # `BULLET_DISC_CIRCLE_SQUARE` preset. - # Corresponds to the JSON property `bulletPreset` - # @return [String] - attr_accessor :bullet_preset - - # A location of a single table cell within a table. - # Corresponds to the JSON property `cellLocation` - # @return [Google::Apis::SlidesV1::TableCellLocation] - attr_accessor :cell_location - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @text_range = args[:text_range] if args.key?(:text_range) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - @bullet_preset = args[:bullet_preset] if args.key?(:bullet_preset) - @cell_location = args[:cell_location] if args.key?(:cell_location) - end - end - - # A width and height. - class Size - include Google::Apis::Core::Hashable - - # A magnitude in a single direction in the specified units. + # The positive height in pixels of the thumbnail image. # Corresponds to the JSON property `height` - # @return [Google::Apis::SlidesV1::Dimension] + # @return [Fixnum] attr_accessor :height - # A magnitude in a single direction in the specified units. + # The positive width in pixels of the thumbnail image. # Corresponds to the JSON property `width` - # @return [Google::Apis::SlidesV1::Dimension] + # @return [Fixnum] attr_accessor :width def initialize(**args) @@ -1157,389 +3937,12 @@ module Google # Update properties of this object def update!(**args) + @content_url = args[:content_url] if args.key?(:content_url) @height = args[:height] if args.key?(:height) @width = args[:width] if args.key?(:width) end end - # Represents the styling that can be applied to a TextRun. - # If this text is contained in a shape with a parent placeholder, then these - # text styles may be - # inherited from the parent. Which text styles are inherited depend on the - # nesting level of lists: - # * A text run in a paragraph that is not in a list will inherit its text style - # from the the newline character in the paragraph at the 0 nesting level of - # the list inside the parent placeholder. - # * A text run in a paragraph that is in a list will inherit its text style - # from the newline character in the paragraph at its corresponding nesting - # level of the list inside the parent placeholder. - # Inherited text styles are represented as unset fields in this message. If - # text is contained in a shape without a parent placeholder, unsetting these - # fields will revert the style to a value matching the defaults in the Slides - # editor. - class TextStyle - include Google::Apis::Core::Hashable - - # Whether or not the text is in small capital letters. - # Corresponds to the JSON property `smallCaps` - # @return [Boolean] - attr_accessor :small_caps - alias_method :small_caps?, :small_caps - - # A color that can either be fully opaque or fully transparent. - # Corresponds to the JSON property `backgroundColor` - # @return [Google::Apis::SlidesV1::OptionalColor] - attr_accessor :background_color - - # A hypertext link. - # Corresponds to the JSON property `link` - # @return [Google::Apis::SlidesV1::Link] - attr_accessor :link - - # Whether or not the text is underlined. - # Corresponds to the JSON property `underline` - # @return [Boolean] - attr_accessor :underline - alias_method :underline?, :underline - - # A color that can either be fully opaque or fully transparent. - # Corresponds to the JSON property `foregroundColor` - # @return [Google::Apis::SlidesV1::OptionalColor] - attr_accessor :foreground_color - - # Whether or not the text is rendered as bold. - # Corresponds to the JSON property `bold` - # @return [Boolean] - attr_accessor :bold - alias_method :bold?, :bold - - # The font family of the text. - # The font family can be any font from the Font menu in Slides or from - # [Google Fonts] (https://fonts.google.com/). If the font name is - # unrecognized, the text is rendered in `Arial`. - # Some fonts can affect the weight of the text. If an update request - # specifies values for both `font_family` and `bold`, the explicitly-set - # `bold` value is used. - # Corresponds to the JSON property `fontFamily` - # @return [String] - attr_accessor :font_family - - # Whether or not the text is italicized. - # Corresponds to the JSON property `italic` - # @return [Boolean] - attr_accessor :italic - alias_method :italic?, :italic - - # Whether or not the text is struck through. - # Corresponds to the JSON property `strikethrough` - # @return [Boolean] - attr_accessor :strikethrough - alias_method :strikethrough?, :strikethrough - - # A magnitude in a single direction in the specified units. - # Corresponds to the JSON property `fontSize` - # @return [Google::Apis::SlidesV1::Dimension] - attr_accessor :font_size - - # The text's vertical offset from its normal position. - # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically - # rendered in a smaller font size, computed based on the `font_size` field. - # The `font_size` itself is not affected by changes in this field. - # Corresponds to the JSON property `baselineOffset` - # @return [String] - attr_accessor :baseline_offset - - # Represents a font family and weight used to style a TextRun. - # Corresponds to the JSON property `weightedFontFamily` - # @return [Google::Apis::SlidesV1::WeightedFontFamily] - attr_accessor :weighted_font_family - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @small_caps = args[:small_caps] if args.key?(:small_caps) - @background_color = args[:background_color] if args.key?(:background_color) - @link = args[:link] if args.key?(:link) - @underline = args[:underline] if args.key?(:underline) - @foreground_color = args[:foreground_color] if args.key?(:foreground_color) - @bold = args[:bold] if args.key?(:bold) - @font_family = args[:font_family] if args.key?(:font_family) - @italic = args[:italic] if args.key?(:italic) - @strikethrough = args[:strikethrough] if args.key?(:strikethrough) - @font_size = args[:font_size] if args.key?(:font_size) - @baseline_offset = args[:baseline_offset] if args.key?(:baseline_offset) - @weighted_font_family = args[:weighted_font_family] if args.key?(:weighted_font_family) - end - end - - # Update the properties of a Video. - class UpdateVideoPropertiesRequest - include Google::Apis::Core::Hashable - - # The object ID of the video the updates are applied to. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - # The properties of the Video. - # Corresponds to the JSON property `videoProperties` - # @return [Google::Apis::SlidesV1::VideoProperties] - attr_accessor :video_properties - - # The fields that should be updated. - # At least one field must be specified. The root `videoProperties` is - # implied and should not be specified. A single `"*"` can be used as - # short-hand for listing every field. - # For example to update the video outline color, set `fields` to - # `"outline.outlineFill.solidFill.color"`. - # To reset a property to its default value, include its field name in the - # field mask but leave the field itself unset. - # Corresponds to the JSON property `fields` - # @return [String] - attr_accessor :fields - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - @video_properties = args[:video_properties] if args.key?(:video_properties) - @fields = args[:fields] if args.key?(:fields) - end - end - - # A single kind of update to apply to a presentation. - class Request - include Google::Apis::Core::Hashable - - # Duplicates a slide or page element. - # When duplicating a slide, the duplicate slide will be created immediately - # following the specified slide. When duplicating a page element, the duplicate - # will be placed on the same page at the same position as the original. - # Corresponds to the JSON property `duplicateObject` - # @return [Google::Apis::SlidesV1::DuplicateObjectRequest] - attr_accessor :duplicate_object - - # Deletes a column from a table. - # Corresponds to the JSON property `deleteTableColumn` - # @return [Google::Apis::SlidesV1::DeleteTableColumnRequest] - attr_accessor :delete_table_column - - # Update the properties of a Video. - # Corresponds to the JSON property `updateVideoProperties` - # @return [Google::Apis::SlidesV1::UpdateVideoPropertiesRequest] - attr_accessor :update_video_properties - - # Creates a line. - # Corresponds to the JSON property `createLine` - # @return [Google::Apis::SlidesV1::CreateLineRequest] - attr_accessor :create_line - - # Creates an image. - # Corresponds to the JSON property `createImage` - # @return [Google::Apis::SlidesV1::CreateImageRequest] - attr_accessor :create_image - - # Creates bullets for all of the paragraphs that overlap with the given - # text index range. - # The nesting level of each paragraph will be determined by counting leading - # tabs in front of each paragraph. To avoid excess space between the bullet and - # the corresponding paragraph, these leading tabs are removed by this request. - # This may change the indices of parts of the text. - # If the paragraph immediately before paragraphs being updated is in a list - # with a matching preset, the paragraphs being updated are added to that - # preceding list. - # Corresponds to the JSON property `createParagraphBullets` - # @return [Google::Apis::SlidesV1::CreateParagraphBulletsRequest] - attr_accessor :create_paragraph_bullets - - # Creates a video. - # Corresponds to the JSON property `createVideo` - # @return [Google::Apis::SlidesV1::CreateVideoRequest] - attr_accessor :create_video - - # Replaces all shapes that match the given criteria with the provided Google - # Sheets chart. The chart will be scaled and centered to fit within the bounds - # of the original shape. - # NOTE: Replacing shapes with a chart requires at least one of the - # spreadsheets.readonly, spreadsheets, drive.readonly, or drive OAuth scopes. - # Corresponds to the JSON property `replaceAllShapesWithSheetsChart` - # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartRequest] - attr_accessor :replace_all_shapes_with_sheets_chart - - # Creates an embedded Google Sheets chart. - # NOTE: Chart creation requires at least one of the spreadsheets.readonly, - # spreadsheets, drive.readonly, or drive OAuth scopes. - # Corresponds to the JSON property `createSheetsChart` - # @return [Google::Apis::SlidesV1::CreateSheetsChartRequest] - attr_accessor :create_sheets_chart - - # Updates the transform of a page element. - # Corresponds to the JSON property `updatePageElementTransform` - # @return [Google::Apis::SlidesV1::UpdatePageElementTransformRequest] - attr_accessor :update_page_element_transform - - # Update the styling of text in a Shape or - # Table. - # Corresponds to the JSON property `updateTextStyle` - # @return [Google::Apis::SlidesV1::UpdateTextStyleRequest] - attr_accessor :update_text_style - - # Replaces all shapes that match the given criteria with the provided image. - # Corresponds to the JSON property `replaceAllShapesWithImage` - # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithImageRequest] - attr_accessor :replace_all_shapes_with_image - - # Replaces all instances of text matching a criteria with replace text. - # Corresponds to the JSON property `replaceAllText` - # @return [Google::Apis::SlidesV1::ReplaceAllTextRequest] - attr_accessor :replace_all_text - - # Update the properties of an Image. - # Corresponds to the JSON property `updateImageProperties` - # @return [Google::Apis::SlidesV1::UpdateImagePropertiesRequest] - attr_accessor :update_image_properties - - # Inserts rows into a table. - # Corresponds to the JSON property `insertTableRows` - # @return [Google::Apis::SlidesV1::InsertTableRowsRequest] - attr_accessor :insert_table_rows - - # Creates a new slide. - # Corresponds to the JSON property `createSlide` - # @return [Google::Apis::SlidesV1::CreateSlideRequest] - attr_accessor :create_slide - - # Updates the properties of a Line. - # Corresponds to the JSON property `updateLineProperties` - # @return [Google::Apis::SlidesV1::UpdateLinePropertiesRequest] - attr_accessor :update_line_properties - - # Updates the position of slides in the presentation. - # Corresponds to the JSON property `updateSlidesPosition` - # @return [Google::Apis::SlidesV1::UpdateSlidesPositionRequest] - attr_accessor :update_slides_position - - # Deletes a row from a table. - # Corresponds to the JSON property `deleteTableRow` - # @return [Google::Apis::SlidesV1::DeleteTableRowRequest] - attr_accessor :delete_table_row - - # Update the properties of a Shape. - # Corresponds to the JSON property `updateShapeProperties` - # @return [Google::Apis::SlidesV1::UpdateShapePropertiesRequest] - attr_accessor :update_shape_properties - - # Inserts text into a shape or a table cell. - # Corresponds to the JSON property `insertText` - # @return [Google::Apis::SlidesV1::InsertTextRequest] - attr_accessor :insert_text - - # Deletes text from a shape or a table cell. - # Corresponds to the JSON property `deleteText` - # @return [Google::Apis::SlidesV1::DeleteTextRequest] - attr_accessor :delete_text - - # Updates the properties of a Page. - # Corresponds to the JSON property `updatePageProperties` - # @return [Google::Apis::SlidesV1::UpdatePagePropertiesRequest] - attr_accessor :update_page_properties - - # Creates a new shape. - # Corresponds to the JSON property `createShape` - # @return [Google::Apis::SlidesV1::CreateShapeRequest] - attr_accessor :create_shape - - # Deletes bullets from all of the paragraphs that overlap with the given text - # index range. - # The nesting level of each paragraph will be visually preserved by adding - # indent to the start of the corresponding paragraph. - # Corresponds to the JSON property `deleteParagraphBullets` - # @return [Google::Apis::SlidesV1::DeleteParagraphBulletsRequest] - attr_accessor :delete_paragraph_bullets - - # Inserts columns into a table. - # Other columns in the table will be resized to fit the new column. - # Corresponds to the JSON property `insertTableColumns` - # @return [Google::Apis::SlidesV1::InsertTableColumnsRequest] - attr_accessor :insert_table_columns - - # Refreshes an embedded Google Sheets chart by replacing it with the latest - # version of the chart from Google Sheets. - # NOTE: Refreshing charts requires at least one of the spreadsheets.readonly, - # spreadsheets, drive.readonly, or drive OAuth scopes. - # Corresponds to the JSON property `refreshSheetsChart` - # @return [Google::Apis::SlidesV1::RefreshSheetsChartRequest] - attr_accessor :refresh_sheets_chart - - # Update the properties of a TableCell. - # Corresponds to the JSON property `updateTableCellProperties` - # @return [Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest] - attr_accessor :update_table_cell_properties - - # Creates a new table. - # Corresponds to the JSON property `createTable` - # @return [Google::Apis::SlidesV1::CreateTableRequest] - attr_accessor :create_table - - # Deletes an object, either pages or - # page elements, from the - # presentation. - # Corresponds to the JSON property `deleteObject` - # @return [Google::Apis::SlidesV1::DeleteObjectRequest] - attr_accessor :delete_object - - # Updates the styling for all of the paragraphs within a Shape or Table that - # overlap with the given text index range. - # Corresponds to the JSON property `updateParagraphStyle` - # @return [Google::Apis::SlidesV1::UpdateParagraphStyleRequest] - attr_accessor :update_paragraph_style - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @duplicate_object = args[:duplicate_object] if args.key?(:duplicate_object) - @delete_table_column = args[:delete_table_column] if args.key?(:delete_table_column) - @update_video_properties = args[:update_video_properties] if args.key?(:update_video_properties) - @create_line = args[:create_line] if args.key?(:create_line) - @create_image = args[:create_image] if args.key?(:create_image) - @create_paragraph_bullets = args[:create_paragraph_bullets] if args.key?(:create_paragraph_bullets) - @create_video = args[:create_video] if args.key?(:create_video) - @replace_all_shapes_with_sheets_chart = args[:replace_all_shapes_with_sheets_chart] if args.key?(:replace_all_shapes_with_sheets_chart) - @create_sheets_chart = args[:create_sheets_chart] if args.key?(:create_sheets_chart) - @update_page_element_transform = args[:update_page_element_transform] if args.key?(:update_page_element_transform) - @update_text_style = args[:update_text_style] if args.key?(:update_text_style) - @replace_all_shapes_with_image = args[:replace_all_shapes_with_image] if args.key?(:replace_all_shapes_with_image) - @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text) - @update_image_properties = args[:update_image_properties] if args.key?(:update_image_properties) - @insert_table_rows = args[:insert_table_rows] if args.key?(:insert_table_rows) - @create_slide = args[:create_slide] if args.key?(:create_slide) - @update_line_properties = args[:update_line_properties] if args.key?(:update_line_properties) - @update_slides_position = args[:update_slides_position] if args.key?(:update_slides_position) - @delete_table_row = args[:delete_table_row] if args.key?(:delete_table_row) - @update_shape_properties = args[:update_shape_properties] if args.key?(:update_shape_properties) - @insert_text = args[:insert_text] if args.key?(:insert_text) - @delete_text = args[:delete_text] if args.key?(:delete_text) - @update_page_properties = args[:update_page_properties] if args.key?(:update_page_properties) - @create_shape = args[:create_shape] if args.key?(:create_shape) - @delete_paragraph_bullets = args[:delete_paragraph_bullets] if args.key?(:delete_paragraph_bullets) - @insert_table_columns = args[:insert_table_columns] if args.key?(:insert_table_columns) - @refresh_sheets_chart = args[:refresh_sheets_chart] if args.key?(:refresh_sheets_chart) - @update_table_cell_properties = args[:update_table_cell_properties] if args.key?(:update_table_cell_properties) - @create_table = args[:create_table] if args.key?(:create_table) - @delete_object = args[:delete_object] if args.key?(:delete_object) - @update_paragraph_style = args[:update_paragraph_style] if args.key?(:update_paragraph_style) - end - end - # Update the properties of an Image. class UpdateImagePropertiesRequest include Google::Apis::Core::Hashable @@ -1578,356 +3981,34 @@ module Google end end - # Styles that apply to a whole paragraph. - # If this text is contained in a shape with a parent placeholder, then these - # paragraph styles may be - # inherited from the parent. Which paragraph styles are inherited depend on the - # nesting level of lists: - # * A paragraph not in a list will inherit its paragraph style from the - # paragraph at the 0 nesting level of the list inside the parent placeholder. - # * A paragraph in a list will inherit its paragraph style from the paragraph - # at its corresponding nesting level of the list inside the parent - # placeholder. - # Inherited paragraph styles are represented as unset fields in this message. - class ParagraphStyle - include Google::Apis::Core::Hashable - - # A magnitude in a single direction in the specified units. - # Corresponds to the JSON property `indentFirstLine` - # @return [Google::Apis::SlidesV1::Dimension] - attr_accessor :indent_first_line - - # The amount of space between lines, as a percentage of normal, where normal - # is represented as 100.0. If unset, the value is inherited from the parent. - # Corresponds to the JSON property `lineSpacing` - # @return [Float] - attr_accessor :line_spacing - - # The text alignment for this paragraph. - # Corresponds to the JSON property `alignment` - # @return [String] - attr_accessor :alignment - - # A magnitude in a single direction in the specified units. - # Corresponds to the JSON property `spaceBelow` - # @return [Google::Apis::SlidesV1::Dimension] - attr_accessor :space_below - - # The text direction of this paragraph. If unset, the value defaults to - # LEFT_TO_RIGHT since - # text direction is not inherited. - # Corresponds to the JSON property `direction` - # @return [String] - attr_accessor :direction - - # The spacing mode for the paragraph. - # Corresponds to the JSON property `spacingMode` - # @return [String] - attr_accessor :spacing_mode - - # A magnitude in a single direction in the specified units. - # Corresponds to the JSON property `indentEnd` - # @return [Google::Apis::SlidesV1::Dimension] - attr_accessor :indent_end - - # A magnitude in a single direction in the specified units. - # Corresponds to the JSON property `indentStart` - # @return [Google::Apis::SlidesV1::Dimension] - attr_accessor :indent_start - - # A magnitude in a single direction in the specified units. - # Corresponds to the JSON property `spaceAbove` - # @return [Google::Apis::SlidesV1::Dimension] - attr_accessor :space_above - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @indent_first_line = args[:indent_first_line] if args.key?(:indent_first_line) - @line_spacing = args[:line_spacing] if args.key?(:line_spacing) - @alignment = args[:alignment] if args.key?(:alignment) - @space_below = args[:space_below] if args.key?(:space_below) - @direction = args[:direction] if args.key?(:direction) - @spacing_mode = args[:spacing_mode] if args.key?(:spacing_mode) - @indent_end = args[:indent_end] if args.key?(:indent_end) - @indent_start = args[:indent_start] if args.key?(:indent_start) - @space_above = args[:space_above] if args.key?(:space_above) - end - end - - # The result of replacing shapes with a Google Sheets chart. - class ReplaceAllShapesWithSheetsChartResponse - include Google::Apis::Core::Hashable - - # The number of shapes replaced with charts. - # Corresponds to the JSON property `occurrencesChanged` - # @return [Fixnum] - attr_accessor :occurrences_changed - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @occurrences_changed = args[:occurrences_changed] if args.key?(:occurrences_changed) - end - end - - # The properties of the TableCell. - class TableCellProperties - include Google::Apis::Core::Hashable - - # The table cell background fill. - # Corresponds to the JSON property `tableCellBackgroundFill` - # @return [Google::Apis::SlidesV1::TableCellBackgroundFill] - attr_accessor :table_cell_background_fill - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @table_cell_background_fill = args[:table_cell_background_fill] if args.key?(:table_cell_background_fill) - end - end - - # Refreshes an embedded Google Sheets chart by replacing it with the latest - # version of the chart from Google Sheets. - # NOTE: Refreshing charts requires at least one of the spreadsheets.readonly, - # spreadsheets, drive.readonly, or drive OAuth scopes. - class RefreshSheetsChartRequest - include Google::Apis::Core::Hashable - - # The object ID of the chart to refresh. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - end - end - - # The outline of a PageElement. - # If these fields are unset, they may be inherited from a parent placeholder - # if it exists. If there is no parent, the fields will default to the value - # used for new page elements created in the Slides editor, which may depend on - # the page element kind. - class Outline - include Google::Apis::Core::Hashable - - # The fill of the outline. - # Corresponds to the JSON property `outlineFill` - # @return [Google::Apis::SlidesV1::OutlineFill] - attr_accessor :outline_fill - - # A magnitude in a single direction in the specified units. - # Corresponds to the JSON property `weight` - # @return [Google::Apis::SlidesV1::Dimension] - attr_accessor :weight - - # The dash style of the outline. - # Corresponds to the JSON property `dashStyle` - # @return [String] - attr_accessor :dash_style - - # The outline property state. - # Updating the the outline on a page element will implicitly update this - # field to`RENDERED`, unless another value is specified in the same request. - # To have no outline on a page element, set this field to `NOT_RENDERED`. In - # this case, any other outline fields set in the same request will be - # ignored. - # Corresponds to the JSON property `propertyState` - # @return [String] - attr_accessor :property_state - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @outline_fill = args[:outline_fill] if args.key?(:outline_fill) - @weight = args[:weight] if args.key?(:weight) - @dash_style = args[:dash_style] if args.key?(:dash_style) - @property_state = args[:property_state] if args.key?(:property_state) - end - end - - # Properties of each column in a table. - class TableColumnProperties - include Google::Apis::Core::Hashable - - # A magnitude in a single direction in the specified units. - # Corresponds to the JSON property `columnWidth` - # @return [Google::Apis::SlidesV1::Dimension] - attr_accessor :column_width - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @column_width = args[:column_width] if args.key?(:column_width) - end - end - - # The properties of a Shape. - # If the shape is a placeholder shape as determined by the - # placeholder field, then these - # properties may be inherited from a parent placeholder shape. - # Determining the rendered value of the property depends on the corresponding - # property_state field value. - class ShapeProperties - include Google::Apis::Core::Hashable - - # The outline of a PageElement. - # If these fields are unset, they may be inherited from a parent placeholder - # if it exists. If there is no parent, the fields will default to the value - # used for new page elements created in the Slides editor, which may depend on - # the page element kind. - # Corresponds to the JSON property `outline` - # @return [Google::Apis::SlidesV1::Outline] - attr_accessor :outline - - # The shadow properties of a page element. - # If these fields are unset, they may be inherited from a parent placeholder - # if it exists. If there is no parent, the fields will default to the value - # used for new page elements created in the Slides editor, which may depend on - # the page element kind. - # Corresponds to the JSON property `shadow` - # @return [Google::Apis::SlidesV1::Shadow] - attr_accessor :shadow - - # The shape background fill. - # Corresponds to the JSON property `shapeBackgroundFill` - # @return [Google::Apis::SlidesV1::ShapeBackgroundFill] - attr_accessor :shape_background_fill - - # A hypertext link. - # Corresponds to the JSON property `link` - # @return [Google::Apis::SlidesV1::Link] - attr_accessor :link - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @outline = args[:outline] if args.key?(:outline) - @shadow = args[:shadow] if args.key?(:shadow) - @shape_background_fill = args[:shape_background_fill] if args.key?(:shape_background_fill) - @link = args[:link] if args.key?(:link) - end - end - - # The properties of Page that are only - # relevant for pages with page_type NOTES. - class NotesProperties - include Google::Apis::Core::Hashable - - # The object ID of the shape on this notes page that contains the speaker - # notes for the corresponding slide. - # The actual shape may not always exist on the notes page. Inserting text - # using this object ID will automatically create the shape. In this case, the - # actual shape may have different object ID. The `GetPresentation` or - # `GetPage` action will always return the latest object ID. - # Corresponds to the JSON property `speakerNotesObjectId` - # @return [String] - attr_accessor :speaker_notes_object_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @speaker_notes_object_id = args[:speaker_notes_object_id] if args.key?(:speaker_notes_object_id) - end - end - - # Properties and contents of each row in a table. - class TableRow - include Google::Apis::Core::Hashable - - # Properties and contents of each cell. - # Cells that span multiple columns are represented only once with a - # column_span greater - # than 1. As a result, the length of this collection does not always match - # the number of columns of the entire table. - # Corresponds to the JSON property `tableCells` - # @return [Array] - attr_accessor :table_cells - - # A magnitude in a single direction in the specified units. - # Corresponds to the JSON property `rowHeight` - # @return [Google::Apis::SlidesV1::Dimension] - attr_accessor :row_height - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @table_cells = args[:table_cells] if args.key?(:table_cells) - @row_height = args[:row_height] if args.key?(:row_height) - end - end - - # Update the properties of a TableCell. - class UpdateTableCellPropertiesRequest + # Updates the properties of a Line. + class UpdateLinePropertiesRequest include Google::Apis::Core::Hashable # The fields that should be updated. - # At least one field must be specified. The root `tableCellProperties` is + # At least one field must be specified. The root `lineProperties` is # implied and should not be specified. A single `"*"` can be used as # short-hand for listing every field. - # For example to update the table cell background solid fill color, set - # `fields` to `"tableCellBackgroundFill.solidFill.color"`. + # For example to update the line solid fill color, set `fields` to + # `"lineFill.solidFill.color"`. # To reset a property to its default value, include its field name in the # field mask but leave the field itself unset. # Corresponds to the JSON property `fields` # @return [String] attr_accessor :fields - # A table range represents a reference to a subset of a table. - # It's important to note that the cells specified by a table range do not - # necessarily form a rectangle. For example, let's say we have a 3 x 3 table - # where all the cells of the last row are merged together. The table looks - # like this: - # - # [ ] - # A table range with location = (0, 0), row span = 3 and column span = 2 - # specifies the following cells: - # x x - # [ x ] - # Corresponds to the JSON property `tableRange` - # @return [Google::Apis::SlidesV1::TableRange] - attr_accessor :table_range + # The properties of the Line. + # When unset, these fields default to values that match the appearance of + # new lines created in the Slides editor. + # Corresponds to the JSON property `lineProperties` + # @return [Google::Apis::SlidesV1::LineProperties] + attr_accessor :line_properties - # The object ID of the table. + # The object ID of the line the update is applied to. # Corresponds to the JSON property `objectId` # @return [String] attr_accessor :object_id_prop - # The properties of the TableCell. - # Corresponds to the JSON property `tableCellProperties` - # @return [Google::Apis::SlidesV1::TableCellProperties] - attr_accessor :table_cell_properties - def initialize(**args) update!(**args) end @@ -1935,144 +4016,37 @@ module Google # Update properties of this object def update!(**args) @fields = args[:fields] if args.key?(:fields) - @table_range = args[:table_range] if args.key?(:table_range) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - @table_cell_properties = args[:table_cell_properties] if args.key?(:table_cell_properties) - end - end - - # Creates a new slide. - class CreateSlideRequest - include Google::Apis::Core::Hashable - - # A user-supplied object ID. - # If you specify an ID, it must be unique among all pages and page elements - # in the presentation. The ID must start with an alphanumeric character or an - # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters - # may include those as well as a hyphen or colon (matches regex - # `[a-zA-Z0-9_-:]`). - # The length of the ID must not be less than 5 or greater than 50. - # If you don't specify an ID, a unique one is generated. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - # The optional zero-based index indicating where to insert the slides. - # If you don't specify an index, the new slide is created at the end. - # Corresponds to the JSON property `insertionIndex` - # @return [Fixnum] - attr_accessor :insertion_index - - # An optional list of object ID mappings from the placeholder(s) on the layout - # to the placeholder(s) - # that will be created on the new slide from that specified layout. Can only - # be used when `slide_layout_reference` is specified. - # Corresponds to the JSON property `placeholderIdMappings` - # @return [Array] - attr_accessor :placeholder_id_mappings - - # Slide layout reference. This may reference either: - # - A predefined layout - # - One of the layouts in the presentation. - # Corresponds to the JSON property `slideLayoutReference` - # @return [Google::Apis::SlidesV1::LayoutReference] - attr_accessor :slide_layout_reference - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - @insertion_index = args[:insertion_index] if args.key?(:insertion_index) - @placeholder_id_mappings = args[:placeholder_id_mappings] if args.key?(:placeholder_id_mappings) - @slide_layout_reference = args[:slide_layout_reference] if args.key?(:slide_layout_reference) - end - end - - # Request message for PresentationsService.BatchUpdatePresentation. - class BatchUpdatePresentationRequest - include Google::Apis::Core::Hashable - - # A list of updates to apply to the presentation. - # Corresponds to the JSON property `requests` - # @return [Array] - attr_accessor :requests - - # Provides control over how write requests are executed. - # Corresponds to the JSON property `writeControl` - # @return [Google::Apis::SlidesV1::WriteControl] - attr_accessor :write_control - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @requests = args[:requests] if args.key?(:requests) - @write_control = args[:write_control] if args.key?(:write_control) - end - end - - # The general text content. The text must reside in a compatible shape (e.g. - # text box or rectangle) or a table cell in a page. - class TextContent - include Google::Apis::Core::Hashable - - # The text contents broken down into its component parts, including styling - # information. This property is read-only. - # Corresponds to the JSON property `textElements` - # @return [Array] - attr_accessor :text_elements - - # The bulleted lists contained in this text, keyed by list ID. - # Corresponds to the JSON property `lists` - # @return [Hash] - attr_accessor :lists - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @text_elements = args[:text_elements] if args.key?(:text_elements) - @lists = args[:lists] if args.key?(:lists) - end - end - - # The result of creating an embedded Google Sheets chart. - class CreateSheetsChartResponse - include Google::Apis::Core::Hashable - - # The object ID of the created chart. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) + @line_properties = args[:line_properties] if args.key?(:line_properties) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) end end - # Provides control over how write requests are executed. - class WriteControl + # Updates the transform of a page element. + class UpdatePageElementTransformRequest include Google::Apis::Core::Hashable - # The revision ID of the presentation required for the write request. If - # specified and the `required_revision_id` doesn't exactly match the - # presentation's current `revision_id`, the request will not be processed and - # will return a 400 bad request error. - # Corresponds to the JSON property `requiredRevisionId` + # The apply mode of the transform update. + # Corresponds to the JSON property `applyMode` # @return [String] - attr_accessor :required_revision_id + attr_accessor :apply_mode + + # The object ID of the page element to update. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] + # to transform source coordinates (x,y) into destination coordinates (x', y') + # according to: + # x' x = shear_y scale_y translate_y + # 1 [ 1 ] + # After transformation, + # x' = scale_x * x + shear_x * y + translate_x; + # y' = scale_y * y + shear_y * x + translate_y; + # This message is therefore composed of these six matrix elements. + # Corresponds to the JSON property `transform` + # @return [Google::Apis::SlidesV1::AffineTransform] + attr_accessor :transform def initialize(**args) update!(**args) @@ -2080,54 +4054,80 @@ module Google # Update properties of this object def update!(**args) - @required_revision_id = args[:required_revision_id] if args.key?(:required_revision_id) + @apply_mode = args[:apply_mode] if args.key?(:apply_mode) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @transform = args[:transform] if args.key?(:transform) end end - # Deletes bullets from all of the paragraphs that overlap with the given text - # index range. - # The nesting level of each paragraph will be visually preserved by adding - # indent to the start of the corresponding paragraph. - class DeleteParagraphBulletsRequest + # Updates the properties of a Page. + class UpdatePagePropertiesRequest include Google::Apis::Core::Hashable - # Specifies a contiguous range of an indexed collection, such as characters in - # text. - # Corresponds to the JSON property `textRange` - # @return [Google::Apis::SlidesV1::Range] - attr_accessor :text_range + # The fields that should be updated. + # At least one field must be specified. The root `pageProperties` is + # implied and should not be specified. A single `"*"` can be used as + # short-hand for listing every field. + # For example to update the page background solid fill color, set `fields` + # to `"pageBackgroundFill.solidFill.color"`. + # To reset a property to its default value, include its field name in the + # field mask but leave the field itself unset. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields - # The object ID of the shape or table containing the text to delete bullets - # from. + # The object ID of the page the update is applied to. # Corresponds to the JSON property `objectId` # @return [String] attr_accessor :object_id_prop + # The properties of the Page. + # The page will inherit properties from the parent page. Depending on the page + # type the hierarchy is defined in either + # SlideProperties or + # LayoutProperties. + # Corresponds to the JSON property `pageProperties` + # @return [Google::Apis::SlidesV1::PageProperties] + attr_accessor :page_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fields = args[:fields] if args.key?(:fields) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @page_properties = args[:page_properties] if args.key?(:page_properties) + end + end + + # Updates the styling for all of the paragraphs within a Shape or Table that + # overlap with the given text index range. + class UpdateParagraphStyleRequest + include Google::Apis::Core::Hashable + # A location of a single table cell within a table. # Corresponds to the JSON property `cellLocation` # @return [Google::Apis::SlidesV1::TableCellLocation] attr_accessor :cell_location - def initialize(**args) - update!(**args) - end + # The fields that should be updated. + # At least one field must be specified. The root `style` is implied and + # should not be specified. A single `"*"` can be used as short-hand for + # listing every field. + # For example, to update the paragraph alignment, set `fields` to + # `"alignment"`. + # To reset a property to its default value, include its field name in the + # field mask but leave the field itself unset. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields - # Update properties of this object - def update!(**args) - @text_range = args[:text_range] if args.key?(:text_range) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - @cell_location = args[:cell_location] if args.key?(:cell_location) - end - end - - # A TextElement kind that represents the beginning of a new paragraph. - class ParagraphMarker - include Google::Apis::Core::Hashable - - # Describes the bullet of a paragraph. - # Corresponds to the JSON property `bullet` - # @return [Google::Apis::SlidesV1::Bullet] - attr_accessor :bullet + # The object ID of the shape or table with the text to be styled. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop # Styles that apply to a whole paragraph. # If this text is contained in a shape with a parent placeholder, then these @@ -2144,41 +4144,11 @@ module Google # @return [Google::Apis::SlidesV1::ParagraphStyle] attr_accessor :style - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bullet = args[:bullet] if args.key?(:bullet) - @style = args[:style] if args.key?(:style) - end - end - - # The thumbnail of a page. - class Thumbnail - include Google::Apis::Core::Hashable - - # The positive height in pixels of the thumbnail image. - # Corresponds to the JSON property `height` - # @return [Fixnum] - attr_accessor :height - - # The content URL of the thumbnail image. - # The URL to the image has a default lifetime of 30 minutes. - # This URL is tagged with the account of the requester. Anyone with the URL - # effectively accesses the image as the original requester. Access to the - # image may be lost if the presentation's sharing settings change. - # The mime type of the thumbnail image is the same as specified in the - # `GetPageThumbnailRequest`. - # Corresponds to the JSON property `contentUrl` - # @return [String] - attr_accessor :content_url - - # The positive width in pixels of the thumbnail image. - # Corresponds to the JSON property `width` - # @return [Fixnum] - attr_accessor :width + # Specifies a contiguous range of an indexed collection, such as characters in + # text. + # Corresponds to the JSON property `textRange` + # @return [Google::Apis::SlidesV1::Range] + attr_accessor :text_range def initialize(**args) update!(**args) @@ -2186,91 +4156,11 @@ module Google # Update properties of this object def update!(**args) - @height = args[:height] if args.key?(:height) - @content_url = args[:content_url] if args.key?(:content_url) - @width = args[:width] if args.key?(:width) - end - end - - # Inserts columns into a table. - # Other columns in the table will be resized to fit the new column. - class InsertTableColumnsRequest - include Google::Apis::Core::Hashable - - # Whether to insert new columns to the right of the reference cell location. - # - `True`: insert to the right. - # - `False`: insert to the left. - # Corresponds to the JSON property `insertRight` - # @return [Boolean] - attr_accessor :insert_right - alias_method :insert_right?, :insert_right - - # The table to insert columns into. - # Corresponds to the JSON property `tableObjectId` - # @return [String] - attr_accessor :table_object_id - - # The number of columns to be inserted. Maximum 20 per request. - # Corresponds to the JSON property `number` - # @return [Fixnum] - attr_accessor :number - - # A location of a single table cell within a table. - # Corresponds to the JSON property `cellLocation` - # @return [Google::Apis::SlidesV1::TableCellLocation] - attr_accessor :cell_location - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @insert_right = args[:insert_right] if args.key?(:insert_right) - @table_object_id = args[:table_object_id] if args.key?(:table_object_id) - @number = args[:number] if args.key?(:number) @cell_location = args[:cell_location] if args.key?(:cell_location) - end - end - - # The user-specified ID mapping for a placeholder that will be created on a - # slide from a specified layout. - class LayoutPlaceholderIdMapping - include Google::Apis::Core::Hashable - - # The object ID of the placeholder on a layout that will be applied - # to a slide. - # Corresponds to the JSON property `layoutPlaceholderObjectId` - # @return [String] - attr_accessor :layout_placeholder_object_id - - # A user-supplied object ID for the placeholder identified above that to be - # created onto a slide. - # If you specify an ID, it must be unique among all pages and page elements - # in the presentation. The ID must start with an alphanumeric character or an - # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters - # may include those as well as a hyphen or colon (matches regex - # `[a-zA-Z0-9_-:]`). - # The length of the ID must not be less than 5 or greater than 50. - # If you don't specify an ID, a unique one is generated. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - # The placeholder information that uniquely identifies a placeholder shape. - # Corresponds to the JSON property `layoutPlaceholder` - # @return [Google::Apis::SlidesV1::Placeholder] - attr_accessor :layout_placeholder - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @layout_placeholder_object_id = args[:layout_placeholder_object_id] if args.key?(:layout_placeholder_object_id) + @fields = args[:fields] if args.key?(:fields) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - @layout_placeholder = args[:layout_placeholder] if args.key?(:layout_placeholder) + @style = args[:style] if args.key?(:style) + @text_range = args[:text_range] if args.key?(:text_range) end end @@ -2317,84 +4207,23 @@ module Google end end - # A PageElement kind representing - # word art. - class WordArt + # Updates the position of slides in the presentation. + class UpdateSlidesPositionRequest include Google::Apis::Core::Hashable - # The text rendered as word art. - # Corresponds to the JSON property `renderedText` - # @return [String] - attr_accessor :rendered_text - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @rendered_text = args[:rendered_text] if args.key?(:rendered_text) - end - end - - # A recolor effect applied on an image. - class Recolor - include Google::Apis::Core::Hashable - - # The recolor effect is represented by a gradient, which is a list of color - # stops. - # The colors in the gradient will replace the corresponding colors at - # the same position in the color palette and apply to the image. This - # property is read-only. - # Corresponds to the JSON property `recolorStops` - # @return [Array] - attr_accessor :recolor_stops - - # The name of the recolor effect. - # The name is determined from the `recolor_stops` by matching the gradient - # against the colors in the page's current color scheme. This property is - # read-only. - # 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) - @recolor_stops = args[:recolor_stops] if args.key?(:recolor_stops) - @name = args[:name] if args.key?(:name) - end - end - - # A hypertext link. - class Link - include Google::Apis::Core::Hashable - - # If set, indicates this is a link to the specific page in this - # presentation with this ID. A page with this ID may not exist. - # Corresponds to the JSON property `pageObjectId` - # @return [String] - attr_accessor :page_object_id - - # If set, indicates this is a link to the slide at this zero-based index - # in the presentation. There may not be a slide at this index. - # Corresponds to the JSON property `slideIndex` + # The index where the slides should be inserted, based on the slide + # arrangement before the move takes place. Must be between zero and the + # number of slides in the presentation, inclusive. + # Corresponds to the JSON property `insertionIndex` # @return [Fixnum] - attr_accessor :slide_index + attr_accessor :insertion_index - # If set, indicates this is a link to a slide in this presentation, - # addressed by its position. - # Corresponds to the JSON property `relativeLink` - # @return [String] - attr_accessor :relative_link - - # If set, indicates this is a link to the external web page at this URL. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url + # The IDs of the slides in the presentation that should be moved. + # The slides in this list must be in existing presentation order, without + # duplicates. + # Corresponds to the JSON property `slideObjectIds` + # @return [Array] + attr_accessor :slide_object_ids def initialize(**args) update!(**args) @@ -2402,92 +4231,115 @@ module Google # Update properties of this object def update!(**args) - @page_object_id = args[:page_object_id] if args.key?(:page_object_id) - @slide_index = args[:slide_index] if args.key?(:slide_index) - @relative_link = args[:relative_link] if args.key?(:relative_link) - @url = args[:url] if args.key?(:url) + @insertion_index = args[:insertion_index] if args.key?(:insertion_index) + @slide_object_ids = args[:slide_object_ids] if args.key?(:slide_object_ids) end end - # The result of creating a shape. - class CreateShapeResponse + # Update the properties of a TableCell. + class UpdateTableCellPropertiesRequest include Google::Apis::Core::Hashable - # The object ID of the created shape. + # The fields that should be updated. + # At least one field must be specified. The root `tableCellProperties` is + # implied and should not be specified. A single `"*"` can be used as + # short-hand for listing every field. + # For example to update the table cell background solid fill color, set + # `fields` to `"tableCellBackgroundFill.solidFill.color"`. + # To reset a property to its default value, include its field name in the + # field mask but leave the field itself unset. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # The object ID of the table. # Corresponds to the JSON property `objectId` # @return [String] attr_accessor :object_id_prop + # The properties of the TableCell. + # Corresponds to the JSON property `tableCellProperties` + # @return [Google::Apis::SlidesV1::TableCellProperties] + attr_accessor :table_cell_properties + + # A table range represents a reference to a subset of a table. + # It's important to note that the cells specified by a table range do not + # necessarily form a rectangle. For example, let's say we have a 3 x 3 table + # where all the cells of the last row are merged together. The table looks + # like this: + # + # [ ] + # A table range with location = (0, 0), row span = 3 and column span = 2 + # specifies the following cells: + # x x + # [ x ] + # Corresponds to the JSON property `tableRange` + # @return [Google::Apis::SlidesV1::TableRange] + attr_accessor :table_range + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @fields = args[:fields] if args.key?(:fields) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @table_cell_properties = args[:table_cell_properties] if args.key?(:table_cell_properties) + @table_range = args[:table_range] if args.key?(:table_range) end end - # An RGB color. - class RgbColor + # Update the styling of text in a Shape or + # Table. + class UpdateTextStyleRequest include Google::Apis::Core::Hashable - # The red component of the color, from 0.0 to 1.0. - # Corresponds to the JSON property `red` - # @return [Float] - attr_accessor :red + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location - # The blue component of the color, from 0.0 to 1.0. - # Corresponds to the JSON property `blue` - # @return [Float] - attr_accessor :blue + # The fields that should be updated. + # At least one field must be specified. The root `style` is implied and + # should not be specified. A single `"*"` can be used as short-hand for + # listing every field. + # For example, to update the text style to bold, set `fields` to `"bold"`. + # To reset a property to its default value, include its field name in the + # field mask but leave the field itself unset. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields - # The green component of the color, from 0.0 to 1.0. - # Corresponds to the JSON property `green` - # @return [Float] - attr_accessor :green - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @red = args[:red] if args.key?(:red) - @blue = args[:blue] if args.key?(:blue) - @green = args[:green] if args.key?(:green) - end - end - - # Creates a line. - class CreateLineRequest - include Google::Apis::Core::Hashable - - # A user-supplied object ID. - # If you specify an ID, it must be unique among all pages and page elements - # in the presentation. The ID must start with an alphanumeric character or an - # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters - # may include those as well as a hyphen or colon (matches regex - # `[a-zA-Z0-9_-:]`). - # The length of the ID must not be less than 5 or greater than 50. - # If you don't specify an ID, a unique one is generated. + # The object ID of the shape or table with the text to be styled. # Corresponds to the JSON property `objectId` # @return [String] attr_accessor :object_id_prop - # Common properties for a page element. - # Note: When you initially create a - # PageElement, the API may modify - # the values of both `size` and `transform`, but the - # visual size will be unchanged. - # Corresponds to the JSON property `elementProperties` - # @return [Google::Apis::SlidesV1::PageElementProperties] - attr_accessor :element_properties + # Represents the styling that can be applied to a TextRun. + # If this text is contained in a shape with a parent placeholder, then these + # text styles may be + # inherited from the parent. Which text styles are inherited depend on the + # nesting level of lists: + # * A text run in a paragraph that is not in a list will inherit its text style + # from the the newline character in the paragraph at the 0 nesting level of + # the list inside the parent placeholder. + # * A text run in a paragraph that is in a list will inherit its text style + # from the newline character in the paragraph at its corresponding nesting + # level of the list inside the parent placeholder. + # Inherited text styles are represented as unset fields in this message. If + # text is contained in a shape without a parent placeholder, unsetting these + # fields will revert the style to a value matching the defaults in the Slides + # editor. + # Corresponds to the JSON property `style` + # @return [Google::Apis::SlidesV1::TextStyle] + attr_accessor :style - # The category of line to be created. - # Corresponds to the JSON property `lineCategory` - # @return [String] - attr_accessor :line_category + # Specifies a contiguous range of an indexed collection, such as characters in + # text. + # Corresponds to the JSON property `textRange` + # @return [Google::Apis::SlidesV1::Range] + attr_accessor :text_range def initialize(**args) update!(**args) @@ -2495,60 +4347,39 @@ module Google # Update properties of this object def update!(**args) + @cell_location = args[:cell_location] if args.key?(:cell_location) + @fields = args[:fields] if args.key?(:fields) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - @element_properties = args[:element_properties] if args.key?(:element_properties) - @line_category = args[:line_category] if args.key?(:line_category) + @style = args[:style] if args.key?(:style) + @text_range = args[:text_range] if args.key?(:text_range) end end - # The result of creating a slide. - class CreateSlideResponse + # Update the properties of a Video. + class UpdateVideoPropertiesRequest include Google::Apis::Core::Hashable - # The object ID of the created slide. + # The fields that should be updated. + # At least one field must be specified. The root `videoProperties` is + # implied and should not be specified. A single `"*"` can be used as + # short-hand for listing every field. + # For example to update the video outline color, set `fields` to + # `"outline.outlineFill.solidFill.color"`. + # To reset a property to its default value, include its field name in the + # field mask but leave the field itself unset. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # The object ID of the video the updates are applied to. # Corresponds to the JSON property `objectId` # @return [String] attr_accessor :object_id_prop - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - end - end - - # Creates a new shape. - class CreateShapeRequest - include Google::Apis::Core::Hashable - - # The shape type. - # Corresponds to the JSON property `shapeType` - # @return [String] - attr_accessor :shape_type - - # A user-supplied object ID. - # If you specify an ID, it must be unique among all pages and page elements - # in the presentation. The ID must start with an alphanumeric character or an - # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters - # may include those as well as a hyphen or colon (matches regex - # `[a-zA-Z0-9_-:]`). - # The length of the ID must not be less than 5 or greater than 50. - # If empty, a unique identifier will be generated. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - # Common properties for a page element. - # Note: When you initially create a - # PageElement, the API may modify - # the values of both `size` and `transform`, but the - # visual size will be unchanged. - # Corresponds to the JSON property `elementProperties` - # @return [Google::Apis::SlidesV1::PageElementProperties] - attr_accessor :element_properties + # The properties of the Video. + # Corresponds to the JSON property `videoProperties` + # @return [Google::Apis::SlidesV1::VideoProperties] + attr_accessor :video_properties def initialize(**args) update!(**args) @@ -2556,9 +4387,9 @@ module Google # Update properties of this object def update!(**args) - @shape_type = args[:shape_type] if args.key?(:shape_type) + @fields = args[:fields] if args.key?(:fields) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - @element_properties = args[:element_properties] if args.key?(:element_properties) + @video_properties = args[:video_properties] if args.key?(:video_properties) end end @@ -2567,16 +4398,16 @@ module Google class Video include Google::Apis::Core::Hashable - # The video source. - # Corresponds to the JSON property `source` - # @return [String] - attr_accessor :source - # The video source's unique identifier for this video. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id + # The video source. + # Corresponds to the JSON property `source` + # @return [String] + attr_accessor :source + # An URL to a video. The URL is valid as long as the source video # exists and sharing settings do not change. # Corresponds to the JSON property `url` @@ -2594,1577 +4425,13 @@ module Google # Update properties of this object def update!(**args) - @source = args[:source] if args.key?(:source) @id = args[:id] if args.key?(:id) + @source = args[:source] if args.key?(:source) @url = args[:url] if args.key?(:url) @video_properties = args[:video_properties] if args.key?(:video_properties) end end - # The properties of the Page. - # The page will inherit properties from the parent page. Depending on the page - # type the hierarchy is defined in either - # SlideProperties or - # LayoutProperties. - class PageProperties - include Google::Apis::Core::Hashable - - # The palette of predefined colors for a page. - # Corresponds to the JSON property `colorScheme` - # @return [Google::Apis::SlidesV1::ColorScheme] - attr_accessor :color_scheme - - # The page background fill. - # Corresponds to the JSON property `pageBackgroundFill` - # @return [Google::Apis::SlidesV1::PageBackgroundFill] - attr_accessor :page_background_fill - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @color_scheme = args[:color_scheme] if args.key?(:color_scheme) - @page_background_fill = args[:page_background_fill] if args.key?(:page_background_fill) - end - end - - # Properties and contents of each table cell. - class TableCell - include Google::Apis::Core::Hashable - - # The general text content. The text must reside in a compatible shape (e.g. - # text box or rectangle) or a table cell in a page. - # Corresponds to the JSON property `text` - # @return [Google::Apis::SlidesV1::TextContent] - attr_accessor :text - - # The properties of the TableCell. - # Corresponds to the JSON property `tableCellProperties` - # @return [Google::Apis::SlidesV1::TableCellProperties] - attr_accessor :table_cell_properties - - # Row span of the cell. - # Corresponds to the JSON property `rowSpan` - # @return [Fixnum] - attr_accessor :row_span - - # A location of a single table cell within a table. - # Corresponds to the JSON property `location` - # @return [Google::Apis::SlidesV1::TableCellLocation] - attr_accessor :location - - # Column span of the cell. - # Corresponds to the JSON property `columnSpan` - # @return [Fixnum] - attr_accessor :column_span - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @text = args[:text] if args.key?(:text) - @table_cell_properties = args[:table_cell_properties] if args.key?(:table_cell_properties) - @row_span = args[:row_span] if args.key?(:row_span) - @location = args[:location] if args.key?(:location) - @column_span = args[:column_span] if args.key?(:column_span) - end - end - - # Contains properties describing the look and feel of a list bullet at a given - # level of nesting. - class NestingLevel - include Google::Apis::Core::Hashable - - # Represents the styling that can be applied to a TextRun. - # If this text is contained in a shape with a parent placeholder, then these - # text styles may be - # inherited from the parent. Which text styles are inherited depend on the - # nesting level of lists: - # * A text run in a paragraph that is not in a list will inherit its text style - # from the the newline character in the paragraph at the 0 nesting level of - # the list inside the parent placeholder. - # * A text run in a paragraph that is in a list will inherit its text style - # from the newline character in the paragraph at its corresponding nesting - # level of the list inside the parent placeholder. - # Inherited text styles are represented as unset fields in this message. If - # text is contained in a shape without a parent placeholder, unsetting these - # fields will revert the style to a value matching the defaults in the Slides - # editor. - # Corresponds to the JSON property `bulletStyle` - # @return [Google::Apis::SlidesV1::TextStyle] - attr_accessor :bullet_style - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bullet_style = args[:bullet_style] if args.key?(:bullet_style) - end - end - - # Updates the properties of a Line. - class UpdateLinePropertiesRequest - include Google::Apis::Core::Hashable - - # The properties of the Line. - # When unset, these fields default to values that match the appearance of - # new lines created in the Slides editor. - # Corresponds to the JSON property `lineProperties` - # @return [Google::Apis::SlidesV1::LineProperties] - attr_accessor :line_properties - - # The fields that should be updated. - # At least one field must be specified. The root `lineProperties` is - # implied and should not be specified. A single `"*"` can be used as - # short-hand for listing every field. - # For example to update the line solid fill color, set `fields` to - # `"lineFill.solidFill.color"`. - # To reset a property to its default value, include its field name in the - # field mask but leave the field itself unset. - # Corresponds to the JSON property `fields` - # @return [String] - attr_accessor :fields - - # The object ID of the line the update is applied to. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @line_properties = args[:line_properties] if args.key?(:line_properties) - @fields = args[:fields] if args.key?(:fields) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - end - end - - # The table cell background fill. - class TableCellBackgroundFill - include Google::Apis::Core::Hashable - - # The background fill property state. - # Updating the the fill on a table cell will implicitly update this field - # to `RENDERED`, unless another value is specified in the same request. To - # have no fill on a table cell, set this field to `NOT_RENDERED`. In this - # case, any other fill fields set in the same request will be ignored. - # Corresponds to the JSON property `propertyState` - # @return [String] - attr_accessor :property_state - - # A solid color fill. The page or page element is filled entirely with the - # specified color value. - # If any field is unset, its value may be inherited from a parent placeholder - # if it exists. - # Corresponds to the JSON property `solidFill` - # @return [Google::Apis::SlidesV1::SolidFill] - attr_accessor :solid_fill - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @property_state = args[:property_state] if args.key?(:property_state) - @solid_fill = args[:solid_fill] if args.key?(:solid_fill) - end - end - - # Updates the position of slides in the presentation. - class UpdateSlidesPositionRequest - include Google::Apis::Core::Hashable - - # The IDs of the slides in the presentation that should be moved. - # The slides in this list must be in existing presentation order, without - # duplicates. - # Corresponds to the JSON property `slideObjectIds` - # @return [Array] - attr_accessor :slide_object_ids - - # The index where the slides should be inserted, based on the slide - # arrangement before the move takes place. Must be between zero and the - # number of slides in the presentation, inclusive. - # Corresponds to the JSON property `insertionIndex` - # @return [Fixnum] - attr_accessor :insertion_index - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @slide_object_ids = args[:slide_object_ids] if args.key?(:slide_object_ids) - @insertion_index = args[:insertion_index] if args.key?(:insertion_index) - end - end - - # Updates the properties of a Page. - class UpdatePagePropertiesRequest - include Google::Apis::Core::Hashable - - # The fields that should be updated. - # At least one field must be specified. The root `pageProperties` is - # implied and should not be specified. A single `"*"` can be used as - # short-hand for listing every field. - # For example to update the page background solid fill color, set `fields` - # to `"pageBackgroundFill.solidFill.color"`. - # To reset a property to its default value, include its field name in the - # field mask but leave the field itself unset. - # Corresponds to the JSON property `fields` - # @return [String] - attr_accessor :fields - - # The properties of the Page. - # The page will inherit properties from the parent page. Depending on the page - # type the hierarchy is defined in either - # SlideProperties or - # LayoutProperties. - # Corresponds to the JSON property `pageProperties` - # @return [Google::Apis::SlidesV1::PageProperties] - attr_accessor :page_properties - - # The object ID of the page the update is applied to. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @fields = args[:fields] if args.key?(:fields) - @page_properties = args[:page_properties] if args.key?(:page_properties) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - end - end - - # A PageElement kind representing a - # joined collection of PageElements. - class Group - include Google::Apis::Core::Hashable - - # The collection of elements in the group. The minimum size of a group is 2. - # Corresponds to the JSON property `children` - # @return [Array] - attr_accessor :children - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @children = args[:children] if args.key?(:children) - end - end - - # The placeholder information that uniquely identifies a placeholder shape. - class Placeholder - include Google::Apis::Core::Hashable - - # The index of the placeholder. If the same placeholder types are present in - # the same page, they would have different index values. - # Corresponds to the JSON property `index` - # @return [Fixnum] - attr_accessor :index - - # The type of the placeholder. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The object ID of this shape's parent placeholder. - # If unset, the parent placeholder shape does not exist, so the shape does - # not inherit properties from any other shape. - # Corresponds to the JSON property `parentObjectId` - # @return [String] - attr_accessor :parent_object_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @index = args[:index] if args.key?(:index) - @type = args[:type] if args.key?(:type) - @parent_object_id = args[:parent_object_id] if args.key?(:parent_object_id) - end - end - - # Duplicates a slide or page element. - # When duplicating a slide, the duplicate slide will be created immediately - # following the specified slide. When duplicating a page element, the duplicate - # will be placed on the same page at the same position as the original. - class DuplicateObjectRequest - include Google::Apis::Core::Hashable - - # The object being duplicated may contain other objects, for example when - # duplicating a slide or a group page element. This map defines how the IDs - # of duplicated objects are generated: the keys are the IDs of the original - # objects and its values are the IDs that will be assigned to the - # corresponding duplicate object. The ID of the source object's duplicate - # may be specified in this map as well, using the same value of the - # `object_id` field as a key and the newly desired ID as the value. - # All keys must correspond to existing IDs in the presentation. All values - # must be unique in the presentation and must start with an alphanumeric - # character or an underscore (matches regex `[a-zA-Z0-9_]`); remaining - # characters may include those as well as a hyphen or colon (matches regex - # `[a-zA-Z0-9_-:]`). The length of the new ID must not be less than 5 or - # greater than 50. - # If any IDs of source objects are omitted from the map, a new random ID will - # be assigned. If the map is empty or unset, all duplicate objects will - # receive a new random ID. - # Corresponds to the JSON property `objectIds` - # @return [Hash] - attr_accessor :object_ids - - # The ID of the object to duplicate. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @object_ids = args[:object_ids] if args.key?(:object_ids) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - end - end - - # Replaces all instances of text matching a criteria with replace text. - class ReplaceAllTextRequest - include Google::Apis::Core::Hashable - - # A criteria that matches a specific string of text in a shape or table. - # Corresponds to the JSON property `containsText` - # @return [Google::Apis::SlidesV1::SubstringMatchCriteria] - attr_accessor :contains_text - - # If non-empty, limits the matches to page elements only on the given pages. - # Returns a 400 bad request error if given the page object ID of a - # notes master, - # or if a page with that object ID doesn't exist in the presentation. - # Corresponds to the JSON property `pageObjectIds` - # @return [Array] - attr_accessor :page_object_ids - - # The text that will replace the matched text. - # Corresponds to the JSON property `replaceText` - # @return [String] - attr_accessor :replace_text - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @contains_text = args[:contains_text] if args.key?(:contains_text) - @page_object_ids = args[:page_object_ids] if args.key?(:page_object_ids) - @replace_text = args[:replace_text] if args.key?(:replace_text) - end - end - - # A page in a presentation. - class Page - include Google::Apis::Core::Hashable - - # The properties of Page that are only - # relevant for pages with page_type MASTER. - # Corresponds to the JSON property `masterProperties` - # @return [Google::Apis::SlidesV1::MasterProperties] - attr_accessor :master_properties - - # The object ID for this page. Object IDs used by - # Page and - # PageElement share the same namespace. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - # The revision ID of the presentation containing this page. Can be used in - # update requests to assert that the presentation revision hasn't changed - # since the last read operation. Only populated if the user has edit access - # to the presentation. - # The format of the revision ID may change over time, so it should be treated - # opaquely. A returned revision ID is only guaranteed to be valid for 24 - # hours after it has been returned and cannot be shared across users. If the - # revision ID is unchanged between calls, then the presentation has not - # changed. Conversely, a changed ID (for the same presentation and user) - # usually means the presentation has been updated; however, a changed ID can - # also be due to internal factors such as ID format changes. - # Corresponds to the JSON property `revisionId` - # @return [String] - attr_accessor :revision_id - - # The properties of Page are only - # relevant for pages with page_type LAYOUT. - # Corresponds to the JSON property `layoutProperties` - # @return [Google::Apis::SlidesV1::LayoutProperties] - attr_accessor :layout_properties - - # The page elements rendered on the page. - # Corresponds to the JSON property `pageElements` - # @return [Array] - attr_accessor :page_elements - - # The properties of Page that are only - # relevant for pages with page_type NOTES. - # Corresponds to the JSON property `notesProperties` - # @return [Google::Apis::SlidesV1::NotesProperties] - attr_accessor :notes_properties - - # The type of the page. - # Corresponds to the JSON property `pageType` - # @return [String] - attr_accessor :page_type - - # The properties of the Page. - # The page will inherit properties from the parent page. Depending on the page - # type the hierarchy is defined in either - # SlideProperties or - # LayoutProperties. - # Corresponds to the JSON property `pageProperties` - # @return [Google::Apis::SlidesV1::PageProperties] - attr_accessor :page_properties - - # The properties of Page that are only - # relevant for pages with page_type SLIDE. - # Corresponds to the JSON property `slideProperties` - # @return [Google::Apis::SlidesV1::SlideProperties] - attr_accessor :slide_properties - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @master_properties = args[:master_properties] if args.key?(:master_properties) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - @revision_id = args[:revision_id] if args.key?(:revision_id) - @layout_properties = args[:layout_properties] if args.key?(:layout_properties) - @page_elements = args[:page_elements] if args.key?(:page_elements) - @notes_properties = args[:notes_properties] if args.key?(:notes_properties) - @page_type = args[:page_type] if args.key?(:page_type) - @page_properties = args[:page_properties] if args.key?(:page_properties) - @slide_properties = args[:slide_properties] if args.key?(:slide_properties) - end - end - - # The shape background fill. - class ShapeBackgroundFill - include Google::Apis::Core::Hashable - - # The background fill property state. - # Updating the the fill on a shape will implicitly update this field to - # `RENDERED`, unless another value is specified in the same request. To - # have no fill on a shape, set this field to `NOT_RENDERED`. In this case, - # any other fill fields set in the same request will be ignored. - # Corresponds to the JSON property `propertyState` - # @return [String] - attr_accessor :property_state - - # A solid color fill. The page or page element is filled entirely with the - # specified color value. - # If any field is unset, its value may be inherited from a parent placeholder - # if it exists. - # Corresponds to the JSON property `solidFill` - # @return [Google::Apis::SlidesV1::SolidFill] - attr_accessor :solid_fill - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @property_state = args[:property_state] if args.key?(:property_state) - @solid_fill = args[:solid_fill] if args.key?(:solid_fill) - end - end - - # The crop properties of an object enclosed in a container. For example, an - # Image. - # The crop properties is represented by the offsets of four edges which define - # a crop rectangle. The offsets are measured in percentage from the - # corresponding edges of the object's original bounding rectangle towards - # inside, relative to the object's original dimensions. - # - If the offset is in the interval (0, 1), the corresponding edge of crop - # rectangle is positioned inside of the object's original bounding rectangle. - # - If the offset is negative or greater than 1, the corresponding edge of crop - # rectangle is positioned outside of the object's original bounding rectangle. - # - If the left edge of the crop rectangle is on the right side of its right - # edge, the object will be flipped horizontally. - # - If the top edge of the crop rectangle is below its bottom edge, the object - # will be flipped vertically. - # - If all offsets and rotation angle is 0, the object is not cropped. - # After cropping, the content in the crop rectangle will be stretched to fit - # its container. - class CropProperties - include Google::Apis::Core::Hashable - - # The offset specifies the right edge of the crop rectangle that is located - # to the left of the original bounding rectangle right edge, relative to the - # object's original width. - # Corresponds to the JSON property `rightOffset` - # @return [Float] - attr_accessor :right_offset - - # The offset specifies the bottom edge of the crop rectangle that is located - # above the original bounding rectangle bottom edge, relative to the object's - # original height. - # Corresponds to the JSON property `bottomOffset` - # @return [Float] - attr_accessor :bottom_offset - - # The rotation angle of the crop window around its center, in radians. - # Rotation angle is applied after the offset. - # Corresponds to the JSON property `angle` - # @return [Float] - attr_accessor :angle - - # The offset specifies the top edge of the crop rectangle that is located - # below the original bounding rectangle top edge, relative to the object's - # original height. - # Corresponds to the JSON property `topOffset` - # @return [Float] - attr_accessor :top_offset - - # The offset specifies the left edge of the crop rectangle that is located to - # the right of the original bounding rectangle left edge, relative to the - # object's original width. - # Corresponds to the JSON property `leftOffset` - # @return [Float] - attr_accessor :left_offset - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @right_offset = args[:right_offset] if args.key?(:right_offset) - @bottom_offset = args[:bottom_offset] if args.key?(:bottom_offset) - @angle = args[:angle] if args.key?(:angle) - @top_offset = args[:top_offset] if args.key?(:top_offset) - @left_offset = args[:left_offset] if args.key?(:left_offset) - end - end - - # Replaces all shapes that match the given criteria with the provided Google - # Sheets chart. The chart will be scaled and centered to fit within the bounds - # of the original shape. - # NOTE: Replacing shapes with a chart requires at least one of the - # spreadsheets.readonly, spreadsheets, drive.readonly, or drive OAuth scopes. - class ReplaceAllShapesWithSheetsChartRequest - include Google::Apis::Core::Hashable - - # The mode with which the chart is linked to the source spreadsheet. When - # not specified, the chart will be an image that is not linked. - # Corresponds to the JSON property `linkingMode` - # @return [String] - attr_accessor :linking_mode - - # The ID of the Google Sheets spreadsheet that contains the chart. - # Corresponds to the JSON property `spreadsheetId` - # @return [String] - attr_accessor :spreadsheet_id - - # If non-empty, limits the matches to page elements only on the given pages. - # Returns a 400 bad request error if given the page object ID of a - # notes page or a - # notes master, or if a - # page with that object ID doesn't exist in the presentation. - # Corresponds to the JSON property `pageObjectIds` - # @return [Array] - attr_accessor :page_object_ids - - # The ID of the specific chart in the Google Sheets spreadsheet. - # Corresponds to the JSON property `chartId` - # @return [Fixnum] - attr_accessor :chart_id - - # A criteria that matches a specific string of text in a shape or table. - # Corresponds to the JSON property `containsText` - # @return [Google::Apis::SlidesV1::SubstringMatchCriteria] - attr_accessor :contains_text - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @linking_mode = args[:linking_mode] if args.key?(:linking_mode) - @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) - @page_object_ids = args[:page_object_ids] if args.key?(:page_object_ids) - @chart_id = args[:chart_id] if args.key?(:chart_id) - @contains_text = args[:contains_text] if args.key?(:contains_text) - end - end - - # Specifies a contiguous range of an indexed collection, such as characters in - # text. - class Range - include Google::Apis::Core::Hashable - - # The optional zero-based index of the end of the collection. - # Required for `FIXED_RANGE` ranges. - # Corresponds to the JSON property `endIndex` - # @return [Fixnum] - attr_accessor :end_index - - # The optional zero-based index of the beginning of the collection. - # Required for `FIXED_RANGE` and `FROM_START_INDEX` ranges. - # Corresponds to the JSON property `startIndex` - # @return [Fixnum] - attr_accessor :start_index - - # The type of range. - # 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) - @end_index = args[:end_index] if args.key?(:end_index) - @start_index = args[:start_index] if args.key?(:start_index) - @type = args[:type] if args.key?(:type) - end - end - - # A color and position in a gradient band. - class ColorStop - include Google::Apis::Core::Hashable - - # The relative position of the color stop in the gradient band measured - # in percentage. The value should be in the interval [0.0, 1.0]. - # Corresponds to the JSON property `position` - # @return [Float] - attr_accessor :position - - # The alpha value of this color in the gradient band. Defaults to 1.0, - # fully opaque. - # Corresponds to the JSON property `alpha` - # @return [Float] - attr_accessor :alpha - - # A themeable solid color value. - # Corresponds to the JSON property `color` - # @return [Google::Apis::SlidesV1::OpaqueColor] - attr_accessor :color - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @position = args[:position] if args.key?(:position) - @alpha = args[:alpha] if args.key?(:alpha) - @color = args[:color] if args.key?(:color) - end - end - - # Creates a video. - class CreateVideoRequest - include Google::Apis::Core::Hashable - - # The video source. - # Corresponds to the JSON property `source` - # @return [String] - attr_accessor :source - - # A user-supplied object ID. - # If you specify an ID, it must be unique among all pages and page elements - # in the presentation. The ID must start with an alphanumeric character or an - # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters - # may include those as well as a hyphen or colon (matches regex - # `[a-zA-Z0-9_-:]`). - # The length of the ID must not be less than 5 or greater than 50. - # If you don't specify an ID, a unique one is generated. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - # Common properties for a page element. - # Note: When you initially create a - # PageElement, the API may modify - # the values of both `size` and `transform`, but the - # visual size will be unchanged. - # Corresponds to the JSON property `elementProperties` - # @return [Google::Apis::SlidesV1::PageElementProperties] - attr_accessor :element_properties - - # The video source's unique identifier for this video. - # e.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0, - # the ID is 7U3axjORYZ0. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @source = args[:source] if args.key?(:source) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - @element_properties = args[:element_properties] if args.key?(:element_properties) - @id = args[:id] if args.key?(:id) - end - end - - # The response of duplicating an object. - class DuplicateObjectResponse - include Google::Apis::Core::Hashable - - # The ID of the new duplicate object. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - end - end - - # Replaces all shapes that match the given criteria with the provided image. - class ReplaceAllShapesWithImageRequest - include Google::Apis::Core::Hashable - - # The image URL. - # The image is fetched once at insertion time and a copy is stored for - # display inside the presentation. Images must be less than 50MB in size, - # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF - # format. - # Corresponds to the JSON property `imageUrl` - # @return [String] - attr_accessor :image_url - - # The replace method. - # Corresponds to the JSON property `replaceMethod` - # @return [String] - attr_accessor :replace_method - - # If non-empty, limits the matches to page elements only on the given pages. - # Returns a 400 bad request error if given the page object ID of a - # notes page or a - # notes master, or if a - # page with that object ID doesn't exist in the presentation. - # Corresponds to the JSON property `pageObjectIds` - # @return [Array] - attr_accessor :page_object_ids - - # A criteria that matches a specific string of text in a shape or table. - # Corresponds to the JSON property `containsText` - # @return [Google::Apis::SlidesV1::SubstringMatchCriteria] - attr_accessor :contains_text - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @image_url = args[:image_url] if args.key?(:image_url) - @replace_method = args[:replace_method] if args.key?(:replace_method) - @page_object_ids = args[:page_object_ids] if args.key?(:page_object_ids) - @contains_text = args[:contains_text] if args.key?(:contains_text) - end - end - - # The shadow properties of a page element. - # If these fields are unset, they may be inherited from a parent placeholder - # if it exists. If there is no parent, the fields will default to the value - # used for new page elements created in the Slides editor, which may depend on - # the page element kind. - class Shadow - include Google::Apis::Core::Hashable - - # The type of the shadow. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] - # to transform source coordinates (x,y) into destination coordinates (x', y') - # according to: - # x' x = shear_y scale_y translate_y - # 1 [ 1 ] - # After transformation, - # x' = scale_x * x + shear_x * y + translate_x; - # y' = scale_y * y + shear_y * x + translate_y; - # This message is therefore composed of these six matrix elements. - # Corresponds to the JSON property `transform` - # @return [Google::Apis::SlidesV1::AffineTransform] - attr_accessor :transform - - # The alignment point of the shadow, that sets the origin for translate, - # scale and skew of the shadow. - # Corresponds to the JSON property `alignment` - # @return [String] - attr_accessor :alignment - - # The alpha of the shadow's color, from 0.0 to 1.0. - # Corresponds to the JSON property `alpha` - # @return [Float] - attr_accessor :alpha - - # A themeable solid color value. - # Corresponds to the JSON property `color` - # @return [Google::Apis::SlidesV1::OpaqueColor] - attr_accessor :color - - # Whether the shadow should rotate with the shape. - # Corresponds to the JSON property `rotateWithShape` - # @return [Boolean] - attr_accessor :rotate_with_shape - alias_method :rotate_with_shape?, :rotate_with_shape - - # The shadow property state. - # Updating the the shadow on a page element will implicitly update this field - # to `RENDERED`, unless another value is specified in the same request. To - # have no shadow on a page element, set this field to `NOT_RENDERED`. In this - # case, any other shadow fields set in the same request will be ignored. - # Corresponds to the JSON property `propertyState` - # @return [String] - attr_accessor :property_state - - # A magnitude in a single direction in the specified units. - # Corresponds to the JSON property `blurRadius` - # @return [Google::Apis::SlidesV1::Dimension] - attr_accessor :blur_radius - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @type = args[:type] if args.key?(:type) - @transform = args[:transform] if args.key?(:transform) - @alignment = args[:alignment] if args.key?(:alignment) - @alpha = args[:alpha] if args.key?(:alpha) - @color = args[:color] if args.key?(:color) - @rotate_with_shape = args[:rotate_with_shape] if args.key?(:rotate_with_shape) - @property_state = args[:property_state] if args.key?(:property_state) - @blur_radius = args[:blur_radius] if args.key?(:blur_radius) - end - end - - # Deletes a row from a table. - class DeleteTableRowRequest - include Google::Apis::Core::Hashable - - # A location of a single table cell within a table. - # Corresponds to the JSON property `cellLocation` - # @return [Google::Apis::SlidesV1::TableCellLocation] - attr_accessor :cell_location - - # The table to delete rows from. - # Corresponds to the JSON property `tableObjectId` - # @return [String] - attr_accessor :table_object_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @cell_location = args[:cell_location] if args.key?(:cell_location) - @table_object_id = args[:table_object_id] if args.key?(:table_object_id) - end - end - - # Describes the bullet of a paragraph. - class Bullet - include Google::Apis::Core::Hashable - - # The rendered bullet glyph for this paragraph. - # Corresponds to the JSON property `glyph` - # @return [String] - attr_accessor :glyph - - # The nesting level of this paragraph in the list. - # Corresponds to the JSON property `nestingLevel` - # @return [Fixnum] - attr_accessor :nesting_level - - # Represents the styling that can be applied to a TextRun. - # If this text is contained in a shape with a parent placeholder, then these - # text styles may be - # inherited from the parent. Which text styles are inherited depend on the - # nesting level of lists: - # * A text run in a paragraph that is not in a list will inherit its text style - # from the the newline character in the paragraph at the 0 nesting level of - # the list inside the parent placeholder. - # * A text run in a paragraph that is in a list will inherit its text style - # from the newline character in the paragraph at its corresponding nesting - # level of the list inside the parent placeholder. - # Inherited text styles are represented as unset fields in this message. If - # text is contained in a shape without a parent placeholder, unsetting these - # fields will revert the style to a value matching the defaults in the Slides - # editor. - # Corresponds to the JSON property `bulletStyle` - # @return [Google::Apis::SlidesV1::TextStyle] - attr_accessor :bullet_style - - # The ID of the list this paragraph belongs to. - # Corresponds to the JSON property `listId` - # @return [String] - attr_accessor :list_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @glyph = args[:glyph] if args.key?(:glyph) - @nesting_level = args[:nesting_level] if args.key?(:nesting_level) - @bullet_style = args[:bullet_style] if args.key?(:bullet_style) - @list_id = args[:list_id] if args.key?(:list_id) - end - end - - # The fill of the outline. - class OutlineFill - include Google::Apis::Core::Hashable - - # A solid color fill. The page or page element is filled entirely with the - # specified color value. - # If any field is unset, its value may be inherited from a parent placeholder - # if it exists. - # Corresponds to the JSON property `solidFill` - # @return [Google::Apis::SlidesV1::SolidFill] - attr_accessor :solid_fill - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @solid_fill = args[:solid_fill] if args.key?(:solid_fill) - end - end - - # The result of creating a line. - class CreateLineResponse - include Google::Apis::Core::Hashable - - # The object ID of the created line. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - end - end - - # A location of a single table cell within a table. - class TableCellLocation - include Google::Apis::Core::Hashable - - # The 0-based column index. - # Corresponds to the JSON property `columnIndex` - # @return [Fixnum] - attr_accessor :column_index - - # The 0-based row index. - # Corresponds to the JSON property `rowIndex` - # @return [Fixnum] - attr_accessor :row_index - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @column_index = args[:column_index] if args.key?(:column_index) - @row_index = args[:row_index] if args.key?(:row_index) - end - end - - # The result of replacing text. - class ReplaceAllTextResponse - include Google::Apis::Core::Hashable - - # The number of occurrences changed by replacing all text. - # Corresponds to the JSON property `occurrencesChanged` - # @return [Fixnum] - attr_accessor :occurrences_changed - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @occurrences_changed = args[:occurrences_changed] if args.key?(:occurrences_changed) - end - end - - # Updates the styling for all of the paragraphs within a Shape or Table that - # overlap with the given text index range. - class UpdateParagraphStyleRequest - include Google::Apis::Core::Hashable - - # The fields that should be updated. - # At least one field must be specified. The root `style` is implied and - # should not be specified. A single `"*"` can be used as short-hand for - # listing every field. - # For example, to update the paragraph alignment, set `fields` to - # `"alignment"`. - # To reset a property to its default value, include its field name in the - # field mask but leave the field itself unset. - # Corresponds to the JSON property `fields` - # @return [String] - attr_accessor :fields - - # Specifies a contiguous range of an indexed collection, such as characters in - # text. - # Corresponds to the JSON property `textRange` - # @return [Google::Apis::SlidesV1::Range] - attr_accessor :text_range - - # The object ID of the shape or table with the text to be styled. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - # Styles that apply to a whole paragraph. - # If this text is contained in a shape with a parent placeholder, then these - # paragraph styles may be - # inherited from the parent. Which paragraph styles are inherited depend on the - # nesting level of lists: - # * A paragraph not in a list will inherit its paragraph style from the - # paragraph at the 0 nesting level of the list inside the parent placeholder. - # * A paragraph in a list will inherit its paragraph style from the paragraph - # at its corresponding nesting level of the list inside the parent - # placeholder. - # Inherited paragraph styles are represented as unset fields in this message. - # Corresponds to the JSON property `style` - # @return [Google::Apis::SlidesV1::ParagraphStyle] - attr_accessor :style - - # A location of a single table cell within a table. - # Corresponds to the JSON property `cellLocation` - # @return [Google::Apis::SlidesV1::TableCellLocation] - attr_accessor :cell_location - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @fields = args[:fields] if args.key?(:fields) - @text_range = args[:text_range] if args.key?(:text_range) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - @style = args[:style] if args.key?(:style) - @cell_location = args[:cell_location] if args.key?(:cell_location) - end - end - - # The palette of predefined colors for a page. - class ColorScheme - include Google::Apis::Core::Hashable - - # The ThemeColorType and corresponding concrete color pairs. - # 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 - - # A PageElement kind representing a - # generic shape that does not have a more specific classification. - class Shape - include Google::Apis::Core::Hashable - - # The placeholder information that uniquely identifies a placeholder shape. - # Corresponds to the JSON property `placeholder` - # @return [Google::Apis::SlidesV1::Placeholder] - attr_accessor :placeholder - - # The general text content. The text must reside in a compatible shape (e.g. - # text box or rectangle) or a table cell in a page. - # Corresponds to the JSON property `text` - # @return [Google::Apis::SlidesV1::TextContent] - attr_accessor :text - - # The type of the shape. - # Corresponds to the JSON property `shapeType` - # @return [String] - attr_accessor :shape_type - - # The properties of a Shape. - # If the shape is a placeholder shape as determined by the - # placeholder field, then these - # properties may be inherited from a parent placeholder shape. - # Determining the rendered value of the property depends on the corresponding - # property_state field value. - # Corresponds to the JSON property `shapeProperties` - # @return [Google::Apis::SlidesV1::ShapeProperties] - attr_accessor :shape_properties - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @placeholder = args[:placeholder] if args.key?(:placeholder) - @text = args[:text] if args.key?(:text) - @shape_type = args[:shape_type] if args.key?(:shape_type) - @shape_properties = args[:shape_properties] if args.key?(:shape_properties) - end - end - - # A PageElement kind representing an - # image. - class Image - include Google::Apis::Core::Hashable - - # An URL to an image with a default lifetime of 30 minutes. - # This URL is tagged with the account of the requester. Anyone with the URL - # effectively accesses the image as the original requester. Access to the - # image may be lost if the presentation's sharing settings change. - # Corresponds to the JSON property `contentUrl` - # @return [String] - attr_accessor :content_url - - # The properties of the Image. - # Corresponds to the JSON property `imageProperties` - # @return [Google::Apis::SlidesV1::ImageProperties] - attr_accessor :image_properties - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @content_url = args[:content_url] if args.key?(:content_url) - @image_properties = args[:image_properties] if args.key?(:image_properties) - end - end - - # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] - # to transform source coordinates (x,y) into destination coordinates (x', y') - # according to: - # x' x = shear_y scale_y translate_y - # 1 [ 1 ] - # After transformation, - # x' = scale_x * x + shear_x * y + translate_x; - # y' = scale_y * y + shear_y * x + translate_y; - # This message is therefore composed of these six matrix elements. - class AffineTransform - include Google::Apis::Core::Hashable - - # The X coordinate shearing element. - # Corresponds to the JSON property `shearX` - # @return [Float] - attr_accessor :shear_x - - # The Y coordinate scaling element. - # Corresponds to the JSON property `scaleY` - # @return [Float] - attr_accessor :scale_y - - # The Y coordinate translation element. - # Corresponds to the JSON property `translateY` - # @return [Float] - attr_accessor :translate_y - - # The X coordinate translation element. - # Corresponds to the JSON property `translateX` - # @return [Float] - attr_accessor :translate_x - - # The Y coordinate shearing element. - # Corresponds to the JSON property `shearY` - # @return [Float] - attr_accessor :shear_y - - # The units for translate elements. - # Corresponds to the JSON property `unit` - # @return [String] - attr_accessor :unit - - # The X coordinate scaling element. - # Corresponds to the JSON property `scaleX` - # @return [Float] - attr_accessor :scale_x - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @shear_x = args[:shear_x] if args.key?(:shear_x) - @scale_y = args[:scale_y] if args.key?(:scale_y) - @translate_y = args[:translate_y] if args.key?(:translate_y) - @translate_x = args[:translate_x] if args.key?(:translate_x) - @shear_y = args[:shear_y] if args.key?(:shear_y) - @unit = args[:unit] if args.key?(:unit) - @scale_x = args[:scale_x] if args.key?(:scale_x) - end - end - - # Inserts text into a shape or a table cell. - class InsertTextRequest - include Google::Apis::Core::Hashable - - # The text to be inserted. - # Inserting a newline character will implicitly create a new - # ParagraphMarker at that index. - # The paragraph style of the new paragraph will be copied from the paragraph - # at the current insertion index, including lists and bullets. - # Text styles for inserted text will be determined automatically, generally - # preserving the styling of neighboring text. In most cases, the text will be - # added to the TextRun that exists at the - # insertion index. - # Some control characters (U+0000-U+0008, U+000C-U+001F) and characters - # from the Unicode Basic Multilingual Plane Private Use Area (U+E000-U+F8FF) - # will be stripped out of the inserted text. - # Corresponds to the JSON property `text` - # @return [String] - attr_accessor :text - - # The object ID of the shape or table where the text will be inserted. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - # The index where the text will be inserted, in Unicode code units, based - # on TextElement indexes. - # The index is zero-based and is computed from the start of the string. - # The index may be adjusted to prevent insertions inside Unicode grapheme - # clusters. In these cases, the text will be inserted immediately after the - # grapheme cluster. - # Corresponds to the JSON property `insertionIndex` - # @return [Fixnum] - attr_accessor :insertion_index - - # A location of a single table cell within a table. - # Corresponds to the JSON property `cellLocation` - # @return [Google::Apis::SlidesV1::TableCellLocation] - attr_accessor :cell_location - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @text = args[:text] if args.key?(:text) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - @insertion_index = args[:insertion_index] if args.key?(:insertion_index) - @cell_location = args[:cell_location] if args.key?(:cell_location) - end - end - - # A TextElement kind that represents auto text. - class AutoText - include Google::Apis::Core::Hashable - - # The rendered content of this auto text, if available. - # Corresponds to the JSON property `content` - # @return [String] - attr_accessor :content - - # The type of this auto text. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # Represents the styling that can be applied to a TextRun. - # If this text is contained in a shape with a parent placeholder, then these - # text styles may be - # inherited from the parent. Which text styles are inherited depend on the - # nesting level of lists: - # * A text run in a paragraph that is not in a list will inherit its text style - # from the the newline character in the paragraph at the 0 nesting level of - # the list inside the parent placeholder. - # * A text run in a paragraph that is in a list will inherit its text style - # from the newline character in the paragraph at its corresponding nesting - # level of the list inside the parent placeholder. - # Inherited text styles are represented as unset fields in this message. If - # text is contained in a shape without a parent placeholder, unsetting these - # fields will revert the style to a value matching the defaults in the Slides - # editor. - # Corresponds to the JSON property `style` - # @return [Google::Apis::SlidesV1::TextStyle] - attr_accessor :style - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @content = args[:content] if args.key?(:content) - @type = args[:type] if args.key?(:type) - @style = args[:style] if args.key?(:style) - end - end - - # The result of creating a video. - class CreateVideoResponse - include Google::Apis::Core::Hashable - - # The object ID of the created video. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - end - end - - # Updates the transform of a page element. - class UpdatePageElementTransformRequest - include Google::Apis::Core::Hashable - - # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] - # to transform source coordinates (x,y) into destination coordinates (x', y') - # according to: - # x' x = shear_y scale_y translate_y - # 1 [ 1 ] - # After transformation, - # x' = scale_x * x + shear_x * y + translate_x; - # y' = scale_y * y + shear_y * x + translate_y; - # This message is therefore composed of these six matrix elements. - # Corresponds to the JSON property `transform` - # @return [Google::Apis::SlidesV1::AffineTransform] - attr_accessor :transform - - # The object ID of the page element to update. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - # The apply mode of the transform update. - # Corresponds to the JSON property `applyMode` - # @return [String] - attr_accessor :apply_mode - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @transform = args[:transform] if args.key?(:transform) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - @apply_mode = args[:apply_mode] if args.key?(:apply_mode) - end - end - - # Deletes text from a shape or a table cell. - class DeleteTextRequest - include Google::Apis::Core::Hashable - - # Specifies a contiguous range of an indexed collection, such as characters in - # text. - # Corresponds to the JSON property `textRange` - # @return [Google::Apis::SlidesV1::Range] - attr_accessor :text_range - - # The object ID of the shape or table from which the text will be deleted. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - # A location of a single table cell within a table. - # Corresponds to the JSON property `cellLocation` - # @return [Google::Apis::SlidesV1::TableCellLocation] - attr_accessor :cell_location - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @text_range = args[:text_range] if args.key?(:text_range) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - @cell_location = args[:cell_location] if args.key?(:cell_location) - end - end - - # Deletes an object, either pages or - # page elements, from the - # presentation. - class DeleteObjectRequest - include Google::Apis::Core::Hashable - - # The object ID of the page or page element to delete. - # If after a delete operation a group contains - # only 1 or no page elements, the group is also deleted. - # If a placeholder is deleted on a layout, any empty inheriting shapes are - # also deleted. - # Corresponds to the JSON property `objectId` - # @return [String] - attr_accessor :object_id_prop - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - end - end - - # A TextElement describes the content of a range of indices in the text content - # of a Shape or TableCell. - class TextElement - include Google::Apis::Core::Hashable - - # The zero-based end index of this text element, exclusive, in Unicode code - # units. - # Corresponds to the JSON property `endIndex` - # @return [Fixnum] - attr_accessor :end_index - - # The zero-based start index of this text element, in Unicode code units. - # Corresponds to the JSON property `startIndex` - # @return [Fixnum] - attr_accessor :start_index - - # A TextElement kind that represents a run of text that all has the same - # styling. - # Corresponds to the JSON property `textRun` - # @return [Google::Apis::SlidesV1::TextRun] - attr_accessor :text_run - - # A TextElement kind that represents auto text. - # Corresponds to the JSON property `autoText` - # @return [Google::Apis::SlidesV1::AutoText] - attr_accessor :auto_text - - # A TextElement kind that represents the beginning of a new paragraph. - # Corresponds to the JSON property `paragraphMarker` - # @return [Google::Apis::SlidesV1::ParagraphMarker] - attr_accessor :paragraph_marker - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @end_index = args[:end_index] if args.key?(:end_index) - @start_index = args[:start_index] if args.key?(:start_index) - @text_run = args[:text_run] if args.key?(:text_run) - @auto_text = args[:auto_text] if args.key?(:auto_text) - @paragraph_marker = args[:paragraph_marker] if args.key?(:paragraph_marker) - end - end - - # A magnitude in a single direction in the specified units. - class Dimension - include Google::Apis::Core::Hashable - - # The magnitude. - # Corresponds to the JSON property `magnitude` - # @return [Float] - attr_accessor :magnitude - - # The units for magnitude. - # Corresponds to the JSON property `unit` - # @return [String] - attr_accessor :unit - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @magnitude = args[:magnitude] if args.key?(:magnitude) - @unit = args[:unit] if args.key?(:unit) - end - end - - # The fill of the line. - class LineFill - include Google::Apis::Core::Hashable - - # A solid color fill. The page or page element is filled entirely with the - # specified color value. - # If any field is unset, its value may be inherited from a parent placeholder - # if it exists. - # Corresponds to the JSON property `solidFill` - # @return [Google::Apis::SlidesV1::SolidFill] - attr_accessor :solid_fill - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @solid_fill = args[:solid_fill] if args.key?(:solid_fill) - end - end - # The properties of the Video. class VideoProperties include Google::Apis::Core::Hashable @@ -4188,198 +4455,50 @@ module Google end end - # Inserts rows into a table. - class InsertTableRowsRequest + # Represents a font family and weight used to style a TextRun. + class WeightedFontFamily include Google::Apis::Core::Hashable - # The table to insert rows into. - # Corresponds to the JSON property `tableObjectId` + # The font family of the text. + # The font family can be any font from the Font menu in Slides or from + # [Google Fonts] (https://fonts.google.com/). If the font name is + # unrecognized, the text is rendered in `Arial`. + # Corresponds to the JSON property `fontFamily` # @return [String] - attr_accessor :table_object_id + attr_accessor :font_family - # Whether to insert new rows below the reference cell location. - # - `True`: insert below the cell. - # - `False`: insert above the cell. - # Corresponds to the JSON property `insertBelow` - # @return [Boolean] - attr_accessor :insert_below - alias_method :insert_below?, :insert_below - - # The number of rows to be inserted. Maximum 20 per request. - # Corresponds to the JSON property `number` - # @return [Fixnum] - attr_accessor :number - - # A location of a single table cell within a table. - # Corresponds to the JSON property `cellLocation` - # @return [Google::Apis::SlidesV1::TableCellLocation] - attr_accessor :cell_location - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @table_object_id = args[:table_object_id] if args.key?(:table_object_id) - @insert_below = args[:insert_below] if args.key?(:insert_below) - @number = args[:number] if args.key?(:number) - @cell_location = args[:cell_location] if args.key?(:cell_location) - end - end - - # The properties of Page are only - # relevant for pages with page_type LAYOUT. - class LayoutProperties - include Google::Apis::Core::Hashable - - # The object ID of the master that this layout is based on. - # Corresponds to the JSON property `masterObjectId` - # @return [String] - attr_accessor :master_object_id - - # The name of the layout. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The human-readable name of the layout. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @master_object_id = args[:master_object_id] if args.key?(:master_object_id) - @name = args[:name] if args.key?(:name) - @display_name = args[:display_name] if args.key?(:display_name) - end - end - - # The properties of the Line. - # When unset, these fields default to values that match the appearance of - # new lines created in the Slides editor. - class LineProperties - include Google::Apis::Core::Hashable - - # A magnitude in a single direction in the specified units. + # The rendered weight of the text. This field can have any value that is a + # multiple of `100` between `100` and `900`, inclusive. This range + # corresponds to the numerical values described in the CSS 2.1 + # Specification, [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font- + # boldness), + # with non-numerical values disallowed. Weights greater than or equal to + # `700` are considered bold, and weights less than `700`are not bold. The + # default value is `400` ("normal"). # Corresponds to the JSON property `weight` - # @return [Google::Apis::SlidesV1::Dimension] + # @return [Fixnum] attr_accessor :weight - # The fill of the line. - # Corresponds to the JSON property `lineFill` - # @return [Google::Apis::SlidesV1::LineFill] - attr_accessor :line_fill - - # A hypertext link. - # Corresponds to the JSON property `link` - # @return [Google::Apis::SlidesV1::Link] - attr_accessor :link - - # The dash style of the line. - # Corresponds to the JSON property `dashStyle` - # @return [String] - attr_accessor :dash_style - - # The style of the arrow at the end of the line. - # Corresponds to the JSON property `endArrow` - # @return [String] - attr_accessor :end_arrow - - # The style of the arrow at the beginning of the line. - # Corresponds to the JSON property `startArrow` - # @return [String] - attr_accessor :start_arrow - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @font_family = args[:font_family] if args.key?(:font_family) @weight = args[:weight] if args.key?(:weight) - @line_fill = args[:line_fill] if args.key?(:line_fill) - @link = args[:link] if args.key?(:link) - @dash_style = args[:dash_style] if args.key?(:dash_style) - @end_arrow = args[:end_arrow] if args.key?(:end_arrow) - @start_arrow = args[:start_arrow] if args.key?(:start_arrow) end end - # A Google Slides presentation. - class Presentation + # A PageElement kind representing + # word art. + class WordArt include Google::Apis::Core::Hashable - # The layouts in the presentation. A layout is a template that determines - # how content is arranged and styled on the slides that inherit from that - # layout. - # Corresponds to the JSON property `layouts` - # @return [Array] - attr_accessor :layouts - - # The title of the presentation. - # Corresponds to the JSON property `title` + # The text rendered as word art. + # Corresponds to the JSON property `renderedText` # @return [String] - attr_accessor :title - - # The slide masters in the presentation. A slide master contains all common - # page elements and the common properties for a set of layouts. They serve - # three purposes: - # - Placeholder shapes on a master contain the default text styles and shape - # properties of all placeholder shapes on pages that use that master. - # - The master page properties define the common page properties inherited by - # its layouts. - # - Any other shapes on the master slide will appear on all slides using that - # master, regardless of their layout. - # Corresponds to the JSON property `masters` - # @return [Array] - attr_accessor :masters - - # The locale of the presentation, as an IETF BCP 47 language tag. - # Corresponds to the JSON property `locale` - # @return [String] - attr_accessor :locale - - # A width and height. - # Corresponds to the JSON property `pageSize` - # @return [Google::Apis::SlidesV1::Size] - attr_accessor :page_size - - # The ID of the presentation. - # Corresponds to the JSON property `presentationId` - # @return [String] - attr_accessor :presentation_id - - # The slides in the presentation. - # A slide inherits properties from a slide layout. - # Corresponds to the JSON property `slides` - # @return [Array] - attr_accessor :slides - - # The revision ID of the presentation. Can be used in update requests - # to assert that the presentation revision hasn't changed since the last - # read operation. Only populated if the user has edit access to the - # presentation. - # The format of the revision ID may change over time, so it should be treated - # opaquely. A returned revision ID is only guaranteed to be valid for 24 - # hours after it has been returned and cannot be shared across users. If the - # revision ID is unchanged between calls, then the presentation has not - # changed. Conversely, a changed ID (for the same presentation and user) - # usually means the presentation has been updated; however, a changed ID can - # also be due to internal factors such as ID format changes. - # Corresponds to the JSON property `revisionId` - # @return [String] - attr_accessor :revision_id - - # A page in a presentation. - # Corresponds to the JSON property `notesMaster` - # @return [Google::Apis::SlidesV1::Page] - attr_accessor :notes_master + attr_accessor :rendered_text def initialize(**args) update!(**args) @@ -4387,31 +4506,21 @@ module Google # Update properties of this object def update!(**args) - @layouts = args[:layouts] if args.key?(:layouts) - @title = args[:title] if args.key?(:title) - @masters = args[:masters] if args.key?(:masters) - @locale = args[:locale] if args.key?(:locale) - @page_size = args[:page_size] if args.key?(:page_size) - @presentation_id = args[:presentation_id] if args.key?(:presentation_id) - @slides = args[:slides] if args.key?(:slides) - @revision_id = args[:revision_id] if args.key?(:revision_id) - @notes_master = args[:notes_master] if args.key?(:notes_master) + @rendered_text = args[:rendered_text] if args.key?(:rendered_text) end end - # A themeable solid color value. - class OpaqueColor + # Provides control over how write requests are executed. + class WriteControl include Google::Apis::Core::Hashable - # An RGB color. - # Corresponds to the JSON property `rgbColor` - # @return [Google::Apis::SlidesV1::RgbColor] - attr_accessor :rgb_color - - # An opaque theme color. - # Corresponds to the JSON property `themeColor` + # The revision ID of the presentation required for the write request. If + # specified and the `required_revision_id` doesn't exactly match the + # presentation's current `revision_id`, the request will not be processed and + # will return a 400 bad request error. + # Corresponds to the JSON property `requiredRevisionId` # @return [String] - attr_accessor :theme_color + attr_accessor :required_revision_id def initialize(**args) update!(**args) @@ -4419,116 +4528,7 @@ module Google # Update properties of this object def update!(**args) - @rgb_color = args[:rgb_color] if args.key?(:rgb_color) - @theme_color = args[:theme_color] if args.key?(:theme_color) - end - end - - # The properties of the Image. - class ImageProperties - include Google::Apis::Core::Hashable - - # The crop properties of an object enclosed in a container. For example, an - # Image. - # The crop properties is represented by the offsets of four edges which define - # a crop rectangle. The offsets are measured in percentage from the - # corresponding edges of the object's original bounding rectangle towards - # inside, relative to the object's original dimensions. - # - If the offset is in the interval (0, 1), the corresponding edge of crop - # rectangle is positioned inside of the object's original bounding rectangle. - # - If the offset is negative or greater than 1, the corresponding edge of crop - # rectangle is positioned outside of the object's original bounding rectangle. - # - If the left edge of the crop rectangle is on the right side of its right - # edge, the object will be flipped horizontally. - # - If the top edge of the crop rectangle is below its bottom edge, the object - # will be flipped vertically. - # - If all offsets and rotation angle is 0, the object is not cropped. - # After cropping, the content in the crop rectangle will be stretched to fit - # its container. - # Corresponds to the JSON property `cropProperties` - # @return [Google::Apis::SlidesV1::CropProperties] - attr_accessor :crop_properties - - # A recolor effect applied on an image. - # Corresponds to the JSON property `recolor` - # @return [Google::Apis::SlidesV1::Recolor] - attr_accessor :recolor - - # The outline of a PageElement. - # If these fields are unset, they may be inherited from a parent placeholder - # if it exists. If there is no parent, the fields will default to the value - # used for new page elements created in the Slides editor, which may depend on - # the page element kind. - # Corresponds to the JSON property `outline` - # @return [Google::Apis::SlidesV1::Outline] - attr_accessor :outline - - # The brightness effect of the image. The value should be in the interval - # [-1.0, 1.0], where 0 means no effect. This property is read-only. - # Corresponds to the JSON property `brightness` - # @return [Float] - attr_accessor :brightness - - # The transparency effect of the image. The value should be in the interval - # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. - # This property is read-only. - # Corresponds to the JSON property `transparency` - # @return [Float] - attr_accessor :transparency - - # The shadow properties of a page element. - # If these fields are unset, they may be inherited from a parent placeholder - # if it exists. If there is no parent, the fields will default to the value - # used for new page elements created in the Slides editor, which may depend on - # the page element kind. - # Corresponds to the JSON property `shadow` - # @return [Google::Apis::SlidesV1::Shadow] - attr_accessor :shadow - - # The contrast effect of the image. The value should be in the interval - # [-1.0, 1.0], where 0 means no effect. This property is read-only. - # Corresponds to the JSON property `contrast` - # @return [Float] - attr_accessor :contrast - - # A hypertext link. - # Corresponds to the JSON property `link` - # @return [Google::Apis::SlidesV1::Link] - attr_accessor :link - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @crop_properties = args[:crop_properties] if args.key?(:crop_properties) - @recolor = args[:recolor] if args.key?(:recolor) - @outline = args[:outline] if args.key?(:outline) - @brightness = args[:brightness] if args.key?(:brightness) - @transparency = args[:transparency] if args.key?(:transparency) - @shadow = args[:shadow] if args.key?(:shadow) - @contrast = args[:contrast] if args.key?(:contrast) - @link = args[:link] if args.key?(:link) - end - end - - # The result of replacing shapes with an image. - class ReplaceAllShapesWithImageResponse - include Google::Apis::Core::Hashable - - # The number of shapes replaced with images. - # Corresponds to the JSON property `occurrencesChanged` - # @return [Fixnum] - attr_accessor :occurrences_changed - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @occurrences_changed = args[:occurrences_changed] if args.key?(:occurrences_changed) + @required_revision_id = args[:required_revision_id] if args.key?(:required_revision_id) end end end diff --git a/generated/google/apis/slides_v1/representations.rb b/generated/google/apis/slides_v1/representations.rb index 8d7b7a47e..a08b008d6 100644 --- a/generated/google/apis/slides_v1/representations.rb +++ b/generated/google/apis/slides_v1/representations.rb @@ -22,607 +22,139 @@ module Google module Apis module SlidesV1 - class Line - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BatchUpdatePresentationResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreateSheetsChartRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreateImageResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SlideProperties - 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 - - class MasterProperties - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TextRun - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LayoutReference - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SubstringMatchCriteria - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TableRange - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreateTableResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreateTableRequest - 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 PageBackgroundFill - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SheetsChart - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SolidFill - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ThemeColorPair - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class OptionalColor - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PageElementProperties - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SheetsChartProperties - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StretchedPictureFill - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DeleteTableColumnRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateTextStyleRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class List - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WeightedFontFamily - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PageElement - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreateImageRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreateParagraphBulletsRequest - 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 TextStyle - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateVideoPropertiesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Request - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateImagePropertiesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ParagraphStyle - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReplaceAllShapesWithSheetsChartResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TableCellProperties - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RefreshSheetsChartRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Outline - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TableColumnProperties - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ShapeProperties - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class NotesProperties - 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 UpdateTableCellPropertiesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreateSlideRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BatchUpdatePresentationRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TextContent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreateSheetsChartResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WriteControl - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DeleteParagraphBulletsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ParagraphMarker - 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 InsertTableColumnsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LayoutPlaceholderIdMapping - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateShapePropertiesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WordArt - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Recolor - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Link - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreateShapeResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RgbColor - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreateLineRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreateSlideResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreateShapeRequest - 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 PageProperties - 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 NestingLevel - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateLinePropertiesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TableCellBackgroundFill - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateSlidesPositionRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdatePagePropertiesRequest - 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 Placeholder - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DuplicateObjectRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReplaceAllTextRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Page - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ShapeBackgroundFill - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CropProperties - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReplaceAllShapesWithSheetsChartRequest - 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 ColorStop - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreateVideoRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DuplicateObjectResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReplaceAllShapesWithImageRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Shadow - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DeleteTableRowRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Bullet - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class OutlineFill - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreateLineResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TableCellLocation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReplaceAllTextResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateParagraphStyleRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ColorScheme - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Shape - 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 AffineTransform class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class InsertTextRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class AutoText class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class BatchUpdatePresentationRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchUpdatePresentationResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Bullet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ColorScheme + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ColorStop + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateImageRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateImageResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateLineRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateLineResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateParagraphBulletsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateShapeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateShapeResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateSheetsChartRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateSheetsChartResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateSlideRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateSlideResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateTableRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateTableResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateVideoRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CreateVideoResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class UpdatePageElementTransformRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DeleteTextRequest + class CropProperties class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -634,7 +166,25 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class TextElement + class DeleteParagraphBulletsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteTableColumnRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteTableRowRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteTextRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -646,43 +196,25 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class LineFill + class DuplicateObjectRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class VideoProperties + class DuplicateObjectResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class InsertTableRowsRequest + class Group class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class LayoutProperties - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LineProperties - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Presentation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class OpaqueColor + class Image class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -694,564 +226,503 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ReplaceAllShapesWithImageResponse + class InsertTableColumnsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InsertTableRowsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InsertTextRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LayoutPlaceholderIdMapping + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LayoutProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LayoutReference class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Line - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :line_properties, as: 'lineProperties', class: Google::Apis::SlidesV1::LineProperties, decorator: Google::Apis::SlidesV1::LineProperties::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :line_type, as: 'lineType' - end + include Google::Apis::Core::JsonObjectSupport end - class BatchUpdatePresentationResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :replies, as: 'replies', class: Google::Apis::SlidesV1::Response, decorator: Google::Apis::SlidesV1::Response::Representation + class LineFill + class Representation < Google::Apis::Core::JsonRepresentation; end - property :presentation_id, as: 'presentationId' - end + include Google::Apis::Core::JsonObjectSupport end - class CreateSheetsChartRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :object_id_prop, as: 'objectId' - property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation + class LineProperties + class Representation < Google::Apis::Core::JsonRepresentation; end - property :linking_mode, as: 'linkingMode' - property :spreadsheet_id, as: 'spreadsheetId' - property :chart_id, as: 'chartId' - end + include Google::Apis::Core::JsonObjectSupport end - class CreateImageResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :object_id_prop, as: 'objectId' - end + class Link + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class SlideProperties - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :notes_page, as: 'notesPage', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation + class List + class Representation < Google::Apis::Core::JsonRepresentation; end - property :master_object_id, as: 'masterObjectId' - property :layout_object_id, as: 'layoutObjectId' - end - end - - class Response - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :replace_all_text, as: 'replaceAllText', class: Google::Apis::SlidesV1::ReplaceAllTextResponse, decorator: Google::Apis::SlidesV1::ReplaceAllTextResponse::Representation - - property :create_slide, as: 'createSlide', class: Google::Apis::SlidesV1::CreateSlideResponse, decorator: Google::Apis::SlidesV1::CreateSlideResponse::Representation - - property :create_shape, as: 'createShape', class: Google::Apis::SlidesV1::CreateShapeResponse, decorator: Google::Apis::SlidesV1::CreateShapeResponse::Representation - - property :duplicate_object, as: 'duplicateObject', class: Google::Apis::SlidesV1::DuplicateObjectResponse, decorator: Google::Apis::SlidesV1::DuplicateObjectResponse::Representation - - property :create_line, as: 'createLine', class: Google::Apis::SlidesV1::CreateLineResponse, decorator: Google::Apis::SlidesV1::CreateLineResponse::Representation - - property :create_image, as: 'createImage', class: Google::Apis::SlidesV1::CreateImageResponse, decorator: Google::Apis::SlidesV1::CreateImageResponse::Representation - - property :create_video, as: 'createVideo', class: Google::Apis::SlidesV1::CreateVideoResponse, decorator: Google::Apis::SlidesV1::CreateVideoResponse::Representation - - property :create_sheets_chart, as: 'createSheetsChart', class: Google::Apis::SlidesV1::CreateSheetsChartResponse, decorator: Google::Apis::SlidesV1::CreateSheetsChartResponse::Representation - - property :replace_all_shapes_with_sheets_chart, as: 'replaceAllShapesWithSheetsChart', class: Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartResponse, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartResponse::Representation - - property :replace_all_shapes_with_image, as: 'replaceAllShapesWithImage', class: Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse::Representation - - property :create_table, as: 'createTable', class: Google::Apis::SlidesV1::CreateTableResponse, decorator: Google::Apis::SlidesV1::CreateTableResponse::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class MasterProperties - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :display_name, as: 'displayName' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NestingLevel + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NotesProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OpaqueColor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OptionalColor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Outline + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OutlineFill + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Page + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PageBackgroundFill + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PageElement + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PageElementProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PageProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ParagraphMarker + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ParagraphStyle + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Placeholder + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Presentation + 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 Recolor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RefreshSheetsChartRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReplaceAllShapesWithImageRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReplaceAllShapesWithImageResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReplaceAllShapesWithSheetsChartRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReplaceAllShapesWithSheetsChartResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReplaceAllTextRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReplaceAllTextResponse + class Representation < Google::Apis::Core::JsonRepresentation; 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 + + class RgbColor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Shadow + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Shape + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ShapeBackgroundFill + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ShapeProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SheetsChart + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SheetsChartProperties + 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 SlideProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SolidFill + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StretchedPictureFill + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SubstringMatchCriteria + 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 TableCellBackgroundFill + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableCellLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableCellProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableColumnProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableRange + 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 TextContent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextElement + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TextRun + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextStyle + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ThemeColorPair + 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 UpdateImagePropertiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateLinePropertiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdatePageElementTransformRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdatePagePropertiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateParagraphStyleRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateShapePropertiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateSlidesPositionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateTableCellPropertiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateTextStyleRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateVideoPropertiesRequest + 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 VideoProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WeightedFontFamily + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WordArt + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WriteControl + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AffineTransform + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :scale_x, as: 'scaleX' + property :scale_y, as: 'scaleY' + property :shear_x, as: 'shearX' + property :shear_y, as: 'shearY' + property :translate_x, as: 'translateX' + property :translate_y, as: 'translateY' + property :unit, as: 'unit' + end + end + + class AutoText # @private class Representation < Google::Apis::Core::JsonRepresentation property :content, as: 'content' property :style, as: 'style', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation - end - end - - class LayoutReference - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :predefined_layout, as: 'predefinedLayout' - property :layout_id, as: 'layoutId' - end - end - - class SubstringMatchCriteria - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :text, as: 'text' - property :match_case, as: 'matchCase' - end - end - - class TableRange - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :row_span, as: 'rowSpan' - property :location, as: 'location', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation - - property :column_span, as: 'columnSpan' - end - end - - class CreateTableResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :object_id_prop, as: 'objectId' - end - end - - class CreateTableRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :columns, as: 'columns' - property :object_id_prop, as: 'objectId' - property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation - - property :rows, as: 'rows' - end - end - - class Table - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :rows, as: 'rows' - collection :table_columns, as: 'tableColumns', class: Google::Apis::SlidesV1::TableColumnProperties, decorator: Google::Apis::SlidesV1::TableColumnProperties::Representation - - property :columns, as: 'columns' - collection :table_rows, as: 'tableRows', class: Google::Apis::SlidesV1::TableRow, decorator: Google::Apis::SlidesV1::TableRow::Representation - - end - end - - class PageBackgroundFill - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :stretched_picture_fill, as: 'stretchedPictureFill', class: Google::Apis::SlidesV1::StretchedPictureFill, decorator: Google::Apis::SlidesV1::StretchedPictureFill::Representation - - property :solid_fill, as: 'solidFill', class: Google::Apis::SlidesV1::SolidFill, decorator: Google::Apis::SlidesV1::SolidFill::Representation - - property :property_state, as: 'propertyState' - end - end - - class SheetsChart - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :sheets_chart_properties, as: 'sheetsChartProperties', class: Google::Apis::SlidesV1::SheetsChartProperties, decorator: Google::Apis::SlidesV1::SheetsChartProperties::Representation - - property :content_url, as: 'contentUrl' - property :spreadsheet_id, as: 'spreadsheetId' - property :chart_id, as: 'chartId' - end - end - - class SolidFill - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :alpha, as: 'alpha' - property :color, as: 'color', class: Google::Apis::SlidesV1::OpaqueColor, decorator: Google::Apis::SlidesV1::OpaqueColor::Representation - - end - end - - class ThemeColorPair - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :color, as: 'color', class: Google::Apis::SlidesV1::RgbColor, decorator: Google::Apis::SlidesV1::RgbColor::Representation - property :type, as: 'type' end end - class OptionalColor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :opaque_color, as: 'opaqueColor', class: Google::Apis::SlidesV1::OpaqueColor, decorator: Google::Apis::SlidesV1::OpaqueColor::Representation - - end - end - - class PageElementProperties - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :transform, as: 'transform', class: Google::Apis::SlidesV1::AffineTransform, decorator: Google::Apis::SlidesV1::AffineTransform::Representation - - property :page_object_id, as: 'pageObjectId' - property :size, as: 'size', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation - - end - end - - class SheetsChartProperties - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :chart_image_properties, as: 'chartImageProperties', class: Google::Apis::SlidesV1::ImageProperties, decorator: Google::Apis::SlidesV1::ImageProperties::Representation - - end - end - - class StretchedPictureFill - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :content_url, as: 'contentUrl' - property :size, as: 'size', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation - - end - end - - class DeleteTableColumnRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation - - property :table_object_id, as: 'tableObjectId' - end - end - - class UpdateTextStyleRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :fields, as: 'fields' - property :text_range, as: 'textRange', class: Google::Apis::SlidesV1::Range, decorator: Google::Apis::SlidesV1::Range::Representation - - property :object_id_prop, as: 'objectId' - property :style, as: 'style', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation - - property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation - - end - end - - class List - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :nesting_level, as: 'nestingLevel', class: Google::Apis::SlidesV1::NestingLevel, decorator: Google::Apis::SlidesV1::NestingLevel::Representation - - property :list_id, as: 'listId' - end - end - - class WeightedFontFamily - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :weight, as: 'weight' - property :font_family, as: 'fontFamily' - end - end - - class PageElement - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :line, as: 'line', class: Google::Apis::SlidesV1::Line, decorator: Google::Apis::SlidesV1::Line::Representation - - property :description, as: 'description' - property :element_group, as: 'elementGroup', class: Google::Apis::SlidesV1::Group, decorator: Google::Apis::SlidesV1::Group::Representation - - property :image, as: 'image', class: Google::Apis::SlidesV1::Image, decorator: Google::Apis::SlidesV1::Image::Representation - - property :size, as: 'size', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation - - property :title, as: 'title' - property :sheets_chart, as: 'sheetsChart', class: Google::Apis::SlidesV1::SheetsChart, decorator: Google::Apis::SlidesV1::SheetsChart::Representation - - property :video, as: 'video', class: Google::Apis::SlidesV1::Video, decorator: Google::Apis::SlidesV1::Video::Representation - - property :word_art, as: 'wordArt', class: Google::Apis::SlidesV1::WordArt, decorator: Google::Apis::SlidesV1::WordArt::Representation - - property :table, as: 'table', class: Google::Apis::SlidesV1::Table, decorator: Google::Apis::SlidesV1::Table::Representation - - property :object_id_prop, as: 'objectId' - property :transform, as: 'transform', class: Google::Apis::SlidesV1::AffineTransform, decorator: Google::Apis::SlidesV1::AffineTransform::Representation - - property :shape, as: 'shape', class: Google::Apis::SlidesV1::Shape, decorator: Google::Apis::SlidesV1::Shape::Representation - - end - end - - class CreateImageRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :object_id_prop, as: 'objectId' - property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation - - property :url, as: 'url' - end - end - - class CreateParagraphBulletsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :text_range, as: 'textRange', class: Google::Apis::SlidesV1::Range, decorator: Google::Apis::SlidesV1::Range::Representation - - property :object_id_prop, as: 'objectId' - property :bullet_preset, as: 'bulletPreset' - property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation - - end - end - - class Size - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :height, as: 'height', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation - - property :width, as: 'width', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation - - end - end - - class TextStyle - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :small_caps, as: 'smallCaps' - property :background_color, as: 'backgroundColor', class: Google::Apis::SlidesV1::OptionalColor, decorator: Google::Apis::SlidesV1::OptionalColor::Representation - - property :link, as: 'link', class: Google::Apis::SlidesV1::Link, decorator: Google::Apis::SlidesV1::Link::Representation - - property :underline, as: 'underline' - property :foreground_color, as: 'foregroundColor', class: Google::Apis::SlidesV1::OptionalColor, decorator: Google::Apis::SlidesV1::OptionalColor::Representation - - property :bold, as: 'bold' - property :font_family, as: 'fontFamily' - property :italic, as: 'italic' - property :strikethrough, as: 'strikethrough' - property :font_size, as: 'fontSize', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation - - property :baseline_offset, as: 'baselineOffset' - property :weighted_font_family, as: 'weightedFontFamily', class: Google::Apis::SlidesV1::WeightedFontFamily, decorator: Google::Apis::SlidesV1::WeightedFontFamily::Representation - - end - end - - class UpdateVideoPropertiesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :object_id_prop, as: 'objectId' - property :video_properties, as: 'videoProperties', class: Google::Apis::SlidesV1::VideoProperties, decorator: Google::Apis::SlidesV1::VideoProperties::Representation - - property :fields, as: 'fields' - end - end - - class Request - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :duplicate_object, as: 'duplicateObject', class: Google::Apis::SlidesV1::DuplicateObjectRequest, decorator: Google::Apis::SlidesV1::DuplicateObjectRequest::Representation - - property :delete_table_column, as: 'deleteTableColumn', class: Google::Apis::SlidesV1::DeleteTableColumnRequest, decorator: Google::Apis::SlidesV1::DeleteTableColumnRequest::Representation - - property :update_video_properties, as: 'updateVideoProperties', class: Google::Apis::SlidesV1::UpdateVideoPropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateVideoPropertiesRequest::Representation - - property :create_line, as: 'createLine', class: Google::Apis::SlidesV1::CreateLineRequest, decorator: Google::Apis::SlidesV1::CreateLineRequest::Representation - - property :create_image, as: 'createImage', class: Google::Apis::SlidesV1::CreateImageRequest, decorator: Google::Apis::SlidesV1::CreateImageRequest::Representation - - property :create_paragraph_bullets, as: 'createParagraphBullets', class: Google::Apis::SlidesV1::CreateParagraphBulletsRequest, decorator: Google::Apis::SlidesV1::CreateParagraphBulletsRequest::Representation - - property :create_video, as: 'createVideo', class: Google::Apis::SlidesV1::CreateVideoRequest, decorator: Google::Apis::SlidesV1::CreateVideoRequest::Representation - - property :replace_all_shapes_with_sheets_chart, as: 'replaceAllShapesWithSheetsChart', class: Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartRequest, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartRequest::Representation - - property :create_sheets_chart, as: 'createSheetsChart', class: Google::Apis::SlidesV1::CreateSheetsChartRequest, decorator: Google::Apis::SlidesV1::CreateSheetsChartRequest::Representation - - property :update_page_element_transform, as: 'updatePageElementTransform', class: Google::Apis::SlidesV1::UpdatePageElementTransformRequest, decorator: Google::Apis::SlidesV1::UpdatePageElementTransformRequest::Representation - - property :update_text_style, as: 'updateTextStyle', class: Google::Apis::SlidesV1::UpdateTextStyleRequest, decorator: Google::Apis::SlidesV1::UpdateTextStyleRequest::Representation - - property :replace_all_shapes_with_image, as: 'replaceAllShapesWithImage', class: Google::Apis::SlidesV1::ReplaceAllShapesWithImageRequest, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithImageRequest::Representation - - property :replace_all_text, as: 'replaceAllText', class: Google::Apis::SlidesV1::ReplaceAllTextRequest, decorator: Google::Apis::SlidesV1::ReplaceAllTextRequest::Representation - - property :update_image_properties, as: 'updateImageProperties', class: Google::Apis::SlidesV1::UpdateImagePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateImagePropertiesRequest::Representation - - property :insert_table_rows, as: 'insertTableRows', class: Google::Apis::SlidesV1::InsertTableRowsRequest, decorator: Google::Apis::SlidesV1::InsertTableRowsRequest::Representation - - property :create_slide, as: 'createSlide', class: Google::Apis::SlidesV1::CreateSlideRequest, decorator: Google::Apis::SlidesV1::CreateSlideRequest::Representation - - property :update_line_properties, as: 'updateLineProperties', class: Google::Apis::SlidesV1::UpdateLinePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateLinePropertiesRequest::Representation - - property :update_slides_position, as: 'updateSlidesPosition', class: Google::Apis::SlidesV1::UpdateSlidesPositionRequest, decorator: Google::Apis::SlidesV1::UpdateSlidesPositionRequest::Representation - - property :delete_table_row, as: 'deleteTableRow', class: Google::Apis::SlidesV1::DeleteTableRowRequest, decorator: Google::Apis::SlidesV1::DeleteTableRowRequest::Representation - - property :update_shape_properties, as: 'updateShapeProperties', class: Google::Apis::SlidesV1::UpdateShapePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateShapePropertiesRequest::Representation - - property :insert_text, as: 'insertText', class: Google::Apis::SlidesV1::InsertTextRequest, decorator: Google::Apis::SlidesV1::InsertTextRequest::Representation - - property :delete_text, as: 'deleteText', class: Google::Apis::SlidesV1::DeleteTextRequest, decorator: Google::Apis::SlidesV1::DeleteTextRequest::Representation - - property :update_page_properties, as: 'updatePageProperties', class: Google::Apis::SlidesV1::UpdatePagePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdatePagePropertiesRequest::Representation - - property :create_shape, as: 'createShape', class: Google::Apis::SlidesV1::CreateShapeRequest, decorator: Google::Apis::SlidesV1::CreateShapeRequest::Representation - - property :delete_paragraph_bullets, as: 'deleteParagraphBullets', class: Google::Apis::SlidesV1::DeleteParagraphBulletsRequest, decorator: Google::Apis::SlidesV1::DeleteParagraphBulletsRequest::Representation - - property :insert_table_columns, as: 'insertTableColumns', class: Google::Apis::SlidesV1::InsertTableColumnsRequest, decorator: Google::Apis::SlidesV1::InsertTableColumnsRequest::Representation - - property :refresh_sheets_chart, as: 'refreshSheetsChart', class: Google::Apis::SlidesV1::RefreshSheetsChartRequest, decorator: Google::Apis::SlidesV1::RefreshSheetsChartRequest::Representation - - property :update_table_cell_properties, as: 'updateTableCellProperties', class: Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest::Representation - - property :create_table, as: 'createTable', class: Google::Apis::SlidesV1::CreateTableRequest, decorator: Google::Apis::SlidesV1::CreateTableRequest::Representation - - property :delete_object, as: 'deleteObject', class: Google::Apis::SlidesV1::DeleteObjectRequest, decorator: Google::Apis::SlidesV1::DeleteObjectRequest::Representation - - property :update_paragraph_style, as: 'updateParagraphStyle', class: Google::Apis::SlidesV1::UpdateParagraphStyleRequest, decorator: Google::Apis::SlidesV1::UpdateParagraphStyleRequest::Representation - - end - end - - class UpdateImagePropertiesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :fields, as: 'fields' - property :image_properties, as: 'imageProperties', class: Google::Apis::SlidesV1::ImageProperties, decorator: Google::Apis::SlidesV1::ImageProperties::Representation - - property :object_id_prop, as: 'objectId' - end - end - - class ParagraphStyle - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :indent_first_line, as: 'indentFirstLine', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation - - property :line_spacing, as: 'lineSpacing' - property :alignment, as: 'alignment' - property :space_below, as: 'spaceBelow', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation - - property :direction, as: 'direction' - property :spacing_mode, as: 'spacingMode' - property :indent_end, as: 'indentEnd', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation - - property :indent_start, as: 'indentStart', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation - - property :space_above, as: 'spaceAbove', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation - - end - end - - class ReplaceAllShapesWithSheetsChartResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :occurrences_changed, as: 'occurrencesChanged' - end - end - - class TableCellProperties - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :table_cell_background_fill, as: 'tableCellBackgroundFill', class: Google::Apis::SlidesV1::TableCellBackgroundFill, decorator: Google::Apis::SlidesV1::TableCellBackgroundFill::Representation - - end - end - - class RefreshSheetsChartRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :object_id_prop, as: 'objectId' - end - end - - class Outline - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :outline_fill, as: 'outlineFill', class: Google::Apis::SlidesV1::OutlineFill, decorator: Google::Apis::SlidesV1::OutlineFill::Representation - - property :weight, as: 'weight', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation - - property :dash_style, as: 'dashStyle' - property :property_state, as: 'propertyState' - end - end - - class TableColumnProperties - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :column_width, as: 'columnWidth', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation - - end - end - - class ShapeProperties - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :outline, as: 'outline', class: Google::Apis::SlidesV1::Outline, decorator: Google::Apis::SlidesV1::Outline::Representation - - property :shadow, as: 'shadow', class: Google::Apis::SlidesV1::Shadow, decorator: Google::Apis::SlidesV1::Shadow::Representation - - property :shape_background_fill, as: 'shapeBackgroundFill', class: Google::Apis::SlidesV1::ShapeBackgroundFill, decorator: Google::Apis::SlidesV1::ShapeBackgroundFill::Representation - - property :link, as: 'link', class: Google::Apis::SlidesV1::Link, decorator: Google::Apis::SlidesV1::Link::Representation - - end - end - - class NotesProperties - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :speaker_notes_object_id, as: 'speakerNotesObjectId' - end - end - - class TableRow - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :table_cells, as: 'tableCells', class: Google::Apis::SlidesV1::TableCell, decorator: Google::Apis::SlidesV1::TableCell::Representation - - property :row_height, as: 'rowHeight', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation - - end - end - - class UpdateTableCellPropertiesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :fields, as: 'fields' - property :table_range, as: 'tableRange', class: Google::Apis::SlidesV1::TableRange, decorator: Google::Apis::SlidesV1::TableRange::Representation - - property :object_id_prop, as: 'objectId' - property :table_cell_properties, as: 'tableCellProperties', class: Google::Apis::SlidesV1::TableCellProperties, decorator: Google::Apis::SlidesV1::TableCellProperties::Representation - - end - end - - class CreateSlideRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :object_id_prop, as: 'objectId' - property :insertion_index, as: 'insertionIndex' - collection :placeholder_id_mappings, as: 'placeholderIdMappings', class: Google::Apis::SlidesV1::LayoutPlaceholderIdMapping, decorator: Google::Apis::SlidesV1::LayoutPlaceholderIdMapping::Representation - - property :slide_layout_reference, as: 'slideLayoutReference', class: Google::Apis::SlidesV1::LayoutReference, decorator: Google::Apis::SlidesV1::LayoutReference::Representation - - end - end - class BatchUpdatePresentationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1262,114 +733,97 @@ module Google end end - class TextContent + class BatchUpdatePresentationResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :text_elements, as: 'textElements', class: Google::Apis::SlidesV1::TextElement, decorator: Google::Apis::SlidesV1::TextElement::Representation - - hash :lists, as: 'lists', class: Google::Apis::SlidesV1::List, decorator: Google::Apis::SlidesV1::List::Representation + property :presentation_id, as: 'presentationId' + collection :replies, as: 'replies', class: Google::Apis::SlidesV1::Response, decorator: Google::Apis::SlidesV1::Response::Representation end end - class CreateSheetsChartResponse + class Bullet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bullet_style, as: 'bulletStyle', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation + + property :glyph, as: 'glyph' + property :list_id, as: 'listId' + property :nesting_level, as: 'nestingLevel' + end + end + + class ColorScheme + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :colors, as: 'colors', class: Google::Apis::SlidesV1::ThemeColorPair, decorator: Google::Apis::SlidesV1::ThemeColorPair::Representation + + end + end + + class ColorStop + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alpha, as: 'alpha' + property :color, as: 'color', class: Google::Apis::SlidesV1::OpaqueColor, decorator: Google::Apis::SlidesV1::OpaqueColor::Representation + + property :position, as: 'position' + end + end + + class CreateImageRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation + + property :object_id_prop, as: 'objectId' + property :url, as: 'url' + end + end + + class CreateImageResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :object_id_prop, as: 'objectId' end end - class WriteControl + class CreateLineRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :required_revision_id, as: 'requiredRevisionId' + property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation + + property :line_category, as: 'lineCategory' + property :object_id_prop, as: 'objectId' end end - class DeleteParagraphBulletsRequest + class CreateLineResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class CreateParagraphBulletsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bullet_preset, as: 'bulletPreset' + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + property :object_id_prop, as: 'objectId' property :text_range, as: 'textRange', class: Google::Apis::SlidesV1::Range, decorator: Google::Apis::SlidesV1::Range::Representation + end + end + + class CreateShapeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation + property :object_id_prop, as: 'objectId' - property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation - - end - end - - class ParagraphMarker - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :bullet, as: 'bullet', class: Google::Apis::SlidesV1::Bullet, decorator: Google::Apis::SlidesV1::Bullet::Representation - - property :style, as: 'style', class: Google::Apis::SlidesV1::ParagraphStyle, decorator: Google::Apis::SlidesV1::ParagraphStyle::Representation - - end - end - - class Thumbnail - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :height, as: 'height' - property :content_url, as: 'contentUrl' - property :width, as: 'width' - end - end - - class InsertTableColumnsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :insert_right, as: 'insertRight' - property :table_object_id, as: 'tableObjectId' - property :number, as: 'number' - property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation - - end - end - - class LayoutPlaceholderIdMapping - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :layout_placeholder_object_id, as: 'layoutPlaceholderObjectId' - property :object_id_prop, as: 'objectId' - property :layout_placeholder, as: 'layoutPlaceholder', class: Google::Apis::SlidesV1::Placeholder, decorator: Google::Apis::SlidesV1::Placeholder::Representation - - end - end - - class UpdateShapePropertiesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :fields, as: 'fields' - property :object_id_prop, as: 'objectId' - property :shape_properties, as: 'shapeProperties', class: Google::Apis::SlidesV1::ShapeProperties, decorator: Google::Apis::SlidesV1::ShapeProperties::Representation - - end - end - - class WordArt - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :rendered_text, as: 'renderedText' - end - end - - class Recolor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :recolor_stops, as: 'recolorStops', class: Google::Apis::SlidesV1::ColorStop, decorator: Google::Apis::SlidesV1::ColorStop::Representation - - property :name, as: 'name' - end - end - - class Link - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :page_object_id, as: 'pageObjectId' - property :slide_index, as: 'slideIndex' - property :relative_link, as: 'relativeLink' - property :url, as: 'url' + property :shape_type, as: 'shapeType' end end @@ -1380,22 +834,34 @@ module Google end end - class RgbColor + class CreateSheetsChartRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :red, as: 'red' - property :blue, as: 'blue' - property :green, as: 'green' + property :chart_id, as: 'chartId' + property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation + + property :linking_mode, as: 'linkingMode' + property :object_id_prop, as: 'objectId' + property :spreadsheet_id, as: 'spreadsheetId' end end - class CreateLineRequest + class CreateSheetsChartResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :object_id_prop, as: 'objectId' - property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation + end + end + + class CreateSlideRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :insertion_index, as: 'insertionIndex' + property :object_id_prop, as: 'objectId' + collection :placeholder_id_mappings, as: 'placeholderIdMappings', class: Google::Apis::SlidesV1::LayoutPlaceholderIdMapping, decorator: Google::Apis::SlidesV1::LayoutPlaceholderIdMapping::Representation + + property :slide_layout_reference, as: 'slideLayoutReference', class: Google::Apis::SlidesV1::LayoutReference, decorator: Google::Apis::SlidesV1::LayoutReference::Representation - property :line_category, as: 'lineCategory' end end @@ -1406,23 +872,397 @@ module Google end end - class CreateShapeRequest + class CreateTableRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :shape_type, as: 'shapeType' - property :object_id_prop, as: 'objectId' + property :columns, as: 'columns' property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation + property :object_id_prop, as: 'objectId' + property :rows, as: 'rows' + end + end + + class CreateTableResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class CreateVideoRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation + + property :id, as: 'id' + property :object_id_prop, as: 'objectId' + property :source, as: 'source' + end + end + + class CreateVideoResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class CropProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :angle, as: 'angle' + property :bottom_offset, as: 'bottomOffset' + property :left_offset, as: 'leftOffset' + property :right_offset, as: 'rightOffset' + property :top_offset, as: 'topOffset' + end + end + + class DeleteObjectRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class DeleteParagraphBulletsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + property :object_id_prop, as: 'objectId' + property :text_range, as: 'textRange', class: Google::Apis::SlidesV1::Range, decorator: Google::Apis::SlidesV1::Range::Representation + end end - class Video + class DeleteTableColumnRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :source, as: 'source' - property :id, as: 'id' + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + property :table_object_id, as: 'tableObjectId' + end + end + + class DeleteTableRowRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + property :table_object_id, as: 'tableObjectId' + end + end + + class DeleteTextRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + property :object_id_prop, as: 'objectId' + property :text_range, as: 'textRange', class: Google::Apis::SlidesV1::Range, decorator: Google::Apis::SlidesV1::Range::Representation + + end + end + + class Dimension + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :magnitude, as: 'magnitude' + property :unit, as: 'unit' + end + end + + class DuplicateObjectRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + hash :object_ids, as: 'objectIds' + end + end + + class DuplicateObjectResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class Group + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :children, as: 'children', class: Google::Apis::SlidesV1::PageElement, decorator: Google::Apis::SlidesV1::PageElement::Representation + + end + end + + class Image + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content_url, as: 'contentUrl' + property :image_properties, as: 'imageProperties', class: Google::Apis::SlidesV1::ImageProperties, decorator: Google::Apis::SlidesV1::ImageProperties::Representation + + end + end + + class ImageProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :brightness, as: 'brightness' + property :contrast, as: 'contrast' + property :crop_properties, as: 'cropProperties', class: Google::Apis::SlidesV1::CropProperties, decorator: Google::Apis::SlidesV1::CropProperties::Representation + + property :link, as: 'link', class: Google::Apis::SlidesV1::Link, decorator: Google::Apis::SlidesV1::Link::Representation + + property :outline, as: 'outline', class: Google::Apis::SlidesV1::Outline, decorator: Google::Apis::SlidesV1::Outline::Representation + + property :recolor, as: 'recolor', class: Google::Apis::SlidesV1::Recolor, decorator: Google::Apis::SlidesV1::Recolor::Representation + + property :shadow, as: 'shadow', class: Google::Apis::SlidesV1::Shadow, decorator: Google::Apis::SlidesV1::Shadow::Representation + + property :transparency, as: 'transparency' + end + end + + class InsertTableColumnsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + property :insert_right, as: 'insertRight' + property :number, as: 'number' + property :table_object_id, as: 'tableObjectId' + end + end + + class InsertTableRowsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + property :insert_below, as: 'insertBelow' + property :number, as: 'number' + property :table_object_id, as: 'tableObjectId' + end + end + + class InsertTextRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + property :insertion_index, as: 'insertionIndex' + property :object_id_prop, as: 'objectId' + property :text, as: 'text' + end + end + + class LayoutPlaceholderIdMapping + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :layout_placeholder, as: 'layoutPlaceholder', class: Google::Apis::SlidesV1::Placeholder, decorator: Google::Apis::SlidesV1::Placeholder::Representation + + property :layout_placeholder_object_id, as: 'layoutPlaceholderObjectId' + property :object_id_prop, as: 'objectId' + end + end + + class LayoutProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :master_object_id, as: 'masterObjectId' + property :name, as: 'name' + end + end + + class LayoutReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :layout_id, as: 'layoutId' + property :predefined_layout, as: 'predefinedLayout' + end + end + + class Line + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :line_properties, as: 'lineProperties', class: Google::Apis::SlidesV1::LineProperties, decorator: Google::Apis::SlidesV1::LineProperties::Representation + + property :line_type, as: 'lineType' + end + end + + class LineFill + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :solid_fill, as: 'solidFill', class: Google::Apis::SlidesV1::SolidFill, decorator: Google::Apis::SlidesV1::SolidFill::Representation + + end + end + + class LineProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dash_style, as: 'dashStyle' + property :end_arrow, as: 'endArrow' + property :line_fill, as: 'lineFill', class: Google::Apis::SlidesV1::LineFill, decorator: Google::Apis::SlidesV1::LineFill::Representation + + property :link, as: 'link', class: Google::Apis::SlidesV1::Link, decorator: Google::Apis::SlidesV1::Link::Representation + + property :start_arrow, as: 'startArrow' + property :weight, as: 'weight', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + end + end + + class Link + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :page_object_id, as: 'pageObjectId' + property :relative_link, as: 'relativeLink' + property :slide_index, as: 'slideIndex' property :url, as: 'url' - property :video_properties, as: 'videoProperties', class: Google::Apis::SlidesV1::VideoProperties, decorator: Google::Apis::SlidesV1::VideoProperties::Representation + end + end + + class List + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :list_id, as: 'listId' + hash :nesting_level, as: 'nestingLevel', class: Google::Apis::SlidesV1::NestingLevel, decorator: Google::Apis::SlidesV1::NestingLevel::Representation + + end + end + + class MasterProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + end + end + + class NestingLevel + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bullet_style, as: 'bulletStyle', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation + + end + end + + class NotesProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :speaker_notes_object_id, as: 'speakerNotesObjectId' + end + end + + class OpaqueColor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :rgb_color, as: 'rgbColor', class: Google::Apis::SlidesV1::RgbColor, decorator: Google::Apis::SlidesV1::RgbColor::Representation + + property :theme_color, as: 'themeColor' + end + end + + class OptionalColor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :opaque_color, as: 'opaqueColor', class: Google::Apis::SlidesV1::OpaqueColor, decorator: Google::Apis::SlidesV1::OpaqueColor::Representation + + end + end + + class Outline + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dash_style, as: 'dashStyle' + property :outline_fill, as: 'outlineFill', class: Google::Apis::SlidesV1::OutlineFill, decorator: Google::Apis::SlidesV1::OutlineFill::Representation + + property :property_state, as: 'propertyState' + property :weight, as: 'weight', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + end + end + + class OutlineFill + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :solid_fill, as: 'solidFill', class: Google::Apis::SlidesV1::SolidFill, decorator: Google::Apis::SlidesV1::SolidFill::Representation + + end + end + + class Page + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :layout_properties, as: 'layoutProperties', class: Google::Apis::SlidesV1::LayoutProperties, decorator: Google::Apis::SlidesV1::LayoutProperties::Representation + + property :master_properties, as: 'masterProperties', class: Google::Apis::SlidesV1::MasterProperties, decorator: Google::Apis::SlidesV1::MasterProperties::Representation + + property :notes_properties, as: 'notesProperties', class: Google::Apis::SlidesV1::NotesProperties, decorator: Google::Apis::SlidesV1::NotesProperties::Representation + + property :object_id_prop, as: 'objectId' + collection :page_elements, as: 'pageElements', class: Google::Apis::SlidesV1::PageElement, decorator: Google::Apis::SlidesV1::PageElement::Representation + + property :page_properties, as: 'pageProperties', class: Google::Apis::SlidesV1::PageProperties, decorator: Google::Apis::SlidesV1::PageProperties::Representation + + property :page_type, as: 'pageType' + property :revision_id, as: 'revisionId' + property :slide_properties, as: 'slideProperties', class: Google::Apis::SlidesV1::SlideProperties, decorator: Google::Apis::SlidesV1::SlideProperties::Representation + + end + end + + class PageBackgroundFill + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :property_state, as: 'propertyState' + property :solid_fill, as: 'solidFill', class: Google::Apis::SlidesV1::SolidFill, decorator: Google::Apis::SlidesV1::SolidFill::Representation + + property :stretched_picture_fill, as: 'stretchedPictureFill', class: Google::Apis::SlidesV1::StretchedPictureFill, decorator: Google::Apis::SlidesV1::StretchedPictureFill::Representation + + end + end + + class PageElement + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :element_group, as: 'elementGroup', class: Google::Apis::SlidesV1::Group, decorator: Google::Apis::SlidesV1::Group::Representation + + property :image, as: 'image', class: Google::Apis::SlidesV1::Image, decorator: Google::Apis::SlidesV1::Image::Representation + + property :line, as: 'line', class: Google::Apis::SlidesV1::Line, decorator: Google::Apis::SlidesV1::Line::Representation + + property :object_id_prop, as: 'objectId' + property :shape, as: 'shape', class: Google::Apis::SlidesV1::Shape, decorator: Google::Apis::SlidesV1::Shape::Representation + + property :sheets_chart, as: 'sheetsChart', class: Google::Apis::SlidesV1::SheetsChart, decorator: Google::Apis::SlidesV1::SheetsChart::Representation + + property :size, as: 'size', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation + + property :table, as: 'table', class: Google::Apis::SlidesV1::Table, decorator: Google::Apis::SlidesV1::Table::Representation + + property :title, as: 'title' + property :transform, as: 'transform', class: Google::Apis::SlidesV1::AffineTransform, decorator: Google::Apis::SlidesV1::AffineTransform::Representation + + property :video, as: 'video', class: Google::Apis::SlidesV1::Video, decorator: Google::Apis::SlidesV1::Video::Representation + + property :word_art, as: 'wordArt', class: Google::Apis::SlidesV1::WordArt, decorator: Google::Apis::SlidesV1::WordArt::Representation + + end + end + + class PageElementProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :page_object_id, as: 'pageObjectId' + property :size, as: 'size', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation + + property :transform, as: 'transform', class: Google::Apis::SlidesV1::AffineTransform, decorator: Google::Apis::SlidesV1::AffineTransform::Representation end end @@ -1437,70 +1277,33 @@ module Google end end - class TableCell + class ParagraphMarker # @private class Representation < Google::Apis::Core::JsonRepresentation - property :text, as: 'text', class: Google::Apis::SlidesV1::TextContent, decorator: Google::Apis::SlidesV1::TextContent::Representation + property :bullet, as: 'bullet', class: Google::Apis::SlidesV1::Bullet, decorator: Google::Apis::SlidesV1::Bullet::Representation - property :table_cell_properties, as: 'tableCellProperties', class: Google::Apis::SlidesV1::TableCellProperties, decorator: Google::Apis::SlidesV1::TableCellProperties::Representation - - property :row_span, as: 'rowSpan' - property :location, as: 'location', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation - - property :column_span, as: 'columnSpan' - end - end - - class NestingLevel - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :bullet_style, as: 'bulletStyle', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation + property :style, as: 'style', class: Google::Apis::SlidesV1::ParagraphStyle, decorator: Google::Apis::SlidesV1::ParagraphStyle::Representation end end - class UpdateLinePropertiesRequest + class ParagraphStyle # @private class Representation < Google::Apis::Core::JsonRepresentation - property :line_properties, as: 'lineProperties', class: Google::Apis::SlidesV1::LineProperties, decorator: Google::Apis::SlidesV1::LineProperties::Representation + property :alignment, as: 'alignment' + property :direction, as: 'direction' + property :indent_end, as: 'indentEnd', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation - property :fields, as: 'fields' - property :object_id_prop, as: 'objectId' - end - end + property :indent_first_line, as: 'indentFirstLine', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation - class TableCellBackgroundFill - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :property_state, as: 'propertyState' - property :solid_fill, as: 'solidFill', class: Google::Apis::SlidesV1::SolidFill, decorator: Google::Apis::SlidesV1::SolidFill::Representation + property :indent_start, as: 'indentStart', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation - end - end + property :line_spacing, as: 'lineSpacing' + property :space_above, as: 'spaceAbove', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation - class UpdateSlidesPositionRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :slide_object_ids, as: 'slideObjectIds' - property :insertion_index, as: 'insertionIndex' - end - end - - class UpdatePagePropertiesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :fields, as: 'fields' - property :page_properties, as: 'pageProperties', class: Google::Apis::SlidesV1::PageProperties, decorator: Google::Apis::SlidesV1::PageProperties::Representation - - property :object_id_prop, as: 'objectId' - end - end - - class Group - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :children, as: 'children', class: Google::Apis::SlidesV1::PageElement, decorator: Google::Apis::SlidesV1::PageElement::Representation + property :space_below, as: 'spaceBelow', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + property :spacing_mode, as: 'spacingMode' end end @@ -1508,19 +1311,93 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :index, as: 'index' - property :type, as: 'type' property :parent_object_id, as: 'parentObjectId' + property :type, as: 'type' end end - class DuplicateObjectRequest + class Presentation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :layouts, as: 'layouts', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation + + property :locale, as: 'locale' + collection :masters, as: 'masters', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation + + property :notes_master, as: 'notesMaster', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation + + property :page_size, as: 'pageSize', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation + + property :presentation_id, as: 'presentationId' + property :revision_id, as: 'revisionId' + collection :slides, as: 'slides', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation + + property :title, as: 'title' + end + end + + class Range + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_index, as: 'endIndex' + property :start_index, as: 'startIndex' + property :type, as: 'type' + end + end + + class Recolor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + collection :recolor_stops, as: 'recolorStops', class: Google::Apis::SlidesV1::ColorStop, decorator: Google::Apis::SlidesV1::ColorStop::Representation + + end + end + + class RefreshSheetsChartRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :object_ids, as: 'objectIds' property :object_id_prop, as: 'objectId' end end + class ReplaceAllShapesWithImageRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :contains_text, as: 'containsText', class: Google::Apis::SlidesV1::SubstringMatchCriteria, decorator: Google::Apis::SlidesV1::SubstringMatchCriteria::Representation + + property :image_url, as: 'imageUrl' + collection :page_object_ids, as: 'pageObjectIds' + property :replace_method, as: 'replaceMethod' + end + end + + class ReplaceAllShapesWithImageResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :occurrences_changed, as: 'occurrencesChanged' + end + end + + class ReplaceAllShapesWithSheetsChartRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :chart_id, as: 'chartId' + property :contains_text, as: 'containsText', class: Google::Apis::SlidesV1::SubstringMatchCriteria, decorator: Google::Apis::SlidesV1::SubstringMatchCriteria::Representation + + property :linking_mode, as: 'linkingMode' + collection :page_object_ids, as: 'pageObjectIds' + property :spreadsheet_id, as: 'spreadsheetId' + end + end + + class ReplaceAllShapesWithSheetsChartResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :occurrences_changed, as: 'occurrencesChanged' + end + end + class ReplaceAllTextRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1531,23 +1408,144 @@ module Google end end - class Page + class ReplaceAllTextResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :master_properties, as: 'masterProperties', class: Google::Apis::SlidesV1::MasterProperties, decorator: Google::Apis::SlidesV1::MasterProperties::Representation + property :occurrences_changed, as: 'occurrencesChanged' + end + end - property :object_id_prop, as: 'objectId' - property :revision_id, as: 'revisionId' - property :layout_properties, as: 'layoutProperties', class: Google::Apis::SlidesV1::LayoutProperties, decorator: Google::Apis::SlidesV1::LayoutProperties::Representation + class Request + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_image, as: 'createImage', class: Google::Apis::SlidesV1::CreateImageRequest, decorator: Google::Apis::SlidesV1::CreateImageRequest::Representation - collection :page_elements, as: 'pageElements', class: Google::Apis::SlidesV1::PageElement, decorator: Google::Apis::SlidesV1::PageElement::Representation + property :create_line, as: 'createLine', class: Google::Apis::SlidesV1::CreateLineRequest, decorator: Google::Apis::SlidesV1::CreateLineRequest::Representation - property :notes_properties, as: 'notesProperties', class: Google::Apis::SlidesV1::NotesProperties, decorator: Google::Apis::SlidesV1::NotesProperties::Representation + property :create_paragraph_bullets, as: 'createParagraphBullets', class: Google::Apis::SlidesV1::CreateParagraphBulletsRequest, decorator: Google::Apis::SlidesV1::CreateParagraphBulletsRequest::Representation - property :page_type, as: 'pageType' - property :page_properties, as: 'pageProperties', class: Google::Apis::SlidesV1::PageProperties, decorator: Google::Apis::SlidesV1::PageProperties::Representation + property :create_shape, as: 'createShape', class: Google::Apis::SlidesV1::CreateShapeRequest, decorator: Google::Apis::SlidesV1::CreateShapeRequest::Representation - property :slide_properties, as: 'slideProperties', class: Google::Apis::SlidesV1::SlideProperties, decorator: Google::Apis::SlidesV1::SlideProperties::Representation + property :create_sheets_chart, as: 'createSheetsChart', class: Google::Apis::SlidesV1::CreateSheetsChartRequest, decorator: Google::Apis::SlidesV1::CreateSheetsChartRequest::Representation + + property :create_slide, as: 'createSlide', class: Google::Apis::SlidesV1::CreateSlideRequest, decorator: Google::Apis::SlidesV1::CreateSlideRequest::Representation + + property :create_table, as: 'createTable', class: Google::Apis::SlidesV1::CreateTableRequest, decorator: Google::Apis::SlidesV1::CreateTableRequest::Representation + + property :create_video, as: 'createVideo', class: Google::Apis::SlidesV1::CreateVideoRequest, decorator: Google::Apis::SlidesV1::CreateVideoRequest::Representation + + property :delete_object, as: 'deleteObject', class: Google::Apis::SlidesV1::DeleteObjectRequest, decorator: Google::Apis::SlidesV1::DeleteObjectRequest::Representation + + property :delete_paragraph_bullets, as: 'deleteParagraphBullets', class: Google::Apis::SlidesV1::DeleteParagraphBulletsRequest, decorator: Google::Apis::SlidesV1::DeleteParagraphBulletsRequest::Representation + + property :delete_table_column, as: 'deleteTableColumn', class: Google::Apis::SlidesV1::DeleteTableColumnRequest, decorator: Google::Apis::SlidesV1::DeleteTableColumnRequest::Representation + + property :delete_table_row, as: 'deleteTableRow', class: Google::Apis::SlidesV1::DeleteTableRowRequest, decorator: Google::Apis::SlidesV1::DeleteTableRowRequest::Representation + + property :delete_text, as: 'deleteText', class: Google::Apis::SlidesV1::DeleteTextRequest, decorator: Google::Apis::SlidesV1::DeleteTextRequest::Representation + + property :duplicate_object, as: 'duplicateObject', class: Google::Apis::SlidesV1::DuplicateObjectRequest, decorator: Google::Apis::SlidesV1::DuplicateObjectRequest::Representation + + property :insert_table_columns, as: 'insertTableColumns', class: Google::Apis::SlidesV1::InsertTableColumnsRequest, decorator: Google::Apis::SlidesV1::InsertTableColumnsRequest::Representation + + property :insert_table_rows, as: 'insertTableRows', class: Google::Apis::SlidesV1::InsertTableRowsRequest, decorator: Google::Apis::SlidesV1::InsertTableRowsRequest::Representation + + property :insert_text, as: 'insertText', class: Google::Apis::SlidesV1::InsertTextRequest, decorator: Google::Apis::SlidesV1::InsertTextRequest::Representation + + property :refresh_sheets_chart, as: 'refreshSheetsChart', class: Google::Apis::SlidesV1::RefreshSheetsChartRequest, decorator: Google::Apis::SlidesV1::RefreshSheetsChartRequest::Representation + + property :replace_all_shapes_with_image, as: 'replaceAllShapesWithImage', class: Google::Apis::SlidesV1::ReplaceAllShapesWithImageRequest, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithImageRequest::Representation + + property :replace_all_shapes_with_sheets_chart, as: 'replaceAllShapesWithSheetsChart', class: Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartRequest, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartRequest::Representation + + property :replace_all_text, as: 'replaceAllText', class: Google::Apis::SlidesV1::ReplaceAllTextRequest, decorator: Google::Apis::SlidesV1::ReplaceAllTextRequest::Representation + + property :update_image_properties, as: 'updateImageProperties', class: Google::Apis::SlidesV1::UpdateImagePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateImagePropertiesRequest::Representation + + property :update_line_properties, as: 'updateLineProperties', class: Google::Apis::SlidesV1::UpdateLinePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateLinePropertiesRequest::Representation + + property :update_page_element_transform, as: 'updatePageElementTransform', class: Google::Apis::SlidesV1::UpdatePageElementTransformRequest, decorator: Google::Apis::SlidesV1::UpdatePageElementTransformRequest::Representation + + property :update_page_properties, as: 'updatePageProperties', class: Google::Apis::SlidesV1::UpdatePagePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdatePagePropertiesRequest::Representation + + property :update_paragraph_style, as: 'updateParagraphStyle', class: Google::Apis::SlidesV1::UpdateParagraphStyleRequest, decorator: Google::Apis::SlidesV1::UpdateParagraphStyleRequest::Representation + + property :update_shape_properties, as: 'updateShapeProperties', class: Google::Apis::SlidesV1::UpdateShapePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateShapePropertiesRequest::Representation + + property :update_slides_position, as: 'updateSlidesPosition', class: Google::Apis::SlidesV1::UpdateSlidesPositionRequest, decorator: Google::Apis::SlidesV1::UpdateSlidesPositionRequest::Representation + + property :update_table_cell_properties, as: 'updateTableCellProperties', class: Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest::Representation + + property :update_text_style, as: 'updateTextStyle', class: Google::Apis::SlidesV1::UpdateTextStyleRequest, decorator: Google::Apis::SlidesV1::UpdateTextStyleRequest::Representation + + property :update_video_properties, as: 'updateVideoProperties', class: Google::Apis::SlidesV1::UpdateVideoPropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateVideoPropertiesRequest::Representation + + end + end + + class Response + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_image, as: 'createImage', class: Google::Apis::SlidesV1::CreateImageResponse, decorator: Google::Apis::SlidesV1::CreateImageResponse::Representation + + property :create_line, as: 'createLine', class: Google::Apis::SlidesV1::CreateLineResponse, decorator: Google::Apis::SlidesV1::CreateLineResponse::Representation + + property :create_shape, as: 'createShape', class: Google::Apis::SlidesV1::CreateShapeResponse, decorator: Google::Apis::SlidesV1::CreateShapeResponse::Representation + + property :create_sheets_chart, as: 'createSheetsChart', class: Google::Apis::SlidesV1::CreateSheetsChartResponse, decorator: Google::Apis::SlidesV1::CreateSheetsChartResponse::Representation + + property :create_slide, as: 'createSlide', class: Google::Apis::SlidesV1::CreateSlideResponse, decorator: Google::Apis::SlidesV1::CreateSlideResponse::Representation + + property :create_table, as: 'createTable', class: Google::Apis::SlidesV1::CreateTableResponse, decorator: Google::Apis::SlidesV1::CreateTableResponse::Representation + + property :create_video, as: 'createVideo', class: Google::Apis::SlidesV1::CreateVideoResponse, decorator: Google::Apis::SlidesV1::CreateVideoResponse::Representation + + property :duplicate_object, as: 'duplicateObject', class: Google::Apis::SlidesV1::DuplicateObjectResponse, decorator: Google::Apis::SlidesV1::DuplicateObjectResponse::Representation + + property :replace_all_shapes_with_image, as: 'replaceAllShapesWithImage', class: Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse::Representation + + property :replace_all_shapes_with_sheets_chart, as: 'replaceAllShapesWithSheetsChart', class: Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartResponse, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartResponse::Representation + + property :replace_all_text, as: 'replaceAllText', class: Google::Apis::SlidesV1::ReplaceAllTextResponse, decorator: Google::Apis::SlidesV1::ReplaceAllTextResponse::Representation + + end + end + + class RgbColor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :blue, as: 'blue' + property :green, as: 'green' + property :red, as: 'red' + end + end + + class Shadow + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alignment, as: 'alignment' + property :alpha, as: 'alpha' + property :blur_radius, as: 'blurRadius', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + property :color, as: 'color', class: Google::Apis::SlidesV1::OpaqueColor, decorator: Google::Apis::SlidesV1::OpaqueColor::Representation + + property :property_state, as: 'propertyState' + property :rotate_with_shape, as: 'rotateWithShape' + property :transform, as: 'transform', class: Google::Apis::SlidesV1::AffineTransform, decorator: Google::Apis::SlidesV1::AffineTransform::Representation + + property :type, as: 'type' + end + end + + class Shape + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :placeholder, as: 'placeholder', class: Google::Apis::SlidesV1::Placeholder, decorator: Google::Apis::SlidesV1::Placeholder::Representation + + property :shape_properties, as: 'shapeProperties', class: Google::Apis::SlidesV1::ShapeProperties, decorator: Google::Apis::SlidesV1::ShapeProperties::Representation + + property :shape_type, as: 'shapeType' + property :text, as: 'text', class: Google::Apis::SlidesV1::TextContent, decorator: Google::Apis::SlidesV1::TextContent::Representation end end @@ -1561,129 +1559,120 @@ module Google end end - class CropProperties + class ShapeProperties # @private class Representation < Google::Apis::Core::JsonRepresentation - property :right_offset, as: 'rightOffset' - property :bottom_offset, as: 'bottomOffset' - property :angle, as: 'angle' - property :top_offset, as: 'topOffset' - property :left_offset, as: 'leftOffset' + property :link, as: 'link', class: Google::Apis::SlidesV1::Link, decorator: Google::Apis::SlidesV1::Link::Representation + + property :outline, as: 'outline', class: Google::Apis::SlidesV1::Outline, decorator: Google::Apis::SlidesV1::Outline::Representation + + property :shadow, as: 'shadow', class: Google::Apis::SlidesV1::Shadow, decorator: Google::Apis::SlidesV1::Shadow::Representation + + property :shape_background_fill, as: 'shapeBackgroundFill', class: Google::Apis::SlidesV1::ShapeBackgroundFill, decorator: Google::Apis::SlidesV1::ShapeBackgroundFill::Representation + end end - class ReplaceAllShapesWithSheetsChartRequest + class SheetsChart # @private class Representation < Google::Apis::Core::JsonRepresentation - property :linking_mode, as: 'linkingMode' - property :spreadsheet_id, as: 'spreadsheetId' - collection :page_object_ids, as: 'pageObjectIds' property :chart_id, as: 'chartId' - property :contains_text, as: 'containsText', class: Google::Apis::SlidesV1::SubstringMatchCriteria, decorator: Google::Apis::SlidesV1::SubstringMatchCriteria::Representation + property :content_url, as: 'contentUrl' + property :sheets_chart_properties, as: 'sheetsChartProperties', class: Google::Apis::SlidesV1::SheetsChartProperties, decorator: Google::Apis::SlidesV1::SheetsChartProperties::Representation + + property :spreadsheet_id, as: 'spreadsheetId' + end + end + + class SheetsChartProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :chart_image_properties, as: 'chartImageProperties', class: Google::Apis::SlidesV1::ImageProperties, decorator: Google::Apis::SlidesV1::ImageProperties::Representation end end - class Range + class Size # @private class Representation < Google::Apis::Core::JsonRepresentation - property :end_index, as: 'endIndex' - property :start_index, as: 'startIndex' - property :type, as: 'type' + property :height, as: 'height', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + property :width, as: 'width', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + end end - class ColorStop + class SlideProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :layout_object_id, as: 'layoutObjectId' + property :master_object_id, as: 'masterObjectId' + property :notes_page, as: 'notesPage', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation + + end + end + + class SolidFill # @private class Representation < Google::Apis::Core::JsonRepresentation - property :position, as: 'position' property :alpha, as: 'alpha' property :color, as: 'color', class: Google::Apis::SlidesV1::OpaqueColor, decorator: Google::Apis::SlidesV1::OpaqueColor::Representation end end - class CreateVideoRequest + class StretchedPictureFill # @private class Representation < Google::Apis::Core::JsonRepresentation - property :source, as: 'source' - property :object_id_prop, as: 'objectId' - property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation - - property :id, as: 'id' - end - end - - class DuplicateObjectResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :object_id_prop, as: 'objectId' - end - end - - class ReplaceAllShapesWithImageRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :image_url, as: 'imageUrl' - property :replace_method, as: 'replaceMethod' - collection :page_object_ids, as: 'pageObjectIds' - property :contains_text, as: 'containsText', class: Google::Apis::SlidesV1::SubstringMatchCriteria, decorator: Google::Apis::SlidesV1::SubstringMatchCriteria::Representation + property :content_url, as: 'contentUrl' + property :size, as: 'size', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation end end - class Shadow + class SubstringMatchCriteria # @private class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :transform, as: 'transform', class: Google::Apis::SlidesV1::AffineTransform, decorator: Google::Apis::SlidesV1::AffineTransform::Representation + property :match_case, as: 'matchCase' + property :text, as: 'text' + end + end - property :alignment, as: 'alignment' - property :alpha, as: 'alpha' - property :color, as: 'color', class: Google::Apis::SlidesV1::OpaqueColor, decorator: Google::Apis::SlidesV1::OpaqueColor::Representation + class Table + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :columns, as: 'columns' + property :rows, as: 'rows' + collection :table_columns, as: 'tableColumns', class: Google::Apis::SlidesV1::TableColumnProperties, decorator: Google::Apis::SlidesV1::TableColumnProperties::Representation - property :rotate_with_shape, as: 'rotateWithShape' + collection :table_rows, as: 'tableRows', class: Google::Apis::SlidesV1::TableRow, decorator: Google::Apis::SlidesV1::TableRow::Representation + + end + end + + class TableCell + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :column_span, as: 'columnSpan' + property :location, as: 'location', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + property :row_span, as: 'rowSpan' + property :table_cell_properties, as: 'tableCellProperties', class: Google::Apis::SlidesV1::TableCellProperties, decorator: Google::Apis::SlidesV1::TableCellProperties::Representation + + property :text, as: 'text', class: Google::Apis::SlidesV1::TextContent, decorator: Google::Apis::SlidesV1::TextContent::Representation + + end + end + + class TableCellBackgroundFill + # @private + class Representation < Google::Apis::Core::JsonRepresentation property :property_state, as: 'propertyState' - property :blur_radius, as: 'blurRadius', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation - - end - end - - class DeleteTableRowRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation - - property :table_object_id, as: 'tableObjectId' - end - end - - class Bullet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :glyph, as: 'glyph' - property :nesting_level, as: 'nestingLevel' - property :bullet_style, as: 'bulletStyle', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation - - property :list_id, as: 'listId' - end - end - - class OutlineFill - # @private - class Representation < Google::Apis::Core::JsonRepresentation property :solid_fill, as: 'solidFill', class: Google::Apis::SlidesV1::SolidFill, decorator: Google::Apis::SlidesV1::SolidFill::Representation end end - class CreateLineResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :object_id_prop, as: 'objectId' - end - end - class TableCellLocation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1692,94 +1681,132 @@ module Google end end - class ReplaceAllTextResponse + class TableCellProperties # @private class Representation < Google::Apis::Core::JsonRepresentation - property :occurrences_changed, as: 'occurrencesChanged' - end - end - - class UpdateParagraphStyleRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :fields, as: 'fields' - property :text_range, as: 'textRange', class: Google::Apis::SlidesV1::Range, decorator: Google::Apis::SlidesV1::Range::Representation - - property :object_id_prop, as: 'objectId' - property :style, as: 'style', class: Google::Apis::SlidesV1::ParagraphStyle, decorator: Google::Apis::SlidesV1::ParagraphStyle::Representation - - property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + property :table_cell_background_fill, as: 'tableCellBackgroundFill', class: Google::Apis::SlidesV1::TableCellBackgroundFill, decorator: Google::Apis::SlidesV1::TableCellBackgroundFill::Representation end end - class ColorScheme + class TableColumnProperties # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :colors, as: 'colors', class: Google::Apis::SlidesV1::ThemeColorPair, decorator: Google::Apis::SlidesV1::ThemeColorPair::Representation + property :column_width, as: 'columnWidth', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation end end - class Shape + class TableRange # @private class Representation < Google::Apis::Core::JsonRepresentation - property :placeholder, as: 'placeholder', class: Google::Apis::SlidesV1::Placeholder, decorator: Google::Apis::SlidesV1::Placeholder::Representation + property :column_span, as: 'columnSpan' + property :location, as: 'location', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation - property :text, as: 'text', class: Google::Apis::SlidesV1::TextContent, decorator: Google::Apis::SlidesV1::TextContent::Representation + property :row_span, as: 'rowSpan' + end + end - property :shape_type, as: 'shapeType' - property :shape_properties, as: 'shapeProperties', class: Google::Apis::SlidesV1::ShapeProperties, decorator: Google::Apis::SlidesV1::ShapeProperties::Representation + class TableRow + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :row_height, as: 'rowHeight', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + collection :table_cells, as: 'tableCells', class: Google::Apis::SlidesV1::TableCell, decorator: Google::Apis::SlidesV1::TableCell::Representation end end - class Image + class TextContent # @private class Representation < Google::Apis::Core::JsonRepresentation - property :content_url, as: 'contentUrl' - property :image_properties, as: 'imageProperties', class: Google::Apis::SlidesV1::ImageProperties, decorator: Google::Apis::SlidesV1::ImageProperties::Representation + hash :lists, as: 'lists', class: Google::Apis::SlidesV1::List, decorator: Google::Apis::SlidesV1::List::Representation + + collection :text_elements, as: 'textElements', class: Google::Apis::SlidesV1::TextElement, decorator: Google::Apis::SlidesV1::TextElement::Representation end end - class AffineTransform + class TextElement # @private class Representation < Google::Apis::Core::JsonRepresentation - property :shear_x, as: 'shearX' - property :scale_y, as: 'scaleY' - property :translate_y, as: 'translateY' - property :translate_x, as: 'translateX' - property :shear_y, as: 'shearY' - property :unit, as: 'unit' - property :scale_x, as: 'scaleX' - end - end + property :auto_text, as: 'autoText', class: Google::Apis::SlidesV1::AutoText, decorator: Google::Apis::SlidesV1::AutoText::Representation - class InsertTextRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :text, as: 'text' - property :object_id_prop, as: 'objectId' - property :insertion_index, as: 'insertionIndex' - property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + property :end_index, as: 'endIndex' + property :paragraph_marker, as: 'paragraphMarker', class: Google::Apis::SlidesV1::ParagraphMarker, decorator: Google::Apis::SlidesV1::ParagraphMarker::Representation + + property :start_index, as: 'startIndex' + property :text_run, as: 'textRun', class: Google::Apis::SlidesV1::TextRun, decorator: Google::Apis::SlidesV1::TextRun::Representation end end - class AutoText + class TextRun # @private class Representation < Google::Apis::Core::JsonRepresentation property :content, as: 'content' - property :type, as: 'type' property :style, as: 'style', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation end end - class CreateVideoResponse + class TextStyle # @private class Representation < Google::Apis::Core::JsonRepresentation + property :background_color, as: 'backgroundColor', class: Google::Apis::SlidesV1::OptionalColor, decorator: Google::Apis::SlidesV1::OptionalColor::Representation + + property :baseline_offset, as: 'baselineOffset' + property :bold, as: 'bold' + property :font_family, as: 'fontFamily' + property :font_size, as: 'fontSize', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + property :foreground_color, as: 'foregroundColor', class: Google::Apis::SlidesV1::OptionalColor, decorator: Google::Apis::SlidesV1::OptionalColor::Representation + + property :italic, as: 'italic' + property :link, as: 'link', class: Google::Apis::SlidesV1::Link, decorator: Google::Apis::SlidesV1::Link::Representation + + property :small_caps, as: 'smallCaps' + property :strikethrough, as: 'strikethrough' + property :underline, as: 'underline' + property :weighted_font_family, as: 'weightedFontFamily', class: Google::Apis::SlidesV1::WeightedFontFamily, decorator: Google::Apis::SlidesV1::WeightedFontFamily::Representation + + end + end + + class ThemeColorPair + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :color, as: 'color', class: Google::Apis::SlidesV1::RgbColor, decorator: Google::Apis::SlidesV1::RgbColor::Representation + + property :type, as: 'type' + end + end + + class Thumbnail + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content_url, as: 'contentUrl' + property :height, as: 'height' + property :width, as: 'width' + end + end + + class UpdateImagePropertiesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fields, as: 'fields' + property :image_properties, as: 'imageProperties', class: Google::Apis::SlidesV1::ImageProperties, decorator: Google::Apis::SlidesV1::ImageProperties::Representation + + property :object_id_prop, as: 'objectId' + end + end + + class UpdateLinePropertiesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fields, as: 'fields' + property :line_properties, as: 'lineProperties', class: Google::Apis::SlidesV1::LineProperties, decorator: Google::Apis::SlidesV1::LineProperties::Representation + property :object_id_prop, as: 'objectId' end end @@ -1787,57 +1814,98 @@ module Google class UpdatePageElementTransformRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :apply_mode, as: 'applyMode' + property :object_id_prop, as: 'objectId' property :transform, as: 'transform', class: Google::Apis::SlidesV1::AffineTransform, decorator: Google::Apis::SlidesV1::AffineTransform::Representation - property :object_id_prop, as: 'objectId' - property :apply_mode, as: 'applyMode' end end - class DeleteTextRequest + class UpdatePagePropertiesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :text_range, as: 'textRange', class: Google::Apis::SlidesV1::Range, decorator: Google::Apis::SlidesV1::Range::Representation - + property :fields, as: 'fields' property :object_id_prop, as: 'objectId' + property :page_properties, as: 'pageProperties', class: Google::Apis::SlidesV1::PageProperties, decorator: Google::Apis::SlidesV1::PageProperties::Representation + + end + end + + class UpdateParagraphStyleRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation - end - end - - class DeleteObjectRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation + property :fields, as: 'fields' property :object_id_prop, as: 'objectId' - end - end + property :style, as: 'style', class: Google::Apis::SlidesV1::ParagraphStyle, decorator: Google::Apis::SlidesV1::ParagraphStyle::Representation - class TextElement - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :end_index, as: 'endIndex' - property :start_index, as: 'startIndex' - property :text_run, as: 'textRun', class: Google::Apis::SlidesV1::TextRun, decorator: Google::Apis::SlidesV1::TextRun::Representation - - property :auto_text, as: 'autoText', class: Google::Apis::SlidesV1::AutoText, decorator: Google::Apis::SlidesV1::AutoText::Representation - - property :paragraph_marker, as: 'paragraphMarker', class: Google::Apis::SlidesV1::ParagraphMarker, decorator: Google::Apis::SlidesV1::ParagraphMarker::Representation + property :text_range, as: 'textRange', class: Google::Apis::SlidesV1::Range, decorator: Google::Apis::SlidesV1::Range::Representation end end - class Dimension + class UpdateShapePropertiesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :magnitude, as: 'magnitude' - property :unit, as: 'unit' + property :fields, as: 'fields' + property :object_id_prop, as: 'objectId' + property :shape_properties, as: 'shapeProperties', class: Google::Apis::SlidesV1::ShapeProperties, decorator: Google::Apis::SlidesV1::ShapeProperties::Representation + end end - class LineFill + class UpdateSlidesPositionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :solid_fill, as: 'solidFill', class: Google::Apis::SlidesV1::SolidFill, decorator: Google::Apis::SlidesV1::SolidFill::Representation + property :insertion_index, as: 'insertionIndex' + collection :slide_object_ids, as: 'slideObjectIds' + end + end + + class UpdateTableCellPropertiesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fields, as: 'fields' + property :object_id_prop, as: 'objectId' + property :table_cell_properties, as: 'tableCellProperties', class: Google::Apis::SlidesV1::TableCellProperties, decorator: Google::Apis::SlidesV1::TableCellProperties::Representation + + property :table_range, as: 'tableRange', class: Google::Apis::SlidesV1::TableRange, decorator: Google::Apis::SlidesV1::TableRange::Representation + + end + end + + class UpdateTextStyleRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + property :fields, as: 'fields' + property :object_id_prop, as: 'objectId' + property :style, as: 'style', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation + + property :text_range, as: 'textRange', class: Google::Apis::SlidesV1::Range, decorator: Google::Apis::SlidesV1::Range::Representation + + end + end + + class UpdateVideoPropertiesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fields, as: 'fields' + property :object_id_prop, as: 'objectId' + property :video_properties, as: 'videoProperties', class: Google::Apis::SlidesV1::VideoProperties, decorator: Google::Apis::SlidesV1::VideoProperties::Representation + + end + end + + class Video + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :source, as: 'source' + property :url, as: 'url' + property :video_properties, as: 'videoProperties', class: Google::Apis::SlidesV1::VideoProperties, decorator: Google::Apis::SlidesV1::VideoProperties::Representation end end @@ -1850,93 +1918,25 @@ module Google end end - class InsertTableRowsRequest + class WeightedFontFamily # @private class Representation < Google::Apis::Core::JsonRepresentation - property :table_object_id, as: 'tableObjectId' - property :insert_below, as: 'insertBelow' - property :number, as: 'number' - property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation - + property :font_family, as: 'fontFamily' + property :weight, as: 'weight' end end - class LayoutProperties + class WordArt # @private class Representation < Google::Apis::Core::JsonRepresentation - property :master_object_id, as: 'masterObjectId' - property :name, as: 'name' - property :display_name, as: 'displayName' + property :rendered_text, as: 'renderedText' end end - class LineProperties + class WriteControl # @private class Representation < Google::Apis::Core::JsonRepresentation - property :weight, as: 'weight', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation - - property :line_fill, as: 'lineFill', class: Google::Apis::SlidesV1::LineFill, decorator: Google::Apis::SlidesV1::LineFill::Representation - - property :link, as: 'link', class: Google::Apis::SlidesV1::Link, decorator: Google::Apis::SlidesV1::Link::Representation - - property :dash_style, as: 'dashStyle' - property :end_arrow, as: 'endArrow' - property :start_arrow, as: 'startArrow' - end - end - - class Presentation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :layouts, as: 'layouts', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation - - property :title, as: 'title' - collection :masters, as: 'masters', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation - - property :locale, as: 'locale' - property :page_size, as: 'pageSize', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation - - property :presentation_id, as: 'presentationId' - collection :slides, as: 'slides', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation - - property :revision_id, as: 'revisionId' - property :notes_master, as: 'notesMaster', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation - - end - end - - class OpaqueColor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :rgb_color, as: 'rgbColor', class: Google::Apis::SlidesV1::RgbColor, decorator: Google::Apis::SlidesV1::RgbColor::Representation - - property :theme_color, as: 'themeColor' - end - end - - class ImageProperties - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :crop_properties, as: 'cropProperties', class: Google::Apis::SlidesV1::CropProperties, decorator: Google::Apis::SlidesV1::CropProperties::Representation - - property :recolor, as: 'recolor', class: Google::Apis::SlidesV1::Recolor, decorator: Google::Apis::SlidesV1::Recolor::Representation - - property :outline, as: 'outline', class: Google::Apis::SlidesV1::Outline, decorator: Google::Apis::SlidesV1::Outline::Representation - - property :brightness, as: 'brightness' - property :transparency, as: 'transparency' - property :shadow, as: 'shadow', class: Google::Apis::SlidesV1::Shadow, decorator: Google::Apis::SlidesV1::Shadow::Representation - - property :contrast, as: 'contrast' - property :link, as: 'link', class: Google::Apis::SlidesV1::Link, decorator: Google::Apis::SlidesV1::Link::Representation - - end - end - - class ReplaceAllShapesWithImageResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :occurrences_changed, as: 'occurrencesChanged' + property :required_revision_id, as: 'requiredRevisionId' end end end diff --git a/generated/google/apis/slides_v1/service.rb b/generated/google/apis/slides_v1/service.rb index 4898318f4..8c1e38416 100644 --- a/generated/google/apis/slides_v1/service.rb +++ b/generated/google/apis/slides_v1/service.rb @@ -47,36 +47,6 @@ module Google @batch_path = 'batch' end - # Gets the latest version of the specified presentation. - # @param [String] presentation_id - # The ID of the presentation to retrieve. - # @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::SlidesV1::Presentation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SlidesV1::Presentation] - # - # @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_presentation(presentation_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/presentations/{+presentationId}', options) - command.response_representation = Google::Apis::SlidesV1::Presentation::Representation - command.response_class = Google::Apis::SlidesV1::Presentation - command.params['presentationId'] = presentation_id unless presentation_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 - # Applies one or more updates to the presentation. # Each request is validated before # being applied. If any request is not valid, then the entire request will @@ -158,6 +128,36 @@ module Google execute_or_queue_command(command, &block) end + # Gets the latest version of the specified presentation. + # @param [String] presentation_id + # The ID of the presentation to retrieve. + # @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::SlidesV1::Presentation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SlidesV1::Presentation] + # + # @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_presentation(presentation_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/presentations/{+presentationId}', options) + command.response_representation = Google::Apis::SlidesV1::Presentation::Representation + command.response_class = Google::Apis::SlidesV1::Presentation + command.params['presentationId'] = presentation_id unless presentation_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 version of the specified page in the presentation. # @param [String] presentation_id # The ID of the presentation to retrieve. @@ -197,13 +197,13 @@ module Google # The ID of the presentation to retrieve. # @param [String] page_object_id # The object ID of the page whose thumbnail to retrieve. + # @param [String] thumbnail_properties_mime_type + # The optional mime type of the thumbnail image. + # If you don't specify the mime type, the default mime type will be PNG. # @param [String] thumbnail_properties_thumbnail_size # The optional thumbnail image size. # If you don't specify the size, the server chooses a default size of the # image. - # @param [String] thumbnail_properties_mime_type - # The optional mime type of the thumbnail image. - # If you don't specify the mime type, the default mime type will be PNG. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -221,14 +221,14 @@ 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_presentation_page_thumbnail(presentation_id, page_object_id, thumbnail_properties_thumbnail_size: nil, thumbnail_properties_mime_type: nil, fields: nil, quota_user: nil, options: nil, &block) + def get_presentation_page_thumbnail(presentation_id, page_object_id, thumbnail_properties_mime_type: nil, thumbnail_properties_thumbnail_size: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/presentations/{presentationId}/pages/{pageObjectId}/thumbnail', options) command.response_representation = Google::Apis::SlidesV1::Thumbnail::Representation command.response_class = Google::Apis::SlidesV1::Thumbnail command.params['presentationId'] = presentation_id unless presentation_id.nil? command.params['pageObjectId'] = page_object_id unless page_object_id.nil? - command.query['thumbnailProperties.thumbnailSize'] = thumbnail_properties_thumbnail_size unless thumbnail_properties_thumbnail_size.nil? command.query['thumbnailProperties.mimeType'] = thumbnail_properties_mime_type unless thumbnail_properties_mime_type.nil? + command.query['thumbnailProperties.thumbnailSize'] = thumbnail_properties_thumbnail_size unless thumbnail_properties_thumbnail_size.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/sourcerepo_v1.rb b/generated/google/apis/sourcerepo_v1.rb index 45b7a7e45..94214fcf7 100644 --- a/generated/google/apis/sourcerepo_v1.rb +++ b/generated/google/apis/sourcerepo_v1.rb @@ -27,14 +27,14 @@ module Google VERSION = 'V1' REVISION = '20170528' + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + # View the contents of your source code repositories AUTH_SOURCE_READ_ONLY = 'https://www.googleapis.com/auth/source.read_only' # Manage the contents of your source code repositories AUTH_SOURCE_READ_WRITE = 'https://www.googleapis.com/auth/source.read_write' - - # 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/sourcerepo_v1/classes.rb b/generated/google/apis/sourcerepo_v1/classes.rb index e2346cebb..cba57dc81 100644 --- a/generated/google/apis/sourcerepo_v1/classes.rb +++ b/generated/google/apis/sourcerepo_v1/classes.rb @@ -102,6 +102,507 @@ module Google end end + # Provides the configuration for logging a type of permissions. + # Example: + # ` + # "audit_log_configs": [ + # ` + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:foo@gmail.com" + # ] + # `, + # ` + # "log_type": "DATA_WRITE", + # ` + # ] + # ` + # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting + # foo@gmail.com from DATA_READ logging. + class AuditLogConfig + include Google::Apis::Core::Hashable + + # Specifies the identities that do not cause logging for this type of + # permission. + # Follows the same format of Binding.members. + # Corresponds to the JSON property `exemptedMembers` + # @return [Array] + attr_accessor :exempted_members + + # The log type that this config enables. + # Corresponds to the JSON property `logType` + # @return [String] + attr_accessor :log_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @log_type = args[:log_type] if args.key?(:log_type) + end + end + + # Associates `members` with a `role`. + class Binding + include Google::Apis::Core::Hashable + + # Specifies the identities requesting access for a Cloud Platform resource. + # `members` can have the following values: + # * `allUsers`: A special identifier that represents anyone who is + # on the internet; with or without a Google account. + # * `allAuthenticatedUsers`: A special identifier that represents anyone + # who is authenticated with a Google account or a service account. + # * `user:`emailid``: An email address that represents a specific Google + # account. For example, `alice@gmail.com` or `joe@example.com`. + # * `serviceAccount:`emailid``: An email address that represents a service + # account. For example, `my-other-app@appspot.gserviceaccount.com`. + # * `group:`emailid``: An email address that represents a Google group. + # For example, `admins@example.com`. + # * `domain:`domain``: A Google Apps domain name that represents all the + # users of that domain. For example, `google.com` or `example.com`. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members + + # Role that is assigned to `members`. + # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + # Required + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @members = args[:members] if args.key?(:members) + @role = args[:role] if args.key?(:role) + end + end + + # Write a Cloud Audit log + class CloudAuditOptions + include Google::Apis::Core::Hashable + + # The log_name to populate in the Cloud Audit Record. + # Corresponds to the JSON property `logName` + # @return [String] + attr_accessor :log_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @log_name = args[:log_name] if args.key?(:log_name) + 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 + + # An operator to apply the subject with. + # Corresponds to the JSON property `op` + # @return [String] + attr_accessor :op + + # Trusted attributes discharged by the service. + # Corresponds to the JSON property `svc` + # @return [String] + attr_accessor :svc + + # 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 + + # DEPRECATED. Use 'values' instead. + # 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) + @op = args[:op] if args.key?(:op) + @svc = args[:svc] if args.key?(:svc) + @sys = args[:sys] if args.key?(:sys) + @value = args[:value] if args.key?(:value) + @values = args[:values] if args.key?(:values) + end + end + + # Options for counters + class CounterOptions + include Google::Apis::Core::Hashable + + # The field value to attribute. + # Corresponds to the JSON property `field` + # @return [String] + attr_accessor :field + + # The metric to update. + # Corresponds to the JSON property `metric` + # @return [String] + attr_accessor :metric + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field = args[:field] if args.key?(:field) + @metric = args[:metric] if args.key?(:metric) + 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 + + # 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 + + # Response for ListRepos. The size is not set in the returned repositories. + class ListReposResponse + include Google::Apis::Core::Hashable + + # If non-empty, additional repositories exist within the project. These + # can be retrieved by including this value in the next ListReposRequest's + # page_token field. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The listed repos. + # Corresponds to the JSON property `repos` + # @return [Array] + attr_accessor :repos + + 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) + @repos = args[:repos] if args.key?(:repos) + end + end + + # Specifies what kind of log the caller must write + class LogConfig + include Google::Apis::Core::Hashable + + # Write a Cloud Audit log + # Corresponds to the JSON property `cloudAudit` + # @return [Google::Apis::SourcerepoV1::CloudAuditOptions] + attr_accessor :cloud_audit + + # Options for counters + # Corresponds to the JSON property `counter` + # @return [Google::Apis::SourcerepoV1::CounterOptions] + attr_accessor :counter + + # Write a Data Access (Gin) log + # Corresponds to the JSON property `dataAccess` + # @return [Google::Apis::SourcerepoV1::DataAccessOptions] + attr_accessor :data_access + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit) + @counter = args[:counter] if args.key?(:counter) + @data_access = args[:data_access] if args.key?(:data_access) + end + end + + # Configuration to automatically mirror a repository from another + # hosting service, for example GitHub or BitBucket. + class MirrorConfig + include Google::Apis::Core::Hashable + + # ID of the SSH deploy key at the other hosting service. + # Removing this key from the other service would deauthorize + # Google Cloud Source Repositories from mirroring. + # Corresponds to the JSON property `deployKeyId` + # @return [String] + attr_accessor :deploy_key_id + + # URL of the main repository at the other hosting service. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + # ID of the webhook listening to updates to trigger mirroring. + # Removing this webook from the other hosting service will stop + # Google Cloud Source Repositories from receiving notifications, + # and thereby disabling mirroring. + # Corresponds to the JSON property `webhookId` + # @return [String] + attr_accessor :webhook_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @deploy_key_id = args[:deploy_key_id] if args.key?(:deploy_key_id) + @url = args[:url] if args.key?(:url) + @webhook_id = args[:webhook_id] if args.key?(:webhook_id) + end + end + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service 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:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + class Policy + include Google::Apis::Core::Hashable + + # Specifies cloud audit logging configuration for this policy. + # Corresponds to the JSON property `auditConfigs` + # @return [Array] + attr_accessor :audit_configs + + # Associates a list of `members` to a `role`. + # Multiple `bindings` must not be specified for the same `role`. + # `bindings` with no members will result in an error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + + # `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 to perform policy updates in order to avoid race + # conditions: An `etag` is returned in the response to `getIamPolicy`, and + # systems are expected to put that etag in the request to `setIamPolicy` to + # ensure that their change will be applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :etag + + # + # Corresponds to the JSON property `iamOwned` + # @return [Boolean] + attr_accessor :iam_owned + alias_method :iam_owned?, :iam_owned + + # If more than one rule is specified, the rules are applied in the following + # manner: + # - All matching LOG rules are always applied. + # - If any DENY/DENY_WITH_LOG rule matches, permission is denied. + # Logging will be applied if one or more matching rule requires logging. + # - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is + # granted. + # Logging will be applied if one or more matching rule requires logging. + # - Otherwise, if no rule applies, permission is denied. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + # Version of the `Policy`. The default version is 0. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audit_configs = args[:audit_configs] if args.key?(:audit_configs) + @bindings = args[:bindings] if args.key?(:bindings) + @etag = args[:etag] if args.key?(:etag) + @iam_owned = args[:iam_owned] if args.key?(:iam_owned) + @rules = args[:rules] if args.key?(:rules) + @version = args[:version] if args.key?(:version) + end + end + + # A repository (or repo) is a Git repository storing versioned source content. + class Repo + include Google::Apis::Core::Hashable + + # Configuration to automatically mirror a repository from another + # hosting service, for example GitHub or BitBucket. + # Corresponds to the JSON property `mirrorConfig` + # @return [Google::Apis::SourcerepoV1::MirrorConfig] + attr_accessor :mirror_config + + # Resource name of the repository, of the form + # `projects//repos/`. The repo name may contain slashes. + # eg, `projects/myproject/repos/name/with/slash` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The disk usage of the repo, in bytes. + # Only returned by GetRepo. + # Corresponds to the JSON property `size` + # @return [Fixnum] + attr_accessor :size + + # URL to clone the repository from Google Cloud Source Repositories. + # 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) + @mirror_config = args[:mirror_config] if args.key?(:mirror_config) + @name = args[:name] if args.key?(:name) + @size = args[:size] if args.key?(:size) + @url = args[:url] if args.key?(:url) + end + end + + # A rule to be applied in a Policy. + class Rule + include Google::Apis::Core::Hashable + + # Required + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # Additional restrictions that must be met + # Corresponds to the JSON property `conditions` + # @return [Array] + attr_accessor :conditions + + # Human-readable description of the rule. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # If one or more 'in' clauses are specified, the rule matches if + # the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. + # Corresponds to the JSON property `in` + # @return [Array] + attr_accessor :in + + # 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 + + # If one or more 'not_in' clauses are specified, the rule matches + # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the 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 + + # 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 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @action = args[:action] if args.key?(:action) + @conditions = args[:conditions] if args.key?(:conditions) + @description = args[:description] if args.key?(:description) + @in = args[:in] if args.key?(:in) + @log_config = args[:log_config] if args.key?(:log_config) + @not_in = args[:not_in] if args.key?(:not_in) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + # Request message for `SetIamPolicy` method. class SetIamPolicyRequest include Google::Apis::Core::Hashable @@ -156,420 +657,6 @@ module Google end end - # Write a Cloud Audit log - class CloudAuditOptions - include Google::Apis::Core::Hashable - - # The log_name to populate in the Cloud Audit Record. - # Corresponds to the JSON property `logName` - # @return [String] - attr_accessor :log_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @log_name = args[:log_name] if args.key?(:log_name) - end - end - - # Associates `members` with a `role`. - class Binding - include Google::Apis::Core::Hashable - - # Specifies the identities requesting access for a Cloud Platform resource. - # `members` can have the following values: - # * `allUsers`: A special identifier that represents anyone who is - # on the internet; with or without a Google account. - # * `allAuthenticatedUsers`: A special identifier that represents anyone - # who is authenticated with a Google account or a service account. - # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@gmail.com` or `joe@example.com`. - # * `serviceAccount:`emailid``: An email address that represents a service - # account. For example, `my-other-app@appspot.gserviceaccount.com`. - # * `group:`emailid``: An email address that represents a Google group. - # For example, `admins@example.com`. - # * `domain:`domain``: A Google Apps domain name that represents all the - # users of that domain. For example, `google.com` or `example.com`. - # Corresponds to the JSON property `members` - # @return [Array] - attr_accessor :members - - # Role that is assigned to `members`. - # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. - # Required - # Corresponds to the JSON property `role` - # @return [String] - attr_accessor :role - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @members = args[:members] if args.key?(:members) - @role = args[:role] if args.key?(:role) - end - end - - # Configuration to automatically mirror a repository from another - # hosting service, for example GitHub or BitBucket. - class MirrorConfig - include Google::Apis::Core::Hashable - - # URL of the main repository at the other hosting service. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # ID of the webhook listening to updates to trigger mirroring. - # Removing this webook from the other hosting service will stop - # Google Cloud Source Repositories from receiving notifications, - # and thereby disabling mirroring. - # Corresponds to the JSON property `webhookId` - # @return [String] - attr_accessor :webhook_id - - # ID of the SSH deploy key at the other hosting service. - # Removing this key from the other service would deauthorize - # Google Cloud Source Repositories from mirroring. - # Corresponds to the JSON property `deployKeyId` - # @return [String] - attr_accessor :deploy_key_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @url = args[:url] if args.key?(:url) - @webhook_id = args[:webhook_id] if args.key?(:webhook_id) - @deploy_key_id = args[:deploy_key_id] if args.key?(:deploy_key_id) - 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 - - # A repository (or repo) is a Git repository storing versioned source content. - class Repo - include Google::Apis::Core::Hashable - - # Resource name of the repository, of the form - # `projects//repos/`. The repo name may contain slashes. - # eg, `projects/myproject/repos/name/with/slash` - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Configuration to automatically mirror a repository from another - # hosting service, for example GitHub or BitBucket. - # Corresponds to the JSON property `mirrorConfig` - # @return [Google::Apis::SourcerepoV1::MirrorConfig] - attr_accessor :mirror_config - - # URL to clone the repository from Google Cloud Source Repositories. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # The disk usage of the repo, in bytes. - # Only returned by GetRepo. - # Corresponds to the JSON property `size` - # @return [Fixnum] - attr_accessor :size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @mirror_config = args[:mirror_config] if args.key?(:mirror_config) - @url = args[:url] if args.key?(:url) - @size = args[:size] if args.key?(:size) - end - end - - # Response for ListRepos. The size is not set in the returned repositories. - class ListReposResponse - include Google::Apis::Core::Hashable - - # The listed repos. - # Corresponds to the JSON property `repos` - # @return [Array] - attr_accessor :repos - - # If non-empty, additional repositories exist within the project. These - # can be retrieved by including this value in the next ListReposRequest's - # page_token field. - # 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) - @repos = args[:repos] if args.key?(:repos) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # Response message for `TestIamPermissions` method. - class TestIamPermissionsResponse - include Google::Apis::Core::Hashable - - # A subset of `TestPermissionsRequest.permissions` that the caller is - # allowed. - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - end - end - - # A condition to be met. - class Condition - include Google::Apis::Core::Hashable - - # 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 - - # DEPRECATED. Use 'values' instead. - # 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 - - # Trusted attributes supplied by the IAM system. - # Corresponds to the JSON property `iam` - # @return [String] - attr_accessor :iam - - # An operator to apply the subject with. - # Corresponds to the JSON property `op` - # @return [String] - attr_accessor :op - - # Trusted attributes discharged by the service. - # Corresponds to the JSON property `svc` - # @return [String] - attr_accessor :svc - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sys = args[:sys] if args.key?(:sys) - @value = args[:value] if args.key?(:value) - @values = args[:values] if args.key?(:values) - @iam = args[:iam] if args.key?(:iam) - @op = args[:op] if args.key?(:op) - @svc = args[:svc] if args.key?(:svc) - end - end - - # Options for counters - class CounterOptions - include Google::Apis::Core::Hashable - - # The field value to attribute. - # Corresponds to the JSON property `field` - # @return [String] - attr_accessor :field - - # The metric to update. - # Corresponds to the JSON property `metric` - # @return [String] - attr_accessor :metric - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @field = args[:field] if args.key?(:field) - @metric = args[:metric] if args.key?(:metric) - end - end - - # Provides the configuration for logging a type of permissions. - # Example: - # ` - # "audit_log_configs": [ - # ` - # "log_type": "DATA_READ", - # "exempted_members": [ - # "user:foo@gmail.com" - # ] - # `, - # ` - # "log_type": "DATA_WRITE", - # ` - # ] - # ` - # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting - # foo@gmail.com from DATA_READ logging. - class AuditLogConfig - include Google::Apis::Core::Hashable - - # Specifies the identities that do not cause logging for this type of - # permission. - # Follows the same format of Binding.members. - # Corresponds to the JSON property `exemptedMembers` - # @return [Array] - attr_accessor :exempted_members - - # The log type that this config enables. - # Corresponds to the JSON property `logType` - # @return [String] - attr_accessor :log_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @exempted_members = args[:exempted_members] if args.key?(:exempted_members) - @log_type = args[:log_type] if args.key?(:log_type) - end - end - - # A rule to be applied in a Policy. - class Rule - include Google::Apis::Core::Hashable - - # 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 - - # If one or more 'in' clauses are specified, the rule matches if - # the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. - # Corresponds to the JSON property `in` - # @return [Array] - attr_accessor :in - - # 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 - - # If one or more 'not_in' clauses are specified, the rule matches - # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the 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 - - # Human-readable description of the rule. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Additional restrictions that must be met - # Corresponds to the JSON property `conditions` - # @return [Array] - attr_accessor :conditions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @log_config = args[:log_config] if args.key?(:log_config) - @in = args[:in] if args.key?(:in) - @permissions = args[:permissions] if args.key?(:permissions) - @action = args[:action] if args.key?(:action) - @not_in = args[:not_in] if args.key?(:not_in) - @description = args[:description] if args.key?(:description) - @conditions = args[:conditions] if args.key?(:conditions) - end - end - - # Specifies what kind of log the caller must write - class LogConfig - include Google::Apis::Core::Hashable - - # Options for counters - # Corresponds to the JSON property `counter` - # @return [Google::Apis::SourcerepoV1::CounterOptions] - attr_accessor :counter - - # Write a Data Access (Gin) log - # Corresponds to the JSON property `dataAccess` - # @return [Google::Apis::SourcerepoV1::DataAccessOptions] - attr_accessor :data_access - - # Write a Cloud Audit log - # Corresponds to the JSON property `cloudAudit` - # @return [Google::Apis::SourcerepoV1::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 - # Request message for `TestIamPermissions` method. class TestIamPermissionsRequest include Google::Apis::Core::Hashable @@ -592,103 +679,15 @@ module Google end end - # Defines an Identity and Access Management (IAM) policy. It is used to - # specify access control policies for Cloud Platform resources. - # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of - # `members` to a `role`, where the members can be user accounts, Google groups, - # Google domains, and service 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:sean@example.com"] - # ` - # ] - # ` - # For a description of IAM and its features, see the - # [IAM developer's guide](https://cloud.google.com/iam). - class Policy + # Response message for `TestIamPermissions` method. + class TestIamPermissionsResponse include Google::Apis::Core::Hashable - # `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 to perform policy updates in order to avoid race - # conditions: An `etag` is returned in the response to `getIamPolicy`, and - # systems are expected to put that etag in the request to `setIamPolicy` to - # ensure that their change will be applied to the same version of the policy. - # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. - # Corresponds to the JSON property `etag` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :etag - - # - # Corresponds to the JSON property `iamOwned` - # @return [Boolean] - attr_accessor :iam_owned - alias_method :iam_owned?, :iam_owned - - # If more than one rule is specified, the rules are applied in the following - # manner: - # - All matching LOG rules are always applied. - # - If any DENY/DENY_WITH_LOG rule matches, permission is denied. - # Logging will be applied if one or more matching rule requires logging. - # - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is - # granted. - # Logging will be applied if one or more matching rule requires logging. - # - Otherwise, if no rule applies, permission is denied. - # Corresponds to the JSON property `rules` - # @return [Array] - attr_accessor :rules - - # Version of the `Policy`. The default version is 0. - # Corresponds to the JSON property `version` - # @return [Fixnum] - attr_accessor :version - - # Specifies cloud audit logging configuration for this policy. - # Corresponds to the JSON property `auditConfigs` - # @return [Array] - attr_accessor :audit_configs - - # Associates a list of `members` to a `role`. - # Multiple `bindings` must not be specified for the same `role`. - # `bindings` with no members will result in an error. - # Corresponds to the JSON property `bindings` - # @return [Array] - attr_accessor :bindings - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @etag = args[:etag] if args.key?(:etag) - @iam_owned = args[:iam_owned] if args.key?(:iam_owned) - @rules = args[:rules] if args.key?(:rules) - @version = args[:version] if args.key?(:version) - @audit_configs = args[:audit_configs] if args.key?(:audit_configs) - @bindings = args[:bindings] if args.key?(:bindings) - end - end - - # Write a Data Access (Gin) log - class DataAccessOptions - include Google::Apis::Core::Hashable + # A subset of `TestPermissionsRequest.permissions` that the caller is + # allowed. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions def initialize(**args) update!(**args) @@ -696,6 +695,7 @@ module Google # Update properties of this object def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) end end end diff --git a/generated/google/apis/sourcerepo_v1/representations.rb b/generated/google/apis/sourcerepo_v1/representations.rb index 7b325033d..ec8cdc9ec 100644 --- a/generated/google/apis/sourcerepo_v1/representations.rb +++ b/generated/google/apis/sourcerepo_v1/representations.rb @@ -28,13 +28,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class SetIamPolicyRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CloudAuditOptions + class AuditLogConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -46,31 +40,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class MirrorConfig - 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 Repo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListReposResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestIamPermissionsResponse + class CloudAuditOptions class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -88,13 +58,19 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class AuditLogConfig + class DataAccessOptions class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Rule + class Empty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListReposResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -106,7 +82,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class TestIamPermissionsRequest + class MirrorConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -118,7 +94,31 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class DataAccessOptions + class Repo + 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 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 @@ -134,19 +134,11 @@ module Google end end - class SetIamPolicyRequest + class AuditLogConfig # @private class Representation < Google::Apis::Core::JsonRepresentation - property :policy, as: 'policy', class: Google::Apis::SourcerepoV1::Policy, decorator: Google::Apis::SourcerepoV1::Policy::Representation - - property :update_mask, as: 'updateMask' - end - end - - class CloudAuditOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :log_name, as: 'logName' + collection :exempted_members, as: 'exemptedMembers' + property :log_type, as: 'logType' end end @@ -158,57 +150,22 @@ module Google end end - class MirrorConfig + class CloudAuditOptions # @private class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' - property :webhook_id, as: 'webhookId' - property :deploy_key_id, as: 'deployKeyId' - end - end - - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class Repo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :mirror_config, as: 'mirrorConfig', class: Google::Apis::SourcerepoV1::MirrorConfig, decorator: Google::Apis::SourcerepoV1::MirrorConfig::Representation - - property :url, as: 'url' - property :size, :numeric_string => true, as: 'size' - end - end - - class ListReposResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :repos, as: 'repos', class: Google::Apis::SourcerepoV1::Repo, decorator: Google::Apis::SourcerepoV1::Repo::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class TestIamPermissionsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions' + property :log_name, as: 'logName' end end class Condition # @private class Representation < Google::Apis::Core::JsonRepresentation - property :sys, as: 'sys' - property :value, as: 'value' - collection :values, as: 'values' property :iam, as: 'iam' property :op, as: 'op' property :svc, as: 'svc' + property :sys, as: 'sys' + property :value, as: 'value' + collection :values, as: 'values' end end @@ -220,25 +177,23 @@ module Google end end - class AuditLogConfig + class DataAccessOptions # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :exempted_members, as: 'exemptedMembers' - property :log_type, as: 'logType' end end - class Rule + class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :log_config, as: 'logConfig', class: Google::Apis::SourcerepoV1::LogConfig, decorator: Google::Apis::SourcerepoV1::LogConfig::Representation + end + end - collection :in, as: 'in' - collection :permissions, as: 'permissions' - property :action, as: 'action' - collection :not_in, as: 'notIn' - property :description, as: 'description' - collection :conditions, as: 'conditions', class: Google::Apis::SourcerepoV1::Condition, decorator: Google::Apis::SourcerepoV1::Condition::Representation + class ListReposResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :repos, as: 'repos', class: Google::Apis::SourcerepoV1::Repo, decorator: Google::Apis::SourcerepoV1::Repo::Representation end end @@ -246,12 +201,71 @@ module Google class LogConfig # @private class Representation < Google::Apis::Core::JsonRepresentation + property :cloud_audit, as: 'cloudAudit', class: Google::Apis::SourcerepoV1::CloudAuditOptions, decorator: Google::Apis::SourcerepoV1::CloudAuditOptions::Representation + property :counter, as: 'counter', class: Google::Apis::SourcerepoV1::CounterOptions, decorator: Google::Apis::SourcerepoV1::CounterOptions::Representation property :data_access, as: 'dataAccess', class: Google::Apis::SourcerepoV1::DataAccessOptions, decorator: Google::Apis::SourcerepoV1::DataAccessOptions::Representation - property :cloud_audit, as: 'cloudAudit', class: Google::Apis::SourcerepoV1::CloudAuditOptions, decorator: Google::Apis::SourcerepoV1::CloudAuditOptions::Representation + end + end + class MirrorConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :deploy_key_id, as: 'deployKeyId' + property :url, as: 'url' + property :webhook_id, as: 'webhookId' + end + end + + class Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :audit_configs, as: 'auditConfigs', class: Google::Apis::SourcerepoV1::AuditConfig, decorator: Google::Apis::SourcerepoV1::AuditConfig::Representation + + collection :bindings, as: 'bindings', class: Google::Apis::SourcerepoV1::Binding, decorator: Google::Apis::SourcerepoV1::Binding::Representation + + property :etag, :base64 => true, as: 'etag' + property :iam_owned, as: 'iamOwned' + collection :rules, as: 'rules', class: Google::Apis::SourcerepoV1::Rule, decorator: Google::Apis::SourcerepoV1::Rule::Representation + + property :version, as: 'version' + end + end + + class Repo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :mirror_config, as: 'mirrorConfig', class: Google::Apis::SourcerepoV1::MirrorConfig, decorator: Google::Apis::SourcerepoV1::MirrorConfig::Representation + + property :name, as: 'name' + property :size, :numeric_string => true, as: 'size' + property :url, as: 'url' + end + end + + class Rule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :action, as: 'action' + collection :conditions, as: 'conditions', class: Google::Apis::SourcerepoV1::Condition, decorator: Google::Apis::SourcerepoV1::Condition::Representation + + property :description, as: 'description' + collection :in, as: 'in' + collection :log_config, as: 'logConfig', class: Google::Apis::SourcerepoV1::LogConfig, decorator: Google::Apis::SourcerepoV1::LogConfig::Representation + + collection :not_in, as: 'notIn' + collection :permissions, as: 'permissions' + end + end + + class SetIamPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :policy, as: 'policy', class: Google::Apis::SourcerepoV1::Policy, decorator: Google::Apis::SourcerepoV1::Policy::Representation + + property :update_mask, as: 'updateMask' end end @@ -262,24 +276,10 @@ module Google end end - class Policy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :etag, :base64 => true, as: 'etag' - property :iam_owned, as: 'iamOwned' - collection :rules, as: 'rules', class: Google::Apis::SourcerepoV1::Rule, decorator: Google::Apis::SourcerepoV1::Rule::Representation - - property :version, as: 'version' - collection :audit_configs, as: 'auditConfigs', class: Google::Apis::SourcerepoV1::AuditConfig, decorator: Google::Apis::SourcerepoV1::AuditConfig::Representation - - collection :bindings, as: 'bindings', class: Google::Apis::SourcerepoV1::Binding, decorator: Google::Apis::SourcerepoV1::Binding::Representation - - end - end - - class DataAccessOptions + class TestIamPermissionsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' end end end diff --git a/generated/google/apis/sourcerepo_v1/service.rb b/generated/google/apis/sourcerepo_v1/service.rb index cddcfd970..f227acd1f 100644 --- a/generated/google/apis/sourcerepo_v1/service.rb +++ b/generated/google/apis/sourcerepo_v1/service.rb @@ -47,48 +47,18 @@ module Google @batch_path = 'batch' end - # Gets the access control policy for a resource. - # Returns an empty policy if the resource exists and does not have a policy - # set. - # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. - # See the operation documentation for the appropriate value for this field. + # Creates a repo in the given project with the given name. + # If the named repository already exists, `CreateRepo` returns + # `ALREADY_EXISTS`. + # @param [String] parent + # The project in which to create the repo. Values are of the form + # `projects/`. + # @param [Google::Apis::SourcerepoV1::Repo] repo_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 [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::SourcerepoV1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SourcerepoV1::Policy] - # - # @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_project_repo_iam_policy(resource, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) - command.response_representation = Google::Apis::SourcerepoV1::Policy::Representation - command.response_class = Google::Apis::SourcerepoV1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Returns information about a repo. - # @param [String] name - # The name of the requested repository. Values are of the form - # `projects//repos/`. - # @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 # @@ -101,49 +71,15 @@ 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_project_repo(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) + def create_project_repo(parent, repo_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/repos', options) + command.request_representation = Google::Apis::SourcerepoV1::Repo::Representation + command.request_object = repo_object command.response_representation = Google::Apis::SourcerepoV1::Repo::Representation command.response_class = Google::Apis::SourcerepoV1::Repo - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Returns permissions that a caller has on the specified resource. - # If the resource does not exist, this will return an empty set of - # permissions, not a NOT_FOUND error. - # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. - # See the operation documentation for the appropriate value for this field. - # @param [Google::Apis::SourcerepoV1::TestIamPermissionsRequest] test_iam_permissions_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::SourcerepoV1::TestIamPermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SourcerepoV1::TestIamPermissionsResponse] - # - # @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 test_repo_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) - command.request_representation = Google::Apis::SourcerepoV1::TestIamPermissionsRequest::Representation - command.request_object = test_iam_permissions_request_object - command.response_representation = Google::Apis::SourcerepoV1::TestIamPermissionsResponse::Representation - command.response_class = Google::Apis::SourcerepoV1::TestIamPermissionsResponse - command.params['resource'] = resource unless resource.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -151,11 +87,11 @@ module Google # @param [String] name # The name of the repo to delete. Values are of the form # `projects//repos/`. + # @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 # @@ -168,69 +104,25 @@ 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 delete_project_repo(name, quota_user: nil, fields: nil, options: nil, &block) + def delete_project_repo(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', options) command.response_representation = Google::Apis::SourcerepoV1::Empty::Representation command.response_class = Google::Apis::SourcerepoV1::Empty command.params['name'] = name unless name.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 - # Returns all repos belonging to a project. The sizes of the repos are - # not set by ListRepos. To get the size of a repo, use GetRepo. + # Returns information about a repo. # @param [String] name - # The project ID whose repos should be listed. Values are of the form - # `projects/`. - # @param [String] page_token - # Resume listing repositories where a prior ListReposResponse - # left off. This is an opaque token that must be obtained from - # a recent, prior ListReposResponse's next_page_token field. - # @param [Fixnum] page_size - # Maximum number of repositories to return; between 1 and 500. - # If not set or zero, defaults to 100 at the server. + # The name of the requested repository. Values are of the form + # `projects//repos/`. + # @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 - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::SourcerepoV1::ListReposResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SourcerepoV1::ListReposResponse] - # - # @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_project_repos(name, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}/repos', options) - command.response_representation = Google::Apis::SourcerepoV1::ListReposResponse::Representation - command.response_class = Google::Apis::SourcerepoV1::ListReposResponse - command.params['name'] = name unless name.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates a repo in the given project with the given name. - # If the named repository already exists, `CreateRepo` returns - # `ALREADY_EXISTS`. - # @param [String] parent - # The project in which to create the repo. Values are of the form - # `projects/`. - # @param [Google::Apis::SourcerepoV1::Repo] repo_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 # @@ -243,29 +135,27 @@ 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 create_project_repo(parent, repo_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+parent}/repos', options) - command.request_representation = Google::Apis::SourcerepoV1::Repo::Representation - command.request_object = repo_object + def get_project_repo(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) command.response_representation = Google::Apis::SourcerepoV1::Repo::Representation command.response_class = Google::Apis::SourcerepoV1::Repo - command.params['parent'] = parent unless parent.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + 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 - # Sets the access control policy on the specified resource. Replaces any - # existing policy. + # Gets the access control policy for a resource. + # Returns an empty policy if the resource exists and does not have a policy + # set. # @param [String] resource - # REQUIRED: The resource for which the policy is being specified. + # REQUIRED: The resource for which the policy is being requested. # See the operation documentation for the appropriate value for this field. - # @param [Google::Apis::SourcerepoV1::SetIamPolicyRequest] set_iam_policy_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -278,15 +168,125 @@ 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 set_repo_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def get_project_repo_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) + command.response_representation = Google::Apis::SourcerepoV1::Policy::Representation + command.response_class = Google::Apis::SourcerepoV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns all repos belonging to a project. The sizes of the repos are + # not set by ListRepos. To get the size of a repo, use GetRepo. + # @param [String] name + # The project ID whose repos should be listed. Values are of the form + # `projects/`. + # @param [Fixnum] page_size + # Maximum number of repositories to return; between 1 and 500. + # If not set or zero, defaults to 100 at the server. + # @param [String] page_token + # Resume listing repositories where a prior ListReposResponse + # left off. This is an opaque token that must be obtained from + # a recent, prior ListReposResponse's next_page_token field. + # @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::SourcerepoV1::ListReposResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SourcerepoV1::ListReposResponse] + # + # @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_project_repos(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}/repos', options) + command.response_representation = Google::Apis::SourcerepoV1::ListReposResponse::Representation + command.response_class = Google::Apis::SourcerepoV1::ListReposResponse + command.params['name'] = name unless name.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 + + # Sets the access control policy on the specified resource. Replaces any + # existing policy. + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::SourcerepoV1::SetIamPolicyRequest] set_iam_policy_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::SourcerepoV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SourcerepoV1::Policy] + # + # @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 set_repo_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) command.request_representation = Google::Apis::SourcerepoV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::SourcerepoV1::Policy::Representation command.response_class = Google::Apis::SourcerepoV1::Policy command.params['resource'] = resource unless resource.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 + + # Returns permissions that a caller has on the specified resource. + # If the resource does not exist, this will return an empty set of + # permissions, not a NOT_FOUND error. + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::SourcerepoV1::TestIamPermissionsRequest] test_iam_permissions_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::SourcerepoV1::TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SourcerepoV1::TestIamPermissionsResponse] + # + # @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 test_repo_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) + command.request_representation = Google::Apis::SourcerepoV1::TestIamPermissionsRequest::Representation + command.request_object = test_iam_permissions_request_object + command.response_representation = Google::Apis::SourcerepoV1::TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::SourcerepoV1::TestIamPermissionsResponse + command.params['resource'] = resource unless resource.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/spanner_v1.rb b/generated/google/apis/spanner_v1.rb index e8ecfc462..6a4580369 100644 --- a/generated/google/apis/spanner_v1.rb +++ b/generated/google/apis/spanner_v1.rb @@ -26,14 +26,14 @@ module Google # @see https://cloud.google.com/spanner/ module SpannerV1 VERSION = 'V1' - REVISION = '20170613' - - # Administer your Spanner databases - AUTH_SPANNER_ADMIN = 'https://www.googleapis.com/auth/spanner.admin' + REVISION = '20170726' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + # Administer your Spanner databases + AUTH_SPANNER_ADMIN = 'https://www.googleapis.com/auth/spanner.admin' + # View and manage the contents of your Spanner databases AUTH_SPANNER_DATA = 'https://www.googleapis.com/auth/spanner.data' end diff --git a/generated/google/apis/spanner_v1/classes.rb b/generated/google/apis/spanner_v1/classes.rb index 37f40ce57..a1c0cb41a 100644 --- a/generated/google/apis/spanner_v1/classes.rb +++ b/generated/google/apis/spanner_v1/classes.rb @@ -22,2382 +22,6 @@ module Google module Apis module SpannerV1 - # The request for UpdateInstance. - class UpdateInstanceRequest - include Google::Apis::Core::Hashable - - # Required. A mask specifying which fields in [][google.spanner.admin.instance. - # v1.UpdateInstanceRequest.instance] should be updated. - # The field mask must always be specified; this prevents any future fields in - # [][google.spanner.admin.instance.v1.Instance] from being erased accidentally - # by clients that do not know - # about them. - # Corresponds to the JSON property `fieldMask` - # @return [String] - attr_accessor :field_mask - - # An isolated set of Cloud Spanner resources on which databases can be hosted. - # Corresponds to the JSON property `instance` - # @return [Google::Apis::SpannerV1::Instance] - attr_accessor :instance - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @field_mask = args[:field_mask] if args.key?(:field_mask) - @instance = args[:instance] if args.key?(:instance) - 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 - - # # Transactions - # Each session can have at most one active transaction at a time. After the - # active transaction is completed, the session can immediately be - # re-used for the next transaction. It is not necessary to create a - # new session for each transaction. - # # Transaction Modes - # Cloud Spanner supports two transaction modes: - # 1. Locking read-write. This type of transaction is the only way - # to write data into Cloud Spanner. These transactions rely on - # pessimistic locking and, if necessary, two-phase commit. - # Locking read-write transactions may abort, requiring the - # application to retry. - # 2. Snapshot read-only. This transaction type provides guaranteed - # consistency across several reads, but does not allow - # writes. Snapshot read-only transactions can be configured to - # read at timestamps in the past. Snapshot read-only - # transactions do not need to be committed. - # For transactions that only read, snapshot read-only transactions - # provide simpler semantics and are almost always faster. In - # particular, read-only transactions do not take locks, so they do - # not conflict with read-write transactions. As a consequence of not - # taking locks, they also do not abort, so retry loops are not needed. - # Transactions may only read/write data in a single database. They - # may, however, read/write data in different tables within that - # database. - # ## Locking Read-Write Transactions - # Locking transactions may be used to atomically read-modify-write - # data anywhere in a database. This type of transaction is externally - # consistent. - # Clients should attempt to minimize the amount of time a transaction - # is active. Faster transactions commit with higher probability - # and cause less contention. Cloud Spanner attempts to keep read locks - # active as long as the transaction continues to do reads, and the - # transaction has not been terminated by - # Commit or - # Rollback. Long periods of - # inactivity at the client may cause Cloud Spanner to release a - # transaction's locks and abort it. - # Reads performed within a transaction acquire locks on the data - # being read. Writes can only be done at commit time, after all reads - # have been completed. - # Conceptually, a read-write transaction consists of zero or more - # reads or SQL queries followed by - # Commit. At any time before - # Commit, the client can send a - # Rollback request to abort the - # transaction. - # ### Semantics - # Cloud Spanner can commit the transaction if all read locks it acquired - # are still valid at commit time, and it is able to acquire write - # locks for all writes. Cloud Spanner can abort the transaction for any - # reason. If a commit attempt returns `ABORTED`, Cloud Spanner guarantees - # that the transaction has not modified any user data in Cloud Spanner. - # Unless the transaction commits, Cloud Spanner makes no guarantees about - # how long the transaction's locks were held for. It is an error to - # use Cloud Spanner locks for any sort of mutual exclusion other than - # between Cloud Spanner transactions themselves. - # ### Retrying Aborted Transactions - # When a transaction aborts, the application can choose to retry the - # whole transaction again. To maximize the chances of successfully - # committing the retry, the client should execute the retry in the - # same session as the original attempt. The original session's lock - # priority increases with each consecutive abort, meaning that each - # attempt has a slightly better chance of success than the previous. - # Under some circumstances (e.g., many transactions attempting to - # modify the same row(s)), a transaction can abort many times in a - # short period before successfully committing. Thus, it is not a good - # idea to cap the number of retries a transaction can attempt; - # instead, it is better to limit the total amount of wall time spent - # retrying. - # ### Idle Transactions - # A transaction is considered idle if it has no outstanding reads or - # SQL queries and has not started a read or SQL query within the last 10 - # seconds. Idle transactions can be aborted by Cloud Spanner so that they - # don't hold on to locks indefinitely. In that case, the commit will - # fail with error `ABORTED`. - # If this behavior is undesirable, periodically executing a simple - # SQL query in the transaction (e.g., `SELECT 1`) prevents the - # transaction from becoming idle. - # ## Snapshot Read-Only Transactions - # Snapshot read-only transactions provides a simpler method than - # locking read-write transactions for doing several consistent - # reads. However, this type of transaction does not support writes. - # Snapshot transactions do not take locks. Instead, they work by - # choosing a Cloud Spanner timestamp, then executing all reads at that - # timestamp. Since they do not acquire locks, they do not block - # concurrent read-write transactions. - # Unlike locking read-write transactions, snapshot read-only - # transactions never abort. They can fail if the chosen read - # timestamp is garbage collected; however, the default garbage - # collection policy is generous enough that most applications do not - # need to worry about this in practice. - # Snapshot read-only transactions do not need to call - # Commit or - # Rollback (and in fact are not - # permitted to do so). - # To execute a snapshot transaction, the client specifies a timestamp - # bound, which tells Cloud Spanner how to choose a read timestamp. - # The types of timestamp bound are: - # - Strong (the default). - # - Bounded staleness. - # - Exact staleness. - # If the Cloud Spanner database to be read is geographically distributed, - # stale read-only transactions can execute more quickly than strong - # or read-write transaction, because they are able to execute far - # from the leader replica. - # Each type of timestamp bound is discussed in detail below. - # ### Strong - # Strong reads are guaranteed to see the effects of all transactions - # that have committed before the start of the read. Furthermore, all - # rows yielded by a single read are consistent with each other -- if - # any part of the read observes a transaction, all parts of the read - # see the transaction. - # Strong reads are not repeatable: two consecutive strong read-only - # transactions might return inconsistent results if there are - # concurrent writes. If consistency across reads is required, the - # reads should be executed within a transaction or at an exact read - # timestamp. - # See TransactionOptions.ReadOnly.strong. - # ### Exact Staleness - # These timestamp bounds execute reads at a user-specified - # timestamp. Reads at a timestamp are guaranteed to see a consistent - # prefix of the global transaction history: they observe - # modifications done by all transactions with a commit timestamp <= - # the read timestamp, and observe none of the modifications done by - # transactions with a larger commit timestamp. They will block until - # all conflicting transactions that may be assigned commit timestamps - # <= the read timestamp have finished. - # The timestamp can either be expressed as an absolute Cloud Spanner commit - # timestamp or a staleness relative to the current time. - # These modes do not require a "negotiation phase" to pick a - # timestamp. As a result, they execute slightly faster than the - # equivalent boundedly stale concurrency modes. On the other hand, - # boundedly stale reads usually return fresher results. - # See TransactionOptions.ReadOnly.read_timestamp and - # TransactionOptions.ReadOnly.exact_staleness. - # ### Bounded Staleness - # Bounded staleness modes allow Cloud Spanner to pick the read timestamp, - # subject to a user-provided staleness bound. Cloud Spanner chooses the - # newest timestamp within the staleness bound that allows execution - # of the reads at the closest available replica without blocking. - # All rows yielded are consistent with each other -- if any part of - # the read observes a transaction, all parts of the read see the - # transaction. Boundedly stale reads are not repeatable: two stale - # reads, even if they use the same staleness bound, can execute at - # different timestamps and thus return inconsistent results. - # Boundedly stale reads execute in two phases: the first phase - # negotiates a timestamp among all replicas needed to serve the - # read. In the second phase, reads are executed at the negotiated - # timestamp. - # As a result of the two phase execution, bounded staleness reads are - # usually a little slower than comparable exact staleness - # reads. However, they are typically able to return fresher - # results, and are more likely to execute at the closest replica. - # Because the timestamp negotiation requires up-front knowledge of - # which rows will be read, it can only be used with single-use - # read-only transactions. - # See TransactionOptions.ReadOnly.max_staleness and - # TransactionOptions.ReadOnly.min_read_timestamp. - # ### Old Read Timestamps and Garbage Collection - # Cloud Spanner continuously garbage collects deleted and overwritten data - # in the background to reclaim storage space. This process is known - # as "version GC". By default, version GC reclaims versions after they - # are one hour old. Because of this, Cloud Spanner cannot perform reads - # at read timestamps more than one hour in the past. This - # restriction also applies to in-progress reads and/or SQL queries whose - # timestamp become too old while executing. Reads and SQL queries with - # too-old read timestamps fail with the error `FAILED_PRECONDITION`. - class TransactionOptions - include Google::Apis::Core::Hashable - - # Message type to initiate a read-only transaction. - # Corresponds to the JSON property `readOnly` - # @return [Google::Apis::SpannerV1::ReadOnly] - attr_accessor :read_only - - # Message type to initiate a read-write transaction. Currently this - # transaction type has no options. - # Corresponds to the JSON property `readWrite` - # @return [Google::Apis::SpannerV1::ReadWrite] - attr_accessor :read_write - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @read_only = args[:read_only] if args.key?(:read_only) - @read_write = args[:read_write] if args.key?(:read_write) - end - end - - # The request for CreateDatabase. - class CreateDatabaseRequest - include Google::Apis::Core::Hashable - - # Required. A `CREATE DATABASE` statement, which specifies the ID of the - # new database. The database ID must conform to the regular expression - # `a-z*[a-z0-9]` and be between 2 and 30 characters in length. - # If the database ID is a reserved word or if it contains a hyphen, the - # database ID must be enclosed in backticks (`` ` ``). - # Corresponds to the JSON property `createStatement` - # @return [String] - attr_accessor :create_statement - - # An optional list of DDL statements to run inside the newly created - # database. Statements can create tables, indexes, etc. These - # statements execute atomically with the creation of the database: - # if there is an error in any statement, the database is not created. - # Corresponds to the JSON property `extraStatements` - # @return [Array] - attr_accessor :extra_statements - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @create_statement = args[:create_statement] if args.key?(:create_statement) - @extra_statements = args[:extra_statements] if args.key?(:extra_statements) - end - end - - # The request for CreateInstance. - class CreateInstanceRequest - include Google::Apis::Core::Hashable - - # An isolated set of Cloud Spanner resources on which databases can be hosted. - # Corresponds to the JSON property `instance` - # @return [Google::Apis::SpannerV1::Instance] - attr_accessor :instance - - # Required. The ID of the instance to create. Valid identifiers are of the - # form `a-z*[a-z0-9]` and must be between 6 and 30 characters in - # length. - # Corresponds to the JSON property `instanceId` - # @return [String] - attr_accessor :instance_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @instance = args[:instance] if args.key?(:instance) - @instance_id = args[:instance_id] if args.key?(:instance_id) - end - end - - # A condition to be met. - class Condition - include Google::Apis::Core::Hashable - - # 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 - - # DEPRECATED. Use 'values' instead. - # 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 - - # Trusted attributes supplied by the IAM system. - # Corresponds to the JSON property `iam` - # @return [String] - attr_accessor :iam - - # An operator to apply the subject with. - # Corresponds to the JSON property `op` - # @return [String] - attr_accessor :op - - # Trusted attributes discharged by the service. - # Corresponds to the JSON property `svc` - # @return [String] - attr_accessor :svc - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sys = args[:sys] if args.key?(:sys) - @value = args[:value] if args.key?(:value) - @values = args[:values] if args.key?(:values) - @iam = args[:iam] if args.key?(:iam) - @op = args[:op] if args.key?(:op) - @svc = args[:svc] if args.key?(:svc) - end - end - - # Provides the configuration for logging a type of permissions. - # Example: - # ` - # "audit_log_configs": [ - # ` - # "log_type": "DATA_READ", - # "exempted_members": [ - # "user:foo@gmail.com" - # ] - # `, - # ` - # "log_type": "DATA_WRITE", - # ` - # ] - # ` - # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting - # foo@gmail.com from DATA_READ logging. - class AuditLogConfig - include Google::Apis::Core::Hashable - - # Specifies the identities that do not cause logging for this type of - # permission. - # Follows the same format of Binding.members. - # Corresponds to the JSON property `exemptedMembers` - # @return [Array] - attr_accessor :exempted_members - - # The log type that this config enables. - # Corresponds to the JSON property `logType` - # @return [String] - attr_accessor :log_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @exempted_members = args[:exempted_members] if args.key?(:exempted_members) - @log_type = args[:log_type] if args.key?(:log_type) - end - end - - # Message type to initiate a read-only transaction. - class ReadOnly - include Google::Apis::Core::Hashable - - # Executes all reads at a timestamp >= `min_read_timestamp`. - # This is useful for requesting fresher data than some previous - # read, or data that is fresh enough to observe the effects of some - # previously committed transaction whose timestamp is known. - # Note that this option can only be used in single-use transactions. - # Corresponds to the JSON property `minReadTimestamp` - # @return [String] - attr_accessor :min_read_timestamp - - # Read data at a timestamp >= `NOW - max_staleness` - # seconds. Guarantees that all writes that have committed more - # than the specified number of seconds ago are visible. Because - # Cloud Spanner chooses the exact timestamp, this mode works even if - # the client's local clock is substantially skewed from Cloud Spanner - # commit timestamps. - # Useful for reading the freshest data available at a nearby - # replica, while bounding the possible staleness if the local - # replica has fallen behind. - # Note that this option can only be used in single-use - # transactions. - # Corresponds to the JSON property `maxStaleness` - # @return [String] - attr_accessor :max_staleness - - # Executes all reads at the given timestamp. Unlike other modes, - # reads at a specific timestamp are repeatable; the same read at - # the same timestamp always returns the same data. If the - # timestamp is in the future, the read will block until the - # specified timestamp, modulo the read's deadline. - # Useful for large scale consistent reads such as mapreduces, or - # for coordinating many reads against a consistent snapshot of the - # data. - # Corresponds to the JSON property `readTimestamp` - # @return [String] - attr_accessor :read_timestamp - - # If true, the Cloud Spanner-selected read timestamp is included in - # the Transaction message that describes the transaction. - # Corresponds to the JSON property `returnReadTimestamp` - # @return [Boolean] - attr_accessor :return_read_timestamp - alias_method :return_read_timestamp?, :return_read_timestamp - - # Executes all reads at a timestamp that is `exact_staleness` - # old. The timestamp is chosen soon after the read is started. - # Guarantees that all writes that have committed more than the - # specified number of seconds ago are visible. Because Cloud Spanner - # chooses the exact timestamp, this mode works even if the client's - # local clock is substantially skewed from Cloud Spanner commit - # timestamps. - # Useful for reading at nearby replicas without the distributed - # timestamp negotiation overhead of `max_staleness`. - # Corresponds to the JSON property `exactStaleness` - # @return [String] - attr_accessor :exact_staleness - - # Read at a timestamp where all previously committed transactions - # are visible. - # Corresponds to the JSON property `strong` - # @return [Boolean] - attr_accessor :strong - alias_method :strong?, :strong - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @min_read_timestamp = args[:min_read_timestamp] if args.key?(:min_read_timestamp) - @max_staleness = args[:max_staleness] if args.key?(:max_staleness) - @read_timestamp = args[:read_timestamp] if args.key?(:read_timestamp) - @return_read_timestamp = args[:return_read_timestamp] if args.key?(:return_read_timestamp) - @exact_staleness = args[:exact_staleness] if args.key?(:exact_staleness) - @strong = args[:strong] if args.key?(:strong) - end - end - - # The request for ExecuteSql and - # ExecuteStreamingSql. - class ExecuteSqlRequest - include Google::Apis::Core::Hashable - - # This message is used to select the transaction in which a - # Read or - # ExecuteSql call runs. - # See TransactionOptions for more information about transactions. - # Corresponds to the JSON property `transaction` - # @return [Google::Apis::SpannerV1::TransactionSelector] - attr_accessor :transaction - - # If this request is resuming a previously interrupted SQL query - # execution, `resume_token` should be copied from the last - # PartialResultSet yielded before the interruption. Doing this - # enables the new SQL query execution to resume where the last one left - # off. The rest of the request parameters must exactly match the - # request that yielded this token. - # Corresponds to the JSON property `resumeToken` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :resume_token - - # It is not always possible for Cloud Spanner to infer the right SQL type - # from a JSON value. For example, values of type `BYTES` and values - # of type `STRING` both appear in params as JSON strings. - # In these cases, `param_types` can be used to specify the exact - # SQL type for some or all of the SQL query parameters. See the - # definition of Type for more information - # about SQL types. - # Corresponds to the JSON property `paramTypes` - # @return [Hash] - attr_accessor :param_types - - # Required. The SQL query string. - # Corresponds to the JSON property `sql` - # @return [String] - attr_accessor :sql - - # The SQL query string can contain parameter placeholders. A parameter - # placeholder consists of `'@'` followed by the parameter - # name. Parameter names consist of any combination of letters, - # numbers, and underscores. - # Parameters can appear anywhere that a literal value is expected. The same - # parameter name can be used more than once, for example: - # `"WHERE id > @msg_id AND id < @msg_id + 100"` - # It is an error to execute an SQL query with unbound parameters. - # Parameter values are specified using `params`, which is a JSON - # object whose keys are parameter names, and whose values are the - # corresponding parameter values. - # Corresponds to the JSON property `params` - # @return [Hash] - attr_accessor :params - - # Used to control the amount of debugging information returned in - # ResultSetStats. - # Corresponds to the JSON property `queryMode` - # @return [String] - attr_accessor :query_mode - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @transaction = args[:transaction] if args.key?(:transaction) - @resume_token = args[:resume_token] if args.key?(:resume_token) - @param_types = args[:param_types] if args.key?(:param_types) - @sql = args[:sql] if args.key?(:sql) - @params = args[:params] if args.key?(:params) - @query_mode = args[:query_mode] if args.key?(:query_mode) - end - end - - # Defines an Identity and Access Management (IAM) policy. It is used to - # specify access control policies for Cloud Platform resources. - # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of - # `members` to a `role`, where the members can be user accounts, Google groups, - # Google domains, and service 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:sean@example.com"] - # ` - # ] - # ` - # For a description of IAM and its features, see the - # [IAM developer's guide](https://cloud.google.com/iam). - class Policy - include Google::Apis::Core::Hashable - - # If more than one rule is specified, the rules are applied in the following - # manner: - # - All matching LOG rules are always applied. - # - If any DENY/DENY_WITH_LOG rule matches, permission is denied. - # Logging will be applied if one or more matching rule requires logging. - # - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is - # granted. - # Logging will be applied if one or more matching rule requires logging. - # - Otherwise, if no rule applies, permission is denied. - # Corresponds to the JSON property `rules` - # @return [Array] - attr_accessor :rules - - # Version of the `Policy`. The default version is 0. - # Corresponds to the JSON property `version` - # @return [Fixnum] - attr_accessor :version - - # Specifies cloud audit logging configuration for this policy. - # Corresponds to the JSON property `auditConfigs` - # @return [Array] - attr_accessor :audit_configs - - # Associates a list of `members` to a `role`. - # `bindings` with no members will result in an error. - # Corresponds to the JSON property `bindings` - # @return [Array] - attr_accessor :bindings - - # `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 to perform policy updates in order to avoid race - # conditions: An `etag` is returned in the response to `getIamPolicy`, and - # systems are expected to put that etag in the request to `setIamPolicy` to - # ensure that their change will be applied to the same version of the policy. - # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. - # Corresponds to the JSON property `etag` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :etag - - # - # Corresponds to the JSON property `iamOwned` - # @return [Boolean] - attr_accessor :iam_owned - alias_method :iam_owned?, :iam_owned - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @rules = args[:rules] if args.key?(:rules) - @version = args[:version] if args.key?(:version) - @audit_configs = args[:audit_configs] if args.key?(:audit_configs) - @bindings = args[:bindings] if args.key?(:bindings) - @etag = args[:etag] if args.key?(:etag) - @iam_owned = args[:iam_owned] if args.key?(:iam_owned) - end - end - - # The request for Read and - # StreamingRead. - class ReadRequest - include Google::Apis::Core::Hashable - - # If greater than zero, only the first `limit` rows are yielded. If `limit` - # is zero, the default is no limit. - # Corresponds to the JSON property `limit` - # @return [Fixnum] - attr_accessor :limit - - # If non-empty, the name of an index on table. This index is - # used instead of the table primary key when interpreting key_set - # and sorting result rows. See key_set for further information. - # Corresponds to the JSON property `index` - # @return [String] - attr_accessor :index - - # `KeySet` defines a collection of Cloud Spanner keys and/or key ranges. All - # the keys are expected to be in the same table or index. The keys need - # not be sorted in any particular way. - # If the same key is specified multiple times in the set (for example - # if two ranges, two keys, or a key and a range overlap), Cloud Spanner - # behaves as if the key were only specified once. - # Corresponds to the JSON property `keySet` - # @return [Google::Apis::SpannerV1::KeySet] - attr_accessor :key_set - - # The columns of table to be returned for each row matching - # this request. - # Corresponds to the JSON property `columns` - # @return [Array] - attr_accessor :columns - - # This message is used to select the transaction in which a - # Read or - # ExecuteSql call runs. - # See TransactionOptions for more information about transactions. - # Corresponds to the JSON property `transaction` - # @return [Google::Apis::SpannerV1::TransactionSelector] - attr_accessor :transaction - - # If this request is resuming a previously interrupted read, - # `resume_token` should be copied from the last - # PartialResultSet yielded before the interruption. Doing this - # enables the new read to resume where the last read left off. The - # rest of the request parameters must exactly match the request - # that yielded this token. - # Corresponds to the JSON property `resumeToken` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :resume_token - - # Required. The name of the table in the database to be read. - # Corresponds to the JSON property `table` - # @return [String] - attr_accessor :table - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @limit = args[:limit] if args.key?(:limit) - @index = args[:index] if args.key?(:index) - @key_set = args[:key_set] if args.key?(:key_set) - @columns = args[:columns] if args.key?(:columns) - @transaction = args[:transaction] if args.key?(:transaction) - @resume_token = args[:resume_token] if args.key?(:resume_token) - @table = args[:table] if args.key?(:table) - end - end - - # Arguments to insert, update, insert_or_update, and - # replace operations. - class Write - include Google::Apis::Core::Hashable - - # Required. The table whose rows will be written. - # Corresponds to the JSON property `table` - # @return [String] - attr_accessor :table - - # The values to be written. `values` can contain more than one - # list of values. If it does, then multiple rows are written, one - # for each entry in `values`. Each list in `values` must have - # exactly as many entries as there are entries in columns - # above. Sending multiple lists is equivalent to sending multiple - # `Mutation`s, each containing one `values` entry and repeating - # table and columns. Individual values in each list are - # encoded as described here. - # Corresponds to the JSON property `values` - # @return [Array>] - attr_accessor :values - - # The names of the columns in table to be written. - # The list of columns must contain enough columns to allow - # Cloud Spanner to derive values for all primary key columns in the - # row(s) to be modified. - # Corresponds to the JSON property `columns` - # @return [Array] - attr_accessor :columns - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @table = args[:table] if args.key?(:table) - @values = args[:values] if args.key?(:values) - @columns = args[:columns] if args.key?(:columns) - end - end - - # Message type to initiate a read-write transaction. Currently this - # transaction type has no options. - class ReadWrite - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - 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 - - # This resource represents a long-running operation that is the result of a - # network API call. - class Operation - include Google::Apis::Core::Hashable - - # 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 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 - - # 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 - - # 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` that 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. - # - 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::SpannerV1::Status] - attr_accessor :error - - # 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 - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @done = args[:done] if args.key?(:done) - @response = args[:response] if args.key?(:response) - @name = args[:name] if args.key?(:name) - @error = args[:error] if args.key?(:error) - @metadata = args[:metadata] if args.key?(:metadata) - end - end - - # Results from Read or - # ExecuteSql. - class ResultSet - include Google::Apis::Core::Hashable - - # Additional statistics about a ResultSet or PartialResultSet. - # Corresponds to the JSON property `stats` - # @return [Google::Apis::SpannerV1::ResultSetStats] - attr_accessor :stats - - # Each element in `rows` is a row whose format is defined by - # metadata.row_type. The ith element - # in each row matches the ith field in - # metadata.row_type. Elements are - # encoded based on type as described - # here. - # Corresponds to the JSON property `rows` - # @return [Array>] - attr_accessor :rows - - # Metadata about a ResultSet or PartialResultSet. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::SpannerV1::ResultSetMetadata] - attr_accessor :metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @stats = args[:stats] if args.key?(:stats) - @rows = args[:rows] if args.key?(:rows) - @metadata = args[:metadata] if args.key?(:metadata) - 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` that 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. - # - 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 - - # 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 - - # 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 - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @details = args[:details] if args.key?(:details) - @code = args[:code] if args.key?(:code) - @message = args[:message] if args.key?(:message) - end - end - - # Enqueues the given DDL statements to be applied, in order but not - # necessarily all at once, to the database schema at some point (or - # points) in the future. The server checks that the statements - # are executable (syntactically valid, name tables that exist, etc.) - # before enqueueing them, but they may still fail upon - # later execution (e.g., if a statement from another batch of - # statements is applied first and it conflicts in some way, or if - # there is some data-related problem like a `NULL` value in a column to - # which `NOT NULL` would be added). If a statement fails, all - # subsequent statements in the batch are automatically cancelled. - # Each batch of statements is assigned a name which can be used with - # the Operations API to monitor - # progress. See the - # operation_id field for more - # details. - class UpdateDatabaseDdlRequest - include Google::Apis::Core::Hashable - - # DDL statements to be applied to the database. - # Corresponds to the JSON property `statements` - # @return [Array] - attr_accessor :statements - - # If empty, the new update request is assigned an - # automatically-generated operation ID. Otherwise, `operation_id` - # is used to construct the name of the resulting - # Operation. - # Specifying an explicit operation ID simplifies determining - # whether the statements were executed in the event that the - # UpdateDatabaseDdl call is replayed, - # or the return value is otherwise lost: the database and - # `operation_id` fields can be combined to form the - # name of the resulting - # longrunning.Operation: `/operations/`. - # `operation_id` should be unique within the database, and must be - # a valid identifier: `a-z*`. Note that - # automatically-generated operation IDs always begin with an - # underscore. If the named operation already exists, - # UpdateDatabaseDdl returns - # `ALREADY_EXISTS`. - # Corresponds to the JSON property `operationId` - # @return [String] - attr_accessor :operation_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @statements = args[:statements] if args.key?(:statements) - @operation_id = args[:operation_id] if args.key?(:operation_id) - end - end - - # Associates `members` with a `role`. - class Binding - include Google::Apis::Core::Hashable - - # Specifies the identities requesting access for a Cloud Platform resource. - # `members` can have the following values: - # * `allUsers`: A special identifier that represents anyone who is - # on the internet; with or without a Google account. - # * `allAuthenticatedUsers`: A special identifier that represents anyone - # who is authenticated with a Google account or a service account. - # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@gmail.com` or `joe@example.com`. - # * `serviceAccount:`emailid``: An email address that represents a service - # account. For example, `my-other-app@appspot.gserviceaccount.com`. - # * `group:`emailid``: An email address that represents a Google group. - # For example, `admins@example.com`. - # * `domain:`domain``: A Google Apps domain name that represents all the - # users of that domain. For example, `google.com` or `example.com`. - # Corresponds to the JSON property `members` - # @return [Array] - attr_accessor :members - - # Role that is assigned to `members`. - # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. - # Required - # Corresponds to the JSON property `role` - # @return [String] - attr_accessor :role - - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" - # Corresponds to the JSON property `condition` - # @return [Google::Apis::SpannerV1::Expr] - attr_accessor :condition - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @members = args[:members] if args.key?(:members) - @role = args[:role] if args.key?(:role) - @condition = args[:condition] if args.key?(:condition) - end - end - - # Partial results from a streaming read or SQL query. Streaming reads and - # SQL queries better tolerate large result sets, large rows, and large - # values, but are a little trickier to consume. - class PartialResultSet - include Google::Apis::Core::Hashable - - # If true, then the final value in values is chunked, and must - # be combined with more values from subsequent `PartialResultSet`s - # to obtain a complete field value. - # Corresponds to the JSON property `chunkedValue` - # @return [Boolean] - attr_accessor :chunked_value - alias_method :chunked_value?, :chunked_value - - # A streamed result set consists of a stream of values, which might - # be split into many `PartialResultSet` messages to accommodate - # large rows and/or large values. Every N complete values defines a - # row, where N is equal to the number of entries in - # metadata.row_type.fields. - # Most values are encoded based on type as described - # here. - # It is possible that the last value in values is "chunked", - # meaning that the rest of the value is sent in subsequent - # `PartialResultSet`(s). This is denoted by the chunked_value - # field. Two or more chunked values can be merged to form a - # complete value as follows: - # * `bool/number/null`: cannot be chunked - # * `string`: concatenate the strings - # * `list`: concatenate the lists. If the last element in a list is a - # `string`, `list`, or `object`, merge it with the first element in - # the next list by applying these rules recursively. - # * `object`: concatenate the (field name, field value) pairs. If a - # field name is duplicated, then apply these rules recursively - # to merge the field values. - # Some examples of merging: - # # Strings are concatenated. - # "foo", "bar" => "foobar" - # # Lists of non-strings are concatenated. - # [2, 3], [4] => [2, 3, 4] - # # Lists are concatenated, but the last and first elements are merged - # # because they are strings. - # ["a", "b"], ["c", "d"] => ["a", "bc", "d"] - # # Lists are concatenated, but the last and first elements are merged - # # because they are lists. Recursively, the last and first elements - # # of the inner lists are merged because they are strings. - # ["a", ["b", "c"]], [["d"], "e"] => ["a", ["b", "cd"], "e"] - # # Non-overlapping object fields are combined. - # `"a": "1"`, `"b": "2"` => `"a": "1", "b": 2"` - # # Overlapping object fields are merged. - # `"a": "1"`, `"a": "2"` => `"a": "12"` - # # Examples of merging objects containing lists of strings. - # `"a": ["1"]`, `"a": ["2"]` => `"a": ["12"]` - # For a more complete example, suppose a streaming SQL query is - # yielding a result set whose rows contain a single string - # field. The following `PartialResultSet`s might be yielded: - # ` - # "metadata": ` ... ` - # "values": ["Hello", "W"] - # "chunked_value": true - # "resume_token": "Af65..." - # ` - # ` - # "values": ["orl"] - # "chunked_value": true - # "resume_token": "Bqp2..." - # ` - # ` - # "values": ["d"] - # "resume_token": "Zx1B..." - # ` - # This sequence of `PartialResultSet`s encodes two rows, one - # containing the field value `"Hello"`, and a second containing the - # field value `"World" = "W" + "orl" + "d"`. - # Corresponds to the JSON property `values` - # @return [Array] - attr_accessor :values - - # Metadata about a ResultSet or PartialResultSet. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::SpannerV1::ResultSetMetadata] - attr_accessor :metadata - - # Streaming calls might be interrupted for a variety of reasons, such - # as TCP connection loss. If this occurs, the stream of results can - # be resumed by re-sending the original request and including - # `resume_token`. Note that executing any other transaction in the - # same session invalidates the token. - # Corresponds to the JSON property `resumeToken` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :resume_token - - # Additional statistics about a ResultSet or PartialResultSet. - # Corresponds to the JSON property `stats` - # @return [Google::Apis::SpannerV1::ResultSetStats] - attr_accessor :stats - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @chunked_value = args[:chunked_value] if args.key?(:chunked_value) - @values = args[:values] if args.key?(:values) - @metadata = args[:metadata] if args.key?(:metadata) - @resume_token = args[:resume_token] if args.key?(:resume_token) - @stats = args[:stats] if args.key?(:stats) - end - end - - # Metadata type for the operation returned by - # UpdateInstance. - class UpdateInstanceMetadata - include Google::Apis::Core::Hashable - - # The time at which UpdateInstance - # request was received. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # An isolated set of Cloud Spanner resources on which databases can be hosted. - # Corresponds to the JSON property `instance` - # @return [Google::Apis::SpannerV1::Instance] - attr_accessor :instance - - # The time at which this operation failed or was completed successfully. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # The time at which this operation was cancelled. If set, this operation is - # in the process of undoing itself (which is guaranteed to succeed) and - # cannot be cancelled again. - # Corresponds to the JSON property `cancelTime` - # @return [String] - attr_accessor :cancel_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @start_time = args[:start_time] if args.key?(:start_time) - @instance = args[:instance] if args.key?(:instance) - @end_time = args[:end_time] if args.key?(:end_time) - @cancel_time = args[:cancel_time] if args.key?(:cancel_time) - 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 - - # Metadata about a ResultSet or PartialResultSet. - class ResultSetMetadata - include Google::Apis::Core::Hashable - - # `StructType` defines the fields of a STRUCT type. - # Corresponds to the JSON property `rowType` - # @return [Google::Apis::SpannerV1::StructType] - attr_accessor :row_type - - # A transaction. - # Corresponds to the JSON property `transaction` - # @return [Google::Apis::SpannerV1::Transaction] - attr_accessor :transaction - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @row_type = args[:row_type] if args.key?(:row_type) - @transaction = args[:transaction] if args.key?(:transaction) - end - end - - # This message is used to select the transaction in which a - # Read or - # ExecuteSql call runs. - # See TransactionOptions for more information about transactions. - class TransactionSelector - include Google::Apis::Core::Hashable - - # # Transactions - # Each session can have at most one active transaction at a time. After the - # active transaction is completed, the session can immediately be - # re-used for the next transaction. It is not necessary to create a - # new session for each transaction. - # # Transaction Modes - # Cloud Spanner supports two transaction modes: - # 1. Locking read-write. This type of transaction is the only way - # to write data into Cloud Spanner. These transactions rely on - # pessimistic locking and, if necessary, two-phase commit. - # Locking read-write transactions may abort, requiring the - # application to retry. - # 2. Snapshot read-only. This transaction type provides guaranteed - # consistency across several reads, but does not allow - # writes. Snapshot read-only transactions can be configured to - # read at timestamps in the past. Snapshot read-only - # transactions do not need to be committed. - # For transactions that only read, snapshot read-only transactions - # provide simpler semantics and are almost always faster. In - # particular, read-only transactions do not take locks, so they do - # not conflict with read-write transactions. As a consequence of not - # taking locks, they also do not abort, so retry loops are not needed. - # Transactions may only read/write data in a single database. They - # may, however, read/write data in different tables within that - # database. - # ## Locking Read-Write Transactions - # Locking transactions may be used to atomically read-modify-write - # data anywhere in a database. This type of transaction is externally - # consistent. - # Clients should attempt to minimize the amount of time a transaction - # is active. Faster transactions commit with higher probability - # and cause less contention. Cloud Spanner attempts to keep read locks - # active as long as the transaction continues to do reads, and the - # transaction has not been terminated by - # Commit or - # Rollback. Long periods of - # inactivity at the client may cause Cloud Spanner to release a - # transaction's locks and abort it. - # Reads performed within a transaction acquire locks on the data - # being read. Writes can only be done at commit time, after all reads - # have been completed. - # Conceptually, a read-write transaction consists of zero or more - # reads or SQL queries followed by - # Commit. At any time before - # Commit, the client can send a - # Rollback request to abort the - # transaction. - # ### Semantics - # Cloud Spanner can commit the transaction if all read locks it acquired - # are still valid at commit time, and it is able to acquire write - # locks for all writes. Cloud Spanner can abort the transaction for any - # reason. If a commit attempt returns `ABORTED`, Cloud Spanner guarantees - # that the transaction has not modified any user data in Cloud Spanner. - # Unless the transaction commits, Cloud Spanner makes no guarantees about - # how long the transaction's locks were held for. It is an error to - # use Cloud Spanner locks for any sort of mutual exclusion other than - # between Cloud Spanner transactions themselves. - # ### Retrying Aborted Transactions - # When a transaction aborts, the application can choose to retry the - # whole transaction again. To maximize the chances of successfully - # committing the retry, the client should execute the retry in the - # same session as the original attempt. The original session's lock - # priority increases with each consecutive abort, meaning that each - # attempt has a slightly better chance of success than the previous. - # Under some circumstances (e.g., many transactions attempting to - # modify the same row(s)), a transaction can abort many times in a - # short period before successfully committing. Thus, it is not a good - # idea to cap the number of retries a transaction can attempt; - # instead, it is better to limit the total amount of wall time spent - # retrying. - # ### Idle Transactions - # A transaction is considered idle if it has no outstanding reads or - # SQL queries and has not started a read or SQL query within the last 10 - # seconds. Idle transactions can be aborted by Cloud Spanner so that they - # don't hold on to locks indefinitely. In that case, the commit will - # fail with error `ABORTED`. - # If this behavior is undesirable, periodically executing a simple - # SQL query in the transaction (e.g., `SELECT 1`) prevents the - # transaction from becoming idle. - # ## Snapshot Read-Only Transactions - # Snapshot read-only transactions provides a simpler method than - # locking read-write transactions for doing several consistent - # reads. However, this type of transaction does not support writes. - # Snapshot transactions do not take locks. Instead, they work by - # choosing a Cloud Spanner timestamp, then executing all reads at that - # timestamp. Since they do not acquire locks, they do not block - # concurrent read-write transactions. - # Unlike locking read-write transactions, snapshot read-only - # transactions never abort. They can fail if the chosen read - # timestamp is garbage collected; however, the default garbage - # collection policy is generous enough that most applications do not - # need to worry about this in practice. - # Snapshot read-only transactions do not need to call - # Commit or - # Rollback (and in fact are not - # permitted to do so). - # To execute a snapshot transaction, the client specifies a timestamp - # bound, which tells Cloud Spanner how to choose a read timestamp. - # The types of timestamp bound are: - # - Strong (the default). - # - Bounded staleness. - # - Exact staleness. - # If the Cloud Spanner database to be read is geographically distributed, - # stale read-only transactions can execute more quickly than strong - # or read-write transaction, because they are able to execute far - # from the leader replica. - # Each type of timestamp bound is discussed in detail below. - # ### Strong - # Strong reads are guaranteed to see the effects of all transactions - # that have committed before the start of the read. Furthermore, all - # rows yielded by a single read are consistent with each other -- if - # any part of the read observes a transaction, all parts of the read - # see the transaction. - # Strong reads are not repeatable: two consecutive strong read-only - # transactions might return inconsistent results if there are - # concurrent writes. If consistency across reads is required, the - # reads should be executed within a transaction or at an exact read - # timestamp. - # See TransactionOptions.ReadOnly.strong. - # ### Exact Staleness - # These timestamp bounds execute reads at a user-specified - # timestamp. Reads at a timestamp are guaranteed to see a consistent - # prefix of the global transaction history: they observe - # modifications done by all transactions with a commit timestamp <= - # the read timestamp, and observe none of the modifications done by - # transactions with a larger commit timestamp. They will block until - # all conflicting transactions that may be assigned commit timestamps - # <= the read timestamp have finished. - # The timestamp can either be expressed as an absolute Cloud Spanner commit - # timestamp or a staleness relative to the current time. - # These modes do not require a "negotiation phase" to pick a - # timestamp. As a result, they execute slightly faster than the - # equivalent boundedly stale concurrency modes. On the other hand, - # boundedly stale reads usually return fresher results. - # See TransactionOptions.ReadOnly.read_timestamp and - # TransactionOptions.ReadOnly.exact_staleness. - # ### Bounded Staleness - # Bounded staleness modes allow Cloud Spanner to pick the read timestamp, - # subject to a user-provided staleness bound. Cloud Spanner chooses the - # newest timestamp within the staleness bound that allows execution - # of the reads at the closest available replica without blocking. - # All rows yielded are consistent with each other -- if any part of - # the read observes a transaction, all parts of the read see the - # transaction. Boundedly stale reads are not repeatable: two stale - # reads, even if they use the same staleness bound, can execute at - # different timestamps and thus return inconsistent results. - # Boundedly stale reads execute in two phases: the first phase - # negotiates a timestamp among all replicas needed to serve the - # read. In the second phase, reads are executed at the negotiated - # timestamp. - # As a result of the two phase execution, bounded staleness reads are - # usually a little slower than comparable exact staleness - # reads. However, they are typically able to return fresher - # results, and are more likely to execute at the closest replica. - # Because the timestamp negotiation requires up-front knowledge of - # which rows will be read, it can only be used with single-use - # read-only transactions. - # See TransactionOptions.ReadOnly.max_staleness and - # TransactionOptions.ReadOnly.min_read_timestamp. - # ### Old Read Timestamps and Garbage Collection - # Cloud Spanner continuously garbage collects deleted and overwritten data - # in the background to reclaim storage space. This process is known - # as "version GC". By default, version GC reclaims versions after they - # are one hour old. Because of this, Cloud Spanner cannot perform reads - # at read timestamps more than one hour in the past. This - # restriction also applies to in-progress reads and/or SQL queries whose - # timestamp become too old while executing. Reads and SQL queries with - # too-old read timestamps fail with the error `FAILED_PRECONDITION`. - # Corresponds to the JSON property `singleUse` - # @return [Google::Apis::SpannerV1::TransactionOptions] - attr_accessor :single_use - - # # Transactions - # Each session can have at most one active transaction at a time. After the - # active transaction is completed, the session can immediately be - # re-used for the next transaction. It is not necessary to create a - # new session for each transaction. - # # Transaction Modes - # Cloud Spanner supports two transaction modes: - # 1. Locking read-write. This type of transaction is the only way - # to write data into Cloud Spanner. These transactions rely on - # pessimistic locking and, if necessary, two-phase commit. - # Locking read-write transactions may abort, requiring the - # application to retry. - # 2. Snapshot read-only. This transaction type provides guaranteed - # consistency across several reads, but does not allow - # writes. Snapshot read-only transactions can be configured to - # read at timestamps in the past. Snapshot read-only - # transactions do not need to be committed. - # For transactions that only read, snapshot read-only transactions - # provide simpler semantics and are almost always faster. In - # particular, read-only transactions do not take locks, so they do - # not conflict with read-write transactions. As a consequence of not - # taking locks, they also do not abort, so retry loops are not needed. - # Transactions may only read/write data in a single database. They - # may, however, read/write data in different tables within that - # database. - # ## Locking Read-Write Transactions - # Locking transactions may be used to atomically read-modify-write - # data anywhere in a database. This type of transaction is externally - # consistent. - # Clients should attempt to minimize the amount of time a transaction - # is active. Faster transactions commit with higher probability - # and cause less contention. Cloud Spanner attempts to keep read locks - # active as long as the transaction continues to do reads, and the - # transaction has not been terminated by - # Commit or - # Rollback. Long periods of - # inactivity at the client may cause Cloud Spanner to release a - # transaction's locks and abort it. - # Reads performed within a transaction acquire locks on the data - # being read. Writes can only be done at commit time, after all reads - # have been completed. - # Conceptually, a read-write transaction consists of zero or more - # reads or SQL queries followed by - # Commit. At any time before - # Commit, the client can send a - # Rollback request to abort the - # transaction. - # ### Semantics - # Cloud Spanner can commit the transaction if all read locks it acquired - # are still valid at commit time, and it is able to acquire write - # locks for all writes. Cloud Spanner can abort the transaction for any - # reason. If a commit attempt returns `ABORTED`, Cloud Spanner guarantees - # that the transaction has not modified any user data in Cloud Spanner. - # Unless the transaction commits, Cloud Spanner makes no guarantees about - # how long the transaction's locks were held for. It is an error to - # use Cloud Spanner locks for any sort of mutual exclusion other than - # between Cloud Spanner transactions themselves. - # ### Retrying Aborted Transactions - # When a transaction aborts, the application can choose to retry the - # whole transaction again. To maximize the chances of successfully - # committing the retry, the client should execute the retry in the - # same session as the original attempt. The original session's lock - # priority increases with each consecutive abort, meaning that each - # attempt has a slightly better chance of success than the previous. - # Under some circumstances (e.g., many transactions attempting to - # modify the same row(s)), a transaction can abort many times in a - # short period before successfully committing. Thus, it is not a good - # idea to cap the number of retries a transaction can attempt; - # instead, it is better to limit the total amount of wall time spent - # retrying. - # ### Idle Transactions - # A transaction is considered idle if it has no outstanding reads or - # SQL queries and has not started a read or SQL query within the last 10 - # seconds. Idle transactions can be aborted by Cloud Spanner so that they - # don't hold on to locks indefinitely. In that case, the commit will - # fail with error `ABORTED`. - # If this behavior is undesirable, periodically executing a simple - # SQL query in the transaction (e.g., `SELECT 1`) prevents the - # transaction from becoming idle. - # ## Snapshot Read-Only Transactions - # Snapshot read-only transactions provides a simpler method than - # locking read-write transactions for doing several consistent - # reads. However, this type of transaction does not support writes. - # Snapshot transactions do not take locks. Instead, they work by - # choosing a Cloud Spanner timestamp, then executing all reads at that - # timestamp. Since they do not acquire locks, they do not block - # concurrent read-write transactions. - # Unlike locking read-write transactions, snapshot read-only - # transactions never abort. They can fail if the chosen read - # timestamp is garbage collected; however, the default garbage - # collection policy is generous enough that most applications do not - # need to worry about this in practice. - # Snapshot read-only transactions do not need to call - # Commit or - # Rollback (and in fact are not - # permitted to do so). - # To execute a snapshot transaction, the client specifies a timestamp - # bound, which tells Cloud Spanner how to choose a read timestamp. - # The types of timestamp bound are: - # - Strong (the default). - # - Bounded staleness. - # - Exact staleness. - # If the Cloud Spanner database to be read is geographically distributed, - # stale read-only transactions can execute more quickly than strong - # or read-write transaction, because they are able to execute far - # from the leader replica. - # Each type of timestamp bound is discussed in detail below. - # ### Strong - # Strong reads are guaranteed to see the effects of all transactions - # that have committed before the start of the read. Furthermore, all - # rows yielded by a single read are consistent with each other -- if - # any part of the read observes a transaction, all parts of the read - # see the transaction. - # Strong reads are not repeatable: two consecutive strong read-only - # transactions might return inconsistent results if there are - # concurrent writes. If consistency across reads is required, the - # reads should be executed within a transaction or at an exact read - # timestamp. - # See TransactionOptions.ReadOnly.strong. - # ### Exact Staleness - # These timestamp bounds execute reads at a user-specified - # timestamp. Reads at a timestamp are guaranteed to see a consistent - # prefix of the global transaction history: they observe - # modifications done by all transactions with a commit timestamp <= - # the read timestamp, and observe none of the modifications done by - # transactions with a larger commit timestamp. They will block until - # all conflicting transactions that may be assigned commit timestamps - # <= the read timestamp have finished. - # The timestamp can either be expressed as an absolute Cloud Spanner commit - # timestamp or a staleness relative to the current time. - # These modes do not require a "negotiation phase" to pick a - # timestamp. As a result, they execute slightly faster than the - # equivalent boundedly stale concurrency modes. On the other hand, - # boundedly stale reads usually return fresher results. - # See TransactionOptions.ReadOnly.read_timestamp and - # TransactionOptions.ReadOnly.exact_staleness. - # ### Bounded Staleness - # Bounded staleness modes allow Cloud Spanner to pick the read timestamp, - # subject to a user-provided staleness bound. Cloud Spanner chooses the - # newest timestamp within the staleness bound that allows execution - # of the reads at the closest available replica without blocking. - # All rows yielded are consistent with each other -- if any part of - # the read observes a transaction, all parts of the read see the - # transaction. Boundedly stale reads are not repeatable: two stale - # reads, even if they use the same staleness bound, can execute at - # different timestamps and thus return inconsistent results. - # Boundedly stale reads execute in two phases: the first phase - # negotiates a timestamp among all replicas needed to serve the - # read. In the second phase, reads are executed at the negotiated - # timestamp. - # As a result of the two phase execution, bounded staleness reads are - # usually a little slower than comparable exact staleness - # reads. However, they are typically able to return fresher - # results, and are more likely to execute at the closest replica. - # Because the timestamp negotiation requires up-front knowledge of - # which rows will be read, it can only be used with single-use - # read-only transactions. - # See TransactionOptions.ReadOnly.max_staleness and - # TransactionOptions.ReadOnly.min_read_timestamp. - # ### Old Read Timestamps and Garbage Collection - # Cloud Spanner continuously garbage collects deleted and overwritten data - # in the background to reclaim storage space. This process is known - # as "version GC". By default, version GC reclaims versions after they - # are one hour old. Because of this, Cloud Spanner cannot perform reads - # at read timestamps more than one hour in the past. This - # restriction also applies to in-progress reads and/or SQL queries whose - # timestamp become too old while executing. Reads and SQL queries with - # too-old read timestamps fail with the error `FAILED_PRECONDITION`. - # Corresponds to the JSON property `begin` - # @return [Google::Apis::SpannerV1::TransactionOptions] - attr_accessor :begin - - # Execute the read or SQL query in a previously-started transaction. - # Corresponds to the JSON property `id` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @single_use = args[:single_use] if args.key?(:single_use) - @begin = args[:begin] if args.key?(:begin) - @id = args[:id] if args.key?(:id) - end - end - - # A modification to one or more Cloud Spanner rows. Mutations can be - # applied to a Cloud Spanner database by sending them in a - # Commit call. - class Mutation - include Google::Apis::Core::Hashable - - # Arguments to delete operations. - # Corresponds to the JSON property `delete` - # @return [Google::Apis::SpannerV1::Delete] - attr_accessor :delete - - # Arguments to insert, update, insert_or_update, and - # replace operations. - # Corresponds to the JSON property `insertOrUpdate` - # @return [Google::Apis::SpannerV1::Write] - attr_accessor :insert_or_update - - # Arguments to insert, update, insert_or_update, and - # replace operations. - # Corresponds to the JSON property `insert` - # @return [Google::Apis::SpannerV1::Write] - attr_accessor :insert - - # Arguments to insert, update, insert_or_update, and - # replace operations. - # Corresponds to the JSON property `update` - # @return [Google::Apis::SpannerV1::Write] - attr_accessor :update - - # Arguments to insert, update, insert_or_update, and - # replace operations. - # Corresponds to the JSON property `replace` - # @return [Google::Apis::SpannerV1::Write] - attr_accessor :replace - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @delete = args[:delete] if args.key?(:delete) - @insert_or_update = args[:insert_or_update] if args.key?(:insert_or_update) - @insert = args[:insert] if args.key?(:insert) - @update = args[:update] if args.key?(:update) - @replace = args[:replace] if args.key?(:replace) - end - end - - # `KeySet` defines a collection of Cloud Spanner keys and/or key ranges. All - # the keys are expected to be in the same table or index. The keys need - # not be sorted in any particular way. - # If the same key is specified multiple times in the set (for example - # if two ranges, two keys, or a key and a range overlap), Cloud Spanner - # behaves as if the key were only specified once. - class KeySet - include Google::Apis::Core::Hashable - - # A list of key ranges. See KeyRange for more information about - # key range specifications. - # Corresponds to the JSON property `ranges` - # @return [Array] - attr_accessor :ranges - - # For convenience `all` can be set to `true` to indicate that this - # `KeySet` matches all keys in the table or index. Note that any keys - # specified in `keys` or `ranges` are only yielded once. - # Corresponds to the JSON property `all` - # @return [Boolean] - attr_accessor :all - alias_method :all?, :all - - # A list of specific keys. Entries in `keys` should have exactly as - # many elements as there are columns in the primary or index key - # with which this `KeySet` is used. Individual key values are - # encoded as described here. - # Corresponds to the JSON property `keys` - # @return [Array>] - attr_accessor :keys - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ranges = args[:ranges] if args.key?(:ranges) - @all = args[:all] if args.key?(:all) - @keys = args[:keys] if args.key?(:keys) - end - end - - # The response for GetDatabaseDdl. - class GetDatabaseDdlResponse - include Google::Apis::Core::Hashable - - # A list of formatted DDL statements defining the schema of the database - # specified in the request. - # Corresponds to the JSON property `statements` - # @return [Array] - attr_accessor :statements - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @statements = args[:statements] if args.key?(:statements) - end - end - - # A Cloud Spanner database. - class Database - include Google::Apis::Core::Hashable - - # Output only. The current database state. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # Required. The name of the database. Values are of the form - # `projects//instances//databases/`, - # where `` is as specified in the `CREATE DATABASE` - # statement. This name can be passed to other API methods to - # identify the database. - # 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) - @state = args[:state] if args.key?(:state) - @name = args[:name] if args.key?(:name) - end - end - - # An isolated set of Cloud Spanner resources on which databases can be hosted. - class Instance - include Google::Apis::Core::Hashable - - # Required. A unique identifier for the instance, which cannot be changed - # after the instance is created. Values are of the form - # `projects//instances/a-z*[a-z0-9]`. The final - # segment of the name must be between 6 and 30 characters in length. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Required. The descriptive name for this instance as it appears in UIs. - # Must be unique per project and between 4 and 30 characters in length. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Required. The number of nodes allocated to this instance. This may be zero - # in API responses for instances that are not yet in state `READY`. - # Corresponds to the JSON property `nodeCount` - # @return [Fixnum] - attr_accessor :node_count - - # Cloud Labels are a flexible and lightweight mechanism for organizing cloud - # resources into groups that reflect a customer's organizational needs and - # deployment strategies. Cloud Labels can be used to filter collections of - # resources. They can be used to control how resource metrics are aggregated. - # And they can be used as arguments to policy management rules (e.g. route, - # firewall, load balancing, etc.). - # * Label keys must be between 1 and 63 characters long and must conform to - # the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. - # * Label values must be between 0 and 63 characters long and must conform - # to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. - # * No more than 64 labels can be associated with a given resource. - # See https://goo.gl/xmQnxf for more information on and examples of labels. - # If you plan to use labels in your own code, please note that additional - # characters may be allowed in the future. And so you are advised to use an - # internal label representation, such as JSON, which doesn't rely upon - # specific characters being disallowed. For example, representing labels - # as the string: name + "_" + value would prove problematic if we were to - # allow "_" in a future release. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # Required. The name of the instance's configuration. Values are of the form - # `projects//instanceConfigs/`. See - # also InstanceConfig and - # ListInstanceConfigs. - # Corresponds to the JSON property `config` - # @return [String] - attr_accessor :config - - # Output only. The current instance state. For - # CreateInstance, the state must be - # either omitted or set to `CREATING`. For - # UpdateInstance, the state must be - # either omitted or set to `READY`. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @display_name = args[:display_name] if args.key?(:display_name) - @node_count = args[:node_count] if args.key?(:node_count) - @labels = args[:labels] if args.key?(:labels) - @config = args[:config] if args.key?(:config) - @state = args[:state] if args.key?(:state) - end - end - - # Request message for `SetIamPolicy` method. - class SetIamPolicyRequest - include Google::Apis::Core::Hashable - - # Defines an Identity and Access Management (IAM) policy. It is used to - # specify access control policies for Cloud Platform resources. - # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of - # `members` to a `role`, where the members can be user accounts, Google groups, - # Google domains, and service 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: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` - # @return [Google::Apis::SpannerV1::Policy] - attr_accessor :policy - - # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only - # the fields in the mask will be modified. If no mask is provided, the - # following default mask is used: - # paths: "bindings, etag" - # This field is only used by Cloud IAM. - # Corresponds to the JSON property `updateMask` - # @return [String] - attr_accessor :update_mask - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @policy = args[:policy] if args.key?(:policy) - @update_mask = args[:update_mask] if args.key?(:update_mask) - end - end - - # The response for ListDatabases. - class ListDatabasesResponse - include Google::Apis::Core::Hashable - - # `next_page_token` can be sent in a subsequent - # ListDatabases call to fetch more - # of the matching databases. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Databases that matched the request. - # Corresponds to the JSON property `databases` - # @return [Array] - attr_accessor :databases - - 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) - @databases = args[:databases] if args.key?(:databases) - end - end - - # The request for Rollback. - class RollbackRequest - include Google::Apis::Core::Hashable - - # Required. The transaction to roll back. - # Corresponds to the JSON property `transactionId` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :transaction_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @transaction_id = args[:transaction_id] if args.key?(:transaction_id) - end - end - - # A transaction. - class Transaction - include Google::Apis::Core::Hashable - - # For snapshot read-only transactions, the read timestamp chosen - # for the transaction. Not returned by default: see - # TransactionOptions.ReadOnly.return_read_timestamp. - # Corresponds to the JSON property `readTimestamp` - # @return [String] - attr_accessor :read_timestamp - - # `id` may be used to identify the transaction in subsequent - # Read, - # ExecuteSql, - # Commit, or - # Rollback calls. - # Single-use read-only transactions do not have IDs, because - # single-use transactions do not support multiple requests. - # Corresponds to the JSON property `id` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @read_timestamp = args[:read_timestamp] if args.key?(:read_timestamp) - @id = args[:id] if args.key?(:id) - end - end - - # Metadata type for the operation returned by - # UpdateDatabaseDdl. - class UpdateDatabaseDdlMetadata - include Google::Apis::Core::Hashable - - # The database being modified. - # Corresponds to the JSON property `database` - # @return [String] - attr_accessor :database - - # For an update this list contains all the statements. For an - # individual statement, this list contains only that statement. - # Corresponds to the JSON property `statements` - # @return [Array] - attr_accessor :statements - - # Reports the commit timestamps of all statements that have - # succeeded so far, where `commit_timestamps[i]` is the commit - # timestamp for the statement `statements[i]`. - # Corresponds to the JSON property `commitTimestamps` - # @return [Array] - attr_accessor :commit_timestamps - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @database = args[:database] if args.key?(:database) - @statements = args[:statements] if args.key?(:statements) - @commit_timestamps = args[:commit_timestamps] if args.key?(:commit_timestamps) - end - end - - # Options for counters - class CounterOptions - include Google::Apis::Core::Hashable - - # The field value to attribute. - # Corresponds to the JSON property `field` - # @return [String] - attr_accessor :field - - # The metric to update. - # Corresponds to the JSON property `metric` - # @return [String] - attr_accessor :metric - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @field = args[:field] if args.key?(:field) - @metric = args[:metric] if args.key?(:metric) - end - end - - # `StructType` defines the fields of a STRUCT type. - class StructType - include Google::Apis::Core::Hashable - - # The list of fields that make up this struct. Order is - # significant, because values of this struct type are represented as - # lists, where the order of field values matches the order of - # fields in the StructType. In turn, the order of fields - # matches the order of columns in a read request, or the order of - # fields in the `SELECT` clause of a query. - # Corresponds to the JSON property `fields` - # @return [Array] - attr_accessor :fields - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @fields = args[:fields] if args.key?(:fields) - end - end - - # Contains an ordered list of nodes appearing in the query plan. - class QueryPlan - include Google::Apis::Core::Hashable - - # The nodes in the query plan. Plan nodes are returned in pre-order starting - # with the plan root. Each PlanNode's `id` corresponds to its index in - # `plan_nodes`. - # Corresponds to the JSON property `planNodes` - # @return [Array] - attr_accessor :plan_nodes - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @plan_nodes = args[:plan_nodes] if args.key?(:plan_nodes) - end - end - - # Message representing a single field of a struct. - class Field - include Google::Apis::Core::Hashable - - # The name of the field. For reads, this is the column name. For - # SQL queries, it is the column alias (e.g., `"Word"` in the - # query `"SELECT 'hello' AS Word"`), or the column name (e.g., - # `"ColName"` in the query `"SELECT ColName FROM Table"`). Some - # columns might have an empty name (e.g., !"SELECT - # UPPER(ColName)"`). Note that a query result can contain - # multiple fields with the same name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # `Type` indicates the type of a Cloud Spanner value, as might be stored in a - # table cell or returned from an SQL query. - # Corresponds to the JSON property `type` - # @return [Google::Apis::SpannerV1::Type] - attr_accessor :type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @type = args[:type] if args.key?(:type) - end - end - - # Request message for `TestIamPermissions` method. - class TestIamPermissionsRequest - include Google::Apis::Core::Hashable - - # REQUIRED: The set of permissions to check for 'resource'. - # Permissions with wildcards (such as '*', 'spanner.*', 'spanner.instances.*') - # are not allowed. - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - end - end - - # Additional statistics about a ResultSet or PartialResultSet. - class ResultSetStats - include Google::Apis::Core::Hashable - - # Aggregated statistics from the execution of the query. Only present when - # the query is profiled. For example, a query could return the statistics as - # follows: - # ` - # "rows_returned": "3", - # "elapsed_time": "1.22 secs", - # "cpu_time": "1.19 secs" - # ` - # Corresponds to the JSON property `queryStats` - # @return [Hash] - attr_accessor :query_stats - - # Contains an ordered list of nodes appearing in the query plan. - # Corresponds to the JSON property `queryPlan` - # @return [Google::Apis::SpannerV1::QueryPlan] - attr_accessor :query_plan - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @query_stats = args[:query_stats] if args.key?(:query_stats) - @query_plan = args[:query_plan] if args.key?(:query_plan) - end - end - - # The response for Commit. - class CommitResponse - include Google::Apis::Core::Hashable - - # The Cloud Spanner timestamp at which the transaction committed. - # Corresponds to the JSON property `commitTimestamp` - # @return [String] - attr_accessor :commit_timestamp - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @commit_timestamp = args[:commit_timestamp] if args.key?(:commit_timestamp) - end - end - - # `Type` indicates the type of a Cloud Spanner value, as might be stored in a - # table cell or returned from an SQL query. - class Type - include Google::Apis::Core::Hashable - - # `StructType` defines the fields of a STRUCT type. - # Corresponds to the JSON property `structType` - # @return [Google::Apis::SpannerV1::StructType] - attr_accessor :struct_type - - # `Type` indicates the type of a Cloud Spanner value, as might be stored in a - # table cell or returned from an SQL query. - # Corresponds to the JSON property `arrayElementType` - # @return [Google::Apis::SpannerV1::Type] - attr_accessor :array_element_type - - # Required. The TypeCode for this type. - # Corresponds to the JSON property `code` - # @return [String] - attr_accessor :code - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @struct_type = args[:struct_type] if args.key?(:struct_type) - @array_element_type = args[:array_element_type] if args.key?(:array_element_type) - @code = args[:code] if args.key?(:code) - end - end - - # Node information for nodes appearing in a QueryPlan.plan_nodes. - class PlanNode - include Google::Apis::Core::Hashable - - # List of child node `index`es and their relationship to this parent. - # Corresponds to the JSON property `childLinks` - # @return [Array] - attr_accessor :child_links - - # Attributes relevant to the node contained in a group of key-value pairs. - # For example, a Parameter Reference node could have the following - # information in its metadata: - # ` - # "parameter_reference": "param1", - # "parameter_type": "array" - # ` - # Corresponds to the JSON property `metadata` - # @return [Hash] - attr_accessor :metadata - - # The execution statistics associated with the node, contained in a group of - # key-value pairs. Only present if the plan was returned as a result of a - # profile query. For example, number of executions, number of rows/time per - # execution etc. - # Corresponds to the JSON property `executionStats` - # @return [Hash] - attr_accessor :execution_stats - - # Condensed representation of a node and its subtree. Only present for - # `SCALAR` PlanNode(s). - # Corresponds to the JSON property `shortRepresentation` - # @return [Google::Apis::SpannerV1::ShortRepresentation] - attr_accessor :short_representation - - # The `PlanNode`'s index in node list. - # Corresponds to the JSON property `index` - # @return [Fixnum] - attr_accessor :index - - # Used to determine the type of node. May be needed for visualizing - # different kinds of nodes differently. For example, If the node is a - # SCALAR node, it will have a condensed representation - # which can be used to directly embed a description of the node in its - # parent. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # The display name for the node. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @child_links = args[:child_links] if args.key?(:child_links) - @metadata = args[:metadata] if args.key?(:metadata) - @execution_stats = args[:execution_stats] if args.key?(:execution_stats) - @short_representation = args[:short_representation] if args.key?(:short_representation) - @index = args[:index] if args.key?(:index) - @kind = args[:kind] if args.key?(:kind) - @display_name = args[:display_name] if args.key?(:display_name) - end - end - - # Metadata type for the operation returned by - # CreateInstance. - class CreateInstanceMetadata - include Google::Apis::Core::Hashable - - # The time at which this operation failed or was completed successfully. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # The time at which this operation was cancelled. If set, this operation is - # in the process of undoing itself (which is guaranteed to succeed) and - # cannot be cancelled again. - # Corresponds to the JSON property `cancelTime` - # @return [String] - attr_accessor :cancel_time - - # The time at which the - # CreateInstance request was - # received. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # An isolated set of Cloud Spanner resources on which databases can be hosted. - # Corresponds to the JSON property `instance` - # @return [Google::Apis::SpannerV1::Instance] - attr_accessor :instance - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @end_time = args[:end_time] if args.key?(:end_time) - @cancel_time = args[:cancel_time] if args.key?(:cancel_time) - @start_time = args[:start_time] if args.key?(:start_time) - @instance = args[:instance] if args.key?(:instance) - end - end - # Specifies the audit configuration for a service. # The configuration determines which permission types are logged, and what # identities, if any, are exempted from logging. @@ -2478,35 +102,37 @@ module Google end end - # Metadata associated with a parent-child relationship appearing in a - # PlanNode. - class ChildLink + # Provides the configuration for logging a type of permissions. + # Example: + # ` + # "audit_log_configs": [ + # ` + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:foo@gmail.com" + # ] + # `, + # ` + # "log_type": "DATA_WRITE", + # ` + # ] + # ` + # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting + # foo@gmail.com from DATA_READ logging. + class AuditLogConfig include Google::Apis::Core::Hashable - # Only present if the child node is SCALAR and corresponds - # to an output variable of the parent node. The field carries the name of - # the output variable. - # For example, a `TableScan` operator that reads rows from a table will - # have child links to the `SCALAR` nodes representing the output variables - # created for each column that is read by the operator. The corresponding - # `variable` fields will be set to the variable names assigned to the - # columns. - # Corresponds to the JSON property `variable` - # @return [String] - attr_accessor :variable + # Specifies the identities that do not cause logging for this type of + # permission. + # Follows the same format of Binding.members. + # Corresponds to the JSON property `exemptedMembers` + # @return [Array] + attr_accessor :exempted_members - # The node to which the link points. - # Corresponds to the JSON property `childIndex` - # @return [Fixnum] - attr_accessor :child_index - - # The type of the link. For example, in Hash Joins this could be used to - # distinguish between the build child and the probe child, or in the case - # of the child being an output variable, to represent the tag associated - # with the output variable. - # Corresponds to the JSON property `type` + # The log type that this config enables. + # Corresponds to the JSON property `logType` # @return [String] - attr_accessor :type + attr_accessor :log_type def initialize(**args) update!(**args) @@ -2514,20 +140,19 @@ module Google # Update properties of this object def update!(**args) - @variable = args[:variable] if args.key?(:variable) - @child_index = args[:child_index] if args.key?(:child_index) - @type = args[:type] if args.key?(:type) + @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @log_type = args[:log_type] if args.key?(:log_type) end end - # Write a Cloud Audit log - class CloudAuditOptions + # Authorization-related information used by Cloud Audit Logging. + class AuthorizationLoggingOptions include Google::Apis::Core::Hashable - # The log_name to populate in the Cloud Audit Record. - # Corresponds to the JSON property `logName` + # The type of the permission that was checked. + # Corresponds to the JSON property `permissionType` # @return [String] - attr_accessor :log_name + attr_accessor :permission_type def initialize(**args) update!(**args) @@ -2535,111 +160,7 @@ module Google # Update properties of this object def update!(**args) - @log_name = args[:log_name] if args.key?(:log_name) - end - end - - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" - class Expr - include Google::Apis::Core::Hashable - - # An optional description of the expression. This is a longer text which - # describes the expression, e.g. when hovered over it in a UI. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Textual representation of an expression in - # [Common Expression Language](http://go/api-expr) syntax. - # The application context of the containing message determines which - # well-known feature set of CEL is supported. - # Corresponds to the JSON property `expression` - # @return [String] - attr_accessor :expression - - # An optional string indicating the location of the expression for error - # reporting, e.g. a file name and a position in the file. - # Corresponds to the JSON property `location` - # @return [String] - attr_accessor :location - - # An optional title for the expression, i.e. a short string describing - # its purpose. This can be used e.g. in UIs which allow to enter the - # expression. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @description = args[:description] if args.key?(:description) - @expression = args[:expression] if args.key?(:expression) - @location = args[:location] if args.key?(:location) - @title = args[:title] if args.key?(:title) - end - end - - # Arguments to delete operations. - class Delete - include Google::Apis::Core::Hashable - - # `KeySet` defines a collection of Cloud Spanner keys and/or key ranges. All - # the keys are expected to be in the same table or index. The keys need - # not be sorted in any particular way. - # If the same key is specified multiple times in the set (for example - # if two ranges, two keys, or a key and a range overlap), Cloud Spanner - # behaves as if the key were only specified once. - # Corresponds to the JSON property `keySet` - # @return [Google::Apis::SpannerV1::KeySet] - attr_accessor :key_set - - # Required. The table whose rows will be deleted. - # Corresponds to the JSON property `table` - # @return [String] - attr_accessor :table - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @key_set = args[:key_set] if args.key?(:key_set) - @table = args[:table] if args.key?(:table) - end - end - - # The response for ListInstanceConfigs. - class ListInstanceConfigsResponse - include Google::Apis::Core::Hashable - - # `next_page_token` can be sent in a subsequent - # ListInstanceConfigs call to - # fetch more of the matching instance configurations. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The list of requested instance configurations. - # Corresponds to the JSON property `instanceConfigs` - # @return [Array] - attr_accessor :instance_configs - - 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) - @instance_configs = args[:instance_configs] if args.key?(:instance_configs) + @permission_type = args[:permission_type] if args.key?(:permission_type) end end @@ -2829,6 +350,122 @@ module Google end end + # Associates `members` with a `role`. + class Binding + include Google::Apis::Core::Hashable + + # Represents an expression text. Example: + # title: "User account presence" + # description: "Determines whether the request has a user account" + # expression: "size(request.user) > 0" + # Corresponds to the JSON property `condition` + # @return [Google::Apis::SpannerV1::Expr] + attr_accessor :condition + + # Specifies the identities requesting access for a Cloud Platform resource. + # `members` can have the following values: + # * `allUsers`: A special identifier that represents anyone who is + # on the internet; with or without a Google account. + # * `allAuthenticatedUsers`: A special identifier that represents anyone + # who is authenticated with a Google account or a service account. + # * `user:`emailid``: An email address that represents a specific Google + # account. For example, `alice@gmail.com` or `joe@example.com`. + # * `serviceAccount:`emailid``: An email address that represents a service + # account. For example, `my-other-app@appspot.gserviceaccount.com`. + # * `group:`emailid``: An email address that represents a Google group. + # For example, `admins@example.com`. + # * `domain:`domain``: A Google Apps domain name that represents all the + # users of that domain. For example, `google.com` or `example.com`. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members + + # Role that is assigned to `members`. + # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + # Required + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @condition = args[:condition] if args.key?(:condition) + @members = args[:members] if args.key?(:members) + @role = args[:role] if args.key?(:role) + end + end + + # Metadata associated with a parent-child relationship appearing in a + # PlanNode. + class ChildLink + include Google::Apis::Core::Hashable + + # The node to which the link points. + # Corresponds to the JSON property `childIndex` + # @return [Fixnum] + attr_accessor :child_index + + # The type of the link. For example, in Hash Joins this could be used to + # distinguish between the build child and the probe child, or in the case + # of the child being an output variable, to represent the tag associated + # with the output variable. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # Only present if the child node is SCALAR and corresponds + # to an output variable of the parent node. The field carries the name of + # the output variable. + # For example, a `TableScan` operator that reads rows from a table will + # have child links to the `SCALAR` nodes representing the output variables + # created for each column that is read by the operator. The corresponding + # `variable` fields will be set to the variable names assigned to the + # columns. + # Corresponds to the JSON property `variable` + # @return [String] + attr_accessor :variable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @child_index = args[:child_index] if args.key?(:child_index) + @type = args[:type] if args.key?(:type) + @variable = args[:variable] if args.key?(:variable) + end + end + + # Write a Cloud Audit log + class CloudAuditOptions + include Google::Apis::Core::Hashable + + # Authorization-related information used by Cloud Audit Logging. + # Corresponds to the JSON property `authorizationLoggingOptions` + # @return [Google::Apis::SpannerV1::AuthorizationLoggingOptions] + attr_accessor :authorization_logging_options + + # The log_name to populate in the Cloud Audit Record. + # Corresponds to the JSON property `logName` + # @return [String] + attr_accessor :log_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @authorization_logging_options = args[:authorization_logging_options] if args.key?(:authorization_logging_options) + @log_name = args[:log_name] if args.key?(:log_name) + end + end + # The request for Commit. class CommitRequest include Google::Apis::Core::Hashable @@ -3030,15 +667,14 @@ module Google end end - # Response message for `TestIamPermissions` method. - class TestIamPermissionsResponse + # The response for Commit. + class CommitResponse include Google::Apis::Core::Hashable - # A subset of `TestPermissionsRequest.permissions` that the caller is - # allowed. - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions + # The Cloud Spanner timestamp at which the transaction committed. + # Corresponds to the JSON property `commitTimestamp` + # @return [String] + attr_accessor :commit_timestamp def initialize(**args) update!(**args) @@ -3046,68 +682,73 @@ module Google # Update properties of this object def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) + @commit_timestamp = args[:commit_timestamp] if args.key?(:commit_timestamp) end end - # Request message for `GetIamPolicy` method. - class GetIamPolicyRequest + # 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 + + # An operator to apply the subject with. + # Corresponds to the JSON property `op` + # @return [String] + attr_accessor :op + + # Trusted attributes discharged by the service. + # Corresponds to the JSON property `svc` + # @return [String] + attr_accessor :svc + + # 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 + + # DEPRECATED. Use 'values' instead. + # 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) + @op = args[:op] if args.key?(:op) + @svc = args[:svc] if args.key?(:svc) + @sys = args[:sys] if args.key?(:sys) + @value = args[:value] if args.key?(:value) + @values = args[:values] if args.key?(:values) end end - # A rule to be applied in a Policy. - class Rule + # Options for counters + class CounterOptions include Google::Apis::Core::Hashable - # 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 - - # If one or more 'in' clauses are specified, the rule matches if - # the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. - # Corresponds to the JSON property `in` - # @return [Array] - attr_accessor :in - - # 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` + # The field value to attribute. + # Corresponds to the JSON property `field` # @return [String] - attr_accessor :action + attr_accessor :field - # If one or more 'not_in' clauses are specified, the rule matches - # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the 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 - - # Human-readable description of the rule. - # Corresponds to the JSON property `description` + # The metric to update. + # Corresponds to the JSON property `metric` # @return [String] - attr_accessor :description + attr_accessor :metric def initialize(**args) update!(**args) @@ -3115,13 +756,8 @@ module Google # Update properties of this object def update!(**args) - @conditions = args[:conditions] if args.key?(:conditions) - @log_config = args[:log_config] if args.key?(:log_config) - @in = args[:in] if args.key?(:in) - @permissions = args[:permissions] if args.key?(:permissions) - @action = args[:action] if args.key?(:action) - @not_in = args[:not_in] if args.key?(:not_in) - @description = args[:description] if args.key?(:description) + @field = args[:field] if args.key?(:field) + @metric = args[:metric] if args.key?(:metric) end end @@ -3145,24 +781,26 @@ module Google end end - # Specifies what kind of log the caller must write - class LogConfig + # The request for CreateDatabase. + class CreateDatabaseRequest include Google::Apis::Core::Hashable - # Options for counters - # Corresponds to the JSON property `counter` - # @return [Google::Apis::SpannerV1::CounterOptions] - attr_accessor :counter + # Required. A `CREATE DATABASE` statement, which specifies the ID of the + # new database. The database ID must conform to the regular expression + # `a-z*[a-z0-9]` and be between 2 and 30 characters in length. + # If the database ID is a reserved word or if it contains a hyphen, the + # database ID must be enclosed in backticks (`` ` ``). + # Corresponds to the JSON property `createStatement` + # @return [String] + attr_accessor :create_statement - # Write a Data Access (Gin) log - # Corresponds to the JSON property `dataAccess` - # @return [Google::Apis::SpannerV1::DataAccessOptions] - attr_accessor :data_access - - # Write a Cloud Audit log - # Corresponds to the JSON property `cloudAudit` - # @return [Google::Apis::SpannerV1::CloudAuditOptions] - attr_accessor :cloud_audit + # An optional list of DDL statements to run inside the newly created + # database. Statements can create tables, indexes, etc. These + # statements execute atomically with the creation of the database: + # if there is an error in any statement, the database is not created. + # Corresponds to the JSON property `extraStatements` + # @return [Array] + attr_accessor :extra_statements def initialize(**args) update!(**args) @@ -3170,17 +808,461 @@ module Google # 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) + @create_statement = args[:create_statement] if args.key?(:create_statement) + @extra_statements = args[:extra_statements] if args.key?(:extra_statements) end end - # A session in the Cloud Spanner API. - class Session + # Metadata type for the operation returned by + # CreateInstance. + class CreateInstanceMetadata include Google::Apis::Core::Hashable - # Required. The name of the session. + # The time at which this operation was cancelled. If set, this operation is + # in the process of undoing itself (which is guaranteed to succeed) and + # cannot be cancelled again. + # Corresponds to the JSON property `cancelTime` + # @return [String] + attr_accessor :cancel_time + + # The time at which this operation failed or was completed successfully. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # An isolated set of Cloud Spanner resources on which databases can be hosted. + # Corresponds to the JSON property `instance` + # @return [Google::Apis::SpannerV1::Instance] + attr_accessor :instance + + # The time at which the + # CreateInstance request was + # received. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cancel_time = args[:cancel_time] if args.key?(:cancel_time) + @end_time = args[:end_time] if args.key?(:end_time) + @instance = args[:instance] if args.key?(:instance) + @start_time = args[:start_time] if args.key?(:start_time) + end + end + + # The request for CreateInstance. + class CreateInstanceRequest + include Google::Apis::Core::Hashable + + # An isolated set of Cloud Spanner resources on which databases can be hosted. + # Corresponds to the JSON property `instance` + # @return [Google::Apis::SpannerV1::Instance] + attr_accessor :instance + + # Required. The ID of the instance to create. Valid identifiers are of the + # form `a-z*[a-z0-9]` and must be between 6 and 30 characters in + # length. + # Corresponds to the JSON property `instanceId` + # @return [String] + attr_accessor :instance_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instance = args[:instance] if args.key?(:instance) + @instance_id = args[:instance_id] if args.key?(:instance_id) + 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 + + # A Cloud Spanner database. + class Database + include Google::Apis::Core::Hashable + + # Required. The name of the database. Values are of the form + # `projects//instances//databases/`, + # where `` is as specified in the `CREATE DATABASE` + # statement. This name can be passed to other API methods to + # identify the database. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Output only. The current database state. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @state = args[:state] if args.key?(:state) + end + end + + # Arguments to delete operations. + class Delete + include Google::Apis::Core::Hashable + + # `KeySet` defines a collection of Cloud Spanner keys and/or key ranges. All + # the keys are expected to be in the same table or index. The keys need + # not be sorted in any particular way. + # If the same key is specified multiple times in the set (for example + # if two ranges, two keys, or a key and a range overlap), Cloud Spanner + # behaves as if the key were only specified once. + # Corresponds to the JSON property `keySet` + # @return [Google::Apis::SpannerV1::KeySet] + attr_accessor :key_set + + # Required. The table whose rows will be deleted. + # Corresponds to the JSON property `table` + # @return [String] + attr_accessor :table + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key_set = args[:key_set] if args.key?(:key_set) + @table = args[:table] if args.key?(:table) + 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 request for ExecuteSql and + # ExecuteStreamingSql. + class ExecuteSqlRequest + include Google::Apis::Core::Hashable + + # It is not always possible for Cloud Spanner to infer the right SQL type + # from a JSON value. For example, values of type `BYTES` and values + # of type `STRING` both appear in params as JSON strings. + # In these cases, `param_types` can be used to specify the exact + # SQL type for some or all of the SQL query parameters. See the + # definition of Type for more information + # about SQL types. + # Corresponds to the JSON property `paramTypes` + # @return [Hash] + attr_accessor :param_types + + # The SQL query string can contain parameter placeholders. A parameter + # placeholder consists of `'@'` followed by the parameter + # name. Parameter names consist of any combination of letters, + # numbers, and underscores. + # Parameters can appear anywhere that a literal value is expected. The same + # parameter name can be used more than once, for example: + # `"WHERE id > @msg_id AND id < @msg_id + 100"` + # It is an error to execute an SQL query with unbound parameters. + # Parameter values are specified using `params`, which is a JSON + # object whose keys are parameter names, and whose values are the + # corresponding parameter values. + # Corresponds to the JSON property `params` + # @return [Hash] + attr_accessor :params + + # Used to control the amount of debugging information returned in + # ResultSetStats. + # Corresponds to the JSON property `queryMode` + # @return [String] + attr_accessor :query_mode + + # If this request is resuming a previously interrupted SQL query + # execution, `resume_token` should be copied from the last + # PartialResultSet yielded before the interruption. Doing this + # enables the new SQL query execution to resume where the last one left + # off. The rest of the request parameters must exactly match the + # request that yielded this token. + # Corresponds to the JSON property `resumeToken` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :resume_token + + # Required. The SQL query string. + # Corresponds to the JSON property `sql` + # @return [String] + attr_accessor :sql + + # This message is used to select the transaction in which a + # Read or + # ExecuteSql call runs. + # See TransactionOptions for more information about transactions. + # Corresponds to the JSON property `transaction` + # @return [Google::Apis::SpannerV1::TransactionSelector] + attr_accessor :transaction + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @param_types = args[:param_types] if args.key?(:param_types) + @params = args[:params] if args.key?(:params) + @query_mode = args[:query_mode] if args.key?(:query_mode) + @resume_token = args[:resume_token] if args.key?(:resume_token) + @sql = args[:sql] if args.key?(:sql) + @transaction = args[:transaction] if args.key?(:transaction) + end + end + + # Represents an expression text. Example: + # title: "User account presence" + # description: "Determines whether the request has a user account" + # expression: "size(request.user) > 0" + class Expr + include Google::Apis::Core::Hashable + + # An optional description of the expression. This is a longer text which + # describes the expression, e.g. when hovered over it in a UI. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Textual representation of an expression in + # Common Expression Language syntax. + # The application context of the containing message determines which + # well-known feature set of CEL is supported. + # Corresponds to the JSON property `expression` + # @return [String] + attr_accessor :expression + + # An optional string indicating the location of the expression for error + # reporting, e.g. a file name and a position in the file. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # An optional title for the expression, i.e. a short string describing + # its purpose. This can be used e.g. in UIs which allow to enter the + # expression. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @expression = args[:expression] if args.key?(:expression) + @location = args[:location] if args.key?(:location) + @title = args[:title] if args.key?(:title) + end + end + + # Message representing a single field of a struct. + class Field + include Google::Apis::Core::Hashable + + # The name of the field. For reads, this is the column name. For + # SQL queries, it is the column alias (e.g., `"Word"` in the + # query `"SELECT 'hello' AS Word"`), or the column name (e.g., + # `"ColName"` in the query `"SELECT ColName FROM Table"`). Some + # columns might have an empty name (e.g., !"SELECT + # UPPER(ColName)"`). Note that a query result can contain + # multiple fields with the same name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # `Type` indicates the type of a Cloud Spanner value, as might be stored in a + # table cell or returned from an SQL query. + # Corresponds to the JSON property `type` + # @return [Google::Apis::SpannerV1::Type] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @type = args[:type] if args.key?(:type) + end + end + + # The response for GetDatabaseDdl. + class GetDatabaseDdlResponse + include Google::Apis::Core::Hashable + + # A list of formatted DDL statements defining the schema of the database + # specified in the request. + # Corresponds to the JSON property `statements` + # @return [Array] + attr_accessor :statements + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @statements = args[:statements] if args.key?(:statements) + end + end + + # Request message for `GetIamPolicy` method. + class GetIamPolicyRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # An isolated set of Cloud Spanner resources on which databases can be hosted. + class Instance + include Google::Apis::Core::Hashable + + # Required. The name of the instance's configuration. Values are of the form + # `projects//instanceConfigs/`. See + # also InstanceConfig and + # ListInstanceConfigs. + # Corresponds to the JSON property `config` + # @return [String] + attr_accessor :config + + # Required. The descriptive name for this instance as it appears in UIs. + # Must be unique per project and between 4 and 30 characters in length. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Cloud Labels are a flexible and lightweight mechanism for organizing cloud + # resources into groups that reflect a customer's organizational needs and + # deployment strategies. Cloud Labels can be used to filter collections of + # resources. They can be used to control how resource metrics are aggregated. + # And they can be used as arguments to policy management rules (e.g. route, + # firewall, load balancing, etc.). + # * Label keys must be between 1 and 63 characters long and must conform to + # the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. + # * Label values must be between 0 and 63 characters long and must conform + # to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. + # * No more than 64 labels can be associated with a given resource. + # See https://goo.gl/xmQnxf for more information on and examples of labels. + # If you plan to use labels in your own code, please note that additional + # characters may be allowed in the future. And so you are advised to use an + # internal label representation, such as JSON, which doesn't rely upon + # specific characters being disallowed. For example, representing labels + # as the string: name + "_" + value would prove problematic if we were to + # allow "_" in a future release. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Required. A unique identifier for the instance, which cannot be changed + # after the instance is created. Values are of the form + # `projects//instances/a-z*[a-z0-9]`. The final + # segment of the name must be between 6 and 30 characters in length. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Required. The number of nodes allocated to this instance. This may be zero + # in API responses for instances that are not yet in state `READY`. + # Each Spanner node can provide up to 10,000 QPS of reads or 2000 QPS of + # writes (writing single rows at 1KB data per row), and 2 TiB storage. + # For optimal performance, we recommend provisioning enough nodes to keep + # overall CPU utilization under 75%. + # A minimum of 3 nodes is recommended for production environments. This + # minimum is required for SLAs to apply to your instance. + # Note that Cloud Spanner performance is highly dependent on workload, schema + # design, and dataset characteristics. The performance numbers above are + # estimates, and assume [best practices](https://cloud.google.com/spanner/docs/ + # bulk-loading) + # are followed. + # Corresponds to the JSON property `nodeCount` + # @return [Fixnum] + attr_accessor :node_count + + # Output only. The current instance state. For + # CreateInstance, the state must be + # either omitted or set to `CREATING`. For + # UpdateInstance, the state must be + # either omitted or set to `READY`. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @config = args[:config] if args.key?(:config) + @display_name = args[:display_name] if args.key?(:display_name) + @labels = args[:labels] if args.key?(:labels) + @name = args[:name] if args.key?(:name) + @node_count = args[:node_count] if args.key?(:node_count) + @state = args[:state] if args.key?(:state) + end + end + + # A possible configuration for a Cloud Spanner instance. Configurations + # define the geographic placement of nodes and their replication. + class InstanceConfig + include Google::Apis::Core::Hashable + + # The name of this instance configuration as it appears in UIs. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # A unique identifier for the instance configuration. Values + # are of the form + # `projects//instanceConfigs/a-z*` # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -3191,6 +1273,7 @@ module Google # Update properties of this object def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) end end @@ -3257,17 +1340,11 @@ module Google class KeyRange include Google::Apis::Core::Hashable - # If the start is open, then the range excludes rows whose first - # `len(start_open)` key columns exactly match `start_open`. - # Corresponds to the JSON property `startOpen` + # If the end is closed, then the range includes all rows whose + # first `len(end_closed)` key columns exactly match `end_closed`. + # Corresponds to the JSON property `endClosed` # @return [Array] - attr_accessor :start_open - - # If the start is closed, then the range includes all rows whose - # first `len(start_closed)` key columns exactly match `start_closed`. - # Corresponds to the JSON property `startClosed` - # @return [Array] - attr_accessor :start_closed + attr_accessor :end_closed # If the end is open, then the range excludes rows whose first # `len(end_open)` key columns exactly match `end_open`. @@ -3275,11 +1352,17 @@ module Google # @return [Array] attr_accessor :end_open - # If the end is closed, then the range includes all rows whose - # first `len(end_closed)` key columns exactly match `end_closed`. - # Corresponds to the JSON property `endClosed` + # If the start is closed, then the range includes all rows whose + # first `len(start_closed)` key columns exactly match `start_closed`. + # Corresponds to the JSON property `startClosed` # @return [Array] - attr_accessor :end_closed + attr_accessor :start_closed + + # If the start is open, then the range excludes rows whose first + # `len(start_open)` key columns exactly match `start_open`. + # Corresponds to the JSON property `startOpen` + # @return [Array] + attr_accessor :start_open def initialize(**args) update!(**args) @@ -3287,10 +1370,107 @@ module Google # Update properties of this object def update!(**args) - @start_open = args[:start_open] if args.key?(:start_open) - @start_closed = args[:start_closed] if args.key?(:start_closed) - @end_open = args[:end_open] if args.key?(:end_open) @end_closed = args[:end_closed] if args.key?(:end_closed) + @end_open = args[:end_open] if args.key?(:end_open) + @start_closed = args[:start_closed] if args.key?(:start_closed) + @start_open = args[:start_open] if args.key?(:start_open) + end + end + + # `KeySet` defines a collection of Cloud Spanner keys and/or key ranges. All + # the keys are expected to be in the same table or index. The keys need + # not be sorted in any particular way. + # If the same key is specified multiple times in the set (for example + # if two ranges, two keys, or a key and a range overlap), Cloud Spanner + # behaves as if the key were only specified once. + class KeySet + include Google::Apis::Core::Hashable + + # For convenience `all` can be set to `true` to indicate that this + # `KeySet` matches all keys in the table or index. Note that any keys + # specified in `keys` or `ranges` are only yielded once. + # Corresponds to the JSON property `all` + # @return [Boolean] + attr_accessor :all + alias_method :all?, :all + + # A list of specific keys. Entries in `keys` should have exactly as + # many elements as there are columns in the primary or index key + # with which this `KeySet` is used. Individual key values are + # encoded as described here. + # Corresponds to the JSON property `keys` + # @return [Array>] + attr_accessor :keys + + # A list of key ranges. See KeyRange for more information about + # key range specifications. + # Corresponds to the JSON property `ranges` + # @return [Array] + attr_accessor :ranges + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @all = args[:all] if args.key?(:all) + @keys = args[:keys] if args.key?(:keys) + @ranges = args[:ranges] if args.key?(:ranges) + end + end + + # The response for ListDatabases. + class ListDatabasesResponse + include Google::Apis::Core::Hashable + + # Databases that matched the request. + # Corresponds to the JSON property `databases` + # @return [Array] + attr_accessor :databases + + # `next_page_token` can be sent in a subsequent + # ListDatabases call to fetch more + # of the matching databases. + # 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) + @databases = args[:databases] if args.key?(:databases) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The response for ListInstanceConfigs. + class ListInstanceConfigsResponse + include Google::Apis::Core::Hashable + + # The list of requested instance configurations. + # Corresponds to the JSON property `instanceConfigs` + # @return [Array] + attr_accessor :instance_configs + + # `next_page_token` can be sent in a subsequent + # ListInstanceConfigs call to + # fetch more of the matching instance configurations. + # 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) + @instance_configs = args[:instance_configs] if args.key?(:instance_configs) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end end @@ -3298,6 +1478,11 @@ module Google class ListInstancesResponse include Google::Apis::Core::Hashable + # The list of requested instances. + # Corresponds to the JSON property `instances` + # @return [Array] + attr_accessor :instances + # `next_page_token` can be sent in a subsequent # ListInstances call to fetch more # of the matching instances. @@ -3305,10 +1490,30 @@ module Google # @return [String] attr_accessor :next_page_token - # The list of requested instances. - # Corresponds to the JSON property `instances` - # @return [Array] - attr_accessor :instances + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instances = args[:instances] if args.key?(:instances) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The response message for Operations.ListOperations. + class ListOperationsResponse + include Google::Apis::Core::Hashable + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations def initialize(**args) update!(**args) @@ -3317,7 +1522,914 @@ module Google # Update properties of this object def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @instances = args[:instances] if args.key?(:instances) + @operations = args[:operations] if args.key?(:operations) + 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 the only supported field names are + # - "iam_principal", corresponding to IAMContext.principal; + # - "" (empty string), resulting in one aggretated counter with no field. + # 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 + + # Write a Cloud Audit log + # Corresponds to the JSON property `cloudAudit` + # @return [Google::Apis::SpannerV1::CloudAuditOptions] + attr_accessor :cloud_audit + + # Options for counters + # Corresponds to the JSON property `counter` + # @return [Google::Apis::SpannerV1::CounterOptions] + attr_accessor :counter + + # Write a Data Access (Gin) log + # Corresponds to the JSON property `dataAccess` + # @return [Google::Apis::SpannerV1::DataAccessOptions] + attr_accessor :data_access + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit) + @counter = args[:counter] if args.key?(:counter) + @data_access = args[:data_access] if args.key?(:data_access) + end + end + + # A modification to one or more Cloud Spanner rows. Mutations can be + # applied to a Cloud Spanner database by sending them in a + # Commit call. + class Mutation + include Google::Apis::Core::Hashable + + # Arguments to delete operations. + # Corresponds to the JSON property `delete` + # @return [Google::Apis::SpannerV1::Delete] + attr_accessor :delete + + # Arguments to insert, update, insert_or_update, and + # replace operations. + # Corresponds to the JSON property `insert` + # @return [Google::Apis::SpannerV1::Write] + attr_accessor :insert + + # Arguments to insert, update, insert_or_update, and + # replace operations. + # Corresponds to the JSON property `insertOrUpdate` + # @return [Google::Apis::SpannerV1::Write] + attr_accessor :insert_or_update + + # Arguments to insert, update, insert_or_update, and + # replace operations. + # Corresponds to the JSON property `replace` + # @return [Google::Apis::SpannerV1::Write] + attr_accessor :replace + + # Arguments to insert, update, insert_or_update, and + # replace operations. + # Corresponds to the JSON property `update` + # @return [Google::Apis::SpannerV1::Write] + attr_accessor :update + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @delete = args[:delete] if args.key?(:delete) + @insert = args[:insert] if args.key?(:insert) + @insert_or_update = args[:insert_or_update] if args.key?(:insert_or_update) + @replace = args[:replace] if args.key?(:replace) + @update = args[:update] if args.key?(:update) + 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 + + # 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` that 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. + # - 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::SpannerV1::Status] + attr_accessor :error + + # 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 + + # 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 + + # 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) + @done = args[:done] if args.key?(:done) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + @response = args[:response] if args.key?(:response) + end + end + + # Partial results from a streaming read or SQL query. Streaming reads and + # SQL queries better tolerate large result sets, large rows, and large + # values, but are a little trickier to consume. + class PartialResultSet + include Google::Apis::Core::Hashable + + # If true, then the final value in values is chunked, and must + # be combined with more values from subsequent `PartialResultSet`s + # to obtain a complete field value. + # Corresponds to the JSON property `chunkedValue` + # @return [Boolean] + attr_accessor :chunked_value + alias_method :chunked_value?, :chunked_value + + # Metadata about a ResultSet or PartialResultSet. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::SpannerV1::ResultSetMetadata] + attr_accessor :metadata + + # Streaming calls might be interrupted for a variety of reasons, such + # as TCP connection loss. If this occurs, the stream of results can + # be resumed by re-sending the original request and including + # `resume_token`. Note that executing any other transaction in the + # same session invalidates the token. + # Corresponds to the JSON property `resumeToken` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :resume_token + + # Additional statistics about a ResultSet or PartialResultSet. + # Corresponds to the JSON property `stats` + # @return [Google::Apis::SpannerV1::ResultSetStats] + attr_accessor :stats + + # A streamed result set consists of a stream of values, which might + # be split into many `PartialResultSet` messages to accommodate + # large rows and/or large values. Every N complete values defines a + # row, where N is equal to the number of entries in + # metadata.row_type.fields. + # Most values are encoded based on type as described + # here. + # It is possible that the last value in values is "chunked", + # meaning that the rest of the value is sent in subsequent + # `PartialResultSet`(s). This is denoted by the chunked_value + # field. Two or more chunked values can be merged to form a + # complete value as follows: + # * `bool/number/null`: cannot be chunked + # * `string`: concatenate the strings + # * `list`: concatenate the lists. If the last element in a list is a + # `string`, `list`, or `object`, merge it with the first element in + # the next list by applying these rules recursively. + # * `object`: concatenate the (field name, field value) pairs. If a + # field name is duplicated, then apply these rules recursively + # to merge the field values. + # Some examples of merging: + # # Strings are concatenated. + # "foo", "bar" => "foobar" + # # Lists of non-strings are concatenated. + # [2, 3], [4] => [2, 3, 4] + # # Lists are concatenated, but the last and first elements are merged + # # because they are strings. + # ["a", "b"], ["c", "d"] => ["a", "bc", "d"] + # # Lists are concatenated, but the last and first elements are merged + # # because they are lists. Recursively, the last and first elements + # # of the inner lists are merged because they are strings. + # ["a", ["b", "c"]], [["d"], "e"] => ["a", ["b", "cd"], "e"] + # # Non-overlapping object fields are combined. + # `"a": "1"`, `"b": "2"` => `"a": "1", "b": 2"` + # # Overlapping object fields are merged. + # `"a": "1"`, `"a": "2"` => `"a": "12"` + # # Examples of merging objects containing lists of strings. + # `"a": ["1"]`, `"a": ["2"]` => `"a": ["12"]` + # For a more complete example, suppose a streaming SQL query is + # yielding a result set whose rows contain a single string + # field. The following `PartialResultSet`s might be yielded: + # ` + # "metadata": ` ... ` + # "values": ["Hello", "W"] + # "chunked_value": true + # "resume_token": "Af65..." + # ` + # ` + # "values": ["orl"] + # "chunked_value": true + # "resume_token": "Bqp2..." + # ` + # ` + # "values": ["d"] + # "resume_token": "Zx1B..." + # ` + # This sequence of `PartialResultSet`s encodes two rows, one + # containing the field value `"Hello"`, and a second containing the + # field value `"World" = "W" + "orl" + "d"`. + # 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) + @chunked_value = args[:chunked_value] if args.key?(:chunked_value) + @metadata = args[:metadata] if args.key?(:metadata) + @resume_token = args[:resume_token] if args.key?(:resume_token) + @stats = args[:stats] if args.key?(:stats) + @values = args[:values] if args.key?(:values) + end + end + + # Node information for nodes appearing in a QueryPlan.plan_nodes. + class PlanNode + include Google::Apis::Core::Hashable + + # List of child node `index`es and their relationship to this parent. + # Corresponds to the JSON property `childLinks` + # @return [Array] + attr_accessor :child_links + + # The display name for the node. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The execution statistics associated with the node, contained in a group of + # key-value pairs. Only present if the plan was returned as a result of a + # profile query. For example, number of executions, number of rows/time per + # execution etc. + # Corresponds to the JSON property `executionStats` + # @return [Hash] + attr_accessor :execution_stats + + # The `PlanNode`'s index in node list. + # Corresponds to the JSON property `index` + # @return [Fixnum] + attr_accessor :index + + # Used to determine the type of node. May be needed for visualizing + # different kinds of nodes differently. For example, If the node is a + # SCALAR node, it will have a condensed representation + # which can be used to directly embed a description of the node in its + # parent. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Attributes relevant to the node contained in a group of key-value pairs. + # For example, a Parameter Reference node could have the following + # information in its metadata: + # ` + # "parameter_reference": "param1", + # "parameter_type": "array" + # ` + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # Condensed representation of a node and its subtree. Only present for + # `SCALAR` PlanNode(s). + # Corresponds to the JSON property `shortRepresentation` + # @return [Google::Apis::SpannerV1::ShortRepresentation] + attr_accessor :short_representation + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @child_links = args[:child_links] if args.key?(:child_links) + @display_name = args[:display_name] if args.key?(:display_name) + @execution_stats = args[:execution_stats] if args.key?(:execution_stats) + @index = args[:index] if args.key?(:index) + @kind = args[:kind] if args.key?(:kind) + @metadata = args[:metadata] if args.key?(:metadata) + @short_representation = args[:short_representation] if args.key?(:short_representation) + end + end + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service 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:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + class Policy + include Google::Apis::Core::Hashable + + # Specifies cloud audit logging configuration for this policy. + # Corresponds to the JSON property `auditConfigs` + # @return [Array] + attr_accessor :audit_configs + + # Associates a list of `members` to a `role`. + # `bindings` with no members will result in an error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + + # `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 to perform policy updates in order to avoid race + # conditions: An `etag` is returned in the response to `getIamPolicy`, and + # systems are expected to put that etag in the request to `setIamPolicy` to + # ensure that their change will be applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :etag + + # + # Corresponds to the JSON property `iamOwned` + # @return [Boolean] + attr_accessor :iam_owned + alias_method :iam_owned?, :iam_owned + + # If more than one rule is specified, the rules are applied in the following + # manner: + # - All matching LOG rules are always applied. + # - If any DENY/DENY_WITH_LOG rule matches, permission is denied. + # Logging will be applied if one or more matching rule requires logging. + # - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is + # granted. + # Logging will be applied if one or more matching rule requires logging. + # - Otherwise, if no rule applies, permission is denied. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + # Version of the `Policy`. The default version is 0. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audit_configs = args[:audit_configs] if args.key?(:audit_configs) + @bindings = args[:bindings] if args.key?(:bindings) + @etag = args[:etag] if args.key?(:etag) + @iam_owned = args[:iam_owned] if args.key?(:iam_owned) + @rules = args[:rules] if args.key?(:rules) + @version = args[:version] if args.key?(:version) + end + end + + # Contains an ordered list of nodes appearing in the query plan. + class QueryPlan + include Google::Apis::Core::Hashable + + # The nodes in the query plan. Plan nodes are returned in pre-order starting + # with the plan root. Each PlanNode's `id` corresponds to its index in + # `plan_nodes`. + # Corresponds to the JSON property `planNodes` + # @return [Array] + attr_accessor :plan_nodes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @plan_nodes = args[:plan_nodes] if args.key?(:plan_nodes) + end + end + + # Message type to initiate a read-only transaction. + class ReadOnly + include Google::Apis::Core::Hashable + + # Executes all reads at a timestamp that is `exact_staleness` + # old. The timestamp is chosen soon after the read is started. + # Guarantees that all writes that have committed more than the + # specified number of seconds ago are visible. Because Cloud Spanner + # chooses the exact timestamp, this mode works even if the client's + # local clock is substantially skewed from Cloud Spanner commit + # timestamps. + # Useful for reading at nearby replicas without the distributed + # timestamp negotiation overhead of `max_staleness`. + # Corresponds to the JSON property `exactStaleness` + # @return [String] + attr_accessor :exact_staleness + + # Read data at a timestamp >= `NOW - max_staleness` + # seconds. Guarantees that all writes that have committed more + # than the specified number of seconds ago are visible. Because + # Cloud Spanner chooses the exact timestamp, this mode works even if + # the client's local clock is substantially skewed from Cloud Spanner + # commit timestamps. + # Useful for reading the freshest data available at a nearby + # replica, while bounding the possible staleness if the local + # replica has fallen behind. + # Note that this option can only be used in single-use + # transactions. + # Corresponds to the JSON property `maxStaleness` + # @return [String] + attr_accessor :max_staleness + + # Executes all reads at a timestamp >= `min_read_timestamp`. + # This is useful for requesting fresher data than some previous + # read, or data that is fresh enough to observe the effects of some + # previously committed transaction whose timestamp is known. + # Note that this option can only be used in single-use transactions. + # Corresponds to the JSON property `minReadTimestamp` + # @return [String] + attr_accessor :min_read_timestamp + + # Executes all reads at the given timestamp. Unlike other modes, + # reads at a specific timestamp are repeatable; the same read at + # the same timestamp always returns the same data. If the + # timestamp is in the future, the read will block until the + # specified timestamp, modulo the read's deadline. + # Useful for large scale consistent reads such as mapreduces, or + # for coordinating many reads against a consistent snapshot of the + # data. + # Corresponds to the JSON property `readTimestamp` + # @return [String] + attr_accessor :read_timestamp + + # If true, the Cloud Spanner-selected read timestamp is included in + # the Transaction message that describes the transaction. + # Corresponds to the JSON property `returnReadTimestamp` + # @return [Boolean] + attr_accessor :return_read_timestamp + alias_method :return_read_timestamp?, :return_read_timestamp + + # Read at a timestamp where all previously committed transactions + # are visible. + # Corresponds to the JSON property `strong` + # @return [Boolean] + attr_accessor :strong + alias_method :strong?, :strong + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exact_staleness = args[:exact_staleness] if args.key?(:exact_staleness) + @max_staleness = args[:max_staleness] if args.key?(:max_staleness) + @min_read_timestamp = args[:min_read_timestamp] if args.key?(:min_read_timestamp) + @read_timestamp = args[:read_timestamp] if args.key?(:read_timestamp) + @return_read_timestamp = args[:return_read_timestamp] if args.key?(:return_read_timestamp) + @strong = args[:strong] if args.key?(:strong) + end + end + + # The request for Read and + # StreamingRead. + class ReadRequest + include Google::Apis::Core::Hashable + + # The columns of table to be returned for each row matching + # this request. + # Corresponds to the JSON property `columns` + # @return [Array] + attr_accessor :columns + + # If non-empty, the name of an index on table. This index is + # used instead of the table primary key when interpreting key_set + # and sorting result rows. See key_set for further information. + # Corresponds to the JSON property `index` + # @return [String] + attr_accessor :index + + # `KeySet` defines a collection of Cloud Spanner keys and/or key ranges. All + # the keys are expected to be in the same table or index. The keys need + # not be sorted in any particular way. + # If the same key is specified multiple times in the set (for example + # if two ranges, two keys, or a key and a range overlap), Cloud Spanner + # behaves as if the key were only specified once. + # Corresponds to the JSON property `keySet` + # @return [Google::Apis::SpannerV1::KeySet] + attr_accessor :key_set + + # If greater than zero, only the first `limit` rows are yielded. If `limit` + # is zero, the default is no limit. + # Corresponds to the JSON property `limit` + # @return [Fixnum] + attr_accessor :limit + + # If this request is resuming a previously interrupted read, + # `resume_token` should be copied from the last + # PartialResultSet yielded before the interruption. Doing this + # enables the new read to resume where the last read left off. The + # rest of the request parameters must exactly match the request + # that yielded this token. + # Corresponds to the JSON property `resumeToken` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :resume_token + + # Required. The name of the table in the database to be read. + # Corresponds to the JSON property `table` + # @return [String] + attr_accessor :table + + # This message is used to select the transaction in which a + # Read or + # ExecuteSql call runs. + # See TransactionOptions for more information about transactions. + # Corresponds to the JSON property `transaction` + # @return [Google::Apis::SpannerV1::TransactionSelector] + attr_accessor :transaction + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @columns = args[:columns] if args.key?(:columns) + @index = args[:index] if args.key?(:index) + @key_set = args[:key_set] if args.key?(:key_set) + @limit = args[:limit] if args.key?(:limit) + @resume_token = args[:resume_token] if args.key?(:resume_token) + @table = args[:table] if args.key?(:table) + @transaction = args[:transaction] if args.key?(:transaction) + end + end + + # Message type to initiate a read-write transaction. Currently this + # transaction type has no options. + class ReadWrite + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Results from Read or + # ExecuteSql. + class ResultSet + include Google::Apis::Core::Hashable + + # Metadata about a ResultSet or PartialResultSet. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::SpannerV1::ResultSetMetadata] + attr_accessor :metadata + + # Each element in `rows` is a row whose format is defined by + # metadata.row_type. The ith element + # in each row matches the ith field in + # metadata.row_type. Elements are + # encoded based on type as described + # here. + # Corresponds to the JSON property `rows` + # @return [Array>] + attr_accessor :rows + + # Additional statistics about a ResultSet or PartialResultSet. + # Corresponds to the JSON property `stats` + # @return [Google::Apis::SpannerV1::ResultSetStats] + attr_accessor :stats + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @rows = args[:rows] if args.key?(:rows) + @stats = args[:stats] if args.key?(:stats) + end + end + + # Metadata about a ResultSet or PartialResultSet. + class ResultSetMetadata + include Google::Apis::Core::Hashable + + # `StructType` defines the fields of a STRUCT type. + # Corresponds to the JSON property `rowType` + # @return [Google::Apis::SpannerV1::StructType] + attr_accessor :row_type + + # A transaction. + # Corresponds to the JSON property `transaction` + # @return [Google::Apis::SpannerV1::Transaction] + attr_accessor :transaction + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @row_type = args[:row_type] if args.key?(:row_type) + @transaction = args[:transaction] if args.key?(:transaction) + end + end + + # Additional statistics about a ResultSet or PartialResultSet. + class ResultSetStats + include Google::Apis::Core::Hashable + + # Contains an ordered list of nodes appearing in the query plan. + # Corresponds to the JSON property `queryPlan` + # @return [Google::Apis::SpannerV1::QueryPlan] + attr_accessor :query_plan + + # Aggregated statistics from the execution of the query. Only present when + # the query is profiled. For example, a query could return the statistics as + # follows: + # ` + # "rows_returned": "3", + # "elapsed_time": "1.22 secs", + # "cpu_time": "1.19 secs" + # ` + # Corresponds to the JSON property `queryStats` + # @return [Hash] + attr_accessor :query_stats + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @query_plan = args[:query_plan] if args.key?(:query_plan) + @query_stats = args[:query_stats] if args.key?(:query_stats) + end + end + + # The request for Rollback. + class RollbackRequest + include Google::Apis::Core::Hashable + + # Required. The transaction to roll back. + # Corresponds to the JSON property `transactionId` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :transaction_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @transaction_id = args[:transaction_id] if args.key?(:transaction_id) + end + end + + # A rule to be applied in a Policy. + class Rule + include Google::Apis::Core::Hashable + + # Required + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # Additional restrictions that must be met + # Corresponds to the JSON property `conditions` + # @return [Array] + attr_accessor :conditions + + # Human-readable description of the rule. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # If one or more 'in' clauses are specified, the rule matches if + # the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. + # Corresponds to the JSON property `in` + # @return [Array] + attr_accessor :in + + # 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 + + # If one or more 'not_in' clauses are specified, the rule matches + # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the 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 + + # 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 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @action = args[:action] if args.key?(:action) + @conditions = args[:conditions] if args.key?(:conditions) + @description = args[:description] if args.key?(:description) + @in = args[:in] if args.key?(:in) + @log_config = args[:log_config] if args.key?(:log_config) + @not_in = args[:not_in] if args.key?(:not_in) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # A session in the Cloud Spanner API. + class Session + include Google::Apis::Core::Hashable + + # Required. The name of the session. + # 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) + @name = args[:name] if args.key?(:name) + end + end + + # Request message for `SetIamPolicy` method. + class SetIamPolicyRequest + include Google::Apis::Core::Hashable + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service 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: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` + # @return [Google::Apis::SpannerV1::Policy] + attr_accessor :policy + + # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only + # the fields in the mask will be modified. If no mask is provided, the + # following default mask is used: + # paths: "bindings, etag" + # This field is only used by Cloud IAM. + # Corresponds to the JSON property `updateMask` + # @return [String] + attr_accessor :update_mask + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy = args[:policy] if args.key?(:policy) + @update_mask = args[:update_mask] if args.key?(:update_mask) end end @@ -3351,22 +2463,65 @@ module Google end end - # A possible configuration for a Cloud Spanner instance. Configurations - # define the geographic placement of nodes and their replication. - class InstanceConfig + # 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` that 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. + # - 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 - # A unique identifier for the instance configuration. Values - # are of the form - # `projects//instanceConfigs/a-z*` - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name + # The status code, which should be an enum value of google.rpc.Code. + # Corresponds to the JSON property `code` + # @return [Fixnum] + attr_accessor :code - # The name of this instance configuration as it appears in UIs. - # Corresponds to the JSON property `displayName` + # A list of messages that carry the error details. There is 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 :display_name + attr_accessor :message def initialize(**args) update!(**args) @@ -3374,8 +2529,906 @@ module Google # Update properties of this object def update!(**args) - @name = args[:name] if args.key?(:name) - @display_name = args[:display_name] if args.key?(:display_name) + @code = args[:code] if args.key?(:code) + @details = args[:details] if args.key?(:details) + @message = args[:message] if args.key?(:message) + end + end + + # `StructType` defines the fields of a STRUCT type. + class StructType + include Google::Apis::Core::Hashable + + # The list of fields that make up this struct. Order is + # significant, because values of this struct type are represented as + # lists, where the order of field values matches the order of + # fields in the StructType. In turn, the order of fields + # matches the order of columns in a read request, or the order of + # fields in the `SELECT` clause of a query. + # Corresponds to the JSON property `fields` + # @return [Array] + attr_accessor :fields + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fields = args[:fields] if args.key?(:fields) + end + end + + # Request message for `TestIamPermissions` method. + class TestIamPermissionsRequest + include Google::Apis::Core::Hashable + + # REQUIRED: The set of permissions to check for 'resource'. + # Permissions with wildcards (such as '*', 'spanner.*', 'spanner.instances.*') + # are not allowed. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # Response message for `TestIamPermissions` method. + class TestIamPermissionsResponse + include Google::Apis::Core::Hashable + + # A subset of `TestPermissionsRequest.permissions` that the caller is + # allowed. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # A transaction. + class Transaction + include Google::Apis::Core::Hashable + + # `id` may be used to identify the transaction in subsequent + # Read, + # ExecuteSql, + # Commit, or + # Rollback calls. + # Single-use read-only transactions do not have IDs, because + # single-use transactions do not support multiple requests. + # Corresponds to the JSON property `id` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :id + + # For snapshot read-only transactions, the read timestamp chosen + # for the transaction. Not returned by default: see + # TransactionOptions.ReadOnly.return_read_timestamp. + # Corresponds to the JSON property `readTimestamp` + # @return [String] + attr_accessor :read_timestamp + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @read_timestamp = args[:read_timestamp] if args.key?(:read_timestamp) + end + end + + # # Transactions + # Each session can have at most one active transaction at a time. After the + # active transaction is completed, the session can immediately be + # re-used for the next transaction. It is not necessary to create a + # new session for each transaction. + # # Transaction Modes + # Cloud Spanner supports two transaction modes: + # 1. Locking read-write. This type of transaction is the only way + # to write data into Cloud Spanner. These transactions rely on + # pessimistic locking and, if necessary, two-phase commit. + # Locking read-write transactions may abort, requiring the + # application to retry. + # 2. Snapshot read-only. This transaction type provides guaranteed + # consistency across several reads, but does not allow + # writes. Snapshot read-only transactions can be configured to + # read at timestamps in the past. Snapshot read-only + # transactions do not need to be committed. + # For transactions that only read, snapshot read-only transactions + # provide simpler semantics and are almost always faster. In + # particular, read-only transactions do not take locks, so they do + # not conflict with read-write transactions. As a consequence of not + # taking locks, they also do not abort, so retry loops are not needed. + # Transactions may only read/write data in a single database. They + # may, however, read/write data in different tables within that + # database. + # ## Locking Read-Write Transactions + # Locking transactions may be used to atomically read-modify-write + # data anywhere in a database. This type of transaction is externally + # consistent. + # Clients should attempt to minimize the amount of time a transaction + # is active. Faster transactions commit with higher probability + # and cause less contention. Cloud Spanner attempts to keep read locks + # active as long as the transaction continues to do reads, and the + # transaction has not been terminated by + # Commit or + # Rollback. Long periods of + # inactivity at the client may cause Cloud Spanner to release a + # transaction's locks and abort it. + # Reads performed within a transaction acquire locks on the data + # being read. Writes can only be done at commit time, after all reads + # have been completed. + # Conceptually, a read-write transaction consists of zero or more + # reads or SQL queries followed by + # Commit. At any time before + # Commit, the client can send a + # Rollback request to abort the + # transaction. + # ### Semantics + # Cloud Spanner can commit the transaction if all read locks it acquired + # are still valid at commit time, and it is able to acquire write + # locks for all writes. Cloud Spanner can abort the transaction for any + # reason. If a commit attempt returns `ABORTED`, Cloud Spanner guarantees + # that the transaction has not modified any user data in Cloud Spanner. + # Unless the transaction commits, Cloud Spanner makes no guarantees about + # how long the transaction's locks were held for. It is an error to + # use Cloud Spanner locks for any sort of mutual exclusion other than + # between Cloud Spanner transactions themselves. + # ### Retrying Aborted Transactions + # When a transaction aborts, the application can choose to retry the + # whole transaction again. To maximize the chances of successfully + # committing the retry, the client should execute the retry in the + # same session as the original attempt. The original session's lock + # priority increases with each consecutive abort, meaning that each + # attempt has a slightly better chance of success than the previous. + # Under some circumstances (e.g., many transactions attempting to + # modify the same row(s)), a transaction can abort many times in a + # short period before successfully committing. Thus, it is not a good + # idea to cap the number of retries a transaction can attempt; + # instead, it is better to limit the total amount of wall time spent + # retrying. + # ### Idle Transactions + # A transaction is considered idle if it has no outstanding reads or + # SQL queries and has not started a read or SQL query within the last 10 + # seconds. Idle transactions can be aborted by Cloud Spanner so that they + # don't hold on to locks indefinitely. In that case, the commit will + # fail with error `ABORTED`. + # If this behavior is undesirable, periodically executing a simple + # SQL query in the transaction (e.g., `SELECT 1`) prevents the + # transaction from becoming idle. + # ## Snapshot Read-Only Transactions + # Snapshot read-only transactions provides a simpler method than + # locking read-write transactions for doing several consistent + # reads. However, this type of transaction does not support writes. + # Snapshot transactions do not take locks. Instead, they work by + # choosing a Cloud Spanner timestamp, then executing all reads at that + # timestamp. Since they do not acquire locks, they do not block + # concurrent read-write transactions. + # Unlike locking read-write transactions, snapshot read-only + # transactions never abort. They can fail if the chosen read + # timestamp is garbage collected; however, the default garbage + # collection policy is generous enough that most applications do not + # need to worry about this in practice. + # Snapshot read-only transactions do not need to call + # Commit or + # Rollback (and in fact are not + # permitted to do so). + # To execute a snapshot transaction, the client specifies a timestamp + # bound, which tells Cloud Spanner how to choose a read timestamp. + # The types of timestamp bound are: + # - Strong (the default). + # - Bounded staleness. + # - Exact staleness. + # If the Cloud Spanner database to be read is geographically distributed, + # stale read-only transactions can execute more quickly than strong + # or read-write transaction, because they are able to execute far + # from the leader replica. + # Each type of timestamp bound is discussed in detail below. + # ### Strong + # Strong reads are guaranteed to see the effects of all transactions + # that have committed before the start of the read. Furthermore, all + # rows yielded by a single read are consistent with each other -- if + # any part of the read observes a transaction, all parts of the read + # see the transaction. + # Strong reads are not repeatable: two consecutive strong read-only + # transactions might return inconsistent results if there are + # concurrent writes. If consistency across reads is required, the + # reads should be executed within a transaction or at an exact read + # timestamp. + # See TransactionOptions.ReadOnly.strong. + # ### Exact Staleness + # These timestamp bounds execute reads at a user-specified + # timestamp. Reads at a timestamp are guaranteed to see a consistent + # prefix of the global transaction history: they observe + # modifications done by all transactions with a commit timestamp <= + # the read timestamp, and observe none of the modifications done by + # transactions with a larger commit timestamp. They will block until + # all conflicting transactions that may be assigned commit timestamps + # <= the read timestamp have finished. + # The timestamp can either be expressed as an absolute Cloud Spanner commit + # timestamp or a staleness relative to the current time. + # These modes do not require a "negotiation phase" to pick a + # timestamp. As a result, they execute slightly faster than the + # equivalent boundedly stale concurrency modes. On the other hand, + # boundedly stale reads usually return fresher results. + # See TransactionOptions.ReadOnly.read_timestamp and + # TransactionOptions.ReadOnly.exact_staleness. + # ### Bounded Staleness + # Bounded staleness modes allow Cloud Spanner to pick the read timestamp, + # subject to a user-provided staleness bound. Cloud Spanner chooses the + # newest timestamp within the staleness bound that allows execution + # of the reads at the closest available replica without blocking. + # All rows yielded are consistent with each other -- if any part of + # the read observes a transaction, all parts of the read see the + # transaction. Boundedly stale reads are not repeatable: two stale + # reads, even if they use the same staleness bound, can execute at + # different timestamps and thus return inconsistent results. + # Boundedly stale reads execute in two phases: the first phase + # negotiates a timestamp among all replicas needed to serve the + # read. In the second phase, reads are executed at the negotiated + # timestamp. + # As a result of the two phase execution, bounded staleness reads are + # usually a little slower than comparable exact staleness + # reads. However, they are typically able to return fresher + # results, and are more likely to execute at the closest replica. + # Because the timestamp negotiation requires up-front knowledge of + # which rows will be read, it can only be used with single-use + # read-only transactions. + # See TransactionOptions.ReadOnly.max_staleness and + # TransactionOptions.ReadOnly.min_read_timestamp. + # ### Old Read Timestamps and Garbage Collection + # Cloud Spanner continuously garbage collects deleted and overwritten data + # in the background to reclaim storage space. This process is known + # as "version GC". By default, version GC reclaims versions after they + # are one hour old. Because of this, Cloud Spanner cannot perform reads + # at read timestamps more than one hour in the past. This + # restriction also applies to in-progress reads and/or SQL queries whose + # timestamp become too old while executing. Reads and SQL queries with + # too-old read timestamps fail with the error `FAILED_PRECONDITION`. + class TransactionOptions + include Google::Apis::Core::Hashable + + # Message type to initiate a read-only transaction. + # Corresponds to the JSON property `readOnly` + # @return [Google::Apis::SpannerV1::ReadOnly] + attr_accessor :read_only + + # Message type to initiate a read-write transaction. Currently this + # transaction type has no options. + # Corresponds to the JSON property `readWrite` + # @return [Google::Apis::SpannerV1::ReadWrite] + attr_accessor :read_write + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @read_only = args[:read_only] if args.key?(:read_only) + @read_write = args[:read_write] if args.key?(:read_write) + end + end + + # This message is used to select the transaction in which a + # Read or + # ExecuteSql call runs. + # See TransactionOptions for more information about transactions. + class TransactionSelector + include Google::Apis::Core::Hashable + + # # Transactions + # Each session can have at most one active transaction at a time. After the + # active transaction is completed, the session can immediately be + # re-used for the next transaction. It is not necessary to create a + # new session for each transaction. + # # Transaction Modes + # Cloud Spanner supports two transaction modes: + # 1. Locking read-write. This type of transaction is the only way + # to write data into Cloud Spanner. These transactions rely on + # pessimistic locking and, if necessary, two-phase commit. + # Locking read-write transactions may abort, requiring the + # application to retry. + # 2. Snapshot read-only. This transaction type provides guaranteed + # consistency across several reads, but does not allow + # writes. Snapshot read-only transactions can be configured to + # read at timestamps in the past. Snapshot read-only + # transactions do not need to be committed. + # For transactions that only read, snapshot read-only transactions + # provide simpler semantics and are almost always faster. In + # particular, read-only transactions do not take locks, so they do + # not conflict with read-write transactions. As a consequence of not + # taking locks, they also do not abort, so retry loops are not needed. + # Transactions may only read/write data in a single database. They + # may, however, read/write data in different tables within that + # database. + # ## Locking Read-Write Transactions + # Locking transactions may be used to atomically read-modify-write + # data anywhere in a database. This type of transaction is externally + # consistent. + # Clients should attempt to minimize the amount of time a transaction + # is active. Faster transactions commit with higher probability + # and cause less contention. Cloud Spanner attempts to keep read locks + # active as long as the transaction continues to do reads, and the + # transaction has not been terminated by + # Commit or + # Rollback. Long periods of + # inactivity at the client may cause Cloud Spanner to release a + # transaction's locks and abort it. + # Reads performed within a transaction acquire locks on the data + # being read. Writes can only be done at commit time, after all reads + # have been completed. + # Conceptually, a read-write transaction consists of zero or more + # reads or SQL queries followed by + # Commit. At any time before + # Commit, the client can send a + # Rollback request to abort the + # transaction. + # ### Semantics + # Cloud Spanner can commit the transaction if all read locks it acquired + # are still valid at commit time, and it is able to acquire write + # locks for all writes. Cloud Spanner can abort the transaction for any + # reason. If a commit attempt returns `ABORTED`, Cloud Spanner guarantees + # that the transaction has not modified any user data in Cloud Spanner. + # Unless the transaction commits, Cloud Spanner makes no guarantees about + # how long the transaction's locks were held for. It is an error to + # use Cloud Spanner locks for any sort of mutual exclusion other than + # between Cloud Spanner transactions themselves. + # ### Retrying Aborted Transactions + # When a transaction aborts, the application can choose to retry the + # whole transaction again. To maximize the chances of successfully + # committing the retry, the client should execute the retry in the + # same session as the original attempt. The original session's lock + # priority increases with each consecutive abort, meaning that each + # attempt has a slightly better chance of success than the previous. + # Under some circumstances (e.g., many transactions attempting to + # modify the same row(s)), a transaction can abort many times in a + # short period before successfully committing. Thus, it is not a good + # idea to cap the number of retries a transaction can attempt; + # instead, it is better to limit the total amount of wall time spent + # retrying. + # ### Idle Transactions + # A transaction is considered idle if it has no outstanding reads or + # SQL queries and has not started a read or SQL query within the last 10 + # seconds. Idle transactions can be aborted by Cloud Spanner so that they + # don't hold on to locks indefinitely. In that case, the commit will + # fail with error `ABORTED`. + # If this behavior is undesirable, periodically executing a simple + # SQL query in the transaction (e.g., `SELECT 1`) prevents the + # transaction from becoming idle. + # ## Snapshot Read-Only Transactions + # Snapshot read-only transactions provides a simpler method than + # locking read-write transactions for doing several consistent + # reads. However, this type of transaction does not support writes. + # Snapshot transactions do not take locks. Instead, they work by + # choosing a Cloud Spanner timestamp, then executing all reads at that + # timestamp. Since they do not acquire locks, they do not block + # concurrent read-write transactions. + # Unlike locking read-write transactions, snapshot read-only + # transactions never abort. They can fail if the chosen read + # timestamp is garbage collected; however, the default garbage + # collection policy is generous enough that most applications do not + # need to worry about this in practice. + # Snapshot read-only transactions do not need to call + # Commit or + # Rollback (and in fact are not + # permitted to do so). + # To execute a snapshot transaction, the client specifies a timestamp + # bound, which tells Cloud Spanner how to choose a read timestamp. + # The types of timestamp bound are: + # - Strong (the default). + # - Bounded staleness. + # - Exact staleness. + # If the Cloud Spanner database to be read is geographically distributed, + # stale read-only transactions can execute more quickly than strong + # or read-write transaction, because they are able to execute far + # from the leader replica. + # Each type of timestamp bound is discussed in detail below. + # ### Strong + # Strong reads are guaranteed to see the effects of all transactions + # that have committed before the start of the read. Furthermore, all + # rows yielded by a single read are consistent with each other -- if + # any part of the read observes a transaction, all parts of the read + # see the transaction. + # Strong reads are not repeatable: two consecutive strong read-only + # transactions might return inconsistent results if there are + # concurrent writes. If consistency across reads is required, the + # reads should be executed within a transaction or at an exact read + # timestamp. + # See TransactionOptions.ReadOnly.strong. + # ### Exact Staleness + # These timestamp bounds execute reads at a user-specified + # timestamp. Reads at a timestamp are guaranteed to see a consistent + # prefix of the global transaction history: they observe + # modifications done by all transactions with a commit timestamp <= + # the read timestamp, and observe none of the modifications done by + # transactions with a larger commit timestamp. They will block until + # all conflicting transactions that may be assigned commit timestamps + # <= the read timestamp have finished. + # The timestamp can either be expressed as an absolute Cloud Spanner commit + # timestamp or a staleness relative to the current time. + # These modes do not require a "negotiation phase" to pick a + # timestamp. As a result, they execute slightly faster than the + # equivalent boundedly stale concurrency modes. On the other hand, + # boundedly stale reads usually return fresher results. + # See TransactionOptions.ReadOnly.read_timestamp and + # TransactionOptions.ReadOnly.exact_staleness. + # ### Bounded Staleness + # Bounded staleness modes allow Cloud Spanner to pick the read timestamp, + # subject to a user-provided staleness bound. Cloud Spanner chooses the + # newest timestamp within the staleness bound that allows execution + # of the reads at the closest available replica without blocking. + # All rows yielded are consistent with each other -- if any part of + # the read observes a transaction, all parts of the read see the + # transaction. Boundedly stale reads are not repeatable: two stale + # reads, even if they use the same staleness bound, can execute at + # different timestamps and thus return inconsistent results. + # Boundedly stale reads execute in two phases: the first phase + # negotiates a timestamp among all replicas needed to serve the + # read. In the second phase, reads are executed at the negotiated + # timestamp. + # As a result of the two phase execution, bounded staleness reads are + # usually a little slower than comparable exact staleness + # reads. However, they are typically able to return fresher + # results, and are more likely to execute at the closest replica. + # Because the timestamp negotiation requires up-front knowledge of + # which rows will be read, it can only be used with single-use + # read-only transactions. + # See TransactionOptions.ReadOnly.max_staleness and + # TransactionOptions.ReadOnly.min_read_timestamp. + # ### Old Read Timestamps and Garbage Collection + # Cloud Spanner continuously garbage collects deleted and overwritten data + # in the background to reclaim storage space. This process is known + # as "version GC". By default, version GC reclaims versions after they + # are one hour old. Because of this, Cloud Spanner cannot perform reads + # at read timestamps more than one hour in the past. This + # restriction also applies to in-progress reads and/or SQL queries whose + # timestamp become too old while executing. Reads and SQL queries with + # too-old read timestamps fail with the error `FAILED_PRECONDITION`. + # Corresponds to the JSON property `begin` + # @return [Google::Apis::SpannerV1::TransactionOptions] + attr_accessor :begin + + # Execute the read or SQL query in a previously-started transaction. + # Corresponds to the JSON property `id` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :id + + # # Transactions + # Each session can have at most one active transaction at a time. After the + # active transaction is completed, the session can immediately be + # re-used for the next transaction. It is not necessary to create a + # new session for each transaction. + # # Transaction Modes + # Cloud Spanner supports two transaction modes: + # 1. Locking read-write. This type of transaction is the only way + # to write data into Cloud Spanner. These transactions rely on + # pessimistic locking and, if necessary, two-phase commit. + # Locking read-write transactions may abort, requiring the + # application to retry. + # 2. Snapshot read-only. This transaction type provides guaranteed + # consistency across several reads, but does not allow + # writes. Snapshot read-only transactions can be configured to + # read at timestamps in the past. Snapshot read-only + # transactions do not need to be committed. + # For transactions that only read, snapshot read-only transactions + # provide simpler semantics and are almost always faster. In + # particular, read-only transactions do not take locks, so they do + # not conflict with read-write transactions. As a consequence of not + # taking locks, they also do not abort, so retry loops are not needed. + # Transactions may only read/write data in a single database. They + # may, however, read/write data in different tables within that + # database. + # ## Locking Read-Write Transactions + # Locking transactions may be used to atomically read-modify-write + # data anywhere in a database. This type of transaction is externally + # consistent. + # Clients should attempt to minimize the amount of time a transaction + # is active. Faster transactions commit with higher probability + # and cause less contention. Cloud Spanner attempts to keep read locks + # active as long as the transaction continues to do reads, and the + # transaction has not been terminated by + # Commit or + # Rollback. Long periods of + # inactivity at the client may cause Cloud Spanner to release a + # transaction's locks and abort it. + # Reads performed within a transaction acquire locks on the data + # being read. Writes can only be done at commit time, after all reads + # have been completed. + # Conceptually, a read-write transaction consists of zero or more + # reads or SQL queries followed by + # Commit. At any time before + # Commit, the client can send a + # Rollback request to abort the + # transaction. + # ### Semantics + # Cloud Spanner can commit the transaction if all read locks it acquired + # are still valid at commit time, and it is able to acquire write + # locks for all writes. Cloud Spanner can abort the transaction for any + # reason. If a commit attempt returns `ABORTED`, Cloud Spanner guarantees + # that the transaction has not modified any user data in Cloud Spanner. + # Unless the transaction commits, Cloud Spanner makes no guarantees about + # how long the transaction's locks were held for. It is an error to + # use Cloud Spanner locks for any sort of mutual exclusion other than + # between Cloud Spanner transactions themselves. + # ### Retrying Aborted Transactions + # When a transaction aborts, the application can choose to retry the + # whole transaction again. To maximize the chances of successfully + # committing the retry, the client should execute the retry in the + # same session as the original attempt. The original session's lock + # priority increases with each consecutive abort, meaning that each + # attempt has a slightly better chance of success than the previous. + # Under some circumstances (e.g., many transactions attempting to + # modify the same row(s)), a transaction can abort many times in a + # short period before successfully committing. Thus, it is not a good + # idea to cap the number of retries a transaction can attempt; + # instead, it is better to limit the total amount of wall time spent + # retrying. + # ### Idle Transactions + # A transaction is considered idle if it has no outstanding reads or + # SQL queries and has not started a read or SQL query within the last 10 + # seconds. Idle transactions can be aborted by Cloud Spanner so that they + # don't hold on to locks indefinitely. In that case, the commit will + # fail with error `ABORTED`. + # If this behavior is undesirable, periodically executing a simple + # SQL query in the transaction (e.g., `SELECT 1`) prevents the + # transaction from becoming idle. + # ## Snapshot Read-Only Transactions + # Snapshot read-only transactions provides a simpler method than + # locking read-write transactions for doing several consistent + # reads. However, this type of transaction does not support writes. + # Snapshot transactions do not take locks. Instead, they work by + # choosing a Cloud Spanner timestamp, then executing all reads at that + # timestamp. Since they do not acquire locks, they do not block + # concurrent read-write transactions. + # Unlike locking read-write transactions, snapshot read-only + # transactions never abort. They can fail if the chosen read + # timestamp is garbage collected; however, the default garbage + # collection policy is generous enough that most applications do not + # need to worry about this in practice. + # Snapshot read-only transactions do not need to call + # Commit or + # Rollback (and in fact are not + # permitted to do so). + # To execute a snapshot transaction, the client specifies a timestamp + # bound, which tells Cloud Spanner how to choose a read timestamp. + # The types of timestamp bound are: + # - Strong (the default). + # - Bounded staleness. + # - Exact staleness. + # If the Cloud Spanner database to be read is geographically distributed, + # stale read-only transactions can execute more quickly than strong + # or read-write transaction, because they are able to execute far + # from the leader replica. + # Each type of timestamp bound is discussed in detail below. + # ### Strong + # Strong reads are guaranteed to see the effects of all transactions + # that have committed before the start of the read. Furthermore, all + # rows yielded by a single read are consistent with each other -- if + # any part of the read observes a transaction, all parts of the read + # see the transaction. + # Strong reads are not repeatable: two consecutive strong read-only + # transactions might return inconsistent results if there are + # concurrent writes. If consistency across reads is required, the + # reads should be executed within a transaction or at an exact read + # timestamp. + # See TransactionOptions.ReadOnly.strong. + # ### Exact Staleness + # These timestamp bounds execute reads at a user-specified + # timestamp. Reads at a timestamp are guaranteed to see a consistent + # prefix of the global transaction history: they observe + # modifications done by all transactions with a commit timestamp <= + # the read timestamp, and observe none of the modifications done by + # transactions with a larger commit timestamp. They will block until + # all conflicting transactions that may be assigned commit timestamps + # <= the read timestamp have finished. + # The timestamp can either be expressed as an absolute Cloud Spanner commit + # timestamp or a staleness relative to the current time. + # These modes do not require a "negotiation phase" to pick a + # timestamp. As a result, they execute slightly faster than the + # equivalent boundedly stale concurrency modes. On the other hand, + # boundedly stale reads usually return fresher results. + # See TransactionOptions.ReadOnly.read_timestamp and + # TransactionOptions.ReadOnly.exact_staleness. + # ### Bounded Staleness + # Bounded staleness modes allow Cloud Spanner to pick the read timestamp, + # subject to a user-provided staleness bound. Cloud Spanner chooses the + # newest timestamp within the staleness bound that allows execution + # of the reads at the closest available replica without blocking. + # All rows yielded are consistent with each other -- if any part of + # the read observes a transaction, all parts of the read see the + # transaction. Boundedly stale reads are not repeatable: two stale + # reads, even if they use the same staleness bound, can execute at + # different timestamps and thus return inconsistent results. + # Boundedly stale reads execute in two phases: the first phase + # negotiates a timestamp among all replicas needed to serve the + # read. In the second phase, reads are executed at the negotiated + # timestamp. + # As a result of the two phase execution, bounded staleness reads are + # usually a little slower than comparable exact staleness + # reads. However, they are typically able to return fresher + # results, and are more likely to execute at the closest replica. + # Because the timestamp negotiation requires up-front knowledge of + # which rows will be read, it can only be used with single-use + # read-only transactions. + # See TransactionOptions.ReadOnly.max_staleness and + # TransactionOptions.ReadOnly.min_read_timestamp. + # ### Old Read Timestamps and Garbage Collection + # Cloud Spanner continuously garbage collects deleted and overwritten data + # in the background to reclaim storage space. This process is known + # as "version GC". By default, version GC reclaims versions after they + # are one hour old. Because of this, Cloud Spanner cannot perform reads + # at read timestamps more than one hour in the past. This + # restriction also applies to in-progress reads and/or SQL queries whose + # timestamp become too old while executing. Reads and SQL queries with + # too-old read timestamps fail with the error `FAILED_PRECONDITION`. + # Corresponds to the JSON property `singleUse` + # @return [Google::Apis::SpannerV1::TransactionOptions] + attr_accessor :single_use + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @begin = args[:begin] if args.key?(:begin) + @id = args[:id] if args.key?(:id) + @single_use = args[:single_use] if args.key?(:single_use) + end + end + + # `Type` indicates the type of a Cloud Spanner value, as might be stored in a + # table cell or returned from an SQL query. + class Type + include Google::Apis::Core::Hashable + + # `Type` indicates the type of a Cloud Spanner value, as might be stored in a + # table cell or returned from an SQL query. + # Corresponds to the JSON property `arrayElementType` + # @return [Google::Apis::SpannerV1::Type] + attr_accessor :array_element_type + + # Required. The TypeCode for this type. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # `StructType` defines the fields of a STRUCT type. + # Corresponds to the JSON property `structType` + # @return [Google::Apis::SpannerV1::StructType] + attr_accessor :struct_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @array_element_type = args[:array_element_type] if args.key?(:array_element_type) + @code = args[:code] if args.key?(:code) + @struct_type = args[:struct_type] if args.key?(:struct_type) + end + end + + # Metadata type for the operation returned by + # UpdateDatabaseDdl. + class UpdateDatabaseDdlMetadata + include Google::Apis::Core::Hashable + + # Reports the commit timestamps of all statements that have + # succeeded so far, where `commit_timestamps[i]` is the commit + # timestamp for the statement `statements[i]`. + # Corresponds to the JSON property `commitTimestamps` + # @return [Array] + attr_accessor :commit_timestamps + + # The database being modified. + # Corresponds to the JSON property `database` + # @return [String] + attr_accessor :database + + # For an update this list contains all the statements. For an + # individual statement, this list contains only that statement. + # Corresponds to the JSON property `statements` + # @return [Array] + attr_accessor :statements + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @commit_timestamps = args[:commit_timestamps] if args.key?(:commit_timestamps) + @database = args[:database] if args.key?(:database) + @statements = args[:statements] if args.key?(:statements) + end + end + + # Enqueues the given DDL statements to be applied, in order but not + # necessarily all at once, to the database schema at some point (or + # points) in the future. The server checks that the statements + # are executable (syntactically valid, name tables that exist, etc.) + # before enqueueing them, but they may still fail upon + # later execution (e.g., if a statement from another batch of + # statements is applied first and it conflicts in some way, or if + # there is some data-related problem like a `NULL` value in a column to + # which `NOT NULL` would be added). If a statement fails, all + # subsequent statements in the batch are automatically cancelled. + # Each batch of statements is assigned a name which can be used with + # the Operations API to monitor + # progress. See the + # operation_id field for more + # details. + class UpdateDatabaseDdlRequest + include Google::Apis::Core::Hashable + + # If empty, the new update request is assigned an + # automatically-generated operation ID. Otherwise, `operation_id` + # is used to construct the name of the resulting + # Operation. + # Specifying an explicit operation ID simplifies determining + # whether the statements were executed in the event that the + # UpdateDatabaseDdl call is replayed, + # or the return value is otherwise lost: the database and + # `operation_id` fields can be combined to form the + # name of the resulting + # longrunning.Operation: `/operations/`. + # `operation_id` should be unique within the database, and must be + # a valid identifier: `a-z*`. Note that + # automatically-generated operation IDs always begin with an + # underscore. If the named operation already exists, + # UpdateDatabaseDdl returns + # `ALREADY_EXISTS`. + # Corresponds to the JSON property `operationId` + # @return [String] + attr_accessor :operation_id + + # DDL statements to be applied to the database. + # Corresponds to the JSON property `statements` + # @return [Array] + attr_accessor :statements + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @operation_id = args[:operation_id] if args.key?(:operation_id) + @statements = args[:statements] if args.key?(:statements) + end + end + + # Metadata type for the operation returned by + # UpdateInstance. + class UpdateInstanceMetadata + include Google::Apis::Core::Hashable + + # The time at which this operation was cancelled. If set, this operation is + # in the process of undoing itself (which is guaranteed to succeed) and + # cannot be cancelled again. + # Corresponds to the JSON property `cancelTime` + # @return [String] + attr_accessor :cancel_time + + # The time at which this operation failed or was completed successfully. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # An isolated set of Cloud Spanner resources on which databases can be hosted. + # Corresponds to the JSON property `instance` + # @return [Google::Apis::SpannerV1::Instance] + attr_accessor :instance + + # The time at which UpdateInstance + # request was received. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cancel_time = args[:cancel_time] if args.key?(:cancel_time) + @end_time = args[:end_time] if args.key?(:end_time) + @instance = args[:instance] if args.key?(:instance) + @start_time = args[:start_time] if args.key?(:start_time) + end + end + + # The request for UpdateInstance. + class UpdateInstanceRequest + include Google::Apis::Core::Hashable + + # Required. A mask specifying which fields in [][google.spanner.admin.instance. + # v1.UpdateInstanceRequest.instance] should be updated. + # The field mask must always be specified; this prevents any future fields in + # [][google.spanner.admin.instance.v1.Instance] from being erased accidentally + # by clients that do not know + # about them. + # Corresponds to the JSON property `fieldMask` + # @return [String] + attr_accessor :field_mask + + # An isolated set of Cloud Spanner resources on which databases can be hosted. + # Corresponds to the JSON property `instance` + # @return [Google::Apis::SpannerV1::Instance] + attr_accessor :instance + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field_mask = args[:field_mask] if args.key?(:field_mask) + @instance = args[:instance] if args.key?(:instance) + end + end + + # Arguments to insert, update, insert_or_update, and + # replace operations. + class Write + include Google::Apis::Core::Hashable + + # The names of the columns in table to be written. + # The list of columns must contain enough columns to allow + # Cloud Spanner to derive values for all primary key columns in the + # row(s) to be modified. + # Corresponds to the JSON property `columns` + # @return [Array] + attr_accessor :columns + + # Required. The table whose rows will be written. + # Corresponds to the JSON property `table` + # @return [String] + attr_accessor :table + + # The values to be written. `values` can contain more than one + # list of values. If it does, then multiple rows are written, one + # for each entry in `values`. Each list in `values` must have + # exactly as many entries as there are entries in columns + # above. Sending multiple lists is equivalent to sending multiple + # `Mutation`s, each containing one `values` entry and repeating + # table and columns. Individual values in each list are + # encoded as described here. + # 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) + @columns = args[:columns] if args.key?(:columns) + @table = args[:table] if args.key?(:table) + @values = args[:values] if args.key?(:values) end end end diff --git a/generated/google/apis/spanner_v1/representations.rb b/generated/google/apis/spanner_v1/representations.rb index d993bfefe..e0c5421eb 100644 --- a/generated/google/apis/spanner_v1/representations.rb +++ b/generated/google/apis/spanner_v1/representations.rb @@ -22,37 +22,7 @@ module Google module Apis module SpannerV1 - class UpdateInstanceRequest - 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 TransactionOptions - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreateDatabaseRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreateInstanceRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Condition + class AuditConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -64,67 +34,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ReadOnly + class AuthorizationLoggingOptions class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ExecuteSqlRequest - 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 ReadRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Write - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReadWrite - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DataAccessOptions - 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 ResultSet - 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 UpdateDatabaseDdlRequest + class BeginTransactionRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -136,162 +52,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class PartialResultSet - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateInstanceMetadata - 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 ResultSetMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TransactionSelector - 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 KeySet - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GetDatabaseDdlResponse - 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 Instance - 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 ListDatabasesResponse - 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 Transaction - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateDatabaseDdlMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CounterOptions - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StructType - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class QueryPlan - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Field - 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 ResultSetStats - 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 Type - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PlanNode - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreateInstanceMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AuditConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ChildLink class Representation < Google::Apis::Core::JsonRepresentation; end @@ -304,49 +64,25 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Expr - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Delete - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListInstanceConfigsResponse - 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 CommitRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class TestIamPermissionsResponse + class CommitResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GetIamPolicyRequest + class Condition class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Rule + class CounterOptions class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -358,31 +94,79 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class LogConfig + class CreateDatabaseRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Session + class CreateInstanceMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class KeyRange + class CreateInstanceRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListInstancesResponse + class DataAccessOptions class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ShortRepresentation + class Database + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Delete + 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 ExecuteSqlRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Expr + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Field + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetDatabaseDdlResponse + 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 Instance class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -394,447 +178,226 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class UpdateInstanceRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :field_mask, as: 'fieldMask' - property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation + class KeyRange + class Representation < Google::Apis::Core::JsonRepresentation; end - end - end - - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class TransactionOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :read_only, as: 'readOnly', class: Google::Apis::SpannerV1::ReadOnly, decorator: Google::Apis::SpannerV1::ReadOnly::Representation - - property :read_write, as: 'readWrite', class: Google::Apis::SpannerV1::ReadWrite, decorator: Google::Apis::SpannerV1::ReadWrite::Representation - - end - end - - class CreateDatabaseRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :create_statement, as: 'createStatement' - collection :extra_statements, as: 'extraStatements' - end - end - - class CreateInstanceRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation - - property :instance_id, as: 'instanceId' - end - end - - class Condition - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :sys, as: 'sys' - property :value, as: 'value' - collection :values, as: 'values' - property :iam, as: 'iam' - property :op, as: 'op' - property :svc, as: 'svc' - end - end - - class AuditLogConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :exempted_members, as: 'exemptedMembers' - property :log_type, as: 'logType' - end - end - - class ReadOnly - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :min_read_timestamp, as: 'minReadTimestamp' - property :max_staleness, as: 'maxStaleness' - property :read_timestamp, as: 'readTimestamp' - property :return_read_timestamp, as: 'returnReadTimestamp' - property :exact_staleness, as: 'exactStaleness' - property :strong, as: 'strong' - end - end - - class ExecuteSqlRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation - - property :resume_token, :base64 => true, as: 'resumeToken' - hash :param_types, as: 'paramTypes', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation - - property :sql, as: 'sql' - hash :params, as: 'params' - property :query_mode, as: 'queryMode' - end - end - - class Policy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :rules, as: 'rules', class: Google::Apis::SpannerV1::Rule, decorator: Google::Apis::SpannerV1::Rule::Representation - - property :version, as: 'version' - collection :audit_configs, as: 'auditConfigs', class: Google::Apis::SpannerV1::AuditConfig, decorator: Google::Apis::SpannerV1::AuditConfig::Representation - - collection :bindings, as: 'bindings', class: Google::Apis::SpannerV1::Binding, decorator: Google::Apis::SpannerV1::Binding::Representation - - property :etag, :base64 => true, as: 'etag' - property :iam_owned, as: 'iamOwned' - end - end - - class ReadRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :limit, :numeric_string => true, as: 'limit' - property :index, as: 'index' - property :key_set, as: 'keySet', class: Google::Apis::SpannerV1::KeySet, decorator: Google::Apis::SpannerV1::KeySet::Representation - - collection :columns, as: 'columns' - property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation - - property :resume_token, :base64 => true, as: 'resumeToken' - property :table, as: 'table' - end - end - - class Write - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :table, as: 'table' - collection :values, as: 'values', :class => Array do - include Representable::JSON::Collection - items - end - - collection :columns, as: 'columns' - end - end - - class ReadWrite - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class DataAccessOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class Operation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :done, as: 'done' - hash :response, as: 'response' - property :name, as: 'name' - property :error, as: 'error', class: Google::Apis::SpannerV1::Status, decorator: Google::Apis::SpannerV1::Status::Representation - - hash :metadata, as: 'metadata' - end - end - - class ResultSet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :stats, as: 'stats', class: Google::Apis::SpannerV1::ResultSetStats, decorator: Google::Apis::SpannerV1::ResultSetStats::Representation - - collection :rows, as: 'rows', :class => Array do - include Representable::JSON::Collection - items - end - - property :metadata, as: 'metadata', class: Google::Apis::SpannerV1::ResultSetMetadata, decorator: Google::Apis::SpannerV1::ResultSetMetadata::Representation - - end - end - - class Status - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :details, as: 'details' - property :code, as: 'code' - property :message, as: 'message' - end - end - - class UpdateDatabaseDdlRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :statements, as: 'statements' - property :operation_id, as: 'operationId' - end - end - - class Binding - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :members, as: 'members' - property :role, as: 'role' - property :condition, as: 'condition', class: Google::Apis::SpannerV1::Expr, decorator: Google::Apis::SpannerV1::Expr::Representation - - end - end - - class PartialResultSet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :chunked_value, as: 'chunkedValue' - collection :values, as: 'values' - property :metadata, as: 'metadata', class: Google::Apis::SpannerV1::ResultSetMetadata, decorator: Google::Apis::SpannerV1::ResultSetMetadata::Representation - - property :resume_token, :base64 => true, as: 'resumeToken' - property :stats, as: 'stats', class: Google::Apis::SpannerV1::ResultSetStats, decorator: Google::Apis::SpannerV1::ResultSetStats::Representation - - end - end - - class UpdateInstanceMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :start_time, as: 'startTime' - property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation - - property :end_time, as: 'endTime' - property :cancel_time, as: 'cancelTime' - end - end - - class ListOperationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :operations, as: 'operations', class: Google::Apis::SpannerV1::Operation, decorator: Google::Apis::SpannerV1::Operation::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class ResultSetMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :row_type, as: 'rowType', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation - - property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::Transaction, decorator: Google::Apis::SpannerV1::Transaction::Representation - - end - end - - class TransactionSelector - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :single_use, as: 'singleUse', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation - - property :begin, as: 'begin', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation - - property :id, :base64 => true, as: 'id' - end - end - - class Mutation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :delete, as: 'delete', class: Google::Apis::SpannerV1::Delete, decorator: Google::Apis::SpannerV1::Delete::Representation - - property :insert_or_update, as: 'insertOrUpdate', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation - - property :insert, as: 'insert', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation - - property :update, as: 'update', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation - - property :replace, as: 'replace', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class KeySet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :ranges, as: 'ranges', class: Google::Apis::SpannerV1::KeyRange, decorator: Google::Apis::SpannerV1::KeyRange::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :all, as: 'all' - collection :keys, as: 'keys', :class => Array do - include Representable::JSON::Collection - items - end - - end - end - - class GetDatabaseDdlResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :statements, as: 'statements' - end - end - - class Database - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :state, as: 'state' - property :name, as: 'name' - end - end - - class Instance - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :display_name, as: 'displayName' - property :node_count, as: 'nodeCount' - hash :labels, as: 'labels' - property :config, as: 'config' - property :state, as: 'state' - end - end - - class SetIamPolicyRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :policy, as: 'policy', class: Google::Apis::SpannerV1::Policy, decorator: Google::Apis::SpannerV1::Policy::Representation - - property :update_mask, as: 'updateMask' - end + include Google::Apis::Core::JsonObjectSupport end class ListDatabasesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :databases, as: 'databases', class: Google::Apis::SpannerV1::Database, decorator: Google::Apis::SpannerV1::Database::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end - class RollbackRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :transaction_id, :base64 => true, as: 'transactionId' - end + class ListInstanceConfigsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class Transaction - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :read_timestamp, as: 'readTimestamp' - property :id, :base64 => true, as: 'id' - end + class ListInstancesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class UpdateDatabaseDdlMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :database, as: 'database' - collection :statements, as: 'statements' - collection :commit_timestamps, as: 'commitTimestamps' - end + class ListOperationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class CounterOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :field, as: 'field' - property :metric, as: 'metric' - end + class LogConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class StructType - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :fields, as: 'fields', class: Google::Apis::SpannerV1::Field, decorator: Google::Apis::SpannerV1::Field::Representation + class Mutation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end - class QueryPlan - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :plan_nodes, as: 'planNodes', class: Google::Apis::SpannerV1::PlanNode, decorator: Google::Apis::SpannerV1::PlanNode::Representation + class Operation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end - class Field - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :type, as: 'type', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation + class PartialResultSet + class Representation < Google::Apis::Core::JsonRepresentation; end - end - end - - class TestIamPermissionsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions' - end - end - - class ResultSetStats - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :query_stats, as: 'queryStats' - property :query_plan, as: 'queryPlan', class: Google::Apis::SpannerV1::QueryPlan, decorator: Google::Apis::SpannerV1::QueryPlan::Representation - - end - end - - class CommitResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :commit_timestamp, as: 'commitTimestamp' - end - end - - class Type - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :struct_type, as: 'structType', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation - - property :array_element_type, as: 'arrayElementType', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation - - property :code, as: 'code' - end + include Google::Apis::Core::JsonObjectSupport end class PlanNode - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :child_links, as: 'childLinks', class: Google::Apis::SpannerV1::ChildLink, decorator: Google::Apis::SpannerV1::ChildLink::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - hash :metadata, as: 'metadata' - hash :execution_stats, as: 'executionStats' - property :short_representation, as: 'shortRepresentation', class: Google::Apis::SpannerV1::ShortRepresentation, decorator: Google::Apis::SpannerV1::ShortRepresentation::Representation - - property :index, as: 'index' - property :kind, as: 'kind' - property :display_name, as: 'displayName' - end + include Google::Apis::Core::JsonObjectSupport end - class CreateInstanceMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :end_time, as: 'endTime' - property :cancel_time, as: 'cancelTime' - property :start_time, as: 'startTime' - property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation + class Policy + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport + end + + class QueryPlan + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReadOnly + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReadRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReadWrite + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ResultSet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ResultSetMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ResultSetStats + 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 Rule + 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 SetIamPolicyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ShortRepresentation + 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 StructType + 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 Transaction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TransactionOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TransactionSelector + 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 UpdateDatabaseDdlMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateDatabaseDdlRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateInstanceMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateInstanceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Write + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AuditConfig @@ -847,47 +410,18 @@ module Google end end - class ChildLink + class AuditLogConfig # @private class Representation < Google::Apis::Core::JsonRepresentation - property :variable, as: 'variable' - property :child_index, as: 'childIndex' - property :type, as: 'type' + collection :exempted_members, as: 'exemptedMembers' + property :log_type, as: 'logType' end end - class CloudAuditOptions + class AuthorizationLoggingOptions # @private class Representation < Google::Apis::Core::JsonRepresentation - property :log_name, as: 'logName' - end - end - - class Expr - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :expression, as: 'expression' - property :location, as: 'location' - property :title, as: 'title' - end - end - - class Delete - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :key_set, as: 'keySet', class: Google::Apis::SpannerV1::KeySet, decorator: Google::Apis::SpannerV1::KeySet::Representation - - property :table, as: 'table' - end - end - - class ListInstanceConfigsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :instance_configs, as: 'instanceConfigs', class: Google::Apis::SpannerV1::InstanceConfig, decorator: Google::Apis::SpannerV1::InstanceConfig::Representation - + property :permission_type, as: 'permissionType' end end @@ -899,6 +433,34 @@ module Google end end + class Binding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :condition, as: 'condition', class: Google::Apis::SpannerV1::Expr, decorator: Google::Apis::SpannerV1::Expr::Representation + + collection :members, as: 'members' + property :role, as: 'role' + end + end + + class ChildLink + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :child_index, as: 'childIndex' + property :type, as: 'type' + property :variable, as: 'variable' + end + end + + class CloudAuditOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :authorization_logging_options, as: 'authorizationLoggingOptions', class: Google::Apis::SpannerV1::AuthorizationLoggingOptions, decorator: Google::Apis::SpannerV1::AuthorizationLoggingOptions::Representation + + property :log_name, as: 'logName' + end + end + class CommitRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -910,31 +472,30 @@ module Google end end - class TestIamPermissionsResponse + class CommitResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions' + property :commit_timestamp, as: 'commitTimestamp' end end - class GetIamPolicyRequest + class Condition # @private class Representation < Google::Apis::Core::JsonRepresentation + property :iam, as: 'iam' + property :op, as: 'op' + property :svc, as: 'svc' + property :sys, as: 'sys' + property :value, as: 'value' + collection :values, as: 'values' end end - class Rule + class CounterOptions # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :conditions, as: 'conditions', class: Google::Apis::SpannerV1::Condition, decorator: Google::Apis::SpannerV1::Condition::Representation - - collection :log_config, as: 'logConfig', class: Google::Apis::SpannerV1::LogConfig, decorator: Google::Apis::SpannerV1::LogConfig::Representation - - collection :in, as: 'in' - collection :permissions, as: 'permissions' - property :action, as: 'action' - collection :not_in, as: 'notIn' - property :description, as: 'description' + property :field, as: 'field' + property :metric, as: 'metric' end end @@ -945,15 +506,366 @@ module Google end end + class CreateDatabaseRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_statement, as: 'createStatement' + collection :extra_statements, as: 'extraStatements' + end + end + + class CreateInstanceMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cancel_time, as: 'cancelTime' + property :end_time, as: 'endTime' + property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation + + property :start_time, as: 'startTime' + end + end + + class CreateInstanceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation + + property :instance_id, as: 'instanceId' + end + end + + class DataAccessOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Database + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :state, as: 'state' + end + end + + class Delete + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key_set, as: 'keySet', class: Google::Apis::SpannerV1::KeySet, decorator: Google::Apis::SpannerV1::KeySet::Representation + + property :table, as: 'table' + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class ExecuteSqlRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :param_types, as: 'paramTypes', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation + + hash :params, as: 'params' + property :query_mode, as: 'queryMode' + property :resume_token, :base64 => true, as: 'resumeToken' + property :sql, as: 'sql' + property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation + + end + end + + class Expr + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :expression, as: 'expression' + property :location, as: 'location' + property :title, as: 'title' + end + end + + class Field + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :type, as: 'type', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation + + end + end + + class GetDatabaseDdlResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :statements, as: 'statements' + end + end + + class GetIamPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Instance + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :config, as: 'config' + property :display_name, as: 'displayName' + hash :labels, as: 'labels' + property :name, as: 'name' + property :node_count, as: 'nodeCount' + property :state, as: 'state' + end + end + + class InstanceConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :name, as: 'name' + end + end + + class KeyRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :end_closed, as: 'endClosed' + collection :end_open, as: 'endOpen' + collection :start_closed, as: 'startClosed' + collection :start_open, as: 'startOpen' + end + end + + class KeySet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :all, as: 'all' + collection :keys, as: 'keys', :class => Array do + include Representable::JSON::Collection + items + end + + collection :ranges, as: 'ranges', class: Google::Apis::SpannerV1::KeyRange, decorator: Google::Apis::SpannerV1::KeyRange::Representation + + end + end + + class ListDatabasesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :databases, as: 'databases', class: Google::Apis::SpannerV1::Database, decorator: Google::Apis::SpannerV1::Database::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListInstanceConfigsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :instance_configs, as: 'instanceConfigs', class: Google::Apis::SpannerV1::InstanceConfig, decorator: Google::Apis::SpannerV1::InstanceConfig::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListInstancesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :instances, as: 'instances', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListOperationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :operations, as: 'operations', class: Google::Apis::SpannerV1::Operation, decorator: Google::Apis::SpannerV1::Operation::Representation + + end + end + class LogConfig # @private class Representation < Google::Apis::Core::JsonRepresentation + property :cloud_audit, as: 'cloudAudit', class: Google::Apis::SpannerV1::CloudAuditOptions, decorator: Google::Apis::SpannerV1::CloudAuditOptions::Representation + property :counter, as: 'counter', class: Google::Apis::SpannerV1::CounterOptions, decorator: Google::Apis::SpannerV1::CounterOptions::Representation property :data_access, as: 'dataAccess', class: Google::Apis::SpannerV1::DataAccessOptions, decorator: Google::Apis::SpannerV1::DataAccessOptions::Representation - property :cloud_audit, as: 'cloudAudit', class: Google::Apis::SpannerV1::CloudAuditOptions, decorator: Google::Apis::SpannerV1::CloudAuditOptions::Representation + end + end + class Mutation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :delete, as: 'delete', class: Google::Apis::SpannerV1::Delete, decorator: Google::Apis::SpannerV1::Delete::Representation + + property :insert, as: 'insert', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation + + property :insert_or_update, as: 'insertOrUpdate', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation + + property :replace, as: 'replace', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation + + property :update, as: 'update', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation + + end + end + + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::SpannerV1::Status, decorator: Google::Apis::SpannerV1::Status::Representation + + hash :metadata, as: 'metadata' + property :name, as: 'name' + hash :response, as: 'response' + end + end + + class PartialResultSet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :chunked_value, as: 'chunkedValue' + property :metadata, as: 'metadata', class: Google::Apis::SpannerV1::ResultSetMetadata, decorator: Google::Apis::SpannerV1::ResultSetMetadata::Representation + + property :resume_token, :base64 => true, as: 'resumeToken' + property :stats, as: 'stats', class: Google::Apis::SpannerV1::ResultSetStats, decorator: Google::Apis::SpannerV1::ResultSetStats::Representation + + collection :values, as: 'values' + end + end + + class PlanNode + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :child_links, as: 'childLinks', class: Google::Apis::SpannerV1::ChildLink, decorator: Google::Apis::SpannerV1::ChildLink::Representation + + property :display_name, as: 'displayName' + hash :execution_stats, as: 'executionStats' + property :index, as: 'index' + property :kind, as: 'kind' + hash :metadata, as: 'metadata' + property :short_representation, as: 'shortRepresentation', class: Google::Apis::SpannerV1::ShortRepresentation, decorator: Google::Apis::SpannerV1::ShortRepresentation::Representation + + end + end + + class Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :audit_configs, as: 'auditConfigs', class: Google::Apis::SpannerV1::AuditConfig, decorator: Google::Apis::SpannerV1::AuditConfig::Representation + + collection :bindings, as: 'bindings', class: Google::Apis::SpannerV1::Binding, decorator: Google::Apis::SpannerV1::Binding::Representation + + property :etag, :base64 => true, as: 'etag' + property :iam_owned, as: 'iamOwned' + collection :rules, as: 'rules', class: Google::Apis::SpannerV1::Rule, decorator: Google::Apis::SpannerV1::Rule::Representation + + property :version, as: 'version' + end + end + + class QueryPlan + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :plan_nodes, as: 'planNodes', class: Google::Apis::SpannerV1::PlanNode, decorator: Google::Apis::SpannerV1::PlanNode::Representation + + end + end + + class ReadOnly + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :exact_staleness, as: 'exactStaleness' + property :max_staleness, as: 'maxStaleness' + property :min_read_timestamp, as: 'minReadTimestamp' + property :read_timestamp, as: 'readTimestamp' + property :return_read_timestamp, as: 'returnReadTimestamp' + property :strong, as: 'strong' + end + end + + class ReadRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :columns, as: 'columns' + property :index, as: 'index' + property :key_set, as: 'keySet', class: Google::Apis::SpannerV1::KeySet, decorator: Google::Apis::SpannerV1::KeySet::Representation + + property :limit, :numeric_string => true, as: 'limit' + property :resume_token, :base64 => true, as: 'resumeToken' + property :table, as: 'table' + property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation + + end + end + + class ReadWrite + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class ResultSet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::SpannerV1::ResultSetMetadata, decorator: Google::Apis::SpannerV1::ResultSetMetadata::Representation + + collection :rows, as: 'rows', :class => Array do + include Representable::JSON::Collection + items + end + + property :stats, as: 'stats', class: Google::Apis::SpannerV1::ResultSetStats, decorator: Google::Apis::SpannerV1::ResultSetStats::Representation + + end + end + + class ResultSetMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :row_type, as: 'rowType', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation + + property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::Transaction, decorator: Google::Apis::SpannerV1::Transaction::Representation + + end + end + + class ResultSetStats + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :query_plan, as: 'queryPlan', class: Google::Apis::SpannerV1::QueryPlan, decorator: Google::Apis::SpannerV1::QueryPlan::Representation + + hash :query_stats, as: 'queryStats' + end + end + + class RollbackRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :transaction_id, :base64 => true, as: 'transactionId' + end + end + + class Rule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :action, as: 'action' + collection :conditions, as: 'conditions', class: Google::Apis::SpannerV1::Condition, decorator: Google::Apis::SpannerV1::Condition::Representation + + property :description, as: 'description' + collection :in, as: 'in' + collection :log_config, as: 'logConfig', class: Google::Apis::SpannerV1::LogConfig, decorator: Google::Apis::SpannerV1::LogConfig::Representation + + collection :not_in, as: 'notIn' + collection :permissions, as: 'permissions' end end @@ -964,22 +876,12 @@ module Google end end - class KeyRange + class SetIamPolicyRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :start_open, as: 'startOpen' - collection :start_closed, as: 'startClosed' - collection :end_open, as: 'endOpen' - collection :end_closed, as: 'endClosed' - end - end - - class ListInstancesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :instances, as: 'instances', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation + property :policy, as: 'policy', class: Google::Apis::SpannerV1::Policy, decorator: Google::Apis::SpannerV1::Policy::Representation + property :update_mask, as: 'updateMask' end end @@ -991,11 +893,124 @@ module Google end end - class InstanceConfig + class Status # @private class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :display_name, as: 'displayName' + property :code, as: 'code' + collection :details, as: 'details' + property :message, as: 'message' + end + end + + class StructType + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :fields, as: 'fields', class: Google::Apis::SpannerV1::Field, decorator: Google::Apis::SpannerV1::Field::Representation + + end + end + + class TestIamPermissionsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' + end + end + + class TestIamPermissionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' + end + end + + class Transaction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, :base64 => true, as: 'id' + property :read_timestamp, as: 'readTimestamp' + end + end + + class TransactionOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :read_only, as: 'readOnly', class: Google::Apis::SpannerV1::ReadOnly, decorator: Google::Apis::SpannerV1::ReadOnly::Representation + + property :read_write, as: 'readWrite', class: Google::Apis::SpannerV1::ReadWrite, decorator: Google::Apis::SpannerV1::ReadWrite::Representation + + end + end + + class TransactionSelector + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :begin, as: 'begin', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation + + property :id, :base64 => true, as: 'id' + property :single_use, as: 'singleUse', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation + + end + end + + class Type + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :array_element_type, as: 'arrayElementType', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation + + property :code, as: 'code' + property :struct_type, as: 'structType', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation + + end + end + + class UpdateDatabaseDdlMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :commit_timestamps, as: 'commitTimestamps' + property :database, as: 'database' + collection :statements, as: 'statements' + end + end + + class UpdateDatabaseDdlRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :operation_id, as: 'operationId' + collection :statements, as: 'statements' + end + end + + class UpdateInstanceMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cancel_time, as: 'cancelTime' + property :end_time, as: 'endTime' + property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation + + property :start_time, as: 'startTime' + end + end + + class UpdateInstanceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field_mask, as: 'fieldMask' + property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation + + end + end + + class Write + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :columns, as: 'columns' + property :table, as: 'table' + collection :values, as: 'values', :class => Array do + include Representable::JSON::Collection + items + end + end end end diff --git a/generated/google/apis/spanner_v1/service.rb b/generated/google/apis/spanner_v1/service.rb index 2e735979a..1a8cda23e 100644 --- a/generated/google/apis/spanner_v1/service.rb +++ b/generated/google/apis/spanner_v1/service.rb @@ -48,42 +48,172 @@ module Google @batch_path = 'batch' end - # Gets the access control policy for an instance resource. Returns an empty - # policy if an instance exists but does not have a policy set. - # Authorization requires `spanner.instances.getIamPolicy` on - # resource. - # @param [String] resource - # REQUIRED: The Cloud Spanner resource for which the policy is being retrieved. - # The format is `projects//instances/` for instance - # resources and `projects//instances//databases/< - # database ID>` for database resources. - # @param [Google::Apis::SpannerV1::GetIamPolicyRequest] get_iam_policy_request_object + # Gets information about a particular instance configuration. + # @param [String] name + # Required. The name of the requested instance configuration. Values are of + # the form `projects//instanceConfigs/`. + # @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 # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::SpannerV1::Policy] parsed result object + # @yieldparam result [Google::Apis::SpannerV1::InstanceConfig] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::SpannerV1::Policy] + # @return [Google::Apis::SpannerV1::InstanceConfig] # # @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_instance_iam_policy(resource, get_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options) - command.request_representation = Google::Apis::SpannerV1::GetIamPolicyRequest::Representation - command.request_object = get_iam_policy_request_object - command.response_representation = Google::Apis::SpannerV1::Policy::Representation - command.response_class = Google::Apis::SpannerV1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + def get_project_instance_config(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::SpannerV1::InstanceConfig::Representation + command.response_class = Google::Apis::SpannerV1::InstanceConfig + 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 the supported instance configurations for a given project. + # @param [String] parent + # Required. The name of the project for which a list of supported instance + # configurations is requested. Values are of the form + # `projects/`. + # @param [Fixnum] page_size + # Number of instance configurations to be returned in the response. If 0 or + # less, defaults to the server's maximum allowed page size. + # @param [String] page_token + # If non-empty, `page_token` should contain a + # next_page_token + # from a previous ListInstanceConfigsResponse. + # @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::SpannerV1::ListInstanceConfigsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpannerV1::ListInstanceConfigsResponse] + # + # @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_project_instance_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/instanceConfigs', options) + command.response_representation = Google::Apis::SpannerV1::ListInstanceConfigsResponse::Representation + command.response_class = Google::Apis::SpannerV1::ListInstanceConfigsResponse + command.params['parent'] = parent unless parent.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 + + # Creates an instance and begins preparing it to begin serving. The + # returned long-running operation + # can be used to track the progress of preparing the new + # instance. The instance name is assigned by the caller. If the + # named instance already exists, `CreateInstance` returns + # `ALREADY_EXISTS`. + # Immediately upon completion of this request: + # * The instance is readable via the API, with all requested attributes + # but no allocated resources. Its state is `CREATING`. + # Until completion of the returned operation: + # * Cancelling the operation renders the instance immediately unreadable + # via the API. + # * The instance can be deleted. + # * All other attempts to modify the instance are rejected. + # Upon completion of the returned operation: + # * Billing for all successfully-allocated resources begins (some types + # may have lower than the requested levels). + # * Databases can be created in the instance. + # * The instance's allocated resource levels are readable via the API. + # * The instance's state becomes `READY`. + # The returned long-running operation will + # have a name of the format `/operations/` and + # can be used to track creation of the instance. The + # metadata field type is + # CreateInstanceMetadata. + # The response field type is + # Instance, if successful. + # @param [String] parent + # Required. The name of the project in which to create the instance. Values + # are of the form `projects/`. + # @param [Google::Apis::SpannerV1::CreateInstanceRequest] create_instance_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::SpannerV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpannerV1::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_instance(parent, create_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/instances', options) + command.request_representation = Google::Apis::SpannerV1::CreateInstanceRequest::Representation + command.request_object = create_instance_request_object + command.response_representation = Google::Apis::SpannerV1::Operation::Representation + command.response_class = Google::Apis::SpannerV1::Operation + command.params['parent'] = parent unless parent.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 an instance. + # Immediately upon completion of the request: + # * Billing ceases for all of the instance's reserved resources. + # Soon afterward: + # * The instance and *all of its databases* immediately and + # irrevocably disappear from the API. All data in the databases + # is permanently deleted. + # @param [String] name + # Required. The name of the instance to be deleted. Values are of the form + # `projects//instances/` + # @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::SpannerV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpannerV1::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_project_instance(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::SpannerV1::Empty::Representation + command.response_class = Google::Apis::SpannerV1::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 @@ -91,11 +221,11 @@ module Google # @param [String] name # Required. The name of the requested instance. Values are of the form # `projects//instances/`. + # @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 # @@ -108,13 +238,110 @@ 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_project_instance(name, quota_user: nil, fields: nil, options: nil, &block) + def get_project_instance(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', options) command.response_representation = Google::Apis::SpannerV1::Instance::Representation command.response_class = Google::Apis::SpannerV1::Instance command.params['name'] = name unless name.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 + + # Gets the access control policy for an instance resource. Returns an empty + # policy if an instance exists but does not have a policy set. + # Authorization requires `spanner.instances.getIamPolicy` on + # resource. + # @param [String] resource + # REQUIRED: The Cloud Spanner resource for which the policy is being retrieved. + # The format is `projects//instances/` for instance + # resources and `projects//instances//databases/< + # database ID>` for database resources. + # @param [Google::Apis::SpannerV1::GetIamPolicyRequest] get_iam_policy_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::SpannerV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpannerV1::Policy] + # + # @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_instance_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options) + command.request_representation = Google::Apis::SpannerV1::GetIamPolicyRequest::Representation + command.request_object = get_iam_policy_request_object + command.response_representation = Google::Apis::SpannerV1::Policy::Representation + command.response_class = Google::Apis::SpannerV1::Policy + command.params['resource'] = resource unless resource.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 instances in the given project. + # @param [String] parent + # Required. The name of the project for which a list of instances is + # requested. Values are of the form `projects/`. + # @param [String] filter + # An expression for filtering the results of the request. Filter rules are + # case insensitive. The fields eligible for filtering are: + # * name + # * display_name + # * labels.key where key is the name of a label + # Some examples of using filters are: + # * name:* --> The instance has a name. + # * name:Howl --> The instance's name contains the string "howl". + # * name:HOWL --> Equivalent to above. + # * NAME:howl --> Equivalent to above. + # * labels.env:* --> The instance has the label "env". + # * labels.env:dev --> The instance has the label "env" and the value of + # the label contains the string "dev". + # * name:howl labels.env:dev --> The instance's name contains "howl" and + # it has the label "env" with its value + # containing "dev". + # @param [Fixnum] page_size + # Number of instances to be returned in the response. If 0 or less, defaults + # to the server's maximum allowed page size. + # @param [String] page_token + # If non-empty, `page_token` should contain a + # next_page_token from a + # previous ListInstancesResponse. + # @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::SpannerV1::ListInstancesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpannerV1::ListInstancesResponse] + # + # @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_project_instances(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/instances', options) + command.response_representation = Google::Apis::SpannerV1::ListInstancesResponse::Representation + command.response_class = Google::Apis::SpannerV1::ListInstancesResponse + command.params['parent'] = parent unless parent.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 @@ -156,11 +383,11 @@ module Google # `projects//instances/a-z*[a-z0-9]`. The final # segment of the name must be between 6 and 30 characters in length. # @param [Google::Apis::SpannerV1::UpdateInstanceRequest] update_instance_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -173,15 +400,54 @@ 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 patch_project_instance(name, update_instance_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def patch_project_instance(name, update_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', options) command.request_representation = Google::Apis::SpannerV1::UpdateInstanceRequest::Representation command.request_object = update_instance_request_object command.response_representation = Google::Apis::SpannerV1::Operation::Representation command.response_class = Google::Apis::SpannerV1::Operation command.params['name'] = name unless name.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 + + # Sets the access control policy on an instance resource. Replaces any + # existing policy. + # Authorization requires `spanner.instances.setIamPolicy` on + # resource. + # @param [String] resource + # REQUIRED: The Cloud Spanner resource for which the policy is being set. The + # format is `projects//instances/` for instance + # resources and `projects//instances//databases/< + # database ID>` for databases resources. + # @param [Google::Apis::SpannerV1::SetIamPolicyRequest] set_iam_policy_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::SpannerV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpannerV1::Policy] + # + # @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 set_instance_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::SpannerV1::SetIamPolicyRequest::Representation + command.request_object = set_iam_policy_request_object + command.response_representation = Google::Apis::SpannerV1::Policy::Representation + command.response_class = Google::Apis::SpannerV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -196,11 +462,11 @@ module Google # resources and `projects//instances//databases/< # database ID>` for database resources. # @param [Google::Apis::SpannerV1::TestIamPermissionsRequest] test_iam_permissions_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -213,281 +479,15 @@ 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 test_instance_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def test_instance_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) command.request_representation = Google::Apis::SpannerV1::TestIamPermissionsRequest::Representation command.request_object = test_iam_permissions_request_object command.response_representation = Google::Apis::SpannerV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::SpannerV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Deletes an instance. - # Immediately upon completion of the request: - # * Billing ceases for all of the instance's reserved resources. - # Soon afterward: - # * The instance and *all of its databases* immediately and - # irrevocably disappear from the API. All data in the databases - # is permanently deleted. - # @param [String] name - # Required. The name of the instance to be deleted. Values are of the form - # `projects//instances/` - # @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::SpannerV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SpannerV1::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_project_instance(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+name}', options) - command.response_representation = Google::Apis::SpannerV1::Empty::Representation - command.response_class = Google::Apis::SpannerV1::Empty - command.params['name'] = name unless name.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists all instances in the given project. - # @param [String] parent - # Required. The name of the project for which a list of instances is - # requested. Values are of the form `projects/`. - # @param [String] filter - # An expression for filtering the results of the request. Filter rules are - # case insensitive. The fields eligible for filtering are: - # * name - # * display_name - # * labels.key where key is the name of a label - # Some examples of using filters are: - # * name:* --> The instance has a name. - # * name:Howl --> The instance's name contains the string "howl". - # * name:HOWL --> Equivalent to above. - # * NAME:howl --> Equivalent to above. - # * labels.env:* --> The instance has the label "env". - # * labels.env:dev --> The instance has the label "env" and the value of - # the label contains the string "dev". - # * name:howl labels.env:dev --> The instance's name contains "howl" and - # it has the label "env" with its value - # containing "dev". - # @param [String] page_token - # If non-empty, `page_token` should contain a - # next_page_token from a - # previous ListInstancesResponse. - # @param [Fixnum] page_size - # Number of instances to be returned in the response. If 0 or less, defaults - # to the server's maximum allowed page size. - # @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::SpannerV1::ListInstancesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SpannerV1::ListInstancesResponse] - # - # @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_project_instances(parent, filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+parent}/instances', options) - command.response_representation = Google::Apis::SpannerV1::ListInstancesResponse::Representation - command.response_class = Google::Apis::SpannerV1::ListInstancesResponse - command.params['parent'] = parent unless parent.nil? - command.query['filter'] = filter unless filter.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Sets the access control policy on an instance resource. Replaces any - # existing policy. - # Authorization requires `spanner.instances.setIamPolicy` on - # resource. - # @param [String] resource - # REQUIRED: The Cloud Spanner resource for which the policy is being set. The - # format is `projects//instances/` for instance - # resources and `projects//instances//databases/< - # database ID>` for databases resources. - # @param [Google::Apis::SpannerV1::SetIamPolicyRequest] set_iam_policy_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::SpannerV1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SpannerV1::Policy] - # - # @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 set_instance_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) - command.request_representation = Google::Apis::SpannerV1::SetIamPolicyRequest::Representation - command.request_object = set_iam_policy_request_object - command.response_representation = Google::Apis::SpannerV1::Policy::Representation - command.response_class = Google::Apis::SpannerV1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates an instance and begins preparing it to begin serving. The - # returned long-running operation - # can be used to track the progress of preparing the new - # instance. The instance name is assigned by the caller. If the - # named instance already exists, `CreateInstance` returns - # `ALREADY_EXISTS`. - # Immediately upon completion of this request: - # * The instance is readable via the API, with all requested attributes - # but no allocated resources. Its state is `CREATING`. - # Until completion of the returned operation: - # * Cancelling the operation renders the instance immediately unreadable - # via the API. - # * The instance can be deleted. - # * All other attempts to modify the instance are rejected. - # Upon completion of the returned operation: - # * Billing for all successfully-allocated resources begins (some types - # may have lower than the requested levels). - # * Databases can be created in the instance. - # * The instance's allocated resource levels are readable via the API. - # * The instance's state becomes `READY`. - # The returned long-running operation will - # have a name of the format `/operations/` and - # can be used to track creation of the instance. The - # metadata field type is - # CreateInstanceMetadata. - # The response field type is - # Instance, if successful. - # @param [String] parent - # Required. The name of the project in which to create the instance. Values - # are of the form `projects/`. - # @param [Google::Apis::SpannerV1::CreateInstanceRequest] create_instance_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::SpannerV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SpannerV1::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_instance(parent, create_instance_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+parent}/instances', options) - command.request_representation = Google::Apis::SpannerV1::CreateInstanceRequest::Representation - command.request_object = create_instance_request_object - command.response_representation = Google::Apis::SpannerV1::Operation::Representation - command.response_class = Google::Apis::SpannerV1::Operation - command.params['parent'] = parent unless parent.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Returns the schema of a Cloud Spanner database as a list of formatted - # DDL statements. This method does not show pending schema updates, those may - # be queried using the Operations API. - # @param [String] database - # Required. The database whose schema we wish to get. - # @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::SpannerV1::GetDatabaseDdlResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SpannerV1::GetDatabaseDdlResponse] - # - # @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_project_instance_database_ddl(database, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+database}/ddl', options) - command.response_representation = Google::Apis::SpannerV1::GetDatabaseDdlResponse::Representation - command.response_class = Google::Apis::SpannerV1::GetDatabaseDdlResponse - command.params['database'] = database unless database.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists Cloud Spanner databases. - # @param [String] parent - # Required. The instance whose databases should be listed. - # Values are of the form `projects//instances/`. - # @param [String] page_token - # If non-empty, `page_token` should contain a - # next_page_token from a - # previous ListDatabasesResponse. - # @param [Fixnum] page_size - # Number of databases to be returned in the response. If 0 or less, - # defaults to the server's maximum allowed page size. - # @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::SpannerV1::ListDatabasesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SpannerV1::ListDatabasesResponse] - # - # @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_project_instance_databases(parent, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+parent}/databases', options) - command.response_representation = Google::Apis::SpannerV1::ListDatabasesResponse::Representation - command.response_class = Google::Apis::SpannerV1::ListDatabasesResponse - command.params['parent'] = parent unless parent.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -503,11 +503,11 @@ module Google # Required. The name of the instance that will serve the new database. # Values are of the form `projects//instances/`. # @param [Google::Apis::SpannerV1::CreateDatabaseRequest] create_database_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -520,54 +520,108 @@ 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 create_database(parent, create_database_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def create_database(parent, create_database_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/databases', options) command.request_representation = Google::Apis::SpannerV1::CreateDatabaseRequest::Representation command.request_object = create_database_request_object command.response_representation = Google::Apis::SpannerV1::Operation::Representation command.response_class = Google::Apis::SpannerV1::Operation command.params['parent'] = parent unless parent.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 - # Sets the access control policy on a database resource. Replaces any - # existing policy. - # Authorization requires `spanner.databases.setIamPolicy` permission on - # resource. - # @param [String] resource - # REQUIRED: The Cloud Spanner resource for which the policy is being set. The - # format is `projects//instances/` for instance - # resources and `projects//instances//databases/< - # database ID>` for databases resources. - # @param [Google::Apis::SpannerV1::SetIamPolicyRequest] set_iam_policy_request_object + # Drops (aka deletes) a Cloud Spanner database. + # @param [String] database + # Required. The database to be dropped. + # @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 # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::SpannerV1::Policy] parsed result object + # @yieldparam result [Google::Apis::SpannerV1::Empty] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::SpannerV1::Policy] + # @return [Google::Apis::SpannerV1::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 set_database_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) - command.request_representation = Google::Apis::SpannerV1::SetIamPolicyRequest::Representation - command.request_object = set_iam_policy_request_object - command.response_representation = Google::Apis::SpannerV1::Policy::Representation - command.response_class = Google::Apis::SpannerV1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + def drop_project_instance_database_database(database, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+database}', options) + command.response_representation = Google::Apis::SpannerV1::Empty::Representation + command.response_class = Google::Apis::SpannerV1::Empty + command.params['database'] = database unless database.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 state of a Cloud Spanner database. + # @param [String] name + # Required. The name of the requested database. Values are of the form + # `projects//instances//databases/`. + # @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::SpannerV1::Database] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpannerV1::Database] + # + # @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_project_instance_database(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::SpannerV1::Database::Representation + command.response_class = Google::Apis::SpannerV1::Database + 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 + + # Returns the schema of a Cloud Spanner database as a list of formatted + # DDL statements. This method does not show pending schema updates, those may + # be queried using the Operations API. + # @param [String] database + # Required. The database whose schema we wish to get. + # @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::SpannerV1::GetDatabaseDdlResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpannerV1::GetDatabaseDdlResponse] + # + # @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_project_instance_database_ddl(database, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+database}/ddl', options) + command.response_representation = Google::Apis::SpannerV1::GetDatabaseDdlResponse::Representation + command.response_class = Google::Apis::SpannerV1::GetDatabaseDdlResponse + command.params['database'] = database unless database.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -581,11 +635,11 @@ module Google # resources and `projects//instances//databases/< # database ID>` for database resources. # @param [Google::Apis::SpannerV1::GetIamPolicyRequest] get_iam_policy_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -598,115 +652,94 @@ 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_database_iam_policy(resource, get_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def get_database_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options) command.request_representation = Google::Apis::SpannerV1::GetIamPolicyRequest::Representation command.request_object = get_iam_policy_request_object command.response_representation = Google::Apis::SpannerV1::Policy::Representation command.response_class = Google::Apis::SpannerV1::Policy command.params['resource'] = resource unless resource.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 - # Gets the state of a Cloud Spanner database. - # @param [String] name - # Required. The name of the requested database. Values are of the form - # `projects//instances//databases/`. + # Lists Cloud Spanner databases. + # @param [String] parent + # Required. The instance whose databases should be listed. + # Values are of the form `projects//instances/`. + # @param [Fixnum] page_size + # Number of databases to be returned in the response. If 0 or less, + # defaults to the server's maximum allowed page size. + # @param [String] page_token + # If non-empty, `page_token` should contain a + # next_page_token from a + # previous ListDatabasesResponse. + # @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 # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::SpannerV1::Database] parsed result object + # @yieldparam result [Google::Apis::SpannerV1::ListDatabasesResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::SpannerV1::Database] + # @return [Google::Apis::SpannerV1::ListDatabasesResponse] # # @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_project_instance_database(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::SpannerV1::Database::Representation - command.response_class = Google::Apis::SpannerV1::Database - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + def list_project_instance_databases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/databases', options) + command.response_representation = Google::Apis::SpannerV1::ListDatabasesResponse::Representation + command.response_class = Google::Apis::SpannerV1::ListDatabasesResponse + command.params['parent'] = parent unless parent.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 - # Drops (aka deletes) a Cloud Spanner database. - # @param [String] database - # Required. The database to be dropped. + # Sets the access control policy on a database resource. Replaces any + # existing policy. + # Authorization requires `spanner.databases.setIamPolicy` permission on + # resource. + # @param [String] resource + # REQUIRED: The Cloud Spanner resource for which the policy is being set. The + # format is `projects//instances/` for instance + # resources and `projects//instances//databases/< + # database ID>` for databases resources. + # @param [Google::Apis::SpannerV1::SetIamPolicyRequest] set_iam_policy_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 [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::SpannerV1::Empty] parsed result object + # @yieldparam result [Google::Apis::SpannerV1::Policy] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::SpannerV1::Empty] + # @return [Google::Apis::SpannerV1::Policy] # # @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 drop_project_instance_database_database(database, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+database}', options) - command.response_representation = Google::Apis::SpannerV1::Empty::Representation - command.response_class = Google::Apis::SpannerV1::Empty - command.params['database'] = database unless database.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + def set_database_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::SpannerV1::SetIamPolicyRequest::Representation + command.request_object = set_iam_policy_request_object + command.response_representation = Google::Apis::SpannerV1::Policy::Representation + command.response_class = Google::Apis::SpannerV1::Policy + command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Updates the schema of a Cloud Spanner database by - # creating/altering/dropping tables, columns, indexes, etc. The returned - # long-running operation will have a name of - # the format `/operations/` and can be used to - # track execution of the schema change(s). The - # metadata field type is - # UpdateDatabaseDdlMetadata. The operation has no response. - # @param [String] database - # Required. The database to update. - # @param [Google::Apis::SpannerV1::UpdateDatabaseDdlRequest] update_database_ddl_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::SpannerV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SpannerV1::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_project_instance_database_ddl(database, update_database_ddl_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/{+database}/ddl', options) - command.request_representation = Google::Apis::SpannerV1::UpdateDatabaseDdlRequest::Representation - command.request_object = update_database_ddl_request_object - command.response_representation = Google::Apis::SpannerV1::Operation::Representation - command.response_class = Google::Apis::SpannerV1::Operation - command.params['database'] = database unless database.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -721,11 +754,11 @@ module Google # resources and `projects//instances//databases/< # database ID>` for database resources. # @param [Google::Apis::SpannerV1::TestIamPermissionsRequest] test_iam_permissions_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -738,127 +771,241 @@ 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 test_database_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def test_database_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) command.request_representation = Google::Apis::SpannerV1::TestIamPermissionsRequest::Representation command.request_object = test_iam_permissions_request_object command.response_representation = Google::Apis::SpannerV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::SpannerV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.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 - # Reads rows from the database using key lookups and scans, as a - # simple key/value style alternative to - # ExecuteSql. This method cannot be used to - # return a result set larger than 10 MiB; if the read matches more - # data than that, the read fails with a `FAILED_PRECONDITION` - # error. - # Reads inside read-write transactions might return `ABORTED`. If - # this occurs, the application should restart the transaction from - # the beginning. See Transaction for more details. - # Larger result sets can be yielded in streaming fashion by calling - # StreamingRead instead. - # @param [String] session - # Required. The session in which the read should be performed. - # @param [Google::Apis::SpannerV1::ReadRequest] read_request_object + # Updates the schema of a Cloud Spanner database by + # creating/altering/dropping tables, columns, indexes, etc. The returned + # long-running operation will have a name of + # the format `/operations/` and can be used to + # track execution of the schema change(s). The + # metadata field type is + # UpdateDatabaseDdlMetadata. The operation has no response. + # @param [String] database + # Required. The database to update. + # @param [Google::Apis::SpannerV1::UpdateDatabaseDdlRequest] update_database_ddl_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 [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::SpannerV1::ResultSet] parsed result object + # @yieldparam result [Google::Apis::SpannerV1::Operation] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::SpannerV1::ResultSet] + # @return [Google::Apis::SpannerV1::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 read_session(session, read_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+session}:read', options) - command.request_representation = Google::Apis::SpannerV1::ReadRequest::Representation - command.request_object = read_request_object - command.response_representation = Google::Apis::SpannerV1::ResultSet::Representation - command.response_class = Google::Apis::SpannerV1::ResultSet - command.params['session'] = session unless session.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + def update_project_instance_database_ddl(database, update_database_ddl_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/{+database}/ddl', options) + command.request_representation = Google::Apis::SpannerV1::UpdateDatabaseDdlRequest::Representation + command.request_object = update_database_ddl_request_object + command.response_representation = Google::Apis::SpannerV1::Operation::Representation + command.response_class = Google::Apis::SpannerV1::Operation + command.params['database'] = database unless database.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 a session. Returns `NOT_FOUND` if the session does not exist. - # This is mainly useful for determining whether a session is still - # alive. + # 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. On successful cancellation, + # the operation is not deleted; instead, it becomes an operation with + # an Operation.error value with a google.rpc.Status.code of 1, + # corresponding to `Code.CANCELLED`. # @param [String] name - # Required. The name of the session to retrieve. + # 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 [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::SpannerV1::Session] parsed result object + # @yieldparam result [Google::Apis::SpannerV1::Empty] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::SpannerV1::Session] + # @return [Google::Apis::SpannerV1::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 get_project_instance_database_session(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::SpannerV1::Session::Representation - command.response_class = Google::Apis::SpannerV1::Session + def cancel_project_instance_database_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:cancel', options) + command.response_representation = Google::Apis::SpannerV1::Empty::Representation + command.response_class = Google::Apis::SpannerV1::Empty command.params['name'] = name unless name.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 - # Like ExecuteSql, except returns the result - # set as a stream. Unlike ExecuteSql, there - # is no limit on the size of the returned result set. However, no - # individual row in the result set can exceed 100 MiB, and no - # column value can exceed 10 MiB. - # @param [String] session - # Required. The session in which the SQL query should be performed. - # @param [Google::Apis::SpannerV1::ExecuteSqlRequest] execute_sql_request_object + # 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 [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::SpannerV1::PartialResultSet] parsed result object + # @yieldparam result [Google::Apis::SpannerV1::Empty] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::SpannerV1::PartialResultSet] + # @return [Google::Apis::SpannerV1::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 execute_project_instance_database_session_streaming_sql(session, execute_sql_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+session}:executeStreamingSql', options) - command.request_representation = Google::Apis::SpannerV1::ExecuteSqlRequest::Representation - command.request_object = execute_sql_request_object - command.response_representation = Google::Apis::SpannerV1::PartialResultSet::Representation - command.response_class = Google::Apis::SpannerV1::PartialResultSet - command.params['session'] = session unless session.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + def delete_project_instance_database_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::SpannerV1::Empty::Representation + command.response_class = Google::Apis::SpannerV1::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 + + # 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::SpannerV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpannerV1::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_project_instance_database_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::SpannerV1::Operation::Representation + command.response_class = Google::Apis::SpannerV1::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 allows API services to override the binding + # to use different resource name schemes, such as `users/*/operations`. To + # override the binding, API services can add a binding such as + # `"/v1/`name=users/*`/operations"` to their service configuration. + # For backwards compatibility, the default name includes the operations + # collection id, however overriding users must ensure the name binding + # is the parent resource, without the operations collection id. + # @param [String] name + # The name of the operation's parent resource. + # @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::SpannerV1::ListOperationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpannerV1::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_project_instance_database_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::SpannerV1::ListOperationsResponse::Representation + command.response_class = Google::Apis::SpannerV1::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 + + # Begins a new transaction. This step can often be skipped: + # Read, ExecuteSql and + # Commit can begin a new transaction as a + # side-effect. + # @param [String] session + # Required. The session in which the transaction runs. + # @param [Google::Apis::SpannerV1::BeginTransactionRequest] begin_transaction_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::SpannerV1::Transaction] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpannerV1::Transaction] + # + # @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 begin_session_transaction(session, begin_transaction_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+session}:beginTransaction', options) + command.request_representation = Google::Apis::SpannerV1::BeginTransactionRequest::Representation + command.request_object = begin_transaction_request_object + command.response_representation = Google::Apis::SpannerV1::Transaction::Representation + command.response_class = Google::Apis::SpannerV1::Transaction + command.params['session'] = session unless session.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -872,11 +1019,11 @@ module Google # @param [String] session # Required. The session in which the transaction to be committed is running. # @param [Google::Apis::SpannerV1::CommitRequest] commit_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -889,198 +1036,15 @@ 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 commit_session(session, commit_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def commit_session(session, commit_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+session}:commit', options) command.request_representation = Google::Apis::SpannerV1::CommitRequest::Representation command.request_object = commit_request_object command.response_representation = Google::Apis::SpannerV1::CommitResponse::Representation command.response_class = Google::Apis::SpannerV1::CommitResponse command.params['session'] = session unless session.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Begins a new transaction. This step can often be skipped: - # Read, ExecuteSql and - # Commit can begin a new transaction as a - # side-effect. - # @param [String] session - # Required. The session in which the transaction runs. - # @param [Google::Apis::SpannerV1::BeginTransactionRequest] begin_transaction_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::SpannerV1::Transaction] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SpannerV1::Transaction] - # - # @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 begin_session_transaction(session, begin_transaction_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+session}:beginTransaction', options) - command.request_representation = Google::Apis::SpannerV1::BeginTransactionRequest::Representation - command.request_object = begin_transaction_request_object - command.response_representation = Google::Apis::SpannerV1::Transaction::Representation - command.response_class = Google::Apis::SpannerV1::Transaction - command.params['session'] = session unless session.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Ends a session, releasing server resources associated with it. - # @param [String] name - # Required. The name of the session to delete. - # @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::SpannerV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SpannerV1::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_project_instance_database_session(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+name}', options) - command.response_representation = Google::Apis::SpannerV1::Empty::Representation - command.response_class = Google::Apis::SpannerV1::Empty - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Executes an SQL query, returning all rows in a single reply. This - # method cannot be used to return a result set larger than 10 MiB; - # if the query yields more data than that, the query fails with - # a `FAILED_PRECONDITION` error. - # Queries inside read-write transactions might return `ABORTED`. If - # this occurs, the application should restart the transaction from - # the beginning. See Transaction for more details. - # Larger result sets can be fetched in streaming fashion by calling - # ExecuteStreamingSql instead. - # @param [String] session - # Required. The session in which the SQL query should be performed. - # @param [Google::Apis::SpannerV1::ExecuteSqlRequest] execute_sql_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::SpannerV1::ResultSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SpannerV1::ResultSet] - # - # @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 execute_session_sql(session, execute_sql_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+session}:executeSql', options) - command.request_representation = Google::Apis::SpannerV1::ExecuteSqlRequest::Representation - command.request_object = execute_sql_request_object - command.response_representation = Google::Apis::SpannerV1::ResultSet::Representation - command.response_class = Google::Apis::SpannerV1::ResultSet - command.params['session'] = session unless session.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Rolls back a transaction, releasing any locks it holds. It is a good - # idea to call this for any transaction that includes one or more - # Read or ExecuteSql requests and - # ultimately decides not to commit. - # `Rollback` returns `OK` if it successfully aborts the transaction, the - # transaction was already aborted, or the transaction is not - # found. `Rollback` never returns `ABORTED`. - # @param [String] session - # Required. The session in which the transaction to roll back is running. - # @param [Google::Apis::SpannerV1::RollbackRequest] rollback_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::SpannerV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SpannerV1::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 rollback_session(session, rollback_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+session}:rollback', options) - command.request_representation = Google::Apis::SpannerV1::RollbackRequest::Representation - command.request_object = rollback_request_object - command.response_representation = Google::Apis::SpannerV1::Empty::Representation - command.response_class = Google::Apis::SpannerV1::Empty - command.params['session'] = session unless session.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Like Read, except returns the result set as a - # stream. Unlike Read, there is no limit on the - # size of the returned result set. However, no individual row in - # the result set can exceed 100 MiB, and no column value can exceed - # 10 MiB. - # @param [String] session - # Required. The session in which the read should be performed. - # @param [Google::Apis::SpannerV1::ReadRequest] read_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::SpannerV1::PartialResultSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SpannerV1::PartialResultSet] - # - # @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 streaming_project_instance_database_session_read(session, read_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+session}:streamingRead', options) - command.request_representation = Google::Apis::SpannerV1::ReadRequest::Representation - command.request_object = read_request_object - command.response_representation = Google::Apis::SpannerV1::PartialResultSet::Representation - command.response_class = Google::Apis::SpannerV1::PartialResultSet - command.params['session'] = session unless session.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -1102,11 +1066,11 @@ module Google # periodically, e.g., `"SELECT 1"`. # @param [String] database # Required. The database in which the new session is created. + # @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 # @@ -1119,13 +1083,272 @@ 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 create_project_instance_database_session(database, quota_user: nil, fields: nil, options: nil, &block) + def create_project_instance_database_session(database, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+database}/sessions', options) command.response_representation = Google::Apis::SpannerV1::Session::Representation command.response_class = Google::Apis::SpannerV1::Session command.params['database'] = database unless database.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 + + # Ends a session, releasing server resources associated with it. + # @param [String] name + # Required. The name of the session 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SpannerV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpannerV1::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_project_instance_database_session(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::SpannerV1::Empty::Representation + command.response_class = Google::Apis::SpannerV1::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 + + # Executes an SQL query, returning all rows in a single reply. This + # method cannot be used to return a result set larger than 10 MiB; + # if the query yields more data than that, the query fails with + # a `FAILED_PRECONDITION` error. + # Queries inside read-write transactions might return `ABORTED`. If + # this occurs, the application should restart the transaction from + # the beginning. See Transaction for more details. + # Larger result sets can be fetched in streaming fashion by calling + # ExecuteStreamingSql instead. + # @param [String] session + # Required. The session in which the SQL query should be performed. + # @param [Google::Apis::SpannerV1::ExecuteSqlRequest] execute_sql_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::SpannerV1::ResultSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpannerV1::ResultSet] + # + # @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 execute_session_sql(session, execute_sql_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+session}:executeSql', options) + command.request_representation = Google::Apis::SpannerV1::ExecuteSqlRequest::Representation + command.request_object = execute_sql_request_object + command.response_representation = Google::Apis::SpannerV1::ResultSet::Representation + command.response_class = Google::Apis::SpannerV1::ResultSet + command.params['session'] = session unless session.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Like ExecuteSql, except returns the result + # set as a stream. Unlike ExecuteSql, there + # is no limit on the size of the returned result set. However, no + # individual row in the result set can exceed 100 MiB, and no + # column value can exceed 10 MiB. + # @param [String] session + # Required. The session in which the SQL query should be performed. + # @param [Google::Apis::SpannerV1::ExecuteSqlRequest] execute_sql_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::SpannerV1::PartialResultSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpannerV1::PartialResultSet] + # + # @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 execute_project_instance_database_session_streaming_sql(session, execute_sql_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+session}:executeStreamingSql', options) + command.request_representation = Google::Apis::SpannerV1::ExecuteSqlRequest::Representation + command.request_object = execute_sql_request_object + command.response_representation = Google::Apis::SpannerV1::PartialResultSet::Representation + command.response_class = Google::Apis::SpannerV1::PartialResultSet + command.params['session'] = session unless session.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 a session. Returns `NOT_FOUND` if the session does not exist. + # This is mainly useful for determining whether a session is still + # alive. + # @param [String] name + # Required. The name of the session to retrieve. + # @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::SpannerV1::Session] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpannerV1::Session] + # + # @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_project_instance_database_session(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::SpannerV1::Session::Representation + command.response_class = Google::Apis::SpannerV1::Session + 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 + + # Reads rows from the database using key lookups and scans, as a + # simple key/value style alternative to + # ExecuteSql. This method cannot be used to + # return a result set larger than 10 MiB; if the read matches more + # data than that, the read fails with a `FAILED_PRECONDITION` + # error. + # Reads inside read-write transactions might return `ABORTED`. If + # this occurs, the application should restart the transaction from + # the beginning. See Transaction for more details. + # Larger result sets can be yielded in streaming fashion by calling + # StreamingRead instead. + # @param [String] session + # Required. The session in which the read should be performed. + # @param [Google::Apis::SpannerV1::ReadRequest] read_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::SpannerV1::ResultSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpannerV1::ResultSet] + # + # @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 read_session(session, read_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+session}:read', options) + command.request_representation = Google::Apis::SpannerV1::ReadRequest::Representation + command.request_object = read_request_object + command.response_representation = Google::Apis::SpannerV1::ResultSet::Representation + command.response_class = Google::Apis::SpannerV1::ResultSet + command.params['session'] = session unless session.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Rolls back a transaction, releasing any locks it holds. It is a good + # idea to call this for any transaction that includes one or more + # Read or ExecuteSql requests and + # ultimately decides not to commit. + # `Rollback` returns `OK` if it successfully aborts the transaction, the + # transaction was already aborted, or the transaction is not + # found. `Rollback` never returns `ABORTED`. + # @param [String] session + # Required. The session in which the transaction to roll back is running. + # @param [Google::Apis::SpannerV1::RollbackRequest] rollback_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::SpannerV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpannerV1::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 rollback_session(session, rollback_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+session}:rollback', options) + command.request_representation = Google::Apis::SpannerV1::RollbackRequest::Representation + command.request_object = rollback_request_object + command.response_representation = Google::Apis::SpannerV1::Empty::Representation + command.response_class = Google::Apis::SpannerV1::Empty + command.params['session'] = session unless session.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Like Read, except returns the result set as a + # stream. Unlike Read, there is no limit on the + # size of the returned result set. However, no individual row in + # the result set can exceed 100 MiB, and no column value can exceed + # 10 MiB. + # @param [String] session + # Required. The session in which the read should be performed. + # @param [Google::Apis::SpannerV1::ReadRequest] read_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::SpannerV1::PartialResultSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpannerV1::PartialResultSet] + # + # @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 streaming_project_instance_database_session_read(session, read_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+session}:streamingRead', options) + command.request_representation = Google::Apis::SpannerV1::ReadRequest::Representation + command.request_object = read_request_object + command.response_representation = Google::Apis::SpannerV1::PartialResultSet::Representation + command.response_class = Google::Apis::SpannerV1::PartialResultSet + command.params['session'] = session unless session.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1141,11 +1364,11 @@ module Google # corresponding to `Code.CANCELLED`. # @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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1158,13 +1381,13 @@ 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 cancel_project_instance_database_operation(name, quota_user: nil, fields: nil, options: nil, &block) + def cancel_project_instance_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:cancel', options) command.response_representation = Google::Apis::SpannerV1::Empty::Representation command.response_class = Google::Apis::SpannerV1::Empty command.params['name'] = name unless name.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 @@ -1174,11 +1397,11 @@ module Google # `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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1191,13 +1414,13 @@ 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 delete_project_instance_database_operation(name, quota_user: nil, fields: nil, options: nil, &block) + def delete_project_instance_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', options) command.response_representation = Google::Apis::SpannerV1::Empty::Representation command.response_class = Google::Apis::SpannerV1::Empty command.params['name'] = name unless name.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 @@ -1206,11 +1429,11 @@ module Google # 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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1223,13 +1446,13 @@ 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_project_instance_database_operation(name, quota_user: nil, fields: nil, options: nil, &block) + def get_project_instance_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', options) command.response_representation = Google::Apis::SpannerV1::Operation::Representation command.response_class = Google::Apis::SpannerV1::Operation command.params['name'] = name unless name.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 @@ -1246,15 +1469,15 @@ module Google # The name of the operation's parent resource. # @param [String] filter # The standard list filter. - # @param [String] page_token - # The standard list page token. # @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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1267,239 +1490,16 @@ 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_project_instance_database_operations(name, filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_project_instance_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::SpannerV1::ListOperationsResponse::Representation command.response_class = Google::Apis::SpannerV1::ListOperationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.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] 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::SpannerV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SpannerV1::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_project_instance_operation(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::SpannerV1::Operation::Representation - command.response_class = Google::Apis::SpannerV1::Operation - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.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 allows API services to override the binding - # to use different resource name schemes, such as `users/*/operations`. To - # override the binding, API services can add a binding such as - # `"/v1/`name=users/*`/operations"` to their service configuration. - # For backwards compatibility, the default name includes the operations - # collection id, however overriding users must ensure the name binding - # is the parent resource, without the operations collection id. - # @param [String] name - # The name of the operation's parent resource. - # @param [String] filter - # The standard list filter. - # @param [String] page_token - # The standard list page token. - # @param [Fixnum] page_size - # The standard list page size. - # @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::SpannerV1::ListOperationsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SpannerV1::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_project_instance_operations(name, filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::SpannerV1::ListOperationsResponse::Representation - command.response_class = Google::Apis::SpannerV1::ListOperationsResponse - command.params['name'] = name unless name.nil? - command.query['filter'] = filter unless filter.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.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. On successful cancellation, - # the operation is not deleted; instead, it becomes an operation with - # an Operation.error value with a google.rpc.Status.code of 1, - # corresponding to `Code.CANCELLED`. - # @param [String] name - # The name of the operation resource to be cancelled. - # @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::SpannerV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SpannerV1::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_project_instance_operation(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:cancel', options) - command.response_representation = Google::Apis::SpannerV1::Empty::Representation - command.response_class = Google::Apis::SpannerV1::Empty - command.params['name'] = name unless name.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.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] 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::SpannerV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SpannerV1::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_project_instance_operation(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+name}', options) - command.response_representation = Google::Apis::SpannerV1::Empty::Representation - command.response_class = Google::Apis::SpannerV1::Empty - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets information about a particular instance configuration. - # @param [String] name - # Required. The name of the requested instance configuration. Values are of - # the form `projects//instanceConfigs/`. - # @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::SpannerV1::InstanceConfig] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SpannerV1::InstanceConfig] - # - # @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_project_instance_config(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::SpannerV1::InstanceConfig::Representation - command.response_class = Google::Apis::SpannerV1::InstanceConfig - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists the supported instance configurations for a given project. - # @param [String] parent - # Required. The name of the project for which a list of supported instance - # configurations is requested. Values are of the form - # `projects/`. - # @param [String] page_token - # If non-empty, `page_token` should contain a - # next_page_token - # from a previous ListInstanceConfigsResponse. - # @param [Fixnum] page_size - # Number of instance configurations to be returned in the response. If 0 or - # less, defaults to the server's maximum allowed page size. - # @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::SpannerV1::ListInstanceConfigsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SpannerV1::ListInstanceConfigsResponse] - # - # @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_project_instance_configs(parent, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+parent}/instanceConfigs', options) - command.response_representation = Google::Apis::SpannerV1::ListInstanceConfigsResponse::Representation - command.response_class = Google::Apis::SpannerV1::ListInstanceConfigsResponse - command.params['parent'] = parent unless parent.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end diff --git a/generated/google/apis/spectrum_v1explorer.rb b/generated/google/apis/spectrum_v1explorer.rb new file mode 100644 index 000000000..6f2741c5f --- /dev/null +++ b/generated/google/apis/spectrum_v1explorer.rb @@ -0,0 +1,31 @@ +# 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/spectrum_v1explorer/service.rb' +require 'google/apis/spectrum_v1explorer/classes.rb' +require 'google/apis/spectrum_v1explorer/representations.rb' + +module Google + module Apis + # Google Spectrum Database API + # + # API for spectrum-management functions. + # + # @see http://developers.google.com/spectrum + module SpectrumV1explorer + VERSION = 'V1explorer' + REVISION = '20170306' + end + end +end diff --git a/generated/google/apis/spectrum_v1explorer/classes.rb b/generated/google/apis/spectrum_v1explorer/classes.rb new file mode 100644 index 000000000..34cb4c36d --- /dev/null +++ b/generated/google/apis/spectrum_v1explorer/classes.rb @@ -0,0 +1,1612 @@ +# 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 SpectrumV1explorer + + # Antenna characteristics provide additional information, such as the antenna + # height, antenna type, etc. Whether antenna characteristics must be provided in + # a request depends on the device type and regulatory domain. + class AntennaCharacteristics + include Google::Apis::Core::Hashable + + # The antenna height in meters. Whether the antenna height is required depends + # on the device type and the regulatory domain. Note that the height may be + # negative. + # Corresponds to the JSON property `height` + # @return [Float] + attr_accessor :height + + # If the height is required, then the height type (AGL for above ground level or + # AMSL for above mean sea level) is also required. The default is AGL. + # Corresponds to the JSON property `heightType` + # @return [String] + attr_accessor :height_type + + # The height uncertainty in meters. Whether this is required depends on the + # regulatory domain. + # Corresponds to the JSON property `heightUncertainty` + # @return [Float] + attr_accessor :height_uncertainty + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @height = args[:height] if args.key?(:height) + @height_type = args[:height_type] if args.key?(:height_type) + @height_uncertainty = args[:height_uncertainty] if args.key?(:height_uncertainty) + end + end + + # This message contains the name and URI of a database. + class DatabaseSpec + include Google::Apis::Core::Hashable + + # The display name for a database. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The corresponding URI of the database. + # Corresponds to the JSON property `uri` + # @return [String] + attr_accessor :uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @uri = args[:uri] if args.key?(:uri) + end + end + + # This message is provided by the database to notify devices of an upcoming + # change to the database URI. + class DbUpdateSpec + include Google::Apis::Core::Hashable + + # A required list of one or more databases. A device should update its + # preconfigured list of databases to replace (only) the database that provided + # the response with the specified entries. + # Corresponds to the JSON property `databases` + # @return [Array] + attr_accessor :databases + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @databases = args[:databases] if args.key?(:databases) + end + end + + # Device capabilities provide additional information that may be used by a + # device to provide additional information to the database that may help it to + # determine available spectrum. If the database does not support device + # capabilities it will ignore the parameter altogether. + class DeviceCapabilities + include Google::Apis::Core::Hashable + + # An optional list of frequency ranges supported by the device. Each element + # must contain start and stop frequencies in which the device can operate. + # Channel identifiers are optional. When specified, the database should not + # return available spectrum that falls outside these ranges or channel IDs. + # Corresponds to the JSON property `frequencyRanges` + # @return [Array] + attr_accessor :frequency_ranges + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frequency_ranges = args[:frequency_ranges] if args.key?(:frequency_ranges) + end + end + + # The device descriptor contains parameters that identify the specific device, + # such as its manufacturer serial number, regulatory-specific identifier (e.g., + # FCC ID), and any other device characteristics required by regulatory domains. + class DeviceDescriptor + include Google::Apis::Core::Hashable + + # Specifies the ETSI white space device category. Valid values are the strings + # master and slave. This field is case-insensitive. Consult the ETSI + # documentation for details about the device types. + # Corresponds to the JSON property `etsiEnDeviceCategory` + # @return [String] + attr_accessor :etsi_en_device_category + + # Specifies the ETSI white space device emissions class. The values are + # represented by numeric strings, such as 1, 2, etc. Consult the ETSI + # documentation for details about the device types. + # Corresponds to the JSON property `etsiEnDeviceEmissionsClass` + # @return [String] + attr_accessor :etsi_en_device_emissions_class + + # Specifies the ETSI white space device type. Valid values are single-letter + # strings, such as A, B, etc. Consult the ETSI documentation for details about + # the device types. + # Corresponds to the JSON property `etsiEnDeviceType` + # @return [String] + attr_accessor :etsi_en_device_type + + # Specifies the ETSI white space device technology identifier. The string value + # must not exceed 64 characters in length. Consult the ETSI documentation for + # details about the device types. + # Corresponds to the JSON property `etsiEnTechnologyId` + # @return [String] + attr_accessor :etsi_en_technology_id + + # Specifies the device's FCC certification identifier. The value is an + # identifier string whose length should not exceed 32 characters. Note that, in + # practice, a valid FCC ID may be limited to 19 characters. + # Corresponds to the JSON property `fccId` + # @return [String] + attr_accessor :fcc_id + + # Specifies the TV Band White Space device type, as defined by the FCC. Valid + # values are FIXED, MODE_1, MODE_2. + # Corresponds to the JSON property `fccTvbdDeviceType` + # @return [String] + attr_accessor :fcc_tvbd_device_type + + # The manufacturer's ID may be required by the regulatory domain. This should + # represent the name of the device manufacturer, should be consistent across all + # devices from the same manufacturer, and should be distinct from that of other + # manufacturers. The string value must not exceed 64 characters in length. + # Corresponds to the JSON property `manufacturerId` + # @return [String] + attr_accessor :manufacturer_id + + # The device's model ID may be required by the regulatory domain. The string + # value must not exceed 64 characters in length. + # Corresponds to the JSON property `modelId` + # @return [String] + attr_accessor :model_id + + # The list of identifiers for rulesets supported by the device. A database may + # require that the device provide this list before servicing the device requests. + # If the database does not support any of the rulesets specified in the list, + # the database may refuse to service the device requests. If present, the list + # must contain at least one entry. + # For information about the valid requests, see section 9.2 of the PAWS + # specification. Currently, FccTvBandWhiteSpace-2010 is the only supported + # ruleset. + # Corresponds to the JSON property `rulesetIds` + # @return [Array] + attr_accessor :ruleset_ids + + # The manufacturer's device serial number; required by the applicable regulatory + # domain. The length of the value must not exceed 64 characters. + # Corresponds to the JSON property `serialNumber` + # @return [String] + attr_accessor :serial_number + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @etsi_en_device_category = args[:etsi_en_device_category] if args.key?(:etsi_en_device_category) + @etsi_en_device_emissions_class = args[:etsi_en_device_emissions_class] if args.key?(:etsi_en_device_emissions_class) + @etsi_en_device_type = args[:etsi_en_device_type] if args.key?(:etsi_en_device_type) + @etsi_en_technology_id = args[:etsi_en_technology_id] if args.key?(:etsi_en_technology_id) + @fcc_id = args[:fcc_id] if args.key?(:fcc_id) + @fcc_tvbd_device_type = args[:fcc_tvbd_device_type] if args.key?(:fcc_tvbd_device_type) + @manufacturer_id = args[:manufacturer_id] if args.key?(:manufacturer_id) + @model_id = args[:model_id] if args.key?(:model_id) + @ruleset_ids = args[:ruleset_ids] if args.key?(:ruleset_ids) + @serial_number = args[:serial_number] if args.key?(:serial_number) + end + end + + # This parameter contains device-owner information required as part of device + # registration. The regulatory domains may require additional parameters. + # All contact information must be expressed using the structure defined by the + # vCard format specification. Only the contact fields of vCard are supported: + # - fn: Full name of an individual + # - org: Name of the organization + # - adr: Address fields + # - tel: Telephone numbers + # - email: Email addresses + # Note that the vCard specification defines maximum lengths for each field. + class DeviceOwner + include Google::Apis::Core::Hashable + + # A vCard-in-JSON message that contains only the fields needed for PAWS: + # - fn: Full name of an individual + # - org: Name of the organization + # - adr: Address fields + # - tel: Telephone numbers + # - email: Email addresses + # Corresponds to the JSON property `operator` + # @return [Google::Apis::SpectrumV1explorer::Vcard] + attr_accessor :operator + + # A vCard-in-JSON message that contains only the fields needed for PAWS: + # - fn: Full name of an individual + # - org: Name of the organization + # - adr: Address fields + # - tel: Telephone numbers + # - email: Email addresses + # Corresponds to the JSON property `owner` + # @return [Google::Apis::SpectrumV1explorer::Vcard] + attr_accessor :owner + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @operator = args[:operator] if args.key?(:operator) + @owner = args[:owner] if args.key?(:owner) + end + end + + # The device validity element describes whether a particular device is valid to + # operate in the regulatory domain. + class DeviceValidity + include Google::Apis::Core::Hashable + + # The device descriptor contains parameters that identify the specific device, + # such as its manufacturer serial number, regulatory-specific identifier (e.g., + # FCC ID), and any other device characteristics required by regulatory domains. + # Corresponds to the JSON property `deviceDesc` + # @return [Google::Apis::SpectrumV1explorer::DeviceDescriptor] + attr_accessor :device_desc + + # The validity status: true if the device is valid for operation, false + # otherwise. It will always be present. + # Corresponds to the JSON property `isValid` + # @return [Boolean] + attr_accessor :is_valid + alias_method :is_valid?, :is_valid + + # If the device identifier is not valid, the database may include a reason. The + # reason may be in any language. The length of the value should not exceed 128 + # characters. + # Corresponds to the JSON property `reason` + # @return [String] + attr_accessor :reason + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @device_desc = args[:device_desc] if args.key?(:device_desc) + @is_valid = args[:is_valid] if args.key?(:is_valid) + @reason = args[:reason] if args.key?(:reason) + end + end + + # The start and stop times of an event. This is used to indicate the time period + # for which a spectrum profile is valid. + # Both times are expressed using the format, YYYY-MM-DDThh:mm:ssZ, as defined in + # RFC3339. The times must be expressed using UTC. + class EventTime + include Google::Apis::Core::Hashable + + # The inclusive start of the event. It will be present. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # The exclusive end of the event. It will be present. + # Corresponds to the JSON property `stopTime` + # @return [String] + attr_accessor :stop_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @start_time = args[:start_time] if args.key?(:start_time) + @stop_time = args[:stop_time] if args.key?(:stop_time) + end + end + + # A specific range of frequencies together with the associated maximum power + # level and channel identifier. + class FrequencyRange + include Google::Apis::Core::Hashable + + # The database may include a channel identifier, when applicable. When it is + # included, the device should treat it as informative. The length of the + # identifier should not exceed 16 characters. + # Corresponds to the JSON property `channelId` + # @return [String] + attr_accessor :channel_id + + # The maximum total power level (EIRP)—computed over the corresponding operating + # bandwidth—that is permitted within the frequency range. Depending on the + # context in which the frequency-range element appears, this value may be + # required. For example, it is required in the available-spectrum response, + # available-spectrum-batch response, and spectrum-use notification message, but + # it should not be present (it is not applicable) when the frequency range + # appears inside a device-capabilities message. + # Corresponds to the JSON property `maxPowerDBm` + # @return [Float] + attr_accessor :max_power_d_bm + + # The required inclusive start of the frequency range (in Hertz). + # Corresponds to the JSON property `startHz` + # @return [Float] + attr_accessor :start_hz + + # The required exclusive end of the frequency range (in Hertz). + # Corresponds to the JSON property `stopHz` + # @return [Float] + attr_accessor :stop_hz + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @channel_id = args[:channel_id] if args.key?(:channel_id) + @max_power_d_bm = args[:max_power_d_bm] if args.key?(:max_power_d_bm) + @start_hz = args[:start_hz] if args.key?(:start_hz) + @stop_hz = args[:stop_hz] if args.key?(:stop_hz) + end + end + + # This parameter is used to specify the geolocation of the device. + class GeoLocation + include Google::Apis::Core::Hashable + + # The location confidence level, as an integer percentage, may be required, + # depending on the regulatory domain. When the parameter is optional and not + # provided, its value is assumed to be 95. Valid values range from 0 to 99, + # since, in practice, 100-percent confidence is not achievable. The confidence + # value is meaningful only when geolocation refers to a point with uncertainty. + # Corresponds to the JSON property `confidence` + # @return [Fixnum] + attr_accessor :confidence + + # A "point" with uncertainty is represented using the Ellipse shape. + # Corresponds to the JSON property `point` + # @return [Google::Apis::SpectrumV1explorer::GeoLocationEllipse] + attr_accessor :point + + # A region is represented using the polygonal shape. + # Corresponds to the JSON property `region` + # @return [Google::Apis::SpectrumV1explorer::GeoLocationPolygon] + attr_accessor :region + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @confidence = args[:confidence] if args.key?(:confidence) + @point = args[:point] if args.key?(:point) + @region = args[:region] if args.key?(:region) + end + end + + # A "point" with uncertainty is represented using the Ellipse shape. + class GeoLocationEllipse + include Google::Apis::Core::Hashable + + # A single geolocation on the globe. + # Corresponds to the JSON property `center` + # @return [Google::Apis::SpectrumV1explorer::GeoLocationPoint] + attr_accessor :center + + # A floating-point number that expresses the orientation of the ellipse, + # representing the rotation, in degrees, of the semi-major axis from North + # towards the East. For example, when the uncertainty is greatest along the + # North-South direction, orientation is 0 degrees; conversely, if the + # uncertainty is greatest along the East-West direction, orientation is 90 + # degrees. When orientation is not present, the orientation is assumed to be 0. + # Corresponds to the JSON property `orientation` + # @return [Float] + attr_accessor :orientation + + # A floating-point number that expresses the location uncertainty along the + # major axis of the ellipse. May be required by the regulatory domain. When the + # uncertainty is optional, the default value is 0. + # Corresponds to the JSON property `semiMajorAxis` + # @return [Float] + attr_accessor :semi_major_axis + + # A floating-point number that expresses the location uncertainty along the + # minor axis of the ellipse. May be required by the regulatory domain. When the + # uncertainty is optional, the default value is 0. + # Corresponds to the JSON property `semiMinorAxis` + # @return [Float] + attr_accessor :semi_minor_axis + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @center = args[:center] if args.key?(:center) + @orientation = args[:orientation] if args.key?(:orientation) + @semi_major_axis = args[:semi_major_axis] if args.key?(:semi_major_axis) + @semi_minor_axis = args[:semi_minor_axis] if args.key?(:semi_minor_axis) + end + end + + # A single geolocation on the globe. + class GeoLocationPoint + include Google::Apis::Core::Hashable + + # A required floating-point number that expresses the latitude in degrees using + # the WGS84 datum. For details on this encoding, see the National Imagery and + # Mapping Agency's Technical Report TR8350.2. + # Corresponds to the JSON property `latitude` + # @return [Float] + attr_accessor :latitude + + # A required floating-point number that expresses the longitude in degrees using + # the WGS84 datum. For details on this encoding, see the National Imagery and + # Mapping Agency's Technical Report TR8350.2. + # Corresponds to the JSON property `longitude` + # @return [Float] + attr_accessor :longitude + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @latitude = args[:latitude] if args.key?(:latitude) + @longitude = args[:longitude] if args.key?(:longitude) + end + end + + # A region is represented using the polygonal shape. + class GeoLocationPolygon + include Google::Apis::Core::Hashable + + # When the geolocation describes a region, the exterior field refers to a list + # of latitude/longitude points that represent the vertices of a polygon. The + # first and last points must be the same. Thus, a minimum of four points is + # required. The following polygon restrictions from RFC5491 apply: + # - A connecting line shall not cross another connecting line of the same + # polygon. + # - The vertices must be defined in a counterclockwise order. + # - The edges of a polygon are defined by the shortest path between two points + # in space (not a geodesic curve). Consequently, the length between two adjacent + # vertices should be restricted to a maximum of 130 km. + # - All vertices are assumed to be at the same altitude. + # - Polygon shapes should be restricted to a maximum of 15 vertices (16 points + # that include the repeated vertex). + # Corresponds to the JSON property `exterior` + # @return [Array] + attr_accessor :exterior + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exterior = args[:exterior] if args.key?(:exterior) + end + end + + # The schedule of spectrum profiles available at a particular geolocation. + class GeoSpectrumSchedule + include Google::Apis::Core::Hashable + + # This parameter is used to specify the geolocation of the device. + # Corresponds to the JSON property `location` + # @return [Google::Apis::SpectrumV1explorer::GeoLocation] + attr_accessor :location + + # A list of available spectrum profiles and associated times. It will always be + # present, and at least one schedule must be included (though it may be empty if + # there is no available spectrum). More than one schedule may be included to + # represent future changes to the available spectrum. + # Corresponds to the JSON property `spectrumSchedules` + # @return [Array] + attr_accessor :spectrum_schedules + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @location = args[:location] if args.key?(:location) + @spectrum_schedules = args[:spectrum_schedules] if args.key?(:spectrum_schedules) + end + end + + # The request message for a batch available spectrum query protocol. + class PawsGetSpectrumBatchRequest + include Google::Apis::Core::Hashable + + # Antenna characteristics provide additional information, such as the antenna + # height, antenna type, etc. Whether antenna characteristics must be provided in + # a request depends on the device type and regulatory domain. + # Corresponds to the JSON property `antenna` + # @return [Google::Apis::SpectrumV1explorer::AntennaCharacteristics] + attr_accessor :antenna + + # Device capabilities provide additional information that may be used by a + # device to provide additional information to the database that may help it to + # determine available spectrum. If the database does not support device + # capabilities it will ignore the parameter altogether. + # Corresponds to the JSON property `capabilities` + # @return [Google::Apis::SpectrumV1explorer::DeviceCapabilities] + attr_accessor :capabilities + + # The device descriptor contains parameters that identify the specific device, + # such as its manufacturer serial number, regulatory-specific identifier (e.g., + # FCC ID), and any other device characteristics required by regulatory domains. + # Corresponds to the JSON property `deviceDesc` + # @return [Google::Apis::SpectrumV1explorer::DeviceDescriptor] + attr_accessor :device_desc + + # A geolocation list is required. This allows a device to specify its current + # location plus additional anticipated locations when allowed by the regulatory + # domain. At least one location must be included. Geolocation must be given as + # the location of the radiation center of the device's antenna. If a location + # specifies a region, rather than a point, the database may return an + # UNIMPLEMENTED error if it does not support query by region. + # There is no upper limit on the number of locations included in a available + # spectrum batch request, but the database may restrict the number of locations + # it supports by returning a response with fewer locations than specified in the + # batch request. Note that geolocations must be those of the master device (a + # device with geolocation capability that makes an available spectrum batch + # request), whether the master device is making the request on its own behalf or + # on behalf of a slave device (one without geolocation capability). + # Corresponds to the JSON property `locations` + # @return [Array] + attr_accessor :locations + + # The device descriptor contains parameters that identify the specific device, + # such as its manufacturer serial number, regulatory-specific identifier (e.g., + # FCC ID), and any other device characteristics required by regulatory domains. + # Corresponds to the JSON property `masterDeviceDesc` + # @return [Google::Apis::SpectrumV1explorer::DeviceDescriptor] + attr_accessor :master_device_desc + + # This parameter contains device-owner information required as part of device + # registration. The regulatory domains may require additional parameters. + # All contact information must be expressed using the structure defined by the + # vCard format specification. Only the contact fields of vCard are supported: + # - fn: Full name of an individual + # - org: Name of the organization + # - adr: Address fields + # - tel: Telephone numbers + # - email: Email addresses + # Note that the vCard specification defines maximum lengths for each field. + # Corresponds to the JSON property `owner` + # @return [Google::Apis::SpectrumV1explorer::DeviceOwner] + attr_accessor :owner + + # The request type parameter is an optional parameter that can be used to modify + # an available spectrum batch request, but its use depends on applicable + # regulatory rules. For example, It may be used to request generic slave device + # parameters without having to specify the device descriptor for a specific + # device. When the requestType parameter is missing, the request is for a + # specific device (master or slave), and the device descriptor parameter for the + # device on whose behalf the batch request is made is required. + # Corresponds to the JSON property `requestType` + # @return [String] + attr_accessor :request_type + + # The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + # Required field. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The PAWS version. Must be exactly 1.0. + # Required field. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @antenna = args[:antenna] if args.key?(:antenna) + @capabilities = args[:capabilities] if args.key?(:capabilities) + @device_desc = args[:device_desc] if args.key?(:device_desc) + @locations = args[:locations] if args.key?(:locations) + @master_device_desc = args[:master_device_desc] if args.key?(:master_device_desc) + @owner = args[:owner] if args.key?(:owner) + @request_type = args[:request_type] if args.key?(:request_type) + @type = args[:type] if args.key?(:type) + @version = args[:version] if args.key?(:version) + end + end + + # The response message for the batch available spectrum query contains a + # schedule of available spectrum for the device at multiple locations. + class PawsGetSpectrumBatchResponse + include Google::Apis::Core::Hashable + + # This message is provided by the database to notify devices of an upcoming + # change to the database URI. + # Corresponds to the JSON property `databaseChange` + # @return [Google::Apis::SpectrumV1explorer::DbUpdateSpec] + attr_accessor :database_change + + # The device descriptor contains parameters that identify the specific device, + # such as its manufacturer serial number, regulatory-specific identifier (e.g., + # FCC ID), and any other device characteristics required by regulatory domains. + # Corresponds to the JSON property `deviceDesc` + # @return [Google::Apis::SpectrumV1explorer::DeviceDescriptor] + attr_accessor :device_desc + + # The available spectrum batch response must contain a geo-spectrum schedule + # list, The list may be empty if spectrum is not available. The database may + # return more than one geo-spectrum schedule to represent future changes to the + # available spectrum. How far in advance a schedule may be provided depends upon + # the applicable regulatory domain. The database may return available spectrum + # for fewer geolocations than requested. The device must not make assumptions + # about the order of the entries in the list, and must use the geolocation value + # in each geo-spectrum schedule entry to match available spectrum to a location. + # Corresponds to the JSON property `geoSpectrumSchedules` + # @return [Array] + attr_accessor :geo_spectrum_schedules + + # Identifies what kind of resource this is. Value: the fixed string "spectrum# + # pawsGetSpectrumBatchResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The database may return a constraint on the allowed maximum contiguous + # bandwidth (in Hertz). A regulatory domain may require the database to return + # this parameter. When this parameter is present in the response, the device + # must apply this constraint to its spectrum-selection logic to ensure that no + # single block of spectrum has bandwidth that exceeds this value. + # Corresponds to the JSON property `maxContiguousBwHz` + # @return [Float] + attr_accessor :max_contiguous_bw_hz + + # The database may return a constraint on the allowed maximum total bandwidth ( + # in Hertz), which does not need to be contiguous. A regulatory domain may + # require the database to return this parameter. When this parameter is present + # in the available spectrum batch response, the device must apply this + # constraint to its spectrum-selection logic to ensure that total bandwidth does + # not exceed this value. + # Corresponds to the JSON property `maxTotalBwHz` + # @return [Float] + attr_accessor :max_total_bw_hz + + # For regulatory domains that require a spectrum-usage report from devices, the + # database must return true for this parameter if the geo-spectrum schedules + # list is not empty; otherwise, the database should either return false or omit + # this parameter. If this parameter is present and its value is true, the device + # must send a spectrum use notify message to the database; otherwise, the device + # should not send the notification. + # Corresponds to the JSON property `needsSpectrumReport` + # @return [Boolean] + attr_accessor :needs_spectrum_report + alias_method :needs_spectrum_report?, :needs_spectrum_report + + # This contains parameters for the ruleset of a regulatory domain that is + # communicated using the initialization and available-spectrum processes. + # Corresponds to the JSON property `rulesetInfo` + # @return [Google::Apis::SpectrumV1explorer::RulesetInfo] + attr_accessor :ruleset_info + + # The database includes a timestamp of the form, YYYY-MM-DDThh:mm:ssZ (Internet + # timestamp format per RFC3339), in its available spectrum batch response. The + # timestamp should be used by the device as a reference for the start and stop + # times specified in the response spectrum schedules. + # Corresponds to the JSON property `timestamp` + # @return [String] + attr_accessor :timestamp + + # The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + # Required field. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The PAWS version. Must be exactly 1.0. + # Required field. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @database_change = args[:database_change] if args.key?(:database_change) + @device_desc = args[:device_desc] if args.key?(:device_desc) + @geo_spectrum_schedules = args[:geo_spectrum_schedules] if args.key?(:geo_spectrum_schedules) + @kind = args[:kind] if args.key?(:kind) + @max_contiguous_bw_hz = args[:max_contiguous_bw_hz] if args.key?(:max_contiguous_bw_hz) + @max_total_bw_hz = args[:max_total_bw_hz] if args.key?(:max_total_bw_hz) + @needs_spectrum_report = args[:needs_spectrum_report] if args.key?(:needs_spectrum_report) + @ruleset_info = args[:ruleset_info] if args.key?(:ruleset_info) + @timestamp = args[:timestamp] if args.key?(:timestamp) + @type = args[:type] if args.key?(:type) + @version = args[:version] if args.key?(:version) + end + end + + # The request message for the available spectrum query protocol which must + # include the device's geolocation. + class PawsGetSpectrumRequest + include Google::Apis::Core::Hashable + + # Antenna characteristics provide additional information, such as the antenna + # height, antenna type, etc. Whether antenna characteristics must be provided in + # a request depends on the device type and regulatory domain. + # Corresponds to the JSON property `antenna` + # @return [Google::Apis::SpectrumV1explorer::AntennaCharacteristics] + attr_accessor :antenna + + # Device capabilities provide additional information that may be used by a + # device to provide additional information to the database that may help it to + # determine available spectrum. If the database does not support device + # capabilities it will ignore the parameter altogether. + # Corresponds to the JSON property `capabilities` + # @return [Google::Apis::SpectrumV1explorer::DeviceCapabilities] + attr_accessor :capabilities + + # The device descriptor contains parameters that identify the specific device, + # such as its manufacturer serial number, regulatory-specific identifier (e.g., + # FCC ID), and any other device characteristics required by regulatory domains. + # Corresponds to the JSON property `deviceDesc` + # @return [Google::Apis::SpectrumV1explorer::DeviceDescriptor] + attr_accessor :device_desc + + # This parameter is used to specify the geolocation of the device. + # Corresponds to the JSON property `location` + # @return [Google::Apis::SpectrumV1explorer::GeoLocation] + attr_accessor :location + + # The device descriptor contains parameters that identify the specific device, + # such as its manufacturer serial number, regulatory-specific identifier (e.g., + # FCC ID), and any other device characteristics required by regulatory domains. + # Corresponds to the JSON property `masterDeviceDesc` + # @return [Google::Apis::SpectrumV1explorer::DeviceDescriptor] + attr_accessor :master_device_desc + + # This parameter contains device-owner information required as part of device + # registration. The regulatory domains may require additional parameters. + # All contact information must be expressed using the structure defined by the + # vCard format specification. Only the contact fields of vCard are supported: + # - fn: Full name of an individual + # - org: Name of the organization + # - adr: Address fields + # - tel: Telephone numbers + # - email: Email addresses + # Note that the vCard specification defines maximum lengths for each field. + # Corresponds to the JSON property `owner` + # @return [Google::Apis::SpectrumV1explorer::DeviceOwner] + attr_accessor :owner + + # The request type parameter is an optional parameter that can be used to modify + # an available spectrum request, but its use depends on applicable regulatory + # rules. It may be used, for example, to request generic slave device parameters + # without having to specify the device descriptor for a specific device. When + # the requestType parameter is missing, the request is for a specific device ( + # master or slave), and the deviceDesc parameter for the device on whose behalf + # the request is made is required. + # Corresponds to the JSON property `requestType` + # @return [String] + attr_accessor :request_type + + # The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + # Required field. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The PAWS version. Must be exactly 1.0. + # Required field. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @antenna = args[:antenna] if args.key?(:antenna) + @capabilities = args[:capabilities] if args.key?(:capabilities) + @device_desc = args[:device_desc] if args.key?(:device_desc) + @location = args[:location] if args.key?(:location) + @master_device_desc = args[:master_device_desc] if args.key?(:master_device_desc) + @owner = args[:owner] if args.key?(:owner) + @request_type = args[:request_type] if args.key?(:request_type) + @type = args[:type] if args.key?(:type) + @version = args[:version] if args.key?(:version) + end + end + + # The response message for the available spectrum query which contains a + # schedule of available spectrum for the device. + class PawsGetSpectrumResponse + include Google::Apis::Core::Hashable + + # This message is provided by the database to notify devices of an upcoming + # change to the database URI. + # Corresponds to the JSON property `databaseChange` + # @return [Google::Apis::SpectrumV1explorer::DbUpdateSpec] + attr_accessor :database_change + + # The device descriptor contains parameters that identify the specific device, + # such as its manufacturer serial number, regulatory-specific identifier (e.g., + # FCC ID), and any other device characteristics required by regulatory domains. + # Corresponds to the JSON property `deviceDesc` + # @return [Google::Apis::SpectrumV1explorer::DeviceDescriptor] + attr_accessor :device_desc + + # Identifies what kind of resource this is. Value: the fixed string "spectrum# + # pawsGetSpectrumResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The database may return a constraint on the allowed maximum contiguous + # bandwidth (in Hertz). A regulatory domain may require the database to return + # this parameter. When this parameter is present in the response, the device + # must apply this constraint to its spectrum-selection logic to ensure that no + # single block of spectrum has bandwidth that exceeds this value. + # Corresponds to the JSON property `maxContiguousBwHz` + # @return [Float] + attr_accessor :max_contiguous_bw_hz + + # The database may return a constraint on the allowed maximum total bandwidth ( + # in Hertz), which need not be contiguous. A regulatory domain may require the + # database to return this parameter. When this parameter is present in the + # available spectrum response, the device must apply this constraint to its + # spectrum-selection logic to ensure that total bandwidth does not exceed this + # value. + # Corresponds to the JSON property `maxTotalBwHz` + # @return [Float] + attr_accessor :max_total_bw_hz + + # For regulatory domains that require a spectrum-usage report from devices, the + # database must return true for this parameter if the spectrum schedule list is + # not empty; otherwise, the database will either return false or omit this + # parameter. If this parameter is present and its value is true, the device must + # send a spectrum use notify message to the database; otherwise, the device must + # not send the notification. + # Corresponds to the JSON property `needsSpectrumReport` + # @return [Boolean] + attr_accessor :needs_spectrum_report + alias_method :needs_spectrum_report?, :needs_spectrum_report + + # This contains parameters for the ruleset of a regulatory domain that is + # communicated using the initialization and available-spectrum processes. + # Corresponds to the JSON property `rulesetInfo` + # @return [Google::Apis::SpectrumV1explorer::RulesetInfo] + attr_accessor :ruleset_info + + # The available spectrum response must contain a spectrum schedule list. The + # list may be empty if spectrum is not available. The database may return more + # than one spectrum schedule to represent future changes to the available + # spectrum. How far in advance a schedule may be provided depends on the + # applicable regulatory domain. + # Corresponds to the JSON property `spectrumSchedules` + # @return [Array] + attr_accessor :spectrum_schedules + + # The database includes a timestamp of the form YYYY-MM-DDThh:mm:ssZ (Internet + # timestamp format per RFC3339) in its available spectrum response. The + # timestamp should be used by the device as a reference for the start and stop + # times specified in the response spectrum schedules. + # Corresponds to the JSON property `timestamp` + # @return [String] + attr_accessor :timestamp + + # The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + # Required field. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The PAWS version. Must be exactly 1.0. + # Required field. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @database_change = args[:database_change] if args.key?(:database_change) + @device_desc = args[:device_desc] if args.key?(:device_desc) + @kind = args[:kind] if args.key?(:kind) + @max_contiguous_bw_hz = args[:max_contiguous_bw_hz] if args.key?(:max_contiguous_bw_hz) + @max_total_bw_hz = args[:max_total_bw_hz] if args.key?(:max_total_bw_hz) + @needs_spectrum_report = args[:needs_spectrum_report] if args.key?(:needs_spectrum_report) + @ruleset_info = args[:ruleset_info] if args.key?(:ruleset_info) + @spectrum_schedules = args[:spectrum_schedules] if args.key?(:spectrum_schedules) + @timestamp = args[:timestamp] if args.key?(:timestamp) + @type = args[:type] if args.key?(:type) + @version = args[:version] if args.key?(:version) + end + end + + # The initialization request message allows the master device to initiate + # exchange of capabilities with the database. + class PawsInitRequest + include Google::Apis::Core::Hashable + + # The device descriptor contains parameters that identify the specific device, + # such as its manufacturer serial number, regulatory-specific identifier (e.g., + # FCC ID), and any other device characteristics required by regulatory domains. + # Corresponds to the JSON property `deviceDesc` + # @return [Google::Apis::SpectrumV1explorer::DeviceDescriptor] + attr_accessor :device_desc + + # This parameter is used to specify the geolocation of the device. + # Corresponds to the JSON property `location` + # @return [Google::Apis::SpectrumV1explorer::GeoLocation] + attr_accessor :location + + # The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + # Required field. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The PAWS version. Must be exactly 1.0. + # Required field. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @device_desc = args[:device_desc] if args.key?(:device_desc) + @location = args[:location] if args.key?(:location) + @type = args[:type] if args.key?(:type) + @version = args[:version] if args.key?(:version) + end + end + + # The initialization response message communicates database parameters to the + # requesting device. + class PawsInitResponse + include Google::Apis::Core::Hashable + + # This message is provided by the database to notify devices of an upcoming + # change to the database URI. + # Corresponds to the JSON property `databaseChange` + # @return [Google::Apis::SpectrumV1explorer::DbUpdateSpec] + attr_accessor :database_change + + # Identifies what kind of resource this is. Value: the fixed string "spectrum# + # pawsInitResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # This contains parameters for the ruleset of a regulatory domain that is + # communicated using the initialization and available-spectrum processes. + # Corresponds to the JSON property `rulesetInfo` + # @return [Google::Apis::SpectrumV1explorer::RulesetInfo] + attr_accessor :ruleset_info + + # The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + # Required field. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The PAWS version. Must be exactly 1.0. + # Required field. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @database_change = args[:database_change] if args.key?(:database_change) + @kind = args[:kind] if args.key?(:kind) + @ruleset_info = args[:ruleset_info] if args.key?(:ruleset_info) + @type = args[:type] if args.key?(:type) + @version = args[:version] if args.key?(:version) + end + end + + # The spectrum-use notification message which must contain the geolocation of + # the Device and parameters required by the regulatory domain. + class PawsNotifySpectrumUseRequest + include Google::Apis::Core::Hashable + + # The device descriptor contains parameters that identify the specific device, + # such as its manufacturer serial number, regulatory-specific identifier (e.g., + # FCC ID), and any other device characteristics required by regulatory domains. + # Corresponds to the JSON property `deviceDesc` + # @return [Google::Apis::SpectrumV1explorer::DeviceDescriptor] + attr_accessor :device_desc + + # This parameter is used to specify the geolocation of the device. + # Corresponds to the JSON property `location` + # @return [Google::Apis::SpectrumV1explorer::GeoLocation] + attr_accessor :location + + # A spectrum list is required in the spectrum-use notification. The list + # specifies the spectrum that the device expects to use, which includes + # frequency ranges and maximum power levels. The list may be empty if the device + # decides not to use any of spectrum. For consistency, the psdBandwidthHz value + # should match that from one of the spectrum elements in the corresponding + # available spectrum response previously sent to the device by the database. + # Note that maximum power levels in the spectrum element must be expressed as + # power spectral density over the specified psdBandwidthHz value. The actual + # bandwidth to be used (as computed from the start and stop frequencies) may be + # different from the psdBandwidthHz value. As an example, when regulatory rules + # express maximum power spectral density in terms of maximum power over any 100 + # kHz band, then the psdBandwidthHz value should be set to 100 kHz, even though + # the actual bandwidth used can be 20 kHz. + # Corresponds to the JSON property `spectra` + # @return [Array] + attr_accessor :spectra + + # The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + # Required field. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The PAWS version. Must be exactly 1.0. + # Required field. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @device_desc = args[:device_desc] if args.key?(:device_desc) + @location = args[:location] if args.key?(:location) + @spectra = args[:spectra] if args.key?(:spectra) + @type = args[:type] if args.key?(:type) + @version = args[:version] if args.key?(:version) + end + end + + # An empty response to the notification. + class PawsNotifySpectrumUseResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string "spectrum# + # pawsNotifySpectrumUseResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + # Required field. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The PAWS version. Must be exactly 1.0. + # Required field. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @type = args[:type] if args.key?(:type) + @version = args[:version] if args.key?(:version) + end + end + + # The registration request message contains the required registration parameters. + class PawsRegisterRequest + include Google::Apis::Core::Hashable + + # Antenna characteristics provide additional information, such as the antenna + # height, antenna type, etc. Whether antenna characteristics must be provided in + # a request depends on the device type and regulatory domain. + # Corresponds to the JSON property `antenna` + # @return [Google::Apis::SpectrumV1explorer::AntennaCharacteristics] + attr_accessor :antenna + + # The device descriptor contains parameters that identify the specific device, + # such as its manufacturer serial number, regulatory-specific identifier (e.g., + # FCC ID), and any other device characteristics required by regulatory domains. + # Corresponds to the JSON property `deviceDesc` + # @return [Google::Apis::SpectrumV1explorer::DeviceDescriptor] + attr_accessor :device_desc + + # This parameter contains device-owner information required as part of device + # registration. The regulatory domains may require additional parameters. + # All contact information must be expressed using the structure defined by the + # vCard format specification. Only the contact fields of vCard are supported: + # - fn: Full name of an individual + # - org: Name of the organization + # - adr: Address fields + # - tel: Telephone numbers + # - email: Email addresses + # Note that the vCard specification defines maximum lengths for each field. + # Corresponds to the JSON property `deviceOwner` + # @return [Google::Apis::SpectrumV1explorer::DeviceOwner] + attr_accessor :device_owner + + # This parameter is used to specify the geolocation of the device. + # Corresponds to the JSON property `location` + # @return [Google::Apis::SpectrumV1explorer::GeoLocation] + attr_accessor :location + + # The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + # Required field. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The PAWS version. Must be exactly 1.0. + # Required field. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @antenna = args[:antenna] if args.key?(:antenna) + @device_desc = args[:device_desc] if args.key?(:device_desc) + @device_owner = args[:device_owner] if args.key?(:device_owner) + @location = args[:location] if args.key?(:location) + @type = args[:type] if args.key?(:type) + @version = args[:version] if args.key?(:version) + end + end + + # The registration response message simply acknowledges receipt of the request + # and is otherwise empty. + class PawsRegisterResponse + include Google::Apis::Core::Hashable + + # This message is provided by the database to notify devices of an upcoming + # change to the database URI. + # Corresponds to the JSON property `databaseChange` + # @return [Google::Apis::SpectrumV1explorer::DbUpdateSpec] + attr_accessor :database_change + + # Identifies what kind of resource this is. Value: the fixed string "spectrum# + # pawsRegisterResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + # Required field. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The PAWS version. Must be exactly 1.0. + # Required field. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @database_change = args[:database_change] if args.key?(:database_change) + @kind = args[:kind] if args.key?(:kind) + @type = args[:type] if args.key?(:type) + @version = args[:version] if args.key?(:version) + end + end + + # The device validation request message. + class PawsVerifyDeviceRequest + include Google::Apis::Core::Hashable + + # A list of device descriptors, which specifies the slave devices to be + # validated, is required. + # Corresponds to the JSON property `deviceDescs` + # @return [Array] + attr_accessor :device_descs + + # The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + # Required field. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The PAWS version. Must be exactly 1.0. + # Required field. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @device_descs = args[:device_descs] if args.key?(:device_descs) + @type = args[:type] if args.key?(:type) + @version = args[:version] if args.key?(:version) + end + end + + # The device validation response message. + class PawsVerifyDeviceResponse + include Google::Apis::Core::Hashable + + # This message is provided by the database to notify devices of an upcoming + # change to the database URI. + # Corresponds to the JSON property `databaseChange` + # @return [Google::Apis::SpectrumV1explorer::DbUpdateSpec] + attr_accessor :database_change + + # A device validities list is required in the device validation response to + # report whether each slave device listed in a previous device validation + # request is valid. The number of entries must match the number of device + # descriptors listed in the previous device validation request. + # Corresponds to the JSON property `deviceValidities` + # @return [Array] + attr_accessor :device_validities + + # Identifies what kind of resource this is. Value: the fixed string "spectrum# + # pawsVerifyDeviceResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + # Required field. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The PAWS version. Must be exactly 1.0. + # Required field. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @database_change = args[:database_change] if args.key?(:database_change) + @device_validities = args[:device_validities] if args.key?(:device_validities) + @kind = args[:kind] if args.key?(:kind) + @type = args[:type] if args.key?(:type) + @version = args[:version] if args.key?(:version) + end + end + + # This contains parameters for the ruleset of a regulatory domain that is + # communicated using the initialization and available-spectrum processes. + class RulesetInfo + include Google::Apis::Core::Hashable + + # The regulatory domain to which the ruleset belongs is required. It must be a 2- + # letter country code. The device should use this to determine additional device + # behavior required by the associated regulatory domain. + # Corresponds to the JSON property `authority` + # @return [String] + attr_accessor :authority + + # The maximum location change in meters is required in the initialization + # response, but optional otherwise. When the device changes location by more + # than this specified distance, it must contact the database to get the + # available spectrum for the new location. If the device is using spectrum that + # is no longer available, it must immediately cease use of the spectrum under + # rules for database-managed spectrum. If this value is provided within the + # context of an available-spectrum response, it takes precedence over the value + # within the initialization response. + # Corresponds to the JSON property `maxLocationChange` + # @return [Float] + attr_accessor :max_location_change + + # The maximum duration, in seconds, between requests for available spectrum. It + # is required in the initialization response, but optional otherwise. The device + # must contact the database to get available spectrum no less frequently than + # this duration. If the new spectrum information indicates that the device is + # using spectrum that is no longer available, it must immediately cease use of + # those frequencies under rules for database-managed spectrum. If this value is + # provided within the context of an available-spectrum response, it takes + # precedence over the value within the initialization response. + # Corresponds to the JSON property `maxPollingSecs` + # @return [Fixnum] + attr_accessor :max_polling_secs + + # The identifiers of the rulesets supported for the device's location. The + # database should include at least one applicable ruleset in the initialization + # response. The device may use the ruleset identifiers to determine parameters + # to include in subsequent requests. Within the context of the available- + # spectrum responses, the database should include the identifier of the ruleset + # that it used to determine the available-spectrum response. If included, the + # device must use the specified ruleset to interpret the response. If the device + # does not support the indicated ruleset, it must not operate in the spectrum + # governed by the ruleset. + # Corresponds to the JSON property `rulesetIds` + # @return [Array] + attr_accessor :ruleset_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @authority = args[:authority] if args.key?(:authority) + @max_location_change = args[:max_location_change] if args.key?(:max_location_change) + @max_polling_secs = args[:max_polling_secs] if args.key?(:max_polling_secs) + @ruleset_ids = args[:ruleset_ids] if args.key?(:ruleset_ids) + end + end + + # Available spectrum can be logically characterized by a list of frequency + # ranges and permissible power levels for each range. + class SpectrumMessage + include Google::Apis::Core::Hashable + + # The bandwidth (in Hertz) for which permissible power levels are specified. For + # example, FCC regulation would require only one spectrum specification at 6MHz + # bandwidth, but Ofcom regulation would require two specifications, at 0.1MHz + # and 8MHz. This parameter may be empty if there is no available spectrum. It + # will be present otherwise. + # Corresponds to the JSON property `bandwidth` + # @return [Float] + attr_accessor :bandwidth + + # The list of frequency ranges and permissible power levels. The list may be + # empty if there is no available spectrum, otherwise it will be present. + # Corresponds to the JSON property `frequencyRanges` + # @return [Array] + attr_accessor :frequency_ranges + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bandwidth = args[:bandwidth] if args.key?(:bandwidth) + @frequency_ranges = args[:frequency_ranges] if args.key?(:frequency_ranges) + end + end + + # The spectrum schedule element combines an event time with spectrum profile to + # define a time period in which the profile is valid. + class SpectrumSchedule + include Google::Apis::Core::Hashable + + # The start and stop times of an event. This is used to indicate the time period + # for which a spectrum profile is valid. + # Both times are expressed using the format, YYYY-MM-DDThh:mm:ssZ, as defined in + # RFC3339. The times must be expressed using UTC. + # Corresponds to the JSON property `eventTime` + # @return [Google::Apis::SpectrumV1explorer::EventTime] + attr_accessor :event_time + + # A list of spectrum messages representing the usable profile. It will always be + # present, but may be empty when there is no available spectrum. + # Corresponds to the JSON property `spectra` + # @return [Array] + attr_accessor :spectra + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @event_time = args[:event_time] if args.key?(:event_time) + @spectra = args[:spectra] if args.key?(:spectra) + end + end + + # A vCard-in-JSON message that contains only the fields needed for PAWS: + # - fn: Full name of an individual + # - org: Name of the organization + # - adr: Address fields + # - tel: Telephone numbers + # - email: Email addresses + class Vcard + include Google::Apis::Core::Hashable + + # The structure used to represent a street address. + # Corresponds to the JSON property `adr` + # @return [Google::Apis::SpectrumV1explorer::VcardAddress] + attr_accessor :adr + + # The structure used to represent an organization and an email address. + # Corresponds to the JSON property `email` + # @return [Google::Apis::SpectrumV1explorer::VcardTypedText] + attr_accessor :email + + # The full name of the contact person. For example: John A. Smith. + # Corresponds to the JSON property `fn` + # @return [String] + attr_accessor :fn + + # The structure used to represent an organization and an email address. + # Corresponds to the JSON property `org` + # @return [Google::Apis::SpectrumV1explorer::VcardTypedText] + attr_accessor :org + + # The structure used to represent a telephone number. + # Corresponds to the JSON property `tel` + # @return [Google::Apis::SpectrumV1explorer::VcardTelephone] + attr_accessor :tel + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @adr = args[:adr] if args.key?(:adr) + @email = args[:email] if args.key?(:email) + @fn = args[:fn] if args.key?(:fn) + @org = args[:org] if args.key?(:org) + @tel = args[:tel] if args.key?(:tel) + end + end + + # The structure used to represent a street address. + class VcardAddress + include Google::Apis::Core::Hashable + + # The postal code associated with the address. For example: 94423. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # The country name. For example: US. + # Corresponds to the JSON property `country` + # @return [String] + attr_accessor :country + + # The city or local equivalent portion of the address. For example: San Jose. + # Corresponds to the JSON property `locality` + # @return [String] + attr_accessor :locality + + # An optional post office box number. + # Corresponds to the JSON property `pobox` + # @return [String] + attr_accessor :pobox + + # The state or local equivalent portion of the address. For example: CA. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + + # The street number and name. For example: 123 Any St. + # Corresponds to the JSON property `street` + # @return [String] + attr_accessor :street + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @country = args[:country] if args.key?(:country) + @locality = args[:locality] if args.key?(:locality) + @pobox = args[:pobox] if args.key?(:pobox) + @region = args[:region] if args.key?(:region) + @street = args[:street] if args.key?(:street) + end + end + + # The structure used to represent a telephone number. + class VcardTelephone + include Google::Apis::Core::Hashable + + # A nested telephone URI of the form: tel:+1-123-456-7890. + # Corresponds to the JSON property `uri` + # @return [String] + attr_accessor :uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @uri = args[:uri] if args.key?(:uri) + end + end + + # The structure used to represent an organization and an email address. + class VcardTypedText + include Google::Apis::Core::Hashable + + # The text string associated with this item. For example, for an org field: ACME, + # inc. For an email field: smith@example.com. + # 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) + @text = args[:text] if args.key?(:text) + end + end + end + end +end diff --git a/generated/google/apis/spectrum_v1explorer/representations.rb b/generated/google/apis/spectrum_v1explorer/representations.rb new file mode 100644 index 000000000..947666207 --- /dev/null +++ b/generated/google/apis/spectrum_v1explorer/representations.rb @@ -0,0 +1,611 @@ +# 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 SpectrumV1explorer + + class AntennaCharacteristics + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DatabaseSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DbUpdateSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeviceCapabilities + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeviceDescriptor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeviceOwner + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeviceValidity + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EventTime + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FrequencyRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GeoLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GeoLocationEllipse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GeoLocationPoint + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GeoLocationPolygon + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GeoSpectrumSchedule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PawsGetSpectrumBatchRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PawsGetSpectrumBatchResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PawsGetSpectrumRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PawsGetSpectrumResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PawsInitRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PawsInitResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PawsNotifySpectrumUseRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PawsNotifySpectrumUseResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PawsRegisterRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PawsRegisterResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PawsVerifyDeviceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PawsVerifyDeviceResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RulesetInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SpectrumMessage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SpectrumSchedule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Vcard + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VcardAddress + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VcardTelephone + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VcardTypedText + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AntennaCharacteristics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :height, as: 'height' + property :height_type, as: 'heightType' + property :height_uncertainty, as: 'heightUncertainty' + end + end + + class DatabaseSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :uri, as: 'uri' + end + end + + class DbUpdateSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :databases, as: 'databases', class: Google::Apis::SpectrumV1explorer::DatabaseSpec, decorator: Google::Apis::SpectrumV1explorer::DatabaseSpec::Representation + + end + end + + class DeviceCapabilities + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frequency_ranges, as: 'frequencyRanges', class: Google::Apis::SpectrumV1explorer::FrequencyRange, decorator: Google::Apis::SpectrumV1explorer::FrequencyRange::Representation + + end + end + + class DeviceDescriptor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :etsi_en_device_category, as: 'etsiEnDeviceCategory' + property :etsi_en_device_emissions_class, as: 'etsiEnDeviceEmissionsClass' + property :etsi_en_device_type, as: 'etsiEnDeviceType' + property :etsi_en_technology_id, as: 'etsiEnTechnologyId' + property :fcc_id, as: 'fccId' + property :fcc_tvbd_device_type, as: 'fccTvbdDeviceType' + property :manufacturer_id, as: 'manufacturerId' + property :model_id, as: 'modelId' + collection :ruleset_ids, as: 'rulesetIds' + property :serial_number, as: 'serialNumber' + end + end + + class DeviceOwner + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :operator, as: 'operator', class: Google::Apis::SpectrumV1explorer::Vcard, decorator: Google::Apis::SpectrumV1explorer::Vcard::Representation + + property :owner, as: 'owner', class: Google::Apis::SpectrumV1explorer::Vcard, decorator: Google::Apis::SpectrumV1explorer::Vcard::Representation + + end + end + + class DeviceValidity + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :device_desc, as: 'deviceDesc', class: Google::Apis::SpectrumV1explorer::DeviceDescriptor, decorator: Google::Apis::SpectrumV1explorer::DeviceDescriptor::Representation + + property :is_valid, as: 'isValid' + property :reason, as: 'reason' + end + end + + class EventTime + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :start_time, as: 'startTime' + property :stop_time, as: 'stopTime' + end + end + + class FrequencyRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :channel_id, as: 'channelId' + property :max_power_d_bm, as: 'maxPowerDBm' + property :start_hz, as: 'startHz' + property :stop_hz, as: 'stopHz' + end + end + + class GeoLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :confidence, as: 'confidence' + property :point, as: 'point', class: Google::Apis::SpectrumV1explorer::GeoLocationEllipse, decorator: Google::Apis::SpectrumV1explorer::GeoLocationEllipse::Representation + + property :region, as: 'region', class: Google::Apis::SpectrumV1explorer::GeoLocationPolygon, decorator: Google::Apis::SpectrumV1explorer::GeoLocationPolygon::Representation + + end + end + + class GeoLocationEllipse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :center, as: 'center', class: Google::Apis::SpectrumV1explorer::GeoLocationPoint, decorator: Google::Apis::SpectrumV1explorer::GeoLocationPoint::Representation + + property :orientation, as: 'orientation' + property :semi_major_axis, as: 'semiMajorAxis' + property :semi_minor_axis, as: 'semiMinorAxis' + end + end + + class GeoLocationPoint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :latitude, as: 'latitude' + property :longitude, as: 'longitude' + end + end + + class GeoLocationPolygon + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :exterior, as: 'exterior', class: Google::Apis::SpectrumV1explorer::GeoLocationPoint, decorator: Google::Apis::SpectrumV1explorer::GeoLocationPoint::Representation + + end + end + + class GeoSpectrumSchedule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :location, as: 'location', class: Google::Apis::SpectrumV1explorer::GeoLocation, decorator: Google::Apis::SpectrumV1explorer::GeoLocation::Representation + + collection :spectrum_schedules, as: 'spectrumSchedules', class: Google::Apis::SpectrumV1explorer::SpectrumSchedule, decorator: Google::Apis::SpectrumV1explorer::SpectrumSchedule::Representation + + end + end + + class PawsGetSpectrumBatchRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :antenna, as: 'antenna', class: Google::Apis::SpectrumV1explorer::AntennaCharacteristics, decorator: Google::Apis::SpectrumV1explorer::AntennaCharacteristics::Representation + + property :capabilities, as: 'capabilities', class: Google::Apis::SpectrumV1explorer::DeviceCapabilities, decorator: Google::Apis::SpectrumV1explorer::DeviceCapabilities::Representation + + property :device_desc, as: 'deviceDesc', class: Google::Apis::SpectrumV1explorer::DeviceDescriptor, decorator: Google::Apis::SpectrumV1explorer::DeviceDescriptor::Representation + + collection :locations, as: 'locations', class: Google::Apis::SpectrumV1explorer::GeoLocation, decorator: Google::Apis::SpectrumV1explorer::GeoLocation::Representation + + property :master_device_desc, as: 'masterDeviceDesc', class: Google::Apis::SpectrumV1explorer::DeviceDescriptor, decorator: Google::Apis::SpectrumV1explorer::DeviceDescriptor::Representation + + property :owner, as: 'owner', class: Google::Apis::SpectrumV1explorer::DeviceOwner, decorator: Google::Apis::SpectrumV1explorer::DeviceOwner::Representation + + property :request_type, as: 'requestType' + property :type, as: 'type' + property :version, as: 'version' + end + end + + class PawsGetSpectrumBatchResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :database_change, as: 'databaseChange', class: Google::Apis::SpectrumV1explorer::DbUpdateSpec, decorator: Google::Apis::SpectrumV1explorer::DbUpdateSpec::Representation + + property :device_desc, as: 'deviceDesc', class: Google::Apis::SpectrumV1explorer::DeviceDescriptor, decorator: Google::Apis::SpectrumV1explorer::DeviceDescriptor::Representation + + collection :geo_spectrum_schedules, as: 'geoSpectrumSchedules', class: Google::Apis::SpectrumV1explorer::GeoSpectrumSchedule, decorator: Google::Apis::SpectrumV1explorer::GeoSpectrumSchedule::Representation + + property :kind, as: 'kind' + property :max_contiguous_bw_hz, as: 'maxContiguousBwHz' + property :max_total_bw_hz, as: 'maxTotalBwHz' + property :needs_spectrum_report, as: 'needsSpectrumReport' + property :ruleset_info, as: 'rulesetInfo', class: Google::Apis::SpectrumV1explorer::RulesetInfo, decorator: Google::Apis::SpectrumV1explorer::RulesetInfo::Representation + + property :timestamp, as: 'timestamp' + property :type, as: 'type' + property :version, as: 'version' + end + end + + class PawsGetSpectrumRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :antenna, as: 'antenna', class: Google::Apis::SpectrumV1explorer::AntennaCharacteristics, decorator: Google::Apis::SpectrumV1explorer::AntennaCharacteristics::Representation + + property :capabilities, as: 'capabilities', class: Google::Apis::SpectrumV1explorer::DeviceCapabilities, decorator: Google::Apis::SpectrumV1explorer::DeviceCapabilities::Representation + + property :device_desc, as: 'deviceDesc', class: Google::Apis::SpectrumV1explorer::DeviceDescriptor, decorator: Google::Apis::SpectrumV1explorer::DeviceDescriptor::Representation + + property :location, as: 'location', class: Google::Apis::SpectrumV1explorer::GeoLocation, decorator: Google::Apis::SpectrumV1explorer::GeoLocation::Representation + + property :master_device_desc, as: 'masterDeviceDesc', class: Google::Apis::SpectrumV1explorer::DeviceDescriptor, decorator: Google::Apis::SpectrumV1explorer::DeviceDescriptor::Representation + + property :owner, as: 'owner', class: Google::Apis::SpectrumV1explorer::DeviceOwner, decorator: Google::Apis::SpectrumV1explorer::DeviceOwner::Representation + + property :request_type, as: 'requestType' + property :type, as: 'type' + property :version, as: 'version' + end + end + + class PawsGetSpectrumResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :database_change, as: 'databaseChange', class: Google::Apis::SpectrumV1explorer::DbUpdateSpec, decorator: Google::Apis::SpectrumV1explorer::DbUpdateSpec::Representation + + property :device_desc, as: 'deviceDesc', class: Google::Apis::SpectrumV1explorer::DeviceDescriptor, decorator: Google::Apis::SpectrumV1explorer::DeviceDescriptor::Representation + + property :kind, as: 'kind' + property :max_contiguous_bw_hz, as: 'maxContiguousBwHz' + property :max_total_bw_hz, as: 'maxTotalBwHz' + property :needs_spectrum_report, as: 'needsSpectrumReport' + property :ruleset_info, as: 'rulesetInfo', class: Google::Apis::SpectrumV1explorer::RulesetInfo, decorator: Google::Apis::SpectrumV1explorer::RulesetInfo::Representation + + collection :spectrum_schedules, as: 'spectrumSchedules', class: Google::Apis::SpectrumV1explorer::SpectrumSchedule, decorator: Google::Apis::SpectrumV1explorer::SpectrumSchedule::Representation + + property :timestamp, as: 'timestamp' + property :type, as: 'type' + property :version, as: 'version' + end + end + + class PawsInitRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :device_desc, as: 'deviceDesc', class: Google::Apis::SpectrumV1explorer::DeviceDescriptor, decorator: Google::Apis::SpectrumV1explorer::DeviceDescriptor::Representation + + property :location, as: 'location', class: Google::Apis::SpectrumV1explorer::GeoLocation, decorator: Google::Apis::SpectrumV1explorer::GeoLocation::Representation + + property :type, as: 'type' + property :version, as: 'version' + end + end + + class PawsInitResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :database_change, as: 'databaseChange', class: Google::Apis::SpectrumV1explorer::DbUpdateSpec, decorator: Google::Apis::SpectrumV1explorer::DbUpdateSpec::Representation + + property :kind, as: 'kind' + property :ruleset_info, as: 'rulesetInfo', class: Google::Apis::SpectrumV1explorer::RulesetInfo, decorator: Google::Apis::SpectrumV1explorer::RulesetInfo::Representation + + property :type, as: 'type' + property :version, as: 'version' + end + end + + class PawsNotifySpectrumUseRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :device_desc, as: 'deviceDesc', class: Google::Apis::SpectrumV1explorer::DeviceDescriptor, decorator: Google::Apis::SpectrumV1explorer::DeviceDescriptor::Representation + + property :location, as: 'location', class: Google::Apis::SpectrumV1explorer::GeoLocation, decorator: Google::Apis::SpectrumV1explorer::GeoLocation::Representation + + collection :spectra, as: 'spectra', class: Google::Apis::SpectrumV1explorer::SpectrumMessage, decorator: Google::Apis::SpectrumV1explorer::SpectrumMessage::Representation + + property :type, as: 'type' + property :version, as: 'version' + end + end + + class PawsNotifySpectrumUseResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :type, as: 'type' + property :version, as: 'version' + end + end + + class PawsRegisterRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :antenna, as: 'antenna', class: Google::Apis::SpectrumV1explorer::AntennaCharacteristics, decorator: Google::Apis::SpectrumV1explorer::AntennaCharacteristics::Representation + + property :device_desc, as: 'deviceDesc', class: Google::Apis::SpectrumV1explorer::DeviceDescriptor, decorator: Google::Apis::SpectrumV1explorer::DeviceDescriptor::Representation + + property :device_owner, as: 'deviceOwner', class: Google::Apis::SpectrumV1explorer::DeviceOwner, decorator: Google::Apis::SpectrumV1explorer::DeviceOwner::Representation + + property :location, as: 'location', class: Google::Apis::SpectrumV1explorer::GeoLocation, decorator: Google::Apis::SpectrumV1explorer::GeoLocation::Representation + + property :type, as: 'type' + property :version, as: 'version' + end + end + + class PawsRegisterResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :database_change, as: 'databaseChange', class: Google::Apis::SpectrumV1explorer::DbUpdateSpec, decorator: Google::Apis::SpectrumV1explorer::DbUpdateSpec::Representation + + property :kind, as: 'kind' + property :type, as: 'type' + property :version, as: 'version' + end + end + + class PawsVerifyDeviceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :device_descs, as: 'deviceDescs', class: Google::Apis::SpectrumV1explorer::DeviceDescriptor, decorator: Google::Apis::SpectrumV1explorer::DeviceDescriptor::Representation + + property :type, as: 'type' + property :version, as: 'version' + end + end + + class PawsVerifyDeviceResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :database_change, as: 'databaseChange', class: Google::Apis::SpectrumV1explorer::DbUpdateSpec, decorator: Google::Apis::SpectrumV1explorer::DbUpdateSpec::Representation + + collection :device_validities, as: 'deviceValidities', class: Google::Apis::SpectrumV1explorer::DeviceValidity, decorator: Google::Apis::SpectrumV1explorer::DeviceValidity::Representation + + property :kind, as: 'kind' + property :type, as: 'type' + property :version, as: 'version' + end + end + + class RulesetInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :authority, as: 'authority' + property :max_location_change, as: 'maxLocationChange' + property :max_polling_secs, as: 'maxPollingSecs' + collection :ruleset_ids, as: 'rulesetIds' + end + end + + class SpectrumMessage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bandwidth, as: 'bandwidth' + collection :frequency_ranges, as: 'frequencyRanges', class: Google::Apis::SpectrumV1explorer::FrequencyRange, decorator: Google::Apis::SpectrumV1explorer::FrequencyRange::Representation + + end + end + + class SpectrumSchedule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :event_time, as: 'eventTime', class: Google::Apis::SpectrumV1explorer::EventTime, decorator: Google::Apis::SpectrumV1explorer::EventTime::Representation + + collection :spectra, as: 'spectra', class: Google::Apis::SpectrumV1explorer::SpectrumMessage, decorator: Google::Apis::SpectrumV1explorer::SpectrumMessage::Representation + + end + end + + class Vcard + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :adr, as: 'adr', class: Google::Apis::SpectrumV1explorer::VcardAddress, decorator: Google::Apis::SpectrumV1explorer::VcardAddress::Representation + + property :email, as: 'email', class: Google::Apis::SpectrumV1explorer::VcardTypedText, decorator: Google::Apis::SpectrumV1explorer::VcardTypedText::Representation + + property :fn, as: 'fn' + property :org, as: 'org', class: Google::Apis::SpectrumV1explorer::VcardTypedText, decorator: Google::Apis::SpectrumV1explorer::VcardTypedText::Representation + + property :tel, as: 'tel', class: Google::Apis::SpectrumV1explorer::VcardTelephone, decorator: Google::Apis::SpectrumV1explorer::VcardTelephone::Representation + + end + end + + class VcardAddress + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + property :country, as: 'country' + property :locality, as: 'locality' + property :pobox, as: 'pobox' + property :region, as: 'region' + property :street, as: 'street' + end + end + + class VcardTelephone + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :uri, as: 'uri' + end + end + + class VcardTypedText + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :text, as: 'text' + end + end + end + end +end diff --git a/generated/google/apis/spectrum_v1explorer/service.rb b/generated/google/apis/spectrum_v1explorer/service.rb new file mode 100644 index 000000000..773c76db0 --- /dev/null +++ b/generated/google/apis/spectrum_v1explorer/service.rb @@ -0,0 +1,285 @@ +# 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 SpectrumV1explorer + # Google Spectrum Database API + # + # API for spectrum-management functions. + # + # @example + # require 'google/apis/spectrum_v1explorer' + # + # Spectrum = Google::Apis::SpectrumV1explorer # Alias the module + # service = Spectrum::SpectrumService.new + # + # @see http://developers.google.com/spectrum + class SpectrumService < 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. + # Overrides userIp if both are provided. + attr_accessor :quota_user + + # @return [String] + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + attr_accessor :user_ip + + def initialize + super('https://www.googleapis.com/', 'spectrum/v1explorer/paws/') + @batch_path = 'batch' + end + + # Requests information about the available spectrum for a device at a location. + # Requests from a fixed-mode device must include owner information so the device + # can be registered with the database. + # @param [Google::Apis::SpectrumV1explorer::PawsGetSpectrumRequest] paws_get_spectrum_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::SpectrumV1explorer::PawsGetSpectrumResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpectrumV1explorer::PawsGetSpectrumResponse] + # + # @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_paw_spectrum(paws_get_spectrum_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'getSpectrum', options) + command.request_representation = Google::Apis::SpectrumV1explorer::PawsGetSpectrumRequest::Representation + command.request_object = paws_get_spectrum_request_object + command.response_representation = Google::Apis::SpectrumV1explorer::PawsGetSpectrumResponse::Representation + command.response_class = Google::Apis::SpectrumV1explorer::PawsGetSpectrumResponse + 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 + + # The Google Spectrum Database does not support batch requests, so this method + # always yields an UNIMPLEMENTED error. + # @param [Google::Apis::SpectrumV1explorer::PawsGetSpectrumBatchRequest] paws_get_spectrum_batch_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::SpectrumV1explorer::PawsGetSpectrumBatchResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpectrumV1explorer::PawsGetSpectrumBatchResponse] + # + # @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_paw_spectrum_batch(paws_get_spectrum_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'getSpectrumBatch', options) + command.request_representation = Google::Apis::SpectrumV1explorer::PawsGetSpectrumBatchRequest::Representation + command.request_object = paws_get_spectrum_batch_request_object + command.response_representation = Google::Apis::SpectrumV1explorer::PawsGetSpectrumBatchResponse::Representation + command.response_class = Google::Apis::SpectrumV1explorer::PawsGetSpectrumBatchResponse + 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 + + # Initializes the connection between a white space device and the database. + # @param [Google::Apis::SpectrumV1explorer::PawsInitRequest] paws_init_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::SpectrumV1explorer::PawsInitResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpectrumV1explorer::PawsInitResponse] + # + # @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 init_paw(paws_init_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'init', options) + command.request_representation = Google::Apis::SpectrumV1explorer::PawsInitRequest::Representation + command.request_object = paws_init_request_object + command.response_representation = Google::Apis::SpectrumV1explorer::PawsInitResponse::Representation + command.response_class = Google::Apis::SpectrumV1explorer::PawsInitResponse + 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 + + # Notifies the database that the device has selected certain frequency ranges + # for transmission. Only to be invoked when required by the regulator. The + # Google Spectrum Database does not operate in domains that require notification, + # so this always yields an UNIMPLEMENTED error. + # @param [Google::Apis::SpectrumV1explorer::PawsNotifySpectrumUseRequest] paws_notify_spectrum_use_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::SpectrumV1explorer::PawsNotifySpectrumUseResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpectrumV1explorer::PawsNotifySpectrumUseResponse] + # + # @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 notify_paw_spectrum_use(paws_notify_spectrum_use_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'notifySpectrumUse', options) + command.request_representation = Google::Apis::SpectrumV1explorer::PawsNotifySpectrumUseRequest::Representation + command.request_object = paws_notify_spectrum_use_request_object + command.response_representation = Google::Apis::SpectrumV1explorer::PawsNotifySpectrumUseResponse::Representation + command.response_class = Google::Apis::SpectrumV1explorer::PawsNotifySpectrumUseResponse + 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 + + # The Google Spectrum Database implements registration in the getSpectrum method. + # As such this always returns an UNIMPLEMENTED error. + # @param [Google::Apis::SpectrumV1explorer::PawsRegisterRequest] paws_register_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::SpectrumV1explorer::PawsRegisterResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpectrumV1explorer::PawsRegisterResponse] + # + # @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 register_paw(paws_register_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'register', options) + command.request_representation = Google::Apis::SpectrumV1explorer::PawsRegisterRequest::Representation + command.request_object = paws_register_request_object + command.response_representation = Google::Apis::SpectrumV1explorer::PawsRegisterResponse::Representation + command.response_class = Google::Apis::SpectrumV1explorer::PawsRegisterResponse + 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 + + # Validates a device for white space use in accordance with regulatory rules. + # The Google Spectrum Database does not support master/slave configurations, so + # this always yields an UNIMPLEMENTED error. + # @param [Google::Apis::SpectrumV1explorer::PawsVerifyDeviceRequest] paws_verify_device_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::SpectrumV1explorer::PawsVerifyDeviceResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpectrumV1explorer::PawsVerifyDeviceResponse] + # + # @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 verify_paw_device(paws_verify_device_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'verifyDevice', options) + command.request_representation = Google::Apis::SpectrumV1explorer::PawsVerifyDeviceRequest::Representation + command.request_object = paws_verify_device_request_object + command.response_representation = Google::Apis::SpectrumV1explorer::PawsVerifyDeviceResponse::Representation + command.response_class = Google::Apis::SpectrumV1explorer::PawsVerifyDeviceResponse + 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 + + def apply_command_defaults(command) + command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + end + end + end + end +end diff --git a/generated/google/apis/speech_v1.rb b/generated/google/apis/speech_v1.rb new file mode 100644 index 000000000..eda2ea9f4 --- /dev/null +++ b/generated/google/apis/speech_v1.rb @@ -0,0 +1,34 @@ +# 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/speech_v1/service.rb' +require 'google/apis/speech_v1/classes.rb' +require 'google/apis/speech_v1/representations.rb' + +module Google + module Apis + # Google Cloud Speech API + # + # Converts audio to text by applying powerful neural network models. + # + # @see https://cloud.google.com/speech/ + module SpeechV1 + VERSION = 'V1' + REVISION = '20170807' + + # 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/speech_v1/classes.rb b/generated/google/apis/speech_v1/classes.rb new file mode 100644 index 000000000..a63d7f8c1 --- /dev/null +++ b/generated/google/apis/speech_v1/classes.rb @@ -0,0 +1,572 @@ +# 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 SpeechV1 + + # The request message for Operations.CancelOperation. + class CancelOperationRequest + 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 + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + 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) + @operations = args[:operations] if args.key?(:operations) + end + end + + # The top-level message sent by the client for the `LongRunningRecognize` + # method. + class LongRunningRecognizeRequest + include Google::Apis::Core::Hashable + + # Contains audio data in the encoding specified in the `RecognitionConfig`. + # Either `content` or `uri` must be supplied. Supplying both or neither + # returns google.rpc.Code.INVALID_ARGUMENT. See + # [audio limits](https://cloud.google.com/speech/limits#content). + # Corresponds to the JSON property `audio` + # @return [Google::Apis::SpeechV1::RecognitionAudio] + attr_accessor :audio + + # Provides information to the recognizer that specifies how to process the + # request. + # Corresponds to the JSON property `config` + # @return [Google::Apis::SpeechV1::RecognitionConfig] + attr_accessor :config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audio = args[:audio] if args.key?(:audio) + @config = args[:config] if args.key?(:config) + 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 + + # 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` that 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. + # - 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::SpeechV1::Status] + attr_accessor :error + + # 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 + + # 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 + + # 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) + @done = args[:done] if args.key?(:done) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + @response = args[:response] if args.key?(:response) + end + end + + # Contains audio data in the encoding specified in the `RecognitionConfig`. + # Either `content` or `uri` must be supplied. Supplying both or neither + # returns google.rpc.Code.INVALID_ARGUMENT. See + # [audio limits](https://cloud.google.com/speech/limits#content). + class RecognitionAudio + include Google::Apis::Core::Hashable + + # The audio data bytes encoded as specified in + # `RecognitionConfig`. Note: as with all bytes fields, protobuffers use a + # pure binary representation, whereas JSON representations use base64. + # Corresponds to the JSON property `content` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :content + + # URI that points to a file that contains audio data bytes as specified in + # `RecognitionConfig`. Currently, only Google Cloud Storage URIs are + # supported, which must be specified in the following format: + # `gs://bucket_name/object_name` (other URI formats return + # google.rpc.Code.INVALID_ARGUMENT). For more information, see + # [Request URIs](https://cloud.google.com/storage/docs/reference-uris). + # Corresponds to the JSON property `uri` + # @return [String] + attr_accessor :uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content = args[:content] if args.key?(:content) + @uri = args[:uri] if args.key?(:uri) + end + end + + # Provides information to the recognizer that specifies how to process the + # request. + class RecognitionConfig + include Google::Apis::Core::Hashable + + # *Optional* If `true`, the top result includes a list of words and + # the start and end time offsets (timestamps) for those words. If + # `false`, no word-level time offset information is returned. The default is + # `false`. + # Corresponds to the JSON property `enableWordTimeOffsets` + # @return [Boolean] + attr_accessor :enable_word_time_offsets + alias_method :enable_word_time_offsets?, :enable_word_time_offsets + + # *Required* Encoding of audio data sent in all `RecognitionAudio` messages. + # Corresponds to the JSON property `encoding` + # @return [String] + attr_accessor :encoding + + # *Required* The language of the supplied audio as a + # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. + # Example: "en-US". + # See [Language Support](https://cloud.google.com/speech/docs/languages) + # for a list of the currently supported language codes. + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + # *Optional* Maximum number of recognition hypotheses to be returned. + # Specifically, the maximum number of `SpeechRecognitionAlternative` messages + # within each `SpeechRecognitionResult`. + # The server may return fewer than `max_alternatives`. + # Valid values are `0`-`30`. A value of `0` or `1` will return a maximum of + # one. If omitted, will return a maximum of one. + # Corresponds to the JSON property `maxAlternatives` + # @return [Fixnum] + attr_accessor :max_alternatives + + # *Optional* If set to `true`, the server will attempt to filter out + # profanities, replacing all but the initial character in each filtered word + # with asterisks, e.g. "f***". If set to `false` or omitted, profanities + # won't be filtered out. + # Corresponds to the JSON property `profanityFilter` + # @return [Boolean] + attr_accessor :profanity_filter + alias_method :profanity_filter?, :profanity_filter + + # *Required* Sample rate in Hertz of the audio data sent in all + # `RecognitionAudio` messages. Valid values are: 8000-48000. + # 16000 is optimal. For best results, set the sampling rate of the audio + # source to 16000 Hz. If that's not possible, use the native sample rate of + # the audio source (instead of re-sampling). + # Corresponds to the JSON property `sampleRateHertz` + # @return [Fixnum] + attr_accessor :sample_rate_hertz + + # *Optional* A means to provide context to assist the speech recognition. + # Corresponds to the JSON property `speechContexts` + # @return [Array] + attr_accessor :speech_contexts + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enable_word_time_offsets = args[:enable_word_time_offsets] if args.key?(:enable_word_time_offsets) + @encoding = args[:encoding] if args.key?(:encoding) + @language_code = args[:language_code] if args.key?(:language_code) + @max_alternatives = args[:max_alternatives] if args.key?(:max_alternatives) + @profanity_filter = args[:profanity_filter] if args.key?(:profanity_filter) + @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz) + @speech_contexts = args[:speech_contexts] if args.key?(:speech_contexts) + end + end + + # The top-level message sent by the client for the `Recognize` method. + class RecognizeRequest + include Google::Apis::Core::Hashable + + # Contains audio data in the encoding specified in the `RecognitionConfig`. + # Either `content` or `uri` must be supplied. Supplying both or neither + # returns google.rpc.Code.INVALID_ARGUMENT. See + # [audio limits](https://cloud.google.com/speech/limits#content). + # Corresponds to the JSON property `audio` + # @return [Google::Apis::SpeechV1::RecognitionAudio] + attr_accessor :audio + + # Provides information to the recognizer that specifies how to process the + # request. + # Corresponds to the JSON property `config` + # @return [Google::Apis::SpeechV1::RecognitionConfig] + attr_accessor :config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audio = args[:audio] if args.key?(:audio) + @config = args[:config] if args.key?(:config) + end + end + + # The only message returned to the client by the `Recognize` method. It + # contains the result as zero or more sequential `SpeechRecognitionResult` + # messages. + class RecognizeResponse + include Google::Apis::Core::Hashable + + # *Output-only* Sequential list of transcription results corresponding to + # sequential portions of audio. + # Corresponds to the JSON property `results` + # @return [Array] + attr_accessor :results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @results = args[:results] if args.key?(:results) + end + end + + # Provides "hints" to the speech recognizer to favor specific words and phrases + # in the results. + class SpeechContext + include Google::Apis::Core::Hashable + + # *Optional* A list of strings containing words and phrases "hints" so that + # the speech recognition is more likely to recognize them. This can be used + # to improve the accuracy for specific words and phrases, for example, if + # specific commands are typically spoken by the user. This can also be used + # to add additional words to the vocabulary of the recognizer. See + # [usage limits](https://cloud.google.com/speech/limits#content). + # Corresponds to the JSON property `phrases` + # @return [Array] + attr_accessor :phrases + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @phrases = args[:phrases] if args.key?(:phrases) + end + end + + # Alternative hypotheses (a.k.a. n-best list). + class SpeechRecognitionAlternative + include Google::Apis::Core::Hashable + + # *Output-only* The confidence estimate between 0.0 and 1.0. A higher number + # indicates an estimated greater likelihood that the recognized words are + # correct. This field is typically provided only for the top hypothesis, and + # only for `is_final=true` results. Clients should not rely on the + # `confidence` field as it is not guaranteed to be accurate or consistent. + # The default of 0.0 is a sentinel value indicating `confidence` was not set. + # Corresponds to the JSON property `confidence` + # @return [Float] + attr_accessor :confidence + + # *Output-only* Transcript text representing the words that the user spoke. + # Corresponds to the JSON property `transcript` + # @return [String] + attr_accessor :transcript + + # *Output-only* A list of word-specific information for each recognized word. + # Corresponds to the JSON property `words` + # @return [Array] + attr_accessor :words + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @confidence = args[:confidence] if args.key?(:confidence) + @transcript = args[:transcript] if args.key?(:transcript) + @words = args[:words] if args.key?(:words) + end + end + + # A speech recognition result corresponding to a portion of the audio. + class SpeechRecognitionResult + include Google::Apis::Core::Hashable + + # *Output-only* May contain one or more recognition hypotheses (up to the + # maximum specified in `max_alternatives`). + # These alternatives are ordered in terms of accuracy, with the top (first) + # alternative being the most probable, as ranked by the recognizer. + # Corresponds to the JSON property `alternatives` + # @return [Array] + attr_accessor :alternatives + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alternatives = args[:alternatives] if args.key?(:alternatives) + 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` that 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. + # - 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 is 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 + + # Word-specific information for recognized words. Word information is only + # included in the response when certain request parameters are set, such + # as `enable_word_time_offsets`. + class WordInfo + include Google::Apis::Core::Hashable + + # *Output-only* Time offset relative to the beginning of the audio, + # and corresponding to the end of the spoken word. + # This field is only set if `enable_word_time_offsets=true` and only + # in the top hypothesis. + # This is an experimental feature and the accuracy of the time offset can + # vary. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # *Output-only* Time offset relative to the beginning of the audio, + # and corresponding to the start of the spoken word. + # This field is only set if `enable_word_time_offsets=true` and only + # in the top hypothesis. + # This is an experimental feature and the accuracy of the time offset can + # vary. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # *Output-only* The word corresponding to this set of information. + # Corresponds to the JSON property `word` + # @return [String] + attr_accessor :word + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) + @word = args[:word] if args.key?(:word) + end + end + end + end +end diff --git a/generated/google/apis/speech_v1/representations.rb b/generated/google/apis/speech_v1/representations.rb new file mode 100644 index 000000000..f8b038cd7 --- /dev/null +++ b/generated/google/apis/speech_v1/representations.rb @@ -0,0 +1,236 @@ +# 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 SpeechV1 + + class CancelOperationRequest + 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 LongRunningRecognizeRequest + 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 RecognitionAudio + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RecognitionConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RecognizeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RecognizeResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SpeechContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SpeechRecognitionAlternative + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SpeechRecognitionResult + 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 WordInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CancelOperationRequest + # @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 + property :next_page_token, as: 'nextPageToken' + collection :operations, as: 'operations', class: Google::Apis::SpeechV1::Operation, decorator: Google::Apis::SpeechV1::Operation::Representation + + end + end + + class LongRunningRecognizeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :audio, as: 'audio', class: Google::Apis::SpeechV1::RecognitionAudio, decorator: Google::Apis::SpeechV1::RecognitionAudio::Representation + + property :config, as: 'config', class: Google::Apis::SpeechV1::RecognitionConfig, decorator: Google::Apis::SpeechV1::RecognitionConfig::Representation + + end + end + + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::SpeechV1::Status, decorator: Google::Apis::SpeechV1::Status::Representation + + hash :metadata, as: 'metadata' + property :name, as: 'name' + hash :response, as: 'response' + end + end + + class RecognitionAudio + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content, :base64 => true, as: 'content' + property :uri, as: 'uri' + end + end + + class RecognitionConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :enable_word_time_offsets, as: 'enableWordTimeOffsets' + property :encoding, as: 'encoding' + property :language_code, as: 'languageCode' + property :max_alternatives, as: 'maxAlternatives' + property :profanity_filter, as: 'profanityFilter' + property :sample_rate_hertz, as: 'sampleRateHertz' + collection :speech_contexts, as: 'speechContexts', class: Google::Apis::SpeechV1::SpeechContext, decorator: Google::Apis::SpeechV1::SpeechContext::Representation + + end + end + + class RecognizeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :audio, as: 'audio', class: Google::Apis::SpeechV1::RecognitionAudio, decorator: Google::Apis::SpeechV1::RecognitionAudio::Representation + + property :config, as: 'config', class: Google::Apis::SpeechV1::RecognitionConfig, decorator: Google::Apis::SpeechV1::RecognitionConfig::Representation + + end + end + + class RecognizeResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :results, as: 'results', class: Google::Apis::SpeechV1::SpeechRecognitionResult, decorator: Google::Apis::SpeechV1::SpeechRecognitionResult::Representation + + end + end + + class SpeechContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :phrases, as: 'phrases' + end + end + + class SpeechRecognitionAlternative + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :confidence, as: 'confidence' + property :transcript, as: 'transcript' + collection :words, as: 'words', class: Google::Apis::SpeechV1::WordInfo, decorator: Google::Apis::SpeechV1::WordInfo::Representation + + end + end + + class SpeechRecognitionResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :alternatives, as: 'alternatives', class: Google::Apis::SpeechV1::SpeechRecognitionAlternative, decorator: Google::Apis::SpeechV1::SpeechRecognitionAlternative::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 WordInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_time, as: 'endTime' + property :start_time, as: 'startTime' + property :word, as: 'word' + end + end + end + end +end diff --git a/generated/google/apis/speech_v1/service.rb b/generated/google/apis/speech_v1/service.rb new file mode 100644 index 000000000..2e5219491 --- /dev/null +++ b/generated/google/apis/speech_v1/service.rb @@ -0,0 +1,277 @@ +# 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 SpeechV1 + # Google Cloud Speech API + # + # Converts audio to text by applying powerful neural network models. + # + # @example + # require 'google/apis/speech_v1' + # + # Speech = Google::Apis::SpeechV1 # Alias the module + # service = Speech::SpeechService.new + # + # @see https://cloud.google.com/speech/ + class SpeechService < 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://speech.googleapis.com/', '') + @batch_path = 'batch' + 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. On successful cancellation, + # the operation is not deleted; instead, it becomes an operation with + # an Operation.error value with a google.rpc.Status.code of 1, + # corresponding to `Code.CANCELLED`. + # @param [String] name + # The name of the operation resource to be cancelled. + # @param [Google::Apis::SpeechV1::CancelOperationRequest] cancel_operation_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::SpeechV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpeechV1::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, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/operations/{+name}:cancel', options) + command.request_representation = Google::Apis::SpeechV1::CancelOperationRequest::Representation + command.request_object = cancel_operation_request_object + command.response_representation = Google::Apis::SpeechV1::Empty::Representation + command.response_class = Google::Apis::SpeechV1::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::SpeechV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpeechV1::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/operations/{+name}', options) + command.response_representation = Google::Apis::SpeechV1::Empty::Representation + command.response_class = Google::Apis::SpeechV1::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 + + # 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::SpeechV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpeechV1::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/operations/{+name}', options) + command.response_representation = Google::Apis::SpeechV1::Operation::Representation + command.response_class = Google::Apis::SpeechV1::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 allows API services to override the binding + # to use different resource name schemes, such as `users/*/operations`. To + # override the binding, API services can add a binding such as + # `"/v1/`name=users/*`/operations"` to their service configuration. + # For backwards compatibility, the default name includes the operations + # collection id, however overriding users must ensure the name binding + # is the parent resource, without the operations collection id. + # @param [String] filter + # The standard list filter. + # @param [String] name + # The name of the operation's parent resource. + # @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::SpeechV1::ListOperationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpeechV1::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(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/operations', options) + command.response_representation = Google::Apis::SpeechV1::ListOperationsResponse::Representation + command.response_class = Google::Apis::SpeechV1::ListOperationsResponse + command.query['filter'] = filter unless filter.nil? + command.query['name'] = name unless name.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 + + # Performs asynchronous speech recognition: receive results via the + # google.longrunning.Operations interface. Returns either an + # `Operation.error` or an `Operation.response` which contains + # a `LongRunningRecognizeResponse` message. + # @param [Google::Apis::SpeechV1::LongRunningRecognizeRequest] long_running_recognize_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::SpeechV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpeechV1::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 longrunningrecognize_speech(long_running_recognize_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/speech:longrunningrecognize', options) + command.request_representation = Google::Apis::SpeechV1::LongRunningRecognizeRequest::Representation + command.request_object = long_running_recognize_request_object + command.response_representation = Google::Apis::SpeechV1::Operation::Representation + command.response_class = Google::Apis::SpeechV1::Operation + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Performs synchronous speech recognition: receive results after all audio + # has been sent and processed. + # @param [Google::Apis::SpeechV1::RecognizeRequest] recognize_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::SpeechV1::RecognizeResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpeechV1::RecognizeResponse] + # + # @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 recognize_speech(recognize_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/speech:recognize', options) + command.request_representation = Google::Apis::SpeechV1::RecognizeRequest::Representation + command.request_object = recognize_request_object + command.response_representation = Google::Apis::SpeechV1::RecognizeResponse::Representation + command.response_class = Google::Apis::SpeechV1::RecognizeResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.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/sqladmin_v1beta4.rb b/generated/google/apis/sqladmin_v1beta4.rb index c3c67b755..d55266598 100644 --- a/generated/google/apis/sqladmin_v1beta4.rb +++ b/generated/google/apis/sqladmin_v1beta4.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/sql/docs/reference/latest module SqladminV1beta4 VERSION = 'V1beta4' - REVISION = '20170606' + REVISION = '20170807' # 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 2946e0d61..4cc92b96c 100644 --- a/generated/google/apis/sqladmin_v1beta4/classes.rb +++ b/generated/google/apis/sqladmin_v1beta4/classes.rb @@ -403,9 +403,10 @@ module Google # @return [Fixnum] attr_accessor :current_disk_size - # The database engine type and version. The databaseVersion can not be changed - # after instance creation. Can be MYSQL_5_5, MYSQL_5_6 or MYSQL_5_7. Defaults to - # MYSQL_5_6. MYSQL_5_7 is applicable only to Second Generation instances. + # The database engine type and version. The databaseVersion field can not be + # changed after instance creation. MySQL Second Generation instances: MYSQL_5_7 ( + # default) or MYSQL_5_6. PostgreSQL instances: POSTGRES_9_6 MySQL First + # Generation instances: MYSQL_5_6 (default) or MYSQL_5_5 # Corresponds to the JSON property `databaseVersion` # @return [String] attr_accessor :database_version @@ -421,6 +422,13 @@ module Google # @return [Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica] attr_accessor :failover_replica + # The GCE zone that the instance is serving from. In case when the instance is + # failed over to standby zone, this value may be different with what user + # specified in the settings. + # Corresponds to the JSON property `gceZone` + # @return [String] + attr_accessor :gce_zone + # The instance type. This can be one of the following. # CLOUD_SQL_INSTANCE: A Cloud SQL instance that is not replicating from a master. # ON_PREMISES_INSTANCE: An instance running on the customer's premises. @@ -540,6 +548,7 @@ module Google @database_version = args[:database_version] if args.key?(:database_version) @etag = args[:etag] if args.key?(:etag) @failover_replica = args[:failover_replica] if args.key?(:failover_replica) + @gce_zone = args[:gce_zone] if args.key?(:gce_zone) @instance_type = args[:instance_type] if args.key?(:instance_type) @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses) @ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address) @@ -862,8 +871,8 @@ module Google # @return [String] attr_accessor :file_type - # The PostgreSQL user to use for this import operation. Defaults to - # cloudsqlsuperuser. Does not apply to MySQL instances. + # The PostgreSQL user for this import operation. Defaults to cloudsqlsuperuser. + # Used only for PostgreSQL instances. # Corresponds to the JSON property `importUser` # @return [String] attr_accessor :import_user @@ -1084,8 +1093,7 @@ module Google attr_accessor :ipv4_enabled alias_method :ipv4_enabled?, :ipv4_enabled - # Whether the mysqld should default to 'REQUIRE X509' for users connecting over - # IP. + # Whether SSL connections over IP should be enforced or not. # Corresponds to the JSON property `requireSsl` # @return [Boolean] attr_accessor :require_ssl diff --git a/generated/google/apis/sqladmin_v1beta4/representations.rb b/generated/google/apis/sqladmin_v1beta4/representations.rb index 44119e22c..c6a7e4f6d 100644 --- a/generated/google/apis/sqladmin_v1beta4/representations.rb +++ b/generated/google/apis/sqladmin_v1beta4/representations.rb @@ -427,6 +427,7 @@ module Google property :etag, as: 'etag' property :failover_replica, as: 'failoverReplica', class: Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica, decorator: Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica::Representation + property :gce_zone, as: 'gceZone' property :instance_type, as: 'instanceType' collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1beta4::IpMapping, decorator: Google::Apis::SqladminV1beta4::IpMapping::Representation diff --git a/generated/google/apis/storage_v1.rb b/generated/google/apis/storage_v1.rb index 3efecb8a5..45b3cff37 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 = '20170607' + REVISION = '20170810' # 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/classes.rb b/generated/google/apis/storage_v1/classes.rb index 36c46f625..6d51e7ce1 100644 --- a/generated/google/apis/storage_v1/classes.rb +++ b/generated/google/apis/storage_v1/classes.rb @@ -963,8 +963,8 @@ module Google # @return [String] attr_accessor :content_language - # Content-Type of the object data. If contentType is not specified, object - # downloads will be served as application/octet-stream. + # Content-Type of the object data. If an object is stored without a Content-Type, + # it is served as application/octet-stream. # Corresponds to the JSON property `contentType` # @return [String] attr_accessor :content_type @@ -1385,10 +1385,11 @@ module Google attr_accessor :kind # The ID of the resource to which this policy belongs. Will be of the form - # buckets/bucket for buckets, and buckets/bucket/objects/object for objects. A - # specific generation may be specified by appending #generationNumber to the end - # of the object name, e.g. buckets/my-bucket/objects/data.txt#17. The current - # generation can be denoted with #0. This field is ignored on input. + # projects/_/buckets/bucket for buckets, and projects/_/buckets/bucket/objects/ + # object for objects. A specific generation may be specified by appending # + # generationNumber to the end of the object name, e.g. projects/_/buckets/my- + # bucket/objects/data.txt#17. The current generation can be denoted with #0. + # This field is ignored on input. # Corresponds to the JSON property `resourceId` # @return [String] attr_accessor :resource_id diff --git a/generated/google/apis/storage_v1/service.rb b/generated/google/apis/storage_v1/service.rb index 739d36857..aa814fb82 100644 --- a/generated/google/apis/storage_v1/service.rb +++ b/generated/google/apis/storage_v1/service.rb @@ -1153,7 +1153,7 @@ module Google # Retrieves a list of notification subscriptions for a given bucket. # @param [String] bucket - # Name of a GCS bucket. + # Name of a Google Cloud Storage bucket. # @param [String] user_project # The project to be billed for this request, for Requester Pays buckets. # @param [String] fields @@ -1501,7 +1501,8 @@ module Google # Apply a predefined set of access controls to the destination object. # @param [Fixnum] if_generation_match # Makes the operation conditional on whether the object's current generation - # matches the given value. + # matches the given value. Setting to 0 makes the operation succeed only if + # there are no live versions of the object. # @param [Fixnum] if_metageneration_match # Makes the operation conditional on whether the object's current metageneration # matches the given value. @@ -1576,10 +1577,13 @@ module Google # Apply a predefined set of access controls to the destination object. # @param [Fixnum] if_generation_match # Makes the operation conditional on whether the destination object's current - # generation matches the given value. + # generation matches the given value. Setting to 0 makes the operation succeed + # only if there are no live versions of the object. # @param [Fixnum] if_generation_not_match # Makes the operation conditional on whether the destination object's current - # generation does not match the given value. + # generation does not match the given value. If no live object exists, the + # precondition fails. Setting to 0 makes the operation succeed only if there is + # a live version of the object. # @param [Fixnum] if_metageneration_match # Makes the operation conditional on whether the destination object's current # metageneration matches the given value. @@ -1587,11 +1591,11 @@ module Google # Makes the operation conditional on whether the destination object's current # metageneration does not match the given value. # @param [Fixnum] if_source_generation_match - # Makes the operation conditional on whether the source object's generation - # matches the given value. + # Makes the operation conditional on whether the source object's current + # generation matches the given value. # @param [Fixnum] if_source_generation_not_match - # Makes the operation conditional on whether the source object's generation does - # not match the given value. + # Makes the operation conditional on whether the source object's current + # generation does not match the given value. # @param [Fixnum] if_source_metageneration_match # Makes the operation conditional on whether the source object's current # metageneration matches the given value. @@ -1674,10 +1678,13 @@ module Google # to the latest version, the default). # @param [Fixnum] if_generation_match # Makes the operation conditional on whether the object's current generation - # matches the given value. + # matches the given value. Setting to 0 makes the operation succeed only if + # there are no live versions of the object. # @param [Fixnum] if_generation_not_match # Makes the operation conditional on whether the object's current generation - # does not match the given value. + # does not match the given value. If no live object exists, the precondition + # fails. Setting to 0 makes the operation succeed only if there is a live + # version of the object. # @param [Fixnum] if_metageneration_match # Makes the operation conditional on whether the object's current metageneration # matches the given value. @@ -1733,11 +1740,14 @@ module Google # If present, selects a specific revision of this object (as opposed to the # latest version, the default). # @param [Fixnum] if_generation_match - # Makes the operation conditional on whether the object's generation matches the - # given value. + # Makes the operation conditional on whether the object's current generation + # matches the given value. Setting to 0 makes the operation succeed only if + # there are no live versions of the object. # @param [Fixnum] if_generation_not_match - # Makes the operation conditional on whether the object's generation does not - # match the given value. + # Makes the operation conditional on whether the object's current generation + # does not match the given value. If no live object exists, the precondition + # fails. Setting to 0 makes the operation succeed only if there is a live + # version of the object. # @param [Fixnum] if_metageneration_match # Makes the operation conditional on whether the object's current metageneration # matches the given value. @@ -1853,10 +1863,13 @@ module Google # indicate the encoding of the content being uploaded. # @param [Fixnum] if_generation_match # Makes the operation conditional on whether the object's current generation - # matches the given value. + # matches the given value. Setting to 0 makes the operation succeed only if + # there are no live versions of the object. # @param [Fixnum] if_generation_not_match # Makes the operation conditional on whether the object's current generation - # does not match the given value. + # does not match the given value. If no live object exists, the precondition + # fails. Setting to 0 makes the operation succeed only if there is a live + # version of the object. # @param [Fixnum] if_metageneration_match # Makes the operation conditional on whether the object's current metageneration # matches the given value. @@ -2010,10 +2023,13 @@ module Google # latest version, the default). # @param [Fixnum] if_generation_match # Makes the operation conditional on whether the object's current generation - # matches the given value. + # matches the given value. Setting to 0 makes the operation succeed only if + # there are no live versions of the object. # @param [Fixnum] if_generation_not_match # Makes the operation conditional on whether the object's current generation - # does not match the given value. + # does not match the given value. If no live object exists, the precondition + # fails. Setting to 0 makes the operation succeed only if there is a live + # version of the object. # @param [Fixnum] if_metageneration_match # Makes the operation conditional on whether the object's current metageneration # matches the given value. @@ -2092,11 +2108,14 @@ module Google # @param [String] destination_predefined_acl # Apply a predefined set of access controls to the destination object. # @param [Fixnum] if_generation_match - # Makes the operation conditional on whether the destination object's current - # generation matches the given value. + # Makes the operation conditional on whether the object's current generation + # matches the given value. Setting to 0 makes the operation succeed only if + # there are no live versions of the object. # @param [Fixnum] if_generation_not_match - # Makes the operation conditional on whether the destination object's current - # generation does not match the given value. + # Makes the operation conditional on whether the object's current generation + # does not match the given value. If no live object exists, the precondition + # fails. Setting to 0 makes the operation succeed only if there is a live + # version of the object. # @param [Fixnum] if_metageneration_match # Makes the operation conditional on whether the destination object's current # metageneration matches the given value. @@ -2104,11 +2123,11 @@ module Google # Makes the operation conditional on whether the destination object's current # metageneration does not match the given value. # @param [Fixnum] if_source_generation_match - # Makes the operation conditional on whether the source object's generation - # matches the given value. + # Makes the operation conditional on whether the source object's current + # generation matches the given value. # @param [Fixnum] if_source_generation_not_match - # Makes the operation conditional on whether the source object's generation does - # not match the given value. + # Makes the operation conditional on whether the source object's current + # generation does not match the given value. # @param [Fixnum] if_source_metageneration_match # Makes the operation conditional on whether the source object's current # metageneration matches the given value. @@ -2299,10 +2318,13 @@ module Google # latest version, the default). # @param [Fixnum] if_generation_match # Makes the operation conditional on whether the object's current generation - # matches the given value. + # matches the given value. Setting to 0 makes the operation succeed only if + # there are no live versions of the object. # @param [Fixnum] if_generation_not_match # Makes the operation conditional on whether the object's current generation - # does not match the given value. + # does not match the given value. If no live object exists, the precondition + # fails. Setting to 0 makes the operation succeed only if there is a live + # version of the object. # @param [Fixnum] if_metageneration_match # Makes the operation conditional on whether the object's current metageneration # matches the given value. @@ -2433,7 +2455,7 @@ module Google execute_or_queue_command(command, &block) end - # Get the email address of this project's GCS service account. + # Get the email address of this project's Google Cloud Storage service account. # @param [String] project_id # Project ID # @param [String] fields diff --git a/generated/google/apis/storagetransfer_v1.rb b/generated/google/apis/storagetransfer_v1.rb index 682eaf92b..bd972778e 100644 --- a/generated/google/apis/storagetransfer_v1.rb +++ b/generated/google/apis/storagetransfer_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/storage/transfer module StoragetransferV1 VERSION = 'V1' - REVISION = '20170707' + REVISION = '20170804' # 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/storagetransfer_v1/classes.rb b/generated/google/apis/storagetransfer_v1/classes.rb index e5ebdbd14..c4455f6d9 100644 --- a/generated/google/apis/storagetransfer_v1/classes.rb +++ b/generated/google/apis/storagetransfer_v1/classes.rb @@ -22,95 +22,23 @@ module Google module Apis module StoragetransferV1 - # A collection of counters that report the progress of a transfer operation. - class TransferCounters + # AWS access key (see + # [AWS Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws- + # security-credentials.html)). + class AwsAccessKey include Google::Apis::Core::Hashable - # Bytes that are deleted from the data source. - # Corresponds to the JSON property `bytesDeletedFromSource` - # @return [Fixnum] - attr_accessor :bytes_deleted_from_source + # AWS access key ID. + # Required. + # Corresponds to the JSON property `accessKeyId` + # @return [String] + attr_accessor :access_key_id - # Objects found in the data source that are scheduled to be transferred, - # which will be copied, excluded based on conditions, or skipped due to - # failures. - # Corresponds to the JSON property `objectsFoundFromSource` - # @return [Fixnum] - attr_accessor :objects_found_from_source - - # Objects that failed to be deleted from the data sink. - # Corresponds to the JSON property `objectsFailedToDeleteFromSink` - # @return [Fixnum] - attr_accessor :objects_failed_to_delete_from_sink - - # Objects that are deleted from the data sink. - # Corresponds to the JSON property `objectsDeletedFromSink` - # @return [Fixnum] - attr_accessor :objects_deleted_from_sink - - # Objects found only in the data sink that are scheduled to be deleted. - # Corresponds to the JSON property `objectsFoundOnlyFromSink` - # @return [Fixnum] - attr_accessor :objects_found_only_from_sink - - # Bytes in the data source that are not transferred because they already - # exist in the data sink. - # Corresponds to the JSON property `bytesFromSourceSkippedBySync` - # @return [Fixnum] - attr_accessor :bytes_from_source_skipped_by_sync - - # Bytes that are deleted from the data sink. - # Corresponds to the JSON property `bytesDeletedFromSink` - # @return [Fixnum] - attr_accessor :bytes_deleted_from_sink - - # Bytes that failed to be deleted from the data sink. - # Corresponds to the JSON property `bytesFailedToDeleteFromSink` - # @return [Fixnum] - attr_accessor :bytes_failed_to_delete_from_sink - - # Bytes in the data source that failed during the transfer. - # Corresponds to the JSON property `bytesFromSourceFailed` - # @return [Fixnum] - attr_accessor :bytes_from_source_failed - - # Objects in the data source that failed during the transfer. - # Corresponds to the JSON property `objectsFromSourceFailed` - # @return [Fixnum] - attr_accessor :objects_from_source_failed - - # Objects that are copied to the data sink. - # Corresponds to the JSON property `objectsCopiedToSink` - # @return [Fixnum] - attr_accessor :objects_copied_to_sink - - # Bytes found only in the data sink that are scheduled to be deleted. - # Corresponds to the JSON property `bytesFoundOnlyFromSink` - # @return [Fixnum] - attr_accessor :bytes_found_only_from_sink - - # Objects that are deleted from the data source. - # Corresponds to the JSON property `objectsDeletedFromSource` - # @return [Fixnum] - attr_accessor :objects_deleted_from_source - - # Bytes that are copied to the data sink. - # Corresponds to the JSON property `bytesCopiedToSink` - # @return [Fixnum] - attr_accessor :bytes_copied_to_sink - - # Bytes found in the data source that are scheduled to be transferred, - # which will be copied, excluded based on conditions, or skipped due to - # failures. - # Corresponds to the JSON property `bytesFoundFromSource` - # @return [Fixnum] - attr_accessor :bytes_found_from_source - - # Objects in the data source that are not transferred because they already - # exist in the data sink. - # Corresponds to the JSON property `objectsFromSourceSkippedBySync` - # @return [Fixnum] - attr_accessor :objects_from_source_skipped_by_sync + # AWS secret access key. This field is not returned in RPC responses. + # Required. + # Corresponds to the JSON property `secretAccessKey` + # @return [String] + attr_accessor :secret_access_key def initialize(**args) update!(**args) @@ -118,22 +46,124 @@ module Google # Update properties of this object def update!(**args) - @bytes_deleted_from_source = args[:bytes_deleted_from_source] if args.key?(:bytes_deleted_from_source) - @objects_found_from_source = args[:objects_found_from_source] if args.key?(:objects_found_from_source) - @objects_failed_to_delete_from_sink = args[:objects_failed_to_delete_from_sink] if args.key?(:objects_failed_to_delete_from_sink) - @objects_deleted_from_sink = args[:objects_deleted_from_sink] if args.key?(:objects_deleted_from_sink) - @objects_found_only_from_sink = args[:objects_found_only_from_sink] if args.key?(:objects_found_only_from_sink) - @bytes_from_source_skipped_by_sync = args[:bytes_from_source_skipped_by_sync] if args.key?(:bytes_from_source_skipped_by_sync) - @bytes_deleted_from_sink = args[:bytes_deleted_from_sink] if args.key?(:bytes_deleted_from_sink) - @bytes_failed_to_delete_from_sink = args[:bytes_failed_to_delete_from_sink] if args.key?(:bytes_failed_to_delete_from_sink) - @bytes_from_source_failed = args[:bytes_from_source_failed] if args.key?(:bytes_from_source_failed) - @objects_from_source_failed = args[:objects_from_source_failed] if args.key?(:objects_from_source_failed) - @objects_copied_to_sink = args[:objects_copied_to_sink] if args.key?(:objects_copied_to_sink) - @bytes_found_only_from_sink = args[:bytes_found_only_from_sink] if args.key?(:bytes_found_only_from_sink) - @objects_deleted_from_source = args[:objects_deleted_from_source] if args.key?(:objects_deleted_from_source) - @bytes_copied_to_sink = args[:bytes_copied_to_sink] if args.key?(:bytes_copied_to_sink) - @bytes_found_from_source = args[:bytes_found_from_source] if args.key?(:bytes_found_from_source) - @objects_from_source_skipped_by_sync = args[:objects_from_source_skipped_by_sync] if args.key?(:objects_from_source_skipped_by_sync) + @access_key_id = args[:access_key_id] if args.key?(:access_key_id) + @secret_access_key = args[:secret_access_key] if args.key?(:secret_access_key) + end + end + + # An AwsS3Data can be a data source, but not a data sink. + # In an AwsS3Data, an object's name is the S3 object's key name. + class AwsS3Data + include Google::Apis::Core::Hashable + + # AWS access key (see + # [AWS Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws- + # security-credentials.html)). + # Corresponds to the JSON property `awsAccessKey` + # @return [Google::Apis::StoragetransferV1::AwsAccessKey] + attr_accessor :aws_access_key + + # S3 Bucket name (see + # [Creating a bucket](http://docs.aws.amazon.com/AmazonS3/latest/dev/create- + # bucket-get-location-example.html)). + # Required. + # Corresponds to the JSON property `bucketName` + # @return [String] + attr_accessor :bucket_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @aws_access_key = args[:aws_access_key] if args.key?(:aws_access_key) + @bucket_name = args[:bucket_name] if args.key?(:bucket_name) + end + end + + # Represents a whole calendar date, e.g. 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. The day may be 0 to + # represent a year and month where the day is not significant, e.g. credit card + # expiration date. The year may be 0 to represent a month and day independent + # of year, e.g. anniversary date. Related types are google.type.TimeOfDay + # and `google.protobuf.Timestamp`. + class Date + include Google::Apis::Core::Hashable + + # 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 + + # Month of year. Must be from 1 to 12. + # Corresponds to the JSON property `month` + # @return [Fixnum] + attr_accessor :month + + # 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) + @day = args[:day] if args.key?(:day) + @month = args[:month] if args.key?(:month) + @year = args[:year] if args.key?(:year) + 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 + + # An entry describing an error that has occurred. + class ErrorLogEntry + include Google::Apis::Core::Hashable + + # A list of messages that carry the error details. + # Corresponds to the JSON property `errorDetails` + # @return [Array] + attr_accessor :error_details + + # A URL that refers to the target (a data source, a data sink, + # or an object) with which the error is associated. + # Required. + # 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) + @error_details = args[:error_details] if args.key?(:error_details) + @url = args[:url] if args.key?(:url) end end @@ -170,6 +200,49 @@ module Google end end + # In a GcsData, an object's name is the Google Cloud Storage object's name and + # its `lastModificationTime` refers to the object's updated time, which changes + # when the content or the metadata of the object is updated. + class GcsData + include Google::Apis::Core::Hashable + + # Google Cloud Storage bucket name (see + # [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming# + # requirements)). + # Required. + # Corresponds to the JSON property `bucketName` + # @return [String] + attr_accessor :bucket_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucket_name = args[:bucket_name] if args.key?(:bucket_name) + end + end + + # Google service account + class GoogleServiceAccount + include Google::Apis::Core::Hashable + + # Required. + # Corresponds to the JSON property `accountEmail` + # @return [String] + attr_accessor :account_email + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_email = args[:account_email] if args.key?(:account_email) + end + end + # An HttpData specifies a list of objects on the web to be transferred over # HTTP. The information of the objects to be transferred is contained in a # file referenced by a URL. The first line in the file must be @@ -222,19 +295,19 @@ module Google end end - # In a GcsData, an object's name is the Google Cloud Storage object's name and - # its `lastModificationTime` refers to the object's updated time, which changes - # when the content or the metadata of the object is updated. - class GcsData + # The response message for Operations.ListOperations. + class ListOperationsResponse include Google::Apis::Core::Hashable - # Google Cloud Storage bucket name (see - # [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming# - # requirements)). - # Required. - # Corresponds to the JSON property `bucketName` + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` # @return [String] - attr_accessor :bucket_name + attr_accessor :next_page_token + + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations def initialize(**args) update!(**args) @@ -242,7 +315,8 @@ module Google # Update properties of this object def update!(**args) - @bucket_name = args[:bucket_name] if args.key?(:bucket_name) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @operations = args[:operations] if args.key?(:operations) end end @@ -271,44 +345,6 @@ module Google end end - # Request passed to UpdateTransferJob. - class UpdateTransferJobRequest - include Google::Apis::Core::Hashable - - # The ID of the Google Cloud Platform Console project that owns the job. - # Required. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # The field mask of the fields in `transferJob` that are to be updated in - # this request. Fields in `transferJob` that can be updated are: - # `description`, `transferSpec`, and `status`. To update the `transferSpec` - # of the job, a complete transfer specification has to be provided. An - # incomplete specification which misses any required fields will be rejected - # with the error `INVALID_ARGUMENT`. - # Corresponds to the JSON property `updateTransferJobFieldMask` - # @return [String] - attr_accessor :update_transfer_job_field_mask - - # This resource represents the configuration of a transfer job that runs - # periodically. - # Corresponds to the JSON property `transferJob` - # @return [Google::Apis::StoragetransferV1::TransferJob] - attr_accessor :transfer_job - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @project_id = args[:project_id] if args.key?(:project_id) - @update_transfer_job_field_mask = args[:update_transfer_job_field_mask] if args.key?(:update_transfer_job_field_mask) - @transfer_job = args[:transfer_job] if args.key?(:transfer_job) - end - end - # Conditions that determine which objects will be transferred. class ObjectConditions include Google::Apis::Core::Hashable @@ -320,23 +356,6 @@ module Google # @return [Array] attr_accessor :exclude_prefixes - # If unspecified, `minTimeElapsedSinceLastModification` takes a zero value - # and `maxTimeElapsedSinceLastModification` takes the maximum possible - # value of Duration. Objects that satisfy the object conditions - # must either have a `lastModificationTime` greater or equal to - # `NOW` - `maxTimeElapsedSinceLastModification` and less than - # `NOW` - `minTimeElapsedSinceLastModification`, or not have a - # `lastModificationTime`. - # Corresponds to the JSON property `minTimeElapsedSinceLastModification` - # @return [String] - attr_accessor :min_time_elapsed_since_last_modification - - # `maxTimeElapsedSinceLastModification` is the complement to - # `minTimeElapsedSinceLastModification`. - # Corresponds to the JSON property `maxTimeElapsedSinceLastModification` - # @return [String] - attr_accessor :max_time_elapsed_since_last_modification - # If `includePrefixes` is specified, objects that satisfy the object # conditions must have names that start with one of the `includePrefixes` # and that do not start with any of the `excludePrefixes`. If `includePrefixes` @@ -366,6 +385,23 @@ module Google # @return [Array] attr_accessor :include_prefixes + # `maxTimeElapsedSinceLastModification` is the complement to + # `minTimeElapsedSinceLastModification`. + # Corresponds to the JSON property `maxTimeElapsedSinceLastModification` + # @return [String] + attr_accessor :max_time_elapsed_since_last_modification + + # If unspecified, `minTimeElapsedSinceLastModification` takes a zero value + # and `maxTimeElapsedSinceLastModification` takes the maximum possible + # value of Duration. Objects that satisfy the object conditions + # must either have a `lastModificationTime` greater or equal to + # `NOW` - `maxTimeElapsedSinceLastModification` and less than + # `NOW` - `minTimeElapsedSinceLastModification`, or not have a + # `lastModificationTime`. + # Corresponds to the JSON property `minTimeElapsedSinceLastModification` + # @return [String] + attr_accessor :min_time_elapsed_since_last_modification + def initialize(**args) update!(**args) end @@ -373,9 +409,9 @@ module Google # Update properties of this object def update!(**args) @exclude_prefixes = args[:exclude_prefixes] if args.key?(:exclude_prefixes) - @min_time_elapsed_since_last_modification = args[:min_time_elapsed_since_last_modification] if args.key?(:min_time_elapsed_since_last_modification) - @max_time_elapsed_since_last_modification = args[:max_time_elapsed_since_last_modification] if args.key?(:max_time_elapsed_since_last_modification) @include_prefixes = args[:include_prefixes] if args.key?(:include_prefixes) + @max_time_elapsed_since_last_modification = args[:max_time_elapsed_since_last_modification] if args.key?(:max_time_elapsed_since_last_modification) + @min_time_elapsed_since_last_modification = args[:min_time_elapsed_since_last_modification] if args.key?(:min_time_elapsed_since_last_modification) end end @@ -392,25 +428,6 @@ module Google attr_accessor :done alias_method :done?, :done - # 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 - - # 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 `transferOperations/some/unique/name`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - # 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: @@ -459,6 +476,25 @@ module Google # @return [Hash] 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, the `name` should + # have the format of `transferOperations/some/unique/name`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # 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 @@ -466,134 +502,23 @@ module Google # Update properties of this object def update!(**args) @done = args[:done] if args.key?(:done) - @response = args[:response] if args.key?(:response) - @name = args[:name] if args.key?(:name) @error = args[:error] if args.key?(:error) @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + @response = args[:response] if args.key?(:response) end end - # TransferOptions uses three boolean parameters to define the actions - # to be performed on objects in a transfer. - class TransferOptions + # Request passed to PauseTransferOperation. + class PauseTransferOperationRequest include Google::Apis::Core::Hashable - # Whether objects that exist only in the sink should be deleted. Note that - # this option and `deleteObjectsFromSourceAfterTransfer` are mutually - # exclusive. - # Corresponds to the JSON property `deleteObjectsUniqueInSink` - # @return [Boolean] - attr_accessor :delete_objects_unique_in_sink - alias_method :delete_objects_unique_in_sink?, :delete_objects_unique_in_sink - - # Whether overwriting objects that already exist in the sink is allowed. - # Corresponds to the JSON property `overwriteObjectsAlreadyExistingInSink` - # @return [Boolean] - attr_accessor :overwrite_objects_already_existing_in_sink - alias_method :overwrite_objects_already_existing_in_sink?, :overwrite_objects_already_existing_in_sink - - # Whether objects should be deleted from the source after they are - # transferred to the sink. Note that this option and - # `deleteObjectsUniqueInSink` are mutually exclusive. - # Corresponds to the JSON property `deleteObjectsFromSourceAfterTransfer` - # @return [Boolean] - attr_accessor :delete_objects_from_source_after_transfer - alias_method :delete_objects_from_source_after_transfer?, :delete_objects_from_source_after_transfer - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @delete_objects_unique_in_sink = args[:delete_objects_unique_in_sink] if args.key?(:delete_objects_unique_in_sink) - @overwrite_objects_already_existing_in_sink = args[:overwrite_objects_already_existing_in_sink] if args.key?(:overwrite_objects_already_existing_in_sink) - @delete_objects_from_source_after_transfer = args[:delete_objects_from_source_after_transfer] if args.key?(:delete_objects_from_source_after_transfer) - end - end - - # Configuration for running a transfer. - class TransferSpec - include Google::Apis::Core::Hashable - - # TransferOptions uses three boolean parameters to define the actions - # to be performed on objects in a transfer. - # Corresponds to the JSON property `transferOptions` - # @return [Google::Apis::StoragetransferV1::TransferOptions] - attr_accessor :transfer_options - - # An AwsS3Data can be a data source, but not a data sink. - # In an AwsS3Data, an object's name is the S3 object's key name. - # Corresponds to the JSON property `awsS3DataSource` - # @return [Google::Apis::StoragetransferV1::AwsS3Data] - attr_accessor :aws_s3_data_source - - # An HttpData specifies a list of objects on the web to be transferred over - # HTTP. The information of the objects to be transferred is contained in a - # file referenced by a URL. The first line in the file must be - # "TsvHttpData-1.0", which specifies the format of the file. Subsequent lines - # specify the information of the list of objects, one object per list entry. - # Each entry has the following tab-delimited fields: - # * HTTP URL - The location of the object. - # * Length - The size of the object in bytes. - # * MD5 - The base64-encoded MD5 hash of the object. - # For an example of a valid TSV file, see - # [Transferring data from URLs](https://cloud.google.com/storage/transfer/#urls) - # When transferring data based on a URL list, keep the following in mind: - # * When an object located at `http(s)://hostname:port/` is - # transferred - # to a data sink, the name of the object at the data sink is - # `/`. - # * If the specified size of an object does not match the actual size of the - # object fetched, the object will not be transferred. - # * If the specified MD5 does not match the MD5 computed from the transferred - # bytes, the object transfer will fail. For more information, see - # [Generating MD5 hashes](https://cloud.google.com/storage/transfer/#md5) - # * Ensure that each URL you specify is publicly accessible. For - # example, in Google Cloud Storage you can - # [share an object publicly] - # (https://cloud.google.com/storage/docs/cloud-console#_sharingdata) and get - # a link to it. - # * Storage Transfer Service obeys `robots.txt` rules and requires the source - # HTTP server to support `Range` requests and to return a `Content-Length` - # header in each response. - # * [ObjectConditions](#ObjectConditions) have no effect when filtering objects - # to transfer. - # Corresponds to the JSON property `httpDataSource` - # @return [Google::Apis::StoragetransferV1::HttpData] - attr_accessor :http_data_source - - # Conditions that determine which objects will be transferred. - # Corresponds to the JSON property `objectConditions` - # @return [Google::Apis::StoragetransferV1::ObjectConditions] - attr_accessor :object_conditions - - # In a GcsData, an object's name is the Google Cloud Storage object's name and - # its `lastModificationTime` refers to the object's updated time, which changes - # when the content or the metadata of the object is updated. - # Corresponds to the JSON property `gcsDataSink` - # @return [Google::Apis::StoragetransferV1::GcsData] - attr_accessor :gcs_data_sink - - # In a GcsData, an object's name is the Google Cloud Storage object's name and - # its `lastModificationTime` refers to the object's updated time, which changes - # when the content or the metadata of the object is updated. - # Corresponds to the JSON property `gcsDataSource` - # @return [Google::Apis::StoragetransferV1::GcsData] - attr_accessor :gcs_data_source - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @transfer_options = args[:transfer_options] if args.key?(:transfer_options) - @aws_s3_data_source = args[:aws_s3_data_source] if args.key?(:aws_s3_data_source) - @http_data_source = args[:http_data_source] if args.key?(:http_data_source) - @object_conditions = args[:object_conditions] if args.key?(:object_conditions) - @gcs_data_sink = args[:gcs_data_sink] if args.key?(:gcs_data_sink) - @gcs_data_source = args[:gcs_data_source] if args.key?(:gcs_data_source) end end @@ -610,6 +535,51 @@ module Google end end + # Transfers can be scheduled to recur or to run just once. + class Schedule + include Google::Apis::Core::Hashable + + # Represents a whole calendar date, e.g. 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. The day may be 0 to + # represent a year and month where the day is not significant, e.g. credit card + # expiration date. The year may be 0 to represent a month and day independent + # of year, e.g. anniversary date. Related types are google.type.TimeOfDay + # and `google.protobuf.Timestamp`. + # Corresponds to the JSON property `scheduleEndDate` + # @return [Google::Apis::StoragetransferV1::Date] + attr_accessor :schedule_end_date + + # Represents a whole calendar date, e.g. 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. The day may be 0 to + # represent a year and month where the day is not significant, e.g. credit card + # expiration date. The year may be 0 to represent a month and day independent + # of year, e.g. anniversary date. Related types are google.type.TimeOfDay + # and `google.protobuf.Timestamp`. + # Corresponds to the JSON property `scheduleStartDate` + # @return [Google::Apis::StoragetransferV1::Date] + attr_accessor :schedule_start_date + + # Represents a time of day. The date and time zone are either not significant + # or are specified elsewhere. An API may choose to allow leap seconds. Related + # types are google.type.Date and `google.protobuf.Timestamp`. + # Corresponds to the JSON property `startTimeOfDay` + # @return [Google::Apis::StoragetransferV1::TimeOfDay] + attr_accessor :start_time_of_day + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @schedule_end_date = args[:schedule_end_date] if args.key?(:schedule_end_date) + @schedule_start_date = args[:schedule_start_date] if args.key?(:schedule_start_date) + @start_time_of_day = args[:start_time_of_day] if args.key?(:start_time_of_day) + 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: @@ -652,17 +622,17 @@ module Google 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 is a common set of # message types for APIs to use. # Corresponds to the JSON property `details` # @return [Array>] attr_accessor :details - # 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. @@ -676,56 +646,12 @@ module Google # Update properties of this object def update!(**args) - @details = args[:details] if args.key?(:details) @code = args[:code] if args.key?(:code) + @details = args[:details] if args.key?(:details) @message = args[:message] if args.key?(:message) end end - # The response message for Operations.ListOperations. - class ListOperationsResponse - include Google::Apis::Core::Hashable - - # The standard List next-page token. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # A list of operations that matches the specified filter in the request. - # Corresponds to the JSON property `operations` - # @return [Array] - attr_accessor :operations - - 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) - @operations = args[:operations] if args.key?(:operations) - end - end - - # Google service account - class GoogleServiceAccount - include Google::Apis::Core::Hashable - - # Required. - # Corresponds to the JSON property `accountEmail` - # @return [String] - attr_accessor :account_email - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @account_email = args[:account_email] if args.key?(:account_email) - end - end - # Represents a time of day. The date and time zone are either not significant # or are specified elsewhere. An API may choose to allow leap seconds. Related # types are google.type.Date and `google.protobuf.Timestamp`. @@ -738,6 +664,11 @@ module Google # @return [Fixnum] attr_accessor :hours + # Minutes of hour of day. Must be from 0 to 59. + # Corresponds to the JSON property `minutes` + # @return [Fixnum] + attr_accessor :minutes + # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. # Corresponds to the JSON property `nanos` # @return [Fixnum] @@ -749,11 +680,6 @@ module Google # @return [Fixnum] attr_accessor :seconds - # Minutes of hour of day. Must be from 0 to 59. - # Corresponds to the JSON property `minutes` - # @return [Fixnum] - attr_accessor :minutes - def initialize(**args) update!(**args) end @@ -761,27 +687,101 @@ module Google # Update properties of this object def update!(**args) @hours = args[:hours] if args.key?(:hours) + @minutes = args[:minutes] if args.key?(:minutes) @nanos = args[:nanos] if args.key?(:nanos) @seconds = args[:seconds] if args.key?(:seconds) - @minutes = args[:minutes] if args.key?(:minutes) end end - # An entry describing an error that has occurred. - class ErrorLogEntry + # A collection of counters that report the progress of a transfer operation. + class TransferCounters include Google::Apis::Core::Hashable - # A list of messages that carry the error details. - # Corresponds to the JSON property `errorDetails` - # @return [Array] - attr_accessor :error_details + # Bytes that are copied to the data sink. + # Corresponds to the JSON property `bytesCopiedToSink` + # @return [Fixnum] + attr_accessor :bytes_copied_to_sink - # A URL that refers to the target (a data source, a data sink, - # or an object) with which the error is associated. - # Required. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url + # Bytes that are deleted from the data sink. + # Corresponds to the JSON property `bytesDeletedFromSink` + # @return [Fixnum] + attr_accessor :bytes_deleted_from_sink + + # Bytes that are deleted from the data source. + # Corresponds to the JSON property `bytesDeletedFromSource` + # @return [Fixnum] + attr_accessor :bytes_deleted_from_source + + # Bytes that failed to be deleted from the data sink. + # Corresponds to the JSON property `bytesFailedToDeleteFromSink` + # @return [Fixnum] + attr_accessor :bytes_failed_to_delete_from_sink + + # Bytes found in the data source that are scheduled to be transferred, + # which will be copied, excluded based on conditions, or skipped due to + # failures. + # Corresponds to the JSON property `bytesFoundFromSource` + # @return [Fixnum] + attr_accessor :bytes_found_from_source + + # Bytes found only in the data sink that are scheduled to be deleted. + # Corresponds to the JSON property `bytesFoundOnlyFromSink` + # @return [Fixnum] + attr_accessor :bytes_found_only_from_sink + + # Bytes in the data source that failed during the transfer. + # Corresponds to the JSON property `bytesFromSourceFailed` + # @return [Fixnum] + attr_accessor :bytes_from_source_failed + + # Bytes in the data source that are not transferred because they already + # exist in the data sink. + # Corresponds to the JSON property `bytesFromSourceSkippedBySync` + # @return [Fixnum] + attr_accessor :bytes_from_source_skipped_by_sync + + # Objects that are copied to the data sink. + # Corresponds to the JSON property `objectsCopiedToSink` + # @return [Fixnum] + attr_accessor :objects_copied_to_sink + + # Objects that are deleted from the data sink. + # Corresponds to the JSON property `objectsDeletedFromSink` + # @return [Fixnum] + attr_accessor :objects_deleted_from_sink + + # Objects that are deleted from the data source. + # Corresponds to the JSON property `objectsDeletedFromSource` + # @return [Fixnum] + attr_accessor :objects_deleted_from_source + + # Objects that failed to be deleted from the data sink. + # Corresponds to the JSON property `objectsFailedToDeleteFromSink` + # @return [Fixnum] + attr_accessor :objects_failed_to_delete_from_sink + + # Objects found in the data source that are scheduled to be transferred, + # which will be copied, excluded based on conditions, or skipped due to + # failures. + # Corresponds to the JSON property `objectsFoundFromSource` + # @return [Fixnum] + attr_accessor :objects_found_from_source + + # Objects found only in the data sink that are scheduled to be deleted. + # Corresponds to the JSON property `objectsFoundOnlyFromSink` + # @return [Fixnum] + attr_accessor :objects_found_only_from_sink + + # Objects in the data source that failed during the transfer. + # Corresponds to the JSON property `objectsFromSourceFailed` + # @return [Fixnum] + attr_accessor :objects_from_source_failed + + # Objects in the data source that are not transferred because they already + # exist in the data sink. + # Corresponds to the JSON property `objectsFromSourceSkippedBySync` + # @return [Fixnum] + attr_accessor :objects_from_source_skipped_by_sync def initialize(**args) update!(**args) @@ -789,8 +789,22 @@ module Google # Update properties of this object def update!(**args) - @error_details = args[:error_details] if args.key?(:error_details) - @url = args[:url] if args.key?(:url) + @bytes_copied_to_sink = args[:bytes_copied_to_sink] if args.key?(:bytes_copied_to_sink) + @bytes_deleted_from_sink = args[:bytes_deleted_from_sink] if args.key?(:bytes_deleted_from_sink) + @bytes_deleted_from_source = args[:bytes_deleted_from_source] if args.key?(:bytes_deleted_from_source) + @bytes_failed_to_delete_from_sink = args[:bytes_failed_to_delete_from_sink] if args.key?(:bytes_failed_to_delete_from_sink) + @bytes_found_from_source = args[:bytes_found_from_source] if args.key?(:bytes_found_from_source) + @bytes_found_only_from_sink = args[:bytes_found_only_from_sink] if args.key?(:bytes_found_only_from_sink) + @bytes_from_source_failed = args[:bytes_from_source_failed] if args.key?(:bytes_from_source_failed) + @bytes_from_source_skipped_by_sync = args[:bytes_from_source_skipped_by_sync] if args.key?(:bytes_from_source_skipped_by_sync) + @objects_copied_to_sink = args[:objects_copied_to_sink] if args.key?(:objects_copied_to_sink) + @objects_deleted_from_sink = args[:objects_deleted_from_sink] if args.key?(:objects_deleted_from_sink) + @objects_deleted_from_source = args[:objects_deleted_from_source] if args.key?(:objects_deleted_from_source) + @objects_failed_to_delete_from_sink = args[:objects_failed_to_delete_from_sink] if args.key?(:objects_failed_to_delete_from_sink) + @objects_found_from_source = args[:objects_found_from_source] if args.key?(:objects_found_from_source) + @objects_found_only_from_sink = args[:objects_found_only_from_sink] if args.key?(:objects_found_only_from_sink) + @objects_from_source_failed = args[:objects_from_source_failed] if args.key?(:objects_from_source_failed) + @objects_from_source_skipped_by_sync = args[:objects_from_source_skipped_by_sync] if args.key?(:objects_from_source_skipped_by_sync) end end @@ -799,6 +813,16 @@ module Google class TransferJob include Google::Apis::Core::Hashable + # This field cannot be changed by user requests. + # Corresponds to the JSON property `creationTime` + # @return [String] + attr_accessor :creation_time + + # This field cannot be changed by user requests. + # Corresponds to the JSON property `deletionTime` + # @return [String] + attr_accessor :deletion_time + # A description provided by the user for the job. Its max length is 1024 # bytes when Unicode-encoded. # Corresponds to the JSON property `description` @@ -806,34 +830,9 @@ module Google attr_accessor :description # This field cannot be changed by user requests. - # Corresponds to the JSON property `creationTime` + # Corresponds to the JSON property `lastModificationTime` # @return [String] - attr_accessor :creation_time - - # Configuration for running a transfer. - # Corresponds to the JSON property `transferSpec` - # @return [Google::Apis::StoragetransferV1::TransferSpec] - attr_accessor :transfer_spec - - # Status of the job. This value MUST be specified for - # `CreateTransferJobRequests`. - # NOTE: The effect of the new job status takes place during a subsequent job - # run. For example, if you change the job status from `ENABLED` to - # `DISABLED`, and an operation spawned by the transfer is running, the status - # change would not affect the current operation. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - # Transfers can be scheduled to recur or to run just once. - # Corresponds to the JSON property `schedule` - # @return [Google::Apis::StoragetransferV1::Schedule] - attr_accessor :schedule - - # This field cannot be changed by user requests. - # Corresponds to the JSON property `deletionTime` - # @return [String] - attr_accessor :deletion_time + attr_accessor :last_modification_time # A globally unique name assigned by Storage Transfer Service when the # job is created. This field should be left empty in requests to create a new @@ -849,10 +848,25 @@ module Google # @return [String] attr_accessor :project_id - # This field cannot be changed by user requests. - # Corresponds to the JSON property `lastModificationTime` + # Transfers can be scheduled to recur or to run just once. + # Corresponds to the JSON property `schedule` + # @return [Google::Apis::StoragetransferV1::Schedule] + attr_accessor :schedule + + # Status of the job. This value MUST be specified for + # `CreateTransferJobRequests`. + # NOTE: The effect of the new job status takes place during a subsequent job + # run. For example, if you change the job status from `ENABLED` to + # `DISABLED`, and an operation spawned by the transfer is running, the status + # change would not affect the current operation. + # Corresponds to the JSON property `status` # @return [String] - attr_accessor :last_modification_time + attr_accessor :status + + # Configuration for running a transfer. + # Corresponds to the JSON property `transferSpec` + # @return [Google::Apis::StoragetransferV1::TransferSpec] + attr_accessor :transfer_spec def initialize(**args) update!(**args) @@ -860,99 +874,15 @@ module Google # Update properties of this object def update!(**args) - @description = args[:description] if args.key?(:description) @creation_time = args[:creation_time] if args.key?(:creation_time) - @transfer_spec = args[:transfer_spec] if args.key?(:transfer_spec) - @status = args[:status] if args.key?(:status) - @schedule = args[:schedule] if args.key?(:schedule) @deletion_time = args[:deletion_time] if args.key?(:deletion_time) + @description = args[:description] if args.key?(:description) + @last_modification_time = args[:last_modification_time] if args.key?(:last_modification_time) @name = args[:name] if args.key?(:name) @project_id = args[:project_id] if args.key?(:project_id) - @last_modification_time = args[:last_modification_time] if args.key?(:last_modification_time) - end - end - - # Transfers can be scheduled to recur or to run just once. - class Schedule - include Google::Apis::Core::Hashable - - # Represents a whole calendar date, e.g. 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. The day may be 0 to - # represent a year and month where the day is not significant, e.g. credit card - # expiration date. The year may be 0 to represent a month and day independent - # of year, e.g. anniversary date. Related types are google.type.TimeOfDay - # and `google.protobuf.Timestamp`. - # Corresponds to the JSON property `scheduleEndDate` - # @return [Google::Apis::StoragetransferV1::Date] - attr_accessor :schedule_end_date - - # Represents a time of day. The date and time zone are either not significant - # or are specified elsewhere. An API may choose to allow leap seconds. Related - # types are google.type.Date and `google.protobuf.Timestamp`. - # Corresponds to the JSON property `startTimeOfDay` - # @return [Google::Apis::StoragetransferV1::TimeOfDay] - attr_accessor :start_time_of_day - - # Represents a whole calendar date, e.g. 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. The day may be 0 to - # represent a year and month where the day is not significant, e.g. credit card - # expiration date. The year may be 0 to represent a month and day independent - # of year, e.g. anniversary date. Related types are google.type.TimeOfDay - # and `google.protobuf.Timestamp`. - # Corresponds to the JSON property `scheduleStartDate` - # @return [Google::Apis::StoragetransferV1::Date] - attr_accessor :schedule_start_date - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @schedule_end_date = args[:schedule_end_date] if args.key?(:schedule_end_date) - @start_time_of_day = args[:start_time_of_day] if args.key?(:start_time_of_day) - @schedule_start_date = args[:schedule_start_date] if args.key?(:schedule_start_date) - end - end - - # Represents a whole calendar date, e.g. 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. The day may be 0 to - # represent a year and month where the day is not significant, e.g. credit card - # expiration date. The year may be 0 to represent a month and day independent - # of year, e.g. anniversary date. Related types are google.type.TimeOfDay - # and `google.protobuf.Timestamp`. - class Date - include Google::Apis::Core::Hashable - - # 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 - - # Month of year. Must be from 1 to 12. - # Corresponds to the JSON property `month` - # @return [Fixnum] - attr_accessor :month - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @day = args[:day] if args.key?(:day) - @year = args[:year] if args.key?(:year) - @month = args[:month] if args.key?(:month) + @schedule = args[:schedule] if args.key?(:schedule) + @status = args[:status] if args.key?(:status) + @transfer_spec = args[:transfer_spec] if args.key?(:transfer_spec) end end @@ -960,35 +890,15 @@ module Google class TransferOperation include Google::Apis::Core::Hashable - # End time of this transfer execution. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # Start time of this transfer execution. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # The name of the transfer job that triggers this transfer operation. - # Corresponds to the JSON property `transferJobName` - # @return [String] - attr_accessor :transfer_job_name - - # Configuration for running a transfer. - # Corresponds to the JSON property `transferSpec` - # @return [Google::Apis::StoragetransferV1::TransferSpec] - attr_accessor :transfer_spec - # A collection of counters that report the progress of a transfer operation. # Corresponds to the JSON property `counters` # @return [Google::Apis::StoragetransferV1::TransferCounters] attr_accessor :counters - # Status of the transfer operation. - # Corresponds to the JSON property `status` + # End time of this transfer execution. + # Corresponds to the JSON property `endTime` # @return [String] - attr_accessor :status + attr_accessor :end_time # Summarizes errors encountered with sample error log entries. # Corresponds to the JSON property `errorBreakdowns` @@ -1006,106 +916,193 @@ module Google # @return [String] attr_accessor :project_id + # Start time of this transfer execution. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Status of the transfer operation. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # The name of the transfer job that triggers this transfer operation. + # Corresponds to the JSON property `transferJobName` + # @return [String] + attr_accessor :transfer_job_name + + # Configuration for running a transfer. + # Corresponds to the JSON property `transferSpec` + # @return [Google::Apis::StoragetransferV1::TransferSpec] + attr_accessor :transfer_spec + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @end_time = args[:end_time] if args.key?(:end_time) - @start_time = args[:start_time] if args.key?(:start_time) - @transfer_job_name = args[:transfer_job_name] if args.key?(:transfer_job_name) - @transfer_spec = args[:transfer_spec] if args.key?(:transfer_spec) @counters = args[:counters] if args.key?(:counters) - @status = args[:status] if args.key?(:status) + @end_time = args[:end_time] if args.key?(:end_time) @error_breakdowns = args[:error_breakdowns] if args.key?(:error_breakdowns) @name = args[:name] if args.key?(:name) @project_id = args[:project_id] if args.key?(:project_id) + @start_time = args[:start_time] if args.key?(:start_time) + @status = args[:status] if args.key?(:status) + @transfer_job_name = args[:transfer_job_name] if args.key?(:transfer_job_name) + @transfer_spec = args[:transfer_spec] if args.key?(:transfer_spec) end end - # An AwsS3Data can be a data source, but not a data sink. - # In an AwsS3Data, an object's name is the S3 object's key name. - class AwsS3Data + # TransferOptions uses three boolean parameters to define the actions + # to be performed on objects in a transfer. + class TransferOptions include Google::Apis::Core::Hashable - # AWS access key (see - # [AWS Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws- - # security-credentials.html)). - # Corresponds to the JSON property `awsAccessKey` - # @return [Google::Apis::StoragetransferV1::AwsAccessKey] - attr_accessor :aws_access_key + # Whether objects should be deleted from the source after they are + # transferred to the sink. Note that this option and + # `deleteObjectsUniqueInSink` are mutually exclusive. + # Corresponds to the JSON property `deleteObjectsFromSourceAfterTransfer` + # @return [Boolean] + attr_accessor :delete_objects_from_source_after_transfer + alias_method :delete_objects_from_source_after_transfer?, :delete_objects_from_source_after_transfer - # S3 Bucket name (see - # [Creating a bucket](http://docs.aws.amazon.com/AmazonS3/latest/dev/create- - # bucket-get-location-example.html)). + # Whether objects that exist only in the sink should be deleted. Note that + # this option and `deleteObjectsFromSourceAfterTransfer` are mutually + # exclusive. + # Corresponds to the JSON property `deleteObjectsUniqueInSink` + # @return [Boolean] + attr_accessor :delete_objects_unique_in_sink + alias_method :delete_objects_unique_in_sink?, :delete_objects_unique_in_sink + + # Whether overwriting objects that already exist in the sink is allowed. + # Corresponds to the JSON property `overwriteObjectsAlreadyExistingInSink` + # @return [Boolean] + attr_accessor :overwrite_objects_already_existing_in_sink + alias_method :overwrite_objects_already_existing_in_sink?, :overwrite_objects_already_existing_in_sink + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @delete_objects_from_source_after_transfer = args[:delete_objects_from_source_after_transfer] if args.key?(:delete_objects_from_source_after_transfer) + @delete_objects_unique_in_sink = args[:delete_objects_unique_in_sink] if args.key?(:delete_objects_unique_in_sink) + @overwrite_objects_already_existing_in_sink = args[:overwrite_objects_already_existing_in_sink] if args.key?(:overwrite_objects_already_existing_in_sink) + end + end + + # Configuration for running a transfer. + class TransferSpec + include Google::Apis::Core::Hashable + + # An AwsS3Data can be a data source, but not a data sink. + # In an AwsS3Data, an object's name is the S3 object's key name. + # Corresponds to the JSON property `awsS3DataSource` + # @return [Google::Apis::StoragetransferV1::AwsS3Data] + attr_accessor :aws_s3_data_source + + # In a GcsData, an object's name is the Google Cloud Storage object's name and + # its `lastModificationTime` refers to the object's updated time, which changes + # when the content or the metadata of the object is updated. + # Corresponds to the JSON property `gcsDataSink` + # @return [Google::Apis::StoragetransferV1::GcsData] + attr_accessor :gcs_data_sink + + # In a GcsData, an object's name is the Google Cloud Storage object's name and + # its `lastModificationTime` refers to the object's updated time, which changes + # when the content or the metadata of the object is updated. + # Corresponds to the JSON property `gcsDataSource` + # @return [Google::Apis::StoragetransferV1::GcsData] + attr_accessor :gcs_data_source + + # An HttpData specifies a list of objects on the web to be transferred over + # HTTP. The information of the objects to be transferred is contained in a + # file referenced by a URL. The first line in the file must be + # "TsvHttpData-1.0", which specifies the format of the file. Subsequent lines + # specify the information of the list of objects, one object per list entry. + # Each entry has the following tab-delimited fields: + # * HTTP URL - The location of the object. + # * Length - The size of the object in bytes. + # * MD5 - The base64-encoded MD5 hash of the object. + # For an example of a valid TSV file, see + # [Transferring data from URLs](https://cloud.google.com/storage/transfer/#urls) + # When transferring data based on a URL list, keep the following in mind: + # * When an object located at `http(s)://hostname:port/` is + # transferred + # to a data sink, the name of the object at the data sink is + # `/`. + # * If the specified size of an object does not match the actual size of the + # object fetched, the object will not be transferred. + # * If the specified MD5 does not match the MD5 computed from the transferred + # bytes, the object transfer will fail. For more information, see + # [Generating MD5 hashes](https://cloud.google.com/storage/transfer/#md5) + # * Ensure that each URL you specify is publicly accessible. For + # example, in Google Cloud Storage you can + # [share an object publicly] + # (https://cloud.google.com/storage/docs/cloud-console#_sharingdata) and get + # a link to it. + # * Storage Transfer Service obeys `robots.txt` rules and requires the source + # HTTP server to support `Range` requests and to return a `Content-Length` + # header in each response. + # * [ObjectConditions](#ObjectConditions) have no effect when filtering objects + # to transfer. + # Corresponds to the JSON property `httpDataSource` + # @return [Google::Apis::StoragetransferV1::HttpData] + attr_accessor :http_data_source + + # Conditions that determine which objects will be transferred. + # Corresponds to the JSON property `objectConditions` + # @return [Google::Apis::StoragetransferV1::ObjectConditions] + attr_accessor :object_conditions + + # TransferOptions uses three boolean parameters to define the actions + # to be performed on objects in a transfer. + # Corresponds to the JSON property `transferOptions` + # @return [Google::Apis::StoragetransferV1::TransferOptions] + attr_accessor :transfer_options + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @aws_s3_data_source = args[:aws_s3_data_source] if args.key?(:aws_s3_data_source) + @gcs_data_sink = args[:gcs_data_sink] if args.key?(:gcs_data_sink) + @gcs_data_source = args[:gcs_data_source] if args.key?(:gcs_data_source) + @http_data_source = args[:http_data_source] if args.key?(:http_data_source) + @object_conditions = args[:object_conditions] if args.key?(:object_conditions) + @transfer_options = args[:transfer_options] if args.key?(:transfer_options) + end + end + + # Request passed to UpdateTransferJob. + class UpdateTransferJobRequest + include Google::Apis::Core::Hashable + + # The ID of the Google Cloud Platform Console project that owns the job. # Required. - # Corresponds to the JSON property `bucketName` + # Corresponds to the JSON property `projectId` # @return [String] - attr_accessor :bucket_name + attr_accessor :project_id - def initialize(**args) - update!(**args) - end + # This resource represents the configuration of a transfer job that runs + # periodically. + # Corresponds to the JSON property `transferJob` + # @return [Google::Apis::StoragetransferV1::TransferJob] + attr_accessor :transfer_job - # Update properties of this object - def update!(**args) - @aws_access_key = args[:aws_access_key] if args.key?(:aws_access_key) - @bucket_name = args[:bucket_name] if args.key?(:bucket_name) - 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 - - # AWS access key (see - # [AWS Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws- - # security-credentials.html)). - class AwsAccessKey - include Google::Apis::Core::Hashable - - # AWS secret access key. This field is not returned in RPC responses. - # Required. - # Corresponds to the JSON property `secretAccessKey` + # The field mask of the fields in `transferJob` that are to be updated in + # this request. Fields in `transferJob` that can be updated are: + # `description`, `transferSpec`, and `status`. To update the `transferSpec` + # of the job, a complete transfer specification has to be provided. An + # incomplete specification which misses any required fields will be rejected + # with the error `INVALID_ARGUMENT`. + # Corresponds to the JSON property `updateTransferJobFieldMask` # @return [String] - attr_accessor :secret_access_key - - # AWS access key ID. - # Required. - # Corresponds to the JSON property `accessKeyId` - # @return [String] - attr_accessor :access_key_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @secret_access_key = args[:secret_access_key] if args.key?(:secret_access_key) - @access_key_id = args[:access_key_id] if args.key?(:access_key_id) - end - end - - # Request passed to PauseTransferOperation. - class PauseTransferOperationRequest - include Google::Apis::Core::Hashable + attr_accessor :update_transfer_job_field_mask def initialize(**args) update!(**args) @@ -1113,6 +1110,9 @@ module Google # Update properties of this object def update!(**args) + @project_id = args[:project_id] if args.key?(:project_id) + @transfer_job = args[:transfer_job] if args.key?(:transfer_job) + @update_transfer_job_field_mask = args[:update_transfer_job_field_mask] if args.key?(:update_transfer_job_field_mask) end end end diff --git a/generated/google/apis/storagetransfer_v1/representations.rb b/generated/google/apis/storagetransfer_v1/representations.rb index 107e8b0a3..0b8675ad3 100644 --- a/generated/google/apis/storagetransfer_v1/representations.rb +++ b/generated/google/apis/storagetransfer_v1/representations.rb @@ -22,7 +22,31 @@ module Google module Apis module StoragetransferV1 - class TransferCounters + class AwsAccessKey + 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 Date + 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 ErrorLogEntry class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -34,25 +58,31 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class HttpData - 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 ListTransferJobsResponse + class GoogleServiceAccount class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class UpdateTransferJobRequest + class HttpData + 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 ListTransferJobsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -70,6 +100,54 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class PauseTransferOperationRequest + 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 Schedule + 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 TimeOfDay + 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 TransferJob + 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 TransferOptions class Representation < Google::Apis::Core::JsonRepresentation; end @@ -82,109 +160,49 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ResumeTransferOperationRequest - 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 GoogleServiceAccount - 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 ErrorLogEntry - 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 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 TransferOperation - 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 Empty + class UpdateTransferJobRequest 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 PauseTransferOperationRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TransferCounters # @private class Representation < Google::Apis::Core::JsonRepresentation - property :bytes_deleted_from_source, :numeric_string => true, as: 'bytesDeletedFromSource' - property :objects_found_from_source, :numeric_string => true, as: 'objectsFoundFromSource' - property :objects_failed_to_delete_from_sink, :numeric_string => true, as: 'objectsFailedToDeleteFromSink' - property :objects_deleted_from_sink, :numeric_string => true, as: 'objectsDeletedFromSink' - property :objects_found_only_from_sink, :numeric_string => true, as: 'objectsFoundOnlyFromSink' - property :bytes_from_source_skipped_by_sync, :numeric_string => true, as: 'bytesFromSourceSkippedBySync' - property :bytes_deleted_from_sink, :numeric_string => true, as: 'bytesDeletedFromSink' - property :bytes_failed_to_delete_from_sink, :numeric_string => true, as: 'bytesFailedToDeleteFromSink' - property :bytes_from_source_failed, :numeric_string => true, as: 'bytesFromSourceFailed' - property :objects_from_source_failed, :numeric_string => true, as: 'objectsFromSourceFailed' - property :objects_copied_to_sink, :numeric_string => true, as: 'objectsCopiedToSink' - property :bytes_found_only_from_sink, :numeric_string => true, as: 'bytesFoundOnlyFromSink' - property :objects_deleted_from_source, :numeric_string => true, as: 'objectsDeletedFromSource' - property :bytes_copied_to_sink, :numeric_string => true, as: 'bytesCopiedToSink' - property :bytes_found_from_source, :numeric_string => true, as: 'bytesFoundFromSource' - property :objects_from_source_skipped_by_sync, :numeric_string => true, as: 'objectsFromSourceSkippedBySync' + property :access_key_id, as: 'accessKeyId' + property :secret_access_key, as: 'secretAccessKey' + end + end + + class AwsS3Data + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :aws_access_key, as: 'awsAccessKey', class: Google::Apis::StoragetransferV1::AwsAccessKey, decorator: Google::Apis::StoragetransferV1::AwsAccessKey::Representation + + property :bucket_name, as: 'bucketName' + end + end + + class Date + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :day, as: 'day' + property :month, as: 'month' + property :year, as: 'year' + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class ErrorLogEntry + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :error_details, as: 'errorDetails' + property :url, as: 'url' end end @@ -198,13 +216,6 @@ module Google end end - class HttpData - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :list_url, as: 'listUrl' - end - end - class GcsData # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -212,86 +223,17 @@ module Google end end - class ListTransferJobsResponse + class GoogleServiceAccount # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :transfer_jobs, as: 'transferJobs', class: Google::Apis::StoragetransferV1::TransferJob, decorator: Google::Apis::StoragetransferV1::TransferJob::Representation - + property :account_email, as: 'accountEmail' end end - class UpdateTransferJobRequest + class HttpData # @private class Representation < Google::Apis::Core::JsonRepresentation - property :project_id, as: 'projectId' - property :update_transfer_job_field_mask, as: 'updateTransferJobFieldMask' - property :transfer_job, as: 'transferJob', class: Google::Apis::StoragetransferV1::TransferJob, decorator: Google::Apis::StoragetransferV1::TransferJob::Representation - - end - end - - class ObjectConditions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :exclude_prefixes, as: 'excludePrefixes' - property :min_time_elapsed_since_last_modification, as: 'minTimeElapsedSinceLastModification' - property :max_time_elapsed_since_last_modification, as: 'maxTimeElapsedSinceLastModification' - collection :include_prefixes, as: 'includePrefixes' - end - end - - class Operation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :done, as: 'done' - hash :response, as: 'response' - property :name, as: 'name' - property :error, as: 'error', class: Google::Apis::StoragetransferV1::Status, decorator: Google::Apis::StoragetransferV1::Status::Representation - - hash :metadata, as: 'metadata' - end - end - - class TransferOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :delete_objects_unique_in_sink, as: 'deleteObjectsUniqueInSink' - property :overwrite_objects_already_existing_in_sink, as: 'overwriteObjectsAlreadyExistingInSink' - property :delete_objects_from_source_after_transfer, as: 'deleteObjectsFromSourceAfterTransfer' - end - end - - class TransferSpec - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :transfer_options, as: 'transferOptions', class: Google::Apis::StoragetransferV1::TransferOptions, decorator: Google::Apis::StoragetransferV1::TransferOptions::Representation - - property :aws_s3_data_source, as: 'awsS3DataSource', class: Google::Apis::StoragetransferV1::AwsS3Data, decorator: Google::Apis::StoragetransferV1::AwsS3Data::Representation - - property :http_data_source, as: 'httpDataSource', class: Google::Apis::StoragetransferV1::HttpData, decorator: Google::Apis::StoragetransferV1::HttpData::Representation - - property :object_conditions, as: 'objectConditions', class: Google::Apis::StoragetransferV1::ObjectConditions, decorator: Google::Apis::StoragetransferV1::ObjectConditions::Representation - - property :gcs_data_sink, as: 'gcsDataSink', class: Google::Apis::StoragetransferV1::GcsData, decorator: Google::Apis::StoragetransferV1::GcsData::Representation - - property :gcs_data_source, as: 'gcsDataSource', class: Google::Apis::StoragetransferV1::GcsData, decorator: Google::Apis::StoragetransferV1::GcsData::Representation - - end - end - - class ResumeTransferOperationRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class Status - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :details, as: 'details' - property :code, as: 'code' - property :message, as: 'message' + property :list_url, as: 'listUrl' end end @@ -304,107 +246,34 @@ module Google end end - class GoogleServiceAccount + class ListTransferJobsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_email, as: 'accountEmail' + property :next_page_token, as: 'nextPageToken' + collection :transfer_jobs, as: 'transferJobs', class: Google::Apis::StoragetransferV1::TransferJob, decorator: Google::Apis::StoragetransferV1::TransferJob::Representation + end end - class TimeOfDay + class ObjectConditions # @private class Representation < Google::Apis::Core::JsonRepresentation - property :hours, as: 'hours' - property :nanos, as: 'nanos' - property :seconds, as: 'seconds' - property :minutes, as: 'minutes' + collection :exclude_prefixes, as: 'excludePrefixes' + collection :include_prefixes, as: 'includePrefixes' + property :max_time_elapsed_since_last_modification, as: 'maxTimeElapsedSinceLastModification' + property :min_time_elapsed_since_last_modification, as: 'minTimeElapsedSinceLastModification' end end - class ErrorLogEntry + class Operation # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :error_details, as: 'errorDetails' - property :url, as: 'url' - end - end + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::StoragetransferV1::Status, decorator: Google::Apis::StoragetransferV1::Status::Representation - class TransferJob - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :creation_time, as: 'creationTime' - property :transfer_spec, as: 'transferSpec', class: Google::Apis::StoragetransferV1::TransferSpec, decorator: Google::Apis::StoragetransferV1::TransferSpec::Representation - - property :status, as: 'status' - property :schedule, as: 'schedule', class: Google::Apis::StoragetransferV1::Schedule, decorator: Google::Apis::StoragetransferV1::Schedule::Representation - - property :deletion_time, as: 'deletionTime' + hash :metadata, as: 'metadata' property :name, as: 'name' - property :project_id, as: 'projectId' - property :last_modification_time, as: 'lastModificationTime' - end - end - - class Schedule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :schedule_end_date, as: 'scheduleEndDate', class: Google::Apis::StoragetransferV1::Date, decorator: Google::Apis::StoragetransferV1::Date::Representation - - property :start_time_of_day, as: 'startTimeOfDay', class: Google::Apis::StoragetransferV1::TimeOfDay, decorator: Google::Apis::StoragetransferV1::TimeOfDay::Representation - - property :schedule_start_date, as: 'scheduleStartDate', class: Google::Apis::StoragetransferV1::Date, decorator: Google::Apis::StoragetransferV1::Date::Representation - - end - end - - class Date - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :day, as: 'day' - property :year, as: 'year' - property :month, as: 'month' - end - end - - class TransferOperation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :end_time, as: 'endTime' - property :start_time, as: 'startTime' - property :transfer_job_name, as: 'transferJobName' - property :transfer_spec, as: 'transferSpec', class: Google::Apis::StoragetransferV1::TransferSpec, decorator: Google::Apis::StoragetransferV1::TransferSpec::Representation - - property :counters, as: 'counters', class: Google::Apis::StoragetransferV1::TransferCounters, decorator: Google::Apis::StoragetransferV1::TransferCounters::Representation - - property :status, as: 'status' - collection :error_breakdowns, as: 'errorBreakdowns', class: Google::Apis::StoragetransferV1::ErrorSummary, decorator: Google::Apis::StoragetransferV1::ErrorSummary::Representation - - property :name, as: 'name' - property :project_id, as: 'projectId' - end - end - - class AwsS3Data - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :aws_access_key, as: 'awsAccessKey', class: Google::Apis::StoragetransferV1::AwsAccessKey, decorator: Google::Apis::StoragetransferV1::AwsAccessKey::Representation - - property :bucket_name, as: 'bucketName' - end - end - - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class AwsAccessKey - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :secret_access_key, as: 'secretAccessKey' - property :access_key_id, as: 'accessKeyId' + hash :response, as: 'response' end end @@ -413,6 +282,137 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation end end + + class ResumeTransferOperationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Schedule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :schedule_end_date, as: 'scheduleEndDate', class: Google::Apis::StoragetransferV1::Date, decorator: Google::Apis::StoragetransferV1::Date::Representation + + property :schedule_start_date, as: 'scheduleStartDate', class: Google::Apis::StoragetransferV1::Date, decorator: Google::Apis::StoragetransferV1::Date::Representation + + property :start_time_of_day, as: 'startTimeOfDay', class: Google::Apis::StoragetransferV1::TimeOfDay, decorator: Google::Apis::StoragetransferV1::TimeOfDay::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 TimeOfDay + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :hours, as: 'hours' + property :minutes, as: 'minutes' + property :nanos, as: 'nanos' + property :seconds, as: 'seconds' + end + end + + class TransferCounters + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bytes_copied_to_sink, :numeric_string => true, as: 'bytesCopiedToSink' + property :bytes_deleted_from_sink, :numeric_string => true, as: 'bytesDeletedFromSink' + property :bytes_deleted_from_source, :numeric_string => true, as: 'bytesDeletedFromSource' + property :bytes_failed_to_delete_from_sink, :numeric_string => true, as: 'bytesFailedToDeleteFromSink' + property :bytes_found_from_source, :numeric_string => true, as: 'bytesFoundFromSource' + property :bytes_found_only_from_sink, :numeric_string => true, as: 'bytesFoundOnlyFromSink' + property :bytes_from_source_failed, :numeric_string => true, as: 'bytesFromSourceFailed' + property :bytes_from_source_skipped_by_sync, :numeric_string => true, as: 'bytesFromSourceSkippedBySync' + property :objects_copied_to_sink, :numeric_string => true, as: 'objectsCopiedToSink' + property :objects_deleted_from_sink, :numeric_string => true, as: 'objectsDeletedFromSink' + property :objects_deleted_from_source, :numeric_string => true, as: 'objectsDeletedFromSource' + property :objects_failed_to_delete_from_sink, :numeric_string => true, as: 'objectsFailedToDeleteFromSink' + property :objects_found_from_source, :numeric_string => true, as: 'objectsFoundFromSource' + property :objects_found_only_from_sink, :numeric_string => true, as: 'objectsFoundOnlyFromSink' + property :objects_from_source_failed, :numeric_string => true, as: 'objectsFromSourceFailed' + property :objects_from_source_skipped_by_sync, :numeric_string => true, as: 'objectsFromSourceSkippedBySync' + end + end + + class TransferJob + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creation_time, as: 'creationTime' + property :deletion_time, as: 'deletionTime' + property :description, as: 'description' + property :last_modification_time, as: 'lastModificationTime' + property :name, as: 'name' + property :project_id, as: 'projectId' + property :schedule, as: 'schedule', class: Google::Apis::StoragetransferV1::Schedule, decorator: Google::Apis::StoragetransferV1::Schedule::Representation + + property :status, as: 'status' + property :transfer_spec, as: 'transferSpec', class: Google::Apis::StoragetransferV1::TransferSpec, decorator: Google::Apis::StoragetransferV1::TransferSpec::Representation + + end + end + + class TransferOperation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :counters, as: 'counters', class: Google::Apis::StoragetransferV1::TransferCounters, decorator: Google::Apis::StoragetransferV1::TransferCounters::Representation + + property :end_time, as: 'endTime' + collection :error_breakdowns, as: 'errorBreakdowns', class: Google::Apis::StoragetransferV1::ErrorSummary, decorator: Google::Apis::StoragetransferV1::ErrorSummary::Representation + + property :name, as: 'name' + property :project_id, as: 'projectId' + property :start_time, as: 'startTime' + property :status, as: 'status' + property :transfer_job_name, as: 'transferJobName' + property :transfer_spec, as: 'transferSpec', class: Google::Apis::StoragetransferV1::TransferSpec, decorator: Google::Apis::StoragetransferV1::TransferSpec::Representation + + end + end + + class TransferOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :delete_objects_from_source_after_transfer, as: 'deleteObjectsFromSourceAfterTransfer' + property :delete_objects_unique_in_sink, as: 'deleteObjectsUniqueInSink' + property :overwrite_objects_already_existing_in_sink, as: 'overwriteObjectsAlreadyExistingInSink' + end + end + + class TransferSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :aws_s3_data_source, as: 'awsS3DataSource', class: Google::Apis::StoragetransferV1::AwsS3Data, decorator: Google::Apis::StoragetransferV1::AwsS3Data::Representation + + property :gcs_data_sink, as: 'gcsDataSink', class: Google::Apis::StoragetransferV1::GcsData, decorator: Google::Apis::StoragetransferV1::GcsData::Representation + + property :gcs_data_source, as: 'gcsDataSource', class: Google::Apis::StoragetransferV1::GcsData, decorator: Google::Apis::StoragetransferV1::GcsData::Representation + + property :http_data_source, as: 'httpDataSource', class: Google::Apis::StoragetransferV1::HttpData, decorator: Google::Apis::StoragetransferV1::HttpData::Representation + + property :object_conditions, as: 'objectConditions', class: Google::Apis::StoragetransferV1::ObjectConditions, decorator: Google::Apis::StoragetransferV1::ObjectConditions::Representation + + property :transfer_options, as: 'transferOptions', class: Google::Apis::StoragetransferV1::TransferOptions, decorator: Google::Apis::StoragetransferV1::TransferOptions::Representation + + end + end + + class UpdateTransferJobRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :project_id, as: 'projectId' + property :transfer_job, as: 'transferJob', class: Google::Apis::StoragetransferV1::TransferJob, decorator: Google::Apis::StoragetransferV1::TransferJob::Representation + + property :update_transfer_job_field_mask, as: 'updateTransferJobFieldMask' + end + end end end end diff --git a/generated/google/apis/storagetransfer_v1/service.rb b/generated/google/apis/storagetransfer_v1/service.rb index c8bbeff33..458528f3d 100644 --- a/generated/google/apis/storagetransfer_v1/service.rb +++ b/generated/google/apis/storagetransfer_v1/service.rb @@ -87,10 +87,8 @@ module Google execute_or_queue_command(command, &block) end - # Cancels a transfer. Use the get method 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. + # Creates a transfer job that runs periodically. + # @param [Google::Apis::StoragetransferV1::TransferJob] transfer_job_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -100,244 +98,20 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::StoragetransferV1::Empty] parsed result object + # @yieldparam result [Google::Apis::StoragetransferV1::TransferJob] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::StoragetransferV1::Empty] + # @return [Google::Apis::StoragetransferV1::TransferJob] # # @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_transfer_operation(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:cancel', options) - command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation - command.response_class = Google::Apis::StoragetransferV1::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 - - # 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::StoragetransferV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::StoragetransferV1::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_transfer_operation(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::StoragetransferV1::Operation::Representation - command.response_class = Google::Apis::StoragetransferV1::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 - - # Pauses a transfer operation. - # @param [String] name - # The name of the transfer operation. - # Required. - # @param [Google::Apis::StoragetransferV1::PauseTransferOperationRequest] pause_transfer_operation_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::StoragetransferV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::StoragetransferV1::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 pause_transfer_operation(name, pause_transfer_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:pause', options) - command.request_representation = Google::Apis::StoragetransferV1::PauseTransferOperationRequest::Representation - command.request_object = pause_transfer_operation_request_object - command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation - command.response_class = Google::Apis::StoragetransferV1::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 - - # This method is not supported and the server returns `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::StoragetransferV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::StoragetransferV1::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_transfer_operation(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+name}', options) - command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation - command.response_class = Google::Apis::StoragetransferV1::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 - - # 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 allows API services to override the binding - # to use different resource name schemes, such as `users/*/operations`. To - # override the binding, API services can add a binding such as - # `"/v1/`name=users/*`/operations"` to their service configuration. - # For backwards compatibility, the default name includes the operations - # collection id, however overriding users must ensure the name binding - # is the parent resource, without the operations collection id. - # @param [String] name - # The value `transferOperations`. - # @param [String] filter - # A list of query parameters specified as JSON text in the form of `\"project_id\ - # " : \"my_project_id\", \"job_names\" : [\"jobid1\", \"jobid2\",...], \" - # operation_names\" : [\"opid1\", \"opid2\",...], \"transfer_statuses\":[\" - # status1\", \"status2\",...]`. Since `job_names`, `operation_names`, and ` - # transfer_statuses` support multiple values, they must be specified with array - # notation. `job_names`, `operation_names`, and `transfer_statuses` are optional. - # @param [String] page_token - # The list page token. - # @param [Fixnum] page_size - # The list page size. The max allowed value is 256. - # @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::StoragetransferV1::ListOperationsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::StoragetransferV1::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_transfer_operations(name, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::StoragetransferV1::ListOperationsResponse::Representation - command.response_class = Google::Apis::StoragetransferV1::ListOperationsResponse - command.params['name'] = name unless name.nil? - command.query['filter'] = filter unless filter.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Resumes a transfer operation that is paused. - # @param [String] name - # The name of the transfer operation. - # Required. - # @param [Google::Apis::StoragetransferV1::ResumeTransferOperationRequest] resume_transfer_operation_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::StoragetransferV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::StoragetransferV1::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 resume_transfer_operation(name, resume_transfer_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:resume', options) - command.request_representation = Google::Apis::StoragetransferV1::ResumeTransferOperationRequest::Representation - command.request_object = resume_transfer_operation_request_object - command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation - command.response_class = Google::Apis::StoragetransferV1::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 - - # Lists transfer jobs. - # @param [String] page_token - # The list page token. - # @param [Fixnum] page_size - # The list page size. The max allowed value is 256. - # @param [String] filter - # A list of query parameters specified as JSON text in the form of - # `"project_id":"my_project_id", - # "job_names":["jobid1","jobid2",...], - # "job_statuses":["status1","status2",...]`. - # Since `job_names` and `job_statuses` support multiple values, their values - # must be specified with array notation. `project_id` is required. `job_names` - # and `job_statuses` are optional. The valid values for `job_statuses` are - # case-insensitive: `ENABLED`, `DISABLED`, and `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::StoragetransferV1::ListTransferJobsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::StoragetransferV1::ListTransferJobsResponse] - # - # @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_transfer_jobs(page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/transferJobs', options) - command.response_representation = Google::Apis::StoragetransferV1::ListTransferJobsResponse::Representation - command.response_class = Google::Apis::StoragetransferV1::ListTransferJobsResponse - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['filter'] = filter unless filter.nil? + def create_transfer_job(transfer_job_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/transferJobs', options) + command.request_representation = Google::Apis::StoragetransferV1::TransferJob::Representation + command.request_object = transfer_job_object + command.response_representation = Google::Apis::StoragetransferV1::TransferJob::Representation + command.response_class = Google::Apis::StoragetransferV1::TransferJob command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -378,6 +152,49 @@ module Google execute_or_queue_command(command, &block) end + # Lists transfer jobs. + # @param [String] filter + # A list of query parameters specified as JSON text in the form of + # `"project_id":"my_project_id", + # "job_names":["jobid1","jobid2",...], + # "job_statuses":["status1","status2",...]`. + # Since `job_names` and `job_statuses` support multiple values, their values + # must be specified with array notation. `project_id` is required. `job_names` + # and `job_statuses` are optional. The valid values for `job_statuses` are + # case-insensitive: `ENABLED`, `DISABLED`, and `DELETED`. + # @param [Fixnum] page_size + # The list page size. The max allowed value is 256. + # @param [String] page_token + # The 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::StoragetransferV1::ListTransferJobsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::StoragetransferV1::ListTransferJobsResponse] + # + # @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_transfer_jobs(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/transferJobs', options) + command.response_representation = Google::Apis::StoragetransferV1::ListTransferJobsResponse::Representation + command.response_class = Google::Apis::StoragetransferV1::ListTransferJobsResponse + 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 + # Updates a transfer job. Updating a job's transfer spec does not affect # transfer operations that are running already. Updating the scheduling # of a job is not allowed. @@ -414,8 +231,10 @@ module Google execute_or_queue_command(command, &block) end - # Creates a transfer job that runs periodically. - # @param [Google::Apis::StoragetransferV1::TransferJob] transfer_job_object + # Cancels a transfer. Use the get method 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 @@ -425,20 +244,201 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::StoragetransferV1::TransferJob] parsed result object + # @yieldparam result [Google::Apis::StoragetransferV1::Empty] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::StoragetransferV1::TransferJob] + # @return [Google::Apis::StoragetransferV1::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 create_transfer_job(transfer_job_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/transferJobs', options) - command.request_representation = Google::Apis::StoragetransferV1::TransferJob::Representation - command.request_object = transfer_job_object - command.response_representation = Google::Apis::StoragetransferV1::TransferJob::Representation - command.response_class = Google::Apis::StoragetransferV1::TransferJob + def cancel_transfer_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:cancel', options) + command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation + command.response_class = Google::Apis::StoragetransferV1::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 + + # This method is not supported and the server returns `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::StoragetransferV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::StoragetransferV1::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_transfer_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation + command.response_class = Google::Apis::StoragetransferV1::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 + + # 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::StoragetransferV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::StoragetransferV1::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_transfer_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::StoragetransferV1::Operation::Representation + command.response_class = Google::Apis::StoragetransferV1::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 allows API services to override the binding + # to use different resource name schemes, such as `users/*/operations`. To + # override the binding, API services can add a binding such as + # `"/v1/`name=users/*`/operations"` to their service configuration. + # For backwards compatibility, the default name includes the operations + # collection id, however overriding users must ensure the name binding + # is the parent resource, without the operations collection id. + # @param [String] name + # The value `transferOperations`. + # @param [String] filter + # A list of query parameters specified as JSON text in the form of `\"project_id\ + # " : \"my_project_id\", \"job_names\" : [\"jobid1\", \"jobid2\",...], \" + # operation_names\" : [\"opid1\", \"opid2\",...], \"transfer_statuses\":[\" + # status1\", \"status2\",...]`. Since `job_names`, `operation_names`, and ` + # transfer_statuses` support multiple values, they must be specified with array + # notation. `job_names`, `operation_names`, and `transfer_statuses` are optional. + # @param [Fixnum] page_size + # The list page size. The max allowed value is 256. + # @param [String] page_token + # The 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::StoragetransferV1::ListOperationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::StoragetransferV1::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_transfer_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::StoragetransferV1::ListOperationsResponse::Representation + command.response_class = Google::Apis::StoragetransferV1::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 + + # Pauses a transfer operation. + # @param [String] name + # The name of the transfer operation. + # Required. + # @param [Google::Apis::StoragetransferV1::PauseTransferOperationRequest] pause_transfer_operation_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::StoragetransferV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::StoragetransferV1::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 pause_transfer_operation(name, pause_transfer_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:pause', options) + command.request_representation = Google::Apis::StoragetransferV1::PauseTransferOperationRequest::Representation + command.request_object = pause_transfer_operation_request_object + command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation + command.response_class = Google::Apis::StoragetransferV1::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 + + # Resumes a transfer operation that is paused. + # @param [String] name + # The name of the transfer operation. + # Required. + # @param [Google::Apis::StoragetransferV1::ResumeTransferOperationRequest] resume_transfer_operation_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::StoragetransferV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::StoragetransferV1::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 resume_transfer_operation(name, resume_transfer_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:resume', options) + command.request_representation = Google::Apis::StoragetransferV1::ResumeTransferOperationRequest::Representation + command.request_object = resume_transfer_operation_request_object + command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation + command.response_class = Google::Apis::StoragetransferV1::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) diff --git a/generated/google/apis/streetviewpublish_v1.rb b/generated/google/apis/streetviewpublish_v1.rb new file mode 100644 index 000000000..aa0ffc36c --- /dev/null +++ b/generated/google/apis/streetviewpublish_v1.rb @@ -0,0 +1,36 @@ +# 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/streetviewpublish_v1/service.rb' +require 'google/apis/streetviewpublish_v1/classes.rb' +require 'google/apis/streetviewpublish_v1/representations.rb' + +module Google + module Apis + # Street View Publish API + # + # Publishes 360 photos to Google Maps, along with position, orientation, and + # connectivity metadata. Apps can offer an interface for positioning, connecting, + # and uploading user-generated Street View images. + # + # @see https://developers.google.com/streetview/publish/ + module StreetviewpublishV1 + VERSION = 'V1' + REVISION = '20170824' + + # Publish and manage your 360 photos on Google Street View + AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish' + end + end +end diff --git a/generated/google/apis/streetviewpublish_v1/classes.rb b/generated/google/apis/streetviewpublish_v1/classes.rb new file mode 100644 index 000000000..1e201b0ff --- /dev/null +++ b/generated/google/apis/streetviewpublish_v1/classes.rb @@ -0,0 +1,705 @@ +# 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 StreetviewpublishV1 + + # Request to delete multiple Photos. + class BatchDeletePhotosRequest + include Google::Apis::Core::Hashable + + # Required. IDs of the Photos. For HTTP + # GET requests, the URL query parameter should be + # `photoIds=&photoIds=&...`. + # Corresponds to the JSON property `photoIds` + # @return [Array] + attr_accessor :photo_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @photo_ids = args[:photo_ids] if args.key?(:photo_ids) + end + end + + # Response to batch delete of one or more + # Photos. + class BatchDeletePhotosResponse + include Google::Apis::Core::Hashable + + # The status for the operation to delete a single + # Photo in the batch request. + # Corresponds to the JSON property `status` + # @return [Array] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @status = args[:status] if args.key?(:status) + end + end + + # Response to batch get of Photos. + class BatchGetPhotosResponse + include Google::Apis::Core::Hashable + + # List of results for each individual + # Photo requested, in the same order as + # the requests in + # BatchGetPhotos. + # Corresponds to the JSON property `results` + # @return [Array] + attr_accessor :results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @results = args[:results] if args.key?(:results) + end + end + + # Request to update the metadata of photos. + # Updating the pixels of photos is not supported. + class BatchUpdatePhotosRequest + include Google::Apis::Core::Hashable + + # Required. List of + # UpdatePhotoRequests. + # Corresponds to the JSON property `updatePhotoRequests` + # @return [Array] + attr_accessor :update_photo_requests + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @update_photo_requests = args[:update_photo_requests] if args.key?(:update_photo_requests) + end + end + + # Response to batch update of metadata of one or more + # Photos. + class BatchUpdatePhotosResponse + include Google::Apis::Core::Hashable + + # List of results for each individual + # Photo updated, in the same order as + # the request. + # Corresponds to the JSON property `results` + # @return [Array] + attr_accessor :results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @results = args[:results] if args.key?(:results) + end + end + + # A connection is the link from a source photo to a destination photo. + class Connection + include Google::Apis::Core::Hashable + + # Identifier for a Photo. + # Corresponds to the JSON property `target` + # @return [Google::Apis::StreetviewpublishV1::PhotoId] + attr_accessor :target + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @target = args[:target] if args.key?(:target) + 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 + + # 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 + # [-90.0, 90.0] and [-180.0, 180.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 latitude in degrees. It must be in the range [-90.0, +90.0]. + # Corresponds to the JSON property `latitude` + # @return [Float] + attr_accessor :latitude + + # 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 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @latitude = args[:latitude] if args.key?(:latitude) + @longitude = args[:longitude] if args.key?(:longitude) + end + end + + # Level information containing level number and its corresponding name. + class Level + include Google::Apis::Core::Hashable + + # Required. A name assigned to this Level, restricted to 3 characters. + # Consider how the elevator buttons would be labeled for this level if there + # was an elevator. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Floor number, used for ordering. 0 indicates the ground level, 1 indicates + # the first level above ground level, -1 indicates the first level under + # ground level. Non-integer values are OK. + # Corresponds to the JSON property `number` + # @return [Float] + attr_accessor :number + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @number = args[:number] if args.key?(:number) + end + end + + # Response to list all photos that belong to a user. + class ListPhotosResponse + include Google::Apis::Core::Hashable + + # Token to retrieve the next page of results, or empty if there are no more + # results in the list. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # List of photos. The maximum number of items returned is based on the + # pageSize field + # in the request. + # Corresponds to the JSON property `photos` + # @return [Array] + attr_accessor :photos + + 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) + @photos = args[:photos] if args.key?(:photos) + end + end + + # Photo is used to store 360 photos along with photo metadata. + class Photo + include Google::Apis::Core::Hashable + + # Absolute time when the photo was captured. + # When the photo has no exif timestamp, this is used to set a timestamp in + # the photo metadata. + # Corresponds to the JSON property `captureTime` + # @return [String] + attr_accessor :capture_time + + # Connections to other photos. A connection represents the link from this + # photo to another photo. + # Corresponds to the JSON property `connections` + # @return [Array] + attr_accessor :connections + + # Output only. The download URL for the photo bytes. This field is set only + # when + # GetPhotoRequest.view + # is set to + # PhotoView.INCLUDE_DOWNLOAD_URL. + # Corresponds to the JSON property `downloadUrl` + # @return [String] + attr_accessor :download_url + + # Identifier for a Photo. + # Corresponds to the JSON property `photoId` + # @return [Google::Apis::StreetviewpublishV1::PhotoId] + attr_accessor :photo_id + + # Places where this photo belongs. + # Corresponds to the JSON property `places` + # @return [Array] + attr_accessor :places + + # Raw pose measurement for an entity. + # Corresponds to the JSON property `pose` + # @return [Google::Apis::StreetviewpublishV1::Pose] + attr_accessor :pose + + # Output only. The share link for the photo. + # Corresponds to the JSON property `shareLink` + # @return [String] + attr_accessor :share_link + + # Output only. The thumbnail URL for showing a preview of the given photo. + # Corresponds to the JSON property `thumbnailUrl` + # @return [String] + attr_accessor :thumbnail_url + + # Upload reference for media files. + # Corresponds to the JSON property `uploadReference` + # @return [Google::Apis::StreetviewpublishV1::UploadRef] + attr_accessor :upload_reference + + # Output only. View count of the photo. + # Corresponds to the JSON property `viewCount` + # @return [Fixnum] + attr_accessor :view_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @capture_time = args[:capture_time] if args.key?(:capture_time) + @connections = args[:connections] if args.key?(:connections) + @download_url = args[:download_url] if args.key?(:download_url) + @photo_id = args[:photo_id] if args.key?(:photo_id) + @places = args[:places] if args.key?(:places) + @pose = args[:pose] if args.key?(:pose) + @share_link = args[:share_link] if args.key?(:share_link) + @thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url) + @upload_reference = args[:upload_reference] if args.key?(:upload_reference) + @view_count = args[:view_count] if args.key?(:view_count) + end + end + + # Identifier for a Photo. + class PhotoId + include Google::Apis::Core::Hashable + + # Required. A unique identifier for a photo. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + end + end + + # Response payload for a single + # Photo + # in batch operations including + # BatchGetPhotos + # and + # BatchUpdatePhotos. + class PhotoResponse + include Google::Apis::Core::Hashable + + # Photo is used to store 360 photos along with photo metadata. + # Corresponds to the JSON property `photo` + # @return [Google::Apis::StreetviewpublishV1::Photo] + attr_accessor :photo + + # 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` that 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. + # - 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 `status` + # @return [Google::Apis::StreetviewpublishV1::Status] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @photo = args[:photo] if args.key?(:photo) + @status = args[:status] if args.key?(:status) + end + end + + # Place metadata for an entity. + class Place + include Google::Apis::Core::Hashable + + # Required. Place identifier, as described in + # https://developers.google.com/places/place-id. + # Corresponds to the JSON property `placeId` + # @return [String] + attr_accessor :place_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @place_id = args[:place_id] if args.key?(:place_id) + end + end + + # Raw pose measurement for an entity. + class Pose + include Google::Apis::Core::Hashable + + # Altitude of the pose in meters above ground level (as defined by WGS84). + # NaN indicates an unmeasured quantity. + # Corresponds to the JSON property `altitude` + # @return [Float] + attr_accessor :altitude + + # Compass heading, measured at the center of the photo in degrees clockwise + # from North. Value must be >=0 and <360. + # NaN indicates an unmeasured quantity. + # Corresponds to the JSON property `heading` + # @return [Float] + attr_accessor :heading + + # 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 + # [-90.0, 90.0] and [-180.0, 180.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 `latLngPair` + # @return [Google::Apis::StreetviewpublishV1::LatLng] + attr_accessor :lat_lng_pair + + # Level information containing level number and its corresponding name. + # Corresponds to the JSON property `level` + # @return [Google::Apis::StreetviewpublishV1::Level] + attr_accessor :level + + # Pitch, measured at the center of the photo in degrees. Value must be >=-90 + # and <= 90. A value of -90 means looking directly down, and a value of 90 + # means looking directly up. + # NaN indicates an unmeasured quantity. + # Corresponds to the JSON property `pitch` + # @return [Float] + attr_accessor :pitch + + # Roll, measured in degrees. Value must be >= 0 and <360. A value of 0 + # means level with the horizon. + # NaN indicates an unmeasured quantity. + # Corresponds to the JSON property `roll` + # @return [Float] + attr_accessor :roll + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @altitude = args[:altitude] if args.key?(:altitude) + @heading = args[:heading] if args.key?(:heading) + @lat_lng_pair = args[:lat_lng_pair] if args.key?(:lat_lng_pair) + @level = args[:level] if args.key?(:level) + @pitch = args[:pitch] if args.key?(:pitch) + @roll = args[:roll] if args.key?(:roll) + 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` that 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. + # - 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 is 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 + + # Request to update the metadata of a + # Photo. Updating the pixels of a photo + # is not supported. + class UpdatePhotoRequest + include Google::Apis::Core::Hashable + + # Photo is used to store 360 photos along with photo metadata. + # Corresponds to the JSON property `photo` + # @return [Google::Apis::StreetviewpublishV1::Photo] + attr_accessor :photo + + # Mask that identifies fields on the photo metadata to update. + # If not present, the old Photo metadata will be entirely replaced with the + # new Photo metadata in this request. The update fails if invalid fields are + # specified. Multiple fields can be specified in a comma-delimited list. + # The following fields are valid: + # * `pose.heading` + # * `pose.latLngPair` + # * `pose.pitch` + # * `pose.roll` + # * `pose.level` + # * `pose.altitude` + # * `connections` + # * `places` + # + # Corresponds to the JSON property `updateMask` + # @return [String] + attr_accessor :update_mask + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @photo = args[:photo] if args.key?(:photo) + @update_mask = args[:update_mask] if args.key?(:update_mask) + end + end + + # Upload reference for media files. + class UploadRef + include Google::Apis::Core::Hashable + + # Required. An upload reference should be unique for each user. It follows + # the form: + # "https://streetviewpublish.googleapis.com/media/user/`account_id`/photo/` + # upload_reference`" + # Corresponds to the JSON property `uploadUrl` + # @return [String] + attr_accessor :upload_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @upload_url = args[:upload_url] if args.key?(:upload_url) + end + end + end + end +end diff --git a/generated/google/apis/streetviewpublish_v1/representations.rb b/generated/google/apis/streetviewpublish_v1/representations.rb new file mode 100644 index 000000000..e43d783d1 --- /dev/null +++ b/generated/google/apis/streetviewpublish_v1/representations.rb @@ -0,0 +1,296 @@ +# 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 StreetviewpublishV1 + + class BatchDeletePhotosRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchDeletePhotosResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchGetPhotosResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchUpdatePhotosRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchUpdatePhotosResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Connection + 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 LatLng + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Level + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListPhotosResponse + 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 PhotoId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PhotoResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Place + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Pose + 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 UpdatePhotoRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UploadRef + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchDeletePhotosRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :photo_ids, as: 'photoIds' + end + end + + class BatchDeletePhotosResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :status, as: 'status', class: Google::Apis::StreetviewpublishV1::Status, decorator: Google::Apis::StreetviewpublishV1::Status::Representation + + end + end + + class BatchGetPhotosResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :results, as: 'results', class: Google::Apis::StreetviewpublishV1::PhotoResponse, decorator: Google::Apis::StreetviewpublishV1::PhotoResponse::Representation + + end + end + + class BatchUpdatePhotosRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :update_photo_requests, as: 'updatePhotoRequests', class: Google::Apis::StreetviewpublishV1::UpdatePhotoRequest, decorator: Google::Apis::StreetviewpublishV1::UpdatePhotoRequest::Representation + + end + end + + class BatchUpdatePhotosResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :results, as: 'results', class: Google::Apis::StreetviewpublishV1::PhotoResponse, decorator: Google::Apis::StreetviewpublishV1::PhotoResponse::Representation + + end + end + + class Connection + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :target, as: 'target', class: Google::Apis::StreetviewpublishV1::PhotoId, decorator: Google::Apis::StreetviewpublishV1::PhotoId::Representation + + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class LatLng + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :latitude, as: 'latitude' + property :longitude, as: 'longitude' + end + end + + class Level + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :number, as: 'number' + end + end + + class ListPhotosResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :photos, as: 'photos', class: Google::Apis::StreetviewpublishV1::Photo, decorator: Google::Apis::StreetviewpublishV1::Photo::Representation + + end + end + + class Photo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :capture_time, as: 'captureTime' + collection :connections, as: 'connections', class: Google::Apis::StreetviewpublishV1::Connection, decorator: Google::Apis::StreetviewpublishV1::Connection::Representation + + property :download_url, as: 'downloadUrl' + property :photo_id, as: 'photoId', class: Google::Apis::StreetviewpublishV1::PhotoId, decorator: Google::Apis::StreetviewpublishV1::PhotoId::Representation + + collection :places, as: 'places', class: Google::Apis::StreetviewpublishV1::Place, decorator: Google::Apis::StreetviewpublishV1::Place::Representation + + property :pose, as: 'pose', class: Google::Apis::StreetviewpublishV1::Pose, decorator: Google::Apis::StreetviewpublishV1::Pose::Representation + + property :share_link, as: 'shareLink' + property :thumbnail_url, as: 'thumbnailUrl' + property :upload_reference, as: 'uploadReference', class: Google::Apis::StreetviewpublishV1::UploadRef, decorator: Google::Apis::StreetviewpublishV1::UploadRef::Representation + + property :view_count, :numeric_string => true, as: 'viewCount' + end + end + + class PhotoId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + end + end + + class PhotoResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :photo, as: 'photo', class: Google::Apis::StreetviewpublishV1::Photo, decorator: Google::Apis::StreetviewpublishV1::Photo::Representation + + property :status, as: 'status', class: Google::Apis::StreetviewpublishV1::Status, decorator: Google::Apis::StreetviewpublishV1::Status::Representation + + end + end + + class Place + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :place_id, as: 'placeId' + end + end + + class Pose + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :altitude, as: 'altitude' + property :heading, as: 'heading' + property :lat_lng_pair, as: 'latLngPair', class: Google::Apis::StreetviewpublishV1::LatLng, decorator: Google::Apis::StreetviewpublishV1::LatLng::Representation + + property :level, as: 'level', class: Google::Apis::StreetviewpublishV1::Level, decorator: Google::Apis::StreetviewpublishV1::Level::Representation + + property :pitch, as: 'pitch' + property :roll, as: 'roll' + 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 UpdatePhotoRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :photo, as: 'photo', class: Google::Apis::StreetviewpublishV1::Photo, decorator: Google::Apis::StreetviewpublishV1::Photo::Representation + + property :update_mask, as: 'updateMask' + end + end + + class UploadRef + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :upload_url, as: 'uploadUrl' + end + end + end + end +end diff --git a/generated/google/apis/streetviewpublish_v1/service.rb b/generated/google/apis/streetviewpublish_v1/service.rb new file mode 100644 index 000000000..625a21c0a --- /dev/null +++ b/generated/google/apis/streetviewpublish_v1/service.rb @@ -0,0 +1,485 @@ +# 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 StreetviewpublishV1 + # Street View Publish API + # + # Publishes 360 photos to Google Maps, along with position, orientation, and + # connectivity metadata. Apps can offer an interface for positioning, connecting, + # and uploading user-generated Street View images. + # + # @example + # require 'google/apis/streetviewpublish_v1' + # + # Streetviewpublish = Google::Apis::StreetviewpublishV1 # Alias the module + # service = Streetviewpublish::StreetViewPublishService.new + # + # @see https://developers.google.com/streetview/publish/ + class StreetViewPublishService < 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://streetviewpublish.googleapis.com/', '') + @batch_path = 'batch' + end + + # After the client finishes uploading the photo with the returned + # UploadRef, + # CreatePhoto + # publishes the uploaded Photo to + # Street View on Google Maps. + # This method returns the following error codes: + # * google.rpc.Code.INVALID_ARGUMENT if the request is malformed. + # * google.rpc.Code.NOT_FOUND if the upload reference does not exist. + # * google.rpc.Code.RESOURCE_EXHAUSTED if the account has reached the + # storage limit. + # @param [Google::Apis::StreetviewpublishV1::Photo] photo_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::StreetviewpublishV1::Photo] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::StreetviewpublishV1::Photo] + # + # @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_photo(photo_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/photo', options) + command.request_representation = Google::Apis::StreetviewpublishV1::Photo::Representation + command.request_object = photo_object + command.response_representation = Google::Apis::StreetviewpublishV1::Photo::Representation + command.response_class = Google::Apis::StreetviewpublishV1::Photo + 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 Photo and its metadata. + # This method returns the following error codes: + # * google.rpc.Code.PERMISSION_DENIED if the requesting user did not + # create the requested photo. + # * google.rpc.Code.NOT_FOUND if the photo ID does not exist. + # @param [String] photo_id + # Required. ID of the Photo. + # @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::StreetviewpublishV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::StreetviewpublishV1::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_photo(photo_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/photo/{photoId}', options) + command.response_representation = Google::Apis::StreetviewpublishV1::Empty::Representation + command.response_class = Google::Apis::StreetviewpublishV1::Empty + command.params['photoId'] = photo_id unless photo_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 metadata of the specified + # Photo. + # This method returns the following error codes: + # * google.rpc.Code.PERMISSION_DENIED if the requesting user did not + # create the requested Photo. + # * google.rpc.Code.NOT_FOUND if the requested + # Photo does not exist. + # @param [String] photo_id + # Required. ID of the Photo. + # @param [String] view + # Specifies if a download URL for the photo bytes should be returned in the + # Photo response. + # @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::StreetviewpublishV1::Photo] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::StreetviewpublishV1::Photo] + # + # @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_photo(photo_id, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/photo/{photoId}', options) + command.response_representation = Google::Apis::StreetviewpublishV1::Photo::Representation + command.response_class = Google::Apis::StreetviewpublishV1::Photo + command.params['photoId'] = photo_id unless photo_id.nil? + command.query['view'] = view unless view.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates an upload session to start uploading photo bytes. The upload URL of + # the returned UploadRef is used to + # upload the bytes for the Photo. + # In addition to the photo requirements shown in + # https://support.google.com/maps/answer/7012050?hl=en&ref_topic=6275604, + # the photo must also meet the following requirements: + # * Photo Sphere XMP metadata must be included in the photo medadata. See + # https://developers.google.com/streetview/spherical-metadata for the + # required fields. + # * The pixel size of the photo must meet the size requirements listed in + # https://support.google.com/maps/answer/7012050?hl=en&ref_topic=6275604, and + # the photo must be a full 360 horizontally. + # After the upload is complete, the + # UploadRef is used with + # CreatePhoto + # to create the Photo object entry. + # @param [Google::Apis::StreetviewpublishV1::Empty] empty_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::StreetviewpublishV1::UploadRef] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::StreetviewpublishV1::UploadRef] + # + # @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 start_photo_upload(empty_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/photo:startUpload', options) + command.request_representation = Google::Apis::StreetviewpublishV1::Empty::Representation + command.request_object = empty_object + command.response_representation = Google::Apis::StreetviewpublishV1::UploadRef::Representation + command.response_class = Google::Apis::StreetviewpublishV1::UploadRef + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the metadata of a Photo, such + # as pose, place association, connections, etc. Changing the pixels of a + # photo is not supported. + # Only the fields specified in + # updateMask + # field are used. If `updateMask` is not present, the update applies to all + # fields. + # + # This method returns the following error codes: + # * google.rpc.Code.PERMISSION_DENIED if the requesting user did not + # create the requested photo. + # * google.rpc.Code.INVALID_ARGUMENT if the request is malformed. + # * google.rpc.Code.NOT_FOUND if the requested photo does not exist. + # @param [String] id + # Required. A unique identifier for a photo. + # @param [Google::Apis::StreetviewpublishV1::Photo] photo_object + # @param [String] update_mask + # Mask that identifies fields on the photo metadata to update. + # If not present, the old Photo metadata will be entirely replaced with the + # new Photo metadata in this request. The update fails if invalid fields are + # specified. Multiple fields can be specified in a comma-delimited list. + # The following fields are valid: + # * `pose.heading` + # * `pose.latLngPair` + # * `pose.pitch` + # * `pose.roll` + # * `pose.level` + # * `pose.altitude` + # * `connections` + # * `places` + # + # @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::StreetviewpublishV1::Photo] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::StreetviewpublishV1::Photo] + # + # @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_photo(id, photo_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v1/photo/{id}', options) + command.request_representation = Google::Apis::StreetviewpublishV1::Photo::Representation + command.request_object = photo_object + command.response_representation = Google::Apis::StreetviewpublishV1::Photo::Representation + command.response_class = Google::Apis::StreetviewpublishV1::Photo + command.params['id'] = id unless id.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 list of Photos and their + # metadata. + # Note that if + # BatchDeletePhotos + # fails, either critical fields are missing or there was an authentication + # error. Even if + # BatchDeletePhotos + # succeeds, there may have been failures for single photos in the batch. + # These failures will be specified in each + # PhotoResponse.status + # in + # BatchDeletePhotosResponse.results. + # See + # DeletePhoto + # for specific failures that can occur per photo. + # @param [Google::Apis::StreetviewpublishV1::BatchDeletePhotosRequest] batch_delete_photos_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::StreetviewpublishV1::BatchDeletePhotosResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::StreetviewpublishV1::BatchDeletePhotosResponse] + # + # @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 batch_delete_photos(batch_delete_photos_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/photos:batchDelete', options) + command.request_representation = Google::Apis::StreetviewpublishV1::BatchDeletePhotosRequest::Representation + command.request_object = batch_delete_photos_request_object + command.response_representation = Google::Apis::StreetviewpublishV1::BatchDeletePhotosResponse::Representation + command.response_class = Google::Apis::StreetviewpublishV1::BatchDeletePhotosResponse + 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 metadata of the specified + # Photo batch. + # Note that if + # BatchGetPhotos + # fails, either critical fields are missing or there was an authentication + # error. Even if + # BatchGetPhotos + # succeeds, there may have been failures for single photos in the batch. + # These failures will be specified in each + # PhotoResponse.status + # in + # BatchGetPhotosResponse.results. + # See + # GetPhoto + # for specific failures that can occur per photo. + # @param [Array, String] photo_ids + # Required. IDs of the Photos. For HTTP + # GET requests, the URL query parameter should be + # `photoIds=&photoIds=&...`. + # @param [String] view + # Specifies if a download URL for the photo bytes should be returned in the + # Photo response. + # @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::StreetviewpublishV1::BatchGetPhotosResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::StreetviewpublishV1::BatchGetPhotosResponse] + # + # @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 batch_photo_get(photo_ids: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/photos:batchGet', options) + command.response_representation = Google::Apis::StreetviewpublishV1::BatchGetPhotosResponse::Representation + command.response_class = Google::Apis::StreetviewpublishV1::BatchGetPhotosResponse + command.query['photoIds'] = photo_ids unless photo_ids.nil? + command.query['view'] = view unless view.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 the metadata of Photos, such + # as pose, place association, connections, etc. Changing the pixels of photos + # is not supported. + # Note that if + # BatchUpdatePhotos + # fails, either critical fields are missing or there was an authentication + # error. Even if + # BatchUpdatePhotos + # succeeds, there may have been failures for single photos in the batch. + # These failures will be specified in each + # PhotoResponse.status + # in + # BatchUpdatePhotosResponse.results. + # See + # UpdatePhoto + # for specific failures that can occur per photo. + # Only the fields specified in + # updateMask + # field are used. If `updateMask` is not present, the update applies to all + # fields. + # + # @param [Google::Apis::StreetviewpublishV1::BatchUpdatePhotosRequest] batch_update_photos_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::StreetviewpublishV1::BatchUpdatePhotosResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::StreetviewpublishV1::BatchUpdatePhotosResponse] + # + # @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 batch_update_photos(batch_update_photos_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/photos:batchUpdate', options) + command.request_representation = Google::Apis::StreetviewpublishV1::BatchUpdatePhotosRequest::Representation + command.request_object = batch_update_photos_request_object + command.response_representation = Google::Apis::StreetviewpublishV1::BatchUpdatePhotosResponse::Representation + command.response_class = Google::Apis::StreetviewpublishV1::BatchUpdatePhotosResponse + 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 the Photos that belong to + # the user. + # @param [String] filter + # The filter expression. For example: `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`. + # @param [Fixnum] page_size + # The maximum number of photos to return. + # `pageSize` must be non-negative. If `pageSize` is zero or is not provided, + # the default page size of 100 will be used. + # The number of photos returned in the response may be less than `pageSize` + # if the number of photos that belong to the user is less than `pageSize`. + # @param [String] page_token + # The + # nextPageToken + # value returned from a previous + # ListPhotos + # request, if any. + # @param [String] view + # Specifies if a download URL for the photos bytes should be returned in the + # Photos response. + # @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::StreetviewpublishV1::ListPhotosResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::StreetviewpublishV1::ListPhotosResponse] + # + # @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_photos(filter: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/photos', options) + command.response_representation = Google::Apis::StreetviewpublishV1::ListPhotosResponse::Representation + command.response_class = Google::Apis::StreetviewpublishV1::ListPhotosResponse + 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['view'] = view unless view.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 + + 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/toolresults_v1beta3.rb b/generated/google/apis/toolresults_v1beta3.rb index 4abb3fd85..4fa497573 100644 --- a/generated/google/apis/toolresults_v1beta3.rb +++ b/generated/google/apis/toolresults_v1beta3.rb @@ -25,7 +25,7 @@ module Google # @see https://firebase.google.com/docs/test-lab/ module ToolresultsV1beta3 VERSION = 'V1beta3' - REVISION = '20170707' + REVISION = '20170811' # 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/toolresults_v1beta3/classes.rb b/generated/google/apis/toolresults_v1beta3/classes.rb index ed83d3fa6..2adca426d 100644 --- a/generated/google/apis/toolresults_v1beta3/classes.rb +++ b/generated/google/apis/toolresults_v1beta3/classes.rb @@ -22,6 +22,204 @@ module Google module Apis module ToolresultsV1beta3 + # Android app information. + class AndroidAppInfo + include Google::Apis::Core::Hashable + + # The name of the app. Optional + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The package name of the app. Required. + # Corresponds to the JSON property `packageName` + # @return [String] + attr_accessor :package_name + + # The internal version code of the app. Optional. + # Corresponds to the JSON property `versionCode` + # @return [String] + attr_accessor :version_code + + # The version name of the app. Optional. + # Corresponds to the JSON property `versionName` + # @return [String] + attr_accessor :version_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @package_name = args[:package_name] if args.key?(:package_name) + @version_code = args[:version_code] if args.key?(:version_code) + @version_name = args[:version_name] if args.key?(:version_name) + end + end + + # A test of an Android application that can control an Android component + # independently of its normal lifecycle. + # See for more information on types of Android tests. + class AndroidInstrumentationTest + include Google::Apis::Core::Hashable + + # The java package for the test to be executed. Required + # Corresponds to the JSON property `testPackageId` + # @return [String] + attr_accessor :test_package_id + + # The InstrumentationTestRunner class. Required + # Corresponds to the JSON property `testRunnerClass` + # @return [String] + attr_accessor :test_runner_class + + # Each target must be fully qualified with the package name or class name, in + # one of these formats: - "package package_name" - "class package_name. + # class_name" - "class package_name.class_name#method_name" + # If empty, all targets in the module will be run. + # Corresponds to the JSON property `testTargets` + # @return [Array] + attr_accessor :test_targets + + # The flag indicates whether Android Test Orchestrator will be used to run test + # or not. Test orchestrator is used if either: - orchestrator_option field is + # USE_ORCHESTRATOR, and test runner is compatible with orchestrator. Or - + # orchestrator_option field is unspecified or ORCHESTRATOR_OPTION_UNSPECIFIED, + # and test runner is compatible with orchestrator. + # Corresponds to the JSON property `useOrchestrator` + # @return [Boolean] + attr_accessor :use_orchestrator + alias_method :use_orchestrator?, :use_orchestrator + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @test_package_id = args[:test_package_id] if args.key?(:test_package_id) + @test_runner_class = args[:test_runner_class] if args.key?(:test_runner_class) + @test_targets = args[:test_targets] if args.key?(:test_targets) + @use_orchestrator = args[:use_orchestrator] if args.key?(:use_orchestrator) + end + end + + # A test of an android application that explores the application on a virtual or + # physical Android device, finding culprits and crashes as it goes. + class AndroidRoboTest + include Google::Apis::Core::Hashable + + # The initial activity that should be used to start the app. Optional + # Corresponds to the JSON property `appInitialActivity` + # @return [String] + attr_accessor :app_initial_activity + + # The java package for the bootstrap. Optional + # Corresponds to the JSON property `bootstrapPackageId` + # @return [String] + attr_accessor :bootstrap_package_id + + # The runner class for the bootstrap. Optional + # Corresponds to the JSON property `bootstrapRunnerClass` + # @return [String] + attr_accessor :bootstrap_runner_class + + # The max depth of the traversal stack Robo can explore. Optional + # Corresponds to the JSON property `maxDepth` + # @return [Fixnum] + attr_accessor :max_depth + + # The max number of steps/actions Robo can execute. Default is no limit (0). + # Optional + # Corresponds to the JSON property `maxSteps` + # @return [Fixnum] + attr_accessor :max_steps + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @app_initial_activity = args[:app_initial_activity] if args.key?(:app_initial_activity) + @bootstrap_package_id = args[:bootstrap_package_id] if args.key?(:bootstrap_package_id) + @bootstrap_runner_class = args[:bootstrap_runner_class] if args.key?(:bootstrap_runner_class) + @max_depth = args[:max_depth] if args.key?(:max_depth) + @max_steps = args[:max_steps] if args.key?(:max_steps) + end + end + + # An Android mobile test specification. + class AndroidTest + include Google::Apis::Core::Hashable + + # Android app information. + # Corresponds to the JSON property `androidAppInfo` + # @return [Google::Apis::ToolresultsV1beta3::AndroidAppInfo] + attr_accessor :android_app_info + + # A test of an Android application that can control an Android component + # independently of its normal lifecycle. + # See for more information on types of Android tests. + # Corresponds to the JSON property `androidInstrumentationTest` + # @return [Google::Apis::ToolresultsV1beta3::AndroidInstrumentationTest] + attr_accessor :android_instrumentation_test + + # A test of an android application that explores the application on a virtual or + # physical Android device, finding culprits and crashes as it goes. + # Corresponds to the JSON property `androidRoboTest` + # @return [Google::Apis::ToolresultsV1beta3::AndroidRoboTest] + attr_accessor :android_robo_test + + # A Duration represents a signed, fixed-length span of time represented as a + # count of seconds and fractions of seconds at nanosecond resolution. It is + # independent of any calendar and concepts like "day" or "month". It is related + # to Timestamp in that the difference between two Timestamp values is a Duration + # and it can be added or subtracted from a Timestamp. Range is approximately +- + # 10,000 years. + # # Examples + # Example 1: Compute Duration from two Timestamps in pseudo code. + # Timestamp start = ...; Timestamp end = ...; Duration duration = ...; + # duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos - + # start.nanos; + # if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000; + # ` else if (durations.seconds > 0 && duration.nanos < 0) ` duration.seconds -= + # 1; duration.nanos += 1000000000; ` + # Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. + # Timestamp start = ...; Duration duration = ...; Timestamp end = ...; + # end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos + + # duration.nanos; + # if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; ` + # Example 3: Compute Duration from datetime.timedelta in Python. + # td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration. + # FromTimedelta(td) + # # JSON Mapping + # In JSON format, the Duration type is encoded as a string rather than an object, + # where the string ends in the suffix "s" (indicating seconds) and is preceded + # by the number of seconds, with nanoseconds expressed as fractional seconds. + # For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as " + # 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3. + # 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON + # format as "3.000001s". + # Corresponds to the JSON property `testTimeout` + # @return [Google::Apis::ToolresultsV1beta3::Duration] + attr_accessor :test_timeout + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @android_app_info = args[:android_app_info] if args.key?(:android_app_info) + @android_instrumentation_test = args[:android_instrumentation_test] if args.key?(:android_instrumentation_test) + @android_robo_test = args[:android_robo_test] if args.key?(:android_robo_test) + @test_timeout = args[:test_timeout] if args.key?(:test_timeout) + end + end + # `Any` contains an arbitrary serialized protocol buffer message along with a # URL that describes the type of the serialized message. # Protobuf library provides support to pack/unpack Any values in the form of @@ -464,6 +662,11 @@ module Google # @return [Google::Apis::ToolresultsV1beta3::Outcome] attr_accessor :outcome + # The details about how to run the execution. + # Corresponds to the JSON property `specification` + # @return [Google::Apis::ToolresultsV1beta3::Specification] + attr_accessor :specification + # The initial state is IN_PROGRESS. # The only legal state transitions is from IN_PROGRESS to COMPLETE. # A PRECONDITION_FAILED will be returned if an invalid transition is requested. @@ -477,7 +680,7 @@ module Google # @return [String] attr_accessor :state - # TestExecution Matrix ID that the Test Service uses. + # TestExecution Matrix ID that the TestExecutionService uses. # - In response: present if set by create - In create: optional - In update: # never set # Corresponds to the JSON property `testExecutionMatrixId` @@ -494,6 +697,7 @@ module Google @creation_time = args[:creation_time] if args.key?(:creation_time) @execution_id = args[:execution_id] if args.key?(:execution_id) @outcome = args[:outcome] if args.key?(:outcome) + @specification = args[:specification] if args.key?(:specification) @state = args[:state] if args.key?(:state) @test_execution_matrix_id = args[:test_execution_matrix_id] if args.key?(:test_execution_matrix_id) end @@ -825,6 +1029,25 @@ module Google end end + # + class ListScreenshotClustersResponse + include Google::Apis::Core::Hashable + + # The set of clustres associated with an execution Always set + # Corresponds to the JSON property `clusters` + # @return [Array] + attr_accessor :clusters + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @clusters = args[:clusters] if args.key?(:clusters) + end + end + # A response containing the thumbnails in a step. class ListStepThumbnailsResponse include Google::Apis::Core::Hashable @@ -1216,6 +1439,83 @@ module Google end end + # + class Screen + include Google::Apis::Core::Hashable + + # File reference of the png file. Required. + # Corresponds to the JSON property `fileReference` + # @return [String] + attr_accessor :file_reference + + # Locale of the device that the screenshot was taken on. Required. + # Corresponds to the JSON property `locale` + # @return [String] + attr_accessor :locale + + # Model of the device that the screenshot was taken on. Required. + # Corresponds to the JSON property `model` + # @return [String] + attr_accessor :model + + # OS version of the device that the screenshot was taken on. Required. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file_reference = args[:file_reference] if args.key?(:file_reference) + @locale = args[:locale] if args.key?(:locale) + @model = args[:model] if args.key?(:model) + @version = args[:version] if args.key?(:version) + end + end + + # + class ScreenshotCluster + include Google::Apis::Core::Hashable + + # A string that describes the activity of every screen in the cluster. + # Corresponds to the JSON property `activity` + # @return [String] + attr_accessor :activity + + # A unique identifier for the cluster. + # Corresponds to the JSON property `clusterId` + # @return [String] + attr_accessor :cluster_id + + # A singular screen that represents the cluster as a whole. This screen will act + # as the "cover" of the entire cluster. When users look at the clusters, only + # the key screen from each cluster will be shown. Which screen is the key screen + # is determined by the ClusteringAlgorithm + # Corresponds to the JSON property `keyScreen` + # @return [Google::Apis::ToolresultsV1beta3::Screen] + attr_accessor :key_screen + + # Full list of screens. + # Corresponds to the JSON property `screens` + # @return [Array] + attr_accessor :screens + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @activity = args[:activity] if args.key?(:activity) + @cluster_id = args[:cluster_id] if args.key?(:cluster_id) + @key_screen = args[:key_screen] if args.key?(:key_screen) + @screens = args[:screens] if args.key?(:screens) + end + end + # class SkippedDetail include Google::Apis::Core::Hashable @@ -1250,15 +1550,14 @@ module Google end end - # A stacktrace. - class StackTrace + # The details about how to run the execution. + class Specification include Google::Apis::Core::Hashable - # The stack trace message. - # Required - # Corresponds to the JSON property `exception` - # @return [String] - attr_accessor :exception + # An Android mobile test specification. + # Corresponds to the JSON property `androidTest` + # @return [Google::Apis::ToolresultsV1beta3::AndroidTest] + attr_accessor :android_test def initialize(**args) update!(**args) @@ -1266,7 +1565,39 @@ module Google # Update properties of this object def update!(**args) + @android_test = args[:android_test] if args.key?(:android_test) + end + end + + # A stacktrace. + class StackTrace + include Google::Apis::Core::Hashable + + # Exception cluster ID + # Corresponds to the JSON property `clusterId` + # @return [String] + attr_accessor :cluster_id + + # The stack trace message. + # Required + # Corresponds to the JSON property `exception` + # @return [String] + attr_accessor :exception + + # Exception report ID + # Corresponds to the JSON property `reportId` + # @return [String] + attr_accessor :report_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cluster_id = args[:cluster_id] if args.key?(:cluster_id) @exception = args[:exception] if args.key?(:exception) + @report_id = args[:report_id] if args.key?(:report_id) end end @@ -1818,21 +2149,65 @@ module Google end end - # An abnormal event observed during the test execution. + # An issue detected occurring during a test execution. class TestIssue include Google::Apis::Core::Hashable - # A brief human-readable message describing the abnormal event. - # Required. + # A brief human-readable message describing the issue. Required. # Corresponds to the JSON property `errorMessage` # @return [String] attr_accessor :error_message + # Severity of issue. Required. + # Corresponds to the JSON property `severity` + # @return [String] + attr_accessor :severity + # A stacktrace. # Corresponds to the JSON property `stackTrace` # @return [Google::Apis::ToolresultsV1beta3::StackTrace] attr_accessor :stack_trace + # Type of issue. Required. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # `Any` contains an arbitrary serialized protocol buffer message along with a + # URL that describes the type of the serialized message. + # Protobuf library provides support to pack/unpack Any values in the form of + # utility functions or additional generated methods of the Any type. + # Example 1: Pack and unpack a message in C++. + # Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) ` ... ` + # Example 2: Pack and unpack a message in Java. + # Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) ` foo = any. + # unpack(Foo.class); ` + # Example 3: Pack and unpack a message in Python. + # foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any. + # Unpack(foo) ... + # Example 4: Pack and unpack a message in Go + # foo := &pb.Foo`...` any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo`` if + # err := ptypes.UnmarshalAny(any, foo); err != nil ` ... ` + # The pack methods provided by protobuf library will by default use 'type. + # googleapis.com/full.type.name' as the type URL and the unpack methods only use + # the fully qualified type name after the last '/' in the type URL, for example " + # foo.bar.com/x/y.z" will yield type name "y.z". + # JSON ==== The JSON representation of an `Any` value uses the regular + # representation of the deserialized, embedded message, with an additional field + # `@type` which contains the type URL. Example: + # package google.profile; message Person ` string first_name = 1; string + # last_name = 2; ` + # ` "@type": "type.googleapis.com/google.profile.Person", "firstName": , " + # lastName": ` + # If the embedded message type is well-known and has a custom JSON + # representation, that representation will be embedded adding a field `value` + # which holds the custom JSON in addition to the `@type` field. Example (for + # message [google.protobuf.Duration][]): + # ` "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" ` + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ToolresultsV1beta3::Any] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -1840,7 +2215,10 @@ module Google # Update properties of this object def update!(**args) @error_message = args[:error_message] if args.key?(:error_message) + @severity = args[:severity] if args.key?(:severity) @stack_trace = args[:stack_trace] if args.key?(:stack_trace) + @type = args[:type] if args.key?(:type) + @warning = args[:warning] if args.key?(:warning) end end diff --git a/generated/google/apis/toolresults_v1beta3/representations.rb b/generated/google/apis/toolresults_v1beta3/representations.rb index a1b1d4909..a1fe1cc80 100644 --- a/generated/google/apis/toolresults_v1beta3/representations.rb +++ b/generated/google/apis/toolresults_v1beta3/representations.rb @@ -22,6 +22,30 @@ module Google module Apis module ToolresultsV1beta3 + class AndroidAppInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AndroidInstrumentationTest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AndroidRoboTest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AndroidTest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Any class Representation < Google::Apis::Core::JsonRepresentation; end @@ -124,6 +148,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ListScreenshotClustersResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListStepThumbnailsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -184,12 +214,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Screen + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ScreenshotCluster + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SkippedDetail class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Specification + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class StackTrace class Representation < Google::Apis::Core::JsonRepresentation; end @@ -292,6 +340,51 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AndroidAppInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :package_name, as: 'packageName' + property :version_code, as: 'versionCode' + property :version_name, as: 'versionName' + end + end + + class AndroidInstrumentationTest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :test_package_id, as: 'testPackageId' + property :test_runner_class, as: 'testRunnerClass' + collection :test_targets, as: 'testTargets' + property :use_orchestrator, as: 'useOrchestrator' + end + end + + class AndroidRoboTest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :app_initial_activity, as: 'appInitialActivity' + property :bootstrap_package_id, as: 'bootstrapPackageId' + property :bootstrap_runner_class, as: 'bootstrapRunnerClass' + property :max_depth, as: 'maxDepth' + property :max_steps, as: 'maxSteps' + end + end + + class AndroidTest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :android_app_info, as: 'androidAppInfo', class: Google::Apis::ToolresultsV1beta3::AndroidAppInfo, decorator: Google::Apis::ToolresultsV1beta3::AndroidAppInfo::Representation + + property :android_instrumentation_test, as: 'androidInstrumentationTest', class: Google::Apis::ToolresultsV1beta3::AndroidInstrumentationTest, decorator: Google::Apis::ToolresultsV1beta3::AndroidInstrumentationTest::Representation + + property :android_robo_test, as: 'androidRoboTest', class: Google::Apis::ToolresultsV1beta3::AndroidRoboTest, decorator: Google::Apis::ToolresultsV1beta3::AndroidRoboTest::Representation + + property :test_timeout, as: 'testTimeout', class: Google::Apis::ToolresultsV1beta3::Duration, decorator: Google::Apis::ToolresultsV1beta3::Duration::Representation + + end + end + class Any # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -362,6 +455,8 @@ module Google property :execution_id, as: 'executionId' property :outcome, as: 'outcome', class: Google::Apis::ToolresultsV1beta3::Outcome, decorator: Google::Apis::ToolresultsV1beta3::Outcome::Representation + property :specification, as: 'specification', class: Google::Apis::ToolresultsV1beta3::Specification, decorator: Google::Apis::ToolresultsV1beta3::Specification::Representation + property :state, as: 'state' property :test_execution_matrix_id, as: 'testExecutionMatrixId' end @@ -450,6 +545,14 @@ module Google end end + class ListScreenshotClustersResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :clusters, as: 'clusters', class: Google::Apis::ToolresultsV1beta3::ScreenshotCluster, decorator: Google::Apis::ToolresultsV1beta3::ScreenshotCluster::Representation + + end + end + class ListStepThumbnailsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -554,6 +657,28 @@ module Google end end + class Screen + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :file_reference, as: 'fileReference' + property :locale, as: 'locale' + property :model, as: 'model' + property :version, as: 'version' + end + end + + class ScreenshotCluster + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :activity, as: 'activity' + property :cluster_id, as: 'clusterId' + property :key_screen, as: 'keyScreen', class: Google::Apis::ToolresultsV1beta3::Screen, decorator: Google::Apis::ToolresultsV1beta3::Screen::Representation + + collection :screens, as: 'screens', class: Google::Apis::ToolresultsV1beta3::Screen, decorator: Google::Apis::ToolresultsV1beta3::Screen::Representation + + end + end + class SkippedDetail # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -563,10 +688,20 @@ module Google end end + class Specification + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :android_test, as: 'androidTest', class: Google::Apis::ToolresultsV1beta3::AndroidTest, decorator: Google::Apis::ToolresultsV1beta3::AndroidTest::Representation + + end + end + class StackTrace # @private class Representation < Google::Apis::Core::JsonRepresentation + property :cluster_id, as: 'clusterId' property :exception, as: 'exception' + property :report_id, as: 'reportId' end end @@ -659,8 +794,12 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :error_message, as: 'errorMessage' + property :severity, as: 'severity' property :stack_trace, as: 'stackTrace', class: Google::Apis::ToolresultsV1beta3::StackTrace, decorator: Google::Apis::ToolresultsV1beta3::StackTrace::Representation + property :type, as: 'type' + property :warning, as: 'warning', class: Google::Apis::ToolresultsV1beta3::Any, decorator: Google::Apis::ToolresultsV1beta3::Any::Representation + end end diff --git a/generated/google/apis/toolresults_v1beta3/service.rb b/generated/google/apis/toolresults_v1beta3/service.rb index 27f108407..3f0b35d22 100644 --- a/generated/google/apis/toolresults_v1beta3/service.rb +++ b/generated/google/apis/toolresults_v1beta3/service.rb @@ -507,6 +507,56 @@ module Google execute_or_queue_command(command, &block) end + # Lists Screenshot Clusters + # Returns the list of screenshot clusters corresponding to an execution. + # Screenshot clusters are created after the execution is finished. Clusters are + # created from a set of screenshots. Between any two screenshots, a matching + # score is calculated based off their metadata that determines how similar they + # are. Screenshots are placed in the cluster that has screens which have the + # highest matching scores. + # @param [String] project_id + # A Project id. + # Required. + # @param [String] history_id + # A History id. + # Required. + # @param [String] execution_id + # An Execution id. + # Required. + # @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::ToolresultsV1beta3::ListScreenshotClustersResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse] + # + # @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_project_history_execution_clusters(project_id, history_id, execution_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/clusters', options) + command.response_representation = Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse::Representation + command.response_class = Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['historyId'] = history_id unless history_id.nil? + command.params['executionId'] = execution_id unless execution_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 Step. # The returned Step will have the id set. # May return any of the following canonical error codes: diff --git a/generated/google/apis/translate_v2/classes.rb b/generated/google/apis/translate_v2/classes.rb index e801775d9..6539e0bcf 100644 --- a/generated/google/apis/translate_v2/classes.rb +++ b/generated/google/apis/translate_v2/classes.rb @@ -22,6 +22,97 @@ module Google module Apis module TranslateV2 + # The request message for language detection. + class DetectLanguageRequest + include Google::Apis::Core::Hashable + + # The input text upon which to perform language detection. Repeat this + # parameter to perform language detection on multiple text inputs. + # Corresponds to the JSON property `q` + # @return [Array] + attr_accessor :q + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @q = args[:q] if args.key?(:q) + end + end + + # + class ListDetectionsResponse + include Google::Apis::Core::Hashable + + # A detections contains detection results of several text + # Corresponds to the JSON property `detections` + # @return [Array>] + attr_accessor :detections + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @detections = args[:detections] if args.key?(:detections) + end + end + + # + class DetectionsResource + include Google::Apis::Core::Hashable + + # The confidence of the detection result of this language. + # Corresponds to the JSON property `confidence` + # @return [Float] + attr_accessor :confidence + + # A boolean to indicate is the language detection result reliable. + # Corresponds to the JSON property `isReliable` + # @return [Boolean] + attr_accessor :is_reliable + alias_method :is_reliable?, :is_reliable + + # The language we detected. + # Corresponds to the JSON property `language` + # @return [String] + attr_accessor :language + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @confidence = args[:confidence] if args.key?(:confidence) + @is_reliable = args[:is_reliable] if args.key?(:is_reliable) + @language = args[:language] if args.key?(:language) + end + end + + # The request message for discovering supported languages. + class GetSupportedLanguagesRequest + include Google::Apis::Core::Hashable + + # The language to use to return localized, human readable names of supported + # languages. + # Corresponds to the JSON property `target` + # @return [String] + attr_accessor :target + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @target = args[:target] if args.key?(:target) + end + end + # class ListLanguagesResponse include Google::Apis::Core::Hashable @@ -45,24 +136,20 @@ module Google end # - class DetectionsResource + class LanguagesResource include Google::Apis::Core::Hashable - # The confidence of the detection result of this language. - # Corresponds to the JSON property `confidence` - # @return [Float] - attr_accessor :confidence - - # The language we detected. + # Supported language code, generally consisting of its ISO 639-1 + # identifier. (E.g. 'en', 'ja'). In certain cases, BCP-47 codes including + # language + region identifiers are returned (e.g. 'zh-TW' and 'zh-CH') # Corresponds to the JSON property `language` # @return [String] attr_accessor :language - # A boolean to indicate is the language detection result reliable. - # Corresponds to the JSON property `isReliable` - # @return [Boolean] - attr_accessor :is_reliable - alias_method :is_reliable?, :is_reliable + # Human readable name of the language localized to the target language. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name def initialize(**args) update!(**args) @@ -70,35 +157,46 @@ module Google # Update properties of this object def update!(**args) - @confidence = args[:confidence] if args.key?(:confidence) @language = args[:language] if args.key?(:language) - @is_reliable = args[:is_reliable] if args.key?(:is_reliable) + @name = args[:name] if args.key?(:name) end end - # - class TranslationsResource + # The main translation request message for the Cloud Translation API. + class TranslateTextRequest include Google::Apis::Core::Hashable - # The `model` type used for this translation. Valid values are - # listed in public documentation. Can be different from requested `model`. - # Present only if specific model type was explicitly requested. + # The format of the source text, in either HTML (default) or plain-text. A + # value of "html" indicates HTML and a value of "text" indicates plain-text. + # Corresponds to the JSON property `format` + # @return [String] + attr_accessor :format + + # The `model` type requested for this translation. Valid values are + # listed in public documentation. # Corresponds to the JSON property `model` # @return [String] attr_accessor :model - # Text translated into the target language. - # Corresponds to the JSON property `translatedText` - # @return [String] - attr_accessor :translated_text + # The input text to translate. Repeat this parameter to perform translation + # operations on multiple text inputs. + # Corresponds to the JSON property `q` + # @return [Array] + attr_accessor :q - # The source language of the initial request, detected automatically, if - # no source language was passed within the initial request. If the - # source language was passed, auto-detection of the language will not - # occur and this field will be empty. - # Corresponds to the JSON property `detectedSourceLanguage` + # The language of the source text, set to one of the language codes listed in + # Language Support. If the source language is not specified, the API will + # attempt to identify the source language automatically and return it within + # the response. + # Corresponds to the JSON property `source` # @return [String] - attr_accessor :detected_source_language + attr_accessor :source + + # The language to use for translation of the input text, set to one of the + # language codes listed in Language Support. + # Corresponds to the JSON property `target` + # @return [String] + attr_accessor :target def initialize(**args) update!(**args) @@ -106,9 +204,11 @@ module Google # Update properties of this object def update!(**args) + @format = args[:format] if args.key?(:format) @model = args[:model] if args.key?(:model) - @translated_text = args[:translated_text] if args.key?(:translated_text) - @detected_source_language = args[:detected_source_language] if args.key?(:detected_source_language) + @q = args[:q] if args.key?(:q) + @source = args[:source] if args.key?(:source) + @target = args[:target] if args.key?(:target) end end @@ -131,139 +231,39 @@ module Google end end - # The main translation request message for the Cloud Translation API. - class TranslateTextRequest + # + class TranslationsResource include Google::Apis::Core::Hashable - # The language to use for translation of the input text, set to one of the - # language codes listed in Language Support. - # Corresponds to the JSON property `target` + # The source language of the initial request, detected automatically, if + # no source language was passed within the initial request. If the + # source language was passed, auto-detection of the language will not + # occur and this field will be empty. + # Corresponds to the JSON property `detectedSourceLanguage` # @return [String] - attr_accessor :target + attr_accessor :detected_source_language - # The format of the source text, in either HTML (default) or plain-text. A - # value of "html" indicates HTML and a value of "text" indicates plain-text. - # Corresponds to the JSON property `format` - # @return [String] - attr_accessor :format - - # The input text to translate. Repeat this parameter to perform translation - # operations on multiple text inputs. - # Corresponds to the JSON property `q` - # @return [Array] - attr_accessor :q - - # The language of the source text, set to one of the language codes listed in - # Language Support. If the source language is not specified, the API will - # attempt to identify the source language automatically and return it within - # the response. - # Corresponds to the JSON property `source` - # @return [String] - attr_accessor :source - - # The `model` type requested for this translation. Valid values are - # listed in public documentation. + # The `model` type used for this translation. Valid values are + # listed in public documentation. Can be different from requested `model`. + # Present only if specific model type was explicitly requested. # Corresponds to the JSON property `model` # @return [String] attr_accessor :model + # Text translated into the target language. + # Corresponds to the JSON property `translatedText` + # @return [String] + attr_accessor :translated_text + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @target = args[:target] if args.key?(:target) - @format = args[:format] if args.key?(:format) - @q = args[:q] if args.key?(:q) - @source = args[:source] if args.key?(:source) + @detected_source_language = args[:detected_source_language] if args.key?(:detected_source_language) @model = args[:model] if args.key?(:model) - end - end - - # The request message for language detection. - class DetectLanguageRequest - include Google::Apis::Core::Hashable - - # The input text upon which to perform language detection. Repeat this - # parameter to perform language detection on multiple text inputs. - # Corresponds to the JSON property `q` - # @return [Array] - attr_accessor :q - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @q = args[:q] if args.key?(:q) - end - end - - # - class LanguagesResource - include Google::Apis::Core::Hashable - - # Human readable name of the language localized to the target language. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Supported language code, generally consisting of its ISO 639-1 - # identifier. (E.g. 'en', 'ja'). In certain cases, BCP-47 codes including - # language + region identifiers are returned (e.g. 'zh-TW' and 'zh-CH') - # Corresponds to the JSON property `language` - # @return [String] - attr_accessor :language - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @language = args[:language] if args.key?(:language) - end - end - - # - class ListDetectionsResponse - include Google::Apis::Core::Hashable - - # A detections contains detection results of several text - # Corresponds to the JSON property `detections` - # @return [Array>] - attr_accessor :detections - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @detections = args[:detections] if args.key?(:detections) - end - end - - # The request message for discovering supported languages. - class GetSupportedLanguagesRequest - include Google::Apis::Core::Hashable - - # The language to use to return localized, human readable names of supported - # languages. - # Corresponds to the JSON property `target` - # @return [String] - attr_accessor :target - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @target = args[:target] if args.key?(:target) + @translated_text = args[:translated_text] if args.key?(:translated_text) end end end diff --git a/generated/google/apis/translate_v2/representations.rb b/generated/google/apis/translate_v2/representations.rb index 1e4026412..51284109c 100644 --- a/generated/google/apis/translate_v2/representations.rb +++ b/generated/google/apis/translate_v2/representations.rb @@ -22,49 +22,19 @@ module Google module Apis module TranslateV2 - class ListLanguagesResponse - 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 TranslationsResource - 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 TranslateTextRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class DetectLanguageRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class LanguagesResource + class ListDetectionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListDetectionsResponse + class DetectionsResource class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -77,53 +47,33 @@ module Google end class ListLanguagesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - self.representation_wrap = lambda { |args| :data if args[:unwrap] == Google::Apis::TranslateV2::ListLanguagesResponse } - collection :languages, as: 'languages', class: Google::Apis::TranslateV2::LanguagesResource, decorator: Google::Apis::TranslateV2::LanguagesResource::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end - class DetectionsResource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - self.representation_wrap = lambda { |args| :data if args[:unwrap] == Google::Apis::TranslateV2::DetectionsResource } - property :confidence, as: 'confidence' - property :language, as: 'language' - property :is_reliable, as: 'isReliable' - end - end + class LanguagesResource + class Representation < Google::Apis::Core::JsonRepresentation; end - class TranslationsResource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - self.representation_wrap = lambda { |args| :data if args[:unwrap] == Google::Apis::TranslateV2::TranslationsResource } - property :model, as: 'model' - property :translated_text, as: 'translatedText' - property :detected_source_language, as: 'detectedSourceLanguage' - end - end - - class ListTranslationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - self.representation_wrap = lambda { |args| :data if args[:unwrap] == Google::Apis::TranslateV2::ListTranslationsResponse } - collection :translations, as: 'translations', class: Google::Apis::TranslateV2::TranslationsResource, decorator: Google::Apis::TranslateV2::TranslationsResource::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class TranslateTextRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - self.representation_wrap = lambda { |args| :data if args[:unwrap] == Google::Apis::TranslateV2::TranslateTextRequest } - property :target, as: 'target' - property :format, as: 'format' - collection :q, as: 'q' - property :source, as: 'source' - property :model, as: 'model' - end + 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 DetectLanguageRequest @@ -134,15 +84,6 @@ module Google end end - class LanguagesResource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - self.representation_wrap = lambda { |args| :data if args[:unwrap] == Google::Apis::TranslateV2::LanguagesResource } - property :name, as: 'name' - property :language, as: 'language' - end - end - class ListDetectionsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -156,6 +97,16 @@ module Google end end + class DetectionsResource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + self.representation_wrap = lambda { |args| :data if args[:unwrap] == Google::Apis::TranslateV2::DetectionsResource } + property :confidence, as: 'confidence' + property :is_reliable, as: 'isReliable' + property :language, as: 'language' + end + end + class GetSupportedLanguagesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -163,6 +114,55 @@ module Google property :target, as: 'target' end end + + class ListLanguagesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + self.representation_wrap = lambda { |args| :data if args[:unwrap] == Google::Apis::TranslateV2::ListLanguagesResponse } + collection :languages, as: 'languages', class: Google::Apis::TranslateV2::LanguagesResource, decorator: Google::Apis::TranslateV2::LanguagesResource::Representation + + end + end + + class LanguagesResource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + self.representation_wrap = lambda { |args| :data if args[:unwrap] == Google::Apis::TranslateV2::LanguagesResource } + property :language, as: 'language' + property :name, as: 'name' + end + end + + class TranslateTextRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + self.representation_wrap = lambda { |args| :data if args[:unwrap] == Google::Apis::TranslateV2::TranslateTextRequest } + property :format, as: 'format' + property :model, as: 'model' + collection :q, as: 'q' + property :source, as: 'source' + property :target, as: 'target' + end + end + + class ListTranslationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + self.representation_wrap = lambda { |args| :data if args[:unwrap] == Google::Apis::TranslateV2::ListTranslationsResponse } + collection :translations, as: 'translations', class: Google::Apis::TranslateV2::TranslationsResource, decorator: Google::Apis::TranslateV2::TranslationsResource::Representation + + end + end + + class TranslationsResource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + self.representation_wrap = lambda { |args| :data if args[:unwrap] == Google::Apis::TranslateV2::TranslationsResource } + property :detected_source_language, as: 'detectedSourceLanguage' + property :model, as: 'model' + property :translated_text, as: 'translatedText' + end + end end end end diff --git a/generated/google/apis/translate_v2/service.rb b/generated/google/apis/translate_v2/service.rb index 6fac754b3..b252ac3b9 100644 --- a/generated/google/apis/translate_v2/service.rb +++ b/generated/google/apis/translate_v2/service.rb @@ -33,114 +33,30 @@ module Google # # @see https://code.google.com/apis/language/translate/v2/getting_started.html class TranslateService < 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. # Overrides userIp if both are provided. attr_accessor :quota_user - # @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 - def initialize super('https://translation.googleapis.com/', 'language/translate/') @batch_path = 'batch/translate' end - # Translates input text, returning translated text. - # @param [Google::Apis::TranslateV2::TranslateTextRequest] translate_text_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. - # Overrides userIp if both are provided. - # @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::TranslateV2::ListTranslationsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::TranslateV2::ListTranslationsResponse] - # - # @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 translate_translation_text(translate_text_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v2', options) - command.request_representation = Google::Apis::TranslateV2::TranslateTextRequest::Representation - command.request_object = translate_text_request_object - command.response_representation = Google::Apis::TranslateV2::ListTranslationsResponse::Representation - command.response_class = Google::Apis::TranslateV2::ListTranslationsResponse - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Translates input text, returning translated text. - # @param [Array, String] q - # The input text to translate. Repeat this parameter to perform translation - # operations on multiple text inputs. - # @param [String] target - # The language to use for translation of the input text, set to one of the - # language codes listed in Language Support. - # @param [String] source - # The language of the source text, set to one of the language codes listed in - # Language Support. If the source language is not specified, the API will - # attempt to identify the source language automatically and return it within - # the response. - # @param [Array, String] cid - # The customization id for translate - # @param [String] format - # The format of the source text, in either HTML (default) or plain-text. A - # value of "html" indicates HTML and a value of "text" indicates plain-text. - # @param [String] model - # The `model` type requested for this translation. Valid values are - # listed in public documentation. - # @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] 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::TranslateV2::ListTranslationsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::TranslateV2::ListTranslationsResponse] - # - # @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_translations(q, target, source: nil, cid: nil, format: nil, model: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2', options) - command.response_representation = Google::Apis::TranslateV2::ListTranslationsResponse::Representation - command.response_class = Google::Apis::TranslateV2::ListTranslationsResponse - command.query['q'] = q unless q.nil? - command.query['source'] = source unless source.nil? - command.query['cid'] = cid unless cid.nil? - command.query['target'] = target unless target.nil? - command.query['format'] = format unless format.nil? - command.query['model'] = model unless model.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - # Detects the language of text within a request. # @param [Google::Apis::TranslateV2::DetectLanguageRequest] detect_language_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] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -153,14 +69,14 @@ 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 detect_detection_language(detect_language_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def detect_detection_language(detect_language_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/detect', options) command.request_representation = Google::Apis::TranslateV2::DetectLanguageRequest::Representation command.request_object = detect_language_request_object command.response_representation = Google::Apis::TranslateV2::ListDetectionsResponse::Representation command.response_class = Google::Apis::TranslateV2::ListDetectionsResponse - 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 @@ -168,12 +84,12 @@ module Google # @param [Array, String] q # The input text upon which to perform language detection. Repeat this # parameter to perform language detection on multiple text inputs. + # @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] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -186,13 +102,13 @@ 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_detections(q, quota_user: nil, fields: nil, options: nil, &block) + def list_detections(q, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/detect', options) command.response_representation = Google::Apis::TranslateV2::ListDetectionsResponse::Representation command.response_class = Google::Apis::TranslateV2::ListDetectionsResponse command.query['q'] = q unless q.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 @@ -202,12 +118,12 @@ module Google # @param [String] target # The language to use to return localized, human readable names of supported # languages. + # @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] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -220,22 +136,106 @@ 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_languages(model: nil, target: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_languages(model: nil, target: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/languages', options) command.response_representation = Google::Apis::TranslateV2::ListLanguagesResponse::Representation command.response_class = Google::Apis::TranslateV2::ListLanguagesResponse command.query['model'] = model unless model.nil? command.query['target'] = target unless target.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 + + # Translates input text, returning translated text. + # @param [Array, String] q + # The input text to translate. Repeat this parameter to perform translation + # operations on multiple text inputs. + # @param [String] target + # The language to use for translation of the input text, set to one of the + # language codes listed in Language Support. + # @param [Array, String] cid + # The customization id for translate + # @param [String] format + # The format of the source text, in either HTML (default) or plain-text. A + # value of "html" indicates HTML and a value of "text" indicates plain-text. + # @param [String] model + # The `model` type requested for this translation. Valid values are + # listed in public documentation. + # @param [String] source + # The language of the source text, set to one of the language codes listed in + # Language Support. If the source language is not specified, the API will + # attempt to identify the source language automatically and return it within + # the response. + # @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 [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::TranslateV2::ListTranslationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::TranslateV2::ListTranslationsResponse] + # + # @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_translations(q, target, cid: nil, format: nil, model: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2', options) + command.response_representation = Google::Apis::TranslateV2::ListTranslationsResponse::Representation + command.response_class = Google::Apis::TranslateV2::ListTranslationsResponse + command.query['cid'] = cid unless cid.nil? + command.query['format'] = format unless format.nil? + command.query['model'] = model unless model.nil? + command.query['q'] = q unless q.nil? + command.query['source'] = source unless source.nil? + command.query['target'] = target unless target.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Translates input text, returning translated text. + # @param [Google::Apis::TranslateV2::TranslateTextRequest] translate_text_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 [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::TranslateV2::ListTranslationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::TranslateV2::ListTranslationsResponse] + # + # @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 translate_translation_text(translate_text_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2', options) + command.request_representation = Google::Apis::TranslateV2::TranslateTextRequest::Representation + command.request_object = translate_text_request_object + command.response_representation = Google::Apis::TranslateV2::ListTranslationsResponse::Representation + command.response_class = Google::Apis::TranslateV2::ListTranslationsResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end protected def apply_command_defaults(command) - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? end end end diff --git a/generated/google/apis/vault_v1.rb b/generated/google/apis/vault_v1.rb new file mode 100644 index 000000000..86bd93257 --- /dev/null +++ b/generated/google/apis/vault_v1.rb @@ -0,0 +1,31 @@ +# 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/vault_v1/service.rb' +require 'google/apis/vault_v1/classes.rb' +require 'google/apis/vault_v1/representations.rb' + +module Google + module Apis + # Google Vault API + # + # + # + # @see https://apps.google.com/products/vault/ + module VaultV1 + VERSION = 'V1' + REVISION = '20170720' + end + end +end diff --git a/generated/google/apis/vault_v1/classes.rb b/generated/google/apis/vault_v1/classes.rb new file mode 100644 index 000000000..e10081274 --- /dev/null +++ b/generated/google/apis/vault_v1/classes.rb @@ -0,0 +1,554 @@ +# 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 VaultV1 + + # Add an account with the permission specified. The role cannot be owner. + # If an account already has a role in the matter, it will be + # overwritten. + class AddMatterPermissionsRequest + include Google::Apis::Core::Hashable + + # Only relevant if send_emails is true. + # True to CC requestor in the email message. + # False to not CC requestor. + # Corresponds to the JSON property `ccMe` + # @return [Boolean] + attr_accessor :cc_me + alias_method :cc_me?, :cc_me + + # Currently each matter only has one owner, and all others are collaborators. + # When an account is purged, its corresponding MatterPermission resources + # cease to exist. + # Corresponds to the JSON property `matterPermission` + # @return [Google::Apis::VaultV1::MatterPermission] + attr_accessor :matter_permission + + # True to send notification email to the added account. + # False to not send notification email. + # Corresponds to the JSON property `sendEmails` + # @return [Boolean] + attr_accessor :send_emails + alias_method :send_emails?, :send_emails + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cc_me = args[:cc_me] if args.key?(:cc_me) + @matter_permission = args[:matter_permission] if args.key?(:matter_permission) + @send_emails = args[:send_emails] if args.key?(:send_emails) + end + end + + # Close a matter by ID. + class CloseMatterRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Response to a CloseMatterRequest. + class CloseMatterResponse + include Google::Apis::Core::Hashable + + # Represents a matter. + # Corresponds to the JSON property `matter` + # @return [Google::Apis::VaultV1::Matter] + attr_accessor :matter + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @matter = args[:matter] if args.key?(:matter) + end + end + + # Corpus specific queries. + class CorpusQuery + include Google::Apis::Core::Hashable + + # Query options for drive holds. + # Corresponds to the JSON property `driveQuery` + # @return [Google::Apis::VaultV1::HeldDriveQuery] + attr_accessor :drive_query + + # Query options for group holds. + # Corresponds to the JSON property `groupsQuery` + # @return [Google::Apis::VaultV1::HeldGroupsQuery] + attr_accessor :groups_query + + # Query options for mail holds. + # Corresponds to the JSON property `mailQuery` + # @return [Google::Apis::VaultV1::HeldMailQuery] + attr_accessor :mail_query + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @drive_query = args[:drive_query] if args.key?(:drive_query) + @groups_query = args[:groups_query] if args.key?(:groups_query) + @mail_query = args[:mail_query] if args.key?(:mail_query) + 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 + + # An account being held in a particular hold. This structure is immutable. + # This can be either a single user or a google group, depending on the corpus. + class HeldAccount + include Google::Apis::Core::Hashable + + # The account's ID as provided by the Admin SDK. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # When the account was put on hold. + # Corresponds to the JSON property `holdTime` + # @return [String] + attr_accessor :hold_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @hold_time = args[:hold_time] if args.key?(:hold_time) + end + end + + # Query options for drive holds. + class HeldDriveQuery + include Google::Apis::Core::Hashable + + # If true, include files in Team Drives in the hold. + # Corresponds to the JSON property `includeTeamDriveFiles` + # @return [Boolean] + attr_accessor :include_team_drive_files + alias_method :include_team_drive_files?, :include_team_drive_files + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @include_team_drive_files = args[:include_team_drive_files] if args.key?(:include_team_drive_files) + end + end + + # Query options for group holds. + class HeldGroupsQuery + include Google::Apis::Core::Hashable + + # The end date range for the search query. These timestamps are in GMT and + # rounded down to the start of the given date. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # The start date range for the search query. These timestamps are in GMT and + # rounded down to the start of the given date. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # The search terms for the hold. + # Corresponds to the JSON property `terms` + # @return [String] + attr_accessor :terms + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) + @terms = args[:terms] if args.key?(:terms) + end + end + + # Query options for mail holds. + class HeldMailQuery + include Google::Apis::Core::Hashable + + # The end date range for the search query. These timestamps are in GMT and + # rounded down to the start of the given date. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # The start date range for the search query. These timestamps are in GMT and + # rounded down to the start of the given date. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # The search terms for the hold. + # Corresponds to the JSON property `terms` + # @return [String] + attr_accessor :terms + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) + @terms = args[:terms] if args.key?(:terms) + end + end + + # A organizational unit being held in a particular hold. + # This structure is immutable. + class HeldOrgUnit + include Google::Apis::Core::Hashable + + # When the org unit was put on hold. This property is immutable. + # Corresponds to the JSON property `holdTime` + # @return [String] + attr_accessor :hold_time + + # The org unit's immutable ID as provided by the admin SDK. + # Corresponds to the JSON property `orgUnitId` + # @return [String] + attr_accessor :org_unit_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @hold_time = args[:hold_time] if args.key?(:hold_time) + @org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id) + end + end + + # Represents a hold within Vault. A hold restricts purging of + # artifacts based on the combination of the query and accounts restrictions. + # A hold can be configured to either apply to an explicitly configured set + # of accounts, or can be applied to all members of an organizational unit. + class Hold + include Google::Apis::Core::Hashable + + # If set, the hold applies to the enumerated accounts and org_unit must be + # empty. + # Corresponds to the JSON property `accounts` + # @return [Array] + attr_accessor :accounts + + # The corpus to be searched. + # Corresponds to the JSON property `corpus` + # @return [String] + attr_accessor :corpus + + # The unique immutable ID of the hold. Assigned during creation. + # Corresponds to the JSON property `holdId` + # @return [String] + attr_accessor :hold_id + + # The name of the hold. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # A organizational unit being held in a particular hold. + # This structure is immutable. + # Corresponds to the JSON property `orgUnit` + # @return [Google::Apis::VaultV1::HeldOrgUnit] + attr_accessor :org_unit + + # Corpus specific queries. + # Corresponds to the JSON property `query` + # @return [Google::Apis::VaultV1::CorpusQuery] + attr_accessor :query + + # The last time this hold was modified. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @accounts = args[:accounts] if args.key?(:accounts) + @corpus = args[:corpus] if args.key?(:corpus) + @hold_id = args[:hold_id] if args.key?(:hold_id) + @name = args[:name] if args.key?(:name) + @org_unit = args[:org_unit] if args.key?(:org_unit) + @query = args[:query] if args.key?(:query) + @update_time = args[:update_time] if args.key?(:update_time) + end + end + + # Returns a list of held accounts for a hold. + class ListHeldAccountsResponse + include Google::Apis::Core::Hashable + + # The held accounts on a hold. + # Corresponds to the JSON property `accounts` + # @return [Array] + attr_accessor :accounts + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @accounts = args[:accounts] if args.key?(:accounts) + end + end + + # The holds for a matter. + class ListHoldsResponse + include Google::Apis::Core::Hashable + + # The list of holds. + # Corresponds to the JSON property `holds` + # @return [Array] + attr_accessor :holds + + # Page token to retrieve the next page of results in the list. + # If this is empty, then there are no more holds to list. + # 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) + @holds = args[:holds] if args.key?(:holds) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Provides the list of matters. + class ListMattersResponse + include Google::Apis::Core::Hashable + + # List of matters. + # Corresponds to the JSON property `matters` + # @return [Array] + attr_accessor :matters + + # Page token to retrieve the next page of results in the list. + # 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) + @matters = args[:matters] if args.key?(:matters) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Represents a matter. + class Matter + include Google::Apis::Core::Hashable + + # The description of the matter. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The matter ID which is generated by the server. + # Should be blank when creating a new matter. + # Corresponds to the JSON property `matterId` + # @return [String] + attr_accessor :matter_id + + # List of users and access to the matter. Currently there is no programmer + # defined limit on the number of permissions a matter can have. + # Corresponds to the JSON property `matterPermissions` + # @return [Array] + attr_accessor :matter_permissions + + # The name of the matter. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The state of the matter. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @matter_id = args[:matter_id] if args.key?(:matter_id) + @matter_permissions = args[:matter_permissions] if args.key?(:matter_permissions) + @name = args[:name] if args.key?(:name) + @state = args[:state] if args.key?(:state) + end + end + + # Currently each matter only has one owner, and all others are collaborators. + # When an account is purged, its corresponding MatterPermission resources + # cease to exist. + class MatterPermission + include Google::Apis::Core::Hashable + + # The account id, as provided by Admin SDK. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # The user's role in this matter. + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @role = args[:role] if args.key?(:role) + end + end + + # Remove an account as a matter collaborator. + class RemoveMatterPermissionsRequest + include Google::Apis::Core::Hashable + + # The account ID. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + end + end + + # Reopen a matter by ID. + class ReopenMatterRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Response to a ReopenMatterRequest. + class ReopenMatterResponse + include Google::Apis::Core::Hashable + + # Represents a matter. + # Corresponds to the JSON property `matter` + # @return [Google::Apis::VaultV1::Matter] + attr_accessor :matter + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @matter = args[:matter] if args.key?(:matter) + end + end + + # Undelete a matter by ID. + class UndeleteMatterRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + end + end +end diff --git a/generated/google/apis/vault_v1/representations.rb b/generated/google/apis/vault_v1/representations.rb new file mode 100644 index 000000000..380aeac52 --- /dev/null +++ b/generated/google/apis/vault_v1/representations.rb @@ -0,0 +1,318 @@ +# 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 VaultV1 + + class AddMatterPermissionsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CloseMatterRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CloseMatterResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CorpusQuery + 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 HeldAccount + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HeldDriveQuery + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HeldGroupsQuery + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HeldMailQuery + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HeldOrgUnit + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Hold + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListHeldAccountsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListHoldsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListMattersResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Matter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MatterPermission + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RemoveMatterPermissionsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReopenMatterRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReopenMatterResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UndeleteMatterRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AddMatterPermissionsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cc_me, as: 'ccMe' + property :matter_permission, as: 'matterPermission', class: Google::Apis::VaultV1::MatterPermission, decorator: Google::Apis::VaultV1::MatterPermission::Representation + + property :send_emails, as: 'sendEmails' + end + end + + class CloseMatterRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class CloseMatterResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :matter, as: 'matter', class: Google::Apis::VaultV1::Matter, decorator: Google::Apis::VaultV1::Matter::Representation + + end + end + + class CorpusQuery + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :drive_query, as: 'driveQuery', class: Google::Apis::VaultV1::HeldDriveQuery, decorator: Google::Apis::VaultV1::HeldDriveQuery::Representation + + property :groups_query, as: 'groupsQuery', class: Google::Apis::VaultV1::HeldGroupsQuery, decorator: Google::Apis::VaultV1::HeldGroupsQuery::Representation + + property :mail_query, as: 'mailQuery', class: Google::Apis::VaultV1::HeldMailQuery, decorator: Google::Apis::VaultV1::HeldMailQuery::Representation + + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class HeldAccount + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :hold_time, as: 'holdTime' + end + end + + class HeldDriveQuery + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :include_team_drive_files, as: 'includeTeamDriveFiles' + end + end + + class HeldGroupsQuery + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_time, as: 'endTime' + property :start_time, as: 'startTime' + property :terms, as: 'terms' + end + end + + class HeldMailQuery + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_time, as: 'endTime' + property :start_time, as: 'startTime' + property :terms, as: 'terms' + end + end + + class HeldOrgUnit + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :hold_time, as: 'holdTime' + property :org_unit_id, as: 'orgUnitId' + end + end + + class Hold + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :accounts, as: 'accounts', class: Google::Apis::VaultV1::HeldAccount, decorator: Google::Apis::VaultV1::HeldAccount::Representation + + property :corpus, as: 'corpus' + property :hold_id, as: 'holdId' + property :name, as: 'name' + property :org_unit, as: 'orgUnit', class: Google::Apis::VaultV1::HeldOrgUnit, decorator: Google::Apis::VaultV1::HeldOrgUnit::Representation + + property :query, as: 'query', class: Google::Apis::VaultV1::CorpusQuery, decorator: Google::Apis::VaultV1::CorpusQuery::Representation + + property :update_time, as: 'updateTime' + end + end + + class ListHeldAccountsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :accounts, as: 'accounts', class: Google::Apis::VaultV1::HeldAccount, decorator: Google::Apis::VaultV1::HeldAccount::Representation + + end + end + + class ListHoldsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :holds, as: 'holds', class: Google::Apis::VaultV1::Hold, decorator: Google::Apis::VaultV1::Hold::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListMattersResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :matters, as: 'matters', class: Google::Apis::VaultV1::Matter, decorator: Google::Apis::VaultV1::Matter::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class Matter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :matter_id, as: 'matterId' + collection :matter_permissions, as: 'matterPermissions', class: Google::Apis::VaultV1::MatterPermission, decorator: Google::Apis::VaultV1::MatterPermission::Representation + + property :name, as: 'name' + property :state, as: 'state' + end + end + + class MatterPermission + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :role, as: 'role' + end + end + + class RemoveMatterPermissionsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + end + end + + class ReopenMatterRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class ReopenMatterResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :matter, as: 'matter', class: Google::Apis::VaultV1::Matter, decorator: Google::Apis::VaultV1::Matter::Representation + + end + end + + class UndeleteMatterRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + end + end +end diff --git a/generated/google/apis/vault_v1/service.rb b/generated/google/apis/vault_v1/service.rb new file mode 100644 index 000000000..1e7dbf695 --- /dev/null +++ b/generated/google/apis/vault_v1/service.rb @@ -0,0 +1,677 @@ +# 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 VaultV1 + # Google Vault API + # + # + # + # @example + # require 'google/apis/vault_v1' + # + # Vault = Google::Apis::VaultV1 # Alias the module + # service = Vault::VaultService.new + # + # @see https://apps.google.com/products/vault/ + class VaultService < 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://vault.googleapis.com/', '') + @batch_path = 'batch' + end + + # Adds an account as a matter collaborator. + # @param [String] matter_id + # The matter ID. + # @param [Google::Apis::VaultV1::AddMatterPermissionsRequest] add_matter_permissions_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::VaultV1::MatterPermission] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VaultV1::MatterPermission] + # + # @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 add_matter_permissions(matter_id, add_matter_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/matters/{matterId}:addPermissions', options) + command.request_representation = Google::Apis::VaultV1::AddMatterPermissionsRequest::Representation + command.request_object = add_matter_permissions_request_object + command.response_representation = Google::Apis::VaultV1::MatterPermission::Representation + command.response_class = Google::Apis::VaultV1::MatterPermission + command.params['matterId'] = matter_id unless matter_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 + + # Closes the specified matter. Returns matter with updated state. + # @param [String] matter_id + # The matter ID. + # @param [Google::Apis::VaultV1::CloseMatterRequest] close_matter_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::VaultV1::CloseMatterResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VaultV1::CloseMatterResponse] + # + # @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 close_matter(matter_id, close_matter_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/matters/{matterId}:close', options) + command.request_representation = Google::Apis::VaultV1::CloseMatterRequest::Representation + command.request_object = close_matter_request_object + command.response_representation = Google::Apis::VaultV1::CloseMatterResponse::Representation + command.response_class = Google::Apis::VaultV1::CloseMatterResponse + command.params['matterId'] = matter_id unless matter_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 + + # Creates a new matter. Returns created matter with default view. + # @param [Google::Apis::VaultV1::Matter] matter_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::VaultV1::Matter] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VaultV1::Matter] + # + # @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_matter(matter_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/matters', options) + command.request_representation = Google::Apis::VaultV1::Matter::Representation + command.request_object = matter_object + command.response_representation = Google::Apis::VaultV1::Matter::Representation + command.response_class = Google::Apis::VaultV1::Matter + 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 specified matter. Returns matter with updated state. + # @param [String] matter_id + # The matter 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::VaultV1::Matter] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VaultV1::Matter] + # + # @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_matter(matter_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/matters/{matterId}', options) + command.response_representation = Google::Apis::VaultV1::Matter::Representation + command.response_class = Google::Apis::VaultV1::Matter + command.params['matterId'] = matter_id unless matter_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 specified matter. + # @param [String] matter_id + # The matter ID. + # @param [String] view + # Specifies which parts of the Matter to return in the response. + # @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::VaultV1::Matter] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VaultV1::Matter] + # + # @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_matter(matter_id, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/matters/{matterId}', options) + command.response_representation = Google::Apis::VaultV1::Matter::Representation + command.response_class = Google::Apis::VaultV1::Matter + command.params['matterId'] = matter_id unless matter_id.nil? + command.query['view'] = view unless view.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 matters the user has access to. + # @param [Fixnum] page_size + # The number of matters to return in the response. + # Default and maximum are 100. + # @param [String] page_token + # The pagination token as returned in the response. + # @param [String] view + # Specifies which parts of the matter to return in response. + # @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::VaultV1::ListMattersResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VaultV1::ListMattersResponse] + # + # @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_matters(page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/matters', options) + command.response_representation = Google::Apis::VaultV1::ListMattersResponse::Representation + command.response_class = Google::Apis::VaultV1::ListMattersResponse + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['view'] = view unless view.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Removes an account as a matter collaborator. + # @param [String] matter_id + # The matter ID. + # @param [Google::Apis::VaultV1::RemoveMatterPermissionsRequest] remove_matter_permissions_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::VaultV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VaultV1::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 remove_matter_permissions(matter_id, remove_matter_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/matters/{matterId}:removePermissions', options) + command.request_representation = Google::Apis::VaultV1::RemoveMatterPermissionsRequest::Representation + command.request_object = remove_matter_permissions_request_object + command.response_representation = Google::Apis::VaultV1::Empty::Representation + command.response_class = Google::Apis::VaultV1::Empty + command.params['matterId'] = matter_id unless matter_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 + + # Reopens the specified matter. Returns matter with updated state. + # @param [String] matter_id + # The matter ID. + # @param [Google::Apis::VaultV1::ReopenMatterRequest] reopen_matter_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::VaultV1::ReopenMatterResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VaultV1::ReopenMatterResponse] + # + # @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 reopen_matter(matter_id, reopen_matter_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/matters/{matterId}:reopen', options) + command.request_representation = Google::Apis::VaultV1::ReopenMatterRequest::Representation + command.request_object = reopen_matter_request_object + command.response_representation = Google::Apis::VaultV1::ReopenMatterResponse::Representation + command.response_class = Google::Apis::VaultV1::ReopenMatterResponse + command.params['matterId'] = matter_id unless matter_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 + + # Undeletes the specified matter. Returns matter with updated state. + # @param [String] matter_id + # The matter ID. + # @param [Google::Apis::VaultV1::UndeleteMatterRequest] undelete_matter_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::VaultV1::Matter] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VaultV1::Matter] + # + # @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_matter(matter_id, undelete_matter_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/matters/{matterId}:undelete', options) + command.request_representation = Google::Apis::VaultV1::UndeleteMatterRequest::Representation + command.request_object = undelete_matter_request_object + command.response_representation = Google::Apis::VaultV1::Matter::Representation + command.response_class = Google::Apis::VaultV1::Matter + command.params['matterId'] = matter_id unless matter_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 + + # Updates the specified matter. + # This updates only the name and description of the matter, identified by + # matter id. Changes to any other fields are ignored. + # Returns the default view of the matter. + # @param [String] matter_id + # The matter ID. + # @param [Google::Apis::VaultV1::Matter] matter_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::VaultV1::Matter] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VaultV1::Matter] + # + # @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_matter(matter_id, matter_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v1/matters/{matterId}', options) + command.request_representation = Google::Apis::VaultV1::Matter::Representation + command.request_object = matter_object + command.response_representation = Google::Apis::VaultV1::Matter::Representation + command.response_class = Google::Apis::VaultV1::Matter + command.params['matterId'] = matter_id unless matter_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 + + # Creates a hold in the given matter. + # @param [String] matter_id + # The matter ID. + # @param [Google::Apis::VaultV1::Hold] hold_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::VaultV1::Hold] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VaultV1::Hold] + # + # @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_matter_hold(matter_id, hold_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/matters/{matterId}/holds', options) + command.request_representation = Google::Apis::VaultV1::Hold::Representation + command.request_object = hold_object + command.response_representation = Google::Apis::VaultV1::Hold::Representation + command.response_class = Google::Apis::VaultV1::Hold + command.params['matterId'] = matter_id unless matter_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 + + # Removes a hold by ID. This will release any HeldAccounts on this Hold. + # @param [String] matter_id + # The matter ID. + # @param [String] hold_id + # The hold 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::VaultV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VaultV1::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_matter_hold(matter_id, hold_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/matters/{matterId}/holds/{holdId}', options) + command.response_representation = Google::Apis::VaultV1::Empty::Representation + command.response_class = Google::Apis::VaultV1::Empty + command.params['matterId'] = matter_id unless matter_id.nil? + command.params['holdId'] = hold_id unless hold_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 a hold by ID. + # @param [String] matter_id + # The matter ID. + # @param [String] hold_id + # The hold 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::VaultV1::Hold] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VaultV1::Hold] + # + # @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_matter_hold(matter_id, hold_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/matters/{matterId}/holds/{holdId}', options) + command.response_representation = Google::Apis::VaultV1::Hold::Representation + command.response_class = Google::Apis::VaultV1::Hold + command.params['matterId'] = matter_id unless matter_id.nil? + command.params['holdId'] = hold_id unless hold_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 holds within a matter. An empty page token in ListHoldsResponse + # denotes no more holds to list. + # @param [String] matter_id + # The matter ID. + # @param [Fixnum] page_size + # The number of holds to return in the response, between 0 and 100 inclusive. + # Leaving this empty, or as 0, is the same as page_size = 100. + # @param [String] page_token + # The pagination token as returned in the response. + # An empty token means start from the beginning. + # @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::VaultV1::ListHoldsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VaultV1::ListHoldsResponse] + # + # @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_matter_holds(matter_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/matters/{matterId}/holds', options) + command.response_representation = Google::Apis::VaultV1::ListHoldsResponse::Representation + command.response_class = Google::Apis::VaultV1::ListHoldsResponse + command.params['matterId'] = matter_id unless matter_id.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 + + # Updates the OU and/or query parameters of a hold. You cannot add accounts + # to a hold that covers an OU, nor can you add OUs to a hold that covers + # individual accounts. Accounts listed in the hold will be ignored. + # @param [String] matter_id + # The matter ID. + # @param [String] hold_id + # The ID of the hold. + # @param [Google::Apis::VaultV1::Hold] hold_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::VaultV1::Hold] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VaultV1::Hold] + # + # @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_matter_hold(matter_id, hold_id, hold_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v1/matters/{matterId}/holds/{holdId}', options) + command.request_representation = Google::Apis::VaultV1::Hold::Representation + command.request_object = hold_object + command.response_representation = Google::Apis::VaultV1::Hold::Representation + command.response_class = Google::Apis::VaultV1::Hold + command.params['matterId'] = matter_id unless matter_id.nil? + command.params['holdId'] = hold_id unless hold_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 + + # Adds a HeldAccount to a hold. Accounts can only be added to a hold that + # has no held_org_unit set. Attempting to add an account to an OU-based + # hold will result in an error. + # @param [String] matter_id + # The matter ID. + # @param [String] hold_id + # The hold ID. + # @param [Google::Apis::VaultV1::HeldAccount] held_account_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::VaultV1::HeldAccount] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VaultV1::HeldAccount] + # + # @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_matter_hold_account(matter_id, hold_id, held_account_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/matters/{matterId}/holds/{holdId}/accounts', options) + command.request_representation = Google::Apis::VaultV1::HeldAccount::Representation + command.request_object = held_account_object + command.response_representation = Google::Apis::VaultV1::HeldAccount::Representation + command.response_class = Google::Apis::VaultV1::HeldAccount + command.params['matterId'] = matter_id unless matter_id.nil? + command.params['holdId'] = hold_id unless hold_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 + + # Removes a HeldAccount from a hold. If this request leaves the hold with + # no held accounts, the hold will not apply to any accounts. + # @param [String] matter_id + # The matter ID. + # @param [String] hold_id + # The hold ID. + # @param [String] account_id + # The ID of the account to remove from the hold. + # @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::VaultV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VaultV1::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_matter_hold_account(matter_id, hold_id, account_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/matters/{matterId}/holds/{holdId}/accounts/{accountId}', options) + command.response_representation = Google::Apis::VaultV1::Empty::Representation + command.response_class = Google::Apis::VaultV1::Empty + command.params['matterId'] = matter_id unless matter_id.nil? + command.params['holdId'] = hold_id unless hold_id.nil? + 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? + execute_or_queue_command(command, &block) + end + + # Lists HeldAccounts for a hold. This will only list individually specified + # held accounts. If the hold is on an OU, then use the Admin SDK + # to enumerate its members. + # @param [String] matter_id + # The matter ID. + # @param [String] hold_id + # The hold 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::VaultV1::ListHeldAccountsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VaultV1::ListHeldAccountsResponse] + # + # @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_matter_hold_accounts(matter_id, hold_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/matters/{matterId}/holds/{holdId}/accounts', options) + command.response_representation = Google::Apis::VaultV1::ListHeldAccountsResponse::Representation + command.response_class = Google::Apis::VaultV1::ListHeldAccountsResponse + command.params['matterId'] = matter_id unless matter_id.nil? + command.params['holdId'] = hold_id unless hold_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 + + 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/videointelligence_v1beta1.rb b/generated/google/apis/videointelligence_v1beta1.rb new file mode 100644 index 000000000..3709a75bf --- /dev/null +++ b/generated/google/apis/videointelligence_v1beta1.rb @@ -0,0 +1,34 @@ +# 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/videointelligence_v1beta1/service.rb' +require 'google/apis/videointelligence_v1beta1/classes.rb' +require 'google/apis/videointelligence_v1beta1/representations.rb' + +module Google + module Apis + # Google Cloud Video Intelligence API + # + # Google Cloud Video Intelligence API. + # + # @see https://cloud.google.com/video-intelligence/docs/ + module VideointelligenceV1beta1 + VERSION = 'V1beta1' + REVISION = '20170807' + + # 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/videointelligence_v1beta1/classes.rb b/generated/google/apis/videointelligence_v1beta1/classes.rb new file mode 100644 index 000000000..41f08a731 --- /dev/null +++ b/generated/google/apis/videointelligence_v1beta1/classes.rb @@ -0,0 +1,903 @@ +# 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 VideointelligenceV1beta1 + + # Video annotation progress. Included in the `metadata` + # field of the `Operation` returned by the `GetOperation` + # call of the `google::longrunning::Operations` service. + class GoogleCloudVideointelligenceV1AnnotateVideoProgress + include Google::Apis::Core::Hashable + + # Progress metadata for all videos specified in `AnnotateVideoRequest`. + # Corresponds to the JSON property `annotationProgress` + # @return [Array] + attr_accessor :annotation_progress + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_progress = args[:annotation_progress] if args.key?(:annotation_progress) + end + end + + # Video annotation response. Included in the `response` + # field of the `Operation` returned by the `GetOperation` + # call of the `google::longrunning::Operations` service. + class GoogleCloudVideointelligenceV1AnnotateVideoResponse + include Google::Apis::Core::Hashable + + # Annotation results for all videos specified in `AnnotateVideoRequest`. + # Corresponds to the JSON property `annotationResults` + # @return [Array] + attr_accessor :annotation_results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_results = args[:annotation_results] if args.key?(:annotation_results) + end + end + + # Label annotation. + class GoogleCloudVideointelligenceV1LabelAnnotation + include Google::Apis::Core::Hashable + + # Textual description, e.g. `Fixed-gear bicycle`. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Language code for `description` in BCP-47 format. + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + # Where the label was detected and with what confidence. + # Corresponds to the JSON property `locations` + # @return [Array] + attr_accessor :locations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @language_code = args[:language_code] if args.key?(:language_code) + @locations = args[:locations] if args.key?(:locations) + end + end + + # Label location. + class GoogleCloudVideointelligenceV1LabelLocation + include Google::Apis::Core::Hashable + + # Confidence that the label is accurate. Range: [0, 1]. + # Corresponds to the JSON property `confidence` + # @return [Float] + attr_accessor :confidence + + # Label level. + # Corresponds to the JSON property `level` + # @return [String] + attr_accessor :level + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @confidence = args[:confidence] if args.key?(:confidence) + @level = args[:level] if args.key?(:level) + @segment = args[:segment] if args.key?(:segment) + end + end + + # Safe search annotation (based on per-frame visual signals only). + # If no unsafe content has been detected in a frame, no annotations + # are present for that frame. + class GoogleCloudVideointelligenceV1SafeSearchAnnotation + include Google::Apis::Core::Hashable + + # Likelihood of adult content. + # Corresponds to the JSON property `adult` + # @return [String] + attr_accessor :adult + + # Time-offset, relative to the beginning of the video, + # corresponding to the video frame for this annotation. + # Corresponds to the JSON property `time` + # @return [String] + attr_accessor :time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @adult = args[:adult] if args.key?(:adult) + @time = args[:time] if args.key?(:time) + end + end + + # Annotation progress for a single video. + class GoogleCloudVideointelligenceV1VideoAnnotationProgress + include Google::Apis::Core::Hashable + + # Video file location in + # [Google Cloud Storage](https://cloud.google.com/storage/). + # Corresponds to the JSON property `inputUri` + # @return [String] + attr_accessor :input_uri + + # Approximate percentage processed thus far. + # Guaranteed to be 100 when fully processed. + # Corresponds to the JSON property `progressPercent` + # @return [Fixnum] + attr_accessor :progress_percent + + # Time when the request was received. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Time of the most recent update. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @input_uri = args[:input_uri] if args.key?(:input_uri) + @progress_percent = args[:progress_percent] if args.key?(:progress_percent) + @start_time = args[:start_time] if args.key?(:start_time) + @update_time = args[:update_time] if args.key?(:update_time) + end + end + + # Annotation results for a single video. + class GoogleCloudVideointelligenceV1VideoAnnotationResults + include Google::Apis::Core::Hashable + + # 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` that 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. + # - 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::VideointelligenceV1beta1::GoogleRpcStatus] + attr_accessor :error + + # Video file location in + # [Google Cloud Storage](https://cloud.google.com/storage/). + # Corresponds to the JSON property `inputUri` + # @return [String] + attr_accessor :input_uri + + # Label annotations. There is exactly one element for each unique label. + # Corresponds to the JSON property `labelAnnotations` + # @return [Array] + attr_accessor :label_annotations + + # Safe search annotations. + # Corresponds to the JSON property `safeSearchAnnotations` + # @return [Array] + attr_accessor :safe_search_annotations + + # Shot annotations. Each shot is represented as a video segment. + # Corresponds to the JSON property `shotAnnotations` + # @return [Array] + attr_accessor :shot_annotations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @error = args[:error] if args.key?(:error) + @input_uri = args[:input_uri] if args.key?(:input_uri) + @label_annotations = args[:label_annotations] if args.key?(:label_annotations) + @safe_search_annotations = args[:safe_search_annotations] if args.key?(:safe_search_annotations) + @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations) + end + end + + # Video segment. + class GoogleCloudVideointelligenceV1VideoSegment + include Google::Apis::Core::Hashable + + # Time-offset, relative to the beginning of the video, + # corresponding to the end of the segment (inclusive). + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # Time-offset, relative to the beginning of the video, + # corresponding to the start of the segment (inclusive). + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) + end + end + + # Video annotation progress. Included in the `metadata` + # field of the `Operation` returned by the `GetOperation` + # call of the `google::longrunning::Operations` service. + class GoogleCloudVideointelligenceV1beta1AnnotateVideoProgress + include Google::Apis::Core::Hashable + + # Progress metadata for all videos specified in `AnnotateVideoRequest`. + # Corresponds to the JSON property `annotationProgress` + # @return [Array] + attr_accessor :annotation_progress + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_progress = args[:annotation_progress] if args.key?(:annotation_progress) + end + end + + # Video annotation request. + class GoogleCloudVideointelligenceV1beta1AnnotateVideoRequest + include Google::Apis::Core::Hashable + + # Requested video annotation features. + # Corresponds to the JSON property `features` + # @return [Array] + attr_accessor :features + + # The video data bytes. Encoding: base64. If unset, the input video(s) + # should be specified via `input_uri`. If set, `input_uri` should be unset. + # Corresponds to the JSON property `inputContent` + # @return [String] + attr_accessor :input_content + + # Input video location. Currently, only + # [Google Cloud Storage](https://cloud.google.com/storage/) URIs are + # supported, which must be specified in the following format: + # `gs://bucket-id/object-id` (other URI formats return + # google.rpc.Code.INVALID_ARGUMENT). For more information, see + # [Request URIs](/storage/docs/reference-uris). + # A video URI may include wildcards in `object-id`, and thus identify + # multiple videos. Supported wildcards: '*' to match 0 or more characters; + # '?' to match 1 character. If unset, the input video should be embedded + # in the request as `input_content`. If set, `input_content` should be unset. + # Corresponds to the JSON property `inputUri` + # @return [String] + attr_accessor :input_uri + + # Optional cloud region where annotation should take place. Supported cloud + # regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region + # is specified, a region will be determined based on video file location. + # Corresponds to the JSON property `locationId` + # @return [String] + attr_accessor :location_id + + # Optional location where the output (in JSON format) should be stored. + # Currently, only [Google Cloud Storage](https://cloud.google.com/storage/) + # URIs are supported, which must be specified in the following format: + # `gs://bucket-id/object-id` (other URI formats return + # google.rpc.Code.INVALID_ARGUMENT). For more information, see + # [Request URIs](/storage/docs/reference-uris). + # Corresponds to the JSON property `outputUri` + # @return [String] + attr_accessor :output_uri + + # Video context and/or feature-specific parameters. + # Corresponds to the JSON property `videoContext` + # @return [Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta1VideoContext] + attr_accessor :video_context + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @features = args[:features] if args.key?(:features) + @input_content = args[:input_content] if args.key?(:input_content) + @input_uri = args[:input_uri] if args.key?(:input_uri) + @location_id = args[:location_id] if args.key?(:location_id) + @output_uri = args[:output_uri] if args.key?(:output_uri) + @video_context = args[:video_context] if args.key?(:video_context) + end + end + + # Video annotation response. Included in the `response` + # field of the `Operation` returned by the `GetOperation` + # call of the `google::longrunning::Operations` service. + class GoogleCloudVideointelligenceV1beta1AnnotateVideoResponse + include Google::Apis::Core::Hashable + + # Annotation results for all videos specified in `AnnotateVideoRequest`. + # Corresponds to the JSON property `annotationResults` + # @return [Array] + attr_accessor :annotation_results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annotation_results = args[:annotation_results] if args.key?(:annotation_results) + end + end + + # Label annotation. + class GoogleCloudVideointelligenceV1beta1LabelAnnotation + include Google::Apis::Core::Hashable + + # Textual description, e.g. `Fixed-gear bicycle`. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Language code for `description` in BCP-47 format. + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + # Where the label was detected and with what confidence. + # Corresponds to the JSON property `locations` + # @return [Array] + attr_accessor :locations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @language_code = args[:language_code] if args.key?(:language_code) + @locations = args[:locations] if args.key?(:locations) + end + end + + # Label location. + class GoogleCloudVideointelligenceV1beta1LabelLocation + include Google::Apis::Core::Hashable + + # Confidence that the label is accurate. Range: [0, 1]. + # Corresponds to the JSON property `confidence` + # @return [Float] + attr_accessor :confidence + + # Label level. + # Corresponds to the JSON property `level` + # @return [String] + attr_accessor :level + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta1VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @confidence = args[:confidence] if args.key?(:confidence) + @level = args[:level] if args.key?(:level) + @segment = args[:segment] if args.key?(:segment) + end + end + + # Safe search annotation (based on per-frame visual signals only). + # If no unsafe content has been detected in a frame, no annotations + # are present for that frame. If only some types of unsafe content + # have been detected in a frame, the likelihood is set to `UNKNOWN` + # for all other types of unsafe content. + class GoogleCloudVideointelligenceV1beta1SafeSearchAnnotation + include Google::Apis::Core::Hashable + + # Likelihood of adult content. + # Corresponds to the JSON property `adult` + # @return [String] + attr_accessor :adult + + # Likelihood of medical content. + # Corresponds to the JSON property `medical` + # @return [String] + attr_accessor :medical + + # Likelihood of racy content. + # Corresponds to the JSON property `racy` + # @return [String] + attr_accessor :racy + + # Likelihood that an obvious modification was made to the original + # version to make it appear funny or offensive. + # Corresponds to the JSON property `spoof` + # @return [String] + attr_accessor :spoof + + # Video time offset in microseconds. + # Corresponds to the JSON property `timeOffset` + # @return [Fixnum] + attr_accessor :time_offset + + # Likelihood of violent content. + # Corresponds to the JSON property `violent` + # @return [String] + attr_accessor :violent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @adult = args[:adult] if args.key?(:adult) + @medical = args[:medical] if args.key?(:medical) + @racy = args[:racy] if args.key?(:racy) + @spoof = args[:spoof] if args.key?(:spoof) + @time_offset = args[:time_offset] if args.key?(:time_offset) + @violent = args[:violent] if args.key?(:violent) + end + end + + # Annotation progress for a single video. + class GoogleCloudVideointelligenceV1beta1VideoAnnotationProgress + include Google::Apis::Core::Hashable + + # Video file location in + # [Google Cloud Storage](https://cloud.google.com/storage/). + # Corresponds to the JSON property `inputUri` + # @return [String] + attr_accessor :input_uri + + # Approximate percentage processed thus far. + # Guaranteed to be 100 when fully processed. + # Corresponds to the JSON property `progressPercent` + # @return [Fixnum] + attr_accessor :progress_percent + + # Time when the request was received. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Time of the most recent update. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @input_uri = args[:input_uri] if args.key?(:input_uri) + @progress_percent = args[:progress_percent] if args.key?(:progress_percent) + @start_time = args[:start_time] if args.key?(:start_time) + @update_time = args[:update_time] if args.key?(:update_time) + end + end + + # Annotation results for a single video. + class GoogleCloudVideointelligenceV1beta1VideoAnnotationResults + include Google::Apis::Core::Hashable + + # 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` that 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. + # - 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::VideointelligenceV1beta1::GoogleRpcStatus] + attr_accessor :error + + # Video file location in + # [Google Cloud Storage](https://cloud.google.com/storage/). + # Corresponds to the JSON property `inputUri` + # @return [String] + attr_accessor :input_uri + + # Label annotations. There is exactly one element for each unique label. + # Corresponds to the JSON property `labelAnnotations` + # @return [Array] + attr_accessor :label_annotations + + # Safe search annotations. + # Corresponds to the JSON property `safeSearchAnnotations` + # @return [Array] + attr_accessor :safe_search_annotations + + # Shot annotations. Each shot is represented as a video segment. + # Corresponds to the JSON property `shotAnnotations` + # @return [Array] + attr_accessor :shot_annotations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @error = args[:error] if args.key?(:error) + @input_uri = args[:input_uri] if args.key?(:input_uri) + @label_annotations = args[:label_annotations] if args.key?(:label_annotations) + @safe_search_annotations = args[:safe_search_annotations] if args.key?(:safe_search_annotations) + @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations) + end + end + + # Video context and/or feature-specific parameters. + class GoogleCloudVideointelligenceV1beta1VideoContext + include Google::Apis::Core::Hashable + + # If label detection has been requested, what labels should be detected + # in addition to video-level labels or segment-level labels. If unspecified, + # defaults to `SHOT_MODE`. + # Corresponds to the JSON property `labelDetectionMode` + # @return [String] + attr_accessor :label_detection_mode + + # Model to use for label detection. + # Supported values: "latest" and "stable" (the default). + # Corresponds to the JSON property `labelDetectionModel` + # @return [String] + attr_accessor :label_detection_model + + # Model to use for safe search detection. + # Supported values: "latest" and "stable" (the default). + # Corresponds to the JSON property `safeSearchDetectionModel` + # @return [String] + attr_accessor :safe_search_detection_model + + # Video segments to annotate. The segments may overlap and are not required + # to be contiguous or span the whole video. If unspecified, each video + # is treated as a single segment. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Model to use for shot change detection. + # Supported values: "latest" and "stable" (the default). + # Corresponds to the JSON property `shotChangeDetectionModel` + # @return [String] + attr_accessor :shot_change_detection_model + + # Whether the video has been shot from a stationary (i.e. non-moving) camera. + # When set to true, might improve detection accuracy for moving objects. + # Corresponds to the JSON property `stationaryCamera` + # @return [Boolean] + attr_accessor :stationary_camera + alias_method :stationary_camera?, :stationary_camera + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @label_detection_mode = args[:label_detection_mode] if args.key?(:label_detection_mode) + @label_detection_model = args[:label_detection_model] if args.key?(:label_detection_model) + @safe_search_detection_model = args[:safe_search_detection_model] if args.key?(:safe_search_detection_model) + @segments = args[:segments] if args.key?(:segments) + @shot_change_detection_model = args[:shot_change_detection_model] if args.key?(:shot_change_detection_model) + @stationary_camera = args[:stationary_camera] if args.key?(:stationary_camera) + end + end + + # Video segment. + class GoogleCloudVideointelligenceV1beta1VideoSegment + include Google::Apis::Core::Hashable + + # End offset in microseconds (inclusive). Unset means 0. + # Corresponds to the JSON property `endTimeOffset` + # @return [Fixnum] + attr_accessor :end_time_offset + + # Start offset in microseconds (inclusive). Unset means 0. + # Corresponds to the JSON property `startTimeOffset` + # @return [Fixnum] + attr_accessor :start_time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_time_offset = args[:end_time_offset] if args.key?(:end_time_offset) + @start_time_offset = args[:start_time_offset] if args.key?(:start_time_offset) + end + end + + # This resource represents a long-running operation that is the result of a + # network API call. + class GoogleLongrunningOperation + include Google::Apis::Core::Hashable + + # 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` that 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. + # - 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::VideointelligenceV1beta1::GoogleRpcStatus] + attr_accessor :error + + # 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 + + # 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 + + # 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) + @done = args[:done] if args.key?(:done) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + @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` that 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. + # - 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 GoogleRpcStatus + 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 is 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 + end + end +end diff --git a/generated/google/apis/videointelligence_v1beta1/representations.rb b/generated/google/apis/videointelligence_v1beta1/representations.rb new file mode 100644 index 000000000..a907315d6 --- /dev/null +++ b/generated/google/apis/videointelligence_v1beta1/representations.rb @@ -0,0 +1,351 @@ +# 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 VideointelligenceV1beta1 + + class GoogleCloudVideointelligenceV1AnnotateVideoProgress + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1AnnotateVideoResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1LabelAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1LabelLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1SafeSearchAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1VideoAnnotationProgress + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1VideoAnnotationResults + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1VideoSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1beta1AnnotateVideoProgress + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1beta1AnnotateVideoRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1beta1AnnotateVideoResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1beta1LabelAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1beta1LabelLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1beta1SafeSearchAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1beta1VideoAnnotationProgress + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1beta1VideoAnnotationResults + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1beta1VideoContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1beta1VideoSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleLongrunningOperation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleRpcStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1AnnotateVideoProgress + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :annotation_progress, as: 'annotationProgress', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1VideoAnnotationProgress, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1VideoAnnotationProgress::Representation + + end + end + + class GoogleCloudVideointelligenceV1AnnotateVideoResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :annotation_results, as: 'annotationResults', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1VideoAnnotationResults, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1VideoAnnotationResults::Representation + + end + end + + class GoogleCloudVideointelligenceV1LabelAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :language_code, as: 'languageCode' + collection :locations, as: 'locations', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1LabelLocation, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1LabelLocation::Representation + + end + end + + class GoogleCloudVideointelligenceV1LabelLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :confidence, as: 'confidence' + property :level, as: 'level' + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1VideoSegment::Representation + + end + end + + class GoogleCloudVideointelligenceV1SafeSearchAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :adult, as: 'adult' + property :time, as: 'time' + end + end + + class GoogleCloudVideointelligenceV1VideoAnnotationProgress + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :input_uri, as: 'inputUri' + property :progress_percent, as: 'progressPercent' + property :start_time, as: 'startTime' + property :update_time, as: 'updateTime' + end + end + + class GoogleCloudVideointelligenceV1VideoAnnotationResults + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :error, as: 'error', class: Google::Apis::VideointelligenceV1beta1::GoogleRpcStatus, decorator: Google::Apis::VideointelligenceV1beta1::GoogleRpcStatus::Representation + + property :input_uri, as: 'inputUri' + collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation + + collection :safe_search_annotations, as: 'safeSearchAnnotations', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1SafeSearchAnnotation, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1SafeSearchAnnotation::Representation + + collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1VideoSegment::Representation + + end + end + + class GoogleCloudVideointelligenceV1VideoSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_time, as: 'endTime' + property :start_time, as: 'startTime' + end + end + + class GoogleCloudVideointelligenceV1beta1AnnotateVideoProgress + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :annotation_progress, as: 'annotationProgress', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta1VideoAnnotationProgress, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta1VideoAnnotationProgress::Representation + + end + end + + class GoogleCloudVideointelligenceV1beta1AnnotateVideoRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :features, as: 'features' + property :input_content, as: 'inputContent' + property :input_uri, as: 'inputUri' + property :location_id, as: 'locationId' + property :output_uri, as: 'outputUri' + property :video_context, as: 'videoContext', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta1VideoContext, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta1VideoContext::Representation + + end + end + + class GoogleCloudVideointelligenceV1beta1AnnotateVideoResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :annotation_results, as: 'annotationResults', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta1VideoAnnotationResults, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta1VideoAnnotationResults::Representation + + end + end + + class GoogleCloudVideointelligenceV1beta1LabelAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :language_code, as: 'languageCode' + collection :locations, as: 'locations', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta1LabelLocation, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta1LabelLocation::Representation + + end + end + + class GoogleCloudVideointelligenceV1beta1LabelLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :confidence, as: 'confidence' + property :level, as: 'level' + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta1VideoSegment::Representation + + end + end + + class GoogleCloudVideointelligenceV1beta1SafeSearchAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :adult, as: 'adult' + property :medical, as: 'medical' + property :racy, as: 'racy' + property :spoof, as: 'spoof' + property :time_offset, :numeric_string => true, as: 'timeOffset' + property :violent, as: 'violent' + end + end + + class GoogleCloudVideointelligenceV1beta1VideoAnnotationProgress + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :input_uri, as: 'inputUri' + property :progress_percent, as: 'progressPercent' + property :start_time, as: 'startTime' + property :update_time, as: 'updateTime' + end + end + + class GoogleCloudVideointelligenceV1beta1VideoAnnotationResults + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :error, as: 'error', class: Google::Apis::VideointelligenceV1beta1::GoogleRpcStatus, decorator: Google::Apis::VideointelligenceV1beta1::GoogleRpcStatus::Representation + + property :input_uri, as: 'inputUri' + collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta1LabelAnnotation::Representation + + collection :safe_search_annotations, as: 'safeSearchAnnotations', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta1SafeSearchAnnotation, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta1SafeSearchAnnotation::Representation + + collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta1VideoSegment::Representation + + end + end + + class GoogleCloudVideointelligenceV1beta1VideoContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :label_detection_mode, as: 'labelDetectionMode' + property :label_detection_model, as: 'labelDetectionModel' + property :safe_search_detection_model, as: 'safeSearchDetectionModel' + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta1VideoSegment::Representation + + property :shot_change_detection_model, as: 'shotChangeDetectionModel' + property :stationary_camera, as: 'stationaryCamera' + end + end + + class GoogleCloudVideointelligenceV1beta1VideoSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_time_offset, :numeric_string => true, as: 'endTimeOffset' + property :start_time_offset, :numeric_string => true, as: 'startTimeOffset' + end + end + + class GoogleLongrunningOperation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::VideointelligenceV1beta1::GoogleRpcStatus, decorator: Google::Apis::VideointelligenceV1beta1::GoogleRpcStatus::Representation + + hash :metadata, as: 'metadata' + property :name, as: 'name' + hash :response, as: 'response' + end + end + + class GoogleRpcStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :details, as: 'details' + property :message, as: 'message' + end + end + end + end +end diff --git a/generated/google/apis/videointelligence_v1beta1/service.rb b/generated/google/apis/videointelligence_v1beta1/service.rb new file mode 100644 index 000000000..a5aa7a140 --- /dev/null +++ b/generated/google/apis/videointelligence_v1beta1/service.rb @@ -0,0 +1,92 @@ +# 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 VideointelligenceV1beta1 + # Google Cloud Video Intelligence API + # + # Google Cloud Video Intelligence API. + # + # @example + # require 'google/apis/videointelligence_v1beta1' + # + # Videointelligence = Google::Apis::VideointelligenceV1beta1 # Alias the module + # service = Videointelligence::CloudVideoIntelligenceService.new + # + # @see https://cloud.google.com/video-intelligence/docs/ + class CloudVideoIntelligenceService < 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://videointelligence.googleapis.com/', '') + @batch_path = 'batch' + end + + # Performs asynchronous video annotation. Progress and results can be + # retrieved through the `google.longrunning.Operations` interface. + # `Operation.metadata` contains `AnnotateVideoProgress` (progress). + # `Operation.response` contains `AnnotateVideoResponse` (results). + # @param [Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta1AnnotateVideoRequest] google_cloud_videointelligence_v1beta1_annotate_video_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::VideointelligenceV1beta1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VideointelligenceV1beta1::GoogleLongrunningOperation] + # + # @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_video(google_cloud_videointelligence_v1beta1_annotate_video_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/videos:annotate', options) + command.request_representation = Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta1AnnotateVideoRequest::Representation + command.request_object = google_cloud_videointelligence_v1beta1_annotate_video_request_object + command.response_representation = Google::Apis::VideointelligenceV1beta1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::VideointelligenceV1beta1::GoogleLongrunningOperation + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.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/vision_v1.rb b/generated/google/apis/vision_v1.rb index 778140738..caa901fc5 100644 --- a/generated/google/apis/vision_v1.rb +++ b/generated/google/apis/vision_v1.rb @@ -27,13 +27,13 @@ module Google # @see https://cloud.google.com/vision/ module VisionV1 VERSION = 'V1' - REVISION = '20170706' - - # Apply machine learning models to understand and label images - AUTH_CLOUD_VISION = 'https://www.googleapis.com/auth/cloud-vision' + REVISION = '20170815' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + + # Apply machine learning models to understand and label images + AUTH_CLOUD_VISION = 'https://www.googleapis.com/auth/cloud-vision' end end end diff --git a/generated/google/apis/vision_v1/classes.rb b/generated/google/apis/vision_v1/classes.rb index 186bf4b72..4684c264e 100644 --- a/generated/google/apis/vision_v1/classes.rb +++ b/generated/google/apis/vision_v1/classes.rb @@ -22,6 +22,257 @@ module Google module Apis module VisionV1 + # Request for performing Google Cloud Vision API tasks over a user-provided + # image, with user-requested features. + class AnnotateImageRequest + include Google::Apis::Core::Hashable + + # Requested features. + # Corresponds to the JSON property `features` + # @return [Array] + attr_accessor :features + + # Client image to perform Google Cloud Vision API tasks over. + # Corresponds to the JSON property `image` + # @return [Google::Apis::VisionV1::Image] + attr_accessor :image + + # Image context and/or feature-specific parameters. + # Corresponds to the JSON property `imageContext` + # @return [Google::Apis::VisionV1::ImageContext] + attr_accessor :image_context + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @features = args[:features] if args.key?(:features) + @image = args[:image] if args.key?(:image) + @image_context = args[:image_context] if args.key?(:image_context) + end + end + + # Response to an image annotation request. + class AnnotateImageResponse + include Google::Apis::Core::Hashable + + # Set of crop hints that are used to generate new crops when serving images. + # Corresponds to the JSON property `cropHintsAnnotation` + # @return [Google::Apis::VisionV1::CropHintsAnnotation] + attr_accessor :crop_hints_annotation + + # 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` that 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. + # - 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 + + # If present, face detection has completed successfully. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + + # TextAnnotation contains a structured representation of OCR extracted text. + # The hierarchy of an OCR extracted text structure is like this: + # TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol + # Each structural component, starting from Page, may further have their own + # properties. Properties describe detected languages, breaks etc.. Please + # refer to the google.cloud.vision.v1.TextAnnotation.TextProperty message + # definition below for more detail. + # Corresponds to the JSON property `fullTextAnnotation` + # @return [Google::Apis::VisionV1::TextAnnotation] + attr_accessor :full_text_annotation + + # Stores image properties, such as dominant colors. + # Corresponds to the JSON property `imagePropertiesAnnotation` + # @return [Google::Apis::VisionV1::ImageProperties] + attr_accessor :image_properties_annotation + + # If present, label detection has completed successfully. + # Corresponds to the JSON property `labelAnnotations` + # @return [Array] + attr_accessor :label_annotations + + # If present, landmark detection has completed successfully. + # Corresponds to the JSON property `landmarkAnnotations` + # @return [Array] + attr_accessor :landmark_annotations + + # If present, logo detection has completed successfully. + # Corresponds to the JSON property `logoAnnotations` + # @return [Array] + attr_accessor :logo_annotations + + # Set of features pertaining to the image, computed by 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 + + # If present, text (OCR) detection has completed successfully. + # Corresponds to the JSON property `textAnnotations` + # @return [Array] + attr_accessor :text_annotations + + # Relevant information for the image from the Internet. + # Corresponds to the JSON property `webDetection` + # @return [Google::Apis::VisionV1::WebDetection] + attr_accessor :web_detection + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @crop_hints_annotation = args[:crop_hints_annotation] if args.key?(:crop_hints_annotation) + @error = args[:error] if args.key?(:error) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) + @full_text_annotation = args[:full_text_annotation] if args.key?(:full_text_annotation) + @image_properties_annotation = args[:image_properties_annotation] if args.key?(:image_properties_annotation) + @label_annotations = args[:label_annotations] if args.key?(:label_annotations) + @landmark_annotations = args[:landmark_annotations] if args.key?(:landmark_annotations) + @logo_annotations = args[:logo_annotations] if args.key?(:logo_annotations) + @safe_search_annotation = args[:safe_search_annotation] if args.key?(:safe_search_annotation) + @text_annotations = args[:text_annotations] if args.key?(:text_annotations) + @web_detection = args[:web_detection] if args.key?(:web_detection) + 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 + + # 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 + + # Logical element on the page. + class Block + include Google::Apis::Core::Hashable + + # Detected block type (text, image etc) for this block. + # Corresponds to the JSON property `blockType` + # @return [String] + attr_accessor :block_type + + # A bounding polygon for the detected image annotation. + # Corresponds to the JSON property `boundingBox` + # @return [Google::Apis::VisionV1::BoundingPoly] + attr_accessor :bounding_box + + # List of paragraphs in this block (if this blocks is of type text). + # Corresponds to the JSON property `paragraphs` + # @return [Array] + attr_accessor :paragraphs + + # Additional information detected on the structural component. + # Corresponds to the JSON property `property` + # @return [Google::Apis::VisionV1::TextProperty] + attr_accessor :property + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @block_type = args[:block_type] if args.key?(:block_type) + @bounding_box = args[:bounding_box] if args.key?(:bounding_box) + @paragraphs = args[:paragraphs] if args.key?(:paragraphs) + @property = args[:property] if args.key?(:property) + 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 + # 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 @@ -124,11 +375,6 @@ module Google class Color include Google::Apis::Core::Hashable - # 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) @@ -152,716 +398,21 @@ module Google # @return [Float] attr_accessor :green + # 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 + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @red = args[:red] if args.key?(:red) @alpha = args[:alpha] if args.key?(:alpha) @blue = args[:blue] if args.key?(:blue) @green = args[:green] if args.key?(:green) - end - end - - # Users describe the type of Google Cloud Vision API tasks to perform over - # images by using *Feature*s. Each Feature indicates a type of image - # detection task to perform. Features encode the Cloud Vision API - # 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 - - # Stores image properties, such as 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 - - # Set of features pertaining to the image, computed by computer vision - # methods over safe-search verticals (for example, adult, spoof, medical, - # violence). - class SafeSearchAnnotation - include Google::Apis::Core::Hashable - - # Likelihood that 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 - - # Represents the adult content likelihood for the image. - # Corresponds to the JSON property `adult` - # @return [String] - attr_accessor :adult - - # Spoof likelihood. The likelihood that an 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 - - 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) - @adult = args[:adult] if args.key?(:adult) - @spoof = args[:spoof] if args.key?(:spoof) - 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 - - # TextAnnotation contains a structured representation of OCR extracted text. - # The hierarchy of an OCR extracted text structure is like this: - # TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol - # Each structural component, starting from Page, may further have their own - # properties. Properties describe detected languages, breaks etc.. Please - # refer to the google.cloud.vision.v1.TextAnnotation.TextProperty message - # definition below for more detail. - class TextAnnotation - include Google::Apis::Core::Hashable - - # List of pages detected by OCR. - # Corresponds to the JSON property `pages` - # @return [Array] - attr_accessor :pages - - # UTF-8 text detected on the pages. - # 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) - @pages = args[:pages] if args.key?(:pages) - @text = args[:text] if args.key?(:text) - 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 - - # X coordinate. - # Corresponds to the JSON property `x` - # @return [Fixnum] - attr_accessor :x - - # Y coordinate. - # Corresponds to the JSON property `y` - # @return [Fixnum] - attr_accessor :y - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @x = args[:x] if args.key?(:x) - @y = args[:y] if args.key?(:y) - end - end - - # Detected language for a structural component. - class DetectedLanguage - include Google::Apis::Core::Hashable - - # The BCP-47 language code, such as "en-US" or "sr-Latn". For more - # information, see - # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. - # Corresponds to the JSON property `languageCode` - # @return [String] - attr_accessor :language_code - - # Confidence of detected language. 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) - @language_code = args[:language_code] if args.key?(:language_code) - @confidence = args[:confidence] if args.key?(:confidence) - end - end - - # Entity deduced from similar images on the Internet. - class WebEntity - include Google::Apis::Core::Hashable - - # Opaque entity ID. - # Corresponds to the JSON property `entityId` - # @return [String] - attr_accessor :entity_id - - # Canonical description of the entity, in English. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Overall relevancy score for the entity. - # Not normalized and not comparable across different image queries. - # 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) - @entity_id = args[:entity_id] if args.key?(:entity_id) - @description = args[:description] if args.key?(:description) - @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 - - # Additional information detected on the structural component. - class TextProperty - include Google::Apis::Core::Hashable - - # A list of detected languages together with confidence. - # Corresponds to the JSON property `detectedLanguages` - # @return [Array] - attr_accessor :detected_languages - - # Detected start or end of a structural component. - # Corresponds to the JSON property `detectedBreak` - # @return [Google::Apis::VisionV1::DetectedBreak] - attr_accessor :detected_break - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @detected_languages = args[:detected_languages] if args.key?(:detected_languages) - @detected_break = args[:detected_break] if args.key?(:detected_break) - end - end - - # Response to an image annotation request. - class AnnotateImageResponse - include Google::Apis::Core::Hashable - - # If present, label detection has completed successfully. - # Corresponds to the JSON property `labelAnnotations` - # @return [Array] - attr_accessor :label_annotations - - # Set of features pertaining to the image, computed by 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 - - # 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` that 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. - # - 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 - - # TextAnnotation contains a structured representation of OCR extracted text. - # The hierarchy of an OCR extracted text structure is like this: - # TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol - # Each structural component, starting from Page, may further have their own - # properties. Properties describe detected languages, breaks etc.. Please - # refer to the google.cloud.vision.v1.TextAnnotation.TextProperty message - # definition below for more detail. - # Corresponds to the JSON property `fullTextAnnotation` - # @return [Google::Apis::VisionV1::TextAnnotation] - attr_accessor :full_text_annotation - - # If present, landmark detection has completed successfully. - # Corresponds to the JSON property `landmarkAnnotations` - # @return [Array] - attr_accessor :landmark_annotations - - # If present, text (OCR) detection has completed successfully. - # Corresponds to the JSON property `textAnnotations` - # @return [Array] - attr_accessor :text_annotations - - # Stores image properties, such as dominant colors. - # Corresponds to the JSON property `imagePropertiesAnnotation` - # @return [Google::Apis::VisionV1::ImageProperties] - attr_accessor :image_properties_annotation - - # If present, face detection has completed successfully. - # Corresponds to the JSON property `faceAnnotations` - # @return [Array] - attr_accessor :face_annotations - - # If present, logo detection has completed successfully. - # Corresponds to the JSON property `logoAnnotations` - # @return [Array] - attr_accessor :logo_annotations - - # Set of crop hints that are used to generate new crops when serving images. - # Corresponds to the JSON property `cropHintsAnnotation` - # @return [Google::Apis::VisionV1::CropHintsAnnotation] - attr_accessor :crop_hints_annotation - - # Relevant information for the image from the Internet. - # Corresponds to the JSON property `webDetection` - # @return [Google::Apis::VisionV1::WebDetection] - attr_accessor :web_detection - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @label_annotations = args[:label_annotations] if args.key?(:label_annotations) - @safe_search_annotation = args[:safe_search_annotation] if args.key?(:safe_search_annotation) - @error = args[:error] if args.key?(:error) - @full_text_annotation = args[:full_text_annotation] if args.key?(:full_text_annotation) - @landmark_annotations = args[:landmark_annotations] if args.key?(:landmark_annotations) - @text_annotations = args[:text_annotations] if args.key?(:text_annotations) - @image_properties_annotation = args[:image_properties_annotation] if args.key?(:image_properties_annotation) - @face_annotations = args[:face_annotations] if args.key?(:face_annotations) - @logo_annotations = args[:logo_annotations] if args.key?(:logo_annotations) - @crop_hints_annotation = args[:crop_hints_annotation] if args.key?(:crop_hints_annotation) - @web_detection = args[:web_detection] if args.key?(:web_detection) - end - end - - # Parameters for crop hints annotation request. - class CropHintsParams - include Google::Apis::Core::Hashable - - # Aspect ratios in floats, representing the ratio of the width to the height - # of the image. For example, if the desired aspect ratio is 4/3, the - # corresponding float value should be 1.33333. If not specified, the - # best possible crop is returned. The number of provided aspect ratios is - # limited to a maximum of 16; any aspect ratios provided after the 16th are - # ignored. - # Corresponds to the JSON property `aspectRatios` - # @return [Array] - attr_accessor :aspect_ratios - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @aspect_ratios = args[:aspect_ratios] if args.key?(:aspect_ratios) - end - end - - # Logical element on the page. - class Block - include Google::Apis::Core::Hashable - - # Additional information detected on the structural component. - # Corresponds to the JSON property `property` - # @return [Google::Apis::VisionV1::TextProperty] - attr_accessor :property - - # Detected block type (text, image etc) for this block. - # Corresponds to the JSON property `blockType` - # @return [String] - attr_accessor :block_type - - # A bounding polygon for the detected image annotation. - # Corresponds to the JSON property `boundingBox` - # @return [Google::Apis::VisionV1::BoundingPoly] - attr_accessor :bounding_box - - # List of paragraphs in this block (if this blocks is of type text). - # Corresponds to the JSON property `paragraphs` - # @return [Array] - attr_accessor :paragraphs - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @property = args[:property] if args.key?(:property) - @block_type = args[:block_type] if args.key?(:block_type) - @bounding_box = args[:bounding_box] if args.key?(:bounding_box) - @paragraphs = args[:paragraphs] if args.key?(:paragraphs) - end - end - - # Relevant information for the image from the Internet. - class WebDetection - include Google::Apis::Core::Hashable - - # Web pages containing the matching images from the Internet. - # Corresponds to the JSON property `pagesWithMatchingImages` - # @return [Array] - attr_accessor :pages_with_matching_images - - # The visually similar image results. - # Corresponds to the JSON property `visuallySimilarImages` - # @return [Array] - attr_accessor :visually_similar_images - - # Partial matching images from the Internet. - # Those images are similar enough to share some key-point features. For - # example an original image will likely have partial matching for its crops. - # Corresponds to the JSON property `partialMatchingImages` - # @return [Array] - attr_accessor :partial_matching_images - - # Fully matching images from the Internet. - # Can include resized copies of the query image. - # Corresponds to the JSON property `fullMatchingImages` - # @return [Array] - attr_accessor :full_matching_images - - # Deduced entities from similar images on the Internet. - # Corresponds to the JSON property `webEntities` - # @return [Array] - attr_accessor :web_entities - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @pages_with_matching_images = args[:pages_with_matching_images] if args.key?(:pages_with_matching_images) - @visually_similar_images = args[:visually_similar_images] if args.key?(:visually_similar_images) - @partial_matching_images = args[:partial_matching_images] if args.key?(:partial_matching_images) - @full_matching_images = args[:full_matching_images] if args.key?(:full_matching_images) - @web_entities = args[:web_entities] if args.key?(:web_entities) - 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 - - # External image source (Google Cloud Storage image location). - class ImageSource - include Google::Apis::Core::Hashable - - # NOTE: For new code `image_uri` below is preferred. - # Google Cloud Storage image URI, which must be in the following form: - # `gs://bucket_name/object_name` (for details, see - # [Google Cloud Storage Request - # URIs](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 - - # Image URI which supports: - # 1) Google Cloud Storage image URI, which must be in the following form: - # `gs://bucket_name/object_name` (for details, see - # [Google Cloud Storage Request - # URIs](https://cloud.google.com/storage/docs/reference-uris)). - # NOTE: Cloud Storage object versioning is not supported. - # 2) Publicly accessible image HTTP/HTTPS URL. - # This is preferred over the legacy `gcs_image_uri` above. When both - # `gcs_image_uri` and `image_uri` are specified, `image_uri` takes - # precedence. - # Corresponds to the JSON property `imageUri` - # @return [String] - attr_accessor :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) - @image_uri = args[:image_uri] if args.key?(:image_uri) - end - end - - # A `Property` consists of a user-supplied 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 - - # Value of numeric properties. - # Corresponds to the JSON property `uint64Value` - # @return [Fixnum] - attr_accessor :uint64_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) - @uint64_value = args[:uint64_value] if args.key?(:uint64_value) - @name = args[:name] if args.key?(:name) - 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 - # [-90.0, 90.0] and [-180.0, 180.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 - - # 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 - - # 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 - - # Y coordinate. - # Corresponds to the JSON property `y` - # @return [Float] - attr_accessor :y - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @z = args[:z] if args.key?(:z) - @x = args[:x] if args.key?(:x) - @y = args[:y] if args.key?(:y) - end - end - - # Metadata for web pages. - class WebPage - include Google::Apis::Core::Hashable - - # Overall relevancy score for the web page. - # Not normalized and not comparable across different image queries. - # Corresponds to the JSON property `score` - # @return [Float] - attr_accessor :score - - # The result web page URL. - # 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) - @score = args[:score] if args.key?(:score) - @url = args[:url] if args.key?(:url) + @red = args[:red] if args.key?(:red) end end @@ -870,12 +421,6 @@ module Google class ColorInfo include Google::Apis::Core::Hashable - # 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 @@ -979,6 +524,12 @@ module Google # @return [Google::Apis::VisionV1::Color] attr_accessor :color + # 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 + # Image-specific score for this color. Value in range [0, 1]. # Corresponds to the JSON property `score` # @return [Float] @@ -990,22 +541,167 @@ module Google # 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) + @pixel_fraction = args[:pixel_fraction] if args.key?(:pixel_fraction) @score = args[:score] if args.key?(:score) end end + # Single crop hint that is used to generate a new crop when serving an image. + class CropHint + include Google::Apis::Core::Hashable + + # A bounding polygon for the detected image annotation. + # Corresponds to the JSON property `boundingPoly` + # @return [Google::Apis::VisionV1::BoundingPoly] + attr_accessor :bounding_poly + + # Confidence of this being a salient region. Range [0, 1]. + # Corresponds to the JSON property `confidence` + # @return [Float] + attr_accessor :confidence + + # Fraction of importance of this salient region with respect to the original + # image. + # Corresponds to the JSON property `importanceFraction` + # @return [Float] + attr_accessor :importance_fraction + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly) + @confidence = args[:confidence] if args.key?(:confidence) + @importance_fraction = args[:importance_fraction] if args.key?(:importance_fraction) + end + end + + # Set of crop hints that are used to generate new crops when serving images. + class CropHintsAnnotation + include Google::Apis::Core::Hashable + + # Crop hint results. + # Corresponds to the JSON property `cropHints` + # @return [Array] + attr_accessor :crop_hints + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @crop_hints = args[:crop_hints] if args.key?(:crop_hints) + end + end + + # Parameters for crop hints annotation request. + class CropHintsParams + include Google::Apis::Core::Hashable + + # Aspect ratios in floats, representing the ratio of the width to the height + # of the image. For example, if the desired aspect ratio is 4/3, the + # corresponding float value should be 1.33333. If not specified, the + # best possible crop is returned. The number of provided aspect ratios is + # limited to a maximum of 16; any aspect ratios provided after the 16th are + # ignored. + # Corresponds to the JSON property `aspectRatios` + # @return [Array] + attr_accessor :aspect_ratios + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @aspect_ratios = args[:aspect_ratios] if args.key?(:aspect_ratios) + end + end + + # Detected start or end of a structural component. + class DetectedBreak + include Google::Apis::Core::Hashable + + # True if break prepends the element. + # Corresponds to the JSON property `isPrefix` + # @return [Boolean] + attr_accessor :is_prefix + alias_method :is_prefix?, :is_prefix + + # Detected break 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) + @is_prefix = args[:is_prefix] if args.key?(:is_prefix) + @type = args[:type] if args.key?(:type) + end + end + + # Detected language for a structural component. + class DetectedLanguage + include Google::Apis::Core::Hashable + + # Confidence of detected language. Range [0, 1]. + # Corresponds to the JSON property `confidence` + # @return [Float] + attr_accessor :confidence + + # The BCP-47 language code, such as "en-US" or "sr-Latn". For more + # information, see + # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @confidence = args[:confidence] if args.key?(:confidence) + @language_code = args[:language_code] if args.key?(:language_code) + 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 + # Set of detected entity features. class EntityAnnotation include Google::Apis::Core::Hashable - # Opaque entity ID. Some IDs may be available in - # [Google Knowledge Graph Search API](https://developers.google.com/knowledge- - # graph/). - # Corresponds to the JSON property `mid` - # @return [String] - attr_accessor :mid + # A bounding polygon for the detected image annotation. + # Corresponds to the JSON property `boundingPoly` + # @return [Google::Apis::VisionV1::BoundingPoly] + attr_accessor :bounding_poly # The accuracy of the entity detection in an image. # For example, for an image in which the "Eiffel Tower" entity is detected, @@ -1015,30 +711,32 @@ module Google # @return [Float] attr_accessor :confidence + # Entity textual description, expressed in its `locale` language. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + # The language code for the locale in which the entity textual # `description` is expressed. # Corresponds to the JSON property `locale` # @return [String] attr_accessor :locale - # 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 detected entity. Multiple + # `LocationInfo` elements can be present because one location may + # indicate the location of the scene in the image, and another location + # may indicate the location of the place where the image was taken. + # Location information is usually present for landmarks. + # Corresponds to the JSON property `locations` + # @return [Array] + attr_accessor :locations - # The relevancy of the ICA (Image Content Annotation) label to the - # image. For example, the relevancy of "tower" is likely higher to an image - # containing the detected "Eiffel Tower" than to an image containing a - # detected distant towering building, even though the confidence that - # there is a tower in each image may be the same. Range [0, 1]. - # Corresponds to the JSON property `topicality` - # @return [Float] - attr_accessor :topicality - - # Entity textual description, expressed in its `locale` language. - # Corresponds to the JSON property `description` + # Opaque entity ID. Some IDs may be available in + # [Google Knowledge Graph Search API](https://developers.google.com/knowledge- + # graph/). + # Corresponds to the JSON property `mid` # @return [String] - attr_accessor :description + attr_accessor :mid # Some entities may have optional user-supplied `Property` (name/value) # fields, such a score or string that qualifies the entity. @@ -1051,14 +749,14 @@ module Google # @return [Float] attr_accessor :score - # The location information for the detected entity. Multiple - # `LocationInfo` elements can be present because one location may - # indicate the location of the scene in the image, and another location - # may indicate the location of the place where the image was taken. - # Location information is usually present for landmarks. - # Corresponds to the JSON property `locations` - # @return [Array] - attr_accessor :locations + # The relevancy of the ICA (Image Content Annotation) label to the + # image. For example, the relevancy of "tower" is likely higher to an image + # containing the detected "Eiffel Tower" than to an image containing a + # detected distant towering building, even though the confidence that + # there is a tower in each image may be the same. Range [0, 1]. + # Corresponds to the JSON property `topicality` + # @return [Float] + attr_accessor :topicality def initialize(**args) update!(**args) @@ -1066,195 +764,15 @@ module Google # Update properties of this object def update!(**args) - @mid = args[:mid] if args.key?(:mid) - @confidence = args[:confidence] if args.key?(:confidence) - @locale = args[:locale] if args.key?(:locale) @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly) - @topicality = args[:topicality] if args.key?(:topicality) + @confidence = args[:confidence] if args.key?(:confidence) @description = args[:description] if args.key?(:description) + @locale = args[:locale] if args.key?(:locale) + @locations = args[:locations] if args.key?(:locations) + @mid = args[:mid] if args.key?(:mid) @properties = args[:properties] if args.key?(:properties) @score = args[:score] if args.key?(:score) - @locations = args[:locations] if args.key?(:locations) - end - end - - # Single crop hint that is used to generate a new crop when serving an image. - class CropHint - include Google::Apis::Core::Hashable - - # Fraction of importance of this salient region with respect to the original - # image. - # Corresponds to the JSON property `importanceFraction` - # @return [Float] - attr_accessor :importance_fraction - - # Confidence of this being a salient region. Range [0, 1]. - # Corresponds to the JSON property `confidence` - # @return [Float] - attr_accessor :confidence - - # A bounding polygon for the detected image annotation. - # Corresponds to the JSON property `boundingPoly` - # @return [Google::Apis::VisionV1::BoundingPoly] - attr_accessor :bounding_poly - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @importance_fraction = args[:importance_fraction] if args.key?(:importance_fraction) - @confidence = args[:confidence] if args.key?(:confidence) - @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly) - end - end - - # A face-specific landmark (for example, a face feature). - # Landmark positions may fall outside the bounds of the image - # if 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 - - # Face landmark type. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # 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 - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @type = args[:type] if args.key?(:type) - @position = args[:position] if args.key?(:position) - end - end - - # Metadata for online images. - class WebImage - include Google::Apis::Core::Hashable - - # Overall relevancy score for the image. - # Not normalized and not comparable across different image queries. - # Corresponds to the JSON property `score` - # @return [Float] - attr_accessor :score - - # The result image URL. - # 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) - @score = args[:score] if args.key?(:score) - @url = args[:url] if args.key?(:url) - end - end - - # A word representation. - class Word - include Google::Apis::Core::Hashable - - # List of symbols in the word. - # The order of the symbols follows the natural reading order. - # Corresponds to the JSON property `symbols` - # @return [Array] - attr_accessor :symbols - - # Additional information detected on the structural component. - # Corresponds to the JSON property `property` - # @return [Google::Apis::VisionV1::TextProperty] - attr_accessor :property - - # A bounding polygon for the detected image annotation. - # Corresponds to the JSON property `boundingBox` - # @return [Google::Apis::VisionV1::BoundingPoly] - attr_accessor :bounding_box - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @symbols = args[:symbols] if args.key?(:symbols) - @property = args[:property] if args.key?(:property) - @bounding_box = args[:bounding_box] if args.key?(:bounding_box) - end - end - - # Structural unit of text representing a number of words in certain order. - class Paragraph - include Google::Apis::Core::Hashable - - # Additional information detected on the structural component. - # Corresponds to the JSON property `property` - # @return [Google::Apis::VisionV1::TextProperty] - attr_accessor :property - - # A bounding polygon for the detected image annotation. - # Corresponds to the JSON property `boundingBox` - # @return [Google::Apis::VisionV1::BoundingPoly] - attr_accessor :bounding_box - - # List of words in this paragraph. - # Corresponds to the JSON property `words` - # @return [Array] - attr_accessor :words - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @property = args[:property] if args.key?(:property) - @bounding_box = args[:bounding_box] if args.key?(:bounding_box) - @words = args[:words] if args.key?(:words) - end - end - - # Client image to perform Google Cloud Vision API tasks over. - class Image - include Google::Apis::Core::Hashable - - # External image source (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. - # Note: as with all `bytes` fields, protobuffers use a pure binary - # representation, whereas JSON representations use base64. - # Corresponds to the JSON property `content` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @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) + @topicality = args[:topicality] if args.key?(:topicality) end end @@ -1262,46 +780,50 @@ module Google class FaceAnnotation include Google::Apis::Core::Hashable - # Pitch angle, which 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` + # Anger likelihood. + # Corresponds to the JSON property `angerLikelihood` + # @return [String] + attr_accessor :anger_likelihood + + # Blurred likelihood. + # Corresponds to the JSON property `blurredLikelihood` + # @return [String] + attr_accessor :blurred_likelihood + + # A bounding polygon for the detected image annotation. + # Corresponds to the JSON property `boundingPoly` + # @return [Google::Apis::VisionV1::BoundingPoly] + attr_accessor :bounding_poly + + # Detection confidence. Range [0, 1]. + # Corresponds to the JSON property `detectionConfidence` # @return [Float] - attr_accessor :tilt_angle + attr_accessor :detection_confidence # A bounding polygon for the detected image annotation. # Corresponds to the JSON property `fdBoundingPoly` # @return [Google::Apis::VisionV1::BoundingPoly] attr_accessor :fd_bounding_poly - # Surprise likelihood. - # Corresponds to the JSON property `surpriseLikelihood` + # Headwear likelihood. + # Corresponds to the JSON property `headwearLikelihood` # @return [String] - attr_accessor :surprise_likelihood - - # Detected face landmarks. - # Corresponds to the JSON property `landmarks` - # @return [Array] - attr_accessor :landmarks - - # Anger likelihood. - # Corresponds to the JSON property `angerLikelihood` - # @return [String] - attr_accessor :anger_likelihood - - # Face landmarking confidence. Range [0, 1]. - # Corresponds to the JSON property `landmarkingConfidence` - # @return [Float] - attr_accessor :landmarking_confidence + attr_accessor :headwear_likelihood # Joy likelihood. # Corresponds to the JSON property `joyLikelihood` # @return [String] attr_accessor :joy_likelihood - # Under-exposed likelihood. - # Corresponds to the JSON property `underExposedLikelihood` - # @return [String] - attr_accessor :under_exposed_likelihood + # Face landmarking confidence. Range [0, 1]. + # Corresponds to the JSON property `landmarkingConfidence` + # @return [Float] + attr_accessor :landmarking_confidence + + # Detected face landmarks. + # Corresponds to the JSON property `landmarks` + # @return [Array] + attr_accessor :landmarks # Yaw angle, which indicates the leftward/rightward angle that the face is # pointing relative to the vertical plane perpendicular to the image. Range @@ -1310,26 +832,6 @@ module Google # @return [Float] attr_accessor :pan_angle - # Detection confidence. Range [0, 1]. - # Corresponds to the JSON property `detectionConfidence` - # @return [Float] - attr_accessor :detection_confidence - - # Blurred likelihood. - # Corresponds to the JSON property `blurredLikelihood` - # @return [String] - attr_accessor :blurred_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 - # Roll angle, which 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]. @@ -1342,63 +844,90 @@ module Google # @return [String] attr_accessor :sorrow_likelihood + # Surprise likelihood. + # Corresponds to the JSON property `surpriseLikelihood` + # @return [String] + attr_accessor :surprise_likelihood + + # Pitch angle, which 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 + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @tilt_angle = args[:tilt_angle] if args.key?(:tilt_angle) - @fd_bounding_poly = args[:fd_bounding_poly] if args.key?(:fd_bounding_poly) - @surprise_likelihood = args[:surprise_likelihood] if args.key?(:surprise_likelihood) - @landmarks = args[:landmarks] if args.key?(:landmarks) @anger_likelihood = args[:anger_likelihood] if args.key?(:anger_likelihood) - @landmarking_confidence = args[:landmarking_confidence] if args.key?(:landmarking_confidence) - @joy_likelihood = args[:joy_likelihood] if args.key?(:joy_likelihood) - @under_exposed_likelihood = args[:under_exposed_likelihood] if args.key?(:under_exposed_likelihood) - @pan_angle = args[:pan_angle] if args.key?(:pan_angle) - @detection_confidence = args[:detection_confidence] if args.key?(:detection_confidence) @blurred_likelihood = args[:blurred_likelihood] if args.key?(:blurred_likelihood) - @headwear_likelihood = args[:headwear_likelihood] if args.key?(:headwear_likelihood) @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly) + @detection_confidence = args[:detection_confidence] if args.key?(:detection_confidence) + @fd_bounding_poly = args[:fd_bounding_poly] if args.key?(:fd_bounding_poly) + @headwear_likelihood = args[:headwear_likelihood] if args.key?(:headwear_likelihood) + @joy_likelihood = args[:joy_likelihood] if args.key?(:joy_likelihood) + @landmarking_confidence = args[:landmarking_confidence] if args.key?(:landmarking_confidence) + @landmarks = args[:landmarks] if args.key?(:landmarks) + @pan_angle = args[:pan_angle] if args.key?(:pan_angle) @roll_angle = args[:roll_angle] if args.key?(:roll_angle) @sorrow_likelihood = args[:sorrow_likelihood] if args.key?(:sorrow_likelihood) + @surprise_likelihood = args[:surprise_likelihood] if args.key?(:surprise_likelihood) + @tilt_angle = args[:tilt_angle] if args.key?(:tilt_angle) + @under_exposed_likelihood = args[:under_exposed_likelihood] if args.key?(:under_exposed_likelihood) end end - # Multiple image annotation requests are batched into a single service call. - class BatchAnnotateImagesRequest + # Users describe the type of Google Cloud Vision API tasks to perform over + # images by using *Feature*s. Each Feature indicates a type of image + # detection task to perform. Features encode the Cloud Vision API + # vertical to operate on and the number of top-scoring results to return. + class Feature include Google::Apis::Core::Hashable - # Individual image annotation requests for this batch. - # Corresponds to the JSON property `requests` - # @return [Array] - attr_accessor :requests + # Maximum number of results of this type. + # Corresponds to the JSON property `maxResults` + # @return [Fixnum] + attr_accessor :max_results - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @requests = args[:requests] if args.key?(:requests) - end - end - - # Detected start or end of a structural component. - class DetectedBreak - include Google::Apis::Core::Hashable - - # Detected break type. + # The feature type. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type - # True if break prepends the element. - # Corresponds to the JSON property `isPrefix` - # @return [Boolean] - attr_accessor :is_prefix - alias_method :is_prefix?, :is_prefix + 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 + + # Client image to perform Google Cloud Vision API tasks over. + class Image + include Google::Apis::Core::Hashable + + # Image content, represented as a stream of bytes. + # Note: as with all `bytes` fields, protobuffers use a pure binary + # representation, whereas JSON representations use base64. + # Corresponds to the JSON property `content` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :content + + # External image source (Google Cloud Storage image location). + # Corresponds to the JSON property `source` + # @return [Google::Apis::VisionV1::ImageSource] + attr_accessor :source def initialize(**args) update!(**args) @@ -1406,8 +935,8 @@ module Google # Update properties of this object def update!(**args) - @type = args[:type] if args.key?(:type) - @is_prefix = args[:is_prefix] if args.key?(:is_prefix) + @content = args[:content] if args.key?(:content) + @source = args[:source] if args.key?(:source) end end @@ -1449,29 +978,14 @@ module Google end end - # Detected page from OCR. - class Page + # Stores image properties, such as dominant colors. + class ImageProperties include Google::Apis::Core::Hashable - # Page width in pixels. - # Corresponds to the JSON property `width` - # @return [Fixnum] - attr_accessor :width - - # List of blocks of text, images etc on this page. - # Corresponds to the JSON property `blocks` - # @return [Array] - attr_accessor :blocks - - # Additional information detected on the structural component. - # Corresponds to the JSON property `property` - # @return [Google::Apis::VisionV1::TextProperty] - attr_accessor :property - - # Page height in pixels. - # Corresponds to the JSON property `height` - # @return [Fixnum] - attr_accessor :height + # 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) @@ -1479,228 +993,37 @@ module Google # Update properties of this object def update!(**args) - @width = args[:width] if args.key?(:width) - @blocks = args[:blocks] if args.key?(:blocks) - @property = args[:property] if args.key?(:property) - @height = args[:height] if args.key?(:height) + @dominant_colors = args[:dominant_colors] if args.key?(:dominant_colors) end end - # Request for performing Google Cloud Vision API tasks over a user-provided - # image, with user-requested features. - class AnnotateImageRequest + # External image source (Google Cloud Storage image location). + class ImageSource include Google::Apis::Core::Hashable - # Requested features. - # Corresponds to the JSON property `features` - # @return [Array] - attr_accessor :features - - # Client image to perform Google Cloud Vision API tasks over. - # Corresponds to the JSON property `image` - # @return [Google::Apis::VisionV1::Image] - attr_accessor :image - - # Image context and/or feature-specific parameters. - # Corresponds to the JSON property `imageContext` - # @return [Google::Apis::VisionV1::ImageContext] - attr_accessor :image_context - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @features = args[:features] if args.key?(:features) - @image = args[:image] if args.key?(:image) - @image_context = args[:image_context] if args.key?(:image_context) - 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` that 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. - # - 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` + # NOTE: For new code `image_uri` below is preferred. + # Google Cloud Storage image URI, which must be in the following form: + # `gs://bucket_name/object_name` (for details, see + # [Google Cloud Storage Request + # URIs](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 :message + attr_accessor :gcs_image_uri - # A list of messages that carry the error details. There is 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 - - # 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 - # [-90.0, 90.0] and [-180.0, 180.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 - - # 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 - # [-90.0, 90.0] and [-180.0, 180.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 - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @min_lat_lng = args[:min_lat_lng] if args.key?(:min_lat_lng) - @max_lat_lng = args[:max_lat_lng] if args.key?(:max_lat_lng) - end - end - - # A single symbol representation. - class Symbol - include Google::Apis::Core::Hashable - - # Additional information detected on the structural component. - # Corresponds to the JSON property `property` - # @return [Google::Apis::VisionV1::TextProperty] - attr_accessor :property - - # A bounding polygon for the detected image annotation. - # Corresponds to the JSON property `boundingBox` - # @return [Google::Apis::VisionV1::BoundingPoly] - attr_accessor :bounding_box - - # The actual UTF-8 representation of the symbol. - # Corresponds to the JSON property `text` + # Image URI which supports: + # 1) Google Cloud Storage image URI, which must be in the following form: + # `gs://bucket_name/object_name` (for details, see + # [Google Cloud Storage Request + # URIs](https://cloud.google.com/storage/docs/reference-uris)). + # NOTE: Cloud Storage object versioning is not supported. + # 2) Publicly accessible image HTTP/HTTPS URL. + # This is preferred over the legacy `gcs_image_uri` above. When both + # `gcs_image_uri` and `image_uri` are specified, `image_uri` takes + # precedence. + # Corresponds to the JSON property `imageUri` # @return [String] - attr_accessor :text + attr_accessor :image_uri def initialize(**args) update!(**args) @@ -1708,20 +1031,30 @@ module Google # Update properties of this object def update!(**args) - @property = args[:property] if args.key?(:property) - @bounding_box = args[:bounding_box] if args.key?(:bounding_box) - @text = args[:text] if args.key?(:text) + @gcs_image_uri = args[:gcs_image_uri] if args.key?(:gcs_image_uri) + @image_uri = args[:image_uri] if args.key?(:image_uri) end end - # Set of crop hints that are used to generate new crops when serving images. - class CropHintsAnnotation + # A face-specific landmark (for example, a face feature). + # Landmark positions may fall outside the bounds of the image + # if 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 - # Crop hint results. - # Corresponds to the JSON property `cropHints` - # @return [Array] - attr_accessor :crop_hints + # 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) @@ -1729,7 +1062,8 @@ module Google # Update properties of this object def update!(**args) - @crop_hints = args[:crop_hints] if args.key?(:crop_hints) + @position = args[:position] if args.key?(:position) + @type = args[:type] if args.key?(:type) end end @@ -1791,6 +1125,670 @@ module Google @longitude = args[:longitude] if args.key?(:longitude) 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 + # [-90.0, 90.0] and [-180.0, 180.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 + # [-90.0, 90.0] and [-180.0, 180.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 + + # 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 + # [-90.0, 90.0] and [-180.0, 180.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 + + # Detected page from OCR. + class Page + include Google::Apis::Core::Hashable + + # List of blocks of text, images etc on this page. + # Corresponds to the JSON property `blocks` + # @return [Array] + attr_accessor :blocks + + # Page height in pixels. + # Corresponds to the JSON property `height` + # @return [Fixnum] + attr_accessor :height + + # Additional information detected on the structural component. + # Corresponds to the JSON property `property` + # @return [Google::Apis::VisionV1::TextProperty] + attr_accessor :property + + # Page width in pixels. + # Corresponds to the JSON property `width` + # @return [Fixnum] + attr_accessor :width + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @blocks = args[:blocks] if args.key?(:blocks) + @height = args[:height] if args.key?(:height) + @property = args[:property] if args.key?(:property) + @width = args[:width] if args.key?(:width) + end + end + + # Structural unit of text representing a number of words in certain order. + class Paragraph + include Google::Apis::Core::Hashable + + # A bounding polygon for the detected image annotation. + # Corresponds to the JSON property `boundingBox` + # @return [Google::Apis::VisionV1::BoundingPoly] + attr_accessor :bounding_box + + # Additional information detected on the structural component. + # Corresponds to the JSON property `property` + # @return [Google::Apis::VisionV1::TextProperty] + attr_accessor :property + + # List of words in this paragraph. + # Corresponds to the JSON property `words` + # @return [Array] + attr_accessor :words + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bounding_box = args[:bounding_box] if args.key?(:bounding_box) + @property = args[:property] if args.key?(:property) + @words = args[:words] if args.key?(:words) + 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 + + # X coordinate. + # Corresponds to the JSON property `x` + # @return [Float] + attr_accessor :x + + # 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 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @x = args[:x] if args.key?(:x) + @y = args[:y] if args.key?(:y) + @z = args[:z] if args.key?(:z) + end + end + + # A `Property` consists of a user-supplied name/value pair. + class Property + include Google::Apis::Core::Hashable + + # Name of the property. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Value of numeric properties. + # Corresponds to the JSON property `uint64Value` + # @return [Fixnum] + attr_accessor :uint64_value + + # Value of the property. + # 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) + @name = args[:name] if args.key?(:name) + @uint64_value = args[:uint64_value] if args.key?(:uint64_value) + @value = args[:value] if args.key?(:value) + end + end + + # Set of features pertaining to the image, computed by computer vision + # methods over safe-search verticals (for example, adult, spoof, medical, + # violence). + class SafeSearchAnnotation + include Google::Apis::Core::Hashable + + # Represents the adult content likelihood for the image. + # Corresponds to the JSON property `adult` + # @return [String] + attr_accessor :adult + + # Likelihood that this is a medical image. + # Corresponds to the JSON property `medical` + # @return [String] + attr_accessor :medical + + # Spoof likelihood. The likelihood that an 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 + + # Violence likelihood. + # Corresponds to the JSON property `violence` + # @return [String] + attr_accessor :violence + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @adult = args[:adult] if args.key?(:adult) + @medical = args[:medical] if args.key?(:medical) + @spoof = args[:spoof] if args.key?(:spoof) + @violence = args[:violence] if args.key?(:violence) + 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` that 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. + # - 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 is 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 single symbol representation. + class Symbol + include Google::Apis::Core::Hashable + + # A bounding polygon for the detected image annotation. + # Corresponds to the JSON property `boundingBox` + # @return [Google::Apis::VisionV1::BoundingPoly] + attr_accessor :bounding_box + + # Additional information detected on the structural component. + # Corresponds to the JSON property `property` + # @return [Google::Apis::VisionV1::TextProperty] + attr_accessor :property + + # The actual UTF-8 representation of the symbol. + # 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) + @bounding_box = args[:bounding_box] if args.key?(:bounding_box) + @property = args[:property] if args.key?(:property) + @text = args[:text] if args.key?(:text) + end + end + + # TextAnnotation contains a structured representation of OCR extracted text. + # The hierarchy of an OCR extracted text structure is like this: + # TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol + # Each structural component, starting from Page, may further have their own + # properties. Properties describe detected languages, breaks etc.. Please + # refer to the google.cloud.vision.v1.TextAnnotation.TextProperty message + # definition below for more detail. + class TextAnnotation + include Google::Apis::Core::Hashable + + # List of pages detected by OCR. + # Corresponds to the JSON property `pages` + # @return [Array] + attr_accessor :pages + + # UTF-8 text detected on the pages. + # 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) + @pages = args[:pages] if args.key?(:pages) + @text = args[:text] if args.key?(:text) + end + end + + # Additional information detected on the structural component. + class TextProperty + include Google::Apis::Core::Hashable + + # Detected start or end of a structural component. + # Corresponds to the JSON property `detectedBreak` + # @return [Google::Apis::VisionV1::DetectedBreak] + attr_accessor :detected_break + + # A list of detected languages together with confidence. + # Corresponds to the JSON property `detectedLanguages` + # @return [Array] + attr_accessor :detected_languages + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @detected_break = args[:detected_break] if args.key?(:detected_break) + @detected_languages = args[:detected_languages] if args.key?(:detected_languages) + 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 + + # X coordinate. + # Corresponds to the JSON property `x` + # @return [Fixnum] + attr_accessor :x + + # Y coordinate. + # Corresponds to the JSON property `y` + # @return [Fixnum] + attr_accessor :y + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @x = args[:x] if args.key?(:x) + @y = args[:y] if args.key?(:y) + end + end + + # Relevant information for the image from the Internet. + class WebDetection + include Google::Apis::Core::Hashable + + # Fully matching images from the Internet. + # Can include resized copies of the query image. + # Corresponds to the JSON property `fullMatchingImages` + # @return [Array] + attr_accessor :full_matching_images + + # Web pages containing the matching images from the Internet. + # Corresponds to the JSON property `pagesWithMatchingImages` + # @return [Array] + attr_accessor :pages_with_matching_images + + # Partial matching images from the Internet. + # Those images are similar enough to share some key-point features. For + # example an original image will likely have partial matching for its crops. + # Corresponds to the JSON property `partialMatchingImages` + # @return [Array] + attr_accessor :partial_matching_images + + # The visually similar image results. + # Corresponds to the JSON property `visuallySimilarImages` + # @return [Array] + attr_accessor :visually_similar_images + + # Deduced entities from similar images on the Internet. + # Corresponds to the JSON property `webEntities` + # @return [Array] + attr_accessor :web_entities + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @full_matching_images = args[:full_matching_images] if args.key?(:full_matching_images) + @pages_with_matching_images = args[:pages_with_matching_images] if args.key?(:pages_with_matching_images) + @partial_matching_images = args[:partial_matching_images] if args.key?(:partial_matching_images) + @visually_similar_images = args[:visually_similar_images] if args.key?(:visually_similar_images) + @web_entities = args[:web_entities] if args.key?(:web_entities) + end + end + + # Entity deduced from similar images on the Internet. + class WebEntity + include Google::Apis::Core::Hashable + + # Canonical description of the entity, in English. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Opaque entity ID. + # Corresponds to the JSON property `entityId` + # @return [String] + attr_accessor :entity_id + + # Overall relevancy score for the entity. + # Not normalized and not comparable across different image queries. + # 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) + @description = args[:description] if args.key?(:description) + @entity_id = args[:entity_id] if args.key?(:entity_id) + @score = args[:score] if args.key?(:score) + end + end + + # Metadata for online images. + class WebImage + include Google::Apis::Core::Hashable + + # (Deprecated) Overall relevancy score for the image. + # Corresponds to the JSON property `score` + # @return [Float] + attr_accessor :score + + # The result image URL. + # 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) + @score = args[:score] if args.key?(:score) + @url = args[:url] if args.key?(:url) + end + end + + # Metadata for web pages. + class WebPage + include Google::Apis::Core::Hashable + + # (Deprecated) Overall relevancy score for the web page. + # Corresponds to the JSON property `score` + # @return [Float] + attr_accessor :score + + # The result web page URL. + # 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) + @score = args[:score] if args.key?(:score) + @url = args[:url] if args.key?(:url) + end + end + + # A word representation. + class Word + include Google::Apis::Core::Hashable + + # A bounding polygon for the detected image annotation. + # Corresponds to the JSON property `boundingBox` + # @return [Google::Apis::VisionV1::BoundingPoly] + attr_accessor :bounding_box + + # Additional information detected on the structural component. + # Corresponds to the JSON property `property` + # @return [Google::Apis::VisionV1::TextProperty] + attr_accessor :property + + # List of symbols in the word. + # The order of the symbols follows the natural reading order. + # Corresponds to the JSON property `symbols` + # @return [Array] + attr_accessor :symbols + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bounding_box = args[:bounding_box] if args.key?(:bounding_box) + @property = args[:property] if args.key?(:property) + @symbols = args[:symbols] if args.key?(:symbols) + end + end end end end diff --git a/generated/google/apis/vision_v1/representations.rb b/generated/google/apis/vision_v1/representations.rb index b91b10f55..9bcaa88b7 100644 --- a/generated/google/apis/vision_v1/representations.rb +++ b/generated/google/apis/vision_v1/representations.rb @@ -22,67 +22,7 @@ module Google module Apis module VisionV1 - class Color - 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 ImageProperties - 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 DominantColorsAnnotation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TextAnnotation - 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 DetectedLanguage - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WebEntity - 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 TextProperty + class AnnotateImageRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -94,19 +34,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class CropHintsParams - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Block - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WebDetection + class BatchAnnotateImagesRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -118,31 +46,19 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ImageSource + class Block class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Property + class BoundingPoly 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 Position - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WebPage + class Color class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -154,473 +70,196 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class EntityAnnotation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class CropHint 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 WebImage - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Word - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Paragraph - 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 FaceAnnotation - 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 DetectedBreak - 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 Page - 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 Status - 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 Symbol - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class CropHintsAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class CropHintsParams + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DetectedBreak + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DetectedLanguage + 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 EntityAnnotation + 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 Feature + 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 ImageContext + 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 ImageSource + 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 LatLng class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Color - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :red, as: 'red' - property :alpha, as: 'alpha' - property :blue, as: 'blue' - property :green, as: 'green' - end - end + class LatLongRect + class Representation < Google::Apis::Core::JsonRepresentation; end - class Feature - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :max_results, as: 'maxResults' - property :type, as: 'type' - 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 SafeSearchAnnotation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :medical, as: 'medical' - property :violence, as: 'violence' - property :adult, as: 'adult' - property :spoof, as: 'spoof' - 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 TextAnnotation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :pages, as: 'pages', class: Google::Apis::VisionV1::Page, decorator: Google::Apis::VisionV1::Page::Representation - - property :text, as: 'text' - end - end - - class Vertex - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :x, as: 'x' - property :y, as: 'y' - end - end - - class DetectedLanguage - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :language_code, as: 'languageCode' - property :confidence, as: 'confidence' - end - end - - class WebEntity - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :entity_id, as: 'entityId' - property :description, as: 'description' - 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 TextProperty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1::DetectedLanguage, decorator: Google::Apis::VisionV1::DetectedLanguage::Representation - - property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1::DetectedBreak, decorator: Google::Apis::VisionV1::DetectedBreak::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 - - property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation - - property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation - - property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1::TextAnnotation, decorator: Google::Apis::VisionV1::TextAnnotation::Representation - - collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation - - collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation - - property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::ImageProperties, decorator: Google::Apis::VisionV1::ImageProperties::Representation - - collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1::FaceAnnotation, decorator: Google::Apis::VisionV1::FaceAnnotation::Representation - - collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation - - property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1::CropHintsAnnotation, decorator: Google::Apis::VisionV1::CropHintsAnnotation::Representation - - property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1::WebDetection, decorator: Google::Apis::VisionV1::WebDetection::Representation - - end - end - - class CropHintsParams - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :aspect_ratios, as: 'aspectRatios' - end - end - - class Block - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation - - property :block_type, as: 'blockType' - property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation - - collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1::Paragraph, decorator: Google::Apis::VisionV1::Paragraph::Representation - - end - end - - class WebDetection - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1::WebPage, decorator: Google::Apis::VisionV1::WebPage::Representation - - collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation - - collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation - - collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation - - collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1::WebEntity, decorator: Google::Apis::VisionV1::WebEntity::Representation - - 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 ImageSource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :gcs_image_uri, as: 'gcsImageUri' - property :image_uri, as: 'imageUri' - end - end - - class Property - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :uint64_value, :numeric_string => true, as: 'uint64Value' - property :name, as: 'name' - end + include Google::Apis::Core::JsonObjectSupport 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 + class Representation < Google::Apis::Core::JsonRepresentation; end - end - end - - class Position - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :z, as: 'z' - property :x, as: 'x' - property :y, as: 'y' - end - end - - class WebPage - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :score, as: 'score' - property :url, as: 'url' - 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 EntityAnnotation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :mid, as: 'mid' - property :confidence, as: 'confidence' - property :locale, as: 'locale' - property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation - - property :topicality, as: 'topicality' - property :description, as: 'description' - collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation - - property :score, as: 'score' - collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation - - end - end - - class CropHint - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :importance_fraction, as: 'importanceFraction' - property :confidence, as: 'confidence' - property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation - - end - end - - class Landmark - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :position, as: 'position', class: Google::Apis::VisionV1::Position, decorator: Google::Apis::VisionV1::Position::Representation - - end - end - - class WebImage - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :score, as: 'score' - property :url, as: 'url' - end - end - - class Word - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :symbols, as: 'symbols', class: Google::Apis::VisionV1::Symbol, decorator: Google::Apis::VisionV1::Symbol::Representation - - property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation - - property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation - - end - end - - class Paragraph - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation - - property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation - - collection :words, as: 'words', class: Google::Apis::VisionV1::Word, decorator: Google::Apis::VisionV1::Word::Representation - - 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 FaceAnnotation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :tilt_angle, as: 'tiltAngle' - property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation - - property :surprise_likelihood, as: 'surpriseLikelihood' - collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::Landmark, decorator: Google::Apis::VisionV1::Landmark::Representation - - property :anger_likelihood, as: 'angerLikelihood' - property :landmarking_confidence, as: 'landmarkingConfidence' - property :joy_likelihood, as: 'joyLikelihood' - property :under_exposed_likelihood, as: 'underExposedLikelihood' - property :pan_angle, as: 'panAngle' - property :detection_confidence, as: 'detectionConfidence' - property :blurred_likelihood, as: 'blurredLikelihood' - property :headwear_likelihood, as: 'headwearLikelihood' - property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation - - property :roll_angle, as: 'rollAngle' - property :sorrow_likelihood, as: 'sorrowLikelihood' - 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 DetectedBreak - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :is_prefix, as: 'isPrefix' - end - end - - class ImageContext - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :crop_hints_params, as: 'cropHintsParams', class: Google::Apis::VisionV1::CropHintsParams, decorator: Google::Apis::VisionV1::CropHintsParams::Representation - - collection :language_hints, as: 'languageHints' - property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class Page - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :width, as: 'width' - collection :blocks, as: 'blocks', class: Google::Apis::VisionV1::Block, decorator: Google::Apis::VisionV1::Block::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation + include Google::Apis::Core::JsonObjectSupport + end - property :height, as: 'height' - end + class Paragraph + 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 Property + 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 Status + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Symbol + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextProperty + 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 WebDetection + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WebEntity + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WebImage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WebPage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Word + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AnnotateImageRequest @@ -635,33 +274,98 @@ module Google end end - class Status + class AnnotateImageResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - property :message, as: 'message' - collection :details, as: 'details' - end - end + property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1::CropHintsAnnotation, decorator: Google::Apis::VisionV1::CropHintsAnnotation::Representation - class LatLongRect - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation + property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation - property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1::FaceAnnotation, decorator: Google::Apis::VisionV1::FaceAnnotation::Representation + + property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1::TextAnnotation, decorator: Google::Apis::VisionV1::TextAnnotation::Representation + + property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::ImageProperties, decorator: Google::Apis::VisionV1::ImageProperties::Representation + + 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 + + collection :logo_annotations, as: 'logoAnnotations', 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 + + collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation + + property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1::WebDetection, decorator: Google::Apis::VisionV1::WebDetection::Representation end end - class Symbol + class BatchAnnotateImagesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation + collection :requests, as: 'requests', class: Google::Apis::VisionV1::AnnotateImageRequest, decorator: Google::Apis::VisionV1::AnnotateImageRequest::Representation + 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 Block + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :block_type, as: 'blockType' property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation - property :text, as: 'text' + collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1::Paragraph, decorator: Google::Apis::VisionV1::Paragraph::Representation + + property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation + + 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 Color + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alpha, as: 'alpha' + property :blue, as: 'blue' + property :green, as: 'green' + property :red, as: 'red' + end + end + + class ColorInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :color, as: 'color', class: Google::Apis::VisionV1::Color, decorator: Google::Apis::VisionV1::Color::Representation + + property :pixel_fraction, as: 'pixelFraction' + property :score, as: 'score' + end + end + + class CropHint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation + + property :confidence, as: 'confidence' + property :importance_fraction, as: 'importanceFraction' end end @@ -673,6 +377,132 @@ module Google end end + class CropHintsParams + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :aspect_ratios, as: 'aspectRatios' + end + end + + class DetectedBreak + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :is_prefix, as: 'isPrefix' + property :type, as: 'type' + end + end + + class DetectedLanguage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :confidence, as: 'confidence' + property :language_code, as: 'languageCode' + 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 EntityAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation + + property :confidence, as: 'confidence' + property :description, as: 'description' + property :locale, as: 'locale' + collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation + + property :mid, as: 'mid' + collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation + + property :score, as: 'score' + property :topicality, as: 'topicality' + end + end + + class FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :anger_likelihood, as: 'angerLikelihood' + property :blurred_likelihood, as: 'blurredLikelihood' + property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation + + property :detection_confidence, as: 'detectionConfidence' + property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation + + property :headwear_likelihood, as: 'headwearLikelihood' + property :joy_likelihood, as: 'joyLikelihood' + property :landmarking_confidence, as: 'landmarkingConfidence' + collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::Landmark, decorator: Google::Apis::VisionV1::Landmark::Representation + + property :pan_angle, as: 'panAngle' + property :roll_angle, as: 'rollAngle' + property :sorrow_likelihood, as: 'sorrowLikelihood' + property :surprise_likelihood, as: 'surpriseLikelihood' + property :tilt_angle, as: 'tiltAngle' + property :under_exposed_likelihood, as: 'underExposedLikelihood' + end + end + + class Feature + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :max_results, as: 'maxResults' + property :type, as: 'type' + end + end + + class Image + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content, :base64 => true, as: 'content' + property :source, as: 'source', class: Google::Apis::VisionV1::ImageSource, decorator: Google::Apis::VisionV1::ImageSource::Representation + + end + end + + class ImageContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :crop_hints_params, as: 'cropHintsParams', class: Google::Apis::VisionV1::CropHintsParams, decorator: Google::Apis::VisionV1::CropHintsParams::Representation + + 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 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 ImageSource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :gcs_image_uri, as: 'gcsImageUri' + property :image_uri, as: 'imageUri' + 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 LatLng # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -680,6 +510,176 @@ module Google property :longitude, as: 'longitude' 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 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 Page + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :blocks, as: 'blocks', class: Google::Apis::VisionV1::Block, decorator: Google::Apis::VisionV1::Block::Representation + + property :height, as: 'height' + property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation + + property :width, as: 'width' + end + end + + class Paragraph + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation + + property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation + + collection :words, as: 'words', class: Google::Apis::VisionV1::Word, decorator: Google::Apis::VisionV1::Word::Representation + + end + end + + class Position + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :x, as: 'x' + property :y, as: 'y' + property :z, as: 'z' + end + end + + class Property + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :uint64_value, :numeric_string => true, as: 'uint64Value' + property :value, as: 'value' + end + end + + class SafeSearchAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :adult, as: 'adult' + property :medical, as: 'medical' + property :spoof, as: 'spoof' + property :violence, as: 'violence' + 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 Symbol + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation + + property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation + + property :text, as: 'text' + end + end + + class TextAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :pages, as: 'pages', class: Google::Apis::VisionV1::Page, decorator: Google::Apis::VisionV1::Page::Representation + + property :text, as: 'text' + end + end + + class TextProperty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1::DetectedBreak, decorator: Google::Apis::VisionV1::DetectedBreak::Representation + + collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1::DetectedLanguage, decorator: Google::Apis::VisionV1::DetectedLanguage::Representation + + end + end + + class Vertex + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :x, as: 'x' + property :y, as: 'y' + end + end + + class WebDetection + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation + + collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1::WebPage, decorator: Google::Apis::VisionV1::WebPage::Representation + + collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation + + collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation + + collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1::WebEntity, decorator: Google::Apis::VisionV1::WebEntity::Representation + + end + end + + class WebEntity + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :entity_id, as: 'entityId' + property :score, as: 'score' + end + end + + class WebImage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :score, as: 'score' + property :url, as: 'url' + end + end + + class WebPage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :score, as: 'score' + property :url, as: 'url' + end + end + + class Word + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation + + property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation + + collection :symbols, as: 'symbols', class: Google::Apis::VisionV1::Symbol, decorator: Google::Apis::VisionV1::Symbol::Representation + + end + end end end end diff --git a/generated/google/apis/webmasters_v3.rb b/generated/google/apis/webmasters_v3.rb index 7d740e915..fcc54d297 100644 --- a/generated/google/apis/webmasters_v3.rb +++ b/generated/google/apis/webmasters_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/webmaster-tools/ module WebmastersV3 VERSION = 'V3' - REVISION = '20170528' + REVISION = '20170322' # View and manage Search Console data for your verified sites AUTH_WEBMASTERS = 'https://www.googleapis.com/auth/webmasters' diff --git a/generated/google/apis/youtube_analytics_v1.rb b/generated/google/apis/youtube_analytics_v1.rb index f3a12cb3f..2efba684e 100644 --- a/generated/google/apis/youtube_analytics_v1.rb +++ b/generated/google/apis/youtube_analytics_v1.rb @@ -25,7 +25,7 @@ module Google # @see http://developers.google.com/youtube/analytics/ module YoutubeAnalyticsV1 VERSION = 'V1' - REVISION = '20170711' + REVISION = '20170425' # Manage your YouTube account AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube' diff --git a/generated/google/apis/youtube_partner_v1.rb b/generated/google/apis/youtube_partner_v1.rb index 8e2c42cb8..006647063 100644 --- a/generated/google/apis/youtube_partner_v1.rb +++ b/generated/google/apis/youtube_partner_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/youtube/partner/ module YoutubePartnerV1 VERSION = 'V1' - REVISION = '20170703' + REVISION = '20170814' # View and manage your assets and associated content on YouTube AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner' diff --git a/generated/google/apis/youtube_partner_v1/classes.rb b/generated/google/apis/youtube_partner_v1/classes.rb index 595eb67f0..cd32d66de 100644 --- a/generated/google/apis/youtube_partner_v1/classes.rb +++ b/generated/google/apis/youtube_partner_v1/classes.rb @@ -2619,9 +2619,9 @@ module Google attr_accessor :content # The list of customer IDs. - # Corresponds to the JSON property `custom_id` + # Corresponds to the JSON property `customIds` # @return [Array] - attr_accessor :custom_id + attr_accessor :custom_ids # An ID that YouTube assigns and uses to uniquely identify the package. # Corresponds to the JSON property `id` @@ -2674,7 +2674,7 @@ module Google # Update properties of this object def update!(**args) @content = args[:content] if args.key?(:content) - @custom_id = args[:custom_id] if args.key?(:custom_id) + @custom_ids = args[:custom_ids] if args.key?(:custom_ids) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @locale = args[:locale] if args.key?(:locale) diff --git a/generated/google/apis/youtube_partner_v1/representations.rb b/generated/google/apis/youtube_partner_v1/representations.rb index 7fb78b9af..62cff56be 100644 --- a/generated/google/apis/youtube_partner_v1/representations.rb +++ b/generated/google/apis/youtube_partner_v1/representations.rb @@ -1217,7 +1217,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :content, as: 'content' - collection :custom_id, as: 'custom_id' + collection :custom_ids, as: 'customIds' property :id, as: 'id' property :kind, as: 'kind' property :locale, as: 'locale' diff --git a/generated/google/apis/youtubereporting_v1.rb b/generated/google/apis/youtubereporting_v1.rb index a256b34ac..1fbd0e556 100644 --- a/generated/google/apis/youtubereporting_v1.rb +++ b/generated/google/apis/youtubereporting_v1.rb @@ -26,13 +26,13 @@ module Google # @see https://developers.google.com/youtube/reporting/v1/reports/ module YoutubereportingV1 VERSION = 'V1' - REVISION = '20170711' - - # View YouTube Analytics reports for your YouTube content - AUTH_YT_ANALYTICS_READONLY = 'https://www.googleapis.com/auth/yt-analytics.readonly' + REVISION = '20170425' # View monetary and non-monetary YouTube Analytics reports for your YouTube content AUTH_YT_ANALYTICS_MONETARY_READONLY = 'https://www.googleapis.com/auth/yt-analytics-monetary.readonly' + + # View YouTube Analytics reports for your YouTube content + AUTH_YT_ANALYTICS_READONLY = 'https://www.googleapis.com/auth/yt-analytics.readonly' end end end diff --git a/generated/google/apis/youtubereporting_v1/classes.rb b/generated/google/apis/youtubereporting_v1/classes.rb index 2783b231a..76f055fbc 100644 --- a/generated/google/apis/youtubereporting_v1/classes.rb +++ b/generated/google/apis/youtubereporting_v1/classes.rb @@ -22,6 +22,136 @@ module Google module Apis module YoutubereportingV1 + # 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 + + # A job creating reports of a specific type. + class Job + include Google::Apis::Core::Hashable + + # The creation date/time of the job. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # The date/time when this job will expire/expired. After a job expired, no + # new reports are generated. + # Corresponds to the JSON property `expireTime` + # @return [String] + attr_accessor :expire_time + + # The server-generated ID of the job (max. 40 characters). + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The name of the job (max. 100 characters). + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The type of reports this job creates. Corresponds to the ID of a + # ReportType. + # Corresponds to the JSON property `reportTypeId` + # @return [String] + attr_accessor :report_type_id + + # True if this a system-managed job that cannot be modified by the user; + # otherwise false. + # Corresponds to the JSON property `systemManaged` + # @return [Boolean] + attr_accessor :system_managed + alias_method :system_managed?, :system_managed + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @expire_time = args[:expire_time] if args.key?(:expire_time) + @id = args[:id] if args.key?(:id) + @name = args[:name] if args.key?(:name) + @report_type_id = args[:report_type_id] if args.key?(:report_type_id) + @system_managed = args[:system_managed] if args.key?(:system_managed) + end + end + + # Response message for ReportingService.ListJobs. + class ListJobsResponse + include Google::Apis::Core::Hashable + + # The list of jobs. + # Corresponds to the JSON property `jobs` + # @return [Array] + attr_accessor :jobs + + # A token to retrieve next page of results. + # Pass this value in the + # ListJobsRequest.page_token + # field in the subsequent call to `ListJobs` method to retrieve the next + # page of results. + # 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 + + # Response message for ReportingService.ListReportTypes. + class ListReportTypesResponse + include Google::Apis::Core::Hashable + + # A token to retrieve next page of results. + # Pass this value in the + # ListReportTypesRequest.page_token + # field in the subsequent call to `ListReportTypes` method to retrieve the next + # page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of report types. + # Corresponds to the JSON property `reportTypes` + # @return [Array] + attr_accessor :report_types + + 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) + @report_types = args[:report_types] if args.key?(:report_types) + end + end + # Response message for ReportingService.ListReports. class ListReportsResponse include Google::Apis::Core::Hashable @@ -70,6 +200,64 @@ module Google end end + # A report's metadata including the URL from which the report itself can be + # downloaded. + class Report + include Google::Apis::Core::Hashable + + # The date/time when this report was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # The URL from which the report can be downloaded (max. 1000 characters). + # Corresponds to the JSON property `downloadUrl` + # @return [String] + attr_accessor :download_url + + # The end of the time period that the report instance covers. The value is + # exclusive. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # The server-generated ID of the report. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The date/time when the job this report belongs to will expire/expired. + # Corresponds to the JSON property `jobExpireTime` + # @return [String] + attr_accessor :job_expire_time + + # The ID of the job that created this report. + # Corresponds to the JSON property `jobId` + # @return [String] + attr_accessor :job_id + + # The start of the time period that the report instance covers. The value is + # inclusive. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @download_url = args[:download_url] if args.key?(:download_url) + @end_time = args[:end_time] if args.key?(:end_time) + @id = args[:id] if args.key?(:id) + @job_expire_time = args[:job_expire_time] if args.key?(:job_expire_time) + @job_id = args[:job_id] if args.key?(:job_id) + @start_time = args[:start_time] if args.key?(:start_time) + end + end + # A report type. class ReportType include Google::Apis::Core::Hashable @@ -79,6 +267,11 @@ module Google # @return [String] attr_accessor :deprecate_time + # The ID of the report type (max. 100 characters). + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + # The name of the report type (max. 100 characters). # Corresponds to the JSON property `name` # @return [String] @@ -92,11 +285,6 @@ module Google attr_accessor :system_managed alias_method :system_managed?, :system_managed - # The ID of the report type (max. 100 characters). - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - def initialize(**args) update!(**args) end @@ -104,197 +292,9 @@ module Google # Update properties of this object def update!(**args) @deprecate_time = args[:deprecate_time] if args.key?(:deprecate_time) + @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) @system_managed = args[:system_managed] if args.key?(:system_managed) - @id = args[:id] if args.key?(:id) - end - end - - # Response message for ReportingService.ListReportTypes. - class ListReportTypesResponse - include Google::Apis::Core::Hashable - - # A token to retrieve next page of results. - # Pass this value in the - # ListReportTypesRequest.page_token - # field in the subsequent call to `ListReportTypes` method to retrieve the next - # page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The list of report types. - # Corresponds to the JSON property `reportTypes` - # @return [Array] - attr_accessor :report_types - - 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) - @report_types = args[:report_types] if args.key?(:report_types) - 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 - - # A report's metadata including the URL from which the report itself can be - # downloaded. - class Report - include Google::Apis::Core::Hashable - - # The start of the time period that the report instance covers. The value is - # inclusive. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # The date/time when this report was created. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # The ID of the job that created this report. - # Corresponds to the JSON property `jobId` - # @return [String] - attr_accessor :job_id - - # The server-generated ID of the report. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The date/time when the job this report belongs to will expire/expired. - # Corresponds to the JSON property `jobExpireTime` - # @return [String] - attr_accessor :job_expire_time - - # The end of the time period that the report instance covers. The value is - # exclusive. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # The URL from which the report can be downloaded (max. 1000 characters). - # Corresponds to the JSON property `downloadUrl` - # @return [String] - attr_accessor :download_url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @start_time = args[:start_time] if args.key?(:start_time) - @create_time = args[:create_time] if args.key?(:create_time) - @job_id = args[:job_id] if args.key?(:job_id) - @id = args[:id] if args.key?(:id) - @job_expire_time = args[:job_expire_time] if args.key?(:job_expire_time) - @end_time = args[:end_time] if args.key?(:end_time) - @download_url = args[:download_url] if args.key?(:download_url) - end - end - - # Response message for ReportingService.ListJobs. - class ListJobsResponse - include Google::Apis::Core::Hashable - - # A token to retrieve next page of results. - # Pass this value in the - # ListJobsRequest.page_token - # field in the subsequent call to `ListJobs` method to retrieve the next - # page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The list of jobs. - # Corresponds to the JSON property `jobs` - # @return [Array] - attr_accessor :jobs - - 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) - @jobs = args[:jobs] if args.key?(:jobs) - end - end - - # A job creating reports of a specific type. - class Job - include Google::Apis::Core::Hashable - - # The creation date/time of the job. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # The type of reports this job creates. Corresponds to the ID of a - # ReportType. - # Corresponds to the JSON property `reportTypeId` - # @return [String] - attr_accessor :report_type_id - - # The date/time when this job will expire/expired. After a job expired, no - # new reports are generated. - # Corresponds to the JSON property `expireTime` - # @return [String] - attr_accessor :expire_time - - # The name of the job (max. 100 characters). - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # True if this a system-managed job that cannot be modified by the user; - # otherwise false. - # Corresponds to the JSON property `systemManaged` - # @return [Boolean] - attr_accessor :system_managed - alias_method :system_managed?, :system_managed - - # The server-generated ID of the job (max. 40 characters). - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @create_time = args[:create_time] if args.key?(:create_time) - @report_type_id = args[:report_type_id] if args.key?(:report_type_id) - @expire_time = args[:expire_time] if args.key?(:expire_time) - @name = args[:name] if args.key?(:name) - @system_managed = args[:system_managed] if args.key?(:system_managed) - @id = args[:id] if args.key?(:id) end end end diff --git a/generated/google/apis/youtubereporting_v1/representations.rb b/generated/google/apis/youtubereporting_v1/representations.rb index 6be5a1e35..16d9c7367 100644 --- a/generated/google/apis/youtubereporting_v1/representations.rb +++ b/generated/google/apis/youtubereporting_v1/representations.rb @@ -22,6 +22,30 @@ module Google module Apis module YoutubereportingV1 + class Empty + 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 ListReportTypesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListReportsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -34,40 +58,52 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ReportType - 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 Empty - 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 ListJobsResponse + class ReportType class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Job - class Representation < Google::Apis::Core::JsonRepresentation; end + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end - include Google::Apis::Core::JsonObjectSupport + class Job + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :expire_time, as: 'expireTime' + property :id, as: 'id' + property :name, as: 'name' + property :report_type_id, as: 'reportTypeId' + property :system_managed, as: 'systemManaged' + end + end + + class ListJobsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :jobs, as: 'jobs', class: Google::Apis::YoutubereportingV1::Job, decorator: Google::Apis::YoutubereportingV1::Job::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListReportTypesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :report_types, as: 'reportTypes', class: Google::Apis::YoutubereportingV1::ReportType, decorator: Google::Apis::YoutubereportingV1::ReportType::Representation + + end end class ListReportsResponse @@ -86,62 +122,26 @@ module Google end end + class Report + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :download_url, as: 'downloadUrl' + property :end_time, as: 'endTime' + property :id, as: 'id' + property :job_expire_time, as: 'jobExpireTime' + property :job_id, as: 'jobId' + property :start_time, as: 'startTime' + end + end + class ReportType # @private class Representation < Google::Apis::Core::JsonRepresentation property :deprecate_time, as: 'deprecateTime' + property :id, as: 'id' property :name, as: 'name' property :system_managed, as: 'systemManaged' - property :id, as: 'id' - end - end - - class ListReportTypesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :report_types, as: 'reportTypes', class: Google::Apis::YoutubereportingV1::ReportType, decorator: Google::Apis::YoutubereportingV1::ReportType::Representation - - end - end - - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class Report - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :start_time, as: 'startTime' - property :create_time, as: 'createTime' - property :job_id, as: 'jobId' - property :id, as: 'id' - property :job_expire_time, as: 'jobExpireTime' - property :end_time, as: 'endTime' - property :download_url, as: 'downloadUrl' - end - end - - class ListJobsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :jobs, as: 'jobs', class: Google::Apis::YoutubereportingV1::Job, decorator: Google::Apis::YoutubereportingV1::Job::Representation - - end - end - - class Job - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :create_time, as: 'createTime' - property :report_type_id, as: 'reportTypeId' - property :expire_time, as: 'expireTime' - property :name, as: 'name' - property :system_managed, as: 'systemManaged' - property :id, as: 'id' end end end diff --git a/generated/google/apis/youtubereporting_v1/service.rb b/generated/google/apis/youtubereporting_v1/service.rb index e9959f0a1..9b51027cb 100644 --- a/generated/google/apis/youtubereporting_v1/service.rb +++ b/generated/google/apis/youtubereporting_v1/service.rb @@ -48,49 +48,244 @@ module Google @batch_path = 'batch' end - # Lists report types. - # @param [Boolean] include_system_managed - # If set to true, also system-managed report types will be returned; - # otherwise only the report types that can be used to create new reporting - # jobs will be returned. - # @param [String] page_token - # A token identifying a page of results the server should return. Typically, - # this is the value of - # ListReportTypesResponse.next_page_token - # returned in response to the previous call to the `ListReportTypes` method. - # @param [Fixnum] page_size - # Requested page size. Server may return fewer report types than requested. - # If unspecified, server will pick an appropriate default. + # Creates a job and returns it. + # @param [Google::Apis::YoutubereportingV1::Job] job_object # @param [String] on_behalf_of_content_owner # The content owner's external ID on which behalf the user is acting on. If # not set, the user is acting for himself (his own channel). + # @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 # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::YoutubereportingV1::ListReportTypesResponse] parsed result object + # @yieldparam result [Google::Apis::YoutubereportingV1::Job] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::YoutubereportingV1::ListReportTypesResponse] + # @return [Google::Apis::YoutubereportingV1::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 list_report_types(include_system_managed: nil, page_token: nil, page_size: nil, on_behalf_of_content_owner: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/reportTypes', options) - command.response_representation = Google::Apis::YoutubereportingV1::ListReportTypesResponse::Representation - command.response_class = Google::Apis::YoutubereportingV1::ListReportTypesResponse - command.query['includeSystemManaged'] = include_system_managed unless include_system_managed.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? + def create_job(job_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/jobs', options) + command.request_representation = Google::Apis::YoutubereportingV1::Job::Representation + command.request_object = job_object + command.response_representation = Google::Apis::YoutubereportingV1::Job::Representation + command.response_class = Google::Apis::YoutubereportingV1::Job command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.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 + + # Deletes a job. + # @param [String] job_id + # The ID of the job to delete. + # @param [String] on_behalf_of_content_owner + # The content owner's external ID on which behalf the user is acting on. If + # not set, the user is acting for himself (his own channel). + # @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::YoutubereportingV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::YoutubereportingV1::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(job_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/jobs/{jobId}', options) + command.response_representation = Google::Apis::YoutubereportingV1::Empty::Representation + command.response_class = Google::Apis::YoutubereportingV1::Empty + command.params['jobId'] = job_id unless job_id.nil? + command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.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 a job. + # @param [String] job_id + # The ID of the job to retrieve. + # @param [String] on_behalf_of_content_owner + # The content owner's external ID on which behalf the user is acting on. If + # not set, the user is acting for himself (his own channel). + # @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::YoutubereportingV1::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::YoutubereportingV1::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(job_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/jobs/{jobId}', options) + command.response_representation = Google::Apis::YoutubereportingV1::Job::Representation + command.response_class = Google::Apis::YoutubereportingV1::Job + command.params['jobId'] = job_id unless job_id.nil? + command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.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 jobs. + # @param [Boolean] include_system_managed + # If set to true, also system-managed jobs will be returned; otherwise only + # user-created jobs will be returned. System-managed jobs can neither be + # modified nor deleted. + # @param [String] on_behalf_of_content_owner + # The content owner's external ID on which behalf the user is acting on. If + # not set, the user is acting for himself (his own channel). + # @param [Fixnum] page_size + # Requested page size. Server may return fewer jobs than requested. + # If unspecified, server will pick an appropriate default. + # @param [String] page_token + # A token identifying a page of results the server should return. Typically, + # this is the value of + # ListReportTypesResponse.next_page_token + # returned in response to the previous call to the `ListJobs` method. + # @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::YoutubereportingV1::ListJobsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::YoutubereportingV1::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(include_system_managed: nil, on_behalf_of_content_owner: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/jobs', options) + command.response_representation = Google::Apis::YoutubereportingV1::ListJobsResponse::Representation + command.response_class = Google::Apis::YoutubereportingV1::ListJobsResponse + command.query['includeSystemManaged'] = include_system_managed unless include_system_managed.nil? + command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.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 the metadata of a specific report. + # @param [String] job_id + # The ID of the job. + # @param [String] report_id + # The ID of the report to retrieve. + # @param [String] on_behalf_of_content_owner + # The content owner's external ID on which behalf the user is acting on. If + # not set, the user is acting for himself (his own channel). + # @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::YoutubereportingV1::Report] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::YoutubereportingV1::Report] + # + # @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_report(job_id, report_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/jobs/{jobId}/reports/{reportId}', options) + command.response_representation = Google::Apis::YoutubereportingV1::Report::Representation + command.response_class = Google::Apis::YoutubereportingV1::Report + command.params['jobId'] = job_id unless job_id.nil? + command.params['reportId'] = report_id unless report_id.nil? + command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.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 reports created by a specific job. + # Returns NOT_FOUND if the job does not exist. + # @param [String] job_id + # The ID of the job. + # @param [String] created_after + # If set, only reports created after the specified date/time are returned. + # @param [String] on_behalf_of_content_owner + # The content owner's external ID on which behalf the user is acting on. If + # not set, the user is acting for himself (his own channel). + # @param [Fixnum] page_size + # Requested page size. Server may return fewer report types than requested. + # If unspecified, server will pick an appropriate default. + # @param [String] page_token + # A token identifying a page of results the server should return. Typically, + # this is the value of + # ListReportsResponse.next_page_token + # returned in response to the previous call to the `ListReports` method. + # @param [String] start_time_at_or_after + # If set, only reports whose start time is greater than or equal the + # specified date/time are returned. + # @param [String] start_time_before + # If set, only reports whose start time is smaller than the specified + # date/time are returned. + # @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::YoutubereportingV1::ListReportsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::YoutubereportingV1::ListReportsResponse] + # + # @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_job_reports(job_id, created_after: nil, on_behalf_of_content_owner: nil, page_size: nil, page_token: nil, start_time_at_or_after: nil, start_time_before: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/jobs/{jobId}/reports', options) + command.response_representation = Google::Apis::YoutubereportingV1::ListReportsResponse::Representation + command.response_class = Google::Apis::YoutubereportingV1::ListReportsResponse + command.params['jobId'] = job_id unless job_id.nil? + command.query['createdAfter'] = created_after unless created_after.nil? + command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['startTimeAtOrAfter'] = start_time_at_or_after unless start_time_at_or_after.nil? + command.query['startTimeBefore'] = start_time_before unless start_time_before.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -99,11 +294,11 @@ module Google # @param [String] resource_name # Name of the media that is being downloaded. See # ReadRequest.resource_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 [String] fields - # Selector specifying which fields to include in a partial response. # @param [IO, String] download_dest # IO stream or filename to receive content download # @param [Google::Apis::RequestOptions] options @@ -118,7 +313,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 download_medium(resource_name, quota_user: nil, fields: nil, download_dest: nil, options: nil, &block) + def download_medium(resource_name, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block) if download_dest.nil? command = make_simple_command(:get, 'v1/media/{+resourceName}', options) else @@ -128,249 +323,54 @@ module Google command.response_representation = Google::Apis::YoutubereportingV1::Media::Representation command.response_class = Google::Apis::YoutubereportingV1::Media command.params['resourceName'] = resource_name unless resource_name.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 - # Deletes a job. - # @param [String] job_id - # The ID of the job to delete. - # @param [String] on_behalf_of_content_owner - # The content owner's external ID on which behalf the user is acting on. If - # not set, the user is acting for himself (his own channel). - # @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::YoutubereportingV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::YoutubereportingV1::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(job_id, on_behalf_of_content_owner: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/jobs/{jobId}', options) - command.response_representation = Google::Apis::YoutubereportingV1::Empty::Representation - command.response_class = Google::Apis::YoutubereportingV1::Empty - command.params['jobId'] = job_id unless job_id.nil? - command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets a job. - # @param [String] job_id - # The ID of the job to retrieve. - # @param [String] on_behalf_of_content_owner - # The content owner's external ID on which behalf the user is acting on. If - # not set, the user is acting for himself (his own channel). - # @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::YoutubereportingV1::Job] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::YoutubereportingV1::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(job_id, on_behalf_of_content_owner: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/jobs/{jobId}', options) - command.response_representation = Google::Apis::YoutubereportingV1::Job::Representation - command.response_class = Google::Apis::YoutubereportingV1::Job - command.params['jobId'] = job_id unless job_id.nil? - command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists jobs. + # Lists report types. # @param [Boolean] include_system_managed - # If set to true, also system-managed jobs will be returned; otherwise only - # user-created jobs will be returned. System-managed jobs can neither be - # modified nor deleted. + # If set to true, also system-managed report types will be returned; + # otherwise only the report types that can be used to create new reporting + # jobs will be returned. + # @param [String] on_behalf_of_content_owner + # The content owner's external ID on which behalf the user is acting on. If + # not set, the user is acting for himself (his own channel). + # @param [Fixnum] page_size + # Requested page size. Server may return fewer report types than requested. + # If unspecified, server will pick an appropriate default. # @param [String] page_token # A token identifying a page of results the server should return. Typically, # this is the value of # ListReportTypesResponse.next_page_token - # returned in response to the previous call to the `ListJobs` method. - # @param [Fixnum] page_size - # Requested page size. Server may return fewer jobs than requested. - # If unspecified, server will pick an appropriate default. - # @param [String] on_behalf_of_content_owner - # The content owner's external ID on which behalf the user is acting on. If - # not set, the user is acting for himself (his own channel). + # returned in response to the previous call to the `ListReportTypes` method. + # @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 # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::YoutubereportingV1::ListJobsResponse] parsed result object + # @yieldparam result [Google::Apis::YoutubereportingV1::ListReportTypesResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::YoutubereportingV1::ListJobsResponse] + # @return [Google::Apis::YoutubereportingV1::ListReportTypesResponse] # # @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(include_system_managed: nil, page_token: nil, page_size: nil, on_behalf_of_content_owner: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/jobs', options) - command.response_representation = Google::Apis::YoutubereportingV1::ListJobsResponse::Representation - command.response_class = Google::Apis::YoutubereportingV1::ListJobsResponse + def list_report_types(include_system_managed: nil, on_behalf_of_content_owner: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/reportTypes', options) + command.response_representation = Google::Apis::YoutubereportingV1::ListReportTypesResponse::Representation + command.response_class = Google::Apis::YoutubereportingV1::ListReportTypesResponse command.query['includeSystemManaged'] = include_system_managed unless include_system_managed.nil? - command.query['pageToken'] = page_token unless page_token.nil? + command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates a job and returns it. - # @param [Google::Apis::YoutubereportingV1::Job] job_object - # @param [String] on_behalf_of_content_owner - # The content owner's external ID on which behalf the user is acting on. If - # not set, the user is acting for himself (his own channel). - # @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::YoutubereportingV1::Job] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::YoutubereportingV1::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 create_job(job_object = nil, on_behalf_of_content_owner: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/jobs', options) - command.request_representation = Google::Apis::YoutubereportingV1::Job::Representation - command.request_object = job_object - command.response_representation = Google::Apis::YoutubereportingV1::Job::Representation - command.response_class = Google::Apis::YoutubereportingV1::Job - command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets the metadata of a specific report. - # @param [String] job_id - # The ID of the job. - # @param [String] report_id - # The ID of the report to retrieve. - # @param [String] on_behalf_of_content_owner - # The content owner's external ID on which behalf the user is acting on. If - # not set, the user is acting for himself (his own channel). - # @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::YoutubereportingV1::Report] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::YoutubereportingV1::Report] - # - # @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_report(job_id, report_id, on_behalf_of_content_owner: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/jobs/{jobId}/reports/{reportId}', options) - command.response_representation = Google::Apis::YoutubereportingV1::Report::Representation - command.response_class = Google::Apis::YoutubereportingV1::Report - command.params['jobId'] = job_id unless job_id.nil? - command.params['reportId'] = report_id unless report_id.nil? - command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists reports created by a specific job. - # Returns NOT_FOUND if the job does not exist. - # @param [String] job_id - # The ID of the job. - # @param [String] created_after - # If set, only reports created after the specified date/time are returned. - # @param [String] page_token - # A token identifying a page of results the server should return. Typically, - # this is the value of - # ListReportsResponse.next_page_token - # returned in response to the previous call to the `ListReports` method. - # @param [String] start_time_at_or_after - # If set, only reports whose start time is greater than or equal the - # specified date/time are returned. - # @param [Fixnum] page_size - # Requested page size. Server may return fewer report types than requested. - # If unspecified, server will pick an appropriate default. - # @param [String] on_behalf_of_content_owner - # The content owner's external ID on which behalf the user is acting on. If - # not set, the user is acting for himself (his own channel). - # @param [String] start_time_before - # If set, only reports whose start time is smaller than the specified - # date/time are returned. - # @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::YoutubereportingV1::ListReportsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::YoutubereportingV1::ListReportsResponse] - # - # @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_job_reports(job_id, created_after: nil, page_token: nil, start_time_at_or_after: nil, page_size: nil, on_behalf_of_content_owner: nil, start_time_before: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/jobs/{jobId}/reports', options) - command.response_representation = Google::Apis::YoutubereportingV1::ListReportsResponse::Representation - command.response_class = Google::Apis::YoutubereportingV1::ListReportsResponse - command.params['jobId'] = job_id unless job_id.nil? - command.query['createdAfter'] = created_after unless created_after.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['startTimeAtOrAfter'] = start_time_at_or_after unless start_time_at_or_after.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil? - command.query['startTimeBefore'] = start_time_before unless start_time_before.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